https://webtatic.com/packages/PHP55/
1. 添加源
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
2. 安装yum install -y PHP56w PHP56w-opcache PHP56w-xml PHP56w-mcrypt PHP56w-gd PHP56w-devel PHP56w-intl PHP56w-mbstring PHP56w-MysqL PHP56w-bcmath
碰到错误时,走如下流程:
yum install yum-plugin-replace原文链接:https://www.f2er.com/centos/381873.html