Nginx + php5-fpm = "File not found"

Posted by MatW on Server Fault See other posts from Server Fault or by MatW
Published on 2012-07-09T19:19:07Z Indexed on 2012/07/09 21:17 UTC
Read the original article Hit count: 595

Filed under:
|
|

I've hit a wall whilst setting up a site using nginx / fpm. The page displays "File not found", and this appears in the nginx error.log:

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

I'm new to both nginx and fpm, and that error message means nothing to me (even the google machine hasn't helped!). Can anyone shed any light onto what could be happening?

© Server Fault or respective owner

Related posts about nginx

Related posts about php-fpm