PHP mapscript and IIS

Berlin Brown berlin.brown at GMAIL.COM
Thu Sep 16 13:38:26 PDT 2004


I am working with the php_mapscript_42 dll from

http://maptools.org/php_mapscript/index.phtml?page=downloads.html

and I working with php_4.3.8

Questions: The file size is 2MB, does this dll get loaded every time
the page is hit, I placed the dll in the php4 extensions directory.

Also, I normally get to any map generation because the php code
timesout, what normally creates this problem?

The map is really simple and it works with the mapserv.exe.

    <?php

$map_file="simple.map";
$map = ms_newMapObj($map_file);
$image=$map->draw();
$image_url=$image->saveWebImage();

    ?>



More information about the MapServer-users mailing list