From 6d40b798bd0656d018bbfa0b5de82edea4a59e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 9 Sep 2023 17:56:49 +0200 Subject: [PATCH 1/4] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 5a8edbd..ac5df09 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ # PHP APP SPECIFIC #================================================= -YNH_PHP_VERSION=7.4 +YNH_PHP_VERSION=8.2 YNH_COMPOSER_VERSION=2.3.3 From 5ae0af2b529eedeb3d98f31cdc79d6d4684cd41a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Sep 2023 13:29:28 +0200 Subject: [PATCH 2/4] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ac5df09..65431ab 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ # PHP APP SPECIFIC #================================================= -YNH_PHP_VERSION=8.2 +YNH_PHP_VERSION=8.1 YNH_COMPOSER_VERSION=2.3.3 From e0294e1d7913990207c028322893cd489abd7796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Sep 2023 13:31:48 +0200 Subject: [PATCH 3/4] Update nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 8c7ad9e..8a01591 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,9 +6,10 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 50M; try_files $uri $uri/ /index.php$is_args$args; + location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; From caf6e28cf61c981daf629194b9719c26cbe46e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Sep 2023 13:33:24 +0200 Subject: [PATCH 4/4] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 65d3107..9a5835a 100644 --- a/manifest.json +++ b/manifest.json @@ -30,7 +30,7 @@ "multi_instance": true, "services": [ "nginx", - "php7.4-fpm", + "php8.1-fpm", "mysql" ], "arguments": {