centos7yum安装php7.2注意事项

remi源安装的php代码独立于/opt/remi目录中,
首先 激活php7.2
source /opt/remi/php72/enable

将/opt/remi/php72/enable中的内容复制到用户目录下的.bash_profile
然后直接使用php-fpm启动后台进程
具体配置在/etc/opt/remi/php72/php-fpm.conf中

猜你喜欢

转载自www.cnblogs.com/shangshikaiblog/p/9613230.html