Re: Installation problem with NT
| From: | Brad Harriger | Date: | Tue, 04 Sep 2001 15:49:47 +0000 |
| Subject: | Re: Installation problem with NT | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4193@lists.php.net to get a copy of this message | ||
I was accessing the file directly. When I try requesting it via the webserver, I
get a 500 error with the following line in the error log:
[Tue Sep 04 11:46:30 2001] [error] [client 127.0.0.1] Premature end of script
headers: c:/php/php.exe
Brad
Phil Driscoll wrote:
> On Tuesday 04 September 2001 4:21 pm, Brad Harriger wrote:
> > httpd.conf contains
> >
> > ScriptAlias /php/ "c:/php/"
> > AddType application/x-httpd-php .php
> > Action application/x-httpd-php "/php/php.exe"
> >
> > When I try to access a page, I'm asked if I want to open the file using
> > php.exe or save it to a disk.
> >
> The httpd.conf stuff looks fine. Are you sure you are requesting the page via
> the webserver (http://localhost/mypage.php or whatever) rather than accessing
> the file directly? Do plain html pages work ok?
>
> Cheers
> --
> Phil Driscoll