diff --git a/reference/pdo_odbc/ini.xml b/reference/pdo_odbc/ini.xml index 293d86db6f..dede703f7e 100644 --- a/reference/pdo_odbc/ini.xml +++ b/reference/pdo_odbc/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -19,7 +19,13 @@ pdo_odbc.connection_pooling "strict" - PHP_INI_ALL + PHP_INI_SYSTEM + + + + pdo_odbc.db2instance_name + &null; + PHP_INI_SYSTEM @@ -69,6 +75,30 @@ + + + pdo_odbc.db2instance_name + string + + + + If you compile PDO_ODBC using the db2 flavour, + this setting sets the value of the DB2INSTANCE environment variable on + Linux and UNIX operating systems to the specified name of the DB2 + instance. This enables PDO_ODBC to resolve the location of the DB2 + libraries and make cataloged connections to DB2 databases. + + + This setting can only be changed from the &php.ini; + file, and affects the entire process; any other modules loaded into the + process that use the same ODBC libraries will be affected too, including + the Unified ODBC extension. + + + This setting has no effect on Windows. + + + diff --git a/reference/pdo_odbc/reference.xml b/reference/pdo_odbc/reference.xml index 8e7bc3df08..bf943aaef7 100644 --- a/reference/pdo_odbc/reference.xml +++ b/reference/pdo_odbc/reference.xml @@ -1,5 +1,5 @@ - + @@ -136,7 +136,7 @@ odbc:testdb an IBM DB2 database named SAMPLE using the full ODBC DSN syntax: