pnp4nagiops必须要php5.2以上才能用,没办法还是升级吧
启用CentOS Testing 源
nano /etc/yum.repos.d/CentOS-Testing.repo
# CentOS-Testing:
[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
includepkgs=php*
yum --disablerepo=* --enablerepo=c5-testing check-update php*
yum --disablerepo=* --enablerepo=c5-testing update php*
service httpd restart