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

carloscano

dtsupport

zweiniger

centrobus

mandrait

saanenkeci

mobilluck

billigoel

kanearts

[url=https://levitra100pudoff

[url=https://levitra100pudoff.com/]can you buy levitra over the counter [/url] <a href="https://levitra100pudoff.com/">cheap levitra canadian pharmacy </a> [url=http://propeciaok.com/]how much does propecia cost without insurance [/url] <a href="http://propeciaok.com/">propecia generic price </a> [url=https://synthroidxxl.com/]synthroid prices walmart [/url] <a href="https://synthroidxxl.com/">buy canadian synthroid </a>

erikzabel

koiarise

melaniphy

cialis online pharmacy wl

online pharmacy viagra [url=http://www.groovyfreeads.com/user/profile/189427]cialis canadian pharmacy[/url] best canadian pharcharmy online <a href="http://www.jxqyhq123.top/home.php?mod=space&uid=70795">cialis in usa pharmacy</a>
canadian viagra online pharmacy xp
canadianpharmacymeds.com [url=http://www.pearltrees.com/mallingtrujillo2]canadian pharmacies viagra[/url] london pharmacy canada <a href="http://schmelkes.com/wiki/index.php?title=Take_Control_Of_Your_Health_Wi... pharmacy for cialis</a>
generic pharmacy nx
viagra online pharmacy [url=http://events.planmywedding.co.za/members/maloneymalling2/activity/25477... discount pharmacies[/url] cialis from canadian pharmacies <a href="https://www.keralaplot.com/user/profile/76520">legitimate online pharmacies india</a>
canadian pharmacy for viagra ng

tahoechurch

gonnect

canadian pharmacy-viagra uc

tadalafil india pharmacy [url=https://humanlove.stream/wiki/One_Of_The_Most_Unique_Tips_For_Losing_Mor... generic cialis canadian pharmacy[/url] cialis- canadian pharmacy <a href="https://visual.ly/users/rahbekhusum98ucnrss/portfolio">viagra pharmacy</a>
canadian pharmacies generic ed medication an
generic viagra online pharmacy [url=https://bbs.sinofsx.com/home.php?mod=space&uid=168925]approved canadian online pharmacies[/url] canadian pharmacy.com <a href="http://bookmarkrange.com/story8430145/top-tips-to-solve-any-hairy-situat... canadian pharmacy's</a>
canadian pharmacy for viagra zh
canadian pharmacy viagra online [url=http://bbs.myz.cn/home.php?mod=space&uid=166214]highest rated canadian pharmacies[/url] the canadian pharmacy <a href="http://www.online.plus/index.php?qa=user&qa_1=adams60adams">canadian pharmacy with viagra</a>
viagra from a pharmacy in canada hy

saanenkeci

melaniphy

pvyfca

rowisoft

mandrait

equalplus

pillfreak

startcb

retiso

bignannys

zweiniger

asalgarve

llcmenahga

marganza

carloscano

ecolearies

kitekraft

hollyroths

visvita

tmtbiz

themesvault

dtsupport

limedata

zweiniger

startcb

cialis sample slea

cialis from usa <a href="http://jorconsulate.com/newen/index.php?option=com_k2&view=itemlist&task... 10 mg</a> cialis 20mg coupon [url=http://parentstem.kku.edu.tr/community/profile/cashcash6/]how to get cialis without doctor[/url]
where to buy cialis in uk tbpj
tadalafil reviews <a href="http://www.discoverbits.in/index.php?qa=user&qa_1=cashabrahamsen7">generic cialis overnight delivery</a> can you buy viagra without prescription? [url=http://paukpasyans.ru/user/HaslundCharles9/]buy medication without an rx[/url]
herbal cialis luxz
sildena <a href="https://www.treasury.gov/cgi-bin/redirect.cgi/?https://www.spreaker.com/... prescriptions without a doctor</a> cialis cost walmart [url=https://linkagogo.trade/story.php?title=diet-is-the-key-in-dealing-with-... cialis prices[/url]
drugs-med.com kckx

overnight online pharmacies rbum

walmart. cialis <a href="http://igrice-igre.biz/profile/1193349/WeinreichBoyd5.htm">cialis soft tabs 20mg</a> order cialis online usa [url=https://www.blurb.com/user/Estes45Shepa]cialis information[/url]
non prescription cialis imdc
cialis cost <a href="http://www.emozioniamoci.it/index.php?option=com_k2&view=itemlist&task=u... to purchase cialis without a prescription</a> cialis canadian pharmacy [url=http://mamasonice.com/home.php?mod=space&uid=949882]cialis in usa[/url]
daily use cialis iwrc
cialis order <a href="https://bayareahot.com/bbs/home.php?mod=space&uid=161307">cialis 5 mg daily</a> cialis sample [url=http://clicavisos.com.ar/author/balling45antonsen/]no prescription cialis[/url]
cialis. vs viagra reviews nibt

Pages

Add new comment