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

Thanks for a marvelous posting! I really enjoyed reading it,
you may be a great author.I will make certain to bookmark your blog
and will often come back very soon. I want to encourage
you continue your great posts, have a nice day!

Add new comment | arxic Drupal

Thank you for any other informative website.
The place else may just I get that type of information written in such a
perfect method? I have a mission that I'm just now
running on, and I have been at the glance out
for such info.

Add new comment | arxic Drupal

all the time i used to read smaller content which as well clear their motive,
and that is also happening with this post which I am reading at this
place.

Add new comment | arxic Drupal

Your style is very unique in comparison to other people I have read stuff from.
Thank you for posting when you have the opportunity, Guess I will just bookmark this page.

Add new comment | arxic Drupal

Have you ever thought about including a little bit more than just your articles?
I mean, what you say is valuable and all. However just imagine if you added some great visuals or video clips to give your posts more,
"pop"! Your content is excellent but with images and video clips, this website could
undeniably be one of the greatest in its niche.
Very good blog!

c28vjld v41sxb

Truly tons of useful advice.
[url=https://trustedwebpharmacy.com/]canada pharmacies online[/url] [url=https://ciaonlinebuyntx.com/]cialis without a doctor prescription[/url] [url=https://viagrabestbuyrx.com/]highest rated canadian pharmacies[/url] [url=https://canadianonlinepharmacytrust.com/]canadian viagra[/url] [url=https://ciaonlinebuymsn.com/]canadian online pharmacies legitimate by aarp[/url] [url=https://safeonlinecanadian.com/]canada pharmacy online[/url] [url=https://viaonlinebuyntx.com/]canadapharmacy[/url]

Add new comment | arxic Drupal

You are so cool! I don't believe I have read through something like
that before. So great to discover another person with a few genuine thoughts on this topic.
Seriously.. many thanks for starting this up. This site is something
that's needed on the web, someone with a bit of originality!

Add new comment | arxic Drupal

You actually make it seem so easy with your presentation but I
find this matter to be really something which I think I
would never understand. It seems too complicated and very broad for
me. I'm looking forward for your next post,
I'll try to get the hang of it!

Add new comment | arxic Drupal

Amazing! This blog looks just like my old one!
It's on a completely different subject but it has pretty much
the same layout and design. Wonderful choice of colors!

Add new comment | arxic Drupal

I would like to thank you for the efforts you've put in writing this website.
I really hope to check out the same high-grade blog
posts from you in the future as well. In fact,
your creative writing abilities has motivated
me to get my own website now ;)

Add new comment | arxic Drupal

I was recommended this website by my cousin. I am
not sure whether this post is written by him as no one else know such detailed about my difficulty.
You're wonderful! Thanks!

Add new comment | arxic Drupal

Hey there! This is kind of off topic but I need some guidance
from an established blog. Is it very difficult to set up your own blog?
I'm not very techincal but I can figure things out pretty fast.
I'm thinking about making my own but I'm not sure
where to start. Do you have any points or suggestions? Thank you

Add new comment | arxic Drupal

I like the valuable information you supply in your articles.

I'll bookmark your weblog and check once more here regularly.
I'm slightly certain I will be informed lots of new stuff right right
here! Best of luck for the following!

Add new comment | arxic Drupal

Hello there! This article could not be written much better!
Reading through this post reminds me of my previous roommate!
He constantly kept talking about this. I am going to forward this information to him.
Pretty sure he's going to have a great read. I appreciate you for sharing!

Add new comment | arxic Drupal

I just could not depart your site before suggesting that I
extremely loved the standard info an individual provide
on your visitors? Is gonna be again often to inspect new posts

Add new comment | arxic Drupal

I am extremely impressed together with your writing skills as smartly as with the structure to your blog.

Is that this a paid theme or did you modify it yourself?
Anyway stay up the nice quality writing, it is rare to see a nice blog like this one nowadays..

c59prm3 d198os

You said it perfectly.! <a href="https://viaonlinebuyntx.com/">drugs from canada with prescription</a> <a href="https://drug-prednisone.com/">deltasone</a> <a href="https://canadianpharmacyntv.com/">canada pharmacies online</a> <a href="https://canadianpharmacyntv.com/">canada pharmaceutical online ordering</a> <a href="https://buy-celebrex-anti-pain.com/">celecoxib medication</a> <a href="https://advair-coupons.com/">Advair Diskus 100 50mcg</a> <a href="https://acyclovir-buy.com/">acyclovir</a>

yeezy boost 350 v2

I must get across my respect for your generosity for folks who really need assistance with this topic. Your real commitment to getting the message throughout appears to be especially advantageous and have specifically permitted women like me to reach their desired goals. Your personal important guidelines means this much to me and somewhat more to my peers. With thanks; from everyone of us.

Pages

Add new comment