Edit report at https://bugs.php.net/bug.php?id=72175&edit=1
ID: 72175
Updated by: nikic@php.net
Reported by: netvicious at gmail dot com
Summary: Impossibility of creating multiple connections to
Interbase with php 7.x
Status: Open
Type: Bug
Package: InterBase related
Operating System: Ubuntu 16.04 LTS
PHP Version: 7.x
Block user comment: N
Private report: N
New Comment:
Here is a possible patch against the PHP 7.3 branch: https://gist.github.com/nikic/ef81684007753232893eae7acc034196
This should resolve this issue and some of the other more blatant refcounting bugs. Because it does
so, it may also change the behavior of ibase_close to close all shared connections. I've added
a hack to avoid closing the default link, but it may be better to just make ibase_close a no-op
instead.
Previous Comments:
------------------------------------------------------------------------
[2019-01-01 19:21:39] umberto dot masotti at unich dot it
Even in the way to help maintaining, why PHP site build setup instrunctions are 5 years old?
http://it2.php.net/build-setup.php
or
https://secure.php.net/build-setup.php
To be sure, follow "Get involved" and click in the right pane "Developer Setup
Help"
The "some helpful information regarding setting up a development environment for PHP"
actually are not.
Trying to setup an Ubuntu PHP7 VM to check what can be done, but for Windows don't know if I
can in spare time.
------------------------------------------------------------------------
[2018-12-21 08:31:43] netvicious at gmail dot com
Thanks for the info Christoph. The module works perfectly, almost for me. This it's the only
bug I found which made me change some code to workaround it.
Firebird/Interbase DBMS it's live yet, Firebird will release version 4 in some time, and
Interbase it's maintained by Embarcadero. So it will be a pity if PHP doesn't has a native
driver for it.
As you said the module it's currently not maintained by a PHP developer and that's why
this bug it's unfixed yet.
It's there anyway we can help. I read something about there it's not an environment test
to check if the code works ...
------------------------------------------------------------------------
[2018-12-20 13:57:48] cmb@php.net
> If it's really one OR the RETVAL should exit the function like one
> return statement (I don't know if it does a return).
Indeed, the RETVAL_RES(xlink) should likely be RETURN_RES(xlink).
> Interbase module seems to be abandoned.
Unfortunately, yes.
> I think the module was ported to PHP 7.0 by someon which doesn't
> know the previous module [â¦]
It has been proposed to remove the unmainted ext/interbase for PHP
7[1], but somebody claimed to be willing to maintain it.
Unfortunately, that didn't really happen, but instead of removing
the extension belatedly, we'd tried to fix it[2] â¦
[1] <https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts#extinterbase>
[2] <https://externals.io/message/89858>
------------------------------------------------------------------------
[2018-12-20 08:44:12] netvicious at gmail dot com
Summary and PHP Version modified.
------------------------------------------------------------------------
[2018-11-26 17:49:42] netvicious at gmail dot com
Interbase module seems to be abandoned. All the developers which appear on phpinfo() related with
the Interbase/firebird module are not active developers of php looking at their Linkedin accounts.
So obviously this bug won't be fixed because there it's no active developer in charge of
the interbase/firebird module.
I think the module was ported to PHP 7.0 by someon which doesn't know the previous module and
that's why it has bugs like this one.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=72175
--
Edit this bug report at https://bugs.php.net/bug.php?id=72175&edit=1