

Please let me know the fix for the above stated problem. Note: the difference in the bytes reported when forwarded and forwarded as attachment. One place that might need a bit of work is when we forward a message.Įven after fixing /etc/php.ini with memory_limit = 20M and /etc/httpd/conf.d/php.conf LimitRequestBody 20971520 (as described in this section) when tried to forward a message of size 17M, I am getting the following error:įatal error: Allowed memory size of 20971520 bytes exhausted at (null):0 (tried to allocate 17463807 bytes) in /squirrelmail-1.4.5/functions/imap_general.php on line 124įatal error: Allowed memory size of 20971520 bytes exhausted at (null):0 (tried to allocate 262144 bytes) in /squirrelmail-1.4.5/functions/imap_general.php on line 241 We shouldn't be consuming a lot of memory whenever we can avoid it. In fact, we grab a tiny bit of info from the mail server, decode it, send it off to the browser and repeat. I had a memory limit of 8M and the file truncated at 4.xx MB now I changed it to 80M and the whole (8MB) file downloaded without problems. Yes, It's the memory limit (at least it was it for me). Look in your php.ini file for the setting "memory_limit" and change it to be a bigger number. Same goes if you ever get the above error message.
#Cise squirrelmail download
If you are trying to download an attachment that was sent to you, but you never can seem to download it all, it might be a good idea to increase PHP's maximum memory limit. Make sure that as much functionality as possible is handled outside PHP (see SquirrelMailPerformance).Īllowed memory size of XXXX bytes exhausted # access to configtest is limited by default to prevent information leak Like this example:\n Alias /squirrelmail /usr/share/squirrelmail Set php_value memory_limit 32M in the file which will be included in the apache configuration.
#Cise squirrelmail how to
Check your server manual to find out how to do that. After editing the PHP configuration file, you will probably need to restart your webserver.

Increase the PHP configuration setting memory_limit (see the ). PHP error Fatal error: Allowed memory size of bytes exhausted (tried to allocate bytes) in /.php on line
