<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE; mso-bidi-language: AR-SA"></SPAN></FONT><FONT
face=Arial>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt">Hi
Jin,</SPAN><SPAN lang=EN-US
style="FONT-FAMILY: 'Arial Unicode MS'; mso-ansi-language: EN-US"><?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT face="Times New Roman"><FONT
size=2> <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt">the others
dll's from php_mapserver_4.8.1-win32-php5.1.2.zip are also
needed.</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt">You
can open the php_mapscript_48.dll with the program "Dependency Walker" and then
you see which dll fails.</SPAN><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt">Using of
php_mapscript_48.dll is also impossible, when older versions of the
dll's are located in the folder C:\Windows\System32 for
example.</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt"></SPAN></FONT><SPAN
lang=EN-US
style="FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt"><FONT
size=2> <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt">Best
regards</SPAN><o:p></o:p></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT
face="Times New Roman"><FONT size=2> <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt"><FONT
size=2>Rafael</FONT></SPAN><o:p></o:p></P></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jin@GEDCO.COM href="mailto:jin@GEDCO.COM">Jeremy Jin</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=MAPSERVER-USERS@LISTS.UMN.EDU
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, October 27, 2006 9:37
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [UMN_MAPSERVER-USERS]
php_mapscript on IIS6/WinServer2003</DIV>
<DIV><BR></DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>Hello
All,</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>I set up a new
Windows Server 2003 Web Edition with SP1, downloaded PHP 5.1.6 for win32
binary, configured successfully and I am able to run phpinfo.php to
test. </SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>Then I downloaded
php_mapserver_4.8.1-win32-php5.1.2 binary. I don't need the map server, all I
want is to install php_mapscript, so I just copy php_mapscript_48.dll to all
possible directories (c:\php, c:\php\ext, c:\windows\system32). configure
c:\windows\php.ini to use extension=php_mapscript_48.dll.</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>I changed phpinfo.php
as below,</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>==============</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006><?php</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>dl("php_mapscript_48.dll");</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>phpinfo();</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>?></SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>===============</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>I can still run it.
But the output is not different from the old phpinf which has no
dl("php_mapscript_48.dll");</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>Then I copied my
map program from another computer with differnt configuration : Win2000
Server, php4, php_mapscript_35.dll. The program works ine on that computer but
does NOT work on this computer. </SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>The script is like
below,</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>.....</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>$shapeFile =
ms_newShapeFileObj( "thefilename", MS_SHP_POINT);</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>....</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>Because the script
has been working on the old computer for years, I don't think it is the
problem of the script. Probably it is the installation of php_mapscript. On
Win2000, the .php extension is set to use c:\php\php.exe, on Win2003, I tried
to set it to C:\php\php5isapi.dll and php.exe.</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN class=082471620-27102006>Is there anybody who
has the same configuration (W2K3, IIS, PHP5, Mapscript) and got it work? Any
advice?</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=宋体 size=2><SPAN
class=082471620-27102006>Jin</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>