Skip to content

Commit 3364ef3

Browse files
committed
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*.
1 parent 251fea0 commit 3364ef3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

root/tmp/setup/php-extensions.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ docker-php-ext-install -j$(nproc) gd
6363
docker-php-ext-configure ldap
6464
docker-php-ext-install -j$(nproc) ldap
6565

66-
# APCu, igbinary, Memcached, MongoDB, PCov, Redis, Solr, timezonedb, uuid, XMLRPC (beta)
67-
pecl install apcu igbinary memcached mongodb pcov redis solr timezonedb uuid xmlrpc-beta
68-
docker-php-ext-enable apcu igbinary memcached mongodb pcov redis solr timezonedb uuid xmlrpc
66+
# APCu, igbinary, Memcached, PCov, Redis, Solr, timezonedb, uuid, XMLRPC (beta)
67+
pecl install apcu igbinary memcached pcov redis solr timezonedb uuid xmlrpc-beta
68+
docker-php-ext-enable apcu igbinary memcached pcov redis solr timezonedb uuid xmlrpc
6969

7070
echo 'apc.enable_cli = On' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
7171

tests/fixtures/test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
'intl',
99
'ldap',
1010
'memcached',
11-
'mongodb',
1211
'mysqli',
1312
'oci8',
1413
'pgsql',

0 commit comments

Comments
 (0)