nginx

最近看到nginx的error日志里总有这样的错误: 2016/07/15 17:17:42 [error] 27690#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 96.126.103.244, server: www.lvji...

发布 0 条评论

nginx默认配置文件中对php的支持是这样的: #pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 #location ~ \.php$ { # root html; # html改成项目路径 # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.ph...

发布 0 条评论