分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
9 G6 ~1 n, w  r# B5 ?
. F* M8 S) m6 Q2 u+ N
  1. [PHP]9 [# m% H7 h0 b' o+ y. V$ A, F! q+ V
  2. 4 G. J  C* I' S. t7 R3 _5 ^, }
  3. ;;;;;;;;;;;;;;;;;;;
    & P9 s* m+ [  E0 h1 N8 ?: l3 j2 s  Y
  4. ; About php.ini   ;
    + [' t: D0 F) K, o  N6 ^
  5. ;;;;;;;;;;;;;;;;;;;
    8 q: S: L. T: g2 h+ O3 f* c
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ }- `& ~& m& a
  7. ; configuring many of the aspects of PHP's behavior.( x. J1 Y& t/ D

  8. & Z) [' G  i+ }% u
  9. ; PHP attempts to find and load this configuration from a number of locations.- h5 r0 |  W: v- W
  10. ; The following is a summary of its search order:/ S" Q- g' q9 A3 i2 d
  11. ; 1. SAPI module specific location.+ e7 ]: p9 C9 U. h6 T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    # u3 }/ _  r: U8 }5 e
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)* X6 u7 m2 A! [5 T. S
  14. ; 4. Current working directory (except CLI)3 ]- F# n$ V- z$ ?& M& E- ?
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP- t0 W+ Q% a: P; u6 [
  16. ; (otherwise in Windows)
    3 A6 n+ X% X1 q$ P$ y9 |8 R$ O
  17. ; 6. The directory from the --with-config-file-path compile time option, or the, g# x. @* F1 h9 f
  18. ; Windows directory (C:\windows or C:\winnt)
    1 L9 B7 [+ l  i  s! s0 _
  19. ; See the PHP docs for more specific information./ b: \( P; P! ~! E: ^$ ~
  20. ; http://php.net/configuration.file4 \2 _6 t% }/ I9 y+ A: h

  21. - L/ ]+ B% d5 a7 h6 {! W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    8 t; L. U/ J/ i
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., I# P9 S: n  s8 G7 Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 a" f( A) T, @4 v
  25. ; they might mean something in the future.
    # W3 X( s# X# n8 a, P4 {, B9 q6 G
  26. # U) I% V& T$ ~* G: k2 h$ D3 T
  27. ; Directives following the section heading [PATH=/www/mysite] only
    & G. C8 E* m8 u0 j9 c
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # Q# a4 h6 \/ y0 h
  29. ; following the section heading [HOST=www.example.com] only apply to
    & B% q) X1 w2 Y% C0 O% a$ S
  30. ; PHP files served from www.example.com.  Directives set in these0 F4 [- c: Y' z  v
  31. ; special sections cannot be overridden by user-defined INI files or3 e' |: Z2 L8 b
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    + ]( z! S+ f- x! [
  33. ; CGI/FastCGI.
    9 G- S+ x' R9 J+ z, @( E8 S
  34. ; http://php.net/ini.sections4 l1 u  H) `# ~
  35. 1 ]; m5 _% P" r' ]( l6 z
  36. ; Directives are specified using the following syntax:. ^0 p# b9 V5 F" V+ ~5 S
  37. ; directive = value+ C2 c$ J# \8 @
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    1 b! G7 m4 M7 r
  39. ; Directives are variables used to configure PHP or PHP extensions.6 Q+ J' Y5 s( F
  40. ; There is no name validation.  If PHP can't find an expected
    " L, x& d2 T+ h/ r* E- _
  41. ; directive because it is not set or is mistyped, a default value will be used.1 H7 s. j* }$ P5 [# r9 F6 W
  42. 1 C! M  C' L; z$ O
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one% Q6 r% r( c) F' N
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 A3 \4 ~5 b, |6 @
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a; m! T( N* r9 d4 r! R  M/ R5 p
  46. ; previously set variable or directive (e.g. ${foo})9 W3 a/ W( b: K( w9 K) U

  47. ! _6 L6 ^$ Y% F/ r
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 X3 ?9 J- A0 w# q
  49. ; |  bitwise OR7 |6 N3 C- J, C( ]. N* P2 W
  50. ; ^  bitwise XOR
    1 J- I" U1 I) F8 D
  51. ; &  bitwise AND
    $ k$ g" J5 @6 I" j! N1 f
  52. ; ~  bitwise NOT1 L! P, y+ A5 @4 y/ \
  53. ; !  boolean NOT! e5 ]6 I, h4 _( D6 P% V
  54. 5 B, y- {' Q, X: f9 \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    % H, }% m+ t7 L9 [
  56. ; They can be turned off using the values 0, Off, False or No.
    8 ]$ p6 e% n" J4 v3 p  B  X' D2 [
  57. , @& s1 ]& k6 ]. y  t4 s
  58. ; An empty string can be denoted by simply not writing anything after the equal
      ^) g. B  y+ m! v
  59. ; sign, or by using the None keyword:. T- u7 H8 e* @  y$ P2 g. \

  60. 4 S! `& y& z+ J) r) s' {+ W
  61. ;  foo =         ; sets foo to an empty string- G+ F% V# Y  g! Y, D
  62. ;  foo = None    ; sets foo to an empty string+ x  |5 D. v* m
  63. ;  foo = "None"  ; sets foo to the string 'None'
    / Q9 W$ K( d' Q" b3 b  T# l
  64. : ~3 Y# n/ W; _& g' q4 j7 Q! r. m
  65. ; If you use constants in your value, and these constants belong to a
    - @. ^" z, r' c4 r7 ]; \+ _
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),+ p  N, b+ z1 p5 s
  67. ; you may only use these constants *after* the line that loads the extension.8 h, `1 _1 j9 Z8 z: a+ A
  68. " l( U( Z4 V# b) h; s" l) c( W
  69. ;;;;;;;;;;;;;;;;;;;
    - t: M& {$ h* f& b: L! @
  70. ; About this file ;$ [% y" I. T2 j5 Q0 c* ~2 U  ~; M# n
  71. ;;;;;;;;;;;;;;;;;;;4 F( c, H3 @, v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . S( e6 ]4 ~/ }  R6 s, U
  73. ; in production environments and one that is recommended to be used in7 R% D3 W1 Q2 i) X9 i
  74. ; development environments.) h- N5 _# d" Q4 w; y4 m, s3 M5 G* V
  75. 2 O2 A6 B1 o* w2 X; G* Y0 i
  76. ; php.ini-production contains settings which hold security, performance and9 O7 N, X6 |& b, w
  77. ; best practices at its core. But please be aware, these settings may break
    , c2 @" J1 U' L# q% l' v* X
  78. ; compatibility with older or less security conscience applications. We
    1 c" s/ l2 G( [+ {- i
  79. ; recommending using the production ini in production and testing environments.% R5 e- X: G  f+ {% y% I
  80. 0 D' u/ c; A: V" L) \, }. M
  81. ; php.ini-development is very similar to its production variant, except it is: }# O0 x  U# U6 a2 U: W$ i) T1 V
  82. ; much more verbose when it comes to errors. We recommend using the/ w* P& M& \- d+ H% Y5 z$ ~
  83. ; development version only in development environments, as errors shown to
    + R! c& c) e' b
  84. ; application users can inadvertently leak otherwise secure information.1 O; _/ z4 t3 m
  85. 3 u8 c, Q* G4 l- {# \
  86. ; This is php.ini-production INI file.
    5 q% X+ v6 Z, s( d" B

  87. ) I6 r0 J6 n2 D& g# ~$ q
  88. ;;;;;;;;;;;;;;;;;;;5 \+ O- o4 Z. P3 }  e
  89. ; Quick Reference ;; x* o4 b/ _1 @5 l
  90. ;;;;;;;;;;;;;;;;;;;; K( e& r5 ]0 t% V2 Z3 V& U  F
  91. ; The following are all the settings which are different in either the production
    3 o% F( ~. Z9 [! ^- {
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % B3 g8 j/ a0 o  U8 f9 R2 `8 B
  93. ; Please see the actual settings later in the document for more details as to why
    - O+ C7 ^9 C: Q; K/ {: N
  94. ; we recommend these changes in PHP's behavior.
    ) i. Y/ [& F0 J/ W
  95. : W  U0 z  t' c' f) s
  96. ; display_errors
    ) v* G0 R6 q* d- J- d' R/ x, C2 {) L
  97. ;   Default Value: On
    / ^: }- Z/ f% `7 X, D- U
  98. ;   Development Value: On" k. @: c7 S' Z/ t
  99. ;   Production Value: Off
    8 u* k+ _, n% |8 m& Z/ ^( N3 {3 M
  100. ) h1 A$ p1 n. W
  101. ; display_startup_errors
    " K, |* }+ S+ h! |7 p$ M
  102. ;   Default Value: Off- u& I8 D$ C" }) \) J2 \' h4 h+ ]
  103. ;   Development Value: On2 |. o& x2 E5 j  K/ Z+ m4 W& Q1 j( H
  104. ;   Production Value: Off0 C0 G6 c. h+ i
  105. 1 q8 n- ~( M! b; h2 r5 W
  106. ; error_reporting/ V; N6 [7 M- }; w6 \
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . _6 `' U2 y+ `: E9 z
  108. ;   Development Value: E_ALL4 h/ p3 R" w; a1 s# I* j' g6 w
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ G& _; @7 D6 D( t# X5 f/ D6 a( k3 C
  110. $ D; ]/ K- K* w
  111. ; html_errors! \. a) z. E3 v7 Z/ t5 e
  112. ;   Default Value: On: Q0 A8 V) r  ~, `
  113. ;   Development Value: On. E' S4 `: B' v2 r$ ^& d) E
  114. ;   Production value: On
    9 N7 R2 {5 r6 k- j6 [
  115. : c" S* J9 P' P6 Y. T& T4 W# o8 f
  116. ; log_errors; j& a' u( X4 O" T
  117. ;   Default Value: Off
    8 \8 ^5 \( @3 ~
  118. ;   Development Value: On
    " X7 m. K7 H6 A
  119. ;   Production Value: On
    0 H1 g2 `/ Z7 ]
  120. . ?* c: [+ Y" \( o3 t
  121. ; max_input_time
    # `3 d+ m" B! m* h; [
  122. ;   Default Value: -1 (Unlimited)  f" t& n  D1 J' ^9 u7 }: g/ r6 C3 C& u
  123. ;   Development Value: 60 (60 seconds)4 j0 y- ~0 [% F2 E2 H8 z
  124. ;   Production Value: 60 (60 seconds)
    + J3 b0 W- P; Q* K. E; |
  125. - l! q& a. D3 D3 E: P
  126. ; output_buffering" [% ^8 A, p( \3 _
  127. ;   Default Value: Off; z) n/ @7 v4 }' Q+ v
  128. ;   Development Value: 40966 z0 z1 ^" _% A' H8 R# q
  129. ;   Production Value: 4096
    5 Q! q" z% i  O9 x

  130. : F3 H" N& }( I6 W( }/ w; Z
  131. ; register_argc_argv) W* v- \0 J/ Z$ F  V! y" {4 q# j
  132. ;   Default Value: On
    7 t& p2 C: F: A: ^3 x. y; b) T
  133. ;   Development Value: Off" l: C: B2 d( g6 x% s, [/ F( r
  134. ;   Production Value: Off0 y* U0 H8 p0 q; o6 p; H4 N$ w
  135. 3 g3 h5 J/ G/ A8 t
  136. ; request_order" c3 ]7 ^9 o# `5 @7 k4 S
  137. ;   Default Value: None/ @: T3 J# @, M  W* B
  138. ;   Development Value: "GP"1 Q" y$ o1 A; }8 `0 R) C4 Y8 I
  139. ;   Production Value: "GP"$ a' m+ a1 _3 w
  140. 4 n8 X# q3 }& l' b1 p
  141. ; session.gc_divisor
    # z9 q" L7 j" D
  142. ;   Default Value: 100
    ! Z$ ^. m" ^. D+ m5 Z' C
  143. ;   Development Value: 10004 ]$ i: ~& I. O( @! }0 w! b: G4 G9 b% C
  144. ;   Production Value: 1000, F* ]) y) E4 N: b5 G5 p0 K  p5 c
  145. 7 y: g3 o6 H' s$ M3 B5 i# _
  146. ; session.hash_bits_per_character* H& s* ]1 Q! t- K+ ~
  147. ;   Default Value: 47 A" N* |/ \& x' i. y
  148. ;   Development Value: 5+ b) m7 W( Y( t
  149. ;   Production Value: 50 h) p" _# u  F0 @+ ^
  150. 6 G+ R+ }6 Q$ E
  151. ; short_open_tag
    + l( Y' j, ?% g& \6 z  B! h
  152. ;   Default Value: On) @; e) L) Z3 [8 B; E1 H7 W4 m* l: a
  153. ;   Development Value: Off( j4 A1 x7 _% ^+ }& T/ j
  154. ;   Production Value: Off6 N1 f2 g; _5 ]4 A
  155. " `2 P. s+ a" N4 J
  156. ; track_errors5 i! n8 R8 |  r) U
  157. ;   Default Value: Off3 O# |) @. G* R0 r" O5 M
  158. ;   Development Value: On
      u! G! ]% J! d" R
  159. ;   Production Value: Off3 R; B% o, l) x( z, t2 Y
  160. 3 C- {- n% `  V+ `. z* L0 F
  161. ; url_rewriter.tags
    5 D2 k  _$ r# @* i4 O$ H  f1 ^
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( i6 T7 p5 ]3 C& S" V6 l4 }
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : Q4 I  v2 L8 X/ Q9 M% T0 S
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". W9 G  i, b! _
  165. # Q: Z+ g& C4 o0 w! K0 j4 O0 {& f
  166. ; variables_order
    4 F: i; I2 w8 N
  167. ;   Default Value: "EGPCS"
    6 x) V( T- ~* |: E/ O8 h+ |
  168. ;   Development Value: "GPCS"
    : ^& q" z1 w0 Z
  169. ;   Production Value: "GPCS"
    # b) K% m8 \9 k3 J0 K* R. t
  170. - X4 Q' s% p! w* f2 p4 r
  171. ;;;;;;;;;;;;;;;;;;;;
    ) F5 Y$ f) c" @$ _8 w8 q
  172. ; php.ini Options  ;7 x3 F; W$ v+ q9 M
  173. ;;;;;;;;;;;;;;;;;;;;7 ~: n) R/ J$ Y/ w: F% {9 s
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . L; \" X* W6 [
  175. ;user_ini.filename = ".user.ini"
    9 N. |( v/ W) S* a& H
  176. , B+ S4 x1 _3 |8 f
  177. ; To disable this feature set this option to empty value; }7 F- \1 H+ ^+ l
  178. ;user_ini.filename =
    ( D8 R5 k& v9 r* i8 t; O8 T
  179. 2 y5 p, I6 y- y4 e" ^
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 I) d* p1 k, @- |
  181. ;user_ini.cache_ttl = 300) [' }0 G# r1 T7 z6 v

  182. . A- w6 \& b8 f9 y# E  W; b
  183. ;;;;;;;;;;;;;;;;;;;;; Q; f9 ~  X7 \" D3 R" `8 e: \% q
  184. ; Language Options ;
    4 J% _- p6 A( J& T7 p: v( Z/ G
  185. ;;;;;;;;;;;;;;;;;;;;3 \* q) I0 T6 c4 M4 Q8 \

  186. # l% g' o) _1 T/ P
  187. ; Enable the PHP scripting language engine under Apache.
    9 U! w) r% {' i% m3 D3 g+ a
  188. ; http://php.net/engine4 |2 @: y$ D3 p/ r8 J: P! T
  189. engine = On5 F1 o: t" Z( z; o" T
  190. : x, Q3 A: x+ X" i% G
  191. ; This directive determines whether or not PHP will recognize code between/ n& O- V& G9 ~8 ^, ~5 q: K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is. }* z5 u$ k7 g7 F
  193. ; generally recommended that <?php and ?> should be used and that this feature% \* p- h' f* B$ o; D9 ~
  194. ; should be disabled, as enabling it may result in issues when generating XML8 b  c# N0 ]9 p, ]. o) c
  195. ; documents, however this remains supported for backward compatibility reasons.
    - I$ |  G7 \+ ^0 j
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. G+ j0 N6 Q" |# w5 o+ M
  197. ; used regardless of this directive.
    1 |$ D* ?7 R2 ~5 \0 V
  198. ; Default Value: On: A5 D/ u. y! p, L3 [
  199. ; Development Value: Off5 t* a6 m, U/ @; ^: f
  200. ; Production Value: Off
    + v6 t8 y. S! v/ g5 \( @
  201. ; http://php.net/short-open-tag
    " T) E% |7 }1 P5 A
  202. short_open_tag = On1 \8 r. ?4 E- }' Y# k. F
  203. 2 n5 j0 _7 I: p( I/ t. F
  204. ; The number of significant digits displayed in floating point numbers., p/ E3 ~* j$ }' Y8 q: r0 }' j
  205. ; http://php.net/precision6 ~) m+ X: Z& l  B/ \
  206. precision = 14
    , l8 Q6 T4 O& @6 w; f
  207. 8 ~) K$ O* K7 Z1 U& s/ A
  208. ; Output buffering is a mechanism for controlling how much output data2 O2 ?) c; `* h$ J
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that- L& _+ T' N% b9 V
  210. ; data to the client. If your application's output exceeds this setting, PHP+ U! S% z& x0 G3 Z
  211. ; will send that data in chunks of roughly the size you specify.
    , B$ T/ h" o' d5 q) b5 x7 T
  212. ; Turning on this setting and managing its maximum buffer size can yield some* b$ G+ M2 g; J; M: `* e
  213. ; interesting side-effects depending on your application and web server., f# h% {( Q) j! F% D0 b
  214. ; You may be able to send headers and cookies after you've already sent output2 L" n$ G, G5 z0 ^1 r
  215. ; through print or echo. You also may see performance benefits if your server is; j" |) _! _+ ]) B: g) N, i, I3 P9 q
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ! j4 N( V! g* ~9 \9 @
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance; L6 u  U6 v: p
  218. ; reasons.
    4 H2 P- x) W" P; v! v
  219. ; Note: Output buffering can also be controlled via Output Buffering Control8 V* l; c* I, E+ y/ m8 ]
  220. ;   functions.
    4 j) Y% n5 _# L
  221. ; Possible Values:9 X; f8 B0 m; L3 y
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
      e3 M$ |; Q# G1 g0 @
  223. ;   Off = Disabled
    . k% C; [+ K4 Z/ q  T
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.# `) h/ a' D; r$ p
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 I; }% p+ S! [0 [3 }6 z! W; W: I1 R
  226. ; Default Value: Off
    # A; p: i' @- `- P* R
  227. ; Development Value: 4096: A& D$ h( b. X) D' m0 C0 ~/ p
  228. ; Production Value: 4096
    , Y+ `* @/ \8 C7 q8 R
  229. ; http://php.net/output-buffering
    $ P( Z( Y% Z( I0 c) e
  230. output_buffering = 4096
    & ^/ V8 o  v) l1 O1 C2 h9 v
  231. , v* Z$ o- P- C) E2 A$ n. A+ g7 a
  232. ; You can redirect all of the output of your scripts to a function.  For
    3 S7 M' S$ D8 |. I9 V
  233. ; example, if you set output_handler to "mb_output_handler", character- N- ]2 q3 A* q6 |( ]6 j& U
  234. ; encoding will be transparently converted to the specified encoding.+ s  u9 A6 K/ q. y3 X# L8 y% k
  235. ; Setting any output handler automatically turns on output buffering.
    ! ^) [+ ~, c' n; ~9 c0 Y& d
  236. ; Note: People who wrote portable scripts should not depend on this ini- _& h6 n# Q4 j4 ~" u  A- c
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    3 @) R7 [) ?, B  p; }- X3 }  ^2 u
  238. ;   Using this ini directive may cause problems unless you know what script
    - W/ Z3 f! {& R8 t
  239. ;   is doing.7 C% p; r1 U" l; F; w
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"# G$ P$ Q8 M1 r$ ?' k
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    4 J7 @6 X- r, e2 o* w+ F6 X6 A2 ^; J
  242. ; Note: output_handler must be empty if this is set 'On' !!!!' c2 t. v2 R$ k2 F0 C$ o. e+ @5 A) T
  243. ;   Instead you must use zlib.output_handler." z" X. H1 F, m' o: s# ~
  244. ; http://php.net/output-handler
    - Q- x) R; V' ]) j$ U1 n1 A
  245. ;output_handler =
      @9 e, {: C# W5 G
  246. " H- Z+ z0 G. `
  247. ; Transparent output compression using the zlib library& ~% g0 m2 V* ^7 H
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size4 m+ V7 Y3 M6 U! }" l" G! [
  249. ; to be used for compression (default is 4KB). n3 }- A/ l0 C) d- {5 l
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    " r7 s2 {9 }. \' L" S
  251. ;   outputs chunks that are few hundreds bytes each as a result of6 g- s6 [' b! J4 P9 X8 P
  252. ;   compression. If you prefer a larger chunk size for better
    , A3 M, M: g" n% S- L0 X  T
  253. ;   performance, enable output_buffering in addition.
    " u" t$ k* r: B$ |/ V4 B0 u) [
  254. ; Note: You need to use zlib.output_handler instead of the standard4 x  H+ H: [# j5 A
  255. ;   output_handler, or otherwise the output will be corrupted./ k- _- {* o$ ^1 M7 {9 }% X
  256. ; http://php.net/zlib.output-compression! S! Z4 O' w, R- w. l; |6 z; i
  257. zlib.output_compression = Off+ Q/ i! b! X4 ]9 t. v. \
  258. ' @8 Z3 o. j% B) Q
  259. ; http://php.net/zlib.output-compression-level
    0 B' M9 L4 m% v# a4 t0 v
  260. ;zlib.output_compression_level = -1
    , \" e" T+ r& B( v4 H: H

  261. 1 `5 B: Q8 e! O4 x% V& W
  262. ; You cannot specify additional output handlers if zlib.output_compression" a. i; ]/ I# q7 B% P( Z
  263. ; is activated here. This setting does the same as output_handler but in% N% C0 A, V3 s  h1 N% c; ]( g" O  D
  264. ; a different order.& t& D; D0 ^0 _* V6 U/ b( i/ \7 s
  265. ; http://php.net/zlib.output-handler
    7 `+ e# I/ j$ u# D  a, U* O% q+ j
  266. ;zlib.output_handler =+ \# R  s& f8 ^& h& P& P3 b
  267. * P3 @( S9 ?6 ?5 ]" P7 C
  268. ; Implicit flush tells PHP to tell the output layer to flush itself2 ]( _- k( }6 U. A' W# N  B
  269. ; automatically after every output block.  This is equivalent to calling the  _2 K1 W6 E# Z' ~
  270. ; PHP function flush() after each and every call to print() or echo() and each
    " g4 b  U$ q# p; C. o0 h4 K1 p
  271. ; and every HTML block.  Turning this option on has serious performance+ t7 C+ v- u* D' p0 [/ Y# |+ U
  272. ; implications and is generally recommended for debugging purposes only.3 `( y, G( a' a! r
  273. ; http://php.net/implicit-flush
    ) i1 B' h: Q$ f! Q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI: y( o, [" a8 G# w3 j8 @7 X4 S
  275. implicit_flush = Off
      s7 q, c( G$ I# m5 y

  276. , Q& T6 h) }: \0 R
  277. ; The unserialize callback function will be called (with the undefined class'2 K7 _8 D) j4 h$ C
  278. ; name as parameter), if the unserializer finds an undefined class
    1 g! q6 U% b. H) \2 X
  279. ; which should be instantiated. A warning appears if the specified function is8 f/ \' D& x' {  G5 U
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ; ^6 q/ O, U; U/ n# E# K5 h" v5 ?
  281. ; So only set this entry, if you really want to implement such a7 Q; M2 h/ ]- X4 T
  282. ; callback-function.
    + Q- l/ P) Y" v
  283. unserialize_callback_func =1 U4 ~7 L: L2 c$ h) R3 }9 c8 X
  284. + Y& F/ Q& m* _; u' _* w. I5 z
  285. ; When floats & doubles are serialized store serialize_precision significant7 ^$ z3 O4 s0 Z. h1 k9 m7 B/ Y* m
  286. ; digits after the floating point. The default value ensures that when floats
    . O7 U6 [3 e5 V) j1 [
  287. ; are decoded with unserialize, the data will remain the same.
      b4 ^% z) g1 N0 g) x# F( @
  288. serialize_precision = 17* n, o4 P: r# `6 u

  289. . |) e# u5 ^* D$ l! S
  290. ; open_basedir, if set, limits all file operations to the defined directory
    : [/ |9 S% [: R$ @, }
  291. ; and below.  This directive makes most sense if used in a per-directory' @2 a$ e: u4 l+ z& a
  292. ; or per-virtualhost web server configuration file.
    8 ~6 G1 h) V* Z7 z* \
  293. ; http://php.net/open-basedir( F; [  i% [! W2 K& |0 @# ^
  294. ;open_basedir =# Z. u0 A3 k, @( f; J# @' z. Y. e

  295. 1 }! L+ P# S' s' Z/ k
  296. ; This directive allows you to disable certain functions for security reasons.- v1 q7 P' B; |4 {
  297. ; It receives a comma-delimited list of function names.
    8 c/ P) V+ p4 a0 r7 E
  298. ; http://php.net/disable-functions: J+ d# U* r/ |# N. c0 E
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* `9 k. ~" T/ q

  300. 1 b$ O5 f* w$ P, k7 L' s$ M
  301. ; This directive allows you to disable certain classes for security reasons.
    ) M: @2 R& f* |- R- Y2 `5 O- A
  302. ; It receives a comma-delimited list of class names.
    $ E; R) H; @" x
  303. ; http://php.net/disable-classes
    ) Y0 W$ E/ V7 X* M" n
  304. disable_classes =3 q- L% F: @4 @4 F% g0 Y

  305. 1 P( E! p2 t. R- D
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 k  G6 C- f8 z: A( z# x  @
  307. ; <span style="color: ???????"> would work.0 b9 [0 a# p) Q2 y* o+ r0 q
  308. ; http://php.net/syntax-highlighting3 c6 g! Z7 \7 y! }; q; P
  309. ;highlight.string  = #DD0000
    6 a, e) B9 h) Y# {8 ?& O9 [
  310. ;highlight.comment = #FF9900
    9 M3 r" h  y0 s$ l
  311. ;highlight.keyword = #007700- t- l6 d! Y; @& T+ a/ o
  312. ;highlight.default = #0000BB; M, C# i/ B" {# H4 L' Z* [" Q
  313. ;highlight.html    = #000000
    % q; P. S5 D# U: F% r' v5 z  f9 }

  314. 2 g( @& F3 `5 i5 _# K. u. y
  315. ; If enabled, the request will be allowed to complete even if the user aborts  ~5 n! g( t0 y
  316. ; the request. Consider enabling it if executing long requests, which may end up
    * a4 i6 v$ A, O  K
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior0 M: s6 ~, ?' B# N7 F& s
  318. ; is to disable this feature.
    : @9 p$ ~4 q3 V5 C- h4 i
  319. ; http://php.net/ignore-user-abort
    9 k6 y6 c4 e& b& u3 {- m3 a9 C
  320. ;ignore_user_abort = On
    6 f+ S) x8 e" ~5 @5 N; b. `

  321. ) f1 Z$ J3 ^& I+ K4 l5 R9 c7 C+ x8 b
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    7 ~  F; k+ B( K# v. J( P! d
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    6 V/ F. p2 j  G9 x
  324. ; the file operations performed.
    $ H! s: l6 W$ k1 X; [$ q7 _
  325. ; http://php.net/realpath-cache-size7 U/ _/ F/ J: y
  326. ;realpath_cache_size = 4096k
    ( l  X4 M+ _3 n% L" N# V
  327. ' E; V: I+ d; i7 _5 [9 {, X
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    7 k5 ?3 J/ O( J, b9 x( Y
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    + o" S8 |" H. f% N! J# ?; _1 A
  330. ; value.5 r7 r( T  p$ z- h* F; X9 L
  331. ; http://php.net/realpath-cache-ttl
    2 q8 O( y$ j  g- X. b  t; l, r0 v
  332. ;realpath_cache_ttl = 1208 _6 ~& F8 e& e. P" R. A

  333. & b8 F( m2 e' E& N8 H$ v
  334. ; Enables or disables the circular reference collector.5 H$ P, N& `0 ^+ k
  335. ; http://php.net/zend.enable-gc
    1 z+ t$ q9 l, g7 e
  336. zend.enable_gc = On
    & B+ ~1 i1 O0 ?, J0 K9 K
  337. 4 o- P7 j0 J/ n/ X) F9 L4 S2 p# H6 X
  338. ; If enabled, scripts may be written in encodings that are incompatible with3 b* P! l/ L5 Q& E' r
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ! Y* y& N+ e% _& S& b: I
  340. ; encodings.  To use this feature, mbstring extension must be enabled.- R9 f! Q6 ~' `& q7 \
  341. ; Default: Off8 T# K8 y0 M: X$ |* J
  342. ;zend.multibyte = Off
    8 l% V8 \! a# o+ Y* i7 V

  343. 4 j! ^% y. S  k% Y
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ( c/ k% t& Z/ o/ Q( \
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.: G# l. `% ^' c# [3 x
  346. ; Only affects if zend.multibyte is set.# d+ R. n  U8 W1 m8 ^& V
  347. ; Default: ""4 N: m1 d  z6 a0 X8 Z2 z
  348. ;zend.script_encoding =
    * c) }8 ?' l. O7 c

  349. 0 o# t  ]) Q( @
  350. ;;;;;;;;;;;;;;;;;* p+ v! o. W9 l. H
  351. ; Miscellaneous ;
    : `7 P0 K  h5 G. T) Z7 e
  352. ;;;;;;;;;;;;;;;;;
    / I# f: q* g' Y! S. {. Z
  353. - X2 X0 t% S6 s' g  K3 X
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    : E9 g# i* G5 {/ r; e
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    : P; y% @! L! E- R
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) B/ q2 p: j3 {: E; I( Y8 d9 h
  357. ; on your server or not.
    9 ~; E: T: G4 T' U& e
  358. ; http://php.net/expose-php
      W) b! R0 ~/ _, Y; ^# ]. I
  359. expose_php = On
    # t. `0 u4 f5 h6 g9 a# n

  360. 1 ?/ l0 J# p" s/ N+ a- [
  361. ;;;;;;;;;;;;;;;;;;;0 |9 W+ ^7 m+ Q7 x- w- i
  362. ; Resource Limits ;
    8 B3 Z' Q  {# D2 ~
  363. ;;;;;;;;;;;;;;;;;;;# z/ Z1 C0 @3 N: x( {- V& v: u

  364. ) z( S" A5 ]& U
  365. ; Maximum execution time of each script, in seconds
    6 `  @3 ?9 O2 ]& n" m, T9 _4 |
  366. ; http://php.net/max-execution-time
    / y( U) j0 p& h  @' y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ `( R' d2 X8 ], @' o: F( e' g
  368. max_execution_time = 300% c1 ~; U( n. I( v: x3 }
  369. * y0 W9 ~( D  n  g
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' ?' S! d4 u+ L) V% n
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / O) C) E, Y: h  z! z3 ~
  372. ; long running scripts.
    9 S% x( m/ `! X/ U. \- y- H
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) l1 ?; |9 Z# E3 v6 L0 o5 E. q/ t
  374. ; Default Value: -1 (Unlimited)
    ( `1 _% t% f: u' H$ u' z5 E; a
  375. ; Development Value: 60 (60 seconds)" s* Y% x$ b# W9 Q- H$ Z
  376. ; Production Value: 60 (60 seconds)! f- s7 g# F' I6 h0 x
  377. ; http://php.net/max-input-time
    ) ]; U3 Y# g9 r# |) Y) ^5 J
  378. max_input_time = 60
    % ~. f! E% ]0 b2 u

  379. + [8 y8 K" S( o' i7 f* |
  380. ; Maximum input variable nesting level4 X+ F3 S% ^0 q+ t2 t
  381. ; http://php.net/max-input-nesting-level
    % L6 t& U: l8 ]' `
  382. ;max_input_nesting_level = 64
    : u4 m) T% k& b; h8 h
  383. + X. m, U' Y; l. _
  384. ; How many GET/POST/COOKIE input variables may be accepted9 G6 u$ M5 f1 Q/ f
  385. ; max_input_vars = 1000
    1 P3 b0 z0 t: C

  386. ' }% ?% D9 r5 R+ `
  387. ; Maximum amount of memory a script may consume (128MB)
    1 {* T; p/ D; |  O" X
  388. ; http://php.net/memory-limit# N8 n3 W  x. f5 B2 Z
  389. memory_limit = 128M
    % A( h$ V8 }+ P

  390. : Z( h/ L1 ~( u# y4 x  q
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 d% x" u, D  D+ H6 R6 C, c
  392. ; Error handling and logging ;
    % s% X. s  \: i  i
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 {' `9 \. j. f% L9 A9 M; ~

  394.   E. `4 u' V2 `. F9 t  M) @
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    % |1 Z/ g% x! |
  396. ; it to take action for. The recommended way of setting values for this
    1 `4 ?" v6 |3 Y( M; f! l- X
  397. ; directive is through the use of the error level constants and bitwise4 A) p1 j; \# D! j5 y: B# w
  398. ; operators. The error level constants are below here for convenience as well as2 g4 a& ~! j+ c( v( K
  399. ; some common settings and their meanings.
    , _# D; \9 F0 y6 N: P% v0 P. w  c
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 h* Q+ T# |8 H: E+ ^0 v+ L* j+ S
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and- p( B7 R2 }! P: E- k
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    8 y0 @0 b& U* M* Q
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    1 U% I/ L  s) f/ k  U- t
  404. ; resources complaining about best practices and coding standards. That's what
    , k, A2 v1 j4 S  u
  405. ; development servers and development settings are for.# b5 f7 E+ U. e2 v! O4 R) Z9 a
  406. ; Note: The php.ini-development file has this setting as E_ALL. This& c6 P" v* m5 \1 H# B2 C: h
  407. ; means it pretty much reports everything which is exactly what you want during: n7 ^( C* P  E$ c
  408. ; development and early testing.+ E) e  T9 C' l% r$ d3 {
  409. ;" M2 \4 q) b- ]
  410. ; Error Level Constants:
    8 b2 F4 o8 _" d; M8 |5 v4 W. A
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)1 v8 U7 k7 n9 Y5 D* {
  412. ; E_ERROR           - fatal run-time errors' j' a5 h0 W4 K) v6 o; K- s! D
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ( G8 D, S+ ]8 M9 C# H' @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    * d9 z3 f. A- L# u6 J! @
  415. ; E_PARSE           - compile-time parse errors1 Q0 ^8 P" C: }
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    / |; x8 |( ~$ u+ V6 c6 o
  417. ;                     from a bug in your code, but it's possible that it was
    $ c# B% P& q  B7 K# s1 c2 z3 M
  418. ;                     intentional (e.g., using an uninitialized variable and; {& I+ V2 C& p" m
  419. ;                     relying on the fact it is automatically initialized to an
    6 B- w( W7 ^4 f' N3 z
  420. ;                     empty string)0 A! i7 ]' V  P& [% m- ^; {+ n
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' R3 G5 m6 g( m4 \
  422. ;                     to your code which will ensure the best interoperability
    ' A, u& m; o% F' v( o& D  l
  423. ;                     and forward compatibility of your code
    3 u" h3 ~+ Q7 A
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    , x) |* _3 ?, T3 S$ S8 G
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' H7 S7 `( U+ y! E* ^- u
  426. ;                     initial startup
    4 P! L& u7 x' f% E1 g
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    0 ]: r6 d8 U- f3 Z6 o
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 S1 n, f, S8 ~  @
  429. ; E_USER_ERROR      - user-generated error message
    $ r' Q9 c9 R: V. J$ c
  430. ; E_USER_WARNING    - user-generated warning message
    ' a# u/ y: ~, {5 m
  431. ; E_USER_NOTICE     - user-generated notice message
    6 o4 a2 J# x5 [3 D' u; ?8 b
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    * z8 E* d- c4 ?) c, s
  433. ;                     of PHP9 i/ u$ I* s% N: S% b
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    : e, k/ w( o4 w3 q8 |
  435. ;- t" N4 ~) ]) j  D2 {
  436. ; Common Values:
    5 o, u* g0 V  |
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)6 d# t4 k( D1 o1 ~# u) J, a/ V
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ) l% X5 A: g# x" U2 a# q, a9 S
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( u6 k# A( j! r9 [# A8 G" R
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    . ]( o) N' v6 y$ Z; n: H5 {# }
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, B# N# ~) \) A4 I
  442. ; Development Value: E_ALL* L7 n& Z" S) \' }- F3 ]
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. {) k6 V0 j1 k/ l+ z
  444. ; http://php.net/error-reporting
    2 S7 ~9 Y9 T0 |3 B9 m9 \- D
  445. error_reporting = E_ALL & ~E_NOTICE
    * x! Z% c( {/ E4 o' E" N, L" s& I
  446. : R* P7 s: z. _* R' H! D
  447. ; This directive controls whether or not and where PHP will output errors,
    # G+ f8 b0 T9 ]  y# d$ w# S& t
  448. ; notices and warnings too. Error output is very useful during development, but
    ; n3 A: z2 E) c# B6 z2 q
  449. ; it could be very dangerous in production environments. Depending on the code5 X9 [8 r6 q0 Z
  450. ; which is triggering the error, sensitive information could potentially leak
    1 M. j1 g' f4 f: {. r
  451. ; out of your application such as database usernames and passwords or worse.  `5 A. ]6 G  s& b. M4 F4 S! e
  452. ; For production environments, we recommend logging errors rather than8 p3 F$ f- U+ Y! y. b
  453. ; sending them to STDOUT.
    6 {% a, m) d. x7 c
  454. ; Possible Values:
    % S  Z2 o' V' j
  455. ;   Off = Do not display any errors- e# @. @# w. V& B/ @7 y
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; J, m4 p' K" L6 E6 g, f- A) j1 \! @
  457. ;   On or stdout = Display errors to STDOUT
    9 b+ q! j! P; d9 u
  458. ; Default Value: On
    / t# x, ]$ t- r9 }7 q' P
  459. ; Development Value: On. K' ?' G7 |- T0 m3 z
  460. ; Production Value: Off8 L5 s8 h$ W% B# ]5 H
  461. ; http://php.net/display-errors
    + Z% Y% T6 l$ w+ v
  462. display_errors = On
    ( H3 M4 {) o9 H( q& C! ?& k) |
  463. & k- ^4 G5 ~& U$ c
  464. ; The display of errors which occur during PHP's startup sequence are handled
    7 z& c, n1 a* V6 U3 {, k# R
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    2 I0 F$ H4 ~. Z8 h( V  w
  466. ; errors from clients. Turning the display of startup errors on can be useful in% A9 O) }. j1 W
  467. ; debugging configuration problems. We strongly recommend you
    9 T- I$ Q: b$ `# n
  468. ; set this to 'off' for production servers.$ C7 o; ?/ B5 n( ]9 W4 j9 B
  469. ; Default Value: Off( F. L6 B5 w8 @  R: i
  470. ; Development Value: On
    5 B5 A8 U3 }! ~- c& l1 y6 x! |* X
  471. ; Production Value: Off
    . d/ o# X' k1 D# e+ a1 w  k
  472. ; http://php.net/display-startup-errors
    5 ]% i" R7 c, @+ O) D' g
  473. display_startup_errors = Off
    * U: ~* m) I) f% ?8 ]- ]9 g

  474. 8 u- @, J6 ?( k! o' h. ?0 k
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) }' ?8 A2 q, O" k7 e
  476. ; server-specific log, STDERR, or a location specified by the error_log; `; W. j, v( c6 Z$ Q. I3 a
  477. ; directive found below. While errors should not be displayed on productions
    $ u0 B4 M. c* _, W$ r; D6 p
  478. ; servers they should still be monitored and logging is a great way to do that.
    ; \7 v/ t  B* U" Y1 ]7 H1 @! ^- ~
  479. ; Default Value: Off
    5 y, ?4 @5 [1 a6 d, c# `
  480. ; Development Value: On+ p' \  T! U; L8 P4 E
  481. ; Production Value: On6 Z4 B9 P0 `# R& f' \! v3 B
  482. ; http://php.net/log-errors
    ! E/ w. Y3 R4 t2 S, s
  483. log_errors = On
    5 N. O8 \2 S$ L7 D+ _  Y

  484. 9 o- Q/ a) z4 R; C7 s
  485. ; Set maximum length of log_errors. In error_log information about the source is  W: K9 g& l+ W
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    & W! Q# o$ D7 J; r6 D' T$ `# x
  487. ; http://php.net/log-errors-max-len
    0 S( E+ H4 x2 z4 {$ c
  488. log_errors_max_len = 1024
    * [  g$ k" a% @- @2 W
  489. ) L  Q! c* C5 o: V" a6 }' A
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    # e, k; L5 M3 d
  491. ; line unless ignore_repeated_source is set true.6 K1 j$ Q3 c4 u$ C- z
  492. ; http://php.net/ignore-repeated-errors" Z; t4 ^6 a3 f5 B
  493. ignore_repeated_errors = Off
    0 f& ~; ~8 n' ^& F
  494. - O* Q- k* i- A, @
  495. ; Ignore source of message when ignoring repeated messages. When this setting7 E( `  K* j, t
  496. ; is On you will not log errors with repeated messages from different files or) U( C' M3 h6 w( F# b; H
  497. ; source lines.7 s6 m9 i) _- a  I# Q
  498. ; http://php.net/ignore-repeated-source
    & {1 J$ }7 Y& b( O5 @
  499. ignore_repeated_source = Off
    2 {5 n1 l5 B: f4 p6 l0 u; d  p: M

  500. ) y9 ]0 k1 {0 R* x" W" [0 k' I
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on# U/ c6 ^/ C  y! o) Y4 p
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    . g; X& _! u9 W" t9 l' S1 R
  503. ; error reporting includes E_WARNING in the allowed list
    ! u7 C' m  t- G
  504. ; http://php.net/report-memleaks/ d9 L8 B( ]1 C$ T
  505. report_memleaks = On
    8 T9 W; }4 V, V' Y: y
  506. 3 U) q$ b5 @( C
  507. ; This setting is on by default.* x& |. z7 L" a
  508. ;report_zend_debug = 0
    1 h+ `; W  N! G( w! Q4 G0 a- P0 T

  509. ' R5 m! ~/ q  y
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    4 b! P( J$ V) p+ B
  511. ; to On can assist in debugging and is appropriate for development servers. It should- w. B$ F5 ]5 q' g8 P% ?9 K
  512. ; however be disabled on production servers.
    % L$ P) D$ d# d( H/ v5 K, o  t
  513. ; Default Value: Off7 N9 T6 l  H9 y" ]) B" J: f/ W- h9 p
  514. ; Development Value: On3 g1 @4 K0 r: @0 Z, x9 n
  515. ; Production Value: Off
    3 W" o# E* |' w3 m$ z  A' k) o
  516. ; http://php.net/track-errors
    ( m# D4 t- z1 \9 R* P* V
  517. track_errors = Off
    ' z; N2 z" g/ x3 e. s7 e! u4 M3 F/ h
  518. 3 ~) @8 m" f% v9 o% O7 h8 j* H
  519. ; Turn off normal error reporting and emit XML-RPC error XML% `( N7 `, A7 Z" |
  520. ; http://php.net/xmlrpc-errors9 R8 W( q8 z1 x& ?& a% A
  521. ;xmlrpc_errors = 08 w# N/ ]9 e- K7 g
  522. 3 J' ~: E/ |, f8 C
  523. ; An XML-RPC faultCode. v( L# q; i7 L+ n3 z1 P% K+ Q
  524. ;xmlrpc_error_number = 03 y8 n2 P! `, C

  525. ' S! x& w1 R! z; Q; I. D
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    " E0 U! C6 b* R. F" J+ O1 T
  527. ; error message as HTML for easier reading. This directive controls whether: T. V/ U: o5 _0 R. T4 `0 s- k; P
  528. ; the error message is formatted as HTML or not.% g( H7 Q; L, }9 K, [$ J- z
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI" g  y, r1 T: L$ Y/ N
  530. ; Default Value: On
    . L! g' ~9 Y  U# m9 O0 d
  531. ; Development Value: On; w7 X! P; y9 [8 x
  532. ; Production value: On
    . C2 \( Y% \" {
  533. ; http://php.net/html-errors
    $ W* h' l8 {6 @% i) I4 v  }7 t
  534. html_errors = On
    0 g( c8 b* u5 a5 }% p
  535. $ I9 ~0 D/ |0 }% F+ n" K: m
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      e% W$ o% ?+ N
  537. ; produces clickable error messages that direct to a page describing the error6 a( t% b) w3 ~& R' n6 t* R7 g
  538. ; or function causing the error in detail.; b, b$ Y# z5 |/ S+ r0 e) \
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    1 z1 U3 H  h5 K  O# H
  540. ; and change docref_root to the base URL of your local copy including the( g7 |" M) C. e9 b' V( K. ^9 ?
  541. ; leading '/'. You must also specify the file extension being used including8 K5 {% N. E* U7 |* `5 n8 U. ^6 @1 o: k
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which# f: ^( `5 }: e( z* s4 q9 V
  543. ; case no links to documentation are generated.! {# e" o6 i4 J1 T" q
  544. ; Note: Never use this feature for production boxes.
    " v; u# Z. A2 w, m* G- T
  545. ; http://php.net/docref-root2 L: W, b8 ^6 `! h
  546. ; Examples
    ; J* _5 n4 _: o4 J( g2 n# w3 q# V+ w
  547. ;docref_root = "/phpmanual/"' m5 ^6 O, j) H. r7 F2 o
  548. . ?/ b% P1 r, o- Z* M
  549. ; http://php.net/docref-ext
    % x( a! y7 L1 ^8 g1 u) X8 @! E
  550. ;docref_ext = .html
    8 q1 c& s$ C/ d- t# i: s4 ]8 |
  551. ; C2 G( J$ c9 f
  552. ; String to output before an error message. PHP's default behavior is to leave
    ( X7 c5 d4 @8 d7 y+ f% k
  553. ; this setting blank.
    9 l0 m# O% A# e6 c- ?3 U6 W! W4 F9 ]
  554. ; http://php.net/error-prepend-string( {# h" |1 d2 r8 `6 j! q1 p
  555. ; Example:% D5 t+ b6 b1 a2 X; v3 m) C
  556. ;error_prepend_string = "<span style='color: #ff0000'>"( b/ A$ l6 v: R( m, P) \2 z; m2 ]
  557. / a5 x7 \! ^, v9 k" z! x
  558. ; String to output after an error message. PHP's default behavior is to leave. P- I  S4 a& N9 h+ A' g
  559. ; this setting blank.  W- |$ u1 o) w" D1 a; I
  560. ; http://php.net/error-append-string
    0 a: G4 O2 l9 b; T2 N
  561. ; Example:+ N! h% b* l. a0 O3 o3 S9 E
  562. ;error_append_string = "</span>"
    & z; M$ n3 d1 C. \0 F; e) }

  563. 7 j4 ]/ G" u/ l0 y8 z. o; i0 ?  Y% g
  564. ; Log errors to specified file. PHP's default behavior is to leave this value: m0 E- Z. {* T
  565. ; empty.8 ^/ d  d1 Q  w; G3 i
  566. ; http://php.net/error-log
    5 v% d+ R1 `; B( G; D9 F
  567. ; Example:: E6 A' R! h4 L( E5 \7 P
  568. ;error_log = php_errors.log0 E. B+ W: r8 q8 a; E/ C
  569. ; Log errors to syslog (Event Log on Windows).# [$ f1 Y0 F4 K2 U' T3 {' p
  570. ;error_log = syslog4 T: Q% w9 U/ [! h

  571. 5 H/ T+ W  l% P* i1 W# S5 [3 p! L" @3 z
  572. ;windows.show_crt_warning# Q: p! d8 t9 s' P' s
  573. ; Default value: 0
    - G! ~7 f4 E& R& @5 b: f
  574. ; Development value: 0
    $ M  y3 b% y7 ]( l) U4 P1 @
  575. ; Production value: 0! O0 ]2 P) t$ A0 M2 @

  576. 0 I* ^1 J/ o" d0 c  m/ T) @
  577. ;;;;;;;;;;;;;;;;;
    ; C4 k: G0 }" N3 F
  578. ; Data Handling ;
    9 e" G7 E* s2 w0 C8 s
  579. ;;;;;;;;;;;;;;;;;
    ' o% z, ]! _) V9 r
  580. 4 `: C) u3 C0 a: H2 B" W
  581. ; The separator used in PHP generated URLs to separate arguments.
    . G1 [4 c& V! J' T7 E2 z, T5 d  I
  582. ; PHP's default setting is "&".
    - ^+ y- V. b0 \" ^+ w+ ^0 W! {
  583. ; http://php.net/arg-separator.output
    ' S/ V# D  u: w( \/ j# l0 H
  584. ; Example:+ O# r& ?$ n' ^% ]0 k8 |2 g* F
  585. ;arg_separator.output = "&"5 S% X2 r' F7 Z( {" o# F

  586. ( I% k/ @, t( f' h6 ]
  587. ; List of separator(s) used by PHP to parse input URLs into variables.0 T6 b: {  o7 K5 Q3 R
  588. ; PHP's default setting is "&".4 _7 b  u0 f3 t" U
  589. ; NOTE: Every character in this directive is considered as separator!
      ^! \3 D" v  h7 _
  590. ; http://php.net/arg-separator.input
    : \; M: e. h- p
  591. ; Example:
    7 t, p7 _7 U+ F1 M
  592. ;arg_separator.input = ";&"
    7 |6 t7 T& i' v& n6 G
  593. % O( l9 b! Y' J* w4 |& x7 Q. c
  594. ; This directive determines which super global arrays are registered when PHP
    : E8 y- O( O. q" _6 n  v( P5 }
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super( [. ^' e% j# E, S# E& l, e4 X6 U. v
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 P* I1 Z- L: J) Y6 U  d' ?1 p0 E4 v
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    0 Y0 ?, N# X. K4 ]. O9 L8 {
  598. ; used as the others, ENV is not recommended on productions servers. You' T/ `7 u/ j  m$ W$ l/ q
  599. ; can still get access to the environment variables through getenv() should you% [' I- i  S, J3 @; w7 E& s
  600. ; need to.
    + Z+ j) Y( n- i: G
  601. ; Default Value: "EGPCS"
    5 e! ~& v, Y8 x3 W% l' F
  602. ; Development Value: "GPCS"
    + M' j/ D# D6 ]3 }: j/ V
  603. ; Production Value: "GPCS";$ X! a6 O1 K/ \" b$ m5 M; a9 |1 E
  604. ; http://php.net/variables-order
    7 s  R# R3 R# [) y0 ?
  605. variables_order = "GPCS"
    2 M5 D  |  {/ n& G' W9 x

  606. : X- @% A+ N2 N# j
  607. ; This directive determines which super global data (G,P & C) should be
    ; z" k0 E8 k  }4 y% g
  608. ; registered into the super global array REQUEST. If so, it also determines
    3 s# [' V  K. G, l
  609. ; the order in which that data is registered. The values for this directive
    4 V' I0 ]0 h9 h0 y. z8 Z. L4 L
  610. ; are specified in the same manner as the variables_order directive,5 _# T) v3 M$ g
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" I; d$ r% ^) L" L5 B, e
  612. ; in the variables_order directive. It does not mean it will leave the super
    4 C5 O# w6 ^& w
  613. ; globals array REQUEST empty.
    ) ?7 @; Q8 K/ G) X1 E9 i
  614. ; Default Value: None
    ' J9 l  X% q& T9 q8 o  p
  615. ; Development Value: "GP"
    1 c2 U) Q7 z, z8 u. ~
  616. ; Production Value: "GP"5 E. h( x0 b; P1 X+ e( c8 K
  617. ; http://php.net/request-order9 u6 P+ q( L' v+ C
  618. request_order = "GP"
    7 Q) A/ Z- J& ?- t5 q
  619. ! k$ M* W. X1 }; S; f* g9 B) x
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ; H; B% ?4 [' q) y7 B! M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    - t8 k) W  @3 @) J9 C6 g( F9 e
  622. ; is invoked. $argc contains an integer representing the number of arguments
    . p- Y0 V: M6 l
  623. ; that were passed when the script was invoked. These arrays are extremely( C) @5 |1 Q( F1 L
  624. ; useful when running scripts from the command line. When this directive is3 `' b9 S! K/ @
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    + x0 `' l0 O, Y+ N9 g
  626. ; a script is executed. For performance reasons, this feature should be disabled- h& w' y* T- f$ z, O5 r- d
  627. ; on production servers.
    ' Z5 Q8 `+ J, n/ Z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI1 g3 A* [2 a) `3 x
  629. ; Default Value: On
    / A$ \7 X% f* L# J/ V
  630. ; Development Value: Off# R, g+ n6 q# x/ p$ E5 a: X( D
  631. ; Production Value: Off: b  `, K; W5 M* g  E
  632. ; http://php.net/register-argc-argv* c3 f8 J3 |; m
  633. register_argc_argv = Off6 Z/ Q7 Y. m2 z. z
  634. 6 |, g/ j( s7 D8 |& U  P
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    : y  S# R1 j! Z
  636. ; first used (Just In Time) instead of when the script starts. If these
    ( v; Y5 i, x7 X" a4 ?
  637. ; variables are not used within a script, having this directive on will result
    - C" C/ d8 Z6 D! J7 n  v* d
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    7 N5 X0 j. g/ e5 Z% O0 Z
  639. ; for this directive to have any affect.
    ' O: o8 f  g/ W7 I; ^  y6 G
  640. ; http://php.net/auto-globals-jit
    + Q/ _4 K3 X; B5 B# `# f# N4 S3 U
  641. auto_globals_jit = On
    6 W8 q+ Q) E' n$ P* ~

  642. 3 \! {3 e& U2 Q0 p
  643. ; Whether PHP will read the POST data.
    4 K9 H# z5 _& `; R2 B
  644. ; This option is enabled by default.4 H" ^$ C, B/ Z' ~+ Q* R
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 U- O' a6 Z% C
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    # e7 q8 Z2 z. R
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ; s5 u+ l; }7 K
  648. ; to proxy requests or to process the POST data in a memory efficient fashion./ p6 N& {+ |6 x) G9 |$ ^9 A
  649. ; http://php.net/enable-post-data-reading; o) i5 I2 }$ u: W( x
  650. ;enable_post_data_reading = Off
    ( B; m! u$ K1 s, R- ~" r5 M; W7 O  E5 r

  651. 6 b8 n8 t3 d0 i- P( s- j" K
  652. ; Maximum size of POST data that PHP will accept.- Y5 K+ g4 A1 \' x
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) E* [4 Q4 ~% |9 @
  654. ; is disabled through enable_post_data_reading.' @. T; {# t! R. q/ j, V
  655. ; http://php.net/post-max-size, U' i' m4 O% o+ U0 ?" o
  656. post_max_size = 50M
    " ~* c; Y& n% N, @; N/ S2 [

  657. ! p: m# N; x( E7 e& q+ M2 i# @
  658. ; Automatically add files before PHP document.
    6 K: Q, ?: s+ k/ C, R1 l& X* @
  659. ; http://php.net/auto-prepend-file
    " ?3 P8 ~6 M: B
  660. auto_prepend_file =- H  I; F8 y: O$ V& n

  661. & E+ p" C) h2 a5 t( a! U
  662. ; Automatically add files after PHP document.
    + Q3 P) l$ R) ~. J
  663. ; http://php.net/auto-append-file
    7 q3 y! Y7 C# P7 Z% I; K
  664. auto_append_file =$ r5 a/ m4 C$ t& ?, v+ q. x
  665.   _" ?& j4 e. \/ m
  666. ; By default, PHP will output a media type using the Content-Type header. To& n" ^* z( s2 L0 p
  667. ; disable this, simply set it to be empty.
    ( w* ]2 b- W# y! F
  668. ;
    7 ?4 t. j$ @* d0 U. ^7 s/ q: Y' k
  669. ; PHP's built-in default media type is set to text/html.
    % ^4 e" A& l* M+ A1 r+ c- Q
  670. ; http://php.net/default-mimetype
    . w5 Y' O5 G1 r) I+ t2 J
  671. default_mimetype = "text/html"
    % O- I) U, Q. a5 C1 @0 R  `1 F
  672. 4 v- @% U1 N, m' F5 v8 }' ~
  673. ; PHP's default character set is set to UTF-8.
    & t9 @6 D8 [: `, s
  674. ; http://php.net/default-charset
    : d( N3 W* x- e/ E, o0 J6 w# X
  675. default_charset = "UTF-8"
    * P1 k, f3 ^3 D" C
  676. / W1 {) R# k1 Y+ T
  677. ; PHP internal character encoding is set to empty.' Q8 ~" x4 z, A0 F, ?3 t
  678. ; If empty, default_charset is used.
    " s% G6 y) h3 E1 z! s
  679. ; http://php.net/internal-encoding
    ( `  ~2 {( j/ a0 M- x5 P
  680. ;internal_encoding =5 ^" Z" x$ n9 |6 r" F1 O- L

  681. 9 i' J3 `, T4 Z- U0 _( ?
  682. ; PHP input character encoding is set to empty.6 h5 \# j/ J2 V+ p) J; s
  683. ; If empty, default_charset is used.
    4 Q. g3 m* M. i1 |3 E) f
  684. ; http://php.net/input-encoding" k0 A4 \0 k- y9 b
  685. ;input_encoding =* d$ p! _6 {' c
  686. ! v) p$ h2 k% b0 B9 |
  687. ; PHP output character encoding is set to empty.$ v9 y/ `$ ?: _4 Q* U: A
  688. ; If empty, default_charset is used., R/ A; u: f1 j: P( V" |6 m4 W, G' Y# q
  689. ; See also output_buffer.$ \. z/ h; l- c" T& V8 b
  690. ; http://php.net/output-encoding- V: k0 Q) o! H3 N3 U
  691. ;output_encoding =0 P3 j' H0 H% \5 x3 z" H, p# K( y

  692. - T0 J- s. b! x: v
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 F" w; Q9 w" C+ h9 T
  694. ; Paths and Directories ;4 S. v7 |; V& Q6 U4 e
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;: I2 E$ J, C5 r1 P8 g9 e
  696. 4 R  D8 f/ s( f; p
  697. ; UNIX: "/path1:/path2"  m8 B8 t0 C: l' U/ ?
  698. ;include_path = ".:/php/includes"
    - f$ Z; o9 \9 x0 z8 t
  699. ;
      M( p0 |) m' V- k) Y
  700. ; Windows: "\path1;\path2"" b5 V' n; z' E$ Z! ]/ u1 N
  701. ;include_path = ".;c:\php\includes"
    ( J' f( N' [# y; U, ?9 Y. G- G
  702. ;
    * }: s, }% R5 E% m# _: J% f/ z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; g3 S, Z  w/ b( x( a
  704. ; http://php.net/include-path; g8 R( C( h  j

  705. 9 V) M" V2 @' W8 O( u+ E
  706. ; The root of the PHP pages, used only if nonempty.* p% W* p, ]4 p9 U
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 O3 M) N* }& D! _+ |! ?
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ' b' j" ~, z& O" H  y  e: S
  709. ; see documentation for security issues.  The alternate is to use the$ G4 R& @/ n/ M5 C, w0 f+ O" s0 A
  710. ; cgi.force_redirect configuration below
    / R! t9 t/ ^2 D1 Y# X6 s* A
  711. ; http://php.net/doc-root/ H4 B. w3 ^* D" L8 W- x/ W
  712. doc_root =
    " {7 r+ I& B' e& k9 i
  713. $ S7 H* |' l! Z% G9 f
  714. ; The directory under which PHP opens the script using /~username used only
    ' c: d, v) H+ V
  715. ; if nonempty.
    7 H  R- i' ]" m8 C
  716. ; http://php.net/user-dir) _) R2 ~; I1 b& |* j+ J( x
  717. user_dir =
    : ^) `8 o1 ]4 b' E* f; F$ C9 ]3 W

  718. 9 Z" ~( f' ~  C9 P# C
  719. ; Directory in which the loadable extensions (modules) reside.- W6 z, m) H9 X7 q
  720. ; http://php.net/extension-dir
    2 e% _2 B; w, ]3 O$ Q! X
  721. ; extension_dir = "./": N4 Z2 p+ B' k) t
  722. ; On windows:' @" f% O  e3 P+ y. ~- k' J
  723. ; extension_dir = "ext"
    * y7 t/ A/ ], `9 p
  724. 9 |4 @/ Z! W' U" [4 }& D
  725. ; Directory where the temporary files should be placed.
    1 m  d6 Y7 f' \2 C4 A
  726. ; Defaults to the system default (see sys_get_temp_dir)
      I7 b; E; G! P1 O
  727. ; sys_temp_dir = "/tmp"8 ^/ `6 {7 Y5 a$ `( q4 \
  728. 0 @* [+ z( ~7 E0 z
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ( l1 [) e: a9 L6 ^8 f, n0 F1 R. R
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically  H6 l7 B5 n- I: [& Y
  731. ; disabled on them.8 C, M/ [0 a, y% |: ~1 a$ Z7 C  w, p; ?5 F
  732. ; http://php.net/enable-dl
    2 f  L2 T4 c. G$ D3 W: h
  733. enable_dl = Off2 _" s& y9 Y; n( z4 Z- e' f2 S

  734. - G6 M9 ?7 a- b! Y  m
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) V* l' J# M, C% k. d- X1 |
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    - ~' R7 d0 d" {% {$ C- s6 I
  737. ; turn it off here AT YOUR OWN RISK6 Q! k3 T+ G# K. n
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    9 F  W. n- }8 a& i
  739. ; http://php.net/cgi.force-redirect6 I/ S& X$ r6 F9 V9 V, m
  740. ;cgi.force_redirect = 1
    / ^" T( |5 m3 @9 {" C! K
  741. 1 r3 X1 J/ Z3 `5 c
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ! I% I1 w) M5 g3 O+ e& _( I: E& ^
  743. ; every request. PHP's default behavior is to disable this feature.
    7 f; s1 F- _3 D& O2 y
  744. ;cgi.nph = 1
    . b# O3 Q; ~1 p8 n, h$ c9 f7 n+ L
  745. * M* ?6 D3 X7 q* ?- y" A
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 Y) H9 ^2 J$ B* g% T% N$ T- k
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    8 M3 a# O- _' |2 g* W( X% w% G
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % I$ R" _* Y3 C' x0 i- i
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    - P& w0 i1 ~! D3 ~8 k" x
  750. ; http://php.net/cgi.redirect-status-env$ r3 F" T6 D: {6 J9 K/ O: T& y  S
  751. ;cgi.redirect_status_env =
    ! w& \. _) x+ W
  752. ( \2 ^, t: N- G1 x' D1 |8 d" y
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's1 h! y9 h$ r' ?. P" g
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    . V+ y! E# x& X
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 E& ~9 B: ^6 h9 T3 o2 j( s# \9 x
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    . T7 s9 l3 r% b0 k8 ?% o
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    1 _" s' H/ o; |4 ^; x4 T, E
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    9 {7 B7 g8 n' a" j9 h
  759. ; http://php.net/cgi.fix-pathinfo  i/ V; {4 i, p8 Q: ]* g
  760. cgi.fix_pathinfo=1% v* V) l) ], x' D
  761. & G/ `' i2 j, z# g! P4 b; W0 l
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ r) e' ?8 n* `, t' C- x
  763. ; of the web tree and people will not be able to circumvent .htaccess security.$ K9 a5 v1 `/ k; `8 C/ A; u
  764. ; http://php.net/cgi.dicard-path6 H  h+ k: U* B/ E1 z7 r
  765. ;cgi.discard_path=1
    ! p, ^" Q7 T4 r6 P2 A

  766. + L9 q& K! e9 d2 d3 W" h
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    " q4 A' u. I4 L: m
  768. ; security tokens of the calling client.  This allows IIS to define the
    # o; i" y* Y3 y9 C4 Y, C
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    * Q; C( S3 l, j2 m" f
  770. ; does not currently support this feature (03/17/2002)
      L& e7 n" n* {" X) P( E
  771. ; Set to 1 if running under IIS.  Default is zero.' D/ x6 K: ?/ d/ Y
  772. ; http://php.net/fastcgi.impersonate
    2 l; i, H8 |8 Q- A3 u& R
  773. ;fastcgi.impersonate = 1; j9 G4 }4 w- P, k6 B

  774. 9 I6 c1 S, @- H0 c$ x8 G
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ Z0 Z* T* s4 I# v. e
  776. ; this feature.
    1 {- W, w% N# U8 t6 B; H; e
  777. ;fastcgi.logging = 0& ?7 K. N2 X- {3 i
  778. 6 O2 N4 a8 i5 [
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to/ i8 k3 n  b2 f/ W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    - V% {* p# B+ r
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    , ?! H/ Q+ V  _+ t- k8 S  h
  782. ; RFC2616 compliant header.
    1 `' G7 }3 T6 h  U3 p2 s
  783. ; Default is zero.
    & R. u7 }1 }$ z; ]/ U+ a! x/ N* }
  784. ; http://php.net/cgi.rfc2616-headers
    6 P: ]" |- A- c. M: `- ?
  785. ;cgi.rfc2616_headers = 0
    " |2 [+ ~' w- o3 x" }& R& j8 [2 }' r
  786. ; a1 u/ D. G" x" _) u" U
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ! s! ^7 B- B$ ~/ [# ]' b5 r' X+ V
  788. ; (shebang) at the top of the running script. This line might be needed if the
    - m. j& \1 T+ v* U) F
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 a1 b- x8 f/ f
  790. ; mode skips this line and ignores its content if this directive is turned on.
    % l* L  N: G* c! X1 l8 `3 f  }
  791. ; http://php.net/cgi.check-shebang-line& Z3 x0 `- l: e
  792. ;cgi.check_shebang_line=15 x8 x" U4 P, f9 n; |6 ]
  793. & {% [- n, \! Y- C6 z. A
  794. ;;;;;;;;;;;;;;;;
    , H; D* q, q: m* B+ O
  795. ; File Uploads ;
    ( a5 X9 ], f) d
  796. ;;;;;;;;;;;;;;;;
    # g3 ?+ j" b: f% O

  797. 3 c0 I. P6 w. v, s
  798. ; Whether to allow HTTP file uploads.
    ; y- }( B$ p3 }
  799. ; http://php.net/file-uploads. {* c1 @, B  t! ]& d1 v% {% L
  800. file_uploads = On3 n" P9 `+ d' e7 E
  801. 3 C! y9 ~$ Z* `. z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    9 `. |% m0 e- |- k4 J, a( I" c
  803. ; specified).2 b" k. D; w  O6 C" r
  804. ; http://php.net/upload-tmp-dir
    : R: v, s5 \+ N
  805. ;upload_tmp_dir =1 ?  z  O. G2 W% V

  806. + @4 l; n7 b# F7 @4 C8 y9 U
  807. ; Maximum allowed size for uploaded files.2 }0 y- q! J& ^5 i9 @
  808. ; http://php.net/upload-max-filesize
    . b5 k5 |4 C* u. ?# @0 V) [
  809. upload_max_filesize = 50M& @4 ~$ ?: t) O: d

  810. % ]$ o+ j3 L# ^/ v6 L- M2 w
  811. ; Maximum number of files that can be uploaded via a single request
    # a5 _9 V+ {+ [, N6 z6 d
  812. max_file_uploads = 20, q/ Q$ t& v- F( F

  813. ' o" q* ^) a, t
  814. ;;;;;;;;;;;;;;;;;;
    7 L' n* w& C- r* H
  815. ; Fopen wrappers ;) H' {  q, m( _" r* R
  816. ;;;;;;;;;;;;;;;;;;% L% T1 Q& g7 Y$ x1 u
  817. + H$ E, R9 @$ ~1 ^
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; B. m8 l) R* V+ `" {
  819. ; http://php.net/allow-url-fopen
    8 E, W+ d- u1 M# T) v  ]0 L
  820. allow_url_fopen = On
    $ }" N9 D, S8 r& a  H# F
  821. ! r) c( {6 d4 q  |
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ' z2 X0 r1 u% r  K. w# ~& h1 {9 u6 X
  823. ; http://php.net/allow-url-include: i% [) d- a# P/ C
  824. allow_url_include = Off
    . b7 u/ }' ~# G; J& H0 d
  825. 1 o0 l7 a$ B! H& S& J7 ~' @
  826. ; Define the anonymous ftp password (your email address). PHP's default setting$ K5 A7 \) D) J/ v, e5 Q" Q, ]
  827. ; for this is empty.4 o) @# X+ y( \% W+ F/ M$ P
  828. ; http://php.net/from6 q# f& m7 N  Z
  829. ;from="john@doe.com"
    1 E9 J  L8 @: N2 L* G) z5 z

  830. " X+ q  b& g7 T" a3 p, G; g6 N. m
  831. ; Define the User-Agent string. PHP's default setting for this is empty.& t0 ]# W- @# K0 x' `$ |% T
  832. ; http://php.net/user-agent1 \0 u& j8 P/ Q. M( f9 f
  833. ;user_agent="PHP"
    8 `5 v$ D+ Q3 ?: n' C3 E) V1 m
  834. # i5 Q! S- l) w- K/ m- [
  835. ; Default timeout for socket based streams (seconds)
    : ?9 ^9 ^4 R* k2 O  E! w
  836. ; http://php.net/default-socket-timeout0 U) t% u7 v5 t( ^' v
  837. default_socket_timeout = 60- N7 C4 u, o' d. U% [
  838. 2 c' B: O: j( j8 T
  839. ; If your scripts have to deal with files from Macintosh systems,
    $ _2 H8 `* s& W9 r( [( F% Q
  840. ; or you are running on a Mac and need to deal with files from8 K' M/ ]' s1 b9 V; y: @
  841. ; unix or win32 systems, setting this flag will cause PHP to
    1 }1 w* `8 ?# f: `4 c6 w7 J; j& T9 Y
  842. ; automatically detect the EOL character in those files so that
    % A& z" h  @* |( w' ^& }; ^
  843. ; fgets() and file() will work regardless of the source of the file.& K/ x3 l) [/ ?6 ?* R8 i6 a
  844. ; http://php.net/auto-detect-line-endings! E( B* W' ]8 l* o. ]
  845. ;auto_detect_line_endings = Off
    6 B, L) a) D& |, C% a

  846. 5 h' S; y3 u1 ]) m" [" q
  847. ;;;;;;;;;;;;;;;;;;;;;;
    $ F. T- d9 F6 q+ f' R" {* k
  848. ; Dynamic Extensions ;, x! u' g% M/ J1 x6 ?
  849. ;;;;;;;;;;;;;;;;;;;;;;
    . X6 I* k1 O4 W# ?0 C# L7 z8 L

  850. 2 b7 Y; |5 O/ k
  851. ; If you wish to have an extension loaded automatically, use the following
    , p/ W: P' U6 `
  852. ; syntax:
    5 E' K) s. H9 T2 V
  853. ;8 s( @  J7 v$ \/ W
  854. ;   extension=modulename.extension
    : T" t: B% I" J8 q( [
  855. ;
    3 y8 W6 u3 G: y% ?5 d. i
  856. ; For example, on Windows:
    & M# y- F2 \: w
  857. ;8 z9 I; h2 s& \& T4 c7 u
  858. ;   extension=msql.dll$ U$ O# e$ p0 ~
  859. ;
    ) [1 z; U2 |) O3 b0 f) P! }
  860. ; ... or under UNIX:$ H! {2 v  s; M
  861. ;: g& y( _8 k& l) d
  862. ;   extension=msql.so
    & b. B- h6 n7 t! n+ v) U
  863. ;8 A8 N& R- D, P5 c- Y
  864. ; ... or with a path:
    ) N5 P5 P( b( \: Q
  865. ;- ~1 p. B, i  T* d3 c$ t2 H
  866. ;   extension=/path/to/extension/msql.so
    & C  [  ~5 q4 Z" N9 b1 Q+ b
  867. ;
    ' \. M8 V9 d& A
  868. ; If you only provide the name of the extension, PHP will look for it in its; v; [3 S. ~) p7 e* f5 |. _/ Z
  869. ; default extension directory.9 B5 o% A- b" [
  870. ;
    4 f6 t$ p) a) s, u9 A- r
  871. ; Windows Extensions
    ( j) ]' @3 F1 g- ?# U  i
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    3 v4 M7 ?7 c9 q: m' D# `
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    3 M( k" g7 |; ]1 [1 }% v
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    9 P/ g  V* W+ ^) q* k+ U
  875. ; Be sure to appropriately set the extension_dir directive.2 b- O9 _6 c# T$ t4 x* N
  876. ;+ `5 m; l3 c5 n- x) R- `( |
  877. ;extension=php_bz2.dll
    & X' ?; i: x5 q! O; d( S
  878. ;extension=php_curl.dll
    3 t; Z2 E9 i" O- D. \
  879. ;extension=php_fileinfo.dll
    # D; l; a9 l" N0 Y4 [
  880. ;extension=php_ftp.dll
    9 M0 Y- i, W5 ^. p3 {9 `3 R" |
  881. ;extension=php_gd2.dll- L' H" s0 T) f+ B/ Y0 v( {+ U
  882. ;extension=php_gettext.dll
    $ i) Y6 f- y5 d+ ^
  883. ;extension=php_gmp.dll
    : {- R2 H& W5 ?- e. `
  884. ;extension=php_intl.dll0 p9 o% Q/ ^6 l9 z' ^* ~
  885. ;extension=php_imap.dll
    5 ^+ q- |) l9 F; Y+ a
  886. ;extension=php_interbase.dll( X) L6 e2 Z! `/ R7 G- e
  887. ;extension=php_ldap.dll
    7 C' A6 E' t6 C" M! N: g8 O3 @* @
  888. ;extension=php_mbstring.dll
    % l% d: C4 F! ]+ J
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - C: O6 a6 l3 m
  890. ;extension=php_mysqli.dll+ j7 q& P& D6 X
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    9 \2 r6 s) @$ \- B: b
  892. ;extension=php_openssl.dll
    / z- k" K) I8 r4 e5 Q) d: r! z
  893. ;extension=php_pdo_firebird.dll, R  H2 E0 X9 ~$ T
  894. ;extension=php_pdo_mysql.dll& P  ?+ u! r; E
  895. ;extension=php_pdo_oci.dll) Q* W9 M3 b( {9 d/ ?& P# J
  896. ;extension=php_pdo_odbc.dll2 ]2 s" h9 Q4 @9 W8 t: @. F
  897. ;extension=php_pdo_pgsql.dll
    , {# W' p8 R2 a& e4 i* _
  898. ;extension=php_pdo_sqlite.dll* b: k* _. t! m% r- L
  899. ;extension=php_pgsql.dll
    + ~8 |: H+ F3 J& Z) `; t
  900. ;extension=php_shmop.dll+ n6 S) ^( j" C# S6 ~; Z. A2 J7 h) o

  901. ! F9 {7 ]& c% \1 B3 T
  902. ; The MIBS data available in the PHP distribution must be installed.: v0 R" O: r# u1 k
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    $ h. s8 `' e- W0 z8 V
  904. ;extension=php_snmp.dll
    : z4 [( m: U5 D7 C4 G- r

  905. . O. V0 l* ]" d( K
  906. ;extension=php_soap.dll' ^8 |$ u, R" u8 w7 T; W8 J4 C
  907. ;extension=php_sockets.dll. o) M, J7 ?/ h. J) T4 p# j
  908. ;extension=php_sqlite3.dll" y; P' ~' E% n$ Y
  909. ;extension=php_tidy.dll8 p* R9 T! q/ k4 t
  910. ;extension=php_xmlrpc.dll/ B3 k9 Z  @, ~, U. c; j3 k% k" R' k
  911. ;extension=php_xsl.dll8 B8 G4 _/ x0 i6 w& f' x/ E

  912. 5 E8 ~! t/ @$ u5 }& O- k) @
  913. ;;;;;;;;;;;;;;;;;;;+ h) ^% O+ D3 r# g, H' }
  914. ; Module Settings ;4 X5 `# @" ^$ d, T' U0 N# G$ _3 p- h
  915. ;;;;;;;;;;;;;;;;;;;
    8 o9 C9 L' ~$ N- @3 R

  916. : `$ A* `" |0 S
  917. [CLI Server]
    3 h( {, v3 R# b$ F( i; H5 e
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.+ @  v; y4 B: T& H
  919. cli_server.color = On
    ; ?* u% ^1 |* X7 t" m; e. ^7 R' E. r

  920. # ^& X8 l/ Y; a" u
  921. [Date]1 s$ U- S+ |5 `( M' N2 y
  922. ; Defines the default timezone used by the date functions
    3 W2 E+ g( F" V, A# S3 q5 [2 H9 o
  923. ; http://php.net/date.timezone
    8 ]1 L: m3 O* V
  924. date.timezone = PRC3 v" V& ~+ u* V& r8 }( q7 M: ]

  925. ' y# E% r$ b$ B3 A' b0 o: g" U
  926. ; http://php.net/date.default-latitude  n# V4 M4 [! j0 t2 Y0 I2 l9 F
  927. ;date.default_latitude = 31.76674 J9 _( _  P7 x0 M

  928. , F/ D. @6 h% `: f
  929. ; http://php.net/date.default-longitude
    * W0 e  O% v; s! m: H
  930. ;date.default_longitude = 35.2333. h- \+ p, T# @) }: v
  931. 3 k$ H& n7 b9 a* T- ]1 A- S1 X
  932. ; http://php.net/date.sunrise-zenith/ W  z$ U9 C6 n8 h) \2 n: n2 o' _
  933. ;date.sunrise_zenith = 90.583333- q: F$ K8 \) z- q

  934. : _2 l6 g- ]' }8 c9 x
  935. ; http://php.net/date.sunset-zenith
    - D! E9 @& L% t$ _+ r2 O/ E" k$ v  A* I
  936. ;date.sunset_zenith = 90.583333
    8 V: f5 D0 ]; X$ s/ L

  937. & s  N  D2 ^$ D$ @
  938. [filter]
    6 a$ ?5 `& d% Q
  939. ; http://php.net/filter.default; \; j$ p; a3 H) X  A, q" V
  940. ;filter.default = unsafe_raw
    % ]$ Y, g$ G: {3 H* E+ e
  941. , I- Z# ~, A- m3 A( J+ {& n+ j
  942. ; http://php.net/filter.default-flags
    . c$ g( w/ |- H6 v6 b) _, ^7 N+ R
  943. ;filter.default_flags =: j4 A4 x4 O; w; f! W
  944. # s9 p# F% z1 P" W4 P. i: i" m
  945. [iconv]
    ! z. V* D; l. Y5 z% X8 g
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - k! P+ B% M7 q
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.% S8 C2 L7 Y3 b( s, T
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding. g0 v6 o3 A; d4 n
  949. ;iconv.input_encoding =1 _/ A+ B4 K$ r! O, T, o$ e
  950. / k# }0 G4 |1 m
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.* S+ \- P# t" r7 i
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% Z! M! r3 M4 A' u4 ]& j
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ _. T* @- Y8 r; {
  954. ;iconv.internal_encoding =
    : Q8 K& ]! p, j1 f8 u# e6 E+ h
  955. ' |/ R; y4 Z0 k! ?  N
  956. ; Use of this INI entry is deprecated, use global output_encoding instead., {3 l" I9 g$ W
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    4 |* l6 I3 T' z& L' u, G
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding" d  T, \& B  Z
  959. ; To use an output encoding conversion, iconv's output handler must be set
    , L. b9 r  w; L1 M" X1 k1 x
  960. ; otherwise output encoding conversion cannot be performed.
    + S' R7 w$ q1 T2 Q9 P
  961. ;iconv.output_encoding =
    - @) x) z' a0 W# s+ W
  962. 0 c' t$ L! ~9 i9 I# z  g
  963. [intl]
    5 H# D* V, ~4 \9 `6 ?1 A
  964. ;intl.default_locale =2 ?; `/ i* |  W0 r4 Y- o: D2 x6 @+ D
  965. ; This directive allows you to produce PHP errors when some error
    % @$ \2 F& `) m' S* y- j1 W0 v
  966. ; happens within intl functions. The value is the level of the error produced.  c- `0 C0 ~8 D. E: d
  967. ; Default is 0, which does not produce any errors.: b9 Z& y+ G4 [& \! q
  968. ;intl.error_level = E_WARNING) F7 ~4 b( z+ q. U9 w) q! T5 {3 U
  969. ;intl.use_exceptions = 0
    % W& Q& `& l  G* ?% f

  970. ( m+ ?; N  [! N. @
  971. [sqlite3]
    . t8 @5 G, [) m, y8 D! l. y' k
  972. ;sqlite3.extension_dir =) [2 E4 F, g- a" _0 L/ h. N3 i

  973. 6 P; O, w' L9 b/ {% ^
  974. [Pcre]4 F  q8 f% q/ r
  975. ;PCRE library backtracking limit.  |+ H9 J- p1 \6 W+ @: ^$ C( l
  976. ; http://php.net/pcre.backtrack-limit
    8 d' F1 b' I* y' O& g  [2 t
  977. ;pcre.backtrack_limit=100000
    0 ^3 M) o" U$ l* r

  978. 4 n& }. z. U2 z7 D, g# g, {
  979. ;PCRE library recursion limit.# ~/ o8 O6 Q  k, |) v. R7 ?+ ~
  980. ;Please note that if you set this value to a high number you may consume all
    % ?# m. \& i6 `# ?
  981. ;the available process stack and eventually crash PHP (due to reaching the
    4 Y4 T% h: D! s
  982. ;stack size limit imposed by the Operating System).( Z& d; T% V; f1 O- @. U
  983. ; http://php.net/pcre.recursion-limit. ~% z5 ~; b! r+ n8 ?6 f8 {
  984. ;pcre.recursion_limit=1000006 Y* |9 u4 Y) c& V: A6 @5 r5 L

  985. * |9 f* j0 S. \9 }- h% s
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    / Q4 u" i# W$ F1 a; m: p2 o
  987. ;library to be compiled with JIT support.. M9 R# P! C; i& n1 a
  988. ;pcre.jit=1
    + f) B0 T  R! I8 j; z  _. p# w
  989. - ?4 s* r& x$ {( g5 p
  990. [Pdo]
    7 N) z# A1 e5 J9 P& V+ V
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    5 U5 D( a" a; D1 z  o! r- \
  992. ; http://php.net/pdo-odbc.connection-pooling
    1 ~; }( M2 e9 a/ D
  993. ;pdo_odbc.connection_pooling=strict
    6 a1 j% {3 {$ u5 h/ C

  994.   E/ {0 B6 M# Y. H
  995. ;pdo_odbc.db2_instance_name4 B! z: \3 O# m) m) W
  996. . e! T6 N# B% i$ q1 q
  997. [Pdo_mysql]
    ! U$ Y$ G; j1 b3 e  I! o( Y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( d% P* ]. M) r- E
  999. ; http://php.net/pdo_mysql.cache_size; u( f; n+ y. ^% Q( s8 o, U6 ~
  1000. pdo_mysql.cache_size = 2000
    ) Q5 c% N+ ?( G! d4 G; n! x
  1001. 4 e- t% S$ X. J1 h  P
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in( C+ ?8 m: i9 q( g3 R# Z, ~
  1003. ; MySQL defaults.+ z0 Q) m* }0 h6 l$ _8 ~
  1004. ; http://php.net/pdo_mysql.default-socket
    9 k# m# V8 f! v0 T
  1005. pdo_mysql.default_socket=
    + G9 S7 M' \3 P; |6 b# E0 Q

  1006. 1 P) m1 ~4 \: H
  1007. [Phar]8 i# ]% P  b! x) P6 l! j
  1008. ; http://php.net/phar.readonly
    ) u$ ]3 j$ ~# i9 |
  1009. ;phar.readonly = On8 F1 U5 g1 l7 _3 O) B4 [3 O

  1010. " ]% R& L" J) a$ N3 j
  1011. ; http://php.net/phar.require-hash0 n3 E$ o  J: j( o
  1012. ;phar.require_hash = On
    2 ]7 s$ I( W; |9 Y, ?9 v
  1013. * L0 `) A0 @: Z# O! C
  1014. ;phar.cache_list =1 v' y$ V8 F7 p: G9 Y5 U% J

  1015. ) f3 e: K: w* f  O8 Q5 s& K
  1016. [mail function]
    & N1 p" _4 B& p6 R1 V: ]
  1017. ; For Win32 only.; \. n) y( U4 @* }& C, l- X/ E
  1018. ; http://php.net/smtp
    ; E0 [$ ]: f9 m- ]6 ]  h1 S" D
  1019. SMTP = localhost& \; f& d: _& x7 N5 }8 ^
  1020. ; http://php.net/smtp-port
    8 y) P9 q, r+ n1 Z# L/ e9 x
  1021. smtp_port = 25
    6 M4 E, c, Z- C$ {% {
  1022. ; q/ `0 a. D4 f2 |7 N+ @: _
  1023. ; For Win32 only.
    ! A, h6 p8 J; j" x
  1024. ; http://php.net/sendmail-from4 _" J; w1 i" P% |: z1 e, c$ i
  1025. ;sendmail_from = me@example.com
    - w; Y. Y5 b, _; d3 i3 k9 F
  1026. ; w  c% t" g: P
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 q2 ~$ O- ]8 J: D4 e1 m' W
  1028. ; http://php.net/sendmail-path& _  q% J4 r5 [6 C6 \& q5 c+ w7 P
  1029. sendmail_path = /usr/sbin/sendmail -t -i$ t: u* D9 [2 w+ F# [6 K7 X. P0 l
  1030. 1 b. B9 y  k6 k) m0 A8 t7 Y# [* ~- E! M
  1031. ; Force the addition of the specified parameters to be passed as extra parameters# [/ z  U/ L# P$ z3 ~
  1032. ; to the sendmail binary. These parameters will always replace the value of, Q: G# t" x; B
  1033. ; the 5th parameter to mail().
    9 V" |6 L7 K2 b& T6 D% Y6 ?
  1034. ;mail.force_extra_parameters =
    * X% {! X4 c- |2 W
  1035. 6 F. L# @+ u9 z
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    2 ^. ]# L; G# M, f# y6 m: s& N2 x
  1037. mail.add_x_header = On
    ' @, U4 @4 t0 c+ q$ c% d
  1038. 3 c3 s- P9 P8 J' D' v
  1039. ; The path to a log file that will log all mail() calls. Log entries include# R% p9 R7 [3 t) l6 N
  1040. ; the full path of the script, line number, To address and headers.; c3 f* H) G  \0 ~5 p7 Y
  1041. ;mail.log =
    : A% a& z. y$ q1 {$ D$ u3 ~
  1042. ; Log mail to syslog (Event Log on Windows).
    7 M! H6 c7 ]  Z8 V: o. @' E6 [
  1043. ;mail.log = syslog* c# v  g/ x# X( u; @

  1044. 2 y* C1 }; A2 S' t3 |
  1045. [SQL]. n: q$ m0 q% u+ }! y; h
  1046. ; http://php.net/sql.safe-mode; K/ J: q# ?1 [8 k2 U( T+ g! }' n
  1047. sql.safe_mode = Off( E: A" A0 E( Q0 G! N
  1048. * V4 Q  x  K- n
  1049. [ODBC]
    3 u9 i$ b: \( G
  1050. ; http://php.net/odbc.default-db2 m# A1 D3 U6 W1 \& z1 c
  1051. ;odbc.default_db    =  Not yet implemented
    / C  F, J4 P. d
  1052. 7 S* ], o' R$ _) w. Q5 g
  1053. ; http://php.net/odbc.default-user
    1 g. A3 g0 |! {
  1054. ;odbc.default_user  =  Not yet implemented- c7 J; I, G: D2 Q( B) h0 H
  1055. & w% k; k' x9 }8 C- y
  1056. ; http://php.net/odbc.default-pw
    3 v: [# }5 Q  ?+ _* X% O4 C
  1057. ;odbc.default_pw    =  Not yet implemented% t9 \$ E2 _) g8 |. s$ A
  1058. + F- x& i/ E+ `+ l- L
  1059. ; Controls the ODBC cursor model.8 T; s1 E$ T+ R' l/ M, u
  1060. ; Default: SQL_CURSOR_STATIC (default).* C9 V$ q; R- _' O. i
  1061. ;odbc.default_cursortype- ^; z! w; P* s7 `; G# n# N

  1062.   H9 U- x: f/ c( l- @% n7 C( g
  1063. ; Allow or prevent persistent links.
    . V( X4 L" R4 W, x8 f4 Y  w# H
  1064. ; http://php.net/odbc.allow-persistent$ J7 O& ]" s  s/ f; C
  1065. odbc.allow_persistent = On
    : R" n, L: t& `) X4 x8 K

  1066. 9 O* [# V  k% f1 Y( M" e
  1067. ; Check that a connection is still valid before reuse.0 T% X# ^% F+ b1 k( \; a3 y5 ^
  1068. ; http://php.net/odbc.check-persistent
    : k4 D6 t" F  C- e3 b
  1069. odbc.check_persistent = On& [6 m9 B1 {6 v- u2 o

  1070. ! m) i8 C; a1 ]; Q' W
  1071. ; Maximum number of persistent links.  -1 means no limit.
    $ o) ~' v$ T# B# |
  1072. ; http://php.net/odbc.max-persistent% V- F8 S6 c- d( e2 v% N
  1073. odbc.max_persistent = -1
    : L  y0 U# b4 |. ^7 f% N
  1074. 2 U" @0 r! \7 v! H) a+ A% \4 z
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 G$ R8 P5 Q& x7 G+ r4 [
  1076. ; http://php.net/odbc.max-links$ X) Y' l$ h! F8 q' G
  1077. odbc.max_links = -1, w' P5 k) U  G8 ^; b$ X
  1078. , }/ W* ]! @& U* R/ I  A
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- l4 I( d( e/ [; N" ?% Z2 d
  1080. ; passthru.
    $ S! x- {- E$ s& E% i
  1081. ; http://php.net/odbc.defaultlrl
    * s% A) T: Z* a% E; Y
  1082. odbc.defaultlrl = 4096
    7 _: u. n: i6 E

  1083. ' D+ A" `/ _. g) ?& y" }
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! k; K! ^  ]2 R& _7 _6 m
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , @* u, U7 Y$ x3 e; D# A8 w
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode! K6 a: w& p8 |$ U  y
  1087. ; http://php.net/odbc.defaultbinmode
    * G$ `; z) g. [* S2 }
  1088. odbc.defaultbinmode = 18 U1 Q/ m5 o$ o5 n+ W- |
  1089. / o* k5 K& x; r9 J! z' W
  1090. ;birdstep.max_links = -1/ ~; H; c( w( A" T& U

  1091.   f8 s, r, F( \5 r
  1092. [Interbase]
    . B7 N% D( l7 `
  1093. ; Allow or prevent persistent links.! P, [$ D" c: \, T
  1094. ibase.allow_persistent = 1
    $ t6 O' n) f) ~. h2 `! U! F

  1095. & K0 E" ^3 f! d: x6 A# j! `1 x
  1096. ; Maximum number of persistent links.  -1 means no limit.7 n% l! e8 p, H$ J
  1097. ibase.max_persistent = -16 F3 _1 M; R  [! h% x0 b: x

  1098. ! y+ h7 O" }2 e& c( M0 M9 T& u( r
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . ?' a: q8 f/ \
  1100. ibase.max_links = -1
    : n" H! i/ [# b, _; ]' \, A$ x

  1101. ) {) j  H, D7 t; P! p$ }# |
  1102. ; Default database name for ibase_connect().
    8 f+ A/ P# Q( P
  1103. ;ibase.default_db =
    , c& S; ]* {6 P

  1104. / l2 b/ P. V  X: f- \) p  P
  1105. ; Default username for ibase_connect().
    1 N& j" y+ _+ l+ v# ~) p+ t
  1106. ;ibase.default_user =
    / N' k% Y8 Q$ O( s$ `6 h% P
  1107. ! v2 b4 b% T4 S  k. c  y# n8 N: z
  1108. ; Default password for ibase_connect().7 S2 C1 d5 c; E/ E
  1109. ;ibase.default_password =
      T+ b' k! @: U+ B, b

  1110. # k, _8 X6 F: v- ~7 F5 w* ~
  1111. ; Default charset for ibase_connect().0 E' x' U5 n9 S7 |/ v7 b
  1112. ;ibase.default_charset =# M; Z$ s$ J; h3 W% H: o$ t
  1113. + q+ w# N  v, e1 y) F% [
  1114. ; Default timestamp format.
    & u( b! h7 t) D# [. N
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ Q4 S4 a; X) n- C6 d; C! X

  1116. 8 }3 A1 N+ Z3 X7 s+ q
  1117. ; Default date format.5 a5 @. F8 ?1 I. C. Q2 i  ^# w
  1118. ibase.dateformat = "%Y-%m-%d"3 |7 D9 }0 I4 ]- S8 P0 c. v- R
  1119. 6 E6 c8 \) A5 t
  1120. ; Default time format./ I$ ~  W. T5 g! m5 }6 m% ]& C& x* a
  1121. ibase.timeformat = "%H:%M:%S"
    ' x$ f  z6 R9 ~$ i; u
  1122. + B8 W. u1 s4 G9 J1 G5 x2 v
  1123. [MySQLi]( F4 j9 d8 H" i" p

  1124. - |/ m$ u( b- x+ b0 l* o' ^: S
  1125. ; Maximum number of persistent links.  -1 means no limit.( i" p5 t5 [4 l$ u' ]
  1126. ; http://php.net/mysqli.max-persistent
    4 s0 b5 n# ?, K4 ?+ R
  1127. mysqli.max_persistent = -1& y& f, f, C* _& k
  1128. . f# U& a* ]0 f  V
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 W' a. [# Y7 A- X% W
  1130. ; http://php.net/mysqli.allow_local_infile# M3 h8 q3 b  F  o6 y. u
  1131. ;mysqli.allow_local_infile = On- _, k7 L; U9 F

  1132. & u/ h. u, Z" o& |. f( z
  1133. ; Allow or prevent persistent links.1 \9 T: }" j" U! S& a8 ]
  1134. ; http://php.net/mysqli.allow-persistent
    ( A) T" j. V. ?2 d
  1135. mysqli.allow_persistent = On
    - J$ j9 l0 R8 @6 F
  1136. 2 Y$ R/ e) P6 W+ s, V
  1137. ; Maximum number of links.  -1 means no limit.9 u& J/ N5 \1 C  g: P  P
  1138. ; http://php.net/mysqli.max-links
    ' m+ g% j! J# G" R1 H/ q0 C
  1139. mysqli.max_links = -1
    $ W/ z+ _) [2 V6 J( R0 ^
  1140. ! f* i- h; q8 v( c0 H" y5 b
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache" @1 H3 r; T  n! o  E2 k; R% S
  1142. ; http://php.net/mysqli.cache_size% \' q, ?* t/ k& c* v2 x" l
  1143. mysqli.cache_size = 2000
    / u' A' E7 }" l+ R

  1144. - {- f+ @0 R/ k* w
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use) w, J, a; ~. C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' W" ]6 R, s# f0 r" G) |. Y6 G
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    - z; `: w* X9 V
  1148. ; at MYSQL_PORT.- @4 _% O8 T- k
  1149. ; http://php.net/mysqli.default-port
    - y" c0 |. _/ A( S& x: D: o
  1150. mysqli.default_port = 3306
    ( O0 t# t& e* j9 V
  1151.   x2 x& T6 ]$ u! X1 F  }, x
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + j; [' p+ c0 C6 L
  1153. ; MySQL defaults.$ S' N- n% c3 w2 n) j" {8 @3 E
  1154. ; http://php.net/mysqli.default-socket
    % D. s% `6 R5 S. g+ z. x
  1155. mysqli.default_socket =
    / c( ]8 [4 l8 o7 q

  1156. # W" L0 O- ^$ z. Y
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).$ C  ?) [: v2 T( m2 @
  1158. ; http://php.net/mysqli.default-host* F9 S) C8 `9 F: ~
  1159. mysqli.default_host =
    6 H% U, O. u1 Q) q& \: }' h8 j

  1160. % Q- ]" |! u: D2 j. w8 Z
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).3 o" g# p( F/ ?$ Y0 p
  1162. ; http://php.net/mysqli.default-user
    " {5 ]' U4 V9 Q
  1163. mysqli.default_user =) o* p! Q, v0 R) I2 E. b  H

  1164. 3 [: h: r+ m$ K0 _
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    # [8 i1 k& ~% M
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.! S( Y4 G' `& L5 a
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    9 @: u, U8 y4 L4 M5 k
  1168. ; and reveal this password!  And of course, any users with read access to this
    9 C5 [' d2 o' ~7 f2 p5 B
  1169. ; file will be able to reveal the password as well./ d# C+ P( T! `; t6 f
  1170. ; http://php.net/mysqli.default-pw
    , j9 ~  t7 u; }- A( E
  1171. mysqli.default_pw =  b2 l0 P+ E2 Q  G) ?0 X8 Z
  1172. 1 [2 _! X! a- Y. c- Y
  1173. ; Allow or prevent reconnect
    ' S4 c2 }1 W% g# l6 j3 K
  1174. mysqli.reconnect = Off4 `) ~% n4 i9 ~" D  d, Z' X5 _

  1175. * f2 j% X4 }3 Y/ u3 w
  1176. [mysqlnd]+ j8 m4 C8 V1 q# w2 Q% ], M/ n; r# ^
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be6 J7 k/ G' F$ Q, K
  1178. ; used to tune and monitor MySQL operations.
    3 L# [% J$ j0 z' z- s  T
  1179. ; http://php.net/mysqlnd.collect_statistics# M1 u& e# |0 I6 \3 K, m
  1180. mysqlnd.collect_statistics = On3 w9 D1 \; v& T; j0 q

  1181. $ d, p/ [/ P+ C% M0 S- A
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    7 ^# Q* q3 @  m/ `( d6 z- k
  1183. ; used to tune and monitor MySQL operations.
    . ~8 B& c) ^) `  Y2 F
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    , a1 M9 K0 F5 g4 i
  1185. mysqlnd.collect_memory_statistics = Off" @0 d# f" a# t1 v
  1186. ! y7 ^! D; D+ d$ G# s/ h7 `
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    & d  |* A6 v3 w- R2 U9 L
  1188. ; file.6 c, u( S) d0 [! z3 U
  1189. ; http://php.net/mysqlnd.debug0 G" C# p& o( Y! I7 u
  1190. ;mysqlnd.debug =
    " n- {4 I( r- _- Z2 q$ s) V4 ^# u0 G% c

  1191. 5 T5 [: j  }6 o- ~: x5 \
  1192. ; Defines which queries will be logged.
    & G% S7 y5 D) J" c5 v; }6 X
  1193. ; http://php.net/mysqlnd.log_mask! F$ Q- V% P* @5 p2 n  X- |! l  D' i
  1194. ;mysqlnd.log_mask = 0% w! G: l+ c5 J% H6 a0 g6 J

  1195. ) V& s' L/ c$ U1 q+ G  I3 @; i0 w
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
      R& C0 p! I* m: D5 j
  1197. ; http://php.net/mysqlnd.mempool_default_size
    2 I) y8 U9 U6 i; M, i5 }0 j$ t
  1198. ;mysqlnd.mempool_default_size = 16000
      X7 {* l$ ?. m) E- \5 s% R- V
  1199. ! O$ T4 f, d4 a  O
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    % N, Q% m9 ]. k) T
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size, o$ u8 b2 x- x! ^
  1202. ;mysqlnd.net_cmd_buffer_size = 2048! Y' ]( b: z( n

  1203. 7 C. ~6 {& l8 w
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in3 i6 d  f: P2 ^8 A) l
  1205. ; bytes.
    + D" I# x8 G0 a
  1206. ; http://php.net/mysqlnd.net_read_buffer_size: t3 Q* O1 o: ~2 V( O" q+ _
  1207. ;mysqlnd.net_read_buffer_size = 32768/ z5 z4 f& O' S1 r  Z6 O

  1208. 8 Y2 Q3 u9 K4 _$ {7 O. p: E
  1209. ; Timeout for network requests in seconds.6 P' d# y6 k1 c3 j+ l
  1210. ; http://php.net/mysqlnd.net_read_timeout
    9 T" @+ D( v8 n$ I4 q1 E6 n# R
  1211. ;mysqlnd.net_read_timeout = 315360007 \# `) o$ q6 b+ T; _
  1212. * A) C" Q% m6 T* H
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    & `" G. G, m# U
  1214. ; key.
    : F9 {: v4 J1 B
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    2 v1 ]  E/ F1 l: I" B
  1216. ;mysqlnd.sha256_server_public_key =9 k8 H4 A. y) Z% U3 ?

  1217. 4 {9 d+ G4 _* H6 @
  1218. [OCI8]; v. ]- R8 j% _' K
  1219. ! _# n" G6 Q. j, Q* o3 ?
  1220. ; Connection: Enables privileged connections using external
    9 h% J8 E; ]0 a
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ) J9 A' }5 D% N% n# K
  1222. ; http://php.net/oci8.privileged-connect
    + h8 P: K& L/ X! w! }
  1223. ;oci8.privileged_connect = Off
    7 p2 v5 ]* X$ h+ s/ O( `

  1224. 4 A7 c+ v0 v% r) O) g7 n
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    + E* e7 _2 x: ^% v2 P* Q8 U6 ~. L% N5 B
  1226. ; process. Using -1 means no limit., D0 |! p# p! \  {/ y0 |- f" }
  1227. ; http://php.net/oci8.max-persistent" k" m+ K+ n. ]" }3 E% q
  1228. ;oci8.max_persistent = -17 l1 C; Z3 W% g; X3 p$ ]7 b
  1229. , \; c! L6 y% O; U$ Z- Z: D
  1230. ; Connection: The maximum number of seconds a process is allowed to
    8 c# H6 O* w) Y
  1231. ; maintain an idle persistent connection. Using -1 means idle
    + M, W" q* @* ~$ Y6 {
  1232. ; persistent connections will be maintained forever.2 @% C- ]3 A- ?. b0 S; q
  1233. ; http://php.net/oci8.persistent-timeout
    ' r* _; W0 z3 x
  1234. ;oci8.persistent_timeout = -12 `; f& ^) |/ K
  1235. 6 I8 t; N# z! D1 q/ r0 |" [  V
  1236. ; Connection: The number of seconds that must pass before issuing a
    $ b7 m# _( u2 v
  1237. ; ping during oci_pconnect() to check the connection validity. When
    . X; e+ D- s# {$ q2 E* o
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    # I% a" j0 e8 ~; S
  1239. ; pings completely.
    % V3 P3 n& Z0 O  K% V
  1240. ; http://php.net/oci8.ping-interval
    : R+ c# h5 h. i% d1 y
  1241. ;oci8.ping_interval = 60
      M8 I9 `9 c) |; E  ~" I

  1242. 0 l& g, E- w4 V4 K& `* F
  1243. ; Connection: Set this to a user chosen connection class to be used" H1 R* p. i/ t/ U
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    : U0 ^. A1 E2 U0 C2 I2 Q
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to: z, O  \( `6 a, R8 J
  1246. ; the same string for all web servers running the same application,
    ; p; Z9 e' q) c- P+ N* }: q$ j) \
  1247. ; the database pool must be configured, and the connection string must, v7 z' A& I! t$ ]
  1248. ; specify to use a pooled server.
    3 H  K1 u9 M+ O6 f7 E$ g
  1249. ;oci8.connection_class =
    3 s2 B5 \  J0 S/ T/ Q
  1250. * t! n  d! o$ P! v. `9 w8 r6 a1 d
  1251. ; High Availability: Using On lets PHP receive Fast Application
    + M7 q" `3 P6 ]. u0 y# @
  1252. ; Notification (FAN) events generated when a database node fails. The3 t& R/ b" M6 g4 O) W7 H4 ?
  1253. ; database must also be configured to post FAN events.
    ! q% j( C- K% y2 `; g7 s) {
  1254. ;oci8.events = Off5 N- D% t: G! D* t& W, X) J

  1255. % K8 ?9 Q# \* o
  1256. ; Tuning: This option enables statement caching, and specifies how* c4 C/ ]  g# ?) x) r
  1257. ; many statements to cache. Using 0 disables statement caching.
    3 g# `; F9 K7 z0 s' k% `- s; z
  1258. ; http://php.net/oci8.statement-cache-size
    7 @+ O5 F; M( V6 R0 X
  1259. ;oci8.statement_cache_size = 20
    ' q* X- }# X0 D0 s7 `4 o0 ~8 v; i

  1260. 1 \+ T: R7 u$ J; i
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    " ^0 \2 M, c' @: u, q: N9 N* c- h
  1262. ; rows that will be fetched automatically after statement execution.3 ?2 F# l+ B/ b, G* Q
  1263. ; http://php.net/oci8.default-prefetch( M5 u0 ~1 ~- p! P" P% u7 ]$ p
  1264. ;oci8.default_prefetch = 100
    & f5 u1 F0 A: y6 ]- l+ H
  1265. . H' T' M; k3 v/ n; _# L; b! T5 K
  1266. ; Compatibility. Using On means oci_close() will not close
    . t' Z" Q0 s2 e- t9 Y8 Z7 B$ d
  1267. ; oci_connect() and oci_new_connect() connections.! u) K' ~+ e9 O, I( e: X# s! H8 Z
  1268. ; http://php.net/oci8.old-oci-close-semantics
    * k# [: R. n# L$ i' m; S6 }- U/ Y
  1269. ;oci8.old_oci_close_semantics = Off
    1 z1 k' H' L# {0 }7 e
  1270.   q0 E& ~0 d6 ]/ Y2 G5 M
  1271. [PostgreSQL]
    % u+ {7 k7 o3 f& e
  1272. ; Allow or prevent persistent links.
    ; |# o. Z, R0 {% h" K2 \" e% x6 A, w
  1273. ; http://php.net/pgsql.allow-persistent
    7 k! ^, u  c' {- M9 f
  1274. pgsql.allow_persistent = On" r. m) c# `/ ~+ T5 a

  1275. " Z- j- O2 U/ k" i* ]- r
  1276. ; Detect broken persistent links always with pg_pconnect().
    % Q+ w+ j; a8 j6 E4 M! L' c9 V
  1277. ; Auto reset feature requires a little overheads.
    9 h8 W. {2 E3 Y0 j0 N( g
  1278. ; http://php.net/pgsql.auto-reset-persistent  j! _& l$ g+ C/ v; C
  1279. pgsql.auto_reset_persistent = Off* s6 f7 ~) g# o) p! u9 ^% V+ _
  1280. ) a6 q, _5 [: z- i# `- J6 i
  1281. ; Maximum number of persistent links.  -1 means no limit.
    $ U/ P+ i( O+ L- L( q
  1282. ; http://php.net/pgsql.max-persistent2 ~: @: G2 m* a8 i! G
  1283. pgsql.max_persistent = -1
    & V3 W2 Z! \- O5 N& @5 h( `- R
  1284. & ^. l- C- p' a, v% E7 l/ W3 h
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit., P( O, U$ K' l. ]+ }. b* y
  1286. ; http://php.net/pgsql.max-links7 [0 ?8 A4 V3 Z: W
  1287. pgsql.max_links = -1  R& ]4 f& R$ n( Z; b
  1288. ; d/ ~. L5 B& w4 k( K7 [; t
  1289. ; Ignore PostgreSQL backends Notice message or not.
    : g4 t9 a4 F, G* \7 l# N
  1290. ; Notice message logging require a little overheads.* f0 M; K& n! Z# X" q# u6 C+ j
  1291. ; http://php.net/pgsql.ignore-notice0 l2 s, B- N! w& G6 h3 _+ ~
  1292. pgsql.ignore_notice = 0
    8 O* G" `/ ^! _7 I1 a' ?

  1293. $ u2 P3 `" e" [8 g4 B+ G
  1294. ; Log PostgreSQL backends Notice message or not.
    ) p: V! q( Q! o: ?( [- |
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.0 @1 q  z) v9 N# D, d5 Z
  1296. ; http://php.net/pgsql.log-notice
      O+ x6 h8 ]$ O! y% X# x$ G; h; R
  1297. pgsql.log_notice = 0
    7 X9 x: e' w2 }: C
  1298. # N1 A  p* C. u7 q6 e# M1 X% Z
  1299. [bcmath]# t1 X- p/ L! R1 _
  1300. ; Number of decimal digits for all bcmath functions.
      ^: g& W( k. N
  1301. ; http://php.net/bcmath.scale
    - \7 f; |' |) W0 h  A' Z) `. H' K+ s
  1302. bcmath.scale = 03 t; s9 {# v% Y, a5 }; K

  1303. 4 Y* u9 {2 X6 L
  1304. [browscap]' q6 U+ I2 M: x4 Z0 R2 ~
  1305. ; http://php.net/browscap
    0 V# |( c: P+ T' i! ?  [& a
  1306. ;browscap = extra/browscap.ini1 D+ T3 a0 i2 q# B+ k0 c$ @+ I

  1307. ! z$ ]: W1 e$ ^! c2 h/ n3 S# j
  1308. [Session]
    , @; c. d; J  s  P7 w, u1 |6 A
  1309. ; Handler used to store/retrieve data.
    * D2 i7 e+ w* B: E: U
  1310. ; http://php.net/session.save-handler
    0 i; ?9 B! I6 \- k! T( o
  1311. session.save_handler = files
    . K. s: s9 H4 @8 I! F3 P. w$ n
  1312. ! p# F  V% S; y" l; h: k2 r% H, b! |
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    % v# k2 F2 e( }
  1314. ; where data files are stored. Note: Windows users have to change this
    0 V8 ?5 s) k1 r' ]0 z: K* @
  1315. ; variable in order to use PHP's session functions.! _+ ?- B6 }6 x+ m9 E
  1316. ;+ a4 D6 a% ^! K( A  O0 U6 \. c& E% J
  1317. ; The path can be defined as:
    - O) d  {% \/ W- C- K
  1318. ;
    $ i+ K# k5 L( k% \! z- z0 @5 x
  1319. ;     session.save_path = "N;/path"6 V4 r% e2 W. g! l9 @2 B5 V+ Y
  1320. ;: Z' z  D/ U/ v' a- I" |
  1321. ; where N is an integer.  Instead of storing all the session files in1 Y$ Y- @  F7 U8 P' e
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ) ^+ J  h/ e. M( Z9 Z
  1323. ; store the session data in those directories.  This is useful if
    # Z  E) p' l& C3 o. O8 h
  1324. ; your OS has problems with many files in one directory, and is
    ; z# v6 x4 M4 ~7 M: b. M% |2 p
  1325. ; a more efficient layout for servers that handle many sessions.
      e0 Z% A7 ]3 x6 \2 \9 m- v
  1326. ;
    - ^7 l4 ~/ h- S! y( n; [# _2 S- V
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    2 M/ }6 ^& U8 X8 Y( ~/ X3 r+ ^% @
  1328. ;         You can use the script in the ext/session dir for that purpose.7 B' `! k  o3 I; }% D
  1329. ; NOTE 2: See the section on garbage collection below if you choose to# o) e  o' r4 F2 }6 d% j/ P
  1330. ;         use subdirectories for session storage
    5 R7 \( r& Y9 t2 {2 U$ u1 r
  1331. ;- |6 n3 H5 |( u2 W) `/ V) j
  1332. ; The file storage module creates files using mode 600 by default.) L5 M8 S$ h  _8 y. \
  1333. ; You can change that by using
    0 E( `7 Q0 t+ P6 O
  1334. ;
    5 z1 T4 P' B" O" k1 v
  1335. ;     session.save_path = "N;MODE;/path"  d3 ]/ M; \4 Y; s! r7 k3 U1 `- ?
  1336. ;# x  R& ?9 d% E8 Y' U& P
  1337. ; where MODE is the octal representation of the mode. Note that this+ e3 s/ F2 U: i" N: H7 A" z* F
  1338. ; does not overwrite the process's umask.
    ) I) W8 \+ S4 m" r) g
  1339. ; http://php.net/session.save-path) L4 q  T# ]" u/ r, d4 Y
  1340. ;session.save_path = "/tmp"& [4 u* i5 h# f/ G& a+ ^( S( w

  1341. ' X  }9 r* p8 P% q7 H3 A
  1342. ; Whether to use strict session mode.$ J9 R6 }: H* n0 Z; ?) S
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    1 ^1 \4 ]- j( k' Z$ e  S
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    % c4 u- u3 n& @6 q9 I
  1345. ; applications from session fixation via session adoption vulnerability. It is
    1 g/ Z5 m& m8 j
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.9 [( N9 H- Q3 j8 `& i, i
  1347. ; https://wiki.php.net/rfc/strict_sessions
    3 C$ G6 g- n4 ?4 Z1 Z
  1348. session.use_strict_mode = 0; r6 R- Z! n: I7 V/ N
  1349. 3 O% [& F# ?, V- j; l3 J
  1350. ; Whether to use cookies./ T! B3 K! ?% }9 s6 T- C  R
  1351. ; http://php.net/session.use-cookies; x3 J( d0 x- ?) y: E" _4 r0 |
  1352. session.use_cookies = 1, a9 r! g( U& \& B/ h- Q
  1353. # ^7 W3 S, G. [5 x: q2 K! ?
  1354. ; http://php.net/session.cookie-secure
    : i( \8 D, V# |2 [: @7 M
  1355. ;session.cookie_secure =
    ! \6 B6 {0 i, N$ s" n" v
  1356. 5 L/ O; g' q5 z8 Q2 ^$ C0 v& x$ P. {
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining0 j; L: v6 e8 m. i, T6 R" F
  1358. ; the session id. We encourage this operation as it's very helpful in combating+ `8 q: M1 n9 I3 S  v5 g
  1359. ; session hijacking when not specifying and managing your own session id. It is$ |2 [+ d7 U$ w7 s/ i
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.) d, R: D3 o5 k6 z4 ~: ]* c( Q! x
  1361. ; http://php.net/session.use-only-cookies1 x. @; a- ]! Q' L8 |
  1362. session.use_only_cookies = 1# X' P. p/ }  t5 |: l  E

  1363. - D: h4 ]# k/ R) }5 A
  1364. ; Name of the session (used as cookie name).
    # r1 m6 m* \: d3 [
  1365. ; http://php.net/session.name
    , q% v' D5 E/ [% Y  F5 p
  1366. session.name = PHPSESSID; u4 v3 w4 N' [6 h& i5 c8 }- g' f3 r

  1367. ! K, o2 h5 q# d6 D6 \- o
  1368. ; Initialize session on request startup.% X+ c+ r0 m; o9 K
  1369. ; http://php.net/session.auto-start6 Q1 C2 _' G7 y/ |. h9 t) o1 h5 L7 v5 R
  1370. session.auto_start = 0. b' B" K, d) {
  1371. % c. ?: _+ u' G- x; W+ X0 E
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.- V" m  Z& {1 t1 M" x
  1373. ; http://php.net/session.cookie-lifetime
    * L. T5 T4 `) Q' L$ d
  1374. session.cookie_lifetime = 0
      j: a. i$ Z& C7 l4 x7 b
  1375. 8 J/ K- o! z+ q* ^$ i
  1376. ; The path for which the cookie is valid.: x# s. i7 r8 |* A1 [4 M$ i
  1377. ; http://php.net/session.cookie-path7 Y' H5 y. u) e0 G+ g& S& n8 n; r
  1378. session.cookie_path = /: K! f  f4 H" g+ A
  1379.   H8 b" j, l% `) i) i  F' q
  1380. ; The domain for which the cookie is valid.
    + _0 g- J% O$ i
  1381. ; http://php.net/session.cookie-domain2 X* X: F/ [  o6 ]9 ]. n
  1382. session.cookie_domain =) w3 H1 _$ h/ s" n0 l

  1383. . _" g3 W! L) H
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* i2 K. J* i% I6 i6 u
  1385. ; http://php.net/session.cookie-httponly3 ]: y6 M1 R$ d3 b% g' Y( j' w& ?
  1386. session.cookie_httponly =% C8 L1 L- G* d- w$ E, Q+ d. @7 H5 e
  1387. 8 y2 T$ k  @! i, |
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % q, ~3 w% H+ C" t' C
  1389. ; http://php.net/session.serialize-handler
    1 N9 \" p# j/ c
  1390. session.serialize_handler = php. D. x: z9 c. n2 U% O

  1391. ! I3 ?2 z! @0 d3 }0 t6 z
  1392. ; Defines the probability that the 'garbage collection' process is started4 b! w' ^0 A  U
  1393. ; on every session initialization. The probability is calculated by using
    : T7 p3 s/ Z- u, k4 n& b% l: z- O2 z
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 G5 c, _  L$ }$ M6 }$ g
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1/ N1 C' X6 Z, W( E0 V3 H9 S. L
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ U: k" v7 i! l! u
  1397. ; the gc will run on any give request.
    1 p- x! d4 M  O) a/ b
  1398. ; Default Value: 1" [; K' N% e! a& y0 N! o$ y, _  C
  1399. ; Development Value: 1
    # {- ~# U0 u4 @5 a, Q
  1400. ; Production Value: 14 R- a: x: a, l( |4 g; ?
  1401. ; http://php.net/session.gc-probability1 b  k5 i) a& G- }1 f
  1402. session.gc_probability = 1
    4 m) W9 u& ^! l' K" N! r0 O3 v9 K% g

  1403. ) u8 R; y$ m. X5 L9 c* W1 ^
  1404. ; Defines the probability that the 'garbage collection' process is started on every6 {0 y3 v+ ]7 E
  1405. ; session initialization. The probability is calculated by using the following equation:
    ; F& s* J( y9 D( R2 C* h) b( w
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - ~+ z( i& L5 @; E
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1  S  M, [8 W, M9 Z! u: ?5 Z3 Q! b- |
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , U- g/ i7 s. w, F) S% P
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    - P7 h4 D4 D* ^* \5 |9 O
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,9 d. C6 o+ i* \' r. d1 s2 D! b
  1411. ; this is a more efficient approach.
    2 n+ ?/ ^  ~" X  Y$ x3 _
  1412. ; Default Value: 100
    8 E/ k( |+ w! d  y3 y
  1413. ; Development Value: 1000
    " }- y. `4 u. o/ @2 I0 v
  1414. ; Production Value: 1000
    ) \7 B8 N* \, E9 y+ o
  1415. ; http://php.net/session.gc-divisor
    ' x% D. \0 i7 m& i- w( h
  1416. session.gc_divisor = 1000! d* C9 l7 {, {  g, D& }5 W# T6 F5 u) Z

  1417. 2 }, F( N5 z0 `; u! `- N4 \' w
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and6 g% O2 Z% _7 _8 x  h
  1419. ; cleaned up by the garbage collection process.- D+ D+ l: s8 I! A
  1420. ; http://php.net/session.gc-maxlifetime. |# j5 m; d7 J; M
  1421. session.gc_maxlifetime = 1440; [& t0 j8 K8 `8 \% C

  1422. 5 a5 ?; ?- W# U% [
  1423. ; NOTE: If you are using the subdirectory option for storing session files! v; O: G  d- X- u! F0 `* o1 \
  1424. ;       (see session.save_path above), then garbage collection does *not*: t: \* ^" `+ I. v& N' P2 x
  1425. ;       happen automatically.  You will need to do your own garbage
    ! ~2 p5 u  d+ D6 E( q- \0 Y% z
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 }9 @( M! z9 h8 r4 q6 \
  1427. ;       For example, the following script would is the equivalent of
      P! i; \  O+ y) C; j" R  \
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    6 Z) U9 @1 o$ }5 b
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% \+ P0 V3 l" [5 i" D. V

  1430. 4 p* x# c9 N; U" @( n) ?
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # e4 F7 i9 W& z  g3 ]( u5 x% n5 u
  1432. ; HTTP_REFERER has to contain this substring for the session to be3 E' V; F# I8 e4 E% \
  1433. ; considered as valid.
    " `5 s( r+ Z2 I. o( v0 |7 u! }; G
  1434. ; http://php.net/session.referer-check7 L7 N9 y! N0 G; Q  r
  1435. session.referer_check =
    . F1 C& H( {) C2 a% G/ ?. R

  1436. - x0 L% _+ h7 h; N  I' V3 k3 o% X
  1437. ; How many bytes to read from the file.( U9 l" d% M' R: [1 k+ J! o" i5 b2 u
  1438. ; http://php.net/session.entropy-length9 L" }" M* t* I4 ~, s7 ?; n8 _
  1439. ;session.entropy_length = 32
    ! W7 Z6 n0 c/ p
  1440. 3 R1 V+ u; j1 M9 l0 f4 F
  1441. ; Specified here to create the session id.
    5 P% k: o% I9 z4 Q4 A: L+ R! M
  1442. ; http://php.net/session.entropy-file
    0 x9 R! z' `6 A( V/ `
  1443. ; Defaults to /dev/urandom& T9 D9 y; u% h
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) \( n) [8 A4 T' m# T! V5 ]9 T* y
  1445. ; If neither are found at compile time, the default is no entropy file.
    9 R- Y$ F- b/ |' ?
  1446. ; On windows, setting the entropy_length setting will activate the
    " ?% M) ]8 r4 C; J- U
  1447. ; Windows random source (using the CryptoAPI)
    - u+ _, R2 r4 }* Z1 {
  1448. ;session.entropy_file = /dev/urandom7 F8 R/ v9 L+ @( C
  1449. ; `: W4 ~# C- a' a* ~
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects% ]/ I( R" Z3 L$ q4 `
  1451. ; or leave this empty to avoid sending anti-caching headers.  y$ n  V8 k6 f) E
  1452. ; http://php.net/session.cache-limiter
    9 ?' z, D- H" O2 c& y$ @$ w
  1453. session.cache_limiter = nocache7 {/ F! y0 }- D8 ?$ c  y  l* i
  1454. 9 u1 f8 U1 b' O4 o  P% }: r
  1455. ; Document expires after n minutes.
    2 ~: U) N/ \5 B* h4 m
  1456. ; http://php.net/session.cache-expire/ j- V4 I  D3 x- R  K! }, V$ d: F8 U
  1457. session.cache_expire = 180
    ! z+ K9 O+ Y+ s$ f  X) N

  1458. ) g/ ]* _: ]% N  ?. ?* j
  1459. ; trans sid support is disabled by default.! d: D% a& ^+ j6 J. E
  1460. ; Use of trans sid may risk your users' security.
    $ q2 i0 L8 e! E; N9 H9 K, @$ k
  1461. ; Use this option with caution.4 t2 o$ ^7 T& K4 d* k/ c
  1462. ; - User may send URL contains active session ID) N' H( Y: }( J) R' W
  1463. ;   to other person via. email/irc/etc.% v. D! i* J" X; }
  1464. ; - URL that contains active session ID may be stored
    # X: @! B: C1 X' Z8 R9 l
  1465. ;   in publicly accessible computer.* c4 ~$ K. C$ R5 C) K& S& G
  1466. ; - User may access your site with the same session ID
    " o8 U" E+ j' A9 I
  1467. ;   always using URL stored in browser's history or bookmarks.$ i0 {: Y; D# ]7 R8 E! i
  1468. ; http://php.net/session.use-trans-sid1 J. B$ B6 O) ^3 i
  1469. session.use_trans_sid = 07 K0 O' s5 u( d& B! i

  1470. 1 {$ x1 k4 F& n! S9 H1 O9 h
  1471. ; Select a hash function for use in generating session ids.
    & e6 m9 q2 S2 H1 |4 O* Z( l
  1472. ; Possible Values
    / m: U1 X1 ^# f
  1473. ;   0  (MD5 128 bits)
    : I& q/ N+ f6 E% T  F
  1474. ;   1  (SHA-1 160 bits); b( T( s& C5 H- P2 H) K9 }+ v
  1475. ; This option may also be set to the name of any hash function supported by% S7 s2 _6 D6 F* S* a, a2 Z
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    4 {4 a. M+ Z$ g4 Y, C
  1477. ; function.
    0 L( d5 ]8 r% T( T; A
  1478. ; http://php.net/session.hash-function
    / c) t( s3 R. A" O" Z% N; W8 k
  1479. session.hash_function = 0
    6 [% J5 u# x7 |# y0 I) V$ t- H1 T* i
  1480. 3 A- B2 f& k  u% A
  1481. ; Define how many bits are stored in each character when converting
    , j, K- k( S$ C$ R. D
  1482. ; the binary hash data to something readable.: X4 ?( v  z, v
  1483. ; Possible values:
    0 p5 K" @3 d4 U8 ?& n. c
  1484. ;   4  (4 bits: 0-9, a-f)
    # x/ R' R8 k  [: q( G
  1485. ;   5  (5 bits: 0-9, a-v)
    ! b' ^% R- F1 T
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% I: D" s6 R- W8 {/ ^" T, t) x8 s
  1487. ; Default Value: 4# A6 g. x6 s3 L7 F
  1488. ; Development Value: 5  M* M# `! A5 U) s: n
  1489. ; Production Value: 5
    ; M+ \! e& h' Z% z% e# Y# r3 Z+ a
  1490. ; http://php.net/session.hash-bits-per-character( U! M' ^$ |$ B; }( W
  1491. session.hash_bits_per_character = 5# A* J  n( o/ ^6 V/ T  a' y% o

  1492. : x: P: K% E, q- @
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 _% [$ u" f: R, v" Z& U6 t
  1494. ; form/fieldset are special; if you include them here, the rewriter will0 \) X* y0 Y3 ~1 q9 G4 m# @9 H
  1495. ; add a hidden <input> field with the info which is otherwise appended
      {) b: O' {* a5 C  h1 [* L, `
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.% a/ T$ f- V% |8 O6 |" \
  1497. ; Note that all valid entries require a "=", even if no value follows.
    9 h$ T# k/ X' @4 L% m# Z$ l1 C
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' R- i4 w  o) F% ^
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! Q3 k5 H4 q# J% |2 ^5 w7 j& E
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", `6 p- Z) S1 W3 @
  1501. ; http://php.net/url-rewriter.tags
    7 J0 k/ u7 m9 ]" w! q. I5 V. P
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    , V! l0 j0 T1 T; o6 h. C

  1503. * a$ b0 k6 K! B; b
  1504. ; Enable upload progress tracking in $_SESSION
    5 q+ d9 s- l: u$ L- [' p3 s. r4 O: q
  1505. ; Default Value: On
    4 [1 ]* l  W( e( O8 h+ D. M" m. ]
  1506. ; Development Value: On$ [$ {0 A) }9 ~) S3 y( @
  1507. ; Production Value: On
    ' s2 i+ A+ @# c4 d* l# K
  1508. ; http://php.net/session.upload-progress.enabled( m8 B' z  i2 m9 U6 w
  1509. ;session.upload_progress.enabled = On- l3 }! \+ H. _

  1510. ( m' d$ @- ]  @7 [
  1511. ; Cleanup the progress information as soon as all POST data has been read& r! i& Y+ k" r8 [
  1512. ; (i.e. upload completed).
    ; V. Q9 a" r- E2 i, v- \
  1513. ; Default Value: On
    - P) ]9 L: ^2 {' O
  1514. ; Development Value: On6 V+ n! W* G8 i" x- [. ^2 }( T: J
  1515. ; Production Value: On
    ( J  U# h; ?% I
  1516. ; http://php.net/session.upload-progress.cleanup2 R( R8 ~% V2 V3 B  @( _$ N
  1517. ;session.upload_progress.cleanup = On
    8 ?) ~& b% ^$ [4 ]3 Z; J# k
  1518. 2 R0 C% W- _% p$ m% d
  1519. ; A prefix used for the upload progress key in $_SESSION
    4 q, ]5 J0 V8 F( q
  1520. ; Default Value: "upload_progress_"8 s( [. {8 ~1 r! q- C9 t
  1521. ; Development Value: "upload_progress_"9 @% h* a5 @1 Q5 A$ @! h
  1522. ; Production Value: "upload_progress_"4 S: {: _! t, X" @3 _; n5 j
  1523. ; http://php.net/session.upload-progress.prefix
    ' P5 F) N% p3 k1 i# S
  1524. ;session.upload_progress.prefix = "upload_progress_"
    8 F% A) [  r& U* t+ W

  1525. $ u# o( M3 u' Z1 M
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    , F$ s+ G' r1 x/ i9 v( C
  1527. ; containing the upload progress information4 J) H  R& F9 t! l6 s
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + l6 Y% C/ b1 f8 ^) p" U
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"( a. H! y  Y( v5 T
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! y+ n, K6 @$ O
  1531. ; http://php.net/session.upload-progress.name$ r* t8 w* n$ {2 o6 G* q6 T0 @0 ?
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    : E9 }0 m" O9 l2 E& P

  1533. - w$ w: u( l# C: z9 g: ^) P
  1534. ; How frequently the upload progress should be updated.
    2 H: V) F, m3 G" h# q1 G" X- x; y
  1535. ; Given either in percentages (per-file), or in bytes
    # o* `. g5 s/ W" V
  1536. ; Default Value: "1%"
      s; s" j9 |0 t. F
  1537. ; Development Value: "1%"- Z, z  x8 a1 C( S% k
  1538. ; Production Value: "1%"7 p* g$ r7 @  `1 ~4 f( w( M0 G
  1539. ; http://php.net/session.upload-progress.freq
      k6 t/ V  n: ]+ [3 Z$ H
  1540. ;session.upload_progress.freq =  "1%"
    " W4 I3 A7 G; a( r* v# \; p- m

  1541. " g9 i5 N% E; o( P4 L6 O6 u
  1542. ; The minimum delay between updates, in seconds' s' s  P! _* U2 X) G) q5 J
  1543. ; Default Value: 1
    % D3 M) l! R6 Y( \; }  S% g
  1544. ; Development Value: 1
    / A. A2 L. _; G' q' v3 I& {0 n, @
  1545. ; Production Value: 1
    ) A' M! X( Q+ I1 s- [; @) T: D+ q
  1546. ; http://php.net/session.upload-progress.min-freq* A$ f, T+ K4 z* V, E
  1547. ;session.upload_progress.min_freq = "1", `; I6 x1 ?. f$ Y. `; v6 g3 {
  1548. , C/ V/ l$ D+ x# F
  1549. ; Only write session data when session data is changed. Enabled by default.
    . p0 S# s8 ?- N
  1550. ; http://php.net/session.lazy-write7 w! y2 t% W- }$ e  H" c7 F& E% L+ w
  1551. ;session.lazy_write = On
    * Q# w+ ]$ ^0 ?7 }

  1552. , b% F/ J2 h; }' H+ V" ^6 s# k
  1553. [Assertion]0 w4 b* A+ n9 b5 w& O) W1 A
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    / k4 H: k+ _/ k7 I* a
  1555. ; -1: Do not compile at all  z; B5 J" `! b
  1556. ;  0: Jump over assertion at run-time
    6 q/ T* `* v5 Y
  1557. ;  1: Execute assertions4 O* Q. |- d: x3 }9 k
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    $ P0 a9 R& e$ `3 ]/ ?( R5 R
  1559. ; Default Value: 1
    8 |  [" W, c4 \, M
  1560. ; Development Value: 18 `, K/ e- ?3 y( I3 A4 G
  1561. ; Production Value: -1: b2 m( f7 ]! a6 [2 N- f
  1562. ; http://php.net/zend.assertions
    . G( q# @5 @9 @* D
  1563. zend.assertions = -1
    ' {( {5 \& P. `; r- A# Q( u
  1564. 8 D2 `8 w1 C* Q) q. J/ U9 I! N
  1565. ; Assert(expr); active by default.
    . _9 W5 @3 |! ^5 j5 Z
  1566. ; http://php.net/assert.active
    6 O! p3 X& P4 N* a& o
  1567. ;assert.active = On6 U& n  n; e8 b! B/ j" P
  1568. ' |2 |3 x+ ^$ ^+ O
  1569. ; Throw an AssertationException on failed assertions6 _4 A) w! z% O6 c) J! m4 f
  1570. ; http://php.net/assert.exception* U2 `% A$ v7 n) e, a% x( q
  1571. ;assert.exception = On
    ! |2 I  u4 X) l: p: d
  1572. - q* W4 M: q0 f) n( U$ j
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)& v$ R6 T7 A% c6 Y+ |
  1574. ; http://php.net/assert.warning( E- Q3 f* J% a" D
  1575. ;assert.warning = On
    # @- d  S& E/ [- M% {* n

  1576. 4 `3 Q2 \$ J5 Q
  1577. ; Don't bail out by default.
    : S. o! r# a, D; ]. v* b' h8 B+ j
  1578. ; http://php.net/assert.bail
    , B4 b, S" z% F* P
  1579. ;assert.bail = Off5 M( n; h1 {1 }' |( S" i+ Y
  1580. + Y: n  D% C8 a% c7 }" ~  l
  1581. ; User-function to be called if an assertion fails.9 I$ p. A/ o3 P0 f# X" ?
  1582. ; http://php.net/assert.callback
    ! i* e) N$ T0 ?3 I+ F+ \1 [! r
  1583. ;assert.callback = 0
    6 O' r! r' I& f0 f" H; R- ]  [2 _
  1584. " E; ^; P- |7 Z. L3 K
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    8 G+ s( H( A0 ]. ^5 C+ T5 Y- i/ A
  1586. ; error_reporting(0) around the eval().) U8 ?8 U: U$ P8 W) d3 Q: V
  1587. ; http://php.net/assert.quiet-eval$ n' {5 G( y" u% j* F
  1588. ;assert.quiet_eval = 07 k6 j* R4 C& b* S
  1589. 2 ]& c6 [- W, }' B8 H8 _; A6 h( p
  1590. [COM]1 n5 b/ y" x. ?3 x5 d. ~4 o3 y
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % I+ e2 d- s) ?/ S4 K! A' A
  1592. ; http://php.net/com.typelib-file. y' M6 J6 ?6 m/ W, Y
  1593. ;com.typelib_file =1 Z* o/ J" x$ g" o
  1594. 7 W! d) T3 s6 N! [, {
  1595. ; allow Distributed-COM calls
    9 i/ p. J0 v7 d" N( [% s6 {: G
  1596. ; http://php.net/com.allow-dcom' _2 N% }& p. A. r: |
  1597. ;com.allow_dcom = true; Y) H& p0 r+ j  m6 K

  1598. 2 W. C; W  g& \( ?% a" ^9 x3 u
  1599. ; autoregister constants of a components typlib on com_load(), E  X' A' k4 Q0 W2 [
  1600. ; http://php.net/com.autoregister-typelib
    ) p/ D' V/ I# z( p/ J3 l: E9 `0 r
  1601. ;com.autoregister_typelib = true) i7 [. r  L# B  h
  1602.   G  C  z( Q( D
  1603. ; register constants casesensitive
    3 |/ A3 V$ g2 ~) T/ W! q6 D, ~
  1604. ; http://php.net/com.autoregister-casesensitive. U/ X( U% z0 r! F1 M
  1605. ;com.autoregister_casesensitive = false8 D, {# A: K5 h9 `* F( |2 N; M

  1606. $ i8 `1 `; X3 j
  1607. ; show warnings on duplicate constant registrations, f! a0 t8 [) ^! h7 w) I& w3 R
  1608. ; http://php.net/com.autoregister-verbose
    ' V1 H& o& d' }; h0 O
  1609. ;com.autoregister_verbose = true( ?. j7 U7 w; ]7 P/ l) I& k
  1610. . e: k  R) d7 Y, _
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    & @6 C4 J, ]( _5 F% M+ O) [
  1612. ; Default: system ANSI code page
    1 a2 c& l0 E* S; U1 b1 Q5 C
  1613. ;com.code_page=. _. _' A% {3 y2 |
  1614. 0 @( o8 J9 s: P7 R
  1615. [mbstring]
    % i9 r1 y% @# b  `
  1616. ; language for internal character representation.' j" n# e: G5 z6 U) ?) M
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    * W; v' Z4 n( P  o2 Y! [- s& l
  1618. ; http://php.net/mbstring.language0 @6 g/ u. R& ^# I  r" x
  1619. ;mbstring.language = Japanese
    5 }: R0 Q& h* P$ F7 j( v% y

  1620. $ R- Q$ A6 W# N# T  J! ?0 l
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.* b, W2 w( Z$ j
  1622. ; internal/script encoding.3 @. Y; u% ?# r& o
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)* j2 p: k  [; p7 E* `' E- v7 K
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! d. k8 O( d7 M! q" S
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  b) N2 U+ z+ S# g( Z
  1626. ;mbstring.internal_encoding =
    7 G/ j' Q2 [9 h3 F3 n% Y
  1627. ) i3 z# z0 W# ~% h
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead., @' m: d: j$ T# ~% I& @( U
  1629. ; http input encoding.; V& i* q# S+ j( V+ A6 t+ _
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 I% s& _3 D) p; b' P' ^" ]( W) Y
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.0 W: R- l9 A" c2 R: l/ r$ Z! g! T
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input" Y2 K/ ~' Y, B3 W" @
  1633. ; http://php.net/mbstring.http-input
    $ S: B, A# A0 v' m
  1634. ;mbstring.http_input =: ^0 W& S: l" C4 o) g: B( r
  1635. . i* {; |8 c9 O
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.+ S3 [) c6 C3 t3 r7 d( H/ H; Q
  1637. ; http output encoding.
    4 ^6 b$ R( |; Y' z" V* n* D9 f& A
  1638. ; mb_output_handler must be registered as output buffer to function./ D  I/ j' r7 B* |1 \
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( e) }9 t! e& n/ o, l8 b/ t7 q
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . v1 r- r. m8 q% G$ l. p
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    . B# ?  J2 m3 @2 k3 o
  1642. ; otherwise output encoding conversion cannot be performed.
    ( Z( Z7 n* b! e7 m% q
  1643. ; http://php.net/mbstring.http-output% e/ [+ U$ t$ S+ j" E+ f+ r
  1644. ;mbstring.http_output =) P4 X! U% I4 S5 s! j

  1645. ' C2 `3 D1 G7 h! X: L
  1646. ; enable automatic encoding translation according to
    ( G9 f0 u0 U- h% `( [+ n: ^
  1647. ; mbstring.internal_encoding setting. Input chars are
    5 t3 p6 Z8 v0 K9 C  d# O
  1648. ; converted to internal encoding by setting this to On.. X1 o: l5 M1 [% |; R/ }4 x
  1649. ; Note: Do _not_ use automatic encoding translation for
      t' w9 O1 h2 E0 O
  1650. ;       portable libs/applications.3 h  D  _! m4 {$ _& X$ O, `; z( h
  1651. ; http://php.net/mbstring.encoding-translation
    4 v/ B" Y# ]& F5 a
  1652. ;mbstring.encoding_translation = Off
    5 n. [3 l' D& e

  1653. $ X  h7 s7 L/ {! ]$ F6 G
  1654. ; automatic encoding detection order.% {& k2 m. S' _3 o6 `* D) R
  1655. ; "auto" detect order is changed according to mbstring.language, d6 h. V9 T: c) E/ u
  1656. ; http://php.net/mbstring.detect-order
    7 S) a% G( y  y7 R# [
  1657. ;mbstring.detect_order = auto
    - g% F: p9 M/ w% y. r5 J3 p

  1658. " x: g: d. n* W; f! u! M
  1659. ; substitute_character used when character cannot be converted1 M; Z8 O5 f1 Z/ k
  1660. ; one from another# O3 U1 `0 M% @( p
  1661. ; http://php.net/mbstring.substitute-character8 O8 v5 C5 X. l; C
  1662. ;mbstring.substitute_character = none3 l$ W$ s# N4 _

  1663. ; t- P1 p2 K& q
  1664. ; overload(replace) single byte functions by mbstring functions.
    % L6 G  K1 C1 Y1 ]) Q$ T6 \
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),4 l0 C4 [. o, h5 w2 R
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ! p" N9 S3 V0 R% D9 l
  1667. ; For example, 7 for overload everything.8 F/ Q/ D4 k& Y1 v
  1668. ; 0: No overload
    + L: j; t6 [; y2 _$ J
  1669. ; 1: Overload mail() function
    : R+ |$ g) X/ _5 `* X# X
  1670. ; 2: Overload str*() functions3 C) r- H5 Y' Z. y8 T
  1671. ; 4: Overload ereg*() functions( j  x: P% |( y% V$ C
  1672. ; http://php.net/mbstring.func-overload) m9 j  W$ d# W9 ~; F4 ~0 q# r: e
  1673. ;mbstring.func_overload = 0
    . q6 m' t3 [# @. ^% ?6 k! V
  1674. ( b- t* l3 P8 D# r8 P" t: M
  1675. ; enable strict encoding detection.
    0 D% e9 b- r! U* e- W5 u) K2 o+ W
  1676. ; Default: Off
    : n: h+ N) A8 e: Y( l3 N
  1677. ;mbstring.strict_detection = On
    9 [( ~/ n8 j$ x& f( }

  1678. ( L. |7 S; T( x+ }
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()2 u6 ~! n4 Y( W, T  i: y: r4 P
  1680. ; is activated.$ J6 G$ a2 _1 R
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)/ ^- `7 {6 V8 ~: u- u
  1682. ;mbstring.http_output_conv_mimetype=
    + u4 N1 H. r* c3 L" J; p2 i$ _3 B2 f
  1683. 7 p8 W0 m& U. H5 \
  1684. [gd]
    6 O% H- q0 p4 ~, M2 a6 L/ E2 Y
  1685. ; Tell the jpeg decode to ignore warnings and try to create3 T) j+ w& h8 W" S
  1686. ; a gd image. The warning will then be displayed as notices6 v0 W0 Z' D6 i0 C# }( J1 l% ^
  1687. ; disabled by default! p& c/ B: Y+ C$ y, l: f+ L& F
  1688. ; http://php.net/gd.jpeg-ignore-warning
    " `& @. u' x6 `
  1689. ;gd.jpeg_ignore_warning = 0
    * B4 g  x8 S! a; i- O

  1690. 7 T" v# Q3 q% j- n5 f. J8 D% a2 m
  1691. [exif]5 O8 l8 n. u. r" N* ]. g
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ [& q9 J8 |3 P3 k4 [9 [7 o
  1693. ; With mbstring support this will automatically be converted into the encoding  K1 ?* {$ ]8 E3 A
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    & I4 ^2 [3 \, I9 ~7 }! C  P. H
  1695. ; is used. For the decode settings you can distinguish between motorola and. w9 a; G  G  o* @( S& @
  1696. ; intel byte order. A decode setting cannot be empty., k6 n: t/ q* ?% d8 d6 N7 n
  1697. ; http://php.net/exif.encode-unicode- A" S1 ]! O0 h5 b  p
  1698. ;exif.encode_unicode = ISO-8859-152 i! x4 S" W& `% |
  1699. ( F9 g! R4 N/ U' S
  1700. ; http://php.net/exif.decode-unicode-motorola5 Y/ m. z+ T+ |1 `3 D
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    ! O& o& J0 [5 t1 @3 l3 R% o0 M

  1702. ) A& Q8 ]5 C# T/ B2 D
  1703. ; http://php.net/exif.decode-unicode-intel
    % V! l: w; e' X2 e
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    4 D$ {% x* X2 I

  1705. 9 J$ Z2 o" B" }2 G: a
  1706. ; http://php.net/exif.encode-jis
    , z, E8 G; m: I8 c. ?/ W
  1707. ;exif.encode_jis =
      m6 u& i- T% _) ]3 z
  1708. - @9 J3 a$ m0 R/ H
  1709. ; http://php.net/exif.decode-jis-motorola
    ! X' s0 C  V3 b3 `
  1710. ;exif.decode_jis_motorola = JIS
      \# g; K$ S( N. `( r/ M: F

  1711. ! [1 ]& }! l+ ~: I& X* S  x7 ?9 s
  1712. ; http://php.net/exif.decode-jis-intel
    4 K( z% J+ H8 `9 e8 y
  1713. ;exif.decode_jis_intel    = JIS
    , R. c8 m8 t9 r) ^+ d/ v$ \
  1714. * ]! x/ ], o/ m$ P( ?
  1715. [Tidy]: H4 m1 o' s( ^$ H) i4 K' i8 f
  1716. ; The path to a default tidy configuration file to use when using tidy! F7 t; H' h8 f2 _
  1717. ; http://php.net/tidy.default-config
    / t% @: H5 q- v+ v0 D
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    & _) g; X) o/ F
  1719.   O# F8 Y. I8 I5 X0 W
  1720. ; Should tidy clean and repair output automatically?
    9 x8 [  K9 }' k" v2 i% v
  1721. ; WARNING: Do not use this option if you are generating non-html content2 E/ Q6 J3 ]* H. f/ x) f$ p
  1722. ; such as dynamic images9 p5 N( e# H3 `) T
  1723. ; http://php.net/tidy.clean-output
    1 K4 J& `( C* i6 u6 a- Y
  1724. tidy.clean_output = Off% M; x, Y5 C0 ?

  1725.   g4 M) }( y0 K5 o8 C+ z
  1726. [soap]
    5 B- a5 Z9 ^5 x4 ~. g1 N
  1727. ; Enables or disables WSDL caching feature.
    ! q3 \# j" c4 L8 [6 E
  1728. ; http://php.net/soap.wsdl-cache-enabled  h1 {. H( N3 R
  1729. soap.wsdl_cache_enabled=1, n( `5 \1 s7 S# g0 f

  1730. 8 P+ Y% J9 h& R0 q
  1731. ; Sets the directory name where SOAP extension will put cache files., G/ a9 y3 A: [& C3 c
  1732. ; http://php.net/soap.wsdl-cache-dir: {" R% e/ Y9 x* U
  1733. soap.wsdl_cache_dir="/tmp"+ @9 W: Q* l2 }3 N5 a  e) u+ ?

  1734. : M1 n6 N- R! _6 |5 |
  1735. ; (time to live) Sets the number of second while cached file will be used7 H; U2 U+ }. x) P
  1736. ; instead of original one.  \& @0 \. j7 |. o& Q; y+ R. \
  1737. ; http://php.net/soap.wsdl-cache-ttl& ~, ~. o) ]7 ^' a
  1738. soap.wsdl_cache_ttl=86400) {' k- C4 U6 i7 a

  1739. ) e8 h/ T6 i% ?* ~: A7 p+ T
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache); m& \; q- V" Z1 B' L
  1741. soap.wsdl_cache_limit = 5
    0 U) V* q) l) p

  1742. + s6 e( z  g5 o& y2 @: @
  1743. [sysvshm]3 B# m/ E8 p% A
  1744. ; A default size of the shared memory segment5 F1 p$ R3 \% @! f6 B
  1745. ;sysvshm.init_mem = 10000
    " |0 C( ^* [, `* ?
  1746. : }% f" [) J8 x; r
  1747. [ldap]
    : o6 ]' ?/ X! |5 W9 m, `+ n
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    7 h( R) T6 ]9 w: L
  1749. ldap.max_links = -1: q& R; g7 L6 D- Y- a4 h1 l
  1750. & k8 N& y" h5 o6 Y2 E
  1751. [mcrypt]
    5 s! H* s: W& g7 N3 y; a; ^# }
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) D/ Q& y/ P+ z$ e
  1753. 3 q: [) l# P4 p7 _5 ]
  1754. ; Directory where to load mcrypt algorithms7 {; e, y" ^% u- _& T9 d
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ Q0 t. d* X* X+ k. L* k- A
  1756. ;mcrypt.algorithms_dir=+ p2 G+ _- N3 b+ o3 f! Q1 w

  1757. . ^, k" U' F% ~" l( y: p, i
  1758. ; Directory where to load mcrypt modes2 E1 D! p( z1 ~. d
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 g1 J0 Y$ d; @7 F! l) k4 p# Y
  1760. ;mcrypt.modes_dir=+ i' x: t1 J( s+ Z  s  P& g; v& e

  1761. ( ~" [( [9 t3 Q& h
  1762. [dba]( S4 E# V( {& _7 b, l& b
  1763. ;dba.default_handler=  h! ^( {' i( F, L

  1764. $ j2 d; q9 w6 p9 N$ u  d
  1765. [opcache]
    6 S+ G8 A8 e, S) B
  1766. ; Determines if Zend OPCache is enabled
    - F0 |9 x& s( |- Z
  1767. ;opcache.enable=0
    ' V5 U* p3 |" @+ R! J6 V0 x; v
  1768. . u9 J) |1 Y6 q$ ?
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP8 E- q: Y) [- `* ]3 P
  1770. ;opcache.enable_cli=0" S& {! e9 x' W; V/ U' @3 B* q

  1771. 2 q+ d! Y0 J) O/ t* N4 x3 c) y
  1772. ; The OPcache shared memory storage size.
    * U; J7 ^4 h4 p; A  [* u/ N
  1773. ;opcache.memory_consumption=64
    " `% Z7 w# h1 S* \+ k" _
  1774. , t0 P" V5 h0 }' ?+ {+ U* R. e
  1775. ; The amount of memory for interned strings in Mbytes.$ ^) }, F% s3 y0 H7 m$ O7 X; i
  1776. ;opcache.interned_strings_buffer=4
    % _# ~2 V5 e# ]- A( p7 o

  1777. , e1 |& w8 E* a
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.0 C0 C  I$ v$ w* ?! x
  1779. ; Only numbers between 200 and 1000000 are allowed.5 S5 Y- D; @$ q7 y. z# I& b7 w/ {) f
  1780. ;opcache.max_accelerated_files=2000
    ' q4 ]9 {7 {. {! e' G7 }8 L
  1781. ( J* P9 f% }, \" e' ]
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.7 k! y6 K1 \7 ^7 ^) a
  1783. ;opcache.max_wasted_percentage=5+ D& K8 j" V: F8 z
  1784. - a% D! d9 S! s" U
  1785. ; When this directive is enabled, the OPcache appends the current working  c6 r5 c9 [7 X! v- w  M) G# I
  1786. ; directory to the script key, thus eliminating possible collisions between5 \4 \' S, h" }" b8 e
  1787. ; files with the same name (basename). Disabling the directive improves
    ) N: }7 v, m9 R4 {# d% f
  1788. ; performance, but may break existing applications.
    + u4 U$ \5 b: e- k0 p
  1789. ;opcache.use_cwd=1
    5 N& m# Q" b- f3 b+ \& Z: u" ^
  1790. " A8 G0 ^+ J( ]! i0 j7 {
  1791. ; When disabled, you must reset the OPcache manually or restart the0 h! _: f2 R# {2 c" T
  1792. ; webserver for changes to the filesystem to take effect.
    * N; k- {& d- k) p$ \
  1793. ;opcache.validate_timestamps=1
    ! J  f/ \+ B* ^; d4 i- f7 t7 C' D
  1794. 9 B& l# T! U- q3 ]
  1795. ; How often (in seconds) to check file timestamps for changes to the shared, Y. D% v1 G- F# E- Q
  1796. ; memory storage allocation. ("1" means validate once per second, but only# H) q. p. k, _
  1797. ; once per request. "0" means always validate)5 A! L: W+ i- h
  1798. ;opcache.revalidate_freq=2
    , U" e6 `& }6 F1 y# H
  1799. : \- E- _8 b( L* h8 a
  1800. ; Enables or disables file search in include_path optimization8 @, a- l9 S6 z5 D/ d, `1 V9 z) i
  1801. ;opcache.revalidate_path=08 ?2 p  W$ r) D/ H0 U
  1802. / V+ F, T/ A- o! F7 V
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    - G, X0 l, ?0 U4 b  C+ S
  1804. ; size of the optimized code.
    % H9 k5 `& X! D" Y
  1805. ;opcache.save_comments=1/ p, @' D" K0 d* M3 l! D: {( J

  1806. : R- P( S. n4 h4 H! t# n+ B: {
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' J/ D* r2 r8 R/ s! u1 c" x7 P
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    " B2 M1 q  N8 O9 I# K$ f
  1809. ;opcache.fast_shutdown=01 q) a2 u* @( `5 C
  1810. 8 s5 l* o/ p% v; K' D- F$ w  ]
  1811. ; Allow file existence override (file_exists, etc.) performance feature.! k9 C# k: [. W4 H% ]  q0 j, F
  1812. ;opcache.enable_file_override=04 ~% Z+ w) {7 `; b" K

  1813. 8 Y# a8 }" f4 T( a9 G
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache6 N. c4 K. y, K
  1815. ; passes
      a! f: a" m' H  l5 x; r
  1816. ;opcache.optimization_level=0xffffffff
    6 {( T/ K9 O( I3 m
  1817. - [) I' c( C; v! s
  1818. ;opcache.inherited_hack=1
    # \, V6 {5 ?, t" W; k+ M& g
  1819. ;opcache.dups_fix=09 c+ D* B- w, @) e7 e  T

  1820. , G: w7 v( k, ^; t, n
  1821. ; The location of the OPcache blacklist file (wildcards allowed).1 C8 D: k+ _6 z8 a; L7 t
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ! k5 i. Z+ k# I' a3 x
  1823. ; that should not be accelerated. The file format is to add each filename) w$ G8 x  X" A" ^, r8 _+ p/ z
  1824. ; to a new line. The filename may be a full path or just a file prefix, V8 ^  v6 M3 c9 L4 c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    * a; j5 C& w8 b) B4 x; Q: p6 X, a
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 H- T) ?1 W( m/ D" k
  1827. ;opcache.blacklist_filename=9 g3 i4 `5 j3 W5 l9 q$ l

  1828. 1 N4 H( i, h/ ^& l1 E1 b$ P3 Z
  1829. ; Allows exclusion of large files from being cached. By default all files" y; [2 _* ~1 i$ M
  1830. ; are cached.% U; j; U, z" o. [( x; f
  1831. ;opcache.max_file_size=0  K+ A7 I, ~+ `% d# @. o' t
  1832. 8 _' v; V' t7 _; Z
  1833. ; Check the cache checksum each N requests.0 h! }7 M! ~+ M, R! B
  1834. ; The default value of "0" means that the checks are disabled.# n& p% L) J  N9 U! ]2 f$ R0 j
  1835. ;opcache.consistency_checks=0  Y5 X# L+ g" ~/ W+ J% x

  1836. 6 S; c4 q, S4 b
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    % `  O4 f3 f/ ^  ]
  1838. ; is not being accessed.- `- F+ f+ a9 I0 n3 a3 `
  1839. ;opcache.force_restart_timeout=180
    5 Z( ]& C5 u+ i5 [

  1840.   m3 i6 V# h% m4 H$ W5 `
  1841. ; OPcache error_log file name. Empty string assumes "stderr".; }3 j8 w7 m, b, z  L! y2 D6 Z# O
  1842. ;opcache.error_log=+ P( [+ y! d' s. o) w1 s) w8 u6 u

  1843. ) F/ ^9 O* I, s7 k
  1844. ; All OPcache errors go to the Web server log.
    # F& D" X8 F+ y" p% Q3 H
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.$ ^/ ], K( I  |
  1846. ; You can also enable warnings (level 2), info messages (level 3) or: {( H  W0 S! d3 x+ j. H
  1847. ; debug messages (level 4).- }& _6 u8 G. y) e' Q! Y
  1848. ;opcache.log_verbosity_level=1) o2 ~6 y3 P+ }

  1849. - ?0 b; W0 I9 y* Z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    - z8 Z' B5 J9 F- f3 C2 s+ n
  1851. ;opcache.preferred_memory_model=
    # H+ E+ r+ O: B, t! N8 q/ |

  1852. " Y( L) y0 {) S; E, \
  1853. ; Protect the shared memory from unexpected writing during script execution.
    # V: _& N8 ?5 z7 b0 A. R- m
  1854. ; Useful for internal debugging only.0 |1 ^3 R: |# Q! f& h, k  F$ T
  1855. ;opcache.protect_memory=0, E$ k, N$ s0 ^* n0 K% i6 z# j5 f1 i
  1856. 2 [4 V* u2 T7 A- J. \
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 J8 b( j7 k5 i/ D
  1858. ; started from specified string. The default "" means no restriction* E% C! q, M) G) l' J' l8 \3 m
  1859. ;opcache.restrict_api=, j9 h* a4 z/ n0 t3 M* H* a

  1860.   j) H+ Y& l- W* c; }# Y+ A! X8 L
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    $ `! f. T) c0 h" r) Q+ |6 \
  1862. ; processes have to map shared memory into the same address space. This; P& H; o- Q- l- m; ]/ Z' ]
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ) A* n: k  X3 h/ O+ L+ x3 [
  1864. ; errors.
    ; B7 q# D% s: ^( r, `- o0 W
  1865. ;opcache.mmap_base=( h% U) C$ \+ _

  1866. % @; w, X0 o2 A9 g4 `
  1867. ; Enables and sets the second level cache directory.
    + G( B4 l( U* l- X, d; H: Q$ i
  1868. ; It should improve performance when SHM memory is full, at server restart or0 Q# B% _$ |& C% w: k$ Z
  1869. ; SHM reset. The default "" disables file based caching.
    2 ]" W' j" |+ P$ D6 n* Z! \
  1870. ;opcache.file_cache=- e5 f$ ?: c- m2 M6 z& e. I

  1871. 2 e( j. B- p& P% j5 J9 l
  1872. ; Enables or disables opcode caching in shared memory.$ L" @4 T$ d5 m. O
  1873. ;opcache.file_cache_only=0
    % l8 X+ \, I/ R" d- k8 l7 d7 f/ R
  1874. % w1 @; [0 g! S" X# V. I( A
  1875. ; Enables or disables checksum validation when script loaded from file cache.0 ]( ^, o$ s! ]+ j, a* p
  1876. ;opcache.file_cache_consistency_checks=1* H0 i$ D( Y" k: j4 N
  1877. , ~( j5 Z. u, Q+ h! k* ?7 L
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    & \; ?3 E7 ~, Q2 I0 M( d* p* `
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    6 N+ T* T9 }- _+ u8 w% l
  1880. ; cache is required.
    6 J! `  {0 }4 i5 c: L3 ?7 U
  1881. ;opcache.file_cache_fallback=1' X5 }/ l  G7 F' L4 \; l+ N

  1882. $ V4 U6 j" q- P5 r
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.+ K* @7 T9 M5 v' e' C8 r0 n
  1884. ; This should improve performance, but requires appropriate OS configuration.
    8 ^$ _# o4 F. C
  1885. ;opcache.huge_code_pages=18 v/ A' g6 s" n7 E! V# m) q
  1886. ( x- e& x4 d1 J+ h
  1887. ; Validate cached file permissions.; ^& b7 i& l+ b2 F+ o0 J
  1888. ; opcache.validate_permission=0* d' e8 X6 U' J/ ]* S+ M
  1889. + u$ h3 ?1 _* N- f2 x: I! O; |
  1890. ; Prevent name collisions in chroot'ed environment.
    $ b# H/ d' q9 S2 p$ D% a  P
  1891. ; opcache.validate_root=0, ?) l% }6 Z4 B# Y' [. v6 U
  1892. 5 `' I' T+ B0 p2 Z( W+ X3 ^
  1893. [curl]) F7 \! t3 t* b& t
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    - B# s1 ?7 }6 D9 j+ \3 J7 H
  1895. ; absolute path." O5 _' C5 v9 ^7 E
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% t9 o/ [1 O/ B" r' f: D4 m9 ^2 a# _) d

  1897. ! M9 z0 t  C; M- J0 Q) z4 y
  1898. [openssl]
    ' D6 P% @! I9 q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    4 m; z! Z! T- ^8 |( ]
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 d4 v( O2 F& W
  1901. ; not specify a value for this directive as PHP will attempt to use the/ s& Q$ o+ v0 F0 F7 C' H
  1902. ; OS-managed cert stores in its absence. If specified, this value may still' I# u$ K7 _! ~) B  l; _( b
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
      k% n" j9 ?% }8 G
  1904. ; option., h  T, N2 \4 ]( k6 i& `9 d1 O/ Y5 x9 r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 r* |0 U; [- q
  1906. ( U% x  u0 M" V4 c3 ^
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the$ x7 H% O2 _' I3 N& R) p; W- y
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    $ S1 I) a) }1 z9 d
  1909. ; certificate. This value must be a correctly hashed certificate directory.- c3 c- N- y" }1 d% t. [2 r
  1910. ; Most users should not specify a value for this directive as PHP will; ]+ f: ~  P- k; }; l/ {
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    " }' a8 H9 p9 Y" d1 t0 ~, {( l
  1912. ; this value may still be overridden on a per-stream basis via the "capath"- ~5 j; @" V; [
  1913. ; SSL stream context option.' k+ |4 J+ p6 Y& W" J# \
  1914. ;openssl.capath=' o& U, o) P6 e

  1915.   S& D) ~" H4 a
  1916. ; Local Variables:
    3 w9 `0 q; x2 F5 C; |
  1917. ; tab-width: 4
    0 e) S5 x9 P- S3 T0 y7 v, h
  1918. ; End:
    + W& o8 _, W6 M8 }5 P
  1919. 5 _, G& L2 m) K, s. Y& R( B
  1920. ;eaccelerator
    ! E0 ]+ R" e! C; N" E
  1921. 4 c2 z1 k6 w9 H7 T
  1922. ;ionCube
    9 t+ ^* k1 [3 e0 k/ N7 Y# ~2 I

  1923. / N) n- e8 \( I
  1924. ;opcache3 F. j! s" C! p9 j1 n+ I5 F

  1925. 4 ]$ ~2 E- {. A7 ^/ `6 L$ p" X4 L
  1926. [Zend ZendGuard Loader]- m- }3 R% W1 S. y3 Z$ M
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    9 l# }& M# Q' P8 x: k/ m
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    0 u0 z' I5 d: z# K- H3 k0 t
  1929. ;zend_loader.enable=12 T9 R0 }: [( z6 k* k
  1930. ;zend_loader.disable_licensing=0  a, e6 p$ H# Q8 z
  1931. ;zend_loader.obfuscation_level_support=3
    ! P" R- x/ v* ^6 S6 H! b& N1 r
  1932. ;zend_loader.license_path=* d/ F+ B; G. T" }

  1933. ; T: [3 _6 y+ k! l% ~/ V; z0 o
  1934. ;xcache9 U9 w4 P2 _, j/ [* d

  1935. 9 K8 `5 M0 G; i/ Z; A% j! U4 ~4 J1 E: E
复制代码
4 K  d' ~+ s1 h$ p; g; o! I- L( Y
9 t3 a0 Q. n; |/ P3 h. X
% u) c) n. s2 j/ \
2 m9 d' l& |$ h$ o' i8 p3 q* A
( s4 M! K3 N( g# W5 c0 ~4 u

  p+ t$ `& ?5 n' K3 ?& j2 P4 w3 U; V. B; i$ C. O! N
PHP5.6版本原始设置
" J2 |7 ~6 `& w% [& q" h& O0 Q1 D1 a/ f) ~) x7 d
  1. [PHP]
    2 }3 X/ T* Q- W7 Y" C, ]
  2. : i4 {# V2 k, D. @* p1 `$ U0 F
  3. ;;;;;;;;;;;;;;;;;;;
    0 C" i8 m, `$ n' V" Z
  4. ; About php.ini   ;% }- Z. \1 h0 ~6 P  I3 i6 S
  5. ;;;;;;;;;;;;;;;;;;;
    " n  u1 g4 }9 }- g
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' d' H; f9 j" k0 r
  7. ; configuring many of the aspects of PHP's behavior.; L+ r! I5 Z; ^- ^/ w1 i9 J- Q
  8. , }* R3 I- ?; [+ _( T$ g' M% Y+ i* A
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ; Z% ^2 m4 t# X3 L
  10. ; The following is a summary of its search order:9 K+ F* p+ T+ ^" A  H
  11. ; 1. SAPI module specific location.
    : `) p9 _, p1 x: O. c
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! Q7 V  r2 \' J! r1 q- \& l
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)* B$ v; q6 r, i2 _* a3 x) ~. M& I
  14. ; 4. Current working directory (except CLI)3 Y2 I  x) ~4 v  W
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP1 I6 s( M: f1 [
  16. ; (otherwise in Windows)
    6 H6 p7 ~; |0 z  I: i9 b
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 B& f$ _$ h- {, r# t
  18. ; Windows directory (C:\windows or C:\winnt)1 c4 U* F7 v1 [
  19. ; See the PHP docs for more specific information." L# t8 _+ P2 K( y$ l
  20. ; http://php.net/configuration.file: B1 H2 D! d% F' x! \

  21. 6 |6 x  Z4 d# M& q+ R- r
  22. ; The syntax of the file is extremely simple.  Whitespace and lines" h( E$ P) w! Z1 c
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    : x2 \, Q0 A7 w/ J- h% }: i6 ]
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though% d" F" n1 \3 m
  25. ; they might mean something in the future.
    ' Q' U- j  j% o% j0 K2 D

  26. 4 u# U2 T% ^6 f3 C' I# O& d2 q
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " U2 e8 I9 |& a* p0 \7 s+ l% r
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 I* M+ @0 D% C7 F. U$ S, _
  29. ; following the section heading [HOST=www.example.com] only apply to
    " ~; h4 Z& C8 p$ @- l7 j- N
  30. ; PHP files served from www.example.com.  Directives set in these5 _" J9 C* \  \2 \6 d
  31. ; special sections cannot be overridden by user-defined INI files or
    4 n5 S8 U; q7 n! L8 t
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 a; j0 [; |6 A& y" @" b9 a
  33. ; CGI/FastCGI.
    ) H: k) a) \" I1 O) d
  34. ; http://php.net/ini.sections# e: C) T7 p  H

  35. 4 w" p% I" a# a- m$ J5 t% i. h. U
  36. ; Directives are specified using the following syntax:
    / _& w8 p) h) g8 z% j$ s
  37. ; directive = value& P* z) n! Z( ]+ L
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 t, i9 E  v  ~4 }+ P! ^
  39. ; Directives are variables used to configure PHP or PHP extensions.4 I. w  N! |( e: S' H& n. u
  40. ; There is no name validation.  If PHP can't find an expected
    ' x( B6 \/ t, g- X3 ?7 H
  41. ; directive because it is not set or is mistyped, a default value will be used., @: }1 M- k# @5 M  ~) {
  42. 0 {! Y$ I7 T% e3 N9 T
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' G1 k! o0 {* Y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ! B0 S! q+ Y6 Y# ?3 y
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    . k: J' T  f' J6 b: Y
  46. ; previously set variable or directive (e.g. ${foo})
    ( t+ g) j; ^/ C7 Y+ c. r2 S  M
  47. 1 u: T5 G* a$ J' X6 T  r2 f
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:9 |9 v" O1 Y( Q) C; I) X
  49. ; |  bitwise OR
    ) t4 p% X  l7 \  K2 Q8 L% I% `- @
  50. ; ^  bitwise XOR8 u5 M2 z6 U% Z# N5 v4 `
  51. ; &  bitwise AND
    6 @, T7 Z2 ?6 J$ A
  52. ; ~  bitwise NOT: J% |2 h% A. A2 j' k5 x
  53. ; !  boolean NOT
    - y* S+ @; v0 I6 O3 X6 W
  54. + L; t* p. G. a
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    5 S8 @+ x  z5 [
  56. ; They can be turned off using the values 0, Off, False or No.
    3 u" I' J) n% ?$ E; }' w4 `
  57. 0 `- i* o+ Z: G; a6 X& J9 S
  58. ; An empty string can be denoted by simply not writing anything after the equal
    * R% u* y, o- }/ I0 j7 P
  59. ; sign, or by using the None keyword:$ n( z7 B0 Y7 x* r" V. o

  60. 3 X/ Z. M1 }5 T  G. s, P
  61. ;  foo =         ; sets foo to an empty string7 h+ f0 ~  z% v7 P! n
  62. ;  foo = None    ; sets foo to an empty string8 ]$ N2 E1 _( C& t1 r/ q( G4 _
  63. ;  foo = "None"  ; sets foo to the string 'None'1 p0 d+ U6 W, o  `% C

  64. ; j) C! G! }3 A# \
  65. ; If you use constants in your value, and these constants belong to a/ }& `6 M- [9 ]# F  z- \! n6 i
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),: D' [9 c$ C* X% y% J- N$ o
  67. ; you may only use these constants *after* the line that loads the extension.6 E% K9 s( g& o& P, C1 }
  68. ( s# k3 {+ Z5 C* P
  69. ;;;;;;;;;;;;;;;;;;;
    4 c" g4 L. h& T8 y+ g$ x8 y$ i
  70. ; About this file ;
    ' A" G. y  p- f
  71. ;;;;;;;;;;;;;;;;;;;6 W1 d. A# k' Z9 ~  R/ t  z# ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    8 w! M/ S+ l0 D9 ~
  73. ; in production environments and one that is recommended to be used in
    # T  p! {$ p; B) k7 M1 C
  74. ; development environments.+ L6 e! M& M+ ]( l0 W
  75. # W3 @7 k8 M& O5 [! G
  76. ; php.ini-production contains settings which hold security, performance and
    & h! n" j4 @8 I* T" G
  77. ; best practices at its core. But please be aware, these settings may break) \- A. |1 R, g$ N
  78. ; compatibility with older or less security conscience applications. We
    , G5 ^: o5 }* _. {
  79. ; recommending using the production ini in production and testing environments.
    3 q4 H4 Y1 @3 Y$ K- I& s: @

  80. 9 c2 @8 v6 A0 ?" [& v9 x
  81. ; php.ini-development is very similar to its production variant, except it is
      r' c. G: ~9 i$ \
  82. ; much more verbose when it comes to errors. We recommend using the! S5 }& X8 k5 N8 ^6 R
  83. ; development version only in development environments, as errors shown to
    2 T: j4 [8 M( B7 j* L( [$ v! L* G) S" {
  84. ; application users can inadvertently leak otherwise secure information.' }. ^9 H0 \" P/ W. q9 N

  85.   j* ^2 |  v! a: H# n
  86. ; This is php.ini-production INI file.
    7 j3 A- `8 G' S3 [$ _4 s* k

  87. " K' z3 C" Y- X; I/ i" E
  88. ;;;;;;;;;;;;;;;;;;;
    0 y$ e4 m( k- ^0 T3 H5 G- g0 H0 C
  89. ; Quick Reference ;
    ' ?$ s0 t: ~- o' i) L6 @/ l7 T
  90. ;;;;;;;;;;;;;;;;;;;% t8 ~+ W( M- a1 ?
  91. ; The following are all the settings which are different in either the production
    6 V( O. X) e8 H% G; j. j" E# n6 B
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! H; o; m! ^2 m6 n
  93. ; Please see the actual settings later in the document for more details as to why
    % l# q; O  I& u! ]0 z9 g" Z- k
  94. ; we recommend these changes in PHP's behavior.+ t! h  U8 b2 {/ v) w2 }
  95. ( ?1 c4 z# O" L* Q6 i
  96. ; display_errors
      f; E( U9 S& E' d
  97. ;   Default Value: On
    % y* J& I7 u* p! v! Q
  98. ;   Development Value: On  e& s% T6 r7 E1 m+ R$ z( q9 P
  99. ;   Production Value: Off/ ^3 K; n8 e. Z# l+ o' V; s

  100. : @  w- l* m! Q; V
  101. ; display_startup_errors* ^0 L  d+ ^% R+ u. N
  102. ;   Default Value: Off* v' q1 y* B0 Z- ?3 f. @
  103. ;   Development Value: On
    $ ?; W$ {% Y) A; v# |  f+ G3 z$ O
  104. ;   Production Value: Off
    % ^3 [* R  N0 N- k: ^8 }

  105. 7 T+ s5 x4 M$ a- U; R: a1 m3 U! r6 w
  106. ; error_reporting
    ' T' R$ e% e2 w
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 S/ @! v2 o6 r. E+ U2 L4 ?: t
  108. ;   Development Value: E_ALL0 [4 o7 S* [: M$ T& \: j
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      Q! A0 J& w) i2 y. {

  110. 4 C' w7 Q5 e% T3 M$ @# i- T/ t
  111. ; html_errors
    4 x7 w  [2 u4 Z, t6 b$ B8 }! D
  112. ;   Default Value: On* s9 P( l+ o- |: y- I
  113. ;   Development Value: On
    # L  F0 k6 r7 T2 F) \* z+ \2 `; }
  114. ;   Production value: On  e# d( k/ h/ \7 }% x$ G' y

  115. . N/ g3 R7 V: I) c. o- G8 g
  116. ; log_errors
    7 O- C+ R3 T" B7 o
  117. ;   Default Value: Off
    6 @: f- g2 {1 W* |: `  B0 V* q
  118. ;   Development Value: On0 @- [( L8 H' p4 J
  119. ;   Production Value: On- r# b; S; y# Z, n, K) [! r

  120. " ?) ]: q* @0 o4 a+ Y
  121. ; max_input_time
    3 j1 d7 z/ m& U
  122. ;   Default Value: -1 (Unlimited)
      Q( @: V% P! l. Q( F3 z$ f$ I" u  K. x
  123. ;   Development Value: 60 (60 seconds)
    , H6 y9 v2 j4 C# T( s* l
  124. ;   Production Value: 60 (60 seconds)
    ( n, H8 s7 f9 \" n: l+ M. A
  125. 4 N1 X/ ~# W1 a; d
  126. ; output_buffering; s) B1 d1 l% u( j; M) ^/ K
  127. ;   Default Value: Off- ]9 `5 H0 v  a7 w
  128. ;   Development Value: 4096
    6 e; b. u' i. B- A. [5 a
  129. ;   Production Value: 4096
    2 q6 [( y) P9 L% K) Z( t$ I
  130. $ X! ]0 U. W9 z9 S9 F. v+ b9 M
  131. ; register_argc_argv
    + V. o# e: q4 ?: k: U: R
  132. ;   Default Value: On
    % J( n7 n6 K" Z8 B% g. u* O
  133. ;   Development Value: Off4 v8 T4 c: l  ], V- k% x
  134. ;   Production Value: Off
    / z  c+ ]8 |$ b- R$ l4 G4 r

  135. 6 P; u$ o* u* C7 v
  136. ; request_order
    , g* L6 u4 j4 o) [8 g% |( y
  137. ;   Default Value: None
    % m) J! A3 J3 p4 w: L7 P: c8 o% d2 ?
  138. ;   Development Value: "GP"
    # C/ G# Y% l1 V+ ~3 a
  139. ;   Production Value: "GP"0 q4 u* G$ N( }5 Q  i

  140. 3 Z1 u# x; }7 Q# h4 _1 P1 a4 I
  141. ; session.gc_divisor& \+ U& g, }9 `& u9 {
  142. ;   Default Value: 100" ^' R: r& ^+ h1 ]
  143. ;   Development Value: 1000
    9 k3 m5 j8 k% @& H/ k3 f$ n( N' h) z
  144. ;   Production Value: 1000& [! I3 z* t. f4 `, h, @4 F
  145. ) g/ \! I" u8 J# A! ?( K
  146. ; session.hash_bits_per_character7 E# s$ i; D( I; z0 u+ s% e5 P
  147. ;   Default Value: 4
    4 u1 d5 d0 J# @7 Y
  148. ;   Development Value: 5
    : x: p  t0 c! Q7 Z( A8 H  D& k7 V
  149. ;   Production Value: 5# B$ J6 u# n* J
  150. 8 S- I; g4 x  b' I
  151. ; short_open_tag
    4 t6 o- q& S  p# ^
  152. ;   Default Value: On2 r' E5 z: V/ j* r% L! @
  153. ;   Development Value: Off% L6 e4 c8 z3 K& O2 V8 s8 ]
  154. ;   Production Value: Off+ Z: E9 ?* M4 C) o. l) ^2 f

  155. 0 _# d/ }, g% H2 D, p3 k" o
  156. ; track_errors
    / |: G! C" x% ~3 |+ g% f$ q, t
  157. ;   Default Value: Off
    . I. x( f. K! A# A: M9 k
  158. ;   Development Value: On
    8 e( d3 n9 s: C& T
  159. ;   Production Value: Off; k9 ^0 Z  g; L% I$ h) P
  160. # W3 X; Y! M1 B7 j* l7 ]3 J
  161. ; url_rewriter.tags
    8 P8 }) ?7 E5 K2 A5 l! }5 U
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=", O: m1 [/ F- W8 ~6 o
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& f  F; n- S7 B, X# m. Z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! s- N6 ?- ]8 x4 o6 R
  165. , q" l6 ?! w& ^' v1 d
  166. ; variables_order. M% `( o4 x: G
  167. ;   Default Value: "EGPCS"
    - {* x  g+ ~, e7 @
  168. ;   Development Value: "GPCS"% }/ V8 y: k2 |
  169. ;   Production Value: "GPCS"
    $ u; f* o: ]" A6 F# o

  170. 8 `7 S5 r6 F( v1 q- |. q
  171. ;;;;;;;;;;;;;;;;;;;;
    3 K7 e- ?- Z1 [6 v
  172. ; php.ini Options  ;1 x3 K& n0 A7 x7 a7 S& \
  173. ;;;;;;;;;;;;;;;;;;;;6 G  t: f' }* K" T
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& {$ Z% ^% J  Q2 V- k
  175. ;user_ini.filename = ".user.ini"
    1 X4 |/ d  `0 U% g1 o

  176. 8 X+ L0 G8 R& T: a, Q
  177. ; To disable this feature set this option to empty value  z- X$ e, z+ x
  178. ;user_ini.filename =7 T7 S- N6 M- z* w* d( h0 U

  179. : @# h0 _/ d9 X! R2 D% X, w: s
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ i" F  v# g& m0 l: n
  181. ;user_ini.cache_ttl = 300
    2 q! U0 z* i" L, Y

  182. 4 N3 w+ U  `1 O7 B8 L
  183. ;;;;;;;;;;;;;;;;;;;;- W, {! R: g, P$ m+ T: d) o, ~
  184. ; Language Options ;
    0 R, b5 s5 N7 o) j# Y
  185. ;;;;;;;;;;;;;;;;;;;;
    8 k5 n/ p1 S, ^

  186. 3 w5 m& g+ L0 y7 n; t
  187. ; Enable the PHP scripting language engine under Apache.7 j! t" b3 G! R' ^
  188. ; http://php.net/engine
      \+ E0 h, P* t; f) h# n
  189. engine = On
    $ g2 j% A$ Y: ], m9 A

  190. ; l. D1 L( D" {9 Z- H, f- {
  191. ; This directive determines whether or not PHP will recognize code between
    * t3 n* I8 l8 H6 F" n* N0 q+ o% U9 y, \
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    6 t# Q4 @  L% A
  193. ; generally recommended that <?php and ?> should be used and that this feature% W# t" p- i) l/ f) h
  194. ; should be disabled, as enabling it may result in issues when generating XML
    - C8 a; f, a8 y7 _5 v
  195. ; documents, however this remains supported for backward compatibility reasons.
    5 P% d9 F9 ^- U7 F, T* @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    " X  t# l$ x. |: Y
  197. ; used regardless of this directive.
    $ E* ~  E, s. e
  198. ; Default Value: On; m3 ^6 q7 p/ e6 b9 W. X1 C
  199. ; Development Value: Off
    ' \1 M( c1 M) W6 O
  200. ; Production Value: Off8 M' g* z7 k7 K$ S) U+ p  T
  201. ; http://php.net/short-open-tag) H0 {0 j, {2 o: r( u
  202. short_open_tag = On- \7 s1 A9 @; z5 q

  203. 3 F' Q3 V7 V- ]: h% _' b
  204. ; Allow ASP-style <% %> tags.
    # o7 \. i5 c! L$ h
  205. ; http://php.net/asp-tags
    ( D2 L/ `5 o! z
  206. asp_tags = Off
    # x! C" N  u  D% }

  207. 9 s1 m, r  V( ]. \  d$ J. K
  208. ; The number of significant digits displayed in floating point numbers.4 j' q: C: F/ b& Z# D. @0 Z
  209. ; http://php.net/precision+ k! x( X" Y3 [' u
  210. precision = 14- g, O8 O& [( p  s+ d
  211. . v& ]" j% K. S0 J+ a3 m
  212. ; Output buffering is a mechanism for controlling how much output data3 J* i9 m+ I7 L
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    & V! X3 F# M  n# e9 m" C2 X6 L) n
  214. ; data to the client. If your application's output exceeds this setting, PHP
    $ i& F3 d4 \9 e& r  W
  215. ; will send that data in chunks of roughly the size you specify.
    , h) K" U* U: `
  216. ; Turning on this setting and managing its maximum buffer size can yield some
      y9 [0 T  @" L3 M5 m4 ~% R+ d
  217. ; interesting side-effects depending on your application and web server./ [8 x: U5 s5 q9 F0 f
  218. ; You may be able to send headers and cookies after you've already sent output0 r3 W; ^( a; D2 P) O  Z/ j* w
  219. ; through print or echo. You also may see performance benefits if your server is3 b7 b- r$ o6 W- _
  220. ; emitting less packets due to buffered output versus PHP streaming the output1 m$ r8 M. F6 W0 G+ `9 {
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance" i1 F, V0 g; C; o( \
  222. ; reasons.
    9 D4 J8 r$ s% B5 R' X2 b- q1 a3 ?8 R
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    1 p9 M' j0 P( s
  224. ;   functions.$ f+ i! e" F. f
  225. ; Possible Values:
    - l! k' I8 c9 {, T) u5 U
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)5 d  i' `: J1 ?
  227. ;   Off = Disabled
    ) a* o6 S1 j" V8 c( A2 j
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * c0 x& h! c( p8 x' H
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI7 c+ e! Q8 M( N. }/ H
  230. ; Default Value: Off+ t* U' ]1 w) \- e( O
  231. ; Development Value: 4096
    9 c( ~4 }; U8 i- L2 ]
  232. ; Production Value: 4096
    % B1 H- [6 n: d- \
  233. ; http://php.net/output-buffering5 d3 ?( ^3 n1 x" n% P
  234. output_buffering = 4096/ o7 J9 q& J# D8 J' H
  235. ( }5 u) E2 r, L( P0 t. h7 c7 @+ G
  236. ; You can redirect all of the output of your scripts to a function.  For" q% p0 U0 q. C6 C
  237. ; example, if you set output_handler to "mb_output_handler", character7 y1 D/ R8 V! Y' q! f& g% k- n
  238. ; encoding will be transparently converted to the specified encoding.1 E; n3 s! s& |" i
  239. ; Setting any output handler automatically turns on output buffering.
    , ~! E, ?+ ?6 a% l( a3 Y
  240. ; Note: People who wrote portable scripts should not depend on this ini7 k) L/ u+ j3 g; a9 N. C/ |
  241. ;   directive. Instead, explicitly set the output handler using ob_start().+ s& h* d# F7 r
  242. ;   Using this ini directive may cause problems unless you know what script
    8 R  ~7 \, x1 l: Q; Z7 O
  243. ;   is doing.0 O4 c) P" M9 z7 e3 V
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    5 X3 r" D" {! ^  {
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ) y% ^& U! e, O( m; T6 }
  246. ; Note: output_handler must be empty if this is set 'On' !!!!" i4 v* W5 A0 u* s! B, q& ?- l
  247. ;   Instead you must use zlib.output_handler.# n2 ?+ Z6 l' k5 Z1 ~8 @
  248. ; http://php.net/output-handler4 q5 l3 G% s" l8 Y/ g
  249. ;output_handler =& H& L6 V. k  E) A

  250. , q4 J7 ~& _% @/ K# z1 h6 Q1 W
  251. ; Transparent output compression using the zlib library: E( j. Y  Y! [4 F& w, H
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    " L" u1 w! L! N; ~
  253. ; to be used for compression (default is 4KB)
    " i. n& [' G% a2 k# `, F" ?0 r* f
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP- n4 s& Z: a2 F4 N3 x4 ^/ }
  255. ;   outputs chunks that are few hundreds bytes each as a result of8 L- F  K, x& s& N+ f9 O) L9 Z
  256. ;   compression. If you prefer a larger chunk size for better
    7 }& q1 l7 H6 a# U$ S) P' ?) W
  257. ;   performance, enable output_buffering in addition.7 T' D! x( O# o' Y$ v( C
  258. ; Note: You need to use zlib.output_handler instead of the standard+ r# f+ {3 u( }8 u
  259. ;   output_handler, or otherwise the output will be corrupted.
    ; `/ p8 `( P7 e- }- t# E
  260. ; http://php.net/zlib.output-compression
    + |, r2 |1 V3 ?! S" K" z
  261. zlib.output_compression = Off' `5 \) m2 S  F% X. O+ ^
  262. # Z1 N# }- w$ j
  263. ; http://php.net/zlib.output-compression-level& `4 a# B& \" W/ S$ |
  264. ;zlib.output_compression_level = -1" m5 ]! r9 z8 S; C3 B2 t5 j1 s0 D

  265. . v/ L2 j7 W3 s. u, c. Q) N9 r
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ; Y% q5 p9 H; M% Y. Y" w9 N2 C
  267. ; is activated here. This setting does the same as output_handler but in$ W% x' T4 v/ a
  268. ; a different order.$ C& Q, T8 o& y7 `  h
  269. ; http://php.net/zlib.output-handler0 r/ |# K. y% R% ~
  270. ;zlib.output_handler =
      Y1 s$ r  D/ G% J! S1 ^

  271. . f' R& P- p/ ]" L& y) u* p4 n; }
  272. ; Implicit flush tells PHP to tell the output layer to flush itself+ h. q1 m; H% K0 T/ d) `  G$ |* [
  273. ; automatically after every output block.  This is equivalent to calling the
    * T8 y$ X  G' R9 k5 X
  274. ; PHP function flush() after each and every call to print() or echo() and each* M6 m' m: j/ J% j1 K
  275. ; and every HTML block.  Turning this option on has serious performance
    ) w  e9 c* X# R9 H$ \- U
  276. ; implications and is generally recommended for debugging purposes only.8 t. j& U0 G+ R2 A7 {% Z
  277. ; http://php.net/implicit-flush4 H! ~+ Q5 l+ D
  278. ; Note: This directive is hardcoded to On for the CLI SAPI* I1 l& |  i; ?/ C8 u7 [
  279. implicit_flush = Off& k& u6 E# u2 r, F

  280. / T9 m; a# B/ d2 @5 p6 i
  281. ; The unserialize callback function will be called (with the undefined class'. `6 l8 X' r6 s3 `) G- g
  282. ; name as parameter), if the unserializer finds an undefined class6 `: Y, ?) p; k# u9 Z: d6 a# p$ y
  283. ; which should be instantiated. A warning appears if the specified function is
    * D* b8 z" r* L% V
  284. ; not defined, or if the function doesn't include/implement the missing class.9 [: ?# ^" ?( J9 R) ]8 ~
  285. ; So only set this entry, if you really want to implement such a* m% o6 t( t; Y, C( N5 ^
  286. ; callback-function.1 e  a3 M7 G6 \9 D" ~3 h
  287. unserialize_callback_func =
    - }# ]& d% h; s/ Y$ B7 S; f1 z

  288. 2 x$ J+ z# j% W4 H2 W0 X) [* S
  289. ; When floats & doubles are serialized store serialize_precision significant
      @# H! b( g. @+ q: ~" w4 d
  290. ; digits after the floating point. The default value ensures that when floats3 V* D! [( b0 c7 T
  291. ; are decoded with unserialize, the data will remain the same.. z& a( O5 S5 ?% w4 \9 @' H, A
  292. serialize_precision = 176 |4 L( F2 M# {  i4 M
  293. / t/ t+ R: D# y. \+ y+ k
  294. ; open_basedir, if set, limits all file operations to the defined directory
    & N0 y0 f9 F4 R* L7 I4 [
  295. ; and below.  This directive makes most sense if used in a per-directory2 ]& z2 d8 ]; W. @) W/ F- ]
  296. ; or per-virtualhost web server configuration file.* o1 K' P. p3 q; t. G# n
  297. ; http://php.net/open-basedir4 O4 L3 ?* Z; I( r
  298. ;open_basedir =  g, S; b" B" V$ M( L& c, n

  299. : I1 C' j2 z5 j7 G2 ]0 @4 I
  300. ; This directive allows you to disable certain functions for security reasons.. {: W+ L  E+ G0 e
  301. ; It receives a comma-delimited list of function names." _' Q/ `3 l# o3 m3 q4 V6 B# t
  302. ; http://php.net/disable-functions2 O( d# c& d# a
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    4 m: ~4 Z- @0 ~, S6 |

  304. : }4 L6 r0 {# J, j- R; @2 U
  305. ; This directive allows you to disable certain classes for security reasons.+ e8 @+ k8 F6 p' l+ f; O5 X1 W
  306. ; It receives a comma-delimited list of class names.$ o, O* q/ \6 k
  307. ; http://php.net/disable-classes
    " f: b6 I' t8 ~7 y. u+ Q' O) }
  308. disable_classes =- F4 y9 {3 ^5 F. J9 n+ A2 _
  309. 4 Q) R3 [4 @$ L& o" _4 H) U
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in, s5 L# Z4 E3 h5 F, X7 ~
  311. ; <span style="color: ???????"> would work.
    . a* W; \1 {0 y! S" [& a
  312. ; http://php.net/syntax-highlighting) R7 K& c1 M2 |$ L! T" d& m
  313. ;highlight.string  = #DD0000
    : \. ]+ J" {3 ?
  314. ;highlight.comment = #FF99000 a' b0 @: x2 r% i% ?# ?# m
  315. ;highlight.keyword = #007700
    4 t! C8 R( d( q9 ]" j' Y- ^
  316. ;highlight.default = #0000BB: u: M9 _8 i: Z* ]% y
  317. ;highlight.html    = #000000& u5 h2 j/ r# Q
  318. - {7 I  b7 V" `( E# A1 G) [* u2 q/ Z
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    9 `. u% C& K# s9 X+ G
  320. ; the request. Consider enabling it if executing long requests, which may end up1 Y8 }6 D/ @' r, x/ C
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior6 p( v- ?6 S% h. \. n1 R* {& I
  322. ; is to disable this feature.
    . n7 ]* K; a' [' j
  323. ; http://php.net/ignore-user-abort7 ^1 _/ H( N. Q3 r5 p0 J
  324. ;ignore_user_abort = On) p( g0 J& I: {' J8 r9 }

  325. & k$ H# m- ]2 J+ W' m
  326. ; Determines the size of the realpath cache to be used by PHP. This value should  {3 N# D  o! k+ m  O
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    7 L& B" T! _* n; z/ u
  328. ; the file operations performed.1 t, O  |" k% W
  329. ; http://php.net/realpath-cache-size0 J& X# y. A3 Z  R
  330. ;realpath_cache_size = 16k
    . ^' M) [' A( o3 R+ I4 i( n* j

  331. , Z) H' d) W: x
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    : p7 Y' N% E# y  R
  333. ; file or directory. For systems with rarely changing files, consider increasing this! s6 B8 j, u' Y/ D: p) I
  334. ; value.& W- M- n. l. ~- [
  335. ; http://php.net/realpath-cache-ttl
    - t2 O' Z9 W5 x2 M9 R  d# a
  336. ;realpath_cache_ttl = 120
    2 U& m9 `8 U: d4 p6 t

  337. : O% ^  _; |( v0 l  h
  338. ; Enables or disables the circular reference collector.
    : E% u  @4 ]6 A% |6 k4 F
  339. ; http://php.net/zend.enable-gc
    # ~2 X+ x0 m1 v' ?2 Y
  340. zend.enable_gc = On
    ! W6 S% g9 n- T( L9 h/ v# \
  341. , t; }% Y7 C. W( i* ~+ r5 V0 |
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    % h! W4 C9 Q" h: L
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such4 h6 ^9 A' d2 R5 m0 M: @- r
  344. ; encodings.  To use this feature, mbstring extension must be enabled.$ _1 C6 t) T( h, C: I& k& \
  345. ; Default: Off0 k' P& |/ l8 i3 `% {5 Z3 Y7 X, a
  346. ;zend.multibyte = Off
    $ ~; I1 d/ ]1 S, r& J
  347. 3 Y  d* M( e$ B! K; s, q
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    + r' X4 G7 J2 X4 v3 d; B. y
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.! w  ?7 ^* N4 d! s
  350. ; Only affects if zend.multibyte is set.$ d% g5 y2 B% `6 |3 H
  351. ; Default: ""
    : k( ?4 }5 C5 x3 U; N" m) p4 l) r* |
  352. ;zend.script_encoding =
    ( N! X! ^7 g8 O1 |

  353. , C. c, |) H9 g8 A
  354. ;;;;;;;;;;;;;;;;;
    : c* S, ^0 A! O" p6 J% G
  355. ; Miscellaneous ;7 i& B9 `- f; ~' S' K/ G2 t
  356. ;;;;;;;;;;;;;;;;;" [" ^8 n# C/ J3 a% P4 L. ^
  357. $ V  T8 i" e  p/ K; L8 w+ ?
  358. ; Decides whether PHP may expose the fact that it is installed on the server. U8 u  u1 T3 B- U
  359. ; (e.g. by adding its signature to the Web server header).  It is no security! e0 N) }1 S( P: d8 `8 Y
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ r! ?0 l' f+ x  ?
  361. ; on your server or not.
    9 a( q$ j% ~+ \. S
  362. ; http://php.net/expose-php
    $ A1 @! r. u3 M" d3 n# ?7 a
  363. expose_php = On
    ! e" z4 c) V$ f* ]% p( V! @
  364. , m- b7 p; \( m, @1 ^( L
  365. ;;;;;;;;;;;;;;;;;;;
    " g0 z; l0 c, N( C' X% X
  366. ; Resource Limits ;
    ; @' T' H) l% m5 F
  367. ;;;;;;;;;;;;;;;;;;;; S5 ^. `; }/ L9 g- Y; x; K
  368. 9 J% O* X+ w4 n) O- U' W1 m
  369. ; Maximum execution time of each script, in seconds7 \, x6 D* E( Z9 t. H9 h
  370. ; http://php.net/max-execution-time1 w2 G( d3 p$ D2 Z/ ?
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI; b( T. u% {9 V+ W! T
  372. max_execution_time = 300
    3 _3 y$ w5 M2 P! V6 r# ~

  373. + _/ T) R/ R0 ~2 g
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    - j& A7 f5 B8 B" S, V6 A$ V
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly, N4 e4 n3 [( ~. _* `3 [
  376. ; long running scripts.  h4 k9 y8 ~% \# s- b! ?# J8 a
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      [8 t% ]" P" B; h6 N
  378. ; Default Value: -1 (Unlimited)- m1 f2 S0 e/ n  }. E0 n
  379. ; Development Value: 60 (60 seconds)
    * W: u! P2 f3 k% ~* V
  380. ; Production Value: 60 (60 seconds)
    # l  ~% y" ?- Q+ g2 l  ?
  381. ; http://php.net/max-input-time4 F9 o6 r* X  g8 h$ E5 p
  382. max_input_time = 60. }2 i. m' j; b6 C, R. @
  383. * E! X+ e' C: H
  384. ; Maximum input variable nesting level
    ; G% U3 d4 L* h
  385. ; http://php.net/max-input-nesting-level
    ) P# l2 z4 v2 r5 k) p
  386. ;max_input_nesting_level = 644 v; P5 `: m. _3 R; ~2 w) x) [

  387. ' @5 H5 J4 v6 |$ K& t! J% j
  388. ; How many GET/POST/COOKIE input variables may be accepted
    & g" A9 o! L6 h1 S/ q
  389. ; max_input_vars = 1000& K- K% O- d+ D/ t7 s0 O/ C
  390. ) d7 C4 N& W: @# J7 l$ ?
  391. ; Maximum amount of memory a script may consume (128MB)
    7 V" o4 R0 \7 q$ F
  392. ; http://php.net/memory-limit/ m5 F- ]$ l# ^- m" W
  393. memory_limit = 128M
    $ S. Y' j/ v+ _( N9 l% O, u

  394. 2 I0 Y: b0 E/ j# w
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 f2 C* {( f1 F
  396. ; Error handling and logging ;8 `) u: B& K5 ]) `1 {
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - @7 q9 R% i# K: q9 j6 t. r, [
  398. 7 C# S% X3 V- M, K: T! [
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    5 J7 X; U3 c9 R/ Q$ o+ s6 t
  400. ; it to take action for. The recommended way of setting values for this
    & W( v* Y" V# t6 |! \
  401. ; directive is through the use of the error level constants and bitwise. j! B  p' X+ u. A* T1 \
  402. ; operators. The error level constants are below here for convenience as well as
    1 ^& D) X5 L  ^5 I: G8 Q8 B9 T
  403. ; some common settings and their meanings.1 P4 N  ]7 |; w! s6 E
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' W6 Q0 R4 P9 y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and* Q! Q* Z" {5 ?) ]. x- }& ?* M1 v( |
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    6 z8 z# V% ?# @, A/ X8 W
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    + w4 ^% G/ F8 N; T$ e! `
  408. ; resources complaining about best practices and coding standards. That's what
    ! A) y  i. Y+ E1 p, O7 L
  409. ; development servers and development settings are for.
    ! C; l$ r: G! I8 d
  410. ; Note: The php.ini-development file has this setting as E_ALL. This0 E) ]6 A- Q0 C5 [6 @/ {8 o
  411. ; means it pretty much reports everything which is exactly what you want during( J$ F& b! h( E, Q5 K5 L' o% z
  412. ; development and early testing.) \7 M3 t9 d5 e8 ]' \
  413. ;
    * _# K- @5 h9 q
  414. ; Error Level Constants:
    5 x  Q, @! c  E* Y+ q
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ) j% A  k3 R2 ]4 v7 [
  416. ; E_ERROR           - fatal run-time errors( b4 S6 n2 Y$ D
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 X5 E# O0 e. J# @5 O
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 m) q3 B1 t7 z6 A/ a+ h5 ^
  419. ; E_PARSE           - compile-time parse errors
    " t6 \5 v$ k; y8 }& E4 C4 H
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 x8 X0 w: b6 t, Q
  421. ;                     from a bug in your code, but it's possible that it was& y2 o& j! ^$ ~- j9 d, f: ~8 T: v
  422. ;                     intentional (e.g., using an uninitialized variable and
    $ m4 K0 ^* z6 {- }7 [
  423. ;                     relying on the fact it is automatically initialized to an
    8 {8 z. t5 i/ @# K
  424. ;                     empty string)
    " a1 p7 U* J$ J! U6 e$ ^6 f
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    5 y  \  e: l, S
  426. ;                     to your code which will ensure the best interoperability
    . a' N9 V. r8 U$ i: R
  427. ;                     and forward compatibility of your code
    / t4 x; Q( \, g  x
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup- M  A$ i) E: n6 J; N! W5 Z5 t9 a
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's& l- e2 y( M' X# x. v% }
  430. ;                     initial startup  b# X5 E! {8 I( D1 i
  431. ; E_COMPILE_ERROR   - fatal compile-time errors! q9 t2 T9 J* m+ E$ w7 m
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)# r: E6 u. z# d3 {. H1 c
  433. ; E_USER_ERROR      - user-generated error message& f$ a, v3 v/ `- Z+ F/ a* H3 K& _
  434. ; E_USER_WARNING    - user-generated warning message- r8 H$ [3 g% p, x
  435. ; E_USER_NOTICE     - user-generated notice message8 S" j+ s- C! r- n- Q1 r0 `
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    # E9 m% w- b7 S- u  F" h1 W
  437. ;                     of PHP' C) ?3 `- N" _* E# V6 K
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings1 Y9 M0 u$ ^+ E! Z8 {: C, G
  439. ;
    3 D* m# _8 s9 J7 X
  440. ; Common Values:# v; A) ~" }4 x$ B
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    , p* U' x) X+ J
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    0 u- w/ O: @3 n( |
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
      I/ x* s' x8 \! L  f
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    9 J5 J3 A* B- M' c, m
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 h3 v: G" M" s* }' K
  446. ; Development Value: E_ALL
    1 e" G" B8 w! F  W
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / ?% h* ~1 Z* n) E1 y! F. C/ ]
  448. ; http://php.net/error-reporting$ x5 Z8 W  T  f7 Y
  449. error_reporting = E_ALL & ~E_NOTICE9 N$ S& p9 b7 N9 s

  450. 5 w/ j  U3 M& Z1 l# o
  451. ; This directive controls whether or not and where PHP will output errors,
    $ t9 k( f! y9 ?9 _+ Z, I; Y" v7 z
  452. ; notices and warnings too. Error output is very useful during development, but
    - }+ s0 b4 i2 [. k' o2 V
  453. ; it could be very dangerous in production environments. Depending on the code- `2 S2 S6 K  y8 l& y( z
  454. ; which is triggering the error, sensitive information could potentially leak
    0 {- a2 A! a% R+ P( F6 O+ r
  455. ; out of your application such as database usernames and passwords or worse.
    3 K5 Z# r5 F! t; W. d2 l( e
  456. ; For production environments, we recommend logging errors rather than* c) m+ v5 u2 j: j: S" P0 D1 p! Z
  457. ; sending them to STDOUT.
    , T; F' O! _$ t; _4 x
  458. ; Possible Values:2 t4 x. l+ p/ t+ L; C1 g# c) R2 K
  459. ;   Off = Do not display any errors
    & M% L  I0 b+ j2 h: F
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! V& |; A( u+ J. \
  461. ;   On or stdout = Display errors to STDOUT0 d( S. n% V' l  F5 |' T
  462. ; Default Value: On
    ) K: p0 w* K1 H; s5 w# d4 x
  463. ; Development Value: On
    9 S# t% f3 O9 O  H- S
  464. ; Production Value: Off0 k0 q' f" A0 h; d
  465. ; http://php.net/display-errors
    8 x4 G6 O  O% O# K4 E" d0 w! t9 D
  466. display_errors = On
    , b/ Y( H& b1 J4 C& t0 x
  467. : x( A1 Y" m, z- z# \
  468. ; The display of errors which occur during PHP's startup sequence are handled
    1 j& }9 s2 K$ F9 J5 D0 B# w
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    % R4 X, n! N* L# I& y
  470. ; errors from clients. Turning the display of startup errors on can be useful in2 @. K& U$ X; K7 U: g
  471. ; debugging configuration problems. We strongly recommend you! ?1 u% N. A. d) C+ r9 w$ P  M
  472. ; set this to 'off' for production servers.
    0 [& B4 ]& u$ w/ |. \: A9 w
  473. ; Default Value: Off
    & f2 l, I- G5 o$ f# k- t7 S( d4 F1 V
  474. ; Development Value: On- V* y+ m1 I' }# ~
  475. ; Production Value: Off
    % c6 I3 `% J5 q( n
  476. ; http://php.net/display-startup-errors" Q3 p3 C/ r) b6 c" H+ q) Y
  477. display_startup_errors = Off" n6 l& o& ~4 F* d0 g* C$ D

  478. # W+ v/ q/ i6 r( f( l0 l/ y
  479. ; Besides displaying errors, PHP can also log errors to locations such as a- t+ B2 Q/ t; [% q6 [
  480. ; server-specific log, STDERR, or a location specified by the error_log4 A. ~! z7 a, l3 E5 i
  481. ; directive found below. While errors should not be displayed on productions
    1 S& |, J( Z6 O3 x& O
  482. ; servers they should still be monitored and logging is a great way to do that.
    ( ~6 s. W  p+ @# Z; j- V
  483. ; Default Value: Off
    3 e( b, T) b2 w
  484. ; Development Value: On4 @% s4 E4 T& K( n
  485. ; Production Value: On* m5 Z0 J0 t5 O* k, p2 f, |
  486. ; http://php.net/log-errors
    - g, ?# G3 k, d! G( b7 p: `8 j" K/ {' Z
  487. log_errors = On* ]5 Y4 A' h0 r5 z. L  u  b) f7 x
  488. * ~/ ~! {& W5 p0 |/ k
  489. ; Set maximum length of log_errors. In error_log information about the source is
    . U, Z) v0 S; ?& S
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    9 Z0 V% I1 k5 y
  491. ; http://php.net/log-errors-max-len
    ) N! q: T$ s7 Q9 [
  492. log_errors_max_len = 1024
    2 ^) I% }1 x% J- r6 Y8 `7 k
  493. 1 p# [: L* K, t' R% t3 e7 l  o
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; G3 b3 n# k) Q) y& s
  495. ; line unless ignore_repeated_source is set true.
    - l: s$ L* g) A2 y
  496. ; http://php.net/ignore-repeated-errors
    / l7 O2 ~+ v/ K3 D' X/ ^
  497. ignore_repeated_errors = Off
    3 f4 V- V0 ^$ S% x
  498. ; ~0 P% {; `6 o/ @7 Z( s1 _+ F9 K9 m
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ( ?3 f: S- w3 i& k8 C
  500. ; is On you will not log errors with repeated messages from different files or
    ' w% V0 s0 g6 Z  v+ E. T& N$ T" I1 e5 R9 l
  501. ; source lines.( M" d( @  m) o5 w; b) D% H: t
  502. ; http://php.net/ignore-repeated-source
    / u/ E" q+ o" h
  503. ignore_repeated_source = Off) Q+ @  W+ `, F: q8 f
  504. 2 q7 q# n! M' H5 v# m4 z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on' N6 f$ z& i( w( P0 \/ y9 _
  506. ; stdout or in the log). This has only effect in a debug compile, and if: k3 z. Q; [, y$ T$ A! d1 [4 R
  507. ; error reporting includes E_WARNING in the allowed list
    + q; `. |6 C- R
  508. ; http://php.net/report-memleaks
    : [' O% e# J# }  j
  509. report_memleaks = On- R6 t4 \' w0 j# G# T8 ^! U" I" ?% p

  510. 4 P' B) k: ^7 {! ~/ t# y" p
  511. ; This setting is on by default.
    , g% Z# y& b. ?* t8 x$ _
  512. ;report_zend_debug = 0
    , M0 I6 y2 z/ U) u" j1 {

  513. 8 R9 x2 `+ d. {- G" U
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 f0 S. b; P5 _3 h  Z
  515. ; to On can assist in debugging and is appropriate for development servers. It should# x5 q6 J, g/ {$ |, i/ [
  516. ; however be disabled on production servers.
    # V" `$ u; i) Z$ B
  517. ; Default Value: Off% R% M. C6 R! X
  518. ; Development Value: On
    % j0 X8 M7 u' O8 u* V& _$ j% }
  519. ; Production Value: Off" r4 t# I+ f* `3 ?* ~/ n% {7 Y! s
  520. ; http://php.net/track-errors
    / j" h% l* h/ i9 H! }) Z: Z7 |% L
  521. track_errors = Off! r6 Z% f8 M& d$ x2 U' N3 M
  522. + I% }8 F$ Q8 l
  523. ; Turn off normal error reporting and emit XML-RPC error XML, N$ Y, N6 A) X  |2 l
  524. ; http://php.net/xmlrpc-errors: `' g3 x9 E" Q  U, D/ n
  525. ;xmlrpc_errors = 01 z/ w+ I& G; `( c" f. q
  526. - f. G8 i7 O. d( L& f2 E: Y
  527. ; An XML-RPC faultCode, R3 H* j9 i  ?4 @+ G  C; Q
  528. ;xmlrpc_error_number = 0
    2 U% ]9 [* S1 ?0 }7 \# h  F

  529. ) _7 e/ x! O6 A7 [0 R' m( b' ]
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , T! v- @, a6 f" {, L/ |* t
  531. ; error message as HTML for easier reading. This directive controls whether) r! B, B9 [9 P" h
  532. ; the error message is formatted as HTML or not.
    . o, _0 j* G8 V/ [
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI8 E& T+ j9 @3 P# ^, f: U- [
  534. ; Default Value: On
    # O; G7 P3 E3 i3 g' f/ p
  535. ; Development Value: On
    & K$ u1 \/ r& i8 I8 [  ~
  536. ; Production value: On
    . Q) m& t3 o, t  m- `' S' |) D
  537. ; http://php.net/html-errors
    6 W2 I0 v" ?2 X( {
  538. html_errors = On+ U6 }- J7 Q' X- d+ l9 v! E

  539. % f8 U) L3 k$ X9 e% F
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    5 D- @5 H# p; U& f3 W, A  X0 }0 ]
  541. ; produces clickable error messages that direct to a page describing the error
    % b: D6 x7 Q8 b
  542. ; or function causing the error in detail." e* d' d8 J) f
  543. ; You can download a copy of the PHP manual from http://php.net/docs% E: X' M" n7 s9 h( Z) j1 O) q3 ~
  544. ; and change docref_root to the base URL of your local copy including the
    / _" k! H7 e1 h0 |, \0 f
  545. ; leading '/'. You must also specify the file extension being used including6 ?9 G7 [6 X. k- ]
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ( X7 Q6 y: G& j  J
  547. ; case no links to documentation are generated.
    9 x/ j3 x3 S3 ^" |9 q) l  M; S2 [
  548. ; Note: Never use this feature for production boxes.6 Y4 n$ j2 K  C% O# k" Z4 v6 P+ |
  549. ; http://php.net/docref-root. r; w4 x" M) H; X4 F
  550. ; Examples& l3 i3 d& H& w6 Y% N; z' i
  551. ;docref_root = "/phpmanual/"! w: j3 k3 a, C& v9 [) s. I

  552. $ z" C5 H. T/ F4 @4 _
  553. ; http://php.net/docref-ext
    1 J# f) E6 `& A
  554. ;docref_ext = .html
    . Q& O  |  j' ]2 [# f8 S8 e

  555. 6 X7 a2 L7 {$ a% F3 O4 y
  556. ; String to output before an error message. PHP's default behavior is to leave
    % `6 }; a+ K! }3 V8 u) H& ]$ M
  557. ; this setting blank.) o& r! O/ s# o: b. j
  558. ; http://php.net/error-prepend-string
    , a& _% W* h/ s- K/ r
  559. ; Example:
    / P/ `0 j, j  p1 Z* ?
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    % O7 \0 |3 W2 H% o: c

  561.   h3 p) z+ f: Q5 S
  562. ; String to output after an error message. PHP's default behavior is to leave
    ) Q9 E) t, t$ r3 B1 n) `  I4 e
  563. ; this setting blank.
    9 E: w/ W7 e0 g. O9 x# Y# a2 A
  564. ; http://php.net/error-append-string
    , x' v9 w5 I- V( K' a3 h8 g
  565. ; Example:
    ! A/ W. S2 @5 s$ k( E
  566. ;error_append_string = "</span>", b  n3 W% G! ^
  567. 7 y) \8 |. c4 @& n& Y. J8 s! V
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    $ ]' k7 q0 D3 D; k
  569. ; empty.
    6 g# p. h4 W6 N# B' a. a7 }3 ~' D' b* r
  570. ; http://php.net/error-log3 m3 `* a  p7 y5 N+ P- Y( M
  571. ; Example:
    7 T, W9 a" [( I
  572. ;error_log = php_errors.log
    # c$ d" [& q3 ]5 K" @4 ~' v+ A
  573. ; Log errors to syslog (Event Log on Windows).
    ; I! Z1 D: Q; O+ P
  574. ;error_log = syslog
    * G" @7 k1 H& s( u/ ~

  575. ( c( G8 q$ C! J+ w0 K6 m
  576. ;windows.show_crt_warning
    8 e7 O8 b  b/ \1 I
  577. ; Default value: 0' H  P- ^0 j0 u, f+ O& Y7 G* f
  578. ; Development value: 0, k9 w% S' y" Q5 @# u9 O
  579. ; Production value: 0
    " ?7 I3 ~7 H: G+ w& [) G. d8 R6 F

  580. . C# d" X* y0 q! X4 Y$ t2 _# n4 Z
  581. ;;;;;;;;;;;;;;;;;6 @6 ]# v) |/ O" {, P
  582. ; Data Handling ;
    6 w6 D1 c1 @* h" j0 L# w; @+ s2 d
  583. ;;;;;;;;;;;;;;;;;
    $ S% ~/ w0 l* o$ z) {

  584. ! h+ B. J! v4 a# k$ b
  585. ; The separator used in PHP generated URLs to separate arguments.8 T8 I! K1 B. L8 j
  586. ; PHP's default setting is "&".
    # Z: p2 [7 V, b9 {7 O% ^+ [) ~
  587. ; http://php.net/arg-separator.output
    % m& ~  ]: L0 ], W. B& {$ ]
  588. ; Example:
    3 P# j' l; I2 \& R) y$ J
  589. ;arg_separator.output = "&amp;"5 S% y3 X: U! j1 H* e) D

  590. 2 M1 t. v: P9 b; }6 ^% H# ]
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ) W( |- F3 N% v$ X3 L2 H, |& G
  592. ; PHP's default setting is "&".0 U% X( _# M( Q* w: C6 N
  593. ; NOTE: Every character in this directive is considered as separator!7 [, @! r3 V: X8 t
  594. ; http://php.net/arg-separator.input- B; @) m+ R+ |) K6 I
  595. ; Example:
    ( F3 b9 A. |+ x$ e- L
  596. ;arg_separator.input = ";&"
    & [" d2 e- G6 f/ r, r2 D

  597. ( d( Z8 W" K4 X8 y! T
  598. ; This directive determines which super global arrays are registered when PHP
    8 v& |4 i0 H* D5 {5 a& D7 m
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super3 Q5 c+ S# |  W8 k0 b) W
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ) Z7 w3 d& m/ D3 l' P6 H$ t
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    7 v8 |! y, u% G' I6 V) I$ {( y
  602. ; used as the others, ENV is not recommended on productions servers. You
    % ?7 ?# q. j/ v2 [0 u8 B
  603. ; can still get access to the environment variables through getenv() should you
    4 u  y$ t4 G/ M' U; I0 R5 Y( G9 l
  604. ; need to.( u8 O9 E" a/ K7 e8 j
  605. ; Default Value: "EGPCS"! u) I) M7 s+ N- |6 o5 U* a
  606. ; Development Value: "GPCS"" J0 V' L' P& {% w
  607. ; Production Value: "GPCS";
    3 ~7 ~# X/ k/ J3 \- q4 @
  608. ; http://php.net/variables-order* M& D$ k! ~( M0 t. ]
  609. variables_order = "GPCS"
    " r  u- o! U9 }: i8 h6 _
  610. 1 @$ H- u  h$ k
  611. ; This directive determines which super global data (G,P & C) should be% w$ `  h, s& D3 Q8 a3 E3 b2 u( Z
  612. ; registered into the super global array REQUEST. If so, it also determines
    + k- P  Y% {8 N! h9 L
  613. ; the order in which that data is registered. The values for this directive: t8 `5 D1 Q9 y
  614. ; are specified in the same manner as the variables_order directive,% k. y3 ]7 u, [$ h. |' s! B9 }
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& }5 e- x+ ^; K* W% S
  616. ; in the variables_order directive. It does not mean it will leave the super& r. q0 N3 z& P- |- m7 P" Q% X
  617. ; globals array REQUEST empty." o& f! A  M5 g$ V! x, r. E
  618. ; Default Value: None: }: l  A+ l$ k
  619. ; Development Value: "GP"
    $ g/ P1 C+ |% r9 I
  620. ; Production Value: "GP"8 K. _0 n. ^8 ^
  621. ; http://php.net/request-order9 U% d+ J5 }$ E! E+ {7 ?
  622. request_order = "GP"3 v/ C, m* E, t8 g# M
  623. 3 a4 L: @2 V" P
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ' E: i9 A/ ]2 [6 f( R0 _6 ?7 V7 J
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    : K' u2 n7 |2 q8 Z  a0 w
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ) O) e/ b* q8 i  ~/ U
  627. ; that were passed when the script was invoked. These arrays are extremely  a. k6 l3 F1 E7 o' M: O
  628. ; useful when running scripts from the command line. When this directive is+ K0 Z. z6 [5 ~: Q
  629. ; enabled, registering these variables consumes CPU cycles and memory each time( ~) s# p' w6 u+ u8 ~
  630. ; a script is executed. For performance reasons, this feature should be disabled
    - R3 S: D# H- K
  631. ; on production servers.
    # E9 p" g( m) ?6 k" i
  632. ; Note: This directive is hardcoded to On for the CLI SAPI0 }! f; f6 a9 Y8 [
  633. ; Default Value: On9 R  R  K+ J  r. ]' a
  634. ; Development Value: Off" h6 {# ]- e4 ~9 w9 w
  635. ; Production Value: Off# N2 a4 o$ w) j! g. Y5 b0 P* }% b
  636. ; http://php.net/register-argc-argv
    " ~! F& Y8 _  P' b) Q+ r" N
  637. register_argc_argv = Off
    7 M/ ~. U) P! y8 [- v7 s0 @

  638. 7 Y0 w! D2 U$ Q8 O
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're2 l! {% ^  T& O6 e# V, ?% R7 M
  640. ; first used (Just In Time) instead of when the script starts. If these3 f$ i$ w" j  m
  641. ; variables are not used within a script, having this directive on will result
    ! G; _0 N* m" u$ ?
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    / t& Z( E2 H/ D& w# R3 y# I' T4 a
  643. ; for this directive to have any affect., v% B* m1 H" C5 `5 |
  644. ; http://php.net/auto-globals-jit3 c/ M, @- w! Y8 K
  645. auto_globals_jit = On
    ; f7 h/ z+ n1 R' Z- y. q/ P2 E- Y' n

  646. 5 R% e' c' V7 L# {- V
  647. ; Whether PHP will read the POST data.
    ( ^- h7 m( ]3 D' O0 u  d2 `4 S
  648. ; This option is enabled by default.
    6 G0 A% f- \* U% R1 m+ Z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    0 {0 X% q& b$ v5 V) _/ w
  650. ; and $_FILES to always be empty; the only way you will be able to read the- C$ u: L( ~4 k0 `: Q( d) ~+ `7 ]3 z
  651. ; POST data will be through the php://input stream wrapper. This can be useful" o4 d( k8 t: X2 Z4 {/ h: s
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    2 G6 ^" b0 Z1 T' p1 }
  653. ; http://php.net/enable-post-data-reading
    ; U- L- t; y3 S
  654. ;enable_post_data_reading = Off4 Z$ @9 N/ V$ f; x  Y9 d

  655. ) L" ], n3 B: F7 ^2 f+ X' H
  656. ; Maximum size of POST data that PHP will accept.
    ; {6 \1 q' C: c9 ^" o# }' l
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    . p1 T2 N, g0 U% b9 S) t' h1 {3 i3 K  e
  658. ; is disabled through enable_post_data_reading.0 c' _- j/ }6 ?" N0 {
  659. ; http://php.net/post-max-size4 j- @, S$ L8 k# B( Y
  660. post_max_size = 50M
    % a$ s+ K" G+ v5 f$ x! Z5 K
  661. 5 @7 F8 f3 E2 U; l2 A6 g) E
  662. ; Automatically add files before PHP document.
    & D( C' W/ ~0 ]  b& U
  663. ; http://php.net/auto-prepend-file
    ' ]0 {. t# \3 L0 q
  664. auto_prepend_file =2 ?  |2 }, z$ R3 t) p6 }6 l

  665. % X9 e: _  N5 Q9 e, M2 U
  666. ; Automatically add files after PHP document.
    ' ~2 o5 }" ^: ^
  667. ; http://php.net/auto-append-file, R5 \7 r9 v. g1 r5 @! f8 }5 L2 u  C
  668. auto_append_file =! w) G- O. H' o* U# t* f
  669. ) r- _3 h4 B8 c, s+ l
  670. ; By default, PHP will output a media type using the Content-Type header. To
    - c; l$ W9 S6 f7 ~5 t" i
  671. ; disable this, simply set it to be empty.: n/ z' I6 Y5 I' _7 [5 Z
  672. ;
    , n* a# Y1 r! E' |
  673. ; PHP's built-in default media type is set to text/html.
    3 H( C6 E+ s. A9 a+ F: f
  674. ; http://php.net/default-mimetype
    ( o1 E  r3 L  X9 Q- y0 W, A: s
  675. default_mimetype = "text/html"
    4 B/ a( g8 [% H0 G6 P7 G

  676. - X8 @7 o" |& X# W- y
  677. ; PHP's default character set is set to UTF-8.
    / U' l, O3 |+ l7 \
  678. ; http://php.net/default-charset7 ~  c! l  f5 z
  679. default_charset = "UTF-8"3 {8 ]: C: v7 a* W7 b! C3 H

  680. , K! T6 G! @* ^& `% [
  681. ; PHP internal character encoding is set to empty.: M4 d' b1 k- c$ L4 ?& n
  682. ; If empty, default_charset is used.
    $ w- H$ _  v8 d. O5 Z% D
  683. ; http://php.net/internal-encoding
    ' V7 V* R$ o7 _' E- b$ U: u8 e
  684. ;internal_encoding =
    / I* \7 T1 \8 V# K1 I% j- ?3 h
  685. % N& Y# Q  v# ^4 v# b4 R$ S
  686. ; PHP input character encoding is set to empty.' L0 p4 ?+ B4 z1 Y5 z: o
  687. ; If empty, default_charset is used.
    ( H- c3 H8 `- c: \
  688. ; http://php.net/input-encoding
    7 G9 z( B; u" {/ J
  689. ;input_encoding =
    7 o7 Q% \3 \% m- R3 z8 X% O3 }; M1 `
  690. 3 h! u$ u6 ~0 `8 p) Y
  691. ; PHP output character encoding is set to empty.
    # R* e+ t9 I% @3 C
  692. ; If empty, default_charset is used.
    . i8 h7 m  V; q: z
  693. ; See also output_buffer.
    * _  ?* Q' p. l5 ?
  694. ; http://php.net/output-encoding
      M" P5 u) k7 p4 }! D
  695. ;output_encoding =
    " q* x9 u# @; n3 P6 B! z9 l

  696. " b- B6 G/ I& F& u. O7 }" |! `
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    - e  y" q0 ?/ F$ `: ?. v9 I5 _* r
  698. ; to disable this feature and it will be removed in a future version., J3 ~1 _; u* W  I; v  Z
  699. ; If post reading is disabled through enable_post_data_reading,- @3 s, I1 r: r" w- z  h
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    6 x8 J$ [9 X7 w! m" O  B
  701. ; http://php.net/always-populate-raw-post-data
    9 }$ M8 b% g( ^& J  e- i- }% e
  702. ;always_populate_raw_post_data = -15 O7 M. G" E7 v
  703. : b, y- z+ E# P
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;6 L1 t+ D* c9 z& y4 F2 e
  705. ; Paths and Directories ;4 r" P' M3 _$ U
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;$ [4 {. v0 i, D* V8 O
  707. ) h$ B# j/ L" N$ e6 \
  708. ; UNIX: "/path1:/path2"% l% f( r6 \+ O* J# O* a- j# R
  709. ;include_path = ".:/php/includes"
    * z0 |. T, X. [# E4 ?
  710. ;
    3 d4 s7 N3 {6 J2 x6 j' I
  711. ; Windows: "\path1;\path2"
    : H  D2 @; o! H( n9 _% r
  712. ;include_path = ".;c:\php\includes"1 ?9 P9 W, b  \0 k/ S) S, P7 ]
  713. ;6 r* L( Y6 H9 v- f2 y  @, T
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"0 ^3 g0 `- }0 i+ I1 u( E$ c
  715. ; http://php.net/include-path+ O8 ^4 P4 E5 ?- N# @; n

  716. * o: n4 i1 u$ d$ M( {6 i
  717. ; The root of the PHP pages, used only if nonempty.; i2 F! V* m1 F$ J
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; q8 j: ^7 E) t# a
  719. ; if you are running php as a CGI under any web server (other than IIS)* Z0 r! m2 x/ V' x+ ~
  720. ; see documentation for security issues.  The alternate is to use the
    3 K! }7 W% s- `  |% @
  721. ; cgi.force_redirect configuration below% p  e  Q- R5 |- b
  722. ; http://php.net/doc-root
    # p9 a: O- @% l4 L5 P
  723. doc_root =2 N4 N+ y! K2 u& I7 O- S; P& a3 W
  724. & F: ]3 x4 l5 x) Q7 o. w, j
  725. ; The directory under which PHP opens the script using /~username used only+ A- e5 h$ o7 C8 e& j# `
  726. ; if nonempty.! i/ M: `& q+ S1 {' F
  727. ; http://php.net/user-dir
    ; S6 `# J$ T4 R: d9 `( J! g
  728. user_dir =
    + u* j, Y, \; D* N; v/ w' x

  729. - H3 G) [, |" `. C7 w5 M6 c% X
  730. ; Directory in which the loadable extensions (modules) reside.3 s: \7 G/ a* Q
  731. ; http://php.net/extension-dir& r3 _9 I* |, N! a
  732. ; extension_dir = "./"
    ; _1 R% q* {! P0 ^3 P+ X
  733. ; On windows:% Z/ p6 g' I& _. Y$ Q# ~
  734. ; extension_dir = "ext"! C" N3 U$ J7 T4 n2 n

  735. 6 _3 l7 V; o: c( `
  736. ; Directory where the temporary files should be placed.
    ( q4 p# U6 f9 V8 s* O9 q
  737. ; Defaults to the system default (see sys_get_temp_dir)
    0 M& z2 P. v% _2 t  a: J1 H! }
  738. ; sys_temp_dir = "/tmp"7 h" c8 z" U& X, w5 z1 z; V

  739. ! E' N- e# p) E
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 [& I* K4 |: ^  g& d
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    0 ~- X8 a% v$ y" K3 P
  742. ; disabled on them.. ?0 M* R# Y$ D1 F- Y  H
  743. ; http://php.net/enable-dl: A" ?- _" d. K5 C
  744. enable_dl = Off
    4 J9 z- D7 e3 k
  745. ) a5 v, G' i) l$ Q4 ]6 u
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under0 X0 b, A! W9 r* f% t
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can2 J, E/ o* K& i$ n
  748. ; turn it off here AT YOUR OWN RISK- |( W/ D+ V4 ~" R$ c7 [9 y* z
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ! B! M7 [, w+ ]0 J4 g
  750. ; http://php.net/cgi.force-redirect& Q5 s9 L% @1 e$ Q& ]: ~+ `
  751. ;cgi.force_redirect = 1
    7 ~, ]* T# g1 D+ r# E4 [

  752. & ~0 \! H* @7 ?( K7 v+ U
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & v- [2 o( e+ U3 d$ i# W4 k
  754. ; every request. PHP's default behavior is to disable this feature.
    , n+ w, c9 V8 l# c# ~
  755. ;cgi.nph = 1
    9 d. [7 I+ D3 }

  756. 4 S: G7 s9 \+ ?+ Q3 x  p; |+ L
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  d3 }2 g9 F% U6 R# x- j3 d
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    7 Y) j' P* H: s* y4 _+ d, Z' k, s  x# _
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 S4 u8 d7 W8 k7 {/ ~( l& [
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : o! T" l+ J& b2 [
  761. ; http://php.net/cgi.redirect-status-env& O7 ]9 q# r) e  G1 r# O
  762. ;cgi.redirect_status_env =* [- ]* P0 ?6 F4 o
  763. 1 v9 t9 a& L3 y" b% J* O) o
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 A  A, O: s5 A& |9 N# N
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok7 ?- k. J( `( ~; a/ [6 f9 c" f
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    4 X7 h, D+ y% B
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting& v- @/ c& g2 r# F- w' m3 K5 z' ^
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts6 l4 n6 V: J( }% N- z9 \
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    / @$ I8 s; K# u0 U3 Q) L- _3 S
  770. ; http://php.net/cgi.fix-pathinfo! a- N$ a6 ]* ?# y8 Q* k: k
  771. cgi.fix_pathinfo=1
    $ z  Q9 v6 w  b5 ?; }' g
  772. + k' K5 Z- A) e) X6 o# x: J
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& I' q: N! M3 j& T
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 [$ O6 x5 j/ E" }  q
  775. ; http://php.net/cgi.dicard-path/ `, a8 ^- p5 S2 t" G; C
  776. ;cgi.discard_path=1
    9 `) k  ]2 U- F# Z
  777. # P: A, N5 A6 r* g) X
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; l4 _2 j. Y' I$ v
  779. ; security tokens of the calling client.  This allows IIS to define the% O9 a5 L5 r7 A, ?) R  [& l# Y
  780. ; security context that the request runs under.  mod_fastcgi under Apache) K9 O( O! k( l' U7 S
  781. ; does not currently support this feature (03/17/2002)
    % ?* J0 O& U1 ]6 `2 y4 {
  782. ; Set to 1 if running under IIS.  Default is zero.+ \2 `: w# V$ x) V9 K: o  [
  783. ; http://php.net/fastcgi.impersonate
    " R; m$ B9 w8 o& r/ H+ a' E
  784. ;fastcgi.impersonate = 17 D, H. Q0 y+ t, ^1 v

  785. * ~& I1 c6 s. L9 y3 A
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    2 `9 n1 ], i) T9 O( I2 K, ^
  787. ; this feature.5 [- u7 K( k5 d' |
  788. ;fastcgi.logging = 0" T* V& T% X& \5 T: F

  789. 5 P0 R" ^1 J; q5 D6 n6 F) R
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  z5 }' W( [7 R+ ]- g0 }
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * G+ H9 Z1 V7 \, [3 P2 H; c( N2 x4 a
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    & k8 s" {2 B' D
  793. ; RFC2616 compliant header." ^8 J7 R; W: Q  F& D9 ?( `2 O* [
  794. ; Default is zero., g7 E0 C4 J8 Z) E0 y4 u1 k0 Q1 `
  795. ; http://php.net/cgi.rfc2616-headers0 a9 `8 Z9 P6 ?% G
  796. ;cgi.rfc2616_headers = 0
    % F/ b# t8 d8 e" ~7 p% R6 @

  797. ' J: _: r7 ?  P4 Z' V; |/ z0 y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!) _6 S* m( s" G" i# p7 S: A
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ! E3 a8 i$ W, O, [5 F
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 i! r, w- a3 f$ R
  801. ; mode skips this line and ignores its content if this directive is turned on.0 y# T+ g+ [" [4 A: W
  802. ; http://php.net/cgi.check-shebang-line
    ( d$ w9 D1 o( {9 P8 W
  803. ;cgi.check_shebang_line=1
    * h# e/ b' l) W/ K7 F
  804. ! F9 b, `! y9 a; L/ G2 n
  805. ;;;;;;;;;;;;;;;;2 m$ L8 C5 D* V: H* _5 e
  806. ; File Uploads ;
    ' t+ n% M$ D* ?- n
  807. ;;;;;;;;;;;;;;;;
    4 g% r1 o7 @; O! [" x3 D. Z
  808. - x5 G9 ~/ a( [% m  \, I* D
  809. ; Whether to allow HTTP file uploads.- ?  ~/ |0 V8 T5 ?, L6 W4 [
  810. ; http://php.net/file-uploads
    " _, F- D2 z, N6 R7 ?
  811. file_uploads = On
    1 w0 I' P: U+ p0 Z% I

  812. : Q2 W- S/ S/ o2 w+ j9 ?: x
  813. ; Temporary directory for HTTP uploaded files (will use system default if not6 k9 I9 W# O8 O$ m
  814. ; specified).; P+ D" w/ v6 L
  815. ; http://php.net/upload-tmp-dir- ~! E& Q" O  {/ R. `7 l
  816. ;upload_tmp_dir =
    1 ]4 q9 W. C/ ^. a
  817. 6 L, z9 K4 `/ e7 D8 x( O2 m9 h
  818. ; Maximum allowed size for uploaded files.0 u% f0 @. r" Y: \  w
  819. ; http://php.net/upload-max-filesize& i0 v4 H8 ]2 K
  820. upload_max_filesize = 50M
    7 h# p6 g0 y' @) }8 C

  821. - l, U) o" D9 H, ?; L
  822. ; Maximum number of files that can be uploaded via a single request
    ; q% V- y# E$ N
  823. max_file_uploads = 20
    ; s/ z4 U' w' W9 f& I6 O
  824. 6 n% e3 Z' V# g3 O' {
  825. ;;;;;;;;;;;;;;;;;;/ t0 o8 }1 ]0 e* i, v
  826. ; Fopen wrappers ;
      e+ a7 s6 t4 f1 M6 F
  827. ;;;;;;;;;;;;;;;;;;
      L4 e" r2 V, k$ h
  828. 9 f  x! p% U# c
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.5 Z! g0 L* m9 t5 u9 X
  830. ; http://php.net/allow-url-fopen
    5 R: [5 f7 L, a; {# E
  831. allow_url_fopen = On
    + `% d* ^" F0 V* u: O) R

  832. ; @& I! y6 A& W- E) L
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.) W! _" ~0 A* o; T6 c
  834. ; http://php.net/allow-url-include$ R* J  v( l" P* e& G  f* u* K% ?: h
  835. allow_url_include = Off2 y! A- j& w  X% }: a- V. f  u
  836.   j' N& b" ~% N# ?! b
  837. ; Define the anonymous ftp password (your email address). PHP's default setting$ {4 p" s8 G% Z( f+ t; e" X$ x
  838. ; for this is empty.
      b1 j7 @1 _5 L
  839. ; http://php.net/from, \9 m8 T% Z9 h& V3 _, P; G% }
  840. ;from="john@doe.com"
    3 r8 D# T3 M" B/ @1 C- o/ L
  841. # n2 C" U. A% n/ |; O
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ; F9 d; g, c: @" |4 [
  843. ; http://php.net/user-agent
    - C$ a# B. u6 A, O
  844. ;user_agent="PHP"! A' ~& W2 J4 J! K6 U( V! V3 }" ~% [

  845. 3 U! q% j6 [& V! ]
  846. ; Default timeout for socket based streams (seconds)1 s) \9 p% ?8 U+ }. H5 W" p; ^
  847. ; http://php.net/default-socket-timeout, t& ~+ x4 U: q3 x& {1 l: T  U
  848. default_socket_timeout = 60; O& B/ C/ v3 V. A8 S
  849. . T: f  ~1 F, _) e1 @5 Z; j' I
  850. ; If your scripts have to deal with files from Macintosh systems,
    / ]4 f; ~# u/ n. [% \3 t
  851. ; or you are running on a Mac and need to deal with files from
    4 h8 p3 B# N$ T8 z4 q
  852. ; unix or win32 systems, setting this flag will cause PHP to! E+ v6 O" I, D
  853. ; automatically detect the EOL character in those files so that- O3 b  W9 g0 |2 X
  854. ; fgets() and file() will work regardless of the source of the file.
    & F- ~) Q4 z" |9 r+ d: j
  855. ; http://php.net/auto-detect-line-endings+ O6 w8 Y0 p* B7 ]
  856. ;auto_detect_line_endings = Off
      u$ u% z- [6 r9 j/ H& Q

  857. . a6 _/ C, X# j9 y! N$ D
  858. ;;;;;;;;;;;;;;;;;;;;;;
    " d# I* Z8 O( C! x7 c
  859. ; Dynamic Extensions ;# Y) R5 C9 m) a3 m$ `/ X* r1 y
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ' a4 c; S- Y: R, h1 k0 \/ r

  861. * M- H% q- B  `9 q! Z( L
  862. ; If you wish to have an extension loaded automatically, use the following
    5 p1 D" n( n; w! v8 Z
  863. ; syntax:7 {8 ]" A9 Z  x( v+ Z
  864. ;  q+ m% `, v2 l% M& f. G8 q
  865. ;   extension=modulename.extension
    ; |/ O7 U) ^/ q) N/ T0 e2 o; ^
  866. ;
    : d6 V3 g3 w7 w( `4 B  F& V
  867. ; For example, on Windows:; |1 m) w# D0 b1 g% Y& }% m2 d! g+ W- Y0 D
  868. ;
    + j1 Y3 X2 O: z+ z
  869. ;   extension=msql.dll) F, {! {& |* A8 l& A8 _4 W9 z9 n
  870. ;+ b0 L5 p6 @) z! z/ d$ `
  871. ; ... or under UNIX:
    % h: Y* ]& u' O+ x( ^( N
  872. ;
    6 y; z( K/ ]0 R6 Y5 ]
  873. ;   extension=msql.so! u% D  j/ W" D" S5 i
  874. ;2 t) B4 v1 I0 W6 {
  875. ; ... or with a path:+ f3 ?) b+ o/ p+ z
  876. ;
    8 w# Q7 r. E0 _& R) `6 I
  877. ;   extension=/path/to/extension/msql.so
    1 |* S0 e6 Z; _% o+ j
  878. ;- m% W; u$ C% I" ^8 z- x, \
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ) @, O, B6 N6 q! \- H; B9 h4 b- f
  880. ; default extension directory.
    ) [" I9 |9 L# E( `7 P8 z0 k
  881. ;" A5 p1 q7 R5 k- u# e) G6 Z1 v
  882. ; Windows Extensions
    1 L2 Q$ T( v2 {1 b0 `
  883. ; Note that ODBC support is built in, so no dll is needed for it." n+ J' w1 s% i7 C
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)/ K* W+ N; b1 C/ x3 J5 v% S4 k
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ' W' A8 k+ C; h: X
  886. ; Be sure to appropriately set the extension_dir directive.* z) H9 ^% z" Y" F) [/ Q: F9 W
  887. ;6 B$ h( {  ~$ e
  888. ;extension=php_bz2.dll
    ; i  N7 b  T& h) x$ R5 j
  889. ;extension=php_curl.dll, l* }: z6 z. n) J# L% |; N
  890. ;extension=php_fileinfo.dll
    4 t. n  S, f+ z) J! R- y% h7 |6 Z
  891. ;extension=php_gd2.dll
    2 C6 O$ A2 ~& Y8 a5 [- e
  892. ;extension=php_gettext.dll
    ) V, D: u% p' s2 Q6 U4 s% m
  893. ;extension=php_gmp.dll
    9 q/ A+ ~, y# V4 e( q: w; s
  894. ;extension=php_intl.dll
    " p% f1 [& C8 X, {
  895. ;extension=php_imap.dll
    2 B7 G; m9 u0 l' z8 g- R
  896. ;extension=php_interbase.dll4 u- m8 H5 M5 Q
  897. ;extension=php_ldap.dll
    8 B. t2 E1 T6 K5 n9 K; F$ h' M) @0 C
  898. ;extension=php_mbstring.dll
      B6 i7 H- f2 o2 b9 R" i1 g4 @  U
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, V' _; S3 X' v& y- q, o
  900. ;extension=php_mysql.dll
    7 a% {: ]* T$ m( S, W8 t& x
  901. ;extension=php_mysqli.dll
      O5 s8 K3 T) U+ q; ^3 r
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client# G1 \+ E& O" h  g9 c& _
  903. ;extension=php_openssl.dll
    7 R: t" c/ D) Q2 P
  904. ;extension=php_pdo_firebird.dll+ r& j, T1 a0 Z
  905. ;extension=php_pdo_mysql.dll6 i! B+ m/ U( V9 G$ v  l) J
  906. ;extension=php_pdo_oci.dll9 C6 F( N9 l7 p  p+ l6 g! Q9 u
  907. ;extension=php_pdo_odbc.dll
    . S5 C0 V" Q- ~- y  |
  908. ;extension=php_pdo_pgsql.dll
    # }: h4 F6 Y% q4 ~( j# _- P
  909. ;extension=php_pdo_sqlite.dll# g& L0 `/ D8 o# [
  910. ;extension=php_pgsql.dll
    3 _3 u& A2 c" B. c* E+ X5 z
  911. ;extension=php_shmop.dll0 u- C# t: z. N- T/ J4 V" [

  912. 2 z1 w( x2 ^0 r( {) n1 A4 ~9 m
  913. ; The MIBS data available in the PHP distribution must be installed.
    2 z6 c# G  v' l: }* P
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    9 {3 L9 Q" a& l
  915. ;extension=php_snmp.dll3 x, P4 j1 ?/ S
  916. 8 a( q, g: _" x8 [
  917. ;extension=php_soap.dll4 \" H' x; D* p1 b9 [
  918. ;extension=php_sockets.dll
    3 ?4 G! X$ S, c* q3 o% a/ W, G
  919. ;extension=php_sqlite3.dll
    : a# T% q0 `" N. z; E
  920. ;extension=php_sybase_ct.dll! @  B: y  ^# k& K9 K% F9 y; W7 Z, c
  921. ;extension=php_tidy.dll
    , ~' K9 w; P5 n* t2 [% C
  922. ;extension=php_xmlrpc.dll7 J2 s0 C& e2 |* M7 v7 Q1 Q
  923. ;extension=php_xsl.dll
    ( B# ?' U! N' s  a$ k- _9 o
  924. * Q  f& ?0 j+ Y. N, d
  925. ;;;;;;;;;;;;;;;;;;;
    : Q) j& J. d* R+ y$ I" M" S! {' n
  926. ; Module Settings ;
    % f; T* l% i$ ]* j9 x: G
  927. ;;;;;;;;;;;;;;;;;;;
    ) z9 G# F" B7 a! i- U# L/ U

  928. * E2 Y' b$ |0 T
  929. [CLI Server]
    % r2 ^) q3 ]; q: [9 y
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    2 I/ L3 w' ~# k$ Z) T( N4 R: H
  931. cli_server.color = On; s7 Y3 y: X; b5 ]& E$ ~! e7 F

  932. + w' ]1 _) _. Q% F5 V
  933. [Date]% X9 F! t: t5 ^. f' `: Q; a
  934. ; Defines the default timezone used by the date functions( o* p" C1 Z" {( T1 I& e
  935. ; http://php.net/date.timezone
    - E6 I) Q& t3 G7 V5 E6 Y; P  B
  936. date.timezone = PRC
    ) u* u  [( r# E8 s# |1 X
  937. 6 u& t, {0 D) C: A( C- K" ~/ B
  938. ; http://php.net/date.default-latitude/ A- k: `9 p* ?8 T0 C
  939. ;date.default_latitude = 31.7667
    / Y9 j; K7 m+ Q

  940. * z  v/ y8 `/ N! Q
  941. ; http://php.net/date.default-longitude
    % N  R, [, Z0 a
  942. ;date.default_longitude = 35.2333% G' I0 I8 |0 G- l& k
  943. 4 B; s6 I. @* G, U! }" T. ]9 r( N
  944. ; http://php.net/date.sunrise-zenith
    $ k$ y; z% l* A' U+ s( S
  945. ;date.sunrise_zenith = 90.583333
    + i/ C" U  ~( `8 Y7 k

  946. " F" ?1 N# S) ?; S# P: d
  947. ; http://php.net/date.sunset-zenith: ]+ U7 m+ ]2 N+ c' R! w* J9 ^
  948. ;date.sunset_zenith = 90.5833330 U  f7 [# t6 G  V# e
  949. " k# o8 R3 J. E" M( z
  950. [filter]
    4 f, j# ]# }5 ?( H8 q( B
  951. ; http://php.net/filter.default3 K6 _- K' z6 U- d" D: H. l
  952. ;filter.default = unsafe_raw
    - l$ h! l; U2 ~" A1 x2 R
  953. ( j2 p* `1 Z7 v' L( j
  954. ; http://php.net/filter.default-flags
    3 v: n. d: x7 S9 _. I
  955. ;filter.default_flags =
    7 w2 x& q/ f6 L5 \# L' ]
  956. 8 z% }0 _7 o; S" h' B+ T! E9 S
  957. [iconv], J6 T1 x/ v+ L8 C4 j/ |6 Z
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.7 _) Y- b/ {% x5 k
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    6 b, g, r1 Y- I! S1 ~: v
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding" [+ x  E# a) I7 M8 l8 {! ^) J) M
  961. ;iconv.input_encoding =% H0 o9 N3 L6 [! w6 i
  962. 5 x' U  ?) J5 l/ K& n2 u
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      c: \! ]: C  N+ }# _" B
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 P8 Q: H3 ^: z. T& z* M
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! ]' _" u$ D/ G) V
  966. ;iconv.internal_encoding =5 Q  c7 A) A9 v& M5 O% I: j
  967. 7 I0 C6 ?8 E- U. f: `3 c, v
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.( f: d( r4 b* Z
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    5 I. O% M' h2 p5 h+ j; @  [
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding) R+ Z% s9 I0 ~3 F- f- t7 w) G6 }
  971. ; To use an output encoding conversion, iconv's output handler must be set6 N( p' ]1 O& V4 G7 p4 v
  972. ; otherwise output encoding conversion cannot be performed.
    0 z/ ~! n& o& Y3 ~: C8 J9 m% [1 A
  973. ;iconv.output_encoding =
      m; e9 N$ T# z
  974. 8 s2 A8 _' o9 @( r9 h9 e
  975. [intl]# T, G9 E1 g0 x4 H5 g* m
  976. ;intl.default_locale =
    * q. U# V, O  o; d# ]
  977. ; This directive allows you to produce PHP errors when some error! M; ?1 l3 p8 Y
  978. ; happens within intl functions. The value is the level of the error produced.
    + I! D, [$ \. U; O% F6 _8 B
  979. ; Default is 0, which does not produce any errors.' r& T, q+ L; C2 a5 x
  980. ;intl.error_level = E_WARNING
    & k, l1 _: g+ q, m) H
  981. ;intl.use_exceptions = 0
    ) K) l) ^9 W& j, N0 N
  982. , e4 a4 \" u* [
  983. [sqlite3]
    ; W* P  T+ B. A5 P9 r4 Z$ X
  984. ;sqlite3.extension_dir =
      N& l' K, f; d6 }+ T
  985. 5 F  T! j2 Q+ t9 A
  986. [Pcre]. }2 D3 z* s* ~  A
  987. ;PCRE library backtracking limit.
    9 D# O7 m, }) S* _5 _9 Z4 n) G" ^
  988. ; http://php.net/pcre.backtrack-limit, p' z- z6 W2 W( Q5 ?- u: B
  989. ;pcre.backtrack_limit=100000
    7 |0 g- d2 \& P

  990. 3 \: h6 l% ]  r5 T3 \8 l4 a
  991. ;PCRE library recursion limit.
    " X* c# ?% x- @( t  U. @+ x$ ~; J
  992. ;Please note that if you set this value to a high number you may consume all7 z4 ?" s& P" n' ]+ }" `8 M
  993. ;the available process stack and eventually crash PHP (due to reaching the7 T7 J1 B' a8 q* P% `1 h3 l0 P
  994. ;stack size limit imposed by the Operating System).8 E+ m1 k  Q; h0 M; x! L  s& z
  995. ; http://php.net/pcre.recursion-limit
    3 n% Q- H. Q1 Z3 |2 S# c  u
  996. ;pcre.recursion_limit=1000000 f+ V2 Q( s6 j# e( {# v' M& E, s& i* g

  997. ( [* @, Y' e" K$ j& L( d
  998. [Pdo]
    9 U+ f  b$ o: E$ o4 D
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off": Y# Z  v  |' C& [
  1000. ; http://php.net/pdo-odbc.connection-pooling
    , |% X5 P) ^" p
  1001. ;pdo_odbc.connection_pooling=strict
    ' v0 }2 H* z/ Y; g

  1002. 8 Y) p5 ?& E& V& R4 ~. G  C
  1003. ;pdo_odbc.db2_instance_name
    1 Q! f# e) ?9 V0 Z/ g

  1004. 5 q" n+ q0 M4 M% u) `/ @
  1005. [Pdo_mysql]5 f* ^7 x8 e0 V- b
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache; K% Z% b+ v% r% G4 Q7 y& q4 Z
  1007. ; http://php.net/pdo_mysql.cache_size
    6 _6 K/ N; n4 O* N' ~$ p
  1008. pdo_mysql.cache_size = 2000) Z% K7 u! s5 R8 b

  1009. , u5 p. q7 |# o) \6 I0 H
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in; y) a/ ~) _8 b) N; \5 t5 M
  1011. ; MySQL defaults.- i: a$ f  X) L3 f
  1012. ; http://php.net/pdo_mysql.default-socket/ @* N9 R' o' e% o% `
  1013. pdo_mysql.default_socket=* C5 ]  v5 f- g6 [! q

  1014. 4 M5 Y$ j8 Q4 H( l6 U
  1015. [Phar]
    % v3 }# f/ S/ |2 i" C$ Z, B
  1016. ; http://php.net/phar.readonly: t- H5 L$ t' ~1 m' b+ z% O
  1017. ;phar.readonly = On
    , K% J/ Y7 f; I- j7 D

  1018. 7 B9 {/ I* q& P( \% X5 `! S
  1019. ; http://php.net/phar.require-hash7 S  y& a) c6 ~
  1020. ;phar.require_hash = On) h, c, h1 z* y3 V1 w

  1021. " e# ?# ^/ t0 C$ D0 N) m+ i' h
  1022. ;phar.cache_list =4 e: L& z( H, A

  1023. ' L8 T+ ?6 \( i& \; p
  1024. [mail function]
    4 G2 W$ K- Z) ?0 i
  1025. ; For Win32 only.
    6 T3 r8 L7 v# p& Q6 U2 n
  1026. ; http://php.net/smtp
    . G: ^1 I( {( c, A
  1027. SMTP = localhost: \2 I2 T" X* d& S
  1028. ; http://php.net/smtp-port
    4 |# [6 I0 i3 L
  1029. smtp_port = 259 D7 A$ A3 m6 R+ z( C3 D0 ~

  1030. ' b/ }3 T1 I- l8 r' Q
  1031. ; For Win32 only.' D: q! Y' Z# j9 O& G, J7 _
  1032. ; http://php.net/sendmail-from& o; q5 X7 G" i- h- [& z8 ^
  1033. ;sendmail_from = me@example.com
    8 k7 Y) u1 W9 J/ R+ B# c

  1034. 7 i& M4 b: K' l2 y0 E) a2 i6 H
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - c6 r" O' D" K9 V; h& D# t3 b4 p# f
  1036. ; http://php.net/sendmail-path# c+ v% ~8 T4 k+ ^
  1037. sendmail_path = /usr/sbin/sendmail -t -i4 F/ ?' u# n" [" _
  1038. # W$ Z: D# J" [" J" D1 J) v
  1039. ; Force the addition of the specified parameters to be passed as extra parameters5 G# _6 k9 z/ V3 {
  1040. ; to the sendmail binary. These parameters will always replace the value of
    & X. j! f" W3 f9 r5 p: h
  1041. ; the 5th parameter to mail()./ J: \" I' D* m& a9 T
  1042. ;mail.force_extra_parameters =
    . h* w  @. W/ q* |/ K( Z. d

  1043. 1 d' W# m7 H0 f4 M+ _
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename, z/ m7 z- Q3 d; B" H8 R0 u
  1045. mail.add_x_header = On5 z. H7 h3 x- g! T% [2 ~7 Y7 l
  1046. ' j, E" B* V. A4 \  N
  1047. ; The path to a log file that will log all mail() calls. Log entries include4 |1 F* @( c* V0 T/ ~
  1048. ; the full path of the script, line number, To address and headers.
    . f0 K* e  H* ?0 D% N
  1049. ;mail.log =( n4 \& k& ?3 z( K
  1050. ; Log mail to syslog (Event Log on Windows).7 o1 |5 a5 z0 O" }; G! b5 t
  1051. ;mail.log = syslog7 _8 R+ q9 R) P. z& R2 S: G

  1052. , {3 @3 O5 a. o5 w0 i
  1053. [SQL]# R- n+ Q0 ^. Y7 T
  1054. ; http://php.net/sql.safe-mode
    2 b( H; q! K0 K2 l
  1055. sql.safe_mode = Off
    # n0 v) G4 k0 w
  1056. 1 K1 T4 B  X8 ?4 ~/ D8 Q3 x
  1057. [ODBC]% w# q( Z$ `# `' Z8 Y+ q: j5 X
  1058. ; http://php.net/odbc.default-db
    / R9 T& b" K( }# a( x3 `6 p
  1059. ;odbc.default_db    =  Not yet implemented
    # r; f: B! i. e! J- z5 J: J  C) p

  1060. : K. {/ A+ m1 k0 j2 x
  1061. ; http://php.net/odbc.default-user" |' t9 c, ]9 c
  1062. ;odbc.default_user  =  Not yet implemented# r; l4 t% g3 I
  1063. 1 r; z, E7 p1 @% r6 J7 D( p
  1064. ; http://php.net/odbc.default-pw
    8 s$ U( b5 h" S) T; i
  1065. ;odbc.default_pw    =  Not yet implemented' w4 s& Z. f4 s& b( m% O
  1066. : v- g  ]9 t% [$ r) H4 [
  1067. ; Controls the ODBC cursor model.% g0 j+ S# ?2 K$ [# J8 s( z
  1068. ; Default: SQL_CURSOR_STATIC (default).5 R+ [6 a/ Y2 h
  1069. ;odbc.default_cursortype
    " a( v9 m- ]6 k/ J
  1070. 0 ~- _: w, V# n2 z
  1071. ; Allow or prevent persistent links.
    4 x7 Q, Q0 S2 s
  1072. ; http://php.net/odbc.allow-persistent! U5 ]' h- Z- k1 w
  1073. odbc.allow_persistent = On5 d5 m  q0 i# q1 g% F) [

  1074. ' r- C4 ?5 O; v$ O1 e3 q# w
  1075. ; Check that a connection is still valid before reuse.+ ~$ e/ O& q3 U5 q* O
  1076. ; http://php.net/odbc.check-persistent. O, C2 R* i% H9 w. P6 z/ p8 ~
  1077. odbc.check_persistent = On
    : p- V( ^- Z; T& {

  1078. % d9 T' L4 p) J9 p1 h+ K
  1079. ; Maximum number of persistent links.  -1 means no limit.
    7 X0 O& u# k4 j# O0 \
  1080. ; http://php.net/odbc.max-persistent
    5 I' s! d. q+ x1 `3 ~5 ?
  1081. odbc.max_persistent = -18 T- X1 M, j, d0 ^/ K# O3 h

  1082. 9 j* {$ e4 Z, E% b) {
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " F1 l4 P# a' h5 R9 d4 s7 B
  1084. ; http://php.net/odbc.max-links  [1 S6 D5 t1 `1 [7 o
  1085. odbc.max_links = -1
    $ V" B) E0 \# A# u1 R
  1086. / @9 h3 u: M- o! `- M
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ; t0 d' v% j0 u, a$ |
  1088. ; passthru.
    0 {( k9 l7 b# E) d; {
  1089. ; http://php.net/odbc.defaultlrl
    % `9 x* Y$ x" Y" ?
  1090. odbc.defaultlrl = 4096, q- Z( \: [7 u& b; J
  1091. + k% m, r" y7 W/ Z7 G' T4 |
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 Y' V6 P7 R9 x, z, [
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    . {- F7 x4 }6 j! W
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode, c/ ~# I" a/ B' y
  1095. ; http://php.net/odbc.defaultbinmode
      G( X3 {$ `/ c& H( z, ^
  1096. odbc.defaultbinmode = 1
    ) I4 Q8 L1 [* P& t) e7 @
  1097. 0 k2 U, `* J% _! ~* T
  1098. ;birdstep.max_links = -1+ M; t- x8 W+ X- C. S) z4 Q! k! t5 r

  1099. & v4 s* J/ @8 C, T
  1100. [Interbase]! P. W/ n" h" s0 S  t1 C
  1101. ; Allow or prevent persistent links.
    4 {8 T  w7 A, D- _
  1102. ibase.allow_persistent = 10 w: ]4 L3 ]# c- b, F
  1103.   N) h9 {+ g& w* X& M
  1104. ; Maximum number of persistent links.  -1 means no limit.7 D8 p; }1 v/ ^, J' j  G# V& k  P
  1105. ibase.max_persistent = -1
    " q4 F* Y$ a. I# `  j# |
  1106. 2 v  {  {# j1 ^  T0 x! }6 w
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ J* F+ [9 q! i
  1108. ibase.max_links = -1
    4 ]  c2 Z) h0 l, B3 u9 X
  1109. ; D8 Z9 n+ w7 N" P
  1110. ; Default database name for ibase_connect().9 r2 a$ }+ Z' g! @2 G0 u% V" ^( W, K
  1111. ;ibase.default_db =
    7 C: S- G7 B$ U$ n' P: q; p( d

  1112. ! f! M. O. X2 m' \9 H8 a- V* X( ~
  1113. ; Default username for ibase_connect().: {! Y" P+ Y" f' f+ w& `2 Z
  1114. ;ibase.default_user =, M( n1 S0 R/ w) P( H1 ]1 d
  1115. 7 d, ]/ O- c+ V  B$ k; n: h
  1116. ; Default password for ibase_connect().
    5 W$ O; \/ V( d- `+ N7 I( d  k7 n
  1117. ;ibase.default_password =1 @9 U% S7 [3 s8 B

  1118. 7 |6 b5 b% g; a( V- U5 s& D) @
  1119. ; Default charset for ibase_connect().
    . {4 a" j& m; [0 u) X4 I2 Z
  1120. ;ibase.default_charset =
    , q+ s8 z; S% \# q8 F( n

  1121. 2 S1 @$ q; _3 C) `3 U, t' ^  d3 N
  1122. ; Default timestamp format.
    % l2 Q" u  W' x1 Y& S
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ _& W- h% o' [

  1124. / [2 K) z4 x) a; c$ {
  1125. ; Default date format.
    ' }! ^7 R- C1 Q8 l9 l, O  A& k, x5 V
  1126. ibase.dateformat = "%Y-%m-%d"
      f, n: d  x# i1 M- X/ [% X0 F
  1127. ) i: o9 b! c( \% x! k
  1128. ; Default time format.& ^3 \  J6 v8 L+ E& P& @2 y
  1129. ibase.timeformat = "%H:%M:%S"7 M, N4 O+ W% a) C8 D+ Y1 y8 r$ u8 R  P

  1130. 1 c( _) ]* N/ d4 q* S  t+ Y% E
  1131. [MySQL]
    $ e8 z* D! o5 c" `0 }# S# R
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 C/ M6 h2 g4 w# A$ a6 @
  1133. ; http://php.net/mysql.allow_local_infile& ?0 Y  O0 P7 e7 o  N$ z( R, l
  1134. mysql.allow_local_infile = On; t& y0 R( `  l/ K1 ^7 K2 X: n- ^
  1135. - I6 p; T3 [* W' J2 {" c
  1136. ; Allow or prevent persistent links.
    + X# [+ s8 \" \! g2 }
  1137. ; http://php.net/mysql.allow-persistent
    / d# _: r! `8 X% ~
  1138. mysql.allow_persistent = On
    + s; q0 D, {: F$ s  ^# P
  1139. $ e) f1 |3 |( ~/ ]2 p5 ~7 g
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache" G* i3 e) l+ p' E6 W5 {
  1141. ; http://php.net/mysql.cache_size
    ) o8 J! n/ y+ r$ k, e8 a  t
  1142. mysql.cache_size = 2000( e' [& s3 R9 I1 L# k+ |
  1143. 7 t5 W+ Z0 s+ r' P
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ! A. ]3 p; i8 B7 U! k' F  z+ e, k
  1145. ; http://php.net/mysql.max-persistent
    + r& s1 [% C, W* q, m7 v0 T
  1146. mysql.max_persistent = -1
    4 P( w9 w: q& z* A) P
  1147. 2 O/ B& P' g1 ]  u) S
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % w; o- {; Q3 \  l- Y# Z/ ~
  1149. ; http://php.net/mysql.max-links, h9 E" m, v3 x
  1150. mysql.max_links = -1
    ' p: _* u0 |" ^% B- j

  1151. 6 _9 p' m/ J4 f- S  [! D" o
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    $ z5 P+ W8 ~7 `# C) z/ ^
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 G8 r% a3 q3 |$ C$ z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    # h5 k; p! m" @$ c4 S. f) F0 P+ d
  1155. ; at MYSQL_PORT.
    - ?1 Z4 M9 z2 n% ]$ O
  1156. ; http://php.net/mysql.default-port
    2 @0 p0 ~" o- w0 V- G# w
  1157. mysql.default_port =1 O  h* }, a6 i5 ^8 j( v" b
  1158. 2 Y8 K( a2 z9 L0 U) @
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % X! r1 h& \, |/ q% v  t& e- l9 f
  1160. ; MySQL defaults.
    3 l7 |3 i9 L- n% Q. u
  1161. ; http://php.net/mysql.default-socket
    + }7 c7 _) k2 P$ \1 f. V
  1162. mysql.default_socket =
    0 G1 ~/ s' n" G+ b% O. G3 A

  1163. ( H1 Y! f) b: I/ i% s
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).) b0 |- A7 l# p* ]" k5 @
  1165. ; http://php.net/mysql.default-host( b3 k$ R9 Z7 Z  J7 Z7 {
  1166. mysql.default_host =
    % w# }% B" i  c

  1167. / N1 S" S" e3 |5 S7 w
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # P7 d" S: Y1 i
  1169. ; http://php.net/mysql.default-user2 j/ R" t" E5 m1 c7 U- O5 y
  1170. mysql.default_user =0 j  H( J5 [- n8 `1 S! M; T+ M, l) c
  1171. ! g2 n5 e2 z9 Y; x
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).* C/ n4 b, M; p# l/ b& h
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    - @( E0 Q& V3 |0 u- v, U  P" T( L1 K
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    & G6 q( U; V3 e' Z  E; J( N9 `8 y
  1175. ; and reveal this password!  And of course, any users with read access to this
    1 f- F3 y) P8 O+ L, R; l. ^
  1176. ; file will be able to reveal the password as well.3 d! R' X* T+ v4 D$ Y
  1177. ; http://php.net/mysql.default-password
    ' F1 e0 _0 H8 ]: C/ c- k
  1178. mysql.default_password =
    7 X) Q( q" I* l6 s

  1179. 7 q, ~4 Z3 z. V+ B# O% h9 y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit( L' ?' b2 F" e' I5 k3 v/ @. i% @
  1181. ; http://php.net/mysql.connect-timeout
    9 d3 N7 m* O  N5 O: p2 I
  1182. mysql.connect_timeout = 607 V; |# i' B$ n7 P7 ]7 ^% l

  1183. / d5 [) b; ?+ E! D4 J- H
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ' i7 ?% V7 ~, d. K( T4 U0 k
  1185. ; SQL-Errors will be displayed.
    % a5 \, N( L. ~6 n# b9 S& i; j9 ^+ {2 d
  1186. ; http://php.net/mysql.trace-mode! L1 q+ a. z7 \2 \  I3 Q- {
  1187. mysql.trace_mode = Off
    * N/ j- g. J$ o' {- N

  1188. ) i/ v: ?2 L: V: W& F
  1189. [MySQLi]" W) Q& s( |9 W2 |  m( x; E

  1190. ; q. S/ Z# T: p( ^
  1191. ; Maximum number of persistent links.  -1 means no limit.
    $ i% N& H6 r6 l
  1192. ; http://php.net/mysqli.max-persistent
    - g  ~3 v; x; E
  1193. mysqli.max_persistent = -1
    ( n; |* U" b/ U+ @0 w% e

  1194. ! d2 ~- @; V& F/ n
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 d& r% b2 ]4 j, r! H/ f
  1196. ; http://php.net/mysqli.allow_local_infile0 T- e, K7 P& f, R1 X1 h* z+ i% L
  1197. ;mysqli.allow_local_infile = On! Z) V8 i% s" T5 x

  1198. / f4 _2 v' N; x: w
  1199. ; Allow or prevent persistent links.! G: u; V$ p& K+ [
  1200. ; http://php.net/mysqli.allow-persistent
    6 b4 K# |' h5 f! J
  1201. mysqli.allow_persistent = On
    . V. s  \* U) ]: W

  1202. 2 n5 a2 H) ~( M3 s" q
  1203. ; Maximum number of links.  -1 means no limit.
    1 L7 P9 X& m3 \  J
  1204. ; http://php.net/mysqli.max-links% j5 |* L; V/ Z* n
  1205. mysqli.max_links = -1' t% f1 C$ }- n1 v. o
  1206. ; Y, e4 [6 Q8 Q0 L% V- g2 e
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache" K" w8 p; x: h. t- m( h; v1 k5 @
  1208. ; http://php.net/mysqli.cache_size: V7 A: A/ ~7 B2 P4 w& J* Z3 {# b! {. ^
  1209. mysqli.cache_size = 2000' U2 o1 F" T' M/ G

  1210. 7 o6 X& h* h7 F
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( T+ ]$ O8 M- V, @: {# y0 i7 A
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & c/ F' G  v, L
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    3 }6 ~7 \1 `! m6 ~7 r
  1214. ; at MYSQL_PORT.# m$ R# G* F$ F( B1 O
  1215. ; http://php.net/mysqli.default-port; A5 {# n! T8 W! s5 p2 H
  1216. mysqli.default_port = 3306
    0 s5 N% ^) r: J/ a3 d

  1217. 7 n& d3 A- p5 p; w
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( c, |9 ^* J, `- X! G' T( R
  1219. ; MySQL defaults.: T, D, u8 O8 {6 d  C$ R; ?/ b
  1220. ; http://php.net/mysqli.default-socket8 c+ o' e: P/ F8 e# p, U
  1221. mysqli.default_socket =
    ; i$ L  }+ ?/ a& \( ^' C3 d

  1222. # X  l2 A, ^4 R0 c
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).& `% h  U) U+ k( j  a
  1224. ; http://php.net/mysqli.default-host# B4 I7 K  F, f7 D
  1225. mysqli.default_host =) L6 b8 I; Y* S9 s

  1226. 6 n3 N) T4 P4 q& k$ s; v
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).6 q$ ?/ [2 K" r. W4 n
  1228. ; http://php.net/mysqli.default-user
    0 w- c# Z4 E& C. V
  1229. mysqli.default_user =0 i3 x; _7 K/ R# V" @7 i+ g" o: S
  1230. 2 t0 ^# j% m: E+ q9 j# R; S- f
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 b; h" ]( [5 j' q# s
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    # ?( o; M7 X) a) v4 K: D, j* y1 R
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"); ?6 B; {  V1 ]+ \+ I$ ?
  1234. ; and reveal this password!  And of course, any users with read access to this8 w; h8 |2 E! e: D6 Y" k
  1235. ; file will be able to reveal the password as well.
    # ~$ `, }3 @5 T, Y" e& m
  1236. ; http://php.net/mysqli.default-pw* b- I$ V+ [! S1 A8 \4 k
  1237. mysqli.default_pw =  N- X/ \1 W2 K. k6 `

  1238. + m" y: V7 q% ^
  1239. ; Allow or prevent reconnect
    9 M3 [7 U$ n7 _" q. d1 ~
  1240. mysqli.reconnect = Off/ L/ [+ h# f8 S( _8 O
  1241. 0 H* F& h3 E% z
  1242. [mysqlnd]* n: M( ^- c% ^/ U! @
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    7 ~5 G: k5 ^2 y
  1244. ; used to tune and monitor MySQL operations.
    2 b$ j5 C4 a9 r
  1245. ; http://php.net/mysqlnd.collect_statistics
    ' P9 F0 a5 N" ^
  1246. mysqlnd.collect_statistics = On1 I* j- h  H2 K6 M

  1247. $ Z# `  ^2 P$ v- U2 S
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & @: X5 f% D, p* ^- C. S
  1249. ; used to tune and monitor MySQL operations.
    4 O4 R1 z) f: k5 C5 l6 v+ j
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    & k, S1 z/ Z% E+ H2 Y5 _& a1 e% n
  1251. mysqlnd.collect_memory_statistics = Off
    / n) j+ g* h( Q3 W
  1252. 0 I! F% J# `* B! ^: {0 w
  1253. ; Records communication from all extensions using mysqlnd to the specified log; N1 b; F3 V* W+ t/ \
  1254. ; file.
    ( A7 b/ g* |& o
  1255. ; http://php.net/mysqlnd.debug  `3 S. d6 K' E3 C$ V4 E
  1256. ;mysqlnd.debug =
    6 c3 [( s# d: t6 a" C# z/ o+ f
  1257. 6 u  K" T8 [9 h
  1258. ; Defines which queries will be logged.7 l: w2 P8 T% K/ |" F1 R: X
  1259. ; http://php.net/mysqlnd.log_mask
    : u, ]! ^! R, ^: h/ N( A
  1260. ;mysqlnd.log_mask = 0
    ) Z; a9 H4 S( K) m0 N. s
  1261. 1 ~# B! |; E* N( y; w$ h5 i
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.) O" h% @$ y% P+ B% {5 C4 I
  1263. ; http://php.net/mysqlnd.mempool_default_size+ X$ @3 |3 I! a6 b. X" ^9 Q
  1264. ;mysqlnd.mempool_default_size = 160006 }# z: W" B& f& A. {/ c

  1265. ) C. K4 f4 Y% o
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    4 r) g  v9 V9 P% G1 f% c
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size6 Z8 o1 |) ?5 c7 K6 W
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    , @- j, O2 Y, y' h) n

  1269. # r: `, r! F1 |& x9 \
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( V8 n/ v5 Y2 q5 D$ u& e1 j( H
  1271. ; bytes.
    $ c: M9 Y3 w6 w3 J9 q" ]6 y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size2 ]! x8 d: O8 @: {" A, C* Y( d
  1273. ;mysqlnd.net_read_buffer_size = 32768
    & o  A. C' d3 M3 e4 h$ X! d5 \
  1274. * i% S6 ~6 r9 q1 R
  1275. ; Timeout for network requests in seconds.* x) ?0 c6 u' Y4 }' `8 J3 ?+ U2 A+ h
  1276. ; http://php.net/mysqlnd.net_read_timeout
    3 I% e5 R3 {# V) k6 k9 K8 s
  1277. ;mysqlnd.net_read_timeout = 315360002 f+ C" E0 N7 m) E& q4 Z3 v

  1278. 8 t) m' ~: C4 v. `9 @5 \
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, g$ V7 \6 S- c8 H6 j- K
  1280. ; key.( o& }: J8 S8 y2 R8 U9 j
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 `& J. r6 `7 {  h
  1282. ;mysqlnd.sha256_server_public_key =
    + ^/ h- x! r; y/ X. O. x3 ^

  1283. 8 \( ^3 W) ], A4 V  j$ _, z: d& a
  1284. [OCI8]5 k/ A% Y: [" H0 g% c

  1285. 9 \3 @6 k( W- D$ \) ?! i
  1286. ; Connection: Enables privileged connections using external) W% o) s% I% P; u) Y
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 x% `3 K7 }% g
  1288. ; http://php.net/oci8.privileged-connect
    3 F$ i- Y9 y. s  b  w
  1289. ;oci8.privileged_connect = Off
    2 M& x( h2 A! y: i* a6 X

  1290. ! a& E4 y6 g* i: ]$ `( L
  1291. ; Connection: The maximum number of persistent OCI8 connections per  B$ j2 p3 m  O$ F
  1292. ; process. Using -1 means no limit.
    - _' }2 I) K) S
  1293. ; http://php.net/oci8.max-persistent6 i/ z1 X9 J' H5 h
  1294. ;oci8.max_persistent = -1$ u: C3 V& B$ W5 u! I9 w- h9 o" W/ G
  1295. & H6 n& j, H# m! P  ]7 u
  1296. ; Connection: The maximum number of seconds a process is allowed to
    % Y. j0 s: |( S4 w6 T
  1297. ; maintain an idle persistent connection. Using -1 means idle
    9 g; N! z/ @/ m& W! H
  1298. ; persistent connections will be maintained forever.9 F% J& t! z5 q: w' B  f- u
  1299. ; http://php.net/oci8.persistent-timeout
    ( ], v3 V- ?" u/ Z' q' _
  1300. ;oci8.persistent_timeout = -1
    - n5 H1 s! P% N
  1301. ' e) P7 q+ B( N: j( O
  1302. ; Connection: The number of seconds that must pass before issuing a
    % p! c& w5 r5 u/ V: r: [; S2 o
  1303. ; ping during oci_pconnect() to check the connection validity. When
    5 k6 m& C% J; l& y9 T. K
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) J1 u: W4 z$ K$ c# S
  1305. ; pings completely.2 L( \2 K/ \7 g; M/ l' ~+ v9 [
  1306. ; http://php.net/oci8.ping-interval+ o: N1 W- o$ h) T/ v
  1307. ;oci8.ping_interval = 60. E- `( i4 G9 ?+ {$ T3 ~+ o" B4 k

  1308. ' X7 l2 k- n/ p7 M; L& [- T: Y
  1309. ; Connection: Set this to a user chosen connection class to be used# \. q: y" z* A. l  p. i
  1310. ; for all pooled server requests with Oracle 11g Database Resident. Q7 s% ^% B* H
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ ]) a- `+ I) l8 x, z7 X6 y: o
  1312. ; the same string for all web servers running the same application,
    " t  d( S/ D  a) ]! I. p- d& w
  1313. ; the database pool must be configured, and the connection string must/ G, h7 D; X8 {$ L1 O$ T0 y
  1314. ; specify to use a pooled server.( [8 b! `3 }$ c& ]' Y
  1315. ;oci8.connection_class =
    # L0 _6 p# W6 L+ y* T9 j$ o

  1316. ; u0 q( u. _3 z8 m0 a3 [5 g  T
  1317. ; High Availability: Using On lets PHP receive Fast Application
    & ]/ @" w0 e; t. _2 |
  1318. ; Notification (FAN) events generated when a database node fails. The4 b: d- m- {! q3 J6 C9 F
  1319. ; database must also be configured to post FAN events.
    : y6 M1 P% i3 x
  1320. ;oci8.events = Off# V5 A6 m+ o7 a" U. Q+ A+ K. Y5 L

  1321. ) Z7 C' ?$ _$ W1 m# a: ?
  1322. ; Tuning: This option enables statement caching, and specifies how1 |& c& X$ `3 z5 S$ ^: I4 D5 X
  1323. ; many statements to cache. Using 0 disables statement caching.7 E4 @0 e* c9 p
  1324. ; http://php.net/oci8.statement-cache-size
    / s7 c6 P# R+ L& I8 C9 x) V1 j
  1325. ;oci8.statement_cache_size = 20) ?" s  X$ X- l( ]
  1326. : w- y# S: F/ `" z
  1327. ; Tuning: Enables statement prefetching and sets the default number of; q* k7 p  k! z; v8 v+ d, Q  a
  1328. ; rows that will be fetched automatically after statement execution.
    : p* E  o  Y/ Z& x+ R
  1329. ; http://php.net/oci8.default-prefetch: E. p; H$ o6 g8 {9 D8 Y& T
  1330. ;oci8.default_prefetch = 1007 L( ]" _8 ?( n" _% ?. v/ W) L

  1331. ) a9 C9 p! J7 d! l  U! I
  1332. ; Compatibility. Using On means oci_close() will not close
    ; A" R! Y' W* W: ?. f3 p
  1333. ; oci_connect() and oci_new_connect() connections.
    & l7 z2 S/ I0 a, i
  1334. ; http://php.net/oci8.old-oci-close-semantics
    9 k9 m5 @% o. f; s
  1335. ;oci8.old_oci_close_semantics = Off
    9 W' b* n8 ~9 J* U4 L/ r
  1336. + c4 G/ ~; \" O# O6 i0 b0 u" c
  1337. [PostgreSQL]
    * O2 B3 A! C6 F, ~
  1338. ; Allow or prevent persistent links.( c& \# _% R5 C8 y8 ]- Y- q
  1339. ; http://php.net/pgsql.allow-persistent
    , D* c- f2 U, ?# a$ k
  1340. pgsql.allow_persistent = On  W7 @% g$ q4 E

  1341. ! `  f0 M" B% ~+ w6 y9 P
  1342. ; Detect broken persistent links always with pg_pconnect().
    + X) }- n. E1 i/ w5 w! T9 O+ n1 m  S
  1343. ; Auto reset feature requires a little overheads.
    & G7 x; W' e( ?6 a( t
  1344. ; http://php.net/pgsql.auto-reset-persistent) x. T' \2 s9 J3 m
  1345. pgsql.auto_reset_persistent = Off
    ! k! F) F6 F/ t
  1346.   [+ z  p$ Q! m, u9 {
  1347. ; Maximum number of persistent links.  -1 means no limit.* ^; C! t  j# d8 @3 S5 u
  1348. ; http://php.net/pgsql.max-persistent
    * Q, N+ j! {, M, h, L
  1349. pgsql.max_persistent = -1
    & r$ ~* v' p  W
  1350. ; a% K; N' z2 r3 D  R
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: ^* V! f8 i2 {6 A- Q
  1352. ; http://php.net/pgsql.max-links0 {8 ]" [$ [9 S1 M2 e" i$ N1 d
  1353. pgsql.max_links = -1
    . m0 |8 m+ }0 Y  k0 _1 N, S' \( [
  1354. 7 x# h9 Z" D5 N" g' V
  1355. ; Ignore PostgreSQL backends Notice message or not.7 B: P2 q9 B; p& n! Z% u5 h
  1356. ; Notice message logging require a little overheads.
    : c/ E$ L$ l+ `* Q6 z
  1357. ; http://php.net/pgsql.ignore-notice5 F, i* e; h' X
  1358. pgsql.ignore_notice = 0, e" \8 ?" R8 S8 L
  1359. / M" h2 V3 n) T% y* u
  1360. ; Log PostgreSQL backends Notice message or not." I& T  [; C6 i
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.! p$ q3 _& g! W, ~- Q
  1362. ; http://php.net/pgsql.log-notice
    ; h) \  }8 D" N) }& u
  1363. pgsql.log_notice = 06 Q9 w7 S' `2 O% `8 K& s

  1364. ; k) E& V1 Z' [; E
  1365. [Sybase-CT]' |. n1 A2 c* o3 S+ ]9 ]! \
  1366. ; Allow or prevent persistent links.
    7 k7 ]6 c- e" I! l- {/ g( [) k
  1367. ; http://php.net/sybct.allow-persistent+ Y: \* R- Z0 l/ @0 X% r- r0 a' `
  1368. sybct.allow_persistent = On' ]3 Z- W8 K3 |% K6 {
  1369. ) b6 h6 I5 v+ S' F# ?) [
  1370. ; Maximum number of persistent links.  -1 means no limit.
    & W7 L- j; }$ Z1 T4 c
  1371. ; http://php.net/sybct.max-persistent+ @+ B. c# z1 A% G! u8 s3 l
  1372. sybct.max_persistent = -13 u, c; O! @4 F5 V* j6 w" m; g' m  q
  1373. # ^3 I( w% P  }' S3 H
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 V% ]2 b4 r' e( s. D% F  u4 h) V! N3 ^
  1375. ; http://php.net/sybct.max-links
    7 b& q' z4 F1 g& [: C
  1376. sybct.max_links = -1
    : j! ^' B* H4 q

  1377. , Q7 j& u" D3 D& y% F- `
  1378. ; Minimum server message severity to display.* R% \7 S) o* p6 j
  1379. ; http://php.net/sybct.min-server-severity
    9 a: W; P& H8 w
  1380. sybct.min_server_severity = 10
    . r0 t/ x' R0 l

  1381. 4 l# |3 ^* U6 w& C
  1382. ; Minimum client message severity to display.7 ]7 L$ y& A  c6 J$ a2 U
  1383. ; http://php.net/sybct.min-client-severity
    8 J7 _. p1 _9 ?# c
  1384. sybct.min_client_severity = 10* a& q6 O9 B$ B, H' h

  1385. 6 B' V0 e& K% b, n
  1386. ; Set per-context timeout* e$ ^1 J* |, k( u" J$ N& _4 X
  1387. ; http://php.net/sybct.timeout
    1 V1 @! v. w4 ]! L3 g8 V! F
  1388. ;sybct.timeout=
    , ?) k' ]8 b- i
  1389. . M/ |5 H- x" m8 Z& N/ [0 ?
  1390. ;sybct.packet_size. l2 }6 g% a0 y2 Q1 A
  1391. 7 A. w' n( A- M
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    : x. y. j8 @4 ~- k
  1393. ; Default: one minute
    ( m- p0 ?! ^* G+ X$ T
  1394. ;sybct.login_timeout=* n# c8 q' Z6 |# `1 ^

  1395. : P3 y7 Z$ y2 }) W
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.* c% n9 Y5 q. L) m% _7 G7 Y8 o
  1397. ; Default: none5 B1 W1 z, i# g$ e: Q
  1398. ;sybct.hostname=
    8 d9 ?$ u1 |" T* Q; t* G. W
  1399. 5 j" ]7 h0 i1 n1 D  ~6 w
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    0 [) V. t* r& j( b9 U6 S7 i
  1401. ; Default: 0
    $ K+ O4 G3 ~. P
  1402. ;sybct.deadlock_retry_count=
    - |7 I( p# {+ F" ^8 n0 B
  1403. ! R% |, L8 n% W$ }, |: }5 d
  1404. [bcmath]
    - M, V* j* B: ], h1 y0 W6 `
  1405. ; Number of decimal digits for all bcmath functions.% j; i7 k$ E. c* ~( }
  1406. ; http://php.net/bcmath.scale
    " e1 w- Z) ~% S8 q  X1 J! X
  1407. bcmath.scale = 0* Z- C+ y, U1 j$ G6 x) }: D; A& I
  1408. 8 j4 O- o1 q1 P0 C
  1409. [browscap]7 V5 s8 G/ U4 l( Y! ?
  1410. ; http://php.net/browscap
    & k/ j: Q( q/ X$ h5 d/ ~9 s, X
  1411. ;browscap = extra/browscap.ini0 w/ R1 [; {  |( \/ n
  1412. ! d: N- t$ L  w  e1 S- h
  1413. [Session]
    " r9 i  e/ H; n- }3 ]: w
  1414. ; Handler used to store/retrieve data.! h' C9 b0 U: Z' N' h- [( x
  1415. ; http://php.net/session.save-handler  k8 k/ D0 I$ e  N& r4 {, R/ Q
  1416. session.save_handler = files& C( y7 X0 T) u5 K

  1417. ' w, o1 U6 o0 P. w
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    + A* y3 _( x8 z& ?! r9 j* ?$ {
  1419. ; where data files are stored. Note: Windows users have to change this
    " j- l$ Y0 g" B9 @6 [
  1420. ; variable in order to use PHP's session functions.
    1 ~* g/ ]$ G. K$ Y! k
  1421. ;& ]. V- e5 X7 P2 j& r% s
  1422. ; The path can be defined as:
    8 E: n& Q4 p( s/ m
  1423. ;2 s! I/ X6 W5 h8 T
  1424. ;     session.save_path = "N;/path"
    : ^7 k5 H* T9 ?" @$ g2 s1 m7 X* E
  1425. ;
    7 Z6 X1 {/ J0 o+ O% i
  1426. ; where N is an integer.  Instead of storing all the session files in
    : r2 G! |" ?$ }6 q  H
  1427. ; /path, what this will do is use subdirectories N-levels deep, and3 O+ b  m: P* V0 \2 D# A+ B
  1428. ; store the session data in those directories.  This is useful if  V9 ^6 [+ ]5 d  E  C
  1429. ; your OS has problems with many files in one directory, and is
    # |- v) k$ _0 O
  1430. ; a more efficient layout for servers that handle many sessions.8 Y# ^4 m, A  P2 r
  1431. ;
    # b2 |; s/ m7 D# F
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    . _3 x4 J9 l2 R. Z; j6 d. Z
  1433. ;         You can use the script in the ext/session dir for that purpose.: b# |! j& R" X# R
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    7 u+ v* C8 Y1 X% k5 J
  1435. ;         use subdirectories for session storage- C/ l4 K/ e$ {- m6 _9 r. E
  1436. ;
    $ o: u# J8 o2 V4 @: E+ [+ s6 d
  1437. ; The file storage module creates files using mode 600 by default.
    * }: G' Y4 m; Y# i1 }" c7 B
  1438. ; You can change that by using" ?+ B$ H! {1 `) G
  1439. ;
    & u* l* ?3 ^9 t" ?
  1440. ;     session.save_path = "N;MODE;/path"4 x1 V+ n4 |  L0 Y; f1 W6 ~
  1441. ;/ ~0 o$ Y6 y- i
  1442. ; where MODE is the octal representation of the mode. Note that this" I& ]& |! `0 n& J7 s
  1443. ; does not overwrite the process's umask.
    . ?& L- O6 e# a* I6 ?
  1444. ; http://php.net/session.save-path
    * I6 V3 `4 _" q2 S1 S8 D) k2 ]
  1445. ;session.save_path = "/tmp"
    $ c+ V) ^+ \: [5 {

  1446. , h# A3 t8 |7 x5 M& h, f5 E
  1447. ; Whether to use strict session mode.
    7 L7 s: w! s# g) b2 L3 B( W
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    2 N% N% B" E4 _7 w1 L! I& w
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects$ k% d: R# }5 E
  1450. ; applications from session fixation via session adoption vulnerability. It is
    8 v! W7 W* V! P4 S
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.' ]: x1 m' o" }0 ~2 w1 w" l
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ! e: p# e9 ~2 n; G
  1453. session.use_strict_mode = 0+ a+ H! E8 Y/ j- d: S

  1454. % P7 I# L/ s* y. ]- r9 {
  1455. ; Whether to use cookies.1 Y) d4 X2 r9 a
  1456. ; http://php.net/session.use-cookies
    7 c( m& H9 ?9 w: q* F6 o
  1457. session.use_cookies = 1
    0 V" [6 U7 @' Q5 l
  1458. 6 G& ]& b$ g, {' {3 n; V- t0 y
  1459. ; http://php.net/session.cookie-secure
    6 M% {9 I. v3 K/ v# r1 o5 P
  1460. ;session.cookie_secure =& z  ~  p" J% A  X2 Y, z( s

  1461. 6 ?, ~* M* N* E! y7 m: U2 W5 ?
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining- q. ~7 S' ~' j: Y3 P. w( A4 m
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    9 U: K: B7 q$ A" b
  1464. ; session hijacking when not specifying and managing your own session id. It is  q8 Y# e5 C% w
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 ~/ w" H& K8 r1 D9 L1 V2 u" I
  1466. ; http://php.net/session.use-only-cookies
    # n$ t. R, @) M! U/ Z( {
  1467. session.use_only_cookies = 10 ]0 T+ E! @  h5 B% Z4 S
  1468. + t* w: K- \$ Q* t
  1469. ; Name of the session (used as cookie name).) h  K- F+ q0 L2 T! B$ b4 F
  1470. ; http://php.net/session.name, X7 j; t# J) ~( Z( h) X& i  {
  1471. session.name = PHPSESSID
    9 k) N2 D8 p& N
  1472. 8 U' w7 `1 p* ^0 T5 N/ s5 h
  1473. ; Initialize session on request startup.- g! E8 S5 V/ j' \( g& Z
  1474. ; http://php.net/session.auto-start* ]' j2 K; P& B0 L' ]
  1475. session.auto_start = 0
    ! v/ ]0 q1 G$ U

  1476. & z7 Y0 _7 }5 ~) B
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    1 S2 @5 h8 V6 g$ d. Q9 Y# [
  1478. ; http://php.net/session.cookie-lifetime
    ; v" q3 J: l/ X5 r# Q4 o
  1479. session.cookie_lifetime = 0
    6 o1 N/ y3 f. z8 [) W# b
  1480. 4 X* e  X9 N, a$ i$ M
  1481. ; The path for which the cookie is valid.2 q$ A. L8 N+ z9 V, n
  1482. ; http://php.net/session.cookie-path
    8 a! m# \' T- @
  1483. session.cookie_path = /7 Z3 c  @# o. \/ f
  1484. # r% V$ o# ]2 s$ H4 r4 h
  1485. ; The domain for which the cookie is valid.* ~9 Y( l5 X  r8 C* r
  1486. ; http://php.net/session.cookie-domain- z9 F6 a3 z" t1 x8 h0 {8 o
  1487. session.cookie_domain =
    % b$ M2 b/ F$ t/ ^: `
  1488. 8 d4 C. f, v/ W6 ^
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.- d* Q7 f6 V; l7 I  J/ O
  1490. ; http://php.net/session.cookie-httponly
    1 V" n+ o* W4 Q; p6 U* O! I
  1491. session.cookie_httponly =
    . W  B& _2 y$ d% `

  1492. - P( z9 H# J8 j3 t! z, \: Z9 z, d' w
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.8 I+ T3 z4 @- i5 G/ `
  1494. ; http://php.net/session.serialize-handler
    9 C3 j. o* Y) @& U3 k7 i6 w
  1495. session.serialize_handler = php
    9 s! K# A% ~: K- J; h

  1496. 2 W6 R" q) O+ }; H9 i( E6 C
  1497. ; Defines the probability that the 'garbage collection' process is started, o" B0 s; a, g4 _( {/ v
  1498. ; on every session initialization. The probability is calculated by using
      D8 A- q2 x- m
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 o0 a; W1 Y8 ]; O& x) {9 l
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1  G( }+ k7 K4 T* r6 d+ C
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ V: b/ @8 Z7 ~$ B4 M7 m
  1502. ; the gc will run on any give request./ S9 E6 b+ G* b: ~
  1503. ; Default Value: 1
    3 T; t" a; x" {, [3 N
  1504. ; Development Value: 1: A9 T. S: R  Q
  1505. ; Production Value: 1) c! B" E7 ]7 C9 m7 I/ T" s$ ]
  1506. ; http://php.net/session.gc-probability4 F$ E  h' L. e# o! [
  1507. session.gc_probability = 1
    # \) t0 j" U( h) |0 v, c* S

  1508. 2 F5 p& y$ V7 v( z
  1509. ; Defines the probability that the 'garbage collection' process is started on every$ c' V2 M) C/ Z. G6 w* X
  1510. ; session initialization. The probability is calculated by using the following equation:
    $ f7 X  S" Z$ t. {& W* Y  x
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - T/ y, J" V7 G, i+ X, [
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 R4 ~' ]* |. ^
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    # y7 R8 m# r, S" p" }4 i' _
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you( j) E  X: b' ~' a1 W+ Z$ A
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,$ z% f" W. e0 u0 W0 Y" F
  1516. ; this is a more efficient approach.
    - S" z' Q1 t. e, Q. W# }6 C
  1517. ; Default Value: 100
    : _0 t! J# |$ i
  1518. ; Development Value: 1000* g' o5 T1 i+ H  B: T7 k, C
  1519. ; Production Value: 1000
    + @' Z  ^! W6 u3 m6 x2 l* j6 N: d8 ?
  1520. ; http://php.net/session.gc-divisor
      i+ B2 {( {" v3 R9 b
  1521. session.gc_divisor = 10005 V  v  T( Q7 r) q' K

  1522. ) Y) W! j- t% n
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and3 H* ?- u2 |5 _4 u8 v" H
  1524. ; cleaned up by the garbage collection process.
    4 d0 c, w+ i; L1 {. N
  1525. ; http://php.net/session.gc-maxlifetime' X1 a: Q  [- Q4 p' [' _/ `
  1526. session.gc_maxlifetime = 1440
    4 `; t- @" i% F

  1527. 8 n. @4 ~+ j' B
  1528. ; NOTE: If you are using the subdirectory option for storing session files6 j) C" y5 g, Y% A* F4 q
  1529. ;       (see session.save_path above), then garbage collection does *not*, I7 d) |( m" O. M5 U
  1530. ;       happen automatically.  You will need to do your own garbage
      x4 I! j1 D) u4 _3 D
  1531. ;       collection through a shell script, cron entry, or some other method.* K- w+ i5 L* [* R6 N
  1532. ;       For example, the following script would is the equivalent of9 N1 V' Q% x5 p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):# H- h" r8 U7 A2 }* Y2 M
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm7 H- p& _9 d  g" g/ R
  1535. ! y" Q+ t3 H3 Y' E$ ]4 r/ u
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 i' h0 X& x4 p
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    2 A& t# \. i& b
  1538. ; considered as valid.3 e! a9 H: F& f3 B1 e& v1 W
  1539. ; http://php.net/session.referer-check. h. ?  H% v! Y3 ~/ @/ @
  1540. session.referer_check =5 R3 ^/ s! v5 l% L& j+ a
  1541. ( ?0 |# V% O" i: T, r4 I
  1542. ; How many bytes to read from the file.$ @& g* M  ?( M0 g' M5 O
  1543. ; http://php.net/session.entropy-length
    ' |6 m7 C; h' T4 ], h
  1544. ;session.entropy_length = 323 I# k3 c& M. @+ F- O

  1545. ; M5 r' t1 t$ N: z+ D' @% E: {
  1546. ; Specified here to create the session id.
    5 {4 E! f5 s' d! G
  1547. ; http://php.net/session.entropy-file! G* L% b7 @& c. |0 u2 [  f$ {! }- Z
  1548. ; Defaults to /dev/urandom
    % R( ?) s$ I3 G+ q: ]4 q( V
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom2 g2 y5 g  J* M4 m# D
  1550. ; If neither are found at compile time, the default is no entropy file.( S2 Y" E1 Y# o* t3 o
  1551. ; On windows, setting the entropy_length setting will activate the
    6 }8 V+ Z( k+ n# i" s) E3 V4 T
  1552. ; Windows random source (using the CryptoAPI)
      A' N/ ~* {- f0 w: [- R! F
  1553. ;session.entropy_file = /dev/urandom2 n( m$ M1 E" O: Q" G: |
  1554. " N" @' c4 }% M1 B2 N' s$ S& b
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ Q' B  @0 A8 W5 Q3 g( q
  1556. ; or leave this empty to avoid sending anti-caching headers./ z9 L6 F" L3 |/ K. J2 U3 Z- D" {2 H
  1557. ; http://php.net/session.cache-limiter
    9 v7 O! N/ W9 {6 q' [/ P0 Y
  1558. session.cache_limiter = nocache
    . _* L0 U# g+ ~7 H5 _

  1559. 6 o1 x& A: ]7 D1 T1 s& n# d! o' d
  1560. ; Document expires after n minutes.
    5 q  S2 o1 n  @1 P4 J; d5 S" K
  1561. ; http://php.net/session.cache-expire5 Q& a0 u% \: ?
  1562. session.cache_expire = 180, C4 f7 @8 _- \# A. c6 [# h% m7 ~
  1563. ( F' E4 Q) {0 S; w/ B8 G2 }+ p- Z2 ^
  1564. ; trans sid support is disabled by default.
      E4 I/ H, L) Q- @
  1565. ; Use of trans sid may risk your users' security.# t, E0 ?; q# q% \
  1566. ; Use this option with caution.
    8 m# ]" Y9 y9 b! X9 k$ J
  1567. ; - User may send URL contains active session ID# i- d) P$ a$ G, O' o# E
  1568. ;   to other person via. email/irc/etc.
    + k: E: z% h7 r
  1569. ; - URL that contains active session ID may be stored
    & Z9 O* y* S3 h9 Y
  1570. ;   in publicly accessible computer.% K/ O1 V  P, ?" U' [( I
  1571. ; - User may access your site with the same session ID% l# R9 h+ O: G, I( x
  1572. ;   always using URL stored in browser's history or bookmarks." P: h( H5 T* L9 K; }, a" U
  1573. ; http://php.net/session.use-trans-sid
    + U5 v& V5 N3 h' R; I" p3 A* D$ J
  1574. session.use_trans_sid = 0
    4 Z) @( j  Q$ `) g
  1575. ) V3 ?1 Y% B, q$ [
  1576. ; Select a hash function for use in generating session ids.4 L7 |" U. c% `% f) E. I; h. L
  1577. ; Possible Values4 a3 U2 l/ M, X% ^! Q! e. s  m0 P
  1578. ;   0  (MD5 128 bits)2 X+ @! e5 X5 M, V! y/ K2 V3 }+ @0 r
  1579. ;   1  (SHA-1 160 bits)
      Q2 Z" f' q( }) ^
  1580. ; This option may also be set to the name of any hash function supported by
    - |3 Z# Y/ I  \3 U0 a
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ' w9 Z) f: A& L: Y% h
  1582. ; function.# y) N/ e5 }% s, Z7 R: g
  1583. ; http://php.net/session.hash-function
    * Q) E* t' {& ]+ c, [$ b. k0 Y3 Y
  1584. session.hash_function = 0
    ; y# B- N4 J3 W
  1585. . i" N  e* `/ z- j
  1586. ; Define how many bits are stored in each character when converting$ _  _8 y  Q+ J
  1587. ; the binary hash data to something readable.0 H! e  ^' s& g* Q' e
  1588. ; Possible values:
    : R& C. A% z, U% o  \+ z
  1589. ;   4  (4 bits: 0-9, a-f)
    % S8 q' I! O7 S3 N& `: b) r* D2 [8 O
  1590. ;   5  (5 bits: 0-9, a-v)
    ' H0 _) o6 I8 _
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")0 ^) K8 o, t5 k* g
  1592. ; Default Value: 4' |7 X  z3 d) s: R
  1593. ; Development Value: 5. ^  Y, _& {) L+ c% I
  1594. ; Production Value: 50 Q7 }) ^( h2 H2 D- K0 B
  1595. ; http://php.net/session.hash-bits-per-character
    % v6 q# B' c& @6 M- w1 G
  1596. session.hash_bits_per_character = 5
    , m7 z: `! C" V

  1597. * V( L, l2 v2 l! @1 ]9 X
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    & x0 w0 n5 r3 k0 o. W# R: u
  1599. ; form/fieldset are special; if you include them here, the rewriter will' W5 T( [% }4 N, R9 g
  1600. ; add a hidden <input> field with the info which is otherwise appended- A4 w+ F/ X, p  }* z
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    % Q( r( E6 s- c$ f
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ; I+ Q5 S5 D, T# V8 _' @- A
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=". c& \, q& K3 e  ]9 e
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 w- b3 `( W) l' v3 j; W
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 E$ P, D' Q6 Y( u
  1606. ; http://php.net/url-rewriter.tags
    8 }3 L& G7 v+ K' R) u$ g
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 {; L3 J5 q7 N2 |, J

  1608. 4 h0 u! t$ \& @: w9 Q+ ^7 h
  1609. ; Enable upload progress tracking in $_SESSION) d' O$ K! s+ [9 F  s0 k* c: m* ~
  1610. ; Default Value: On( o3 |9 ^7 _# \# S/ a+ [$ Y: t
  1611. ; Development Value: On
    1 d$ W: q$ k8 b
  1612. ; Production Value: On" j. F, b/ S! Y9 }
  1613. ; http://php.net/session.upload-progress.enabled
    7 [1 `, F* m1 q, l
  1614. ;session.upload_progress.enabled = On" _0 V0 z  V' ~5 {

  1615. " }& G+ O& \! O" @" H+ g
  1616. ; Cleanup the progress information as soon as all POST data has been read* l' t4 V% C3 p1 s( X2 Q  r- o5 g: h1 @
  1617. ; (i.e. upload completed).$ n' A: f+ ^/ p1 ]/ C
  1618. ; Default Value: On+ t  J  {2 V' |) O! R/ M) }) T
  1619. ; Development Value: On8 i! b  O) o( R( t* w0 E
  1620. ; Production Value: On
    5 q9 e6 \8 E+ r9 t3 D* _
  1621. ; http://php.net/session.upload-progress.cleanup
    , f0 d& D2 E4 ]0 C
  1622. ;session.upload_progress.cleanup = On! E% i7 [+ {/ C+ Z: U& J
  1623. / N( h1 c& Q8 ]$ q$ V: W# n8 @
  1624. ; A prefix used for the upload progress key in $_SESSION6 h* W0 {6 d8 i  v6 J4 h
  1625. ; Default Value: "upload_progress_". l* C: e4 B- Y7 h+ M
  1626. ; Development Value: "upload_progress_"/ {$ Y3 K- \! x: G
  1627. ; Production Value: "upload_progress_"* W" Z$ ?* G+ \+ l* z' |6 m
  1628. ; http://php.net/session.upload-progress.prefix8 \2 }' l0 ^5 f+ F4 @
  1629. ;session.upload_progress.prefix = "upload_progress_"
    4 n% j: x4 W5 K/ v, R+ U) S: \6 `
  1630. - C# f) ~2 u# i: c7 D
  1631. ; The index name (concatenated with the prefix) in $_SESSION6 }7 _' d4 H- o: z
  1632. ; containing the upload progress information& ^7 q& q% h( J5 C4 |
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " u. T" V' e$ y3 w- Q" F
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 H! ]4 [6 {3 m& r7 v
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"; _' S, t! \$ N9 a
  1636. ; http://php.net/session.upload-progress.name" Q! `7 o4 ~) ?) }6 `
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS") _: y: A# u1 l

  1638. * t5 h- m6 H( x
  1639. ; How frequently the upload progress should be updated.
    3 {; }" T1 S. B4 H: y, M
  1640. ; Given either in percentages (per-file), or in bytes
    ! Y. T% \  R$ {6 b- I# l
  1641. ; Default Value: "1%"
      V" V- C- t4 S! Y6 E
  1642. ; Development Value: "1%": B% O& W/ W. G8 m- [' G* G# H
  1643. ; Production Value: "1%"
    2 j, a: t, g3 l
  1644. ; http://php.net/session.upload-progress.freq$ f! }' j9 Z# ]. b: R
  1645. ;session.upload_progress.freq =  "1%"
    0 a% m: |8 v  I* Z
  1646. ! z9 E* @7 w8 v* [* M
  1647. ; The minimum delay between updates, in seconds
    ! ]# ~, A8 n5 I1 `" b
  1648. ; Default Value: 1* S# t$ n4 _4 r, w! q
  1649. ; Development Value: 12 [3 m" H, G/ o5 {! c" z( r
  1650. ; Production Value: 1
    ) E$ R0 _: P7 E" |3 E+ Y
  1651. ; http://php.net/session.upload-progress.min-freq
    3 t0 d5 _4 W2 H# F! k$ c
  1652. ;session.upload_progress.min_freq = "1"
    # f3 w/ s# `  _+ B6 H7 z% x  y

  1653. : [2 b0 T8 H' P" K2 e2 Z& s- i
  1654. [MSSQL]
    . U6 L4 ~0 c0 E/ o  l
  1655. ; Allow or prevent persistent links.
    : M5 q; b! S" Q1 e
  1656. mssql.allow_persistent = On
    ; y' `' b9 T- K# F
  1657.   }; F$ d, S& `, W5 R* m8 w
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ! I0 e6 {  w& Q+ Z7 P' ]7 R; I. y: o& ?
  1659. mssql.max_persistent = -1
      q: _8 V9 D6 j6 [5 a5 x3 A& w
  1660. + Z3 w% u/ Z) C9 Y9 \1 z8 v6 M
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    7 G$ y, }% K) E' y
  1662. mssql.max_links = -1
    . w7 y" |1 }* C2 N6 T/ H1 r

  1663. , W# y  W7 [3 ]. \
  1664. ; Minimum error severity to display.. `* g0 }. t# B. H+ G- i3 q' I% q
  1665. mssql.min_error_severity = 10- R9 h) E0 l% F. T/ I
  1666. 9 P- p$ G" K# t4 T
  1667. ; Minimum message severity to display.
    4 v8 |. @- V) Y5 P1 l: l
  1668. mssql.min_message_severity = 10
    5 c- ^( r( F0 _0 `9 S) X
  1669. 8 ?2 ?9 l9 a) T/ E
  1670. ; Compatibility mode with old versions of PHP 3.0.6 z; r( h% R! D% s5 [; J/ f. Z) M
  1671. mssql.compatibility_mode = Off
    9 M. M/ h( ?2 X, i4 ^

  1672. % J) P* _; B) x; `
  1673. ; Connect timeout
    5 e" N$ J9 y* A5 G+ X2 W5 H
  1674. ;mssql.connect_timeout = 5
    ' G% r4 s' r0 u$ c8 t0 `

  1675. ( _; \% U+ y2 R
  1676. ; Query timeout
    " _% A. z/ o% [: a7 m) E
  1677. ;mssql.timeout = 601 E$ o7 r! I' Y* R/ W- P" O( u3 ^

  1678. 5 M4 t. t* j5 G0 u$ P
  1679. ; Valid range 0 - 2147483647.  Default = 4096.- u! _& J/ X8 J! q) o2 z, B3 |
  1680. ;mssql.textlimit = 4096
    0 }! w" \% Y! c% |
  1681. 4 }! [! b  r7 j$ l$ s# S
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    * ~$ }/ c7 T1 F
  1683. ;mssql.textsize = 4096; J8 o2 H1 O& x8 D1 R. L$ t

  1684. - d/ q( O. A* m. d, q5 e- P2 i3 }
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    5 P) s/ |6 c! }$ S& q
  1686. ;mssql.batchsize = 0$ N0 e% U  x/ C4 \' p

  1687. 2 G6 [( F+ B$ d7 c6 F+ A( h
  1688. ; Specify how datetime and datetim4 columns are returned( s3 [: u% P9 {0 P8 j
  1689. ; On => Returns data converted to SQL server settings3 x# P" O6 m0 \7 o
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss, p* m& S, v; m0 N1 a
  1691. ;mssql.datetimeconvert = On; n. i/ T  C8 d7 t/ Z; ^8 n& C
  1692. 7 \2 ?3 M( U9 Q3 t  o9 a) |* ^
  1693. ; Use NT authentication when connecting to the server0 D8 T2 f, S% \# G, o' \
  1694. mssql.secure_connection = Off
    3 B) }0 D  K  W& m$ u: ]2 P

  1695. 1 Y+ H7 G1 V% o" V4 e
  1696. ; Specify max number of processes. -1 = library default$ X2 k$ ]& S8 t. ^; n# t* C
  1697. ; msdlib defaults to 25
    ! {' m; K& ?. m6 t  U( V4 \
  1698. ; FreeTDS defaults to 4096' b/ C( |1 t* l+ B3 M
  1699. ;mssql.max_procs = -16 |, [/ L. d1 a5 W5 U# z$ A0 q

  1700. 5 Q7 ?5 a7 v7 Z
  1701. ; Specify client character set.: L. y! D/ O: Y& Q0 _% T$ J
  1702. ; If empty or not set the client charset from freetds.conf is used
    # y- E% k: F' C2 B3 [
  1703. ; This is only used when compiled with FreeTDS
    & Q! ]0 E9 L  B( K
  1704. ;mssql.charset = "ISO-8859-1"! o7 x! f; ~" O* I4 u% o& c6 r8 t* {
  1705. 7 H+ F5 ^0 {( F7 B( ?2 Z
  1706. [Assertion]1 P/ T" U1 U; l2 }9 }: Z! ]* v; o
  1707. ; Assert(expr); active by default.& e$ d: M' }5 j4 A, E9 Z
  1708. ; http://php.net/assert.active, D- R& c: a" l# ]- \* t: T- C# Q
  1709. ;assert.active = On# P/ z5 Y0 X. H' b0 z* E8 z7 @" y

  1710. 3 }# R- L+ k9 W: m
  1711. ; Issue a PHP warning for each failed assertion.& p7 V! i9 W3 C+ z9 ?8 {
  1712. ; http://php.net/assert.warning8 ~; d7 T4 d2 F; Z2 B6 i
  1713. ;assert.warning = On/ Q3 Q  }6 n" }- N8 x

  1714. : \- v3 {3 t6 v8 B# O
  1715. ; Don't bail out by default.
    - w3 @5 V) t, Z4 ^! P
  1716. ; http://php.net/assert.bail( o: h. a; ^2 c4 B- K7 _! b( M5 Q% F
  1717. ;assert.bail = Off
    ! p( w" E% y+ }: S

  1718. " x* \. ?2 Z+ v- z: d! P
  1719. ; User-function to be called if an assertion fails.( e7 \0 T( u5 g; h4 ~3 L
  1720. ; http://php.net/assert.callback
    0 t6 b! t9 n+ W2 }) x
  1721. ;assert.callback = 0) I; T! u1 e# K
  1722. : D+ X5 ^3 T- Y8 S
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    + C9 ?( h7 p( [- `$ s$ M0 q
  1724. ; error_reporting(0) around the eval().5 _. r- \2 V9 ?. P( O7 h
  1725. ; http://php.net/assert.quiet-eval* u" Z1 r6 ^0 o" {: n- m( I
  1726. ;assert.quiet_eval = 02 |! @& U! w- t4 R9 M( C0 L
  1727. 6 p0 o; M8 s$ V
  1728. [COM]. [; m& P: K3 Q5 K* ~& P0 d
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
      F3 B0 H/ Q* e
  1730. ; http://php.net/com.typelib-file5 U6 r1 I) s3 X" P/ E
  1731. ;com.typelib_file =
    7 `7 D5 F! ~  `0 y7 U5 C- c

  1732. * }8 O8 p7 y2 T  ^7 w+ z. v
  1733. ; allow Distributed-COM calls
    - m" D  g+ P9 R# E7 W
  1734. ; http://php.net/com.allow-dcom
    / O' l4 L) p' P8 p
  1735. ;com.allow_dcom = true
    ( {8 }" E0 _% t( R0 s& f
  1736. 2 m7 e# ~: v, u6 s' y& u/ P: M( q
  1737. ; autoregister constants of a components typlib on com_load()+ d& g1 G8 r* y& M3 J
  1738. ; http://php.net/com.autoregister-typelib5 F5 ^0 ^4 P: S! o$ `# C# E
  1739. ;com.autoregister_typelib = true
    ' O/ u0 j+ e4 L1 ]# f3 x# ]$ P

  1740. , c; ^) o5 q. d: p6 ^
  1741. ; register constants casesensitive3 W& V6 t5 Y, G' I3 a8 ?6 M
  1742. ; http://php.net/com.autoregister-casesensitive
    4 \$ j, M9 C9 l. \/ k
  1743. ;com.autoregister_casesensitive = false* B5 r6 n3 d: c0 s: }

  1744. , C" h) |/ ]( I/ ], t3 Z, P
  1745. ; show warnings on duplicate constant registrations; W& F, w" }% L* X# d2 n9 c3 V
  1746. ; http://php.net/com.autoregister-verbose
    5 l1 o5 }7 e- w
  1747. ;com.autoregister_verbose = true" K" Q" o/ d2 R! |0 o) j/ q* H
  1748. 7 t. O, J( Y8 \2 p3 a9 l. c
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    2 W4 h/ S2 w! K$ p8 {0 f2 y+ O2 c
  1750. ; Default: system ANSI code page
    + Y1 y! h, }. n3 G' @1 |* ^
  1751. ;com.code_page=! v+ m- d/ r2 [% t' r# N. e: B  u

  1752. 0 A  V  g( {, E9 x' [
  1753. [mbstring]
    / _' `, I9 k* [' y
  1754. ; language for internal character representation.' I- D) h5 y* i% y/ f$ y
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.7 R4 n* e  ^7 N& G6 i( V& ~
  1756. ; http://php.net/mbstring.language
    1 R( ~3 o; {5 e; g
  1757. ;mbstring.language = Japanese) w  W4 e" N! p( @% }& J

  1758. ) W- e' ~2 H8 D5 T
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & k7 b$ z+ B" `% S- k9 C
  1760. ; internal/script encoding.
    % z9 ^5 _) A% d5 X- M+ H
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ! p) ^% d& ^' M# `# V! H; s5 c
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' C( o7 {9 q% d! g( q5 o2 m! i
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    5 `. D: M% C! I; n9 g8 f3 q1 }& D$ a
  1764. ;mbstring.internal_encoding =
    / Q4 D7 u- v2 Z, n- z  U

  1765. , h6 X8 i. a% y% s# T* q1 V4 F
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & r# L# ]* N% f
  1767. ; http input encoding.5 d- F" v/ h# |/ K8 W7 ?0 X
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    # s9 ]2 H7 [' H& b' p0 S
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ) V, P7 F; x( I8 y) g
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& V. e: P7 C$ l& D4 l* R( c
  1771. ; http://php.net/mbstring.http-input
    ) a/ g$ E5 |* c0 m6 ?
  1772. ;mbstring.http_input =8 B# P7 [* G" T! _

  1773. ; }% M# u$ Z" l! ^
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 N, {% C$ G) S4 _3 D3 W
  1775. ; http output encoding.
    $ l1 C: x, b# Y& f8 g0 `  A6 g
  1776. ; mb_output_handler must be registered as output buffer to function.& D/ A: Y) u# x7 a# P4 c8 \& i+ a
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 J2 D* h2 R$ R1 T) ?2 s
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output! m/ N! z5 \7 e% o/ A' b7 ^
  1779. ; To use an output encoding conversion, mbstring's output handler must be set$ g& {1 ?& }+ L  f
  1780. ; otherwise output encoding conversion cannot be performed.# p: h: c& t& |. u; K; }- F
  1781. ; http://php.net/mbstring.http-output5 v2 x& M& P% h# D* _
  1782. ;mbstring.http_output =* ?5 c3 J) \; Y- i

  1783. 0 G2 Y0 R8 ?' P3 L
  1784. ; enable automatic encoding translation according to
    * l* R+ J2 r8 h+ _5 ?; H
  1785. ; mbstring.internal_encoding setting. Input chars are
    ' t  I/ ?8 p! H, W7 T+ s8 E* M
  1786. ; converted to internal encoding by setting this to On.6 l4 |$ U5 a, ?0 K
  1787. ; Note: Do _not_ use automatic encoding translation for8 J8 M6 ^) r3 ~* u3 _- `
  1788. ;       portable libs/applications.# D. f; b. c  C8 X/ [# ^+ m. Z
  1789. ; http://php.net/mbstring.encoding-translation
    1 p8 a" W2 o# w- L1 U( l0 t
  1790. ;mbstring.encoding_translation = Off2 |+ Y& R& I! t/ G$ o4 b, i2 ^" f

  1791. 8 B* C3 w7 G* v6 d# R
  1792. ; automatic encoding detection order.
    2 d& O; B4 h$ O8 Z
  1793. ; "auto" detect order is changed according to mbstring.language
    & [: Q6 p% |1 \% Y( F) T2 G
  1794. ; http://php.net/mbstring.detect-order3 h+ n& s& }, h$ S& l0 _- ~( W
  1795. ;mbstring.detect_order = auto
    ( m. M4 g" `+ f
  1796. 1 C9 W4 n: a9 P
  1797. ; substitute_character used when character cannot be converted' b* k1 W4 j1 S# j+ z
  1798. ; one from another/ T7 M' x8 Z. B! M  M7 [* |
  1799. ; http://php.net/mbstring.substitute-character8 q+ W; s% {3 p  Q
  1800. ;mbstring.substitute_character = none
    6 h! c/ [0 ^3 E$ c

  1801. / `, _' A! a/ S2 e- v! C# O; M
  1802. ; overload(replace) single byte functions by mbstring functions.
    ' [, s3 x) ^- B( s& y( u6 \, B; W
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , j8 Y: K; }% f' B0 f& C
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    4 q4 U: T7 V5 J: j" i+ X
  1805. ; For example, 7 for overload everything.% ~8 B) w4 z9 P3 M( Z" d8 ?
  1806. ; 0: No overload7 q$ e5 R$ f% M: x, ?( Z
  1807. ; 1: Overload mail() function2 M$ N5 u; Y  a+ M6 @
  1808. ; 2: Overload str*() functions
    0 X8 x) ^2 g6 T  V  ~
  1809. ; 4: Overload ereg*() functions6 Q9 k/ y4 q2 N+ {/ M" s# a
  1810. ; http://php.net/mbstring.func-overload
    ( Z- q: ]0 `- m* z
  1811. ;mbstring.func_overload = 0
    6 _7 }; |9 ?- {5 V0 d3 J& g9 C! [
  1812. 5 j0 X$ |3 x! h+ K& x# k
  1813. ; enable strict encoding detection.
    5 Y% a6 j6 q" O, G0 z/ d
  1814. ; Default: Off
    1 a1 o5 T  q; Z
  1815. ;mbstring.strict_detection = On8 m' m5 g3 q- G. ^% a
  1816. 7 N6 ^; J  f- o. S! i, O
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    % p, p7 Q- E7 V
  1818. ; is activated.
    ; P5 w& e( x8 Y- U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)5 |& s  E7 Y8 [9 f% y, B: Z- d
  1820. ;mbstring.http_output_conv_mimetype=: I6 x* n# R; |+ n4 G; ]

  1821. 7 \$ J, S* t$ ]* r, _% O5 I0 @
  1822. [gd]% O. i5 m) U" F" ~: ?3 q
  1823. ; Tell the jpeg decode to ignore warnings and try to create7 |0 s7 X2 ~. f, T0 \" {) }
  1824. ; a gd image. The warning will then be displayed as notices, p: e0 R4 y* Y+ O+ d
  1825. ; disabled by default
    5 Z( W3 C3 c2 q8 g
  1826. ; http://php.net/gd.jpeg-ignore-warning
    $ c6 m$ @6 O6 C9 U) m1 g
  1827. ;gd.jpeg_ignore_warning = 0
    1 d% Y3 i4 Z% A8 c. h8 G+ N

  1828. $ b  ^5 t9 K# A( \: P; X) f  p- Q) F
  1829. [exif]
    - `2 J; ?: m" s' P2 _
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' ~1 c' I. N( u- c5 \5 V4 f0 T
  1831. ; With mbstring support this will automatically be converted into the encoding
    ( C5 X! [9 Z2 L8 u, o: g5 \6 e- J
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding9 C- o: h& D1 r6 L# d
  1833. ; is used. For the decode settings you can distinguish between motorola and
    , Q6 `( Q( k& T; Q
  1834. ; intel byte order. A decode setting cannot be empty.
    3 \7 u9 Q2 Z4 l5 v9 q! x6 z
  1835. ; http://php.net/exif.encode-unicode* f0 A* k' |5 d1 M
  1836. ;exif.encode_unicode = ISO-8859-156 N8 l# ~1 j- N& F3 H6 n4 N+ m

  1837. 5 K6 ]8 q3 e) Z/ Z' A" T2 A5 f
  1838. ; http://php.net/exif.decode-unicode-motorola
    : M+ B- S: z% y2 N5 T0 w
  1839. ;exif.decode_unicode_motorola = UCS-2BE6 r5 h* Z* y& }" C  t6 j3 ]
  1840. - }' M6 B1 b9 \- A7 v0 O0 X9 A
  1841. ; http://php.net/exif.decode-unicode-intel
      b% f# R; n% j3 R$ A, n; k- g
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    : h% Q+ S3 D6 }( A. _8 x

  1843. ( J% s1 A! M1 \; J" f: B: S; M& o
  1844. ; http://php.net/exif.encode-jis& f, E) F! b. S2 f7 W
  1845. ;exif.encode_jis =# ~4 p( {0 W, j8 K/ x* L: o
  1846. 4 J# c; F  H9 \$ `3 m
  1847. ; http://php.net/exif.decode-jis-motorola9 [0 L" p4 {& |: _" ]
  1848. ;exif.decode_jis_motorola = JIS7 R9 M! Z0 {( ]3 W' ^
  1849. 2 v. e9 C$ y5 X  {
  1850. ; http://php.net/exif.decode-jis-intel
    5 \; k+ X3 A. m. H/ F/ N& @
  1851. ;exif.decode_jis_intel    = JIS
    ) Q3 Z& O: `1 _

  1852. 5 H; q; q9 r' J( K7 Z
  1853. [Tidy]4 I3 ]6 j7 z2 T5 [% z; T
  1854. ; The path to a default tidy configuration file to use when using tidy
    $ k! P. d+ k$ _6 u9 y; q" P
  1855. ; http://php.net/tidy.default-config; A0 x8 j& G* K% e! `; l
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ' z" ~# s6 a/ b3 V1 e
  1857. 6 D3 f$ Q' c" A% q
  1858. ; Should tidy clean and repair output automatically?
    : U% S, A* o7 F: E. x; w$ L1 N
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ! e3 i$ _$ J) ]8 r* V7 P' x, x/ a
  1860. ; such as dynamic images5 B2 S* J% J( M, w
  1861. ; http://php.net/tidy.clean-output
    : u+ P' g/ M/ e5 S6 e% @5 P
  1862. tidy.clean_output = Off
    $ G9 _+ ]% k$ [( o, c

  1863. 0 `" D* f+ S% S- a- V
  1864. [soap]  |( ]0 ~4 S: T
  1865. ; Enables or disables WSDL caching feature.
    * ~9 o/ ?0 V, d* L5 G
  1866. ; http://php.net/soap.wsdl-cache-enabled: S4 Y% q' U! z% {0 r$ e
  1867. soap.wsdl_cache_enabled=1
    4 F+ I% m. ]8 J6 q( E3 m) j
  1868. ) V8 y3 \( [3 k" _7 d
  1869. ; Sets the directory name where SOAP extension will put cache files.
      g; o  p: W- n* j3 c  I$ |" E
  1870. ; http://php.net/soap.wsdl-cache-dir; a  H) G0 W% Z3 X8 [7 V2 Q2 z
  1871. soap.wsdl_cache_dir="/tmp"
    : Q+ ~9 E9 p0 r$ _- i

  1872. & W9 y- i$ u. F
  1873. ; (time to live) Sets the number of second while cached file will be used/ v: L3 c; @% S/ D- u
  1874. ; instead of original one.
    + `9 M! }0 e0 a6 T2 {
  1875. ; http://php.net/soap.wsdl-cache-ttl
    1 G8 D  R# f+ ~
  1876. soap.wsdl_cache_ttl=86400
    0 h0 u3 o  E2 L. d- W; h

  1877. 8 w1 k. f1 Q; v5 i
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)6 Y- o' v' T$ x( ]
  1879. soap.wsdl_cache_limit = 5- `6 E" H; }  @! r, o: B
  1880.   Z5 t' _1 A# e
  1881. [sysvshm]% u& B) z' B3 t. ~1 w
  1882. ; A default size of the shared memory segment. Q, G; f: e* N/ y2 g% O( \, V
  1883. ;sysvshm.init_mem = 10000. h$ S. C" Z. W  C7 f0 a

  1884. & R  @9 l1 c; ?
  1885. [ldap]9 c" Y4 y' D: u0 `3 i
  1886. ; Sets the maximum number of open links or -1 for unlimited.6 v4 _9 e" F5 Z+ P9 B6 `: e* E; A
  1887. ldap.max_links = -1, J& {" b! e! g  A% v5 l
  1888. 6 [# |. G+ R- I5 K# d6 R7 s
  1889. [mcrypt]
    , p3 P- R. }7 X# D0 |$ x
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open* V% p  J3 p) L& [% z1 Z4 ^7 {9 ^2 W! n

  1891. 4 T3 p% X6 i0 m/ ]* }1 M/ X. {
  1892. ; Directory where to load mcrypt algorithms$ W. \: x: S+ R0 G) Y* r
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 ]4 J: y4 z9 g% h4 S) Q$ S
  1894. ;mcrypt.algorithms_dir=. J5 C9 |: Z! y; _/ h( t

  1895. ; S# u" x6 b/ @* P5 S
  1896. ; Directory where to load mcrypt modes, k; B2 q% J6 G+ D! H& K0 P( A
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : g8 g7 g. V3 K( W9 ~9 k) @
  1898. ;mcrypt.modes_dir=
    , m$ r0 e1 c; f6 s/ W: B

  1899. , \9 \0 k) ]% d( c
  1900. [dba]8 i" n) h# n  ]4 j1 ]& G2 A) i  {) P
  1901. ;dba.default_handler=  Z) [" Z& m# O1 R$ |& ^7 U
  1902. 3 j) I' h; H: D6 [
  1903. [opcache]- g% J2 X- `* G% z( ]) p$ Q
  1904. ; Determines if Zend OPCache is enabled- Q8 o( x9 `# t1 l
  1905. ;opcache.enable=0
      f1 L( E4 @+ P" n' E2 T

  1906. # \# T8 _+ S1 j; H: J, I$ s
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    3 r9 P6 ]* Z# L/ a2 F4 z" ^
  1908. ;opcache.enable_cli=02 U: e" _7 `+ H  g3 E/ @, ], N
  1909. 9 a/ @0 u) I# r; s. c; F: D, @
  1910. ; The OPcache shared memory storage size.4 L  l" L1 k% U# l  I6 l! A: ]
  1911. ;opcache.memory_consumption=649 h7 |3 K6 ^8 R
  1912. - ~- }( C, o7 K) K, c
  1913. ; The amount of memory for interned strings in Mbytes.  ^  Z- ]. u( W  X2 ^1 Q
  1914. ;opcache.interned_strings_buffer=4- |+ k" J' ^0 b  N% k

  1915. + k. T3 ^  H1 D( j
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    : X+ ~$ G. w/ l/ |2 z6 s3 F" N: m
  1917. ; Only numbers between 200 and 100000 are allowed.
    ! O3 Z  _/ ~# h' u$ ~* ?, X5 ^' S
  1918. ;opcache.max_accelerated_files=2000& p0 u! e. f. c
  1919. + l) {7 E* T! w6 I* A" [0 @
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.9 f  y+ q. V. [  N4 Z% l# g
  1921. ;opcache.max_wasted_percentage=53 U/ ~# t8 Y7 E. Z

  1922. . H6 F0 j" D1 r( O7 ]/ d
  1923. ; When this directive is enabled, the OPcache appends the current working8 K+ W& j5 [2 E; [- }2 E" z! j
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' o1 D4 @) h  G; f7 @* m" `; p1 o& ?3 [: f
  1925. ; files with the same name (basename). Disabling the directive improves, g& X- t. I5 D: ^0 _  t/ b" n% b/ V3 {( ~
  1926. ; performance, but may break existing applications.
    - ?% q: A  {1 D! Y9 m3 S. S
  1927. ;opcache.use_cwd=1
    . j! M9 h- k! x

  1928. ! w% T: ^0 o8 W5 V9 m6 V* B
  1929. ; When disabled, you must reset the OPcache manually or restart the+ j( {/ e: S0 q4 d7 r7 H8 r
  1930. ; webserver for changes to the filesystem to take effect.5 Y8 `4 a4 U- R! X* o# x* K  i
  1931. ;opcache.validate_timestamps=1  O  z, _. H: N3 w& u0 f% L
  1932. + x! [% `6 C9 }# m+ A, Q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared6 O6 f2 L& l* Y" ?
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    5 R, Y' @# k( a8 i, c; C
  1935. ; once per request. "0" means always validate)# u9 j1 z# u3 F  E  N# R% J( v9 \
  1936. ;opcache.revalidate_freq=22 C) g" {9 k& b: }- O
  1937. % n3 }$ p* o( @  L3 g1 j1 l
  1938. ; Enables or disables file search in include_path optimization
    ( k% S5 b5 w, z3 _; {
  1939. ;opcache.revalidate_path=0
    0 \: X- `4 a% I& o$ w( y. X5 b
  1940.   W+ t# `1 i5 s) E. [
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    8 C9 I% U" E$ b7 `4 F; K
  1942. ; size of the optimized code.
    3 L# u, l9 }/ L' p& f6 b
  1943. ;opcache.save_comments=1
    + k/ j8 |  W: l3 P5 R' Y- u) e

  1944. # J( q/ E, p( ]5 A
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"8 ?& P6 S8 u8 q, o! _" N: q
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    . u4 {7 a! ?. n2 e: K. n3 R
  1947. ; that don't need them anyway.
    1 \9 x2 F" c6 ?3 P- V2 z2 E
  1948. ;opcache.load_comments=1) h4 J" p( m7 q1 p$ N" `9 H6 B% C7 n
  1949. $ ^3 x2 M7 m0 ^1 H& W" ]; M0 n6 {
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code/ r& W+ _; u: ]3 Z. i# T' I2 k, g
  1951. ;opcache.fast_shutdown=0
    7 U( ~2 {) P7 E. Y; G: r

  1952. 7 ]2 A2 ?8 @( I' ^7 a7 f1 h
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    9 A4 J3 {" f# t" z) L/ X2 f
  1954. ;opcache.enable_file_override=0
    ' `* @5 s, w1 g' `
  1955. ( M. b& Q) l$ \$ H- V& q, g% ]
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ; U% M$ \1 ~' w% J: D3 S( s
  1957. ; passes$ L8 O$ R& Q0 o2 e4 t* [$ w5 S
  1958. ;opcache.optimization_level=0xffffffff
    : C+ P. x2 H* p  i+ a/ T' g
  1959. % {- ?: j8 {4 z/ w/ `
  1960. ;opcache.inherited_hack=1
    0 e8 J: p6 @# P& V
  1961. ;opcache.dups_fix=0+ J. E& O( h- T1 w- {9 Q

  1962. 0 ~% o  l7 V' p; A( r$ _, y
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / Q  f0 k) w' N3 K9 P  R
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    # s' I+ |8 l  n, ^  ]9 J' G
  1965. ; that should not be accelerated. The file format is to add each filename( L% K3 ]) i5 i3 f' W1 T
  1966. ; to a new line. The filename may be a full path or just a file prefix, b2 K& s# r  n; G( T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    2 q( G  r6 ^$ R1 o" O
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! X& ^4 J0 n) W
  1969. ;opcache.blacklist_filename=
    * n9 `/ @4 }% U9 }
  1970. 1 z& Z2 {8 x' u9 A* P! s) H
  1971. ; Allows exclusion of large files from being cached. By default all files
    ; s% v2 |$ F: ?5 r- Z  O
  1972. ; are cached.
    1 ?1 C, |7 C: r; Q* F; N
  1973. ;opcache.max_file_size=0& |. k( f5 B- g8 p6 G1 s1 z: h7 q4 _6 l
  1974. 6 D( x" C# Y* R# h
  1975. ; Check the cache checksum each N requests.
    - Y* D5 g/ h5 F" w. x- y
  1976. ; The default value of "0" means that the checks are disabled.
    " m, S2 x$ T2 Z: U
  1977. ;opcache.consistency_checks=0
    % X( i1 A( ^% H1 K" y0 f; Z0 x2 B

  1978. 3 S' `1 p$ Y% m. E+ P& p) t3 ]
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    6 l+ ~8 `+ k$ t# F) B
  1980. ; is not being accessed.) p0 X# C- K1 B2 v
  1981. ;opcache.force_restart_timeout=180( g, o: x) E2 g5 M, h
  1982. / p4 M: P, T/ d# |$ m* O2 x& z
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    / z( q! ?$ N$ P
  1984. ;opcache.error_log=. }- a! M4 g; t2 G
  1985. % b5 m4 U8 W1 u# {) X* F; ~8 N
  1986. ; All OPcache errors go to the Web server log.- ^+ v/ k# d0 P- O* J4 s; @, J
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.' n$ B. E4 A) _, N" B
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    6 B5 T3 K+ ?2 R( G( Q
  1989. ; debug messages (level 4).
    4 t, t, n- n5 {& E7 k4 j  d
  1990. ;opcache.log_verbosity_level=10 v, s$ ]5 }5 P9 |" Q8 ~

  1991. 6 x1 R. H( R/ w4 A
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.5 A' z1 ]! R1 y+ c: |$ v$ l
  1993. ;opcache.preferred_memory_model=$ E1 k1 [. G4 N" b1 c1 ]

  1994. 7 `2 I5 I5 k- y" y
  1995. ; Protect the shared memory from unexpected writing during script execution.
    3 q# x2 c" x& b! O' C
  1996. ; Useful for internal debugging only.
    . x0 D- h4 r4 _# O- U; F+ J' Y  X* d
  1997. ;opcache.protect_memory=03 ~5 T3 {/ j* [  e( t/ i
  1998. ) t- p. l( Q  d5 K: P4 F
  1999. ; Validate cached file permissions.
    ; c$ B* F8 M0 w0 e' I  V5 \
  2000. ; opcache.validate_permission=0
    % [) t+ f9 h4 ~2 K

  2001. / n! R, ?9 m; I" l$ X% X
  2002. ; Prevent name collisions in chroot'ed environment.* B5 D: s) U  Y! F. u, I- R
  2003. ; opcache.validate_root=0& k2 A4 `2 j6 H

  2004. 5 w' H6 o) v7 p: D6 C0 V
  2005. [curl]
    7 s8 S8 n! Z& b( t2 @
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an) p0 x- V5 F2 l! X9 |) M8 Z* Z
  2007. ; absolute path.
    ( u$ i( D5 K, k# Y5 {/ C6 P( `
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    0 }1 f( H2 E  ?; P

  2009. - Y+ l. M5 J2 o+ b! Y
  2010. [openssl]5 W, l; v# ?. X: _7 w
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem- J+ K# M. H0 A
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should4 S6 z8 ?9 ^# E) }: E9 _$ T
  2013. ; not specify a value for this directive as PHP will attempt to use the5 U% C" }. @: z, ~( J
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    % D' @9 z7 T, ^1 r& E& U4 F; u& {
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    1 A7 O  p) P6 |( Q+ R
  2016. ; option.% i. h% f2 [$ U2 L
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt! z: z" x" p4 B$ Z1 x+ d& Z
  2018. " B( n" n4 @% ~1 }
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    # X; ^  r' u& X! a- `' R+ E
  2020. ; directory pointed to by openssl.capath is searched for a suitable* Y* b4 Q% b5 i* Y7 b7 F! f) |, T$ s
  2021. ; certificate. This value must be a correctly hashed certificate directory.3 B2 a+ S* E( t) D
  2022. ; Most users should not specify a value for this directive as PHP will
    ; ?" h  F. f4 Z
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ' b* m$ N0 u7 C' u
  2024. ; this value may still be overridden on a per-stream basis via the "capath"; B8 b1 A: {7 m: J( s2 S) Q
  2025. ; SSL stream context option.( k; b9 V9 j& J
  2026. ;openssl.capath=7 J2 O! {4 q# w) |& T$ J5 K

  2027. , [2 O6 F: l- l- e5 Q2 [! _
  2028. ; Local Variables:
    & P1 D% {! |, `& v- E
  2029. ; tab-width: 4
    ) b' i0 D  L3 Z! J  @" S
  2030. ; End:
    ' N" j" V3 n4 h2 @
  2031. # U, A: Q5 |( B- y, c
  2032. ;eaccelerator
    : u4 a9 g8 \9 \6 M4 d) J( T
  2033. . j" ]0 }) o8 Q3 z5 _1 m4 A. o# n
  2034. ;ionCube
    , O) [1 V; W. J% j- N3 G1 V
  2035. 1 h2 p3 r9 L# D& u- N
  2036. ;opcache
    8 p7 d2 @0 V1 d0 R: B; y

  2037. ( \( @  v$ a0 d+ h1 q
  2038. [Zend ZendGuard Loader]
    5 d5 E% ^' {/ r- o
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' O2 k. z& R! i! y, c0 P
  2040. zend_loader.enable=1
    2 _0 b( }# R2 e2 t6 ~. U& S; n
  2041. zend_loader.disable_licensing=0& L$ K8 r* T9 ]4 m/ Z+ h7 F2 g
  2042. zend_loader.obfuscation_level_support=32 e: Z9 Q8 ^* P
  2043. zend_loader.license_path=
    $ O0 v5 q% b0 {) o/ K  W8 |

  2044. : k, q2 R! ^' \$ I$ ]
  2045. ;xcache* V. N5 ^. q' l* u3 d$ p( Y) g

  2046. 5 r8 n  N; B% h5 u& X% N6 A1 e
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
% ^0 O6 @9 x$ ~1 Q' k$ {7 j3 o- h) d, ]; P: H

' i, u; f) r% W+ N* F2 [7 @7 UDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
. k) }% j. _9 e. m& s6 F4 @
$ S+ m( i! U' i3 W* x6 N: aDiscuz!程序版本选择:4 T; h$ b- Z3 {
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
+ B4 Y) l/ l. B) A5 Q不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
9 E+ Y8 `* B4 qDiscuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
) x9 Q+ O* V4 k$ X3 Z
1 w2 `9 R: L  u% D; f# ~Discuz!插件模板版本选择:$ N5 O- r4 u) @5 O8 H
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
& _7 ^- \( b" \/ u针对这个问题做个统一的普及:
0 z$ }% A' f! I- FX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。9 r0 H9 v( m* u) q0 {# N
' h1 O' {# z7 j. K& t. F& D
所以# {) M. x8 ]2 R% |5 N
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。: ?4 O- K* b. }5 J7 R' \6 O  p
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。$ ^* w# O8 U7 x
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

使用高级回帖 (可批量传图、插入视频等)快速回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则   Ctrl + Enter 快速发布  

×温馨提醒:关注《神采飞扬网》公众号,就可以及时接收到回复通知啦!24小时客服微信/电话:13068892088
1、注册用户在神采飞扬网(含旗下所有平台)发表、转载的任何作品仅代表其个人观点,不代表神采飞扬网认同其观点。
2、如果存在违反国家相关法律、法规、条例的行为,我们有权在不经作者准许的情况下删除其在神采飞扬网的所有内容。
3、所有网友请不要盗用有版权要求的作品,转贴请注明来源,否则文责自负。
4、神采飞扬网保护注册用户个人资料,但是因自身原因导致个人资料泄露、丢失、被盗或篡改,神采飞扬网概不负责,也不承担相应法律责任。

发帖时请遵守我国法律,网站会将有关你发帖内容、时间以及发帖IP地址等记录保留,只要接到合法请求,即会将信息提供给有关政府机构。
快速回复 返回顶部 返回列表