From 03fd7ea948eeecf96a756cdf202c996982108adb Mon Sep 17 00:00:00 2001 From: Pavel Savushkin Date: Tue, 23 Mar 2021 00:54:46 +0200 Subject: [PATCH] feat(MEMCACHED extension): add memcached extension installation for CI Add memcached extension support. Memcached extension should be supported on the all available versions. --- .github/workflows/main-ci.yml | 1 - php-fpm/Dockerfile | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 8fae1b4..0fefa7a 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -34,7 +34,6 @@ jobs: sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env sed -i -- 's/MSSQL=true/MSSQL=false/g' .env - sed -i -- 's/MEMCACHED=true/MEMCACHED=false/g' .env sed -i -- 's/OCI8=true/OCI8=false/g' .env sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env sed -i -- 's/V8JS=true/V8JS=false/g' .env diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 65d6965..0a11a3b 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -506,9 +506,9 @@ ARG INSTALL_MEMCACHED=false RUN if [ ${INSTALL_MEMCACHED} = true ]; then \ # Install the php memcached extension if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ - pecl install memcached-2.2.0; \ + echo '' | pecl -q install memcached-2.2.0; \ else \ - pecl install memcached-3.1.3; \ + echo '' | pecl -q install memcached; \ fi \ && docker-php-ext-enable memcached \ ;fi