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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM