Here's a short explanation of
the configuration directives.
 
 
   
    - 
     ibm_db2.binmodeint
- 
     
      This option controls the mode used for converting to and from binary
      data in the PHP application.
       
       - 
        
         1 (DB2_BINARY)
         
- 
        
         2 (DB2_CONVERT)
         
- 
        
         3 (DB2_PASSTHRU)
         
 
- 
     ibm_db2.i5_all_pconnectint
- 
     
      This option forces all connections to be persistent on IBM i.
      Basically, all db2_connect() calls transparently become
      db2_pconnect() calls.
      By default, this option is 0.
      This option is provided as a convenience for cases where persistent
      connections are faster.
      It should not be used in new applications.
 
- 
     ibm_db2.i5_allow_commitint
- 
     
      This option controls the transaction isolation mode used.
      By default, this option is 0, so commitment control isn't used.
      This option can be overriden when connecting if the array keyi5_commitis set in the connection options array
      passed to db2_connect() or
      db2_pconnect().
 
       - 
        
         0 - commitment control is not used 
         
- 
        
         1 - read uncommitted, dirty reads possible.
         
- 
        
         2 - read committed, dirty reads are not possible.
         
- 
        
         3 - repeatable read, dirty reads and non-repeatable reads are not possible
         
- 
        
         4 - serializeable, dirty reads, non-repeatable reads, and phantoms are not possible
         
 
- 
     ibm_db2.i5_blank_useridint
- 
     
      This controls if a blank user ID should be allowed on IBM i.
      By default, this option is 0.
      Unlikeibm_db2.i5_ignore_userid, this option
      doesn't force all user IDs to be empty or change job behaviour, but
      simply allows an empty user ID to be passed, for connecting to Db2 as the
      current user.
 
- 
     ibm_db2.i5_char_trimint
- 
     
      This option controls if the end of strings are trimmed on IBM i.
      Since many tables use fixed column sizes padded with spaces, this is
      provided as a convenience.
      By default, this option is 0.
 
- 
     ibm_db2.i5_dbcs_allocint
- 
     
      This options affects the internal buffer allocation strategy on IBM i.
      By default, this option is 0.
      When this option is set, buffers are allocated with a much larger size,
      in case the database underestimates a string's size when converting
      between encodings.
      This option uses six times as much memory for buffers (to account for
      the largest possible UTF-8 sequences), but may be needed if truncated
      data is returned.
 
- 
     ibm_db2.i5_guard_profileint
- 
     
      This option checks if the database user profile was switched when
      connecting to a persistent database connection on IBM i, and if so,
      disconnects from the database.
      By default, this option is set to 0.
 
- 
     ibm_db2.i5_log_verboseint
- 
     
      This option sets if SQL diagnostic messages like warnings and errors are
      always sent to the PHP error log on IBM i.
      Normally, only a brief message on failure is sent (such as "statement
      execute failed") to the PHP error log, as this option is set to
      0by default.
      Note that you can still and should call i.e.
      db2_stmt_errormsg() manually as part of checking if
      functions fail.
 
- 
     ibm_db2.i5_ignore_useridint
- 
     
      This option ignores the user ID when connecting to the database when
      running on IBM i, and runs SQL/CLI functionality inside of the PHP job,
      instead of a separate job.
      By default, this option is 0.
      When enabled, it no longer uses a separate database server job, and
      always uses the current user profile for the database, ignoring the
      username and password passed to db2_connect() and
      db2_pconnect().
 
       - 
        
         0 - Uses the specified credentials, and use an SQL/CLI server job.
         
- 
        
         1 - Always use blank credentials, and run SQL/CLI in the PHP job.
         
 
- 
     ibm_db2.i5_job_sortint
- 
     
      Controls the job sort option on IBM i.
      By default, this option is 0.
      This corresponds to the IBM i SQL/CLISQL_ATTR_CONN_SORT_SEQUENCEattribute.
 
       - 
        
         0 - Uses the *HEXsort option, sorting by bytes.
 
- 
        
         1 - Uses the job sort sequence set for the PHP job.
         
- 
        
         2 - Uses the job sort sequence set for the database job.
         
 
- 
     ibm_db2.i5_max_pconnectint
- 
     
      This will affect how many times a persistent connection can be reused
      when running on IBM i.
      By default, this is set to 0, which means a persistent
      connection can always be reused.
      This option can help work around issues in a long-running database job
      (i.e. if a procedure is leaking memory), but is obviously not a long-term
      fix.
 
- 
     ibm_db2.i5_override_ccsidint
- 
     
      The PASE CCSID to use for character conversions from EBCDIC on IBM i.
      By default, this is 0, which will select the default
      PASE job CCSID, which comes from the PASE locale settings.
      For example, setting this to1208will use UTF-8.
      This should only be modified if the PASE job CCSID isn't the expected
      CCSID, and the locale cannot be modified.
 
      To learn more about CCSIDs on IBM i, consult the
      » IBM documentation.
      To learn how locales on IBM i PASE are mapped to CCSIDs, consult the
      » IBM documentation.
      
- 
     ibm_db2.i5_sys_namingint
- 
     
      This option controls the naming mode when connecting to an IBM i system.
      By default, this option is 0.
      The naming mode affects how names are resolved and the allowed syntax for
      names.
      When set to0, this uses periods to qualify names and
      uses the default library or user ID to resolve names.
      When set to1, this uses slashes to qualify names and
      uses the job library list to resolve names.
 
      To learn more about naming modes on IBM i, consult the
      » IBM documentation.
      
- 
     ibm_db2.i5_servermode-subsystemstring
- 
     
      This option changes which subsystem database server jobs run under on
      IBM i.
      By default, this option is null, so jobs will run under the default
      subsystem for QSQSRVR jobs.
 
- 
     ibm_db2.instance_namestring
- 
     
      On Linux and UNIX operating systems, this option defines the name of the
      instance to use for cataloged database connections.
      By default, this option is null.
      If this option is set, its value overrides the
      DB2INSTANCE environment variable setting.
 
      This option is ignored on Windows operating systems.