Subject Re: [firebird-php]
Author Steve Rayner
Hi Lester,

Thanks for your response.

Just to clarify i'm not asking how it locates the client library
(fbclient.dll or GDS32.dll). I'm asking how it locates the Firebird.msg
My current solution is to replace the Firebird.msg with a 1.5 version when
working on this particular app, then switch it back when working on 2.5

My local installation has Firebird2.5 installed by me. I use superserver.
My understanding is that the client library itself is backwards compatible,
so i can use my 2.5 client library to connect to either 1.5 or 2.5 database.
I have no problem connecting to databases.

My problem is that the Firebird.msg file is not backwards compatible so i
need both a 2.5 and an 1.5 version.
However it seems that interbase.dll looks for this in the Firebird_2_5
folder. I need to trick it into looking in the Firebird_1_5 folder.

I wondered if this had been improved in newer versions of interbase.dll. Or
maybe i could look at the source code for interbase.dll to figure it out
what it's doing. I'm not sure where interbase.dll is maintained.


On Wed, Sep 12, 2012 at 9:57 AM, Lester Caine <lester@...> wrote:

> **
> Steve Rayner wrote:
> > 1. Where can i get the latest offical php_interbase.dll ?
> There was a period when php_interbase was omitted from the windows builds
> of
> PHP, but it is now included again.
> > 2. How does php_interbase.dll locate the firebird.msg file for correctly
> > displaying error messages, where should firebird.msg be located.
> The problem here is just a matter of which client is found first.
> gds32.dll is still used as a backup and so if the FB1.5 one is found
> first, that
> will be the determines the client version.
> > My problem is that error messages are not being displayed correctly. My
> web
> > server actually has Firebird2.5 installed for other reasons. But my
> > webserver (apache) does not use this. Instead it uses a remote database
> > server this is running firebird 1.5.
> Not sure quite what you are saying there. The remote server would only be
> accessed if that is what you are using as the target server. What
> application
> has installed your local Firebird? It may be that this is an 'embedded'
> version
> which is only accessible to that application? Personally when I install
> firebird
> I always tick the box for installing a legacy gds32.dll copy and I've
> ensured
> that there are no other copies on the machine.
> This is controllable, but it is perhaps time we split firebird from
> interbase
> and moved the fbird_xxx functions to their own extension which only uses
> the
> fbclient.dll ...
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact -
> L.S.Caine Electronic Services -
> EnquirySolve -
> Model Engineers Digital Workshop -
> Rainbow Digital Media -

[Non-text portions of this message have been removed]