This commit is contained in:
Shao Yu-Lung (Allen) 2021-03-20 21:22:45 +08:00 committed by GitHub
parent fdfa279b33
commit 66abe78874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -362,16 +362,6 @@ RUN if [ ${INSTALL_XMLRPC} = true ]; then \
docker-php-ext-install xmlrpc \
;fi
RUN if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install mongo; \
docker-php-ext-enable mongo; \
php -m | grep -q 'mongo'; \
else \
pecl install mongodb; \
docker-php-ext-enable mongodb; \
php -m | grep -q 'mongodb'; \
fi
#
#--------------------------------------------------------------------------
# Optional Supervisord Configuration