CentOS7.4安装php7.1

前端之家收集整理的这篇文章主要介绍了CentOS7.4安装php7.1前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

安装

添加

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

安装

yum install PHP71w-fpm
yum install PHP71w-pdo PHP71w-MysqLnd
yum install PHP71w-mbstring
yum install PHP71w-gd

启动

systemctl start PHP-fpm

设置

开机自启动

systemctl enable PHP-fpm
原文链接:https://www.f2er.com/centos/375412.html

猜你在找的CentOS相关文章