From 6742414db2a6bcc9e9ca040e20f12510b707a3af Mon Sep 17 00:00:00 2001 From: axel simon Date: Tue, 12 Apr 2022 17:14:34 +0100 Subject: [PATCH] Dockerfile: Raise opcache interned strings buffer to 16 In line with https://github.com/nextcloud/docker/pull/1702/ and to avoid the error message: > The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply opcache.interned_strings_buffer to your PHP configuration with a value higher than 8. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d60d0893..19e23c02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,7 +79,7 @@ RUN \ echo 'apc.enable_cli=1' >> /etc/php7/conf.d/apcu.ini && \ sed -i \ -e 's/;opcache.enable.*=.*/opcache.enable=1/g' \ - -e 's/;opcache.interned_strings_buffer.*=.*/opcache.interned_strings_buffer=8/g' \ + -e 's/;opcache.interned_strings_buffer.*=.*/opcache.interned_strings_buffer=16/g' \ -e 's/;opcache.max_accelerated_files.*=.*/opcache.max_accelerated_files=10000/g' \ -e 's/;opcache.memory_consumption.*=.*/opcache.memory_consumption=128/g' \ -e 's/;opcache.save_comments.*=.*/opcache.save_comments=1/g' \