I've assigned the memory limit of php to 999m so it appears in phpinfo like
memory_limit 999M 999M
when I use phpinfo(); to show it.
Unfortunately when I try to run a fairly large script, it seems like the limit is 256M
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /xxx/wp-includes/wp-db.php on line 1403
Anyone have any ideas why or what I can do to increase the limit (and have it actually work)
If it helps I'm running centos5 32bit and with php running in fcgi mode
php.ini? (Seephpinfo(), orphp -i(note, that the different sapis (apache-module,cgi,cli, ...) use differentphp.inis)) You restarted your server? You ever thought about, why your scripts requires sooo much memory?!memory_limit 999M 999M- surely you meantmemory_limit 999Mini_set('memory_limit', ...)?