From 6d048add24ce2facaadf3feb8a88460a9c262450 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Sun, 26 May 2019 11:43:20 +0200 Subject: [PATCH] Install and enable the mongodb extension for 7.1 Just that, nothing else needs to be done. moolde-docker will have other changes to make the test environment ready. --- root/tmp/setup/php-extensions.sh | 4 ++-- tests/fixtures/test.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/root/tmp/setup/php-extensions.sh b/root/tmp/setup/php-extensions.sh index 5406b44..3857b05 100755 --- a/root/tmp/setup/php-extensions.sh +++ b/root/tmp/setup/php-extensions.sh @@ -59,8 +59,8 @@ docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ docker-php-ext-install -j$(nproc) ldap # SOLR, Memcached, Redis, APCu, igbinary. -pecl install solr memcached redis apcu igbinary -docker-php-ext-enable solr memcached redis apcu igbinary +pecl install solr memcached mongodb redis apcu igbinary +docker-php-ext-enable solr memcached mongodb redis apcu igbinary 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 dbff555..ad31703 100644 --- a/tests/fixtures/test.php +++ b/tests/fixtures/test.php @@ -7,6 +7,7 @@ 'intl', 'ldap', 'memcached', + 'mongodb', 'mysqli', 'oci8', 'pgsql',