系统相关
首页 > 系统相关> > CentOs使用yum快速安装php环境

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

标签:webtatic,CentOs,fpm,service,yum,php,php72w
来源: https://blog.csdn.net/qq_26139541/article/details/116211007