Support » Fixing WordPress » PHP MEMORY

  • Hi
    I am getting the following error message which I believe are to do with php memory

    Fatal error: Out of memory (allocated 30932992) (tried to allocate 22932 bytes) in /homepages/26/d109605530/htdocs/Showstopper/wp-includes/functions.php on line 1038

    Currently I am with 1and1 service providor, although changing to Bluehost I am stuck with 1and1 until I pluck up courage to transfer my blog.

    Does anyone have any knowledge/experience around increasing php memory, particularly in relation to 1and1?
    If anyone has a foolproof method of transfering a blog intact, again it would be appreciated.

    Thank you in anticipation


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You can try moving some unused pluging.


    Though I’m not sure what happened before you go the error, like activating a plugin, you can try this. You’ll need to edit your wp-config.php file and create two php.ini files.

    In your wp-config.php file add the following:
    define('WP_MEMORY_LIMIT', '64M');

    I would make it the first define in the file, above define(‘DB_NAME’, ‘database_name_here’);
    Increase the number from 64 to something higher if necessary.

    You’ll need to create a php.ini file (create blank file in Notepad and save as php.ini) for your root and one to be placed in wp-admin. Place the following in both. Again you can change the memory limit to a higher number if necessary.

    max_execution_time = 60
    max_input_time = 60
    memory_limit = 64M

    If that doesn’t work trying doing like hnejjar suggested.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP MEMORY’ is closed to new replies.