Fatal error: Allowed memory size of 8388608 bytes exhausted

You may see the following error when the memory requirements of your PHP script exceeds the default 8MB limit.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2682912 bytes) in /opt/lampp/htdocs/site/libraries/joomla/filesystem/archive/gzip.php on line 77

To resolve this change the line that reads  ‘memory_limit = 8M‘ to  ‘memory_limit = 16M’  within your ‘php.ini‘ fle.
Once changed restart your Apache/HTTPD deamon.

Rick Donato

Want to become a PHP expert?

Here is our hand-picked selection of the best courses you can find online:
The Complete Web Development Bootcamp course
PHP for Beginners course
Write PHP like a Pro course
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial