Skip to content

Commit

Permalink
fix: opcache configuration (#2185)
Browse files Browse the repository at this point in the history
* fix: opcache configuration

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

* fix: revert opcache memory consumption and strings buffer

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

---------

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>
  • Loading branch information
adripo authored Feb 7, 2025
1 parent 98a9617 commit 2f38386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ RUN { \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=60'; \
echo 'opcache.jit=1255'; \
echo 'opcache.jit_buffer_size=128M'; \
echo 'opcache.jit_buffer_size=8M'; \
} > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \
\
echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-debian.template
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RUN { \
echo 'opcache.save_comments=1'; \
echo 'opcache.revalidate_freq=60'; \
echo 'opcache.jit=1255'; \
echo 'opcache.jit_buffer_size=128M'; \
echo 'opcache.jit_buffer_size=8M'; \
} > "${PHP_INI_DIR}/conf.d/opcache-recommended.ini"; \
\
echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \
Expand Down

0 comments on commit 2f38386

Please # to comment.