From a12e0bf43b502d46b2d0430944805146fddf5e09 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 17 Jul 2023 16:24:07 +0200 Subject: [PATCH] web: make compatiable with Debian 12 --- roles/web/files/vhost | 2 +- roles/web/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/web/files/vhost b/roles/web/files/vhost index 5b34cff..5e34252 100644 --- a/roles/web/files/vhost +++ b/roles/web/files/vhost @@ -80,7 +80,7 @@ server { include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; + fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; fastcgi_intercept_errors on; } } diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml index 31e883b..0078507 100644 --- a/roles/web/tasks/main.yml +++ b/roles/web/tasks/main.yml @@ -39,5 +39,5 @@ file: src=/etc/nginx/sites-available/www dest=/etc/nginx/sites-enabled/www state=link notify: Restart nginx -- name: Start php7.4-fpm - service: name=php7.4-fpm state=started enabled=yes +- name: Start php8.2-fpm + service: name=php8.2-fpm state=started enabled=yes