-
Notifications
You must be signed in to change notification settings - Fork 7
/
opcache.ini
43 lines (31 loc) · 1.28 KB
/
opcache.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
opcache.enable_cli=1
; The OPcache shared memory storage size
opcache.memory_consumption=128
; The amount of memory for interned strings in Mbytes
opcache.interned_strings_buffer=8
; The maximum number of keys (scripts) in the OPcache hash table
; Only numbers between 200 and 100000 are allowed
opcache.max_accelerated_files=4000
; The maximum percentage of "wasted" memory until a restart is scheduled
opcache.revalidate_freq=60
; If disabled, all PHPDoc comments are dropped from the opcode cache
; to reduce the size of the optimized code. If enabled, PHPDoc comments
; will not be loaded from the opcode cache.
opcache.save_comments=1
; Allow file existence override
opcache.validate_timestamps=1
; Check the existence of files used in include and require statements
opcache.revalidate_path=0
; How often to check script timestamps for updates, in seconds
opcache.revalidate_freq=2
; Store file locations relative to the server root, and do not store
; absolute file paths
opcache.use_cwd=1
; Prevent name collisions in chrooted environments
opcache.validate_root=0
; If enabled, a fast shutdown sequence is used for the accelerated code
opcache.fast_shutdown=0