<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV><BR>Thanks. I'll try the newer module. </DIV>
<DIV>&nbsp;</DIV>
<DIV>By the way, you've also experienced this error? I've&nbsp;checked my php.ini, and both lines are delimited as well:</DIV>
<DIV>; fastcgi.impersonate = 1;</DIV>
<DIV>; fastcgi.logging = 0</DIV>
<DIV>&nbsp;</DIV>
<DIV>It means fastcgi is actually disabled, isn't it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks &amp; regards,</DIV>
<DIV>-Kresh</DIV>
<DIV><BR>--- On <B>Thu, 6/18/09, McCown, George <I>&lt;George.McCown@jjg.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: McCown, George &lt;George.McCown@jjg.com&gt;<BR>Subject: Re: [ms4w-users] getAllLayerNames crashes MapServer?<BR>To: ms4w-users@lists.maptools.org<BR>Date: Thursday, June 18, 2009, 11:05 PM<BR><BR>
<DIV id=yiv1177635104>
<STYLE>
<!--
#yiv1177635104  
 _filtered #yiv1177635104 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv1177635104 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1177635104  
#yiv1177635104 p.MsoNormal, #yiv1177635104 li.MsoNormal, #yiv1177635104 div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv1177635104 a:link, #yiv1177635104 span.MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1177635104 a:visited, #yiv1177635104 span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1177635104 span.yshortcuts
        {}
#yiv1177635104 span.EmailStyle18
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
#yiv1177635104 .MsoChpDefault
        {}
 _filtered #yiv1177635104 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1177635104 div.Section1
        {}
-->
</STYLE>

<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">ms4w has a upgrade to mapserver 5.2.2 and even 5.4</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">If you upgrade, will you have the CGI/FastCGI Microsoft error?</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">I’ve also been baffled by this error when the apache config</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">has this module delimited.</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">I would try the upgrades.</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">Regards</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">George &nbsp;&nbsp;</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma', 'sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma', 'sans-serif'"> ms4w-users-bounces@lists.maptools.org [mailto:ms4w-users-bounces@lists.maptools.org] <B>On Behalf Of </B>kreshna_iceheart@yahoo.com<BR><B>Sent:</B> Thursday, June 18, 2009 9:47 PM<BR><B>To:</B> ms4w-users@lists.maptools.org<BR><B>Subject:</B> [ms4w-users] getAllLayerNames crashes MapServer?</SPAN></DIV></DIV>
<P class=MsoNormal>&nbsp;</DIV>
<TABLE class=MsoNormalTable cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="PADDING-RIGHT: 0in; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; PADDING-TOP: 0in" vAlign=top>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt">I have the following codes in my web map application:<BR><BR>$GLOBALS["layer_names"] = $GLOBALS["map"]-&gt;getAllLayerNames();<BR><BR><BR>When I ran the web map application through browser, Windows gave me the following <SPAN class=yshortcuts>error message</SPAN>:<BR><BR>CGI / FastCGI has encountered a problem and needs to close.&nbsp; We are <SPAN class=yshortcuts>sorry for the inconvenience</SPAN>.<BR><BR><BR>Also, the browser showed the following error message:<BR><BR>Internal Server Error<BR>The server encountered an internal error or misconfiguration and was unable to complete your request.<BR><BR>Please contact the <SPAN class=yshortcuts>server administrator</SPAN>, <A href="http://us.mc1106.mail.yahoo.com/mc/compose?to=admin@local.domain" target=_blank rel=nofollow><SPAN class=yshortcuts>admin@local.domain</SPAN></A> and inform them of the time the error occurred, and anything you might have done that
 may have caused the error.<BR><BR>More information about this error may be available in the server error log.<BR><BR><BR>First I thought it was because I used <SPAN class=yshortcuts>global variables</SPAN>, but I changed the variables into non-global variables, and the error was still there.<BR><BR>I'm using ms4w with MapServer version 5.0.2. The PHP version is 5.2.5 (cli) (built: Nov 8 2007 23:18:51), with <SPAN class=yshortcuts>Zend Engine</SPAN> v2.2.0. What could be wrong?<BR><BR>Thanks,<BR>-Kresh<BR><BR>PS: the following is the result of phpinfo_mapscript.php<BR><BR>System&nbsp; Windows NT TOSHIBA-FA8C99F 5.1 build 2600&nbsp; <BR>Build Date&nbsp; Nov 8 2007 23:18:08&nbsp; <BR>Configure Command&nbsp; cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"&nbsp; <BR>Server API&nbsp; CGI/FastCGI&nbsp; <BR><SPAN class=yshortcuts>Virtual Directory Support</SPAN>&nbsp; enabled&nbsp; <BR>Configuration <SPAN class=yshortcuts>File</SPAN>
 (php.ini) Path&nbsp; C:\WINDOWS&nbsp; <BR>Loaded Configuration File&nbsp; D:\ms4w\Apache\cgi-bin\php.ini&nbsp; <BR>PHP API&nbsp; 20041225&nbsp; <BR>PHP Extension&nbsp; 20060613&nbsp; <BR>Zend Extension&nbsp; 220060519&nbsp; <BR>Debug Build&nbsp; no&nbsp; <BR><SPAN class=yshortcuts>Thread Safety</SPAN>&nbsp; enabled&nbsp; <BR>Zend Memory Manager&nbsp; enabled&nbsp; <BR>IPv6 Support&nbsp; enabled&nbsp; <BR>Registered PHP Streams&nbsp; php, file, data, http, ftp, compress.zlib&nbsp; <BR>Registered <SPAN class=yshortcuts>Stream Socket</SPAN> Transports&nbsp; tcp, udp&nbsp; <BR>Registered Stream Filters&nbsp; convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*&nbsp; <BR><BR>This program makes use of the Zend Scripting Language Engine:<BR>Zend Engine v2.2.0, Copyright (c) 1998-2007 <SPAN class=yshortcuts>Zend Technologies</SPAN><BR><BR></DIV></TD></TR></TBODY></TABLE>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Calibri', 'sans-serif'">&nbsp;</SPAN></DIV></DIV>
<DIV><FONT face=arial size=1>This email and any files transmitted with it are intended solely for the use of the individual and/or entity to whom it is addressed. Unless noted otherwise above, any distribution or copying of this email is strictly prohibited. This email IS NOT a binding agreement on behalf of JJG. If you have received this message in error, please immediately notify the sender and delete this message from your computer. <BR>Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy, Norcross, Ga. 30071 www.jjg.com </FONT></DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>ms4w-users mailing list<BR><A href="http://us.mc1106.mail.yahoo.com/mc/compose?to=ms4w-users@lists.maptools.org" ymailto="mailto:ms4w-users@lists.maptools.org">ms4w-users@lists.maptools.org</A><BR><A href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target=_blank>http://lists.maptools.org/mailman/listinfo/ms4w-users</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>