Loading...

Knowledge Base

How to Fix Memory Exhausted Error in WordPress, Joomla, and Moodle

WordPress, Joomla, and Moodle are few of the common CMS (Content Management System) that are available on the web. And the other common thing for these CMS is that it is written in PHP, which is a server-side programming language.

Web servers are just like any other program running on a computer. They need memory to run multiple applications at the same time. The server administrators should allocate specific memory size to different applications including PHP.

Increasing your PHP memory limit will resolve this issue. Having said that, we’ll guide you on how to increase PHP limit to avoid memory exhausted error.

How to Increase PHP Memory Limit

Follow the steps below to increase your PHP Memory Limit via File Manager.

  1. Access your File Manager.
  2. Scroll to public_html folder and locate your php.ini file.
  3. Right-click on the php.ini file and click Code Edit. A pop-up window will appear, click Edit to continue to the editor page.
  4. Using the Code Editor, within the php.ini file, search for the following text:
     
    
        max_execution_time = 30
        max_input_time = 60
        memory_limit = 128M
    Increase the size of the memory_limit. The size is usually in megabytes.
  5. Click Save Changes.
  6. Reload/refresh your site and test if the increase in memory_limit is enough.
    If it isn’t, it is recommended that you increase the memory_limit value again until you find the size that will resolve the memory-related Fatal Error.

If the error still occurs after following the steps above, then contact our Technical Support team to further assist you. We’d be glad to help!

Did you find this article helpful?

 
* Your feedback is too short

Loading...