From 584fa9c867b0e5d1cbd6f15e061084cd9ab79638 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 21 Feb 2022 13:54:39 +0100 Subject: [PATCH] Adjust opcache parameter. --- mod_php_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod_php_install.sh b/mod_php_install.sh index cee0795..e0998df 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -6088,9 +6088,9 @@ if [[ -n "$zend_extension_opcache" ]];then echo_failed fi - ## - set opcache.interned_strings_buffer=8 + ## - set opcache.interned_strings_buffer=16 ## - - echononl "\tphp.ini: opcache.interned_strings_buffer = 8 .." + echononl "\tphp.ini: opcache.interned_strings_buffer = 16 .." opcache_key="opcache.interned_strings_buffer" opcache_val=8 if grep -e "^\s*${opcache_key}\s*=" $PHP_INI_FILE > /dev/null 2>&1 ; then @@ -6106,7 +6106,7 @@ if [[ -n "$zend_extension_opcache" ]];then echo_failed fi - ## - set opcache.max_accelerated_files=4000 + ## - set opcache.max_accelerated_files=10000 ## - echononl "\tphp.ini: opcache.max_accelerated_files = 10000 .." opcache_key="opcache.max_accelerated_files" @@ -6144,7 +6144,7 @@ if [[ -n "$zend_extension_opcache" ]];then ## - set opcache.memory_consumption=128 ## - - echononl "\tphp.ini: opcache.memory_consumption = 1 .." + echononl "\tphp.ini: opcache.memory_consumption = 128 .." opcache_key="opcache.memory_consumption" opcache_val=128 if grep -e "^\s*${opcache_key}\s*=" $PHP_INI_FILE > /dev/null 2>&1 ; then