Premature end of script headers: mapserv.exe

Spencer Cox spencer.cox at TESERA.COM
Fri May 13 19:06:09 EDT 2005


I am trying to add Mapserver to a web server running Apache/2.0.54
(Win32) PHP/5.0.4.  I've tried a few binary builds and they seem to
result in the same internal server error message.  I am able to access
mapserv.exe -v with the command line and the version information looks
correct.  When I try and access it through a web browser the internal
server error comes up.  It writes the following to my Apache error logs:

[Fri May 13 16:51:19 2005] [error] [client 127.0.0.1] Premature end of
script headers: mapserv.exe
[Fri May 13 16:51:19 2005] [error] [client 127.0.0.1] File does not
exist: D:/Server/Website/favicon.ico

Anyone have any recommendations on what to do or where to look.  Is
there any detailed documentation on configuring Mapserver for Apache?
I've added the dll directory to the system PATH and created a variable
for the Proj.  I haven't been able to add the PHP extension
php_mapscript_45.dll (when I try it says the specified module cannot be
found) even though its with the other php extensions, and referred to
correctly in the php.ini file...Maybe this relates to the problem.

I've pretty much exhausted my limited knowledge trying different
things.  If anyone has any suggestions of things to try, or relevant
documentation I thank you in advance!

Have a good one!

--
Spencer Cox - GIS Specialist
Tesera Systems Inc.
Tel: (403) 932-0440
Mailing Address: Box 1078, Cochrane AB, T4C 1B1
Street Address: 126A River Avenue, Cochrane AB T4C 2C2
Web: www.tesera.com



More information about the mapserver-users mailing list