From 6929c7cda515cc0befb76c44ed2e307bdb8bb963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 13 Aug 2022 07:38:56 +0200 Subject: [PATCH] Upgrade to php8 (#82) --- manifest.json | 4 ++-- scripts/_common.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index bbaa8a6..4fd34e1 100644 --- a/manifest.json +++ b/manifest.json @@ -21,12 +21,12 @@ "email": "anmol@datamol.org" }, "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [ "nginx", - "php7.3-fpm", + "php8.0-fpm", "mysql" ], "arguments": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 3dfaa50..a60a9f5 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,8 +4,10 @@ # COMMON VARIABLES #================================================= +YNH_PHP_VERSION=8.0 + # dependencies used by the app -pkg_dependencies="php$YNH_DEFAULT_PHP_VERSION-curl php$YNH_DEFAULT_PHP_VERSION-gd php$YNH_DEFAULT_PHP_VERSION-cli php$YNH_DEFAULT_PHP_VERSION-mysql php$YNH_DEFAULT_PHP_VERSION-xml php$YNH_DEFAULT_PHP_VERSION-mbstring" +pkg_dependencies="php$YNH_PHP_VERSION-curl php$YNH_PHP_VERSION-gd php$YNH_PHP_VERSION-cli php$YNH_PHP_VERSION-mysql php$YNH_PHP_VERSION-xml php$YNH_PHP_VERSION-mbstring" #================================================= # PERSONAL HELPERS