summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-22 16:30:43 +0200
committerRemi Collet <remi@remirepo.net>2019-05-22 16:30:43 +0200
commit7b8aac46006ce57fb0056ea4bd8b6e79ee55fe3e (patch)
tree56808826771589925d5ec18cd92dea7ee3e50f17 /10-opcache.ini
parent1980e23d65c295d7a9ff5026a7f01612b52e4458 (diff)
new snapshot with configuration updated from upstream
Diffstat (limited to '10-opcache.ini')
-rw-r--r--10-opcache.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/10-opcache.ini b/10-opcache.ini
index 60e54b8..2abdeb2 100644
--- a/10-opcache.ini
+++ b/10-opcache.ini
@@ -109,6 +109,10 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
; cache is required.
;opcache.file_cache_fallback=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=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
@@ -124,3 +128,16 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
; If specified, it produces opcode dumps for debugging different stages of
; optimizations.
;opcache.opt_debug_level=0
+
+; Specifies a PHP script that is going to be compiled and executed at server
+; start-up.
+; http://php.net/opcache.preload
+;opcache.preload=
+
+; Prevents caching files that are less than this number of seconds old. It
+; protects from caching of incompletely updated files. In case all file updates
+; on your site are atomic, you may increase performance by setting it to "0".
+;opcache.file_update_protection=2
+
+; Absolute path used to store shared lockfiles (for *nix only).
+;opcache.lockfile_path=/tmp