导入包

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

安装php7.2

yum -y install mod_php72w.x86_64 php72w-cli.x86_64 php72w-common.x86_64 php72w-mysqlnd php72w-fpm.x86_64
systemctl start php-fpm
systemctl enable php-fpm

更改 /etc/php-fpm.d/www.conf配置文件,和nginx中的监听端口及地址保持一致


killbill
6 声望2 粉丝

没有什么比编程更快乐了~