X-Git-Url: https://git.tld-linux.org/?p=packages%2Fphp.git;a=blobdiff_plain;f=opcache.ini;h=b2931f6f0324e0e73beb541b2c551e5690068192;hp=16a3cffb1b908d4c5f685bdcb255e3a42717956d;hb=e6f83ff85ff9f0aee5fb84a941ec5978c62af03c;hpb=a7a672c356d6bab9f63f3a85bca24504114f7bc4 diff --git a/opcache.ini b/opcache.ini index 16a3cff..b2931f6 100644 --- a/opcache.ini +++ b/opcache.ini @@ -1,6 +1,4 @@ -; Enable opcache zend extension module -zend_extension=opcache.so - +[opcache] ; Determines if Zend OPCache is enabled ;opcache.enable=1 @@ -42,18 +40,13 @@ zend_extension=opcache.so ; size of the optimized code. ;opcache.save_comments=1 -; If enabled, a fast shutdown sequence is used for the accelerated code -; Depending on the used Memory Manager this may cause some incompatibilities. -;opcache.fast_shutdown=0 - ; Allow file existence override (file_exists, etc.) performance feature. ;opcache.enable_file_override=0 ; A bitmask, where each bit enables or disables the appropriate OPcache ; passes -;opcache.optimization_level=0xffffffff +;opcache.optimization_level=0x7FFFBFFF -;opcache.inherited_hack=1 ;opcache.dups_fix=0 ; The location of the OPcache blacklist file (wildcards allowed). @@ -102,6 +95,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. @@ -127,3 +124,25 @@ zend_extension=opcache.so ; Prevent name collisions in chroot'ed environment. ;opcache.validate_root=0 + +; If specified, it produces opcode dumps for debugging different stages of +; optimizations. +;opcache.opt_debug_level=0 + +; Specifies a PHP script that is going to be compiled and executed at server +; start-up. +; 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". +;opcache.file_update_protection=2 + +; Absolute path used to store shared lockfiles (for *nix only). +;opcache.lockfile_path=/tmp