This Problem I already had.
under my mail is a cut of my httpd.conf witch runs under my win2k. Your
Problem is that your apache can't understand ".php" so you had to tell him
what should happen with a file where at the end ".php" is. Therefor add the
lines with "AddType application ...".
I hope this helps you.
by

Hoth


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



-----Original Message-----
From: olinux [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 07, 2001 1:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] win2k - apache - php files open as text


hey all- i have reformatted and do not know why this will not work.

I am running  win 2k and apache [as a service]
i have configured the http.conf file as all documentations say to, yet when
i open a php file in IE it prompts to "save file to disk" "open from current
location" - if i choose open it displays the script as text.

Please help if you can - i have wasted the entire day ...

thanks much
olinux




-- 
PHP Database 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]

Reply via email to