PHP Mapscript bundled dlls VS Stand Alone Mapserver dlls

Bart van den Eijnden bartvde at XS4ALL.NL
Thu Mar 3 07:31:30 EST 2005


Hi,

the binaries are compiled against different versions of the ECW SDK.

E.g. the maptools binaries: version 1.6.0.92
Mapserver UMN site: version 3.0.0.38

** Maybe DMSG could upgrade their ECW SDK which is used for building the
binaries? Or provide reasons why they use such an old ECW SDK **.

For some parts of Mapserver (like GDAL) there can be dependencies between
the mapserv binary and the gdal12.dll. So it is not advisable to just copy
in different dll's next to a mapserver binary in general.

So what you can do is keep the dll's that come with a binary (mapserv.exe
or php_mapscript.dll) next to the executable for mapserv.exe
(cgi-bin/mapserv/ directory e.g.), and for mapscript somewhere in the
Windows path (/php/dlls e.g.).

Hope this helps.

Best regards,
Bart

> A question:
>
> I just downloaded and installed Mapsever 4.4.1 binaries for Windows
> (ms441pg).
> Then I downloaded mapserver-4.4.1-win32-php4.3.7.zip by DM Group.
>
> I saw is a lot of difference in file size on the major dlls.
> For example NCSEcw is about 1Mb for standalone version, and is
> about 180Kb for MapScript bundled version.
>
> I'm a bit confused on the right version to use. Currently
> I use MapServer both via direct cgi-requests and both via PHP-MapScript.
> Both works (or it seems to works) fine using one version of dlls or the
> other (I done so with ECW dlls, for example), but what's correct to do
> in this situation ?
>
> Thanks
>     Piero
>



More information about the mapserver-users mailing list