diff --git a/manifest.json b/manifest.json index e2550be..12e35c5 100644 --- a/manifest.json +++ b/manifest.json @@ -27,7 +27,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 00f49a7..bab530d 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,10 +4,13 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="7.4" +YNH_PHP_VERSION="8.0" # Package dependencies -pkg_dependencies="php-pear php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-curl" +php_dependencies="php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-curl" + +# dependencies used by the app (must be on a single line) +pkg_dependencies="php-pear $php_dependencies" # Composer version YNH_COMPOSER_VERSION=2.3.7 diff --git a/scripts/install b/scripts/install index 0ac4022..6a8a2f5 100644 --- a/scripts/install +++ b/scripts/install @@ -154,7 +154,7 @@ ynh_composer_exec --commands="require kolab/net_ldap3" # Install contextmenu and automatic_addressbook plugins # https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook -# https://plugins.roundcube.net/packages/johndoh/contextmenu +# https://plugins.roundcube.net/#/packages/johndoh/contextmenu ynh_composer_exec --commands="require \ johndoh/contextmenu $contextmenu_version \ sblaisot/automatic_addressbook $automatic_addressbook_version" diff --git a/scripts/upgrade b/scripts/upgrade index 85e1acc..532c9ea 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -206,7 +206,7 @@ then # Update or install contextmenu and automatic_addressbook plugins # https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook - # https://plugins.roundcube.net/packages/johndoh/contextmenu + # https://plugins.roundcube.net/#/packages/johndoh/contextmenu ynh_composer_exec --commands="update --no-dev --prefer-dist \ johndoh/contextmenu $contextmenu_version \ sblaisot/automatic_addressbook $automatic_addressbook_version"