[ka-Map-users] Newbie: Need help with IIS configuration???

Todd Fagin tfagin at coordinatesolutions.com
Thu May 24 15:41:44 EDT 2007

Thanks to both Christopher Schmidt and Paul Spencer for their valuable


With a great deal of assistance from the web guru around here, we solved the
problem.  I send this along to the list in case someone else encounters a
similar problem in the future:


As I said, I had previously installed MS4W. Later, I installed the latest
version of PHP.  As a result of this, Mapscript was compiled to a different
version of PHP then I was running.  Once we discovered the problem, we were
able to correctly configure everything.


I am pleased to announce that Ka-Map is finally up and running on my
machine!  Now, the fun begins.


Todd Fagin


Coordinate Solutions, Inc.

501 N.E. 15th St.

Oklahoma City, OK 73104

405.740.4324 (voice)

904.471.5548 (fax)





-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at crschmidt.net] 
Sent: Wednesday, May 23, 2007 11:13 PM
To: Paul Spencer
Cc: Todd Fagin; ka-map-users at lists.maptools.org
Subject: Re: [ka-Map-users] Newbie: Need help with IIS configuration???


On Wed, May 23, 2007 at 08:33:52PM -0400, Paul Spencer wrote:

> >Warning: dl() [function.dl]: Not supported in multithreaded Web  

> >servers - use extension=php_mapscript_46.dll in your php.ini in C: 

> >\ka-map-1.0\htdocs\init.php on line 118

> >

> >Fatal error: Call to undefined function ms_newMapObj() in C:\ka- 

> >map-1.0\htdocs\init.php on line 124


> Extensions to PHP can be compiled into the PHP executable (common on  

> linux) or can be compiled as external libraries (dlls) and loaded  

> dynamically.  There are two ways to dynamically load an extension,  

> one is to add extension= in php.ini and the other is to use dl() in  

> the code.  ka-Map's init.php should be checking to see if 'MapScript'  

> is already loaded before it tries to use the dl() function.  This  

> means that, despite your best intentions, your php.ini is either  

> flawed or not being used for some reason.  To confirm this, you can:


> 1. extend your hello world to call some function only available in an  

> extension that is not already part of PHP

> 2. run it to confirm that it fails

> 3. modify your php.ini to load the extension

> 4. re-run the test to see if it works.  If it does work, then there  

> is something wrong with the mapscript extension.   If it doesn't work  

> then there is something wrong with your IIS configuration.



Note that something you can use in this case would be the 'phpinfo()'

call -- view the output, and check it for a 'mapscript' section. (And a

'gd' section, too.)




Christopher Schmidt

Web Developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20070524/be60f394/attachment.html

More information about the ka-Map-users mailing list