From 21a83bd5a3211bc80583f5a97f0ca63626d8edca Mon Sep 17 00:00:00 2001 From: Simon Perdrisat Date: Fri, 10 Feb 2017 21:37:03 +0100 Subject: [PATCH] safer opcache settings (#604) --- php-fpm/opcache.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-fpm/opcache.ini b/php-fpm/opcache.ini index dcc670d..59683ba 100644 --- a/php-fpm/opcache.ini +++ b/php-fpm/opcache.ini @@ -2,6 +2,7 @@ extension=opcache.so opcache.enable="1" opcache.memory_consumption="256" opcache.use_cwd="0" -opcache.fast_shutdown="1" opcache.max_file_size="0" -opcache.validate_timestamps="0" +opcache.max_accelerated_files = 30000 +opcache.validate_timestamps="1" +opcache.revalidate_freq="0"