[mapserver-users] Mapscript won't load after PHP update

Dominik Schmid dominik.schmid at ilu.ch
Thu Jan 22 11:49:24 EST 2009


So I've updated our PHP installation from 5.1.6 to 5.2.8 (we need PHP 
version 5.2 or later for some other features we want to implement on the 
same server that Mapserver is running on). I did so using yum update. 
This is where problems started and Mapscript didn't load anymore.
I've then recompiled Mapserver 5.2.1 against version 5.2.8 of PHP which 
goes through without a glitch. This did not fix the issue. PHP still 
cannot (or refuses to) load Mapscript and throws the following error:

PHP Warning:  dl() [<a href='function.dl'>function.dl</a>]: MapScript: 
Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match in ......

I made double sure that I compiled against the correct (new) version of 
PHP so that can't be the issue here. I have not found any information as 
to what else I can check or as to what else I could be doing wrong so I 
need to ask here.

Thanks in advance for any insight.

-- 
Dominik Schmid
Dipl. Umweltnaturwissenschafter ETH

ilu AG
Zentralstrasse 2a
CH-8610 Uster

Tel: +41 44 / 944 55 56    (Direktwahl)
Tel: +41 44 / 944 55 55    (allgemein)
Fax: +41 44 / 944 55 66

mailto:dominik.schmid at ilu.ch
http://www.ilu.ch


More information about the mapserver-users mailing list