Mike,<br><br>Actually the PHP bindings are not maintained at all, so any improvements in this topic would be welcomed. You might also want to regenerate the bindings with SWIG since the committed version may be outdated. You should also make sure the corresponding gdal core is available load (proably by setting LD_LIBRARY_PATH).<br>
<br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2011/2/8 Mike Leahy <span dir="ltr">&lt;<a href="mailto:mgleahy@alumni.uwaterloo.ca">mgleahy@alumni.uwaterloo.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div style="font-family: &#39;Sans Serif&#39;; font-size: 9pt; font-weight: 400; font-style: normal;">
<p style="margin: 0px; text-indent: 0px;">Hi again,</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">I recognize this perhaps isn&#39;t a popular topic.  However, I thought I&#39;d give the PHP bingings a try with the latest 1.8.0 release.  It&#39;s somewhat promising to see that enabling the php bindings in the ./configure options and compiling will succesfully produce a php_gdal.so library.  After finding this, I ran make install for gdal, then copied the php_gdal.so to the PHP modules folder and configured PHP to load it.  Unfortunately, I get the following output in the Apache error logs when I attempt to load the module in PHP:</p>

<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">PHP Warning:  PHP Startup: Unable to load dynamic library &#39;/usr/lib/php5/20090626+lfs/php_gdal.so&#39; - /usr/lib/php5/20090626+lfs/php_gdal.so: undefined symbol: CPLLoggingErrorHandler in Unknown on line 0</p>

<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">I&#39;m not really sure where to look next.  Could it be a compatibility issue with PHP 5.3.3, or maybe for some reason the php module isn&#39;t able to access the installed gdal libraries?</p>

<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Any suggestions would be welcome.  I&#39;m testing this in a minimal 64-bit Ubuntu 10.11 VM.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Regards,</p>
<p style="margin: 0px; text-indent: 0px;">Mike</p><div><div></div><div class="h5">
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">On Sunday, February 06, 2011 14:50:34 Mike Leahy wrote:</p>
<p style="margin: 0px; text-indent: 0px;">&gt; Hello List,</p>
<p style="margin: 0px; text-indent: 0px;">&gt; </p>
<p style="margin: 0px; text-indent: 0px;">&gt; Does anyone have an idea if there is any likelihood for a revival of php</p>
<p style="margin: 0px; text-indent: 0px;">&gt; bindings for GDAL/OGR.  I know if these were available, I&#39;d be making use</p>
<p style="margin: 0px; text-indent: 0px;">&gt; of them...although, I have no experience creating/maintaining SWIG</p>
<p style="margin: 0px; text-indent: 0px;">&gt; libraries.  So I&#39;m curious to know what someone would need to know to get</p>
<p style="margin: 0px; text-indent: 0px;">&gt; started on this, and how big of a job would it likely be?</p>
<p style="margin: 0px; text-indent: 0px;">&gt; </p>
<p style="margin: 0px; text-indent: 0px;">&gt; Regards,</p>
<p style="margin: 0px; text-indent: 0px;">&gt; Mike</p></div></div></div><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>