diff --git a/reference/pdo_odbc/configure.xml b/reference/pdo_odbc/configure.xml new file mode 100644 index 0000000000..0e5c5bcb80 --- /dev/null +++ b/reference/pdo_odbc/configure.xml @@ -0,0 +1,59 @@ + +
+ &reftitle.install; + + PDO_ODBC on UNIX systems + + + As of PHP 5.1, PDO_ODBC is included in the PHP source. You can compile the + PDO_ODBC extension as either a static or shared module using the following + configure commands. + + + ibm_db2 + + + + To build PDO_ODBC with the ibm-db2 flavour, you have to have + previously installed the DB2 application development headers on the + same machine on which you are compiling PDO_ODBC. The DB2 application + development headers are an installable option in the DB2 servers, and + are also available as part of the DB2 Application Development Client + freely available for download from the IBM DB2 Universal Database + support site. + + + If you do not supply a location for the DB2 libraries and headers to + the configure command, PDO_ODBC defaults to + /home/db2inst1/sqllib. + + + + + unixODBC + + + + If you do not supply a location for the unixODBC libraries and + headers to the configure command, PDO_ODBC + defaults to /usr/local. + + + + + generic + + + + + + + + +
diff --git a/reference/pdo_odbc/reference.xml b/reference/pdo_odbc/reference.xml index f9f115a887..7fc56feea6 100644 --- a/reference/pdo_odbc/reference.xml +++ b/reference/pdo_odbc/reference.xml @@ -1,5 +1,5 @@ - + @@ -11,11 +11,40 @@
&reftitle.intro; - &warn.experimental; PDO_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. + IBM DB2 Call Level Interface (DB2 CLI) library. PDO_ODBC currently supports + three different "flavours" of database drivers: + + + ibm-db2 + + + Supports access to IBM DB2 Universal Database, Cloudscape, and Apache + Derby servers through the free DB2 client. + + + + + unixODBC + + + Supports access to database servers through the unixODBC driver + manager and the database's own ODBC drivers. + + + + + generic + + + Offers a compile option for ODBC driver managers that are not + explicitly supported by PDO_ODBC. + + + + On Windows, PDO_ODBC is built into the PHP core by default. It is linked @@ -24,6 +53,10 @@ connecting to Microsoft SQL Server databases.
+ + + &reference.pdo-odbc.configure; + &reference.pdo-odbc.ini;