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

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

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

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

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

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

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.

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!

yeezys

Thank you a lot for giving everyone remarkably terrific chance to read articles and blog posts from this website. It really is very enjoyable and also stuffed with a lot of fun for me personally and my office mates to search your website the equivalent of three times per week to study the fresh secrets you have got. And indeed, I'm so always happy for the incredible hints served by you. Some 1 areas on this page are honestly the simplest we have all ever had.

michael kors outlet

I precisely wished to thank you so much again. I'm not certain the things I could possibly have made to happen without the actual secrets shown by you about my situation. It actually was a real depressing crisis in my position, nevertheless looking at a specialised way you resolved that took me to cry with joy. I will be happy for your information and expect you find out what a great job your are undertaking teaching other individuals through the use of your webpage. Most probably you haven't got to know all of us.

nike off whtie

Thank you so much for providing individuals with remarkably special possiblity to read from this blog. It is often very sweet and as well , full of a lot of fun for me and my office peers to visit your blog nearly 3 times a week to read through the fresh tips you will have. And definitely, I am also actually fulfilled concerning the cool inspiring ideas you serve. Certain 4 facts in this article are in reality the most suitable I've ever had.

longchamp bags

Thanks so much for giving everyone an extraordinarily special opportunity to read articles and blog posts from this web site. It is usually so sweet and as well , packed with a good time for me personally and my office peers to visit your blog nearly 3 times every week to learn the latest guidance you have. And definitely, I am also certainly impressed with all the superb knowledge you serve. Selected 2 areas in this post are completely the simplest we've ever had.

hermes belt

I happen to be commenting to let you be aware of of the cool encounter my cousin's princess obtained reading through yuor web blog. She figured out numerous issues, which included what it is like to have a very effective giving style to let the rest easily learn specific multifaceted subject matter. You undoubtedly exceeded her desires. Thank you for providing the warm and friendly, trustworthy, explanatory and even unique guidance on the topic to Gloria.

nfl jerseys

I enjoy you because of every one of your efforts on this blog. My daughter really likes doing investigations and it is easy to see why. I notice all regarding the compelling way you create powerful solutions on this web site and therefore boost contribution from some other people on that concept plus our favorite child has been starting to learn a whole lot. Have fun with the rest of the year. You have been doing a splendid job.

nike air max 90

I wish to express my appreciation to the writer for bailing me out of this issue. Just after searching throughout the online world and seeing suggestions that were not pleasant, I was thinking my entire life was gone. Living minus the answers to the issues you've sorted out as a result of this site is a critical case, as well as ones which may have in a wrong way affected my career if I hadn't noticed your blog post. The understanding and kindness in playing with all the details was very helpful. I'm not sure what I would have done if I hadn't encountered such a step like this. It's possible to at this time look ahead to my future. Thanks a lot very much for this impressive and amazing help. I won't be reluctant to refer your web site to any individual who needs to have guide on this subject.

mbt shoes

I truly wanted to type a brief message so as to express gratitude to you for the superb points you are sharing at this site. My time intensive internet investigation has now been recognized with pleasant details to share with my family members. I 'd suppose that most of us visitors actually are undoubtedly endowed to be in a fantastic website with so many wonderful individuals with helpful methods. I feel quite privileged to have discovered your website page and look forward to really more awesome times reading here. Thank you once more for all the details.

kyrie 5 shoes

I precisely desired to thank you so much all over again. I do not know the things I might have gone through in the absence of these thoughts revealed by you about my field. It had been the scary problem in my opinion, nevertheless understanding your skilled avenue you treated it took me to leap over fulfillment. Extremely grateful for this information and even wish you find out what a great job you happen to be accomplishing instructing some other people using a site. I am sure you haven't come across all of us.

nike shoes for men

I happen to be commenting to make you know of the beneficial experience our child had checking your webblog. She noticed so many pieces, which include how it is like to have a wonderful helping style to let other people effortlessly learn about a variety of advanced matters. You actually surpassed her desires. I appreciate you for supplying those important, dependable, explanatory as well as unique tips about this topic to Gloria.

air max 270

I wish to express my admiration for your generosity in support of people who actually need help with that subject matter. Your real dedication to getting the message all-around turned out to be exceptionally powerful and has without exception enabled people much like me to attain their endeavors. Your amazing valuable tutorial signifies a lot a person like me and extremely more to my fellow workers. Best wishes; from all of us.

golden goose outlet

I needed to put you a tiny word to be able to say thank you again for the magnificent advice you have shared above. It's really incredibly generous of people like you giving unhampered exactly what a lot of folks could possibly have offered as an e-book to help with making some money for their own end, especially given that you could have done it in case you decided. These ideas as well worked to be the great way to be sure that someone else have similar dream just as mine to figure out lots more with regard to this matter. Certainly there are many more pleasurable occasions ahead for folks who look over your blog post.

golden goose sneakers

My husband and i have been so glad that Emmanuel managed to deal with his basic research through the precious recommendations he obtained out of the weblog. It's not at all simplistic just to always be giving for free guidelines which people may have been selling. So we consider we need the website owner to appreciate for this. These illustrations you've made, the easy site navigation, the relationships you help promote - it's got all astounding, and it's making our son in addition to the family know that this situation is brilliant, and that's especially serious. Thanks for everything!

supreme hoodie

Thank you so much for providing individuals with such a special possiblity to check tips from this site. It is always so nice plus jam-packed with a good time for me and my office peers to visit the blog on the least three times weekly to read the latest secrets you will have. And lastly, I'm also usually satisfied with all the mind-blowing methods you serve. Selected 3 ideas in this post are unequivocally the most efficient I have had.

nike air max 95

I precisely needed to thank you so much yet again. I do not know what I would've worked on in the absence of those basics contributed by you about my question. This was a horrifying problem for me, however , observing your professional manner you resolved it forced me to leap over contentment. I will be happier for your information and thus trust you know what an amazing job your are carrying out training the others through the use of your web page. More than likely you've never met all of us.

Pages

Add new comment