Commit 1090bb4d authored by Amin Mkh's avatar Amin Mkh

added mongodb driver for php5.5 5.6

parent 9c7054ab
......@@ -19,6 +19,9 @@ RUN docker-php-ext-install \
RUN pecl install memcached \
&& docker-php-ext-enable memcached
# Install mongodb driver
RUN pecl install mongodb
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel
......
......@@ -19,6 +19,9 @@ RUN docker-php-ext-install \
RUN pecl install memcached \
&& docker-php-ext-enable memcached
# Install mongodb driver
RUN pecl install mongodb
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel
......
......@@ -25,7 +25,6 @@ RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-m
# Install mongodb driver
RUN pecl install mongodb
RUN echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini
RUN usermod -u 1000 www-data
......
date.timezone = UTC
display_errors = Off
log_errors = On
\ No newline at end of file
log_errors = On
extension=mongodb.so
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment