summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-18 10:44:25 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-18 10:44:25 +0100
commita54cbbc2cb2e7690e8391c7c31a0b58b485447ec (patch)
treea0a95f236a3150a9e098d024758d4f6de5a69e0a /10-opcache.ini
parented68db91b98d7b6894b1dc9801adab5cac22962f (diff)
php: update opcache default configuration about opcache.validate_permission and opcache.validate_root
Diffstat (limited to '10-opcache.ini')
-rw-r--r--10-opcache.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/10-opcache.ini b/10-opcache.ini
index 6907e94..cd4c8fa 100644
--- a/10-opcache.ini
+++ b/10-opcache.ini
@@ -112,7 +112,13 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
;opcache.file_cache_fallback=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