root/eaccelerator/tags/start/eaccelerator.ini

Revision 5, 3.9 kB (checked in by anonymous, 4 years ago)

This commit was manufactured by cvs2svn to create branch 'eAccelerator'.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 [eaccelerator]
2
3 ; eAccelerator is compatible with Zend Optimizer's loader. Zend Optimizer
4 ; must be installed after eAccelerator in php.ini. If you don't use scripts
5 ; encoded with Zend Encoder then we do not recommend you install Zend Optimizer
6 ; with eAccelerator.
7
8 ; eAccelerator.
9
10 ; You must uncomment one (and only one) line from the following to load
11 ; eAccelerator extension.
12
13 ;extension="eaccelerator.so"
14 ;zend_extension="/usr/lib/php4/eaccelerator.so"
15 ;zend_extension_ts="/usr/lib/php4/eaccelerator.so"
16 ;extension="eaccelerator.dll"
17 ;zend_extension_ts="c:\php4\eaccelerator.dll"
18 ;zend_extension="c:\php4\eaccelerator.dll"
19
20 eaccelerator.shm_size = "16"
21 ; The amount of shared memory (in megabytes) that eAccelerator will use.
22 ; "0" means OS default. Default value is "0".
23
24 eaccelerator.cache_dir = "/tmp/eaccelerator"
25 ; The directory that is used for disk cache. eAccelerator stores precompiled
26 ; code, session data, content and user entries  here. The same data can be
27 ; stored in shared memory also (for more quick access). Default value is
28 ; "/tmp/eaccelerator".
29
30 eaccelerator.enable = "1"
31 ; Enables or disables eAccelerator. Should be "1" for enabling or
32 ; "0" for disabling. Default value is "1".
33
34 eaccelerator.optimizer = "1"
35 ; Enables or disables internal peephole optimizer which may speed up code
36 ; execution. Should be "1" for enabling or "0" for disabling.
37 ; Default value is "1".
38
39 eaccelerator.debug = "0"
40 ; Enables or disables debug logging. Should be "1" for enabling or
41 ; "0" for disabling. Default value is "0".
42
43 eaccelerator.check_mtime = "1"
44 ; Enables or disables PHP file modification checking. Should be "1"
45 ; for enabling or "0" for disabling. You should set it to "1" if you want
46 ; to recompile PHP files after modification. Default value is "1".
47
48 eaccelerator.filter = ""
49 ; Determine which PHP files must be cached. You may specify the number of
50 ; patterns (for example "*.php *.phtml") which specifies to cache or
51 ; not to cache. If pattern starts with the character "!", it means to ignore
52 ; files which are matched by the following pattern. Default value is "" that
53 ; means - all PHP scripts will be cached.
54
55 eaccelerator.shm_max = "0"
56 ; Disables putting large values into shared memory by "eaccelerator_put()"
57 ; function.
58 ; It indicates the largest allowed size in bytes (10240, 10K, 1M). The "0"
59 ; disables the limit. Default value is "0".
60
61 eaccelerator.shm_ttl = "0"
62 ; When MMCache fails to get shared memory for new script it removes all
63 ; scripts which were not accessed at last "shm_ttl" seconds from shared
64 ; memory. Default value is "0" that means - don't remove any files from
65 ; shared memory.
66
67 eaccelerator.shm_prune_period = "0"
68 ; When MMCache fails to get shared memory for new script it tryes to remove
69 ; old script if the previous try was made more then "shm_prune_period"
70 ; seconds ago. Default value is "0" that means - don't try to remove any
71 ; files from shared memory.
72
73 eaccelerator.shm_only = "0"
74 ; Enables or disables caching of compiled scripts on disk. It has no effect
75 ; on session data and content caching.
76 ; Default value is "0" that means - use disk and shared memory for caching.
77
78 eaccelerator.compress = "1"
79 ; Enables or disables cached content compression. Default value is "1" that
80 ; means enable compression.
81
82 eaccelerator.compress_level = "9"
83 ; Compression level used for content caching.  Default value is "9" which i
84 ; is the maximum compression level
85
86 eaccelerator.keys     = "shm_and_disk"
87 eaccelerator.sessions = "shm_and_disk"
88 eaccelerator.content  = "shm_and_disk"
89 ; Determine where keys, session data and content will be cached. The possible
90 ; values are:
91 ; "shm_and_disk" - cache data in shared memory and on disk (default value)
92 ; "shm"          - cache data in shared memory or on disk if shared memory
93 ;                  is full or data size greater then "eaccelerator.shm_max"
94 ; "shm_only"     - cache data in shared memory
95 ; "disk_only"    - cache data on disk
96 ; "none"         - don't cache data
Note: See TracBrowser for help on using the browser.