Subject Re: [firebird-php] PHP Driver status
Author Lester Caine
Pierre Joye wrote:
> On Wed, Oct 22, 2008 at 8:30 AM, Lester Caine <lester@...> wrote:
>> Pierre Joye wrote:
>>>> If want to use fbclient.dll from a Realbasic App, a VB app and a Python
>>>> app on the same system you have to
>>>> make sure that the RealBasic runtime, the VB runtime and the Python
>>>> interpreter have been compiled with the same version of VC++.
>>> Or you put a fbclient.dll in each of these "apps" directory.
>> But - and I've still not actually seen a reply to this question on the
>> Firebird support list - You should not use multiple clients on the one
>> machine. They will all be fighting for the same connection. And certainly
>> only
>> one copy of fbembeded.dll can be used at a time - but in my opinion that
>> should not be used with PHP.
>>
>> The connection to a remote server is via port 3050. Two clients can't use
>> that
>> at the same time?
>
> A connection to a remote server on the port 80, does it work for you?
> If not, I think your box is seriously broken (try with your browser
> :)-

You are not comparing like with like - although I perfectly understand that.

If the client ONLY talked via TCP/IP I would probably not be concerned, but
that is not the only comms method it uses. The fbembeded.dll is a full server
so only allows one copy to talk to one database file and locks out all others,
so as long as you only use one application at a time - no problem - if PHP
links via that and a local program talks to the same database PHP is locked out.

fbclient.dll allows local direct access to a server without using TCP/IP and
that has to be compatible with the server. While it would be possible to say
'PHP uses TCP/IP access only' the other applications may not have that
restriction. It is the much more complex combination of access methods that
the client supports that needs someone who understands ALL the knock-on
effects have having different versions of the client present?

--
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