首页 > 文章 > 杂文

网站 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 文件中用户一至。
”您可通过以下微信二维码,赞赏作者“
 
 
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
推荐资讯
linux服务器同步互联网时间
linux服务器同步互联
亚马逊云lightsail服务器使用教程 | 亚马逊云lightsail使用指南
亚马逊云lightsail服
hostdare 4折优惠,直接降价60% 美国洛杉矶低至 $10.4/年 768M内存/1核/10gNVMe/500g流量
hostdare 4折优惠,直接
六类网线cat6a和cat6e的区别
六类网线cat6a和cat6e
相关文章
栏目更新
栏目热门

关于我们 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | WAP | RSS


Copyright © 运维之家 2013-2023