WordPress.org

Make WordPress Core

Opened 5 months ago

#41132 new defect (bug)

permalinks are broken when using PHP7.0-fpm with nginx

Reported by: Towlieban Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: General Keywords:
Focuses: Cc:

Description

Setting permalinks to anything but plain causes a white screen of death with the nginx error message:

the error is "2017/06/22 19:55:49 [error] 20482#20482: *28040 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: MYIPHERE, server: MYSERVER, request: "GET /apps/my-secret-drinks-android/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "MYHOST", referrer: "https://MYDOMAIN/apps/"

This is my Nginx site configuration: https://paste.ngx.cc/7e

It was working when I was using php5-fpm and only started after upgrading php5-fpm to php7.0-fpm

Change History (0)

Note: See TracTickets for help on using tickets.