首页 > 其他分享 >wordpress因目录权限导致出现404错误

wordpress因目录权限导致出现404错误

时间:2022-08-23 21:44:57浏览次数:86  
标签:php service fpm nginx 404 wordpress 进程 权限

然后修改php-fpm的配置文件: user=nginx group=nginx 再然后 service nginx restart service php-fpm restart 在浏览器重新访问php文件 可以了。。。 在apache里面php是作为一个apache的模块启动工作的。 在nginx中,php是作为独立进程启动的。 nginx一般是把请求发fastcgi管理进程处理,fascgi管理进程选择cgi子进程处理结果并返回被nginx。 而php-fpm 就是一个FastCGI管理器

标签:php,service,fpm,nginx,404,wordpress,进程,权限
From: https://www.cnblogs.com/jcode/p/16617910.html

相关文章