appendices/ini.core.xml
a1ab750f296de54d79fe3749d5c9164b0593d803
a1ab750f296de54d79fe3749d5c9164b0593d803
...
...
@@ -33,19 +33,19 @@
33
33
<row>
34
34
<entry><link linkend="ini.short-open-tag">short_open_tag</link></entry>
35
35
<entry>"1"</entry>
36
-
<entry>PHP_INI_PERDIR</entry>
36
+
<entry><constant>INI_PERDIR</constant></entry>
37
37
<entry></entry>
38
38
</row>
39
39
<row>
40
40
<entry><link linkend="ini.precision">precision</link></entry>
41
41
<entry>"14"</entry>
42
-
<entry>PHP_INI_ALL</entry>
42
+
<entry><constant>INI_ALL</constant></entry>
43
43
<entry></entry>
44
44
</row>
45
45
<row>
46
46
<entry><link linkend="ini.serialize-precision">serialize_precision</link></entry>
47
47
<entry>"-1"</entry>
48
-
<entry>PHP_INI_ALL</entry>
48
+
<entry><constant>INI_ALL</constant></entry>
49
49
<entry>
50
50
Prior to PHP 7.1.0, the default value was 17.
51
51
</entry>
...
...
@@ -53,7 +53,7 @@
53
53
<row>
54
54
<entry><link linkend="ini.disable-functions">disable_functions</link></entry>
55
55
<entry>""</entry>
56
-
<entry>PHP_INI_SYSTEM only</entry>
56
+
<entry><constant>INI_SYSTEM</constant> only</entry>
57
57
<entry></entry>
58
58
</row>
59
59
<row>
...
...
@@ -65,7 +65,7 @@
65
65
<row>
66
66
<entry><link linkend="ini.exit-on-timeout">exit_on_timeout</link></entry>
67
67
<entry>""</entry>
68
-
<entry>PHP_INI_ALL</entry>
68
+
<entry><constant>INI_ALL</constant></entry>
69
69
<entry></entry>
70
70
</row>
71
71
<row>
...
...
@@ -77,45 +77,51 @@
77
77
<row>
78
78
<entry><link linkend="ini.hard-timeout">hard_timeout</link></entry>
79
79
<entry>"2"</entry>
80
-
<entry>PHP_INI_SYSTEM</entry>
80
+
<entry><constant>INI_SYSTEM</constant></entry>
81
81
<entry>Available as of PHP 7.1.0.</entry>
82
82
</row>
83
83
<row>
84
84
<entry><link linkend="ini.zend.exception-ignore-args">zend.exception_ignore_args</link></entry>
85
85
<entry>"0"</entry>
86
-
<entry>PHP_INI_ALL</entry>
86
+
<entry><constant>INI_ALL</constant></entry>
87
87
<entry>Available as of PHP 7.4.0</entry>
88
88
</row>
89
89
<row>
90
90
<entry><link linkend="ini.zend.multibyte">zend.multibyte</link></entry>
91
91
<entry>"0"</entry>
92
-
<entry>PHP_INI_ALL</entry>
92
+
<entry><constant>INI_ALL</constant></entry>
93
93
<entry></entry>
94
94
</row>
95
95
<row>
96
96
<entry><link linkend="ini.zend.script-encoding">zend.script_encoding</link></entry>
97
97
<entry>NULL</entry>
98
-
<entry>PHP_INI_ALL</entry>
98
+
<entry><constant>INI_ALL</constant></entry>
99
99
<entry></entry>
100
100
</row>
101
101
<row>
102
102
<entry><link linkend="ini.zend.detect-unicode">zend.detect_unicode</link></entry>
103
103
<entry>NULL</entry>
104
-
<entry>PHP_INI_ALL</entry>
104
+
<entry><constant>INI_ALL</constant></entry>
105
105
<entry></entry>
106
106
</row>
107
107
<row>
108
108
<entry><link linkend="ini.zend.signal-check">zend.signal_check</link></entry>
109
109
<entry>"0"</entry>
110
-
<entry>PHP_INI_SYSTEM</entry>
110
+
<entry><constant>INI_SYSTEM</constant></entry>
111
111
<entry></entry>
112
112
</row>
113
113
<row>
114
114
<entry><link linkend="ini.zend.assertions">zend.assertions</link></entry>
115
115
<entry>"1"</entry>
116
-
<entry>PHP_INI_ALL with restrictions</entry>
116
+
<entry><constant>INI_ALL</constant> with restrictions</entry>
117
117
<entry></entry>
118
118
</row>
119
+
<row>
120
+
<entry><link linkend="ini.zend.exception-string-param-max-len">zend.exception_string_param_max_len</link></entry>
121
+
<entry>"15"</entry>
122
+
<entry><constant>INI_ALL</constant></entry>
123
+
<entry>Available as of PHP 8.0.0.</entry>
124
+
</row>
119
125
</tbody>
120
126
</tgroup>
121
127
</table>
...
...
@@ -196,19 +202,24 @@
196
202
<type>string</type>
197
203
</term>
198
204
<listitem>
199
-
<para>
200
-
This directive allows you to disable certain functions. It takes
201
-
on a comma-delimited list of function names.
202
-
</para>
203
-
<para>
205
+
<simpara>
206
+
This directive allows certain functions to be disabled.
207
+
It takes a comma-delimited list of function names.
208
+
As of PHP 8.0.0, disabling a function removes its definition,
209
+
allowing userland to redefine it.
210
+
Prior to PHP 8.0.0, disabling a function just prevented the function
211
+
from being invoked.
212
+
</simpara>
213
+
<simpara>
204
214
Only <link linkend="functions.internal">internal functions</link> can
205
-
be disabled using this directive. <link linkend="functions.user-defined">User-defined functions</link>
215
+
be disabled using this directive.
216
+
<link linkend="functions.user-defined">User-defined functions</link>
206
217
are unaffected.
207
-
</para>
208
-
<para>
209
-
This directive must be set in &php.ini; For example, you
210
-
cannot set this in &httpd.conf;.
211
-
</para>
218
+
</simpara>
219
+
<simpara>
220
+
This directive must be set in &php.ini;.
221
+
It cannot be set in &httpd.conf;.
222
+
</simpara>
212
223
</listitem>
213
224
</varlistentry>
214
225
...
...
@@ -218,13 +229,18 @@
218
229
<type>string</type>
219
230
</term>
220
231
<listitem>
232
+
<para>
233
+
This directive allows certain classes to be disabled.
234
+
It takes a comma-delimited list of class names.
235
+
Disabling a class just prevents the class's instantiation.
236
+
</para>
237
+
<para>
238
+
Only internal classes can be disabled using this directive.
239
+
User-defined classes are unaffected.
240
+
</para>
221
241
<simpara>
222
-
This directive allows you to disable certain classes. It takes
223
-
on a comma-delimited list of class names.
224
-
</simpara>
225
-
<simpara>
226
-
This directive must be set in &php.ini; For example, you
227
-
cannot set this in &httpd.conf;.
242
+
This directive must be set in &php.ini;.
243
+
It cannot be set in &httpd.conf;.
228
244
</simpara>
229
245
</listitem>
230
246
</varlistentry>
...
...
@@ -255,6 +271,19 @@
255
271
</listitem>
256
272
</varlistentry>
257
273
274
+
<varlistentry xml:id="ini.zend.exception-string-param-max-len">
275
+
<term>
276
+
<parameter>zend.exception_string_param_max_len</parameter>
277
+
<type>int</type>
278
+
</term>
279
+
<listitem>
280
+
<simpara>
281
+
The maximum length of string function arguments in stringified stack traces.
282
+
Must range between <literal>"0"</literal> and <literal>"1000000"</literal>.
283
+
</simpara>
284
+
</listitem>
285
+
</varlistentry>
286
+
258
287
<varlistentry xml:id="ini.hard-timeout">
259
288
<term>
260
289
<parameter>hard_timeout</parameter>
...
...
@@ -262,6 +291,19 @@
262
291
</term>
263
292
<listitem>
264
293
<para>
294
+
When the timeout set in <link linkend="ini.max-execution-time">max_execution_time</link>
295
+
has been hit, the PHP runtime will tear down resources gracefully. If
296
+
something gets stuck while this happens, the hard timeout will tick
297
+
for the set amount of seconds. When the hard timeout is hit, PHP will
298
+
exit ungracefully. When set to 0, the hard timeout will never activate.
299
+
</para>
300
+
<para>
301
+
When PHP stops from a hard timeout, it will look something like this:
302
+
<screen>
303
+
<![CDATA[
304
+
Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in Unknown on line 0
305
+
]]>
306
+
</screen>
265
307
</para>
266
308
</listitem>
267
309
</varlistentry>
...
...
@@ -309,7 +351,7 @@
309
351
is used, both zend.multibyte and zend.script_encoding must be used.
310
352
</para>
311
353
<para>
312
-
Literal strings will be transliterated from zend.script_enconding to
354
+
Literal strings will be transliterated from zend.script_encoding to
313
355
mbstring.internal_encoding, as if
314
356
<function>mb_convert_encoding</function> would have been called.
315
357
</para>
...
...
@@ -380,7 +422,7 @@
380
422
<row>
381
423
<entry><link linkend="ini.memory-limit">memory_limit</link></entry>
382
424
<entry>"128M"</entry>
383
-
<entry>PHP_INI_ALL</entry>
425
+
<entry><constant>INI_ALL</constant></entry>
384
426
<entry></entry>
385
427
</row>
386
428
</tbody>
...
...
@@ -434,13 +476,13 @@
434
476
<row>
435
477
<entry><link linkend="ini.realpath-cache-size">realpath_cache_size</link></entry>
436
478
<entry>"4M"</entry>
437
-
<entry>PHP_INI_SYSTEM</entry>
479
+
<entry><constant>INI_SYSTEM</constant></entry>
438
480
<entry>Prior to PHP 7.0.16 and 7.1.2, the default was <literal>"16K"</literal></entry>
439
481
</row>
440
482
<row>
441
483
<entry><link linkend="ini.realpath-cache-ttl">realpath_cache_ttl</link></entry>
442
484
<entry>"120"</entry>
443
-
<entry>PHP_INI_SYSTEM</entry>
485
+
<entry><constant>INI_SYSTEM</constant></entry>
444
486
<entry></entry>
445
487
</row>
446
488
</tbody>
...
...
@@ -514,91 +556,91 @@
514
556
<row>
515
557
<entry><link linkend="ini.arg-separator.output">arg_separator.output</link></entry>
516
558
<entry>"&"</entry>
517
-
<entry>PHP_INI_ALL</entry>
559
+
<entry><constant>INI_ALL</constant></entry>
518
560
<entry></entry>
519
561
</row>
520
562
<row>
521
563
<entry><link linkend="ini.arg-separator.input">arg_separator.input</link></entry>
522
564
<entry>"&"</entry>
523
-
<entry>PHP_INI_PERDIR</entry>
565
+
<entry><constant>INI_PERDIR</constant></entry>
524
566
<entry></entry>
525
567
</row>
526
568
<row>
527
569
<entry><link linkend="ini.variables-order">variables_order</link></entry>
528
570
<entry>"EGPCS"</entry>
529
-
<entry>PHP_INI_PERDIR</entry>
571
+
<entry><constant>INI_PERDIR</constant></entry>
530
572
<entry></entry>
531
573
</row>
532
574
<row>
533
575
<entry><link linkend="ini.request-order">request_order</link></entry>
534
576
<entry>""</entry>
535
-
<entry>PHP_INI_PERDIR</entry>
577
+
<entry><constant>INI_PERDIR</constant></entry>
536
578
<entry></entry>
537
579
</row>
538
580
<row>
539
581
<entry><link linkend="ini.auto-globals-jit">auto_globals_jit</link></entry>
540
582
<entry>"1"</entry>
541
-
<entry>PHP_INI_PERDIR</entry>
583
+
<entry><constant>INI_PERDIR</constant></entry>
542
584
<entry></entry>
543
585
</row>
544
586
<row>
545
587
<entry><link linkend="ini.register-argc-argv">register_argc_argv</link></entry>
546
588
<entry>"1"</entry>
547
-
<entry>PHP_INI_PERDIR</entry>
589
+
<entry><constant>INI_PERDIR</constant></entry>
548
590
<entry></entry>
549
591
</row>
550
592
<row>
551
593
<entry><link linkend="ini.enable-post-data-reading">enable_post_data_reading</link></entry>
552
594
<entry>"1"</entry>
553
-
<entry>PHP_INI_PERDIR</entry>
554
-
<entry>Available as of PHP 5.4.0</entry>
595
+
<entry><constant>INI_PERDIR</constant></entry>
596
+
<entry></entry>
555
597
</row>
556
598
<row>
557
599
<entry><link linkend="ini.post-max-size">post_max_size</link></entry>
558
600
<entry>"8M"</entry>
559
-
<entry>PHP_INI_PERDIR</entry>
601
+
<entry><constant>INI_PERDIR</constant></entry>
560
602
<entry></entry>
561
603
</row>
562
604
<row>
563
605
<entry><link linkend="ini.auto-prepend-file">auto_prepend_file</link></entry>
564
606
<entry>NULL</entry>
565
-
<entry>PHP_INI_PERDIR</entry>
607
+
<entry><constant>INI_PERDIR</constant></entry>
566
608
<entry></entry>
567
609
</row>
568
610
<row>
569
611
<entry><link linkend="ini.auto-append-file">auto_append_file</link></entry>
570
612
<entry>NULL</entry>
571
-
<entry>PHP_INI_PERDIR</entry>
613
+
<entry><constant>INI_PERDIR</constant></entry>
572
614
<entry></entry>
573
615
</row>
574
616
<row>
575
617
<entry><link linkend="ini.default-mimetype">default_mimetype</link></entry>
576
618
<entry>"text/html"</entry>
577
-
<entry>PHP_INI_ALL</entry>
619
+
<entry><constant>INI_ALL</constant></entry>
578
620
<entry></entry>
579
621
</row>
580
622
<row>
581
623
<entry><link linkend="ini.default-charset">default_charset</link></entry>
582
624
<entry>"UTF-8"</entry>
583
-
<entry>PHP_INI_ALL</entry>
625
+
<entry><constant>INI_ALL</constant></entry>
584
626
<entry></entry>
585
627
</row>
586
628
<row>
587
629
<entry><link linkend="ini.input-encoding">input_encoding</link></entry>
588
630
<entry>""</entry>
589
-
<entry>PHP_INI_ALL</entry>
631
+
<entry><constant>INI_ALL</constant></entry>
590
632
<entry></entry>
591
633
</row>
592
634
<row>
593
635
<entry><link linkend="ini.output-encoding">output_encoding</link></entry>
594
636
<entry>""</entry>
595
-
<entry>PHP_INI_ALL</entry>
637
+
<entry><constant>INI_ALL</constant></entry>
596
638
<entry></entry>
597
639
</row>
598
640
<row>
599
641
<entry><link linkend="ini.internal-encoding">internal_encoding</link></entry>
600
642
<entry>""</entry>
601
-
<entry>PHP_INI_ALL</entry>
643
+
<entry><constant>INI_ALL</constant></entry>
602
644
<entry></entry>
603
645
</row>
604
646
</tbody>
...
...
@@ -962,12 +1004,6 @@
962
1004
963
1005
</variablelist>
964
1006
</para>
965
-
<para>
966
-
See also: <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link>,
967
-
<link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>,
968
-
and
969
-
magic_quotes_sybase.
970
-
</para>
971
1007
</section>
972
1008
973
1009
<section xml:id="ini.sect.path-directory">
...
...
@@ -988,43 +1024,43 @@
988
1024
<row>
989
1025
<entry><link linkend="ini.include-path">include_path</link></entry>
990
1026
<entry>".;/path/to/php/pear"</entry>
991
-
<entry>PHP_INI_ALL</entry>
1027
+
<entry><constant>INI_ALL</constant></entry>
992
1028
<entry></entry>
993
1029
</row>
994
1030
<row>
995
1031
<entry><link linkend="ini.open-basedir">open_basedir</link></entry>
996
1032
<entry>NULL</entry>
997
-
<entry>PHP_INI_ALL</entry>
1033
+
<entry><constant>INI_ALL</constant></entry>
998
1034
<entry></entry>
999
1035
</row>
1000
1036
<row>
1001
1037
<entry><link linkend="ini.doc-root">doc_root</link></entry>
1002
1038
<entry>NULL</entry>
1003
-
<entry>PHP_INI_SYSTEM</entry>
1039
+
<entry><constant>INI_SYSTEM</constant></entry>
1004
1040
<entry></entry>
1005
1041
</row>
1006
1042
<row>
1007
1043
<entry><link linkend="ini.user-dir">user_dir</link></entry>
1008
1044
<entry>NULL</entry>
1009
-
<entry>PHP_INI_SYSTEM</entry>
1045
+
<entry><constant>INI_SYSTEM</constant></entry>
1010
1046
<entry></entry>
1011
1047
</row>
1012
1048
<row>
1013
1049
<entry><link linkend="ini.user-ini.cache-ttl">user_ini.cache_ttl</link></entry>
1014
1050
<entry>"300"</entry>
1015
-
<entry>PHP_INI_SYSTEM</entry>
1051
+
<entry><constant>INI_SYSTEM</constant></entry>
1016
1052
<entry></entry>
1017
1053
</row>
1018
1054
<row>
1019
1055
<entry><link linkend="ini.user-ini.filename">user_ini.filename</link></entry>
1020
1056
<entry>".user.ini"</entry>
1021
-
<entry>PHP_INI_SYSTEM</entry>
1057
+
<entry><constant>INI_SYSTEM</constant></entry>
1022
1058
<entry></entry>
1023
1059
</row>
1024
1060
<row>
1025
1061
<entry><link linkend="ini.extension-dir">extension_dir</link></entry>
1026
1062
<entry>"/path/to/php"</entry>
1027
-
<entry>PHP_INI_SYSTEM</entry>
1063
+
<entry><constant>INI_SYSTEM</constant></entry>
1028
1064
<entry></entry>
1029
1065
</row>
1030
1066
<row>
...
...
@@ -1042,55 +1078,55 @@
1042
1078
<row>
1043
1079
<entry><link linkend="ini.cgi.check-shebang-line">cgi.check_shebang_line</link></entry>
1044
1080
<entry>"1"</entry>
1045
-
<entry>PHP_INI_SYSTEM</entry>
1081
+
<entry><constant>INI_SYSTEM</constant></entry>
1046
1082
<entry></entry>
1047
1083
</row>
1048
1084
<row>
1049
1085
<entry><link linkend="ini.cgi.discard-path">cgi.discard_path</link></entry>
1050
1086
<entry>"0"</entry>
1051
-
<entry>PHP_INI_SYSTEM</entry>
1087
+
<entry><constant>INI_SYSTEM</constant></entry>
1052
1088
<entry></entry>
1053
1089
</row>
1054
1090
<row>
1055
1091
<entry><link linkend="ini.cgi.fix-pathinfo">cgi.fix_pathinfo</link></entry>
1056
1092
<entry>"1"</entry>
1057
-
<entry>PHP_INI_SYSTEM</entry>
1093
+
<entry><constant>INI_SYSTEM</constant></entry>
1058
1094
<entry></entry>
1059
1095
</row>
1060
1096
<row>
1061
1097
<entry><link linkend="ini.cgi.force-redirect">cgi.force_redirect</link></entry>
1062
1098
<entry>"1"</entry>
1063
-
<entry>PHP_INI_SYSTEM</entry>
1099
+
<entry><constant>INI_SYSTEM</constant></entry>
1064
1100
<entry></entry>
1065
1101
</row>
1066
1102
<row>
1067
1103
<entry><link linkend="ini.cgi.nph">cgi.nph</link></entry>
1068
1104
<entry>"0"</entry>
1069
-
<entry>PHP_INI_SYSTEM</entry>
1105
+
<entry><constant>INI_SYSTEM</constant></entry>
1070
1106
<entry></entry>
1071
1107
</row>
1072
1108
<row>
1073
1109
<entry><link linkend="ini.cgi.redirect-status-env">cgi.redirect_status_env</link></entry>
1074
1110
<entry>NULL</entry>
1075
-
<entry>PHP_INI_SYSTEM</entry>
1111
+
<entry><constant>INI_SYSTEM</constant></entry>
1076
1112
<entry></entry>
1077
1113
</row>
1078
1114
<row>
1079
1115
<entry><link linkend="ini.cgi.rfc2616-headers">cgi.rfc2616_headers</link></entry>
1080
1116
<entry>"0"</entry>
1081
-
<entry>PHP_INI_ALL</entry>
1117
+
<entry><constant>INI_ALL</constant></entry>
1082
1118
<entry></entry>
1083
1119
</row>
1084
1120
<row>
1085
1121
<entry><link linkend="ini.fastcgi.impersonate">fastcgi.impersonate</link></entry>
1086
1122
<entry>"0"</entry>
1087
-
<entry>PHP_INI_SYSTEM</entry>
1123
+
<entry><constant>INI_SYSTEM</constant></entry>
1088
1124
<entry></entry>
1089
1125
</row>
1090
1126
<row>
1091
1127
<entry><link linkend="ini.fastcgi.logging">fastcgi.logging</link></entry>
1092
1128
<entry>"1"</entry>
1093
-
<entry>PHP_INI_SYSTEM</entry>
1129
+
<entry><constant>INI_SYSTEM</constant></entry>
1094
1130
<entry></entry>
1095
1131
</row>
1096
1132
</tbody>
...
...
@@ -1186,9 +1222,7 @@ include_path = ".:${USER}/pear/php"
1186
1222
<listitem>
1187
1223
<para>
1188
1224
Limit the files that can be accessed by PHP to the specified
1189
-
directory-tree, including the file itself. This directive
1190
-
is <emphasis>NOT</emphasis> affected by whether Safe Mode is
1191
-
turned On or Off.
1225
+
directory-tree, including the file itself.
1192
1226
</para>
1193
1227
<para>
1194
1228
When a script tries to access the filesystem, for example using
...
...
@@ -1232,7 +1266,7 @@ include_path = ".:${USER}/pear/php"
1232
1266
The default is to allow all files to be opened.
1233
1267
</para>
1234
1268
<note>
1235
-
<para>
1269
+
<simpara>
1236
1270
open_basedir can be tightened at run-time. This means
1237
1271
that if open_basedir is set to <literal>/www/</literal> in &php.ini;
1238
1272
a script can tighten the configuration to
...
...
@@ -1240,7 +1274,12 @@ include_path = ".:${USER}/pear/php"
1240
1274
<function>ini_set</function>. When listing several directories, you
1241
1275
can use the <constant>PATH_SEPARATOR</constant> constant as a separator
1242
1276
regardless of the operating system.
1243
-
</para>
1277
+
</simpara>
1278
+
<simpara>
1279
+
As of PHP 8.3.0, <option>open_basedir</option> no longer accepts a
1280
+
paths containing the parent directory (<literal>..</literal>) when
1281
+
set at runtime using <function>ini_set</function>.
1282
+
</simpara>
1244
1283
</note>
1245
1284
<note>
1246
1285
<para>
...
...
@@ -1248,6 +1287,12 @@ include_path = ".:${USER}/pear/php"
1248
1287
to <literal>0</literal> and thus <emphasis>disable</emphasis> the realpath cache.
1249
1288
</para>
1250
1289
</note>
1290
+
<caution>
1291
+
<para>
1292
+
<literal>open_basedir</literal> is just an extra safety net, that is in no way
1293
+
comprehensive, and can therefore not be relied upon when security is needed.
1294
+
</para>
1295
+
</caution>
1251
1296
</listitem>
1252
1297
</varlistentry>
1253
1298
...
...
@@ -1313,7 +1358,7 @@ include_path = ".:${USER}/pear/php"
1313
1358
<listitem>
1314
1359
<para>
1315
1360
In what directory PHP should look for dynamically loadable
1316
-
extensions. See also: <link linkend="ini.enable-dl">enable_dl</link>,
1361
+
extensions. It is recommended to specify an absolute path. See also: <link linkend="ini.enable-dl">enable_dl</link>,
1317
1362
and <function>dl</function>.
1318
1363
</para>
1319
1364
</listitem>
...
...
@@ -1455,14 +1500,14 @@ include_path = ".:${USER}/pear/php"
1455
1500
<varlistentry xml:id="ini.cgi.rfc2616-headers">
1456
1501
<term>
1457
1502
<parameter>cgi.rfc2616_headers</parameter>
1458
-
<type>int</type>
1503
+
<type>bool</type>
1459
1504
</term>
1460
1505
<listitem>
1461
1506
<para>
1462
1507
Tells PHP what type of headers to use when sending HTTP response
1463
-
code. If it's set to 0, PHP sends a <link xlink:href="&url.rfc;3875">RFC 3875</link>
1508
+
code. If it is disabled, PHP sends a <link xlink:href="&url.rfc;3875">RFC 3875</link>
1464
1509
"Status:" header that is supported by Apache and other web servers. When this option
1465
-
is set to 1, PHP will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
1510
+
is enabled, PHP will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
1466
1511
headers.
1467
1512
</para>
1468
1513
<para>
...
...
@@ -1472,7 +1517,7 @@ include_path = ".:${USER}/pear/php"
1472
1517
you should use header("Status: 404 Not Found");
1473
1518
</para>
1474
1519
<para>
1475
-
Leave it set to 0 unless you know what you're doing.
1520
+
Leave it disabled unless you know what you're doing.
1476
1521
</para>
1477
1522
</listitem>
1478
1523
</varlistentry>
...
...
@@ -1480,7 +1525,7 @@ include_path = ".:${USER}/pear/php"
1480
1525
<varlistentry xml:id="ini.fastcgi.impersonate">
1481
1526
<term>
1482
1527
<parameter>fastcgi.impersonate</parameter>
1483
-
<type>string</type>
1528
+
<type>bool</type>
1484
1529
</term>
1485
1530
<listitem>
1486
1531
<para>
...
...
@@ -1488,7 +1533,7 @@ include_path = ".:${USER}/pear/php"
1488
1533
security tokens of the calling client. This allows IIS to define the
1489
1534
security context that the request runs under. mod_fastcgi under Apache
1490
1535
does not currently support this feature (03/17/2002)
1491
-
Set to 1 if running under IIS. Default is zero.
1536
+
Enable if running under IIS. Default is disabled.
1492
1537
</para>
1493
1538
</listitem>
1494
1539
</varlistentry>
...
...
@@ -1528,37 +1573,37 @@ include_path = ".:${USER}/pear/php"
1528
1573
<row>
1529
1574
<entry><link linkend="ini.file-uploads">file_uploads</link></entry>
1530
1575
<entry>"1"</entry>
1531
-
<entry>PHP_INI_SYSTEM</entry>
1576
+
<entry><constant>INI_SYSTEM</constant></entry>
1532
1577
<entry></entry>
1533
1578
</row>
1534
1579
<row>
1535
1580
<entry><link linkend="ini.upload-tmp-dir">upload_tmp_dir</link></entry>
1536
1581
<entry>NULL</entry>
1537
-
<entry>PHP_INI_SYSTEM</entry>
1582
+
<entry><constant>INI_SYSTEM</constant></entry>
1538
1583
<entry></entry>
1539
1584
</row>
1540
1585
<row>
1541
1586
<entry><link linkend="ini.max-input-nesting-level">max_input_nesting_level</link></entry>
1542
1587
<entry>64</entry>
1543
-
<entry>PHP_INI_PERDIR</entry>
1588
+
<entry><constant>INI_PERDIR</constant></entry>
1544
1589
<entry></entry>
1545
1590
</row>
1546
1591
<row>
1547
1592
<entry><link linkend="ini.max-input-vars">max_input_vars</link></entry>
1548
1593
<entry>1000</entry>
1549
-
<entry>PHP_INI_PERDIR</entry>
1594
+
<entry><constant>INI_PERDIR</constant></entry>
1550
1595
<entry></entry>
1551
1596
</row>
1552
1597
<row>
1553
1598
<entry><link linkend="ini.upload-max-filesize">upload_max_filesize</link></entry>
1554
1599
<entry>"2M"</entry>
1555
-
<entry>PHP_INI_PERDIR</entry>
1600
+
<entry><constant>INI_PERDIR</constant></entry>
1556
1601
<entry></entry>
1557
1602
</row>
1558
1603
<row>
1559
1604
<entry><link linkend="ini.max-file-uploads">max_file_uploads</link></entry>
1560
1605
<entry>20</entry>
1561
-
<entry>PHP_INI_SYSTEM</entry>
1606
+
<entry><constant>INI_PERDIR</constant></entry>
1562
1607
<entry></entry>
1563
1608
</row>
1564
1609
</tbody>
...
...
@@ -1616,6 +1661,9 @@ include_path = ".:${USER}/pear/php"
1616
1661
<para>
1617
1662
The maximum size of an uploaded file.
1618
1663
</para>
1664
+
<para>
1665
+
<link linkend="ini.post-max-size">post_max_size</link> must be larger than this value.
1666
+
</para>
1619
1667
1620
1668
&ini.shorthandbytes;
1621
1669
...
...
@@ -1630,7 +1678,7 @@ include_path = ".:${USER}/pear/php"
1630
1678
<listitem>
1631
1679
<para>
1632
1680
The maximum number of files allowed to be uploaded simultaneously.
1633
-
Starting with PHP 5.3.4, upload fields left blank on submission do not
1681
+
Upload fields left blank on submission do not
1634
1682
count towards this limit.
1635
1683
</para>
1636
1684
</listitem>
...
...
@@ -1657,7 +1705,7 @@ include_path = ".:${USER}/pear/php"
1657
1705
<row>
1658
1706
<entry><link linkend="ini.sql.safe-mode">sql.safe_mode</link></entry>
1659
1707
<entry>"0"</entry>
1660
-
<entry>PHP_INI_SYSTEM</entry>
1708
+
<entry><constant>INI_SYSTEM</constant></entry>
1661
1709
<entry>Removed as of PHP 7.2.0</entry>
1662
1710
</row>
1663
1711
</tbody>
...
...
@@ -1710,7 +1758,7 @@ include_path = ".:${USER}/pear/php"
1710
1758
<row>
1711
1759
<entry><link linkend="ini.windows-show-crt-warning">windows.show_crt_warning</link></entry>
1712
1760
<entry>"0"</entry>
1713
-
<entry>PHP_INI_ALL</entry>
1761
+
<entry><constant>INI_ALL</constant></entry>
1714
1762
<entry></entry>
1715
1763
</row>
1716
1764
</tbody>
1717
1765