diff options
authorRemi Collet <>2017-02-18 10:44:25 +0100
committerRemi Collet <>2017-02-18 10:44:25 +0100
commitac97ee7d7e9e15aee8d646e7c7d62dbfe8b1048c (patch)
parent8a3d8283889899d9f5a8157cacff1d218a2de079 (diff)
php: update opcache default configuration about opcache.validate_permission and opcache.validate_root
1 files changed, 11 insertions, 0 deletions
diff --git a/opcache.ini b/opcache.ini
index 21f16ad..aae4888 100644
--- a/opcache.ini
+++ b/opcache.ini
@@ -93,3 +93,14 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
; Useful for internal debugging only.
+; 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.
+; 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.