• I am using wampserver on win 7 & having wordpress version 3.8 , when I tried to update to latest version it says following errors , please help me.

    screenshot : https://docs.google.com/file/d/0B8vM8xkp_najS2pLZTNGTEczX1k/edit

    error :

    Update WordPress
    Downloading update from http wordpress .org/wordpress-3.8.1-partial-0.zip…

    ( ! ) Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp21\www\mindware\wp-includes\http.php on line 477
    Call Stack
    # Time Memory Function Location
    1 0.0045 287488 {main}( ) ..\update-core.php:0
    2 4.9106 17589264 do_core_upgrade( ) ..\update-core.php:549
    3 5.0911 18286528 Core_Upgrader->upgrade( ) ..\update-core.php:407
    4 29.8473 18294032 WP_Upgrader->download_package( ) ..\class-wp-upgrader.php:1365
    5 29.8593 18261376 download_url( ) ..\class-wp-upgrader.php:132
    6 29.8641 18262240 wp_safe_remote_get( ) ..\file.php:476
    7 29.8641 18262680 WP_Http->get( ) ..\http.php:70
    8 29.8641 18263312 WP_Http->request( ) ..\class-http.php:309
    9 29.8645 18267000 wp_http_validate_url( ) ..\class-http.php:111

Viewing 3 replies - 1 through 3 (of 3 total)
  • It means the WordPress update script is taking longer than the WAMP server’s configured session timeout setting. You may have to do a manual update by downloading the latest version of WordPress and copying over the files into your WAMP server making sure not to overwrite the wp-config.php file and the wp-content folder.

    Try this.

    • Click on the WAMP icon in your task manager (bottom right of the screen).
    • Choose PHP -> php.ini. It should open up your PHP.INI file in a text editor.
    • Find the line:
      max_execution_time = 30
    • Change it to:
      max_execution_time = 60
    • Save and close the PHP.INI file.
    • Click on the WAMP icon in your task manager and choose Restart all services.

    Now try again. If it still doesn’t work, maybe try setting it to an even higher number than 60 (120, 150, etc).

    Hi,
    Create file called php.ini on your at C:\wamp21\www\ then write it inside the file
    ‘max_execution_time = 300’

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘localhost update failed’ is closed to new replies.