分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
6 V* V/ r9 g" D4 b5 s5 M3 N+ w9 o, y  J% v' R
  1. [PHP]
    : m, J) t) A8 {7 a- V

  2. ( y" H/ E# I" u" C+ x1 }& O
  3. ;;;;;;;;;;;;;;;;;;;& u& E3 s* R8 ~6 s2 b. k/ [: u
  4. ; About php.ini   ;! i% i$ u" ^: |1 g3 `  M! T. l/ C
  5. ;;;;;;;;;;;;;;;;;;;
    ( P( r0 w5 E7 a  Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    3 c( c) a- k) p2 n
  7. ; configuring many of the aspects of PHP's behavior.
    & b( T8 s" I) K1 G- _/ G
  8. % f3 @) o. K# t! T& ^
  9. ; PHP attempts to find and load this configuration from a number of locations.
    + f' N1 `7 J5 t' K+ {& k
  10. ; The following is a summary of its search order:2 \  E; n& I7 L. v; O
  11. ; 1. SAPI module specific location.5 v: z+ a/ D$ v* q* g) t
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)2 @$ K: o+ u9 A4 j5 N) F" i* G+ w
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 E+ n- }9 E1 |
  14. ; 4. Current working directory (except CLI)3 d. q5 i, U" d& z6 [* j: A
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP5 h4 D- u- \' t% @( b
  16. ; (otherwise in Windows)
    2 i, h' s& t4 T0 S) W. K( d$ Q1 c/ e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the, H* U9 S+ a# k' _1 i
  18. ; Windows directory (C:\windows or C:\winnt)4 x# I# @4 H6 N9 o( W
  19. ; See the PHP docs for more specific information.
    1 }- e8 E( K( S/ H
  20. ; http://php.net/configuration.file: ^2 _. v' e: R# K( Y

  21. ; p8 b* O0 v# L% x$ f0 |. U/ o0 _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    8 g1 d- i0 V/ C4 p6 [- J* ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).5 `5 Q& \2 e, X" O9 y9 T! {: q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though5 Q! ^* O/ k: ?
  25. ; they might mean something in the future.
    4 k/ u) }; @5 \- Z( G
  26. . r" c7 o/ n, h; I
  27. ; Directives following the section heading [PATH=/www/mysite] only
    % n0 J: f! \8 M% |9 J1 L
  28. ; apply to PHP files in the /www/mysite directory.  Directives, ]- w1 ^% |4 W2 E' B
  29. ; following the section heading [HOST=www.example.com] only apply to
    . g+ ~( b' T9 w0 N: d: ?
  30. ; PHP files served from www.example.com.  Directives set in these" \# `5 Y) R; ?% _, ~) J! _
  31. ; special sections cannot be overridden by user-defined INI files or
    2 a, x( H1 ^$ U3 @( p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 y; i. Q8 h& g! b% V
  33. ; CGI/FastCGI.
    ; j* X- f, l& o% w( c" W# ]  E# {' P
  34. ; http://php.net/ini.sections+ \, z, a: h. Z, }" l4 o

  35. % F: K6 s9 g: P, t9 M* m
  36. ; Directives are specified using the following syntax:$ l! q) ]5 s5 R+ `8 l  Q- h
  37. ; directive = value
    * @7 P' U  C9 `! R5 l, \5 j
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.4 a6 ]% `3 ~4 d
  39. ; Directives are variables used to configure PHP or PHP extensions.1 [' ?0 E6 U  Z: \3 w4 Q2 h  w/ T
  40. ; There is no name validation.  If PHP can't find an expected& C# B1 A! B% R! Y9 t: l4 f) H$ U
  41. ; directive because it is not set or is mistyped, a default value will be used.
    : x+ ?; ~+ |5 a- J8 w$ E& U/ C

  42. ! \. c1 ?5 B/ G$ O
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one( e! _* y& l' O/ o7 o0 q! _' ]
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression  ]1 p: ]  Y6 \
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a) D: `6 ?: m1 ]' J8 k
  46. ; previously set variable or directive (e.g. ${foo})  _+ A! \* O3 P; ~

  47. , \! `$ q, B9 W- W" f" ^; I  m2 d
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    7 v/ S! T: I/ t
  49. ; |  bitwise OR4 H$ Y) B: ?  J# `. R
  50. ; ^  bitwise XOR
    - h3 X  |# c2 T( N4 m- |/ e! O
  51. ; &  bitwise AND7 ^% a$ C, M) x* K1 G0 [+ T
  52. ; ~  bitwise NOT" v  J# S2 B1 m5 i7 t1 w- Q
  53. ; !  boolean NOT
    , R2 Q. a9 H5 Q8 i8 i+ d4 H/ E/ x1 X

  54. + b  U& d; z0 Q" r, z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    2 T: f7 R# G; h3 n- \, E
  56. ; They can be turned off using the values 0, Off, False or No.) {/ p3 k6 x1 L7 j

  57.   E% F% Y1 W$ Y6 q4 b3 G4 C4 R. {
  58. ; An empty string can be denoted by simply not writing anything after the equal! _$ F* T2 J; z3 M4 K- U  q! I
  59. ; sign, or by using the None keyword:
    $ `$ _3 l, E5 O" C6 X
  60. 3 \4 L% b; a+ k+ q6 f+ n) g
  61. ;  foo =         ; sets foo to an empty string
    # F# ^( ~2 i' i
  62. ;  foo = None    ; sets foo to an empty string& h3 O. F2 g# {3 |, B  \) p
  63. ;  foo = "None"  ; sets foo to the string 'None'
    7 ?! Q8 S* Z3 }9 ~5 b

  64. 4 Y8 B7 ~: t4 V1 u& w$ W2 h7 b% |, P. x
  65. ; If you use constants in your value, and these constants belong to a
    7 e5 ]6 V' r" S+ r8 L
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),% ^( ?9 B, j7 j/ U8 y5 o, \
  67. ; you may only use these constants *after* the line that loads the extension.
    / r: [- m# J# w, f& C
  68. ( a! t; b  [* S# Y9 }
  69. ;;;;;;;;;;;;;;;;;;;
    % M2 x4 b! X! \' a
  70. ; About this file ;
    / u2 U6 I# V1 |  n
  71. ;;;;;;;;;;;;;;;;;;;3 E& K( }) l3 c1 ~8 L
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; {9 M, l5 p0 d3 {3 g, ]
  73. ; in production environments and one that is recommended to be used in- S- m: d0 |6 |' j2 o) Z3 }: w$ y
  74. ; development environments.
      N# R, p& O7 c5 n- Q/ ?
  75. 2 ^2 X3 K& ~- C1 `# N% f4 H- s& h
  76. ; php.ini-production contains settings which hold security, performance and
    , D0 K  G* k/ |# d) L9 L6 I
  77. ; best practices at its core. But please be aware, these settings may break
    - B& i$ t6 Z; Z6 H) ^, I; m
  78. ; compatibility with older or less security conscience applications. We: ?) d! |0 S8 \( t( }
  79. ; recommending using the production ini in production and testing environments.
    ; j4 [8 [, m, k" F2 t: k
  80. ; w) f# A3 T. u  r, v
  81. ; php.ini-development is very similar to its production variant, except it is
    4 S) y" l( F! z, H! F
  82. ; much more verbose when it comes to errors. We recommend using the
    1 |( Z. V5 f1 J
  83. ; development version only in development environments, as errors shown to- ^0 |- v4 e, i4 H6 Y
  84. ; application users can inadvertently leak otherwise secure information.
    7 G+ t6 h5 I, I$ z8 T2 {! K; u
  85. - y+ Q6 s! t4 k0 ?7 z+ S5 L. W
  86. ; This is php.ini-production INI file.
    : G$ a% S# `$ W- i3 Z7 g6 X
  87. - y4 v5 A8 ]" W' n8 y
  88. ;;;;;;;;;;;;;;;;;;;& w* a9 A  b9 j; x
  89. ; Quick Reference ;
      K/ v5 l- ]( A* y
  90. ;;;;;;;;;;;;;;;;;;;
    * ^% c' ]1 |. i* O0 v( M- f3 l
  91. ; The following are all the settings which are different in either the production( r( _3 i0 R3 [$ `* C, w
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    4 r+ e1 a$ ^+ X. C- p9 r( k
  93. ; Please see the actual settings later in the document for more details as to why# s( u: k3 W/ T
  94. ; we recommend these changes in PHP's behavior.2 q. w6 I/ S3 k6 i5 J$ V

  95. " A- w7 o0 }# d# {. B+ e1 V
  96. ; display_errors
    3 `" j* K: m! N' [5 L
  97. ;   Default Value: On  I2 X! h8 a& r9 c. L
  98. ;   Development Value: On9 K- Y; J/ e3 u7 j. b
  99. ;   Production Value: Off
    7 M3 m& K" _$ M7 y
  100. 4 }$ J0 Y3 N  z5 W( ~- M5 q* |3 J
  101. ; display_startup_errors
    3 n8 Q. _/ y3 t( U0 h$ t& F
  102. ;   Default Value: Off
    ( s+ [5 K1 b% r# g; i/ F
  103. ;   Development Value: On; ^4 d9 {" x- ]5 R5 O5 q
  104. ;   Production Value: Off6 p6 F8 T5 D, v9 F

  105. $ m# u% L5 P$ U& k9 s4 f
  106. ; error_reporting
    4 c. c& p/ g. G- K7 d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * H7 k* a  M. s( V0 Q+ R
  108. ;   Development Value: E_ALL
    $ ^; v* ?, j; H; V5 N
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! A  F' j+ v$ v" `9 P# `

  110. / E0 o+ x' q: {, g' `6 l
  111. ; html_errors
    9 m& ~+ i& @$ _! k
  112. ;   Default Value: On
    , P5 v4 E5 R# h/ m% _3 A
  113. ;   Development Value: On* c/ ~+ w+ J. }; d2 P
  114. ;   Production value: On
    . V1 n: f# H, `9 b  S- @' F

  115. 3 [) F* p- v( G& k5 j/ I
  116. ; log_errors
    " p7 H6 d2 f  x- {& |  E
  117. ;   Default Value: Off" c* L* @& P  j1 h. J
  118. ;   Development Value: On
    / Y  D) m3 h! v$ D: n
  119. ;   Production Value: On3 u0 r% T. k. m
  120. ! N- k( z  D- U
  121. ; max_input_time
    ( `/ R2 N5 S$ M
  122. ;   Default Value: -1 (Unlimited)7 J$ d8 x" I! n4 X* E3 z/ n
  123. ;   Development Value: 60 (60 seconds)
    * L; x- b9 W9 M* |- N/ G
  124. ;   Production Value: 60 (60 seconds)# P' ~" Z! i9 Z% d6 }
  125. . r3 P) _' c1 m6 Y% G6 l3 O, ]  A
  126. ; output_buffering/ a5 m8 q4 z9 j( ]
  127. ;   Default Value: Off
    9 |  ^# _: m8 Y  f5 }
  128. ;   Development Value: 4096( d, h6 {- ]6 T/ g
  129. ;   Production Value: 4096
    ; o' r: k& E- D1 {: j

  130. 5 Q9 o. S1 g; I: s! D$ M' y
  131. ; register_argc_argv# G* }+ m, f$ d; }
  132. ;   Default Value: On- W1 k7 L  P" h) k. w$ w8 ^  k! U
  133. ;   Development Value: Off/ P% b2 I; B- Z% r) D# }5 s- I: ?
  134. ;   Production Value: Off* q! Q0 n% Q+ I
  135. 3 X3 o1 E' N$ W
  136. ; request_order& y6 W7 n* c9 T5 U
  137. ;   Default Value: None
    . b' @1 I1 e- m1 p
  138. ;   Development Value: "GP"
    8 n0 t+ z- V) c" J7 d& b7 i/ k
  139. ;   Production Value: "GP"
    3 b* s2 P" P4 J; w7 H  p; Q. }0 C

  140. 3 _8 O: i1 I2 F; d' w& B
  141. ; session.gc_divisor) S0 T1 F& \( H$ v/ C
  142. ;   Default Value: 100
    & G! o2 G, Z# v! A7 }
  143. ;   Development Value: 1000
    . n# Y) G+ k$ s( q8 j
  144. ;   Production Value: 10002 ?; N  w! u" o! Q

  145. 1 j- e* E* l  j$ L4 i. _/ R0 H
  146. ; session.hash_bits_per_character
    , X* }" c7 O$ v$ d# a$ y5 ]
  147. ;   Default Value: 4, q* G* t& M  z% k/ _5 ?
  148. ;   Development Value: 52 v/ N! J& d" C! k# |
  149. ;   Production Value: 50 d0 Y6 X: i4 x* a

  150. ! z% N4 z/ k( f) y0 k
  151. ; short_open_tag
    9 V& U: u/ Y  a; D1 O
  152. ;   Default Value: On
    + p4 l  ?. f, A% `& @( Y8 U4 T
  153. ;   Development Value: Off' @- G- Y6 ~! ~8 B0 p! u9 H8 x
  154. ;   Production Value: Off2 R% ^2 q& l: d6 B
  155. ; d4 A0 P" D, V* N% f6 H! T
  156. ; track_errors
    ( ~3 x2 y+ U- l! x7 g0 y8 a: ^
  157. ;   Default Value: Off
    % ^6 p/ k/ x3 N0 `7 ]
  158. ;   Development Value: On4 f0 q4 E: _4 D5 i
  159. ;   Production Value: Off
    , \8 F/ v! z5 K- J* S2 ^  B

  160. . a4 b; x  L% d- s3 O% U
  161. ; url_rewriter.tags
    1 e. s, @' `& T
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ K+ d' ^! e) y& G- _$ }# e0 [( `2 p
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 Q. F* E3 }5 j; |8 \
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      l- Q7 X" j* S& @6 k! I6 H# m
  165. 7 Y0 V9 z9 Y: x6 Q3 t- b! F- F4 C
  166. ; variables_order
    , ^: V( P$ \. T9 f: t2 |
  167. ;   Default Value: "EGPCS"
    8 d% l) ?& e& J; z7 d3 n9 i8 {
  168. ;   Development Value: "GPCS"4 |6 E) B3 ]; A$ o# G. I+ {
  169. ;   Production Value: "GPCS"' i& i1 Y8 v7 d, t, U

  170. 5 o+ U* J$ V6 R& z& }7 N6 a
  171. ;;;;;;;;;;;;;;;;;;;;
    6 p) ^! G6 g- b( t2 v( X. P
  172. ; php.ini Options  ;
    1 o! ?. l3 h9 X6 W
  173. ;;;;;;;;;;;;;;;;;;;;
    : B8 q' _: `/ [( e8 G
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    1 s) {" u: O# x+ D' T
  175. ;user_ini.filename = ".user.ini"7 o- q; `9 Q0 n5 t! K4 \! V" l
  176. & X1 A. [' d0 {- q5 v% n: @
  177. ; To disable this feature set this option to empty value( ]8 z8 R1 A- E% X
  178. ;user_ini.filename =
    2 l$ b" m- O  K/ s) k
  179. # H# R$ ~" z3 U, t6 f5 j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)3 W6 Y3 k+ Q* a$ L$ N1 i+ U* ?
  181. ;user_ini.cache_ttl = 300+ R( ^9 N. p1 g8 d6 j" x) R
  182. 1 c$ N4 w% C) t( e' B- T% k5 z; U) X3 A
  183. ;;;;;;;;;;;;;;;;;;;;9 ], h  [9 L; o+ H& h5 F) H, @9 ~
  184. ; Language Options ;
    ; R/ H% n4 v! G0 _
  185. ;;;;;;;;;;;;;;;;;;;;
    4 j2 M% {) g! t, ?# y' ?
  186. : W+ S" E* d7 n( p2 ]. ~8 U0 O; t
  187. ; Enable the PHP scripting language engine under Apache.0 H. X7 v3 Y/ C0 r/ ^# L  w
  188. ; http://php.net/engine
    ( m  Z- U" T# G; ^0 I7 K' T% Q! Y# \
  189. engine = On
    & a, N( M, e8 `5 N) V9 a; p

  190. ! q% Z% u; ?+ d  B
  191. ; This directive determines whether or not PHP will recognize code between
    * ~2 Z& E/ h) }7 j3 p, H
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    " A  G! d, I1 F
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # @) Y8 l7 d$ A* z/ ?
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 G. a, k8 ~& }( H6 a# `9 L
  195. ; documents, however this remains supported for backward compatibility reasons.
    - j: H; \7 b" F* b( D- o- u3 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be& s/ w, w4 h! p% {( M, R
  197. ; used regardless of this directive.6 x- z. |  U  v9 u
  198. ; Default Value: On
    5 [7 K5 E) f* K! |% u) V" O. D, h
  199. ; Development Value: Off
    / ?9 |. y2 }# v5 v6 C
  200. ; Production Value: Off5 ?  x1 S( U* I7 @! F$ U) B
  201. ; http://php.net/short-open-tag
    5 k3 k8 I: m; u
  202. short_open_tag = On
    7 \! r$ e" u! p0 p
  203. 5 H! m3 @# E* y. y5 A# |! q
  204. ; The number of significant digits displayed in floating point numbers.
    ! ^1 X2 H/ V2 D) w
  205. ; http://php.net/precision
    ) {: m* p/ c; D9 m: ?' l
  206. precision = 142 U% O/ q# h8 Y- \3 _% B9 g
  207. : a( K4 t3 P) f2 U
  208. ; Output buffering is a mechanism for controlling how much output data9 ^: _- t3 \: r
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    + V0 b: B) c$ ^  C/ T
  210. ; data to the client. If your application's output exceeds this setting, PHP" x, L' c: D  b( Y2 i1 u
  211. ; will send that data in chunks of roughly the size you specify.& H9 U# A8 q8 ]3 E7 U. x0 x
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    # C2 z" V: x7 U8 ^. o2 _
  213. ; interesting side-effects depending on your application and web server.
      E1 J! u7 L4 b8 P2 y) K5 x
  214. ; You may be able to send headers and cookies after you've already sent output% L8 h3 Z$ C5 k6 Y% S2 |. t, I8 Q
  215. ; through print or echo. You also may see performance benefits if your server is1 T9 ~" \: e$ x
  216. ; emitting less packets due to buffered output versus PHP streaming the output& q) b! M$ j7 z$ u. Q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 U0 o# h% y3 C5 v7 ^& f
  218. ; reasons.+ l  F2 q# w% f: @, m
  219. ; Note: Output buffering can also be controlled via Output Buffering Control6 U) b% B8 V7 ]
  220. ;   functions.; g+ S/ M0 T+ S# \0 `  ~$ E
  221. ; Possible Values:8 p; {5 ^! J  Q' I$ R1 s
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ y6 ?0 O% p" L5 E- V% G/ k( S, F; q
  223. ;   Off = Disabled1 ?3 D; d% l8 N: r+ V& M
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      K3 R7 U& `$ G9 m; B
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI' P9 G4 \9 J9 H
  226. ; Default Value: Off# U8 q# u$ Y& S: m+ m( t
  227. ; Development Value: 4096
    4 \& X2 C5 Y5 S* `
  228. ; Production Value: 4096; k: r& ?" }) `0 a# E2 O: o2 w
  229. ; http://php.net/output-buffering
      w+ [, Q/ \7 M# x. f" b
  230. output_buffering = 40969 i8 _5 v7 q: b

  231. . R) X7 m% c/ o- a
  232. ; You can redirect all of the output of your scripts to a function.  For. }8 r5 g' x' w/ C8 d& b
  233. ; example, if you set output_handler to "mb_output_handler", character
    2 D! |* H" q# w& A) ?/ V2 f4 }
  234. ; encoding will be transparently converted to the specified encoding.
      @4 G4 u( J3 x; a1 s3 b
  235. ; Setting any output handler automatically turns on output buffering.
    . [: u) t- B* c; n
  236. ; Note: People who wrote portable scripts should not depend on this ini$ T* d+ v* ?; n% n8 n: D8 L
  237. ;   directive. Instead, explicitly set the output handler using ob_start().% g/ X$ o( e+ l' b0 d, f/ _6 e, [: l
  238. ;   Using this ini directive may cause problems unless you know what script( g, A! u4 l8 z! T0 B( ^5 |. _
  239. ;   is doing.# w9 C+ [  P! [! |2 V  [5 ?9 o
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    6 X0 |- R! T" d3 ^: P
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".( b, f4 [1 ?- X" n( v' w3 j# s) }
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 J% ]+ y! F5 B+ ]9 i
  243. ;   Instead you must use zlib.output_handler.
    * {3 G/ t+ P' K9 G+ E# V
  244. ; http://php.net/output-handler
    - j0 e$ d5 [4 I6 P. A7 M7 p
  245. ;output_handler =
    ) t$ M" u" H' u7 U3 X- o

  246. ' A4 i7 @3 q5 J0 t- `/ }/ [1 Q
  247. ; Transparent output compression using the zlib library, V0 z1 Y; y3 T% d+ \
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    9 |* q$ H, d3 ]$ V- C) E
  249. ; to be used for compression (default is 4KB)2 j1 L+ s: U# i$ D: z& M
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ c9 {- f3 z& {  B
  251. ;   outputs chunks that are few hundreds bytes each as a result of4 c  l' j" w7 `/ B
  252. ;   compression. If you prefer a larger chunk size for better
    : K% O$ t7 i& Y$ w2 O
  253. ;   performance, enable output_buffering in addition.0 }: W( B6 i  C
  254. ; Note: You need to use zlib.output_handler instead of the standard1 u5 W9 y: c7 j+ v$ T+ W# X
  255. ;   output_handler, or otherwise the output will be corrupted.
    : X  J( P2 j6 U6 a' l! m; G
  256. ; http://php.net/zlib.output-compression
    + [+ h8 ^* \6 {4 r; g6 V
  257. zlib.output_compression = Off* }; R7 g% @5 u
  258. ( G5 i' k5 r( W0 W8 [
  259. ; http://php.net/zlib.output-compression-level9 N' ?' W) C% J8 O- p' n4 n9 I
  260. ;zlib.output_compression_level = -13 c% o8 U' S! k5 I$ T" G

  261. 0 z1 I# z& R4 |4 U
  262. ; You cannot specify additional output handlers if zlib.output_compression
    % b) ^& b4 m! S/ O, Q. _1 O
  263. ; is activated here. This setting does the same as output_handler but in0 g4 K: `$ o3 J% |
  264. ; a different order.6 p' z7 s' g/ u/ k; t
  265. ; http://php.net/zlib.output-handler
    0 d) s* W& k: {3 |$ G
  266. ;zlib.output_handler =
    ( f& e& x. o7 r+ M! j# M/ P+ Z
  267.   q, R: |0 }' T
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    2 [8 }% d7 {& P+ ~# x% R
  269. ; automatically after every output block.  This is equivalent to calling the& w, n# j% u3 U$ r7 m: g6 I
  270. ; PHP function flush() after each and every call to print() or echo() and each
    0 z9 }" j  T* j" o
  271. ; and every HTML block.  Turning this option on has serious performance
    5 R+ R" |& N1 ~4 p9 R$ P
  272. ; implications and is generally recommended for debugging purposes only.
    % Y4 k; _  `- }
  273. ; http://php.net/implicit-flush  }$ ?+ F3 M. T& |
  274. ; Note: This directive is hardcoded to On for the CLI SAPI4 c5 R+ X0 y" A$ y/ z8 m
  275. implicit_flush = Off; n( w) ]2 V. [- W

  276. 8 G. E& P! J4 N7 d1 D
  277. ; The unserialize callback function will be called (with the undefined class'
    ! a6 v! F( u# h4 o  M
  278. ; name as parameter), if the unserializer finds an undefined class  @' y3 B+ R5 w7 r8 t$ k8 T
  279. ; which should be instantiated. A warning appears if the specified function is* K1 `* r9 e  l' K/ M* \% p
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ! a: O6 l- D% ]
  281. ; So only set this entry, if you really want to implement such a% P1 }0 y4 O9 s5 k* w
  282. ; callback-function.
    $ G+ h8 w4 V9 X1 y8 i
  283. unserialize_callback_func =2 \- I) M( z) T, c2 H7 N
  284. ; w5 X- q. m: C6 `
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) _6 T, `( h* j* K4 J4 K
  286. ; digits after the floating point. The default value ensures that when floats" V1 d2 [. q- g) T
  287. ; are decoded with unserialize, the data will remain the same.
    3 h& I( h: {9 u) x
  288. serialize_precision = 17# Y# C, P5 y* y' b  _% R% e

  289. " O0 f* }6 a4 U( V0 L
  290. ; open_basedir, if set, limits all file operations to the defined directory; E7 n. F3 d" ?6 q( v# w- n- o' a; [
  291. ; and below.  This directive makes most sense if used in a per-directory/ y$ S" g0 e5 G; ?
  292. ; or per-virtualhost web server configuration file.
    0 }9 O& a% E1 x5 M/ n1 H) }! p
  293. ; http://php.net/open-basedir
    5 [; U3 U4 Q/ s  l/ [8 D1 j
  294. ;open_basedir =# |  d6 L* @' {4 M

  295. 3 \  V8 t4 F8 j' v" ^) Q
  296. ; This directive allows you to disable certain functions for security reasons.
    * Q' L1 R4 P* H: {
  297. ; It receives a comma-delimited list of function names.
    . z: j4 d3 L3 M  u
  298. ; http://php.net/disable-functions
    6 s# J5 ~" C$ _6 Q3 i( n  i
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " |. O9 p3 R" u) L" Z
  300. * g( P4 o$ H$ I5 i0 Y
  301. ; This directive allows you to disable certain classes for security reasons.
    5 u& j+ x1 N7 N/ ~
  302. ; It receives a comma-delimited list of class names.9 K4 v, C" p! d$ f  _5 X5 u
  303. ; http://php.net/disable-classes
    & B' T0 T3 k. r
  304. disable_classes =7 H5 M: _" k( p$ G2 s

  305. 5 h) a: j: _/ n5 n$ F/ D' q1 L
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in( B% L6 \2 u4 d* Y
  307. ; <span style="color: ???????"> would work.
    7 E% |- {8 M2 Z1 O8 G
  308. ; http://php.net/syntax-highlighting" c$ F4 J+ @$ \- ~6 w6 @! v
  309. ;highlight.string  = #DD00009 _7 b5 i2 `2 [- n( v) M7 d  T
  310. ;highlight.comment = #FF9900  s3 f0 J4 y6 y8 t, `3 s" I
  311. ;highlight.keyword = #007700$ q! O0 E; o) X2 i0 ?
  312. ;highlight.default = #0000BB
    6 u7 N+ L( R) M& G% t+ i5 k
  313. ;highlight.html    = #000000; O9 J$ ~' s0 N1 Z9 n+ D# s
  314. ' l- P5 N& D$ S0 l8 P- [: I
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ' t  u+ {/ }" R( L
  316. ; the request. Consider enabling it if executing long requests, which may end up
    $ o6 e. n1 {, l6 e
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior  v  i; Z) N3 P' n& L  ?6 I
  318. ; is to disable this feature.
    # b# T) j+ \- C- R! }
  319. ; http://php.net/ignore-user-abort
    # S! h# Y7 }  }! m# k0 e5 n) Q4 j
  320. ;ignore_user_abort = On) Q& w2 f+ y1 ~
  321. + m2 y9 C+ c, Q+ i' Q4 p
  322. ; Determines the size of the realpath cache to be used by PHP. This value should( _$ o0 X+ @" `* n( l3 r, Z
  323. ; be increased on systems where PHP opens many files to reflect the quantity of1 N; V3 K4 ]9 ?$ r/ u
  324. ; the file operations performed.: J6 u; M1 Z3 l1 f4 G
  325. ; http://php.net/realpath-cache-size5 ]& b0 f$ g7 p2 w" J
  326. ;realpath_cache_size = 4096k
    6 q- _. _" L4 c  o
  327. # P: ^: Q. ~+ ^8 d# b* f) s" w
  328. ; Duration of time, in seconds for which to cache realpath information for a given
      g+ b" U2 ^2 G: d4 I* i
  329. ; file or directory. For systems with rarely changing files, consider increasing this  V& \1 d3 U! X2 p* c
  330. ; value.
    + Y0 e0 `2 }" t& E( P$ ~4 [3 @- H9 Z
  331. ; http://php.net/realpath-cache-ttl
    & V/ E9 k" c6 S$ {* x6 _
  332. ;realpath_cache_ttl = 120
    + ~5 m" i5 [! b1 ~1 R! D: S; A

  333. / s& u5 n. p/ V- C& ?& v8 |
  334. ; Enables or disables the circular reference collector.! Y& m% K& @& q8 t! z; P
  335. ; http://php.net/zend.enable-gc
    ) A0 m0 O. G" n( m- g4 D9 h9 t
  336. zend.enable_gc = On
    ) |" Y; B" g4 _; d

  337. ' w; a' a- T3 |6 h% _4 f0 a" w
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    $ e9 p7 T$ u# W9 i" d; _. Z7 W
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such6 V* K! D+ w" W  V1 ]3 b
  340. ; encodings.  To use this feature, mbstring extension must be enabled.. A4 m' n: U4 }. y7 B. B* g
  341. ; Default: Off+ S$ m/ |- G5 ~
  342. ;zend.multibyte = Off# p  c: n% @" w0 t2 L
  343. 3 v7 W& K- W6 k# X7 O  z
  344. ; Allows to set the default encoding for the scripts.  This value will be used! [$ r. H3 w& _% K5 U- J
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 u, t7 C7 d5 E
  346. ; Only affects if zend.multibyte is set.
    ' Y6 e2 {5 n0 k7 }+ t
  347. ; Default: ""  y+ Q$ e# p1 ~0 }$ u* t
  348. ;zend.script_encoding =9 O4 f/ |7 ~$ `: e( Q8 r- W

  349. . x( G% _! V- l; W
  350. ;;;;;;;;;;;;;;;;;
    2 D; M6 L% h" C1 Q5 M, v' c, \
  351. ; Miscellaneous ;! X2 W. x2 C; K1 j
  352. ;;;;;;;;;;;;;;;;;
      C  P5 K; t1 G
  353. 8 Z9 r1 s: p5 H6 }7 o7 {
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! @0 T. Y3 f; f! F
  355. ; (e.g. by adding its signature to the Web server header).  It is no security; j. ]% G7 v" V
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    0 g+ i0 A% x; J, L  z  [
  357. ; on your server or not.
    9 |& k/ {! k  H! G) f$ Q
  358. ; http://php.net/expose-php: _0 u* [* h$ y0 l' V! h. d
  359. expose_php = On
    & I, {, x7 ^$ t3 |% e

  360. 0 T  h8 J; U, Y9 V% }! W. u
  361. ;;;;;;;;;;;;;;;;;;;8 J7 I0 Q3 K3 x% [5 W
  362. ; Resource Limits ;( F) r7 o( B' I% W0 R# Y7 E
  363. ;;;;;;;;;;;;;;;;;;;
    ; Y' G5 Y& O/ y2 Z7 t$ G3 n
  364. 6 Z8 @% a2 r7 U
  365. ; Maximum execution time of each script, in seconds1 F/ r. o6 N8 Y! @' \% b
  366. ; http://php.net/max-execution-time
    6 A1 u9 B8 q! s( A' I+ [
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 ~3 c- y0 s3 B" Z! J6 i9 L
  368. max_execution_time = 300" J; x" x- Z- {7 Y
  369. , L+ w5 ?/ A1 d# P! d+ K) A( J& M
  370. ; Maximum amount of time each script may spend parsing request data. It's a good1 u( p6 W: _4 u* h/ f) o
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / z$ F0 S" E- ?9 R
  372. ; long running scripts.
    ' _- i7 q5 h- b9 X( ?. ?5 `
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 K( e: T5 f2 {; r0 g
  374. ; Default Value: -1 (Unlimited)
    1 J2 F/ c6 n" H3 M6 S; n& l
  375. ; Development Value: 60 (60 seconds)/ }7 v. ^; g( ~  g: e/ G" j; M5 A
  376. ; Production Value: 60 (60 seconds)4 A( h8 _( e1 P1 n( C* @
  377. ; http://php.net/max-input-time9 S! x# I9 }* y3 f. q
  378. max_input_time = 60
    / H' P1 E( _* i- l) i$ V
  379.   O" \% T- y, [  r7 E" I5 ]2 P
  380. ; Maximum input variable nesting level
      K$ r( o4 S! X
  381. ; http://php.net/max-input-nesting-level
    4 J1 c  i% [" Q; n! L* P: K
  382. ;max_input_nesting_level = 64% o' B+ I; S/ R* m7 x

  383. ) I) R9 B$ Z5 G0 n0 ^
  384. ; How many GET/POST/COOKIE input variables may be accepted
    # {8 I  s9 v2 W$ v2 K8 N! D
  385. ; max_input_vars = 10007 j9 e9 Z  Z: y
  386. 8 @3 F: M- I7 }$ K% N1 n& e# O, V
  387. ; Maximum amount of memory a script may consume (128MB)# H6 @# Y7 m: d7 Y4 V) K# E1 T6 e' x
  388. ; http://php.net/memory-limit) j# e6 n4 p2 i: y/ V! a
  389. memory_limit = 128M$ x8 C- J& d& n7 m7 x
  390. 3 s. _- C& {+ ~# A2 u
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) o4 B( T/ n, j. W6 K
  392. ; Error handling and logging ;
    . l) e9 O9 t& ?5 a- P+ T; f
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* n% s; L& F- S* D. q. Q
  394. , D7 T: [* \& u5 r8 R
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    & W( P% f+ c9 `* F, J/ s4 U' Z
  396. ; it to take action for. The recommended way of setting values for this6 b4 x  c3 H( m( @8 f
  397. ; directive is through the use of the error level constants and bitwise
    : d9 n+ T5 e! y5 R5 R
  398. ; operators. The error level constants are below here for convenience as well as
    3 F- y' ~9 h# r4 W  T
  399. ; some common settings and their meanings.
    : k7 u4 g- e- I/ X) R. S
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT- t+ a: S: n( }5 _% R
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    + V- r& i/ A, f* I, W5 v' h+ I" ]& w
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    * t- x/ ]& a. {
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    5 e- ^* u! W6 Y" u; w; o; a$ ^
  404. ; resources complaining about best practices and coding standards. That's what* k3 ?' b; x) D) O4 G5 e! Y. {6 {$ N
  405. ; development servers and development settings are for.
    + l; o* m/ t6 g# G* \
  406. ; Note: The php.ini-development file has this setting as E_ALL. This) L/ q! L' I1 t" g' V
  407. ; means it pretty much reports everything which is exactly what you want during9 z4 {; ~! Q  x8 M8 {
  408. ; development and early testing.
    # L& R) f. Q/ d
  409. ;
      U* Q% h( t; M+ m. K* Z% p9 l
  410. ; Error Level Constants:( j% x$ C$ M% ]! v$ {
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)( O; y* \; P/ U$ ^$ T6 }, {
  412. ; E_ERROR           - fatal run-time errors1 j# p: w0 L4 J
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 p- ]  e; W! p# i& L
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    1 y( X* e+ H3 c: |
  415. ; E_PARSE           - compile-time parse errors& D3 S  z1 d& H' E6 z3 Q
  416. ; E_NOTICE          - run-time notices (these are warnings which often result" h2 h: b% v- m+ a8 C
  417. ;                     from a bug in your code, but it's possible that it was
      A# `7 n- n0 s
  418. ;                     intentional (e.g., using an uninitialized variable and
      H8 \8 t; o% Y" t% p" ^
  419. ;                     relying on the fact it is automatically initialized to an' L; c+ p: E  m- X% a% ]
  420. ;                     empty string)4 A1 z$ X) R/ [. R9 q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  {* X4 s8 ^4 }, p, Y
  422. ;                     to your code which will ensure the best interoperability) e- {/ y" m- N: n
  423. ;                     and forward compatibility of your code
      k- n( d- a. R! X2 I8 Z5 |# l
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 r  _) m: K" h$ Q) B6 `
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. w  E& S# S1 K; T9 h3 M  x
  426. ;                     initial startup" p8 \( Y" ~' p/ ], F
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    4 C; P% [- e8 i6 h% @! H
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 ]0 R- p8 A, Z& b
  429. ; E_USER_ERROR      - user-generated error message! h, o1 F3 \6 x0 N6 h4 H$ X( S% |
  430. ; E_USER_WARNING    - user-generated warning message
    $ D! s) M- F& F/ C9 d
  431. ; E_USER_NOTICE     - user-generated notice message, E; n. b2 g& p
  432. ; E_DEPRECATED      - warn about code that will not work in future versions0 _8 `2 Y3 c7 _9 \. P$ Z% y
  433. ;                     of PHP+ q  d8 P2 M& p$ P# \6 I2 p! x! T- I
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - f: Q2 I$ k* T5 u: N. ~8 |
  435. ;
    ; G, e% l- g9 @# h0 ]3 w
  436. ; Common Values:
    9 J) p+ u. y) F) v8 N+ D
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)' \2 }# I$ ^8 u1 u9 T5 M
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)% B- W: x$ I( G6 G, k
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)$ r" @7 j+ e5 j6 D
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    8 C1 q5 l) c' U# i2 ]7 g5 N
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& y" K5 E- n. F) |) i( m
  442. ; Development Value: E_ALL
    " h0 o' O, Q6 \+ V4 ~
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 }9 c8 u- M! o% ^: P* S: P3 T; _
  444. ; http://php.net/error-reporting2 W& W- K2 B* _: U$ G2 w. b# ]
  445. error_reporting = E_ALL & ~E_NOTICE; r+ r% N% f$ w
  446. 7 [9 J7 y! k% }! W- C6 e
  447. ; This directive controls whether or not and where PHP will output errors,/ y& z! x$ R) Y2 b! K: Z+ p" q
  448. ; notices and warnings too. Error output is very useful during development, but! _, l- ^% V9 C" M
  449. ; it could be very dangerous in production environments. Depending on the code
    3 ^# m, D- c- F" q9 a' q
  450. ; which is triggering the error, sensitive information could potentially leak
    0 \; a( _' y8 W% c
  451. ; out of your application such as database usernames and passwords or worse.
    % ]' }' g' B  s( @. F$ T
  452. ; For production environments, we recommend logging errors rather than
    6 z" R0 r: B1 u7 r+ T7 n0 B  {" G
  453. ; sending them to STDOUT.6 t+ p) n' {( E
  454. ; Possible Values:, ^* ^% V7 d! y; A: ?) B
  455. ;   Off = Do not display any errors
    / o. y. _; s) N- W2 S9 i- n+ @
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
      Y% i2 W3 }" Z' h/ k8 e# M
  457. ;   On or stdout = Display errors to STDOUT
    ! M$ ~6 }& N5 q2 g  N# r
  458. ; Default Value: On
    , o2 e' D8 z, v% J) ^5 r
  459. ; Development Value: On. S4 i( |* u) z, t, R) z3 I. m
  460. ; Production Value: Off
    ) W9 ~0 E" M  h. d' p
  461. ; http://php.net/display-errors* s8 d) ?% P! R$ U8 `
  462. display_errors = On
    # O% u* t. W& i/ p+ w" S
  463. ) t3 E) \- C. L. @1 m+ Y
  464. ; The display of errors which occur during PHP's startup sequence are handled# r; d6 U. a' `' n- O. y' ]
  465. ; separately from display_errors. PHP's default behavior is to suppress those. m  f3 }4 f0 R& D& g
  466. ; errors from clients. Turning the display of startup errors on can be useful in) D( |% A/ n9 b  x! k5 k
  467. ; debugging configuration problems. We strongly recommend you' Y1 O& T  D, ?
  468. ; set this to 'off' for production servers.- X2 |% A( H! H7 P2 p+ G0 q0 l& q" Y
  469. ; Default Value: Off, v" A3 D) c$ w* v8 N/ _
  470. ; Development Value: On8 G3 H2 x' D1 t( a' F0 I
  471. ; Production Value: Off
    5 o0 z! W3 Q0 J+ {* r% F6 C
  472. ; http://php.net/display-startup-errors! ]% O' {7 _# |1 L0 z
  473. display_startup_errors = Off
    1 h* P9 ?( b9 V  V9 Q" |

  474. # v* y5 u! t  C2 y  p$ P7 j2 k' n& }
  475. ; Besides displaying errors, PHP can also log errors to locations such as a% r4 G+ w) N* @
  476. ; server-specific log, STDERR, or a location specified by the error_log8 X; }; C3 b' l2 y# \( l* D+ X4 k9 F
  477. ; directive found below. While errors should not be displayed on productions: E& `9 B4 E) u( }6 Z
  478. ; servers they should still be monitored and logging is a great way to do that.( T8 f9 a- r, K( ?/ j9 ~
  479. ; Default Value: Off
    8 K4 y0 E6 Z- H$ O% I6 @2 y
  480. ; Development Value: On
    ( ^$ `  z! R- k" o+ |
  481. ; Production Value: On) B1 v; `5 v/ |# V3 V
  482. ; http://php.net/log-errors, r, F% e! k9 P* t
  483. log_errors = On4 b( \: B3 n' j0 a9 X7 o) ~
  484. 5 y, }, p7 ^  e% s% ^: m/ H
  485. ; Set maximum length of log_errors. In error_log information about the source is  _- F- u$ {) {; a7 l
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.0 e$ m# p, _, C, j( ]
  487. ; http://php.net/log-errors-max-len1 w) u# T2 ~1 g$ b8 a- M  G
  488. log_errors_max_len = 10245 E, D; g4 R8 t$ f2 Q0 o1 t" d+ S7 V$ b6 \

  489.   c' v3 b& d  W1 a, N
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same/ s6 v3 g  o$ @  I% {
  491. ; line unless ignore_repeated_source is set true.
    . G& `7 X5 @. d
  492. ; http://php.net/ignore-repeated-errors0 x7 c2 L  d5 ^- N* R" H1 V, l
  493. ignore_repeated_errors = Off- a1 Y* |) z/ {- S2 ]! ~

  494. : A! l/ A7 ^% {1 t% M5 g" E
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ) F& l4 S; l: _4 Q5 {" Q  @
  496. ; is On you will not log errors with repeated messages from different files or
    & s* @7 G1 ~; b- F: V0 U
  497. ; source lines.
    $ b4 m* I' }# j2 R
  498. ; http://php.net/ignore-repeated-source
    0 N0 R" v  k, z. o
  499. ignore_repeated_source = Off/ c: |4 ]% |" S& z8 G; f" {4 J( g
  500. " ?2 ~  o5 S7 _) r, V5 y
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on' G( _3 k" B+ p8 ~# z/ o
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ) b  O, e2 L) t# X9 S
  503. ; error reporting includes E_WARNING in the allowed list3 A' z4 l4 ^3 P6 [& |8 `# _
  504. ; http://php.net/report-memleaks5 V) z4 c) T8 `6 m
  505. report_memleaks = On! f1 _5 Z* Q" m& V- k. w
  506. 5 I* D( }0 Y: r
  507. ; This setting is on by default.- ?! |. ^& ?  r, n
  508. ;report_zend_debug = 0; o8 e& g  Y  z; c6 d

  509. $ @5 {# d! x$ P& w! T( W: r
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    1 O  t. u# |, d/ G: m& y. ]7 r
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    # S* x! W  m% K- x( S
  512. ; however be disabled on production servers.8 P) j% E* _5 ^2 {" j
  513. ; Default Value: Off2 a) f8 v! \" K# l2 E
  514. ; Development Value: On3 J* ]. I" z3 @7 F7 |) h, c
  515. ; Production Value: Off# o) D! y  u+ K6 D  V
  516. ; http://php.net/track-errors9 Q6 G# q# f' I; z' U8 y  \. A
  517. track_errors = Off
    4 y' v$ m/ x( v  T% \; H+ @
  518. 4 ~" C- v9 V2 ?
  519. ; Turn off normal error reporting and emit XML-RPC error XML& k2 H- u9 a2 g! P+ q. {- B
  520. ; http://php.net/xmlrpc-errors
    1 `' F$ P! Q' W  l' D
  521. ;xmlrpc_errors = 0
    * L9 y5 t% Q4 V: W3 j  F
  522.   F# T" J  o2 v" w+ A
  523. ; An XML-RPC faultCode
    , s' L6 I' A2 T0 o  h4 Z( u
  524. ;xmlrpc_error_number = 0% x- r% Y* g' p4 P; e2 N
  525. ( m* b; v1 r+ n% ^% y' N
  526. ; When PHP displays or logs an error, it has the capability of formatting the8 [6 s/ |) C# {4 @0 ]3 ?7 }
  527. ; error message as HTML for easier reading. This directive controls whether# R" n0 W0 X5 C  f$ O! Q
  528. ; the error message is formatted as HTML or not.+ d/ M- C  v' x) K# P
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & x- \4 H# y4 e0 g, p4 Q
  530. ; Default Value: On. ~$ X, d' V7 `. @2 Y
  531. ; Development Value: On
    ) E5 I" Y& o! [' J. w" d0 p! K
  532. ; Production value: On* y" k% Q. Q" j2 u! q, n1 m& i! ~
  533. ; http://php.net/html-errors
    - \9 Q; Y9 S- a
  534. html_errors = On
    : t3 [. {. S: [. ?/ S
  535. ' D: A3 K4 Z9 z4 D# |
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP* t( f3 E( p/ G$ _
  537. ; produces clickable error messages that direct to a page describing the error
    * i9 y' `: G. L
  538. ; or function causing the error in detail.
      X' Y" m; F  t8 v4 R
  539. ; You can download a copy of the PHP manual from http://php.net/docs& ]# T/ o& [" _# r
  540. ; and change docref_root to the base URL of your local copy including the
    : f2 N, Y2 D8 i4 J# m- w+ J' O
  541. ; leading '/'. You must also specify the file extension being used including- E/ [$ A. g9 Q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which- ]5 f% V1 K" B- I* g
  543. ; case no links to documentation are generated.
    3 B/ T4 Y& {' {* u
  544. ; Note: Never use this feature for production boxes.
    0 o# t: h* }7 n; P7 [( T
  545. ; http://php.net/docref-root
    2 W0 O. ^6 T' |# N: \" ]
  546. ; Examples
    ) R! [/ V9 H# R1 Z; I+ r
  547. ;docref_root = "/phpmanual/"
    + \8 h- c3 q0 d/ i; I1 m
  548. / g+ y6 V' `+ f/ L" o( H! K6 q
  549. ; http://php.net/docref-ext/ h* x( N& X; F4 F4 Y
  550. ;docref_ext = .html
    6 Q. ^2 S9 w9 s& V, Q+ U+ z& T

  551. : p. l: x8 b% U: V
  552. ; String to output before an error message. PHP's default behavior is to leave
    ( `$ O  @. K+ g) `) a1 G
  553. ; this setting blank.! _. b- Y3 B. A9 c% S+ q5 C
  554. ; http://php.net/error-prepend-string* E& U; A/ Z# i* c2 d9 }
  555. ; Example:
    * O& |0 Q5 y$ s
  556. ;error_prepend_string = "<span style='color: #ff0000'>"; Z; z! w! P7 }+ H. L5 S7 }3 D
  557. # d3 d6 z. P; |+ b! z
  558. ; String to output after an error message. PHP's default behavior is to leave+ r% Y+ V' {# ]  C+ m
  559. ; this setting blank.
    ' _! Y4 u0 S2 B: u* |, d
  560. ; http://php.net/error-append-string/ t6 t- d7 U$ Y  C7 h; l
  561. ; Example:
    3 c% t5 L1 G' z+ x1 K% j
  562. ;error_append_string = "</span>"1 K% n8 X3 h, \; N- J: k- d: ~

  563. ; y+ O+ h3 ]9 G' W! J
  564. ; Log errors to specified file. PHP's default behavior is to leave this value- }' O' j+ x# Z$ c0 s
  565. ; empty.& g2 n( y& A/ U& J% e3 N
  566. ; http://php.net/error-log( P& W) B9 z, X2 J1 w3 U
  567. ; Example:
    : M# i% N" o0 H9 W1 y3 }
  568. ;error_log = php_errors.log
    ) E' N- S) ^/ n- C- z
  569. ; Log errors to syslog (Event Log on Windows).8 \- E0 N7 s0 P, O+ E- W/ G& e0 ]
  570. ;error_log = syslog
    ) A6 _$ k& K8 p6 J, j

  571. * q  u- V+ j  I8 s' C$ k6 }
  572. ;windows.show_crt_warning& Y1 V% P4 a4 @" v; o
  573. ; Default value: 00 \& g; }/ _' ^' M* U% O) J* g# I5 y" O
  574. ; Development value: 0# t5 |: x! ]/ x; ^
  575. ; Production value: 07 E# [6 u+ N# z. X* d
  576. 6 y, F2 N) f, e$ g* x
  577. ;;;;;;;;;;;;;;;;;
    1 n# n. X9 J4 ?. b3 W( P' V" o
  578. ; Data Handling ;: f5 B( T( \$ G4 V
  579. ;;;;;;;;;;;;;;;;;
    # `, ^. M3 N: B8 x
  580. 1 B! V+ U7 P# O* q$ M* x3 R
  581. ; The separator used in PHP generated URLs to separate arguments.; K1 R  x/ W. _3 }) n
  582. ; PHP's default setting is "&".
    4 a3 f+ M+ l$ z; m. I2 V
  583. ; http://php.net/arg-separator.output
    ' W* T; }* i. `! b$ _( y0 n' [( r
  584. ; Example:; O6 J, Q% Q+ v( p0 n: X4 S
  585. ;arg_separator.output = "&"/ b+ F! J) E6 h% @1 |7 v# }0 |4 k9 j; K

  586. 6 S! w. D- j" s* v% d: w$ F
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 O* R; ?6 J- t7 C+ z" F+ b
  588. ; PHP's default setting is "&"./ N: x4 f" M$ F" z9 G! X" {4 K
  589. ; NOTE: Every character in this directive is considered as separator!& D2 l% \, _' \5 _, J2 s; a5 n! }
  590. ; http://php.net/arg-separator.input
    . ?6 f6 D, S% [, O! |
  591. ; Example:
    1 {" m) Y' [+ g$ M8 h- }& L# L
  592. ;arg_separator.input = ";&"5 N7 A  u% [- h& Z
  593. 9 v8 J! t9 L5 [6 J
  594. ; This directive determines which super global arrays are registered when PHP- q- E  d1 @  u* @9 D+ x* @
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! ^% {+ S- c* @1 V" X( h0 G" Y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ' A' r% v: x. i! J4 i# n
  597. ; paid for the registration of these arrays and because ENV is not as commonly& p" ]! i8 |8 ~3 N7 @3 w/ Q
  598. ; used as the others, ENV is not recommended on productions servers. You: O% f# T# Y5 F9 m9 h. m: f# Q
  599. ; can still get access to the environment variables through getenv() should you
    4 [: ~# Z2 Z: _2 a, o+ }4 X
  600. ; need to.
    ' J& A( g& h/ F5 q* u; T
  601. ; Default Value: "EGPCS"
    * h8 s( ?- {) i  W( H4 l
  602. ; Development Value: "GPCS"
    3 p; T6 q" S3 r! v
  603. ; Production Value: "GPCS";) s+ `! Q9 e3 w1 n
  604. ; http://php.net/variables-order
    - B% R/ n. r% W
  605. variables_order = "GPCS"
    % s% B6 I; ~( n6 x$ w

  606. ( a  ]/ D' ~* F9 h
  607. ; This directive determines which super global data (G,P & C) should be
    8 G* ^+ U4 R0 U0 G$ T
  608. ; registered into the super global array REQUEST. If so, it also determines
    # e3 T" j0 t3 ]$ i. g1 {% A0 D5 F
  609. ; the order in which that data is registered. The values for this directive
    . J. d- |3 |/ o- A4 J
  610. ; are specified in the same manner as the variables_order directive,6 f4 {0 `( L( s( ~4 R/ X) S9 {
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    9 V3 C8 V/ H) f
  612. ; in the variables_order directive. It does not mean it will leave the super+ q# M9 i. {/ C) M# g# R
  613. ; globals array REQUEST empty.
    + ^% j; Z3 Z$ d5 N" P+ \% o
  614. ; Default Value: None
    9 }! u( _* |& K5 Q6 T! d5 P
  615. ; Development Value: "GP"
    / D6 o6 h( {* E' A$ D
  616. ; Production Value: "GP"6 j) M; y! M: e1 {. i, @
  617. ; http://php.net/request-order
    ( v# \' m3 Z1 D
  618. request_order = "GP"6 E% g% _0 i: a% t6 W, R4 S
  619. ! g0 Q6 ]+ N) Y3 u& C7 E+ B4 e, W1 V
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    * m9 Y; j$ B  e% h/ W* x
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 f% C6 t) n$ \
  622. ; is invoked. $argc contains an integer representing the number of arguments
    1 [/ F; q9 N/ b& U4 r& t
  623. ; that were passed when the script was invoked. These arrays are extremely5 @2 t5 j6 v8 [; j
  624. ; useful when running scripts from the command line. When this directive is
    0 R1 K2 q6 M! f& X/ G: e: |
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    , y$ V; A* J* ]( j- ^0 U
  626. ; a script is executed. For performance reasons, this feature should be disabled
    / s; L8 z- x. R2 X. Q/ b
  627. ; on production servers.! A  `$ |  x) x/ ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( m1 y7 Q1 a% ^3 k# f
  629. ; Default Value: On
    - i4 o1 ~$ E$ e6 y! K* e
  630. ; Development Value: Off* \" [& U! ?4 ?) D4 T
  631. ; Production Value: Off
    5 O8 J- P1 ]9 u! u
  632. ; http://php.net/register-argc-argv! p1 ^5 h* ~! j
  633. register_argc_argv = Off+ _3 ~. n' H2 @% s9 `) ]* I
  634. 1 o) H. e4 o( B. Z; F8 c( T
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" b7 T' ]$ F' ?/ C7 c: |
  636. ; first used (Just In Time) instead of when the script starts. If these
    ! k, k  p( ^9 g' ]7 J; B
  637. ; variables are not used within a script, having this directive on will result; z+ F# J! L0 w1 ]) V4 V( o1 V0 y. [
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    9 y2 c' f6 o7 b& N. Z
  639. ; for this directive to have any affect.' g3 Y" D' w/ c3 I0 V. P
  640. ; http://php.net/auto-globals-jit- U% V3 u4 N* w' R  ]2 i
  641. auto_globals_jit = On
    0 p4 G2 Q3 \* C4 I
  642. % G0 F$ X, G4 {! r; g7 I* ~
  643. ; Whether PHP will read the POST data.. C0 c% y* c6 }( l& i" |0 u
  644. ; This option is enabled by default.
    7 i$ c; E9 l$ t0 F7 N
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! v; m, F. o# j: V6 k
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ; W- ]  O2 ^6 f5 d) k& P" {
  647. ; POST data will be through the php://input stream wrapper. This can be useful
      V& G: ^5 D: I
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ( M' `3 P3 f+ F8 r1 d
  649. ; http://php.net/enable-post-data-reading  u. E2 |" t8 w
  650. ;enable_post_data_reading = Off
    5 G( E& N- _  V

  651. . F6 t) X+ ~% d  }6 A' h, l. Z  E
  652. ; Maximum size of POST data that PHP will accept.
    # d9 r  B0 R( I% s# ~* h" c
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading2 \0 G* ]2 C7 z+ y* n5 s
  654. ; is disabled through enable_post_data_reading.
    $ C1 t1 L1 E6 S
  655. ; http://php.net/post-max-size
    ' A+ O7 A& S* ?! B9 P: [' u. D
  656. post_max_size = 50M0 s# N0 V. l# U! n9 t
  657. ' f; N9 S5 K! \
  658. ; Automatically add files before PHP document.
    ! i6 \2 M) Y$ S" q0 m
  659. ; http://php.net/auto-prepend-file
    " N4 x4 p9 c  ?! w
  660. auto_prepend_file =: d. Z% M7 [$ o, x/ E# u
  661. % v1 c9 n  t) }6 x; k
  662. ; Automatically add files after PHP document.! ^: s/ o9 V# q2 b5 c! }8 Z8 t5 r
  663. ; http://php.net/auto-append-file
    " I: i& r& {% Z
  664. auto_append_file =4 y3 }' C" s, m% T% U  g; s

  665. 9 ~& ^' A& J6 v! ]
  666. ; By default, PHP will output a media type using the Content-Type header. To
    - r% I, C' k5 ~9 _  P9 B$ ~5 I3 f
  667. ; disable this, simply set it to be empty.0 p+ d$ l3 N, i4 C0 H1 y
  668. ;+ z1 Q( \, B8 F- C. p3 j
  669. ; PHP's built-in default media type is set to text/html.
    2 R$ B( x5 e% `# q
  670. ; http://php.net/default-mimetype6 R; o/ i6 Q# X% L; r4 o2 E
  671. default_mimetype = "text/html"
    & i7 z- @9 U) V: Q+ r/ m  I& r
  672. 5 K6 p1 U$ ?( Z5 a9 Q! l
  673. ; PHP's default character set is set to UTF-8.
    - e+ D# ?) O6 X' [$ x% l
  674. ; http://php.net/default-charset  y( y% U4 p* R( N" y5 c  w
  675. default_charset = "UTF-8"# X3 D+ _" c& \* A$ o( Y% e

  676. / K' p5 @7 o. O6 }
  677. ; PHP internal character encoding is set to empty.
    4 T3 t" C. O* S" J1 s
  678. ; If empty, default_charset is used.
    , I: C: i# {/ M0 {% v. W
  679. ; http://php.net/internal-encoding
    + l+ j* ]+ u/ r
  680. ;internal_encoding =5 o% D5 K. E- X, E2 }
  681. 2 ~" ]$ I6 H) J6 @- g: E0 P
  682. ; PHP input character encoding is set to empty.
    " d: v) Y2 Y" W% S- c
  683. ; If empty, default_charset is used.
    4 ]; ?/ X+ `& ~: T6 V
  684. ; http://php.net/input-encoding0 [* b7 N5 R9 D. q' X
  685. ;input_encoding =- J" d: F" z$ S, H$ Y

  686. ) p" i: `- ~& P
  687. ; PHP output character encoding is set to empty.8 W. ~! F* n! K% S/ L1 V
  688. ; If empty, default_charset is used.
    4 S, C: c. g+ W- i! @
  689. ; See also output_buffer.
    : V# r% a$ V3 D& k% m: u
  690. ; http://php.net/output-encoding
    9 {5 s% {" P' N8 x
  691. ;output_encoding =  J9 a$ E" @; |) F% ^5 a

  692. , W" ^; |5 \  }8 X: w
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 W) E! U% B0 X) l" x
  694. ; Paths and Directories ;
    / l! D6 d( O" L  J3 ~7 j
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;; M* S7 C% y& }  Q

  696. # e$ y% c& U: _; |# Y2 q8 Q) i
  697. ; UNIX: "/path1:/path2". J7 X# D; |* d7 o; \2 n  {: Z
  698. ;include_path = ".:/php/includes"
    / C- g" z: a$ w/ r
  699. ;2 L3 G$ @5 J( D$ y
  700. ; Windows: "\path1;\path2"
    ; B# U0 C) \, o+ ?- C$ d
  701. ;include_path = ".;c:\php\includes"
    0 }1 h5 I) O, T/ V/ [) N
  702. ;' w6 s" Z1 ]) W
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    $ Q+ N  W( A' f& B( F, \+ y$ o2 x
  704. ; http://php.net/include-path
    . O, A9 w! J) d* g0 H, I
  705. 4 v1 V3 F6 F- \9 z$ {+ {- w
  706. ; The root of the PHP pages, used only if nonempty.
    - H% {0 r) f. o% A5 Y4 w( p" {
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ( r, _2 q% m1 H/ n) {4 N4 a" A# i
  708. ; if you are running php as a CGI under any web server (other than IIS)
    $ `5 r$ q( m, u8 j
  709. ; see documentation for security issues.  The alternate is to use the
    ; C& D- ]1 w" D" a
  710. ; cgi.force_redirect configuration below
    ) }2 S1 B& Z; ^/ ~5 R: o* f1 p
  711. ; http://php.net/doc-root1 V3 J& c8 p# S
  712. doc_root =
    + T( [  I+ G8 R0 z/ [6 _
  713. " U7 W6 e& P# ~! c
  714. ; The directory under which PHP opens the script using /~username used only
    5 p# E% \* x2 Y9 E
  715. ; if nonempty.
    ' c* I: {4 k. n/ H1 e
  716. ; http://php.net/user-dir
    & K' B5 H0 a! P, V( Y
  717. user_dir =
    ' s% ^& o4 ]0 ~) q9 Q6 ?

  718. 7 P  [) V2 m: b+ e( @% U0 S
  719. ; Directory in which the loadable extensions (modules) reside.
    5 ?$ H. C6 t' z6 V
  720. ; http://php.net/extension-dir1 `  I: E8 a9 V; g* I; |6 Q8 {, l
  721. ; extension_dir = "./"
    + k; F1 M+ d; c
  722. ; On windows:/ n& l) a- w/ X5 v" ^( ^- {
  723. ; extension_dir = "ext"# u  _- b* c( i7 \2 I7 e. P& S
  724. ' g* K9 ?8 r3 l' B) g/ t
  725. ; Directory where the temporary files should be placed.1 k2 s  J# @7 u9 k& _
  726. ; Defaults to the system default (see sys_get_temp_dir)
    4 }( @6 B) q5 Q1 k; l5 S  W/ {, r
  727. ; sys_temp_dir = "/tmp"
    % g7 s' E! J* S6 m2 a* ~0 Q

  728. 4 j3 v# O0 w1 {5 G
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work) g! d: f6 s& Y( x3 @3 D9 u1 A: o* t
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically1 D7 G/ T9 r! w; R" t
  731. ; disabled on them.
      Z0 F! J4 g; U: x
  732. ; http://php.net/enable-dl7 F% v7 k5 x4 h
  733. enable_dl = Off7 [. {# m* \; i. O6 c  k

  734. + |" n8 R; ^0 D2 D5 C4 x) z$ S# p
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under0 u% \' c0 V1 N+ M- o$ `2 G& K
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    5 R& }. q2 y$ F7 g
  737. ; turn it off here AT YOUR OWN RISK% ~) ~  z2 Z: k4 a. O$ @) e* s
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**& ~  o; g9 U, ?
  739. ; http://php.net/cgi.force-redirect9 _8 m- Q* l8 D( T0 j
  740. ;cgi.force_redirect = 1
    - Q& `# {9 d0 [2 d

  741. " u  `# l% W& _5 ?7 l
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with( L% ~# L' X( P
  743. ; every request. PHP's default behavior is to disable this feature.- [( ]6 Q3 y! q: \9 Y5 g
  744. ;cgi.nph = 1
    4 S8 A- W; J6 O7 I3 p5 \

  745.   @, K( F- l; ]  O& ~) L& {
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    6 [  Z, M+ ~! m- g* j- ~- {
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    % y% p9 k* V7 r
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) e+ y" q1 f8 T  R8 ^$ T" E6 \* J9 f
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    0 }8 d" q) v  |" a
  750. ; http://php.net/cgi.redirect-status-env
      N: G8 y7 K: z3 v) b% A& U" U
  751. ;cgi.redirect_status_env =: Y- D9 l, H/ a6 N8 q. F3 W
  752. 1 j* U; M* [% c- w" ?8 N
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    $ T+ L3 I2 k. m
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok- f+ F* w8 s- j8 Q3 P+ z; V9 V# i
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % w( S6 \0 a4 v4 D8 f
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting. B) U7 R& j& ^: n
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts9 R" C4 Y: r( C# w% N% F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    : |. @- w+ f( @8 x
  759. ; http://php.net/cgi.fix-pathinfo( T1 |, W( ^2 U/ f
  760. cgi.fix_pathinfo=1$ h# f0 t! S& J( p

  761. 0 p  `6 m; G+ ?8 p4 Z2 U
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
      a. ~5 J- I4 l! [- z( L) ^
  763. ; of the web tree and people will not be able to circumvent .htaccess security.- F8 d# B" p) H- b) ~' d
  764. ; http://php.net/cgi.dicard-path
    ; q8 {0 y0 S$ B) Q% u2 J! P" v
  765. ;cgi.discard_path=1
    5 \" L9 d, _/ _. b/ [% j" B0 b$ _+ v

  766. 6 p/ M9 w$ b) U0 i( a
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    * W- {8 r3 L: I' S% T5 r+ O5 \
  768. ; security tokens of the calling client.  This allows IIS to define the
    : z$ {" ~) r2 U$ V* E- U: B
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    6 e4 I3 j$ |) ]2 w: w" A  V: B
  770. ; does not currently support this feature (03/17/2002)
    & W5 ?4 e4 ?/ H  a# |9 q2 V1 N
  771. ; Set to 1 if running under IIS.  Default is zero.
    ) c; s5 a/ n  W
  772. ; http://php.net/fastcgi.impersonate
    % G! v+ w9 F6 X% E! C! [
  773. ;fastcgi.impersonate = 1$ |0 W- K* o3 u7 H1 ]$ k* c
  774. ' H( M5 a  k4 Q4 I0 f
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ( C) ]' w0 h/ n) w: a3 o1 s
  776. ; this feature.& ^6 |5 Z/ B. P% |0 U9 f/ ~
  777. ;fastcgi.logging = 0/ G: ?- G$ q( U) S: h7 A! h/ T

  778. * ?2 U6 _8 j/ p2 k  B2 c
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. X* F3 z; B8 M: A7 f. e
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that0 M& ?+ N, |2 V" @6 T. h
  781. ; is supported by Apache. When this option is set to 1, PHP will send- a( w( t! {0 z! v9 K: B, l% {
  782. ; RFC2616 compliant header.
    4 o0 s6 _( A/ H' [$ g% t" M5 u
  783. ; Default is zero.0 V5 e0 d" r; r7 N5 q! J% N
  784. ; http://php.net/cgi.rfc2616-headers7 K3 f/ O4 t$ `. h% G" C5 k
  785. ;cgi.rfc2616_headers = 0- R  \8 ?0 R, ^- I  h; C

  786. 2 u# o6 c  V5 l3 n
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!. k2 Y/ D* |. S* y. ~
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ( Z; B+ {, @, R2 B% X3 J& X! I( U
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI+ x" {* ]" e4 u/ f# A$ W
  790. ; mode skips this line and ignores its content if this directive is turned on.2 e; U0 D7 _. t( U2 _- R  o: ]
  791. ; http://php.net/cgi.check-shebang-line. g7 R; K  M5 h- g# l  v/ Q
  792. ;cgi.check_shebang_line=14 x/ g3 t: D+ n5 \% K4 n. ?6 `& a

  793. 3 h# z0 R! R# P. s. B
  794. ;;;;;;;;;;;;;;;;' M. P6 ]( i' D4 _) b
  795. ; File Uploads ;
    % a* P& q& l2 q% ]
  796. ;;;;;;;;;;;;;;;;  R2 Z9 W1 Q' M
  797. ) O& p5 k' N+ M( G7 r' t
  798. ; Whether to allow HTTP file uploads.
    " R) v# ]3 C5 W2 u/ e
  799. ; http://php.net/file-uploads* k& D/ }$ f% `, b; K$ x) j" Z: Q
  800. file_uploads = On
    5 [( h4 [# M% c3 _
  801. - Y; O1 n5 J4 u" S, z# u+ H4 I: Z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    " h& d/ C/ `. |* O- J3 }5 D
  803. ; specified).
    % r$ }" w2 b# b
  804. ; http://php.net/upload-tmp-dir
    : |$ k) k/ z9 B# _5 a
  805. ;upload_tmp_dir =+ A( w) p' l$ }9 u
  806. , R9 H+ @2 ]9 A* `5 e
  807. ; Maximum allowed size for uploaded files.2 c7 l- A. F4 U% ?5 R5 B
  808. ; http://php.net/upload-max-filesize) I6 R0 y: X' m* ~
  809. upload_max_filesize = 50M
    5 U; e  o  h6 [, N: Q

  810. & T9 s' W* P  d5 N
  811. ; Maximum number of files that can be uploaded via a single request8 p% ^& h! o. l/ _
  812. max_file_uploads = 20
    . \" N4 G$ q; Q7 y

  813. " W6 Q! V9 D, h) O* T
  814. ;;;;;;;;;;;;;;;;;;
    $ J# e5 L' j9 f# H" q
  815. ; Fopen wrappers ;9 r; q; k) }! |; i7 |" f1 S: c
  816. ;;;;;;;;;;;;;;;;;;
    & I) o: w+ _! z% k) J4 a

  817. * E8 @% }% G4 K: ~
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % z  `  X/ s3 p( g; k' G
  819. ; http://php.net/allow-url-fopen2 S- v6 v" S. W3 `* S' i8 _
  820. allow_url_fopen = On
    ( f# h- n' j+ g' U! d# i. z
  821. 5 U, c6 J5 v5 E  e. |$ q
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    1 Z7 E0 ^! F" c: m# T) s
  823. ; http://php.net/allow-url-include3 `' ]  a7 M+ G" `" N/ ^& r- W4 V
  824. allow_url_include = Off
    - t. \) D+ }2 B) ]
  825.   z1 y2 i" J1 j9 y7 S& A
  826. ; Define the anonymous ftp password (your email address). PHP's default setting2 L2 v2 M9 _3 a. `6 b+ n& N
  827. ; for this is empty.
    ! [7 i# @) H$ @* d9 D8 [* t8 l
  828. ; http://php.net/from' S7 J  ^5 h8 o, S- a+ S, O
  829. ;from="john@doe.com"9 U  L  B, D) d
  830. 1 L* F5 k9 J1 E7 J8 K8 j8 m
  831. ; Define the User-Agent string. PHP's default setting for this is empty.: q* r% Y% Q: B' m$ R; L
  832. ; http://php.net/user-agent' G4 t) ]) f' o7 k
  833. ;user_agent="PHP"
    7 O: t7 h4 w5 p5 P7 X' F8 S* g+ c
  834.   L; ~; b9 N8 r. p5 g% ]
  835. ; Default timeout for socket based streams (seconds)! a5 s/ s% {: T" K; F# B
  836. ; http://php.net/default-socket-timeout
    2 {5 |8 _* [2 S; Q" G5 h
  837. default_socket_timeout = 60  G) m! L% s: B/ {+ Q, `) R% N  W# w3 M

  838. 4 f+ y; l# c( ]4 B" G( e7 A
  839. ; If your scripts have to deal with files from Macintosh systems,
    4 @$ x$ G( V0 |, G& U9 q
  840. ; or you are running on a Mac and need to deal with files from
    ' z1 D) W. [0 v! o
  841. ; unix or win32 systems, setting this flag will cause PHP to9 F8 C# o  N* B7 S
  842. ; automatically detect the EOL character in those files so that
    - d/ z- i' F$ T8 L% A! J
  843. ; fgets() and file() will work regardless of the source of the file.. D1 ?2 B2 {. }7 |7 {
  844. ; http://php.net/auto-detect-line-endings( N8 N+ h; D1 M9 U9 r$ W; Z
  845. ;auto_detect_line_endings = Off+ u: M2 |' v5 d) g9 s

  846. 6 F; s4 U: r( P; I! M
  847. ;;;;;;;;;;;;;;;;;;;;;;9 S7 `+ _+ V' N' a! v  k
  848. ; Dynamic Extensions ;& y3 ^* z  b3 }9 k6 ^* r5 h% v
  849. ;;;;;;;;;;;;;;;;;;;;;;8 M( E. q' J5 o0 i2 J8 ?% ]

  850. 7 E: M9 r/ |! x5 ^6 u
  851. ; If you wish to have an extension loaded automatically, use the following
    8 ~$ D+ d& d3 l
  852. ; syntax:7 |* o6 h$ g" I3 v7 l9 Z
  853. ;+ f# f, F# U3 z+ p7 e1 r
  854. ;   extension=modulename.extension# B  H9 T  i% `9 [/ m9 G( r/ K( J
  855. ;! X; i' b% `0 |% }: e: [) G
  856. ; For example, on Windows:0 m7 J0 [8 K4 L4 q3 i
  857. ;+ h3 u  [, E9 c4 _9 v1 n
  858. ;   extension=msql.dll9 Y8 v: L3 V( d
  859. ;8 A$ U0 R/ D& M! v1 u; f" t) h
  860. ; ... or under UNIX:
    - c8 [3 p; s) _; o4 i5 A# N
  861. ;1 i, ^2 E. S: F9 a
  862. ;   extension=msql.so
    ; u  z, s5 q* o! R8 g. N8 p! _
  863. ;4 N, B0 B$ d5 T+ A' V: j- O! j
  864. ; ... or with a path:
    ! |" C& @/ X1 b' h$ R; D
  865. ;
    ; W/ b. s5 t  n1 |$ t4 z
  866. ;   extension=/path/to/extension/msql.so( M; J1 l7 q" S' B
  867. ;
    . b4 N9 X4 u* M
  868. ; If you only provide the name of the extension, PHP will look for it in its' G3 N% h: D$ }  l2 H' y
  869. ; default extension directory.' y# f) {) }( X2 J# k: W. }
  870. ;
    6 \- R* Q5 _1 |8 Q+ h
  871. ; Windows Extensions
    : Q5 W% d1 e& \3 V6 R& b$ w. w
  872. ; Note that ODBC support is built in, so no dll is needed for it., F, V+ q* M. M2 u
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+); s  A* F5 F0 \) i& Y, g6 i
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    5 t4 |: f+ Q1 V( ?  z# ?
  875. ; Be sure to appropriately set the extension_dir directive.0 l1 J. _) @2 r( M' Q( p/ Z" J6 i: ?% }
  876. ;" Q% u5 K/ i- [; a: D$ \& y% k
  877. ;extension=php_bz2.dll
    - E2 x% h& S* S1 @0 T" n: u3 T
  878. ;extension=php_curl.dll- I" N/ q, P4 ~7 `% W$ Q  d: l& D
  879. ;extension=php_fileinfo.dll
    , t. ]( ~+ F9 C/ s
  880. ;extension=php_ftp.dll* R8 v9 w) j& t4 P
  881. ;extension=php_gd2.dll
    1 ~' z  ^/ s, L2 L
  882. ;extension=php_gettext.dll
    # C1 ^. Y: L7 |: G( j4 m. g
  883. ;extension=php_gmp.dll
    $ a9 i0 h' p+ |# Y$ |0 \
  884. ;extension=php_intl.dll# F' p0 ?1 O; k4 P9 r& ~  ?
  885. ;extension=php_imap.dll* m( p" O+ `: ^$ y. b8 {6 _3 m
  886. ;extension=php_interbase.dll5 S- A- V$ g/ N: C/ o4 b1 P; w
  887. ;extension=php_ldap.dll5 Q) o1 o+ h1 k$ Y$ E
  888. ;extension=php_mbstring.dll
    - x# G& i6 @) v  {$ ~7 p' r
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it0 l; @) i! S. d1 ~
  890. ;extension=php_mysqli.dll- I, o% a4 b  a! c
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 q: ?7 d! @2 f/ }
  892. ;extension=php_openssl.dll
    % [' e8 Y4 |& P7 @7 T! N- I
  893. ;extension=php_pdo_firebird.dll6 K8 U. Q$ A3 Q5 y. i
  894. ;extension=php_pdo_mysql.dll2 Z% ^8 K9 E( Y9 }( E- |) t
  895. ;extension=php_pdo_oci.dll/ b, f) Z# v1 p# g, j
  896. ;extension=php_pdo_odbc.dll2 P) F& w8 m  I  t
  897. ;extension=php_pdo_pgsql.dll/ M2 e! Z8 n, l4 A1 T' }
  898. ;extension=php_pdo_sqlite.dll" _7 ?9 X. }! o2 @" o
  899. ;extension=php_pgsql.dll5 r+ V5 `: D0 r7 X0 V5 `. o! _
  900. ;extension=php_shmop.dll
    ; l0 U) k) s/ h. r4 _' I9 ^/ U

  901. 3 \% h/ L+ y4 R4 U' ]: ~1 Z
  902. ; The MIBS data available in the PHP distribution must be installed.
    5 B8 t: @3 s& [8 u& h
  903. ; See http://www.php.net/manual/en/snmp.installation.php# o& L4 z- \" q6 P
  904. ;extension=php_snmp.dll
    : Z4 {9 C& z6 ~5 m4 a3 L
  905. - T+ p. \% d' A: E2 i; \+ r
  906. ;extension=php_soap.dll( N2 X/ r& Z4 t4 Q( A) o7 d+ |4 L
  907. ;extension=php_sockets.dll
    9 V& N0 e5 k6 k* }4 d, T% x
  908. ;extension=php_sqlite3.dll
    ) n( n" u4 y2 I+ H7 Z; V3 H4 @
  909. ;extension=php_tidy.dll- h& W1 t0 y. R: K9 ^3 R5 o- G
  910. ;extension=php_xmlrpc.dll5 U4 M1 `6 `* y* Y; B9 E$ _$ S
  911. ;extension=php_xsl.dll
    $ ?& a6 v/ M7 z( R$ C1 h$ B: d

  912. ; _. S+ H% F- A2 e3 H* t& A
  913. ;;;;;;;;;;;;;;;;;;;
    ; @1 _/ [- m. O2 T/ g; i6 ?" Q2 W0 R
  914. ; Module Settings ;
    ! b* [3 F7 K) e. F9 ~4 T
  915. ;;;;;;;;;;;;;;;;;;;
    . X% Q! Q3 \$ F" \

  916. 1 {/ @! Z/ p2 L+ A3 y+ N) I
  917. [CLI Server]
    7 ^, a$ q$ l# Z6 ~
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.) C" _0 S0 d% X6 p% \1 ]
  919. cli_server.color = On
    " Z: Y$ A$ e  P# L

  920. & ?1 k7 E9 x) C, z/ i0 R
  921. [Date]
    ! P8 L$ F# L! T8 ^4 ~
  922. ; Defines the default timezone used by the date functions
    * J* ?: L9 K# R" o; J
  923. ; http://php.net/date.timezone
    6 _  Y; l* [. _$ g* U7 q7 \
  924. date.timezone = PRC
    # Y3 i5 ]" Z1 B; ]: L' K

  925. ! k! Z7 @5 P2 V- ?3 t1 j; ~
  926. ; http://php.net/date.default-latitude
    1 d( v* d$ _; u( H: K. F
  927. ;date.default_latitude = 31.76677 ~' |8 j' u/ t: [! L: D% c6 H" p; n
  928. % ^# @8 x7 J; r. p5 p" w" B
  929. ; http://php.net/date.default-longitude
    / T! D! `" E2 x' L8 N9 N0 x
  930. ;date.default_longitude = 35.23332 V8 {$ a! i8 Q' D/ V) G! ]

  931. ! O, [+ [/ a3 g, E" M3 M! F
  932. ; http://php.net/date.sunrise-zenith
    ; e" p( h2 H' g" y& g
  933. ;date.sunrise_zenith = 90.583333
    6 r/ M2 }* V" N' j

  934. & J- C- z4 l) K* _6 j, t3 `
  935. ; http://php.net/date.sunset-zenith
    # g  c$ b8 N$ [
  936. ;date.sunset_zenith = 90.583333! L% B# H0 ?1 @: e* F

  937. " J* E7 R- |6 Z- u/ K+ u* ]6 }
  938. [filter]$ e7 J# }( N2 z8 e: ?& f
  939. ; http://php.net/filter.default
    4 N* ]9 |8 G) O+ h  C! N
  940. ;filter.default = unsafe_raw! n8 r+ ^4 Z% Z$ Y* e& K2 ?; ]8 x
  941. + M9 w8 Y2 L) }4 {
  942. ; http://php.net/filter.default-flags, r% u1 m, P4 M+ Q  w+ w# y- j) y
  943. ;filter.default_flags =
    0 x: d! W) P2 c: T) k' x& d6 H- v+ P- ?
  944. 4 k& d3 v7 N, U8 J* M. I7 g
  945. [iconv]
    7 e8 }, f7 \+ B3 i8 G7 Y/ v# e
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " x# [; \% `0 e# a
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ u4 s* P6 c: ~4 |0 c3 W
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    , Y' |* j3 W0 e3 b' v
  949. ;iconv.input_encoding =" x3 a. U! f1 C1 C& v. b
  950. 6 o% ]1 n; d% ]5 s! D- M
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.  H" z* L! P# W. [( q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 v  z' `) [  L" h6 @/ k
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding4 s/ X0 f) ^1 [# ^3 r
  954. ;iconv.internal_encoding =
    / h; A9 c# h# k) N+ [. w

  955. % C9 I7 @- g! X/ g
  956. ; Use of this INI entry is deprecated, use global output_encoding instead./ a4 a: R* _/ `
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.  v; \# B# m. q% p2 c
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    $ @; k$ j4 D5 n1 T2 J! u
  959. ; To use an output encoding conversion, iconv's output handler must be set
      c! q* k5 K: a$ v9 B
  960. ; otherwise output encoding conversion cannot be performed.
    - P2 T) u, {" K4 G6 l
  961. ;iconv.output_encoding =8 }5 Y- B' c; D
  962. # j4 q$ b8 o* I" e
  963. [intl]/ O. `$ g; @1 ?. J- p3 i" [" b* |! j
  964. ;intl.default_locale =
    ) m0 [4 I0 m0 M% j. R3 Z4 \% ^
  965. ; This directive allows you to produce PHP errors when some error4 @1 k/ T$ s# P  w7 Z0 `# T$ R  Q( U
  966. ; happens within intl functions. The value is the level of the error produced.. g! Q+ ?3 K# _7 l
  967. ; Default is 0, which does not produce any errors.
    3 ?6 I9 ]! A: Q
  968. ;intl.error_level = E_WARNING& e7 b5 i1 }, J/ Z5 n7 w
  969. ;intl.use_exceptions = 0! D1 m  z& B% A$ Y2 P, w1 |
  970. . ?. {1 `: e" ]+ ^+ U7 ~
  971. [sqlite3]
    4 G$ D( W  Z& j8 P! j7 f
  972. ;sqlite3.extension_dir =
    ( V% _8 N% b7 O" r  l, c6 Y# B

  973. ' K' X  g* u. H( J6 G
  974. [Pcre]
    - L; y  d7 o6 f, ?
  975. ;PCRE library backtracking limit.( o4 ^% N% v9 I
  976. ; http://php.net/pcre.backtrack-limit
    - A& K9 i" I) t5 u. }
  977. ;pcre.backtrack_limit=100000
    2 Z8 m$ H$ Z4 n2 t3 L5 T5 T
  978. ' l( [1 |# ]" G  k- Z
  979. ;PCRE library recursion limit./ l- J9 J* e/ M! C
  980. ;Please note that if you set this value to a high number you may consume all; [5 y- S; |" y: q
  981. ;the available process stack and eventually crash PHP (due to reaching the% f6 G. J. k+ ~
  982. ;stack size limit imposed by the Operating System).1 q7 a- [& i4 x7 H# _$ T( f
  983. ; http://php.net/pcre.recursion-limit* o! A  V) s) Q
  984. ;pcre.recursion_limit=100000" i% S! [0 F- x

  985. 7 ^4 j0 k7 O8 z; Z
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    $ d' p) j+ \1 n& \$ P$ v" J
  987. ;library to be compiled with JIT support.# m; B" E8 ~) |1 W9 a; T" M
  988. ;pcre.jit=1/ h0 E3 F/ \  ]/ i2 ^

  989. 5 b. |' K$ F: \. }) J9 L0 f8 W
  990. [Pdo]' m6 ?0 f  Y' y: @
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off", o9 L) T! b' h2 K' C4 N7 @7 _
  992. ; http://php.net/pdo-odbc.connection-pooling4 j) e, p8 \  a
  993. ;pdo_odbc.connection_pooling=strict
    . v! \) B9 b- j6 D% u! g

  994. 9 v$ R3 t- g) Q! y2 {9 I
  995. ;pdo_odbc.db2_instance_name
    & W6 ]* v/ N- a
  996.   i+ X% y- }9 R4 m. [! v: E& Y% Q
  997. [Pdo_mysql]
    # D5 g. A8 n1 l* F. n. z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / D( W" X5 g5 T- W3 p
  999. ; http://php.net/pdo_mysql.cache_size
    6 ]5 E% P1 l9 ^
  1000. pdo_mysql.cache_size = 2000
    / m( N+ u6 G, G/ Q, m& _
  1001. " N0 y  M( Z2 c5 b9 ~$ ]8 F
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( g$ |6 G) o  e; d- k% U
  1003. ; MySQL defaults.
    ' [. S# j( l6 m* q, R. G9 C
  1004. ; http://php.net/pdo_mysql.default-socket- [8 i5 u4 T8 [$ k* J& B: L4 {8 {
  1005. pdo_mysql.default_socket=
    ) ^' C( H$ m9 ?( z7 b* V7 V6 _
  1006. 7 W6 a, o9 @9 D0 T- Y' r
  1007. [Phar]$ R; ^7 g  K6 E
  1008. ; http://php.net/phar.readonly# l; n3 y+ g& S& \4 m0 ]4 c
  1009. ;phar.readonly = On
    2 C/ n& L+ H7 f: s1 E1 J
  1010. ) V8 i* [1 x9 [- V; H  |
  1011. ; http://php.net/phar.require-hash3 [* v, L+ V  q9 b2 m/ t: M
  1012. ;phar.require_hash = On3 v# \2 t- E0 y) @. q

  1013. - j+ y$ w' }: F1 x( F& E
  1014. ;phar.cache_list =! Z) R: D, B; v4 k) O7 n
  1015. 7 G$ e8 [, G4 A) a& Q" v/ r" h
  1016. [mail function]
    ! Y- L& s; l6 j0 O1 G5 y
  1017. ; For Win32 only.0 R$ V, Z# q2 {3 p
  1018. ; http://php.net/smtp6 z$ v+ i) S1 e3 H/ k) f  u
  1019. SMTP = localhost
    4 K' h; H( Y. r
  1020. ; http://php.net/smtp-port
    % L* s  p$ O  c" K/ j
  1021. smtp_port = 25/ T; }' Y& a6 {6 _
  1022. 3 B2 W7 S1 e) r$ z& H
  1023. ; For Win32 only.
    . ~, X" o# u' |% S1 ^, x
  1024. ; http://php.net/sendmail-from# b7 C; t$ z$ \1 P: T4 p2 P: i" ?
  1025. ;sendmail_from = me@example.com
    + @. [% {: D: |0 ~6 F! B, I* K

  1026. 4 D$ U& ~3 v9 R5 p; M$ i* Q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")., Y' K7 X) T2 o; S# t
  1028. ; http://php.net/sendmail-path8 E8 u! J) W5 e* J
  1029. sendmail_path = /usr/sbin/sendmail -t -i6 K5 @$ ^" z, D& n2 U- y: B1 q

  1030. 4 Z$ x* y' c# T& e7 i$ q; C1 O, w
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ' X4 w# O. ~3 y2 k% w* D7 Y5 A/ L- m) v
  1032. ; to the sendmail binary. These parameters will always replace the value of% L: ^, r1 C4 a5 b. i
  1033. ; the 5th parameter to mail()." F& \. e1 r* e' e$ E; L- W7 T( {# y
  1034. ;mail.force_extra_parameters =
    , O  ~$ _, z' B3 v. w- o

  1035. ' m3 |# [% y) U. P1 y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( r" O" f8 ~" T5 D2 k6 `
  1037. mail.add_x_header = On2 l2 B2 u8 t, ^4 c0 l

  1038. 0 J) L0 q! ]  x3 L# Q
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ' F1 X' v( I: A8 R# J5 ]7 f
  1040. ; the full path of the script, line number, To address and headers.
      ^( I! S5 P- r% s9 G9 U
  1041. ;mail.log =) X6 }( ?/ o3 a# N# |4 }, r1 v5 s
  1042. ; Log mail to syslog (Event Log on Windows).
    " L# [7 W) ?: e* z  {$ m
  1043. ;mail.log = syslog' @# h8 ~' r" Q" {* g) R- s( K

  1044. 9 s& X8 l/ a  X% _0 ^
  1045. [SQL]% g3 c3 Z  S5 V8 t; Q9 d
  1046. ; http://php.net/sql.safe-mode
    0 R/ F# L. L6 o
  1047. sql.safe_mode = Off! h: s, j* Q+ M8 _, K% E

  1048. 1 g& x- f; R+ D& G7 c6 g4 ?2 \, H( g
  1049. [ODBC]
    1 q& b. z- ^4 H6 L5 M
  1050. ; http://php.net/odbc.default-db
    8 v. J2 u6 g( ?' l: w7 B, b
  1051. ;odbc.default_db    =  Not yet implemented
    0 I. m6 K& i, D6 b9 Q3 |* S
  1052. ) |8 B" X& Q! y
  1053. ; http://php.net/odbc.default-user
    # r8 v0 \! Q# m1 S7 a- {
  1054. ;odbc.default_user  =  Not yet implemented% @: w. a( l- X$ l
  1055. 8 i% ?: n6 T5 R+ ]9 @
  1056. ; http://php.net/odbc.default-pw
    2 ?5 _: N  v; _9 [, N
  1057. ;odbc.default_pw    =  Not yet implemented
    . L" E' ^' o% \

  1058. % a6 G/ S8 o- D( U: y
  1059. ; Controls the ODBC cursor model.
    3 A  ^9 P' W$ \
  1060. ; Default: SQL_CURSOR_STATIC (default).% S  Z/ F# s) b7 b" R# V: t
  1061. ;odbc.default_cursortype+ R6 Z+ X  Z7 f' u! z( `' U

  1062. 8 W; {5 l; C- [# C
  1063. ; Allow or prevent persistent links.  O  c6 j3 ]/ G
  1064. ; http://php.net/odbc.allow-persistent
    " k+ P$ Q+ z" M# N- k) s
  1065. odbc.allow_persistent = On
    6 q& L( [* x% ?6 O0 B
  1066. ; H' z3 ^8 T. n: f
  1067. ; Check that a connection is still valid before reuse.
    $ k; M$ {  a$ g* {3 o% s
  1068. ; http://php.net/odbc.check-persistent
    4 g; I: F  z- b3 G( h
  1069. odbc.check_persistent = On
    7 d2 p' B8 ^/ L2 k1 e+ [8 c5 x
  1070. 3 c. S/ F& a) D3 ~+ E5 r; w- o
  1071. ; Maximum number of persistent links.  -1 means no limit.
    & @  A7 E0 ^2 b6 T4 J' o2 c+ n) [
  1072. ; http://php.net/odbc.max-persistent
      g! w4 X: L+ ]3 T4 l
  1073. odbc.max_persistent = -1' G) [, g5 a* Q

  1074. 6 w& O2 W- |/ i7 j
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : ]% q5 C3 O' ]6 V3 u1 q" U$ S
  1076. ; http://php.net/odbc.max-links7 l+ v9 [/ e0 P& O( l& g2 i  h
  1077. odbc.max_links = -1+ Y5 [9 t" ^' v# ^- V
  1078. 9 S4 A# g) X: I$ g4 x3 v
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 `# @9 u! I2 t1 l+ |2 g0 c
  1080. ; passthru.* ~4 C% b- y1 h# r  K4 D, t: b
  1081. ; http://php.net/odbc.defaultlrl
    ; Y$ r& W- j( O
  1082. odbc.defaultlrl = 4096$ k' a2 b$ X+ A7 v' @2 I; s

  1083.   k1 @1 l8 G4 D- R2 M
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    % J$ H. k& {$ K+ M; m2 x9 {" ]! W
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 g0 u* Q! }" ^& S: Q
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
      {% w6 }; z: K2 ~1 W; u5 ]# Y4 A
  1087. ; http://php.net/odbc.defaultbinmode6 w) q+ R# y: D! z6 L( |
  1088. odbc.defaultbinmode = 1; ~# q" ]! G5 Q- {; j2 H2 c+ p2 s+ \

  1089. 2 O6 L- i3 s0 X2 i( C* j
  1090. ;birdstep.max_links = -1" a* @! [/ c9 x5 O8 ^
  1091. + j0 k4 F- t' a  o
  1092. [Interbase]
    ( y" u0 m8 o2 m+ W4 K
  1093. ; Allow or prevent persistent links.
    3 s+ |! Y& l) H6 b$ J" j
  1094. ibase.allow_persistent = 13 M; q" l1 C3 Q% {

  1095.   s% F5 X' \7 L
  1096. ; Maximum number of persistent links.  -1 means no limit.4 F. c4 p" F1 n# Q( g! Z1 c+ s1 `
  1097. ibase.max_persistent = -1
    / t; q8 ]& t% Z5 a; }( @
  1098. 9 Y/ ^7 _0 V7 P3 ~/ n  S0 ~
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      {5 L) g$ S  [/ n7 ?) ?
  1100. ibase.max_links = -1
    6 g: r, C# J) V; U

  1101. 4 a* f4 H) P& N& t
  1102. ; Default database name for ibase_connect().
    & D: T0 @) S1 m0 \) [4 Q
  1103. ;ibase.default_db =1 U$ T! E6 @) ]/ O
  1104. : E: H5 t+ W) Z& f" \7 W
  1105. ; Default username for ibase_connect().
    " a9 @9 u+ d7 [
  1106. ;ibase.default_user =1 P4 J" c& a8 t5 w9 ^7 C' r
  1107. : f% O. g. q8 d5 ~
  1108. ; Default password for ibase_connect().
    ! q/ c/ C8 a: s( V* M
  1109. ;ibase.default_password =
    5 U% v( h4 y# U4 d. ^- ~

  1110. * F$ h6 w4 T. E* l0 C' n' _
  1111. ; Default charset for ibase_connect().& D1 N0 m5 v( I& M: E
  1112. ;ibase.default_charset =
    : L' p  P  d8 E0 w5 m) r( s

  1113. : f: u. c4 C* R1 J* G# p. X
  1114. ; Default timestamp format.
    0 H- `4 n$ z% N3 @4 T0 L" l. c! f
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"0 a$ `0 o+ T& N" W' Q7 c. q* e) a
  1116. . {$ N* }9 u- Z4 t
  1117. ; Default date format.0 m0 M+ x% B4 d" [
  1118. ibase.dateformat = "%Y-%m-%d"
    2 L: F5 L2 J7 A3 \. T3 ^. p7 p- K

  1119. 1 f4 ]3 _( I0 O; A$ S' Q/ D' p
  1120. ; Default time format.; v; W. A1 t) L$ {$ V9 X# S9 H
  1121. ibase.timeformat = "%H:%M:%S"7 b- s* G9 {; F+ \6 W
  1122. ; s3 d- h2 W$ ]0 M
  1123. [MySQLi]
    7 i6 r  P3 }% P0 {

  1124. . S: E0 R  q' h
  1125. ; Maximum number of persistent links.  -1 means no limit.
    9 o$ d$ A  j/ p! n
  1126. ; http://php.net/mysqli.max-persistent
    9 z* z  B* D( l$ ~" n1 p% P
  1127. mysqli.max_persistent = -1
    : r8 ~8 q: H# |) q" Z) D0 p
  1128. : y( W. [1 M; X3 @6 j
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    $ ^& T2 [4 d5 i& W- T
  1130. ; http://php.net/mysqli.allow_local_infile. a  ]4 n1 H- K; A' X$ b
  1131. ;mysqli.allow_local_infile = On
    $ _, ^& D. n- M" ]3 R
  1132. + a: ~, ~# i: u7 ]
  1133. ; Allow or prevent persistent links.
    4 Y' q, a( v1 s0 \
  1134. ; http://php.net/mysqli.allow-persistent
    5 |  p$ h2 P7 I0 E7 `/ j
  1135. mysqli.allow_persistent = On  O/ |; _: F; q2 k0 l

  1136. 5 j; f* P* a& }- i! O
  1137. ; Maximum number of links.  -1 means no limit.4 g1 A4 F! R0 f/ {. W! k9 v
  1138. ; http://php.net/mysqli.max-links1 a* H$ h$ C" X8 d
  1139. mysqli.max_links = -1  ^4 X4 P, h6 ^3 a% N; L

  1140. . w0 }" C. L, B" T( e8 v
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) x" N) p1 X8 I5 e# i
  1142. ; http://php.net/mysqli.cache_size
    & r7 _3 _  o( d5 X* w% s
  1143. mysqli.cache_size = 20009 P4 c9 q' X2 V: b& N4 b, V3 x# w1 ?
  1144. 2 H$ B5 [" @( K* o
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    2 E9 N8 h6 C' m# j8 \
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- A8 a" U/ p8 y  m+ P  q( r
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    7 S) |! g" K+ c4 j* R
  1148. ; at MYSQL_PORT.
    % s( L$ X- }# o; }  q; d- A% k
  1149. ; http://php.net/mysqli.default-port
    ( Q0 x7 Y, P/ F* z- E
  1150. mysqli.default_port = 33063 o) S5 h9 m- _8 u  M& U, _0 a
  1151. " i, @" F" K5 _* I
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / q5 T7 `' z; Z: M
  1153. ; MySQL defaults.
    8 v1 m  Q! ^/ E9 `% c' w5 v- |( }( Z
  1154. ; http://php.net/mysqli.default-socket
    + p! K1 p* _: x5 s, Q
  1155. mysqli.default_socket =' V$ e% `  N( R  l0 W
  1156. # ]/ t( i9 g' A% S$ M) k( Q8 l$ o
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , |+ \- D1 N+ q
  1158. ; http://php.net/mysqli.default-host3 J  a% Y$ `! O9 A3 z
  1159. mysqli.default_host =
    ! \# u4 T8 G6 Y" ~/ G/ G! }3 B9 e4 L

  1160. ' q- ]8 I4 V0 a) G
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 @7 ]/ N6 ^: [4 p  e; B9 n
  1162. ; http://php.net/mysqli.default-user
    # o9 F6 f1 K& w3 A. J, o( m2 K
  1163. mysqli.default_user =
    2 w1 ~; j7 Q' Q$ b. X( t

  1164. % O& `; l! F% ?$ h% c2 ~2 S8 G  ]
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; X" `3 _' M  c  ?: J8 m# R
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( Y% Q8 ~$ o( f+ ^3 H  T# M
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    5 P$ P! i4 g  V$ R
  1168. ; and reveal this password!  And of course, any users with read access to this  s0 y5 e6 D  T2 n7 W
  1169. ; file will be able to reveal the password as well.- y# _# O8 ^/ X( Z: e/ T
  1170. ; http://php.net/mysqli.default-pw
    ) H& W3 o+ X( k
  1171. mysqli.default_pw =8 h+ y+ V4 T" ^: `
  1172. 8 {. W( p0 `  g4 I- x/ q" S2 g
  1173. ; Allow or prevent reconnect
    $ s3 v1 o. R' w1 c' a3 ~
  1174. mysqli.reconnect = Off
    & a' V2 B, y% }* p, O% C
  1175. * o4 c- ?2 a" M4 C1 A+ T: Y  X
  1176. [mysqlnd]
    4 s9 ?  r( l1 K0 a8 ]' _: s/ [
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    8 _3 {  U% w: A+ h2 B. C
  1178. ; used to tune and monitor MySQL operations.+ ^9 \4 S* M/ U
  1179. ; http://php.net/mysqlnd.collect_statistics
    - |& V0 B/ n0 d1 h9 E
  1180. mysqlnd.collect_statistics = On7 U4 @+ e" N  m" X. q! g$ E5 o3 c
  1181. 0 S# B5 ~/ e5 i8 S& d6 E
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be# A+ i; D1 u) T
  1183. ; used to tune and monitor MySQL operations.
    0 U$ s  Q& N/ I6 N# Q$ j
  1184. ; http://php.net/mysqlnd.collect_memory_statistics; D6 p" U9 W1 x6 \& W, @
  1185. mysqlnd.collect_memory_statistics = Off
    , a  F! I# \& \3 y7 W

  1186. ( K$ _' K+ z6 q, O5 M
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    : a& g% j( j$ y  x3 U
  1188. ; file.
    0 J) T0 H9 U; `; k
  1189. ; http://php.net/mysqlnd.debug
    # q9 Z, h6 I7 c) Q, n
  1190. ;mysqlnd.debug =
    * ~5 [0 W" e$ r. }4 T- l# I
  1191. 8 ^: X+ t3 K; X9 K5 Y" v
  1192. ; Defines which queries will be logged.
    # s5 }3 f1 V! Y* m+ C- N3 t1 h
  1193. ; http://php.net/mysqlnd.log_mask2 w; C  N' |2 @- Z1 a
  1194. ;mysqlnd.log_mask = 05 B/ x6 I0 Y( E/ }
  1195. ' g8 [2 }5 ^0 J4 V+ n; r: ^) C
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.8 C& [5 t& e9 N$ U1 J0 q' ^8 |
  1197. ; http://php.net/mysqlnd.mempool_default_size  W  j1 e+ B# `# L1 h
  1198. ;mysqlnd.mempool_default_size = 16000+ a* @+ i3 {1 r6 q

  1199. ) t3 ?, c; e7 X( c
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    2 E* P% Y2 r7 G& f
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size0 w2 l8 Y. s; {' x
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
      E5 d% O( y/ I; }7 a# ?* a
  1203. 8 [  z/ s  l. ^' F* @/ _7 N/ q, w, f
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    9 R4 a+ m" d$ L  f! Z$ d
  1205. ; bytes.' I- ^# a2 P( {* P+ B
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    7 T/ L6 }' J# {' b
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ! V( R1 I6 E( |1 N# j
  1208. 9 ^. v. ~8 l* O+ i
  1209. ; Timeout for network requests in seconds.# W+ ^+ F. e: N/ N2 K
  1210. ; http://php.net/mysqlnd.net_read_timeout' L' E# Z: M* v$ E& V
  1211. ;mysqlnd.net_read_timeout = 31536000
    ! l6 i: B# M* r2 e) J
  1212. 9 z$ j" J1 b) M; [: M1 C$ W
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    1 ?! l) o4 t$ h) ~& M
  1214. ; key.
      f* m: R# H% a  h: D9 Y
  1215. ; http://php.net/mysqlnd.sha256_server_public_key$ V% X! b( W  w# {, A' U
  1216. ;mysqlnd.sha256_server_public_key =: x0 P" @2 a! j' C6 C& K4 p

  1217. # B$ N9 ]' _# M, t' z
  1218. [OCI8]
    + J. n( f1 A& }5 x4 t- S* ~0 A0 P
  1219. 2 O  v: M. O; X" E1 o7 a
  1220. ; Connection: Enables privileged connections using external
    $ X0 m7 ^( z8 e: u
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ) J1 f5 b1 i" a! o1 n
  1222. ; http://php.net/oci8.privileged-connect  t% m5 u  e+ `* D" ~& s  D
  1223. ;oci8.privileged_connect = Off: k" f( f' r( M! Q
  1224. 1 X$ C* [# ~" M2 S  A8 Z+ f
  1225. ; Connection: The maximum number of persistent OCI8 connections per, i( e- E7 U' c; |
  1226. ; process. Using -1 means no limit.8 C7 c2 _6 T' |  A  H+ ~9 {5 s/ Z% B; O
  1227. ; http://php.net/oci8.max-persistent: |: F2 H7 f) X  i# a
  1228. ;oci8.max_persistent = -1! E+ r6 E- P: t6 P( ~, A7 c
  1229. " a9 Q+ r1 M1 O2 A
  1230. ; Connection: The maximum number of seconds a process is allowed to
    3 _8 q% w, Z* n* ^" H* J5 E
  1231. ; maintain an idle persistent connection. Using -1 means idle* M+ y( F' B  ?0 M
  1232. ; persistent connections will be maintained forever.3 }; {, Z3 B3 [, |) b
  1233. ; http://php.net/oci8.persistent-timeout
    + M# S( E; N& u5 s: G8 v+ o
  1234. ;oci8.persistent_timeout = -10 m4 \3 l$ d) Y7 I; |

  1235. % X7 V% [/ W7 S( V/ W* j  {
  1236. ; Connection: The number of seconds that must pass before issuing a. D: ^7 d$ ~- p2 L, L3 J6 r/ L9 T
  1237. ; ping during oci_pconnect() to check the connection validity. When& a) W1 f- L) `4 N5 F8 K/ L! G
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 r; t, I6 L2 ]6 E# R$ A5 y
  1239. ; pings completely.
    7 o4 n2 A% j/ ^! ^4 c2 C
  1240. ; http://php.net/oci8.ping-interval' G; l8 {8 f/ i% g+ X
  1241. ;oci8.ping_interval = 60* V7 H. _- T' O. Z4 }
  1242. 2 m9 Q$ e( ?% N9 F' }
  1243. ; Connection: Set this to a user chosen connection class to be used
    . P6 n% U' S9 h+ y; W. ]6 ^4 i
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    # `) R; y6 `: @1 M6 t
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to# {2 Y  k7 ~$ G) Z  M" `/ s
  1246. ; the same string for all web servers running the same application,* a! N6 y! f) g9 s0 b* O8 |6 g5 c) J4 L
  1247. ; the database pool must be configured, and the connection string must/ t4 ]9 @+ s# ?4 ?' t
  1248. ; specify to use a pooled server.+ J3 n$ m4 g/ O9 A" L7 ~" p! N# @, p
  1249. ;oci8.connection_class =+ h- I" Q9 ]6 i4 p3 z7 e

  1250. 6 x7 U* g+ h. _
  1251. ; High Availability: Using On lets PHP receive Fast Application, _6 c) W! E) b6 s* q
  1252. ; Notification (FAN) events generated when a database node fails. The
    ! N; c3 x$ C. j. \8 o) X
  1253. ; database must also be configured to post FAN events.
    : M) C& b! b: Q" c7 D
  1254. ;oci8.events = Off
    $ h3 F( K3 A3 `- J2 U, S
  1255. & Y( T; ?$ K6 |4 E& J' a) H
  1256. ; Tuning: This option enables statement caching, and specifies how
    ! V4 Z8 y, j, O$ S2 R1 P
  1257. ; many statements to cache. Using 0 disables statement caching.
    / s; {7 d, K: W$ |
  1258. ; http://php.net/oci8.statement-cache-size
    ! Q$ J( _8 F  F6 }
  1259. ;oci8.statement_cache_size = 20
    # `. E" M' ], Y$ D3 F$ p& @

  1260. + i9 N, B1 J% x3 @3 V
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    / a7 A+ _# |9 u& v: c# ]2 r% ?
  1262. ; rows that will be fetched automatically after statement execution.0 h% f5 T3 _: {% H( L
  1263. ; http://php.net/oci8.default-prefetch7 Z9 ~5 e& d) V$ \* A  S% U1 u' T/ A
  1264. ;oci8.default_prefetch = 100, ]& @2 }' M/ ^, R% Z9 G

  1265. 2 T/ R/ V. D) h8 w/ J3 W. |) A! w! Y  H
  1266. ; Compatibility. Using On means oci_close() will not close
    5 ~& p/ y0 X; S. o5 H7 n
  1267. ; oci_connect() and oci_new_connect() connections.
    " l, o( ^. i6 S( f* r; U0 B
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ! o) u. A9 M% ^, F& P( B9 ]- Z+ Y
  1269. ;oci8.old_oci_close_semantics = Off, T1 ?0 K0 s! z  m4 j' A- P
  1270. . g  _6 d1 i) _; P
  1271. [PostgreSQL]
    " _" G7 Y/ A$ Z% }) Y! D
  1272. ; Allow or prevent persistent links.
    ; \- I3 g" ~% j9 a, F
  1273. ; http://php.net/pgsql.allow-persistent( O- }$ l" \& i) i0 H7 p( [
  1274. pgsql.allow_persistent = On
    2 n* a6 j* \; G; d+ \. P, B* g
  1275. & u7 c9 g7 y  @- Y: l& O4 i
  1276. ; Detect broken persistent links always with pg_pconnect().
    3 T9 `8 t8 n+ D+ b4 W1 S, w: L
  1277. ; Auto reset feature requires a little overheads., ]  G( H+ U. \1 `
  1278. ; http://php.net/pgsql.auto-reset-persistent' i, H- d. I6 X" }
  1279. pgsql.auto_reset_persistent = Off
    - X; v+ }- N  b" _# y

  1280. + ^) V+ w: T% ]( {/ t
  1281. ; Maximum number of persistent links.  -1 means no limit.
    5 x8 ]$ J' x; W7 x5 C( W) {/ Q3 }
  1282. ; http://php.net/pgsql.max-persistent
    ' \& ^' u4 E/ h# m7 |7 o9 J
  1283. pgsql.max_persistent = -1
      n9 w& V4 [8 v  U

  1284. & |2 H. W: l0 o$ Q) u2 v8 D8 {$ x
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 [2 Y# |5 u" n
  1286. ; http://php.net/pgsql.max-links
    6 v$ b; @& b3 M" g: f
  1287. pgsql.max_links = -11 U/ [" _5 r1 i5 C5 A

  1288. * |5 D$ ^$ h, u7 G4 }
  1289. ; Ignore PostgreSQL backends Notice message or not.. M) `& K; W3 t& U
  1290. ; Notice message logging require a little overheads.
    ; P: N+ u0 N! K& i$ Y: Z8 d# V
  1291. ; http://php.net/pgsql.ignore-notice& L. ?  u+ b$ e0 M" X
  1292. pgsql.ignore_notice = 0- D  t& ~2 ]7 Q6 S# |  z

  1293. % Z+ p2 p$ j! S! v
  1294. ; Log PostgreSQL backends Notice message or not.
    ! C3 y$ \' N0 N0 i5 p3 T' t5 p
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    2 H% [) S  U2 W1 V% {8 {
  1296. ; http://php.net/pgsql.log-notice
    0 @4 u4 I* ~' r) ?2 K; x
  1297. pgsql.log_notice = 0
    8 s5 `* `0 K' ~' j
  1298. + T6 Z" d0 _8 J5 b& {
  1299. [bcmath]
    - r/ |. S8 c8 G4 K* R* J
  1300. ; Number of decimal digits for all bcmath functions.
    4 u; O  s' g9 C% ^7 ?
  1301. ; http://php.net/bcmath.scale8 X( j  F& w* Z6 {& g/ V, P
  1302. bcmath.scale = 0
    % Z" x  D) z; F( U0 b1 L3 ~. N9 L

  1303. : ]; z$ I! ?6 A4 g0 G
  1304. [browscap]
    + ]4 m5 A. p8 v8 ]
  1305. ; http://php.net/browscap
    8 H# H/ X, Q# l) B
  1306. ;browscap = extra/browscap.ini
      \- S* U$ a8 U: E# m/ \! a

  1307. ) x  g/ R$ Q+ P, _
  1308. [Session]/ F0 R; [3 Y2 S
  1309. ; Handler used to store/retrieve data.3 G) r; `. N6 ?: k
  1310. ; http://php.net/session.save-handler
    , _9 q' m( C; I6 [5 r9 T% H
  1311. session.save_handler = files4 k; R2 }( W" q4 J. C6 b; [

  1312. / ^8 l  L; V: }6 A5 f
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
      J1 ^$ c( j1 y* B, N$ @0 Q
  1314. ; where data files are stored. Note: Windows users have to change this/ }: L2 a9 K6 u$ }5 }- r" l. l, d
  1315. ; variable in order to use PHP's session functions.
    - V7 h: I( k! i9 s6 e7 |
  1316. ;" m! F4 p; B: m4 e/ M  [
  1317. ; The path can be defined as:
    6 d% i5 r; y/ Q
  1318. ;0 t1 E4 r+ k$ C7 d3 P' O+ P
  1319. ;     session.save_path = "N;/path"
    ! C  H; s: b3 B! s2 |3 T; ]
  1320. ;
    4 C! e8 f% h3 s7 i" r& {8 |# u
  1321. ; where N is an integer.  Instead of storing all the session files in
    * _" N$ `6 p0 a. v1 g
  1322. ; /path, what this will do is use subdirectories N-levels deep, and+ t+ D8 H! P, E: Y' X# O, `
  1323. ; store the session data in those directories.  This is useful if  ?: p8 ^9 \" o4 T; r% V
  1324. ; your OS has problems with many files in one directory, and is2 [% j, G0 Y; I' q2 Z5 u
  1325. ; a more efficient layout for servers that handle many sessions.
    . g& M9 c, U1 |! s# R) Z5 z3 d
  1326. ;& R/ w! m. O5 G
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    2 }5 {+ u3 `, l# l6 ~
  1328. ;         You can use the script in the ext/session dir for that purpose.6 x' r. R! K0 b- O8 I0 ?# U
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    4 P) |9 s  z! d5 Y
  1330. ;         use subdirectories for session storage
    $ ?3 @, U/ J8 S! o/ B
  1331. ;8 u+ ]4 x- t& V$ p6 W7 M
  1332. ; The file storage module creates files using mode 600 by default.2 Y$ A  G; L1 {: a, d& z
  1333. ; You can change that by using
    - A# Q" M3 \. b# f7 [/ \) G
  1334. ;5 `1 p$ O/ z. S
  1335. ;     session.save_path = "N;MODE;/path"
    3 I6 c) c' X! \! k' H5 E
  1336. ;
    # _! S# Q. t2 @% ?" E# X% F
  1337. ; where MODE is the octal representation of the mode. Note that this
    ( F5 K& e1 g1 G
  1338. ; does not overwrite the process's umask.: l$ m, m8 Z% q% e# v
  1339. ; http://php.net/session.save-path1 M* S! n8 i1 o% |! G
  1340. ;session.save_path = "/tmp"
    - `: T; q4 O. G6 m
  1341. / S2 {' p  C1 J; b" \
  1342. ; Whether to use strict session mode.
    7 a+ u  |% v- y& m
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
      [/ a5 c( i8 _: d# F
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    5 E9 h) M  U3 Y6 ?* N
  1345. ; applications from session fixation via session adoption vulnerability. It is3 d- B/ k- U, L0 m  c
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 o" |( N2 z; C) O) v$ b6 o4 x
  1347. ; https://wiki.php.net/rfc/strict_sessions  V" P, S* B% O2 e2 M
  1348. session.use_strict_mode = 0
    # N& J/ L. Y" X0 L: ?
  1349. , k: ?: G: C6 v' Q0 x" y+ E! O
  1350. ; Whether to use cookies.
    ' @$ I+ n# B% W' S$ J
  1351. ; http://php.net/session.use-cookies
    4 }" Z9 b8 ~3 B/ i8 S
  1352. session.use_cookies = 1
    5 c; s/ B6 H# C" K: y' c4 l

  1353. ! x; ]+ k( O* j* k5 a
  1354. ; http://php.net/session.cookie-secure. M" f- j2 d- N% y
  1355. ;session.cookie_secure =
    8 k9 e8 _( G4 U/ G8 Y
  1356. . |. l- `& U2 d
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 ^9 y- ~; a3 {( o- F$ A$ A3 b
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    7 ?4 ~: A9 n+ b9 c
  1359. ; session hijacking when not specifying and managing your own session id. It is) C+ K7 A( Z$ h7 f
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.3 d9 z$ y5 I+ I- D4 B; Q, U. u
  1361. ; http://php.net/session.use-only-cookies
    / k3 v; b  E2 {" ~* t; k6 o! S# g
  1362. session.use_only_cookies = 16 @7 {; m5 n$ b& o$ b+ Z5 _5 s
  1363. . b2 y! G3 R8 g
  1364. ; Name of the session (used as cookie name).
    0 A: p: j: i( R, ^4 _  D3 m. @
  1365. ; http://php.net/session.name& M2 i) k6 S5 ]" K8 X
  1366. session.name = PHPSESSID
      q' ?; e/ [2 Z/ ^# L0 M% A
  1367. . }2 W, E: v$ V  E/ x. r
  1368. ; Initialize session on request startup.
    $ E! s/ x5 }* o# A
  1369. ; http://php.net/session.auto-start
      ]# l" E' b$ f$ H
  1370. session.auto_start = 0- s; t/ ^3 b. ~4 X/ w
  1371. - `4 ]2 {9 r) Y+ ], E" q+ Q
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.5 U! b: D6 e, v' I! @! G
  1373. ; http://php.net/session.cookie-lifetime: E& p, R; D* h+ q5 w. a7 ^
  1374. session.cookie_lifetime = 0
    # E; x7 h. x3 s1 t

  1375. ( _5 F0 W6 a8 |
  1376. ; The path for which the cookie is valid.
    ; ~0 ~9 z$ V. e& z
  1377. ; http://php.net/session.cookie-path
    ( Q( t  A' d% f/ a! v( h, |( @
  1378. session.cookie_path = /
    9 r6 J) [3 u  ?/ D1 [6 y
  1379. 4 |! |; `/ K" C8 r
  1380. ; The domain for which the cookie is valid.
    . ?" C/ {; ^! T9 z3 U& M
  1381. ; http://php.net/session.cookie-domain
    , M! A, l8 t6 v# `
  1382. session.cookie_domain =: N& Z0 h5 b- W" X1 R
  1383. : m, c, g* n2 P
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.9 Q/ C$ `5 a0 }9 V- u7 p" \
  1385. ; http://php.net/session.cookie-httponly
    5 h$ l6 F' ]6 E% r' d; x
  1386. session.cookie_httponly =9 }, e& s) [, g: f$ w# Y& f9 `
  1387. ' X1 m% }. u' M, A4 c0 w. G& z
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.. j; K% R5 U% S
  1389. ; http://php.net/session.serialize-handler
    + j5 v: w+ k2 t& \  j- U- R
  1390. session.serialize_handler = php* d: R5 K, R/ @1 S0 k; Z1 {0 }/ s; R
  1391. + W- Y( W) f1 `( ~( U! n
  1392. ; Defines the probability that the 'garbage collection' process is started
    $ a: [: A# Y. {
  1393. ; on every session initialization. The probability is calculated by using- ~& w" h1 c5 p& M; ]. ?
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator8 g1 C, K4 o4 ?3 M/ {6 o- N
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1/ K& w4 o5 ^% p7 ^8 o2 B/ \: D/ u. W
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ i: O' A& b, J
  1397. ; the gc will run on any give request., w* b- S! Y: Z+ E- c
  1398. ; Default Value: 1
    . W! a9 d) l" |1 W$ E
  1399. ; Development Value: 1
    6 d( G# R0 q1 R
  1400. ; Production Value: 1& U$ j& `* J. G7 Z' W
  1401. ; http://php.net/session.gc-probability
    " X/ h0 ^; o) w1 i
  1402. session.gc_probability = 16 u- Y9 z6 ]' j+ B7 i1 e' e
  1403. 5 B' Y0 w) |* y% b
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    1 ]5 k8 V$ W0 k1 M0 o% w1 g
  1405. ; session initialization. The probability is calculated by using the following equation:5 i0 I3 P2 z8 c/ d# e0 \. b
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    / A2 z+ G6 K  T, k
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 g7 K$ _" x- p9 V: M& g
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + @  O4 ~9 |  X+ w: A: y
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you' _2 W+ E  a4 [: U1 H
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 p  _2 x  m( J* e9 x, q9 T" [# |
  1411. ; this is a more efficient approach.
    5 m  S9 Y# ]% V: n
  1412. ; Default Value: 100
    3 {! K. H% d+ C& P, ~
  1413. ; Development Value: 10000 q4 r6 h* e9 O; g7 j  B
  1414. ; Production Value: 1000% ]: m! ]6 R( Z1 \% T' ~4 e: d
  1415. ; http://php.net/session.gc-divisor
    $ o, I* z: n/ W( v5 A" p
  1416. session.gc_divisor = 10002 s& x5 b2 [, c( \; z- C# z
  1417.   c, m" a0 f; U9 X% h: J+ c
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and. k1 U+ C4 j8 N! ^/ C& @2 {/ k% J
  1419. ; cleaned up by the garbage collection process.
    7 l& C5 N0 |) y% }0 M7 p8 s
  1420. ; http://php.net/session.gc-maxlifetime2 y# b  G: ]7 Z6 j- Q" ?7 @1 `2 [+ q
  1421. session.gc_maxlifetime = 1440) F" \) H6 f+ c% L) R8 V
  1422. / Y9 C, |! k+ X3 K+ }* [) `
  1423. ; NOTE: If you are using the subdirectory option for storing session files4 F$ C" A; j1 F5 Y0 p* O
  1424. ;       (see session.save_path above), then garbage collection does *not*  v) y1 l8 X2 O  W# `
  1425. ;       happen automatically.  You will need to do your own garbage# x  |- ~& [0 b* V' a
  1426. ;       collection through a shell script, cron entry, or some other method.& G- ~6 \  X" Y- T9 M" k
  1427. ;       For example, the following script would is the equivalent of  C! F. T' H$ o! z9 `) S
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    + z4 v' A+ S! N6 i$ C: s' |
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm2 d- N2 a/ g# P( }$ Q: j+ X. H

  1430. 5 d6 O# L+ u( R* c3 X' M& A+ Q* G
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.9 S( K! y, e  ]6 b; ^6 J
  1432. ; HTTP_REFERER has to contain this substring for the session to be1 _& L( }; l( Z7 c0 O: e
  1433. ; considered as valid.$ J9 G  N; _+ b1 }* `
  1434. ; http://php.net/session.referer-check
    % G3 o  X  @8 u$ n8 A  U7 Q
  1435. session.referer_check =( h/ `5 u8 v, H& i; X& \

  1436. 7 n6 C6 F) K8 ]- [# {, Z
  1437. ; How many bytes to read from the file.
    / r% G1 I: a8 E  `& o/ n8 o5 h
  1438. ; http://php.net/session.entropy-length) `- E3 T# o0 t9 [4 M2 \
  1439. ;session.entropy_length = 320 ^4 @  o. \5 n& K/ o/ [

  1440. , J' i& s: R& c# L9 G5 X" d
  1441. ; Specified here to create the session id.
    7 A- S7 D5 O* Z# G. x
  1442. ; http://php.net/session.entropy-file
    $ L8 [" U* \) X3 M" z. _8 ?
  1443. ; Defaults to /dev/urandom
    2 X" }, h9 \! Y  K' s
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    8 A4 _# X& {' k7 o. J" v3 S9 S! U6 B
  1445. ; If neither are found at compile time, the default is no entropy file.
    $ j( R- G" w  o& C$ x4 ^
  1446. ; On windows, setting the entropy_length setting will activate the6 q6 K3 x3 x1 M4 \- w2 h
  1447. ; Windows random source (using the CryptoAPI)7 `$ N; `! ?) Q# Z  ~* w
  1448. ;session.entropy_file = /dev/urandom
    $ ~6 \( H+ |0 C9 z1 N$ F7 X# B

  1449. : w/ M. C: D& o5 Z4 c: h) y2 G; K
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    0 U4 [$ t% d- E! u6 M- P# b
  1451. ; or leave this empty to avoid sending anti-caching headers.
    4 e" k  S- ]7 y( ~
  1452. ; http://php.net/session.cache-limiter7 G- e2 g$ l9 D* E% y# i
  1453. session.cache_limiter = nocache4 p, @7 U& Z6 y& |& f! p
  1454. 5 X$ B2 [: i" b' \
  1455. ; Document expires after n minutes.- n# M! b0 ]) G$ ]8 v
  1456. ; http://php.net/session.cache-expire
    & S9 p0 ]; t# S- V  l) f) o
  1457. session.cache_expire = 180& d0 L0 i( f+ p5 u
  1458. " c* C! j& O* e6 y
  1459. ; trans sid support is disabled by default.
    * k! g) D( h! U; `  o: O
  1460. ; Use of trans sid may risk your users' security.1 F' z% p" ^5 ?/ t% \
  1461. ; Use this option with caution.
    " ?! y( P4 q8 d7 V1 [' b+ W1 }& L" D
  1462. ; - User may send URL contains active session ID' G5 l: d' B2 w" Y, }' P# J) Z" ^4 p( _
  1463. ;   to other person via. email/irc/etc.- f% Y3 c% O  M5 V3 _4 R5 [
  1464. ; - URL that contains active session ID may be stored+ a2 n- `6 l: v- M, M1 A
  1465. ;   in publicly accessible computer.
    : _: H" Y1 N: B0 ?# ^9 F7 S
  1466. ; - User may access your site with the same session ID
    8 e, [2 P: d  V7 O! s+ y' r
  1467. ;   always using URL stored in browser's history or bookmarks.
    # R& Q* m9 t; ^( C2 X. J/ i
  1468. ; http://php.net/session.use-trans-sid' P* \% m2 b* O8 p' B
  1469. session.use_trans_sid = 0
    ; U# s$ D1 ]" E  D3 b1 y
  1470. ( a0 K* Q' ^0 h/ o0 b5 X5 v' C
  1471. ; Select a hash function for use in generating session ids.; ?% n+ |* T% \& p& Z
  1472. ; Possible Values) z1 |" z7 ~& ~7 g. G! H4 @0 f
  1473. ;   0  (MD5 128 bits)* @6 {0 d' `' g
  1474. ;   1  (SHA-1 160 bits)
    0 K* \# h2 X  I8 }! f
  1475. ; This option may also be set to the name of any hash function supported by% u0 z! K7 W/ K' Q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()! H) O' U6 P1 \% V
  1477. ; function.
    " E! J2 i* @# d& n1 a' k0 ]2 @% \, \
  1478. ; http://php.net/session.hash-function
    % l6 T0 k) ~  M. u7 j: @
  1479. session.hash_function = 02 b6 S' U+ ]" b: T2 Y

  1480. . p! t, d0 A0 O) F0 Y+ t) R
  1481. ; Define how many bits are stored in each character when converting; y+ s0 D3 h. {/ e& [9 V& X
  1482. ; the binary hash data to something readable.! I/ ?( K+ x, J( D$ l
  1483. ; Possible values:
    $ J* X/ J% T; W1 X: X% e# ~
  1484. ;   4  (4 bits: 0-9, a-f)
    " c+ p$ N# n, Y( M* C
  1485. ;   5  (5 bits: 0-9, a-v)3 H3 t7 q% a2 _
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). c% v. [' D' h# E- K9 x0 A4 k) }
  1487. ; Default Value: 4
    0 Z1 ~0 d' H* x! P: V" ?( t
  1488. ; Development Value: 5
    , j% {/ H1 g' a/ P
  1489. ; Production Value: 50 _9 t3 G# L/ N+ \: @
  1490. ; http://php.net/session.hash-bits-per-character& p( I/ `' j; {
  1491. session.hash_bits_per_character = 5
    & _- e& z+ k4 X9 P; c

  1492. / i2 k( Y5 c' T* B4 I4 L1 `
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * f4 @4 X& d+ R2 B
  1494. ; form/fieldset are special; if you include them here, the rewriter will. r: _9 m# n: @# c
  1495. ; add a hidden <input> field with the info which is otherwise appended
    , n+ y9 L5 ]+ L( X4 i4 U
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.- v/ h8 O" l( v* D5 s
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ; S/ |7 g1 X+ ]) r' e( K
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / j! U3 k) v9 H: _, g- w
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 o( \+ b; Y  r; h: g) ~2 ~
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 d4 U, V, q6 s9 f8 U! I: o+ M
  1501. ; http://php.net/url-rewriter.tags
    ' t4 S. L9 K9 w* o
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    , A+ W$ s2 O8 P
  1503. 6 l& L& s6 W  J+ P7 m- I3 N& Q
  1504. ; Enable upload progress tracking in $_SESSION
    . u5 j  q& q* R9 f
  1505. ; Default Value: On9 p% L3 C& P+ v- p+ b* B2 I  _. J  _
  1506. ; Development Value: On2 r: y( E6 p. ?0 @) j! G
  1507. ; Production Value: On9 K) Q1 M# S8 G) |7 m' I7 V
  1508. ; http://php.net/session.upload-progress.enabled/ ?% {+ k& E6 n: T8 Y# [# e
  1509. ;session.upload_progress.enabled = On9 n2 o5 h& E& [8 o; o" L

  1510. 1 B  G1 {! Q' [' p; a2 d* ~
  1511. ; Cleanup the progress information as soon as all POST data has been read0 ^$ u" F# g- D! Z, c
  1512. ; (i.e. upload completed).
    & _( ~) T' K$ L  I/ U( U! c4 }0 K
  1513. ; Default Value: On8 |1 e" v6 y$ V5 d, ^) k
  1514. ; Development Value: On7 p# c5 V0 a/ S' Y8 _
  1515. ; Production Value: On3 h. @5 ~4 z3 f, k: t
  1516. ; http://php.net/session.upload-progress.cleanup! y9 |& U! V4 Q3 Y; d
  1517. ;session.upload_progress.cleanup = On
    $ m0 q- F" h4 _! d

  1518. 3 f& d& l4 w; y( _5 y7 }) c
  1519. ; A prefix used for the upload progress key in $_SESSION, j) \. u! @% O' \: k
  1520. ; Default Value: "upload_progress_"
    4 \8 c, e: J* _7 ]* Z7 ?
  1521. ; Development Value: "upload_progress_"
    1 L: |1 y$ t# c( B
  1522. ; Production Value: "upload_progress_"
    ( [- }% B2 V2 M* m  `
  1523. ; http://php.net/session.upload-progress.prefix
    * w* L4 q5 U0 B
  1524. ;session.upload_progress.prefix = "upload_progress_"
    / Z5 z6 R( j- n  Z* J. D

  1525. 9 O0 I7 h3 R* x5 J, I0 D1 F
  1526. ; The index name (concatenated with the prefix) in $_SESSION' p5 t0 J, e" w
  1527. ; containing the upload progress information
    1 _5 h( @) T2 G' E% d7 L: G. G
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! y6 o/ b+ ?4 o4 t! f! d$ F
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + d* i4 U$ C# e8 T
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"2 \7 c9 L& m( v0 g7 o  l+ ]
  1531. ; http://php.net/session.upload-progress.name3 Z3 H# c+ D( q
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    3 [: p( M2 `$ S/ `" ]
  1533. + h/ G; Z( n  g9 S
  1534. ; How frequently the upload progress should be updated.; {: E% r5 q+ r( O1 @( z
  1535. ; Given either in percentages (per-file), or in bytes! f+ B1 P% i$ o8 P
  1536. ; Default Value: "1%"& n1 E0 Z* f: h; |' i5 m
  1537. ; Development Value: "1%"
    % a0 |% H) ?) X; b1 \
  1538. ; Production Value: "1%"4 J8 d- S. k* R
  1539. ; http://php.net/session.upload-progress.freq% L2 H3 A! g, B4 G
  1540. ;session.upload_progress.freq =  "1%"
      A5 {8 h7 H* C+ s. {3 ~/ ^8 r; M
  1541. * j6 s1 _/ ~; n- F
  1542. ; The minimum delay between updates, in seconds
    ; c/ [  _7 F$ N3 K; }
  1543. ; Default Value: 1
    , J9 B! \! r! w, G% f4 r$ R
  1544. ; Development Value: 1
    2 {2 p/ ^: }, E. Q$ I
  1545. ; Production Value: 1
    1 f0 o# H9 M0 c+ X  l' l
  1546. ; http://php.net/session.upload-progress.min-freq
    ; t3 j5 c5 N0 h; w0 i
  1547. ;session.upload_progress.min_freq = "1"
    6 t/ _  _, U5 X; p" q7 H

  1548. ) E: l# S4 ?5 f" ]' i
  1549. ; Only write session data when session data is changed. Enabled by default.+ r: ?9 ^7 \9 ~6 y
  1550. ; http://php.net/session.lazy-write, t! s% g6 n7 a+ F; j
  1551. ;session.lazy_write = On6 g! W; q9 S4 N

  1552. ; |) r/ J, \- H& b3 y
  1553. [Assertion]
    ( Y$ w, {. d8 C' [& K1 E
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)8 d% z+ L7 |0 B2 P  W( D
  1555. ; -1: Do not compile at all' n- @- Y4 g) v1 n% Q
  1556. ;  0: Jump over assertion at run-time
    " D7 L% I% m4 e$ |+ T1 \* ?
  1557. ;  1: Execute assertions
    3 J( |2 c2 c% \; D3 q4 U2 V
  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)% a) o+ C- X3 x! J
  1559. ; Default Value: 14 q, S# W2 @1 ?" R, N7 a# r
  1560. ; Development Value: 15 i$ w( C4 v" N* {
  1561. ; Production Value: -1
      }6 {/ x8 J. G0 I, h& Z  \
  1562. ; http://php.net/zend.assertions
    9 ^- C4 C- n4 w+ p7 H
  1563. zend.assertions = -1$ w3 s. I7 ^! v9 f1 f) U

  1564. 6 }' W" o# P; G+ o8 I% C- m1 L
  1565. ; Assert(expr); active by default.: z, R1 N+ }+ k* ?) R& S
  1566. ; http://php.net/assert.active: s% i5 W& a% U( v( n
  1567. ;assert.active = On! @+ m9 X. q! d) W( ~3 y2 f

  1568. ( g1 R" _5 n9 h3 M* {4 |
  1569. ; Throw an AssertationException on failed assertions
    : I2 _; W8 k% c6 l0 k6 I/ N
  1570. ; http://php.net/assert.exception# h. h: s6 a8 a. c) c
  1571. ;assert.exception = On+ l; z' T, z5 X" Z6 P' a. i
  1572. 0 h+ j- V4 B6 ^
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ! c5 L7 L1 b- i
  1574. ; http://php.net/assert.warning
    # A  B) j, N- D7 u
  1575. ;assert.warning = On- `3 K. z3 C; _; [6 J
  1576. # `$ `" s. y2 J* l9 f
  1577. ; Don't bail out by default./ f! i5 V- T6 N9 z; m. G
  1578. ; http://php.net/assert.bail4 H) E' ?* P2 T% t" o; }% f% V' g
  1579. ;assert.bail = Off0 K3 }. i1 D8 c- w

  1580. ' }+ B: d* O/ |
  1581. ; User-function to be called if an assertion fails.9 x1 [$ p) S5 n9 k
  1582. ; http://php.net/assert.callback
    # p0 J. z" y$ b: h, b
  1583. ;assert.callback = 0; P# h) [& o0 I' s
  1584. : T+ G; E; N9 B; g5 N
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    / z  Q4 i/ t) X7 g8 c
  1586. ; error_reporting(0) around the eval().7 X- E' ^  o+ L- V' c' E& T
  1587. ; http://php.net/assert.quiet-eval6 I4 p! ^# a2 D1 b3 I
  1588. ;assert.quiet_eval = 01 K) m" s3 D0 Z# q. G
  1589. 4 Q( ]: Y7 B2 c2 x# D9 h( R
  1590. [COM]
    1 w. t2 G6 Q& H2 C# ~2 T
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    8 U$ @) O* q. \* o; h0 j0 }7 |. z8 X
  1592. ; http://php.net/com.typelib-file" ?' z- E9 I8 w7 r, T
  1593. ;com.typelib_file =
    . x, }& L4 W2 v" \

  1594. 1 q! A7 i' m% U, D
  1595. ; allow Distributed-COM calls' {) K- R# e* Y2 r* `6 O
  1596. ; http://php.net/com.allow-dcom
    - B1 [; m0 h, ?/ Z8 r4 c! f
  1597. ;com.allow_dcom = true7 c% @! I' @0 g  M6 A
  1598. , h8 o. Z3 G. X( \
  1599. ; autoregister constants of a components typlib on com_load()1 I5 Z, ]; v& t
  1600. ; http://php.net/com.autoregister-typelib
    + N+ G" [: B  q2 o) m
  1601. ;com.autoregister_typelib = true2 E% w  P  E% M* m, A

  1602. ) l1 w$ E" H. Q7 W& n. ?0 E) N
  1603. ; register constants casesensitive3 l  D7 u$ }2 _. v. a- e
  1604. ; http://php.net/com.autoregister-casesensitive+ \3 t4 R5 T' ]" u
  1605. ;com.autoregister_casesensitive = false; J1 N7 D( G2 L( \9 d1 b2 z
  1606. 5 W- z% x* B1 |; j4 h
  1607. ; show warnings on duplicate constant registrations
    " K3 Y" E; d& h5 Y) @% L. }1 D
  1608. ; http://php.net/com.autoregister-verbose
    ; Y+ V4 ?. G% C1 Y& S. q/ E8 w2 i
  1609. ;com.autoregister_verbose = true
    / p  b7 J+ R7 X; [7 [0 V7 j
  1610. ; I* d; I' w. `0 q* ^
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    4 @# J7 g% f/ D% b! I
  1612. ; Default: system ANSI code page, y$ z0 M/ n( O! v3 e. B
  1613. ;com.code_page=# @: J6 w' g" J

  1614. 3 d, `, t9 _7 ?8 c8 D
  1615. [mbstring]
    " d# s  ~6 a; x3 [9 w" V
  1616. ; language for internal character representation.0 w5 h( M. o7 V7 u* ]/ g6 i. P4 S
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ X3 u# H0 S8 r  A* {
  1618. ; http://php.net/mbstring.language
    3 y: {& Y8 S5 ], Z! f2 B
  1619. ;mbstring.language = Japanese
    ! s5 ~- C4 m4 a, o* E6 e

  1620. 4 K# H8 r/ W+ H: m3 @
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * {/ k/ Y1 K! o1 H
  1622. ; internal/script encoding.
    & ~- c& w5 ^2 V6 C$ g
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 t5 O2 n& s) S" U/ C
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 ?+ D* |# a% u' x! C5 `
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    6 A7 b* \3 Q4 D& P
  1626. ;mbstring.internal_encoding =
    9 c4 G2 J' e2 a/ n# Y6 J
  1627. 0 h& [% `! Q6 R2 n% r+ n& f
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.+ B9 L5 M: }, o, `) Y3 i
  1629. ; http input encoding.
    " J0 ~( M6 z' z9 S1 X2 ?2 n+ Y
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.5 A. V. R" m( m3 Z: \. A  ~& H
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ) p+ l- [, n9 b2 _9 q6 ?. K( h6 D$ t' c
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    1 [7 T& r3 j$ u8 U
  1633. ; http://php.net/mbstring.http-input' E- Z% u0 k. ^% Z* _
  1634. ;mbstring.http_input =
    ' I2 }2 e9 E9 J: n

  1635. # Q# ]8 C" L6 k3 c7 f  `% t( }
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.* Q6 |* u+ y( F; C: X7 U
  1637. ; http output encoding.
    " H9 ]# ?! X$ s5 A* {% |
  1638. ; mb_output_handler must be registered as output buffer to function.; h7 T; V' C, g- \; E/ p
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- T6 t2 i/ r/ [% Q6 `9 N6 W3 O
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    / u1 M7 a9 x+ A
  1641. ; To use an output encoding conversion, mbstring's output handler must be set( ~7 {3 s& h5 a2 g; }
  1642. ; otherwise output encoding conversion cannot be performed.
    1 y: X2 o" X# R, {3 l
  1643. ; http://php.net/mbstring.http-output
    2 V9 y) R) U8 F# b1 D* k0 m
  1644. ;mbstring.http_output =
    ) }4 L9 T7 Y. t1 ^6 k. x/ S$ h
  1645. $ W" w* m9 A5 \; Z
  1646. ; enable automatic encoding translation according to- v0 v! a3 ?5 @$ K: e
  1647. ; mbstring.internal_encoding setting. Input chars are
    & I- f# r; z& C
  1648. ; converted to internal encoding by setting this to On.
    - N& i' n. c) p' |
  1649. ; Note: Do _not_ use automatic encoding translation for
    5 }- p$ Q( F. t* ^; A
  1650. ;       portable libs/applications.# h) z: K6 W' j% S) b/ j: X
  1651. ; http://php.net/mbstring.encoding-translation& Q4 e8 v2 D! R' [1 U# k; r
  1652. ;mbstring.encoding_translation = Off% i& D7 o8 {( M7 F! C- [. |

  1653. ) j# y0 l# ^+ B) N7 l1 z
  1654. ; automatic encoding detection order.
    & ]6 `# }' i, N" c
  1655. ; "auto" detect order is changed according to mbstring.language) ]3 G. L, O; i* m: k
  1656. ; http://php.net/mbstring.detect-order
      {+ G/ u( W- a, X, F% ?" q
  1657. ;mbstring.detect_order = auto0 L$ v8 ^+ ^: x, L" ?
  1658. 6 k1 [. E( M3 n  M2 f3 S$ @
  1659. ; substitute_character used when character cannot be converted
    3 W6 q' G! J6 ]& q
  1660. ; one from another( l# q, g! s$ J& L- J* e, G
  1661. ; http://php.net/mbstring.substitute-character
    % V- H0 H" P/ @) p% M
  1662. ;mbstring.substitute_character = none# Z6 t' h! I/ i5 x& M
  1663. ) ?+ R2 e! a) Y& a2 F
  1664. ; overload(replace) single byte functions by mbstring functions.
    / Q. C" U. V% @- p. G2 u
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - h) f, s4 {7 Q( B8 z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    , G& p7 G; a; ~: g' s6 }6 G
  1667. ; For example, 7 for overload everything.* n/ J  I/ _9 X9 W
  1668. ; 0: No overload
    ' {1 _" X% A* v" P2 h( p9 A
  1669. ; 1: Overload mail() function
      D) r, w+ c$ U, k* r5 D
  1670. ; 2: Overload str*() functions4 A1 M, v* |% y/ C+ |8 g3 I- @6 a
  1671. ; 4: Overload ereg*() functions
    ) r  H$ z5 G, k8 J2 }  s
  1672. ; http://php.net/mbstring.func-overload' g- }* ^5 g$ ~7 J8 w8 h6 p9 i7 x. `
  1673. ;mbstring.func_overload = 0
    * ~/ }4 t. N# W2 O, O% V% G8 G; y
  1674. " @7 A! }- P1 p8 @
  1675. ; enable strict encoding detection.2 O" F" _$ [; v: m+ W) G
  1676. ; Default: Off% q$ R3 n; e4 `8 a
  1677. ;mbstring.strict_detection = On5 z8 f8 m4 n& w- p* `& q' g

  1678. / ]2 ]" k# A. u
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : U5 m2 \/ c- A" e
  1680. ; is activated.! p3 J' k6 l: N% q% }6 Q' z. S
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  b- Q6 f) V7 K' N- p4 U( x3 a
  1682. ;mbstring.http_output_conv_mimetype=
    " m, u  j' X; K% ~! C

  1683. 2 [: `( N! H2 {. Z! v2 l! u
  1684. [gd]
    6 y2 i' x) ?. S/ E* S
  1685. ; Tell the jpeg decode to ignore warnings and try to create  o; q- i7 U7 _) p6 _% X$ V: R' h( i
  1686. ; a gd image. The warning will then be displayed as notices2 l* c2 h# L0 D7 I: S
  1687. ; disabled by default7 q6 P) l/ s3 Q+ T- t* f0 c
  1688. ; http://php.net/gd.jpeg-ignore-warning
    9 e/ m% A' I4 ?
  1689. ;gd.jpeg_ignore_warning = 0. T2 O. T  j. \
  1690. & D0 z4 [* c5 I3 s! {
  1691. [exif]4 t9 Q/ q9 D. }8 z8 s
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    9 W8 k" `5 M. b% `+ M; W
  1693. ; With mbstring support this will automatically be converted into the encoding
    - s: I9 j* S" ]6 W
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    # Y. F/ J7 ~2 e/ E3 V
  1695. ; is used. For the decode settings you can distinguish between motorola and
    % n2 i3 G9 ?  k
  1696. ; intel byte order. A decode setting cannot be empty.
    " b! P, v! L  w& [7 N
  1697. ; http://php.net/exif.encode-unicode
      e4 Z& G" k% b# j7 V% k
  1698. ;exif.encode_unicode = ISO-8859-15- ^: R. q3 S3 X4 d2 R- S9 [( ]6 t
  1699. # V. `4 _7 _4 I# _/ h/ }
  1700. ; http://php.net/exif.decode-unicode-motorola6 b5 W# p1 b% l1 `3 K2 W- ?
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    . Q0 y! Q3 ?5 Q# v4 f) o
  1702. 9 g. H! V4 |" H8 s, u. v0 W
  1703. ; http://php.net/exif.decode-unicode-intel/ Y0 A( A5 [) x* l. U# p
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ' Y# V/ |$ z2 m7 p6 T' x* K7 |

  1705. ' T" q+ k4 k9 S& D
  1706. ; http://php.net/exif.encode-jis
    # M4 F' o0 a- I0 Z* Z7 a
  1707. ;exif.encode_jis =8 v+ f8 g$ o* f! F% C
  1708. 4 O  k: l2 }% `; [
  1709. ; http://php.net/exif.decode-jis-motorola
    1 S0 h' z: J$ [2 ]* y* T$ r3 R9 w3 ~, G
  1710. ;exif.decode_jis_motorola = JIS
    2 H" R/ \% K) v7 d) q& p, J
  1711. ' ~! a9 n0 v" Q8 I/ x2 G$ U
  1712. ; http://php.net/exif.decode-jis-intel4 \9 k: p6 b2 k% Y$ _# E
  1713. ;exif.decode_jis_intel    = JIS) L2 K, B$ `) Z* G  [8 U2 W
  1714. . U. X+ H" @6 r2 ]  C
  1715. [Tidy]
    ! z, l1 o9 F( b+ [2 b9 _
  1716. ; The path to a default tidy configuration file to use when using tidy
    5 b8 C( l7 Z# w9 e- N
  1717. ; http://php.net/tidy.default-config" D: h+ Z  j3 O) [3 u
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg) T6 U4 Z! E  f
  1719. & D" `( ~* _/ B4 D6 }. F
  1720. ; Should tidy clean and repair output automatically?. L/ L8 f" J, \6 M: o) t
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ! ?$ l' O0 v9 l9 b% d# c" c# V2 {) ~
  1722. ; such as dynamic images5 ?& W4 r4 T7 o
  1723. ; http://php.net/tidy.clean-output8 @' s! J! Y- n' q, Y
  1724. tidy.clean_output = Off
    * C( G/ t4 s1 [& Z: ^) C

  1725. 5 U1 h- z" k. E( n1 y6 m
  1726. [soap]
    1 r+ s6 D" P0 w  N3 f( c9 b
  1727. ; Enables or disables WSDL caching feature.. ]5 _8 K6 [1 A4 |( A) k
  1728. ; http://php.net/soap.wsdl-cache-enabled
    # v9 ]0 D! z' Q2 B, C
  1729. soap.wsdl_cache_enabled=10 `3 p( ?3 ?& n/ k8 k" @, B6 y8 {+ o
  1730. , T& F* n# O3 P& Y6 Z  O# F( c
  1731. ; Sets the directory name where SOAP extension will put cache files.7 {5 E( P( j9 c+ z& r" [% n
  1732. ; http://php.net/soap.wsdl-cache-dir
    + `, B3 j9 v" U  ~
  1733. soap.wsdl_cache_dir="/tmp"  T. \1 e8 r$ {$ o2 F
  1734. - M9 y  G  b. N' P$ ?
  1735. ; (time to live) Sets the number of second while cached file will be used
    3 h' G3 K; P* {* A* L, `8 Y
  1736. ; instead of original one.
    7 ^7 A  D+ h* d2 s3 E$ x7 z6 X) [
  1737. ; http://php.net/soap.wsdl-cache-ttl3 U1 u3 {1 F0 i% h4 o+ D% F
  1738. soap.wsdl_cache_ttl=86400
    - a( T" _0 [1 A* h/ f
  1739. ( s+ _" ~, a% ]0 Q' @
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ' z: {0 r/ ~1 x# T1 b  |
  1741. soap.wsdl_cache_limit = 5
    ( e* R) _9 J$ Y. c
  1742. : J- Z6 ?) o% K  t, u/ |
  1743. [sysvshm]
    ' {" q6 C9 h4 t$ P
  1744. ; A default size of the shared memory segment
    % H9 V* S$ d( x; c) `! J/ o" R
  1745. ;sysvshm.init_mem = 10000
    4 _: m& N- I! o) J3 h
  1746. ) }8 R* R' I# F) s& D0 C3 _
  1747. [ldap]
    3 g4 v0 g6 G) ^; m/ x
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ) v/ L! B  {% u
  1749. ldap.max_links = -11 I0 t) s, m+ J. J2 X, J! f
  1750. " \! ~) U: X1 z0 Z, f
  1751. [mcrypt]
    % K' a% n# L% Z$ p* G7 A/ E, A
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    - ~  |: H- ]1 G' W
  1753. 2 g* C" H6 g0 Y, K  o' v3 n
  1754. ; Directory where to load mcrypt algorithms
    8 F4 ~1 V0 g) m
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); ]  N0 J- e2 K+ Q
  1756. ;mcrypt.algorithms_dir=
    : J8 A9 q% C& V) O' m: p- J4 B

  1757. : m; @' j* t+ p  J/ `, h
  1758. ; Directory where to load mcrypt modes
    1 t- j3 }4 {0 O9 X. c% ]
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  R+ n; h( A( H" U' A  I' Q, o9 I
  1760. ;mcrypt.modes_dir=
      r0 P* _9 \4 ]. L2 n% c0 R
  1761.   D- x" \+ R" @: c% F
  1762. [dba]
    $ d1 n/ F4 g9 t! Y9 M- f
  1763. ;dba.default_handler=
    / `0 p, }7 R/ x8 y+ I9 k

  1764. : O) ]6 W! J. z1 _8 |3 \! W
  1765. [opcache]
    . O! h6 Q& z- j! _& W+ g5 I; n
  1766. ; Determines if Zend OPCache is enabled2 H0 e, N( ]/ a2 T$ C6 {: A
  1767. ;opcache.enable=0( @' ?2 A  p9 _( i: X
  1768. ( K1 ~, ?0 ~2 g( }  m# I
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    " V" k. B. N9 E  y
  1770. ;opcache.enable_cli=0& l* d# z$ N" Q. _& ?

  1771. 5 @- `' h' V' o9 |6 ]6 u, c
  1772. ; The OPcache shared memory storage size.- D! P2 Y6 r/ K) @/ F1 D
  1773. ;opcache.memory_consumption=648 V' u1 B2 p) P5 [* R

  1774. % ]1 |7 g- V2 }) E* g! k
  1775. ; The amount of memory for interned strings in Mbytes.; X9 s$ H! K3 e: R9 r! p
  1776. ;opcache.interned_strings_buffer=4
    8 d3 D! f% T7 U/ _0 H0 G9 W

  1777. : k) R+ V$ T3 u
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.) j/ `- _0 \8 f6 v  D4 ]
  1779. ; Only numbers between 200 and 1000000 are allowed.5 E/ R1 s* @& h' N3 Q& v6 c3 C
  1780. ;opcache.max_accelerated_files=20008 _: |& _4 s5 z7 {6 m4 E" I  m1 V
  1781. 1 r5 B( z( I% ?& p+ G
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.. R' ?* N! h9 O5 P
  1783. ;opcache.max_wasted_percentage=50 |. Y1 t7 J9 |4 d( _/ J
  1784. 4 h2 L1 @7 u9 v6 v1 Z
  1785. ; When this directive is enabled, the OPcache appends the current working
    3 K3 E  y7 ~4 d8 y/ h. t
  1786. ; directory to the script key, thus eliminating possible collisions between
      q/ g& {3 e/ O" {1 H
  1787. ; files with the same name (basename). Disabling the directive improves  t1 ]7 o+ x. n4 P
  1788. ; performance, but may break existing applications.
    0 m* V' z8 L' m) p0 y# N
  1789. ;opcache.use_cwd=1
    2 y+ d5 e- |8 q  K! B
  1790. 0 H) Y* y/ [! p2 ^; g! S  E
  1791. ; When disabled, you must reset the OPcache manually or restart the; I- c  ^$ z) s8 {* g& O5 `  K# N! I
  1792. ; webserver for changes to the filesystem to take effect.
    % k  h1 p4 p, }3 |4 j
  1793. ;opcache.validate_timestamps=1
    : s7 F. F8 J# S$ a* t  }  c
  1794. 2 e3 u5 j, @0 D+ Y9 t# Q. X
  1795. ; How often (in seconds) to check file timestamps for changes to the shared3 {* G6 I# }' D% c7 M
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    / M0 P* x2 u9 R$ D
  1797. ; once per request. "0" means always validate)
    0 j& U$ ~- G; T* B2 ?0 B8 C, }- x
  1798. ;opcache.revalidate_freq=23 O5 A" M, _$ U/ N, o0 J1 ?
  1799. $ U9 }, w0 ]8 Y% w! _
  1800. ; Enables or disables file search in include_path optimization
    3 x% R0 J- h/ R2 N/ v
  1801. ;opcache.revalidate_path=0
    # J/ }) a. p% }  v1 P/ x

  1802. " [9 O; n$ w2 V
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ' y" l3 }% L* N! W2 E6 P( q
  1804. ; size of the optimized code.
    3 |0 C2 P9 N2 @; H6 T, T( L
  1805. ;opcache.save_comments=1
    - C# P; T/ V" J- V0 C% |

  1806. & r  P' c3 h* |# V
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # V/ j. A5 _+ _5 G$ h
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    8 ^: |+ E- I1 B& B6 r! P
  1809. ;opcache.fast_shutdown=0% j0 Q. q/ D- k8 v) a2 i4 y) U( x
  1810. 0 y+ O. O# D# u" A
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    1 W6 X2 l' Z* P! ]* `' H1 p$ `
  1812. ;opcache.enable_file_override=0$ P  ]# t3 i' ~8 ?1 L

  1813. 9 `  E$ K" Q% B8 l
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache+ v6 A5 c/ ~; b6 h+ F8 n% W
  1815. ; passes- w6 I& e! [; O  z8 `5 B/ w; n! y/ I
  1816. ;opcache.optimization_level=0xffffffff
    ' }5 {1 K4 z' R1 v# \: M1 Z4 R
  1817. ; R5 I. M* ?; D# x" M4 f- k8 {
  1818. ;opcache.inherited_hack=1  {) Y+ h6 x; y$ L" h1 R- j+ a
  1819. ;opcache.dups_fix=0
    / W) z+ ~) B9 n

  1820. 1 V* U, H* g0 g7 H7 Y& o
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    9 H  C) G( X/ l* A; G: p* \
  1822. ; Each OPcache blacklist file is a text file that holds the names of files3 R5 o) u- ^% v6 ?5 l9 @
  1823. ; that should not be accelerated. The file format is to add each filename+ I# ?$ f0 Y6 L
  1824. ; to a new line. The filename may be a full path or just a file prefix
    % I$ {* v9 s) q& l4 W( i" c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' K& u$ q3 B/ m7 M' u! U( ^( r( B
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).% [' K5 {: C' r
  1827. ;opcache.blacklist_filename=  Z3 k. U' n9 l) ]& E

  1828. ' c& G! X  l( ]( ]; w( R
  1829. ; Allows exclusion of large files from being cached. By default all files+ i7 a, L6 O7 R8 i
  1830. ; are cached.! j7 L1 K7 t! a5 f1 q0 Q
  1831. ;opcache.max_file_size=0- ]  `- Y4 E5 p1 d1 ]; g9 g1 d+ P4 r
  1832. 0 Q4 K$ t3 H; K2 w
  1833. ; Check the cache checksum each N requests.
    % }6 L; C5 d6 a5 U6 _
  1834. ; The default value of "0" means that the checks are disabled.5 {" m- c% {; t: w! B
  1835. ;opcache.consistency_checks=0
    , M0 v) }, L/ s

  1836. . _/ m- u) b5 V3 Q0 c0 Z' V& f
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & @/ x& `4 x/ p: Y9 E% i3 _8 q
  1838. ; is not being accessed.
    4 r+ F" A% i  T
  1839. ;opcache.force_restart_timeout=180% R7 b2 O/ c8 }6 w" O, O4 v
  1840. # E$ [1 e+ F7 @* T0 q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ' w' s3 ]: P5 G8 f( t: w. j" \* y9 V
  1842. ;opcache.error_log=: N! g6 q3 \6 }

  1843. 3 C( j5 p0 X& x; g
  1844. ; All OPcache errors go to the Web server log.
    1 ^" m7 A2 U+ z  s
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' V; Z" U; @( q5 |8 x
  1846. ; You can also enable warnings (level 2), info messages (level 3) or% N" ~5 q, Y- ?
  1847. ; debug messages (level 4).
    " l) t6 ?! M) y
  1848. ;opcache.log_verbosity_level=12 F. H& d2 d4 R3 I2 y

  1849. , w4 L% t) U; ?5 z- C
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    5 ~! w) O. V  B5 P8 @: k* l
  1851. ;opcache.preferred_memory_model=
    3 x1 ^$ }# `; w% K% U8 W
  1852. 1 d5 Y# |4 a4 @; V; E' m( c
  1853. ; Protect the shared memory from unexpected writing during script execution.6 r- p% m; `: @; p' U! i9 t* K
  1854. ; Useful for internal debugging only.
    . ?% t4 ]- R1 [/ ]
  1855. ;opcache.protect_memory=0; L2 Z! i* k4 t* i

  1856. 6 R- V4 x# A7 }$ E" S; j; _
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    2 i# h/ M3 \- P/ C1 \& F
  1858. ; started from specified string. The default "" means no restriction
    & u2 h0 Z8 n3 h  ~/ R
  1859. ;opcache.restrict_api=3 S* a8 m/ R/ }' M$ d! r

  1860.   m" y. q* J' s2 Y
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    # C% \  e7 \, E: G# i4 s; A% o- Z1 q
  1862. ; processes have to map shared memory into the same address space. This0 p2 |8 b- g$ b! y% n$ o# U7 S! k- ~3 `
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    " z/ X0 x3 F" K
  1864. ; errors.; d- R. L9 ~1 e8 k
  1865. ;opcache.mmap_base=
    * a6 {) {+ y5 R4 ~" R& i! T3 N( H( o
  1866. . p' M9 H( e" H- R6 b$ {
  1867. ; Enables and sets the second level cache directory.: G; o- N! W# q* [1 z& n
  1868. ; It should improve performance when SHM memory is full, at server restart or1 X/ S- L& z; d
  1869. ; SHM reset. The default "" disables file based caching.; j( K5 E8 x$ O. U; s
  1870. ;opcache.file_cache=$ o3 a" W5 {  i* H' q6 {/ r; F

  1871. 5 S2 R% y4 o$ P1 I: z' l
  1872. ; Enables or disables opcode caching in shared memory." ~6 v& b" E6 e8 V
  1873. ;opcache.file_cache_only=09 Z+ c1 ]/ B" i' T% X# t

  1874. . k) e6 ^- C! s3 x& K+ p$ ]% _9 n" t1 Y5 n
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    : A" Y; U1 {; @3 L5 v8 e0 C& G
  1876. ;opcache.file_cache_consistency_checks=1
    2 N3 x5 o' Y! C/ A* G2 K  x

  1877. / o/ ~0 i# T6 g( V9 @% |5 p
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    * _% P& X9 q/ R
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    / [+ t7 l6 |5 B% }' }! d
  1880. ; cache is required.
    , g% l7 n# `& o6 X6 |; Q- K: t- T
  1881. ;opcache.file_cache_fallback=1
    4 T; f% X7 t1 ?  L

  1882. ' O7 F; k- K0 |, Z; k
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.6 i! [3 }- O+ ?. D/ L& ~
  1884. ; This should improve performance, but requires appropriate OS configuration.
    2 K" I2 J) e* H  ~9 C% {
  1885. ;opcache.huge_code_pages=18 h& G  m+ y. }+ r1 @5 ?

  1886. ( [3 v0 L6 Z# X
  1887. ; Validate cached file permissions.* M( S  j2 r& C& K. Z9 _/ Z
  1888. ; opcache.validate_permission=0
    / E7 a; D& \- e& }4 \0 |

  1889. ; o6 K- R  J) \6 Z5 h8 t7 G
  1890. ; Prevent name collisions in chroot'ed environment.+ H. d5 d9 I6 f- p9 N
  1891. ; opcache.validate_root=0
    0 v. Q" O# S' L
  1892. $ K& L1 i0 t" B
  1893. [curl]
    9 S' @1 u0 [' y7 u5 i( g; |5 Y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an7 n( `6 m! J. b; N
  1895. ; absolute path.1 t( Q( h7 w2 G2 ~$ j
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt) N- A0 i9 s; E# K3 B2 b
  1897. 4 u$ Z0 v& i. Y/ ?9 N- ]
  1898. [openssl]
    * A5 D, }5 F" S$ o8 W1 ]6 e
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem# i  H) ^7 o8 ~7 i7 I
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ! @# ]9 Q. G& u: p, U' T6 x& d
  1901. ; not specify a value for this directive as PHP will attempt to use the
    1 K$ m- C/ D* B% H# x
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    % H2 a! H4 N, V4 y: W3 X: M
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context# c3 G! ?3 W. \, `, m
  1904. ; option.- k1 J( E- V$ x1 U, ^; ?( I$ x
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ; X" \8 h* p. C2 Y+ j$ Y
  1906. ) v5 P. A* m/ l5 U* B. N, G( q# U
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the/ y" m: e0 r! @3 z- G( e
  1908. ; directory pointed to by openssl.capath is searched for a suitable7 X- R2 z& R8 q7 s0 ]- M% w% J
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    & B7 R9 K& i" l$ W
  1910. ; Most users should not specify a value for this directive as PHP will
    % k# L# Z9 u8 ]' w+ e
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified," c( P" V  g: }
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
      s. p4 Y7 V  u. }5 ?! ^8 ?$ [
  1913. ; SSL stream context option.
    ' H: ~* u! U! R( H/ r3 n: r
  1914. ;openssl.capath=
    2 v1 ^; a9 y1 \
  1915. ) B2 `7 ^. m. |9 U9 R
  1916. ; Local Variables:
    5 B  }  o1 c. z7 S6 n! M
  1917. ; tab-width: 4
    , P( v, d* R( o% B, F+ E; F
  1918. ; End:2 k; g! w+ Z1 W
  1919. & S5 }0 b* r/ w8 {0 Q9 C2 I
  1920. ;eaccelerator
    4 B1 R. q, \8 v; ~, f
  1921. 0 r) ]# H: G( E3 b
  1922. ;ionCube
    4 r! D8 e  m( s; k5 v. m
  1923. . D) F3 P( E. F- g" T% V$ ~1 ~9 m
  1924. ;opcache
    ) m8 P/ |% a2 w  X3 G
  1925. $ ]- L7 x1 t' {) P, G
  1926. [Zend ZendGuard Loader]
    - d; b+ L( R% i( Y5 Z1 X
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ) D: G/ ~( \3 X" ^1 F' R! V
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so9 _+ i/ `: j% ~& X6 G: H" Z, D2 U6 T
  1929. ;zend_loader.enable=13 ^+ B8 I. l! ~! j2 U% k  x* G
  1930. ;zend_loader.disable_licensing=0+ s% b" i  {: _  z6 Y" B2 ]
  1931. ;zend_loader.obfuscation_level_support=3
    5 U% _1 u& v" e" j
  1932. ;zend_loader.license_path=
    ) ~0 |$ T0 Q3 a4 Z7 t

  1933.   L5 `! R+ ^. c
  1934. ;xcache
    $ y3 o: E/ B* U  w: t5 Y/ L* F! ~! [* d
  1935. ) A; }, V: {5 w7 t
复制代码

! d, o: F0 z* t' y# ^
8 a6 d* ?' u: C( `: m4 ?% z, V0 V( P$ T* ^  J2 J) K
! ~* v, s1 K! j6 d
: f: O# ~& ?  z7 s' [6 v; \$ f; g# E
+ K/ o% l* Y; Q" G
, Z, ^% ?/ {( `# ~$ q% ]- F
PHP5.6版本原始设置  s0 b: d7 |6 k  `$ G: z
3 W! K5 h& c' D* `9 q5 M
  1. [PHP]
    $ h9 L+ V5 r( H+ b$ m3 b
  2. . E! p6 T' c) H; h
  3. ;;;;;;;;;;;;;;;;;;;
    ) \" i* C# D  ~1 D. h
  4. ; About php.ini   ;! e2 y( r8 z; T7 {/ w, S; ]
  5. ;;;;;;;;;;;;;;;;;;;
    6 I* s8 i4 [7 D+ u' d0 O
  6. ; PHP's initialization file, generally called php.ini, is responsible for3 `: ~  x( Q- f4 Y) J. F. H# a8 `
  7. ; configuring many of the aspects of PHP's behavior./ q: l/ E  `7 L( u. c

  8. : D! a4 G; x; {- D% h# t* D8 l
  9. ; PHP attempts to find and load this configuration from a number of locations.* b4 `" h# L: S1 v
  10. ; The following is a summary of its search order:
    3 {1 ?3 z' R4 ?0 j
  11. ; 1. SAPI module specific location.
    8 m; F% X  p( V8 o% \3 f' Y) m6 Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! O$ J1 G* I: ?
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)! n: w2 s! @" d5 [; m% ^  a6 b
  14. ; 4. Current working directory (except CLI)
    7 v: [& ~" f1 Y6 u2 w/ Z" n9 X1 j
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( x$ U; {. H, q. N
  16. ; (otherwise in Windows)3 @0 i0 t0 {4 }) N- O/ F8 b0 Z0 o
  17. ; 6. The directory from the --with-config-file-path compile time option, or the3 T: Z' i" s0 ~4 C6 J  y# v
  18. ; Windows directory (C:\windows or C:\winnt)
    8 K% R: a: M' H( K/ a/ H; ^# r) ?9 Q" J
  19. ; See the PHP docs for more specific information.
    ' L6 r% C( W& ?$ n5 s
  20. ; http://php.net/configuration.file0 c5 G. y' C* x, ]1 J5 z# d: e% R7 b2 W
  21. 4 O  `/ |9 V: X5 J
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, R$ d9 {- H/ F& e! N, Y, p& O
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    % c8 F) z/ M9 e. e/ w& F2 n' b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    % }7 O. B( P$ {, S
  25. ; they might mean something in the future.7 G0 \6 i' r, |* r# \* T/ G

  26. 1 M4 H1 Q; i0 r! ?
  27. ; Directives following the section heading [PATH=/www/mysite] only- m/ n9 Y. K  N& p
  28. ; apply to PHP files in the /www/mysite directory.  Directives% s: C+ r- K; R" c. F
  29. ; following the section heading [HOST=www.example.com] only apply to& p. q7 d( r! x4 [$ |" g, l
  30. ; PHP files served from www.example.com.  Directives set in these; `. a& C0 \4 k- M  Q
  31. ; special sections cannot be overridden by user-defined INI files or1 j, ^: H  s7 g! K- n
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' T3 a; D3 T( ?* ~2 G
  33. ; CGI/FastCGI.& B1 Y/ E3 L, Q" y: W1 i
  34. ; http://php.net/ini.sections
    - D" Q- W7 e% y6 y
  35. - w* {# T2 F) z2 b# h3 {" ]
  36. ; Directives are specified using the following syntax:
    5 J1 \( m' G! t2 s7 k4 w6 d# M
  37. ; directive = value* r9 _3 }/ w+ ~2 B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . d  k7 u3 Y& T/ B4 j- n
  39. ; Directives are variables used to configure PHP or PHP extensions.
    1 n( {1 e9 G% K0 @5 b: \" [9 s* |% O
  40. ; There is no name validation.  If PHP can't find an expected0 ?8 B+ l8 a2 R% G# ~, R7 t
  41. ; directive because it is not set or is mistyped, a default value will be used.0 V( Q  e! y: D9 f9 @) l- Y" Z

  42. & H3 B: v4 t, I# r( O, M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    1 n  e1 @$ a; X4 z$ j0 D
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + `1 U% v# j' Q; U
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a9 _$ T2 q! N! `7 B' D3 X6 Y# D
  46. ; previously set variable or directive (e.g. ${foo})  G  r1 _1 O3 b. L$ C- z
  47.   h$ x5 B0 e/ Z( f1 ]
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    $ ~, L7 [+ e0 R0 ?+ W( _- P  @
  49. ; |  bitwise OR
    ; @6 [) r% f0 B- u# X
  50. ; ^  bitwise XOR
    . J8 z" s: U9 R8 p
  51. ; &  bitwise AND
    6 V1 h. x3 N) a* O  E# P+ U8 {7 c; ?
  52. ; ~  bitwise NOT$ w9 ?! Y/ u. @& @# q
  53. ; !  boolean NOT
    . v' _0 f4 U$ d) \

  54. 1 g; o$ H  M! E; L# @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 t8 F3 W+ i) g" G. h% E0 x
  56. ; They can be turned off using the values 0, Off, False or No.& T6 S4 k+ }/ u
  57. , o9 _8 {! ?  C# \8 }2 o
  58. ; An empty string can be denoted by simply not writing anything after the equal& l1 h0 ?' {% y+ j6 m
  59. ; sign, or by using the None keyword:5 J, [; c7 I+ d( B" M
  60. 3 i- ]6 K5 \9 R* C' b. T
  61. ;  foo =         ; sets foo to an empty string
    ) ^$ b  j2 Z" O0 s  l% \$ ^5 ^
  62. ;  foo = None    ; sets foo to an empty string
    ! D  c% [. @8 M1 r6 l
  63. ;  foo = "None"  ; sets foo to the string 'None'
    % f5 L8 g) z+ k  U/ p2 h

  64. 0 w3 q* b/ f4 h$ V9 q
  65. ; If you use constants in your value, and these constants belong to a: I0 ~8 Q& ^+ Y0 k; e2 Z5 h
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 E  c3 d* Q' \7 Q! C
  67. ; you may only use these constants *after* the line that loads the extension.; D1 Q2 N1 ~) f; O' E' E
  68. 6 J) S, l8 f; h! ]' z* h
  69. ;;;;;;;;;;;;;;;;;;;
    3 D" \& J: T  j$ F9 e$ j6 w
  70. ; About this file ;% |, j/ C, S* H) L3 `
  71. ;;;;;;;;;;;;;;;;;;;
    9 f, r3 N0 i8 D/ [& Q
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( u& N9 j2 D. v
  73. ; in production environments and one that is recommended to be used in, R) y* k/ ]; w$ k0 g
  74. ; development environments.
    # F2 F5 v: X2 R9 w# d; u7 O, }2 s

  75. 0 x, ~/ o) m1 t
  76. ; php.ini-production contains settings which hold security, performance and! E9 D( g& q" u, _
  77. ; best practices at its core. But please be aware, these settings may break
    1 B5 Q1 p6 T/ `
  78. ; compatibility with older or less security conscience applications. We
    ' @9 D' r: D4 f
  79. ; recommending using the production ini in production and testing environments.
    5 k1 q/ m# c# a3 g  u1 y4 @  ]+ Z& S" I
  80. + d0 E7 Q0 ?- ~6 f# O) e
  81. ; php.ini-development is very similar to its production variant, except it is
    & \) y+ h5 f' T( r( f
  82. ; much more verbose when it comes to errors. We recommend using the
    $ D' p( U! H4 B3 U! O
  83. ; development version only in development environments, as errors shown to% C$ q, y( [! e& W
  84. ; application users can inadvertently leak otherwise secure information.
    ' M7 `, p9 o, d" r) [9 I0 }

  85. ! ^8 M) @; w# j
  86. ; This is php.ini-production INI file.# M) {4 f  w/ Y- K

  87. 6 n8 {% `3 ?* a9 ?2 k
  88. ;;;;;;;;;;;;;;;;;;;9 N# r1 N6 |% {8 Z+ `( O3 Q
  89. ; Quick Reference ;4 F1 W- Q! W; Q! x- g
  90. ;;;;;;;;;;;;;;;;;;;
    : n2 [% s) d9 q/ o
  91. ; The following are all the settings which are different in either the production
    6 }, U# H' i7 L# Y9 I- V
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    : Y& l$ F* A' w# ]1 y8 X
  93. ; Please see the actual settings later in the document for more details as to why( ?" ~! M( u' V) }
  94. ; we recommend these changes in PHP's behavior.
    / i9 D0 d' s  z5 l* W

  95.   C6 c7 b0 O5 ]8 N( l2 `; Q
  96. ; display_errors
    0 O0 a! T% W& n: }8 `7 y
  97. ;   Default Value: On# i$ |* X$ o, G
  98. ;   Development Value: On
    1 L+ e" W2 c- f8 Z: T. g! i
  99. ;   Production Value: Off6 S+ H/ R0 h6 f7 F& H
  100. 6 M3 d" }  p9 S
  101. ; display_startup_errors
    + l+ L0 f2 ?7 ?0 G5 S- }# z
  102. ;   Default Value: Off7 m0 g" {! G5 k) I7 S
  103. ;   Development Value: On1 t2 y% J( r. t7 ~; G
  104. ;   Production Value: Off7 ?2 v- x: O% ^; U
  105. 1 f8 R3 d3 |  R% Q5 a' P
  106. ; error_reporting
    $ ]6 N: W- R/ f  E% E) R2 ?8 @
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ }- e: h+ m* {$ G
  108. ;   Development Value: E_ALL. d3 \! h( u  E
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 L: t( [* f1 q0 V8 T, H$ w' a; ?
  110. $ m: h& Q+ k+ O" a7 P7 t# s' T
  111. ; html_errors
    7 k- t0 o6 ^# {0 n
  112. ;   Default Value: On0 y( s5 }- w8 ~& t
  113. ;   Development Value: On9 y" Y& R* n+ M( T0 q3 ]: ~/ m- |0 T/ u5 y8 b
  114. ;   Production value: On
    5 f" U1 G8 U3 u! T5 k/ ^5 t
  115. 2 z7 u* U0 W) f) t5 ]
  116. ; log_errors
    ' \- `4 h$ ^7 l# u1 e  z
  117. ;   Default Value: Off! Q# C7 m8 H) Y+ B0 F
  118. ;   Development Value: On
    9 @5 ~9 e: P7 W8 Y+ f' K" I
  119. ;   Production Value: On6 i0 ^( c- V7 ]- ?: e! s& t- D1 P6 Z

  120. " `9 D  b" z1 H" v' u8 r3 p6 r
  121. ; max_input_time
      @, |3 T9 e8 d) h: ~1 d. Z! s
  122. ;   Default Value: -1 (Unlimited)+ |0 ~1 H1 G4 z8 U4 s7 t' v
  123. ;   Development Value: 60 (60 seconds)
    5 L0 H' h! K; U" _
  124. ;   Production Value: 60 (60 seconds)$ m+ [1 U) L, X6 l6 d

  125. - [% p6 M, F; A9 R4 M# M6 q/ K
  126. ; output_buffering7 i/ U3 g8 }  Y$ z
  127. ;   Default Value: Off" e# L8 [" c* ]6 P5 ]5 i
  128. ;   Development Value: 4096
    ! F. ~2 S  L+ \' F9 W& A; C0 w, b
  129. ;   Production Value: 4096$ c5 d$ h; e/ w
  130. 3 R" q& E7 u/ B$ C- k
  131. ; register_argc_argv# d0 m: |! @- R4 [
  132. ;   Default Value: On
    ' f% `. t* u3 j7 `( ]3 c
  133. ;   Development Value: Off4 T8 @4 q' j# k' L% u( e( W# N
  134. ;   Production Value: Off
    % |' n. o& W* B9 V  z) S$ w

  135. + y+ A$ Y, `: p5 B+ S
  136. ; request_order" S5 H' R: {0 z  K' r# H$ p  E
  137. ;   Default Value: None
    , q* b0 F% ~, w' W9 S. y$ l4 m
  138. ;   Development Value: "GP"
    7 }: ~4 U- i/ V2 n, ~
  139. ;   Production Value: "GP"
    : ?6 V% k) K% Z0 {6 v% L5 I  T

  140. ( w( I! s* o' b6 \  ^' x: D
  141. ; session.gc_divisor
    7 f6 ^% d9 `6 {3 z% Y& u+ t' {" i
  142. ;   Default Value: 100  y3 d! A$ j9 W! a' U( J
  143. ;   Development Value: 10004 N' ?/ g4 X, D' e$ z# I) r" w1 N
  144. ;   Production Value: 1000( p+ E% M/ Z3 I) C' X( |; n" g/ S3 N
  145. 6 w5 `& V3 b* \& P4 b4 J; o: O8 V* t! C
  146. ; session.hash_bits_per_character& T+ u# _$ F5 M
  147. ;   Default Value: 4
    3 w1 I8 z8 b4 Z; x8 M2 p: A
  148. ;   Development Value: 5
    7 X$ V- E# t- j2 X
  149. ;   Production Value: 5
    & W0 e* o; ~- q; B

  150. ( G; w  y! I; j5 i6 H: s# |
  151. ; short_open_tag4 @0 w' t5 e3 m
  152. ;   Default Value: On
    : r5 O) E# g# \# c8 ?# I4 \
  153. ;   Development Value: Off
    - T8 B; v: [6 @! `, N! }8 H* l
  154. ;   Production Value: Off
    7 ?5 m3 b# e2 Z) [; D6 `  q
  155. , u1 ]3 M3 M. x; h9 I: d
  156. ; track_errors
    4 B$ a9 q" j2 p& b- x$ R
  157. ;   Default Value: Off0 l" _/ N0 l& ]  ?- Q; H
  158. ;   Development Value: On
    - X' {. }# j9 `; a$ N  T# t
  159. ;   Production Value: Off
    - o9 O- z  i, E: K9 n5 \) I

  160. * Z- L7 [/ s( b# F6 k  o! W( T6 Y
  161. ; url_rewriter.tags3 K5 {( c$ N/ N3 A" C
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( X0 r5 f( }: Z; @/ c7 \- L
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : T$ ^7 Y7 V+ Y5 C0 y9 i- O; Q6 `2 f
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 v2 Z% {1 {4 c1 z
  165. ' f% |9 v5 D$ S# Y2 H  L+ G
  166. ; variables_order8 o: V. M  `' D$ H& ^
  167. ;   Default Value: "EGPCS"
    # d' s  Z/ ]1 v* K7 K
  168. ;   Development Value: "GPCS"7 d* M& `8 n& [0 p
  169. ;   Production Value: "GPCS"
    . Z5 K) V+ M# V, r

  170. ; G2 n" g( D4 l' T6 C% I
  171. ;;;;;;;;;;;;;;;;;;;;
    2 D, e7 u. ^% x+ D3 L! B  M& v# p
  172. ; php.ini Options  ;) E' K, p* x/ h# F- b
  173. ;;;;;;;;;;;;;;;;;;;;
    ) `* l/ e" t  d# s+ V: |* M( D
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    2 t; R7 ?; s- k( t
  175. ;user_ini.filename = ".user.ini". ]3 k, Z' I  {9 Y  `2 {( ]

  176. 3 k  U; S& G" q6 G5 O4 O
  177. ; To disable this feature set this option to empty value/ B* _# B8 T, h3 V) L
  178. ;user_ini.filename =
    ( \2 L8 K% V8 k# B+ }8 R- W
  179. . M) X  B& P- k5 K3 U2 y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 z7 N& r# g" ^) k
  181. ;user_ini.cache_ttl = 3003 U. z! D( R3 L) b5 J/ Z. C( w( T
  182. 0 Q" |3 U6 O) o, k4 c0 |, \
  183. ;;;;;;;;;;;;;;;;;;;;6 d9 E$ o! o! A0 v
  184. ; Language Options ;; J. \1 x* q  s; [' v! \' M
  185. ;;;;;;;;;;;;;;;;;;;;2 p2 M( l6 m: x* V3 j; N9 L' ~

  186. 3 Q9 v2 y- N* m, L! J% ?7 f- `
  187. ; Enable the PHP scripting language engine under Apache.
    # Y2 q# C. i$ i  m3 m0 E
  188. ; http://php.net/engine
    ' n  J  s4 ~* S
  189. engine = On
    ; h+ `& `2 j: [1 [! }" [+ s0 N

  190. 8 J9 I8 ]3 {7 h5 H; L
  191. ; This directive determines whether or not PHP will recognize code between
    ( J" @# J6 `: D: i6 U2 {
  192. ; <? and ?> tags as PHP source which should be processed as such. It is) h6 a6 s+ q6 x* z% Q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    9 G6 L6 G4 `1 h$ B- ~
  194. ; should be disabled, as enabling it may result in issues when generating XML" D5 ?9 n8 a5 {5 A+ x
  195. ; documents, however this remains supported for backward compatibility reasons.. Z$ D5 t# I  d- J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 F6 i; I! M3 }: ~
  197. ; used regardless of this directive.3 S- e* l! `* L: p- n1 ?; L3 O
  198. ; Default Value: On5 K: O+ {$ i2 g& B! U7 W. ]1 Z/ O
  199. ; Development Value: Off+ Y1 ~  g- x% ^" V, L' J
  200. ; Production Value: Off' h+ u8 e! t) e9 u* p8 I' [3 t
  201. ; http://php.net/short-open-tag
    9 x; S& O4 }1 N$ B7 l" H
  202. short_open_tag = On
    $ I3 M/ B! Q, j1 W

  203. 9 L. D& u" m4 c
  204. ; Allow ASP-style <% %> tags.
    / ^- k, f9 j' p6 H1 \3 ^" y
  205. ; http://php.net/asp-tags7 G% }# u$ D" [1 l3 A
  206. asp_tags = Off
    " Y/ w9 ~- k) j* R' u- o
  207. 9 _. K; P' D# d
  208. ; The number of significant digits displayed in floating point numbers.
    6 l+ r& T. g  z/ r9 |0 E" H' K
  209. ; http://php.net/precision
    % @0 O5 a' Q6 B4 R0 j
  210. precision = 14
    ; f( t$ K: X4 G! Z0 T7 u' W
  211. 9 B5 r' Y1 Q/ g9 C: q# a2 x9 {+ v
  212. ; Output buffering is a mechanism for controlling how much output data0 f9 u& x- m, ~* Q# k+ Z
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; q7 l0 Z/ i! j& E/ i2 x: M
  214. ; data to the client. If your application's output exceeds this setting, PHP4 M  |" T* g, B4 i7 j9 M5 Z5 S0 ]3 X
  215. ; will send that data in chunks of roughly the size you specify.
    . F! B2 e" }, ~5 U8 U* w( r
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ( L  b& A! ]0 E- C( q- w6 a0 |  l
  217. ; interesting side-effects depending on your application and web server." s0 U% K* d5 [( g2 v/ Y
  218. ; You may be able to send headers and cookies after you've already sent output# `6 A! r  j8 C5 L) ^  X, t
  219. ; through print or echo. You also may see performance benefits if your server is
    ) {) H, r. ^0 o. m7 W  O! s" ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output! L, b$ A4 g( E- Z4 p( }
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ! y6 E, H. O* L* q0 A
  222. ; reasons.
    2 z' Q6 [2 T7 {% E! o& _0 _
  223. ; Note: Output buffering can also be controlled via Output Buffering Control4 a1 c" o' i" S9 g8 J  B% t/ H
  224. ;   functions.5 v( `: f) s! H& x6 t
  225. ; Possible Values:! L& t% v- ~1 C8 r" K* ~
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 p: _! o1 q5 v# Y8 i
  227. ;   Off = Disabled
    7 X. ]: F* `/ E$ u' ]2 j
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.0 I; K2 t: g4 l, J- ]0 f
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI. D) M, w7 u  i* f6 ]: N
  230. ; Default Value: Off
    : U; p1 r7 i) D0 @  i! N
  231. ; Development Value: 4096
    0 I+ A/ v! \/ @
  232. ; Production Value: 40964 |& ?  [$ r6 f7 `' f4 A$ V7 ~
  233. ; http://php.net/output-buffering
    & {/ h. r+ Q! e/ _! ^5 d$ s
  234. output_buffering = 4096
    7 J8 A6 @9 K/ F1 y" L7 h& m7 c7 x
  235. * b! F1 o$ [" i) n* a* y) _5 m
  236. ; You can redirect all of the output of your scripts to a function.  For
    # I+ O  s' [8 y
  237. ; example, if you set output_handler to "mb_output_handler", character
    / |( t+ ]8 c' l5 g
  238. ; encoding will be transparently converted to the specified encoding.
    0 s0 p, f6 K, r: R8 `  k
  239. ; Setting any output handler automatically turns on output buffering.
    8 d4 ^- ~) o0 ~/ [
  240. ; Note: People who wrote portable scripts should not depend on this ini
    " P/ ^( Q. `7 T! N5 f3 Y1 X- P
  241. ;   directive. Instead, explicitly set the output handler using ob_start()." Q/ S3 D, j$ \: ?" A
  242. ;   Using this ini directive may cause problems unless you know what script
    ! k  r" P+ X% k5 F
  243. ;   is doing.' }! H  w* n8 }/ k
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"5 w. Q, c3 w; g; X- h& Z4 Z
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + q$ S( Z4 |  R' A: ~$ n; O4 A
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    $ z* k  e7 W, ]+ D9 t: f" O
  247. ;   Instead you must use zlib.output_handler.6 l9 y& c- b1 X! Z& U
  248. ; http://php.net/output-handler& l- c6 F' O: l/ W
  249. ;output_handler =# y9 z/ E- A' S* K* M7 c, t3 ]

  250. * S% F# N( D; p8 t/ q5 u  T  T
  251. ; Transparent output compression using the zlib library+ q' V9 d, g2 u$ p; I
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; _/ g& V6 a: T; t. q1 m+ [- {
  253. ; to be used for compression (default is 4KB)8 Q  p- |( h  ~! ]3 b6 p/ Q
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP, E* P# s1 c! F0 j% |& G3 J& x8 _2 x
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    8 M. l' o) N" T
  256. ;   compression. If you prefer a larger chunk size for better
    ! G; V( {. o+ g+ _4 Z% l
  257. ;   performance, enable output_buffering in addition.+ X) F6 |: L; N
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ( X9 o; s5 Q/ _  ]9 F0 k
  259. ;   output_handler, or otherwise the output will be corrupted.8 Z8 n- f: I0 C
  260. ; http://php.net/zlib.output-compression
    " ~0 w+ ]- N* }7 \
  261. zlib.output_compression = Off& E+ f* ~3 x  U' e" B1 |
  262. ( z& q+ x% d9 i7 a0 ~% I6 N
  263. ; http://php.net/zlib.output-compression-level6 o0 O+ s8 E2 x& X( v
  264. ;zlib.output_compression_level = -1
    - a$ W" X# u; G" U. r
  265. & c* H$ B$ N; P& y: P. X0 A: V
  266. ; You cannot specify additional output handlers if zlib.output_compression0 h* E7 R( [: k4 ], ?2 r
  267. ; is activated here. This setting does the same as output_handler but in
    . K+ p% k' n( d% V
  268. ; a different order.
    ; f7 P& {" W$ D) w1 o& H5 V, [
  269. ; http://php.net/zlib.output-handler5 |2 t+ F& Q/ c: k
  270. ;zlib.output_handler =
    1 e% J' J, }/ h6 x) Z
  271. . @- y8 H* z0 F& N: b7 S$ d! R
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ' r$ Z/ B8 w& r; O. S- t
  273. ; automatically after every output block.  This is equivalent to calling the' [6 u( V- O6 |- d# {# l! [7 k- ]
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ' c5 Q6 I+ ~3 S/ v& N
  275. ; and every HTML block.  Turning this option on has serious performance
    - M) c4 _5 c& Q+ }4 ]
  276. ; implications and is generally recommended for debugging purposes only.
    % a& Z0 [" x! M4 n, r7 Q( M
  277. ; http://php.net/implicit-flush. z0 _3 ]( Q5 b2 v: J% Q
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    8 c) _# c! w% m  w6 f1 o: N+ d
  279. implicit_flush = Off* A3 Q: T& z% L  R

  280. 5 x- |8 D8 C: u# q0 }( @0 u
  281. ; The unserialize callback function will be called (with the undefined class'
    6 O, `6 c- _$ T( n* z
  282. ; name as parameter), if the unserializer finds an undefined class
    " w0 v$ G! f9 K: X1 `) }
  283. ; which should be instantiated. A warning appears if the specified function is6 s* F5 r  ^4 U1 K0 A* ]! |) e, z
  284. ; not defined, or if the function doesn't include/implement the missing class." [7 l$ Y! [4 x" C& e6 h+ \
  285. ; So only set this entry, if you really want to implement such a1 W6 X5 Y) [1 p4 n
  286. ; callback-function.. W( }0 W' z' G; p1 \
  287. unserialize_callback_func =# u% A, r/ P# m( X+ u3 E

  288. , [- b( A: Z: D9 s/ t
  289. ; When floats & doubles are serialized store serialize_precision significant
    ) K9 [6 y8 r3 i3 G
  290. ; digits after the floating point. The default value ensures that when floats
    , P! }- g5 I9 f" W* ~) N# Q* e* h
  291. ; are decoded with unserialize, the data will remain the same., H. y8 K. E" z0 v0 L! `! h
  292. serialize_precision = 17
    ) ?, k: m8 [" ^6 |6 G5 M

  293. ; [. h" V, Z1 Y6 R3 Q3 o% r
  294. ; open_basedir, if set, limits all file operations to the defined directory; t0 m0 U# v8 G3 X2 [) k1 n
  295. ; and below.  This directive makes most sense if used in a per-directory
    8 a/ A: S" n( `% V4 W
  296. ; or per-virtualhost web server configuration file.
      V, G* z/ b" G9 ?
  297. ; http://php.net/open-basedir
    0 T: Z5 J' I8 x+ y3 B
  298. ;open_basedir =! d! J" ^7 g6 L9 b

  299. 3 R, U7 F- ~1 L' d4 ]' [
  300. ; This directive allows you to disable certain functions for security reasons.$ S! T4 C% u# n
  301. ; It receives a comma-delimited list of function names.  e5 p& Q8 {6 I4 O( o! F6 P. D( a
  302. ; http://php.net/disable-functions
    + {# I( T3 o  S8 @
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    4 A  l  V* H; d$ ^
  304. & }; s( W' ^! l; ?% W6 }
  305. ; This directive allows you to disable certain classes for security reasons.
    . c" j1 w2 O. W3 I& _
  306. ; It receives a comma-delimited list of class names.
    ) p5 U2 p% p) l7 ]4 ^* V
  307. ; http://php.net/disable-classes
    / t" B) z1 y/ D: c5 J# R) i: ?
  308. disable_classes =
    ( D' ^  h- d" K

  309. + D% e1 _/ Y3 X  }- n
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    1 Z, U* z' c" D5 I7 G/ V
  311. ; <span style="color: ???????"> would work.9 R! A, t0 l1 o
  312. ; http://php.net/syntax-highlighting
    , p5 J/ |8 \& v0 _& O$ c$ d1 u
  313. ;highlight.string  = #DD0000& Q* t8 J+ E; N& B/ U
  314. ;highlight.comment = #FF9900
    $ W5 ?; V: _$ W, e) U7 [4 d
  315. ;highlight.keyword = #007700: P: @; _! W% A
  316. ;highlight.default = #0000BB
    ) p8 W) ?9 P5 v' H& G) i, E
  317. ;highlight.html    = #0000004 D3 l# a2 z7 |3 t& B3 f7 @5 I+ g
  318. 2 Z, B! X; f5 [: O7 V& G5 A
  319. ; If enabled, the request will be allowed to complete even if the user aborts: |. s/ R; c' ?& N, ~# g
  320. ; the request. Consider enabling it if executing long requests, which may end up
    3 M3 B# E3 g/ \1 u
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior# D- i& t. ?, t8 G: \
  322. ; is to disable this feature., g6 V* W6 P' n1 _/ J- G, C$ G# _
  323. ; http://php.net/ignore-user-abort1 \0 X6 [+ D. Q" s* ^, o
  324. ;ignore_user_abort = On
    5 `4 M% z& P$ W. ]' [. w# k8 @

  325. 3 C" K8 X- v, T" Z
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* L& m% a7 W) j& O; U
  327. ; be increased on systems where PHP opens many files to reflect the quantity of4 W. F+ \7 ]& g& S/ ^* i
  328. ; the file operations performed.
    " a8 r. J4 s2 d  G: o
  329. ; http://php.net/realpath-cache-size
    6 S$ s9 z, M- o, j: g/ Q% V4 @" u
  330. ;realpath_cache_size = 16k
    : E! V+ Z) C- P' B; ]3 w

  331. 3 u" t) S6 }& F' h! U( S$ [
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ! r9 M# ?6 w6 P4 r7 i" C4 c  x
  333. ; file or directory. For systems with rarely changing files, consider increasing this4 \; L# s3 V5 s0 P
  334. ; value.0 X4 j  g  y" ^$ n( g. A
  335. ; http://php.net/realpath-cache-ttl
      ?6 D$ M* |- n6 F3 y7 l; z0 s, ^; w' P
  336. ;realpath_cache_ttl = 120
      U, S/ w/ K: v

  337. : h4 _! J9 o( F' A5 R
  338. ; Enables or disables the circular reference collector.; Y! u6 N! x% ^; C& _
  339. ; http://php.net/zend.enable-gc
    1 y9 e$ R: U! Y
  340. zend.enable_gc = On9 n' j5 ^  a, K. z% ?

  341. 1 }6 i( [, Q6 @  o* z
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    & R. `  a8 m: x; M
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    $ d% N: G& @1 M9 U- J' G& u
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    / R& U5 g( B0 }! |2 @
  345. ; Default: Off
    % j# m/ z0 R6 j6 _1 e
  346. ;zend.multibyte = Off
    $ w! A3 r! H3 h7 n8 J3 p4 {
  347. 0 g) G2 o/ Y" r8 K/ ?& E
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    + ^3 A: k1 m2 e5 e7 e
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.9 o1 b! p: H4 M' p5 e) `
  350. ; Only affects if zend.multibyte is set.
    4 y% I' A) f) ~
  351. ; Default: ""
    / A: M+ ?! z: p0 b4 N3 Q
  352. ;zend.script_encoding =/ \/ l# i: I9 |4 B- j! J

  353. 2 Q$ {5 q' K' k9 b0 k
  354. ;;;;;;;;;;;;;;;;;
    ! R, w- Y$ }9 a9 C2 p
  355. ; Miscellaneous ;, m$ Y( ?; a0 r  w
  356. ;;;;;;;;;;;;;;;;;4 U- M9 z$ u# E! A+ h8 {( P5 L! Q
  357. ' G& }1 D' t6 a4 {0 o7 Y; h! |
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    / r. L: x8 z4 Y7 z, X9 r! p' o
  359. ; (e.g. by adding its signature to the Web server header).  It is no security4 U  P" w% f1 k/ @) |: O5 v1 w5 l  B
  360. ; threat in any way, but it makes it possible to determine whether you use PHP8 E3 Y7 e/ `; p1 o% c
  361. ; on your server or not.
      Y' O; y" U6 t8 ~; ^# t4 b  i
  362. ; http://php.net/expose-php! b) Q3 r- c8 `# y: I& Y! B7 S
  363. expose_php = On! s3 @6 A; o0 \* g
  364. % H2 Y/ w6 `& Z% P6 x0 ]6 ^
  365. ;;;;;;;;;;;;;;;;;;;
    , S$ J( D  B+ t2 J" S% u
  366. ; Resource Limits ;, t& ]: N3 y) w  e5 f% g  e3 _3 \& ^
  367. ;;;;;;;;;;;;;;;;;;;
    * ~) n1 u) |5 e) u9 T  R

  368. " l" w* C+ B$ q3 N# d3 y
  369. ; Maximum execution time of each script, in seconds
    & R; N% f* J$ k  o" H
  370. ; http://php.net/max-execution-time) }0 N; ?6 s( V8 D$ h' C  a
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ) k9 H! K+ o" Q6 }8 o$ T- x* V9 }7 \
  372. max_execution_time = 300
    $ Q& }2 ^  b  F( d0 i! Z
  373. # ?, S1 a  y0 f! r6 X8 O
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( c( z9 }1 S6 J$ P( q1 w& D3 q  R
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly5 R& c4 h0 [- M6 u
  376. ; long running scripts.$ j( n- u4 _% d# i# z2 R( V. Z
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI. w( n/ @) i  b1 f* w! i
  378. ; Default Value: -1 (Unlimited)
    . |, T  t0 W! }
  379. ; Development Value: 60 (60 seconds): _2 V, d: T4 F0 i: m$ M: {
  380. ; Production Value: 60 (60 seconds)
    5 P* h! W% o! Z+ f3 \  g
  381. ; http://php.net/max-input-time: U$ ~) _8 f$ ^& ]* z" Q* `3 z
  382. max_input_time = 60
    0 i0 l. ^; N1 w  x6 u

  383. : z& g4 O* [5 L+ V3 `3 Q8 o, g" w: p
  384. ; Maximum input variable nesting level
    6 h: w/ B- @% S- ]/ a
  385. ; http://php.net/max-input-nesting-level6 X! s0 g4 F# {' n" [2 s$ N
  386. ;max_input_nesting_level = 64' C2 p6 Y  k4 X5 E3 m

  387.   x% x0 k; l. O3 F" q0 k+ b
  388. ; How many GET/POST/COOKIE input variables may be accepted
    * F( {' a% E- c! I
  389. ; max_input_vars = 10008 J; Z* }+ F3 [( i* g
  390. ( x8 r; a: F; v' X% A9 W* o' ]
  391. ; Maximum amount of memory a script may consume (128MB)2 E5 ~( Y  u1 v
  392. ; http://php.net/memory-limit( Z) P2 U6 {: U0 j1 o& G7 g( B, h! p
  393. memory_limit = 128M
    1 I! ^: G2 H" a+ |( h

  394. 9 \; y9 C& g- U% V7 i3 k
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * z6 P3 j" R+ t! y
  396. ; Error handling and logging ;7 l0 D! L& d" `' k0 W
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. C- r# T4 f) L3 y

  398. 7 }. o, j- R) V1 O. A7 N
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ; _2 d. D& b/ R3 }7 |+ P
  400. ; it to take action for. The recommended way of setting values for this8 Y7 |& j" q, I& V+ u0 L
  401. ; directive is through the use of the error level constants and bitwise
    , M$ L! W0 l' a
  402. ; operators. The error level constants are below here for convenience as well as
    5 [. g' E  R( f: \* n
  403. ; some common settings and their meanings.2 @- I5 j, u2 k, @5 a
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* G, l7 ^' t5 \: @, E7 w6 I
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! H3 ]) D9 ^$ `8 o: N5 q. Y
  406. ; recommended coding standards in PHP. For performance reasons, this is the, |& _4 f/ l/ s% R
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    / N0 ]" g* M. f6 T$ z0 f# b
  408. ; resources complaining about best practices and coding standards. That's what
    ( O  ?% a3 s7 t9 ~  r) N, E6 o
  409. ; development servers and development settings are for.% v: w* j0 J$ w+ a+ |2 @6 b& I* Y
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    $ \, g1 A. o1 R$ E! I0 c
  411. ; means it pretty much reports everything which is exactly what you want during
    3 J: M  c9 e# J8 {2 M5 H
  412. ; development and early testing.
    . n6 Q% B( h7 I1 r' @
  413. ;# M2 a) k0 Z' G$ p
  414. ; Error Level Constants:
    $ j: V( n6 ?8 g
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0): V  v, r  S, b0 j; o0 `7 K0 @
  416. ; E_ERROR           - fatal run-time errors) x: z1 s* ^2 P6 V' C
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ b% K) e; a% }$ f* G
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ; l5 c# G' B6 a5 t0 {6 T: u
  419. ; E_PARSE           - compile-time parse errors; Q4 ]# `  E6 ]/ o0 Z
  420. ; E_NOTICE          - run-time notices (these are warnings which often result+ T9 q5 N; M' D; |7 W; `5 U. M
  421. ;                     from a bug in your code, but it's possible that it was
    7 p. O8 Y8 ]& [: ~
  422. ;                     intentional (e.g., using an uninitialized variable and
    - @  q. J4 r4 \* V9 A9 k
  423. ;                     relying on the fact it is automatically initialized to an  F( A% }9 y# _) f
  424. ;                     empty string)
    6 d1 E5 c$ o7 h1 x4 c; `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 m% H0 O& g" P% ~; B. O$ t  a7 V
  426. ;                     to your code which will ensure the best interoperability
    ( C% L  C( e; q
  427. ;                     and forward compatibility of your code
    1 a) c7 _3 [# i; R6 M
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup0 x! I' j' d) L3 P4 v- d
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 Y2 T: |6 a0 ^# d
  430. ;                     initial startup
    $ ]/ q4 w% C8 V" @4 H" V- W) x
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ {5 A- t0 l9 v: O1 v
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ( C9 w; L' |( v2 i* b4 h
  433. ; E_USER_ERROR      - user-generated error message
    & b% |" D5 F2 _. I' H, e- b3 N
  434. ; E_USER_WARNING    - user-generated warning message8 o1 m; [3 S8 U
  435. ; E_USER_NOTICE     - user-generated notice message: p) U) Q$ T/ S- C# d$ i$ M
  436. ; E_DEPRECATED      - warn about code that will not work in future versions/ m( v9 `! g6 j1 i) E+ }" M2 q
  437. ;                     of PHP) C: c2 j/ t* d, M0 S
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    . e- f% O( M9 W7 e( d& O
  439. ;  e; h6 K' J$ W& |$ M
  440. ; Common Values:
    2 i# Q, C  ]$ {* ~* a6 K
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    * I0 ]8 Z/ G. P% G& y6 _0 p
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)8 i2 G# @1 f' N. W& |
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)$ C1 w0 X+ L& O/ H6 h- P+ Y
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    / B: ~1 ^4 x, ]/ {% F, ?4 j
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , Q: ?$ {& `0 b& S; V3 o! J
  446. ; Development Value: E_ALL
      {5 t( P5 t& {
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( }$ L; g3 N$ |5 U: R) u3 n' u" g
  448. ; http://php.net/error-reporting/ `5 g3 W; B: r' m& \7 f, [+ y
  449. error_reporting = E_ALL & ~E_NOTICE
    , _3 u& f/ b6 \( D  z

  450. , N/ J4 A  r. P7 H7 {( R' _' A1 T
  451. ; This directive controls whether or not and where PHP will output errors,
    ( J6 Q- F- u3 D0 w. L
  452. ; notices and warnings too. Error output is very useful during development, but; S* ?; l' U. t! Q9 k. w& i
  453. ; it could be very dangerous in production environments. Depending on the code. x' d, `8 s! y) F- a
  454. ; which is triggering the error, sensitive information could potentially leak
    / V1 B+ v" g8 G
  455. ; out of your application such as database usernames and passwords or worse.2 P9 |% f9 Z0 g+ I
  456. ; For production environments, we recommend logging errors rather than
    5 }2 T$ ?5 x: ]* s+ i; E3 \3 q
  457. ; sending them to STDOUT.' {5 U$ q! x0 G
  458. ; Possible Values:
    # g* g$ y% {- ~4 P3 \: C( S! R, H2 W
  459. ;   Off = Do not display any errors+ p0 W- i  m" j
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!), d" @) Q( j0 l* y/ R; a
  461. ;   On or stdout = Display errors to STDOUT
    0 P4 K2 Y3 ?/ |( I: }% B. o
  462. ; Default Value: On
    : k: Q' _2 {6 r  ?- K: ~
  463. ; Development Value: On5 q3 F( [9 r3 S# n4 v+ @% x' ?
  464. ; Production Value: Off- A/ Z1 r+ F4 h# }
  465. ; http://php.net/display-errors
    ; K! x, P  K$ w3 a5 \
  466. display_errors = On( ~3 O0 B7 G1 n0 [
  467. , ~- ^. p: o9 E$ q! R! _
  468. ; The display of errors which occur during PHP's startup sequence are handled0 {$ G6 N3 Q. z" p! S
  469. ; separately from display_errors. PHP's default behavior is to suppress those+ n' ~& Z# V' \; ]
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    : g, a6 m* I* |; W3 i8 x
  471. ; debugging configuration problems. We strongly recommend you" q& J- L9 R8 J5 d0 n
  472. ; set this to 'off' for production servers.) B$ Y1 E+ M9 r5 {. R  W
  473. ; Default Value: Off
    " g# S5 H$ s/ G" c# B7 s
  474. ; Development Value: On4 i% ^* A4 o' \1 W
  475. ; Production Value: Off
    & m. W' I; k5 Q$ y2 n( B
  476. ; http://php.net/display-startup-errors
    4 @3 s, B+ w. i' t  O) ?
  477. display_startup_errors = Off5 P: k5 H5 |) Z4 _

  478. 2 X+ {5 Q3 C9 O) C0 I
  479. ; Besides displaying errors, PHP can also log errors to locations such as a0 v- C7 F' k; O
  480. ; server-specific log, STDERR, or a location specified by the error_log$ m. O: Q7 d+ M2 Y& \) y/ c2 o
  481. ; directive found below. While errors should not be displayed on productions5 Q( z4 P7 h% H: s$ P" Z
  482. ; servers they should still be monitored and logging is a great way to do that.( V% n* o9 _- A  b) W. g4 I
  483. ; Default Value: Off! w3 D% H6 C  j7 E  `
  484. ; Development Value: On
    , {  m- f3 Z7 q6 m
  485. ; Production Value: On+ b" x) s0 y: V7 |9 M" S3 {
  486. ; http://php.net/log-errors
    $ y1 B, `' R# d' b: G" w2 y- ?  d2 L  {+ T
  487. log_errors = On  A3 _. z* M1 T! {$ b$ W( [
  488. 5 `5 |- n5 i8 f
  489. ; Set maximum length of log_errors. In error_log information about the source is
    2 F' p5 j+ R' x
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / f7 [1 _2 x6 E3 l
  491. ; http://php.net/log-errors-max-len
    ) y* @$ G) t% y$ B
  492. log_errors_max_len = 1024/ l( ^( F, a& _8 M
  493. - T$ N* Q0 v  S$ ~0 q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . f& t/ N. {% r: H* J
  495. ; line unless ignore_repeated_source is set true.
    ! l8 i/ f+ ^. U. p
  496. ; http://php.net/ignore-repeated-errors. d# g2 e2 W" K+ p% S
  497. ignore_repeated_errors = Off6 o0 r( B+ A7 {) o% x. F- q7 ?
  498. / q/ Z5 x2 ?8 Z  U' w
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    + V5 g% h: J& ?1 _9 F# }
  500. ; is On you will not log errors with repeated messages from different files or3 p! [! H3 o  X
  501. ; source lines.( k7 _/ U' |1 Z
  502. ; http://php.net/ignore-repeated-source
    " ^# G& m* X" ?5 [
  503. ignore_repeated_source = Off
    % ~  Y  h% H' W# F* C
  504. 1 q2 m( y$ z/ @0 d/ f7 Y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    9 k- W( k& {/ o, T2 p  b
  506. ; stdout or in the log). This has only effect in a debug compile, and if4 L6 M  q3 h( C" c- t
  507. ; error reporting includes E_WARNING in the allowed list1 e" n, F- L& E8 T+ |
  508. ; http://php.net/report-memleaks
    9 k; x5 x+ k' m. y1 C; n
  509. report_memleaks = On! S2 I6 ?" c* d" j
  510. ( o+ _, w6 p# @. ]0 m+ j( C
  511. ; This setting is on by default.
    ) I4 {% D5 L/ \' C/ z
  512. ;report_zend_debug = 0  E/ o0 P( e/ m7 E" o! M) x

  513. ! V, e: T! x' Z9 o4 M! n, g+ Q
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value* n1 u* _7 r/ D" i, z9 j
  515. ; to On can assist in debugging and is appropriate for development servers. It should3 X, F' G) J) p" [1 R2 k: c
  516. ; however be disabled on production servers.* R2 ^4 X  b! b, T, c
  517. ; Default Value: Off% B" I& X  a1 ^9 V, K
  518. ; Development Value: On
    - X) s+ [) f$ [
  519. ; Production Value: Off
      X( P+ Q5 w% a: B
  520. ; http://php.net/track-errors
    * c. K' n" F5 X, d+ R; q
  521. track_errors = Off- `1 {0 h" D9 |/ p# {' x9 x9 M

  522. 0 A6 B0 L/ ?; B9 Q2 u9 k
  523. ; Turn off normal error reporting and emit XML-RPC error XML6 `% o# f) c5 J" e$ |5 r' D
  524. ; http://php.net/xmlrpc-errors4 L8 y% X7 R* k/ L* r( E
  525. ;xmlrpc_errors = 0. u2 ~  M# p- X. Q4 G2 A
  526. % D' r1 k$ m- ^! Y
  527. ; An XML-RPC faultCode2 p: y2 ^- b1 Z$ `+ _
  528. ;xmlrpc_error_number = 0
    ; d* p4 o: g; a5 j+ U
  529. , y  m3 O/ ]! M" e. i6 F
  530. ; When PHP displays or logs an error, it has the capability of formatting the3 r! A, {+ w6 K. i: i6 u
  531. ; error message as HTML for easier reading. This directive controls whether1 X  e( l' J1 [9 o/ Q4 [
  532. ; the error message is formatted as HTML or not.% W+ b' y, c+ M7 N% J
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI+ t" @$ [1 ?8 }0 Z' w' {8 W
  534. ; Default Value: On5 f) G6 Y  P2 V" y1 }
  535. ; Development Value: On
    ' z- E/ y$ c6 K9 R. {
  536. ; Production value: On3 C( g! W) A2 t( n+ W+ f3 u
  537. ; http://php.net/html-errors7 k% [) r! S4 v7 z0 B
  538. html_errors = On( V0 h$ ]* s$ M( H& f, u

  539. ; a2 ]! Y% N, C. ?5 T
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    5 ]6 D: v- z, d
  541. ; produces clickable error messages that direct to a page describing the error/ \: o' O! z* j3 g; i, w  l
  542. ; or function causing the error in detail.
    1 ~1 G. ~! T7 T9 U1 b, i
  543. ; You can download a copy of the PHP manual from http://php.net/docs' n7 _( p) a4 Y8 o3 O
  544. ; and change docref_root to the base URL of your local copy including the& ^7 @% k# W$ v! p- t# @* {# ^1 p
  545. ; leading '/'. You must also specify the file extension being used including
    $ W, z: `. _$ g
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which; Y0 Q; _  ]* f1 f; u0 z& V5 Y
  547. ; case no links to documentation are generated.
    1 O- k. o# j. A
  548. ; Note: Never use this feature for production boxes.) y6 A6 v7 y, `8 f* e
  549. ; http://php.net/docref-root
    9 X- r7 u& P$ d- z6 x; r
  550. ; Examples
    + C. S8 _. {" F7 G/ v) t1 E
  551. ;docref_root = "/phpmanual/"
    8 k% ?2 l3 t. X) Z+ A
  552. & L+ c3 w. m3 Q- j* |/ }! s
  553. ; http://php.net/docref-ext$ d1 e' M2 g2 W. Q6 Q9 o3 A
  554. ;docref_ext = .html
    3 ?  T, f8 Y- ]: p# z& @8 ?
  555. $ D% W! d. U  ^* d5 P6 N( }: m
  556. ; String to output before an error message. PHP's default behavior is to leave
    3 A5 r. ^2 G5 n' x
  557. ; this setting blank.
    9 Z" P$ C' Q1 J$ G) i- a7 I2 ]. c
  558. ; http://php.net/error-prepend-string
    , W, Y0 g: o0 h6 h8 k9 ^: ]3 z
  559. ; Example:
    - C+ w! m3 x+ m+ @8 c8 t
  560. ;error_prepend_string = "<span style='color: #ff0000'>"& Y1 a1 M  _4 N7 z6 Z2 w, n
  561. ( {- F4 V8 B" O- s- H
  562. ; String to output after an error message. PHP's default behavior is to leave& c" V, p4 O% ^0 W7 ?" z
  563. ; this setting blank." h8 ^7 y! N6 L9 z' e
  564. ; http://php.net/error-append-string) N' S8 w3 t; {; ~+ k
  565. ; Example:
    ' ~; l6 y! i/ B' F& U6 F9 R) x
  566. ;error_append_string = "</span>"
    * o& S5 t8 s9 S, O% a5 }
  567.   E* E) f6 H' \
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    7 X+ x) J- ^: ^( B' Q0 K! W2 r5 d
  569. ; empty.  N* C& S4 z) v0 l1 U- p7 T7 B
  570. ; http://php.net/error-log
    - h- `8 j% `" e" N5 k; k* P/ n
  571. ; Example:
    1 g( y/ e9 k) |9 y) G: B- r
  572. ;error_log = php_errors.log
    ! x4 {/ @; c+ C- ^6 ~
  573. ; Log errors to syslog (Event Log on Windows).$ R- S% q) x0 h7 j
  574. ;error_log = syslog  }1 t$ e. v6 ~: R) {

  575. 6 b4 Z& s! n& F
  576. ;windows.show_crt_warning( Z, U& B1 }! g3 `
  577. ; Default value: 0$ @  ?1 ~' {1 s
  578. ; Development value: 0/ I3 ]- E; @2 q7 M/ n
  579. ; Production value: 0
    ( I8 F0 p  m: [# l- g) E" `. R& T

  580. ) ^5 e+ x4 `5 h* w
  581. ;;;;;;;;;;;;;;;;;
    6 f1 D4 G) X5 a! Q% Y
  582. ; Data Handling ;
    / l3 c  g4 b7 E$ \* |5 ]
  583. ;;;;;;;;;;;;;;;;;
    % ^" \$ B; }2 I' d; S+ r1 ^( L* j

  584. 9 l5 D3 t1 `* Y7 E
  585. ; The separator used in PHP generated URLs to separate arguments.
    3 b+ x/ h* U! f* R" P3 \
  586. ; PHP's default setting is "&".
    6 E, J( h- a/ L+ k+ `
  587. ; http://php.net/arg-separator.output( @. L6 j/ O; O! g
  588. ; Example:! Z* W9 J4 o9 A: o! X+ G
  589. ;arg_separator.output = "&amp;"
    * R' V* m3 `7 x; i4 J( H6 t  m
  590. ( _" \% T% }, o* S6 E
  591. ; List of separator(s) used by PHP to parse input URLs into variables.2 A) `; ^% X9 I
  592. ; PHP's default setting is "&".
    * l% ?7 A2 j8 B7 J* s
  593. ; NOTE: Every character in this directive is considered as separator!
    $ R9 E$ I$ _8 c
  594. ; http://php.net/arg-separator.input. W* A2 B) Q1 m5 m* v; X
  595. ; Example:
    & Z! d  O# c3 {* X2 m% v4 i
  596. ;arg_separator.input = ";&"$ l& w+ z* c( I6 c0 h
  597. , A  o2 E" ?3 f( o
  598. ; This directive determines which super global arrays are registered when PHP7 h8 {, P9 p( l8 J
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super, f! t$ J; A- f5 n/ ]* e( E
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 f+ d) O6 W( s, h7 f% _0 v
  601. ; paid for the registration of these arrays and because ENV is not as commonly* \) k2 W6 v% w+ F9 F8 c* f
  602. ; used as the others, ENV is not recommended on productions servers. You
    6 O- |/ p2 Q$ }/ g; \
  603. ; can still get access to the environment variables through getenv() should you
    % H$ @. F! P& h& U( P: p
  604. ; need to.
    ! c) W$ d! f' Z" }8 H1 i. L/ K
  605. ; Default Value: "EGPCS"
    2 E. c5 l4 i$ E5 x
  606. ; Development Value: "GPCS"7 Z8 g+ d6 D+ R1 t% w
  607. ; Production Value: "GPCS";' R/ d5 N1 G8 F; o6 I5 K
  608. ; http://php.net/variables-order/ Q5 W  k7 |/ M$ l* r# @
  609. variables_order = "GPCS"
    % [' f4 [( k) c, R% ^" l/ X

  610. . T& e+ {: S! A; u# r
  611. ; This directive determines which super global data (G,P & C) should be5 b# A! Y2 N( p! p
  612. ; registered into the super global array REQUEST. If so, it also determines
    3 y) j' V* X3 s
  613. ; the order in which that data is registered. The values for this directive# ]/ z% _" X/ f$ t) I
  614. ; are specified in the same manner as the variables_order directive,
    ! s- P  M" t. k7 L. t
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set0 q3 m& l, c' _6 a% z
  616. ; in the variables_order directive. It does not mean it will leave the super
    " T9 D8 v5 f, d, g. h' r( \
  617. ; globals array REQUEST empty., Y7 R2 g  @# M: C/ b6 ^
  618. ; Default Value: None  Z- a* @  `8 Q1 X
  619. ; Development Value: "GP"
    ( H+ ]# C5 u/ N- I3 p) a& N
  620. ; Production Value: "GP"
    & [: @6 _3 S" ]- L
  621. ; http://php.net/request-order" a" G1 d( r* G' k# Q( U, x
  622. request_order = "GP"
    8 E3 G9 B5 u. x/ t0 c1 M7 }8 E) C
  623. 7 L- V# s2 Q6 k5 y- @5 |
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    2 }% n6 ^8 o3 H8 A
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script2 L0 ^0 n& c% z# i0 E
  626. ; is invoked. $argc contains an integer representing the number of arguments6 ^8 P/ O5 [9 z: I+ l
  627. ; that were passed when the script was invoked. These arrays are extremely
    % }% [* K* m% C) F! J
  628. ; useful when running scripts from the command line. When this directive is
    ; d% R" Q! ^( a3 L3 B  k
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ' P% `0 Y5 t3 e$ C  {
  630. ; a script is executed. For performance reasons, this feature should be disabled& Y; z1 ?" u" W7 w( ^) M
  631. ; on production servers.& H4 J" H- z# c% a% a4 N
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    & e% O  X9 c4 i4 }- H
  633. ; Default Value: On
    : F% `8 U, P, n
  634. ; Development Value: Off
    2 m3 w/ L; {5 f2 b# r5 S
  635. ; Production Value: Off$ m1 _$ i9 K& K9 {' Y3 r# Q
  636. ; http://php.net/register-argc-argv8 L, }/ ]# |/ Q
  637. register_argc_argv = Off
    2 w5 H# D+ _2 p4 B5 N& F% p, k* q1 h
  638. 5 J8 t/ g8 k3 T4 z" F6 x- r
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" G  ]6 `* \; z% q6 z0 H2 a! S
  640. ; first used (Just In Time) instead of when the script starts. If these- R! @0 |4 J' F0 O2 H& Q, h
  641. ; variables are not used within a script, having this directive on will result! L' a7 }; l" \6 w! E
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled; h: l( }, n- p
  643. ; for this directive to have any affect.
    9 A( E+ z9 p$ @1 d: `; W
  644. ; http://php.net/auto-globals-jit
    , u) Y5 s# f3 l& P1 I/ O( o
  645. auto_globals_jit = On
    ( H/ X, N# a& |; E+ r

  646. / w8 J0 Y) z+ ^+ ?9 {) c
  647. ; Whether PHP will read the POST data.
    $ n; w# }6 C1 Y' z+ i; l
  648. ; This option is enabled by default.
    / {9 x- `* v: T  w+ `1 Z: C
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST) d! n4 O, ^& c8 D. d" P# ]1 N
  650. ; and $_FILES to always be empty; the only way you will be able to read the+ K* \" H; u* m* E
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ; O4 `7 G% N% v# t
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.8 m0 Q; l3 e2 v( ]
  653. ; http://php.net/enable-post-data-reading
    , y) }4 l$ G; N" u; r) e
  654. ;enable_post_data_reading = Off
    2 |9 D$ z. M# ~- c. E0 r

  655. , {- N; h) Y" Z2 w
  656. ; Maximum size of POST data that PHP will accept.
    / ?* u4 x( y1 V
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 m$ L' H+ J3 N, Z' I
  658. ; is disabled through enable_post_data_reading.
    ) f3 P  d4 h6 E$ g( C0 e4 t$ \
  659. ; http://php.net/post-max-size  Q$ G7 G1 P) A/ q( b8 W+ [
  660. post_max_size = 50M4 W. N5 l/ j! c+ V0 d
  661. 7 K4 A2 b. f- y; P# z& R8 M
  662. ; Automatically add files before PHP document.+ h  u! d" \2 O( S( @
  663. ; http://php.net/auto-prepend-file
    / o# ]5 y3 Y5 Y5 l/ Z' N: W7 b# _
  664. auto_prepend_file =5 Y+ ?! `, v9 e+ J

  665. . j; F6 r2 A5 S7 c4 q
  666. ; Automatically add files after PHP document.
    * D5 P9 f$ [- y9 y1 [+ Q1 [  z+ b
  667. ; http://php.net/auto-append-file  R1 g' }' x* {: a7 X2 L/ C- N% b
  668. auto_append_file =
    : w6 u: B; O1 ?" H+ P; ]

  669. 4 h$ O2 x. G! t2 }& {) q% w6 m
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ; v2 V) r% j3 i% ~
  671. ; disable this, simply set it to be empty.  X' Y; k; G" E7 V, U& m
  672. ;
    " \8 S; e# K9 }5 |$ s3 G: z
  673. ; PHP's built-in default media type is set to text/html.6 a) r! b# {7 R9 X7 G! u
  674. ; http://php.net/default-mimetype
    ; W6 L! I  z  b5 D+ K2 n
  675. default_mimetype = "text/html"! _: a6 p# S3 N" r7 `+ W& F
  676. ' S* o( P& L9 s2 k
  677. ; PHP's default character set is set to UTF-8.6 |( C2 Y. F% h6 g
  678. ; http://php.net/default-charset# [" k. }! O. j! G) H. r4 W5 F
  679. default_charset = "UTF-8"
    # |7 k6 W- s+ e8 q1 o# x& F

  680. 3 u* u4 \7 Q0 b3 K: y$ ~' l
  681. ; PHP internal character encoding is set to empty.3 e. l1 g/ c2 }- f
  682. ; If empty, default_charset is used.9 d2 U: K" C# H$ ~7 v4 ]
  683. ; http://php.net/internal-encoding
    9 B7 N7 t* @# A0 y
  684. ;internal_encoding =
    9 c' d+ D3 [/ R/ y3 i" Q8 r/ x
  685. 7 e& H4 w3 N3 o! j3 O, e
  686. ; PHP input character encoding is set to empty.
    & h: v5 d5 }) L% V
  687. ; If empty, default_charset is used.
    2 }0 _- q2 p) [7 |% b/ ^! V2 ^1 x
  688. ; http://php.net/input-encoding* o, \! ]! b$ q: D9 T: B( X
  689. ;input_encoding =
    : E' d: M& ~5 C% J* q7 ?; T
  690. ' ]* y- e# b; p5 S4 C
  691. ; PHP output character encoding is set to empty.9 b& c8 N; R" j* W- ~  M
  692. ; If empty, default_charset is used.
    - F9 `$ Q9 u. r1 {1 R
  693. ; See also output_buffer.
    ; ]- D! ?  s' X, ?# E( u/ |1 e! y
  694. ; http://php.net/output-encoding
    - w% v. W/ \9 _- O. d! W6 G* c( D
  695. ;output_encoding =
    : i+ X  e& N9 N4 W/ E
  696. , t$ B' v: P( m2 N& k
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is4 F2 z, y# O" V: A* T
  698. ; to disable this feature and it will be removed in a future version.* V5 P% {5 B5 O! D& G
  699. ; If post reading is disabled through enable_post_data_reading,
    1 ~9 {* T' i. U% B$ t: [0 o' y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated., J/ V2 a3 \0 s3 V
  701. ; http://php.net/always-populate-raw-post-data- T) ~0 J! L, C$ k( \; G0 t9 w2 E$ X
  702. ;always_populate_raw_post_data = -1
    ( }2 X8 {2 l. Q. @5 ^( s
  703. - @$ ^+ Q$ b& _$ s: F6 J
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 j- N) B) F1 e( B) U
  705. ; Paths and Directories ;# O- [  X+ n: V7 p( J5 l( p
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;  }1 x3 B2 Z0 n' j, H

  707. # Q" }" \  M; t) ]  D0 O
  708. ; UNIX: "/path1:/path2"$ O; A4 ]+ y8 r* J" A
  709. ;include_path = ".:/php/includes"
    : o0 }; |( p4 X- s+ u5 \# q4 L2 |
  710. ;
    * V1 `4 k( m( c9 }1 V0 b+ O
  711. ; Windows: "\path1;\path2"+ [, \. }+ ^* u. A
  712. ;include_path = ".;c:\php\includes"
    $ Q+ D% |) F% V4 W* Q* b/ T
  713. ;
    % _, H0 o: Y. q, G/ Y4 b" @
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"! G8 N" B/ n. w
  715. ; http://php.net/include-path
      @- I: W9 I! F

  716. , p& g4 Z; Y7 l) \
  717. ; The root of the PHP pages, used only if nonempty.
    % |# c6 N, Q5 G) P2 t( E0 }8 B
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root  P" I2 o: @; h
  719. ; if you are running php as a CGI under any web server (other than IIS)$ x4 [: v8 I6 y0 X
  720. ; see documentation for security issues.  The alternate is to use the6 {2 R) l. d9 E4 v0 d$ J
  721. ; cgi.force_redirect configuration below9 l4 Y+ I1 X) ]# \( b
  722. ; http://php.net/doc-root& _; ?; e2 S6 @+ V7 I
  723. doc_root =
    * Q1 W# X8 y- O! E
  724. - b4 l- m7 g) M6 f
  725. ; The directory under which PHP opens the script using /~username used only
      R" Q" Z! ^5 U# ^
  726. ; if nonempty.6 e( Z8 W* D( f4 z, }
  727. ; http://php.net/user-dir
    - I5 W% m8 o7 p" ^
  728. user_dir =
    9 N" P; Q$ y( |& y" h3 Y
  729. 8 Y% y  c% _5 ^0 [' M8 Y
  730. ; Directory in which the loadable extensions (modules) reside.
    7 l, y/ e7 A) o$ `$ `, k
  731. ; http://php.net/extension-dir
    " ^. q- Z8 ^" O, F7 ]# S) _! y
  732. ; extension_dir = "./") A5 Z1 v: [% g2 n0 v
  733. ; On windows:5 S* ~4 S+ ?0 M9 t+ s0 j3 K& \/ D0 r
  734. ; extension_dir = "ext"
    : j3 A: E' l% |, R5 O

  735. 9 }3 ?; p( C: u6 h% `
  736. ; Directory where the temporary files should be placed." `" ?2 e1 ?, ^
  737. ; Defaults to the system default (see sys_get_temp_dir)
    0 J" Z- p, C5 t1 q
  738. ; sys_temp_dir = "/tmp"
    6 u. r0 g, k! J/ o$ H1 n

  739. / `  c8 R$ p6 J, V4 x
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work) @  O6 ]7 U+ E
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    : n! {8 x4 ^. k5 E# W
  742. ; disabled on them.
    / J+ W  }+ _5 c, G0 c9 w
  743. ; http://php.net/enable-dl% l: F: d# S& M! b4 Z1 m
  744. enable_dl = Off3 C, o2 [: l! c+ u9 `" M/ t' u: b( @

  745.   {# V3 H% G  ^
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 k: A* s) d: n+ Q
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / B) y  Z5 R: g; w) R8 C! F6 Y
  748. ; turn it off here AT YOUR OWN RISK, ~' Z8 e. |9 p9 L) L8 A
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    4 o" C2 I- ?8 ?+ d3 J4 K' e: I
  750. ; http://php.net/cgi.force-redirect3 N/ J6 ~3 K0 u; Q( g3 s1 u- r
  751. ;cgi.force_redirect = 1
    ( G( Q/ q/ d* T) `( Q9 N4 l
  752. 9 w9 M6 B! s. v; K# u7 X6 q
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with: T+ m, F  F* i' T) V) R
  754. ; every request. PHP's default behavior is to disable this feature.
    3 C7 R, m$ _2 h3 U
  755. ;cgi.nph = 1  Z8 k; F# ]5 q# [9 Q2 ?1 f* i
  756. $ ^/ U  K/ c4 ~8 c$ M' b6 I* y
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    9 H& G9 C) V) ~. S8 U' z. l9 c, {
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( J9 W8 S! [$ V! `" E; N7 q
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY$ N7 c$ H( F9 K9 _
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    7 G% i4 K* D* A* H/ S9 G  j
  761. ; http://php.net/cgi.redirect-status-env
    * I5 g+ W" `& z: |
  762. ;cgi.redirect_status_env =
    + `" W! M9 V% e: w, f% n/ |" h

  763. 3 t0 @  a- H2 d' N3 n
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" _& P8 d: S. _7 b  R2 M, t
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok9 a8 o. E& i! r' {# L& l+ H* K
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % j: e5 n" C! ~) ^6 G  F
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting. M7 U2 {5 m5 J/ a
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    * m3 i+ }7 h1 g7 p! n7 q
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ; ^1 z, U! s1 ?8 o& D7 B
  770. ; http://php.net/cgi.fix-pathinfo
    - x, h" e( E& O9 X
  771. cgi.fix_pathinfo=1
    . I! U  G% _! C" T
  772. . B# {  G; W% N
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside% a+ g2 r. W* I" x
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    1 N' n& G2 I/ V
  775. ; http://php.net/cgi.dicard-path
    1 x+ {8 e; e* b4 a/ k2 @
  776. ;cgi.discard_path=1
    & G5 v. ~# Y3 ~- T! }2 i  k

  777. " H& ]5 Z, k0 u$ g5 {" C
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    " o. }; \$ h/ N8 e
  779. ; security tokens of the calling client.  This allows IIS to define the
    / M% z! j" K3 [! l. V
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    7 ^# p5 k+ }. _" \8 j
  781. ; does not currently support this feature (03/17/2002)% ?$ J' n# ^. T) C
  782. ; Set to 1 if running under IIS.  Default is zero.
    ' k1 r; c3 J* ]8 G: A) h
  783. ; http://php.net/fastcgi.impersonate
    & a$ O+ Q6 q% l2 |4 v
  784. ;fastcgi.impersonate = 1
    9 @, S; Y+ V' x4 T7 D2 b4 W

  785.   G8 Y% V9 Z; m% z
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - d; k$ Z) `% f- g4 \1 T5 k& [
  787. ; this feature.- V! L6 j  y2 d6 ?
  788. ;fastcgi.logging = 01 F4 T/ U$ d3 Y2 L; L

  789. 0 W# s# H' A: Z" b
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( U% g) y1 f' I! p( j
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that; o$ y; d# A8 Y& x( U
  792. ; is supported by Apache. When this option is set to 1, PHP will send1 o/ k5 E" D6 Z, f; B
  793. ; RFC2616 compliant header.
    " e8 I% o% F/ r! {
  794. ; Default is zero.
    - u3 a' m/ G6 J
  795. ; http://php.net/cgi.rfc2616-headers
    % a: i" i& o, X6 D8 c  h  H
  796. ;cgi.rfc2616_headers = 0, J+ O3 {7 Z% k  P7 p% r& q
  797. 9 a. Y' w" Y+ t: |7 G
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!6 C8 f# |7 K) Y- @
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ) J8 }( O5 i+ V# \: U4 S" `! Z
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" T3 H* x( h# P) Y8 k/ ^
  801. ; mode skips this line and ignores its content if this directive is turned on.
    * }% s& W$ W+ z' A' V2 B  u4 }
  802. ; http://php.net/cgi.check-shebang-line/ {8 x/ d8 v3 ]5 p4 y
  803. ;cgi.check_shebang_line=1
    8 z: o! Y$ j2 V. q
  804. 0 Y, R3 V9 p! Q. I: U$ G9 l8 w
  805. ;;;;;;;;;;;;;;;;+ e3 H: s7 Z. Y. p& ^- J+ L
  806. ; File Uploads ;. ]0 o' D$ F5 K4 l: }3 O
  807. ;;;;;;;;;;;;;;;;( O- h7 r- M1 E* a& r- f& ]
  808. + g2 J- R  ?: D
  809. ; Whether to allow HTTP file uploads.% p/ a8 H  ]7 ?& W* L
  810. ; http://php.net/file-uploads0 U. N4 J" f4 b+ L2 }  m2 Q1 `  ?' Y
  811. file_uploads = On
      j; b- s* C9 y* V

  812. ) a8 ^0 P! ~) K4 L, O, m
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    - T( Q% n! [; D- j/ x
  814. ; specified).' s5 P$ J2 D. C3 S
  815. ; http://php.net/upload-tmp-dir0 R/ x- e# W# z- b
  816. ;upload_tmp_dir =  I+ }  Y9 |$ O8 a# C4 v1 Z
  817. . j. |& }4 }. c
  818. ; Maximum allowed size for uploaded files.- o+ a! s" M6 v9 _( X4 m
  819. ; http://php.net/upload-max-filesize5 k$ |% S+ q) N' g3 J" e$ ~
  820. upload_max_filesize = 50M% p* B/ m8 x3 i% J0 O" s
  821. , c0 P: Q9 T& j1 F6 ^
  822. ; Maximum number of files that can be uploaded via a single request  i7 b4 ~0 J2 `) [) R3 ]$ q
  823. max_file_uploads = 203 a7 Y1 U; m4 {0 x( `
  824. - J" F8 c7 a+ n* k% |
  825. ;;;;;;;;;;;;;;;;;;/ Z8 A0 ?9 A( R3 R3 w  P4 w
  826. ; Fopen wrappers ;
      n# C; F: W- \
  827. ;;;;;;;;;;;;;;;;;;
    ; j& U1 p- p# v+ v% i) j0 v1 G

  828. ) O3 H& h: V7 H# S& g# @
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      A" k2 u8 r6 f, F4 [6 d5 S
  830. ; http://php.net/allow-url-fopen
    4 j0 ]/ S+ B0 n+ Y1 y
  831. allow_url_fopen = On
    0 [2 s8 ]/ e+ @$ G9 E

  832.   C  o: u  D; {# ]
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.! S# s" z+ N+ |: G2 W$ V5 a. p
  834. ; http://php.net/allow-url-include* \7 d, k1 V, q4 J! b" u
  835. allow_url_include = Off/ O% x3 F) Z. P7 l
  836. ! c% n4 y: w& T8 c& ~" F1 h5 B
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    3 t$ s+ c# T! d6 b) y, {8 k
  838. ; for this is empty.
    4 Y- d. h1 E% P# ^; S' m
  839. ; http://php.net/from) D7 W' m2 I! R: @7 i% @% p. N
  840. ;from="john@doe.com"
    % z+ |( \% B1 ~. w; x3 x) Z: z

  841. 0 }5 z2 }% I( {0 m$ J
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    * L" a0 N5 ~$ p" T8 a) I: O
  843. ; http://php.net/user-agent' x( {  b. N) H# ~2 i" ]- \) T
  844. ;user_agent="PHP"
    + l! L: {: n% e" J2 d8 `7 l
  845. ) n7 D6 L4 b$ y5 j4 ^
  846. ; Default timeout for socket based streams (seconds)
    2 r# ]# Y* ]8 h
  847. ; http://php.net/default-socket-timeout2 Z* I0 \+ c3 b4 q4 a
  848. default_socket_timeout = 60" v6 h, [  K* o- D

  849. 7 k  v/ Y$ O, ~# o
  850. ; If your scripts have to deal with files from Macintosh systems,' Z6 d, m$ r6 i, _
  851. ; or you are running on a Mac and need to deal with files from: J8 a, ~3 Z& ]) S! ~
  852. ; unix or win32 systems, setting this flag will cause PHP to. N, ^/ K, \$ W- _2 S, q8 ~8 F
  853. ; automatically detect the EOL character in those files so that$ P8 K; [. q4 ]
  854. ; fgets() and file() will work regardless of the source of the file.
    4 z4 n! S6 R; D3 v6 d
  855. ; http://php.net/auto-detect-line-endings; G) y! q% |& c; ?) ^" |3 q6 ]
  856. ;auto_detect_line_endings = Off
    1 `$ a4 A9 p. O) z
  857. - i' }( Y. M5 ^: R" [" X& ?  E
  858. ;;;;;;;;;;;;;;;;;;;;;;
    1 T+ {6 w$ m' l1 h0 Y2 j
  859. ; Dynamic Extensions ;
      L8 K5 ^' |5 ^2 F. M
  860. ;;;;;;;;;;;;;;;;;;;;;;( m. A' e# m# z4 T

  861. . X: `% ^( O) ?
  862. ; If you wish to have an extension loaded automatically, use the following. N7 S# P  @" h. A& i- k# |) G
  863. ; syntax:+ w) a8 u: }1 h" i; p; ?' _
  864. ;
    ) |- u5 k9 a: [5 J
  865. ;   extension=modulename.extension
    5 P. X) h) K' R5 C) d5 P' E1 ?
  866. ;( P2 D) }: t; {+ J3 n! z: N; T
  867. ; For example, on Windows:
    ! p1 O8 S% {7 L9 L1 j+ d
  868. ;
    , g$ e% |, V  C
  869. ;   extension=msql.dll
    * K8 e/ V5 P4 t
  870. ;
    ; s- `) p; b% p" x
  871. ; ... or under UNIX:
    1 @/ g! c/ i) h2 U, z: B: G
  872. ;
    . h; c7 M& m) @  c0 ~
  873. ;   extension=msql.so
    3 o$ g: z3 O" ]8 s' V
  874. ;
    4 y3 B4 C9 A: x( v7 m
  875. ; ... or with a path:
    ' Y+ W5 w1 _, i9 [3 |
  876. ;
      X4 ?3 c$ j# n0 b7 W0 J
  877. ;   extension=/path/to/extension/msql.so% |0 \$ P- y, |! B) @& K2 p
  878. ;0 s! n: H. @. h  Z: N7 S8 J0 S
  879. ; If you only provide the name of the extension, PHP will look for it in its) \/ G& Y  j, b1 }
  880. ; default extension directory.
      v% Z/ N' x/ p/ M' L  ]
  881. ;; I9 j; L7 r3 S0 K" O7 c
  882. ; Windows Extensions5 T! x' o  m) `: ?/ ^6 _6 Q* ^
  883. ; Note that ODBC support is built in, so no dll is needed for it.3 u! S# ]  I. P" P1 D0 j1 G3 h. o
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    & Y# Q; e2 D. O8 u- J# u
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).5 l  z2 R# N5 q/ C
  886. ; Be sure to appropriately set the extension_dir directive.
    ; }* }8 y( z) G3 o
  887. ;
    4 F6 F6 b* ]3 J; K$ z. d% X
  888. ;extension=php_bz2.dll
    1 H4 q- a+ R3 M, |* e  O# B" Y6 P
  889. ;extension=php_curl.dll/ [- `6 E" k4 j
  890. ;extension=php_fileinfo.dll
    " f7 f, y; d/ L% a8 g6 X
  891. ;extension=php_gd2.dll
    ( J' k0 v2 s  u' t( ]
  892. ;extension=php_gettext.dll0 K. t$ [- Q! D5 `; W% F
  893. ;extension=php_gmp.dll6 Y7 l4 _' ]. Y1 b
  894. ;extension=php_intl.dll; |) d# o+ U; y( h$ X
  895. ;extension=php_imap.dll% y. l( v2 d) j: Q
  896. ;extension=php_interbase.dll) u2 V4 ]: e* N. Z
  897. ;extension=php_ldap.dll" k+ |3 X/ o3 U
  898. ;extension=php_mbstring.dll
    8 v5 U4 A# Y1 }
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    + N( J5 E' H7 h0 J
  900. ;extension=php_mysql.dll9 f" j5 S) X! ^: [+ H
  901. ;extension=php_mysqli.dll: Y& [$ ^  Q$ N# S4 S' q
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    - ?5 N- g3 P, i" j
  903. ;extension=php_openssl.dll. D' x  h" y- }" v- E& b: U
  904. ;extension=php_pdo_firebird.dll
    ; V- S; D& U) P0 V
  905. ;extension=php_pdo_mysql.dll
    2 v. Y5 ^5 j! f1 f2 _' B
  906. ;extension=php_pdo_oci.dll
    7 J6 Y. W5 M2 z
  907. ;extension=php_pdo_odbc.dll" L" ?4 b8 G) l! y2 `' ^
  908. ;extension=php_pdo_pgsql.dll9 g, p( c( x" S9 v
  909. ;extension=php_pdo_sqlite.dll9 j" J9 l+ o  Y& S  C% w
  910. ;extension=php_pgsql.dll
    " a0 F, U, U  s' H, G! n) b+ a
  911. ;extension=php_shmop.dll! q; R8 w* L. u' J; ?# F

  912. $ B* O' I; @. ?0 _! f4 s3 }# z! Z
  913. ; The MIBS data available in the PHP distribution must be installed.
    ( _6 ~  x0 K5 f
  914. ; See http://www.php.net/manual/en/snmp.installation.php ! x% ^8 b6 J9 }! J
  915. ;extension=php_snmp.dll
    + V; Z% P" f# E0 t0 |
  916. 7 {/ t$ f4 V, |1 E+ \5 n
  917. ;extension=php_soap.dll+ l$ o# P6 e0 F" j7 j. c$ m2 o
  918. ;extension=php_sockets.dll9 y+ E: G8 P& h
  919. ;extension=php_sqlite3.dll/ V5 o* m5 F: B5 j. ]- j
  920. ;extension=php_sybase_ct.dll% S. {3 K7 S2 c3 @
  921. ;extension=php_tidy.dll
    2 v7 f1 m5 A" C3 P% `
  922. ;extension=php_xmlrpc.dll
    % q$ H) G+ V3 A2 M
  923. ;extension=php_xsl.dll; s% t4 G8 u% o/ w: h: A+ H; k+ R
  924. * Q7 `! ]. }7 ^" c" \+ E
  925. ;;;;;;;;;;;;;;;;;;;
    ' g3 k5 ~/ A4 c: h" }
  926. ; Module Settings ;
    & S8 @* _7 m9 |- Y: S7 d
  927. ;;;;;;;;;;;;;;;;;;;
    ! G" V: b; Y# @9 X" `% N) T
  928. % p" B! R; g: l$ v4 j/ W$ Y
  929. [CLI Server], t9 \2 {+ l: E  ?& x: I+ U
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.8 b% p2 p: O. b' ]# ?: G' k
  931. cli_server.color = On5 |$ Y" u% [& d/ R4 v8 I, u  {

  932. $ y# p- J; p3 c
  933. [Date]# A9 x  o2 J' R
  934. ; Defines the default timezone used by the date functions! E3 v' F5 q1 z1 X$ c. ~2 n
  935. ; http://php.net/date.timezone0 C: K$ q% ^, i) a
  936. date.timezone = PRC
    : q! H3 [, b# o4 {0 b5 X. ~
  937. 4 b* r) O3 e4 H8 j
  938. ; http://php.net/date.default-latitude4 `  C$ A$ b2 a. F, j, W( B
  939. ;date.default_latitude = 31.7667
    " U( _' h& r$ f+ z6 D
  940. " ?/ N& w/ D" |
  941. ; http://php.net/date.default-longitude* ?! e3 [3 z: E9 |! ]+ l
  942. ;date.default_longitude = 35.2333
    0 |/ d9 j! ~- A; t% P: `/ G  _5 `
  943. 9 m) `2 \" K) Z( s: E
  944. ; http://php.net/date.sunrise-zenith
    $ i% ]% {* q* q3 j. O( E
  945. ;date.sunrise_zenith = 90.583333
    & s' ]9 B; W4 L' j, U2 p3 K  l/ M

  946. # c7 W3 m$ i$ P5 z
  947. ; http://php.net/date.sunset-zenith# K+ D: g$ a5 L5 d- A: M9 {' P% u  T
  948. ;date.sunset_zenith = 90.583333
    3 }" L7 i/ r2 M4 N: }) Y

  949. # F+ }4 w: i& `8 W0 B1 q
  950. [filter]- M) _  h- N; t6 ^0 W
  951. ; http://php.net/filter.default! H/ C8 E( r" q. \0 R8 T
  952. ;filter.default = unsafe_raw) l& B0 l" s) ^& E, m) d( d! E
  953. + ~3 e: x$ f( n3 z! @4 {
  954. ; http://php.net/filter.default-flags
    6 o- d# p" n3 x# ~9 ~6 l: y
  955. ;filter.default_flags =* Y7 j$ o& }# n7 G
  956. ! B3 P0 {* c$ u! J+ t0 ^& }
  957. [iconv]# k$ k# ^; z: b  X2 V; q  q# [6 c% }2 D
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.# y2 I+ Q9 ?. ]  z% s' `
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ W/ }5 Q/ O# r  F8 `$ P7 ~0 |8 b  v
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    & B. U% }1 A$ i  p( `! S* l
  961. ;iconv.input_encoding =
    ! e. F% Y$ s1 J
  962.   v* C7 E. R4 h0 z; ~/ w! ^
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " J2 j( N% P5 @
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# d& B5 Q, y6 L1 N9 V
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ; `- D7 w2 \* i* ^- z3 G
  966. ;iconv.internal_encoding =7 _. G' G/ x  C/ [9 S" r2 Y$ M9 _, _
  967. - E0 T$ m% E2 ?
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 f" ?0 c+ g, l
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& K  X" i" T: n2 f! R% t9 `6 p6 _
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& K& L/ J, s$ ?- B/ Z- ?
  971. ; To use an output encoding conversion, iconv's output handler must be set" g* M; a* K( t4 Y4 S- ~2 r& l
  972. ; otherwise output encoding conversion cannot be performed." j. ^5 ^4 {- A+ Y6 ]* X2 U7 I
  973. ;iconv.output_encoding =
    5 D1 @- w$ H* p( l- ]
  974. 3 Q* F% N, g' N& m& X4 S( j' \
  975. [intl]
    # ~" A" G) u& ]" T7 n
  976. ;intl.default_locale =
    + n" k5 z. w% C# R3 x
  977. ; This directive allows you to produce PHP errors when some error
    / W5 `: ?! L5 q' J7 f! K1 c
  978. ; happens within intl functions. The value is the level of the error produced.
    4 y$ u/ P3 }1 {& u" \9 ?
  979. ; Default is 0, which does not produce any errors.
    & E, I/ w# P: c& X, b/ k% H
  980. ;intl.error_level = E_WARNING/ W* y9 H, ]: x
  981. ;intl.use_exceptions = 00 E- ^/ G" ~3 |- I4 \6 J
  982. ; L8 j$ [0 H: W# Z
  983. [sqlite3]
    * J% ^0 r3 l, T, r; j
  984. ;sqlite3.extension_dir =
    , k9 |  ]2 x5 a

  985. ; p- V4 t& l/ V8 n, Y, ^2 M* S& W
  986. [Pcre]
    " @( u) t& @+ l3 z6 R
  987. ;PCRE library backtracking limit.+ e! o3 |8 l/ g; w2 M8 B% R8 F& {8 Z
  988. ; http://php.net/pcre.backtrack-limit0 Q, Q- R( |1 @6 j' [
  989. ;pcre.backtrack_limit=100000
    ! L& k% U% Q5 _

  990. % T: d2 I# y5 j6 _: Q4 i
  991. ;PCRE library recursion limit.+ P+ f5 D( D8 m3 |6 R
  992. ;Please note that if you set this value to a high number you may consume all
    / h5 [- [  H/ U+ l0 j( v
  993. ;the available process stack and eventually crash PHP (due to reaching the4 [" ~$ R9 J8 E! H: D- \- t
  994. ;stack size limit imposed by the Operating System).
    3 w, e& `" h# [: m* D
  995. ; http://php.net/pcre.recursion-limit/ X6 J4 K7 c3 ?. Z
  996. ;pcre.recursion_limit=100000
    8 I0 Q1 b! U, o+ Z6 L! d6 f
  997. 9 d  C5 W6 D7 e
  998. [Pdo]0 P& f: {" A) s  N9 l# g" b
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    2 I1 Y9 J* C: V, U( p& N) I. O
  1000. ; http://php.net/pdo-odbc.connection-pooling9 E1 J; g6 k2 Y; ?3 T# c/ J
  1001. ;pdo_odbc.connection_pooling=strict
    7 B( v6 e& O8 x  [6 E
  1002. & l3 [1 X' J* ~1 i' b
  1003. ;pdo_odbc.db2_instance_name$ _& n8 t& B4 O) n0 E
  1004. ; I; r% t9 P" _0 _3 j+ w
  1005. [Pdo_mysql]0 }: E4 J$ ]2 |2 |
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 R  l/ t" J% B" Z
  1007. ; http://php.net/pdo_mysql.cache_size, _( [8 l( k" g* T- P
  1008. pdo_mysql.cache_size = 20000 J% f- x# k3 Z' o4 n; U' W
  1009. % w, C4 G* w4 b
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # ?/ L8 \, n3 S( ^" p' A$ P) d: ]
  1011. ; MySQL defaults.
    ' n7 t0 y, k/ r" h
  1012. ; http://php.net/pdo_mysql.default-socket
    ) T% e$ X6 h' C% {4 [5 ?
  1013. pdo_mysql.default_socket=
    4 T- `( m7 ?2 Y4 p6 a6 R
  1014. # ^' R$ t/ G2 v
  1015. [Phar]
    ; f3 l5 U  D" _/ g) Y" }9 Y' r# a
  1016. ; http://php.net/phar.readonly8 F9 q3 C3 x5 z" z0 a
  1017. ;phar.readonly = On, K0 s" f/ i% x: D" ^  ^
  1018. + E' E& z% [) Y: k4 ~4 ~
  1019. ; http://php.net/phar.require-hash
    & p! s- w" }% B5 T4 o1 p2 h4 z
  1020. ;phar.require_hash = On: Z  C; h, z4 }9 o
  1021. $ k, R  P+ N: I
  1022. ;phar.cache_list =
    / n- n, U2 d# j, U) [- X+ q

  1023. 8 ^& f4 B* @* V$ H
  1024. [mail function]
    / S; L" s  T0 @
  1025. ; For Win32 only.
    4 H/ ?' Y2 M+ H& K5 S& S; }( }3 |
  1026. ; http://php.net/smtp4 H8 e/ g1 \; d0 S& o
  1027. SMTP = localhost
    * x2 X! z4 t2 _0 X2 ^3 W) W4 |
  1028. ; http://php.net/smtp-port; \& q4 f( H4 p# a; T. l2 M
  1029. smtp_port = 25; u+ c" x% i8 u# b3 B, T: b

  1030. 3 x: @  U/ C5 `% o5 F0 E) U
  1031. ; For Win32 only.. a+ y! {9 k- [9 _3 }
  1032. ; http://php.net/sendmail-from
    3 T# G, l8 M. e3 s
  1033. ;sendmail_from = me@example.com
    % N7 Z1 K% Y6 V0 J; l$ y- J
  1034. ( t* ^& X# J8 W% u; M( C9 U. ~2 i. c2 c8 H
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").+ |! f; }% \, h- {6 D8 y" n8 w
  1036. ; http://php.net/sendmail-path
    " I$ H* m2 I* r9 X) E8 A
  1037. sendmail_path = /usr/sbin/sendmail -t -i  {: x4 N  W0 K& t( N" W. u! m

  1038. # j3 b) X8 _. y4 J
  1039. ; Force the addition of the specified parameters to be passed as extra parameters- e8 P" O7 l; k2 }
  1040. ; to the sendmail binary. These parameters will always replace the value of+ c& }* n  Q0 r* N: W1 b; F
  1041. ; the 5th parameter to mail().
    . O+ g5 w' `7 ~3 C/ E! L
  1042. ;mail.force_extra_parameters =
    * A7 K( y9 r1 b
  1043. ! u4 b. \7 Y* a+ ?$ |
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    * c  A9 Y0 O0 g, ^8 f7 c
  1045. mail.add_x_header = On
    # W! N' E1 @$ ~8 @" B2 i

  1046. - }( X3 z! R4 j- Z" x+ V
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    5 ?0 Y7 t3 l" {/ w
  1048. ; the full path of the script, line number, To address and headers.
    0 g8 U8 Y' N- K; M# q3 S" N
  1049. ;mail.log =
    ) G1 d5 [. H4 B3 X& L7 M
  1050. ; Log mail to syslog (Event Log on Windows).
    : X. D: k# c; i$ O1 i- n: D( H6 D
  1051. ;mail.log = syslog
    8 K9 q5 @& |3 ~4 _, }
  1052. ) d9 Y8 W: B9 m
  1053. [SQL]  o1 M9 v- Y! Q# W& L+ Y
  1054. ; http://php.net/sql.safe-mode& _5 }: }: _9 W! E
  1055. sql.safe_mode = Off
    " i, J0 w  r; R% o2 T) _

  1056. + U& D) r6 Y6 ?5 q, ?
  1057. [ODBC]* X: p7 E1 ^7 X* c/ [( U
  1058. ; http://php.net/odbc.default-db
    $ I. }0 }9 H0 U& _" d! p& W
  1059. ;odbc.default_db    =  Not yet implemented
    5 _1 M% V+ [1 H3 `+ p( m: C. G

  1060. 4 T; c* T+ c) j% ]2 a: @0 c* y; W7 G: o
  1061. ; http://php.net/odbc.default-user- X! c7 v0 _  z, g
  1062. ;odbc.default_user  =  Not yet implemented
    : U+ F7 E$ `7 E& D

  1063. : D# i1 q- [& [; ^' A. w
  1064. ; http://php.net/odbc.default-pw
    5 M3 E6 S) c- H7 K9 F8 U. }6 x
  1065. ;odbc.default_pw    =  Not yet implemented
    0 [* b- d% |% P7 `
  1066. 6 r7 \  E6 A6 ]) P
  1067. ; Controls the ODBC cursor model.
    0 i3 G2 _; S' q8 S& T2 u* ~  U
  1068. ; Default: SQL_CURSOR_STATIC (default).
    * q* P- V+ [% q' P" b& x
  1069. ;odbc.default_cursortype  r/ s1 L7 Y8 J/ [! {' S1 k/ G& c  r

  1070. # |5 x  m9 j+ |2 Z5 y8 s' z1 _
  1071. ; Allow or prevent persistent links.
    ; D0 h3 x% |6 W  x
  1072. ; http://php.net/odbc.allow-persistent
    5 u; b4 Q* d" E) A( q
  1073. odbc.allow_persistent = On2 k, @: Z/ U9 L, K. T7 h; H
  1074. + T1 W1 U+ Z% m2 t
  1075. ; Check that a connection is still valid before reuse.* c& [$ b$ |0 W+ L
  1076. ; http://php.net/odbc.check-persistent
    2 ]* y/ `. C3 c( g3 D! D
  1077. odbc.check_persistent = On
    ; }! d, {2 H3 F; i

  1078. : ~2 q( F; p' H) B  A- s
  1079. ; Maximum number of persistent links.  -1 means no limit." n: ~2 F- i! t& Z2 h2 Q6 U  w
  1080. ; http://php.net/odbc.max-persistent
    ' l% j/ `# u8 ^9 W, W& I4 U9 W
  1081. odbc.max_persistent = -1
    7 }# i7 z9 @8 ?+ ?3 j
  1082. 8 ^7 C+ Z" P5 h# h* e" S
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 Y6 A" l* d/ j
  1084. ; http://php.net/odbc.max-links
    ' l" V5 H# c  r$ X
  1085. odbc.max_links = -1) W% s, ]/ \( y+ B& J( u

  1086. " p4 K8 @) b) o* H. G7 q. B
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    % @* n4 [3 D* @5 v
  1088. ; passthru.1 v  H8 O9 c1 A
  1089. ; http://php.net/odbc.defaultlrl
    / H5 H2 U  q, z' w3 \
  1090. odbc.defaultlrl = 40964 g4 F) Z+ d" c" m8 t4 X

  1091.   v* q/ q9 b, ?& Y' n: y: S% J( z9 p
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( b1 B* e$ D: w* [
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation. u6 q6 A& ?! b( _
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ( \3 g4 L: p6 H7 l
  1095. ; http://php.net/odbc.defaultbinmode
    ) C& Y9 U+ C+ v# B
  1096. odbc.defaultbinmode = 1  J/ O% ]9 Y6 i
  1097. ' R5 ]# B; W4 V: |- F
  1098. ;birdstep.max_links = -1
    6 H) }# W- S* ]' l! r

  1099. - x0 ?! S# D4 e* u+ p, m
  1100. [Interbase]: r# Y# m8 @$ Z2 J+ i5 S$ L
  1101. ; Allow or prevent persistent links.7 h1 v9 ?, B4 q6 e: }! W1 ~
  1102. ibase.allow_persistent = 1
    ! f% q! O; K  O; e
  1103. 3 {& m: {; b1 {: L1 x2 R
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ( ^8 S1 i1 w* E: D/ }, [" H* ^
  1105. ibase.max_persistent = -1% {3 a, }. o, h: j

  1106.   {1 P" o- U5 }8 ?4 j  u
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 z1 f- I& Q- l* a) v2 Q6 ^* p
  1108. ibase.max_links = -1
    , t  X+ e$ o" k5 r2 u7 |

  1109. 7 P; a- c  ]( T1 `$ D6 Y
  1110. ; Default database name for ibase_connect().- K- u( D: K7 ]0 e8 n6 W
  1111. ;ibase.default_db =; C  T3 s$ Y7 @% W, J
  1112. ! M" p* c$ k; ^9 w. |1 j
  1113. ; Default username for ibase_connect().# }/ q0 w2 R# R5 h+ ]& p
  1114. ;ibase.default_user =' p& x( f7 p) [* [% ]
  1115. 7 S" g) \# J* }% |
  1116. ; Default password for ibase_connect().
    3 E1 I! o* p2 a
  1117. ;ibase.default_password =' h( k7 C/ I6 G$ K
  1118. + F7 B$ Z3 [- V
  1119. ; Default charset for ibase_connect().. o$ v) k  ^6 X2 s
  1120. ;ibase.default_charset =
    1 _) z+ a4 l% {

  1121. + E: z" f7 e) W
  1122. ; Default timestamp format.9 A. O2 f( }0 `! W5 _8 [) V" N+ r
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % t9 t. n# Z  q6 E0 T  k* L

  1124. / Y- D5 t# A4 L0 r0 L
  1125. ; Default date format.& m7 {8 P& @4 L% v
  1126. ibase.dateformat = "%Y-%m-%d"
    3 H4 E0 S( R# y5 S4 G  {" v7 |

  1127. 6 [5 k" c/ A  ~8 k. Q* G: g
  1128. ; Default time format.
    , N1 e6 h! u! o4 `6 _0 Z  l' d
  1129. ibase.timeformat = "%H:%M:%S". Q4 l5 G4 K6 x
  1130. ) U0 O3 s( K  m: H% i8 a
  1131. [MySQL]0 q+ H! p' J* y! L  B$ E) E
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 j5 D9 T& \+ t' |
  1133. ; http://php.net/mysql.allow_local_infile2 O7 U1 H% U8 ?. q# _
  1134. mysql.allow_local_infile = On
    8 R9 S! J; F8 K9 U7 l: h+ k

  1135. + e" M  `- P( B/ K7 {/ G
  1136. ; Allow or prevent persistent links.
    6 I0 ~$ \3 k% p
  1137. ; http://php.net/mysql.allow-persistent2 l. L( P3 O8 U$ C* m: P" S
  1138. mysql.allow_persistent = On4 s/ S3 D2 @5 F8 k

  1139.   O) g. r7 }$ h4 i
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache' ^- w/ G% _+ E1 M" Z3 d8 h/ P' [
  1141. ; http://php.net/mysql.cache_size2 b4 T. P( J4 w% y* F. m$ I
  1142. mysql.cache_size = 2000
      j/ L4 k8 M) x+ Z

  1143. 4 e9 Y$ H+ q4 Q2 h, C7 @4 \
  1144. ; Maximum number of persistent links.  -1 means no limit.
    % V) K  N8 J# v$ ]8 ]& J& X; Z
  1145. ; http://php.net/mysql.max-persistent
    0 m1 K( [% t  w2 ?' q4 M$ Z
  1146. mysql.max_persistent = -1
    5 V9 O: J& w% [; s$ V( {
  1147. 8 [, {! t( m/ O
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' A- i6 U0 F2 Y
  1149. ; http://php.net/mysql.max-links
    ; t, ~9 H8 u0 v1 x& F
  1150. mysql.max_links = -1
    * Y1 U$ e( C$ G5 \  H5 u: c

  1151. + p7 a9 n2 [" Y% q
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use, z0 }9 E& c# j+ R
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( d8 \# i! x  i7 ~
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    # P. ~1 c( K+ |( p' l4 h8 c7 _
  1155. ; at MYSQL_PORT.) Q) E% M$ w) L* w
  1156. ; http://php.net/mysql.default-port) h1 U) Z7 y& b: _3 W) ~0 t
  1157. mysql.default_port =
    * x( [8 e: s) E
  1158. 9 Z- r0 v) {: p6 F! M
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in: |" ~! N7 D. @8 ], f- z
  1160. ; MySQL defaults.
    2 d* Q; D) z: I' Z& C& p4 y1 ^+ b
  1161. ; http://php.net/mysql.default-socket
    * S+ J4 Z- N' Y7 b& S
  1162. mysql.default_socket =
    9 B! D2 l. G+ U  o0 h5 b9 A
  1163. * G0 x4 V7 u6 a2 X. T; B
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - r7 Y* ~8 s) K6 `& ~9 g. h
  1165. ; http://php.net/mysql.default-host/ g0 s  K8 p% Q* p" j: j
  1166. mysql.default_host =
    3 k) t* {$ T) [5 U& V

  1167. * e! |9 e7 u1 o2 K9 q
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).( Y( \) }- D/ a7 L: F# E* a
  1169. ; http://php.net/mysql.default-user4 K3 u. r- D! L* M; n( `- }* ~
  1170. mysql.default_user =
    5 w0 k. y4 ^, H. A5 H
  1171. * K/ h( u4 B5 b3 x6 v
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).* d2 ~: c: Q7 p2 E' {+ ^
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.2 [7 j0 I0 w: r" d  ]
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")3 t. ~9 D& @1 v/ e6 g3 H, L
  1175. ; and reveal this password!  And of course, any users with read access to this* U4 K* T' }/ B. k+ q& w+ ?9 T
  1176. ; file will be able to reveal the password as well.7 |  i( j$ ]3 X: }9 v8 T9 @
  1177. ; http://php.net/mysql.default-password
      K6 g1 f$ p5 u/ c
  1178. mysql.default_password =
    - k5 [7 [9 H3 F5 T4 u  i! A

  1179. 9 d5 x9 {6 ]! q( e- d' b
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit" q7 X4 X1 v: [* {$ x* Z* v
  1181. ; http://php.net/mysql.connect-timeout! V2 P/ r" u, X* p
  1182. mysql.connect_timeout = 60  T3 h* _7 P3 A2 w2 N, F1 t8 `
  1183. 3 \; z9 v. l- h6 ]/ `( |
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
      V" G2 _. e) s
  1185. ; SQL-Errors will be displayed.
    . V/ D$ k) k0 i0 }; C: F
  1186. ; http://php.net/mysql.trace-mode; o2 i, [. a, N$ K4 Y- ~# ?
  1187. mysql.trace_mode = Off- ?2 A# w, x' _
  1188. 2 D: m% L- X. `5 A
  1189. [MySQLi]" W: l: g( G$ _( N
  1190. ! G3 X+ ^8 T& [' X7 D
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ; ]4 z" c! D% e9 y" U; ^' u8 C' `
  1192. ; http://php.net/mysqli.max-persistent
    . w0 T2 `3 t- X- }, ?. b0 Q# |
  1193. mysqli.max_persistent = -13 Q# K. q0 }' m* n, y

  1194. & ]$ L8 `( |: K0 I- i: {
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- r0 {* I4 C  ^  e/ o  u" C4 @
  1196. ; http://php.net/mysqli.allow_local_infile
    : r( E. o" D6 N/ x% t0 \6 t, t" ?
  1197. ;mysqli.allow_local_infile = On
    4 i" ~- C% w5 i# C4 b

  1198. & Q( m% E$ d, B0 m! M
  1199. ; Allow or prevent persistent links.
    ! Z! e+ b) u2 N* f( u1 }0 n3 {
  1200. ; http://php.net/mysqli.allow-persistent! s. P" T* Z) I, o; t/ I
  1201. mysqli.allow_persistent = On
    ; \; t$ G6 `, a
  1202. ( a1 ?* n( C# [- l
  1203. ; Maximum number of links.  -1 means no limit.5 w% T4 g! ~3 X' {" Y
  1204. ; http://php.net/mysqli.max-links: g: j/ @+ i; S* N, E
  1205. mysqli.max_links = -1
    , M9 w  K3 t! u, w

  1206. % y7 \2 X' Z! y4 y' j8 M+ {% O
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 b( ]3 w" ?3 f* m3 ^9 u
  1208. ; http://php.net/mysqli.cache_size
    3 e! [9 g: d" M$ T) n* e
  1209. mysqli.cache_size = 20007 w! k) r0 H" m* Y: D7 a# Y4 y

  1210. ' D( }; ]+ G2 f: q& J
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    : w- p$ J) y3 C! k. F/ U8 Q  T# q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 Y4 ^/ ?! v, z4 K
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 d9 o  y- g& L( p& A% ~0 S
  1214. ; at MYSQL_PORT.
    , L# V: F' R% @* d7 V( B
  1215. ; http://php.net/mysqli.default-port
    3 \. P! _! I5 d5 E
  1216. mysqli.default_port = 3306
    ) p5 A2 a4 Q1 {. m& s2 I' w
  1217. ( }' u/ J7 O  S, G% M; e
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 C. z6 e! K6 [6 J
  1219. ; MySQL defaults.# D, }# r6 n# R) n7 c, M. }" }/ l
  1220. ; http://php.net/mysqli.default-socket
    ' M& I3 h' ?( J0 E* O. W6 t' Q
  1221. mysqli.default_socket =) W+ n2 \' A  D' r  F4 Q8 I
  1222. 6 `( P0 k' }; e- j( R
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 H2 f1 s* a% ]3 Z7 _
  1224. ; http://php.net/mysqli.default-host4 v1 n0 o2 Y1 _7 Z/ N3 J
  1225. mysqli.default_host =3 @" C% n" t. ~$ h4 @& V2 k. Z
  1226. & q/ |3 l. c2 f6 s4 o
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).& ?; U( W3 k- @0 S% f
  1228. ; http://php.net/mysqli.default-user
    1 ^) n6 A1 |5 B. |% S
  1229. mysqli.default_user =
    . k8 r0 c' z: B6 x
  1230. ! n' O% U9 g9 x* s' i- O
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).! |$ f" K" O$ }2 w7 s8 R, J8 ^
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    : p) D, e+ e# f# \9 X" O
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 D) y# t& b* K% k8 E3 r1 ~' a/ w
  1234. ; and reveal this password!  And of course, any users with read access to this( F4 b- Y, Y3 `
  1235. ; file will be able to reveal the password as well.6 X+ b: f0 J3 w. U
  1236. ; http://php.net/mysqli.default-pw. W" ~* Z# J. y
  1237. mysqli.default_pw =1 G& w$ i% t* c

  1238. 8 v0 g2 ~$ a8 @5 c* a
  1239. ; Allow or prevent reconnect
    1 Z) N1 L+ X7 j
  1240. mysqli.reconnect = Off
    ) }& J# o4 R/ [0 ~6 P

  1241. - y5 l: ~; ?2 u2 P% i3 q4 H, Z: M9 s1 E
  1242. [mysqlnd]2 B1 D% e: L- I8 [" z$ O, n
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    $ c, v9 `' ]3 y% q; W5 k# Z  K) \3 i
  1244. ; used to tune and monitor MySQL operations.4 X1 b2 H! q) |9 d
  1245. ; http://php.net/mysqlnd.collect_statistics; ]+ s: `: h0 x! X7 }
  1246. mysqlnd.collect_statistics = On& f" f2 ]( F6 E4 x

  1247. 0 j+ d# C6 q5 s+ `* ~! C! Q6 E% v( v$ @
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ) @4 {' C% X9 M
  1249. ; used to tune and monitor MySQL operations.
    9 O3 |( N, b% Z0 D# n6 t
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ' d/ L2 S2 k+ }# [& O. r& x& [2 S' `4 J
  1251. mysqlnd.collect_memory_statistics = Off7 X$ Y+ R1 y) Z9 r* a3 t6 S& c

  1252. # T, o# G/ `) }6 i
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ' t3 O& T9 p* ^5 L" C0 K' @
  1254. ; file.9 W* E/ D3 c$ _1 }8 W2 g( r# t
  1255. ; http://php.net/mysqlnd.debug
    . e$ t& U; @1 i6 l9 s
  1256. ;mysqlnd.debug =2 U" j# o9 C$ g
  1257. 4 W5 Y: _) g+ R
  1258. ; Defines which queries will be logged.1 I* w6 v" x, F
  1259. ; http://php.net/mysqlnd.log_mask$ x& S9 L# `+ t3 z3 y
  1260. ;mysqlnd.log_mask = 02 `; `+ e! B; F& c

  1261. : p0 ?+ ?+ w* d) t. O
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " F" J1 `4 X- {( J
  1263. ; http://php.net/mysqlnd.mempool_default_size
    % h' Z6 H; F2 b& ]6 ?; _
  1264. ;mysqlnd.mempool_default_size = 16000; t1 Q. h: P6 P  U9 _9 u& F# `

  1265. - g3 b6 K( x# ^) Y3 u& N, O
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / w7 Q! |. e/ z  W$ L' D! J
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    2 ]8 Q6 X4 ^3 V8 U6 o
  1268. ;mysqlnd.net_cmd_buffer_size = 2048% _+ N) j- y6 z- _! h

  1269. * u! q9 e/ I2 L7 D' w
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in5 Q/ \7 s0 a7 W% _* _
  1271. ; bytes.2 ?5 m* p7 L- x7 N% p9 b
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    * J; R" t" O; `, G/ A
  1273. ;mysqlnd.net_read_buffer_size = 327684 B6 |( {! _# z

  1274. : O2 y( T; g& Y# R1 {
  1275. ; Timeout for network requests in seconds.
      e9 L% m2 e( X9 y9 `7 d. r- i- G
  1276. ; http://php.net/mysqlnd.net_read_timeout$ \3 r. @2 R' B- _7 Y  J
  1277. ;mysqlnd.net_read_timeout = 31536000, T2 @* z6 q0 s, M

  1278. 6 b5 W- m% w5 x+ m9 \, Z/ u- H
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA! X& a6 X$ s3 T. \, z+ H. i
  1280. ; key., _4 I% }3 g6 I+ j: Q, d' [) Y
  1281. ; http://php.net/mysqlnd.sha256_server_public_key3 x7 W* Q: F& U1 M' ^- h; Q
  1282. ;mysqlnd.sha256_server_public_key =2 s2 U) i' M' S0 `) b8 N0 q7 g
  1283. # T5 o; L/ k9 T* k
  1284. [OCI8]
    . g3 q3 \8 P! Q- O, p
  1285. , z8 Q- q, s( S' W4 H' H' M' G
  1286. ; Connection: Enables privileged connections using external0 p  m0 k  a2 w1 [2 l
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)! \& j5 c8 D( a; l' o) P
  1288. ; http://php.net/oci8.privileged-connect
    ; y' J. a* c3 a" F9 J
  1289. ;oci8.privileged_connect = Off
    2 ^& i& E$ Z3 g! w" T

  1290. " y1 l+ V. t) k9 z4 g) \
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    : n, [3 _& k, ?- s- r
  1292. ; process. Using -1 means no limit.
    3 M/ S% G: T" u1 r! k; [
  1293. ; http://php.net/oci8.max-persistent3 ]* J- }2 H) U, p# D
  1294. ;oci8.max_persistent = -1- {8 `9 _9 A# G; j
  1295. ) P' B6 _+ u! S, _
  1296. ; Connection: The maximum number of seconds a process is allowed to
    - z  }" G/ X* s7 z& V
  1297. ; maintain an idle persistent connection. Using -1 means idle& y' g' T2 T; a; {; U
  1298. ; persistent connections will be maintained forever.
    # B5 C* }, n% O( s0 ~
  1299. ; http://php.net/oci8.persistent-timeout7 ]# b% O2 s6 z
  1300. ;oci8.persistent_timeout = -1
    ( x( o( g. u- o$ S5 ]" ~+ t% H

  1301. 8 e& j+ y8 z; p  [( w/ l( o( d
  1302. ; Connection: The number of seconds that must pass before issuing a) u. V0 t$ W5 g2 p- E
  1303. ; ping during oci_pconnect() to check the connection validity. When
    , j. W1 I' e& c0 e, z/ K
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " t$ O4 Y8 c% t* z) H' o( v
  1305. ; pings completely.
    + J# T' x# K  W" t- u( x5 q
  1306. ; http://php.net/oci8.ping-interval' l- h( K1 w( w3 R
  1307. ;oci8.ping_interval = 60- s* L# E  H, F4 ?! I, M

  1308. 8 U( j& }0 e. b# E3 {8 s
  1309. ; Connection: Set this to a user chosen connection class to be used' O! T. I$ l/ T
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    . n* w1 l( i" Z" i0 b' p+ Y6 i
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # S' ^# [% Z/ l( u5 p
  1312. ; the same string for all web servers running the same application,
    & J' `) N7 a4 N
  1313. ; the database pool must be configured, and the connection string must
    0 g! g" o. k" j5 t! l
  1314. ; specify to use a pooled server.4 ^' _- U# ]- C, l  A; m
  1315. ;oci8.connection_class =
    * J; q* g4 `' K/ ^8 H+ M

  1316. 9 X( p9 I: L3 }' H, R6 m- p
  1317. ; High Availability: Using On lets PHP receive Fast Application( \. r  e4 ^4 ?2 H" V& L, O
  1318. ; Notification (FAN) events generated when a database node fails. The2 M4 O5 Z* u( x2 E4 j
  1319. ; database must also be configured to post FAN events.# B6 k" x. N2 I. t/ e( \7 o3 d. O
  1320. ;oci8.events = Off
    4 @7 A& g! x& c
  1321. " a, M# e' ]- A' E" g* o. I: _1 Q
  1322. ; Tuning: This option enables statement caching, and specifies how. M+ I, M9 g4 W7 w1 `% N6 p$ N
  1323. ; many statements to cache. Using 0 disables statement caching.1 Q1 j3 ^# X/ A) H$ z
  1324. ; http://php.net/oci8.statement-cache-size6 G- p+ W; e/ J, @, P7 E
  1325. ;oci8.statement_cache_size = 20: f: h4 V8 {+ M# J* J$ d% c8 f

  1326. 2 N( I* h: f" N; n; w
  1327. ; Tuning: Enables statement prefetching and sets the default number of1 G0 x, ~. j# }0 x; ^- Y8 e- q
  1328. ; rows that will be fetched automatically after statement execution.
    6 ]! {+ l8 ~: T# U4 ?
  1329. ; http://php.net/oci8.default-prefetch3 f  H; _6 ?4 y  M9 W% ~# Z$ u
  1330. ;oci8.default_prefetch = 100
    0 V% ?, l+ G; g' Z5 g
  1331. 7 U/ M: h- F6 N; l8 J( J* e
  1332. ; Compatibility. Using On means oci_close() will not close
    6 q' F6 o* x* O; i* V; j
  1333. ; oci_connect() and oci_new_connect() connections.5 }( e1 J8 z" J  E: |" }, N3 c
  1334. ; http://php.net/oci8.old-oci-close-semantics
    5 t4 p3 u7 y* |8 K$ {  |1 |' R! B3 T
  1335. ;oci8.old_oci_close_semantics = Off; p, n) F; @1 ^* l6 R" ?( G
  1336. ) X1 t9 P5 v" W0 x
  1337. [PostgreSQL]2 \% J7 k: {& p2 L, X8 m: i/ ~7 d
  1338. ; Allow or prevent persistent links.. f' X2 S! E1 v
  1339. ; http://php.net/pgsql.allow-persistent( v+ r) A) f" }: |
  1340. pgsql.allow_persistent = On2 s' Z  ?8 E( A+ {, B4 _
  1341. 2 b" j% Z+ y6 @/ H; I( ?$ f! H
  1342. ; Detect broken persistent links always with pg_pconnect().; ]' ?( I$ F: ^- H  d
  1343. ; Auto reset feature requires a little overheads.! I% k+ w) ]- J7 r. j4 @
  1344. ; http://php.net/pgsql.auto-reset-persistent1 O; d/ V' |  T; \( J
  1345. pgsql.auto_reset_persistent = Off
    8 y6 k7 H. j# ^- E4 N

  1346. & h4 Y& b$ C2 t, l" K9 c8 b# x
  1347. ; Maximum number of persistent links.  -1 means no limit.
    1 e) I- Q( k6 t' g+ M' G* Q
  1348. ; http://php.net/pgsql.max-persistent
    7 M0 {. j4 V0 C8 T
  1349. pgsql.max_persistent = -1
    ! u- M! G: c3 a. ~7 b% ]

  1350. ; E' s$ }8 G! E5 e+ L
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    0 X, @$ T9 }# G5 m
  1352. ; http://php.net/pgsql.max-links5 ^8 w* b3 {$ }6 I
  1353. pgsql.max_links = -1, ?+ w" k1 q( Y1 K/ ^# S
  1354. 1 Q( k5 {3 i+ H$ |; ?
  1355. ; Ignore PostgreSQL backends Notice message or not.
    , C( [  H+ x4 |
  1356. ; Notice message logging require a little overheads.
    : m$ `6 u! d$ k& ^) ^" [+ \
  1357. ; http://php.net/pgsql.ignore-notice
    " z: P! Y8 a9 @9 s, P+ V3 G
  1358. pgsql.ignore_notice = 0) |& r8 V0 o7 U+ w1 W* G& E4 E! O8 k
  1359. 2 E! X  z5 ~1 X7 w6 h" f
  1360. ; Log PostgreSQL backends Notice message or not.
    : |8 u6 @$ i. o7 Y; f
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    5 t5 x1 h) }. [. W+ k
  1362. ; http://php.net/pgsql.log-notice" }9 e/ O5 A1 W( L5 f) f  m: p( u
  1363. pgsql.log_notice = 0% h5 Z: f9 H' O6 K9 W. G

  1364. ! y* O; ^8 j; W% M8 y
  1365. [Sybase-CT]
    3 Y& J5 R0 s$ u
  1366. ; Allow or prevent persistent links.
      v3 X5 U; q- _! c" C
  1367. ; http://php.net/sybct.allow-persistent! E% l" [( o* @' k& o, E+ X
  1368. sybct.allow_persistent = On
    0 j* f" N3 q; n- W# v; N

  1369. 1 S' N) {7 z8 D+ o$ A& a7 v1 }
  1370. ; Maximum number of persistent links.  -1 means no limit.& n$ M+ Y" X. o- x) L8 ?
  1371. ; http://php.net/sybct.max-persistent* |6 V! a5 P( d% v1 ?
  1372. sybct.max_persistent = -18 e2 `+ w' [, G5 W% [
  1373. ! @$ m' P0 H4 J; G7 I# p
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." |3 |7 r3 X1 M/ S" R! n
  1375. ; http://php.net/sybct.max-links( K) d% ?' H9 ?% c0 E6 Q/ |; s
  1376. sybct.max_links = -10 ]6 \: |2 A( V- e. m- m

  1377. 9 C, ]$ G7 K. y0 Q5 o2 v/ i
  1378. ; Minimum server message severity to display.* b  e) j1 z. g! O0 Z
  1379. ; http://php.net/sybct.min-server-severity
    2 s. t) V8 W. w
  1380. sybct.min_server_severity = 10
    " [' f, Y/ A: V$ b2 {& l
  1381. 6 @4 i3 B3 ^& V5 V- Q# O: \
  1382. ; Minimum client message severity to display.
    " V0 S3 Q8 o- [5 f: q" m
  1383. ; http://php.net/sybct.min-client-severity( O! L  ~$ A" u7 v
  1384. sybct.min_client_severity = 105 M& C+ y7 S1 }
  1385. + [* m2 z4 V* R2 A( B
  1386. ; Set per-context timeout
    3 P" l+ o5 B# R9 T% D& \2 {
  1387. ; http://php.net/sybct.timeout
    ' Q: j8 ~2 }- _3 c, w
  1388. ;sybct.timeout=
    9 \2 T; V& z. H  q8 N

  1389. ' D* B  a) n; ?5 H, \4 Z/ Y
  1390. ;sybct.packet_size
    : ~3 G+ F% ?1 q; W
  1391. & r6 L& h; c8 l. d* J; {+ ]' y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    : u8 @9 M# O% r0 d: J# ?$ y
  1393. ; Default: one minute
    7 y$ _. |: R1 E9 j4 o3 m3 ?
  1394. ;sybct.login_timeout=* j' }, Q; J2 A7 h- @1 @

  1395. & C5 B$ w! p7 Z8 |% x# c+ [
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.  \9 B& J. m8 V. V' V! n! p  r
  1397. ; Default: none
    ( c- s; u5 }4 L9 }- @, m
  1398. ;sybct.hostname=- i# a+ a9 }+ V/ }: @
  1399. 2 T2 F, p) q0 m1 d1 z' u& S5 o9 r
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    & w5 o; S) ^' p5 E4 }
  1401. ; Default: 0
    - }5 F% p# |* |6 g2 ?* I
  1402. ;sybct.deadlock_retry_count=1 i, r5 `$ C2 K
  1403. . V% t8 d3 V# A& N+ M  r
  1404. [bcmath]) j4 l' H2 _. s6 \9 j
  1405. ; Number of decimal digits for all bcmath functions.
    + ]( `+ ?; \2 t
  1406. ; http://php.net/bcmath.scale+ r' F+ N0 z7 e' o
  1407. bcmath.scale = 0$ ?, j5 r5 o7 [# r, ?) A, |# S
  1408. : Y. x! Q* o' j5 Z& y5 _; C
  1409. [browscap]
      E! M! a- P' ]7 y- I# l
  1410. ; http://php.net/browscap  A. H+ @  @0 Z" ]0 @
  1411. ;browscap = extra/browscap.ini, N, y" H  X7 K

  1412. # E  H, z) O1 d8 ]; F2 \
  1413. [Session]
    : t5 b! V' I$ t2 ^7 H( c8 A; ?4 V
  1414. ; Handler used to store/retrieve data.1 Q8 z# j+ D* A$ w3 s' p
  1415. ; http://php.net/session.save-handler3 H9 ~1 G1 y; ]' t7 y
  1416. session.save_handler = files
    8 E: X5 D9 V! [1 I& ]; L0 h
  1417. . }0 C  E7 U' d* U
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ( f: n/ w. k, W! Q1 R0 d+ V' ]
  1419. ; where data files are stored. Note: Windows users have to change this
    1 T1 [0 o- g# h( i+ P* c
  1420. ; variable in order to use PHP's session functions.
    : K. b" \9 ]( v3 ~2 v
  1421. ;
    $ u+ P9 x5 ]# j( {3 |0 R- [
  1422. ; The path can be defined as:
    1 I5 Z- u# e8 B& w0 l
  1423. ;
    5 b3 n' l" S: N0 t/ ?# V/ K& Y: V
  1424. ;     session.save_path = "N;/path"
    . G) n4 N% c1 T( r# ~
  1425. ;
    ) I% H9 R2 R: F0 f4 a0 L: J( H
  1426. ; where N is an integer.  Instead of storing all the session files in
    3 T% R9 Y$ s5 Y
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ; B6 L: V; S0 Q; K% p% V7 f
  1428. ; store the session data in those directories.  This is useful if
    : r7 M4 v3 N+ W
  1429. ; your OS has problems with many files in one directory, and is
    - k& }4 w! m9 O5 N' X; T8 r4 J
  1430. ; a more efficient layout for servers that handle many sessions.3 r! Q3 t% V* o1 c  _4 u) v
  1431. ;) u% `, O; k9 p2 u' F
  1432. ; NOTE 1: PHP will not create this directory structure automatically.# _+ [8 E; J2 ~
  1433. ;         You can use the script in the ext/session dir for that purpose.3 ?5 w+ E) u" A7 O7 t3 H0 x
  1434. ; NOTE 2: See the section on garbage collection below if you choose to) D3 e+ r* f) @; K% ]7 {. e4 _
  1435. ;         use subdirectories for session storage2 n5 c7 J. m6 J8 D  C0 G
  1436. ;
    ' o, W/ ~9 S& c; ~
  1437. ; The file storage module creates files using mode 600 by default.% Z" t" q- v% A
  1438. ; You can change that by using; W# c! x3 D+ a3 n5 `2 \, B) l) T
  1439. ;
    ) \9 }$ x7 F6 @2 _$ s
  1440. ;     session.save_path = "N;MODE;/path"
    + a" a% ~% U9 d8 h! ^) p4 |% f
  1441. ;
    ) D% o" t& v% q3 b' F6 f1 Q7 b3 I
  1442. ; where MODE is the octal representation of the mode. Note that this
    - P6 L3 `! `- m' b8 ^: A
  1443. ; does not overwrite the process's umask.; M( }* J0 {) T0 G5 X. G) R
  1444. ; http://php.net/session.save-path
    + o* u2 F3 U3 g3 {" a
  1445. ;session.save_path = "/tmp"/ u- z$ v7 L  w
  1446. ' O; J% W+ g1 A0 a! {
  1447. ; Whether to use strict session mode.
    % o2 |6 V, H$ Y6 h4 X
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate* n/ |- I) |! k; X, [
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    * p: W" {6 n# e1 F
  1450. ; applications from session fixation via session adoption vulnerability. It is
    6 s- B* O8 k* S7 v% h' G2 j
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged." N4 ?2 W+ U1 J, R. X& }
  1452. ; https://wiki.php.net/rfc/strict_sessions+ w$ [2 X+ Z5 ]( m8 g
  1453. session.use_strict_mode = 05 I1 W/ I, a2 h& Y- ?

  1454. * W/ g/ c) _& ]( i7 M
  1455. ; Whether to use cookies.8 ^3 h/ g# ^" g1 w! H' t" ?' m
  1456. ; http://php.net/session.use-cookies
    2 H6 H6 a' m9 Z& H7 n
  1457. session.use_cookies = 1% Q. H1 m7 ^/ e2 q8 [; r- }" z
  1458. 2 M" d1 a  N! v1 N, h+ T
  1459. ; http://php.net/session.cookie-secure
    1 q6 C- ~2 l/ h' n4 n( }9 z" z7 G  F
  1460. ;session.cookie_secure =1 q/ X! Q  \3 e1 J
  1461. ) Q4 W7 x- L% O& S0 f5 D9 i
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    . m6 [$ E; E( b
  1463. ; the session id. We encourage this operation as it's very helpful in combating/ ^+ X3 L6 R% t: O/ r# F# I
  1464. ; session hijacking when not specifying and managing your own session id. It is* |- _7 A( C8 _. d
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start., j0 b$ _5 r$ S/ ^) b0 z0 P
  1466. ; http://php.net/session.use-only-cookies; X) ?. M' c7 ~+ ?- m
  1467. session.use_only_cookies = 1
    0 ^6 L* o+ L& J: v5 f  d2 @

  1468. ' {( p$ ?, J+ P2 w' a* F3 [
  1469. ; Name of the session (used as cookie name).
    ( l3 A: Z: p1 l' k; v' @' e
  1470. ; http://php.net/session.name; b/ y: r% c$ {
  1471. session.name = PHPSESSID( ^$ q. `- l( `, o

  1472. + N/ k1 b2 P; F. V/ G+ j, q
  1473. ; Initialize session on request startup.
    0 X8 o0 a  }/ {' c; ?6 ^( ^
  1474. ; http://php.net/session.auto-start8 C- a4 k) L4 R5 f
  1475. session.auto_start = 01 D8 Q2 v1 S2 ?. o

  1476. 4 g' M0 W  E  I6 {
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 w. P+ ?! h1 O# b9 [
  1478. ; http://php.net/session.cookie-lifetime  i0 _6 @1 v0 K" Q4 o: g# }
  1479. session.cookie_lifetime = 05 R7 [" V+ R) n! `9 I* z' b0 H( |
  1480. 8 w' d6 w* A/ D1 P
  1481. ; The path for which the cookie is valid.
    ! R8 W# w2 _* i0 T  i0 @: R
  1482. ; http://php.net/session.cookie-path
    ! z, v9 O5 C; L. B! ^# u
  1483. session.cookie_path = /
    6 ~' g) g  R  ^& H; n

  1484. 1 m+ R( p4 R" d% f
  1485. ; The domain for which the cookie is valid.2 L' O0 M1 r: k5 N
  1486. ; http://php.net/session.cookie-domain; }) i6 i7 A0 e2 E; r
  1487. session.cookie_domain =" I. S$ q. `% V/ o
  1488. ( {& a; E/ w& m
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ' B: I: G# E! P. O2 `
  1490. ; http://php.net/session.cookie-httponly
    0 Z! e6 b  g: h5 ^1 V
  1491. session.cookie_httponly =
      {3 c. i- p. I
  1492. 2 h* r: t; }. }1 @1 S0 l# a& G
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % L+ w7 Z/ }$ B5 G
  1494. ; http://php.net/session.serialize-handler
    ' |& c" B0 x% s/ ?4 n
  1495. session.serialize_handler = php
    , l8 z- ?3 q9 \5 U) R! L

  1496. ) z) a5 B0 N, h, g: ?3 ]. @" _- `
  1497. ; Defines the probability that the 'garbage collection' process is started
    # T- _: V( S: [- }
  1498. ; on every session initialization. The probability is calculated by using
    ! S; q  T: Q2 {  ~: [: ?( t
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator& t! G$ R4 U' Y) `( N3 |; H
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 15 C$ H5 [5 \! @5 h: F
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " M4 K9 F# K0 B3 y: T; ~
  1502. ; the gc will run on any give request.
    9 @9 Z, [/ B4 ]
  1503. ; Default Value: 1
    $ D: X( ^. {# D2 k2 ]: q
  1504. ; Development Value: 17 z. X% C7 [5 @( s% H1 l8 [
  1505. ; Production Value: 1
    7 z' m# o1 h1 o% W& `" C& J1 f
  1506. ; http://php.net/session.gc-probability
    9 K/ |2 ]) H, P- t3 N
  1507. session.gc_probability = 1
    ( T) P+ j: J0 c! D* z# W

  1508. # ~& d: T; C3 U( e$ K; ?
  1509. ; Defines the probability that the 'garbage collection' process is started on every) k$ Q9 r" [4 X  [! j% n- t0 |
  1510. ; session initialization. The probability is calculated by using the following equation:
    * J  M. J! L" o* ]
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
      _$ |* d/ {) s! ]% S1 G) g5 t
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    , S8 n2 @# |0 B1 E1 w
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. |0 R  R/ F1 X! Z2 ~) b+ N, r
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # n9 ]4 i& u+ y% V
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - C7 g/ v6 Z- P) c8 j* [9 R
  1516. ; this is a more efficient approach.
      Q' q/ a6 |0 I; e) v6 \
  1517. ; Default Value: 1003 r( ~9 q3 N8 N) R. G
  1518. ; Development Value: 1000( t8 K' k9 b% N0 M" ^/ ~
  1519. ; Production Value: 10006 J0 s+ Y! C$ q
  1520. ; http://php.net/session.gc-divisor
    $ j& {4 B! x8 L! y% u& S2 ]
  1521. session.gc_divisor = 1000
    * [7 O6 d5 S4 f" j( W( N& m
  1522. 1 x% P# S9 F; Z
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and- x% h- S+ x. T! `, Y
  1524. ; cleaned up by the garbage collection process.6 ^' T+ a5 M0 e" }, J
  1525. ; http://php.net/session.gc-maxlifetime5 L! f2 q+ i9 b" _' {" `
  1526. session.gc_maxlifetime = 1440
    8 E, v$ e/ y; x4 K# A2 r
  1527. - ~, @' P/ W0 W
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    4 s/ x1 O; {) f, I1 x
  1529. ;       (see session.save_path above), then garbage collection does *not*
    8 o, h1 s4 }9 T( u- s  H% P
  1530. ;       happen automatically.  You will need to do your own garbage
    " Y, U  d! p8 Z6 q
  1531. ;       collection through a shell script, cron entry, or some other method.
    ' e* s! Q5 ~) J( p$ V
  1532. ;       For example, the following script would is the equivalent of
    " u9 @( d8 _% B" m4 f2 J) F6 ~
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):  I: [, W( Y* c' c8 z
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm/ |: \. M0 ]. }& L; I) B+ y
  1535. ( I* u+ f: B/ D# i5 T/ _
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.# I1 [; r, p4 V* ?# T
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    / d& q8 C1 E) {# M& p! t
  1538. ; considered as valid.
    / V/ D: C( Q5 }7 L2 m
  1539. ; http://php.net/session.referer-check
    1 E( N8 O! g2 w4 Y- H
  1540. session.referer_check =9 E3 Y/ G, n0 v: c' u- p3 Q

  1541. 1 u/ N  x* ^0 B1 ?: R
  1542. ; How many bytes to read from the file.% O+ G9 P! u# ~% Z' Q, S
  1543. ; http://php.net/session.entropy-length
    " E9 a" X9 y1 q, N8 }# }
  1544. ;session.entropy_length = 32
    6 c0 Y0 e, R3 C0 U* X7 C

  1545. 3 p* Z& J  Z) ?
  1546. ; Specified here to create the session id.4 t- z' r. z6 m; x3 c3 K
  1547. ; http://php.net/session.entropy-file
    + ^9 C; `5 U. o; R- @
  1548. ; Defaults to /dev/urandom3 A& n- u, ]  Z& Y& [7 O! `5 D
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom6 y( |  E) N& r5 v1 a. ]. B: \( f
  1550. ; If neither are found at compile time, the default is no entropy file.
    ) S( n; G9 A5 n* p6 r
  1551. ; On windows, setting the entropy_length setting will activate the- O1 ?  A9 G" h/ O
  1552. ; Windows random source (using the CryptoAPI)6 o; |9 O& E& X$ m1 b! A' T
  1553. ;session.entropy_file = /dev/urandom- h7 y* i+ M; b' M0 D# \
  1554. - \' k8 \+ B0 l$ h: _' ]2 b# v, K
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects1 ~& b$ _/ K/ E' ?8 a
  1556. ; or leave this empty to avoid sending anti-caching headers.
    1 S) X# Y! i& F
  1557. ; http://php.net/session.cache-limiter; N) d1 _5 v' F! ?4 u% V
  1558. session.cache_limiter = nocache$ F" G2 ?) ~) N% ?
  1559. 9 x7 a+ h! U, g7 ], i$ m
  1560. ; Document expires after n minutes.
    1 y& _* T" G0 |' }- |4 C4 e
  1561. ; http://php.net/session.cache-expire* V  i9 [$ g, D* @2 ^5 x; I
  1562. session.cache_expire = 1808 c" F7 @% t6 u  E! n- Z& }
  1563. / s; j& R4 _: b0 B4 z" c
  1564. ; trans sid support is disabled by default.
    * }" h6 q* z( {& ?+ x7 L
  1565. ; Use of trans sid may risk your users' security.$ V& G1 Y' i0 j" M) ~
  1566. ; Use this option with caution.( E# t! j+ e! C6 H4 Z
  1567. ; - User may send URL contains active session ID
      t3 W' k+ V( x$ l$ `
  1568. ;   to other person via. email/irc/etc.
    " g1 a& W6 N: f, G* Z) _' B# t) |
  1569. ; - URL that contains active session ID may be stored+ D3 T( }" H& u- B  ]
  1570. ;   in publicly accessible computer.
    ) j: J+ c! A& N. J1 `, M# `
  1571. ; - User may access your site with the same session ID3 s2 \; d4 W* v9 Q' y5 u9 ]/ |7 q
  1572. ;   always using URL stored in browser's history or bookmarks.
    2 V5 Y. @" q1 b
  1573. ; http://php.net/session.use-trans-sid$ P+ [7 O! `, N. z" x
  1574. session.use_trans_sid = 0
    # E+ J# |; Y" w: X7 o4 l
  1575. + ]' K, w& x+ l
  1576. ; Select a hash function for use in generating session ids.& e( z8 ]+ C8 h! q; b
  1577. ; Possible Values
    ( K- S- `* _+ |' E% W/ P2 t
  1578. ;   0  (MD5 128 bits)
    * k/ x7 i1 l8 q  @% D$ O) t2 C
  1579. ;   1  (SHA-1 160 bits). s' x3 I; N6 {9 x) D- `
  1580. ; This option may also be set to the name of any hash function supported by
    " T9 g9 W# T6 A& b# K
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    + ?3 |# W, _9 w. Z% \" M0 W& B, s
  1582. ; function.
    " J3 @0 }9 c5 |" K( X
  1583. ; http://php.net/session.hash-function* W' t( D6 r- ~& \3 D/ }
  1584. session.hash_function = 0
    8 V' |, G2 ?! s6 W4 @
  1585. ) E2 J: D# k3 ?1 R
  1586. ; Define how many bits are stored in each character when converting
    . `" O& x; E7 [" f- Q* M
  1587. ; the binary hash data to something readable.
    . r5 l( S* M6 Y) D! ~9 n
  1588. ; Possible values:
    % h7 e$ ]* j% j! A
  1589. ;   4  (4 bits: 0-9, a-f)
    ( T" U2 z$ g# [+ @" T# N7 m1 I5 Z) A
  1590. ;   5  (5 bits: 0-9, a-v)9 @. D! o0 @1 m3 u" ?* z; t
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; M; ^; f1 p; V  H/ E/ @
  1592. ; Default Value: 4
    3 t; _( V" d0 v: ]
  1593. ; Development Value: 5+ b% y3 S  m- {$ F! U& M8 F
  1594. ; Production Value: 5
    $ m, o! `, t, ^" e
  1595. ; http://php.net/session.hash-bits-per-character: r  f; O+ O2 u& l# U/ _
  1596. session.hash_bits_per_character = 56 ]1 \3 B# o7 N) Y) y* h
  1597. 6 q# C" u8 J. i( a. a7 v
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    3 L1 g1 u1 M9 r$ [4 w: O+ e6 Y
  1599. ; form/fieldset are special; if you include them here, the rewriter will8 `, y1 ]- y% L2 S! S5 K( d
  1600. ; add a hidden <input> field with the info which is otherwise appended
    7 a7 H! x' S) A0 I# L
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ' h3 q/ Q& e* \2 a4 {; Q4 @2 H* U
  1602. ; Note that all valid entries require a "=", even if no value follows.
    * f+ ?4 S  ^( W9 [& Z! Q/ {2 x6 p/ `
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ ~. q. \& w$ K6 X, a
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : L: u* L0 t8 {" g7 w
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! t1 O& H! @" {  l) [: w/ K. U
  1606. ; http://php.net/url-rewriter.tags* P8 D1 `! @1 C) @3 j9 R
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    : Z' L  c$ P5 ]& U4 r
  1608. # F1 S; Q  t$ X* @$ D& Y/ D" X8 R
  1609. ; Enable upload progress tracking in $_SESSION! t+ N2 p5 c  n6 l0 i% g8 N
  1610. ; Default Value: On  g' i5 H9 P/ U4 o5 R
  1611. ; Development Value: On* e& e; _& Z$ {; e) a7 V( U
  1612. ; Production Value: On- A$ ^0 t1 i/ N1 q# D) S8 U( w
  1613. ; http://php.net/session.upload-progress.enabled8 J, q) k* u, R1 H% N
  1614. ;session.upload_progress.enabled = On
    2 H4 ]1 ?' ^! ?3 b+ t$ O
  1615. ' p" J- h8 X3 [" E
  1616. ; Cleanup the progress information as soon as all POST data has been read) k- _9 m" U5 M3 ^- O! f
  1617. ; (i.e. upload completed).; s( Z. g9 D: d& Q
  1618. ; Default Value: On% {* M1 E, |5 k8 ?
  1619. ; Development Value: On3 T& h/ C; I; f- b" P% `! ~# c
  1620. ; Production Value: On
    ! }* ]4 k& b" N" g3 v
  1621. ; http://php.net/session.upload-progress.cleanup
    * \0 I2 ?: X( j5 t
  1622. ;session.upload_progress.cleanup = On
      F+ U; [+ I8 f) a& w

  1623. ! a  T9 ]: v4 d6 t0 t
  1624. ; A prefix used for the upload progress key in $_SESSION
      O! t* ^% q; A
  1625. ; Default Value: "upload_progress_"
    ; M+ J- W( P$ c7 ?. [
  1626. ; Development Value: "upload_progress_"
    , ?. E4 d+ B6 F/ r( t% G, A$ d
  1627. ; Production Value: "upload_progress_"
    , u' X9 D( {6 v7 m7 K: W- i3 D: w
  1628. ; http://php.net/session.upload-progress.prefix
    : O: K* R3 X2 Y3 W- b) b: d
  1629. ;session.upload_progress.prefix = "upload_progress_"" k5 |9 G1 M0 P9 Z% ]

  1630. 4 l: s9 b; }, H+ ~  m/ T! n
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ) G* H; l# v/ V
  1632. ; containing the upload progress information
    ! I$ O7 c" Q: C/ l! \
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ K0 p3 K  x7 N2 c; r
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS", \$ k7 F( t1 C6 q+ K  g
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"  p" [6 O2 v6 G$ X4 }
  1636. ; http://php.net/session.upload-progress.name
    * N1 H5 `7 j1 C3 [, j4 T: W
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 [: b! i' j9 F7 t2 J

  1638. / T9 ?5 y" R5 s; i2 S; t
  1639. ; How frequently the upload progress should be updated.
    - T. X3 d+ I9 \( a$ G5 h* @
  1640. ; Given either in percentages (per-file), or in bytes  {6 O1 I" a- M& ?9 @  w. v
  1641. ; Default Value: "1%"
    # l5 `: g* U+ R3 f: U
  1642. ; Development Value: "1%"
    4 N$ H3 P3 W/ Z1 Q7 Z9 N
  1643. ; Production Value: "1%"
    ; F7 A" O; F; w+ g. V8 d
  1644. ; http://php.net/session.upload-progress.freq* Z: \% c" d  ]& d! P& ?9 A  r
  1645. ;session.upload_progress.freq =  "1%"' U4 o+ W# _, ^( R

  1646. - O8 W  Z; [+ `6 B$ A3 J7 }2 [
  1647. ; The minimum delay between updates, in seconds
    # A6 L8 E) y8 @7 }& |- q
  1648. ; Default Value: 1* `4 R8 ]# D* S6 ~6 f  o
  1649. ; Development Value: 1
    & _7 K: l8 c: n) N
  1650. ; Production Value: 1
    6 o7 R' e0 c. u+ b' P  n1 E
  1651. ; http://php.net/session.upload-progress.min-freq/ `3 l, w% J+ ~; u. K* [6 y5 b0 x
  1652. ;session.upload_progress.min_freq = "1"
    % d+ _6 C4 t- V8 n" i5 F0 _
  1653. - }8 K  Q* d" {/ x, i2 o! o- X
  1654. [MSSQL]! B8 K- s" C1 D1 S) {
  1655. ; Allow or prevent persistent links.  a4 V% M( O$ \8 ]) {* U8 K
  1656. mssql.allow_persistent = On
    9 Y6 A; K* T4 i. _

  1657. : o' H) @4 o( P' I, e7 ?! T! j
  1658. ; Maximum number of persistent links.  -1 means no limit.  y  o  ^3 B' W- Q% v6 F7 x: c: G" Q2 V
  1659. mssql.max_persistent = -1
      [, |# E4 h: Q6 Q
  1660. * \4 h& M2 _( B! b5 g6 a: e. X9 D# X- X1 Z
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% G. K; V3 P. m7 S& E7 H& o0 A8 g
  1662. mssql.max_links = -18 x6 h* l8 T" O* ?

  1663. 7 [8 o. i; r! v$ H8 ?3 F% y& S/ @
  1664. ; Minimum error severity to display.
    $ x3 f6 u6 ^# p% ?6 t2 Q
  1665. mssql.min_error_severity = 10
    # V! V& q! @/ ]4 g1 u

  1666. * d' G9 `# P& y# T/ M
  1667. ; Minimum message severity to display.: t; I+ q; E' h6 _$ x& l
  1668. mssql.min_message_severity = 10! ?% Z, b* ^6 K9 A9 z

  1669. & P( `! E  g$ a# e. _2 b8 _1 D
  1670. ; Compatibility mode with old versions of PHP 3.0.
    9 Y) ^. w. F/ E; r3 ]+ s
  1671. mssql.compatibility_mode = Off) B. M8 n/ |/ P, W' i

  1672. + W3 E7 v' S' A  H) \& N3 m
  1673. ; Connect timeout" T, B" C6 `$ Q
  1674. ;mssql.connect_timeout = 5/ B+ D6 K3 L3 q' W! J$ C- @) w, v

  1675. 1 O9 l; m  g. E0 [! J$ B4 w: A
  1676. ; Query timeout0 K( O, Y7 ]4 l4 C8 w1 b
  1677. ;mssql.timeout = 60
    3 J( e0 X0 b0 P! K! R; `

  1678. + U& k  _% i! a" S
  1679. ; Valid range 0 - 2147483647.  Default = 4096.2 g- N3 [+ y3 N+ Q/ F" W
  1680. ;mssql.textlimit = 4096% V5 }, j. Y0 Q; h

  1681. ; B$ t1 n- O' n1 L" R, e! X
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    * ^. D# ?- F# W9 f5 i
  1683. ;mssql.textsize = 4096
    3 k  g% j' X% W' u' {* W
  1684. 9 x3 g- {& _; n
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.. E1 L- _4 P8 E- o9 B( @" X
  1686. ;mssql.batchsize = 0: B* x, n1 a3 `$ o7 y
  1687. , e; u- P* ]( g& \2 C
  1688. ; Specify how datetime and datetim4 columns are returned
    $ C9 {/ q+ F" t) }/ m/ P4 s
  1689. ; On => Returns data converted to SQL server settings
    ( Q2 B& l/ v4 N" v9 j7 u
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss) m  o& S" M' ?4 f8 G# U. s
  1691. ;mssql.datetimeconvert = On. }4 N4 s, @6 y% |  \, N

  1692. 3 \" ?  A' A# N& W' v( \# k
  1693. ; Use NT authentication when connecting to the server
    - ?5 c4 R' h/ F$ _9 S2 g
  1694. mssql.secure_connection = Off2 T1 f6 n& v5 ^& E: x* v6 b

  1695. & m, m2 U# U5 ?2 C. g( N& a
  1696. ; Specify max number of processes. -1 = library default* m, t/ j+ g! ~( b3 o$ p% V
  1697. ; msdlib defaults to 25
    , w/ l- z* ?* I% ?; t6 c
  1698. ; FreeTDS defaults to 4096
    / [& i" }( u) j* R5 m% ], a
  1699. ;mssql.max_procs = -1
    6 z. u. U9 U3 r+ ]% h7 M" C9 T5 ]

  1700. 1 \& {4 P2 A- I+ L) n( C4 V2 G
  1701. ; Specify client character set.
    3 h7 `2 l( A. T0 {
  1702. ; If empty or not set the client charset from freetds.conf is used
    / q% {8 s9 h2 h: C, I+ }
  1703. ; This is only used when compiled with FreeTDS% Q% e; a; H, K0 b2 O7 J2 o
  1704. ;mssql.charset = "ISO-8859-1"% `' p" x# O0 k
  1705. & u, ]) e0 _/ R% N" r8 R
  1706. [Assertion], w4 q2 B6 g: U
  1707. ; Assert(expr); active by default.
    2 P( G5 F' B, I# y8 [0 V
  1708. ; http://php.net/assert.active2 I9 N2 l7 I0 d5 F+ c3 z
  1709. ;assert.active = On/ |  ?' J' g: u; T; ]+ G$ y6 F

  1710. * v: _: y4 Z! B  l) J/ g- R+ R2 I' ?
  1711. ; Issue a PHP warning for each failed assertion.% a$ A& P4 J- C3 R. _+ T- ]
  1712. ; http://php.net/assert.warning
    7 f% D/ j7 ?/ S) e% P; v
  1713. ;assert.warning = On
    % Z' y% ~0 s0 R. _" j
  1714. ! ?" |( `# a; M1 C; `, W
  1715. ; Don't bail out by default.
    , _! Y( z7 K' l
  1716. ; http://php.net/assert.bail9 z. _/ m4 h0 i# W/ v% f2 ]
  1717. ;assert.bail = Off
    ; H5 Z0 [# b, V- H
  1718. 6 u8 J' v* ?% P7 A9 \5 o8 \
  1719. ; User-function to be called if an assertion fails.
    & }1 E: g- X" w% ~2 @: G4 [
  1720. ; http://php.net/assert.callback5 X3 Z6 j: C+ U! s* a$ h
  1721. ;assert.callback = 06 V3 U7 }+ ?4 z, ]1 b! h

  1722. $ |2 q5 s! F0 r  _
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    + N1 U5 I1 o* |* p# f5 s" c  r
  1724. ; error_reporting(0) around the eval().# Z# g) v( U  s8 b; O3 C
  1725. ; http://php.net/assert.quiet-eval
    , L2 }, O8 q) P* r  }5 x: P
  1726. ;assert.quiet_eval = 0; M* ?# T# G/ l  ^. `

  1727. 0 v: N) r+ P; ]+ W0 P4 N7 e0 y
  1728. [COM]  }. X/ o$ A: V$ n1 m9 K$ h$ Y
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs7 n9 W: w! {1 u# w
  1730. ; http://php.net/com.typelib-file$ B9 a- b4 H8 W8 ], G
  1731. ;com.typelib_file =2 ?) K1 ~+ c4 @$ t
  1732. % O$ u/ P0 o5 d4 P' E8 r
  1733. ; allow Distributed-COM calls
    $ j8 v6 C* K4 N  ^' V( m8 r
  1734. ; http://php.net/com.allow-dcom( i+ C$ \5 W) ~! H& |
  1735. ;com.allow_dcom = true. u5 }* b! e5 I5 Q! I- y, J1 |. v( X

  1736. 3 f- A, g' N- e: R- a
  1737. ; autoregister constants of a components typlib on com_load()$ E. T! l% v4 n7 g6 O2 _
  1738. ; http://php.net/com.autoregister-typelib
    + |. F! d1 Y6 E) X
  1739. ;com.autoregister_typelib = true
    # c7 l' C- A! R$ e

  1740. ) b& ~" R1 `" b
  1741. ; register constants casesensitive
    9 G  Q$ C) e9 V
  1742. ; http://php.net/com.autoregister-casesensitive
    & C( A1 M# R4 P
  1743. ;com.autoregister_casesensitive = false
    9 t7 e( Z; k2 ^% [
  1744. 4 ]" f+ S$ m$ }* K% K! M
  1745. ; show warnings on duplicate constant registrations% v! @+ m6 d& j7 Z9 e3 ~3 w
  1746. ; http://php.net/com.autoregister-verbose
    ; X( z1 d7 \: `
  1747. ;com.autoregister_verbose = true7 L) T- y4 |! a

  1748. ! O: l7 ?: l" r1 c6 B
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    0 d% d/ ]% \/ }
  1750. ; Default: system ANSI code page
    . D& y) r% L9 E/ i" N2 D* B
  1751. ;com.code_page=
    , q6 i4 ?+ K2 r8 [

  1752. 9 T9 j7 p  V3 U5 e! I' ]
  1753. [mbstring]0 `1 D4 [2 o1 [* i& C$ R, G% P1 e
  1754. ; language for internal character representation.
    : ?" h' ]/ Q+ J! c% q/ B% u9 B
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    4 Q- ]& F1 Q$ u  U1 W
  1756. ; http://php.net/mbstring.language
    1 O0 u! D3 F8 O: A$ j
  1757. ;mbstring.language = Japanese
      N9 T; x" K; }; I, B
  1758. 0 \/ j7 U; T# k3 g' B% ~9 O3 I
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * k. H' K3 _* ^7 K$ Q! P0 C  Z: G
  1760. ; internal/script encoding./ E# i- ^, x) R' R5 X
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) L# g; C9 J3 F
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . Q7 l- l  q+ u( p( }, f& p, c8 G
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 i8 y0 H9 r* q. S' O9 {; r' N
  1764. ;mbstring.internal_encoding =/ `' H& @( r: c1 r( l

  1765. 9 p+ J- V+ c* g: i
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.$ t( U) _  t$ |" t
  1767. ; http input encoding.) e+ N0 ~1 k  r; {2 V. V0 Q' v& U
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.5 F4 j& D/ g0 U5 ]
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used., _& d' g' L& g1 i* e0 Y. T4 s$ c
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input1 l; t. Q: b4 V, Y( o7 g8 N, q) b" Z
  1771. ; http://php.net/mbstring.http-input; \5 Z6 o# D3 z
  1772. ;mbstring.http_input =
    % ]# @$ L8 U; c) j5 {. B

  1773. 8 \9 f! s# B$ q! F& U- g
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead., Y; u7 x3 n$ t% S
  1775. ; http output encoding./ s) G4 n6 l8 _
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 C3 W, @6 L. J; I
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ; l2 l" Z+ @$ u: Q2 D& @* d2 l/ ?
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 F" {5 O% \4 ]6 u! C
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    5 n1 g8 H( }; P  o
  1780. ; otherwise output encoding conversion cannot be performed." y9 r5 ]: A0 L/ M& |+ b
  1781. ; http://php.net/mbstring.http-output
    2 \% V- b# _1 T" q/ ^1 _
  1782. ;mbstring.http_output =
    # i$ |% y: m/ }7 f
  1783. ; V7 _. ]+ }. ]1 J- n  |
  1784. ; enable automatic encoding translation according to
    : n) x9 r7 q" `/ O7 ]) v
  1785. ; mbstring.internal_encoding setting. Input chars are
    # `0 x9 n, K) e/ H
  1786. ; converted to internal encoding by setting this to On.2 L4 ?1 ?- z# l2 _
  1787. ; Note: Do _not_ use automatic encoding translation for* j' r0 l, }/ z2 L1 x, q7 ^4 r' W
  1788. ;       portable libs/applications.
    # u; o  a. c" f# Q4 i7 i* S
  1789. ; http://php.net/mbstring.encoding-translation" o( s* U; L) `: ?4 r- h& w
  1790. ;mbstring.encoding_translation = Off; W! l" P. X" `5 [4 e6 _9 w

  1791. 3 w' E9 X: q' C3 Q& b( n: n
  1792. ; automatic encoding detection order.
    % f. E( _  a! C4 A: x2 ~
  1793. ; "auto" detect order is changed according to mbstring.language
    . S$ k1 x$ K% i- N
  1794. ; http://php.net/mbstring.detect-order  w$ t* Z9 e2 Y/ _3 ?  y4 ]
  1795. ;mbstring.detect_order = auto
    * W! n* E. P) K

  1796.   p# g9 b6 v- t) J' t) ~
  1797. ; substitute_character used when character cannot be converted
    1 C# v9 Y$ [1 }6 b  R$ m! U
  1798. ; one from another
    5 g5 O. i1 ~' v) I; B
  1799. ; http://php.net/mbstring.substitute-character
    ( g1 ^: w7 P9 e8 `. B
  1800. ;mbstring.substitute_character = none
    ! K! M8 l6 ?; j
  1801. + X7 Y0 ~# k# ?- [; |8 _
  1802. ; overload(replace) single byte functions by mbstring functions.7 V! a' d3 Z2 i
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    8 k5 K, ?$ L2 @: b5 V/ `
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ) P6 q2 ]3 q) }
  1805. ; For example, 7 for overload everything.; w1 P6 A8 h9 n1 P" x# F; h# _. i
  1806. ; 0: No overload
    / A7 e) S( k5 `, f- k
  1807. ; 1: Overload mail() function
    ) ~3 v1 k6 o  V" S" }  Y3 Q
  1808. ; 2: Overload str*() functions
    ) q+ W2 O9 e. j! B0 V2 p8 O! g% U
  1809. ; 4: Overload ereg*() functions% y: s: k* G& M7 b! k
  1810. ; http://php.net/mbstring.func-overload& r/ j7 r( n! Z+ |2 w
  1811. ;mbstring.func_overload = 0
    * @" Q# X' J, R

  1812.   o+ P/ @8 S, g$ c! D
  1813. ; enable strict encoding detection.3 e8 [9 O- o+ B, R' F
  1814. ; Default: Off
    % O% p) Y& [' z* ~% m. u) Z
  1815. ;mbstring.strict_detection = On
    3 v/ k2 N& l2 v' ?) f' \

  1816. 0 P5 r; L/ J! F9 a( t# e3 S
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    " M+ v' q9 @$ b
  1818. ; is activated.: e1 p6 u1 ^6 B, n- f5 j
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)' V; \1 M) m+ F, c8 z+ a+ `
  1820. ;mbstring.http_output_conv_mimetype=
    3 }% Z3 P/ T; u9 L" M0 u

  1821. , [- I0 y' `* F  L
  1822. [gd]
    ) t) v, v+ c  Q
  1823. ; Tell the jpeg decode to ignore warnings and try to create+ N- P$ n7 F. s0 I, b4 V% ^& |$ b
  1824. ; a gd image. The warning will then be displayed as notices
    5 v% n2 M6 ~" s- b; D4 W5 _/ G4 p
  1825. ; disabled by default$ s# |; y8 j" i3 @3 `  i
  1826. ; http://php.net/gd.jpeg-ignore-warning3 ]  M% l- [, p8 e" H# {  }
  1827. ;gd.jpeg_ignore_warning = 0. K( ]( ]: `. n$ g

  1828. 4 ^8 S: x1 \: t; f
  1829. [exif]; b; c9 n. J# z3 H8 U
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & F1 }7 Q: s- l' f
  1831. ; With mbstring support this will automatically be converted into the encoding% {' Z+ ]  u$ j0 i
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding, O4 L1 d" \% s/ L
  1833. ; is used. For the decode settings you can distinguish between motorola and
    , A. f3 H# x% P6 _! L
  1834. ; intel byte order. A decode setting cannot be empty.8 z' y0 J' y2 V6 c
  1835. ; http://php.net/exif.encode-unicode  q* m- q% Y/ j8 F& q
  1836. ;exif.encode_unicode = ISO-8859-15
    8 J" t/ I$ |# w: T  X

  1837. ! C' u% E9 A! }/ ~
  1838. ; http://php.net/exif.decode-unicode-motorola
    + m: T7 v7 ~5 X7 X9 c  Y/ @; L, h
  1839. ;exif.decode_unicode_motorola = UCS-2BE7 N* R: Z, J. i; F* e

  1840. % u& `1 h, W9 F
  1841. ; http://php.net/exif.decode-unicode-intel
      d  _) o5 ?9 _7 C" b# N; `
  1842. ;exif.decode_unicode_intel    = UCS-2LE0 [' h0 Q. R; O# T2 a

  1843. ; l- m% G9 q. t7 x' f# ~0 m
  1844. ; http://php.net/exif.encode-jis- i! U! m! v' g* l. e3 W  d
  1845. ;exif.encode_jis =
    ) j) {  W* ~4 z

  1846. 7 O: H2 t- F" @. \: c& V
  1847. ; http://php.net/exif.decode-jis-motorola
    , B8 o! J/ a  B1 d) |* Z7 j
  1848. ;exif.decode_jis_motorola = JIS" Q/ P6 f4 {1 E# V/ \
  1849.   R/ |9 r8 x8 @- w" q) P& v$ a' ^  R
  1850. ; http://php.net/exif.decode-jis-intel+ V7 C4 e4 z0 c1 j/ N1 p
  1851. ;exif.decode_jis_intel    = JIS) g# g9 B  a% x! s& L
  1852. ; P0 q) w- V( c; U8 O2 J8 R
  1853. [Tidy]
    - E  q& M. I" j2 G& x
  1854. ; The path to a default tidy configuration file to use when using tidy! h" G) f* x. C8 Q6 r5 ]" ~+ P
  1855. ; http://php.net/tidy.default-config! ~6 i4 B/ v( ~! G
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 I2 @5 o; V* a2 i+ V, n1 K

  1857. ' h" K  D! t; q* A
  1858. ; Should tidy clean and repair output automatically?/ c; q3 ^) s* E' H$ Q
  1859. ; WARNING: Do not use this option if you are generating non-html content2 O5 @% P* ~" y+ P- ~
  1860. ; such as dynamic images* [% t7 U; T" i8 H+ d( S
  1861. ; http://php.net/tidy.clean-output
    . `6 ^1 g: L) B" g2 R0 ]
  1862. tidy.clean_output = Off* P( O5 [3 N! E  P
  1863. 1 C* V2 f+ v1 c; {3 j
  1864. [soap]6 i0 ?8 f3 i$ C) O5 G5 P. |7 J
  1865. ; Enables or disables WSDL caching feature.' b& t# G1 {# E  c+ q" B
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ( _2 C& W  g* D( E7 f
  1867. soap.wsdl_cache_enabled=12 C5 A: D; |5 h  I. W4 V; \
  1868. 0 b7 [/ e' F5 r7 G6 M( L& l6 M
  1869. ; Sets the directory name where SOAP extension will put cache files.( f( m4 m) ^* k# p6 p0 U
  1870. ; http://php.net/soap.wsdl-cache-dir, w6 L+ ^1 o1 [# B. U+ f
  1871. soap.wsdl_cache_dir="/tmp"
    # b9 o, r4 b& r# ?

  1872. * U5 R1 C7 }* |! {$ E1 j1 l
  1873. ; (time to live) Sets the number of second while cached file will be used  K4 ]' v- D( U( H' z
  1874. ; instead of original one.- b& {" ?3 S5 O5 H9 a' J4 t! ]
  1875. ; http://php.net/soap.wsdl-cache-ttl6 L, j/ w/ v% C  T
  1876. soap.wsdl_cache_ttl=86400
    # c, k/ R7 u/ B' z
  1877. + ]( D3 v8 v! B* U& x) C5 e* A2 G1 J
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : d1 P. R2 j/ D( X) ^, k
  1879. soap.wsdl_cache_limit = 56 N4 `4 ]2 J+ z

  1880. 8 |, Z  Q, m1 f( u& G$ A
  1881. [sysvshm]
    % W' ?# ]1 c' X* u- y; o( R! |: U
  1882. ; A default size of the shared memory segment
    $ r! j7 l3 f% H1 y6 n
  1883. ;sysvshm.init_mem = 100003 J6 ?- C+ P: T+ h
  1884. / a" m& m- g4 z8 K$ g/ h% r
  1885. [ldap]+ m# L) l" F! `6 y, i
  1886. ; Sets the maximum number of open links or -1 for unlimited.! ]+ Z5 ]' J' n
  1887. ldap.max_links = -1
    1 `+ y( Q" s4 x0 N& a5 e9 n

  1888. * }9 o& G8 n. Z8 i
  1889. [mcrypt]
    7 S, l5 w; K- [2 K
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    # L0 b# k& X) b0 Q! ~! t, z

  1891. / m0 C- x8 C4 F* o4 Q6 c5 r
  1892. ; Directory where to load mcrypt algorithms/ ]5 G6 v/ ]# }' h0 s9 k
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), F  L3 q' L9 w: N0 g' t" e
  1894. ;mcrypt.algorithms_dir=
    0 `' V' O) z* o  W0 J+ F- k

  1895.   T5 u7 O- J9 T' p3 L0 c
  1896. ; Directory where to load mcrypt modes+ X, C/ u* B& w& t5 J! q7 e
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 x( M) c1 |/ c! x2 E
  1898. ;mcrypt.modes_dir=5 k9 K3 Y5 Z0 b

  1899. & S9 ~: Z6 t0 X, ~7 w) P. v
  1900. [dba]
    + b0 }' ]$ w1 ~0 _/ [
  1901. ;dba.default_handler=% j( _, j; x* _  M7 x, P; n- C

  1902. 7 G6 P6 H" O- A/ v# x
  1903. [opcache]
    4 ]9 b* x" c. V# B9 e
  1904. ; Determines if Zend OPCache is enabled2 |6 t) D# C  O( @
  1905. ;opcache.enable=03 ~7 x  W9 c1 z8 z1 @. ^) _
  1906. 4 |1 B- Q! b' x
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    4 [" U  I: a$ T& s& A: Q9 ?
  1908. ;opcache.enable_cli=0" R: u" x' i, \3 S8 Z) y
  1909. 8 j, n7 r$ l/ U4 l% z3 q+ F+ H
  1910. ; The OPcache shared memory storage size.
    9 {  y, a# Q1 j
  1911. ;opcache.memory_consumption=64
    + S# M+ n  l% b% Y

  1912. , z1 \  A2 h, n7 \% D5 {* x
  1913. ; The amount of memory for interned strings in Mbytes.
    ; ~8 r8 z  v# B7 y: U2 U
  1914. ;opcache.interned_strings_buffer=43 C6 N/ K1 j' T% `( |7 w
  1915. % H% ~# X! X$ K3 R* p5 s  K& V
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.. p# |: A! Q7 V& i! U9 R
  1917. ; Only numbers between 200 and 100000 are allowed.
    / R, N  [. y$ P/ q/ `
  1918. ;opcache.max_accelerated_files=2000; P5 p' l" ~" D6 E" V/ w1 N
  1919. " G) M% o0 k9 X: t& I# s! \
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 W. H: G7 b3 M9 J) W9 {& q
  1921. ;opcache.max_wasted_percentage=52 g$ B$ Z- p/ N- S3 ~2 y

  1922. : ^6 h/ R" G! ~3 i+ C# H) @
  1923. ; When this directive is enabled, the OPcache appends the current working  E3 B6 F. T! H( z+ w, G" X
  1924. ; directory to the script key, thus eliminating possible collisions between
    . c/ _  G9 _$ b  |& ~/ j2 b
  1925. ; files with the same name (basename). Disabling the directive improves
    , Y' V1 Z! M$ B8 g8 k  v) D0 v
  1926. ; performance, but may break existing applications.
    $ O; v1 |9 K+ v  f2 }5 F
  1927. ;opcache.use_cwd=1
    7 I" g$ m$ j1 O& @& V7 f
  1928. : H" Q! N* J% j  N" k1 q
  1929. ; When disabled, you must reset the OPcache manually or restart the% x1 n# W  ~$ x$ n. L2 }
  1930. ; webserver for changes to the filesystem to take effect.$ s  G* @( f4 N7 ?* S8 x2 f2 e
  1931. ;opcache.validate_timestamps=1. B  {7 H0 v% U4 U( j/ J* `. y
  1932. + J( v6 \& o# Y/ g# p  z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    . C) V8 C* K+ d! v* r$ ?; b
  1934. ; memory storage allocation. ("1" means validate once per second, but only# m2 \: H, Q' L
  1935. ; once per request. "0" means always validate)
    6 \8 {4 B, \; r% G* ]5 T, T# k
  1936. ;opcache.revalidate_freq=20 h6 q! c: d, x: F/ A

  1937. 0 I6 X5 `( v0 j3 }5 k- ^8 m3 O/ K& j  {
  1938. ; Enables or disables file search in include_path optimization2 R  A5 }* A2 ]
  1939. ;opcache.revalidate_path=0! Q& l2 U2 r6 K8 U( I4 Z% M

  1940. 2 u6 v! S3 B1 C1 b
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the+ g7 _! a  N0 S  `* X9 j. K
  1942. ; size of the optimized code.
    8 W8 q" C+ `- X  t5 Q! J0 w( @
  1943. ;opcache.save_comments=1
    ( f- R" j3 U4 r. K" }

  1944.   T1 F) x, [' I. ~7 S! H
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"6 [0 ]/ p' a0 p( Z& [4 K5 U8 E
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ( }5 f+ u. B  d1 I8 U
  1947. ; that don't need them anyway.$ V8 K8 V* ^: O" z# z1 l
  1948. ;opcache.load_comments=1
    2 R1 l# Z7 W- I/ L

  1949. 3 I; N; j. m: I7 \+ K
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    $ E6 a0 Y, a* P! V! Z7 O
  1951. ;opcache.fast_shutdown=05 L: N: d  |2 H

  1952. 9 B$ a$ C. j$ `8 g+ W! h
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    1 }' }# C# U. o, |8 I. o8 ^# u
  1954. ;opcache.enable_file_override=02 H4 f8 J5 }! F7 n- @
  1955. " S9 y9 Z- i" ~/ f; e9 i. B
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ' @/ S- A- y& M4 R' k! n
  1957. ; passes! Q8 |/ Y( ~( `- \% `# `
  1958. ;opcache.optimization_level=0xffffffff
    " [* ]8 I7 o, G; H! \+ R" J

  1959. 6 t* I5 c0 r, s: O9 R) O
  1960. ;opcache.inherited_hack=1( A3 G6 l- h  c' Z
  1961. ;opcache.dups_fix=0+ V) z& q- S$ [7 y  j$ c8 o+ V7 k) @

  1962. 7 s3 j7 r5 ^# P/ A9 ?
  1963. ; The location of the OPcache blacklist file (wildcards allowed).# X# s% H% Z! \# n$ w- x- y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    + V0 V/ G9 v4 \2 q
  1965. ; that should not be accelerated. The file format is to add each filename, }; l2 z" ]9 G# V" W2 P
  1966. ; to a new line. The filename may be a full path or just a file prefix- {' g5 M9 R! \6 w1 x
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www: C& v) x: h& s4 \; q. Y
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 S& _/ i: k/ J5 H% v
  1969. ;opcache.blacklist_filename=
    8 B# r* N9 ]+ h& U3 `/ s/ c' d

  1970. 4 X8 z( M/ k, @- p2 q; B
  1971. ; Allows exclusion of large files from being cached. By default all files
    $ l" ]0 f" \- y
  1972. ; are cached.6 m* o2 P  p& V
  1973. ;opcache.max_file_size=0# [2 L8 W/ k5 P  [* v
  1974. 2 c; `1 t0 H) u0 P
  1975. ; Check the cache checksum each N requests.5 \  X7 E5 t: _: l5 X
  1976. ; The default value of "0" means that the checks are disabled.( \  R6 D, @, u# Y+ V
  1977. ;opcache.consistency_checks=0
    2 t4 R: g) g8 R
  1978. * ]4 z  K8 p1 O; C0 m1 u$ b/ j
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    9 Z9 l+ g( P9 q" X
  1980. ; is not being accessed.
    3 M2 P! V" B" P0 F
  1981. ;opcache.force_restart_timeout=1808 i% e" B* K) K* U

  1982. ' i' a) X0 w) {/ _+ V0 h) Z5 |
  1983. ; OPcache error_log file name. Empty string assumes "stderr".7 n( R+ L. t, a: y
  1984. ;opcache.error_log=
    . p5 h5 [* D# A# ?# J
  1985. + [; J) p# }* H' _2 f) G! _/ W
  1986. ; All OPcache errors go to the Web server log.
      A  `; K& l; S/ l% R8 R
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    / g6 f$ a# `; K6 \
  1988. ; You can also enable warnings (level 2), info messages (level 3) or( |0 N; N; J. R( R6 k, V8 u/ ^
  1989. ; debug messages (level 4)., e/ C/ D& m& L- R9 F
  1990. ;opcache.log_verbosity_level=1
    , i5 P# d% _( w
  1991. : M1 N" g$ L6 W. `( |% U
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 D0 C! C5 B& n3 S& l
  1993. ;opcache.preferred_memory_model=
    ) l8 c- H9 w. N: l! `$ h
  1994.   U6 _& `; f, p2 d/ V5 X4 r  \
  1995. ; Protect the shared memory from unexpected writing during script execution.
    " T4 F+ d6 a" U
  1996. ; Useful for internal debugging only.7 h9 j9 J0 f( e  D; {  `$ A
  1997. ;opcache.protect_memory=0, j% N* i1 i: \/ _4 l
  1998. 5 D/ K! \6 G4 X& N. i' Q- _
  1999. ; Validate cached file permissions.
    ' d9 _  {4 }: q. E
  2000. ; opcache.validate_permission=0
    ' D4 j8 n1 W( c* ?1 w! Z: T

  2001. / |8 H1 V' n: ^/ O2 i
  2002. ; Prevent name collisions in chroot'ed environment.
    ! ?- ^; f& A, b5 E' O, h
  2003. ; opcache.validate_root=0! q' H; F& J, k7 n4 x( M

  2004. # a. g& T" K- X( L+ X& _* ^( L
  2005. [curl]
    : o4 @, c5 q2 i
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an& B) y5 m7 I$ X/ c7 Z( x& B: Q+ J
  2007. ; absolute path.
    , t% E$ J: p" X$ P  z
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    8 v# X5 c; t4 H
  2009. 1 P. V4 o# l# f9 R$ Y* R
  2010. [openssl]& S$ G# P0 z- k
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    . O9 z5 q* m9 c0 N0 u1 c" @
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % ~& w+ H  X3 D! y( M
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ) h& X. a9 K5 B! J% {4 ]
  2014. ; OS-managed cert stores in its absence. If specified, this value may still: }5 R3 O9 i4 m5 `& l( j# M, U" }
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    & ?. U: V0 l6 D% w# R( s
  2016. ; option.; w& q6 s" `' c, n
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ) g7 p1 q8 _8 [: e' d
  2018.   ?3 h) u8 F; x. d7 n
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    , I% }+ u# [9 U2 p7 V
  2020. ; directory pointed to by openssl.capath is searched for a suitable  _( Z7 [! E; a: g* x! ?! X0 v! N
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    8 Y9 c( {$ k1 c& L0 p1 O
  2022. ; Most users should not specify a value for this directive as PHP will1 L) b3 c& V1 B# m  V
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,1 r- |! q7 ^7 Q. v9 ^# s. I
  2024. ; this value may still be overridden on a per-stream basis via the "capath"& |; d! N; c5 w0 U6 x0 \
  2025. ; SSL stream context option.
    " p+ i# W* P1 g5 b. Q$ u0 g
  2026. ;openssl.capath=1 }5 Z: X+ F1 O. r6 D) O

  2027. ) c3 n# d  e5 k5 Z9 y% \# J- b
  2028. ; Local Variables:
    ( u2 C; x+ E; K9 u  ^! G) r# a
  2029. ; tab-width: 4
    4 d+ ^0 d7 I# M5 ]  n0 A! i3 N- [  O
  2030. ; End:1 Z( U# V3 X' l- S

  2031. 9 _) s! H% @, a/ v; X2 j( Y
  2032. ;eaccelerator
    8 Q0 \2 u) L5 K1 U/ v

  2033. 3 g4 J- F9 D* v& y( a( j
  2034. ;ionCube
    9 H9 v( G9 Z  u$ n" M" N- }
  2035. 9 E" c9 r! x; F# T, z
  2036. ;opcache7 x" V7 d# t3 x+ Y

  2037. * M* P$ }/ B  E
  2038. [Zend ZendGuard Loader]
    4 w5 Q/ p0 l0 g) H/ Q' }0 }
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so1 S" z8 O4 ]1 A4 I# j2 W
  2040. zend_loader.enable=1  }" n/ i/ ?3 {6 G7 H- B0 b( P# I7 |
  2041. zend_loader.disable_licensing=0* y9 a7 d$ R: c6 V
  2042. zend_loader.obfuscation_level_support=3
    9 B% g( z% w' q  m" D9 ~6 o
  2043. zend_loader.license_path=
    % {/ i3 @" x% f( ]* T. B5 V) [

  2044. 1 p. \+ ^+ u1 ~9 ]
  2045. ;xcache1 r5 j3 a( }0 R; y$ t

  2046. 3 k  b# o$ {: ^
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692$ P; e7 _" i" d. l2 P
  e/ x  b; p8 `# U* j" r
( B) r! O2 ^% F( p
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,/ g7 N: x& ~2 M

+ @, X4 X" k1 a# W: \Discuz!程序版本选择:
& ~+ d) r' R9 R4 F  i站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
3 d3 |1 R9 P9 M1 C6 u不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:. L' w( \: f: w
Discuz!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。
$ t8 F5 _' }1 ^
$ v5 e7 O9 M: mDiscuz!插件模板版本选择:
5 ~5 }$ Z% n5 _4 D( U* v. T很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
2 c; |: b! ?' G0 s* u9 x6 I针对这个问题做个统一的普及:
( c; f! N$ m1 TX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。. W) C' d0 i" C$ W
3 ^7 `- \8 [5 ]3 F6 Y
所以* C  c( [6 X2 v; G* t3 f
适合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的二级域名。  E1 p. {, L7 M' C. O2 a# a6 |
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
: e" V7 Y# d7 M( I9 L注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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