mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-22 13:43:54 +01:00
Set recommend opcache.revalidate_freq (#1718)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
7d6837dbbe
commit
d27ec71090
2 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ RUN { \
|
|||
echo 'opcache.max_accelerated_files=10000'; \
|
||||
echo 'opcache.memory_consumption=128'; \
|
||||
echo 'opcache.save_comments=1'; \
|
||||
echo 'opcache.revalidate_freq=1'; \
|
||||
echo 'opcache.revalidate_freq=60'; \
|
||||
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
|
||||
\
|
||||
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
|
||||
|
|
|
@ -97,7 +97,7 @@ RUN { \
|
|||
echo 'opcache.max_accelerated_files=10000'; \
|
||||
echo 'opcache.memory_consumption=128'; \
|
||||
echo 'opcache.save_comments=1'; \
|
||||
echo 'opcache.revalidate_freq=1'; \
|
||||
echo 'opcache.revalidate_freq=60'; \
|
||||
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
|
||||
\
|
||||
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
|
||||
|
|
Loading…
Reference in a new issue