|Subject||Re: [firebird-php] Firebird 3 with PHP 7 ubuntu|
|Author||marius adrian popa|
On Tue, May 16, 2017 at 3:30 PM, marius adrian popa <mapopa@...> wrote:I use default pdo driver from ubuntuOn Mon, May 15, 2017 at 11:57 PM, Leonardo Procopio leonardolp@... [firebird-php] <email@example.com> wrote:Thanks for the feedback.I installed Firebird 22.214.171.124703 without problem, but I can not install the PDO driver for PHP.What are you using to access Firebird 3 with PHP?Em dom, 14 de mai de 2017 às 05:49, marius adrian popa mapopa@... [firebird-php] <firstname.lastname@example.org> escreveu:On Fri, May 12, 2017 at 4:08 PM, leonardolp@... [firebird-php] <email@example.com> wrote:
But when I try to access with the code:
print_r (PDO::getAvailableDrivers ());
$PDO = new PDO ('firebird:dbname=126.96.36.199 11/3050:test;charset=WIN1252', $user, $pass);
print_r($ PDO->getAttribute(PDO::ATTR_CO NNECTION_STATUS));
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-V188.8.131.52483 Firebird 3.0
Attempting to connect to services manager ... Passed!
Disconnecting from database ... Passed!