From 81f659ee403b23c31ecbd7747923ea8a9b9a07dd Mon Sep 17 00:00:00 2001 From: jarod5001 <68397534+jarod5001@users.noreply.github.com> Date: Sun, 8 May 2022 17:47:35 +0200 Subject: [PATCH] Update install --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index b5159ff..76198ef 100755 --- a/scripts/install +++ b/scripts/install @@ -30,7 +30,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE admin=$YNH_APP_ARG_ADMIN password=$YNH_APP_ARG_PASSWORD -phpversion=$YNH_PHP_VERSION +# phpversion=$YNH_PHP_VERSION ### If it's a multi-instance app, meaning it can be installed several times independently ### The id of the app as stated in the manifest is available as $YNH_APP_ID @@ -196,7 +196,8 @@ ynh_script_progression --message="Configuring PHP-FPM..." --time --weight=1 ### - And the section "PHP-FPM CONFIGURATION" in the upgrade script # Create a dedicated PHP-FPM config -ynh_add_fpm_config --phpversion=$phpversion +ynh_add_fpm_config +phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # SPECIFIC SETUP