Today while setting up yet another project on my hosting server. The server runs CentOS 5.6, which means PHP 5.1.6 is used. However the new project required PHP 5.2.0+. It turned out upgrading PHP is trivial. There is even a Howto Guide in CentOS wiki. The steps are:
- Add CentOS Testing repository to yum.
- yum update PHP packages.
That’s all folks!