<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN class=082471620-27102006>Hello 
All,</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; 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.&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; 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=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN class=082471620-27102006>I changed phpinfo.php 
as below,</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>==============</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>&lt;?php</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>dl("php_mapscript_48.dll");</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>phpinfo();</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>?&gt;</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>===============</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; 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=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN class=082471620-27102006>Then I&nbsp;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&nbsp;NOT work on this computer. </SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN class=082471620-27102006>The script is like 
below,</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>.....</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN class=082471620-27102006>$shapeFile = 
ms_newShapeFileObj( "thefilename", MS_SHP_POINT);</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>....</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; 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&nbsp;to C:\php\php5isapi.dll&nbsp;and php.exe.</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; 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=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=&#23435;&#20307; size=2><SPAN 
class=082471620-27102006>Jin</SPAN></FONT></DIV></BODY></HTML>