Premature end of script headers...

Jeff Portwine jdport at VERITIME.COM
Mon Jan 3 12:54:36 EST 2005


I actually did try copying all of the .dll's into the c:\windows\system32
directory, and I still was getting the error.    I've just started working
through the tutorials at http://terrasip.gis.umn.edu/projects/tutorial/ and
the first couple of examples are working fine.   However, running the
mapserv demo (http://mapserver.gis.umn.edu/demo_readme.html) gives me the
premature end of script: mapserver  error every time.     I'm going to
continue working through  the terrasip tutorials until I hit a point where
they fail and I start getting the error and maybe I can determine what
exactly causes the error to occur.

In Linux I got through the compilation but I had a lot of problems with a
similar error,  premature end of script.  Except instead of giving premature
end of script: mapserv, I was getting premature end of script: php.
There were a lot more complications under linux also, with so many
supporting librarys required,  having it attempting to load the wrong
versions of libs, etc.   This is why I decided to try a precompiled win32
version, because I thought it would be a lot simpler and I could concentrate
on learning how mapserver worked and then go back to attempting to run it
under linux with a little more knowledge of what I was working with.

-Jeff
----- Original Message -----
From: "Wim Blanken" <w.blanken at GEON.NL>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Monday, January 03, 2005 12:03 PM
Subject: Re: [UMN_MAPSERVER-USERS] Premature end of script headers...


> Hello Jeff,
>
> My experience untill now is that you have to copy all dll's into the
> directory WINDOWS\SYSTEM32.
> I think that the webserver user (apache?) has no rights to load the dll's
> from your mapserver directory.
> How did you install mapserver on linux, did you get compile errors of some
> kind?
>
> Regards,
>
> Wim Blanken
> The Netherlands
>
> ----- Original Message -----
> From: "Jeff Portwine" <jdport at VERITIME.COM>
> To: <MAPSERVER-USERS at LISTS.UMN.EDU>
> Sent: Monday, January 03, 2005 4:03 PM
> Subject: [UMN_MAPSERVER-USERS] Premature end of script headers...
>
>
>>I was having a lot of problems with my linux install of mapserver, simply
>> trying to get the demo to run, so finally I changed my approach and
>> attempted to install mapserv on a windows xp web server (apache 2).
>> When
>> I run mapserv without any options, I get the proper response from mapserv
>> but as soon as I try to make it run the demo, mapserv crashes and I get
>> "internal server error" and the following shows up in my web error logs:
>>
>> [Mon Jan 03 09:54:11 2005] [error] [client 208.251.242.95] Premature end
>> of
>> script headers: mapserv40.exe, referer:
>> http://solo.veritime.com/workshop/
>>
>> When I first installed mapserver, I was having the same problem even when
>> I
>> ran mapserv.exe without any options.   Copying all of the dll's into the
>> directory mapserv.exe was being called from fixed that... but now I get
>> this
>> as soon as I attempt to view a map.   If anybody has any suggestions it
>> would be greatly appreciated, I'm  really struggling to get this working
>> and
>> to learn how to use it.
>>
>> Thanks,
>> Jeff
>>
>>
>



More information about the mapserver-users mailing list