Subject Re: [firebird-php] Need Help for Firebird 2.1 PDO driver on Ubuntu 8.04.1
Author Lester Caine
raja_s_patil wrote:
> Hello ,
>
> We are in process of adding web application to our existing
> Firebird-delphi C/S desktop application.
>
> We have Ubuntu 8.04.1 and firebird 2.1 and we have installed
> Apache, PHP 5 on database sever for development environment.
> We could find MySQL PDO driver in Ubuntu Repository but not
> for Firebird. Can Somebody Guide us about we should proceed
> with PDO driver for Firebird

Personally I would avoid the PDO driver and just use the native
Firebird/Interbase driver. You will need that anyway to do those jobs
that PDO does not support. Not having had any reason to switch TO PDO,
those of us who have used PHP for a long time have not had any motive to
waste time moving all the needed facilities over to very basic Firebird
PDO driver that does exist.

What you then need is a copy of interbase.so suitable for the setup that
you have. I've just copied one from my Mandriva setup over to an SUSE
machine without any problem. Both are AMD64 hardware, and all I had to
do was work out where SUSE decided to hide the PHP configuration stuff
so I could add an interbase.ini file so that Apache/PHP loads it.

I am getting pigged off with the way each distribution makes these
subtle changes to file locations :( Where has firebird ended up in
Ubuntu? in /opt or /usr/lib64 ?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/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