[horde] Problem with size of attachment

Vilius Šumskas vilius at lnk.lt
Wed Nov 10 04:41:59 PST 2004


Cituojama Betty Kakali <kakali at uom.gr>:

> I have a problem with sending attachments using WebMail. When the 
> attachment is bigger than 1 MB I get the message
> "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried 
> to allocate 1783796 bytes) in /usr/share/horde/imp/compose.php3 on 
> line 684"
> I have already tried the solution you suggest (increasing the 
> max_upload_size in php.ini) but did'nt work.
> Besides the max_upload_size was 2 MB and I was trying to send an 
> attachment of 1.3 MB.
> What should I do???

You should check not only max_upload_size, but also:

a) post_max_size
b) memory_limit

If you are using PHP as Apache's SAPI filter check apache conf for
LimitRequestBody.

-- 
   Chears,
   Vilius





More information about the horde mailing list