If your running a self-hosted WordPress blog, chances are you may have encountered a blank screen or the infamous "Fatal error: Allowed memory size of 33554432 bytes exhausted." There're few things you can do before asking for assistance. Try any of the following method depending entirely on your server configuration.
Note: 1. Most hosting providers closely monitor memory overrides and don't take too kindly to frequent use. 2. And, that most hosting providers allocate 32 MB to PHP under each account, and allow users to temporarily increase memory allocation.
If neither of these work, it's time to ask your hosting provider to temporarily increase PHP's memory allocation on your account.
- If you can edit system php.ini file, increase the memory limit there; memory_limit = 256M
- Or, WordPress 2.9.2 or lower, add define('WP_MEMORY_LIMIT', '256M') to your wp-config.php file. For, WordPress 3.0+ , WordPress automatically does this for a variety of tasks for you.
- Or, add php_value memory_limit 256M to your .htaccess file.

Recommend this story
Email Newsletter
Missing out on the latest diTii.com news? Enter your email below to receive future announcements direct to your inbox. An email confirmation will be sent before your subscription is activated - please check your spam folder if you don't receive this.
About the AuthorDG