feat(MEMCACHED extension): add memcached extension installation for CI

Add memcached extension support.
Memcached extension should be supported on the all available versions.
This commit is contained in:
Pavel Savushkin 2021-03-23 00:54:46 +02:00
parent 4ebcc84955
commit 03fd7ea948
No known key found for this signature in database
GPG Key ID: BD2EDA3E125300DD
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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