修改檔案:
/etc/yum.repos.d/CentOS-Base.repo
添加內容:
[centos5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
修改完畢後:
yum update php*
檢視更新結果:
php -v
/etc/yum.repos.d/CentOS-Base.repo
添加內容:
[centos5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
修改完畢後:
yum update php*
檢視更新結果:
php -v
留言