aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-31 11:11:20 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-31 11:11:20 +0000
commitbbc906683aefec7fa8360dd0718e142bea829fef (patch)
tree9679ae01d480c4348c2653670541a29961c3e220 /htaccess_dist
parentbea734c998d22143f7dc34f54f119b7323c35eb1 (diff)
downloadelgg-bbc906683aefec7fa8360dd0718e142bea829fef.tar.gz
elgg-bbc906683aefec7fa8360dd0718e142bea829fef.tar.bz2
Refs #2940 added php settings comments into trunk
git-svn-id: http://code.elgg.org/elgg/trunk@8885 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'htaccess_dist')
-rw-r--r--htaccess_dist10
1 files changed, 5 insertions, 5 deletions
diff --git a/htaccess_dist b/htaccess_dist
index c2f144575..3acdd2a32 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -25,15 +25,15 @@ DirectoryIndex index.php
# php 5, apache 1 and 2
<IfModule mod_php5.c>
- # default memory limit to 64Mb
+ # limit the maximum memory consumed by the php script to 64 MB
php_value memory_limit 64M
- # to make sure register global is off
+ # register_globals is deprecated as of PHP 5.3.0 - disable it for security reasons.
php_value register_globals 0
- # max post size to 8Mb
+ # post_max_size is the maximum size of ALL the data that is POST'ed to php at a time (8 MB)
php_value post_max_size 8388608
- # upload size limit to 5Mb
+ # upload_max_filesize is the maximum size of a single uploaded file (5 MB)
php_value upload_max_filesize 5242880
- # hide errors, enable only if debug enabled
+ # on development servers, set to 1 to display errors. Set to 0 on production servers.
php_value display_errors 0
</IfModule>