[FGS] loading php_mapscript.so
dmorissette at mapgears.com
Wed Jul 30 07:26:58 EDT 2008
Sounds like the PHPRC variable is not set properly. There was an old bug
about this that may not have been fixed yet:
Norm, can you please check that?
Jeff McKenna wrote:
> Hi everyone,
> I am using FGS 1.0 with mapserver-php:5.2.0 module. All is fine, except
> when I try to load php_mapscript.so in the following script:
> if (dl( "php_mapscript.".PHP_SHLIB_SUFFIX ))
> The error I get is extremely odd:
> Warning: dl() [function.dl]: Unable to load dynamic library
> cannot open shared object file: No such file or directory in
> /home/jeff/fgs/www/htdocs/phpinfo_mapscript.php on line 2
> That path is no-where in my environment. My $FGS_HOME is a simple
> /home/jeff/fgs/. I do not have a "/home/fgs/fgs-dev" path.
> A straight phpinfo shows odd values of things like the path to php.ini
> being "/home/fgs/fgs-dev/built/php/lib "....which does not exist on my
> I have checked the values in /home/jeff/fgs/www/conf/php.ini.template
> and proper values (such as extension_dir path) exist.
> Anyone see what I am doing wrong?
> Jeff McKenna
> FOSS4G Consulting and Training Services
> Foss-gis-suite mailing list
> Foss-gis-suite at lists.maptools.org
More information about the Foss-gis-suite