• Resolved vanduzled

    (@vanduzled)


    Ok, I’ve been struggling from this for the past few weeks and it keeps coming back.

    First off, I have an “Allowed memory size of 67108864” and then I tried this from another thread:

    1. Try adding this line to your wp-config.php file:
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    2. 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)

    3. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    and now 500 internal error is the error.
    This happens before and I tried this one: http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/

    and it worked for a few days and now it happens again, back to the Allowed Memory Exhausted.

    wp-config, php.ini and .htaccess is now with a 64mb limit, this should now work but this error keeps coming back.

    Anyone has an idea?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator cubecolour

    (@numeeja)

    The Internal Server Error can be a symptom of the allocated memory being exceeded. You could try increasing it to a higher value – perhaps 96M or 128M, however your hosting company may impose a limit which you cannot be override, so if this doesn’t fix it, contact them for support as they might be able to increase the memory available for you to use.

    Thread Starter vanduzled

    (@vanduzled)

    Thanks for the reply cubecolour

    I have emailed my hosting company for support already and waiting for reply.

    Apparently, I have renamed my .htaccess and now its working. I don’t know if that would affect my whole wordpress site in the future but let just see.

    Thread Starter vanduzled

    (@vanduzled)

    I think I know now the problem on this. It’s the WP Better Security that’s keep on exhausting my memory.

    http://wordpress.org/plugins/better-wp-security/

    The file change warning has over 20mb per files changed and that causes the limit to get over 64MB.

    I don’t know if it is safe to disable file change warning but it will sure go back again if I don’t.

    Thanks,
    mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Allowed Memory exhausted and 500 Internal server error keeps coming back’ is closed to new replies.