[Mapserver-users] RH8 and GD

Arthur, John John.Arthur at T-Mobile.com
Tue Mar 4 12:31:14 EST 2003


This is not only related to Mapscript, but anything related to gd and php.  I have read and followed the http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat8AndMapserver37 to a "T".  Everything compiles fine and normal php scripts run great.  But, every time I run a php script that outputs an image using the gd library (jpgraph, mapscript, or gd examples) Apache returns this error: 

------------------------------

Server error!

The server encountered an internal error and was unable to complete your request. 

Error message: 
Premature end of script headers: php 

If you think this is a server error, please contact the webmaster 

Error 500

localhost
Tue 04 Mar 2003 12:20:18 PM EST 
Apache/2.0.40 (Red Hat Linux) 

------------------------------

There is nothing in the logs except "Premature end of script headers: php".  I have tried this with PHP 4.3.1 - GD 2.0.11 and PHP 4.2.3 - GD 2.0.7, with the same results.  Does anybody have a clue what the issue might be?  Is it related to Apache 2.0?  BTW, the mapserv cgi using the Itasca demo works just great.

Thanks,

John Arthur
RF Technician
Office:   (757) 490-7221
Cellular: (757) 839-0021
Email: john.arthur at t-mobile.com
T-Mobile USA
Get more from life



More information about the mapserver-users mailing list