diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-02-18 10:44:25 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-02-18 10:44:25 +0100 |
commit | a54cbbc2cb2e7690e8391c7c31a0b58b485447ec (patch) | |
tree | a0a95f236a3150a9e098d024758d4f6de5a69e0a | |
parent | ed68db91b98d7b6894b1dc9801adab5cac22962f (diff) |
php: update opcache default configuration about opcache.validate_permission and opcache.validate_root
-rw-r--r-- | 10-opcache.ini | 6 |
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 |