That's good to hear. Thanks Brent. Did you also edit the config.php
to get rid of the dl() calls? or the php_dbase.dll dependence (which I
couldn't find in the ms4w 3.0 beta distribution)? <br>
<br>
- John<br><br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 1:12 PM, Brent Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>></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;">
GM 2.2 (from SVN) running on MS4W 3.0 beta works ok after I edited the<br>
mapbook.xml (for things we need to change anyway for the 2.2 Beta release).<br>
Creation of PDF,HTML, and jpg documents for Printing using PHP seems to work ok too.<br>
<font color="#888888"><br>
Brent<br>
</font><div><div></div><div class="h5"><br>
<br>
Brent Fraser wrote:<br>
> I just installed MS4W on a clean XP virtual machine. Apache would not start; I<br>
> had to install the VC++ 2008 redist package<br>
> (<a href="http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&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<br>
> OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG<br>
> SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER<br>
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER<br>
> SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS<br>
> 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,<br>
> 09 Jun 2009) $)<br>
><br>
> so I'm encouraged. I'll try GM next...<br>
><br>
> Brent<br>
><br>
><br>
><br>
><br>
> Brian Fischer wrote:<br>
>> I really haven’t tested MS4W 3.0 beta 7 with GM yet. I tried when it<br>
>> was in beta 2 and ran into some of these same problems.<br>
>><br>
>><br>
>><br>
>> I would suggest if there are specific things we need added to MS4W to<br>
>> make things work with GM 2.2 we submit a bug. Kind of like the<br>
>> Mapbender project did in this bug<br>
>> <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<br>
>> hard for them to add they will do it.<br>
>><br>
>><br>
>><br>
>> Is the dbase .dll the only thing? I think when GM 2.2 comes out we need<br>
>> to explain the quirks of the dl() function.<br>
>><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>
>><br>
>> *From:* Dan Little [mailto:<a href="mailto:danlittle@yahoo.com">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>
>><br>
>> We will probably not delay 2.2 in order to be PHP 5.3 ready. I would<br>
>> expect that if we're going to focus on PHP 5.3/MS4W 3.0 then we're going<br>
>> to need to rollout a 2.2.(1/2/5) that subsumes it as a "bug fix."<br>
>><br>
>><br>
>><br>
>> *From:* John Callahan <<a href="mailto:john.callahan@udel.edu">john.callahan@udel.edu</a>><br>
>> *To:* Brent Fraser <<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>><br>
>> *Cc:* Dan Little <<a href="mailto:danlittle@yahoo.com">danlittle@yahoo.com</a>>;<br>
>> <a href="mailto:geomoose-users@lists.sourceforge.net">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'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>
>> <<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a> <mailto:<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>>> wrote:<br>
>><br>
>> Dan, John,<br>
>><br>
>> I agree; we need to test GM 2.2 with MS4W 3.0. I'll have a look at<br>
>> the beta.<br>
>><br>
>> I see that PHP's dl() is deprecated (due to security and threading<br>
>> issues), but the doc doesn'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't:<br>
>><br>
>> if(!extension_loaded('gd') && !extension_loaded('gd2')) {<br>
>> printf( 'Please ensure the following extension is loaded<br>
>> using php.ini:'.'php_gd2.'.PHP_SHLIB_SUFFIX);<br>
>> }<br>
>><br>
>> Unless there'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'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't use<br>
>> Windows for anything but running IE...<br>
>><br>
>><br>
>> *From:* John Callahan <<a href="mailto:john.callahan@udel.edu">john.callahan@udel.edu</a><br>
>> <mailto:<a href="mailto:john.callahan@udel.edu">john.callahan@udel.edu</a>>><br>
>> *To:* <a href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a><br>
>> <mailto:<a href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a>><br>
>> *Sent:* Sun, January 3, 2010 8:31:42 AM<br>
>><br>
>> < b>Subject: [Geomoose-users] getting started, running the demos<br>
>><br>
>><br>
>> question<br>
>><br>
>> I'm trying to setup GeoMoose but ran into a problem that I'm not<br>
>> sure how to fix. After several hours of modifying my environment,<br>
>> here's where I'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>
>><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 'On' 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't have php_mapscript, or maybe a wrong version. I<br>
>> switched to php 5.3 because I couldn'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'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">Geomoose-users@lists.sourceforge.net</a><br>
>> <mailto:<a href="mailto:Geomoose-users@lists.sourceforge.net">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>
>><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>
>> ------------------------------------------------------------------------------<br>
>> This SF.Net email is sponsored by the Verizon Developer Community<br>
>> Take advantage of Verizon'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>
>> _______________________________________________<br>
>> Geomoose-users mailing list<br>
>> <a href="mailto:Geomoose-users@lists.sourceforge.net">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>
><br>
> ------------------------------------------------------------------------------<br>
> This SF.Net email is sponsored by the Verizon Developer Community<br>
> Take advantage of Verizon'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>
> Geomoose-users mailing list<br>
> <a href="mailto:Geomoose-users@lists.sourceforge.net">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>
><br>
<br>
------------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Verizon Developer Community<br>
Take advantage of Verizon'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>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.sourceforge.net">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></div></blockquote></div><br>