From eb9114f0cdfb86765cbf9e8eb6aa45b7630a5304 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 24 May 2022 10:01:11 +0200 Subject: [PATCH] Update install --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index a0671ea..16f1823 100755 --- a/scripts/install +++ b/scripts/install @@ -29,6 +29,7 @@ path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC password=$YNH_APP_ARG_PASSWORD timezone=$(cat /etc/timezone) +phpversion=$YNH_PHP_VERSION app=$YNH_APP_INSTANCE_NAME @@ -96,6 +97,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) #================================================= # ADD A CONFIGURATION