On Wed, 10 Sep 2008 19:57:07 -0700 (PDT) Nelson Serafica <ntserafica@xxxxxxxxx> wrote: > I just see this error in my apache log. When I check the line 557, it > only shows: > > $read = implode('',$r); > > How do I change the memory used by imap? > > Here is the error log: > > PHP Fatal error: Allowed memory size of 10485760 bytes exhausted > (tried to allocate 132 bytes) in /var/squirrel4/functions/imap > _messages.php on line 557, referer: > http://webmail.domain.net/src/left_main.php > > > > New Email names for you! > Get the Email name you've always wanted on the new @ymail and > @rocketmail. Hurry before someone else does! > http://mail.promotions.yahoo.com/newdomains/ph/ One way: Put in your .htaccess: php_value memory_limit 32M (if error repeats, try to increase 32M) Second way: Edit your php.ini and increase memory_limit there. This error can be occure because of system limits. In this case you should edit /etc/limits.conf. -- Dmitry Banshchikov ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users