nginx+php-fpm 报“File not found.”

找网上找了很多帖子,大都是说nginx中的$document_root$换成绝对路径,但是依然不能解决问题

后再把php-fpm配置文件中的

[www]下边的

usr = apache

group = apache

改成我自己对应的账号和账号组解决问题

因为apache账号没有web目录的rx权限

原文地址:https://www.cnblogs.com/huangye-dream/p/4747876.html