2013/10/22 20:05:49 [error] 12691#0: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client ...
今天重启了mac,突然发现本地的 lnmp 服务不能用了,什么请求都返回了: FastCGI sent in stderr: Primary script unknown 这个就很尴尬了,可是我啥也没动啊,但是没有办法,出问题了就得查,google了一下,出这个问题一般有两个原因: 一是nginx的配置文件问题 即 usr local etc nginx nginx.conf 个人的,你们的路径不 ...
2017-09-07 19:41 0 15306 推荐指数:
2013/10/22 20:05:49 [error] 12691#0: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client ...
部署zabbix的lnmp环境时,测试php页面打不开,查看nginx的errorlog日志,报错FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, 1、网上 ...
在对nginx添加fastCGI的支持后,然后进行php页面验证,发现页面识别不到,不清楚什么情况,随后google了下,原来是Nginx内置变量问题惹的祸。 1、平台介绍: 1 2 3 ...
出现这类问题时,需要检查一下nginx定位的网站根目录中,是否有user.ini 文件 至于user.ini 文件是什么 https://www.php.net/manual/zh/configuration.file.per-user.php#111834 中有介绍 这类文件仅会被cgi ...
[error] 12691#0: *6 FastCGI sent in stderr: "Primary sc ...
我使用的是manjaro系统,通过pacman包管理安装的,安装完成改一下用户组和权限应该就可以 anya 是我当前用户名,排查问题请自行替换 1、fpm 的 www.conf 用户组的问题,本地使用当前用户 2、nginx.conf location根目录设置root问题 ...
给php程序的配置) 解决方案: 方案一:在配置最后一行包含fastcgi.co ...