No WP Memory Limit

Posted in: Newspaper
Post count: 32

Hi,

I just went into the wp-config file to increase the WP Memory Limit (as I’ve done with a few other sites) but looking through the code it seems there is no define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); line.

Do I add this line myself?

This is the code pasted from the file:

<?php
// ** MySQL settings ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘asiamot1_9ac’);
/** MySQL database username */
define(‘DB_USER’, ‘asiamot1_9ac’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘7BAF16ED3f5zu9k0ic4r2x8’);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
define( ‘AUTH_KEY’, ‘S<Knq7xehI6MS)/c-T!B$|i ^4@bBMNBmZ044+k4-czg(GRet]q.y4r,FTc@zFhT’ );
define( ‘SECURE_AUTH_KEY’, ‘Or!fu[=5mrD=xv]L,Ce$Mi]Mt[6gSN&&_bG&t&No9wQ_eki-2VsUm5|PW.(8j;’ );
define( ‘LOGGED_IN_KEY’, ‘:yUFMYVlH~%4UmSGH!sFdDYn!b[.[!#.la Zb;>( ~ofPs}J16&J&N 1a5dm(Q*[‘ );
define( ‘NONCE_KEY’, ‘AUoQ(~dchX.UvjNlF^AqOM)43kTHs0BI&H7{&Yr3]V~xGn.$(ALO@3GbLtv5QPG~’ );
define( ‘AUTH_SALT’, ‘=/eIhNX19:|azS*Y>{;n]?vZQ6I272U_#nXQCgAz GJ.mu}R q)f9X[x7f.qNoPM’ );
define( ‘SECURE_AUTH_SALT’, ‘p(W/PF*adnzT8n^X>J%fF0r]+d!5?5!DNFZt|.0](<FB7@*9(u hR]qq^8(o[z0o’ );
define( ‘LOGGED_IN_SALT’, ‘TUz5j!;-c_#4T?a9:x#MQm&X@])T@=XBf;xDEz63W2(/s3fg8q$ R4H2Jx/B{>N@’ );
define( ‘NONCE_SALT’, ‘-ithy%KdL<ci?|9z?PMKx(3k5f?UDh[ayegue~dTE_#{g)w-Fij#rU@MWe{SDuU,’ );
$table_prefix = ‘9ac_’;
define( ‘DISALLOW_FILE_EDIT’, true );
define( ‘AUTOSAVE_INTERVAL’, 300 );
define( ‘WP_POST_REVISIONS’, 5 );
define( ‘EMPTY_TRASH_DAYS’, 7 );
define( ‘WP_CRON_LOCK_TIMEOUT’, 120 );
set_time_limit(600);
/* That’s all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);

Thanks,
Ben

Thanks

Post count: 20688

Hi,

You can add that line in the wp-config file. The memory can be increased in other places as well if needed
https://docs.brainstormforce.com/how-to-increase-the-memory-limit-of-your-site/
Once changed it should be reflected in the theme system status panel.

Thanks

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