centos 不能自动更新至 php5.2 在网上查找资料其实很简单就能实现
#vi /etc/yum.repos.d/CentOS-Testing.repo
将以下内容贴至文件中,保存退出
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
priority=1
#yum upgrade php -y
#service httpd restart
#yum upgrade -y 将连同 http 和 mysql 都会升级,爽吧