RE: [PHP-WIN] Download Prompt Problem

From: Date: Thu, 15 Mar 2001 09:15:47 +0000
Subject: RE: [PHP-WIN] Download Prompt Problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-6050@lists.php.net to get a copy of this message
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:eh@eh.com] Sent: quinta-feira, 15 de Março de 2001 1:57 To: php-windows@lists.php.net 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: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#6050) next »