I wonder which version of PHP MS4W uses, <a href="http://windows.php.net/download/">http://windows.php.net/download/</a>?  The VC9 versions require the VC++ 2008 package and seem to be improved from the VC6 versions.  That page also states to NOT use the VC9 versions with <a href="http://apache.org">apache.org</a> binaries but use VC6 versions instead.  Maybe MS4W compiles everything themselves to ensure compatibility?<br>
<br><br>Just a note, not sure it matters, but I am a Windows user and never been able to use the MS4W package.  I think MS4W is great but my servers usually already have Apache and PHP.  I use MS4W to just get the MapServer/GDAL binaries.  It&#39;s common from my experience for people to add web mapping apps/components (MapServer, GeoMoose, Google Maps, ArcIMS, etc...) to servers and sites that already exist in production.  These servers/sites usually serve a number of other apps and cannot use the MS4W as is.<br>
<br>So, for me, I need to find out exactly where I got my apache/php binaries from (on the server that will actualy house the GeoMoose app) and make sure mapserver/mapscript/geomoose components are compatible.  <br><br>- John<br>
<br><br><br><div class="gmail_quote">On Mon, Jan 4, 2010 at 12:30 PM, Brent Fraser <span dir="ltr">&lt;<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I just installed MS4W on a clean XP virtual machine.  Apache would not start; I had to install the VC++ 2008 redist package (<a href="http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&amp;displaylang=en</a>)<br>

<br>
Then it started and PHP reported:<br>
<br>
MapScript<br>
MapServer Version  MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br>

<br>
PHP MapScript Version  ($Revision: 9099 $ $Date: 2009-06-09 00:39:18 -0300 (Tue, 09 Jun 2009) $)<br>
<br>
so I&#39;m encouraged.  I&#39;ll try GM next...<br>
<br>
Brent<br>
<br>
<br>
<br>
<br>
Brian Fischer wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
I really haven’t tested MS4W 3.0 beta 7 with GM yet.  I tried when it was in beta 2 and ran into some of these same problems.<br>
<br>
 <br>
I would suggest if there are specific things we need added to MS4W to make things work with GM 2.2 we submit a bug.  Kind of like the Mapbender project did in this bug <a href="http://bugzilla.maptools.org/show_bug.cgi?id=2086" target="_blank">http://bugzilla.maptools.org/show_bug.cgi?id=2086</a>.  Then if it is not to hard for them to add they will do it.<br>

<br>
 <br>
Is the dbase .dll the only thing?  I think when GM 2.2 comes out we need to explain the quirks of the dl() function.<br>
<br>
 <br>
*Brian Fischer,* CFM  GIS Project Manager<br>
*Houston Engineering, Inc.*<br>
Phone: W: 763.493.4522 / M: 763.229.2734<br>
<br>
 <br>
*From:* Dan Little [mailto:<a href="mailto:danlittle@yahoo.com" target="_blank">danlittle@yahoo.com</a>]<br>
*Sent:* Monday, January 04, 2010 10:05 AM<br>
*To:* John Callahan<br>
*Cc:* GeoMOOSE Users List<br>
*Subject:* Re: [Geomoose-users] getting started, running the demos question<br>
<br>
 <br>
We will probably not delay 2.2 in order to be PHP 5.3 ready.  I would expect that if we&#39;re going to focus on PHP 5.3/MS4W 3.0 then we&#39;re going to need to rollout a 2.2.(1/2/5) that subsumes it as a &quot;bug fix.&quot;<br>

<br>
     <br>
    *From:* John Callahan &lt;<a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a>&gt;<br>
    *To:* Brent Fraser &lt;<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>&gt;<br>
    *Cc:* Dan Little &lt;<a href="mailto:danlittle@yahoo.com" target="_blank">danlittle@yahoo.com</a>&gt;;<br>
    <a href="mailto:geomoose-users@lists.sourceforge.net" target="_blank">geomoose-users@lists.sourceforge.net</a><br>
    *Sent:* Mon, January 4, 2010 10:01:07 AM<br>
    *Subject:* Re: [Geomoose-users] getting started, running the demos<br>
    question<br>
<br>
    Thanks Dan/Brent.<br>
<br>
    Would you say that GeoMoose 2.2 would be tested/modified to work<br>
    with MapServer 5.4.x and PHP 5.3 (and therefore MS4W 3.0 from a<br>
    Windows perspective)?   Actually, GM 2.2 could probably work for all<br>
    MapServer 5.x versions....<br>
<br>
    And that GeoMoose 2.0.x works with MapServer 5.2.x and PHP 5.2 (and<br>
    therefore MS4W 2.3.x)?<br>
<br>
<br>
    I wouldn&#39;t mind using GM 2.2 with PHP 5.2 (at least temporarily) if<br>
    I can find a php_mapscript dll based on PHP 5.2 that works with<br>
    MapServer 5.4.2.<br>
<br>
    - John<br>
<br>
<br>
    On Mon, Jan 4, 2010 at 10:39 AM, Brent Fraser<br></div></div><div><div></div><div class="h5">
    &lt;<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a> &lt;mailto:<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>&gt;&gt; wrote:<br>
<br>
    Dan, John,<br>
<br>
     I agree; we need to test GM 2.2 with MS4W 3.0.  I&#39;ll have a look at<br>
    the beta.<br>
<br>
    I see that PHP&#39;s dl() is deprecated (due to security and threading<br>
    issues), but the doc doesn&#39;t say what the replacement is (use the<br>
    PHP.ini?).  I think our plan would be to modify config.php to test<br>
    if a module is loaded (as it does now) and just give a message if it<br>
    isn&#39;t:<br>
<br>
    if(!extension_loaded(&#39;gd&#39;) &amp;&amp; !extension_loaded(&#39;gd2&#39;)) {<br>
           printf( &#39;Please ensure the following extension is loaded<br>
    using php.ini:&#39;.&#39;php_gd2.&#39;.PHP_SHLIB_SUFFIX);<br>
    }<br>
<br>
    Unless there&#39;s a better way?<br>
<br>
    As for the php.dbase.dll, we could ask the MS4W people to include it...<br>
<br>
    Best Regards,<br>
    Brent Fraser<br>
<br>
    Dan Little wrote:<br>
<br>
    I think we simply need to do more testing on the more bleeding edge<br>
    software.  In some regard, we have enough issues keeping up with<br>
    browser changes.  Moving past developer excuses,  I&#39;m running OS/X<br>
    10.5.something and a few variants of debian and I believe they all<br>
    have PHP 5.2, which is why there is probably some quirks when moving<br>
    t o PHP 5.3.<br>
<br>
<br>
<br>
    Brian/Len/Brent, any help on your versions? I just really don&#39;t use<br>
    Windows for anything but running IE...<br>
<br>
<br>
       *From:* John Callahan &lt;<a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a><br></div></div>
    &lt;mailto:<a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a>&gt;&gt;<div class="im"><br>
       *To:* <a href="mailto:geomoose-users@lists.sourceforge.net" target="_blank">geomoose-users@lists.sourceforge.net</a><br></div>
    &lt;mailto:<a href="mailto:geomoose-users@lists.sourceforge.net" target="_blank">geomoose-users@lists.sourceforge.net</a>&gt;<div><div></div><div class="h5"><br>
       *Sent:* Sun, January 3, 2010 8:31:42 AM<br>
<br>
       &lt; b&gt;Subject: [Geomoose-users] getting started, running the demos<br>
<br>
<br>
       question<br>
<br>
       I&#39;m trying to setup GeoMoose but ran into a problem that I&#39;m not<br>
       sure how to fix.  After several hours of modifying my environment,<br>
       here&#39;s where I&#39;m at now:<br>
<br>
<br>
       Windows OS<br>
<br>
       Apache 2.2.11<br>
<br>
       PHP 5.3.1  (VC6 x86 Thread Safe (2009-Nov-19 10:20:08) from<br>
       <a href="http://windows.php.net/download/" target="_blank">http://windows.php.net/download/</a>)<br>
<br>
       MapServer 5.4.2 with PHP_MapScript from ms4w_3.0_beta7 2009-09-01<br>
          (<a href="http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL_3.0.html" target="_blank">http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL_3.0.html</a>)<br>
<br>
       GeoMoose from moose2-trunk as downloaded from the tarball as of Jan<br>
       1.  ( I choose this over the 2.0.1 release because I liked some of<br>
       the changes in 2.2.)<br>
<br>
<br>
       Apparently, the php dl() function is now deprecated as of PHP<br>
    5.3.    Even with the enable_dl set to &#39;On&#39; in php.ini, it still<br>
    throws an<br>
       error when trying to run the demo.  GeoMoose uses this function.<br>
       How can I get around that?<br>
<br>
       Also, I see GeoMoose uses php_dbase extension.  That dll is not in<br>
       the PHP or MS4W distributions I downloaded.  I did see a php_ogr dll<br>
       in MW4W though.  How can I get around this?<br>
<br>
<br>
       Lastly, I tried using php 5.2.8 and I WAS able to get the GeoMoose<br>
       demo mostly working.  However, some problems were occurring, likely<br>
       because I didn&#39;t have php_mapscript, or maybe a wrong version.  I<br>
       switched to php 5.3 because I couldn&#39;t find a php_mapscript for<br>
<br>
       MapServer 5.4.2 for p hp 5.2.x and because it was what MS4W<br>
<br>
<br>
       currently supports.<br>
<br>
       Thanks for any help or thoughts.<br>
<br>
       - John<br>
<br>
       **************************************************<br>
       John Callahan, Geospatial Application Developer<br>
       Delaware Geological Survey, University of Delaware<br>
       URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
       **************************************************<br>
<br>
<br>
    ------------------------------------------------------------------------<br>
<br>
    ------------------------------------------------------------------------------<br>
    This SF.Net email is sponsored by the Verizon Developer Community<br>
    Take advantage of Verizon&#39;s best-in-class app development support<br>
    A streamlined, 14 day to market process makes app distribution fast<br>
    and easy<br>
    Join now and get one step closer to millions of Verizon customers<br>
    <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
<br>
    ------------------------------------------------------------------------<br>
<br>
    _______________________________________________<br>
    Geomoose-users mailing list<br>
    <a href="mailto:Geomoose-users@lists.sourceforge.net" target="_blank">Geomoose-users@lists.sourceforge.net</a><br></div></div>
    &lt;mailto:<a href="mailto:Geomoose-users@lists.sourceforge.net" target="_blank">Geomoose-users@lists.sourceforge.net</a>&gt;<div class="im"><br>
    <a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>
<br>
<br>
<br>
<br>
    --     **************************************************<br>
    John Callahan, Geospatial Application Developer<br>
    Delaware Geological Survey, University of Delaware<br>
    URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
    **************************************************<br>
<br>
 <br>
<br>
------------------------------------------------------------------------<br>
<br>
------------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Verizon Developer Community<br>
Take advantage of Verizon&#39;s best-in-class app development support<br>
A streamlined, 14 day to market process makes app distribution fast and easy<br>
Join now and get one step closer to millions of Verizon customers<br>
<a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a> <br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.sourceforge.net" target="_blank">Geomoose-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>
</div></blockquote>
</blockquote></div><br><br>