ODBC and DB2 Functions (PDO_ODBC)IntroductionPDO_ODBC is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to databases through ODBC drivers or through the IBM DB2 Call Level Interface (DB2 CLI) library. PDO_ODBC currently supports three different "flavours" of database drivers:
On Windows, php_pdo_odbc.dll has to be enabled as extension in php.ini. It is linked against the Windows ODBC Driver Manager so that PHP can connect to any database cataloged as a System DSN, and is the recommended driver for connecting to Microsoft SQL Server databases. Installation
PDO_ODBC on UNIX systems
Runtime ConfigurationThe behaviour of these functions is affected by settings in php.ini.
Here's a short explanation of the configuration directives.
|