[maplab-users] having problem install mapserver

Paul Spencer
Mon, 09 Dec 2002 21:45:53 -0500

I am assuming that you want to use MapLab.  If not, please ask this 
question on the mapserver users mailing list (available through

you should find the php extensions in the extensions directory of your 
php installation.  Normally, I would get the win32 binary package in zip 
format and extract to c: and rename the directory something like:


for php version 4.2.3

I'm not exactly sure how to set up PHP to work with IIS/PWS but there 
are instrustions in the PHP documentation that you should use, try the 
online version at:


At this point you should be able to create a page called phpinfo.php in 
your web root with the following contents:

<? phpinfo(); ?>

and then access it from http://localhost/phpinfo.php.

If you have php set up right, you will see a lovely lot of output that 
describes your current php installation.  If it didn't work, you have to 
keep trying to get it to.  I can't really help much unless you get past 
this point.

Once you have a working PHP installation with your Web Server, you then 
need to install mapscript (you do _NOT_ need the mapserv.exe CGI to make 
maplab work.  MapScript is mapserver in a PHP compatible library). 
Simply copy php_mapscript.dll to c:\php423\extensions and copy the 
libwww DLLs to c:\windows\system32 or some other directory in your path.

At this point, you should be able to modify your phpinfo.php script to read:

dl( "php_mapscript.dll" );

and access it through http://localhost/phpinfo.php.  If all went well, 
you should have no error message at the top of the page and you should 
find a MapScript section somewhere in the page.

Now you can follow the maplab installation instructions.



Bun Him Dara wrote:
> HI all
> Please help me I am new to this.
> in the instruction install mapserver it say
> <To install the MapServer CGI program, copy mapserv.exe to the CGI-BIN
> directory of your WWW Server. (In Microsoft's IIS, this is either in
> "C:\Inetpub\Scripts" or "C:\Inetpub\wwwroot\cgi-bin". In Apache, this is 
> usually
> in "C:\Program Files\Apache Group\Apache\cgi-bin".)>
> i am using window 2000 i don't see cgi-bin neither script ( i use the 
> installpack php to make it work with IIS)
> and another question is how can I fine the extension
> php_dbase.dll
> php_gd.dll
> Thank in advance
> Dara

Paul Spencer
Applications and Software Development
DM Solutions Group Inc.

This archive was generated by Pipermail.