Installing PHP 5.2.6 on CentOS box

If you want to install PHP 5.2.x instead of the PHP 5.1.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze … just follow these steps

nano -w /etc/yum.repos.d/utterramblings.repo

(I prefer nano as I mentioned earlier in my posts but you can use vi or any other editor that you like)

Then paste the following code in the editor

name=Jason's Utter Ramblings Repo

Hit Ctrl+X and it will prompt you to save this file, you need to confirm this with punching Y

Now comes the last step, type the following and everything will be updated 🙂

yum update

Enjoy the latest packages 🙂

Note: PHP 5.3.0 is still not available in stable repos because the Zend Optimizer is still in Beta for that particular version.

2 thoughts on “Installing PHP 5.2.6 on CentOS box

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.