[imp] Re: composing mail with attachement

John Dalbec jpdalbec at ysu.edu
Wed Dec 31 09:21:53 PST 2003


I use PHP 4.1.2 and there are at least three settings involved there:
memory_limit = 64M
post_max_size = 16M
upload_max_filesize = 4M

Toomas Vann wrote:
> Hi!
> 
> Well i have this kind of a problem that when i compose a mail and
> add an attachement then after tryng to send it i get a blank page.
> Now that depends on the size of that file. 2,5mb mp3 file fails
> when 20kb document succseeds. On that same system i have set up also
> testing site, to upload files to server using php script. When
> tryng the same mp3 file from that location, it is uploaded without problems.

IMP uses more memory when uploading files because it has to MIME encode them.
HTH,
John

> 
> As systemwide settings are the same i see no reason why would it fail using
> Horde/IMP.
> 
> I am using:
> 
> Horde 2.2.4
> IMP 3.2.2
> PHP 4.2.2
> recent pear from www.horde.org pear-1.1.tar.gz
> 
> All this is running usin RedHat 9 with:
> httpd-2.0.40-21.9
> mysql-3.23.58-1.9
> 
> 
> Also settings are as follows:
> 
> php.ini:
> 
> file_uploads = On
> upload_tmp_dir = /tmp
> upload_max_filesize = 80M
> 
> (session files are created under /tmp by user apache, so with permissions
> everything should be OK)
> 
> php.conf:
> 
> LimitRequestBody 82428800
> 
> THere is something i have left out, could someone point it out, what other
> changes i have to make...
> 
> Thanks in advance,
> Toomas Vann
> 



More information about the imp mailing list