From 2d6fce8ce7854d3f7cb79950aa0b105cd15849b8 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 14 Aug 2023 19:01:25 +0200 Subject: [PATCH] PHP8.2 --- scripts/_common.sh | 2 ++ scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 944a65e..092a127 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,8 @@ # COMMON VARIABLES #================================================= +phpversion=8.2 + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index cb124d7..6f6bf78 100755 --- a/scripts/install +++ b/scripts/install @@ -104,7 +104,7 @@ ynh_add_nginx_config ynh_script_progression --message="Configuring PHP-FPM..." --weight=2 # Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_add_fpm_config --phpversion=$phpversion #================================================= # SPECIFIC SETUP diff --git a/scripts/upgrade b/scripts/upgrade index 6ef5931..440903d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -177,7 +177,7 @@ ynh_add_nginx_config ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2 # Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_add_fpm_config --phpversion=$phpversion #================================================= # SPECIFIC UPGRADE