首页 > Web开发 > 详细

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

时间:2020-04-13 12:33:58      阅读:536      评论:0      收藏:0      [点我收藏+]

出现这类问题时,需要检查一下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 有同样的效果

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!