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

pg 1

I and also my friends have already been reading the nice ideas from your web page and at once I had a horrible suspicion I had not expressed respect to the web blog owner for those tips. All of the young boys were for that reason joyful to study all of them and have extremely been making the most of those things. Thanks for simply being so helpful and then for considering these kinds of magnificent resources millions of individuals are really eager to be informed on. My personal sincere apologies for not saying thanks to you sooner.

Add new comment | arxic Drupal

Do you have a spam issue on this blog; I also am a blogger, and I was wondering your situation; we have developed
some nice procedures and we are looking to swap solutions with other folks,
be sure to shoot me an email if interested.

curry 4

My husband and i ended up being quite happy that Emmanuel could round up his investigation with the precious recommendations he made in your weblog. It is now and again perplexing just to find yourself giving for free guides which people today might have been trying to sell. And we fully understand we need the blog owner to thank for that. All the illustrations you have made, the simple web site menu, the relationships you help to create - it is most excellent, and it is aiding our son in addition to our family understand that theme is satisfying, and that's pretty serious. Thank you for the whole thing!

nike vapormax

I enjoy you because of your entire effort on this site. Kim really loves working on investigations and it is simple to grasp why. We notice all regarding the dynamic means you provide functional tips and tricks through your website and welcome contribution from visitors on the concern so our own princess is always studying a lot of things. Have fun with the remaining portion of the new year. You're the one doing a glorious job.

balenciaga sneakers

I needed to write you a bit of remark to help say thanks once again for these marvelous things you have shown on this site. It was certainly pretty open-handed of people like you to allow openly all many of us might have made available for an ebook to help with making some cash for themselves, precisely considering the fact that you might have done it in the event you considered necessary. The things additionally served to become great way to realize that other individuals have the same dream similar to my own to see much more pertaining to this problem. I know there are some more pleasurable occasions up front for individuals that browse through your blog post.

Add new comment | arxic Drupal

Thank you for the good writeup. It if truth be told was
once a enjoyment account it. Glance complicated to far introduced agreeable from you!
By the way, how could we communicate?

balenciaga sneakers

Thanks a lot for giving everyone a very wonderful possiblity to read articles and blog posts from here. It is always very useful and jam-packed with a great time for me personally and my office peers to visit your blog at the very least three times a week to learn the newest items you have got. And definitely, we are usually satisfied considering the dazzling advice served by you. Certain 4 areas on this page are easily the finest I have ever had.

adidas gazelle

I must express my love for your kind-heartedness in support of those people that have the need for guidance on this one area. Your personal commitment to getting the message around came to be extraordinarily helpful and has frequently empowered some individuals much like me to reach their targets. Your new invaluable report implies much a person like me and still more to my peers. Regards; from all of us.

Add new comment | arxic Drupal

Hello There. I found your blog using msn. This is an extremely well written article.
I'll be sure to bookmark it and come back to read more of your useful information. Thanks for the post.

I will definitely comeback.

nike cortez

I precisely wished to say thanks all over again. I do not know the things that I could possibly have done in the absence of the type of suggestions shown by you on that area of interest. It was actually the distressing case in my position, but understanding this skilled technique you managed that forced me to cry with delight. I'm happy for this support and then hope that you really know what a great job you are putting in teaching the mediocre ones thru your web site. Probably you've never come across any of us.

Add new comment | arxic Drupal

Currently it sounds like Drupal is the preferred blogging platform available right
now. (from what I've read) Is that what you are using on your blog?

jordan 6

I'm also commenting to make you be aware of what a cool experience our child developed viewing your blog. She noticed plenty of details, not to mention what it is like to possess an amazing teaching nature to have many people with ease fully understand chosen multifaceted things. You really did more than people's expected results. I appreciate you for coming up with such practical, trustworthy, edifying as well as unique tips about that topic to Julie.

fila shoes

I wanted to create you a little bit of observation to help thank you very much over again about the striking views you've featured in this article. This is certainly tremendously open-handed with you in giving without restraint all most people could possibly have offered as an e-book to help make some dough on their own, precisely now that you could possibly have done it if you ever wanted. The tricks in addition worked to be the good way to fully grasp some people have the same dreams really like my very own to figure out great deal more pertaining to this condition. Certainly there are several more enjoyable periods ahead for people who examine your website.

adidas superstar

I actually wanted to make a small message to express gratitude to you for those nice secrets you are sharing on this site. My considerable internet lookup has finally been recognized with beneficial facts and techniques to share with my neighbours. I 'd tell you that many of us site visitors actually are truly blessed to exist in a notable site with very many marvellous professionals with very helpful strategies. I feel somewhat privileged to have seen the web site and look forward to plenty of more brilliant moments reading here. Thank you again for a lot of things.

kyrie shoes

I would like to express thanks to the writer for bailing me out of this setting. After researching through the the net and seeing solutions which were not beneficial, I believed my life was gone. Existing without the presence of answers to the difficulties you've resolved as a result of your posting is a serious case, as well as the ones that would have adversely affected my entire career if I hadn't discovered your web blog. The knowledge and kindness in controlling every item was priceless. I am not sure what I would have done if I hadn't come across such a point like this. I can at this point look forward to my future. Thanks very much for your expert and sensible help. I will not think twice to propose your web sites to anyone who needs to have guidance about this matter.

Add new comment | arxic Drupal

Pretty nice post. I simply stumbled upon your blog and wanted to say that I've
truly enjoyed browsing your blog posts. After all I'll be subscribing in your rss feed and
I hope you write once more very soon!

kd shoes

I and my guys came looking at the excellent solutions on your web site then instantly I got an awful suspicion I had not expressed respect to the web blog owner for those tips. These people are already for this reason glad to read through all of them and have now definitely been using them. Thank you for indeed being really considerate and also for having such amazing ideas most people are really eager to be aware of. Our honest regret for not expressing appreciation to you earlier.

nike air vapormax

I not to mention my friends have already been looking through the nice key points found on your site and so immediately I had a terrible feeling I never expressed respect to the web blog owner for those secrets. Most of the young men were consequently thrilled to see all of them and already have definitely been taking advantage of those things. We appreciate you really being indeed helpful as well as for picking such fabulous tips millions of individuals are really needing to discover. My personal sincere apologies for not saying thanks to you earlier.

curry shoes

I intended to put you that very small word to thank you very much yet again for these spectacular tricks you've shown on this website. This has been certainly wonderfully open-handed of people like you giving freely all a number of people could possibly have offered for sale as an ebook in order to make some cash for themselves, particularly considering that you might have done it in the event you wanted. Those creative ideas also acted to become easy way to fully grasp that the rest have the same passion really like mine to figure out whole lot more with regards to this matter. I know there are lots of more pleasant situations up front for folks who looked at your website.

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 complex and very broad for me. I'm looking forward for your next post, I'll try to get the hang of it!

nike shoes

Thank you so much for providing individuals with an extraordinarily superb opportunity to discover important secrets from this site. It's always so beneficial and as well , stuffed with a great time for me and my office co-workers to visit your web site no less than thrice in a week to read the fresh tips you have got. Not to mention, we are actually contented with your breathtaking knowledge you give. Certain two areas in this article are certainly the best we have ever had.

jordan shoes

I am also commenting to make you know what a cool encounter my cousin's daughter went through reading through yuor web blog. She came to find a wide variety of details, most notably what it is like to have a great coaching style to let the rest with ease have an understanding of specific tortuous topics. You undoubtedly surpassed our expectations. I appreciate you for showing the precious, safe, informative and cool tips about the topic to Janet.

Add new comment | arxic Drupal

Hello there! This is my 1st comment here so I just wanted to give a quick shout out and tell you I genuinely enjoy reading
your blog posts. Can you suggest any other blogs/websites/forums that deal
with the same subjects? Appreciate it!

jordan 4

My spouse and i ended up being really cheerful John managed to carry out his investigations because of the ideas he was given in your web pages. It is now and again perplexing just to choose to be giving away concepts which often other people may have been trying to sell. And we also see we need the writer to give thanks to for that. The type of illustrations you made, the simple site menu, the relationships you can assist to foster - it is everything remarkable, and it is aiding our son and us recognize that that issue is interesting, which is truly vital. Thanks for all!

Add new comment | arxic Drupal

I’m not that much of a online reader to be honest but your blogs really nice,
keep it up! I'll go ahead and bookmark your website to come back down the road.
Many thanks

bape hoodie

A lot of thanks for each of your efforts on this web site. Betty loves getting into investigations and it's really easy to understand why. Most of us notice all regarding the powerful means you create efficient secrets on your web site and therefore inspire participation from website visitors on this area of interest so my daughter is without question understanding so much. Enjoy the rest of the year. You are always doing a wonderful job.

Add new comment | arxic Drupal

Greate article. Keep posting such kind of information on your page.
Im really impressed by your blog.
Hey there, You've performed an incredible job.
I will definitely digg it and individually suggest to my friends.
I'm confident they'll be benefited from this website.

coach outlet

Thanks so much for providing individuals with a very brilliant chance to read from this web site. It's always so pleasant and packed with a good time for me and my office friends to visit your blog the equivalent of 3 times in 7 days to find out the latest guidance you will have. And of course, we are usually contented with your awesome tactics served by you. Some two ideas on this page are in fact the most efficient we have ever had.

hogan outlet online

I and also my guys have already been viewing the excellent hints on your site and so unexpectedly got a terrible suspicion I never expressed respect to the web blog owner for those strategies. All the people became as a result glad to study all of them and already have undoubtedly been making the most of these things. Thank you for really being well accommodating as well as for deciding on this sort of superb resources millions of individuals are really desperate to discover. My personal sincere regret for not expressing appreciation to earlier.

Add new comment | arxic Drupal

Hi, Neat post. There's a problem together with your web site in internet explorer, would test this?
IE nonetheless is the marketplace chief and a huge portion of other people
will leave out your excellent writing because of this problem.

nike air max 2019

I would like to show my love for your kindness in support of people who really need help on this particular field. Your real dedication to passing the solution up and down was quite beneficial and have without exception helped some individuals just like me to get to their aims. Your amazing helpful facts entails so much a person like me and still more to my fellow workers. Regards; from all of us.

Add new comment | arxic Drupal

Hi there! Would you mind if I share your blog with my myspace group?
There's a lot of people that I think would really appreciate
your content. Please let me know. Thanks

coach bags sale

I simply wanted to thank you very much once again. I am not sure the things I could possibly have sorted out without these creative ideas contributed by you regarding this area of interest. It previously was a real traumatic setting for me personally, however , taking a look at a new expert technique you processed that forced me to jump over contentment. Extremely grateful for your help and expect you recognize what an amazing job that you're getting into educating some other people through the use of a web site. More than likely you've never got to know any of us.

air jordan

I and also my guys appeared to be studying the best recommendations found on your web page then all of a sudden developed a terrible feeling I never expressed respect to the web blog owner for those tips. The men are already certainly happy to read them and already have in truth been using these things. Appreciate your really being considerably kind and also for pick out such important resources most people are really desperate to know about. My personal honest regret for not saying thanks to sooner.

Add new comment | arxic Drupal

Pretty component of content. I simply stumbled upon your site and in accession capital to assert that I get in fact enjoyed account your
blog posts. Anyway I'll be subscribing for your augment or even I fulfillment you get right of entry to persistently rapidly.

nike air max 97

I truly wanted to write down a small message so as to appreciate you for all the remarkable guides you are showing at this website. My rather long internet search has finally been paid with really good points to exchange with my company. I 'd state that that many of us website visitors actually are truly lucky to live in a very good website with many special individuals with useful principles. I feel rather lucky to have seen your entire web site and look forward to plenty of more brilliant moments reading here. Thanks a lot again for a lot of things.

lebron 11

I definitely wanted to construct a note so as to say thanks to you for those unique information you are giving out at this website. My time intensive internet search has at the end been paid with useful facts and strategies to go over with my pals. I would state that that we site visitors are very endowed to be in a useful community with many brilliant people with helpful opinions. I feel extremely grateful to have discovered your entire website and look forward to really more thrilling minutes reading here. Thanks a lot once more for everything.

Pages

Add new comment