Fixed MongoDB module for PHP 5.6

This commit is contained in:
cytopia
2020-08-08 11:10:22 +02:00
parent acea0ac0fe
commit 2701a524b9
2 changed files with 5 additions and 2 deletions

View File

@@ -321,10 +321,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: mongodb --------------------
RUN set -eux \
# Installation: Generic
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install mongodb \
&& pecl install mongodb-1.7.5 \
# Enabling
&& docker-php-ext-enable mongodb \
&& true

View File

@@ -516,6 +516,9 @@ extensions_available:
5.5:
type: pecl
version: 1.5.5
5.6:
type: pecl
version: 1.7.5
8.0:
type: git
git_url: https://github.com/mongodb/mongo-php-driver