dbs             Wed Dec 14 04:05:55 2005 EDT

  Modified files:              
    /phpdoc/en/reference/pdo_odbc       ini.xml reference.xml 
  Log:
  Correct direct TCP/IP connection example for DB2 flavour of PDO_ODBC.
  Document pdo_odbc.db2instance_name INI setting.
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdo_odbc/ini.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/pdo_odbc/ini.xml
diff -u phpdoc/en/reference/pdo_odbc/ini.xml:1.1 
phpdoc/en/reference/pdo_odbc/ini.xml:1.2
--- phpdoc/en/reference/pdo_odbc/ini.xml:1.1    Sun Sep 11 06:17:08 2005
+++ phpdoc/en/reference/pdo_odbc/ini.xml        Wed Dec 14 04:05:54 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <section id="pdo_odbc.configuration">
  &reftitle.runtime;
  &extension.runtime;
@@ -19,7 +19,13 @@
      <row>
       <entry>pdo_odbc.connection_pooling</entry>
       <entry>"strict"</entry>
-      <entry>PHP_INI_ALL</entry>
+      <entry>PHP_INI_SYSTEM</entry>
+      <entry></entry>
+     </row>
+     <row>
+      <entry>pdo_odbc.db2instance_name</entry>
+      <entry>&null;</entry>
+      <entry>PHP_INI_SYSTEM</entry>
       <entry></entry>
      </row>
     </tbody>
@@ -69,6 +75,30 @@
     </tip>
    </listitem>
   </varlistentry>
+  <varlistentry id="ini.pdo-odbc.db2instance-name">
+   <term>
+    <parameter>pdo_odbc.db2instance_name</parameter>
+    <type>string</type>
+   </term>
+   <listitem>
+    <para>
+     If you compile PDO_ODBC using the <literal>db2</literal> 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.
+    </para>
+    <para>
+     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 <link linkend="ref.uodbc">Unified ODBC extension</link>.
+    </para>
+    <para>
+     This setting has no effect on Windows.
+    </para>
+   </listitem>
+  </varlistentry>
   
  </variablelist>
  </para>
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdo_odbc/reference.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/pdo_odbc/reference.xml
diff -u phpdoc/en/reference/pdo_odbc/reference.xml:1.9 
phpdoc/en/reference/pdo_odbc/reference.xml:1.10
--- phpdoc/en/reference/pdo_odbc/reference.xml:1.9      Wed Nov  9 04:38:22 2005
+++ phpdoc/en/reference/pdo_odbc/reference.xml  Wed Dec 14 04:05:54 2005
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- Purpose: database.vendors -->
 <!-- Membership: bundled, external, pecl -->
 
@@ -136,7 +136,7 @@
        an IBM DB2 database named <userinput>SAMPLE</userinput> using the full
        ODBC DSN syntax:
        <programlisting><![CDATA[
-odbc:DSN={IBM DB2 ODBC 
DRIVER};HOSTNAME=localhost;PORT=50000;DATABASE=SAMPLE;PROTOCOL=TCPIP;UID=db2inst1;PWD=ibmdb2;
+odbc:DRIVER={IBM DB2 ODBC 
DRIVER};HOSTNAME=localhost;PORT=50000;DATABASE=SAMPLE;PROTOCOL=TCPIP;UID=db2inst1;PWD=ibmdb2;
 ]]>
        </programlisting>
       </para>

Reply via email to