From b102f489d2fd442a5d984fc95b04af6097f356d8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 14 Oct 2022 03:54:12 +0200 Subject: [PATCH] Move to PHP8.0 --- manifest.json | 4 ++-- scripts/_common.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 4661b13..789ff67 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A content management framework written in PHP", "fr": "Un système de gestion de contenu écrit en PHP" }, - "version": "9.4.8~ynh1", + "version": "9.4.8~ynh2", "url": "https://www.drupal.org", "upstream": { "license": "GPL-2.0-or-later", @@ -24,7 +24,7 @@ "multi_instance": true, "services": [ "nginx", - "php7.4-fpm", + "php8.0-fpm", "mysql" ], "arguments": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 534ba1f..df0aefb 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,9 @@ # PHP APP SPECIFIC #================================================= -php_dependencies="php$YNH_DEFAULT_PHP_VERSION-fpm php$YNH_DEFAULT_PHP_VERSION-cli php$YNH_DEFAULT_PHP_VERSION-gd php$YNH_DEFAULT_PHP_VERSION-mysql php$YNH_DEFAULT_PHP_VERSION-xml php$YNH_DEFAULT_PHP_VERSION-ldap php$YNH_DEFAULT_PHP_VERSION-mbstring php$YNH_DEFAULT_PHP_VERSION-json php$YNH_DEFAULT_PHP_VERSION-simplexml php$YNH_DEFAULT_PHP_VERSION-curl" +YNH_PHP_VERSION=8.0 + +php_dependencies="php$YNH_PHP_VERSION-fpm php$YNH_PHP_VERSION-cli php$YNH_PHP_VERSION-gd php$YNH_PHP_VERSION-mysql php$YNH_PHP_VERSION-xml php$YNH_PHP_VERSION-ldap php$YNH_PHP_VERSION-mbstring php$YNH_PHP_VERSION-json php$YNH_PHP_VERSION-simplexml php$YNH_PHP_VERSION-curl" # dependencies used by the app (must be on a single line) pkg_dependencies="curl $php_dependencies"