[mapserver-users] php error

bascom49 charles at weareland.com
Wed Jan 13 17:28:50 EST 2010

I am installing mapserver 5.4.2. My php version is 5.2.9.

I am getting an error message with the following code :

if (PHP_OS == "WINNT" || PHP_OS == "WIN32") {
            $dllversion = 'php_mapscript.dll';
} else {
            $dllversion = 'php_mapscript.so';
if (!extension_loaded('MapScript')) {dl($dllversion);}

A link to the file producing this error is at :

You can view my php configuration at this link:

Does anyone have experience with the following php issue ?

[13-Jan-2010 14:00:04] PHP Warning:  PHP Startup: Unable to load dynamic
                                                [13-Jan-2010 14:00:04] PHP
Warning:  PHP Startup: UõSHìè: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match

View this message in context: http://n2.nabble.com/php-error-tp4380950p4380950.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

More information about the mapserver-users mailing list