|Subject||Firebird 3 with PHP 7 ubuntu|
I installed Firebird 3 on the ubuntu server, installed PHP 7 and I am trying to access the DB with PDO.
I installed the PDO with the command apt-get install php7.0-pdo-firebird
But when I try to access with the code:
print_r (PDO::getAvailableDrivers ());
$PDO = new PDO ('firebird:dbname=22.214.171.124/3050:test;charset=WIN1252', $user, $pass);
Array ( => firebird  => mysql)
SQLSTATE [HY000]  Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
I noticed that when I ran the command: apt-get install php7.0-pdo-firebird
He installed /usr/lib/firebird/2.5
What am I doing wrong?
Doing this remotely with ibexpert I can connect without error.
Attempting to connect to:
Connecting ... Passed!
Server version: LI-V126.96.36.199483 Firebird 3.0
Attempting to connect to services manager ... Passed!
Disconnecting from database ... Passed!