[mapserver-users] php_mapscript.so library

Alan Boudreault aboudreault at mapgears.com
Mon Feb 13 11:02:00 EST 2012


The php_mapscript.so will be in the mapscript/php directory IIF you 
compiled MapServer with the appropriate option. I think you can open the 
config.log file to see if you have enabled the php binding when you 
compiled MS initially.

Alan

On 12-02-10 02:37 PM, David Quinn wrote:
> Hi List,
>
> I'm following the instructions
> <http://www.mapserver.org/installation/php.html#obtaining-compiling-and-installing-php-and-the-php-mapscript-module>
> on the Mapserver website to install the PHP module, but I'm confused by
> this line:
>
> Copy the php_mapscript.so library to your PHP extensions directory, and
> then use the dl() function to load the module at the beginning of your
> PHP scripts. See also the PHP function extension_loaded()
> <http://www.php.net/manual/en/function.extension-loaded.php> to check
> whether an extension is already loaded.
>
> I just re-downloaded and unzipped mapserver-6.0.1 but I don't see the
> php_mapscript.so library anywhere.
>
> Also, is there a way that I check if I compiled Mapserver with
> '/–with-php=DIR' /I compiled it for CentOS Linux a few months ago and
> cannot remember all of the options that I chose.
>
> Thanks,
> David
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Alan Boudreault
http://www.mapgears.com/


More information about the mapserver-users mailing list