reference/oci8/functions/oci-pconnect.xml
5e41012cfdf8f2eff5fa56de446c7656afac536c
...
...
@@ -9,23 +9,23 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>resource</type><methodname>oci_pconnect</methodname>
12
+
<type class="union"><type>resource</type><type>false</type></type><methodname>oci_pconnect</methodname>
13
13
<methodparam><type>string</type><parameter>username</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>password</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>connection_string</parameter></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>character_set</parameter></methodparam>
17
-
<methodparam choice="opt"><type>int</type><parameter>session_mode</parameter></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>connection_string</parameter><initializer>&null;</initializer></methodparam>
16
+
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>""</initializer></methodparam>
17
+
<methodparam choice="opt"><type>int</type><parameter>session_mode</parameter><initializer><constant>OCI_DEFAULT</constant></initializer></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
Creates a persistent connection to an Oracle server and logs on.
21
21
</para>
22
22
<para>
23
-
Persistent connections are cached and re-used between requests, resulting
24
-
in reduced overhead on each page load; a typical PHP application will have
25
-
a single persistent connection open against an Oracle server per Apache
26
-
child process (or PHP FastCGI/CGI process). See the <link
27
-
linkend="features.persistent-connections">Persistent Database
28
-
Connections</link> section for more information.
23
+
Persistent connections are cached and re-used between requests, resulting in
24
+
reduced overhead on each page load; a typical PHP application will have a
25
+
single persistent connection open against an Oracle server per Apache child
26
+
process (or PHP FPM process). See the <link linkend="oci8.connection">OCI8
27
+
Connection Handling and Connection Pooling</link> section for more
28
+
information.
29
29
</para>
30
30
</refsect1>
31
31

...
...
@@ -56,7 +56,7 @@
56
56
</listitem>
57
57
</varlistentry>
58
58
<varlistentry>
59
-
<term><parameter>character_set</parameter></term>
59
+
<term><parameter>encoding</parameter></term>
60
60
<listitem>
61
61
&oci.charset;
62
62
</listitem>
...
...
@@ -121,10 +121,9 @@ echo "</table>\n";
121
121
&reftitle.notes;
122
122
<note>
123
123
<simpara>
124
-
Starting with PHP 5.1.2 and PECL OCI8 1.1, the lifetime and
124
+
The lifetime and
125
125
maximum number of persistent Oracle connections per PHP process can be tuned by setting
126
-
the following configuration values: <link
127
-
linkend="ini.oci8.persistent-timeout">oci8.persistent_timeout</link>,
126
+
the following configuration values: <link linkend="ini.oci8.persistent-timeout">oci8.persistent_timeout</link>,
128
127
<link linkend="ini.oci8.ping-interval">oci8.ping_interval</link> and
129
128
<link linkend="ini.oci8.max-persistent">oci8.max_persistent</link>.
130
129
</simpara>
...
...
@@ -142,7 +141,6 @@ echo "</table>\n";
142
141
</refsect1>
143
142

144
143
</refentry>
145
-

146
144
<!-- Keep this comment at the end of the file
147
145
Local variables:
148
146
mode: sgml
149
147