From 08563e92985163016a054a5b6c203ccbfd4360f9 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 23 May 2016 13:01:05 +0200 Subject: [PATCH] add more opcache-php.ini directives for php-fpm, fixes #1624 Signed-off-by: Michael Kaufmann (d00p) --- lib/classes/phpinterface/class.phpinterface_fpm.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/classes/phpinterface/class.phpinterface_fpm.php b/lib/classes/phpinterface/class.phpinterface_fpm.php index 211ee4a8..156940ba 100644 --- a/lib/classes/phpinterface/class.phpinterface_fpm.php +++ b/lib/classes/phpinterface/class.phpinterface_fpm.php @@ -113,7 +113,11 @@ class phpinterface_fpm { 'session.gc_probability', 'variables_order', 'opcache.log_verbosity_level', - 'opcache.restrict_api' + 'opcache.restrict_api', + 'opcache.revalidate_freq', + 'opcache.max_accelerated_files', + 'opcache.memory_consumption', + 'opcache.interned_strings_buffer' ), 'php_admin_flag' => array( 'allow_call_time_pass_reference', @@ -137,7 +141,8 @@ class phpinterface_fpm { 'opcache.revalidate_path', 'opcache.save_comments', 'opcache.use_cwd', - 'opcache.validate_timestamps' + 'opcache.validate_timestamps', + 'opcache.fast_shutdown' ) );