[ms4w-users] Unable to load dynamic library
Jeff McKenna
jmckenna at dmsolutions.ca
Wed Jul 27 19:07:12 EDT 2005
The mapscript dll name is 'php_mapscript_46.dll' in MS4W v1.2.1, I think
you are specifying the wrong dll name.
give that a shot.
jeff
huynt wrote:
> My example is "Hello World", two files attacks is source code of my example
> I copied it into \apps\myexample\ directory and config. When i run it,
> the result is*: Warning*: dl(): Unable to load dynamic library
> '/ms4w/Apache/php/extensions/php_mapscript.dll'
> but i run gmap example then i don't get any errors.
> I use MS4W v1.2.1
>
> ------------------------------------------------------------------------
>
> draw(); $image_url=$image->saveWebImage(); ?>
>
> This is the simplest example I could come up with. It doesn't even use
> any data files, just draws some text. Use this to test your new
> installation of Mapserver and PHP/Mapscript.
>
>
> Source for all recipes:
> http://www.mobilegeographics.com/mapserver/MSrecipes.tar.gz
>
>
> return to Mapserver Recipes
> <http://www.mobilegeographics.com/mapserver/>
>
>
> ------------------------------------------------------------------------
>
> MAP
> NAME HELLO
> STATUS ON
> EXTENT 0 0 4000 3000
> SIZE 400 300
> IMAGECOLOR 200 255 255
> WEB
> IMAGEPATH "/var/www/html/tmp/"
> IMAGEURL "/tmp/"
> END
>
>
> LAYER
> NAME "credits"
> STATUS DEFAULT
> TRANSFORM FALSE
> TYPE ANNOTATION
> FEATURE
> POINTS
> 200 150
> END
> TEXT 'Hello world. Mapserver rocks.'
> END
> CLASS
> LABEL
> TYPE BITMAP
> COLOR 0 0 0
> END
> END
> END
>
>
> END
>
--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the ms4w-users
mailing list