Title: Localhost installation fatal error
Last modified: August 19, 2016

---

# Localhost installation fatal error

 *  Resolved [Danny](https://wordpress.org/support/users/dannyfoo/)
 * (@dannyfoo)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/)
 * I was trying to install WordPress 3.0.1 on my MAMP localhost but the 1st install
   screen came out a blank page. Error log reported:
 * > [30-Jul-2010 14:29:35] PHP Fatal error: Cannot redeclare class wpdb in /Users/
   > me/Sites/buddy/wp-includes/wp-db.php on line 53
 * It installed fine using 3.0.
 * Anyway, just wanted others and the WP team to know about this.

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

 *  [JoLoCo](https://wordpress.org/support/users/joloco/)
 * (@joloco)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1606925)
 * The same thing happens for me – 3.0.1 fails with the above error at install.php.
 * 3.0 works fine on the same setup.
 * (Using the latest MAMP on Mac OS X 10.4.11, should that make a difference.)
 *  [webdesignby](https://wordpress.org/support/users/websitedesignby/)
 * (@websitedesignby)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607161)
 * Exact same as above….
 *  [mattbartel](https://wordpress.org/support/users/mattbartel/)
 * (@mattbartel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607163)
 * Me too.
 * MAMP 1.9 on Mac OS 10.6.4
 *  [mattbartel](https://wordpress.org/support/users/mattbartel/)
 * (@mattbartel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607164)
 * I just tried with 3.0 and I’m still getting the error.
 *  [mattbartel](https://wordpress.org/support/users/mattbartel/)
 * (@mattbartel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607165)
 * Workaround: Install using 2.9.2, then upgrade.
 *  [KittyKate46](https://wordpress.org/support/users/kittykate46/)
 * (@kittykate46)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607202)
 * I got the same message using MAMP on my Mac. I tried redownloading WordPress 
   3.0.4 and no change. Any ideas?? I’m at a loss.
 *  [mattbartel](https://wordpress.org/support/users/mattbartel/)
 * (@mattbartel)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607211)
 * Same problem with me using MAMP.
 *  [mattbartel](https://wordpress.org/support/users/mattbartel/)
 * (@mattbartel)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607212)
 * I just stopped MAMP and restarted. Now it works fine. Could be that apache was
   somehow caching something from another local WP installation?
 *  [KittyKate](https://wordpress.org/support/users/kittykate/)
 * (@kittykate)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607213)
 * I had this problem and I fixed it by changing the PHP used in MAMP to an older
   version. For some reason the default PHP is not a stable version.
 *  [webdesignby](https://wordpress.org/support/users/websitedesignby/)
 * (@websitedesignby)
 * [15 years ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607220)
 * Restart MAMP effectively addresses the issue.

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

The topic ‘Localhost installation fatal error’ is closed to new replies.

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [MAMP](https://wordpress.org/support/topic-tag/mamp/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [port 80](https://wordpress.org/support/topic-tag/port-80/)
 * [virtualhost](https://wordpress.org/support/topic-tag/virtualhost/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 10 replies
 * 6 participants
 * Last reply from: [webdesignby](https://wordpress.org/support/users/websitedesignby/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/localhost-installation-fatal-error/#post-1607220)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
