1 | <HTML
|
---|
2 | ><HEAD
|
---|
3 | ><TITLE
|
---|
4 | >Configuration directives</TITLE
|
---|
5 | ><META
|
---|
6 | NAME="GENERATOR"
|
---|
7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
---|
8 | REL="HOME"
|
---|
9 | TITLE="Manuál PHP"
|
---|
10 | HREF="index.html"><LINK
|
---|
11 | REL="UP"
|
---|
12 | TITLE="Configuration"
|
---|
13 | HREF="configuration.html"><LINK
|
---|
14 | REL="PREVIOUS"
|
---|
15 | TITLE="How to change configuration settings"
|
---|
16 | HREF="configuration.changes.html"><LINK
|
---|
17 | REL="NEXT"
|
---|
18 | TITLE="Security"
|
---|
19 | HREF="security.html"><META
|
---|
20 | HTTP-EQUIV="Content-type"
|
---|
21 | CONTENT="text/html; charset=ISO-8859-2"></HEAD
|
---|
22 | ><BODY
|
---|
23 | CLASS="sect1"
|
---|
24 | BGCOLOR="#FFFFFF"
|
---|
25 | TEXT="#000000"
|
---|
26 | LINK="#0000FF"
|
---|
27 | VLINK="#840084"
|
---|
28 | ALINK="#0000FF"
|
---|
29 | ><DIV
|
---|
30 | CLASS="NAVHEADER"
|
---|
31 | ><TABLE
|
---|
32 | SUMMARY="Header navigation table"
|
---|
33 | WIDTH="100%"
|
---|
34 | BORDER="0"
|
---|
35 | CELLPADDING="0"
|
---|
36 | CELLSPACING="0"
|
---|
37 | ><TR
|
---|
38 | ><TH
|
---|
39 | COLSPAN="3"
|
---|
40 | ALIGN="center"
|
---|
41 | >Manuál PHP</TH
|
---|
42 | ></TR
|
---|
43 | ><TR
|
---|
44 | ><TD
|
---|
45 | WIDTH="10%"
|
---|
46 | ALIGN="left"
|
---|
47 | VALIGN="bottom"
|
---|
48 | ><A
|
---|
49 | HREF="configuration.changes.html"
|
---|
50 | ACCESSKEY="P"
|
---|
51 | >Pøedcházející</A
|
---|
52 | ></TD
|
---|
53 | ><TD
|
---|
54 | WIDTH="80%"
|
---|
55 | ALIGN="center"
|
---|
56 | VALIGN="bottom"
|
---|
57 | >Kapitola 4. Configuration</TD
|
---|
58 | ><TD
|
---|
59 | WIDTH="10%"
|
---|
60 | ALIGN="right"
|
---|
61 | VALIGN="bottom"
|
---|
62 | ><A
|
---|
63 | HREF="security.html"
|
---|
64 | ACCESSKEY="N"
|
---|
65 | >Dal¹í</A
|
---|
66 | ></TD
|
---|
67 | ></TR
|
---|
68 | ></TABLE
|
---|
69 | ><HR
|
---|
70 | ALIGN="LEFT"
|
---|
71 | WIDTH="100%"></DIV
|
---|
72 | ><DIV
|
---|
73 | CLASS="sect1"
|
---|
74 | ><H1
|
---|
75 | CLASS="sect1"
|
---|
76 | ><A
|
---|
77 | NAME="configuration.directives"
|
---|
78 | ></A
|
---|
79 | >Configuration directives</H1
|
---|
80 | ><DIV
|
---|
81 | CLASS="sect2"
|
---|
82 | ><H2
|
---|
83 | CLASS="sect2"
|
---|
84 | ><A
|
---|
85 | NAME="ini.sect.httpd-options"
|
---|
86 | ></A
|
---|
87 | >Httpd Options</H2
|
---|
88 | ><P
|
---|
89 | > <DIV
|
---|
90 | CLASS="table"
|
---|
91 | ><A
|
---|
92 | NAME="AEN2639"
|
---|
93 | ></A
|
---|
94 | ><P
|
---|
95 | ><B
|
---|
96 | >Tabulka 4-2. Httpd Options</B
|
---|
97 | ></P
|
---|
98 | ><TABLE
|
---|
99 | BORDER="1"
|
---|
100 | CLASS="CALSTABLE"
|
---|
101 | ><THEAD
|
---|
102 | ><TR
|
---|
103 | ><TH
|
---|
104 | ALIGN="LEFT"
|
---|
105 | VALIGN="MIDDLE"
|
---|
106 | >Name</TH
|
---|
107 | ><TH
|
---|
108 | ALIGN="LEFT"
|
---|
109 | VALIGN="MIDDLE"
|
---|
110 | >Default</TH
|
---|
111 | ><TH
|
---|
112 | ALIGN="LEFT"
|
---|
113 | VALIGN="MIDDLE"
|
---|
114 | >Changeable</TH
|
---|
115 | ></TR
|
---|
116 | ></THEAD
|
---|
117 | ><TBODY
|
---|
118 | ><TR
|
---|
119 | ><TD
|
---|
120 | ALIGN="LEFT"
|
---|
121 | VALIGN="MIDDLE"
|
---|
122 | >async_send</TD
|
---|
123 | ><TD
|
---|
124 | ALIGN="LEFT"
|
---|
125 | VALIGN="MIDDLE"
|
---|
126 | >"0"</TD
|
---|
127 | ><TD
|
---|
128 | ALIGN="LEFT"
|
---|
129 | VALIGN="MIDDLE"
|
---|
130 | >PHP_INI_ALL</TD
|
---|
131 | ></TR
|
---|
132 | ></TBODY
|
---|
133 | ></TABLE
|
---|
134 | ></DIV
|
---|
135 | >
|
---|
136 | </P
|
---|
137 | ><P
|
---|
138 | > </P
|
---|
139 | ></DIV
|
---|
140 | ><DIV
|
---|
141 | CLASS="sect2"
|
---|
142 | ><H2
|
---|
143 | CLASS="sect2"
|
---|
144 | ><A
|
---|
145 | NAME="ini.sect.language-options"
|
---|
146 | ></A
|
---|
147 | >Language Options</H2
|
---|
148 | ><P
|
---|
149 | > <DIV
|
---|
150 | CLASS="table"
|
---|
151 | ><A
|
---|
152 | NAME="AEN2656"
|
---|
153 | ></A
|
---|
154 | ><P
|
---|
155 | ><B
|
---|
156 | >Tabulka 4-3. Language and Misc Configuration Options</B
|
---|
157 | ></P
|
---|
158 | ><TABLE
|
---|
159 | BORDER="1"
|
---|
160 | CLASS="CALSTABLE"
|
---|
161 | ><THEAD
|
---|
162 | ><TR
|
---|
163 | ><TH
|
---|
164 | ALIGN="LEFT"
|
---|
165 | VALIGN="MIDDLE"
|
---|
166 | >Name</TH
|
---|
167 | ><TH
|
---|
168 | ALIGN="LEFT"
|
---|
169 | VALIGN="MIDDLE"
|
---|
170 | >Default</TH
|
---|
171 | ><TH
|
---|
172 | ALIGN="LEFT"
|
---|
173 | VALIGN="MIDDLE"
|
---|
174 | >Changeable</TH
|
---|
175 | ></TR
|
---|
176 | ></THEAD
|
---|
177 | ><TBODY
|
---|
178 | ><TR
|
---|
179 | ><TD
|
---|
180 | ALIGN="LEFT"
|
---|
181 | VALIGN="MIDDLE"
|
---|
182 | >short_open_tag</TD
|
---|
183 | ><TD
|
---|
184 | ALIGN="LEFT"
|
---|
185 | VALIGN="MIDDLE"
|
---|
186 | >On</TD
|
---|
187 | ><TD
|
---|
188 | ALIGN="LEFT"
|
---|
189 | VALIGN="MIDDLE"
|
---|
190 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
191 | ></TR
|
---|
192 | ><TR
|
---|
193 | ><TD
|
---|
194 | ALIGN="LEFT"
|
---|
195 | VALIGN="MIDDLE"
|
---|
196 | >asp_tags</TD
|
---|
197 | ><TD
|
---|
198 | ALIGN="LEFT"
|
---|
199 | VALIGN="MIDDLE"
|
---|
200 | >Off</TD
|
---|
201 | ><TD
|
---|
202 | ALIGN="LEFT"
|
---|
203 | VALIGN="MIDDLE"
|
---|
204 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
205 | ></TR
|
---|
206 | ><TR
|
---|
207 | ><TD
|
---|
208 | ALIGN="LEFT"
|
---|
209 | VALIGN="MIDDLE"
|
---|
210 | >precision</TD
|
---|
211 | ><TD
|
---|
212 | ALIGN="LEFT"
|
---|
213 | VALIGN="MIDDLE"
|
---|
214 | >"14"</TD
|
---|
215 | ><TD
|
---|
216 | ALIGN="LEFT"
|
---|
217 | VALIGN="MIDDLE"
|
---|
218 | >PHP_INI_ALL</TD
|
---|
219 | ></TR
|
---|
220 | ><TR
|
---|
221 | ><TD
|
---|
222 | ALIGN="LEFT"
|
---|
223 | VALIGN="MIDDLE"
|
---|
224 | >y2k_compliance</TD
|
---|
225 | ><TD
|
---|
226 | ALIGN="LEFT"
|
---|
227 | VALIGN="MIDDLE"
|
---|
228 | >Off</TD
|
---|
229 | ><TD
|
---|
230 | ALIGN="LEFT"
|
---|
231 | VALIGN="MIDDLE"
|
---|
232 | >PHP_INI_ALL</TD
|
---|
233 | ></TR
|
---|
234 | ><TR
|
---|
235 | ><TD
|
---|
236 | ALIGN="LEFT"
|
---|
237 | VALIGN="MIDDLE"
|
---|
238 | >allow_call_time_pass_reference</TD
|
---|
239 | ><TD
|
---|
240 | ALIGN="LEFT"
|
---|
241 | VALIGN="MIDDLE"
|
---|
242 | >On</TD
|
---|
243 | ><TD
|
---|
244 | ALIGN="LEFT"
|
---|
245 | VALIGN="MIDDLE"
|
---|
246 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
247 | ></TR
|
---|
248 | ><TR
|
---|
249 | ><TD
|
---|
250 | ALIGN="LEFT"
|
---|
251 | VALIGN="MIDDLE"
|
---|
252 | >expose_php</TD
|
---|
253 | ><TD
|
---|
254 | ALIGN="LEFT"
|
---|
255 | VALIGN="MIDDLE"
|
---|
256 | >On</TD
|
---|
257 | ><TD
|
---|
258 | ALIGN="LEFT"
|
---|
259 | VALIGN="MIDDLE"
|
---|
260 | >PHP_INI_SYSTEM</TD
|
---|
261 | ></TR
|
---|
262 | ></TBODY
|
---|
263 | ></TABLE
|
---|
264 | ></DIV
|
---|
265 | >
|
---|
266 | </P
|
---|
267 | ><P
|
---|
268 | > Here is a short explanation of the configuration directives.
|
---|
269 | <P
|
---|
270 | ></P
|
---|
271 | ><DIV
|
---|
272 | CLASS="variablelist"
|
---|
273 | ><DL
|
---|
274 | ><DT
|
---|
275 | ><A
|
---|
276 | NAME="ini.short-open-tag"
|
---|
277 | ></A
|
---|
278 | ><TT
|
---|
279 | CLASS="parameter"
|
---|
280 | ><I
|
---|
281 | >short_open_tag</I
|
---|
282 | ></TT
|
---|
283 | >
|
---|
284 | <A
|
---|
285 | HREF="language.types.boolean.html"
|
---|
286 | ><B
|
---|
287 | CLASS="type"
|
---|
288 | >boolean</B
|
---|
289 | ></A
|
---|
290 | ></DT
|
---|
291 | ><DD
|
---|
292 | ><P
|
---|
293 | > Tells whether the short form (<TT
|
---|
294 | CLASS="userinput"
|
---|
295 | ><B
|
---|
296 | ><? ?></B
|
---|
297 | ></TT
|
---|
298 | >)
|
---|
299 | of PHP's open tag should be allowed. If you want to use PHP in
|
---|
300 | combination with XML, you can disable this option in order to
|
---|
301 | use <TT
|
---|
302 | CLASS="userinput"
|
---|
303 | ><B
|
---|
304 | ><?xml ?></B
|
---|
305 | ></TT
|
---|
306 | > inline. Otherwise, you
|
---|
307 | can print it with PHP, for example: <TT
|
---|
308 | CLASS="userinput"
|
---|
309 | ><B
|
---|
310 | ><?php echo '<?xml
|
---|
311 | version="1.0"'; ?></B
|
---|
312 | ></TT
|
---|
313 | >. Also if disabled, you must use the
|
---|
314 | long form of the PHP open tag (<TT
|
---|
315 | CLASS="userinput"
|
---|
316 | ><B
|
---|
317 | ><?php ?></B
|
---|
318 | ></TT
|
---|
319 | >).
|
---|
320 | </P
|
---|
321 | ><DIV
|
---|
322 | CLASS="note"
|
---|
323 | ><BLOCKQUOTE
|
---|
324 | CLASS="note"
|
---|
325 | ><P
|
---|
326 | ><B
|
---|
327 | >Poznámka: </B
|
---|
328 | >
|
---|
329 | This directive also affects the shorthand <TT
|
---|
330 | CLASS="userinput"
|
---|
331 | ><B
|
---|
332 | ><?=</B
|
---|
333 | ></TT
|
---|
334 | >,
|
---|
335 | which is identical to <TT
|
---|
336 | CLASS="userinput"
|
---|
337 | ><B
|
---|
338 | ><? echo</B
|
---|
339 | ></TT
|
---|
340 | >. Use of this
|
---|
341 | shortcut requires <SPAN
|
---|
342 | CLASS="systemitem"
|
---|
343 | >short_open_tag</SPAN
|
---|
344 | >
|
---|
345 | to be on.
|
---|
346 | </P
|
---|
347 | ></BLOCKQUOTE
|
---|
348 | ></DIV
|
---|
349 | ></DD
|
---|
350 | ><DT
|
---|
351 | ><A
|
---|
352 | NAME="ini.asp-tags"
|
---|
353 | ></A
|
---|
354 | ><TT
|
---|
355 | CLASS="parameter"
|
---|
356 | ><I
|
---|
357 | >asp_tags</I
|
---|
358 | ></TT
|
---|
359 | >
|
---|
360 | <A
|
---|
361 | HREF="language.types.boolean.html"
|
---|
362 | ><B
|
---|
363 | CLASS="type"
|
---|
364 | >boolean</B
|
---|
365 | ></A
|
---|
366 | ></DT
|
---|
367 | ><DD
|
---|
368 | ><P
|
---|
369 | > Enables the use of ASP-like <% %> tags in addition to
|
---|
370 | the usual <?php ?> tags. This includes the
|
---|
371 | variable-value printing shorthand of <%= $value %>. For
|
---|
372 | more information, see <A
|
---|
373 | HREF="language.basic-syntax.html#language.basic-syntax.phpmode"
|
---|
374 | >Escaping from HTML</A
|
---|
375 | >.
|
---|
376 | </P
|
---|
377 | ><DIV
|
---|
378 | CLASS="note"
|
---|
379 | ><BLOCKQUOTE
|
---|
380 | CLASS="note"
|
---|
381 | ><P
|
---|
382 | ><B
|
---|
383 | >Poznámka: </B
|
---|
384 | >
|
---|
385 | Support for ASP-style tags was added in 3.0.4.
|
---|
386 | </P
|
---|
387 | ></BLOCKQUOTE
|
---|
388 | ></DIV
|
---|
389 | ></DD
|
---|
390 | ><DT
|
---|
391 | ><A
|
---|
392 | NAME="ini.precision"
|
---|
393 | ></A
|
---|
394 | ><TT
|
---|
395 | CLASS="parameter"
|
---|
396 | ><I
|
---|
397 | >precision</I
|
---|
398 | ></TT
|
---|
399 | >
|
---|
400 | <A
|
---|
401 | HREF="language.types.integer.html"
|
---|
402 | ><B
|
---|
403 | CLASS="type"
|
---|
404 | >integer</B
|
---|
405 | ></A
|
---|
406 | ></DT
|
---|
407 | ><DD
|
---|
408 | ><P
|
---|
409 | > The number of significant digits displayed in floating point numbers.
|
---|
410 | </P
|
---|
411 | ></DD
|
---|
412 | ><DT
|
---|
413 | ><A
|
---|
414 | NAME="ini.y2k-compliance"
|
---|
415 | ></A
|
---|
416 | ><TT
|
---|
417 | CLASS="parameter"
|
---|
418 | ><I
|
---|
419 | >y2k_compliance</I
|
---|
420 | ></TT
|
---|
421 | >
|
---|
422 | <A
|
---|
423 | HREF="language.types.boolean.html"
|
---|
424 | ><B
|
---|
425 | CLASS="type"
|
---|
426 | >boolean</B
|
---|
427 | ></A
|
---|
428 | ></DT
|
---|
429 | ><DD
|
---|
430 | ><P
|
---|
431 | > Enforce year 2000 compliance (will cause problems with non-compliant browsers)
|
---|
432 | </P
|
---|
433 | ></DD
|
---|
434 | ><DT
|
---|
435 | ><A
|
---|
436 | NAME="allow-call-time-pass-reference"
|
---|
437 | ></A
|
---|
438 | ><TT
|
---|
439 | CLASS="parameter"
|
---|
440 | ><I
|
---|
441 | >allow_call_time_pass_reference</I
|
---|
442 | ></TT
|
---|
443 | >
|
---|
444 | <A
|
---|
445 | HREF="language.types.boolean.html"
|
---|
446 | ><B
|
---|
447 | CLASS="type"
|
---|
448 | >boolean</B
|
---|
449 | ></A
|
---|
450 | ></DT
|
---|
451 | ><DD
|
---|
452 | ><P
|
---|
453 | > Whether to enable the ability to force arguments to be passed by reference
|
---|
454 | at function call time. This method is deprecated and is likely to be
|
---|
455 | unsupported in future versions of PHP/Zend. The encouraged method of
|
---|
456 | specifying which arguments should be passed by reference is in the function
|
---|
457 | declaration. You're encouraged to try and turn this option Off and make
|
---|
458 | sure your scripts work properly with it in order to ensure they will work
|
---|
459 | with future versions of the language (you will receive a warning each time
|
---|
460 | you use this feature, and the argument will be passed by value instead of by
|
---|
461 | reference).
|
---|
462 | </P
|
---|
463 | ><P
|
---|
464 | > See also <A
|
---|
465 | HREF="language.references.html"
|
---|
466 | >References Explained</A
|
---|
467 | >.
|
---|
468 | </P
|
---|
469 | ></DD
|
---|
470 | ><DT
|
---|
471 | ><A
|
---|
472 | NAME="expose-php"
|
---|
473 | ></A
|
---|
474 | ><TT
|
---|
475 | CLASS="parameter"
|
---|
476 | ><I
|
---|
477 | >expose_php</I
|
---|
478 | ></TT
|
---|
479 | >
|
---|
480 | <A
|
---|
481 | HREF="language.types.boolean.html"
|
---|
482 | ><B
|
---|
483 | CLASS="type"
|
---|
484 | >boolean</B
|
---|
485 | ></A
|
---|
486 | ></DT
|
---|
487 | ><DD
|
---|
488 | ><P
|
---|
489 | > Decides whether PHP may expose the fact that it is installed on the server
|
---|
490 | (e.g. by adding its signature to the Web server header). It is no security
|
---|
491 | threat in any way, but it makes it possible to determine whether you use PHP
|
---|
492 | on your server or not.
|
---|
493 | </P
|
---|
494 | ></DD
|
---|
495 | ></DL
|
---|
496 | ></DIV
|
---|
497 | >
|
---|
498 | </P
|
---|
499 | ></DIV
|
---|
500 | ><DIV
|
---|
501 | CLASS="sect2"
|
---|
502 | ><H2
|
---|
503 | CLASS="sect2"
|
---|
504 | ><A
|
---|
505 | NAME="ini.sect.resource-limits"
|
---|
506 | ></A
|
---|
507 | >Resource Limits</H2
|
---|
508 | ><P
|
---|
509 | > <DIV
|
---|
510 | CLASS="table"
|
---|
511 | ><A
|
---|
512 | NAME="AEN2744"
|
---|
513 | ></A
|
---|
514 | ><P
|
---|
515 | ><B
|
---|
516 | >Tabulka 4-4. Resource Limits</B
|
---|
517 | ></P
|
---|
518 | ><TABLE
|
---|
519 | BORDER="1"
|
---|
520 | CLASS="CALSTABLE"
|
---|
521 | ><THEAD
|
---|
522 | ><TR
|
---|
523 | ><TH
|
---|
524 | ALIGN="LEFT"
|
---|
525 | VALIGN="MIDDLE"
|
---|
526 | >Name</TH
|
---|
527 | ><TH
|
---|
528 | ALIGN="LEFT"
|
---|
529 | VALIGN="MIDDLE"
|
---|
530 | >Default</TH
|
---|
531 | ><TH
|
---|
532 | ALIGN="LEFT"
|
---|
533 | VALIGN="MIDDLE"
|
---|
534 | >Changeable</TH
|
---|
535 | ></TR
|
---|
536 | ></THEAD
|
---|
537 | ><TBODY
|
---|
538 | ><TR
|
---|
539 | ><TD
|
---|
540 | ALIGN="LEFT"
|
---|
541 | VALIGN="MIDDLE"
|
---|
542 | >memory_limit</TD
|
---|
543 | ><TD
|
---|
544 | ALIGN="LEFT"
|
---|
545 | VALIGN="MIDDLE"
|
---|
546 | >"8M"</TD
|
---|
547 | ><TD
|
---|
548 | ALIGN="LEFT"
|
---|
549 | VALIGN="MIDDLE"
|
---|
550 | >PHP_INI_ALL</TD
|
---|
551 | ></TR
|
---|
552 | ></TBODY
|
---|
553 | ></TABLE
|
---|
554 | ></DIV
|
---|
555 | >
|
---|
556 | </P
|
---|
557 | ><P
|
---|
558 | > Here is a short explanation of the configuration directives.
|
---|
559 | <P
|
---|
560 | ></P
|
---|
561 | ><DIV
|
---|
562 | CLASS="variablelist"
|
---|
563 | ><DL
|
---|
564 | ><DT
|
---|
565 | ><A
|
---|
566 | NAME="ini.memory-limit"
|
---|
567 | ></A
|
---|
568 | ><TT
|
---|
569 | CLASS="parameter"
|
---|
570 | ><I
|
---|
571 | >memory_limit</I
|
---|
572 | ></TT
|
---|
573 | >
|
---|
574 | <A
|
---|
575 | HREF="language.types.integer.html"
|
---|
576 | ><B
|
---|
577 | CLASS="type"
|
---|
578 | >integer</B
|
---|
579 | ></A
|
---|
580 | ></DT
|
---|
581 | ><DD
|
---|
582 | ><P
|
---|
583 | > This sets the maximum amount of memory in bytes that a script
|
---|
584 | is allowed to allocate. This helps prevent poorly written
|
---|
585 | scripts for eating up all available memory on a server. In order to
|
---|
586 | use this directive you must have enabled it at compile time. So,
|
---|
587 | your configure line would have included:
|
---|
588 | <TT
|
---|
589 | CLASS="literal"
|
---|
590 | >--enable-memory-limit</TT
|
---|
591 | >
|
---|
592 | </P
|
---|
593 | ></DD
|
---|
594 | ></DL
|
---|
595 | ></DIV
|
---|
596 | >
|
---|
597 | </P
|
---|
598 | ><P
|
---|
599 | > See also: <A
|
---|
600 | HREF="missing-stuff.html#ini.max-execution-time"
|
---|
601 | >max_execution_time</A
|
---|
602 | >.
|
---|
603 | </P
|
---|
604 | ></DIV
|
---|
605 | ><DIV
|
---|
606 | CLASS="sect2"
|
---|
607 | ><H2
|
---|
608 | CLASS="sect2"
|
---|
609 | ><A
|
---|
610 | NAME="ini.sect.data-handling"
|
---|
611 | ></A
|
---|
612 | >Data Handling</H2
|
---|
613 | ><P
|
---|
614 | > <DIV
|
---|
615 | CLASS="table"
|
---|
616 | ><A
|
---|
617 | NAME="AEN2771"
|
---|
618 | ></A
|
---|
619 | ><P
|
---|
620 | ><B
|
---|
621 | >Tabulka 4-5. Data Handling Configuration Options</B
|
---|
622 | ></P
|
---|
623 | ><TABLE
|
---|
624 | BORDER="1"
|
---|
625 | CLASS="CALSTABLE"
|
---|
626 | ><THEAD
|
---|
627 | ><TR
|
---|
628 | ><TH
|
---|
629 | ALIGN="LEFT"
|
---|
630 | VALIGN="MIDDLE"
|
---|
631 | >Name</TH
|
---|
632 | ><TH
|
---|
633 | ALIGN="LEFT"
|
---|
634 | VALIGN="MIDDLE"
|
---|
635 | >Default</TH
|
---|
636 | ><TH
|
---|
637 | ALIGN="LEFT"
|
---|
638 | VALIGN="MIDDLE"
|
---|
639 | >Changeable</TH
|
---|
640 | ></TR
|
---|
641 | ></THEAD
|
---|
642 | ><TBODY
|
---|
643 | ><TR
|
---|
644 | ><TD
|
---|
645 | ALIGN="LEFT"
|
---|
646 | VALIGN="MIDDLE"
|
---|
647 | >track-vars</TD
|
---|
648 | ><TD
|
---|
649 | ALIGN="LEFT"
|
---|
650 | VALIGN="MIDDLE"
|
---|
651 | >"On"</TD
|
---|
652 | ><TD
|
---|
653 | ALIGN="LEFT"
|
---|
654 | VALIGN="MIDDLE"
|
---|
655 | >PHP_INI_??</TD
|
---|
656 | ></TR
|
---|
657 | ><TR
|
---|
658 | ><TD
|
---|
659 | ALIGN="LEFT"
|
---|
660 | VALIGN="MIDDLE"
|
---|
661 | >arg_separator.output</TD
|
---|
662 | ><TD
|
---|
663 | ALIGN="LEFT"
|
---|
664 | VALIGN="MIDDLE"
|
---|
665 | >"&"</TD
|
---|
666 | ><TD
|
---|
667 | ALIGN="LEFT"
|
---|
668 | VALIGN="MIDDLE"
|
---|
669 | >PHP_INI_ALL</TD
|
---|
670 | ></TR
|
---|
671 | ><TR
|
---|
672 | ><TD
|
---|
673 | ALIGN="LEFT"
|
---|
674 | VALIGN="MIDDLE"
|
---|
675 | >arg_separator.input</TD
|
---|
676 | ><TD
|
---|
677 | ALIGN="LEFT"
|
---|
678 | VALIGN="MIDDLE"
|
---|
679 | >"&"</TD
|
---|
680 | ><TD
|
---|
681 | ALIGN="LEFT"
|
---|
682 | VALIGN="MIDDLE"
|
---|
683 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
684 | ></TR
|
---|
685 | ><TR
|
---|
686 | ><TD
|
---|
687 | ALIGN="LEFT"
|
---|
688 | VALIGN="MIDDLE"
|
---|
689 | >variables_order</TD
|
---|
690 | ><TD
|
---|
691 | ALIGN="LEFT"
|
---|
692 | VALIGN="MIDDLE"
|
---|
693 | >"EGPCS"</TD
|
---|
694 | ><TD
|
---|
695 | ALIGN="LEFT"
|
---|
696 | VALIGN="MIDDLE"
|
---|
697 | >PHP_INI_ALL</TD
|
---|
698 | ></TR
|
---|
699 | ><TR
|
---|
700 | ><TD
|
---|
701 | ALIGN="LEFT"
|
---|
702 | VALIGN="MIDDLE"
|
---|
703 | >register_globals</TD
|
---|
704 | ><TD
|
---|
705 | ALIGN="LEFT"
|
---|
706 | VALIGN="MIDDLE"
|
---|
707 | >"Off"</TD
|
---|
708 | ><TD
|
---|
709 | ALIGN="LEFT"
|
---|
710 | VALIGN="MIDDLE"
|
---|
711 | >PHP_INI_PERDIR|PHP_INI_SYSTEM</TD
|
---|
712 | ></TR
|
---|
713 | ><TR
|
---|
714 | ><TD
|
---|
715 | ALIGN="LEFT"
|
---|
716 | VALIGN="MIDDLE"
|
---|
717 | >register_argc_argv</TD
|
---|
718 | ><TD
|
---|
719 | ALIGN="LEFT"
|
---|
720 | VALIGN="MIDDLE"
|
---|
721 | >"On"</TD
|
---|
722 | ><TD
|
---|
723 | ALIGN="LEFT"
|
---|
724 | VALIGN="MIDDLE"
|
---|
725 | >PHP_INI_PERDIR|PHP_INI_SYSTEM</TD
|
---|
726 | ></TR
|
---|
727 | ><TR
|
---|
728 | ><TD
|
---|
729 | ALIGN="LEFT"
|
---|
730 | VALIGN="MIDDLE"
|
---|
731 | >post_max_size</TD
|
---|
732 | ><TD
|
---|
733 | ALIGN="LEFT"
|
---|
734 | VALIGN="MIDDLE"
|
---|
735 | >"8M"</TD
|
---|
736 | ><TD
|
---|
737 | ALIGN="LEFT"
|
---|
738 | VALIGN="MIDDLE"
|
---|
739 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
740 | ></TR
|
---|
741 | ><TR
|
---|
742 | ><TD
|
---|
743 | ALIGN="LEFT"
|
---|
744 | VALIGN="MIDDLE"
|
---|
745 | >gpc_order</TD
|
---|
746 | ><TD
|
---|
747 | ALIGN="LEFT"
|
---|
748 | VALIGN="MIDDLE"
|
---|
749 | >"GPC"</TD
|
---|
750 | ><TD
|
---|
751 | ALIGN="LEFT"
|
---|
752 | VALIGN="MIDDLE"
|
---|
753 | >PHP_INI_ALL</TD
|
---|
754 | ></TR
|
---|
755 | ><TR
|
---|
756 | ><TD
|
---|
757 | ALIGN="LEFT"
|
---|
758 | VALIGN="MIDDLE"
|
---|
759 | >auto_prepend_file</TD
|
---|
760 | ><TD
|
---|
761 | ALIGN="LEFT"
|
---|
762 | VALIGN="MIDDLE"
|
---|
763 | >""</TD
|
---|
764 | ><TD
|
---|
765 | ALIGN="LEFT"
|
---|
766 | VALIGN="MIDDLE"
|
---|
767 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
768 | ></TR
|
---|
769 | ><TR
|
---|
770 | ><TD
|
---|
771 | ALIGN="LEFT"
|
---|
772 | VALIGN="MIDDLE"
|
---|
773 | >auto_append_file</TD
|
---|
774 | ><TD
|
---|
775 | ALIGN="LEFT"
|
---|
776 | VALIGN="MIDDLE"
|
---|
777 | >""</TD
|
---|
778 | ><TD
|
---|
779 | ALIGN="LEFT"
|
---|
780 | VALIGN="MIDDLE"
|
---|
781 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
782 | ></TR
|
---|
783 | ><TR
|
---|
784 | ><TD
|
---|
785 | ALIGN="LEFT"
|
---|
786 | VALIGN="MIDDLE"
|
---|
787 | >default_mimetype</TD
|
---|
788 | ><TD
|
---|
789 | ALIGN="LEFT"
|
---|
790 | VALIGN="MIDDLE"
|
---|
791 | >"text/html"</TD
|
---|
792 | ><TD
|
---|
793 | ALIGN="LEFT"
|
---|
794 | VALIGN="MIDDLE"
|
---|
795 | >PHP_INI_ALL</TD
|
---|
796 | ></TR
|
---|
797 | ><TR
|
---|
798 | ><TD
|
---|
799 | ALIGN="LEFT"
|
---|
800 | VALIGN="MIDDLE"
|
---|
801 | >default_charset</TD
|
---|
802 | ><TD
|
---|
803 | ALIGN="LEFT"
|
---|
804 | VALIGN="MIDDLE"
|
---|
805 | >"iso-8859-1"</TD
|
---|
806 | ><TD
|
---|
807 | ALIGN="LEFT"
|
---|
808 | VALIGN="MIDDLE"
|
---|
809 | >PHP_INI_ALL</TD
|
---|
810 | ></TR
|
---|
811 | ><TR
|
---|
812 | ><TD
|
---|
813 | ALIGN="LEFT"
|
---|
814 | VALIGN="MIDDLE"
|
---|
815 | >always_populate_raw_post_data</TD
|
---|
816 | ><TD
|
---|
817 | ALIGN="LEFT"
|
---|
818 | VALIGN="MIDDLE"
|
---|
819 | >"0"</TD
|
---|
820 | ><TD
|
---|
821 | ALIGN="LEFT"
|
---|
822 | VALIGN="MIDDLE"
|
---|
823 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
824 | ></TR
|
---|
825 | ><TR
|
---|
826 | ><TD
|
---|
827 | ALIGN="LEFT"
|
---|
828 | VALIGN="MIDDLE"
|
---|
829 | >allow_webdav_methods</TD
|
---|
830 | ><TD
|
---|
831 | ALIGN="LEFT"
|
---|
832 | VALIGN="MIDDLE"
|
---|
833 | >"0"</TD
|
---|
834 | ><TD
|
---|
835 | ALIGN="LEFT"
|
---|
836 | VALIGN="MIDDLE"
|
---|
837 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
838 | ></TR
|
---|
839 | ></TBODY
|
---|
840 | ></TABLE
|
---|
841 | ></DIV
|
---|
842 | >
|
---|
843 | </P
|
---|
844 | ><P
|
---|
845 | > Here is a short explanation of the configuration directives.
|
---|
846 | <P
|
---|
847 | ></P
|
---|
848 | ><DIV
|
---|
849 | CLASS="variablelist"
|
---|
850 | ><DL
|
---|
851 | ><DT
|
---|
852 | ><A
|
---|
853 | NAME="ini.track-vars"
|
---|
854 | ></A
|
---|
855 | ><TT
|
---|
856 | CLASS="parameter"
|
---|
857 | ><I
|
---|
858 | >track_vars</I
|
---|
859 | ></TT
|
---|
860 | >
|
---|
861 | <A
|
---|
862 | HREF="language.types.boolean.html"
|
---|
863 | ><B
|
---|
864 | CLASS="type"
|
---|
865 | >boolean</B
|
---|
866 | ></A
|
---|
867 | ></DT
|
---|
868 | ><DD
|
---|
869 | ><P
|
---|
870 | > If enabled, then Environment, GET, POST, Cookie, and Server
|
---|
871 | variables can be found in the global associative arrays
|
---|
872 | <TT
|
---|
873 | CLASS="varname"
|
---|
874 | >$_ENV</TT
|
---|
875 | >,
|
---|
876 | <TT
|
---|
877 | CLASS="varname"
|
---|
878 | >$_GET</TT
|
---|
879 | >,
|
---|
880 | <TT
|
---|
881 | CLASS="varname"
|
---|
882 | >$_POST</TT
|
---|
883 | >,
|
---|
884 | <TT
|
---|
885 | CLASS="varname"
|
---|
886 | >$_COOKIE</TT
|
---|
887 | >, and
|
---|
888 | <TT
|
---|
889 | CLASS="varname"
|
---|
890 | >$_SERVER</TT
|
---|
891 | >.
|
---|
892 | </P
|
---|
893 | ><P
|
---|
894 | > Note that as of PHP 4.0.3, <SPAN
|
---|
895 | CLASS="systemitem"
|
---|
896 | >track_vars</SPAN
|
---|
897 | > is always turned on.
|
---|
898 | </P
|
---|
899 | ></DD
|
---|
900 | ><DT
|
---|
901 | ><A
|
---|
902 | NAME="ini.arg-separator.output"
|
---|
903 | ></A
|
---|
904 | ><TT
|
---|
905 | CLASS="parameter"
|
---|
906 | ><I
|
---|
907 | >arg_separator.output</I
|
---|
908 | ></TT
|
---|
909 | >
|
---|
910 | <A
|
---|
911 | HREF="language.types.string.html"
|
---|
912 | ><B
|
---|
913 | CLASS="type"
|
---|
914 | >string</B
|
---|
915 | ></A
|
---|
916 | ></DT
|
---|
917 | ><DD
|
---|
918 | ><P
|
---|
919 | > The separator used in PHP generated URLs to separate arguments.
|
---|
920 | </P
|
---|
921 | ></DD
|
---|
922 | ><DT
|
---|
923 | ><A
|
---|
924 | NAME="arg-separator.input"
|
---|
925 | ></A
|
---|
926 | ><TT
|
---|
927 | CLASS="parameter"
|
---|
928 | ><I
|
---|
929 | >arg_separator.input</I
|
---|
930 | ></TT
|
---|
931 | >
|
---|
932 | <A
|
---|
933 | HREF="language.types.string.html"
|
---|
934 | ><B
|
---|
935 | CLASS="type"
|
---|
936 | >string</B
|
---|
937 | ></A
|
---|
938 | ></DT
|
---|
939 | ><DD
|
---|
940 | ><P
|
---|
941 | > List of separator(s) used by PHP to parse input URLs into variables.
|
---|
942 | </P
|
---|
943 | ><DIV
|
---|
944 | CLASS="note"
|
---|
945 | ><BLOCKQUOTE
|
---|
946 | CLASS="note"
|
---|
947 | ><P
|
---|
948 | ><B
|
---|
949 | >Poznámka: </B
|
---|
950 | >
|
---|
951 | Every character in this directive is considered as separator!
|
---|
952 | </P
|
---|
953 | ></BLOCKQUOTE
|
---|
954 | ></DIV
|
---|
955 | ></DD
|
---|
956 | ><DT
|
---|
957 | ><A
|
---|
958 | NAME="ini.variables-order"
|
---|
959 | ></A
|
---|
960 | ><TT
|
---|
961 | CLASS="parameter"
|
---|
962 | ><I
|
---|
963 | >variables_order</I
|
---|
964 | ></TT
|
---|
965 | >
|
---|
966 | <A
|
---|
967 | HREF="language.types.string.html"
|
---|
968 | ><B
|
---|
969 | CLASS="type"
|
---|
970 | >string</B
|
---|
971 | ></A
|
---|
972 | ></DT
|
---|
973 | ><DD
|
---|
974 | ><P
|
---|
975 | > Set the order of the EGPCS (Environment, GET, POST, Cookie,
|
---|
976 | Server) variable parsing. The default setting of this
|
---|
977 | directive is "EGPCS". Setting this to "GP", for example,
|
---|
978 | will cause PHP to completely ignore environment variables,
|
---|
979 | cookies and server variables, and to overwrite any GET
|
---|
980 | method variables with POST-method variables of the same name.
|
---|
981 | </P
|
---|
982 | ><P
|
---|
983 | > See also <A
|
---|
984 | HREF="configuration.directives.html#ini.register-globals"
|
---|
985 | >register_globals</A
|
---|
986 | >.
|
---|
987 | </P
|
---|
988 | ></DD
|
---|
989 | ><DT
|
---|
990 | ><A
|
---|
991 | NAME="ini.register-globals"
|
---|
992 | ></A
|
---|
993 | ><TT
|
---|
994 | CLASS="parameter"
|
---|
995 | ><I
|
---|
996 | >register_globals</I
|
---|
997 | ></TT
|
---|
998 | >
|
---|
999 | <A
|
---|
1000 | HREF="language.types.boolean.html"
|
---|
1001 | ><B
|
---|
1002 | CLASS="type"
|
---|
1003 | >boolean</B
|
---|
1004 | ></A
|
---|
1005 | ></DT
|
---|
1006 | ><DD
|
---|
1007 | ><P
|
---|
1008 | > Tells whether or not to register the EGPCS (Environment, GET,
|
---|
1009 | POST, Cookie, Server) variables as global variables. For example;
|
---|
1010 | if register_globals = on, the url
|
---|
1011 | <TT
|
---|
1012 | CLASS="literal"
|
---|
1013 | >http://www.example.com/test.php?id=3</TT
|
---|
1014 | > will produce
|
---|
1015 | <TT
|
---|
1016 | CLASS="varname"
|
---|
1017 | >$id</TT
|
---|
1018 | >. Or, <TT
|
---|
1019 | CLASS="varname"
|
---|
1020 | >$DOCUMENT_ROOT</TT
|
---|
1021 | > from
|
---|
1022 | <TT
|
---|
1023 | CLASS="varname"
|
---|
1024 | >$_SERVER['DOCUMENT_ROOT']</TT
|
---|
1025 | >. You may want to turn
|
---|
1026 | this off if you don't want to clutter your scripts' global scope with
|
---|
1027 | user data. As of PHP <A
|
---|
1028 | HREF="http://www.php.net/release_4_2_0.php"
|
---|
1029 | TARGET="_top"
|
---|
1030 | >4.2.0</A
|
---|
1031 | >,
|
---|
1032 | this directive defaults to <SPAN
|
---|
1033 | CLASS="emphasis"
|
---|
1034 | ><I
|
---|
1035 | CLASS="emphasis"
|
---|
1036 | >off</I
|
---|
1037 | ></SPAN
|
---|
1038 | >. It's preferred to
|
---|
1039 | go through PHP <A
|
---|
1040 | HREF="missing-stuff.html#reserved.variables"
|
---|
1041 | >Predefined Variables
|
---|
1042 | </A
|
---|
1043 | > instead, such as the
|
---|
1044 | <A
|
---|
1045 | HREF="language.variables.predefined.html#language.variables.superglobals"
|
---|
1046 | >superglobals</A
|
---|
1047 | >:
|
---|
1048 | <TT
|
---|
1049 | CLASS="varname"
|
---|
1050 | >$_ENV</TT
|
---|
1051 | >, <TT
|
---|
1052 | CLASS="varname"
|
---|
1053 | >$_GET</TT
|
---|
1054 | >,
|
---|
1055 | <TT
|
---|
1056 | CLASS="varname"
|
---|
1057 | >$_POST</TT
|
---|
1058 | >, <TT
|
---|
1059 | CLASS="varname"
|
---|
1060 | >$_COOKIE</TT
|
---|
1061 | >, and
|
---|
1062 | <TT
|
---|
1063 | CLASS="varname"
|
---|
1064 | >$_SERVER</TT
|
---|
1065 | >. Please read the security chapter on
|
---|
1066 | <A
|
---|
1067 | HREF="security.registerglobals.html"
|
---|
1068 | >Using register_globals</A
|
---|
1069 | >
|
---|
1070 | for related information.
|
---|
1071 | </P
|
---|
1072 | ><P
|
---|
1073 | > Please note that <SPAN
|
---|
1074 | CLASS="systemitem"
|
---|
1075 | >register_globals</SPAN
|
---|
1076 | >
|
---|
1077 | cannot be set at runtime (<A
|
---|
1078 | HREF="function.ini-set.html"
|
---|
1079 | ><B
|
---|
1080 | CLASS="function"
|
---|
1081 | >ini_set()</B
|
---|
1082 | ></A
|
---|
1083 | >). Although, you can
|
---|
1084 | use <TT
|
---|
1085 | CLASS="filename"
|
---|
1086 | >.htaccess</TT
|
---|
1087 | > if your host allows it as described
|
---|
1088 | above. An example <TT
|
---|
1089 | CLASS="filename"
|
---|
1090 | >.htaccess</TT
|
---|
1091 | > entry:
|
---|
1092 | <TT
|
---|
1093 | CLASS="userinput"
|
---|
1094 | ><B
|
---|
1095 | >php_flag register_globals on</B
|
---|
1096 | ></TT
|
---|
1097 | >.
|
---|
1098 | </P
|
---|
1099 | ><DIV
|
---|
1100 | CLASS="note"
|
---|
1101 | ><BLOCKQUOTE
|
---|
1102 | CLASS="note"
|
---|
1103 | ><P
|
---|
1104 | ><B
|
---|
1105 | >Poznámka: </B
|
---|
1106 | >
|
---|
1107 | <SPAN
|
---|
1108 | CLASS="systemitem"
|
---|
1109 | >register_globals</SPAN
|
---|
1110 | > is affected
|
---|
1111 | by the <A
|
---|
1112 | HREF="configuration.directives.html#ini.variables-order"
|
---|
1113 | >variables_order</A
|
---|
1114 | >
|
---|
1115 | directive.
|
---|
1116 | </P
|
---|
1117 | ></BLOCKQUOTE
|
---|
1118 | ></DIV
|
---|
1119 | ></DD
|
---|
1120 | ><DT
|
---|
1121 | ><A
|
---|
1122 | NAME="ini.register-argc-argv"
|
---|
1123 | ></A
|
---|
1124 | ><TT
|
---|
1125 | CLASS="parameter"
|
---|
1126 | ><I
|
---|
1127 | >register_argc_argv</I
|
---|
1128 | ></TT
|
---|
1129 | >
|
---|
1130 | <A
|
---|
1131 | HREF="language.types.boolean.html"
|
---|
1132 | ><B
|
---|
1133 | CLASS="type"
|
---|
1134 | >boolean</B
|
---|
1135 | ></A
|
---|
1136 | ></DT
|
---|
1137 | ><DD
|
---|
1138 | ><P
|
---|
1139 | > Tells PHP whether to declare the argv & argc variables
|
---|
1140 | (that would contain the GET information).
|
---|
1141 | </P
|
---|
1142 | ><P
|
---|
1143 | > See also <A
|
---|
1144 | HREF="features.commandline.html"
|
---|
1145 | >command line</A
|
---|
1146 | >.
|
---|
1147 | Also, this directive became available in PHP 4.0.0 and
|
---|
1148 | was always "on" before that.
|
---|
1149 | </P
|
---|
1150 | ></DD
|
---|
1151 | ><DT
|
---|
1152 | ><A
|
---|
1153 | NAME="ini.post-max-size"
|
---|
1154 | ></A
|
---|
1155 | ><TT
|
---|
1156 | CLASS="parameter"
|
---|
1157 | ><I
|
---|
1158 | >post_max_size</I
|
---|
1159 | ></TT
|
---|
1160 | >
|
---|
1161 | <A
|
---|
1162 | HREF="language.types.integer.html"
|
---|
1163 | ><B
|
---|
1164 | CLASS="type"
|
---|
1165 | >integer</B
|
---|
1166 | ></A
|
---|
1167 | ></DT
|
---|
1168 | ><DD
|
---|
1169 | ><P
|
---|
1170 | > Sets max size of post data allowed. This setting also affects
|
---|
1171 | file upload. To upload large files, this value must be larger
|
---|
1172 | than <A
|
---|
1173 | HREF="configuration.directives.html#ini.upload-max-filesize"
|
---|
1174 | >upload_max_filesize</A
|
---|
1175 | >.
|
---|
1176 | </P
|
---|
1177 | ><P
|
---|
1178 | > If memory limit is enabled by your configure script, <A
|
---|
1179 | HREF="configuration.directives.html#ini.memory-limit"
|
---|
1180 | >memory_limit</A
|
---|
1181 | > also affects
|
---|
1182 | file uploading. Generally speaking,
|
---|
1183 | <A
|
---|
1184 | HREF="configuration.directives.html#ini.memory-limit"
|
---|
1185 | >memory_limit</A
|
---|
1186 | > should be
|
---|
1187 | larger than <TT
|
---|
1188 | CLASS="parameter"
|
---|
1189 | ><I
|
---|
1190 | >post_max_size</I
|
---|
1191 | ></TT
|
---|
1192 | >.
|
---|
1193 | </P
|
---|
1194 | ></DD
|
---|
1195 | ><DT
|
---|
1196 | ><A
|
---|
1197 | NAME="ini.gpc-order"
|
---|
1198 | ></A
|
---|
1199 | ><TT
|
---|
1200 | CLASS="parameter"
|
---|
1201 | ><I
|
---|
1202 | >gpc_order</I
|
---|
1203 | ></TT
|
---|
1204 | >
|
---|
1205 | <A
|
---|
1206 | HREF="language.types.string.html"
|
---|
1207 | ><B
|
---|
1208 | CLASS="type"
|
---|
1209 | >string</B
|
---|
1210 | ></A
|
---|
1211 | ></DT
|
---|
1212 | ><DD
|
---|
1213 | ><P
|
---|
1214 | > Set the order of GET/POST/COOKIE variable parsing. The
|
---|
1215 | default setting of this directive is "GPC". Setting this to
|
---|
1216 | "GP", for example, will cause PHP to completely ignore cookies
|
---|
1217 | and to overwrite any GET method variables with POST-method
|
---|
1218 | variables of the same name.
|
---|
1219 | </P
|
---|
1220 | ><DIV
|
---|
1221 | CLASS="note"
|
---|
1222 | ><BLOCKQUOTE
|
---|
1223 | CLASS="note"
|
---|
1224 | ><P
|
---|
1225 | ><B
|
---|
1226 | >Poznámka: </B
|
---|
1227 | >
|
---|
1228 | This option is not available in PHP 4.
|
---|
1229 | Use <A
|
---|
1230 | HREF="configuration.directives.html#ini.variables-order"
|
---|
1231 | >variables_order</A
|
---|
1232 | >
|
---|
1233 | instead.
|
---|
1234 | </P
|
---|
1235 | ></BLOCKQUOTE
|
---|
1236 | ></DIV
|
---|
1237 | ></DD
|
---|
1238 | ><DT
|
---|
1239 | ><A
|
---|
1240 | NAME="ini.auto-prepend-file"
|
---|
1241 | ></A
|
---|
1242 | ><TT
|
---|
1243 | CLASS="parameter"
|
---|
1244 | ><I
|
---|
1245 | >auto_prepend_file</I
|
---|
1246 | ></TT
|
---|
1247 | >
|
---|
1248 | <A
|
---|
1249 | HREF="language.types.string.html"
|
---|
1250 | ><B
|
---|
1251 | CLASS="type"
|
---|
1252 | >string</B
|
---|
1253 | ></A
|
---|
1254 | ></DT
|
---|
1255 | ><DD
|
---|
1256 | ><P
|
---|
1257 | > Specifies the name of a file that is automatically parsed
|
---|
1258 | before the main file. The file is included as if it was
|
---|
1259 | called with the <A
|
---|
1260 | HREF="function.include.html"
|
---|
1261 | ><B
|
---|
1262 | CLASS="function"
|
---|
1263 | >include()</B
|
---|
1264 | ></A
|
---|
1265 | > function, so
|
---|
1266 | <A
|
---|
1267 | HREF="configuration.directives.html#ini.include-path"
|
---|
1268 | >include_path</A
|
---|
1269 | > is used.</P
|
---|
1270 | ><P
|
---|
1271 | > The special value <SPAN
|
---|
1272 | CLASS="systemitem"
|
---|
1273 | >none</SPAN
|
---|
1274 | >
|
---|
1275 | disables auto-prepending.
|
---|
1276 | </P
|
---|
1277 | ></DD
|
---|
1278 | ><DT
|
---|
1279 | ><A
|
---|
1280 | NAME="ini.auto-append-file"
|
---|
1281 | ></A
|
---|
1282 | ><TT
|
---|
1283 | CLASS="parameter"
|
---|
1284 | ><I
|
---|
1285 | >auto_append_file</I
|
---|
1286 | ></TT
|
---|
1287 | >
|
---|
1288 | <A
|
---|
1289 | HREF="language.types.string.html"
|
---|
1290 | ><B
|
---|
1291 | CLASS="type"
|
---|
1292 | >string</B
|
---|
1293 | ></A
|
---|
1294 | ></DT
|
---|
1295 | ><DD
|
---|
1296 | ><P
|
---|
1297 | > Specifies the name of a file that is automatically parsed
|
---|
1298 | after the main file. The file is included as if it was
|
---|
1299 | called with the <A
|
---|
1300 | HREF="function.include.html"
|
---|
1301 | ><B
|
---|
1302 | CLASS="function"
|
---|
1303 | >include()</B
|
---|
1304 | ></A
|
---|
1305 | > function, so
|
---|
1306 | <A
|
---|
1307 | HREF="configuration.directives.html#ini.include-path"
|
---|
1308 | >include_path</A
|
---|
1309 | > is used.</P
|
---|
1310 | ><P
|
---|
1311 | > The special value <SPAN
|
---|
1312 | CLASS="systemitem"
|
---|
1313 | >none</SPAN
|
---|
1314 | >
|
---|
1315 | disables auto-appending.
|
---|
1316 | <DIV
|
---|
1317 | CLASS="note"
|
---|
1318 | ><BLOCKQUOTE
|
---|
1319 | CLASS="note"
|
---|
1320 | ><P
|
---|
1321 | ><B
|
---|
1322 | >Poznámka: </B
|
---|
1323 | >
|
---|
1324 | If the script is terminated with <A
|
---|
1325 | HREF="function.exit.html"
|
---|
1326 | ><B
|
---|
1327 | CLASS="function"
|
---|
1328 | >exit()</B
|
---|
1329 | ></A
|
---|
1330 | >,
|
---|
1331 | auto-append will <SPAN
|
---|
1332 | CLASS="emphasis"
|
---|
1333 | ><I
|
---|
1334 | CLASS="emphasis"
|
---|
1335 | >not</I
|
---|
1336 | ></SPAN
|
---|
1337 | > occur.</P
|
---|
1338 | ></BLOCKQUOTE
|
---|
1339 | ></DIV
|
---|
1340 | >
|
---|
1341 | </P
|
---|
1342 | ></DD
|
---|
1343 | ><DT
|
---|
1344 | ><A
|
---|
1345 | NAME="ini.default-mimetype"
|
---|
1346 | ></A
|
---|
1347 | ><TT
|
---|
1348 | CLASS="parameter"
|
---|
1349 | ><I
|
---|
1350 | >default_mimetype</I
|
---|
1351 | ></TT
|
---|
1352 | >
|
---|
1353 | <A
|
---|
1354 | HREF="language.types.string.html"
|
---|
1355 | ><B
|
---|
1356 | CLASS="type"
|
---|
1357 | >string</B
|
---|
1358 | ></A
|
---|
1359 | ></DT
|
---|
1360 | ><DD
|
---|
1361 | ><P
|
---|
1362 | > </P
|
---|
1363 | ></DD
|
---|
1364 | ><DT
|
---|
1365 | ><A
|
---|
1366 | NAME="ini.default-charset"
|
---|
1367 | ></A
|
---|
1368 | ><TT
|
---|
1369 | CLASS="parameter"
|
---|
1370 | ><I
|
---|
1371 | >default_charset</I
|
---|
1372 | ></TT
|
---|
1373 | >
|
---|
1374 | <A
|
---|
1375 | HREF="language.types.string.html"
|
---|
1376 | ><B
|
---|
1377 | CLASS="type"
|
---|
1378 | >string</B
|
---|
1379 | ></A
|
---|
1380 | ></DT
|
---|
1381 | ><DD
|
---|
1382 | ><P
|
---|
1383 | > As of 4.0b4, PHP always outputs a character encoding by default in
|
---|
1384 | the Content-type: header. To disable sending of the charset, simply
|
---|
1385 | set it to be empty.
|
---|
1386 | </P
|
---|
1387 | ></DD
|
---|
1388 | ><DT
|
---|
1389 | ><A
|
---|
1390 | NAME="ini.always-populate-raw-post-data"
|
---|
1391 | ></A
|
---|
1392 | ><TT
|
---|
1393 | CLASS="parameter"
|
---|
1394 | ><I
|
---|
1395 | >always_populate_raw_post_data</I
|
---|
1396 | ></TT
|
---|
1397 | >
|
---|
1398 | <A
|
---|
1399 | HREF="language.types.boolean.html"
|
---|
1400 | ><B
|
---|
1401 | CLASS="type"
|
---|
1402 | >boolean</B
|
---|
1403 | ></A
|
---|
1404 | ></DT
|
---|
1405 | ><DD
|
---|
1406 | ><P
|
---|
1407 | > Always populate the $HTTP_RAW_POST_DATA variable.
|
---|
1408 | </P
|
---|
1409 | ></DD
|
---|
1410 | ><DT
|
---|
1411 | ><A
|
---|
1412 | NAME="ini.allow-webdav-methods"
|
---|
1413 | ></A
|
---|
1414 | ><TT
|
---|
1415 | CLASS="parameter"
|
---|
1416 | ><I
|
---|
1417 | >allow_webdav_methods</I
|
---|
1418 | ></TT
|
---|
1419 | >
|
---|
1420 | <A
|
---|
1421 | HREF="language.types.boolean.html"
|
---|
1422 | ><B
|
---|
1423 | CLASS="type"
|
---|
1424 | >boolean</B
|
---|
1425 | ></A
|
---|
1426 | ></DT
|
---|
1427 | ><DD
|
---|
1428 | ><P
|
---|
1429 | > Allow handling of WebDAV http requests within PHP scripts (eg.
|
---|
1430 | PROPFIND, PROPPATCH, MOVE, COPY, etc..)
|
---|
1431 | If you want to get the post data of those requests, you have to
|
---|
1432 | set <A
|
---|
1433 | HREF="configuration.directives.html#ini.always-populate-raw-post-data"
|
---|
1434 | > always_populate_raw_post_data</A
|
---|
1435 | > as well.
|
---|
1436 | </P
|
---|
1437 | ></DD
|
---|
1438 | ></DL
|
---|
1439 | ></DIV
|
---|
1440 | >
|
---|
1441 | </P
|
---|
1442 | ><P
|
---|
1443 | > See also: <A
|
---|
1444 | HREF="missing-stuff.html#ini.magic-quotes-gpc"
|
---|
1445 | >magic_quotes_gpc</A
|
---|
1446 | >,
|
---|
1447 | <A
|
---|
1448 | HREF="missing-stuff.html#ini.magic-quotes-runtime"
|
---|
1449 | >magic-quotes-runtime</A
|
---|
1450 | >,
|
---|
1451 | and
|
---|
1452 | <A
|
---|
1453 | HREF="ref.sybase.html#ini.magic-quotes-sybase"
|
---|
1454 | >magic_quotes_sybase</A
|
---|
1455 | >.
|
---|
1456 | </P
|
---|
1457 | ></DIV
|
---|
1458 | ><DIV
|
---|
1459 | CLASS="sect2"
|
---|
1460 | ><H2
|
---|
1461 | CLASS="sect2"
|
---|
1462 | ><A
|
---|
1463 | NAME="ini.sect.path-directory"
|
---|
1464 | ></A
|
---|
1465 | >Paths and Directories</H2
|
---|
1466 | ><P
|
---|
1467 | > <DIV
|
---|
1468 | CLASS="table"
|
---|
1469 | ><A
|
---|
1470 | NAME="AEN2987"
|
---|
1471 | ></A
|
---|
1472 | ><P
|
---|
1473 | ><B
|
---|
1474 | >Tabulka 4-6. Paths and Directories Configuration Options</B
|
---|
1475 | ></P
|
---|
1476 | ><TABLE
|
---|
1477 | BORDER="1"
|
---|
1478 | CLASS="CALSTABLE"
|
---|
1479 | ><THEAD
|
---|
1480 | ><TR
|
---|
1481 | ><TH
|
---|
1482 | ALIGN="LEFT"
|
---|
1483 | VALIGN="MIDDLE"
|
---|
1484 | >Name</TH
|
---|
1485 | ><TH
|
---|
1486 | ALIGN="LEFT"
|
---|
1487 | VALIGN="MIDDLE"
|
---|
1488 | >Default</TH
|
---|
1489 | ><TH
|
---|
1490 | ALIGN="LEFT"
|
---|
1491 | VALIGN="MIDDLE"
|
---|
1492 | >Changeable</TH
|
---|
1493 | ></TR
|
---|
1494 | ></THEAD
|
---|
1495 | ><TBODY
|
---|
1496 | ><TR
|
---|
1497 | ><TD
|
---|
1498 | ALIGN="LEFT"
|
---|
1499 | VALIGN="MIDDLE"
|
---|
1500 | >include_path</TD
|
---|
1501 | ><TD
|
---|
1502 | ALIGN="LEFT"
|
---|
1503 | VALIGN="MIDDLE"
|
---|
1504 | >PHP_INCLUDE_PATH</TD
|
---|
1505 | ><TD
|
---|
1506 | ALIGN="LEFT"
|
---|
1507 | VALIGN="MIDDLE"
|
---|
1508 | >PHP_INI_ALL</TD
|
---|
1509 | ></TR
|
---|
1510 | ><TR
|
---|
1511 | ><TD
|
---|
1512 | ALIGN="LEFT"
|
---|
1513 | VALIGN="MIDDLE"
|
---|
1514 | >doc_root</TD
|
---|
1515 | ><TD
|
---|
1516 | ALIGN="LEFT"
|
---|
1517 | VALIGN="MIDDLE"
|
---|
1518 | >PHP_INCLUDE_PATH</TD
|
---|
1519 | ><TD
|
---|
1520 | ALIGN="LEFT"
|
---|
1521 | VALIGN="MIDDLE"
|
---|
1522 | >PHP_INI_SYSTEM</TD
|
---|
1523 | ></TR
|
---|
1524 | ><TR
|
---|
1525 | ><TD
|
---|
1526 | ALIGN="LEFT"
|
---|
1527 | VALIGN="MIDDLE"
|
---|
1528 | >user_dir</TD
|
---|
1529 | ><TD
|
---|
1530 | ALIGN="LEFT"
|
---|
1531 | VALIGN="MIDDLE"
|
---|
1532 | >NULL</TD
|
---|
1533 | ><TD
|
---|
1534 | ALIGN="LEFT"
|
---|
1535 | VALIGN="MIDDLE"
|
---|
1536 | >PHP_INI_SYSTEM</TD
|
---|
1537 | ></TR
|
---|
1538 | ><TR
|
---|
1539 | ><TD
|
---|
1540 | ALIGN="LEFT"
|
---|
1541 | VALIGN="MIDDLE"
|
---|
1542 | >extension_dir</TD
|
---|
1543 | ><TD
|
---|
1544 | ALIGN="LEFT"
|
---|
1545 | VALIGN="MIDDLE"
|
---|
1546 | >PHP_EXTENSION_DIR</TD
|
---|
1547 | ><TD
|
---|
1548 | ALIGN="LEFT"
|
---|
1549 | VALIGN="MIDDLE"
|
---|
1550 | >PHP_INI_SYSTEM</TD
|
---|
1551 | ></TR
|
---|
1552 | ><TR
|
---|
1553 | ><TD
|
---|
1554 | ALIGN="LEFT"
|
---|
1555 | VALIGN="MIDDLE"
|
---|
1556 | >cgi.force_redirect</TD
|
---|
1557 | ><TD
|
---|
1558 | ALIGN="LEFT"
|
---|
1559 | VALIGN="MIDDLE"
|
---|
1560 | >"1"</TD
|
---|
1561 | ><TD
|
---|
1562 | ALIGN="LEFT"
|
---|
1563 | VALIGN="MIDDLE"
|
---|
1564 | >PHP_INI_SYSTEM</TD
|
---|
1565 | ></TR
|
---|
1566 | ><TR
|
---|
1567 | ><TD
|
---|
1568 | ALIGN="LEFT"
|
---|
1569 | VALIGN="MIDDLE"
|
---|
1570 | >cgi.redirect_status_env</TD
|
---|
1571 | ><TD
|
---|
1572 | ALIGN="LEFT"
|
---|
1573 | VALIGN="MIDDLE"
|
---|
1574 | >""</TD
|
---|
1575 | ><TD
|
---|
1576 | ALIGN="LEFT"
|
---|
1577 | VALIGN="MIDDLE"
|
---|
1578 | >PHP_INI_SYSTEM</TD
|
---|
1579 | ></TR
|
---|
1580 | ><TR
|
---|
1581 | ><TD
|
---|
1582 | ALIGN="LEFT"
|
---|
1583 | VALIGN="MIDDLE"
|
---|
1584 | >fastcgi.impersonate</TD
|
---|
1585 | ><TD
|
---|
1586 | ALIGN="LEFT"
|
---|
1587 | VALIGN="MIDDLE"
|
---|
1588 | >"0"</TD
|
---|
1589 | ><TD
|
---|
1590 | ALIGN="LEFT"
|
---|
1591 | VALIGN="MIDDLE"
|
---|
1592 | >PHP_INI_SYSTEM</TD
|
---|
1593 | ></TR
|
---|
1594 | ></TBODY
|
---|
1595 | ></TABLE
|
---|
1596 | ></DIV
|
---|
1597 | >
|
---|
1598 | </P
|
---|
1599 | ><P
|
---|
1600 | > Here is a short explanation of the configuration directives.
|
---|
1601 | <P
|
---|
1602 | ></P
|
---|
1603 | ><DIV
|
---|
1604 | CLASS="variablelist"
|
---|
1605 | ><DL
|
---|
1606 | ><DT
|
---|
1607 | ><A
|
---|
1608 | NAME="ini.include-path"
|
---|
1609 | ></A
|
---|
1610 | ><TT
|
---|
1611 | CLASS="parameter"
|
---|
1612 | ><I
|
---|
1613 | >include_path</I
|
---|
1614 | ></TT
|
---|
1615 | >
|
---|
1616 | <A
|
---|
1617 | HREF="language.types.string.html"
|
---|
1618 | ><B
|
---|
1619 | CLASS="type"
|
---|
1620 | >string</B
|
---|
1621 | ></A
|
---|
1622 | ></DT
|
---|
1623 | ><DD
|
---|
1624 | ><P
|
---|
1625 | > Specifies a list of directories where the
|
---|
1626 | <A
|
---|
1627 | HREF="function.require.html"
|
---|
1628 | ><B
|
---|
1629 | CLASS="function"
|
---|
1630 | >require()</B
|
---|
1631 | ></A
|
---|
1632 | >, <A
|
---|
1633 | HREF="function.include.html"
|
---|
1634 | ><B
|
---|
1635 | CLASS="function"
|
---|
1636 | >include()</B
|
---|
1637 | ></A
|
---|
1638 | >
|
---|
1639 | and <B
|
---|
1640 | CLASS="function"
|
---|
1641 | >fopen_with_path()</B
|
---|
1642 | > functions look for
|
---|
1643 | files. The format is like the system's <TT
|
---|
1644 | CLASS="envar"
|
---|
1645 | >PATH</TT
|
---|
1646 | >
|
---|
1647 | environment variable: a list of directories separated with a
|
---|
1648 | colon in UNIX or semicolon in Windows.
|
---|
1649 | </P
|
---|
1650 | ><P
|
---|
1651 | > <TABLE
|
---|
1652 | WIDTH="100%"
|
---|
1653 | BORDER="0"
|
---|
1654 | CELLPADDING="0"
|
---|
1655 | CELLSPACING="0"
|
---|
1656 | CLASS="EXAMPLE"
|
---|
1657 | ><TR
|
---|
1658 | ><TD
|
---|
1659 | ><DIV
|
---|
1660 | CLASS="example"
|
---|
1661 | ><A
|
---|
1662 | NAME="AEN3037"
|
---|
1663 | ></A
|
---|
1664 | ><P
|
---|
1665 | ><B
|
---|
1666 | >Pøíklad 4-3. UNIX include_path</B
|
---|
1667 | ></P
|
---|
1668 | ><TABLE
|
---|
1669 | BORDER="0"
|
---|
1670 | BGCOLOR="#E0E0E0"
|
---|
1671 | CELLPADDING="5"
|
---|
1672 | ><TR
|
---|
1673 | ><TD
|
---|
1674 | ><PRE
|
---|
1675 | CLASS="php.ini"
|
---|
1676 | >include_path=".:/php/includes"</PRE
|
---|
1677 | ></TD
|
---|
1678 | ></TR
|
---|
1679 | ></TABLE
|
---|
1680 | ></DIV
|
---|
1681 | ></TD
|
---|
1682 | ></TR
|
---|
1683 | ></TABLE
|
---|
1684 | >
|
---|
1685 | </P
|
---|
1686 | ><P
|
---|
1687 | > <TABLE
|
---|
1688 | WIDTH="100%"
|
---|
1689 | BORDER="0"
|
---|
1690 | CELLPADDING="0"
|
---|
1691 | CELLSPACING="0"
|
---|
1692 | CLASS="EXAMPLE"
|
---|
1693 | ><TR
|
---|
1694 | ><TD
|
---|
1695 | ><DIV
|
---|
1696 | CLASS="example"
|
---|
1697 | ><A
|
---|
1698 | NAME="AEN3041"
|
---|
1699 | ></A
|
---|
1700 | ><P
|
---|
1701 | ><B
|
---|
1702 | >Pøíklad 4-4. Windows include_path</B
|
---|
1703 | ></P
|
---|
1704 | ><TABLE
|
---|
1705 | BORDER="0"
|
---|
1706 | BGCOLOR="#E0E0E0"
|
---|
1707 | CELLPADDING="5"
|
---|
1708 | ><TR
|
---|
1709 | ><TD
|
---|
1710 | ><PRE
|
---|
1711 | CLASS="php.ini"
|
---|
1712 | >include_path=".;c:\php\includes"</PRE
|
---|
1713 | ></TD
|
---|
1714 | ></TR
|
---|
1715 | ></TABLE
|
---|
1716 | ></DIV
|
---|
1717 | ></TD
|
---|
1718 | ></TR
|
---|
1719 | ></TABLE
|
---|
1720 | >
|
---|
1721 | </P
|
---|
1722 | ><P
|
---|
1723 | > Using a <TT
|
---|
1724 | CLASS="literal"
|
---|
1725 | >.</TT
|
---|
1726 | > in the include path allows for
|
---|
1727 | relative includes as it means the current directory.
|
---|
1728 | </P
|
---|
1729 | ></DD
|
---|
1730 | ><DT
|
---|
1731 | ><A
|
---|
1732 | NAME="ini.doc-root"
|
---|
1733 | ></A
|
---|
1734 | ><TT
|
---|
1735 | CLASS="parameter"
|
---|
1736 | ><I
|
---|
1737 | >doc_root</I
|
---|
1738 | ></TT
|
---|
1739 | >
|
---|
1740 | <A
|
---|
1741 | HREF="language.types.string.html"
|
---|
1742 | ><B
|
---|
1743 | CLASS="type"
|
---|
1744 | >string</B
|
---|
1745 | ></A
|
---|
1746 | ></DT
|
---|
1747 | ><DD
|
---|
1748 | ><P
|
---|
1749 | > PHP's "root directory" on the server. Only used if
|
---|
1750 | non-empty. If PHP is configured with <A
|
---|
1751 | HREF="missing-stuff.html#ini.safe-mode"
|
---|
1752 | >safe mode</A
|
---|
1753 | >, no files outside
|
---|
1754 | this directory are served.
|
---|
1755 | If PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
---|
1756 | if you are running php as a CGI under any web server (other than IIS)
|
---|
1757 | The alternative is to use the <A
|
---|
1758 | HREF="configuration.directives.html#ini.cgi.force-redirect"
|
---|
1759 | > cgi.force_redirect</A
|
---|
1760 | > configuration below.
|
---|
1761 | </P
|
---|
1762 | ></DD
|
---|
1763 | ><DT
|
---|
1764 | ><A
|
---|
1765 | NAME="ini.user-dir"
|
---|
1766 | ></A
|
---|
1767 | ><TT
|
---|
1768 | CLASS="parameter"
|
---|
1769 | ><I
|
---|
1770 | >user_dir</I
|
---|
1771 | ></TT
|
---|
1772 | >
|
---|
1773 | <A
|
---|
1774 | HREF="language.types.string.html"
|
---|
1775 | ><B
|
---|
1776 | CLASS="type"
|
---|
1777 | >string</B
|
---|
1778 | ></A
|
---|
1779 | ></DT
|
---|
1780 | ><DD
|
---|
1781 | ><P
|
---|
1782 | > The base name of the directory used on a user's home
|
---|
1783 | directory for <TT
|
---|
1784 | CLASS="literal"
|
---|
1785 | >PHP</TT
|
---|
1786 | > files, for example
|
---|
1787 | <TT
|
---|
1788 | CLASS="literal"
|
---|
1789 | >public_html</TT
|
---|
1790 | >.
|
---|
1791 | </P
|
---|
1792 | ></DD
|
---|
1793 | ><DT
|
---|
1794 | ><A
|
---|
1795 | NAME="ini.extension-dir"
|
---|
1796 | ></A
|
---|
1797 | ><TT
|
---|
1798 | CLASS="parameter"
|
---|
1799 | ><I
|
---|
1800 | >extension_dir</I
|
---|
1801 | ></TT
|
---|
1802 | >
|
---|
1803 | <A
|
---|
1804 | HREF="language.types.string.html"
|
---|
1805 | ><B
|
---|
1806 | CLASS="type"
|
---|
1807 | >string</B
|
---|
1808 | ></A
|
---|
1809 | ></DT
|
---|
1810 | ><DD
|
---|
1811 | ><P
|
---|
1812 | > In what directory PHP should look for dynamically loadable
|
---|
1813 | extensions. See also: <A
|
---|
1814 | HREF="missing-stuff.html#ini.enable-dl"
|
---|
1815 | >enable_dl</A
|
---|
1816 | >,
|
---|
1817 | and <A
|
---|
1818 | HREF="function.dl.html"
|
---|
1819 | ><B
|
---|
1820 | CLASS="function"
|
---|
1821 | >dl()</B
|
---|
1822 | ></A
|
---|
1823 | >.
|
---|
1824 | </P
|
---|
1825 | ></DD
|
---|
1826 | ><DT
|
---|
1827 | ><A
|
---|
1828 | NAME="ini.extension"
|
---|
1829 | ></A
|
---|
1830 | ><TT
|
---|
1831 | CLASS="parameter"
|
---|
1832 | ><I
|
---|
1833 | >extension</I
|
---|
1834 | ></TT
|
---|
1835 | >
|
---|
1836 | <A
|
---|
1837 | HREF="language.types.string.html"
|
---|
1838 | ><B
|
---|
1839 | CLASS="type"
|
---|
1840 | >string</B
|
---|
1841 | ></A
|
---|
1842 | ></DT
|
---|
1843 | ><DD
|
---|
1844 | ><P
|
---|
1845 | > Which dynamically loadable extensions to load when PHP starts
|
---|
1846 | up.
|
---|
1847 | </P
|
---|
1848 | ></DD
|
---|
1849 | ><DT
|
---|
1850 | ><A
|
---|
1851 | NAME="ini.cgi.force-redirect"
|
---|
1852 | ></A
|
---|
1853 | ><TT
|
---|
1854 | CLASS="parameter"
|
---|
1855 | ><I
|
---|
1856 | >cgi.force_redirect</I
|
---|
1857 | ></TT
|
---|
1858 | >
|
---|
1859 | <A
|
---|
1860 | HREF="language.types.boolean.html"
|
---|
1861 | ><B
|
---|
1862 | CLASS="type"
|
---|
1863 | >boolean</B
|
---|
1864 | ></A
|
---|
1865 | ></DT
|
---|
1866 | ><DD
|
---|
1867 | ><P
|
---|
1868 | > cgi.force_redirect is necessary to provide security running PHP as a
|
---|
1869 | CGI under most web servers. Left undefined, PHP turns this on by
|
---|
1870 | default. You can turn it off <SPAN
|
---|
1871 | CLASS="emphasis"
|
---|
1872 | ><I
|
---|
1873 | CLASS="emphasis"
|
---|
1874 | >AT YOUR OWN RISK</I
|
---|
1875 | ></SPAN
|
---|
1876 | >.
|
---|
1877 | </P
|
---|
1878 | ><DIV
|
---|
1879 | CLASS="note"
|
---|
1880 | ><BLOCKQUOTE
|
---|
1881 | CLASS="note"
|
---|
1882 | ><P
|
---|
1883 | ><B
|
---|
1884 | >Poznámka: </B
|
---|
1885 | >
|
---|
1886 | Windows Users: You CAN safely turn this off for IIS, in fact, you MUST.
|
---|
1887 | To get OmniHTTPD or Xitami to work you MUST turn it off.
|
---|
1888 | </P
|
---|
1889 | ></BLOCKQUOTE
|
---|
1890 | ></DIV
|
---|
1891 | ></DD
|
---|
1892 | ><DT
|
---|
1893 | ><A
|
---|
1894 | NAME="ini.cgi.redirect-status-env"
|
---|
1895 | ></A
|
---|
1896 | ><TT
|
---|
1897 | CLASS="parameter"
|
---|
1898 | ><I
|
---|
1899 | >cgi.cgi.redirect_status_env</I
|
---|
1900 | ></TT
|
---|
1901 | >
|
---|
1902 | <A
|
---|
1903 | HREF="language.types.string.html"
|
---|
1904 | ><B
|
---|
1905 | CLASS="type"
|
---|
1906 | >string</B
|
---|
1907 | ></A
|
---|
1908 | ></DT
|
---|
1909 | ><DD
|
---|
1910 | ><P
|
---|
1911 | > If cgi.force_redirect is turned on, and you are not running under
|
---|
1912 | Apache or Netscape (iPlanet) web servers, you MAY need to set an
|
---|
1913 | environment variable name that PHP will look for to know it is OK
|
---|
1914 | to continue execution.
|
---|
1915 | </P
|
---|
1916 | ><DIV
|
---|
1917 | CLASS="note"
|
---|
1918 | ><BLOCKQUOTE
|
---|
1919 | CLASS="note"
|
---|
1920 | ><P
|
---|
1921 | ><B
|
---|
1922 | >Poznámka: </B
|
---|
1923 | >
|
---|
1924 | Setting this variable MAY cause security issues,
|
---|
1925 | KNOW WHAT YOU ARE DOING FIRST.
|
---|
1926 | </P
|
---|
1927 | ></BLOCKQUOTE
|
---|
1928 | ></DIV
|
---|
1929 | ></DD
|
---|
1930 | ><DT
|
---|
1931 | ><A
|
---|
1932 | NAME="fastcgi.impersonate"
|
---|
1933 | ></A
|
---|
1934 | ><TT
|
---|
1935 | CLASS="parameter"
|
---|
1936 | ><I
|
---|
1937 | >fastcgi.impersonate</I
|
---|
1938 | ></TT
|
---|
1939 | >
|
---|
1940 | <A
|
---|
1941 | HREF="language.types.string.html"
|
---|
1942 | ><B
|
---|
1943 | CLASS="type"
|
---|
1944 | >string</B
|
---|
1945 | ></A
|
---|
1946 | ></DT
|
---|
1947 | ><DD
|
---|
1948 | ><P
|
---|
1949 | > FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
|
---|
1950 | security tokens of the calling client. This allows IIS to define the
|
---|
1951 | security context that the request runs under. mod_fastcgi under Apache
|
---|
1952 | does not currently support this feature (03/17/2002)
|
---|
1953 | Set to 1 if running under IIS. Default is zero.
|
---|
1954 | </P
|
---|
1955 | ></DD
|
---|
1956 | ></DL
|
---|
1957 | ></DIV
|
---|
1958 | >
|
---|
1959 | </P
|
---|
1960 | ></DIV
|
---|
1961 | ><DIV
|
---|
1962 | CLASS="sect2"
|
---|
1963 | ><H2
|
---|
1964 | CLASS="sect2"
|
---|
1965 | ><A
|
---|
1966 | NAME="ini.sect.file_uploads"
|
---|
1967 | ></A
|
---|
1968 | >File Uploads</H2
|
---|
1969 | ><P
|
---|
1970 | > <DIV
|
---|
1971 | CLASS="table"
|
---|
1972 | ><A
|
---|
1973 | NAME="AEN3102"
|
---|
1974 | ></A
|
---|
1975 | ><P
|
---|
1976 | ><B
|
---|
1977 | >Tabulka 4-7. File Uploads Configuration Options</B
|
---|
1978 | ></P
|
---|
1979 | ><TABLE
|
---|
1980 | BORDER="1"
|
---|
1981 | CLASS="CALSTABLE"
|
---|
1982 | ><THEAD
|
---|
1983 | ><TR
|
---|
1984 | ><TH
|
---|
1985 | ALIGN="LEFT"
|
---|
1986 | VALIGN="MIDDLE"
|
---|
1987 | >Name</TH
|
---|
1988 | ><TH
|
---|
1989 | ALIGN="LEFT"
|
---|
1990 | VALIGN="MIDDLE"
|
---|
1991 | >Default</TH
|
---|
1992 | ><TH
|
---|
1993 | ALIGN="LEFT"
|
---|
1994 | VALIGN="MIDDLE"
|
---|
1995 | >Changeable</TH
|
---|
1996 | ></TR
|
---|
1997 | ></THEAD
|
---|
1998 | ><TBODY
|
---|
1999 | ><TR
|
---|
2000 | ><TD
|
---|
2001 | ALIGN="LEFT"
|
---|
2002 | VALIGN="MIDDLE"
|
---|
2003 | >file_uploads</TD
|
---|
2004 | ><TD
|
---|
2005 | ALIGN="LEFT"
|
---|
2006 | VALIGN="MIDDLE"
|
---|
2007 | >"1"</TD
|
---|
2008 | ><TD
|
---|
2009 | ALIGN="LEFT"
|
---|
2010 | VALIGN="MIDDLE"
|
---|
2011 | >PHP_INI_SYSTEM</TD
|
---|
2012 | ></TR
|
---|
2013 | ><TR
|
---|
2014 | ><TD
|
---|
2015 | ALIGN="LEFT"
|
---|
2016 | VALIGN="MIDDLE"
|
---|
2017 | >upload_tmp_dir</TD
|
---|
2018 | ><TD
|
---|
2019 | ALIGN="LEFT"
|
---|
2020 | VALIGN="MIDDLE"
|
---|
2021 | >NULL</TD
|
---|
2022 | ><TD
|
---|
2023 | ALIGN="LEFT"
|
---|
2024 | VALIGN="MIDDLE"
|
---|
2025 | >PHP_INI_SYSTEM</TD
|
---|
2026 | ></TR
|
---|
2027 | ><TR
|
---|
2028 | ><TD
|
---|
2029 | ALIGN="LEFT"
|
---|
2030 | VALIGN="MIDDLE"
|
---|
2031 | >upload_max_filesize</TD
|
---|
2032 | ><TD
|
---|
2033 | ALIGN="LEFT"
|
---|
2034 | VALIGN="MIDDLE"
|
---|
2035 | >"2M"</TD
|
---|
2036 | ><TD
|
---|
2037 | ALIGN="LEFT"
|
---|
2038 | VALIGN="MIDDLE"
|
---|
2039 | >PHP_INI_SYSTEM|PHP_INI_PERDIR</TD
|
---|
2040 | ></TR
|
---|
2041 | ></TBODY
|
---|
2042 | ></TABLE
|
---|
2043 | ></DIV
|
---|
2044 | >
|
---|
2045 | </P
|
---|
2046 | ><P
|
---|
2047 | > Here is a short explanation of the configuration directives.
|
---|
2048 | <P
|
---|
2049 | ></P
|
---|
2050 | ><DIV
|
---|
2051 | CLASS="variablelist"
|
---|
2052 | ><DL
|
---|
2053 | ><DT
|
---|
2054 | ><A
|
---|
2055 | NAME="ini.file-uploads"
|
---|
2056 | ></A
|
---|
2057 | ><TT
|
---|
2058 | CLASS="parameter"
|
---|
2059 | ><I
|
---|
2060 | >file_uploads</I
|
---|
2061 | ></TT
|
---|
2062 | >
|
---|
2063 | <A
|
---|
2064 | HREF="language.types.boolean.html"
|
---|
2065 | ><B
|
---|
2066 | CLASS="type"
|
---|
2067 | >boolean</B
|
---|
2068 | ></A
|
---|
2069 | ></DT
|
---|
2070 | ><DD
|
---|
2071 | ><P
|
---|
2072 | > Whether or not to allow HTTP
|
---|
2073 | <A
|
---|
2074 | HREF="features.file-upload.html"
|
---|
2075 | >file uploads</A
|
---|
2076 | >. See also
|
---|
2077 | the
|
---|
2078 | <A
|
---|
2079 | HREF="configuration.directives.html#ini.upload-max-filesize"
|
---|
2080 | >upload_max_filesize</A
|
---|
2081 | >,
|
---|
2082 | <A
|
---|
2083 | HREF="configuration.directives.html#ini.upload-tmp-dir"
|
---|
2084 | >upload_tmp_dir</A
|
---|
2085 | >, and
|
---|
2086 | <A
|
---|
2087 | HREF="configuration.directives.html#ini.post-max-size"
|
---|
2088 | >post_max_size</A
|
---|
2089 | > directives.
|
---|
2090 | </P
|
---|
2091 | ></DD
|
---|
2092 | ><DT
|
---|
2093 | ><A
|
---|
2094 | NAME="ini.upload-tmp-dir"
|
---|
2095 | ></A
|
---|
2096 | ><TT
|
---|
2097 | CLASS="parameter"
|
---|
2098 | ><I
|
---|
2099 | >upload_tmp_dir</I
|
---|
2100 | ></TT
|
---|
2101 | >
|
---|
2102 | <A
|
---|
2103 | HREF="language.types.string.html"
|
---|
2104 | ><B
|
---|
2105 | CLASS="type"
|
---|
2106 | >string</B
|
---|
2107 | ></A
|
---|
2108 | ></DT
|
---|
2109 | ><DD
|
---|
2110 | ><P
|
---|
2111 | > The temporary directory used for storing files when doing
|
---|
2112 | file upload. Must be writable by whatever user <TT
|
---|
2113 | CLASS="literal"
|
---|
2114 | >PHP</TT
|
---|
2115 | >
|
---|
2116 | is running as. If not specified PHP will use the system's default.
|
---|
2117 | </P
|
---|
2118 | ></DD
|
---|
2119 | ><DT
|
---|
2120 | ><A
|
---|
2121 | NAME="ini.upload-max-filesize"
|
---|
2122 | ></A
|
---|
2123 | ><TT
|
---|
2124 | CLASS="parameter"
|
---|
2125 | ><I
|
---|
2126 | >upload_max_filesize</I
|
---|
2127 | ></TT
|
---|
2128 | >
|
---|
2129 | <A
|
---|
2130 | HREF="language.types.integer.html"
|
---|
2131 | ><B
|
---|
2132 | CLASS="type"
|
---|
2133 | >integer</B
|
---|
2134 | ></A
|
---|
2135 | ></DT
|
---|
2136 | ><DD
|
---|
2137 | ><P
|
---|
2138 | > The maximum size of an uploaded file.
|
---|
2139 | </P
|
---|
2140 | ></DD
|
---|
2141 | ></DL
|
---|
2142 | ></DIV
|
---|
2143 | >
|
---|
2144 | </P
|
---|
2145 | ></DIV
|
---|
2146 | ><DIV
|
---|
2147 | CLASS="sect2"
|
---|
2148 | ><H2
|
---|
2149 | CLASS="sect2"
|
---|
2150 | ><A
|
---|
2151 | NAME="ini.sql-general"
|
---|
2152 | ></A
|
---|
2153 | >General SQL</H2
|
---|
2154 | ><P
|
---|
2155 | > <DIV
|
---|
2156 | CLASS="table"
|
---|
2157 | ><A
|
---|
2158 | NAME="AEN3151"
|
---|
2159 | ></A
|
---|
2160 | ><P
|
---|
2161 | ><B
|
---|
2162 | >Tabulka 4-8. General SQL Configuration Options</B
|
---|
2163 | ></P
|
---|
2164 | ><TABLE
|
---|
2165 | BORDER="1"
|
---|
2166 | CLASS="CALSTABLE"
|
---|
2167 | ><THEAD
|
---|
2168 | ><TR
|
---|
2169 | ><TH
|
---|
2170 | ALIGN="LEFT"
|
---|
2171 | VALIGN="MIDDLE"
|
---|
2172 | >Name</TH
|
---|
2173 | ><TH
|
---|
2174 | ALIGN="LEFT"
|
---|
2175 | VALIGN="MIDDLE"
|
---|
2176 | >Default</TH
|
---|
2177 | ><TH
|
---|
2178 | ALIGN="LEFT"
|
---|
2179 | VALIGN="MIDDLE"
|
---|
2180 | >Changeable</TH
|
---|
2181 | ></TR
|
---|
2182 | ></THEAD
|
---|
2183 | ><TBODY
|
---|
2184 | ><TR
|
---|
2185 | ><TD
|
---|
2186 | ALIGN="LEFT"
|
---|
2187 | VALIGN="MIDDLE"
|
---|
2188 | >sql.safe_mode</TD
|
---|
2189 | ><TD
|
---|
2190 | ALIGN="LEFT"
|
---|
2191 | VALIGN="MIDDLE"
|
---|
2192 | >"0"</TD
|
---|
2193 | ><TD
|
---|
2194 | ALIGN="LEFT"
|
---|
2195 | VALIGN="MIDDLE"
|
---|
2196 | >PHP_INI_SYSTEM</TD
|
---|
2197 | ></TR
|
---|
2198 | ></TBODY
|
---|
2199 | ></TABLE
|
---|
2200 | ></DIV
|
---|
2201 | >
|
---|
2202 | </P
|
---|
2203 | ><P
|
---|
2204 | > Here is a short explanation of the configuration directives.
|
---|
2205 | <P
|
---|
2206 | ></P
|
---|
2207 | ><DIV
|
---|
2208 | CLASS="variablelist"
|
---|
2209 | ><DL
|
---|
2210 | ><DT
|
---|
2211 | ><A
|
---|
2212 | NAME="ini.sql.safe-mode"
|
---|
2213 | ></A
|
---|
2214 | ><TT
|
---|
2215 | CLASS="parameter"
|
---|
2216 | ><I
|
---|
2217 | >sql.safe_mode</I
|
---|
2218 | ></TT
|
---|
2219 | >
|
---|
2220 | <A
|
---|
2221 | HREF="language.types.boolean.html"
|
---|
2222 | ><B
|
---|
2223 | CLASS="type"
|
---|
2224 | >boolean</B
|
---|
2225 | ></A
|
---|
2226 | ></DT
|
---|
2227 | ><DD
|
---|
2228 | ><P
|
---|
2229 | > </P
|
---|
2230 | ></DD
|
---|
2231 | ></DL
|
---|
2232 | ></DIV
|
---|
2233 | >
|
---|
2234 | </P
|
---|
2235 | ></DIV
|
---|
2236 | ><DIV
|
---|
2237 | CLASS="sect2"
|
---|
2238 | ><H2
|
---|
2239 | CLASS="sect2"
|
---|
2240 | ><A
|
---|
2241 | NAME="ini.sect.debugger"
|
---|
2242 | ></A
|
---|
2243 | >Debugger Configuration Directives</H2
|
---|
2244 | ><P
|
---|
2245 | ></P
|
---|
2246 | ><DIV
|
---|
2247 | CLASS="variablelist"
|
---|
2248 | ><DL
|
---|
2249 | ><DT
|
---|
2250 | ><A
|
---|
2251 | NAME="ini.debugger.host"
|
---|
2252 | ></A
|
---|
2253 | ><TT
|
---|
2254 | CLASS="parameter"
|
---|
2255 | ><I
|
---|
2256 | >debugger.host</I
|
---|
2257 | ></TT
|
---|
2258 | >
|
---|
2259 | <A
|
---|
2260 | HREF="language.types.string.html"
|
---|
2261 | ><B
|
---|
2262 | CLASS="type"
|
---|
2263 | >string</B
|
---|
2264 | ></A
|
---|
2265 | ></DT
|
---|
2266 | ><DD
|
---|
2267 | ><P
|
---|
2268 | > DNS name or IP address of host used by the debugger.
|
---|
2269 | </P
|
---|
2270 | ></DD
|
---|
2271 | ><DT
|
---|
2272 | ><A
|
---|
2273 | NAME="ini.debugger.port"
|
---|
2274 | ></A
|
---|
2275 | ><TT
|
---|
2276 | CLASS="parameter"
|
---|
2277 | ><I
|
---|
2278 | >debugger.port</I
|
---|
2279 | ></TT
|
---|
2280 | >
|
---|
2281 | <A
|
---|
2282 | HREF="language.types.string.html"
|
---|
2283 | ><B
|
---|
2284 | CLASS="type"
|
---|
2285 | >string</B
|
---|
2286 | ></A
|
---|
2287 | ></DT
|
---|
2288 | ><DD
|
---|
2289 | ><P
|
---|
2290 | > Port number used by the debugger.
|
---|
2291 | </P
|
---|
2292 | ></DD
|
---|
2293 | ><DT
|
---|
2294 | ><A
|
---|
2295 | NAME="ini.debugger.enabled"
|
---|
2296 | ></A
|
---|
2297 | ><TT
|
---|
2298 | CLASS="parameter"
|
---|
2299 | ><I
|
---|
2300 | >debugger.enabled</I
|
---|
2301 | ></TT
|
---|
2302 | >
|
---|
2303 | <A
|
---|
2304 | HREF="language.types.boolean.html"
|
---|
2305 | ><B
|
---|
2306 | CLASS="type"
|
---|
2307 | >boolean</B
|
---|
2308 | ></A
|
---|
2309 | ></DT
|
---|
2310 | ><DD
|
---|
2311 | ><P
|
---|
2312 | > Whether the debugger is enabled.
|
---|
2313 | </P
|
---|
2314 | ></DD
|
---|
2315 | ></DL
|
---|
2316 | ></DIV
|
---|
2317 | ></DIV
|
---|
2318 | ></DIV
|
---|
2319 | ><DIV
|
---|
2320 | CLASS="NAVFOOTER"
|
---|
2321 | ><HR
|
---|
2322 | ALIGN="LEFT"
|
---|
2323 | WIDTH="100%"><TABLE
|
---|
2324 | SUMMARY="Footer navigation table"
|
---|
2325 | WIDTH="100%"
|
---|
2326 | BORDER="0"
|
---|
2327 | CELLPADDING="0"
|
---|
2328 | CELLSPACING="0"
|
---|
2329 | ><TR
|
---|
2330 | ><TD
|
---|
2331 | WIDTH="33%"
|
---|
2332 | ALIGN="left"
|
---|
2333 | VALIGN="top"
|
---|
2334 | ><A
|
---|
2335 | HREF="configuration.changes.html"
|
---|
2336 | ACCESSKEY="P"
|
---|
2337 | >Pøedcházející</A
|
---|
2338 | ></TD
|
---|
2339 | ><TD
|
---|
2340 | WIDTH="34%"
|
---|
2341 | ALIGN="center"
|
---|
2342 | VALIGN="top"
|
---|
2343 | ><A
|
---|
2344 | HREF="index.html"
|
---|
2345 | ACCESSKEY="H"
|
---|
2346 | >Domù</A
|
---|
2347 | ></TD
|
---|
2348 | ><TD
|
---|
2349 | WIDTH="33%"
|
---|
2350 | ALIGN="right"
|
---|
2351 | VALIGN="top"
|
---|
2352 | ><A
|
---|
2353 | HREF="security.html"
|
---|
2354 | ACCESSKEY="N"
|
---|
2355 | >Dal¹í</A
|
---|
2356 | ></TD
|
---|
2357 | ></TR
|
---|
2358 | ><TR
|
---|
2359 | ><TD
|
---|
2360 | WIDTH="33%"
|
---|
2361 | ALIGN="left"
|
---|
2362 | VALIGN="top"
|
---|
2363 | >How to change configuration settings</TD
|
---|
2364 | ><TD
|
---|
2365 | WIDTH="34%"
|
---|
2366 | ALIGN="center"
|
---|
2367 | VALIGN="top"
|
---|
2368 | ><A
|
---|
2369 | HREF="configuration.html"
|
---|
2370 | ACCESSKEY="U"
|
---|
2371 | >Nahoru</A
|
---|
2372 | ></TD
|
---|
2373 | ><TD
|
---|
2374 | WIDTH="33%"
|
---|
2375 | ALIGN="right"
|
---|
2376 | VALIGN="top"
|
---|
2377 | >Security</TD
|
---|
2378 | ></TR
|
---|
2379 | ></TABLE
|
---|
2380 | ></DIV
|
---|
2381 | ></BODY
|
---|
2382 | ></HTML
|
---|
2383 | >
|
---|