mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-25 12:50:54 +02:00
Compile with igbinary (#2368)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
69c1e4a000
commit
a5656577ef
9 changed files with 110 additions and 27 deletions
|
@ -67,12 +67,16 @@ RUN set -ex; \
|
|||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install igbinary-3.2.16; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.3.0; \
|
||||
pecl install redis-6.1.0; \
|
||||
pecl install memcached-3.3.0 \
|
||||
--configureoptions 'enable-memcached-igbinary="yes"'; \
|
||||
pecl install redis-6.1.0 \
|
||||
--configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
|
||||
\
|
||||
docker-php-ext-enable \
|
||||
apcu \
|
||||
igbinary \
|
||||
imagick \
|
||||
memcached \
|
||||
redis \
|
||||
|
@ -108,6 +112,11 @@ RUN { \
|
|||
\
|
||||
echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \
|
||||
\
|
||||
{ \
|
||||
echo 'apc.serializer=igbinary'; \
|
||||
echo 'session.serialize_handler=igbinary'; \
|
||||
} >> "${PHP_INI_DIR}/conf.d/docker-php-ext-igbinary.ini"; \
|
||||
\
|
||||
{ \
|
||||
echo 'memory_limit=${PHP_MEMORY_LIMIT}'; \
|
||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue