added mongodb driver for php5.5 5.6
This commit is contained in:
parent
9c7054abe2
commit
1090bb4db6
@ -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
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
date.timezone = UTC
|
||||
display_errors = Off
|
||||
log_errors = On
|
||||
log_errors = On
|
||||
extension=mongodb.so
|
Loading…
Reference in New Issue
Block a user