Page Cannot Be Displayed error


#1

I have installed Apache 2.0.49, Mysql 4.0.18 and PHP 4.3.6 on my
Windows XP Pro system.

The problem is that If I go to localhost html pages are displayed
with no problem but if I go to phpinfo.php I just get cannot find server,
page cannot be displayed.

There are no entries in the error logs and If I run php -i from the
command line there are no errors showing.

The access logs show a 200 response

127.0.0.1 - - [27/Apr/2004:21:06:19 +0100] “GET /phpinfo.php HTTP/1.1” 200 34396

you can view my httpd configuration here

http://www.foreverblue.freeserve.co.uk/httpd.txt

Any help appreciated :)


#2

Could you also provide the php.ini (in a text format)?

Thanks

EDIT: Disregard above…

Add to your httpd.conf file the following:


    #
    # PHP 4.x, use:
    #if you want to parse html and/or htm files then add them to the list 
    # seperated by a space
    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php .php4 .php3 .phtml 
        AddType application/x-httpd-php-source .phps
    </IfModule>

You need to add the above so apache knows to send it to the PHP preprocessor.