PHP72w
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
# sudo yum -y install php72w
# yum -y install php72w-cli php72w-common php72w-devel
# yum install yum-utils –y
# yum install php-mysqli
# yum install php72w-fpm
啟動php-fpm
1.使用“systemctl”命令設定開機自動啟動。
# systemctl enable php-fpm.service
2.接下來“systemctl start php-fpm.service”命令啟動php-fpm。
# systemctl start php-fpm.service