Allowed memory size exhausted
I'm getting this error:
"Allowed memory size of XXXX bytes exhausted (tried to allocate 4000 bytes)"
I'm on a shared hosting server - so I don't have direct access to php.ini.
I tried the .htaccess method:
php_value memory_limit 32000000
which gave me a Server Error 500...
I also tried init_set() from the PHP file at the top:
ini_set(”memory_limit”,”32M”);
Which seemed to make no difference (same error)
How do I get around this memory issue?
|