From: Dmitry Stogov Date: Thu, 17 Sep 2015 09:51:43 +0000 (+0300) Subject: Added information about new opcache configuration directives X-Git-Tag: php-7.1.0alpha1~1154^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41a184be1048eb47e05427008e35345423d03553;p=php Added information about new opcache configuration directives --- diff --git a/php.ini-development b/php.ini-development index 0a4cc87c2e..39ba1fd71b 100644 --- a/php.ini-development +++ b/php.ini-development @@ -1829,6 +1829,21 @@ ldap.max_links = -1 ; errors. ;opcache.mmap_base= +; Enables and sets the second level cache directory. +; It should improve performance when SHM memory is full, at server restart or +; SHM reset. The default "" disables file based caching. +;opcache.file_cache= + +; Enables or disables opcode caching in shared memory. +;opcache.file_cache_only=0 + +; Enables or disables checksum validation when script loaded from file cache. +;opcache.file_cache_consistency_checks=1 + +; Enables or disables copying of PHP code (text segment) into HUGE PAGES. +; This should improve performance, but requires appropriate OS configuration. +;opcache.huge_code_pages=0 + [curl] ; A default value for the CURLOPT_CAINFO option. This is required to be an ; absolute path. diff --git a/php.ini-production b/php.ini-production index 47ee9e5e3a..368794f700 100644 --- a/php.ini-production +++ b/php.ini-production @@ -1829,6 +1829,21 @@ ldap.max_links = -1 ; errors. ;opcache.mmap_base= +; Enables and sets the second level cache directory. +; It should improve performance when SHM memory is full, at server restart or +; SHM reset. The default "" disables file based caching. +;opcache.file_cache= + +; Enables or disables opcode caching in shared memory. +;opcache.file_cache_only=0 + +; Enables or disables checksum validation when script loaded from file cache. +;opcache.file_cache_consistency_checks=1 + +; Enables or disables copying of PHP code (text segment) into HUGE PAGES. +; This should improve performance, but requires appropriate OS configuration. +opcache.huge_code_pages=1 + [curl] ; A default value for the CURLOPT_CAINFO option. This is required to be an ; absolute path.