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

猜你喜欢

转载自www.cnblogs.com/godfather007/p/10595899.html