yum 安装新版本php-fpm
php-fpm
yum install https://mirror.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm --enablerepo=epel
yum install php73-php-fpm php73-php-mysql --enablerepo=remi-php73 --enablerepo=epel
查看安装路径
php-fpm
rpm -ql php73-php-fpm
/etc/logrotate.d/php73-php-fpm
/etc/opt/remi/php73/php-fpm.conf
/etc/opt/remi/php73/php-fpm.d
/etc/opt/remi/php73/php-fpm.d/www.conf
/etc/opt/remi/php73/sysconfig/php-fpm
/etc/systemd/system/php73-php-fpm.service.d
/opt/remi/php73/root/usr/sbin/php-fpm
/opt/remi/php73/root/usr/share/doc/php73-php-fpm-7.3.14
/opt/remi/php73/root/usr/share/doc/php73-php-fpm-7.3.14/php-fpm.conf.default
/opt/remi/php73/root/usr/share/doc/php73-php-fpm-7.3.14/www.conf.default
/opt/remi/php73/root/usr/share/fpm
/

本文详细介绍了如何在Nginx服务器与PHP-FPM不在同一台机器的情况下,通过FastCGI进行配置,包括yum安装PHP-FPM,修改PHP-FPM监听设置,创建测试页面,数据库授权以及Nginx的转发配置。最终通过浏览器访问WordPress站点进行部署验证。
最低0.47元/天 解锁文章
787

被折叠的 条评论
为什么被折叠?



