summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
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