From 513b3b6e66f783d579a4957e067bceaf8dce1f88 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 1 Oct 2021 21:37:02 +0200 Subject: [PATCH] Fix --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4428f8d..200e9bf 100644 --- a/scripts/install +++ b/scripts/install @@ -142,7 +142,7 @@ chmod o-rwx "$final_path" ynh_script_progression --message="Configuring PHP-FPM..." --weight=2 # Create a dedicatedPHP-FPM config -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config --usage=low --footprint=low --phpversion=$YNH_PHP_VERSION phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8d5a9e6..26b62fb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -160,7 +160,7 @@ usermod -g "$app" "$app" ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2 # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint +ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --phpversion=$YNH_PHP_VERSION #================================================= # SPECIFIC UPGRADE