Click to See Complete Forum and Search --> : PHP/Apache/Win2K


Anon
06-27-2002, 01:03 PM
Hello all,

Here's my problem. I've read through all the help files and finally got Apache to fire up with PHP. But when visiting the page and trying to access a .php file, it asks you if you want to download or save the file. What's up with that? What have I forgotten?

Thanks!

linus
06-28-2002, 01:18 AM
I might not know what I'm talking about, but it sounds like you might have omitted this line in httpd.conf, defining how to serve a PHP file:

AddType application/x-httpd php .php4 .php .htm .php3 .inc