Added information about new opcache configuration directives
authorDmitry Stogov <dmitry@zend.com>
Thu, 17 Sep 2015 09:51:43 +0000 (12:51 +0300)
committerDmitry Stogov <dmitry@zend.com>
Thu, 17 Sep 2015 09:51:43 +0000 (12:51 +0300)
php.ini-development
php.ini-production

index 0a4cc87c2e1bd843fc06cf202651fa47a1a485fa..39ba1fd71b8a840db5a027e82d5aa465e76b9de3 100644 (file)
@@ -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.
index 47ee9e5e3a9d250b2d253bfc48a2f429eb8522e1..368794f70036f66a5d1373c5af27c58e5556d85e 100644 (file)
@@ -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.