From ffa2775e2240b31ef2e2bae8916ae043f656c428 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Tue, 15 Sep 2020 10:33:53 +0200 Subject: [PATCH] get phpversion after ynh_add_fpm_config function --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 028357b..328ce40 100644 --- a/scripts/install +++ b/scripts/install @@ -86,7 +86,6 @@ ynh_script_progression --message="Configuring NGINX web server..." # Create a dedicated NGINX config ynh_add_nginx_config -phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # CREATE DEDICATED USER @@ -103,6 +102,7 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2 # Create a dedicated PHP-FPM config ynh_add_fpm_config +phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # SPECIFIC SETUP