You are here: Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY?????? « PHP Programming Language « IT news, forums, messages
Re: Multiple Domains; 1 Server; 1 PHP Install; Only One Domain Has A Working PHP; WHY??????

Posted by BDE Consulting on 10/31/07 18:34

On Oct 31, 11:21 am, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> On Wed, 31 Oct 2007 19:19:38 +0100, Rik Wasmus
>
>
>
>
>
> <luiheidsgoe...@hotmail.com> wrote:
> > On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting
> > <brent.pa...@bdeconsulting.com> wrote:
>
> >> On Oct 31, 10:56 am, Good Man <he...@letsgo.com> wrote:
> >>> 4sak3n 0ne <4sak3n...@gmail.com> wrote in news:1193853270.595836.40440
> >>> @z24g2000prh.googlegroups.com:
>
> >>> > One possibility is that your AddType for php is within a virtual
> >>> hosts
> >>> > (assuming you have Apache). Check to make sure that AddType
> >>> > application/x-httpd-php .php is outside of all virtual hosts.
>
> >>> > Thats all I could think of at the moment.
>
> >>> that's my hunch too.
>
> >>> i'd put money down on this being a "httpd.conf" issue.
>
> >> 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).
>
> BTW: the PHP enabled site uses ISAPI, so I'd use that route for the other
> domains too.
> --
> Rik Wasmus- Hide quoted text -
>
> - Show quoted text -

I did the following a year or so ago. Is there something I have to do
for each site, home directory, etc.?

With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service
Extensions, choose "Add a new Web service extension", enter in a name
such as PHP, choose the Add button and for the value browse to either
the ISAPI file (php4isapi.dll or php5isapi.dll) or CGI (php.exe or php-
cgi.exe) then check "Set extension status to Allowed" and click OK.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация