Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Yann on November 01, 2008, 03:44:27 PM

Title: Cannot send attached file over 200kb
Post by: Yann on November 01, 2008, 03:44:27 PM
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.
Title: Cannot send attachment file over 200kb
Post by: rosali on November 02, 2008, 01:38:48 AM
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 ...