From ed52d490929acaf1a99bbe4b6dc50231eafeadc3 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Mon, 8 Oct 2018 09:12:19 +0530 Subject: [PATCH] Remove php7.1 config files before upgrade --- scripts/_common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index f31889c..76f4dc6 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -17,6 +17,8 @@ ynh_delete_file_checksum () { # usage: ynh_add_fpm_config ynh_add_fpm7.2_config () { # Configure PHP-FPM 7.1 by default + ynh_secure_remove "/etc/php/7.1/fpm/pool.d/$app.conf" 2>&1 + ynh_secure_remove "/etc/php/7.1/fpm/conf.d/20-$app.ini" 2>&1 local fpm_config_dir="/etc/php/7.2/fpm" local fpm_service="php7.2-fpm" ynh_app_setting_set $app fpm_config_dir "$fpm_config_dir"