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

Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this.

Please let me know if you run into anything. I truly enjoy reading your
blog and I look forward to your new updates.

Add new comment | arxic Drupal

Hi there, You've done a great job. I will certainly digg it
and personally recommend to my friends. I am confident they'll be benefited from this website.

Add new comment | arxic Drupal

Hi, I do believe this is an excellent site. I stumbledupon it
;) I am going to revisit once again since I book-marked it.
Money and freedom is the best way to change, may you be rich and continue to help other people.

Add new comment | arxic Drupal

Fascinating blog! Is your theme custom made or did you download it
from somewhere? A design like yours with a few simple tweeks
would really make my blog stand out. Please let me know where you got your theme.
Cheers

Add new comment | arxic Drupal

When I initially commented I appear to have clicked the -Notify me when new comments
are added- checkbox and now each time a comment is added I recieve 4 emails with
the exact same comment. Perhaps there is a way you can remove me
from that service? Appreciate it!

Add new comment | arxic Drupal

Hi, I do think this is a great website. I stumbledupon it ;) I will revisit
yet again since i have bookmarked it. Money and freedom is the best way to change, may you be rich and continue to help other people.

Add new comment | arxic Drupal

Valuable information. Lucky me I discovered
your site accidentally, and I'm stunned why this coincidence did not came
about in advance! I bookmarked it.

Add new comment | arxic Drupal

of course like your web-site however you need to test the spelling on several of your posts.
Several of them are rife with spelling issues and I in finding it very troublesome to
tell the reality then again I'll definitely come
back again.

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://pc087.i-sketch.com/__media__/js/netsoltrademark.php?d=1080pxvideo...
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
https://images.google.co.bw/url?q=https://1080pxvideos.com/en/category/8... http://www.jachta.lt/mecstats/index.php?page=reffer_detail&dom=1080pxvid... https://www.showcase-music.com/counter.php?link=https://1080pxvideos.com... http://www.kaustindustrialaffiliates.org/__media__/js/netsoltrademark.ph... http://twin-dragon-enterprises.biz/__media__/js/netsoltrademark.php?d=10... http://www.retrofurniture.com/__media__/js/netsoltrademark.php?d=1080pxv... http://sadiemadison.tv/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://mlshiltonhead.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://www.colorcuttingusa.com/__media__/js/netsoltrademark.php?d=1080px... http://infinitygroupaviation.com/__media__/js/netsoltrademark.php?d=1080... http://www.akasa.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://www.walking-horse.com/__media__/js/netsoltrademark.php?d=1080pxvi... https://www.atac.roma.it/docunet/rfile.asp?f_mid=2&f_id=334&url=https://... http://complexityeconomics.org/__media__/js/netsoltrademark.php?d=1080px... http://www.kidscat.ch/linkoutphp/o.php?out=http://1080pxvideos.com/en/ca...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

Add new comment | arxic Drupal

hello!,I like your writing so a lot! proportion we keep
up a correspondence more approximately your article on AOL?
I require a specialist in this house to solve my problem.
May be that is you! Looking ahead to peer you.

Add new comment | arxic Drupal

I'm extremely pleased to uncover this site. I want to to
thank you for ones time just for this fantastic read!!
I definitely appreciated every little bit of it and i also have
you bookmarked to see new things on your blog.

Add new comment | arxic Drupal

It's actually a nice and useful piece of information. I'm glad that
you simply shared this helpful information with us.
Please keep us up to date like this. Thanks for sharing.

Add new comment | arxic Drupal

Hi there! I know this is kinda off topic however I'd
figured I'd ask. Would you be interested in trading links
or maybe guest writing a blog post or vice-versa? My website goes over a lot of the same topics as yours and I feel we could greatly benefit from each other.
If you're interested feel free to shoot me an email. I
look forward to hearing from you! Fantastic blog
by the way!

Add new comment | arxic Drupal

I like the helpful info you provide in your articles.
I'll bookmark your blog and check once more right here
regularly. I am relatively certain I'll learn plenty of new stuff proper here!

Best of luck for the next!

Add new comment | arxic Drupal

Hi there, just became alert to your blog through Google, and found that it is truly
informative. I am going to watch out for brussels. I will appreciate if you continue this in future.
Numerous people will be benefited from your writing.
Cheers!

Add new comment | arxic Drupal

What's up i am kavin, its my first occasion to commenting anyplace, when i read this article i
thought i could also create comment due to this brilliant paragraph.

Add new comment | arxic Drupal

I've learn a few good stuff here. Certainly worth bookmarking for revisiting.
I wonder how much attempt you put to make this kind of fantastic informative web site.

Add new comment | arxic Drupal

I know this if off topic but I'm looking into starting my own weblog and was
wondering what all is needed to get setup? I'm assuming
having a blog like yours would cost a pretty penny?
I'm not very web savvy so I'm not 100% certain. Any recommendations or advice would be greatly appreciated.
Thanks

Add new comment | arxic Drupal

植毛の手術アイランドタワークリニックの自毛植毛は、AGAの人には、素晴らしく髪の毛が増加するので施術件数が増加しています。ただし経験豊かな専門技術者に治療を受けないと素晴らしい効果は無理でしょう。薄毛グッズに比べて、総額の負担額も少なくなるので経済性の高い施術と言えます。

Add new comment | arxic Drupal

each time i used to read smaller articles that as
well clear their motive, and that is also happening with
this article which I am reading here.

Add new comment | arxic Drupal

Hello there, just became alert to your blog through Google, and found that it's
truly informative. I am going to watch out for brussels.
I will appreciate if you continue this in future. Lots
of people will be benefited from your writing. Cheers!

Add new comment | arxic Drupal

After exploring a number of the blog articles on your web page, I seriously like your technique
of blogging. I bookmarked it to my bookmark webpage list
and will be checking back soon. Please check out my web site as well and tell me how
you feel.

Add new comment | arxic Drupal

I am really inspired along with your writing talents as neatly as with the layout on your blog.
Is this a paid subject or did you customize it your self?
Anyway stay up the excellent high quality writing, it is uncommon to look a great
weblog like this one nowadays..

Add new comment | arxic Drupal

I'm impressed, I have to admit. Rarely do I come across a blog that's equally educative
and interesting, and let me tell you, you have hit the nail on the head.

The issue is something that not enough men and women are speaking intelligently about.
Now i'm very happy that I came across this in my search
for something regarding this.

Pages

Add new comment