Make WordPress Core

Opened 7 years ago

Last modified 6 weeks ago

#41132 new defect (bug)

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

Reported by: towlieban's profile Towlieban Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Permalinks Keywords:
Focuses: Cc:


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:

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

Change History (2)

#1 @markparnell
4 years ago

  • Component changed from General to Permalinks

This ticket was mentioned in Slack in #forums by peterwilsoncc. View the logs.

6 weeks ago

Note: See TracTickets for help on using tickets.