I'm a newbie to Drupal, but I was unable to find any previous posts regarding the issue I'm having. So, I'm using IIS7 on Windows Server 2008 Beta 3, I was able to get IIS7 working fine, as well as PHP 5.2.3 (which I tested using phpInfo() and it was fine). I was also able to install MySQL 5.0 and as far as I can tell it is working (I can access it via CLI and add users, grant permissions, etc.). Here's my issue, I load up my base URL for my drupal site and it loads the install script like it should and I get the database configuration page. I plug in the db information and tell it to go to the next step and the page simply refreshes back to the empty database configuration page. No errors, no messages, nothing. Just in trying different things, I purposefully typed in the incorrect username/password and then I get a reply back that it couldn't connect to the db w/ those credentials, so I believe the connectivity is there. In my searching for help, I did see several posts about MySQL 5's strict mode, which I turned off via changes to my.ini. I've given the IUSR_machinename user full access to the root site folder to ensure that wasn't the issue and no change. Can someone please help, I'm losing my mind! Thanks in advance to everyone that can help.

Comments

csc4’s picture

This is a known problem with the Windows install which I'm trying to persuade people would be a kindness to document (or fix).

The issue arises if the install can't write to settings.php - AIUI it tries to ensure it can do so using chmod - not likely to impress Windows! - and it fails silently so you don't know that's the problem.

Fixes are to make the settings.php changes manually or grant IIS write access to the file/directory for the install.

See also http://drupal.org/node/133769
HTH

blinkfink182’s picture

csc4: Thank you so much! I was on the right track w/ permissions, I just set the access to the IUSR_machinename user instead of the IUSR group. Once I changed that, it was fine. That really should be in the readme and I definitely appreciate your efforts to get it in there. That's some pretty nasty elitism in the official bug thread about it being "uninstallable" in Windows. Up until that point, I had no issues getting Windows Server 2008 (beta), IIS7 (beta), PHP5 & MySQL 5 all working together. Thanks again so much for your quick response! I've been beating myself up for 2 days over this!

csc4’s picture

YVW we Windows slummers have to stick together ;)

I was pretty surprised by the attitude too - started with Drupal 4.7 which installed like a dream and seemed happy to be Windows/IIS so (as you can probably tell!) I wasn't expecting the apparent attitude change with the upgrade to 5. AFAICS it _is_ a critical install bug in Windows IIS - it just fails _silently_ and there's no clue what's wrong. It's not on a FAQ page and it's not that easy to search accurately for.

Took me days to figure out what was happening too - hence my (strong) suggestion - that it's at least documented if not fixed.

Perhaps I'd better start lobbying for 6!