peace love linux logo

PHP command line installation on Ubuntu Linux 6.06

Tested on Ubuntu Linux 6.06 Dapper Drake.

The PHP command-line interpreter runs PHP scripts from the command line. Execute one of the following commands in your terminal depending on the version of your installed PHP scripting language.

PHP5 command line installation (default Ubuntu 6.06 PHP version)
sudo apt-get install php5-cli

Alternative: PHP4 command line installation
sudo apt-get install php4-cli