通过CentOS Testing升级CentOS源里面的PHP 5.1->5.2

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

Author Info :
  • From:通过CentOS Testing升级CentOS源里面的PHP 5.1->5.2
  • URL:https://blog.ihipop.com/2010/11/1803.html
  • Please Reserve This Link,Thanks!
  • 发表回复

    您的电子邮箱地址不会被公开。 必填项已用 * 标注