From fdce7c7e143cc7e56c3fb920fce77c62b959eb4a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 6 Apr 2022 18:54:18 +0200 Subject: [PATCH] Fix --- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/change_url | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 1a7a4b6..39f3bd4 100644 --- a/manifest.json +++ b/manifest.json @@ -26,7 +26,7 @@ "multi_instance": true, "services": [ "nginx", - "php7.3-fpm", + "php7.4-fpm", "mysql" ], "arguments": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 83180c7..fa2c050 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,6 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="8.0" +YNH_PHP_VERSION="7.4" pkg_dependencies="php${YNH_PHP_VERSION}-curl" diff --git a/scripts/change_url b/scripts/change_url index 004c85c..b5ac3a4 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -28,6 +28,7 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) +db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) language=$(ynh_app_setting_get --app=$app --key=language)