centos6.9安装php7.1.18
作者:
敦敦实实 | 来源:发表于
2018-07-19 22:26 被阅读0次
1、安装源
yum install epel-release
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
2、安装
yum install php71w php71w-mysql php71w-odbc php71w-common php71w-embedded php71w-pgsql php71w-xml php71w-ldap php71w-fpm php71w-gd php71w-pdo php71w-devel php71w-mbstring php71w-mcrypt php71w-cli php71w-json php71w-imap php71w-bcmath mod_php71w php71w-pear
3、启动php服务(启动后才能与nginx等服务连同)
service php-fpm start
4、关闭php服务
netstat -lnt | grep 9000
本文标题:centos6.9安装php7.1.18
本文链接:https://www.haomeiwen.com/subject/rnuxmftx.html
网友评论