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:
parent
4ebcc84955
commit
03fd7ea948
|
@ -34,7 +34,6 @@ jobs:
|
||||||
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
|
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
|
||||||
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
|
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
|
||||||
sed -i -- 's/MSSQL=true/MSSQL=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/OCI8=true/OCI8=false/g' .env
|
||||||
sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env
|
sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env
|
||||||
sed -i -- 's/V8JS=true/V8JS=false/g' .env
|
sed -i -- 's/V8JS=true/V8JS=false/g' .env
|
||||||
|
|
|
@ -506,9 +506,9 @@ 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; \
|
echo '' | pecl -q install memcached-2.2.0; \
|
||||||
else \
|
else \
|
||||||
pecl install memcached-3.1.3; \
|
echo '' | pecl -q install memcached; \
|
||||||
fi \
|
fi \
|
||||||
&& docker-php-ext-enable memcached \
|
&& docker-php-ext-enable memcached \
|
||||||
;fi
|
;fi
|
||||||
|
|
Loading…
Reference in New Issue