]> git.pld-linux.org Git - packages/php.git/blobdiff - opcache.ini
Up to 8.0.12; fixes CVE-2021-21703
[packages/php.git] / opcache.ini
index 9f414a03a90c836ce9d0fef8e902e5d4a4445924..67c0381339beddcf86f08c07f076604d9b4b65ba 100644 (file)
@@ -1,6 +1,4 @@
-; Enable opcache zend extension module
-zend_extension=opcache.so
-
+[opcache]
 ; Determines if Zend OPCache is enabled
 ;opcache.enable=1
 
@@ -42,6 +40,11 @@ zend_extension=opcache.so
 ; size of the optimized code.
 ;opcache.save_comments=1
 
+; If enabled, compilation warnings (including notices and deprecations) will
+; be recorded and replayed each time a file is included. Otherwise, compilation
+; warnings will only be emitted when the file is first cached.
+;opcache.record_warnings=0
+
 ; Allow file existence override (file_exists, etc.) performance feature.
 ;opcache.enable_file_override=0
 
@@ -97,6 +100,10 @@ zend_extension=opcache.so
 ; errors.
 ;opcache.mmap_base=
 
+; Facilitates multiple OPcache instances per user (for Windows only). All PHP
+; processes with the same cache ID and user share an OPcache instance.
+;opcache.cache_id=
+
 ; 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.
@@ -132,6 +139,11 @@ zend_extension=opcache.so
 ; http://php.net/opcache.preload
 ;opcache.preload=
 
+; Preloading code as root is not allowed for security reasons. This directive
+; facilitates to let the preloading to be run as another user.
+; http://php.net/opcache.preload_user
+;opcache.preload_user=
+
 ; Prevents caching files that are less than this number of seconds old. It
 ; protects from caching of incompletely updated files. In case all file updates
 ; on your site are atomic, you may increase performance by setting it to "0".
This page took 0.069054 seconds and 4 git commands to generate.