From decf5be63e3b817278abdb1aceb9bb5370a28bff Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 18 Jan 2022 18:42:58 +0100 Subject: [PATCH] [owncloud] Use PHP 7.4 now Signed-off-by: Yohann D'ANELLO --- roles/horde/templates/nginx/snippets/php.conf.j2 | 4 ++-- roles/owncloud/templates/nginx/owncloud.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/horde/templates/nginx/snippets/php.conf.j2 b/roles/horde/templates/nginx/snippets/php.conf.j2 index 144ec410..65346229 100644 --- a/roles/horde/templates/nginx/snippets/php.conf.j2 +++ b/roles/horde/templates/nginx/snippets/php.conf.j2 @@ -8,7 +8,7 @@ location ~ .+\.php { fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; fastcgi_busy_buffers_size 256k; - fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; fastcgi_index index.php; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; @@ -21,6 +21,6 @@ location ~ ^/php_(ping|status)$ { allow 127.0.0.1; deny all; root /usr/share/nginx/html; - fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; include fastcgi_params; } diff --git a/roles/owncloud/templates/nginx/owncloud.j2 b/roles/owncloud/templates/nginx/owncloud.j2 index 79352bbf..4458430c 100644 --- a/roles/owncloud/templates/nginx/owncloud.j2 +++ b/roles/owncloud/templates/nginx/owncloud.j2 @@ -1,7 +1,7 @@ {{ ansible_header | comment }} upstream php-handler { - server unix:/var/run/php/php7.3-fpm.sock; + server unix:/var/run/php/php7.4-fpm.sock; } server {