cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WordPress Update Fails with Fatal Error (bytes exhausted in file.php)

Hello!

 

I'm trying to update to WordPress 4.7 but when I try to update I get this message:

 

Update WordPress
Downloading update from https://downloads.wordpress.org/release/wordpress-4.7-new-bundled.zip…
Unpacking the update…
Verifying the unpacked files…
Preparing to install the latest version…
Enabling Maintenance mode…

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 261904 bytes) in D:\Hosting\12090180\html\wp-admin\includes\file.php on line 159

 

As you can see it is running on GoDaddy's Windows servers and I have added:

define(‘WP_MEMORY_LIMIT’, ‘512M’);
define( 'WP_MAX_MEMORY_LIMIT' , '1024M' );

 

to wp-config.php and

 

wincache.ocenabled = "On"
memory_limit = 512M

 

to php5.ini

 

Does anybody have any ideas how to get the update to go through? Thank you!

1 REPLY 1
Community Manager
Community Manager

Re: WordPress Update Fails with Fatal Error (bytes exhausted in file.php)

Hi @Papajan. Thanks for being part of GoDaddy Community!

 

Sorry for the delayed response. For Windows accounts, if you're not seeing your PHP initialization file taking effect, you may want to try recycling your accounts application pool. This can be done by using the instructions in the article that matches your account type: 

Web & Classic Hosting

Plesk Hosting

 

 

JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.