diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-09-18 07:51:18 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-09-18 07:51:18 +0200 |
commit | 0c77a2ca02e36a77a4a3b259871c11f6d1f0700d (patch) | |
tree | a04103e32b8a5b1d13dbef3ee67c20748600bf27 /10-opcache.ini | |
parent | b315d6f0119764ae764ea932af7a119b76ff56cc (diff) |
update opcache conf for php 7
Diffstat (limited to '10-opcache.ini')
-rw-r--r-- | 10-opcache.ini | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/10-opcache.ini b/10-opcache.ini index 5ed5fbb..7477caa 100644 --- a/10-opcache.ini +++ b/10-opcache.ini @@ -92,10 +92,20 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist ; started from specified string. The default "" means no restriction ;opcache.restrict_api= -; Experimental file based opcode cache +; Enables and sets the second level cache directory. +; It should improve performance when SHM memory is full, at server restart or +; SHM reset. The default "" disables file based caching. ; RPM note : file cache directory must be owned by process owner -; for mod_php, see /etc/httpd/conf.d/php.conf -; for php-fpm, see /etc/php-fpm.d/*conf +; for mod_php, see /etc/httpd/conf.d/php.conf +; for php-fpm, see /etc/php-fpm.d/*conf ;opcache.file_cache= + +; Enables or disables opcode caching in shared memory. ;opcache.file_cache_only=0 + +; Enables or disables checksum validation when script loaded from file cache. ;opcache.file_cache_consistency_checks=1 + +; Enables or disables copying of PHP code (text segment) into HUGE PAGES. +; This should improve performance, but requires appropriate OS configuration. +;opcache.huge_code_pages=1 |