I am in the process of trying to improve PHP support for Ingres but have run into a number of problems:
- There is no command line build process on windows. For the time being I have crafted a new config.w32 file and it seems to be working.
- The shared build of the Ingres module on Linux does not seem to be working at this time. This is going to make debugging a pain until I get this fixed.
- Link resources created by php_ingres_do_connect do not seem to be working with php_ingres_query. Not specifying a link resource allows PHP to use the current (default) link. Using a link sends PHP loopy when reading data in php_ingres_fetch_object. The link is being stored correctly but when pulling the link back out using zend_fetch_resource() the ingres_link->type is no longer the correct type (IS_RESOURCE=7).
As a side note whilst I am playing around with PHP I have created a new (private) extension so as not to disturb the existing ingres_ii extension. Until I hear from David Henot, the original developer, or progress taking ownership of the extension if nobody else wants to do it.
Popularity: 1% [?]