<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm installing ka-map for the first time and I'm
getting this error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><STRONG>Warning</STRONG>: dl() [<A
href="http://192.168.0.3/ka-map/function.dl">function.dl</A>]: Unable to load
dynamic library './php_mapscript_46.so' - ./php_mapscript_46.so: cannot open
shared object file: No such file or directory in
<B>/www/htdocs/ka-map/init.php</B> on line <B>41</B><BR><BR><B>Fatal error</B>:
Call to undefined function ms_newMapObj() in <B>/www/htdocs/ka-map/init.php</B>
on line <B>44</B></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV>I substituted "$szPHPMapScriptModule =
'php_mapscript_46.'.PHP_SHLIB_SUFFIX;" with "$szPHPMapScriptModule =
"/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.so" but that didn't
work.</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I compiled mapserver with PHP. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>How exactly should I be configuring
$szPHPMapScriptModule?</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is every php_mapscript* file on my
sytem:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@localhost ka-map]# find / -name
"php_mapscript*"<BR>/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript_util.o<BR>/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.o<BR>/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.h<BR>/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript_util.c<BR>/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.so<BR>/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.c<BR>/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript_util.h<BR>[root@localhost
ka-map]# find / -name
"php_gd*"<BR>/usr/local/src/webserver/php-5.0.4/ext/gd/php_gd.h<BR>/usr/local/src/webserver/php-5.0.4/ext/dba/php_gdbm.h<BR>[root@localhost
ka-map]#</FONT></DIV>
<DIV><BR></DIV></BODY></HTML>