Horde has got problem sending out large attachements

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
432
47
178
Latvia
cPanel Access Level
Root Administrator
Fatal error: Out of memory (allocated 45350912) (tried to allocate 9203876 bytes) in /usr/local/cpanel/3rdparty/lib/php/Net/SMTP.php on line 788

That's the error I am getting, but to be honest, I can't find appropriate php.ini where I could raise memory_limit. This happens when trying to send email with attachment larger than 3Mb using Horde.

./3rdparty/etc/php.ini - has limit of 128Mb
./3rdparty/lib/php.ini - has limit of 64Mb.

Could anyone give a tip? Squirrelmail works just fine, by the way.

Anton.
 

mtindor

Well-Known Member
Sep 14, 2004
1,458
112
193
inside a catfish
cPanel Access Level
Root Administrator
Fatal error: Out of memory (allocated 45350912) (tried to allocate 9203876 bytes) in /usr/local/cpanel/3rdparty/lib/php/Net/SMTP.php on line 788

That's the error I am getting, but to be honest, I can't find appropriate php.ini where I could raise memory_limit. This happens when trying to send email with attachment larger than 3Mb using Horde.

./3rdparty/etc/php.ini - has limit of 128Mb
./3rdparty/lib/php.ini - has limit of 64Mb.

Could anyone give a tip? Squirrelmail works just fine, by the way.

Anton.
Log into WHM, go to Tweak Settings, look for:

The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 64 megabytes can not be specified.:

Might want to raise that to 256 - it shouldn't be less than 128 already.

Mike