<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.yshortcuts
        {mso-style-name:yshortcuts;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>ms4w has a upgrade to mapserver 5.2.2 and even 5.4<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you upgrade, will you have the CGI/FastCGI Microsoft error?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’ve also been baffled by this error when the apache
config<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>has this module delimited.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I would try the upgrades.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>George <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;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?<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
<tr>
<td valign=top style='padding:0in 0in 0in 0in'>
<p class=MsoNormal style='margin-bottom:12.0pt'>I have the following codes in
my web map application:<br>
<br>
$GLOBALS["layer_names"] =
$GLOBALS["map"]->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. 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"><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 Windows NT TOSHIBA-FA8C99F 5.1 build 2600 <br>
Build Date Nov 8 2007 23:18:08 <br>
Configure Command cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared" <br>
Server API CGI/FastCGI <br>
<span class=yshortcuts>Virtual Directory Support</span> enabled <br>
Configuration <span class=yshortcuts>File</span> (php.ini) Path
C:\WINDOWS <br>
Loaded Configuration File D:\ms4w\Apache\cgi-bin\php.ini <br>
PHP API 20041225 <br>
PHP Extension 20060613 <br>
Zend Extension 220060519 <br>
Debug Build no <br>
<span class=yshortcuts>Thread Safety</span> enabled <br>
Zend Memory Manager enabled <br>
IPv6 Support enabled <br>
Registered PHP Streams php, file, data, http, ftp, compress.zlib <br>
Registered <span class=yshortcuts>Stream Socket</span> Transports tcp,
udp <br>
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed, zlib.* <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>
<o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p>
</div>
<p><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>
</body>
</html>