[Geomoose-users] getting started, running the demos question
Brent Fraser
bfraser at geoanalytic.com
Mon Jan 4 12:30:24 EST 2010
I just installed MS4W on a clean XP virtual machine. Apache would not start; I
had to install the VC++ 2008 redist package
(http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en)
Then it started and PHP reported:
MapScript
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
PHP MapScript Version ($Revision: 9099 $ $Date: 2009-06-09 00:39:18 -0300 (Tue,
09 Jun 2009) $)
so I'm encouraged. I'll try GM next...
Brent
Brian Fischer wrote:
> 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.
>
>
>
> 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
> http://bugzilla.maptools.org/show_bug.cgi?id=2086. Then if it is not to
> hard for them to add they will do it.
>
>
>
> 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.
>
>
>
> *Brian Fischer,* CFM GIS Project Manager
> *Houston Engineering, Inc.*
> Phone: W: 763.493.4522 / M: 763.229.2734
>
>
>
> *From:* Dan Little [mailto:danlittle at yahoo.com]
> *Sent:* Monday, January 04, 2010 10:05 AM
> *To:* John Callahan
> *Cc:* GeoMOOSE Users List
> *Subject:* Re: [Geomoose-users] getting started, running the demos question
>
>
>
> We will probably not delay 2.2 in order to be PHP 5.3 ready. I would
> expect that if we're going to focus on PHP 5.3/MS4W 3.0 then we're going
> to need to rollout a 2.2.(1/2/5) that subsumes it as a "bug fix."
>
>
>
> *From:* John Callahan <john.callahan at udel.edu>
> *To:* Brent Fraser <bfraser at geoanalytic.com>
> *Cc:* Dan Little <danlittle at yahoo.com>;
> geomoose-users at lists.sourceforge.net
> *Sent:* Mon, January 4, 2010 10:01:07 AM
> *Subject:* Re: [Geomoose-users] getting started, running the demos
> question
>
> Thanks Dan/Brent.
>
> Would you say that GeoMoose 2.2 would be tested/modified to work
> with MapServer 5.4.x and PHP 5.3 (and therefore MS4W 3.0 from a
> Windows perspective)? Actually, GM 2.2 could probably work for all
> MapServer 5.x versions....
>
> And that GeoMoose 2.0.x works with MapServer 5.2.x and PHP 5.2 (and
> therefore MS4W 2.3.x)?
>
>
> I wouldn't mind using GM 2.2 with PHP 5.2 (at least temporarily) if
> I can find a php_mapscript dll based on PHP 5.2 that works with
> MapServer 5.4.2.
>
> - John
>
>
> On Mon, Jan 4, 2010 at 10:39 AM, Brent Fraser
> <bfraser at geoanalytic.com <mailto:bfraser at geoanalytic.com>> wrote:
>
> Dan, John,
>
> I agree; we need to test GM 2.2 with MS4W 3.0. I'll have a look at
> the beta.
>
> I see that PHP's dl() is deprecated (due to security and threading
> issues), but the doc doesn't say what the replacement is (use the
> PHP.ini?). I think our plan would be to modify config.php to test
> if a module is loaded (as it does now) and just give a message if it
> isn't:
>
> if(!extension_loaded('gd') && !extension_loaded('gd2')) {
> printf( 'Please ensure the following extension is loaded
> using php.ini:'.'php_gd2.'.PHP_SHLIB_SUFFIX);
> }
>
> Unless there's a better way?
>
> As for the php.dbase.dll, we could ask the MS4W people to include it...
>
> Best Regards,
> Brent Fraser
>
> Dan Little wrote:
>
> I think we simply need to do more testing on the more bleeding edge
> software. In some regard, we have enough issues keeping up with
> browser changes. Moving past developer excuses, I'm running OS/X
> 10.5.something and a few variants of debian and I believe they all
> have PHP 5.2, which is why there is probably some quirks when moving
> t o PHP 5.3.
>
>
>
> Brian/Len/Brent, any help on your versions? I just really don't use
> Windows for anything but running IE...
>
>
> *From:* John Callahan <john.callahan at udel.edu
> <mailto:john.callahan at udel.edu>>
> *To:* geomoose-users at lists.sourceforge.net
> <mailto:geomoose-users at lists.sourceforge.net>
> *Sent:* Sun, January 3, 2010 8:31:42 AM
>
> < b>Subject: [Geomoose-users] getting started, running the demos
>
>
> question
>
> I'm trying to setup GeoMoose but ran into a problem that I'm not
> sure how to fix. After several hours of modifying my environment,
> here's where I'm at now:
>
>
> Windows OS
>
> Apache 2.2.11
>
> PHP 5.3.1 (VC6 x86 Thread Safe (2009-Nov-19 10:20:08) from
> http://windows.php.net/download/)
>
> MapServer 5.4.2 with PHP_MapScript from ms4w_3.0_beta7 2009-09-01
>
> (http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL_3.0.html)
>
> GeoMoose from moose2-trunk as downloaded from the tarball as of Jan
> 1. ( I choose this over the 2.0.1 release because I liked some of
> the changes in 2.2.)
>
>
> Apparently, the php dl() function is now deprecated as of PHP
> 5.3. Even with the enable_dl set to 'On' in php.ini, it still
> throws an
> error when trying to run the demo. GeoMoose uses this function.
> How can I get around that?
>
> Also, I see GeoMoose uses php_dbase extension. That dll is not in
> the PHP or MS4W distributions I downloaded. I did see a php_ogr dll
> in MW4W though. How can I get around this?
>
>
> Lastly, I tried using php 5.2.8 and I WAS able to get the GeoMoose
> demo mostly working. However, some problems were occurring, likely
> because I didn't have php_mapscript, or maybe a wrong version. I
> switched to php 5.3 because I couldn't find a php_mapscript for
>
> MapServer 5.4.2 for p hp 5.2.x and because it was what MS4W
>
>
> currently supports.
>
> Thanks for any help or thoughts.
>
> - John
>
> **************************************************
> John Callahan, Geospatial Application Developer
> Delaware Geological Survey, University of Delaware
> URL: http://www.dgs.udel.edu
> **************************************************
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast
> and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> <mailto:Geomoose-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
>
>
>
> --
> **************************************************
> John Callahan, Geospatial Application Developer
> Delaware Geological Survey, University of Delaware
> URL: http://www.dgs.udel.edu
> **************************************************
>
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
More information about the Geomoose-users
mailing list