File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,13 @@ ENV PHP_MEMORY_LIMIT 512M
8383ENV PHP_UPLOAD_LIMIT 512M
8484RUN { \
8585 echo 'opcache.enable=1'; \
86- echo 'opcache.interned_strings_buffer=32 '; \
86+ echo 'opcache.interned_strings_buffer=64 '; \
8787 echo 'opcache.max_accelerated_files=10000'; \
88- echo 'opcache.memory_consumption=128 '; \
88+ echo 'opcache.memory_consumption=256 '; \
8989 echo 'opcache.save_comments=1'; \
9090 echo 'opcache.revalidate_freq=60'; \
9191 echo 'opcache.jit=1255'; \
92- echo 'opcache.jit_buffer_size=128M '; \
92+ echo 'opcache.jit_buffer_size=8M '; \
9393 } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \
9494 \
9595 echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \
Original file line number Diff line number Diff line change @@ -95,13 +95,13 @@ RUN set -ex; \
9595# see https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#enable-php-opcache
9696RUN { \
9797 echo 'opcache.enable=1'; \
98- echo 'opcache.interned_strings_buffer=32 '; \
98+ echo 'opcache.interned_strings_buffer=64 '; \
9999 echo 'opcache.max_accelerated_files=10000'; \
100- echo 'opcache.memory_consumption=128 '; \
100+ echo 'opcache.memory_consumption=256 '; \
101101 echo 'opcache.save_comments=1'; \
102102 echo 'opcache.revalidate_freq=60'; \
103103 echo 'opcache.jit=1255'; \
104- echo 'opcache.jit_buffer_size=128M '; \
104+ echo 'opcache.jit_buffer_size=8M '; \
105105 } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \
106106 \
107107 echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \
You can’t perform that action at this time.
0 commit comments