Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes)

Some directory needs large amount of memory for loading. We can increase the memory_limit in php.ini.

NB: Do not edit main php.ini file

So take a Copy of /usr/local/lib/php.ini to the required directory

Then edit
memory_limit = 32M ; Maximum amount of memory a script may consume (32MB) /// Default entry

to

memory_limit = 64M ; // Any large value. Depends on that webpage.

Save the changes ans retry …

 

Nguồn: http://manuuus.co.in

About mcsaormoney