Title: php_memory problem
Last modified: August 19, 2016

---

# php_memory problem

 *  [luke1970](https://wordpress.org/support/users/luke1970/)
 * (@luke1970)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/php_memory-problem/)
 * Hi,
 * I use WP 2.9.1 here and I have a problem.
    I write a new article and will publish
   this article, but WP give me a error message. The article is a draft now and 
   when I publish this draft again WP accepted the article. The problem is now, 
   WP use in this moment php_memory but free the php_memory. When I access to my
   WP homepage I become a clear site. My provider give me 32 MB for php_memory and
   WP works fine, but only when I make a new article I become problems. 🙁

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/php_memory-problem/#post-1337495)
 * Might try deactivating plugins to see if that helps.
 * Also will add this:
 * Methods for increasing the amount of memory a PHP script may consume
 * 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:
    `define('WP_MEMORY_LIMIT','
   64M');`
 * 4. Talk to your host.

Viewing 1 replies (of 1 total)

The topic ‘php_memory problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/php_memory-problem/#post-1337495)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
