RE [Polluriel potentiel] Re: [mapserver-users] PHP Startup: MapScript: Unable to initialize module

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Fri Mar 16 07:00:23 PDT 2012


thanks!!
I'm migrating from windows to linux and I will use the mapscript module 
soon, so I need to fix this.
I'll see if I can get mapscript compiled for php5.3.8
Steve





Lester Caine <lester at lsces.co.uk>@lists.osgeo.org 
Envoyé par : mapserver-users-bounces at lists.osgeo.org
2012-03-15 15:58

A
"Mapserver-users (mapserver-users at lists.osgeo.org)" 
<mapserver-users at lists.osgeo.org>
cc

Objet
[Polluriel potentiel]  Re: [mapserver-users] PHP Startup: MapScript: 
Unable to initialize module








Steve.Toutant at inspq.qc.ca 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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120316/1951d30b/attachment.htm>


More information about the MapServer-users mailing list