[mapserver-users] php

Vinko Vrsalovic vinko at cprsig.cl
Mon Sep 9 01:01:08 EDT 2002


On Fri, Sep 06, 2002 at 10:10:03AM -0400, root wrote:
> i installed apache_1.3.26, php_4.1.1 y mapserver_3.6.1.
> PHP was installed as CGI
> 
> MapServer version 3.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ 
> SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR 
> INPUT=GDAL INPUT=SHAPEFILE
> 
> I copy php_mapscript.so to /usr/local/lib as nobody user
> 
> but phpinfo say me:
> 
> Warning: Unable to load dynamic library './php_mapscript.so' - 
> ./php_mapscript.so: cannot open shared object file: No such file or directory 
> in
> /www/htdocs/phpinfo_mapscript.phtml on line 21
> 
> extension_dir                         ./
> Regex Library                        System library enabled
> Dynamic Library Support         enabled
> 
> Thank in advance
> Patricio

is /usr/local/lib the extensions dir? it's usually something like
/usr/local/lib/php/extensions

in phpinfo is detailed what is the extensions dir.

-- 
Vinko Vrsalovic <vinko[|- at -|]cprsig.cl>
http://www.cprsig.cl



More information about the mapserver-users mailing list