Welcome! Log In Create A New Profile

Advanced

Re: FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream

October 31, 2012 11:40AM
i think it would be a bug.
it's ok, if i set the document root as the top level folder,or like your problem too.

location ~ \.php$ {
root /web; # ok
#root /web/htdocs; # your problem
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

i do't know how to deal with.
the version is nginx-1.2.4
SubjectAuthorPosted

FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream

chatchatSeptember 23, 2012 07:40PM

Re: FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream

Sergey BudnevitchSeptember 24, 2012 06:32AM

Re: FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream

cmpanOctober 31, 2012 11:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 44
Record Number of Users: 5 on December 17, 2014
Record Number of Guests: 154 on December 17, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready