ms4w 1.5.2 - unable to get mapserv.exe or php_mapscript_48.dll to work

Ben Madin ben at REMOTEINFORMATION.COM.AU
Sun May 7 23:13:37 PDT 2006


Thanks Jacob,

I am getting this message :

mapserv.exe - Unable to locate Component

This application has failed to start because MSVCR71D.dll was not  
found. Re-installing the application may fix this problem.

: if I try to run the application.

I have completely re-installed the ms4w package, but am still getting  
this message, so I can only assume that the binaries are being  
compiled with different libraries in them.

I don't know where to go on this one?

cheers

Ben


-- 

Ben Madin

Remote Information Pty Ltd

t/f: 08 9192 5535
m: 0448 887 220
ben at remoteinformation.com.au




On 08/05/2006, at 1:22 PM, Delfos, Jacob wrote:

> Hi Ben,
>
> You have to be very careful with the DLL's. The error you get probably
> means php_mapscript_48.dll is tryin to link to a DLL it is not
> compatible with. Try to use the dependency walker
> (www.dependencywalker.com) to find out which one it is (execute
> "depends.exe php_mapscript_48.dll" in a command line window)
>
> As I mentioned, the DLL's from MS4W are not compatible with those from
> DMSolutions. Also, certain DLL's must be in the executable path in  
> order
> for them to work (just the system path may not be sufficient). For
> example, gdal13.dll and the ER Mapper DLL's (and some others) probably
> have to sit in the same directory as php-cgi.exe.
>
> Regards,
>
> Jacob
>
>
>
>> -----Original Message-----
>> From: UMN MapServer Users List
>> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Ben Madin
>> Sent: 8 May 2006 13:17
>> To: MAPSERVER-USERS at LISTS.UMN.EDU
>> Subject: [UMN_MAPSERVER-USERS] ms4w 1.5.2 - unable to get
>> mapserv.exe or php_mapscript_48.dll to work
>>
>> I have just downloaded the latest ms4w (1.5.2) and after
>> installation
>> (at c:\ms4w\) I get phpinfo() without trouble.
>>
>> However, when I click on mapserv.exe I get the following message in
>> the error log :
>>
>> Premature end of script headers: mapserv.exe, referer : http://
>> 10.0.1.2/index.phtml
>>
>>
>> When I follow http://10.0.1.2/phpinfo_mapscript_48.php
>>
>> I get :
>>
>> Warning: dl() [function.dl.html]: Unable to load dynamic library '/
>> ms4w/Apache/php/extensions/php_mapscript_48.dll' - The specified
>> module could not be found. in C:\ms4w\Apache\htdocs
>> \phpinfo_mapscript_48.php on line 2
>>
>> as the library is in this location, I assume that this is a problem
>> related to Mapserver above.
>>
>> thank you.
>>
>> cheers
>>
>> Ben
>>
>>
>> -- 
>>
>> Ben Madin
>>
>> Remote Information Pty Ltd
>>
>> t/f: 08 9192 5535
>> m: 0448 887 220
>> ben at remoteinformation.com.au
>>
>
>



More information about the MapServer-users mailing list