From: Frank Brehm Date: Wed, 15 Sep 2021 04:33:04 +0000 (+0200) Subject: daily autocommit X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=05b9915884da0e521855f843cd53128120fc99de;p=config%2Fns1%2Fetc.git daily autocommit --- diff --git a/php/7.4/apache2/php.ini b/php/7.4/apache2/php.ini index 17816c9..e30c341 100644 --- a/php/7.4/apache2/php.ini +++ b/php/7.4/apache2/php.ini @@ -1766,20 +1766,20 @@ ldap.max_links = -1 [opcache] ; Determines if Zend OPCache is enabled -;opcache.enable=1 +opcache.enable=1 ; Determines if Zend OPCache is enabled for the CLI version of PHP ;opcache.enable_cli=0 ; The OPcache shared memory storage size. -;opcache.memory_consumption=128 +opcache.memory_consumption=128 ; The amount of memory for interned strings in Mbytes. -;opcache.interned_strings_buffer=8 +opcache.interned_strings_buffer=8 ; The maximum number of keys (scripts) in the OPcache hash table. ; Only numbers between 200 and 1000000 are allowed. -;opcache.max_accelerated_files=10000 +opcache.max_accelerated_files=10000 ; The maximum percentage of "wasted" memory until a restart is scheduled. ;opcache.max_wasted_percentage=5 @@ -1797,14 +1797,14 @@ ldap.max_links = -1 ; How often (in seconds) to check file timestamps for changes to the shared ; memory storage allocation. ("1" means validate once per second, but only ; once per request. "0" means always validate) -;opcache.revalidate_freq=2 +opcache.revalidate_freq=1 ; Enables or disables file search in include_path optimization ;opcache.revalidate_path=0 ; If disabled, all PHPDoc comments are dropped from the code to reduce the ; size of the optimized code. -;opcache.save_comments=1 +opcache.save_comments=1 ; Allow file existence override (file_exists, etc.) performance feature. ;opcache.enable_file_override=0 diff --git a/php/7.4/mods-available/opcache.ini b/php/7.4/mods-available/opcache.ini index 34ed69f..aac373c 100644 --- a/php/7.4/mods-available/opcache.ini +++ b/php/7.4/mods-available/opcache.ini @@ -1,3 +1,9 @@ ; configuration for php opcache module ; priority=10 zend_extension=opcache.so +opcache.enable_cli=1 +opcache.interned_strings_buffer=8 +opcache.max_accelerated_files=10000 +opcache.memory_consumption=128 +opcache.save_comments=1 +opcache.revalidate_freq=1