How it's possible to install firebird2.5 driver in debian 9, PHP 7.4

Skip to first unread message

KuK Support und Technik

Aug 13, 2020, 11:40:30 AM8/13/20
to Firebird-PHP

Dear community of Firebird-PHP.
I'm searching long time to know how it's possible to install an simply firebird database driver on Debian 9, in which I'm using Plesx with PHP 7.3 or PHP 7.4

My own steps I made was as follow:
1. sudo apt-get update
2. sudo apt-get install php-pdo-firebird
-> the installed package is under /usr/lib/x86_64-linux-gnu/firebird in which is a
     subfolder "lib". In the lib folder are files  "", "" and ""

in the folder /usr/lib/x86_64-linux-gnu  are files like,, and 

3. In the php.ini I could activate the extension=pdo_firebird
4. And finally I restarted my web service apache2 by service apache2 restart

5. Now when I try to use the PDO class on php side
    ->  $db = new \PDO('firebird:dbname=\xxxxx\yyyyy\ZZZ.FDB', ' secret ', 'secret');
I got an php issue that:
could not find driver"

Hope any can help me what I did wrong, perhaps what I have to do else

Best regards

David Izaguirre 


Aug 17, 2020, 7:05:15 AM8/17/20
to Firebird-PHP
Hi David,

where did you install the PHP extension? Seems PHP can't find the extension, e.g.
You also need As I can see you've done that already. So check your extension first. If the pathes are correct check the installed modules via phpinfo().


KuK Support und Technik

Aug 24, 2020, 11:07:14 AM8/24/20
Hello martin koeditz,

after I run the command: sudo apt-get install php-pdo-firebird  I could found that the firebird package is under /usr/lib//x86_64-linux-gnu/firebird/3.0
In this folder I have an file "firebird.msg" and a subfolder "lib" with tree linked files "", "" and ""

But under the /usr/lib//x86_64-linux-gnu/ I could found files like  "",  ""

Under the folder /opt/plesk/php are all my php versions with the php.ini -> because I'm using plesk on debian 9.4
And under /etc/php/php/7.4 should exist my global OS version of php

Do you know what I have do to?

You received this message because you are subscribed to a topic in the Google Groups "Firebird-PHP" group.
To unsubscribe from this topic, visit
To unsubscribe from this group and all its topics, send an email to
To view this discussion on the web, visit

KuK Support und Technik

Aug 24, 2020, 11:20:59 AM8/24/20
Hello again, I found the following direccion... hope it can help :)

Pathes after installing: apt-get install php<version of php>-interbase

Reply all
Reply to author
0 new messages