[mapserver-users] PHP Startup: MapScript: Unable to initialize module

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Thu Mar 15 14:59:33 EDT 2012


Hi,
I have a warning with php and it seems to be related with the module 
Mapscript.

With apache my php file is well executed , from a command line it is also 
well executed by I get this warning:
PHP Warning:  PHP Startup: MapScript: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match

My php script content has nothing related to mapserv or mapscript 
though...

phpinfo() doesn't return anything about MapScript, I guess it should?
But What can I do about that?

I'm on linux sles 11 SP1 
phpinfo returns php version is 5.3.8
I've installed mapserver and php-mapserver from this opensuse repo: 
Application:/Geo/SLE_11
mapserv -v gives this
MapServer version 6.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML 
SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER 
SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR 
INPUT=GDAL INPUT=SHAPEFILE

thanks
Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120315/aead90c1/attachment.html


More information about the mapserver-users mailing list