首页 >
web >
nginx
网站 FastCGI sent in stderr: "Unable to open primary script 排查案例
时间:2019-01-18 15:31:17 点击: 来源: 作者:
网站 FastCGI sent in stderr: "Unable to open primary script ,浏览器访问php页面404无法访问。
原因:php-fpm权限原因(这里以我的php-fpm为例)
vi /usr/local/php/etc/php-fpm.conf
service php-fpm res ...
网站 FastCGI sent in stderr: "Unable to open primary script ,浏览器访问php页面404无法访问。

原因:php-fpm权限原因(这里以我的php-fpm为例)
vi /usr/local/php/etc/php-fpm.conf

service php-fpm restart #重启,这里以我的启动方式为例
更换用户和nginx.conf 文件中用户一至。
”您可通过以下微信二维码,赞赏作者“
