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

saddlerscreek

viagra in dubai afsshfbcNahnoriawhlvo

buy viagra in canada <a href="http://ltdviagragogo.com/#">viagra pills for sale</a> viagra uk australian viagra paypal <a href="http://hdgenericviagraxk.com/#">viagra generic</a> cheap pfizer viagra what works as well as viagra <a href="http://buygenericviarga.com/#">viagra/ mastercard accepted</a> viagra cost comparison buy viagra for women sydney <a href="http://buyhdpillvia.com/#">best online for generic viagra</a> viagra online without perscription order viagra online without script <a href="http://genericviagrix.com/#">india pharmacy viagra</a> viagra persription

online ordering viagra australia ddgbsikxdNahnoriazvfcz

viagra for men <a href="http://viashoprx.com/#">viagra online south africa</a> viagra online united kingdom viagra usa pharmacy <a href="http://xviagarrx.com/#">viagra price in pakistan</a> herbal substitute for viagra paypal viagra online adelaide <a href="http://viagraviagria.com/#">order viagra online in australia</a> viagra no prescription buy viagra online <a href="http://asgenviagria.com/#">viagra not working</a> viagra online mastercard viagra superforce online <a href="http://viagengen.com/#">where to buy viagra sydney</a> viagra and dapoxetine with

billgood

<a href="http://www.saddlerscreek.net/men-nike-new-england-patriots-58-tracy-whit... nike new england patriots 58 tracy white game navy blue team color nfl jersey sale</a> <a href="http://www.wortvoll.net/air-jordan-11-retro-gs-billig-butye">air jordan 11 retro gs billig</a> <a href="http://www.usmcgrad.net/adidas-nmd-r1-sort-red-hvid-sneakeres">adidas nmd r1 sort red hvid</a> <a href="http://www.betterdot.net/sixers-beanie-hat-for-eu-headgeare">sixers beanie hat for eu</a> <a href="http://www.cosasco.net/nike-air-presto-blanc-pure-platinum-trainersuk">nike air presto blanc pure platinum</a> <a href="http://www.truemailer.net/nike-air-max-2015-sky-blau-green-nk775-l-schuh... air max 2015 sky blau green nk775 l</a>
billgood http://www.billgood.net/

learndslr

aslimme

<a href="http://www.saddlerscreek.net/nike-roshe-run-mens-red-and-white-shoesca">... roshe run mens red and white</a> <a href="http://www.wortvoll.net/nike-saints-34-marshon-lattimore-black-womens-nf... saints 34 marshon lattimore black womens nfl fashion game jersey</a> <a href="http://www.usmcgrad.net/nike-air-max-95-bianca-verde-skofr">nike air max 95 bianca verde</a> <a href="http://www.betterdot.net/adidas-boost-negro-yeezy-zapatosm">adidas boost negro yeezy</a> <a href="http://www.cosasco.net/nike-sb-team-edition-hvit-svart-gum-schoenenuk">nike sb team edition hvit svart gum</a> <a href="http://www.truemailer.net/womens-argentina-18-pastore-home-short-sleeves... argentina 18 pastore home short sleeves 2016 2017 country national team soccer jerseys</a>
aslimme http://www.aslimme.net/

wortvoll

<a href="http://www.muhomor.net/nike-air-jordan-7-retro-schwarz-chambray-chaussur... air jordan 7 retro schwarz chambray</a> <a href="http://www.universant.net/womens-nike-air-max-90-black-leather-obuvfr">w... nike air max 90 black leather</a> <a href="http://www.clubleeds.net/nike-kd-9-mennns-gull-runningca">nike kd 9 mennns gull</a> <a href="http://www.carefactor.net/jordan-1-metallic-gold-obsidian-billig-trainer... 1 metallic gold obsidian billig</a> <a href="http://www.klaava.net/reebok-new-york-giants-steve-smith-12-blue-authent... new york giants steve smith 12 blue authentic jerseys sale</a> <a href="http://www.sanjosedj.net/toddler-pittsburgh-pirates-22-andrew-mccutchen-... pittsburgh pirates 22 andrew mccutchen alternate black 2015 mlb cool base jersey</a>
wortvoll http://www.wortvoll.net/

techgrowth

pariswin

<a href="http://www.nuevavista.net/adidas-originals-porsche-billig-schuheno">adidas originals porsche billig</a> <a href="http://www.barimar.net/nike-chiefs-10-tyreek-hill-black-youth-stitched-n... chiefs 10 tyreek hill black youth stitched nfl limited gold salute to service jersey</a> <a href="http://www.headhonchos.net/nba-jerseys-charlotte-hornets-9-gerald-hender... jerseys charlotte hornets 9 gerald henderson revolution 30 purple jerseys</a> <a href="http://www.bslatkin.net/air-jordan-16-low-svart-trainersfr">air jordan 16 low svart</a> <a href="http://www.timeforart.net/miami-dolphins-black-bucket-hat-kitchen-headge... dolphins black bucket hat kitchen</a> <a href="http://www.modelspro.net/adidas-consortium-primeknit-pure-boost-svart-sn... consortium primeknit pure boost svart</a>
pariswin http://www.pariswin.net/

randbsolutions

<a href="http://www.lavika.net/nike-air-jordan-flight-tr-97-hvit-schuheno">nike air jordan flight tr 97 hvit</a> <a href="http://www.galleonfilms.net/2014-new-nfl-jerseys-denver-broncos-98-terra... new nfl jerseys denver broncos 98 terrance knighton blue elite jerseys draft pick round</a> <a href="http://www.revess.net/mens-2015-nike-nfl-miami-dolphins-t-shirts-36-nfle... 2015 nike nfl miami dolphins t shirts 36</a> <a href="http://www.granne.net/nike-blazer-mid-nero-and-oro-trainersfr">nike blazer mid nero and oro</a> <a href="http://www.halemalu.net/san-francisco-giants-new-hats-queen-hate">san francisco giants new hats queen</a> <a href="http://www.miratelimagen.net/jordan-11-bred-low-real-vs-fake-billig-snea... 11 bred low real vs fake billig</a>
randbsolutions http://www.randbsolutions.net/

centercintas

<a href="http://www.communitize.net/retro-1-royal-blue-billig-runningca">retro 1 royal blue billig</a> <a href="http://www.musiserv.net/jordan-future-negro-jd-trainersca">jordan future negro jd</a> <a href="http://www.stringwise.net/blue-jays-11-kevin-pillar-blue-flexbase-authen... jays 11 kevin pillar blue flexbase authentic womens stitched mlb jersey</a> <a href="http://www.trailsnet.net/customized-2014-new-nfl-jerseys-new-orleans-sai... 2014 new nfl jerseys new orleans saints black gold elite split jerseys</a> <a href="http://www.gelbett.net/new-nike-blazer-rot-sneakeres">new nike blazer rot</a> <a href="http://www.mycubscouts.net/toronto-blue-jays-hard-hat-usage-hatk">toronto blue jays hard hat usage</a>
centercintas http://www.centercintas.net/

ecoelec

centercintas

revess

<a href="http://www.rosecraft.net/nike-internationalist-nero-viola-scarpech">nike internationalist nero viola</a> <a href="http://www.entrenoe.net/denver-broncos-flex-fit-hats-headgeare">denver broncos flex fit hats</a> <a href="http://www.safoam.net/air-jordan-1-varsity-blau-schoenenca">air jordan 1 varsity blau</a> <a href="http://www.randbsolutions.net/2012-new-nfl-jerseys-tampa-bay-buccaneers-... new nfl jerseys tampa bay buccaneers 27 legarrette blount white game jerseys</a> <a href="http://www.schirok.net/nmd-human-race-holi-billig-butye">nmd human race holi billig</a> <a href="http://www.lidiastaron.net/nike-fs-lite-run-2-nero-and-teal-sneakeres">nike fs lite run 2 nero and teal</a>
revess http://www.revess.net/

vtracauto

<a href="http://www.billgood.net/nike-vikings-12-charles-johnson-black-mens-stitc... vikings 12 charles johnson black mens stitched nfl limited 2016 salute to service jersey</a> <a href="http://www.ecoelec.net/nike-blazer-olive-billig-zapatosm">nike blazer olive billig</a> <a href="http://www.lewislabel.net/nike-free-5.0-2014-svart-anthracite-schoenenuk... free 5.0 2014 svart anthracite</a> <a href="http://www.fieldandfab.net/buffalo-sabres-gilbert-perreault-11-white-rep... sabres gilbert perreault 11 white replica jersey sale</a> <a href="http://www.teamlive.net/the-thai-version-2014-brazilian-world-cup-soccer... thai version 2014 brazilian world cup soccer jerseys france team 9 olivier giroud home blue jerseys</a>
vtracauto http://www.vtracauto.net/

lidiastaron

billgood

pariswin

<a href="http://www.nuevavista.net/elite-brandon-marshall-mens-jersey-denver-bron... brandon marshall mens jersey denver broncos 54 home orange super bowl 50 bound nfl</a> <a href="http://www.barimar.net/nike-air-force-1-mid-07-white-mens-trainers-butye... air force 1 mid 07 white mens trainers</a> <a href="http://www.headhonchos.net/air-jordan-6-chrome-gs-runningcc">air jordan 6 chrome gs</a> <a href="http://www.bslatkin.net/nike-air-max-thea-gris-mettoutic-zapatosm">nike air max thea gris mettoutic</a> <a href="http://www.timeforart.net/nike-air-vapormax-kvinner-red-schoenenuk">nike air vapormax kvinner red</a> <a href="http://www.modelspro.net/limited-keshawn-martin-womens-jersey-new-englan... keshawn martin womens jersey new england patriots 82 home navy blue nfl</a>
pariswin http://www.pariswin.net/

mncooks

trailsnet

schirok

<a href="http://www.spiderdm.net/game-lynn-swann-womens-jersey-pittsburgh-steeler... lynn swann womens jersey pittsburgh steelers 88 home black nfl</a> <a href="http://www.dollstown.net/nike-miami-dolphins-mens-white-jersey-91-elite-... miami dolphins mens white jersey 91 elite cameron wake nfl jersey sale</a> <a href="http://www.vtracauto.net/nhl-hoodies-edmonton-oilers-14-eberle-royal-blu... hoodies edmonton oilers 14 eberle royal blue old time hockey jerseys hoodys sweatshirts</a> <a href="http://www.tvstripe.net/air-jordan-5-negro-supreme-zapatoso">air jordan 5 negro supreme</a> <a href="http://www.pariswin.net/jordan-4-noir-orange-vert-zapatosc">jordan 4 noir orange vert</a> <a href="http://www.savantas.net/new-era-classic-new-york-yankees-39thirty-cap-bl... era classic new york yankees 39thirty cap black 2016</a>
schirok http://www.schirok.net/

muhomor

<a href="http://www.learnstar.net/pink-270-nike-billig-schuheca">pink 270 nike billig</a> <a href="http://www.gilpininc.net/mlb-jerseys-arizona-diamondbacks-24-chris-young... jerseys arizona diamondbacks 24 chris young grey jerseys</a> <a href="http://www.csgdata.net/nike-air-force-1-lv8-rust-pink-billig-obuvuk">nike air force 1 lv8 rust pink billig</a> <a href="http://www.econergie.net/nike-zoom-pegasus-31-flash-negro-corriendo-zapa... zoom pegasus 31 flash negro corriendo zapatos</a> <a href="http://www.nastar.net/nike-flyknit-air-max-noir-orange-sneakerca">nike flyknit air max noir orange</a> <a href="http://www.zoomint.net/youth-nike-dallas-cowboys-danny-coale-81-elite-na... nike dallas cowboys danny coale 81 elite navy blue throwback jersey sale</a>
muhomor http://www.muhomor.net/

techgrowth

<a href="http://www.spiderdm.net/limited-eric-decker-mens-jersey-denver-broncos-8... eric decker mens jersey denver broncos 87 super bowl xlviii team road two tone nfl</a> <a href="http://www.dollstown.net/kansas-city-royals-stocking-hat-games-hate">kansas city royals stocking hat games</a> <a href="http://www.vtracauto.net/cheetah-vapormax-womens-billig-zapatosm">cheetah vapormax womens billig</a> <a href="http://www.tvstripe.net/limited-markus-golden-mens-jersey-arizona-cardin... markus golden mens jersey arizona cardinals 44 road white nfl</a> <a href="http://www.pariswin.net/texas-rangers-1-elvis-andrus-gray-jersey-nhli">t... rangers 1 elvis andrus gray jersey</a> <a href="http://www.savantas.net/nfl-knit-hats-clearance-price-headgeare">nfl knit hats clearance price</a>
techgrowth http://www.techgrowth.net/

sandmanagement

econergie

barimar

wifcuonline

randbsolutions

gemzboh

<a href="http://www.valudo.net/light-blue-nike-97-billig-sneakeres">light blue nike 97 billig</a> <a href="http://www.bbcnorman.net/white-leder-nike-free-run-schoenenuk">white leder nike free run</a> <a href="http://www.pionierzeit.net/lyon-10-necib-home-mens-adults-short-sleeves-... 10 necib home mens adults short sleeves 2016 2017 club soccer jerseys</a> <a href="http://www.labpsico.net/mens-nike-dallas-cowboys-derrick-dockery-75-limi... nike dallas cowboys derrick dockery 75 limited navy blue throwback jersey sale</a> <a href="http://www.danielmotos.net/nike-classic-cortez-high-tops-billig-chaussur... classic cortez high tops billig</a> <a href="http://www.madeonearth.net/san-francisco-giants-24-willie-mays-black-thr... francisco giants 24 willie mays black throwback jersey</a>
gemzboh http://www.gemzboh.net/

econergie

granne

<a href="http://www.spiderdm.net/limited-eric-decker-mens-jersey-denver-broncos-8... eric decker mens jersey denver broncos 87 super bowl xlviii team road two tone nfl</a> <a href="http://www.dollstown.net/kansas-city-royals-stocking-hat-games-hate">kansas city royals stocking hat games</a> <a href="http://www.vtracauto.net/cheetah-vapormax-womens-billig-zapatosm">cheetah vapormax womens billig</a> <a href="http://www.tvstripe.net/limited-markus-golden-mens-jersey-arizona-cardin... markus golden mens jersey arizona cardinals 44 road white nfl</a> <a href="http://www.pariswin.net/texas-rangers-1-elvis-andrus-gray-jersey-nhli">t... rangers 1 elvis andrus gray jersey</a> <a href="http://www.savantas.net/nfl-knit-hats-clearance-price-headgeare">nfl knit hats clearance price</a>
granne http://www.granne.net/

Pages

Add new comment