[cvs] [Wiki] changed: FAQ/Admin/Config
Wiki Guest
wiki at wiki.horde.org
Mon Aug 1 19:20:08 PDT 2005
guest [169.232.103.239] Mon, 01 Aug 2005 19:20:08 -0700
Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision: 1.5
Change log: Additional php.ini values to allow uploading of larger file sizes.
@@ -143,9 +143,9 @@
If you are having difficulty finding the file which contains the phrase you want to change, the following Unix command may be of assistance:
<code>
-find horde/ -type f -exec grep -li 'Your Phrase' {} \;
+find horde/ -type f -exec grep -li 'Your Phrase' {} ;
</code>
where {{horde/}} is the root directory of your Horde installation.
@@ -402,8 +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
+</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.
+<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
</code>
You will need to restart your web server after this change.
More information about the cvs
mailing list