From 8b9bb7de105703279ce94de7fc25ad35c1f9dbc3 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Thu, 26 Nov 2020 22:40:59 +0530 Subject: [PATCH] php fix --- scripts/install | 8 ++++---- scripts/upgrade | 7 +++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index 06cd3cc..50d83cc 100644 --- a/scripts/install +++ b/scripts/install @@ -79,11 +79,11 @@ ynh_system_user_create --username=$app #================================================= # PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Configuring PHP-FPM..." +ynh_script_progression --message="Upgrading PHP-FPM configuration..." + +# Create a dedicated php-fpm config +ynh_add_fpm_config --usage=low --footprint=low -# Create a dedicated PHP-FPM config -ynh_add_fpm_config -phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # SECURE FILES AND DIRECTORIES diff --git a/scripts/upgrade b/scripts/upgrade index 7f89bf7..29c6049 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,11 +71,10 @@ ynh_system_user_create --username=$app #================================================= # PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Upgrading PHP-FPM configuration..." - -# Create a dedicated php-fpm config -ynh_add_fpm_config +ynh_script_progression --message="Configuring PHP-FPM..." +# Create a dedicated PHP-FPM config +ynh_add_fpm_config --usage=low --footprint=low #================================================= # SECURE FILES AND DIRECTORIES