[ka-Map-users] Unable to load './php_mapscript_46.so'

Daniel Morissette dmorissette at dmsolutions.ca
Thu Jul 28 10:56:49 EDT 2005

Adam wrote:
> I'm installing ka-map for the first time and I'm getting this error:
> *Warning*: dl() [function.dl <>]: 
> Unable to load dynamic library './php_mapscript_46.so' - 
> ./php_mapscript_46.so: cannot open shared object file: No such file or 
> directory in */www/htdocs/ka-map/init.php* on line *41*

The first thing to do would be checking the "extension_dir" setting in 
your php.ini. At the moment it must be set to "./" and you need to set 
it to point to the directory where your PHP extensions reside, and then 
copy php_mapscript_46.so there.

Another option could be to copy php_mapscript_46.so to the ka-map/htdocs 
directory (so that loading path "./php_mapscript_46.so" will work), but 
putting extension binaries in a web-accessible directory is not very 

  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/

More information about the ka-Map-users mailing list