1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
|
<?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
-->
|