TheBeatBali
Basic Pleskian
- Server operating system version
- Ubuntu 18.04.5 LTS
- Plesk version and microupdate number
- Plesk Obsidian v18.0.60_build1800240422.01 os_Ubuntu 18.04
This is the issue.
PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 163840 bytes)
I was told I have to increase the Wordpress memory limit.
I check the ‘WP_MEMORY_LIMIT’ on the wp-config.php and there appears to be two entries. Is that correct and which memory limit should I increase?
BTW I don't have wp-rocket installed.
full script
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
// define( ‘WP_MEMORY_LIMIT’, ‘1024M’ );
define( ‘WP_MEMORY_LIMIT’, ini_get( ‘memory_limit’ ) );
$table_prefix = ‘un6G4_’;
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_LOG’, false);
define(‘WP_DEBUG_DISPLAY’, false);
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
define(‘WP_ALLOW_MULTISITE’, false);
// Added by WP Rocket
define( ‘DISALLOW_FILE_EDIT’, true );
/* That’s all, stop editing! Happy blogging. */
Where do I increase the memory limit? Thanks
PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 163840 bytes)
I was told I have to increase the Wordpress memory limit.
I check the ‘WP_MEMORY_LIMIT’ on the wp-config.php and there appears to be two entries. Is that correct and which memory limit should I increase?
BTW I don't have wp-rocket installed.
full script
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
// define( ‘WP_MEMORY_LIMIT’, ‘1024M’ );
define( ‘WP_MEMORY_LIMIT’, ini_get( ‘memory_limit’ ) );
$table_prefix = ‘un6G4_’;
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_LOG’, false);
define(‘WP_DEBUG_DISPLAY’, false);
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
define(‘WP_ALLOW_MULTISITE’, false);
// Added by WP Rocket
define( ‘DISALLOW_FILE_EDIT’, true );
/* That’s all, stop editing! Happy blogging. */
Where do I increase the memory limit? Thanks