Compare commits

...

2 Commits

Author SHA1 Message Date
Mahmoud Zalt
03c991c89d Merge pull request #47 from mattythebatty/php-5-memcached
Add memcached support for PHP 5.5 & 5.6
2016-05-14 19:47:37 +03:00
matt
fdba7e7c09 add memcached support for PHP 5.5 & 5.6 2016-05-14 17:21:36 +01:00
2 changed files with 10 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install \
libpq-dev -y \
libmemcached-dev \
curl
# Install extensions using the helper script provided by the base image
@@ -14,6 +15,10 @@ RUN docker-php-ext-install \
pdo_mysql \
pdo_pgsql
#Install memcached
RUN pecl install memcached \
&& docker-php-ext-enable memcached
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel

View File

@@ -7,6 +7,7 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install \
libpq-dev -y \
libmemcached-dev \
curl
# Install extensions using the helper script provided by the base image
@@ -14,6 +15,10 @@ RUN docker-php-ext-install \
pdo_mysql \
pdo_pgsql
#Install memcached
RUN pecl install memcached \
&& docker-php-ext-enable memcached
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel