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

posted on 2019-08-10 10:41  独醉笑清风  阅读(2981)  评论(0编辑  收藏  举报