From 7a92429e669848b28e464bb756978d4234baca50 Mon Sep 17 00:00:00 2001 From: selim13 Date: Mon, 17 Jul 2017 14:21:34 +0300 Subject: [PATCH] Opcache tuning --- .../php5/conf.d/{opcache-recomended.ini => opcache.ini} | 5 +++-- 3.2-apache/php/conf.d/opcache.ini | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) rename 3.1-apache/php5/conf.d/{opcache-recomended.ini => opcache.ini} (57%) diff --git a/3.1-apache/php5/conf.d/opcache-recomended.ini b/3.1-apache/php5/conf.d/opcache.ini similarity index 57% rename from 3.1-apache/php5/conf.d/opcache-recomended.ini rename to 3.1-apache/php5/conf.d/opcache.ini index 7964455..e11cabc 100644 --- a/3.1-apache/php5/conf.d/opcache-recomended.ini +++ b/3.1-apache/php5/conf.d/opcache.ini @@ -1,6 +1,7 @@ -opcache.memory_consumption=128 +opcache.memory_consumption=64 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 -opcache.revalidate_freq=60 +opcache.validate_timestamps=0 +opcache.revalidate_freq=0 opcache.fast_shutdown=1 opcache.enable_cli=1 diff --git a/3.2-apache/php/conf.d/opcache.ini b/3.2-apache/php/conf.d/opcache.ini index ed4e7d3..c6ea98d 100644 --- a/3.2-apache/php/conf.d/opcache.ini +++ b/3.2-apache/php/conf.d/opcache.ini @@ -1,7 +1,8 @@ -opcache.memory_consumption=128 +opcache.memory_consumption=64 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 -opcache.revalidate_freq=60 +opcache.validate_timestamps=0 +opcache.revalidate_freq=0 opcache.fast_shutdown=1 opcache.enable_cli=1 opcache.file_cache=/phpbb/opcache \ No newline at end of file