Opened 9 years ago
Last modified 2 years ago
#41132 new defect (bug)
permalinks are broken when using PHP7.0-fpm with nginx
| Reported by: | Towlieban | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Permalinks | Version: | 4.8 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)