parent
25f883fc99
commit
4af8ac8f53
|
@ -364,10 +364,10 @@ ARG INSTALL_MEMCACHED=false
|
||||||
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
||||||
# Install the php memcached extension
|
# Install the php memcached extension
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install memcached-2.2.0
|
pecl install memcached-2.2.0; \
|
||||||
else \
|
else \
|
||||||
pecl install memcached-3.1.3
|
pecl install memcached-3.1.3; \
|
||||||
fi
|
fi \
|
||||||
&& docker-php-ext-enable memcached \
|
&& docker-php-ext-enable memcached \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue