Merge pull request #47 from mattythebatty/php-5-memcached
Add memcached support for PHP 5.5 & 5.6
This commit is contained in:
commit
03c991c89d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user