SOURCES: eaccelerator.ini - updated

gotar gotar at pld-linux.org
Sat Jun 9 02:49:14 CEST 2007


Author: gotar                        Date: Sat Jun  9 00:49:14 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated

---- Files affected:
SOURCES:
   eaccelerator.ini (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/eaccelerator.ini
diff -u SOURCES/eaccelerator.ini:1.8 SOURCES/eaccelerator.ini:1.9
--- SOURCES/eaccelerator.ini:1.8	Sat Jun  9 01:26:41 2007
+++ SOURCES/eaccelerator.ini	Sat Jun  9 02:49:09 2007
@@ -9,13 +9,13 @@
 ; encoded with Zend Encoder then we do not recommend you install Zend Optimizer
 ; with eAccelerator.
 
+
+; You must uncomment one (and only one) line from the following to load
+; eAccelerator extension.
 extension="eaccelerator.so"
 ;zend_extension="/usr/lib/php/eaccelerator.so"
 ;zend_extension_ts="/usr/lib/php/eaccelerator.so"
 
-; You must uncomment one (and only one) line from the following to load
-; the eAccelerator extension.
-
 ; The amount of shared memory (in megabytes) that eAccelerator will use.
 ; "0" means OS default. Default value is "0".
 eaccelerator.shm_size = "64"
@@ -39,71 +39,70 @@
 ; to the log file about the cach hits of a file.
 eaccelerator.debug = "0"
 
-; Enables or disables PHP file modification checking. Should be "1" for
-; enabling or "0" for disabling. You should set it to "1" if you want to
-; recompile PHP files after modification. Default value is "1".
+; Set the log file for eaccelerator. When this option isn't set then the data
+; will be logged to stderr
+eaccelerator.log_file = "/var/log/httpd/eaccelerator_log"
+
+; A string that's prepended to all keys. This allows two applications that use the
+; same key names to run on the same host by setting this in .htaccess or in the main
+; configuration file for the whole webserver.
+eaccelerator.name_space = ""
+
+; Enables or disables PHP file modification checking. Should be "1"
+; for enabling or "0" for disabling. You should set it to "1" if you want
+; to recompile PHP files after modification. Default value is "1".
 eaccelerator.check_mtime = "1"
 
-; Determines which PHP files must be cached. You may specify a pattern
-; (for example "*.php *.phtml") which specifies files to cache or exclude.
-; If the pattern starts with the character "!", the files that match this
-; pattern wil be excluded. Default value is "" which means - all PHP scripts will be cached.
+; Determine which PHP files must be cached. You may specify the number of
+; patterns (for example "*.php *.phtml") which specifies to cache or
+; not to cache. If pattern starts with the character "!", it means to ignore
+; files which are matched by the following pattern. Default value is "" that
+; means - all PHP scripts will be cached.
 eaccelerator.filter = ""
 
 ; Disables putting large values into shared memory by "eaccelerator_put()"
-; function. It indicates the largest allowed size in bytes (10240, 10K, 1M).
-; A "0" disables the limit. Default value is "0".
+; function.
+; It indicates the largest allowed size in bytes (10240, 10K, 1M). The "0"
+; disables the limit. Default value is "0".
 eaccelerator.shm_max = "0"
 
-; When eAccelerator fails to get shared memory for a new script it removes
-; all scripts from shared memory which were not accessed at least "shm_ttl"
-; seconds. Default value is "0" which means - don't remove any files from shared memory.
+; When eAccelerator fails to get shared memory for new script it removes
+; all scripts which were not accessed at last "shm_ttl" seconds from shared
+; memory. Default value is "0" that means - don't remove any files from
+; shared memory.
 eaccelerator.shm_ttl = "0"
 
-; When eAccelerator fails to get shared memory for a new script it tries
-; to remove old script if the previous try was made more then
-; "shm_prune_period" seconds ago. Default value is "0" which means - don't
-; try to remove any files from shared memory.
+; When eAccelerator fails to get shared memory for new script it tries to
+; remove old script if the previous try was made more then "shm_prune_period"
+; seconds ago. Default value is "0" that means - don't try to remove any
+; files from shared memory.
 eaccelerator.shm_prune_period = "0"
 
 ; Enables or disables caching of compiled scripts on disk. It has no effect
-; on session data and content caching. Default value is "0" which means -
-; use disk and shared memory for caching.
+; on session data and content caching.
+; Default value is "0" that means - use disk and shared memory for caching.
 eaccelerator.shm_only = "0"
 
-; Enables or disables cached content compression. Default value is "1"
-; which means enable compression.
+; Enables or disables cached content compression. Default value is "1" that
+; means enable compression.
 eaccelerator.compress = "0"
 
 ; Compression level used for content caching. Default value is "9" which
 ; is the maximum compression level
 eaccelerator.compress_level = "9"
 
-; Determine where keys, session data and content will be cached.
-; The possible values are:
-; "shm_and_disk", cache data in shared memory and on disk (default value)
-; "shm", cache data in shared memory or on disk if shared memory is full
-; or data size is greater then "eaccelerator.shm_max"
-; "shm_only", cache data in shared memory
-; "disk_only", cache data on disk
-; "none", don't cache data
+; Determine where keys, session data and content will be cached. The possible
+; values are:
+; "shm_and_disk" - cache data in shared memory and on disk (default value)
+; "shm"          - cache data in shared memory or on disk if shared memory
+;                  is full or data size greater then "eaccelerator.shm_max"
+; "shm_only"     - cache data in shared memory
+; "disk_only"    - cache data on disk
+; "none"         - don't cache data
 eaccelerator.keys     = "shm"
 eaccelerator.sessions = "shm"
 eaccelerator.content  = "shm"
 
-eaccelerator.admin.name="yourusername"
-eaccelerator.admin.password="yourpassword"
-
-;eAccelerator can be managed through a web interface script eaccelerator.php.
-; You need to put this file on your web site. For security reasons it is
-; recommended to restrict the usage of this script by your local IP.
-;
-; To create the eAccelerator password type:
-;
-; $ php -q eaccelerator_password.php
-; Changing password for eAccelerator Web Interface (eaccelerator.php)
-; Enter admin name: admin
-; New admin password: eaccelerator
-; Retype new admin password: eaccelerator
-;
-; btw: you should be carful about this file modes (php/httpd user read only)
+; The script paths that are allowed to get admin information and do admin
+; controls
+eaccelerator.allowed_admin_path = ""
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eaccelerator.ini?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list