Re: Apache and IIS together?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
20040126130947.53785.qmail@pb1.pair.com">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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux