WordPress on Windows Server 2003 and IIS 6

Posted on 2008-11-19
Last Modified: 2012-05-05
I have been working at this all day.  I am using the version 2.6.3 of WordPress MU, try to get an install using on IIS 6.0 / Server 2003.

I am running MySQL v5.0.51b and PHP 5.  I have confirmed the MySQL and PHP are working fine.  I have permissions to all necessary folders from an IIS perspective.  The connection strings seem to working fine as well (by using a little test php page).

Here is the error after I submit the install.

PHP Notice: Constant DB_NAME already defined in C:\Inetpub\blogs\wp-config.php on line 4 PHP Notice: Constant DB_USER already defined in C:\Inetpub\blogs\wp-config.php on line 5 PHP Notice: Constant DB_PASSWORD already defined in C:\Inetpub\blogs\wp-config.php on line 6 PHP Notice: Constant DB_HOST already defined in C:\Inetpub\blogs\wp-config.php on line 7 PHP Notice: Constant VHOST already defined in C:\Inetpub\blogs\wp-config.php on line 10 WordPress database error Table 'wordpress.wp_1_options' doesn't exist for query INSERT INTO wp_1_options (option_name, option_value, autoload) VALUES ('cron', 'a:2:{i:1227137854;a:1:{s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}s:7:\"version\";i:2;}', 'yes') made by add_option
Question by:eferron
    1 Comment
    LVL 19

    Accepted Solution

    Go to Start
     >  Run
    type  system32
    open drivers
    open etc
    double-click hosts
    select notepad
     to open file
    make sure that this line is in your hosts file:   localhost.localdomain
    if this line is not in your hosts file copy\paste 
    it into it and save as
    "hosts" and NOT AS A TXT file

    Open in new window


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In Part I (, I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
    The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now