Give your comments on increase the attachment file size limit in webmail here. Thanks in advance!
First thank you for putting this note out. It really helped me out.
As a side note, most people recommend increasing the UploadMaxFilesize but somehow this parameter is not sufficient for all applications to work. For example, webshare application can still timeout with a high value for UploadMaxFilesize. As a second side note, do not attempt to change this parameter in file /etc/php.ini because this file gets overwritten. Use the e-smith configuration commands (below)
Second, I was not able to ftp the rpm that you refer to. Not sure if this is needed?
Lastly, I am running SME version 5.6 and this is what worked for me (five commands executed as root)
- /sbin/e-smith/db configuration setprop phpMaxExecutionTime 1800
- /sbin/e-smith/db configuration setprop MemoryLimit 100M
- /sbin/e-smith/db configuration setprop PostMaxSize 25M
- /sbin/e-smith/db configuration setprop UploadMaxFilesize 25M
- /sbin/e-smith/signal-event console-save
Thank you again for your note.
Thanks for the feedback. Planet Mirror, ibiblio, etc., don't show that among charlie's contribs - starting to look like it's gone for a reason ;-)
I couldn't find an rpm of a similar name on the SME6 build either not a problem, since it seems to have worked for you - Good Luck!
- (comment)
In my opinion the most saved (and easiest) way is to use custom-templates.
If something is not working as expected you could easily remove the custom-templates.
This is what I did:
1) Copy the following files from /etc/e-smith/templates/etc/php.ini into this directory /etc/e-smith/templates-custom/etc/php.ini
20ResourceLimits
40DataHandling
60FileUploads
Change in this files the corresponding values to this values:
phpMaxExecutionTime 1800
MemoryLimit 100M
PostMaxSize 25M
UploadMaxFilesize 25M
After that you execute this commands:
- /sbin/e-smith/expand-template /etc/php.ini
- service httpd restart
(And I also did a '# service httpd-admin restart', but don't know for sure if that was necessary!)
After this you will be able to upload/attach 25MB instead of the standard size of 10MB.
Molski.
- (comment)