Add to Favourites Add to Favourites    Print this Article Print this Article

Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php

Php is setup is to limit memory usage per process.  If you require more, this limit can be increased.
Edit

/usr/local/lib/php.ini

and set:

memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

to a higher value, like 20M.   Save, exit, then restart apache.

Was this answer helpful?

Also Read