Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????



On Wed, 31 Oct 2007 19:28:39 +0100, BDE Consulting <brent.payne@xxxxxxxxxxxxxxxxx> wrote:
> Tell me more and does it apply in a windows environment as well? I am
> running MS Server 2003 Standard Edition

Just follow the direction from the manual:http://nl2.php.net/manual/en/install.windows.iis.php

So, if you can use the Internet Information Services Manager, get the
properties of the different sites and follow the directions (when you're
not sure about a choice, you can even peek at your allready configured
domain what to do).

I have already done this (about a year ago) . . . isn't the below all
I need to do or did I miss something. In IIS6 isn't it just one
setting not something I have to do for each home directory/domain?

AFAIK (my IIS experience is very limited): for every single home directory/domain, you can add this in the configuration. Also a possibilty was get the properties of 'Web Sites', and add the ISAPI module there if it isn't allready (properties->ISAPI filters->add). These values for 'Web Sites' can be overridden, so if that still doesn't work, check the configuration the same wat of all your home directories.

In order to use index.php as a default content page, do the following:
From within the Documents tab, choose Add. Type in index.php and click
OK. Adjust the order by choosing Move Up or Move Down. This is similar
to setting DirectoryIndex with Apache.

This too can be set 'globally' for 'Web Sites', or per home-directory/domain.
--
Rik Wasmus
.