[Mapserver-users] RH8 and GD

Vinko Vrsalovic vinko at cprsig.cl
Tue Mar 4 10:20:53 PST 2003


Are you sure that PHP is using/finding the same GD library which it was compiled
against?

On Tue, Mar 04, 2003 at 09:31:14AM -0800, 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

-- 
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl



More information about the MapServer-users mailing list