[ms4w-users] Unable to load dynamiclibrary/ms4w/Apache/php/extensions/php_mapscript_44.dll

Jeff McKenna jmckenna at dmsolutions.ca
Mon Jun 27 18:19:10 EDT 2005


well Ivan i haven't been much of a help have i.  I'm hoping someone out 
there can help us, maybe i've missed some obvious detail.  Definitely 
there is a dll missing on your test machines that MapServer requires. 
Anyone else out there been following this discussion?

jeff




Ivan_Vasquez at URSCorp.com wrote:
> I replaced the call out with php_dbase.dll as you suggested, and I got a
> phpinfo screen instead of an error.
> 
> Ivan
> 
> 
> 
>                                                                            
>              Jeff McKenna                                                  
>              <jmckenna at dmsolut                                             
>              ions.ca>                                                   To 
>                                        Ivan_Vasquez at URSCorp.com            
>              06/24/2005 04:55                                           cc 
>              PM                        ms4w-users at lists.maptools.org       
>                                                                    Subject 
>                                        Re: [ms4w-users] Unable to load     
>                                        dynamiclibrary/ms4w/Apache/php/exte 
>                                        nsions/php_mapscript_44.dll         
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
> 
> 
> 
> 
> i just spent an hour and installed sp4 on my virtual machine...no luck
> to reproduce.
> 
> for some reason your Apache cannot load the darn thing.  I wonder if u
> can load another extension:
> 
> - in the file /ms4w/apache/htdocs/phpinfo_mapscript_44.php add the
> following to line 2:
> 
>     dl( "php_dbase.dll" );
> 
> - now click on the 'php_mapscript_44.dll' phpinfo link again on your
> localhost page
> 
> Do you get any errors?
> 
> 
> I'm really running out of ideas.
> 
> 
> jeff
> 
> 
> Ivan_Vasquez at URSCorp.com wrote:
> 
>>Hi Jeff!
>>
>>Just wanted to send you an update on my problem.
>>
>>I formatted another computer and installed a clean copy of Windows 2000
>>professional. I installed Service Pack 4 and Internet Explorer 6 service
>>pack 1, and then I installed MS4W v 1.2, chameleon 2.2, ka-Map 0.1.1, and
>>MapLab 2.2. I then copied my dll files into both the WINNT/System32 and
>>php/extensions directories. And the result of all this work is... the
> 
> same
> 
>>as before... same errors in the same places.
>>
>>Unfortunately, it looks like I can't use MapServer unless you have any
>>other suggestions for a solution to this problem.
>>
>>Ivan
>>
>>
>>
>>
>>
> 
> 
>>             "Jeff McKenna"
> 
> 
>>             <jmckenna at dmsolut
> 
> 
>>             ions.ca>
> 
> To
> 
>>                                       Ivan_Vasquez at URSCorp.com
> 
> 
>>             06/22/2005 04:10
> 
> cc
> 
>>             PM                        ms4w-users at lists.maptools.org
> 
> 
> Subject
> 
>>                                       Re: [ms4w-users] Unable to load
> 
> 
> dynamiclibrary/ms4w/Apache/php/exte
> 
>>                                       nsions/php_mapscript_44.dll
> 
> 
> 
> 
> 
> 
> 
> 
>>
>>
>>
>>something seems to be conflicting on that machine.  i have a windows2000
>>virtual machine
>>that i test on, and i can't reproduce this.  Sure, the more machines you
>>can test on the
>>better.  Maybe it's a problem that no one has reported yet, i'm not sure.
>>
>>
>>jeff
>>
>>
>>
>>On Jun 22, Ivan_Vasquez at URSCorp.com wrote:
>>
>>
>>>Yes, this is possible, although it would take some time and I don't think
>>>it will make a difference. The current machine is a clean install of
>>>Windows 2000. It hasn't been used for anything since windows was
>>
>>installed
>>
>>
>>>except for ms4w. This machine doesn't have any software on it except for
>>>Windows and all of the service packs required to make it run smoothly
>>
>>with
>>
>>
>>>the exception of ms4w apps. If I were to install ms4w onto another
>>
>>machine,
>>
>>
>>>it would basically be the same as this one.
>>>
>>>After reading this, do you think it would be a good use of time to start
>>>over again?
>>>
>>>Ivan
>>>
>>>
>>>
>>>
>>
>>
>>>            Jeff McKenna
>>
>>
>>>            <jmckenna at dmsolut
>>
>>
>>>            ions.ca>
>>
>>To
>>
>>
>>>                                      Ivan_Vasquez at URSCorp.com
>>
>>
>>>            06/22/2005 02:56
>>
>>cc
>>
>>
>>>            PM                        ms4w-users at lists.maptools.org
>>
>>
>>Subject
>>
>>
>>>                                      Re: [ms4w-users] Unable to load
>>
>>
>>>                                      dynamic     library
>>
>>
>>/ms4w/Apache/php/extensions/php_map
>>
>>
>>>                                      script_44.dll
>>
>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>this is a difficult one for sure.  Is it at all possible that you try a
>>>fresh ms4w (unmodified) on a different machine, to see if you get the
>>>same errors?
>>>
>>>
>>>jeff
>>>
>>>
>>>
>>>
>>>Ivan_Vasquez at URSCorp.com wrote:
>>>
>>>
>>>>No errors. Just a list of outputs, supports, inputs, debug, etc.
>>>>
>>>>Ivan
>>>>
>>>>
>>>>
>>>>
>>>
>>>>            Jeff McKenna
>>>
>>>>            <jmckenna at dmsolut
>>>
>>>>            ions.ca>
>>>
>>>To
>>>
>>>
>>>>                                      Ivan_Vasquez at URSCorp.com
>>>
>>>>            06/22/2005 01:42
>>>
>>>cc
>>>
>>>
>>>>            PM                        ms4w-users at lists.maptools.org
>>>
>>>Subject
>>>
>>>
>>>>                                      Re: [ms4w-users] Unable to load
>>>
>>>>                                      dynamic library
>>>
>>>/ms4w/Apache/php/extensions/php_map
>>>
>>>
>>>>                                      script_44.dll
>>>
>>>>
>>>>
>>>>darn.  If you goto the command line and execute a 'mapserv -v' in the
>>>>/ms4w/Apache/cgi-bin/ directory do u see any error messages?
>>>>
>>>>
>>>>jeff
>>>>
>>>>
>>>>
>>>>
>>>>Ivan_Vasquez at URSCorp.com wrote:
>>>>
>>>>
>>>>
>>>>>Yes, I do.
>>>>>
>>>>>Ivan
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>>           Jeff McKenna
>>>>
>>>>
>>>>>           <jmckenna at dmsolut
>>>>
>>>>
>>>>>           ions.ca>
>>>>
>>>>To
>>>>
>>>>
>>>>
>>>>>                                     Ivan_Vasquez at URSCorp.com
>>>>
>>>>
>>>>>           06/22/2005 01:30
>>>>
>>>>cc
>>>>
>>>>
>>>>
>>>>>           PM                        ms4w-users at lists.maptools.org
>>>>
>>>>
>>>>Subject
>>>>
>>>>
>>>>
>>>>>                                     Re: [ms4w-users] Unable to load
>>>>
>>>>
>>>>>                                     dynamic library
>>>>
>>>>
>>>>/ms4w/Apache/php/extensions/php_map
>>>>
>>>>
>>>>
>>>>>                                     script_44.dll
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>>Do you get the same response for php_mapscript_46.dll?
>>>>><a
>>
>>href='http://127.0.0.1/phpinfo_mapscript_46.php'>http://127.0.0.1
>>/phpinfo_mapscript_46.php</a>
>>
>>>>>jeff
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>Ivan_Vasquez at URSCorp.com wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>I'm using the latest version... v1.1.
>>>>>>
>>>>>>Ivan
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>>          Jeff McKenna
>>>>>
>>>>>
>>>>>>          <jmckenna at dmsolut
>>>>>
>>>>>
>>>>>>          ions.ca>
>>>>>
>>>>>To
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>                                    Ivan_Vasquez at URSCorp.com
>>>>>
>>>>>
>>>>>>          06/22/2005 01:16
>>>>>
>>>>>cc
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>          PM                        ms4w-users at lists.maptools.org
>>>>>
>>>>>
>>>>>Subject
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>                                    Re: [ms4w-users] Unable to load
>>>>>
>>>>>
>>>>>>                                    dynamic library
>>>>>
>>>>>
>>>>>/ms4w/Apache/php/extensions/php_map
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>                                    script_44.dll
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>hmm, which MS4W version are you using?
>>>>>>
>>>>>>jeff
>>>>>>
>>>>>>
>>>>>>
>>>>>>Ivan_Vasquez at URSCorp.com wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>I am having major problems getting any mapserver applications to
>>
>>work.
>>
>>
>>>I
>>>
>>>
>>>>>>>have been searching the ms4w archives for answers, and none of the
>>>>>>>responses to this problem seem to be helping me. It seems that all of
>>>>
>>>>the
>>>>
>>>>
>>>>
>>>>>>>applications use a script called php_mapscript_44.dll, which is not
>>>>>>
>>>>>>loading
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>correctly for unknown reasons. Here is the full text of the error I'm
>>>>>>>getting:
>>>>>>>
>>>>>>>Warning: dl(): Unable to load dynamic library
>>>>>>>'/ms4w/Apache/php/extensions/php_mapscript_44.dll' - The specified
>>>>
>>>>module
>>>>
>>>>
>>>>
>>>>>>>could not be found. in C:\ms4w\Apache\htdocs\phpinfo_mapscript_44.php
>>>
>>>on
>>>
>>>
>>>>>>>line 2.
>>>>>>>
>>>>>>>I'm getting this error in all of the mapserver applications, but in
>>>
>>>this
>>>
>>>
>>>>>>>case, I got the error by clicking the phpinfo link next to
>>>>>>>php_mapscript_44.dll which is under Features on the mapserver index
>>>>
>>>>page.
>>>>
>>>>
>>>>
>>>>>>I
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>have downloaded and used Dependency Walker, and I have managed to get
>>>>
>>>>rid
>>>>
>>>>
>>>>
>>>>>>>of all of the yellow highlighted problems by copying various dll
>>
>>files
>>
>>
>>>>>>into
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>the php/extensions folder. I also have copies of these files in the
>>>>>>
>>>>>>cgi-bin
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>and system32 folders just in case.
>>>>>>>
>>>>>>>I'm basically out of ideas... any help?
>>>>>>>
>>>>>>>Ivan
>>>>>>>
>>>>>>>_______________________________________________
>>>>>>>ms4w-users mailing list
>>>>>>>ms4w-users at lists.maptools.org
>>>>>>><a
>>
>>
> href='http://lists.maptools.org/mailman/listinfo/ms4w-users'>http://lists.maptools.org/mailman/listinfo/ms4w-users</a>
> 
>>>>>

> 
> 


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the ms4w-users mailing list