- 源
- yum install epel-release -y
- rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
- 安装
yum -y install php72w php72w-cli php72w-fpm php72w-common php72w-devel php72w-embedded php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml php72w-bcmath - 启动服务
- systemctl enable php-fpm.service
- systemctl start php-fpm.service
网友评论