Forums

php_memory problem (2 posts)

  1. luke1970
    Member
    Posted 2 years ago #

    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. :-(

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.