How to upgrade PHP to v5.5 in Ubuntu 12.04
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×
I was able to update to PHP 5.5 following the instructions on http://askubuntu.com/a/109544. But by upgrading to Apache 2.4, the config file got overwritten. And I didn’t know what to change to keep it working.
Luckily, I took a Snapshot before upgrading and then I restored from Snapshot. So everything’s back to normal now.