rpm -Uvh
rpm -Uvh
yum --enablerepo=remi update php*
结果是5.3,挺郁闷,,只能用下面的方法
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
yum --disablerepo=* --enablerepo=c5-testing check-update php*
如果有5.2.xxx的话,就升级吧
yum --disablerepo=* --enablerepo=c5-testing update php*
service httpd restart
阅读(1405) | 评论(0) | 转发(0) |