From e7eb6af83c866f85100691dde5cafdf6c30bccf1 Mon Sep 17 00:00:00 2001 From: simonmicro Date: Wed, 1 Mar 2023 22:57:40 +0100 Subject: [PATCH] Fix for Nextcloud opcache-complains --- Dockerfile-alpine.template | 2 +- Dockerfile-debian.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index c33b1971..a78a76c1 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -80,7 +80,7 @@ ENV PHP_MEMORY_LIMIT 512M ENV PHP_UPLOAD_LIMIT 512M RUN { \ echo 'opcache.enable=1'; \ - echo 'opcache.interned_strings_buffer=16'; \ + echo 'opcache.interned_strings_buffer=32'; \ echo 'opcache.max_accelerated_files=10000'; \ echo 'opcache.memory_consumption=128'; \ echo 'opcache.save_comments=1'; \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 5427e2c2..f553dc84 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -94,7 +94,7 @@ RUN set -ex; \ # see https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#enable-php-opcache RUN { \ echo 'opcache.enable=1'; \ - echo 'opcache.interned_strings_buffer=16'; \ + echo 'opcache.interned_strings_buffer=32'; \ echo 'opcache.max_accelerated_files=10000'; \ echo 'opcache.memory_consumption=128'; \ echo 'opcache.save_comments=1'; \