Subject FB 3.0 and PHP connection
Author palberto@libero.it
Hi all,
 I'm working on the evaluation of Firebird SQL 3.0 and connection using PDO available in PHP.

The database works fine and I'm able to connect it using FlameRobin but when I try to establish a connection using PHP I get a NULL as result of the follow:

<?
$SERVER  = "firebird:dbname=localhost:C:\Database\UUP.GDB";
$USERID   = "SYSDBA";
$PASSWORD = "masterkey";

try {
$dbh = new PDO($SERVER, $USERID, $PASSWORD);
 
} catch (PDOException $e) {

   print "Error!: " . $e->getMessage() . "<br/>";
   
}
var_dump($dbh);
?>

PHP load fine the PDO and PDO_Firebird, does anyone knows if I have to move some DLL somewhere?

NOTE: Windows 2012 R2, PHP Version 5.2.12, Apache 2.2, Firebird 3.0

Thanks in advance.
Alberto