clint@ubuntu:~$ sudo apt-get install php5-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
php-pear
The following NEW packages will be installed:
php5-cli
0 upgraded, 1 newly installed, 0 to remove and 63 not upgraded.
Need to get 2,903kB of archives.
After this operation, 7,938kB of additional disk space will be used.
Get:1 http://mirror.uoregon.edu/ubuntu/ maverick/main php5-cli 5.3.2-1ubuntu5 [2,903kB]
Fetched 2,903kB in 4s (639kB/s)
Selecting previously deselected package php5-cli.
(Reading database ... 111289 files and directories currently installed.)
Unpacking php5-cli (from .../php5-cli_5.3.2-1ubuntu5_amd64.deb) ...
Processing triggers for man-db ...
Setting up php5-cli (5.3.2-1ubuntu5) ...
Creating config file /etc/php5/cli/php.ini with new version
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
clint@ubuntu:~$ php -d display_errors=on
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/gd.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mysql.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mysqli.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/pdo.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/pdo_mysql.ini on line 1 in Unknown on line 0
Confirming...
clint@ubuntu:~$ sudo apt-get install php5-cli mirror. uoregon. edu/ubuntu/ maverick/main php5-cli 5.3.2-1ubuntu5 [2,903kB] cli_5.3. 2-1ubuntu5_ amd64.deb) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
php-pear
The following NEW packages will be installed:
php5-cli
0 upgraded, 1 newly installed, 0 to remove and 63 not upgraded.
Need to get 2,903kB of archives.
After this operation, 7,938kB of additional disk space will be used.
Get:1 http://
Fetched 2,903kB in 4s (639kB/s)
Selecting previously deselected package php5-cli.
(Reading database ... 111289 files and directories currently installed.)
Unpacking php5-cli (from .../php5-
Processing triggers for man-db ...
Setting up php5-cli (5.3.2-1ubuntu5) ...
Creating config file /etc/php5/ cli/php. ini with new version alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode. cli/conf. d/gd.ini on line 1 in Unknown on line 0 cli/conf. d/mysql. ini on line 1 in Unknown on line 0 cli/conf. d/mysqli. ini on line 1 in Unknown on line 0 cli/conf. d/pdo.ini on line 1 in Unknown on line 0 cli/conf. d/pdo_mysql. ini on line 1 in Unknown on line 0
update-
clint@ubuntu:~$ php -d display_errors=on
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/