You are probably running it as a cgi, if that's the case, you'll have to add
the following lines to your httpd.conf inside the <IfModule mod_mime.c>
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
These will let Apache know how to handle .php files and will probably do the
trick.
HTH,
Fernando Madruga
-----Original Message-----
From: Daniel [mailto:[EMAIL PROTECTED]]
Sent: quinta-feira, 15 de Março de 2001 1:57
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Download Prompt Problem
I am very new to php, but i tried to install it and i followed the
directions i think... But everytime i try to view a .php document in IE it
prompts me to download the file instead of viewing it in the browser. And
when I do download the file and run it, it opens it up in a "Command Prompt"
and runs a bunch of html syntax really fast, I am thinking that is my php
configuration that i am supposed to see in my browser. Is there an extension
problem or something? .php extensions are set to run the /php/php.exe file
but I cant figure anything out. I am running apache on windows 2000.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]