Centos 5 & PHP 5.2

Upgrading Centos 5 to Apache 2.2.8 PHP 5.2.9 is still is alpha / beta / test but can be done !

To upgrade from Apache 2.2.3 to 2.2.8 and PHP 5.1.6 to 5.2.9 just add a [c5-testing] section to your yum repos directory

centos testing repo

# vi /etc/yum.repos.d/CentOS-Test.repo


[c5-testing]
name=CentOS-5 Testing 
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
enabled=1
priority=1
includepkgs=httpd*,mod*,php*


then run

# rpm --import http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
# yum install yum-priorities
# yum update php
# service httpd reload


You should now have PHP 5.2.x installed


REFERRERS
HomePage

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki