mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-07 18:24:53 -04:00
Updated Troubleshooting PHP FPM and FastCGI (markdown)
parent
dd67ba11a5
commit
172809b96f
@ -20,7 +20,7 @@ Sample error:
|
|||||||
[ERROR 502 /index.php] malformed MIME header line: Primary script unknown
|
[ERROR 502 /index.php] malformed MIME header line: Primary script unknown
|
||||||
```
|
```
|
||||||
Update to Caddy 0.8.1. This will either fix it or get you a more descriptive error message.
|
Update to Caddy 0.8.1. This will either fix it or get you a more descriptive error message.
|
||||||
On Unix-like systems this issue can also occur because Caddy and php-fpm aren't running under the same user/group. Make sure you run them under the same user/group and give proper permissions to the document root folder (chmod/chown).
|
On Unix-like systems this issue can also occur because Caddy and php-fpm aren't running under the same user/group. Make sure you run them under the same user/group and give proper permissions to the document root folder (chmod/chown). Also check your `chroot` setting in the php-fpm configs (pool.d/www.conf).
|
||||||
|
|
||||||
## Connection refused
|
## Connection refused
|
||||||
Sample error:
|
Sample error:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user