Merge pull request #2917 from PavelSavushkinMix/fix/memcached_extension
feat(MEMCACHED extension): add memcached extension installation for CI
This commit is contained in:
commit
1fa380d90a
|
@ -33,7 +33,6 @@ jobs:
|
|||
sed -i -- 's/PHALCON=true/PHALCON=false/g' .env
|
||||
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
|
||||
sed -i -- 's/MAILPARSE=true/MAILPARSE=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
|
||||
|
|
|
@ -507,9 +507,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
|
||||
|
|
Loading…
Reference in New Issue