Skip to content

Commit

Permalink
Remove MongoDB extensions
Browse files Browse the repository at this point in the history
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*.
  • Loading branch information
andrewnicols committed Mar 16, 2023
1 parent 251fea0 commit 3364ef3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions root/tmp/setup/php-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
'intl',
'ldap',
'memcached',
'mongodb',
'mysqli',
'oci8',
'pgsql',
Expand Down

0 comments on commit 3364ef3

Please sign in to comment.