首页 > 代码库 > linux php 升级

linux php 升级

centos 6.5 :

 

更新yum :(下面这三个我都执行了,自己不懂的)

 rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm

 

 rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm

 

 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

 

清除php :yum remove php-common

安装php5.6:yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-MySQL php56w-intl php56w-mbstring

linux php 升级