• Resolved mvaughn88

    (@mvaughn88)


    Trying to auto update to 4.2.4 for a self-hosted site. I keep getting
    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 65488 bytes) in C:\inetpub\wwwroot\wp_bico\wp-admin\includes\file.php on line 159 message. Doesn’t matter if my plugins are enabled or disabled. Already have memory limit set to 512M.
    My FTP server on the box running WP shows a a few 550 directory not found and 550 cwd failed errors in regards to /.maintenace.

    Any help would be great!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    If you’re seeing this error either suddenly (no specific task was done to cause the error) or frequently, try deactivating all plugins to rule-out a plugin-specific issue and try switching themes to rule-out a theme-specific issue.

    Otherwise, here are three ways to increase PHP’s memory allocation:

    1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account. Keep in mind that most decent hosting providers allocate 32 MB to PHP under each account, and most decent hosting providers allow users to temporarily increase the memory allocation. If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 128MB)

    Thread Starter mvaughn88

    (@mvaughn88)

    I already have the limit set to 512M, the site is self hosted and plugins are all disabled.

    Thread Starter mvaughn88

    (@mvaughn88)

    Decided to jut update manually. All went fine and now I’m on 4.3

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Excellent, at least it’s updated now. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘4.2.4 updates errors’ is closed to new replies.