[ka-Map-users] install ka-Map into xampplite
Paul Spencer
pspencer at dmsolutions.ca
Thu Jul 26 10:57:34 EDT 2007
Regine,
it sounds as if xampplite loads php as an apache module rather than
as a CGI. As the error message indicates, when PHP is used in this
way, the dl() function is disabled. ka-Map attempts to load two
dynamic modules, gd and mapscript, if they are not already loaded.
The fix for this is to edit your php.ini file and ensure that you are
loading these two extensions.
extension=php_mapscript_48.dll
extension=php_gd2.dll
note that the first line depends on the version of mapscript that you
are using, so please check and see what the actual file name of the
php_mapscript DLL is.
Cheers
Paul
On 26-Jul-07, at 5:07 AM, Regine Weber wrote:
> Hello,
>
> I'm writing my diplomathesis. For this I need a MapServer with a
> DataBase and as map environment I want to use ka-Map. That's why I
> want to use xampplite as WebServer and install ka-Map. But there is
> a problem and two questions. Does anybody know if it's possible to
> install ka-Map in xampplite. I tried this, but there is still no
> map visible. I reached that I could see the ka-Map sample interface
> and the text "The application is loading. Please wait a moment."
> But nothing else happens. I also tried to type localhost/kamap/
> init.php in my browser and here's the answer "Warning: dl()
> [function.dl]: Not supported in multithreaded Web servers - use
> extension=php_mapscript_48.DLL in your php.ini in D:\xampplite
> \htdocs\kamap\htdocs\init.php on line 118
> Fatal error: Call to undefined function ms_newMapObj() in D:
> \xampplite\htdocs\kamap\htdocs\init.php on line 124".
> The map file I used is ok - I tried this in MS4W (there all is
> running perfect).
>
> Can anybody tell me, what's wrong with the files on my WebServer.
> Do I have to change something in a file or do I have forgotten
> something. Every idea can help -I really don't know what else to do.
>
> Thank you very much for your help.
>
> Best regards
> Regine
> <elephant_gr.gif><faint_grain.jpg><elephant_gr.gif>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Chief Technology Officer |
|DM Solutions Group Inc http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+
More information about the ka-Map-users
mailing list