[mapserver-users] [Mac OS X] Impossible to load MapScript module with PHP

Leonard dumont.leonard at gmail.com
Thu Dec 10 01:28:17 PST 2015


Hi everyone !

I am a new user trying to use mapserver, and I have some problems... One of
them is that I cannot load the php_mapscript extension. I have PHP 5.6.11
installed with  php-osx.liip.ch <http://php-osx.liip.ch>   and mapscript 6.4
installed with Homebrew, and there seems to be a conflict, since when I run
php I get this warning :

Warning: PHP Startup: MapScript: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20131226
These options need to match

I added this line to my php.ini file :

extension="/usr/local/opt/mapserver-64/mapscript/php/php_mapscript.so"

Thanks for your help !

LĂ©onard Dumont.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mac-OS-X-Impossible-to-load-MapScript-module-with-PHP-tp5240669.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list