To install PHP on Ubuntu Linux, run
sudo apt-get install php5-cli
To see info about the package, do
apt-cache show php5-cli
as of , the latest version on Ubuntu is “5.3.10”, and latest of PHP is “4.4.13”.
for PHP version date history, see: PHP Version History
to install Apache and mod-php module, see Apache HTTP Server Tutorial
If you have a question, put $5 at patreon and message me.