<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> </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.
You seem to be the only one who responds to any of my inquiries so I am
grateful! In response…<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> </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'>
</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. 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'>
</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.
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'> You should
use PHP as a CGI. 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. I guess all that work setting up PHP as an ISAPI was a
good learning experience! 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> </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'>
</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'> You
should think about the MapServer CGI and the MapScript DLL as two different
applications built upon the same MapServer libraries. 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).
While they share a lot of code, of course, these two are completely separate
applications, and they are quite independent of each other.
php_mapscript_44.dll is a PHP "module" and is loaded by the PHP
interpreter when it is referenced by a PHP script being executed. 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’t
think I’ll understand this whole setup until the consultant comes in and
actually makes it all work! I hope someone else will respond to my
questions. I still don’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> </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. </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. 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'> </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 "performance
penalty" of CGI (a limitation that, IMHO, has been greatly oversold by
Microsoft). 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. But let's make work correctly first, THEN make it
work faster <g>.<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’s the executable is memory resident as many times as it is being
run. So, for example, if 5 users are running the CGI then it is taking up
5x the memory. That’s the way I understand it from Microsoft’s
standpoint but I could be wrong. I’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> </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 • 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'> • <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 • Fax, 561-243-7166 • 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> </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"'> <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! I'll try to contribute, and there are others with different
expertise who can chime in as well. 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"'> <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'>
</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. 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'> No, there
is no ISAPI version for IIS. Using MapServer as a CGI will work
fine. 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> </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'>
</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. 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'>
</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.
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'> You should
use PHP as a CGI. 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> </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'>
</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'> You
should think about the MapServer CGI and the MapScript DLL as two different
applications built upon the same MapServer libraries. 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).
While they share a lot of code, of course, these two are completely separate
applications, and they are quite independent of each other.
php_mapscript_44.dll is a PHP "module" and is loaded by the PHP
interpreter when it is referenced by a PHP script being executed. 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"'> <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. Do not worry about ISAPI implementations or the
"performance penalty" of CGI (a limitation that, IMHO, has been
greatly oversold by Microsoft). 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. But let's make work correctly
first, THEN make it work faster <g>.</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"'> <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'> - 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> <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> </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. 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. I am only responsible for the
setup of the apps, and the rest will be up to our engineers and the
consultant. I have several questions and I hope some of you can answer
them in a language I can understand. Please remember that I honestly don’t
understand how these applications work at all. 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> </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> </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. I did NOT
copy any .dll’s to my System32 directory. 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> </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 “No query information to decode. QUERY_STRING is set,
but empty.” 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"'>
</span></font><font size=2><span style='font-size:10.0pt'>I set this up as a
CGI in IIS6. 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> </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). I did run the .exe file, but I then configured it
manually as a server module per the instructions. 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. 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"'>
</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. 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"'>
</span></font><font size=2><span style='font-size:10.0pt'>Supposedly they were
working on the SAPI version. 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> </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. I’m very
confused as to whether this is a module for MapServer or PHP. The
download for this module included several .dll’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"'>
</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"'>
</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> </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. 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';”)<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"'>
</span></font><font size=2><span style='font-size:10.0pt'>Where do I put the
extracted MapSurfer folder? I put it in the wwwroot folder. The
Readme.txt file says to “Put the MapSurfer directory somewhere accessible
to the web.” 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"'>
</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> </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. I have to give
you credit because I am very confused! 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 • 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'> • <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 • Fax, 561-243-7166 • 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> </o:p></span></font></p>
</div>
</body>
</html>