<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.17 $ -->
<section id="sybase.configuration">
 &reftitle.runtime;
 &extension.runtime;
 <para>
 <table>
  <title>Sybase configuration options</title>
  <tgroup cols="4">
   <thead>
    <row>
     <entry>Name</entry>
     <entry>Default</entry>
     <entry>Changeable</entry>
     <entry>Changelog</entry>
    </row>
   </thead>
   <tbody>
    <row>
     <entry>sybase.allow_persistent</entry>
     <entry>"1"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>PHP_INI_ALL in PHP &lt;= 4.0.2. PHP_INI_SYSTEM in PHP &lt;= 4.0.3.</entry>
    </row>
    <row>
     <entry>sybase.max_persistent</entry>
     <entry>"-1"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>PHP_INI_ALL in PHP &lt;= 4.0.2. PHP_INI_SYSTEM in PHP &lt;= 4.0.3.</entry>
    </row>
    <row>
     <entry>sybase.max_links</entry>
     <entry>"-1"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>PHP_INI_ALL in PHP &lt;= 4.0.2. PHP_INI_SYSTEM in PHP &lt;= 4.0.3.</entry>
    </row>
    <row>
     <entry>sybase.interface_file </entry>
     <entry>"/usr/sybase/interfaces"</entry>
     <entry>PHP_INI_SYSTEM</entry>
     <entry></entry>
    </row>
    <row>
     <entry>sybase.min_error_severity</entry>
     <entry>"10"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry>sybase.min_message_severity</entry>
     <entry>"10"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry>sybase.compatability_mode</entry>
     <entry>"0"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry>magic_quotes_sybase</entry>
     <entry>"0"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
   </tbody>
  </tgroup>
 </table>
 </para>
 
 &ini.descriptions.title;
 
 <para>
 <variablelist>
  
  <varlistentry id="ini.sybase.allow-persistent">
   <term>
    <parameter>sybase.allow_persistent</parameter>
    <type>boolean</type>
   </term>
   <listitem>
    <para>
     Whether to allow persistent Sybase connections.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry id="ini.sybase.max-persistent">
   <term>
    <parameter>sybase.max_persistent</parameter>
    <type>integer</type>
   </term>
   <listitem>
    <para>
     The maximum number of persistent Sybase connections per
     process. -1 means no limit.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry id="ini.sybase.max-links">
   <term>
    <parameter>sybase.max_links</parameter>
    <type>integer</type>
   </term>
   <listitem>
    <para>
     The maximum number of Sybase connections per process,
     including persistent connections. -1 means no limit.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry id="ini.sybase.min-error-severity">
   <term>
    <parameter>sybase.min_error_severity</parameter>
    <type>integer</type>
   </term>
   <listitem>
    <para>
     Minimum error severity to display.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry id="ini.sybase.min-message-severity">
   <term>
    <parameter>sybase.min_message_severity</parameter>
    <type>integer</type>
   </term>
   <listitem>
    <para>
     Minimum message severity to display.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry id="ini.sybase.compatability-mode">
   <term>
    <parameter>sybase.compatability_mode</parameter>
    <type>boolean</type>
   </term>
   <listitem>
    <para>
     Compatibility mode with old versions of PHP 3.0. If on, this will cause
     PHP to automatically assign types to results according to their Sybase
     type, instead of treating them all as strings. This compatibility mode
     will probably not stay around forever, so try applying whatever
     necessary changes to your code, and turn it off.
    </para>
   </listitem>
  </varlistentry>

  <varlistentry id="ini.magic-quotes-sybase">
   <term>
    <parameter>magic_quotes_sybase</parameter>
    <type>boolean</type>
   </term>
   <listitem>
    <para>
     If <parameter>magic_quotes_sybase</parameter> is on, a
     single-quote is escaped with a single-quote instead of a
     backslash if <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link>
     or <link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>
     are enabled.
    </para>
    <note>
     <para>
      Note that when <parameter>magic_quotes_sybase</parameter>
      is ON it completely overrides <parameter>magic_quotes_gpc
      </parameter>.  In this case even when 
      <parameter>magic_quotes_gpc</parameter> is enabled
      neither double quotes, backslashes or NUL's
      will be escaped.
     </para>
    </note>
   </listitem>
  </varlistentry>

 </variablelist>
 </para>

 <para>
 <table>
  <title>Sybase-CT configuration options</title>
  <tgroup cols="4">
   <thead>
    <row>
     <entry>Name</entry>
     <entry>Default</entry>
     <entry>Changeable</entry>
     <entry>Changelog</entry>
    </row>
   </thead>
   <tbody>
    <row>
     <entry>sybct.allow_persistent</entry>
     <entry>"1"</entry>
     <entry>PHP_INI_SYSTEM</entry>
     <entry>PHP_INI_ALL in PHP &lt;= 4.0.2. Available since PHP 4.0.2.</entry>
    </row>
    <row>
     <entry>sybct.max_persistent</entry>
     <entry>"-1"</entry>
     <entry>PHP_INI_SYSTEM</entry>
     <entry>PHP_INI_ALL in PHP &lt;= 4.0.2. Available since PHP 4.0.2.</entry>
    </row>
    <row>
     <entry>sybct.max_links</entry>
     <entry>"-1"</entry>
     <entry>PHP_INI_SYSTEM</entry>
     <entry>PHP_INI_ALL in PHP &lt;= 4.0.2. Available since PHP 4.0.2.</entry>
    </row>
    <row>
     <entry>sybct.min_server_severity</entry>
     <entry>"10"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>Available since PHP 4.0.2.</entry>
    </row>
    <row>
     <entry>sybct.min_client_severity</entry>
     <entry>"10"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>Available since PHP 4.0.2.</entry>
    </row>
    <row>
     <entry>sybct.hostname</entry>
     <entry>NULL</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>Available since PHP 4.0.2.</entry>
    </row>
    <row>
     <entry>sybct.deadlock_retry_count</entry>
     <entry>"0"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry>Available since PHP 4.3.0.</entry>
    </row>
   </tbody>
  </tgroup>
 </table>
 </para>
 
 &ini.descriptions.title;
 
 <para>
  <variablelist>
   
   <varlistentry id="ini.sybct.allow-persistent">
    <term>
     <parameter>sybct.allow_persistent</parameter>
     <type>boolean</type>
    </term>
    <listitem>
     <para>
      Whether to allow persistent Sybase-CT connections.
      The default is on.
     </para>
    </listitem>
   </varlistentry>
   
   <varlistentry id="ini.sybct.max-persistent">
    <term>
     <parameter>sybct.max_persistent</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      The maximum number of persistent Sybase-CT connections per
      process. The default is -1 meaning unlimited.
     </para>
    </listitem>
   </varlistentry>
   
   <varlistentry id="ini.sybct.max-links">
    <term>
     <parameter>sybct.max_links</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      The maximum number of Sybase-CT connections per process,
      including persistent connections. The default is -1 meaning
      unlimited.
     </para>
    </listitem>
   </varlistentry>
   
   <varlistentry id="ini.sybct.min-server-severity">
    <term>
     <parameter>sybct.min_server_severity</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      Server messages with severity greater than or equal to
      sybct.min_server_severity will be reported as warnings. This
      value can also be set from a script by calling
      <function>sybase_min_server_severity</function>. The default
      is 10 which reports errors of information severity or greater.
     </para>
    </listitem>
   </varlistentry>
   
   <varlistentry id="ini.sybct.min-client-severity">
    <term>
     <parameter>sybct.min_client_severity</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      Client library messages with severity greater than or equal to
      sybct.min_client_severity will be reported as warnings. This
      value can also be set from a script by calling
      <function>sybase_min_client_severity</function>.  The default
      is 10 which effectively disables reporting.
     </para>
    </listitem>
   </varlistentry>
   
     <varlistentry id="ini.sybct.login-timeout">
      <term>
       <parameter>sybct.login_timeout</parameter>
       <type>integer</type>
      </term>
      <listitem>
       <para>
        The maximum time in seconds to wait for a connection attempt
        to succeed before returning failure.  Note that if
        max_execution_time has been exceeded when a connection attempt
        times out, your script will be terminated before it can take
        action on failure.  The default is one minute.
       </para>
      </listitem>
     </varlistentry>
     
     <varlistentry id="ini.sybct.timeout">
      <term>
       <parameter>sybct.timeout</parameter>
       <type>integer</type>
      </term>
      <listitem>
       <para>
        The maximum time in seconds to wait for a select_db or query
        operation to succeed before returning failure.  Note that if
        max_execution_time has been exceeded when an operation times
        out, your script will be terminated before it can take action
        on failure.  The default is no limit.
       </para>
      </listitem>
     </varlistentry>

   <varlistentry id="ini.sybct.hostname">
    <term>
     <parameter>sybct.hostname</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      The name of the host you claim to be connecting from, for
      display by sp_who. The default is none.
     </para>
    </listitem>
   </varlistentry>
   
   <varlistentry id="ini.sybct.deadlock-retry-count">
    <term>
     <parameter>sybct.deadlock_retry_count</parameter>
     <type>int</type>
    </term>
    <listitem>
     <para>
      Allows you to define how often deadlocks are to be retried. The default
      is -1, or "forever".
     </para>
    </listitem>
   </varlistentry>
   
  </variablelist>
 </para>
 <para>
  &ini.php.constants;
 </para>

</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->