Fatal error: Allowed memory size bytes exhausted Joomla not fixed after increasing php memory

The joomla error seems to be like this:

“Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/user/public_html/libraries/joomla/database/driver/mysqli.php on line 808”

This error is normally happens if the php memory limit is less than the required memory for the joomla.

Normally it will be fixed by increasing the memory limit of php using the php.ini

If the error is not fixed after increasing the php memory, then please follow the below steps to fix the issue.

1. Edit the configuration.php in the joomla folder and add the following lines if it is not existing in the file above the closing brace }

        public $memcache_persist = ‘1’;
        public $memcache_compress = ‘1’;
        public $memcache_server_host = ‘localhost’;
        public $memcache_server_port = ‘11211’;

 

Please clear the browser cache and try again 😀 😀 😛

The issue was due to the memcache element not in the configuration.php
Thank you 🙂

 

Leave a Reply

Your email address will not be published. Required fields are marked *