reference/mysqli/ini.xml
d4d5216e7a965ca194f6b1c9dee84cecab2674e5
...
...
@@ -4,7 +4,7 @@
4
4
&reftitle.runtime;
5
5
&extension.runtime;
6
6
<para>
7
-
<table>
7
+
<table xml:id="mysqli.configuration.options">
8
8
<title>MySQLi Configuration Options</title>
9
9
<tgroup cols="4">
10
10
<thead>
...
...
@@ -18,82 +18,82 @@
18
18
<tbody xml:id="mysqli.configuration.list">
19
19
<row>
20
20
<entry><link linkend="ini.mysqli.allow-local-infile">mysqli.allow_local_infile</link></entry>
21
-
<entry>"1"</entry>
22
-
<entry>PHP_INI_SYSTEM</entry>
23
-
<entry>Available since PHP 5.2.4.</entry>
21
+
<entry>"0"</entry>
22
+
<entry><constant>INI_SYSTEM</constant></entry>
23
+
<entry>Before PHP 7.2.16 and 7.3.3 the default was "1".</entry>
24
+
</row>
25
+
<row>
26
+
<entry><link linkend="ini.mysqli.local-infile-directory">mysqli.local_infile_directory</link></entry>
27
+
<entry></entry>
28
+
<entry><constant>INI_SYSTEM</constant></entry>
29
+
<entry>Available as of PHP 8.1.0.</entry>
24
30
</row>
25
31
<row>
26
32
<entry><link linkend="ini.mysqli.allow-persistent">mysqli.allow_persistent</link></entry>
27
33
<entry>"1"</entry>
28
-
<entry>PHP_INI_SYSTEM</entry>
29
-
<entry>Available since PHP 5.3.0.</entry>
34
+
<entry><constant>INI_SYSTEM</constant></entry>
35
+
<entry></entry>
30
36
</row>
31
37
<row>
32
38
<entry><link linkend="ini.mysqli.max-persistent">mysqli.max_persistent</link></entry>
33
39
<entry>"-1"</entry>
34
-
<entry>PHP_INI_SYSTEM</entry>
35
-
<entry>Available since PHP 5.3.0.</entry>
40
+
<entry><constant>INI_SYSTEM</constant></entry>
41
+
<entry></entry>
36
42
</row>
37
43
<row>
38
44
<entry><link linkend="ini.mysqli.max-links">mysqli.max_links</link></entry>
39
45
<entry>"-1"</entry>
40
-
<entry>PHP_INI_SYSTEM</entry>
41
-
<entry>Available since PHP 5.0.0.</entry>
46
+
<entry><constant>INI_SYSTEM</constant></entry>
47
+
<entry></entry>
42
48
</row>
43
49
<row>
44
50
<entry><link linkend="ini.mysqli.default-port">mysqli.default_port</link></entry>
45
51
<entry>"3306"</entry>
46
-
<entry>PHP_INI_ALL</entry>
47
-
<entry>Available since PHP 5.0.0.</entry>
52
+
<entry><constant>INI_ALL</constant></entry>
53
+
<entry></entry>
48
54
</row>
49
55
<row>
50
56
<entry><link linkend="ini.mysqli.default-socket">mysqli.default_socket</link></entry>
51
57
<entry>NULL</entry>
52
-
<entry>PHP_INI_ALL</entry>
53
-
<entry>Available since PHP 5.0.0.</entry>
58
+
<entry><constant>INI_ALL</constant></entry>
59
+
<entry></entry>
54
60
</row>
55
61
<row>
56
62
<entry><link linkend="ini.mysqli.default-host">mysqli.default_host</link></entry>
57
63
<entry>NULL</entry>
58
-
<entry>PHP_INI_ALL</entry>
59
-
<entry>Available since PHP 5.0.0.</entry>
64
+
<entry><constant>INI_ALL</constant></entry>
65
+
<entry></entry>
60
66
</row>
61
67
<row>
62
68
<entry><link linkend="ini.mysqli.default-user">mysqli.default_user</link></entry>
63
69
<entry>NULL</entry>
64
-
<entry>PHP_INI_ALL</entry>
65
-
<entry>Available since PHP 5.0.0.</entry>
70
+
<entry><constant>INI_ALL</constant></entry>
71
+
<entry></entry>
66
72
</row>
67
73
<row>
68
74
<entry><link linkend="ini.mysqli.default-pw">mysqli.default_pw</link></entry>
69
75
<entry>NULL</entry>
70
-
<entry>PHP_INI_ALL</entry>
71
-
<entry>Available since PHP 5.0.0.</entry>
76
+
<entry><constant>INI_ALL</constant></entry>
77
+
<entry></entry>
72
78
</row>
73
79
<row>
74
80
<entry><link linkend="ini.mysqli.reconnect">mysqli.reconnect</link></entry>
75
81
<entry>"0"</entry>
76
-
<entry>PHP_INI_SYSTEM</entry>
77
-
<entry>Available since PHP 4.3.5.</entry>
82
+
<entry><constant>INI_SYSTEM</constant></entry>
83
+
<entry>Removed as of PHP 8.2.0</entry>
78
84
</row>
79
85
<row>
80
86
<entry><link linkend="ini.mysqli.rollback-on-cached-plink">mysqli.rollback_on_cached_plink</link></entry>
81
-
<entry>TRUE</entry>
82
-
<entry>PHP_INI_SYSTEM</entry>
83
-
<entry>Available since PHP 5.6.0.</entry>
84
-
</row>
85
-
<row>
86
-
<entry><link linkend="ini.mysqli.cache-size">mysqli.cache_size</link></entry>
87
-
<entry>"2000"</entry>
88
-
<entry>PHP_INI_SYSTEM</entry>
89
-
<entry>Available since PHP 5.3.0.</entry>
87
+
<entry>"0"</entry>
88
+
<entry><constant>INI_SYSTEM</constant></entry>
89
+
<entry></entry>
90
90
</row>
91
91
</tbody>
92
92
</tgroup>
93
93
</table>
94
94
</para>
95
95
<para>
96
-
For further details and definitions of the preceding PHP_INI_* constants, see
96
+
For further details and definitions of the preceding INI_* constants, see
97
97
the chapter on <link linkend="configuration.changes">configuration
98
98
changes</link>.
99
99
</para>
...
...
@@ -106,7 +106,7 @@
106
106
<varlistentry xml:id="ini.mysqli.allow-local-infile">
107
107
<term>
108
108
<parameter>mysqli.allow_local_infile</parameter>
109
-
<type>integer</type>
109
+
<type>int</type>
110
110
</term>
111
111
<listitem>
112
112
<para>
...
...
@@ -116,10 +116,23 @@
116
116
</listitem>
117
117
</varlistentry>
118
118

119
+
<varlistentry xml:id="ini.mysqli.local-infile-directory">
120
+
<term>
121
+
<parameter>mysqli.local_infile_directory</parameter>
122
+
<type>string</type>
123
+
</term>
124
+
<listitem>
125
+
<para>
126
+
Allows restricting LOCAL DATA loading to files located in this designated
127
+
directory.
128
+
</para>
129
+
</listitem>
130
+
</varlistentry>
131
+

119
132
<varlistentry xml:id="ini.mysqli.allow-persistent">
120
133
<term>
121
134
<parameter>mysqli.allow_persistent</parameter>
122
-
<type>integer</type>
135
+
<type>int</type>
123
136
</term>
124
137
<listitem>
125
138
<para>
...
...
@@ -131,7 +144,7 @@
131
144
<varlistentry xml:id="ini.mysqli.max-persistent">
132
145
<term>
133
146
<parameter>mysqli.max_persistent</parameter>
134
-
<type>integer</type>
147
+
<type>int</type>
135
148
</term>
136
149
<listitem>
137
150
<para>
...
...
@@ -143,7 +156,7 @@
143
156
<varlistentry xml:id="ini.mysqli.max-links">
144
157
<term>
145
158
<parameter>mysqli.max_links</parameter>
146
-
<type>integer</type>
159
+
<type>int</type>
147
160
</term>
148
161
<listitem>
149
162
<para>
...
...
@@ -154,7 +167,7 @@
154
167
<varlistentry xml:id="ini.mysqli.default-port">
155
168
<term>
156
169
<parameter>mysqli.default_port</parameter>
157
-
<type>integer</type>
170
+
<type>int</type>
158
171
</term>
159
172
<listitem>
160
173
<para>
...
...
@@ -190,8 +203,7 @@
190
203
<listitem>
191
204
<para>
192
205
The default server host to use when connecting to the database
193
-
server if no other host is specified. Doesn't apply in
194
-
<link linkend="ini.safe-mode">safe mode</link>.
206
+
server if no other host is specified.
195
207
</para>
196
208
</listitem>
197
209
</varlistentry>
...
...
@@ -204,8 +216,7 @@
204
216
<listitem>
205
217
<para>
206
218
The default user name to use when connecting to the database
207
-
server if no other name is specified. Doesn't apply in
208
-
<link linkend="ini.safe-mode">safe mode</link>.
219
+
server if no other name is specified.
209
220
</para>
210
221
</listitem>
211
222
</varlistentry>
...
...
@@ -218,8 +229,7 @@
218
229
<listitem>
219
230
<para>
220
231
The default password to use when connecting to the database
221
-
server if no other password is specified. Doesn't apply in
222
-
<link linkend="ini.safe-mode">safe mode</link>.
232
+
server if no other password is specified.
223
233
</para>
224
234
</listitem>
225
235
</varlistentry>
...
...
@@ -227,12 +237,17 @@
227
237
<varlistentry xml:id="ini.mysqli.reconnect">
228
238
<term>
229
239
<parameter>mysqli.reconnect</parameter>
230
-
<type>integer</type>
240
+
<type>int</type>
231
241
</term>
232
242
<listitem>
233
243
<para>
234
244
Automatically reconnect if the connection was lost.
235
245
</para>
246
+
<note>
247
+
<simpara>This &php.ini; setting had been ignored by the mysqlnd driver, and was removed
248
+
as of PHP 8.2.0.
249
+
</simpara>
250
+
</note>
236
251
</listitem>
237
252
</varlistentry>
238
253

...
...
@@ -243,20 +258,10 @@
243
258
</term>
244
259
<listitem>
245
260
<para>
246
-
Used for rollbacking connections put back into the persistent
247
-
connection pool.
248
-
</para>
249
-
</listitem>
250
-
</varlistentry>
251
-
252
-
<varlistentry xml:id="ini.mysqli.cache-size">
253
-
<term>
254
-
<parameter>mysqli.cache_size</parameter>
255
-
<type>integer</type>
256
-
</term>
257
-
<listitem>
258
-
<para>
259
-
&mysqli.available.mysqlnd;
261
+
If this option is enabled, closing a persistent connection will rollback
262
+
any pending transactions of this connection before it is put back into the
263
+
persistent connection pool. Otherwise, pending transactions will be rolled
264
+
back only when the connection is reused, or when it is actually closed.
260
265
</para>
261
266
</listitem>
262
267
</varlistentry>
...
...
@@ -291,4 +296,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
291
296
vim: et tw=78 syn=sgml
292
297
vi: ts=1 sw=1
293
298
-->
294
-

295
299