From 65f81e22763570d3bf5672b8f87c571b5bc72e23 Mon Sep 17 00:00:00 2001 From: dragondaddy Date: Tue, 14 Nov 2023 01:03:26 +0100 Subject: [PATCH] We set phpversion in _common.sh --- scripts/_common.sh | 1 + scripts/config | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 3b59e88..ea5fe64 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,6 +7,7 @@ #================================================= YNH_COMPOSER_VERSION="2.5.8" +YNH_PHP_VERSION="8.2" #================================================= # PERSONAL HELPERS diff --git a/scripts/config b/scripts/config index 2890f16..b3f277e 100644 --- a/scripts/config +++ b/scripts/config @@ -15,7 +15,7 @@ ynh_abort_if_errors # RETRIEVE ARGUMENTS #================================================= -phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) +phpversion="$YNH_PHP_VERSION" current_fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint) #=================================================