Saturday, March 27, 2010

Upgrade to PHP 5.2.10 - CentOS5 using YUM

There is a version of PHP (5.2.10) in CentOS’s Testing repository. You could either download each rpm and install, or set up your yum to install from the testing repository.
Install the testing repository’s GPG key:
rpm --import
And download the CentOS-Testing repo file:
cd /etc/yum.repos.d
Now you can install/update to PHP 5.2.10 by running
yum --disablerepo=* --enablerepo=c5-testing update php

1 comment:

Developer Instincts