[mapserver-users] PHP/Mapscript install error

TCHaddad TCHaddad at cshore.com
Wed Jun 26 13:12:54 EDT 2002


Thanks... turns out we had both php 4.1.2 and 4.2.1, when we removed the latter, the error vanished. 

TH


---------- Original Message ----------------------------------
From: "Rajkumar Singh" <gisdude at subdimension.com>
Date: Wed, 26 Jun 2002 08:58:21 -0300

>Tanya,
>
>I'm new to mapserver as well. But I've been able to successfully install it.
>I don't know exactly what you have done but these are some things that could
>result in error messages.
>
>1. You have to extract the contents of libwww_dll.zip to the
>"C:\WINNT\System32" folder on Windows NT/2000 or "C:\Windows\system" on
>Windows 9x.
>2. You need to extract the PHP mapscript extension (php_mapscript.dll or
>php_mapscript_36.dll) and place it in the PHP extension folder. The name you
>use to call it in your scripts should be the same as the name it's saved as
>in the PHP extension folder.
>
>Hope this helps.
>
>Raj
>--------------------------------
>
>----- Original Message -----
>From: "TCHaddad" <TCHaddad at cshore.com>
>To: <mapserver-users at lists.gis.umn.edu>
>Sent: Tuesday, June 25, 2002 3:55 PM
>Subject: [mapserver-users] PHP/Mapscript install error
>
>
>>
>> Hello,
>>
>> in trying to set up PHP/mapscript for the first time we got the following
>error:
>>
>>
>> Warning: MapScript: Unable to initialize module Module compiled with
>module API=20010901, debug=0, thread-safety=1 PHP compiled with module
>API=20020429, debug=0, thread-safety=1 These options need to match in
>E:\Program Files\php\test.php on line 9
>>
>> test.php is as follows:
>>
>>
>>
>>     <HTML>
>>     <BODY>
>>
>>     <?php
>>     if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
>>     {
>>       dl("php_mapscript.dll");
>>     }
>>     else
>>     {
>>       dl("php_mapscript.so");
>>     }
>>     phpinfo();
>>     ?>
>>
>>    </BODY>
>>    </HTML>
>>
>> Can anyone point us in the right direction?
>>
>> This is PHP version 4.1.2, and Mapscript from :
>>
>>
>http://www2.dmsolutions.ca/mapserver/dl/mapserver-3.6.0-win32-php4.1.2-libww
>w.zip
>>
>> thanks,
>>
>> Tanya
>>
>
>---
>[This E-mail was scanned by the Inter.Net.Works Virus Daemon]
>
>



More information about the mapserver-users mailing list