Saturday, October 1, 2011

Upgrading CENTOS to PHP 5.3

After doing this wrong twice (and possibly introducing a root kit virus the first time), I've found out the right way to upgrade PHP and it is rather simple.

1) Run the following command to add the "YUM" Repository to your server:
   i)  rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-0.noarch.rpm
2)
Update your current PHP by running the following which will also update all other php modules:
   ii)  yum --enablerepo=webtatic update php

No comments:

Post a Comment