source: www/manuals/PHP_manual/configuration.directives.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

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