diff --git a/scripts/install b/scripts/install index dd44caa..65c0997 100644 --- a/scripts/install +++ b/scripts/install @@ -102,7 +102,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" ynh_script_progression --message="Configuring php-fpm..." --weight=1 # Create a dedicated php-fpm config -ynh_add_fpm_config --phpversion="${YNH_PHP_VERSION}" +ynh_add_fpm_config --phpversion="${YNH_PHP_VERSION}" --package="$extra_php_dependencies" phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= diff --git a/scripts/restore b/scripts/restore index 9eecf5f..7217934 100644 --- a/scripts/restore +++ b/scripts/restore @@ -88,6 +88,9 @@ ynh_script_progression --message="Restoring PHP-FPM configuration..." --weight=1 ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +# Create a dedicated php-fpm config +ynh_add_fpm_config --phpversion="$phpversion" --package="$extra_php_dependencies" + #================================================= # SPECIFIC RESTORATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c993467..283d714 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,7 +115,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" ynh_script_progression --message="Upgrading php-fpm configuration..." --weight=1 # Create a dedicated php-fpm config -ynh_add_fpm_config --phpversion="$phpversion" +ynh_add_fpm_config --phpversion="$phpversion" --package="$extra_php_dependencies" #================================================= # SPECIFIC UPGRADE