Did you build MapServer and GDAL yourself? A Aaron pointed out, you
might have missed the --with-ogr option in mapserver, it's not
automatic when you enable gdal support.
Alternatively, have you looked at my MapServer package for OSX? If
there is something missing that you need, let me know.
On Nov 3, 2006, at 3:55 PM, Kipp Jones wrote:
This may be a configuration error, but I'm stumped. I'm getting an
error when trying to use ogr to connect to mysql via phpmapscript.
The error:
PHP Warning: [MapServer Error]: msOGRLayerOpen(): OGR support is
not available.
I'm running on Mac OS X 10.4.8.
Things seem to be happy, gmap is working just fine.
My output from phpinfo shows:
MapServer Version
MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=THREADS INPUT=EPPL7 INPUT=GDAL
INPUT=SHAPEFILE DEBUG=MSDEBUG
PHP MapScript Version
($Revision: 1.260 $ $Date: 2006/09/06 16:42:36 $)
-----
William Kyngesburye <[EMAIL PROTECTED]>
http://www.kyngchaos.com/
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy