[Mapserver-users] php_mapscript / SWF / TTF problem
Daniel Morissette
dmorissette@dmsolutions.ca
Fri, 05 Mar 2004 11:33:38 -0500
mapserver@no-log.org wrote:
>
> I'm experiencing a strange thing. I get an 'Internal server error' when i
> try to render a layer with ttf label. There is no problem using the same
> mapfile and shp2img, all layers are well rendered including fonts.
> Same error with php_mapscript using bitmap font.
> I'm using mapserver 4.1 from cvs, freetype 2 and latest ming 0.3a . (same
> thing with ming 0.2a) .
>
> Php compiled with --without-ttf option.
>
> Apache error log says: Premature end of script headers:
> /var/www/sfd/cgi-bin/php
>
It's quite likely due to differences between PHP's builtin GD and the
copy of GD used by php_mapscript. You'll have to disable the PHP GD
module or to get PHP to use the same GD as php_mapscript (i.e. probably
the system GD).
--
------------------------------------------------------------
Daniel Morissette dmorissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users