Roundcube Community Forum

 

Cannot send attached file over 200kb

Started by Yann, November 01, 2008, 03:44:27 PM

Previous topic - Next topic

Yann

Hi Everyone
I was trying to send an attached files, size over 200kb but it keeps hanging without sending the file. A little file under 100kb just sent fine. The log file shows this error:

PHP Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 792469 bytes) in /home/my_domain/public_html/webmail/program/lib/Mail/mimePart.php on line 317

And this problem is related to pdf files only. I'm using RC 0.2beta, and I did change the the maximum file size in php.ini.

rosali

php.ini

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 32M      ; Maximum amount of memory a script may consume (16MB)



I'm not really good in apache configuration. But I think you should try to increase these values ...
Regards,
Rosali