DE EN IT

~/errors / nginx

nginx + PHP-FPM: “Primary script unknown” / “File not found.”

nginx passes the request to PHP-FPM, but PHP-FPM finds no file at the given path or may not read it. The browser just shows “File not found.”.

New articles by e-mail

One e-mail per new article. No tracking, unsubscribe any time. As a thank-you after confirming: my “Server operations & patching” checklist (PDF).