Allowed memory size error

When you try automatic upgrade for WordPress, you might get this error:

“Allowed memory size of 33554432 bytes exhausted (tried to allocate …)”

This can be solved easily by changing the setting:

Open file wp-settings.php, on line 13, increase the memory to bigger one like:

“define(‘WP_MEMORY_LIMIT’, ’64M’);”

This should fix the issue. If not, please also make sure the setting in php.ini is big enough:

“memory_limit = 128M”.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s