Skip to content
Snippets Groups Projects
Unverified Commit 2f38386c authored by adripo's avatar adripo Committed by GitHub
Browse files

fix: opcache configuration (#2185)


* fix: opcache configuration

Signed-off-by: default avataradripo <26493496+adripo@users.noreply.github.com>

* fix: revert opcache memory consumption and strings buffer

Signed-off-by: default avataradripo <26493496+adripo@users.noreply.github.com>

---------

Signed-off-by: default avataradripo <26493496+adripo@users.noreply.github.com>
parent 98a96173
Branches
Tags
No related merge requests found
...@@ -97,7 +97,7 @@ RUN { \ ...@@ -97,7 +97,7 @@ RUN { \
echo 'opcache.save_comments=1'; \ echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=60'; \ echo 'opcache.revalidate_freq=60'; \
echo 'opcache.jit=1255'; \ echo 'opcache.jit=1255'; \
echo 'opcache.jit_buffer_size=128M'; \ echo 'opcache.jit_buffer_size=8M'; \
} > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \ } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \
\ \
echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \ echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \
......
...@@ -102,7 +102,7 @@ RUN { \ ...@@ -102,7 +102,7 @@ RUN { \
echo 'opcache.save_comments=1'; \ echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=60'; \ echo 'opcache.revalidate_freq=60'; \
echo 'opcache.jit=1255'; \ echo 'opcache.jit=1255'; \
echo 'opcache.jit_buffer_size=128M'; \ echo 'opcache.jit_buffer_size=8M'; \
} > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \ } > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \
\ \
echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \ echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment