From 5a47d0af3581d136ee0bc0ee0c11c6379cc6023b Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 9 Dec 2005 23:40:16 +0000 Subject: [PATCH] Add PDO_INFORMIX documentation. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@202538 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo_informix/configure.xml | 46 +++++++++ reference/pdo_informix/reference.xml | 139 +++++++++++++++++++++++++++ 2 files changed, 185 insertions(+) create mode 100644 reference/pdo_informix/configure.xml create mode 100644 reference/pdo_informix/reference.xml diff --git a/reference/pdo_informix/configure.xml b/reference/pdo_informix/configure.xml new file mode 100644 index 0000000000..fdd7aa49d2 --- /dev/null +++ b/reference/pdo_informix/configure.xml @@ -0,0 +1,46 @@ + + +
+ &reftitle.install; + + To build the PDO_INFORMIX extension, the Informix Client SDK 2.81 UC1 or + higher must be installed on the same system as PHP. The Informix Client + SDK is available from the IBM Informix + Support Site. + + + PDO_INFORMIX is a PECL extension, so + follow the instructions in to install the + PDO_INFORMIX extension. Issue the configure command + to point to the location of your Informix Client SDK header files and + libraries as follows: + + + + The configure command defaults to the value of the + INFORMIXDIR environment variable. + +
+ + diff --git a/reference/pdo_informix/reference.xml b/reference/pdo_informix/reference.xml new file mode 100644 index 0000000000..dc92a17800 --- /dev/null +++ b/reference/pdo_informix/reference.xml @@ -0,0 +1,139 @@ + + + + + + + Informix and DB2 functions (PDO_INFORMIX) + Informix and DB2 (PDO) + + +
+ &reftitle.intro; + + PDO_INFORMIX is a driver that implements the PHP Data + Objects (PDO) interface to enable access from PHP to Informix databases. + +
+ + + &reference.pdo-informix.configure; + +
+ Scrollable cursors + + PDO_INFORMIX supports scrollable cursors; however, they are not enabled + by default. To enable scrollable cursor support, you must either set + ENABLESCROLLABLECURSORS=1 in the corresponding ODBC + connection settings in odbc.ini or pass + the EnableScrollableCursors=1 clause in the DSN + connection string. + +
+ +
+ + + + PDO_INFORMIX DSN + Connecting to Informix databases + + + + &reftitle.description; + + The PDO_INFORMIX Data Source Name (DSN) is based on the Informix ODBC DSN + string. Details on configuring an Informix ODBC DSN are available from + the Informix Dynamic Server Information + Center. The major components of the PDO_INFORMIX DSN are: + + + DSN prefix + + + The DSN prefix is informix:. + + + + + DSN + + + The DSN can be either a data source setup using + odbc.ini or a complete connection string. + + + + + + + + &reftitle.examples; + + + PDO_INFORMIX DSN example using <filename>odbc.ini</filename> + + The following example shows a PDO_INFORMIX DSN for connecting to + an Informix database cataloged as Infdrv33 in + odbc.ini: + + + + + + PDO_INFORMIX DSN example using a connection string + + The following example shows a PDO_INFORMIX DSN for connecting to + an Informix database named common_db using the + Informix connection string syntax. + + + + + + + + + +
+