Changeset 1305
- Timestamp:
- 11/21/07 21:11:02 (1 year ago)
- Files:
-
- devel/htaccess-dist (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/htaccess-dist
r1303 r1305 20 20 DirectoryIndex index.php 21 21 22 # Whether to display PHP error messages in page output. Recommended to be off for production systems.23 # Messages will be logged to Apache's error log regardless.24 #php_flag display_errors on25 26 # PHP defaults to allowing file uploads of max 2MB, below is example option for 5MB.27 # NB: Adjusting value may not work, depending on other configured php and apache limits.28 # for more info see http://php.net/manual/en/features.file-upload.php and http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody29 # post_max_size should be slightly larger than upload_max_filesize, but the default is usually 8MB anyway.30 #php_value post_max_size 838860831 #php_value upload_max_filesize 524288032 33 # Elgg can be more of a RAM lover than PHP's default of 8 meg. E.g. 16 meg:34 #php_value memory_limit 1677721635 36 # Not really necessary, just to be clean37 #php_flag short_open_tag off38 # Forgot that anyone might still have this turned on39 #php_flag register_globals off40 41 22 # php 4, apache 1.x 42 23 <IfModule mod_php4.c> 24 # default memory limit to 16Mb 43 25 php_value memory_limit 16777216 26 # to make sure register global is off 44 27 php_value register_globals 0 28 # max post size to 8Mb 29 php_value post_max_size 8388608 30 # upload size limit to 5Mb 31 php_value upload_max_filesize 5242880 32 # hide errors, enable only if debug enabled 33 php_value display_errors 0 45 34 </IfModule> 46 35 47 36 # php 4, apache 2 48 37 <IfModule sapi_apache2.c> 38 # default memory limit to 16Mb 49 39 php_value memory_limit 16777216 40 # to make sure register global is off 50 41 php_value register_globals 0 42 # max post size to 8Mb 43 php_value post_max_size 8388608 44 # upload size limit to 5Mb 45 php_value upload_max_filesize 5242880 46 # hide errors, enable only if debug enabled 47 php_value display_errors 0 51 48 </IfModule> 52 49 53 50 # php 5, apache 1 and 2 54 51 <IfModule mod_php5.c> 52 # default memory limit to 16Mb 55 53 php_value memory_limit 16777216 54 # to make sure register global is off 56 55 php_value register_globals 0 56 # max post size to 8Mb 57 php_value post_max_size 8388608 58 # upload size limit to 5Mb 59 php_value upload_max_filesize 5242880 60 # hide errors, enable only if debug enabled 61 php_value display_errors 0 57 62 </IfModule> 58 63
