<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>An Ingres Blog &#187; php</title>
	<atom:link href="http://blogs.planetingres.org/grant/category/drivers/php/feed" rel="self" type="application/rss+xml" />
	<link>http://blogs.planetingres.org/grant</link>
	<description>(Other blogs about Ingres are available...)</description>
	<lastBuildDate>Wed, 12 Jan 2011 11:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PECL ingres-2.2.2 released</title>
		<link>http://blogs.planetingres.org/grant/302-pecl-ingres-2-2-2-released</link>
		<comments>http://blogs.planetingres.org/grant/302-pecl-ingres-2-2-2-released#comments</comments>
		<pubDate>Thu, 10 Jun 2010 07:28:03 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[update]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=302</guid>
		<description><![CDATA[Yesterday I pushed out an update to the PHP driver for Ingres into the PHP Extension Community Library (PECL). Whilst it&#8217;s been labelled as a minor update there have been 15 fixes/additions to the driver: - Update the unit tests to be more independent - Add support for the Ingres BOOLEAN type - Add ingres_fetch_assoc() [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I pushed out an update to the PHP driver for Ingres into the <a href="http://pecl.php.net/ingres">PHP Extension Community Library</a> (PECL). Whilst it&#8217;s been labelled as a minor update there have been 15 fixes/additions to the driver:</p>
<p>- Update the unit tests to be more independent<br />
- Add support for the Ingres BOOLEAN type<br />
- Add ingres_fetch_assoc()<br />
- Allow for a 0 offset in all ingres field functions<br />
- Update build scripts for OpenVMS CSWS PHP 2.0<br />
- Fix bug 17556 &#8211; Handle errors for non-result returning statements<br />
- Fix bug 16960 &#8211; SEGV when fetching the results from a row producing procedure<br />
- Fix bug 16990 &#8211; SEGV when executing a database procedure<br />
- Fix bug 17510 &#8211; Fix php_ii_set_connect_options so they work as documented<br />
- Fix bug 17302 &#8211; _close_statement is unable to free active statements<br />
- Fix bug 17207 &#8211; Under certain conditions the driver can SEGV when doing cleaning up<br />
- Fix bug 17198 &#8211; Unable to close non-result statements<br />
- Fix bug 17092 &#8211; SIGBUS when fetching data on 64-bit Solaris<br />
- IIapi_getDescriptor() should only be called for SELECT statements<br />
- Fix bug 16752 &#8211; Send all string values as IIAPI_VCH_TYPE</p>
<p>You can download the source code from <a href="http://pecl.php.net/get/ingres">http://pecl.php.net/get/ingres</a> or install directly from the command line using the command:</p>
<pre class="brush: bash; title: ; notranslate">
sudo pecl install ingres-2.2.2
</pre>
<p>Pre-built Windows binaries are available from <a href="http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver">ESD</a> for PHP 5.1.6, 5.2.13 and 5.3.2. An OpenVMS binary for CSWS PHP 2.0 will be updated today.  You can raise questions/problems via the <a href="http://community.ingres.com/forum/php">Ingres Community Forums</a>, the project <a href="http://pecl.php.net/package/ingres">home page</a> or via <a href="https://servicedesk.ingres.com">Service Desk</a>.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/168-php-ingres-220-released" title="PHP Ingres 2.2.0 released">PHP Ingres 2.2.0 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/147-php-ingres-210-released" title="PHP Ingres 2.1.0 released">PHP Ingres 2.1.0 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=302&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F302-pecl-ingres-2-2-2-released&amp;title=PECL%20ingres-2.2.2%20released" id="wpa2a_2"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/302-pecl-ingres-2-2-2-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ingres and Apache on Redhat Enterprise Server</title>
		<link>http://blogs.planetingres.org/grant/253-ingres-and-apache-on-redhat-enterprise-server</link>
		<comments>http://blogs.planetingres.org/grant/253-ingres-and-apache-on-redhat-enterprise-server#comments</comments>
		<pubDate>Wed, 14 Apr 2010 07:22:12 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[drivers]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[redhat]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=253</guid>
		<description><![CDATA[Introduction Getting web applications to connect to Ingres via Apache on UNIX/Linux can be quite fiddly. Here is a simple guide on the setup steps needed to allow the Ingres PHP, Python and Ruby drivers to work with Apache on RedHat Enterprise Linux, CentOS and Fedora Linux. I&#8217;ve also published articles on doing the same [...]]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Getting web applications to connect to Ingres via Apache on UNIX/Linux can be quite fiddly. Here is a simple guide on the setup steps needed to allow the Ingres PHP, Python and Ruby drivers to work with Apache on RedHat Enterprise Linux, CentOS and Fedora Linux. I&#8217;ve also published articles on doing the same for <a href="http://community.ingres.com/wiki/Ingres_with_Apache_on_Debian_and_Ubuntu">Debian/Ubunutu</a> and <a href="http://community.ingres.com/wiki/Ingres_with_Apache_on_SUSE_Linux">Novell SLES/OpenSUSE</a> in the Ingres <a href="http://community.ingres.com/wiki">Community Wiki</a>.</p>
<h2>Pre-requisites</h2>
<p>It is assumed that you have the following installed:</p>
<ul>
<li>Ingres 2006 or newer ( Ingres &gt;= 9.0.4 )</li>
<li>RedHat Enterprise Linux 5.4, CentOS 5.4 and Fedora Linux 11
<ul>
<li>These steps might apply to earlier releases as well</li>
</ul>
</li>
<li>Apache 2.2.8
<ul>
<li>The steps here apply to other releases of Apache from 1.3 onwards</li>
<li>mod_env &#8211; An Apache module which modifies the environment which is passed to CGI scripts and SSI pages</li>
</ul>
</li>
</ul>
<h2>Disabling SELinux</h2>
<p>As of writing this Ingres and SELinux do not interact very well. To use Ingres on an SELinux enabled system, SELinux needs to be placed in <i>permissive</i> or <i>disabled</i> modes. To determine the current state of SELinux run the following:</p>
<pre class="brush: bash; title: ; notranslate">
sestatus
</pre>
<p>sample output:</p>
<pre>$ sudo /usr/sbin/sestatus
SELinux status:                 disabled
</pre>
<p>If the status is <code>enforcing</code> then SELinux must be disabled using the command:</p>
<pre class="brush: bash; title: ; notranslate">
setenforce 0
# or to disable SELinux but log exceptions to policy to /var/log/secure
setenforce Permissive
</pre>
<p>This will only disable SELinux until the next reboot of the server. To make the change permanent edit <code>/etc/sysconfig/selinux</code>, changing <code>SELINUX</code> to <code>disabled</code> or <code>permissive</code>.</p>
<h2>Enabling Ingres for Apache</h2>
<p>Any user that connects to Ingres must be a known (defined) user. Specifically a user account must be created within Ingres using <code>CREATE USER ...</code>. In the case of web applications served by Apache, Tomcat or whatever, the server process owner is the user that Ingres will initially see. To determine the process owner for Apache execute the following:</p>
<pre class="brush: bash; title: ; notranslate">
ps -fe | grep httpd | grep -v grep
</pre>
<p>On my system I get the following:</p>
<pre>[grant@uksl-grant-rhel64 ~]$ ps -fe | grep httpd | grep -v grep
root      3331     1  0 Apr08 ?        00:00:02 /usr/sbin/httpd
apache   23356  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
apache   23357  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
apache   23358  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
apache   23359  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
apache   23360  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
apache   23361  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
apache   23362  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
apache   23363  3331  0 Apr11 ?        00:00:00 /usr/sbin/httpd
</pre>
<p>Which shows two user accounts for Apache. The <i>root</i> account can be ignored since it is a monitor/control process that starts up and shuts down servers as required. The processes run under the <i>apache</i> account will be used to connect to Ingres. </p>
<p>To add <i>apache</i> to Ingres run the following, as the <i>ingres</i> administrator:</p>
<pre>
sql iidbdb &lt;&lt;EOSQL
create user apache\g
commit\g
\q
EOSQL
</pre>
<p>You should see something similar to:</p>
<pre>
ingres@esva-suse:~&gt; sql iidbdb &lt;&lt;EOSQL
&gt; create user apache\g
&gt; commit\g
&gt; \q
&gt; EOSQL
INGRES TERMINAL MONITOR Copyright 2008 Ingres Corporation
Ingres Linux Version II 9.2.0 (a64.lnx/143)NPTL login
Tue Apr 13 23:33:18 2010
continue
* Executing . . .
continue
* Executing . . .
continue
* Ingres Version II 9.2.0 (a64.lnx/143)NPTL logout
Tue Apr 13 23:33:18 2010
</pre>
<p>Now the Ingres DBMS is setup for the Apache web server.</p>
<h2>Enabling Apache for Ingres</h2>
<ol>
<li>Edit, (as root), <code>/etc/sysconfig/httpd</code> to include the following:
<pre class="brush: bash; title: ; notranslate">
 II_SYSTEM=/opt/Ingres/IngresII
 LD_LIBRARY_PATH=/opt/Ingres/IngresII/ingres/lib:/opt/Ingres/IngresII/ingres/lib/lp32
 ODBCSYSINI=/opt/Ingres/IngresII/ingres/files
 export II_SYSTEM LD_LIBRARY_PATH ODBCSYSINI</pre>
<p><strong>Note</strong> &#8211; <code>ODBCSYSINI</code> is only needed for the Python driver or applications based on ODBC</li>
<li>Create a new config file (as root), <code>/etc/httpd/conf.d/ingres.conf</code>, adding the following:</li>
<pre class="brush: bash; title: ; notranslate">PassEnv II_SYSTEM LD_LIBRARY_PATH ODBCSYSINI</pre>
<li>Restart apache (as root):
<pre class="brush: bash; title: ; notranslate">service httpd restart</pre>
</li>
</ol>
<h2>Verifying the setup</h2>
<p>To see that the environment variables are visible the following code snippets can be executed through Apache through <a href="http://php.net/">PHP</a> and <a href="http://www.modpython.org/">mod_python</a>.</p>
<h3>PHP</h3>
<ul>
<li>Code:
<pre class="brush: php; title: ; notranslate">
&lt; ?php
  echo &quot;II_SYSTEM is :&quot; .$_SERVER[&quot;II_SYSTEM&quot;] . &quot;&lt;br/&gt;\n&quot;;
  echo &quot;LD_LIBRARY_PATH is :&quot; .$_SERVER[&quot;LD_LIBRARY_PATH&quot;] . &quot;&lt;br /&gt;\n&quot;;
?&gt;</pre>
</li>
<li>Sample Output:
<pre>
II_SYSTEM is :/opt/Ingres/IngresII
LD_LIBRARY_PATH is :/opt/Ingres/IngresII/ingres/lib:/opt/Ingres/IngresII/ingres/lib/lp32
</pre>
</li>
</ul>
<h3>Python</h3>
<ul>
<li>Code, save as <code>python_env.py</code>:</li>
<pre class="brush: python; title: ; notranslate">
from mod_python import apache
def environment(req):
    req.content_type = &quot;text/html&quot;
    req.add_common_vars()
    env_vars = req.subprocess_env.copy()
    req.write('&lt; !DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;')
    req.write('&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;')
    req.write('&lt;head&gt;&lt;title&gt;mod_python.publisher&lt;/title&gt;&lt;/head&gt;')
    req.write('&lt;body&gt;')
    req.write('&lt;h2&gt;Environment Variables&lt;/h2&gt;')
    req.write('&lt;table border=&quot;1&quot;&gt;')
    req.write('&lt;tr&gt;&lt;td&gt;%s&lt;/td&gt;&lt;td&gt;%s&lt;/td&gt;&lt;/tr&gt;' % (&quot;II_SYSTEM&quot;, env_vars['II_SYSTEM']))
    req.write('&lt;tr&gt;&lt;td&gt;%s&lt;/td&gt;&lt;td&gt;%s&lt;/td&gt;&lt;/tr&gt;' % (&quot;LD_LIBRARY_PATH&quot;, env_vars['LD_LIBRARY_PATH']))
    req.write('&lt;/table&gt;')
    req.write('&lt;/body&gt;')
    req.write('&lt;/html&gt;')
</pre>
<li>Ouput from http://localhost/env.py/environment:
<pre>
 Environment Variables
 II_SYSTEM	/opt/Ingres/II
 LD_LIBRARY_PATH	/lib:/usr/lib:/usr/local/lib:/opt/Ingres/II/ingres/lib:/opt/Ingres/II/ingres/lib/lp32
</pre>
</li>
</ul>
<p>If you have any comments feel free to post them below.</p>
<p><strong>Updated Apr 14, 2010 9:50</strong> to include SELinux information</p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/365-using-ima-to-get-a-list-of-inboundoutbound-connections-in-gcc" title="Using IMA to get a list of inbound/outbound connections in GCC">Using IMA to get a list of inbound/outbound connections in GCC</a></li>
<li><a href="http://blogs.planetingres.org/grant/354-ingres-ruby-driver-updated-version-1-4-1" title="Ingres Ruby driver updated &#8211; version 1.4.1">Ingres Ruby driver updated &#8211; version 1.4.1</a></li>
<li><a href="http://blogs.planetingres.org/grant/345-improving-the-improved-docs-ingres-com" title="Improving the Improved &#8211; docs.ingres.com">Improving the Improved &#8211; docs.ingres.com</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=253&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F253-ingres-and-apache-on-redhat-enterprise-server&amp;title=Ingres%20and%20Apache%20on%20Redhat%20Enterprise%20Server" id="wpa2a_4"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/253-ingres-and-apache-on-redhat-enterprise-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ingres PHP support for HP OpenVMS CSWS 2.0</title>
		<link>http://blogs.planetingres.org/grant/191-ingres-php-support-for-hp-openvms-csws-20</link>
		<comments>http://blogs.planetingres.org/grant/191-ingres-php-support-for-hp-openvms-csws-20#comments</comments>
		<pubDate>Fri, 17 Jul 2009 06:22:10 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[drivers]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[OpenVMS]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[inrges]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=191</guid>
		<description><![CDATA[For those of you who are interested in running PHP on OpenVMS with Ingres, I have published a pre-built binary to http://esd.ingres.com/product/drivers/PHP/HP_OpenVMS_Alpha/PHP_Driver. Installation instructions are available via http://bit.ly/InstallPHPIngresOpenVMS or in the README.VMS file contained within the download. The supplied PHP_INGRES.EXE has been built against Ingres 9.2.0 (axm.vms/143). If you want this extension for a different [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who are interested in running PHP on OpenVMS with Ingres, I have published a pre-built binary to<br />
<a href="http://esd.ingres.com/product/drivers/PHP/HP_OpenVMS_Alpha/PHP_Driver">http://esd.ingres.com/product/drivers/PHP/HP_OpenVMS_Alpha/PHP_Driver</a>. Installation instructions are available via <a href="http://bit.ly/InstallPHPIngresOpenVMS">http://bit.ly/InstallPHPIngresOpenVMS</a> or in the <a href="http://svn.php.net/viewvc/pecl/ingres/tags/ingres-2.2.1-vms/README.VMS?view=co">README.VMS</a> file contained within the download. The supplied <em>PHP_INGRES.EXE</em> has been built against Ingres 9.2.0 (axm.vms/143). If you want this extension for a different version of Ingres drop me a mail via <a href="mailto:grantc@php.net">grantc@php.net</a>.</p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/302-pecl-ingres-2-2-2-released" title="PECL ingres-2.2.2 released">PECL ingres-2.2.2 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/175-php-530-released" title="PHP 5.3.0 released">PHP 5.3.0 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=191&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F191-ingres-php-support-for-hp-openvms-csws-20&amp;title=Ingres%20PHP%20support%20for%20HP%20OpenVMS%20CSWS%202.0" id="wpa2a_6"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/191-ingres-php-support-for-hp-openvms-csws-20/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Ingres 2.2.1 released</title>
		<link>http://blogs.planetingres.org/grant/179-php-ingres-221-released</link>
		<comments>http://blogs.planetingres.org/grant/179-php-ingres-221-released#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:40:57 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[ingres]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[release]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=179</guid>
		<description><![CDATA[The last release of the PHP driver introduced a regression where by the &#8220;EXECUTE PROCEDURE&#8221; or &#8220;CALL&#8221; SQL statements would fail to execute (PECL bug 16688). The bug slipped through the net due to missing tests for database procedures. This oversight has now been resolved and the fix has been rolled into a new release, [...]]]></description>
			<content:encoded><![CDATA[<p>The last release of the PHP driver introduced a regression where by the &#8220;EXECUTE PROCEDURE&#8221; or &#8220;CALL&#8221; SQL statements would fail to execute (<a href="http://pecl.php.net/bugs/bug.php?id=16688">PECL bug 16688</a>). The bug slipped through the net due to missing tests for database procedures. This oversight has now been resolved and the fix has been rolled into a new release, 2.2.1. If you build the driver from source you can get the updated code from <a href="http://pecl.php.net/get/ingres">http://pecl.php.net/get/ingres</a>. Windows users can download the php_ingres.dll from <a href="http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver/">http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver/</a>. The Windows download includes the DLLs for PHP 5.3.0, released <a href="http://blogs.planetingres.org/grant/2009/06/30/php-530-released/">earlier</a> today.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/168-php-ingres-220-released" title="PHP Ingres 2.2.0 released">PHP Ingres 2.2.0 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/147-php-ingres-210-released" title="PHP Ingres 2.1.0 released">PHP Ingres 2.1.0 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/124-php-driver-202-released" title="PHP driver 2.0.2 released">PHP driver 2.0.2 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=179&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F179-php-ingres-221-released&amp;title=PHP%20Ingres%202.2.1%20released" id="wpa2a_8"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/179-php-ingres-221-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3.0 released</title>
		<link>http://blogs.planetingres.org/grant/175-php-530-released</link>
		<comments>http://blogs.planetingres.org/grant/175-php-530-released#comments</comments>
		<pubDate>Tue, 30 Jun 2009 14:28:40 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[release]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=175</guid>
		<description><![CDATA[Just a quick note to say that PHP 5.3.0 has been released. DLLs for PHP 5.3.0 and Ingres are in the process of being built and should be up on http://esd.ingres.com within the next 24 hours. Related Posts PHP Ingres 2.2.1 released PHP Ingres 2.2.0 released PHP Ingres 2.1.0 released]]></description>
			<content:encoded><![CDATA[<p>Just a quick note to say that PHP 5.3.0 has been <a href="http://www.php.net/archive/2009.php#id2009-06-30-1">released</a>. DLLs for PHP 5.3.0 and Ingres are in the process of being built and should be up on <a href="http://esd.ingres.com">http://esd.ingres.com</a> within the next 24 hours.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/168-php-ingres-220-released" title="PHP Ingres 2.2.0 released">PHP Ingres 2.2.0 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/147-php-ingres-210-released" title="PHP Ingres 2.1.0 released">PHP Ingres 2.1.0 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=175&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F175-php-530-released&amp;title=PHP%205.3.0%20released" id="wpa2a_10"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/175-php-530-released/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Ingres 2.1.0 released</title>
		<link>http://blogs.planetingres.org/grant/147-php-ingres-210-released</link>
		<comments>http://blogs.planetingres.org/grant/147-php-ingres-210-released#comments</comments>
		<pubDate>Fri, 27 Feb 2009 12:57:56 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[ingres]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php driver]]></category>
		<category><![CDATA[release]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=147</guid>
		<description><![CDATA[Another month &#8230; (this is getting to be a habit): This update is implements several bits of new functionality as can seen from the CHANGELOG Add ingres.fetch_buffer_size to configure to the number of rows ingres_query() will fetch. Add ingres_charset() to fetch the installation II_CHARSETxx value Add ingres.describe ini setting to allow disabling of DESCRIBE INPUT [...]]]></description>
			<content:encoded><![CDATA[<p>Another month &#8230; (<a href="http://blogs.planetingres.org/grant/2009/01/23/php-driver-202-released/">this is getting to be a habit</a>):</p>
<p>This update is implements several bits of new functionality as can seen from the <a href="http://pecl.php.net/package-info.php?package=ingres&amp;version=2.1.0">CHANGELOG</a></p>
<blockquote><ul>
<li>Add ingres.fetch_buffer_size to configure to the number of rows ingres_query() will fetch.</li>
<li>Add ingres_charset() to fetch the installation II_CHARSETxx value</li>
<li>Add ingres.describe ini setting to allow disabling of DESCRIBE INPUT if desired</li>
<li>Add support for DESCRIBE INPUT</li>
<li>Add ingres_escape_string()</li>
<li>Add ingres_result_seek() to support row positioning</li>
</ul>
</blockquote>
<p>Some Links:</p>
<ul>
<li>Package home &#8211; <a href="http://pecl.php.net/package/ingres">http://pecl.php.net/package/ingres</a></li>
<li>Changelog &#8211; <a href="http://pecl.php.net/package-changelog.php?package=ingres">http://pecl.php.net/package-changelog.php?package=ingres</a></li>
<li>Source Download &#8211; <a href="http://pecl.php.net/get/ingres-2.1.0.tgz">http://pecl.php.net/get/ingres-2.1.0.tgz</a></li>
<li>W32 Download &#8211;  <a href="http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit">http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit</a></li>
</ul>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/168-php-ingres-220-released" title="PHP Ingres 2.2.0 released">PHP Ingres 2.2.0 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/124-php-driver-202-released" title="PHP driver 2.0.2 released">PHP driver 2.0.2 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=147&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F147-php-ingres-210-released&amp;title=PHP%20Ingres%202.1.0%20released" id="wpa2a_12"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/147-php-ingres-210-released/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP driver 2.0.2 released</title>
		<link>http://blogs.planetingres.org/grant/124-php-driver-202-released</link>
		<comments>http://blogs.planetingres.org/grant/124-php-driver-202-released#comments</comments>
		<pubDate>Fri, 23 Jan 2009 17:44:47 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[ingres]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[release]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=124</guid>
		<description><![CDATA[Another month, another release. 2.0.2 is minor release fixing a couple of memory leaks and a SEGV. For your enjoyment, here is the complete CHANGELOG: - Fix corrupt Ingres MONEY to PHP DOUBLE conversions - Eliminate memory leak when ingres_free_result() is not called - Fix ingres_field_name() so it returns the correct column name - Fix [...]]]></description>
			<content:encoded><![CDATA[<p>Another month, another <a href="http://blogs.planetingres.org/grant/2008/12/20/more-christmas-presents-php-driver-201-released/">release</a>. </p>
<p>2.0.2 is minor release fixing a couple of memory leaks and a SEGV. For your enjoyment, here is the complete CHANGELOG:</p>
<blockquote><p>- Fix corrupt Ingres MONEY to PHP DOUBLE conversions<br />
- Eliminate memory leak when ingres_free_result() is not called<br />
- Fix ingres_field_name() so it returns the correct column name<br />
- Fix SEGV in php_ii_convert_data() when converting DATE to STRING<br />
- Enable the extension to build on Mac OS X and HP-UX<br />
- Reduce the number of emalloc calls in php_ii_fetch()<br />
- Clean up proto entries in ingres.c<br />
- Make ingres_conn_*() and ingres_stmt_* aliases for their ingres_err*() counterparts</p></blockquote>
<p>And now for some links:</p>
<ul>
<li>README.html &#8211; <a href="http://cvs.php.net/viewvc.cgi/pecl/ingres/README.html?view=co&amp;pathrev=RELEASE_2_0_2">http://cvs.php.net/viewvc.cgi/pecl/ingres/README.html?view=co&amp;pathrev=RELEASE_2_0_2</a></li>
<li>Source code &#8211; <a href="http://pecl.ingres.net/get/ingres">http://pecl.ingres.net/get/ingres</a></li>
<li>Windows DLLs &#8211; Since http://pecl4win.php.net is no longer being updated, I have made available DLLs for PHP 5.1.6, 5.2.6 and 5.2.8 for Ingres 2.6/0305, 9.0.4, 9.1.1, 9.2.0 and 9.3.0 at <a href="http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver">http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver</a></li>
</ul>
<p>As always if you experience any problems with the driver you can email me via grant @ php dot net, or raise and issue via <a href="https://servicedesk.ingres.com/">Servicedesk</a>.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/168-php-ingres-220-released" title="PHP Ingres 2.2.0 released">PHP Ingres 2.2.0 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/147-php-ingres-210-released" title="PHP Ingres 2.1.0 released">PHP Ingres 2.1.0 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=124&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F124-php-driver-202-released&amp;title=PHP%20driver%202.0.2%20released" id="wpa2a_14"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/124-php-driver-202-released/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>More Christmas presents&#8230;. PHP driver 2.0.1 released</title>
		<link>http://blogs.planetingres.org/grant/119-more-christmas-presents-php-driver-201-released</link>
		<comments>http://blogs.planetingres.org/grant/119-more-christmas-presents-php-driver-201-released#comments</comments>
		<pubDate>Sat, 20 Dec 2008 17:24:00 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[drivers]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[release]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=119</guid>
		<description><![CDATA[Along with the release of Christmas edition of the Ingres database workbench a new version of the Ingres PHP driver has been posted. 2.0.1 is major/minor release in as much as it is just a bunch of bug fixes but includes some important changes. From the CHANGELOG here are what I believe are the two [...]]]></description>
			<content:encoded><![CDATA[<p>Along with the <a href="http://blogs.ingres.com/emmamcgrattan/2008/12/19/ingres-engineering-wishes-you-a-happy-christmas/">release</a> of Christmas edition of the <a href="http://esd.ingres.com/product/Community_Projects/Development_Tools">Ingres database workbench</a> a new version of the Ingres PHP driver has been posted.</p>
<p><a href="http://pecl.php.net/package/ingres/2.0.1">2.0.1</a> is major/minor release in as much as it is just a bunch of bug fixes but includes some important changes. From the <a href="http://cvs.php.net/viewvc.cgi/pecl/ingres/CHANGELOG?view=co">CHANGELOG</a> here are what I believe are the two most notable updates:</p>
<ol>
<li>Improved performance by batch fetching rows &#8211; the ingres_fetch_*() functions will now retrieve upto 100 rows from the server, reducing the network traffic required to fetch those same 100 rows, one at a time. Whether the DBMS engine provides 100 rows is another matter as this is dependant upon the width of the row and the ability to make good use of the <a href="http://community.ingres.com/wiki/Ingres_CL_GC">GCA packet</a>. Performance improvements of between 2 and 30 times have been observed. YMMV&#8230;</li>
<li>Improved interoperability when working with older Ingres releases &#8211; some time in the past interoperability between versions of Ingres broke when using the PHP driver. Driver functionality is based on the Ingres release against which it is built. For example Ingres 9.2.0 introduced bi-directional scrollable cursor support. When the driver was build against 9.2.0 but connected to an earlier release of Ingres it did not know that the DBMS engine could not provide that feature. The driver is now &#8220;aware&#8221; of the capabilities of the server to which it is connected and will only use features supported in that engine.</li>
</ol>
<p>And now for some links:</p>
<ul>
<li>README.html &#8211; <a href="http://cvs.php.net/viewvc.cgi/pecl/ingres/README.html?view=co&amp;pathrev=RELEASE_2_0_1">http://cvs.php.net/viewvc.cgi/pecl/ingres/README.html?view=co&amp;pathrev=RELEASE_2_0_1</a></li>
<li>Source code &#8211; <a href="http://pecl.ingres.net/get/ingres">http://pecl.ingres.net/get/ingres</a></li>
<li>Windows DLLs &#8211; Since <a href="http://pecl4win.php.net">http://pecl4win.php.net</a> is no longer being updated, I have made available DLLs for PHP 5.1.6, 5.2.6 and 5.2.8 for Ingres 2.6/0305, 9.0.4, 9.1.1, 9.2.0 and 9.3.0 at <a href="http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver">http://esd.ingres.com/product/drivers/PHP/Windows_32-Bit/PHP_Driver</a></li>
</ul>
<p>As always if you experience any problems with the driver you can email me via grant @ php dot net, or raise and issue via <a href="https://servicedesk.ingres.com">Servicedesk</a>.</p>
<p>Feliz Navidad a todos</p>
<p>grant</p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/168-php-ingres-220-released" title="PHP Ingres 2.2.0 released">PHP Ingres 2.2.0 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/147-php-ingres-210-released" title="PHP Ingres 2.1.0 released">PHP Ingres 2.1.0 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=119&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F119-more-christmas-presents-php-driver-201-released&amp;title=More%20Christmas%20presents%26%238230%3B.%20PHP%20driver%202.0.1%20released" id="wpa2a_16"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/119-more-christmas-presents-php-driver-201-released/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ingres and PHP VIP session rescheduled</title>
		<link>http://blogs.planetingres.org/grant/85-ingres-and-php-vip-session-rescheduled</link>
		<comments>http://blogs.planetingres.org/grant/85-ingres-and-php-vip-session-rescheduled#comments</comments>
		<pubDate>Wed, 02 Apr 2008 15:05:30 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[ingres]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webcast]]></category>
		<category><![CDATA[ingres php vip presentation]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2008/04/02/85/</guid>
		<description><![CDATA[Due to unforeseen circumstances the Getting Started with Ingres and PHP session I was supposed to present next Wednesday, 9th April 2008, has been brought forward one day to April 8th. The session will provide the basics for getting up and running with PHP and Ingres, covering the different platforms supported by both Ingres and [...]]]></description>
			<content:encoded><![CDATA[<p>Due to unforeseen circumstances the <i>Getting Started with Ingres and PHP</i> session I was supposed to present next Wednesday, 9th April 2008, has been brought forward one day to April 8th. The session will provide the basics for getting up and running with PHP and Ingres, covering the different platforms supported by both Ingres and PHP.</p>
<ul>
<li>To attend the session at 6am PDT (14:00 UK, 15:00 CEDT, 00:00 AEDT Weds)  <a title="https://ingres.webex.com/ingres/k2/j.php?ED=97804687&amp;UID=67124682" href="https://ingres.webex.com/ingres/k2/j.php?ED=97804687&amp;UID=67124682">here</a></li>
<li>To attend the session at 5pm PDT (01:00 UK Weds, 02:00 CEDT Weds, 10:00 AEDT Weds) register <a title="https://ingres.webex.com/ingres/k2/j.php?ED=97804992&amp;UID=67124777" href="https://ingres.webex.com/ingres/k2/j.php?ED=97804992&amp;UID=67124777">here</a></li>
</ul>
<p>The following week, 16th April, I will presenting a session on working on the driver code and how to submit changes in to the driver.</p>
<ul>
<li>To attend the session at 6am PDT (14:00 UK, 15:00 CEDT, 00:00 AEDT Weds)  <a title="https://ingres.webex.com/ingres/k2/j.php?ED=97805067&amp;UID=67124932" href="https://ingres.webex.com/ingres/k2/j.php?ED=97805067&amp;UID=67124932">here</a></li>
<li>To attend the session at 5pm PDT (01:00 UK Weds, 02:00 CEDT Weds, 10:00 AEDT Weds) register <a title="https://ingres.webex.com/ingres/k2/j.php?ED=97807262&amp;UID=19198967" href="https://ingres.webex.com/ingres/k2/j.php?ED=97807262&amp;UID=19198967">here</a></li>
</ul>
<p>Hope to see you there.<br />
<h3>Some random posts</h3>
<ul class="related_post"></ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=85&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F85-ingres-and-php-vip-session-rescheduled&amp;title=Ingres%20and%20PHP%20VIP%20session%20rescheduled" id="wpa2a_18"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/85-ingres-and-php-vip-session-rescheduled/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A PHP Ingres update</title>
		<link>http://blogs.planetingres.org/grant/74-a-php-ingres-update</link>
		<comments>http://blogs.planetingres.org/grant/74-a-php-ingres-update#comments</comments>
		<pubDate>Thu, 13 Sep 2007 11:33:52 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2007/09/13/a-php-ingres-update/</guid>
		<description><![CDATA[Its been a long time coming but I have finally released to cvs.php.net a major revision of the PECL Ingres code. So major that I have had to break backwards compatibility to implement the ability to have multiple active result-sets. Since I promised Andy Grimm I would write a piece on the new driver for [...]]]></description>
			<content:encoded><![CDATA[<p>Its been a long time coming but I have finally released to <a href="http://cvs.php.net/pecl/ingres">cvs.php.net</a> a major revision of the PECL Ingres code. So major that I have had to break backwards compatibility to implement the ability to have multiple active result-sets. Since I promised Andy Grimm I would write a piece on the new driver for the company blog site <a href="http://blogs.ingres.com/tech">http://blogs.ingres.com/tech</a> I will not be providing much info here, at least not just yet. However, to whet your appetite,  here are the changes made since the last release:</p>
<ul>
<li>Added support for multiple concurrent result-sets</li>
<li>Added automatic coercion between UTF-8 and UTF-16</li>
<li>Added support for Bi-directional scrolling cursors</li>
<li>Added ingres_free_results() &#8211; free the memory associated with a given result set</li>
<li>Added ingres_autocommit_state() &#8211; return the current auto-commit state</li>
<li>Added ingres_next_error() &#8211; fetch additional errors if any</li>
</ul>
<p>If you are feeling brave you can grab the code from cvs.php.net:</p>
<p><code>cvs co -d <em>somedir</em> pecl/ingres</code></p>
<p>If you want to run it along side an existing pecl ingres install I would recommend you use the following (ahem, undocumented) <em>configure</em> flag:</p>
<p><code>./configure --enable-ingres2</code></p>
<p>Documentation will follow, first with an overhaul of the README(.html) as well as the information on <a href="http://php.net/ingres">http://php.net/ingres</a>.</p>
<p>Technorati Tags: <a href="http://www.technorati.com/tags/ingres" rel="tag">ingres</a>, <a href="http://www.technorati.com/tags/pecl" rel="tag">pecl</a>, <a href="http://www.technorati.com/tags/php" rel="tag">php</a>, <a href="http://www.technorati.com/tags/update" rel="tag">update</a><br />
<h3>Some random posts</h3>
<ul class="related_post"></ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=74&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F74-a-php-ingres-update&amp;title=A%20PHP%20Ingres%20update" id="wpa2a_20"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/74-a-php-ingres-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

