[mapserver-users] php

root root at shadow.munistgo.cl
Tue Sep 10 09:42:49 EDT 2002


El Lun 09 Sep 2002 01:01, Vinko Vrsalovic escribió:
> 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.

I have installed and working mapserver3.5 like DSO and php_mapscript.so is in 
/usr/local/lib 

As say over extension_dir is ./

I have tried copy it in /usr/local/lib/php/extensions, but nothing
the user for it is nobody

I don't know, what i have to do

Thanks



More information about the mapserver-users mailing list