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


-- 
PHP Install 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