[Mapserver-users] problems loading mapscript dll

Emil Zegers EZS at DeStraat.NL
Mon May 24 02:13:11 EDT 2004

The problem is probably not the php_mapscript_4.0.2.dll but one of it's dependent dll's.

Make sure you copied the dll's that come with the PHP installer from c:/php/dlls to the windows system directory (c:/winnt/system32). Especially make sure iconv.dll is there.

Also check that the IUSR has sufficient rights on the c:/php/extensions directory.

A handy tool to check dependencies on the fly is filemon from www.sysinternals.com Run it, put a filter on the php_mapscript_4.0.2.dll and check for error messages with missing dll's (file not found).


>>> "TCHaddad" <TCHaddad at cshore.com> 05/22/04 01:33am >>>
hello all,

we're setting up a new server: w2k/IIS5. PHP4.3.4 installed & tested as OK. 

we put php_mapscript_4.0.2.dll in c:\PHP\extensions\

we set extension_dir directive in php.ini to:
 extension_dir = "c:\PHP\extensions"

when we then test using  dl("php_mapscript_4.0.2.dll"); we get the following error:

Warning: dl(): Unable to load dynamic library 'c:\PHP\extensions\php_mapscript_4.0.2.dll' - The specified module could not be found. in c:\tmp\test.php on line 2

this seems pretty basic, but after trying several locations
we are stumped at this point. Any pointers?


Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 



 This message has been checked for all known viruses

More information about the mapserver-users mailing list