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



On Oct 31, 11:19 am, "Rik Wasmus" <luiheidsgoe...@xxxxxxxxxxx> wrote:
On Wed, 31 Oct 2007 19:07:13 +0100, BDE Consulting





<brent.pa...@xxxxxxxxxxxxxxxxx> wrote:
On Oct 31, 10:56 am, Good Man <he...@xxxxxxxxxx> wrote:
4sak3n 0ne <4sak3n...@xxxxxxxxx> 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).
--
Rik Wasmus- Hide quoted text -

- Show quoted text -

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?

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.


.



Relevant Pages

  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... Apache as the global web server user and thus needs world write ...
    (alt.php)
  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: Apache vs IIS
    ... my Windows Server not on my Linux Server so there for I would ... IIS is designed for ASP, ... can run asp on Apache, ... in running php from IIS vs Apache. ...
    (alt.php)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: openssl extension not loading (need to open https stream)
    ... you configured PHP?" ... I have also enabled the openssl extension and made sure it is ... in the extension folder. ... the apache module ...
    (comp.lang.php)