Re: Apache+ PHP + Netscape 7.0
| From: | Rasmus Lerdorf | Date: | Fri, 09 Aug 2002 02:55:26 +0000 |
| Subject: | Re: Apache+ PHP + Netscape 7.0 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15185@lists.php.net to get a copy of this message | ||
You are going through http:// not file:// right?
On Thu, 8 Aug 2002, Andrew V. Romero wrote:
> I am currently running Apache 2.0.39 and PHP 4.2.2 (module version)
> under Win XP Home for offline testing of scripts. I have found that if
> I try to load any php pages in netscape 7.0 (preview release version 1),
> it brings up a dialog box asking should it save the file or open it,
> opening it brings up a list of programs and it wants me to pick one to
> open the file with.
>
> I have found that if I change the http.conf line from AddType
> application/x-httpd-php .php to AddType application/x-httpd-php .php4,
> then netscape brings up the page, but it displays the PHP code instead
> of parsing it and displaying it like it should. Everything appears to
> work fine if I use internet explorer to open my local php pages.
> Netscape opens php pages that are on the internet fine. There are
> currently no applications that netscape is set to open php pages with.
> This doesn't make sense to me, why would apache be serving the my local
> php pages correctly to internet explorer but not serving them correctly
> to netscape?
>
> Anyone have any ideas that I can try?
>
> -Andrew V. Romero
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>