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:
- Log into your “cPanel Account”.
- Navigate to the “Files” section and select the “File Manager” option.
- Select the “public_html”.
- Click on the .htaccess file.
- Right-click on the file and select “Edit”.
- Add the following code
php_value memory_limit 256M - Click on “Save”.
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. Learn more about how to incorporate a new link into the WordPress sidebar.