white screen after increasing php memory
-
Hey guys!
I’m a wordpress noob, and apparently also an idiot.
The latest update from woo commerce required to increase php memory from 40 MB to 64 MB. I tried to do that by adding this line at the very end of the wp-config.phpdefine( ‘WP_MEMORY_LIMIT’, ’64M’ );
But I didn’t understand the tutorial, so I also went to /wp-includes/default-constants.php and changed these lines
if ( is_multisite() ) {
define(‘WP_MEMORY_LIMIT’, ’64M’);
} else {
define(‘WP_MEMORY_LIMIT’, ‘40M’);
}into this
if ( is_multisite() ) {
define(‘WP_MEMORY_LIMIT’, ’64M’);
} else {
define(‘WP_MEMORY_LIMIT’, ‘64M’);
}And then I got a white screen on the front and the back end of the website.
After that, I changed both files to their initial status, and I uploaded both of them on the website. But I still get the white screen.
Do you have any idea how I could fix this?
Do I have to reinstall wordpress? How do I do that without losing all my data?
The topic ‘white screen after increasing php memory’ is closed to new replies.