root/eaccelerator/tags/0.9.1/eaccelerator.ini

Revision 11, 3.9 kB (checked in by everaldo_canuto, 4 years ago)

update to same structure of php.ini.

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