I too am having much the same problem. I followed the installation
instructions carefully.

I installed Apache on WinXP system to the directory c:\apache. Documents are
in c:\apache\htdocs. the php.ini is in both c:\windows and c:\apache (just
in case). Apache is running as a service and it is running (plus I've tried
stopping and starting and restarting). In c:\apache\conf the httpd.conf file
has been modified to have these two directives

    LoadModule php4_module c:/apache/php/sapi/php4apache.dll
   AddType application/x-httpd-php .php

The file I am trying to access is "test.php" in c:\apache\htdocs and has
only one line (below)

<?php phpinfo(); ?>

I try to access it by opening a browser, (IE6) and opening document
http://localhost/test.pnp
I get the "FILE DOWNLOAD" dialog box asking me if I want to save or open the
file and if I want to open it, open it with what. It's clear the system is
not recognizing the PHP suffix.

I know I've missed something or not changed something correctly but for the
life of me I can't figure out what it is. It worked briefly on one system
and then stopped working (same symptoms as above) after MYSQL was installed.
I've just done a completely new Apache Install and PHP on another system.
Unfortunately same problem.

Any suggestions or areas I could check would be greatly appreciated.

Thanks,
Jim


"Shadow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You didn't give much info...........did you configure Apache?  Where is
the
> document root?  Is that where you are saving or trying to access the
files?
> Did you configure PHP?  Where is its document root?  Is Apache running?
What
> do the error logs say for Apache and PHP?  And so on.
> Shadow

Reply via email to