[mapserver-users] Problem with php_mapscript.so and maplab

Daniel Morissette morissette at dmsolutions.ca
Tue Aug 27 10:03:06 EDT 2002


gesu annazzeret wrote:
> 
> but when I use the php example:
> <?php
> dl("php_mapscript.so");
> phpinfo();
> ?>
> 
> return the following message:
> 
> Warning: MapScript: Unable to initialize module Module
> compiled with debug=0, thread-safety=0 module
> API=20020429 PHP compiled with
> debug=0, thread-safety=0 module API=20010901 These
> options need to match in /usr/local/httpd/htdocs/k.php
> on line 2
> 

Make sure that your php_mapscript.so is compiled for the version of PHP
that you are running.  You seem to have compiled MapScript with PHP
4.2.x (API=2002-04-29), but would be running 4.1.x (or older,
2002-09-01) on your server.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the mapserver-users mailing list