Archive for November, 2008

quick fix | No Comments | November 20th, 2008

for that

increasing the server’s PHP memory_limi = 12 M

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

The 12M sets the limit to 12 megabytes (12582912 bytes). If this doesn’t work, keep increasing the memory limit until your script fits or your server squeals for mercy.

You can also make this change permanently for all PHP scripts running on the server by adding a line like this to the server’s php.ini file: