How to Increase the WordPress Memory Limit via cPanel

August 16, 2023 / WodPress

This article will detail the process of enhancing the WordPress memory limit within cPanel.

The default memory limit is 32MB, which may prove insufficient for your website’s needs. Fortunately, numerous alternative approaches exist for expanding this limit.

Here, you have the option to make adjustments to the .htaccess or wp-config.php files, configure it through cPanel, or consider upgrading your web hosting plans.

Follow the following steps to increase the WordPress Memory Limit:

  1. Log into your “cPanel Account”.
  2. Navigate to the “Files” section and select the “File Manager” option.
  3. Select the “public_html”.
  4. Click on the .htaccess file.
  5. Right-click on the file and select “Edit”.
  6. Add the following code
    php_value memory_limit 256M
  7. Click on “Save”.

By following this approach, you can successfully raise the WordPress memory limit within cPanel. For additional insights into cPanel, please refer to our bodHOST knowledge base section.

Leave a Reply

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