From 647223cd367ad337c994265bf4e0e08b1d35a07d Mon Sep 17 00:00:00 2001 From: arc Date: Fri, 6 Jan 2023 17:33:20 +0000 Subject: [PATCH] added notes about php server version --- Specify Server.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Specify Server.md b/Specify Server.md index 9e2873c..bd395cf 100644 --- a/Specify Server.md +++ b/Specify Server.md @@ -30,3 +30,16 @@ location ~ /\.ht { deny all; } ``` + +The correct version of `php-fpm` must be represented: +``` +location ~ \.php$ { + include snippets/fastcgi-php.conf; +# +# # With php-fpm (or other unix sockets): + fastcgi_pass unix:/run/php/[version].sock; +# # With php-cgi (or other tcp sockets): +# fastcgi_pass 127.0.0.1:9000; +} +``` +Where `[version]` is the correct version, EG: `php8.1-fpm`. \ No newline at end of file