root/eaccelerator/trunk/eaccelerator.ini

Revision 353, 4.5 kB (checked in by bart, 4 months ago)

Remove php4 stuff from the config file

  • 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/php/modules/eaccelerator.so"
17 ;zend_extension_ts="/usr/lib/php/modules/eaccelerator.so"
18
19 ;extension="eaccelerator.dll"
20 ;zend_extension_ts="c:\php4\eaccelerator.dll"
21 ;zend_extension="c:\php4\eaccelerator.dll"
22
23 ; The amount of shared memory (in megabytes) that eAccelerator will use.
24 ; "0" means OS default. Default value is "0".
25 eaccelerator.shm_size = "0"
26
27 ; The directory that is used for disk cache. eAccelerator stores precompiled
28 ; code, session data, content and user entries  here. The same data can be
29 ; stored in shared memory also (for more quick access). Default value is
30 ; "/tmp/eaccelerator".
31 eaccelerator.cache_dir = "/tmp/eaccelerator"
32
33 ; Enables or disables eAccelerator. Should be "1" for enabling or
34 ; "0" for disabling. Default value is "1".
35 eaccelerator.enable = "1"
36
37 ; Enables or disables internal peephole optimizer which may speed up code
38 ; execution. Should be "1" for enabling or "0" for disabling.
39 ; Default value is "1".
40 eaccelerator.optimizer = "1"
41
42 ; Enables or disables debug logging. Setting this to 1 will print information
43 ; to the log file about the cach hits of a file.
44 eaccelerator.debug = 0
45
46 ; Set the log file for eaccelerator. When this option isn't set then the data
47 ; will be logged to stderr
48 eaccelerator.log_file = "/var/log/httpd/eaccelerator_log"
49
50 ; A string that's prepended to all keys. This allows two applications that use the
51 ; same key names to run on the same host by setting this in .htaccess or in the main
52 ; configuration file for the whole webserver.
53 eaccelerator.name_space = ""
54
55 ; Enables or disables PHP file modification checking. Should be "1"
56 ; for enabling or "0" for disabling. You should set it to "1" if you want
57 ; to recompile PHP files after modification. Default value is "1".
58 eaccelerator.check_mtime = "1"
59
60 ; Determine which PHP files must be cached. You may specify the number of
61 ; patterns (for example "*.php *.phtml") which specifies to cache or
62 ; not to cache. If pattern starts with the character "!", it means to ignore
63 ; files which are matched by the following pattern. Default value is "" that
64 ; means - all PHP scripts will be cached.
65 eaccelerator.filter = ""
66
67 ; Disables putting large values into shared memory by "eaccelerator_put()"
68 ; function.
69 ; It indicates the largest allowed size in bytes (10240, 10K, 1M). The "0"
70 ; disables the limit. Default value is "0".
71 eaccelerator.shm_max = "0"
72
73 ; When eAccelerator fails to get shared memory for new script it removes
74 ; all scripts which were not accessed at last "shm_ttl" seconds from shared
75 ; memory. Default value is "0" that means - don't remove any files from
76 ; shared memory.
77 eaccelerator.shm_ttl = "0"
78
79 ; When eAccelerator fails to get shared memory for new script it tries to
80 ; remove old script if the previous try was made more then "shm_prune_period"
81 ; seconds ago. Default value is "0" that means - don't try to remove any
82 ; files from shared memory.
83 eaccelerator.shm_prune_period = "0"
84
85 ; Enables or disables caching of compiled scripts on disk. It has no effect
86 ; on session data and content caching.
87 ; Default value is "0" that means - use disk and shared memory for caching.
88 eaccelerator.shm_only = "0"
89
90 ; Enables or disables cached content compression. Default value is "1" that
91 ; means enable compression.
92 eaccelerator.compress = "1"
93
94 ; Compression level used for content caching.  Default value is "9" which i
95 ; is the maximum compression level
96 eaccelerator.compress_level = "9"
97
98 ; Determine where keys, session data and content will be cached. The possible
99 ; values are:
100 ; "shm_and_disk" - cache data in shared memory and on disk (default value)
101 ; "shm"          - cache data in shared memory or on disk if shared memory
102 ;                  is full or data size greater then "eaccelerator.shm_max"
103 ; "shm_only"     - cache data in shared memory
104 ; "disk_only"    - cache data on disk
105 ; "none"         - don't cache data
106 eaccelerator.keys     = "shm_and_disk"
107 eaccelerator.sessions = "shm_and_disk"
108 eaccelerator.content  = "shm_and_disk"
109
110 ; The script paths that are allowed to get admin information and do admin
111 ; controls
112 eaccelerator.allowed_admin_path = ""
113
Note: See TracBrowser for help on using the browser.