I am facing the common \"Fatal error: Out of memory (allocated 30408704) (tried to allocate 24 bytes)...\" PHP Fatal error. Pages served via Apache are not exhibiting this b
your PHP on cli may be using a different php.ini to your apache php. try a phpinfo() and check its using the ini file you think its using.
phpinfo()