FastCGI sent in stderr: "Unable to open primary script:index.php (Operation not permitted) 问题解决

时间:2020-04-13 12:33:58   收藏:0   阅读:534

出现这类问题时,需要检查一下nginx定位的网站根目录中,是否有user.ini 文件

至于user.ini 文件是什么 https://www.php.net/manual/zh/configuration.file.per-user.php#111834 中有介绍

这类文件仅会被cgi/fast cgi/sapi处理,次文件会使得pecl 的htscanner扩展作废,所以路径没填写正确会产生这样的异常。如果使用apache,则用.hataccess 有同样的效果

原文:https://www.cnblogs.com/gosimple/p/12690437.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!