Subject Re: [firebird-php] Need Help for Firebird 2.1 PDO driver on Ubuntu 8.04.1
Author marius adrian popa
On Sat, Apr 18, 2009 at 5:59 AM, raja_s_patil <kpr.kolhapur@...> 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

another option is to use the official php5 source from ubuntu
sudo apt-get install php5-dev firebird2-dev php-pear devscripts debget
sudo pecl install pdo

you need to build the pdo extension from php from ubuntu source code
here is the source for php package
you need to install dget
cd php5-5.2.6.dfsg.1
cd ext
cd pdo_firebird

sudo ln -s /usr/lib/ /usr/lib/
sudo make install
check to have in php.ini to have the next lines
also with phpinfo() function
# configuration for php PDO module

> Thanks and Best Regards
> Raja