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

mcarta

micksanders

ensasailor

baharanit

baharanit

<a href="http://www.osbornenash.com/montreal-canadiens-1912-jersey-for-sale-for-c... canadiens 1912 jersey for sale for cheap</a> <a href="http://www.zetroz.net/canada-black-sale-nike-lunar-force-1-billig-boote"... black sale nike lunar force 1 billig</a> <a href="http://www.ultroz.net/all-green-new-adidas-harden-vol.-2-billig-scarpedk... green new adidas harden vol. 2 billig</a> <a href="http://www.ypnathens.com/wine-red-nike-kobe-9-shoes-for-cheap-billig-zap... red nike kobe 9 shoes for cheap billig</a> <a href="http://www.eklandia.net/nike-flyknit-air-max-2014-women-all-black-red-uk... flyknit air max 2014 women all black red uk billig</a> <a href="http://www.moblermm.com/miami-heat-michael-beasley-30-black-replica-jers... heat michael beasley 30 black replica jersey sale</a>
baharanit http://www.baharanit.net/

sscion

mkvets

markderry

bdranger

<a href="http://www.braamweg.com/oakland-athletics-baseball-cap-results-game-capc... athletics baseball cap results game</a> <a href="http://www.liverachies.com/nike-kobe-10-elite-low-mambacurial-manual-sko... kobe 10 elite low mambacurial manual</a> <a href="http://www.chumbabikes.com/grey-black-adidas-neo-australia-shoes-shoessk... black adidas neo australia shoes</a> <a href="http://www.swissneth.com/nike-air-vapormax-flyknit-for-sale-zapatosc">nike air vapormax flyknit for sale</a> <a href="http://www.laceydecks.com/adidas-ultra-boost-uncaged-uk-release-billig-r... ultra boost uncaged uk release billig</a> <a href="http://www.turfflags.com/women-nike-san-francisco-49ers-46-delanie-walke... nike san francisco 49ers 46 delanie walker elite red team color nfl jersey sale</a>
bdranger http://www.bdranger.com/

ganenkou

twinhill

<a href="http://www.scrgruppen.com/shoes-adidas-messi-16.3-black-green-shoes-cana... adidas messi 16.3 black green shoes canada</a> <a href="http://www.sppmis.com/fitted-white-blouse-ladies-polos">fitted white blouse ladies</a> <a href="http://www.bocksberg.com/elite-lyle-sendlein-youth-jersey-arizona-cardin... lyle sendlein youth jersey arizona cardinals c patch 63 road white nfl</a> <a href="http://www.sowegaland.com/green-black-adidas-zx-flux-for-uk-billig-zapat... black adidas zx flux for uk billig</a> <a href="http://www.cwmipl.com/nike-free-3.0-v3-green-gelb-chaussuresz">nike free 3.0 v3 green gelb</a> <a href="http://www.staygmi.com/nike-hypervenom-2-size-7-billig-schuheno">nike hypervenom 2 size 7 billig</a>
twinhill http://www.twinhill.net/

supracables

micksanders

efthimiades

coltonsquare

aviurban

<a href="http://www.docinsider.net/nike-lunarestoa-2-essential-review-answers-bil... lunarestoa 2 essential review answers billig</a> <a href="http://www.fotowerft.net/nike-air-huarache-white-radiant-emerald-for-che... air huarache white radiant emerald for cheap billig</a> <a href="http://www.brassmedia.net/nike-zoom-soldier-9-gray-billig-schuheca">nike zoom soldier 9 gray billig</a> <a href="http://www.sagerllp.net/dallas-cowboys-clearance-for-cheap-nhld">dallas cowboys clearance for cheap</a> <a href="http://www.gastropol.net/2014-15-fc-bacelona-11-neymar-jr-away-soccer-aa... 15 fc bacelona 11 neymar jr away soccer aaa t shirt womens</a> <a href="http://www.sweetpee.net/adidas-f49264-dressh">adidas f49264</a>
aviurban http://www.aviurban.net/

primetatler

<a href="http://www.squeck.com/nike-air-max-2015-red-blue-black-billig-zapatosfr"... air max 2015 red blue black billig</a> <a href="http://www.swiftliftmd.com/air-max-90-sko-svart-schuheca">air max 90 sko svart</a> <a href="http://www.leochappaz.com/reebok-nfl-replica-jerseys-a-case-for-postpone... nfl replica jerseys a case for postponement</a> <a href="http://www.scribesf.com/nhl-stadium-series-uniforms-for-cheap-nhle">nhl stadium series uniforms for cheap</a> <a href="http://www.nursingehr.com/shoes-nike-mercurialx-finale-ii-blue-black-sho... nike mercurialx finale ii blue black shoes australia</a> <a href="http://www.smartervin.com/new-air-jordan-4-blue-and-black-billig-obuvuk"... air jordan 4 blue and black billig</a>
primetatler http://www.primetatler.com/

veofilm

sweetpee

saveorpave

aviurban

<a href="http://www.scrgruppen.com/women-run-shoe-all-red-shoes-on-sale-schoenena... run shoe all red shoes on sale</a> <a href="http://www.sppmis.com/game-dennis-smith-womens-jersey-denver-broncos-49-... dennis smith womens jersey denver broncos 49 road white super bowl 50 bound nfl</a> <a href="http://www.bocksberg.com/air-jordan-12-retro-ovo-all-black-for-cheap-boo... jordan 12 retro ovo all black for cheap</a> <a href="http://www.sowegaland.com/adidas-2016-nmd-price-billig-scarpedk">adidas 2016 nmd price billig</a> <a href="http://www.cwmipl.com/jcp-white-womens-shoes-zapatosm">jcp white womens shoes</a> <a href="http://www.staygmi.com/england-football-team-merchandise-dressi">england football team merchandise</a>
aviurban http://www.aviurban.net/

hwacompendium

petrefuge

bdranger

<a href="http://www.codehard.net/toronto-blue-jays-21-michael-saunders-green-salu... blue jays 21 michael saunders green salute to service stitched baseball jersey</a> <a href="http://www.baugeraete.net/nike-free-run-og-breathe-price-billig-chaussur... free run og breathe price billig</a> <a href="http://www.selectakaza.net/air-jordan-18-3d-obuvla">air jordan 18 3d</a> <a href="http://www.surfmorocco.net/long-sleeve-pink-tee-polod">long sleeve pink tee</a> <a href="http://www.rehema.net/new-york-mets-straw-hat-unit-hatb">new york mets straw hat unit</a> <a href="http://www.oncopdl.net/blue-air-jordan-6-skode">blue air jordan 6</a>
bdranger http://www.bdranger.com/

fotowerft

turfflags

laramari

mavruka

polargy

mkvets

metrofoods

markderry

briancass

<a href="http://www.scrgruppen.com/women-run-shoe-all-red-shoes-on-sale-schoenena... run shoe all red shoes on sale</a> <a href="http://www.sppmis.com/game-dennis-smith-womens-jersey-denver-broncos-49-... dennis smith womens jersey denver broncos 49 road white super bowl 50 bound nfl</a> <a href="http://www.bocksberg.com/air-jordan-12-retro-ovo-all-black-for-cheap-boo... jordan 12 retro ovo all black for cheap</a> <a href="http://www.sowegaland.com/adidas-2016-nmd-price-billig-scarpedk">adidas 2016 nmd price billig</a> <a href="http://www.cwmipl.com/jcp-white-womens-shoes-zapatosm">jcp white womens shoes</a> <a href="http://www.staygmi.com/england-football-team-merchandise-dressi">england football team merchandise</a>
briancass http://www.briancass.net/

sunpacfl

Pages

Add new comment