分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0  \0 E. h$ e# p
9 V* P5 o+ {& |# K8 D
  1. [PHP]. B+ W0 A" I0 `7 z

  2.   o0 y! _+ G3 g0 @7 K( n4 }' m
  3. ;;;;;;;;;;;;;;;;;;;5 i" l( p5 L3 x
  4. ; About php.ini   ;' L5 F7 s2 x% @
  5. ;;;;;;;;;;;;;;;;;;;
    5 m: p" T7 y+ s5 S1 B( {  Q( i& b7 f
  6. ; PHP's initialization file, generally called php.ini, is responsible for! F& V; b& j3 t( Q; Q* C  M1 ~
  7. ; configuring many of the aspects of PHP's behavior.5 n% ?5 O( Z6 ~+ ~% S5 O; s

  8. 0 P; \% k9 W% [% `* _& c
  9. ; PHP attempts to find and load this configuration from a number of locations.
    2 y, q* _% F5 P5 _; H5 r. s# S
  10. ; The following is a summary of its search order:
    7 f: ?% c- G2 y. W2 K, u
  11. ; 1. SAPI module specific location.
    & _9 J* k" f# W# @0 W
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)0 l$ N" E' T; O3 g2 b, n6 S" q
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ' V+ J4 g* P' F7 C
  14. ; 4. Current working directory (except CLI)
    5 Y3 |7 v  |" m2 O: h6 b
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP0 h3 s# u7 ]6 ^/ }* w
  16. ; (otherwise in Windows)
    % a/ A2 E# k- j# j# F( y9 D- A; H0 r
  17. ; 6. The directory from the --with-config-file-path compile time option, or the' U  l5 G6 @& Y, ]" p4 e
  18. ; Windows directory (C:\windows or C:\winnt)6 k. ]9 Q  q& |/ g; P% O! |9 H
  19. ; See the PHP docs for more specific information.$ ], W+ I0 k' W5 H+ v2 P
  20. ; http://php.net/configuration.file( y* a0 F& {1 Z9 y' E+ H
  21. / P  ^! K! e8 ~
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 j) l3 W: ?& p' P2 R/ o
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    6 Y2 b5 [3 l) ^! {
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    , \: B  {4 M$ p- m7 b, q6 V
  25. ; they might mean something in the future.
    7 U: o# V$ U9 I2 j) H- g
  26. : `0 ]# L3 B' ]* q8 V
  27. ; Directives following the section heading [PATH=/www/mysite] only4 C4 Y( E! Q/ m. f) G& f4 s
  28. ; apply to PHP files in the /www/mysite directory.  Directives, ^4 O, p! V( ^* K8 x
  29. ; following the section heading [HOST=www.example.com] only apply to
    6 T) i0 r( W7 r- b! z8 n
  30. ; PHP files served from www.example.com.  Directives set in these, F& Z* s$ A# p" Y& Q
  31. ; special sections cannot be overridden by user-defined INI files or$ x% t! ^* b7 m8 z9 Z6 ?: C) G+ B
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; ]! g  u$ w' s- c
  33. ; CGI/FastCGI.  W& r5 y4 o) p/ `- |0 _* l  A: W+ B
  34. ; http://php.net/ini.sections7 k$ I% z$ h. ^  P" o
  35. / D  S: p- U- q3 X9 v# r
  36. ; Directives are specified using the following syntax:) e+ C$ y9 {: |3 C% a) x0 ]
  37. ; directive = value
    3 O4 y3 f) B7 h0 i( {
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.( V1 C. ^! o1 D1 M- N
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ; e$ @% _8 F- `1 g9 B2 I
  40. ; There is no name validation.  If PHP can't find an expected3 J! p0 M! G# K9 {* ^
  41. ; directive because it is not set or is mistyped, a default value will be used.' ^# @! H" K/ ~, d& a5 a% y
  42. 1 q# @5 e0 [: k+ ]( L% S5 I' q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one  c4 F2 Z. [# u9 C
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 M! L9 b8 {# e* R- K. L6 j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a' T- A- r) T: D1 }6 S
  46. ; previously set variable or directive (e.g. ${foo})
    & A: R; y  @; t' e6 r) ~- O
  47. . L, [; e$ e4 B$ \& D9 j& M) V8 G$ a
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% X" M$ c3 a0 q( a" x2 z
  49. ; |  bitwise OR
    1 [8 q: C- r. |0 u1 a' p0 L* W
  50. ; ^  bitwise XOR9 E# b8 d6 E6 [# b# U: o
  51. ; &  bitwise AND
    ' j9 x+ v  O  f- ^: J
  52. ; ~  bitwise NOT& z: j2 \4 k4 }1 x$ W& e
  53. ; !  boolean NOT
    2 h$ b! W( S6 Y3 b; P
  54. ; F3 B) x: L- \6 X% i# P2 x
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' A  J, f* V- ^  k. }
  56. ; They can be turned off using the values 0, Off, False or No., Z( m  p  x% x1 K; p. Z$ |
  57. + w, y! l& g) o7 g" M2 z0 z
  58. ; An empty string can be denoted by simply not writing anything after the equal
    # t, Y! c2 w% {9 _
  59. ; sign, or by using the None keyword:: ]6 z6 g7 I2 l# ]$ u
  60. 1 J; W' g4 |5 d, {
  61. ;  foo =         ; sets foo to an empty string4 k. e* v+ h+ X6 J9 S' r
  62. ;  foo = None    ; sets foo to an empty string
    / p5 y1 }! S3 b. R. U
  63. ;  foo = "None"  ; sets foo to the string 'None'( Z; L9 C1 G9 }, E, ]
  64. + D: e. V2 H% @5 x
  65. ; If you use constants in your value, and these constants belong to a
    6 x- G4 g( G! u( ~2 H- X% G) Q
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),! l6 `# d2 d2 j+ y/ ~
  67. ; you may only use these constants *after* the line that loads the extension./ ~, j9 a& U/ b" u5 j$ M& x# C, Y
  68. 3 F; s. N0 D" @  H0 T
  69. ;;;;;;;;;;;;;;;;;;;
    , @% N# J' v" C* c  }" E5 p
  70. ; About this file ;
    6 C5 N5 x- k) w
  71. ;;;;;;;;;;;;;;;;;;;: X" g- V  I) o# G8 c
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ' [$ @; j4 g% Z  V+ X  i$ G
  73. ; in production environments and one that is recommended to be used in, ~2 d- y, P- H
  74. ; development environments.
    ) c* g/ z& @. ]2 N( Y# A) `! a

  75. & _. g0 d3 x, @+ h  [
  76. ; php.ini-production contains settings which hold security, performance and
    8 n' f$ u2 ~( \4 e4 W9 Z
  77. ; best practices at its core. But please be aware, these settings may break$ @1 D1 z+ r, ^. f  \* v; E
  78. ; compatibility with older or less security conscience applications. We' x! a7 ]  {  V+ w: o) B
  79. ; recommending using the production ini in production and testing environments.9 W7 @1 ^* K4 h* l$ i6 K5 j

  80. 7 r7 w4 Q- R: O: J/ b- F  e
  81. ; php.ini-development is very similar to its production variant, except it is* V# h9 h/ Q: c3 w  }2 t. D
  82. ; much more verbose when it comes to errors. We recommend using the
      b  L7 b6 d- H& N# \% b
  83. ; development version only in development environments, as errors shown to) Y) a! z1 t5 z  C0 J* ~$ h. y
  84. ; application users can inadvertently leak otherwise secure information., B3 j; d9 e$ \- N3 r

  85. & g% A2 m# t4 W! H0 @9 K0 q
  86. ; This is php.ini-production INI file.0 I" ~( i  E6 w
  87. 0 X9 C4 U: F6 q9 X  |
  88. ;;;;;;;;;;;;;;;;;;;+ x+ Y. U, r: S. h
  89. ; Quick Reference ;! K0 ]* {* J8 S. T. \
  90. ;;;;;;;;;;;;;;;;;;;
    - P8 c) w- l5 W
  91. ; The following are all the settings which are different in either the production* T' {& W) T# Y) ^
  92. ; or development versions of the INIs with respect to PHP's default behavior.% t6 r5 K; F, g; v& @+ s( y
  93. ; Please see the actual settings later in the document for more details as to why; M+ t, M$ n; o  N
  94. ; we recommend these changes in PHP's behavior.
    9 v8 L- x# p1 I$ s  t& \# p6 i$ B
  95. 8 l; i  F; |- E' K
  96. ; display_errors- Z. N$ U" ~% o* I5 D7 G0 m! G8 D. Z
  97. ;   Default Value: On
    7 @! w4 X6 r- H1 o/ @
  98. ;   Development Value: On3 b- T) R- H6 A. r4 E
  99. ;   Production Value: Off
    4 C  m' ?5 l+ s! T

  100. 6 j1 D: e) d- K* f9 _
  101. ; display_startup_errors/ J3 R$ `( A$ p$ b, {; r
  102. ;   Default Value: Off
    % p% |0 I2 P6 F* c1 h9 L3 ^# }
  103. ;   Development Value: On
    8 U2 K( U; A' Y! `: a) h1 p
  104. ;   Production Value: Off
    7 B* N) ?0 s% {! O6 Z
  105. ' {+ U, k1 h% O# p) Z' |+ v
  106. ; error_reporting  s! W. A; n; C7 c" T) ~
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " r) w( K" c: U* e, c# V0 E4 s
  108. ;   Development Value: E_ALL
    8 w" x& }: H" @# p, g) v
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT- q9 o: V: n+ L/ v2 a4 z* @" X

  110. ) T# A& _$ V- A' ]+ M+ c0 X
  111. ; html_errors) A$ w- O( Z: W8 Z/ J
  112. ;   Default Value: On4 Y# \. f! l9 A# r2 Z
  113. ;   Development Value: On, d9 r9 ^; m: {
  114. ;   Production value: On* d- I7 n1 Z4 y

  115. 8 J  \1 S8 L. E/ |+ [% V
  116. ; log_errors2 w8 K( F! E+ j/ T
  117. ;   Default Value: Off
    8 s2 j0 x. ?2 e$ I" s1 i
  118. ;   Development Value: On  n$ K, m. V; x! r$ @
  119. ;   Production Value: On3 x4 i& W$ p* d' X9 P2 B  C7 b
  120. 9 ?# ^' A  {; Z9 k
  121. ; max_input_time
    ; v8 R7 O* M0 s$ ~* y* }2 b4 q
  122. ;   Default Value: -1 (Unlimited)
    " @, y& ?) Q: D( |
  123. ;   Development Value: 60 (60 seconds)/ v  |9 n  z: J% D, m$ D- s7 F2 h
  124. ;   Production Value: 60 (60 seconds)
    9 P9 s' l& B& T8 R5 s, ~
  125. 3 i, d4 f) q7 o
  126. ; output_buffering
      S! a- ~9 Y5 F/ P# e* Z0 O
  127. ;   Default Value: Off
      H; ?# M5 J; A( [0 [9 m
  128. ;   Development Value: 4096
    ) I7 a! E6 _  o& |2 I1 o& r+ E
  129. ;   Production Value: 4096
    - _8 Q4 h3 d! U  V+ B" q) ^

  130. 8 n2 k9 e& V! C/ w  i0 h# F/ S
  131. ; register_argc_argv
    1 p' p& j; k0 B8 h& z3 e
  132. ;   Default Value: On8 r, n( b& W8 @) S, ]; }2 F
  133. ;   Development Value: Off
    4 b1 S! k% w  N/ f
  134. ;   Production Value: Off* T  O+ |9 G+ n1 H" g

  135. 9 }+ p6 V  M" }# R
  136. ; request_order' k) b, Y' i+ M, l) U; l& u
  137. ;   Default Value: None
    . y1 k7 k- l+ `3 a0 j
  138. ;   Development Value: "GP"+ Q6 k3 W/ G- O* j
  139. ;   Production Value: "GP"
    6 I8 P& M, h$ V9 _. e

  140. % }6 W4 M  N, P) ~, W2 N2 G% ]8 L7 f
  141. ; session.gc_divisor
    ! [1 v6 r; s0 u  W0 E, z+ p2 k
  142. ;   Default Value: 1001 [4 j3 r$ p  u) c# q
  143. ;   Development Value: 10003 e( [0 n- _* o4 z' m$ V
  144. ;   Production Value: 1000$ h1 }- i+ v: H
  145. 0 F/ W0 a& _- x; m; w/ d
  146. ; session.hash_bits_per_character8 M8 @3 K0 ^, m( L" ~" X1 C* i
  147. ;   Default Value: 4
    # E  \1 m0 v, ]' c/ A  u
  148. ;   Development Value: 5
    0 h; ?! c8 y) e9 U, Z' ^2 v! a6 S
  149. ;   Production Value: 5, m4 r2 i- J9 L" y+ T" W) c: x
  150. 4 u9 ]+ K' n6 f* O4 @, u8 r
  151. ; short_open_tag
    ' |' W  D3 k) Y% b' k. v0 W
  152. ;   Default Value: On8 U4 \6 r' w$ Y1 v& u
  153. ;   Development Value: Off& `# A7 @7 @# @4 ]' {5 z
  154. ;   Production Value: Off* O+ {- _& Y* ?* v  ]' E

  155. + v+ i1 n& Z7 j8 h1 f! I
  156. ; track_errors
    1 t% o1 N! D1 X4 S, z! V+ \% s
  157. ;   Default Value: Off6 d6 B& G7 W' g3 w$ G" M
  158. ;   Development Value: On  G* D, h: F( }; M% [7 u5 {0 w0 J9 w
  159. ;   Production Value: Off& m) X) o: [* P8 Z( F* S! ]- @
  160. 9 t/ Z! B$ n5 D8 L# c& b7 q/ w/ U
  161. ; url_rewriter.tags( u# [4 H! T6 v3 S2 Q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  W# e3 `1 r/ K& {( ?% u2 R; Z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 k+ ~( L* [) l9 i' R& v9 p
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 D( c" C: k; ]# r& z
  165. 9 O% J, `  h0 @) y0 c  v$ D
  166. ; variables_order3 e9 n# N3 V: |# b# t
  167. ;   Default Value: "EGPCS"5 e0 `" q& V+ g% w: Y7 n& u
  168. ;   Development Value: "GPCS"6 ]8 Y/ ~$ x. H
  169. ;   Production Value: "GPCS"7 g* g. `1 x- c1 R+ U

  170. : q/ e, }  T* G2 o
  171. ;;;;;;;;;;;;;;;;;;;;
    7 u. T& F- ~$ l% h0 o2 @' ?
  172. ; php.ini Options  ;
    4 M/ C* e6 U: Y5 V8 `- F
  173. ;;;;;;;;;;;;;;;;;;;;7 U! H) h* Q& s8 B: R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    $ o0 ^* P2 }2 ?% |4 C% J
  175. ;user_ini.filename = ".user.ini"
    , d; h! t8 e) K+ ^

  176. ! Y$ Y$ u  N! `' x4 U, l3 v( i
  177. ; To disable this feature set this option to empty value
    2 Y) ~# [. A# ^" d% r. q
  178. ;user_ini.filename =8 f3 @3 v4 P1 P5 F+ L& i5 A

  179. 9 a+ l; P' s! A" w! c3 l- `5 i
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)1 H  I* f+ P8 c2 a& p
  181. ;user_ini.cache_ttl = 3005 R! b8 M5 N/ B9 ~% B

  182. " \( ]$ g! C4 y
  183. ;;;;;;;;;;;;;;;;;;;;
    2 W# N9 _* X$ k
  184. ; Language Options ;* h  z* a; J! u; D" M
  185. ;;;;;;;;;;;;;;;;;;;;! }" T0 L( ~! c6 @/ Q( U
  186. # q% \4 S: T& m
  187. ; Enable the PHP scripting language engine under Apache.
    , g, P* }; T& n7 w: R% F
  188. ; http://php.net/engine1 G+ N( ?0 d% b" [& `+ f' v" l0 l% ?
  189. engine = On
    ( y( ^$ T4 \8 M0 j
  190. * J) u' j8 C4 x5 m; p2 m# U+ s
  191. ; This directive determines whether or not PHP will recognize code between
    0 R! n8 ^" p4 D" I5 f# F
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    # C! H* A2 ]6 N% {+ c5 @- N( ]
  193. ; generally recommended that <?php and ?> should be used and that this feature
    6 T+ C7 u0 r- V+ ]+ G
  194. ; should be disabled, as enabling it may result in issues when generating XML1 m8 N5 A; @0 r+ r
  195. ; documents, however this remains supported for backward compatibility reasons.% b, e% J( d1 q5 T& ~
  196. ; Note that this directive does not control the <?= shorthand tag, which can be$ ]  v0 U) N1 ^: X3 N1 t
  197. ; used regardless of this directive.
    1 o- E  j  I5 M
  198. ; Default Value: On
    $ D, h+ d" D8 h/ V- z( F3 j3 F
  199. ; Development Value: Off6 H0 [$ I6 q, u7 s* q
  200. ; Production Value: Off
    9 u, ~- o! S/ I8 ^
  201. ; http://php.net/short-open-tag
    3 y8 t5 t# Z$ }0 y
  202. short_open_tag = On
    0 p  K  p8 ?4 C4 g2 s: M
  203. # S2 E% r: S7 h7 f, U* [. f
  204. ; The number of significant digits displayed in floating point numbers./ _- h7 Y" M. V1 w* a* T% P" M
  205. ; http://php.net/precision
    ! b, D6 ~, k4 h) O1 B- Z
  206. precision = 14% D, k/ V6 ?7 Z3 i1 o) c, F) w
  207. ; p" \% E/ |& r6 R8 h# F6 L5 O! E
  208. ; Output buffering is a mechanism for controlling how much output data% l  \: l/ L+ b) s+ l! s
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - x* D: `, \. n$ a: M) D
  210. ; data to the client. If your application's output exceeds this setting, PHP6 H1 L$ P  J0 T7 o$ o  W, l2 T
  211. ; will send that data in chunks of roughly the size you specify.
      @5 T1 ]* x5 N$ o# ?0 P
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ; C1 d; U2 x3 t& y# l& Z& l
  213. ; interesting side-effects depending on your application and web server.1 e- m( {1 p0 K/ [
  214. ; You may be able to send headers and cookies after you've already sent output+ Q( j% T3 Q  ]
  215. ; through print or echo. You also may see performance benefits if your server is$ i' D. ~' Y6 B
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    % j( c# w. m+ [) Z" ^* w8 |
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    4 P" C. {: z. S2 s
  218. ; reasons.
    0 q- o7 C$ L/ U8 Z
  219. ; Note: Output buffering can also be controlled via Output Buffering Control" {* s- n# F: |
  220. ;   functions.
    % [. _/ a, \% U
  221. ; Possible Values:% t, q3 C+ f( _8 C( M( C
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( r2 E3 m% G; [- D8 [5 p! J1 _
  223. ;   Off = Disabled$ @) E+ y& C: K( B# Z( u
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    & o% k  T" [, W2 P  _
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI' }1 i, R% L. s7 |7 _9 k
  226. ; Default Value: Off3 V0 a  A$ G4 N9 \, j- R
  227. ; Development Value: 4096; h% [! b, `6 o' r- i- o6 M' {8 R2 s
  228. ; Production Value: 40968 @9 b7 O0 j# U* ^+ L# `
  229. ; http://php.net/output-buffering/ H/ v0 E* K* h) }/ U+ v& m2 h& C
  230. output_buffering = 4096
    & R; V  i* g2 Z/ g& a  |

  231. ( W5 F9 G- X* \. a- F3 m: W- @
  232. ; You can redirect all of the output of your scripts to a function.  For
    / g" K  S8 Q0 i  s7 I; C( M, s" r
  233. ; example, if you set output_handler to "mb_output_handler", character
    0 e) G9 y8 `) [5 B; A1 y* v' M* D$ ]
  234. ; encoding will be transparently converted to the specified encoding.
    ! t; x# R  Q. N
  235. ; Setting any output handler automatically turns on output buffering.5 u9 ~  s. g7 V
  236. ; Note: People who wrote portable scripts should not depend on this ini! [! U% o7 ]5 o+ h3 C
  237. ;   directive. Instead, explicitly set the output handler using ob_start().! m+ H2 R7 z% b& q2 F$ d5 b, i( V( }
  238. ;   Using this ini directive may cause problems unless you know what script
    # r. L, u: F1 k9 j/ }1 n; T" o2 |# R
  239. ;   is doing.* \3 s4 M! g# S0 g
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    : q. |. V' M7 F, A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    $ \8 U+ }; o, Y- L" ^* A. m
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( d, R  l2 Y; ]1 L/ A1 V1 ~
  243. ;   Instead you must use zlib.output_handler.$ ~/ [( Y) C0 w
  244. ; http://php.net/output-handler4 ^3 p4 {/ v. ]* b3 v* \) v  ?' Y
  245. ;output_handler =6 r- P8 K! L# w5 b9 a( b! r
  246. ' g; c2 U3 t) D& a
  247. ; Transparent output compression using the zlib library
    , @; W0 p9 U0 f- W2 [
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size4 b$ L8 x* W$ n. x
  249. ; to be used for compression (default is 4KB)6 O+ A: a' q2 `2 Q: i$ S
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 G8 ]1 l- t- c
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    0 p# p: G$ k5 V7 x4 Y
  252. ;   compression. If you prefer a larger chunk size for better1 n9 a' N  r' k1 ?
  253. ;   performance, enable output_buffering in addition.
    % C1 q4 M8 c1 P$ e( I% N. Z# }
  254. ; Note: You need to use zlib.output_handler instead of the standard3 }- l) s- [  u) g) J
  255. ;   output_handler, or otherwise the output will be corrupted.( [0 H- |( K3 P3 U4 ^/ d- V8 V
  256. ; http://php.net/zlib.output-compression1 a* o- |: F( r$ v
  257. zlib.output_compression = Off
    : W& B, y" M  v! |7 @6 M! D2 D: |

  258. 1 l& {. m6 }& B
  259. ; http://php.net/zlib.output-compression-level
    9 M6 Z. c( M7 R
  260. ;zlib.output_compression_level = -1
    " P; H1 \5 a) M$ ~
  261. ' c" |2 c) g' G( B  F4 p! ]" L3 N
  262. ; You cannot specify additional output handlers if zlib.output_compression  x* c* c8 P- q3 b8 _5 c) d
  263. ; is activated here. This setting does the same as output_handler but in
    ) B" I  ?2 n# }  U" O5 E
  264. ; a different order.
      C9 M5 Z1 M, S" p: w* J
  265. ; http://php.net/zlib.output-handler
    * j4 n/ H  ~5 O# m8 b3 x
  266. ;zlib.output_handler =
    * w2 i. ~, O. _9 h) O

  267. ' ?6 t  D1 d$ D6 H$ C+ J
  268. ; Implicit flush tells PHP to tell the output layer to flush itself  v+ m+ @* b. E9 M. \
  269. ; automatically after every output block.  This is equivalent to calling the
    ' g$ e7 P# [2 x+ I* l
  270. ; PHP function flush() after each and every call to print() or echo() and each
    . J8 Y$ P9 K& I" \. [
  271. ; and every HTML block.  Turning this option on has serious performance
    / V: K  e8 R- s6 Q/ D1 w
  272. ; implications and is generally recommended for debugging purposes only.& L' N& N. ?/ |$ O+ Y5 X
  273. ; http://php.net/implicit-flush
    5 z6 I3 ?% R4 q% |- D" P# E
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( ]7 J0 Z2 V4 g: d
  275. implicit_flush = Off
    3 N# a/ D/ }* r) ]2 o' s% H3 `2 l

  276. - b" N( f, M4 _8 Z7 Y( O
  277. ; The unserialize callback function will be called (with the undefined class'
    8 V* D7 E- ]$ u$ j( K$ B
  278. ; name as parameter), if the unserializer finds an undefined class5 s# L$ z4 E. y% q3 T! S* y
  279. ; which should be instantiated. A warning appears if the specified function is
    5 o, i5 ]6 z3 g" l. a; L2 ^
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ' y, B% m  B- l$ z
  281. ; So only set this entry, if you really want to implement such a
    5 ?* R9 K3 Q: V: i. ^2 D
  282. ; callback-function.& w& x) L( i( N. ], f
  283. unserialize_callback_func =
    7 ^9 [# p9 y/ p) L6 K0 V( l" Q! ^

  284. , D! Q$ x8 i/ m; l, R. @3 W
  285. ; When floats & doubles are serialized store serialize_precision significant
    % n3 j: q! {, t' p# Z* X
  286. ; digits after the floating point. The default value ensures that when floats$ ]) O4 m9 r4 t6 z% M. {
  287. ; are decoded with unserialize, the data will remain the same.
    % a: _" A5 B) T- L4 k6 f$ v( E
  288. serialize_precision = 17
    3 d; n" s, e1 e
  289. . h% C$ u; l- H$ C: w
  290. ; open_basedir, if set, limits all file operations to the defined directory) I6 a0 ~; e, N, e
  291. ; and below.  This directive makes most sense if used in a per-directory
    * B2 q4 \6 d% {( s6 Z$ i6 R
  292. ; or per-virtualhost web server configuration file.
    % {" K+ C4 ?$ A( a9 [3 t
  293. ; http://php.net/open-basedir
    5 ^; Y9 g4 @- C. q
  294. ;open_basedir =
      B8 U( L: u: R/ ~1 t0 w# d& U
  295. 9 X) ?3 |* o" c. O1 Q; l
  296. ; This directive allows you to disable certain functions for security reasons.
    $ M% O9 h: w* a+ z' j* X5 E% [4 V
  297. ; It receives a comma-delimited list of function names.
    & l+ W6 z) `' w0 Z( @) C6 K
  298. ; http://php.net/disable-functions
    9 U& l6 {  _8 P8 h1 ]' V4 c
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru+ c8 t5 M1 ^) L- Y. I- S9 S0 c
  300. 0 s( W3 u0 A1 J+ _) U$ R# N6 b' e
  301. ; This directive allows you to disable certain classes for security reasons.
    : {* P  G& p& ]& c) o' \: S
  302. ; It receives a comma-delimited list of class names.
      V3 O  p7 _3 d/ B) Y
  303. ; http://php.net/disable-classes
    , P/ r+ u$ F5 P$ F
  304. disable_classes =; L6 `7 b6 N% u' a% {4 F' m( O5 i

  305. 2 k. i/ v, M: |3 m# J+ b
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in, `) L* E" C3 o( q% _1 D8 N
  307. ; <span style="color: ???????"> would work.( h% ~+ w5 ~. o' ?+ N3 c$ N6 t
  308. ; http://php.net/syntax-highlighting! }6 d/ i+ ]3 N9 g! i
  309. ;highlight.string  = #DD0000% G7 ^7 X' y1 B( t9 [+ b# A8 O" Y
  310. ;highlight.comment = #FF9900- X4 M" V4 s' O0 S# W- k* s0 L9 E; |6 P" r
  311. ;highlight.keyword = #007700
    3 f! p  v& E" b3 K' D( t
  312. ;highlight.default = #0000BB7 u& q; z$ v3 ~+ j' X. y& I
  313. ;highlight.html    = #000000" B4 ]3 }7 w3 Y  `
  314. ) O7 Z% ?* v2 p2 D
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    : W3 o2 V0 O! ?
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ; O3 O: l' N1 n! }! l) T, M
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    - H8 p4 [* S" Z4 N3 }( p1 L
  318. ; is to disable this feature.3 f; S2 _- M, o! _
  319. ; http://php.net/ignore-user-abort
    - \$ L( n' x. Y  I. [
  320. ;ignore_user_abort = On3 M$ b0 [( o/ L8 Z
  321. ; K- Z; \' {2 t& p
  322. ; Determines the size of the realpath cache to be used by PHP. This value should- e1 h/ Z  v4 Z" E2 S
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    : H. I& r; a' d: I" f/ i5 c9 p
  324. ; the file operations performed.0 o! x6 A' {4 g4 `# g
  325. ; http://php.net/realpath-cache-size
    ( @: \/ `8 ^( ?% h& M
  326. ;realpath_cache_size = 4096k
    # ?+ v- e2 ?( [0 K5 I" x

  327. # C- V2 Q# X8 Y* m+ ~
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    $ U- I" s5 a1 N5 Y" @4 H
  329. ; file or directory. For systems with rarely changing files, consider increasing this! \$ g9 N! @1 c/ ?
  330. ; value.
    : j( r1 Y8 w/ X7 w  _5 O
  331. ; http://php.net/realpath-cache-ttl
    9 Q" P* q& J/ E" g& Q
  332. ;realpath_cache_ttl = 120
    4 u8 Z( l2 A$ g/ v9 o! w
  333. * l  j) r6 L1 G9 r  O. o* H1 _
  334. ; Enables or disables the circular reference collector.( `1 v3 M- |4 l! N
  335. ; http://php.net/zend.enable-gc, Q( o! r' f& C8 f
  336. zend.enable_gc = On
    5 |2 ^; K0 C9 w
  337. & A8 C9 x) t$ |* O0 @3 U1 f
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    5 K% Y  G) x' O8 @$ s) f
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such. j* l: I3 s1 ^  e! O6 K
  340. ; encodings.  To use this feature, mbstring extension must be enabled.! e! ~1 {6 h9 |- r, Z1 S
  341. ; Default: Off2 j4 P7 W2 ]" K! x% U; t# a
  342. ;zend.multibyte = Off
    % R7 Z& j( Q! s: Y

  343. 6 |5 ?. ^/ m8 F
  344. ; Allows to set the default encoding for the scripts.  This value will be used% @% H3 N$ t4 ?: W9 P
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 N2 }, T6 N1 C
  346. ; Only affects if zend.multibyte is set.
    3 D# S" h3 P4 K6 W, _! {
  347. ; Default: ""5 l9 R( h. D5 e  X7 N9 ?$ O5 a
  348. ;zend.script_encoding =
    4 B( g0 a4 b6 |& Z% A/ K3 M3 Q0 a& b
  349. 0 v1 B9 c$ k9 V8 T* \$ U) W. X( v& g  O
  350. ;;;;;;;;;;;;;;;;;
    + k& l9 @" Z' B! y9 M# E: B
  351. ; Miscellaneous ;
    $ s) |' H) V0 c8 W; X
  352. ;;;;;;;;;;;;;;;;;5 u4 L9 l# c( Y4 `  k5 b
  353. / x$ g" q3 d+ G1 e* |
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! ~( O5 U+ l# ^: i* {3 v
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    , X8 Q$ q. A4 c2 K# [
  356. ; threat in any way, but it makes it possible to determine whether you use PHP1 L( E+ k% x3 b0 ^9 u8 Y8 D
  357. ; on your server or not.
    4 V, i. s! T) v( Y
  358. ; http://php.net/expose-php7 G+ s3 {6 l2 R' M0 L: B9 ?$ Q
  359. expose_php = On; K' g8 M1 z% D* Q- k
  360. ) X" ?, P1 E; w7 {
  361. ;;;;;;;;;;;;;;;;;;;# B3 h8 W: t: U9 c
  362. ; Resource Limits ;9 ~0 e) o4 Q7 }5 I0 I
  363. ;;;;;;;;;;;;;;;;;;;
    1 R/ O- v* d! n% e- ], v
  364. 1 N- f1 s; K; x2 k& a' B
  365. ; Maximum execution time of each script, in seconds
    * ?# z/ X6 N+ y6 K; g& E( F
  366. ; http://php.net/max-execution-time% s5 Y  v! y$ ^) n) B
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    * P1 i: ^0 ?  w+ z5 N
  368. max_execution_time = 300
    6 r) E0 S" M/ i$ E# B7 c/ f9 |( n% y
  369. , U$ d$ c* x1 V5 t. \2 _6 r
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    2 i+ |5 R$ r3 m! f$ Q, K
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly" y9 b! b0 x' Y
  372. ; long running scripts.6 f# z2 A' j0 Z0 }8 W
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI; C* @) Y7 c# ~8 W, z8 T% _: R
  374. ; Default Value: -1 (Unlimited)- y+ t; H( k; w8 W- ^3 ?3 e( L* H# v
  375. ; Development Value: 60 (60 seconds)
    " L) [6 g" J( `# {
  376. ; Production Value: 60 (60 seconds)# C" f0 v5 K; p. W+ ?6 ~
  377. ; http://php.net/max-input-time* J! B9 J3 o0 C/ p! f1 K6 ?
  378. max_input_time = 60
    9 W; Q; q" a9 _) y

  379. : U+ o) p' ?& a/ c3 R" b
  380. ; Maximum input variable nesting level
      _+ l7 ?* ~7 i9 U7 Y
  381. ; http://php.net/max-input-nesting-level0 Y9 ]6 K  E0 G9 s1 Z
  382. ;max_input_nesting_level = 64$ ^6 t( E% }- c7 C# T1 F  H
  383. " M1 [, g7 l4 L. y* o3 }0 `- a
  384. ; How many GET/POST/COOKIE input variables may be accepted
    " V9 v/ |0 V8 k- N8 E
  385. ; max_input_vars = 1000- i1 G: l( B* L2 L; }
  386. # ]1 c3 R% P0 X& U4 L
  387. ; Maximum amount of memory a script may consume (128MB)
    4 z* r/ @' b3 ?$ G* S
  388. ; http://php.net/memory-limit
    5 M9 z) g1 `7 @: U
  389. memory_limit = 128M, y/ `0 e; h2 F: E' [' t1 y
  390. 0 z  w6 W" {8 n' L5 r2 B! j5 `
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( R- B( H! w1 v- w) g
  392. ; Error handling and logging ;
    2 O* A3 c- C7 b* H8 W, G% O/ {
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% k/ t+ H1 x; V# J

  394. : j7 O7 U% m& m
  395. ; This directive informs PHP of which errors, warnings and notices you would like5 R( `. |5 k6 H
  396. ; it to take action for. The recommended way of setting values for this
    / Q1 h6 h) h+ o' o8 ?$ c" N
  397. ; directive is through the use of the error level constants and bitwise% a1 G% ~, J( G- h8 [: s
  398. ; operators. The error level constants are below here for convenience as well as" o  c* _0 B4 w* _
  399. ; some common settings and their meanings.
    , [* M9 h+ D! o1 U
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    6 E4 D& J$ x; Q/ o
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    8 K1 g1 O5 n9 W. |# b$ ^8 t
  402. ; recommended coding standards in PHP. For performance reasons, this is the' `0 f, o  a0 f8 ]
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    , n. P$ t& x% f; k
  404. ; resources complaining about best practices and coding standards. That's what
    ( M- Q0 c1 k8 c! S
  405. ; development servers and development settings are for.
    ! B9 {7 |: s+ u5 K" a$ e
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    & ]/ j( n3 X9 |7 C- C
  407. ; means it pretty much reports everything which is exactly what you want during* u/ w2 V9 ]' P
  408. ; development and early testing.
    ; a% i6 n( j# J0 [7 e8 U; I
  409. ;
    ' e& |  p% m6 m- k
  410. ; Error Level Constants:
    $ E! w$ x" A9 P, h; {
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 d2 b% Y7 W2 f) p: Y
  412. ; E_ERROR           - fatal run-time errors
    ; Q3 P* w0 W$ h; f) p0 ^# w
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 c* r" n4 b; N
  414. ; E_WARNING         - run-time warnings (non-fatal errors)  ?7 O" x% l2 S; o9 n: q/ S6 ]  w
  415. ; E_PARSE           - compile-time parse errors2 X9 q! I( X+ c( N$ |4 d
  416. ; E_NOTICE          - run-time notices (these are warnings which often result* ^  q& v! K& l0 t$ i1 x" M
  417. ;                     from a bug in your code, but it's possible that it was
    : i/ s! t% b( {2 M% C8 b. U4 U6 e
  418. ;                     intentional (e.g., using an uninitialized variable and
    : }7 F1 C* ?9 }8 E& g: w0 y
  419. ;                     relying on the fact it is automatically initialized to an+ ^9 d3 x: t8 R% d. C/ a; C
  420. ;                     empty string), T! \7 e  d/ E+ e
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 Z- e: Q3 M! s" w6 K: C% N
  422. ;                     to your code which will ensure the best interoperability
      X+ C0 K) F6 D
  423. ;                     and forward compatibility of your code. ]! T) v/ Q( g) L
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup) D, N; s( ]2 v/ s. Z' \5 K
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    . m1 M4 S+ _% Y4 x2 v
  426. ;                     initial startup  a, C  G% D% G0 o  F" a* ~
  427. ; E_COMPILE_ERROR   - fatal compile-time errors' C  e* r6 {) s
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; m' t* v* R+ U2 _* J- T3 G9 G
  429. ; E_USER_ERROR      - user-generated error message
    6 }6 C8 i5 W# S8 ?$ t9 i/ [
  430. ; E_USER_WARNING    - user-generated warning message, L7 w" O7 W& L% Z
  431. ; E_USER_NOTICE     - user-generated notice message- X; R) R% M0 h+ z% {! E7 Y
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    % J! d" `. [  E" e
  433. ;                     of PHP
    " q" g( s9 b3 }' K4 D# ?
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings0 t8 C9 t4 A# v. v1 V
  435. ;
      U2 p" Q+ V4 V$ h& W, A9 p8 W& D/ B
  436. ; Common Values:& N0 w9 S9 a* p8 ~& \" f
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 K0 P5 D0 z. E7 {, r
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    " S$ X4 \6 d2 N$ t% n; Q$ _/ G
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)& ^. x# {/ g0 l' n% N
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ) H  G; A" ~( ?4 b( G2 T
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 h8 r" c# A  S& i, L9 E9 s
  442. ; Development Value: E_ALL4 G$ E; ?* E# [5 }
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT6 a! m+ f, o- x3 a( E, W9 B
  444. ; http://php.net/error-reporting6 ~) J+ m6 x/ |
  445. error_reporting = E_ALL & ~E_NOTICE( r' e0 j. e0 g
  446. $ s/ J6 p: h6 z4 _' o: K  J  z
  447. ; This directive controls whether or not and where PHP will output errors,0 m' r2 c9 o% {; e- d
  448. ; notices and warnings too. Error output is very useful during development, but
    / ]2 j) o$ L* Y. _7 A
  449. ; it could be very dangerous in production environments. Depending on the code7 {$ q. {% J& U( n# i4 J
  450. ; which is triggering the error, sensitive information could potentially leak
    ' n, f3 y% @& j8 l
  451. ; out of your application such as database usernames and passwords or worse.
    2 ^. l( @0 m6 F- y# ^: C. _
  452. ; For production environments, we recommend logging errors rather than# t7 b" w- ]  i: |: K2 E
  453. ; sending them to STDOUT.
    ; l: G+ V9 p3 @3 O8 C
  454. ; Possible Values:
    . T1 l' h$ F/ d. ?1 s% ~
  455. ;   Off = Do not display any errors
    9 V: c; u' T5 ^0 C9 b
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    * J! C6 ~1 _6 b2 u/ i! U5 s
  457. ;   On or stdout = Display errors to STDOUT
    " a' Z1 p9 Z# d  _( k5 V  \0 f- m" r
  458. ; Default Value: On( ~' C- w4 z' a2 A: U( o
  459. ; Development Value: On! x' Y: h% \5 a2 j, n, p. [
  460. ; Production Value: Off3 P* [# G! N' X# I  G
  461. ; http://php.net/display-errors
    4 ]6 f# Z3 ?8 ~2 B7 o8 n4 P+ f7 r
  462. display_errors = On+ e  {  F0 \& v
  463.   L* M1 _/ N7 S# t  v
  464. ; The display of errors which occur during PHP's startup sequence are handled3 n1 z1 m9 K$ `! U* m+ o
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ' @: w# ?2 _1 `" I4 Q: Y
  466. ; errors from clients. Turning the display of startup errors on can be useful in& I4 D$ H1 Q% S% u. u9 L7 ]2 A
  467. ; debugging configuration problems. We strongly recommend you
    9 h1 ^2 U) \/ N, D, Q) z
  468. ; set this to 'off' for production servers.% ~; x% a, [' E) U' m8 H+ g
  469. ; Default Value: Off
    ( ~+ i, ~8 y6 k! \' n5 Y. K
  470. ; Development Value: On: \4 W4 ^% ?0 i
  471. ; Production Value: Off
    & Z! v- }  |. E0 d5 j
  472. ; http://php.net/display-startup-errors9 L2 |* \6 u! K
  473. display_startup_errors = Off2 q  |8 S% Y3 Q' T) e! u! W

  474. : k* J$ D' s' ^
  475. ; Besides displaying errors, PHP can also log errors to locations such as a/ h) ~2 r# D/ S" D9 H
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ! \2 h( @. j" L# s: \7 i+ a
  477. ; directive found below. While errors should not be displayed on productions# ^3 M: p( Z& j* i2 a
  478. ; servers they should still be monitored and logging is a great way to do that.& H+ r8 W4 ?4 |1 l* n* D
  479. ; Default Value: Off
    5 F( u- ]1 J: Z6 S4 n' H
  480. ; Development Value: On
    ) d! B" f/ Q' I2 F' p% u
  481. ; Production Value: On
    ) `! x: Y% ?5 W  e
  482. ; http://php.net/log-errors
    & {; F4 `% B" C5 x$ t
  483. log_errors = On% ^2 F6 y1 u) K+ U

  484. 3 K1 I3 v3 S) W# M& C; B* G
  485. ; Set maximum length of log_errors. In error_log information about the source is: ?1 K% K$ n+ F( t1 w. K2 z
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    8 E+ c7 W7 s4 ~  R
  487. ; http://php.net/log-errors-max-len
    ( e* }8 ^) g  S+ Y) Y; C
  488. log_errors_max_len = 1024
    / X/ F0 r4 k, _1 ^$ H& l% i
  489. # j* C9 U# ~$ a  m: j1 B2 Q
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : ?" h6 e/ W. n! ~
  491. ; line unless ignore_repeated_source is set true.$ @. s5 i4 L" l3 Z  Z
  492. ; http://php.net/ignore-repeated-errors7 {3 |9 O3 ~/ m
  493. ignore_repeated_errors = Off" M/ Y- S0 Y* M' p* D
  494.   e4 }4 F+ _3 Y4 S3 E
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    & N5 }5 m& r' z/ ?+ {% t5 w
  496. ; is On you will not log errors with repeated messages from different files or
    " J  n# f! f% W1 f" p" |/ {, b
  497. ; source lines.
    ( t$ q/ H% s* `8 }% e6 l
  498. ; http://php.net/ignore-repeated-source
    : s- V+ ~/ b' E0 I+ F! U
  499. ignore_repeated_source = Off
    # Z- f' c9 n6 y0 y

  500. $ z+ a* c+ m5 C) @8 O
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , I  A4 f# X+ u- e0 W' X3 ]; A+ D
  502. ; stdout or in the log). This has only effect in a debug compile, and if3 _, V7 \; }: K8 ^1 M( e/ [$ X. B
  503. ; error reporting includes E_WARNING in the allowed list9 M& q* R) Y0 g) l0 G& e# m6 Q
  504. ; http://php.net/report-memleaks
    9 E1 m4 |* d2 Q0 \
  505. report_memleaks = On
    0 B! d6 ~3 \0 y3 K* |
  506. 8 @0 X' k9 O6 Y* y' ]5 J% G( Y
  507. ; This setting is on by default.
    5 \! O2 k* ~% g' s: k: q$ `
  508. ;report_zend_debug = 0- `1 U+ P4 w- L; @

  509. 0 D/ }. r1 }) P% m, [
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    " a/ Y2 i, g& x9 o" u  J2 n' N
  511. ; to On can assist in debugging and is appropriate for development servers. It should- F! n  Z: j( f: t8 _( V" E8 W
  512. ; however be disabled on production servers.! l6 ]" U6 ?' Q* k+ a
  513. ; Default Value: Off
    ; H9 u. o3 F. l8 z2 v6 O
  514. ; Development Value: On
    ! e; V0 Q! h! H# o
  515. ; Production Value: Off
    & M3 _0 ]# ~. H  v- ]
  516. ; http://php.net/track-errors
    ) V% I4 M) ~. F. U+ j3 `
  517. track_errors = Off
    1 G2 y! O3 U* y0 t5 x. W
  518. . S" S0 {# w* x; l5 J4 S  Y. m" Y
  519. ; Turn off normal error reporting and emit XML-RPC error XML' {% v5 @/ q1 X/ K( T
  520. ; http://php.net/xmlrpc-errors
    * X4 }5 A$ v* ?9 F4 k% H: C5 W5 \+ ~+ h
  521. ;xmlrpc_errors = 0
    0 N7 _, J- N' o& A

  522. ) m' I* |8 V: U9 x' x
  523. ; An XML-RPC faultCode
    1 i% ]4 ^% X5 S- L8 @
  524. ;xmlrpc_error_number = 0- t0 y+ M7 m  e0 v1 \
  525. : y1 b9 O/ A* y. n* F# m+ e- p$ j) X
  526. ; When PHP displays or logs an error, it has the capability of formatting the7 u/ `6 i' S( u: S2 N, a
  527. ; error message as HTML for easier reading. This directive controls whether4 y* D% B) \" b" Q3 v0 l: Y
  528. ; the error message is formatted as HTML or not.
    - E3 e; g& x; o$ I0 ^( i# L
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , X7 M. G  i! d& {8 t* n5 Q
  530. ; Default Value: On
    5 X" D4 H  C$ u# U1 Z9 p
  531. ; Development Value: On
    - c/ b8 h! }# ~5 W2 Z' j
  532. ; Production value: On& R% w. X: |$ L' Q- u
  533. ; http://php.net/html-errors* X* V+ e: O) z' T
  534. html_errors = On
    , e' x, {+ |5 P% P+ a- W- O
  535. + _& L$ f% X' q8 c: v7 Z# e5 z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP- q9 W% H' }' x3 g( G( r
  537. ; produces clickable error messages that direct to a page describing the error5 k9 H1 d' T) Z
  538. ; or function causing the error in detail.
    & n8 R( I, B( Y! ]
  539. ; You can download a copy of the PHP manual from http://php.net/docs9 T6 w! O& i  Q$ R6 ]: V
  540. ; and change docref_root to the base URL of your local copy including the
    0 M: m; s3 G: L
  541. ; leading '/'. You must also specify the file extension being used including! k4 D2 V- E" l8 R
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which( {! A7 c8 }& m
  543. ; case no links to documentation are generated.
    # `0 k: s5 [& G) z
  544. ; Note: Never use this feature for production boxes.2 x+ {4 s0 a% b* g) m: |& z
  545. ; http://php.net/docref-root
    5 E8 v9 `( s. V  F$ j5 R' p
  546. ; Examples" s- |' f2 ~6 Z# x/ W  A3 r% I
  547. ;docref_root = "/phpmanual/"
    ' C: @, R+ K  f# w3 }2 w
  548. $ K5 j7 z5 T0 M" e' b
  549. ; http://php.net/docref-ext5 S+ V" R) X& y3 g
  550. ;docref_ext = .html8 i4 @9 k( p+ m& q+ M. I

  551. $ t8 F' \+ L0 A" ?  j0 u0 Z
  552. ; String to output before an error message. PHP's default behavior is to leave# [% F! N& X" h' e  d+ A$ H
  553. ; this setting blank.9 j& y. {! ~7 _9 O9 S" r( A
  554. ; http://php.net/error-prepend-string
    & f: X' R0 x& ^" l" O5 L1 F
  555. ; Example:0 E8 ?2 Z) y; C
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    8 A" @/ E4 [* h- f0 y7 P
  557. " a1 S$ i2 {5 G7 J
  558. ; String to output after an error message. PHP's default behavior is to leave  m0 I& A) H  B' [; R
  559. ; this setting blank.
    * k) m' {( E0 I
  560. ; http://php.net/error-append-string
    6 W( V( t4 j: W+ P& }9 B, G$ s
  561. ; Example:0 c/ s' B: [4 Z) V
  562. ;error_append_string = "</span>"% q! k) B& r  B+ w
  563. 9 ~. J& D; H& t9 x% h" C& @2 z6 Q
  564. ; Log errors to specified file. PHP's default behavior is to leave this value+ p" |0 k, ?& d+ i3 v' j: {- a" p
  565. ; empty.+ K& K! ^# x' L4 _0 `5 Z
  566. ; http://php.net/error-log5 ]8 v3 ^* s9 E
  567. ; Example:
    0 ], Q: V# h) n. R
  568. ;error_log = php_errors.log
    " h2 ]4 {3 S( w1 e0 h
  569. ; Log errors to syslog (Event Log on Windows).0 V$ _7 ]) s  k2 j& ]4 b" S, F
  570. ;error_log = syslog
    1 x: |: ?: X' s
  571. ' u' L, s" Z: W( v. f9 x) j
  572. ;windows.show_crt_warning4 W& a% F* K2 [6 A' f
  573. ; Default value: 0/ c5 D" F6 P9 @* i3 _: n/ G
  574. ; Development value: 0
    % \  J/ U- Z, D+ [* A4 o9 P
  575. ; Production value: 0
    5 s4 ]: k% q  S# x5 p% {( o
  576. ; L+ P9 o4 a( m+ E" y
  577. ;;;;;;;;;;;;;;;;;
    & M* e% _0 P. z. M# D, L# }* v' U
  578. ; Data Handling ;
    6 i0 z7 T' L5 K) R
  579. ;;;;;;;;;;;;;;;;;
    # X2 l' U) T# |- a/ `3 y, }

  580. ! s! H# F+ [/ P' h, F0 q
  581. ; The separator used in PHP generated URLs to separate arguments.
    7 `5 S6 c$ l, A3 u; }0 P# g
  582. ; PHP's default setting is "&".* a# O5 n1 R6 u9 [0 n
  583. ; http://php.net/arg-separator.output5 [9 I) h2 `/ L/ q- d" [! U: G  T
  584. ; Example:! ^& j9 ~# v/ W: L5 b5 V
  585. ;arg_separator.output = "&"
    2 K- [7 `5 L' ~( O+ g
  586. : z2 k2 W* J& A$ Q7 F
  587. ; List of separator(s) used by PHP to parse input URLs into variables.5 X3 u/ T8 ?( \9 r; z$ i8 l' v
  588. ; PHP's default setting is "&".
    2 S0 L9 z* j% B, a& P. o
  589. ; NOTE: Every character in this directive is considered as separator!- H* U( M& U% N" l, ^
  590. ; http://php.net/arg-separator.input6 ~7 M1 e1 ]- Q2 w3 S% n8 C+ y
  591. ; Example:0 g) t( i" }6 W- h' y6 d
  592. ;arg_separator.input = ";&"3 f9 K2 K5 M' G: Y4 d+ d' N, h: L
  593. 5 |2 ^! j; z. U( |+ [
  594. ; This directive determines which super global arrays are registered when PHP: [1 ?3 e: R# g2 \" E5 A, ~
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    " ~0 p, Y5 u0 A; N4 Y5 Q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty+ n- u0 v8 R4 A) E( z$ z4 X
  597. ; paid for the registration of these arrays and because ENV is not as commonly! K  x% E: O, s% c% M9 X
  598. ; used as the others, ENV is not recommended on productions servers. You
    - n8 k$ l) {8 p0 y3 A
  599. ; can still get access to the environment variables through getenv() should you$ v& J+ [( v3 ]* @/ G! f( _& ^: @( C
  600. ; need to.
    8 p# W8 O- `! e2 `) d! e  ]. S
  601. ; Default Value: "EGPCS"
    3 X* U4 p! a) M0 V" {# y8 v
  602. ; Development Value: "GPCS"
    * `' j$ q6 C! u* P& ]* h; h# v
  603. ; Production Value: "GPCS";
    * o/ y! r( T2 h5 a1 b  B9 I- Y
  604. ; http://php.net/variables-order
    3 y6 e# ~) a! x$ x
  605. variables_order = "GPCS"* W6 x/ b. h; |; b0 m0 t. R

  606. 0 e0 r5 `9 H0 w
  607. ; This directive determines which super global data (G,P & C) should be) j: I7 Z0 ]; v1 t+ H' r! B
  608. ; registered into the super global array REQUEST. If so, it also determines6 H8 L' v: Q- I* g0 O2 f+ H
  609. ; the order in which that data is registered. The values for this directive
    ' B7 {& T! H6 [1 y6 ^! ^8 t
  610. ; are specified in the same manner as the variables_order directive,
    & K2 ?7 Z4 X  L7 f
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 K9 y/ m( U" w) G' M! |6 P  p
  612. ; in the variables_order directive. It does not mean it will leave the super
    9 \8 O5 t/ l- `+ V$ b6 `$ K( I% s
  613. ; globals array REQUEST empty.. S& o) p, c& M) @* F
  614. ; Default Value: None3 z# r! q( X' H
  615. ; Development Value: "GP"- b' M( A: e- x  H  V4 s! L4 e
  616. ; Production Value: "GP"
    9 @/ r& [. k, ^9 T, t
  617. ; http://php.net/request-order
    ( _3 z2 M3 ~/ Y. J& B* J1 F
  618. request_order = "GP"% O5 g$ t  A) }) h* y4 k- o8 P8 w6 X
  619. * |0 q9 _  }8 ]) c  G% z( t# j( n3 |
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    1 c: l# s# j( n; E/ D
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script( q5 G* j9 y5 j# z. N7 t) z- f
  622. ; is invoked. $argc contains an integer representing the number of arguments
    : c! p, U, Z8 O$ `: x/ H5 \
  623. ; that were passed when the script was invoked. These arrays are extremely
    ! _$ s: J8 q( ~
  624. ; useful when running scripts from the command line. When this directive is
    3 X$ D1 }) C/ k7 j/ B) _: I
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    : {, `" J4 i" G! b) |3 O
  626. ; a script is executed. For performance reasons, this feature should be disabled7 [) X8 i) S& v5 ^* q
  627. ; on production servers.
    : r0 F6 m  l3 `4 `* L1 f6 \1 `
  628. ; Note: This directive is hardcoded to On for the CLI SAPI) W! u% T/ l; w
  629. ; Default Value: On- N0 ?, ^; {4 Y$ W
  630. ; Development Value: Off
    * o( F; z5 o' A+ y* T& \& G$ u
  631. ; Production Value: Off
    $ R4 N; y% Z6 G& T6 _9 h& B8 E. [: t
  632. ; http://php.net/register-argc-argv
    $ C$ M/ U' \. s) j: t# {
  633. register_argc_argv = Off6 D2 t8 B6 m  T. s

  634. , |; M8 {, i7 [: E- P# K
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    + X" k$ k' Y+ b
  636. ; first used (Just In Time) instead of when the script starts. If these
    ( N/ ]' m+ }; b) n4 c: L7 e
  637. ; variables are not used within a script, having this directive on will result
    " b) ?; ^4 n% N+ q$ Q2 t* o
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 b* Y7 e: W  I* X1 ~! `8 }% s/ P
  639. ; for this directive to have any affect.
    1 P" u# p, Q2 R8 C; c" Y8 f
  640. ; http://php.net/auto-globals-jit
    / Z! f  h/ S. g' k7 }
  641. auto_globals_jit = On( F9 O6 P* i! T% U* B

  642. " p9 P7 n% O2 U9 c2 N/ [
  643. ; Whether PHP will read the POST data.
    4 T7 [2 ]; v, @! `* `/ y. D
  644. ; This option is enabled by default.
    4 d2 I1 l1 I% M$ d8 s4 r
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 g% ^9 r- g  B* M7 R9 }; u
  646. ; and $_FILES to always be empty; the only way you will be able to read the8 a& E/ O& _  n8 a
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ( S1 H. N1 J. A  k; ^, e
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.$ T0 f) w& M. f: ]+ B# h
  649. ; http://php.net/enable-post-data-reading
    - P! L$ l1 V* S9 a' M- i' J4 F" ]
  650. ;enable_post_data_reading = Off
    6 O1 k, E5 D5 e" z4 S
  651. : W3 i, v5 @- W& d' m( |6 N! @
  652. ; Maximum size of POST data that PHP will accept.
    ) F. a' r9 L3 B' Y/ I
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading  s# a4 U/ S( {  H. t9 k
  654. ; is disabled through enable_post_data_reading.
    ' y' \6 `( f8 h3 K$ n6 t
  655. ; http://php.net/post-max-size( M  ~+ r$ U' O' j; b5 e6 |
  656. post_max_size = 50M
    . Q+ D+ n3 i. a. U* I+ e) B. \8 P* J5 j

  657. " G; x2 D+ o& x- R
  658. ; Automatically add files before PHP document.+ n$ R2 H( y  A
  659. ; http://php.net/auto-prepend-file' \0 q( K" E7 l/ N! `" _
  660. auto_prepend_file =
    ! U9 L/ E' ~/ s; D0 t& Y
  661. ' c& u/ N! ~3 w: \7 B3 [% [7 t
  662. ; Automatically add files after PHP document.' Q& G! e" G" f& z0 C
  663. ; http://php.net/auto-append-file
    " a# t4 j4 O# @3 f$ y. i
  664. auto_append_file =4 H# j6 a2 s/ T% c* h

  665. - Q8 G( u9 Z3 b8 H
  666. ; By default, PHP will output a media type using the Content-Type header. To# w* o( Z# e1 e) Q
  667. ; disable this, simply set it to be empty.7 O$ m- f8 f  W: S# I. R
  668. ;
    3 P5 G! U) P9 U, P$ a  A( Y
  669. ; PHP's built-in default media type is set to text/html.! Q1 O# V8 H5 W# q1 u
  670. ; http://php.net/default-mimetype8 W$ v7 i' x# e" N" `' h9 {3 M. f
  671. default_mimetype = "text/html"7 h6 D: w! F) i0 o

  672. 0 a$ n- B$ ~# w: ]# d7 J
  673. ; PHP's default character set is set to UTF-8.
    4 T! y! g% O& Y, r
  674. ; http://php.net/default-charset
    ) P$ {3 e! B9 x8 q- J) k4 E4 C0 l7 F
  675. default_charset = "UTF-8"
    " Q7 n" Y9 \2 `* U8 g
  676. 1 ?7 Y8 E' w& ^
  677. ; PHP internal character encoding is set to empty.  {) A" ~5 t0 z2 j& [
  678. ; If empty, default_charset is used.
    ( n% Y5 h7 R1 J, x3 {: M, y
  679. ; http://php.net/internal-encoding
    3 q* T3 k6 Y" K" d$ `
  680. ;internal_encoding =3 l. X) N$ u1 n+ Y% E1 o

  681. ) h' G- J3 z; L+ f% i) n! |
  682. ; PHP input character encoding is set to empty.
    6 L* L! o9 p5 M' w* s$ u- S6 M2 y5 p. }
  683. ; If empty, default_charset is used.
    + u9 c3 _% i5 k% a
  684. ; http://php.net/input-encoding$ e8 o2 S: u6 x
  685. ;input_encoding =* r: p- E2 K. p. d- J% h

  686. * _! i& I8 ^: X* K# k0 L
  687. ; PHP output character encoding is set to empty.. g/ \0 a6 d2 q# P: x: j1 J
  688. ; If empty, default_charset is used.4 s4 H# E6 Q! N, I( }
  689. ; See also output_buffer.& Z' e. n- k8 k! x4 _4 z$ D
  690. ; http://php.net/output-encoding
    4 y1 u( i2 `4 I5 Q8 ~
  691. ;output_encoding =
    1 m, D5 J8 i  X6 ]: c* C8 g* F
  692. . C- G# L3 |. {
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;: l! p  |/ m- {2 M, B
  694. ; Paths and Directories ;
    8 \& s0 n6 F% P4 s4 A- M7 T
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & k9 m# V+ d5 a3 L1 R9 Z

  696.   h6 U. \7 Y8 d' e! m1 L* U8 K+ ^
  697. ; UNIX: "/path1:/path2"
    . `& a4 p4 P# ]
  698. ;include_path = ".:/php/includes"
    ! }% t9 R) z* j& n/ }
  699. ;
    % S7 i2 F8 Z. d1 p
  700. ; Windows: "\path1;\path2"+ Z' n# c& _& p& W4 S
  701. ;include_path = ".;c:\php\includes"
    & ~7 r  Q* s( L6 r9 |
  702. ;
    5 V2 g( |: I/ d* K$ a% x
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 g: ]5 X. \+ D/ G" m' O
  704. ; http://php.net/include-path
    6 I! @+ t# r3 c1 i

  705. 1 X& @. ?5 g) M7 L: f! {; y
  706. ; The root of the PHP pages, used only if nonempty.
    9 n! b& B6 b3 Z! G
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ' x# [* |( Z2 L* V1 x" x
  708. ; if you are running php as a CGI under any web server (other than IIS)( D. S1 ]7 \2 X, @! u5 ]1 ]
  709. ; see documentation for security issues.  The alternate is to use the
    / n: f5 _" h7 c+ Y
  710. ; cgi.force_redirect configuration below0 t$ [9 K5 K7 i1 t9 ]' a) v& |
  711. ; http://php.net/doc-root/ g7 l* t: N2 Y* x
  712. doc_root =
    8 }/ V6 Z5 _; \0 x. m
  713. ( K7 Z) f3 E. @  `* V. M1 o
  714. ; The directory under which PHP opens the script using /~username used only
    & n% n) w% V1 c. _7 S9 K% ]% J9 J
  715. ; if nonempty.
    - E+ T$ V# J5 f& m
  716. ; http://php.net/user-dir
    8 F* m* p0 v2 E" a# b2 K) t
  717. user_dir =% \( U- l% ?6 G, K6 B" ?
  718. ! t6 @) `* T, M
  719. ; Directory in which the loadable extensions (modules) reside.2 V4 o3 w% m0 u- ^- E  \4 Q
  720. ; http://php.net/extension-dir
    5 j& p" `( H2 W+ C" h' C/ x
  721. ; extension_dir = "./"
    ' @  A1 \' p; }% @9 P  [" V* I6 R
  722. ; On windows:
    - k& P* C9 }+ D( ~0 ~% n
  723. ; extension_dir = "ext"+ J6 \7 F5 V/ ?1 v1 p

  724. ; [: K1 r9 C* n6 A/ w
  725. ; Directory where the temporary files should be placed.
    ; f" P/ N( [3 M: ^* o
  726. ; Defaults to the system default (see sys_get_temp_dir)
    - Y# C6 z8 F* ]8 {; R
  727. ; sys_temp_dir = "/tmp"
    0 E6 S: e, S' f! V) u

  728. ) s1 `& q! s& x0 E1 x9 q
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work: J4 C  k0 ~- }8 c3 f
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    5 E2 p  m9 c. o  B/ G' l. H
  731. ; disabled on them.7 e3 m/ @+ X  U  t6 R
  732. ; http://php.net/enable-dl( l6 J7 l5 Z- V5 q% ]; w: o6 G/ x
  733. enable_dl = Off
    % N- [( k, k+ {  c2 a2 _* Q) ~1 W
  734. 9 Y: M" o% z2 p$ i, g! M9 y
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under/ `4 L/ r6 i' H
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    : h" @+ ~1 y+ ^7 H6 A, {
  737. ; turn it off here AT YOUR OWN RISK/ E: x% V/ R+ s) Q' I0 X8 g
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**, r# q2 n) [+ k( t% P
  739. ; http://php.net/cgi.force-redirect) k/ x( z9 g, L' [
  740. ;cgi.force_redirect = 1/ h" b5 k( S) J. q5 l

  741. : O( q$ O: B( w/ [
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with$ K( n6 V% H. ^5 t
  743. ; every request. PHP's default behavior is to disable this feature.0 p9 d# `7 S! {% b% N  n: a* H) o
  744. ;cgi.nph = 11 s/ Y, _2 w) @, w) O8 z
  745. 2 F) O& c- Q7 N' C* X9 Q0 \! h
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    + \- k% W; A& D( F
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( J9 [3 `) ^5 Y
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    8 U6 y+ K. Y% T$ G
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * m- v: D, a! e5 J& J; y  J7 ~
  750. ; http://php.net/cgi.redirect-status-env
    $ ]7 e' b9 N8 n& V" D: M) C5 c
  751. ;cgi.redirect_status_env =& J9 G# |$ ?. I+ u  U5 P

  752. 6 [2 R! h7 w* h  I/ U* _% q
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's# q2 ]+ o% ^" B3 ~& c5 n
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok5 a! Z9 {/ A) z! L  @
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    * o+ ]4 O. B8 ]- }
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting& a# d( K6 {* A% I4 m2 T
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    : w6 k, P% @% Y
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    2 X7 ?. d8 E2 O' V1 u% E) T1 w: y
  759. ; http://php.net/cgi.fix-pathinfo
    7 h0 }/ G- ?2 |! l: u3 d
  760. cgi.fix_pathinfo=1* C% q+ i/ c- t. r
  761. % g$ T! B0 a0 r3 o
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside" i1 g' p4 H: Y/ o4 B" ?, y
  763. ; of the web tree and people will not be able to circumvent .htaccess security., h' c" H' o( i6 ^. M0 y, l
  764. ; http://php.net/cgi.dicard-path
    9 I2 |* v: X" K# o" o) C" q
  765. ;cgi.discard_path=1
    4 p) o* G: i/ T( K9 b" Z0 ^9 m5 V: ]

  766. 2 |* F0 N; i8 Q) X" j" q. K4 e
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    # ]( R9 S2 [3 ]0 y/ t
  768. ; security tokens of the calling client.  This allows IIS to define the
    / v6 l( E4 _/ r4 w
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    & Z0 k9 t3 N, B2 Z/ P0 |  Q" b9 C
  770. ; does not currently support this feature (03/17/2002)  k& M) o  r) I$ p+ T* {5 S# P
  771. ; Set to 1 if running under IIS.  Default is zero.
    ' @, s& B1 n. \- n& K  C: @
  772. ; http://php.net/fastcgi.impersonate
    9 _+ k) H! l8 S
  773. ;fastcgi.impersonate = 1
    ! Q; S$ T* u# }
  774. ' P; T8 Y; |; _" d9 s- D
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: p5 D6 X; y1 S( `- z8 G& D
  776. ; this feature.2 G2 F- R: `4 Z( f: e6 H% g: p3 w
  777. ;fastcgi.logging = 0
    4 j9 X+ ~' V( T+ z

  778. ' K1 V( J6 G9 u* ~
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) a5 w/ `2 d/ g: f/ ]4 V% g5 @
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    + q! V! l4 Z  M$ E: Z' S9 L
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    " w4 }) j( H0 f, n, L8 s) a
  782. ; RFC2616 compliant header.9 A' d& H: r* z" g
  783. ; Default is zero.
    3 u1 r6 U9 q0 T6 L. X
  784. ; http://php.net/cgi.rfc2616-headers
      ]- H" J1 ]. Q3 t/ W9 x1 N
  785. ;cgi.rfc2616_headers = 04 A  @# z* H# n5 Y) J
  786. 1 @5 `4 _- I' h8 o# M& S
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!5 K% W  K- C8 F/ S& b
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ( n1 @: F5 q  y" V3 B
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 V, }  F# _- [/ U
  790. ; mode skips this line and ignores its content if this directive is turned on.0 p. P; F% f% `- v- d* N
  791. ; http://php.net/cgi.check-shebang-line6 n! Q& g0 z, U$ N4 y2 y
  792. ;cgi.check_shebang_line=16 Z$ q( g1 ~7 _) ^+ b) n' e

  793. + j7 k1 T' ^; Y/ C4 d
  794. ;;;;;;;;;;;;;;;;
    ( d: q# C# [4 @
  795. ; File Uploads ;
    8 |8 P- c. W8 ]0 g& t3 J! a
  796. ;;;;;;;;;;;;;;;;
    + }% p( M/ X+ `( N

  797. 7 H/ f" x5 s- F; f
  798. ; Whether to allow HTTP file uploads.
      a: n1 A# D2 [+ g6 I5 J8 D% t
  799. ; http://php.net/file-uploads
    - ]0 m) E: v# ]; L
  800. file_uploads = On
    % \  I0 E  x4 a+ S8 e9 [

  801. + U* |% e& M- K
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    + K  o: {5 y# y- H
  803. ; specified).: c( v6 m: [/ D# p) G' W$ p
  804. ; http://php.net/upload-tmp-dir3 @- W5 g9 I* U
  805. ;upload_tmp_dir =* W3 }- Z% _7 H6 ]0 r9 G: G% j0 n
  806. : U" M7 ~2 n9 U1 i
  807. ; Maximum allowed size for uploaded files.
    ! j' w5 l3 y& Y. j. k5 S/ {: ?
  808. ; http://php.net/upload-max-filesize, A) ^* H6 {8 D* G, t5 M2 e
  809. upload_max_filesize = 50M; X, @9 r" k. P& c4 @
  810. 3 U9 Y6 o' u* i
  811. ; Maximum number of files that can be uploaded via a single request
    9 B, V" e4 q8 ~4 O( F4 t
  812. max_file_uploads = 20
    * E% p' _; ]5 {! g
  813. 5 j. M. N% R2 h. y, p8 p
  814. ;;;;;;;;;;;;;;;;;;5 T6 c3 `% ^: a( v. o
  815. ; Fopen wrappers ;  x  {7 i7 a- b) n( e: ?( X7 s
  816. ;;;;;;;;;;;;;;;;;;
    9 \# r+ Q/ Q$ d" A2 O. }
  817. $ D! ^$ y& w( y1 q0 y6 x
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    4 V& {' ?+ i$ ~3 O, d: y+ H
  819. ; http://php.net/allow-url-fopen  {# h3 d- A' n0 m% h8 O
  820. allow_url_fopen = On
    ' A0 o# s$ N4 b6 O8 {0 b( H1 N

  821. & h! l* _& w1 D) x/ U
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." l) b7 Q8 i3 `( M* D) p- B& Q: b" n
  823. ; http://php.net/allow-url-include" a- T' O, U7 ?, ?% K& U
  824. allow_url_include = Off" ^( t# O! @# U& t" F
  825. $ X- `: u0 I; U# \" g, x4 j
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    / C5 J2 L. a# M3 ~0 p  V
  827. ; for this is empty.
    + I7 D, [3 \9 Q2 q; A7 c
  828. ; http://php.net/from9 b/ g6 S  |- O& H
  829. ;from="john@doe.com"
    . d! n9 H; o9 c# h  V

  830. / ^, i6 W2 n' w( @$ w
  831. ; Define the User-Agent string. PHP's default setting for this is empty.# c9 t0 p2 l5 p" L4 ~% S
  832. ; http://php.net/user-agent
    / ^  N  \; @8 V6 B
  833. ;user_agent="PHP"
    ) v5 o8 L  ]  P, v, u' ^

  834. * b8 Q) }( F2 Q3 R8 u1 d
  835. ; Default timeout for socket based streams (seconds)
    . J! _* q. Z- E1 s& `: M
  836. ; http://php.net/default-socket-timeout
    2 b" ?. R' C) `- L' {
  837. default_socket_timeout = 60
    : \9 b/ N) i$ l1 b

  838. 1 x$ q1 z; Z  S
  839. ; If your scripts have to deal with files from Macintosh systems,
    , n' ~- g0 P$ ]% `
  840. ; or you are running on a Mac and need to deal with files from
    ( M* T$ v7 f% a* I8 }
  841. ; unix or win32 systems, setting this flag will cause PHP to
    8 V# L0 a' H; p5 @: J8 ]
  842. ; automatically detect the EOL character in those files so that
    : B. j" d2 m9 \: M5 O* ^$ ]' k
  843. ; fgets() and file() will work regardless of the source of the file.
    ; A& ^( u0 y: @7 q- ~! d8 p
  844. ; http://php.net/auto-detect-line-endings2 r0 ]# v/ Q+ U' Y; A
  845. ;auto_detect_line_endings = Off
    ' L" a4 E* W3 w6 s
  846. 9 h; }; O/ h. D: U8 V
  847. ;;;;;;;;;;;;;;;;;;;;;;5 w$ s: d! S1 t
  848. ; Dynamic Extensions ;
    " f  O( d; Z! F8 K, \) N: |
  849. ;;;;;;;;;;;;;;;;;;;;;;; c' _. `4 W% r6 M" U
  850. ! n0 g6 h: \# |) W  i/ \! \/ g
  851. ; If you wish to have an extension loaded automatically, use the following
    . k6 s3 v9 T( v; h9 Z0 A
  852. ; syntax:5 I' R% J: q  N: q
  853. ;
    5 U: M0 q) I3 W$ F( Z, a9 a& K/ ^" L3 b
  854. ;   extension=modulename.extension  z& y0 s' E% J; V2 A
  855. ;
    ! q+ B/ m- C7 Q& D- C. H* ?
  856. ; For example, on Windows:& v5 q* _) N2 I, q
  857. ;
    ) }3 D& b# N$ Y( W$ ^" i% q
  858. ;   extension=msql.dll1 l, p, b3 e1 b
  859. ;
    - M6 i+ A; R( S% W  U
  860. ; ... or under UNIX:2 j2 b7 Y$ n8 N- E% b4 {# p
  861. ;
    ) u1 i$ \" O; \! F3 t' t
  862. ;   extension=msql.so. k4 U2 V; q) C4 z$ P
  863. ;3 a6 c6 N" |+ d( o! l: L1 Y1 [
  864. ; ... or with a path:
    ( K8 \# Q: o, O  J0 X
  865. ;
    ; T, b* E, p+ e; k1 J/ M, I% i5 h
  866. ;   extension=/path/to/extension/msql.so
    9 q. y" f) }1 M* K# R
  867. ;
      d. _) R7 D1 @
  868. ; If you only provide the name of the extension, PHP will look for it in its
    # B0 t4 H- A& ~/ t% b+ Z
  869. ; default extension directory.
    4 k5 r2 L2 O" T8 Y
  870. ;
    - c/ c, K2 G! s* _1 \; a
  871. ; Windows Extensions
    ) q9 {; s' G" O5 j$ U7 a5 W5 G( v2 D
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    7 F; I& C: B, o  [
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)9 a7 l" A$ t; m+ T( A2 r- S
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).. t) A0 R$ |6 l  Z  ~5 Y) ~
  875. ; Be sure to appropriately set the extension_dir directive.0 M# [9 h) e5 i1 z
  876. ;0 t# m  c" q. [7 ~% {: X: d
  877. ;extension=php_bz2.dll* M$ d0 a% J; `& J8 z2 ~
  878. ;extension=php_curl.dll
    : t7 I' q. s. F
  879. ;extension=php_fileinfo.dll
    . W0 n$ g; ]& g' V
  880. ;extension=php_ftp.dll! N3 K" l0 P2 y1 Q1 O7 H; W
  881. ;extension=php_gd2.dll! r! q6 P) D: Z* M6 N7 ~! ~4 P/ Y1 @
  882. ;extension=php_gettext.dll
    ' E) q6 J' ?" T3 b2 q8 K
  883. ;extension=php_gmp.dll! v; P5 U! _9 z' d/ b# b
  884. ;extension=php_intl.dll
    1 f4 v) e5 B; H' q) l  _7 S3 Y& P
  885. ;extension=php_imap.dll
    0 j7 }  @! v; w- q; L" i6 j6 Y
  886. ;extension=php_interbase.dll& Q* d) \/ u# \* `( K4 _  B) d
  887. ;extension=php_ldap.dll6 @# T" [! G$ V8 O! C( W
  888. ;extension=php_mbstring.dll
    # _# S$ {7 E" H( L% }4 S) f. Y
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
      D6 H# Y, t, T% y4 B
  890. ;extension=php_mysqli.dll8 ?- Z( q# D6 I6 k3 M5 \) Y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client! D+ q1 a3 j: E; R/ Z: B2 ]
  892. ;extension=php_openssl.dll
    4 o' _7 ?% C9 U$ J: v3 K' J/ i5 C
  893. ;extension=php_pdo_firebird.dll
    + P' @& S. n+ z
  894. ;extension=php_pdo_mysql.dll
    2 r% F' n* U# i  f
  895. ;extension=php_pdo_oci.dll1 q. B$ K0 `7 x# V+ s# W/ e$ z
  896. ;extension=php_pdo_odbc.dll4 X- p8 }) b0 @2 Z( @6 r. K' y5 I
  897. ;extension=php_pdo_pgsql.dll
    1 D$ k: s3 T  V' v: E" I
  898. ;extension=php_pdo_sqlite.dll9 u. c) d9 h0 H3 r# G; @
  899. ;extension=php_pgsql.dll9 C1 R4 _; f0 u* p- W
  900. ;extension=php_shmop.dll& h( u2 d8 @4 T( g; W

  901. 2 v. C7 X, M6 m. ~, U. _1 v6 `. J
  902. ; The MIBS data available in the PHP distribution must be installed.  ?- E/ k1 U8 l
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ) E- B' C) c  \9 z; z- x
  904. ;extension=php_snmp.dll
    . H6 Z% o: E% c- N" M
  905. . q% x  @2 y- B
  906. ;extension=php_soap.dll
    3 n1 n+ c2 ~  J5 w. N
  907. ;extension=php_sockets.dll! b9 D# V# B' e: U
  908. ;extension=php_sqlite3.dll1 Y6 c' W; y8 h
  909. ;extension=php_tidy.dll
    * P" Q1 t, @. O0 ?* p9 P. d: }
  910. ;extension=php_xmlrpc.dll
    ! C. r# f  B1 E6 }
  911. ;extension=php_xsl.dll
    + v8 f2 S3 t  Z4 \

  912. 0 D$ C$ z5 F; P- D4 `7 [
  913. ;;;;;;;;;;;;;;;;;;;, E  r$ k3 @: }1 g
  914. ; Module Settings ;
    ' |/ s7 F2 N1 Z$ w5 P( ^
  915. ;;;;;;;;;;;;;;;;;;;, Y/ L7 v( Q. D4 b$ r  r9 P& m

  916. - I( ~+ p: R9 X+ ?% R( z2 _1 z9 `
  917. [CLI Server]3 z: C& j2 [2 s: R. j+ o
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 n0 f* V6 W  @( Z# e
  919. cli_server.color = On
    / A" J4 t/ m# |( J8 r: _

  920. - K: B; C' w' b" H3 ~
  921. [Date]# E" }* U: w9 g3 R# v% b
  922. ; Defines the default timezone used by the date functions
    " k" A) a7 x2 b
  923. ; http://php.net/date.timezone
    3 x( ]- ?: S" s+ x8 q
  924. date.timezone = PRC
    5 W6 ~1 w. T! }& d: A
  925. 7 F4 r) |$ f* N/ q
  926. ; http://php.net/date.default-latitude# A* A5 ^7 Y$ P
  927. ;date.default_latitude = 31.7667* y# d, }- B: f# h

  928. : K! D' |5 x7 s( B7 T& w
  929. ; http://php.net/date.default-longitude
    ) i2 i3 y8 [0 }, r4 U
  930. ;date.default_longitude = 35.2333
      J# d% w; }1 t& O; y

  931. 1 ]# Z) L! L, Z7 ]+ G) l( [
  932. ; http://php.net/date.sunrise-zenith0 E9 l- v0 V8 Z. u
  933. ;date.sunrise_zenith = 90.583333- G- Z# N. e1 X$ V7 M6 u

  934. 5 P  W$ e! c! C9 ]& f
  935. ; http://php.net/date.sunset-zenith7 e/ M' Q$ W! _
  936. ;date.sunset_zenith = 90.583333
    - ^  D, P0 y! z+ H
  937. + C' O2 {1 X% T7 G, _" o( j
  938. [filter]' c! g' l7 Y3 c- c% u$ E8 j  N2 W5 T" {
  939. ; http://php.net/filter.default! ]) X, d: \% ^9 H
  940. ;filter.default = unsafe_raw. s+ d0 Y1 e0 f
  941. , B( B9 H. z8 ~9 X6 e$ q3 N
  942. ; http://php.net/filter.default-flags# a+ O& P- e2 d5 a% a
  943. ;filter.default_flags =
    2 D7 k; k' ~7 A6 A# q# ?2 ?
  944. 3 r2 \. D' a4 h, r. d$ b
  945. [iconv]
    8 d2 i" l$ c0 g) U7 r
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + `5 U" K& S5 n4 |7 m/ l% s
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    , {2 [# i! k# J# R* Q0 c
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ) g+ m0 \' F0 m& h1 a1 j# }
  949. ;iconv.input_encoding =4 r! c1 N) R2 s
  950. - c1 W4 O( [" H8 r
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % K- t8 G# j2 T+ `# k" C% f
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' o! c% J1 o7 D  C+ e
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  Q; _# ^4 y$ H0 J
  954. ;iconv.internal_encoding =
    ! C, b6 p. f3 \# T
  955. ; F0 @6 @4 W) C! U2 A
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 F- U1 x' f0 O$ ]: h1 G
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / \- q" x8 y7 q( s7 N$ z5 N
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding* U' r6 X- C3 i# b2 Q
  959. ; To use an output encoding conversion, iconv's output handler must be set+ Y: A& x- W6 c
  960. ; otherwise output encoding conversion cannot be performed.3 G/ w$ T$ e5 d! F: P" @' L* H
  961. ;iconv.output_encoding =! J. Y2 b+ m' Y# L. y
  962. % L4 S) b$ v) |9 ?. ~
  963. [intl]
    6 G. S- m8 m2 N+ ?( U$ b& X& r
  964. ;intl.default_locale =' ~, I+ L/ N" A
  965. ; This directive allows you to produce PHP errors when some error
      e5 U/ A# L' N- Y- G& t6 ~# H
  966. ; happens within intl functions. The value is the level of the error produced.* |8 r& b# o. R( l. `* Z. r: t
  967. ; Default is 0, which does not produce any errors." N4 W+ }& E. ^& t0 R
  968. ;intl.error_level = E_WARNING& D8 l; D9 l; d+ r
  969. ;intl.use_exceptions = 0
    + Q5 x& z; f% e) z6 b  |# g+ r
  970. 3 I! N: t! e3 s9 _
  971. [sqlite3]
    5 F. k3 s! a7 Y% K/ S0 a! {6 [
  972. ;sqlite3.extension_dir =
    / |, _% G; k3 `
  973. + Z( d0 s2 r' y, ^! E
  974. [Pcre]
    0 X6 H" K8 P: O- c
  975. ;PCRE library backtracking limit.
    ( @9 G0 |8 H- z+ M
  976. ; http://php.net/pcre.backtrack-limit1 G3 l4 f% ^- e$ Q
  977. ;pcre.backtrack_limit=100000$ P6 @: ^' ?9 p' N& u3 q
  978. 8 b7 j7 [6 C6 w+ T9 `4 B7 `
  979. ;PCRE library recursion limit.
    ! u  k- }0 G) q+ o2 ^7 ^5 E1 Q
  980. ;Please note that if you set this value to a high number you may consume all
    / C* `( m$ u8 B3 e
  981. ;the available process stack and eventually crash PHP (due to reaching the4 i& I% ^- [" Z! r, e
  982. ;stack size limit imposed by the Operating System).
    ) a3 G+ j: _8 |" \& j8 h, c
  983. ; http://php.net/pcre.recursion-limit3 Z7 {5 N9 w0 Z8 r7 H) l2 p0 }
  984. ;pcre.recursion_limit=100000
    / O+ }$ H, r# ?. j
  985. 1 g7 {3 q& d- x
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE0 h3 N  d5 P1 Y; }: X# X
  987. ;library to be compiled with JIT support.
    . P4 T- ~' I; l6 q
  988. ;pcre.jit=1
    1 b3 s% P) ?9 L, S$ R8 ^& ~; E

  989. 2 p( U8 s' ^, @$ A' ~
  990. [Pdo]
    ) `. O  ?0 y7 l; R& l, z3 I# V4 C5 `
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"$ p/ \' G7 u9 R: @$ j
  992. ; http://php.net/pdo-odbc.connection-pooling
    / p7 v4 [& r3 ^2 l
  993. ;pdo_odbc.connection_pooling=strict
    7 a9 M; d) d' ^- r* [  m

  994. 2 Q) q  D; y9 y* K
  995. ;pdo_odbc.db2_instance_name$ q! X' N4 P/ J/ C

  996. " `6 k( `  z* \. z
  997. [Pdo_mysql]
    5 A6 l4 o; |" l
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : w/ R5 F" n% c. K6 _9 S  c
  999. ; http://php.net/pdo_mysql.cache_size
    7 F9 A0 [) ~" x' a- H5 [
  1000. pdo_mysql.cache_size = 2000- r; Y' O! Q% M1 l

  1001. 3 s: b, h, r/ o2 {' I6 m
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in, m' D* e3 q+ G, v! V1 S7 E
  1003. ; MySQL defaults.2 M% {6 x& h1 j% {
  1004. ; http://php.net/pdo_mysql.default-socket
    1 ^9 ]$ u" [, K+ r) N5 C
  1005. pdo_mysql.default_socket=
    2 p5 I5 C8 l6 g' z
  1006. + _% O: b" e! S8 ~& a4 M: @$ k
  1007. [Phar]
    . E7 a  v, N- A
  1008. ; http://php.net/phar.readonly
      F# C. G6 [) B9 v" U
  1009. ;phar.readonly = On+ h! ~1 G# m/ v5 |

  1010. % P/ N( i  _& E7 U
  1011. ; http://php.net/phar.require-hash$ Z8 U7 G$ i9 e0 [: t
  1012. ;phar.require_hash = On$ ?1 N1 }: l* G' J& H6 u+ p
  1013. 9 g& h0 z" p1 {1 b: f) H5 m
  1014. ;phar.cache_list =
    5 l2 U. b$ q# V0 S& ]

  1015. . p+ K9 m) f+ @7 y5 ^/ a" o
  1016. [mail function]
    ( j: ^  Q0 D# p& U( e6 ^
  1017. ; For Win32 only.
    * K) x) O' L" J1 a5 s0 F
  1018. ; http://php.net/smtp
      v; ?7 M4 P2 C0 J1 b5 ]
  1019. SMTP = localhost
    3 c; q2 t6 x/ P7 j' f- h7 h* T5 r
  1020. ; http://php.net/smtp-port
    - O3 F9 a; d. }7 }2 y& T8 A
  1021. smtp_port = 25
    ) s9 @7 A" I# G/ ?  M9 q- C  Q
  1022. - V* `! B/ H) N0 D8 g& g' G* h
  1023. ; For Win32 only.
      s/ u. O* x8 h. F# S
  1024. ; http://php.net/sendmail-from. s: [/ D# |0 s5 J0 W
  1025. ;sendmail_from = me@example.com$ K5 u2 x: e7 J+ N- W

  1026. ) W- e' p+ a4 M. J" V2 X- ~/ J' y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    : U  \1 Z) i7 ?3 I+ p
  1028. ; http://php.net/sendmail-path. H, r  W5 ]8 P$ s% |1 ~2 a
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    1 A9 r0 ^7 ]4 U# S' P

  1030. # B7 r% K8 {) Q& L
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    , v: d6 u, b' }+ o
  1032. ; to the sendmail binary. These parameters will always replace the value of
    , G9 J; [3 R% c4 T- x% h6 x
  1033. ; the 5th parameter to mail().
    ) O; ?. O6 U6 }9 y% w: }% d
  1034. ;mail.force_extra_parameters =4 i% h$ O5 w5 Q# U$ R  \+ X
  1035. . O/ M2 u& L' A8 v
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename# p  S- o, _5 B6 ^% f6 J+ f
  1037. mail.add_x_header = On3 r9 x$ ^+ G2 Z- k

  1038. : S6 S1 R- L( Z0 F; Z2 A7 n- T+ ^  B
  1039. ; The path to a log file that will log all mail() calls. Log entries include, e+ ^3 @' ]2 e  S$ b2 _$ k1 O
  1040. ; the full path of the script, line number, To address and headers.
    * G  m* o/ @+ {
  1041. ;mail.log =
    2 X$ ?1 O: N# H. g# f, U
  1042. ; Log mail to syslog (Event Log on Windows).0 E5 t* L, a" V' h( x) A  w0 }
  1043. ;mail.log = syslog
    . J6 D5 P7 t  }* d/ p; {5 o8 }
  1044. 1 x9 t4 d5 S' |1 b" K! p" c3 y3 u
  1045. [SQL]
    4 C; A. [- _1 u* E1 M, Q
  1046. ; http://php.net/sql.safe-mode
    7 L4 ^- n6 O* k* F8 M
  1047. sql.safe_mode = Off8 U; \1 E1 f$ e& W, W! i

  1048. % P5 |' R9 V3 `* G; @  H+ z3 h
  1049. [ODBC]( v- y% g" m* H: z/ g! K* n: I
  1050. ; http://php.net/odbc.default-db: ^# A% X- U$ T- m' B' u  o
  1051. ;odbc.default_db    =  Not yet implemented: h/ h- n, Z' `' E$ s; l
  1052. - n$ `! J/ {  i0 E/ u
  1053. ; http://php.net/odbc.default-user
    % c6 s1 V$ F+ L" u( {! ?' \' V4 c
  1054. ;odbc.default_user  =  Not yet implemented& @" @( {2 @: d, ~
  1055. 1 L2 r0 O% R! @8 H8 e+ h, X5 Q
  1056. ; http://php.net/odbc.default-pw
    . o( P, V1 |3 c# l
  1057. ;odbc.default_pw    =  Not yet implemented
    7 G4 \. w5 c4 J

  1058. ) m* L1 [* r5 f1 k3 G- k4 a
  1059. ; Controls the ODBC cursor model.. z- \+ i) _/ U0 e( X. |
  1060. ; Default: SQL_CURSOR_STATIC (default).
    2 c& _8 c) r2 L
  1061. ;odbc.default_cursortype& l1 `, i# P8 e

  1062. / p: L% r* v3 ~, p
  1063. ; Allow or prevent persistent links.9 Q4 K9 @+ I6 ~2 q/ f' H
  1064. ; http://php.net/odbc.allow-persistent
    . D; S! S) u, d
  1065. odbc.allow_persistent = On6 p* H; N" _7 K/ A  w

  1066. # I& X4 }1 p6 B6 S% ~( U
  1067. ; Check that a connection is still valid before reuse.5 O5 r1 T  T9 ]6 C
  1068. ; http://php.net/odbc.check-persistent, b/ ?4 G# u  H! ^" {+ s
  1069. odbc.check_persistent = On, {  k, p9 O; f% X& R0 s
  1070. % @  F" J/ E! c) V' X
  1071. ; Maximum number of persistent links.  -1 means no limit.: A9 a; {: m$ Y
  1072. ; http://php.net/odbc.max-persistent
    9 Z# R3 J1 a6 h( `* O( `
  1073. odbc.max_persistent = -1
    : u! ]% Q0 p' R3 n
  1074. 3 U) h* M+ S" [' \& H' d5 T4 h
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 B. i8 o$ N1 n; J
  1076. ; http://php.net/odbc.max-links
    * {* }( f3 A1 O+ l; u
  1077. odbc.max_links = -1. G6 n- g% x. n) ^, G& I
  1078. * z6 Z$ ~1 i1 ~/ ?+ P
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means0 W' f& m; N! F( {
  1080. ; passthru.+ J/ I+ }# e4 F3 \- M1 V" D
  1081. ; http://php.net/odbc.defaultlrl
    8 q6 `: c; V4 i) N: x
  1082. odbc.defaultlrl = 4096
    % i6 L$ A+ u1 L
  1083. / n5 Y, I# ^5 R2 ~' Z6 k
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.2 w/ X, }- w0 y' J5 [
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - G1 \8 m: H' [: n; B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    $ v0 _1 }; _& c+ \! O9 h" ~
  1087. ; http://php.net/odbc.defaultbinmode
    # Z; Y: N8 z, ]
  1088. odbc.defaultbinmode = 13 v3 X2 E) j! @& X6 e1 Q6 X; n

  1089. ( k5 Y6 S/ @: ?
  1090. ;birdstep.max_links = -13 P% D) C- |- V- R0 j8 Z/ i- T
  1091. ( b) r- r; b  y2 V0 Q% C- m
  1092. [Interbase]9 O, ~. e9 t$ u. ]
  1093. ; Allow or prevent persistent links.
    & n/ V5 T  ?( A5 ~$ T: r
  1094. ibase.allow_persistent = 11 [7 R& x8 b: ~% ]7 c1 {: l. ~- v5 T
  1095. 9 R+ a* w. C% T
  1096. ; Maximum number of persistent links.  -1 means no limit.6 y/ M" O- T. O8 O! [+ |
  1097. ibase.max_persistent = -1
    / Q3 X' v- A" R7 j/ n

  1098. ; F4 d8 e9 x" l9 ~8 a8 p9 W/ c8 i
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; g  |- U) j9 k! k- J5 v2 P
  1100. ibase.max_links = -10 j4 M4 ]7 |. R3 [$ \' P# p3 L; j

  1101. ) Z7 P8 N: i4 X+ b& E
  1102. ; Default database name for ibase_connect().
    1 d( c! `" L: I. n8 n7 n
  1103. ;ibase.default_db =3 n( V5 n; J5 i/ y6 m- x

  1104. ! H+ u9 x. W5 o1 X) @) j  X. |5 v
  1105. ; Default username for ibase_connect().8 `/ `$ b0 ?; I) P
  1106. ;ibase.default_user =( G/ Y! x- D1 |/ @& a

  1107. ! A8 u' [( f6 k
  1108. ; Default password for ibase_connect().9 |/ c2 T3 j& ?! J5 p4 {9 D; P( |! t6 i
  1109. ;ibase.default_password =$ u. K) A& B. D$ O' ~  p
  1110. 7 d' x5 B' I3 F  v) q
  1111. ; Default charset for ibase_connect().6 g4 y+ ?7 ?( S6 B3 B- b
  1112. ;ibase.default_charset =
    / G7 f8 X! o' F! I- p: {: v
  1113. 7 q: F7 q5 A9 W
  1114. ; Default timestamp format.4 q3 F+ Y' g3 g0 z3 _9 B0 g
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S": Z+ t  c' K9 u9 j9 U

  1116.   ^( D/ B/ Z4 G* G# U7 `% y  ^
  1117. ; Default date format.
    / e! u+ n* M& u7 M
  1118. ibase.dateformat = "%Y-%m-%d", I5 z1 h: z" h' P3 g8 d1 v
  1119. % s; [! ^* D& u$ i
  1120. ; Default time format.
    / ]  m* |0 }6 u- \( l
  1121. ibase.timeformat = "%H:%M:%S"& j$ v0 v) Q. r% X6 h. ~
  1122. 2 ^" \3 }* b$ E6 U+ Z, m5 f2 M* t
  1123. [MySQLi]  y' N8 H$ p1 q$ s; Y; Q
  1124. ; i2 R1 j3 B9 o0 n1 |9 X- F! M
  1125. ; Maximum number of persistent links.  -1 means no limit.: v' r& J3 `* }$ ?4 ^* V
  1126. ; http://php.net/mysqli.max-persistent$ m$ U0 r) t  Y! G' _/ ]
  1127. mysqli.max_persistent = -1
    " F8 L2 ?, u; |- W7 o# `

  1128. 8 |' s0 e; E# A: X6 Q' J% h
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    3 e# l9 j# r4 R! W
  1130. ; http://php.net/mysqli.allow_local_infile
    6 E' b# y1 B+ Q
  1131. ;mysqli.allow_local_infile = On. M# a, ?! h/ V$ H5 f

  1132. " z5 A% \% T$ F8 a9 j" y- T9 X* n$ l
  1133. ; Allow or prevent persistent links.4 P2 g' i: h& P' W2 z) G
  1134. ; http://php.net/mysqli.allow-persistent' d* X+ J. A6 R7 s& U9 r" q
  1135. mysqli.allow_persistent = On
    . B$ |" W" G! c6 ]4 @: B! Q0 z

  1136. ; L' _1 {6 t1 J' V/ J9 Y9 N: ^' B
  1137. ; Maximum number of links.  -1 means no limit.
      p5 |9 f) ?" t, {6 ]$ o. J
  1138. ; http://php.net/mysqli.max-links
    ) t7 T/ G3 N. w$ ?
  1139. mysqli.max_links = -1
    ' B& U/ z9 ?. O+ i7 U/ Q* i
  1140. - i! ]1 u+ P9 [% h6 b8 A! j3 y0 i
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % E7 x4 e4 ?7 r2 K
  1142. ; http://php.net/mysqli.cache_size5 q7 v" b8 k2 J: Y" Y
  1143. mysqli.cache_size = 2000
    / f( u; U9 x9 n
  1144. & a% a+ f7 `( J7 E" S$ n
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use3 N8 G! s- G0 n& ~
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 C8 W6 x% A- n6 [) E) {; c9 `* _: C
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 N9 X5 |, V' y! D0 X  y" B4 n
  1148. ; at MYSQL_PORT.
    + j% t- T' a  f, g+ X
  1149. ; http://php.net/mysqli.default-port
    ) H5 C  k% e3 @6 n6 P% _
  1150. mysqli.default_port = 3306
    $ C7 R) v7 G3 T  G! t) }
  1151. / m4 W& t; S7 k
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 |5 v; @6 A$ H
  1153. ; MySQL defaults.
    % W: j. ]! Q; |" o& T9 z
  1154. ; http://php.net/mysqli.default-socket/ }7 q3 F% ^- O8 c8 H7 S
  1155. mysqli.default_socket =0 J* O/ C- n% m' G  i+ L
  1156. $ {* d5 J  r) g' K/ V! E* m
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * d$ l; i) i# ?9 w* L
  1158. ; http://php.net/mysqli.default-host
    3 b5 M$ V, i, s0 w9 K, N* H. Q
  1159. mysqli.default_host =
    / a; W* k3 b) i; a5 v5 {8 o) r3 l

  1160. ! H1 Z  a% K; P( c& H$ H
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).% p3 R/ h8 L7 j( M. O5 `; W) @, m
  1162. ; http://php.net/mysqli.default-user2 U! M+ A) t' P6 \' X% p
  1163. mysqli.default_user =0 n- y3 {1 X: D' s# f2 n

  1164. - G7 z& k! j2 i# ?/ `! ^
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    4 g9 L# Q( m4 f  O; K3 {! w% M
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 F+ v7 Q8 l# k, G
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")8 {" E7 T; e& s9 t0 e8 b) ]
  1168. ; and reveal this password!  And of course, any users with read access to this" `" o: x3 ^9 R) w) U* N4 y, M
  1169. ; file will be able to reveal the password as well.
    ! u$ p2 G, r8 s& E7 w
  1170. ; http://php.net/mysqli.default-pw
    4 ]) t6 \/ h- Y
  1171. mysqli.default_pw =% c2 U; o$ D- O
  1172. : d+ \3 D, P. s; J: G% O
  1173. ; Allow or prevent reconnect
    % J) X3 Y4 X' y& d7 q, f- e2 M
  1174. mysqli.reconnect = Off
    : w7 W/ |3 c3 D4 ]4 i, N' V) K7 T$ J
  1175. / w' U/ j2 t! H9 s
  1176. [mysqlnd]+ M1 Y' d' R! h% Q+ B# }; n. _
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be) `, m( I% s/ y7 o. e, O. o
  1178. ; used to tune and monitor MySQL operations.
    ; H; l3 k/ k& I# l1 Z
  1179. ; http://php.net/mysqlnd.collect_statistics
    5 }+ `9 H. _2 D& U) U) ?) t
  1180. mysqlnd.collect_statistics = On
    % t: f5 j+ B5 ]" x) l6 u! S

  1181. 4 z- x1 m2 T4 x5 ?
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be  u/ O3 c6 l, W2 H
  1183. ; used to tune and monitor MySQL operations.
    9 S: i. l- X5 P# \: h
  1184. ; http://php.net/mysqlnd.collect_memory_statistics$ m% h% X) _9 N9 l/ ]# j
  1185. mysqlnd.collect_memory_statistics = Off* @' Y6 A# X% T! \2 h) W2 c
  1186. % |3 G$ i6 {2 \4 r1 x' c. g
  1187. ; Records communication from all extensions using mysqlnd to the specified log, a  T. [. t+ g% T. f2 a! ?7 P
  1188. ; file.0 j) m# A8 V6 l6 @0 L$ _* G$ V
  1189. ; http://php.net/mysqlnd.debug3 |. _  v# F) k
  1190. ;mysqlnd.debug =( o5 J6 I8 L9 C8 g5 d" k$ W" }

  1191. + W3 x8 L, z0 {1 c+ r" [
  1192. ; Defines which queries will be logged.9 E$ x4 {3 x1 M! K8 m
  1193. ; http://php.net/mysqlnd.log_mask
    1 t6 w, L  e6 W& r6 J' V8 x6 B: o
  1194. ;mysqlnd.log_mask = 01 l* Z& M/ [6 E8 T9 [: r/ f# F$ S* Y
  1195. " I& @* H1 _; D- o$ F' h2 [3 F
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    + w: u4 N$ s* O# T% x3 N
  1197. ; http://php.net/mysqlnd.mempool_default_size" L1 F/ _3 k# l' l5 a
  1198. ;mysqlnd.mempool_default_size = 160008 ?, G/ r" h$ ~! W& q. P" Q

  1199. $ ~- U! T" T! d/ y" S
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.' L- Z* q9 o; J
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) U) S8 [: ?, ^! a' ?, e" s
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    6 w* l- i. v  i3 B

  1203. + Q) U% F6 I3 i- s; W1 i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    3 E0 N1 g) U) r' c9 ]
  1205. ; bytes.- T. @* f  S6 {
  1206. ; http://php.net/mysqlnd.net_read_buffer_size1 m; P  V: Z4 D, k  o
  1207. ;mysqlnd.net_read_buffer_size = 32768
    3 e1 k" x3 i3 I; b: S

  1208. . ?* Q6 r6 t# Z- J- o
  1209. ; Timeout for network requests in seconds.
    6 F# x/ Y) D9 c1 Q
  1210. ; http://php.net/mysqlnd.net_read_timeout( A4 a5 A$ H$ f) J& m
  1211. ;mysqlnd.net_read_timeout = 315360004 l) F& e, f5 y. K

  1212. ! v: _5 H% U; X) \# i& p
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA& r: z1 h+ F5 n2 z
  1214. ; key.0 a4 O9 l' q' o. k; g& g
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 w. f9 }+ J4 v/ ~' x1 c2 H
  1216. ;mysqlnd.sha256_server_public_key =2 q, e. b+ x; [! _; m+ v3 t5 J# a

  1217. ( z0 |; r% V5 F  I5 K( o
  1218. [OCI8]
    ' S, `" z) @4 f( n6 O5 k3 H- S7 }

  1219. 9 \  z% \3 r9 ^: _7 r/ `
  1220. ; Connection: Enables privileged connections using external
    8 N2 }: n& `  }: r4 f. V
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & G+ V0 P3 ]/ K* Q% z8 N9 v% e
  1222. ; http://php.net/oci8.privileged-connect
    * ?2 i4 M* W8 t& k, n+ D5 F7 b
  1223. ;oci8.privileged_connect = Off& J8 l0 w; f; L& ?" t
  1224. 3 m6 @( u7 h- e7 ?
  1225. ; Connection: The maximum number of persistent OCI8 connections per" ]9 I4 q' ^1 s; i& f
  1226. ; process. Using -1 means no limit.. @( v/ L7 W6 B' ?! i
  1227. ; http://php.net/oci8.max-persistent
    # G; y: l2 E- M6 [/ }
  1228. ;oci8.max_persistent = -1# C8 F1 p8 P0 @" f! M
  1229. 3 v0 b+ s' J4 o2 m7 E
  1230. ; Connection: The maximum number of seconds a process is allowed to2 M7 R: a0 O: R
  1231. ; maintain an idle persistent connection. Using -1 means idle2 R! |8 `6 K5 t" \! Z0 P8 T% `) C/ r
  1232. ; persistent connections will be maintained forever.
    # I. n; D# s7 L3 W; c0 v8 f
  1233. ; http://php.net/oci8.persistent-timeout4 i# c$ ~. h' L
  1234. ;oci8.persistent_timeout = -1
    ) I' c# {  t1 [1 {$ `+ k

  1235. ( R" s4 ?3 u$ \" q, m
  1236. ; Connection: The number of seconds that must pass before issuing a; n( B( K1 ?/ i/ B6 O
  1237. ; ping during oci_pconnect() to check the connection validity. When0 b' p8 Z# o8 l# [" u& Q
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      M8 x( J( X4 s1 S5 u4 b
  1239. ; pings completely.
    2 v; L  [9 w3 v, b2 _
  1240. ; http://php.net/oci8.ping-interval
    ( O  C$ d  s( d* z: Q0 D# A
  1241. ;oci8.ping_interval = 60) L3 ?4 D3 R% u

  1242. 5 d' u& C$ t& Q& m& A) P' A
  1243. ; Connection: Set this to a user chosen connection class to be used
    3 \5 D4 n0 C- Q. v
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    % p/ @4 l- I( W1 |* K0 d; r7 i
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    $ U5 M/ |: R4 y" g9 E; c, p
  1246. ; the same string for all web servers running the same application,
    8 w1 {( X! ^2 c
  1247. ; the database pool must be configured, and the connection string must
    3 ~/ @( n: S* _! X( e, q. a/ W
  1248. ; specify to use a pooled server.6 X* x8 ]6 |; N; ~7 v
  1249. ;oci8.connection_class =. G- p+ R& Y8 s5 U. N% Y# s- x
  1250. , W( r7 R- h/ ~8 U5 f# U' p2 S
  1251. ; High Availability: Using On lets PHP receive Fast Application, {* S5 Q2 L6 b! }
  1252. ; Notification (FAN) events generated when a database node fails. The% P' X& H8 ~! I7 ?5 ~
  1253. ; database must also be configured to post FAN events." y9 v9 a8 ~7 Y! {, ]4 l7 n" A8 \' O
  1254. ;oci8.events = Off
    8 x; @/ o' r" o! C. g
  1255. ( {& P7 {1 e! n3 b
  1256. ; Tuning: This option enables statement caching, and specifies how# P5 Y+ y: h) N4 |9 X* j) f6 T
  1257. ; many statements to cache. Using 0 disables statement caching.
    + p; M* J# l5 c8 I; x& N
  1258. ; http://php.net/oci8.statement-cache-size
    , C2 U8 `) V* Q) I7 J9 p* G+ ^
  1259. ;oci8.statement_cache_size = 20
    3 U' a) i8 W5 t% K

  1260. + a6 _7 H2 H3 a+ p* W3 q
  1261. ; Tuning: Enables statement prefetching and sets the default number of5 k* U+ a3 l( l3 }/ K0 d3 n
  1262. ; rows that will be fetched automatically after statement execution.
    ( u5 h5 }  Z- ]- r, p) z5 c
  1263. ; http://php.net/oci8.default-prefetch5 V! Z# {  y, a
  1264. ;oci8.default_prefetch = 100
    ! Z) i. c9 Z- ]2 Q

  1265. % G. ^6 W( Q* R4 w) n
  1266. ; Compatibility. Using On means oci_close() will not close5 i' U7 `" ?9 i# B# Z) x
  1267. ; oci_connect() and oci_new_connect() connections.# _' R1 s& s) }1 {
  1268. ; http://php.net/oci8.old-oci-close-semantics4 t* B! b& m3 `4 b- Q+ p
  1269. ;oci8.old_oci_close_semantics = Off2 a* B1 g3 Z0 A6 R: M* S6 G3 e/ {" b
  1270. ' k: ]4 f5 V' z
  1271. [PostgreSQL]
    # Y5 ~2 ?1 [1 k! c* e/ D# s1 |
  1272. ; Allow or prevent persistent links.7 f6 g0 c* L: H% y, n/ ~2 Y1 R
  1273. ; http://php.net/pgsql.allow-persistent2 m8 }3 e+ k- N; O. Q* C
  1274. pgsql.allow_persistent = On
    3 D; W5 j, J; o: e1 a6 E
  1275. " H+ L' s5 r. ^+ ]* g( \% ~
  1276. ; Detect broken persistent links always with pg_pconnect().: @; m$ t5 J+ r5 F. Y, U
  1277. ; Auto reset feature requires a little overheads.! x& E* R4 v5 ]: `5 n% O$ X
  1278. ; http://php.net/pgsql.auto-reset-persistent1 W! u( r3 a+ f9 @4 I, u# l8 D
  1279. pgsql.auto_reset_persistent = Off
    0 M6 V$ H" t* _, {/ s* g% P! y- G
  1280. / ?& e, D. F$ ~9 r
  1281. ; Maximum number of persistent links.  -1 means no limit.
    2 @+ F. e% Z+ ?" g. a+ b" h* l
  1282. ; http://php.net/pgsql.max-persistent% A2 o/ f, I4 y# {
  1283. pgsql.max_persistent = -1% A4 \* C7 A8 ]; w5 ^7 a# f
  1284. 8 b# w: x, c% z7 }' T+ g, F( W9 i
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    9 G& |( V( T/ @* ?% \
  1286. ; http://php.net/pgsql.max-links
    9 o! P! G/ K. m7 g
  1287. pgsql.max_links = -1
    * i0 U8 C  W/ N  ?3 f6 x: @8 b

  1288. " e/ }7 F& `; n6 z$ F0 g( Z* Z; \9 j
  1289. ; Ignore PostgreSQL backends Notice message or not.7 T, g+ o! Q) W0 R, c8 N, x2 N; M. Y
  1290. ; Notice message logging require a little overheads.
      u. J+ f( Q5 m9 `
  1291. ; http://php.net/pgsql.ignore-notice  {! S  ^4 k2 d9 A- t% M
  1292. pgsql.ignore_notice = 0
    0 y" ^$ \! |) C( Z/ T

  1293. 5 I8 E# i1 ?8 C
  1294. ; Log PostgreSQL backends Notice message or not.
    2 s& `( _5 p; x3 X' \
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ( y, E) E; f! S  F+ n/ w6 U# p
  1296. ; http://php.net/pgsql.log-notice
    : M- C% n( x( `% B- I* b
  1297. pgsql.log_notice = 0/ E$ d9 P7 N: {
  1298. 1 s2 v" {' F9 f4 p! s
  1299. [bcmath]
    ( B0 a0 t/ K5 U6 ~4 V$ J) W
  1300. ; Number of decimal digits for all bcmath functions.
    . O! o* Z& i3 O1 L
  1301. ; http://php.net/bcmath.scale7 {7 _0 P" ^7 V4 b) h( P# I
  1302. bcmath.scale = 0
    5 `% i" F& d6 Z7 B

  1303. 9 ~( T2 s: Q; ?* n4 X
  1304. [browscap]: M4 @0 ?% b& e* g# @$ T
  1305. ; http://php.net/browscap# M( ]+ |/ i! c  v. o8 z
  1306. ;browscap = extra/browscap.ini
    " j1 w$ o% g( c  u4 o
  1307. % v; l- t- P) R) t% R. M! f
  1308. [Session]
      d1 f  ?& P$ _
  1309. ; Handler used to store/retrieve data.
    8 D& [- @% B: k  ^  n( {
  1310. ; http://php.net/session.save-handler
    % W. h" s* t) Y) I6 k/ Z& w
  1311. session.save_handler = files
    $ w% z  ~# R5 j4 L/ X

  1312. : ?8 K& v7 t' z  o
  1313. ; Argument passed to save_handler.  In the case of files, this is the path  ?' e4 n/ f6 T4 Y
  1314. ; where data files are stored. Note: Windows users have to change this, D" x! J% ^; c) s& U3 c  `% B
  1315. ; variable in order to use PHP's session functions.+ i; H( u% E. p2 r2 [1 j. R
  1316. ;
    9 ]( u  [5 e; u4 M* s* d
  1317. ; The path can be defined as:
    . |6 p' @3 d  C) q$ _3 v$ L
  1318. ;# _# t. ~3 O/ \
  1319. ;     session.save_path = "N;/path"
    8 s: f2 R4 R+ g% k9 P$ ]
  1320. ;2 p$ X$ t! B. N) D$ i# z3 `( N. a8 f3 S
  1321. ; where N is an integer.  Instead of storing all the session files in$ p6 k) L; x5 A1 E* w( W
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ) g+ t* B# D& h' f) G
  1323. ; store the session data in those directories.  This is useful if
    % {2 E6 N) T4 {
  1324. ; your OS has problems with many files in one directory, and is
    & S1 o3 f9 ?( `7 X( u3 l0 {
  1325. ; a more efficient layout for servers that handle many sessions.( t: m: J0 f$ X0 L4 |/ B9 r5 p
  1326. ;& ]+ @/ L6 a2 q6 N
  1327. ; NOTE 1: PHP will not create this directory structure automatically.. X+ D- z: ~( @5 l3 t2 z
  1328. ;         You can use the script in the ext/session dir for that purpose." A" P+ I% H5 f9 o! b, K
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ) `8 a1 _& L( A, Y) X5 j; L
  1330. ;         use subdirectories for session storage5 ?- p/ s+ O; B1 p" F" [! z3 n
  1331. ;+ S0 `5 y) f3 _8 r" P: X
  1332. ; The file storage module creates files using mode 600 by default.
    1 z* L: v# n" n+ ^
  1333. ; You can change that by using' y5 p. j" b& d2 K
  1334. ;
    8 ~8 V* I. X' b+ S, X. n# B- D
  1335. ;     session.save_path = "N;MODE;/path"
    0 X# Z4 n! v/ I" w5 I' v" u8 P/ G! T
  1336. ;) q# G' \3 j/ T( T
  1337. ; where MODE is the octal representation of the mode. Note that this
    * _7 V8 I2 j# A; x1 O& E& {  Q
  1338. ; does not overwrite the process's umask.
    8 t/ H+ E8 a: M; s; z5 P5 P
  1339. ; http://php.net/session.save-path
    0 @. \9 q+ \! U+ {
  1340. ;session.save_path = "/tmp"
    " v$ s& F% [/ m3 Q8 M

  1341. : v' P. f& j4 b
  1342. ; Whether to use strict session mode.
    ( I0 b3 f: ~+ L/ J2 C
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' Q( ~% a$ [# w+ A
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects9 Y) K8 r- {$ b* N
  1345. ; applications from session fixation via session adoption vulnerability. It is
    3 ^0 O% ?8 o, G
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 l0 p' i+ M+ k1 D' f/ K. k# R/ Y
  1347. ; https://wiki.php.net/rfc/strict_sessions
    + x+ ^" ?& {1 h; Q9 j; t5 `6 F
  1348. session.use_strict_mode = 0
    5 T  k8 r" Y) h. }+ L

  1349. + C) U% Y; I  C- N) x$ t) B. \$ {
  1350. ; Whether to use cookies.3 p7 M- P, Q- }) |" u; a+ C
  1351. ; http://php.net/session.use-cookies/ o. L8 _# M  ~) x
  1352. session.use_cookies = 1
    8 s1 N& V/ x* q- U- _( f- E

  1353. 0 M: @- I( q) ^5 L4 X) |
  1354. ; http://php.net/session.cookie-secure& i9 @$ O% g: W, g
  1355. ;session.cookie_secure =3 o* `5 n+ _. p# `* \; D
  1356. : |" ^! |- J" h$ S$ E
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ( C4 _9 o7 i& f# L
  1358. ; the session id. We encourage this operation as it's very helpful in combating# p& E: O; x" y' @2 Q
  1359. ; session hijacking when not specifying and managing your own session id. It is
    4 E* j' g/ O( e% J; U( S3 P6 H
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 z( P' k2 T6 x0 x8 D5 x% U; a7 _
  1361. ; http://php.net/session.use-only-cookies
    " o3 K( X: [$ P& k: ^: W
  1362. session.use_only_cookies = 1$ s5 d6 _9 f' W7 {

  1363. . V: v* c- m' S! m# U
  1364. ; Name of the session (used as cookie name)., t; y3 e5 o2 ]& |% C
  1365. ; http://php.net/session.name
    % U. h% z* H2 H1 m% Z0 N2 k
  1366. session.name = PHPSESSID; R$ P0 Z! y! u
  1367. 3 z( e% O; p4 N
  1368. ; Initialize session on request startup.6 G2 i9 G& {1 f* D
  1369. ; http://php.net/session.auto-start
    9 N) e9 z+ v6 f6 {
  1370. session.auto_start = 0
    ; L' P, S& E& a! e# G" J

  1371. + W0 G3 s6 X& G2 Y) p
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.6 r; L* \" c8 v  L
  1373. ; http://php.net/session.cookie-lifetime6 @  W) |7 v+ r+ Y1 ^# t# }1 k
  1374. session.cookie_lifetime = 0& R3 c  f! J! I& z% O- @

  1375. 7 B  t! R8 y1 y4 S' h+ q8 L3 w6 R
  1376. ; The path for which the cookie is valid.; q% g( D( H( x1 W# ]
  1377. ; http://php.net/session.cookie-path) ~) F- y- l) k4 q/ K
  1378. session.cookie_path = /
    % |9 V7 R& \, p7 c9 q# O  y6 b

  1379. / g) j0 ]( i: P4 W" }; D" l; ~
  1380. ; The domain for which the cookie is valid.
      S. A  V( e1 l& C8 d
  1381. ; http://php.net/session.cookie-domain6 S0 E% s) O1 V- f* B8 x
  1382. session.cookie_domain =
    $ }) {! a- W( p( j
  1383. 1 q  h: S! v) V7 E1 u) J
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.6 v+ b( t! U7 o
  1385. ; http://php.net/session.cookie-httponly  F8 N% s6 M) Q# L0 {
  1386. session.cookie_httponly =4 w) l  D* e6 B5 O! W: Q! y
  1387. 8 x, X$ H/ Y4 c" A" k, G
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.& L2 \* R( S) M! Q6 `4 a( f3 [
  1389. ; http://php.net/session.serialize-handler$ b$ b- H2 x( c+ o  ^; N" a
  1390. session.serialize_handler = php8 W9 i. S( ^3 s0 ^. r6 O% v0 Y* j1 F
  1391. 7 b4 ~1 r! ]* v* e0 }) ~( f
  1392. ; Defines the probability that the 'garbage collection' process is started
    7 y' R2 a" i& Q+ Z
  1393. ; on every session initialization. The probability is calculated by using; g, g- ]9 l6 ]$ S
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    7 T# k& `! _4 t
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      y* ~$ `2 c# b2 z, n# c( T3 W
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 i, G+ c+ Z. k5 ^$ N6 x
  1397. ; the gc will run on any give request./ |# n/ E2 K1 ^( M
  1398. ; Default Value: 1
    6 m. ^% G8 s) K+ s
  1399. ; Development Value: 19 t9 J$ O" V" \( x9 K
  1400. ; Production Value: 1: a6 W# m9 ?0 I2 d$ ?2 ~, t
  1401. ; http://php.net/session.gc-probability$ m" J' d' Y/ X) g& T
  1402. session.gc_probability = 1
    & X8 `0 M9 {- k9 @

  1403. ( t0 K$ ~$ V1 V4 t
  1404. ; Defines the probability that the 'garbage collection' process is started on every# F) Z9 U  r& Z; o* @3 L! w9 v
  1405. ; session initialization. The probability is calculated by using the following equation:( ^# C* D! j. m, k1 V' `
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 z7 M: D! g) v2 ]" w  ?6 W
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ) W; P- L# w1 ^  {1 n! I
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# L; l4 u) @! ^5 c: O
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you( A0 m" x: v8 o! M6 G# O: R
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! _- W% h1 N1 Y0 R# _- f4 f7 U  x
  1411. ; this is a more efficient approach.
    6 t! W9 w( ]% P. s5 T% F
  1412. ; Default Value: 100
    ( H# L1 |7 B3 O2 k7 _; x9 Z) |( ~
  1413. ; Development Value: 1000
    0 r( t  D7 I+ ^" g/ ^
  1414. ; Production Value: 1000+ U$ W- T  z% y# J; L
  1415. ; http://php.net/session.gc-divisor
    4 ]' ?; ]& l- d$ d  M8 B
  1416. session.gc_divisor = 1000
    ' d6 \$ {  ~5 I" F
  1417. 9 {3 Z4 r; U2 a0 E7 _' V
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 Y  ]! C  P3 S7 C
  1419. ; cleaned up by the garbage collection process.# T* S" S/ }' ?3 o( D' A
  1420. ; http://php.net/session.gc-maxlifetime
    % g8 U& x! F+ I( }& Y( i' e* [* P  i
  1421. session.gc_maxlifetime = 14405 j. P' [: E) B1 T  B
  1422. 1 }& s/ H& O% q0 D- l
  1423. ; NOTE: If you are using the subdirectory option for storing session files0 ^' O" K& W! h* R9 ]5 L
  1424. ;       (see session.save_path above), then garbage collection does *not*( Q! O% l, l8 l7 p, U) N7 @
  1425. ;       happen automatically.  You will need to do your own garbage
    - B* I# Z( H3 p0 S2 A3 k) C. Z
  1426. ;       collection through a shell script, cron entry, or some other method.2 q) S9 d! e- A, Z
  1427. ;       For example, the following script would is the equivalent of
    2 G, Z; v1 ?5 o8 k  {8 s6 E
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : M+ U) L8 _* C
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    # [9 ?) d& r! m4 I$ ~2 m. O

  1430. - ?$ [2 w" v; i, p, |
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 z& A4 t) F4 D
  1432. ; HTTP_REFERER has to contain this substring for the session to be3 n& r$ u  Z7 e3 B( @5 e0 \4 _
  1433. ; considered as valid.6 |4 `/ Q7 b; r) b  \9 h
  1434. ; http://php.net/session.referer-check
    ( q$ y0 c5 R5 o5 G5 I
  1435. session.referer_check =) \2 I* P; n. x" X, R
  1436. % [8 @* k8 W5 g( E% O- r
  1437. ; How many bytes to read from the file.
    ! B" C; \0 Z! i7 _6 C$ S( H6 b; L
  1438. ; http://php.net/session.entropy-length7 s% @. K9 p+ p# T
  1439. ;session.entropy_length = 321 C  {5 I: @9 q+ S

  1440. " _' c  t* N1 z8 J, z, E
  1441. ; Specified here to create the session id.
    0 `" ?, S. c6 O: y9 u
  1442. ; http://php.net/session.entropy-file+ F7 b' w+ g8 J4 q3 E$ M& v
  1443. ; Defaults to /dev/urandom
    9 z1 g" ^8 X3 a
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" }$ G8 N9 y  h
  1445. ; If neither are found at compile time, the default is no entropy file.
    ) E7 f9 ?! y& m7 u! ?2 ~" _4 V
  1446. ; On windows, setting the entropy_length setting will activate the: o( _" }& w! L2 R* R
  1447. ; Windows random source (using the CryptoAPI)
    5 N/ S. G1 h9 b8 F
  1448. ;session.entropy_file = /dev/urandom  f' @1 ~5 _" f, Z2 a# n+ R- ^
  1449. ! g0 d7 A! v2 b
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    / v8 v5 U3 `0 U3 Z" K
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 K: v3 c  g. [; O+ k. g
  1452. ; http://php.net/session.cache-limiter
    3 {% j) e: N) {. r) u: i, U
  1453. session.cache_limiter = nocache
      {% H8 g/ C1 M' {/ S4 A7 Q7 s

  1454. * b$ A& ]& a: P+ n0 k/ |9 T
  1455. ; Document expires after n minutes.. y0 A: ], @" \2 v6 o% O- Q, Y  L
  1456. ; http://php.net/session.cache-expire
    7 M, ~2 N( i  X, n7 P, m" H4 L! r% ^
  1457. session.cache_expire = 180
    ! c4 w: N8 O1 v( C$ Q: O7 S# g# a

  1458. 6 D) T  w0 a. l
  1459. ; trans sid support is disabled by default.! `' h, p1 K, w% x% I
  1460. ; Use of trans sid may risk your users' security./ d2 G, R- f8 t4 n
  1461. ; Use this option with caution.6 B7 _+ l+ C8 r$ ^6 [+ }
  1462. ; - User may send URL contains active session ID
    : [; N; @% h$ N9 P) S
  1463. ;   to other person via. email/irc/etc.
    - z# q/ h( d1 r4 C
  1464. ; - URL that contains active session ID may be stored
    ; [. }0 R8 ^$ Q1 Q/ n3 X. o) F
  1465. ;   in publicly accessible computer.
    . [; j; q3 o6 z
  1466. ; - User may access your site with the same session ID
    6 ~- U' Z! ^4 H6 ?
  1467. ;   always using URL stored in browser's history or bookmarks.
    4 R$ R- a1 G9 y3 r7 s: D" [7 g6 r0 l' g+ r
  1468. ; http://php.net/session.use-trans-sid1 E7 `+ h/ Q. g! A7 {! F
  1469. session.use_trans_sid = 0  v% E  u9 z& f+ B2 e

  1470. ! |  E7 {4 \7 |- u) Z
  1471. ; Select a hash function for use in generating session ids.
    + D. T+ {3 `8 F
  1472. ; Possible Values  O* N4 Q* J0 R/ n/ `. @
  1473. ;   0  (MD5 128 bits)
    : D' J. v5 E* y  a- U5 t# y* h
  1474. ;   1  (SHA-1 160 bits)
    5 P" w4 Y+ N4 ~! K: ~
  1475. ; This option may also be set to the name of any hash function supported by0 _. h# V, \& S3 I( j
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- F% ^9 q! M1 s. x9 C
  1477. ; function.
    & ^+ l+ \, |' q6 u5 G+ k
  1478. ; http://php.net/session.hash-function( S. ?& w/ z+ k; x2 z- Z1 a8 q
  1479. session.hash_function = 09 @9 s; P0 o% V

  1480. 1 O. \& c5 i9 w3 P/ }7 U
  1481. ; Define how many bits are stored in each character when converting9 U- w. y! `, e: }, w/ D
  1482. ; the binary hash data to something readable.
    - d/ |3 ]# T* W9 }* q8 R7 P
  1483. ; Possible values:
    8 x! [" w5 l' G. H7 ~: ^5 L7 W4 G, O# L
  1484. ;   4  (4 bits: 0-9, a-f)5 ~2 U2 }1 D; z) V6 p5 ]
  1485. ;   5  (5 bits: 0-9, a-v)
    5 T$ \; e4 \2 @
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 Y- `* v8 d% ?& w
  1487. ; Default Value: 49 }/ }2 i2 C* |1 G6 d; ]/ C
  1488. ; Development Value: 51 F% p$ x0 P6 u0 q$ x! n
  1489. ; Production Value: 5- m" S( E+ Z( M/ y/ W9 ^
  1490. ; http://php.net/session.hash-bits-per-character7 j4 f0 k* N0 R3 A( |
  1491. session.hash_bits_per_character = 5
    * U9 W  v$ M% Q# c" ]! ]

  1492. 1 h2 S9 _: g7 }0 d
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.% a$ M5 |( u0 i- ]$ h% Q
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ) U/ _4 b# s3 t
  1495. ; add a hidden <input> field with the info which is otherwise appended
    , q& i% ?! \) r5 p, e3 W. F
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.% U/ A/ V- k& r" t/ Q% O. B
  1497. ; Note that all valid entries require a "=", even if no value follows.
    , `- W: o; G% q4 n, y
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & m% H0 _: [6 ]
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 ~9 ~0 W: K8 s- y0 S% j2 K7 J
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 C1 [8 Q4 d4 q" x& O/ I
  1501. ; http://php.net/url-rewriter.tags
    2 d& u9 c+ v* }* V/ V
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    " Z# {3 C* q$ Y, K
  1503. ' i* T' o, x$ u9 `
  1504. ; Enable upload progress tracking in $_SESSION% _# M( K& W2 W9 Z( x$ h: f
  1505. ; Default Value: On! O  s/ N. U( i3 ]- N! A" k
  1506. ; Development Value: On
    - r" L7 b  U0 I; N+ \  g5 V; Q
  1507. ; Production Value: On) @& c, |( f9 ~  M) q
  1508. ; http://php.net/session.upload-progress.enabled
    1 \  ^* G$ Q2 ]9 @! M- G0 l8 n
  1509. ;session.upload_progress.enabled = On
    5 ]* c8 b7 b$ v% B6 {

  1510.   L$ R, f' y9 I% j) m' g$ S
  1511. ; Cleanup the progress information as soon as all POST data has been read
    : }! i# Q7 e2 t' m: a8 u
  1512. ; (i.e. upload completed).
    $ V/ J* Y. c- ^( n6 a6 g
  1513. ; Default Value: On, r8 r" a. \- [" W
  1514. ; Development Value: On9 N7 a) E6 l6 f0 z
  1515. ; Production Value: On8 [* A1 M( ^0 H& D
  1516. ; http://php.net/session.upload-progress.cleanup
    : _! U/ ]( z- b0 k) }. c
  1517. ;session.upload_progress.cleanup = On
    ; `" P7 A7 i* v5 z" ~

  1518. 4 q. l) \4 P& w4 a& l
  1519. ; A prefix used for the upload progress key in $_SESSION3 ]  ^; g4 T& M6 L1 [, A# k/ P
  1520. ; Default Value: "upload_progress_": G+ [! D* Y# F) f# o
  1521. ; Development Value: "upload_progress_"
    $ i- G3 i! j" ^6 g6 {4 Q# T
  1522. ; Production Value: "upload_progress_"
    ) c$ g, G* u4 j% y
  1523. ; http://php.net/session.upload-progress.prefix
    1 |% A1 I6 Z) R1 w& X" K9 F) B
  1524. ;session.upload_progress.prefix = "upload_progress_"0 F" e: d1 C! X7 Y/ T! y
  1525. 9 H& F/ W* c0 }" N# J" `
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    & x$ x/ ?% I( C3 f  c9 Y
  1527. ; containing the upload progress information# O: F9 u8 Z7 A4 Z* g6 P) }
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 X! I& _6 \1 j7 }: L4 C+ U# U! F; [
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"7 e8 g) J8 j" N+ Z# A
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - w" o/ N  R' P* l4 U; z
  1531. ; http://php.net/session.upload-progress.name
    4 [; V& J+ @6 B5 d
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ( o0 V- O" D% d0 O1 z1 \
  1533. 4 P- T4 x# T3 Z- Z! k
  1534. ; How frequently the upload progress should be updated.4 _$ `2 |3 `$ ]8 b3 N0 K! u
  1535. ; Given either in percentages (per-file), or in bytes/ w: B/ [/ O( S* i8 S! A' E% I
  1536. ; Default Value: "1%", v) |; |. B( R7 C/ v1 p# r
  1537. ; Development Value: "1%"
    ' I! j2 X7 t1 o# E/ a, D& F
  1538. ; Production Value: "1%"
    % o6 Q( w2 s7 W' Z" _: z
  1539. ; http://php.net/session.upload-progress.freq% U4 K8 F$ A" Y
  1540. ;session.upload_progress.freq =  "1%"
    6 F+ [; q: a, P; B6 c2 q0 K' @6 r' N
  1541. 2 C$ Q3 _7 t. l$ V! ~
  1542. ; The minimum delay between updates, in seconds
    / N' x$ }5 R; d$ [0 F
  1543. ; Default Value: 1+ f& n7 _" d5 r  z
  1544. ; Development Value: 1
    0 ?. C' `1 y' U: h2 Y! M3 g
  1545. ; Production Value: 1
    3 d( P6 \6 J$ ?6 `, _3 t
  1546. ; http://php.net/session.upload-progress.min-freq: U$ L6 n: w7 W. w
  1547. ;session.upload_progress.min_freq = "1"( B) W& a+ t2 r: K. Q) {

  1548. 4 `1 ?- k: C; |6 }
  1549. ; Only write session data when session data is changed. Enabled by default.9 |0 d; z6 O  s" }0 b/ @
  1550. ; http://php.net/session.lazy-write! [) A% _: X5 c% v( j% O) R) r: T
  1551. ;session.lazy_write = On" M9 X0 C  i  m, e. X4 L
  1552. 7 _0 M7 q& y" z
  1553. [Assertion]
    ' e, X3 c( E/ M5 z' T+ R) {; d
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)# H7 S9 k: t$ G! I0 ^% ?' F* v
  1555. ; -1: Do not compile at all. X* W, e; L: E" l3 V
  1556. ;  0: Jump over assertion at run-time
    9 N8 Q4 F% Y! B0 ~$ F
  1557. ;  1: Execute assertions/ L! K; U: q; ^# `# D4 ^" ^
  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)2 {; Z" P( U) n, ?  i/ ?
  1559. ; Default Value: 1
    % e0 e9 l/ |/ C0 d4 u
  1560. ; Development Value: 1* y. A2 a0 b/ V' H% U: I4 K
  1561. ; Production Value: -1
    ! }0 x" t0 N8 |3 u7 E) @
  1562. ; http://php.net/zend.assertions
    $ ]. K# l. O, R; x& J
  1563. zend.assertions = -1
    ! H% F5 ]* I4 }. g# k- Z5 ?/ A
  1564. 4 z. g1 V4 J' M6 ~9 B/ N
  1565. ; Assert(expr); active by default.- i+ ]! B3 ^' [! x; J1 l8 U- k# Q
  1566. ; http://php.net/assert.active
    # J* `) g' A5 c5 Y# Q
  1567. ;assert.active = On
    2 T$ y" b( W) i2 c! P  f

  1568.   }6 {  _4 q; j% K4 s
  1569. ; Throw an AssertationException on failed assertions- o. O/ q$ r; T1 q7 L& D+ |# R. O# y$ L
  1570. ; http://php.net/assert.exception$ O9 Z, D, {% n* w! M, ~0 y& _% T
  1571. ;assert.exception = On
    5 C% U& @( F7 v& }8 I# Y

  1572. 2 G3 ~' ^& C! O% N' @3 {! y" l
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)" F# T* E6 t$ ~8 o4 J
  1574. ; http://php.net/assert.warning
    9 B9 F; n$ x  d7 Q% S0 E6 Q: {9 W
  1575. ;assert.warning = On) i- ?& [  P" p" C6 n3 B* W- `
  1576. 6 U( }/ ^7 X3 M  }' R7 Q9 b
  1577. ; Don't bail out by default.+ |3 k6 X8 f7 Q4 L; A2 K
  1578. ; http://php.net/assert.bail% F2 U3 w. w, l: z8 B9 R+ h
  1579. ;assert.bail = Off; Z6 M: X9 h. L) F! o  b
  1580. . _, H7 Q1 j* c# j; X$ Y
  1581. ; User-function to be called if an assertion fails.
    5 a6 B9 K5 B) w* a2 t
  1582. ; http://php.net/assert.callback
    ( O+ C7 U# E1 Y! K- F; S  l
  1583. ;assert.callback = 0
    ! A6 g) C! }& N6 _$ ^. h

  1584. 0 M5 @1 g( c# k- D* l9 M6 T- K% t
  1585. ; Eval the expression with current error_reporting().  Set to true if you want+ B7 k3 k4 E& H  @; m# V
  1586. ; error_reporting(0) around the eval().. G9 Z5 s$ s( s# I
  1587. ; http://php.net/assert.quiet-eval
    $ f& W! n" Y3 K5 D! x
  1588. ;assert.quiet_eval = 0* b6 H* f: F, C6 f5 N5 V

  1589. ! L& F- q$ m% o* L5 x+ x  B6 C
  1590. [COM]% j" g  t. R8 k( M! I" v
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    7 T4 o& e$ h# W/ U! A. c, W
  1592. ; http://php.net/com.typelib-file7 q& g; b$ _& R4 G& M$ U" Z
  1593. ;com.typelib_file =7 l6 g& i! ?. ]+ Z3 ]$ g! [

  1594. : b+ Z* u$ N% m2 R4 K$ x9 L% s1 N
  1595. ; allow Distributed-COM calls
    , l  E5 b+ s- K1 A
  1596. ; http://php.net/com.allow-dcom
    * X4 ?# K% H1 |( {, {* T
  1597. ;com.allow_dcom = true/ d/ S3 k5 ?" v

  1598. * K# V4 W3 L* \* W4 C8 @  n
  1599. ; autoregister constants of a components typlib on com_load()
      A1 f5 Y' z3 U
  1600. ; http://php.net/com.autoregister-typelib
    " v9 J  R5 [/ |; C  ~
  1601. ;com.autoregister_typelib = true4 @" O7 C& c6 @
  1602. 5 l" ?2 J; `0 ]. o! B" n6 o0 K: F
  1603. ; register constants casesensitive
    % {' \& S* H; b, w& |
  1604. ; http://php.net/com.autoregister-casesensitive
    * E2 E. r( ~  t. y2 q
  1605. ;com.autoregister_casesensitive = false
    5 V0 U) B$ @. P& Z" b
  1606. & n: A% V  v: _, R7 d' ^
  1607. ; show warnings on duplicate constant registrations; Z# x, u6 M- p2 G6 ]2 g6 ]9 F. [! d3 u
  1608. ; http://php.net/com.autoregister-verbose
    ( N2 R6 X$ o/ N) |6 p
  1609. ;com.autoregister_verbose = true' \6 v. _7 s. Z- C  n$ _

  1610. 3 h% \' ]  W5 d/ ~: Z$ k) Y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    & ~/ O% m. `3 f( }4 {' B% B  D
  1612. ; Default: system ANSI code page% D2 [5 n) I5 }% s) \# ^; H# e
  1613. ;com.code_page=5 [' `6 C9 m# i( Y; x5 @: u
  1614. * m, m  F0 p: T+ V- x+ A* n) P
  1615. [mbstring]
    6 c& R7 g: T; h' Q0 I, {
  1616. ; language for internal character representation.
    ! e* g" T1 y/ R: [, Z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    $ h$ O: ?" _  G& ?; w. h
  1618. ; http://php.net/mbstring.language
    $ H5 x' r' Z9 j% W' ~* @: P
  1619. ;mbstring.language = Japanese
    # ]7 T, ^, }+ W, F, [
  1620. ( G* g6 P: m; J$ E* F6 {4 o
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 ]  H6 ]) o+ T& W: Q" H& z
  1622. ; internal/script encoding.4 ~2 @# v5 }% ?+ X- X
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    4 F8 Q4 F. F; [* \" J/ {3 x
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- ]8 H4 Y: z  O* p, k" ?) i
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 L( |5 z: o% `. s7 Z' }) @
  1626. ;mbstring.internal_encoding =
    8 d6 N1 G# N1 L

  1627. . q, s- L/ e  M' H, C, r
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " Q& v& E: [. }, T
  1629. ; http input encoding.
    + D: R% q# |5 L$ D: |
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.- E1 ~5 j& g8 W& e) V, t2 `
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.0 I$ ~$ D9 j2 C! n" N0 k: w/ }1 i
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. j- h. J1 A1 h* ?
  1633. ; http://php.net/mbstring.http-input
    ! j& `3 O! h% G+ l6 e9 r; q* R
  1634. ;mbstring.http_input =$ w$ j7 T, K# x" g% _
  1635. ; M$ T7 J: U: i- h
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.* F5 y. T  T& ^, k, }( F
  1637. ; http output encoding.
    9 V3 \5 R2 W  g1 E$ U" n
  1638. ; mb_output_handler must be registered as output buffer to function.3 b# M3 r4 P. w8 }0 T
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.7 k% x8 ~7 |; B2 c7 M( O' _) K
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + r. I6 {6 c% V( G; Y# }9 j0 d$ R( `
  1641. ; To use an output encoding conversion, mbstring's output handler must be set1 J% e5 a0 ]8 g( z* F
  1642. ; otherwise output encoding conversion cannot be performed.
    ) B9 W: b) q( t; @; [1 q% I0 L$ d
  1643. ; http://php.net/mbstring.http-output- p% ^  |2 A9 }9 r- e$ V
  1644. ;mbstring.http_output =& H" n+ A- ~! h5 X

  1645. 9 i6 z. p5 j0 N/ H. B& s9 ?5 y: h
  1646. ; enable automatic encoding translation according to: d! A! v2 c/ P2 |" |
  1647. ; mbstring.internal_encoding setting. Input chars are$ B+ }3 `! F5 \0 z3 T( Q
  1648. ; converted to internal encoding by setting this to On.
    & n9 v0 y3 {. c+ M) n$ Y
  1649. ; Note: Do _not_ use automatic encoding translation for
    ( H9 v( G' s9 g- ?2 B- b9 @" q. R
  1650. ;       portable libs/applications.) A# n' M, A9 E6 O7 ~& E( v
  1651. ; http://php.net/mbstring.encoding-translation
    - n( e) M. M; v+ y2 y3 k; H
  1652. ;mbstring.encoding_translation = Off7 t7 l' a% T4 N; M. C: p
  1653. : {  Y$ D  C/ i2 B
  1654. ; automatic encoding detection order.
    3 U  Q& K9 }8 Z' N
  1655. ; "auto" detect order is changed according to mbstring.language2 b/ u9 g9 b/ X. X
  1656. ; http://php.net/mbstring.detect-order4 V: f, u& b1 ~  R7 t2 L7 k; u0 g
  1657. ;mbstring.detect_order = auto
    & r0 s2 Z0 \* J0 P% ?( x

  1658. " p2 t, X" J' y- p  d
  1659. ; substitute_character used when character cannot be converted/ Z! L2 a9 k: i& P. }# |" w/ h
  1660. ; one from another
    8 z1 o! [8 P) I( X- }2 O
  1661. ; http://php.net/mbstring.substitute-character7 h$ Q) f  S2 @7 v/ t/ g
  1662. ;mbstring.substitute_character = none
    : U# F. h- m" j& e1 B* g

  1663. ' r  h, d3 I" j
  1664. ; overload(replace) single byte functions by mbstring functions.$ R, D- M! X8 B: A$ L, ^; h
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - m1 l* M3 P- A0 s: z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    * b4 g# H% p: D, ^
  1667. ; For example, 7 for overload everything.
    : @3 u4 y/ @9 I0 n$ I+ @$ `3 g/ L
  1668. ; 0: No overload6 O0 e/ j! E9 x. }' @8 U
  1669. ; 1: Overload mail() function
    , m6 v9 g! Y# c% y$ B
  1670. ; 2: Overload str*() functions
    7 k7 \8 g3 |+ Z! {: h$ q
  1671. ; 4: Overload ereg*() functions4 G( U* {" Z2 f, `% u8 m. V
  1672. ; http://php.net/mbstring.func-overload& j+ C9 ]) U- n" @% L$ O
  1673. ;mbstring.func_overload = 00 j; Y) U. L2 r- g% c9 P

  1674. 7 v1 N" }5 K9 j6 I9 H
  1675. ; enable strict encoding detection.
    ) t4 K* ]9 P2 c$ L1 x- z. i; G
  1676. ; Default: Off; x' N" [0 b* X( {9 ~
  1677. ;mbstring.strict_detection = On
    ! T$ l0 R! x: Y6 m; ~9 ^! x% O. G' N
  1678.   Q9 e! f* |; `9 y5 I
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ k- ~9 H" {$ B$ v/ _
  1680. ; is activated.
    0 d* d; N- n2 G' l( C1 Z
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    : p9 u/ Z2 B, X4 T/ R  z: J. M
  1682. ;mbstring.http_output_conv_mimetype=6 x; `4 R" g/ ~$ _1 Z
  1683. 7 F1 ^% C1 G% m) v( X1 j) Q
  1684. [gd]
    ' T9 E- t! W/ A! l" Q
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    , E& j' ?: p" o% t1 ?. M, N; D
  1686. ; a gd image. The warning will then be displayed as notices
    ( Q  }2 k9 Z$ Z# X( m, M
  1687. ; disabled by default$ ]1 S0 r! O. ]3 z
  1688. ; http://php.net/gd.jpeg-ignore-warning% B1 j- D, v7 r: B$ q; |
  1689. ;gd.jpeg_ignore_warning = 0& ~: T" G8 p. `3 x3 d) ?8 d9 B4 O/ H
  1690. + B5 X2 W4 y: Q+ w7 Y
  1691. [exif]. R  d( M/ }8 g6 b  \
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% S. _( t5 I% N8 T; e- I
  1693. ; With mbstring support this will automatically be converted into the encoding
    8 I, W& c9 v) @
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    , t' ~3 W0 o- I3 g' h/ d6 i+ V/ S
  1695. ; is used. For the decode settings you can distinguish between motorola and$ {8 e" r2 h# e2 Q, Q+ [
  1696. ; intel byte order. A decode setting cannot be empty.! H; F  A. _/ j2 x1 E
  1697. ; http://php.net/exif.encode-unicode" ^# e/ R7 f! y0 x& l
  1698. ;exif.encode_unicode = ISO-8859-15
    % P$ \  z; c2 i/ M
  1699. , f( I7 t9 k' Q5 L0 G& }) W" c
  1700. ; http://php.net/exif.decode-unicode-motorola5 Q" Y2 e( ^) }( Y2 k
  1701. ;exif.decode_unicode_motorola = UCS-2BE4 O( \0 d, d$ ^' |8 \% M* a
  1702. ( [8 u- g1 K4 ]- {2 a
  1703. ; http://php.net/exif.decode-unicode-intel3 W: l% O) e0 ?8 _
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ; x$ g& E5 c8 |

  1705. ' R5 b3 N2 f- J9 K- |4 ^1 O
  1706. ; http://php.net/exif.encode-jis
    " n% B' G7 `) h" e2 B* f8 q
  1707. ;exif.encode_jis =+ ^+ U# L& N/ _% _% e  u7 \. d
  1708. ' d! C- q7 U6 B' o. x8 a2 u- X$ }, U, a
  1709. ; http://php.net/exif.decode-jis-motorola
    : a; P- l9 O6 a( }* [% T
  1710. ;exif.decode_jis_motorola = JIS
    5 L' T: O4 e) ~. r- p: v  j
  1711. 7 h8 t$ p, c% j! c' c
  1712. ; http://php.net/exif.decode-jis-intel8 u0 p. ^: k, ?4 B1 z4 f
  1713. ;exif.decode_jis_intel    = JIS
    ) S. I6 ?" o# i# H
  1714. - h; z$ ~7 N: k% p0 s
  1715. [Tidy]
    + G7 n5 K+ F' k- u) M
  1716. ; The path to a default tidy configuration file to use when using tidy! k: [6 o  P/ t0 X* T
  1717. ; http://php.net/tidy.default-config
    & G( m; g. Y9 |
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg$ A2 j5 f3 F+ r% l
  1719. 6 J1 d- ]( B/ x5 {2 ^
  1720. ; Should tidy clean and repair output automatically?
    4 {: Y5 |8 K+ C
  1721. ; WARNING: Do not use this option if you are generating non-html content
    0 n; c% t; l/ p6 j$ @& ^
  1722. ; such as dynamic images
    9 g* D% |* E1 D  E, u- s
  1723. ; http://php.net/tidy.clean-output) K9 T, R. R" y& l0 ^
  1724. tidy.clean_output = Off/ |+ ^" \: B6 _% G+ W) ^0 d6 Q
  1725. ! V0 \# \1 v- ~0 _1 c  F
  1726. [soap]
    , P9 A4 ]+ f# g7 E& R* m8 P3 M
  1727. ; Enables or disables WSDL caching feature.
    ; ?* o) [' h7 G$ A
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 u- |" b7 W+ p( e! \$ S
  1729. soap.wsdl_cache_enabled=1
    ! {/ T" j- c+ W; h( a

  1730. " A8 o; ~' G5 h5 d4 F  F
  1731. ; Sets the directory name where SOAP extension will put cache files./ A5 S1 `0 U/ {2 K' m
  1732. ; http://php.net/soap.wsdl-cache-dir2 w: s% m$ w6 x  A- t. G  g% S
  1733. soap.wsdl_cache_dir="/tmp"5 d9 w9 t5 F% d( m  [

  1734. 4 k. [9 L( F& b7 t
  1735. ; (time to live) Sets the number of second while cached file will be used+ O8 r, B2 |) T' n
  1736. ; instead of original one.# e+ ?) n" G8 h1 K5 N: k
  1737. ; http://php.net/soap.wsdl-cache-ttl/ k9 J" v+ Z5 k
  1738. soap.wsdl_cache_ttl=864007 t: W9 A7 Z3 b# H+ S& ]/ V
  1739. " z: _/ x0 y7 j, S/ S* f: m
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    0 R$ T- c( r/ d
  1741. soap.wsdl_cache_limit = 5
    0 X% _! e- w9 P( B
  1742. ( ?, w4 l* f0 I% ]5 U, V
  1743. [sysvshm]
    . A1 s" K  s4 X0 C) _/ y' A
  1744. ; A default size of the shared memory segment
    5 q! r0 z$ h2 a* y
  1745. ;sysvshm.init_mem = 10000. e! S! I2 I& l( Z8 F% ?, s5 H  A

  1746. ) F; t' d' k0 d" z! k0 \, f
  1747. [ldap]
    1 c! |9 p. j' G  M" x  X
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    7 i3 A3 }  z3 N3 F7 v+ U9 g
  1749. ldap.max_links = -1
    8 G$ H! P( I4 h4 ~

  1750. , I, T" I) u1 q; D) q
  1751. [mcrypt]+ V- a& R5 y% u5 {
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ! N1 \# P4 L. ?" F

  1753. 4 `7 @6 H2 a8 ]. p- j0 o& e  T
  1754. ; Directory where to load mcrypt algorithms4 A0 n$ j- R0 q
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 n8 w( G3 ~3 a+ C+ V8 ]
  1756. ;mcrypt.algorithms_dir=
    5 m0 T- H+ h% l
  1757. % o. ^# j" Y- X7 ?) T4 k# i0 r6 z
  1758. ; Directory where to load mcrypt modes
    9 A  b* F' T" M6 r! h. I. c7 V) u
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . O$ c( \! B5 b0 B, e# p- m2 v
  1760. ;mcrypt.modes_dir=5 n4 ]4 g4 W) O& {7 W
  1761. # H, ]& C% L% r+ M6 P- ~; \
  1762. [dba]
    3 {% I4 e9 z( I
  1763. ;dba.default_handler=
    2 x8 ?# \) }$ H
  1764.   o) `& \. X9 J
  1765. [opcache]! p" ^  ]& s0 f5 z
  1766. ; Determines if Zend OPCache is enabled
    : V- v$ R1 r# x& s# q: O1 O( r0 [- ~
  1767. ;opcache.enable=0. d/ I& b; U( w4 @- d- o
  1768. 6 B9 R' _9 e0 n. N, }# a
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    3 L  w7 m9 K' e9 S/ x( G- w) _( E
  1770. ;opcache.enable_cli=0. I3 ?; H  s7 l! }1 g

  1771. / K" @7 D: ]' {$ r2 A2 s
  1772. ; The OPcache shared memory storage size.$ k$ |0 V& }/ Q% U4 M
  1773. ;opcache.memory_consumption=64/ h0 \% c8 |& S* b) o% L

  1774. 2 Q  O: ]4 S7 a9 p% k' u: i- |2 v
  1775. ; The amount of memory for interned strings in Mbytes.
    4 U7 o- a; N' p4 m; ^. a3 a
  1776. ;opcache.interned_strings_buffer=4& ~$ |7 {) s6 \+ |( D6 C& |' a
  1777. 7 z9 t! n5 v; W) F5 V6 V$ U
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ; e& R9 R$ @, W+ V
  1779. ; Only numbers between 200 and 1000000 are allowed.
    , h* F) }, T% r
  1780. ;opcache.max_accelerated_files=2000
    , M1 ^& o" w) U% ~  |% ?1 Q

  1781. 4 ~) d. o0 g$ e+ Z
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / K1 T" n6 i: [3 T3 J/ |  ~
  1783. ;opcache.max_wasted_percentage=51 f0 u$ s$ V/ ]4 z, P
  1784. ; e+ |( b1 m0 I" u$ \' M, T
  1785. ; When this directive is enabled, the OPcache appends the current working4 ]& ~# `% l! `+ S( Q
  1786. ; directory to the script key, thus eliminating possible collisions between3 ?3 R0 H7 V8 j3 a# h3 e4 F7 b
  1787. ; files with the same name (basename). Disabling the directive improves" t! t+ f& q; M: R; ?7 G) Y3 `  p
  1788. ; performance, but may break existing applications.- {. i1 ^* K$ Z% ^& P1 E: O& R* A
  1789. ;opcache.use_cwd=1
    2 J  N* ~: O  r; x$ V  \

  1790. 0 X2 E& m7 k4 B/ E
  1791. ; When disabled, you must reset the OPcache manually or restart the
    / `# z% |/ e! f3 ]
  1792. ; webserver for changes to the filesystem to take effect.
    ) Z* j6 X& n6 O; C
  1793. ;opcache.validate_timestamps=1
    * i2 t" _# }- b) Z

  1794. ' z" h! n/ O8 S' @
  1795. ; How often (in seconds) to check file timestamps for changes to the shared. `. C7 A- Y- c2 q! q; Z" p$ @. w& h) d
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    : h3 Z# V' F" S! ~% L6 Z4 I5 C! R0 j
  1797. ; once per request. "0" means always validate): O7 f- B5 ]* W
  1798. ;opcache.revalidate_freq=2
    ) ], J2 t( Y! s2 q" T
  1799. ! L& H9 O" o$ _/ z  A" S9 g) W
  1800. ; Enables or disables file search in include_path optimization
    ! f- a2 B: S6 f! g0 z
  1801. ;opcache.revalidate_path=0: Q3 E7 V8 g6 e) m( [

  1802. 9 _: E* M: A3 U; \5 _
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    8 ^  m4 o% Z9 L6 b7 ~  a, J
  1804. ; size of the optimized code.
    - B# x: d* V( [7 {% L
  1805. ;opcache.save_comments=1/ q, i2 B+ B+ N3 T; e' h1 W( u
  1806. 7 w% T# z1 b. ^2 B3 P, z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code; x% l+ _" p* M3 x0 q& M* F
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    6 t7 J' ?8 G4 P; |' f8 H
  1809. ;opcache.fast_shutdown=0
    1 F  g" G% n6 ~/ p5 t# W0 G

  1810. 2 ^: P6 e, }5 s8 n( L! ]
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ) |9 r# i' S" q% T, s( b) H# {) d
  1812. ;opcache.enable_file_override=0; _  u) ^# f% Q6 R# Q

  1813. 4 D, L/ D! [7 e9 r% k
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    4 x5 G" \+ m& n) D, U# e! `$ W
  1815. ; passes  J9 [# A* P9 ?' v3 [/ i6 i1 g
  1816. ;opcache.optimization_level=0xffffffff3 v) x; G2 c9 y% j0 O

  1817. , K9 {+ h1 _3 ^! \
  1818. ;opcache.inherited_hack=1
    . o" S2 U" f" |0 g$ {
  1819. ;opcache.dups_fix=0
    ! |4 K" h% z) X/ x0 K: n# v

  1820. + O+ q7 y! f; y: Y4 o
  1821. ; The location of the OPcache blacklist file (wildcards allowed).9 U9 C6 N1 V3 p
  1822. ; Each OPcache blacklist file is a text file that holds the names of files# r( W' s) L$ l& U/ H% y/ c, K
  1823. ; that should not be accelerated. The file format is to add each filename
    " i* o- K7 H# _$ @1 v4 C
  1824. ; to a new line. The filename may be a full path or just a file prefix
    * _1 V2 g9 ^) C! K* J) t
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
      r* t' O, l' q: p6 A5 c
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - G) r0 w9 L/ B8 C  x7 v$ F' z' d
  1827. ;opcache.blacklist_filename=
    ( z+ ~$ l* l1 u# p/ n
  1828. 0 D& N( N' Q9 q4 k8 b4 H
  1829. ; Allows exclusion of large files from being cached. By default all files1 v, z6 S0 H! Y0 W$ D% m1 _
  1830. ; are cached.) {6 L3 J5 n- b. l1 r5 V: s" @: G3 f
  1831. ;opcache.max_file_size=0
    " }3 w% Z  a+ B, A. |2 Z" I3 B3 d2 T
  1832.   ~1 L) N0 W. S7 z
  1833. ; Check the cache checksum each N requests.
    9 L3 K" R( C. y* t; H6 k# Y, U
  1834. ; The default value of "0" means that the checks are disabled.3 p! l" O$ L: `/ T* C
  1835. ;opcache.consistency_checks=0+ B  }# V6 [6 b) L; f& Q9 x4 Y
  1836. % a$ W( `& J2 E$ M1 t5 A, y4 G
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    2 d" H- f0 O2 p- P3 a3 n2 L
  1838. ; is not being accessed.) ]0 U1 T% k5 }- ^, w
  1839. ;opcache.force_restart_timeout=180
    . h+ f. `2 m4 x0 W* }! D6 A
  1840. 3 `  t- S5 e: c* a  Y. ~
  1841. ; OPcache error_log file name. Empty string assumes "stderr".* N; u' E" Z) P" ]+ ~
  1842. ;opcache.error_log=
    2 f. J; d4 m5 T7 N6 h* [3 R* Y
  1843. 7 D; u+ ~' w3 I) y1 ~
  1844. ; All OPcache errors go to the Web server log.
    , I4 Q) A8 A: d0 B: D
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ) C; ~4 r' G. S; }7 J) g
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    3 o4 m" K% F) H9 C, v
  1847. ; debug messages (level 4).
    - {3 b. Q- b' V8 j
  1848. ;opcache.log_verbosity_level=1& g) a4 Q: {7 y* _  r& `, x
  1849. / c" E6 N3 h9 I% K, q7 ^: N/ A
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.# F" C5 W/ d) B' `0 k
  1851. ;opcache.preferred_memory_model=
    2 i6 }( L0 i# L, j9 e/ v
  1852. 8 {+ D( ?/ J% ^( f" y2 W
  1853. ; Protect the shared memory from unexpected writing during script execution.
    : A9 Z' W- l, Y8 A
  1854. ; Useful for internal debugging only.) d1 M6 h7 j/ l1 `
  1855. ;opcache.protect_memory=0! V( x5 X! w$ E! G4 {
  1856. ! K+ _8 \& L! ~2 j7 m! m6 _- b
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    * @! A& a% M8 C
  1858. ; started from specified string. The default "" means no restriction
    & V- }) X- C% z
  1859. ;opcache.restrict_api=6 q- ~- T- P6 v: Z1 V6 Y
  1860. 8 A1 N6 }5 u( A* g3 r
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP) D; ]/ M% Q* z9 [  ^- |2 P& U
  1862. ; processes have to map shared memory into the same address space. This5 g8 r; M# d! I6 [) T% d
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ) u. d/ F8 l* h9 w
  1864. ; errors.
    1 f" U0 ~+ f$ q
  1865. ;opcache.mmap_base=
    - `/ ~; P* i; I. c: ]9 v
  1866.   |+ M) M; J, v; c" V5 m: P4 s$ E: h$ z6 M
  1867. ; Enables and sets the second level cache directory.
    ( n! B0 S8 N0 O! H& `
  1868. ; It should improve performance when SHM memory is full, at server restart or2 C1 d! U( t& Z0 I+ R# k
  1869. ; SHM reset. The default "" disables file based caching.# a9 U0 |8 u+ \, O7 y" R8 \
  1870. ;opcache.file_cache=. ?) n5 G1 |# r, L
  1871. & A+ U. O8 S4 o5 E; Y6 p8 J$ X
  1872. ; Enables or disables opcode caching in shared memory.
    / v; A4 s0 G/ ~* E
  1873. ;opcache.file_cache_only=0" E: m2 d( d5 O: A

  1874. ' W& a+ [# Z5 Z) \8 M, T
  1875. ; Enables or disables checksum validation when script loaded from file cache.3 Q+ U. [- h, a
  1876. ;opcache.file_cache_consistency_checks=1
    ) W. v# O  |' }
  1877. % O/ B/ N/ V$ D- R# \3 F) @
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to7 d0 a6 j& t! o% R3 q& D
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file1 x) B, F7 D4 ~; V$ K2 h
  1880. ; cache is required.
    , w( ^( t  i( E" U5 c
  1881. ;opcache.file_cache_fallback=1( ]7 E7 _( O8 [. B" d) A
  1882. & I5 T2 x7 Z: j0 s7 f
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% E. J/ m  F# k6 U) d- w2 b
  1884. ; This should improve performance, but requires appropriate OS configuration.
    8 L6 Q# m/ _; f/ H! \4 X8 B3 W
  1885. ;opcache.huge_code_pages=1
    : ~4 B; s3 c) n$ a  V+ \/ W
  1886. : \8 l; W/ N# h2 k0 N. Z" w( Z
  1887. ; Validate cached file permissions.. @6 T7 Q7 }$ j8 C0 v
  1888. ; opcache.validate_permission=0
    * i5 H9 d! r/ K2 Y! @' Z2 I: w3 W& e
  1889. 7 v! W/ _& }* p! |; s# Y8 E& d# Z
  1890. ; Prevent name collisions in chroot'ed environment.7 ~8 W; o/ B; @" F: `* f
  1891. ; opcache.validate_root=0+ e8 K: R, `% V% T- b  r

  1892. 9 G: h2 m! p* i6 g: M$ r
  1893. [curl]
    4 M. C1 q! i4 w; X1 ^
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 f$ }2 b# [; h7 z) u1 Y5 o. E+ X
  1895. ; absolute path.
    ' a* u* F- `  e; h! s+ X/ r0 m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt: l, f. Q; ], E' C3 J5 V( k* v0 j
  1897. 4 o2 Z% ]' V- z( d0 J+ V+ O
  1898. [openssl]/ z- _! f# R* m5 c+ m1 k& M3 ?+ R
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem) i* e, C8 V" T
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should3 }2 r6 C5 H) `+ X) X; T3 m
  1901. ; not specify a value for this directive as PHP will attempt to use the
    , b* y' f: n/ X7 |% v( p) V! |: P
  1902. ; OS-managed cert stores in its absence. If specified, this value may still7 s0 ]6 p/ S1 j0 r" h4 m- @0 U
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    - V) ~! S2 B9 y+ d+ M! `4 {
  1904. ; option.
      ?4 R% W% s( @+ G; F
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ; z  n9 V$ N* L, a$ J

  1906. 2 w( x4 x: K5 }7 Z, p8 ~9 r7 I( y
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the4 Q. X; D8 `. u
  1908. ; directory pointed to by openssl.capath is searched for a suitable! d9 k6 k" a- A% p1 ]
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    8 [  H: C' n, m1 M4 L0 t% u& P4 V6 f
  1910. ; Most users should not specify a value for this directive as PHP will% L+ D' w& Z& W( H- F
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    * i) c' R" r5 P  k& v3 ?4 ?8 C
  1912. ; this value may still be overridden on a per-stream basis via the "capath"9 @' o. ?1 Y( \& p0 I4 H* |1 `
  1913. ; SSL stream context option.: V& v1 p/ W" V' u- W/ H' \+ C
  1914. ;openssl.capath=
    # t( V# j. }1 a/ J" s

  1915. ( x" f2 l. W8 r6 i. K; ?- X) i
  1916. ; Local Variables:: H" p' ~1 E- O0 E6 m7 p4 X
  1917. ; tab-width: 45 Q0 v) `( ?% y2 ^
  1918. ; End:3 ^0 R! C( x9 m  l

  1919. " d/ A$ \! x  j
  1920. ;eaccelerator
    ) F' X0 R5 E) B8 q% d3 h- ^& B
  1921. & H' p% f5 `3 {. o, F5 |6 C) ?. T
  1922. ;ionCube
    6 @9 {7 U' m# i* Y. O$ |
  1923. " }9 O! \, F6 e2 t
  1924. ;opcache
    ; \- X' t& o, {# b

  1925.   Y& F5 }& Y0 Q. ^  C8 [
  1926. [Zend ZendGuard Loader]
    6 r) o5 {' Y3 w8 }
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ( `' m/ y, X- E9 I3 m) W4 H8 a; q
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so! I3 t+ u, c  O7 g- p
  1929. ;zend_loader.enable=1) \  H5 Z: N" }
  1930. ;zend_loader.disable_licensing=0
    : ]9 L3 i/ w+ V
  1931. ;zend_loader.obfuscation_level_support=3
    $ E$ [) I# J- y1 G  _6 E
  1932. ;zend_loader.license_path=, U+ X8 b8 |8 s: }
  1933. ( _  [/ ^4 i8 A0 c7 }
  1934. ;xcache" Y+ V3 `" ?' V9 B" E

  1935. 8 o1 }- b2 _) ^
复制代码
+ D5 J4 Y' j2 S* j% u
, x3 v7 T1 d' @5 R1 a3 y

, a0 ?) G& D( h$ ^6 T& B8 \3 b/ w* B+ p  O3 B. g) @

3 \  S% u) z  H9 K6 T+ N5 E9 p) L6 M$ \1 u; v

* a( F7 Q2 \4 m0 v: C% B7 g$ ?# C! FPHP5.6版本原始设置
; w8 w! S7 Q) `! ?0 D: ^
3 R' N: `( l) H' d
  1. [PHP]1 ^6 ^; F# e$ d" L/ g- J; M9 P

  2. : ^  K/ j% ^2 Y8 P
  3. ;;;;;;;;;;;;;;;;;;;8 J- U0 M- i! i: l4 ~3 L. P
  4. ; About php.ini   ;; @+ {7 I$ L' w
  5. ;;;;;;;;;;;;;;;;;;;
    $ C: t4 Z" x' |; N+ P. u0 |
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' H/ e  W7 {* w4 q
  7. ; configuring many of the aspects of PHP's behavior.( e* f" i+ ~  I% a# ^2 X
  8. " w* N0 u! Q; b( c5 Q7 E, ~
  9. ; PHP attempts to find and load this configuration from a number of locations.
    4 t# `. q- X+ [
  10. ; The following is a summary of its search order:
    : q+ O' i' w  s* `9 _; O: V; f/ ~
  11. ; 1. SAPI module specific location.
    # K7 d8 }3 d4 U  P0 h/ ^" u0 f4 `
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    $ G3 |; z6 G  e- O7 ?" }$ t1 _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 B' L- X; P+ d" W, R
  14. ; 4. Current working directory (except CLI)2 X6 r; O: g5 N1 w7 K% v, v3 Q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # _  R+ t3 `4 h/ [
  16. ; (otherwise in Windows)
    . I  g: e! W, q+ [
  17. ; 6. The directory from the --with-config-file-path compile time option, or the4 l: [! ]0 N3 ?  B
  18. ; Windows directory (C:\windows or C:\winnt)0 [' F% X5 T8 f
  19. ; See the PHP docs for more specific information.
    ! [2 ?% y6 u) \% B5 Y
  20. ; http://php.net/configuration.file
    ' i3 e8 X7 m/ K& G6 t+ f$ S

  21. 0 w1 _" R, h3 p# v
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ! J/ b) S. ^' H6 U. I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    : z$ S+ c; a$ I: u
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 ]8 u! {' P5 a( p: `* [6 S4 x0 G/ U
  25. ; they might mean something in the future.  a; j7 Q7 _% q. g/ e$ S
  26. ' l' E) ?5 m' W+ m0 O) P
  27. ; Directives following the section heading [PATH=/www/mysite] only+ w' T: c! X1 b9 o$ K
  28. ; apply to PHP files in the /www/mysite directory.  Directives8 O$ E; ]$ p- i3 l# v. ]
  29. ; following the section heading [HOST=www.example.com] only apply to  j, y# ?+ @/ w
  30. ; PHP files served from www.example.com.  Directives set in these9 }1 k8 r3 O: |
  31. ; special sections cannot be overridden by user-defined INI files or
    * f* H# r4 P8 T# r6 U' K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 k3 q$ T! Y3 V# p; J& e+ t- P1 y) T2 R
  33. ; CGI/FastCGI.
    $ ?& m4 P1 x4 ]8 k$ U
  34. ; http://php.net/ini.sections
    - ?8 }/ I4 F  K& b3 R! V

  35. ( e  G, T% Q$ B: @( @7 ]" t
  36. ; Directives are specified using the following syntax:  `& ~# u! x( C' q
  37. ; directive = value+ t# l, ]: @! u5 J  J) f  I+ r
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 _9 y# `6 h7 |$ A
  39. ; Directives are variables used to configure PHP or PHP extensions.* ?7 }5 n$ b. @! }
  40. ; There is no name validation.  If PHP can't find an expected- |1 C* d5 a" S1 z
  41. ; directive because it is not set or is mistyped, a default value will be used.$ G$ [& K5 h, ~& q( H" V

  42. 9 r: a8 A6 c" I
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one8 P- k$ b7 @+ v8 S
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression9 d' z6 P5 {% t
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a* d& I# q! C/ |2 E2 R4 q
  46. ; previously set variable or directive (e.g. ${foo})! [  I/ W2 u) _

  47. 9 F+ q- f, H9 s
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:" }+ }/ c4 w, C  J9 C/ }& o
  49. ; |  bitwise OR
    - p  l2 a) Y& X, h
  50. ; ^  bitwise XOR2 V9 k; v& E1 n. ?
  51. ; &  bitwise AND
    6 }, r5 u; @8 C0 R
  52. ; ~  bitwise NOT4 m) p7 G0 P- L/ o( b1 u
  53. ; !  boolean NOT
    + f- s8 K# \+ v& l9 S" r
  54. + U  B& \$ [, g; w; V
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    3 a+ D3 Q7 U3 F7 b
  56. ; They can be turned off using the values 0, Off, False or No.' W8 n- x+ z7 b- ^, C, c
  57. 1 E" _$ R5 t& B* m0 X# t' {
  58. ; An empty string can be denoted by simply not writing anything after the equal
    1 k- Y" v+ {( \' v7 o# _% s6 \
  59. ; sign, or by using the None keyword:2 J6 V  o) s5 P

  60. . s9 }; ]1 {7 M5 L$ {- b; d
  61. ;  foo =         ; sets foo to an empty string+ T  F% V& G+ o0 J) T0 `7 q4 `
  62. ;  foo = None    ; sets foo to an empty string, }, d5 K2 {  `* _! k( S8 u- q
  63. ;  foo = "None"  ; sets foo to the string 'None'$ v# @8 m0 u2 U& o! y
  64. # \  z* y9 R+ Z- v
  65. ; If you use constants in your value, and these constants belong to a
    1 q) j: K$ x5 V4 f: l  \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 f9 Z: A; ]- Y( l" Q
  67. ; you may only use these constants *after* the line that loads the extension.
    5 M  |! \0 _8 p1 w

  68. ( H6 C+ u, }6 ~% x( g$ N! A
  69. ;;;;;;;;;;;;;;;;;;;% g, _- B( J* |& u8 a: Q' w3 Y$ \
  70. ; About this file ;
    ) z; C" U; m- V  V, |
  71. ;;;;;;;;;;;;;;;;;;;
    6 V" b: l+ p1 @2 N- m
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    3 k( x" N: Z" L: w5 D
  73. ; in production environments and one that is recommended to be used in5 Z' Z8 n3 t+ A. l8 n5 P# c# ~! t
  74. ; development environments.
    & H8 r8 \; Q9 x4 F' z" e2 [

  75. , h  m6 `; x1 K5 s
  76. ; php.ini-production contains settings which hold security, performance and
    9 z8 a0 F6 i% y# i5 I3 t
  77. ; best practices at its core. But please be aware, these settings may break/ m+ s& \  n7 r. n. w
  78. ; compatibility with older or less security conscience applications. We
    $ P( |4 D9 ?! c, P  C) v6 c
  79. ; recommending using the production ini in production and testing environments.2 R/ r* f1 m5 m1 W

  80. 5 \, n, [3 Y' V# X# z. X/ k
  81. ; php.ini-development is very similar to its production variant, except it is
    # h9 I3 v2 ^$ J' _5 r
  82. ; much more verbose when it comes to errors. We recommend using the
    / a# N$ J1 {: h- ?5 j/ F6 ]
  83. ; development version only in development environments, as errors shown to3 E( k0 ]! C- y' v
  84. ; application users can inadvertently leak otherwise secure information.
    5 l0 Y& F; u. k! h2 a1 \" Q
  85. : J7 [5 b1 C& o3 \1 D( I8 h
  86. ; This is php.ini-production INI file.5 ~( ]/ p2 O, U
  87. + o& U( n; ^4 w( E/ s1 C
  88. ;;;;;;;;;;;;;;;;;;;
    $ n# b& v; w. P8 }9 K8 [
  89. ; Quick Reference ;, j9 k1 a7 Y: B$ @5 F
  90. ;;;;;;;;;;;;;;;;;;;
    ) X# |6 R2 P+ p- o  O9 W
  91. ; The following are all the settings which are different in either the production5 a+ Y/ S0 H! T$ d6 c! A5 t
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      U1 t% K8 {3 h5 \2 D4 W6 z
  93. ; Please see the actual settings later in the document for more details as to why. k! T  M  P$ z5 @5 q8 G, G! ?
  94. ; we recommend these changes in PHP's behavior.
    % x+ d3 s( w6 W/ u; `1 U- _
  95. 7 q3 G! x5 p2 j
  96. ; display_errors+ Z% E+ e' q* Q! f/ e
  97. ;   Default Value: On
    ; w; o% y9 o! O7 U5 D
  98. ;   Development Value: On  ]6 ?5 E8 Q  {
  99. ;   Production Value: Off% Y) p  \* N) D2 B% c) W& j

  100. & `, B& H% _( D  |& L9 @% E
  101. ; display_startup_errors
    / f9 B4 c. m, K' S0 ]) U& V+ q5 J
  102. ;   Default Value: Off8 }* E6 j3 m) E5 K; {( o/ S
  103. ;   Development Value: On
    2 i6 u, Q, i% o5 \$ ]; C# l% S
  104. ;   Production Value: Off
    8 }3 c/ {7 v+ g  `/ r+ F! D
  105. 5 J, H8 \# {. s) y2 ^" Z* I
  106. ; error_reporting
    0 q) c7 ]+ B8 i1 b
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 b6 X3 v. G. O( M8 G! t
  108. ;   Development Value: E_ALL( U: O9 Q3 E) F7 r5 z$ ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # V/ Y& [0 h, a; Y

  110. " B9 F+ h% H0 G
  111. ; html_errors
    9 W  }% r: [5 b  c
  112. ;   Default Value: On7 K: m. i' r; N) t# I
  113. ;   Development Value: On. h" w4 W0 c1 q: O; E$ H
  114. ;   Production value: On
    8 k" ?. |- j  x4 |

  115. ; ]# T5 h3 t0 v- j
  116. ; log_errors( P. b/ S* N& Z. _3 v9 i! e% ^5 v
  117. ;   Default Value: Off, [" N6 V3 B9 Y# X. N
  118. ;   Development Value: On; Y5 e0 m6 b: _( x) [% G" f
  119. ;   Production Value: On6 {& T; g5 I* {6 U9 k9 t
  120. & t/ [) H4 n/ W. K7 ~
  121. ; max_input_time
    $ E% z2 h8 g2 l
  122. ;   Default Value: -1 (Unlimited)
    8 U! {# X+ f  ]  }2 S
  123. ;   Development Value: 60 (60 seconds)
    7 ~$ u8 }3 N) ?
  124. ;   Production Value: 60 (60 seconds)
    . @3 K; ?  b+ v+ P- h& C  [. x* T

  125. * g8 R' }: A4 [3 M& F  G4 D( q; a" L
  126. ; output_buffering
    + h* B6 F0 d4 p
  127. ;   Default Value: Off, n# n, w7 N. G6 M7 M
  128. ;   Development Value: 4096
    ' q' l& t6 w& [! e* |6 J
  129. ;   Production Value: 4096
    1 \, W) @2 W4 [7 t! I

  130. + e; }% c, Y1 \
  131. ; register_argc_argv% g+ t2 q, y+ i. k( b# V, q* b% _
  132. ;   Default Value: On
    7 g( a3 M  ^4 S, p2 n
  133. ;   Development Value: Off
    7 p+ N8 K# a) _  |& _1 S+ H9 m6 h
  134. ;   Production Value: Off8 c3 j; J5 p9 n7 ~" x* {

  135. + N5 L; A$ `1 m% S
  136. ; request_order
    " K% t3 s5 y: R+ C0 O) h& S
  137. ;   Default Value: None
    % [" U, A8 `7 y' w+ O9 G" B
  138. ;   Development Value: "GP". N% J2 `. ]+ Z$ p4 t3 `# w
  139. ;   Production Value: "GP", A! a) B8 Z* q# s
  140. # m) C( B  {% x+ ]+ T7 W( ^
  141. ; session.gc_divisor
    , u* q& Z4 _" A; T. T
  142. ;   Default Value: 1006 T9 ^6 Z! [2 g  y0 z
  143. ;   Development Value: 1000& J; ~0 x5 P- q0 T% P+ w
  144. ;   Production Value: 10006 Y& u. ?1 @" `6 y) y# `$ S* }4 d
  145. 9 I8 G) M+ m2 `
  146. ; session.hash_bits_per_character
    7 G" E' M+ ^8 c6 D# F
  147. ;   Default Value: 4; y% _4 E4 r! _' d6 H
  148. ;   Development Value: 5  f& t8 h$ p8 f; l
  149. ;   Production Value: 5, T7 M  x/ a: C1 ^+ G* ?
  150. ) q, F4 ^2 t; N. z
  151. ; short_open_tag
    , U' g6 [* W/ l3 G5 _
  152. ;   Default Value: On% W' y) Y' Q. v+ x" K
  153. ;   Development Value: Off* A2 v7 ]7 ^7 f* q; z4 U. C
  154. ;   Production Value: Off5 F% E% ~% h$ d  G) f7 f: _
  155. & \, q1 s/ T# ?; G0 i# J" X- a; l
  156. ; track_errors
    , [* a3 U# I4 z" a$ J3 T
  157. ;   Default Value: Off
    / j8 B$ ~  z( I
  158. ;   Development Value: On& V3 L1 E% c/ e9 U1 a+ ~
  159. ;   Production Value: Off
    % w% D8 |! x0 k9 _& S) n) P
  160. 0 |0 e% a+ ?. R1 X2 n# R/ ~
  161. ; url_rewriter.tags, C( `. t) C4 x3 C$ B( E* G8 O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! }& e4 F4 O3 s$ y1 s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% Z" }4 y. _' P6 H+ r
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* P- E9 a+ z0 {& i7 r! U
  165. ; [2 z1 `1 k+ [' r/ S% v2 {
  166. ; variables_order! T/ L! `: n4 }3 V  y- d
  167. ;   Default Value: "EGPCS"+ f5 Y; ~5 ^' M7 ?; W: {# f* q
  168. ;   Development Value: "GPCS"3 L( Q+ S# }( O
  169. ;   Production Value: "GPCS"$ w0 N/ u0 [% {. c

  170. / X1 A9 u. Y4 T3 z, R
  171. ;;;;;;;;;;;;;;;;;;;;
    1 {: i# J5 a* V) ^7 F# s! H$ q
  172. ; php.ini Options  ;
    , L; Y3 P' s, Q
  173. ;;;;;;;;;;;;;;;;;;;;8 r+ V# h, L0 A2 H  [
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"/ B8 q1 M) S% G) E4 L9 v
  175. ;user_ini.filename = ".user.ini"' l  X9 u3 w- V- i7 |

  176. 2 G3 ]- ?. `* W0 T) n
  177. ; To disable this feature set this option to empty value. n' q0 a0 s5 b: O% L+ x+ q, l6 i6 E
  178. ;user_ini.filename =
    * b$ X! J7 V  m" V5 g
  179. # q- j; F' j( t: `
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)- V# H0 o& \0 A9 n* z4 g& a* z4 g
  181. ;user_ini.cache_ttl = 300, |$ O; \/ F, |& T
  182. * u6 I4 a" w6 o4 j' X; r! H! d% M3 c
  183. ;;;;;;;;;;;;;;;;;;;;
    * r. h2 ?$ D2 T7 ^
  184. ; Language Options ;
    " X/ R) k: E9 x2 D& i: j' H7 B8 I
  185. ;;;;;;;;;;;;;;;;;;;;
    , R9 M* d2 Y4 t$ K: Y  n4 c- a1 G
  186. . k' P5 Q8 H4 |9 {2 N1 }
  187. ; Enable the PHP scripting language engine under Apache.
    ! i7 [6 Q  B* K/ ?0 F
  188. ; http://php.net/engine& b! z7 ?6 d1 _% V
  189. engine = On: o( w/ w3 c5 K

  190. 3 v8 C& g, Z$ r, t& P, E9 g! u) d5 A8 g
  191. ; This directive determines whether or not PHP will recognize code between6 \  O" {& B) n7 J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is6 y$ [# x9 T" D$ M" J# `  V  F( ?
  193. ; generally recommended that <?php and ?> should be used and that this feature
    " E9 z  s7 B. Q3 m
  194. ; should be disabled, as enabling it may result in issues when generating XML) Y  Q2 K3 j1 y/ i( u- f
  195. ; documents, however this remains supported for backward compatibility reasons." s' H) g/ G% r! g2 M, Q6 z( q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be( }! H+ n' |0 S: k" b8 T( o) w, U
  197. ; used regardless of this directive.
    4 L! T1 g* ]3 l) d+ M
  198. ; Default Value: On
      f% d- t1 Z/ a& b5 h. w9 H# _
  199. ; Development Value: Off
    % |' w& J  a( \* N% B' R- {
  200. ; Production Value: Off; S) `: `0 }* {( g; P
  201. ; http://php.net/short-open-tag( ~& `- n4 l# a+ j6 k5 g
  202. short_open_tag = On: _6 f* D5 M) _6 P/ _

  203. + }5 |3 I4 G4 Z% s' y
  204. ; Allow ASP-style <% %> tags.
    + \' M/ ~6 O! o; _9 ?1 e8 w
  205. ; http://php.net/asp-tags
    & v+ s. `0 u! l
  206. asp_tags = Off0 m$ J# ]; {4 m6 M' D3 I1 y/ s5 H' |

  207. ! i' W# B0 l6 u, u+ T% P4 A2 r& K
  208. ; The number of significant digits displayed in floating point numbers.
    ) |" `' c! i# g: u, C" c
  209. ; http://php.net/precision) r' V& a! W# f: _6 L; y
  210. precision = 14" {' o! F- L6 N

  211. ! ~  c6 p! [  Z7 c/ k) P
  212. ; Output buffering is a mechanism for controlling how much output data
    ! I+ V+ W  Z0 U1 J& {
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that; _2 _* _/ |5 J" \" B( A1 U
  214. ; data to the client. If your application's output exceeds this setting, PHP$ v7 v/ [+ H  H1 T$ @
  215. ; will send that data in chunks of roughly the size you specify.
    6 ~/ D* O7 R7 S8 Z  T- x0 \$ [+ v. p
  216. ; Turning on this setting and managing its maximum buffer size can yield some7 h; q2 {9 i6 d5 ]1 B+ b/ D
  217. ; interesting side-effects depending on your application and web server.% O: M# k6 H  `0 j
  218. ; You may be able to send headers and cookies after you've already sent output1 ?, j& x, u' c8 r0 O
  219. ; through print or echo. You also may see performance benefits if your server is1 C, V: P: u% e2 u, C4 T  x0 D9 f2 @
  220. ; emitting less packets due to buffered output versus PHP streaming the output# ]" [; c8 h: U, G& r
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 L$ G! _; j% t/ \( C/ v" s6 q; j
  222. ; reasons.
    1 {  o& i1 ]$ q' b) v5 C) F7 r
  223. ; Note: Output buffering can also be controlled via Output Buffering Control: r; I5 K$ O) E" G
  224. ;   functions.
    - _( S( G3 D6 z# w3 J$ O: {3 A
  225. ; Possible Values:4 C- v9 g/ Y) H$ O; \
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    " N, F8 ?5 E$ o7 g
  227. ;   Off = Disabled
    % s. `( ^$ F0 O  _
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.. U9 `% f  I  e7 y+ k8 V
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 U+ Y9 G5 R1 C4 t; Q, K! h' L( q
  230. ; Default Value: Off
    3 D2 D* J. u! s) R% v4 E- J
  231. ; Development Value: 40960 `9 g+ r. n9 k! Z1 [, L; }" l! h; {, G
  232. ; Production Value: 4096  Z/ a  q# `4 Y! B
  233. ; http://php.net/output-buffering) C1 b0 G# J& l, ~  {
  234. output_buffering = 4096& m2 e5 u: C6 S; c; o6 ^0 Q# M  f9 S
  235. 6 [* R" b2 z5 ?9 i' s* c3 j
  236. ; You can redirect all of the output of your scripts to a function.  For. _+ _" q/ d* ^8 {
  237. ; example, if you set output_handler to "mb_output_handler", character
    8 J5 D: d+ s( V5 h, P
  238. ; encoding will be transparently converted to the specified encoding.
    $ _4 \/ x" i9 T0 m+ f) |: s
  239. ; Setting any output handler automatically turns on output buffering.' S1 k  [. |$ r6 ]! C
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ) e) F! o* h& T) z4 y
  241. ;   directive. Instead, explicitly set the output handler using ob_start().9 H1 x" t  J2 ~& _( F" M+ u
  242. ;   Using this ini directive may cause problems unless you know what script. P  ^4 |) P7 @/ o
  243. ;   is doing.
    + V  B# V2 I+ q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"; N- r% R1 P* x, f: [. ~' {! C
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".% i' n. i8 }8 [- Y1 B# n0 U
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    & d+ p0 y  W  j. A" A! F
  247. ;   Instead you must use zlib.output_handler.
    6 K# O2 B0 u8 h. W$ W
  248. ; http://php.net/output-handler
    ( Z. ]8 W0 a2 g% v# p2 b! j6 Z
  249. ;output_handler =
      M* Y# Q( O3 k# C$ }' N) y! V
  250. 3 z. c9 h( r6 f7 _: N( b2 t
  251. ; Transparent output compression using the zlib library: H1 @- w) t/ t$ n
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    , n* x5 D$ ]% q# t/ T( A
  253. ; to be used for compression (default is 4KB)
    : o$ E4 c6 }" Q: N9 V( I
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    - n. S& B0 ?3 q7 D9 h
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    7 A3 i; t, M2 C1 w3 S
  256. ;   compression. If you prefer a larger chunk size for better
      C$ g1 t1 L  n) P0 r0 U
  257. ;   performance, enable output_buffering in addition.
    ! E, ~2 h& _4 O, G) D( _
  258. ; Note: You need to use zlib.output_handler instead of the standard
    0 P' y2 K- z6 a$ c$ ]6 i  o
  259. ;   output_handler, or otherwise the output will be corrupted.
    * B) Q& e) q9 L. x- a
  260. ; http://php.net/zlib.output-compression1 c  t/ J, l. S
  261. zlib.output_compression = Off
    9 s; {6 e0 |  n  V( V% Y

  262. ; z6 B* `( f' K) x  I2 o
  263. ; http://php.net/zlib.output-compression-level
    ) I3 H0 I, ?4 n: z5 a
  264. ;zlib.output_compression_level = -1
    ( w5 p6 A: t& d, }" s" M1 j: J: T

  265. , U/ {* c% Z% ~+ ?" n9 f! y4 ?2 _, [! K3 U
  266. ; You cannot specify additional output handlers if zlib.output_compression! t* x0 y: q2 o% _: ^# [
  267. ; is activated here. This setting does the same as output_handler but in& f8 g3 k  Y4 e# o1 g
  268. ; a different order.
    7 ~( R1 X. C5 s9 ]( U
  269. ; http://php.net/zlib.output-handler3 m- E+ x5 s! U: s1 T: T, N! a
  270. ;zlib.output_handler =
    ) x* U  g/ n9 n6 l1 l

  271. & G1 Y7 f2 }+ a
  272. ; Implicit flush tells PHP to tell the output layer to flush itself+ m; _; V# b1 f
  273. ; automatically after every output block.  This is equivalent to calling the
    $ j! j+ d7 w+ ^* z  A$ o, R" D9 y! F
  274. ; PHP function flush() after each and every call to print() or echo() and each
    6 j) p1 R2 C+ a1 `: w
  275. ; and every HTML block.  Turning this option on has serious performance. V7 z3 b. P) m, O9 E7 x
  276. ; implications and is generally recommended for debugging purposes only./ C* ~8 b; d' V: v/ D+ L
  277. ; http://php.net/implicit-flush
    5 t2 j5 K* j5 W( ?
  278. ; Note: This directive is hardcoded to On for the CLI SAPI/ \) L( b0 b# ?  T, J9 B3 k0 S9 V+ I
  279. implicit_flush = Off
    $ s& O' m  s7 y
  280. 6 `" ^9 p/ t6 e$ ?+ G% b/ j# G: }+ u
  281. ; The unserialize callback function will be called (with the undefined class'
    , b5 r+ |" \$ M, |" J; |" O( g
  282. ; name as parameter), if the unserializer finds an undefined class* J; d) M# T/ l" T- b1 I0 ?% h
  283. ; which should be instantiated. A warning appears if the specified function is4 `5 W- G4 _  x) y" e! {% Y5 o
  284. ; not defined, or if the function doesn't include/implement the missing class.% a' V0 ~$ g3 S2 j
  285. ; So only set this entry, if you really want to implement such a
    7 E2 ]9 J7 \8 P4 k  ?$ z
  286. ; callback-function.
    " h0 B/ r6 C4 T/ [- d- D
  287. unserialize_callback_func =
      l, y+ G7 Z+ g
  288. , S6 _! F+ i1 B; Y/ p
  289. ; When floats & doubles are serialized store serialize_precision significant# v2 p3 N# P% |7 _6 b/ v, K
  290. ; digits after the floating point. The default value ensures that when floats8 G8 R1 O6 _9 r, a/ t' q+ r) H
  291. ; are decoded with unserialize, the data will remain the same.
    * S+ D1 H, J, n8 ]9 A% M
  292. serialize_precision = 17! H% \, C# Q9 z$ F$ M. d) C

  293. 0 B2 Y' t* `5 u1 g) h/ e! m0 B
  294. ; open_basedir, if set, limits all file operations to the defined directory
    & E9 y  G8 d) v% g. N1 C) j" _
  295. ; and below.  This directive makes most sense if used in a per-directory
    8 r: h! K, d7 @' r
  296. ; or per-virtualhost web server configuration file.
    2 e& W' P3 B: T3 H
  297. ; http://php.net/open-basedir8 ^" n2 u) j" g5 o
  298. ;open_basedir =
    5 X. B1 l* z4 @& }: Q8 m# {
  299. # l0 t9 v8 A' q  y6 E' a
  300. ; This directive allows you to disable certain functions for security reasons.- J% N+ d1 j& I7 R1 B
  301. ; It receives a comma-delimited list of function names./ x$ h  U: l4 J( o; b
  302. ; http://php.net/disable-functions  ^( P* N/ [* q4 A  A# K# N
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ' D3 Z6 d" h  `  ]8 U

  304. 6 ~4 I1 E/ W$ K  ], P1 A& W5 u
  305. ; This directive allows you to disable certain classes for security reasons.- y1 R5 n/ ]( x2 q5 S9 n
  306. ; It receives a comma-delimited list of class names.% X: r0 h  A$ s' k1 x
  307. ; http://php.net/disable-classes+ _( x( g. u5 T# n& B! Z
  308. disable_classes =
    + _2 G7 Z6 }8 }# }( E6 s8 c

  309.   p  N, ?5 i5 b9 l2 ^
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in& Q: Q& l5 p# G  m7 o) b- v
  311. ; <span style="color: ???????"> would work.$ J  r2 g3 y# _
  312. ; http://php.net/syntax-highlighting
    5 y9 x7 [- O1 J% A" [0 g$ ?
  313. ;highlight.string  = #DD0000
    8 O# k: C, L3 T- T$ W4 ~% o
  314. ;highlight.comment = #FF9900
    2 k# J* @4 K: r9 z2 H- e4 J& c$ d
  315. ;highlight.keyword = #007700
    2 H% Q- b/ ]7 K
  316. ;highlight.default = #0000BB8 Z4 u  m' _% E7 f3 x; v
  317. ;highlight.html    = #0000009 g7 \& T' h1 ]; ?4 }8 O8 ?- f

  318. , p5 I& w8 W  {* u
  319. ; If enabled, the request will be allowed to complete even if the user aborts3 R3 _) e$ }6 G& f) d  |: T
  320. ; the request. Consider enabling it if executing long requests, which may end up
    * Z" P4 @6 l( \
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    . ]5 G" t- D! {
  322. ; is to disable this feature.2 Z5 l& C$ v9 U3 d7 o- u
  323. ; http://php.net/ignore-user-abort
    & l9 w/ C& q1 [# ]1 \6 `6 a6 F- I- P
  324. ;ignore_user_abort = On* a$ Z- |8 v& U, a% X

  325. % t/ @4 K1 x& r! ]; j
  326. ; Determines the size of the realpath cache to be used by PHP. This value should2 W" S5 I8 h. V" j) y" `* p- U
  327. ; be increased on systems where PHP opens many files to reflect the quantity of7 u0 j6 E6 O& _
  328. ; the file operations performed.
    " O% M: U$ ~: o# x& O3 f
  329. ; http://php.net/realpath-cache-size
    4 g6 R( |1 e) v& n+ s
  330. ;realpath_cache_size = 16k
    ' b' V! F' ]6 Z- D5 X/ F/ z# I
  331. 0 N, G4 W& d$ e6 m
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    4 |0 v# G  M" U6 f6 H
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    . M0 l, a: u; L  h2 q" G4 ]
  334. ; value." s& a$ h0 s! c5 p' z; O3 U) y+ f
  335. ; http://php.net/realpath-cache-ttl
    * I& t0 Y1 u8 W( a6 d' m) N, Z8 c
  336. ;realpath_cache_ttl = 120! K7 e( Z1 O; B0 V8 b
  337. % b5 S/ |* K$ |9 e8 u! Y+ [
  338. ; Enables or disables the circular reference collector.+ e4 m( z- @& ^6 r: }3 U& @
  339. ; http://php.net/zend.enable-gc4 N1 ~5 u* Q% G
  340. zend.enable_gc = On
    + r* U# Z. Y) h6 V0 \# }" m0 P

  341. 6 @2 ~8 y5 \. j1 V0 a5 Y# T
  342. ; If enabled, scripts may be written in encodings that are incompatible with: P& |4 b! f/ v& l
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such% G8 l; }. h2 q) K; P& W& m+ \
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 N& y* ^- ], S5 {9 k! s
  345. ; Default: Off
    4 G3 R. b0 d9 ?
  346. ;zend.multibyte = Off! {6 h) L$ ~: K1 g6 p& s* i3 C

  347. - h3 m$ ], @# w; @9 \% C1 r6 {5 z6 a
  348. ; Allows to set the default encoding for the scripts.  This value will be used1 c5 b8 ]; E8 r0 ?
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / @' ]- M4 P4 H! Q5 L
  350. ; Only affects if zend.multibyte is set.
      @0 k, [+ |; b. R) T( o
  351. ; Default: ""
    & r. f4 |# R! C$ i" G0 M1 h
  352. ;zend.script_encoding =0 G" D# d# G' F4 E) S& i+ V
  353. * S9 s% p$ F$ @  t! A% P
  354. ;;;;;;;;;;;;;;;;;
      X& W. I' A: T2 s" K3 w- {+ B& ?1 V
  355. ; Miscellaneous ;
    4 |5 B0 ^0 l8 u
  356. ;;;;;;;;;;;;;;;;;
    " _& r3 p: P' ~+ S/ s7 ?2 h! {
  357. * F! g6 D- a; @5 q
  358. ; Decides whether PHP may expose the fact that it is installed on the server8 C; X5 z) E4 T
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ; F, q3 K; Q* M. ?+ D! e$ d
  360. ; threat in any way, but it makes it possible to determine whether you use PHP# ]: X& M, j' {! h0 t5 i
  361. ; on your server or not.
    - O) m) j, x& v/ M+ j  M7 n+ ~: @
  362. ; http://php.net/expose-php& M8 M" Z0 b9 k. A
  363. expose_php = On' f6 x' [& b7 R1 z9 _
  364. 8 G# t/ W4 H2 u' F) ]( C
  365. ;;;;;;;;;;;;;;;;;;;* }2 J5 A8 ~% D* }
  366. ; Resource Limits ;
    0 f8 W& [- D$ E
  367. ;;;;;;;;;;;;;;;;;;;, a% d8 [. k/ B/ K% [9 t' g1 |4 V
  368. 8 O$ p* T' ?: F" \& L
  369. ; Maximum execution time of each script, in seconds
    9 T) s  p: J! d0 D+ L
  370. ; http://php.net/max-execution-time7 @+ |7 R- z3 ]& K& L- @+ |& l
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI, T1 m/ }; D. Z: n. K  v/ X$ s
  372. max_execution_time = 300+ f# `  F+ `2 |5 }

  373. 1 z) J6 n8 B/ _1 F# e
  374. ; Maximum amount of time each script may spend parsing request data. It's a good' l1 g- m8 K9 v, a
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly( Y. |8 l# t! F% C- K
  376. ; long running scripts.
    0 G$ i: ~3 f; q7 \
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI1 y7 z. v+ a) s: F
  378. ; Default Value: -1 (Unlimited): M) f2 K# V* a! m. u3 N8 A8 R, l
  379. ; Development Value: 60 (60 seconds)0 q, R( S& y# e
  380. ; Production Value: 60 (60 seconds)( a- P. L) l( v# ^
  381. ; http://php.net/max-input-time
    # i5 I6 K" F  d: F: D
  382. max_input_time = 60: e% J. o! Z8 X9 y" e  A: g
  383. + s; D# H. ?: X8 m
  384. ; Maximum input variable nesting level- T0 {, c1 D% e, v9 o
  385. ; http://php.net/max-input-nesting-level; F/ ^- \( T9 z' ]: X# a
  386. ;max_input_nesting_level = 64, z$ v# ~! r7 w' k: v4 B: l
  387. * w  U  v+ u& K( h+ w
  388. ; How many GET/POST/COOKIE input variables may be accepted
    : B# m1 R/ g$ O4 X2 Y" Y
  389. ; max_input_vars = 1000  r4 C1 f. H! _5 R
  390. # `/ {- I1 S1 `7 I$ f4 u! E
  391. ; Maximum amount of memory a script may consume (128MB)
    3 k* g( X1 i; q1 m( W
  392. ; http://php.net/memory-limit7 i0 i' ~4 C  S* o
  393. memory_limit = 128M
    2 l* n) y9 x" x) ^2 o6 @

  394. 8 E4 B, e5 y* G
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 @- v+ P: W& ~- j- m. i/ h- c+ W
  396. ; Error handling and logging ;1 {  ^, U; [' B/ O8 R
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    / J* \( F0 z- ^: |: ^& M8 V7 a

  398. ! S) v! t% g- X
  399. ; This directive informs PHP of which errors, warnings and notices you would like
      I- F% l, P8 Z/ h
  400. ; it to take action for. The recommended way of setting values for this% Y0 C# ?" {! ~9 N1 o" m* L" ~9 f
  401. ; directive is through the use of the error level constants and bitwise6 b0 s4 S7 v2 h. J% J
  402. ; operators. The error level constants are below here for convenience as well as
    - x" T% {4 }% Z+ {
  403. ; some common settings and their meanings.+ i' l% b) u$ V0 e* @
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 ]* D1 K% Z0 ~' {/ \3 n9 i2 n4 f. O
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, `0 Z7 b- v) B) b" _: ~
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    - A" z. X; G, x3 Y# x: I
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    - Q% U( Z* d7 k& C# ]' {8 z+ X( J
  408. ; resources complaining about best practices and coding standards. That's what
    ' ~9 U6 U# ~5 }, y
  409. ; development servers and development settings are for.
    ( W$ \5 M. v" @7 p: s  ?, }
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( P  G( z. R+ V$ P2 x; I
  411. ; means it pretty much reports everything which is exactly what you want during' U% z- C/ Y; Z7 c( G
  412. ; development and early testing.
    : L, V( i  c6 i% y
  413. ;
    ! e- M% ~# ^- e/ k" e) E
  414. ; Error Level Constants:2 s& T( L, ?+ Z; L) _' }
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    & @1 ]+ C* s$ w0 ]$ p
  416. ; E_ERROR           - fatal run-time errors! U( \4 ^4 s# u3 D) e4 N+ N
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 w8 t( Q# ^. O7 I; v# k
  418. ; E_WARNING         - run-time warnings (non-fatal errors)! p6 L# l: e' s
  419. ; E_PARSE           - compile-time parse errors, p& l+ P4 w9 o& v1 E3 s
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 s3 P( Z6 X- D' K( [
  421. ;                     from a bug in your code, but it's possible that it was; r8 \3 {$ d' s/ a5 C. D
  422. ;                     intentional (e.g., using an uninitialized variable and
    8 d% W4 i/ {6 g6 U: B
  423. ;                     relying on the fact it is automatically initialized to an9 ?3 D/ G3 J6 ]! E& ]9 ^3 \& f
  424. ;                     empty string)9 u* d! v0 S% V( W" X
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" L3 I3 Y9 _9 ~( P, `; o
  426. ;                     to your code which will ensure the best interoperability* l. T* [. o2 C# M& O) E: ^
  427. ;                     and forward compatibility of your code
    ( b+ C" R+ f0 k/ W; V8 Z% T6 `4 W& i
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    3 O! ]$ W  n0 _3 C0 r
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    - m% T( O1 a. r7 o+ l5 ?: r& {
  430. ;                     initial startup( f. z% ?+ k( M' E. T
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ; ?! ?3 h% M8 {
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)- B) d, L; E; x3 b: @
  433. ; E_USER_ERROR      - user-generated error message
    1 z6 f- M9 g& P9 Z$ q0 I& n
  434. ; E_USER_WARNING    - user-generated warning message% D9 J8 D& n4 W6 D
  435. ; E_USER_NOTICE     - user-generated notice message2 L0 V. m& R/ q( G) @
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ V8 x: K! T1 q# l0 {  [! B3 y' \7 G
  437. ;                     of PHP
    , J" K  l+ {7 u. v+ i* B! y
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings) U( {+ I. Q  t! c: H
  439. ;
    , b2 t( o% h& v# x( |4 N
  440. ; Common Values:2 E0 C" Y# q' w0 u
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    / K+ k1 P0 [" F. v2 y- k$ S
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* h5 ~9 r; i* H5 h& \; u& c  b
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    & L6 x3 f7 z. ?/ K4 K* Z3 I
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)' i' o, E, m" d" [( G/ O$ }
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , ?. U( `: F( t* a7 I- b
  446. ; Development Value: E_ALL3 x2 j  y" M3 A+ s8 A9 S) k
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " G; z- x( E% x" L0 p
  448. ; http://php.net/error-reporting2 J- w" [8 R7 R0 h6 o' c
  449. error_reporting = E_ALL & ~E_NOTICE
    ( O0 T) U! g$ p9 Z6 L/ D9 n

  450. - D2 G4 {! c) }- e
  451. ; This directive controls whether or not and where PHP will output errors,
    0 t0 C, w$ I- b; I6 A
  452. ; notices and warnings too. Error output is very useful during development, but! z# x& n7 r# K" h
  453. ; it could be very dangerous in production environments. Depending on the code  L4 {) D" }* r: I0 Q: u) m
  454. ; which is triggering the error, sensitive information could potentially leak
    / H: f! W# T& o0 j$ W; i% W+ U
  455. ; out of your application such as database usernames and passwords or worse.  V2 E* k( w  w7 `7 x. n; B
  456. ; For production environments, we recommend logging errors rather than
    8 L# j$ n7 W! a1 z, \
  457. ; sending them to STDOUT.- ^  ?! h- ]. l3 U+ V1 d9 H. w
  458. ; Possible Values:
    / Y4 _8 J2 O/ F' V' q
  459. ;   Off = Do not display any errors7 I6 W4 j2 K' M% c9 h0 i
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    2 Y5 }: I9 ^) b* j2 w3 p& F* K# i
  461. ;   On or stdout = Display errors to STDOUT) u$ x) I4 t$ ]/ i! [
  462. ; Default Value: On
    4 \$ x5 t6 Y4 W; w1 m9 v
  463. ; Development Value: On
    * f0 y2 x6 i( ?/ {' F+ H8 m
  464. ; Production Value: Off( }( a. s8 u$ T" h3 M. @4 C
  465. ; http://php.net/display-errors
    - Z5 ]4 Y+ q7 O) u1 e& f5 A2 z2 ]
  466. display_errors = On
    : B1 Q5 T) L1 g% Q) e- Y

  467. & z8 e3 Y) h& A  ^, k( t* r# N" _
  468. ; The display of errors which occur during PHP's startup sequence are handled$ _. a+ ^% ]6 w- t
  469. ; separately from display_errors. PHP's default behavior is to suppress those) ^: F1 k6 \* L5 E3 n9 E
  470. ; errors from clients. Turning the display of startup errors on can be useful in: O% }( j- O6 C( E- g& C
  471. ; debugging configuration problems. We strongly recommend you
    3 z& U  b5 V) D  o+ x9 Q8 c3 u: {6 N
  472. ; set this to 'off' for production servers.- n  n; s, a. w
  473. ; Default Value: Off+ ~) A3 `+ V8 X7 R
  474. ; Development Value: On. F. @& g/ s$ W7 Y* a5 G6 L4 d# s+ z
  475. ; Production Value: Off
    ' C& p1 \. [5 y) O( F& R
  476. ; http://php.net/display-startup-errors
    1 C8 `4 y2 F9 r; ~  @! W
  477. display_startup_errors = Off0 f& y7 u! |8 E8 d, X# G

  478. : e  {- c. e9 k3 d; O
  479. ; Besides displaying errors, PHP can also log errors to locations such as a- ]5 _9 L0 N- q9 C) ~- b: }" u- H) s
  480. ; server-specific log, STDERR, or a location specified by the error_log- d2 ?2 @0 l$ s7 t1 N& w4 f
  481. ; directive found below. While errors should not be displayed on productions2 B2 ~6 p6 L: Q% N4 q3 `1 g6 a6 ~
  482. ; servers they should still be monitored and logging is a great way to do that.
    $ E: |5 G3 U' P
  483. ; Default Value: Off
    4 z4 T8 \9 H1 p
  484. ; Development Value: On, d8 T4 J' w9 G0 r# [" L2 h; i
  485. ; Production Value: On
    2 B, u% s- R* ^" e7 a, g
  486. ; http://php.net/log-errors) @" ~1 }; X, K# Q" e, R" N: E! U
  487. log_errors = On5 D+ a) @& R5 y

  488.   e9 L/ C( ?9 v5 w
  489. ; Set maximum length of log_errors. In error_log information about the source is
    , C1 j/ k& U. U
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    # s+ a4 ?/ \7 W$ w  m
  491. ; http://php.net/log-errors-max-len
    5 t% t- X5 G. U% ^! s, O4 A- R, j
  492. log_errors_max_len = 1024
    5 u. F6 o# {2 D
  493. ! V" v" J! \8 E. U8 m) h
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same+ c4 r# F, g( h1 x
  495. ; line unless ignore_repeated_source is set true.
    4 l7 ^" x. @/ v
  496. ; http://php.net/ignore-repeated-errors
    - g4 }8 I/ s) ]/ _( G2 k  R
  497. ignore_repeated_errors = Off
    , ^$ r, ^5 H' |# W

  498. + n* k" l7 \; O
  499. ; Ignore source of message when ignoring repeated messages. When this setting+ z+ J3 N9 I5 o
  500. ; is On you will not log errors with repeated messages from different files or1 G8 g6 K$ Y% B0 ~, h
  501. ; source lines.+ c) i' Z/ g8 l& H- o/ v9 M
  502. ; http://php.net/ignore-repeated-source3 e) i* T) {4 y0 |. D5 D1 x: P
  503. ignore_repeated_source = Off
    # Z1 W6 e/ s; b+ g/ T
  504. . z  d* F3 T, `3 r
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on2 w5 }$ [. s' @# U& C. k
  506. ; stdout or in the log). This has only effect in a debug compile, and if, Z; R: n1 W- c% L4 L% q! J2 ~( {
  507. ; error reporting includes E_WARNING in the allowed list
    7 f: q# [% D7 R  q; ~
  508. ; http://php.net/report-memleaks7 }% e' Y/ a7 h1 q
  509. report_memleaks = On  a; n/ K3 a' j" ?! c0 y; t

  510. 0 V- ]. {7 z( @9 ]
  511. ; This setting is on by default.* ^  q7 A1 W# ]! h$ }& c9 d8 T$ |3 x
  512. ;report_zend_debug = 0, [9 S: ^% G6 i/ {; Q
  513. 4 P1 H5 |1 {- L
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 L# ^  E9 K. L1 M
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 t4 ^% p: c: b9 X, U6 d
  516. ; however be disabled on production servers.
    + H7 F/ O8 a+ k( h  Z7 _+ r) r
  517. ; Default Value: Off* [9 Q6 w  L+ G3 D
  518. ; Development Value: On/ S* o  Y# I! o
  519. ; Production Value: Off7 ~7 |6 A; a! s6 i( k6 ?) r# Z
  520. ; http://php.net/track-errors
    " F6 f/ U$ T% m9 V
  521. track_errors = Off8 [" s8 o4 d" a' B5 _% s

  522. / q" l# r, E& ^1 `
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    # a) x, S8 C( w2 f- q2 i7 G0 D' v, D
  524. ; http://php.net/xmlrpc-errors$ F; _( H3 h; ?: s
  525. ;xmlrpc_errors = 0& Q' u$ `6 N0 a4 \0 Y! x  `) ?

  526. ( z+ a) i7 |; @4 {+ h$ s) ]$ L
  527. ; An XML-RPC faultCode
    ) M' O; E& F3 X$ a; F% G/ c
  528. ;xmlrpc_error_number = 0& h0 O$ c2 V) m+ n* r, f1 V5 `

  529. . Q  c! n! X6 \7 ^1 k  y+ J
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    # U( }& R5 A4 l, u
  531. ; error message as HTML for easier reading. This directive controls whether
    5 q, Y9 m" h1 c1 n7 B4 U+ G" R
  532. ; the error message is formatted as HTML or not.* e5 z9 q7 @( y; j: E
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & E: n9 `& t+ |8 K4 ]( L1 w+ d
  534. ; Default Value: On" m& V) q% d/ }* b
  535. ; Development Value: On
    " w7 O- i7 q% d, q
  536. ; Production value: On
    $ e0 l" v- L+ d, b) ^/ Q
  537. ; http://php.net/html-errors$ i% o0 z3 x* c
  538. html_errors = On" V4 g  O+ N* z: ]1 w6 Q* ?
  539. + p& D3 X4 Q+ k4 T0 N% j
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    2 q/ z) z4 w& h' u9 l
  541. ; produces clickable error messages that direct to a page describing the error" v) ~1 e. X% O. v5 H( m+ K! J
  542. ; or function causing the error in detail.; G% v( e, _) g! u, u% J
  543. ; You can download a copy of the PHP manual from http://php.net/docs9 S% N, p0 X" g; N$ Z2 r7 f
  544. ; and change docref_root to the base URL of your local copy including the
    7 G" ^# ]4 t8 f. A
  545. ; leading '/'. You must also specify the file extension being used including. M  ?3 W: b/ F
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 @7 t7 C6 i# F3 `
  547. ; case no links to documentation are generated.4 O* N& z/ U# K0 Q2 O: t
  548. ; Note: Never use this feature for production boxes.# _- g/ l0 S2 g$ ], ]; Y' l
  549. ; http://php.net/docref-root
    0 `3 {' @: |- k+ r. j) m/ V
  550. ; Examples
    % y& `3 B0 f3 p$ M1 Q
  551. ;docref_root = "/phpmanual/"
    $ ~' g6 e( i, e; V
  552. $ D) a4 Y6 K* Y8 x' C% c
  553. ; http://php.net/docref-ext! {" [# v6 L/ h( c! S9 l
  554. ;docref_ext = .html
      u2 O$ }% ?# P9 P7 I9 f# J& }  e

  555. & q+ K8 N+ N& E2 R( S3 K! @! y
  556. ; String to output before an error message. PHP's default behavior is to leave: \0 u" W- E8 ~3 U8 K$ y5 }
  557. ; this setting blank.! \4 F. B6 T; U; J3 e5 E
  558. ; http://php.net/error-prepend-string
    % t; v5 i7 V+ Y6 |6 w! w
  559. ; Example:' X! F) v8 k! [5 g" L* ?& i( _
  560. ;error_prepend_string = "<span style='color: #ff0000'>"/ k, c1 r. V- }6 S
  561. 0 X$ o1 d' g( @& X
  562. ; String to output after an error message. PHP's default behavior is to leave
    , f5 `4 A' D3 O* e# v8 f+ a0 Q
  563. ; this setting blank.
    & a% P: R1 p$ i3 l! J8 z9 I9 _
  564. ; http://php.net/error-append-string! z, W7 p' J* ^
  565. ; Example:% R, T& T, s! r5 M$ F0 q: X
  566. ;error_append_string = "</span>"
    ! [0 q$ E! P) I9 g0 ?6 G" g

  567. 3 g/ Z0 A5 c8 E6 u0 ?
  568. ; Log errors to specified file. PHP's default behavior is to leave this value+ H1 o% k- X4 t- S$ C& i; C
  569. ; empty.
    , }) F9 t/ N" [: b0 f1 r8 H
  570. ; http://php.net/error-log
    % H7 W3 j$ C: b+ \! z. o7 D
  571. ; Example:9 O% @3 w6 q& n* D0 j
  572. ;error_log = php_errors.log5 p+ z$ ~9 J3 A, N. B& p. r
  573. ; Log errors to syslog (Event Log on Windows).
    4 W0 H, ]' a1 m% C, N
  574. ;error_log = syslog% ~* q1 D# `' V
  575. * Q- E+ I  K5 a- y
  576. ;windows.show_crt_warning
      i+ n& ~1 `& j
  577. ; Default value: 0
    " ~, x( @0 F& M  n, m' m
  578. ; Development value: 0, U' l% y& c2 y
  579. ; Production value: 0' [" Q. _, Z! O3 ^) \% p4 M

  580. 7 O! x3 w5 t3 x( Q
  581. ;;;;;;;;;;;;;;;;;0 ^! d- I) R9 B) e7 H* o3 C
  582. ; Data Handling ;
    . {0 B& z2 e) y; E) @
  583. ;;;;;;;;;;;;;;;;;
    ! R1 n5 l5 T) R! A: J1 b  y# e

  584. , b! [, n3 c# l9 z
  585. ; The separator used in PHP generated URLs to separate arguments." P6 O2 g- w# f
  586. ; PHP's default setting is "&".
    8 ?/ ]" m7 M) l1 i, y
  587. ; http://php.net/arg-separator.output
    + M5 h) s5 P* e+ a
  588. ; Example:/ m9 }; E& X  p. Y- e
  589. ;arg_separator.output = "&amp;"
    * g! A& L7 h& N: T

  590. ! x2 C$ ]7 x- S. h
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    . f  H4 b, E: D( O2 M+ _$ b$ l6 {4 u6 z
  592. ; PHP's default setting is "&".
    : D$ O" F* E' r. k2 x; D3 D6 X
  593. ; NOTE: Every character in this directive is considered as separator!* W4 d" S0 G: _5 t4 i/ Q
  594. ; http://php.net/arg-separator.input) V# a. h1 T, t) L' \) `
  595. ; Example:' Q$ }( @7 U  o: y, b
  596. ;arg_separator.input = ";&", j$ E) t4 L* _  C" |9 `- J/ g' D
  597. 9 d+ @& b& M0 o5 j0 e: e; G: R
  598. ; This directive determines which super global arrays are registered when PHP
    ( c. G5 p' Q1 X, G  `: Z1 C# j' W
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    9 ?  T& F7 z0 W, l
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( s& b. z; W) z& u. h
  601. ; paid for the registration of these arrays and because ENV is not as commonly( p* Z' O* z/ z" J$ [) Y
  602. ; used as the others, ENV is not recommended on productions servers. You
    # q! Z+ G) v+ S& ^( [' c
  603. ; can still get access to the environment variables through getenv() should you
    2 D2 _! f  _) }( ~# G
  604. ; need to.3 k3 Z( [4 p( H9 }* V( w7 C
  605. ; Default Value: "EGPCS"
    9 C- h+ e+ e8 [6 H
  606. ; Development Value: "GPCS"
    ' R* ^0 g( u% M) \/ t
  607. ; Production Value: "GPCS";7 J+ x8 a* Y: B2 ^
  608. ; http://php.net/variables-order8 m! Z* J7 d0 I
  609. variables_order = "GPCS"# L; D; Q: L9 E, ^! f9 B& ]
  610. 7 Z# F5 O# w7 ~' M" N# d; O9 o
  611. ; This directive determines which super global data (G,P & C) should be9 ~& L$ A3 ]( W' _
  612. ; registered into the super global array REQUEST. If so, it also determines- g; Y; E2 i' |# G& Y
  613. ; the order in which that data is registered. The values for this directive
    . x1 ]0 x* ~9 G( N
  614. ; are specified in the same manner as the variables_order directive,
    5 x1 N; y- u; v
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 A, ?$ \6 e$ ]1 M/ X
  616. ; in the variables_order directive. It does not mean it will leave the super
    5 [2 j9 J$ ^& y# t* B( p
  617. ; globals array REQUEST empty.4 ?, y" c" A# q
  618. ; Default Value: None  i8 z& W# X; V( B; |8 o' h) n# o* I" f
  619. ; Development Value: "GP"' w5 ]' n, L" H$ {. T2 \: Q; |
  620. ; Production Value: "GP"
    - \" Y1 B" t, T, v$ Q
  621. ; http://php.net/request-order
    ' }  r6 s- D" c: y3 Q9 D
  622. request_order = "GP"
    ; C. R2 e: f; m8 L
  623. & ]7 r( Q" w2 {1 E2 G
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    5 T; G7 d3 T& l6 r8 V1 a* i
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 n+ C5 n6 m6 B3 s3 c1 ^
  626. ; is invoked. $argc contains an integer representing the number of arguments
    3 K- |& r4 ]: T3 Z  l
  627. ; that were passed when the script was invoked. These arrays are extremely$ l& y& ?1 T8 R+ b4 Z# z
  628. ; useful when running scripts from the command line. When this directive is9 A+ x0 s. H$ Y# S7 W
  629. ; enabled, registering these variables consumes CPU cycles and memory each time# v4 d* z( ?9 g2 m: n& W2 @
  630. ; a script is executed. For performance reasons, this feature should be disabled% h5 H5 C: l& f7 a7 n/ H
  631. ; on production servers.
    * W% ]# B' J/ z) e
  632. ; Note: This directive is hardcoded to On for the CLI SAPI8 U% E' c1 v! f% B  e5 N: g- n
  633. ; Default Value: On
    6 ^; m- h" I+ K6 h! M- w
  634. ; Development Value: Off
    " D# u/ o; E; j& v, H1 H; X
  635. ; Production Value: Off
    $ U# e) m$ Q" v- ^: Z8 r" \
  636. ; http://php.net/register-argc-argv' c; E) e6 s. h# U) s* t
  637. register_argc_argv = Off. T9 v3 w1 N, e
  638. ' C1 ~3 H( |- B6 d5 t
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" O. K1 a% v3 m! U, p
  640. ; first used (Just In Time) instead of when the script starts. If these/ ~4 V9 g  _* y! L, Q  I. ]
  641. ; variables are not used within a script, having this directive on will result
    3 u& a+ V9 b3 \
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    0 ^3 R  F, R' a3 ], ?
  643. ; for this directive to have any affect." k7 k# q" w) H8 H/ D
  644. ; http://php.net/auto-globals-jit
    % ]) u' v! N0 P3 H& f. I" |
  645. auto_globals_jit = On
    6 e5 j7 V$ x, U" b2 p
  646. & v4 J  s5 \( x. b$ T% O' }* i
  647. ; Whether PHP will read the POST data.
    ( {- z: I- _7 T
  648. ; This option is enabled by default.
    " _! r* G2 u* O2 j
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST+ t. o# f1 W: Y& f% [' f
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    * F" ?! Q) L$ I, e: _) D
  651. ; POST data will be through the php://input stream wrapper. This can be useful
      U( t% \6 y# t7 b
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.. V. ~. C5 @8 q3 H* Q
  653. ; http://php.net/enable-post-data-reading4 i6 G% x) d  I+ S' [9 I4 j" t
  654. ;enable_post_data_reading = Off3 m8 B" h: L5 w7 V7 O% r
  655.   d1 Y4 }0 j  L
  656. ; Maximum size of POST data that PHP will accept.
    ; l2 A1 V2 p3 |' k* v/ l! v$ Q7 f
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    3 F3 p# z$ [" ^7 `/ h2 q. ^& p
  658. ; is disabled through enable_post_data_reading.+ W$ l4 L6 c3 p' m) G% N2 ?
  659. ; http://php.net/post-max-size' ?, Q; g/ |' P- P. F
  660. post_max_size = 50M. V; V2 s% V) D

  661. ! F' k6 n& d8 }* z
  662. ; Automatically add files before PHP document.+ u4 @' q' z3 M! }$ a" }
  663. ; http://php.net/auto-prepend-file# q5 Y1 g5 i1 o; w1 e5 B
  664. auto_prepend_file =
    6 o0 I# Y# b5 Y2 ~6 s/ M

  665. 6 b. b; J8 V; O; y% @# E2 h: ~
  666. ; Automatically add files after PHP document.
    : ^2 c: |2 {% C2 R, V, E
  667. ; http://php.net/auto-append-file
    4 P8 `* R, ~+ S5 u$ A
  668. auto_append_file =
    - b/ E- l: t+ a( a5 w$ s1 x+ Z6 n
  669. ' a' ?0 j+ T) k& Z/ q
  670. ; By default, PHP will output a media type using the Content-Type header. To5 Z1 R2 g0 d' L9 l' W: a
  671. ; disable this, simply set it to be empty.
    ( r* W4 a+ Z: c% {: U- |# a7 v
  672. ;
    . {9 o) a, e& {4 b$ z& }" x; |
  673. ; PHP's built-in default media type is set to text/html.: R4 t0 d9 D% }: i9 T/ [
  674. ; http://php.net/default-mimetype% z+ k( b( W% x
  675. default_mimetype = "text/html"
    3 n) P+ ~1 t. p3 v

  676. / S9 `- R2 b- i+ Y3 a
  677. ; PHP's default character set is set to UTF-8.
    9 {0 G9 C$ S5 Y/ r7 D, H! O
  678. ; http://php.net/default-charset
    1 r: \. b9 D. B. Q, }' n  ]
  679. default_charset = "UTF-8"7 b+ g2 `( D. [8 L( l

  680. $ b0 [! F6 b% t: i, C8 z2 {$ o; f
  681. ; PHP internal character encoding is set to empty.
    0 ^- |# U6 C4 _- p1 a3 n
  682. ; If empty, default_charset is used.* R1 K4 u( C. j! o9 o& O
  683. ; http://php.net/internal-encoding
    6 W* T; I7 G+ O4 v" ~
  684. ;internal_encoding =
    7 `' b" y! E  M( {) C& a  I
  685. 9 ~- I$ T9 ]3 y% q
  686. ; PHP input character encoding is set to empty.
    ' }- }1 F; Z( C6 A; h, U
  687. ; If empty, default_charset is used.# G* i4 x6 c- j) J
  688. ; http://php.net/input-encoding
    ( D5 V' Y7 r8 T- R- R
  689. ;input_encoding =: M; c  ^6 X: a  e5 [8 n* q

  690. , f6 z, n6 R- Z7 S
  691. ; PHP output character encoding is set to empty.
    : D& h- v- l9 d0 Q+ n% G) k
  692. ; If empty, default_charset is used.
    ( `' |/ O; N4 q
  693. ; See also output_buffer.4 {+ h( a! y/ `# X. i$ `
  694. ; http://php.net/output-encoding) n7 _" n0 q5 o# t8 q$ a+ z
  695. ;output_encoding =
    . ^2 P7 ]( v; `: n8 N: n# Y+ z2 e6 w
  696. + S8 K$ L' N1 z$ v; T5 o
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    $ y. V+ z* J' C% P
  698. ; to disable this feature and it will be removed in a future version.
    , F, X% v6 j: Q( G( D7 N  c
  699. ; If post reading is disabled through enable_post_data_reading,: f; X6 {1 @; `- |
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.- i* T' C, \( P  [2 C1 b
  701. ; http://php.net/always-populate-raw-post-data* H  t$ w8 m! }. B4 x  p4 g4 F
  702. ;always_populate_raw_post_data = -1
    2 U5 d$ z# V4 O) [- Y

  703. 3 M" l0 G6 z' b: _. k
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 x0 @/ a. f! ^  S
  705. ; Paths and Directories ;
    8 a+ o( y( i0 J+ ~8 Y5 P
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : I; W* o( d  n& Y8 M* F) k

  707.   R" L; ?' n* M) n" o# I% h! l
  708. ; UNIX: "/path1:/path2"
    3 e$ L. _8 m- [6 q
  709. ;include_path = ".:/php/includes"& x" C+ Z. z5 l( l7 K6 }# @
  710. ;6 H4 n2 }- x5 a% q4 w! O. O
  711. ; Windows: "\path1;\path2"/ }4 P) k. _" X3 j
  712. ;include_path = ".;c:\php\includes"
    ! H" {5 `. A2 y9 |: X, i
  713. ;
    8 j& _) q  X; s" y
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 K3 z9 }: n/ }2 |
  715. ; http://php.net/include-path
    8 F# G3 V0 N; o; ]
  716. 4 Q4 i" ?2 D, O2 E2 K9 G) L) i
  717. ; The root of the PHP pages, used only if nonempty.# B2 e% s# j4 M7 q1 Q# u
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    7 }9 M; z- H& Y8 a' E- N8 @+ ~3 i
  719. ; if you are running php as a CGI under any web server (other than IIS)
    1 c& G) x! y* L. z7 B* b6 C) q
  720. ; see documentation for security issues.  The alternate is to use the
    1 k+ V1 `) Q2 Q
  721. ; cgi.force_redirect configuration below$ K3 J' z; Q) h; x- T" j/ M) X
  722. ; http://php.net/doc-root& N0 F, A) C2 b6 a
  723. doc_root =: }$ l, T+ P. U# X4 J

  724. ; h" Z) @+ j( z: Z# N. z; u+ _
  725. ; The directory under which PHP opens the script using /~username used only
    3 O9 ^7 S8 w  N# i, Z+ W5 J( t1 g- {9 c
  726. ; if nonempty.
    2 v8 f  H" T6 T
  727. ; http://php.net/user-dir
    9 ]  b. o) s3 ]# G# v3 E: f
  728. user_dir =
    % K* m& T9 M- v! _. U

  729. 3 i9 n4 D; G+ P$ U4 t
  730. ; Directory in which the loadable extensions (modules) reside.
    0 {. E5 h3 ~5 N3 _  X8 W% @& e
  731. ; http://php.net/extension-dir
    9 G9 c2 [7 n) I, }- A6 ^) ]# s
  732. ; extension_dir = "./"
    & p% i2 C3 j" ?1 n
  733. ; On windows:! o7 p4 J( r4 O# X& y6 Y% P& M8 |- b
  734. ; extension_dir = "ext") f* {8 b% b% {0 E- n& J7 s
  735. 6 N6 p0 K" D4 b" D, i/ |* ?
  736. ; Directory where the temporary files should be placed.
    3 {7 a0 n6 f' L9 [- F
  737. ; Defaults to the system default (see sys_get_temp_dir)
    3 n& r4 W4 H( w5 h! V
  738. ; sys_temp_dir = "/tmp"4 f( C  O# h2 |& O

  739. 3 ~# Q* F( t5 |  `5 Z: R! V$ i
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work% ?% Q2 b# f+ U' _% X
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically4 u: g8 s8 {% A7 y0 v
  742. ; disabled on them.+ w5 W' j6 W! `; X) e" C6 m# D2 Z
  743. ; http://php.net/enable-dl
    ' i1 S1 j+ ]: h) _& b( N
  744. enable_dl = Off
    4 W2 Y; |& y% y# Q2 p

  745. 3 p) _, B9 U- i. H
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 O/ s/ R$ ?0 w9 \) C& `
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & Q1 h. k0 k) r" @+ Q! j
  748. ; turn it off here AT YOUR OWN RISK
    , V: u* M7 p+ ~
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 [! F0 F$ i# Z+ d  E* q
  750. ; http://php.net/cgi.force-redirect& a% _; P; O1 v. F: c* ^# y
  751. ;cgi.force_redirect = 1
    7 R% `( W, w1 V$ s# u
  752. * C; i7 S  _- x- P" h
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & x& ]; @. i: H0 k" ^, S; c1 h
  754. ; every request. PHP's default behavior is to disable this feature.
    1 M; U( x% p. x# d; i0 p7 F2 O" A% c
  755. ;cgi.nph = 1; B6 W4 w, S2 e* R) V
  756. : v1 U( D6 Z7 D
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ' V5 {* d5 s: f1 N/ R
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 P$ B  H/ w2 T& J( M, ]
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 \, [  T# W, N4 Y4 O
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    3 E$ ?) }9 Y1 r
  761. ; http://php.net/cgi.redirect-status-env' k0 a6 u/ d; o: h- Q% b) T$ [
  762. ;cgi.redirect_status_env =
    4 s4 G3 a3 ^0 f* z
  763. + ?7 h0 `, ~+ w+ J# w: {5 P
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & L& o+ M7 I5 M% E
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    * w" w6 z& I- F' p) ^+ x3 B
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; D  Q. f* |6 R; y8 h
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    , F0 V( w, v% b* Y; v
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts1 I+ \6 E5 N* N7 d. q
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.6 ^8 r' R( T# a
  770. ; http://php.net/cgi.fix-pathinfo
    9 ?) N% e4 t1 j8 j6 n! I
  771. cgi.fix_pathinfo=16 e" Y) j  Q, c' R0 W% F8 U" m3 k
  772. $ {$ d  P8 \# }9 f
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside# D% D% G: K- ]# k- B: ]
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    % z9 i/ N3 k) E; W6 B7 Z4 y" V
  775. ; http://php.net/cgi.dicard-path3 g! H: O7 }; x& |' y
  776. ;cgi.discard_path=1
    4 u) `" A1 X2 G' {
  777. ) j8 ^' E4 f6 i$ e
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) Y" s9 y! Z0 D9 ?
  779. ; security tokens of the calling client.  This allows IIS to define the
    ) \4 ^. [! Z4 k2 N1 l* n& T
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    " q6 C0 A4 d, E% {' B
  781. ; does not currently support this feature (03/17/2002)
    . Z8 M( X& O3 A) h1 k
  782. ; Set to 1 if running under IIS.  Default is zero., x# h1 }  \' J8 @, e! H
  783. ; http://php.net/fastcgi.impersonate0 Q4 K) G' e' k( P' I% u
  784. ;fastcgi.impersonate = 1. d3 }. @' k, g) B
  785. 8 V" x; Q( V! j' c3 T: T
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: I7 y; ?4 p7 P* h  P) E( I  A) k
  787. ; this feature.  v( o* @8 V  `1 o& N- N
  788. ;fastcgi.logging = 0: V5 |4 D) M8 G" _- z
  789. / J' K* Z+ t* v" L! s3 ?9 O9 F- C
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to9 r+ Q. [) @# \" j+ a
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that7 ?1 k- }( D: E: F
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    . @2 }6 A& G: c+ {2 D- l% U' d
  793. ; RFC2616 compliant header.0 t, d+ C5 e0 h: `
  794. ; Default is zero.# R' w4 X0 l) h
  795. ; http://php.net/cgi.rfc2616-headers
    " @4 d( `/ J: x7 R7 t4 e2 ^1 H- n
  796. ;cgi.rfc2616_headers = 07 |! _3 H: |3 G) |: I* F" @
  797. . b4 h$ i8 ~( u2 N! F7 V
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!5 R; J: @! x/ P+ |0 ~
  799. ; (shebang) at the top of the running script. This line might be needed if the0 G$ t) ^0 y$ U3 ^' V' }
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI& D. `8 Z7 I) C* n
  801. ; mode skips this line and ignores its content if this directive is turned on.4 E+ ^3 N) Z/ {; S
  802. ; http://php.net/cgi.check-shebang-line0 o. Z7 W+ f& K% Z+ A
  803. ;cgi.check_shebang_line=12 N7 _! ]" K! u: N+ Y1 t

  804. - G. O2 P0 d5 [- l! q
  805. ;;;;;;;;;;;;;;;;8 y" C/ \1 g1 {, i1 k! |  Z
  806. ; File Uploads ;
    8 m. L3 X* ]9 e  w. |
  807. ;;;;;;;;;;;;;;;;
    , D: q& l2 n# s' b+ C3 T4 i, W( }
  808. & m% W8 W6 p( Q) q+ K% M  x- a
  809. ; Whether to allow HTTP file uploads.
      l: ?7 u# e7 w1 p( K2 X3 e
  810. ; http://php.net/file-uploads% Z/ a7 p3 G5 [8 |* _  A% B- B
  811. file_uploads = On
    , M! }# V+ ?' x- n+ f- r
  812. 0 x& b9 Q% B/ O/ y9 ~
  813. ; Temporary directory for HTTP uploaded files (will use system default if not$ H, {+ u# I, `7 s2 M2 f# ?5 o
  814. ; specified).* b6 ^* g7 Q! T: @& G
  815. ; http://php.net/upload-tmp-dir! m2 ?4 m- n6 Z' e
  816. ;upload_tmp_dir =
    2 B4 h4 @( h& }

  817. ' w. H% ?+ g! E; P9 u
  818. ; Maximum allowed size for uploaded files.& p6 V5 `+ Y: Q
  819. ; http://php.net/upload-max-filesize: c/ y* \6 i; `$ d
  820. upload_max_filesize = 50M
    ( H  c) B) D. ]3 k6 R

  821. , R% t1 E3 w  g0 I
  822. ; Maximum number of files that can be uploaded via a single request
    1 M$ Z  u  J* u/ w. w
  823. max_file_uploads = 20, C5 f7 K0 E# g: {7 {2 r
  824. ; ^8 k/ Z* B% X7 q8 U
  825. ;;;;;;;;;;;;;;;;;;0 W3 E5 p: z0 \1 P: \% _
  826. ; Fopen wrappers ;
    6 n7 x3 d& H/ G. c+ \- Q, B
  827. ;;;;;;;;;;;;;;;;;;
    % F4 l+ Q! [1 n# f2 y: P
  828. 7 I8 Z5 ?% k7 }9 O7 P# ]
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    6 J3 p1 }3 a- X! s3 m1 e
  830. ; http://php.net/allow-url-fopen
    . {& r1 d8 I7 q( X* }2 }. u
  831. allow_url_fopen = On, v: P4 ~% k: B
  832. 4 }- X  K: q0 b0 q+ G2 @
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& z$ F. `9 {: z6 p0 V7 \2 X5 K6 i
  834. ; http://php.net/allow-url-include, V: k  Q% E& w! c; c
  835. allow_url_include = Off
    # d% _( H- ^! Z* o0 `/ M8 s! ^( D

  836. - d% S3 w# Y! ^8 r
  837. ; Define the anonymous ftp password (your email address). PHP's default setting7 Y! _1 R, x0 d0 }2 J" F3 s8 @
  838. ; for this is empty.( h6 s- |3 N4 P/ Z* l3 o& R8 Y3 Y
  839. ; http://php.net/from/ D$ E* v7 D+ L0 s( v: t( @. ]' M6 n
  840. ;from="john@doe.com"( |( ]3 S4 ~) h) K" C9 l2 p

  841. ! x2 ]7 c0 ~( O
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    3 B% W8 b* z$ x' ]* u" H0 \
  843. ; http://php.net/user-agent1 H$ @7 z3 z: b+ v. n
  844. ;user_agent="PHP"
    1 Y' q6 ^- Z9 C8 O; i! r

  845. ! M2 r6 I1 W. B/ v$ n
  846. ; Default timeout for socket based streams (seconds)
    : t% @8 H3 H9 Q  z; W' Y
  847. ; http://php.net/default-socket-timeout6 W* G6 D6 U0 @
  848. default_socket_timeout = 60
    / E2 o  m/ G$ n- T

  849. ' Q$ a9 P; T0 z. {& B- e  Y
  850. ; If your scripts have to deal with files from Macintosh systems,- ]/ Z" {1 ?0 i6 G/ J7 P. w
  851. ; or you are running on a Mac and need to deal with files from3 p9 v% V. h% c/ J7 X; F% n6 P
  852. ; unix or win32 systems, setting this flag will cause PHP to3 m: |# f( N0 D" u( H. S: ~
  853. ; automatically detect the EOL character in those files so that$ k/ w  }- R! _. n" w% h, f' s8 g
  854. ; fgets() and file() will work regardless of the source of the file.& x7 `6 h- q! ~
  855. ; http://php.net/auto-detect-line-endings) @- s  v0 P7 O. y; O% q2 K8 S
  856. ;auto_detect_line_endings = Off) K" }$ k% g$ z- R/ h; F% L6 V

  857. % L4 y8 J) I0 Z1 `1 z- v
  858. ;;;;;;;;;;;;;;;;;;;;;;% R& f3 h' I, U" S1 e
  859. ; Dynamic Extensions ;0 N0 x: o# V" y! ^
  860. ;;;;;;;;;;;;;;;;;;;;;;
    - |6 a! V; I' Z2 U) w; F

  861. 0 l$ K/ }: M! x+ F2 ~
  862. ; If you wish to have an extension loaded automatically, use the following
    0 _2 y5 }5 ]  L. R) P% O" `
  863. ; syntax:
    & N# X; p( a# z* V2 ^  F4 N
  864. ;; O, j" }& H7 w3 [% X3 m% ~! j1 q
  865. ;   extension=modulename.extension
    8 r  H# |- ~$ S: o  S$ c
  866. ;, r2 V! s, V+ j$ U; S9 N
  867. ; For example, on Windows:, `! b2 c* N: i: v6 X% Y
  868. ;# z5 Q9 _0 O) n9 e6 H+ h, x
  869. ;   extension=msql.dll& k. h  D' M% U8 Y) L
  870. ;
    0 Y8 E/ V  j: V4 @8 M
  871. ; ... or under UNIX:: {' C5 G$ I! v; [9 ~5 u$ v
  872. ;
    $ M) F* f9 z) u: Y5 Y. c
  873. ;   extension=msql.so
    + I/ @* q: q! H. Z
  874. ;' b  n% x' o& p  N/ f6 Z
  875. ; ... or with a path:
    + \$ X: C" x* p1 m; n& P' |6 K
  876. ;
    2 c  X$ i! \0 @4 R# C" m
  877. ;   extension=/path/to/extension/msql.so0 @( Z5 H# J6 n8 g0 w- H4 h+ P* m
  878. ;
    . x9 t: Q' ]: }% B
  879. ; If you only provide the name of the extension, PHP will look for it in its6 |( Q. G: g2 h' {/ ?6 w7 p! O3 V8 J
  880. ; default extension directory.
    7 _4 W& f2 j+ U" ^! l4 ^
  881. ;! X/ z" R6 D. ~9 a
  882. ; Windows Extensions
    + q  y) Y& l- ~7 C& ?0 a, r
  883. ; Note that ODBC support is built in, so no dll is needed for it.( j1 G/ D4 {# g6 f
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)) g$ L) D3 K4 M$ L) p
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    4 t% l" o. i/ ^) J. m; ~
  886. ; Be sure to appropriately set the extension_dir directive.
    ! Z1 I' G  t( [9 Y
  887. ;
    4 `: o# U2 ?4 F1 B! \9 x
  888. ;extension=php_bz2.dll
    0 `+ V  f6 m2 x% |3 P- u$ L
  889. ;extension=php_curl.dll: o: J# y, Z, O2 z4 l
  890. ;extension=php_fileinfo.dll
    # y& U9 S+ f4 Y( Y; g
  891. ;extension=php_gd2.dll2 E" x6 ~- J. M6 s' }$ t" J- \- L
  892. ;extension=php_gettext.dll
    ; g- ^9 q+ ?& \% c6 C
  893. ;extension=php_gmp.dll
    . t& j2 w" T0 P5 A
  894. ;extension=php_intl.dll
    # ~7 \3 S, a# i) P' B
  895. ;extension=php_imap.dll; t% f5 Y. ^8 F. g' Q
  896. ;extension=php_interbase.dll9 b$ P/ N  [3 u0 E8 p7 _# M9 v
  897. ;extension=php_ldap.dll8 X' Q- I: m& f6 O& [0 j* c
  898. ;extension=php_mbstring.dll
    % J/ i4 @7 b; c: a' e
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : ]) X! i. q$ d" {
  900. ;extension=php_mysql.dll
    5 _5 B% l& g1 ~' M+ d. U
  901. ;extension=php_mysqli.dll
    3 W9 W6 z! @; c
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    8 U1 r) z" F+ P. X. q7 M5 K
  903. ;extension=php_openssl.dll
      i- z/ r! U$ V
  904. ;extension=php_pdo_firebird.dll! t$ q  Q$ q5 ^* C4 e: c
  905. ;extension=php_pdo_mysql.dll$ z) v$ g) I* s2 {8 X% u  v6 w' E
  906. ;extension=php_pdo_oci.dll( V4 `3 I  x. A) b
  907. ;extension=php_pdo_odbc.dll
    3 W/ w$ E: q/ b, K' E
  908. ;extension=php_pdo_pgsql.dll5 }6 e" e* G) T# n+ C1 v# t
  909. ;extension=php_pdo_sqlite.dll: i/ B9 T( g. ?0 W( G
  910. ;extension=php_pgsql.dll, N; T+ g, {! K2 r. t7 y& O$ [/ c
  911. ;extension=php_shmop.dll- h' c, t# A1 s/ ?7 q" |: U: Q. k; L

  912. 2 X  ~6 H2 h4 D: ?+ Y8 a
  913. ; The MIBS data available in the PHP distribution must be installed.
    ) G: |  r3 y) Y8 ^
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    1 ~. l! c$ y" R3 T. `
  915. ;extension=php_snmp.dll
    % }6 v1 ?+ s$ m3 Q

  916.   r% j2 P) M) q3 t( W8 X
  917. ;extension=php_soap.dll  N8 i4 X$ r1 O" i: h# I
  918. ;extension=php_sockets.dll# U3 ~& o/ u' G& n8 X) v* i7 e' Q1 @' z
  919. ;extension=php_sqlite3.dll
    9 o9 x) R4 \" h7 G) f; f
  920. ;extension=php_sybase_ct.dll
    . t$ K3 J. t% ^$ u6 J3 ?
  921. ;extension=php_tidy.dll
    $ X( U3 Y, O1 f, R( f, A
  922. ;extension=php_xmlrpc.dll
    : [+ Q  k4 U7 R) ?4 K/ K7 q
  923. ;extension=php_xsl.dll/ U7 O3 x. W5 _1 l: i

  924. 3 Q5 \) ^# x3 K. G6 g
  925. ;;;;;;;;;;;;;;;;;;;. \8 L) E# |: S6 U' o1 L6 B
  926. ; Module Settings ;3 v0 [7 ~! C6 f9 S  r
  927. ;;;;;;;;;;;;;;;;;;;
    0 F* }7 [2 i$ k( X' j( O' K

  928.   Z& N8 |( }4 J
  929. [CLI Server]/ b9 L. h+ y5 n* V0 J8 D
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output./ H) r* J8 c6 ]3 H( j: m
  931. cli_server.color = On
    . Z) ~& y: p+ u, D/ M
  932. 9 g7 S: x* n# U* o
  933. [Date]
    . N& D5 h2 j* e
  934. ; Defines the default timezone used by the date functions* }0 h( J; H0 C2 U5 I' T
  935. ; http://php.net/date.timezone
    $ g8 F5 ]5 R) x7 i6 ~& r
  936. date.timezone = PRC
    . P- Z& G5 I1 A: |% l
  937. 1 \2 y6 {- u, A' Q
  938. ; http://php.net/date.default-latitude7 h5 `! L  x( ^3 c0 j6 u" V. S$ C
  939. ;date.default_latitude = 31.76679 t# M% P, H/ k  r1 K+ _+ Y$ y; o
  940. . A3 P$ v8 G: {; D
  941. ; http://php.net/date.default-longitude9 P# s2 O! r: N6 e
  942. ;date.default_longitude = 35.2333& o! M6 n+ e% g4 r4 E( Y
  943. 0 t5 R3 t' }  L7 m: {0 H3 s& C; x
  944. ; http://php.net/date.sunrise-zenith
    + z) ^! a2 S3 Y6 i5 T! j
  945. ;date.sunrise_zenith = 90.583333
    - V" F4 C4 Z& c8 @: r
  946. ' W7 Q3 e# j: j5 M5 n* G, A3 m
  947. ; http://php.net/date.sunset-zenith
    4 _2 I7 O( i  ~) s
  948. ;date.sunset_zenith = 90.5833338 H0 f( f/ P" ~( b9 a% a
  949. , ?+ i: C! p" E7 ]- W
  950. [filter]( C7 O4 e) S, q+ x# @
  951. ; http://php.net/filter.default+ d/ _( D/ A: X, Z0 X
  952. ;filter.default = unsafe_raw
    9 c4 E$ e# T: C% z: ^
  953. # n3 Q" C; H* R+ h
  954. ; http://php.net/filter.default-flags
    $ b; |  U5 e: T, s' _1 V0 {
  955. ;filter.default_flags =+ I- ]. Y, ~3 f8 J9 B2 l. u7 D* e
  956. ( \4 l5 K/ O4 ?7 D5 G) E( h" Z
  957. [iconv]) c# t0 A, u) ~# ]6 p
  958. ; Use of this INI entry is deprecated, use global input_encoding instead., {: H0 m9 }! A7 v
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., N+ J) Y) E9 j+ U0 K
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! V1 W0 j; T6 w, D. k& e. {
  961. ;iconv.input_encoding =
    , S$ ~  \1 K0 D/ ~) a  k) E+ |  n
  962. 1 z& C) m: u8 u, D2 C
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 [# q1 s! M# `3 ^
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 }& g8 o0 g( k# V. q
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - o7 q  L5 ^: c- q
  966. ;iconv.internal_encoding =4 a% ~7 v" N/ G! `
  967. * |. b/ z" _1 E" N% r( ^8 j4 P6 v
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.- X0 _; Z' |* n& z( e/ t6 }
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ) l6 U/ A3 f; |; @8 X
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    - ]. b  {6 ?' j$ z5 a4 |
  971. ; To use an output encoding conversion, iconv's output handler must be set4 r5 b2 G9 M# r* ^3 O8 p8 o9 Y9 R' M, H
  972. ; otherwise output encoding conversion cannot be performed.; u7 H; L; {, A3 e9 f7 l
  973. ;iconv.output_encoding =2 i. ^7 P8 Q- R2 f9 ]- X

  974. - @( ~. U) }5 W: u! Z& Q
  975. [intl]
    & f& d; u& `1 A9 M7 g; e
  976. ;intl.default_locale =
    " H7 h( G7 m1 Z. i; F$ R
  977. ; This directive allows you to produce PHP errors when some error/ H# g$ B$ C7 B& U  \, g1 a
  978. ; happens within intl functions. The value is the level of the error produced.+ w' H- F7 M4 l
  979. ; Default is 0, which does not produce any errors.
    2 R9 j6 }! Y9 |; w6 z
  980. ;intl.error_level = E_WARNING; m( q4 x" i! R
  981. ;intl.use_exceptions = 0
    ' Q$ v  v. o! _% L
  982. 7 Y* U2 N1 j' @, F
  983. [sqlite3]8 |, B3 ]. C9 m7 V, a
  984. ;sqlite3.extension_dir =
    # f% Q- g6 S4 x
  985. 4 N* g7 e9 U, ^. |
  986. [Pcre]
    % }! H6 f9 w, D  R. n8 p0 p  n7 U1 \
  987. ;PCRE library backtracking limit.( C# b) X) W' _0 W4 w& }
  988. ; http://php.net/pcre.backtrack-limit1 q+ y5 D! k+ Z' T4 Y
  989. ;pcre.backtrack_limit=100000' e; x5 y) `) X; U" D: N- ^* ~( w

  990. : ^- l. S  N+ w$ _( A
  991. ;PCRE library recursion limit." |1 x8 `, @- ?% \3 M& |) ~. P' n
  992. ;Please note that if you set this value to a high number you may consume all
    / o( G. I2 Y( p; ~! M! V
  993. ;the available process stack and eventually crash PHP (due to reaching the7 F6 \5 I5 v% A% K$ b
  994. ;stack size limit imposed by the Operating System).
    ( b5 m5 x6 s2 P$ s
  995. ; http://php.net/pcre.recursion-limit
    4 H- H0 |) a& `' K6 u, p8 _9 {5 u/ g5 b
  996. ;pcre.recursion_limit=100000
    3 O2 F# y2 F2 D9 w, q

  997. . x" ^: t5 s6 `& N+ g
  998. [Pdo]
    6 ~6 r6 y* ^9 Z4 t2 H+ ?$ j9 @
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"% C: o  R$ D2 P2 O5 v2 @
  1000. ; http://php.net/pdo-odbc.connection-pooling! v' o" L7 F: W) x4 E9 b
  1001. ;pdo_odbc.connection_pooling=strict4 u4 r$ o; ~' P8 F  E

  1002. / f$ F. t5 D( {" t2 T2 n
  1003. ;pdo_odbc.db2_instance_name" b; |7 K+ G# {5 E
  1004. ; k$ G: e" S9 g7 S, A
  1005. [Pdo_mysql]
    2 j# V- j) C7 u: n! i8 j) J
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ s5 [4 o- N* A1 t: k4 k  G6 E) o
  1007. ; http://php.net/pdo_mysql.cache_size
    9 \) x# n; v" k! R9 f' E, x/ c
  1008. pdo_mysql.cache_size = 2000
    - L5 n' i! x4 [; |% E
  1009. . }% ~9 \  e# h# I
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 F/ q7 G) J1 n& G3 Z. Z" c
  1011. ; MySQL defaults., r' I& g) i# ]$ L- S! L% S8 Q
  1012. ; http://php.net/pdo_mysql.default-socket
    ( W; s) m/ p; ^- [
  1013. pdo_mysql.default_socket=
    5 R; u) z! F) c% ?, F
  1014. , k2 ]) p6 d  }) F
  1015. [Phar]
    * Q! Z% j$ g& d5 K# F6 J" i8 ]% Q
  1016. ; http://php.net/phar.readonly
    # Z: d' D) q7 G1 c( d+ ?5 c
  1017. ;phar.readonly = On4 P8 o" _5 Y3 i4 Z7 @- b: W; L' V/ M! A- X! k
  1018. 8 ?4 E9 Y% a9 u4 I6 V% Z% A6 ?* t
  1019. ; http://php.net/phar.require-hash
    , r3 a' _6 f+ {  q8 @/ r8 ]7 ], Z9 t( A
  1020. ;phar.require_hash = On" ?0 t9 e0 f2 g! I6 n

  1021. 7 g0 w) k% \+ R) }. D6 W' U
  1022. ;phar.cache_list =4 l4 ?6 I. v. M/ H
  1023. : U- |* q; B: P% d% n
  1024. [mail function]
    + A9 R, z2 f1 `: w$ O& C5 M
  1025. ; For Win32 only.! H! K2 D% p- d' K! J9 Z& f
  1026. ; http://php.net/smtp
    ! L# z- l; ]$ a( p
  1027. SMTP = localhost
    / d, s' W3 w( Q  |* o
  1028. ; http://php.net/smtp-port
    & b. b" e1 o, W- |, [+ O7 R9 A
  1029. smtp_port = 25& o6 G; z5 O* ]- v- R. m0 i

  1030. ! `/ O! {  C" z  l# i. q, ?
  1031. ; For Win32 only.
    : B* N: ?9 |( G0 U3 I
  1032. ; http://php.net/sendmail-from- w, K. y$ [) s9 ?8 P& n! O, l
  1033. ;sendmail_from = me@example.com7 c5 M1 X; x3 k" a: y) {8 e; X

  1034. 0 i$ L7 f; [/ Y/ M" w" O6 z: i
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 M9 F$ ?+ f& h* J. j" A
  1036. ; http://php.net/sendmail-path
    0 Z  ^6 H7 I. b9 s0 t# q1 t: ~
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ; Y. L8 [7 ~, L! B7 a& p

  1038. % T* w6 d  y+ l3 o! m0 L) o
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    $ |" W& F; L; @) K& g0 b% ^
  1040. ; to the sendmail binary. These parameters will always replace the value of
    1 {3 J. a1 H9 u. k) @4 }) V
  1041. ; the 5th parameter to mail().) V' \( ^3 g9 C2 n1 Q! w* E8 K" P
  1042. ;mail.force_extra_parameters =. @' ?- [; T$ Z+ u% n

  1043. 4 ?4 q8 q6 V1 z7 x$ k
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 }& g. t/ ?- t2 {
  1045. mail.add_x_header = On
    $ ], o2 Y) m9 ~. @0 O
  1046. # {2 m! g* m* P! h( [
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ' [) @( g  ]; k# R! d. s
  1048. ; the full path of the script, line number, To address and headers.
    0 y: d( \: R3 u' _5 @# r0 t
  1049. ;mail.log =
    ; B" P+ m6 s0 j3 [7 R7 w$ _% C
  1050. ; Log mail to syslog (Event Log on Windows).
    + B: B# \: I5 h/ H# U9 e1 h& S7 `
  1051. ;mail.log = syslog, ?- o5 b! B7 z: q5 N- I
  1052. : u$ p8 j- d% o* [1 T
  1053. [SQL]
    9 w; `+ J5 p9 u$ ^! Y+ i
  1054. ; http://php.net/sql.safe-mode0 W, m. O! e8 \- c! M9 u
  1055. sql.safe_mode = Off
    # ~# F" z0 ~6 C+ j7 B) ]) P
  1056. # }1 s& c1 w2 G  u
  1057. [ODBC]
    1 K1 |. u# X! z/ y
  1058. ; http://php.net/odbc.default-db  o* T; L/ q& Z( F) M
  1059. ;odbc.default_db    =  Not yet implemented
    6 Q1 O* q" a' ~2 _1 p( P
  1060. 2 \& q" w' N- Y7 U) b, k+ Q
  1061. ; http://php.net/odbc.default-user) E. M4 G6 @  l+ K; ^
  1062. ;odbc.default_user  =  Not yet implemented
    7 E1 ^: S6 w7 I
  1063. 6 ^* i, x6 ]( s4 ^% s
  1064. ; http://php.net/odbc.default-pw
    : R; y# B( |/ ?# W5 q
  1065. ;odbc.default_pw    =  Not yet implemented
    ) K% U( X5 l9 w( t# t

  1066. 4 T5 x- n7 U7 V6 k5 Q, }
  1067. ; Controls the ODBC cursor model.
    9 m& O  B, |- G# v) `: {& ^& ?
  1068. ; Default: SQL_CURSOR_STATIC (default).
    * ~; }. V6 d$ C; o% ^% T! t0 D/ x
  1069. ;odbc.default_cursortype! E/ M; [6 M2 j6 K$ y+ N
  1070. & o$ Y8 ^# u8 u5 Y% ?, a
  1071. ; Allow or prevent persistent links.
    1 j! E1 i. U: b( {0 R
  1072. ; http://php.net/odbc.allow-persistent* F6 ~1 k) [1 C
  1073. odbc.allow_persistent = On! P& d- |; T+ b' }- V  m

  1074. 6 V, Y# y6 i& L9 f% _0 {) _
  1075. ; Check that a connection is still valid before reuse.
    # S; y9 g4 ^; G& }
  1076. ; http://php.net/odbc.check-persistent6 q( _3 g" t  \5 D( F3 T
  1077. odbc.check_persistent = On& {1 M2 n. S4 ]$ j+ k6 K/ Y
  1078. " ?3 O1 `# a% j# E7 B$ ^
  1079. ; Maximum number of persistent links.  -1 means no limit.
    " w3 I# m+ K5 M: ^
  1080. ; http://php.net/odbc.max-persistent% r3 V1 v6 T( r+ P: m% ~
  1081. odbc.max_persistent = -1! Y) V0 n) F, W! S! ^

  1082. 8 f. j7 I$ z' |$ Q/ T
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' U; D7 N7 [* @$ s$ C4 u7 r
  1084. ; http://php.net/odbc.max-links
    5 g! k5 g4 j' [1 F/ p1 A
  1085. odbc.max_links = -1; b9 k) w1 K% N  v9 c
  1086. 0 N, c3 E8 q% m! I8 d' ?
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ' D( C/ u" i1 ?- e
  1088. ; passthru.
    $ W0 s8 d6 c# e! b) d: Y0 z6 q
  1089. ; http://php.net/odbc.defaultlrl0 _# z; ^& h* r
  1090. odbc.defaultlrl = 40962 h) H) }/ k  C4 d. s. k

  1091. 0 ?4 v6 y% Z; b" y2 u3 t  j7 A
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.! E- n0 v" s7 D8 {
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 E9 p0 p- V+ T. ~2 r7 @) h
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ; R/ i8 r; ^' p
  1095. ; http://php.net/odbc.defaultbinmode
    ! A) O+ G4 b& r+ ^
  1096. odbc.defaultbinmode = 1
    % w+ S9 b% n6 S* N2 H* b
  1097. + ^2 i6 y- M0 f" O
  1098. ;birdstep.max_links = -1( w; t! V1 q/ k7 e- p% ]

  1099. - ^1 X1 `, ?) E* a! k
  1100. [Interbase]% j" Q0 _% m1 p* k. ]8 H9 W1 {- k  R
  1101. ; Allow or prevent persistent links.
    3 J0 V& M/ E; J  u* K. j/ s
  1102. ibase.allow_persistent = 1
    ' S' y# {7 y! O2 B

  1103. 8 j0 y5 `% v0 m! Y
  1104. ; Maximum number of persistent links.  -1 means no limit.
    0 }% I( ]% g9 v5 D
  1105. ibase.max_persistent = -1
    3 K) R" s4 E7 x6 E2 s( H- A9 B7 p
  1106. & y* j( n6 l8 t
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 @5 j0 g6 {% J/ Q9 ]+ d$ o
  1108. ibase.max_links = -1; W- X- q5 W5 Y

  1109. $ k4 Q8 h1 x7 J- s7 \  d, e
  1110. ; Default database name for ibase_connect().& f- b  r- I3 r0 x, m
  1111. ;ibase.default_db =
    % E& A% @. k0 j

  1112. ) c  t& m+ `( G& x" W
  1113. ; Default username for ibase_connect()." J/ I% f6 }1 w0 e- i2 J
  1114. ;ibase.default_user =, l) [+ Y1 K) x$ J2 M+ k$ A- n% [
  1115. % D- G- Y6 K( a/ C
  1116. ; Default password for ibase_connect().
    % R5 q, r5 [2 x1 l
  1117. ;ibase.default_password =
    ! c2 M0 O* Y6 d9 S. x4 x% D
  1118. 6 f9 B  S" o5 {" a. I; Q
  1119. ; Default charset for ibase_connect().  [$ [5 G9 t4 I
  1120. ;ibase.default_charset =
    ! G4 K9 \0 V( o/ w3 W" A/ y+ T

  1121. ! N  a* b+ w5 ?$ G
  1122. ; Default timestamp format.# I7 G# O* d# S  q0 K. t
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ( k& S0 O5 V* v: \

  1124. $ ~4 o! M+ j3 C  Z3 Z+ ]
  1125. ; Default date format.% ^, Q9 S4 D/ e
  1126. ibase.dateformat = "%Y-%m-%d"
    6 A) \) m' b4 O# u6 w2 n/ T! q
  1127. 0 c* l# ]( p7 W
  1128. ; Default time format.
    % P1 w% m0 _7 W4 w. B, R
  1129. ibase.timeformat = "%H:%M:%S"1 d8 F. G- m/ a% K+ f  k
  1130. 4 ^; S8 c! j2 G( q0 d
  1131. [MySQL]
    : W3 @% U; b" M. x) u% h
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 _$ i8 E0 U0 j  U% S* Z
  1133. ; http://php.net/mysql.allow_local_infile
    ! A* F  }/ z6 w, V+ X
  1134. mysql.allow_local_infile = On
    2 P  e' M% D6 _& u
  1135. - n0 g0 Z: w6 f" v1 I+ t
  1136. ; Allow or prevent persistent links./ H- Y$ i! u, T8 H! Y# N2 O7 V7 Z
  1137. ; http://php.net/mysql.allow-persistent/ J7 `0 B/ {0 B+ K
  1138. mysql.allow_persistent = On
    - e- _, @  Z3 F/ G
  1139. 7 ?" |; g  R8 E! Z+ }
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache  Z- ]8 G2 C5 t! S: m, ?) V
  1141. ; http://php.net/mysql.cache_size
    2 i2 e# c- N+ R- ~3 s
  1142. mysql.cache_size = 2000
    8 E' T) l; `. [$ S& y) j
  1143. 5 Y0 s. M* ^, Y# F# E( M# N9 L
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ' k) _$ O) o+ J3 F+ O* _/ A: P( i
  1145. ; http://php.net/mysql.max-persistent8 c+ D) M2 V/ F8 D3 L
  1146. mysql.max_persistent = -1
    $ }- R3 S6 |0 L* [: R* {7 V/ @; Q

  1147. * q9 a* t' u0 j! e$ p- D
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 b# h$ @* i, r) B% Y" p1 s
  1149. ; http://php.net/mysql.max-links1 v7 f2 @! D* @6 S& k4 N
  1150. mysql.max_links = -14 m6 {, W5 _! L+ |$ I5 H

  1151. , j$ g2 _7 y5 a+ l) e% D9 T
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    6 B" z9 Z* W7 h. r( u# C
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ l  u; O5 {3 k5 N
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    : W) Q) H4 s( o1 n% J) V
  1155. ; at MYSQL_PORT.
    4 q- E. U, w& C4 w, A
  1156. ; http://php.net/mysql.default-port
    ) S, Z: A! g* F
  1157. mysql.default_port =5 J, Z4 d3 ^# W" \; M, S
  1158. ( l" ]" y* b; C& N9 `+ l* o5 i
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . K' R* E6 p- o
  1160. ; MySQL defaults.& O3 M: R* ^% o0 @0 R
  1161. ; http://php.net/mysql.default-socket
    7 m5 D( Q, a- Y; A* E/ U
  1162. mysql.default_socket =
    + a2 U/ l: j8 d7 V2 j+ }, F, Q, [) e
  1163. 8 c- y% _/ |/ B2 w% G' G2 H+ W
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).# c0 n' `+ J: z
  1165. ; http://php.net/mysql.default-host
    ! ^( @! l* ?1 s# F% g. J' ?/ r6 V, t; q
  1166. mysql.default_host =! V! H( M# y7 |* W" G7 B: X2 k: r
  1167. % U7 Q2 f, e0 c
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 Q9 N! R2 h. j$ j9 W# ]
  1169. ; http://php.net/mysql.default-user! W5 D: l8 X# x! `9 ~  B" N
  1170. mysql.default_user =
    $ }" ?2 `' W) r2 m$ D8 m1 W& y) v

  1171. 2 `1 ~9 ]9 l; J; k' {
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).- \3 i9 B" z$ R$ b# n& b
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) k" l( n8 o, `% @- }" g; T
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    # P/ k6 L6 t6 x9 b
  1175. ; and reveal this password!  And of course, any users with read access to this
    ! h. D1 ^) g4 n3 _( R5 u
  1176. ; file will be able to reveal the password as well.0 B+ }; k  S1 m  Y' ?. ?, J3 M
  1177. ; http://php.net/mysql.default-password
    , e* O. y1 E; ?! G1 @
  1178. mysql.default_password =
    ; Y' {- w" q+ }
  1179. ' A6 O) S5 o2 c1 L9 ~# G4 k3 ?$ s
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit+ o! i4 e4 Y: O: p3 G$ b$ v1 D
  1181. ; http://php.net/mysql.connect-timeout8 l, ]: H5 Y8 B1 b
  1182. mysql.connect_timeout = 603 O6 L% v: T, o% Q
  1183. $ p$ b# n7 g1 N2 i. r: L
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and5 x% Q/ V5 Z6 r% N2 i2 V
  1185. ; SQL-Errors will be displayed.
    - K0 }0 I7 j5 P' J  p
  1186. ; http://php.net/mysql.trace-mode7 D# y  \& f3 P
  1187. mysql.trace_mode = Off+ f; ^3 l6 }; Q9 Q% U  W
  1188. 4 C7 `5 z; f; I  o6 I) w
  1189. [MySQLi]
    ; S5 N1 h4 L7 t7 V
  1190. + L) a7 y' L7 x9 ^
  1191. ; Maximum number of persistent links.  -1 means no limit.2 C9 K- l) F9 C" M6 s
  1192. ; http://php.net/mysqli.max-persistent
    ! M  @, F2 H+ y0 Z: s; G1 D
  1193. mysqli.max_persistent = -1* X  {: s" W/ C$ w
  1194. - Z! v5 b* e2 r$ v& F, U
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + v2 ^+ J! q: n9 [2 x+ {, m, ~
  1196. ; http://php.net/mysqli.allow_local_infile+ N: s+ Z4 S* U+ e
  1197. ;mysqli.allow_local_infile = On
    # m3 \& X) n9 W3 M2 z$ Z; B2 C& T# v' A
  1198. 4 V# Q* U4 o* Z( ?
  1199. ; Allow or prevent persistent links., m* o) m4 [, y+ |
  1200. ; http://php.net/mysqli.allow-persistent; I" ]8 V0 i/ ?1 p; ]7 U
  1201. mysqli.allow_persistent = On
    , E  f4 T; ]0 Q, g" K$ U
  1202. 3 s9 p/ A! C  X: P4 }
  1203. ; Maximum number of links.  -1 means no limit.
    ( z, f1 {' \9 G, P
  1204. ; http://php.net/mysqli.max-links
    ! [/ V, S; J" Q3 m" @8 Y% R
  1205. mysqli.max_links = -13 ]6 g. s$ ~; L% \

  1206. ; x$ S4 H0 I: R0 G0 r1 A
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache- b; ^# N3 T5 P6 S$ A+ e/ w
  1208. ; http://php.net/mysqli.cache_size
    1 Z& L% Q1 ^, ]6 x
  1209. mysqli.cache_size = 2000
    . p6 D( A6 K$ m% ?+ b

  1210. " U( D1 s! j1 o" S0 F. G% L0 {0 g' d
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use/ p, H6 \& B! n1 N  ?8 X
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' ]' X% X0 S7 u/ E, ^8 m
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * t, c/ {7 F( n/ I7 \3 D* q3 I
  1214. ; at MYSQL_PORT.1 a& P' @- d( Z$ N' H  R
  1215. ; http://php.net/mysqli.default-port: N' c) i5 }" U% H
  1216. mysqli.default_port = 3306
    : P. S1 F2 u- H; S$ [* v2 y7 p

  1217. 3 c  d; u2 R$ z" l/ C( v* M
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # N% F5 f' w" m+ N& S1 d1 ^! H
  1219. ; MySQL defaults.
    * J5 H% c; Z. _- W
  1220. ; http://php.net/mysqli.default-socket
    ( W7 B* W" f- D. q
  1221. mysqli.default_socket =
    * ?7 A& F% _3 M; v5 H7 [( W

  1222. # W; n6 Q! X( U4 i- M
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).6 B$ S% a1 [& j
  1224. ; http://php.net/mysqli.default-host
    * a$ p# L7 c; k% e! H8 z" ?3 t, I% o+ @
  1225. mysqli.default_host =: c$ `& {1 _7 v  [

  1226. ! z% i/ S* @6 t4 f  Y2 D- v
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).1 P; L8 d- h& k2 i0 U; i  b2 L
  1228. ; http://php.net/mysqli.default-user- K+ i% `" s% K" n/ |
  1229. mysqli.default_user =% Y. i8 Q8 C8 k5 x" `. U

  1230. ; ^% _! k3 ]/ b/ n
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : k6 Y- u) r/ W0 ]; [. x
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    3 t. d8 M  w/ M' v
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    1 l/ h& D6 d' o
  1234. ; and reveal this password!  And of course, any users with read access to this$ v, M2 |+ g. f# Y" u& H/ l
  1235. ; file will be able to reveal the password as well.
    9 D- G  {4 }- a+ `* |" c
  1236. ; http://php.net/mysqli.default-pw: j7 h7 d" T/ _$ ~
  1237. mysqli.default_pw =
    . B( M; [; P1 d

  1238. , [5 I# K6 _5 T: y, F: ^# H
  1239. ; Allow or prevent reconnect- t1 s8 u0 {  |8 L% h+ J* u
  1240. mysqli.reconnect = Off
    2 }! a- I" R% B1 H  L
  1241. # _- Q, |0 H; r8 j
  1242. [mysqlnd]
    + j/ Z& ^( c& N+ u; S. O
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 W# P2 s$ w. c2 ~. x
  1244. ; used to tune and monitor MySQL operations.- t& y( Y: [$ I. e$ _: x  H
  1245. ; http://php.net/mysqlnd.collect_statistics
    1 v3 j) U7 O$ A+ k: r% h
  1246. mysqlnd.collect_statistics = On
    $ g5 T* G7 w8 Z$ R

  1247. , j+ \: m; r2 [! c
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be1 u0 H3 ]6 X+ a( S1 T, T0 x
  1249. ; used to tune and monitor MySQL operations.: R9 \3 A& x0 f3 n
  1250. ; http://php.net/mysqlnd.collect_memory_statistics& e  z+ U$ i4 i# U3 U
  1251. mysqlnd.collect_memory_statistics = Off& _: ^& F8 C$ \; z' w- T& ?( F0 \

  1252.   p* p9 O3 h2 x$ k0 n
  1253. ; Records communication from all extensions using mysqlnd to the specified log  h) A; d* W4 B! T7 t
  1254. ; file.2 Q* y' _& }( x7 Q! r" V& n& l
  1255. ; http://php.net/mysqlnd.debug4 }. Z8 G" ?, G
  1256. ;mysqlnd.debug =. h2 L5 @/ z/ |( E; J* f
  1257. ' r; e% Q+ w# a. A: J" g
  1258. ; Defines which queries will be logged.
    : j$ w) q$ ^9 }7 z. f
  1259. ; http://php.net/mysqlnd.log_mask
    - S1 `: x) ~% C8 C
  1260. ;mysqlnd.log_mask = 0
    & K$ \/ L+ L( Q3 p; N$ Q4 E

  1261. . Q: W6 V4 e5 i  y
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    7 Y* z) P9 l4 t4 d
  1263. ; http://php.net/mysqlnd.mempool_default_size' g+ N" N& y' ~
  1264. ;mysqlnd.mempool_default_size = 16000
      Y, ~' \8 L( M6 {* U1 A
  1265. ; L4 [8 L  q9 Y/ z: j) f# a
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    % D: b3 Y3 \7 j0 z' ?* x* a
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " p* S, p; W( U0 F5 M& j8 ?
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    6 W* q0 Q2 L* I
  1269. 0 b0 l. s3 k$ z, x* v
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( B% `) f) _# G9 H% Q( [
  1271. ; bytes.
    ( b9 z+ A! S/ Y0 m) X
  1272. ; http://php.net/mysqlnd.net_read_buffer_size7 e1 ~4 x/ U8 g; ]
  1273. ;mysqlnd.net_read_buffer_size = 327684 }5 _* Z% E' k+ J: k/ ~4 A" X4 H

  1274. * |" w7 {4 L" c5 j
  1275. ; Timeout for network requests in seconds.1 d- e7 H% s6 |
  1276. ; http://php.net/mysqlnd.net_read_timeout
    / v* V* ]6 n; H  X+ W; c
  1277. ;mysqlnd.net_read_timeout = 31536000
    + L3 ~' `. ~" v

  1278. : c7 |0 T; ]3 b, v  A
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA. S& v" A" C6 Y3 t  _
  1280. ; key.
    ; A+ S; f# B) F0 w% @  j! x5 V  {
  1281. ; http://php.net/mysqlnd.sha256_server_public_key: y' B- M9 ]$ q+ e. w: @
  1282. ;mysqlnd.sha256_server_public_key =
    # e/ T, O: z$ ^6 s3 E* a0 {
  1283. ) D3 q8 M. `  F; d6 Z9 p9 e0 s
  1284. [OCI8]" }$ e5 D8 D7 g" I' C
  1285. * ~5 [1 ~2 `5 P7 J3 r# h5 A; w* D( q0 L
  1286. ; Connection: Enables privileged connections using external, C; S! s0 A4 a( F5 @
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( K% j$ r# c2 _8 }* d
  1288. ; http://php.net/oci8.privileged-connect
    & E$ g9 D" `$ ]0 Q! A9 @7 f
  1289. ;oci8.privileged_connect = Off5 Q: Q. M* x( v9 R+ @

  1290. 6 z4 Y: a2 ?7 |3 B' o& z0 H
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ; f2 N' u' Z" D; A1 k5 w
  1292. ; process. Using -1 means no limit." z( s9 a! p+ z  u" P) m" p
  1293. ; http://php.net/oci8.max-persistent
    5 t7 u6 {( h$ L, Q+ A3 d" e
  1294. ;oci8.max_persistent = -1
    ' b0 v  t1 j: c) t5 ~; l

  1295. 5 i! J3 _" l, {+ c2 {
  1296. ; Connection: The maximum number of seconds a process is allowed to- ]! d) i- C$ P; p9 E1 O4 ]& Y
  1297. ; maintain an idle persistent connection. Using -1 means idle
    % Q; G9 I- Q0 [$ U# j
  1298. ; persistent connections will be maintained forever.' Y7 z2 b6 Z& q
  1299. ; http://php.net/oci8.persistent-timeout
      I, z9 v4 \. H. P
  1300. ;oci8.persistent_timeout = -1) @+ E! P/ d1 |9 |
  1301. & S1 A2 w& J% W8 _1 N
  1302. ; Connection: The number of seconds that must pass before issuing a. ?5 ~9 f# y  @  u- E2 a
  1303. ; ping during oci_pconnect() to check the connection validity. When
    8 O- N$ S  z5 t% }6 |# ?) U
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( ^. |' O' q; O; ^$ t! u1 |
  1305. ; pings completely.
    & u& H: V& ~& t9 i
  1306. ; http://php.net/oci8.ping-interval
    , I& u2 k: l8 i
  1307. ;oci8.ping_interval = 60
    ' U" u) I, S2 g2 ]( l, s$ |) u- @

  1308. 3 e( e; H( u& K- l
  1309. ; Connection: Set this to a user chosen connection class to be used
    $ y1 w4 ~% p; R: b% w# ?$ k
  1310. ; for all pooled server requests with Oracle 11g Database Resident( N9 \: R- ?5 [) A* [: ?
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 Y) x0 f0 t; `4 H
  1312. ; the same string for all web servers running the same application,
    8 Z7 i) \0 H2 Q3 r& |9 U: w
  1313. ; the database pool must be configured, and the connection string must
    - h! D; c; Q5 q5 d
  1314. ; specify to use a pooled server.
    / s: O# z8 f! t9 o: y% ~
  1315. ;oci8.connection_class =
    * i# ~0 V  N( E* R* `
  1316. 3 m$ m3 C- Z7 {& o; p0 ]- j$ F  N) h
  1317. ; High Availability: Using On lets PHP receive Fast Application
    # n8 Y) o% Q; p: ~3 `' S- T' G9 B* L
  1318. ; Notification (FAN) events generated when a database node fails. The; |; {$ {" O% i7 C
  1319. ; database must also be configured to post FAN events.* q! e/ ~0 b9 f4 R! H1 P
  1320. ;oci8.events = Off* M5 o/ ^5 q0 m/ E5 H+ Y& T
  1321. 1 b/ X* S4 l. W9 [; h" v, D  O5 F
  1322. ; Tuning: This option enables statement caching, and specifies how
    : J# K, U: v; h6 ]9 }  r' Q) Y
  1323. ; many statements to cache. Using 0 disables statement caching./ f; c% s9 ^( r# K2 e' n
  1324. ; http://php.net/oci8.statement-cache-size1 k* K1 W$ [4 j. |. I& t; L2 g' I
  1325. ;oci8.statement_cache_size = 20
    5 j# c$ x* X% e. c3 Y. f

  1326. ' {0 |! @, }* n
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    . [* \1 k) K/ K0 b# `
  1328. ; rows that will be fetched automatically after statement execution.- @6 O1 Q3 ]4 t8 V8 k
  1329. ; http://php.net/oci8.default-prefetch
    0 }8 h: P& H- }6 e2 m" z, q( l
  1330. ;oci8.default_prefetch = 100- s9 i+ N, F* j: _1 b  P! M
  1331. ' J- i/ A+ S- d7 T2 F9 P0 K( o
  1332. ; Compatibility. Using On means oci_close() will not close
    " w$ @, z9 M4 e! [
  1333. ; oci_connect() and oci_new_connect() connections.
    ( y  r0 L% T: H7 R1 l' Y
  1334. ; http://php.net/oci8.old-oci-close-semantics
    2 ?' [; _" }9 M! Q9 |
  1335. ;oci8.old_oci_close_semantics = Off0 R+ R" r; y& o( o4 T
  1336. + A0 c. {6 ?, ^: S7 W- G/ @$ C
  1337. [PostgreSQL]9 i2 @: w4 X3 O/ u# Q: J( F
  1338. ; Allow or prevent persistent links.9 @* ^9 t3 Z7 q6 B. I9 F2 n. D. b, l
  1339. ; http://php.net/pgsql.allow-persistent0 g) G2 O% s! M" Q6 g
  1340. pgsql.allow_persistent = On
    $ D  S' h$ T( ^9 s2 T6 `9 ~

  1341. . E# [+ e/ j3 ?9 `1 L3 g' ^
  1342. ; Detect broken persistent links always with pg_pconnect().
    3 G5 S2 U" w) `: n" Q' i# E( l
  1343. ; Auto reset feature requires a little overheads.
    " K* _  D; V; [7 W; L
  1344. ; http://php.net/pgsql.auto-reset-persistent' _6 ~  j+ o1 ~% J) c8 B/ v1 K; s
  1345. pgsql.auto_reset_persistent = Off, y; w' L6 ]# F9 S% f
  1346. : x8 a" u. E0 \2 X# T9 \/ q
  1347. ; Maximum number of persistent links.  -1 means no limit.
    3 {5 C3 I( O- c, Q1 y0 R
  1348. ; http://php.net/pgsql.max-persistent3 b2 P& I  [, J" d- h& B
  1349. pgsql.max_persistent = -12 m7 u: n! M/ g. Q1 h
  1350. ) g; R( e7 p$ ]4 A
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.* I; n: d6 ?- H6 t
  1352. ; http://php.net/pgsql.max-links2 t) g( E5 Q: Z( k1 l7 ^3 Y6 B5 |" c
  1353. pgsql.max_links = -1
    # N3 s$ U" v6 ~
  1354. : w( k1 l! Y" o
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ' z; X, X9 x% G0 n
  1356. ; Notice message logging require a little overheads.( y. v9 E: N2 D- ]0 q
  1357. ; http://php.net/pgsql.ignore-notice3 k# L/ p" a7 }" p  f8 a, p, B
  1358. pgsql.ignore_notice = 0
    ( Z6 M- w( v  h6 j8 s

  1359. 4 K9 u5 ^. ~' }7 x3 Q6 I$ v
  1360. ; Log PostgreSQL backends Notice message or not.
    $ d/ b8 J; x* u5 a6 n  |- K3 Y. v3 v
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    * y0 m' {5 z" @5 U2 ^8 V
  1362. ; http://php.net/pgsql.log-notice
    , d' X9 L+ {7 h, y) F/ F
  1363. pgsql.log_notice = 03 i2 s* i/ [" ]7 U3 s

  1364. 3 \: O& E- q, I6 O2 ^1 z" S* n0 Z
  1365. [Sybase-CT]
    5 I/ g# i  \! W( n+ d" f* k
  1366. ; Allow or prevent persistent links.2 P7 j$ C* a) a6 \; b
  1367. ; http://php.net/sybct.allow-persistent& D: b- J4 g! _4 g* s$ T
  1368. sybct.allow_persistent = On
    : K, V1 ^0 {/ }4 v( o; [

  1369. , v" c! y; I2 R' x; X* Y) s: W
  1370. ; Maximum number of persistent links.  -1 means no limit.
    / k. N8 u8 |: d4 b
  1371. ; http://php.net/sybct.max-persistent: c( ~$ V5 L8 C4 \7 v4 q/ |* v
  1372. sybct.max_persistent = -1
    % {9 p$ V. S! x

  1373. 5 {( [  X- k# C# c- r0 P; U$ M$ r
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 J4 \; Q6 Z' c( ^- u$ }7 ~
  1375. ; http://php.net/sybct.max-links
    * ]; Y9 h' Q( B8 G" o6 }9 Q$ ]) h* z
  1376. sybct.max_links = -1. }* r& A! U* d% D. S) p
  1377. ) n- H5 @/ v+ @6 Z0 a8 D2 s7 ~* V
  1378. ; Minimum server message severity to display.
    ' C* ^8 i# ], k* T/ b; {6 D
  1379. ; http://php.net/sybct.min-server-severity
    $ p) S* a: f0 ^- N9 R) B6 `
  1380. sybct.min_server_severity = 10$ A7 B; {: v5 d" c: ?

  1381. . z, j, I* f* y
  1382. ; Minimum client message severity to display.( f, F3 X/ V' j
  1383. ; http://php.net/sybct.min-client-severity
    + i  u. w+ L3 u/ j: p
  1384. sybct.min_client_severity = 10
    - X7 a- c% @+ L1 X
  1385. 0 H7 S3 n; r8 ?9 |0 E4 o. H, z
  1386. ; Set per-context timeout
    , e0 L4 e* d6 f
  1387. ; http://php.net/sybct.timeout) F8 B' k8 T6 t. M$ f6 F
  1388. ;sybct.timeout=
    - H$ s9 Z4 W& M: [' v; ~' |% I
  1389. 4 }- }: I- P' r0 N
  1390. ;sybct.packet_size
    . d& d% n: K: b. g+ @
  1391. - O7 Q) ?3 z! Q. @. q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.8 C( [+ c" X& _! K/ c
  1393. ; Default: one minute0 T4 r  O+ c+ r
  1394. ;sybct.login_timeout=
    ! z0 a5 H; b, Z5 L# @7 o, d

  1395. ) ?% V, }: |0 c& R0 k5 W) U% d& m
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    : G! |" d8 T9 u
  1397. ; Default: none
    8 U/ X6 m; v- N9 R( ^; U' h. ]
  1398. ;sybct.hostname=- f. @/ @" {8 k5 [

  1399. 6 j$ d4 e# k+ c* p
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    7 v+ g. ?8 V5 H. a  Y0 D
  1401. ; Default: 0
    4 t6 b/ ~3 e: I- f  i
  1402. ;sybct.deadlock_retry_count=
    ) i( E0 N  E" `+ k* d

  1403. - |* ]0 X# S/ L6 x
  1404. [bcmath]
    8 J0 E$ `. [, u- R7 N, R3 E' [: n
  1405. ; Number of decimal digits for all bcmath functions.1 L: g: Q8 Y0 w% t9 i) g5 V+ l+ C
  1406. ; http://php.net/bcmath.scale$ E( ?, F7 c3 \8 Z9 ]4 B' r( t
  1407. bcmath.scale = 0
    & f' w: h2 n% z) j7 E+ P
  1408. " [) m* j9 F# U
  1409. [browscap]
    * k) L: ]* X0 B0 C! A) N, w
  1410. ; http://php.net/browscap
    0 w; u" a4 _' {/ x/ s& [, H
  1411. ;browscap = extra/browscap.ini
    8 }& o. s( P8 F0 ~5 m; h6 ]
  1412. ! P: [; V" ~- A( m' w
  1413. [Session]4 J. W( H4 u! C, h
  1414. ; Handler used to store/retrieve data.
    2 z! Z; y! k) t
  1415. ; http://php.net/session.save-handler
    3 M% v2 n7 M3 Y
  1416. session.save_handler = files% A7 z* e; `  `2 y* _

  1417. - e$ |/ s* c  U" F
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ! W( L/ r4 l: r6 N$ J
  1419. ; where data files are stored. Note: Windows users have to change this1 U- B+ @+ k, s( q
  1420. ; variable in order to use PHP's session functions.( I$ c$ u, B" R! Z; F0 z9 z
  1421. ;+ S. @- L7 K! k# t
  1422. ; The path can be defined as:
    - J. Z, C2 x1 V, h- x5 h7 S
  1423. ;2 `6 h3 ~4 S( n8 [$ v0 A/ P
  1424. ;     session.save_path = "N;/path"
    7 n7 t  }* U9 }8 t3 u; @
  1425. ;
    % K) b1 C7 F& T1 c7 K' p$ a  ]
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 d" D1 [4 T  U& o0 U" E# p( Q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and( [' y: F& G/ B
  1428. ; store the session data in those directories.  This is useful if+ C* N" K' a8 Z7 m% U# A; l. m
  1429. ; your OS has problems with many files in one directory, and is
      n' l3 c/ m; w# ]
  1430. ; a more efficient layout for servers that handle many sessions.
    : b0 {, x2 A- _' }* c8 S- `
  1431. ;2 j) Z( }7 Z) B
  1432. ; NOTE 1: PHP will not create this directory structure automatically.3 V  G: v1 h2 l8 ?, h* Y+ I
  1433. ;         You can use the script in the ext/session dir for that purpose.& H# }# s8 q7 C+ b. c$ A
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    $ s# Q$ O1 G( L, n
  1435. ;         use subdirectories for session storage0 u* ~4 }. E4 I: H/ B! [
  1436. ;
      z9 K1 |; V: @: d7 J. ~! ^
  1437. ; The file storage module creates files using mode 600 by default.0 v/ B* V: C) n' X" }
  1438. ; You can change that by using: L4 G' C6 c1 v6 `. E1 l- |! v# L
  1439. ;
    ( @" M1 u0 \' d* T9 P) S% r0 j' R
  1440. ;     session.save_path = "N;MODE;/path") @9 v; F- f0 Y) v
  1441. ;
    : k4 c0 j- a/ W+ I
  1442. ; where MODE is the octal representation of the mode. Note that this
    9 v1 ~+ a7 u8 T* n. W/ m" t
  1443. ; does not overwrite the process's umask.4 j* U2 P! `* f; j1 }9 f$ V
  1444. ; http://php.net/session.save-path
    ( p2 L3 P- W! `1 Y- R  b4 A
  1445. ;session.save_path = "/tmp"2 @3 J6 |+ h' |% k/ ^! e- ]/ W
  1446. , f, P# }8 C: @; }" m5 v" `/ ?
  1447. ; Whether to use strict session mode.
    + T! @- b3 N9 o/ u$ V  b5 \  g
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    , v- r1 U: a7 p: C3 }
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    - ^  e& F3 T9 X& B& a  {1 R
  1450. ; applications from session fixation via session adoption vulnerability. It is
    9 O% A8 K! h  q" O2 c( S! s
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ( n4 d8 F" R# h( m/ t
  1452. ; https://wiki.php.net/rfc/strict_sessions# c! k$ e+ ~( P" p7 B" X
  1453. session.use_strict_mode = 0
    8 @) Q! n. {( r! n$ o

  1454. + n2 N* o7 p% o0 M- u/ K. G; Z; h" [
  1455. ; Whether to use cookies.& W% v* |+ p3 B0 }
  1456. ; http://php.net/session.use-cookies
    8 F8 e. c0 ?5 B, v% U* O/ S5 U
  1457. session.use_cookies = 1+ H6 ]8 y+ u2 @* E

  1458. 3 n/ k  \% m. _
  1459. ; http://php.net/session.cookie-secure
    ; ~6 k  k3 S' n+ k2 }
  1460. ;session.cookie_secure =
    ; J, T- I  g# L- p, t
  1461. % Z- W$ {) x# M2 F
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    / _2 H* K7 R4 y% W2 a* P
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ' q6 z  R9 I1 L. t
  1464. ; session hijacking when not specifying and managing your own session id. It is' D$ R* t/ x8 E
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 }2 L  S% w2 r( J2 ]
  1466. ; http://php.net/session.use-only-cookies- h+ w, @9 g& A
  1467. session.use_only_cookies = 1
    4 ~! c. h' V* w3 `& m$ p

  1468. ' V. V, @1 E% s  Q
  1469. ; Name of the session (used as cookie name).+ |. @. A4 e: w( c
  1470. ; http://php.net/session.name
    1 @* A6 n6 @* d3 E) t$ g% p- }
  1471. session.name = PHPSESSID& F/ V3 |' g3 a: _/ y  {# W' m" J
  1472. 8 v. m& J, j2 J5 h
  1473. ; Initialize session on request startup." V; y  H$ d* f0 i
  1474. ; http://php.net/session.auto-start! A9 t; T! D, W; `# L6 O' f- |
  1475. session.auto_start = 0
    ; ]2 A4 M! Q+ F

  1476.   D# r0 Z: P9 K* f
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: C5 i+ {: \4 B# c9 n
  1478. ; http://php.net/session.cookie-lifetime) a# I$ g* Y/ x
  1479. session.cookie_lifetime = 0
    + Z! i- M, W* {( T) q; M$ y

  1480. 5 ]- W1 ~0 M, j$ m
  1481. ; The path for which the cookie is valid.
    4 e4 m6 I$ g" f+ ]8 z4 F
  1482. ; http://php.net/session.cookie-path) e- B: v6 g3 N) A+ }+ O- T. J
  1483. session.cookie_path = /
    3 [. X4 f1 e7 r
  1484. , X5 {: ?9 d3 g7 ?
  1485. ; The domain for which the cookie is valid.2 t5 b( H' X1 l6 e( p- k
  1486. ; http://php.net/session.cookie-domain% }% t3 d. A+ ^1 F- G+ }
  1487. session.cookie_domain =
    ) g1 S0 B# T( M" V3 ~4 _" ?

  1488. / j! D# T- z1 [1 `; c
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.# y2 N2 ], P- ]9 o( P$ V( }) y& X
  1490. ; http://php.net/session.cookie-httponly+ F( _% z9 \% }0 i2 t+ N9 o' x
  1491. session.cookie_httponly =
    4 R7 ~$ K) P( D2 Z% c+ ]% w; Q1 j4 D0 I
  1492. / y& k( M  i8 k0 q( T2 I
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.5 z! s, p+ e! ^- o8 z: @
  1494. ; http://php.net/session.serialize-handler3 _; N2 D  G8 B$ r6 x7 \9 I
  1495. session.serialize_handler = php! t+ {) r. V; W; u3 h# {  _

  1496. / p: U) w( ?7 x' p. x) i4 w
  1497. ; Defines the probability that the 'garbage collection' process is started# z5 P. }, Q) h1 {& A& V" b9 j# o
  1498. ; on every session initialization. The probability is calculated by using4 H. r! [6 z! R' N, E9 H# w
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator" ?% ~+ x' p" z; @
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 _: c9 A! f7 X4 C. ^+ W% y
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 r: M% M& j3 k# n7 P% E
  1502. ; the gc will run on any give request.
    & }4 Z# f) j9 s
  1503. ; Default Value: 11 o, v; h& X+ t- M
  1504. ; Development Value: 1: N7 L  B5 Y5 j' ]
  1505. ; Production Value: 1
      G. ]6 W2 x9 C9 O! S# p5 K
  1506. ; http://php.net/session.gc-probability7 F: X% K, ^1 N2 i6 n1 h( O
  1507. session.gc_probability = 1
    % r2 a, R7 G$ Z" N- [# U; a
  1508. $ B2 v% z/ v/ C* M2 Y) j: j
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    0 g1 w' N' x& {+ z+ t2 |
  1510. ; session initialization. The probability is calculated by using the following equation:: S4 Y% V0 d" b3 d: `5 c
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    3 e- S- r% `+ q, F& V' k% [8 S
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ( T: n5 E1 t! w" x4 y
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, V( |: W8 T  |# t
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you  A. a, ~# y# B0 C5 q7 q9 u
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 e8 c8 H; \5 E# o3 i/ _! m
  1516. ; this is a more efficient approach." C5 y0 u+ g  A/ S+ v" C$ }
  1517. ; Default Value: 1005 r, k6 y9 p+ X( Y1 t6 M
  1518. ; Development Value: 1000
    , }* `( V% x) Y0 f# |9 j# y
  1519. ; Production Value: 1000
    " \! c& O) B' K5 t- z
  1520. ; http://php.net/session.gc-divisor9 m1 f; \  p& e, \
  1521. session.gc_divisor = 1000
    + L# `( u  p" y+ [0 i; @6 l
  1522. 8 g4 \% N2 I, d; q! q8 ~3 h
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and$ T3 L6 L6 Q; A/ U* |4 X5 L
  1524. ; cleaned up by the garbage collection process.+ \7 [, ]# r( l" g# j
  1525. ; http://php.net/session.gc-maxlifetime4 X4 i  h: _0 K& D1 K
  1526. session.gc_maxlifetime = 1440
    ) x% O# d! O  e- f! D# s9 k% u% E4 H5 Y

  1527.   f* q$ {4 n2 }7 m
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    , y7 o$ d* U; n& E0 Z
  1529. ;       (see session.save_path above), then garbage collection does *not*3 S# R( \3 [" m$ ^8 r
  1530. ;       happen automatically.  You will need to do your own garbage
    2 I" d6 x1 o1 v4 `  R. h( e
  1531. ;       collection through a shell script, cron entry, or some other method.
    0 M4 I+ {( v* f5 g% p
  1532. ;       For example, the following script would is the equivalent of
    8 `, M5 j- `3 y& u
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    " |3 x; a& q$ C: a# N% |
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    - a- w5 r" O, q! ^5 H
  1535. , U/ o, W  c' u+ H. X! [
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 O% Z5 K0 p% s
  1537. ; HTTP_REFERER has to contain this substring for the session to be& t# ]$ Z5 Z& U. {7 ?! C5 l7 o
  1538. ; considered as valid.2 n7 i) |- J9 e) |2 a% ^
  1539. ; http://php.net/session.referer-check
    1 }5 S$ ?2 q( x; O; W4 F) j$ g
  1540. session.referer_check =
    % t+ x! _2 N5 j9 Q" g

  1541. * e, F1 A1 _) w+ y, X6 W
  1542. ; How many bytes to read from the file.* o9 P! a/ e8 O7 ^% ^
  1543. ; http://php.net/session.entropy-length& H- {% ~7 b, T% c5 Y) h8 }
  1544. ;session.entropy_length = 325 l0 A5 m/ o# |8 h* L' R
  1545. 6 m7 r+ @, ^4 A( g' I& h
  1546. ; Specified here to create the session id.
    ) q; t# `) C3 b) |3 c5 L
  1547. ; http://php.net/session.entropy-file) e* n& F+ e" g
  1548. ; Defaults to /dev/urandom
    " t2 Z% L# @) |" X) k) K# R5 h' m
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    # ]6 G, n5 G3 K( c% f
  1550. ; If neither are found at compile time, the default is no entropy file.* l: y9 g# b) l- }4 H* i3 C- r
  1551. ; On windows, setting the entropy_length setting will activate the
    ; ~! q  h+ h: o2 ~
  1552. ; Windows random source (using the CryptoAPI)
    # y' C3 m8 T4 L& @) O& z
  1553. ;session.entropy_file = /dev/urandom2 r# b5 _! |4 Z1 |+ p
  1554. 4 B5 N# M# Y) \" F1 H
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 y7 V) Q+ J: [% u. m& U9 ]" X
  1556. ; or leave this empty to avoid sending anti-caching headers.' d* z3 p3 }& J6 o* D+ H8 g5 Y/ p
  1557. ; http://php.net/session.cache-limiter
    ( D* c( I1 v* m5 Q, O+ u
  1558. session.cache_limiter = nocache. c& ?7 @' i1 s$ v

  1559. . l$ D1 e: x! }8 ?0 L+ ^' X- u
  1560. ; Document expires after n minutes.
    ; s+ ?4 i) i8 a! f
  1561. ; http://php.net/session.cache-expire
    ) I/ O) c/ R# X% B  P, ]* z5 I
  1562. session.cache_expire = 1802 e+ N3 R8 ?& {

  1563. ; x# p$ o2 e# |- B" J
  1564. ; trans sid support is disabled by default.: `0 r' [. J/ d3 V7 s+ G, B' z
  1565. ; Use of trans sid may risk your users' security.8 U) X$ M& q  U; r0 i0 r
  1566. ; Use this option with caution.
    % p5 N4 d$ W- c4 N- U
  1567. ; - User may send URL contains active session ID( a  J: l/ x4 a# P+ f9 }. W+ f
  1568. ;   to other person via. email/irc/etc.
    / w3 @6 ~  @6 ^$ t
  1569. ; - URL that contains active session ID may be stored
    3 A( |9 D8 H  V, a- M
  1570. ;   in publicly accessible computer.
    % b/ ~4 O  w. l) h) d% s8 o; Q
  1571. ; - User may access your site with the same session ID
    ! G9 v- L, ^. b6 V: ]. E
  1572. ;   always using URL stored in browser's history or bookmarks.% A" d, r8 _& A3 f
  1573. ; http://php.net/session.use-trans-sid
    + Z% i8 L$ B( }3 w6 f5 o; A8 B
  1574. session.use_trans_sid = 0) D. H0 B* D, R  N7 t

  1575. 1 v) h/ m+ B+ x4 @
  1576. ; Select a hash function for use in generating session ids.( O6 p& z9 H, n9 k: }
  1577. ; Possible Values
    . \! k! a% W& ~# J7 K2 }
  1578. ;   0  (MD5 128 bits)
    4 i9 C8 D+ N; I
  1579. ;   1  (SHA-1 160 bits)4 ]* v& h: R+ a) w$ X6 d& M
  1580. ; This option may also be set to the name of any hash function supported by' j, B9 s5 \7 Y: i8 b$ |5 D
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()% g' G3 D& H/ {. c7 I5 Y* }; p
  1582. ; function.
    8 z- f$ D4 S! \  \# Y9 U
  1583. ; http://php.net/session.hash-function$ C7 [% e/ p  B% `9 Z$ J6 c
  1584. session.hash_function = 0
    ' ]4 ?, R* v& Q: u$ t! P

  1585. & ?) U) X! u/ n2 C8 W+ }
  1586. ; Define how many bits are stored in each character when converting
    2 F. @9 a; I; o' \# q
  1587. ; the binary hash data to something readable.
    3 N- X% K# }+ k# ]: C& B; ^
  1588. ; Possible values:) x' {! G% r. z; t5 F  J
  1589. ;   4  (4 bits: 0-9, a-f)
    $ ~4 A  w9 X& {, \7 v6 R3 n) g0 o; T
  1590. ;   5  (5 bits: 0-9, a-v)
    - F9 {  f# ^! K- }/ L4 X5 _
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    5 }. ]" D6 |8 Q- S5 f; F
  1592. ; Default Value: 4
    0 \# A4 J, N- x+ x! U
  1593. ; Development Value: 5
    - e$ G8 J! F4 V0 w4 r9 R0 r
  1594. ; Production Value: 5! B6 A7 r+ N# _1 R
  1595. ; http://php.net/session.hash-bits-per-character
    / D" B3 K+ A* N: R+ Y2 ~
  1596. session.hash_bits_per_character = 5
    $ ~! T# L1 X0 o

  1597. 1 k9 k1 ]9 Z7 T( W, s: x, k
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.# q- f- |. R7 z/ U
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    & ]2 S7 i  Q% P1 H- ^0 Q" s8 l
  1600. ; add a hidden <input> field with the info which is otherwise appended
    . V' y: [9 I& h' X4 P# \  p
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.- X7 X- F5 E% {3 L- L* o5 U% [7 U
  1602. ; Note that all valid entries require a "=", even if no value follows.2 |7 ]1 {5 t5 Y3 D
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% B% J. o8 Z7 a
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! w* g1 `* r9 ]# K" v% Z
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 O  D, Q! `1 ~; V
  1606. ; http://php.net/url-rewriter.tags
    3 z5 [/ ^2 c! y8 Y4 n7 e: ^4 d
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"( f3 O% T, h8 U6 L$ z* i# s1 o
  1608. + r6 _5 _/ }, y0 [
  1609. ; Enable upload progress tracking in $_SESSION
    , c% @% C; v, q/ I8 O: l. w9 d
  1610. ; Default Value: On
    % q$ E) K; C" \
  1611. ; Development Value: On: H0 ~0 m  C% X0 A2 n) m7 y
  1612. ; Production Value: On
    # c/ {5 s7 C0 V8 J1 o# a" |! n
  1613. ; http://php.net/session.upload-progress.enabled
    5 E4 E' L  ~$ J: o7 ~$ s; q3 u
  1614. ;session.upload_progress.enabled = On( j, L0 c7 l" n9 A0 O9 ]

  1615. : G: h/ f8 w& h& E
  1616. ; Cleanup the progress information as soon as all POST data has been read( [7 h- @- f' R: U  V
  1617. ; (i.e. upload completed).3 C9 q" S5 j. y" v4 S( M- L* h# m
  1618. ; Default Value: On
    3 _% w; S) u, G5 N+ c
  1619. ; Development Value: On
    5 q4 ?5 h( U6 @; c
  1620. ; Production Value: On3 P+ ~" }1 {8 z' Z1 a7 M3 U, A
  1621. ; http://php.net/session.upload-progress.cleanup7 s0 K; \/ _- m
  1622. ;session.upload_progress.cleanup = On
    8 G7 q2 p. |8 \

  1623. & a* f( T, u9 Y( t' i
  1624. ; A prefix used for the upload progress key in $_SESSION
    4 q7 }% f; f' t( k: c+ V8 c" ^
  1625. ; Default Value: "upload_progress_"  _8 z7 I) s% \$ I% N
  1626. ; Development Value: "upload_progress_"/ {$ o  A3 u% E- F
  1627. ; Production Value: "upload_progress_"% H- \- g4 X0 N: n, q% g0 ?
  1628. ; http://php.net/session.upload-progress.prefix1 I+ H" d* G1 \
  1629. ;session.upload_progress.prefix = "upload_progress_". I' L- C+ r  Z  q+ A; Z( L! B* ]
  1630. # P9 E8 r, A4 u) X% O% Z% z
  1631. ; The index name (concatenated with the prefix) in $_SESSION+ B. `  K/ S/ f* T7 ?
  1632. ; containing the upload progress information
    4 }6 |9 b$ i- _; t9 L! C6 V
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * W/ [+ t& U* M2 e+ C
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( d1 y! e, W0 V5 c' z6 T- W
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"$ Q3 m9 j' `/ X, ?
  1636. ; http://php.net/session.upload-progress.name
    / o% K! _# P7 L2 w, G1 O: f1 U; t1 x
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"/ I3 F0 u! I! |7 Q: i- W/ N
  1638. ( n% ^$ X6 F; ]% @3 f9 w9 }9 `. d
  1639. ; How frequently the upload progress should be updated.
    6 h4 o- e1 i9 r$ k& U7 O
  1640. ; Given either in percentages (per-file), or in bytes
    6 g6 T: @6 h% A, U
  1641. ; Default Value: "1%"* Y4 f% c2 u( [/ c2 z$ s
  1642. ; Development Value: "1%"
    6 p. t% c" Z( [# T" n
  1643. ; Production Value: "1%"
    4 m' V5 e7 x: P% U& Y8 P
  1644. ; http://php.net/session.upload-progress.freq' Z0 _8 ~# e9 f0 m+ k( D
  1645. ;session.upload_progress.freq =  "1%"
    2 G0 J8 V- @1 ?

  1646. / v+ e* i: O  Q- t7 X
  1647. ; The minimum delay between updates, in seconds
    7 _$ L8 ^3 d. ~+ K) |; a
  1648. ; Default Value: 1; N( q% v- Z5 ^1 {" ?
  1649. ; Development Value: 1
    1 |+ o/ ~. Q( |, v
  1650. ; Production Value: 1
    0 i2 i7 ?1 m7 l- G% y  K/ T2 W
  1651. ; http://php.net/session.upload-progress.min-freq5 V* m) t! c: M5 h% B5 Y
  1652. ;session.upload_progress.min_freq = "1"; _$ Z. l' S/ X( c4 \( P

  1653. 5 e# S6 K4 ]/ f  K2 n
  1654. [MSSQL]9 H( g5 z% v1 l# x& t$ y8 ^& ^
  1655. ; Allow or prevent persistent links.+ k9 S: n' R( R
  1656. mssql.allow_persistent = On* J) o# K1 \9 K. m5 }% M' o3 Q

  1657. + |# e" d+ ~) a- w' e1 G4 E( h
  1658. ; Maximum number of persistent links.  -1 means no limit.- e( E6 [) D% N4 q2 Y
  1659. mssql.max_persistent = -12 K4 U6 H- B. Z
  1660. ! ^- X' U" d: L; L: [9 y
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% N, S! u: K, ^- r- ^
  1662. mssql.max_links = -17 J0 a. ]% r( T6 {) B3 R6 X) h( B
  1663. # V  _) H) c5 q
  1664. ; Minimum error severity to display.2 s/ L5 h! ^' H. I- Y  v' I( d1 u
  1665. mssql.min_error_severity = 10% @# |2 f& A) t' g5 G6 y

  1666. 5 p  v7 E. b/ V; W3 d
  1667. ; Minimum message severity to display.5 }; O' p* h5 E3 v# u/ c
  1668. mssql.min_message_severity = 10
    ( q5 W1 l/ C+ `: a6 s5 N
  1669. 7 S( s. w7 a( |3 f* }( i& c8 F
  1670. ; Compatibility mode with old versions of PHP 3.0.
    4 d  U. H, V" Y& m* a
  1671. mssql.compatibility_mode = Off8 F5 J* J7 @4 d. }) Y
  1672. , b1 G7 L$ A0 \, k- A1 _% m, F
  1673. ; Connect timeout( P5 a2 @: V6 G6 E
  1674. ;mssql.connect_timeout = 5
    6 a6 c! @5 Q6 N: l9 R8 H) x9 ^

  1675. 7 g: i8 S8 b* M! [% v& r0 `
  1676. ; Query timeout
    ; h7 ~  x. J: J8 c1 ~& n
  1677. ;mssql.timeout = 600 p# {/ I7 c5 S, @. _1 A6 [
  1678. , d$ h+ H( A* F
  1679. ; Valid range 0 - 2147483647.  Default = 4096.4 O( A$ h- ?) ^. z) e
  1680. ;mssql.textlimit = 4096
      [6 a# L( A) }5 j; Y5 ?( C
  1681. ' G2 }! I) ~9 e5 [2 b& J; C! r
  1682. ; Valid range 0 - 2147483647.  Default = 4096.; h0 U- w3 h( G6 e. O0 e4 P0 ?  i
  1683. ;mssql.textsize = 4096! F6 o, n4 A! w

  1684. 9 k6 l4 j4 c2 M, D6 E: @
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.# v4 Q  b* |+ y5 o" }( `' o% t9 e
  1686. ;mssql.batchsize = 02 o" u3 s7 z- f, d2 ?/ W
  1687. 0 T; `1 B# Y5 T2 t; v2 M% v7 I
  1688. ; Specify how datetime and datetim4 columns are returned
    ' Q& K! Q0 P, L, s
  1689. ; On => Returns data converted to SQL server settings4 j5 g, f7 h9 |) N) ?; s* h5 h( \. q
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    4 ~* c5 Y! g, k+ A! Q; H6 ?/ }5 _
  1691. ;mssql.datetimeconvert = On
    " N7 Y. X( ?& H
  1692. 9 U4 Z( ~9 g1 R: J, Z3 y7 ~9 U
  1693. ; Use NT authentication when connecting to the server2 T! u, s0 y, Y
  1694. mssql.secure_connection = Off
    8 y1 m! P8 \' U5 s) q
  1695. $ v! m0 W' r8 o* G7 j0 Y
  1696. ; Specify max number of processes. -1 = library default  p8 Q2 Q! J; Z8 T/ i8 w
  1697. ; msdlib defaults to 25
    3 }! [( T% d2 k  U& i: Y) l  |8 o3 o- ?
  1698. ; FreeTDS defaults to 40966 N# I! D8 V' z) z% u% T; A! Z
  1699. ;mssql.max_procs = -1
    9 f! H% F; S0 h& Q1 W- K
  1700. . {" Y  a6 H5 k# S- e. T5 ~
  1701. ; Specify client character set.) K& P  C( O8 A& W1 }" q% V
  1702. ; If empty or not set the client charset from freetds.conf is used+ Q1 K8 o, F) F  o! i: u) p
  1703. ; This is only used when compiled with FreeTDS
    7 C9 z0 l+ Y7 Q0 u
  1704. ;mssql.charset = "ISO-8859-1"
    9 m6 K1 R2 c! f. C5 Z
  1705. 9 {! \- d% h6 s
  1706. [Assertion]
    $ G3 o) g& }: ^. q$ k% g0 P6 P
  1707. ; Assert(expr); active by default.
    ! ?; T& B4 n/ p9 R  P- N8 x
  1708. ; http://php.net/assert.active3 {8 ^  h! [9 T- ^* U3 x6 [! `
  1709. ;assert.active = On
    1 o; u' _, T( ]- p/ ]4 K2 }
  1710. 4 ]6 Q$ o9 t, u& k6 J. U2 t+ m
  1711. ; Issue a PHP warning for each failed assertion.1 T/ {1 B& |+ _9 |# f# V" |- j% E" X
  1712. ; http://php.net/assert.warning- x7 T0 f1 s' ]! s
  1713. ;assert.warning = On
    9 U" W! v! L5 C/ F- f( u

  1714. / g8 a& ?" ^( S% L
  1715. ; Don't bail out by default.
    2 w- r, T; g# Q0 {9 M9 M1 T
  1716. ; http://php.net/assert.bail+ L! T1 \! a: L* ?8 e5 s0 Q' b& _
  1717. ;assert.bail = Off+ w0 J, _7 n) D" m9 y; i% F3 `

  1718. $ W: P- M- `& Y# o7 L
  1719. ; User-function to be called if an assertion fails.
    : \) ?2 `  D' S* P
  1720. ; http://php.net/assert.callback& ]' a2 N$ [, L& `3 C# ?) w. [, {
  1721. ;assert.callback = 0
    # B8 }' P( d" A  W

  1722. 8 M5 v* h2 s% m2 F' r
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    9 J6 r+ ]4 ~, P( a, a1 i6 b8 d7 t4 }
  1724. ; error_reporting(0) around the eval().! T  s" x. ~: K: V) x; Z" ^0 J
  1725. ; http://php.net/assert.quiet-eval4 s+ P% b3 B1 K1 r. T; D2 q$ @
  1726. ;assert.quiet_eval = 0+ w# E1 M1 b6 r

  1727. & n; |  ^2 Z- E! E2 R$ s
  1728. [COM]
    1 d4 j, U; [" G0 e  g
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    & ^) o  x: [  R& }% v" I$ V
  1730. ; http://php.net/com.typelib-file
    / V) Y0 w& D  q. A: d, j* |
  1731. ;com.typelib_file =" m- V) F6 f2 A: ?0 A! U" u
  1732. . ]( M9 [' N& \; f  @% Y3 C2 U
  1733. ; allow Distributed-COM calls
    ( W. h8 Q6 y0 ?- ~# U3 ], |
  1734. ; http://php.net/com.allow-dcom
    3 z+ n7 N9 }) J/ X( Q
  1735. ;com.allow_dcom = true
    , o1 U) p3 ]# x) f4 v  b; d

  1736. + ]$ V2 z1 {- o/ h( |" A
  1737. ; autoregister constants of a components typlib on com_load()
    : z& U3 s8 d8 z* p
  1738. ; http://php.net/com.autoregister-typelib
    ; e' ?! o% g8 ?4 E8 o
  1739. ;com.autoregister_typelib = true
    - z& s1 J8 }2 u8 T9 y" p
  1740. 1 V/ O  P/ Y7 P& _0 u: b! S1 q9 _4 }
  1741. ; register constants casesensitive8 n# p0 f9 }' ]6 u
  1742. ; http://php.net/com.autoregister-casesensitive
    5 f6 H* k) `  W9 S$ `# U  o4 A
  1743. ;com.autoregister_casesensitive = false* C# {' s: k& }9 T9 Y# i
  1744. $ A# ?# q+ X$ s" I* i6 W- j& ?
  1745. ; show warnings on duplicate constant registrations2 L; i- i( k3 d: v( e( }
  1746. ; http://php.net/com.autoregister-verbose
    ' k9 I1 N: M. n+ g% U5 j. j" v! r
  1747. ;com.autoregister_verbose = true
    8 Y: z! \1 G- ^! a# T4 Q+ m2 B! i) O

  1748. 3 f0 h, F' H) s9 S0 k2 H" ~
  1749. ; The default character set code-page to use when passing strings to and from COM objects.7 N3 m: k, U! i8 W, s0 _3 ?/ b
  1750. ; Default: system ANSI code page
    1 }" w  `7 @4 ?  |; a  R' ]
  1751. ;com.code_page=1 t# c/ E: ~& p8 `" y

  1752. & f0 e8 \8 B( G4 U. v; V3 d4 `
  1753. [mbstring], X4 |4 A, ^7 O0 j8 N4 D
  1754. ; language for internal character representation.6 ]$ W0 H) Q7 V6 c  U& i; q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    + M" F% w! X! t1 t5 U0 H
  1756. ; http://php.net/mbstring.language: Y( ]' m+ B- I+ W! G& I
  1757. ;mbstring.language = Japanese8 _+ y! L: h* W4 U- y# \# x

  1758. ! G$ \2 s! C- M* Q) d- D
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.' D4 V' U* a5 }( S: s5 e& x: L
  1760. ; internal/script encoding.
    ( G% _, C3 D1 b! u: j+ B: D  b) k
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ' m" g. |6 l: e7 L" D
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 S  n" l$ M3 b" m, Z0 D" B7 B2 E
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & X6 ]; Q. f. H2 \, z& n6 i! O; K1 z# m3 L
  1764. ;mbstring.internal_encoding =
    ( p5 z/ u6 _8 W$ A. f& L
  1765. 0 A, ~, N3 {, A
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) {" Y7 H& ]: j/ Y( h1 m
  1767. ; http input encoding.; N1 X5 p0 v( C, o6 P/ I3 b* w
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.2 c2 a+ h$ \5 x5 T# t) R
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ) Z, {5 u0 }4 A* H; v% c
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 L/ ~0 x  o% {, [+ ~$ i: {
  1771. ; http://php.net/mbstring.http-input
    5 A% c! M' F: I8 }! Z: F* q
  1772. ;mbstring.http_input =
    $ K& z# q0 N9 b! y9 u. o3 D
  1773. 8 w7 P4 `* I- Q! I/ b8 k( y5 h
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; g. H5 a# @* \2 D3 j" |
  1775. ; http output encoding.
    * l( R* U* b5 _! ?, [
  1776. ; mb_output_handler must be registered as output buffer to function.' z* S& e2 [3 s4 d$ ~
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    7 c: v1 x' q6 H
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . J0 u# Q+ {+ I4 v3 @
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    . C! s& v0 {( G4 m: P
  1780. ; otherwise output encoding conversion cannot be performed.0 ]9 T' O+ M! U% O/ p6 `
  1781. ; http://php.net/mbstring.http-output( e0 ?- `( U3 d3 M# i- ^5 X; R8 d# E
  1782. ;mbstring.http_output =
    7 ~1 n. w. O/ f8 B: x+ n; k
  1783. , d. x& o3 }/ m6 \. {
  1784. ; enable automatic encoding translation according to
    & z% F9 o  x* _8 w2 s
  1785. ; mbstring.internal_encoding setting. Input chars are
    ( K, v! Z3 G4 f& A8 W( ~; I$ J/ M
  1786. ; converted to internal encoding by setting this to On.
    ) x; b; V) S/ S' z0 m# q7 h
  1787. ; Note: Do _not_ use automatic encoding translation for6 G0 V5 N* U- |* c' O6 y7 c5 F
  1788. ;       portable libs/applications.7 u6 H; W* b( U
  1789. ; http://php.net/mbstring.encoding-translation5 K+ l  n7 Q# T) c+ o- x
  1790. ;mbstring.encoding_translation = Off
    & [6 L8 c. {, e) q' p5 [

  1791. & e% G6 S2 r$ g( L2 [! F
  1792. ; automatic encoding detection order.
    9 G! w  D" W8 ~; C
  1793. ; "auto" detect order is changed according to mbstring.language8 }7 W/ B0 b- E7 ]. k5 K
  1794. ; http://php.net/mbstring.detect-order
    ' O9 Z9 |% m+ {1 l, ~% I0 ]6 ]
  1795. ;mbstring.detect_order = auto3 a, y7 h4 T9 N9 ]
  1796. 9 |# a( w- ]& O
  1797. ; substitute_character used when character cannot be converted
    ' l' U: [" Q3 w: v" u
  1798. ; one from another
    " u' k/ X* t/ V, i) l/ q
  1799. ; http://php.net/mbstring.substitute-character& b5 W3 i) |7 o0 M
  1800. ;mbstring.substitute_character = none, L: ?0 f: s8 n+ N7 Y
  1801. % s" R  _! Z# H. v
  1802. ; overload(replace) single byte functions by mbstring functions.8 s8 P7 t7 [) ~) w
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , ]1 n/ _8 {3 p9 Q  b
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.3 o" A- H, p, R- S
  1805. ; For example, 7 for overload everything.9 M" i+ `1 e$ `6 Z6 W
  1806. ; 0: No overload
    : N2 q; t+ m) l2 r
  1807. ; 1: Overload mail() function: ^8 A; E, L3 G' M
  1808. ; 2: Overload str*() functions
    5 {& \3 g/ c) N6 \, [4 K) s! c
  1809. ; 4: Overload ereg*() functions5 q$ A5 f  k# L' F
  1810. ; http://php.net/mbstring.func-overload: B+ P' m0 t* A" y# c! r
  1811. ;mbstring.func_overload = 0
    / F8 r0 K9 S. r& X- c

  1812. ; y- p. v5 O) @! S: n
  1813. ; enable strict encoding detection.( K9 s$ ]& m* \3 m
  1814. ; Default: Off
    ' L' x9 `& I: a* b( }- V
  1815. ;mbstring.strict_detection = On
    3 `# E6 o# O" z! j1 V1 U

  1816. 8 b/ W( i4 R9 x5 q: {9 p9 H
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    7 Y/ N$ [. r2 |0 L
  1818. ; is activated.4 O2 a# S- I% t% g2 Z' k- _
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)) k/ p! r" C" j+ Y
  1820. ;mbstring.http_output_conv_mimetype=
    . g5 _5 S& l$ v

  1821. # j. x$ m" f6 E0 J) C  Q" R
  1822. [gd]; B( z3 {# r/ b
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    4 E9 v) C2 ^& i) f& D
  1824. ; a gd image. The warning will then be displayed as notices" s' c. s. R% i7 y
  1825. ; disabled by default
    4 K5 D/ l, S! o3 I) j$ k
  1826. ; http://php.net/gd.jpeg-ignore-warning! o! l0 v( P1 J  C8 F
  1827. ;gd.jpeg_ignore_warning = 03 I: _& d, E- Q; `1 L4 W

  1828. " M" U  A; |( ~; o( U! a$ Z
  1829. [exif]
    : y6 z4 @+ P0 K- e+ Y
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.. E$ M  x* S( w7 M  \6 v3 c
  1831. ; With mbstring support this will automatically be converted into the encoding
    , C) x. a1 d, Y0 B. U1 ?. h4 B
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    $ Y0 W* y- @$ v5 ~- Q' Y& `- b$ s, e
  1833. ; is used. For the decode settings you can distinguish between motorola and: L1 o  S: [+ h" F; W
  1834. ; intel byte order. A decode setting cannot be empty.
    " J6 \1 \# _4 h0 y* ?$ ^/ e
  1835. ; http://php.net/exif.encode-unicode: U  ~8 u/ N( j) d& N* I" p
  1836. ;exif.encode_unicode = ISO-8859-15
    # B' `% b" J: h' H( }  x

  1837. 7 d) g$ P2 E6 |) j6 M
  1838. ; http://php.net/exif.decode-unicode-motorola* B* d8 q* ^: _* r
  1839. ;exif.decode_unicode_motorola = UCS-2BE$ |7 s+ K- }0 I! F

  1840. ( r. E. P; f# Q6 ^9 d2 T
  1841. ; http://php.net/exif.decode-unicode-intel7 }  i" G. ^0 y. H
  1842. ;exif.decode_unicode_intel    = UCS-2LE' |" @) Z$ G4 o

  1843. 3 M% o: F" V  m' H
  1844. ; http://php.net/exif.encode-jis
    ! y# m) Z6 G- z4 J& n- N+ L
  1845. ;exif.encode_jis =
    + e' c7 b2 w& B' I

  1846. 7 d5 Q6 A; [5 w4 `  d3 @7 @/ B$ b
  1847. ; http://php.net/exif.decode-jis-motorola6 c( {2 e3 t9 z6 ~2 G; }. P7 x
  1848. ;exif.decode_jis_motorola = JIS
    * e# k7 W& H8 r6 u9 j

  1849. / v+ O8 f: E! h( m  |' u0 O
  1850. ; http://php.net/exif.decode-jis-intel
    ) `: P, o! Q( v7 c: H7 T
  1851. ;exif.decode_jis_intel    = JIS7 g+ M. U9 @/ }& r

  1852. 0 m9 \8 f+ O2 x6 i) U
  1853. [Tidy]* E* b2 r; l8 ^" s+ d3 O* h
  1854. ; The path to a default tidy configuration file to use when using tidy
    & i8 `+ V! Y6 E; y
  1855. ; http://php.net/tidy.default-config
    # r. Q: N, l/ R) E2 f
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    : P# r& t' J1 N: Y/ B
  1857. * m1 q' b6 g+ X% S
  1858. ; Should tidy clean and repair output automatically?
    1 s+ s6 `4 p2 E) o. ~  n
  1859. ; WARNING: Do not use this option if you are generating non-html content
    " ~3 h+ P* h2 }0 S- u
  1860. ; such as dynamic images
    0 H& c0 T6 o+ n
  1861. ; http://php.net/tidy.clean-output$ m# q9 h2 B+ ?, o+ ^' z
  1862. tidy.clean_output = Off
    0 p9 }8 [6 \1 T# y3 w5 T$ L

  1863. 4 H' o' J' t8 F- R
  1864. [soap]
    9 B; l5 U$ D& `& C, {& _) k
  1865. ; Enables or disables WSDL caching feature.
    , F7 m! c4 O3 L9 G' Y
  1866. ; http://php.net/soap.wsdl-cache-enabled4 [/ S( n. i8 O" i7 d' i
  1867. soap.wsdl_cache_enabled=1, S; y! F) v( N! m$ ^  x) }% ~
  1868. 0 e" X# p& Q. l! P+ x
  1869. ; Sets the directory name where SOAP extension will put cache files.6 E: d/ W, R9 E/ z2 M  v, A
  1870. ; http://php.net/soap.wsdl-cache-dir! `: V. v/ d6 v) A3 j. w
  1871. soap.wsdl_cache_dir="/tmp"% V; T  y9 v' @, K, q3 `

  1872. 9 B3 r( e9 H7 k" M
  1873. ; (time to live) Sets the number of second while cached file will be used: ~0 O  f. v9 z3 f
  1874. ; instead of original one.4 {; m) r4 ^+ y
  1875. ; http://php.net/soap.wsdl-cache-ttl. Q: d9 `  t6 W% ?; m
  1876. soap.wsdl_cache_ttl=86400
    1 J% R7 n3 Y5 T( |9 K

  1877. ' i+ z4 g. X! }! W; S* Y% {
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    , g; j+ O* u; n
  1879. soap.wsdl_cache_limit = 5) w  f  T; X5 V( k
  1880. : Q# j" s) ~/ l* y) R+ x; H
  1881. [sysvshm]  _& y5 k1 e$ f! v0 \
  1882. ; A default size of the shared memory segment
    & u- s. h6 h8 g3 g
  1883. ;sysvshm.init_mem = 10000+ a( y  |, ]2 m1 d- }
  1884. - d8 a/ _  [8 T9 o4 h+ _: B
  1885. [ldap]
    ( {3 r+ A( r7 P6 H5 L3 ~0 F; A$ O/ k
  1886. ; Sets the maximum number of open links or -1 for unlimited.0 t: v+ o+ t  d0 y& y0 o' k5 ^
  1887. ldap.max_links = -1
    ( K3 m3 ^7 k. x/ h
  1888. % z+ k9 p4 B5 U& x3 e2 ]: y6 K
  1889. [mcrypt]" N% ?0 S3 r# Y6 I4 G
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. P* f7 v, z6 [! `7 a; y; A: y

  1891. " z, ?" L; V& s- g/ ~
  1892. ; Directory where to load mcrypt algorithms. v9 I/ C) w, M- s
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 j0 R; X9 w! i; u0 P8 ]4 m
  1894. ;mcrypt.algorithms_dir=
    . {8 X8 y( I: b8 I% Q
  1895.   p4 D; Y* j  v: w
  1896. ; Directory where to load mcrypt modes
    ) C3 e9 [. ?7 t6 b1 u/ K, N2 \
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / e, [8 ^1 P, x9 [' F
  1898. ;mcrypt.modes_dir=
    3 T3 ^4 ]8 X; u; q
  1899. + F6 T0 W; ~" @& e2 N" l
  1900. [dba]6 L4 |/ U$ k7 ]6 @6 @
  1901. ;dba.default_handler=
    . p# H! y# H* ^7 a

  1902. 9 H9 C* u0 A& ]  P
  1903. [opcache]# z0 A. g$ C. D* |$ G& C5 A
  1904. ; Determines if Zend OPCache is enabled
    ; y7 x( A/ P5 X5 @
  1905. ;opcache.enable=0
    ; p, \! ^% `, b- b- t% v2 D
  1906. 3 S& R- _" `, w. s. L
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP& P+ h! M/ J2 o( P- e9 N. `
  1908. ;opcache.enable_cli=0  h$ e0 @; n. n$ l6 h, {2 E- b3 {

  1909. 2 G$ R" q7 ?$ s+ k1 X- g
  1910. ; The OPcache shared memory storage size.: P( R( D6 o/ h" w, i& P: ^
  1911. ;opcache.memory_consumption=64* j, f9 R* p, u) v

  1912. ; H" o* Y5 @- j3 X7 E' F
  1913. ; The amount of memory for interned strings in Mbytes.
    : b2 v, l8 y! O, k& ~' _
  1914. ;opcache.interned_strings_buffer=44 Z2 `2 ?# d! F6 }3 Y' o& r) W% M) O

  1915. 6 c( a' p6 ^& _& N
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.; Y1 H0 n0 c; R  g1 z
  1917. ; Only numbers between 200 and 100000 are allowed.  F8 }. r7 K7 [% L# w
  1918. ;opcache.max_accelerated_files=20003 U5 b2 d. ~& y
  1919. * |4 F$ G; b1 u+ H* A
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 p) \' c; t: p% x# N) ]! I1 x' ^
  1921. ;opcache.max_wasted_percentage=5
    + g6 G& ^2 B& I$ y+ K

  1922. , l8 B0 C6 M& ]5 H% K5 v9 q
  1923. ; When this directive is enabled, the OPcache appends the current working
    . k" U! T: e1 g8 m9 D4 f
  1924. ; directory to the script key, thus eliminating possible collisions between
    " r1 @5 {! N% z
  1925. ; files with the same name (basename). Disabling the directive improves' C5 k4 I1 J, [. O, m
  1926. ; performance, but may break existing applications.
    7 e/ H  n* q# Z$ ]- x* u9 r" w/ O
  1927. ;opcache.use_cwd=18 _+ E4 Z$ _3 p  ~" X
  1928. 5 r6 n% D' o  C8 q0 Q$ m' @0 @' X( M
  1929. ; When disabled, you must reset the OPcache manually or restart the
      Y7 H: b1 B3 G  l( C+ [: t; j
  1930. ; webserver for changes to the filesystem to take effect.
    ) M; ?0 ^3 \5 e; `: Z0 o! p
  1931. ;opcache.validate_timestamps=1
    - e! N8 j% D% l& @
  1932. 3 p! ^0 T2 V/ m+ C
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
      @$ U: }* L( c* ?; g
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    1 @7 B% |1 e. [9 R' O6 q
  1935. ; once per request. "0" means always validate)8 ]8 S3 x; G! c* i+ N: d+ M0 s
  1936. ;opcache.revalidate_freq=22 Z; c$ d  T1 q% k2 O6 U3 ?+ v
  1937. , n0 [% F7 d% w
  1938. ; Enables or disables file search in include_path optimization
      Z0 B% R! H) R+ k
  1939. ;opcache.revalidate_path=0
    $ i8 @( F) ^# g' t3 G, |9 [
  1940. : V, h$ f- {+ Z
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the% q4 U, O; j9 f7 E
  1942. ; size of the optimized code.
    $ z" q5 S/ I$ c6 s4 G( g% g
  1943. ;opcache.save_comments=1  x. u2 y# k7 `& O. e

  1944. $ Y% h- C: M9 p& z' l/ S6 i: R
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    : {; b# [, w' F! C( `3 x0 G4 `
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ) O7 ~0 }8 |" Z
  1947. ; that don't need them anyway.
    . h( g, i( ~1 S$ _8 x
  1948. ;opcache.load_comments=1) |% c4 _7 R' M9 d* k

  1949. 3 w, \3 n. \3 K( t% y$ q, V1 B+ w- g
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code# W5 E0 S) n9 g  ]5 M, `
  1951. ;opcache.fast_shutdown=0
    : p: k& \% K$ o3 X: S
  1952. & ~, ]* p9 w6 E0 D2 l* P% z- r
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    / [. g7 L' C: t' h6 p
  1954. ;opcache.enable_file_override=0
    # Z# }& B/ l# y
  1955. " P; s$ T7 C& s" L+ C( S% }
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 }- f7 m3 y9 o" R6 n$ f2 I
  1957. ; passes
    ; A9 M' W! }3 j; _5 w- l5 C
  1958. ;opcache.optimization_level=0xffffffff
    ! ?, {, o: T% I' N* K

  1959. , E4 _" }5 D  \6 d6 G
  1960. ;opcache.inherited_hack=1/ _# G4 }; X& A! a1 \% }
  1961. ;opcache.dups_fix=0
    . |- \! M* T" y8 W
  1962. ( M) N+ Z9 T: d2 e- m; X
  1963. ; The location of the OPcache blacklist file (wildcards allowed).1 c/ Y3 A# }2 F! p/ E+ ^8 O4 p
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    " ~; Z  g3 f$ o" ?: j
  1965. ; that should not be accelerated. The file format is to add each filename7 Z2 l5 s& |* i1 k' K* J% x# E
  1966. ; to a new line. The filename may be a full path or just a file prefix
    # Q" L1 S7 J+ u) q" j* y
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    1 Z  s4 a$ a* A- N. `0 Z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ' \3 f& r3 z4 o4 f6 a+ [
  1969. ;opcache.blacklist_filename=3 w4 Y3 E/ `; L: ?
  1970. " m5 y, K/ ?1 l; Q; m- g( g: f
  1971. ; Allows exclusion of large files from being cached. By default all files
    ; l, E8 r$ A; u) `- z
  1972. ; are cached.7 c5 e  t( z. ~
  1973. ;opcache.max_file_size=0
    + F$ J- h, W7 U( D& b# b# x. r
  1974. ) U2 H, r' I/ P2 \0 ~6 T/ g: x
  1975. ; Check the cache checksum each N requests.
    / x6 E5 r4 l+ F* u' @. _- P& ~
  1976. ; The default value of "0" means that the checks are disabled.) f  L: {* ]1 j3 o, o" Y, P
  1977. ;opcache.consistency_checks=03 ]& h8 v) ?: T: o" x" Z% ^. y

  1978. : n/ e4 v$ A1 u+ i
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache  `/ H& {/ {4 k5 b
  1980. ; is not being accessed.' h! c/ _- n# |
  1981. ;opcache.force_restart_timeout=1809 U- v0 x, r9 S4 J" o
  1982. 5 I* s4 `" k& t- i
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    " p4 U/ C! i& _  s2 i" E  _* k
  1984. ;opcache.error_log=
    * m" B& g6 N  r4 ^& z! @
  1985.   S- ^" T! Q6 a6 c
  1986. ; All OPcache errors go to the Web server log.
      D. v" P4 h# r1 @: M$ E* |/ g
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    , I% Q7 O4 [0 i; ~5 E: G6 r8 j! p
  1988. ; You can also enable warnings (level 2), info messages (level 3) or' J- v% j1 w/ m+ d* Y
  1989. ; debug messages (level 4).
    8 l4 h0 Y" `" [+ y' n1 H
  1990. ;opcache.log_verbosity_level=1
    5 P- `6 [% I$ Y& h$ s+ Z; N* E6 S

  1991. / [% [5 C5 j) k
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.5 g/ e. l8 t% J: F$ s' c
  1993. ;opcache.preferred_memory_model=
    * a3 I7 j& |0 O/ A% w$ y. W$ g- K
  1994. 1 Y: C( p+ B0 i* }
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ' {( w- b' K5 l
  1996. ; Useful for internal debugging only.% D# D! O* P8 j% y* C! q. x& {
  1997. ;opcache.protect_memory=0
    1 V6 k# J9 o- ?  o& F2 o) w9 b3 q7 |

  1998. % y; ^& u5 F7 {6 e" x; ~/ ~
  1999. ; Validate cached file permissions.* s) l# V  T. @% O" V6 h
  2000. ; opcache.validate_permission=0
    & J! w3 t) {, e  i# c4 Q% H

  2001. / h. T, q$ N1 U( ^7 I  e
  2002. ; Prevent name collisions in chroot'ed environment.
    ( l. E% i5 K/ m- ]# P2 Z; M
  2003. ; opcache.validate_root=0
    + }* T* F- y! f" `8 N  g

  2004. 3 x. n: m. Q/ E) V: N
  2005. [curl]
    ) u, k  H3 O7 G
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 m$ C% t: [6 K5 t8 u
  2007. ; absolute path.
    : c: W5 C) s" e
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* X/ p, a# H/ I! m+ k! X4 U9 Q4 r

  2009. 9 N* P) m& _; z5 I. s' }
  2010. [openssl]
    3 V+ L& T1 v" m5 J# w" v  Q: t& B3 T2 S
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    , N- g7 a( Z: ^' f3 F1 B. \+ N
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    0 y" |. \" ]& U( M
  2013. ; not specify a value for this directive as PHP will attempt to use the% i8 h+ }3 t  q6 H
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    2 \& }1 }) \1 \# C, A- B
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context. Z" V1 A" S% g# j/ f
  2016. ; option.& C' i4 f$ Z8 ^; `" J
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    7 F) z! t; \! H. j* A% |% a6 E

  2018. ) E0 T+ M: @. L3 o" d
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the4 x7 `0 v5 y/ I5 }
  2020. ; directory pointed to by openssl.capath is searched for a suitable' n' w6 J6 I0 l. R. h4 w* ]9 L
  2021. ; certificate. This value must be a correctly hashed certificate directory.3 W5 t$ `# l; x! f- K4 }5 B
  2022. ; Most users should not specify a value for this directive as PHP will
    + h/ [  H3 h) S2 v
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,0 F4 ?. [  O( _% U
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ( p& ]8 |: v% E! |  ~
  2025. ; SSL stream context option.; m  ^& v7 M, r5 ]2 ]
  2026. ;openssl.capath=
    5 e! z: q7 s& }( g! S/ O
  2027. 9 q1 m" ~- `) M, a6 j  ~  P
  2028. ; Local Variables:0 ~; R1 q- [$ [& }
  2029. ; tab-width: 4
    , ^3 ~, C* W9 R( d1 O
  2030. ; End:
    % J+ R" o9 Z( X. w: U0 q9 G+ P

  2031. : r0 e8 j, ^3 J; \9 z
  2032. ;eaccelerator7 o7 L9 i: Q4 L: [7 w/ S2 {5 t/ k2 o

  2033. * \' V0 E' x5 b1 \/ V* _7 _
  2034. ;ionCube! {" q  O. _% f% H$ Q
  2035. " v# H' l, f' M2 j; d
  2036. ;opcache
    * a' @8 K( ?( }
  2037. * h2 i( x8 m, Y- Y& r
  2038. [Zend ZendGuard Loader]
    . A" k! l% O8 B) p
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ; }" E0 P0 a! @6 O
  2040. zend_loader.enable=1
    - f  R  }) ]* X. E9 n
  2041. zend_loader.disable_licensing=0
    2 r1 y! e- e$ G$ i$ {
  2042. zend_loader.obfuscation_level_support=3
    . b8 d& G4 o9 j2 J, P' l6 d
  2043. zend_loader.license_path=9 O% Y) A; ?- Y% o$ R/ t
  2044. & e4 j0 K3 A( C0 x; l4 |
  2045. ;xcache
    0 w/ a! d) d. c
  2046. ' k. B8 W/ s! H3 P) j# f
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692+ i) e1 m' c& L. `  }0 R" r: \

0 W2 z9 k  X) [  J3 y0 v7 Y, W4 n
6 M4 L: }* J, ADiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
# U/ b) G" u9 q% {, v$ O( Q' X
4 ~7 r- I. Q5 [1 Y' f  O6 ADiscuz!程序版本选择:
$ B- V3 q. `! b, m8 [, K- K# P站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,- l) C" F6 L! ?5 M
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
3 C% r' q8 E: f9 H' L/ t8 wDiscuz!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。7 H/ M8 Q  [# f/ T$ u

; @' z. z6 C  O/ s! q+ ]# qDiscuz!插件模板版本选择:
3 L; E) l! x# I- \/ I很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,: h. x. V* k# A8 l8 }) Z
针对这个问题做个统一的普及:9 @1 z: o! g$ J  `7 E9 x& B  J, W
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。) ~; G" G+ a, c) h

# R/ ~1 z9 j' o8 O3 `所以
1 `  w0 j9 K$ s- t9 X适合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的二级域名。
% N# ?2 v  }! n! n& ~" U打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
. G8 S: X* p) I) ]- {0 Y7 l% t) |注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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