(1) edit wp-settings.php [32M to 64M]
(2) Try adding this line to your wp-config.php file:
define('WP_MEMORY_LIMIT', '64M'); (you already have this, therefore ignore this step)
(3) If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
(4) If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
(5) Enable a custom PHP config
In order to enable the use of php.ini, you simply need to upload a php.ini file into the directory which requires further PHP configuration options.
Create a php.ini file in your public_html/ folder with whatever directives you want to control, and your application will be using those updated settings.
If you want some specific application directory to have it’s own php.ini which might differ from the main website php.ini – then upload it into the directory in question.
(6) Make your php.ini global for your hosting account
You might want all your subdirectories and Addon domains to use the same php.ini configuration. To avoid having to create the php.ini in every folder which requires it, you can specify a global PHP configuration path for your virtual host using the .htaccess file. To do this:
Modify or create the file called .htaccess inside your public_html/ folder
Add the following code to the start of the .htaccess file:
…where the “USERNAME” is your cPanel username.
Please note that this step is server specific.
(7) Talk to your host.