summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
Diffstat (limited to '10-opcache.ini')
-rw-r--r--10-opcache.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/10-opcache.ini b/10-opcache.ini
index 84492a6..a5959f2 100644
--- a/10-opcache.ini
+++ b/10-opcache.ini
@@ -105,3 +105,15 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
; Enables or disables checksum validation when script loaded from file cache.
;opcache.file_cache_consistency_checks=1
+
+; Validate cached file permissions.
+; 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.
+;opcache.validate_permission=0
+
+; Prevent name collisions in chroot'ed environment.
+; This directive prevents file name collisions in different "chroot"
+; environments. It should be enabled for sites that may serve requests in
+; different "chroot" environments.
+;opcache.validate_root=0