From cab8341deeef83f91d51d10fef3726c7e4e97d54 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Mon, 5 Jun 2017 19:44:09 +0200 Subject: [PATCH] Add server tuning --- conf/php-fpm.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 42216d9..25d1e76 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -69,3 +69,10 @@ php_value[upload_max_filesize] = 10G php_value[post_max_size] = 10G php_value[default_charset] = UTF-8 php_value[always_populate_raw_post_data] = -1 +php_value[opcache.enable] = 1 +php_value[opcache.enable_cli] = 1 +php_value[opcache.interned_strings_buffer] = 8 +php_value[opcache.max_accelerated_files] = 10000 +php_value[opcache.memory_consumption] = 128 +php_value[opcache.save_comments] = 1 +php_value[opcache.revalidate_freq] = 1