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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

Reply via email to