[Mapserver-users] Segmentation Fault -- reference image -- PHP

Ed Martin edman007x at mac.com
Tue Dec 2 19:50:41 EST 2003


thanks that stopped the segmentation fault, php was using the bundled 
version of gd, making it use the one installed on my system fixed it, 
strange though both the version on my system and php's bundled one are 
both 2.0.15, i thought that means they are exactly the same

well thanks

On Tuesday, December 2, 2003, at 03:58  PM, Daniel Morissette wrote:

> Ed Martin wrote:
>> i am using the map file and map stuff from the cvs mapserver (did not 
>> compile from cvs, i used the stable version 4.0.1) and when i try to 
>> get the reference image using a very simple script i get the jpeg 
>> header an then a segmentation fault when run in the command line and 
>> a blank page when in a browser, turning off the jpeg header still 
>> gives me a blank page
>> here is the php file i am using
>
> It could be that your php_mapscript.so and your PHP itself were 
> compiled with conflicting versions of GD and/or freetype.  It could 
> also be that you have multiple versions of GD on your system and the 
> wrong one is loaded at runtime.
>
> Use phpinfo() to see if PHP has GD enabled, if it does then either 
> disable the PHP GD extension or make sure that both PHP and MapScript 
> use the same GD version.  Also make sure that there is only one copy 
> of libgd.so and of the GD headers on your system.
>
> Daniel
> -- 
> ------------------------------------------------------------
>  Daniel Morissette               morissette at dmsolutions.ca
>  DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
>




More information about the mapserver-users mailing list