[cvs] [Wiki] changed: FAQ/Admin/Config
Jan Schneider
jan at horde.org
Wed Aug 3 03:21:09 PDT 2005
jan Wed, 03 Aug 2005 03:21:09 -0700
Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision: 1.7
Change log: Condense new text
@@ -402,16 +402,16 @@
By default, PHP limits uploaded files to 2 MB, and this limit applies to attachments on messages sent from IMP. To change this value, edit the following value in your {{php.ini}} (or, in PHP3, {{php3.ini}}):
<code>
upload_max_filesize = number of bytes
+post_max_size = number of bytes + size of form data, e.g. message text
</code>
-The above value still did not allow me to upload files larger than 2MB. I made the following changes and I can now upload files up to 10MB.
+Other limits that might affect the maximum size of attachments that PHP is able to handle:
+
<code>
-max_execution_time = 30 ;may need to be higher, but this value worked for me
-memory_limit = -1 ;removes the memory limit for php, 100M was too small for me
-upload_max_filesize = 10M ;sets maximum allowable file size to be uploaded to 10MB
-post_max_size = 20M ;sets the maximum allowable file size a form can POST to 20MB
+max_execution_time = 30 ;may need to be higher
+memory_limit = -1 ;removes the memory limit for php
</code>
You will need to restart your web server after this change.
More information about the cvs
mailing list