CentOs使用yum快速安装php环境

首先

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

2、清除历史版本

yum -y remove php*

3、安装需要的扩展包

yum -y install php72w php72w-cli php72w-fpm php72w-common php72w-devel 

4。启动

systemctl enable php-fpm.service
systemctl start php-fpm.service
上一篇:mediawiki nginx配置


下一篇:nginx笔记