Changeset 11

Show
Ignore:
Timestamp:
12/12/04 21:25:34 (4 years ago)
Author:
everaldo_canuto
Message:

update to same structure of php.ini.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/eaccelerator.ini

    r4 r11  
    11[eaccelerator] 
    22 
     3;;;;;;;;;;;;;;;;;;; 
     4; About this file ; 
     5;;;;;;;;;;;;;;;;;;; 
     6; 
    37; eAccelerator is compatible with Zend Optimizer's loader. Zend Optimizer 
    48; must be installed after eAccelerator in php.ini. If you don't use scripts 
     
    610; with eAccelerator. 
    711 
    8 ; eAccelerator. 
    912 
    1013; You must uncomment one (and only one) line from the following to load 
    1114; eAccelerator extension. 
    12  
    13 ;extension="eaccelerator.so" 
     15extension="eaccelerator.so" 
    1416;zend_extension="/usr/lib/php4/eaccelerator.so" 
    1517;zend_extension_ts="/usr/lib/php4/eaccelerator.so" 
     
    1820;zend_extension="c:\php4\eaccelerator.dll" 
    1921 
    20 eaccelerator.shm_size = "16" 
    2122; The amount of shared memory (in megabytes) that eAccelerator will use. 
    2223; "0" means OS default. Default value is "0". 
     24eaccelerator.shm_size = "16" 
    2325 
    24 eaccelerator.cache_dir = "/tmp/eaccelerator" 
    2526; The directory that is used for disk cache. eAccelerator stores precompiled 
    2627; code, session data, content and user entries  here. The same data can be 
    2728; stored in shared memory also (for more quick access). Default value is 
    2829; "/tmp/eaccelerator". 
     30eaccelerator.cache_dir = "/var/cache/eaccelerator" 
    2931 
    30 eaccelerator.enable = "1" 
    3132; Enables or disables eAccelerator. Should be "1" for enabling or 
    3233; "0" for disabling. Default value is "1". 
     34eaccelerator.enable = "1" 
    3335 
    34 eaccelerator.optimizer = "1" 
    3536; Enables or disables internal peephole optimizer which may speed up code 
    3637; execution. Should be "1" for enabling or "0" for disabling. 
    3738; Default value is "1". 
     39eaccelerator.optimizer = "1" 
    3840 
    39 eaccelerator.debug = "0" 
    4041; Enables or disables debug logging. Should be "1" for enabling or 
    4142; "0" for disabling. Default value is "0". 
     43eaccelerator.debug = "0" 
    4244 
    43 eaccelerator.check_mtime = "1" 
    4445; Enables or disables PHP file modification checking. Should be "1" 
    4546; for enabling or "0" for disabling. You should set it to "1" if you want 
    4647; to recompile PHP files after modification. Default value is "1". 
     48eaccelerator.check_mtime = "1" 
    4749 
    48 eaccelerator.filter = "" 
    4950; Determine which PHP files must be cached. You may specify the number of 
    5051; patterns (for example "*.php *.phtml") which specifies to cache or 
     
    5253; files which are matched by the following pattern. Default value is "" that 
    5354; means - all PHP scripts will be cached. 
     55eaccelerator.filter = "" 
    5456 
    55 eaccelerator.shm_max = "0" 
    5657; Disables putting large values into shared memory by "eaccelerator_put()" 
    5758; function. 
    5859; It indicates the largest allowed size in bytes (10240, 10K, 1M). The "0" 
    5960; disables the limit. Default value is "0". 
     61eaccelerator.shm_max = "0" 
    6062 
    61 eaccelerator.shm_ttl = "0" 
    6263; When MMCache fails to get shared memory for new script it removes all 
    6364; scripts which were not accessed at last "shm_ttl" seconds from shared 
    6465; memory. Default value is "0" that means - don't remove any files from 
    6566; shared memory. 
     67eaccelerator.shm_ttl = "0" 
    6668 
    67 eaccelerator.shm_prune_period = "0" 
    6869; When MMCache fails to get shared memory for new script it tryes to remove 
    6970; old script if the previous try was made more then "shm_prune_period" 
    7071; seconds ago. Default value is "0" that means - don't try to remove any 
    7172; files from shared memory. 
     73eaccelerator.shm_prune_period = "0" 
    7274 
    73 eaccelerator.shm_only = "0" 
    7475; Enables or disables caching of compiled scripts on disk. It has no effect 
    7576; on session data and content caching. 
    7677; Default value is "0" that means - use disk and shared memory for caching. 
     78eaccelerator.shm_only = "0" 
    7779 
    78 eaccelerator.compress = "1" 
    7980; Enables or disables cached content compression. Default value is "1" that 
    8081; means enable compression. 
     82eaccelerator.compress = "1" 
    8183 
    82 eaccelerator.compress_level = "9" 
    8384; Compression level used for content caching.  Default value is "9" which i 
    8485; is the maximum compression level 
     86eaccelerator.compress_level = "9" 
    8587 
    86 eaccelerator.keys     = "shm_and_disk" 
    87 eaccelerator.sessions = "shm_and_disk" 
    88 eaccelerator.content  = "shm_and_disk" 
    8988; Determine where keys, session data and content will be cached. The possible 
    9089; values are: 
     
    9594; "disk_only"    - cache data on disk 
    9695; "none"         - don't cache data 
     96eaccelerator.keys     = "shm_and_disk" 
     97eaccelerator.sessions = "shm_and_disk" 
     98eaccelerator.content  = "shm_and_disk"