[mapserver-users] Fwd: mapscript 34 php4.0.4p11

Daniel Morissette morissette at dmsolutions.ca
Thu Dec 13 18:04:06 PST 2001


Shaik Anwar Hussain <shussain at atsincorp.com> wrote:
> 
> The erros i am getting
> 
> Warning: Function registration failed - duplicate name - ms_newmapobj in
> c:\program files\apache group\apache\htdocs\php\test.php on line 7
> 

You get this because you're attempting to load php_mapscript.dll for the
second time.  It is quite possibly that you had included a line with 
  extension=php_mapscript.dll
in your php.ini which automatically preloads php_mapscript.dll, and then
when you call dl("php_mapscript.dll") again in your script you end up
with symbol collisions.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.




More information about the MapServer-users mailing list