• Resolved eer3

    (@eer3)


    Here is my current platform/version info:
    WordPress 3.01
    Windows 7 (64 bit)
    Apache 2.2.16
    PHP 5.3.3
    MySQL 5.1

    I’m trying to install a new local instance of WordPress for the first time on Windows 7. PHP code runs fine and I can connect to the database with PHP code. During the installation of WordPress I get a blank white screen after trying to browse to wp-admin/install.php. No errors are logged in Apache, PHP, or MySQL. The Apache access.log shows the following:

    “GET /wordpress/wp-admin/install.php HTTP/1.1” 500 –

    I’ve attempted this is Firefox and IE8 with the same results. When trying to install without a wp_config.php I am prompted to enter the SQL login details, but the wp_config.php file is never created by the installer – but the white screen is displayed. When using a manually created wp_config.php file, again nothing happens – just the white screen. I’ve attempted to enter bogus SQL login or database info and the installer reacts the same. If however, I enter a bogus database host, the installer detects it as invalid and displays the appropriate error.

    Other things that I’ve tried – manually setting permissions on the wordpress directory and increasing the timeout period in the php.ini.

    I’m not exactly a newbie, but certainly no expert, so I’m hoping someone can guide me through the next step to troubleshoot/debug exactly where the error is occurring so I can move forward. Any help is greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • When creating the wp-config.php (either manually or with the installer) are you referencing the database server by IP or name?

    With Win 7 I have seen issues with ‘localhost’ if IP v6 is installed. Try using 127.0.0.1 instead.

    If that does not help, i had an issue with php 5.3.3 and Apache 2.2.16 throwing 500 errors. I disabled all pdo extensions in the php.ini and all worked well. While this was on a linux host, you might give that a try.

    Thread Starter eer3

    (@eer3)

    kcristiano,

    Thank you! Using the IP address worked. I had read a post about that earlier, but when I tried it before it didn’t seem to work. This time, I used 127.0.0.1 for both the web address and the MySQL host and that made all the difference.

    Thanks again for your expertise!

    eer3,

    you said: This time, I used 127.0.0.1 for both the web address and the MySQL host and that made all the difference.

    I’m no expert or intermidiate for that matter but I’m using Webmatrix and have W7. I can see where to change the localhost to 127.0.0.1 but unsure about MySQL. Can you lend support as to how where to change this.

    Thank you

    Thread Starter eer3

    (@eer3)

    Our situations may be a bit different. I was doing a PHP and WordPress install… During the WordPress install it asks for your MySQL connection information, so that’s where I entered it. You can manually set it in the wp-config.php file located in your WordPress installation directory.

    Hope that helps!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘500 Error On Local Install – Win7/PHP/Apache/MySql’ is closed to new replies.