Created
May 23, 2011 17:39
-
-
Save mariuz/987126 to your computer and use it in GitHub Desktop.
pdo connection example for firebird driver http://www.php.net/manual/en/ref.pdo-firebird.connection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$str_conn="firebird:host=localhost;dbname=/var/lib/firebird/2.5/data/employee.fdb;charset=UTF8"; | |
$dbh = new PDO($str_conn, "sysdba", "masterkey"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found this that worked for me:
apt-get install php-interbase
even if it doesn't have PDO in the title, it added the firebird PDO driver in ubuntu