[Mapserver-users] MapScript Installation Problem

Thomas Lynen Thomas.Lynen at regioit-aachen.de
Tue Feb 10 03:41:40 EST 2004


Hi all,
yesterday i try to install the MapServer and MapScript.
I install the Apache ( apache_1.3.28-win32-x86-no_src.exe ), PHP as CGI ( php-4.3.3-installer.exe ) and extract the MapServer Zip File ( mapserver-4.0.1-win32-php4.3.3.zip )
I follow the instructions in the README.txt ( which was in the mapserver-4.0.1-win32-php4.3.3.zip ).

I copy all dlls in the Windows/System32 directory ( pdflib.dll, libpq.dll, libcurl.dll, xerces-c_1_6_0.dll, gdal11.dll and all dlls from ECW_DLL.zip )

Now, the readme say i must add the php_mapscript_4.0.1.dll as a php extension.
i change the php.ini
extension_dir = "./extensions" ( i also try "./", "./extensions/" and "c:/php/" )
...
extension=php_mapscript_4.0.1.dll

enable_dl = On ( can't be wrong )

Of course i copy the MapScript Dll ( together with the php_proj.dll ) in the correct directory.

I copy the php_mapscript_4.0.1.dll to c:\php\extensions\ but if a start a php file like http://localhost/index.php a error orrcure because they don't found the dll.
Message  : Unkown(): Unable to load dynamic library './extensions\php_mapscript_4.0.1.dll' - Das angegebene Modul wurde nicht gefunden.

I also test it with php_mapscript_36.dll
Whe i add a other dll ( php_gd2.dll ), this dll could be found.
I don't compiled any files, i use the precompiled files.

I have additionally read the http://mapserver.gis.umn.edu/doc/phpmapscript-install-howto.html#example but i t was not realy helpful.

I use Windows 2K with SP 3 and Windows XP  with SP 1

I hope someone could help me.

regards

Thomas Lynen








More information about the mapserver-users mailing list