Subject Re: [firebird-php] Using firebird with php under OSX
Author Lester Caine
tomhendersonflickr wrote:
> I'm running OSX 10.4.11 on a powerbook (PPC) with the built in apache server, and php
> 4.3.11 (www.entropy.ch Release 1), both working fine. I have the Firebird.framework installed
> and the isql command line tool is working fine too.
>
> I've been trying to follow the instructions at http://www.firebirdfaq.org/faq191/ (How to use
> Firebird with PHP) but I'm getting stuck on step 5 (run: ./configure --with-
> interbase=shared,/opt/firebird). I get the error:
>
> configure: error: libgds or libib_util not found! Check config.log for more information.
>
> I've done a fair bit of googling and it seems that this is a common problem (and has been for
> a while judging from the dates of the posts), but most of the discussion is a bit beyond me.
>
> Is there a fix? As I understand it, I need to create an 'interbase.so' file. Is it possible for
> someone to just send me a copy of it, of is it necessary for my system to create it?

First problem is PHP4. A lot of the functions provided by the interbase driver
where never back ported. They are only available in PHP5. You don't say which
version of Firebird but that SHOULD not be a problem with a very old version
of PHP4. Now even PHP4.4 has been end of lifed, but that would be my starting
point rather than something from 2005.

http://www.entropy.ch/software/macosx/php/ may be a better starting point for
you, but since I'm Linux/Windows based I can't vouch for it's suitability. I
doubt that anybody will be running such an old version of PHP so finding a
ready compiled copy of interbase.so is remote.

One thing when trying to fault find. HAS the OSX copy of Firebird been
installed to /opt/firebird - on Linux we tend to find other 'base' directories
if the distribution has a different 'standard' for locating things.

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