I had lots of little problems to get the environment together under Server 2008, but now the final two fixes made the stuff relay running.
There are some good screencasts to setup PHP and mySQL so I skip that and I also skip the drupal 6.x unzipping.

But now ther comes the problems for a few of us (or lets say most of us)

The problem is not a real drupal one and not a mysql one. Its a cookie problem with the multiple sessions. I have installed to fixes, which will be in the upcomming SP2 for 2008 (which is yet only as a beta available, which I do not recommend).

here is the 2 KBs you need to follow (or just install the mentioned fixes):


get those two installed and you will have issues for adding users, not installing the Drupal or not accepting any updates solved under Server 2008 SP1

Problems and the solutions offerred in other nodes and topics did not help, because most of them are for VISTA and not for Server 2008.
Server 2008 is close to VISTA, but the hotfixes for VISTA wont work for the 2008 Server.

happy hack (cu on Drupal Con Cologne 18/18 Jan 2009)



Broicher’s picture

Some people have asked for some installation help,
so I looked around what I have on my Server to install the stuff and I copy it here,
to discuss and to make it better and more complete.

The listed stuff is working on the english Version of Microsoft Server 2008 (us-en).
The Server 2008 has a diffrent Version of the IIS7 then the Version you are running under VISTA or XP. Its nearly the same, but not 100%. The Server variant is more reliable and speedy. The 2 hotfixes I mention here are absolutly necessairy to support multisession cookie support.

The Server 2008 Part as XML :


Install these Hotfixes after installing the Services, if you do not have installed the SP2 for Server 2008 (which is not available yet):


Extract PHP 5.x to the directory c:\php

PHP per script or manual:

%windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI /+[fullPath='c:\php\php-cgi.exe']
%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='c:\php\php-cgi.exe',resourceType='Unspecified']
%windir%\system32\inetsrv\appcmd set config /section:defaultDocument /+files.[value='index.php']
%windir%\system32\inetsrv\appcmd set config /section:defaultDocument /-files.[value='iisstart.htm']
$text = get-content C:\php\php.ini-recommended
$temp = $text[0]
for ($i=1, $i -lt $text.length' $i++)
$line = $text[$i]
if("$text[i] -eq ";extension=php_mysql.dll")
$outtemp = $outtemp+ "extension=php_mysql.dll"
elseif("$text[i] -eq "extension_dir = "./")
$outtemp = $outtemp+ "extension_dir = "C:\php\ext"
elseif("$text[i] -eq ""; fastcgi.impersonate = 0;")
$outtemp = $outtemp+ ""; fastcgi.impersonate = 1;"
elseif("$text[i] -eq "; cgi.fix_pathinfo=0")
$outtemp = $outtemp+ "; cgi.fix_pathinfo=1"
$outtemp = $outtemp+ text[$i]
out-file -filepath 'C:\php\php.ini' -inputobject $outtemp
rename C:\inetpub\wwwroot\iisstart.htm iisstart.old


Integrate PHP to IIS 7 per script or manual:

cd C:\windows\system32\inetsrv\
appcmd set config /section:system.webServer/fastCGI /+[fullPath='c:\php\php-cgi.exe']
appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='c:\php\php-cgi.exe',resourceType='Unspecified']
appcmd set config /section:defaultDocument /+files.[value='index.php']
appcmd set config /section:defaultDocument /-files.[value='iisstart.htm']
cd \
ren C:\inetpub\wwwroot\iisstart.htm iisstart.old


Extract Drupal 6.x to the directory C:\inetpub\wwwroot\drupaltest entpacken
configure the directories and files per script or manual:

cd C:\inetpub\wwwroot\drupaltest
copy sites\default\default.settings.php sites\default\settings.php
icacls sites\default\settings.php /grant BUILTIN\IIS_IUSRS:(OI)(CI)(M)
icacls includes\install.inc /grant BUILTIN\IIS_IUSRS:(OI)(CI)(M)
md sites\default\files
icacls sites\default\files /grant BUILTIN\IIS_IUSRS:(OI)(CI)(M)


Install MySQL and do something like (or choose other names and passwords):
GRANT ALL PRIVILEGES ON DrupalTest.* TO 'Drupal'@'%' IDENTIFIED BY 'Drupal500!';


Install the Modrewrite from Micosoft:


Modrewrite has an import function, which allows you to import the .htacess.
After the import, you will have the full rewrite functionality in Drupal.
To import, you first have to setup a webpage for your Drupal in the IIS Manager, but I think I do not have to explain this little step here.


So, I hope this was a little help for those of you who want to install it a first time under Server 2008
The install under VISTA and XP is Diffrent, but nearly the same expect of the hotfixes, which are only for the Server.


mhaag’s picture

Try using Microsoft's web gallery installer:


The drupal install is here:


Acquia worked with Microsoft to insure that the web gallery installs drupal correctly. The MS tool installs everything you need to use drupal with IIS, other than mysql, which you must install first yourself, eg from here:


Also, you can get support for the MS installer here:


Michael Haag
Customer Advocate, Quality Evangelist, Client Advisory Team

sjfarrar’s picture

The second link to the drupal install no longer works.

The following does though: http://www.microsoft.com/web/gallery/AcquiaDrupal.aspx

mgifford’s picture

Are there any known differences on setting Drupal up with the latest Service Pack?