php/mapscript dl() [function.dl]: Unable to load dynamic libraryphp_mapscript.so'
Gregor Mosheh
gregor at HOSTGIS.COM
Tue Jun 19 07:13:46 PDT 2007
feigle Dou wrote:
> “Warning: dl() [function.dl]: Unable to load dynamic
> library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-
> 20060613/php_mapscript.so' - /usr/local/php5/lib/php/extensions/no-debug-
> non-zts-20060613/php_mapscript.so: cannot open shared object file: No such
> file or directory in /var/www/html/mytest.php on line 3”
The message says what's wrong: It can't find php_mapscript.so
Figure out where php_mapscript.so is, using Windows' find utility, or
the "find" utility under Unix, e.g.
find / -name php_mapscript.so
Then make sure that the directory it's in matches the setting you have
for extension_dir in your php.ini file.
--
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/
"Remember that no one cares if you can back up,
only if you can restore." - AMANDA
More information about the MapServer-users
mailing list