Drupal multi-site setup on IIS 6.0, FastCGI 1.0, and PHP 5.2.11

It is possible to have a Drupal multi-site setup on IIS 6.0, using the FastCGI extension to connect to PHP. In fact, it is necessary to use FastCGI rather than ISAPI to have a multi-site setup, as well as to be able to setup up Clean URLs. FastCGI also tends to be faster than ISAPI because it recycles processes for server requests.

Rather than just repeat the instructions that are provided elsewhere, I will provide the links to the resources I used to get my setup running and points to give extra consideration. Please feel free to post any questions, or your own experiences in the comments. This article was inspired by the discussion on Drupal Groups "Production Drupal sites on IIS (or windows in general) - Experiences?". I wanted to migrate to a multi-site setup to make core and module updates easier.

Start by reading the article "Using FastCGI to Host PHP Applications on IIS 6.0" on IIS.net. This is the primary guide for the entire setup process.

"Confirguring FastCGI Extension for IIS 6.0"is another good resource. It is specific to setting up sites in IIS manually to work with FastCGI, and advisable to review as well.

Some tips before proceeding:

  • I had been running PHP 5.2.9 before deciding to upgrade to a multi-site install, but did not have success with that version and FastCGI. Therefore, I recommend completely scrubbing PHP 5.2.9, make a backup copy of php.ini but delete it from the install directory.
  • I removed all other traces PHP that had accumulated through my testing, as I had tried to use the FastCGI-PHP combo installer from IIS-aid.net, without success, and it had installed PHP to a different directory than usual. Same case with random files from the PHP installer from Microsoft.
  • I had also tried FastCGI 1.5 RC (beta), without success, and completely uninstalled this as well - by using the "Add/Remove Programs" Control Panel function in Windows, and then deleting the three FastCGI files from the system32 folder.
  • I made sure to remove the old ISAPI script mappings from all sites in IIS before starting the setup process.
  • I make no reference to installing MySQL here, I assume you already have it installed and running.
  • I usually run a Google search when tackling a tech issue, and gather as much information as possible before diving into the endeavor

Once you have a clean slate to work with, follow the steps in "Using FastCGI to Host PHP Applications on IIS 6.0", which are summarized below with extra notes.

1. Install FastCGI extension

  • the "Install Now" link on the right side of the page will install the Microsoft Web Platform Installer, which is recommended over the direct download links because it is possible to select the FastCGI 1.0 version rather than the 1.5 beta

2. Install PHP

  • make sure you download the PHP 5.2.11 Non-thread-safe installer, which can be found at the link above, towards the bottom of the page
  • select the following extensions when prompted during the process: BLENC, bzip2, Curl, EXIF, FDF, GD2, Gettext, IMAP, Multi-Byte String (mbstring), Mimetypec, MySQLi, OpenSSL, PDO, PDO_MYSQL, POP3, SMTP, SOAP, timezonedb, XML-RPC, zip, PEAR Install [thanks to Switchback for providing their list]
  • select the FastCGI option when prompted to configure the server

3. Configure FastCGI, PHP, and IIS to work with each other

  • follow the instructions in the article to manually set IIS up, and to change the fcgiext.ini and php.ini files by hand - the mappings and some of the settings in fcgiext.ini may be set automatically, but verify the settings and make sure to edit the CGI settings in php.ini (per the section "Setting FastCGI Configuration...")

4. Setup multi-site install of Drupal

  • follow the Drupal tutorial "Multi-site on Windows-IIS" -if you have trouble connecting to your sites, try using full ".com" names for your folders -it can be helpful to restart IIS as well if you cannot connect to your sites


Add new comment | arxic Drupal

Hi there! I know this is somewhat off topic but I was wondering if you knew
where I could locate a captcha plugin for my comment form?
I'm using the same blog platform as yours and I'm having
difficulty finding one? Thanks a lot!

Add new comment | arxic Drupal

My programmer is trying to persuade me to move to .net from PHP.
I have always disliked the idea because of the expenses.
But he's tryiong none the less. I've been using WordPress on several websites for about a year and am
nervous about switching to another platform. I have heard good things about blogengine.net.

Is there a way I can transfer all my wordpress content into it?
Any kind of help would be greatly appreciated!

Add new comment | arxic Drupal

Howdy! This post couldn't be written any better! Reading through
this post reminds me of my old room mate! He always kept chatting about this.
I will forward this article to him. Pretty sure he
will have a good read. Thank you for sharing!

Add new comment | arxic Drupal

Excellent post. I was checking constantly this weblog and I am impressed!
Very helpful information particularly the ultimate part
:) I maintain such information a lot. I was looking for this certain information for a long time.

Thanks and good luck.

Add new comment | arxic Drupal

After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added
I receive 4 emails with the same comment. Perhaps there is a
means you can remove me from that service? Thanks a lot!

Add new comment | arxic Drupal

Hello there, You have done an excellent job. I'll certainly digg it
and personally recommend to my friends. I am confident
they will be benefited from this site.

Add new comment | arxic Drupal

I love what you guys tend to be up too. This sort of
clever work and reporting! Keep up the excellent works guys
I've included you guys to my own blogroll.

Add new comment | arxic Drupal

Good post. I learn something new and challenging on blogs
I stumbleupon on a daily basis. It will always be
helpful to read through articles from other authors and use a little something from other

Add new comment | arxic Drupal

Hey there just wanted to give you a quick heads up and let you know a few of the images aren't
loading properly. I'm not sure why but I think its a linking issue.

I've tried it in two different browsers and both show the same

Add new comment | arxic Drupal

What you published was actually very logical.
But, what about this? suppose you were to write a killer post title?
I ain't suggesting your information is not solid, but suppose you added something to maybe grab a person's attention? I mean Add new comment | arxic Drupal is kinda vanilla.
You should peek at Yahoo's home page and see how they create news
titles to get people interested. You might add a video or a pic or two to get people interested about everything've got to say.
Just my opinion, it would bring your blog a little bit more interesting.

Add new comment | arxic Drupal

Undeniably consider that that you stated. Your favorite reason seemed
to be on the net the easiest thing to take
into accout of. I say to you, I definitely get irked whilst other folks think about issues that
they plainly do not understand about. You managed to
hit the nail upon the highest and also outlined out the whole
thing without having side-effects , people
could take a signal. Will probably be again to get more. Thank you

nike air max 2018

I precisely wished to thank you very much once again. I'm not certain the things that I might have done in the absence of these ideas documented by you relating to my topic. It had been a intimidating crisis for me personally, nevertheless noticing a new well-written manner you solved that forced me to cry with happiness. Extremely thankful for the advice and as well , hope you are aware of a powerful job you are always providing educating the others through the use of your websites. I am sure you have never got to know all of us.

kyrie shoes

My spouse and i were really relieved that Peter managed to do his analysis from your ideas he received when using the weblog. It is now and again perplexing to just find yourself offering strategies that others may have been making money from. We take into account we have got the writer to be grateful to for this. These explanations you've made, the easy site menu, the friendships you can help to create - it's many sensational, and it's really letting our son in addition to our family understand the theme is interesting, and that is unbelievably fundamental. Thanks for the whole lot!

Add new comment | arxic Drupal

Thanks for every other informative web site. Where else may just
I am getting that type of information written in such an ideal approach?
I've a undertaking that I am just now working on, and I
have been at the look out for such info.


Add new comment