From 3364ef3bb5e541ac1eec14993499e42bc8e6f2cf Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 15 Mar 2023 10:53:59 +0800 Subject: [PATCH] Remove MongoDB extensions From Moodle 4.2 we no longer include MongoDB, and we add support for PHP 8.2 (or will do soon). Therefore we can drop the inclusion of the MongoDB extension *for PHP 8.2 and up only*. --- root/tmp/setup/php-extensions.sh | 6 +++--- tests/fixtures/test.php | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/root/tmp/setup/php-extensions.sh b/root/tmp/setup/php-extensions.sh index 38c9ff1..1617dac 100755 --- a/root/tmp/setup/php-extensions.sh +++ b/root/tmp/setup/php-extensions.sh @@ -63,9 +63,9 @@ docker-php-ext-install -j$(nproc) gd docker-php-ext-configure ldap docker-php-ext-install -j$(nproc) ldap -# APCu, igbinary, Memcached, MongoDB, PCov, Redis, Solr, timezonedb, uuid, XMLRPC (beta) -pecl install apcu igbinary memcached mongodb pcov redis solr timezonedb uuid xmlrpc-beta -docker-php-ext-enable apcu igbinary memcached mongodb pcov redis solr timezonedb uuid xmlrpc +# APCu, igbinary, Memcached, PCov, Redis, Solr, timezonedb, uuid, XMLRPC (beta) +pecl install apcu igbinary memcached pcov redis solr timezonedb uuid xmlrpc-beta +docker-php-ext-enable apcu igbinary memcached pcov redis solr timezonedb uuid xmlrpc echo 'apc.enable_cli = On' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini diff --git a/tests/fixtures/test.php b/tests/fixtures/test.php index 749c5f4..93cfff7 100644 --- a/tests/fixtures/test.php +++ b/tests/fixtures/test.php @@ -8,7 +8,6 @@ 'intl', 'ldap', 'memcached', - 'mongodb', 'mysqli', 'oci8', 'pgsql',