<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place" downloadurl="http://www.5iantlavalamp.com/"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Century Gothic";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Century Gothic";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Century Gothic";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'>Ed,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'>Thanks for your support on this.&nbsp;
You seem to be the only one who responds to any of my inquiries so I am
grateful!&nbsp; In response&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Century Gothic"><span
style='font-size:10.0pt;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:red'>Questions</span></font></u><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>2.</span></font><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'>I read somewhere that PHP will not work with
MapServer unless it is set up as a CGI.&nbsp; Is this true?</span></font><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>3.</span></font><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'>Supposedly they were working on the SAPI version.&nbsp;
Is this available yet?</span></font><font color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>Answer:</span></font></b></strong><font
size=2 color=blue><span style='font-size:10.0pt;color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>&nbsp;&nbsp; You should
use PHP as a CGI.&nbsp; This is simpler and avoids problems with multithreading.</span></font></b></strong><font
size=2 color=blue><span style='font-size:10.0pt;color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'>Response:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'>Per your suggestion, I have changed the
install to CGI.&nbsp; I guess all that work setting up PHP as an ISAPI was a
good learning experience!&nbsp; It is still working set up as a CGI.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Century Gothic"><span
style='font-size:10.0pt;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:red'>Question</span></font></u><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>4.</span></font><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'>Where do I put the php_mapscript_44.dll file?</span></font><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>Answer:</span></font></b></strong><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>&nbsp;&nbsp;&nbsp; You
should think about the MapServer CGI and the MapScript DLL as two different
applications built upon the same MapServer libraries.&nbsp; There's a core of
map-rendering functionality that can be wrapped with a CGI interface
(mapserv.exe) or with a PHP scripting interface (php_mapscript_44.dll).&nbsp;
While they share a lot of code, of course, these two are completely separate
applications, and they are quite independent of each other.&nbsp;
php_mapscript_44.dll is a PHP &quot;module&quot; and is loaded by the PHP
interpreter when it is referenced by a PHP script being executed.&nbsp; The
MapServer CGI does not use the php_mapscript_44.dll file at all.</span></font></b></strong><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'>Response:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'>Thanks for the input, Ed, but I don&#8217;t
think I&#8217;ll understand this whole setup until the consultant comes in and
actually makes it all work!&nbsp; I hope someone else will respond to my
questions.&nbsp; I still don&#8217;t know where to put the files and how to
test them.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>You're doing very well
for having a lot of new stuff thrown at you.&nbsp; </span></font></b></strong><strong><b><font
size=2 color="#993366" face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:#993366;font-weight:normal'>Thanks.&nbsp; The pat on the back feels
good after all this stress!</span></font></b></strong><strong><b><font size=2
color="#993366" face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:#993366'>&nbsp; </span></font></b></strong><strong><b><font size=2
color=green face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:green'>Do not worry about ISAPI implementations or the &quot;performance
penalty&quot; of CGI (a limitation that, IMHO, has been greatly oversold by
Microsoft).&nbsp; If - after you've got everything working well - you think
there are performance gains to be had by improving on the CGI interface, we can
talk about that then.&nbsp; But let's make work correctly first, THEN make it
work faster &lt;g&gt;.<o:p></o:p></span></font></b></strong></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'>Microsoft talks about the fact that with
CGI&#8217;s the executable is memory resident as many times as it is being
run.&nbsp; So, for example, if 5 users are running the CGI then it is taking up
5x the memory.&nbsp; That&#8217;s the way I understand it from Microsoft&#8217;s
standpoint but I could be wrong.&nbsp; I&#8217;ve read so much in the last two
weeks that my brain is a bit mushy.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993366" face="Century Gothic"><span
style='font-size:10.0pt;color:#993366'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 color=blue face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:blue'>Christine Lisi</span></font></b></strong><b><font
size=2 color=blue><span style='font-size:10.0pt;color:blue;font-weight:bold'><br>
</span></font></b><font size=1 color=blue><span style='font-size:7.0pt;
color:blue'>Application Specialist</span></font><font color=blue><span
style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color=blue face="Century Gothic"><span style='font-size:7.5pt;
color:blue'>Management Information Systems &#8226; City of </span></font><st1:City
w:st="on"><st1:place w:st="on"><font size=1 color=blue face=Arial><span
  style='font-size:7.5pt;font-family:Arial;color:blue'>Delray Beach</span></font></st1:place></st1:City><font
size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:blue'> &#8226; <st1:address w:st="on"><st1:Street w:st="on">100 NW First
  Avenue</st1:Street>, <st1:City w:st="on">Delray Beach</st1:City>, <st1:State
 w:st="on">FL</st1:State> <st1:PostalCode w:st="on">33444</st1:PostalCode></st1:address></span></font><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p><font size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:
Arial;color:blue'>Phone, 561-243-7142 &#8226; Fax, 561-243-7166 &#8226; eMail, </span></font><font
size=1 color=blue face="Century Gothic"><span style='font-size:7.5pt;
font-family:"Century Gothic";color:blue'><a href="mailto:Lisi@MyDelrayBeach.com"><font
face=Arial><span style='font-family:Arial'>Lisi@MyDelrayBeach.com</span></font></a></span></font><font
size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:blue'><o:p></o:p></span></font></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> UMN MapServer
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Ed McNierney<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, March 01, 2005
12:47 PM<br>
<b><span style='font-weight:bold'>To:</span></b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [UMN_MAPSERVER-USERS]
A confused Network Admin</span></font><font face="Times New Roman"><span
style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Century Gothic"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Christine -</span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>It sounds like you're off to a good
start!&nbsp; I'll try to contribute, and there are others with different
expertise who can chime in as well.&nbsp; Be sure to send replies to the entire
list, not just to the sender, since you've got a number of questions that are
best answered by a few different people.</span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:red'>Question</span></font></u><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>1.</span></font><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'>I set this up as a CGI in IIS6.&nbsp; Is there an
SAPI version for IIS?<o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>Answer:</span></font></b></strong><font
size=2 color=blue><span style='font-size:10.0pt;color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>&nbsp;&nbsp; No, there
is no ISAPI version for IIS.&nbsp; Using MapServer as a CGI will work
fine.&nbsp; Since you got the appropriate error message, you've got the
permissions (for executing CGI, etc.) set up properly</span></font></b></strong><font
size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>.</span></font><font size=2 color=blue><span style='font-size:10.0pt;
color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:red'>Questions</span></font></u><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>2.</span></font><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'>I read somewhere that PHP will not work with
MapServer unless it is set up as a CGI.&nbsp; Is this true?</span></font><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>3.</span></font><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'>Supposedly they were working on the SAPI version.&nbsp;
Is this available yet?</span></font><font color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>Answer:</span></font></b></strong><font
size=2 color=blue><span style='font-size:10.0pt;color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>&nbsp;&nbsp; You should
use PHP as a CGI.&nbsp; This is simpler and avoids problems with
multithreading.</span></font></b></strong><font size=2 color=blue><span
style='font-size:10.0pt;color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:red'>Questions</span></font></u><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>4.</span></font><font size=2 color=blue face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'>Where do I put the php_mapscript_44.dll file?</span></font><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>Answer:</span></font></b></strong><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><strong><b><font size=2 color=green face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:green'>&nbsp;&nbsp;&nbsp; You
should think about the MapServer CGI and the MapScript DLL as two different
applications built upon the same MapServer libraries.&nbsp; There's a core of
map-rendering functionality that can be wrapped with a CGI interface
(mapserv.exe) or with a PHP scripting interface (php_mapscript_44.dll).&nbsp;
While they share a lot of code, of course, these two are completely separate
applications, and they are quite independent of each other.&nbsp;
php_mapscript_44.dll is a PHP &quot;module&quot; and is loaded by the PHP
interpreter when it is referenced by a PHP script being executed.&nbsp; The
MapServer CGI does not use the php_mapscript_44.dll file at all.</span></font></b></strong><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>You're doing very well for having a lot of
new stuff thrown at you.&nbsp; Do not worry about ISAPI implementations or the
&quot;performance penalty&quot; of CGI (a limitation that, IMHO, has been
greatly oversold by Microsoft).&nbsp; If - after you've got everything working
well - you think there are performance gains to be had by improving on the CGI
interface, we can talk about that then.&nbsp; But let's make work correctly
first, THEN make it work faster &lt;g&gt;.</span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp; - Ed</span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<div>

<p><font size=2 color=blue face="Times New Roman"><span style='font-size:10.0pt;
color:blue'>Ed McNierney<br>
President and Chief Mapmaker<br>
TopoZone.com / Maps a la carte, Inc.<br>
<st1:Street w:st="on"><st1:address w:st="on">73 Princeton Street, Suite 305</st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on">North Chelmsford</st1:City>, <st1:State
 w:st="on">MA</st1:State>&nbsp; <st1:PostalCode w:st="on">01863</st1:PostalCode></st1:place><br>
ed@topozone.com<br>
(978) 251-4242 </span></font><font color=blue><span style='color:blue'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> UMN
MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Lisi, Christine<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, March 01, 2005
12:01 PM<br>
<b><span style='font-weight:bold'>To:</span></b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> [UMN_MAPSERVER-USERS] A
confused Network Admin</span></font><font face="Times New Roman"><span
style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>Prior to last week, I had no experience with PHP, MapServer, MapScript,
MapSurfer, etc. and have been thrown into this very confusing and frustrating
Open Source world.&nbsp; I have successfully installed ArcSDE, MapServer and
PHP, but I have no idea how each piece talks to the other and whether or not
they will work once our consultant visits.&nbsp; I am only responsible for the
setup of the apps, and the rest will be up to our engineers and the
consultant.&nbsp; I have several questions and I hope some of you can answer
them in a language I can understand.&nbsp; Please remember that I honestly don&#8217;t
understand how these applications work at all.&nbsp; I am a Network Admin and
Application Specialist, but have no experience with GIS/Mapping, etc.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 face="Century Gothic"><span
style='font-size:10.0pt'>Our Server</span></font></u><font size=2><span
style='font-size:10.0pt'>:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>Windows Server 2003<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>IIS6<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>ArcSDE 9.0 w/ SP2<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>SQL Server 2000 w/ SP3a<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 face="Century Gothic"><span
style='font-size:10.0pt'>General Notes</span></font></u><font size=2><span
style='font-size:10.0pt'>:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>For all of the installs below I used environment variables and set the
System Path to point to the individual application directories.&nbsp; I did NOT
copy any .dll&#8217;s to my System32 directory.&nbsp; This is definitely a
preferred method for me.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 face="Century Gothic"><span
style='font-size:10.0pt'>MAPSERVER (v. 4.4.1)</span></font></u><font size=2><span
style='font-size:10.0pt'>:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>I followed the instructions in the README-install.txt and successfully
received the &#8220;No query information to decode.&nbsp; QUERY_STRING is set,
but empty.&#8221; message.<o:p></o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face="Century Gothic"><span
style='font-size:10.0pt;color:red'>Question</span></font></u><font size=2
color=red><span style='font-size:10.0pt;color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
face="Century Gothic"><span style='font-size:10.0pt'>1.</span></font><font
size=1 face="Times New Roman"><span style='font-size:7.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2><span style='font-size:10.0pt'>I set this up as a
CGI in IIS6.&nbsp; Is there an SAPI version for IIS?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 face="Century Gothic"><span
style='font-size:10.0pt'>PHP (v5.0.3</span></font></u><font size=2><span
style='font-size:10.0pt'>):<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>I followed the instructions in the install.txt and set this up as a
server module (SAPI). &nbsp;I did run the .exe file, but I then configured it
manually as a server module per the instructions.&nbsp; There was nothing in
the documentation about how to test this program so after about an hour of
research on the PHP web site I read how to create a Hello.php file and put it
in the wwwroot folder and had successful results.&nbsp; I assume the software
is working.<o:p></o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face="Century Gothic"><span
style='font-size:10.0pt;color:red'>Questions</span></font></u><font size=2
color=red><span style='font-size:10.0pt;color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
face="Century Gothic"><span style='font-size:10.0pt'>2.</span></font><font
size=1 face="Times New Roman"><span style='font-size:7.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2><span style='font-size:10.0pt'>I read somewhere that
PHP will not work with MapServer unless it is set up as a CGI.&nbsp; Is this
true?<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
face="Century Gothic"><span style='font-size:10.0pt'>3.</span></font><font
size=1 face="Times New Roman"><span style='font-size:7.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2><span style='font-size:10.0pt'>Supposedly they were
working on the SAPI version.&nbsp; Is this available yet?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 face="Century Gothic"><span
style='font-size:10.0pt'>PHP/MAPSCRIPT MAPSERVER MODULE</span></font></u><font
size=2><span style='font-size:10.0pt'>:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>I downloaded this module and read the README.txt.&nbsp; I&#8217;m very
confused as to whether this is a module for MapServer or PHP.&nbsp; The
download for this module included several .dll&#8217;s that are already in my
MapServer directory.<o:p></o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face="Century Gothic"><span
style='font-size:10.0pt;color:red'>Questions</span></font></u><font size=2
color=red><span style='font-size:10.0pt;color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
face="Century Gothic"><span style='font-size:10.0pt'>4.</span></font><font
size=1 face="Times New Roman"><span style='font-size:7.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2><span style='font-size:10.0pt'>Where do I put the
php_mapscript_44.dll file?<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
face="Century Gothic"><span style='font-size:10.0pt'>5.</span></font><font
size=1 face="Times New Roman"><span style='font-size:7.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2><span style='font-size:10.0pt'>How do I test it?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><u><font size=2 face="Century Gothic"><span
style='font-size:10.0pt'>MAPSURFER (v1.5)</span></font></u><font size=2><span
style='font-size:10.0pt'>:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>I downloaded and extracted the files.&nbsp; Per the README.txt file, I
edited the mapper.html file and set the location of the MapServer cgi program
and the .map definition file (var mapserver = '/cgi-bin/mapserv.exe'; var
mapfile = 'test.map';&#8221;)<o:p></o:p></span></font></p>

<p class=MsoNormal><u><font size=2 color=red face="Century Gothic"><span
style='font-size:10.0pt;color:red'>Questions</span></font></u><font size=2
color=red><span style='font-size:10.0pt;color:red'>:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
face="Century Gothic"><span style='font-size:10.0pt'>6.</span></font><font
size=1 face="Times New Roman"><span style='font-size:7.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2><span style='font-size:10.0pt'>Where do I put the
extracted MapSurfer folder?&nbsp; I put it in the wwwroot folder.&nbsp; The
Readme.txt file says to &#8220;Put the MapSurfer directory somewhere accessible
to the web.&#8221; &nbsp;&nbsp;This is not clear to me.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:42.0pt;text-indent:-.25in'><font size=2
face="Century Gothic"><span style='font-size:10.0pt'>7.</span></font><font
size=1 face="Times New Roman"><span style='font-size:7.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2><span style='font-size:10.0pt'>How do I test this?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt'>Thank you to all of you who read these messages.&nbsp; I have to give
you credit because I am very confused!&nbsp; I welcome any comments, even those
that do not apply to my questions.<u><o:p></o:p></u></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>Christine
Lisi</span></font></b></strong><b><font size=2 color=blue><span
style='font-size:10.0pt;color:blue;font-weight:bold'><br>
</span></font></b><font size=1 color=blue><span style='font-size:7.0pt;
color:blue'>Application Specialist</span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color=blue face="Century Gothic"><span style='font-size:7.5pt;
color:blue'>Management Information Systems &#8226; City of </span></font><st1:place
w:st="on"><st1:City w:st="on"><font size=1 color=blue face=Arial><span
  style='font-size:7.5pt;font-family:Arial;color:blue'>Delray Beach</span></font></st1:City></st1:place><font
size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:blue'> &#8226; <st1:address w:st="on"><st1:Street w:st="on">100 NW First
  Avenue</st1:Street>, <st1:City w:st="on">Delray Beach</st1:City>, <st1:State
 w:st="on">FL</st1:State> <st1:PostalCode w:st="on">33444</st1:PostalCode></st1:address></span></font><o:p></o:p></p>

<p><font size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:
Arial;color:blue'>Phone, 561-243-7142 &#8226; Fax, 561-243-7166 &#8226; eMail, </span></font><font
size=1 color=blue face="Century Gothic"><span style='font-size:7.5pt;
font-family:"Century Gothic";color:blue'><a href="mailto:Lisi@MyDelrayBeach.com"><font
face=Arial><span style='font-family:Arial'>Lisi@MyDelrayBeach.com</span></font></a></span></font><font
size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Century Gothic"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>