From 172809b96fe023ea8039e7167fb2f65b8877fa6b Mon Sep 17 00:00:00 2001 From: Marc Dragunski Date: Mon, 12 Dec 2016 17:04:54 +0100 Subject: [PATCH] Updated Troubleshooting PHP FPM and FastCGI (markdown) --- Troubleshooting-PHP-FPM-and-FastCGI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Troubleshooting-PHP-FPM-and-FastCGI.md b/Troubleshooting-PHP-FPM-and-FastCGI.md index a58f3ab..615e35f 100644 --- a/Troubleshooting-PHP-FPM-and-FastCGI.md +++ b/Troubleshooting-PHP-FPM-and-FastCGI.md @@ -20,7 +20,7 @@ Sample error: [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. -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 Sample error: