Re: Apache and IIS together?
| From: | PETCOL | Date: | Mon, 26 Jan 2004 13:21:00 +0000 |
| Subject: | Re: Apache and IIS together? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22658@lists.php.net to get a copy of this message | ||
I already found the answer; just had to read a bit ;-)
In the
httpd.conf file I had to add the following lines:
# To allow PHP to run under Apache2
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Thanks
Col
"Petcol" <colin_blunt@petcol.com> wrote in message
news:20040126130947.53785.qmail@pb1.pair.com...
> Hi,
>
> I have PHP working fine on my localmachine under IIS.
>
> I've just installed Apache2, on port 8080, it's publishing HTML fine at
> http://localhost:8080 but if I create a PHP file and try and
> output
> something like:
>
> <?php
> phpinfo();
> ?>
>
> I get a blank page, I've only installed the .msi version of Apache, and I
> had already installed PHP, did I need to do something else, chance the
> configuration files to point to PHP?
>
> Regards
> Col