Subject Re: [firebird-support] Multiple clients
Author Lester Caine
Having this discussion split across two lists is difficult, but we need
someone who knows the Firebird end to fill in the gaps, and they do not read
the php list :(

masotti wrote:
> Hi Lester,
>
> Lester Caine ha scritto:
>> I have always worked on the principle that I only want one copy of the client
>> in use, so PHP, flamerobin and the legacy IBO applications will share that.
>> What is being proposed is that PHP will have it's own client in it's own
>> directory, and that will not cause problems with other applications accessing
>> the same databases via a different copy of the client probably compiled with a
>> different version of VC.
>>
> Ok, I really don't understand what is the "support" part of the PHP
> querelle.
> What happens? PHP support says that he needs fbclient.dll to be compiled
> (or already compiled) for VC6 (to be compatible with Apache AFAIU) and
> for VC9 (for other Web servers, i.e. IIS) otherways they cannot
> include/develop/maintain PHP firebird client libraries (ext/interbase)
> in distribution PHP 5.3 and 6.0 (for Windows).
I do not understand the problem here fully - probably because I have never had
to worry about HOW the client was built. I've always just talked to the
current copy on the machine - and I only use the copy supplied with the build
of Firebird I'm using. The copy supplied with PHP goes in the bin. To date I
do not have any problems just using a current copy from the Firebird build
with PHP.

> IMHO this belongs to PHP and (perhaps) devel lists.
> Anyway, I'm not really convinced we have unveiled and explained all
> points with PHP support team, because, as you pointed out, they AFAIU
> tend to distribute an additional copy of client lib (fbclient.dll) in
> PHP for Windows, ignoring that having possibly installed FB server on
> the same Web server, ther is already another (differet!) copy somewhere
> in the same system.
> Which copy goes on system dir to serve, say, Flamerobin, legacy IBO
> application, and so on? Last wins?
> Other question: localhost connection through first client lib conflicts
> with local connection through the other lib?
THAT is the bit of the jigsaw I'm trying to unravel. But not 'localhost' as
such, but the other comms formats that the client also supports. If TCP/IP was
the only protocol then I would probably be less concerned, but what happens
when other protocols come into the picture.
This may be the point that the question should be on the devel list? But my
posts their take several days to appear and the one I posted prior to asking
her has only just appeared.

> i.e.: you can have web server connecting through local and other
> programs using localhost: this can solve?
Personally I thing I am probably OK since on the important sites, Firebird is
always remote and I always use TCP/IP to access it. I'm just trying to cover
the bases where a new user has been playing with Firebird, using FlameRobin to
look at it and then adds PHP to the same machine. And possibly is already a
Delphi user with Interbase magically installed just to complicate things more :)
What is the RIGHT way to set up the local server? Are multiple copies of the
client library acceptable here?

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