From 79798c516f3d34107475d3265b47b2d6a0943edd Mon Sep 17 00:00:00 2001 From: Toby Allen Date: Mon, 2 Sep 2019 19:28:14 +0100 Subject: [PATCH] Remove reference to very old versions --- Troubleshooting-PHP-FPM-and-FastCGI.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Troubleshooting-PHP-FPM-and-FastCGI.md b/Troubleshooting-PHP-FPM-and-FastCGI.md index 52535f4..e9a8744 100644 --- a/Troubleshooting-PHP-FPM-and-FastCGI.md +++ b/Troubleshooting-PHP-FPM-and-FastCGI.md @@ -19,7 +19,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. +Update to latst version of Caddy. 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). Also check your `chroot` setting in the php-fpm configs (pool.d/www.conf). ## Connection refused @@ -56,7 +56,7 @@ listen.group = caddy ``` ## Rewrite -PHP frameworks generally needs rewrite; either as a requirement or for clean urls. Update to Caddy 0.8.1, the version that introduced more powerful rewrites, then [read the docs](https://caddyserver.com/docs/rewrite). +PHP frameworks generally need rewrites. Caddy has powerful rewrite - [read the docs](https://caddyserver.com/docs/rewrite). The format below would satisfy some of the popular frameworks. ```