centos7 YUM 安装PHP5.6

先安装epel-release
https://blog.csdn.net/w670328683/article/details/51673757
yum -y install epel-release

切换源
https://blog.csdn.net/u010738364/article/details/75635334
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

yum -y install php56w php56w-mysql php56w-gd libjpeg* php56w-ldap php56w-odbc php56w-pear php56w-xml php56w-xmlrpc php56w-mbstring php56w-bcmath 
yum -y install httpd php-gd56w php-intl56w php-mysql56w mod_ssl openssl mcrypt php5-mcrypt56w
yum -y install php56w-mcrypt php56w-soap php56w-intl  php56w-pdo

systemctl restart mariadb.service 
systemctl restart httpd.service 

阅读更多
个人分类: php
上一篇docker命令用法
下一篇本地测试环境,自签名https证书
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭