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

Comments

Add new comment | arxic Drupal

Aw, this was a really nice post. Taking a few minutes and actual effort to produce a
really good article… but what can I say… I procrastinate a lot and never seem to get anything done.

Add new comment | arxic Drupal

Sweet blog! I found it while searching on Yahoo News. Do you have any tips
on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there!
Appreciate it

Add new comment | arxic Drupal

I will immediately seize your rss feed as I can not in finding your email subscription hyperlink or e-newsletter service.
Do you have any? Kindly let me realize in order that I could subscribe.
Thanks.

p166yg1 v50ttm

Regards. Very good information.
[url=https://safeonlinecanadian.com/]canadian online pharmacy[/url] [url=https://trustedwebpharmacy.com/]canada online pharmacies[/url] [url=https://ciaonlinebuymsn.com/]canadian pharmacies without an rx[/url] [url=https://canadianonlinepharmacytrust.com/]canada prescriptions drugs[/url] [url=https://viagrabestbuyrx.com/]canadian pharmacy world[/url] [url=https://canadianpharmaciescubarx.com/]no 1 canadian pharcharmy online[/url]

Add new comment | arxic Drupal

Hey would you mind sharing which blog platform you're using?
I'm planning to start my own blog in the near future but I'm having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal.

The reason I ask is because your layout seems
different then most blogs and I'm looking for something unique.
P.S Sorry for getting off-topic but I had to ask!

Add new comment | arxic Drupal

Hello there, You've done an incredible job. I'll certainly digg it and personally suggest to my friends.
I'm confident they will be benefited from this site.

Add new comment | arxic Drupal

I was wondering if you ever considered changing the layout of your blog?

Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could connect with it better.

Youve got an awful lot of text for only having one or 2 images.
Maybe you could space it out better?

Add new comment | arxic Drupal

I wanted to thank you for this excellent read!! I definitely enjoyed every bit of it.

I've got you book-marked to look at new stuff you post…

Add new comment | arxic Drupal

Howdy! I simply want to give you a big thumbs up for your excellent information you
have here on this post. I'll be coming back to your site for more soon.

Add new comment | arxic Drupal

This design is spectacular! You certainly know how to keep a reader entertained.

Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Fantastic job.
I really enjoyed what you had to say, and more than that, how you presented
it. Too cool!

Add new comment | arxic Drupal

I'm amazed, I must say. Seldom do I encounter a blog that's equally educative
and amusing, and without a doubt, you have hit the nail on the head.
The issue is something too few men and women are speaking intelligently about.
I'm very happy I stumbled across this during my search for something relating to this.

Add new comment | arxic Drupal

I am not sure where you are getting your info,
but great topic. I needs to spend some time learning more or understanding more.
Thanks for fantastic info I was looking for this information for my mission.

Add new comment | arxic Drupal

Hello! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community
in the same niche. Your blog provided us valuable information to work on. You have done a extraordinary job!

Add new comment | arxic Drupal

Excellent beat ! I wish to apprentice while you amend your website,
how could i subscribe for a blog website? The account aided me a acceptable deal.
I had been a little bit acquainted of this your broadcast offered bright clear idea

Add new comment | arxic Drupal

Admiring the time and effort you put into your blog and detailed
information you offer. It's nice to come across a blog every once in a while that isn't the
same unwanted rehashed information. Great read! I've saved your site and I'm adding your RSS feeds to my Google
account.

Add new comment | arxic Drupal

Wow, incredible weblog layout! How long have you been blogging for?
you make running a blog look easy. The total look
of your web site is fantastic, as neatly as the content!

Add new comment | arxic Drupal

I do not even know how I ended up here, but I thought this post was great.
I do not know who you are but certainly you are going to
a famous blogger if you aren't already ;) Cheers!

Add new comment | arxic Drupal

I love your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to do it for you?
Plz reply as I'm looking to create my own blog and would like
to know where u got this from. cheers

w55fdfe n958qf

Seriously all kinds of very good advice.
<a href="https://neurontinmeds.com/">gabapentin medication</a> <a href="https://celebrex-phermacy.com/">buy celebrex online</a> <a href="https://viaonlinebuyntx.com/">canadian pharcharmy</a> <a href="https://buyflomaxonline.com/">Flomax Official Site</a> <a href="https://trustedwebpharmacy.com/">canadian pharmacies shipping to usa</a> <a href="https://safeonlinecanadian.com/">canada pharmacies online prescriptions</a> <a href="https://hydrochlorothiazide25mgtab.com/">hydrochlorothiazide recall</a>

Add new comment | arxic Drupal

Thanks for another fantastic article. The place else may anybody get that type of info in such a perfect way of
writing? I have a presentation subsequent week, and I'm at the search for such information.

Add new comment | arxic Drupal

Hmm is anyone else experiencing problems with the pictures
on this blog loading? I'm trying to determine if its a problem on my end or if it's the blog.
Any responses would be greatly appreciated.

Pages

Add new comment