Joey,

It sounds like PHP is not telling apache that is a Content-type of
text/html. See this line in PHP.ini (which should be in c:\<windows
directory>).

  default_mimetype = "text/html"

Also, try adding a line in your httpd.conf for .html files like this:

  AddType application/x-httpd-php .html

and then see if html files do the same thing.

I have my server(s) set up this way.

-Dash

p.s. does Apache run as a service on XP Home?

-----Original Message-----
From: joey [mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 19, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: can't view php


Ok i'm using Apache 1.3.24 and PHP 4.1.2 and the windows platform is XP home
edition

yes i've added this line in my httpd.conf file
AddType application/x-httpd-php .php

"Joey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Everytime i try to view a php file on my server it prompts me to download
> the file then opens it up in word pad. I can view any other file just not
> php.
>
> Can anyone help me with this problem please?
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to