I recently had to upgrade PHP on an old server, here is how I did it.

Please note: This will remove all your PHP components and any custom settings you may have done, you’ll have to repeat all that you did to setup your server to run your PHP applications.

Add atomic’s repo

Simply issuing the upgrade command did not work for me, had a couple of conflicts from other repos, so the only option left was to completely remove PHP and re-install it.

Now install PHP

Throw a phpinfo file to confirm PHP has in fact updated

php 5.4 centos 6.5 upgrade install remove