Use Godaddly hosting, can't find where to change 'WP_MEMORY_LIMIT', '256M'

Posted in: Newspaper
Post count: 1

Hello everyone,

I use Godaddly WordPress Hosting service. After install Newspaper 11 theme, saw message to suggest increase PHP memory from 40MB to 256MB.

Can’t find this code to make change: define( ‘WP_MEMORY_LIMIT’, ‘256M’ ). I installed plugin File Manager, found wp-config.php file, but doesn’t have define( ‘WP_MEMORY_LIMIT’, ‘256M’ ) code inside the file.

Here is the guidance from WordPress for changing the amount of memory.
The wp-config.php file is located in the WordPress root directory.

WP Memory Limit:

This parameter sets the amount of memory used by PHP and by default WordPress can go up to 40MB. To avoid Memory Exhausted error this parameter should be set to at least 256MB and this can be done from WordPress wp-config.php file.

define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

Thank you,

Richard

Post count: 35449

Hi,
Indeed, by default the define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); is not set in the wp-config.php file, but this can be added like in our guide https://forum.tagdiv.com/requirements-for-newspaper/ and should work without problems.
What is the PHP memory limit in WordPress?
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.