; (default "1")
opcache.validate_timestamps = 1
+; Leads OPcache to check file readability on each access to cached file.
+; This directive should be enabled in shared hosting environment, when few
+; users (PHP-FPM pools) reuse the common OPcache shared memory.
+; (default "0")
+opcache.validate_permission = 0
+
+; This directive prevents file name collisions in different "chroot"
+; environments. It should be enabled for sites that may serve requests in
+; different "chroot" environments.
+; (default "0")
+opcache.validate_root = 0
+
; 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)
; (default "1")
opcache.save_comments = 1
-; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments" may
-; be always stored (save_comments=1), but not loaded by applications that don't
-; need them anyway.
-; (default "1")
-opcache.load_comments = 1
-
-; If enabled, a fast shutdown sequence is used for the accelerated code. The
-; fast shutdown sequence doesn't free each allocated block, but lets the Zend
-; Engine Memory Manager do the work.
-; (default "0")
-opcache.fast_shutdown = 0
-
; Allow file existence override (file_exists, etc.) performance feature.
; (default "0")
opcache.enable_file_override = 0
; (default "0xffffffff")
opcache.optimization_level = 0xffffffff
-; Enable this hack as a workaround for "can't redeclare class" errors.
+; Enable this hack as a workaround for "Cannot redeclare class" errors.
; The OPcache stores the places where DECLARE_CLASS opcodes use inheritance
; (These are the only opcodes that can be executed by PHP, but which may not be
; executed because the parent class is missing due to optimization). When the
; directive allows to manually fix the "Unable to reattach to base address"
; errors.
;opcache.mmap_base = ""
+
+; Absolute path used to store shared lockfiles (for *nix only)
+; (default "/tmp")
+opcache.lockfile_path = "/tmp"