php-doc-en/reference/oci8/ini.xml
Nuno Lopes 52accafdfe major update of INI stuff:
with the update in the software, we are now able to catch more ini entries that were using the magic cfg_get_*()
minor tune in script

we are still lacking a better PECL integration, which is in my TODO list
~


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203686 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-26 12:12:13 +00:00

210 lines
6.6 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<section id="oci8.configuration">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>OCI8 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>oci8.privileged_connect</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2.</entry>
</row>
<row>
<entry>oci8.max_persistent</entry>
<entry>"-1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2.</entry>
</row>
<row>
<entry>oci8.persistent_timeout</entry>
<entry>"-1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2.</entry>
</row>
<row>
<entry>oci8.ping_interval</entry>
<entry>"60"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2.</entry>
</row>
<row>
<entry>oci8.statement_cache_size</entry>
<entry>"20"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2.</entry>
</row>
<row>
<entry>oci8.default_prefetch</entry>
<entry>"10"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2.</entry>
</row>
<row>
<entry>oci8.old_oci_close_semantics</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2.</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry id="ini.oci8.privileged_connect">
<term>
<parameter>oci8.privileged_connect</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
This option enables privileged connections using external credentials
(<constant>OCI_SYSOPER</constant>, <constant>OCI_SYSDBA</constant>).
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.oci8.max_persistent">
<term>
<parameter>oci8.max_persistent</parameter>
<type>int</type>
</term>
<listitem>
<para>
The maximum number of persistent OCI8 connections per process.
Setting this option to -1 means that there is no limit.
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.oci8.persistent_timeout">
<term>
<parameter>oci8.persistent_timeout</parameter>
<type>int</type>
</term>
<listitem>
<para>
The maximum length of time (in seconds) that a given process is
allowed to maintain an idle persistent connection.
Setting this option to -1 means that idle persistent connections will
be maintained forever.
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.oci8.ping_interval">
<term>
<parameter>oci8.ping_interval</parameter>
<type>int</type>
</term>
<listitem>
<para>
The length of time (in seconds) that must pass before issuing a ping
during <function>oci_pconnect</function>. When set to 0, persistent
connections will be pinged every time they are reused. To disable
pings completely, set this option to -1.
</para>
<note>
<simpara>
Disabling pings will cause <function>oci_pconnect</function> calls to operate at the
highest efficiency, but may cause PHP to not detect faulty connections,
such as those caused by network partitions, or if the Oracle server has
gone down since PHP connected, until later in the script. Consult the
<function>oci_pconnect</function> documentation for more information.
</simpara>
</note>
</listitem>
</varlistentry>
<varlistentry id="ini.oci8.statement_cache_size">
<term>
<parameter>oci8.statement_cache_size</parameter>
<type>int</type>
</term>
<listitem>
<para>
This option enables statement caching, and specifies how many
statements to cache. To disable statement caching just set this option to 0.
</para>
<note>
<simpara>
A larger cache can result in improved performance, at the cost of
increased memory usage.
</simpara>
</note>
</listitem>
</varlistentry>
<varlistentry id="ini.oci8.default_prefetch">
<term>
<parameter>oci8.default_prefetch</parameter>
<type>int</type>
</term>
<listitem>
<para>
This option enables statement prefetching and sets the default number
of rows that will be fetched automatically after statement execution.
</para>
<note>
<simpara>
A larger prefetch can result in improved performance, at the cost of
increased memory usage.
</simpara>
</note>
</listitem>
</varlistentry>
<varlistentry id="ini.oci8.old_oci_close_semantics">
<term>
<parameter>oci8.old_oci_close_semantics</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
This option controls <function>oci_close</function> behaviour.
Enabling it means that <function>oci_close</function> will do
nothing; the connection will not be
closed until the end of the script. This is for backward
compatibility only. If you find that you need to enable this
setting, you are <emphasis>strongly encouraged</emphasis> to
remove the <function>oci_close</function> calls from your
application instead of enabling this option.
</para>
</listitem>
</varlistentry>
</variablelist>
</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
-->