From ff49052baa19c95c17d8515434350076b90abefc Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 23 Jun 2026 07:57:33 +0100 Subject: [PATCH] php-fpm runs on socket in /run --- http/nginx.conf | 2 +- http/php-fpm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/http/nginx.conf b/http/nginx.conf index 08602cc..05b6b12 100644 --- a/http/nginx.conf +++ b/http/nginx.conf @@ -34,7 +34,7 @@ http { location ~ \.php$ { root html; - fastcgi_pass 127.0.0.1:9000; + fastcgi_pass unix:/run/php8.5-fpm-joeac.net-http.sock fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; include fastcgi_params; diff --git a/http/php-fpm.conf b/http/php-fpm.conf index 63268c7..e66396c 100644 --- a/http/php-fpm.conf +++ b/http/php-fpm.conf @@ -1,7 +1,7 @@ [joeac.net] user = nginx group = nginx -listen = /run/php/php8.1-fpm-joeac.net-http.sock +listen = /run/php8.5-fpm-joeac.net-http.sock listen.owner = nginx listen.group = nginx listen.mode = 0660