• Hey guys,

    I have the weirdest issue, the install.php file returns a 500 error in the browser. Whats weird about that is that I get the screen that states I need a config file. As soon as I put that config file in, I get 500’d.

    Has anyone experienced this? I’d love to know if theres a setting or something I’m missing (most probably with my MAMP more than wordpress).

    For those trying to break things down, yes my MAMP is working correctly. I’ve had this issue for a while and gotten around it by installing on a server then exporting the database and working locally, but its kinda annoying.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try checking your server’s error logs for a more specific error message.

    Thread Starter Ash Durham

    (@ashdurham)

    OK, some details. Lightblub went off and I turned on WP_DEBUG and got the following… How is this possible…?

    Fatal error: Cannot redeclare class wpdb in /Volumes/Web/my/dir/path/wp-includes/wp-db.php on line 51

    Thread Starter Ash Durham

    (@ashdurham)

    As a work around:

    if(class_exists('wpdb') != true)
    {
    class wpdb {
    ...
    }
    }

    Did the job. I have a sneaking suspicion that MAMP is somehow allowing other directories to be included.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘500 Error on install.php MAMP’ is closed to new replies.