[email protected] wrote:
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?

Steve ... this is a common problem with PHP. Your main installation has been upgraded to 5.3.8 but Mapscript was installed from another source and so is still 'stamped' with the previous version number which must be some time previously since its 2006 ;)

Fixing the problem just involves either getting a pre-compiled copy of mapscript for php5.3.8 or you may need to compile it yourself since SLES11 is obviously not managing the version control properly. My own SUSE12.1 setup is pulling the correct versions of the files.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to