Title: Update to version 4.0 issue
Last modified: August 22, 2016

---

# Update to version 4.0 issue

 *  [Samar Hatem](https://wordpress.org/support/users/samar-hatem/)
 * (@samar-hatem)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/update-to-version-40-issue/)
 * Hello guys,
    Afew days ago I experienced a problem updating form version 3.9.1
   to 4.0 , I got this message : **Fatal error: Maximum execution time of 60 seconds
   exceeded in E:\wampnew\wamp\www\wordpress-3.9.1\wordpress\wp-includes\class-http.
   php on line 973** Someone here advised me to add lines to .htaccess and php.ini,
   the problem is that I’m running WP on localhost(Wamp), I can’t find .htaccess.
   I tried to update manually, I removed the old folder and put the new in place
   then imported the database, after installing at login screen it redirects me 
   to the url of the old version which is 3.9.1 insted of 4.1 and I got an error
   msg !! I read the instructions, I went to wp-admin/upgrade.php, it updated the
   DB, and this is the link [http://127.0.0.1/](http://127.0.0.1/)**wordpress-4.0**/
   wordpress/wp-admin/upgrade.php?step=1 when I press continue I get this link [http://127.0.0.1/](http://127.0.0.1/)**
   wordpress-3.9.1**/wordpress/
 * I need some help please, thanks in advance 🙂

Viewing 1 replies (of 1 total)

 *  [juggledad](https://wordpress.org/support/users/juggledad/)
 * (@juggledad)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/update-to-version-40-issue/#post-5317103)
 * When you create a wordpress install you set the url for the site. THat information
   is stored in the DB
 * when you do an WP update, you are updating the files in the WP folder and upgrading
   the database pointed to by the wp-config.php.
 * When you created a new set of folders for WP (wordpress-4.0) and copied the old
   database to it, the URL is still pointing to the old location – (this can be 
   verified by using phpMyAdmin and examining the wp-options table)
 * what you should have done is deleted all files and folders in the E:\wampnew\
   wamp\www\wordpress-3.9.1\wordpress directory **with the exception of teh wp-config.
   php file and teh wp-contents directory** and put the WP 4.0 files and folders
   there.

Viewing 1 replies (of 1 total)

The topic ‘Update to version 4.0 issue’ is closed to new replies.

## Tags

 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [juggledad](https://wordpress.org/support/users/juggledad/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/update-to-version-40-issue/#post-5317103)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
