FastCGI sent in stderr: "Access to the script 'XXX' has been denied (see security.limit_extensions)" 报错处理

一个新Lnmp环境在调试项目时出现如下报错:

处理:

在php.ini中设置cgi.fix_pathinfo=1(默认为0),重新加载php即可。参考链接https://blog.csdn.net/u012129607/article/details/62042169

posted @ 2019-03-25 19:43  godfather007  阅读(2486)  评论(0编辑  收藏  举报