summaryrefslogtreecommitdiffstats
path: root/opcache.ini
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-14 13:51:07 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-14 13:51:07 +0100
commita4ce88ee0ddf7e29c5ed3e003ea18b7808390ae2 (patch)
tree471bdc8f17f71076ea4d27f6195066b1fb8b34b2 /opcache.ini
parentf314bb79d56280c19ba0229e9b89df6eb2d3d29f (diff)
php-pecl-zendopcache: backport security fix for bug #69090
Diffstat (limited to 'opcache.ini')
-rw-r--r--opcache.ini11
1 files changed, 11 insertions, 0 deletions
diff --git a/opcache.ini b/opcache.ini
index c26c351..b195df6 100644
--- a/opcache.ini
+++ b/opcache.ini
@@ -93,3 +93,14 @@ opcache.blacklist_filename=@INIPATH@/opcache*.blacklist
; Useful for internal debugging only.
;opcache.protect_memory=0
+; 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