From 3bd6b4c406249c69e2922e2eff8525b7352f9a87 Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Sat, 4 Jun 2022 00:39:43 +0200 Subject: [PATCH] set php to version 7.3 --- scripts/_common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 1bf1664..2fd98d1 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,10 @@ # COMMON VARIABLES #================================================= +# Overload "default php" version to bypass package limitation not ready to use 7.4 yet (version 2.4.0 minimun. See https://github.com/wallabag/wallabag/blob/master/CHANGELOG.md#240) +# Fallback to php 7.3 as on debian 11 / bulleyes, 7.4 is used by default +YNH_DEFAULT_PHP_VERSION=7.3 + # dependencies used by the app pkg_dependencies="php$YNH_DEFAULT_PHP_VERSION-cli php$YNH_DEFAULT_PHP_VERSION-mysql php$YNH_DEFAULT_PHP_VERSION-json php$YNH_DEFAULT_PHP_VERSION-gd php$YNH_DEFAULT_PHP_VERSION-tidy php$YNH_DEFAULT_PHP_VERSION-curl php$YNH_DEFAULT_PHP_VERSION-php-gettext php$YNH_DEFAULT_PHP_VERSION-redis"