problem with php_mapscript.so from mapserver-php-4.6.0beta3-mh1.i686.rpm

Paul Scott pscott at UWC.AC.ZA
Sun Jun 12 23:27:05 PDT 2005


On Sun, 2005-06-12 at 21:03 -0700, Guillermo
Mart=?ISO-8859-1?Q?=EDnez?= 
> PHP Warning:  Unknown(): Unable to load dynamic library
> '/usr/lib/php4/php_mapscript.so' - /usr/lib/php4/php_mapscript.so:
> undefined symbol: php_gd_gdImageCopy in Unknown on line 0
> 
> However, I have installed in my system the php_gd libray:
> php-gd-4.3.11-2.5.
> 
Guillermo,

In the script calling the mapscript binary, you need t dynamically load
the mapscript api. try this at the top of your script:

<?php
dl("php_mapscript.so");
..
...
?>

Also check that the mapscript binary is in your path, /usr/lib/php4/

--Paul   



More information about the MapServer-users mailing list