Skip to content

Category Archives: php

New PECL release

I have finally put out a release of the PECL driver for Ingres - you can get hold of the package from http://pecl.php.net/ingres or if you are a windows user pre-built DLLs can be found on http://pecl4win.php.net. See the CHANGELOG for the new additions.
powered by performancing firefox

Example : Ingres LOBs and PHP

Since the lob code for Ingres PECL uses an undocumented feature, namely, parameter typing - I have included below a code snippet to get people started:
SQL Schema:

create table blobs (
blob_name varchar(255) not null,
blob_data long byte not null [...]

LOB support (finally)

I have finally submitted code for handling LOBs within the PECL Ingres extension. Only a minor memory leak to sort out and then I will release version 1.3.1.
See CHANGELOG to see what else has happened.
[tags]ingres, php, pecl[/tags]

about to release a new version… however

Since Ingres 2006 has moved over to the GPL I am unable to publish any new releases. The CTO for Ingres, Dave Dargo, has promised this will be addressed as I am sure there are other FOSS projects that want to make use of Ingres but will not be able to use it due to [...]

Signs of life

this blog and indeed this site has been in a coma since, well last november. With out wanting to go in to too much detail, both work (since the extraction/sell off/…) and home have been keeping me busy.
The PHP driver has not stood still though. In CVS we have:
- Fixed crash on module unload
- Added [...]

Version 1.2 (alpha) available

Version 1.2 of the PHP PECL extension ingres has been released. Get the code from http://pecl.php.net/get/ingres. Download pre-built windows binaries from http://pecl4win.php.net/ext.php/php_ingres.dll.
Below are the changes for the release:
version 1.2

Fixed memory allocation when handling null blobs [grantc 04-10-05]
Fix php_ii_fetch() to allow the fetching of multiple blobs [grantc 22-09-05]
Fix php_ii_convert_data() to address correct indicies [grantc 22-09-05]
Added preliminary [...]

preliminary blob fetching

I have submitted code that will allow the fetching of multiple BLOBs from Ingres. A windows DLL for PHP 5.0.5 can be got from here.
ingres, php, pecl

Version 1.1 (alpha) available

Last friday, version 1.1 (alpha) was release to PECL. The source code can be downloaded from there for UNIX/Linux, even Windows if you know how to do builds. For non-dev types its possible to download the latest php_ingres.dll from snaps.php.net, (for PHP 5.0). Not quite sure what will happen with getting an updated dll for [...]

php_ingres.dll for 4.3.11

I have made available the php_ingres.dll for php 4.3.11. It was built against 3.0.2 build 110. I have no idea if it will work against Ingres 2.6 or before. If you need such a dll please let me know. Download the r3 linked extension from here.
All new development work will require PHP 5.x. There are [...]

PHP’s ingres extension moved to PECL

Due to a directory name/build conflict the Ingres module for PHP has been moved to PECL. The downside is there are additional steps to getting the extension build, to be documented at some point. The upside is the extension is no longer constrained by PHP release cycles. All development work was going into PHP 5.1 [...]