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 | 1b50f87d488a5080797544ca6be22c47b0d58212 (patch) | |
tree | d222cbc4a3d6aa618a0a1e7616b1576fe9550fe5 | |
parent | 13f3dbf0d920cf728cca003af787d88f8484b293 (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 |