Firebird Functions (PDO_FIREBIRD)
Firebird (PDO)
&reftitle.intro;
PDO_FIREBIRD is a driver that implements the PHP Data Objects (PDO)
interface to enable access from PHP to Firebird database.
&reference.pdo-firebird.configure;
&reference.pdo-firebird.constants;
PDO_FIREBIRD DSN
Connecting to Firebird databases
&reftitle.description;
The PDO_FIREBIRD Data Source Name (DSN) is composed of the following elements:
DSN prefix
The DSN prefix is firebird:.
dbname
The name of the database.
charset
The character set.
role
The SQL role name.
&reftitle.examples;
PDO_FIREBIRD DSN example with path
The following example shows a PDO_FIREBIRD DSN for connecting to
Firebird databases:
PDO_FIREBIRD DSN example with port and path
The following example shows a PDO_FIREBIRD DSN for connecting to
a Firebird database using hostname port and path:
PDO_FIREBIRD DSN example with localhost and path to employee.fdb on Debian system
The following example shows a PDO_FIREBIRD DSN for connecting to
a Firebird database employee.fdb using localhost: