Friday, March 27, 2009

Fatal error: Allowed memory size of xxx bytes exhausted

Source: http://forum.mamboserver.com/showthread.php?p=56808#post56808

Fatal error: Allowed memory size of 8388608 bytes exhausted

1. Edit php.ini file and restarting Apache:

memory_limit = 32M (add the line if it is missing)

2. If you do not have access to php.ini but your webspace is able to handle ".htaccess" files. Edit .htaccess file

php_value memory_limit 32M

3. Put the following line into the PHP source file.

ini_set("memory_limit","24M");

No comments: