[imp] About php config for IMP ( WebMail Client )

edwardspl at ita.org.mo edwardspl at ita.org.mo
Wed Sep 26 15:31:41 UTC 2007


Tobias Drewry wrote:

>Quoting edwardspl at ita.org.mo:
>
>  
>
>>Dear All,
>>
>>Mine is FC6 System and WebMail Client is IMP ( http://www.horde.org ) :
>>
>>For /etc/php.ini :
>>
>>upload_max_filesize = 100M
>>post_max_size = 100M
>>memory_limit = 512M
>>
>>The problem is :
>>
>>For IMP :
>>
>>1, Maximum Attachment Size: 2,097,152 bytes ???
>>2, Fatal error: Allowed memory size of 8388608 bytes exhausted (tried 
>>to allocate 1519127 bytes) in   
>>/home/itawm/html/horde/lib/Horde/MIME/Part.php on line 1027
>>
>>For php : php-5.1.6-3.4.fc6
>>
>>So, is there a solution for this kind of problem ?
>>
>>Many Thanks !
>>
>>Edward.
>>--
>>IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>Frequently Asked Questions: http://horde.org/faq/
>>To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>>
>>    
>>
>Quoting edwardspl at ita.org.mo:
>
>  
>
>>Dear All,
>>
>>Mine is FC6 System and WebMail Client is IMP ( http://www.horde.org ) :
>>
>>For /etc/php.ini :
>>
>>upload_max_filesize = 100M
>>post_max_size = 100M
>>memory_limit = 512M
>>
>>The problem is :
>>
>>For IMP :
>>
>>1, Maximum Attachment Size: 2,097,152 bytes ???
>>2, Fatal error: Allowed memory size of 8388608 bytes exhausted (tried 
>>to allocate 1519127 bytes) in   
>>/home/itawm/html/horde/lib/Horde/MIME/Part.php on line 1027
>>
>>For php : php-5.1.6-3.4.fc6
>>
>>So, is there a solution for this kind of problem ?
>>
>>Many Thanks !
>>
>>Edward.
>>--
>>IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>Frequently Asked Questions: http://horde.org/faq/
>>To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>>
>>    
>>
>
>Edward,
>
>   You can change the max attachment size in IMP by using the 
>administration panel and altering your IMP config.  If you can't find 
>the option in the Setup for IMP, you can alter your conf.php to read:
>
>$conf['compose']['attach_size_limit'] = '0';
>
>instead of
>
>$conf['compose']['attach_size_limit'] = '2097152';
>
>   Word of advice: please search for answers via google or something 
>before posting.  Oh, and you should try to be patient, answers from a 
>mailing list can take a few days sometimes.  Not everyone has as much 
>free time as everyone else, nor are they all in the same timezone.
>
>- T
>
>  
>
Hello Tobias,

1, What means about the bytes of 2097152 ?
2, The memory_limit setting of php.ini still problem :

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 1519127 bytes) in
/home/itawm/html/horde/lib/Horde/MIME/Part.php on line 1027

So, who can help me ?

Thanks !

Edward.


More information about the imp mailing list