Changeset 1018

Show
Ignore:
Timestamp:
03/10/07 04:51:11 (1 year ago)
Author:
sven
Message:

change default error logging level and memory limit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/config-dist.php

    r1004 r1018  
    111111    $CFG->prefix = 'elgg'; 
    112112 
    113 // performance and debugging // 
     113// performance and debugging 
    114114// Uncomment this to get sql errors sent to the webserver error log. 
    115115// $CFG->dblogerror = true; 
    116 // put this to 2047 to get adodb error handling. 
    117  
    118     $CFG->debug = 0; 
     116 
     117// verbosity of PHP error message logging. 
     118// set this to 2047 to get adodb error handling. 
     119 
     120    //$CFG->debug = 0; // don't log *any* error messages. previously this was the (unhelpful) default. 
     121    $CFG->debug = 7; // only basic errors. for production systems. equivalent to php (E_ERROR | E_WARNING | E_PARSE). 
     122    //$CFG->debug = 2047; // errors and notices. for development systems/debugging. equivalent to php E_ALL. 
    119123 
    120124// Number of days to keep incoming RSS feed entries for before deleting them. 
  • devel/htaccess-dist

    r794 r1018  
    1313Options +FollowSymLinks 
    1414 
     15# Whether to display PHP error messages in page output. Recommended to be off for production systems. 
     16# Messages will be logged to Apache's error log regardless. 
     17#php_flag display_errors on 
     18 
    1519# PHP defaults to allowing file uploads of max 2MB, below is example option for 5MB. 
    1620# NB: Adjusting value may not work, depending on other configured php and apache limits. 
     
    2125 
    2226# Elgg can be more of a RAM lover than PHP's default of 8 meg. E.g. 16 meg: 
    23 #php_value memory_limit 16777216 
     27php_value memory_limit 16777216 
    2428 
    2529# Not really necessary, just to be clean