Step 1: Log into your cPanel account.
Step 2: Open File Manager option and navigate to the Document Root of the website.
Step 3: Edit the wp-config.php file.
Step 4: Enter the below line above where it says /* That’s all, stop editing! Happy blogging. */.
define( ‘WP_MEMORY_LIMIT’, ’64M’ );
Step 5: Save the file.