Subject Re: [firebird-php] Re: Very fast read only transactions
Author Lester Caine
masotti wrote:
> Hi Milan,
>
>>> I.e.
>>> $resdb = ibase_connect ( '/var/lib/firebird2/pippo.fdb', 'user', 'pass' );
>>> is better than
>>> $resdb = ibase_pconnect ( 'localhost:/var/lib/firebird2/pippo.fdb',
>>> 'user', 'pass' );
>>>
>> If was (is?) better because pconnect had bugs last time I checked (which
>> was few years ago). If those bugs are fixed, I guess it is better to use
>> pconnect then.
>>
>>
> Sorry, but I'm not able to find tracks of those bugs.
> A search in http://bugs.php.net reported nothing; apart BLOB on 64 bit
> systems and events management, there's nothing new.
> Last bug about a (p)connect problem was suspended in 2007:
> http://bugs.php.net/bug.php?id=39523
> Before these problems, in this tracker last pconnect bug was reported in
> 2003, six years ago: ok, maybe this is "few" ;-) .
>
> Firebird tracker has nothing about PHP (obviously).

Main problem here is that the code gets changed and recompiled, but was
not being fully tested again. The blobid bug came in because PHP changed
the way they do things, and PHP5.3 is yet another update every package
type change so needs fully testing again.

I think we need a 'clean slate' and check everything out. The available
test suites are giving good results, but not everything is tested, and
we don't have any good tests for heavy usage, although I'm not seeing
any problems on my own sites with pconnect being 'enabled' in ADOdb.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php