[Mapserver-users] RH8 and GD

woodbri at swoodbridge.com woodbri at swoodbridge.com
Tue Mar 4 10:26:02 PST 2003


John,

Can you post a simple script that does this so I can try it on my 
config.

Thanks,
  -Steve W.

On 4 Mar 2003 at 9:31, Arthur, John wrote:

> 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
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the MapServer-users mailing list