error in php_mapscript.so

Attila Csipa plists at PROMETHEUS.ORG.YU
Thu Aug 12 05:55:23 PDT 2004


On Thursday 12 August 2004 09:47, temiz wrote:
> ~~~~~~~~~~~~~~~
> [Wed Aug 11 17:03:49 2004] [error] PHP Warning:  dl(): (null): Unable to
> initialize module
> Module compiled with module API=20040412, debug=0, thread-safety=0
> PHP    compiled with module API=20020429, debug=0, thread-safety=0
> ~~~~~~~~~~~~~~~

It seems that the PHP you are trying to run mapserver with is not the same
version as the one you specified when compiling mapserver (the --with-php
switch). Either upgrade the PHP apache is running, or recompile mapscript
with the same version of PHP as apache is using now. Also note that AFAIK
mapscript will not work when PHP is used as a module, only as CGI.



More information about the MapServer-users mailing list