• I’m developing on my local machine and i can see at the center of the dashboard a link stating WordPress 2.7.1 is available! Please update now.

    I clicked on it and i got a fatal error stating that the excution took longer than usual.

    Is it possible to upgrade when you’re on a localhost?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Yeah I’ve done it many times as that’s where all of my dev blogs are. What are you using? Xampp? Wamp? You may have to adjust the php.ini file.

    Thread Starter kennethjaysone

    (@kennethjaysone)

    I’m using WAMP. What do i have to edit in the php.ini file?

    Thank you,
    Kenneth

    Thread Starter kennethjaysone

    (@kennethjaysone)

    I had 2 options (in the dashboard), 1 was to download wordpress and to upgrade automatically, i chose upgrade automatically.

    Thread Starter kennethjaysone

    (@kennethjaysone)

    This is the error that i get when i try to upgrade on my localhost

    Downloading update from http://wordpress.org/wordpress-2.7.1.zip

    Fatal error: Maximum execution time of 300 seconds exceeded in C:\wamp\www\website1\wp-includes\http.php on line 798

    Thank you,
    Kenneth

    Hi kennethjaysone,

    I’ve not encountered this error so I’m speculating at this point but I’m pretty sure of the problem. The file you want to edit is located at …

    C:\wamp\bin\apache\apache2.2.8\bin\php.ini

    Look for the following –

    post_max_size = 8M
    upload_max_filesize = 2M
    max_execution_time = 30
    max_input_time = 60
    memory_limit = 8M

    and change to –

    post_max_size = 750M
    upload_max_filesize = 750M
    max_execution_time = 5000
    max_input_time = 5000
    memory_limit = 1000M

    This is overkill but should work.

    Edit: I should add that Wamp needs to be started for the changes to take effect.

    Thread Starter kennethjaysone

    (@kennethjaysone)

    Thank you LenK

    I seem to be having the same problem as above. I was getting the same error as kennethjaysone. I am using Xampp. I edited the php.ini file found in G:\xampp\apache\bin with the same numbers as LenK suggested.

    I now get this error.
    ___________________________________________________________________
    Downloading update from http://wordpress.org/wordpress-2.8.4.zip.

    Unpacking the update.

    Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    Installation Failed
    ___________________________________________________________________
    I am trying to upgrade from 2.8.2 to 2.8.4.

    Does anyone know what else I can try?

    Try downloading the zip file manually, without using the automatic upgrade. Not a pefect solution, but it should work. Google shows that the error can be a result of many things, like being over quota on your FTP account, router configs, etc.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can you upgrade wordpress when it’s on localhost?’ is closed to new replies.