Fixed memcached for php5.6 (#624)
``` Step 15/32 : RUN if [ ${INSTALL_MEMCACHED} = true ]; then pecl install memcached && docker-php-ext-enable memcached ;fi ---> Running in b43e2e6b07f6 pecl/memcached requires PHP (version >= 7.0.0), installed version is 5.6.24 pecl/memcached can optionally use PHP extension "igbinary" (version >= 2.0) pecl/memcached can optionally use PHP extension "msgpack" (version >= 2.0) No valid packages found install failed ERROR: Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_MEMCACHED} = true ]; then pecl install memcached && docker-php-ext-enable memcached ;fi' returned a non-zero code: 1 ```
This commit is contained in:
parent
6440ca841a
commit
cdaa344321
@ -101,7 +101,7 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
|
||||
ARG INSTALL_MEMCACHED=false
|
||||
RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
||||
# Install the php memcached extension
|
||||
pecl install memcached && \
|
||||
pecl install memcached-2.2.0 && \
|
||||
docker-php-ext-enable memcached \
|
||||
;fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user