Title: WordPress memory and Fatal error issue
Last modified: August 20, 2016

---

# WordPress memory and Fatal error issue

 *  [gnrocks](https://wordpress.org/support/users/gnrocks/)
 * (@gnrocks)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-and-fatal-error-issue/)
 * Hi there!
 * Like many of you i have had an issue with WordPress exceeding the 32M limit and
   displaying this error :
    _`Fatal error: Allowed memory size of 33554432 bytes
   exhausted (tried to allocate 491520 bytes) in /home/lesfeui/public\_html/wp-includes/
   class-simplepie.php on line 4186`_
 * I had many blank pages, not found pages. Finally i uninstalled all the plugins
   and it worked again.
 * I have tried all the options to set the limit higher but my webhost is limited
   to 32M, so i’ll contact him to higher it.
 * Also, being very curious, i have installed the **Memory Usage** plugin and i 
   compared localhost versus online.
    Localhost : Memory Usage: 6.13M/256M Online:
   Memory Usage: 31.13M/32M
 * I was wondering why the same website, with exactly the same plugins, articles,
   posts, images, etc would use more memory online than locally ?
 * Another question :
    I noticed that when i keep my .htaccess file, i have my permalinks
   but cannot access wp-admin and when i delete its content, i lose the permalinks
   but have access to wp-admin ! Has anybody an idea on how to fix it ?
 * Here is the content of my .htaccess :
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       ```
   
 * Any information would be very appreciated!
    Thanks a lot!

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

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-and-fatal-error-issue/#post-2145419)
 * If you have tried all memory options, ask your host. They must have hard limits
   on RAM usage and you’re stuck with them. [WordPress › PHP / MySQL Web Hosting](http://wordpress.org/hosting/)
 * Lack of permalinks also points to a problematic host.
 *  Thread Starter [gnrocks](https://wordpress.org/support/users/gnrocks/)
 * (@gnrocks)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-and-fatal-error-issue/#post-2145440)
 * I finally had an answer from my webhost.
 * 1) create a php.ini that will contain following :
 *     ```
       <?php
       memory_limit = 64M
       ?>
       ```
   
 * 2) upload it to the public_html folder
 * 3) open the .htaccess file located in the public_html folder and add the following:
   `
   suPHP_ConfigPath /home/domaine_username/public_html/`
 * Replace domain_username by your username for the cpanel.
 * Your .htaccess may look like (the code between <ifmodule>…</ifmodule> can vary),
   the important is to add the sentence before #END WordPress:
 *     ```
       # BEGIN WordPress
   
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
   
       </IfModule>
       suPHP_ConfigPath /home/domaine_username/public_html/
   
       # END WordPress
       ```
   
 * And that’s it!
    Enjoy!
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-and-fatal-error-issue/#post-2145455)
 * Who is your host? Those are very unusual settings and not to be used at other
   than that particular web host.
 *  Thread Starter [gnrocks](https://wordpress.org/support/users/gnrocks/)
 * (@gnrocks)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-and-fatal-error-issue/#post-2145462)
 * You are right, i should have mentionned my host !
    It is iWeb.

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

The topic ‘WordPress memory and Fatal error issue’ is closed to new replies.

## Tags

 * [extensions](https://wordpress.org/support/topic-tag/extensions/)
 * [fatal](https://wordpress.org/support/topic-tag/fatal/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [usage](https://wordpress.org/support/topic-tag/usage/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [gnrocks](https://wordpress.org/support/users/gnrocks/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/wordpress-memory-and-fatal-error-issue/#post-2145462)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
