Zi 字媒體
2017-07-25T20:27:27+00:00
#查看php套件的版本
rpm -qa |grep php
利用Testing模式升級PHP
vim /etc/yum.repos.d/CentOS-Testing.repo
在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
includepkgs=php*
升級
yum update
#重啟apache
service httpd restart
寫了
5860316篇文章,獲得
23313次喜歡