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

107 阅读1分钟

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

处理:

在php.ini中设置cgi.fix_pathinfo=1(默认为0),重新加载php即可。