I am currently running PHP 5.4.6-1ubuntu1.1 (CLI) (built: Nov 15 2012 01:18:34) on Xubuntu. I would like to update to the latest version or >= 5.4.7. Is there another way to do this instead of compiling it from the source? If source is the only solution, can you please guide me in how to do it painlessly.
UPDATE: I did this:
Upgrading PHP from version 5.3 to 5.4.7 and http://wiki.helioviewer.org/wiki/Compiling_PHP_from_source_on_Ubuntu
Now from CLI it shows as 5.4.12, but from Apache it is still 5.4.6. Any ideas how to make Apache use the new installation of PHP?