Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Pdo\DblibPDO_FIREBIRD DSN>
^PDO DriversLast updated: Mon, 26 Oct 2026

Firebird PDO Driver (PDO_FIREBIRD)

Introduction

PDO_FIREBIRD is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Firebird database.

Installation

Use --with-pdo-firebird[=DIR] to install the PDO Firebird extension, where the optional [=DIR] is the Firebird base install directory.

$ ./configure --with-pdo-firebird

As of PHP 8.4.0, this extension uses Firebird C++ APIs and therefore requires a C++ compiler, and must be built against fbclient 3.0 or higher.

Predefined Constants

The constants below are defined by this driver, and will only be available when the extension has been either compiled into PHP or dynamically loaded at runtime. In addition, these driver-specific constants should only be used if you are using this driver. Using driver-specific attributes with another driver may result in unexpected behaviour. PDO::getAttribute() may be used to obtain the PDO::ATTR_DRIVER_NAME attribute to check the driver, if your code can run against multiple drivers.

Warning

The constants listed below have been DEPRECATED as of PHP 8.5.0. Use the corresponding Pdo\Firebird constants instead.

PDO::FB_ATTR_DATE_FORMAT (int)

Alias of Pdo\Firebird::ATTR_DATE_FORMAT.

PDO::FB_ATTR_TIME_FORMAT (int)

Alias of Pdo\Firebird::ATTR_TIME_FORMAT.

PDO::FB_ATTR_TIMESTAMP_FORMAT (int)

Alias of Pdo\Firebird::ATTR_TIMESTAMP_FORMAT.

Table of Contents


<Pdo\DblibPDO_FIREBIRD DSN>
^PDO DriversLast updated: Mon, 26 Oct 2026