Title: Fatal error?
Last modified: August 19, 2016

---

# Fatal error?

 *  Resolved [chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * (@chrisebbeck)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/)
 * Hi,
 * Can anybody help me?
    on my dashboard in wordpress I often get a fatal error 
   message like: “Fatal error: Allowed memory size of 33554432 bytes exhausted (
   tried to allocate 491520 bytes) in /home/hairloom/public_html/wp-includes/class-
   simplepie.php on line 4184”
 * or
 * “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   1311905 bytes) in /home/hairloom/public_html/wp-includes/http.php on line 1358”
 * I don’t know what this means, can somebody help me out?
 * I can’t update wordpress to 3.0 because of this and I can’t add some plugins 
   either.
 * Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547272)
 * You need to increase the amount of memory available to WordPress.
 * [http://wordpress.org/extend/plugins/memory-bump/](http://wordpress.org/extend/plugins/memory-bump/)
   
   [http://wordpress.org/support/topic/253495#post-1017842](http://wordpress.org/support/topic/253495#post-1017842)
 *  Thread Starter [chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * (@chrisebbeck)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547528)
 * Hi,
 * The bump won’t work for me.
    Any idea where I can access my PHP.ini file so I
   can change it from there? Or my .htaccess file?
 * Thanks for your help.
 *  Thread Starter [chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * (@chrisebbeck)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547529)
 * I found my .htaccess file.
 * where would I add “php_value memory_limit 32M”
 * At the moment this is what it looks like:
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.
   php [L] </IfModule>
 * # END WordPress
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547530)
 * Put it at the very top, above `# BEGIN WordPress` .
 *  Thread Starter [chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * (@chrisebbeck)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547531)
 * Thanks but I get an internal server error when I do this.
 * I will try to add “define(‘WP_MEMORY_LIMIT’, ’32M’);”
    to my wp-config.php
 * Does anyone have any idea where to add this in there?
 * Thanks!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547532)
 * Add it immediately below the `define('DB_COLLATE', '');` line.
 *  Thread Starter [chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * (@chrisebbeck)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547533)
 * Thanks for your quick response.
 * Unfortunately this hasn’t worked.
 * What should I do now? Nothing has worked for me.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547534)
 * Contact your hosting provider and ask them to bump PHP’s memory allocation for
   you.
 *  Thread Starter [chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * (@chrisebbeck)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547566)
 * Hi again,
    I have contacted my host provider. They have advised me to do the 
   following:
 * “Please create php.ini file and then put memory_limit = whatever memory
    you 
   want to set. Once it’s done upload it to the directory where you are running 
   that php script.”
 * I don’t know how or what to do with thi. I am not sure how to create the php.
   ini file or where I should put it.
 * Can you help me out again?
    Pleeeaaasssseee?
 *  Thread Starter [chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * (@chrisebbeck)
 * [16 years ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547591)
 * Ok I fixed this and it was very simple.
 * I tried all of the following and none worked:
    1. 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)
 * 2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
   
   php_value memory_limit 64M
 * 3. Try adding this line to your wp-config.php file:
    Increasing memory allocated
   to PHP define(‘WP_MEMORY_LIMIT’, ’64M’);
 * 4. Talk to your host.
 * I have no access to my php.ini file. So I created my own php.ini file with the
   following in it and added to my wp-admin folder.
 * <? phpinfo(); ?>
    memory_limit = 128M
 * and it is all fixed!
    So simple, I have been trying to work this out all week.
 *  [downsouth](https://wordpress.org/support/users/downsouth/)
 * (@downsouth)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547669)
 * [@chrisebbeck](https://wordpress.org/support/users/chrisebbeck/)
 * I too have been searching for days for the answer and tried all the same things
   with no luck at all. Like you, putting the php.ini file in wp-admin with this
   was the key:
 * <? phpinfo(); ?>
    memory_limit = 128M
 * I’m very appreciative that you posted.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Fatal error?’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 4 participants
 * Last reply from: [downsouth](https://wordpress.org/support/users/downsouth/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-178/#post-1547669)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
