RE: [PHP-WIN] Re: can't view php
| From: | Dash McElroy | Date: | Fri, 19 Apr 2002 16:38:00 +0000 |
| Subject: | RE: [PHP-WIN] Re: can't view php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13194@lists.php.net to get a copy of this message | ||
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:just.joey@multiweb.nl]
Sent: Friday, April 19, 2002 8:25 AM
To: php-windows@lists.php.net
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" <just.joey@multiweb.nl> wrote in message
news:20020418221847.57470.qmail@pb1.pair.com...
> 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