Reply to Re: [PHP] squirrelmail php memory

Your name:


Posted by Curt Zirzow on 01/20/06 09:38

On Thu, Jan 19, 2006 at 10:47:50PM -0500, maillists wrote:
> ...
> Here is a sample error that appears sometimes in the pages:
> <snip>
> Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
> allocate 35 bytes)
> in /var/www/ on line 66
> Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
> allocate 40 bytes) in Unknown on line 0
> ...
> Is this something that I can fix with a php config? if so where do I
> start?

Yeah, this means you have php compiled with the
--enable-memory-limit option. Well depending on how you have
things set up, the option you want change is the
php.ini:memory_limit option. You can change this value in either
php.ini or within your apache config some place for example:

<Directory /path/to/squirrelmail/install/>
php_value memory_limit -1

Or plop the php_value directive in a .htaccess where squirrelmail
is installed (assuming .htaccess is enabled)


Although I used the -1 as an example, which disables the memory
limits, i would put some limit to avoid the system to use up all
the available memory.

cat .signature: No such file or directory

[Back to original message]

Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация