[Mapserver-users] php_mapscript / SWF / TTF problem
Daniel Morissette
dmorissette at dmsolutions.ca
Fri Mar 5 08:33:38 PST 2004
mapserver at 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 at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list