From 651430c7a9738c78d7ecc7bb6b039a6849acb6c8 Mon Sep 17 00:00:00 2001 From: Jack Fletcher Date: Mon, 15 Aug 2016 15:01:47 +0100 Subject: [PATCH] Update Dockerfile-56 --- php-fpm/Dockerfile-56 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index fd881705..3ac78e6f 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt ARG INSTALL_XDEBUG=true ENV INSTALL_XDEBUG ${INSTALL_XDEBUG} RUN if [ ${INSTALL_XDEBUG} = true ]; then \ - # Install the xdebug extention + # Install the xdebug extension pecl install xdebug && \ docker-php-ext-enable xdebug \ ;fi @@ -57,8 +57,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \ ARG INSTALL_MONGO=true ENV INSTALL_MONGO ${INSTALL_MONGO} RUN if [ ${INSTALL_MONGO} = true ]; then \ - # Install the mongodb extention - pecl install mongodb \ + # Install the mongodb extension + pecl install mongodb && \ + docker-php-ext-enable mongodb \ ;fi ##################################### @@ -68,8 +69,9 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ ARG INSTALL_ZIP_ARCHIVE=true ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE} RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ - # Install the zip extention - pecl install zip \ + # Install the zip extension + pecl install zip && \ + docker-php-ext-enable zip \ ;fi