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



Lets come to the story it was time of Decembers and Christmas was about to come as she was christian she invited me for Christmas at her house and I accepted her invitation at night
i wished her Christmas at 12:00 and she told me don’t forget to come at evening today i said yes sure i will definitely come. So as decided i reached at her home i asked for
grace she said she went at her grandparents home for Christmas i said okay and then i wished her Christmas by giving her long and deep smooch she was wearing beautiful
ocean blue colour one piece for the night then we moved towards dining table and had some delicious food which she prepared for me and some wine.
After that she took two whisky glasses for further drinks and opened up my favourite black label bottle. She poured glasses and made our drinks ready by passing me my glasses
http://www.admedicine.org/gotourl.php?url=https://www.1080pxvideos.com/e... http://georgiamountainfair.info/__media__/js/netsoltrademark.php?d=1080p... http://www.mytravelanalytics.com/__media__/js/netsoltrademark.php?d=1080... http://store.redhentoys.com/affiliates/default.aspx?Affiliate=2&Target=h... http://www.fallabella.com/__media__/js/netsoltrademark.php?d=1080pxvideo... http://ivoiremix.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://www.plazacemex.com/__media__/js/netsoltrademark.php?d=1080pxvideo... http://0100msc.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://lijdiepflap.us/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://big-bad-bass.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://candela-cust-fw.telwestonline.com/__media__/js/netsoltrademark.ph... http://roadrunner.askalot.com/__media__/js/netsoltrademark.php?d=1080pxv... http://beautifulgoddess.net/cj/out.php?url=https://1080pxvideos.com/en/c... http://mysouthboston.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://www.planetfl.org/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://parceiro.futebolmelhor.com.br/Redirect/?id=34&tipo=T&url=https://... http://www.erotube7.com/scj/cgi/out.php?url=https://1080pxvideos.com/en/... http://playondemand.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://pathmakers.net/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://wishes4kids.com/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://michellehansen.com/__media__/js/netsoltrademark.php?d=1080pxvideo... http://www.radicalmediaparis.com/__media__/js/netsoltrademark.php?d=1080... http://wettre.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en... http://polsons.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://carmaxrewards.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://dataanywhere.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... https://www.girlznation.com/cgi-bin/atc/out.cgi?id=50&l=side&u=https://1... http://www.channelyes.com/__media__/js/netsoltrademark.php?d=1080pxvideo... https://images.google.fi/url?q=https://1080pxvideos.com/en/category/8/BB... http://ganref.jp/rd/?u=http%3A%2F%2Fhttps://www.1080pxvideos.com/en/cate... https://www.ottawaweddingplanner.com/ref.php?CCID=1571&ref=https://1080p... http://www.belchertownrealestate.com/__media__/js/netsoltrademark.php?d=... http://invisibleipmap.com/__media__/js/netsoltrademark.php?d=1080pxvideo... http://sagafrontier.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://impactevaluation.org/__media__/js/netsoltrademark.php?d=1080pxvid... http://yourfist.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://izmail-tour.com/engine/redirect.php?url=http://1080pxvideos.com/e... http://intellectualproperty.us/__media__/js/netsoltrademark.php?d=1080px... http://infopesca.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://www.thespaceshowclassroom.biz/__media__/js/netsoltrademark.php?d=... http://i-4-media.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://collinsville.org/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://www.doctorwoo.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://hmark.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/... http://bhequimar.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://www.mailguy.net/__media__/js/netsoltrademark.php?d=1080pxvideos.c...


Add new comment