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"); | |
?> |
@jackmcmorrow did you find something?
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
Cool, thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, your script came along when I was searching how to install pdo_firebird driver on PHP 5 in an Ubuntu server. Will try posting any findings here so other people can find it.