summaryrefslogtreecommitdiffstats
path: root/apc.ini
blob: 9827dc20da058ce2f08c2b935029c47ad052d64e (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
; Enable apc extension module
extension = apc.so

; Options for the APC module version >= 3.1.3
; See http://www.php.net/manual/en/apc.configuration.php


; This can be set to enable the APC opcode cache
; Don't set this option if another opcode cache is enabled
apc.enable_opcode_cache=0

; This can be set to 0 to disable APC. 
;apc.enabled=1

; The size of each shared memory segment, with M/G suffixe
apc.shm_size=64M

; The shared memory size reserved for strings, with M/G suffixe
apc.shm_strings_buffer=8M

; A "hint" about the number of distinct source files that will be included or 
; requested on your web server. Set to zero or omit if you are not sure;
;apc.num_files_hint=1000

; Just like num_files_hint, a "hint" about the number of distinct user cache
; variables to store.  Set to zero or omit if you are not sure;
;apc.user_entries_hint=4096

; The number of seconds a cache entry is allowed to idle in a slot in case this
; cache entry slot is needed by another entry.
;apc.ttl=0

; use the SAPI request start time for TTL
;apc.use_request_time=1

; The number of seconds a user cache entry is allowed to idle in a slot in case
; this cache entry slot is needed by another entry.
;apc.user_ttl=0

; The number of seconds that a cache entry may remain on the garbage-collection list. 
;apc.gc_ttl=3600

; On by default, but can be set to off and used in conjunction with positive
; apc.filters so that files are only cached if matched by a positive filter.
;apc.cache_by_default=1

; A comma-separated list of POSIX extended regular expressions.
;apc.filters=

; The mktemp-style file_mask to pass to the mmap module 
apc.mmap_file_mask=/tmp/apc.XXXXXX


; This file_update_protection setting puts a delay on caching brand new files.
;apc.file_update_protection=2

; Setting this enables APC for the CLI version of PHP (Mostly for testing and debugging).
;apc.enable_cli=0

; Prevents large files from being cached
;apc.max_file_size=1M

; Whether to stat the main script file and the fullpath includes.
;apc.stat=1

; Vertification with ctime will avoid problems caused by programs such as svn or rsync by making 
; sure inodes have not changed since the last stat. APC will normally only check mtime.
;apc.stat_ctime=0

; If on, then relative paths are canonicalized in no-stat mode.
; If set, then files included via stream wrappers can not be cached
; as realpath() does not support stream wrappers.
;apc.canonicalize=1

; With write_lock enabled, only one process at a time will try to compile an 
; uncached script while the other processes will run uncached
;apc.write_lock=1

; Logs any scripts that were automatically excluded from being cached due to early/late binding issues.
;apc.report_autofilter=0

; RFC1867 File Upload Progress hook handler
;apc.rfc1867=0
;apc.rfc1867_prefix =upload_
;apc.rfc1867_name=APC_UPLOAD_PROGRESS
;apc.rfc1867_freq=0
;apc.rfc1867_ttl=3600

; Enables APC handling of signals, such as SIGSEGV, that write core files when signaled. 
; APC will attempt to unmap the shared memory segment in order to exclude it from the core file
;apc.coredump_unmap=0

; Records a md5 hash of files. 
;apc.file_md5=0

; not documented
;apc.preload_path=