root/eaccelerator/tags/0.9.4-rc2/eaccelerator.ini

Revision 141, 4.9 kB (checked in by zoeloelip, 3 years ago)

Added some extra documentation for namespaces

  • 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 = "0"
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 = "/tmp/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. Setting this to 1 will print information
42 ; to the log file about the cach hits of a file.
43 eaccelerator.debug = 0
44
45 ; Set the log file for eaccelerator. When this option isn't set then the data
46 ; will be logged to stderr
47 eaccelerator.log_file = "/var/log/httpd/eaccelerator_log"
48
49 ; A string that's prepended to all keys. This allows two applications that use the
50 ; same key names to run on the same host by setting this in .htaccess or in the main
51 ; configuration file for the whole webserver.
52 eaccelerator.name_space = ""
53
54 ; Enables or disables PHP file modification checking. Should be "1"
55 ; for enabling or "0" for disabling. You should set it to "1" if you want
56 ; to recompile PHP files after modification. Default value is "1".
57 eaccelerator.check_mtime = "1"
58
59 ; Determine which PHP files must be cached. You may specify the number of
60 ; patterns (for example "*.php *.phtml") which specifies to cache or
61 ; not to cache. If pattern starts with the character "!", it means to ignore
62 ; files which are matched by the following pattern. Default value is "" that
63 ; means - all PHP scripts will be cached.
64 eaccelerator.filter = ""
65
66 ; Disables putting large values into shared memory by "eaccelerator_put()"
67 ; function.
68 ; It indicates the largest allowed size in bytes (10240, 10K, 1M). The "0"
69 ; disables the limit. Default value is "0".
70 eaccelerator.shm_max = "0"
71
72 ; When eAccelerator fails to get shared memory for new script it removes
73 ; all scripts which were not accessed at last "shm_ttl" seconds from shared
74 ; memory. Default value is "0" that means - don't remove any files from
75 ; shared memory.
76 eaccelerator.shm_ttl = "0"
77
78 ; When eAccelerator fails to get shared memory for new script it tryes to
79 ; remove old script if the previous try was made more then "shm_prune_period"
80 ; seconds ago. Default value is "0" that means - don't try to remove any
81 ; files from shared memory.
82 eaccelerator.shm_prune_period = "0"
83
84 ; Enables or disables caching of compiled scripts on disk. It has no effect
85 ; on session data and content caching.
86 ; Default value is "0" that means - use disk and shared memory for caching.
87 eaccelerator.shm_only = "0"
88
89 ; Enables or disables cached content compression. Default value is "1" that
90 ; means enable compression.
91 eaccelerator.compress = "1"
92
93 ; Compression level used for content caching.  Default value is "9" which i
94 ; is the maximum compression level
95 eaccelerator.compress_level = "9"
96
97 ; Determine where keys, session data and content will be cached. The possible
98 ; values are:
99 ; "shm_and_disk" - cache data in shared memory and on disk (default value)
100 ; "shm"          - cache data in shared memory or on disk if shared memory
101 ;                  is full or data size greater then "eaccelerator.shm_max"
102 ; "shm_only"     - cache data in shared memory
103 ; "disk_only"    - cache data on disk
104 ; "none"         - don't cache data
105 eaccelerator.keys     = "shm_and_disk"
106 eaccelerator.sessions = "shm_and_disk"
107 eaccelerator.content  = "shm_and_disk"
108
109 ; eAccelerator can be managed through web interface script  eaccelerator.php. So
110 ; you need to put this file on  your  web  site.  For  security  reasons  it  is
111 ; recommended to restrict the usage of this script by your local IP.
112 ;
113 ; To create the eAccelerator password type
114 ;
115 ; php -q eaccelerator_password.php
116 ; Changing password for eAccelerator Web Interface (eaccelerator.php)
117 ;
118 ; Enter admin name: admin
119 ; New admin password: eaccelerator
120 ; Retype new admin password: eaccelerator
121
122 eaccelerator.admin.name="yourusername"
123 eaccelerator.admin.password="yourpassword"
Note: See TracBrowser for help on using the browser.