分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0' n0 c& C. p0 z6 A5 V, }3 ~5 k
) e  p2 p1 ~8 @& e' S. G3 [
  1. [PHP]
    * O8 k! `  u6 l  I
  2. / C6 z% B" H) y/ L) y
  3. ;;;;;;;;;;;;;;;;;;;
    . M0 A% v! K( D# W
  4. ; About php.ini   ;/ ~. p8 I0 H, _. }8 R; S7 L6 F$ u
  5. ;;;;;;;;;;;;;;;;;;;
    ) y+ a& y3 C  Y$ l, ]7 ?2 F
  6. ; PHP's initialization file, generally called php.ini, is responsible for6 w: d0 p6 @( |
  7. ; configuring many of the aspects of PHP's behavior.* n6 m" |5 Q( a( @- k3 n8 H1 a
  8. " q* }0 g1 l  z2 d9 x/ r
  9. ; PHP attempts to find and load this configuration from a number of locations.
      w$ Q+ T( X7 O' M: i5 {1 P
  10. ; The following is a summary of its search order:, ^' T3 x0 w  ?) i
  11. ; 1. SAPI module specific location.9 m) m) k" }; x* @3 d
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    2 G1 q$ W0 I  |8 e. y! I7 n
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    % R! A; n" J1 R7 a- `# n
  14. ; 4. Current working directory (except CLI)5 v, Q; d  G; f$ E! K/ h
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ' q: m+ f% f" d" I! {* R
  16. ; (otherwise in Windows)
    9 \  ]" b' ]+ H  A3 @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    # r+ y% c/ }8 ]/ M; [% l$ C5 ?
  18. ; Windows directory (C:\windows or C:\winnt)
    1 L4 e2 O! Y6 C# m# K, T1 J
  19. ; See the PHP docs for more specific information.
    8 t! C" z5 v' `
  20. ; http://php.net/configuration.file# p# f5 I& I# _6 G2 K( c# s: d

  21. 8 |/ R, Q: [) n7 X0 z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ( G5 T7 q0 v5 K- {; T, S4 i
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 C% l9 n, T% u' S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    . Q0 j7 ~- c$ c% w6 c+ |: X& u" X: ]* d5 P
  25. ; they might mean something in the future.3 Q( Z# I: \1 z. v
  26.   {% ?: `$ n  F0 S
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * _+ `, O8 u/ G1 K4 ?% B5 s( H
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    + w$ d: R3 X) O  s! x& A* f" O# b
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( ^3 `0 {, V* t) d3 D- v. a( e1 X
  30. ; PHP files served from www.example.com.  Directives set in these8 \1 ~( d7 t1 @2 Y) D
  31. ; special sections cannot be overridden by user-defined INI files or
    1 x& U2 t; K4 K) \( K: v
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under+ x8 k% z2 f4 D' y- l/ k4 t+ i
  33. ; CGI/FastCGI.
    8 f# s) o0 [) H9 z8 E, h9 p4 r
  34. ; http://php.net/ini.sections; [  \( z8 l0 U) q) C) }

  35. 2 {- ]( s" Q3 @# g* u5 \
  36. ; Directives are specified using the following syntax:, b  \$ y4 \. Q# s6 D
  37. ; directive = value& c4 t! z; g6 u) s: m3 i
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    7 K  e* ?5 K; k( i' ^3 a! e
  39. ; Directives are variables used to configure PHP or PHP extensions.
    3 ?$ _( T5 h) e  _: s6 J
  40. ; There is no name validation.  If PHP can't find an expected
    5 g+ C0 \  F0 P6 v! ~
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " K8 ~( E$ o2 ^' i) v8 z
  42. * a7 ^" L. g( A9 P7 V
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one9 {; C# Q; }! C9 \; F0 H
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ! I9 m! t6 B' ]7 }  r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a, [; w, V1 F1 Q# g
  46. ; previously set variable or directive (e.g. ${foo})
    # @' @. y* u7 F0 Q% f3 r( P# ?! F
  47. 2 T' i9 {/ e3 `. M! T" r- J
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:; [. I( S& v/ t# e: s( D
  49. ; |  bitwise OR
    ! u, ^: M/ O3 J2 B! U5 a; d+ e# ^4 _1 j
  50. ; ^  bitwise XOR
    ( c, }  q( @2 d: M
  51. ; &  bitwise AND
    6 V6 a5 q: x5 u. k! j* }2 T
  52. ; ~  bitwise NOT
    3 k! a5 a' P( k/ B4 O* W. c4 f0 p
  53. ; !  boolean NOT9 t- a1 v4 s% ~# h; N& ^' S1 Q! q' l
  54. 4 S. ]% p! m3 Y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) f) y+ e( x1 Y# Q; Y, Q$ j. S: G4 q
  56. ; They can be turned off using the values 0, Off, False or No.0 k& ~, ]( R9 U. t% Y- r# Y

  57. . Z% E7 p8 [9 W0 _
  58. ; An empty string can be denoted by simply not writing anything after the equal
    1 m; X* }2 s/ X: _( I
  59. ; sign, or by using the None keyword:( f  x% T" Q) a: M5 j. ~; v

  60. : k  U+ h1 |4 J
  61. ;  foo =         ; sets foo to an empty string
    3 ?* v3 X- p6 i& J; x1 K
  62. ;  foo = None    ; sets foo to an empty string) U  s* J. d8 t( W5 F) A" p
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 z- Q# C8 p& K6 p6 q3 U/ d. _; g# \
  64. ' `, t6 @1 c5 j$ \1 Q
  65. ; If you use constants in your value, and these constants belong to a. C3 s1 v3 }# _! [0 }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & h& E# m$ B& h
  67. ; you may only use these constants *after* the line that loads the extension.9 B& V6 r" T: n: O$ }+ g3 i/ b; i
  68. 2 Y" ^: Q; B. {2 z; A0 J& w: V
  69. ;;;;;;;;;;;;;;;;;;;# y! E, f9 ~2 g0 _' L) r" r
  70. ; About this file ;4 V3 o8 M+ e7 }2 X  H3 L- ?/ n$ r
  71. ;;;;;;;;;;;;;;;;;;;4 f7 ]! G; J4 R
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ) i5 D% V" f( T$ G
  73. ; in production environments and one that is recommended to be used in+ \- b2 I4 ^; L
  74. ; development environments., n5 X: O8 z3 ~8 p: n# m

  75. 1 Z. f% M5 o$ W7 {% Y
  76. ; php.ini-production contains settings which hold security, performance and
    5 U3 L$ w" A/ x; W; |0 y, |8 |' h
  77. ; best practices at its core. But please be aware, these settings may break
    0 T. t3 l: R( Z1 l2 W- b$ \
  78. ; compatibility with older or less security conscience applications. We
    , d0 Q8 f" b! O5 x& L
  79. ; recommending using the production ini in production and testing environments.. Z. {& s/ b* u5 a- x% ?
  80. + s0 u6 u3 l6 m1 W2 \
  81. ; php.ini-development is very similar to its production variant, except it is- o) I% N' ^$ T0 f) w
  82. ; much more verbose when it comes to errors. We recommend using the
    6 o. h' z1 g0 Z4 P* O4 L
  83. ; development version only in development environments, as errors shown to
    1 @! z4 N& t3 Z
  84. ; application users can inadvertently leak otherwise secure information.0 ?  |1 [8 A) v# |8 B5 v- o& F: ~5 K  |
  85. 9 V( a+ p& `8 \2 a& U1 n
  86. ; This is php.ini-production INI file.( n: c5 w3 N) r& b& @5 {& z6 Y

  87. : ]' U* y) a2 F" W- c1 e
  88. ;;;;;;;;;;;;;;;;;;;
      K9 U) T2 E* F: F, g3 M1 K8 C  e
  89. ; Quick Reference ;* }* h. @5 ^7 @9 h9 H" ]/ Y7 J- B8 a, d' K
  90. ;;;;;;;;;;;;;;;;;;;5 A5 ?" h/ s" a6 l. F
  91. ; The following are all the settings which are different in either the production5 }. M. o; `2 a5 ~& w- V
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 Q! `8 R9 B/ M
  93. ; Please see the actual settings later in the document for more details as to why
    + p6 P* H, P3 P6 `$ q- q" O
  94. ; we recommend these changes in PHP's behavior.
    7 @$ Q6 _, T8 I0 A0 q: m
  95. ' c! s3 a- O8 n/ `
  96. ; display_errors
    " g2 c9 Z0 V5 G# G
  97. ;   Default Value: On0 w& z8 M+ a; j
  98. ;   Development Value: On+ n" L6 O( g' F. |# O
  99. ;   Production Value: Off
    * B  M* b- C# N6 x

  100. ' Y" {+ z& e; B9 f+ H/ `
  101. ; display_startup_errors7 n8 h" M/ h3 [: {/ n4 q2 S
  102. ;   Default Value: Off
    3 l0 q# S% X2 w) m8 Z) R. E
  103. ;   Development Value: On
    - g4 t3 z! [& E+ R' t. f* ^2 T
  104. ;   Production Value: Off
    2 G4 a* I# Z9 T: y) A/ c

  105. 9 \$ Q8 g' y2 H. r* b% \% c
  106. ; error_reporting# U/ n4 V! X  j! R
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# s* Z( n) X8 ?
  108. ;   Development Value: E_ALL5 M- T+ D& Z# N: r
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + u: U- e  h) n7 y4 F
  110. " k$ x- V- w! z* V: J3 a
  111. ; html_errors
    / P; G2 q" O$ Q. |2 v& Q
  112. ;   Default Value: On
    4 S: s0 A4 A; |- D- `1 g
  113. ;   Development Value: On
    1 q  l6 L2 U) l
  114. ;   Production value: On9 N, A, |1 G1 O* a8 B2 B
  115. 8 L8 y* n9 d+ Z/ F! \
  116. ; log_errors6 A, W. B! ?4 g6 Z! Q8 l  q. q
  117. ;   Default Value: Off
    # i/ O, G" M. y( ?( B
  118. ;   Development Value: On( A! ~5 a! R- v4 `, v7 N; s$ i
  119. ;   Production Value: On3 h, Q: L* Y( u4 {; s- F6 G

  120. . `0 f* |) t- o2 n! T, Y7 f" c
  121. ; max_input_time
      s0 u2 D& D7 }  ]' N2 T- [/ I
  122. ;   Default Value: -1 (Unlimited)
    1 B7 y6 X  ~, k5 J
  123. ;   Development Value: 60 (60 seconds)) D  o/ x1 L1 X9 A. W, {
  124. ;   Production Value: 60 (60 seconds)
    % s! }; h# x' q6 x
  125. 5 l0 a' N" |2 }3 w) K$ s3 y
  126. ; output_buffering0 N6 w/ Z. T! O4 ^" w# Q
  127. ;   Default Value: Off
    # m' y2 i( O5 I; `7 T
  128. ;   Development Value: 4096
    # U/ W; S+ y/ t" G
  129. ;   Production Value: 4096; ^4 [" s( Q7 [8 i" t' U9 ?  b

  130. - x; I' @- u) v+ A+ {
  131. ; register_argc_argv8 h# H5 R. b- ]1 h+ L
  132. ;   Default Value: On
    " S& {$ F, m# Y* W& k( Y+ U/ X4 ?
  133. ;   Development Value: Off
    7 F( c/ M" b6 J# @4 E, D
  134. ;   Production Value: Off8 B9 K; p1 c* p; F2 S3 `5 T  g4 m+ p
  135. 2 S# Q' N# ?% R; u# M% n
  136. ; request_order
      @( }" J/ r. `8 p% H# W7 Z
  137. ;   Default Value: None, `  [  g! k. j  g) L! Q( ?1 b
  138. ;   Development Value: "GP"% H" p$ Y- b; w0 T
  139. ;   Production Value: "GP"6 @+ M% O: Z" b
  140. 4 r. Z9 x7 ]5 h, g/ q2 Z* N
  141. ; session.gc_divisor5 A  b# Q' W! n9 ]4 I, s$ o, u: \
  142. ;   Default Value: 100
    $ M. W$ _! m" {/ y0 P! x9 j
  143. ;   Development Value: 1000
    ' S0 b8 A5 e, I2 G- K! z. O
  144. ;   Production Value: 1000) T/ F+ @, k9 d1 m4 d

  145. 7 ~* d, y# u. x+ M7 d
  146. ; session.hash_bits_per_character: o8 ~2 w9 P" {4 x! J3 n5 X: s
  147. ;   Default Value: 4
    + u/ B" S( }, }) `# c
  148. ;   Development Value: 5
    $ G4 O, w2 C" G# T/ O$ t! M# f5 v
  149. ;   Production Value: 5' {7 k4 V) e6 k" z
  150. " e- g6 O" `8 o9 B
  151. ; short_open_tag
    2 `# W  i% ^$ M! U: g5 C; Q. x6 P
  152. ;   Default Value: On
    3 F5 h3 y) Y# w  |  u8 q5 g
  153. ;   Development Value: Off
    * _# P  P3 a. J7 [
  154. ;   Production Value: Off
    5 N" Q% T- e% U  v" H; c+ _
  155. & h& F6 G- v/ l( W4 ~0 N
  156. ; track_errors" u4 ]/ v) [& S+ c+ h1 J. o
  157. ;   Default Value: Off
      R5 v, b# q+ V( @5 J
  158. ;   Development Value: On. ^# ?0 P5 Q2 a. G8 g- z7 `5 _7 s. [
  159. ;   Production Value: Off
    . H  O- l  ]2 t9 O
  160. * ?* j% [! M1 b9 {) q# \0 u& o" D
  161. ; url_rewriter.tags
    : ?. c( s+ N' U4 J. t
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    % R4 {& S7 |  ^! j% b6 }
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 f8 h! }# g- j; E; t8 J: i
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 K9 @: C* i$ Q
  165. 3 N& P" H% x. Z' T
  166. ; variables_order
    % O: p4 `) G' Z% z4 s
  167. ;   Default Value: "EGPCS". Z" w+ h& k) x% V' O
  168. ;   Development Value: "GPCS"4 ^( M0 K3 P# m) Z4 B; O
  169. ;   Production Value: "GPCS"
    ; T. V" s9 c. _1 W
  170. ; e. g5 z* [: m
  171. ;;;;;;;;;;;;;;;;;;;;/ q% W1 ^6 {1 v3 V0 f! F+ W- U' ~
  172. ; php.ini Options  ;
    6 T) I$ n9 C% e" a) U9 l
  173. ;;;;;;;;;;;;;;;;;;;;. V" \4 w* N! q# v, Z7 S7 L* c8 P
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& [8 s5 i; L0 {; V' x
  175. ;user_ini.filename = ".user.ini"( B* @9 |; M, ~5 P3 n0 o; {
  176. 6 g/ K" F# D! _# Q/ ~1 v
  177. ; To disable this feature set this option to empty value
    2 s" x" J$ Q) I4 m+ B
  178. ;user_ini.filename =6 N+ J& @( S: o% J
  179. ' w1 S5 c3 C0 M' }- z+ P  K; V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    5 L; o& M) ?1 F
  181. ;user_ini.cache_ttl = 300; ?8 T" E1 \1 K" _
  182. ( _) N& L5 T' s" }- [% P4 y2 _: [, C8 K
  183. ;;;;;;;;;;;;;;;;;;;;1 ~( D) M4 p0 B" k
  184. ; Language Options ;7 W9 @+ E' I  F' S
  185. ;;;;;;;;;;;;;;;;;;;;
    ! s) y1 O% k3 u' J: E6 [" z
  186. / B1 I' W3 m( B/ h; e9 ~6 i% }5 K
  187. ; Enable the PHP scripting language engine under Apache.
    * j$ E5 {5 o) Q( w4 K1 P% A
  188. ; http://php.net/engine
    " m3 k6 Z7 u$ B2 D" W$ b
  189. engine = On
    & j' ^' V, N2 c4 X" _5 f# A

  190. " H/ [2 V1 G8 l+ v% t1 f+ d$ V1 [" w
  191. ; This directive determines whether or not PHP will recognize code between' E* j$ v1 {$ l- }# T
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ' A1 j! Z5 w9 J
  193. ; generally recommended that <?php and ?> should be used and that this feature
    : p# r4 ?" W5 O
  194. ; should be disabled, as enabling it may result in issues when generating XML) a% c. Q% R+ Q  A0 q. M
  195. ; documents, however this remains supported for backward compatibility reasons.* M( K3 Q, B1 \& s9 A. U4 W
  196. ; Note that this directive does not control the <?= shorthand tag, which can be7 f; q% M  Q3 I) I9 ~9 |
  197. ; used regardless of this directive.
    7 W6 D4 l7 t; G, r4 B
  198. ; Default Value: On! E( ]! ^& f" b0 r& ~
  199. ; Development Value: Off1 I- `/ ?* \( J) _- u0 E* Y% N
  200. ; Production Value: Off, Y# Z5 b2 _) u0 k) G
  201. ; http://php.net/short-open-tag
    % _% \3 V9 t( N2 t
  202. short_open_tag = On
    3 |- i2 X  G* U6 k+ C; c

  203. ( b, Z. t# x8 K
  204. ; The number of significant digits displayed in floating point numbers.
    & h4 O6 p$ \4 Y! a- I
  205. ; http://php.net/precision8 _5 ~) n' Z  h; J( z
  206. precision = 14
    ) N* n# p$ Z9 R7 R1 M

  207. 6 e7 u9 j. A% c
  208. ; Output buffering is a mechanism for controlling how much output data
    & c: A. H( |( s" p# _
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that- o% w, T4 ]( l- u; f2 k, m# d. c
  210. ; data to the client. If your application's output exceeds this setting, PHP
    3 n# N: J7 z" r0 t
  211. ; will send that data in chunks of roughly the size you specify.
    - q2 G2 X4 @; T9 r# g
  212. ; Turning on this setting and managing its maximum buffer size can yield some0 p, J- a2 [" g7 T
  213. ; interesting side-effects depending on your application and web server.
    " A. B: p) m3 e3 V
  214. ; You may be able to send headers and cookies after you've already sent output1 x) x& b" M( P% B- I# X8 p
  215. ; through print or echo. You also may see performance benefits if your server is
    2 c5 `. i) _9 ^9 D. V) |/ {( ~
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    $ d& b; M+ `) R) Y& F9 i
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( L# I' R! M! w; m! O% c
  218. ; reasons.
    2 q' p8 X: s. U6 s! Q- X
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    . f% C& q% P2 d" ], F# j& Q$ W9 l
  220. ;   functions.( ^9 @0 W% n% r! o) o5 b
  221. ; Possible Values:7 V3 ?3 ^8 d( N9 d: I
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    , W- t# k% p) @  u1 K0 t% q! u( D
  223. ;   Off = Disabled( Y- N5 h- O3 q) D6 i: h; r2 }$ Y* P
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ! m' v, H1 y" H
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; g# p4 i# W" I; t' e7 Y
  226. ; Default Value: Off
    ; `, |# f7 Y5 X9 v1 T) R
  227. ; Development Value: 40961 O( |  o) `8 Y) g
  228. ; Production Value: 4096- `/ G+ r& j! r: M/ }1 E4 n
  229. ; http://php.net/output-buffering5 N1 `: H, C* i" B$ G
  230. output_buffering = 40968 v6 x: O7 G4 N& t
  231. + i2 v9 B+ I# @" _3 L
  232. ; You can redirect all of the output of your scripts to a function.  For: |9 z" m$ j# `! V
  233. ; example, if you set output_handler to "mb_output_handler", character4 s7 }- k$ W6 d( o$ t9 q
  234. ; encoding will be transparently converted to the specified encoding.7 M8 f2 t' s7 u$ K8 T
  235. ; Setting any output handler automatically turns on output buffering.& w. c6 A" k6 J# v' [
  236. ; Note: People who wrote portable scripts should not depend on this ini5 E' z& L/ b: h0 \& M
  237. ;   directive. Instead, explicitly set the output handler using ob_start().) V  a( ]: a. J; u6 b0 U
  238. ;   Using this ini directive may cause problems unless you know what script" B- q1 x: W2 ~$ v. o
  239. ;   is doing.
    ' e  T) i' e+ X6 @( ?
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 D- P2 f. i0 i, r9 b
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".3 L* R; g1 T0 t# k
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 M' G# x2 t9 p6 ^% [
  243. ;   Instead you must use zlib.output_handler.2 `$ f# @5 u* ^" _1 o, g: e  {
  244. ; http://php.net/output-handler
    8 n/ R0 d' Q9 z4 p( g/ D
  245. ;output_handler =: f  U7 C* o8 _; @) T9 d- b

  246. / h8 d& {' D4 h8 r4 ], Q  I
  247. ; Transparent output compression using the zlib library
    " S% h: W5 w5 b) g# h' j  @& r3 `; O
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size% o: I& ~7 Z4 j! p/ r
  249. ; to be used for compression (default is 4KB)0 q6 N( [2 c( U' D% k
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP2 M, Y8 S" B# m8 F; [/ D2 I
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    + A# }8 A( _9 m9 N1 w1 e. f: b
  252. ;   compression. If you prefer a larger chunk size for better
    3 P5 _6 u- X+ _
  253. ;   performance, enable output_buffering in addition.! N+ m+ ~1 F. p5 W, M7 _3 I. j
  254. ; Note: You need to use zlib.output_handler instead of the standard. V2 T+ m6 V0 t9 Z) c: @
  255. ;   output_handler, or otherwise the output will be corrupted.+ [* Z4 @$ P1 `2 W4 q
  256. ; http://php.net/zlib.output-compression5 }' X# A6 \, e2 d# a8 J
  257. zlib.output_compression = Off* e( E! K) S) c: U2 o

  258. ) m( x- b- D  T% E9 B6 t- \$ m6 E
  259. ; http://php.net/zlib.output-compression-level6 Z. O3 X9 Y6 W( j+ g: k
  260. ;zlib.output_compression_level = -17 N, h( a5 [1 }* H3 P3 y
  261. ' i3 Q5 B, Z- `& c3 m9 B& y1 Y
  262. ; You cannot specify additional output handlers if zlib.output_compression- q8 p# H; i7 O2 k4 }9 J# X, y6 t
  263. ; is activated here. This setting does the same as output_handler but in
    2 O% f# z3 a9 A  R# F  P# Y
  264. ; a different order.
    : M7 \# }: T% K* B: k2 q& ~
  265. ; http://php.net/zlib.output-handler8 ?; T9 A6 T) w
  266. ;zlib.output_handler =
    , I8 S% Y; i! P$ n% r) Q. a: f0 x

  267. 1 q, o8 @1 Y: \
  268. ; Implicit flush tells PHP to tell the output layer to flush itself. p- L1 S4 F5 g' |( y
  269. ; automatically after every output block.  This is equivalent to calling the. F& K- q9 z3 j, m& @2 U
  270. ; PHP function flush() after each and every call to print() or echo() and each/ l; P6 a+ m3 r2 X1 v
  271. ; and every HTML block.  Turning this option on has serious performance$ U$ L2 d6 W9 |+ @! x7 l  P
  272. ; implications and is generally recommended for debugging purposes only.) q& O4 w( {9 i( i, q6 ]- w1 s
  273. ; http://php.net/implicit-flush2 S6 G% v6 _$ P& J# K
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    : O  K9 S% i$ `4 H& v
  275. implicit_flush = Off& o4 k* b9 R# T* K* f* v* T

  276. $ N. I- ]3 x0 t/ Y* [/ f+ T
  277. ; The unserialize callback function will be called (with the undefined class'
    ) j; D. \! ^- W: [6 H% m
  278. ; name as parameter), if the unserializer finds an undefined class9 d" y2 Y& T* z: r+ \# [) h
  279. ; which should be instantiated. A warning appears if the specified function is
    0 |) _" T( N# U! @7 G
  280. ; not defined, or if the function doesn't include/implement the missing class.2 c0 ~6 N. r3 N/ [4 [) q
  281. ; So only set this entry, if you really want to implement such a
    + Q! Y1 T  c/ d8 z9 Q8 f1 p* j8 `
  282. ; callback-function.# J  H, ?' E) ]! ~8 [5 }% \
  283. unserialize_callback_func =& r) p- t' M9 a* E, q5 g

  284. - P( P) ]$ v. x$ V: {
  285. ; When floats & doubles are serialized store serialize_precision significant* [% C1 ~/ W8 I$ Z& I; W
  286. ; digits after the floating point. The default value ensures that when floats
    2 ]' k) K& b9 V% S# K  H5 G
  287. ; are decoded with unserialize, the data will remain the same.
    0 ]$ N, P% s8 o
  288. serialize_precision = 17
    ; u6 k. }" x" s  {/ X
  289. 9 I8 }( r9 p) {( k# T! X
  290. ; open_basedir, if set, limits all file operations to the defined directory7 H3 a, ]. U5 s! c+ f) G: p
  291. ; and below.  This directive makes most sense if used in a per-directory0 f1 I5 `/ u; u9 `% ^2 S/ I
  292. ; or per-virtualhost web server configuration file.+ X9 ^0 t& S+ Z
  293. ; http://php.net/open-basedir$ k/ F! }% O" a7 ]
  294. ;open_basedir =
    9 `; \4 ~( _+ ^( h

  295. 2 h, J4 A$ ^; ]! w. ~- h7 r( s  |
  296. ; This directive allows you to disable certain functions for security reasons.3 q4 i/ @) B- W3 E/ ?
  297. ; It receives a comma-delimited list of function names.
    6 Q4 |4 @! q) }$ g; s6 a+ P
  298. ; http://php.net/disable-functions
    7 p, {% w3 Q  ]( Y+ k# _/ M
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru4 b" f& N0 K9 z3 n
  300. , D4 r& u4 B1 j5 ]
  301. ; This directive allows you to disable certain classes for security reasons.
    " i) Z( {$ s' X% T" ?) s
  302. ; It receives a comma-delimited list of class names.- L  H- @. I( J* p
  303. ; http://php.net/disable-classes
    5 ^6 T" k* C, o# x' Z$ r% l1 F* z
  304. disable_classes =
    2 L  T* _* ?+ D  I9 A

  305. & b6 j. u( n- Z; t
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in% A$ F) O5 c; F3 d8 o% Z, Y$ n" e, Q
  307. ; <span style="color: ???????"> would work.
    ! p: X3 q( E, Z. B/ R! `0 y: Y
  308. ; http://php.net/syntax-highlighting
    9 [4 C- X6 t8 X+ Z. c, d# S
  309. ;highlight.string  = #DD00009 R  w* J7 W4 A
  310. ;highlight.comment = #FF9900/ K' q* s3 m: |' x% M& V3 x# D. l
  311. ;highlight.keyword = #007700- i: r. {7 ?$ \& Z% u( c
  312. ;highlight.default = #0000BB, K  f8 x$ ^. V
  313. ;highlight.html    = #000000
    - t- p8 Y' _0 V2 z4 p) j" \
  314. ; `' I3 }( _& m& D
  315. ; If enabled, the request will be allowed to complete even if the user aborts5 _. ^/ k. U2 J* R0 @7 U
  316. ; the request. Consider enabling it if executing long requests, which may end up
    : ~9 V: o' R5 I- c
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior0 j7 b* V7 ~; U1 F0 z
  318. ; is to disable this feature.
    ! w! t4 d* S6 b0 {
  319. ; http://php.net/ignore-user-abort
    ) P3 W1 v5 T- x. w% o% m
  320. ;ignore_user_abort = On* U; d0 C# H; Q

  321. ( F. C$ E7 y9 M- L* m/ x: J
  322. ; Determines the size of the realpath cache to be used by PHP. This value should" Z# s* D2 @/ J. w! O( |8 t
  323. ; be increased on systems where PHP opens many files to reflect the quantity of, l/ p; ]% X* o! L9 V0 t$ h" e* C
  324. ; the file operations performed.) q% v: d/ f: u7 V8 m1 ^
  325. ; http://php.net/realpath-cache-size- j  m- Z" K7 x$ `! y2 B' ]
  326. ;realpath_cache_size = 4096k6 X% j' c" z" e' E. j- D

  327. 5 V0 I. W6 Q- j8 X% z0 s
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    1 n0 |! }2 D" o" T
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ) |1 n% A( B" ^7 d1 A0 Z0 @9 H
  330. ; value.; [! m9 X; N4 Z7 C
  331. ; http://php.net/realpath-cache-ttl
    3 J) I  V# e' h. A
  332. ;realpath_cache_ttl = 1202 d- a( n3 @7 F
  333. 4 w; R% `( O( e/ m
  334. ; Enables or disables the circular reference collector.
    7 q5 i# Y2 E$ k% @% F$ M9 ]' t
  335. ; http://php.net/zend.enable-gc2 v( L, ?$ q# @  i! k( g& ^; \+ b
  336. zend.enable_gc = On% M9 j, d2 w. @' M+ \1 f5 G
  337. ) f6 N/ D( k* o* b' E5 ]2 K
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ) Y3 m( V0 s3 [& c1 e) Q+ C
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    : K" m6 N# e3 V& t! L: t9 Q
  340. ; encodings.  To use this feature, mbstring extension must be enabled.# {: x8 V2 f5 D1 d% p- f( u
  341. ; Default: Off, i) M/ ]; R' P+ |9 l. H
  342. ;zend.multibyte = Off# N& w% o9 C- z' j

  343. 8 R* [+ D" p; Z7 `
  344. ; Allows to set the default encoding for the scripts.  This value will be used8 i9 k5 R9 Z) a) N
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.8 R. B& }, D( O  Y' o" J" F9 a
  346. ; Only affects if zend.multibyte is set.( \/ y0 u$ N) W6 k
  347. ; Default: ""
    : x4 |* t* B* f7 O; G5 v3 C1 y
  348. ;zend.script_encoding =
    " T! k: ?. k# o4 g4 F7 e

  349. ; F" A* L/ b# ?( ?0 x2 |/ X9 ?+ w5 w
  350. ;;;;;;;;;;;;;;;;;( M) J& D% W+ y7 t
  351. ; Miscellaneous ;
    8 t. t! e2 M+ z' z$ [
  352. ;;;;;;;;;;;;;;;;;7 l. L  U  f$ }# r

  353. " [) w; F, y4 b
  354. ; Decides whether PHP may expose the fact that it is installed on the server% f5 X& R' h3 e( F* |
  355. ; (e.g. by adding its signature to the Web server header).  It is no security7 t" y5 p. ~- M  t4 [3 b
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    % O" T. f+ V' w* t( q( S$ T. o" t
  357. ; on your server or not.
    ! u, f! G, G1 L
  358. ; http://php.net/expose-php7 Z/ {) e0 B* V# @* _( E5 J
  359. expose_php = On2 y( q( @3 _5 \: T  S+ ?

  360. 4 ?$ F. J+ c( [. T8 i  g  N' o7 j
  361. ;;;;;;;;;;;;;;;;;;;
    " Z' ]$ I5 R' D( x! A$ J
  362. ; Resource Limits ;2 W) m* ^. u+ h0 u
  363. ;;;;;;;;;;;;;;;;;;;8 d0 i$ X. |% S
  364. ( v7 D; \7 J* F: n0 W  l& h; X
  365. ; Maximum execution time of each script, in seconds
    ' K' O7 E( B4 p
  366. ; http://php.net/max-execution-time
    , x- d: W2 n& Q" D0 F
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    - O7 c- X9 G2 W0 j
  368. max_execution_time = 300  U$ H6 x4 o, l  c. z

  369. : E/ W( A+ z) c/ m
  370. ; Maximum amount of time each script may spend parsing request data. It's a good. L( _; w4 ?- M1 H* m: m1 p
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    1 c+ R# @5 Q+ y# G
  372. ; long running scripts.' T7 q/ l  |/ x" {# h
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ' w  C0 b: `6 v
  374. ; Default Value: -1 (Unlimited)
    : M( _3 X$ ^, h3 f" X
  375. ; Development Value: 60 (60 seconds)' \" M$ F. C7 l
  376. ; Production Value: 60 (60 seconds)
    * c+ p& @8 z3 ?# F% B- _7 x7 M$ T9 Y
  377. ; http://php.net/max-input-time
    6 m' h# ^: _; Q  ]" \
  378. max_input_time = 60
    ( B# w* P6 X6 S4 S) a$ P( O4 _

  379. 9 o! \1 A2 Q" j6 ]  S: X' p
  380. ; Maximum input variable nesting level0 A3 w. M. L" d; D: ?- r
  381. ; http://php.net/max-input-nesting-level
    ; z, |( [; C( o9 {  `: Y) b7 Q
  382. ;max_input_nesting_level = 640 [! [/ W8 n' ]
  383. ; @* w; q9 C8 c4 ^3 \. V! Y, n# h
  384. ; How many GET/POST/COOKIE input variables may be accepted& s. _" }; G' K; A5 g; J6 ?4 H
  385. ; max_input_vars = 1000
    4 M3 {, C2 P* H+ b) Z. a
  386. 5 g3 r5 F+ [7 p6 r. e! U4 J
  387. ; Maximum amount of memory a script may consume (128MB)) n- h; C% X6 K1 n  a) J. \
  388. ; http://php.net/memory-limit' N! X- U+ |$ `; R2 Z
  389. memory_limit = 128M
    0 }# i" y# @  K* ]: j  O" E8 h; T% ?

  390. 9 _3 G, e/ Y4 K) T# Y% x' c
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 j& p, ], C0 w
  392. ; Error handling and logging ;
    6 @6 J: v+ |, Q8 c
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  P" A. V6 D' A. A4 D8 M' Y
  394. & ^# b. L, s% B4 d
  395. ; This directive informs PHP of which errors, warnings and notices you would like: m' E  K& y7 F( n
  396. ; it to take action for. The recommended way of setting values for this* B% V5 @" i1 o" ]
  397. ; directive is through the use of the error level constants and bitwise
      y0 i5 X" Q" g& [
  398. ; operators. The error level constants are below here for convenience as well as
    8 H9 Y( o% r- x( J
  399. ; some common settings and their meanings.! L6 E: I8 d0 Y- y4 U
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT/ h4 |1 C! L* a/ r3 p2 w  k& |5 a
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and5 @& b  W8 z/ v4 }& g2 C
  402. ; recommended coding standards in PHP. For performance reasons, this is the* U& u: s- x" S; e
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    $ ]. k0 x! h* Z4 U4 o8 e  Q: L9 k
  404. ; resources complaining about best practices and coding standards. That's what$ `. q: i& J! _, w
  405. ; development servers and development settings are for.3 \8 D& {3 Q2 I; E
  406. ; Note: The php.ini-development file has this setting as E_ALL. This. v) D# B* e  C+ z7 G9 W
  407. ; means it pretty much reports everything which is exactly what you want during
    ; P- A& u; ^+ U* c6 G
  408. ; development and early testing.
    % q& `$ A; z& c1 `
  409. ;
    # A+ s+ K, l- X0 ]
  410. ; Error Level Constants:! P9 W9 |+ y' s/ }5 v9 h
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 i+ a( Z+ A+ T( N
  412. ; E_ERROR           - fatal run-time errors' Z- ^2 U. `+ [% u
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    + R% o, Q( Y; A8 @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    + c+ V: Z/ M1 t8 A4 R# g' d
  415. ; E_PARSE           - compile-time parse errors$ f; D# t. U% |1 Q9 p# M! W' u+ W. \
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 m4 `- ?) q9 N& r
  417. ;                     from a bug in your code, but it's possible that it was
    1 `7 C; I9 l: u. o1 P- Z  Z# |
  418. ;                     intentional (e.g., using an uninitialized variable and
    7 B7 i. b# E; h( ]1 f
  419. ;                     relying on the fact it is automatically initialized to an
    # K3 j' D: g( C+ r7 A( C
  420. ;                     empty string)
    : W9 A) ]4 ]" F- j
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- G* Q0 i$ d: r; r! a3 ?* h8 J1 }
  422. ;                     to your code which will ensure the best interoperability# z% g& u* W; a: ^2 A' H
  423. ;                     and forward compatibility of your code
    " A6 ^& k& N( C( S  q3 ~
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    : Z# ~9 y) Q) a/ r. K0 u
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    # U2 d- v% ~9 M7 @; c" ~
  426. ;                     initial startup. Q) m/ B8 {0 U
  427. ; E_COMPILE_ERROR   - fatal compile-time errors; T/ V% l, n  O! e
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)+ h, \# e4 }  Y/ j" |3 ?8 x- s
  429. ; E_USER_ERROR      - user-generated error message
    % Y# [& ?" Q2 R5 r& \" T4 K3 b0 p
  430. ; E_USER_WARNING    - user-generated warning message
    9 W  u0 H! N$ R- R4 E
  431. ; E_USER_NOTICE     - user-generated notice message* F, [, g$ e# H$ A' ~! A7 o
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    5 [# c. S# D8 B5 }
  433. ;                     of PHP
    9 y3 X# O  [- Q7 f; H
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    # A7 u2 ^9 a1 C0 j
  435. ;
    & }) w, q# w9 E6 Q. o% c: s9 A
  436. ; Common Values:
    . [4 E4 B' Q) b
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    + E1 |! B: \* c; G4 D7 k9 Y3 [
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)0 d; L( ~, v( ?" E4 S! @! G
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* t1 }! V6 w3 ~; K& n! O- Y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 `  c2 v: D% l* b, T2 _3 [
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED3 _' J" F2 f  @# X
  442. ; Development Value: E_ALL
    ( d/ T7 m' @, t" D9 ~$ @/ v
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ R  a' |( D3 _. G# g# T3 R+ ]
  444. ; http://php.net/error-reporting5 T) |' @: C! o: _4 `# g" b0 o! ^
  445. error_reporting = E_ALL & ~E_NOTICE7 P* Y6 x" x( H) |
  446. 5 ^3 b2 f1 ]* `# R6 i; S, k# M) i
  447. ; This directive controls whether or not and where PHP will output errors,
    ) ?& s9 {+ H# X' j7 J, z
  448. ; notices and warnings too. Error output is very useful during development, but2 J- S* j! R) I8 Z, L% i
  449. ; it could be very dangerous in production environments. Depending on the code
    , E: ~) m% y3 _, Q' y
  450. ; which is triggering the error, sensitive information could potentially leak, D3 n3 d' M# e
  451. ; out of your application such as database usernames and passwords or worse.4 }' f2 _5 c$ V- \% H4 W
  452. ; For production environments, we recommend logging errors rather than+ D! W. ^. W+ L! ~3 k
  453. ; sending them to STDOUT.
    " q( Y( f1 \2 o" z
  454. ; Possible Values:
    7 B$ W$ N* n0 {4 e! l3 c* }4 G0 r' a
  455. ;   Off = Do not display any errors2 e# B. E5 }+ |8 ~
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!), Z  _# i0 D, e5 G
  457. ;   On or stdout = Display errors to STDOUT. r5 h! {& [2 l& w
  458. ; Default Value: On2 ^. q8 }. X2 f0 G" z, D; S
  459. ; Development Value: On7 @5 L. Q: w4 V/ z' s) P3 F- |
  460. ; Production Value: Off
    ( v: G1 d- u3 A' K! Q
  461. ; http://php.net/display-errors
    * ~$ Z  W0 W2 N* e8 D- ^- h5 Q
  462. display_errors = On
    # Y' @( d% Q$ x7 J, n
  463. 6 _* p- g1 e4 m$ I- L
  464. ; The display of errors which occur during PHP's startup sequence are handled: A4 w: l7 D  S! _( q* O; e
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    + v" r+ c' {! Q7 g& b9 D7 z
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ' I# h4 l# Q+ f: x9 M
  467. ; debugging configuration problems. We strongly recommend you
    5 ~' G$ s0 s# ^% k. w+ Q( j. @+ O
  468. ; set this to 'off' for production servers.! F2 P6 G" m5 o+ g% o4 i
  469. ; Default Value: Off# O4 D) ?6 C8 W5 H
  470. ; Development Value: On
      j" H" Z9 S% v  Z2 Z( y
  471. ; Production Value: Off3 r8 l4 n  {% O8 e, c" ^: k! I& t" D
  472. ; http://php.net/display-startup-errors
    ' H0 d! ?( Q, p, I' F
  473. display_startup_errors = Off: R* k. I0 e/ q& ?
  474. - n+ A7 W: g5 l9 a4 w. h7 \
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. e4 V. n' i0 }# w9 F
  476. ; server-specific log, STDERR, or a location specified by the error_log
    3 }! m+ z) G, C4 m$ [% H0 Q2 {0 C
  477. ; directive found below. While errors should not be displayed on productions
    / o) U' ]: i1 t  W/ g! |4 S
  478. ; servers they should still be monitored and logging is a great way to do that.* N% v8 T) \1 x+ O' r8 P7 M# r
  479. ; Default Value: Off* H1 A$ I: [7 A- V% L8 T! f/ \' p
  480. ; Development Value: On! G: W5 y3 l# C  h$ D8 H7 L+ B
  481. ; Production Value: On
    1 n% g3 S" ?0 R+ b
  482. ; http://php.net/log-errors
    2 C+ ?5 q8 p( S* E) T8 `/ G  v, w
  483. log_errors = On
    . E. X' r6 w2 `( f

  484. . e# v, ~3 w" R
  485. ; Set maximum length of log_errors. In error_log information about the source is- a* }! N/ S# D% i7 Y! R
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    1 P  W) l& r* w8 w/ s; |; o9 j
  487. ; http://php.net/log-errors-max-len
    ) r) W/ ~2 i$ n1 d6 ^
  488. log_errors_max_len = 1024
    5 d" f9 \9 }+ o/ y

  489. 3 F4 G# a% T4 m- L
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    0 R; _* z* `* t* J
  491. ; line unless ignore_repeated_source is set true.
    5 w9 ?4 e6 U% _% A0 M4 e
  492. ; http://php.net/ignore-repeated-errors
    ( A/ c2 I/ r; X8 {5 s" t
  493. ignore_repeated_errors = Off& E& i: S( j4 _0 L
  494. 6 d9 \9 f+ y9 c9 I
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ! |/ d( l2 F2 ~9 h9 c+ w1 V
  496. ; is On you will not log errors with repeated messages from different files or
    6 Z, `3 V6 f& o9 A3 F2 s. e
  497. ; source lines.
    * Y' B& u+ W# k0 N3 D0 C9 z" @+ {; |
  498. ; http://php.net/ignore-repeated-source7 I2 E! h: N- N) U- ]
  499. ignore_repeated_source = Off5 @8 b! r$ J7 N/ Q+ ^9 Q9 Y  F

  500. ( S. s  x4 L, h+ T/ |
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    2 a$ u4 Y3 n* k% ]+ |
  502. ; stdout or in the log). This has only effect in a debug compile, and if+ y% s% y* H; y! m% M9 f
  503. ; error reporting includes E_WARNING in the allowed list# U# v) P5 c- @, d# b3 i% H
  504. ; http://php.net/report-memleaks$ ]/ ^+ l/ {1 T) f* o: U
  505. report_memleaks = On
    $ T- J5 a6 R, s2 H5 T- y
  506. " U  w3 b; t/ ?1 a: `
  507. ; This setting is on by default.4 }4 `0 t, u! ~; R$ `/ }" Z
  508. ;report_zend_debug = 0$ W8 P3 X& F  x# u1 o3 o

  509. * r- q6 |7 L+ e/ H4 c
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 H) B6 j! [- ^
  511. ; to On can assist in debugging and is appropriate for development servers. It should+ T( z' w0 R: S2 L; s8 P* I2 E
  512. ; however be disabled on production servers.
    ! e! g: j: _; ^
  513. ; Default Value: Off
    ) u: M+ |3 X9 t3 k
  514. ; Development Value: On( X1 ?) Z* s% h" l) H2 I# q
  515. ; Production Value: Off
    6 z/ U0 `# A/ b
  516. ; http://php.net/track-errors; f$ W0 y% o" C
  517. track_errors = Off
    . M& ^9 j# B/ w; u

  518. ' C% N1 S; ~" c, m5 `  Y$ }" l2 S
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    0 I0 S; U* |$ n0 S+ k
  520. ; http://php.net/xmlrpc-errors
    5 l* k* B  V- w
  521. ;xmlrpc_errors = 02 Y1 c- Y6 |2 e* F
  522. , P, i) L+ \' J5 v0 x' ^+ ]
  523. ; An XML-RPC faultCode
    $ e5 J) ^' c/ J: |- {1 {* s, I4 P+ o
  524. ;xmlrpc_error_number = 0, R! \- R) D  _. m  ~: y/ [

  525. " R8 Y5 \6 p( n' v! N
  526. ; When PHP displays or logs an error, it has the capability of formatting the% j' o6 t) L4 ^( V& M0 J
  527. ; error message as HTML for easier reading. This directive controls whether
    + E, ?  t4 I. d3 D- G- }- W
  528. ; the error message is formatted as HTML or not.
    ! a( [; c% |" ^5 U; a7 a* B! o
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( s, d. D% ~8 r% J; ?
  530. ; Default Value: On
    9 G6 J. U. ^- Q3 Y7 L. P- h
  531. ; Development Value: On% J. T$ O( F0 c9 L
  532. ; Production value: On
    & \* ]# d1 O) i
  533. ; http://php.net/html-errors) \$ `* L/ y$ i# `+ W4 \: p7 o
  534. html_errors = On
    2 D# |* U4 w/ j7 y' o4 K; t0 E
  535. ; A- \' |4 w* A8 i" B
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP. T" x; Z7 D& C' \" s" R5 u' A! G
  537. ; produces clickable error messages that direct to a page describing the error
    1 n# n/ v/ ~# {* X
  538. ; or function causing the error in detail.
    : Y+ K+ b6 M, T' W
  539. ; You can download a copy of the PHP manual from http://php.net/docs- a' S7 i. j$ I8 y/ d: E
  540. ; and change docref_root to the base URL of your local copy including the
    , Y* q, G; d; A  Y
  541. ; leading '/'. You must also specify the file extension being used including2 v+ x+ [9 S* u6 L/ c6 I! y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    - q1 p1 `8 ~% P  Z
  543. ; case no links to documentation are generated.1 Y" A+ W1 D% C  w3 T; t
  544. ; Note: Never use this feature for production boxes.
    ! s  F1 e5 X1 X8 T. j; m: U
  545. ; http://php.net/docref-root; b" N4 y7 _+ D- d+ x2 E
  546. ; Examples
    ) d$ v6 Q* W# O4 C. S9 Z
  547. ;docref_root = "/phpmanual/"
    & _" H6 v" J. ^% P" E7 U/ M& X, u
  548. : v4 V& l4 {# E- _. X
  549. ; http://php.net/docref-ext' ~" b" m) p8 f: ]+ N; d
  550. ;docref_ext = .html
    # x  Q* t2 N9 Z0 g% d: H

  551.   X+ c' w0 j1 T/ O7 n
  552. ; String to output before an error message. PHP's default behavior is to leave
      |6 x5 e# d5 c+ ]- I: {* R" l. \
  553. ; this setting blank.
    . M* k; B9 |0 s# H7 k7 p* ~
  554. ; http://php.net/error-prepend-string
    5 e4 y/ |: f; @% }/ U4 l* w5 I
  555. ; Example:
    % L8 g, @) Q$ s; B$ u% o) t3 j7 x3 `
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    # Z+ n$ A$ ~* f0 T
  557. ' D# m, @8 k1 O2 `
  558. ; String to output after an error message. PHP's default behavior is to leave' j2 e, o8 i/ Y6 t
  559. ; this setting blank.; e& z% s$ X1 _- _- L7 u, ?! X
  560. ; http://php.net/error-append-string; c7 t, T6 i% H/ m# J
  561. ; Example:: c' F! j  ?% ?- E
  562. ;error_append_string = "</span>"  G0 X+ a7 T% k: O/ p2 e- c* D

  563. 3 d, N) |/ p3 `, x& a
  564. ; Log errors to specified file. PHP's default behavior is to leave this value% E' ]& A' \0 ^6 r3 q. k" y
  565. ; empty.1 S7 G% w' Y: W9 L/ `( K4 k0 f
  566. ; http://php.net/error-log+ ~. H$ d: ]' d; _: n
  567. ; Example:$ i: f! _& j3 h
  568. ;error_log = php_errors.log
    ! V' ], E9 l% y( }9 L0 j6 R$ V
  569. ; Log errors to syslog (Event Log on Windows).2 E* E- V' H  }) D0 C
  570. ;error_log = syslog
    " Z) h3 b5 i9 K  U1 h
  571. / b, r6 e5 ]$ x8 t- b
  572. ;windows.show_crt_warning
    ' H" F5 S! x- N: ?2 ~* V; C
  573. ; Default value: 0
    & j8 J' D2 m+ ^  }' M) i4 X( ~4 y
  574. ; Development value: 0
    ) s1 Y. H  t7 T* _" L" ?: }: X
  575. ; Production value: 0" [' }6 F$ A; F5 Q2 v5 p, ?5 h" D' U

  576. # \1 Z. J' e( P8 T' m
  577. ;;;;;;;;;;;;;;;;;
    6 T4 g& @: i3 V) ^9 O6 h- T( ~
  578. ; Data Handling ;
    " ~- J: f$ J" E5 |6 H/ `
  579. ;;;;;;;;;;;;;;;;;
    0 S7 f+ k$ {' L& Y% W: s) ^
  580. # z( r6 f- j. N' b3 Y* b
  581. ; The separator used in PHP generated URLs to separate arguments.9 \! N2 D% i. H" X- d5 t  B, d! i! ^
  582. ; PHP's default setting is "&".* S) s2 O. \% }  G# C
  583. ; http://php.net/arg-separator.output, q+ r% v* t0 q3 }$ ~
  584. ; Example:* b9 K1 X4 N1 b
  585. ;arg_separator.output = "&"
    / [$ m$ J/ _; }& ?- M

  586. . p0 z% L' k" M2 x* `
  587. ; List of separator(s) used by PHP to parse input URLs into variables.: y5 `  {% X4 d! l# |* c
  588. ; PHP's default setting is "&".3 F1 U% ~) d1 `' G; Q
  589. ; NOTE: Every character in this directive is considered as separator!
    1 U5 k$ F5 h1 }( n5 }
  590. ; http://php.net/arg-separator.input
    / I6 t, ^! S3 ~7 G8 f2 X! i% W
  591. ; Example:* }% Q' @. }/ _1 e7 I; A
  592. ;arg_separator.input = ";&"
    % e: T! _) g! J; ]9 p
  593. 3 o7 k; g7 `, S; e- _1 }( K
  594. ; This directive determines which super global arrays are registered when PHP2 u; S4 L% \2 {
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . v# ]/ ^% l6 O( W
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    * t$ c# w( ]/ {2 C6 S- e5 `
  597. ; paid for the registration of these arrays and because ENV is not as commonly9 V* D" {1 ^" a* P5 G- [( Q
  598. ; used as the others, ENV is not recommended on productions servers. You
    * d$ H) Y! a4 M
  599. ; can still get access to the environment variables through getenv() should you
    $ m. }* D6 A9 z; d/ t* s0 V7 H* n0 a
  600. ; need to.
    & K$ U( J, i  Z9 K
  601. ; Default Value: "EGPCS"
    * Z* Y4 {/ I9 o' c! B$ ~0 ]5 p. |# d
  602. ; Development Value: "GPCS"
    9 |, \4 D$ _, J3 u. L2 N
  603. ; Production Value: "GPCS";
    9 S  |- D' B+ m2 F, @7 }- j( j
  604. ; http://php.net/variables-order
    ! b' ~; P, d! w; j
  605. variables_order = "GPCS"
    " |7 M9 D) {6 ]9 X5 `1 \& i* D+ p9 K

  606. . @' R! ^/ W! V' h! [6 k# f
  607. ; This directive determines which super global data (G,P & C) should be9 `5 p6 o! N3 u9 v- J  z
  608. ; registered into the super global array REQUEST. If so, it also determines
    5 P& `9 a9 \! J, O/ }* A
  609. ; the order in which that data is registered. The values for this directive$ }) k* r# G" G0 A
  610. ; are specified in the same manner as the variables_order directive,9 W7 Y* W& Y# \9 c& h5 m5 q; R
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set+ O% K" _, A7 j! i6 o
  612. ; in the variables_order directive. It does not mean it will leave the super- V) A0 c4 a. ~4 S2 Z" [
  613. ; globals array REQUEST empty.
    1 U7 M0 K/ {  l1 P
  614. ; Default Value: None
      _3 \3 V1 |' I2 {8 A9 i" h
  615. ; Development Value: "GP"
    " l4 t. n7 V/ u$ c7 b+ y  G
  616. ; Production Value: "GP"
    7 P; F+ \; I! m9 a% D
  617. ; http://php.net/request-order3 D; W% X0 M: S5 |. k5 g/ r5 Z' n
  618. request_order = "GP", Y2 e+ k4 y1 j3 G: L7 f$ v; f6 D

  619. & n0 L6 t7 g! n- N
  620. ; This directive determines whether PHP registers $argv & $argc each time it6 T+ C. P/ l/ [2 H, O0 D6 ?) O/ C
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( d# T: c1 i3 k7 s/ I
  622. ; is invoked. $argc contains an integer representing the number of arguments
    , I" J! ^4 Y. A0 J
  623. ; that were passed when the script was invoked. These arrays are extremely
    - w/ V% ^! d. M+ u. D/ J$ z+ k
  624. ; useful when running scripts from the command line. When this directive is( O& p6 q* u' L4 @( R
  625. ; enabled, registering these variables consumes CPU cycles and memory each time% S; l9 s% E2 A# d8 }
  626. ; a script is executed. For performance reasons, this feature should be disabled$ n( M+ P" ~% m
  627. ; on production servers.5 K9 K! R2 e7 K2 E; t
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 X& }, z& S5 a$ |/ f9 b
  629. ; Default Value: On
    ) y0 d- ^+ {, q" z) H2 {; N
  630. ; Development Value: Off5 b9 I+ b/ a/ N, Y# A0 m
  631. ; Production Value: Off, r8 z( K2 }9 `. T. O
  632. ; http://php.net/register-argc-argv) Z- K1 Y& K# ?, F: a6 }: [# @
  633. register_argc_argv = Off
    . y* g& e  F5 A; a+ j7 _( G

  634. ; C4 `& f6 h. \, q4 r5 F  U0 p
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're$ {1 |1 s5 e2 N0 _9 F; Y
  636. ; first used (Just In Time) instead of when the script starts. If these3 o$ Z. X( d6 K# M5 |
  637. ; variables are not used within a script, having this directive on will result$ \6 L: \% k: o- O$ y: a
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # y8 p. d0 {+ P6 d" O$ w
  639. ; for this directive to have any affect.
    $ P8 N7 D1 ~: x# Z# N1 Z
  640. ; http://php.net/auto-globals-jit$ I% X6 v3 R6 f0 h7 _
  641. auto_globals_jit = On
    / I  O: ]; [2 O1 N# Y' }
  642. ( |, B7 E. C- Y
  643. ; Whether PHP will read the POST data.' a. M4 Z) T$ D1 b8 i/ n
  644. ; This option is enabled by default.
    , k3 O, ]/ J# ~- k  T, G0 s  q* Q
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST& D- D- t) Q0 A+ Y+ N& f
  646. ; and $_FILES to always be empty; the only way you will be able to read the
      V6 f# u8 |" L9 A2 _7 ]. O. K1 U* b
  647. ; POST data will be through the php://input stream wrapper. This can be useful3 ]$ w; n7 v% `9 F: X
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , J- J+ G6 n" f/ f# ^% F0 f
  649. ; http://php.net/enable-post-data-reading; A% |  k- Q! L. g
  650. ;enable_post_data_reading = Off7 T3 z& e$ z( D5 [0 S0 R, }
  651. ( j9 T6 Y! A* o+ i! F
  652. ; Maximum size of POST data that PHP will accept.
    & T1 H; R0 I- y8 [) f0 \
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & a  a0 u+ W1 V6 K  ^+ ]
  654. ; is disabled through enable_post_data_reading.5 G/ |0 i# Y6 h3 c
  655. ; http://php.net/post-max-size3 N% B. `. Y4 k- k3 e! t
  656. post_max_size = 50M3 i) T( L+ O; [! u

  657. 1 n0 \0 g' Z! }# A* N1 @% v
  658. ; Automatically add files before PHP document.
    9 P( \4 z7 b/ z. a. w7 I9 D0 f( x; c
  659. ; http://php.net/auto-prepend-file/ V3 `# Y" u0 F" S# c& U
  660. auto_prepend_file =
    9 G7 n& Y+ B) ~! ?1 O
  661. 1 d/ Q. l& C# z& u0 G
  662. ; Automatically add files after PHP document.$ W7 T. w  F8 E, h3 h9 ?! V
  663. ; http://php.net/auto-append-file5 S" u7 H) k8 W
  664. auto_append_file =9 h; t6 J0 K  E* f& u% {# n/ t8 S

  665. - Y: M7 ~/ |, f- }5 r" K/ o7 G
  666. ; By default, PHP will output a media type using the Content-Type header. To
    . a/ l0 R3 I; O/ g- `- D9 J& M  I
  667. ; disable this, simply set it to be empty.
    : s1 z. L) ]2 h. M& D! d
  668. ;/ j; I, `3 o" b8 z, E$ L( e- q
  669. ; PHP's built-in default media type is set to text/html.& b0 M2 j& \. D' a5 l
  670. ; http://php.net/default-mimetype
    6 w" U4 N5 |" R3 o4 U0 f9 W
  671. default_mimetype = "text/html", J1 |) {+ D6 b& [

  672. ( t# d; a% ~4 K1 y+ m* i3 A
  673. ; PHP's default character set is set to UTF-8.1 Y  b; O4 I% R% v# ~' L
  674. ; http://php.net/default-charset
    6 P! j. M0 w8 J& B
  675. default_charset = "UTF-8"/ [4 t% G% h6 ?! s  @
  676. ( Q# J8 ~0 B0 ^) `
  677. ; PHP internal character encoding is set to empty.! p; {) d2 T  P! @4 r' {
  678. ; If empty, default_charset is used.
    ) X0 Q" D5 ^" v3 I4 c2 [, I
  679. ; http://php.net/internal-encoding
      K' ?/ i) k: ~: ]
  680. ;internal_encoding =  R2 Z$ q" n# ?/ C% ~
  681. 9 [' G) a, h% P0 A4 B; `
  682. ; PHP input character encoding is set to empty.( m8 E- n- K: I$ ?2 d% B
  683. ; If empty, default_charset is used.
    9 V1 Q8 _" G4 X5 e
  684. ; http://php.net/input-encoding& e0 }, |* {3 f' ^  f% q" l: b9 Z# z( ?
  685. ;input_encoding =
    , ?1 W3 B$ p* _2 l0 g5 U
  686. . k5 ~2 G3 c9 W) u
  687. ; PHP output character encoding is set to empty.$ A9 Y/ Y, n! T1 G
  688. ; If empty, default_charset is used.
    ! j, f1 w. O4 y7 A: e/ O
  689. ; See also output_buffer.
    7 ?) @9 J9 b; V0 S, [  C/ y
  690. ; http://php.net/output-encoding8 }3 R, v) f% A3 H
  691. ;output_encoding =
    + L0 @+ a/ g% V; u/ }! b( y
  692. ) h9 y: b1 a3 i8 N' U- Y/ Y
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , v$ r7 i( z2 B# r: W
  694. ; Paths and Directories ;
    1 Z8 v7 ^5 g! ?8 v9 P
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . m: U: C- p1 y- X) y

  696. ( w) |$ y* z& C5 h8 t
  697. ; UNIX: "/path1:/path2"
    / z; ]$ h8 X  A, I; Y2 o1 }
  698. ;include_path = ".:/php/includes"& Q* T; N  Q: u# k0 K
  699. ;
    3 K! H5 @  ~: e
  700. ; Windows: "\path1;\path2"5 V* \8 s9 }% C9 b- \- _
  701. ;include_path = ".;c:\php\includes"  p4 T# }6 {4 G. g. |0 v7 K- a
  702. ;
    2 Y5 I' ?% }4 {; p5 F
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"! G- \% [, y9 x- d
  704. ; http://php.net/include-path/ m2 A5 \: L1 {6 o4 k

  705. . _0 @6 W6 p/ e1 H0 I1 ~
  706. ; The root of the PHP pages, used only if nonempty.! p: [' l3 d8 r. V% }. Z
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root. a4 b$ Z1 l* P1 V
  708. ; if you are running php as a CGI under any web server (other than IIS)% v. a6 e  U* m! C! m( C
  709. ; see documentation for security issues.  The alternate is to use the
    ; m) Y$ ^9 s' V
  710. ; cgi.force_redirect configuration below
    2 P; `' D. X, w" h6 f9 `1 C
  711. ; http://php.net/doc-root
    . t2 v  b- H+ x. T$ ?" ]; |9 j
  712. doc_root =/ A( x5 ?4 D8 h  p* O

  713. : o1 P5 }: G5 s9 m- Z, b- @7 T& o7 b
  714. ; The directory under which PHP opens the script using /~username used only$ E. |5 X, B* W
  715. ; if nonempty.- [8 f! U' \$ h+ ]2 _
  716. ; http://php.net/user-dir# L( U* C5 a$ e. c9 }% e
  717. user_dir =: k# H( K$ x0 b1 [) V( M; B
  718. . n$ }# _3 C! w4 C8 y( n* v
  719. ; Directory in which the loadable extensions (modules) reside.0 J. z0 v' z2 b8 a3 U6 w% W+ K
  720. ; http://php.net/extension-dir
    0 A7 q' ^5 ^4 m. n% t
  721. ; extension_dir = "./"* W3 h  ^* m! P
  722. ; On windows:* N5 }/ K0 c* p! U
  723. ; extension_dir = "ext"2 A& M2 @! G3 c1 n& y9 }
  724. 0 L" M7 z1 t( M2 k5 Y
  725. ; Directory where the temporary files should be placed.
    6 {( D5 e! a& t: g( N/ m
  726. ; Defaults to the system default (see sys_get_temp_dir)
    + h- M7 b. }# I% F5 ]
  727. ; sys_temp_dir = "/tmp"
    ; n9 R) X% x2 S' \( k" A# w$ A8 b* L

  728. * L: t7 W# W6 h" `6 E. ~5 ^) q; M( p* ?
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work' M+ h9 c3 B3 j) }; C, R* u
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    0 I( i, i0 A! b6 a2 }& `0 z
  731. ; disabled on them.6 e6 ^0 x  R( O: e# l  l1 i
  732. ; http://php.net/enable-dl
    1 T. D9 f( M6 R" ?; r
  733. enable_dl = Off# p% z. `  C3 n: S* ]( _0 n% W

  734. 8 h* O' m& @# @- p9 T
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under7 m% v8 e" Z7 p6 K' E" c  B5 }
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can% H* t  m7 x# o5 I; z4 G+ j9 n
  737. ; turn it off here AT YOUR OWN RISK' e: t$ m* |' o
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ( t3 R% L. m) N& `5 f, M
  739. ; http://php.net/cgi.force-redirect0 G5 I: L1 b' a( h
  740. ;cgi.force_redirect = 1) M+ X' e" R. E

  741. * v8 f7 Q+ b2 v) g$ c9 b" t
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 b* l& @2 D7 @- b) a
  743. ; every request. PHP's default behavior is to disable this feature.+ o7 s/ L2 R1 M0 f! s8 {
  744. ;cgi.nph = 1/ z/ Y; L: s9 A* H; V: }

  745. ) N9 K) @8 J% m5 }4 x5 e
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : H- L+ K9 q' ]6 I& y/ d
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 _. }' R3 V; _& y' K4 x
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY6 D! T7 M! w8 @' ^
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.: Q. y, E- i4 h. _. q% I  ?( N# {
  750. ; http://php.net/cgi.redirect-status-env) x0 f9 H* \8 i; D/ r4 n4 D7 B% a, S
  751. ;cgi.redirect_status_env =% U; A$ S. C0 i/ c# C; O  M1 e
  752. 6 k# ]& Y* x9 X- X% O  Z
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - @7 i3 H% I# q8 p# H
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( i; X: b( p: y
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 _4 w1 N: }2 E4 h" q
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    0 W- b* `+ d% m* o+ w+ q5 d: ~. n0 K
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts+ {( C8 O5 E' B* n
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 K7 F7 B3 P! n! M- K
  759. ; http://php.net/cgi.fix-pathinfo
    ) ]! X- T2 W! y* ?
  760. cgi.fix_pathinfo=1# L$ M) V& c. r. W  p
  761. 5 U  k$ w" g5 F- r
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside, y7 ^3 g* r3 ?# N- M
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    . u3 P4 ]$ a% t
  764. ; http://php.net/cgi.dicard-path& [3 P& q- L# Q" L7 G
  765. ;cgi.discard_path=1
    . ?" u' w. J" _  M# S
  766. ! O* ?$ A9 v/ U4 c  Z- w
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate/ \/ j: c; f9 b' g8 O! `
  768. ; security tokens of the calling client.  This allows IIS to define the" t6 }- ~- {/ u5 J
  769. ; security context that the request runs under.  mod_fastcgi under Apache
      L  V/ E. Z2 z+ c& Y& b/ F; \' f- ?
  770. ; does not currently support this feature (03/17/2002)
    7 i$ u! {" g* t' g# L& j" L
  771. ; Set to 1 if running under IIS.  Default is zero.  o* j7 w8 M+ Z# D0 b
  772. ; http://php.net/fastcgi.impersonate* M& c3 _0 p! d: e2 e; R8 [  C
  773. ;fastcgi.impersonate = 1
    3 P# ^  X" b# c& a: a7 N

  774. - L+ Z( h0 ?  E& Q: p
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " A0 N+ n/ w4 v) `/ j
  776. ; this feature.' M5 F, D# v* }4 h; F2 |* y0 M
  777. ;fastcgi.logging = 0$ ]+ o- [! S) p  D. U* r
  778. ( w# \' a; n% P* P+ N" N3 z* b; k
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to# g: c0 S" Y; F& v$ g; k- B" _
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ' {8 T4 g" m+ i9 R, u% A! q# h
  781. ; is supported by Apache. When this option is set to 1, PHP will send9 q0 p% M1 k( {8 y  O
  782. ; RFC2616 compliant header.
    ' L2 ?1 n+ ]" R; G1 ]# X
  783. ; Default is zero.
    : c, c/ I2 l% D% ^1 n/ _
  784. ; http://php.net/cgi.rfc2616-headers$ I- F% C, Q  A4 `, y
  785. ;cgi.rfc2616_headers = 0
    5 O, n4 v( Y, G$ @! W; Q

  786. , L  |; M6 @2 y8 e$ A4 j" s
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& ?8 m3 T0 V) q+ ~
  788. ; (shebang) at the top of the running script. This line might be needed if the: G/ b9 e& n# y* f. l+ G
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    , F4 G; O. ]% E, e
  790. ; mode skips this line and ignores its content if this directive is turned on.
    , }7 i0 c" m$ W+ q! d- Q! }
  791. ; http://php.net/cgi.check-shebang-line
    + S, @+ Q* L# P9 K3 O
  792. ;cgi.check_shebang_line=1( r/ t" T% C9 I1 s5 L. c. ?# v

  793. 8 I; ?5 k& ?9 ^4 G) E& K
  794. ;;;;;;;;;;;;;;;;/ b( B( y( X- D( i1 H" {
  795. ; File Uploads ;  E: m# `4 f$ r! u. w5 E' e
  796. ;;;;;;;;;;;;;;;;
    % F: d# l; Q% O& {; {

  797. 1 A6 H, \* L$ a+ L, h) N
  798. ; Whether to allow HTTP file uploads.
    4 a* Q9 O: ^' n  R
  799. ; http://php.net/file-uploads
    " h* o2 t+ S% Y9 t& g8 P) K
  800. file_uploads = On1 N6 ]  J$ H% x# Q8 ^
  801. ( ~; L" e1 A9 I! b
  802. ; Temporary directory for HTTP uploaded files (will use system default if not( h4 g/ s4 b3 q$ e" q
  803. ; specified).+ [$ ]3 n3 ]! J% p2 f8 X
  804. ; http://php.net/upload-tmp-dir
    2 m8 p+ P# c& V9 q
  805. ;upload_tmp_dir =0 Q, v4 B2 m; F1 R) `7 @, V5 L3 `
  806. 1 ?2 B" |. V9 j' B* B- R
  807. ; Maximum allowed size for uploaded files.
    8 T( s& i; j" A4 q
  808. ; http://php.net/upload-max-filesize6 |/ x" G/ m- L) B7 N/ f! g
  809. upload_max_filesize = 50M% g: u2 M% Z7 L* w( P
  810. 2 {9 J$ b# P/ d6 w
  811. ; Maximum number of files that can be uploaded via a single request
      q& Z" a, m# }1 U) a2 i1 `
  812. max_file_uploads = 20
    3 |# D( S& K- S8 `

  813. 3 |. ^# \9 X. w7 ?) ~
  814. ;;;;;;;;;;;;;;;;;;/ P+ Y7 p2 R% Q, v* r. V9 f) E) |
  815. ; Fopen wrappers ;
    $ h( l6 ^1 N, [( d! K
  816. ;;;;;;;;;;;;;;;;;;
    " B) R% A! @, N& H, T3 ]0 c0 F

  817. 2 V- p! r; A3 s: N- u6 k
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 \, d( o& G; m# Y( t/ W
  819. ; http://php.net/allow-url-fopen5 u' V) J8 {- M( X
  820. allow_url_fopen = On
    ( W+ _2 H3 b0 V7 M+ C% F
  821. 0 U( ?& L3 G% G' L& w% }
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & q% X7 `6 w) t+ G# P) z& d/ e
  823. ; http://php.net/allow-url-include
    1 F+ Z) S8 |9 g( t' I
  824. allow_url_include = Off
    - `  B* W% J+ z/ F) }6 `- W

  825. 0 g$ v7 u: X$ Y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ q7 p2 g+ i4 W; h
  827. ; for this is empty.7 L1 L# ?7 p) U5 p  I
  828. ; http://php.net/from0 @7 E9 D1 l$ h7 P4 j' e
  829. ;from="john@doe.com". o/ Y% {5 [  @% X

  830. . N1 j1 E6 }8 j5 N* F: u
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ( @9 {3 {8 E' D
  832. ; http://php.net/user-agent+ \" @3 n8 G8 @% G3 z, r
  833. ;user_agent="PHP"
    1 \3 a/ H: O; {6 h

  834. ! A2 u) V* o% @- t6 ~3 ~
  835. ; Default timeout for socket based streams (seconds)5 F1 y$ [7 O  Y( P) i
  836. ; http://php.net/default-socket-timeout) e( n8 d# j3 ^$ E8 \
  837. default_socket_timeout = 60
    $ L  \4 C0 D: Y0 D! q4 k6 b3 F2 f
  838. 0 ^6 H: w1 j% U$ d4 S" `; p  w& M3 J
  839. ; If your scripts have to deal with files from Macintosh systems,6 R! B& j+ L. D
  840. ; or you are running on a Mac and need to deal with files from( D- [" d/ f& Z  l
  841. ; unix or win32 systems, setting this flag will cause PHP to# O  P  B% ^1 M0 C8 e6 s1 F# a
  842. ; automatically detect the EOL character in those files so that
    8 H/ f) w3 q" B( p# g4 P
  843. ; fgets() and file() will work regardless of the source of the file.
    1 M) g0 Y# l: z# q2 Y, p- f
  844. ; http://php.net/auto-detect-line-endings
    ; {) ~$ z7 J  z7 y% l9 ~0 `. S
  845. ;auto_detect_line_endings = Off+ y8 r* T' f$ u# g; k5 y$ [% D
  846. 2 U. g6 i- X$ O0 `% u$ z
  847. ;;;;;;;;;;;;;;;;;;;;;;0 N5 s2 W' j/ X. |  T$ w
  848. ; Dynamic Extensions ;3 K- d( U- ]% x8 r
  849. ;;;;;;;;;;;;;;;;;;;;;;
    $ d- j( n: K" v: x0 ]
  850. , x* K% J7 f$ ^8 ]7 g
  851. ; If you wish to have an extension loaded automatically, use the following5 b2 u  f5 f1 F( y
  852. ; syntax:
    7 Z7 v; W5 j/ C9 `, e5 \" M! g/ Z
  853. ;1 O+ A3 F7 t4 T0 E* {- p
  854. ;   extension=modulename.extension" I- P  b, P: A! Z( I  r, F
  855. ;
    3 Q/ Z) F3 T( x0 K- r/ G
  856. ; For example, on Windows:
    , e/ W# }, `* t' y$ z3 B2 }
  857. ;/ k3 Q- k/ D* Q/ K2 k; C! y
  858. ;   extension=msql.dll5 q% f+ m! A) l3 A* ^9 Q
  859. ;
    / k/ o" j2 j1 P( h2 _- j
  860. ; ... or under UNIX:
    ' F' u# o1 d! O% _) e' c
  861. ;( K! P' I! x& @+ W2 J
  862. ;   extension=msql.so
    3 B$ ?, e/ x  A( h8 t
  863. ;4 i5 D# q2 g/ w  p7 z3 K# S7 j9 O
  864. ; ... or with a path:
    % H% K( n0 e" P% s1 V. s: P, M
  865. ;/ d3 d' J2 K6 S. @
  866. ;   extension=/path/to/extension/msql.so
    5 c# _* l8 w0 l7 e- [5 _4 z8 w1 {
  867. ;" ?" K  s/ f& `5 U
  868. ; If you only provide the name of the extension, PHP will look for it in its7 n4 m* F9 P+ K: `5 W* \
  869. ; default extension directory.
    0 N9 X' G, N! r( u
  870. ;
    4 z( i, a) G3 E
  871. ; Windows Extensions: x( V. A9 }- h! ?9 ^
  872. ; Note that ODBC support is built in, so no dll is needed for it.) t  v' H# u. [3 b) c
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)6 z+ a  t5 i8 i+ s# c4 m# z
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).# G. j! `9 J9 u) ~4 h0 Y$ w/ u
  875. ; Be sure to appropriately set the extension_dir directive.3 z! u  Q% U( ~+ b% u) R
  876. ;
    ' \, o" G  |4 W8 {9 c# J7 i+ I4 ]
  877. ;extension=php_bz2.dll3 N! N* A! _) x+ d1 T2 T1 M  ^
  878. ;extension=php_curl.dll7 r* X' [7 Q. Q3 K. ~9 c7 [
  879. ;extension=php_fileinfo.dll
    - e) Z0 J! d1 d" g
  880. ;extension=php_ftp.dll
    . P) o* `5 X- L1 N, ^1 Z3 g* b, Y
  881. ;extension=php_gd2.dll, N/ D# G' [4 P
  882. ;extension=php_gettext.dll9 t9 W* q; h. e) t
  883. ;extension=php_gmp.dll( I% s6 g4 y6 ~' x+ y# ]0 Z' ?8 `, z+ S8 A
  884. ;extension=php_intl.dll2 O2 z5 B" h. k' M
  885. ;extension=php_imap.dll
    $ g* ?  U# M5 F9 }8 Z/ f& U! s
  886. ;extension=php_interbase.dll
    * O" e! z$ z0 `. m  E4 n
  887. ;extension=php_ldap.dll
    % \  A5 @8 F1 R" s' N& Y0 M1 K4 r5 _: y
  888. ;extension=php_mbstring.dll
    . c$ j: M6 R2 t4 ~+ C9 i+ `: F
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * o5 s2 y7 Z# U3 w
  890. ;extension=php_mysqli.dll; X4 Q$ g8 h9 k
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    7 _( G8 Z3 g/ {1 y# c
  892. ;extension=php_openssl.dll+ d% ?. y# s8 `9 f% x' v" i
  893. ;extension=php_pdo_firebird.dll* E6 x: k5 Z% m. ]" V! h0 y! l
  894. ;extension=php_pdo_mysql.dll3 n) u2 n, M0 p: D' l
  895. ;extension=php_pdo_oci.dll
    0 X8 |) u0 Z' j( h0 {) ]+ U" O
  896. ;extension=php_pdo_odbc.dll) c" }& D0 C+ [" Y  f4 {
  897. ;extension=php_pdo_pgsql.dll
    - P! n2 x- W1 H% L( Y' ?6 G4 J8 i
  898. ;extension=php_pdo_sqlite.dll
    ) ^! M5 F% I0 C1 o1 G
  899. ;extension=php_pgsql.dll
    # b% B  G# \8 m
  900. ;extension=php_shmop.dll
    ' k6 _! n$ K6 p

  901. + d8 f1 J8 W6 o5 b: U6 j4 C
  902. ; The MIBS data available in the PHP distribution must be installed.  T* F" Z' k, }  C! Q9 c
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    3 \3 B8 B) e% Z
  904. ;extension=php_snmp.dll$ _" l- ^3 F( H. b- V" g) x
  905. 9 s/ ?$ T* m: r
  906. ;extension=php_soap.dll+ t1 u  ?& \9 K) _% d1 Z1 l: K
  907. ;extension=php_sockets.dll
    7 p+ e( d# ^) |) R8 Y6 }2 o% W
  908. ;extension=php_sqlite3.dll
    , C) W! @& T5 N- L9 @
  909. ;extension=php_tidy.dll
    + u" W- `4 k# D. x+ z
  910. ;extension=php_xmlrpc.dll  ~+ V5 q( {! m. e  e
  911. ;extension=php_xsl.dll' _- t  s% x1 _' P# O( F
  912. " {. \7 o$ t5 g( E6 _1 F0 q
  913. ;;;;;;;;;;;;;;;;;;;
    " E" b* R" C/ u! D. A' M9 b7 C
  914. ; Module Settings ;
    9 W# [: P; Q6 b- h1 u3 Z7 X
  915. ;;;;;;;;;;;;;;;;;;;& z0 @+ A+ ^/ v" v3 b
  916. ! A7 \4 M  @1 o' S/ z& `
  917. [CLI Server]  n' j9 L0 f! }8 F7 [
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.5 W% v% p) Y" c% f: J
  919. cli_server.color = On# S" C: e0 p0 r, {6 e+ P+ G
  920. 4 Y, U& w3 O* G
  921. [Date]. \9 `/ u7 }  o% ]/ @2 U
  922. ; Defines the default timezone used by the date functions* g( c7 W+ q" @+ @1 A2 _. R5 k
  923. ; http://php.net/date.timezone9 v' y8 S+ ?$ [2 [7 \
  924. date.timezone = PRC6 d5 R3 \" M( J

  925.   w/ p5 V- s9 \: V" B2 d0 t
  926. ; http://php.net/date.default-latitude
    # g$ L; }3 n; D% C! S
  927. ;date.default_latitude = 31.7667
    8 X0 `; n8 _' k, C6 a2 W+ I' [

  928. 4 ?7 K* ?# M9 x6 a8 c
  929. ; http://php.net/date.default-longitude
    , U4 D5 G( ]2 ?5 \6 H( D
  930. ;date.default_longitude = 35.2333
    3 L& |1 Z6 [. I& U/ k3 d5 D
  931. - @% T+ {& V2 O; t3 B* M& @: c
  932. ; http://php.net/date.sunrise-zenith
    4 v' u6 `) X5 n# e' o" C3 v" d
  933. ;date.sunrise_zenith = 90.583333$ r/ u4 x  g* u8 B) i4 C1 W
  934. . g" |6 S# c$ ?6 [) V
  935. ; http://php.net/date.sunset-zenith7 b' b* q0 k4 V( d+ R
  936. ;date.sunset_zenith = 90.583333
    , ^! W( |/ t9 j) X; y9 e2 `1 D
  937. $ `6 n8 O( n% K3 V6 d$ G( L! v
  938. [filter]
    $ R4 j* H% O( T8 q9 ]  `2 }, ^/ ]
  939. ; http://php.net/filter.default0 A6 O& A2 Y3 l# {5 |
  940. ;filter.default = unsafe_raw
    - e$ t2 p  `& ?3 z
  941. 5 U4 ?5 O4 u$ Z. j. @) V
  942. ; http://php.net/filter.default-flags' u  W: Y# n. Z7 o9 |; o. ^/ W5 ~
  943. ;filter.default_flags =$ @' m% I) j- h* {

  944. ) A, ~) I& L" d9 n& H
  945. [iconv]: u4 Y5 W( L( y, B  E
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 C6 f6 Q, h+ k' v3 n+ G
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 k; ?* M. R! v7 [+ X4 ~, t! R
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    & v8 W- C; U% r  e9 H7 r- ^+ l& m8 _/ [
  949. ;iconv.input_encoding =
    7 C8 T% V' E& \9 [

  950. 7 K9 @# j6 N; V5 n) \) {, d
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.. T* `  C' o3 l; h3 @/ Y
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & k: ?) q7 K& D  L
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% v: \% g6 Q3 P" f5 }1 _
  954. ;iconv.internal_encoding =
    / k5 z0 A; O" X0 J
  955. ( x/ ~! l+ G) _4 D
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 \( x9 t  H! J" c& n( J( q9 I
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' F' q3 |1 `; T8 g
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 n1 g2 s9 H+ n1 e
  959. ; To use an output encoding conversion, iconv's output handler must be set
    3 M* S8 B2 p: z# h' A* b) F
  960. ; otherwise output encoding conversion cannot be performed.
    ; b$ ?: \7 }+ u) w- B0 d  N0 Y* j1 Z* G
  961. ;iconv.output_encoding =
    0 q% w* _6 y9 h0 q6 H2 j4 x/ R/ `

  962. 0 a$ [1 g7 J+ O, t
  963. [intl]7 D& d9 |% e7 I& H
  964. ;intl.default_locale =/ d2 C6 _5 Z  Z) D5 i
  965. ; This directive allows you to produce PHP errors when some error0 |( U4 B% B& v
  966. ; happens within intl functions. The value is the level of the error produced./ Z5 V- G) w- m& g5 m+ z, T* z
  967. ; Default is 0, which does not produce any errors.: i4 {  Y8 Q3 |1 o9 J- O1 A
  968. ;intl.error_level = E_WARNING
    2 O* e# l! U; h2 B
  969. ;intl.use_exceptions = 0
    + {9 g4 c2 g1 n6 G6 p' s) p( ]
  970. # q. V/ |' j5 E- \
  971. [sqlite3]
    # E- v7 S1 o/ \. N' z
  972. ;sqlite3.extension_dir =. Z+ C2 k% f+ j% U- K3 v

  973. 3 {! u" ]7 ]% \: Y% c- [, {8 e
  974. [Pcre]
    : ^: F% E9 d3 `' _
  975. ;PCRE library backtracking limit.+ K3 W6 Z! q; i
  976. ; http://php.net/pcre.backtrack-limit8 t6 O, t, g5 |) g" q" D
  977. ;pcre.backtrack_limit=1000000 ~4 a) C/ p9 |
  978. ! C0 F# m% a8 [$ u4 N
  979. ;PCRE library recursion limit.8 O; K( Z/ g* n' l6 R! W
  980. ;Please note that if you set this value to a high number you may consume all- h9 n! }& g. N1 v, R1 Z% c
  981. ;the available process stack and eventually crash PHP (due to reaching the
    3 D* F$ `5 `1 ~1 y
  982. ;stack size limit imposed by the Operating System).$ o, V4 Y& W" z$ c8 h; K
  983. ; http://php.net/pcre.recursion-limit
    $ s5 i: p  Q3 S  H  k
  984. ;pcre.recursion_limit=1000000 k1 d4 V( M: }! m$ j: R4 f
  985. * J$ n9 s: c2 k* o9 j
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    0 \7 c) v6 H8 [$ ?
  987. ;library to be compiled with JIT support." o. P5 k. o: W3 b/ q  @
  988. ;pcre.jit=1
    & Z" n: u; l7 S0 i0 B- |) I. a* B6 U

  989. 0 C) O1 i# ?# Y2 V
  990. [Pdo]
    . |3 o8 o# Y( ]% _. y
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    " ~6 v9 I% k. o1 B" H  j5 ]
  992. ; http://php.net/pdo-odbc.connection-pooling
    $ |4 A# G5 c6 u1 O  C) V
  993. ;pdo_odbc.connection_pooling=strict4 U) K1 J1 n$ b0 M
  994. . X; h1 |; z8 M. R
  995. ;pdo_odbc.db2_instance_name6 d3 d. a4 I: T: F
  996. ; t' s# m2 G( [' i. t6 i/ Q) P) T
  997. [Pdo_mysql]
    5 k  U) f8 H0 v0 R
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 f: Y$ U2 @5 i3 D9 L6 m* c
  999. ; http://php.net/pdo_mysql.cache_size3 [0 g" M/ [  p) w2 X/ n- d
  1000. pdo_mysql.cache_size = 2000
    ) H# E* N2 p( ?$ O: S
  1001. 4 F( C* l, b6 k) @/ Q7 K
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 j; H, T6 h$ l( a2 z5 ^1 P
  1003. ; MySQL defaults.* k4 f4 C! D. Q: a
  1004. ; http://php.net/pdo_mysql.default-socket
    3 U4 G# m) H( d" ^5 o. t% e
  1005. pdo_mysql.default_socket=
    ) U! Q" K% Y; v4 n' [
  1006. $ y7 X, W9 L" l2 k3 t9 V$ |
  1007. [Phar]
    " f$ C0 a6 H  y) Z! }9 }7 C
  1008. ; http://php.net/phar.readonly
    $ t  M( U3 x& D) f* R, A
  1009. ;phar.readonly = On
    / }# ?, Z9 @# F5 I3 g; Z/ k# c; y. Y

  1010. 7 Z0 q- \; g6 |
  1011. ; http://php.net/phar.require-hash
    / F$ F1 _! D; m
  1012. ;phar.require_hash = On1 ]2 h1 n7 B9 G- D

  1013. 2 y% f7 u8 H; x
  1014. ;phar.cache_list =( C( b3 g) b" Q- q+ E0 t; U
  1015. . h5 p+ r$ `% t* T2 P0 X2 \2 H
  1016. [mail function]
    4 V: x2 g/ v* _" g
  1017. ; For Win32 only.& ]5 G, I6 {+ _6 _. [1 f- B
  1018. ; http://php.net/smtp
    # Z" U1 N/ p/ W1 H* w, @3 T6 t; b$ `8 a
  1019. SMTP = localhost% P3 y$ [- X5 F4 M6 V# ?
  1020. ; http://php.net/smtp-port
    & r9 K) A' T; Y+ Z
  1021. smtp_port = 25! J  ?6 O8 B. `* f# }
  1022. ( H6 ]$ N0 d$ D7 `6 b& E
  1023. ; For Win32 only.
    ( O" J& N% H6 L) Y+ d6 i* {! X
  1024. ; http://php.net/sendmail-from+ t! z. U: {, ^, \
  1025. ;sendmail_from = me@example.com( x1 z# D! q, i! ]1 f& t9 z& Y6 [" A

  1026. % E! K' i* v2 e4 n
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; J! B1 J5 `7 `# C# ^) v3 i
  1028. ; http://php.net/sendmail-path
    0 Q5 w2 O  t" V
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ; S' ]8 @* d& o$ e
  1030. 8 H6 b2 V9 R! }( C& @- \. i
  1031. ; Force the addition of the specified parameters to be passed as extra parameters2 n% y4 m! \* D9 i' o6 M, F' R
  1032. ; to the sendmail binary. These parameters will always replace the value of
      x+ {: u/ x. F6 w
  1033. ; the 5th parameter to mail().
    8 e) |; i* t, e& q
  1034. ;mail.force_extra_parameters =1 ]& M, c: R- L* c# j& c- n: L( f
  1035. . K% t2 K5 T9 H0 \  B
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 C  q7 f0 K6 ?# c9 _% v
  1037. mail.add_x_header = On
    ' r# |0 [/ a  e- N5 @

  1038. - F& Y- _+ t+ s. f& J. z; q
  1039. ; The path to a log file that will log all mail() calls. Log entries include8 [& b  Z9 ^! b" D8 f7 n
  1040. ; the full path of the script, line number, To address and headers.
    4 }2 \9 L8 D9 P2 f) _, J! M
  1041. ;mail.log =( b& v# I6 X; g
  1042. ; Log mail to syslog (Event Log on Windows).: Z1 @; v; a5 W
  1043. ;mail.log = syslog
    ( t1 R% ]' t3 m/ m6 ^) {6 r/ e

  1044. : ~+ L) l5 d6 S; h  M6 ~
  1045. [SQL]
    0 i- v# K0 Q. L! \- k" r  J. _0 T
  1046. ; http://php.net/sql.safe-mode, G8 @& m' x6 c9 k2 p- h6 I( A: w, a! \
  1047. sql.safe_mode = Off
    ! C' ~1 @9 B( g; S4 k

  1048. * j: w9 P% f0 M8 v/ b
  1049. [ODBC]) g) ?9 z* o! T; L: G# f1 ?2 Z4 I
  1050. ; http://php.net/odbc.default-db9 e+ ~: u8 X) t7 L
  1051. ;odbc.default_db    =  Not yet implemented; J4 L6 W0 x! B% v$ U! G; j
  1052. 2 |/ l& s6 Z% a6 k8 u
  1053. ; http://php.net/odbc.default-user7 z! E" B$ r  b( H$ _# O% W
  1054. ;odbc.default_user  =  Not yet implemented
    , ]4 }8 H7 A% ]1 T7 G* O6 q/ |

  1055. ! ~$ e9 }& X0 }$ J; d  [7 P8 q( U
  1056. ; http://php.net/odbc.default-pw
    ! @5 l( l9 R/ `2 C; e; v
  1057. ;odbc.default_pw    =  Not yet implemented
    / `% z" H; N2 n1 ~; s$ h  p# H2 Y
  1058. 1 S5 D9 N2 \" n9 f2 M* w0 H+ a
  1059. ; Controls the ODBC cursor model.7 E! p3 l- U9 @" f
  1060. ; Default: SQL_CURSOR_STATIC (default).
    : Y: F4 X8 }/ j4 V5 h" l" k, s5 A
  1061. ;odbc.default_cursortype
    2 Z9 @/ |3 ~- }( n

  1062. ( S% n$ F5 d! b! X+ N: C1 n4 I- @! G
  1063. ; Allow or prevent persistent links.
    ' `6 C' t8 D0 m
  1064. ; http://php.net/odbc.allow-persistent( U0 w" L& k% f" U& j$ [1 e; ]
  1065. odbc.allow_persistent = On
    4 s/ \3 b" W! |

  1066. % r; o0 T$ q" ?9 _$ ^# a# C# n0 M( H
  1067. ; Check that a connection is still valid before reuse.! R5 t& s! T0 M0 S
  1068. ; http://php.net/odbc.check-persistent
    9 S0 N0 w$ ~: @2 M4 A. m
  1069. odbc.check_persistent = On
    % q; y* h, j, f% G8 s

  1070. ( P  W& l0 ~5 L& Y8 H+ e+ x7 j3 p- t
  1071. ; Maximum number of persistent links.  -1 means no limit.1 ?0 l. i0 C' n9 K% W
  1072. ; http://php.net/odbc.max-persistent; e. f0 {; ?$ ^) T& W2 I
  1073. odbc.max_persistent = -1( i; A( N+ m" ?/ c5 Q$ i2 B
  1074. 9 I0 w* m( s, K* x3 {# F
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # [+ V: c+ E7 w: F: c
  1076. ; http://php.net/odbc.max-links% J8 E3 S$ U0 b7 p4 T2 k5 l7 b7 C
  1077. odbc.max_links = -1
    6 p4 N% R& K9 f/ n) V
  1078. ' P0 Q# j9 ~" ~  j8 \6 F
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    5 z0 ?4 k! c# C3 ]
  1080. ; passthru.
    6 Z' X: F* @' \
  1081. ; http://php.net/odbc.defaultlrl
    9 X* d/ x% I: x* I
  1082. odbc.defaultlrl = 4096# `0 U: l5 ^3 k# o
  1083. 9 k. U* d7 {' Q, x
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.4 I* W9 o9 W6 C0 F% o( e
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: e' T7 R( S) d% l9 ]& d8 t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode$ h$ _) n' B9 }0 S0 O+ D' w
  1087. ; http://php.net/odbc.defaultbinmode2 I1 I9 W9 D0 ]7 H( q
  1088. odbc.defaultbinmode = 1
    - M  d4 p) ^# w  E; J

  1089. * C1 p8 `" r- i( s/ S9 g: q
  1090. ;birdstep.max_links = -1
    9 @' G, J' I! b9 X0 n' V& Y: O

  1091. ! x2 T) i* n0 R, X. a& c* A- J" n
  1092. [Interbase]3 K) a8 h6 p% l' o5 h
  1093. ; Allow or prevent persistent links.4 {% K; |6 o/ d8 @
  1094. ibase.allow_persistent = 1
    # H- m! F. d( Z2 }

  1095. ' m% |  c" D0 d3 ^7 h
  1096. ; Maximum number of persistent links.  -1 means no limit.
    + N% F! W" `+ m. v( k9 ]
  1097. ibase.max_persistent = -12 k1 R- L' l3 ]! a# G
  1098. ; p& m6 t; n* S) O/ D* G
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& f1 I0 U7 w3 S
  1100. ibase.max_links = -1
    5 u# J$ R8 K# U9 c$ j8 O* z

  1101. " Y& ?3 m! }7 `8 H. L2 m
  1102. ; Default database name for ibase_connect().7 M- `! P8 O5 ~: c! Y" P/ K
  1103. ;ibase.default_db =
    + V- p  M% e- Z) z  G

  1104. * w; n7 `) a5 h
  1105. ; Default username for ibase_connect().
      x) S+ t  v, f/ A' ~
  1106. ;ibase.default_user =
    & q  P; @- n4 Q+ h+ c; o, d
  1107. ( ^) }. |6 S. R9 A
  1108. ; Default password for ibase_connect().
    & a* e/ h3 \0 o: u$ k* S+ e# N
  1109. ;ibase.default_password =) q) Y5 a1 N( S
  1110. ' S+ K* f3 Y, n
  1111. ; Default charset for ibase_connect().
    - p$ I2 n) T( U5 N4 _
  1112. ;ibase.default_charset =+ V% i  N  h* l/ @6 T: `  X& C

  1113. . e; S) f; Y) w3 E/ {/ F) W
  1114. ; Default timestamp format.
    * |0 l5 ~+ h7 x5 V% n* O3 \. t
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"6 L/ e+ Z2 ^0 p1 N- L6 H

  1116. 6 G- d" s0 p. e, p9 K- z
  1117. ; Default date format.9 x- u, h2 t+ [4 e( c# `6 X
  1118. ibase.dateformat = "%Y-%m-%d"
    + Z! A9 h3 w# p
  1119. ' H6 f6 Q; {, |4 K4 t
  1120. ; Default time format.
    1 K8 \/ X  K- @9 W2 C$ R9 u
  1121. ibase.timeformat = "%H:%M:%S"
    : \+ T+ {$ Y& c: U+ z5 n
  1122. 7 \- g, @4 k/ |2 e) A7 D
  1123. [MySQLi]( m0 w  Q3 G$ }& h

  1124. & \3 q' ^9 k; G0 T7 a
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ( j1 U6 P; }# \! E/ D  o
  1126. ; http://php.net/mysqli.max-persistent
    ; `% J, [# ]3 d% }: A" t
  1127. mysqli.max_persistent = -10 s% ^" g0 Z  P3 L

  1128. 5 t9 l! L. l  p8 g0 F5 X4 h
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 u9 R! X/ c' a; H" ^
  1130. ; http://php.net/mysqli.allow_local_infile$ r3 a/ u( Z( x+ B. I! b# G
  1131. ;mysqli.allow_local_infile = On; U" t7 n7 L. g: ~( ~& S5 U
  1132. ; g  p9 E  A# k
  1133. ; Allow or prevent persistent links.8 z. ?2 b6 V- D! N* w
  1134. ; http://php.net/mysqli.allow-persistent
    5 B. Q) I5 A4 e4 V& J
  1135. mysqli.allow_persistent = On
    . m& }$ T: C7 D

  1136. 1 P0 ?3 O- y' N6 \
  1137. ; Maximum number of links.  -1 means no limit.
    2 S/ Q- ?5 }  p4 d+ l
  1138. ; http://php.net/mysqli.max-links
    ) L; ?$ p" N/ ~: B  C3 e  z) u0 B
  1139. mysqli.max_links = -10 E# c0 q3 `% V& Y! z2 \
  1140. 6 b$ d4 w0 w1 k3 R6 _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ k4 U0 |" c; A+ g; O! j5 E
  1142. ; http://php.net/mysqli.cache_size1 Q7 k' P- }% Z
  1143. mysqli.cache_size = 2000
    9 R  i; a4 O& [0 O0 ?
  1144.   P0 _2 V5 C& A
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 `" V' N% j! }
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 p& w# L" Q6 W' U  c# a- A0 O2 V
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( c& M' \6 T- Z0 O; S
  1148. ; at MYSQL_PORT.
    ; K( W3 e* Z, m& @, |7 M
  1149. ; http://php.net/mysqli.default-port# q. Q2 Z9 B! z. u3 z  T
  1150. mysqli.default_port = 3306
    ) n* Z6 \( F9 w* l6 x$ f

  1151. 4 p$ x1 ^% R9 s
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 H. e) A$ `6 b7 l3 c6 h# ?. n: U
  1153. ; MySQL defaults.
    * u) V1 y' y, Z0 X# D& i/ c
  1154. ; http://php.net/mysqli.default-socket$ Y: w4 C" g! D# Q
  1155. mysqli.default_socket =
      s% e# Y3 u  i; @( v

  1156. ) n7 a1 e7 X* ]: n4 k: V
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% n6 S' O7 L0 y
  1158. ; http://php.net/mysqli.default-host0 y+ c; @( Y8 O
  1159. mysqli.default_host =; m6 B; _5 E6 |3 t" Q5 N8 a

  1160. ; P' b1 z6 U0 j. O, G. t
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)./ H( Z) L' e- [: k' S
  1162. ; http://php.net/mysqli.default-user/ g1 R4 I8 P  f6 w) q2 C. Z  Z5 m
  1163. mysqli.default_user =
    - i& M( t2 r8 ?& ~% [: h
  1164. 7 S. h' B) i$ n1 t: {( S
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).5 ?1 u8 G( i1 ?
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.( S5 S- F9 z) b! u
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")0 |! B) O$ H' x/ K
  1168. ; and reveal this password!  And of course, any users with read access to this( p4 ?6 R4 R; _2 n, [  {+ y
  1169. ; file will be able to reveal the password as well.6 }& r6 e) a( i
  1170. ; http://php.net/mysqli.default-pw6 @* u, s7 |% c8 l9 a' }8 u5 x
  1171. mysqli.default_pw =
    9 G! A3 z6 P3 {* p( {

  1172. " |9 d4 u' c. D) ?8 \5 G4 r
  1173. ; Allow or prevent reconnect
    # i3 a7 n1 `+ Y8 K2 O  i
  1174. mysqli.reconnect = Off8 q8 f; D' W1 |" A5 ^0 L

  1175. 7 z$ I$ p( w0 u
  1176. [mysqlnd]) ^" V' l$ E' d* }( _" O: Y
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be8 I. f; u* E. ?3 o. P( O2 U
  1178. ; used to tune and monitor MySQL operations.; w  d  Q8 [8 Y
  1179. ; http://php.net/mysqlnd.collect_statistics" }2 [1 X. ?$ h/ m- G# M
  1180. mysqlnd.collect_statistics = On4 K. U3 u8 ^1 w( u' H0 O/ H
  1181. - E7 X5 U( K- Z' v' r3 v
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, `: C" z' A: b+ V6 {
  1183. ; used to tune and monitor MySQL operations.& X/ w2 C, H6 Q) }. u
  1184. ; http://php.net/mysqlnd.collect_memory_statistics: y' k0 g8 a8 h7 z0 d& k; f" L
  1185. mysqlnd.collect_memory_statistics = Off
    ( I% w. ?0 ?( u6 o9 E

  1186. 1 x3 \& W8 b# B0 }7 H! K% _& A* d
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    7 K. E* i  U3 a" k/ c( w3 J
  1188. ; file.  ]: e4 J, @7 I
  1189. ; http://php.net/mysqlnd.debug
    3 U/ e1 }7 k; d2 k
  1190. ;mysqlnd.debug =
    , f: C2 x; a5 Z

  1191. ; C- k9 Z. ?6 S" F: X8 {
  1192. ; Defines which queries will be logged.
    7 k" J6 k$ j) J/ m
  1193. ; http://php.net/mysqlnd.log_mask5 w1 e4 Q8 r6 M' v. [. O
  1194. ;mysqlnd.log_mask = 0
    / x1 g+ I$ o4 j5 |
  1195. + k% B9 o' t5 j# G0 g
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 ^! C3 U- G% z! L# G+ ^7 T2 O
  1197. ; http://php.net/mysqlnd.mempool_default_size# j* i. C1 x6 ^
  1198. ;mysqlnd.mempool_default_size = 160004 O5 s6 m3 s* Y2 g0 q4 \. c1 B

  1199. 4 @/ _# r& F* R; \, h" v$ L
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 a. w5 W' S4 P6 |; @; j
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    7 c4 R( K+ p4 D' A2 z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ! _% [5 K8 n8 a" j
  1203. + A* j* K- l! Q1 r9 Q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in, q: v8 l5 d5 K2 H6 ?' p4 u
  1205. ; bytes.3 w1 R" S( N6 T4 Z
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    $ e5 l3 @+ v! m5 t
  1207. ;mysqlnd.net_read_buffer_size = 32768- Z/ k' y% h* A

  1208. 3 d4 S8 t5 ]5 B, T* \
  1209. ; Timeout for network requests in seconds.5 |1 q0 m6 |5 j& F& {3 C1 C
  1210. ; http://php.net/mysqlnd.net_read_timeout0 w5 I) }. s( ?9 b! A4 T8 a0 _- O
  1211. ;mysqlnd.net_read_timeout = 31536000
    8 f8 q8 d5 ]1 z8 s9 e
  1212. 5 V! h8 ]. b$ E0 x0 j
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    $ ^) W; H" W! i  _. p  o, E
  1214. ; key.. U* _$ K- \8 j+ |+ W) c
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% G/ n" @" b$ Q( V
  1216. ;mysqlnd.sha256_server_public_key =
    2 Z# g" v+ ~3 x

  1217. , O- x0 v4 P6 E7 U! J
  1218. [OCI8]2 R2 t, k+ t: Z, m% b0 G- [
  1219. 0 x# ~. O9 B/ K7 i6 r6 n
  1220. ; Connection: Enables privileged connections using external
    4 a1 ?5 e! j0 p) s4 N( a' t3 A
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA). Y  }- X* P: r) u
  1222. ; http://php.net/oci8.privileged-connect1 s/ s- F! B1 g
  1223. ;oci8.privileged_connect = Off; i( g! k& b5 @5 q6 g% l, F& j
  1224. / O4 l; ~3 z% v+ Q
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    & `  N4 I7 r9 N" z2 o% ?0 N2 C2 U
  1226. ; process. Using -1 means no limit.
    - F/ d; Q" X. G( u! f
  1227. ; http://php.net/oci8.max-persistent
    ( E+ e4 m( |2 Q5 p
  1228. ;oci8.max_persistent = -1
    2 m/ F$ ~0 d8 l. i  R
  1229. ' u# R0 H- f  }+ k! o" x, p
  1230. ; Connection: The maximum number of seconds a process is allowed to* e9 V: P% M/ |2 e1 |; A" d
  1231. ; maintain an idle persistent connection. Using -1 means idle
    6 u& s8 [2 X  Z% z5 s+ W3 ]9 d' ^
  1232. ; persistent connections will be maintained forever.
    1 j4 c) {- T# K
  1233. ; http://php.net/oci8.persistent-timeout
    / N* y5 X6 B9 o/ V3 p$ ^
  1234. ;oci8.persistent_timeout = -1
    : x$ s: @+ ]* K, N/ r4 y/ R& l
  1235. 4 ^0 ?% `- H3 ^2 y) A
  1236. ; Connection: The number of seconds that must pass before issuing a6 C* m5 c0 b6 A- z! y% O
  1237. ; ping during oci_pconnect() to check the connection validity. When1 B8 r) Z9 Q. f" _+ _
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables3 u( M! K& ^3 s  d' w, b. }
  1239. ; pings completely.
    2 }4 `- ?- Z% p% j# l, _4 J% ~
  1240. ; http://php.net/oci8.ping-interval
    2 v( J) c+ ?% D2 T9 G4 h/ @+ b
  1241. ;oci8.ping_interval = 60
    " _. t0 ^& P  Y- u% k/ _8 B

  1242. ' b/ ?( S# {! m
  1243. ; Connection: Set this to a user chosen connection class to be used7 y. r" [& M( P2 R
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    * \, I$ U; U4 p3 r! S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" m8 i9 E6 _; `7 k3 ~$ X3 V$ K
  1246. ; the same string for all web servers running the same application,
      c; w! b  A$ N
  1247. ; the database pool must be configured, and the connection string must
    $ D, ~/ M6 R( _% O0 L/ J9 x' I
  1248. ; specify to use a pooled server.$ O) H4 H( l1 W
  1249. ;oci8.connection_class =
      v, m5 p9 j$ P

  1250. 0 P5 i; G% k; [& ~6 t, `
  1251. ; High Availability: Using On lets PHP receive Fast Application
    & u9 @% D; B2 r5 c. E6 y: f
  1252. ; Notification (FAN) events generated when a database node fails. The8 ]  e3 h2 T$ \3 r2 y* _" [9 i( u
  1253. ; database must also be configured to post FAN events.
    / R- A( r! Z' {+ i, q
  1254. ;oci8.events = Off
    8 ^: t3 w& E7 \% ?' H

  1255. ' j# \* }5 k/ c
  1256. ; Tuning: This option enables statement caching, and specifies how9 z5 j, W% \3 i1 k
  1257. ; many statements to cache. Using 0 disables statement caching.
    ( l8 E/ y; O# u9 @0 h0 z$ Z9 O
  1258. ; http://php.net/oci8.statement-cache-size2 B  l8 M7 y; F+ Y4 N7 m5 P7 x$ X( l" P
  1259. ;oci8.statement_cache_size = 20
    ; H# F( ]/ ~- H9 H
  1260. % T4 l/ Q1 p# Z3 R6 D5 m
  1261. ; Tuning: Enables statement prefetching and sets the default number of+ G0 [6 R+ ?& u( O# f0 \* E8 G
  1262. ; rows that will be fetched automatically after statement execution.
    ' {% r2 u6 h* Y/ N6 U+ s, j
  1263. ; http://php.net/oci8.default-prefetch* f% ]# m; h6 m  b1 _. T/ ~1 x
  1264. ;oci8.default_prefetch = 1003 h4 o3 J  x: i/ R
  1265. 4 m& F/ z/ o, ?& E' Y, x% X3 f: e
  1266. ; Compatibility. Using On means oci_close() will not close! E: h4 C0 P6 Z, ~5 r
  1267. ; oci_connect() and oci_new_connect() connections.
    : z( [8 y2 F6 H
  1268. ; http://php.net/oci8.old-oci-close-semantics# A  w. O! G, s# r8 }
  1269. ;oci8.old_oci_close_semantics = Off0 q: G( l4 `' t/ _; ?
  1270. + k! I5 S. h5 {: b- o
  1271. [PostgreSQL]
    1 F- D3 ?1 |6 o) {7 [2 |5 k) I
  1272. ; Allow or prevent persistent links.9 l' P1 b6 F+ p, E$ Y4 x  L/ p0 C
  1273. ; http://php.net/pgsql.allow-persistent
      B6 v: g/ h; G$ ^7 u1 T  u
  1274. pgsql.allow_persistent = On& E5 }" H$ j1 @& I( w% Y9 n- c

  1275. & e: Y# ?. F6 `
  1276. ; Detect broken persistent links always with pg_pconnect().
    , ~/ W# K8 |6 ?# G8 g* [
  1277. ; Auto reset feature requires a little overheads.- Y/ P3 P$ W# a% @
  1278. ; http://php.net/pgsql.auto-reset-persistent8 S+ o/ K5 p5 V* @/ }% v9 h- _
  1279. pgsql.auto_reset_persistent = Off. ^$ t* u1 A1 z. j) @

  1280. ( h: R% @: x8 |/ o7 |. q% O
  1281. ; Maximum number of persistent links.  -1 means no limit., L+ u% z$ g! d; F. ^
  1282. ; http://php.net/pgsql.max-persistent7 N4 s% H; e: _$ h
  1283. pgsql.max_persistent = -1
    4 O3 {! H4 K% v3 [2 S  _7 I

  1284. 1 G( T6 t+ o" i! Z6 E
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit." L+ F% B: q+ G
  1286. ; http://php.net/pgsql.max-links6 |3 R+ M+ i0 o' j% W
  1287. pgsql.max_links = -15 o8 H& B) |* }( w7 `4 s1 y

  1288. 4 Y: Y: P6 @2 z5 v! ~) W
  1289. ; Ignore PostgreSQL backends Notice message or not.  @0 `' I' z" ~2 m1 ^
  1290. ; Notice message logging require a little overheads.
    " r; X& j8 {: v( \. j5 R/ L
  1291. ; http://php.net/pgsql.ignore-notice' K9 E/ a/ {' {- B! ]1 |/ G$ h
  1292. pgsql.ignore_notice = 0; {% N2 v- u$ F& g# t- p

  1293. ) F( H: [; K# L& }: P+ F/ |
  1294. ; Log PostgreSQL backends Notice message or not.
    0 m/ `3 Z  u4 R& m
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    3 x; N) m- a! k  ^! ~
  1296. ; http://php.net/pgsql.log-notice
    ' @" H9 {( Y! V6 L/ c4 G
  1297. pgsql.log_notice = 0
    $ |# \, z7 v, f+ l$ j  u

  1298. 5 a" H4 ?# P# I  Y
  1299. [bcmath]: W1 V* M- g- O( Y5 R
  1300. ; Number of decimal digits for all bcmath functions." r+ F; b/ i5 {* @4 j; f# _# V
  1301. ; http://php.net/bcmath.scale- c  }6 Z! ^9 N) T" N
  1302. bcmath.scale = 00 R% ^  L4 `6 z8 _4 n- y6 W. n1 I
  1303. ' w. u. P+ [+ `1 ^
  1304. [browscap]
    : T0 I8 H6 i7 M' G# X" j
  1305. ; http://php.net/browscap6 ~" V' x5 v$ W. J+ e
  1306. ;browscap = extra/browscap.ini9 [+ ?1 k1 p6 }. U( U
  1307. 2 ~9 {! A. e( U8 ~# T; `2 T# c
  1308. [Session]
    * g! U" L& y3 }* b$ @( b
  1309. ; Handler used to store/retrieve data.
    $ a- d" P. M2 A, p& y
  1310. ; http://php.net/session.save-handler
    9 I9 p3 P$ U; ?8 s: Z5 v& x
  1311. session.save_handler = files7 d2 q0 ~* r3 ?" T: I5 e; `9 R6 {. P
  1312. # c* U( ~2 z5 q( T9 P5 a# C. e) j
  1313. ; Argument passed to save_handler.  In the case of files, this is the path% i( b# v) s  n( ?
  1314. ; where data files are stored. Note: Windows users have to change this1 V' r* o& V: ?7 E6 g
  1315. ; variable in order to use PHP's session functions.6 T( m8 Y1 x6 E4 B& Y/ Y2 [
  1316. ;# `; h; U( F& ?' d& c
  1317. ; The path can be defined as:! w" S* E+ O& V9 q6 v6 y0 G' a
  1318. ;
    - _# X9 V- q5 ?5 Q7 S0 v% C8 |& Q
  1319. ;     session.save_path = "N;/path"% r8 h9 U0 n, D; y
  1320. ;
    * v6 v% W& \; G% z
  1321. ; where N is an integer.  Instead of storing all the session files in- e& k( d- ^. [* G9 {( ~
  1322. ; /path, what this will do is use subdirectories N-levels deep, and' E. j7 k' _9 [' b
  1323. ; store the session data in those directories.  This is useful if- T6 l$ O! u1 i2 I8 o
  1324. ; your OS has problems with many files in one directory, and is
    5 Z! z' k$ f$ g4 K
  1325. ; a more efficient layout for servers that handle many sessions.3 y3 B% L$ r( S8 L$ X) C
  1326. ;& i  ?$ r! }( s0 h- @; n6 N3 G
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    . H# ^( [, D' n0 i8 k  Z
  1328. ;         You can use the script in the ext/session dir for that purpose.. d4 d9 q6 R+ S; ]" a4 a# V' W
  1329. ; NOTE 2: See the section on garbage collection below if you choose to: ~/ l5 m4 A5 B/ y# c5 v1 r% x
  1330. ;         use subdirectories for session storage" Q- H) y7 o5 \
  1331. ;
    ' S; N' y& ~$ H- y
  1332. ; The file storage module creates files using mode 600 by default.
    % j& k; \) P  R7 Z! w7 S4 R
  1333. ; You can change that by using
    ! I6 n! b/ n: i, _/ T4 c1 e+ i$ G! p
  1334. ;
    & T6 Q9 a7 R2 ?7 u
  1335. ;     session.save_path = "N;MODE;/path"( f5 o& G4 C9 h3 t- d
  1336. ;
    & f2 S2 u  a& [
  1337. ; where MODE is the octal representation of the mode. Note that this2 V, u/ b- a2 e/ I! d
  1338. ; does not overwrite the process's umask.
    ( d1 T. P% N% d* _' R9 o
  1339. ; http://php.net/session.save-path1 ]9 {4 r  i& p
  1340. ;session.save_path = "/tmp"
    * j' r" R; L7 }6 w$ Z( Q

  1341. ( x/ w& R4 G  q) e
  1342. ; Whether to use strict session mode.
    3 P* u7 N% E4 @6 Q4 {' s
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate% y- P" b# z  A! ^# W8 X! N7 _2 E
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects' y6 m! V! i' ~  s
  1345. ; applications from session fixation via session adoption vulnerability. It is  q9 L" T% k) e; l
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.) t; f. ~: j4 g2 Y- [  O
  1347. ; https://wiki.php.net/rfc/strict_sessions
    0 p8 e# y1 ]2 B5 F% H+ G4 D7 j
  1348. session.use_strict_mode = 0
    , n+ A' O8 Q2 j0 J7 \

  1349. 3 e% f' t* H) O3 \) y
  1350. ; Whether to use cookies.& B* L0 X/ ?+ t  R4 [
  1351. ; http://php.net/session.use-cookies
    3 w6 a; G7 a. u: y
  1352. session.use_cookies = 1
    + @2 c% u0 S2 X
  1353. 0 y& ~/ e% X" d
  1354. ; http://php.net/session.cookie-secure1 b3 D3 B8 I  o4 o0 f
  1355. ;session.cookie_secure =+ Y6 U+ B: S; O0 P
  1356. 1 K+ N2 N+ ~( X& V
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    5 r8 \5 R7 X( T7 W2 W2 U4 A
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    % ^$ o; t( b4 t  E: {
  1359. ; session hijacking when not specifying and managing your own session id. It is! c& z3 P8 D9 @
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # @' y" U* @  D
  1361. ; http://php.net/session.use-only-cookies
    8 ^/ m; T& P# B( @9 H" t; t* n1 o
  1362. session.use_only_cookies = 1% b  {; {, m! ?. I* v$ w8 U1 F
  1363. 9 ^+ ]1 Z. f1 S1 d& B" B) Z1 F* I- `
  1364. ; Name of the session (used as cookie name).
    7 |" Q7 p3 H# U0 Q% ~
  1365. ; http://php.net/session.name
    , [0 z/ X0 K7 T3 p" u6 q
  1366. session.name = PHPSESSID
    4 {: z. Z# B, U& `  S
  1367. $ t3 b# u1 c$ A8 x9 z6 r
  1368. ; Initialize session on request startup.0 L' o, K. h9 [
  1369. ; http://php.net/session.auto-start9 z- L: ]' E9 W, S
  1370. session.auto_start = 0" B) ^$ _. _2 [3 o2 [+ _
  1371. 1 Q/ [2 T9 S  q3 e
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    , f% ?0 X7 f" g* g4 h2 M
  1373. ; http://php.net/session.cookie-lifetime5 l' |( X2 @+ p) G
  1374. session.cookie_lifetime = 0$ g7 D+ y3 ~! y  x, \2 `

  1375. % e/ {/ t+ b5 F* K
  1376. ; The path for which the cookie is valid.$ o1 I/ W# B! \
  1377. ; http://php.net/session.cookie-path" Y+ M: F" F" m( g& Q8 ]( Z
  1378. session.cookie_path = /$ Z0 y0 J) Q7 _: U9 h
  1379. + S9 T5 D' y" u1 ~) a
  1380. ; The domain for which the cookie is valid.
    7 _0 u/ R" h9 x1 S: N
  1381. ; http://php.net/session.cookie-domain
    - m  [+ C# h( r( j: \
  1382. session.cookie_domain =: }# i, h% [& C4 e2 N
  1383. * f8 c( C- \, o3 V% ~/ Z
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.- F- e  K0 l' g4 m- e1 _
  1385. ; http://php.net/session.cookie-httponly
    " \* P! o' H8 f, z/ S( ~5 w
  1386. session.cookie_httponly =
    & B0 K/ J/ E0 c# i% p* N

  1387. ) H- x. [* ~  f& z
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.) w$ M4 \' _! m% {( ~
  1389. ; http://php.net/session.serialize-handler& v1 g$ b. E+ N* s. R: L' @
  1390. session.serialize_handler = php
    * x* H9 @3 c* Z
  1391. % C  S+ O& {/ c4 T
  1392. ; Defines the probability that the 'garbage collection' process is started5 I2 Y, O% s3 M; |# ?
  1393. ; on every session initialization. The probability is calculated by using
    # {) j( l' m& b& y" t7 S0 s
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- z5 y! n0 o/ j: S
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1$ @8 h+ a# k5 B0 h; `5 J
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; @" Y, q1 _' z5 ~& q! M5 j
  1397. ; the gc will run on any give request.7 e# F1 w, ^6 q. _( d: j. Z, [
  1398. ; Default Value: 1
    2 N3 R# h9 J1 U# S9 s. {: H
  1399. ; Development Value: 1
    $ d( ]/ V. P; m2 p& ~5 l
  1400. ; Production Value: 1
    7 p" N$ g9 b/ u7 X/ ^
  1401. ; http://php.net/session.gc-probability
    : R/ }# u% ^' V5 U
  1402. session.gc_probability = 1
      X0 F) L, g3 K( [7 `8 c. W# {

  1403. - ]4 Z  E7 R0 t4 C5 N; c2 [# _1 A- `
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    3 `$ d' n" C+ W7 X; X
  1405. ; session initialization. The probability is calculated by using the following equation:
    , Y3 X% z; T+ w% ?0 w  Y! x) B. O
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and3 l3 K3 L, k- @, n0 y
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    9 U9 B+ ~# {# a6 u/ R$ N# A% G* o
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & k5 Y. D' u# {6 O8 c  |; u5 c9 X! q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    2 H$ o3 l4 W9 u6 M" g* i, ?- z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( x% F' L8 l8 K
  1411. ; this is a more efficient approach.& n# ?, T' f  z; v! B
  1412. ; Default Value: 100
    3 @- [7 Z7 p1 h9 G2 b7 p% m* t$ f, p
  1413. ; Development Value: 1000& K/ G, }& R  \0 V# y0 a1 L1 c
  1414. ; Production Value: 1000
    / `& ?3 k& ]( C( S( Q
  1415. ; http://php.net/session.gc-divisor- n# \, Q' G5 J) Z6 k6 r2 M
  1416. session.gc_divisor = 1000
    8 W( x- {* i' V- j

  1417. 4 \3 P% Z' V+ D* r& M
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    6 y# P" S* R8 c$ n+ S& b
  1419. ; cleaned up by the garbage collection process.
    & b$ A' m5 M# h: X5 z
  1420. ; http://php.net/session.gc-maxlifetime
    8 c, o) _( o/ C( Z  L" [+ R' }
  1421. session.gc_maxlifetime = 1440
    ! d6 J$ d6 p6 T0 R3 \5 N3 _
  1422. % @  C$ K1 s1 A! ]" \
  1423. ; NOTE: If you are using the subdirectory option for storing session files. V* l& K2 z8 S; A7 j; e
  1424. ;       (see session.save_path above), then garbage collection does *not*
    , q9 G9 K. P+ X: z  J$ _
  1425. ;       happen automatically.  You will need to do your own garbage
    - h9 w/ N! q" O% p/ j
  1426. ;       collection through a shell script, cron entry, or some other method.
    ; D- t) U8 Z/ [5 R6 ?2 L3 U
  1427. ;       For example, the following script would is the equivalent of, L+ b+ `, v& Y- S8 Q; e
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):1 N& h8 t- |" }# n9 {% M
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    7 t7 D& t( g6 l, c5 N% O- x2 j

  1430. 7 f7 S4 L7 }9 {" ]3 V4 [( j- a1 H
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & N. k( q& m4 ^' l2 o5 h
  1432. ; HTTP_REFERER has to contain this substring for the session to be7 N; S6 l: g; ~8 P: J, k2 w( Z
  1433. ; considered as valid.& T( u, J3 u$ o1 y
  1434. ; http://php.net/session.referer-check9 L" H' L- f6 h. H5 e! d( e1 Q
  1435. session.referer_check =/ C8 d8 P' B+ B$ {; K' h
  1436. 2 u* G( T: @* U5 K! P$ Q2 y$ B
  1437. ; How many bytes to read from the file.
    - F" ~0 P; v5 u
  1438. ; http://php.net/session.entropy-length& o& A8 ?$ O: q3 e
  1439. ;session.entropy_length = 32# {1 s# g+ N. C$ z7 l# `) Z
  1440. 2 S% X9 s# s  m/ ^
  1441. ; Specified here to create the session id.5 z! Y# K) _3 h) V& r/ ]
  1442. ; http://php.net/session.entropy-file4 G1 H  O; S# S% ?& u; T
  1443. ; Defaults to /dev/urandom
    9 R3 y9 c' s- s  X' V
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom0 b3 r0 `0 s9 D  u5 h
  1445. ; If neither are found at compile time, the default is no entropy file.9 I0 U! E" I  h- Z# q
  1446. ; On windows, setting the entropy_length setting will activate the
    6 P* L' G  M) [5 E& o( h
  1447. ; Windows random source (using the CryptoAPI). @$ e  m3 }/ N' z7 |: s5 p
  1448. ;session.entropy_file = /dev/urandom
    2 m, k6 E. J; b1 Z
  1449. , Q( ]8 r  R( X' T
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    7 G9 c( I& P" k# m
  1451. ; or leave this empty to avoid sending anti-caching headers.
    . G4 {1 Q4 x! N  y- H
  1452. ; http://php.net/session.cache-limiter/ e3 t* o5 {0 c% P2 _- i) ^
  1453. session.cache_limiter = nocache
    + v( D5 M- H' _% h
  1454. " k- A2 @9 M' `3 c
  1455. ; Document expires after n minutes.
    5 T9 r" E1 W6 U' R5 |* z' |
  1456. ; http://php.net/session.cache-expire; Z3 ~; w4 ^6 v
  1457. session.cache_expire = 1809 d: |2 R! @: h; X9 B9 s! s
  1458. $ Q' k4 p# ^, h. |# }2 k
  1459. ; trans sid support is disabled by default./ F1 x# F4 M" K: J6 S
  1460. ; Use of trans sid may risk your users' security.
    6 z0 H% w# `7 g2 r; P, P; c7 p
  1461. ; Use this option with caution.
    2 m6 f: e' h8 W$ [# h$ m# P
  1462. ; - User may send URL contains active session ID
    : G, t) t) |1 Z# G1 K2 e* S" g& R
  1463. ;   to other person via. email/irc/etc.$ X3 E# V9 j. I6 u
  1464. ; - URL that contains active session ID may be stored
    , x( r- [: J. O4 f
  1465. ;   in publicly accessible computer.- I& d! s% I9 @- `
  1466. ; - User may access your site with the same session ID# z. e  U) I3 K  P; Y
  1467. ;   always using URL stored in browser's history or bookmarks.
    ' Q$ a4 r% f! k9 `/ ~
  1468. ; http://php.net/session.use-trans-sid4 ^; I1 a5 ^1 y( h# G
  1469. session.use_trans_sid = 0( m, F& ~' D" b4 a0 C4 K
  1470. 8 _! c1 N. w- d) u* E# j/ D
  1471. ; Select a hash function for use in generating session ids.
    / E. q9 Z# @3 A
  1472. ; Possible Values: _( D8 S/ M! f
  1473. ;   0  (MD5 128 bits)0 r5 a$ C+ U; j" }
  1474. ;   1  (SHA-1 160 bits)+ d/ H1 z7 C9 H
  1475. ; This option may also be set to the name of any hash function supported by
    2 \4 V5 P! l5 f# ^2 h3 ~# K
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    % X4 P7 r: \) V" s9 L) R$ l4 l
  1477. ; function.! ~5 J8 Z7 P% C" a+ n
  1478. ; http://php.net/session.hash-function% `# R* U% W) B6 U& b/ e* P
  1479. session.hash_function = 0
    8 _# |! E1 s5 p4 o

  1480. + x' \0 ^: l# v& z4 G
  1481. ; Define how many bits are stored in each character when converting
    6 }' ^( [! N  N" H) B) ?
  1482. ; the binary hash data to something readable.+ P0 `  P6 }2 P& b
  1483. ; Possible values:  T8 @/ r* A8 U2 w/ ]/ g. ~
  1484. ;   4  (4 bits: 0-9, a-f)1 x; H5 Q4 }% f: G# o3 J& u
  1485. ;   5  (5 bits: 0-9, a-v)
    1 v8 c0 L3 l5 U- h# B, B
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ! i. q. \( w& l
  1487. ; Default Value: 4& Y) R: v) x/ j
  1488. ; Development Value: 5
    7 W% B  K1 M2 T3 v2 \  ]
  1489. ; Production Value: 5/ `6 t- ~" w; M% [! D
  1490. ; http://php.net/session.hash-bits-per-character1 B/ b3 }& e) A* H
  1491. session.hash_bits_per_character = 5
    . N5 H8 i$ J$ H! M$ T) [: m3 q
  1492. & r) a: s0 @  r* g/ R
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ) D! ?! A. @6 f: T+ @4 {
  1494. ; form/fieldset are special; if you include them here, the rewriter will4 R, Y6 r* F7 Z2 K; j; d
  1495. ; add a hidden <input> field with the info which is otherwise appended8 I2 N- H: g- M4 o: N$ T1 b
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    " r" ]# r7 `+ N! E
  1497. ; Note that all valid entries require a "=", even if no value follows.
    * I" m- Y% k5 ~- k; w  ?
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% G1 s; }/ Z& I) N7 @
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; P% }6 ~7 P; X( F( b
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 |9 }2 R5 |4 q. F* x! s
  1501. ; http://php.net/url-rewriter.tags$ j5 P! i# ?1 X! r7 x4 E
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' A8 X! E& ?+ y# ], u9 u

  1503. 8 L3 m9 s  H2 J! M5 n. Z7 Q
  1504. ; Enable upload progress tracking in $_SESSION
    # J5 Q, T* |* W, x3 V! {
  1505. ; Default Value: On7 I  v4 H6 i4 D- q8 V0 n0 T
  1506. ; Development Value: On
    6 V& d0 \2 G# |$ ^' a) `: U: v
  1507. ; Production Value: On
    ) @# e+ U- F- c0 }; C# v
  1508. ; http://php.net/session.upload-progress.enabled
    . g7 S0 k- ^- s" d
  1509. ;session.upload_progress.enabled = On" H9 o7 u5 u. N: F$ u' C

  1510. : {, T* K5 z, i6 }" B6 ^, H' H
  1511. ; Cleanup the progress information as soon as all POST data has been read) x+ l9 p* {. D& H
  1512. ; (i.e. upload completed).
    % x+ B  P. Y1 z
  1513. ; Default Value: On
    6 Q5 J& R% Y# Z" u9 ~
  1514. ; Development Value: On
    - z/ j4 I, f2 k* Q
  1515. ; Production Value: On# n( @# ~" K" H* _3 O! C
  1516. ; http://php.net/session.upload-progress.cleanup
    ( F' O3 x5 U& X% l
  1517. ;session.upload_progress.cleanup = On2 r: b) r. Z; a3 N

  1518. ' E( e+ ?  J$ H
  1519. ; A prefix used for the upload progress key in $_SESSION9 ~1 J# a! {4 ]+ S* t! ]+ U- G- @6 ?" k
  1520. ; Default Value: "upload_progress_"0 t" e, b( s0 z
  1521. ; Development Value: "upload_progress_"
    5 E" |, A- g% Y% Z& G7 B. i. K' z8 K
  1522. ; Production Value: "upload_progress_"3 h( G! Q0 H: C% N
  1523. ; http://php.net/session.upload-progress.prefix
    . w0 T1 R4 N% S0 {
  1524. ;session.upload_progress.prefix = "upload_progress_"1 R: P4 s% M4 \7 p
  1525. 0 F, `2 S4 E  d6 ~+ I1 a
  1526. ; The index name (concatenated with the prefix) in $_SESSION0 Y/ {! n# z: V% L$ e2 [0 \
  1527. ; containing the upload progress information7 M5 W6 s) ^5 Z9 a+ X5 t' Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) e- N; }# m  Z. U! {  s5 w
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . u/ O" A# O7 p- s7 s
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ f$ |/ g8 M1 A8 R7 \; N% W  \8 x( {
  1531. ; http://php.net/session.upload-progress.name# v4 N  ?  j1 y! \* c* ~
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 F7 r* @' n$ [; o

  1533. " a! p8 E) R" t
  1534. ; How frequently the upload progress should be updated.' Q! C9 m! T1 ?/ l2 j$ n! E
  1535. ; Given either in percentages (per-file), or in bytes, f" M) D% l/ }: p
  1536. ; Default Value: "1%"
    8 ]- H  y' E3 d& F( [5 M  L5 Z6 j
  1537. ; Development Value: "1%"
    ( Q3 m. i3 {! m& k! z
  1538. ; Production Value: "1%"8 l6 _, M  h; |/ X) p
  1539. ; http://php.net/session.upload-progress.freq
    " M$ g! g% `+ B% `- Y
  1540. ;session.upload_progress.freq =  "1%"4 N2 e+ f" A1 B- O9 K" H3 Y  {- w

  1541. # a: e( P( v1 @2 r% {4 x1 o8 o
  1542. ; The minimum delay between updates, in seconds
    ( w# Y; Z5 `; l: d7 Q' e+ k
  1543. ; Default Value: 18 h7 O, f4 |6 }9 E+ e5 ~
  1544. ; Development Value: 1
    7 `1 f+ {: }' b" B# d8 H; O
  1545. ; Production Value: 1
    , s% w( s2 J0 O/ v7 a% L
  1546. ; http://php.net/session.upload-progress.min-freq2 S' U% d. }$ {5 @  Y9 i. e
  1547. ;session.upload_progress.min_freq = "1"
    / _3 E+ S$ I2 @1 Q: w3 n8 F  a
  1548. # }7 q& ]* T+ F
  1549. ; Only write session data when session data is changed. Enabled by default.
      J# x8 m: X% z0 S
  1550. ; http://php.net/session.lazy-write/ Y4 B6 g7 \' U
  1551. ;session.lazy_write = On
    , L/ l- d0 S4 v6 O$ E% ?4 T
  1552. ! K- n4 q% d$ N5 }0 d4 o) O" ~+ ^
  1553. [Assertion]
    # {. r1 \4 z  n( j8 l  v
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)( Y/ U% b, a; n3 u  y  D
  1555. ; -1: Do not compile at all7 h7 i* T& W1 ^; c% w
  1556. ;  0: Jump over assertion at run-time# K% M  M0 q* |* n8 e/ D. Z
  1557. ;  1: Execute assertions
    ! X7 W, X  z" s% Z4 V9 D
  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)
    8 t8 U1 G9 @/ t4 w. l% U$ M. G; I
  1559. ; Default Value: 1
    2 N* q$ a9 d+ y/ w
  1560. ; Development Value: 1
    1 v5 w( }4 x/ Q, }# g
  1561. ; Production Value: -1
    7 e$ J6 f; O; q
  1562. ; http://php.net/zend.assertions
    / b# w* ]0 K+ N% d4 p
  1563. zend.assertions = -1
    6 h) ]) P, K) c4 d2 y

  1564. - {+ F1 k' ]% D- O1 b
  1565. ; Assert(expr); active by default.) O9 ?  o* C; L9 M7 }
  1566. ; http://php.net/assert.active
    7 \% Y" M. N- h5 E5 y
  1567. ;assert.active = On, Z3 R1 ~( g9 C9 g8 i# c7 ^
  1568. + L% _( n) y) M
  1569. ; Throw an AssertationException on failed assertions6 e7 x  ?/ e. m2 V) T
  1570. ; http://php.net/assert.exception$ ]7 x" b$ P# j  ~9 r
  1571. ;assert.exception = On. H/ V+ [4 W7 P" X9 t. \# |+ m6 H
  1572. # p: D6 ]- f( d: }! _$ F9 e7 Z
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    8 l( B4 j( N; _4 y% |
  1574. ; http://php.net/assert.warning
    * F5 L3 Z# z+ E& o- V( j
  1575. ;assert.warning = On
    ; Z6 F( g  O# J" D" V

  1576. # f9 a3 Z$ a' i+ G
  1577. ; Don't bail out by default.! w9 @# ]" V( m. q1 E7 B# t! M% ]) o
  1578. ; http://php.net/assert.bail2 ^( E9 L0 y. b% e: O
  1579. ;assert.bail = Off* t' j8 s2 m+ z  R: X
  1580. 4 x2 X1 f7 h7 @, x3 u1 X
  1581. ; User-function to be called if an assertion fails.+ C. v4 p0 D0 R0 |, a+ u
  1582. ; http://php.net/assert.callback6 y' o0 F/ U7 Z# G% y
  1583. ;assert.callback = 03 q# U; B! G0 u. N. ~

  1584. + {# S1 b! v+ h" A5 _% m: ~
  1585. ; Eval the expression with current error_reporting().  Set to true if you want# `  ?4 g4 q7 _( U4 f& T
  1586. ; error_reporting(0) around the eval().3 }3 }/ ^% n9 W: [* [
  1587. ; http://php.net/assert.quiet-eval% Q3 J  [( a$ E- j0 \
  1588. ;assert.quiet_eval = 07 r) \1 S/ f7 M: o3 k# r# t6 F
  1589. ( c$ Y  m7 k& Y2 Z: G; m
  1590. [COM]
    / s; M, t5 d0 ~+ @8 U
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    : D. D9 y0 f% g  D3 k* e
  1592. ; http://php.net/com.typelib-file
    ( w2 t0 e9 O/ S  E' C+ q
  1593. ;com.typelib_file =
    7 e' K  `+ U1 |1 S
  1594. 2 p+ E! D8 ]3 ]6 @/ g2 \5 }
  1595. ; allow Distributed-COM calls
    9 ~! n( Q0 P/ B1 \
  1596. ; http://php.net/com.allow-dcom" e% \1 ?# v' ?
  1597. ;com.allow_dcom = true, P0 O) `. J" {. g0 e/ ?# [$ K
  1598. 5 a. j% K  V& \$ k
  1599. ; autoregister constants of a components typlib on com_load()
    % o  ]1 ]- m# V& I- K
  1600. ; http://php.net/com.autoregister-typelib
    * W4 k# e& {0 h0 w6 R$ G4 y' C) U! W
  1601. ;com.autoregister_typelib = true3 Z% G# p7 W( ]8 p5 m

  1602. + l! V' v1 a5 S7 @. ^, b/ }& n. T
  1603. ; register constants casesensitive
      q8 }* f- U3 Z7 Q/ B) C
  1604. ; http://php.net/com.autoregister-casesensitive
    5 B/ u4 p7 r% n8 t: H
  1605. ;com.autoregister_casesensitive = false) q8 h+ Y$ A4 _5 `- w4 l$ c

  1606. 5 ~( M: }4 J3 z4 j" }$ z$ k0 W
  1607. ; show warnings on duplicate constant registrations* A# G7 ~0 y: y' |. w
  1608. ; http://php.net/com.autoregister-verbose
    3 Q, ^6 N- \3 k. d
  1609. ;com.autoregister_verbose = true
    + _9 q  |* @  d  r5 K* A1 d8 P+ O& Y

  1610. & W. H$ ^) z7 E" r
  1611. ; The default character set code-page to use when passing strings to and from COM objects.( Y4 E4 ^3 x* ^" C
  1612. ; Default: system ANSI code page
    5 C* V/ B; L# g! e
  1613. ;com.code_page=
    4 r+ }7 p+ }& r
  1614. , }( m* M" F4 t
  1615. [mbstring]% w  r3 r( T/ K& ?
  1616. ; language for internal character representation.
    ; Q; G/ F4 V8 }" {1 {
  1617. ; This affects mb_send_mail() and mbstring.detect_order.- c" I1 T. `+ k) m& {! ], ]
  1618. ; http://php.net/mbstring.language+ l6 j- Z- M# q) f( E) q, @* @
  1619. ;mbstring.language = Japanese  Q6 d$ z5 B! X7 \. k! Q* H

  1620.   w) K) d# C2 D# `" P( k1 o
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 D3 F# e9 W: j" J. z9 r3 v8 L
  1622. ; internal/script encoding.
    3 [2 _2 d$ T8 }$ m& U
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' N/ G) O6 d+ Y/ B. R
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . w$ P( r, l8 Q+ a, B
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 X( J. p  j5 o! c. ^
  1626. ;mbstring.internal_encoding =
    9 e6 b, \2 j* k/ c- x- h8 B5 Y4 L9 s
  1627. / P; P3 X$ {, z/ b/ k
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.! m6 m% C1 U. A! L4 U0 V
  1629. ; http input encoding.
    ; V, P9 s- [1 l0 U7 N9 `$ H. W
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.  A/ `! H# F* |" L0 O$ u
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.) S! ?1 f1 y5 G% @8 V% p. q/ C, @
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input7 B% i- c' O. k" k
  1633. ; http://php.net/mbstring.http-input3 P: d1 Q+ W3 `/ _& @
  1634. ;mbstring.http_input =/ P) Q: G3 e! ?& p# h5 q- Z0 ?
  1635. ! J0 m/ N8 |) v4 @' P. ^
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.. t, r4 M0 b# e9 h, _
  1637. ; http output encoding.
    - \0 F6 d3 i, e, U+ X
  1638. ; mb_output_handler must be registered as output buffer to function.. }. E/ ^6 J0 E$ \0 K4 F: `
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  V  ?# \7 R/ w+ R! g
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    3 ?& G, i( a& W) r  w# n
  1641. ; To use an output encoding conversion, mbstring's output handler must be set4 h! l/ F; W+ [
  1642. ; otherwise output encoding conversion cannot be performed.
    % x5 _: m7 }0 Y8 P* a5 w6 I& Y7 M
  1643. ; http://php.net/mbstring.http-output
    & a6 M0 B% V- U7 G+ E) V% _
  1644. ;mbstring.http_output =; E5 @* }, b4 B/ `. D, p4 R

  1645. . E; q6 g( {- u. {6 J9 ]5 x
  1646. ; enable automatic encoding translation according to( `( I  }& b: N, S0 i
  1647. ; mbstring.internal_encoding setting. Input chars are
    7 O9 `& H# ?$ {9 ~$ P' m, u
  1648. ; converted to internal encoding by setting this to On.
    " V  k, C0 Y  _
  1649. ; Note: Do _not_ use automatic encoding translation for; F8 x* o$ N8 w" b: V& K
  1650. ;       portable libs/applications.) U' i8 ?3 W* Q! x3 g$ U* }
  1651. ; http://php.net/mbstring.encoding-translation) E4 l6 }) Z  f! ]2 Z  P& P4 a
  1652. ;mbstring.encoding_translation = Off+ Y& b: H+ c$ c0 s' `: |

  1653. " q3 W5 K8 P" q: R8 ~+ ?
  1654. ; automatic encoding detection order.
    ' d) M: \6 b* D0 v  s$ L
  1655. ; "auto" detect order is changed according to mbstring.language
    1 Y; K& D0 n2 r/ L
  1656. ; http://php.net/mbstring.detect-order0 h4 f; x. A* D9 O8 Y
  1657. ;mbstring.detect_order = auto, G3 g1 e' v+ J/ [; {$ a( _

  1658. : ~3 s; f) r- \
  1659. ; substitute_character used when character cannot be converted
    4 S, E. B: r$ S3 r; h& R" ]
  1660. ; one from another
    6 r6 y% U* c# |/ f( ?9 j+ g
  1661. ; http://php.net/mbstring.substitute-character) ~4 B8 j& H3 O! S! s4 B4 e  z, D
  1662. ;mbstring.substitute_character = none* |' B4 I& _  t& U6 {
  1663. % K1 y- n/ y9 e5 G' S- o% O- k# P
  1664. ; overload(replace) single byte functions by mbstring functions.+ p# o2 I3 L  z2 b5 ]
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    1 I7 h) a( X$ F1 T; K; \* \
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.+ f) q- l$ z% Q( W( [
  1667. ; For example, 7 for overload everything.
    & q3 v- I- f! V  g
  1668. ; 0: No overload* D8 w; ~2 P; w
  1669. ; 1: Overload mail() function: |( p& }1 h( Q# `- d4 s* r" X
  1670. ; 2: Overload str*() functions+ G" A9 @5 ?  b9 d$ n
  1671. ; 4: Overload ereg*() functions
      V0 Q5 @* u2 ^" `. @& A5 h
  1672. ; http://php.net/mbstring.func-overload/ X- g4 R) S. d1 |: [
  1673. ;mbstring.func_overload = 0
    * q  p/ q1 [  G& a' H' Q

  1674. 7 |, @1 ]7 z* g4 g
  1675. ; enable strict encoding detection.% q% c" }5 y& F4 s6 `) L$ x% t
  1676. ; Default: Off
    ) ~1 x: Z# l/ E- G& ?
  1677. ;mbstring.strict_detection = On
    ; ^; D2 ?5 ]: T9 M  z- f6 t5 F
  1678. " n3 z: u8 A7 G5 u  y
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # V: t! g- g% l7 ]7 Y0 U; N( C% t
  1680. ; is activated.
    1 x4 B  Q* i# ?# [: [
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)/ H& y  d" d9 [# H: v* o+ y
  1682. ;mbstring.http_output_conv_mimetype=5 C) t( e: `7 ~1 v8 F* g
  1683. # V' E+ G! k* z8 }
  1684. [gd]- E0 C7 _7 {# W: h. k/ i
  1685. ; Tell the jpeg decode to ignore warnings and try to create, h0 V6 z7 `6 X/ e+ \1 I8 H' V
  1686. ; a gd image. The warning will then be displayed as notices
    ' A! H' v2 t" _$ D* n7 u
  1687. ; disabled by default
    3 |% X2 p# M- D
  1688. ; http://php.net/gd.jpeg-ignore-warning# |' O0 e# U0 r% v4 n/ l/ C
  1689. ;gd.jpeg_ignore_warning = 05 C, A4 x6 F- r, g% T% \
  1690. " I1 R# k+ J/ w6 t3 c
  1691. [exif]
    8 i: P  ]( l- }, O/ R* [) G
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.0 f4 a* {  @5 Y) }2 d2 k
  1693. ; With mbstring support this will automatically be converted into the encoding9 U; s5 A2 S! Y* M4 \3 E$ j
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding  i/ Q! K* E0 l7 l3 t, W8 d6 _. y" {
  1695. ; is used. For the decode settings you can distinguish between motorola and) u  G( Y5 L8 S. w$ `4 f) h7 h
  1696. ; intel byte order. A decode setting cannot be empty.; u4 s1 m  a2 \; w
  1697. ; http://php.net/exif.encode-unicode
    ( K9 j2 @! ?/ o  T2 O/ x1 p
  1698. ;exif.encode_unicode = ISO-8859-154 d( x+ I) n: j: f! W) Y

  1699. ( v( @+ c7 Z# E/ i- |0 f
  1700. ; http://php.net/exif.decode-unicode-motorola
    ( Q( m  V" d9 t9 [# e7 f+ H
  1701. ;exif.decode_unicode_motorola = UCS-2BE  ]/ s4 ~9 R/ A9 [. t, r. r7 ^
  1702. 3 G- n# S  K( B9 V0 v
  1703. ; http://php.net/exif.decode-unicode-intel
    0 f& C4 p0 K8 _% D
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    , W. s( b) f" ~- V* T( R/ S8 s, h, l
  1705. - Z2 k/ v1 Z; u) ~- T; O3 z$ s
  1706. ; http://php.net/exif.encode-jis) K* z, X- @3 t, }
  1707. ;exif.encode_jis =
    6 f( o1 R% X* y. i
  1708. ! o) z& k8 Y+ F6 z+ R. y
  1709. ; http://php.net/exif.decode-jis-motorola
    - x: A% _8 c- ]% V8 [
  1710. ;exif.decode_jis_motorola = JIS
    + u2 R: Q: m; b
  1711. : _$ \$ I+ h8 z3 X% u/ }
  1712. ; http://php.net/exif.decode-jis-intel& ~) y  ]5 w, U5 W9 L
  1713. ;exif.decode_jis_intel    = JIS% L) _* P8 M# r

  1714. . f! O- ~# Z9 W2 r3 y0 c% R& Q
  1715. [Tidy]
    * b# i/ g0 J9 K& ]3 H# W# X
  1716. ; The path to a default tidy configuration file to use when using tidy' o4 H$ B  R% b5 V. c  R. V- N
  1717. ; http://php.net/tidy.default-config
    " C: Z; g* r) z
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 @) i$ l$ w+ w5 `$ u! \
  1719. * g# s4 ^) \. ^: ]$ V( V$ C% i
  1720. ; Should tidy clean and repair output automatically?
    : L) _# S1 J1 C8 i# u5 }- x" Y" ?
  1721. ; WARNING: Do not use this option if you are generating non-html content
    . Z7 s7 t- M, ~7 I3 u' T% u. e
  1722. ; such as dynamic images
    8 Y' L6 l, H& @+ p7 e" P( ?/ L* }
  1723. ; http://php.net/tidy.clean-output
    6 R  @+ y/ F/ y
  1724. tidy.clean_output = Off
    7 `3 b: P9 ^5 h; S1 I! b9 L

  1725. * S5 b5 W) S" h; `: M
  1726. [soap]& O' T! k; J& k4 a  R
  1727. ; Enables or disables WSDL caching feature.) I) t; _( j% }. Y* [
  1728. ; http://php.net/soap.wsdl-cache-enabled
    - R% b  w; Y7 h( k0 C: o' L
  1729. soap.wsdl_cache_enabled=1
    ) s% R  e$ u8 N
  1730. 9 ^7 ^+ B6 z7 o3 v( i
  1731. ; Sets the directory name where SOAP extension will put cache files.
    3 }4 g6 ]7 p6 v0 D2 J) m+ Z
  1732. ; http://php.net/soap.wsdl-cache-dir
      z( [: S6 P9 j
  1733. soap.wsdl_cache_dir="/tmp"
    8 T+ h% {( w2 X1 b$ z) ^

  1734. " m' u, v& R4 H7 F/ D9 |! M
  1735. ; (time to live) Sets the number of second while cached file will be used  `9 Q4 ?, d  g2 y- ]& z
  1736. ; instead of original one.9 Y3 o4 a$ d. ~3 w1 ^: K
  1737. ; http://php.net/soap.wsdl-cache-ttl7 n" z, O" z: e5 {+ F% g5 O
  1738. soap.wsdl_cache_ttl=86400% K# Y* S" Z* x; e
  1739. , E3 @( J% |# J  Q# W6 x2 j1 [* q
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)/ b6 u6 N* c7 n& T5 O9 z
  1741. soap.wsdl_cache_limit = 5. Z. K% l' ~. j7 u+ F9 |
  1742. 8 s% G! t7 `& E2 S
  1743. [sysvshm]4 A5 f9 D# E$ l$ z% y& L
  1744. ; A default size of the shared memory segment+ Q$ I  L4 P  q4 ?* f
  1745. ;sysvshm.init_mem = 100005 L) F5 M9 a( T/ m* G" K
  1746.   f; k. l: R+ \" c+ w+ g. c
  1747. [ldap]
    9 W2 V2 B5 k2 s# Z) h
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    : S* D4 `0 [2 V
  1749. ldap.max_links = -1
    # r; R, q+ }/ ^) f$ T/ b
  1750. $ k1 ^* S2 P1 y, {7 E1 Y
  1751. [mcrypt]) p9 F) A1 N  O! K
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open  A, h4 B2 U, h% y5 g, u4 e5 H# h

  1753. . h2 C9 F+ ~  }  X6 W" G
  1754. ; Directory where to load mcrypt algorithms- b+ D8 N7 t+ d  N
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - b6 i6 q# F. T
  1756. ;mcrypt.algorithms_dir=2 p/ M/ f3 a* _1 {& W1 X( n
  1757. 9 i- I4 _1 l* ^( x) Q
  1758. ; Directory where to load mcrypt modes
    $ `8 ]! A& x  W  c$ ~
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( Y& U( e0 z# I3 [
  1760. ;mcrypt.modes_dir=2 K1 S  A6 E0 A, _" Q2 V
  1761. 1 V4 L( K/ N4 Q% K/ y% C9 k6 X, S
  1762. [dba]3 ~* Z) X6 s& n& A
  1763. ;dba.default_handler=
      a( w4 N. t4 c: M4 ^

  1764. : _3 m- L6 h9 [" o/ }6 [
  1765. [opcache]! V; G% E4 k8 [2 W) E' D
  1766. ; Determines if Zend OPCache is enabled0 G7 u& S: \, P  q9 ?- l/ B! ^0 K
  1767. ;opcache.enable=0$ d! h" S6 O- b
  1768. 4 m1 E8 t% ~. l
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 F8 C0 I4 c4 J  C  `1 t
  1770. ;opcache.enable_cli=0
    8 D. T5 m" e1 ^+ w1 G8 U2 u7 {
  1771. 5 v, O6 X8 ~1 B- |0 ~
  1772. ; The OPcache shared memory storage size.+ U& V: c4 p+ @, D* K; {+ h+ ?
  1773. ;opcache.memory_consumption=64
    & Q! A4 t+ y1 o& |& O4 ^' w1 t( E
  1774.   J3 Q5 g6 g) x: W2 X) ]
  1775. ; The amount of memory for interned strings in Mbytes.; E4 q  p' e) \5 i: g( i; c% r4 Y
  1776. ;opcache.interned_strings_buffer=4
    % f% [4 W8 }( _- I
  1777. 7 D, v" n3 R4 r- d
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ) n' b. M: W- C9 M& u1 _' R
  1779. ; Only numbers between 200 and 1000000 are allowed.
    % f% s; M/ C# V- B6 ]0 ]* k. I
  1780. ;opcache.max_accelerated_files=20003 o. ^$ b+ h4 a3 H) P; Y" l; V; k

  1781. 8 n* y2 @9 X6 d$ y6 ~2 Q( L
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 i/ M- E) X; D  O  |' `
  1783. ;opcache.max_wasted_percentage=5
    * v0 b7 ]; {% V" |8 n6 p2 s. I
  1784. % c# ]* b. Y1 h/ F  a+ P4 K  A
  1785. ; When this directive is enabled, the OPcache appends the current working+ _7 T! c  Q9 q5 c# v. ^- [: ^
  1786. ; directory to the script key, thus eliminating possible collisions between
    6 J) {  g: `7 U: V* p
  1787. ; files with the same name (basename). Disabling the directive improves
    ; a! b4 H! K$ P0 F4 }2 c
  1788. ; performance, but may break existing applications.# B( \" A) `1 q7 D
  1789. ;opcache.use_cwd=1" B$ B0 c4 b: }
  1790. / I( m$ u5 u) D3 e* P2 j( T" P
  1791. ; When disabled, you must reset the OPcache manually or restart the
    5 w+ m' m0 y2 _2 T* A0 Z& l
  1792. ; webserver for changes to the filesystem to take effect.
    " [% q# ~5 `0 }; b' C0 @# J
  1793. ;opcache.validate_timestamps=18 \& j: T' v" u4 M1 H  b; @

  1794. ; @- G2 W. y6 \
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    9 i( B% H# b3 Q
  1796. ; memory storage allocation. ("1" means validate once per second, but only  b! O1 ]6 l' d4 l
  1797. ; once per request. "0" means always validate)! i  W2 {+ h0 P+ ^
  1798. ;opcache.revalidate_freq=2
    7 ~; q9 I7 u+ O5 F2 j3 B0 \

  1799. 8 W5 r+ ?" Z- F9 b) s3 Q# T* e
  1800. ; Enables or disables file search in include_path optimization
    ; @! ?/ W5 b: \2 I0 V
  1801. ;opcache.revalidate_path=01 b, ]! T. `& [- b' B; X8 ^
  1802. 2 T8 f% F* p* W* G: v8 X& u
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the% j- A( Z% j2 k! T5 b& I
  1804. ; size of the optimized code.7 ]1 f* f5 A" G' O, u
  1805. ;opcache.save_comments=1: b! s; u1 y) [6 ~# b
  1806. 8 ]0 ~" Q1 c1 B6 a! m
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 d0 _+ ]( u' R7 Q6 G& o
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
      p" l+ b* H: k) R2 I, ~& f
  1809. ;opcache.fast_shutdown=0
    : U0 h6 R* ?- S; d" A6 C

  1810. : O9 M% b6 K+ X0 I8 I0 s4 g2 E
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    & b$ z, u# {7 I  _' K
  1812. ;opcache.enable_file_override=0
    8 s& N8 I; E4 Y& V" U
  1813. 9 t- _! [% D" u( \0 P6 n! `3 J2 p3 k8 z7 o
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache1 `4 u% n1 s7 F" D
  1815. ; passes
    9 d2 B0 i, s& U& x; a' F
  1816. ;opcache.optimization_level=0xffffffff; l# A2 x; Q- z1 J# k+ D

  1817. & @. ?' @0 L/ e5 c- \
  1818. ;opcache.inherited_hack=1# f* u2 X& S7 [6 C, D0 r0 `6 d5 F
  1819. ;opcache.dups_fix=00 X% {7 Z" ~! m: H$ Y4 j

  1820.   P: o6 Q9 \- N8 ~. E
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ; ~* Y8 n. A% b- J
  1822. ; Each OPcache blacklist file is a text file that holds the names of files' Q4 N2 _2 n8 t. k# \0 z
  1823. ; that should not be accelerated. The file format is to add each filename
    7 V. O9 G* V& C+ C
  1824. ; to a new line. The filename may be a full path or just a file prefix( J0 C, L/ \) }
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www& \+ P2 |" Q6 W/ }4 |) [
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ) g! C) m2 A* l* {" `4 ~1 Q
  1827. ;opcache.blacklist_filename=4 D* D& a+ E) ~( h: ]

  1828. ) h& p) N# s7 ]* \# C" I
  1829. ; Allows exclusion of large files from being cached. By default all files+ F9 z$ t5 b' H5 b; u0 I
  1830. ; are cached.9 N) ?! O+ e! s: d0 z$ p: a8 `
  1831. ;opcache.max_file_size=0
      M7 A0 @, f6 j# }
  1832. 5 H6 w4 ?& h9 Z$ y: O# O
  1833. ; Check the cache checksum each N requests.& D1 C5 c$ h- u& w
  1834. ; The default value of "0" means that the checks are disabled.
    " L; y: V& g, u6 [+ X7 P
  1835. ;opcache.consistency_checks=0
    $ d7 s2 p3 a: w/ j
  1836. ) x1 ^$ |+ C3 h: w5 p! }
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache  p7 D5 o& @9 X0 A- w; b. D
  1838. ; is not being accessed.
    . U* w# K* U% y& Z3 v6 K
  1839. ;opcache.force_restart_timeout=180; c$ j- L% Z. s* \0 X( C# _/ Z

  1840. ! Y/ g! v' ^/ m4 a
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    9 H2 s& d& A5 ]% I* [) w7 k0 Q
  1842. ;opcache.error_log=; c8 x- k8 P* r$ X

  1843. 9 p9 p; X% q- \  h: n
  1844. ; All OPcache errors go to the Web server log.) f; p" ^/ f# s1 A) r9 p3 ]! y7 j9 A! _
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 O' ^* _' n. a2 [
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ; v) j( E2 b/ x: V! ~7 \
  1847. ; debug messages (level 4).- L" C# b; q6 Q+ M# H" b. v. d# J
  1848. ;opcache.log_verbosity_level=1
    ) h* b4 @6 x' s, W. B; y
  1849. " S" b. B" b  a7 r! i
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.# [8 c7 m$ I+ t) h* T
  1851. ;opcache.preferred_memory_model=1 v) W, C' s7 t& ~( T2 z' g

  1852. 5 S2 @! }* d3 [/ p  f. o
  1853. ; Protect the shared memory from unexpected writing during script execution.
    $ B5 a- E% J6 v
  1854. ; Useful for internal debugging only.
    4 T/ p" X4 n3 d( q
  1855. ;opcache.protect_memory=0
    ' h! S$ ]0 X; @* a7 Q4 V1 T
  1856. 6 p. A1 P  U9 u2 ^- M! H9 Q9 p
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    . _5 W/ G: ], O& {+ ~& L& ^! m1 i& B
  1858. ; started from specified string. The default "" means no restriction" y  p# @1 }& E9 |
  1859. ;opcache.restrict_api=4 A% Q) R) Z" z6 ]7 v

  1860. . B3 j1 j- J; Y% O
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP$ W1 v& \$ a& o+ N. O
  1862. ; processes have to map shared memory into the same address space. This8 t$ l" s! p1 U6 Q
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    * Y1 P* q  V+ e. C' K
  1864. ; errors.
    ! h6 W& a/ [  |& N' \) P
  1865. ;opcache.mmap_base=" \) N6 _  G( F* c  w
  1866. 0 K5 e6 I" R9 f$ {8 |
  1867. ; Enables and sets the second level cache directory.
    ( z- D# U" s/ L5 j# N' d
  1868. ; It should improve performance when SHM memory is full, at server restart or. j, P4 A- |8 e5 Z
  1869. ; SHM reset. The default "" disables file based caching.
    # _% k. f. V* P) Z  C
  1870. ;opcache.file_cache=! r+ ^: n5 r: H

  1871. " x0 D3 s5 F' p2 D+ e, N. z0 x
  1872. ; Enables or disables opcode caching in shared memory.
    + _+ _( s0 \; j
  1873. ;opcache.file_cache_only=0; T# d! |, y$ \6 }
  1874. 5 h0 P; M! ~( P6 _, G
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    : t# ]! d3 X! L/ g# T" C, p
  1876. ;opcache.file_cache_consistency_checks=1
    5 d* m/ D+ Q; A- M: `0 k
  1877. - B  e/ F- Y9 v
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    1 i' ?  b/ d' H3 ?9 X# L) I7 l
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file% q6 m, n' \' n- U  a$ B4 T4 V( w
  1880. ; cache is required.; i: S" O% }- z  h* r
  1881. ;opcache.file_cache_fallback=1
    % t) i# ?, A) o& n2 p& r6 V

  1882. 0 b: y. t& z5 x+ h$ w! T7 f0 L- J: a
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    . [, e6 A: _2 G9 X4 f4 m
  1884. ; This should improve performance, but requires appropriate OS configuration.
    # U& `; v: V* i, Y: }& p
  1885. ;opcache.huge_code_pages=1/ m. X0 g/ G# k1 m' {8 R

  1886.   G8 [8 I( V3 h- h: f8 a
  1887. ; Validate cached file permissions.
    ! K: |( t" E! K% O
  1888. ; opcache.validate_permission=0
    ( B# t3 K6 `3 M' F+ j2 J

  1889. ' y9 o$ g/ k) I/ A2 m6 u* l
  1890. ; Prevent name collisions in chroot'ed environment.
    7 E3 h! y) f$ s7 `& X; U7 `
  1891. ; opcache.validate_root=04 {! u! `; \! [
  1892. ' H  `4 Q/ N5 ^# k
  1893. [curl]) b: o7 W/ Y) u$ Q; [
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    : Q3 F1 M/ u: ?
  1895. ; absolute path.9 W6 K7 U' V7 K7 g
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt8 T* I8 s0 F: y, c% A

  1897. 6 u6 [8 g- b3 i& a- T& G' ]( }
  1898. [openssl]  z; N3 e; Y: {% u: j" M
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 ~) ~+ L1 c: R$ V# {/ _
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    . i  F' Z# D+ A7 n8 F5 d+ A! R
  1901. ; not specify a value for this directive as PHP will attempt to use the  U3 |9 k, M2 O8 S3 u, H, f5 I
  1902. ; OS-managed cert stores in its absence. If specified, this value may still0 q- U8 A; L4 X5 c5 \! V' \% c
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ u* Y: ~" W/ ^
  1904. ; option.- c* z8 e' ?: l1 s5 S
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt/ J8 A! h2 N! \) A7 }" C# r2 i
  1906. : l. @5 U! N5 L- P0 p! |
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the, P" L7 A" T7 X1 \- }- _5 ?% N; t3 H; V
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    7 J  T. t: s& W. D7 H% c
  1909. ; certificate. This value must be a correctly hashed certificate directory.. ]6 D4 r+ F+ ]. Z9 z
  1910. ; Most users should not specify a value for this directive as PHP will
    $ y+ ^1 ?) _" _  g
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    8 `8 x( N; q. R# [) E2 X; J" \% q' T) J' f
  1912. ; this value may still be overridden on a per-stream basis via the "capath". q7 Q$ }& `+ Z
  1913. ; SSL stream context option." h2 V! d7 \' F  d; [
  1914. ;openssl.capath=5 t: i( {, j7 d6 W( w% F
  1915. : [6 c4 v, n0 v
  1916. ; Local Variables:9 H; d8 D. L6 R7 m- `3 w. \0 i/ c5 V
  1917. ; tab-width: 4) r5 x2 N5 K- j& Q
  1918. ; End:
    1 b9 F+ j: l  V4 w* w3 I
  1919. $ k+ {0 n" W7 u
  1920. ;eaccelerator% ~/ M) J  M1 P5 U) a

  1921. 9 B, q' |3 Y" F8 T
  1922. ;ionCube
    0 z# v- A- `4 l) z7 e3 V+ N

  1923. 6 `. R% R, n  }6 B
  1924. ;opcache5 W- p; s4 T, `3 Q# G' j# m+ C8 ]

  1925. . f, `8 x* ^0 y+ o' [3 q
  1926. [Zend ZendGuard Loader], p3 C: L) e+ I% s
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ! w- c# j. R$ h2 v+ v
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so7 k( \; I# H. \% ?
  1929. ;zend_loader.enable=12 p+ Q4 T- o1 h0 `5 ]5 b  b
  1930. ;zend_loader.disable_licensing=01 C7 |; p9 U2 |
  1931. ;zend_loader.obfuscation_level_support=3
    - N5 r- S5 |* H
  1932. ;zend_loader.license_path=4 r4 p, V3 W; |. I# m
  1933. # g+ {& e7 H: S. F+ L- v4 o
  1934. ;xcache
    6 r9 F5 S8 Z$ F! G7 z
  1935. 9 t; @) t& z6 H$ }: }0 ~
复制代码
' \1 _' O+ e0 t2 t
* F& U2 D+ U% m4 k

% b3 N! L! F( f% H0 X6 ]& ~- q% \& \2 `9 F4 ]! K
% }5 k9 w/ T4 A' _8 ?
8 [! j7 X& A$ F) J8 Z# K
7 V. E7 I$ [/ @' d5 h2 R7 ^+ B- K8 {7 l4 i
PHP5.6版本原始设置* R0 k) ^! V- m4 `  W

  m/ S& ?$ Q1 P& [5 E  W
  1. [PHP]
    ( s# a- \1 b% y3 o

  2. ; \- j7 X) Y; y2 ^- i$ A8 d
  3. ;;;;;;;;;;;;;;;;;;;
    0 k9 }1 ~' S: L2 l
  4. ; About php.ini   ;! v$ X8 V3 Q3 f
  5. ;;;;;;;;;;;;;;;;;;;
    6 p' q$ d/ @" T9 H/ ?2 h0 w6 @+ Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 s& ^' E9 R8 E5 e8 }+ ?
  7. ; configuring many of the aspects of PHP's behavior.( H+ C4 ^0 r* T0 C. J

  8. ) j; {" C, j) o- @+ r! R' B
  9. ; PHP attempts to find and load this configuration from a number of locations.$ ^% z8 |% Q9 S6 c, g- w
  10. ; The following is a summary of its search order:5 T! ~& ]" ~5 I# c. X" d9 ]. D
  11. ; 1. SAPI module specific location.$ K" ~+ L8 c/ f' ~& U
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 v. F4 t) v* M) V8 g
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 x7 `& y5 u  N' H* ~
  14. ; 4. Current working directory (except CLI)
    3 |1 n* x) {9 [1 I! c8 [% A
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP8 d1 U% ~' Y: [  P; d6 M
  16. ; (otherwise in Windows)
    # Z, p# y) i3 J& I& Z4 `7 l2 M( B
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    , B( R0 b; ~1 a
  18. ; Windows directory (C:\windows or C:\winnt)
    - D" G; w2 ]; N7 f% z/ \, t5 s8 L
  19. ; See the PHP docs for more specific information.- u" o: ?# `( L& _9 @5 o* i  a
  20. ; http://php.net/configuration.file
    % L+ ]" J: e$ j; J0 ~* X2 ?* b
  21. 9 s% y! r. r+ Q4 w0 j# f
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
      L4 _+ X4 I' {" Y# i0 p. U
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! t$ }' \# x+ q1 S5 y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      N5 u5 u6 r% S! ?+ r. ?: n" B
  25. ; they might mean something in the future., p2 f. I% l- a% ]
  26. $ p0 C& H. \, W  |3 {
  27. ; Directives following the section heading [PATH=/www/mysite] only
    + w8 [: h( w% |! p) @1 y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ! H/ J2 U, q3 e; I/ h! W6 f
  29. ; following the section heading [HOST=www.example.com] only apply to
    ) C; m1 [1 W7 k) v
  30. ; PHP files served from www.example.com.  Directives set in these
    1 m' e6 g5 v1 [- A1 L
  31. ; special sections cannot be overridden by user-defined INI files or6 R& Y7 i' u$ r; Y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    3 Z( x9 O3 c: J# `+ y- i
  33. ; CGI/FastCGI.
    # F/ p1 Z! m$ c! `
  34. ; http://php.net/ini.sections6 R4 V, t& t, D$ O2 U3 o& H

  35. 2 v' ]: L3 J& X8 V5 F) t
  36. ; Directives are specified using the following syntax:
    / E! [5 ]2 d6 q2 ?# G- @
  37. ; directive = value
    0 L# r# j1 q4 N2 K/ a; C( L  f. B7 C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.' P. E8 g+ \' P) W! |6 d) i* l
  39. ; Directives are variables used to configure PHP or PHP extensions.3 R9 r4 R+ z  ^& H
  40. ; There is no name validation.  If PHP can't find an expected
    ! B' v. i! ^5 i, W5 Q6 m/ ?
  41. ; directive because it is not set or is mistyped, a default value will be used./ V- I* [) u) I% l7 }
  42. % U' U+ d1 |- s$ a! T
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one" ~( S0 L! G: B5 r: K$ k" |( C
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( Z- ?' }. m1 I9 e8 b5 Q, E, B
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    1 A. F2 y/ `$ a
  46. ; previously set variable or directive (e.g. ${foo}); K9 O  l9 S7 o5 Z

  47. - L5 k. D0 S) Y5 k! V
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 v, c- V$ ]" _4 S
  49. ; |  bitwise OR
    3 d2 Q. y0 r9 F7 U! d$ L# `# a
  50. ; ^  bitwise XOR
    ' u% y' o9 W* _, _. a5 g8 l
  51. ; &  bitwise AND
    : D1 h* S1 g5 O5 `
  52. ; ~  bitwise NOT
    7 n, b- F7 S2 R2 x% M4 k
  53. ; !  boolean NOT
    ! n- h+ M7 H3 c1 G8 R! f/ u" Z

  54. ) M: a% V1 X0 Q6 _# b
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! b& o7 [/ ?! g: L* i- U+ T
  56. ; They can be turned off using the values 0, Off, False or No.% f9 x. ^2 T1 l: S) s( h! P) g

  57. " _; w4 ^8 E: p+ Y! I! ~9 C# j
  58. ; An empty string can be denoted by simply not writing anything after the equal4 A# p, Y# K. H% R! |! {
  59. ; sign, or by using the None keyword:
    # [/ h6 u) ]; _

  60. 4 N! f8 B3 x7 H/ j
  61. ;  foo =         ; sets foo to an empty string
    ) ~+ n* _, z) L
  62. ;  foo = None    ; sets foo to an empty string
    ! l7 H3 s# S, J
  63. ;  foo = "None"  ; sets foo to the string 'None'# }3 W0 J- M8 ]' U( ?

  64. * r% h% |1 H1 H5 y* W
  65. ; If you use constants in your value, and these constants belong to a+ q) A2 B# L0 d& J
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ' r: I2 D( @# t! \* \$ H" t
  67. ; you may only use these constants *after* the line that loads the extension.
    : u. Z3 {1 ]6 O, }# ?# G2 c
  68. 7 S# x* ]9 h9 U: D
  69. ;;;;;;;;;;;;;;;;;;;+ ]+ ?. C: x. q' H0 Y0 ?
  70. ; About this file ;4 o* n2 G$ C. A2 A3 `3 n
  71. ;;;;;;;;;;;;;;;;;;;
    - h" I/ N" I, W9 p
  72. ; PHP comes packaged with two INI files. One that is recommended to be used: t( ~' h7 ?' Z9 _3 S+ B$ y
  73. ; in production environments and one that is recommended to be used in
    ' v" i, Y% v, X  f; `9 d3 f* J
  74. ; development environments.2 l! R0 J- }0 }% `; s

  75. 2 t& B9 q% x6 d; z% J& n/ I4 ?# q" h
  76. ; php.ini-production contains settings which hold security, performance and
    ; O1 @' X  C! Q3 T' F
  77. ; best practices at its core. But please be aware, these settings may break
    4 ]% |8 p0 F: ?' |' y, [, p4 W1 R
  78. ; compatibility with older or less security conscience applications. We# ~/ f1 T& O; u  U
  79. ; recommending using the production ini in production and testing environments.
    " x! M* ]% I! a- Y8 Z

  80. ! i  g( C2 [" ?8 Z+ U
  81. ; php.ini-development is very similar to its production variant, except it is* q+ ^6 A2 F5 o
  82. ; much more verbose when it comes to errors. We recommend using the0 `' N, {( h, O
  83. ; development version only in development environments, as errors shown to
    8 g0 |  S2 e2 I, y( t3 Z) o
  84. ; application users can inadvertently leak otherwise secure information.
    ; ^$ _2 N9 ?+ q0 c$ P

  85. 4 Y8 ~4 q5 [9 ^- R
  86. ; This is php.ini-production INI file.
    4 i% R/ t7 r2 u9 ]5 j  ]( [9 {
  87. ' _  V* T% i7 x; H; s
  88. ;;;;;;;;;;;;;;;;;;;
    3 h! l* o* @" ^, m  l
  89. ; Quick Reference ;& H7 q9 E& ^7 m
  90. ;;;;;;;;;;;;;;;;;;;8 T7 M* p/ d" i  N
  91. ; The following are all the settings which are different in either the production- D  B9 c$ L, ]. n+ ~  j+ t
  92. ; or development versions of the INIs with respect to PHP's default behavior./ |4 c$ j3 g3 E6 |- W
  93. ; Please see the actual settings later in the document for more details as to why  c1 k6 g% e8 o) V$ \9 ~
  94. ; we recommend these changes in PHP's behavior.
    - N7 Y3 \5 L4 d% i; Z$ L

  95. - R* s: g$ D+ t+ ^
  96. ; display_errors
    * D4 d/ K% c( k8 |
  97. ;   Default Value: On
    1 H: E$ Y- m" M* I) D0 V
  98. ;   Development Value: On8 S9 o9 |8 z* h; l3 Z+ [8 [
  99. ;   Production Value: Off
    / @0 C( H: U" q5 A2 B/ W% V

  100. - L$ d, ~5 W6 S# M8 T+ L
  101. ; display_startup_errors
    % Z, P4 `  @# g+ a2 v
  102. ;   Default Value: Off& F) m- [' F# C$ I# @  D% P0 @
  103. ;   Development Value: On
    * {5 e! l- C8 L
  104. ;   Production Value: Off3 d+ y. `$ a3 S$ `* x

  105. ; d3 O; V* \7 L' }1 d, i& y
  106. ; error_reporting
    ' O" S- f$ Y% S2 E$ p
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! O  O' n4 W6 b& y! Z
  108. ;   Development Value: E_ALL& a( p- q3 }) k8 `3 e# ]
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      o2 L0 i! H; t8 E% Y2 e, u+ M( ?' g
  110. $ a! a) i$ C( Z( E, {* l( s
  111. ; html_errors
    ) c9 x  V- ]6 C- Y8 S! q, O4 Z
  112. ;   Default Value: On
    ' a% \- o' m# q) l6 }/ Q) d
  113. ;   Development Value: On8 M( p$ \% f1 S- h9 W% v
  114. ;   Production value: On+ M, `/ T4 d* l( r5 e) U

  115. . w; {4 Y* g) U, K2 A7 U4 N
  116. ; log_errors
    : S* W* U2 t( m0 d4 A2 T, p$ N
  117. ;   Default Value: Off2 f, D/ v6 N6 L9 P/ }
  118. ;   Development Value: On
    4 l4 I3 v3 {7 [& T7 p
  119. ;   Production Value: On3 q/ y7 P3 z: o

  120. . @' }6 B9 V: I) ~
  121. ; max_input_time
    # b8 ~2 W  I3 p: [
  122. ;   Default Value: -1 (Unlimited)
    / i6 _4 g# P3 T( x, I. A' x
  123. ;   Development Value: 60 (60 seconds)7 [! |5 M& i7 \; s
  124. ;   Production Value: 60 (60 seconds)4 V; z; Q6 f" Y/ _8 ~# [1 F  |1 m
  125. ; _1 P$ S3 P3 B; ~
  126. ; output_buffering- _4 u: t7 E: w, R: u- N8 |; L$ n
  127. ;   Default Value: Off" T4 X* R, a( F0 p  \/ @
  128. ;   Development Value: 4096
    1 }) d$ Y+ |- Q0 {6 c. t7 l. j
  129. ;   Production Value: 4096
    $ A: n2 R. I5 p0 }4 F
  130. + l8 l6 c8 i$ j: O0 R* Q
  131. ; register_argc_argv
    # L3 O5 o  z. U( Y3 c- q" F; n
  132. ;   Default Value: On
    ; l2 P* N1 S& G0 m6 e5 ?: u
  133. ;   Development Value: Off* j$ k' N! D; G0 Q) T
  134. ;   Production Value: Off
    ' Q3 N' _6 x2 n+ h( O1 ^3 h

  135. ( I( t) L' M6 ?6 C- Z; G
  136. ; request_order
    6 u$ H' r6 [. m+ L- j# r
  137. ;   Default Value: None3 N/ H' @9 A: O2 f! b9 N
  138. ;   Development Value: "GP"$ G* w: [& H5 y6 v
  139. ;   Production Value: "GP"2 v. [$ j, t$ A9 X5 b. N/ Q1 V- |' _( G7 |

  140.   i% |4 @/ {: E: G/ G4 s/ D
  141. ; session.gc_divisor) k& O7 q& G6 v$ b5 L/ E
  142. ;   Default Value: 100
    * j" b: M% g" Z: |9 j1 A
  143. ;   Development Value: 1000
    + |8 @. Y, L4 ^) r8 F' d' r, q
  144. ;   Production Value: 1000
    : _# ]+ i# Z2 A: D

  145. 3 C" F+ m" Z/ e( m/ B4 w3 p
  146. ; session.hash_bits_per_character
    & d% a5 N4 I# c" E0 m8 U' |5 _
  147. ;   Default Value: 4
    8 |' u/ c7 v8 k  e2 \7 V2 L
  148. ;   Development Value: 58 E' [7 u) |- P1 n
  149. ;   Production Value: 51 O' k: O. U  w" L
  150. 1 Y" i' x  T/ F( R# a
  151. ; short_open_tag
    . P+ S) X9 a! g) C! S/ Q# e' t; m
  152. ;   Default Value: On
    & @. |- }0 M& x. p7 ~
  153. ;   Development Value: Off* E( L, K7 y; \3 m
  154. ;   Production Value: Off6 t) n" t" T# x( C7 A, U: Q
  155. $ m) \8 G. t  [% P( t( H, F& Y
  156. ; track_errors
    8 x5 J- c/ ?) ^$ L$ V' h
  157. ;   Default Value: Off
    ' [! H& W9 R8 J# B
  158. ;   Development Value: On
      r+ K# D: K( Y# ?* R( I
  159. ;   Production Value: Off
    ! h  {% M" X7 ^; P

  160. 3 z) s1 a: j' I. `1 v3 J6 w
  161. ; url_rewriter.tags9 D: p- |$ g$ R: r8 s
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 Y! I5 C6 c: U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 W4 V7 H7 ~9 z, R& s* }
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ C# b! y1 j0 u
  165. & o+ D: r/ o- J8 Q# m7 s: ^
  166. ; variables_order1 y' i( _7 U3 g  c$ E" R( s
  167. ;   Default Value: "EGPCS"
    ' z7 ]4 d7 r7 W5 ?# }9 p
  168. ;   Development Value: "GPCS"- a, O+ N# [2 G9 F% D' _
  169. ;   Production Value: "GPCS"5 B. ]! p5 k4 W' k9 `( P0 D
  170. + J+ ^/ Z5 q0 u1 i) o, J
  171. ;;;;;;;;;;;;;;;;;;;;: B. e/ s3 ]# w  Q7 y* u1 U6 |
  172. ; php.ini Options  ;2 B  ^/ f$ r  o+ e" w3 s
  173. ;;;;;;;;;;;;;;;;;;;;  Q/ b! f- c1 U$ A0 X0 j1 P4 O( S
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    & \9 U$ A2 [5 j
  175. ;user_ini.filename = ".user.ini"0 u" L9 l; R( R! m# e
  176. 6 J. m7 J  X! Z* l
  177. ; To disable this feature set this option to empty value
    ( E+ h2 T+ V8 p; j0 s# E
  178. ;user_ini.filename =  z9 f/ T/ }: [/ Z

  179. 0 e3 T! T4 X1 ~7 W" f/ L. Y2 ]
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    0 m! J( h1 }6 c* _. ~* p5 j
  181. ;user_ini.cache_ttl = 300
    4 [* ~9 P) H1 h
  182. 6 V6 Y+ Q7 r) P- [0 V- g
  183. ;;;;;;;;;;;;;;;;;;;;
    / p; ?9 `$ E7 C+ D+ \% J& y' ^
  184. ; Language Options ;4 X( l6 F2 B1 h% O( H
  185. ;;;;;;;;;;;;;;;;;;;;& C4 w3 F" C0 X% S
  186. & f* E. ^: L! w0 F- x, X
  187. ; Enable the PHP scripting language engine under Apache.$ y6 j8 O; h# h% Y/ Z0 ?
  188. ; http://php.net/engine. t: g6 Z! m1 L' s; j
  189. engine = On, K4 g6 D" j2 v- n, L( P+ {

  190. + S9 A: ~/ S/ y
  191. ; This directive determines whether or not PHP will recognize code between: B" o. e# c. `( @+ @  _1 T5 q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ' z, Z" W9 _' y+ i0 C
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ' `. m7 m3 Q; r+ p5 A: Q  D2 y3 G
  194. ; should be disabled, as enabling it may result in issues when generating XML
    / w% e6 `: K$ [2 j4 C2 D3 k
  195. ; documents, however this remains supported for backward compatibility reasons.( s0 \$ W# W' _) o# k
  196. ; Note that this directive does not control the <?= shorthand tag, which can be3 P: @$ m/ k, F
  197. ; used regardless of this directive.: J% _6 a- I3 o' d6 c$ t* k  u
  198. ; Default Value: On' {2 z  g; S" c5 t0 g) K6 ~
  199. ; Development Value: Off' @3 X, ~% p! k1 {7 e
  200. ; Production Value: Off
      |5 h4 U! e! k
  201. ; http://php.net/short-open-tag. p& E  ?1 ]/ j; a1 l
  202. short_open_tag = On7 o* z% C' s2 X+ f5 ~
  203. ) N2 K$ E7 q/ f& k& D  r: m  k& o
  204. ; Allow ASP-style <% %> tags.
    9 {. O. Z5 Y# a: e. s
  205. ; http://php.net/asp-tags
    ( z! K8 K! p, W; E6 N
  206. asp_tags = Off
    1 f+ z$ z; J" l) n7 X7 y
  207. ' a2 A  a. X, A+ ]( K5 Q$ c7 M
  208. ; The number of significant digits displayed in floating point numbers.
    ' O- Y2 D" o( q2 q4 p: c
  209. ; http://php.net/precision& \* l) q0 z5 |1 L' ~0 e
  210. precision = 14% V; ^5 H/ w+ k! ?0 S/ `
  211. 9 ?) `8 N. E5 `7 N" C& Q1 A& D
  212. ; Output buffering is a mechanism for controlling how much output data8 c# z( V" ]8 ^( U4 U* H
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that: ?; l# P& }1 Q/ j- t0 g
  214. ; data to the client. If your application's output exceeds this setting, PHP
      b% {: R. ~" l4 M
  215. ; will send that data in chunks of roughly the size you specify.
    % _3 Y" @9 H  ~% [; a) M3 y
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ; F( ^6 v0 {( u) e
  217. ; interesting side-effects depending on your application and web server.
    5 w9 q4 r2 x" f' ~: T
  218. ; You may be able to send headers and cookies after you've already sent output; E( z& V7 ~7 h+ w
  219. ; through print or echo. You also may see performance benefits if your server is8 Z. U9 z9 v7 f+ e
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    7 f% P4 d& d6 M0 {( v, W
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ! y% c* o( ~+ r6 `4 g
  222. ; reasons.
    6 |8 M6 z) Y( T% i4 ?& m- Q- o1 W1 u
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ) x' ]+ q/ V: f# Q
  224. ;   functions.* W/ L! G( Q" v( b! [) j+ P
  225. ; Possible Values:2 {* l$ h3 o- k
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)5 H4 b; a# f: g2 q0 W) }
  227. ;   Off = Disabled- t, {6 ~" e' o% s
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.. i8 j" m% {6 k' X9 [
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 w9 R6 ]$ R3 l, p
  230. ; Default Value: Off/ ~+ ^8 z/ k: t* n: k
  231. ; Development Value: 4096
    1 k+ x& H( A+ D9 i
  232. ; Production Value: 4096
    / g) [: }2 x4 J3 t! @7 c9 l$ C+ \
  233. ; http://php.net/output-buffering
    3 z" t" b& ]0 P, [) ]9 w
  234. output_buffering = 4096. l3 Y8 ~8 V& J6 |

  235. % J9 p* \) h0 I  z2 R
  236. ; You can redirect all of the output of your scripts to a function.  For3 D6 u8 _. Q4 P$ E
  237. ; example, if you set output_handler to "mb_output_handler", character4 Y/ Z# v1 {; @5 E8 Z
  238. ; encoding will be transparently converted to the specified encoding.
    , z8 _  l: B& P( f5 f# p( w
  239. ; Setting any output handler automatically turns on output buffering.
    ' U& j; D$ @1 k* T
  240. ; Note: People who wrote portable scripts should not depend on this ini
    0 l. ?' A; _  c  e& w4 Y) c
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ N& d& _+ p9 X3 E: A
  242. ;   Using this ini directive may cause problems unless you know what script3 k; b: {4 o, k3 P( s$ z2 J9 X
  243. ;   is doing.
    0 ]; x) Y( r4 ~' G! j: |
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"/ M+ c% G' Y( p2 e4 t: }
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    # W- O  l5 w5 ?* e5 _/ E3 F
  246. ; Note: output_handler must be empty if this is set 'On' !!!!3 K' e) G# B! Q" E3 n  |
  247. ;   Instead you must use zlib.output_handler.
    " d7 ?+ s  c; E1 M- i6 T) f$ X$ d  }
  248. ; http://php.net/output-handler( o7 r1 |* L( Z7 g, ]$ a3 Z
  249. ;output_handler =
    : S5 B! {* R; `" E+ j7 k. w
  250. & A, e1 l/ [2 {* F2 x% ]3 R
  251. ; Transparent output compression using the zlib library7 |9 m$ P+ Q3 j7 w5 C) K
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size8 ?( E5 U& D; l2 k& B* a6 N
  253. ; to be used for compression (default is 4KB)
      c% W/ G* S* f! L9 k1 L" E
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP% ]7 ~1 f* Q6 `  Q" `- }
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    $ B' V; P9 k8 M- x/ {1 ]- k
  256. ;   compression. If you prefer a larger chunk size for better
    ' r# O, c6 L, D' M; K5 n# t
  257. ;   performance, enable output_buffering in addition." }, ]4 L- v: ]: h
  258. ; Note: You need to use zlib.output_handler instead of the standard
    $ B/ n* v5 m; ~+ [$ E4 h- ]+ ^
  259. ;   output_handler, or otherwise the output will be corrupted.1 p) B: [4 e7 F7 f
  260. ; http://php.net/zlib.output-compression7 S2 j& X$ M* Y: u, o' h5 n
  261. zlib.output_compression = Off# O. O# M" K3 q% F+ N

  262. & p3 t# r0 X+ p7 ^4 ~
  263. ; http://php.net/zlib.output-compression-level8 ]. y- f. @  K/ `5 l
  264. ;zlib.output_compression_level = -1
    ) H/ ^# A( K& C) a# t, x

  265. ) z6 [' N  m5 a/ M3 J4 X  [
  266. ; You cannot specify additional output handlers if zlib.output_compression% |" B+ E3 }! j/ H6 z
  267. ; is activated here. This setting does the same as output_handler but in
    $ E5 n  `5 M" `, W% G) e5 a  v
  268. ; a different order.8 l, W5 l& ^* [- o
  269. ; http://php.net/zlib.output-handler
    ' A# T7 B) d. T9 f/ E& Q
  270. ;zlib.output_handler =
    $ x+ w$ M8 O; F/ R$ k. d

  271. 4 V3 p: w; v& l3 ^& k% T; v9 z
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 a# Q! O, D9 v- P2 t5 I4 \/ ^
  273. ; automatically after every output block.  This is equivalent to calling the
    . q! m. r4 x3 n+ _( r& T9 U
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : P8 I$ I$ e& U% I( H/ u5 J! t
  275. ; and every HTML block.  Turning this option on has serious performance
    ; i/ O4 R4 R: g
  276. ; implications and is generally recommended for debugging purposes only.
    * l+ g. P6 s, c2 x1 \. b
  277. ; http://php.net/implicit-flush
    . f/ z; M1 z( T9 C
  278. ; Note: This directive is hardcoded to On for the CLI SAPI! D/ ^& v. g4 E: |2 T# ]
  279. implicit_flush = Off
    + U7 `! p( J' x5 X

  280.   l! {: O" ]7 e/ U6 E
  281. ; The unserialize callback function will be called (with the undefined class'" L  d) ]* c7 l$ K
  282. ; name as parameter), if the unserializer finds an undefined class
    / `+ O2 u8 w0 C% {& y9 b
  283. ; which should be instantiated. A warning appears if the specified function is
    / z+ J6 q( |: f* [8 X4 Q. U
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ) A! s& D  ?3 _; s) ?6 D
  285. ; So only set this entry, if you really want to implement such a
    ! J% u0 m0 C, o) O# ]+ N. ~
  286. ; callback-function.! P  t$ G5 W: X' K$ |$ ^0 x
  287. unserialize_callback_func =
    " t/ j% y% ?: N1 q7 C6 v# H9 }
  288. ) m; g/ W( N0 {" s  {7 c) t5 w
  289. ; When floats & doubles are serialized store serialize_precision significant8 h; v7 P( V; _6 H
  290. ; digits after the floating point. The default value ensures that when floats+ w% b8 S) m' N6 v) e! T
  291. ; are decoded with unserialize, the data will remain the same.+ _$ T% _3 n8 T$ h3 a/ I
  292. serialize_precision = 17
    , k. ?- }- }6 W% }8 L
  293. # ?$ [1 ^# P3 ^3 b, J) C, l5 Q
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ! m; a% L+ o) \) j" f; n& w
  295. ; and below.  This directive makes most sense if used in a per-directory2 E4 {/ f5 @0 |, Q
  296. ; or per-virtualhost web server configuration file.
    * o& {2 G8 X  b7 [
  297. ; http://php.net/open-basedir
    : G- a; b. N* D7 k4 z
  298. ;open_basedir =
    , U" Y3 H! O6 F! n" B! K

  299. 8 G! ~" b' V/ k: n( \
  300. ; This directive allows you to disable certain functions for security reasons.
    * Z* T# i& `# d$ q
  301. ; It receives a comma-delimited list of function names.! n; {' w/ M3 Q- i2 V5 W
  302. ; http://php.net/disable-functions. Z3 c6 i- ~# M5 \; d
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
      m3 M3 ~, {9 B- i* s& b& A

  304. * B9 L9 T- K) g) x0 _# t9 i+ ]
  305. ; This directive allows you to disable certain classes for security reasons.
    8 @! W' B8 S6 Q* f6 M4 J! E
  306. ; It receives a comma-delimited list of class names.
    $ A6 P/ ^" x( d6 x
  307. ; http://php.net/disable-classes8 t% K- e: {& @3 g7 l
  308. disable_classes =
    + [. Q  U8 m: m
  309. ( C# P$ Z, _: @& [7 p; p
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    & A& _  Z# j6 {- L5 D) L
  311. ; <span style="color: ???????"> would work.
    " {7 P# x9 u. O6 h
  312. ; http://php.net/syntax-highlighting9 z/ O3 r; Y! R. W1 Q; J
  313. ;highlight.string  = #DD0000
    % V+ x+ q, K8 T$ R8 U9 O' q$ @
  314. ;highlight.comment = #FF9900, x. \& @) ]/ z* l* u$ b
  315. ;highlight.keyword = #007700
    6 W0 t0 C: v4 i7 o4 J
  316. ;highlight.default = #0000BB
    & G& Y" Z- d% z6 T4 X5 K# T
  317. ;highlight.html    = #0000003 `7 l8 S5 n0 U: o
  318. 8 [) Q+ M% u6 I/ ]" x* x2 [3 }
  319. ; If enabled, the request will be allowed to complete even if the user aborts/ E# `4 k  c0 o3 E( \. V
  320. ; the request. Consider enabling it if executing long requests, which may end up9 n' E6 F! t0 [+ ^( H! v) j
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior. z8 ~; Z" ?/ M/ I' Z  D
  322. ; is to disable this feature.: T+ [; }1 z# [* N
  323. ; http://php.net/ignore-user-abort
    ( ^2 ?$ s6 I& [1 ^; s
  324. ;ignore_user_abort = On
    * Q/ H$ [1 f5 Q) X& K
  325. / c3 S4 x) s( @) x! L. Q
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    0 B" g' q! u" E: y% d  S
  327. ; be increased on systems where PHP opens many files to reflect the quantity of" B' l8 P: l8 q7 |, ?1 @$ z+ X
  328. ; the file operations performed.
    9 Q* q8 Q3 s) q) i* V: w* X% Q0 D
  329. ; http://php.net/realpath-cache-size
    & T# I2 u# g9 t/ F& g) j
  330. ;realpath_cache_size = 16k9 k# O8 ?- |& k, S2 L3 @8 ~! p

  331. 7 V+ h8 d# w4 y' Z* I/ n
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    * M& w& D  `* V8 N: g+ p* W6 q% X. f
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    : l+ N+ O& X4 }/ c$ J$ W
  334. ; value." _( L8 c: {1 q$ l& u/ X; h# [
  335. ; http://php.net/realpath-cache-ttl
    ' p6 t9 Q# G' G( I! {1 `  ~
  336. ;realpath_cache_ttl = 120
    # v" e( j) b" v$ _7 J
  337. ! C# s5 C$ [$ A' P+ |
  338. ; Enables or disables the circular reference collector.1 z, g1 [9 d% f: M5 J
  339. ; http://php.net/zend.enable-gc' |) t: b, ~$ k
  340. zend.enable_gc = On
    1 C- t6 T3 z$ n4 w5 J7 G
  341. # _( ?- [, Y0 R( n: o
  342. ; If enabled, scripts may be written in encodings that are incompatible with# A9 j6 O# t8 f! g
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such; C( C- g6 T; v1 A; k3 b. Z$ Y. o
  344. ; encodings.  To use this feature, mbstring extension must be enabled.9 q, C' ]8 N6 ^! X3 I* \/ H
  345. ; Default: Off
    % L; [; C$ T7 B: ?, o
  346. ;zend.multibyte = Off$ ?$ `0 W2 h. \/ t% H1 N! T
  347. ) q0 L9 t3 n5 o$ a7 p
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    % z0 K" z7 T% u! f
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    : ?! K1 m3 O3 a3 m# d, [
  350. ; Only affects if zend.multibyte is set.4 v! u6 a+ R. L2 O9 w$ D
  351. ; Default: "". E* p5 B! n* X" n& U4 A5 @! |
  352. ;zend.script_encoding =
    5 G4 p  @! ^$ y  k8 \5 G" t3 }4 P

  353. 8 b, J- e/ ^- b: E. J% o/ Q
  354. ;;;;;;;;;;;;;;;;;
    + S& h# W" f9 ]
  355. ; Miscellaneous ;
    , Y0 `8 a% A! E% q$ y
  356. ;;;;;;;;;;;;;;;;;
      c5 v% q9 s$ R" M
  357. - g( J# Q7 |2 T: U
  358. ; Decides whether PHP may expose the fact that it is installed on the server. b9 G# P4 G0 H) Y
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    - f% J- O9 J! O9 i+ g  Z$ J
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ z/ j& x$ A: i- q1 C3 a
  361. ; on your server or not.
    ; W' k5 @  b: h4 s
  362. ; http://php.net/expose-php
    0 k( f! Z3 Q, O& [
  363. expose_php = On
    % e, q+ U' |3 H. \) k. N* [
  364. 2 }* O4 d/ P# q1 L
  365. ;;;;;;;;;;;;;;;;;;;  J# m' ~, w0 j: n
  366. ; Resource Limits ;
    % @  V7 H; w3 j6 S
  367. ;;;;;;;;;;;;;;;;;;;
    # A3 X0 V) N3 l  A( G

  368. ( C6 W9 c. _+ r& U
  369. ; Maximum execution time of each script, in seconds1 \7 \/ e& F3 U2 J0 C
  370. ; http://php.net/max-execution-time
    * o; Y# Q! A; @# i
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI' p0 N! O" I0 W6 L/ P" T. q$ Q
  372. max_execution_time = 300
    9 \, ^3 Y! t5 y
  373. 1 \4 _- B( f9 C5 L7 n, T2 M9 a- [( E
  374. ; Maximum amount of time each script may spend parsing request data. It's a good) c8 T3 d" P* t/ z5 g/ X! P& q1 m( ?
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    * ~$ d( h/ ]* l, |5 B1 |
  376. ; long running scripts.2 G. ^' ?* m/ F
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    / U: p  U$ Q; N4 h6 r+ i1 z
  378. ; Default Value: -1 (Unlimited)
    8 d  N4 c9 C. b4 Z- y. Y
  379. ; Development Value: 60 (60 seconds)
    4 U4 y3 P. A8 N& T* r. q) p2 Y
  380. ; Production Value: 60 (60 seconds)5 c4 F2 K0 T- C8 C+ Z, P8 |+ O8 t
  381. ; http://php.net/max-input-time/ g& S  j7 x. g3 k: k) Q+ d
  382. max_input_time = 60
    - V+ e5 z. b6 X5 b

  383. - r4 P5 z/ R9 q; b/ l( K+ i
  384. ; Maximum input variable nesting level( `# B0 [& H9 N# n2 V
  385. ; http://php.net/max-input-nesting-level
    / D, \. ?5 d/ C
  386. ;max_input_nesting_level = 64
    - }* E! ~& N3 y' P. B$ v
  387. - H+ Z3 }4 O/ p2 q9 j; S6 i4 \1 A$ M
  388. ; How many GET/POST/COOKIE input variables may be accepted
    % F( w0 d8 e( g2 O; m4 j
  389. ; max_input_vars = 1000) E/ s% A2 H% E/ g6 H7 c

  390. ; P4 {$ }7 O. y" L" q8 p
  391. ; Maximum amount of memory a script may consume (128MB)
    8 i5 H6 {0 S2 W4 \9 w% l. v" Z! s
  392. ; http://php.net/memory-limit; W8 @1 V% L9 S" ~9 v. \, |/ i
  393. memory_limit = 128M
    . g0 t/ }' W! b* Q
  394. & v9 }, z. H( ~) `- l7 I
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 x; o' a- R2 ~4 p
  396. ; Error handling and logging ;& e- ~$ m  G) ?2 B
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' n8 Q3 h9 W  B/ |4 k
  398. # [) {/ G0 v' d) e4 T% O
  399. ; This directive informs PHP of which errors, warnings and notices you would like3 b7 g! J: V: r, w6 r' J" k+ x
  400. ; it to take action for. The recommended way of setting values for this
    + _6 |9 \" T3 g- W% T' d
  401. ; directive is through the use of the error level constants and bitwise( V/ J7 z3 K% }- Y$ f7 y' F# A# X
  402. ; operators. The error level constants are below here for convenience as well as% F3 h( m/ U; m: ?6 U7 C/ W
  403. ; some common settings and their meanings.
    ' U: B% H+ I5 W
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' {3 r- z' O$ _% K+ d1 A6 o3 t
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    3 L5 _; A3 g  p( u) P, [+ z' u  h
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 Y" V; E/ l2 @  H8 \8 s. U5 I7 V
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    / X+ l# N# y; G0 _" i
  408. ; resources complaining about best practices and coding standards. That's what
    5 \8 l( P$ O% u5 Z0 g6 {8 X+ ?9 F; F
  409. ; development servers and development settings are for.1 x9 z+ [$ i' f1 r
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    * z/ I8 E. F. E$ }6 G
  411. ; means it pretty much reports everything which is exactly what you want during- d5 e7 R8 v- T3 \
  412. ; development and early testing.* Y1 ?/ {* N4 H
  413. ;$ r- G6 w; R( ^, |. g( ]) Z: r6 \% k
  414. ; Error Level Constants:
    2 _: ]! `) w' v% t) s( z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ' S/ L8 N( p" Z! K/ D5 q' T
  416. ; E_ERROR           - fatal run-time errors1 w9 _8 f; b: H" _4 e( j$ _) A
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors# \6 T* I/ d% f" i/ W: E/ a
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    9 m, V, z7 ]- n# r
  419. ; E_PARSE           - compile-time parse errors" e  d  a* t- Y
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 {% u7 k- @+ t' e; w9 |! P
  421. ;                     from a bug in your code, but it's possible that it was: y3 ]% Q3 @+ l& |1 R
  422. ;                     intentional (e.g., using an uninitialized variable and$ M" u: U1 j4 j/ B' U+ ?, \: t
  423. ;                     relying on the fact it is automatically initialized to an! M( D( i; V- K$ z8 j
  424. ;                     empty string)0 @0 r3 S  `/ W% T8 r# `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 V2 Q( T* {; |: c
  426. ;                     to your code which will ensure the best interoperability
    $ c" S* p5 C2 L8 N* r$ l7 |
  427. ;                     and forward compatibility of your code7 N7 O2 N6 K3 o# X+ D% d8 i7 e
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup0 h: R! L+ d) t* I" p1 L
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's0 j  W4 K; v2 R1 a+ A
  430. ;                     initial startup
    * I+ l9 ]6 [. J7 ?  ~- [
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' f) _0 m- h1 `9 b' m: Y8 ?
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)( e! w; c+ n  ]3 f) x; \
  433. ; E_USER_ERROR      - user-generated error message# q* J/ ~0 |# ]- ]( Q# t2 w
  434. ; E_USER_WARNING    - user-generated warning message7 i$ o- c# O- c1 b
  435. ; E_USER_NOTICE     - user-generated notice message
    4 {1 s, |: ]( l/ j8 B0 }: Y! h1 Q& `
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    0 [! b- g, M7 V6 c& E; J$ u% l
  437. ;                     of PHP
    - o' K& S# J5 ]$ B$ y( u
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings# V6 Y: c$ z& d
  439. ;1 ?! F- \/ N0 @% c/ W
  440. ; Common Values:) r: G7 w* p* p( C% ?5 [1 b  ], O
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)2 W) ^2 W' A. y$ v2 a, f
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ) u9 ^* N- ~2 S. e  G( `
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)' H; H$ O/ l5 a
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)/ ~, S9 A; b0 k1 g5 Q. P
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' G: J/ P: ?" `
  446. ; Development Value: E_ALL# U- u0 x  F1 E/ ]" Y
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 @6 j, b6 T* N) K/ Q' C; g' z' T) I6 c
  448. ; http://php.net/error-reporting' I: ]5 C& s; i. Z) D
  449. error_reporting = E_ALL & ~E_NOTICE
    , J+ ]' G  c6 M9 m3 e* w! E
  450. 8 a, S, e; \0 t+ A6 P3 q
  451. ; This directive controls whether or not and where PHP will output errors,
    8 n% Y* r" V/ R, T. r) a
  452. ; notices and warnings too. Error output is very useful during development, but; B9 M6 E, E% X; e9 g4 i2 M. c: u
  453. ; it could be very dangerous in production environments. Depending on the code
    $ _2 Y2 w6 s, n9 d+ L  O
  454. ; which is triggering the error, sensitive information could potentially leak
    5 g7 s, [' }- @5 T6 S0 m5 S
  455. ; out of your application such as database usernames and passwords or worse.
      z( q: o1 n  w( s  o- s) F
  456. ; For production environments, we recommend logging errors rather than, a/ O3 S0 n* M) j7 A
  457. ; sending them to STDOUT.
    8 X8 s7 \5 f4 u+ ]( M% e
  458. ; Possible Values:
    9 G2 H4 e# [  u
  459. ;   Off = Do not display any errors
    1 t! A7 ^- r7 p$ i( A
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    4 T% U, @- a! c% H
  461. ;   On or stdout = Display errors to STDOUT  e6 k; e6 X( E# S0 C6 Y
  462. ; Default Value: On+ ]1 e+ _$ Z- l; N
  463. ; Development Value: On) z! a3 Z: l. W9 k& C* T9 L
  464. ; Production Value: Off: d8 {! z& m2 z! M2 {  e
  465. ; http://php.net/display-errors2 O8 E8 _+ _6 }6 g* j7 _
  466. display_errors = On
    $ S5 C' b. X, s! I

  467. % `- u9 M. a6 a3 A9 H
  468. ; The display of errors which occur during PHP's startup sequence are handled
    2 e: J# ]- m" ~% V' Y3 _7 Q
  469. ; separately from display_errors. PHP's default behavior is to suppress those
      A" y' p7 }) ?6 g; r
  470. ; errors from clients. Turning the display of startup errors on can be useful in. D  k9 s- f! x1 i( C* o9 J2 p
  471. ; debugging configuration problems. We strongly recommend you
    * W7 c7 ~% t* Q+ @
  472. ; set this to 'off' for production servers.) I- Z- z* t* n; z
  473. ; Default Value: Off) l( U& [4 O: B% l3 ~" ?
  474. ; Development Value: On8 h0 P! b# Z+ v
  475. ; Production Value: Off9 Z8 r$ G0 Y* i1 ]& E
  476. ; http://php.net/display-startup-errors5 v8 y+ X- @7 e  N6 d) u: c( d3 m
  477. display_startup_errors = Off& }) s" b9 U, m( v# G  q

  478. # S( i! K1 i+ \# A% o2 k
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    9 U9 x  P; ~9 |1 t0 a7 p
  480. ; server-specific log, STDERR, or a location specified by the error_log! C2 Y# T+ S) y3 O
  481. ; directive found below. While errors should not be displayed on productions0 V# x9 B, d6 l, f
  482. ; servers they should still be monitored and logging is a great way to do that.. }/ _* W: N+ k* [+ y4 R
  483. ; Default Value: Off
    6 P) v6 C4 ?2 o! k5 g
  484. ; Development Value: On
    7 b. V' p, Z" @) e
  485. ; Production Value: On  j  G8 H6 {2 k
  486. ; http://php.net/log-errors# j7 ^/ n7 l, V
  487. log_errors = On
    6 e. G( W4 k$ y5 o$ l

  488. 2 E" q% Z. h. Q: G, ]1 D4 }
  489. ; Set maximum length of log_errors. In error_log information about the source is
    % k9 f/ c( @$ ^
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." M" u9 `5 f5 \! o% _( z+ z
  491. ; http://php.net/log-errors-max-len. e( h9 N- U1 x* N! b
  492. log_errors_max_len = 1024) {% G8 a7 `' i( [. j3 {

  493. : C$ {" E6 R5 t( ?  W
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    8 E; _* `) A" D! b# `
  495. ; line unless ignore_repeated_source is set true.2 t# G% T1 r! G; c- x& T
  496. ; http://php.net/ignore-repeated-errors
    , P& l& R; b$ V
  497. ignore_repeated_errors = Off
    ! P2 q( D5 @* L6 a. Y, `7 Y

  498. ! `  z4 Y$ D  @8 D6 N4 ^4 e
  499. ; Ignore source of message when ignoring repeated messages. When this setting8 x5 j6 H$ _6 S" G
  500. ; is On you will not log errors with repeated messages from different files or
      {$ {2 d$ o' c+ {
  501. ; source lines./ h7 C' b5 I8 z9 o: i. d! I
  502. ; http://php.net/ignore-repeated-source
    * p3 B+ t* Q( G4 C, _
  503. ignore_repeated_source = Off
    : u( J: Y+ r: G7 g8 h9 p* ]: N

  504. , E0 J" `) ^/ \' h1 f
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on' e% C8 h: R5 o) Z  e: f$ [  ]( F
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    - z# p- w6 H' O6 [+ r! }
  507. ; error reporting includes E_WARNING in the allowed list
    - D- T! C: d+ ]2 |  A
  508. ; http://php.net/report-memleaks
    7 X+ Y. n5 m9 ^5 Z5 }
  509. report_memleaks = On- q! i  o# v: b# A& n7 O
  510. 4 H9 G" \7 T; G% L2 ?" b
  511. ; This setting is on by default.
    / ]' _* O# ]: z
  512. ;report_zend_debug = 0
    0 F! K5 L9 T2 W! _% o9 a, p
  513. # ^) p$ C2 ~+ i7 M1 P3 b
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value- a- W) w' o7 c" p8 ^, c  q
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ; ^& b# t2 C3 M. P: K
  516. ; however be disabled on production servers.2 k; k5 e+ @) X) Y
  517. ; Default Value: Off
    , g8 L6 e" B1 y3 ?8 a
  518. ; Development Value: On% p: ^1 E. Q) u% k
  519. ; Production Value: Off
    4 d* ~8 H, F* J+ i' K8 E
  520. ; http://php.net/track-errors
      a3 z) |6 [5 J
  521. track_errors = Off& m4 U/ S5 v) ~3 F* y5 _: W7 L% f
  522. 0 N5 `  ~: a% h4 J
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    , A) c7 ?& V- ^
  524. ; http://php.net/xmlrpc-errors- O' r" A& b* w0 m8 I+ C
  525. ;xmlrpc_errors = 0
    9 o+ E0 h, c+ ~% p0 [
  526. $ e/ s- T7 M- ?) Q* d) v0 G
  527. ; An XML-RPC faultCode
    4 ^, g$ O1 s% x  o4 n0 W2 |* f  a
  528. ;xmlrpc_error_number = 0
    ! I1 x8 Q$ O( t0 d- H7 h

  529. % Y# _. i" c, `0 v$ C+ P
  530. ; When PHP displays or logs an error, it has the capability of formatting the" w- o1 O3 o5 b- W1 {" k' R; s
  531. ; error message as HTML for easier reading. This directive controls whether
    ) ~. s5 {6 x9 l  \' o" \
  532. ; the error message is formatted as HTML or not.
    . |$ k: n- _* v" w
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI& ~7 x6 h) G" s9 f
  534. ; Default Value: On8 g) i) V3 @% r4 D' O/ E6 ]1 E/ S
  535. ; Development Value: On8 H% b8 }+ z  y& Z* t, d
  536. ; Production value: On
    ; d$ O" @% t- v1 _5 q* W
  537. ; http://php.net/html-errors9 y4 s3 i- q- Q7 G0 h; i% s
  538. html_errors = On
    9 ^8 b( Y9 w) T# @5 H
  539. ' ~, l- V: m0 [" a* z
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! [  Q% M0 B, `* t( ?6 H2 u
  541. ; produces clickable error messages that direct to a page describing the error
      N5 V, }1 x. C6 r/ [" f. G
  542. ; or function causing the error in detail.
    & j% H- K2 s# ~& N# y- x, p
  543. ; You can download a copy of the PHP manual from http://php.net/docs& e8 S, L( s& w& Z6 B/ ]9 Y1 @# i
  544. ; and change docref_root to the base URL of your local copy including the+ M, k( n+ h' E  N5 X$ X& h* L0 O8 k
  545. ; leading '/'. You must also specify the file extension being used including
    4 I3 r- D1 Z1 ]0 y' Z
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # F1 E1 C/ B8 B- D
  547. ; case no links to documentation are generated.
    1 z. P! @! `' f7 ~0 @2 V) M
  548. ; Note: Never use this feature for production boxes.
    . X* N5 t# q! T9 r" K) i
  549. ; http://php.net/docref-root( Z+ P/ ]8 Q: Y: X/ P
  550. ; Examples, H7 C" x* \* n
  551. ;docref_root = "/phpmanual/"
    3 C2 L% m, A; h# Q& M
  552.   o5 x/ C$ w7 J* V: Q9 H
  553. ; http://php.net/docref-ext
    * k' Y+ u. G( J- l' o& D  t& J; X
  554. ;docref_ext = .html
    : l1 W. k7 }0 I- ]
  555. / K: Y6 @# \" o! ^
  556. ; String to output before an error message. PHP's default behavior is to leave
    ; _! t2 ]4 L% ]/ O$ M/ h
  557. ; this setting blank.* g( u5 d0 k7 E# N
  558. ; http://php.net/error-prepend-string, w4 \( q1 J# k& R1 V6 L
  559. ; Example:
    " Q. F! Y( x/ f7 C" m# {- f
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    , C: F; a6 x: J: m+ ^5 g+ s8 ~! }8 B
  561. * B- @- E7 T8 Y4 J
  562. ; String to output after an error message. PHP's default behavior is to leave
    2 U5 s9 q- P1 s5 j6 t
  563. ; this setting blank.
    % b- z7 M% [( \+ r5 n6 P
  564. ; http://php.net/error-append-string$ w6 h2 y$ m5 b5 F+ k' K# x
  565. ; Example:7 c( ]: t" o* t$ z" L2 F8 w3 \( `
  566. ;error_append_string = "</span>"2 V+ O4 P3 E' X  M
  567. 2 w. Q3 n4 T6 B: a# D
  568. ; Log errors to specified file. PHP's default behavior is to leave this value. l0 f. s/ y2 b0 C
  569. ; empty.
    + o4 {: b' G+ P- @+ a
  570. ; http://php.net/error-log
    & n3 W/ z, r9 h) e8 b% H4 R1 D. Q
  571. ; Example:1 {& e+ l- e0 m2 `" @4 g3 e
  572. ;error_log = php_errors.log
    ' X3 M8 }6 z# n8 A0 N, I* ]
  573. ; Log errors to syslog (Event Log on Windows).
    5 Y  N; R1 i- g9 n5 P! L. ]
  574. ;error_log = syslog2 w0 B  I& {2 e8 x- n

  575. . |  m: W3 X. q+ t
  576. ;windows.show_crt_warning
    5 m1 [7 T3 Y# x* |9 @6 \7 v
  577. ; Default value: 0; @) i( t) I* S# M' t
  578. ; Development value: 0
    0 y+ _' v3 f3 s( G$ u( B+ N
  579. ; Production value: 0& z6 k3 X  m& Z

  580. ' G( S) _# |( f( n/ x
  581. ;;;;;;;;;;;;;;;;;
    & O" M2 v3 ~7 h& J6 F# l' F
  582. ; Data Handling ;
    - I3 p- R, {# e
  583. ;;;;;;;;;;;;;;;;;  [: x  @/ I- ^+ R
  584. $ e8 z& F6 P$ W$ ^! g
  585. ; The separator used in PHP generated URLs to separate arguments.' L  z( q  }& z# c$ x
  586. ; PHP's default setting is "&".
    ' `7 g9 R3 z, G- w+ t
  587. ; http://php.net/arg-separator.output- U; f( k5 [6 \( n/ s4 w' ]
  588. ; Example:
    % A5 D8 k( B, j3 p$ ^/ _
  589. ;arg_separator.output = "&amp;"3 n1 I/ e% J* u* v) m3 a

  590. 0 i' C8 l( _) q1 u1 p) e8 M1 G
  591. ; List of separator(s) used by PHP to parse input URLs into variables.5 r4 C) t- d; Z0 |
  592. ; PHP's default setting is "&"./ p  e, \' Q) W
  593. ; NOTE: Every character in this directive is considered as separator!6 }' x: n2 Z7 c
  594. ; http://php.net/arg-separator.input
      [5 F! j: e' W/ B
  595. ; Example:' Y' B" z: Y/ i& S! U, J
  596. ;arg_separator.input = ";&"
    3 o5 {* C& E7 G; c$ t

  597. : g% m" _, N, ?% G( x3 ?
  598. ; This directive determines which super global arrays are registered when PHP
    ) b6 K. D! J* n. n
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super$ V) [' h3 n9 N& B
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty9 R# B. Q$ q; J1 H* ^5 D' V
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    0 |" x7 n8 \$ H; w8 [
  602. ; used as the others, ENV is not recommended on productions servers. You
    & J' V# c0 x6 s+ f
  603. ; can still get access to the environment variables through getenv() should you( n" g- s% `, v8 m
  604. ; need to.
    ; B0 w% \3 h3 G8 t, ^
  605. ; Default Value: "EGPCS"
      F3 C4 c7 G  E8 d' z
  606. ; Development Value: "GPCS"1 d4 T/ p) b; ?& v: ?
  607. ; Production Value: "GPCS";
    0 N+ ^2 O) x# g9 m1 U0 b
  608. ; http://php.net/variables-order  X" C" ]+ |& k7 Q9 a$ t, f
  609. variables_order = "GPCS"
    3 o9 y! \. ?8 ~, }
  610. : k7 {- P% O  V
  611. ; This directive determines which super global data (G,P & C) should be
    / m% l) \6 h: v
  612. ; registered into the super global array REQUEST. If so, it also determines$ y! i* }5 t9 z- o* q4 G
  613. ; the order in which that data is registered. The values for this directive
    1 o( P4 [- G% ^0 q
  614. ; are specified in the same manner as the variables_order directive,
    3 m2 n9 J! D* m6 T7 F
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set+ j4 H- @! p& a  I
  616. ; in the variables_order directive. It does not mean it will leave the super5 S& }: m, k6 J6 a4 n8 t
  617. ; globals array REQUEST empty.* a: C1 k! X6 n# g- O$ K2 C
  618. ; Default Value: None
    & [  d+ W% b0 r4 |
  619. ; Development Value: "GP"( W+ N0 r. x/ z7 @6 l
  620. ; Production Value: "GP"6 J9 D, `3 R8 D& M' I% `! X
  621. ; http://php.net/request-order
    2 d% l5 p! G% I$ b  @* R
  622. request_order = "GP"
    ( ^  h1 G: u# k. d
  623. 4 f0 b& F7 U. {/ y1 U7 p0 ?
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    + E6 h8 |" D1 m8 b  J
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    " ?" d' T+ M* ^# G$ s. J4 V4 s
  626. ; is invoked. $argc contains an integer representing the number of arguments
    & m1 y( [1 i; w) _* d1 k
  627. ; that were passed when the script was invoked. These arrays are extremely9 I- i  p4 Y" {9 y
  628. ; useful when running scripts from the command line. When this directive is; C7 m5 S$ z# M. l0 L) L% a
  629. ; enabled, registering these variables consumes CPU cycles and memory each time1 E0 i( b5 }8 v9 n1 T
  630. ; a script is executed. For performance reasons, this feature should be disabled
      G& N- f. y/ g2 s
  631. ; on production servers.- Y2 u2 i$ Z3 w. W
  632. ; Note: This directive is hardcoded to On for the CLI SAPI8 `; K, Z9 c& L. @
  633. ; Default Value: On
    8 e: ]$ k7 a1 B: H! B. i
  634. ; Development Value: Off
    # {0 _- k- O9 i! U, @, f
  635. ; Production Value: Off( G, \, `( Q9 G5 r& ~" F- D, }
  636. ; http://php.net/register-argc-argv
    ' e# D3 R) U# p# P5 |! }$ l" X
  637. register_argc_argv = Off
    9 G1 ?# e1 B( v7 i0 P
  638. $ j; f& a- i; t2 n
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; p2 d9 K. T$ \
  640. ; first used (Just In Time) instead of when the script starts. If these+ [- E, e0 Y4 D) [2 Y
  641. ; variables are not used within a script, having this directive on will result
    - Z& D, u; V# B
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    & r/ N! O" e. q$ c: G
  643. ; for this directive to have any affect.
    8 u3 [$ u: _/ @
  644. ; http://php.net/auto-globals-jit5 z6 {& r; j+ l$ {; v5 D5 c
  645. auto_globals_jit = On2 n9 g# P3 L7 I

  646. ( a) a" u3 O  b$ r9 j8 q+ U' G
  647. ; Whether PHP will read the POST data.! {: E; u( L% N# V
  648. ; This option is enabled by default.8 c7 J! M! e: x) c+ Q0 n
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    5 i3 O; Q' W& A5 T! z
  650. ; and $_FILES to always be empty; the only way you will be able to read the& O8 H( ]4 @  h4 S
  651. ; POST data will be through the php://input stream wrapper. This can be useful9 j- p( a9 c" s3 j3 i1 T/ T
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * k5 o- Q# D1 e  ?# o0 @
  653. ; http://php.net/enable-post-data-reading
    " k( ^- |& ?) I3 H/ T  n
  654. ;enable_post_data_reading = Off
    ; F8 z5 J: ~4 [  @

  655. ; _& O% }8 ~5 r3 g$ e
  656. ; Maximum size of POST data that PHP will accept.5 y( B7 |; \1 _- C
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / K3 O5 I& M; t; N+ u) j
  658. ; is disabled through enable_post_data_reading.3 l( X+ d" o. X+ R' U( M1 Z
  659. ; http://php.net/post-max-size
    7 o; b9 i( p' ?% a+ e% L* G
  660. post_max_size = 50M; Z* o! i& x/ k  O: q2 }

  661. ( @7 t. ^% H5 U7 I" G' k: |
  662. ; Automatically add files before PHP document./ w2 K) x; G) E/ I) d
  663. ; http://php.net/auto-prepend-file
    & ^- ?+ t6 t$ Q& Y1 B$ Y4 ^
  664. auto_prepend_file =
    ) N7 j& C& \( l
  665. / t# r9 c$ @- G0 i
  666. ; Automatically add files after PHP document.
    9 }+ A$ \5 w+ N
  667. ; http://php.net/auto-append-file* Z  J; Q7 a; t; s
  668. auto_append_file =, d5 Q# K( v) v8 U9 w
  669. . I* V, t9 u6 u0 B: a3 ]% z
  670. ; By default, PHP will output a media type using the Content-Type header. To7 ^; C) X6 c8 L% B2 U. W
  671. ; disable this, simply set it to be empty./ j, X- H/ m& \" h2 V
  672. ;3 [- p* n7 l6 R
  673. ; PHP's built-in default media type is set to text/html.
    / p2 R5 I. z$ [  B6 A
  674. ; http://php.net/default-mimetype
    6 q' h+ q' W4 d5 `
  675. default_mimetype = "text/html"
    3 t0 L; S% v' D& b
  676. 4 r/ @3 B3 b; u0 ^! T
  677. ; PHP's default character set is set to UTF-8.- \8 x2 v+ s* M6 t8 N- D' a
  678. ; http://php.net/default-charset9 P) p6 u1 R7 M! l
  679. default_charset = "UTF-8"& e6 J9 E  R+ l+ M  T1 _, T% f

  680. ) J4 L9 t) f5 I, L5 i
  681. ; PHP internal character encoding is set to empty.
    , b/ j4 e, d& x) l* {
  682. ; If empty, default_charset is used.
    * ?* ^+ l+ z2 t% T' i9 |# `
  683. ; http://php.net/internal-encoding& c4 {. w& k4 m+ A( E7 p" R- d
  684. ;internal_encoding =
    & @& j; l/ n' f8 J* ~5 M

  685. 6 d. d0 q6 u; Y: V7 s
  686. ; PHP input character encoding is set to empty.
    7 R2 K/ t( j  B/ @
  687. ; If empty, default_charset is used.) k8 l  a: @+ N' ?
  688. ; http://php.net/input-encoding
    " d! i! M: I3 Z( X1 g2 S" k6 p
  689. ;input_encoding =
    . @+ S9 h$ m3 e2 @% s% w. W% U

  690. * ?9 ]% l3 B, x' f2 z+ R4 Q
  691. ; PHP output character encoding is set to empty.
    0 e0 J  d. m1 p% A# W0 D1 \
  692. ; If empty, default_charset is used.
    # i+ c# N( P( ?# j
  693. ; See also output_buffer.
    ! I( i( o; D0 W9 q% }
  694. ; http://php.net/output-encoding
    - H. c' y3 Z  D( g$ L9 V: z1 o+ h' A
  695. ;output_encoding =
    9 c2 R. @  X: }
  696. . k4 M1 Y+ u' o$ u& c- P8 T
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    / I  D( g. G0 M' ]6 }1 t" M+ S" L
  698. ; to disable this feature and it will be removed in a future version.
    0 w, b% z9 E. X& X5 H9 W
  699. ; If post reading is disabled through enable_post_data_reading,
    * K% m  B( j, x1 H, b  V
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    2 D3 c6 b. ~3 P* A( t3 R6 s
  701. ; http://php.net/always-populate-raw-post-data" e% `7 T# ]+ |2 K+ i! t
  702. ;always_populate_raw_post_data = -1
    : D, U) W1 [* g

  703.   `4 ^* G  V. q) {
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;1 C! q4 a9 ]7 d9 I( U8 h/ |
  705. ; Paths and Directories ;
    7 Z2 i+ n8 C) Z  ?6 V
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;' W6 u, Y1 x% A! C; y) ?% L
  707. 3 W. J2 W2 x) h, h5 Q* \1 N
  708. ; UNIX: "/path1:/path2"
    & P( Y* u* P2 g% M4 z, X
  709. ;include_path = ".:/php/includes"+ V0 L# m/ R( N- O  U
  710. ;
    - M1 N) D! |  V
  711. ; Windows: "\path1;\path2"7 n" o+ A4 t( l6 j* n# r
  712. ;include_path = ".;c:\php\includes"
    8 A. p0 B1 k4 B; |" f
  713. ;5 T4 p- z) G" p# s- F7 a9 _6 b
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 t+ C. T' L  u  ^$ w
  715. ; http://php.net/include-path, J' d3 S1 J/ b; B. A0 C

  716. % }+ d" x# H* [0 }5 @
  717. ; The root of the PHP pages, used only if nonempty.
    / e7 q. t$ Y0 n0 L
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root8 m/ r+ J. K& ?- W+ L) G$ [/ X& V
  719. ; if you are running php as a CGI under any web server (other than IIS)# X$ @5 ~  T8 W0 U8 p
  720. ; see documentation for security issues.  The alternate is to use the
    1 m' \' p, d# \7 @4 l: I% K
  721. ; cgi.force_redirect configuration below6 X+ Y6 j. X) |7 a; q" B, T
  722. ; http://php.net/doc-root* o: n3 t6 h& n3 {3 V- m
  723. doc_root =* q4 c, `7 ^. [* ]7 I! P1 o

  724. & K7 y; O/ _7 O; w5 e
  725. ; The directory under which PHP opens the script using /~username used only
    . I5 s9 l8 m* F) M4 v
  726. ; if nonempty.
    : Q$ p, X3 H4 u% C
  727. ; http://php.net/user-dir
      M# W' H7 _# d' i+ ?. K3 i. V
  728. user_dir =  L9 w( e" K$ o/ E, Z4 V$ a# p4 N
  729. - C  y; G( H. x9 {# _  d
  730. ; Directory in which the loadable extensions (modules) reside.. w5 E# a0 I; ?6 s
  731. ; http://php.net/extension-dir6 S) d$ t2 G3 K
  732. ; extension_dir = "./"- Q) a5 b" m- a9 |: |9 D
  733. ; On windows:
    ; w- s; m7 _( N; |. A: D* \
  734. ; extension_dir = "ext"1 W1 _. j) e1 f$ i& O
  735. 9 p* T3 |9 c3 V
  736. ; Directory where the temporary files should be placed.% l) r& a& w% W* L" |  N  d) u8 b
  737. ; Defaults to the system default (see sys_get_temp_dir)
    8 ~5 `. J" k$ p) q1 @2 e& }
  738. ; sys_temp_dir = "/tmp"
    . i7 `+ l, [. T: J) T
  739. 9 L' j' s0 D/ V& z+ |2 j- l
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    / b0 ~/ ~* j4 K0 d5 |4 G6 M) p% D
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically# I0 Q, ^9 u  \5 K1 a0 |  k  \* `% S8 P
  742. ; disabled on them.
    # S: c9 ?; ?/ X1 A! X+ ?
  743. ; http://php.net/enable-dl
    5 s; T& r8 o# F+ v( V4 x& @
  744. enable_dl = Off2 b5 l8 A) R, ?3 y" g1 X
  745. : g, l4 }6 |7 ]" r* e
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 Q. R) d7 U. v# x* G# R: N
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    7 T  \6 Q' s% A5 o4 N
  748. ; turn it off here AT YOUR OWN RISK
      `# L3 f$ H5 e2 b
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 w; K, V% J; D7 ^* p' O: Z
  750. ; http://php.net/cgi.force-redirect
    - b1 x# B3 @  P' T& U
  751. ;cgi.force_redirect = 1
    ! D, O2 c% y. y! u

  752. 5 ~5 p- _8 f" j/ E: Q5 Y; S. R
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with% e. T0 F9 S; q" _1 X% p
  754. ; every request. PHP's default behavior is to disable this feature.
    ! \4 J9 A; F; W/ ], D
  755. ;cgi.nph = 1
    2 a5 z3 D, }9 L4 U

  756. 1 I1 p' O. Y( X8 U5 B& A6 w# f
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 n+ y& L7 b& n, O+ _' D7 U% U4 U
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ [6 ]2 x+ |$ v. E/ G
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) z, f2 w) L4 X
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 {  b. |5 f5 q% P+ n7 e7 w
  761. ; http://php.net/cgi.redirect-status-env
    2 _4 z$ b; y8 x" j6 {# }
  762. ;cgi.redirect_status_env =
    8 R& d  E) w" h, A$ ]. v' \- e
  763. 5 |, U! Z/ P- U4 L) b, r8 Y8 O5 F$ Z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    # S" }& c  M" T  r5 \
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; ?) y" p, Q2 Z* V; z
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' l9 J% ?% D1 H6 E- z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ k( J3 g2 d' h: |
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" h6 D0 z0 Q/ K1 M
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.# h; B7 d  |# H# E& j0 d
  770. ; http://php.net/cgi.fix-pathinfo
    + i- S3 L0 C9 K0 g. E4 l% M7 X
  771. cgi.fix_pathinfo=1
    ' C; m# s* q* @) n. t' Q1 F
  772. ( h# U6 B7 E8 x1 g  c
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # T. m# y3 u' {  }
  774. ; of the web tree and people will not be able to circumvent .htaccess security.( J: K+ z* B3 s! t4 T" D  N$ i, w
  775. ; http://php.net/cgi.dicard-path) |4 j: l: J" P. q, C
  776. ;cgi.discard_path=1
    & G2 U- g- H$ y* C2 L

  777. , U' Y( q4 Z) T# T5 j7 i
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate4 \, z4 c) Y; i9 T
  779. ; security tokens of the calling client.  This allows IIS to define the4 ]; A, o5 }. |' S* w( l/ M
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    8 B& D* g( k7 Q3 {/ q/ z1 @9 d/ v7 W
  781. ; does not currently support this feature (03/17/2002)& ?1 T. ~/ i% P7 x9 b. E; I! d# m4 @
  782. ; Set to 1 if running under IIS.  Default is zero.* R2 ~- D4 s) S7 }6 k2 C! T) R
  783. ; http://php.net/fastcgi.impersonate
      f/ M7 u% `6 l
  784. ;fastcgi.impersonate = 1
    * x/ ]3 a+ E( v7 J
  785. $ A( }; ]9 ?$ @3 }% @
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable$ X- i/ d6 c; ^) w
  787. ; this feature.0 M7 o9 ^( J( D8 y' q
  788. ;fastcgi.logging = 0
    8 r$ a0 w0 A+ ~7 Q& q& f$ A8 X# T

  789. ! w1 v3 i/ J* W; \! _: r% N
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, C& Y- N& E; l$ @1 P1 o
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    % L6 {. T3 i3 M; ]4 {0 W5 j- ?7 R9 H& @
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    0 q% k" _: f, q1 O/ N5 @8 U
  793. ; RFC2616 compliant header.8 w9 ?+ S& n  A$ i+ g
  794. ; Default is zero.
    , ~4 \, a  ?% g: a- S7 M. z
  795. ; http://php.net/cgi.rfc2616-headers
    9 x6 Y/ n4 _2 r7 E  @
  796. ;cgi.rfc2616_headers = 0
      l/ F0 n6 v: Z3 M# m

  797. 3 g6 E, r) y) F# n- r1 G+ T' i
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    4 F" f$ U# u, E. a* s' l+ Q
  799. ; (shebang) at the top of the running script. This line might be needed if the  ^3 T8 z) k% c3 d; k% M- e$ L  `
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 h- {% _( C- j5 v7 {4 ]: e
  801. ; mode skips this line and ignores its content if this directive is turned on.
    " E2 ]9 T, ]5 p/ d% b
  802. ; http://php.net/cgi.check-shebang-line: @9 l7 Y  D6 t4 F$ F. m( i
  803. ;cgi.check_shebang_line=1, `3 d  j' f: H
  804. + k) }" u; d  X8 s" l8 h/ P
  805. ;;;;;;;;;;;;;;;;; {8 x/ B+ l& U! m
  806. ; File Uploads ;
    9 O3 l8 E, g( g( _; R$ p
  807. ;;;;;;;;;;;;;;;;& b" g$ k% N1 E, {; k2 L) _
  808. 1 O( @) O+ H6 N7 d, v/ B: e8 x6 \9 V3 q
  809. ; Whether to allow HTTP file uploads.. F& j% H2 t+ N0 l6 ^  k& ~) y: {
  810. ; http://php.net/file-uploads
    ; Q" n* M) H1 x& b
  811. file_uploads = On* W; |" D8 l+ D$ F# h. m! O( _

  812. , m) C% ~6 _& w& x1 ~
  813. ; Temporary directory for HTTP uploaded files (will use system default if not0 M$ @# E0 w7 B& O7 u% ?
  814. ; specified).* }0 E$ K) C# g! m
  815. ; http://php.net/upload-tmp-dir
    - G  K% ?) B. e* Q$ R7 m
  816. ;upload_tmp_dir =
    ( w2 m* c9 P) a9 e4 F

  817. 7 l7 \. p& W8 L2 D2 T2 D
  818. ; Maximum allowed size for uploaded files.+ I, f9 {8 C+ P% z6 b1 E4 `4 ^
  819. ; http://php.net/upload-max-filesize# n( O( H7 p$ l1 o+ i- O! c5 N
  820. upload_max_filesize = 50M
    : o' o7 p9 q; o' I% U, [$ _) c3 R5 G3 a
  821. 5 `; ^1 c8 w/ M: P& y3 j
  822. ; Maximum number of files that can be uploaded via a single request! B2 A1 z" U5 g3 c: ^: y. i2 ]$ ?7 Y
  823. max_file_uploads = 20
    6 q+ f1 C" g: ]" ~0 ~/ Z0 ~

  824. ' a( a0 T9 m1 e. s6 |
  825. ;;;;;;;;;;;;;;;;;;
    * e% |/ O% R  ^
  826. ; Fopen wrappers ;
    5 E7 @) x/ x% d* r# n- m; G7 L3 f
  827. ;;;;;;;;;;;;;;;;;;6 b" ~/ L' A- f) F: Z

  828. 9 I: k& R5 V9 {7 @8 D7 M/ T
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.! p1 |3 @5 l5 K: O; K* o
  830. ; http://php.net/allow-url-fopen
    " t; Z* ^/ T. ~7 Z, f
  831. allow_url_fopen = On( P; J! V" c& P; S, N2 N3 z

  832. 7 g1 O  M7 Z0 F" e7 f" C
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.( p+ Z7 V' o- ~! A8 p: Q
  834. ; http://php.net/allow-url-include
    $ O  _7 P4 U3 P: K/ w
  835. allow_url_include = Off7 }. I3 I5 w/ P2 d8 j, T' w

  836. * w$ j7 Q+ f1 v7 g4 V6 F
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    % E$ p  H; C( T+ z1 K- W" r
  838. ; for this is empty.! O. i- n1 o: ]! J; |
  839. ; http://php.net/from+ n$ k  q9 I# l( j6 c5 Z
  840. ;from="john@doe.com"
    8 T( W! ?4 s* R% e, x: w- A, q6 F- f

  841. : ?# F2 a3 `: I" c3 U( a
  842. ; Define the User-Agent string. PHP's default setting for this is empty./ V7 w  D( {) r3 C, Y/ Z" o
  843. ; http://php.net/user-agent
    + H1 O/ t0 f; \) \
  844. ;user_agent="PHP"
    1 y* \6 K: y! w/ Y  D( S- m

  845. 1 ~! c, I4 ]% f& _" p
  846. ; Default timeout for socket based streams (seconds)2 D% m% J/ m/ J6 N
  847. ; http://php.net/default-socket-timeout) C" N) h( b* @$ f0 R( `
  848. default_socket_timeout = 60' v# U0 J. `# f. i

  849. " F: X+ R% u, K$ n
  850. ; If your scripts have to deal with files from Macintosh systems,
    4 o* g) t& i% K3 f% J/ J
  851. ; or you are running on a Mac and need to deal with files from! _4 M1 p+ _% J9 e
  852. ; unix or win32 systems, setting this flag will cause PHP to) U& L6 `" ~1 s6 |* O  V
  853. ; automatically detect the EOL character in those files so that
    ( y) d0 T0 G5 I$ m
  854. ; fgets() and file() will work regardless of the source of the file.3 g' X0 s! E4 @% O! A
  855. ; http://php.net/auto-detect-line-endings
    + P# B# W( s* z- G$ M& \) F: S
  856. ;auto_detect_line_endings = Off5 N, c# ~, e3 Y

  857. 7 {& b* ~) m/ g& Y# T* J5 D
  858. ;;;;;;;;;;;;;;;;;;;;;;" t$ W9 B1 Z; p. n+ B; y& H
  859. ; Dynamic Extensions ;
    * q# j" j/ _7 U6 }  r" l
  860. ;;;;;;;;;;;;;;;;;;;;;;8 u+ U# Q) P% u  h1 u' c' _
  861. 8 e9 Z* k: H# W, U, D; u
  862. ; If you wish to have an extension loaded automatically, use the following# l) v6 W/ _# v1 ~8 C3 s8 ~0 G
  863. ; syntax:4 \; s4 y- _! D- N9 m
  864. ;
    ( ]. v/ G% p5 n4 K3 U5 w
  865. ;   extension=modulename.extension5 {- T% x9 j+ I  T) @
  866. ;
    - a& u& [8 f+ i
  867. ; For example, on Windows:
    4 _' b: {" T2 q" Y% s+ `+ F( A
  868. ;
    0 {) F: e2 E8 b
  869. ;   extension=msql.dll
    0 m6 B7 P& L0 B0 _
  870. ;( K9 N. R9 J3 ?9 Y! a  @2 F$ H3 L( }
  871. ; ... or under UNIX:
    : I& `: e' a) _# r4 s7 X
  872. ;& O0 f9 Z6 T) `* N: H$ h" Y7 ]
  873. ;   extension=msql.so8 @! Z/ y. R  o7 \* N) C
  874. ;
    1 W' b" i0 q- C: l- Q
  875. ; ... or with a path:
    4 Z2 f) h5 ~: {, I) h+ |$ A- ^
  876. ;
    $ Q+ H3 g6 z7 M% z* S' A" R  O; |, x
  877. ;   extension=/path/to/extension/msql.so& k6 O' ^! f6 K: G! G# L
  878. ;& Q/ c* \+ v) \( {- S; @
  879. ; If you only provide the name of the extension, PHP will look for it in its- C1 k  `. t- U, @; ?+ ]
  880. ; default extension directory.4 k! [& y& J& A$ P# |& c6 z" x( x
  881. ;" r/ w# m, O/ b' u
  882. ; Windows Extensions8 H+ S8 O# h5 M% S
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ! Q# b* n) H1 |+ V4 V; P# f
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
      A0 |/ R) e2 B8 H
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).* m3 y; S: q1 p3 P4 |. l9 K7 J
  886. ; Be sure to appropriately set the extension_dir directive.
    ; `+ g$ x! \- E- K- P5 N/ r0 i
  887. ;/ K1 n' [# G, }$ w5 {0 _
  888. ;extension=php_bz2.dll
    - E& w5 H1 W) A1 a# f( b
  889. ;extension=php_curl.dll
    2 v6 y" @; j+ B3 j8 {, o+ G8 p
  890. ;extension=php_fileinfo.dll0 a) P, o3 H8 C7 H: }2 y( G
  891. ;extension=php_gd2.dll4 S+ ~) m0 a' g
  892. ;extension=php_gettext.dll! H. `9 C$ ~3 `
  893. ;extension=php_gmp.dll
    * r( Y/ z; G8 b0 ^
  894. ;extension=php_intl.dll2 P# E# `) a7 `6 A
  895. ;extension=php_imap.dll  X3 N& ?- ~: M4 W4 y7 K# B
  896. ;extension=php_interbase.dll7 D8 Q9 t) H$ F: {  \( Z1 b
  897. ;extension=php_ldap.dll3 l4 p" c# X( ]/ E5 W# b; d
  898. ;extension=php_mbstring.dll% q0 G% e# ^& K5 F
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    $ K  w6 y$ m$ d" T4 b& T3 l
  900. ;extension=php_mysql.dll  Q: s8 o  z2 w) f: \$ n" \1 Q; U
  901. ;extension=php_mysqli.dll
    % t$ N0 f* E) s1 h. Q% T
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; C8 i* f& w" f1 l, D
  903. ;extension=php_openssl.dll
    " |+ J' @  s# W# H
  904. ;extension=php_pdo_firebird.dll" ^5 {, b4 _  j
  905. ;extension=php_pdo_mysql.dll. ^/ V0 ]' [2 @7 G$ F
  906. ;extension=php_pdo_oci.dll6 l7 J  l; D0 v0 }7 N
  907. ;extension=php_pdo_odbc.dll
    / g( u2 q8 D4 N
  908. ;extension=php_pdo_pgsql.dll: P- K; u  ]' [, T
  909. ;extension=php_pdo_sqlite.dll* V6 S0 m! j% f
  910. ;extension=php_pgsql.dll3 m) a! y  z8 w  U- q6 L7 C
  911. ;extension=php_shmop.dll8 ]6 y. R' u0 o

  912. ! q4 e9 {% x! H, q$ h, F
  913. ; The MIBS data available in the PHP distribution must be installed. * f7 E+ D  ^% X* Q6 A) i
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    , H+ c; J/ x) {& s
  915. ;extension=php_snmp.dll
    - M+ o' _9 s$ A& r

  916. 1 y, h0 N+ _% J5 @3 \/ F
  917. ;extension=php_soap.dll1 }' ~- M5 ^0 V: [+ j0 J: l4 t
  918. ;extension=php_sockets.dll
    8 G& G7 z# ^. @+ v4 G1 x; d
  919. ;extension=php_sqlite3.dll, V. @. i  s) R
  920. ;extension=php_sybase_ct.dll
    / k* f  ~- i6 U+ Y: k5 y9 g
  921. ;extension=php_tidy.dll+ I( D+ l8 I( p% D/ I+ t
  922. ;extension=php_xmlrpc.dll, n' [' l' O7 i: {  {% g
  923. ;extension=php_xsl.dll
    ( L8 J0 m3 Z: x# z4 V
  924. 3 b9 @9 l& T' V5 D/ a/ V
  925. ;;;;;;;;;;;;;;;;;;;9 R( j8 _$ g4 A+ S
  926. ; Module Settings ;
    ! a0 B* P9 Z; V3 s
  927. ;;;;;;;;;;;;;;;;;;;
    0 i  e1 i2 J: G6 c

  928. - l7 J; O; {, @: z! @
  929. [CLI Server], D& D9 z; E. _: f3 K" e
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 z8 i; f$ c! w" k) N
  931. cli_server.color = On$ K; ~: v# f: x# i! S

  932. 0 ~2 O9 t7 P# P; }  `1 a) p
  933. [Date]
    6 o( |) u" L4 V/ H% i" e
  934. ; Defines the default timezone used by the date functions- t# G8 k$ ^+ a
  935. ; http://php.net/date.timezone$ \. O& `5 S8 b1 i  {1 q  p
  936. date.timezone = PRC  `/ _- d( w( f  E+ i) f/ ]. s
  937. + p5 K( }' i$ j2 x2 |
  938. ; http://php.net/date.default-latitude
    " U9 s; u: m# c/ e  k0 P
  939. ;date.default_latitude = 31.76678 W5 M# p6 g! }
  940. 7 Z* v' v: F" q' r+ K) v4 }
  941. ; http://php.net/date.default-longitude
    1 {- H6 z' v" L4 s2 U
  942. ;date.default_longitude = 35.2333
    $ {7 e# f; {9 v3 W: C; ?

  943. % {0 B0 |! m3 K: M& P( t
  944. ; http://php.net/date.sunrise-zenith9 m0 V( ~6 N5 w& `: s. `9 f
  945. ;date.sunrise_zenith = 90.583333
    ( p/ d9 A3 j6 v0 q: V2 Y! F0 v
  946. 5 I7 ]: J2 z3 N7 g  h) C
  947. ; http://php.net/date.sunset-zenith% K% e( K2 a2 w1 @1 m; |5 u% [
  948. ;date.sunset_zenith = 90.583333
    % F7 |, v3 J/ b

  949. 3 K5 T3 p+ H9 R4 F$ c
  950. [filter]
    ; O- w, b# C0 i
  951. ; http://php.net/filter.default
    ) R" D0 {- d1 k) w3 j9 Z
  952. ;filter.default = unsafe_raw2 t8 h( G( m4 y( W; K( K5 j: v* A  c

  953. 6 ?" I- T: E% D' Y8 o
  954. ; http://php.net/filter.default-flags
    + q" g. n9 l6 j$ s2 P8 d. M
  955. ;filter.default_flags =
    " n9 L- H. B& @  p, U0 ~, T- w
  956. 3 T" g: i3 v" F5 y& u. f
  957. [iconv]& a1 z% E. D  v
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.6 `8 s; n7 B2 S
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 G$ P  Z0 [5 z+ g3 A( n3 ~  I
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ ?( F' f( b/ @6 X" I
  961. ;iconv.input_encoding =
    ) A; E  Y0 x' ]: `- m/ B

  962.   k2 L, o: D7 c: c3 ^- A/ [1 W
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead." ~7 y9 B- M* {% i# s4 _7 q( a
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- x& C/ ~3 \- c3 Q7 p
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 Z8 l$ c1 R7 C/ j) z5 J7 Q$ ?  }
  966. ;iconv.internal_encoding =
    7 B8 ?* y* C2 W& h' p
  967. : I+ O7 T- i6 T
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.5 C5 R5 u6 M  h( q$ N2 o
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ l' z9 Q2 M1 y: O3 j
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding/ V, _5 q7 ^* l! [( J, t
  971. ; To use an output encoding conversion, iconv's output handler must be set
    + b8 N* F/ m0 p% E4 }
  972. ; otherwise output encoding conversion cannot be performed.
    ! c( h1 A, t. ]5 b) x" [
  973. ;iconv.output_encoding =, w+ a) b8 X4 l' ?

  974. 8 m; c$ y2 n+ E
  975. [intl]
    8 i0 j/ r$ [. N( ?
  976. ;intl.default_locale =' n5 f4 T! K. ?3 X% d, h' [
  977. ; This directive allows you to produce PHP errors when some error! u  m3 S% o. l5 @% W$ }
  978. ; happens within intl functions. The value is the level of the error produced.
    $ m; h0 J; K- t3 \0 f
  979. ; Default is 0, which does not produce any errors.$ E6 e: R. w# z" M: \8 j  r, i
  980. ;intl.error_level = E_WARNING
    8 J1 A$ l+ q6 o3 K% N
  981. ;intl.use_exceptions = 0
    8 w' ^+ V$ f; X7 E6 q+ E

  982. : v" F- m8 _' ]0 f
  983. [sqlite3]
    " Y( I4 f/ @' Z2 C6 |
  984. ;sqlite3.extension_dir =
    * W) Y: b5 |% L4 ~7 E9 E

  985. 9 Z( C  P( w% s# t- W+ k
  986. [Pcre]/ ?1 Z5 u9 o; Z( M, p
  987. ;PCRE library backtracking limit." G6 }/ S9 [  k0 P
  988. ; http://php.net/pcre.backtrack-limit
    9 D8 |. v% O" Y7 ^- g
  989. ;pcre.backtrack_limit=1000000 ~1 x% _3 K7 Q6 Q; ~
  990. 1 ?# o/ d7 x( L' ^2 B& V
  991. ;PCRE library recursion limit.
    4 i5 N- \: m0 w; o
  992. ;Please note that if you set this value to a high number you may consume all
    $ D) Q% D5 }# `+ d9 a: x" y
  993. ;the available process stack and eventually crash PHP (due to reaching the1 A* ^6 E9 e( g8 d0 r; m6 ^. j+ U+ Z
  994. ;stack size limit imposed by the Operating System).. Y' L. x. \) A0 a7 w
  995. ; http://php.net/pcre.recursion-limit. Y. }4 \0 {/ D+ G0 N% v9 a
  996. ;pcre.recursion_limit=100000
    5 U3 z/ \. e8 v0 G

  997. 8 X! f$ d  f3 f- b
  998. [Pdo]
    - W3 M0 E+ _  u$ _2 i8 b) a
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ X: g0 `( ]; g4 t2 m
  1000. ; http://php.net/pdo-odbc.connection-pooling
    3 e0 H  z4 j5 P$ W' Q" j
  1001. ;pdo_odbc.connection_pooling=strict8 }( B4 Q% s9 U# v, m2 e/ @
  1002. 2 s) i7 p8 R+ |* C, ?! w
  1003. ;pdo_odbc.db2_instance_name
    7 P" P0 c' f9 L& Q- a

  1004. * O& [9 F7 i& T. _
  1005. [Pdo_mysql]
    : d. Y- `1 m2 m5 F1 u
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' m! y# b* O1 f, }) {# M7 t
  1007. ; http://php.net/pdo_mysql.cache_size/ v, n, p, X+ G% k0 \
  1008. pdo_mysql.cache_size = 20007 `. N$ R6 C& ~  C: i8 W* [
  1009. " M5 N' N/ F9 u& `; _
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 n- U- l' |; E
  1011. ; MySQL defaults.
    & C8 ?* D0 a- T$ P$ C0 R
  1012. ; http://php.net/pdo_mysql.default-socket
    " J# G$ L. t1 I1 X6 p8 r/ ~
  1013. pdo_mysql.default_socket=
    ( z0 Y9 i9 A3 q6 a( W2 m

  1014. . O1 C  q& }! E5 L, H% z% q
  1015. [Phar]7 m) Q/ u+ w' a4 M/ o) d: q  J  C
  1016. ; http://php.net/phar.readonly# d( y+ V( j* Q' S" u% u
  1017. ;phar.readonly = On
    . F; Q- x+ l& m* ^4 j+ `
  1018. / q, `9 X& W. p  B
  1019. ; http://php.net/phar.require-hash% Q8 o# H3 ~- d  }1 `" ^
  1020. ;phar.require_hash = On
    3 K# G0 ]. M3 z8 A" _

  1021. 4 l6 z- p; q9 [! j% y8 y0 m2 [
  1022. ;phar.cache_list =3 G, L  T# I2 G8 Y4 l0 E
  1023. : ^  f2 ~7 a8 J9 ]$ q
  1024. [mail function]
    5 T$ \5 r/ |% l1 A
  1025. ; For Win32 only.
    : ~/ n# k- [2 x! x: S
  1026. ; http://php.net/smtp
    & g! V. ~# N9 k
  1027. SMTP = localhost4 Q( I( G  t# r9 s  B
  1028. ; http://php.net/smtp-port
    4 t1 g4 U6 P5 L2 U: I5 y/ s5 G. p
  1029. smtp_port = 25
    , H- H3 e! ?8 f* P* A1 c3 Z: U* N

  1030. " Q3 y$ U! K" p
  1031. ; For Win32 only.
    $ M5 T  P4 ~- o5 Q! K( F
  1032. ; http://php.net/sendmail-from2 A% X9 O4 `) U) f! Z3 c& X+ D
  1033. ;sendmail_from = me@example.com, v$ s/ a# P* J2 X# ?1 s# p$ i2 S% P* R

  1034. 7 T% ^3 a7 O3 l0 r% u; A5 g
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    4 ?4 ^: ~6 q6 |- {" k
  1036. ; http://php.net/sendmail-path% x5 f7 K; P' s$ O0 G7 K# `. m8 y
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    0 j% P0 @5 c4 b5 ~
  1038. - U. d. i% W3 U2 Y- B$ M$ ^
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    7 s  o; z  `- b" y
  1040. ; to the sendmail binary. These parameters will always replace the value of* n) k7 V* ^1 B$ P0 W
  1041. ; the 5th parameter to mail().; f/ H# t- z" z0 t) o+ e
  1042. ;mail.force_extra_parameters =
    7 J$ j: o4 K2 u( m

  1043. 3 ?3 V, f( a$ Q$ N" a
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 n* {' u) e- D5 w
  1045. mail.add_x_header = On
    5 L9 n' p! U' o/ ~
  1046.   E- T% d* ]+ d' n& R' ?
  1047. ; The path to a log file that will log all mail() calls. Log entries include6 D- r2 c- h# v% ]3 M" L" ~
  1048. ; the full path of the script, line number, To address and headers.! ]: Y" l/ e' n% c# A
  1049. ;mail.log =
      P4 d" \: ^6 y" E  ?9 ]# f
  1050. ; Log mail to syslog (Event Log on Windows).. S+ ~9 S% }" B# m+ [" r5 C* x
  1051. ;mail.log = syslog
    5 Z- _% C! ]0 Z  T6 R. ~: I! w, ]

  1052. 2 u  U  U9 s  f# }
  1053. [SQL]& c! g1 c; `1 k: f' M# \- N' L
  1054. ; http://php.net/sql.safe-mode4 k) z9 c/ k  I/ x& X8 @
  1055. sql.safe_mode = Off: |! c; X" @4 A( o

  1056. ) T) N) H6 v1 Z! L
  1057. [ODBC]
    % q& R2 {' n+ {' h8 Y1 T
  1058. ; http://php.net/odbc.default-db% S$ @) O, _8 W; h4 Q4 R$ @$ i6 ^
  1059. ;odbc.default_db    =  Not yet implemented# @/ x$ ~5 h( _5 }
  1060. , ^, l0 _' b, S2 z; J  y
  1061. ; http://php.net/odbc.default-user
    % @4 d' w/ B" `: D" ~
  1062. ;odbc.default_user  =  Not yet implemented
    ' O( _# F" }2 c

  1063. 9 B: `9 b  C) o" Z
  1064. ; http://php.net/odbc.default-pw
    : w% X' Q2 ]: [8 n) t$ f- _
  1065. ;odbc.default_pw    =  Not yet implemented
    ( t8 d9 Q$ z) h1 @& W
  1066. ( l2 {2 z' H+ _9 b
  1067. ; Controls the ODBC cursor model.
    % `) L3 i: \) Y3 D- E2 R$ H; V
  1068. ; Default: SQL_CURSOR_STATIC (default)." P8 M& r9 ?, P' O9 c: }2 @
  1069. ;odbc.default_cursortype. {! |' E& {# K: V
  1070. . t! `, r* X6 P" m, H
  1071. ; Allow or prevent persistent links.
    4 Y9 P3 k0 H: _( a! @
  1072. ; http://php.net/odbc.allow-persistent1 p# W' X) A( A% d
  1073. odbc.allow_persistent = On
      P9 J/ \% n- J
  1074. ) a$ _$ g0 b; c5 e0 c& m
  1075. ; Check that a connection is still valid before reuse.
    + B/ a% e& t/ S4 G9 ]* M3 Y
  1076. ; http://php.net/odbc.check-persistent
    , G) |! G' \1 s' x# h$ a! U8 `
  1077. odbc.check_persistent = On6 i; Q$ a  R# q; q% F/ b
  1078. , y! y8 S$ R9 i: A$ m: W
  1079. ; Maximum number of persistent links.  -1 means no limit.+ c* U( f6 u5 Y" e, C
  1080. ; http://php.net/odbc.max-persistent6 D* ?- r0 _7 n$ @' n, F
  1081. odbc.max_persistent = -1
    $ K; m7 O4 f/ C5 Y# n0 X

  1082. ; J& Z# |# J0 a/ p* W
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., b. |& ?! |' g& C6 [" J
  1084. ; http://php.net/odbc.max-links
    0 h. Z. w5 J- v7 I! N
  1085. odbc.max_links = -1) s  F7 C( V/ L+ Q2 t

  1086. 9 L+ ^3 s4 P( o. I8 m, G3 Z* [" ]
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    0 S( i7 a: }( P0 ]
  1088. ; passthru.4 \4 Q# L8 b7 g, o( F8 w
  1089. ; http://php.net/odbc.defaultlrl
    ' m. z) w% O) I+ I3 m4 |4 Z
  1090. odbc.defaultlrl = 4096
    . v2 e# ^0 \9 C
  1091. 0 x9 f& o9 a' _
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ) O) z1 j5 r0 N$ r4 ^
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , s0 w  b8 _, ^% j1 t+ _
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode$ M3 y# X6 I/ t
  1095. ; http://php.net/odbc.defaultbinmode# E0 o/ N* G# p8 ^. {
  1096. odbc.defaultbinmode = 1  n- d4 U: T0 Q: I7 m
  1097.   x: a7 A% x" b- ^# E1 L
  1098. ;birdstep.max_links = -1
    ' n8 x* y  g; d5 j

  1099. . I, {4 T5 X' ~! P7 c+ S9 I  A
  1100. [Interbase], ]2 b3 @- |; }
  1101. ; Allow or prevent persistent links.
    ) l$ i; ]" P, ^+ a
  1102. ibase.allow_persistent = 13 r4 ]# L' m5 C/ X3 O  I6 D

  1103. # v/ E+ W9 @6 Z! V7 F) ^
  1104. ; Maximum number of persistent links.  -1 means no limit.1 @, ^& g( n# ]9 A9 [4 X/ X
  1105. ibase.max_persistent = -1
    8 A  |$ h/ @4 q; T( M$ j

  1106. $ ^2 N$ I' @) }+ e8 m: c& o$ Z
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! k& p9 A5 U3 c( j* ?
  1108. ibase.max_links = -10 T. D' s7 r; n( g0 S: Z

  1109. % B& v1 c) Q2 w6 T) n# F) m8 V6 P
  1110. ; Default database name for ibase_connect().# @5 T9 `) d# g( c- f( l
  1111. ;ibase.default_db =
    & {  r1 O, M/ J0 a
  1112. : D8 u  o. u0 m( |
  1113. ; Default username for ibase_connect().) S5 l. S' u0 S$ X4 B/ C0 M
  1114. ;ibase.default_user =' o4 p( P2 I- b' k* E( ?/ o7 R
  1115. + U* M. Y' ?; [6 i! Y) I
  1116. ; Default password for ibase_connect().6 n* o& s+ `7 Y" U- P* @2 _
  1117. ;ibase.default_password =3 Y. o; \5 a4 p& \- \- F

  1118. ! x, i( R: t1 m$ T! t4 m
  1119. ; Default charset for ibase_connect().' K, N: [/ u/ D! i* i1 \  W3 R
  1120. ;ibase.default_charset =
    8 U+ S6 p* x# e9 Y$ s7 o: Q

  1121. 4 y, \+ W: p) u3 F) B% [$ u) Z5 `0 n
  1122. ; Default timestamp format.2 p) {; j- {5 y8 }9 [
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . P" Y6 L1 N2 o: k# s; X2 E

  1124. ) Y/ O+ N6 j7 ]& N5 A6 u
  1125. ; Default date format.
    ! d2 d* @8 t! d2 p/ }) M) N
  1126. ibase.dateformat = "%Y-%m-%d"
    % ~" Q2 T& d1 c& I+ Q: E9 q5 K

  1127. 0 @) D; ?5 a- ?$ v8 Z4 m. J$ n# |
  1128. ; Default time format.& B# B( N& Z. B" Q% O; r- c
  1129. ibase.timeformat = "%H:%M:%S"( J7 }* W" Q* ]; t: s  {

  1130. 4 P9 L  @4 s4 J; _1 Q( Z
  1131. [MySQL]
    8 W- P" ]3 j3 u
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( L/ r/ d  p+ {5 B/ V
  1133. ; http://php.net/mysql.allow_local_infile8 ]( q# y; e2 L6 c
  1134. mysql.allow_local_infile = On
    . j5 P2 H9 j' I; ^, Z2 q

  1135. 5 d4 m. y4 x- ~, f/ @1 G  t- L$ _
  1136. ; Allow or prevent persistent links., X; ]( J1 M, V
  1137. ; http://php.net/mysql.allow-persistent
      M6 _1 ?% ?" S  W& ]
  1138. mysql.allow_persistent = On' L( Y% l, X" n4 M. X2 {
  1139. 5 y8 P" V# Q, B
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # d/ f" ^, T) J/ k
  1141. ; http://php.net/mysql.cache_size
    / `0 s# q. S' ^  o% M" S
  1142. mysql.cache_size = 20003 ]- m8 y) r3 S3 _  c7 c
  1143. 9 B+ [) P. g9 u1 J3 r1 ]* Z2 r3 a
  1144. ; Maximum number of persistent links.  -1 means no limit.
    2 |0 M  I3 t/ v% H
  1145. ; http://php.net/mysql.max-persistent
    3 d9 u* b* S, G
  1146. mysql.max_persistent = -1. C; N0 s3 C6 Z) I3 H% K9 ?
  1147. 5 R4 v9 V$ }. {6 }* e+ |: q
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 N- h: C# u. S: S! Y4 r* r
  1149. ; http://php.net/mysql.max-links
    0 L, R; X' e2 b% ~& g
  1150. mysql.max_links = -1' ~, a- g, L- {: ^

  1151. 0 @) S; g! U( L! `" A. x
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use7 q% F8 c9 V6 q7 y, A" g
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ' u) s2 q" K4 v! [7 n5 i  q& Z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& J( W0 G+ x: ^5 a5 N2 F
  1155. ; at MYSQL_PORT.4 q) v' ^( E/ y1 }: n" M, T
  1156. ; http://php.net/mysql.default-port* D% k- _+ A9 j) x
  1157. mysql.default_port =
    & r. G( s1 w7 l3 C& Z6 b

  1158. ( O4 v/ c- o$ ?$ f8 m4 H+ _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in; K0 m3 X& ]! V4 U5 F) w$ A
  1160. ; MySQL defaults.
    - K6 }  x7 `, y/ |7 i
  1161. ; http://php.net/mysql.default-socket% l* `. h# C: H
  1162. mysql.default_socket =  p) o6 a6 [& H( o. S

  1163. 1 d1 G# s$ Y% ?  t5 @& e2 G8 x
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)." }+ t$ @% d/ t1 T$ T9 [* x7 t5 @0 y
  1165. ; http://php.net/mysql.default-host
      q5 e& u! o9 d/ V
  1166. mysql.default_host =( D) o) a* U+ {
  1167. : A) T/ x* E4 K9 {. C: n! p* }
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).: Z6 p* ^$ @4 `: E3 V
  1169. ; http://php.net/mysql.default-user1 N4 T0 V2 Z2 B$ r& d* ]1 b0 ]  K
  1170. mysql.default_user =
    * R% V1 G+ {6 s9 X0 L

  1171. 8 J  q% ?* h% G! s8 e
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    , c% E" }5 u  o) @  J& L( c
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; {- Y$ C# Y: r7 A
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")4 {- p% f) O$ C) E
  1175. ; and reveal this password!  And of course, any users with read access to this
    9 h  k) r4 T2 x2 D' t: [
  1176. ; file will be able to reveal the password as well.
    * V( _8 L% B2 l/ p& c
  1177. ; http://php.net/mysql.default-password
    : v7 a( P$ O4 Y2 L0 E, T
  1178. mysql.default_password =
    4 v8 ~7 }2 r$ C. z2 N/ L: N. g

  1179. 2 r' z7 r1 v$ Z8 w$ v& w* ]6 G' W$ O
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ' T- [8 K8 H" o" [- N& F
  1181. ; http://php.net/mysql.connect-timeout
    ) H1 M& j8 |9 F# }
  1182. mysql.connect_timeout = 60
    ; A: Y! u) W4 i+ ]  c2 D6 \4 j) R
  1183. " u2 q2 R( d. a  z- q' ~7 C) y5 \
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and: c1 f" j" d  I# r8 s
  1185. ; SQL-Errors will be displayed.# z5 R- t. P9 g7 J
  1186. ; http://php.net/mysql.trace-mode
    / b: M. R2 P- T3 u
  1187. mysql.trace_mode = Off& [) ?6 K* ~8 K# Q
  1188. / [1 i/ x7 f5 d+ p! g
  1189. [MySQLi]
    3 z. z0 q3 B& e2 `, R5 P2 ?

  1190. : R  t' K2 w, S  ~
  1191. ; Maximum number of persistent links.  -1 means no limit.+ c+ O, o" J$ g3 S( Q1 t# ]9 E) B! c
  1192. ; http://php.net/mysqli.max-persistent- j- z6 c+ C$ t* L# W
  1193. mysqli.max_persistent = -1: L/ j/ ^' E! S; H; \& h7 K: Q

  1194. $ p" ]8 \8 e9 d  k
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ q7 i+ G6 f1 h+ w# l1 `
  1196. ; http://php.net/mysqli.allow_local_infile" @6 G; p3 u3 B6 H  X# ?
  1197. ;mysqli.allow_local_infile = On
    0 A5 A7 @, V8 E
  1198. 0 z5 {) _6 `7 X+ d+ _
  1199. ; Allow or prevent persistent links.4 K/ O9 U) r  ]! l, z
  1200. ; http://php.net/mysqli.allow-persistent
    ( O; t: `/ S$ S/ P8 C* R/ s
  1201. mysqli.allow_persistent = On- ^. ?# E: |, j  `$ X5 s

  1202. : F4 H1 [. w" _/ b/ o
  1203. ; Maximum number of links.  -1 means no limit.  p1 B/ q2 x3 G0 x; _
  1204. ; http://php.net/mysqli.max-links
    8 W( N* E( C4 M* _/ Y# u: `6 [# p: {
  1205. mysqli.max_links = -1
    , P7 h* J" c7 z  ]
  1206. ) @: m! \4 x: D- n1 _% U3 q, k' g6 D
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache  Y7 M# f0 A$ T! `; I& u
  1208. ; http://php.net/mysqli.cache_size
    ! F/ i, ?  b4 g* L6 O; L
  1209. mysqli.cache_size = 2000
    5 |2 E5 }, M  U/ H- j: `$ [9 z+ d/ w

  1210. # [) _+ @/ N0 J; }0 ?
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    5 w. C# _! \% a1 K
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, @, n. \7 \' l: r
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , f' `8 D! W# Y. {
  1214. ; at MYSQL_PORT.' M5 c% e; H$ p1 Z
  1215. ; http://php.net/mysqli.default-port
    , V4 N% O) P7 {# N  G
  1216. mysqli.default_port = 3306
    / F! [9 R5 a! C: D& _& ^2 _
  1217. ' v) h2 j# P1 m$ Q8 q5 H, I
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 i: b$ {! S6 h
  1219. ; MySQL defaults., p+ F# d' E# i, Y& k1 [! W8 n# @
  1220. ; http://php.net/mysqli.default-socket- \0 e4 Q9 ]$ s: _
  1221. mysqli.default_socket =
    / I# M4 T0 x2 \- z
  1222. # L( E- _1 Y* b: z) c/ b5 U8 R
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 N  ?& k  U+ w5 y1 D  r
  1224. ; http://php.net/mysqli.default-host
    + G& F* o$ O5 o- F/ y9 w0 F$ p
  1225. mysqli.default_host =
    * w9 X/ Q1 \- l: N& u1 _

  1226. 1 ~, e8 s; T" Z
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' n8 k: X- M8 W7 H! p
  1228. ; http://php.net/mysqli.default-user
    4 r' [1 u: j6 E+ i! z
  1229. mysqli.default_user =, L3 S( U- s! F5 [2 z, I& F
  1230. ! M% U: R/ G2 |5 r
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).* i' m/ j. ~; n9 c: V( ~0 v9 y
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.) C4 y6 o, ^7 H3 s5 P6 s
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( G1 x5 p# I$ ~: K( [1 m
  1234. ; and reveal this password!  And of course, any users with read access to this9 e2 w8 r8 Z- h
  1235. ; file will be able to reveal the password as well." r; [% @6 b. v0 O2 J+ ]3 l
  1236. ; http://php.net/mysqli.default-pw
    # L" B! F4 c2 H  S+ D) S
  1237. mysqli.default_pw =& {2 M3 y3 J' p3 w/ y7 S5 T8 C

  1238.   A- R& q: h" ?0 n; I2 J
  1239. ; Allow or prevent reconnect6 b1 z% i/ F, g4 a" x1 t/ i
  1240. mysqli.reconnect = Off
    6 S- v7 R+ `" P4 S) g; ?- c$ ]

  1241. 1 e. L1 `6 k( b; o: _
  1242. [mysqlnd]3 H4 L) B7 M5 ?" T7 w
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be! `% \& \" L* ?- F4 u/ h$ K
  1244. ; used to tune and monitor MySQL operations.
    1 F0 b* R8 ]3 n' f0 E
  1245. ; http://php.net/mysqlnd.collect_statistics- y7 j' ?5 e+ ~* K' M" E. _
  1246. mysqlnd.collect_statistics = On- [2 D8 O+ F! @$ D# y
  1247. 2 Q5 ?/ W  E' w( t& U
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 |5 O* ?. x( q( G+ u+ c! n6 O  u
  1249. ; used to tune and monitor MySQL operations.
    . n  g# t5 {2 d1 M5 R% x
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    * t8 L' p7 g! ~& I5 H
  1251. mysqlnd.collect_memory_statistics = Off* j4 p5 ?1 t- i) w# I) h
  1252. 4 C/ s- a  W5 b
  1253. ; Records communication from all extensions using mysqlnd to the specified log2 L3 n; N3 u( I7 @2 N( q
  1254. ; file.
    $ P' A2 t2 p# }! m
  1255. ; http://php.net/mysqlnd.debug5 I7 y9 m: w  I+ P
  1256. ;mysqlnd.debug =
    $ O3 E, J5 ^1 ?0 Q. q

  1257. ( t4 g+ c6 X& I3 ]; m  ?( ~
  1258. ; Defines which queries will be logged.
    & h5 v( O  ^- \  j9 K1 y
  1259. ; http://php.net/mysqlnd.log_mask
    1 r- v2 }, n' v! Z) T+ ~& o
  1260. ;mysqlnd.log_mask = 0  k# @9 ^. }9 c; R6 Y& J% B

  1261. & n0 D9 M  o) Z0 I6 O9 F1 k4 E# @
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ _0 O4 y% v# d# Q
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ; E8 u" b1 ]4 i8 I1 s
  1264. ;mysqlnd.mempool_default_size = 160001 ]1 @% A' P. ?0 V( {) b8 g& a
  1265. 2 U; Z) Z# i" p1 j
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; j3 B( C9 [, K6 y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    # s/ q- W: O, i5 }/ u" H, w
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    8 G; d+ P3 R/ ?/ u# F& W  U
  1269. ) M1 `0 _- n& b! p- I! c3 C
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    3 d" z. T/ x0 l) H+ b4 p4 R1 a
  1271. ; bytes.
    + [; E6 q: G# V
  1272. ; http://php.net/mysqlnd.net_read_buffer_size; u6 m9 K6 u1 A4 T2 R" v
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ( e$ S0 k/ X" f9 k
  1274. ! d1 W" q1 z4 `" X! o/ @
  1275. ; Timeout for network requests in seconds.' L  J8 \$ B1 i7 @4 k
  1276. ; http://php.net/mysqlnd.net_read_timeout
    , g; }, l6 `- [" N7 M
  1277. ;mysqlnd.net_read_timeout = 31536000
    0 q. S; @! q8 N: g2 n% P1 B
  1278. 5 ^3 L, N5 H0 a* Q% c
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ' f# m7 p: l2 W# {* a( {% n  O/ Y
  1280. ; key.2 C, _; Y/ J2 h5 t
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    : I  Z. {7 m4 j: M0 @3 y: f
  1282. ;mysqlnd.sha256_server_public_key =/ k8 s* h& U9 ?3 k$ j  [
  1283. 7 ?9 `: s) _. d' B  ^7 c
  1284. [OCI8]8 D6 E# G/ n- M* p& R6 K8 M
  1285. & ^+ m8 q2 \/ N4 a2 Y% y
  1286. ; Connection: Enables privileged connections using external/ @6 {* g9 D2 j& Z4 i. j+ N+ Q
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    5 I3 {4 o! ]; i' J' @% @1 f
  1288. ; http://php.net/oci8.privileged-connect+ d, N7 `: k0 c1 h: u3 q' h
  1289. ;oci8.privileged_connect = Off
    - {$ ^' a6 j/ T% L! w( D
  1290. % C+ s' A2 I0 z; l
  1291. ; Connection: The maximum number of persistent OCI8 connections per# K  h. p" v, ?6 w4 w- k
  1292. ; process. Using -1 means no limit.4 A3 s- K. I$ _
  1293. ; http://php.net/oci8.max-persistent7 N: L& j% B5 }4 X
  1294. ;oci8.max_persistent = -1
    / [3 ?0 j& u1 l2 y1 ?4 v3 C
  1295. + N2 ^0 a, h7 k# a# p# }8 w
  1296. ; Connection: The maximum number of seconds a process is allowed to* ~; C- @) z7 z( _2 u# u- F
  1297. ; maintain an idle persistent connection. Using -1 means idle' h4 P0 T3 W! P$ D) i
  1298. ; persistent connections will be maintained forever.# b+ g  e( I# j3 n4 n
  1299. ; http://php.net/oci8.persistent-timeout' O- U5 u8 v% C9 R8 s2 O; j+ w
  1300. ;oci8.persistent_timeout = -1) v0 J2 [2 [& E* B4 `

  1301. 4 O$ L! l' O* U  R
  1302. ; Connection: The number of seconds that must pass before issuing a
    ) V+ k9 C  X  X; F2 Y
  1303. ; ping during oci_pconnect() to check the connection validity. When4 {! ]+ V3 i' b
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: f+ a$ m$ v9 @3 ^' p
  1305. ; pings completely.
    ' R8 S( c! j8 t' @
  1306. ; http://php.net/oci8.ping-interval+ e. q) e8 s" K5 m7 z+ p
  1307. ;oci8.ping_interval = 60
    ' R0 J) k- X" U5 e! I" S

  1308. & ?, {& M- f" |: P3 [' E( Z; u  n
  1309. ; Connection: Set this to a user chosen connection class to be used
    0 P* }" m' l1 R8 t; U" ]9 _
  1310. ; for all pooled server requests with Oracle 11g Database Resident5 r# ~, w  _0 U4 r! d5 ~% Y# L( j
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    $ M( G/ y- S% @; u
  1312. ; the same string for all web servers running the same application,4 @8 O- Q& n3 {: h) @9 ^; `
  1313. ; the database pool must be configured, and the connection string must
    , e+ \/ W  `, K3 Y
  1314. ; specify to use a pooled server." d) c4 X- Y- N, v% \
  1315. ;oci8.connection_class =" Z- |2 f1 t4 U- O9 \- \5 I
  1316. " E% T6 v1 Z' o- n* R2 Y8 u# N
  1317. ; High Availability: Using On lets PHP receive Fast Application4 z+ B# ^1 C8 I$ s. [
  1318. ; Notification (FAN) events generated when a database node fails. The
    ' B; l9 E( e. Y  }% n
  1319. ; database must also be configured to post FAN events.' J  O* @5 Y& ?& t3 |$ s
  1320. ;oci8.events = Off# T* V) \8 f& l  _9 z; d6 x; S$ r
  1321. - S) t5 X% I2 C* M& O$ o2 N3 v7 i
  1322. ; Tuning: This option enables statement caching, and specifies how- I7 q/ s7 k9 U2 h6 k2 P7 j
  1323. ; many statements to cache. Using 0 disables statement caching.5 [. Z! M2 ~7 R# W  g
  1324. ; http://php.net/oci8.statement-cache-size' B  _" {  p0 i# q% k6 A" j" ~
  1325. ;oci8.statement_cache_size = 20  z0 |3 {3 h% {2 ^+ X
  1326. - w3 g3 S2 `1 V, D  M2 W' T* J
  1327. ; Tuning: Enables statement prefetching and sets the default number of$ w- S+ N5 G  s) ~! i" O
  1328. ; rows that will be fetched automatically after statement execution.; N" C" N4 T1 j( T& @
  1329. ; http://php.net/oci8.default-prefetch* x8 O3 x6 z5 j% V5 Z
  1330. ;oci8.default_prefetch = 100
    2 C$ s4 C" i, x- [3 t# |4 ?
  1331. - q! @" A, S8 l1 b) [( \3 r' O
  1332. ; Compatibility. Using On means oci_close() will not close( t9 R  F1 D7 h( k" b' |5 P
  1333. ; oci_connect() and oci_new_connect() connections.0 h. B9 Z. B, U" q# l0 N
  1334. ; http://php.net/oci8.old-oci-close-semantics& }( T, |) {8 C" T
  1335. ;oci8.old_oci_close_semantics = Off
    1 q, Q/ X2 t* G0 Q$ h
  1336.   ^: h5 T  ]9 w3 X+ G
  1337. [PostgreSQL]# |- n- s: P# U4 b- y) e
  1338. ; Allow or prevent persistent links.
    & u, T( d. Z3 a1 v5 Z
  1339. ; http://php.net/pgsql.allow-persistent7 t1 R5 l3 ^( {5 Q. j/ X9 m
  1340. pgsql.allow_persistent = On5 \" u: M8 m8 g  T; @
  1341. 1 s* J( P+ \4 k& A+ u/ G& s
  1342. ; Detect broken persistent links always with pg_pconnect().. h4 _! r; T8 z. u5 N
  1343. ; Auto reset feature requires a little overheads.* T/ t* e" E- }- O3 v9 |
  1344. ; http://php.net/pgsql.auto-reset-persistent7 U7 \; Z1 g- y- s, y
  1345. pgsql.auto_reset_persistent = Off- U' B& j+ ]7 v8 ], m
  1346. " p9 n, I/ l7 s; P! {' H
  1347. ; Maximum number of persistent links.  -1 means no limit.
    9 g( ^, {+ Q5 b' t% w& N
  1348. ; http://php.net/pgsql.max-persistent  D( ~; k% p" A" s$ O9 C, |2 A
  1349. pgsql.max_persistent = -1. @! K$ t9 W, W7 E8 O3 A
  1350. 3 P3 X$ m2 ~8 B1 x! l; ^3 l
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 r. B( _0 f+ d  Y, A
  1352. ; http://php.net/pgsql.max-links
    0 [3 i4 ?1 X1 K/ r# |5 ?
  1353. pgsql.max_links = -11 G: N$ x0 Z! ^! w
  1354. 9 W8 p9 Z( a( N6 g0 O2 Z& Q; i
  1355. ; Ignore PostgreSQL backends Notice message or not.
    & X5 }( L, x7 H% R
  1356. ; Notice message logging require a little overheads.
    0 _  ~+ G+ v* E
  1357. ; http://php.net/pgsql.ignore-notice# ^  {% x/ X: N, t
  1358. pgsql.ignore_notice = 0& a' u6 Z# N2 n4 J4 H
  1359. 6 w; }9 i( q0 |. g
  1360. ; Log PostgreSQL backends Notice message or not.
    6 P; [; d, A" r$ t, N; v# y+ j
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    . r& \) ^% ^5 Q% h. G- \! j8 B2 ?  y
  1362. ; http://php.net/pgsql.log-notice
    7 O6 G  s* g, x4 G/ z/ \
  1363. pgsql.log_notice = 0  @; P$ R& d( J5 X) U

  1364. 7 x/ q2 {% Q+ f6 C2 i% t' F% f9 |) l
  1365. [Sybase-CT]8 q) ~9 k: Q& t$ I
  1366. ; Allow or prevent persistent links., c3 @( n% R# x: B4 R
  1367. ; http://php.net/sybct.allow-persistent
    * K* B4 o. X5 V3 ?9 r4 j
  1368. sybct.allow_persistent = On
    ! V( r8 ?: e4 s6 I- m+ K5 \6 L
  1369. % B' t3 u" E& h) @
  1370. ; Maximum number of persistent links.  -1 means no limit./ @  ~9 l$ `; z7 i! [9 ^
  1371. ; http://php.net/sybct.max-persistent
    2 n, Z3 _+ N2 M
  1372. sybct.max_persistent = -1) V. y; O1 p- S

  1373. $ ]8 F# }5 h- g) G5 P" A
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # a2 V& v, Y  j6 T/ n
  1375. ; http://php.net/sybct.max-links
    3 a9 Z- a: j" \" Y7 l% ^
  1376. sybct.max_links = -14 [2 d# Q0 b& g: \0 R, S" @' t* \
  1377.   \; T0 u9 u0 d
  1378. ; Minimum server message severity to display.6 a1 d9 A& P8 c2 i# u& g
  1379. ; http://php.net/sybct.min-server-severity/ g7 F; r, O2 N& I5 R. C- L- N
  1380. sybct.min_server_severity = 10
    ( e4 L5 ?9 j1 `6 B2 X
  1381. . |* k6 X5 G% i" B* n- C3 f# l, W  V
  1382. ; Minimum client message severity to display.
    . }0 r9 y6 W3 r6 U& G  D
  1383. ; http://php.net/sybct.min-client-severity2 f+ b, ~: I: f0 n- Y
  1384. sybct.min_client_severity = 10
    ; @2 D3 U7 p) L) Q* Y" f
  1385. ' @7 u$ J* o. C2 d; Z  ?
  1386. ; Set per-context timeout
    & f$ N9 A9 N; T, q" W7 R; }
  1387. ; http://php.net/sybct.timeout
    4 a5 e" Y2 R) G' w  h3 R' d; O9 \
  1388. ;sybct.timeout=7 a) v/ {4 C$ Y" T3 A" }! |  e# w4 \
  1389. " d- ]# f, m5 }; h2 o5 z
  1390. ;sybct.packet_size
    % J1 k- b5 ?6 @* J; L- Y
  1391. / W* z- M( Y+ m3 x$ t* m& D
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.* l* L3 o1 d, @: c* @3 u
  1393. ; Default: one minute' B$ n$ }* U9 ?2 z
  1394. ;sybct.login_timeout=. ?: p+ s9 w0 V5 G6 D/ e7 h

  1395. : f5 Q7 N% b: Z: P
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.6 n. l4 y2 |0 p- U" b$ a+ Z/ H
  1397. ; Default: none# b. j7 `- B3 o9 I
  1398. ;sybct.hostname=. b- Z. J: H3 W. o4 X: C

  1399. 9 N4 Z& b5 u, B, F. Z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".. w' ?7 l* ^- |! \+ N
  1401. ; Default: 0, _' [8 [; x1 h, F( e
  1402. ;sybct.deadlock_retry_count=
    0 m& w; Z5 K1 O. g% t& J
  1403. ; J: T8 f% q# N! L9 @
  1404. [bcmath]
    5 ~: n0 ~/ U% Q8 g6 L5 i
  1405. ; Number of decimal digits for all bcmath functions.  h7 Y6 T% U) E
  1406. ; http://php.net/bcmath.scale5 r' k# i8 z7 y. F9 I* h
  1407. bcmath.scale = 0
    " ^2 L) r' u, S& m! F& N/ _

  1408. 8 c: M. S& W# W8 E, @: K0 |
  1409. [browscap]3 b5 ^+ E, k# f7 ?
  1410. ; http://php.net/browscap
    6 x4 R7 `8 q& J
  1411. ;browscap = extra/browscap.ini
    0 i- m2 k% c+ s0 D* s$ u' l- ]

  1412. * ]) \9 |# C" g) S( M
  1413. [Session]1 s' L) H% n; L- p
  1414. ; Handler used to store/retrieve data.
    # c5 \+ b9 Q0 l6 p+ P: I
  1415. ; http://php.net/session.save-handler; [+ x! z% H$ O
  1416. session.save_handler = files
    . ^; ?6 C; G' s; Y& [5 x8 l

  1417.   m2 K$ K% A: H% |1 M4 o/ h' f
  1418. ; Argument passed to save_handler.  In the case of files, this is the path+ T0 P1 S! B$ o2 ?7 ~7 B! y
  1419. ; where data files are stored. Note: Windows users have to change this
    # J2 \- x( u  C7 C- T* @
  1420. ; variable in order to use PHP's session functions.
    / G0 n- `$ b4 a* A  a% ?8 \
  1421. ;6 `5 u  N0 |7 F4 @6 S
  1422. ; The path can be defined as:
    * [3 P, L+ |# ?% ?) F: F
  1423. ;% }! X3 Z9 m9 T! }4 s
  1424. ;     session.save_path = "N;/path"
    % h% y# W7 D. |) h* G$ E- W
  1425. ;+ N. @4 h9 w  q- Q( G( V
  1426. ; where N is an integer.  Instead of storing all the session files in
    % x. E% r+ `) {" {8 S
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    9 H; k5 v) U3 Z+ r( V
  1428. ; store the session data in those directories.  This is useful if/ B% j/ `: V; u0 @2 N
  1429. ; your OS has problems with many files in one directory, and is: J" B9 k! H% w
  1430. ; a more efficient layout for servers that handle many sessions.- S: c) [8 B2 r5 c
  1431. ;* e; L( Z  N9 B* S8 A4 H( p
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    $ _1 K& h- O" ~
  1433. ;         You can use the script in the ext/session dir for that purpose.4 l. e, P0 @$ h+ d2 y  v$ @! R! T
  1434. ; NOTE 2: See the section on garbage collection below if you choose to" F8 {: t% i0 L& o0 _
  1435. ;         use subdirectories for session storage" p: h1 h# U3 K, @3 x
  1436. ;2 b4 q' p# G0 |4 ?( I
  1437. ; The file storage module creates files using mode 600 by default.
    4 i, S' S; }( @9 ?! Y" J
  1438. ; You can change that by using" o1 J- Z9 M1 r+ l
  1439. ;
    & t) i4 X$ \: l: ^: V( y
  1440. ;     session.save_path = "N;MODE;/path"
    * V* g% S" [* p) M0 @. X' d) O) _
  1441. ;
    - Z1 g0 n9 A! y$ p
  1442. ; where MODE is the octal representation of the mode. Note that this
    & L: [# @  W/ }# W/ o
  1443. ; does not overwrite the process's umask.* v' [7 }2 j; j5 O& n1 a% }  \
  1444. ; http://php.net/session.save-path/ F# M/ O# T7 ?7 X: q
  1445. ;session.save_path = "/tmp"
    / i3 ?1 U4 h- ?9 ~1 {. A2 f

  1446. 6 }" D9 j+ g* |" u
  1447. ; Whether to use strict session mode.6 s" T( L/ }+ _# {
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate/ p' h- e1 e* H; g' u6 o
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
      P+ j9 C7 ?3 m& m& w6 v
  1450. ; applications from session fixation via session adoption vulnerability. It is8 k) e) h( ?! f. E9 a2 B
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.8 g# M2 N+ L. [+ E* z9 a
  1452. ; https://wiki.php.net/rfc/strict_sessions& {8 A3 K+ i* y: L
  1453. session.use_strict_mode = 0
    ( R# n4 N5 g( `

  1454. ( ~$ v9 a; H; |% B9 {- [
  1455. ; Whether to use cookies.% K/ V/ t" v- m" x2 q7 i* S
  1456. ; http://php.net/session.use-cookies' P! Z* y6 B& N- e( }
  1457. session.use_cookies = 14 A( t  a, @- n% a
  1458. - v9 n& Z& j) \( M1 E
  1459. ; http://php.net/session.cookie-secure' `- {! _- i9 L
  1460. ;session.cookie_secure =
    & b# N9 k3 A9 z& C

  1461. 9 b* v) w9 _$ V! b& |- A+ X* ]' @
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining& A8 |7 f. P( Z
  1463. ; the session id. We encourage this operation as it's very helpful in combating3 U+ a! S7 S+ q( T1 P: A; V
  1464. ; session hijacking when not specifying and managing your own session id. It is
      Q. ?. r- h! L6 |
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    $ a6 m- _$ p3 Z2 v0 D6 G
  1466. ; http://php.net/session.use-only-cookies! {- H4 d+ j- I1 G7 i& T  Z- }
  1467. session.use_only_cookies = 1
    0 @3 q& t  _7 M

  1468.   [* ~2 I* r  Z' J* O0 Z
  1469. ; Name of the session (used as cookie name).
    , O7 |& o; @1 G
  1470. ; http://php.net/session.name. B3 X4 `7 g: c+ o
  1471. session.name = PHPSESSID4 T& ~9 w: a; c' o/ S% b4 e! K* V1 e

  1472. ) M$ h0 G# y9 Q1 C( b7 T& ?* M9 P' O
  1473. ; Initialize session on request startup.
    : h/ i' u  l9 ~' W
  1474. ; http://php.net/session.auto-start; |# [1 r0 \$ O
  1475. session.auto_start = 0( \2 B# \% |, v2 X0 q; P% I6 B
  1476.   n8 _" _+ Z1 s# Y( _8 J2 ]' c; G
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.5 [: B; ~- Z5 B' C& J1 d: w; [
  1478. ; http://php.net/session.cookie-lifetime: _3 x% y+ r0 w/ v3 R: D
  1479. session.cookie_lifetime = 0
    9 K$ o1 i! p) _

  1480. 6 m0 G2 D: W0 `% L
  1481. ; The path for which the cookie is valid.
    ! l  L) C9 x/ [, m( Y0 {: m0 Z# }- J
  1482. ; http://php.net/session.cookie-path
    % f  `1 u5 {5 r# n
  1483. session.cookie_path = /4 d3 K! w) C7 M9 Y
  1484. & d3 r) i' p; o. O) t
  1485. ; The domain for which the cookie is valid." S* s5 o: t# X: e
  1486. ; http://php.net/session.cookie-domain
    # p! j/ S2 p+ ^4 U( ~
  1487. session.cookie_domain =( Q, \( _. N2 K7 S! z6 v

  1488. 6 j7 G6 {0 N$ V' {7 ?" e
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.. o7 N$ I1 h/ l6 i2 {+ Z
  1490. ; http://php.net/session.cookie-httponly
      R1 E6 n  q: D- f3 M
  1491. session.cookie_httponly =9 P+ s2 ?- \! N
  1492. 0 I4 j- z( r9 S, g$ j5 O
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.# F$ N5 h4 z$ c( W" N$ H1 p" F
  1494. ; http://php.net/session.serialize-handler& [8 _4 z$ `8 ~  [6 u7 `
  1495. session.serialize_handler = php3 Q- x, ^6 z- N$ c( _+ `
  1496. 2 E( K2 g. G8 o2 f* ?) Q
  1497. ; Defines the probability that the 'garbage collection' process is started6 |& |9 M5 k5 h$ P7 I, G
  1498. ; on every session initialization. The probability is calculated by using5 _; I% p4 G9 t
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    & ]' C: J3 b% D" R5 Y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      _  U/ o7 O4 L! E6 W0 H
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- N+ y9 F1 I% G) G" _3 ?, F- z3 z
  1502. ; the gc will run on any give request.0 q8 F8 L) d+ R
  1503. ; Default Value: 1
    + ]9 {8 D+ C, c. ^: y
  1504. ; Development Value: 1
    6 i! h9 e2 y# i
  1505. ; Production Value: 1
    8 V$ E2 n, ]0 @* |% s9 N  x
  1506. ; http://php.net/session.gc-probability
    * k$ ?# i1 T/ g% D; b' R* f; f
  1507. session.gc_probability = 1
    - V8 ~4 K- C5 T5 t' v, |4 f& s

  1508. 1 i- T# G3 V: b- p! u
  1509. ; Defines the probability that the 'garbage collection' process is started on every0 e3 b: X$ `6 u% Q7 d
  1510. ; session initialization. The probability is calculated by using the following equation:
    7 j  O6 k6 k! _' A7 A
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 a  P, k3 R4 @5 n3 a+ H7 ?) W
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    / r  z/ S& _) `) K$ r
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + \5 u+ o  Z$ }8 p6 g/ }" d
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you, x' I' L! Y6 n& ?! ]/ d4 ~$ j& ~
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,2 J5 Q1 Z6 Q% ^  L3 B  E, H! ~
  1516. ; this is a more efficient approach.' P& k/ _, l9 u3 t
  1517. ; Default Value: 100
    2 y, i+ i6 h, M3 D& T% j
  1518. ; Development Value: 1000
    1 t) ^9 f. e/ B' D  n( A  K
  1519. ; Production Value: 10006 A2 w5 ^2 M! l+ x2 D* U
  1520. ; http://php.net/session.gc-divisor
    2 Y$ u* ]$ K9 ~- Z# l
  1521. session.gc_divisor = 1000) E' h2 {7 q7 L: e
  1522.   _# n7 V4 [8 q1 O$ j! C4 r
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and! c4 j  K* L. n/ c  H, H) A& n
  1524. ; cleaned up by the garbage collection process.
    / Z+ t) ~2 b4 ^0 o, N
  1525. ; http://php.net/session.gc-maxlifetime
    & z( A4 q4 U- @
  1526. session.gc_maxlifetime = 14402 z& W3 m1 g# T2 S# Z

  1527. 7 c: K8 B8 a, J0 B
  1528. ; NOTE: If you are using the subdirectory option for storing session files' Z1 h0 \8 r3 ]& n
  1529. ;       (see session.save_path above), then garbage collection does *not*
    2 B4 C. o8 C) v. I* m. m! r
  1530. ;       happen automatically.  You will need to do your own garbage
    0 s" J% d' v1 x% K
  1531. ;       collection through a shell script, cron entry, or some other method.
    # V- L6 E+ ]" v
  1532. ;       For example, the following script would is the equivalent of; t9 T% a1 }6 k3 W8 n3 G
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; M8 o* u' c. w6 p7 W
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    * F6 d0 N( ]9 `: ]  ]) H: Z' X! D
  1535. & I$ Y& @7 @) y! w; ~" _4 |
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    7 d- t' s4 @2 G0 V$ d- D, ^
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    8 [% `0 R% K4 Z8 o: W9 P, z
  1538. ; considered as valid.( j- x( v) u5 R, }
  1539. ; http://php.net/session.referer-check
    3 Z, A  `8 P: E
  1540. session.referer_check =( I, M; d! V8 d" v& k
  1541. 6 Z" c/ l1 m4 |
  1542. ; How many bytes to read from the file.4 Y) R- f$ [( N6 v8 l5 M# s/ j
  1543. ; http://php.net/session.entropy-length
    . A4 P' Y+ h% \; ?' B
  1544. ;session.entropy_length = 321 P7 X- J3 r9 @7 R1 z9 Q% n

  1545. ( i2 x8 L  H; s( s( j
  1546. ; Specified here to create the session id.
    ) M& ]" e& }9 |! M' h
  1547. ; http://php.net/session.entropy-file2 J4 A1 e7 u5 b8 k
  1548. ; Defaults to /dev/urandom( b7 O. l0 f9 |. _( O5 c
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    , I2 h6 k  h; e8 n1 ~0 R: d2 B
  1550. ; If neither are found at compile time, the default is no entropy file.& y2 g- l7 n* [* p8 E. I
  1551. ; On windows, setting the entropy_length setting will activate the
      _- h; A, ?8 l/ L7 U+ e! a
  1552. ; Windows random source (using the CryptoAPI), B4 N, k- ~* J. b
  1553. ;session.entropy_file = /dev/urandom
    1 G, i7 ^* ~/ I2 M* B
  1554. + [0 R  W. P! u2 n* B! H2 C! _
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ \8 T! F6 d: ?7 k2 s# c
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ' R8 M- D) U0 W* K
  1557. ; http://php.net/session.cache-limiter
    ; |% f3 W# E2 _! L9 O
  1558. session.cache_limiter = nocache
      t: P( B7 z" k5 v7 O* ?0 r
  1559. ( X* M* k7 k5 U; E1 F; [6 p2 v
  1560. ; Document expires after n minutes., {; ~, \5 j1 i. a. |1 o6 x
  1561. ; http://php.net/session.cache-expire
    4 V! Q, a: F* b1 ]$ d2 E9 p
  1562. session.cache_expire = 180
    , u: Z0 h% O1 O3 b8 P

  1563. % j. g* m& ?$ ?- u& h
  1564. ; trans sid support is disabled by default.
    & N( g' t, A3 w0 K2 @
  1565. ; Use of trans sid may risk your users' security.
    - j8 N3 H! \  a' Z# t- j
  1566. ; Use this option with caution.
    0 g. N* y% O% Y; l7 |' ^: O
  1567. ; - User may send URL contains active session ID
    4 ~: Q: N* k# \8 T& i' q
  1568. ;   to other person via. email/irc/etc.3 i& p- Z/ F  M* @
  1569. ; - URL that contains active session ID may be stored
    ! x$ }2 Y+ k7 x* ]. U  T/ h9 y
  1570. ;   in publicly accessible computer.2 H# i8 G  r/ ]$ w' B
  1571. ; - User may access your site with the same session ID
    - x; I( f% e, _& O, U' D* ~6 r
  1572. ;   always using URL stored in browser's history or bookmarks.
    1 m$ W' T0 t" D( {; M  G
  1573. ; http://php.net/session.use-trans-sid7 m0 a3 }9 L; j& J8 l! [7 j) d
  1574. session.use_trans_sid = 0
    , v2 m; v/ p4 R2 M. t7 P

  1575. * h0 A  n6 S. P# X! r' K& ^; G
  1576. ; Select a hash function for use in generating session ids.  E4 p" v% V5 w. t3 [
  1577. ; Possible Values
    & Q9 Q$ k$ i& q- f
  1578. ;   0  (MD5 128 bits)1 |+ g# s9 S$ A5 c
  1579. ;   1  (SHA-1 160 bits)/ l! L# n( k+ f
  1580. ; This option may also be set to the name of any hash function supported by
    # B5 \% Q# n4 I1 c
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    $ v' \$ A4 c1 u/ f, S% s8 b+ R
  1582. ; function.0 [$ \( z$ Y& u7 ?/ p
  1583. ; http://php.net/session.hash-function5 k2 K6 j8 ~" ^
  1584. session.hash_function = 0$ H' v) |7 k( F) X& f
  1585. 7 x5 u# _( f- G" @' d4 g: I
  1586. ; Define how many bits are stored in each character when converting3 h/ d/ H2 Z! J$ L  A* W
  1587. ; the binary hash data to something readable.
    , [0 d. h$ d" A$ e# L2 U* u
  1588. ; Possible values:: V$ L8 E% Y+ T6 P; Y
  1589. ;   4  (4 bits: 0-9, a-f)' i: z/ @& k* {# z% @
  1590. ;   5  (5 bits: 0-9, a-v)
    + C9 q/ y# w1 G$ Y$ b7 o0 x4 ^
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ) u8 j$ e/ L7 Q( @0 }& g6 o! r5 y
  1592. ; Default Value: 4! ?6 `! v" L  l+ [2 u% K% [7 d) T
  1593. ; Development Value: 55 }" A; P3 ?' F' l/ y
  1594. ; Production Value: 5
    ; Q1 I' M) m+ w# v2 l
  1595. ; http://php.net/session.hash-bits-per-character" h4 M( l6 _% e3 ~! H! Z% i" f
  1596. session.hash_bits_per_character = 5
    6 L  D* }6 E/ _5 f

  1597. 3 o0 Y4 g3 |. [4 a6 V9 k
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ) K( x; B# {  }7 |- _4 E: ]
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    9 b3 [: I: `. A; C+ w) P# m
  1600. ; add a hidden <input> field with the info which is otherwise appended
    1 p1 w: b  ?+ R$ m: `, E1 v
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    : x7 \3 f. L  o. L: `0 |- C" B
  1602. ; Note that all valid entries require a "=", even if no value follows.& P; N2 E( }' F, G8 q
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="" O- J4 m7 |- G1 U, T/ `- d/ x; x
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ U& c5 {1 G( Z% g$ K
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 o& ~2 t6 s3 l7 _4 L) b) x
  1606. ; http://php.net/url-rewriter.tags
    2 O  c3 Y& V( N6 g
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"! H/ z( j+ f0 Y2 r5 Z

  1608. ( Y  v# X* O. ?- w& a3 c
  1609. ; Enable upload progress tracking in $_SESSION
    $ D0 t% T9 b4 \: |* \; @
  1610. ; Default Value: On; f3 u, B. A# A$ e6 T
  1611. ; Development Value: On! n& o1 y+ M! A$ ]
  1612. ; Production Value: On) Q8 l% t5 {/ s: s: o7 r( ?
  1613. ; http://php.net/session.upload-progress.enabled
    # C; q; b( M' [* y4 y
  1614. ;session.upload_progress.enabled = On
    . }# K( N$ }# C- j4 J1 V
  1615. " D% E5 s. o: N+ k
  1616. ; Cleanup the progress information as soon as all POST data has been read7 W2 N/ _  }$ o. f6 O( Z( r
  1617. ; (i.e. upload completed).
    ' C7 W- t' @3 U# G8 ^
  1618. ; Default Value: On
    4 d# \& T% `: z7 I0 l( [
  1619. ; Development Value: On# l' G, i1 @6 V
  1620. ; Production Value: On1 C" ?: ^% q  |) `9 @% w
  1621. ; http://php.net/session.upload-progress.cleanup
    " Z4 o: ^1 T  R+ I3 y. F# q# f6 @$ t9 ]
  1622. ;session.upload_progress.cleanup = On
    ! A/ n# z. V* `& W7 g4 U

  1623. ' R, {" S/ D" C- h; l. P
  1624. ; A prefix used for the upload progress key in $_SESSION
    # U3 T+ q# d8 K7 G7 a& I
  1625. ; Default Value: "upload_progress_"
    0 T  l% G) \" E7 ]  e
  1626. ; Development Value: "upload_progress_": P# i- ^* E( L8 }! h
  1627. ; Production Value: "upload_progress_"
    8 \% o6 Y# G( f9 |  F
  1628. ; http://php.net/session.upload-progress.prefix
    ( \) v- Z5 M1 I# ]5 W6 B
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' {7 v+ a  I; t

  1630. 2 g8 {, [. c  r
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 a# m8 h6 E2 L% r! d; j* L
  1632. ; containing the upload progress information# V  W7 T$ w; T: s: J6 \7 v% a
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; g, G1 M5 T3 o7 V, b, U$ Q3 O! r
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS") T5 v: D1 Z4 @, X4 V
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + j4 b0 ~; B6 _1 o
  1636. ; http://php.net/session.upload-progress.name4 ~' O$ o% H; H; ]. ]3 b
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"6 m2 R& ^" u9 H
  1638. # L* ]1 g$ f$ U+ {# |2 c
  1639. ; How frequently the upload progress should be updated.
    7 M' v  ^0 G* H9 g
  1640. ; Given either in percentages (per-file), or in bytes
    * [8 X" I2 W8 K) I6 ^$ H9 D
  1641. ; Default Value: "1%"
    ( G" U$ [9 D. F4 W4 g7 k
  1642. ; Development Value: "1%"
    # }3 ^% [' C) ?0 R- [  ]0 Y
  1643. ; Production Value: "1%"
    ; _( o9 F& {4 V) {4 K% o$ Q: _/ q
  1644. ; http://php.net/session.upload-progress.freq
    . T# ^9 }' k6 ?$ h. J4 c
  1645. ;session.upload_progress.freq =  "1%"- M- i4 @; L/ U  B- M
  1646. # ?9 L2 ?6 ?, D6 [, \5 }( E% y/ w2 o0 T) b
  1647. ; The minimum delay between updates, in seconds
    . i7 X& d+ L. y4 q. `4 K# b
  1648. ; Default Value: 1
    * t& S# q* n: }6 [( W
  1649. ; Development Value: 1
    : Z+ b8 O7 C- v7 @" O4 h$ H5 {
  1650. ; Production Value: 1
    ' G. q+ N# q8 R6 M& g
  1651. ; http://php.net/session.upload-progress.min-freq; J* Z4 Q( G5 Z1 M5 ~, g4 M( T
  1652. ;session.upload_progress.min_freq = "1"
    ! U2 [. f0 V% ^3 Q
  1653. : ?/ r* W1 @4 A. q! h' N
  1654. [MSSQL]
    6 u- e0 Q7 N( W9 L) `$ r( V2 W5 C* l
  1655. ; Allow or prevent persistent links.
    / m. x: j0 X; B
  1656. mssql.allow_persistent = On
    % b# o1 c6 E! ^' W$ \

  1657. + N. O/ v" U& B( |# p+ B( x! c4 A
  1658. ; Maximum number of persistent links.  -1 means no limit.$ k, {) x4 F- R) f; Q. R( t
  1659. mssql.max_persistent = -1
    ! ^$ q( {# u! w

  1660. ) C, r9 F" H! q" Z2 b4 O$ q+ t
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% M1 c9 |: _0 Y: [; \
  1662. mssql.max_links = -1
    3 a1 L4 ?0 |- u
  1663. $ J' l  C4 U9 I
  1664. ; Minimum error severity to display.
    # x& Z  F6 d: g: }! @8 h  u
  1665. mssql.min_error_severity = 10" A9 O* r, `3 u
  1666. ' l0 q0 A# r+ `) }
  1667. ; Minimum message severity to display.- J/ H  v! v9 y* F8 I1 U9 N
  1668. mssql.min_message_severity = 10  x. x9 G7 E; q' G. a9 u2 V
  1669. + U) \* s3 j* d! ^  j
  1670. ; Compatibility mode with old versions of PHP 3.0.9 a2 J, m- |, p( O( {5 H0 Y: @
  1671. mssql.compatibility_mode = Off+ m$ s" s$ h( D/ C3 |

  1672. , \3 ~* M/ a7 N8 _( F+ s0 j7 g/ x
  1673. ; Connect timeout
    9 n) Q( w. d& o4 w
  1674. ;mssql.connect_timeout = 5
    - v# _0 y( J' p- c! u

  1675. % q; e6 P8 ?( ]; o) s5 z6 p3 i5 a
  1676. ; Query timeout
    * S" x8 x7 ]! a0 A: v3 V$ k# }
  1677. ;mssql.timeout = 60
    % m6 i# x1 L! i6 x9 E
  1678. 5 K* ~1 m( B$ \% N/ _( F
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ! A5 s2 x* I- H% ]: z) W
  1680. ;mssql.textlimit = 40965 P. Y( P: p4 j8 s% ^( q& G6 V
  1681. : A! g' ?& n+ H" ]( }7 ~
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    : b7 ?# \# b/ x/ G# P
  1683. ;mssql.textsize = 40961 i* I+ P" g4 g- J* w9 y

  1684. . X: b, T+ l2 ?
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    / w9 t2 Z2 U' o" D' P
  1686. ;mssql.batchsize = 0& ^; o8 t/ M$ W
  1687. . C* P- u! c, j9 n0 r
  1688. ; Specify how datetime and datetim4 columns are returned8 z' U. n6 P: {2 k3 r$ z
  1689. ; On => Returns data converted to SQL server settings
    ) C/ r. g& n& M  r" M
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. j" T4 p1 l; C0 D6 m
  1691. ;mssql.datetimeconvert = On% C  N* ?0 J, a# I$ c0 ^: H
  1692. " |% H* F1 s$ v) f1 c
  1693. ; Use NT authentication when connecting to the server! h; q1 g. `; H
  1694. mssql.secure_connection = Off, U+ k0 D6 r& ~1 f+ W8 w8 ]" k
  1695. $ o5 n( L" q- A3 h+ X
  1696. ; Specify max number of processes. -1 = library default
    1 {- L1 S& `+ H" j: [, {5 U
  1697. ; msdlib defaults to 25! U( C1 `% U" P
  1698. ; FreeTDS defaults to 4096
    0 a/ W% X8 ]% ?) _' Q
  1699. ;mssql.max_procs = -1
    ' M/ c1 ^  G$ _4 L/ Z( w
  1700. 3 |' [! X0 R6 G( _; z+ G
  1701. ; Specify client character set.
    0 M- y) v( ^6 G" _3 F
  1702. ; If empty or not set the client charset from freetds.conf is used
    8 v" T2 }, w8 Y
  1703. ; This is only used when compiled with FreeTDS
    ( n8 F- M5 @9 U' ?
  1704. ;mssql.charset = "ISO-8859-1"0 w0 F8 c" h0 G: {

  1705. 9 t7 X, c0 ^( ^, h% w
  1706. [Assertion]
    4 j* Y1 W4 [' h' R
  1707. ; Assert(expr); active by default.
    + o7 n7 y& o2 G3 K  M) g
  1708. ; http://php.net/assert.active
    ) w4 Y7 v6 b: L. }4 N
  1709. ;assert.active = On
    2 P# B$ E  k6 f3 [: {

  1710. 6 |% o! Y" [2 b' ^( @
  1711. ; Issue a PHP warning for each failed assertion.4 }. c2 P* ~+ y2 K" \
  1712. ; http://php.net/assert.warning7 o: [8 T( N! s2 l: U
  1713. ;assert.warning = On
    " G) @% ]- n' u  c) D
  1714. 6 n$ G4 y, g3 D6 ?* n# w$ v
  1715. ; Don't bail out by default.7 C- E+ e7 u" G& X9 @
  1716. ; http://php.net/assert.bail
    ! X" Y! v9 r2 x) Z
  1717. ;assert.bail = Off
    ! Y  v% ~: o4 n% n; h6 y8 N
  1718. 4 E( K$ z# r! D
  1719. ; User-function to be called if an assertion fails.' F6 n! ?9 Z8 R0 z; X! v
  1720. ; http://php.net/assert.callback
    8 O9 Q+ [# r" r9 w: ^
  1721. ;assert.callback = 0& n- t/ J! H9 \# n) W" @( O
  1722. ! j! }' [5 t* R/ w% ?3 a" u
  1723. ; Eval the expression with current error_reporting().  Set to true if you want$ V5 Y- m* ]. D, k. e' i- ^# i) W
  1724. ; error_reporting(0) around the eval().
    + d* i& c* x1 w0 b2 t! c( }: _
  1725. ; http://php.net/assert.quiet-eval4 Y  h& l! g6 s1 r2 G
  1726. ;assert.quiet_eval = 0
    - U9 V0 [+ y' \  B$ a3 g; r: z

  1727. ( [. R& E3 o3 S* E
  1728. [COM]5 v. R4 _+ i1 B# i3 c4 d
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs2 W3 v% J. w: o5 J% q/ C& P
  1730. ; http://php.net/com.typelib-file6 K% j) J8 o6 B4 o! X& ^
  1731. ;com.typelib_file =8 ~. v; f) V: X7 _1 U* t

  1732. 1 L( O) A0 M: N$ [0 z
  1733. ; allow Distributed-COM calls
    # X8 m2 n2 N. O4 w3 W9 ?, G3 F
  1734. ; http://php.net/com.allow-dcom1 W5 c1 ^5 T- P1 @  |- }
  1735. ;com.allow_dcom = true7 D* o4 I7 R; e; V

  1736. " J% t( K5 D" T7 u8 g* K1 p: h* X
  1737. ; autoregister constants of a components typlib on com_load()
    6 s) x. X$ T* {* V7 ^
  1738. ; http://php.net/com.autoregister-typelib+ ~: \3 {9 D- {
  1739. ;com.autoregister_typelib = true
    ' Z6 R  r9 q: n& J$ n

  1740.   r3 ^' m7 t+ n7 V& a  m
  1741. ; register constants casesensitive, m! ~; L3 c: e: y7 _7 u) n6 a0 }
  1742. ; http://php.net/com.autoregister-casesensitive
    ! h9 A3 w8 \% i) V
  1743. ;com.autoregister_casesensitive = false4 |; r. v5 H& P# f! v* A' u/ l
  1744. 3 ?2 i- l! e/ |, P; l9 q2 Q
  1745. ; show warnings on duplicate constant registrations
    " Z# X+ M7 i# ]# s
  1746. ; http://php.net/com.autoregister-verbose
    % G, [0 K0 W" u7 Q) ]6 N- J
  1747. ;com.autoregister_verbose = true
    2 N" @+ D( N5 E* {4 ?) A

  1748.   c: V" L! r6 J2 Z3 C2 Q/ Y" `
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
      ^- d# L( }0 A4 \7 H
  1750. ; Default: system ANSI code page# u. v0 V/ W* e4 j1 p% L6 s9 r
  1751. ;com.code_page=, j( `! v) ~; Q8 t# n/ D# m2 O

  1752. 1 S9 q2 b! I. p3 C# ]+ _  n
  1753. [mbstring]
    1 r  k! [% l9 x5 Z
  1754. ; language for internal character representation.- k+ N. N3 ~1 i% N9 g5 J
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    9 g- ~9 J7 \  u6 z' c
  1756. ; http://php.net/mbstring.language; e0 }1 I' o/ o$ s2 d: t8 \6 V
  1757. ;mbstring.language = Japanese0 |; Z& [8 L( {+ c  Y, g) J  k
  1758. & v# h" G6 B$ ?: I6 a2 ~
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) \9 i! I, Z- Z
  1760. ; internal/script encoding.
    7 y7 ?6 f# J7 b8 |
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*); |3 w) \- A, N1 b
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 G* J( _' G) R7 J7 f5 I
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ |9 M/ ^$ {8 L9 z& ?9 P" D2 y
  1764. ;mbstring.internal_encoding =9 N6 [2 R& c! F6 z
  1765. 2 X" L' x- W! g/ O
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 t4 h) y5 H( M8 d& Z, l
  1767. ; http input encoding.
    # q$ ]5 z4 A" I/ x( P
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    / ~( Z+ _6 Q7 S
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.& A$ c! ~6 C' k$ |2 P( ?
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input4 l: {  E% L1 x1 b: c
  1771. ; http://php.net/mbstring.http-input
    & x6 B2 L2 e- H) c
  1772. ;mbstring.http_input =5 f* r% x# E3 {) @
  1773. & O* i: Z% a9 M8 p7 A
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.) P5 ~0 Y1 U" U5 u* \, O
  1775. ; http output encoding.
    ; j! S* {2 g0 S0 o+ `' D4 b' G
  1776. ; mb_output_handler must be registered as output buffer to function.
      F) ~) O& d  ^) a) E9 ?
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    6 C/ e. S9 J: F" C. M1 w- q
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output/ M/ e$ d( S% O- }- }
  1779. ; To use an output encoding conversion, mbstring's output handler must be set: o/ l$ W8 \/ |6 T
  1780. ; otherwise output encoding conversion cannot be performed.
    ) P8 t" ?7 d2 p5 Z
  1781. ; http://php.net/mbstring.http-output/ n7 N; X0 k9 ]& M, ]$ T$ v$ G
  1782. ;mbstring.http_output =
    $ e5 [4 g# i& e$ }' j' y/ `! F

  1783. % p  ~5 g# s, C( d9 k
  1784. ; enable automatic encoding translation according to
    7 o9 Z, R' U- L/ ^
  1785. ; mbstring.internal_encoding setting. Input chars are# A( W4 R& K" ^. W
  1786. ; converted to internal encoding by setting this to On.) l: D! U3 h4 v: }7 r, Y# M5 c( q
  1787. ; Note: Do _not_ use automatic encoding translation for/ e1 ], |& `0 s6 Q. ~. v/ O. h6 Z
  1788. ;       portable libs/applications.
      z, n* T1 F/ q" z% e0 x
  1789. ; http://php.net/mbstring.encoding-translation2 l9 u1 P9 n) S! `; C
  1790. ;mbstring.encoding_translation = Off
    5 h$ G# `. e! @3 b
  1791. * W7 v- F+ {6 s/ }8 [" o1 ^
  1792. ; automatic encoding detection order./ R6 C% f0 U' t5 d5 ]* |& V
  1793. ; "auto" detect order is changed according to mbstring.language$ F/ }4 c- |. t- T1 Z3 n
  1794. ; http://php.net/mbstring.detect-order: {% T8 s  w5 H, z
  1795. ;mbstring.detect_order = auto
    / Y- u8 f; E7 h1 @

  1796. " H& i& z$ k# k" l0 D
  1797. ; substitute_character used when character cannot be converted
    , G6 H! o. A' P) D' N) @: ~$ W& X
  1798. ; one from another
    , D9 l: u7 l, ~) T: c1 y) r/ ~
  1799. ; http://php.net/mbstring.substitute-character, K  j* d7 \. t' h4 p% w
  1800. ;mbstring.substitute_character = none
    2 h  T9 z  [& \& x' v( n# i6 d# B( F

  1801. ( }4 X5 I/ }/ t- W' R
  1802. ; overload(replace) single byte functions by mbstring functions.
    " F6 l; P6 U5 C& p  l, X- G
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    7 G* b* B& w5 u" R5 [
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ; Y' o; o" k& W8 Y) h
  1805. ; For example, 7 for overload everything.
    % ?0 G3 o' F7 O" W( d1 h
  1806. ; 0: No overload
    : s2 q& C+ e0 s6 ~
  1807. ; 1: Overload mail() function
    * W3 w2 _; f' a$ @: n1 N# b: ]
  1808. ; 2: Overload str*() functions
    1 [* P9 C! `6 I0 s
  1809. ; 4: Overload ereg*() functions
    4 [: S$ h% r+ y1 [! O1 l% V! [( [( I
  1810. ; http://php.net/mbstring.func-overload" c% t; i, Q" }1 [
  1811. ;mbstring.func_overload = 0, J4 I+ C/ G' B4 S8 \

  1812. : p* x, E# A" |
  1813. ; enable strict encoding detection.
    9 C# \! T2 b' Y- A& r  i0 v5 s  o) E
  1814. ; Default: Off
    ) i& n3 P: ~4 ^; E6 V( y
  1815. ;mbstring.strict_detection = On/ J! {4 j( G+ Q  k5 d5 m
  1816. & ]- e3 a* ^1 ~
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(). k% G; m0 B0 @! Z  a; P
  1818. ; is activated.
    % S1 B. x. c5 a) ^" m  h9 J& Y
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)5 `: ?+ h! h0 [
  1820. ;mbstring.http_output_conv_mimetype=
    ! f0 ?6 ]% e- w: ?& F) E

  1821. ' \( ^7 p7 V' \' n
  1822. [gd]' }$ Z5 n* H+ _2 Y8 C9 T, `
  1823. ; Tell the jpeg decode to ignore warnings and try to create5 \, U' L4 F4 e3 c
  1824. ; a gd image. The warning will then be displayed as notices$ d% G  y0 u2 V1 ~: J5 w+ a8 f: y  Z
  1825. ; disabled by default0 ?! y; Y. E- M$ Y+ Z7 R0 z
  1826. ; http://php.net/gd.jpeg-ignore-warning9 c9 ^! d9 b8 ^
  1827. ;gd.jpeg_ignore_warning = 07 L( a: H3 m( I0 J

  1828. ' c1 W% ?7 p6 K3 a$ N0 Y
  1829. [exif]: m  B( @  c8 x0 q6 M& t6 o
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.. u" F. U4 O0 t% e8 ~5 ]
  1831. ; With mbstring support this will automatically be converted into the encoding
    & ~# B5 }. C$ s1 [0 C9 ?% T% |
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    3 e7 q0 ?6 c8 b* a4 ^/ m
  1833. ; is used. For the decode settings you can distinguish between motorola and
    2 G# \8 u' k  u  f7 P  u! q
  1834. ; intel byte order. A decode setting cannot be empty.
    ' F+ R1 \! p& m" H# y% D
  1835. ; http://php.net/exif.encode-unicode
    0 c/ M5 L# B  B" F8 [: C1 M
  1836. ;exif.encode_unicode = ISO-8859-159 R& K# |6 u& _0 C6 E! w+ |  B5 Y

  1837. , P8 }. y0 G6 j
  1838. ; http://php.net/exif.decode-unicode-motorola
    - D) d& j+ I# ~- M1 @) X7 v0 p
  1839. ;exif.decode_unicode_motorola = UCS-2BE
      ^9 J: v3 l6 z1 X1 I

  1840. ' n& F# \9 R9 r( K1 K7 k; x
  1841. ; http://php.net/exif.decode-unicode-intel
    * A6 ^; b4 z# B) J9 f6 W" w
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    + g  C2 R( a! f1 ~5 y8 \) ]- R6 s% r
  1843. ! v# d0 \" d1 [  s( M# q; ^
  1844. ; http://php.net/exif.encode-jis
    ! ~- k' t" _5 L. Q/ R) h$ U  x
  1845. ;exif.encode_jis =
    $ A5 f) g* P' Y% M% X
  1846. 3 _  D' ]6 |  F9 t: H! W0 ?: n
  1847. ; http://php.net/exif.decode-jis-motorola. ?" g' a6 B: F& T" z0 }5 F% \/ ~- u; Y
  1848. ;exif.decode_jis_motorola = JIS
    4 m/ ?" _0 A: f6 d
  1849. 4 F4 ]8 ~7 V6 o* u
  1850. ; http://php.net/exif.decode-jis-intel; ~1 }" e  N' t0 K! r6 @$ a
  1851. ;exif.decode_jis_intel    = JIS* U3 z1 F. @( k9 X: c

  1852. : v0 v& S' b4 U/ Y! R; d
  1853. [Tidy]
    6 G- p  C: q, P) _/ Q
  1854. ; The path to a default tidy configuration file to use when using tidy6 F" t/ R! s1 D/ H, y
  1855. ; http://php.net/tidy.default-config4 ]+ Q! ]2 P, v! F
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg0 b& H  S# D+ \
  1857. 3 f9 l. D. X# m3 Y& m
  1858. ; Should tidy clean and repair output automatically?) g# [/ A$ [/ _& g7 c9 S
  1859. ; WARNING: Do not use this option if you are generating non-html content2 `& f9 J! R& ^1 V5 C3 W
  1860. ; such as dynamic images
    9 e; s  ~5 I# T3 }& W4 V1 o
  1861. ; http://php.net/tidy.clean-output6 e' H( \0 d4 w5 r/ G) B& Q
  1862. tidy.clean_output = Off
    ) k  ~7 W* A3 z6 c: {' u4 S7 d

  1863. 4 B  a  j* ]/ [+ L% G9 @; V1 i
  1864. [soap]
    1 R* `; B, o' D- P
  1865. ; Enables or disables WSDL caching feature.
    5 y/ \, b* y3 V, r: |. V' M; l3 N
  1866. ; http://php.net/soap.wsdl-cache-enabled
    . P6 _$ h- r) R' y
  1867. soap.wsdl_cache_enabled=1
    $ W# w" K) N- `4 X' F6 D- H8 ]

  1868. $ \5 A6 g/ Z  L& C( S# {: i2 i/ G
  1869. ; Sets the directory name where SOAP extension will put cache files.
      C2 V  _5 O$ r7 {
  1870. ; http://php.net/soap.wsdl-cache-dir
      ^+ s( Y2 V  i$ @% X$ ?4 T9 E! O
  1871. soap.wsdl_cache_dir="/tmp"
    1 E* u, E6 i9 F, Q) C3 |2 {
  1872. 4 w! p6 G5 ~8 [: @
  1873. ; (time to live) Sets the number of second while cached file will be used; m; S5 D% x1 E: P; _7 q
  1874. ; instead of original one.
    % S  B$ ]1 \* m8 @
  1875. ; http://php.net/soap.wsdl-cache-ttl! U3 T+ n( y# d7 V
  1876. soap.wsdl_cache_ttl=864003 m4 H- _  q* J; S6 O

  1877. 1 R( a- I0 y$ p0 g6 j+ G  W+ Y% n
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    + v, Z9 ~4 X+ U
  1879. soap.wsdl_cache_limit = 5: I2 n9 M# k3 M) n

  1880. 7 d/ _+ h( Y5 f" V- c
  1881. [sysvshm]
    + G' S+ E- S4 E
  1882. ; A default size of the shared memory segment
    7 }  o0 Y  J, D0 C, o  o
  1883. ;sysvshm.init_mem = 10000- R* z% }# i8 p% k7 }4 E4 y
  1884. % A" H2 a+ e& F+ q9 H* g- N' o
  1885. [ldap]5 G$ v; |, t! L, e: P* P. B
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    7 s! y6 k: l, W7 T7 T0 O
  1887. ldap.max_links = -1
    . \5 ]0 L# ?0 t  P4 ]( z3 B8 b

  1888. 0 i: _9 J9 D1 |+ V: u% C
  1889. [mcrypt]
    % f& s, R& P6 s9 T* X
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open$ G9 D) H7 K% F6 O4 B

  1891. 3 x) s/ Z* a0 i  J
  1892. ; Directory where to load mcrypt algorithms# \. D) M9 U7 ?! j
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 [* n( J5 Q+ E8 v* ]: s
  1894. ;mcrypt.algorithms_dir=. R$ e( m- W5 W; y8 L

  1895. * P+ ]' }" z+ ^! p0 k! U! x' g/ i
  1896. ; Directory where to load mcrypt modes
    : W# [( \1 p+ B, C- Z% W7 I
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 R7 P+ x; W4 \
  1898. ;mcrypt.modes_dir=
      T6 s3 l% ^: o' y
  1899. & }) {; s8 D5 d) S$ O$ T
  1900. [dba]1 U- N- z0 B9 s7 }7 R5 `6 a
  1901. ;dba.default_handler=
    $ D! l( _/ ?& m7 S* A- |
  1902. + b2 ^1 k3 M4 X6 F
  1903. [opcache]% y2 D, t- E; _; ~9 y9 x
  1904. ; Determines if Zend OPCache is enabled) v* W# _0 t6 k
  1905. ;opcache.enable=0. c; Q) B' J, |( ~4 V
  1906. + g2 |+ H5 ?5 j# V+ f7 ]; M
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP' }/ s4 `" j! V* Y2 W
  1908. ;opcache.enable_cli=0! Z8 b' E& i9 M; F- z1 g; n

  1909. $ W! h+ w/ F1 |5 ^6 r' u0 y
  1910. ; The OPcache shared memory storage size.! ?5 W* y* V! b  U
  1911. ;opcache.memory_consumption=64: f/ ~3 x+ V. ?; Q; o$ _, T. k2 w
  1912. ; C" y+ D$ V8 b. {. @3 Q7 N
  1913. ; The amount of memory for interned strings in Mbytes.
    & a0 x% _. Q( _% W$ [
  1914. ;opcache.interned_strings_buffer=4
    0 C0 L! k$ |( M4 N& C
  1915. ( O5 B# v) k" r% W; E9 X: y; J: P
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    : `9 }4 c, q+ N) L/ y/ W
  1917. ; Only numbers between 200 and 100000 are allowed.
    ( [2 |( `4 h2 b9 N+ m# T; p
  1918. ;opcache.max_accelerated_files=2000, A% A7 R+ _; b5 G+ f: q6 V8 D
  1919. 4 P) R$ R( _( ?; @  Q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 C$ Q! O% r2 k
  1921. ;opcache.max_wasted_percentage=5/ p# n9 ]/ b4 Q- S) W( s

  1922. 8 w( w+ \! g3 a6 H  \) {! l
  1923. ; When this directive is enabled, the OPcache appends the current working5 @; ?( U2 r: [; Y, N
  1924. ; directory to the script key, thus eliminating possible collisions between
    ) r5 Z+ _' i7 n" a- L: O3 U
  1925. ; files with the same name (basename). Disabling the directive improves
    0 E. v& ^' W* \# l: H; B0 T* Q
  1926. ; performance, but may break existing applications.
    2 b6 T- {0 s& e( g' T1 g% D% w
  1927. ;opcache.use_cwd=16 Q# u1 d' E- O: n1 j! F

  1928. 0 n: a- Z- |# Y
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ' G2 F; t1 Q, q6 H
  1930. ; webserver for changes to the filesystem to take effect.1 _, `! K! J. \
  1931. ;opcache.validate_timestamps=1
    , n$ |( W- S" ~7 B) I$ q7 r

  1932. - t$ h- L# L2 A4 |" B# s
  1933. ; How often (in seconds) to check file timestamps for changes to the shared( r7 O2 r6 k4 @$ k9 K
  1934. ; memory storage allocation. ("1" means validate once per second, but only) Y" j, X9 Y- K& S
  1935. ; once per request. "0" means always validate)" |& f6 ~0 |. G8 f9 o4 g1 I$ M
  1936. ;opcache.revalidate_freq=2
    ; V% V) p" r2 \$ o6 m; {) v
  1937. 4 B. B( ~: l+ O. y
  1938. ; Enables or disables file search in include_path optimization
    ; p' I: k0 }) e' Z
  1939. ;opcache.revalidate_path=07 p8 I5 X2 Z- |* W; ]: `
  1940. # s# C5 s; V4 G% U. Y: A
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # F+ V6 r, k8 U& e7 O# K5 X
  1942. ; size of the optimized code.# t1 [$ x; o3 ^$ R( B: _7 Q+ }2 Z
  1943. ;opcache.save_comments=1
    # i3 d; h, \7 E7 u; X
  1944. . n# B: F' q* r# @& w1 P
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    0 |% G( l, ?: B/ [4 {5 p
  1946. ; may be always stored (save_comments=1), but not loaded by applications" Y# P. e( h: i
  1947. ; that don't need them anyway.& u/ I6 u0 z( z1 r
  1948. ;opcache.load_comments=1. d& G9 \0 V& p7 ]9 L3 n& _( I
  1949. % I4 A( p( d0 J" e
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code! l& s* F5 t+ A0 h, l: K- H9 L
  1951. ;opcache.fast_shutdown=0
    : _, [1 {1 K: ]

  1952. # q! k* V4 k0 Q3 k- f  L3 G
  1953. ; Allow file existence override (file_exists, etc.) performance feature.) |* i; i* A- n. b* G
  1954. ;opcache.enable_file_override=0
    9 l$ g2 m/ k7 M7 _8 B
  1955. 5 T5 {% O3 C; ~* y' ?
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    / F! F; a: V; `* u& `9 J
  1957. ; passes, j: F. d8 p' F
  1958. ;opcache.optimization_level=0xffffffff3 e+ @3 c5 ]3 ]* I7 a6 h: V  L

  1959. 6 u1 b5 a+ ]6 ^6 Y4 T7 e( N
  1960. ;opcache.inherited_hack=1
    ! u0 q/ M- q6 A- i) e4 T
  1961. ;opcache.dups_fix=0
    3 F6 ^: _7 N0 n1 V' t: a
  1962. . s8 F( A* V" F/ _3 h+ G/ D
  1963. ; The location of the OPcache blacklist file (wildcards allowed).+ H, b8 O2 K4 H  ~$ T" v( Q
  1964. ; Each OPcache blacklist file is a text file that holds the names of files0 I0 M6 A8 L+ O6 ]
  1965. ; that should not be accelerated. The file format is to add each filename; c$ r* l: Y3 m
  1966. ; to a new line. The filename may be a full path or just a file prefix# M/ Q$ V( a! N$ B) N! ?  i1 S
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www& T) P6 e3 L8 |6 H& B
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! K/ L7 ]# P! i( T
  1969. ;opcache.blacklist_filename=
    * E6 Q9 i3 q9 E) S- O; M1 a) Y7 o
  1970. . T1 C; |! P) S! N
  1971. ; Allows exclusion of large files from being cached. By default all files
    * m. e2 H* i% x; x9 l( k1 j. c
  1972. ; are cached.
    8 V7 u+ j  `# n  U6 i: g
  1973. ;opcache.max_file_size=0) ^& E4 O3 t6 Y: @

  1974. ) u6 X, S+ a$ l# N/ ?
  1975. ; Check the cache checksum each N requests.6 c3 \  d! f& e) n" Q
  1976. ; The default value of "0" means that the checks are disabled., |, D  r* B8 p  h& ?, l. }; Q( E2 t
  1977. ;opcache.consistency_checks=0
    6 [6 W4 `4 o# S, a  Y; f
  1978. ; k) k/ d* i; x; ^; v% C% @) T
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    5 Z& e( u9 W$ |; r2 T
  1980. ; is not being accessed.
    9 ~& u- H' O8 v
  1981. ;opcache.force_restart_timeout=180; R0 t8 m8 m& J" L# @9 R
  1982. & @8 ?. V: L# n+ G3 S$ `
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    5 Y- W  q4 X1 B2 n/ {# J
  1984. ;opcache.error_log=
    2 R( m: h! j. E( I, P

  1985.   U7 r1 j. |7 r; r8 }( q
  1986. ; All OPcache errors go to the Web server log.# ^* Q- S. Z# e3 D/ a* [
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    , w6 j/ i! E. a2 f6 V3 L  I; V
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    6 M) a/ `. O% U
  1989. ; debug messages (level 4).( N( x& }! r- D* q, r
  1990. ;opcache.log_verbosity_level=1/ p) }0 G7 @6 C+ v2 v3 X. p
  1991. ! t1 T& o+ X  ]# f
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    # S, Q% ?" L& _* ~, r; ^# y
  1993. ;opcache.preferred_memory_model=
    3 H! i; K" y  X" ~0 e7 m, h+ O
  1994. ; l$ X7 O. }2 J. O" a2 R8 _
  1995. ; Protect the shared memory from unexpected writing during script execution.* I, r$ [+ q, E3 {  g
  1996. ; Useful for internal debugging only.
    / v& k& [( ]: W
  1997. ;opcache.protect_memory=0
    : e  ~7 ~1 T$ c/ ]
  1998. ( D7 t4 F6 g$ y# w5 @" k1 c. ?
  1999. ; Validate cached file permissions.
    & o4 E3 n+ Q# W5 y0 M1 [: h
  2000. ; opcache.validate_permission=0
    / }! U* w+ M9 ]. o4 w$ G* ^; K
  2001. ( k( n3 K% `' ]$ l7 s. M' f9 N
  2002. ; Prevent name collisions in chroot'ed environment.
    7 J) Q- M, F. J6 ]% b
  2003. ; opcache.validate_root=0- y/ O0 N1 q% ~

  2004. % Y, d$ p( L. w
  2005. [curl]- _* R: w7 M2 Q+ _
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an# H& X6 C2 o- R+ O4 U
  2007. ; absolute path.
    7 V. F) c5 W$ G: O1 _( y+ b" I; {4 |; S
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt$ o) U1 ]1 X7 L4 v) X

  2009. - ?: f- \! s1 A- e8 H: b
  2010. [openssl]
    ; p; f, i2 f+ t/ l  L
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem/ r2 M0 c+ {& b2 ~
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should3 Q9 e0 s7 m0 Y* k: a! n) E, z
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ' F! I( v8 H0 r
  2014. ; OS-managed cert stores in its absence. If specified, this value may still$ ?8 Z- [2 w1 p* a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    7 h2 b" z& [! U* d8 i" K4 T
  2016. ; option.6 Z: a; k. g5 |
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt- W  \" l- G. {4 P5 f! i" S

  2018. - Z' I! a. o$ s  I
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    3 {& w3 ^& }: }3 G: q
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    3 P$ ]! f$ t, D2 E+ C* M
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    " m& }3 I. h- p
  2022. ; Most users should not specify a value for this directive as PHP will9 ^- C* g0 B0 R1 r
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % [2 o- m  k/ u! k5 I# Q
  2024. ; this value may still be overridden on a per-stream basis via the "capath"/ p  f3 T( R9 F7 [* _8 d
  2025. ; SSL stream context option.
    1 f# p; U: L, M
  2026. ;openssl.capath=* |/ t2 U4 D4 s5 a' c% g2 t' G5 ~) C

  2027. ( g) _; ]  L2 O' E
  2028. ; Local Variables:
    0 T- I6 b  D, ^9 X7 H3 E5 T4 [+ U
  2029. ; tab-width: 4
    / E$ |! D8 N" t) k4 P1 h; P
  2030. ; End:
    & r( h' z: h, P8 H& k3 L0 s2 N
  2031. : S  u: F& F  _5 f  X1 b4 J: P5 Z
  2032. ;eaccelerator
    ! v! Y1 P( \1 m/ b. }" q9 V. ^" f
  2033. 8 ]* m# x0 T/ B* d2 [6 Q0 _
  2034. ;ionCube! b5 m9 ~4 N; ]2 g8 n* `

  2035. * u; X3 y% I/ I( |6 P
  2036. ;opcache
    ) m$ V8 j. B. M
  2037. 6 C$ n, y2 [$ X% i
  2038. [Zend ZendGuard Loader]$ C" f$ r& E1 T8 I# e7 J
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so) ?& w8 Z) d9 k4 q3 c
  2040. zend_loader.enable=17 r6 ]& K+ _" f3 O; `6 m
  2041. zend_loader.disable_licensing=0; x- J; r, C* G: j+ H* ^
  2042. zend_loader.obfuscation_level_support=37 |2 f9 a) ~5 R1 L6 u
  2043. zend_loader.license_path=; M3 p: r$ R% z0 [: v/ v
  2044. ' K+ q7 {' S9 F8 [3 s; b9 `. n) X
  2045. ;xcache% [2 N) u/ Y* i. i( B; v
  2046. 2 ]4 t/ B3 ^: M9 R  h
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
" [) c9 q* j1 G& Q$ \* D
% p- M$ R; |/ ~  [8 K5 a5 ~+ B% c0 |+ R. P- O
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,. p) G* C% R, h" q1 \  e

$ ?4 y; [, F! y6 G8 GDiscuz!程序版本选择:' u0 k5 g/ ]7 Y# t
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,% ^. g: ?, c7 j
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
( x/ w. U1 Z* @% c- h# d: KDiscuz!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。* h4 V$ u! j+ I( n
( R& v4 Q+ ~; K/ T0 L( g* P% N! j
Discuz!插件模板版本选择:
1 j0 Y5 M' v, n! h很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,( S0 k" ^- m3 G& ~* z5 D7 q
针对这个问题做个统一的普及:9 O! B8 q. p/ F) e0 e9 j3 l4 P
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。$ A6 D9 W: B6 L- |! M
3 C7 J8 {; p+ z$ }6 x6 ]
所以
: d3 e7 B0 H5 a5 r3 M( ~适合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的二级域名。
( r% E8 w, y1 v) t) @- X0 o打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。8 s% G( P' Z0 s8 C  I% H' K& ]
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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