分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
9 d, y0 r; B& c
# M% J; L8 H  w# ~
  1. [PHP]
    + f, A0 y+ X1 i& T

  2. : ]# `+ i' h& O* i4 W% K' A
  3. ;;;;;;;;;;;;;;;;;;;9 j$ n5 p* _, C6 W) J8 a) f
  4. ; About php.ini   ;' l& r& Z& U7 W3 U$ K% s$ E
  5. ;;;;;;;;;;;;;;;;;;;
    . o2 {* ]; J! W- c4 @
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; k, S7 I4 C. Y( ~) v
  7. ; configuring many of the aspects of PHP's behavior.
    ' _( C) v7 T5 I5 |/ M+ {4 g
  8. 4 V- o2 a5 E2 z/ I  X
  9. ; PHP attempts to find and load this configuration from a number of locations.3 Z& x4 G* m% d" e
  10. ; The following is a summary of its search order:6 ]( o4 X) e: k
  11. ; 1. SAPI module specific location.7 u7 H' ?2 [4 w7 b: x  Z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)1 n4 O: E* a1 @' z( @! H# O
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)6 ~% U2 x7 F+ Z
  14. ; 4. Current working directory (except CLI)
    3 N1 L3 v4 p! g) K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP1 o8 `! s, j' O, l
  16. ; (otherwise in Windows)
    0 U' D0 _( o0 o/ F# `  {
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ; D) T, O9 k% B* h4 \2 `) B5 Y
  18. ; Windows directory (C:\windows or C:\winnt)
    & k0 t1 n# I  v2 t
  19. ; See the PHP docs for more specific information.4 B7 p4 A* n$ t( D5 R8 |: {& f" s
  20. ; http://php.net/configuration.file
    8 v  W; b- q9 k- J; L

  21. $ c. |7 O$ U, I2 d
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    7 X  h+ c+ Y& J9 w; O4 h
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)." {( r- V0 c# N: N8 q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    - F8 S: T& P# v, \
  25. ; they might mean something in the future.9 i4 p, O) P( l! g% j( d
  26. 3 {6 T1 \. z4 ~% t7 Y) N0 q
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 k2 D8 H2 j, B- X) R* D. h
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    0 C2 I* C% i- I) c8 c: {4 R
  29. ; following the section heading [HOST=www.example.com] only apply to
    5 B& R$ p2 K3 B7 t
  30. ; PHP files served from www.example.com.  Directives set in these& L" j& t. u! {4 k* v0 L7 @
  31. ; special sections cannot be overridden by user-defined INI files or9 f  A- N/ h& p8 e( [% ?; [2 |
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% m( _9 g; N8 \9 B: J
  33. ; CGI/FastCGI.1 a; B# ~4 I" e' H3 Z
  34. ; http://php.net/ini.sections  C3 }3 ~% d% f) o$ X9 y6 p

  35. . |! W/ Y' X% p4 W* W- Y8 \. j
  36. ; Directives are specified using the following syntax:
    ( R* f" r7 G4 G, [  w
  37. ; directive = value- w+ F$ o6 {" V# e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.' u; }% M" Y1 j0 W  Q- c8 t$ o2 v
  39. ; Directives are variables used to configure PHP or PHP extensions.7 y8 \  q- C% O9 ^; W
  40. ; There is no name validation.  If PHP can't find an expected
    7 Q, u- S% _; q) q
  41. ; directive because it is not set or is mistyped, a default value will be used.
    % a0 ~" p& W2 G, p

  42. 8 H. G/ q5 W+ f+ z0 m0 f
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    % N7 b+ d3 g. E. [9 J8 u) Y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; Z% X, \# A$ a+ O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; [0 C+ ?0 w0 T" Q2 O! v
  46. ; previously set variable or directive (e.g. ${foo})$ Q) f, T* c  ~/ p' w# A

  47. , J9 a1 f0 I5 w0 }
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:5 k) c3 H9 p+ D, A/ \, D
  49. ; |  bitwise OR
    ( A# p' u8 z5 D! b% q
  50. ; ^  bitwise XOR
    9 ~" G. C- N- I/ Q& b
  51. ; &  bitwise AND
    / K; e0 \4 X4 E2 M; @. S
  52. ; ~  bitwise NOT
    : Y- s2 k& h) m
  53. ; !  boolean NOT" L  ~3 g4 q( k8 M) Y! `: w

  54. - {$ N& g( u% M! B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.! {# w1 \" l' ?# W
  56. ; They can be turned off using the values 0, Off, False or No.% U7 v* D. v4 C) E4 }5 r5 |, C& T

  57. " D: s' v3 M  M, E
  58. ; An empty string can be denoted by simply not writing anything after the equal6 i9 Z, m/ ?. F: X; C5 E! Y( A
  59. ; sign, or by using the None keyword:" r# o- _5 s5 ]0 g4 B
  60. " ?1 z3 U7 w; |4 J' y8 ?2 g
  61. ;  foo =         ; sets foo to an empty string
    ; M' j8 U6 M4 ^+ V
  62. ;  foo = None    ; sets foo to an empty string6 V3 u- x. Q, L0 Y$ `7 O
  63. ;  foo = "None"  ; sets foo to the string 'None'
    * z% c2 w1 h8 W- U5 D

  64. * O( H  _) k( J4 V& ~
  65. ; If you use constants in your value, and these constants belong to a" B, o% q8 ?6 w" g- U% s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 @0 {7 ^; c$ }: H* f% P2 }
  67. ; you may only use these constants *after* the line that loads the extension.) v: K+ @* n- Y/ u8 T1 w

  68. 1 O7 J" i6 X  T9 [- l2 @
  69. ;;;;;;;;;;;;;;;;;;;2 R" k' k% N7 W7 |5 R7 l, l% B
  70. ; About this file ;
    + c7 f5 P2 I- r
  71. ;;;;;;;;;;;;;;;;;;;
    * }3 s/ n& e1 `
  72. ; PHP comes packaged with two INI files. One that is recommended to be used+ p* p7 i% h; B0 N6 t  k1 @6 o
  73. ; in production environments and one that is recommended to be used in
    * {7 e6 D5 \, b; k1 d/ W
  74. ; development environments.
    / f8 W9 q, o8 L# P& R$ _

  75. " P' D( ^" x- U% j
  76. ; php.ini-production contains settings which hold security, performance and
    5 J$ z: R- c. e5 }
  77. ; best practices at its core. But please be aware, these settings may break
    : u% M: f( |  E& L" |1 K
  78. ; compatibility with older or less security conscience applications. We
    / i$ |* I" r) z; Q
  79. ; recommending using the production ini in production and testing environments.& M+ q. E5 w$ I, ]7 |7 t

  80. 1 J$ Z5 {5 k) D1 T6 ?+ t1 J
  81. ; php.ini-development is very similar to its production variant, except it is6 z4 K+ E' \$ L4 u; _
  82. ; much more verbose when it comes to errors. We recommend using the
    1 [2 ~" t; y" O2 n: I) i7 Z2 U
  83. ; development version only in development environments, as errors shown to2 Z& ~# x: L$ h3 o2 e2 m7 Y
  84. ; application users can inadvertently leak otherwise secure information.) Q/ ^% f5 f7 L$ B
  85. ; Q& O8 g* B2 z9 ?" P# Q
  86. ; This is php.ini-production INI file.
      C- [5 y* j2 H* X0 |
  87. 8 W3 @/ V9 R" z" ^& k
  88. ;;;;;;;;;;;;;;;;;;;
    $ e# C1 c: B7 v
  89. ; Quick Reference ;7 Z4 [8 ~" E8 T. q4 m) _3 L9 x
  90. ;;;;;;;;;;;;;;;;;;;
    & h: V; `* m/ S5 u/ ^
  91. ; The following are all the settings which are different in either the production
      t- F. r! d. g0 c
  92. ; or development versions of the INIs with respect to PHP's default behavior.& y& R. [& N" b# u) f% i% f/ m  d
  93. ; Please see the actual settings later in the document for more details as to why- z5 ?- l& l9 |7 K
  94. ; we recommend these changes in PHP's behavior.
      x% m8 d% G6 ]
  95. 9 j% n8 l, o% o* |4 I- G
  96. ; display_errors
    * N- j$ ]% t  t( X
  97. ;   Default Value: On+ i+ @* Q4 F, f4 f" O0 W
  98. ;   Development Value: On
    9 @' M8 t2 {) ~- B
  99. ;   Production Value: Off
    , ?4 B4 I6 n- Z& b, ]6 _* i
  100. 6 O$ F. W0 T' t0 u! s
  101. ; display_startup_errors4 j  K1 F2 z) \% X6 R
  102. ;   Default Value: Off
    2 H5 I" T! g& w5 t3 u
  103. ;   Development Value: On
    - |9 m8 Z+ a8 D/ w- S* |6 r
  104. ;   Production Value: Off* s9 i# z' U2 ]( ?" ]  a* r: M# a

  105. - C& ~9 j9 d. D7 g6 @
  106. ; error_reporting
    3 W: t0 R5 i" ?
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 |4 u/ T/ U* C1 r4 S
  108. ;   Development Value: E_ALL
    ( z8 M. ?$ j! l0 s1 l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 ?5 Q5 s* o3 E- J6 q
  110. 7 }5 A  t/ e) O! U/ P
  111. ; html_errors$ j% y$ r$ |7 \% N4 k
  112. ;   Default Value: On- R7 H4 P/ x- f' r4 u  n
  113. ;   Development Value: On
    8 I0 }9 {; J+ K8 R( c8 U! q- v0 S
  114. ;   Production value: On1 j! |* s- V2 h

  115. % A9 b9 j. }, b* c
  116. ; log_errors
    + A9 o; c- v4 w4 _* G; |1 S* A0 Q
  117. ;   Default Value: Off: g% n+ n7 O0 R  I$ M
  118. ;   Development Value: On1 ^) v8 A- x, W4 N9 f
  119. ;   Production Value: On  j7 l7 y2 J% K% U
  120. 2 X4 @; }) i& ]# x
  121. ; max_input_time
    & @7 D! [# l" T6 ]% H6 a, H( {
  122. ;   Default Value: -1 (Unlimited)# n4 z2 W4 o6 D  h2 a5 y4 U: W
  123. ;   Development Value: 60 (60 seconds)
    + g7 H$ d  u7 `/ B5 I. ]
  124. ;   Production Value: 60 (60 seconds)8 Z! v1 k$ A2 ~+ F. J

  125. 8 z9 q6 }! t  @- _$ Y
  126. ; output_buffering
    2 W) v: a* v! L" f# h! b. [
  127. ;   Default Value: Off
    2 d6 g2 v9 o4 T& }4 H
  128. ;   Development Value: 4096
      U9 C7 e" @. e+ L0 m  e
  129. ;   Production Value: 40963 j1 k; }9 K1 [: _& @; S
  130. ) ^; C; k8 x$ P0 D  [" t- |& n& F6 a4 U
  131. ; register_argc_argv
    2 o- D8 n* t0 c+ @
  132. ;   Default Value: On
    * E4 x  ]* |& R4 q, p2 Q: t0 k
  133. ;   Development Value: Off
    $ _: f' i, E. ], _
  134. ;   Production Value: Off
    9 D% V  Z% ^( O% S7 ]
  135. # n# N( U4 W- k- q
  136. ; request_order! V( v3 M2 \  O: @0 A' h
  137. ;   Default Value: None
    / ?& A" A) P. v* v- P( L/ m
  138. ;   Development Value: "GP"$ x2 J  P7 `0 ]* M
  139. ;   Production Value: "GP"; b5 d  u% M6 w# Y  j" ?! p
  140. ! @' E5 A9 c/ z* B+ k) v
  141. ; session.gc_divisor
    7 _9 z" ~* I9 B5 z8 k- @& A" ]6 t
  142. ;   Default Value: 100
    7 ^$ r. ^1 J$ d6 k* r
  143. ;   Development Value: 1000
      I% g9 h* o7 l3 H3 n
  144. ;   Production Value: 1000
      [. g- W0 P1 Q+ m

  145. 8 i  y& N# _: c8 w" k; b, R
  146. ; session.hash_bits_per_character# J3 E) _9 p4 n; Q: L- y# x
  147. ;   Default Value: 48 m) e7 p  r" H3 V) j; B& F
  148. ;   Development Value: 5% D( c/ Y9 q5 E+ P7 J: M3 e8 a# Y/ A
  149. ;   Production Value: 53 V3 k/ v3 m2 X; S
  150. - h( H* P6 H& W
  151. ; short_open_tag3 T6 ~0 s( `, R
  152. ;   Default Value: On) ]* ^7 x5 y$ ?6 j6 H
  153. ;   Development Value: Off  |7 P' e/ E* o
  154. ;   Production Value: Off
    7 ?' ^. T7 q( O3 F; z
  155. $ m8 [1 \! w0 _, r6 ^! V
  156. ; track_errors
    3 v" Y! I/ P0 n- }: E) a
  157. ;   Default Value: Off
    ' k" s0 ~! R/ j" f' M$ r% [. N! w
  158. ;   Development Value: On
    * w2 i7 E9 @: y1 s; e
  159. ;   Production Value: Off
    3 v+ U; P% j0 n" n9 y. C

  160. 6 D1 F; t2 Q. t) X
  161. ; url_rewriter.tags( n. n8 c+ c! \% O* ^, S
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    : ]4 @, \) R+ L$ @) p, s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " n+ \7 }. S9 D
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 z. T+ ?+ \5 h  G/ A$ j' q, v
  165. " S% Y% s* Z, c8 D" j
  166. ; variables_order
      a1 U/ a8 S# v! |8 H$ [
  167. ;   Default Value: "EGPCS"3 y, J& @* W  V# ^
  168. ;   Development Value: "GPCS"
    3 Y/ ~0 F1 q* w8 f7 @4 f
  169. ;   Production Value: "GPCS"7 m& |) b) h2 E# p1 o; A# l1 [8 u

  170. & U; G( W' P% L5 l
  171. ;;;;;;;;;;;;;;;;;;;;
    , g4 B) P! [3 }
  172. ; php.ini Options  ;0 O, b; ^+ z% J+ ?* M! ~  |
  173. ;;;;;;;;;;;;;;;;;;;;" s& o. b0 C# o- }4 O
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    8 Q7 S8 B( a! |5 u
  175. ;user_ini.filename = ".user.ini"' a) O5 G6 _+ Q6 C# B
  176. & z' q" ?4 m% r' I- I: P; z
  177. ; To disable this feature set this option to empty value
    # k( H1 o; ^7 u/ X, |
  178. ;user_ini.filename =7 b; v7 N- h) X1 U
  179. , \3 k4 C6 ^0 j8 W* W3 [
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 T# R: {, p: U* I1 I
  181. ;user_ini.cache_ttl = 300, Q! ^+ p5 K8 e% p, g2 Y* R! n- v( U9 l

  182. 2 }& o' p1 B7 _+ [5 b' e
  183. ;;;;;;;;;;;;;;;;;;;;: K4 U+ ~0 M- M1 }: R
  184. ; Language Options ;$ t+ m4 s4 y$ T9 n  n
  185. ;;;;;;;;;;;;;;;;;;;;! V, I9 Y/ \' ]
  186. , d+ r- j1 r* N! G1 U
  187. ; Enable the PHP scripting language engine under Apache.
    : G! f% J1 D( ~7 G% r9 z
  188. ; http://php.net/engine3 ^5 J6 C+ j& l: z: W
  189. engine = On0 u' ^' J. s9 A4 G+ f" Z$ D1 b
  190. 9 i# P- s3 J  p6 N4 N! x
  191. ; This directive determines whether or not PHP will recognize code between
    9 K  S- {2 Q! }  {2 _% G7 l
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ o0 c% h% z6 p5 i$ @. B- g
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 A1 D7 C1 S' A. e  r7 k) J
  194. ; should be disabled, as enabling it may result in issues when generating XML4 h1 e6 @% s+ T$ m
  195. ; documents, however this remains supported for backward compatibility reasons.
    4 D! D9 A& H; A
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - U1 R6 h+ J5 {+ Z/ U
  197. ; used regardless of this directive.% g2 ?2 \1 W8 d5 n
  198. ; Default Value: On
    - d1 V. c2 v" q* n* n  ~% c# F
  199. ; Development Value: Off3 ?2 N8 g- r( T% e+ B' w" C
  200. ; Production Value: Off
    & s/ y2 z1 ]% w' a
  201. ; http://php.net/short-open-tag
    8 L$ O, l2 d+ L% X
  202. short_open_tag = On6 N1 `- ?. l0 G0 D# A

  203. ' C* i. u4 E& L
  204. ; The number of significant digits displayed in floating point numbers.
    , \) |$ ^6 ]% e  u
  205. ; http://php.net/precision
    - \' W5 j/ d( ^7 [
  206. precision = 14
    8 m# U9 q4 Z+ b1 Z% R: J7 H$ I! i/ ~

  207. . _# a& r' p/ H9 N
  208. ; Output buffering is a mechanism for controlling how much output data
    9 X$ v# L1 K1 E( w. ?7 e6 w
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    . l5 a7 _$ Q. U
  210. ; data to the client. If your application's output exceeds this setting, PHP
    6 L0 I3 S7 Q& a2 L1 k6 @
  211. ; will send that data in chunks of roughly the size you specify.9 i1 o! v' X+ [" I% J0 D
  212. ; Turning on this setting and managing its maximum buffer size can yield some+ J- J+ m  O& P# o
  213. ; interesting side-effects depending on your application and web server.
    , |! k; g. l- v% D+ O
  214. ; You may be able to send headers and cookies after you've already sent output7 D! m1 S2 I8 c2 a! A/ r. |
  215. ; through print or echo. You also may see performance benefits if your server is5 t  Z; w: t: F, R9 x
  216. ; emitting less packets due to buffered output versus PHP streaming the output, W  i7 K0 ?+ L( a. B
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    " C- c8 X) f+ D; @7 g* S
  218. ; reasons.
    ) P9 A: K% ]+ S
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    4 @% T* H! Q" c' E# e0 `
  220. ;   functions.: |+ ^# d: C" q$ P; `# o7 ]
  221. ; Possible Values:* o' o1 h& O4 _- x/ w
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)% F; w* O4 F' l3 H
  223. ;   Off = Disabled
    3 ]5 `( t; y4 K$ [
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 Z3 ~  p: w! i# i0 ]& V& V+ }  G
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; ]0 ]3 T8 \1 |. H/ W
  226. ; Default Value: Off
    ( i$ K$ G) n, K& Y
  227. ; Development Value: 4096
    ! G! f* G! F# w+ @8 N' E+ W' c
  228. ; Production Value: 4096
    8 l4 c& v4 g; m6 J1 e
  229. ; http://php.net/output-buffering4 d7 C5 f( ]9 r& `. \$ B, ?* ^1 p
  230. output_buffering = 4096
    4 m6 m( e: k6 k! \, W: L

  231. 4 ~" n: X6 a$ g3 m# y3 p0 \- D
  232. ; You can redirect all of the output of your scripts to a function.  For8 y2 v% I; `9 b" ]  z# W: G' W
  233. ; example, if you set output_handler to "mb_output_handler", character! ~! \# g, [! X" j
  234. ; encoding will be transparently converted to the specified encoding.2 c- n! T, }4 N
  235. ; Setting any output handler automatically turns on output buffering.( [! `) B% L% G4 |4 G
  236. ; Note: People who wrote portable scripts should not depend on this ini
    # r: M4 `5 {+ x" |( G# N& L
  237. ;   directive. Instead, explicitly set the output handler using ob_start().! i- I( D% {2 ]- T5 v0 C
  238. ;   Using this ini directive may cause problems unless you know what script
    + e0 x5 I& d" q
  239. ;   is doing.
    $ k% l& O! e- C# Q& }/ \! n
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"9 i) b8 ?/ Q& g* M! N
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 j0 `: i" {+ B4 X; f" l1 l
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    & E; o1 E4 w9 U" f5 y; ?0 M
  243. ;   Instead you must use zlib.output_handler.6 Z  ~! A7 Q2 ~8 h0 A
  244. ; http://php.net/output-handler
    - K$ i0 F: e; _
  245. ;output_handler =  v% H' c: O$ ?5 s# I
  246. / r0 ~& y+ P7 w# t& U
  247. ; Transparent output compression using the zlib library
    / `; X2 E  y9 r
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size6 B# b2 u2 a/ }: c9 O- y
  249. ; to be used for compression (default is 4KB)
    . s8 o1 J  j: F7 _* @5 I$ I! _
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP4 o3 [" }% N0 E# Y! z  i9 P
  251. ;   outputs chunks that are few hundreds bytes each as a result of0 c/ e, U$ J! }, ^" F7 X
  252. ;   compression. If you prefer a larger chunk size for better& |3 h5 r' I% q1 |7 t% d. f8 A
  253. ;   performance, enable output_buffering in addition." Q) F, ^9 h( c7 Q4 o) S" S
  254. ; Note: You need to use zlib.output_handler instead of the standard
    ) o' ^/ m0 g6 q5 w# o+ x
  255. ;   output_handler, or otherwise the output will be corrupted.) ?; G: H  w( O/ j" ~/ C
  256. ; http://php.net/zlib.output-compression% ]3 \$ _) {: a7 f3 ?
  257. zlib.output_compression = Off. j, S' u4 A+ l9 s: ~
  258. " R% {2 W0 t5 y  T- J+ N2 S2 \" W6 o
  259. ; http://php.net/zlib.output-compression-level
    3 E: Z0 K- e7 E4 D& a# W! o) ^
  260. ;zlib.output_compression_level = -1
    $ a; E  @$ e1 Y6 `  c
  261. 1 i( B# k# y7 m) Z7 a
  262. ; You cannot specify additional output handlers if zlib.output_compression
    , l$ |" |  X8 W
  263. ; is activated here. This setting does the same as output_handler but in
    5 x6 Y" M, ?$ P0 ^
  264. ; a different order.0 I2 M) {) L, A7 |1 o
  265. ; http://php.net/zlib.output-handler2 r* d/ Q+ [4 u3 C# d3 _8 _; j
  266. ;zlib.output_handler =; A+ Z: o8 N+ V$ ^3 J# f8 t
  267. 9 i/ `1 F- C: D
  268. ; Implicit flush tells PHP to tell the output layer to flush itself5 ~0 ?/ m4 z! C# X- U, t8 ~9 |( ~
  269. ; automatically after every output block.  This is equivalent to calling the
    . v2 O1 F2 U. B/ H( S& L
  270. ; PHP function flush() after each and every call to print() or echo() and each
    $ C) k4 J) y' J
  271. ; and every HTML block.  Turning this option on has serious performance4 U: K6 @+ u9 f. l
  272. ; implications and is generally recommended for debugging purposes only.
    " h5 k4 j; f1 z
  273. ; http://php.net/implicit-flush8 Z& u) D" d, X: x. x
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    % T2 f+ g4 P) `
  275. implicit_flush = Off
    ( T  A( {( Q8 n9 T

  276. 5 T3 ^* o* O" p
  277. ; The unserialize callback function will be called (with the undefined class'- n8 {5 P2 p3 Q6 x8 F3 t* o8 T2 a6 m
  278. ; name as parameter), if the unserializer finds an undefined class
    0 t# M/ U. ]% c
  279. ; which should be instantiated. A warning appears if the specified function is
    3 z5 Q  O% `, ?( \9 @
  280. ; not defined, or if the function doesn't include/implement the missing class.
    % X. f* u' E+ B* w1 [4 N
  281. ; So only set this entry, if you really want to implement such a( U. M$ x6 x# c0 k# N& Q8 `
  282. ; callback-function.
    ) I6 b/ W. w2 S. g+ |5 x, |
  283. unserialize_callback_func =
    # C6 H. M5 |8 S6 S3 {8 s

  284. 3 N6 S0 `1 F; U* I# K
  285. ; When floats & doubles are serialized store serialize_precision significant
    1 o; ?( M+ D# s4 K
  286. ; digits after the floating point. The default value ensures that when floats
    1 M: o7 Z+ d) T6 `
  287. ; are decoded with unserialize, the data will remain the same.
    $ A1 ]7 V2 l( O7 N" m
  288. serialize_precision = 17# |8 G) c7 x1 }3 W7 k9 W

  289. 5 [( n' Z# Y  a' R) ^
  290. ; open_basedir, if set, limits all file operations to the defined directory
    0 I5 ~2 n9 E/ t
  291. ; and below.  This directive makes most sense if used in a per-directory2 L0 J/ G6 ]- H
  292. ; or per-virtualhost web server configuration file.. ~' m1 |/ t4 r' a5 v
  293. ; http://php.net/open-basedir2 M: H- S! W5 E" p+ `
  294. ;open_basedir =
    8 p1 L1 y+ K+ l, u. s5 ?9 c
  295. 7 _2 |3 d9 \4 T$ X" v
  296. ; This directive allows you to disable certain functions for security reasons.
    " K, k* \. o3 B9 H$ N
  297. ; It receives a comma-delimited list of function names.
      U6 J6 o+ g6 R3 W( {, s9 B2 C- k
  298. ; http://php.net/disable-functions( O& p, ]+ ^- W) t! R
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; D  i$ H5 i' K8 T4 A% P) U

  300. + u) l; s3 g# H3 J
  301. ; This directive allows you to disable certain classes for security reasons.3 U( Z+ V7 e  A- {+ ^) X
  302. ; It receives a comma-delimited list of class names.. ]* T6 _  i) ^+ D* y
  303. ; http://php.net/disable-classes# j2 L9 a9 T. J
  304. disable_classes =
    + w+ f0 y5 R8 S, F: ~
  305. ) x$ o. v' q* I
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / t# l# ?; e0 Z% o+ e" U/ y
  307. ; <span style="color: ???????"> would work.
    7 v; k4 d# V0 E6 D/ B) l  y& n
  308. ; http://php.net/syntax-highlighting
    + s% ~- ^! \; g6 B  u
  309. ;highlight.string  = #DD0000
    ' D$ }5 t6 i, R- U( V
  310. ;highlight.comment = #FF9900
    ' }1 }; ]* m/ i7 s9 q7 t
  311. ;highlight.keyword = #007700$ B6 _* x! d* m2 w& Q
  312. ;highlight.default = #0000BB  k" Q$ t% X: Z2 ]/ z: H
  313. ;highlight.html    = #000000- P: Q, C  t; j, S$ x0 t+ ?) g
  314. " y! u' w) x/ w8 }9 q/ |
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    0 A: H6 f- C* C  n0 y; @- Y' h
  316. ; the request. Consider enabling it if executing long requests, which may end up
    2 y! n" m7 z/ \3 O! ]1 Y5 @1 ?
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior8 P# _1 N# I. F( a  m
  318. ; is to disable this feature.
    ) Z. m' n' W4 F" B
  319. ; http://php.net/ignore-user-abort
    ; C  a/ S8 @; [7 a+ W0 ^3 E2 d, L2 u: \, N
  320. ;ignore_user_abort = On
    + j4 q3 J$ l7 @

  321. # G. p, ~6 |' U5 b6 B! a( j
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    # U8 T0 y9 F, @6 S  A6 A
  323. ; be increased on systems where PHP opens many files to reflect the quantity of: s4 ]" K$ W7 X: a0 B
  324. ; the file operations performed.8 {. s, x4 l; D- `6 L/ K4 p% ~
  325. ; http://php.net/realpath-cache-size. T' C* ]  S$ B" v' I: q  b  H
  326. ;realpath_cache_size = 4096k
    5 |* z. m& z. o7 U# |4 C" [6 q( N; F
  327. 7 C# ]4 }1 M; W9 V; J: w3 j
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    : q/ {/ o1 E' ]) V# m
  329. ; file or directory. For systems with rarely changing files, consider increasing this! i' q# @; Y7 X  A
  330. ; value.
    + K. t2 T7 {  T4 m
  331. ; http://php.net/realpath-cache-ttl7 G8 e4 `6 R9 j1 P7 D
  332. ;realpath_cache_ttl = 1207 a5 F5 R2 C3 y
  333. $ R0 t8 f: f  N1 X0 H0 \
  334. ; Enables or disables the circular reference collector.9 H/ J# G2 e* E( m! D1 \( N
  335. ; http://php.net/zend.enable-gc
    + [# ]8 h2 `+ B* j' B" a3 J; [% _
  336. zend.enable_gc = On; T. |% J* f; E

  337. ) Y& J$ |7 x& ~2 z7 B% t! J
  338. ; If enabled, scripts may be written in encodings that are incompatible with" J, w8 `1 M: y7 Y
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ' y9 ~3 G" @8 R2 ~
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
      H; P' I3 n2 b. [( F1 T. ~. l
  341. ; Default: Off
    1 _! \5 J7 a+ |; r
  342. ;zend.multibyte = Off
    ' q/ K. h. U8 h
  343. + \/ c! L! ^) ^' H. i
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ( I1 @* w. t8 G* @0 L7 \6 o
  345. ; unless "declare(encoding=...)" directive appears at the top of the script./ p( ]$ c& @, D7 y9 w) P1 s+ f+ [
  346. ; Only affects if zend.multibyte is set.6 \" R. A' p0 Z! T) S
  347. ; Default: "": F/ @& z$ p: x7 b! P& I
  348. ;zend.script_encoding =) T7 O9 z9 P- i& z" T
  349. - I* N& Q, W* b3 E$ H0 \
  350. ;;;;;;;;;;;;;;;;;
    ( b) |* P  x$ u4 B
  351. ; Miscellaneous ;
    1 C0 S  P  R4 q0 u- J+ l  s) k
  352. ;;;;;;;;;;;;;;;;;
      X6 }6 y. q' x7 \- r

  353. - i6 y/ E+ P5 S6 I- C
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    1 ^6 O5 g( m- m/ q) T3 j/ W4 }
  355. ; (e.g. by adding its signature to the Web server header).  It is no security  u& I, Z  o  ^
  356. ; threat in any way, but it makes it possible to determine whether you use PHP, `' Z3 t- j. C* J, u
  357. ; on your server or not.
      v% W) `5 V' W) d" |  Z2 P
  358. ; http://php.net/expose-php" Q. n' H1 A' s4 a
  359. expose_php = On1 r! p' y3 f- p* M) C
  360. 3 w2 v3 `3 y) b, V5 b
  361. ;;;;;;;;;;;;;;;;;;;
    6 I' U# e. t& `3 C: \. Z/ I
  362. ; Resource Limits ;- n5 C+ Z7 d/ d3 p- a0 s
  363. ;;;;;;;;;;;;;;;;;;;
    - ?  a0 [; S" E0 [5 H1 C0 `$ i
  364. 4 m" `! a3 M8 S% F5 y; F- W
  365. ; Maximum execution time of each script, in seconds6 h" u. F% Y% U1 E/ r
  366. ; http://php.net/max-execution-time9 N5 `) C9 `8 D9 k+ e
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    " M: b3 T* h3 ^% Y( m- Z
  368. max_execution_time = 300
    9 v1 G" ~  Z: g* R) p
  369. 8 j5 N% b: Y: y4 F/ {9 F
  370. ; Maximum amount of time each script may spend parsing request data. It's a good) Z; N1 a4 E1 {  N% e& Y
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    2 I( m! O( l& D2 ]. X3 E7 |, T- A
  372. ; long running scripts.
    * {, V' }4 D4 I4 q
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    9 `0 |$ W7 u+ g! A8 w( B8 G5 ?
  374. ; Default Value: -1 (Unlimited)
    : e9 a3 Q# O$ B
  375. ; Development Value: 60 (60 seconds)
    + ]; o- x+ U1 w+ f
  376. ; Production Value: 60 (60 seconds)
    9 a5 ?# J) ?6 `6 y+ z6 D( M
  377. ; http://php.net/max-input-time  I/ @& k8 X3 c1 O' V
  378. max_input_time = 60
    ; A7 @3 G7 ~  D9 @8 Z4 p
  379. % @- o  w0 B5 }, T
  380. ; Maximum input variable nesting level
    $ b/ ^- s$ U2 z% W& ]* S4 l2 w
  381. ; http://php.net/max-input-nesting-level1 Y- `/ `5 a3 Z& @8 O4 A
  382. ;max_input_nesting_level = 64
    : Z' W1 S, ]# i7 s. R

  383. & [# M" n6 F  `: n! Y9 B) E) W
  384. ; How many GET/POST/COOKIE input variables may be accepted$ R; |: c- c: ]! F, P
  385. ; max_input_vars = 1000. \. A+ d. ]' p5 ~

  386. 2 z8 {* Y4 h* l- g
  387. ; Maximum amount of memory a script may consume (128MB)
    ' [; R, B8 J0 t" t. Z
  388. ; http://php.net/memory-limit
    ! n+ j  _8 b$ g" U8 R
  389. memory_limit = 128M+ y* L, m+ \$ t/ S- N! y3 O9 p
  390. , c- p( E/ |0 v4 F$ |& W% M
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 _) Z3 b# \, t8 F8 @. a: s
  392. ; Error handling and logging ;
    ) o2 c: O* a3 K+ m& E# M' K
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# _& Q% Y& x3 y8 C

  394. - O5 F+ |. |4 j4 v+ H1 A+ |$ }
  395. ; This directive informs PHP of which errors, warnings and notices you would like% `* R$ D7 @( T( U  n
  396. ; it to take action for. The recommended way of setting values for this
    ) ?/ |0 M. K% ]! u; x; I6 E
  397. ; directive is through the use of the error level constants and bitwise+ [) A* t* |+ `9 B3 m$ Q8 R0 H! {9 H
  398. ; operators. The error level constants are below here for convenience as well as
    " M6 ]; x" s8 B+ r, Y, ~- A9 ]
  399. ; some common settings and their meanings.2 c5 L# W! A2 R5 w! `
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT) j7 ~' N* ~$ D0 O2 t) n
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" l. `9 c$ {5 S8 W5 H* |
  402. ; recommended coding standards in PHP. For performance reasons, this is the. }9 _$ l( U" s0 X) Q0 c0 S7 c
  403. ; recommend error reporting setting. Your production server shouldn't be wasting2 l  `2 l3 U& F% d& _+ {
  404. ; resources complaining about best practices and coding standards. That's what% g5 s' H! |; {  E. _& c
  405. ; development servers and development settings are for.0 G# N( B& J; R6 A7 x7 i$ Z
  406. ; Note: The php.ini-development file has this setting as E_ALL. This; Y9 M% `3 t! j+ f  f* c. u% v
  407. ; means it pretty much reports everything which is exactly what you want during: P' D8 W# ~& l/ I7 C
  408. ; development and early testing.* d( k6 c6 x0 Y0 m& y4 t. D
  409. ;
    7 d6 ]% z0 F* s7 h7 o, B, c- x
  410. ; Error Level Constants:9 n" [0 k: R$ R; P( q: b, C$ X8 T
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    9 e1 }/ I& y( a* O4 ?
  412. ; E_ERROR           - fatal run-time errors
    0 T2 x" c- t3 l  n* d6 d9 w2 ~+ i
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors& T$ n  [( z+ ~! u, S
  414. ; E_WARNING         - run-time warnings (non-fatal errors). J% {# r' Q6 k6 v/ d) ]* z
  415. ; E_PARSE           - compile-time parse errors# f0 l$ Q, J( A! W1 L: [/ H
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    6 \7 X2 r" m2 k. T! V
  417. ;                     from a bug in your code, but it's possible that it was) b. z& J6 z* o6 `
  418. ;                     intentional (e.g., using an uninitialized variable and& L/ e# b7 z" l1 @
  419. ;                     relying on the fact it is automatically initialized to an# A  V7 {* g2 \; n
  420. ;                     empty string)
    5 }% P6 I3 W4 q9 e+ d2 Z. \2 K7 n
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) ~, I9 O1 B3 v, L2 |
  422. ;                     to your code which will ensure the best interoperability5 a8 a% r% Z. K$ X0 ?9 l% t1 l  F; w
  423. ;                     and forward compatibility of your code
    8 t/ y" \9 k) T- B
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup) ^8 p" l; E7 n: i
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's9 [! X1 v2 p! L6 i1 F5 s
  426. ;                     initial startup
    & ^  C% {/ o5 f* ]- ~0 R3 ]
  427. ; E_COMPILE_ERROR   - fatal compile-time errors0 N: V, g; c7 [& C' O$ Y- e
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    : H) T6 O- p% |9 q# a) o3 Y
  429. ; E_USER_ERROR      - user-generated error message
    5 p' C) Q" V- M3 }- c
  430. ; E_USER_WARNING    - user-generated warning message) [+ H% s" {6 N4 _2 }; m
  431. ; E_USER_NOTICE     - user-generated notice message" e: ~- _) P( t8 i# o- i# Y* B/ e/ X9 z3 B
  432. ; E_DEPRECATED      - warn about code that will not work in future versions0 Q) l; ?6 C9 v6 B( C0 C. U
  433. ;                     of PHP
    - e) K2 B$ t$ p3 c
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    6 f/ C  [" q) R0 }
  435. ;
    8 S4 a+ `% N* |; ?$ P
  436. ; Common Values:
    , A6 z" L, e' |; e- d
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    # N& f2 u: F, K2 @
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' v1 |" B! o% ~9 g( x' b: f
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    7 q2 E8 j5 x7 u. [2 \
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    4 t5 O+ s+ u0 q9 j
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : N! O+ c% r% L# r4 t1 u" D
  442. ; Development Value: E_ALL( L* C4 Q. k, b
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 [; u& S3 `3 C, C7 H# R% I$ H& D" F/ W  _
  444. ; http://php.net/error-reporting
    ; I( z. b# L! l2 L- M4 a8 K
  445. error_reporting = E_ALL & ~E_NOTICE
    0 \" _, K9 ^/ N0 y
  446. ! a4 |) a( Y' q6 h6 G
  447. ; This directive controls whether or not and where PHP will output errors,
    5 E3 m+ q* f: \, \
  448. ; notices and warnings too. Error output is very useful during development, but
    ! q2 W1 V9 Q  @3 ?
  449. ; it could be very dangerous in production environments. Depending on the code* F' C4 ~' r/ i6 j. {/ L
  450. ; which is triggering the error, sensitive information could potentially leak( o( ^' Q* I2 v* A) \. S
  451. ; out of your application such as database usernames and passwords or worse.
    1 i% j* @% z) }6 c1 Y# M1 `$ H
  452. ; For production environments, we recommend logging errors rather than
    $ ]: a5 n# e* _$ M* c
  453. ; sending them to STDOUT.
    2 n' j) ^$ F3 @' D- a
  454. ; Possible Values:
    9 w! d/ ?1 v! |( R# J5 Y) x6 g
  455. ;   Off = Do not display any errors
    ; {0 F, }1 y% [! _
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!), c+ j; ]1 M3 g9 h, L! H
  457. ;   On or stdout = Display errors to STDOUT
    4 @6 i0 v2 y, {8 [  Q
  458. ; Default Value: On
    - y9 \: N. N. `4 m: _, {' @
  459. ; Development Value: On! ?  O( c. a- B) |% a5 S& _
  460. ; Production Value: Off
    , A& y3 Q1 `; x% y( v/ j
  461. ; http://php.net/display-errors
    5 I7 d  l7 L" L6 S* J8 j. h
  462. display_errors = On
    + `. O& h$ w# b) a- Y! W
  463. ; u& [* H- A- W% t
  464. ; The display of errors which occur during PHP's startup sequence are handled
    , t3 }- V9 y4 f* ]* i/ C$ I- B& m
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    - t3 X+ E% b' `$ v
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ' `( }4 U# w$ \# ~' l7 ~2 H5 V
  467. ; debugging configuration problems. We strongly recommend you
    ; i1 O$ c$ E4 _) ~
  468. ; set this to 'off' for production servers.
    . ^+ L) y3 F9 U" W+ l5 \
  469. ; Default Value: Off
    - T* ?9 g3 G5 X: i2 Z& r
  470. ; Development Value: On
    8 J$ K- U) O0 |7 c* Z$ s; x
  471. ; Production Value: Off' g* K- i& t! g+ d% I
  472. ; http://php.net/display-startup-errors
    $ e3 ]1 h9 ]; \- b) D' G
  473. display_startup_errors = Off
    + Y2 u# T6 t* B. a
  474. 1 ?9 |- H! k9 L$ U9 J
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
      D) E# r4 m- D  T
  476. ; server-specific log, STDERR, or a location specified by the error_log
    3 r0 c1 Y1 _9 F( M
  477. ; directive found below. While errors should not be displayed on productions$ k, r; L- D# Y. @. T- T+ D% p
  478. ; servers they should still be monitored and logging is a great way to do that.
    ' ?* U# d0 N) h5 o% K; G) m
  479. ; Default Value: Off
    1 o+ @* j6 l, U
  480. ; Development Value: On
    2 j1 R) o5 j% Q% h1 Q8 |+ a$ ~
  481. ; Production Value: On
    + }; F1 G9 Z# W- i9 ^% U; e1 J( U
  482. ; http://php.net/log-errors
    / a& t; w1 `. F9 n
  483. log_errors = On4 u/ i9 u$ ]4 {$ C

  484. + Y8 c( n6 A3 l& z7 ?
  485. ; Set maximum length of log_errors. In error_log information about the source is. J3 K. `1 z' w) f/ H$ b
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 d5 _. w. P2 C: D, o
  487. ; http://php.net/log-errors-max-len2 m2 U7 [0 v& `+ ~" `
  488. log_errors_max_len = 1024$ ]' _8 g. p7 B

  489. , n$ A6 A$ b  E
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    3 O# w1 H, @1 M$ l, |% N- @& |
  491. ; line unless ignore_repeated_source is set true.
    6 c2 M. V0 z- `; s/ Y5 m% r; t  |
  492. ; http://php.net/ignore-repeated-errors! d  r) S- t# K1 o7 {7 i
  493. ignore_repeated_errors = Off
    4 Y* ]  V+ N* J' G8 K8 D' K

  494. 2 t5 x; A6 U8 @: C6 ~1 L$ c
  495. ; Ignore source of message when ignoring repeated messages. When this setting! L" f4 s, F! K& p
  496. ; is On you will not log errors with repeated messages from different files or& h- f+ B' p  _2 \, \( w
  497. ; source lines.  h; ~; F9 {( B# W; g& }  e! ?) J
  498. ; http://php.net/ignore-repeated-source
    9 m9 C9 b1 I' ?0 k( r3 U  s
  499. ignore_repeated_source = Off7 P& K9 }% O/ K2 Q* ~

  500. & v( O: g% s2 Y: \% {. r
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " b, Y" D9 `/ X# O% g7 L# I
  502. ; stdout or in the log). This has only effect in a debug compile, and if8 M$ r* E3 [: [
  503. ; error reporting includes E_WARNING in the allowed list
      S/ Z& A5 W! }" n
  504. ; http://php.net/report-memleaks+ }6 S6 ]8 D+ E% Z
  505. report_memleaks = On
    1 t) I) h8 \! n9 s, s7 O/ u/ L, _
  506. ; x% Z# I* S% N2 P# ^
  507. ; This setting is on by default.9 H  z+ E2 \2 G3 M
  508. ;report_zend_debug = 0  U+ P) J8 W2 s" j/ x* P

  509. % K# J* v* a7 x, e
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    7 @  O) v- Z, k
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ( ~, m- @3 [5 X' Z
  512. ; however be disabled on production servers.: }; O/ f' x1 I# R
  513. ; Default Value: Off
    0 |; K: w' h9 c8 S
  514. ; Development Value: On" _4 \& c2 G8 x$ Q+ R. u% f) R3 s
  515. ; Production Value: Off
    . _/ f4 X( N/ M9 u& W
  516. ; http://php.net/track-errors
    5 S$ {, T% ^7 W8 m: H
  517. track_errors = Off$ r( Z0 Z4 |/ _9 |0 O7 @4 x  j
  518. ) Z5 Y* g4 W/ B5 z
  519. ; Turn off normal error reporting and emit XML-RPC error XML! v  m+ d+ V  |  a& f. @
  520. ; http://php.net/xmlrpc-errors
    ( o" \) E& u  f; S1 B6 p+ y
  521. ;xmlrpc_errors = 0: _! M! ]! M7 T3 g
  522. 0 v4 u5 |3 S) x" e, I# I! _
  523. ; An XML-RPC faultCode
    0 H3 U* `# r3 G, ~* z3 l$ S
  524. ;xmlrpc_error_number = 0/ S. I( \% }5 _3 z

  525. ' K0 S6 L. z8 P& B9 V' h
  526. ; When PHP displays or logs an error, it has the capability of formatting the" v9 o$ f# u6 u+ w5 V5 x
  527. ; error message as HTML for easier reading. This directive controls whether
    7 r) \: q$ @  q4 @
  528. ; the error message is formatted as HTML or not.
    + l" s7 @; {1 V$ f( ~' d
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * |" H; g! X+ D% Y+ U4 j
  530. ; Default Value: On4 N- V" x( H: U  q7 n3 x- B
  531. ; Development Value: On
    4 p" d0 ~( b# X5 W
  532. ; Production value: On# c+ m1 A1 \' U6 j
  533. ; http://php.net/html-errors2 O+ @7 O  d; U* C. t' ~
  534. html_errors = On
    ' M( d$ {; M6 I, Y/ U9 C
  535. $ o8 Q7 @: p8 Q5 R
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    * L4 m! x+ q  H( u
  537. ; produces clickable error messages that direct to a page describing the error
    4 l% ^& e1 ~9 [) }. N$ n. ?
  538. ; or function causing the error in detail.
    2 y$ t/ n7 b- b
  539. ; You can download a copy of the PHP manual from http://php.net/docs7 F6 J* m+ w5 Y) M
  540. ; and change docref_root to the base URL of your local copy including the
    2 r: c/ l! t4 U" m
  541. ; leading '/'. You must also specify the file extension being used including
    6 i& O7 P/ x: I& m  |6 a5 U
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which! O% q6 Z: t6 j5 F* U
  543. ; case no links to documentation are generated.5 ?  [- c. P3 K4 z! F. C/ f: v4 W
  544. ; Note: Never use this feature for production boxes.7 V+ I* ^9 R" x
  545. ; http://php.net/docref-root
    " t+ @* ~7 t& i9 T) }
  546. ; Examples
    5 A- L) W7 l( g. e  p# p% u
  547. ;docref_root = "/phpmanual/"
    ' D, f: w- I  N1 m% i' [

  548. 7 J0 _* w# j9 b1 ?' t! B
  549. ; http://php.net/docref-ext
    $ j% c$ G1 _- Q( z8 i/ h
  550. ;docref_ext = .html
    ; v9 L7 s" n, E& s
  551. 5 t. m- G& u) o
  552. ; String to output before an error message. PHP's default behavior is to leave
    " Z7 E. g3 C1 h8 U
  553. ; this setting blank.
    4 W1 F# m7 s* m1 n* E
  554. ; http://php.net/error-prepend-string7 S* E* s% E0 }. f2 n- ^
  555. ; Example:0 h+ Y& z- H+ u3 l/ ^% }. S$ G7 y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"; V0 _$ ^! p* v* X2 Z/ P0 V; M

  557. - m2 a5 i1 l2 m
  558. ; String to output after an error message. PHP's default behavior is to leave) h' j. O7 {- [' w
  559. ; this setting blank.
    ' K5 r: ^/ b+ o" O
  560. ; http://php.net/error-append-string# `8 e  k3 M. r- Z9 z+ N) h9 d8 o
  561. ; Example:: k; n1 e9 v( F8 B. A
  562. ;error_append_string = "</span>"% A4 R# s# c& O4 E- F. }6 a; A* V/ q
  563. " v7 Y7 ^0 S$ @1 C$ r7 x  H) v/ Q
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ) j) c$ a9 k( p
  565. ; empty.
    7 M) \, W- b9 M  K
  566. ; http://php.net/error-log) L# @# r/ q* T3 j5 }7 d' e
  567. ; Example:8 J5 G: d# U( e% c4 I6 Q0 w
  568. ;error_log = php_errors.log8 Z7 W- b( u, S  Y& @) v2 y* W
  569. ; Log errors to syslog (Event Log on Windows).8 V$ H, F6 p0 g" z
  570. ;error_log = syslog7 U: s( s  `, R+ Y( Y
  571. 4 K& k- v$ u' g2 a# F
  572. ;windows.show_crt_warning
    0 o* A7 ~1 g1 l% W4 Y# u
  573. ; Default value: 0- I, a; `) v  K: a+ v
  574. ; Development value: 07 J7 R( d$ M/ Y/ b' U$ [
  575. ; Production value: 01 y& T5 Y& Z+ n
  576. 7 Y% R4 C5 ^! a' `
  577. ;;;;;;;;;;;;;;;;;2 K, f3 I% E3 k& {
  578. ; Data Handling ;; O% u$ G4 c* h- q! m+ N1 ^" W
  579. ;;;;;;;;;;;;;;;;;7 N, P( F0 u) N1 a: [
  580. & j$ ^+ }+ @4 {, \2 |0 e& a3 W8 u
  581. ; The separator used in PHP generated URLs to separate arguments.5 C1 L8 P; C' Q6 \
  582. ; PHP's default setting is "&".6 r8 t$ Z9 n3 ~# S( J: J5 ^# o1 w
  583. ; http://php.net/arg-separator.output/ V' G5 y" f: h# \* P  }/ b2 g+ D
  584. ; Example:9 g" \9 N3 i; ~* T6 T  x
  585. ;arg_separator.output = "&"" y$ {/ y! \: R% s& d
  586. 3 m; a3 r0 a' g
  587. ; List of separator(s) used by PHP to parse input URLs into variables.8 z0 [% U1 v1 V
  588. ; PHP's default setting is "&".( a1 T0 \* `* @) {. y
  589. ; NOTE: Every character in this directive is considered as separator!5 i1 q" h! H* n' c7 F8 `
  590. ; http://php.net/arg-separator.input$ N" P5 p% j/ v# l3 U  }# _& O& I
  591. ; Example:
    4 `9 E& H; m+ ?# G
  592. ;arg_separator.input = ";&"
    : p. R8 \7 R  r

  593. 0 Q; ~& _- V) l; R; t
  594. ; This directive determines which super global arrays are registered when PHP& R" D, l2 d1 t* H! T6 Z6 q: G/ c
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! g$ S1 p, n+ \1 a- F
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty/ E# A9 E2 e! t
  597. ; paid for the registration of these arrays and because ENV is not as commonly9 F+ Y& u' L; U. L4 |4 r. i
  598. ; used as the others, ENV is not recommended on productions servers. You
    7 s4 B0 ]0 U9 \% F* D9 [
  599. ; can still get access to the environment variables through getenv() should you* \1 y# F, K5 \! N
  600. ; need to.. \7 n& L2 e( @3 b- ~  [+ W2 ~
  601. ; Default Value: "EGPCS"
    2 {0 }9 V0 k% y+ L+ Q5 O
  602. ; Development Value: "GPCS"" F( F1 E! v4 E( \  D/ ^
  603. ; Production Value: "GPCS";
    0 }9 w- F/ r% y% R9 m
  604. ; http://php.net/variables-order
    9 ]$ L$ |- w5 o! k  c2 |7 \
  605. variables_order = "GPCS"
    # M+ q/ F$ u- n; e
  606. $ J  d! D# {: w! p
  607. ; This directive determines which super global data (G,P & C) should be' |' f% c) Q# W) R
  608. ; registered into the super global array REQUEST. If so, it also determines
    1 [: V  l9 O9 I
  609. ; the order in which that data is registered. The values for this directive
    4 v: _( W5 i2 p  H3 v  Y$ {. L% [
  610. ; are specified in the same manner as the variables_order directive,
    1 N  X* c8 v6 R# m
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    & h" ~. i4 O8 _0 W' ^
  612. ; in the variables_order directive. It does not mean it will leave the super
    3 q6 F% Y# }- W4 ?) q  o9 N5 O
  613. ; globals array REQUEST empty.; c& |4 M5 V5 w2 S" M! G4 r
  614. ; Default Value: None
      Y: W7 `# p3 r$ T3 N9 ]3 H
  615. ; Development Value: "GP"4 e7 _4 D+ [, u& @+ |3 x
  616. ; Production Value: "GP"
    5 e+ v! H3 Q% M3 T. {
  617. ; http://php.net/request-order8 ?3 y0 y* u7 D
  618. request_order = "GP", J' |, ?8 K* |7 f. A2 D8 _
  619. # e' O8 K2 ?, j. }% j& {
  620. ; This directive determines whether PHP registers $argv & $argc each time it
      s6 Y8 W# W; M- f1 U2 \
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) E7 e  h( ]% A, B% {# N; E' x
  622. ; is invoked. $argc contains an integer representing the number of arguments2 ~& r; p) h6 e- |; T( V
  623. ; that were passed when the script was invoked. These arrays are extremely( F, P+ a  d/ q: o
  624. ; useful when running scripts from the command line. When this directive is
    2 J; y; w: w- y4 m$ K5 S# J% }! G
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 ?; N3 d* s0 ^6 Q
  626. ; a script is executed. For performance reasons, this feature should be disabled: {$ O9 n* R' s
  627. ; on production servers.
    * o+ m! v& r) b' K
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 i; w. S( r7 G7 b+ ~" ?
  629. ; Default Value: On* x6 U) Y$ ~; ]+ l
  630. ; Development Value: Off
    2 \3 L+ e" z- ?3 x& i7 o
  631. ; Production Value: Off0 S' g0 V7 u! M- \  W" n$ @
  632. ; http://php.net/register-argc-argv" z# Y! X8 y( a  [4 \
  633. register_argc_argv = Off9 e* s/ y9 M4 e0 ?

  634. * \) s; m0 h3 E6 H! v2 v; v! L0 G
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' J8 [/ }4 W- Z
  636. ; first used (Just In Time) instead of when the script starts. If these
    8 m! S6 y  G$ L) e
  637. ; variables are not used within a script, having this directive on will result
    4 B) r& {/ q, V5 U5 Z
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ( M8 y/ g( M. `! J& a
  639. ; for this directive to have any affect.
    & P9 T5 h; I' E: x# C2 V' Y
  640. ; http://php.net/auto-globals-jit
      K3 |! @% f. p  j1 E
  641. auto_globals_jit = On6 M0 B2 \' D- e7 V" S

  642. & J: F" G. _/ ?( B3 {1 V; V/ k7 s# O
  643. ; Whether PHP will read the POST data.( Z4 a3 l  F% F3 A
  644. ; This option is enabled by default.2 L5 F: w, V9 ~2 D9 W, }
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST2 C6 Q5 ^4 D6 M- i3 \
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    " y( ?/ `) p" P8 G( A
  647. ; POST data will be through the php://input stream wrapper. This can be useful1 i/ l9 J; H$ e1 y
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; _* g! H& J" c* f  A
  649. ; http://php.net/enable-post-data-reading
    - v5 q% u, L# z8 f  l7 ?
  650. ;enable_post_data_reading = Off5 O& ^' S4 {# a% `" ~- M

  651. 3 i$ n# r# t% @. j6 o1 j2 C5 j
  652. ; Maximum size of POST data that PHP will accept.3 v( t2 _, S4 W: P: B6 x/ u; N
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    0 l" j$ [1 G; Z) P; c) G5 V
  654. ; is disabled through enable_post_data_reading.5 M& s- e* E# n
  655. ; http://php.net/post-max-size
    # D: _: ~$ g  ]1 K
  656. post_max_size = 50M) V1 {8 @% u& Y' y# @' d
  657. 8 C6 C# Y* G) B; X, x1 u
  658. ; Automatically add files before PHP document.
    8 j9 ~* i, e  J, c) u1 z
  659. ; http://php.net/auto-prepend-file
    , t6 d' W. f( U" k5 a7 {
  660. auto_prepend_file =
    3 I# }$ \9 y: w3 U8 [/ Q
  661. 5 J; y/ [" n* {- p0 |) f6 U
  662. ; Automatically add files after PHP document.
    # t) I3 w' I( V% }% z  S
  663. ; http://php.net/auto-append-file
    5 M. p" c- e0 ?
  664. auto_append_file =% k; A- T& Q# r, g

  665. 9 c1 a  r: m% c' f) `
  666. ; By default, PHP will output a media type using the Content-Type header. To2 a: Q& Z* X4 Q+ M( K
  667. ; disable this, simply set it to be empty.$ f3 Z0 m. q" n6 j# I3 _
  668. ;1 @7 V, V7 t! n/ n
  669. ; PHP's built-in default media type is set to text/html.1 ~1 x! d% J' m6 H/ l; g7 B6 g0 S
  670. ; http://php.net/default-mimetype+ v5 g7 r9 C" p" H
  671. default_mimetype = "text/html"
    ) Z, k. Y9 \& T) u* m# e8 J# ~

  672. 7 p! z( T5 ^8 L1 g& L( J
  673. ; PHP's default character set is set to UTF-8.
    ; I; ~; C# r& P. f* A
  674. ; http://php.net/default-charset( x/ H" G- k4 M+ i  D5 W
  675. default_charset = "UTF-8"
    2 E: b& z3 E2 m9 D

  676. 9 S( a' t9 W3 H3 U, Q* W
  677. ; PHP internal character encoding is set to empty.
    2 C2 ]2 E. t0 }9 l# }+ w2 |1 r1 X3 O
  678. ; If empty, default_charset is used.8 T  s% F, ]& P- ~/ J
  679. ; http://php.net/internal-encoding- G$ u( F2 O" W% o/ n* [; K
  680. ;internal_encoding =- B5 c/ ~$ {0 d- K  h

  681. 1 E) N8 T  a2 v; C- k" \- m
  682. ; PHP input character encoding is set to empty.
    % s5 f& B2 h& W" n
  683. ; If empty, default_charset is used.
    3 A3 M1 h0 B9 J; C" F, p# M
  684. ; http://php.net/input-encoding) l0 K! G1 z1 b3 F# Z6 e
  685. ;input_encoding =
    ; ]. {# u' \9 K1 o

  686. ( D( Y4 U! b. Q5 p- l
  687. ; PHP output character encoding is set to empty.
    - H" Z9 V# k. e# d- T
  688. ; If empty, default_charset is used.( y; g* R4 |0 Y9 B: N- c- J1 B
  689. ; See also output_buffer.
    9 e6 w5 l; }! h' j
  690. ; http://php.net/output-encoding. d0 R1 Q  M( S' w
  691. ;output_encoding =
    + f) z1 {  i  o, k+ Z% _8 Y- L4 a

  692. - p- {3 v& p' _1 _$ R6 R2 N9 |3 N
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;# y3 j  O0 l$ X% R" F
  694. ; Paths and Directories ;0 A5 k% Q, E2 j. E6 Q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 }9 c3 Y/ O3 m5 G; Q

  696. , ]3 d) {, P8 }' t6 s
  697. ; UNIX: "/path1:/path2"
    3 k$ G+ s8 E+ G0 t& N
  698. ;include_path = ".:/php/includes"
    ; r, U' ?3 p5 v  N3 H) O, B
  699. ;
    ! Y6 ]. \, `+ V! t+ n
  700. ; Windows: "\path1;\path2"5 N; {, `' d" I6 T
  701. ;include_path = ".;c:\php\includes"
    1 h" q" Y# y1 I- ]3 S: u
  702. ;
    1 G$ p+ C& Y: M* H2 Z, ?2 U
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( P! p" B  Y, a! U# {- W' n8 J
  704. ; http://php.net/include-path2 `3 G7 A% }' h3 S

  705. 6 Q  _  ^3 @6 J+ @
  706. ; The root of the PHP pages, used only if nonempty.
    7 Y' R" u& o3 c' x0 G
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root) @' n' [: w/ i  f1 U
  708. ; if you are running php as a CGI under any web server (other than IIS)
    9 L" ?) k6 f( Y- I
  709. ; see documentation for security issues.  The alternate is to use the
    + J$ {' p; X# M  n- d
  710. ; cgi.force_redirect configuration below
    9 ]1 a( S0 T  r1 O  D# N
  711. ; http://php.net/doc-root! B! a/ Z$ x" |/ P4 [. @; q- {! K
  712. doc_root =
    4 X( a8 r4 B  x- M0 L

  713. + e4 t1 w7 }6 d+ O; |/ O
  714. ; The directory under which PHP opens the script using /~username used only
    ; Y. P# \6 K5 w0 d3 q5 W
  715. ; if nonempty.
      L! W* J% ?1 u  ^' O6 {% n
  716. ; http://php.net/user-dir/ ]( Z- ~3 K! n( R0 i/ z. Y
  717. user_dir =
    3 L( ]) b: \  h* v! i/ `5 i# Q
  718. ( P! H. c5 r9 Z) u
  719. ; Directory in which the loadable extensions (modules) reside.- r& T. ]2 Z9 k7 S+ K
  720. ; http://php.net/extension-dir
    & o. y* v# U' [1 w2 Z7 ]7 v
  721. ; extension_dir = "./"
    ! [+ v. h' v2 y5 i
  722. ; On windows:
    ( r7 w7 B  Y0 e
  723. ; extension_dir = "ext"+ }( Y0 ?; X: O. D8 [7 W8 B
  724. ; R, J7 X  t- ]' H6 p6 p
  725. ; Directory where the temporary files should be placed.
      F$ [. Q7 N. {1 V  m+ H5 q) \
  726. ; Defaults to the system default (see sys_get_temp_dir)# p5 H- D! B1 G/ b& m' P% Z
  727. ; sys_temp_dir = "/tmp"
    ) Q  ^9 n; W; M3 F! \- N. r
  728. : e3 H; f3 P& Y8 d6 \4 [
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work2 w( J4 F) j& R" p. V" e' F+ K
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( O2 l9 c% c+ H5 R  f& t
  731. ; disabled on them.- U) [4 Z( s, ]9 S
  732. ; http://php.net/enable-dl2 F8 U+ F" f/ _! ]  A
  733. enable_dl = Off, H( W9 ^4 E4 T% z1 F9 ^& N# K
  734. * `/ L& [# a4 Y9 w
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under6 P' B; w% {) v3 Q- Y. A) X
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can7 J6 m' t& F" f7 ]
  737. ; turn it off here AT YOUR OWN RISK
    ' o% A+ W; J% K5 O
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    5 {5 U7 S" N9 u
  739. ; http://php.net/cgi.force-redirect
    " j+ p; [1 w+ Y! w. C: l1 b+ m
  740. ;cgi.force_redirect = 1
    & j! x# |/ A/ C6 a( v7 e) M% w
  741. ' R. ~5 P; L; T  G4 x" K3 T' ?
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with. @0 B$ H4 n& K
  743. ; every request. PHP's default behavior is to disable this feature.* H  d9 j- s* X3 N0 k$ f& ^
  744. ;cgi.nph = 1
    5 r9 h2 b0 t9 `* A4 F+ L8 V4 F% \9 u8 n
  745. ) C: q0 x% S1 c4 j- j- _
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    . j; g1 i$ I8 y: I
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 a! G$ H, C+ Y4 O
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY/ H- [2 d7 [: s+ B" r4 h
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; L7 j9 e, |6 p4 Q8 b1 ]
  750. ; http://php.net/cgi.redirect-status-env
    + f0 b6 ?4 j9 Q1 P$ T: F7 D  N
  751. ;cgi.redirect_status_env =, |, S3 d/ ~2 l4 S0 P
  752.   v2 f4 i' o, X$ t3 D) F1 r- V
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's4 ]( X9 o/ y7 G3 E0 V
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + D9 H: s, D8 c1 v, e) E4 n
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' L  g5 Y) [5 Z7 g  }  U* @
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting0 X+ |6 |* m& S" t/ t  t6 X$ f2 K; k
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts* j: R5 Y8 R) j% l) M
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ! j/ Y- a1 }+ a! d: S
  759. ; http://php.net/cgi.fix-pathinfo' H7 _+ ?. P& y
  760. cgi.fix_pathinfo=1
    8 V* |' h7 e; d3 d! V, A
  761. . c( ^; s: \0 h; n/ _) u' V
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    4 m8 _+ s1 o+ }( F; z- e2 @
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( k. {5 Q7 p7 [# d
  764. ; http://php.net/cgi.dicard-path
    9 k1 g! ], C" l; D& a
  765. ;cgi.discard_path=1. J( A! V6 u9 t  E& ]- j, g( S/ C
  766. " S" D3 ]% l4 S7 ^
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    1 ]+ s# c9 D/ Y8 Q; x$ M( |
  768. ; security tokens of the calling client.  This allows IIS to define the
    1 S3 V3 T6 h5 T! T, N
  769. ; security context that the request runs under.  mod_fastcgi under Apache7 W+ I# U) z  D4 U# h5 n
  770. ; does not currently support this feature (03/17/2002)
    6 ~* \" C/ Q/ a0 q0 f8 `
  771. ; Set to 1 if running under IIS.  Default is zero.
    , J/ E0 l" B" z& ~% S6 t0 h! i
  772. ; http://php.net/fastcgi.impersonate
    & \; _! X# K& ~; }  f% @
  773. ;fastcgi.impersonate = 1
    3 r: Z: C0 d% f0 T: W5 E
  774. 9 M- N, p1 r* s, N1 M/ ]
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    7 r- O# @( i* b& N
  776. ; this feature.
    0 z2 r: i* ]% e3 t
  777. ;fastcgi.logging = 0! k" M/ m" Q' w0 D. |

  778. % k" \/ i# U$ M" V4 F
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  V. B7 \+ h: K2 |  v+ C( S' i
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " ~0 Z( q$ A# d) k% K1 q( x% F
  781. ; is supported by Apache. When this option is set to 1, PHP will send  \$ E* u, r# A$ ~' _/ u
  782. ; RFC2616 compliant header.4 \9 p7 C/ A4 Z/ F
  783. ; Default is zero.% R' _# G  Z& B0 v( e) k4 J
  784. ; http://php.net/cgi.rfc2616-headers
    3 W7 P, F: x' R: p1 [# V
  785. ;cgi.rfc2616_headers = 0! m. i5 T) k4 L7 }; d4 X
  786. 2 R: r* y! a7 y; u
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!$ E2 [% R6 v+ d* s: ]4 P2 N
  788. ; (shebang) at the top of the running script. This line might be needed if the
    - _- }5 c: W0 I8 _( W& D
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI& R8 n$ U! Z% T2 m$ u% i- ~
  790. ; mode skips this line and ignores its content if this directive is turned on.5 j) E& L. S& D  Y# a
  791. ; http://php.net/cgi.check-shebang-line( l) e! S6 J+ d8 [
  792. ;cgi.check_shebang_line=1
    ! I% u& Z% u" _, `$ P

  793. : N( S+ V( G2 M( D. f2 t
  794. ;;;;;;;;;;;;;;;;
    & P6 x# i; M; R8 {7 l
  795. ; File Uploads ;$ ]5 Q: R# d: N
  796. ;;;;;;;;;;;;;;;;- M( a8 M4 ?, B4 I7 v  ?3 u

  797. $ Y' g) Q0 Q& v# ?" z* P7 ~
  798. ; Whether to allow HTTP file uploads.
    & Y, e/ G( Y+ Z
  799. ; http://php.net/file-uploads4 Y# T) r& Q* j" i
  800. file_uploads = On
    5 p9 `; v, z" H3 V4 Z1 e' z
  801. * ^9 a: V: U& \0 O( M" w
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' \$ K# c$ H* k, n8 O' F
  803. ; specified).; w( g3 v& U& u+ u% ?
  804. ; http://php.net/upload-tmp-dir
    # ?% K& F9 \. p, z/ ~5 Z
  805. ;upload_tmp_dir =
      O8 q) I$ D* T; h6 x( G, d' p
  806. ! d6 @/ x7 v+ n
  807. ; Maximum allowed size for uploaded files.
      c' S' z9 D; n! i( C0 R
  808. ; http://php.net/upload-max-filesize( s9 ]' r3 m( z
  809. upload_max_filesize = 50M
    2 R# v& U( m* C( }$ ^# K
  810. % ?# y0 J; H4 J: Z* C4 P
  811. ; Maximum number of files that can be uploaded via a single request
    ! Q% D# Q" I! ~4 C1 t/ @0 L& n& @
  812. max_file_uploads = 20
    7 F4 y5 a$ E4 d; H& C$ ?; W

  813. . I5 V% b0 n4 m; P
  814. ;;;;;;;;;;;;;;;;;;) Z+ T3 |: R: b- S
  815. ; Fopen wrappers ;
    / M, [4 y' g( \
  816. ;;;;;;;;;;;;;;;;;;
    6 b5 M+ {# L0 Y; X: \

  817. 1 l+ Z$ O3 U' q9 p6 h
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    * T# B3 A3 L2 J9 E2 |; }& T9 z
  819. ; http://php.net/allow-url-fopen# S* `4 \, E- s- [2 o3 g/ `
  820. allow_url_fopen = On" h: ^  }* p, u3 V# H* S- `) J9 L

  821. . o) D! ^7 u# q$ c" T" t& c/ k. E
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      o: n2 d; Z3 |- W/ u: ~
  823. ; http://php.net/allow-url-include  N0 [6 Y+ H& f2 H+ C, n1 k5 W
  824. allow_url_include = Off* ?# d* u& l& n% [) G% c2 d7 V

  825. ; x' \$ {0 J* _. A( z
  826. ; Define the anonymous ftp password (your email address). PHP's default setting9 {7 C" |( |6 r5 D
  827. ; for this is empty.
    + Z" V" W# J0 B9 c
  828. ; http://php.net/from
    ( A* M( e; N: b" H
  829. ;from="john@doe.com"
    * F% g9 U/ J: y) ?. A' I- z" L
  830. ; R, L; D* o% B# g' p
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    9 U% P/ w4 N/ d) }0 ^4 z" d
  832. ; http://php.net/user-agent& j4 j0 g: j9 P6 x+ x- D
  833. ;user_agent="PHP"4 y. [8 Z3 U+ a: `1 c* t: h% p

  834. 7 M6 N$ k$ D3 w) y7 x  W" e
  835. ; Default timeout for socket based streams (seconds)! s1 r% v$ [* V4 I3 d
  836. ; http://php.net/default-socket-timeout
    - z, R% Y: w6 H' A! {4 g7 x( G9 y
  837. default_socket_timeout = 60
    7 H  m9 t$ ]; z3 ?: X' y
  838. 8 }3 S* Y; c0 T
  839. ; If your scripts have to deal with files from Macintosh systems,* g& K) L0 c$ {4 y$ i0 s3 `
  840. ; or you are running on a Mac and need to deal with files from! h4 `& I2 P' N- s, E# ~
  841. ; unix or win32 systems, setting this flag will cause PHP to; g8 o4 s7 t* l9 K7 w6 Q9 n" P
  842. ; automatically detect the EOL character in those files so that
    ) @$ ^4 O, F" {* K% U0 E' h
  843. ; fgets() and file() will work regardless of the source of the file." }# u! ^' X+ }3 }- ]( d* f
  844. ; http://php.net/auto-detect-line-endings  v% b4 r0 b- p6 s' ]! i9 I( S" w- ^
  845. ;auto_detect_line_endings = Off
    + D+ h4 Z0 }- S: O1 p
  846. & B$ i' I' ^; [) u* R
  847. ;;;;;;;;;;;;;;;;;;;;;;
    $ K7 S; c# `1 C6 w% C; }
  848. ; Dynamic Extensions ;% @4 [: w( N$ y2 q
  849. ;;;;;;;;;;;;;;;;;;;;;;7 W: F# [& C  q) @
  850. & r4 Q+ A! b4 a- G# y& |. }. N, v
  851. ; If you wish to have an extension loaded automatically, use the following. I  F  {4 G: K( Z3 J/ p1 C. w: f
  852. ; syntax:# N3 K% L; m3 G( ^6 |
  853. ;  j  D/ n% _: s
  854. ;   extension=modulename.extension1 y3 E4 D% x8 m; h( i& F* w
  855. ;4 c: k6 @. ]# }% g7 k
  856. ; For example, on Windows:( a& z1 x( m" R6 {0 f
  857. ;
    % Y, s/ w( a5 ~# e" j
  858. ;   extension=msql.dll
    ) N$ g5 U8 t4 O* {  |- }$ T
  859. ;( m; h& S1 z( ^- J' \8 h
  860. ; ... or under UNIX:8 ]& @$ j& }% c4 Q8 g
  861. ;7 }0 X' Q0 L) Y
  862. ;   extension=msql.so( F, U7 ^) h# |% v/ u
  863. ;, i# ^9 G0 Q8 i
  864. ; ... or with a path:. F+ O  K" v/ ?5 L7 x3 _
  865. ;$ L" j) M+ [8 ^5 x
  866. ;   extension=/path/to/extension/msql.so( v) D& p2 I4 N9 D
  867. ;
    3 `- u1 m2 ~7 _5 {. _9 G" U$ u* I
  868. ; If you only provide the name of the extension, PHP will look for it in its
    8 L  l2 ]: c. c
  869. ; default extension directory.2 `( ]' Y# T% q7 l/ q. L  ^
  870. ;
    ; S4 u- H& _+ J+ ]1 `
  871. ; Windows Extensions  ?+ D' v$ [) Q- M+ X% k' v, x
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    1 }4 K5 m  d* j' F  u0 d6 E; j6 u
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ; S! j! _3 e+ x7 z/ |
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    $ n- P  S1 ~3 x; q/ S2 q0 f2 _
  875. ; Be sure to appropriately set the extension_dir directive.
    $ j" `- x$ C( s- v" h
  876. ;9 }$ t# Z" z4 o: z8 _
  877. ;extension=php_bz2.dll
    - N2 [2 M2 l/ C/ `, ^" u; i9 r7 {
  878. ;extension=php_curl.dll
    ) @4 b8 A: ~9 f' q4 f- |
  879. ;extension=php_fileinfo.dll+ B& J* s, I. X- `( b# H- k, K
  880. ;extension=php_ftp.dll# d* E3 t9 b" m# |7 d2 h- z
  881. ;extension=php_gd2.dll
    # G  L: ~$ ?# L6 k+ Y
  882. ;extension=php_gettext.dll$ O8 t' j# Q  \
  883. ;extension=php_gmp.dll0 x; i0 X- l0 [, ^! q
  884. ;extension=php_intl.dll
    ! l# ?* I3 q4 r! r  @7 T+ h
  885. ;extension=php_imap.dll2 O! z9 ?. `7 u' }* o: g3 p
  886. ;extension=php_interbase.dll
    & K$ \& |; L0 i- P/ A: }5 i. \
  887. ;extension=php_ldap.dll
    7 H; p% U& {/ W7 e3 v2 }6 _
  888. ;extension=php_mbstring.dll5 U* G* J8 s7 J9 l! W7 G+ a
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it9 N. x0 U( y; C
  890. ;extension=php_mysqli.dll6 K. d2 h: _- \' O
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client3 _) e8 I+ H  `4 r8 N- {
  892. ;extension=php_openssl.dll1 F# F- {& f) ?  }: U3 {) V
  893. ;extension=php_pdo_firebird.dll  X+ a: K+ P. O: z* X7 J" N
  894. ;extension=php_pdo_mysql.dll& _) O* J* R/ n/ c$ k+ Z0 P
  895. ;extension=php_pdo_oci.dll/ {/ \8 T# M$ b5 h3 `- d: N
  896. ;extension=php_pdo_odbc.dll
    ! E- \. m1 N$ Z& A
  897. ;extension=php_pdo_pgsql.dll
    2 M5 p) o' `5 N  z) g- U9 F
  898. ;extension=php_pdo_sqlite.dll
    ) `, Z  i5 H' C  A/ n- Q: b
  899. ;extension=php_pgsql.dll, |! ], p1 A% R+ n
  900. ;extension=php_shmop.dll
    * O: r  O, R* ?' T$ Z5 F, M/ E/ M
  901. 0 Y/ D( P8 [9 V
  902. ; The MIBS data available in the PHP distribution must be installed.
    ) Z0 `! b5 x& e5 g5 w) D+ T
  903. ; See http://www.php.net/manual/en/snmp.installation.php* H! N5 I$ B/ @4 q) o% ]3 J
  904. ;extension=php_snmp.dll
    ; ~# O6 X- K8 ]/ M4 ~7 X

  905. . ], A. i2 q  r* x/ O
  906. ;extension=php_soap.dll
    0 v5 p7 G9 f3 m) K: \# P
  907. ;extension=php_sockets.dll
    ; o& ~3 i+ W; @9 K
  908. ;extension=php_sqlite3.dll+ f8 g" \8 U) v% R, t2 ?7 m4 T
  909. ;extension=php_tidy.dll
    , f, ?2 d% q0 z
  910. ;extension=php_xmlrpc.dll
    ) \6 I& b% q. n" k, ]9 g0 g
  911. ;extension=php_xsl.dll5 F- p9 K( C! v
  912. 8 k, Z- l, ?5 u# \+ M  [# N: l; I
  913. ;;;;;;;;;;;;;;;;;;;+ C! g9 b. R* C& U1 c. T" w
  914. ; Module Settings ;9 S9 o1 y& K8 b5 ~: P2 T- m, i
  915. ;;;;;;;;;;;;;;;;;;;
    7 B$ }- ]; O' J) q- A- i7 V
  916. / d/ K- `) [, y1 b" w+ r; J
  917. [CLI Server]% e1 t) }7 m2 `: V4 ]
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output./ M! C- L, ~2 x( n( H! K" k  @
  919. cli_server.color = On
    1 j: J  v4 S2 Q3 A
  920. 4 q& c3 W+ N1 q7 M
  921. [Date]- p3 T8 x( l6 w
  922. ; Defines the default timezone used by the date functions" ~! d% c$ O- ~* ]. z& s
  923. ; http://php.net/date.timezone3 x7 I( O8 K$ }  I
  924. date.timezone = PRC
    8 P$ J0 a( T% F8 [/ f4 V

  925. ! g+ J/ X1 N8 X3 Q- `# ?
  926. ; http://php.net/date.default-latitude9 V# A( i: }1 M0 S; m7 |  p/ I
  927. ;date.default_latitude = 31.7667. U2 c8 _, R7 F% o/ R
  928. ' \$ u1 m; `% |
  929. ; http://php.net/date.default-longitude
    . m" q+ Y  |& D* P# ~
  930. ;date.default_longitude = 35.2333
    " F1 l# c! r6 h9 l
  931. $ V8 ]& v2 C: j2 n* a- j
  932. ; http://php.net/date.sunrise-zenith* T) E1 j1 X6 a+ L* c3 G
  933. ;date.sunrise_zenith = 90.5833335 m9 w: B; R# u' c  V+ v* {; O

  934. 5 a9 u0 a. p# O# e8 _
  935. ; http://php.net/date.sunset-zenith9 D+ w9 D- S; m" W* h
  936. ;date.sunset_zenith = 90.583333; }5 T; D& S5 x+ ?
  937. " @2 Z" L4 p& x& K# I4 |: Q
  938. [filter]
    0 k' p5 G! J2 G! n8 x( x
  939. ; http://php.net/filter.default; u, ]1 y6 Y% m
  940. ;filter.default = unsafe_raw
    # j2 O" s  Z% X0 z1 F
  941. ) a& [% }5 b( g! P' k
  942. ; http://php.net/filter.default-flags# J2 f; {6 o& Z% A' K" U* I" A
  943. ;filter.default_flags =- ~: |" G2 @" f: h3 D) ^
  944. 8 r# l  f+ ~' G8 j4 D3 _9 k, T
  945. [iconv]4 x! N2 B6 S$ @
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.3 m. Z' n  M7 G, {. @( E
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / F' U: c, I# @
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* o* F- e8 }7 B0 N! w% v. e$ j
  949. ;iconv.input_encoding =) y" `/ \2 Z+ M, S, ^- ~/ U# X
  950. 6 j, G6 D8 d, e6 ~4 H+ F
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.* u' s" F% Y: v! g4 Q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! g* n6 o# L! {) `1 D
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 E3 c2 T9 @4 o1 @$ |2 p
  954. ;iconv.internal_encoding =
    0 e, u+ E/ v% P' E
  955. 9 |6 C# k4 }$ j& h
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 C6 b# h, r- K  _( S
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    4 }' @$ ?3 [* T' b
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding# z; f3 e' W& l3 L  B
  959. ; To use an output encoding conversion, iconv's output handler must be set
    8 V( z7 z7 d: [% h
  960. ; otherwise output encoding conversion cannot be performed.
    ) @7 n! j& T7 K4 x4 H' r( l* ]& D3 ~5 f
  961. ;iconv.output_encoding =
    + X, j1 J$ U0 X. Z" T0 @# j4 U
  962. 1 Q: i* `  }4 [$ h
  963. [intl]
    . D6 k, b9 B" r0 f3 t
  964. ;intl.default_locale =9 p" T$ ^8 Z6 T7 t
  965. ; This directive allows you to produce PHP errors when some error
      W/ l* \6 d! K0 e# A
  966. ; happens within intl functions. The value is the level of the error produced.
    2 z/ q/ }: h( F+ r$ Y; H
  967. ; Default is 0, which does not produce any errors.
    8 x. c" _9 t3 U( S
  968. ;intl.error_level = E_WARNING* a. H: U6 X+ T  [
  969. ;intl.use_exceptions = 0
    ) P6 i4 _& Y+ S/ S7 z

  970. 9 V& W+ p  X" P% s0 W
  971. [sqlite3]
    . w9 Z0 X( b, F7 @  F' D% e7 x
  972. ;sqlite3.extension_dir =
    ) J# [4 d$ _, Z3 ~. p/ i
  973. 0 _) ?2 t1 _& U9 U9 a  e
  974. [Pcre]; d0 e6 v6 b  o8 P
  975. ;PCRE library backtracking limit.
    0 u8 J5 p1 v2 m% `7 D, S% S
  976. ; http://php.net/pcre.backtrack-limit! p( Z# q2 j+ p0 O2 l0 M
  977. ;pcre.backtrack_limit=100000
    4 B. v) V9 ~# C2 h5 m- M
  978. 2 j) M( i. ~4 |3 U+ l9 L4 m
  979. ;PCRE library recursion limit.! F3 R* G& ?( u
  980. ;Please note that if you set this value to a high number you may consume all
    3 I! L, |9 L- h0 U! G5 o; m! v5 R5 V
  981. ;the available process stack and eventually crash PHP (due to reaching the
    9 T2 \' l4 _* T8 [' A' H3 ~3 r
  982. ;stack size limit imposed by the Operating System).
    ) z9 C8 [8 Z. `4 Y
  983. ; http://php.net/pcre.recursion-limit
    2 ~7 \4 r; @: G+ s/ s/ D8 m% R% L" y( q3 o2 V
  984. ;pcre.recursion_limit=100000! U- u+ J4 E' Q& ]6 r
  985. ; X: k% m- P& V7 s, g( k
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE' e& O2 m9 o& A4 m1 `
  987. ;library to be compiled with JIT support.: e9 \+ @* @9 Z# a3 C( L- I  y
  988. ;pcre.jit=1
      ?7 J" n* [) o) X& S

  989. ' V; [( @5 D* D. J
  990. [Pdo]
    : M, E8 Y) R) G& Z5 Y7 L$ _# H) [
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ! a. a) d" T' q3 I
  992. ; http://php.net/pdo-odbc.connection-pooling; u' d5 _. h% v! Q
  993. ;pdo_odbc.connection_pooling=strict" x: L( h1 D2 E7 s) V- F8 o6 M

  994.   M6 X* J& z& x  y8 l( n* o8 p( F
  995. ;pdo_odbc.db2_instance_name/ d1 e' e$ Q  z& N

  996. * C- h0 s+ c, v/ k
  997. [Pdo_mysql]
    7 |& k( {' f5 D4 P
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache  l# T: D) _$ a, E5 e$ s  x! \# `
  999. ; http://php.net/pdo_mysql.cache_size: j! `% t' J0 d) ~- F% u( x
  1000. pdo_mysql.cache_size = 2000
    8 K7 \7 {( {3 W* y! b

  1001. $ S7 J2 p# ~$ f0 {, t3 y5 ]
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + g( O! h7 ^) n& Q- R6 W3 `
  1003. ; MySQL defaults.2 n! q9 q/ S3 k: O8 v5 v5 O% A: ?
  1004. ; http://php.net/pdo_mysql.default-socket8 _( J7 d) a& ?% g: R
  1005. pdo_mysql.default_socket=
    - s6 [4 @" c& m" d) K
  1006. + N+ X6 B, Q# E6 V
  1007. [Phar]
      H1 J) m2 X3 O6 [0 Z! w
  1008. ; http://php.net/phar.readonly
    ' M7 O* J( h  T( M* H& X4 ~
  1009. ;phar.readonly = On& ~' ^" r/ A; K/ L# [3 t3 z
  1010. + r; z0 b' T  v* Y) T6 r, B8 `3 k
  1011. ; http://php.net/phar.require-hash- L: }! e% J7 }9 u% D- x! m: x
  1012. ;phar.require_hash = On% r1 G( t0 X9 y& k

  1013.   d7 E" _! n6 ^& E( U/ P8 U
  1014. ;phar.cache_list =
    1 Q8 T. q4 O7 l
  1015. 3 G9 ^' U  [' w: @" \7 d* K1 L
  1016. [mail function]
    ) O+ I+ Y6 T! A0 _/ _* i1 v
  1017. ; For Win32 only.6 M# m/ ~# D7 e" I( I# c. |
  1018. ; http://php.net/smtp
    ! c2 p6 e% q$ }& ?+ n/ Q
  1019. SMTP = localhost
    # C3 f* H1 N  }4 i
  1020. ; http://php.net/smtp-port2 M: l# L3 y0 M& Z" r
  1021. smtp_port = 25
    % f+ r8 K% S5 n8 o* K9 r) n$ `

  1022. 6 G' F8 m  `# X. [
  1023. ; For Win32 only.8 V( K) l) M8 ]$ U# A7 l
  1024. ; http://php.net/sendmail-from
    : {- l; f/ x1 C1 h* ]3 J9 W* Y: ]
  1025. ;sendmail_from = me@example.com
    2 x. ?' \/ \; j) }

  1026. ) I7 j' n: ]2 e' C5 k. H7 @" H% O
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    : u5 F. Y& N2 M4 l. P
  1028. ; http://php.net/sendmail-path
    ) u; Q5 _# o1 |/ D
  1029. sendmail_path = /usr/sbin/sendmail -t -i0 N7 h! r  |: U$ o! I5 V, e* F
  1030. - r( q8 p- q# \; F
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ' {- E  a$ _& |. U
  1032. ; to the sendmail binary. These parameters will always replace the value of
    + c( v+ _  c  D- Q
  1033. ; the 5th parameter to mail().
    + j3 j0 ]" \3 a" x# N& p( R
  1034. ;mail.force_extra_parameters =& t( V7 Q* n1 g% l, \) P

  1035. 4 W. O6 I; |& f8 d0 p- v' p8 F
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename, h, d+ M7 d6 K5 ]6 i& E
  1037. mail.add_x_header = On
    8 P: M. ~% c0 O7 R

  1038. ( B: v, ~$ a% D7 I- H8 v1 ~
  1039. ; The path to a log file that will log all mail() calls. Log entries include" e! i( g# G! Q0 g0 O
  1040. ; the full path of the script, line number, To address and headers." q9 c) Q: Q! B  |2 m6 P. s
  1041. ;mail.log =* H$ m% P/ A% ]. z3 K  d
  1042. ; Log mail to syslog (Event Log on Windows).
    & K6 [( j' p+ b- W+ H
  1043. ;mail.log = syslog
    * e/ M2 V6 U& {4 a1 Y" `: ]2 N0 m

  1044. 6 G& p$ C( Z# E6 {- ^/ B
  1045. [SQL]4 h% W1 Q( k5 y9 ?8 q$ i
  1046. ; http://php.net/sql.safe-mode* t, v% A1 s7 w5 `
  1047. sql.safe_mode = Off
    : W0 c2 U7 d1 Z' A5 n8 ~7 @: |

  1048. : C8 F% ]& F* W
  1049. [ODBC]
    ' _+ b3 U% J4 X3 b7 D
  1050. ; http://php.net/odbc.default-db/ H# J4 |; ?) D+ e4 a! i& b
  1051. ;odbc.default_db    =  Not yet implemented
    - q% g' {4 T+ z9 \! i

  1052. - `) g- ~" l: j7 @
  1053. ; http://php.net/odbc.default-user
    " B5 x% s) T/ G9 m% Q( ?1 @6 F
  1054. ;odbc.default_user  =  Not yet implemented
    5 @/ F/ R% W, B4 L" ?

  1055. 4 l1 M! {$ B5 i6 s! [# ]
  1056. ; http://php.net/odbc.default-pw5 r5 g5 T/ R4 I, l9 g
  1057. ;odbc.default_pw    =  Not yet implemented1 Q) \9 S. P7 I2 D
  1058. * K" Y7 \- _: j1 d
  1059. ; Controls the ODBC cursor model.
    # i/ ~4 f1 m' z
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ! _$ P2 v9 H+ u
  1061. ;odbc.default_cursortype
    9 U9 M4 W1 K: n; x
  1062. / ?: _8 ~! x& |' c/ x/ @) U
  1063. ; Allow or prevent persistent links.
    ! ^$ J) a5 r! o0 M4 Z
  1064. ; http://php.net/odbc.allow-persistent# z" F/ Z; J9 t8 C2 M0 w! |: o. P4 M( J
  1065. odbc.allow_persistent = On
    ' |) t6 q: D: H4 x6 h5 V

  1066. 6 ]5 R3 {2 l) l6 [- |% }! F/ G
  1067. ; Check that a connection is still valid before reuse.$ B$ C7 P" t! O: D& r0 J# v
  1068. ; http://php.net/odbc.check-persistent( g, C. z3 T' a9 j3 z+ }: L: g- |
  1069. odbc.check_persistent = On. Y0 X+ ?, y& C; E

  1070. & ]  p: M2 y  r: b( T% t
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * s! b% h  f# G  f/ F2 x
  1072. ; http://php.net/odbc.max-persistent; k7 K- F; B2 h8 k: {7 A
  1073. odbc.max_persistent = -1
    / X  A5 i+ ]' p  N( X# f+ M

  1074. / U& l8 ?$ F' ^; ^" Z
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: K1 j5 B9 z7 F# V7 \; r
  1076. ; http://php.net/odbc.max-links: L& b6 Y) i! p3 Q
  1077. odbc.max_links = -16 t0 A& Q/ a4 A/ w9 K& _& m' I
  1078. ' V5 z( e* [# o% |# L
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( }% ~1 {  f* T  f
  1080. ; passthru.4 Y, N, k. ~+ w
  1081. ; http://php.net/odbc.defaultlrl% ^# c% B/ l1 k( D
  1082. odbc.defaultlrl = 4096
    $ b6 f8 j+ V2 v) M% A
  1083. : H. _/ d5 t6 j
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.1 f" ]  A9 [* ~5 q2 p
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation& G, D( j1 g! T2 O- I7 A! p
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    9 I6 U; `2 A1 ~3 I
  1087. ; http://php.net/odbc.defaultbinmode
    6 W: L. Q" y& A5 h+ K" M' c6 C
  1088. odbc.defaultbinmode = 12 n, A7 Y, }, F# s* F5 G5 w
  1089. , R& {& ~2 v" H# e8 A$ s4 C
  1090. ;birdstep.max_links = -19 ?: p, a3 F. X. E  g4 v& {, E

  1091. ' i0 q" j% e. |# h0 u4 U9 C) }: B0 Q. z
  1092. [Interbase]
    2 G. T9 l2 ^3 X- o! C( W
  1093. ; Allow or prevent persistent links.
    8 |2 a: F/ o, D' Q
  1094. ibase.allow_persistent = 1& l1 b2 N: s8 w) f' f7 v

  1095. 7 q) s3 b0 w4 K8 P9 L
  1096. ; Maximum number of persistent links.  -1 means no limit., W" }( _* F, T6 @5 `2 t  {% g1 E% j1 V
  1097. ibase.max_persistent = -1; @, Q: I( r; f, [( z$ B+ X
  1098. ( E" x2 `7 z. J4 t
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 _# P2 C0 q2 R& u% w
  1100. ibase.max_links = -1
      J' ?( x3 r( B. F+ t
  1101. " f) i8 C. p4 Y5 e4 A: C
  1102. ; Default database name for ibase_connect().
    # G/ i# J; s9 I* |
  1103. ;ibase.default_db =3 t! k, Q( E9 H5 d; U8 U* ]
  1104. 7 s: M2 }6 k' L% Z. J! b; _7 ^$ F
  1105. ; Default username for ibase_connect().
    , B1 b: _4 {" S5 c9 |2 ?! K
  1106. ;ibase.default_user =% o5 ]6 L! B7 m; Z! ^5 d
  1107. / j$ s9 V. ?8 c9 t8 g5 _' c
  1108. ; Default password for ibase_connect().
    , z$ D3 _1 s( K' R
  1109. ;ibase.default_password =
    , x+ \: y) h- Y' y9 t! B( j7 Z1 |) _
  1110. 7 b7 ^  H! L( v) `
  1111. ; Default charset for ibase_connect().
    1 M3 A/ j' Y  o( ^; W% c2 Q
  1112. ;ibase.default_charset =
    - L; P# I  x$ q: Y# c
  1113. 0 ^8 T; H. M! C# d. \- Y) Z/ w& |
  1114. ; Default timestamp format.
    / I1 W4 m3 c: X5 b; k. z
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    & E: r5 o, K- w0 k+ }, h! J

  1116. " ]) E  J8 u9 H7 b, a
  1117. ; Default date format.* x! [" `+ Z5 A! y  e3 M
  1118. ibase.dateformat = "%Y-%m-%d"
    6 J& r! a# P8 [' R: h
  1119. 7 f' H0 U3 O. R* q1 e
  1120. ; Default time format.& P0 ]  U8 h5 ?( Y) k
  1121. ibase.timeformat = "%H:%M:%S"
    1 y" E# a. b5 N; M! P0 Y
  1122. 5 M% t9 V! s: g4 C! x
  1123. [MySQLi]
    1 o' z+ H7 j1 W8 t

  1124. ) K# q. U. E" ?, x/ E# M" x* ]
  1125. ; Maximum number of persistent links.  -1 means no limit.
    & z  \* m; ]1 L% D
  1126. ; http://php.net/mysqli.max-persistent+ V& b! \6 ]3 T5 g; l1 A9 }
  1127. mysqli.max_persistent = -1& b/ ]* a: [$ j  }4 w, Q
  1128. : l# ^8 }: A; t' C' T4 a6 `0 ^
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- o6 C& N/ a: L
  1130. ; http://php.net/mysqli.allow_local_infile
    . r" g% l, ~. D+ A3 D, z& {0 Z
  1131. ;mysqli.allow_local_infile = On
    & @* @9 n/ U2 `4 o+ Q$ M- f- R

  1132. & n- D- g9 M3 ]2 |" O$ G
  1133. ; Allow or prevent persistent links.+ E4 W: P& K* f1 i8 ]0 u6 i) }8 s0 Y
  1134. ; http://php.net/mysqli.allow-persistent- x7 A3 u& g5 ^3 ~5 t, ^$ C! }2 J6 `( a
  1135. mysqli.allow_persistent = On4 x* |# E4 u5 Q
  1136. 0 M1 n) S. x3 h, O  p5 t  l
  1137. ; Maximum number of links.  -1 means no limit." w1 v& o- `& [/ g" N5 N
  1138. ; http://php.net/mysqli.max-links
    ( t  R* z- U9 _5 b0 N
  1139. mysqli.max_links = -1( a% U9 r7 g0 i+ y. ?$ N2 ~
  1140. ) v: F. P6 D0 |3 _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) C1 Z* {6 [6 u) Y5 Z0 j+ l1 S
  1142. ; http://php.net/mysqli.cache_size5 \8 g) t0 Z- t& [& Q
  1143. mysqli.cache_size = 2000! f+ C0 x- M; O

  1144. , y1 l( l( b0 D
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use& ~. S% b7 c8 h! ?) q
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 ?) _  N* Q3 H: |8 u) H
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 I+ s: g$ h. a- ]
  1148. ; at MYSQL_PORT., t8 W! K+ H5 F3 D$ c4 |+ g
  1149. ; http://php.net/mysqli.default-port
    % v- ^) F" B3 {* h# |3 L
  1150. mysqli.default_port = 3306
    " y$ c8 O* }8 R0 @( W( U2 o( `
  1151. 2 a8 p7 W: S; s# }
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 Q8 F  F, Z8 H
  1153. ; MySQL defaults.
    ! B6 n) Q% B" L
  1154. ; http://php.net/mysqli.default-socket2 {- J- Y  O, n& v; `
  1155. mysqli.default_socket =
    " Y/ L1 o: n' c; k/ h$ [
  1156. * W2 E. ~, Y2 a
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).6 j0 b" h3 d* Z. ?
  1158. ; http://php.net/mysqli.default-host
    0 }: c7 P5 \6 \! j
  1159. mysqli.default_host =
    - @9 ?; p& ~3 y5 V3 H8 J# J1 K$ |

  1160. # Y; o4 ?. S1 w, d0 _' p( {: T
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & j  @4 ~6 ]) F; ]
  1162. ; http://php.net/mysqli.default-user
    7 k3 y4 `0 t0 p  `( [+ n8 ?
  1163. mysqli.default_user =) _# E5 n( g: B5 U6 d& t6 u

  1164. % ~9 J8 c: d1 @( b8 Q6 S  `
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).  e4 f! i  I( M% O# ?5 u% Z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.+ X; u( y/ W) x
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    1 d9 O; }. h& l1 S$ B- E1 Q2 r
  1168. ; and reveal this password!  And of course, any users with read access to this" L5 n, I# t% K" n2 D- C+ b; Z" r
  1169. ; file will be able to reveal the password as well.
    7 q. A' e2 b9 N
  1170. ; http://php.net/mysqli.default-pw
    ; Q( l9 B1 q, F6 ]" k
  1171. mysqli.default_pw =* A  ~+ _7 y' `) R

  1172. / J2 m( W: k7 C1 W5 x: w
  1173. ; Allow or prevent reconnect6 i4 U! u" U5 W6 _) k( {
  1174. mysqli.reconnect = Off$ Q# f; x1 y+ F

  1175. * N9 \4 i8 V. Z
  1176. [mysqlnd]
    6 O2 a: [3 |6 p6 q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be' P1 L2 ?; d: c/ x+ K
  1178. ; used to tune and monitor MySQL operations.
    % A( s' c2 g$ t
  1179. ; http://php.net/mysqlnd.collect_statistics
    & q2 C, m+ l# P6 E
  1180. mysqlnd.collect_statistics = On) @2 v$ B& [( M3 {: z

  1181. ' [1 p% R- y1 J
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    7 m; W+ Z. v; H# o3 x/ r, o2 q
  1183. ; used to tune and monitor MySQL operations.# ^/ [9 p& T- {9 z; E5 z) w
  1184. ; http://php.net/mysqlnd.collect_memory_statistics* d! b4 _) u3 p
  1185. mysqlnd.collect_memory_statistics = Off7 x$ J, q- t! n
  1186. : c) W, M" G. e6 ]5 Y$ c" [' R
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    7 \+ {1 ]. C! c1 x/ l  O& E0 G
  1188. ; file.! f; I9 I4 ?% O
  1189. ; http://php.net/mysqlnd.debug4 ?0 ?0 K3 y0 a$ q
  1190. ;mysqlnd.debug =
    - T% @- g3 `3 @6 ~! t

  1191. 3 |  z3 d& z8 {* C9 a
  1192. ; Defines which queries will be logged.
    & K3 Y2 {7 R$ N9 y! s
  1193. ; http://php.net/mysqlnd.log_mask6 {) D. d. A* z. H5 u: S
  1194. ;mysqlnd.log_mask = 0
    ! J: e1 j' H0 j5 F7 }; w
  1195. # J# X% |0 U, x, r4 a
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ! T2 M& c; `  ^0 O/ {. v. \& z' b
  1197. ; http://php.net/mysqlnd.mempool_default_size4 j  ^9 D2 p( X6 R9 S2 ]1 N
  1198. ;mysqlnd.mempool_default_size = 16000# z0 j) v* @$ A/ C& B
  1199. 5 b! o3 E9 G; t0 ^$ {, s8 {5 H! @
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.. p# L7 p: J& ]+ M8 x
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    3 }6 A. X9 h5 K' d' N
  1202. ;mysqlnd.net_cmd_buffer_size = 2048* \0 e/ b! x* ]8 |% l3 W( r

  1203. / M' w. M+ g7 @& W# ^% b
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , |# P7 g3 p" q* J) ^$ |' L
  1205. ; bytes.0 }& J- b: ~8 e" Y+ b9 ?
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    / Q  u7 z* g0 j' B1 o
  1207. ;mysqlnd.net_read_buffer_size = 32768
    * k) j" G* N$ u% n2 T; M0 j
  1208. . }- P9 E6 e7 p  q3 U* U! r
  1209. ; Timeout for network requests in seconds.
    3 w3 I1 ^0 A, @- F" ^+ z
  1210. ; http://php.net/mysqlnd.net_read_timeout, U1 w# N5 ^4 G7 i/ ]
  1211. ;mysqlnd.net_read_timeout = 31536000
    * f9 J' e: S  S: b

  1212. 9 P3 z" G! r7 C) B" ^8 ]
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    $ Z0 F  k$ ]$ N2 A! x: P; V2 G% q
  1214. ; key.
    % F9 Z- n2 ~2 q7 h* q
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    2 k6 W$ w6 I. r1 h3 Q1 E/ C
  1216. ;mysqlnd.sha256_server_public_key =
    ' L4 ]' n  F7 K

  1217. 1 C9 b- n; T3 v0 [. M, G
  1218. [OCI8]/ N2 f7 E/ V$ k6 T

  1219. - O- \0 X6 _; Y. K, S; x4 z
  1220. ; Connection: Enables privileged connections using external& A5 z2 e# e3 I! @% b& O
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)% Z" E2 z& P7 j; h5 T2 @
  1222. ; http://php.net/oci8.privileged-connect& ?- D+ {2 h2 ]  k: W. Z
  1223. ;oci8.privileged_connect = Off0 J& i/ N' k+ l0 _

  1224. 8 E8 N1 r. g- X+ v% j1 ]
  1225. ; Connection: The maximum number of persistent OCI8 connections per& f# e( [; a7 l0 X' n, @* @
  1226. ; process. Using -1 means no limit.
    4 X# y4 J2 d1 }
  1227. ; http://php.net/oci8.max-persistent
    5 W/ e+ S0 i- L
  1228. ;oci8.max_persistent = -1
    + x' v0 m' W( V( r! V% |2 L7 j6 }

  1229. ( q! M3 K4 l* u+ J" s
  1230. ; Connection: The maximum number of seconds a process is allowed to
    % k1 `1 \' i+ }7 }: c6 y- t
  1231. ; maintain an idle persistent connection. Using -1 means idle0 h8 H& N# X& f8 t  _5 K" [
  1232. ; persistent connections will be maintained forever.* m8 T) m1 P5 I4 F# U* k
  1233. ; http://php.net/oci8.persistent-timeout
    9 t1 X) G+ d* J0 }% D" O3 b( l
  1234. ;oci8.persistent_timeout = -18 A& ^1 v6 k4 h8 ]6 O( q
  1235. * Z! h5 }; K! K* e( U
  1236. ; Connection: The number of seconds that must pass before issuing a5 m, H, |( W7 m4 w
  1237. ; ping during oci_pconnect() to check the connection validity. When, [: j& n8 y1 S" K
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 X* d0 x, I0 |( O* {
  1239. ; pings completely.. a( K+ o$ `+ f
  1240. ; http://php.net/oci8.ping-interval4 _$ H& v/ K2 s5 M# ^
  1241. ;oci8.ping_interval = 60$ q) }" k0 ?0 D+ U

  1242. % E$ O" `* f- h( I8 j
  1243. ; Connection: Set this to a user chosen connection class to be used
    9 k: ?; h) W; ?: p# m
  1244. ; for all pooled server requests with Oracle 11g Database Resident
      T1 w0 \: R+ B) ?
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to* }+ J( x, F; e" E  N- s
  1246. ; the same string for all web servers running the same application,) I$ n" V! m8 u; H
  1247. ; the database pool must be configured, and the connection string must
    # i- m! J! H" O& U
  1248. ; specify to use a pooled server.
    2 I6 L6 T# e9 I# P% x, I2 O0 m
  1249. ;oci8.connection_class =
    9 B* F. ~; Z! x
  1250. ( e" ]4 q5 l9 N% s- Q  E
  1251. ; High Availability: Using On lets PHP receive Fast Application
    - w1 T7 g4 U: J7 h/ t
  1252. ; Notification (FAN) events generated when a database node fails. The! ]) D2 m  n. ~" S
  1253. ; database must also be configured to post FAN events.
    5 [+ l' G/ G0 s4 R0 V% M
  1254. ;oci8.events = Off
    8 u( U% W* r; K! _9 y( g
  1255. ( Z3 M* J/ G( l4 I$ V8 R" E
  1256. ; Tuning: This option enables statement caching, and specifies how! B5 L- a0 k, P9 C$ N' x8 m( U% |4 I
  1257. ; many statements to cache. Using 0 disables statement caching.
    , s- H& H+ y3 e
  1258. ; http://php.net/oci8.statement-cache-size3 a* f' B- t1 `. X; X0 i$ R
  1259. ;oci8.statement_cache_size = 209 y: N( n  h4 X; H- q0 p0 o! Q* r' X
  1260. $ U* ]# h- V9 s# C- j. o# Z) X6 L
  1261. ; Tuning: Enables statement prefetching and sets the default number of) R! d+ c; |! I# y/ E$ V/ S( v
  1262. ; rows that will be fetched automatically after statement execution.
    7 Q# m" C$ w* y6 z/ g" Y8 n
  1263. ; http://php.net/oci8.default-prefetch3 ~. z& @% w7 z
  1264. ;oci8.default_prefetch = 1007 T; N7 h8 c1 E5 u$ K4 \' O
  1265. " z* ^* Y7 S3 p, [# d3 K0 z
  1266. ; Compatibility. Using On means oci_close() will not close
    ! |1 f) X  f& p, A. [  \$ ^
  1267. ; oci_connect() and oci_new_connect() connections.
    " p; Y1 m  Y# L
  1268. ; http://php.net/oci8.old-oci-close-semantics
    : \) t, e& ~3 R- }4 y! y
  1269. ;oci8.old_oci_close_semantics = Off, I; E7 r# H# I' {" y- d  G  b

  1270. + d5 O% {3 z, L) C+ ^7 r; ]
  1271. [PostgreSQL]
    0 ^/ }0 b; L5 n9 [
  1272. ; Allow or prevent persistent links.
    % G3 \( s* W0 A& P4 g
  1273. ; http://php.net/pgsql.allow-persistent
    & S7 z4 ?, U5 l/ x0 l. O
  1274. pgsql.allow_persistent = On/ n7 r; p) C3 g+ ^
  1275. 1 p& y, ], L( v5 v3 g, L8 H' _
  1276. ; Detect broken persistent links always with pg_pconnect().5 I  q4 j  }' K2 t0 B/ [; R" ?$ a
  1277. ; Auto reset feature requires a little overheads.
    0 g. i* X( c; t/ N0 g' d
  1278. ; http://php.net/pgsql.auto-reset-persistent( I7 E3 x& |4 h' ]# D
  1279. pgsql.auto_reset_persistent = Off  ~6 w: W) ^1 p  T# J  q% [; v
  1280. 4 N2 g7 T+ e0 o0 U8 Z
  1281. ; Maximum number of persistent links.  -1 means no limit.3 w. g1 {4 q3 F3 w9 e: g+ a
  1282. ; http://php.net/pgsql.max-persistent  l1 K* p. T1 j6 {% O
  1283. pgsql.max_persistent = -1! Y/ v2 c) ?% x2 x3 {: D! W( d

  1284. $ D9 A4 b. C6 r' |" Y  E" k
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 v" ?. }1 {/ w( W0 |& a
  1286. ; http://php.net/pgsql.max-links) p+ ~2 F0 t, n$ l$ d; s
  1287. pgsql.max_links = -13 q0 ]/ j! z6 Q7 E

  1288. / d* ^* J, L1 q- H
  1289. ; Ignore PostgreSQL backends Notice message or not.
    : U, X6 p& w1 U! H3 }
  1290. ; Notice message logging require a little overheads.+ c/ ?+ e4 ^" s% C
  1291. ; http://php.net/pgsql.ignore-notice
    : p/ V/ |: Z8 _1 f' v# B
  1292. pgsql.ignore_notice = 04 @" s2 J4 k4 Q4 z: q; M
  1293. 0 g1 H) b3 e0 ?+ U: |" S
  1294. ; Log PostgreSQL backends Notice message or not.
    8 m4 m% B% [6 l  r3 d( Z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) B/ V2 U6 R: Y+ c
  1296. ; http://php.net/pgsql.log-notice
    ; w7 x$ C2 y; u3 b6 L
  1297. pgsql.log_notice = 0, h: m0 I- q2 @
  1298. + x7 g2 e8 c7 L
  1299. [bcmath]
    1 |% F8 y3 y; a4 w
  1300. ; Number of decimal digits for all bcmath functions.
    & r. L$ X! g' H  ^# V& T, t( F) T
  1301. ; http://php.net/bcmath.scale" n' L  M9 \& P: N* g! @
  1302. bcmath.scale = 04 V0 v9 r" w5 W

  1303. 4 }( j2 g' H+ C# i" J
  1304. [browscap], E( Z' |- x. a4 {8 U, r2 z. H! V
  1305. ; http://php.net/browscap
    % v) H/ w+ T- K) [" O
  1306. ;browscap = extra/browscap.ini- |& z2 m+ e; D! p" @6 u! O
  1307. ! D0 D: _. @0 p) h
  1308. [Session]# P* \" e1 }! K$ p! W
  1309. ; Handler used to store/retrieve data.$ R, @, V" e9 M3 D0 }2 ?+ F5 M& C
  1310. ; http://php.net/session.save-handler+ W# U1 J9 V, l5 J( C* }
  1311. session.save_handler = files
    + R* O' W# |+ t& p$ P
  1312. 9 ^) ]; E% p4 j" E1 H% }% X
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    * Z" V( L# b$ y4 W
  1314. ; where data files are stored. Note: Windows users have to change this7 Q5 P% m- K; |# |
  1315. ; variable in order to use PHP's session functions.
    " e7 Y2 b/ p; [* B/ v
  1316. ;
    : B/ ~4 `! n: l
  1317. ; The path can be defined as:
    ( V' c  q* O. M3 V+ h% x) \
  1318. ;
    % k  O; \4 B8 R) \/ k! t
  1319. ;     session.save_path = "N;/path"
    ' n- |" u: A/ q  P5 j% l1 {# ?
  1320. ;
    # u+ ^7 e: T7 @- C
  1321. ; where N is an integer.  Instead of storing all the session files in
    " n- e! O' ?$ O
  1322. ; /path, what this will do is use subdirectories N-levels deep, and! b3 i  _/ t5 u& u. U. r( H6 f: w
  1323. ; store the session data in those directories.  This is useful if. j- c: d3 e" K( a+ O
  1324. ; your OS has problems with many files in one directory, and is' R0 A$ ]( }5 C
  1325. ; a more efficient layout for servers that handle many sessions.3 A3 O/ W& I4 p* _; w* L& B$ k  X
  1326. ;
    7 _- D& i$ v+ u3 r/ b
  1327. ; NOTE 1: PHP will not create this directory structure automatically./ e% X7 k' C9 |7 e3 W2 e2 \
  1328. ;         You can use the script in the ext/session dir for that purpose.  V) Y" E" ^) t* N7 I
  1329. ; NOTE 2: See the section on garbage collection below if you choose to3 T4 R* x3 ~% }1 X# Y
  1330. ;         use subdirectories for session storage
    1 o# f) f! W- C- X: k
  1331. ;6 O. o8 s! O9 ]
  1332. ; The file storage module creates files using mode 600 by default.
    " X9 [9 y+ ?+ I6 i' g  i
  1333. ; You can change that by using( f4 [9 h: \/ G; N
  1334. ;
    1 x, E' y( S1 }6 A
  1335. ;     session.save_path = "N;MODE;/path"
    ; |1 ^0 E/ r' N8 U2 S
  1336. ;. C" D$ w7 j1 z- _8 |0 p: P
  1337. ; where MODE is the octal representation of the mode. Note that this  ]7 S; a$ N% A
  1338. ; does not overwrite the process's umask.) s$ ~- s  C8 U
  1339. ; http://php.net/session.save-path0 G8 s3 m0 ?  s% \2 m
  1340. ;session.save_path = "/tmp"
    1 x% o( J0 H: ^, s# r& H5 R
  1341. ( {4 G, i# `( {: L$ y+ h
  1342. ; Whether to use strict session mode.. y+ F3 v' L! {( B) x$ J3 V* X
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate: N; f& y3 c, }) g; o& t/ Y
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    3 s3 ^: ?8 o+ Z( |/ C
  1345. ; applications from session fixation via session adoption vulnerability. It is
    8 T% q8 ^4 A. @% r! ?' O1 H) w
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; r8 d% I, @6 d" X' J
  1347. ; https://wiki.php.net/rfc/strict_sessions. g* v: @3 n- L6 b
  1348. session.use_strict_mode = 0
    7 G/ J' S7 J1 ^% U9 u
  1349. ) Z: e! C# \/ n* q
  1350. ; Whether to use cookies.% j7 \- d- c5 C/ P) O
  1351. ; http://php.net/session.use-cookies4 u" I8 ]4 I' L( y
  1352. session.use_cookies = 1, }0 M4 A2 T0 o& k: y
  1353. : b  j1 ?2 f% x) N: V0 w8 w8 Q
  1354. ; http://php.net/session.cookie-secure
    5 J% O# y: A; a  [6 U/ x
  1355. ;session.cookie_secure =
    8 M" Z! H+ P( ^
  1356. 7 k9 |, A* Q; w/ Q+ f
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
      p* n; ~# v- e* y  \
  1358. ; the session id. We encourage this operation as it's very helpful in combating8 D+ y: t- y, ^6 b6 {" O$ z
  1359. ; session hijacking when not specifying and managing your own session id. It is
    - D! h' _  @) |8 c% ^8 r2 v$ t% |
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' m5 _' E9 e. Y( ]) |
  1361. ; http://php.net/session.use-only-cookies( u5 `  I9 G- R2 X; r
  1362. session.use_only_cookies = 1
    0 I8 F: C  y5 Y* j4 ^  L

  1363. 0 z4 X/ [; a8 r+ _
  1364. ; Name of the session (used as cookie name).& [1 }3 t. i: C7 N) F, Z
  1365. ; http://php.net/session.name
    " R- Q* N4 X& I: ?( a9 V  ~
  1366. session.name = PHPSESSID
    $ N: r9 r% w4 N: p0 }% T
  1367. $ e$ k2 D* ^( J& A! X3 J5 L: e, K
  1368. ; Initialize session on request startup.
    ! t! p. K" p$ m$ ~# l- A6 s
  1369. ; http://php.net/session.auto-start
    * M" `* L  |( L6 [$ z" x, n  \  E
  1370. session.auto_start = 0) K' J9 [1 y2 Q9 |) {
  1371. 9 @7 ?# z" C0 o. g( P
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.; x3 K. L- |# D0 ^/ B' B- ?
  1373. ; http://php.net/session.cookie-lifetime
    " W4 I7 Z7 R, ?# ?
  1374. session.cookie_lifetime = 0
    " I) v* V' o+ R1 m/ V' J
  1375. 1 M- }2 a. o9 {
  1376. ; The path for which the cookie is valid.8 V  |3 q1 h& G  }7 A8 b8 z
  1377. ; http://php.net/session.cookie-path+ J7 Y2 V2 W8 X. R
  1378. session.cookie_path = /# d+ `0 N+ j( f- Y2 ?8 \
  1379. 9 D3 B; t6 R8 H5 e
  1380. ; The domain for which the cookie is valid.7 e; n$ j, j% P& K( ]
  1381. ; http://php.net/session.cookie-domain4 z6 U  W6 c% u$ p
  1382. session.cookie_domain =- n4 E' S. }' I, Q- f) e6 K* q( P: `- X
  1383. ) @/ A/ _5 U" m5 d6 @0 o
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ( B  F9 y, w# I! `
  1385. ; http://php.net/session.cookie-httponly
    5 @$ ^8 O3 c6 q
  1386. session.cookie_httponly =% m# [% ]9 r# E1 ]' R1 B

  1387. ( b+ ]. H/ q% j) ]. I2 N- j/ j
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    2 g  k3 z7 b7 }: P7 h# K1 @6 P
  1389. ; http://php.net/session.serialize-handler
    ; X/ d- S$ b! A4 d2 }' g( `
  1390. session.serialize_handler = php; z  _/ X( u; ~1 r) e1 k
  1391. * z4 J" i+ Z: f0 u- \
  1392. ; Defines the probability that the 'garbage collection' process is started
    3 y" o3 m! ~" V) w1 [
  1393. ; on every session initialization. The probability is calculated by using) A5 q6 T5 H, b6 v- ]* P; _
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator# R% z8 p8 u' N. C5 v
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1: t& A$ m4 J, d4 O. F% \$ U
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; H$ m, e8 L0 t) N& |" \- G
  1397. ; the gc will run on any give request.
    0 E0 W  A1 L- q: ?8 d. |# ~
  1398. ; Default Value: 1# b# p8 `5 v* O7 t# i0 [$ N
  1399. ; Development Value: 1% f) F; ?: u1 q5 Y; H, G1 }
  1400. ; Production Value: 1
    7 u0 p0 q) v* M9 h* _4 f
  1401. ; http://php.net/session.gc-probability
    - N% B9 G. g" e+ s( G
  1402. session.gc_probability = 1
    * U+ k( [6 L, c

  1403. 6 U& i) a# G4 E$ y9 @' a' H* N
  1404. ; Defines the probability that the 'garbage collection' process is started on every3 X- C7 M/ _5 A4 A* |, [
  1405. ; session initialization. The probability is calculated by using the following equation:+ C/ ?- M4 R! V! g8 ~3 y3 @1 z% F2 ]
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    5 S3 t2 J6 G9 N4 w: F- `  y
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! ^( D3 f' V3 l2 W) m% R
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 ^" [: R/ r4 l/ U, h
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( F( E! Q4 `  S- L# F7 H% _5 |
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,, i6 c) [+ |8 r. L
  1411. ; this is a more efficient approach.: F) S1 @) E: C
  1412. ; Default Value: 100
    . H- H: ~) x7 E' L. Q1 Y5 m
  1413. ; Development Value: 1000
    - x# i. G1 G# R3 Y( J6 n
  1414. ; Production Value: 1000& h8 q9 M% n' j- w% B* Q
  1415. ; http://php.net/session.gc-divisor- L* M0 Q- k* g. ?9 f
  1416. session.gc_divisor = 1000
    $ C$ [% R+ S/ r2 y7 p

  1417. ! {# z; [$ [5 I, F
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) ~1 e! y+ l5 ^
  1419. ; cleaned up by the garbage collection process.! \% ^7 d: f7 W8 U! }
  1420. ; http://php.net/session.gc-maxlifetime9 V- {% G! [! m
  1421. session.gc_maxlifetime = 14405 L$ H0 A; U& C# }$ D. C

  1422. 0 Q% _. x( n% m$ _
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    : w) t5 U! n. O( N" g" z/ H
  1424. ;       (see session.save_path above), then garbage collection does *not*
    1 l; U( }4 Z$ i, Y7 e* v+ C
  1425. ;       happen automatically.  You will need to do your own garbage6 v* ?* {( s" H, v+ m# O- I
  1426. ;       collection through a shell script, cron entry, or some other method.
    ; ?" k' z- N9 o2 V1 F. \) b& A
  1427. ;       For example, the following script would is the equivalent of
    , \* d5 O4 W( J& V- b
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    / I! ?9 z5 K, i$ L; d0 V& R
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm7 X3 Q/ X; ^2 T! N' v- Q

  1430. 0 [4 t# j! z+ r  a8 q$ s) O, ~
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * i( H& \4 h" e; h( _
  1432. ; HTTP_REFERER has to contain this substring for the session to be1 h9 g+ K* r/ V& v" E2 z
  1433. ; considered as valid.' I% z8 x1 e# X; J3 b& _
  1434. ; http://php.net/session.referer-check
    1 j/ _" ~& m; R5 V5 Y( T5 K
  1435. session.referer_check =
    8 x! e, x2 i; A% ~+ S! o' V; E& g

  1436. ! n9 S2 a5 W( p
  1437. ; How many bytes to read from the file.
    3 ~7 \+ ]; x( ?5 C6 W3 M0 Q8 R- \
  1438. ; http://php.net/session.entropy-length, s7 y. e3 a: B  {4 B# ^
  1439. ;session.entropy_length = 325 J- o6 o# `; X( \8 {

  1440. + N' g. O: q% z: m9 t: W
  1441. ; Specified here to create the session id.( w0 p& z; j7 I6 D9 Y
  1442. ; http://php.net/session.entropy-file
    : D. B0 [) [* v. W
  1443. ; Defaults to /dev/urandom
    4 t' K8 M3 A0 }! f3 ~' k2 k
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom9 g; O9 Q; x  b7 i0 M
  1445. ; If neither are found at compile time, the default is no entropy file.
    , w( b8 v1 v- F, L( n5 W' z
  1446. ; On windows, setting the entropy_length setting will activate the
    / t7 B8 T, x$ J( Y) A! ?
  1447. ; Windows random source (using the CryptoAPI)
    8 s  Z) l, Y2 d, a9 ?* R8 r
  1448. ;session.entropy_file = /dev/urandom! K1 ~$ V- c: `0 l$ g
  1449. & D7 D0 ~# p, A' u; x% F8 p
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects! y. O  `; ^3 r' d
  1451. ; or leave this empty to avoid sending anti-caching headers.
    . Y' r% H1 C6 ?4 l0 p
  1452. ; http://php.net/session.cache-limiter, Z0 y1 R( w) v6 U
  1453. session.cache_limiter = nocache6 y8 {4 F( K' E% \+ T
  1454. 7 S9 w7 {; {( L9 ?
  1455. ; Document expires after n minutes.( {! S% A6 j: R  j! \
  1456. ; http://php.net/session.cache-expire
    4 ?: @5 G2 {! {/ [
  1457. session.cache_expire = 180
    1 Y: Z, ~. N. M1 A0 J
  1458. # d0 X6 ]/ v* G& Q! f% l1 f
  1459. ; trans sid support is disabled by default.7 |6 v4 Q( r" M# K& I& U
  1460. ; Use of trans sid may risk your users' security.! x' {( u( `$ Q! {4 E, \
  1461. ; Use this option with caution.
    1 z7 v& D1 D8 Y8 h- ^% M
  1462. ; - User may send URL contains active session ID3 D  J* R( N: z0 h2 {  e" e/ S' Z
  1463. ;   to other person via. email/irc/etc.& J+ @3 T) ]4 y3 a6 w
  1464. ; - URL that contains active session ID may be stored
    ; H  C+ ^( c; x) ]# \" N: l1 J
  1465. ;   in publicly accessible computer.1 i9 [) y0 }5 R+ Y- A7 Q7 b7 a
  1466. ; - User may access your site with the same session ID/ K3 p1 v8 i6 }9 }9 t) S
  1467. ;   always using URL stored in browser's history or bookmarks.
    ; x+ H+ I/ J$ F1 [% g: L0 g; ]
  1468. ; http://php.net/session.use-trans-sid  [6 P9 N% F6 E) M4 V' I
  1469. session.use_trans_sid = 0
    9 L5 \0 k* X6 z: s4 ~# s

  1470. ! F! U8 I5 L2 z( b" p
  1471. ; Select a hash function for use in generating session ids.
    ; d6 M5 G: h1 x$ p& Y2 r2 `
  1472. ; Possible Values
    . W' w- z9 |. u; W' w* z3 {5 b
  1473. ;   0  (MD5 128 bits)4 t( r! _5 A3 G  a  U8 H7 |
  1474. ;   1  (SHA-1 160 bits)% U0 u8 k% W" `6 r. h
  1475. ; This option may also be set to the name of any hash function supported by  N4 y* x/ a  p  ~9 g
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    9 _9 D; P2 a/ J8 d
  1477. ; function.( f$ S( Q& ~* A% `) q
  1478. ; http://php.net/session.hash-function
    + b. y' ?% U7 _. r7 D! p
  1479. session.hash_function = 06 e! m9 m9 A+ w$ u6 f
  1480. 4 E1 ~; T/ n% Z" m' u- k
  1481. ; Define how many bits are stored in each character when converting
    & }8 e5 K- l5 r; M2 A
  1482. ; the binary hash data to something readable.
    % }9 ~: {7 _* ?) k# h
  1483. ; Possible values:1 h/ D" `) H  o
  1484. ;   4  (4 bits: 0-9, a-f)+ t) Z0 o" v7 w7 F7 g0 M  F+ t4 o+ ^
  1485. ;   5  (5 bits: 0-9, a-v)
    ( q+ H+ e+ j1 s, E1 |
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    3 \+ J  j$ H( B3 P. [
  1487. ; Default Value: 4
    + h% w; H4 z1 |% f/ L/ u& I5 a- u" _
  1488. ; Development Value: 5$ [$ q3 h# F9 o/ Y7 k; L
  1489. ; Production Value: 5
    ' |9 \4 m& A* i9 [) E8 B
  1490. ; http://php.net/session.hash-bits-per-character
    - C; F' [1 c" ]
  1491. session.hash_bits_per_character = 5. T+ f% p; l' B$ {  ?$ Y& S& P; O
  1492. $ y+ e: E8 v5 Z! P8 b) H. V! I
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( N1 I, k: v9 K
  1494. ; form/fieldset are special; if you include them here, the rewriter will% _+ r# F2 I* {3 L
  1495. ; add a hidden <input> field with the info which is otherwise appended2 K" a4 C' ^! H8 h- U" y! d
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.6 |9 u% o' K6 ]5 I  n
  1497. ; Note that all valid entries require a "=", even if no value follows.
    4 _  U9 D: y$ G" v( }7 k4 V
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 B: g/ h& T0 X* ^% U. Q+ @2 ]5 n9 A
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ L6 u, k7 @# |) @
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# p, \7 V7 ^% b6 s! Q; N- a% u
  1501. ; http://php.net/url-rewriter.tags
    ( d( W, S0 I) k* Q, D( c) ~$ h
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 x# i* t) `) `3 D

  1503. ' ~& E6 q$ t, I7 K
  1504. ; Enable upload progress tracking in $_SESSION( `9 a5 W! A' }5 q8 l
  1505. ; Default Value: On
    3 W5 s2 h1 \0 c
  1506. ; Development Value: On
    ; t+ k, {5 C: g$ R1 H" ]$ C' y
  1507. ; Production Value: On
    3 I$ l0 M) t1 ~; h' L  U
  1508. ; http://php.net/session.upload-progress.enabled
    , b1 \- w4 ], c! i" F( X
  1509. ;session.upload_progress.enabled = On
    - e) Y# J; ~1 A8 u; P

  1510. 3 {" k2 V1 m# {% V: F
  1511. ; Cleanup the progress information as soon as all POST data has been read
    5 _3 H: S  ?( t/ t0 J7 J- l
  1512. ; (i.e. upload completed).4 I; o+ B! l: L1 ~, h5 b
  1513. ; Default Value: On
    ! ^# c; r# O" Y$ \3 S0 l- Z
  1514. ; Development Value: On
    $ `2 O' Q& c3 _9 k1 e# a" }
  1515. ; Production Value: On- T3 x1 t# U/ X, j7 I% a
  1516. ; http://php.net/session.upload-progress.cleanup
    ; S. D+ A% I8 x
  1517. ;session.upload_progress.cleanup = On
    $ s8 j/ M3 I% a- e# r

  1518. + Y9 e. ]' ?! n$ O
  1519. ; A prefix used for the upload progress key in $_SESSION- a  s8 T9 }1 S9 f" x5 R
  1520. ; Default Value: "upload_progress_"
    , K1 p: Z: }$ m6 ^4 K
  1521. ; Development Value: "upload_progress_"
    + R! r3 F  n3 W
  1522. ; Production Value: "upload_progress_"0 L( b! N( m, ^- k/ B8 I6 i
  1523. ; http://php.net/session.upload-progress.prefix
    2 e6 ?  S+ t% n& N9 D4 [* F
  1524. ;session.upload_progress.prefix = "upload_progress_"
    2 B3 z, Z5 t2 |
  1525. 9 }4 X: J# Q  {9 O# W+ o0 X' k' _" H# u
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ! B6 n! }$ @3 B
  1527. ; containing the upload progress information) q, _6 \" M, q
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , {( @7 y( l+ ~. d1 b4 D, [
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 e* g; J7 x+ a1 [3 N8 a
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( K) h: Q( t2 Y2 C( v- j
  1531. ; http://php.net/session.upload-progress.name! m0 v& O1 U1 l
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    0 B/ P* ~$ y4 m1 n# L

  1533. 1 o6 B5 ]  K' X9 d$ F
  1534. ; How frequently the upload progress should be updated.
      z9 v- J' v5 E9 D! S' E
  1535. ; Given either in percentages (per-file), or in bytes
    0 ~" c2 Z+ l* W1 O; v
  1536. ; Default Value: "1%"
    8 w' s7 i' M. ?
  1537. ; Development Value: "1%"
    # w. x, H$ F6 g" C& v8 g/ o3 K' p
  1538. ; Production Value: "1%"  p0 S2 N9 C% `) M9 i
  1539. ; http://php.net/session.upload-progress.freq5 g  l5 ~: B+ Q: |, B7 l+ U
  1540. ;session.upload_progress.freq =  "1%"
    / L' R# j7 P. [: }0 g5 Y6 u6 X9 I
  1541. 5 h) Q* S$ C( k# `  l
  1542. ; The minimum delay between updates, in seconds
    / o6 J8 n' W9 B8 H% U& `7 b7 F
  1543. ; Default Value: 19 s' t+ h3 U: j! M$ k
  1544. ; Development Value: 1- z' V' L. O& q* u2 k
  1545. ; Production Value: 1+ Q! C' d4 j& B+ n
  1546. ; http://php.net/session.upload-progress.min-freq: F/ D6 t6 e  o- L
  1547. ;session.upload_progress.min_freq = "1"
    # f+ Z+ {2 Q$ |& K8 \7 e( X! j* B
  1548. ' R2 }4 {/ }* {% n% y% Z' C
  1549. ; Only write session data when session data is changed. Enabled by default.# _* k6 }4 F5 b% |( L0 E& A: E
  1550. ; http://php.net/session.lazy-write, |# V0 p9 |/ ~1 z7 ^
  1551. ;session.lazy_write = On% P7 G) Z4 v! B6 E$ ]7 _6 t

  1552. : N3 g0 Y  d0 M1 [
  1553. [Assertion]
    ' r6 O; O3 [. r- E. \* F
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    $ d( O" B$ ], L
  1555. ; -1: Do not compile at all
    ; P0 L( t$ a; c' r5 @% v
  1556. ;  0: Jump over assertion at run-time
    + E  i, t7 n7 z0 e* o
  1557. ;  1: Execute assertions
    7 C# ^9 _, r- l: {0 B+ [% A
  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)
    & G1 V" _9 `$ N8 @8 j0 i/ U
  1559. ; Default Value: 19 C$ l2 W, `- S
  1560. ; Development Value: 1
    / }4 ]# E" Z& ~6 t& f* f+ ]
  1561. ; Production Value: -1
    ; O$ Q/ Z' z# f1 F. ?
  1562. ; http://php.net/zend.assertions1 h. ]' `8 J5 y! B; R
  1563. zend.assertions = -1" R2 I3 }  ]3 J7 A+ b  P3 S; X

  1564. * i( n1 D/ o: M
  1565. ; Assert(expr); active by default.5 \+ |6 ^) Q' @4 V3 _# Z$ y
  1566. ; http://php.net/assert.active0 c$ }0 y) `$ r& a/ x& p
  1567. ;assert.active = On# I. h4 T. l) ~- G
  1568. 4 p5 ?. Y: S3 _, C. a' z1 @7 N8 [
  1569. ; Throw an AssertationException on failed assertions
    1 [, [) ]2 I, y
  1570. ; http://php.net/assert.exception
    7 h; z. p1 D$ ~2 T% i+ D. c
  1571. ;assert.exception = On$ F- S$ g5 I# v( w# }

  1572. ; d2 o0 j7 M* C! ?4 b
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ; x5 Z4 B1 y% W
  1574. ; http://php.net/assert.warning
    ! D) F0 i! ~( W7 H
  1575. ;assert.warning = On3 X" X5 i. S8 ]% ]' W
  1576. " D" a/ V; S* A+ V5 C
  1577. ; Don't bail out by default.
    $ R. b# Q7 N6 I) Z; f& X
  1578. ; http://php.net/assert.bail
    ) j$ Y6 v% A) X1 Q* {: {
  1579. ;assert.bail = Off
    ' c) o, I8 f( l$ Y% q3 x* r

  1580. , M9 D# S2 l$ l* X* B* M+ i0 w+ i
  1581. ; User-function to be called if an assertion fails.
    0 ^/ A4 W2 h7 A$ r
  1582. ; http://php.net/assert.callback
    * C# f& x$ k2 f( L0 e
  1583. ;assert.callback = 0
    5 C. B- i! y5 {# q: E4 D

  1584. $ h  f# z. P9 J5 S
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    $ o) T1 K3 E9 w0 c3 s5 J6 e9 n
  1586. ; error_reporting(0) around the eval().! e( j- D8 H# b0 y4 ^+ [
  1587. ; http://php.net/assert.quiet-eval$ g0 Y& Z9 l. T/ f9 m
  1588. ;assert.quiet_eval = 0
    4 g7 M# N( O/ v# ~# J& B  n: l0 u

  1589. 6 O& X3 v; {% C5 T8 d* Y% \
  1590. [COM]
    * d. N& ?6 Y5 z6 B  O) \
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. T* V* Q: f0 z! z6 f# {/ x, G
  1592. ; http://php.net/com.typelib-file
    ( B9 j* j  G+ M' B
  1593. ;com.typelib_file =8 ?, b" L6 D3 M3 S, B. N
  1594. 8 A  v, w7 g$ d) {# A
  1595. ; allow Distributed-COM calls
    , c2 E( |/ E* `5 l6 I
  1596. ; http://php.net/com.allow-dcom
    " l' y5 ?8 j+ [
  1597. ;com.allow_dcom = true
    & h/ C! A% }+ K0 \

  1598. 0 @( Y; p* d1 q' O* V& n; H
  1599. ; autoregister constants of a components typlib on com_load()
    2 d& d% M$ K: t; w* N! A
  1600. ; http://php.net/com.autoregister-typelib
    5 y: j* S$ B9 {# D& f
  1601. ;com.autoregister_typelib = true
    & C! ?7 \7 \% J; G* ]
  1602. % z* I, v8 \7 V  C# W* ~
  1603. ; register constants casesensitive4 ], E$ q& Z% g$ h
  1604. ; http://php.net/com.autoregister-casesensitive2 n3 p5 R" t5 |9 A2 `( O
  1605. ;com.autoregister_casesensitive = false
    - g- y7 J+ s) e8 \) r
  1606. 2 K) h. Q5 c& Z8 W
  1607. ; show warnings on duplicate constant registrations& o- p. }# K( W% E
  1608. ; http://php.net/com.autoregister-verbose7 F1 N* D( m- X6 Z2 s
  1609. ;com.autoregister_verbose = true! e: p4 P" U5 I$ l. R) @/ Y

  1610.   U2 s5 u! S" E/ f
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' B" ~+ P1 T! I5 R' a
  1612. ; Default: system ANSI code page
    ( x+ U9 s/ I' {1 O% d
  1613. ;com.code_page=+ m* q% p& ]- l
  1614. " W1 q" t6 v& E) r/ f
  1615. [mbstring]
    / E% T) S7 P9 p& `
  1616. ; language for internal character representation.
    9 `- p, }3 V9 ^/ K- P5 H
  1617. ; This affects mb_send_mail() and mbstring.detect_order.  C4 p* l& ?9 H8 x
  1618. ; http://php.net/mbstring.language! a7 q) j; H4 D1 s. [
  1619. ;mbstring.language = Japanese
    9 d+ l  _1 i9 v) L( T% q% b

  1620. 7 M2 ~) a' a3 l8 J2 D, G1 X
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.; [) s/ i! O) e* u$ o
  1622. ; internal/script encoding.2 P- Z+ {5 S* Q+ |1 \9 w/ |) K
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ; U# u7 O  d* h; B6 }
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    7 s- ?# `; ]0 ^& \
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- K/ M6 M3 r- t% J3 r% I
  1626. ;mbstring.internal_encoding =5 \  ?- d! G+ G' n9 m8 F  E
  1627. % x+ s$ g7 X- g
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.( G& P5 R! y' S; E& T6 V. B
  1629. ; http input encoding., u1 p. q7 ^9 c. i  L) d2 B
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.; _: x8 x4 J2 f$ h# z
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * H3 g3 m& m1 b; p* j( L
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input' v4 v% H/ E& n1 U( H. |9 X* K
  1633. ; http://php.net/mbstring.http-input; b2 @2 H/ r* o2 S
  1634. ;mbstring.http_input =* u2 \8 l2 c) @& N0 a6 L# O
  1635. ' I0 S7 u0 V- s# W1 Q4 p
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.- j4 z; V6 K, z; \$ {
  1637. ; http output encoding.
      k$ ]$ C' ~/ u' w! I1 W
  1638. ; mb_output_handler must be registered as output buffer to function.
    9 N/ P4 N' Q" y- O6 U0 Y
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.0 W; n; y& X& o# e( b, ~
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ) B; M1 E3 W+ W5 y! P
  1641. ; To use an output encoding conversion, mbstring's output handler must be set- T- z5 H$ m3 ^% C  [5 q
  1642. ; otherwise output encoding conversion cannot be performed.
    # n* x% ?$ _( t' ^1 W& p0 ~6 y# O
  1643. ; http://php.net/mbstring.http-output* a% f" x0 m8 @$ T$ S' L7 C
  1644. ;mbstring.http_output =- Y' m3 c* o0 ]) K" P
  1645. * V- R. E2 [3 B$ U. c$ D
  1646. ; enable automatic encoding translation according to* o3 s: x6 j( f) z
  1647. ; mbstring.internal_encoding setting. Input chars are
    / w1 u# r# o- X) C6 a1 O
  1648. ; converted to internal encoding by setting this to On.
    7 r: T; y: a8 X; y7 d
  1649. ; Note: Do _not_ use automatic encoding translation for
    1 H$ J6 O/ D0 s6 c( R2 _
  1650. ;       portable libs/applications.
    ( F& @6 Y! m9 d# A& W
  1651. ; http://php.net/mbstring.encoding-translation
    + U: t% B) h; d6 G/ U  B9 N
  1652. ;mbstring.encoding_translation = Off( t0 M) ^+ N; \& u0 p/ T

  1653. ( H$ _; P" c% G; e  u
  1654. ; automatic encoding detection order.' t8 E9 ]1 Y; M& Y$ Z
  1655. ; "auto" detect order is changed according to mbstring.language
    , c  d5 K4 l$ e" [+ v
  1656. ; http://php.net/mbstring.detect-order
    5 H1 |  f, ~, T8 h% p
  1657. ;mbstring.detect_order = auto
    ! v# `) M; B" D5 h# p% E( T( e2 c

  1658. ' |4 m0 X- c  l- {3 r0 l8 s
  1659. ; substitute_character used when character cannot be converted
    $ j" z1 y. O0 ]6 Z2 k
  1660. ; one from another% p! v/ H, T3 |* p3 G, c
  1661. ; http://php.net/mbstring.substitute-character
    ! e3 q/ X- t. w3 y
  1662. ;mbstring.substitute_character = none
    ; N3 K- a# S' s

  1663. . Q6 o# W* d0 ~6 u5 H; K2 ?
  1664. ; overload(replace) single byte functions by mbstring functions.6 ?' k6 A- u1 ?4 e7 M2 q3 O7 t6 L2 O
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( [( `: A5 A1 z2 E
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.# A- B5 n; ]/ i% t: @
  1667. ; For example, 7 for overload everything.
    9 s$ j4 B5 f. Y. U2 `  g+ `3 u
  1668. ; 0: No overload
    2 ?; z5 Z' A4 j& g) y; d% n
  1669. ; 1: Overload mail() function! `: g: X. b& H9 Q
  1670. ; 2: Overload str*() functions# j; _1 N* i( Q. @$ |2 i% O6 u
  1671. ; 4: Overload ereg*() functions
    ; e; W: t. M5 k% Q, l  L
  1672. ; http://php.net/mbstring.func-overload- R! F5 ^% d7 t  ^( ~+ E$ p9 f. {
  1673. ;mbstring.func_overload = 05 X$ ?8 D; o0 \$ B$ y
  1674. 9 h, T( T4 C# U, x0 r
  1675. ; enable strict encoding detection.) C. f3 G& n4 Q& E) J# M
  1676. ; Default: Off* D0 D0 `. A1 k# s% n9 H( Z4 D- Z
  1677. ;mbstring.strict_detection = On8 f+ J# a8 S1 K6 M
  1678. , Z/ z0 Z+ v( O. M
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ; C4 w6 |: e" v; M1 q& e
  1680. ; is activated.
    # ^2 x4 N* L: K7 c. S; t
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* s8 O; c, p3 |
  1682. ;mbstring.http_output_conv_mimetype=
    # ]! l% e! T( s0 i; b5 c5 T2 |

  1683. 8 n8 V3 {9 l) L
  1684. [gd]
    ' g( t5 Z6 D- U
  1685. ; Tell the jpeg decode to ignore warnings and try to create4 |0 p+ n( s  K( x
  1686. ; a gd image. The warning will then be displayed as notices+ O- W$ m; c3 D$ E8 ], l) i0 m. f
  1687. ; disabled by default
    8 P" x+ }7 s% e! L: f
  1688. ; http://php.net/gd.jpeg-ignore-warning
    , W; X( J2 S& ]3 I! \: Y: S
  1689. ;gd.jpeg_ignore_warning = 0
    4 D# D, y/ L8 P$ R* E* S! K) |( U2 t

  1690. . X1 Y; l5 J, J! \: H
  1691. [exif]; a0 P% ^( X  W$ ~8 H! s4 B: G/ j
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.: X7 k- X) {- q+ L
  1693. ; With mbstring support this will automatically be converted into the encoding
    ( a3 b& d4 ]( n6 r4 L
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    + \  B  s8 x  G, G. {% u1 c' ~
  1695. ; is used. For the decode settings you can distinguish between motorola and0 q9 Q" f9 d3 M) R+ D: f( }' u
  1696. ; intel byte order. A decode setting cannot be empty.
    ' v/ V' S' Z6 [$ y( d5 z1 x/ _
  1697. ; http://php.net/exif.encode-unicode
      u0 |+ B( o: Z, ~# [, U: s
  1698. ;exif.encode_unicode = ISO-8859-15' D$ n9 `. x0 P

  1699. ' i. w' O1 b9 S0 ~7 l6 M
  1700. ; http://php.net/exif.decode-unicode-motorola
    9 t- K) [2 x+ ~7 Z( j4 h
  1701. ;exif.decode_unicode_motorola = UCS-2BE; w$ `/ H% D, _8 E& I# K% J: q9 Q
  1702. 7 H+ t. c$ r& s) r: l4 b* s
  1703. ; http://php.net/exif.decode-unicode-intel
    $ H" @) }  h* I* ~( E
  1704. ;exif.decode_unicode_intel    = UCS-2LE. e7 j1 d  r& B" o5 O
  1705. 7 G. ]$ g" i! q$ e1 y% m: b
  1706. ; http://php.net/exif.encode-jis
    - Q4 v9 s* H' l4 e
  1707. ;exif.encode_jis =
    . m9 l. Q: b: ^% z& ]0 H
  1708. - t6 p  x) H: d1 p. A4 t
  1709. ; http://php.net/exif.decode-jis-motorola+ ~9 [9 _' @6 U4 i
  1710. ;exif.decode_jis_motorola = JIS
    & n, p* Q) F, ~: V
  1711. & d* s. i. ]. |1 Z$ x% B
  1712. ; http://php.net/exif.decode-jis-intel2 {1 u: v& O! z  ]# ?, A
  1713. ;exif.decode_jis_intel    = JIS
    6 T0 N7 w8 v. p4 h+ m8 l' Q, c

  1714. 6 n# V" d3 q) Y+ A# M& z! C1 |
  1715. [Tidy]
    . x& i2 f+ @7 _3 T
  1716. ; The path to a default tidy configuration file to use when using tidy6 m1 C6 P1 o0 k! q+ p
  1717. ; http://php.net/tidy.default-config0 d( k) w9 `( E8 o7 f2 z
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 p! p# ^1 X3 y
  1719. . q6 O, G% H4 d/ u9 j  v' z
  1720. ; Should tidy clean and repair output automatically?
    * V+ \5 j5 L" E( f' K# X4 Q7 L
  1721. ; WARNING: Do not use this option if you are generating non-html content4 p: M- @( }+ ^3 X2 |3 P% h
  1722. ; such as dynamic images& o9 _! p6 Q0 b) y
  1723. ; http://php.net/tidy.clean-output
    9 |  j0 Q# O' M+ J
  1724. tidy.clean_output = Off( Z/ w( U9 S" K* ?
  1725. 9 ^$ O" H( q) [- N5 x/ _
  1726. [soap]' }" S" ?' _' J, y2 f
  1727. ; Enables or disables WSDL caching feature.
    : ^: w6 Z7 i; K8 P9 o
  1728. ; http://php.net/soap.wsdl-cache-enabled' {7 P7 R( V/ _! n1 C
  1729. soap.wsdl_cache_enabled=1
    - }* {/ R( v/ Q' T

  1730. / A: k/ R7 O! y. o2 M3 v) a
  1731. ; Sets the directory name where SOAP extension will put cache files.; b6 R8 z5 W8 s  I
  1732. ; http://php.net/soap.wsdl-cache-dir2 m/ v5 e$ G# l$ m; }( p0 v1 J% A
  1733. soap.wsdl_cache_dir="/tmp") T0 f3 u$ M# n1 H0 r' \

  1734. * c3 i6 U: p2 m/ l# j
  1735. ; (time to live) Sets the number of second while cached file will be used; B2 z9 M* x3 [6 P8 _" M
  1736. ; instead of original one.
    " u5 U2 k: ?( d9 y  X" O
  1737. ; http://php.net/soap.wsdl-cache-ttl) F  j" W9 b5 o- Q  P( d: r5 ]) l
  1738. soap.wsdl_cache_ttl=86400+ Y" b. U0 c& B& p& P

  1739. / f) H) {$ w* e: z3 Q; m3 ]+ P6 d% _
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)" e( c$ p6 ^: H: a! H8 i5 Z+ p
  1741. soap.wsdl_cache_limit = 5
    9 Q# [  h" w5 Q0 L6 v/ d/ N3 Y" t

  1742. 6 K& e8 [' Q# X# M
  1743. [sysvshm]5 x8 v6 H5 B- p5 V2 ^6 @! @
  1744. ; A default size of the shared memory segment
    " h6 O& `8 N: d9 X
  1745. ;sysvshm.init_mem = 10000
    ! ?7 V( D  M1 J. z7 s5 H* k3 a, ^( i8 R. i

  1746. ( [3 T( \% T0 g1 @- M4 f. K) [
  1747. [ldap]
    3 Z9 o- x* t5 V" \; s
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    # }, V2 A- X3 s
  1749. ldap.max_links = -1  `7 t, f, s. m. X( h9 B( z

  1750. & \( \$ Z8 X4 z, `# ~# y
  1751. [mcrypt]6 Z; }) C7 {2 \
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 a1 g6 O3 k: q8 V# f% g
  1753.   f' W+ i) c# ^: s# [4 p3 F
  1754. ; Directory where to load mcrypt algorithms
    # r8 Y8 p2 x, I- r. u
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ o4 ~9 w5 N% e# d8 y
  1756. ;mcrypt.algorithms_dir=
    & T  h7 F5 x/ D7 l

  1757. , [% @9 ?1 p, Q3 p" F/ d  Z9 R2 P
  1758. ; Directory where to load mcrypt modes
    9 Z- d: U. ]5 e. y3 ?0 _
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 E4 Z6 L7 X/ E! \5 S3 ~
  1760. ;mcrypt.modes_dir=7 m: }# n$ h1 ^' ]4 j
  1761. $ B$ g2 D5 z- R* y8 _( c+ ^
  1762. [dba]) o) B3 s- W% I& S, N# l6 h2 W8 N
  1763. ;dba.default_handler=
    5 x: ~9 ^6 Q( y1 k0 N& I
  1764. / |& {" q: z& r; W/ f) p
  1765. [opcache]
    ' O2 M: k; C) U3 T1 I  E
  1766. ; Determines if Zend OPCache is enabled7 w& i% d5 a! _8 u: X+ |: J" D
  1767. ;opcache.enable=0
    * X7 x- i+ O3 j; J* n6 Y: I+ B

  1768. 4 q7 c( @. w. T
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP, h9 n2 x2 q# ?+ j* \
  1770. ;opcache.enable_cli=0
    ! d" ^0 Z6 j7 O
  1771. & p: |. m7 n9 |$ ?. ~6 G3 U
  1772. ; The OPcache shared memory storage size.
    $ i2 n  d  J3 I4 Q  A
  1773. ;opcache.memory_consumption=64
    - M) j& ~  C3 R+ N
  1774. 8 G# ~: k" f/ g. v( e- n! U
  1775. ; The amount of memory for interned strings in Mbytes.1 Z! Y+ c& E! _* Q3 x
  1776. ;opcache.interned_strings_buffer=4+ }. N' V; ~+ y# @7 P! K* s

  1777. ) y, W- ~9 z" U1 K1 \# a2 Z6 ~
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    " M+ }2 b- O' V6 _  W( F" G
  1779. ; Only numbers between 200 and 1000000 are allowed.
    5 Z& S3 E* q3 z
  1780. ;opcache.max_accelerated_files=2000" V1 w- j- {: f

  1781. # y8 ?/ _% _4 O% i( \
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    6 P: `3 x+ C( h8 K0 g  P( d: D# i7 p
  1783. ;opcache.max_wasted_percentage=5
    9 ]" R$ v' N4 j# m6 R3 `
  1784. % s) {" W+ v$ v" G
  1785. ; When this directive is enabled, the OPcache appends the current working
    ' F- u( P( |% B. S0 B
  1786. ; directory to the script key, thus eliminating possible collisions between
    $ E- a& i* k) a. Z; A
  1787. ; files with the same name (basename). Disabling the directive improves
    $ S! S. Y* h' A
  1788. ; performance, but may break existing applications.
    . D- t0 U: P$ V, D( H
  1789. ;opcache.use_cwd=1* p3 p0 N6 c6 `5 X( H
  1790. & L+ Q( |1 P3 ]1 }/ K
  1791. ; When disabled, you must reset the OPcache manually or restart the2 `. H3 A. Y9 p9 o. f' D7 @: A# }: _
  1792. ; webserver for changes to the filesystem to take effect., ?. O) ]1 \0 z$ {5 p6 j
  1793. ;opcache.validate_timestamps=18 C# S0 E( Q8 {: ]$ N4 }& q0 N

  1794. ! E# h0 x( H( ]# `0 m8 k  [
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    4 s) w2 @+ v$ q0 ?
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    + U/ B; I. `/ E. x& E
  1797. ; once per request. "0" means always validate)
    ! L8 L: D4 U3 ?+ u- ^
  1798. ;opcache.revalidate_freq=2
    1 f* \1 a: z$ X  Y; D4 C& q/ H; P

  1799. ; K, s* A  D! d. K' u# y
  1800. ; Enables or disables file search in include_path optimization
    * r! A( h: u8 U0 i
  1801. ;opcache.revalidate_path=0
    0 l$ Y1 T) S' K2 t% E9 v9 _; p. }" P9 `
  1802. % s, e0 a' k+ Z% M$ \
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    % ^1 {( D- \; Q, R
  1804. ; size of the optimized code.
    # O2 j  b) K; M
  1805. ;opcache.save_comments=1
    ( Q9 z. o$ ~; i; K2 R- s, M
  1806. 8 P6 |/ L. |& ^' u
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code& ?( A8 X. ^5 B( z  x! S
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ; z0 {/ S% _, F% Z  ]
  1809. ;opcache.fast_shutdown=0
    % w! ?$ A8 C' w* m: @

  1810. , `4 R& A; A& r
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    . R* A* C) E. A( }3 r( P
  1812. ;opcache.enable_file_override=03 x# `3 Q) d- i/ s; v

  1813. 6 \5 I+ o4 S$ z; W$ m/ d) T
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache$ E* U8 I: m4 {
  1815. ; passes
    : E( `. ]* k7 {7 h2 L2 b5 f
  1816. ;opcache.optimization_level=0xffffffff
    9 Q; [' O4 c% |  q6 `$ }- L' @

  1817. + Q+ R9 G1 F4 ^2 v+ F1 j
  1818. ;opcache.inherited_hack=1. @. v3 P" X* |8 H
  1819. ;opcache.dups_fix=0
    1 P) P1 c/ s' S8 [8 u
  1820. : V( g4 r6 H- B* `' T4 o
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    # _+ M( d3 ]  R' t7 r
  1822. ; Each OPcache blacklist file is a text file that holds the names of files7 e" r! C. H$ k
  1823. ; that should not be accelerated. The file format is to add each filename
    5 J* u% V9 u5 M+ H
  1824. ; to a new line. The filename may be a full path or just a file prefix+ h. [" {8 ?' a: t2 G
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www4 n7 i0 B! ^4 T9 ]- C0 c+ B0 a
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    9 L! ?/ Y* }* N! M% E$ l" K* F: N# {
  1827. ;opcache.blacklist_filename=0 C. i$ K& a2 T, H* k' S
  1828. % N; D7 \8 o5 h) n" z
  1829. ; Allows exclusion of large files from being cached. By default all files
    : X6 R+ _; Z5 |( E* C: D4 E
  1830. ; are cached.
    : v& [. ]/ Y- e
  1831. ;opcache.max_file_size=0
    5 z% y$ Z3 J4 L# _8 k- k) c3 _
  1832. ( [0 N) n4 g8 a- Z
  1833. ; Check the cache checksum each N requests.
    9 b8 E. {9 `2 e* G
  1834. ; The default value of "0" means that the checks are disabled.
    1 d. O* m9 t& A2 W2 D. a' x. s
  1835. ;opcache.consistency_checks=0
    0 F' d4 H# o1 j
  1836. 7 u( E1 b5 _6 O. r9 I: X  G
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache) y4 c2 |' q5 u& F
  1838. ; is not being accessed.
    * W% B, a% \. r
  1839. ;opcache.force_restart_timeout=180. S2 C) n" M& g3 T2 v0 o

  1840. % {( W. M/ a; d
  1841. ; OPcache error_log file name. Empty string assumes "stderr".* m; ^  w/ D( M! S# E4 S
  1842. ;opcache.error_log=& b% i8 Q0 M# \% P

  1843. ) c- ~7 W4 Z: }. g7 c
  1844. ; All OPcache errors go to the Web server log.
    + \3 B, g. R4 _
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ; M- @3 M% d4 ^
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 Z" V6 y/ p0 ?% P- b- u0 _
  1847. ; debug messages (level 4).
    , u, f2 k2 f+ c# {* @: ^+ s
  1848. ;opcache.log_verbosity_level=1
    % X2 P3 d& a7 t- @9 r; ?

  1849. - p  T) S, k3 Q' t& N1 @9 _7 N4 Y( {
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    6 H% e1 h6 O% [8 g7 N! S( B
  1851. ;opcache.preferred_memory_model=
    ' Z- W/ w' Z+ I

  1852. - G* g) S( J/ C
  1853. ; Protect the shared memory from unexpected writing during script execution.2 Z& X& q8 B" ?7 U  c) h7 i: ~
  1854. ; Useful for internal debugging only.
    9 V) A5 B  y$ i2 L
  1855. ;opcache.protect_memory=0
    9 ~$ |% S/ F2 `) c) K& N, J' L
  1856. . c# E' F6 R2 g0 c7 G- P, u8 d) U; @
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    , i3 [  X: s7 @4 A- I" B
  1858. ; started from specified string. The default "" means no restriction
    3 @2 U) _% Y5 |( v4 u2 X
  1859. ;opcache.restrict_api=" B! ]! a4 W+ J1 |  |

  1860. 2 B) y$ U( V6 P! A2 y7 Q9 g, X% b
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    . w& X! j  t: X1 k3 g. F" E- B
  1862. ; processes have to map shared memory into the same address space. This6 A; V5 v" v% U
  1863. ; directive allows to manually fix the "Unable to reattach to base address", @# u; x# |# V) q& @
  1864. ; errors.. H! U2 W. E2 A2 `, E
  1865. ;opcache.mmap_base=
    5 w9 e3 V2 ^* h9 x& a
  1866. ) T9 V" f* L# _( }2 q! k
  1867. ; Enables and sets the second level cache directory.
    6 h* m9 t4 h2 N* x8 t, N4 T
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ' O' q0 c: ]3 p# S( S( Z3 y, Y/ g! [
  1869. ; SHM reset. The default "" disables file based caching.) c$ @3 P9 P$ V# F
  1870. ;opcache.file_cache=
    9 Q# u  e& h+ G9 Y8 _0 k
  1871. 8 L% g" V3 D# e* }. ^
  1872. ; Enables or disables opcode caching in shared memory.
    1 t1 n3 j5 o8 q; I8 Q
  1873. ;opcache.file_cache_only=03 [9 F! q# v2 C8 v/ I  D# Q
  1874. " t4 Y6 E+ \  N# M  |
  1875. ; Enables or disables checksum validation when script loaded from file cache." f2 d3 z6 O' v1 {/ c3 F* A4 |
  1876. ;opcache.file_cache_consistency_checks=1
    7 w! B9 X5 c/ F( ^, e3 }$ w5 ~
  1877. 1 M: A7 O! Y# V/ s% z) B
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to: j& q% t, M3 T! ]
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    $ v+ f+ c- Z' D' ]+ A) i3 n! v
  1880. ; cache is required.; k* H% ~. @8 i/ m
  1881. ;opcache.file_cache_fallback=11 y5 j, }7 A) z4 p5 y2 j
  1882. 5 ~" m  I0 G. y$ r" H
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.: Q' R' S* D* g  i' j  `$ v1 C
  1884. ; This should improve performance, but requires appropriate OS configuration.
    + k* g7 y/ G* Y8 C; a
  1885. ;opcache.huge_code_pages=1
    5 f; @, I% V! T
  1886. 7 R, U% O! W) ~1 ~0 k
  1887. ; Validate cached file permissions.: B6 d' ~0 ^, M
  1888. ; opcache.validate_permission=0
    $ U/ t5 h# x9 E) z. b' U
  1889. 1 s0 F0 x8 V( N0 L* r8 u
  1890. ; Prevent name collisions in chroot'ed environment.
    5 {0 ~. v/ P0 T* S$ ^- j& v. P6 M
  1891. ; opcache.validate_root=0# D4 i5 C7 `3 y* k$ M8 n
  1892. " i. f; s% P: k8 M: K
  1893. [curl]
    8 ~" }' ?+ d' \. T4 q- q6 Z
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an; y: c+ ^) g4 a$ {3 `2 |, g# M
  1895. ; absolute path.9 Y( V" ]4 Z* a$ v4 O6 ?
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt9 P/ u5 e- q( ^/ u# f
  1897. / @$ Z, b* q+ H. ~7 R
  1898. [openssl]
    ' e3 a/ @- ~6 |7 w+ z" Y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem# N$ G9 w' ]# \. L/ F/ |' e- d! _
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should- j6 V  V, I- z) I4 W* Q2 o
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ) @! S6 c* k1 G  ^/ z3 Y9 w1 h" w
  1902. ; OS-managed cert stores in its absence. If specified, this value may still( g7 d: G' {3 W0 B
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ V. a6 k1 l4 E& _
  1904. ; option.
    4 R$ i$ w$ j( U; H
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt) U  g- w' T- m

  1906. 3 M$ [6 R$ x; g8 h2 {
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    * c# ?" M: w: `9 J# f0 n* j
  1908. ; directory pointed to by openssl.capath is searched for a suitable0 V, n- M. D7 `, q
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ! C7 |6 K0 B6 O) Y( w# p
  1910. ; Most users should not specify a value for this directive as PHP will
    " O' v2 I& x) \5 k& v8 X0 e0 P& d
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,5 p  p  t" V' d/ Q* R
  1912. ; this value may still be overridden on a per-stream basis via the "capath"* g5 J. d# A* }& L! }7 o
  1913. ; SSL stream context option.& h" x2 j- X9 R: [. i7 V
  1914. ;openssl.capath=8 k1 w6 w) G# m, [
  1915. . p. x4 S6 [' b$ r0 {3 _; w
  1916. ; Local Variables:
    0 s2 l' Z6 C! G7 C
  1917. ; tab-width: 4
    + ?5 `; Z; v! F6 q% }) j  r( r# _
  1918. ; End:9 V. o! L1 }7 v! B: V

  1919. 1 R) Z, o7 O4 G  p: `5 Z, U" `
  1920. ;eaccelerator7 R" ^+ p- E& S$ e1 E
  1921. ; S1 I3 H9 q7 A1 b
  1922. ;ionCube+ H, k3 M' w; F/ H+ v0 F

  1923. * n" G8 C$ ?5 K* H" `. k* r
  1924. ;opcache
    - d, {& ?  u. ?6 i! B' S7 c
  1925. : j* \7 q! C+ g% V! W* X4 }
  1926. [Zend ZendGuard Loader]
    ! x( O/ i0 {  l% v0 u% t( {
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.1 i( s; ?: n% C) R: X& k
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    7 V( q; C9 N: \9 J. m
  1929. ;zend_loader.enable=1& z( T: v' [  y# z& E) t. l* i
  1930. ;zend_loader.disable_licensing=0; M7 `# a0 I' o: r
  1931. ;zend_loader.obfuscation_level_support=3) C# P1 w7 c( F; J  a
  1932. ;zend_loader.license_path=$ ?  M6 }6 K5 X
  1933. 5 R+ s: l( M+ h5 F  y
  1934. ;xcache, ~  H( ?* x) ]! g" C! h
  1935. " Y( T+ g( |' U- _9 y) S8 H
复制代码
% p. ~! p# t* V" S1 @
' ~- ^  O  @! [% ?% [: a

, _: h% y1 O; C% W# R0 m# v% {* O6 A$ g2 u) k

* G' U9 K+ g) ]: a- L/ o- p) X* c9 K( Y  ^
5 @' [+ x7 }. `- u2 M" G
PHP5.6版本原始设置
/ S. {( j7 s/ u& n$ \' c, b# i; M3 D, G
  1. [PHP]
    ' D+ \9 w) Q4 G& k# E% O' _8 k

  2. # c% S9 ~$ j) U, N" T; [6 Z
  3. ;;;;;;;;;;;;;;;;;;;5 J2 I- A  F. a6 A! O
  4. ; About php.ini   ;
    $ d+ o* y4 k; V& h
  5. ;;;;;;;;;;;;;;;;;;;
    8 e8 n4 q- O7 w/ A1 p
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! |2 l3 t% g0 s0 ^- P2 m4 a
  7. ; configuring many of the aspects of PHP's behavior.0 _5 c. |+ N) |( W; F- v! _' |

  8. , \; }1 _! p- S; R, d
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * E+ K% ]7 G  `5 U
  10. ; The following is a summary of its search order:$ Q3 h: }) a$ u3 \" w0 }
  11. ; 1. SAPI module specific location.
    - p- A! L! u1 f  `4 ]( k+ B' q
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). h- u( h4 U  x. k
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)7 K+ J6 d  ^7 ~9 K/ b3 z" J
  14. ; 4. Current working directory (except CLI); v6 c" q& V5 _+ u& J
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP& [& x6 W% W( `0 {1 W3 V
  16. ; (otherwise in Windows)
    6 c2 q* k1 p' g) {
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / Z( X3 }3 E4 U, Z% w/ u
  18. ; Windows directory (C:\windows or C:\winnt)
    $ v9 D) Z9 A( L! P' a0 q$ R
  19. ; See the PHP docs for more specific information.- \% x: G! u# A- h
  20. ; http://php.net/configuration.file+ x/ _& U; n, G5 L1 }( \

  21. . ~. V; C  x: U- k. K) x# R
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # i6 L6 @# c6 G, _8 p5 h: ~! `, i5 {
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! \" N8 y3 S  S; G, v. [! S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 _& c# V$ R; R* t( b0 Z9 r8 F# m
  25. ; they might mean something in the future.# v' J6 s; m  P( d" P& B

  26. - P; l  e6 F, K9 @0 N3 E3 `% G5 a) K
  27. ; Directives following the section heading [PATH=/www/mysite] only0 O% G) h  w) {- i9 f
  28. ; apply to PHP files in the /www/mysite directory.  Directives% W+ k. d6 X+ g+ E! V1 N. `
  29. ; following the section heading [HOST=www.example.com] only apply to
    - ^! V! R1 c. Y3 J
  30. ; PHP files served from www.example.com.  Directives set in these0 N1 E% T, E0 ]- T& E" Q- g) L/ D  J
  31. ; special sections cannot be overridden by user-defined INI files or* M2 k4 u; o3 M. W. ~0 Y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    $ ?4 f$ `% ~+ F, c
  33. ; CGI/FastCGI.  Z  B- d* s* p5 D+ s9 c8 k
  34. ; http://php.net/ini.sections
    7 I" s: |$ T  F# c2 h: r+ E5 H

  35. 7 A2 M2 S. P: ~, ~* E
  36. ; Directives are specified using the following syntax:
    1 B- U5 ~9 z4 b1 G; |
  37. ; directive = value
    & R$ S& `9 r& `' H2 I& `
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar." I& E0 C; @* ?! p3 h3 t  {
  39. ; Directives are variables used to configure PHP or PHP extensions.
    0 R; ^6 i) B  a! Z/ v
  40. ; There is no name validation.  If PHP can't find an expected- D2 k' M4 `& C
  41. ; directive because it is not set or is mistyped, a default value will be used.# @0 z4 L, p) u+ @* f

  42. 1 B# D5 }( m$ N. X) ]2 a3 E- t
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' K* B! F$ g& B  ~
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    8 {% S# O6 J8 l6 s+ G; r2 F* C
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    / p/ z8 u8 D2 w  F2 A  ~& {+ V
  46. ; previously set variable or directive (e.g. ${foo})  d% i0 T" s$ O+ e

  47. $ \8 E9 S/ w4 M
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    $ s; z4 I9 f/ z! i$ d: N
  49. ; |  bitwise OR
    + {5 v- @; S' o! V8 u
  50. ; ^  bitwise XOR) b1 s: m. a2 J' p: H+ t
  51. ; &  bitwise AND0 ^* y# ^) `& ^6 U) B' l
  52. ; ~  bitwise NOT+ K( Y- |% k0 r! _0 R
  53. ; !  boolean NOT
    9 [: ?9 g2 o" ]- \1 v* X/ ?

  54. / T! [( N1 ?; K" s/ h% N3 p
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.) P3 L' g% l- C1 e5 t+ H/ m
  56. ; They can be turned off using the values 0, Off, False or No./ m2 c9 D; w$ b% V/ l% M

  57. * U$ R  a, N  q1 }: V* {
  58. ; An empty string can be denoted by simply not writing anything after the equal
    1 m* E: y8 H# P$ P9 w
  59. ; sign, or by using the None keyword:5 a) t. K9 w5 H; P* Y' t. ~
  60. 4 ~+ g5 k9 A) ^6 D
  61. ;  foo =         ; sets foo to an empty string
    2 A2 a% u) M8 v1 X# u- ~3 R
  62. ;  foo = None    ; sets foo to an empty string' K+ e: B1 `" V* o) e, W" p1 }3 P
  63. ;  foo = "None"  ; sets foo to the string 'None'+ a. K% t, h* Y2 ~$ ]% x" O

  64. ; y; k  ]5 c2 H8 P6 M
  65. ; If you use constants in your value, and these constants belong to a% E7 p( K8 b3 T! A6 _+ S, B
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),9 w1 S& Y7 [1 ~: n2 \
  67. ; you may only use these constants *after* the line that loads the extension.
    7 f, e3 I3 y# j9 H' {
  68. * d7 e+ M& m. m- O# g9 u) L
  69. ;;;;;;;;;;;;;;;;;;;
    ! A& T/ @# c$ D1 O
  70. ; About this file ;4 w" \4 l$ \/ T7 [7 ]2 d
  71. ;;;;;;;;;;;;;;;;;;;
    6 `+ `* t% h9 c% h( [
  72. ; PHP comes packaged with two INI files. One that is recommended to be used5 I) W4 p2 Z( R6 W
  73. ; in production environments and one that is recommended to be used in
    7 _0 H! D3 s1 d/ C# M- a! h5 ~  f
  74. ; development environments.8 n  ~$ r0 X$ r; R# `% l
  75. / E( i! C, N; O2 `1 m, m8 X
  76. ; php.ini-production contains settings which hold security, performance and2 O+ x0 v3 s% {- M7 \. t! n3 L2 Z
  77. ; best practices at its core. But please be aware, these settings may break
      {. b- u+ T1 n3 }6 [8 D" x
  78. ; compatibility with older or less security conscience applications. We
    # X+ Q, l! F7 N! v  Z0 K
  79. ; recommending using the production ini in production and testing environments.
    ) [. C( \5 U" J6 |. d* O

  80. 4 D; f6 y: S# x# W2 w1 f
  81. ; php.ini-development is very similar to its production variant, except it is1 Q, v! n( I$ e3 l* |; N5 H! c
  82. ; much more verbose when it comes to errors. We recommend using the9 m2 V8 \: {7 b7 p  u2 p" d
  83. ; development version only in development environments, as errors shown to" B% \) O9 q2 `6 t; X2 {
  84. ; application users can inadvertently leak otherwise secure information.
    ; ^/ j# j1 E5 _- L( q3 ~* ?+ Q# z
  85. * c0 u  f6 I# q6 R% v. j
  86. ; This is php.ini-production INI file.! _! I( }% b8 m1 o

  87. : n; t1 X7 A7 h7 x3 {
  88. ;;;;;;;;;;;;;;;;;;;
      G' g" Z+ Q$ H# u/ w, u
  89. ; Quick Reference ;! S" C7 Z% }/ t8 }
  90. ;;;;;;;;;;;;;;;;;;;2 J. t6 J9 a% E/ r8 u' i3 G: i
  91. ; The following are all the settings which are different in either the production9 i5 J+ J" M$ C# M3 [/ q# Q
  92. ; or development versions of the INIs with respect to PHP's default behavior.. h8 d% p8 U. a
  93. ; Please see the actual settings later in the document for more details as to why5 u1 b( D. C9 o0 N8 V0 W
  94. ; we recommend these changes in PHP's behavior.
    $ ]' t- P8 `5 L/ {% V& C
  95. 5 P( E; |1 L  B; ?  e
  96. ; display_errors
    " y- R/ l  ~- _  H9 @/ ~
  97. ;   Default Value: On, d  i8 r. a% M
  98. ;   Development Value: On' y6 W3 o: l! T4 g. ~
  99. ;   Production Value: Off
    6 S" G) V, a8 v5 y+ I
  100. 1 V, Q" H7 U# N5 d! J, Y
  101. ; display_startup_errors7 H$ I, ^0 F0 H
  102. ;   Default Value: Off
    , L) {+ ?( v) r' X' x2 {9 _
  103. ;   Development Value: On
    ! M% u/ ]9 e/ l( ?2 T( f
  104. ;   Production Value: Off
    1 J# A' j+ ]( E' [2 V) W0 ~
  105. , J4 L9 o" B) z; Q% \# ^* Q
  106. ; error_reporting
    ! ~% {- b  x0 K5 \) O5 N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ ?/ y( Z' Y: ~0 ^2 ~  ?0 f6 B1 @
  108. ;   Development Value: E_ALL2 C$ K% Z3 N* B, l  [' l* a! ?$ x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 m4 K9 e+ p7 P" j
  110. * F6 y8 K; S# x' f# \6 g3 b- A- O2 V4 H
  111. ; html_errors
    5 z% i' h# U" ]' `
  112. ;   Default Value: On
    ; Y. p) t1 h3 s, A
  113. ;   Development Value: On; E5 y) a* [& j7 i) S
  114. ;   Production value: On
    6 R5 v& \1 C3 C9 J# h) n) |

  115. ( i* ~: N7 q$ Y: ^: v
  116. ; log_errors& H0 `4 M; r* Y2 L3 I/ Y
  117. ;   Default Value: Off
    . \# b) S  y; m) ?8 i
  118. ;   Development Value: On
      M  }* G2 a. I: D9 e$ G) D# M
  119. ;   Production Value: On
    - N) ]: y6 F+ \6 @  f! ^8 n. S

  120. - Y: G8 G& r8 d5 O, Z
  121. ; max_input_time
    % s* Q' e& Z$ k
  122. ;   Default Value: -1 (Unlimited)
    4 E, c' g& i8 {" W( W; A/ M
  123. ;   Development Value: 60 (60 seconds)
    , w! E, B. z4 |" ^  O. i' {4 p7 Q& O9 r
  124. ;   Production Value: 60 (60 seconds)
    , j) H2 p2 H. q+ n
  125. / o8 g3 |" F3 J& Q. C7 \
  126. ; output_buffering; b8 _, F- U8 ]
  127. ;   Default Value: Off
    % v! ^0 ~0 ?' e& Z( m6 K0 o% z' S
  128. ;   Development Value: 4096# x. C9 Q$ C) y# o
  129. ;   Production Value: 40963 D1 Z) a$ \9 j

  130. 3 r' _1 W; m  A, N) p% A1 u/ C, `
  131. ; register_argc_argv2 y) @9 p% P3 P  U- t
  132. ;   Default Value: On3 s+ v4 p2 f5 H) J) A: ~6 W
  133. ;   Development Value: Off/ H$ o" U( ^9 R
  134. ;   Production Value: Off# r# Z* C' m/ `

  135. ) m0 P# j$ P; q+ y* U0 D
  136. ; request_order
    2 y+ W4 B0 ?; }5 ~6 l& g7 S
  137. ;   Default Value: None" P$ y& j$ A: x7 W' [, A
  138. ;   Development Value: "GP"; h& P1 A% D+ I; w
  139. ;   Production Value: "GP"" o! T7 [5 k( }8 ^5 D

  140. 4 ?" ~8 O7 J7 W3 Q& ~  A3 r' J
  141. ; session.gc_divisor
    & X; [$ b+ d" ]" X) n
  142. ;   Default Value: 100! L2 \- |1 v2 R+ y
  143. ;   Development Value: 1000- R2 T$ G. n0 J/ r$ L8 F) T# p) J( ~3 }
  144. ;   Production Value: 1000
    ) [% H6 p) [% a3 v5 \
  145. 7 q: ?' e. }8 k9 B. z
  146. ; session.hash_bits_per_character3 M5 `: Y9 `- G
  147. ;   Default Value: 4
    # {: P6 ~" m; e
  148. ;   Development Value: 5
    . B# q' {% Y* O9 f5 k' ~
  149. ;   Production Value: 5
    : ]9 T6 O+ q+ o
  150. % m6 A+ b3 F; h% e! S. p& x. B4 t
  151. ; short_open_tag6 t& @# u1 p! ]! T8 c+ I# C9 `
  152. ;   Default Value: On
    $ U" i; F$ J+ W# v2 x
  153. ;   Development Value: Off0 T7 L* s0 l$ ]' n, n$ ]2 t
  154. ;   Production Value: Off
    - d% A. G2 k/ A1 ^

  155. ' q+ G- K! a) ^: [  s" O
  156. ; track_errors; [" S- N9 M- _
  157. ;   Default Value: Off( J3 c% f. [' f$ n" D' V& q
  158. ;   Development Value: On. y3 F/ ?' G3 H5 C) f
  159. ;   Production Value: Off- y. q9 C% x7 L: @/ ]6 ^( s
  160. 3 u! f$ |( V8 ]
  161. ; url_rewriter.tags
    2 }. |4 X% [* d4 z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="$ g* T9 @- L* r: r. v
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 {. d/ D2 b& ~+ N: y7 Y
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", g  K% g6 g& d# }+ E( q$ ]

  165. - y7 S4 }0 `- J! D6 d
  166. ; variables_order0 M. }+ H- M: b
  167. ;   Default Value: "EGPCS"
    9 x2 a9 ?- a5 p
  168. ;   Development Value: "GPCS"9 ^, Z* T* {4 T; S9 w0 h2 Y. T7 Z
  169. ;   Production Value: "GPCS"7 [& `+ x3 s# `3 N( H- I2 a
  170. + k$ Y" Z( M) G& y5 d2 C
  171. ;;;;;;;;;;;;;;;;;;;;0 t, A1 S) W7 J5 J
  172. ; php.ini Options  ;, W+ P/ P( U# F1 a6 Y1 u
  173. ;;;;;;;;;;;;;;;;;;;;, r7 m* _: L1 E! K
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    9 S+ u. q7 v0 ^& r6 I! R- L. x
  175. ;user_ini.filename = ".user.ini"
    - |) n. O, R' }8 x

  176. ' ]& R- ^, n0 C+ P# I. J7 m
  177. ; To disable this feature set this option to empty value
    ; _. e7 q2 a6 p7 Q4 o0 M1 |4 t
  178. ;user_ini.filename =+ ?' a% p4 M# P) X1 G3 g" j1 J1 u

  179. 1 J9 m# O1 C4 ]/ ~
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 I7 s& S& V3 @5 P1 v* b
  181. ;user_ini.cache_ttl = 300+ {% A9 b/ Z/ x! K2 w

  182. 1 I& L6 F; \* s5 P5 O3 w" S
  183. ;;;;;;;;;;;;;;;;;;;;! {7 i$ V& P* X  K% C7 S' c
  184. ; Language Options ;6 Y+ e/ n" K9 G1 z- u, P9 a
  185. ;;;;;;;;;;;;;;;;;;;;
    * ]2 T  N0 T0 X% A/ @# S

  186. + b% T9 o) l( B
  187. ; Enable the PHP scripting language engine under Apache.3 P8 R+ i: v! x- Q& B" g
  188. ; http://php.net/engine
    ( N/ s. r7 X( N( a
  189. engine = On
    : g* ^5 L/ O: {6 a  g' \- B3 K& }# ?

  190. ; _6 a. w& i2 k- w4 q
  191. ; This directive determines whether or not PHP will recognize code between( o7 Q  T+ R$ d5 Z6 d8 P  \  J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is6 r4 k8 g/ W0 C$ L" K# D
  193. ; generally recommended that <?php and ?> should be used and that this feature# ?; M- E/ F5 a+ x, Y
  194. ; should be disabled, as enabling it may result in issues when generating XML
    9 S( \+ S- P8 \+ @1 l
  195. ; documents, however this remains supported for backward compatibility reasons.
    + l: c; H% j( }# l# n
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ! x, G! h0 i/ |" ^+ u: c4 E
  197. ; used regardless of this directive.
    0 q3 j3 `5 T' e9 E0 I( j
  198. ; Default Value: On! g7 E# i9 b; M3 R
  199. ; Development Value: Off0 s) W; h. X. R8 F3 l* ]5 I# L% a8 @
  200. ; Production Value: Off, w1 |, L$ L  Y* l2 N
  201. ; http://php.net/short-open-tag
    ( r5 U% A/ x* a0 O& q  u8 x
  202. short_open_tag = On
    / P* a2 I7 X  |. a$ [

  203. & R( |, Z. k2 d# w1 a; e; v$ V2 r
  204. ; Allow ASP-style <% %> tags.' q5 f  R0 j% v/ }/ q
  205. ; http://php.net/asp-tags% W8 d+ S( p2 t9 d# W
  206. asp_tags = Off) v5 z/ v; B; g6 L1 _0 u8 w# ]
  207. 6 x# s5 p# G4 _4 B
  208. ; The number of significant digits displayed in floating point numbers.+ s, X3 Z  Z* ]4 l  o- ]2 j
  209. ; http://php.net/precision/ b* U( F- ?7 k0 {6 Q& {3 [
  210. precision = 145 @- w( Y% V% G2 d

  211. ! R. M. T0 n3 e, O
  212. ; Output buffering is a mechanism for controlling how much output data
    / u3 P1 W, w. g: f
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    * G# @- Z5 ^) F3 }" z& s( |( t7 M
  214. ; data to the client. If your application's output exceeds this setting, PHP
    : P9 b& Q6 s3 X3 y. I
  215. ; will send that data in chunks of roughly the size you specify.$ E6 Q" F: s% g7 @, `# e5 s6 {1 C+ P
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    3 a4 P1 D* D0 J: e) Q, ^6 b
  217. ; interesting side-effects depending on your application and web server./ G3 L6 V9 e! k! S0 y* x: N0 j4 X* v$ v
  218. ; You may be able to send headers and cookies after you've already sent output
    # F1 @0 M7 s8 `+ Q9 d% x
  219. ; through print or echo. You also may see performance benefits if your server is1 H4 y# T& G- j" v0 C; M8 w
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    + W8 _6 M; g$ Z- V9 i8 K! r$ [
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ! ~7 j1 [3 {" A" P+ q3 J  R
  222. ; reasons.
    * K* r6 ?& B1 N! d4 X+ ~' I
  223. ; Note: Output buffering can also be controlled via Output Buffering Control3 b/ A& @0 ]1 S* V3 P: e
  224. ;   functions." f1 o* L; D/ z7 o2 {, X, y
  225. ; Possible Values:4 i/ r# E6 t% H( e0 ~
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 u" V5 @0 }" K2 c9 f: J' {
  227. ;   Off = Disabled
    / g' B) {; n0 S( X( V; o
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' k5 l$ ~' v* y6 W9 D4 v
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 s3 }5 v0 A* }: ~. E( S! ~
  230. ; Default Value: Off; B+ e+ T9 P2 F/ V" Q4 @
  231. ; Development Value: 4096
    ; B% q7 Q& f  i
  232. ; Production Value: 40964 u; [+ W: H" t) T5 b. m. {
  233. ; http://php.net/output-buffering& `. O6 m$ o: e# v
  234. output_buffering = 4096
    + E* ]1 J4 p% A  r, N" l
  235. ' G* b$ Q9 O" s1 c  \
  236. ; You can redirect all of the output of your scripts to a function.  For
      ^$ W3 J8 K3 Q, _0 G6 {/ n
  237. ; example, if you set output_handler to "mb_output_handler", character2 d$ l: J+ j! b0 W3 @4 E9 q
  238. ; encoding will be transparently converted to the specified encoding.
    % ?7 \4 M. G+ n: |$ Q: Q1 @7 K
  239. ; Setting any output handler automatically turns on output buffering.
    ( @9 f4 E* I1 y4 `  ~
  240. ; Note: People who wrote portable scripts should not depend on this ini2 z- h( M: A8 B. _
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) J  D5 c  z$ |3 i* f; D$ L4 E" c
  242. ;   Using this ini directive may cause problems unless you know what script& E' J4 [1 X3 \" B
  243. ;   is doing.0 ?6 O0 u- C: t9 ]: V/ K5 C
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"- L; n0 Z9 l8 R7 J/ a  Z
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    5 U$ q' p, N3 X* c* H0 N4 `1 [( @( ^
  246. ; Note: output_handler must be empty if this is set 'On' !!!!3 s1 w5 T) r' h6 h" l0 d
  247. ;   Instead you must use zlib.output_handler.
    & h+ E6 m0 |. T; o
  248. ; http://php.net/output-handler/ o' ~* f0 }1 [
  249. ;output_handler =
    . l1 L6 \  w6 n6 t1 }) T

  250. : q- p, f$ C: H& D# U+ F
  251. ; Transparent output compression using the zlib library
    # s6 ?7 Q! P; i* Y. \& ?7 S6 ^- N
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    9 G7 W4 R7 }( p# h  a  g- x
  253. ; to be used for compression (default is 4KB)+ y2 G: U+ {; V- @; k6 v: v
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ y6 i' W+ @, k1 ^+ a
  255. ;   outputs chunks that are few hundreds bytes each as a result of+ K( ^1 T5 R$ P# X" y" ^
  256. ;   compression. If you prefer a larger chunk size for better6 A6 K/ t& \; U
  257. ;   performance, enable output_buffering in addition.
    , w$ b# ]9 i4 c. A
  258. ; Note: You need to use zlib.output_handler instead of the standard  d% B/ r' w* N" \  h  [' G
  259. ;   output_handler, or otherwise the output will be corrupted.9 m* e+ ]- }4 f. e
  260. ; http://php.net/zlib.output-compression/ s6 b/ u" @) C7 @
  261. zlib.output_compression = Off
    ( N8 V% P' A. j2 R
  262. 5 y- y- |. }1 v3 x9 A
  263. ; http://php.net/zlib.output-compression-level
    * f" t) j0 B% L
  264. ;zlib.output_compression_level = -1! q2 O& d* _8 e3 M$ A3 o
  265. " L; j  T( Y! l& [/ t$ Y& B
  266. ; You cannot specify additional output handlers if zlib.output_compression
    1 [: t; s$ d5 o7 p! B
  267. ; is activated here. This setting does the same as output_handler but in
    1 X# h- w: @! i( j* O& v
  268. ; a different order.
    & B, H8 `% @$ h  }) u5 d4 K6 w% d# N
  269. ; http://php.net/zlib.output-handler  z3 Z- Q6 X" X
  270. ;zlib.output_handler =
    : _. T7 M+ d. ^/ b) K% j* ?( Y

  271. 2 K+ Z. }% m$ D- M  h
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    3 f: Y+ o- g1 K: H( J, B* V
  273. ; automatically after every output block.  This is equivalent to calling the# X9 P8 ]% V& i* k5 _
  274. ; PHP function flush() after each and every call to print() or echo() and each
    8 q: e8 O- u1 E8 {( ^5 z8 \* V% `
  275. ; and every HTML block.  Turning this option on has serious performance& Q) k; f9 A1 p. B# T( C$ R6 G- M8 }
  276. ; implications and is generally recommended for debugging purposes only.. M$ k& V1 Z" z5 G! g) O
  277. ; http://php.net/implicit-flush% Y1 B+ r  E4 G/ D- I+ y
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    + v. ~0 r) p3 u7 z1 J, ^- X  M/ _  F8 a
  279. implicit_flush = Off
    9 F: s  ^; p8 K& d5 U' Q) U
  280. - h8 U. Z0 J7 \1 N
  281. ; The unserialize callback function will be called (with the undefined class'
    - X( s2 H% @; U- _# k$ x$ x
  282. ; name as parameter), if the unserializer finds an undefined class& A) g( s  x! x; m6 A6 z
  283. ; which should be instantiated. A warning appears if the specified function is
    : R. K* V  E8 x5 W
  284. ; not defined, or if the function doesn't include/implement the missing class.7 G) @6 P' X' R5 J4 G
  285. ; So only set this entry, if you really want to implement such a
    , _8 ~4 A9 ~! H' Z+ ?- C; x, T; B8 I
  286. ; callback-function.4 h- {% w* g2 F5 f" K
  287. unserialize_callback_func =
    ' ~  D. N6 ~# ]& |0 T/ B

  288. & J5 m# N! s) ?! C0 ]7 e/ ^
  289. ; When floats & doubles are serialized store serialize_precision significant
    ! e; _# B% ^7 X* g, m
  290. ; digits after the floating point. The default value ensures that when floats4 ~4 O2 l( O* t7 \# b1 F9 h
  291. ; are decoded with unserialize, the data will remain the same.4 Y5 f( i4 q, ?7 @1 R+ N
  292. serialize_precision = 17$ _" B; _+ H5 K% o5 G
  293. " ]3 |( m4 J+ ~
  294. ; open_basedir, if set, limits all file operations to the defined directory# i! Z2 z: u& {$ _1 g
  295. ; and below.  This directive makes most sense if used in a per-directory
    / o% A6 h- p! ?" e3 Q$ u4 W
  296. ; or per-virtualhost web server configuration file.- n" I5 a2 ?6 l0 r& O
  297. ; http://php.net/open-basedir& c; u3 E( \0 T0 e  }0 T" t$ O8 V
  298. ;open_basedir =
    . m6 V, {' y# W9 a! T

  299. - T. h4 L+ ]4 v$ Y) H/ U. f
  300. ; This directive allows you to disable certain functions for security reasons.6 F" Q' g. B7 A% A& H  ^' z( [
  301. ; It receives a comma-delimited list of function names.& u! s+ E6 O0 L. s* I
  302. ; http://php.net/disable-functions
    6 L& D7 @3 X0 R# Y. H
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    / B$ w8 w* U) S6 i$ y' ^2 Q

  304. " I0 R/ P; @4 ~6 ?1 }% f- W' D; ]
  305. ; This directive allows you to disable certain classes for security reasons.: V* T( z% P" j2 j) N8 ^
  306. ; It receives a comma-delimited list of class names.4 i5 I5 o$ m# G3 ?
  307. ; http://php.net/disable-classes3 S% Q( y* d9 y" K1 j
  308. disable_classes =
    / i# S4 R  P7 |" L
  309. , S8 }9 i- Y- d( Q) m; R6 d* C, e
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
      P  I8 c. D2 g4 h* p; a
  311. ; <span style="color: ???????"> would work.
    & I& Q  ], @( p0 E& `+ z3 }, _# j9 u% ?
  312. ; http://php.net/syntax-highlighting0 C2 w0 H$ D( V3 M9 U4 s
  313. ;highlight.string  = #DD0000$ A1 o- o' u' r$ J
  314. ;highlight.comment = #FF9900
    + e, @3 H5 T' B
  315. ;highlight.keyword = #007700! h# L/ S5 T1 H; |6 P: P' q- H
  316. ;highlight.default = #0000BB
    0 U4 t; }" {9 V% }
  317. ;highlight.html    = #000000
    $ a% ~2 W* [  y
  318. 5 m* ?4 w. A0 F, `6 i9 V
  319. ; If enabled, the request will be allowed to complete even if the user aborts# P+ b8 {6 m0 e
  320. ; the request. Consider enabling it if executing long requests, which may end up
    1 I" s  V: n: k( N) ]8 n$ M% u
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior4 T/ {2 q; k/ r+ f0 ^1 z$ Y
  322. ; is to disable this feature.# u  H& j( l. Q8 j% l
  323. ; http://php.net/ignore-user-abort! W1 c9 r) U/ X# E
  324. ;ignore_user_abort = On  ?. U: h7 N% |1 Z& d' g
  325. # \# h7 ?0 \5 ^9 h, `! [) d7 J
  326. ; Determines the size of the realpath cache to be used by PHP. This value should6 A' T9 Z$ _% W
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    # ?$ d5 X0 C  ]' ?
  328. ; the file operations performed.5 q8 T& H  ~: |/ H
  329. ; http://php.net/realpath-cache-size
    $ y3 a2 S$ a3 v- n$ J0 H3 Z# ]! Y
  330. ;realpath_cache_size = 16k; _% C  }' J5 r0 g8 n; n& t
  331. 3 A1 g* r+ c) w, y
  332. ; Duration of time, in seconds for which to cache realpath information for a given0 c+ [0 {& n. q3 v4 Z: Z: J* J$ d' o
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    % e6 f" L5 q* D; {: ?
  334. ; value.; J; U6 T3 w1 X0 F4 v* I. |
  335. ; http://php.net/realpath-cache-ttl9 _6 s# Z' ?0 W  t) x1 M
  336. ;realpath_cache_ttl = 120
    + _! h4 s, f. ]

  337. ; j1 ^7 Y1 \* ]. s  h6 L. Z
  338. ; Enables or disables the circular reference collector.
    . }- z7 C, y% C8 G: R
  339. ; http://php.net/zend.enable-gc
    ) N3 h7 M5 P9 O; ]6 K( q2 j9 z" `
  340. zend.enable_gc = On7 b' E3 A1 `& }. Y/ r# h
  341. / m; l" T* R8 e: ]
  342. ; If enabled, scripts may be written in encodings that are incompatible with* H6 ]% L8 O) r: J1 v" r! e( p
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    : `8 l) P9 @& b# O: y3 P2 A
  344. ; encodings.  To use this feature, mbstring extension must be enabled.1 L* l- H" v2 @& s* a' G" B
  345. ; Default: Off) {" O: W' R; b; R4 C. q  R
  346. ;zend.multibyte = Off! }5 ~8 ?$ u8 P% p  X0 ?3 E

  347. ( h3 R9 c( N: z/ I# o
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ( Q3 F' [- ^! T# Z1 `4 L2 A  w3 Q* x
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.* {4 a8 d. p6 L7 m7 \5 j
  350. ; Only affects if zend.multibyte is set.  N3 _! O, u0 y7 m3 C5 S( [1 |" v$ L( e
  351. ; Default: ""
    5 I- @' M' ~0 k. t4 m0 D' V# I. ?2 _# w) y
  352. ;zend.script_encoding =
    * E  a" {0 {* l
  353. 0 N6 E0 [  l$ }" w* @' Q8 E
  354. ;;;;;;;;;;;;;;;;;5 }0 p0 B' X# D% q5 R& m
  355. ; Miscellaneous ;# |( K6 z1 e" m) {/ ~0 a2 O5 {: f" g
  356. ;;;;;;;;;;;;;;;;;
    # g4 s9 f# Z' r) f: E7 v
  357. ( o8 E8 e3 U% K: m0 L* ?' S
  358. ; Decides whether PHP may expose the fact that it is installed on the server% A8 J$ u* i+ \3 u9 j
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ' ?+ e7 y8 l/ O( Y- A3 y
  360. ; threat in any way, but it makes it possible to determine whether you use PHP( O$ y+ L2 h* Y+ U9 B
  361. ; on your server or not.( C2 M5 E8 j. R. m& F
  362. ; http://php.net/expose-php
    9 C  L* g- B. a0 ?3 o7 I
  363. expose_php = On# q  b5 R2 n3 l) a& a  s, n( }

  364. $ o3 z; ^3 H( J% \* U
  365. ;;;;;;;;;;;;;;;;;;;
      ?/ G) n7 E. q0 i9 ^' o- o% W. ^$ @
  366. ; Resource Limits ;; p' [7 P  z% R% P
  367. ;;;;;;;;;;;;;;;;;;;. `" }* b+ l' d

  368. 5 T" `) F( l! |7 |# z  g6 u
  369. ; Maximum execution time of each script, in seconds6 m; V5 ^9 y# `( p+ G3 l' _0 s
  370. ; http://php.net/max-execution-time! ?. q' H8 Q" N1 d6 p
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI; D6 ~& ^, D; x4 |" p9 T
  372. max_execution_time = 300
    8 y8 A) \3 U3 @& q3 N# i

  373. 0 q& l, W. N3 |9 J
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( x7 \  T  }2 X6 I& R
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 V1 g' |7 f4 Q
  376. ; long running scripts.7 ~( S& U+ N, a+ J
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    . l1 ]  W' q( ^, ^. Q
  378. ; Default Value: -1 (Unlimited)
    # o9 W* S6 P2 v& c2 d
  379. ; Development Value: 60 (60 seconds): n- r( O- \8 r) G4 C2 n0 K
  380. ; Production Value: 60 (60 seconds)# T! z  B. q! b! d1 [
  381. ; http://php.net/max-input-time
    # L8 L# E9 L5 l) R  w
  382. max_input_time = 602 C1 M6 p$ r) G1 X( I- s

  383. ; B) p. h8 \# O5 E' y
  384. ; Maximum input variable nesting level$ I8 i2 V+ H; j
  385. ; http://php.net/max-input-nesting-level: f$ ]9 d+ v% U( |
  386. ;max_input_nesting_level = 64! l: z9 C. {5 m# c' D* E

  387. 2 X) u! I2 E7 j1 b
  388. ; How many GET/POST/COOKIE input variables may be accepted
    6 E; ^# x3 Y2 E2 i  n5 d
  389. ; max_input_vars = 1000; ~% ^' S; i9 \( @' L, X

  390. ; t0 m& P; U% F/ O" ~' u
  391. ; Maximum amount of memory a script may consume (128MB)
    # ~2 \/ o6 M" q! V. }4 c
  392. ; http://php.net/memory-limit( |& i$ F1 _3 d+ h
  393. memory_limit = 128M: E3 e0 T# J+ ~; ~
  394. 4 J, }, c  i2 N9 T% z
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ j1 e. ^' \# e2 x9 y' J
  396. ; Error handling and logging ;0 ?/ S0 w. B) H/ q. u
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % r) y$ K* `, H9 r1 X7 J

  398. ; Z8 \2 l$ C3 y# T+ t3 ]! R5 h
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    * h# B! n2 d: N' \+ }! A
  400. ; it to take action for. The recommended way of setting values for this
    4 X7 X" ~+ t6 I  v
  401. ; directive is through the use of the error level constants and bitwise
    ; ?, A/ s% Y" x) p- [
  402. ; operators. The error level constants are below here for convenience as well as
    ( B9 O- L0 {  n. G2 n! d5 |
  403. ; some common settings and their meanings.
    3 P: b0 O/ u- q8 x+ e
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    " ~" k6 u5 k6 ~" l4 W) }
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and) a/ q+ G  L$ b9 P' O  N# E
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    4 m6 _  L: u* h& K# _7 `
  407. ; recommend error reporting setting. Your production server shouldn't be wasting7 t8 u) }$ ]2 g# A9 t& k
  408. ; resources complaining about best practices and coding standards. That's what
    1 H; T5 k5 r& _0 q7 B4 b4 Q
  409. ; development servers and development settings are for.* C; q8 O/ j. U4 B! q3 K6 E; v
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    # T% T7 v! X% x6 V# X1 g
  411. ; means it pretty much reports everything which is exactly what you want during
    # `# T- V4 I2 O; }4 @. R: S# E
  412. ; development and early testing.
    , v8 X+ J& h7 a
  413. ;: j6 s9 `8 {, a! t* y
  414. ; Error Level Constants:+ m' g8 i) D+ k5 B1 I
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)" c4 a% J% i: R( V
  416. ; E_ERROR           - fatal run-time errors/ c, }& T6 _6 x; h2 @, w
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors: w! r" f3 i' i1 @, X9 [
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ! q- h0 t3 D" W. a5 h
  419. ; E_PARSE           - compile-time parse errors8 z0 _# W& }7 p) R. i
  420. ; E_NOTICE          - run-time notices (these are warnings which often result3 S- b) w. \$ s: i2 `+ E0 F  g
  421. ;                     from a bug in your code, but it's possible that it was* i' L; P  L# y* G1 w: @# w' \
  422. ;                     intentional (e.g., using an uninitialized variable and$ h2 l- ~- O% a7 p5 b2 y3 o
  423. ;                     relying on the fact it is automatically initialized to an' ?* R( T' b; }  O. y# f) p
  424. ;                     empty string)
    7 A6 R5 n6 I5 u/ V# A
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes! u' O/ e: i0 X
  426. ;                     to your code which will ensure the best interoperability
    4 t% G0 L7 M6 g! |
  427. ;                     and forward compatibility of your code
    * f$ s; E: Y. Y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( l8 K" E. N! S/ Q: X9 A
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's; U5 }: b) H& E* _+ C
  430. ;                     initial startup5 K" w2 ?4 n4 c. E8 P2 x. \1 d6 K
  431. ; E_COMPILE_ERROR   - fatal compile-time errors6 K" v( |. l+ F
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    # e; r0 w( |# s1 m9 i2 z3 [: U( S
  433. ; E_USER_ERROR      - user-generated error message5 R1 q$ O( h. }# R6 g' w
  434. ; E_USER_WARNING    - user-generated warning message0 T# G$ a' V6 b1 F9 n, G: F/ @4 j+ U7 C: V
  435. ; E_USER_NOTICE     - user-generated notice message
      n) S: z! o- l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ S0 w) Q) v4 Z- @1 L
  437. ;                     of PHP
      t/ Q  x5 W8 {& `% O& C& A
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings: k7 A5 q) K. g  k, x1 a+ J
  439. ;
    / `3 |" h5 x$ @1 y7 m6 Q- X
  440. ; Common Values:0 X  G! K: m: f% }
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! u& h$ T0 c1 {+ ]) I4 T8 }
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    & K, o( R" a. x2 v8 C2 s
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    & J* e/ ~( O- b' g4 F5 G
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)# Y* Y6 b* t, V4 N6 [7 g" H( t5 }
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; Z. I3 l' a0 T+ D' f9 Y
  446. ; Development Value: E_ALL
    1 F% r; |3 ^, |" K$ ^0 R0 T! A
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( @% }& t9 J. Z* p
  448. ; http://php.net/error-reporting8 t% l+ ]% J% b3 `/ G" s2 a# Q, O5 L
  449. error_reporting = E_ALL & ~E_NOTICE
    ( n8 f" a8 B* W+ p- x; s2 ~- T

  450. 4 h: ?' P, C* G* k0 X8 Z
  451. ; This directive controls whether or not and where PHP will output errors,+ G- e5 W- Q/ @1 v
  452. ; notices and warnings too. Error output is very useful during development, but
    ! m: {# Y2 x: U* p' J6 Z1 f1 X
  453. ; it could be very dangerous in production environments. Depending on the code0 k6 E2 N5 w: w
  454. ; which is triggering the error, sensitive information could potentially leak
    2 Y+ }1 l0 W1 ?2 H7 M5 F
  455. ; out of your application such as database usernames and passwords or worse.
    4 G# Y: T$ W3 T& J: B
  456. ; For production environments, we recommend logging errors rather than
    : y; N6 S% w/ O3 s# l( b3 k
  457. ; sending them to STDOUT.
      E% y( K/ o# x
  458. ; Possible Values:
    - E/ m& V" h) e+ v2 p) m3 E1 Q
  459. ;   Off = Do not display any errors
    . {& `' s) V8 d+ e- Y. e
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)$ k: @; J6 |+ j+ `
  461. ;   On or stdout = Display errors to STDOUT6 X! ]6 \8 Y+ m9 P
  462. ; Default Value: On
    2 m+ m1 \* r3 p
  463. ; Development Value: On
    ! w* E1 M8 J; `% J4 O
  464. ; Production Value: Off/ M8 [  e7 x" @! S+ t! b
  465. ; http://php.net/display-errors5 s& h) N& N) r+ E: E8 z# F( e3 i  ?
  466. display_errors = On
    " m2 z3 R4 n5 p" u$ a2 m" O

  467. 1 ]5 W4 y. H, V( `9 o6 d
  468. ; The display of errors which occur during PHP's startup sequence are handled$ G; D5 k' d: v) t% Q! E6 ^" f
  469. ; separately from display_errors. PHP's default behavior is to suppress those& U: e8 j9 t( T( R/ d4 ?
  470. ; errors from clients. Turning the display of startup errors on can be useful in2 O5 W7 D3 W8 {7 o5 |
  471. ; debugging configuration problems. We strongly recommend you
    # L0 a& ?- M& V3 X1 Q1 y! H
  472. ; set this to 'off' for production servers.7 p3 O: I( W5 I  N+ p% Z. a
  473. ; Default Value: Off
    # A8 f0 l. s" j8 l/ |9 S1 G# A3 k
  474. ; Development Value: On
    : m4 t* s0 I* v! }6 }
  475. ; Production Value: Off
    # W9 F8 C6 w- }* Z
  476. ; http://php.net/display-startup-errors/ ^, B* V5 E/ g
  477. display_startup_errors = Off
    3 P+ G3 Q' `' j% u

  478. ' _# e$ w& r+ U: ~/ _7 v
  479. ; Besides displaying errors, PHP can also log errors to locations such as a3 Q3 w* m& X( L( Z
  480. ; server-specific log, STDERR, or a location specified by the error_log7 s5 J/ _8 o0 f9 {' R( u/ X
  481. ; directive found below. While errors should not be displayed on productions4 R3 s4 P/ x9 c  i# n, M
  482. ; servers they should still be monitored and logging is a great way to do that., q. m" b* T5 w+ z& l1 p- ?' ^
  483. ; Default Value: Off
    0 C- ~$ E  }2 ?* C5 z, ~1 ?' x
  484. ; Development Value: On& |9 h: M# R. J* w7 |; Q2 d- b
  485. ; Production Value: On+ @* m8 l5 g  N/ u+ R
  486. ; http://php.net/log-errors( v. f/ q) w2 ?' `1 f
  487. log_errors = On
    ) Z5 Q2 Q8 K" l9 ?( Z
  488. 4 B: A  E/ d& i& u
  489. ; Set maximum length of log_errors. In error_log information about the source is/ `9 K# D0 s- N7 v
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : f. K- V8 c. x" g) f
  491. ; http://php.net/log-errors-max-len. q. y0 z0 w% \- [
  492. log_errors_max_len = 1024# Q+ o$ f+ E1 p* j. g% P
  493. , Z5 P8 L3 c" t6 j; {  B
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same# P$ m, B3 j  m# z2 Y
  495. ; line unless ignore_repeated_source is set true." V# _8 Z$ |/ E( W0 i6 ^" u
  496. ; http://php.net/ignore-repeated-errors+ k' {* n$ i" {* B. c
  497. ignore_repeated_errors = Off8 R1 G! l) y7 H

  498. 3 S7 d( Y1 b* U" ^- q8 r# N2 i
  499. ; Ignore source of message when ignoring repeated messages. When this setting+ e; G3 h# D. x- x* i+ X9 i
  500. ; is On you will not log errors with repeated messages from different files or
    ! o' X9 p: d4 M1 I8 L$ G8 `
  501. ; source lines.& }4 w  I+ S# B" F: s
  502. ; http://php.net/ignore-repeated-source
    + _1 k# j7 C- R- K( Q* R- U7 \" t) d( C
  503. ignore_repeated_source = Off
    & b- O3 X/ {( t( [

  504. 8 d- y7 l, ^3 a4 y+ M* z& [1 e
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 ^+ g, Q2 J3 h' U3 K. |6 P0 x# g
  506. ; stdout or in the log). This has only effect in a debug compile, and if4 m4 ]' k, r* c
  507. ; error reporting includes E_WARNING in the allowed list, [1 i" S3 O  W% I( n
  508. ; http://php.net/report-memleaks
    & k) F% t  D0 Q
  509. report_memleaks = On  @9 g! ]- x+ d" i

  510. $ `! i2 Y2 ~/ e
  511. ; This setting is on by default.& G1 ?9 ~1 d& u# z" \# |
  512. ;report_zend_debug = 06 \8 v3 a) t1 P) E

  513. 4 A6 V. g2 R% W5 q& E9 V
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    1 j; e; L, M- W- U7 p
  515. ; to On can assist in debugging and is appropriate for development servers. It should9 g* O& e; Q' o3 T1 v0 e
  516. ; however be disabled on production servers.( x, n' D5 C0 O) P7 w
  517. ; Default Value: Off# h% |+ o2 Y7 }& k
  518. ; Development Value: On
    ; d6 g- p  M6 G7 w* t6 X
  519. ; Production Value: Off. W. [: y8 d; m; O1 G4 X; w% R
  520. ; http://php.net/track-errors6 J* q/ m8 y1 O  _/ ^8 z( [+ c
  521. track_errors = Off
    / E5 |# b0 `$ C: A/ q4 N" {' p9 Q& j2 v

  522. % a8 Z5 U/ \5 ^, L1 N5 Q1 e: R
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    7 l9 o5 n( |# P$ X4 Q4 S. e
  524. ; http://php.net/xmlrpc-errors
    # e7 ~0 Z' H/ ^% O+ G
  525. ;xmlrpc_errors = 0
    ' `# N$ O$ y, E( C
  526. 3 C) c: {  s# o/ `& l4 P/ j' H
  527. ; An XML-RPC faultCode! f; ]9 m  P/ I  w  ~5 H& f
  528. ;xmlrpc_error_number = 0  R# l7 e* j8 ?* s5 Q+ g
  529. 5 F! j, D) Z! L3 J; i
  530. ; When PHP displays or logs an error, it has the capability of formatting the3 a) h% G' C' _4 g' k- s* R
  531. ; error message as HTML for easier reading. This directive controls whether
    0 p4 L% `0 U( l* D. I
  532. ; the error message is formatted as HTML or not.
    " ^1 Z/ O% _4 \( Y, x5 {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " @0 e0 k6 Y, L* [9 z- [* |( p4 o
  534. ; Default Value: On
    5 P4 Q. v" L; _$ W9 v
  535. ; Development Value: On
    0 j9 K& ]2 T5 o) Y5 {
  536. ; Production value: On
    2 |' \- R" I, q& [. L
  537. ; http://php.net/html-errors
    " B6 }2 d- T7 N% r
  538. html_errors = On
    ; r9 q1 t5 j  H' }4 W6 Z8 d

  539. ; c0 m6 I& v% \7 n$ l
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      Z' q% M; J) z8 I9 H( Z! t/ J
  541. ; produces clickable error messages that direct to a page describing the error7 W# ~* P% z) D8 N7 C% a0 h
  542. ; or function causing the error in detail.- H9 [, v+ v7 {5 i8 Q8 m6 ]
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ' g8 {7 `$ |/ {. k8 C
  544. ; and change docref_root to the base URL of your local copy including the& y4 w! w" R4 w* n7 m* j* k
  545. ; leading '/'. You must also specify the file extension being used including
    " L! |+ M* G4 i6 z  h* N& Y# c9 c
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which5 _" Y/ ~% {, ^2 E8 D8 {
  547. ; case no links to documentation are generated.
    6 X. ?, l$ ^. Q2 D$ m8 h* A
  548. ; Note: Never use this feature for production boxes.  U1 H3 g/ I* ~1 z5 t& Y
  549. ; http://php.net/docref-root5 {* G( A9 E' P: P: O
  550. ; Examples3 |/ A2 Z" Z! Y; `: C" O* _1 B
  551. ;docref_root = "/phpmanual/"
    $ ^" T7 a. X# {6 G. u
  552. % o. I/ w! l) M& @0 a
  553. ; http://php.net/docref-ext
    ( A- S$ u( {1 T  H- L- O
  554. ;docref_ext = .html* m: O. [$ A" S/ W' t

  555. 1 L$ _6 _2 F0 J' H' Q3 u
  556. ; String to output before an error message. PHP's default behavior is to leave
    6 F  M" }. W- ]
  557. ; this setting blank.( {2 z& B0 J9 d
  558. ; http://php.net/error-prepend-string" B# F" |$ Z+ v" s, ^
  559. ; Example:
    4 c, ]/ F! a" {7 V
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    3 C+ j: \+ ?% G+ t

  561. , o( \* ]4 s5 Y* s' ~; r) B2 k1 t
  562. ; String to output after an error message. PHP's default behavior is to leave$ s5 D* u# L. E: L8 O# v5 c6 s8 L/ z/ c
  563. ; this setting blank.- @# p. ~0 s, z  s3 p% h' s7 u
  564. ; http://php.net/error-append-string
    , V% [# N$ _! N# v6 S' o
  565. ; Example:
    ) H& y: f% v8 m0 e6 {
  566. ;error_append_string = "</span>"% \) T6 z4 E5 n- s4 n) H

  567. # l0 N' l' v; G: V% p. M" [
  568. ; Log errors to specified file. PHP's default behavior is to leave this value9 J! @) G7 e/ M2 k; G1 J" [: S
  569. ; empty.+ d/ r+ w. Z* ~" S( N
  570. ; http://php.net/error-log) _5 `- S/ c8 ~# ~
  571. ; Example:/ m! I# X0 q$ e/ x$ G7 G
  572. ;error_log = php_errors.log1 c5 R4 X2 y0 j+ J2 K
  573. ; Log errors to syslog (Event Log on Windows).# ]3 v( o! _/ h% v
  574. ;error_log = syslog/ r! T& I0 h4 _! g

  575. 7 I" Z0 F, g/ V
  576. ;windows.show_crt_warning
    * u" e9 z0 N- E0 m! e9 V# I
  577. ; Default value: 05 E& y5 K1 g! [* v6 x" K6 e
  578. ; Development value: 0( ]- ?. V4 |! R* Z$ ?, J
  579. ; Production value: 0
    2 {7 D5 C9 A7 t) ^. m2 I5 G  K
  580. 8 C2 V- I; H& v
  581. ;;;;;;;;;;;;;;;;;
      f8 F/ Z( W3 p4 A' ^: N( b% j
  582. ; Data Handling ;. T$ O+ g2 |! S( `4 K7 A+ q4 H
  583. ;;;;;;;;;;;;;;;;;
    . A( t! }6 A$ m

  584. & L0 ~; F8 ~7 g& ]: R& S5 u
  585. ; The separator used in PHP generated URLs to separate arguments.2 I. {/ O/ |$ |( z
  586. ; PHP's default setting is "&"." I* ]! C' M( o/ l
  587. ; http://php.net/arg-separator.output6 Q6 O) D% b: B9 h$ `5 W4 W& X6 A  {7 R
  588. ; Example:
    " L  s- m' b' C3 }) j
  589. ;arg_separator.output = "&amp;"
    ; G8 I) S5 i4 D4 F

  590. ! X! ^  j- d, y7 Z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.: K) T/ S6 l' ^, C% g# h! F
  592. ; PHP's default setting is "&".
    9 X$ D( ]- b0 A6 N, c
  593. ; NOTE: Every character in this directive is considered as separator!( n9 D. v$ ]$ ~3 v' K
  594. ; http://php.net/arg-separator.input( \) h7 H" j  @3 @
  595. ; Example:
    9 t# j$ B7 P$ \
  596. ;arg_separator.input = ";&"& M7 s' I  g& G& F/ W
  597. ' ^, r* l7 s- g, @- _& r) e
  598. ; This directive determines which super global arrays are registered when PHP
    : O+ |5 C: A  ^! h+ B
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    8 b% i" d$ U" [8 |8 k
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty& Y5 u  R9 ?* z# z. c0 O! j
  601. ; paid for the registration of these arrays and because ENV is not as commonly: T2 b6 y7 \, g3 g# t
  602. ; used as the others, ENV is not recommended on productions servers. You
    . E5 L- \6 U/ ~* {. m: \4 {4 m; w4 n
  603. ; can still get access to the environment variables through getenv() should you
    ; ^  C0 }+ T/ l: O1 w5 P+ X
  604. ; need to.
    6 }: }0 Q1 g4 e
  605. ; Default Value: "EGPCS"% ]/ Q$ A/ t2 V6 ?* T
  606. ; Development Value: "GPCS", L+ a$ ^+ ~& }0 M; Q: _
  607. ; Production Value: "GPCS";: j% ?! H/ ^5 @  ^
  608. ; http://php.net/variables-order
    7 d4 ~3 l. Y9 s& F5 c& n7 T( i0 c
  609. variables_order = "GPCS"- @3 T0 r: C5 M. J' e0 S8 h& k9 _2 S

  610. 3 E. W3 }7 S# G0 a% F# u' M
  611. ; This directive determines which super global data (G,P & C) should be( F$ x  c, S! \. z5 w
  612. ; registered into the super global array REQUEST. If so, it also determines
    4 R2 w) P! m. H$ n# M9 ?
  613. ; the order in which that data is registered. The values for this directive
    * h- I5 m8 J+ G) W1 Y
  614. ; are specified in the same manner as the variables_order directive,3 ~* }2 l( ~, M7 n
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ X* }0 P5 p9 c1 {
  616. ; in the variables_order directive. It does not mean it will leave the super
    $ ?& S! O+ k2 O9 k
  617. ; globals array REQUEST empty.8 o# Q1 [! ?5 ~0 O; ~
  618. ; Default Value: None
    ' ~. W% J9 E) E6 }, ~
  619. ; Development Value: "GP"
    7 m7 |- F; L% Z' ~( W' V2 _
  620. ; Production Value: "GP"- s. R( S2 ~" {. e' C0 Q
  621. ; http://php.net/request-order" D' c1 O* K2 H$ \' P' j9 h* w
  622. request_order = "GP"
    4 S8 _# L  s& j5 ]' }- `
  623. " u- O0 z0 e1 _
  624. ; This directive determines whether PHP registers $argv & $argc each time it/ A$ ~  h- m  L8 n3 R
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; w5 E9 R9 N) C" }( _- n" [
  626. ; is invoked. $argc contains an integer representing the number of arguments5 n& s0 A9 k* D6 N+ _9 e  q9 P% x
  627. ; that were passed when the script was invoked. These arrays are extremely
    ! b0 A2 B) d$ K! F) P
  628. ; useful when running scripts from the command line. When this directive is4 }, x- q% g# i( X6 s( _& \
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 V0 e4 q2 q; F/ e7 t( [7 D
  630. ; a script is executed. For performance reasons, this feature should be disabled
    $ i/ G- W4 N: ~( }
  631. ; on production servers.& D# @( n7 T5 W6 ]
  632. ; Note: This directive is hardcoded to On for the CLI SAPI1 e5 \" q: ?! c) v8 ^3 F; ]1 ^* x+ i
  633. ; Default Value: On
    5 V+ A: [: y0 Z5 ?
  634. ; Development Value: Off% `* r% k; f# O5 N
  635. ; Production Value: Off" D7 i& Z. p, {: g3 \
  636. ; http://php.net/register-argc-argv. Q& Y& p6 `7 u% d# H: N
  637. register_argc_argv = Off
    ' u, Z8 z6 u/ O, V' u) _) ?
  638. * C$ K- a) r3 ?6 `7 X
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're/ L7 K: ?' z. E  ]1 n7 v9 w/ f" P: S
  640. ; first used (Just In Time) instead of when the script starts. If these
    0 M7 l# G5 d& v. E/ @% \/ T
  641. ; variables are not used within a script, having this directive on will result! S8 Z( _# M" D- s
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled, T, l) n& E' p- J# R" Z; n
  643. ; for this directive to have any affect.
    : Q4 h) ^6 D! T5 y, d" X" G' m
  644. ; http://php.net/auto-globals-jit
    8 l' M% p3 r* W) b7 T
  645. auto_globals_jit = On
    $ x# m7 s& U$ `
  646. ! t2 e# v1 h6 k& }* ^
  647. ; Whether PHP will read the POST data.  d/ W# @) |. K. J
  648. ; This option is enabled by default.
    7 Y8 _  [6 S& C6 r3 C; W/ b2 z. Q
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    : o! `8 v2 G6 S; y+ a9 y# f
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    9 ?$ ~; U. G' `% e9 A( L; y5 d
  651. ; POST data will be through the php://input stream wrapper. This can be useful' S* t5 H' r/ B$ a" z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.0 Y7 Z" \  N6 T5 y0 J! q) X# }2 U
  653. ; http://php.net/enable-post-data-reading
    9 T( f; Z1 ]# X8 R7 x) j( Q
  654. ;enable_post_data_reading = Off7 |7 O" {7 U. V' a
  655. # k, Y$ m) h2 a5 Y9 t4 K
  656. ; Maximum size of POST data that PHP will accept.
    - b5 x; {3 f$ g+ N, K* s: W
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# T8 d+ c6 a5 Q. ~" u
  658. ; is disabled through enable_post_data_reading.
    / _- M9 {0 D1 e6 b
  659. ; http://php.net/post-max-size  a' o- Y+ t. {# R" o
  660. post_max_size = 50M
    - C3 T' c: R! G/ S- _

  661. / E# W& c/ x, C
  662. ; Automatically add files before PHP document.
    % k+ E! d' A0 j$ B' c/ i! F+ I7 H9 t
  663. ; http://php.net/auto-prepend-file/ w8 |( n4 a! ?% B3 J+ w# m
  664. auto_prepend_file =; L4 C" p) C* f/ O- G

  665. % f3 ?) ~5 D0 @1 D- G
  666. ; Automatically add files after PHP document.
    7 ]  i! [& l! T7 F# F4 Z% ~: D/ p
  667. ; http://php.net/auto-append-file) e* E; k4 c2 l9 y5 {& d( \
  668. auto_append_file =
    6 W+ q: _& x' l/ h
  669. 9 L3 {1 b2 i7 Z
  670. ; By default, PHP will output a media type using the Content-Type header. To
    1 v4 }5 |% D$ ]8 l( T5 ?( L
  671. ; disable this, simply set it to be empty.
    % |7 Y3 M/ _8 j) p  S; I! y% Z& G, S
  672. ;* m$ C! U/ ^( d( g' ]) D7 F3 J" N. E
  673. ; PHP's built-in default media type is set to text/html.
    ' j: O; D8 p* r" R! T* {6 d
  674. ; http://php.net/default-mimetype
    . P3 |; g( s; g' i2 w4 I
  675. default_mimetype = "text/html"$ e6 p# J6 s7 C

  676. * a; H' o; C; B+ E
  677. ; PHP's default character set is set to UTF-8.8 d1 s' N# y' B, y' r: W, ~* F1 t
  678. ; http://php.net/default-charset
    6 b. t/ ~) S. G& K! V
  679. default_charset = "UTF-8"4 m7 u6 O6 G/ h* y

  680. + F  E/ P  N  V9 @
  681. ; PHP internal character encoding is set to empty.: c, M7 s1 f0 Q  ?/ w
  682. ; If empty, default_charset is used.  m  S' }1 J) w3 s; ^" S
  683. ; http://php.net/internal-encoding% ?4 |# k" W# M
  684. ;internal_encoding =
    6 c! \, l5 f, ?" B

  685. * J; k- Q+ c1 C( s  l  P& C
  686. ; PHP input character encoding is set to empty.
    ; ]1 |: j2 B) I3 d0 [
  687. ; If empty, default_charset is used.
    3 C" J+ r/ f$ o" k: w! U' T  r
  688. ; http://php.net/input-encoding
    4 ^+ N- y  O; Z. V/ r
  689. ;input_encoding =0 `5 u, D8 I- ?: \( W" W4 h( ~
  690. 5 I0 n7 q4 {) s% x" z% [4 h- n
  691. ; PHP output character encoding is set to empty.
    2 Y/ D& ~; u/ b' X/ C* K
  692. ; If empty, default_charset is used.
    0 q* u8 H8 |5 D' u: }
  693. ; See also output_buffer.; X. p6 s  b. A) z1 q' {' Z
  694. ; http://php.net/output-encoding
    0 W2 U: p$ o- M! ~- n0 Y
  695. ;output_encoding =
    4 d' N9 ~: r  H' G+ o
  696. , S/ E& P+ R+ j0 }6 C8 R" t
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    1 w5 R8 ?' h% C0 G
  698. ; to disable this feature and it will be removed in a future version.
    8 k4 U* [8 M5 o" Z# D8 j) l1 v
  699. ; If post reading is disabled through enable_post_data_reading,9 B6 ^& m! Z5 [" ~2 E& Y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.. p8 N5 y* ~9 v- Y9 _7 @4 c
  701. ; http://php.net/always-populate-raw-post-data
    2 |+ ]9 W# A3 I# {! {
  702. ;always_populate_raw_post_data = -1( w- V- a: k* y2 S% ^3 M
  703. - Y5 \' A) O) ^' E, y5 [
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ X9 Q/ o9 C" z, Q" W7 R: a
  705. ; Paths and Directories ;
    + h- Y- g( R2 g9 d
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;9 u2 N& N+ f: s! e

  707. 7 D  j; C; Y" m/ T7 t
  708. ; UNIX: "/path1:/path2"3 d( C; l" J& b5 @
  709. ;include_path = ".:/php/includes"9 n  K* F! v5 P  P- m" j
  710. ;. Z( C% N' C" L: ]. T
  711. ; Windows: "\path1;\path2"
    . r8 ~. U! m: [+ K- S
  712. ;include_path = ".;c:\php\includes"
    , Z0 ?- w& s; {0 z1 s, {2 F
  713. ;
    + k& _; O: Y' l5 x0 h% a: B
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    % ]9 t- h1 B1 x; q* k2 Z9 k
  715. ; http://php.net/include-path& |7 X' v$ e& Z+ \# B: C% V) s) V

  716. " [) X& {$ X0 V+ p7 C8 S( y
  717. ; The root of the PHP pages, used only if nonempty.8 R: s* r% i2 e* e% e9 L) g
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# \! G# v, c+ w
  719. ; if you are running php as a CGI under any web server (other than IIS)
    " T% F4 B+ L5 x5 }
  720. ; see documentation for security issues.  The alternate is to use the. S* i* o, t; _% m$ @" T' X
  721. ; cgi.force_redirect configuration below$ E7 f: b& B' Q/ Z$ o' S* v& n
  722. ; http://php.net/doc-root
    ! x0 B: w1 c. m2 D7 v- {4 H
  723. doc_root =0 G2 G' }$ Z; N' g

  724. 5 \0 y( ~& F! P3 m7 a/ f+ ]9 v
  725. ; The directory under which PHP opens the script using /~username used only
    2 L! ?5 C. C/ B1 q/ R
  726. ; if nonempty.! a; n, J9 Y* n" W( R  H
  727. ; http://php.net/user-dir4 b# S+ m7 J% d  v0 n
  728. user_dir =
    ( |* i3 g7 S1 ?' Q

  729. + ]" @7 W1 V  A% {" d, m3 s' p
  730. ; Directory in which the loadable extensions (modules) reside.. [  y" U/ A' v9 n2 m
  731. ; http://php.net/extension-dir3 i; M! V: ^) \% c  Y/ w- C
  732. ; extension_dir = "./"7 K' I# S5 k/ J9 v
  733. ; On windows:
    ' q% h5 n4 I" s) }
  734. ; extension_dir = "ext"
    8 J, o) p' i. R

  735. 2 C9 U$ ]  Z% B7 S
  736. ; Directory where the temporary files should be placed.+ F0 E; T. f5 S( }1 ~) `5 V- P
  737. ; Defaults to the system default (see sys_get_temp_dir): u' g% o! H- f9 k
  738. ; sys_temp_dir = "/tmp"
    " R" `  ]1 W) ~+ R

  739.   [, ^) r5 f7 D$ G, o6 u! w
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + S% r0 x& |, X1 j) A  s
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    % Z1 D5 D6 h' S& @& k6 o4 I
  742. ; disabled on them.# I- @3 r0 e3 t! e% \3 t$ I) M2 X
  743. ; http://php.net/enable-dl0 y% l$ B7 `- e+ a5 z
  744. enable_dl = Off
    ( M" L3 @% @: M; N- _! A
  745. % H9 K  `. S# Q1 C- i& ~2 H4 S% t0 @, _
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ( }3 P& V) t. p8 O4 v2 D
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can: f; }4 y+ _, X9 n3 h% `" q
  748. ; turn it off here AT YOUR OWN RISK
    / m3 Y3 Y) L* q
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
      i7 f& Q9 `1 C$ S% j) N% d6 w6 E) h: Z
  750. ; http://php.net/cgi.force-redirect6 [1 ~4 w  _: e. b$ `! s
  751. ;cgi.force_redirect = 1
    & o/ z% _2 b7 z3 b+ I* G; Y  M* u3 F  ]
  752. " z& V7 F+ o7 {
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with* u% O  g# d$ E# X$ \  T- N
  754. ; every request. PHP's default behavior is to disable this feature.* F" U" y! \$ J  t3 b* X1 R
  755. ;cgi.nph = 18 a9 w2 }* V6 @% ]' }

  756. 8 K1 s# R( _8 b! ^+ r
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape, g8 n/ g- t- |
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ) V- N# j! f% n! p+ V
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY# N& r, c7 e/ ]  N) k# f" _5 l( T- b) \
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    % \( p* M6 ~$ J4 B! [
  761. ; http://php.net/cgi.redirect-status-env5 B) O' r  _" H% E$ L1 {; {' n
  762. ;cgi.redirect_status_env =) D; h3 ~/ [' t7 G5 s* `" B2 _
  763. 6 f0 N2 F4 ~- R& x
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's: I( }3 N: N- X" e) Y/ K
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok- x: H; R$ T# f! L9 |! R; J
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting# k: u6 f; b: U
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting& m2 P3 S( b% I# V
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      [# P+ ~" a: G) e
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ r/ E9 u2 S4 s0 s
  770. ; http://php.net/cgi.fix-pathinfo2 R6 E% Y9 Z: g# ?  Y
  771. cgi.fix_pathinfo=1* p  a( k1 g% t' x1 \5 I3 F: P

  772. ) b- u+ ~. B7 x; N; k& p- D/ p: z
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside, L" F$ d" @% S
  774. ; of the web tree and people will not be able to circumvent .htaccess security.) ~' _7 h4 y9 p& Q, X* ~% G
  775. ; http://php.net/cgi.dicard-path
    ) G2 Y& ]4 U1 A' E
  776. ;cgi.discard_path=1
    ) r# J; h6 T6 `2 G
  777.   E9 Z2 \6 W3 N: S
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ N) c8 a& d( _% B  o, M: `
  779. ; security tokens of the calling client.  This allows IIS to define the- _$ a. |6 J" U0 R+ G9 H
  780. ; security context that the request runs under.  mod_fastcgi under Apache. R/ N: H/ F+ I, w" d8 \; ^9 l, p/ q
  781. ; does not currently support this feature (03/17/2002)
    ) ~. P4 W. @* V1 C- i
  782. ; Set to 1 if running under IIS.  Default is zero.
    # t1 o4 V6 Q; W0 |7 I3 U
  783. ; http://php.net/fastcgi.impersonate( y# o$ T' j- Q" J( u+ ]
  784. ;fastcgi.impersonate = 1
    4 t: j; h0 k& W5 N

  785. 0 y5 w7 g+ `) a1 y$ u
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" ?% F  J! U2 L* {
  787. ; this feature.3 \- t/ U9 L: m0 |7 t. C# l
  788. ;fastcgi.logging = 0. {/ i3 y" o# M% D1 q

  789. 4 f- e0 y& x8 h) D) ~( W6 E
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ T. L$ g4 l6 Q' ?/ c+ e" u
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ( H. `  P0 i- h5 \. T+ d+ \- A; {
  792. ; is supported by Apache. When this option is set to 1, PHP will send& K7 j  p. @3 @! t; p# M
  793. ; RFC2616 compliant header.2 K# k1 Q7 C2 h6 i# j- s4 J
  794. ; Default is zero.
    . \/ i3 I! e+ I" g
  795. ; http://php.net/cgi.rfc2616-headers& A: B: S8 c# i; Y' w
  796. ;cgi.rfc2616_headers = 03 s8 U8 \7 f7 @2 n' r1 @8 ]

  797. . B- V- ]9 f, P$ Z
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # O! _6 y! Q* U: ?
  799. ; (shebang) at the top of the running script. This line might be needed if the
    % d; }7 h3 a0 e& g4 q# q
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI3 m0 q# n+ R' _; a! p# D
  801. ; mode skips this line and ignores its content if this directive is turned on.
      q: b* T- P3 r7 [4 J( f
  802. ; http://php.net/cgi.check-shebang-line) ]9 y! ]+ t' S' D! R, o+ T
  803. ;cgi.check_shebang_line=1  b( B( n' u. p- s8 X# l
  804. 3 C5 [7 T2 j4 @) A6 \6 h: R9 t
  805. ;;;;;;;;;;;;;;;;
    . q6 I2 o) L+ T2 _* y* _7 v
  806. ; File Uploads ;
    4 P0 H  a- P* T6 G
  807. ;;;;;;;;;;;;;;;;+ c6 x7 i: A- a7 V7 v0 s
  808. ) F7 h7 S; s6 |5 i0 E  m5 E
  809. ; Whether to allow HTTP file uploads./ d- m' l/ n0 k
  810. ; http://php.net/file-uploads
    1 J" P" z  o1 Y6 d2 o: @
  811. file_uploads = On' K' l) z) ~5 ~6 G( z' `& p* T
  812. - T1 B  R9 B' o8 n/ _! E+ S
  813. ; Temporary directory for HTTP uploaded files (will use system default if not* z; o9 C1 x  e" t8 d
  814. ; specified)., `( T( m1 k6 h6 f
  815. ; http://php.net/upload-tmp-dir6 O2 V" G4 _& s4 d+ W
  816. ;upload_tmp_dir =
    % t( b' s- A- W
  817. + E' v# ^( d3 D; g' G/ `( V% g" ?: _
  818. ; Maximum allowed size for uploaded files.
    " w" v7 ?' {& I# L) q
  819. ; http://php.net/upload-max-filesize$ r/ g* j( ]8 O& b2 Y' R
  820. upload_max_filesize = 50M2 m! `3 C3 z: Y. N1 ^
  821. $ o' o% M1 w+ I' F0 {4 B
  822. ; Maximum number of files that can be uploaded via a single request
    7 _" Z4 D( g1 w! @1 I7 f" |* d0 i
  823. max_file_uploads = 20& ]3 A8 i% x. w
  824. 6 f6 P( s3 d# a6 V
  825. ;;;;;;;;;;;;;;;;;;0 b8 M( G. Q- ?9 C
  826. ; Fopen wrappers ;8 X- b& X1 U* `) F( q  R
  827. ;;;;;;;;;;;;;;;;;;) S* j& H5 [% w5 `) |2 B- j
  828. ; |" d, K4 R8 j( x
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.0 D( ^) C* P, m: J
  830. ; http://php.net/allow-url-fopen% P+ k$ x8 n* P
  831. allow_url_fopen = On
    : a* q7 j/ |: k/ b7 }

  832. " R- t! L& s8 }) J  R3 s( ^
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.4 z) q3 j- h) d* f; k6 A+ M+ q( V
  834. ; http://php.net/allow-url-include/ B  R( U1 G4 j1 {7 ~
  835. allow_url_include = Off) x; D+ [& {' ^2 }
  836. 3 I* I+ E  N: f( w! S& m) L
  837. ; Define the anonymous ftp password (your email address). PHP's default setting5 k. u: F. I" z2 u5 I4 l
  838. ; for this is empty.
    ' g- a: X; P  r, H5 S; \; u
  839. ; http://php.net/from
    ' K, o7 \& ^- N$ A0 e. t) r9 |
  840. ;from="john@doe.com"$ N0 [- A- s% u* w3 {; a

  841. % S1 ?# F; S+ s# @6 K
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    & ~# E3 U7 V5 V  ~
  843. ; http://php.net/user-agent
    ' R6 r3 j2 f: u$ N( D; g1 B3 N9 v
  844. ;user_agent="PHP"
    ; E( h; F. h' u
  845. 7 _) e. C3 @! y3 y
  846. ; Default timeout for socket based streams (seconds)
    8 a# e+ D- I8 z* r- [* r% R! s
  847. ; http://php.net/default-socket-timeout
    8 X. p7 g4 X, n
  848. default_socket_timeout = 60' I* C2 n' Q" k: x
  849.   y: f. w7 P/ i  W
  850. ; If your scripts have to deal with files from Macintosh systems,
    / O" m0 j' v, J& w9 ~! s
  851. ; or you are running on a Mac and need to deal with files from4 f: h0 n+ N# f- ?1 R! m* z0 r" s( x
  852. ; unix or win32 systems, setting this flag will cause PHP to
    6 D8 m" h* u8 M; @# s
  853. ; automatically detect the EOL character in those files so that
    % f' Q5 s) I8 p
  854. ; fgets() and file() will work regardless of the source of the file.
    5 V) p- O% I5 a5 x6 s9 Y- |3 S
  855. ; http://php.net/auto-detect-line-endings
    # W, M& O- Y  @
  856. ;auto_detect_line_endings = Off
    2 h/ k9 f/ \- i3 h
  857. 9 ^. j+ o8 X, X7 b1 s5 j/ @- t
  858. ;;;;;;;;;;;;;;;;;;;;;;
    5 \* H, @" F& C
  859. ; Dynamic Extensions ;
    1 g0 ~3 G( X4 @4 i7 d
  860. ;;;;;;;;;;;;;;;;;;;;;;
    1 Q, `) d0 Z7 z+ `# a8 `1 t
  861. + d0 f& C1 Z0 d0 c! Z
  862. ; If you wish to have an extension loaded automatically, use the following
    0 H8 F! Z# |9 V, i1 e2 [
  863. ; syntax:% X: Q: s4 Z/ \) P4 y
  864. ;7 Y% I1 {" E) q
  865. ;   extension=modulename.extension% B) X5 R0 c. {; d% k$ `' {7 _
  866. ;) g' J% h0 ?) ^$ g0 m/ p
  867. ; For example, on Windows:
    5 ~. y+ L' E' W5 t
  868. ;' x$ g8 @2 F$ T( I% x/ H! _
  869. ;   extension=msql.dll
    2 A; h2 k! F- F
  870. ;0 [- \4 Y6 e+ k
  871. ; ... or under UNIX:
    7 x5 p1 l9 s& q& u4 ]2 `4 p
  872. ;9 E% }# g" X; c# J! C) q1 ?
  873. ;   extension=msql.so
    & z- |- U4 ^+ B; J- w
  874. ;
    $ S$ c4 x" B* w& o$ F4 a
  875. ; ... or with a path:
    . Q; h) ?1 Y: |+ P6 I! M# P
  876. ;
    1 D* i* `: O7 h. ?* e8 J) {
  877. ;   extension=/path/to/extension/msql.so
    . M0 E% Y: m# ]- @  E& ^, j4 l
  878. ;
    # K, ^+ W# U) @' `8 R+ B/ p
  879. ; If you only provide the name of the extension, PHP will look for it in its
    5 z+ U# T, N" s. ~/ R# w. b
  880. ; default extension directory.  D6 X6 {6 Y! a3 V# t% w: j- N
  881. ;
    ; @  {! U* k0 c2 B3 G+ [
  882. ; Windows Extensions0 f1 l+ s8 p" P! Q' X
  883. ; Note that ODBC support is built in, so no dll is needed for it.: n2 m9 k2 M7 t9 T4 W4 ~
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
      e9 e( H7 I# f% Z7 ~
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).( U; y$ Z( L6 j
  886. ; Be sure to appropriately set the extension_dir directive.
    9 a7 a/ }9 g/ M
  887. ;; T5 y, O  b: O8 [' F: w+ ]
  888. ;extension=php_bz2.dll' @* a" K5 ^1 V9 A0 @1 u8 O  ~
  889. ;extension=php_curl.dll
    % k; T; ^! A1 i- T  y" A
  890. ;extension=php_fileinfo.dll1 V  y# S& S) ^7 D9 m
  891. ;extension=php_gd2.dll
    / V7 O  [8 U6 R' ?$ t
  892. ;extension=php_gettext.dll
    ! I) a. f' ]( X
  893. ;extension=php_gmp.dll
    8 }- G- S  u" S: h! W- a( Z  o/ ^
  894. ;extension=php_intl.dll3 }' s" Z5 l7 C  I/ g0 W6 _
  895. ;extension=php_imap.dll1 I+ J0 [" \  k- k
  896. ;extension=php_interbase.dll
    , d- b9 w! f& P' Y3 @. I9 N
  897. ;extension=php_ldap.dll
    # K; T$ d  X7 {& z3 J% [2 k
  898. ;extension=php_mbstring.dll
    5 W7 ^1 R+ \7 ]1 M
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ L" N9 T/ C8 J2 y& V$ D6 m2 H
  900. ;extension=php_mysql.dll5 T4 E( o5 R- ]( O( H8 N
  901. ;extension=php_mysqli.dll- I/ \6 U+ z3 U$ ~# W# F
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    3 W' W0 L# G5 }& r) z) F) N0 F9 e
  903. ;extension=php_openssl.dll! }1 @! U5 Q+ G0 a- S6 k" `, Z( P
  904. ;extension=php_pdo_firebird.dll
    5 \- F! Q3 c) T
  905. ;extension=php_pdo_mysql.dll
    % j) h6 a) y$ ?8 V
  906. ;extension=php_pdo_oci.dll
    & G) o, [# N) J0 {/ w) g! Z7 X
  907. ;extension=php_pdo_odbc.dll. J: P  `" M# ^0 y' c3 N
  908. ;extension=php_pdo_pgsql.dll+ h9 u; j: \/ n( y( E( i
  909. ;extension=php_pdo_sqlite.dll
    ! L3 T3 A# }$ E" H
  910. ;extension=php_pgsql.dll7 s! @4 v5 C: E" _/ n6 I
  911. ;extension=php_shmop.dll0 s' d. r0 a6 C1 \: p

  912. 0 I, h; C/ f# D7 g  J1 d8 [
  913. ; The MIBS data available in the PHP distribution must be installed.
    * }( }2 l. P/ h
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    / O! x; q  y% @+ j
  915. ;extension=php_snmp.dll. @- b1 O- r8 \$ Y; h2 y
  916. , m3 f& A7 Q, {) u5 p, H+ |/ N
  917. ;extension=php_soap.dll7 S- Q; O6 ]( i9 Q
  918. ;extension=php_sockets.dll2 m4 C4 F1 g- `5 q8 N+ M# @) z: \
  919. ;extension=php_sqlite3.dll. A" @6 o6 w1 {2 f
  920. ;extension=php_sybase_ct.dll
    8 I5 e( i- s( U, [) f4 T" k2 l7 n1 [
  921. ;extension=php_tidy.dll2 F6 a% Y" L' [" e: h
  922. ;extension=php_xmlrpc.dll
    . e/ H' a4 _2 @. v/ c7 E
  923. ;extension=php_xsl.dll$ D6 z8 M5 w) Q1 l, D0 w
  924. / T: K. d; M4 v) m
  925. ;;;;;;;;;;;;;;;;;;;; T( H+ f! Q% ^( Y$ j
  926. ; Module Settings ;
    " r: h7 m' \& M  `) I
  927. ;;;;;;;;;;;;;;;;;;;; E% Z" |  N8 A! G; {

  928. ) [4 ]8 B- ?- S# [
  929. [CLI Server]6 B' S1 S: d3 L# @9 b
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.+ }2 _* R& j* n; a+ G! l
  931. cli_server.color = On
    8 w& p2 P/ j4 ]7 G6 T& B+ I5 ~

  932. % M1 m1 o- F7 K/ r
  933. [Date]
    & x/ `* e1 p2 A, [2 h7 d' c. X
  934. ; Defines the default timezone used by the date functions; i' h9 B, V* T. E# A) L& j( G
  935. ; http://php.net/date.timezone1 y$ n+ }6 ]0 V. e1 {+ |
  936. date.timezone = PRC
    : V4 a1 o2 ]& x2 D# U
  937. $ d6 h0 S& a3 [
  938. ; http://php.net/date.default-latitude1 B6 |: b) ^7 m1 Q! B- Y7 b
  939. ;date.default_latitude = 31.7667
    $ k3 \6 R0 J( ?) e  Q

  940. / o/ I  {# M! B9 m- i2 L
  941. ; http://php.net/date.default-longitude
      Y  V# D) v& v( x
  942. ;date.default_longitude = 35.2333
    7 d/ f# u; v) \( ?) L
  943. 4 N; \$ J$ S: z4 d/ d2 z/ C
  944. ; http://php.net/date.sunrise-zenith
    # `- ~4 p9 _! I8 |2 n+ X+ r( ?
  945. ;date.sunrise_zenith = 90.583333- R% n, v# c5 ?7 C2 p
  946. # \1 q  E- @+ n! H# @
  947. ; http://php.net/date.sunset-zenith
    " y3 Z5 o/ Q- b2 L' R0 V: c, h- K
  948. ;date.sunset_zenith = 90.583333$ [5 E7 j! F" s! k; E/ Y# W9 z* h
  949. " _0 \, u( @  C4 ~# P: `' z
  950. [filter]
    % B. \8 `6 v, k6 {7 ~* ]& D7 U9 V7 k
  951. ; http://php.net/filter.default
    9 _9 V, e+ [3 ]# u
  952. ;filter.default = unsafe_raw
    0 e) a+ {% O4 {) \: K1 }
  953. 7 p0 G( t- P5 D2 w% s8 e$ J
  954. ; http://php.net/filter.default-flags0 Y: _; U9 Q8 I8 \
  955. ;filter.default_flags =. d) t% E9 R, i

  956. 0 ]* ^4 O( y0 ?  j7 h; R
  957. [iconv]
    # T# l/ T! |. {
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.1 g' B/ w' S5 o
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    8 ?9 v" Y$ J. T" A
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding1 n8 J  b2 C, |! W3 f. z( U
  961. ;iconv.input_encoding =
    . N3 H1 j" b1 ~5 E) [/ J

  962. ! Y; f( Q( s& q( p1 W* F- v& R
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.( m$ V" Q! l1 D; V' H6 q
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 M/ m* X; w/ m+ @3 j
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 a3 a  X7 V# B9 x% @
  966. ;iconv.internal_encoding =
    , V- P1 k% C) z4 L9 g0 S" `2 y

  967. ) \. v$ Q) Q" n! B$ L1 a  M7 ~
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.9 d- r% j" V( K* q- N1 P1 |
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + D" ^9 D4 t8 ?/ W- P6 h
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding/ \) {8 D/ C: e
  971. ; To use an output encoding conversion, iconv's output handler must be set4 m1 n! N' b5 W9 c
  972. ; otherwise output encoding conversion cannot be performed.* T/ n4 }& i; u, O2 w$ T
  973. ;iconv.output_encoding =. e! r% x7 k: F5 B8 [: \6 d$ {- I
  974. ; X3 y  m) A7 _( {5 D* K
  975. [intl]2 T5 f6 V- C0 ?
  976. ;intl.default_locale =
    + s- ]$ Q/ `2 Y. e/ \3 x
  977. ; This directive allows you to produce PHP errors when some error
    - [- q$ d/ N' T: z
  978. ; happens within intl functions. The value is the level of the error produced.
    9 D2 e" {  @: q, r
  979. ; Default is 0, which does not produce any errors.
    : ]+ J+ R+ Z- X8 ?. z2 O
  980. ;intl.error_level = E_WARNING
    7 Q' g/ p0 Q& [$ H) b7 C2 K
  981. ;intl.use_exceptions = 04 q! P7 n8 J! ?& ~5 b. g  l
  982. 4 e1 m: d6 O5 x* J* o) n
  983. [sqlite3]% g8 T2 h$ F! t1 T4 J- s
  984. ;sqlite3.extension_dir =
    ! M5 r0 |, q% l0 x  W# e! j  ]

  985. ; C" c& v2 j4 @0 s: r, g
  986. [Pcre]
    3 u" i: z1 w2 L, ^
  987. ;PCRE library backtracking limit.
    9 P0 Q9 P( V' [% u
  988. ; http://php.net/pcre.backtrack-limit3 k# Q: g7 m. o7 A  h& ?8 x
  989. ;pcre.backtrack_limit=100000, ~8 b4 z& W; E+ O9 w
  990. * R. ^1 n! K5 ?+ l+ ?# D
  991. ;PCRE library recursion limit.1 t8 C# \0 J6 B- s) b2 q; [" ]
  992. ;Please note that if you set this value to a high number you may consume all
    ' m( t4 u2 N: ]1 T
  993. ;the available process stack and eventually crash PHP (due to reaching the! [: X, [- Y# |/ `
  994. ;stack size limit imposed by the Operating System).
    & @7 f* g* U2 e$ K" s1 V4 V
  995. ; http://php.net/pcre.recursion-limit3 o) W6 h& z8 ~6 ^" R4 s! Y
  996. ;pcre.recursion_limit=100000! K+ x  [7 Y0 Y+ ]( w/ ^
  997. 5 u0 U5 q2 U# Q6 F$ ~
  998. [Pdo], @) g0 h8 l2 F- @4 `) ]0 Y7 {2 i
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; H# P; l8 ?' k0 o1 P' h- }
  1000. ; http://php.net/pdo-odbc.connection-pooling
    # t8 {+ c5 }6 R2 w/ _$ m; r
  1001. ;pdo_odbc.connection_pooling=strict& |! P3 z! X  N, B% \1 V9 X" V2 r/ }

  1002. " u1 r# v% q: u7 f% x* t' c
  1003. ;pdo_odbc.db2_instance_name+ I; e3 h; D) `3 L1 J
  1004. # X$ o1 ^3 Q- D3 l
  1005. [Pdo_mysql]
    ( R* U9 U; K9 d$ y: o* J
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , n" H4 y4 s0 [2 M5 w4 W/ z: c
  1007. ; http://php.net/pdo_mysql.cache_size! @3 A7 U0 O/ e- z: h# k- J2 f
  1008. pdo_mysql.cache_size = 2000
      R3 a! _% W' ]7 ~& l6 n

  1009. 2 b) I/ m4 S6 K& v- Q6 a5 A
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 t" G6 I% J( P6 j
  1011. ; MySQL defaults.
    & W: `: s# B) x) [
  1012. ; http://php.net/pdo_mysql.default-socket9 Z. [# r5 J( P. t% z5 [6 U8 B) n
  1013. pdo_mysql.default_socket=
    - J: L8 V* N2 Z* `, f# a
  1014. 8 K& N3 P7 J/ a7 w0 v
  1015. [Phar]
    8 h- a0 y# q$ ?) d3 F5 o+ A! }: V
  1016. ; http://php.net/phar.readonly
    $ U  I- O# ~- B; d0 f
  1017. ;phar.readonly = On
    , O& S( I/ g* g6 {; i$ [
  1018. / {9 l( B  T9 ~' Q# D
  1019. ; http://php.net/phar.require-hash7 _7 S$ C; @8 k( m% G  W0 k) Q
  1020. ;phar.require_hash = On3 m/ y- N1 n7 d2 O

  1021. 8 |0 t  F( V- f
  1022. ;phar.cache_list =7 O( E2 J! F# K5 O% J2 a

  1023. # i( z$ O6 q  |
  1024. [mail function]
    ( F, x3 M8 @. t/ }
  1025. ; For Win32 only.
    ; @- M/ g8 W  o5 u9 C
  1026. ; http://php.net/smtp
    ( ?, ^# J$ ]6 C
  1027. SMTP = localhost& d3 e) t6 i+ G
  1028. ; http://php.net/smtp-port
      Y+ A* G/ T0 ]5 E7 y" C
  1029. smtp_port = 25
    1 N1 _% A/ Z" o& X# v. C

  1030. 1 C( ~% y+ ]0 W- F1 |' K" e
  1031. ; For Win32 only.1 t% F5 @* b" Y
  1032. ; http://php.net/sendmail-from
    : q: k5 F. J7 h+ a
  1033. ;sendmail_from = me@example.com# E8 `+ a( X  H9 }1 @* ^  e
  1034. ( ^  d5 R: ^4 k" o% V: C
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 g7 p' ^0 j' h1 W7 N0 s4 E$ o* \) o+ m
  1036. ; http://php.net/sendmail-path
    . @- X0 ~& x5 B* ?% @3 k' t
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    & K* K1 V; k2 F7 ?
  1038. 5 l! A3 @" k* k
  1039. ; Force the addition of the specified parameters to be passed as extra parameters/ F" O) u+ Z; {8 O( j+ ~
  1040. ; to the sendmail binary. These parameters will always replace the value of: l, c; I# l: q& m5 y; L3 h7 U
  1041. ; the 5th parameter to mail().
    ! E" f" z1 |: ~$ C# c7 ~
  1042. ;mail.force_extra_parameters =
    $ G! |# w$ U: W0 \0 |* y" j
  1043. 1 q% S9 N2 T: J& n5 m
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename) g1 ?+ N: [$ e" v3 {
  1045. mail.add_x_header = On6 G7 p$ c/ F0 Y9 O: }0 I! j

  1046. 6 t- P  L% x6 j# h: ]) Y
  1047. ; The path to a log file that will log all mail() calls. Log entries include) p: E& O0 ]* O2 H6 |
  1048. ; the full path of the script, line number, To address and headers.# d' j, g5 `7 P7 y* U
  1049. ;mail.log =
    % W0 ?4 S# |% k) i
  1050. ; Log mail to syslog (Event Log on Windows).+ }0 b7 I7 ]0 Y" t; e) J2 S0 S
  1051. ;mail.log = syslog$ c. h6 E+ @% p7 s, U6 E

  1052. 3 v7 B3 u& z% z" P" u* s7 }. w
  1053. [SQL]: p6 M& H- b9 `( O  t0 ?) E
  1054. ; http://php.net/sql.safe-mode$ E3 t0 a( f# @, ~) i& u8 g
  1055. sql.safe_mode = Off
    ' l: F0 f5 I5 }
  1056. " `( e$ C* @0 q9 p1 K
  1057. [ODBC]
    $ H! f# c2 \  p8 k) L9 d# J" u
  1058. ; http://php.net/odbc.default-db% f) q+ ^) r' P# g* t! {. t4 t
  1059. ;odbc.default_db    =  Not yet implemented# d$ [! Z- L  `" X6 t# ?' }. [

  1060. 9 S, {; h  G  z* e
  1061. ; http://php.net/odbc.default-user: Y; N4 ?3 G* ^; |7 K! I" B/ H' i
  1062. ;odbc.default_user  =  Not yet implemented( ~  P. M: ]% }2 {' y( I
  1063. ) h1 ^5 O' n% Q2 _( P  c
  1064. ; http://php.net/odbc.default-pw. A5 D3 A1 ]5 N' D* F, T
  1065. ;odbc.default_pw    =  Not yet implemented, w0 [6 B9 q) b: h3 }) ?% g! s

  1066. ( L+ A) c+ n- n. Z$ S- O8 G0 q% d
  1067. ; Controls the ODBC cursor model.
    ' Z, }$ q. w3 J; x/ l
  1068. ; Default: SQL_CURSOR_STATIC (default).- R- c" S2 _6 c9 c$ E
  1069. ;odbc.default_cursortype" T1 O0 O! `" D: h1 x  ]0 @

  1070. $ y+ {5 ?( m2 ?
  1071. ; Allow or prevent persistent links.% t! r' i- Q' o* D0 w' m
  1072. ; http://php.net/odbc.allow-persistent# o$ Z, \; Q* \6 u6 X7 u* D
  1073. odbc.allow_persistent = On$ S9 f, U+ h# _' |- O
  1074. # O' Z; q( S' o5 q+ q& q
  1075. ; Check that a connection is still valid before reuse.- a# ~$ |. Q. ^- w8 Q& C/ ]5 y
  1076. ; http://php.net/odbc.check-persistent: j8 m" e6 m4 u
  1077. odbc.check_persistent = On
    4 j3 M! Z1 B1 K7 Q3 ?7 N; l

  1078. ; ^  v( e3 W$ G
  1079. ; Maximum number of persistent links.  -1 means no limit.# i# `- g5 U+ ^5 O
  1080. ; http://php.net/odbc.max-persistent
    * q. {- }5 D0 u% B* X6 L9 ?
  1081. odbc.max_persistent = -12 F) d# U# S2 R$ N; R

  1082. 5 I: M5 Y3 ]0 l7 v& p; Y
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 W( l; v6 h1 i9 v. y  S& |
  1084. ; http://php.net/odbc.max-links: ~* d% K( |- \( [  L% o; Z. i5 L5 c
  1085. odbc.max_links = -1
    - f6 P& E, Q& r/ m& I

  1086. 2 a/ R6 e1 u% T  a" {
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means1 `1 D3 r+ i% _/ K
  1088. ; passthru.
    0 {2 [" h0 C" a  K4 ]5 F6 i' D
  1089. ; http://php.net/odbc.defaultlrl: ^( X6 Y' s: ~( N
  1090. odbc.defaultlrl = 4096
    , |+ a* M/ S% n6 N
  1091. $ j( |& @( c0 A3 R4 i3 e$ B
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 c5 O! m% w6 x* [& d& B7 A5 Q% ~
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
      T, V# T7 L& e& r
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode+ m7 z4 {/ V" @. N& C7 i4 ^
  1095. ; http://php.net/odbc.defaultbinmode5 R1 P, s  a' G
  1096. odbc.defaultbinmode = 10 R7 S' K2 M* A$ ?; i
  1097. 9 y2 F5 Z) j' A* Q; H9 [
  1098. ;birdstep.max_links = -1' g# b/ O) |7 |

  1099. ' q4 F2 F$ G* e+ E# L- r
  1100. [Interbase]% s7 I- E1 e( P6 U3 W0 N
  1101. ; Allow or prevent persistent links.0 o( j, n, h1 z9 ~$ p
  1102. ibase.allow_persistent = 1
    # a& L+ x0 g3 Q! X* X2 q9 z% g: |

  1103. % L- K5 G9 V) j7 g0 G
  1104. ; Maximum number of persistent links.  -1 means no limit.
      M: B4 K' W7 D" m" q4 W$ f: F9 _6 Z
  1105. ibase.max_persistent = -1
    5 T$ d/ T1 s  M' K; N
  1106. ( V  Y8 D6 B, ?  s
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 V, A  C, u7 w4 T% ^
  1108. ibase.max_links = -19 w* q+ h1 E. K, ?) J1 |

  1109. - i8 U; S! v6 t7 O7 n
  1110. ; Default database name for ibase_connect()./ Q* H7 r& [* i% D$ v( U
  1111. ;ibase.default_db =% j1 D: R& ?1 E' C9 m8 r/ \
  1112. . B- k" w( G3 `5 r
  1113. ; Default username for ibase_connect()., I% _+ `  e* \1 x; A5 p* C; h
  1114. ;ibase.default_user =
    8 w4 @9 B" \/ I, |* X
  1115.   F- N8 j  [! i4 ~! X, G, U& R
  1116. ; Default password for ibase_connect().
    . y" d8 W6 G. V6 b5 v# r3 ?+ |8 ^
  1117. ;ibase.default_password =/ a) B5 x0 Z, r1 Q
  1118. 7 Y6 \1 s3 W$ B( W2 z
  1119. ; Default charset for ibase_connect().
    : x; V2 c8 s" b, g% Y4 x
  1120. ;ibase.default_charset =6 s! t7 T; g' L' C
  1121. 7 o+ E, \/ W: y* W. ~
  1122. ; Default timestamp format.6 B/ S% u% u2 o# E& }4 E
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"( I# i) i; [% P$ N1 Y

  1124. : T4 P3 w8 }& a% \! o+ U
  1125. ; Default date format.
    ; A) ^* e8 ^  I3 H! G5 P
  1126. ibase.dateformat = "%Y-%m-%d"
    5 B2 e0 X3 V$ k( T
  1127. # R- W/ ]2 H$ A4 S' Y& z; N7 B  s, a
  1128. ; Default time format.
    - F" z' V. q! |+ {  |1 ]) J
  1129. ibase.timeformat = "%H:%M:%S"
    # h8 L: U/ k! L0 r' B1 g

  1130. - i+ c' a/ k+ ^8 t
  1131. [MySQL]
    # u) [3 k  n9 {( ~6 I' s* t. o
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; F$ |6 c* _5 K0 \% Z( k( l
  1133. ; http://php.net/mysql.allow_local_infile
    8 v9 Y# D7 `6 d5 o8 ~! X
  1134. mysql.allow_local_infile = On
    * g" X5 E8 N  W' i, Q* o# W

  1135. 9 k2 ~: d- Z/ Y( _: P
  1136. ; Allow or prevent persistent links.
    5 L/ M  w& n6 A
  1137. ; http://php.net/mysql.allow-persistent
    $ \9 v1 F3 i1 C! R( b
  1138. mysql.allow_persistent = On! G2 f" A; g' S0 @- b/ m

  1139. 5 S5 G& P# i6 b+ ^. }  l  p) i% c
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache% y2 a# W" B% x3 j% M* A& N8 J$ H
  1141. ; http://php.net/mysql.cache_size
    : m( `4 R, K" y$ S
  1142. mysql.cache_size = 2000
    ; t+ L% {1 o4 V

  1143. - e  c, e. ?+ Y+ d: j* m
  1144. ; Maximum number of persistent links.  -1 means no limit.  X1 h! O* w" o1 O7 l8 d) S
  1145. ; http://php.net/mysql.max-persistent
    / Q; }: {5 V: W4 p
  1146. mysql.max_persistent = -1
    + a* u, [) @# G* _. s5 x) j
  1147. " p% O" i) }8 Y: G) s$ Z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 H: E, s' z$ s7 g  f0 a: m- f
  1149. ; http://php.net/mysql.max-links7 v# w3 v' \( L* ]$ J
  1150. mysql.max_links = -1
      s0 S: d, i6 `

  1151. % ]/ u% j  U" _8 K5 }! G
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    6 V0 ^  y4 f/ _( q: i3 H4 Y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) o. D7 o8 Q+ ^( {* D8 C+ k
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " F. e  |$ K  @6 F% F" @
  1155. ; at MYSQL_PORT.
    ; N+ A/ Z7 K4 e4 a3 ?1 V; ?
  1156. ; http://php.net/mysql.default-port0 \. Z% A: l- }. k! e/ `' v
  1157. mysql.default_port =+ e1 ?# @9 V5 ?

  1158. . o  f( S3 A" d8 R, R- i, N
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in; j- v4 g+ h6 [4 w- ?6 O: h
  1160. ; MySQL defaults.2 X! e. l" ?1 }* {) A  e. ?8 x
  1161. ; http://php.net/mysql.default-socket
    % J' H& p, J) C
  1162. mysql.default_socket =* w0 u; q+ _1 d0 N- ?" \2 z
  1163. * w7 [* n3 V8 E& O/ E; }0 ~1 X
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).) _; h3 \+ o- B" a& L1 J. P
  1165. ; http://php.net/mysql.default-host, [# Q1 b1 g3 y/ _
  1166. mysql.default_host =
    4 o- J: z) ~1 O/ u. L+ ^$ X5 a7 q
  1167. 8 L$ U8 b0 ?. Y- w% I+ m9 C
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # f' S; K% H) Y& A5 ?
  1169. ; http://php.net/mysql.default-user
    9 `5 i3 P" Y+ a+ L! C
  1170. mysql.default_user =
    " R. n& d/ J: E+ C# Y
  1171. , f. m0 i5 `% j2 B
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).9 }2 o- U: S) P+ m) Q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.2 l6 L& d% B! l+ p6 n/ g
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"): ]8 D3 N. r0 l. S$ t
  1175. ; and reveal this password!  And of course, any users with read access to this
    " ~0 ~& E2 |% s
  1176. ; file will be able to reveal the password as well." ?6 ?& d1 _& m5 F' p1 F
  1177. ; http://php.net/mysql.default-password
    & ?9 v* y3 v- ^- k
  1178. mysql.default_password =
    ' Z8 R2 L7 s7 K9 o; l& u
  1179. ; ~$ n8 e4 q( v, [+ s; A
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    % P' O9 f6 a" C/ y, Y
  1181. ; http://php.net/mysql.connect-timeout
    ' S; K! J( Z" N4 B$ X9 B& {% B
  1182. mysql.connect_timeout = 60
    7 y9 F8 \! a: q8 `: `2 r  x. G

  1183. + W: v3 S. D9 @7 c; P
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ F4 }9 H3 l5 ]6 O' O7 Z
  1185. ; SQL-Errors will be displayed.
    7 ^$ b! ~0 _0 p5 g
  1186. ; http://php.net/mysql.trace-mode
    / S( W* w" p! d- I8 |* v& ?
  1187. mysql.trace_mode = Off
    6 q; _) J0 a  m: C
  1188. 7 N0 B' ], _1 x# w; n2 d  e
  1189. [MySQLi]+ ]  b6 U( I6 [" t' k0 K
  1190. 8 _* |- x1 y/ p. A' q# w# o9 D
  1191. ; Maximum number of persistent links.  -1 means no limit.
    + A" o- W2 ^5 G* J/ E
  1192. ; http://php.net/mysqli.max-persistent
    + w5 L; P6 `: {7 @- B& a
  1193. mysqli.max_persistent = -1
    ; y- \; ~' i8 Z' s( T3 E6 e$ p

  1194. ) S8 n* r) h3 O
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& }3 b. V1 \" N- l
  1196. ; http://php.net/mysqli.allow_local_infile
    5 C6 G' U2 I- I4 n. O5 t
  1197. ;mysqli.allow_local_infile = On
    ) G6 y. ^% b5 x* f$ z. z# m
  1198. ) Z2 S2 a2 [  g  K
  1199. ; Allow or prevent persistent links.8 {9 s- U7 V, r, z0 i' N# N
  1200. ; http://php.net/mysqli.allow-persistent; C1 v+ G6 @4 r
  1201. mysqli.allow_persistent = On' E' M7 u1 l9 W( C
  1202. 0 f: x# Q1 {0 L* G8 U
  1203. ; Maximum number of links.  -1 means no limit.
    7 Q  s' c1 S9 d) ^6 s+ i3 q
  1204. ; http://php.net/mysqli.max-links# W* ]1 x& ]; b. ]
  1205. mysqli.max_links = -1) F: \& N+ R2 x2 z! V9 W2 F: l

  1206. - R7 X8 y9 \' z8 u+ B# P4 N& U
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 w4 q3 D; J% h% }. T: J/ @" h
  1208. ; http://php.net/mysqli.cache_size7 c3 C, t, @$ w! Y$ Y  \2 ~. R7 L
  1209. mysqli.cache_size = 20000 I4 r% m5 o& p1 p: c6 y8 m6 r" l) N
  1210.   p, f  B, D$ E1 U, w) z3 r7 V2 T
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( c$ A: t' ~2 z" B  R
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 w9 ~; _2 r7 N; Y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 i9 z, K5 X2 d; }: E
  1214. ; at MYSQL_PORT.
    9 _8 ^. v% V! B* r6 {
  1215. ; http://php.net/mysqli.default-port
    9 l3 Z: Q0 L% a
  1216. mysqli.default_port = 3306, g0 [5 ]$ B3 J  W
  1217. + B/ R0 {6 N+ D; B: r! F+ A. H5 N. D
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in. D/ R6 n) ^3 {
  1219. ; MySQL defaults.
    ) p& G& E" I6 k' W
  1220. ; http://php.net/mysqli.default-socket+ `# A2 U* B- x" m& f& n) F3 {
  1221. mysqli.default_socket =
    ' v5 r- U' X" i; ]8 N) c- w% d! d

  1222. * `3 r. i+ l* z$ r9 `1 g; L, j
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; ?8 u) ]8 h  h8 T: H
  1224. ; http://php.net/mysqli.default-host
    % n$ z7 ^( i) w, k5 _
  1225. mysqli.default_host =
    5 G- Q  j* P( W3 e! u
  1226. - t0 G/ Q0 n- E0 ?& f' L3 @
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).! f# C# h6 i5 g8 D5 c
  1228. ; http://php.net/mysqli.default-user- T/ R* I7 O- E# }# [$ S+ s" q
  1229. mysqli.default_user =' Y% }1 Q4 x8 W' Q5 G

  1230. " S4 c  d, C2 @4 F7 T/ N7 [
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    , b! d1 k6 ~) c  B5 _
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.6 `6 {/ z: d* j* f
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")7 K8 M; T0 N. K, Q
  1234. ; and reveal this password!  And of course, any users with read access to this
    $ f: ~# x. f! a3 F- T
  1235. ; file will be able to reveal the password as well.  f$ k; M1 y9 V; |# N8 R2 |4 a
  1236. ; http://php.net/mysqli.default-pw2 Z. J- Z6 c6 M8 \' u6 {$ ?
  1237. mysqli.default_pw =
    " B: j+ i9 o( m6 L' w2 Y) T1 `
  1238.   |: f: A' Z' M5 f1 r+ ^
  1239. ; Allow or prevent reconnect
    1 Z5 s, ?% ]! i
  1240. mysqli.reconnect = Off
    $ I- b7 r% `5 N6 J( ~

  1241. 6 I0 y+ X! E: ?' G0 p6 Q9 T& ^
  1242. [mysqlnd]* ?4 a" d7 f$ x" z% k. E
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be  z: l' m2 Q: s' g, B
  1244. ; used to tune and monitor MySQL operations.
    $ H- E1 U* `$ |' P, A
  1245. ; http://php.net/mysqlnd.collect_statistics" R1 @9 e7 _4 }" ?; O2 ?) n" q( ~
  1246. mysqlnd.collect_statistics = On
    " ^+ m1 q# O: j- W/ }
  1247. : _+ l- D) n; X- E
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 h9 S* i/ w  ]$ C2 [; Q7 }
  1249. ; used to tune and monitor MySQL operations.
    ) r% `- J- y1 j8 {3 _( V
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    3 X/ K" o- ], i( X
  1251. mysqlnd.collect_memory_statistics = Off
    , J9 C6 p  @. x- I/ s; L; f
  1252. - u, V9 p. d% p, F, T
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    , r( J2 I- Z* G+ @9 c% T* F- r; @# d1 x" {
  1254. ; file.
    & N: ~& d& P" K& P) ]/ [5 z" ~
  1255. ; http://php.net/mysqlnd.debug
    8 x+ j" m# `8 u7 ~+ o
  1256. ;mysqlnd.debug =; {7 \! {. {& p; \( t3 Y+ N
  1257. & V! s& S& B6 v6 f9 F
  1258. ; Defines which queries will be logged.
    0 [/ d9 [, D  J" s
  1259. ; http://php.net/mysqlnd.log_mask
    3 ?5 H/ _- x  H) `' L
  1260. ;mysqlnd.log_mask = 0
    + m( t- C9 T* V0 J6 e( @8 ^" ?
  1261. 7 x# M. T2 X7 r3 x$ a/ o$ v7 Z- q
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    % A- g" U* Q& A( q. i
  1263. ; http://php.net/mysqlnd.mempool_default_size
    2 {# q3 Q: d+ ^$ A: z9 g
  1264. ;mysqlnd.mempool_default_size = 16000
    " W( D8 a% ^9 g  m: u/ V  G

  1265. + n: c2 L& ], h( k- _
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: Q; v$ w9 W6 k& a
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size0 ^! G; {1 I6 X
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ' ^+ y9 S+ H3 Q- G4 M& Q
  1269. ) p9 v- _" A! o$ D& E* q; J, A
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in2 u* J- Y# w5 S5 k! C( j  ?
  1271. ; bytes.# _  l. o. [- A6 Y# ]7 ^: X1 U
  1272. ; http://php.net/mysqlnd.net_read_buffer_size8 a" q6 `7 S% f5 A
  1273. ;mysqlnd.net_read_buffer_size = 32768+ r: L  `. n0 f. m3 H' A2 n& H

  1274. 6 X% |! A/ }& D6 P: R3 N
  1275. ; Timeout for network requests in seconds.4 z/ q0 m1 e: Y7 y
  1276. ; http://php.net/mysqlnd.net_read_timeout, y# o# X4 S5 |8 n4 r
  1277. ;mysqlnd.net_read_timeout = 31536000% P6 M# m: n  A' I7 G& M
  1278. + u9 W6 r3 O/ T9 X" w. a% I
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    1 v/ d4 N" P/ p! _# E. [/ I  d5 q
  1280. ; key.
    ! v7 O, i8 J1 m8 s* \
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ( e; K+ t, O  H4 z5 Y
  1282. ;mysqlnd.sha256_server_public_key =
    6 k3 V+ A2 d  V  B1 _

  1283. % }2 l& Z7 V1 Q5 T2 c, b
  1284. [OCI8]
    & t1 M. e" t8 w
  1285. # G  L- ~) i. f# Y& V4 F8 i
  1286. ; Connection: Enables privileged connections using external
    8 r4 R$ |( _4 h
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 b0 g4 _' g% {* m9 {+ ]( g. e% Q
  1288. ; http://php.net/oci8.privileged-connect* a: g+ }! D% w6 r. H3 S
  1289. ;oci8.privileged_connect = Off6 ^4 Z6 b* \* z" u

  1290. 1 W! y% c* u4 n. {5 J8 J
  1291. ; Connection: The maximum number of persistent OCI8 connections per; f3 d6 y, X! T
  1292. ; process. Using -1 means no limit.; ?2 [# j" c! M2 k
  1293. ; http://php.net/oci8.max-persistent3 t) @: R7 ]4 b# ~
  1294. ;oci8.max_persistent = -11 `: }% G  O6 a! C# A+ b, Q

  1295.   `3 d9 k9 C" ~& }
  1296. ; Connection: The maximum number of seconds a process is allowed to
    . {4 _" _4 A0 O9 R- k+ m
  1297. ; maintain an idle persistent connection. Using -1 means idle+ r" j' h$ q5 C
  1298. ; persistent connections will be maintained forever.
    ! c& M6 a: Z$ w9 s6 L
  1299. ; http://php.net/oci8.persistent-timeout
    + p, w, y) i* O+ n! U& D+ Z
  1300. ;oci8.persistent_timeout = -1
    : Y6 l7 Y5 E; H" |+ h/ ?

  1301. . z- G6 p' _5 ^7 ]
  1302. ; Connection: The number of seconds that must pass before issuing a
    5 o( c, K* R6 `% y& S
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ; I" t+ s/ \% B* w
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& m* _9 z/ Z0 a2 h
  1305. ; pings completely.
    3 K2 [( m8 G/ ]1 v& ^% r
  1306. ; http://php.net/oci8.ping-interval3 U, n( }* X& J7 ?
  1307. ;oci8.ping_interval = 60
    , N5 [. l& v' T4 I* j
  1308. 1 N8 y# ^% c$ O& v! x
  1309. ; Connection: Set this to a user chosen connection class to be used
    ) H3 S" v5 w7 @8 X6 ^+ r
  1310. ; for all pooled server requests with Oracle 11g Database Resident/ m+ ]% v) h" L
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + {0 Q3 V$ b3 e: \0 L# E
  1312. ; the same string for all web servers running the same application,
    ( r( K" }3 x/ v4 X7 h, P) e, [! T
  1313. ; the database pool must be configured, and the connection string must3 v. i/ x$ h7 t0 Q, b
  1314. ; specify to use a pooled server.+ Z! m. Y: q1 b- S5 U; k! e5 N# C' j
  1315. ;oci8.connection_class =& U- B, N6 d1 ?+ H4 J4 _0 E
  1316. $ l: W- a8 J, X+ E6 x) Q' a: A1 R* s5 y
  1317. ; High Availability: Using On lets PHP receive Fast Application! c% F4 |, \4 x" h2 E6 O/ f; V
  1318. ; Notification (FAN) events generated when a database node fails. The
    3 p1 v0 U, H9 h0 U% M
  1319. ; database must also be configured to post FAN events.
    * o4 A' p8 z2 @* ]; S6 `3 b* j
  1320. ;oci8.events = Off: T1 y  f( ?6 [) \& ^

  1321. 7 A# ^2 R$ h& S  c  I0 T( H2 Y
  1322. ; Tuning: This option enables statement caching, and specifies how. y# y  {3 _- G  z$ {/ h
  1323. ; many statements to cache. Using 0 disables statement caching.
    5 F/ E+ \1 l: X+ e0 u
  1324. ; http://php.net/oci8.statement-cache-size
    , A1 ^! N; r# b0 u5 @/ ~  f
  1325. ;oci8.statement_cache_size = 20
    4 ~. ]: F3 B& D3 q1 r

  1326. * N5 F8 ~4 n. N$ [  y2 M
  1327. ; Tuning: Enables statement prefetching and sets the default number of# h0 @0 N+ z0 G- M
  1328. ; rows that will be fetched automatically after statement execution.9 V- q& g2 y9 q- h9 E% n; {6 M
  1329. ; http://php.net/oci8.default-prefetch7 I) w3 Q1 o& }8 {
  1330. ;oci8.default_prefetch = 100, f( m3 j0 |, T+ [( V' w  X. ]* W5 S

  1331. : f( S+ \: P+ a" Y
  1332. ; Compatibility. Using On means oci_close() will not close
    - y2 O$ ^- a9 Y/ u
  1333. ; oci_connect() and oci_new_connect() connections., H; a  ~/ p9 {/ _; y) Z
  1334. ; http://php.net/oci8.old-oci-close-semantics
    # l* g: ?5 a$ X& K, @: E: i
  1335. ;oci8.old_oci_close_semantics = Off
      B2 {5 A5 K7 D
  1336. 8 z3 K5 ]$ ?2 N: P% b
  1337. [PostgreSQL]
    / Z2 Q5 m4 C: [$ E" E! w
  1338. ; Allow or prevent persistent links.
    % D( A2 h( R% d) c" ]5 m8 W% r
  1339. ; http://php.net/pgsql.allow-persistent
    & }! E! Y7 R- u* ^: P, }0 o
  1340. pgsql.allow_persistent = On. y2 L! D7 u5 c; _) Y$ I: A% f
  1341. ! j4 n8 }  p) B: |
  1342. ; Detect broken persistent links always with pg_pconnect().1 ^8 s* [% e" ?1 W: ~
  1343. ; Auto reset feature requires a little overheads.
    $ u4 }4 T5 O# p9 U
  1344. ; http://php.net/pgsql.auto-reset-persistent
    " v$ L7 G' a: P" _3 b( M5 _, Z1 x
  1345. pgsql.auto_reset_persistent = Off
    % M( b0 R- p, q) T

  1346. # t  s" F- ]. R6 H- a1 ?2 G
  1347. ; Maximum number of persistent links.  -1 means no limit.
    7 \- o  }# ]9 f0 b8 w
  1348. ; http://php.net/pgsql.max-persistent
    8 E, V  f" H2 P5 m7 _
  1349. pgsql.max_persistent = -1
    ' {6 E# U: M8 R. a3 E- J& h

  1350. 0 L3 E4 k. [  U; A6 w  z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! e& ^- J5 T' L6 y4 ~' p$ ?' [
  1352. ; http://php.net/pgsql.max-links
    8 c$ S' D- }% z1 \4 w. Y
  1353. pgsql.max_links = -1
    3 ?- O8 Y( P' N" X1 l0 c+ H. z/ Y8 _
  1354. 6 \4 n% @8 t1 @0 h5 z8 J
  1355. ; Ignore PostgreSQL backends Notice message or not.  w5 p7 E! C+ _$ j: r; A" e
  1356. ; Notice message logging require a little overheads.
    $ Q# X& P0 I9 B- f, X) b2 ^1 `
  1357. ; http://php.net/pgsql.ignore-notice
    0 C6 C* R' H$ @/ h9 W. w4 X. G
  1358. pgsql.ignore_notice = 07 a9 p& o( ]$ j$ j" t2 V, M

  1359. . u% ]1 C* d+ h- B0 x
  1360. ; Log PostgreSQL backends Notice message or not.) O. T9 g7 R, m7 w( o' H
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  B, m& h# P. y/ W
  1362. ; http://php.net/pgsql.log-notice
    $ x5 G  e& `1 q: V/ ]# a
  1363. pgsql.log_notice = 02 |/ j' v+ m- C

  1364. 1 W! _; [) e& [2 N
  1365. [Sybase-CT]
    * d( Q6 l- |, Y/ |! i% K, \
  1366. ; Allow or prevent persistent links.
    / n6 o1 H$ u% u- q2 J1 R* @
  1367. ; http://php.net/sybct.allow-persistent
    ! U2 l) i# F5 u% J8 Z# v! a
  1368. sybct.allow_persistent = On
    ! v2 v7 x+ E' H7 E3 D' j

  1369. 7 q1 [" V" R0 O: O, Q
  1370. ; Maximum number of persistent links.  -1 means no limit.$ }4 {) O7 B5 o, i7 t
  1371. ; http://php.net/sybct.max-persistent
    - q- N# j0 H# D* Y$ w/ m; y
  1372. sybct.max_persistent = -1
    ' |6 {% C3 P* j8 o4 }8 O: C

  1373. 9 ?8 h+ N+ B( ?7 T9 X
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " ?0 j. }) C! |1 B, W1 W  Q
  1375. ; http://php.net/sybct.max-links
    3 Y. W8 p5 s. I& I6 s* n
  1376. sybct.max_links = -1* f2 v" e$ l- g6 X. V! @
  1377. : Z0 y3 K6 s) i; ]1 ?4 \' E
  1378. ; Minimum server message severity to display.
    $ r0 B) r# L2 z* m% F6 R3 z
  1379. ; http://php.net/sybct.min-server-severity
    8 U$ I* V9 T  I- P! p& J/ S
  1380. sybct.min_server_severity = 10- j) B2 ], N  ~

  1381. . e8 f# l  U: v3 v- B. f5 z8 e
  1382. ; Minimum client message severity to display.3 s' Y3 i" D) f& ?. L, M3 `( R
  1383. ; http://php.net/sybct.min-client-severity
    , G8 J  `6 D) a5 S/ w
  1384. sybct.min_client_severity = 10
    7 I4 N" a" [. ^. G8 x2 I) e

  1385. . A9 o3 T0 D2 k; _- b9 W* p1 Y' U
  1386. ; Set per-context timeout
    1 e9 v# O  D( g. K
  1387. ; http://php.net/sybct.timeout
    4 J7 K. ~5 v$ x
  1388. ;sybct.timeout=
    / [$ T# l2 C1 Z8 O( {& w

  1389. 4 V8 ^' o& E; |: E6 m; A  D
  1390. ;sybct.packet_size
    6 N6 H1 M$ ^# I( `8 p

  1391. + c  D* n1 A4 ~8 i! g: @" f0 @& Q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    1 y; Q0 _, k2 W# q
  1393. ; Default: one minute, S- w3 S8 b" N* D- g9 m
  1394. ;sybct.login_timeout=% ?7 `  x4 x8 K" t) g) s
  1395. ' Q8 p+ y  O& r& [
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    " o# a; s' E, k! a6 A. [' d6 @
  1397. ; Default: none6 j& U: [- Z, s' Y- C' Y- W" T
  1398. ;sybct.hostname=
    - l( g9 e. c" p3 L. H2 i

  1399. : J. r2 M& y6 t7 c7 E* `
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".3 s* p% g1 C( j, h$ z8 g
  1401. ; Default: 0( K& ~) Q3 B% A' D! H: B% `
  1402. ;sybct.deadlock_retry_count=
    % \3 \& n1 _8 x3 ^5 {; _" K$ `
  1403. & S) U. C  ?5 M2 y4 v5 w
  1404. [bcmath]) T  @" ^9 b, E
  1405. ; Number of decimal digits for all bcmath functions.
    ; B) e9 @1 Y5 f! D
  1406. ; http://php.net/bcmath.scale
    0 X6 t( r: g  y7 x
  1407. bcmath.scale = 0
    9 i$ E! _  V8 n9 e5 r

  1408. 2 U. _1 U! D8 n9 ~6 V
  1409. [browscap]% s  m3 S6 E# A0 f, T3 G
  1410. ; http://php.net/browscap" e  J1 ]; p1 G% U* `
  1411. ;browscap = extra/browscap.ini6 F: r+ b7 O% R7 ]; j
  1412. ( h1 D1 ~9 C3 G9 e1 y1 {+ _2 o7 r( D
  1413. [Session]# L, M! d! W! |/ d
  1414. ; Handler used to store/retrieve data.$ u  W2 F0 I/ D' ^, e$ p
  1415. ; http://php.net/session.save-handler" `6 E0 H8 B4 P1 t' v) z
  1416. session.save_handler = files/ n( ^" A- r  J8 M: v
  1417. ! s7 f. R9 g% [' M4 G7 {
  1418. ; Argument passed to save_handler.  In the case of files, this is the path' X$ F, T; a1 F
  1419. ; where data files are stored. Note: Windows users have to change this
    0 A) H9 N& b5 d4 X& F( B# e
  1420. ; variable in order to use PHP's session functions.( |0 u, Y6 j9 G) B9 H4 ^3 h  k( p! a
  1421. ;* h2 ?' {2 R2 K0 Z
  1422. ; The path can be defined as:
    ! a" |. v  _) @- \
  1423. ;
    $ {2 G: X; Z1 b5 y! R6 b
  1424. ;     session.save_path = "N;/path"# a1 G1 y% t. `! e1 I0 `
  1425. ;# M: b) L4 ~% o
  1426. ; where N is an integer.  Instead of storing all the session files in9 x6 u' P( Y! p" U/ C  @
  1427. ; /path, what this will do is use subdirectories N-levels deep, and* q/ m% f1 G: I! j5 o$ Y3 i' V
  1428. ; store the session data in those directories.  This is useful if
    4 {# y% Y' p1 p4 `0 ?# t
  1429. ; your OS has problems with many files in one directory, and is/ b' o3 b# H6 T+ C- I. ]
  1430. ; a more efficient layout for servers that handle many sessions.
    6 T8 d. x8 h! J1 B
  1431. ;
      b' v' e% g8 V1 E: u
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    0 }8 z2 L8 p! [; ]4 T" v
  1433. ;         You can use the script in the ext/session dir for that purpose.
    8 `5 M& P; j' s& j
  1434. ; NOTE 2: See the section on garbage collection below if you choose to- I. _1 ~0 P2 x' v; }2 W
  1435. ;         use subdirectories for session storage
    " Z. c8 e" D5 I( m) t' U
  1436. ;3 T. X. ^6 L# a7 t
  1437. ; The file storage module creates files using mode 600 by default.
    & ?) K0 |. c1 B, X
  1438. ; You can change that by using5 F( d" m$ g( v
  1439. ;
    ) p% X  |. y' U$ O/ c
  1440. ;     session.save_path = "N;MODE;/path"" S+ H3 \7 D* Z6 N6 @5 N& V
  1441. ;9 O; z" g) J5 ]  M
  1442. ; where MODE is the octal representation of the mode. Note that this
    : I+ t6 C+ G7 o0 j) M  u
  1443. ; does not overwrite the process's umask.
    ! o( Q( \; `) D+ }9 i* Q% b
  1444. ; http://php.net/session.save-path
    6 z) @) f/ B  V  ?% l4 {
  1445. ;session.save_path = "/tmp"5 O" t* B) [0 Q* m

  1446. 7 R& f* u1 @! d
  1447. ; Whether to use strict session mode.' O- V6 L- C( q, z, |
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    + h; Q7 n2 [4 ?3 }) ]1 l4 V8 L
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects! v6 e; Q, d, K. ^4 x2 u1 g
  1450. ; applications from session fixation via session adoption vulnerability. It is
    % a& i1 N; |) b8 A. V" J% C9 ^% I
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 r1 ^/ `  q7 d5 Q0 B
  1452. ; https://wiki.php.net/rfc/strict_sessions/ k4 y0 Z+ b3 o- L
  1453. session.use_strict_mode = 0
    & I6 m; d: I, G$ {
  1454. ' w* k4 b* s' k- I: [. ?
  1455. ; Whether to use cookies.
    ; L# I' z: ]  b/ a4 C
  1456. ; http://php.net/session.use-cookies+ J; ~; q0 \3 R# \. k. j" q
  1457. session.use_cookies = 1
    # z3 Q" j9 G' J" j+ m

  1458. ) K- |" m6 q+ K; _3 g
  1459. ; http://php.net/session.cookie-secure
    : M' Q' u. n  B( L7 _, r
  1460. ;session.cookie_secure =" P# a+ c# M& w3 p1 b& C

  1461. & g0 R+ W, Q. f+ ^  p0 [1 i4 N/ i
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining: d/ |. A: [) z/ t( g
  1463. ; the session id. We encourage this operation as it's very helpful in combating3 X8 T; \* `$ s
  1464. ; session hijacking when not specifying and managing your own session id. It is
    : o0 N1 h& t$ X) @0 K5 E$ Z
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    . W' F9 t/ u% \( Q- R, J
  1466. ; http://php.net/session.use-only-cookies
    $ Y( k  M' a* {3 c
  1467. session.use_only_cookies = 12 V2 }- C1 _/ U* m; W" Q' I, _6 n- G
  1468.   i5 V+ X8 \, b& y& j
  1469. ; Name of the session (used as cookie name).
    / @" ^- k' _7 p1 N
  1470. ; http://php.net/session.name  y; ^9 c# a  F; X
  1471. session.name = PHPSESSID6 Y! Y" Z, ~/ V. V/ \

  1472. ; i1 T- d- G2 s) i4 x1 W
  1473. ; Initialize session on request startup.
    : t. _9 v# L1 Z
  1474. ; http://php.net/session.auto-start0 d$ t7 w$ Y# P/ J  D- b) Q
  1475. session.auto_start = 0
    ' r$ W5 b4 C! b. `: j2 S
  1476. % j: x+ y" t6 k
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.+ M7 T1 H$ y4 i# E6 \
  1478. ; http://php.net/session.cookie-lifetime
    * x; B2 H! l( u9 r
  1479. session.cookie_lifetime = 0
    0 a! N3 q5 p/ k! ?' y. E( M+ A) l" ?9 Z
  1480. 1 Q4 I. h+ x% e) s9 d6 S
  1481. ; The path for which the cookie is valid.7 \7 ^' }9 c+ l
  1482. ; http://php.net/session.cookie-path; j! Y9 ~$ {8 y& q* R% K( c
  1483. session.cookie_path = /! \! |  ~* a( R7 Q8 H
  1484. . H/ c1 Z6 b" b; ~7 \7 {
  1485. ; The domain for which the cookie is valid.' u. _- r1 v: ~
  1486. ; http://php.net/session.cookie-domain8 F2 V. ^  i4 e0 f- h+ z
  1487. session.cookie_domain =
    - Y% _8 U  W! y9 b' P

  1488. / i  j4 q) W. N" h
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.# U+ t" Z- |9 P0 \/ w; h
  1490. ; http://php.net/session.cookie-httponly5 r/ ^' J0 b. x' i
  1491. session.cookie_httponly =3 p7 i3 `2 z' ~7 _" {( B8 J
  1492. * k3 Z1 ~) |3 L4 @! N- b
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : s' Z+ U; d# g4 ?, @- L8 Z, j
  1494. ; http://php.net/session.serialize-handler
    $ }. \& e6 K2 f( y* k
  1495. session.serialize_handler = php
    8 Q# U) z8 Z- @. q/ Z; Y6 O
  1496. 1 A! [8 ^8 r& f- F
  1497. ; Defines the probability that the 'garbage collection' process is started
    8 T0 g6 l- X& [+ I5 P$ |# }$ W
  1498. ; on every session initialization. The probability is calculated by using
    ! t8 |' G* |7 k, ]9 [: }% x& o  W
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , C) x7 ~% B5 ^- R; ^
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( E5 g+ l5 R) c6 @- T
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      \0 R  U/ \; y7 n0 O
  1502. ; the gc will run on any give request.
    % e: q& H" y& q' B7 P2 a$ m
  1503. ; Default Value: 1
    * G' }2 ~. D6 I0 E; }' T2 @& ~
  1504. ; Development Value: 1& y; I4 l1 }* _; m! c$ T, d
  1505. ; Production Value: 1
    * g; m4 K# R$ F: O/ ]6 Z
  1506. ; http://php.net/session.gc-probability5 [' f1 ~" ?% }
  1507. session.gc_probability = 1
    0 b7 q1 W6 q; F' [. s+ J+ k
  1508. ' a! s/ \" p) P9 X# r2 d3 U
  1509. ; Defines the probability that the 'garbage collection' process is started on every$ u3 t* [1 V9 e; K! S  b
  1510. ; session initialization. The probability is calculated by using the following equation:
    / p; f8 Y& X" q1 a* @
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and. y% u" P/ }2 B% G2 o1 H7 P
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 g# o- f2 a, u# \
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - w+ d. c0 n5 f- B
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you+ [7 D5 ]: m& [* D
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 L( }* e# L4 ]- R, T' E
  1516. ; this is a more efficient approach.
    8 C2 r  ]: t! k0 d6 F& \4 X; B; g
  1517. ; Default Value: 100
    * i! L$ F. m  X; L
  1518. ; Development Value: 10002 }6 S  m1 y6 p8 X
  1519. ; Production Value: 10001 R7 C8 @7 K; R1 d5 @" Q
  1520. ; http://php.net/session.gc-divisor$ ~7 F* j+ }9 f0 C4 n
  1521. session.gc_divisor = 10009 o. l; P( E/ U. _' [7 o

  1522. " s4 M! m9 F9 k+ R' r) H
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and' ?0 N1 m% o3 H) q7 [# Q$ q
  1524. ; cleaned up by the garbage collection process.* k( C; b' S4 C# n" b& i3 q5 L
  1525. ; http://php.net/session.gc-maxlifetime
    / ]5 ^/ F0 \$ u3 ^6 z+ l) r2 f4 c2 _
  1526. session.gc_maxlifetime = 1440; ^9 J3 L  P% J* I5 P3 q3 @* V
  1527. ( k3 i# M2 ?5 m" G9 ]; o
  1528. ; NOTE: If you are using the subdirectory option for storing session files$ |; N3 Q" X# E" `) ~  k6 X
  1529. ;       (see session.save_path above), then garbage collection does *not*6 p* Y  c4 m* r5 _6 N7 Z; o6 w
  1530. ;       happen automatically.  You will need to do your own garbage
    1 W1 @6 W+ h  z* i/ f1 }' _
  1531. ;       collection through a shell script, cron entry, or some other method.5 H. s' l( P9 B" I: \
  1532. ;       For example, the following script would is the equivalent of  `( X! q6 ~: o* W! P8 ?/ ?* S# P
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 _  g1 ?% u, q& H: [
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    9 J1 y% u3 G& b# z
  1535. 5 y7 h+ \) D! |5 f
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 |! v0 _& t9 K8 L( B
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    & h% `! l, L5 S) I6 c
  1538. ; considered as valid.
    / V( R" [# a1 i' I( Z0 i9 J5 `7 R
  1539. ; http://php.net/session.referer-check
      O  @% C' V4 h- c" N  |+ {
  1540. session.referer_check =+ ?3 Q6 x* f- p8 {; k( ?6 `$ u. \9 x$ ^

  1541. 0 A0 `+ g! i1 b3 N  w: K
  1542. ; How many bytes to read from the file.
    1 Y. X" n1 V3 T2 d/ @; b/ T
  1543. ; http://php.net/session.entropy-length
    1 e* Q) |& L1 L( ~3 U. q
  1544. ;session.entropy_length = 32
    3 O& A5 p4 E0 P. r! \+ U$ {. ~

  1545. 4 u  H) z+ t3 y# z# Y# c
  1546. ; Specified here to create the session id.
    ' ?0 q( ?% Z7 f5 [/ _
  1547. ; http://php.net/session.entropy-file- ?2 {# [1 t* t
  1548. ; Defaults to /dev/urandom" g2 ?$ @0 A/ b' p0 q9 |# C
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - H$ b& f5 P/ i2 W! u5 N* Y
  1550. ; If neither are found at compile time, the default is no entropy file.
    + }( x( _4 N; \* r1 y
  1551. ; On windows, setting the entropy_length setting will activate the
      F! O" u3 |, Q: a7 M0 r
  1552. ; Windows random source (using the CryptoAPI)) o. ?& p5 ^+ }: K$ o5 e* r
  1553. ;session.entropy_file = /dev/urandom
    . c1 A1 U- ?3 E) I# T
  1554. 9 ?6 Y8 r2 I& j
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ' `; {* p5 j( X0 O
  1556. ; or leave this empty to avoid sending anti-caching headers.% q' `" L! [+ [+ W
  1557. ; http://php.net/session.cache-limiter. s% b' V/ b% N( C9 U; y0 ?& X4 E
  1558. session.cache_limiter = nocache
    6 y- p& G$ w3 T2 M2 {6 @0 ~

  1559. ) G5 T' t" X" e4 W5 Z# i
  1560. ; Document expires after n minutes.
    4 f: U, M* i* C; h
  1561. ; http://php.net/session.cache-expire
    " C. V2 B; u$ S6 t! q7 Z$ N) ?
  1562. session.cache_expire = 180
    % A% v( u# P+ z  n& z% k

  1563. - t$ q  y/ k) [
  1564. ; trans sid support is disabled by default.) E7 e7 G( P2 c% M
  1565. ; Use of trans sid may risk your users' security.
    . X/ M& b4 E1 b, W& h) Z
  1566. ; Use this option with caution.5 h) B5 `# T3 J% S; p# ?
  1567. ; - User may send URL contains active session ID
    , Q% h2 H, M: s8 t' M  H
  1568. ;   to other person via. email/irc/etc.
    2 q5 p. ]  q3 I( Q
  1569. ; - URL that contains active session ID may be stored1 B, k. ]% m% S6 |/ p
  1570. ;   in publicly accessible computer.& M' o" }3 g9 g6 O9 D0 r" E
  1571. ; - User may access your site with the same session ID1 ~# s& r$ L; a* E8 d1 X6 E5 D0 u
  1572. ;   always using URL stored in browser's history or bookmarks.$ M4 i9 N2 k- y. u) H! j
  1573. ; http://php.net/session.use-trans-sid0 i& u; I/ h- G6 d* U, P
  1574. session.use_trans_sid = 0
    2 m- K+ Y3 H7 e3 y

  1575. : }) a0 m: L9 N: S& m
  1576. ; Select a hash function for use in generating session ids.
    ' B# d. C# K& r! X* j* I7 J4 r
  1577. ; Possible Values
    ' e# D& H0 D. E; a9 b/ B
  1578. ;   0  (MD5 128 bits)9 I2 ^3 _* p$ X+ T+ l
  1579. ;   1  (SHA-1 160 bits)  j, G' q' r6 X# Y* a5 j( d
  1580. ; This option may also be set to the name of any hash function supported by
    : F* }5 U8 ?+ b* k( m* _
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()( l8 X" @6 f! a: C3 X
  1582. ; function.2 @# ]: `% X; |8 A
  1583. ; http://php.net/session.hash-function
    2 L1 x" Q! V- Y2 y. r, b
  1584. session.hash_function = 0# y# A9 [* A! v& w( n: A* G' Y
  1585. 0 E/ S" g% P  ^" L- O
  1586. ; Define how many bits are stored in each character when converting5 S5 l/ o5 [* l  l; g3 S
  1587. ; the binary hash data to something readable.
    ) X: F7 N4 y6 K' j
  1588. ; Possible values:8 T. x% z' s( R, }
  1589. ;   4  (4 bits: 0-9, a-f)
    7 v  F$ e9 a0 I4 s/ ?7 M4 M
  1590. ;   5  (5 bits: 0-9, a-v)
    , [9 L" ^) ?5 }$ j* ]
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")5 M1 @5 I9 h" w. z. F% {$ @' G4 D! |
  1592. ; Default Value: 4
    0 X# o& {; k& m( P  ?' G3 q
  1593. ; Development Value: 5
    ( B2 {/ a# y4 V" e) S9 i
  1594. ; Production Value: 5+ k9 y# `+ r+ Q2 H8 v& F8 e9 ~, p& F
  1595. ; http://php.net/session.hash-bits-per-character/ M5 o, n4 [" ^0 M% j" f
  1596. session.hash_bits_per_character = 57 y' u9 ?% A7 s0 b; M5 ~6 Y0 C

  1597. % M* @$ |2 |. i' C" ]* Z" @& ]
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    + Y5 H. Y# [' G) x; H0 K( n, W/ U- g
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ; ]4 e  x2 r: S( t' I: B
  1600. ; add a hidden <input> field with the info which is otherwise appended1 r$ t, v$ w- i/ n5 n8 y
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    & w% t3 l. s- H
  1602. ; Note that all valid entries require a "=", even if no value follows.
    9 V, X5 L! S0 W+ R; B' Y0 a
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="" z/ K+ }& [0 Z& a
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # J: k% i# V0 ~6 c! z. a
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 A% G0 n* Y5 q2 V% m; y2 f& i& ]
  1606. ; http://php.net/url-rewriter.tags4 b; L2 {" }, U
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"/ @" `( g" u* l, Z8 m3 B
  1608. # P- H; x- Y2 C
  1609. ; Enable upload progress tracking in $_SESSION
    2 a# L) ?. c/ h  ^' t
  1610. ; Default Value: On
    1 ~* L& N6 I' M  {1 [: d$ S: {1 p
  1611. ; Development Value: On* A) _6 N. d9 d' H" g
  1612. ; Production Value: On+ _4 Z8 n, v+ j. U& n. }
  1613. ; http://php.net/session.upload-progress.enabled/ C) C& F6 G% b( l- ?
  1614. ;session.upload_progress.enabled = On, ]2 ?, W) B3 e  V. c
  1615. % P, g1 K, ^) x0 k- V2 L9 o
  1616. ; Cleanup the progress information as soon as all POST data has been read. G9 v3 k3 }. G% \, `: `; O
  1617. ; (i.e. upload completed).
    & `( z! l9 |: m$ L' \& `, ?
  1618. ; Default Value: On
      ?5 N1 s& {* A9 o$ G
  1619. ; Development Value: On6 m. J8 ]4 S% n$ Y4 {! d6 V4 J
  1620. ; Production Value: On
    - _  i  g4 f7 i% K1 Y2 \1 D
  1621. ; http://php.net/session.upload-progress.cleanup
    % k, h1 k: `( l1 M" S
  1622. ;session.upload_progress.cleanup = On3 P( s. ]* [! t1 H  M: i

  1623. 5 ^- Q( b, ~/ x# l2 h
  1624. ; A prefix used for the upload progress key in $_SESSION4 [7 n1 N; K) ]7 D" Z
  1625. ; Default Value: "upload_progress_"4 h3 _6 \/ q9 H" u& L3 b- q
  1626. ; Development Value: "upload_progress_"0 _) Z, i+ Y- R0 |5 C3 r
  1627. ; Production Value: "upload_progress_"
    & b- ], n% h& ~2 f4 u- h( ^
  1628. ; http://php.net/session.upload-progress.prefix
    ; I' E- c. t& C7 y. A+ q
  1629. ;session.upload_progress.prefix = "upload_progress_"
    2 R" V# D) L9 [1 o

  1630. ' [5 d7 ^1 Q5 G4 ?* Q; [* m
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    1 j1 M- A6 A& A% O
  1632. ; containing the upload progress information: N" T; r$ j( J7 Y
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 r  D  i& W% f/ d6 {& m2 R) [7 D( p
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"" Y* s: s9 L0 k: N$ |$ {
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"$ y) E8 t: @- _9 q- d- {" L
  1636. ; http://php.net/session.upload-progress.name
    4 J4 U9 s+ R" C$ d  o4 t: D6 V( V+ t* S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"/ k' g/ ~; X: d( A. h
  1638. 7 x4 z! T2 G! {& }" y# d
  1639. ; How frequently the upload progress should be updated.
    ' B4 C  F$ j/ A2 h# O
  1640. ; Given either in percentages (per-file), or in bytes' x0 X% ^# J, \$ V- A3 I; o* j
  1641. ; Default Value: "1%"' f4 f# _  \  F9 {
  1642. ; Development Value: "1%"2 A  m6 B4 t8 A( v; ?3 V4 r
  1643. ; Production Value: "1%"
    " t; U1 A: S6 j, _
  1644. ; http://php.net/session.upload-progress.freq
    # J; H9 }; }( O) T7 H
  1645. ;session.upload_progress.freq =  "1%"
    7 R1 J9 _- N' L- v8 Q! m7 p
  1646. : g$ ]. T! P1 W5 ]1 z2 ?; D
  1647. ; The minimum delay between updates, in seconds
    ! E5 ~& X; t9 G. s
  1648. ; Default Value: 1
    , b( _2 M' h1 u' G: g4 m4 t
  1649. ; Development Value: 1* n; @) W$ m: y9 H0 S
  1650. ; Production Value: 1
    + Q; b1 J9 d% Z# |. ^7 e$ Z) Y
  1651. ; http://php.net/session.upload-progress.min-freq7 k4 s# ]& r5 ?) a& r, u
  1652. ;session.upload_progress.min_freq = "1"
    7 q$ a8 u, w  V2 P- _5 t6 B

  1653. ' k; m, M7 f4 c2 ?# p% h/ M; k
  1654. [MSSQL]  |! u( G4 @) ]$ z) F2 z
  1655. ; Allow or prevent persistent links.
    5 W, k# ?) {- ~0 L! i2 ?! z
  1656. mssql.allow_persistent = On. C9 c2 g% c: S
  1657. 7 h% U: W& L. }* N
  1658. ; Maximum number of persistent links.  -1 means no limit.) Z% c0 W( k* Q
  1659. mssql.max_persistent = -1, u" \% x+ S( M. v6 ^; C9 e

  1660. 3 b; w' H7 w5 u1 }! ?4 \
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; J, H/ [* E, k2 }8 q: V/ B
  1662. mssql.max_links = -1
    6 l4 x6 ?( Y3 e+ K
  1663. % ]# c& Z6 C4 ^3 V
  1664. ; Minimum error severity to display.3 o3 f0 W& d4 d6 x, C
  1665. mssql.min_error_severity = 10; o' A2 x6 T% e

  1666. 8 v. v. b+ |, x
  1667. ; Minimum message severity to display.: g; L9 |' N( D; G
  1668. mssql.min_message_severity = 106 s1 a/ n8 ^' L9 I. R
  1669. 1 A6 e; p( @( l! t# c. Q4 G& R
  1670. ; Compatibility mode with old versions of PHP 3.0.
    8 O4 h3 c' r" p( o% U* d$ o+ Y
  1671. mssql.compatibility_mode = Off
    / N* ]+ x2 v; D6 w% i
  1672. & Y/ G3 f0 V$ h" |: U5 A7 r5 x
  1673. ; Connect timeout; b8 M6 o" x) B
  1674. ;mssql.connect_timeout = 5
    % x% k% @1 S1 R( R+ m2 h2 M2 I5 A
  1675. ' r6 m5 v- W. L" e# U" A
  1676. ; Query timeout; T9 h4 N& @! ]8 F( x* `" [
  1677. ;mssql.timeout = 60
    9 P3 s, V: v# n- R

  1678. ( {% b! f% [, l
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      w1 }/ ?) D  b5 g2 z- j5 `
  1680. ;mssql.textlimit = 4096
    3 R* O2 x4 S: h# f$ c+ H
  1681. : z5 x3 Y  s* Q% r
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    6 _0 y& \! j+ C4 |, L- V
  1683. ;mssql.textsize = 40966 U! s$ A% `% U4 g. W. h3 k; _$ X
  1684. + [4 I* m6 H0 `5 l( Q% m; d
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.. b# i1 {7 \$ o, J1 U  c
  1686. ;mssql.batchsize = 0
    , T1 v1 f) k" p% Y+ p3 ~8 B- K
  1687. 6 i1 _7 O9 G$ ?( l
  1688. ; Specify how datetime and datetim4 columns are returned3 z+ {8 n* Q% D" C
  1689. ; On => Returns data converted to SQL server settings+ _9 q" |( _; k# f6 F0 K
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss# N5 v8 m! K4 F7 I! B* K
  1691. ;mssql.datetimeconvert = On
    5 e( u" v/ o* a- ?  N% o* N
  1692. 4 l% D  D7 u, d/ ^* }5 e3 l
  1693. ; Use NT authentication when connecting to the server
    . U: s- V% Z: F0 {
  1694. mssql.secure_connection = Off
    ' \0 _9 m! A$ m0 q" n5 w

  1695. 5 w3 [1 U0 N! c+ {- e
  1696. ; Specify max number of processes. -1 = library default. f+ F/ X1 v) s" T2 z% N% e
  1697. ; msdlib defaults to 25
    . f) J0 {3 ?7 S7 B
  1698. ; FreeTDS defaults to 4096
    7 F) R3 p( [. g& ~* V# Z
  1699. ;mssql.max_procs = -12 y% p/ q8 Y7 Z4 S  T
  1700. 5 S4 f" k0 g. a% V# u$ C% i
  1701. ; Specify client character set., j* o( b6 V+ @% A# B6 |" D
  1702. ; If empty or not set the client charset from freetds.conf is used! C$ N. u7 ~5 U& c& u
  1703. ; This is only used when compiled with FreeTDS
    5 O3 U/ O9 e" X, U% _& j. Z0 f8 `
  1704. ;mssql.charset = "ISO-8859-1"1 z7 `, T% {9 {$ \- L
  1705. 6 ^# m' ^$ }0 R+ W2 u9 v; c
  1706. [Assertion]
    : G& J) I# x0 D0 }; G! k# k
  1707. ; Assert(expr); active by default.1 h5 j  G- U9 l4 |
  1708. ; http://php.net/assert.active8 V$ |, G# R* p, @; v  t# d& D
  1709. ;assert.active = On8 ~! o! G. T5 b" p! p. K

  1710. # \7 D& D+ ~3 s( ?% V
  1711. ; Issue a PHP warning for each failed assertion.( l, d6 a. A& W* d
  1712. ; http://php.net/assert.warning
    2 h, H6 b/ n4 T+ A3 u
  1713. ;assert.warning = On/ ^7 i# s; H) ?- V$ u) m
  1714. 3 ^+ g( J6 E; S2 M- ?7 W: ~  e; Z( G7 ^
  1715. ; Don't bail out by default.
    5 }9 x5 J6 t& A$ O3 g
  1716. ; http://php.net/assert.bail- p7 \" j1 _; ]
  1717. ;assert.bail = Off8 G6 X. g6 a; q3 f$ r2 d1 m; Y- K
  1718. , k/ x3 _9 b! w# }  a; E' Q" U8 r
  1719. ; User-function to be called if an assertion fails.
    % C7 p* Y5 T- e/ L6 @! R; q
  1720. ; http://php.net/assert.callback
    1 b7 X% _' k7 i( e
  1721. ;assert.callback = 0, H0 a; H) _+ Q% D7 r9 p; _
  1722. , ]6 {4 _; u) |, Y
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    - w8 n. v5 j9 v; W) J& Q
  1724. ; error_reporting(0) around the eval().) k2 i" b- u$ M& `
  1725. ; http://php.net/assert.quiet-eval2 ^1 w0 ]+ X' k% y+ G# X/ y
  1726. ;assert.quiet_eval = 0
    6 T5 h$ H3 s! O3 [
  1727. 9 Q) A1 ?# H2 r' c% z: @* t
  1728. [COM]
    * P: K) t( h. b# D+ [
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs2 {6 Z. l$ J5 k+ L! @
  1730. ; http://php.net/com.typelib-file  E/ v  u; q4 p
  1731. ;com.typelib_file =$ m$ H2 X, i; S; J8 d& W
  1732. ' l2 s' l$ p) ~
  1733. ; allow Distributed-COM calls. T4 z" A" a" _# |
  1734. ; http://php.net/com.allow-dcom
    , w. C" b) I) L) y! J0 V2 @( P
  1735. ;com.allow_dcom = true; e7 b! K- x0 {4 i3 Y
  1736. ; o3 W. v! g% N8 F- F8 F
  1737. ; autoregister constants of a components typlib on com_load()
    0 q/ O( P# M7 n* f4 u$ ?$ _5 y
  1738. ; http://php.net/com.autoregister-typelib5 G0 X' `* E/ s8 m0 a4 Y
  1739. ;com.autoregister_typelib = true1 C9 e8 y2 x- U+ l  r
  1740. + `, T- B* v% ?* q1 Q2 m1 [
  1741. ; register constants casesensitive+ b% d: ^* e$ o# ^  u9 \" l- ~
  1742. ; http://php.net/com.autoregister-casesensitive5 ]  x7 E0 i9 R! {4 y& f2 ]- T
  1743. ;com.autoregister_casesensitive = false
    . `9 |3 i- E" V( I% A/ @2 S
  1744. 6 |" X# p9 k# h6 t
  1745. ; show warnings on duplicate constant registrations
    , y0 ^5 v0 _0 ~( e0 V5 ?  O% t5 s
  1746. ; http://php.net/com.autoregister-verbose) t' }6 N7 R3 m4 M3 a
  1747. ;com.autoregister_verbose = true
    ( Q" N% |( L4 u: d, l  ?: U! {

  1748. 8 w' g: k8 F( G9 [0 y
  1749. ; The default character set code-page to use when passing strings to and from COM objects., L# b9 L7 z! P1 X) v2 W
  1750. ; Default: system ANSI code page
    # ^# D) O) d& j* U/ r8 b6 B; g9 w& P
  1751. ;com.code_page=
    . Q, Z9 W: H8 t- x: @) E7 i# K* Z6 `
  1752. ( a) D) F  r0 m; ]$ l- B- _: B
  1753. [mbstring]
    ) I/ B! R8 o$ u
  1754. ; language for internal character representation.# k3 ^3 l8 n+ F1 X: N  e
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.3 [+ I. k& o! b/ ^* Y
  1756. ; http://php.net/mbstring.language
    4 y( ~5 b' }* B# \( Y
  1757. ;mbstring.language = Japanese
    ; F$ V7 x7 a) j/ w

  1758. ( `2 d! B3 \+ X/ V# _0 e1 s- {1 D
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 t9 U1 Z  ?  Y$ Q  ?; @
  1760. ; internal/script encoding.+ m3 T, P- Z; }6 o
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)% ~4 t+ K1 @2 y" X
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 @: s/ M! ?( ~2 O* u) U
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - e1 K$ Q8 W+ o- U9 a! r
  1764. ;mbstring.internal_encoding =* |% ~9 h) s& P5 u" I% H/ A
  1765. ) {% q" v8 l3 i! Y) C
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 V1 r9 b* r" j6 z: @: M8 \
  1767. ; http input encoding.; i7 R. X! u; ?# v  z7 f
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & y$ z* F) d% U+ C1 y% M9 f/ r
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
      b: f- S  D$ D1 G1 P4 m
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input3 R) q! l' |1 R
  1771. ; http://php.net/mbstring.http-input
    " V" L9 {. J( f* h0 q
  1772. ;mbstring.http_input =
    ' ]- ^+ o. ?6 Q7 R, E

  1773. ! K; L5 y- e3 b- l- F) _: |' }
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 Y9 x- w) t" {
  1775. ; http output encoding.' P/ t2 M2 x1 D: V! y
  1776. ; mb_output_handler must be registered as output buffer to function.+ w! Z0 Y; @1 D6 |" ^
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.' W$ v3 c' M. w2 D; ^. ~
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    # _. e7 Z2 f; g3 t
  1779. ; To use an output encoding conversion, mbstring's output handler must be set# u+ g- v! K7 p1 L5 o' R
  1780. ; otherwise output encoding conversion cannot be performed.; I/ Q( U& N- O6 G+ t( g- ?1 N
  1781. ; http://php.net/mbstring.http-output2 N: e. B. H9 `8 V+ p+ o3 k
  1782. ;mbstring.http_output =
    2 X6 }& E: g9 Q2 [9 N$ W5 c* d1 T' [
  1783. / e0 f. X$ b1 {3 I6 M' X
  1784. ; enable automatic encoding translation according to, o! `5 a. \' z1 ?' u
  1785. ; mbstring.internal_encoding setting. Input chars are
    5 I8 C* q& o; q
  1786. ; converted to internal encoding by setting this to On.
    ; d4 D9 D( F  n. T: a9 x9 a
  1787. ; Note: Do _not_ use automatic encoding translation for
    7 U1 m& P2 Y) |7 s1 }
  1788. ;       portable libs/applications.
    * ]* t8 ?1 \* v. e
  1789. ; http://php.net/mbstring.encoding-translation
    : F! \% z, `" [$ _2 C# S5 n
  1790. ;mbstring.encoding_translation = Off
    ) D. L% b& c/ l& o% H% L2 _& p, m) E

  1791. % \, K1 s" H+ p/ S8 U- z! C" P
  1792. ; automatic encoding detection order.$ P7 Q% ]! {* Q  J& z4 z3 \
  1793. ; "auto" detect order is changed according to mbstring.language- S5 v3 V) ^# n3 x9 d7 ]" M
  1794. ; http://php.net/mbstring.detect-order
    9 N8 ~2 c- y+ z
  1795. ;mbstring.detect_order = auto
    7 X' T' K* }- @5 K
  1796. $ @* Z+ d2 n1 U1 g
  1797. ; substitute_character used when character cannot be converted
      H! }. X/ w. j# E( A& X
  1798. ; one from another
    . E; ?" {) O4 T  h. U" X5 w
  1799. ; http://php.net/mbstring.substitute-character8 r! A6 m$ {/ x+ F1 c0 F: C' D
  1800. ;mbstring.substitute_character = none8 E8 Z( {- |( ]" t, M- ~0 _7 L
  1801. $ c/ y) B8 p  @
  1802. ; overload(replace) single byte functions by mbstring functions.$ k/ Y" S) u7 u  q* G0 u7 m
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    $ N- B  U0 @# r9 M4 }& |, u
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.. J$ b. a7 r  _( X. n
  1805. ; For example, 7 for overload everything.
    $ l7 O8 @) }/ Q3 j3 I
  1806. ; 0: No overload
    % u! _/ P; [$ P7 {6 O/ l* x
  1807. ; 1: Overload mail() function4 B! C5 |$ x% b" B9 t& @# f& U; R
  1808. ; 2: Overload str*() functions
    ' N$ S! Z3 I2 ]6 x8 D3 z
  1809. ; 4: Overload ereg*() functions3 g4 F5 n/ i7 R+ B8 ?
  1810. ; http://php.net/mbstring.func-overload' W4 m% x5 m( r1 d: [6 t
  1811. ;mbstring.func_overload = 0
    " C1 ^$ B6 s+ @5 O0 l6 J

  1812. * x% C" v) O0 R0 I& q' {8 O4 p
  1813. ; enable strict encoding detection.. t, ~; J9 W% X6 N
  1814. ; Default: Off; l1 a4 y: k. {" m& _( ^/ G& o) \
  1815. ;mbstring.strict_detection = On
    1 v5 _) g+ }. l( L7 g& W

  1816. 0 n8 N& s. i$ m; o
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()& g' `$ h9 q. F( V) M% t. U3 z% K
  1818. ; is activated.
    4 B9 O9 a* W2 v, F8 T1 z" Z
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! O5 }! J" @/ C4 X6 N1 w! W
  1820. ;mbstring.http_output_conv_mimetype=+ U: j1 h2 m) }4 H8 X" }
  1821. $ W* ?9 H( X* ?9 H" n1 g. D
  1822. [gd]8 m4 R+ V( i2 Z2 h) D2 a- R. J) S
  1823. ; Tell the jpeg decode to ignore warnings and try to create8 s) q/ K8 l5 w# U
  1824. ; a gd image. The warning will then be displayed as notices2 S5 S, L$ g; `' u& `
  1825. ; disabled by default
    ' v( c" K0 S' S$ R* ^& v2 R
  1826. ; http://php.net/gd.jpeg-ignore-warning$ J$ \- d9 U" a& x0 s
  1827. ;gd.jpeg_ignore_warning = 0: E9 D$ l: }6 g0 Q
  1828. 1 h' j5 l: w6 k" N" Z
  1829. [exif]
    " D1 N6 \( I& `0 f
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.3 p' l: w" U0 ~" o- J0 Q2 [
  1831. ; With mbstring support this will automatically be converted into the encoding
    : z; y: V$ _" r) w+ H, J
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding" i2 {$ ]# q/ E) e
  1833. ; is used. For the decode settings you can distinguish between motorola and3 n$ R, g- w' X) X; p4 y3 q
  1834. ; intel byte order. A decode setting cannot be empty.
    & J$ ~0 o  ?! j# t' f6 `4 Q
  1835. ; http://php.net/exif.encode-unicode
    ( T  w% T) Q3 x, Q
  1836. ;exif.encode_unicode = ISO-8859-151 S7 D  F  a& o' M% A4 N

  1837. $ h) l: M0 g/ X5 Z
  1838. ; http://php.net/exif.decode-unicode-motorola8 d, X9 ]( u# Z1 A3 y2 X3 l
  1839. ;exif.decode_unicode_motorola = UCS-2BE/ P/ T- V- Q# q$ }( e3 T

  1840. " R/ G) r- }3 g- z0 S7 ~
  1841. ; http://php.net/exif.decode-unicode-intel
    : P: ~- ^  l) L' k- A5 w3 k
  1842. ;exif.decode_unicode_intel    = UCS-2LE2 ]- j: \/ \& u2 V1 c1 n  y
  1843. . z/ q4 t1 g/ |
  1844. ; http://php.net/exif.encode-jis
    2 k7 }  |; |1 J9 p. T# [" ]5 c& @
  1845. ;exif.encode_jis =
    " w6 M6 K$ \0 }% V/ u! P

  1846. 1 {+ Z! r0 C8 v+ S8 n. y
  1847. ; http://php.net/exif.decode-jis-motorola8 [" @* Z0 p* A
  1848. ;exif.decode_jis_motorola = JIS1 X  E; G8 c9 g) {) Q$ x1 A

  1849. / n4 _2 [% c6 }: w7 v
  1850. ; http://php.net/exif.decode-jis-intel* f$ P3 b0 v& r, W9 x' a4 @7 H4 K
  1851. ;exif.decode_jis_intel    = JIS
    & h$ j) @* P  l

  1852. : O- G* d* k  X4 V3 q3 y, v5 S
  1853. [Tidy]
    3 F. r0 R4 j) H
  1854. ; The path to a default tidy configuration file to use when using tidy% x# s0 @7 i& b! f. Y
  1855. ; http://php.net/tidy.default-config7 S  }+ B9 H0 ~% T
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    # o6 C3 w1 O! M* M
  1857. $ A  P9 ]' r: C  T
  1858. ; Should tidy clean and repair output automatically?
    : B4 }( ~- x8 z9 q
  1859. ; WARNING: Do not use this option if you are generating non-html content
    5 P( ^; W7 F/ F( ]: K
  1860. ; such as dynamic images
    - g9 C8 ?  g. z
  1861. ; http://php.net/tidy.clean-output; Q: r. v3 ~1 y; }: J% E0 E
  1862. tidy.clean_output = Off
    ) A5 J2 T% `4 x! }
  1863. 2 w6 k6 h# E: G
  1864. [soap]
    9 p% n' ~0 J% ^, S. `
  1865. ; Enables or disables WSDL caching feature.
    ( d/ @' [5 G4 `  n' B
  1866. ; http://php.net/soap.wsdl-cache-enabled
    6 I& I2 y8 @7 m
  1867. soap.wsdl_cache_enabled=1) X4 _6 S* x- U% j+ {% c) G

  1868. 8 ^) e2 H3 x# ?# J+ s
  1869. ; Sets the directory name where SOAP extension will put cache files.
    & c. h8 w* G$ _: a, E6 v8 {8 G
  1870. ; http://php.net/soap.wsdl-cache-dir
    8 ?! w. C2 b6 T! b. z
  1871. soap.wsdl_cache_dir="/tmp"- e+ M& x+ W- d8 C/ t  ^" @  ]

  1872. " R/ I7 _# C' ^4 O! v
  1873. ; (time to live) Sets the number of second while cached file will be used
    " J! F) @% P. K# D
  1874. ; instead of original one.
    ! |3 E$ @. f/ f, ~
  1875. ; http://php.net/soap.wsdl-cache-ttl( p+ ?! t5 [( _$ V( K( }* e
  1876. soap.wsdl_cache_ttl=86400
    - g" G# Y0 m/ I9 E7 G

  1877. , y' b7 G/ f2 y7 {0 N' P9 p$ w7 {5 h
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    + x$ g% ?; X( Z4 g3 S
  1879. soap.wsdl_cache_limit = 5
    6 G) M4 m2 C: a- O" l# P, M! X
  1880. . Q% ?; k: X2 ?1 N, G! d8 \& }3 ]+ _
  1881. [sysvshm]! u' h. }% E* n
  1882. ; A default size of the shared memory segment( r3 j- S4 ?5 x, N; Q: c8 v
  1883. ;sysvshm.init_mem = 10000* R( ]* D2 E3 }% U

  1884. & Z$ D  f7 Q3 i* J" k5 i
  1885. [ldap]
    5 G3 e0 }3 b& x4 w& R2 J4 P7 p
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    6 x' S: U. r/ Y/ [8 a+ ~1 w
  1887. ldap.max_links = -1& N. i4 e4 v' X
  1888. - ~4 n% R! H- r- z7 O8 U8 o/ E
  1889. [mcrypt]0 c9 F  T  P) R1 C. d$ b! E  A
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    / H7 i/ M$ }7 `( O; F# E

  1891. : Z, X4 z# ]0 W6 Y! K$ E
  1892. ; Directory where to load mcrypt algorithms3 D% [4 N* H1 h" J' g  ~
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 h6 W# N) f, ~6 [( b+ G
  1894. ;mcrypt.algorithms_dir=
    5 o7 m# E$ S1 c/ ?
  1895. * Q0 |( @* Q% M  N  P) Q" r
  1896. ; Directory where to load mcrypt modes! f6 ?6 k9 [! d6 s! B# [6 I% X- z: w
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 C" v: e$ w/ n6 z
  1898. ;mcrypt.modes_dir=
    : X7 t5 A3 E* y7 s7 o* p/ i0 y! ?
  1899. $ O8 c5 R' W+ Z, c2 x8 {9 _- U# F
  1900. [dba]7 F0 }3 @- `" H# y
  1901. ;dba.default_handler=
    1 M' n) h8 _! A. e% w

  1902. 8 t% X& r* F: L  ?
  1903. [opcache]
    6 o6 V  b8 ^0 B7 i, C
  1904. ; Determines if Zend OPCache is enabled0 P. l! [4 Y; ]
  1905. ;opcache.enable=0
    * B) w( ?! k) c8 B, P7 x
  1906. * g/ D9 {( v& v9 d5 b
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    3 I, t; V$ H6 x8 V1 g- H( L$ {5 z* x
  1908. ;opcache.enable_cli=0
    . ^+ }& [/ J+ r( P" t. J

  1909. # a7 S; e, v/ ^4 T3 Q
  1910. ; The OPcache shared memory storage size.
    , Q9 D0 H5 T7 T. x
  1911. ;opcache.memory_consumption=64
    + M- v! B$ a) E% r& s! K
  1912. ! T4 d% `$ Z2 v. o( p. `0 {
  1913. ; The amount of memory for interned strings in Mbytes.
    " L  `) L$ ~( W1 x. i5 k" b
  1914. ;opcache.interned_strings_buffer=4# N! ]+ X. r' z) ~8 Q8 {; @
  1915. ) W* `. w6 d6 S( ^9 _9 a
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.9 r( D, B, g) q
  1917. ; Only numbers between 200 and 100000 are allowed." Y0 y4 l* ], y9 W& [: U8 Q
  1918. ;opcache.max_accelerated_files=2000
    ) X4 O# t9 t( e  @& ~- L2 O

  1919. ; E6 X# S; l2 u% i+ u. @8 _$ q& x
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    & B1 f; d9 Q3 f8 {% F
  1921. ;opcache.max_wasted_percentage=57 z7 l) w( E: ~- y- a/ C

  1922. & c- f, f3 U# n! i
  1923. ; When this directive is enabled, the OPcache appends the current working1 c* u# K  g6 ~7 f
  1924. ; directory to the script key, thus eliminating possible collisions between: d# d' M4 {$ b4 k
  1925. ; files with the same name (basename). Disabling the directive improves
    7 G  G7 C: b& O1 s  K
  1926. ; performance, but may break existing applications.
    5 f4 H* G1 e- W8 i- A
  1927. ;opcache.use_cwd=1
    : K" }/ K6 [0 R& l% n  y0 i9 m- d/ y
  1928. 4 ~% ]& ]) _0 k- m
  1929. ; When disabled, you must reset the OPcache manually or restart the& u( f7 C3 v& [6 {: J7 K+ h
  1930. ; webserver for changes to the filesystem to take effect., A9 u) E4 R: h3 A' K' P0 b) C
  1931. ;opcache.validate_timestamps=1
    % g0 w1 }! V+ a: U5 d
  1932. # o9 F  ~2 i  D$ Z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared. a! c8 L5 o7 e$ Z" F0 O
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    $ o0 a0 r* [( Q# f9 T; i' @9 @1 G
  1935. ; once per request. "0" means always validate)( M" A! X* [2 q. N) s" ]/ U
  1936. ;opcache.revalidate_freq=2) d" m, L* w5 w7 `8 m. s; N% x. p

  1937. 6 p3 ^8 A7 d" t! K+ M  p+ a/ f
  1938. ; Enables or disables file search in include_path optimization
    ' K0 r4 o7 z$ Y' n( }! W  U+ f
  1939. ;opcache.revalidate_path=0
    1 X/ L' u% a" U! T$ N

  1940. ) n0 X$ c2 P2 q* Q
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # z  j7 Q$ G) H& N0 K8 J* o$ {2 O
  1942. ; size of the optimized code.
    + U8 B0 ]. p6 B, O! _4 d# S# m
  1943. ;opcache.save_comments=1
    4 D+ z' R2 [: M# d( N  X$ k
  1944. . D, [0 g. r" @# u
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"8 z5 |5 B7 l1 b2 [( J, l5 L- p
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ) ^5 w4 W4 S7 E% e4 H) a' `
  1947. ; that don't need them anyway.
    & \% Z  \. n3 M9 _
  1948. ;opcache.load_comments=1, p: k; w" x% ?3 a! V
  1949. 3 j0 U1 m% I' \5 O; A+ w5 o
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code3 n% w: e7 o( ~7 G4 h9 C9 `
  1951. ;opcache.fast_shutdown=0! k: M* ?. B, X; P
  1952. & a, p3 q0 D8 D# l
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    * y3 E) L0 d0 [* v- O+ d
  1954. ;opcache.enable_file_override=0
    3 s3 x* e$ F# l4 T( [

  1955. 4 q: K$ p: \2 O
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ' f: _3 Z% T$ m- U9 @$ D
  1957. ; passes! m! W) G, g: y* A
  1958. ;opcache.optimization_level=0xffffffff& y6 `; D% R0 e/ o8 r$ S0 s

  1959. 3 r3 _! V9 u, x! o
  1960. ;opcache.inherited_hack=1
    ) b6 m  s1 K$ g/ Y  Y7 e
  1961. ;opcache.dups_fix=0' `6 d" f5 W2 F: b6 V5 J
  1962. 2 S# j2 r: H9 r1 D, q! ^
  1963. ; The location of the OPcache blacklist file (wildcards allowed).1 L6 V% s8 y. k) w, x
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    , f* V+ Y7 A& r1 r+ v) T
  1965. ; that should not be accelerated. The file format is to add each filename
    ) {$ v; I/ Q1 ~& y2 f2 j
  1966. ; to a new line. The filename may be a full path or just a file prefix; }1 j, O3 Z7 k+ I, h% o. {
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www4 ^; r3 z2 c+ }& a/ j
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    3 i* _$ y  g, U: ^3 l: l
  1969. ;opcache.blacklist_filename=
    & R9 Y4 S. a/ U0 a9 m: A

  1970. ) d) T  E0 d' d/ y0 V
  1971. ; Allows exclusion of large files from being cached. By default all files
    ' `. B  M. b3 o4 u- H& u
  1972. ; are cached.
    0 F  U) s+ o$ W7 e/ `
  1973. ;opcache.max_file_size=0
    8 \& y% o+ B6 a( t) X; N/ P& Y
  1974. 8 H; I2 O  f8 `. j8 s8 p
  1975. ; Check the cache checksum each N requests.
    . a8 M7 s8 M/ t4 F+ ?/ B# Z7 {: q; q
  1976. ; The default value of "0" means that the checks are disabled.8 j. V9 Y% p( _# ^
  1977. ;opcache.consistency_checks=0
    ' C( m; F4 n6 A! }! ^) J1 i! O
  1978. # D9 ^: {" v1 j4 Z3 }7 e
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 A* O- Q) H* r, E5 y# j
  1980. ; is not being accessed.5 |# H5 l( T' l
  1981. ;opcache.force_restart_timeout=1800 M( I% M! ]0 `  g9 D& q
  1982.   @- [( B# `+ x/ F4 C
  1983. ; OPcache error_log file name. Empty string assumes "stderr".* x" {5 A  v( u! k& H! R5 L
  1984. ;opcache.error_log=7 T" i! r5 C& j  o" a1 e
  1985. # j7 Q) a! ?6 o) Z* O* u
  1986. ; All OPcache errors go to the Web server log.. ^, ^% P2 Z4 Z+ f4 F
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    1 U5 ]! ^8 \# M
  1988. ; You can also enable warnings (level 2), info messages (level 3) or' R$ |3 ?* z) z6 p8 {
  1989. ; debug messages (level 4).
      X0 j4 D+ v9 E, l
  1990. ;opcache.log_verbosity_level=1/ P! Q, J5 P7 o5 E
  1991. , Q4 l5 g# _3 d& _2 _( M
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' j) p* a! P: H4 ?$ _0 c
  1993. ;opcache.preferred_memory_model=
    3 ~3 f0 x" j; n( s

  1994. 8 |9 K' R4 W4 q% ?5 {3 Q" X; t
  1995. ; Protect the shared memory from unexpected writing during script execution.
    & }! m# p$ ~( V+ ^
  1996. ; Useful for internal debugging only.: b5 R/ L) t4 Y& ?! n* Q
  1997. ;opcache.protect_memory=0
    , k' G; t7 ]0 G3 B$ p4 u% D

  1998. # }5 |2 `, S+ W4 R4 i* Y* M! O% ~
  1999. ; Validate cached file permissions.7 f3 o( {0 Y' D9 i! D6 I' `) W0 K7 ]
  2000. ; opcache.validate_permission=0' t, H$ g1 f4 e/ `( o# L

  2001.   ~- {: P* P- y( \( V. ]3 q/ e
  2002. ; Prevent name collisions in chroot'ed environment.0 w  ?3 m5 }5 X& ]! V
  2003. ; opcache.validate_root=0
    6 C, a  p" T0 J1 X% X

  2004. , _3 M* K% [  K/ C. B7 C( G! z
  2005. [curl]# ~! B$ r/ R3 O6 s9 {
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    6 d& K% e# f/ J4 l  d
  2007. ; absolute path.
    ' G( P9 I8 ~7 H- R/ j
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    + |) c; H  I8 p8 \9 ^

  2009. $ k" I/ q4 A4 \9 _
  2010. [openssl]
    & r7 f4 O) J% [- I/ x. R6 D
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem; d; B, E* C, k
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should3 |) j% o! w0 y. y( T- t6 `
  2013. ; not specify a value for this directive as PHP will attempt to use the# p4 n2 }  U1 c+ {' T  x* Y( m
  2014. ; OS-managed cert stores in its absence. If specified, this value may still3 a7 ?$ l1 T+ i4 {
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
      c. [2 T+ r4 O2 e. _
  2016. ; option., @% }  |3 Y* d) V# j
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    3 B" B9 H2 p2 d. C

  2018. , C6 |/ P0 D, x0 x# S9 C4 t# u" p& p
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    9 D* t2 O  C6 H; q; n3 ?; V$ v. U
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    $ y( X" t" h' h' t6 s% t  {
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ' y7 {1 T5 c2 {. [' V  K+ x
  2022. ; Most users should not specify a value for this directive as PHP will
    & A) v* V3 K+ S, J
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & ]/ w. k7 d0 K' p# y0 Z8 Z- B
  2024. ; this value may still be overridden on a per-stream basis via the "capath"  _0 p9 v& ^3 C$ O3 H
  2025. ; SSL stream context option.
    ( j7 |6 n% C0 z8 F8 c! \
  2026. ;openssl.capath=* W" i8 M# u$ H" _  B) y$ S2 f+ i- K4 S
  2027. ) S  r& ^2 t5 P" G+ K
  2028. ; Local Variables:: d2 b5 L5 l5 H; p1 T1 n8 U
  2029. ; tab-width: 4% i8 l; M# [- _7 I
  2030. ; End:4 I( h) v# u/ Q! N
  2031. + J* B% [- r  e6 k' Q$ [; R
  2032. ;eaccelerator8 Y$ h; Z/ J. v3 x/ n1 p

  2033. * w: H9 }+ O8 n3 c$ v0 R" l9 Q
  2034. ;ionCube
    2 K6 [5 g( l# q1 f6 C* X
  2035. 0 t0 i& N8 {- A+ i% i' R
  2036. ;opcache
    % u8 K5 c; [" M1 Y$ [
  2037.   z1 ^" J6 @8 [, B, S
  2038. [Zend ZendGuard Loader]* M7 e1 D: ?( }: |2 w( ^. U
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so' ~$ A8 x% b" c
  2040. zend_loader.enable=1- e$ N8 x& C- G, ?, q
  2041. zend_loader.disable_licensing=0
    ' t5 H0 b( V' n3 a+ n
  2042. zend_loader.obfuscation_level_support=3
    % \; e) a; A3 r0 l. l1 ^) P
  2043. zend_loader.license_path=
    : z( s0 f* A; G4 ^) i
  2044. / }2 i. v. q# {/ [, F5 g
  2045. ;xcache
    1 L0 F4 t' o2 `

  2046. 7 N5 L% R6 z% h' [
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
: o/ O. s, t, {
7 z2 X" D2 b) C6 s/ B8 m" \2 P& p, }$ y1 d# |! s6 P
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
( q- M/ m, S+ p/ j* E; d7 \- i- N3 ]! t7 M6 J
Discuz!程序版本选择:$ G7 k" S  D4 r- p+ _  M( F
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,3 y  e7 v. \+ D( o, `
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
. S% |$ e8 f4 ~3 P7 H& 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。6 p- V# H8 n; C, \# b7 w

' j: e" s, i# s) p5 V, b: Y2 nDiscuz!插件模板版本选择:
' K& T( F6 ^- G! ~: r/ s. Y很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
  A; Q; e0 ?$ f针对这个问题做个统一的普及:
: W, i# O( ?6 Q7 `X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
4 z0 o- F: F7 S: ]4 a' N: G# y# S  U  i5 o
所以& ]9 d* @4 e% C1 c
适合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的二级域名。; [1 d! g1 @9 o7 p; D9 {2 Y) |
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。! K7 O% t) P& N( U/ u5 M
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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