<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>PHP Warning: [MapServer Error]: msOGRLayerOpen(): OGR support is not available.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm running on Mac OS X 10.4.8.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Things seem to be happy, gmap is working just fine. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>My output from phpinfo shows:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.5px;"><B>MapServer Version</B></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.5px;">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</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.5px;"><B>PHP MapScript Version</B></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.5px;">($Revision: 1.260 $ $Date: 2006/09/06 16:42:36 $)</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.5px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 10.5px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The layer in my map is pretty simple:</DIV><DIV>LAYER</DIV><DIV> NAME "scanner"</DIV><DIV> STATUS DEFAULT</DIV><DIV> TYPE POINT</DIV><DIV> CONNECTIONTYPE OGR</DIV><DIV> CONNECTION "/Users/kippster/tiger/scanner.ovf"</DIV><DIV> DATA "scanner"</DIV><DIV> CLASS</DIV><DIV> NAME "scanner"</DIV><DIV> STYLE</DIV><DIV> SYMBOL 2</DIV><DIV> SIZE 15</DIV><DIV> COLOR 0 255 0</DIV><DIV> END</DIV><DIV> END</DIV><DIV>END</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">My ovf file is:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV><OGRVRTDataSource></DIV><DIV> <OGRVRTLayer name="scanner"></DIV><DIV> <SrcDataSource>MYSQL:db,user=xxxx,password=xxxxxx,host=127.0.0.1,port=3306,tables=GpsLogs</SrcDataSource> </DIV><DIV> <SrcSQL>SELECT scannerId, latitude, longitude FROM GpsLogs</SrcSQL> </DIV><DIV> <GeometryType>wkbPoint</GeometryType></DIV><DIV> <GeometryField encoding="PointFromColumns" x="latitude" y="longitude"/> </DIV><DIV> </OGRVRTLayer></DIV><DIV></OGRVRTDataSource></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When I perform ' ogrinfo /Users/kippster/tiger/scanner.ovf -al' it spews out all of the data points in the db just fine.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Any ideas?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks!</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Kipp</DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV></BODY></HTML>