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
sudo apt-get install php5-dev firebird2-dev php-pear
sudo pecl install pdo
wget http://pecl.php.net/get/PDO_FIREBIRD-0.2.tgz
tar -zxvf PDO_FIREBIRD-0.2.tgz
cd PDO_FIREBIRD-0.2
phpize
./configure
sudo ln -s /usr/lib/libfbclient.so.2.1.1 /usr/lib/libgds.so
make
sudo make install

check to have in php.ini to have the next lines
also with phpinfo() function
# configuration for php PDO module
extension=pdo.so
extension=pdo_firebird.so



>
> Thanks and Best Regards
>
> Raja
>
>