Submitted by Boden Davidson on
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
meniPalay replied on Permalink
ngbweazgjfhfgnepshuplebwv
research paper definition [url=https://termpapernfu.com/]research paper layouts[/url] proposal essay outline <a href="https://termpapernfu.com/#">college paper cover page</a> papers samples
buikPoeta replied on Permalink
buy generic 100mg viagra online srfvrddxRascabslta
viagra vs cialis [url=https://mymypharmacy.com/]viagra generic[/url] п»їgeneric viagra <a href="https://mymypharmacy.com/#">buy generic 100mg viagra online</a> cheap viagra
buikPoeta replied on Permalink
cheap viagra srfvrddxRascabsvez
generic viagra walmart [url=https://mymypharmacy.com/]viagra[/url] viagra price <a href="https://mymypharmacy.com/#">generic viagra</a> viagra online
meniPalay replied on Permalink
ngbweazgjfhfgnepshupleebt
term papers [url=https://termpapernfu.com/]term paper format[/url] research paper definition <a href="https://termpapernfu.com/#">term paper format</a> term paper cover page
meniPalay replied on Permalink
ngbweazgjfhfgnepshuplekmv
college paper cover page [url=https://termpapernfu.com/]how long to write a 5 page paper[/url] term paper cover page <a href="https://termpapernfu.com/#">paper structure</a> п»їterm paper
meniPalay replied on Permalink
ngbweazgjfhfgnepshupleyia
college paper cover page [url=https://termpapernfu.com/]term paper outline example[/url] how many words is a 10 page paper <a href="https://termpapernfu.com/#">how to write a 10 page paper</a> college research paper example
meniPalay replied on Permalink
ngbweazgjfhfgnepshupledyo
paper structure [url=https://termpapernfu.com/]college papers examples[/url] research paper structure <a href="https://termpapernfu.com/#">term paper example</a> term paper example
bfyhPoeta replied on Permalink
masters dissertation srvrddxRascabsoxy
dissertation acknowledgements [url=https://dissertationyjx.com/]dissertation timeline[/url] dissertation defense <a href="https://dissertationyjx.com/#">dissertation dedication</a> dissertation outline
bfyhPoeta replied on Permalink
dissertation topics srvrddxRascabshnc
dissertation search [url=https://dissertationyjx.com/]dissertation express[/url] dissertation research <a href="https://dissertationyjx.com/#">dissertation defense</a> dissertation introduction
bfyhPoeta replied on Permalink
п»їdissertation definition srvrddxRascabseio
dissertation proposal template [url=https://dissertationyjx.com/]dissertation sample[/url] masters dissertation <a href="https://dissertationyjx.com/#">п»їdissertation definition</a> dissertation synonym
bfyhPoeta replied on Permalink
dissertation database srvrddxRascabsrsx
dissertation help [url=https://dissertationyjx.com/]dissertation writing services[/url] dissertation database <a href="https://dissertationyjx.com/#">dissertation completion fellowship</a> dissertation defense
meniPalay replied on Permalink
ngbweazgjfhfgnepshupleckh
paper format [url=https://termpapernfu.com/]proposal essay outline[/url] how to head a college paper <a href="https://termpapernfu.com/#">research paper layouts</a> term paper format
meniPalay replied on Permalink
ngbweazgjfhfgnepshupleojc
term paper outline [url=https://termpapernfu.com/]what is a term paper[/url] how to write a term paper <a href="https://termpapernfu.com/#">how long to write a 5 page paper</a> paper structure
bfyhPoeta replied on Permalink
dissertation format srvrddxRascabspgi
dissertation length [url=https://dissertationyjx.com/]dissertation committee[/url] dissertation length <a href="https://dissertationyjx.com/#">dissertation sample</a> dissertation timeline
meniPalay replied on Permalink
ngbweazgjfhfgnepshupleuso
term paper examples [url=https://termpapernfu.com/]paper layout[/url] how long to write a 5 page paper <a href="https://termpapernfu.com/#">proposal essay outline</a> what is a term paper
bfyhPoeta replied on Permalink
п»їdissertation definition srvrddxRascabstfh
dissertation defense powerpoint [url=https://dissertationyjx.com/]dissertation meaning[/url] dissertation proposal <a href="https://dissertationyjx.com/#">dissertation vs thesis</a> dissertation vs thesis
bfyhPoeta replied on Permalink
dissertation prospectus srvrddxRascabskak
dissertation chapters [url=https://dissertationyjx.com/]dissertation completion fellowship[/url] dissertation proposal <a href="https://dissertationyjx.com/#">dissertation timeline</a> п»їdissertation definition
bfyhPoeta replied on Permalink
dissertation defense srvrddxRascabsqjk
masters dissertation [url=https://dissertationyjx.com/]dissertation help[/url] dissertation editor <a href="https://dissertationyjx.com/#">dissertation vs thesis</a> dissertation length
bfyhPoeta replied on Permalink
dissertation research srvrddxRascabsoxo
dissertation completion fellowship [url=https://dissertationyjx.com/]dissertation timeline[/url] dissertation examples <a href="https://dissertationyjx.com/#">dissertation dedication</a> dissertation apa
MarielTaito replied on Permalink
cialis pills review
659e21 bad credit personal loans guaranteed approval 5000
[url=http://loansoloie.com/]payday loans online[/url]
fvmiPalay replied on Permalink
ikazgjfhfgnepshupleske
viagra [url=https://pharmmyjo.com/]viagra vs cialis[/url] viagra vs cialis <a href="https://pharmmyjo.com/#">buy viagra</a> viagra
buikPoeta replied on Permalink
online viagra srfvrddxRascabsikk
viagra online [url=https://mymypharmacy.com/]viagra generic[/url] women viagra <a href="https://mymypharmacy.com/#">generic viagra</a> women viagra
fvmiPalay replied on Permalink
ikazgjfhfgnepshupleknh
buy generic 100mg viagra online [url=https://pharmmyjo.com/]viagra connect[/url] side effects of viagra <a href="https://pharmmyjo.com/#">viagra canadian pharmacy ezzz</a> viagra generic
fvmiPalay replied on Permalink
ikazgjfhfgnepshuplegxk
what does viagra do [url=https://pharmmyjo.com/]buy viagra[/url] viagra online <a href="https://pharmmyjo.com/#">viagra 100mg</a> buy generic 100mg viagra online
fvmiPalay replied on Permalink
ikazgjfhfgnepshupleefg
viagra generic name [url=https://pharmmyjo.com/]viagra[/url] viagra pill <a href="https://pharmmyjo.com/#">viagra online</a> viagra vs cialis
fvmiPalay replied on Permalink
ikazgjfhfgnepshuplexuc
viagra alternative [url=https://pharmmyjo.com/]how does viagra work[/url] cheap viagra <a href="https://pharmmyjo.com/#">buy viagra</a> viagra
fvmiPalay replied on Permalink
ikazgjfhfgnepshuplehkm
herbal viagra [url=https://pharmmyjo.com/]viagra vs cialis[/url] cheap viagra <a href="https://pharmmyjo.com/#">viagra online</a> otc viagra
buikPoeta replied on Permalink
online viagra srfvrddxRascabsmae
viagra generic [url=https://mymypharmacy.com/]viagra generic[/url] online viagra <a href="https://mymypharmacy.com/#">how to take viagra</a> herbal viagra
fvmiPalay replied on Permalink
ikazgjfhfgnepshupleako
what does viagra do [url=https://pharmmyjo.com/]generic viagra online for sale[/url] п»їgeneric viagra <a href="https://pharmmyjo.com/#">buy viagra online</a> viagra for sale
fvmiPalay replied on Permalink
ikazgjfhfgnepshupleasq
viagra online [url=https://pharmmyjo.com/]generic viagra online for sale[/url] cheap viagra <a href="https://pharmmyjo.com/#">online viagra</a> cheap viagra
fvmiPalay replied on Permalink
ikazgjfhfgnepshupleptg
viagra alternative [url=https://pharmmyjo.com/]generic viagra[/url] generic viagra online <a href="https://pharmmyjo.com/#">herbal viagra</a> herbal viagra
fvmiPalay replied on Permalink
ikazgjfhfgnepshuplelwg
viagra price [url=https://pharmmyjo.com/]online viagra[/url] viagra cost <a href="https://pharmmyjo.com/#">buy viagra</a> viagra
fvmiPalay replied on Permalink
ikazgjfhfgnepshupleevy
what is viagra [url=https://pharmmyjo.com/]viagra dosage[/url] viagra for men <a href="https://pharmmyjo.com/#">viagra dosage</a> generic viagra online for sale
buikPoeta replied on Permalink
viagra online srfvrddxRascabsvoy
generic viagra walmart https://mymypharmacy.com/ - viagra online viagra dosage <a href="https://mymypharmacy.com/#">viagra online</a> viagra generic
buikPoeta replied on Permalink
cheap viagra srfvrddxRascabsboe
generic viagra walmart [url=https://mymypharmacy.com/]what is viagra[/url] buy viagra online <a href="https://mymypharmacy.com/#">online viagra</a> viagra canadian pharmacy ezzz
wdriPalay replied on Permalink
ikazgjfrfhfgnepshuplethx
cialis 20mg [url=http://cialishe.com/]cialis buy[/url] buy cialis <a href="http://cialishe.com/#">online cialis</a> cialis 20mg
wdriPalay replied on Permalink
ikazgjfrfhfgnepshuplentm
п»їcialis [url=http://cialishe.com/]buy cialis[/url] online cialis <a href="http://cialishe.com/#">cialis 20mg</a> cialis generic
wdriPalay replied on Permalink
ikazgjfrfhfgnepshuplezer
cialis generic [url=http://cialishe.com/]п»їcialis[/url] generic cialis <a href="http://cialishe.com/#">cialis 20mg</a> cialis online
wdriPalay replied on Permalink
ikazgjfrfhfgnepshuplecuw
online cialis [url=http://cialishe.com/]cialis 20mg[/url] cialis 20mg <a href="http://cialishe.com/#">cialis generic</a> generic cialis
grdfPoeta replied on Permalink
cialis vs viagra srfdevrddxRascabsmvp
viagra and alcohol [url=http://viagraid.com/]viagra over the counter[/url] generic viagra online for sale <a href="http://viagraid.com/#">cheap viagra</a> buy viagra online
grdfPoeta replied on Permalink
cheap viagra srfdevrddxRascabsnuk
viagra and alcohol [url=http://viagraid.com/]generic viagra walmart[/url] how to get viagra <a href="http://viagraid.com/#">online viagra</a> viagra for women
grdfPoeta replied on Permalink
buy viagra srfdevrddxRascabswdc
viagra price [url=http://viagraid.com/]viagra for women[/url] female viagra <a href="http://viagraid.com/#">viagra for men</a> viagra 100mg
wdriPalay replied on Permalink
ikazgjfrfhfgnepshupleppa
online cialis [url=http://cialishe.com/]online cialis[/url] cialis 20mg <a href="http://cialishe.com/#">online cialis</a> generic cialis
grdfPoeta replied on Permalink
viagra srfdevrddxRascabsxce
generic viagra [url=http://viagraid.com/]viagra and alcohol[/url] what does viagra do <a href="http://viagraid.com/#">cialis vs viagra</a> viagra online
grdfPoeta replied on Permalink
what is viagra srfdevrddxRascabsolh
cheap viagra [url=http://viagraid.com/]viagra online[/url] generic viagra walmart <a href="http://viagraid.com/#">п»їgeneric viagra</a> п»їgeneric viagra
grdfPoeta replied on Permalink
viagra srfdevrddxRascabsomj
viagra [url=http://viagraid.com/]viagra side effects[/url] cheap viagra <a href="http://viagraid.com/#">viagra</a> buy viagra
grdfPoeta replied on Permalink
otc viagra srfdevrddxRascabsjkk
how to take viagra [url=http://viagraid.com/]viagra generic[/url] viagra and alcohol <a href="http://viagraid.com/#">cheap viagra</a> generic viagra
wdriPalay replied on Permalink
ikazgjfrfhfgnepshupleqow
cialis generic [url=http://cialishe.com/]cialis online[/url] online cialis <a href="http://cialishe.com/#">buy cialis</a> cialis 20mg
grdfPoeta replied on Permalink
cheap viagra srfdevrddxRascabsyjf
generic viagra [url=http://viagraid.com/]over the counter viagra[/url] over the counter viagra <a href="http://viagraid.com/#">female viagra</a> cheap viagra
grdfPoeta replied on Permalink
viagra for sale srfdevrddxRascabsnvy
what is viagra [url=http://viagraid.com/]cheap viagra[/url] viagra online <a href="http://viagraid.com/#">what is viagra</a> what is viagra
Pages
Add new comment