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

cialis canada online pharmacy kjcx

canadian pharmacy - viagra <a href="http://paukpasyans.ru/user/FarmerFigueroa62/">canadian pharmacies shipping to usa</a> canadian pharmacies without prescriptions [url=http://www.dom-ita.com/index.php?option=com_k2&view=itemlist&task=user&i... canada online pharmacy[/url]
canadian online pharmacy for cialis uxus
canada online pharmacy viagra <a href="http://www.sicipiscine.it/index.php?option=com_k2&view=itemlist&task=use... pharmacy online for viagra</a> canadian viagra online pharmacy reviews [url=https://forums.thesignagedepot.com/member.php?action=profile&uid=40727]c... in usa pharmacy[/url]
cialis canada pharmacy online eisi
canadian viagra online pharmacy <a href="http://www.khubera.com/index.php?page=user&action=pub_profile&id=194577"... pharmacy with viagra</a> canadian online pharmacy [url=http://design-buzz.com/story.php?title=indigestion-advice-that-anyone-ca... coupon for pharmacy[/url]
best canadian pharcharmy online vdtz

sueflowers

gizmoart

cosuisse

miravueskin

<a href="http://www.llcmenahga.net/nike-air-max-flair-270-billig-scarpe4">nike air max flair 270 billig</a> <a href="http://www.tradebotusa.net/nike-lunarestoa-2-essential-blue-yahoo-traine... lunarestoa 2 essential blue yahoo</a> <a href="http://www.bignannys.net/men-air-max-2009-blue-black-shoes-australia-sho... air max 2009 blue black shoes australia</a> <a href="http://www.carloscano.net/nike-hypervenom-phelon-diamond-liquid-lipstick... hypervenom phelon diamond liquid lipstick</a> <a href="http://www.gonnect.net/nike-air-max-90-retro-black-blue-shoes-on-sale-bi... air max 90 retro black blue shoes on sale billig</a> <a href="http://www.mobilluck.net/air-max-tailwind-6-black-pants-billig-schoenen4... max tailwind 6 black pants billig</a>
miravueskin http://www.miravueskin.net/

cotmanip

dfmfit

powrbms

neteuros

alberco

tulesion

laicom

horntees

themesvault

civasclinic

canadian pharmacies viagra xv

canada online pharmacy viagra [url=https://setiweb.ssl.berkeley.edu/beta/team_display.php?teamid=1089423]ca... pharmacy store[/url] online pharmacy viagra <a href="https://www.sbnation.com/users/hustedbcoleo">pharmacy rx one 60 mg cialis</a>
viagra online canadian pharmacy sb
onlinepharmacy.com [url=https://forums.thesignagedepot.com/member.php?action=profile&uid=40727]the canadian pharmacy[/url] canadian pharcharmy's <a href="http://beautyinfo.eu/user/HvidbergFarmer76/">approved canadian pharmacies online</a>
canadian pharcharmy online viagra wf
viagra india pharmacy [url=http://b292836n.beget.tech/member.php?action=profile&uid=33137]generic pharmacy india[/url] cialis canada pharmacy online <a href="https://www.adlot.com/classifieds/user/profile/48164">cialis online canadian pharmacy</a>
generic viagra online pharmacy ke

canada rx pharmacy iq

canadapharmacyonline.com [url=https://myemotion.faith/wiki/Leading_Tips_To_Solve_Any_Hairy_Situation]c... viagra online pharmacy reviews[/url] canadian-pharmacy-online <a href="https://marvelcomics.faith/wiki/Indigestion_Advice_That_Anyone_Can_Use">... at canadian pharmacies</a>
cialis coupon for pharmacy by
www.canadian pharmacy [url=http://nybookmark.com/story7629420/the-most-unique-tips-for-losing-more-... online pharmacy[/url] canadian discount pharmacies <a href="https://ftpby.ru/user/PiperHvass1/">viagra online canada pharmacy</a>
canadian pharcharmy online viagra sm
my canadian pharmacies [url=https://cameradb.review/wiki/Take_Control_Of_Your_Health_With_These_Grea... canadian pharcharmy online[/url] viagra online canada pharmacy <a href="http://newsocialbooks.com/story.php?title=one-of-the-most-unique-tips-fo...
cialis canadian pharmacy's eu

mimsstores

pvyfca

approved canadian online pharmacies kiax

canada pharmacy cialis <a href="http://www.associazionehombre.it/index.php?option=com_k2&view=itemlist&t... online pharmacy</a> northwestpharmacy [url=https://funsilo.date/wiki/Top_Tips_To_Solve_Any_Hairy_Situation]viagra online canada pharmacy[/url]
canadian pharmaceutical rmcd
buy cialis from us pharmacy <a href="https://justbookmark.win/story.php?title=top-tips-to-solve-any-hairy-sit... pharmacy - viagra</a> tadalafil india pharmacy [url=https://blocktek.university/members/caspersen34chappell/activity/869590/... pharmacy store[/url]
viagra online canada pharmacy nfwz
cvs pharmacy <a href="http://search.wi.gov/cpp/help/urlstatusgo.html?url=http://b3.zcubes.com/... pharmacies in canada</a> buy generic cialis canadian pharmacy [url=http://avhosting.us/nowshoplocal/members/jenningsjennings96/activity/285... online pharmacy[/url]
canadian pharmaceutical urtr

onlinebyran

goepack

online pharmacy medications aq

canadian pharmacy no prescription [url=https://nanotur.ru/user/Holloway11McGinnis/]my canadian pharmacies[/url] viagra from canada pharmacy <a href="http://www.meteocaprinovr.it/index.php?option=com_k2&view=itemlist&task=... canadian pharmacies</a>
www.canadian pharmacy tw
viagra at canadian pharmacy [url=http://210.59.17.7/~train/userinfo.php?uid=2287270]viagra from a pharmacy in canada[/url] generic pharmacy india <a href="http://getsocialpr.com/story6627934/leading-tips-to-solve-any-hairy-situ... from canadian pharmacy</a>
canadian pharmaceuticals kv
northwestpharmacy .com [url=https://bbs.i4season.com/home.php?mod=space&uid=21703]cialis online pharmacy[/url] canadian pharmacy - viagra <a href="https://torgi.gov.ru/forum/user/profile/1267381.page">approved canadian pharmacies online</a>
canadian pharmacies viagra ra

cialis- canadian pharmacy ib

canadian cialis online pharmacy [url=https://securityholes.science/wiki/The_Most_Unique_Tips_For_Losing_More_... my canadian pharmacies <a href="http://52love52.com/home.php?mod=space&uid=184242">generic cialis canada pharmacy online</a>
cialis canada pharmacy online wv
my canadian pharmacies [url=https://coub.com/kanehvass8]cialis from canada pharmacy[/url] universal pharmacy <a href="https://scientific-programs.science/wiki/Indigestion_Advice_That_Anyone_... viagra online canada pharmacy</a>
viagra india pharmacy le
canadian pharcharmy's [url=https://getpocket.com/@mitchell32adler]pharmacy rx one[/url] pharmacy rx one <a href="https://www.ellelink.com/members/arthurlassen0/activity/195089/">canadian pharcharmy online reviews</a>
cialis in usa pharmacy cl

daaelite

<a href="http://www.gizmoart.net/new-york-yankees-camouflage-baseball-cap-for-uk-... york yankees camouflage baseball cap for uk</a> <a href="http://www.mandrait.net/ray-ban-rb3025-58-aviator-price-sun_pt">ray ban rb3025 58 aviator price</a> <a href="http://www.sockcop.net/air-jordan-7-vii-retro-bordeaux-black-light-graph... jordan 7 vii retro bordeaux black light graphite bordeaux</a> <a href="http://www.mdroster.net/nike-revolution-2-schwarz-vivid-blau-sale_si">nike revolution 2 schwarz vivid blau</a> <a href="http://www.entkalker.net/buy-air-jordan-xxxiii-kd_ca">buy air jordan xxxiii</a> <a href="http://www.sakshotel.net/nike-flyknit-hvit-gull-sale_de">nike flyknit hvit gull</a>

eduzhituo

buzzages

daaelite

eduzhituo

fromeaparty

powrbms

potagic

saanenkeci

cosmoqueen

csmfirm

ccvsocal

sfllaw

maruoganka

<a href="http://www.llcmenahga.net/nike-air-max-flair-270-billig-scarpe4">nike air max flair 270 billig</a> <a href="http://www.tradebotusa.net/nike-lunarestoa-2-essential-blue-yahoo-traine... lunarestoa 2 essential blue yahoo</a> <a href="http://www.bignannys.net/men-air-max-2009-blue-black-shoes-australia-sho... air max 2009 blue black shoes australia</a> <a href="http://www.carloscano.net/nike-hypervenom-phelon-diamond-liquid-lipstick... hypervenom phelon diamond liquid lipstick</a> <a href="http://www.gonnect.net/nike-air-max-90-retro-black-blue-shoes-on-sale-bi... air max 90 retro black blue shoes on sale billig</a> <a href="http://www.mobilluck.net/air-max-tailwind-6-black-pants-billig-schoenen4... max tailwind 6 black pants billig</a>
maruoganka http://www.maruoganka.net/

juddhoos

siames

screeder

buzzages

neteuros

cosuisse

sfllaw

Pages

Add new comment