Server error (500 internal Server Error) in the ubuntu server

Way 1:

Add the following lines in the wp-config. PHP file right above “That’s all, stop editing! Happy publishing”:
define( ‘WP_MEMORY_LIMIT’, ‘515M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );

And save wp-config.php file

Note: before changing wp-config.php. you must download the file.

Way 2:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top