分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
7 q& ~  E+ X( L9 i/ j: T2 q. I  }6 ~1 A: O% o: N* Y0 b
  1. [PHP]2 D; f( \, F: g. R
  2. ! l! F. u: {# W7 K6 q
  3. ;;;;;;;;;;;;;;;;;;;
    . U9 g$ c  |) n9 h* R
  4. ; About php.ini   ;
    " ?2 f( e6 x' J1 E0 K, Y2 H
  5. ;;;;;;;;;;;;;;;;;;;
    8 G% S; M+ U- l0 ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ) T8 Q7 k& ?0 A
  7. ; configuring many of the aspects of PHP's behavior.3 R  K1 z: d& {+ x; B5 U8 u

  8. 4 }  x$ ^6 m0 @+ Y; |# o
  9. ; PHP attempts to find and load this configuration from a number of locations.
    . {* c! T& `! w/ d
  10. ; The following is a summary of its search order:. u- j: J2 G  J6 {$ l# P
  11. ; 1. SAPI module specific location.6 O! v2 `: i, {3 n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 L4 m" t3 j9 j# ~+ S: c. h
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 V& Y3 Z/ A4 _, R* n
  14. ; 4. Current working directory (except CLI)8 e" e/ q1 r" D
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 a) ~3 l; [; w; Z1 }" N' \
  16. ; (otherwise in Windows); `) p- W7 M6 o/ k5 k" Z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the% X5 G. R) s* T3 {2 @
  18. ; Windows directory (C:\windows or C:\winnt)+ B0 D  a& U7 S  v
  19. ; See the PHP docs for more specific information.2 w. P- d' U( k$ i1 o; {* k: H
  20. ; http://php.net/configuration.file
    " y7 U) S% Z+ H  ?" n

  21. ( `+ Z4 S8 s, |% e: [0 I& I- W( [1 E& c
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ! o4 O5 U* [) @) V# c5 H) P
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    & R' t/ d3 q  o0 o$ ?: @1 E
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    9 N; v1 o3 E, O& M0 M8 P) t
  25. ; they might mean something in the future.
    5 h9 S# ^7 y. v

  26. 9 |3 v% O6 z2 ~5 M
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * e, I" X7 U+ e; Q- }" h* l
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ! _5 C4 H9 l3 s% G, }, q1 D) ^
  29. ; following the section heading [HOST=www.example.com] only apply to" Q8 z5 V4 ~. l  X+ A2 f
  30. ; PHP files served from www.example.com.  Directives set in these) z; x( H6 p1 o% B/ ?& Q! [, Z
  31. ; special sections cannot be overridden by user-defined INI files or
    1 x: |6 C  T0 n
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    - i6 t9 W  G& z3 U& I: z
  33. ; CGI/FastCGI.
    % t% V! G* N# ^, O9 e3 c
  34. ; http://php.net/ini.sections
    & k) r8 z; i; a

  35. # s' z3 ?$ ~/ r: ]# }" H
  36. ; Directives are specified using the following syntax:
    - m: V3 t2 d2 b* D7 S; w
  37. ; directive = value
    5 L. b: A7 C' {+ R0 e2 |4 L
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    # T3 i+ g+ {5 z  D/ j- I
  39. ; Directives are variables used to configure PHP or PHP extensions.# X* o7 n5 @# e0 y; v% }
  40. ; There is no name validation.  If PHP can't find an expected
    + D1 m5 E- V& B5 y. ^
  41. ; directive because it is not set or is mistyped, a default value will be used.3 Z3 a* T. q" C; k! k9 u* r4 n+ c
  42. & E0 |- z6 ^3 a
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one0 Y* E: j, c/ [# L  u
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression+ K6 m. n; B: X3 h) P5 I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    & K6 Q# I" a6 q* p' l
  46. ; previously set variable or directive (e.g. ${foo})% l3 p# h% [! w2 P$ L1 v

  47. . t1 v8 X3 k9 V' h* d
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 Z6 C4 ~, O  A, r6 v- u
  49. ; |  bitwise OR
    ! S, ^9 S- _# }: d8 R! p( {+ K# C
  50. ; ^  bitwise XOR; }# g2 [  a; ?9 ^" f" }1 I/ t6 E
  51. ; &  bitwise AND
    ; \! d; @: D' G8 ~, y9 F$ o6 d8 i
  52. ; ~  bitwise NOT$ `2 p  M. Q- G, @0 J( R
  53. ; !  boolean NOT
    6 y* R' _' m2 T! M/ s. S: d9 U0 Y

  54. 8 E* t( B  i, H% u4 s' e
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 }& L6 x: X4 z: [% c3 U! i8 ?
  56. ; They can be turned off using the values 0, Off, False or No.3 [% D/ V: K( _

  57. * d1 k6 M  S& a. @1 A# z* c' j
  58. ; An empty string can be denoted by simply not writing anything after the equal
    , M! ?4 s6 s0 D
  59. ; sign, or by using the None keyword:- b, l4 X7 ]2 E: r6 m8 A
  60. ; M) |" G7 s/ k* H) k& i$ u
  61. ;  foo =         ; sets foo to an empty string
    * v3 {5 a7 Z: \
  62. ;  foo = None    ; sets foo to an empty string
    3 R% }3 J: j, a
  63. ;  foo = "None"  ; sets foo to the string 'None'
    2 g* E8 k) r+ r8 o" r
  64. . m0 k; b1 z6 l% L
  65. ; If you use constants in your value, and these constants belong to a, N& [4 q( t% Q, F0 C; p5 V! v
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    3 H# U) S% j  x( I
  67. ; you may only use these constants *after* the line that loads the extension.
    3 o- z  L+ b! `

  68. - }4 Y! U0 g5 A0 L* ^
  69. ;;;;;;;;;;;;;;;;;;;$ g4 @0 o3 [, X& A
  70. ; About this file ;
    8 W+ B+ t8 s: q
  71. ;;;;;;;;;;;;;;;;;;;9 T7 g" L) U* R8 h8 ?
  72. ; PHP comes packaged with two INI files. One that is recommended to be used/ {- x" ]+ u! c) y; K/ s3 _
  73. ; in production environments and one that is recommended to be used in
    + \# ~& _) t/ U0 L* \# B* C
  74. ; development environments.! l+ u" @8 V% O2 Q

  75. * z+ c) R2 ^+ n1 \
  76. ; php.ini-production contains settings which hold security, performance and% r- A! [4 N0 S& ?6 H+ G
  77. ; best practices at its core. But please be aware, these settings may break
    $ y2 t" `) W  s. K4 Q/ B; u
  78. ; compatibility with older or less security conscience applications. We% c2 R5 m  W5 w: S  r
  79. ; recommending using the production ini in production and testing environments.2 r. ?! l) p. c2 _6 t( ^4 u
  80. 2 K* `3 t! }& R& d( Y- d
  81. ; php.ini-development is very similar to its production variant, except it is
    # m8 E9 ]% Q% L7 m. }
  82. ; much more verbose when it comes to errors. We recommend using the( {/ l1 t3 S+ ^' U, n0 U
  83. ; development version only in development environments, as errors shown to: A" ?- W0 {% p
  84. ; application users can inadvertently leak otherwise secure information.7 O- M% ?2 ]/ B9 i1 {

  85. 3 O0 k5 Z$ A& `/ k
  86. ; This is php.ini-production INI file.
    1 D: \, R4 I% g9 K% I
  87. ( O2 H: {$ Z! a
  88. ;;;;;;;;;;;;;;;;;;;) K  h4 J9 V6 I1 X$ R& V
  89. ; Quick Reference ;
    8 G4 y2 U2 r) t* S
  90. ;;;;;;;;;;;;;;;;;;;* U# s, R; v1 T' [& f
  91. ; The following are all the settings which are different in either the production
    : @. k8 i& O- i/ k
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % \" z- t% n/ ~0 ^6 p' h
  93. ; Please see the actual settings later in the document for more details as to why
    6 V" ~) V8 f, p/ ~. j3 u
  94. ; we recommend these changes in PHP's behavior.+ x7 @: d5 S3 R8 Q9 x2 P

  95. ' R+ x) [% Z, e& L+ _
  96. ; display_errors
    6 Y) M9 f; |. ~, ], P. w4 m1 A+ V
  97. ;   Default Value: On( }% L6 b3 R5 u" a( X" T
  98. ;   Development Value: On
    7 }7 L5 ?- L& J( B+ E8 |
  99. ;   Production Value: Off
    * _( n! }7 E& N; g' M1 L
  100. 3 a% R9 q4 [& w8 w5 l/ M" X- H1 f
  101. ; display_startup_errors3 w8 |! z/ H2 @# t
  102. ;   Default Value: Off
      r( \' M' t5 ~
  103. ;   Development Value: On/ M# y/ |6 e  [" B- M8 l9 f$ `
  104. ;   Production Value: Off, d$ j, A! b+ o5 i! O
  105. ) n" Z! K, b* M6 Q
  106. ; error_reporting, X) C8 P, l2 U  p( V9 D/ n
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 b- m+ S/ a+ h/ ~& T! \
  108. ;   Development Value: E_ALL
    7 W2 c  G$ |$ ]9 P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % J/ N# T7 \8 u& ^

  110. ( G$ d& f+ R# [8 V2 I7 }
  111. ; html_errors% U2 k+ e/ ~6 _  h; S: p5 K5 x
  112. ;   Default Value: On
    ; Z5 e; w) C4 c  T7 }; ^
  113. ;   Development Value: On
    $ b1 @  x" m  j5 o1 S4 h
  114. ;   Production value: On
    8 q# x* d8 }; w5 J. y/ b& |- K
  115. 3 O; z, M' i$ ^: X( j7 [
  116. ; log_errors3 [3 ?4 e- c4 Z  E3 H
  117. ;   Default Value: Off
    ( n8 D2 @9 s- X# z
  118. ;   Development Value: On' m. L2 {* P6 S( V6 y0 C' c8 l; X
  119. ;   Production Value: On$ o, _2 \6 X4 M% l8 J$ K- o

  120. 4 D% z5 R3 z/ w
  121. ; max_input_time+ g7 N6 g- \, T
  122. ;   Default Value: -1 (Unlimited)
    : Y! ?3 W6 Z8 Z/ e8 Q9 D
  123. ;   Development Value: 60 (60 seconds)6 ~6 F4 ~0 u0 q  Z0 P- @. M* \2 _
  124. ;   Production Value: 60 (60 seconds)
    . j; f% f9 t. @3 n5 U' s

  125. " T  t. T6 c8 |5 L
  126. ; output_buffering
    6 D3 ?" Z+ }# r3 X  M4 ^
  127. ;   Default Value: Off! |! H! O/ \5 n8 }  l! A0 Y
  128. ;   Development Value: 4096
    $ C# B+ j9 y% a
  129. ;   Production Value: 4096
    ; _1 f, s: f1 C  b" u$ ~; A

  130. 6 {) ~" q2 ~, k$ V
  131. ; register_argc_argv1 o; w- Z" s  ]- k: S
  132. ;   Default Value: On$ m+ R& X" B- f: X  f2 P( I9 I
  133. ;   Development Value: Off. y# T' |6 G0 C" z& d
  134. ;   Production Value: Off
    ; |; T/ r# u3 B/ A/ z% W$ h

  135. 6 s% b3 v: u; T  y' w
  136. ; request_order
    ; Y% M: W5 b, ]' r
  137. ;   Default Value: None0 [5 u& @1 O- P' y5 w# Q
  138. ;   Development Value: "GP"
    ) {; G& T2 i9 F4 X/ @* m1 }' P
  139. ;   Production Value: "GP"
    & N/ _, S$ w4 M8 W, Z
  140. 5 F5 Y0 @& _+ o4 M9 k
  141. ; session.gc_divisor
    6 ]/ {: K; Y+ S; h: @2 s
  142. ;   Default Value: 100* S- m) ~: W! T7 e. U
  143. ;   Development Value: 10004 Q. ?% v4 s( {' o& E" y
  144. ;   Production Value: 1000" n! z) |, l# s+ v! ]* a+ e

  145. & l7 j: ^4 [3 _; ]
  146. ; session.hash_bits_per_character
    7 ^8 n' B; Q) G- o- M3 }/ f, f# P4 A8 y
  147. ;   Default Value: 4
    + ?; T# e# A5 }
  148. ;   Development Value: 59 P2 S  ?6 a3 m3 E
  149. ;   Production Value: 5' Q3 V& v* j8 U, B* q% c
  150. ( L3 c, T1 ]/ I4 H7 W( D* @- w! g; s
  151. ; short_open_tag* X& b9 ]' J1 F; s% d
  152. ;   Default Value: On
    8 j, A0 ~2 Q/ T8 D
  153. ;   Development Value: Off
    ! [* L; n8 M( n& ~3 |, c
  154. ;   Production Value: Off, H% I4 ^* V# C8 O! w) n
  155. 8 [; W4 w) d  |
  156. ; track_errors
    ) n3 a: P( i% ]$ k
  157. ;   Default Value: Off6 [! }" e  V/ d! `+ \
  158. ;   Development Value: On
    ! \* }0 }+ I* y
  159. ;   Production Value: Off
    & @& f8 D% n, e  t

  160. % Y5 }8 G: P; W; X3 y
  161. ; url_rewriter.tags1 H5 y. [6 I8 W7 @& w6 f
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( ~- e7 N, [: p
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": m2 J3 `; q, n8 G: Z) z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 i* Z5 o1 R9 _: B6 G

  165. " |' _7 L% u% i! y: f
  166. ; variables_order: z$ T6 \2 b* E4 `% h: }8 I
  167. ;   Default Value: "EGPCS"% A' u: f6 D/ H' B
  168. ;   Development Value: "GPCS"
    - O6 h+ k/ B# |+ e4 l( {$ z: B( E
  169. ;   Production Value: "GPCS"% ^- [, \: I( W2 m% j: n% u% E$ L9 c

  170. ! \  }/ {8 B! d- ~9 l$ o$ {
  171. ;;;;;;;;;;;;;;;;;;;;
    ' a6 d, t6 T1 N: D8 V+ G/ u) _; [1 `
  172. ; php.ini Options  ;4 p* Y# O! A! D, Q1 ~3 @6 L7 U( P4 c
  173. ;;;;;;;;;;;;;;;;;;;;
    $ g6 [( e5 N7 o
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ) }; u$ u+ }# Q' D3 g9 @
  175. ;user_ini.filename = ".user.ini"
      d# v, i, N$ I9 @! x% V" w

  176. 2 w8 a" |2 [, m  \" B# y
  177. ; To disable this feature set this option to empty value: `, G! y1 w4 V# C! Y
  178. ;user_ini.filename =
    2 s4 E5 q, a: c2 r7 s! x& T; z

  179. # n/ o) \' z; Z: }9 j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ L8 e3 g3 L3 i- L; R
  181. ;user_ini.cache_ttl = 3003 ^  ?' L; y1 p5 h( J( R4 g  f: L' N

  182. 6 c1 C' ^8 g8 \  m6 Q# y8 K7 Q0 }
  183. ;;;;;;;;;;;;;;;;;;;;
    7 T5 a$ t6 H) Z7 m$ H  f% q2 m  j
  184. ; Language Options ;+ C9 k8 }0 o& P. T! p9 `. m" ]
  185. ;;;;;;;;;;;;;;;;;;;;& D7 N6 T9 B7 t: P7 d; x8 T

  186. , f! a6 g  R7 B  n' d. [
  187. ; Enable the PHP scripting language engine under Apache.) N$ h7 |! ]- R' c2 @( T. \
  188. ; http://php.net/engine
    8 `8 W0 d( Q& U" }  H3 a$ d; @! N
  189. engine = On
    & d- c! }; u" \& z/ Y3 u7 m
  190. ( L. q) \% y3 ]9 _2 j+ y
  191. ; This directive determines whether or not PHP will recognize code between( U6 P4 ^* ^/ r. [7 `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, q+ @( i' _, f. y* }/ l
  193. ; generally recommended that <?php and ?> should be used and that this feature3 m* p% e7 h# W
  194. ; should be disabled, as enabling it may result in issues when generating XML
    1 N# i  d- C4 y' D; z& @9 ~
  195. ; documents, however this remains supported for backward compatibility reasons.
    % H7 G$ z% o% q- e- k* H& d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be* g. e; D6 A1 C
  197. ; used regardless of this directive.
    4 I" H( ]. }" {# o; q. y/ b
  198. ; Default Value: On
      j! l: L& O- U, f& ?$ n
  199. ; Development Value: Off
    $ e$ S8 L! i. q# B- a2 X1 Q
  200. ; Production Value: Off9 }& {# M2 ?$ p
  201. ; http://php.net/short-open-tag0 N" f* W# w1 y  l; q6 t
  202. short_open_tag = On
      k3 N) ~. q* j% o4 M
  203. ' V. n# I! u  p; B* B. w0 ]0 E
  204. ; The number of significant digits displayed in floating point numbers.
    4 |/ _$ Y( S5 {9 `9 U  z4 w9 p; j* J) b: h
  205. ; http://php.net/precision1 Q, w+ ^* |1 q1 {5 k: X) S
  206. precision = 14
    , B" Y8 e8 \, R: E3 Y, ~2 X

  207. ! s8 o# d; T! l9 y
  208. ; Output buffering is a mechanism for controlling how much output data, F& P6 Q* a, ~$ K' ~
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ a, j) y7 C: k- [/ f0 P( U
  210. ; data to the client. If your application's output exceeds this setting, PHP
    : C) S6 B  q- }
  211. ; will send that data in chunks of roughly the size you specify.
    " O' J8 L( D! S, O7 z% _0 W
  212. ; Turning on this setting and managing its maximum buffer size can yield some5 N( i  ~: z1 @3 @. O. w
  213. ; interesting side-effects depending on your application and web server.
    - G$ I! O& b/ b0 i' W; D( ]
  214. ; You may be able to send headers and cookies after you've already sent output
    # d0 n( M! x" A- n5 `: F
  215. ; through print or echo. You also may see performance benefits if your server is' Z0 B2 j& `' g, C' K  K
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    7 L9 ]9 O) G/ m: }8 ~% Z) h5 R& S6 r
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    - N' b* V- W: q) t
  218. ; reasons.
    % p+ i- H, o& t2 [7 X
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    , b6 j/ |5 C5 d( P9 `* _; \
  220. ;   functions.
    2 z  C9 x8 [1 T
  221. ; Possible Values:
    ! F5 L9 I) i4 A+ N& z; ?- t
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ' |% t% ]# C7 F' w8 j
  223. ;   Off = Disabled
    # G+ A: q7 s5 w) V, Q  ]
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " t/ G: b) ]. q5 H
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - d! W0 u# }3 ~/ i: q1 r& G
  226. ; Default Value: Off8 a# B$ o* t: y, c
  227. ; Development Value: 4096& A# n: H5 I( n  @' x% {' M
  228. ; Production Value: 4096
    ! t& ?/ A8 X" P! W$ ~1 j1 T  y' J6 ~
  229. ; http://php.net/output-buffering
    9 q2 y$ ^5 d+ h+ D! W
  230. output_buffering = 4096
    2 B) d) G# o7 j5 B3 N' n1 I0 v. {

  231. $ p' v: D* M" s) ^
  232. ; You can redirect all of the output of your scripts to a function.  For
    2 G$ k( N! a, J' \( z) o" F
  233. ; example, if you set output_handler to "mb_output_handler", character$ Y) G5 U" ~+ B' i3 F" [
  234. ; encoding will be transparently converted to the specified encoding.6 H3 V4 w' ?: q. k
  235. ; Setting any output handler automatically turns on output buffering.+ s; }- _. V3 \: q$ s
  236. ; Note: People who wrote portable scripts should not depend on this ini- {$ b, }$ \! T: z$ R
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    / C( ^" g3 V2 e! w+ ?9 T8 i# X: o! b
  238. ;   Using this ini directive may cause problems unless you know what script: _$ X" k( S1 u% P( }( s! N! A
  239. ;   is doing.
    : g; l: Z: ^: w+ \/ l" f, R
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    2 _) ^1 D, m$ _* }
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# J3 U  T# [5 h# V" x
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( u$ |3 F( ~' N& t
  243. ;   Instead you must use zlib.output_handler.
    2 g8 r5 H4 Q. Z/ x& i! O4 k0 p
  244. ; http://php.net/output-handler- o  O1 O6 U2 d+ j# j$ f
  245. ;output_handler =  c! D% P. @, G" w7 H2 ~8 w2 M% z9 y
  246. - @" g( g4 {# ?& T# w& r
  247. ; Transparent output compression using the zlib library
    ' G& z8 U3 R! J& y1 ^$ s
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    & n! n. K6 r8 K0 t( U" i3 W
  249. ; to be used for compression (default is 4KB)) w( ^' @/ I( ~
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP5 F7 C) V3 O) v: p" f+ x. P
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 k  E" w" G$ P. H% w0 T) R
  252. ;   compression. If you prefer a larger chunk size for better; r" }3 X6 w# j5 h4 W
  253. ;   performance, enable output_buffering in addition.
    . O4 W$ x% S% c+ i0 g) L
  254. ; Note: You need to use zlib.output_handler instead of the standard
    9 k3 ]' d: z1 C' u8 q$ Q% l
  255. ;   output_handler, or otherwise the output will be corrupted.
    # x4 y0 j/ X& V' d
  256. ; http://php.net/zlib.output-compression
    ! I( o9 ?! p# W- ]: Q& O0 v5 m
  257. zlib.output_compression = Off
    + j- k7 [$ `: `) T
  258. ' W  O3 d; a. l* Z2 N
  259. ; http://php.net/zlib.output-compression-level
    8 j( {" r9 N# N2 z! o0 S" m* a
  260. ;zlib.output_compression_level = -1
    ) A- _3 g6 O% U% i

  261. $ |. C: |9 N4 y# \+ l. d
  262. ; You cannot specify additional output handlers if zlib.output_compression+ k: v7 s6 h1 j2 o1 g; t
  263. ; is activated here. This setting does the same as output_handler but in
    - K/ i6 Q) ^& {3 Y+ Z2 ~4 @
  264. ; a different order.8 q; Y8 Q& G: ]& m
  265. ; http://php.net/zlib.output-handler
    : ]  s7 u" y0 a6 S4 ~6 u+ [
  266. ;zlib.output_handler =: A- h0 x) k2 e% J

  267. 5 z' }( \! k6 i% I
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    & J5 n" `3 G' H( f$ J/ R6 B" ?: g
  269. ; automatically after every output block.  This is equivalent to calling the
    * E8 p$ a) M2 Q% O$ D. n8 ~3 a5 b
  270. ; PHP function flush() after each and every call to print() or echo() and each. @3 ~, [# {/ D
  271. ; and every HTML block.  Turning this option on has serious performance7 _; s7 M) n2 Q7 d
  272. ; implications and is generally recommended for debugging purposes only.
    4 n5 h3 l" b- ]
  273. ; http://php.net/implicit-flush
    8 M, P, u3 f( Z+ M9 {
  274. ; Note: This directive is hardcoded to On for the CLI SAPI, [4 ]7 l: R. m* u1 t
  275. implicit_flush = Off
      k# N% C/ b  v+ P
  276.   {" Q, r: H! g  w2 L$ C
  277. ; The unserialize callback function will be called (with the undefined class'
    6 s3 _0 M2 z+ J
  278. ; name as parameter), if the unserializer finds an undefined class* _; Y: P" t# Z% O# ~
  279. ; which should be instantiated. A warning appears if the specified function is! `: F2 H) |, j( i$ l3 ~
  280. ; not defined, or if the function doesn't include/implement the missing class.& C- U; d( p, e& v) a
  281. ; So only set this entry, if you really want to implement such a. x. l1 A& {$ x! \& e* Z& P0 Q
  282. ; callback-function.
    # d1 p5 F  Y2 ?
  283. unserialize_callback_func =
    # T: h* q1 [6 c# A, S8 ~% |

  284.   ^: o: D& @& n6 S0 {
  285. ; When floats & doubles are serialized store serialize_precision significant/ q. t# g. t% Q+ t! G8 X6 p2 T) O" W
  286. ; digits after the floating point. The default value ensures that when floats; }% |) c2 f# V
  287. ; are decoded with unserialize, the data will remain the same.) A: Q5 h( p/ E
  288. serialize_precision = 17' l1 \! z1 H" Y, [
  289. # t/ G" d( L& t. N
  290. ; open_basedir, if set, limits all file operations to the defined directory
    ; D4 i& _- X* R& t" v- k
  291. ; and below.  This directive makes most sense if used in a per-directory
    ) q4 Q! G; T9 Z) p4 e0 v
  292. ; or per-virtualhost web server configuration file.
    * I: C/ o( u, }( v- S5 v: y
  293. ; http://php.net/open-basedir9 B' [% q: W- n
  294. ;open_basedir =
    % s3 n$ ]5 @' |0 e' Z
  295. 2 f3 B  c+ J8 p0 G# J; F) J6 f! A
  296. ; This directive allows you to disable certain functions for security reasons.1 g: }: j, |" q
  297. ; It receives a comma-delimited list of function names.
    5 L2 Y! z* O5 t8 w% Q
  298. ; http://php.net/disable-functions# i8 ~( m9 S! b/ H* N) |$ |8 U, X
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru$ R) Y4 p  R' c0 E

  300. 9 M! S+ c2 k. l: V
  301. ; This directive allows you to disable certain classes for security reasons.
    0 ~4 b- [- k7 d$ F% H
  302. ; It receives a comma-delimited list of class names.
    ) I- m7 X: L3 K  ]- A* M
  303. ; http://php.net/disable-classes
    / G1 M5 A& s0 `4 x8 z9 I
  304. disable_classes =4 j+ L  N3 I8 v% o
  305. 9 x! [) f' Z4 q
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in/ o- N! o& K" H4 N
  307. ; <span style="color: ???????"> would work.6 K% r$ j" y' E/ `% b  N
  308. ; http://php.net/syntax-highlighting
    6 N) x# m" x) S7 W; {0 Z/ }4 l, [
  309. ;highlight.string  = #DD0000
    3 G& U1 _- x0 @$ R  X
  310. ;highlight.comment = #FF99004 @' o) V  ]/ J0 u, a) C1 s
  311. ;highlight.keyword = #007700
    : f( ~2 i7 Z0 n2 m- Q. i( n/ [; o
  312. ;highlight.default = #0000BB
    * h" S* D' g% h9 H. q$ Z& l
  313. ;highlight.html    = #0000005 v6 ?; V# |: J% h( v, H0 K

  314. ' p1 V# L$ K& r& i. B* T& J8 [0 {
  315. ; If enabled, the request will be allowed to complete even if the user aborts& W4 X. ~4 G+ |( y% X! G" ^
  316. ; the request. Consider enabling it if executing long requests, which may end up
    $ H6 R% X2 l$ w
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior, d. o/ L- X# s" j5 ~
  318. ; is to disable this feature.3 S9 A4 U: d0 s" B
  319. ; http://php.net/ignore-user-abort, l* A+ v& ?+ J, D- U) Z: e
  320. ;ignore_user_abort = On
    8 s$ `5 z) c$ H6 Y. e9 Z" }
  321. 9 i4 W( E- y+ l' f5 a; E8 _# P
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    4 e/ ~  \# ]% T% W; F; u6 H
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ b, y: S6 \/ G
  324. ; the file operations performed.+ f" G4 H" @% ^* v- R
  325. ; http://php.net/realpath-cache-size
    ) n% ^, O; P5 e9 z% M9 z- H& s$ U  c
  326. ;realpath_cache_size = 4096k
    * f5 f- u! ]8 _* d
  327. 1 x- P8 _/ O1 x
  328. ; Duration of time, in seconds for which to cache realpath information for a given
      u  j+ N/ Z+ O& U- i/ `8 r( J
  329. ; file or directory. For systems with rarely changing files, consider increasing this6 ~* S# [; K7 q1 l5 \1 ]$ d
  330. ; value.
    $ Z7 q- s3 ^6 m9 h
  331. ; http://php.net/realpath-cache-ttl
    1 T8 B0 Q' z$ ]! A9 v- j
  332. ;realpath_cache_ttl = 120" m7 a2 V. W0 [& X8 |

  333. 0 _: [, }+ @9 W: Z# X
  334. ; Enables or disables the circular reference collector.
    # T4 i& V8 l$ z
  335. ; http://php.net/zend.enable-gc5 c, S, b$ |# H/ C% A( T0 t
  336. zend.enable_gc = On
    1 a; Y+ c2 e+ j% s: O( n' K
  337. 8 r- K4 E: X" S6 }
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ) z. [& Y- D) P8 E
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such: C0 a* V5 t' @7 X. A% M
  340. ; encodings.  To use this feature, mbstring extension must be enabled.8 S% v/ C1 d0 O; v
  341. ; Default: Off
    0 [2 D6 o9 s3 X! |. {6 e, f" Z
  342. ;zend.multibyte = Off/ ]8 I$ D0 w" A( c7 ]. |* f

  343. % I; d/ p. c" w7 d1 g
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ) b. ^3 s. J- j4 X- P# [
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 c4 D3 q3 r2 c7 ~
  346. ; Only affects if zend.multibyte is set.
    - L6 u" D# z; A& T! ^
  347. ; Default: ""
    * b/ w/ S4 W% X) [- }
  348. ;zend.script_encoding =: S: e; m" N# x

  349.   W7 y, D  x0 v! w/ v
  350. ;;;;;;;;;;;;;;;;;
    % C$ J. M3 M* p: j7 s% y# S
  351. ; Miscellaneous ;
    : g/ K1 Z+ h( k3 u9 i! g0 I
  352. ;;;;;;;;;;;;;;;;;( Q3 S$ x7 b5 t
  353. ! h( q+ o+ v  b! E( V: J
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    , V2 H( N6 A8 W
  355. ; (e.g. by adding its signature to the Web server header).  It is no security7 F2 V% H6 l6 U2 c
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 s2 _* a0 m% n; K. ?" r- U
  357. ; on your server or not.
    ; x$ U" B" A$ w3 m! w
  358. ; http://php.net/expose-php
    # `% j6 J2 L/ y+ u7 y/ }
  359. expose_php = On
    " w7 E# v3 V7 H; \0 ]
  360. % Y9 D% Z! J) `( C- k8 S* o0 G
  361. ;;;;;;;;;;;;;;;;;;;
    ! t7 |0 L! x! ~) ^& v
  362. ; Resource Limits ;- q. z/ D& v7 U5 N
  363. ;;;;;;;;;;;;;;;;;;;
    0 ~) Y. R$ L! p) y  y$ ^% e
  364. 3 M& S9 E4 ?4 h; q- J) g+ p9 I
  365. ; Maximum execution time of each script, in seconds
    & u/ E. ~; ~, [5 G4 v6 Q1 K
  366. ; http://php.net/max-execution-time! I: m/ i3 ]3 x6 }- @
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ! Y8 W8 i, N; H7 B
  368. max_execution_time = 300
    ) u/ N4 v! E, d

  369. + v) C5 [5 X$ U  W: ?# V0 p6 E
  370. ; Maximum amount of time each script may spend parsing request data. It's a good3 Y. L( d- e/ w1 |/ Y+ c
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ x# v% ~( G, [; A  a
  372. ; long running scripts./ d# r1 {: s3 g; x
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI( [, A. |& S! _
  374. ; Default Value: -1 (Unlimited)
    # I& u# e6 ^. X3 t5 |, U
  375. ; Development Value: 60 (60 seconds)$ D0 I6 X1 W- k* M; J
  376. ; Production Value: 60 (60 seconds)
    : w/ C3 x# z0 Q3 H/ Z
  377. ; http://php.net/max-input-time  J# S3 B6 I6 |. i  m
  378. max_input_time = 60
    * Z7 m- c- S- V9 V! {7 J$ m  e
  379. 7 w% x, O3 D. [' c# Z/ V
  380. ; Maximum input variable nesting level
    1 E, H0 c; r$ l: {3 X1 Z' w
  381. ; http://php.net/max-input-nesting-level9 g$ Q, J" G7 c* M; [- j0 ?
  382. ;max_input_nesting_level = 64
    & R3 T) k; n, V7 C

  383. - S& O$ H  p3 X5 ?/ x: ?
  384. ; How many GET/POST/COOKIE input variables may be accepted, E1 h2 t8 ]! ?, V9 f' V& g' e
  385. ; max_input_vars = 10003 Y0 u- Z- q. b" D' P5 j
  386.   ]" w4 R5 p  g" q
  387. ; Maximum amount of memory a script may consume (128MB)
    ' |) p2 ]( W1 p$ h
  388. ; http://php.net/memory-limit7 z+ [8 t$ o& a: L; c& p% e
  389. memory_limit = 128M
    ' y: S7 `5 _, p! ]' ^
  390. 2 a9 N; m" m* ]* z9 G: c& y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5 \, A. K( R( X' P3 C( Z- w
  392. ; Error handling and logging ;! h7 C' g9 A. N# q7 c( l
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' a+ W0 e7 F  a4 c

  394. ( L" F+ E. b, h; A( A* l, T$ z
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    4 p3 V$ |' ]+ B/ X% ?
  396. ; it to take action for. The recommended way of setting values for this- @9 x3 E2 `* a1 O" Y
  397. ; directive is through the use of the error level constants and bitwise
    . s. r6 w! o7 c
  398. ; operators. The error level constants are below here for convenience as well as( J1 s  E0 k5 x% @
  399. ; some common settings and their meanings.
    8 e- d9 ~7 r' B1 t  i
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( P/ B3 B! U7 T  [5 ~/ U
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and3 D- R+ C) @5 L6 z; \5 O
  402. ; recommended coding standards in PHP. For performance reasons, this is the2 D* D. Z/ l  @5 b8 T- ]/ H. }2 o
  403. ; recommend error reporting setting. Your production server shouldn't be wasting+ b0 |4 Y: \$ t1 u/ K9 j
  404. ; resources complaining about best practices and coding standards. That's what9 q1 M# Y& Z: O" H0 {% X- S
  405. ; development servers and development settings are for.
      S5 j* [& r; F# p* B3 `8 n/ Y  _
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    * v- \  H1 e& N8 X9 D7 ^
  407. ; means it pretty much reports everything which is exactly what you want during5 Z- K; C% X3 W+ Y3 u
  408. ; development and early testing.
    : l: l$ x) ], O: |
  409. ;
    / i' T- v% V0 b" Z7 B; z
  410. ; Error Level Constants:
    0 x/ h# |2 ^, K
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)4 P% b$ }& S( g  I
  412. ; E_ERROR           - fatal run-time errors
    - H' b+ G& W1 F
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors4 N; Z6 G- H( `! u6 C
  414. ; E_WARNING         - run-time warnings (non-fatal errors)# E) V% w8 d  O" }* N/ G3 w
  415. ; E_PARSE           - compile-time parse errors
    0 N) J9 n4 J# X- p
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 }9 v1 F( {; M# F
  417. ;                     from a bug in your code, but it's possible that it was: f1 i1 W% Y: D1 D+ a
  418. ;                     intentional (e.g., using an uninitialized variable and& C) K* C5 I% |" R, N9 V% \
  419. ;                     relying on the fact it is automatically initialized to an
    , B) m3 O1 o! Y" F
  420. ;                     empty string)
    " {  H; w7 ~* I2 M( R6 K
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* ]1 B* S# t, j  l+ G  L
  422. ;                     to your code which will ensure the best interoperability
    + J4 ~- M4 J, M. o; h
  423. ;                     and forward compatibility of your code
    % _; s) `( v  E) {7 p
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup  K5 X+ s0 |9 Y  C& G* T" V
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' r7 G! T+ |" U3 `1 a; e
  426. ;                     initial startup  S7 |4 k5 B" c- ?( J- C0 P
  427. ; E_COMPILE_ERROR   - fatal compile-time errors) ^6 s8 E! h6 |: [: {
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    $ s9 Y1 n& m" B* B( Y1 I! n
  429. ; E_USER_ERROR      - user-generated error message0 ^/ G; P" N3 ^+ E, N( R# i
  430. ; E_USER_WARNING    - user-generated warning message1 A' T; q3 C3 n% p0 w
  431. ; E_USER_NOTICE     - user-generated notice message8 j  h, Z, ?7 E* o) b. a6 B' V8 ^7 T
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / L2 Z6 |+ c1 h5 h
  433. ;                     of PHP" C* {$ W# J* K% a, W) s  N( I* S
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings+ T( b4 T3 w, }+ F/ U8 Y4 \& F0 J
  435. ;3 u+ K) L5 e2 S* [" p
  436. ; Common Values:# s1 {' H& h3 D  h* S
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)" `7 @, l) R# V9 f
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ; P% R, k1 s- ^0 T7 g+ q, D/ Q
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* k1 W9 a0 b5 k4 O
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)! v5 {; D. F6 m* s: m
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) Z( X) y, a8 ]" c- g8 w
  442. ; Development Value: E_ALL
    ) ?4 t$ ?" Q. z( a
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 G, }. i& O, b* n8 U& e/ B
  444. ; http://php.net/error-reporting
    5 A' u6 r. `: e3 }5 t
  445. error_reporting = E_ALL & ~E_NOTICE1 {  \) Z+ v$ K2 q1 J0 X

  446. 3 ~, L; T2 L! n6 D. T$ z+ a. `
  447. ; This directive controls whether or not and where PHP will output errors,2 P$ z! g# l. F
  448. ; notices and warnings too. Error output is very useful during development, but, o; |' b5 X! x  s
  449. ; it could be very dangerous in production environments. Depending on the code9 {# P" n2 O5 Q& Q+ w, }7 }/ y) t
  450. ; which is triggering the error, sensitive information could potentially leak
    2 \7 {1 w" M( |3 U  F; H
  451. ; out of your application such as database usernames and passwords or worse.- A, U, j, j: Z
  452. ; For production environments, we recommend logging errors rather than7 g* e. J1 H% W1 A; \
  453. ; sending them to STDOUT.
    1 L8 n5 D, p4 H
  454. ; Possible Values:& ^* W0 p% r- D, s$ B$ M1 R8 P
  455. ;   Off = Do not display any errors
    0 V. E9 P% F& c8 M0 |
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)$ _6 m# q; E: k5 K7 l! p: W. S
  457. ;   On or stdout = Display errors to STDOUT) M! l: q) H  F
  458. ; Default Value: On9 l- ~! G1 D+ h6 @/ M
  459. ; Development Value: On
    ; B8 b7 f$ v; H$ U
  460. ; Production Value: Off, r' g- [) H0 T0 t& I
  461. ; http://php.net/display-errors
    / j% M! Q! G0 q, R' t
  462. display_errors = On
    5 S4 J% o: |: S8 s# X3 c; e

  463. " f1 |- E& J2 ^/ t
  464. ; The display of errors which occur during PHP's startup sequence are handled
    4 `% d2 d% n/ }6 q* V7 C
  465. ; separately from display_errors. PHP's default behavior is to suppress those* b3 c- C8 \4 Y' R, |6 @
  466. ; errors from clients. Turning the display of startup errors on can be useful in3 u  D9 m) L+ H/ w
  467. ; debugging configuration problems. We strongly recommend you
    . A5 Z- {7 c) j" W6 v
  468. ; set this to 'off' for production servers." I" j$ A1 ]  l. h  D: `7 B
  469. ; Default Value: Off
    0 @8 S2 u' ]/ @: n6 D
  470. ; Development Value: On" _4 W3 V* I0 F$ U! ?1 Y/ [9 p
  471. ; Production Value: Off
    ' x" w4 ~& ~' \- L: f
  472. ; http://php.net/display-startup-errors- |, S2 R# _0 d2 x8 E3 q
  473. display_startup_errors = Off1 D/ _1 h+ V1 y8 {6 t% G. l
  474. ' t& w: R- T' H* g8 ~% W8 B# e" p
  475. ; Besides displaying errors, PHP can also log errors to locations such as a' {0 y" f0 Y! P4 V& u
  476. ; server-specific log, STDERR, or a location specified by the error_log" a4 S# c% v+ ]- ~$ T; q
  477. ; directive found below. While errors should not be displayed on productions
    . S0 R* h' _: \4 g2 j# ]0 n
  478. ; servers they should still be monitored and logging is a great way to do that.# u+ Z) T* l* o& p  J
  479. ; Default Value: Off
    5 |& K6 B/ k9 e  y# \
  480. ; Development Value: On1 h4 g1 {3 a& D$ |' ]
  481. ; Production Value: On
    " x9 s) v  L; P0 m. O
  482. ; http://php.net/log-errors4 c; O4 W* ?( c
  483. log_errors = On
    ) M1 E- u! |4 F5 G( R

  484. ! R1 o- v* L0 n
  485. ; Set maximum length of log_errors. In error_log information about the source is1 L' C) O( b; T8 r
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.' @0 c& T6 p0 }0 N: w
  487. ; http://php.net/log-errors-max-len
    : t2 A! S% m/ z' U! m8 }. Q: I
  488. log_errors_max_len = 1024
    $ R/ s  ]4 u0 [1 V1 M
  489. 3 S0 c6 H) Q1 ~
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same$ }4 S. P2 L' C
  491. ; line unless ignore_repeated_source is set true.4 e0 N, D- p" ~9 z5 n! R+ l
  492. ; http://php.net/ignore-repeated-errors1 E: _2 b: y5 a' w1 |/ ?6 A, R8 d
  493. ignore_repeated_errors = Off- j! f# f. R7 u1 G4 s
  494. 0 L" |. G( ]9 N, o
  495. ; Ignore source of message when ignoring repeated messages. When this setting0 F: i* M* o  r5 O" o
  496. ; is On you will not log errors with repeated messages from different files or
    # V) W6 y+ Y5 R+ l8 ^/ P7 ^
  497. ; source lines.3 Z" |3 B/ @: V; y7 M; i- n6 k
  498. ; http://php.net/ignore-repeated-source+ J2 s  L+ W& V4 d6 j2 s
  499. ignore_repeated_source = Off' f  I  v; U$ K1 [& K2 Y8 T

  500. 3 I: f. X+ i+ K0 K& }/ c1 J0 Z$ S4 q
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on# W  F2 E+ h" ~' c9 w
  502. ; stdout or in the log). This has only effect in a debug compile, and if: E" f+ z" N7 v' f
  503. ; error reporting includes E_WARNING in the allowed list& Y# Z" b3 B7 A& ]6 q' J0 Y
  504. ; http://php.net/report-memleaks
    9 A7 e8 w; E9 D' T5 p0 [" I" v
  505. report_memleaks = On7 P3 y/ h, {. g& X* H& c
  506. 9 I8 |6 f/ x8 c5 [- U
  507. ; This setting is on by default.
    . L% q- g5 p( r& S  t
  508. ;report_zend_debug = 0, I" J) L% L% g  E( h! M

  509. - N' v: S% p. s( H+ x$ e+ M$ j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 i) z0 I4 _; G( e% O& E5 a; F
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    4 z+ O3 m; `. [; s) t2 N$ L9 F  [
  512. ; however be disabled on production servers.0 C* y0 q0 z0 D# s5 N5 M4 ?7 n
  513. ; Default Value: Off% R4 M! `7 G! `& m* t# G
  514. ; Development Value: On5 D8 F4 u+ _9 v- o/ Q. u6 V) i
  515. ; Production Value: Off
    ! o+ n) e) c3 ^4 H  w% P
  516. ; http://php.net/track-errors
    . @( e& N* c% ^7 }. a  q
  517. track_errors = Off7 Z" R/ i- S  h8 v6 F5 Q  U
  518. # E% V/ w+ y' s" s6 _
  519. ; Turn off normal error reporting and emit XML-RPC error XML- r( K' v& h6 T, }( ~' b1 P& x
  520. ; http://php.net/xmlrpc-errors. m. l4 l9 q0 _& C" B5 n' V7 e
  521. ;xmlrpc_errors = 00 s2 h$ b. O! x$ ]" m  p
  522. ( }+ y0 c) |: b2 L% O* l* \- C; R
  523. ; An XML-RPC faultCode
    . j* I$ N! L5 F) i& t! [
  524. ;xmlrpc_error_number = 0
    0 v% K+ {3 k$ M+ e) g. F0 T
  525. 9 T- {$ w$ a) B' w' t
  526. ; When PHP displays or logs an error, it has the capability of formatting the8 X+ X% e$ w4 j* s% C' R0 D
  527. ; error message as HTML for easier reading. This directive controls whether& }: f7 i" a% A/ f1 c1 ^: Z- `; D
  528. ; the error message is formatted as HTML or not.
    2 r& p# Z/ m( ~0 E5 D0 ]7 C. I
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI2 p& f  H% k5 w3 E" }/ Z/ `9 j
  530. ; Default Value: On7 t% z( N9 ?0 T8 Q% Y
  531. ; Development Value: On
    . @' x9 a+ W  X# h2 E+ k# A
  532. ; Production value: On
    + Q" \& H6 [; \( P/ l1 w
  533. ; http://php.net/html-errors
    4 o2 b+ ]$ R4 y) K
  534. html_errors = On
    ' c: |" I9 K. `. ~

  535. : a; F. q1 c- M/ L! d, w7 t& M& M+ _3 `
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    5 k, j& s& r$ v5 L
  537. ; produces clickable error messages that direct to a page describing the error
    # T0 D" b5 L; n& q; w
  538. ; or function causing the error in detail.
    2 x; P- c& H! i  ]* Z3 d' M
  539. ; You can download a copy of the PHP manual from http://php.net/docs5 v  u1 w& s4 j! [
  540. ; and change docref_root to the base URL of your local copy including the3 Z" o8 {/ v0 l0 W# w
  541. ; leading '/'. You must also specify the file extension being used including8 |, |3 X4 o8 v( E8 u3 N
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # k8 p+ o+ f9 i) U
  543. ; case no links to documentation are generated.6 ?$ i& c6 D% {" D
  544. ; Note: Never use this feature for production boxes.
    6 ~0 E# q8 T. R/ N& E5 l* ^
  545. ; http://php.net/docref-root
    ( a: S8 Q4 E3 V2 A
  546. ; Examples4 K* ?# E5 a  A+ ?3 i1 n" Y: _9 {
  547. ;docref_root = "/phpmanual/"
    ' ~* K, W2 H2 L+ s

  548. 6 a$ t8 ?- I( |3 [
  549. ; http://php.net/docref-ext# Y0 Y, c* w4 R, `! M, ~3 g  ~
  550. ;docref_ext = .html
    3 s$ x6 t, q( M! s, B4 x' l
  551. ' b- Z) @. r* }% I
  552. ; String to output before an error message. PHP's default behavior is to leave! @3 ^# L6 v5 ^8 ]& Q
  553. ; this setting blank.
    9 V4 x6 x8 i1 k' ^: s
  554. ; http://php.net/error-prepend-string* O6 Q0 Z: C3 {& t% s7 s
  555. ; Example:
    8 z; F+ G& o9 P; f6 i
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    2 p, e! f& t/ u" ^5 N. n; j

  557. / g) v8 B: S! y7 o* r/ o( M
  558. ; String to output after an error message. PHP's default behavior is to leave
      Z: A. |1 F+ Q3 l$ L$ q3 P
  559. ; this setting blank.# L8 g2 H% ]9 V1 g
  560. ; http://php.net/error-append-string
    * d1 ^7 d4 u# B/ X( T5 E5 m
  561. ; Example:
    9 ]/ A* r1 T$ _4 \
  562. ;error_append_string = "</span>"
    & u, v5 s  u- S1 F! Q8 r/ z

  563. 0 U1 y: k! H: f( i
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    , [) [. Z- V8 ?$ D1 k( P" H3 A
  565. ; empty.
    + V+ }6 Y/ ?3 j/ t! g% H4 ^0 ?7 w
  566. ; http://php.net/error-log$ X$ ]! `; q& w) ]
  567. ; Example:
    5 t4 G* ^  Z, o9 D
  568. ;error_log = php_errors.log
    ( }5 c9 J0 G: m5 ?
  569. ; Log errors to syslog (Event Log on Windows).
    " ]! M8 J. t0 _4 R
  570. ;error_log = syslog
    & i% v8 R- D6 u  R9 D

  571. ' ?9 o. z. X/ c, O
  572. ;windows.show_crt_warning* Y* ~1 B: m  O6 \1 I. `/ k2 B
  573. ; Default value: 0& H# S4 [; T3 @7 q- k
  574. ; Development value: 0& @6 V2 H( K* M- K: i# m
  575. ; Production value: 0
      f1 b% p0 a. r
  576. ! O7 f7 M2 J& q- h, Z1 d" Y; x
  577. ;;;;;;;;;;;;;;;;;( g* a" e6 z! x
  578. ; Data Handling ;0 @) d8 S. |' I: \* t! E- Y: u
  579. ;;;;;;;;;;;;;;;;;
    * Z* ?" F$ y3 Y8 B$ d# w
  580. ! l2 p" I# e3 q6 e7 }
  581. ; The separator used in PHP generated URLs to separate arguments.
    " \) D- l# w& c  N0 B
  582. ; PHP's default setting is "&".
    : i& b% F- r4 U3 C" P7 M- P# s! U9 Y
  583. ; http://php.net/arg-separator.output; G# ]9 t' p8 K  m9 ^7 ^
  584. ; Example:0 g1 u7 z6 j$ r$ e
  585. ;arg_separator.output = "&"
    ' p# V6 ?. W+ A9 u) A

  586. 8 S5 o2 t% @( {: [) z0 Z
  587. ; List of separator(s) used by PHP to parse input URLs into variables.$ X5 g( o: E/ z" ~5 |1 a- ~/ b  Y
  588. ; PHP's default setting is "&".
    ! B; k2 d" P- r' Q& B
  589. ; NOTE: Every character in this directive is considered as separator!
    * N; C; @3 p( I: P' D+ H  f$ a
  590. ; http://php.net/arg-separator.input4 h# B9 V$ y; E  ^' J& p
  591. ; Example:
    7 Q  h$ b( b& R
  592. ;arg_separator.input = ";&"
    $ s, ]6 d% N% S
  593. / R, A6 N6 U  S1 M: m4 Z3 f5 o
  594. ; This directive determines which super global arrays are registered when PHP7 y1 c4 S3 p3 e
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 n; }+ G/ g3 |$ `1 \
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    5 l  e6 w# n6 X8 z1 F/ O
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    6 T0 n3 ]1 r: N9 c$ W
  598. ; used as the others, ENV is not recommended on productions servers. You# h1 D! F5 B4 q) ]6 m
  599. ; can still get access to the environment variables through getenv() should you% n( _" L3 g, p) B- I/ Y
  600. ; need to.
    ( h  r8 z( [9 Y2 X& E
  601. ; Default Value: "EGPCS"( ^% S$ X) I- a. c# s) W
  602. ; Development Value: "GPCS"0 A4 s. h9 A& \7 ^& |3 d! a& `
  603. ; Production Value: "GPCS";
    7 l0 Q5 U0 ^! N7 Z) s- L1 I2 O
  604. ; http://php.net/variables-order+ ~; g/ e! u  E; K  x  J
  605. variables_order = "GPCS"
    2 K7 m" r. M$ g  y

  606. & s& f, g2 j; d- ]( x/ a
  607. ; This directive determines which super global data (G,P & C) should be
    9 @9 m6 I4 j, o+ }" q2 K  H
  608. ; registered into the super global array REQUEST. If so, it also determines) h8 F' g; v4 k- I8 b
  609. ; the order in which that data is registered. The values for this directive
    # ?9 Q1 l. @8 z/ u
  610. ; are specified in the same manner as the variables_order directive,
    ' q, }! k  b. }) ?5 H, w
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set! _6 H# P0 t( X
  612. ; in the variables_order directive. It does not mean it will leave the super
    4 T- K" U: P0 O6 v/ n8 W5 T  |
  613. ; globals array REQUEST empty.3 w" @% E9 E3 W: }9 d  P6 l$ k2 N4 _
  614. ; Default Value: None
    9 o. b# D  t- D
  615. ; Development Value: "GP"/ D; e5 e* N* W# _# m0 S3 o5 P2 Z
  616. ; Production Value: "GP"' x# F% G. M- i$ a  H  w3 l3 u6 J
  617. ; http://php.net/request-order) Y% B2 N3 b& I. m
  618. request_order = "GP"& e4 Y, w) L- Z' }
  619. ! C9 B, F& ^8 P2 H8 r% t4 K
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    6 `9 u( @: Y. c4 n! U) p
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script: E6 \8 G3 f) H
  622. ; is invoked. $argc contains an integer representing the number of arguments2 T+ m' B+ o8 \) f1 w) q% q
  623. ; that were passed when the script was invoked. These arrays are extremely
    ) D: _3 H  i8 I# o
  624. ; useful when running scripts from the command line. When this directive is& T% z# |/ s" O  k
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    & c5 ?1 i1 E$ Y- K# T
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ! C2 L1 W$ J: B' a
  627. ; on production servers.
    & ~: m; D& b/ Q
  628. ; Note: This directive is hardcoded to On for the CLI SAPI1 k' V2 ~5 I/ u: ^. u8 {( {
  629. ; Default Value: On0 \% m& h4 _* S/ G2 S
  630. ; Development Value: Off
    ) Q" M. u6 M4 h! {/ \
  631. ; Production Value: Off0 o8 m% f: ]% p% H4 t" H0 p2 T
  632. ; http://php.net/register-argc-argv
    / J' W5 y- e3 h' a% I! e
  633. register_argc_argv = Off
    2 Q8 H% e$ E- X0 t

  634.   ^6 c( v9 ?+ z# i6 |, W
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; q( {' e" s) A1 E
  636. ; first used (Just In Time) instead of when the script starts. If these
    ( B& ^, I# ?9 k* o' {0 Y
  637. ; variables are not used within a script, having this directive on will result8 _% F# f! u# k1 [) w
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    6 S/ k$ z; H: w2 A* s1 c% `9 x
  639. ; for this directive to have any affect.: R2 G" P$ y, [9 }% b' p
  640. ; http://php.net/auto-globals-jit
    ! q6 u# H/ f9 Z( @* ]/ a
  641. auto_globals_jit = On* Q6 ?/ f5 J+ g3 \0 s  G
  642. . G3 a" w, E$ A& N2 ]/ x
  643. ; Whether PHP will read the POST data.
    ! Q9 v* c6 ?( D; S) o( A
  644. ; This option is enabled by default.$ |% ?5 n" W3 J9 l  s
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST% B! v& J  [- [8 p
  646. ; and $_FILES to always be empty; the only way you will be able to read the' r9 b& D: e$ r% q. {0 s" f1 i
  647. ; POST data will be through the php://input stream wrapper. This can be useful0 ^  R- ?% K& o4 h5 @$ b7 M6 B
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.5 s# q) z" v# F4 k2 |5 {
  649. ; http://php.net/enable-post-data-reading
    : n, Y- J6 S7 \6 N4 h6 D2 b
  650. ;enable_post_data_reading = Off
    / h2 z6 ~0 z* B3 g8 N0 u

  651. ) i) p# c# K8 ~, H" i2 h. u
  652. ; Maximum size of POST data that PHP will accept.8 z7 \; @% \. L2 y" i4 _+ S
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    7 i- ^+ Y6 E  Y8 ]! k. ?- U
  654. ; is disabled through enable_post_data_reading.
    1 N- \0 L0 z  Y& x
  655. ; http://php.net/post-max-size) P. {, `) L! {( O. ]7 `
  656. post_max_size = 50M9 ~3 a& n& S- {. T* F1 s6 N0 Q
  657. % \, o% l! l$ X" e+ y" n. g$ f9 m
  658. ; Automatically add files before PHP document.$ c5 C: Y; p6 g1 T1 C) Q" |
  659. ; http://php.net/auto-prepend-file$ e9 B& B9 ]/ u& N4 v# ]# Z$ W
  660. auto_prepend_file =
    2 m, G: K* ]" }: S" `1 t" A' K
  661. 8 J  B  t" F2 X7 l
  662. ; Automatically add files after PHP document.
    5 ^# I' Y. h, z
  663. ; http://php.net/auto-append-file
    + i; ~) E. E( T5 H- @- s1 z
  664. auto_append_file =1 ^" Y# U5 b0 G

  665. ; a/ w1 O( {0 f/ A! ]& I, f
  666. ; By default, PHP will output a media type using the Content-Type header. To# F0 T: n" q+ C. _& [7 h, O# O
  667. ; disable this, simply set it to be empty.& a$ ?/ l2 S* J* C: I5 _2 D% O; }
  668. ;$ e- a. G8 l4 {0 y
  669. ; PHP's built-in default media type is set to text/html.
    + S# N0 V) d: Y# M4 X- Q3 n
  670. ; http://php.net/default-mimetype& g# K* p/ @. W1 {, X* E/ }' T
  671. default_mimetype = "text/html"1 e, {6 t5 B0 M
  672. 4 p# ]; r2 D/ X; M+ [' D9 a3 y
  673. ; PHP's default character set is set to UTF-8.
    $ X" t/ W/ U& w, G0 q
  674. ; http://php.net/default-charset& n& c& \+ ^6 Y" w1 _3 q: j4 |" r
  675. default_charset = "UTF-8"7 c* l6 p' M6 A4 ]

  676. . }0 k0 A' e9 T5 p+ t
  677. ; PHP internal character encoding is set to empty.
    ; j) r9 z* q6 r6 H/ ]6 I! @
  678. ; If empty, default_charset is used.' V5 E2 {& A8 G! l7 M) t
  679. ; http://php.net/internal-encoding/ I: Z5 ?& {. g% P
  680. ;internal_encoding =$ U& ]+ J1 I5 t- J: {, A
  681. 0 C7 U% R* V9 V6 {9 W1 P
  682. ; PHP input character encoding is set to empty.
    5 i' v1 K1 m/ X. L, `$ R  u, g. r9 a7 i
  683. ; If empty, default_charset is used.
    # \/ D0 K" L6 c: z1 T, a
  684. ; http://php.net/input-encoding! F  K" G6 B* X  v, a
  685. ;input_encoding =$ o  e: b7 P; i, S
  686. 4 Q4 }0 T2 H8 X# A( A9 J/ h( n
  687. ; PHP output character encoding is set to empty.6 J+ W& R& k5 S" \! ~
  688. ; If empty, default_charset is used.
    2 g5 M8 G" t# s6 \: \7 ?* Y
  689. ; See also output_buffer.
    & {& G' H6 y7 J  [
  690. ; http://php.net/output-encoding# `+ K$ j6 j5 i: ]7 z9 N0 B6 y  c
  691. ;output_encoding =" _/ ~3 h# Z9 i' U1 D

  692.   o* S5 T$ U/ k8 k2 `/ w# `- v
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - q% A, G/ V/ ^' O0 x# l7 O  N
  694. ; Paths and Directories ;
    8 [7 F0 T, _) M! k  m0 K6 X! A% T2 J
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . A, H4 i3 y: \+ y* _9 u4 P5 G
  696. : w  u/ H8 ^0 U/ k! E" Y
  697. ; UNIX: "/path1:/path2"
    6 b# x5 `& ]3 P1 X  n) E
  698. ;include_path = ".:/php/includes"
    9 o+ T$ f0 N, a
  699. ;
    & t. ^5 J1 g) h& Z( Y
  700. ; Windows: "\path1;\path2"
    5 x3 B1 y% L% N8 O
  701. ;include_path = ".;c:\php\includes"
    % e  l. g  O! _/ w# \
  702. ;+ a* Q+ F3 Q; B
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ) t" T6 H: p. W, E8 O5 s
  704. ; http://php.net/include-path, O3 o4 Y- @6 n3 [. Z

  705. ! K  X! d7 Z0 K& u6 q# i0 k) J
  706. ; The root of the PHP pages, used only if nonempty.) [# f/ v" G, \
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    - G! m* c, n; }/ b
  708. ; if you are running php as a CGI under any web server (other than IIS)
    * e; m$ Z9 ~) o6 m! v
  709. ; see documentation for security issues.  The alternate is to use the
    % z$ `1 W& v% |. J) F$ ?5 C
  710. ; cgi.force_redirect configuration below* h3 g% h( j, `
  711. ; http://php.net/doc-root; V7 Z2 X) J& A0 R! s0 Z& ~
  712. doc_root =+ ~2 \5 n2 V% ?! ]; y2 K+ V

  713. ; y: C% ?. d+ s( V
  714. ; The directory under which PHP opens the script using /~username used only* \  K2 [8 Z. e4 ~$ W7 V6 R0 k3 R6 I+ `
  715. ; if nonempty.
    , X0 d1 d3 Z9 X( }) n
  716. ; http://php.net/user-dir
    $ _: Y7 T. n7 G" H
  717. user_dir =
    1 Q/ N* f8 }* N3 V/ l! W. V
  718. 0 i  G- n- J; r6 s4 h5 N, @7 M
  719. ; Directory in which the loadable extensions (modules) reside.
    - ]5 A5 ^) J. L, M8 E& ^0 n
  720. ; http://php.net/extension-dir$ i1 W. Q# X# T' D9 |
  721. ; extension_dir = "./"5 g3 t" i- K4 M3 j$ ~6 \* b
  722. ; On windows:
    ' z. N. O: O! |" N: K8 z1 b2 ]( a
  723. ; extension_dir = "ext"
    $ W: d  k% f/ q* M+ B

  724. 5 T# ~% n( i+ _
  725. ; Directory where the temporary files should be placed.
    # V$ ?, y2 r' H* p- K4 l" B& h6 _
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ' }5 {4 C  x% T" [
  727. ; sys_temp_dir = "/tmp"
    " ^& T: S  M- T" M

  728. * t7 U% e1 K. V) u
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ! L# Y8 L3 T; L4 R
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 K. E: d% F8 Y* w7 S/ O
  731. ; disabled on them.
    # T- u$ \: C( R5 z  n  t0 ]
  732. ; http://php.net/enable-dl
    9 Z3 l8 ^6 t) g7 r1 a- O
  733. enable_dl = Off
    & r) ?" b: _( Y6 d' }- `
  734. 4 H; J* E* G  w
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under6 \8 J; V! |! d' h  J4 v
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    7 q. x5 Q; k5 j1 K
  737. ; turn it off here AT YOUR OWN RISK
    7 Q8 Q5 p+ S% A" }( O. L# G
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 ?" O* F) r  G
  739. ; http://php.net/cgi.force-redirect5 x1 N. S7 P# R. l9 |8 \* a: T1 P0 ]. R
  740. ;cgi.force_redirect = 1
      f( R( [7 M$ C2 o; ?4 |
  741. 9 X' w% V% h8 ]+ H
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& R2 l0 p4 o$ u7 ?: A. K# f6 I5 E
  743. ; every request. PHP's default behavior is to disable this feature.
    . a7 A# O3 ]) K  N3 `
  744. ;cgi.nph = 1; V7 q2 P, L8 {, K+ |% P+ f

  745. / b! ?" f  o4 F; w7 k, F
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape- G( G7 `/ x) ]6 ]* Y2 F
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    8 p' @- o& B% C) ~$ ~, i) U
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY! c- w, z. j' Y+ I
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.* {  ]' m% h# P2 q( ]# e" c
  750. ; http://php.net/cgi.redirect-status-env5 q! L/ z) x: x; T  Z% C7 V# Z
  751. ;cgi.redirect_status_env =
    * Z- b& \2 y9 f3 e' q/ A9 t, N/ g

  752. " F1 @4 ~3 W! i1 U' h; |. R
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ! H, U$ z/ V4 |. ]
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    1 f% b9 k% J7 d, t
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 U( x4 Q6 k4 ~
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' b5 }8 k; Y5 x: O& g4 f$ X3 \
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts- q. u* C. v" Y$ [
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ( v0 Y4 E. X% S- M1 I& [2 f3 o
  759. ; http://php.net/cgi.fix-pathinfo! T4 o2 r6 x! {: w" F) v
  760. cgi.fix_pathinfo=12 X7 M6 Q3 R" z& P: [! ~+ y  i6 n
  761. 6 Q0 f! p% J7 O5 V# P
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # i( ?, x; r1 R6 y! a; w
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    . g% O3 T5 S. L# F/ b% x
  764. ; http://php.net/cgi.dicard-path1 f# S: z9 I6 K0 k2 j. g
  765. ;cgi.discard_path=1! i; z! w7 u6 T7 d7 j

  766.   J; t/ l& B" E4 a( f
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate5 T6 [( P/ z) J% E: f8 ]
  768. ; security tokens of the calling client.  This allows IIS to define the8 a8 @- X" U2 c9 N* O6 j
  769. ; security context that the request runs under.  mod_fastcgi under Apache
      T; H5 |' ~& f$ @$ g% K  g5 a. e
  770. ; does not currently support this feature (03/17/2002)
    6 z3 C' w8 J- b
  771. ; Set to 1 if running under IIS.  Default is zero.
    # e" s5 o; [* Z
  772. ; http://php.net/fastcgi.impersonate
    8 Q& z) _8 y# O) g" s+ F
  773. ;fastcgi.impersonate = 1
    ) D/ f) L2 J' H  R' M

  774. 1 }) _9 F  v& g. E! k
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable6 Q! h/ |$ a% y+ e
  776. ; this feature.8 u+ W5 u! z9 v% q! Z5 @
  777. ;fastcgi.logging = 0$ I" `4 k( L/ r7 m( p' u
  778. " x6 I$ h" V2 S8 r! w3 a( ]
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    3 w# D- d3 x4 e) v( t
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    & ^' I- }( C' X5 X9 V
  781. ; is supported by Apache. When this option is set to 1, PHP will send/ B  |! [  k8 C9 F$ Z% v
  782. ; RFC2616 compliant header.) c/ S+ I* ^4 P) A) i: z/ U
  783. ; Default is zero.
    ) F- v& M8 P( x4 `3 N
  784. ; http://php.net/cgi.rfc2616-headers
    - a, |$ A2 O6 P/ _
  785. ;cgi.rfc2616_headers = 0
    # \( c6 g6 ~9 A

  786. 4 K. e! x8 }, k* j
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!1 u8 H( \' R( S: f' T# R' R
  788. ; (shebang) at the top of the running script. This line might be needed if the* @! v/ ^! v, h! _5 m) H3 |0 q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ( H; Z8 s3 |3 @+ {" S( e
  790. ; mode skips this line and ignores its content if this directive is turned on.2 _, t. A3 g/ g6 N2 \, y
  791. ; http://php.net/cgi.check-shebang-line+ @5 j- g: ?  A/ B+ o$ }
  792. ;cgi.check_shebang_line=11 d; I; }- p/ B' {6 E) s0 g) r1 p

  793. - o( Z% @' S: e
  794. ;;;;;;;;;;;;;;;;
    ) E- r1 |' C) N( R& h# v! n6 _, X( r
  795. ; File Uploads ;. J3 }. ?" Z, [" u* J- B
  796. ;;;;;;;;;;;;;;;;  @( @& j+ `' @& F1 Z7 d

  797. 2 m# C8 O+ \2 E
  798. ; Whether to allow HTTP file uploads.
    3 g$ o: O3 z* I1 }3 C9 Q
  799. ; http://php.net/file-uploads) {- n1 U6 }# q" p/ W+ b! ~
  800. file_uploads = On
    * f5 f: d( n7 d( `% d; ^8 `- |2 r
  801. 4 U3 D  J- E# o( l$ [5 z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    % \+ }2 I  i  G. \1 ~7 u8 p& t0 G
  803. ; specified).  i5 r8 V7 Y( Y0 \# ^
  804. ; http://php.net/upload-tmp-dir
    . _" N! Q$ d3 ~+ J
  805. ;upload_tmp_dir =
    ( F; v1 u# m& T% P; Y
  806. ; G9 A7 {! W) \5 J: H& Y7 i
  807. ; Maximum allowed size for uploaded files.
      ^  _' G" ~) x. L( ~7 Q4 F
  808. ; http://php.net/upload-max-filesize
    * ]. S! N: q! t7 B$ a
  809. upload_max_filesize = 50M
    . m6 U/ Q) k: i# G- Z. C+ m/ i
  810. . H( x  _' L7 n% w- W- [  i5 i  E3 [
  811. ; Maximum number of files that can be uploaded via a single request( g+ p, T, F: |& r5 B. t) {0 `
  812. max_file_uploads = 20
    % \' N7 x  a2 B  n( d# W' x. ^+ H
  813. 9 v9 F- V# u1 b* Y( m
  814. ;;;;;;;;;;;;;;;;;;
    8 R5 t: {- t4 }6 p- T  K
  815. ; Fopen wrappers ;1 h6 q3 M( @9 h! H, k  c
  816. ;;;;;;;;;;;;;;;;;;3 |) B  U: X+ t& D5 Y2 h9 @  L+ L

  817. / Q2 _1 _* P0 Q$ W. g
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    " l" i2 k/ C3 m: Z
  819. ; http://php.net/allow-url-fopen
    9 t# M/ H# G  L' `- R9 N" a
  820. allow_url_fopen = On/ U* K8 B5 e$ G- y: `8 D
  821. % A# A7 `7 |. ?0 U
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    5 u* h4 a0 G6 F3 M
  823. ; http://php.net/allow-url-include8 l+ o' C: V$ m; Z6 w
  824. allow_url_include = Off; `  C9 J8 ^( Y* k: a6 b6 L5 k

  825. 0 B) }# s+ {' N( S% T
  826. ; Define the anonymous ftp password (your email address). PHP's default setting$ Q6 ]5 a+ X, X
  827. ; for this is empty.& q0 }7 w- u/ w& Z; s
  828. ; http://php.net/from8 s8 Z) H, h) `: c6 v4 l* T
  829. ;from="john@doe.com"
    8 A! s( M* }) H8 u; Y
  830. 4 V6 B5 V3 r; e& @# ]  [
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ! I! I$ b# F; Z1 f+ O0 c/ f% q
  832. ; http://php.net/user-agent
    3 f: ?$ q3 E& H$ j" v- \
  833. ;user_agent="PHP"
    ! p* W% @1 W% a$ E3 t" z- d" ~
  834. ( j1 O7 e9 s. p! \; H
  835. ; Default timeout for socket based streams (seconds)& C- e4 [# e2 A( c3 }5 Y
  836. ; http://php.net/default-socket-timeout
    , _# Z6 |) g5 H, o  r# n4 U2 ]
  837. default_socket_timeout = 60! H3 s# O- i9 H$ \  a
  838. + {0 P/ g# X; l+ [8 S) l
  839. ; If your scripts have to deal with files from Macintosh systems,
    % V% O$ H4 b8 f1 `
  840. ; or you are running on a Mac and need to deal with files from+ ?4 Y$ j$ O- M& }# [% ]/ `/ \
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ( E/ \  G1 X" J- }
  842. ; automatically detect the EOL character in those files so that
    4 S# }6 F, c, U+ L
  843. ; fgets() and file() will work regardless of the source of the file.
    # M7 A$ l8 K) [; \/ @
  844. ; http://php.net/auto-detect-line-endings$ S( X. E. C. ~8 h3 I. b; I
  845. ;auto_detect_line_endings = Off
    7 P6 I( N2 d& e( k$ B1 o

  846. 5 y# b$ d" z, ?; r
  847. ;;;;;;;;;;;;;;;;;;;;;;5 {% `! |: e2 ]  \* f
  848. ; Dynamic Extensions ;
    ! i# o; }' R1 o- F* x4 Z& m0 i
  849. ;;;;;;;;;;;;;;;;;;;;;;2 {/ ]2 F6 |+ e' H$ s. p% Q

  850. ; Y/ o# e" p- W
  851. ; If you wish to have an extension loaded automatically, use the following& B& }* J  J0 \0 E; N+ X
  852. ; syntax:
    0 q9 U/ [) X- e8 `+ K
  853. ;# `4 c/ G: p, V& |! ]2 g0 ]9 z" }
  854. ;   extension=modulename.extension
    1 h- P' h3 N% R  F; U
  855. ;
    3 L* i4 V, l! \' w. \8 a- w
  856. ; For example, on Windows:
    & f6 a; L2 V1 W; l% Y- o- l
  857. ;( [! D% }: |$ i: d
  858. ;   extension=msql.dll
    8 j. T* r& Q% R" i
  859. ;
    ) H+ _, O  t5 m' e: E+ I
  860. ; ... or under UNIX:8 O9 [/ W- B1 J* P' O
  861. ;
    ( |/ ]5 f# P8 G5 n; }; C+ i
  862. ;   extension=msql.so! W8 @: L! V- y, ~
  863. ;
    & I/ ]0 K7 \' h- J& L# J' J
  864. ; ... or with a path:
    ) p* \# j2 t/ f- V6 E
  865. ;8 p, J' Q6 s3 v% [1 C5 o
  866. ;   extension=/path/to/extension/msql.so
    6 s; U' p* v* X6 N" E8 Y! }; T$ |. C) l
  867. ;# }0 Y1 m9 W$ j) e  r2 ]( y) A3 R
  868. ; If you only provide the name of the extension, PHP will look for it in its' ~" C8 J$ R% ]% r0 I) v; Y" T
  869. ; default extension directory.9 r; `6 b- k0 E
  870. ;" L3 S3 W! m; f
  871. ; Windows Extensions0 S/ P5 C- L1 l1 y2 p9 O
  872. ; Note that ODBC support is built in, so no dll is needed for it.+ J* L; n- Z$ j; Y& U
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)9 t# d. b9 K$ d: K3 L) y
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ( e0 I% }; P% T, O! \- E& c! e  j3 E
  875. ; Be sure to appropriately set the extension_dir directive.  s  G1 X: I- I0 G: c
  876. ;& v( N3 F7 m# b3 P
  877. ;extension=php_bz2.dll
    $ C' {- P3 r. {) d
  878. ;extension=php_curl.dll
    % x# l* s: {8 i
  879. ;extension=php_fileinfo.dll+ I6 P; G2 y. s$ X9 [  ^, N
  880. ;extension=php_ftp.dll
    & O7 u* T% o( x3 Z) [7 [: T
  881. ;extension=php_gd2.dll
    5 i2 R2 T7 X6 ?+ f1 D' k+ S
  882. ;extension=php_gettext.dll% Y# g9 Y: g3 i9 W3 w9 c
  883. ;extension=php_gmp.dll
    4 C" @# o3 \& `
  884. ;extension=php_intl.dll# O' o; @, d  b# S
  885. ;extension=php_imap.dll" |4 i) W. F% a, \* P6 u3 b' F
  886. ;extension=php_interbase.dll
    # n4 ]1 p5 F+ N; V3 L9 e
  887. ;extension=php_ldap.dll
    2 J- l  M# `6 m+ L
  888. ;extension=php_mbstring.dll( W% q7 {5 c8 F( {1 S! E( k! j7 Z' T
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it. H+ t% u; s7 `- L2 I
  890. ;extension=php_mysqli.dll
    8 B# P! }: t5 r' n
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: \$ q# O+ z! D7 A
  892. ;extension=php_openssl.dll
    , j9 N+ h% R4 u
  893. ;extension=php_pdo_firebird.dll
    9 S7 m1 e" [, h; X# P: u
  894. ;extension=php_pdo_mysql.dll
    $ }, A$ r: T2 q0 b7 t
  895. ;extension=php_pdo_oci.dll
    2 b, e1 P" \; A: K* \% r# l8 r9 R
  896. ;extension=php_pdo_odbc.dll
    # Q, i. V2 n" H& O5 d' V6 V
  897. ;extension=php_pdo_pgsql.dll
    ) i! v4 Y+ g' A( u" q5 k% z. M; {. W* n
  898. ;extension=php_pdo_sqlite.dll2 T% D  i  A/ C0 W' y! }4 y8 A
  899. ;extension=php_pgsql.dll, H8 {/ c, i. w. V2 w
  900. ;extension=php_shmop.dll' c! n! c( ?2 v% E

  901. / P( F4 g: v: |' o+ V. \' M- Q# v* l
  902. ; The MIBS data available in the PHP distribution must be installed.
    # Q- n) t( V7 M2 z0 J5 l( [3 w$ i
  903. ; See http://www.php.net/manual/en/snmp.installation.php9 D/ u$ B$ b; o0 L; |
  904. ;extension=php_snmp.dll
    2 d5 _1 y; y3 ^5 r1 `8 B' d
  905. ! L/ N$ f' H! M4 U/ g
  906. ;extension=php_soap.dll- o( `. B* L1 X4 }) |* A: ?  a
  907. ;extension=php_sockets.dll- f; W) J  s/ i4 L: |* ^8 Y
  908. ;extension=php_sqlite3.dll8 o% G; w1 x0 W+ w% t- |
  909. ;extension=php_tidy.dll9 \' |& q; V+ J; }
  910. ;extension=php_xmlrpc.dll4 `9 f; w* {1 J2 c2 X
  911. ;extension=php_xsl.dll
    - K( D; ~2 X" @, K/ c1 b
  912. - s3 Y, o5 P% p5 E% ~
  913. ;;;;;;;;;;;;;;;;;;;3 l: i1 R8 @1 W- q* u
  914. ; Module Settings ;2 J. B+ M" [  _" z3 A; n% o
  915. ;;;;;;;;;;;;;;;;;;;1 M. `4 _4 p; |# U  u8 g3 t
  916. ) K* W5 ^6 s# s5 ^% t, `7 q
  917. [CLI Server]
    / o' a8 W4 t: }/ Z2 w9 x
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 w4 e3 T. X7 |- G/ W9 v
  919. cli_server.color = On
    / D: `, b# q; v  {- [( v# C/ O# b
  920. ( B+ d" e. b* w6 s! d! }
  921. [Date]
    ) v5 H+ y- h2 J8 N+ [  R) _( \
  922. ; Defines the default timezone used by the date functions
    8 Y- X& \1 k& S  Y) O) [
  923. ; http://php.net/date.timezone
    ' H6 z/ q# m8 w0 o+ L/ _- l
  924. date.timezone = PRC
    9 f) P6 }! J! E; n- ?( }" Y

  925. ; H. E# }( o+ A4 B* L
  926. ; http://php.net/date.default-latitude
    : B3 N6 a! p7 p0 o8 b: B$ `
  927. ;date.default_latitude = 31.7667
    % U" x2 {2 N" A' ]  Z, w
  928. - |3 p8 N2 p5 d! q
  929. ; http://php.net/date.default-longitude8 Z$ @7 k- D* k% x
  930. ;date.default_longitude = 35.2333
    2 K  [  T( }" w, f6 ^; r

  931. / v3 u2 t! i2 V2 f
  932. ; http://php.net/date.sunrise-zenith  u% c/ ?  Q. I, I. ^) k. T
  933. ;date.sunrise_zenith = 90.5833330 L' H3 n. H6 p- b: R% ?, B! N- y
  934. 3 |- d9 J" d. R9 b
  935. ; http://php.net/date.sunset-zenith/ [0 ~5 _! L, A( ~+ L1 S8 J( N- ^
  936. ;date.sunset_zenith = 90.583333
    4 w6 z- {1 h& X) g

  937. 7 p  W# Y! o0 I
  938. [filter]3 z; h% G% [2 X! B1 [) v6 \
  939. ; http://php.net/filter.default4 b5 w( k; {' W9 Q
  940. ;filter.default = unsafe_raw
    8 |, d- ~" I; D8 M
  941. ' z, m$ _2 F" j! |
  942. ; http://php.net/filter.default-flags
    - H* a% x. ]. B" l! ~
  943. ;filter.default_flags =
    2 s7 f( j" q( b2 F0 J3 O

  944. 4 K8 o. W6 C+ D' l
  945. [iconv]6 c! o: e/ k& `# O$ }% z% c! J
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    8 A% ~' e% a! y8 L/ }6 B
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    - O# g) b3 u  q; c+ A* l! u, ~
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- p' l4 ]9 i) ~# _
  949. ;iconv.input_encoding =' f0 m3 V1 y+ y7 r- J# H/ N2 z
  950. ! ?* c/ f; R/ _% z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 f8 y/ @  C+ ^$ `9 n7 \, m/ ?
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , }+ S2 R; r9 j7 }
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" w6 \/ _) ~, o( n3 b8 @
  954. ;iconv.internal_encoding =5 Q0 F4 T8 N3 {$ q( k1 b' i
  955. ! H; B; z/ ^5 ^+ f0 X6 K; Z
  956. ; Use of this INI entry is deprecated, use global output_encoding instead./ f! M9 w4 `, t* t0 \
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.  f! F" _* u0 I5 ?. e. e0 @( L9 K
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 r" d7 U- i# ]
  959. ; To use an output encoding conversion, iconv's output handler must be set- K6 h) f9 u2 K! C
  960. ; otherwise output encoding conversion cannot be performed.% t4 P' Y9 u- a. H" G
  961. ;iconv.output_encoding =5 m& C: [2 g6 T) Z# R* ]1 o

  962. - f9 G4 A% R3 J4 S' w8 f
  963. [intl]5 l& d( i' Q4 h5 c8 A
  964. ;intl.default_locale =" D' @0 m/ x% |. V9 M8 h' t
  965. ; This directive allows you to produce PHP errors when some error
    ( ~& a8 S& Z" y. ?6 u  V5 ^9 G  u
  966. ; happens within intl functions. The value is the level of the error produced.1 D% {! j2 ~; [. i1 W+ B
  967. ; Default is 0, which does not produce any errors.6 M( p  j9 @5 G# j
  968. ;intl.error_level = E_WARNING, W- n7 i4 T. G2 I/ n* _
  969. ;intl.use_exceptions = 0
    4 Q4 t1 C+ O& F( E$ d

  970. 3 B! W8 X: g1 w
  971. [sqlite3]; g+ v2 L& w# c
  972. ;sqlite3.extension_dir =" ^1 f3 y/ s, O2 p3 J* E2 E

  973. # H2 k/ A1 l2 u0 ^8 H1 ^- g" P; @, J
  974. [Pcre]+ l$ a  M7 ~( X  S3 c) }. o
  975. ;PCRE library backtracking limit.
    ' f( o! G6 U  L0 A6 [
  976. ; http://php.net/pcre.backtrack-limit4 ^9 M/ |: x: K. B/ D3 V
  977. ;pcre.backtrack_limit=1000004 m$ s+ O% |  h& u# F( R
  978. 1 }7 q! y6 ?2 O: m9 F% U4 Z4 @) e
  979. ;PCRE library recursion limit." Q2 \( L( t5 w: P! l
  980. ;Please note that if you set this value to a high number you may consume all( C% k; O& w, {) |7 r
  981. ;the available process stack and eventually crash PHP (due to reaching the5 p" C7 o# i8 p% Y8 U' k
  982. ;stack size limit imposed by the Operating System).+ i7 V* K/ \8 U( x$ W! l; x
  983. ; http://php.net/pcre.recursion-limit
    1 p' }: I  B. a/ j& @6 _4 V5 @
  984. ;pcre.recursion_limit=1000008 G; h$ A8 B. Q* ~$ B

  985. 8 B( D$ A  H3 h; |
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
      o- W1 R3 x& d6 Y' k  U2 c- A5 y. r
  987. ;library to be compiled with JIT support.
    & M  D4 z; @# |9 F
  988. ;pcre.jit=1) y7 a$ t9 V# _2 t' E) C
  989. * n; q! ]* ?6 G) H
  990. [Pdo]: L8 J& v! O0 b0 o4 g
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"( }, s8 O/ y; r7 ~: J' ^1 L
  992. ; http://php.net/pdo-odbc.connection-pooling
    ; y6 Q8 D" I3 C5 y6 h- C) L" [
  993. ;pdo_odbc.connection_pooling=strict  _% ]1 ]* n+ X6 I- x5 c

  994. + m5 a" w5 a5 J8 A
  995. ;pdo_odbc.db2_instance_name$ A2 D& t4 D& T0 P2 I3 X
  996. 9 j: c$ B% W6 z+ g4 x
  997. [Pdo_mysql]: `9 {$ y  V/ [; b# T, C( d/ ?( i
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - a+ @  t- w3 E+ N, P7 ^" f
  999. ; http://php.net/pdo_mysql.cache_size; B5 K: H( q3 d  d4 Q5 H$ h0 |3 P
  1000. pdo_mysql.cache_size = 20001 x: i3 A8 m- k
  1001. " P8 s9 j* d; a$ _
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % ]) B* _+ A( I, e# v9 |7 H
  1003. ; MySQL defaults.& n1 |. n; @! ~2 p0 m" f8 J7 l
  1004. ; http://php.net/pdo_mysql.default-socket
    8 @0 {' c  W& G! s1 A6 z" h
  1005. pdo_mysql.default_socket=( g5 I! W4 Y5 `; x5 E" o

  1006.   L: v6 c$ B' n  g' y5 u& r
  1007. [Phar]/ [& t6 ^4 t% ]- w/ w, d- T. z
  1008. ; http://php.net/phar.readonly* A. ?, @/ S/ B1 y% L, S
  1009. ;phar.readonly = On# [# ]5 z( j( B6 A

  1010. $ Y8 f; a% b- Q% G1 |7 ?  Z
  1011. ; http://php.net/phar.require-hash1 B9 _) K8 ~0 p, S3 `
  1012. ;phar.require_hash = On3 h3 R' `! O& u8 X' T3 u4 @

  1013. 1 M+ o! v$ K, @/ |' \* k6 p
  1014. ;phar.cache_list =
    ; g8 I6 }: R# O3 ]

  1015. 6 h5 G) x' `& Q  r; _) w
  1016. [mail function]
    ' q7 p: t# T8 o: {# O
  1017. ; For Win32 only.+ S$ C1 @: P; f$ p0 @- s) l
  1018. ; http://php.net/smtp: D. c  ^6 _5 W# W9 V
  1019. SMTP = localhost7 j% Y" J+ j0 K9 i' ?: v! c" m
  1020. ; http://php.net/smtp-port
    : D$ F7 R7 Y( k  m; N% B$ a; n
  1021. smtp_port = 25
    % {5 r7 U% x) M

  1022. & |9 X" P2 @3 R) V
  1023. ; For Win32 only.7 y$ x! u" H2 {/ T8 g; s
  1024. ; http://php.net/sendmail-from
    / i! `5 L: k7 Z
  1025. ;sendmail_from = me@example.com7 W4 w0 @$ m* @: O/ Q2 d
  1026. , l; o* d* T; Y5 y. L8 S# y2 o
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. y, b6 @" x$ Q
  1028. ; http://php.net/sendmail-path+ ?+ t' V% |6 L; ?" ]
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    + f2 L5 T' R% U- u
  1030. & }, L' Y* m" {6 Z
  1031. ; Force the addition of the specified parameters to be passed as extra parameters) A% \. M  W; z7 t9 A7 {
  1032. ; to the sendmail binary. These parameters will always replace the value of
    * t( I8 x2 U( i# m; Z
  1033. ; the 5th parameter to mail().
    0 F! k# U" I, w
  1034. ;mail.force_extra_parameters =/ w; ?, P! |7 M; G

  1035. 6 g/ h$ j& G) |0 e7 C6 w! K
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    1 j6 n4 U/ s$ O& `) J0 B2 `* J9 x
  1037. mail.add_x_header = On
    " ]7 t3 p& N; g1 G" q! s
  1038. % x6 I' K0 p% \
  1039. ; The path to a log file that will log all mail() calls. Log entries include9 _6 n0 |  p/ V- p$ `. ~4 ?
  1040. ; the full path of the script, line number, To address and headers.
    7 j  Y& R% M2 [4 Y* |- O, B( @
  1041. ;mail.log =! P; t) q& S7 z2 S
  1042. ; Log mail to syslog (Event Log on Windows).
    ! T( M/ e/ F' C0 E! d: H
  1043. ;mail.log = syslog
    % c+ j6 {2 L& U
  1044. 9 ]: b! q/ ~4 X- |+ V' [( V4 j
  1045. [SQL]- H- t6 S5 i, `7 O7 C4 Z
  1046. ; http://php.net/sql.safe-mode( h3 H+ l1 n8 @  n
  1047. sql.safe_mode = Off
    1 P: t. u/ Y  v  Q4 r
  1048. 3 t  F- Y) s* Z1 c
  1049. [ODBC]2 q1 M) c& K. v3 V' `
  1050. ; http://php.net/odbc.default-db
    / S! m4 c3 Z4 L2 ~1 {* n5 g
  1051. ;odbc.default_db    =  Not yet implemented
    $ V  z0 f8 }* @# X$ C* L: h
  1052. . ?7 A$ i# n& S- l
  1053. ; http://php.net/odbc.default-user
    + g4 o' H+ f3 R$ K; U8 u
  1054. ;odbc.default_user  =  Not yet implemented" p/ V$ A1 E3 v# V$ X& H

  1055. ; |0 q$ k" B* j3 ?
  1056. ; http://php.net/odbc.default-pw
    ; q5 m  w; Y, b& |4 y* T4 i
  1057. ;odbc.default_pw    =  Not yet implemented9 h% N" s7 {8 \; @6 j( B* ?: W! b
  1058. 3 H4 l. |" f' \
  1059. ; Controls the ODBC cursor model.
    4 b8 g! @6 s" u  `8 z
  1060. ; Default: SQL_CURSOR_STATIC (default).
    9 [# y& T$ H; \8 M6 G$ Z
  1061. ;odbc.default_cursortype: E% S( g3 B; C" U$ w  k
  1062. ) H3 m% j& j; J3 F3 \3 q
  1063. ; Allow or prevent persistent links.# E$ ?- r% b' B
  1064. ; http://php.net/odbc.allow-persistent; L5 e. o5 M% E
  1065. odbc.allow_persistent = On
    7 ?% ~9 o4 H* O
  1066. & s7 G# o) d3 @7 M
  1067. ; Check that a connection is still valid before reuse.3 C& o- p. m6 ~& y. K! Y
  1068. ; http://php.net/odbc.check-persistent1 J+ ?3 [) n: T; `# ]
  1069. odbc.check_persistent = On
    / q6 W3 v" X$ a! X! _

  1070. 4 f4 i1 q  z% H- L1 [
  1071. ; Maximum number of persistent links.  -1 means no limit.* [# R8 f7 w: c: G
  1072. ; http://php.net/odbc.max-persistent& _! z# t; T* |+ I
  1073. odbc.max_persistent = -1
    # D& z, p" [: u
  1074. $ A; m$ k5 U% H3 ]( j3 z* `
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! p5 E2 C$ b' `* w
  1076. ; http://php.net/odbc.max-links) }" Z8 ?' ]. K. G7 y* e- g( D
  1077. odbc.max_links = -1
      F! {7 q$ @* I( J# W) `4 }
  1078. 0 r- c2 c$ L4 F3 @# P6 l3 H+ p6 U
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# A! n6 B7 z% |5 `: G6 ~
  1080. ; passthru.
    - @5 `& C" Z3 @0 B4 a; M- h" ?
  1081. ; http://php.net/odbc.defaultlrl, u+ S4 W. S' v* f2 [
  1082. odbc.defaultlrl = 4096
    ( l* u, L- W$ s& r2 j  t

  1083. 1 C' N6 @' r; ^7 o2 L% n  v$ p" n
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    / ?* b3 q% _& w3 U1 w& X+ ^
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation# O5 q! N; g1 m
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode0 d7 X2 ?7 L: }7 Z% Q
  1087. ; http://php.net/odbc.defaultbinmode
    # h& ~4 C+ q. ?- s& v. {
  1088. odbc.defaultbinmode = 1
    - m3 k& H+ r; y: H, V
  1089. * F2 a3 @$ \$ G, l# f6 `
  1090. ;birdstep.max_links = -13 D  Q1 E0 V3 `

  1091. ! z- j9 n+ h; X9 t" u, D( _
  1092. [Interbase]
    0 w- q6 X/ Y/ l5 L& [4 j1 I. Z7 ?
  1093. ; Allow or prevent persistent links.
    ; r7 }6 `1 l6 k4 a1 x) h* Z4 O$ D
  1094. ibase.allow_persistent = 1
      S9 E& ?4 k  W' S% ^$ k! Z. o
  1095. 1 b! K1 [% R( h: {. N. y
  1096. ; Maximum number of persistent links.  -1 means no limit.
    / D; L. g; y* ]0 \1 q; t8 U* {
  1097. ibase.max_persistent = -1! U) C$ X; u  A

  1098. 7 S4 i% m" h* T) Q8 u. h$ e# ]
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  {, \* H7 R2 D: ]
  1100. ibase.max_links = -1
    ) m+ @0 P- C- P; e
  1101. / G1 x; i1 W* Q5 e
  1102. ; Default database name for ibase_connect().% {3 z1 }6 u' [7 {
  1103. ;ibase.default_db =3 M7 [+ C( F, k- \! X

  1104. 3 J+ z: R' Q( e0 F
  1105. ; Default username for ibase_connect().
    2 ~& x+ O2 K/ [7 S
  1106. ;ibase.default_user =
      I. u8 ^; @2 `/ M( n. O+ w/ V

  1107. ! Q0 ]7 J5 m4 ]) k% n
  1108. ; Default password for ibase_connect().
    8 c, f! d3 e, W* I6 ]* Y  l6 `3 s2 i
  1109. ;ibase.default_password =! U2 L  J: e1 R) \0 l7 N

  1110. + r, ?$ r* g; n# L
  1111. ; Default charset for ibase_connect().
    : I% F# `4 L: V
  1112. ;ibase.default_charset =. P3 ~! f' n/ |) v: T  [8 i! S

  1113. ( N; ^( u, T+ t/ O# N. D
  1114. ; Default timestamp format.
    ! B; Y. l% q' ?( H# J! \' \) M
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"0 g  D# o  X/ v+ f( s! C$ v+ O
  1116. + d5 h6 A  r/ R9 W/ f) w
  1117. ; Default date format.
    & A8 k4 h3 x5 z6 q3 H
  1118. ibase.dateformat = "%Y-%m-%d"
    8 `1 f6 A; X. k# p+ c: ^. w* p! d+ Q
  1119. ) [! H* k% k+ \- s
  1120. ; Default time format.
    $ Q1 t2 F6 v- K/ P* E
  1121. ibase.timeformat = "%H:%M:%S"
    / H4 K  t9 G7 Q7 l/ X2 f# D  |

  1122. % A+ C$ w5 z" l9 n6 h( k/ R+ [
  1123. [MySQLi]
    6 z1 k  K: d/ z
  1124. % |; G; F+ E' [9 G$ W7 W
  1125. ; Maximum number of persistent links.  -1 means no limit.4 @4 Y9 a4 u( z3 h' D
  1126. ; http://php.net/mysqli.max-persistent: m9 t6 x) U* k, S+ H
  1127. mysqli.max_persistent = -1
    * u3 w" Z' ?9 w# c+ _2 L0 |; h" c

  1128. 7 Q, L# |  D0 ]  p
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, a- J0 I. w" A5 S; B( V: A
  1130. ; http://php.net/mysqli.allow_local_infile
    , d9 W7 y/ g: E: G( Z
  1131. ;mysqli.allow_local_infile = On
    ; W$ d9 G6 Y+ M8 i' j

  1132. 8 T/ B9 f4 ?$ E8 [3 @% D4 i
  1133. ; Allow or prevent persistent links.
    ( C" P; X, O2 g6 W( @/ z
  1134. ; http://php.net/mysqli.allow-persistent' v0 A2 v' p7 y
  1135. mysqli.allow_persistent = On
    # O4 `8 p! X/ o$ T0 i
  1136. $ m  l- s, q8 s: I( E
  1137. ; Maximum number of links.  -1 means no limit.& m) k$ X0 E4 [6 R, l- i9 ~
  1138. ; http://php.net/mysqli.max-links% a$ }6 I4 n. K! [8 b4 s, g
  1139. mysqli.max_links = -1: W8 p$ z3 c6 i6 B1 \# k
  1140. . v3 V8 ~) @. c7 u
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + X( H3 A+ z0 v5 o+ d+ |1 M, \
  1142. ; http://php.net/mysqli.cache_size
    - p# X6 t7 Y3 |8 W) W
  1143. mysqli.cache_size = 20006 R0 l7 C! r# m
  1144. 2 l4 I  ?3 l& O# ?
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " T! Y1 W, j; W" u
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) i- U' A- n4 R# r6 u' u# v$ g$ ^
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look0 b& v& c1 z6 [4 l5 i
  1148. ; at MYSQL_PORT.7 ]* Z3 O1 E2 K2 ?" L
  1149. ; http://php.net/mysqli.default-port
    8 D/ X1 e5 G9 L8 C: `
  1150. mysqli.default_port = 3306
    5 ^0 S. `/ |( T+ p2 ^9 s% D
  1151. 2 i& Q0 Q; C+ b' n; {
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( _8 j2 K, }/ c0 X8 F: x
  1153. ; MySQL defaults.
    ! {( w" I7 f" h% d' `5 W: a0 _& V! y
  1154. ; http://php.net/mysqli.default-socket
    8 D0 s8 f8 j7 Y
  1155. mysqli.default_socket =- |$ p2 \# c1 ~5 T

  1156. : u1 f8 W! J5 U" b& c* L# {
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - R' A$ j7 {* w" E5 `! m/ d& ]
  1158. ; http://php.net/mysqli.default-host, x" q( ?/ ^5 P8 v
  1159. mysqli.default_host =7 I6 p0 w' A$ }6 y. a& Z5 a$ S

  1160. # C9 F5 j; e7 E. W3 \8 {
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).& p* F1 K6 Z$ g$ C
  1162. ; http://php.net/mysqli.default-user
    5 ^7 r( E( u8 {6 n
  1163. mysqli.default_user =
    4 y4 s- E* [/ [+ w
  1164. # r5 h: c+ Q. I/ Y
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    8 }% ~' }! y& e
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    " H7 G) O/ H! I2 ~! t  K; l
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")$ k# P0 }- g& a' U
  1168. ; and reveal this password!  And of course, any users with read access to this
    * o/ W- Z) @& u( a, t
  1169. ; file will be able to reveal the password as well.! H8 g$ h3 J$ X! s
  1170. ; http://php.net/mysqli.default-pw
    ) J! r( E4 b! d3 b# i- s
  1171. mysqli.default_pw =
    * c! X$ l* t4 m4 Z' e6 U. \! P/ U% x

  1172. - X% b* \% K+ V3 v3 \
  1173. ; Allow or prevent reconnect
    0 Z, z% l5 N5 _. y4 U
  1174. mysqli.reconnect = Off
    + l6 l# X4 C! N9 ^$ ?: ~% w
  1175. . C8 I. Z7 S5 I; T
  1176. [mysqlnd]
    ) m( O% K( N) X
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be  I* k! L7 B( Z$ @" Y: N) I
  1178. ; used to tune and monitor MySQL operations./ w5 K5 @6 T# r+ \. Q
  1179. ; http://php.net/mysqlnd.collect_statistics/ [1 i4 C9 B2 R3 ~
  1180. mysqlnd.collect_statistics = On
    ) l8 M& T! s+ C# P# ~( `
  1181. 8 P; I+ @" q, I8 C/ ~
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    6 a3 ?" G% W6 B& V
  1183. ; used to tune and monitor MySQL operations.3 x4 Z( r+ u8 L
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
      D4 J# ?, e' \, c1 W/ x% H
  1185. mysqlnd.collect_memory_statistics = Off
    # V# \0 b3 s7 S. J

  1186. 9 T( A) c$ q* ~2 N* ~
  1187. ; Records communication from all extensions using mysqlnd to the specified log/ A$ O( U% l* @$ O- J# r$ o6 l
  1188. ; file.6 L! Y& S8 f) V( M1 `
  1189. ; http://php.net/mysqlnd.debug
    , S5 C1 `  v. H6 G; m2 `7 z
  1190. ;mysqlnd.debug =
    ! `  ^+ R8 ^) k/ b; _) P
  1191. , i$ O" k2 E; a/ w+ A+ u
  1192. ; Defines which queries will be logged." i# A/ P. ~$ ~8 p% \
  1193. ; http://php.net/mysqlnd.log_mask
    $ j/ C3 p/ P4 J& H& G' J
  1194. ;mysqlnd.log_mask = 0
    2 Q0 i( Z, h1 @5 W. g3 I$ A

  1195.   {  ~7 U7 h6 ?
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.# X1 q: z$ ?+ A, S- A; y
  1197. ; http://php.net/mysqlnd.mempool_default_size
    3 k& J8 q, Z! ^; Q% J" L
  1198. ;mysqlnd.mempool_default_size = 16000
    2 k1 J5 v& @* b( ?3 n
  1199. ( X- |% b2 |# M% B
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.' H' p; g/ L9 g- R  m! {7 C( U
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size8 e( ^3 ^& R, \: _' o+ b1 D
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    , t- a# ]: n! c" J0 r' s* |

  1203. : G; T6 [, i" Z" Y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in( E; ~1 ~# Y4 k3 H
  1205. ; bytes.
    ! M% Y6 }7 b% d" W5 t/ Y
  1206. ; http://php.net/mysqlnd.net_read_buffer_size7 v; n) Y2 G- V$ a
  1207. ;mysqlnd.net_read_buffer_size = 32768
    0 C; c: u: L3 ^! a4 B

  1208.   c7 V' \+ ~* X9 R4 E5 m1 J! x
  1209. ; Timeout for network requests in seconds.
    9 r+ A2 J0 `; Q1 D# }
  1210. ; http://php.net/mysqlnd.net_read_timeout
    9 t( N9 P' n! P: _
  1211. ;mysqlnd.net_read_timeout = 31536000
      g3 R8 u! R- D# G! X  L

  1212. " `. _' G" M8 }* _" i/ Y# t
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    5 |' t& X6 J( ?* ]
  1214. ; key.  J9 o1 v) F3 b8 H. [: E! q
  1215. ; http://php.net/mysqlnd.sha256_server_public_key$ E- L. g  n7 b' ]3 s( y; C
  1216. ;mysqlnd.sha256_server_public_key =* g) K3 T" h, G. B. r

  1217. ; x0 }9 A) z9 {, ?
  1218. [OCI8]
    " G7 p, ]3 K4 q9 H
  1219. ; p2 O8 d: Z* s; h, G
  1220. ; Connection: Enables privileged connections using external
    % W. x0 h( v  v8 p
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    5 r2 L- Q- ^4 K/ z8 X7 }: L
  1222. ; http://php.net/oci8.privileged-connect1 s3 X2 I; a1 U) f% B# D, k
  1223. ;oci8.privileged_connect = Off5 ~% D* S) _0 l1 l+ e" v
  1224. + a( h. n# b8 U
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    9 l4 D4 ^/ k/ q" m9 L5 Q
  1226. ; process. Using -1 means no limit.3 \: K; a5 ~! h0 T- K6 k4 y) O
  1227. ; http://php.net/oci8.max-persistent) o+ Y1 W6 h3 ]6 v6 }
  1228. ;oci8.max_persistent = -1' @; f1 O3 X2 t

  1229. 4 m/ i" ]5 C/ \8 Q, N) t/ j
  1230. ; Connection: The maximum number of seconds a process is allowed to
    7 r7 e& y! r+ p
  1231. ; maintain an idle persistent connection. Using -1 means idle
    % m0 I$ i0 _3 Y
  1232. ; persistent connections will be maintained forever.3 C# m, f+ T. I+ [6 e/ B
  1233. ; http://php.net/oci8.persistent-timeout- ^, `( m0 X; w
  1234. ;oci8.persistent_timeout = -1/ N8 S5 I+ X4 e5 G! C

  1235. / Q* T2 f/ [" a# G, V* x
  1236. ; Connection: The number of seconds that must pass before issuing a
    : @  j8 i+ W- `+ P+ E
  1237. ; ping during oci_pconnect() to check the connection validity. When- C5 l+ p/ B) U) p% a; Q9 ^1 C9 s
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) U/ B3 n" r$ H: r% {4 X, Y: O/ E
  1239. ; pings completely.7 G6 S7 K) S. @( E! l' R
  1240. ; http://php.net/oci8.ping-interval
      t0 p6 n, R" b( [) q
  1241. ;oci8.ping_interval = 60
    9 b! F* [( u; q4 d+ n2 b1 D

  1242. . L  z; f& u( W2 K- c3 u
  1243. ; Connection: Set this to a user chosen connection class to be used
    . t0 Z  F, d- K5 E+ p
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ; j, P8 K% L  k0 w" D/ f
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to$ J/ @, g+ \1 e! O2 H2 n
  1246. ; the same string for all web servers running the same application,
    3 b- h! r0 X2 z) o- [
  1247. ; the database pool must be configured, and the connection string must
    ! q: \  ?2 w9 R2 G
  1248. ; specify to use a pooled server.' M& \+ [* b! h  V
  1249. ;oci8.connection_class =
    9 ^( }- |$ A) E' }; \

  1250. . J7 n/ y) v. ]  F& ~
  1251. ; High Availability: Using On lets PHP receive Fast Application
    % |2 N' p/ Z: x3 G( J& y2 G. u
  1252. ; Notification (FAN) events generated when a database node fails. The5 f, ^& C3 v( M
  1253. ; database must also be configured to post FAN events.5 u) a& `! a* B- b" G. j4 B
  1254. ;oci8.events = Off
    / l/ r7 N$ |9 d9 E7 B$ G

  1255. 5 s& {! e9 P- A; g" X* z
  1256. ; Tuning: This option enables statement caching, and specifies how0 B) ~' N- C. D: X
  1257. ; many statements to cache. Using 0 disables statement caching.
    2 L& l2 ^9 C0 B) e
  1258. ; http://php.net/oci8.statement-cache-size
    ! w! {5 f/ ?, W( z7 ~7 ~4 c% t
  1259. ;oci8.statement_cache_size = 20; t# E% M+ w0 r1 b5 r

  1260. / Z' k7 t/ q& |: N  _
  1261. ; Tuning: Enables statement prefetching and sets the default number of: P$ N+ ]3 k9 k
  1262. ; rows that will be fetched automatically after statement execution.. q  U8 t8 s( u
  1263. ; http://php.net/oci8.default-prefetch9 F4 x% c2 v! q8 j0 ?: M0 Y8 o
  1264. ;oci8.default_prefetch = 100
    1 A& X! U4 {0 p7 q
  1265. . k: h' P0 _+ ]: A3 s/ ]7 R
  1266. ; Compatibility. Using On means oci_close() will not close
    1 k, }8 r1 |% o- j$ C, V4 u' ~  R; _) E
  1267. ; oci_connect() and oci_new_connect() connections.
    , S; W0 E. }' r" Q0 w
  1268. ; http://php.net/oci8.old-oci-close-semantics
    % h- S- K  o! \# y- {8 C+ c6 T
  1269. ;oci8.old_oci_close_semantics = Off. ]3 `; A  s6 H4 H4 E8 v
  1270. 0 V/ S* r/ K# h
  1271. [PostgreSQL]
    # c: J; x0 ]" P$ [! |: }: j  j7 h! {: k
  1272. ; Allow or prevent persistent links.
    / L- ~. ~! N6 `; G  N, V
  1273. ; http://php.net/pgsql.allow-persistent
    * s% |, o, Y" k9 m, W& Y) k* t- Q
  1274. pgsql.allow_persistent = On: Q( y" d: S6 U, g" f) W1 B* u
  1275. ; k9 i% V) }$ I7 W& n/ x0 e
  1276. ; Detect broken persistent links always with pg_pconnect().
    9 N. n! S7 \: O! z' X
  1277. ; Auto reset feature requires a little overheads.! q; O, h* O: g1 c
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ' n+ z* R! ?7 ]8 I; Q9 b; X
  1279. pgsql.auto_reset_persistent = Off& w: Z: x6 Z! g+ {8 H; L3 T/ p
  1280. 6 h5 m+ z6 V( x8 C' r& W! b
  1281. ; Maximum number of persistent links.  -1 means no limit.2 a! @( m( Y- C5 W6 O
  1282. ; http://php.net/pgsql.max-persistent
    8 `9 V! f0 ]; J- K. D2 n
  1283. pgsql.max_persistent = -1; y4 C( ~+ k# ?% q  [2 g& E
  1284. " g! S# q0 `3 G4 p1 d
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    7 A' W- V$ A/ C. l8 z8 }" H  U
  1286. ; http://php.net/pgsql.max-links
    / g- f1 ^! K8 Z, x6 O  T
  1287. pgsql.max_links = -1! t: g& X2 D; B1 b. H
  1288. 3 V0 n+ J; a+ P
  1289. ; Ignore PostgreSQL backends Notice message or not., \5 w% R# ^* K0 f1 T+ L! D! F8 b% X
  1290. ; Notice message logging require a little overheads.
    ' R( c  G+ l# \- X2 v
  1291. ; http://php.net/pgsql.ignore-notice5 W  k7 \+ Z$ f( j1 }
  1292. pgsql.ignore_notice = 0( I8 B5 d" R) {, q" Z! g
  1293. # ^$ S2 K! f/ d+ @' ]# D
  1294. ; Log PostgreSQL backends Notice message or not." N, z, V( s) }/ @1 p6 D
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 @, c+ @' Z& J( U. T: [1 R
  1296. ; http://php.net/pgsql.log-notice
    " s4 J* {8 n- B
  1297. pgsql.log_notice = 0/ C- Z% M- r, G- r& R
  1298. 3 x) f' Z6 E7 j& Q" z4 Q8 s; y
  1299. [bcmath]8 [: Q+ M4 g  b( }' o! ]3 x
  1300. ; Number of decimal digits for all bcmath functions.8 O! T1 M8 ^- Y% G6 z6 }
  1301. ; http://php.net/bcmath.scale
    5 F0 j( s5 T) Q# E# }6 b
  1302. bcmath.scale = 0
    ' v% M2 Q( i6 j4 V) n- J/ B
  1303. ' I1 ?6 V; P8 Q4 Y0 k* b1 M
  1304. [browscap]
    " |4 a3 S$ F; N
  1305. ; http://php.net/browscap
    3 L- ~! x8 ?( y5 w% }* `
  1306. ;browscap = extra/browscap.ini
    1 U( H; ^2 Z. D
  1307. / }' X$ c- ]4 j  E
  1308. [Session]) M' M- _7 R! t4 i( S8 v) U# R
  1309. ; Handler used to store/retrieve data.
    % s( S! ~) j: j' x3 {, A  o4 C
  1310. ; http://php.net/session.save-handler
    3 C0 \2 z9 k: P6 t
  1311. session.save_handler = files8 S( c% X+ d# a  S
  1312. ( S2 {5 v- W" D" E
  1313. ; Argument passed to save_handler.  In the case of files, this is the path: _2 H( a  n  P; L" w
  1314. ; where data files are stored. Note: Windows users have to change this& ~7 O! h) S: ^" R4 G
  1315. ; variable in order to use PHP's session functions.4 a" v5 l+ b: P  A1 F
  1316. ;
    ! I. R3 i; h. P4 d
  1317. ; The path can be defined as:
    5 c; p& K* X; \: q% H, G/ @2 D
  1318. ;
    * y( n% f! m( \
  1319. ;     session.save_path = "N;/path"
    ! |: x+ o2 x+ w# x: O
  1320. ;# S" U! y' t+ O, t
  1321. ; where N is an integer.  Instead of storing all the session files in
    . ~6 K7 ^9 I8 W- O
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    8 J* ?! P" j" W9 Y3 m, ^; q
  1323. ; store the session data in those directories.  This is useful if
    0 c0 j0 x, M- l+ W# U* r  i
  1324. ; your OS has problems with many files in one directory, and is
    & h; L* }0 e! f9 J/ I7 j8 |9 m
  1325. ; a more efficient layout for servers that handle many sessions.
    ; f& D& x+ }5 }0 h1 r% R' f
  1326. ;( i9 v( {( s' I& h3 Z6 C: d+ C6 ]
  1327. ; NOTE 1: PHP will not create this directory structure automatically.$ }2 k  [5 a- g) r9 F& d1 ^3 ]! H" r
  1328. ;         You can use the script in the ext/session dir for that purpose.' R' x' a; C" h% x# b1 U
  1329. ; NOTE 2: See the section on garbage collection below if you choose to0 R: `' ^3 C* L
  1330. ;         use subdirectories for session storage: j; {$ S( ?( l$ _5 }
  1331. ;4 x0 d! m2 G. t$ ]0 ^' P9 i9 R& {
  1332. ; The file storage module creates files using mode 600 by default.
    0 O& r, j! W" E$ r
  1333. ; You can change that by using9 w8 T- f$ v) V6 r1 r  ?
  1334. ;5 }& y+ v9 w: ~) F* w* P
  1335. ;     session.save_path = "N;MODE;/path"
    " k* [/ T. x: [5 @
  1336. ;
    4 C2 A6 A- q  \- x2 o% q
  1337. ; where MODE is the octal representation of the mode. Note that this
    + R) m$ S4 I) b0 \# }
  1338. ; does not overwrite the process's umask.
    ; M3 l' Q- Z! h' `* ?3 A% h2 ?: N
  1339. ; http://php.net/session.save-path
    $ `1 r7 q9 Z/ C; Z4 O  z
  1340. ;session.save_path = "/tmp"6 u2 [3 c9 U# S5 \. I

  1341. 9 k& u2 j# h9 W* V' W) d
  1342. ; Whether to use strict session mode.
    " \0 w4 H5 t; D( _6 f" r
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate; r1 k8 J2 ?  ^7 A
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 }8 L1 U# e7 |% K
  1345. ; applications from session fixation via session adoption vulnerability. It is
    % t6 ~  W. x* ~# `
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged., Z9 V+ T! R; O% A
  1347. ; https://wiki.php.net/rfc/strict_sessions( f2 h) P: e* L0 ]: S
  1348. session.use_strict_mode = 0# Z: c% Y2 O+ `+ ?- P8 j/ b4 _

  1349. ( Y# a3 W" W) o2 k
  1350. ; Whether to use cookies./ y0 E) L: y8 I, F& C
  1351. ; http://php.net/session.use-cookies
    . @* {' A$ T. J0 D
  1352. session.use_cookies = 17 z( h* H. Z/ n' `  W# o

  1353. & A. ?; J9 a$ r* u, m6 e
  1354. ; http://php.net/session.cookie-secure
    & M# v3 \* P: N
  1355. ;session.cookie_secure =0 u( U; A5 A+ u0 W* _4 _. J: e0 E
  1356. # `1 I0 [4 Q- B- C9 u/ W: F- k5 p6 P
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    5 `% y$ x/ H4 ]# e0 A% q6 Q) q2 r
  1358. ; the session id. We encourage this operation as it's very helpful in combating' u: ?4 H, q2 T  }1 y9 u' t
  1359. ; session hijacking when not specifying and managing your own session id. It is9 a/ z  O$ `) `
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 Z5 G' h% t6 n; h
  1361. ; http://php.net/session.use-only-cookies& h% |) O& L& j
  1362. session.use_only_cookies = 1
    : r2 ^& F1 Z  [4 H# H$ P; f+ \

  1363. ) [% U  }# R- p) M3 x- g
  1364. ; Name of the session (used as cookie name).# T. u2 y2 V5 y* a/ ?
  1365. ; http://php.net/session.name
    / Y, W4 l  F  c1 T! z+ V3 Z/ J' O( s
  1366. session.name = PHPSESSID
    4 _( G0 _5 g; V$ A* w$ d6 F
  1367. * D! r/ w, |! W" E3 |: o
  1368. ; Initialize session on request startup.
    * V1 B$ r2 F- x( Y/ z4 p7 g
  1369. ; http://php.net/session.auto-start
    , n* t7 n0 h3 z( Q0 Y
  1370. session.auto_start = 05 y: S% v# G7 A

  1371. " ?# R' K9 h, Y# p$ u# h+ z& m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    4 h& w/ A0 _; J! ]% z
  1373. ; http://php.net/session.cookie-lifetime
    0 ~8 S% E# o$ i% s
  1374. session.cookie_lifetime = 0# m& M2 [9 X% i+ k) i

  1375. 3 I" S" d2 N8 Z. l/ [# [
  1376. ; The path for which the cookie is valid.
    5 O- y7 E3 K6 O. ]) _9 o7 \- D% J
  1377. ; http://php.net/session.cookie-path# P; G: Y0 \0 Y0 W7 |
  1378. session.cookie_path = /
    ' R% |) [" O# P/ O- X- j" p% ]. _
  1379.   d, a+ T- @% \4 D
  1380. ; The domain for which the cookie is valid.7 r2 U9 _0 i  _/ q' E) q2 W
  1381. ; http://php.net/session.cookie-domain* n9 T! s" z& G5 I* A( V
  1382. session.cookie_domain =7 B* r# r$ O+ A/ r& l
  1383. 0 f8 D/ T6 H, O1 U  t4 K# n4 m3 i0 b  t
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    0 E5 p' F1 T* D' n4 ?5 P) L1 x
  1385. ; http://php.net/session.cookie-httponly
    8 c) q* g9 k5 s) `9 u
  1386. session.cookie_httponly =& }' w# w9 F; B& R  w, L8 K

  1387. 2 M) k; I0 z0 F8 h  q& p6 G
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.+ W1 Y  [3 @" `
  1389. ; http://php.net/session.serialize-handler
    2 `6 I8 D2 J$ W  a3 P5 c4 }! d2 f
  1390. session.serialize_handler = php
    ; ~- |4 K6 u6 m" k9 o2 z6 L

  1391. / J* z, i& V# {, k4 {1 u6 T2 l
  1392. ; Defines the probability that the 'garbage collection' process is started, J( _3 o% n2 C, \- d2 w8 P  p
  1393. ; on every session initialization. The probability is calculated by using) j& h) q5 N" h; e
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ( q- K: K" c1 n  l" I8 R; b! S
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 13 S4 t$ N1 q, X( Z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / j* n) c% k4 `' G/ G- {) I/ C6 N
  1397. ; the gc will run on any give request.
    " j0 q: U7 V, A0 A$ {
  1398. ; Default Value: 1
    , a7 m- s3 P6 A; Z1 E! ^1 ?
  1399. ; Development Value: 1* X1 k1 N, J1 M& G
  1400. ; Production Value: 10 Q/ j: m8 w' w; G
  1401. ; http://php.net/session.gc-probability
    + S0 ]2 M6 W4 @: W% w
  1402. session.gc_probability = 1* g' H3 \2 m5 A! N

  1403. / f, P" D! z. Y
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    - p3 ]( \3 V8 X' k2 d* p. n
  1405. ; session initialization. The probability is calculated by using the following equation:+ f* O  i7 I( k8 @! a, |
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    2 }& E! s$ ]5 J" ~5 o: z
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 d$ d0 f+ Y& k  ]
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 ~+ C, z( e4 N1 N% o" z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you+ t/ a$ Z6 A7 O; ]; h, T5 ~8 ]
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ! p0 T1 u4 Y2 T) v  j
  1411. ; this is a more efficient approach.
    ! a- D) L2 W& q3 \
  1412. ; Default Value: 100
    3 ~5 Y1 X4 B4 O) U
  1413. ; Development Value: 1000
    " Y* V/ D- Z( f/ n7 k5 `- f. P( p
  1414. ; Production Value: 10001 s5 h# c9 V* P' I8 k
  1415. ; http://php.net/session.gc-divisor
    3 Y* p8 A/ D( Z; |1 T/ ?9 x  ~8 k8 B
  1416. session.gc_divisor = 10008 K0 ]" Y7 i2 ^+ i2 @
  1417. 8 _0 e9 D* G4 S& _2 z3 V
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    # C8 O! J$ H* l5 E% ~6 ~
  1419. ; cleaned up by the garbage collection process.
    / M0 z, S2 Y3 A1 O/ K4 j/ p" W- @
  1420. ; http://php.net/session.gc-maxlifetime
    ; O) P0 W- Z# W. Q" k) x9 f
  1421. session.gc_maxlifetime = 1440  D2 m" ~) d; {6 M0 J8 X7 q

  1422. * o7 C) _% X; L, J4 f
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    9 V7 F  t6 B! o/ ]& D3 `1 d
  1424. ;       (see session.save_path above), then garbage collection does *not*
    # l; L+ F; i# e: c
  1425. ;       happen automatically.  You will need to do your own garbage
    & ?4 ~" k" ^' _' J& K/ X1 t, h1 Z
  1426. ;       collection through a shell script, cron entry, or some other method.1 }7 M6 }9 C1 d5 w: }8 k
  1427. ;       For example, the following script would is the equivalent of7 c9 U5 X; M2 E* I; V/ p$ |0 l
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 k% ], y* E  C( T3 W
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    * v0 F, T6 \6 [( b1 Z( Z/ k
  1430. + w- {9 `9 h; R+ O
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & [+ l/ K6 W  O1 J% ?
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    6 ]2 k5 G. d  C5 G+ Q" P/ A
  1433. ; considered as valid.
    9 X3 M. n* F$ G/ o, a
  1434. ; http://php.net/session.referer-check. Y. ~# m0 W2 z  E& P
  1435. session.referer_check =" q- u3 d2 f$ c4 g

  1436. ! v: d/ N' a7 J# X7 y
  1437. ; How many bytes to read from the file.# g9 E  H4 R, u$ R( ?2 A3 ~
  1438. ; http://php.net/session.entropy-length
    / m' G8 b& h1 L2 E% ]# j& g) u
  1439. ;session.entropy_length = 32
    " A3 `( T3 q1 B# P7 ?
  1440. . u+ O. Z& t5 ~4 c& R. i5 F2 n
  1441. ; Specified here to create the session id.7 u- _: ~- d7 t6 J; [* B
  1442. ; http://php.net/session.entropy-file' E, h' ]- q, M2 G
  1443. ; Defaults to /dev/urandom( V" H+ j; ?1 w+ t, [8 `
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 F; S+ I7 Q( [1 b) u; E
  1445. ; If neither are found at compile time, the default is no entropy file.- W$ i% A( u: \: N0 W2 C6 d& m  l+ ^
  1446. ; On windows, setting the entropy_length setting will activate the
    3 K! N4 {8 t& H
  1447. ; Windows random source (using the CryptoAPI)
    1 @5 f8 g- c- Y
  1448. ;session.entropy_file = /dev/urandom
    % C, r( g9 ?0 n! H9 W5 ]

  1449. 7 X/ C# N0 I+ c7 g! l
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects: s$ l+ W0 X1 e1 k3 X
  1451. ; or leave this empty to avoid sending anti-caching headers.; B" {0 K  }" c6 q7 Z' E; ?4 v
  1452. ; http://php.net/session.cache-limiter
    - M0 Z% A* t4 ~/ d0 j9 e' t
  1453. session.cache_limiter = nocache
    # Z5 k1 ~  t6 D4 Y8 s1 X
  1454. ( c+ v. {' j( ?2 h/ s
  1455. ; Document expires after n minutes.; p" i2 H, W! i! C
  1456. ; http://php.net/session.cache-expire
    & O6 s5 E4 Y& Q" z# ~+ F
  1457. session.cache_expire = 1805 E2 i7 @' [* U# J
  1458. : l0 R/ A# T- Z* g; O5 y
  1459. ; trans sid support is disabled by default.
    1 g/ _$ z% m! N! s! P5 O
  1460. ; Use of trans sid may risk your users' security.
    0 l+ R: _/ b7 ?3 l; j
  1461. ; Use this option with caution.
    5 M6 {! `9 c- O  k( E
  1462. ; - User may send URL contains active session ID# f- u) @  B" R1 B8 I( L' b
  1463. ;   to other person via. email/irc/etc.
    ; c2 Y( x1 j4 S& U5 z( o# S# i
  1464. ; - URL that contains active session ID may be stored
    # ~' J5 w2 ]1 q
  1465. ;   in publicly accessible computer.
    # ~; q) X. z& e7 O' j$ h3 l
  1466. ; - User may access your site with the same session ID. W2 ^6 U. m  M5 y1 F4 x5 v6 o1 w
  1467. ;   always using URL stored in browser's history or bookmarks.  E7 J0 Q+ o" k0 i! n, [9 ?
  1468. ; http://php.net/session.use-trans-sid
    ! X" v5 G/ A& m) Q. S
  1469. session.use_trans_sid = 0" M- Q- U; U! [4 O

  1470. ( d8 n0 l8 g/ i: }4 s  F# }  L
  1471. ; Select a hash function for use in generating session ids.
    * q$ E6 |! x9 j+ f
  1472. ; Possible Values' n/ l# H5 w) I) l. S
  1473. ;   0  (MD5 128 bits)1 W0 E: H! `# q5 J- J! z
  1474. ;   1  (SHA-1 160 bits)
    8 ]3 _! B2 \! v  ~& b* y/ x" x
  1475. ; This option may also be set to the name of any hash function supported by! N: E7 y" I* B2 A; \2 [3 |1 ^) ]
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) g2 z- E0 ?: c5 @+ {- r6 q
  1477. ; function.
    - [, K$ D9 ^" ~! ]' o
  1478. ; http://php.net/session.hash-function+ V9 e' ]: ]9 i) [
  1479. session.hash_function = 04 L  c4 F$ q- o: w$ v) ^
  1480. 2 _) ^% b4 e1 ?5 F) }/ O6 u/ r8 E6 S$ Z1 m
  1481. ; Define how many bits are stored in each character when converting
    1 w+ [4 s  ?$ y0 a
  1482. ; the binary hash data to something readable.( I% ?# }' _. J  z" Z
  1483. ; Possible values:
    : k8 O# B+ K2 h' d4 N" d( V
  1484. ;   4  (4 bits: 0-9, a-f)+ F5 r, P5 O4 @0 m+ d
  1485. ;   5  (5 bits: 0-9, a-v)
    - e0 X2 f6 p$ k! g, @
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ) t+ d8 S, j3 |  R
  1487. ; Default Value: 4+ ^+ r/ q& A( W  g5 c# S
  1488. ; Development Value: 5
    4 l+ L5 t' A" k4 N
  1489. ; Production Value: 5& E7 @- y6 f5 J: H% A& e
  1490. ; http://php.net/session.hash-bits-per-character7 }: Z! x3 r' Z. Q
  1491. session.hash_bits_per_character = 5
    $ L0 l/ G3 \5 F" f

  1492. " K! K3 ?; G: ^" h. q
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.  P# I8 o, ^  D7 V; x
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    / S2 k# k4 e. s- Q
  1495. ; add a hidden <input> field with the info which is otherwise appended; O% i- H8 V0 z+ z8 n8 V3 R  `- |
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
      V/ U5 R1 k: T
  1497. ; Note that all valid entries require a "=", even if no value follows.' y% j+ n" k- @6 [0 N
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 R2 i7 m$ M5 ]  R% L
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; v0 A8 N$ i- J, P( r' K& A' f
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 T  {# k3 E; V! b5 ?( G8 p
  1501. ; http://php.net/url-rewriter.tags; ]6 S! }3 N* \6 l0 K5 y8 l
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 w" K$ w% c& j* h1 [% n
  1503. " A, q) ~5 o- s! k8 Y" j) r9 d! ]3 c
  1504. ; Enable upload progress tracking in $_SESSION
    9 G8 R0 S% ~, D. k3 b! G
  1505. ; Default Value: On
    ( ]0 y0 ^' r' @- {' T6 {1 M$ v
  1506. ; Development Value: On
    6 D) Y5 q- Q* b
  1507. ; Production Value: On! t9 L+ g$ \2 z+ a, `
  1508. ; http://php.net/session.upload-progress.enabled
    * }2 p0 P5 G: `) y$ o, \, Y+ `
  1509. ;session.upload_progress.enabled = On9 I$ Y( u9 J- B4 O; a6 B

  1510. 2 {9 i& K4 E4 o0 E- H$ A; U7 u
  1511. ; Cleanup the progress information as soon as all POST data has been read( c) f+ @$ v! a) t" }+ M% Y( m
  1512. ; (i.e. upload completed).* M8 I* B0 I' g9 d
  1513. ; Default Value: On# W  K& @( G8 P2 m9 T* t
  1514. ; Development Value: On% s: V% U# t* Q
  1515. ; Production Value: On" Z) ~! g$ T5 O
  1516. ; http://php.net/session.upload-progress.cleanup' M) a. o6 w5 t
  1517. ;session.upload_progress.cleanup = On- T$ \2 `. _/ y" K7 z4 {4 u
  1518. - T: w; l. {8 K% C. X* O( I
  1519. ; A prefix used for the upload progress key in $_SESSION
    " V, `# E, e* n2 W
  1520. ; Default Value: "upload_progress_"
    6 [" f6 b* @* f( K% q* E; _
  1521. ; Development Value: "upload_progress_") U) n8 l2 A  X# K1 H9 ]
  1522. ; Production Value: "upload_progress_"
    , h4 L; A$ {$ G7 c
  1523. ; http://php.net/session.upload-progress.prefix
    $ Y& ]6 C  f1 U& H2 x, ]* s
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ; B! V# q1 V! y- l6 Z$ W4 d4 O* U

  1525. 8 @8 e1 a; ~* T9 o$ ^
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ) W) n9 T2 \7 Z4 q( m
  1527. ; containing the upload progress information, C" q! G% A+ t% l
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 @/ l$ G$ ^- ?, U* M( z* G: o9 y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 i. h$ ^6 R' Z, [$ R# Z3 _
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS", V0 q! j! }) x# ^
  1531. ; http://php.net/session.upload-progress.name
    + U2 t9 a% v+ H$ A' t7 W+ V0 n& `
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    + h9 K8 z7 R( O' F9 `% Q

  1533. 9 H; ]: ]- s4 b* v& `
  1534. ; How frequently the upload progress should be updated.
    . g8 H6 K. y: b
  1535. ; Given either in percentages (per-file), or in bytes
    9 N  m3 r$ p$ j7 C% b( p% z
  1536. ; Default Value: "1%"4 F/ ]1 y9 d  @8 @
  1537. ; Development Value: "1%"3 @5 Q/ u7 R1 R) I5 v% C
  1538. ; Production Value: "1%"! X& c. x) U! J  Z/ I' H
  1539. ; http://php.net/session.upload-progress.freq0 d1 ^; N! ~/ b, U2 `2 k3 e8 ~6 G* m
  1540. ;session.upload_progress.freq =  "1%") N" V% q/ {! F& X
  1541. " K0 L8 D; q3 |( O5 I7 t
  1542. ; The minimum delay between updates, in seconds
    8 Q: x' I- h! q4 t3 R
  1543. ; Default Value: 1
    3 @% f; a+ }9 z- _
  1544. ; Development Value: 1
    4 ^2 M' y; Z$ m5 @4 P
  1545. ; Production Value: 16 M/ B! w' W8 J( M& [. U* ]( b. v0 G
  1546. ; http://php.net/session.upload-progress.min-freq
    * R( i+ J7 Y( V. P: M
  1547. ;session.upload_progress.min_freq = "1"
    3 s( K1 w" U, L. C7 y7 \

  1548. ! T* k& T9 T$ d. }5 o& P
  1549. ; Only write session data when session data is changed. Enabled by default.
    1 d3 K. x) d& l" w2 B; v& a# b
  1550. ; http://php.net/session.lazy-write/ X# p- c. [- W% E8 z  S
  1551. ;session.lazy_write = On
    & Z9 A* \/ Q. s- q' a. F5 _
  1552. ! Y+ T9 c; ]& P, N" t# p
  1553. [Assertion]# o  C" \+ S. ~/ J8 t
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)3 g$ ^- h1 J0 s; @
  1555. ; -1: Do not compile at all
    6 H4 \& |+ ^& }0 L/ O! J( W* ~  V
  1556. ;  0: Jump over assertion at run-time$ M1 c8 ^4 t6 m% J
  1557. ;  1: Execute assertions
    * f+ x( B0 V9 P& b2 C5 Q) 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)* }+ M# C' Y6 o- `
  1559. ; Default Value: 1
    $ d4 }4 m( i2 w9 W
  1560. ; Development Value: 1
    ! v; o$ ?- t8 H) R
  1561. ; Production Value: -1$ q: t/ ]) Q( h- |+ r! a0 `4 A
  1562. ; http://php.net/zend.assertions2 m% i' J- W1 p! u( q- w+ i
  1563. zend.assertions = -16 |  N4 e4 y7 S+ t
  1564. ( e1 |* ^0 K( @) O7 B* o7 h
  1565. ; Assert(expr); active by default.* D7 C% o, @# m" Y( `
  1566. ; http://php.net/assert.active
    + a* i1 w4 A7 m5 w1 H, I( J
  1567. ;assert.active = On( n; d+ t3 @/ i( V0 r

  1568. 3 B2 z. u) y0 d9 G& x
  1569. ; Throw an AssertationException on failed assertions& J' a. w4 q, K( @2 x
  1570. ; http://php.net/assert.exception
      A4 n* D9 U( {; A% V7 A& z
  1571. ;assert.exception = On: b$ b! `0 X# \3 w. E3 b" G

  1572. ( C" a1 j) j/ ?! j9 e3 M1 c; F
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ( S8 C; u% O# ]) F  H) ?% R
  1574. ; http://php.net/assert.warning
    ) h8 p0 k. A% N
  1575. ;assert.warning = On
    . m1 _- r: Q; W5 C5 ~' T* B
  1576. , r/ e$ g$ U2 C, Y
  1577. ; Don't bail out by default.# Y9 H4 \' c8 ]3 I
  1578. ; http://php.net/assert.bail
    1 o1 F6 L/ ?0 v9 t  V4 H& A: ^  H' R6 t
  1579. ;assert.bail = Off
    1 \0 q$ n" i) ^' O0 d' y0 ~8 w3 m8 Q

  1580. 1 n- s* P- `$ I7 @
  1581. ; User-function to be called if an assertion fails.
    : a& [) u( T2 v4 y' y, p
  1582. ; http://php.net/assert.callback; M0 {8 n, W: ]
  1583. ;assert.callback = 0
    + G* B3 f- z5 q) G$ |7 ~% n
  1584.   Z" G$ F: ^. [7 w% {' u7 P3 }4 [% @
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    + q7 p* K; C3 Z) U0 e( q
  1586. ; error_reporting(0) around the eval().
    % D9 _" Y8 `& L  W4 E
  1587. ; http://php.net/assert.quiet-eval
    2 \9 p& z3 K2 Z
  1588. ;assert.quiet_eval = 0
    ) e. _2 ^( `$ U! f

  1589. ; q$ z2 Q7 J( P1 m7 D* Y3 ^
  1590. [COM]4 g2 R& U! H, i! Q
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ( D0 {" S  \; `. }# b* t) v
  1592. ; http://php.net/com.typelib-file! E2 o  x% r: m4 m
  1593. ;com.typelib_file =
    : U0 C0 I1 }& ?9 D* o) N$ L

  1594. ! A; y' {  _8 j7 Y+ b8 m
  1595. ; allow Distributed-COM calls
    , ?8 Y  W' h/ i
  1596. ; http://php.net/com.allow-dcom
    2 W0 c: w# s2 X7 g8 f
  1597. ;com.allow_dcom = true
    4 y0 S" C' Q8 }6 h$ X+ @

  1598. & _& q8 X* B7 E' }# B% z& h
  1599. ; autoregister constants of a components typlib on com_load()
    / ^/ M9 l; o1 W
  1600. ; http://php.net/com.autoregister-typelib
    0 f3 G" l" G; m0 g. F
  1601. ;com.autoregister_typelib = true
    9 V% J3 [- h* {* e) Y, E) \
  1602. ! c* `+ D! X, u$ ~$ |' F! u; {, Z
  1603. ; register constants casesensitive  [7 n% u3 n7 n  }$ _  T1 Y8 w& `: p) O5 j
  1604. ; http://php.net/com.autoregister-casesensitive
    * o7 v& |5 N# i; o% o* L9 X
  1605. ;com.autoregister_casesensitive = false
    & K+ @, B2 A" K" Y2 s; F7 O1 {
  1606. 5 f; {) y4 T' r0 [) t
  1607. ; show warnings on duplicate constant registrations
    $ X: b6 k- F5 J4 F8 ~, N; [
  1608. ; http://php.net/com.autoregister-verbose$ O- E: o  `* O9 |* V1 @
  1609. ;com.autoregister_verbose = true$ X) G6 y2 z5 @3 O, s( J0 e

  1610. * R$ f  ~0 d5 _4 p( ?7 S2 L+ y4 p
  1611. ; The default character set code-page to use when passing strings to and from COM objects.! y6 ?0 s- u3 ]& x, [, a
  1612. ; Default: system ANSI code page, w) A  x4 ~& `& `1 J* d& \
  1613. ;com.code_page=
    ! ]& N3 L. |3 V3 K. `5 J% J; U2 ^

  1614. * ^: Q. c1 z+ Z
  1615. [mbstring]; j/ L! ?* p2 o/ ]$ |+ d
  1616. ; language for internal character representation.: O" I# G' O5 T
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; r0 o2 l: z# ~7 c) b. Z
  1618. ; http://php.net/mbstring.language% t2 ]% o. o* ^7 b+ p' [
  1619. ;mbstring.language = Japanese
    * Z, L! r# d! f/ [' p
  1620. * e* I* w, k( I& N) D3 r
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 X4 T  Z* L8 C! E2 u3 z
  1622. ; internal/script encoding.* L1 ^/ _  ]* c+ U& e7 |  p9 Z' @
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
      K5 d2 T8 d! L9 s# G
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + l' \! h- o6 P3 X4 P
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 H  p/ D6 x" C1 Z- b
  1626. ;mbstring.internal_encoding =- A. }1 j. X2 p; h! P
  1627. 6 w9 `8 g! u2 Y) [1 b; d! C3 o/ ?
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * U$ E- x% ]% M
  1629. ; http input encoding., L( Y! R7 j" I4 w) k5 W
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    % i% G2 r) G  |- x$ G9 E9 [6 i
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    1 l! B/ Q% y# R( E( f' c
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 ^4 p: p8 y; {% F- k3 l! g' Z
  1633. ; http://php.net/mbstring.http-input  ?9 }# R! Z- a4 n* t
  1634. ;mbstring.http_input =
    / H- {( g2 w1 n* [/ A# t" n
  1635. % v) z; B# I7 C
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.: t$ h( Q& A9 O( Z2 i* e& Q- c
  1637. ; http output encoding.4 S/ _( W' t6 E$ x2 ]" N
  1638. ; mb_output_handler must be registered as output buffer to function.
    4 m5 F: {9 c/ b$ u8 Y  s# U$ N
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  E1 T8 f* V9 w
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output: ?( G7 L! f; ?$ }
  1641. ; To use an output encoding conversion, mbstring's output handler must be set8 R: o5 f  V  [0 l6 u$ l% b
  1642. ; otherwise output encoding conversion cannot be performed.
    ( k: z5 J9 x+ D! {8 X$ v7 V0 a7 M: x
  1643. ; http://php.net/mbstring.http-output7 I8 I0 _3 z$ A
  1644. ;mbstring.http_output =6 u5 _% ^- \( W: c% A
  1645. ' i' u' [; G& B- s( W
  1646. ; enable automatic encoding translation according to
    . @6 Q( b& [& k3 q
  1647. ; mbstring.internal_encoding setting. Input chars are
    4 E: z0 d/ M( a- g4 ~
  1648. ; converted to internal encoding by setting this to On.% m" E% m) d) i0 Z
  1649. ; Note: Do _not_ use automatic encoding translation for
    - ]; `) F- B1 z
  1650. ;       portable libs/applications.
    ) l" F3 B6 U  [0 `$ N
  1651. ; http://php.net/mbstring.encoding-translation% x; f2 X0 q8 B/ }4 j0 j. X3 P
  1652. ;mbstring.encoding_translation = Off
    ; o- ]2 J6 A" H0 v7 L/ \

  1653. 2 g/ s8 d( s# A. J9 Z
  1654. ; automatic encoding detection order., x% S# P3 s2 g
  1655. ; "auto" detect order is changed according to mbstring.language
    1 x2 |* b3 D' H8 U8 x6 @
  1656. ; http://php.net/mbstring.detect-order2 B' _& J7 I7 ^8 S
  1657. ;mbstring.detect_order = auto
    - q/ r- ^; d& q+ ~) B, U

  1658. + l" m, g" L: ~, G
  1659. ; substitute_character used when character cannot be converted/ y9 I8 }3 u$ A' `
  1660. ; one from another
    ' I' d" X( B8 z% ~- g. k" ^
  1661. ; http://php.net/mbstring.substitute-character$ d1 X9 S+ c# c* ~5 ?, p) z
  1662. ;mbstring.substitute_character = none
    9 q% W0 n9 Y' S) e7 y* l+ d

  1663. $ X8 o0 L% f! _* `
  1664. ; overload(replace) single byte functions by mbstring functions.
    # {0 ]5 L4 f; f4 x4 U* A# [6 X8 u
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 u! k" `$ [* S: N
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    & J1 T* g- @  \. i5 w
  1667. ; For example, 7 for overload everything.( y8 ?: L/ `( R& c
  1668. ; 0: No overload
    * b  ]4 f8 _: ?4 W
  1669. ; 1: Overload mail() function4 k5 F  [& w! p! O: O3 H
  1670. ; 2: Overload str*() functions
    * R5 Y5 ^& v4 L& ]: P
  1671. ; 4: Overload ereg*() functions2 a$ S4 q6 t0 ^( K, m9 G- \& @
  1672. ; http://php.net/mbstring.func-overload
    8 ?1 {8 C3 u0 I# K$ V; y+ S
  1673. ;mbstring.func_overload = 00 x. M# P- S: D; Y9 u
  1674. 4 J& J' Y3 `5 A6 `/ a) M
  1675. ; enable strict encoding detection.* @2 u' b# N# m+ s7 ~
  1676. ; Default: Off
    " _2 ^$ D/ p/ b) `. a
  1677. ;mbstring.strict_detection = On  \* ]" P/ |# g" x7 t; i% P. Q$ u

  1678. * T( K/ U1 A+ o, o
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    7 c# t# v5 l* J& _
  1680. ; is activated.3 X" ?& T0 L$ ?" \4 G1 O
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    2 M' Z3 O* G) @
  1682. ;mbstring.http_output_conv_mimetype=# X' V" X! \+ k+ @* g2 T$ W

  1683. ) `. |' \2 Z$ K' {$ ]. V9 z
  1684. [gd]
    % g' o) r0 F! o6 N: F1 q
  1685. ; Tell the jpeg decode to ignore warnings and try to create  H( [; @" v* v* q' a( D
  1686. ; a gd image. The warning will then be displayed as notices
    5 `2 m! O8 r8 x9 y
  1687. ; disabled by default
    . B3 K+ S0 B# w- S5 f
  1688. ; http://php.net/gd.jpeg-ignore-warning
    9 _4 |0 C9 E# n) B
  1689. ;gd.jpeg_ignore_warning = 0
    * o$ h4 O% }8 E+ r# `: c
  1690. 2 F" \: h6 [: E9 f1 x( r
  1691. [exif]
      E9 {1 p( y" j5 e3 Z
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.7 r2 {/ `* Z# q* n+ g' c5 |
  1693. ; With mbstring support this will automatically be converted into the encoding6 F7 e" _& S. y" }1 z; E+ e4 A
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding( B, r" I& C# d( h% d
  1695. ; is used. For the decode settings you can distinguish between motorola and3 ]( v7 G- \! }' u9 f. @7 j
  1696. ; intel byte order. A decode setting cannot be empty.
    2 h0 V. _* u. H& a5 }
  1697. ; http://php.net/exif.encode-unicode
    ! r, i" y6 Q3 V0 L" N$ [
  1698. ;exif.encode_unicode = ISO-8859-15& `1 B# |* z! Y

  1699. ) F0 q( X+ I- R& L- \! ]2 \0 A! g/ A# \! @8 ~
  1700. ; http://php.net/exif.decode-unicode-motorola. U  T7 h% |1 x4 m! |% E
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    & I5 q% X- F* X9 h+ D
  1702. : S% i$ o+ Z) w
  1703. ; http://php.net/exif.decode-unicode-intel9 b2 ]5 S' m6 }
  1704. ;exif.decode_unicode_intel    = UCS-2LE1 I& m7 P- h, m2 W5 M

  1705. & o. ]  Q* Z! D( ^
  1706. ; http://php.net/exif.encode-jis
    ' E5 @, q1 B0 B3 R, O5 ]
  1707. ;exif.encode_jis =
    * e7 A0 x8 y0 ?* ^; E5 A$ ]
  1708. # d0 v3 J: h, A' q, |- x: l
  1709. ; http://php.net/exif.decode-jis-motorola
    " @9 Z- S; E  A
  1710. ;exif.decode_jis_motorola = JIS
    / s: s3 J' W1 T# p% l

  1711. ; w: {' p4 z7 j; @4 C
  1712. ; http://php.net/exif.decode-jis-intel( \  ?* Q8 o' G
  1713. ;exif.decode_jis_intel    = JIS
    ! z: m9 h, D- O4 q0 u3 Y

  1714. - ^4 u6 `+ a$ U' g: G" r
  1715. [Tidy]8 _5 E& h7 Y" I
  1716. ; The path to a default tidy configuration file to use when using tidy: z+ k# A0 [' I' y
  1717. ; http://php.net/tidy.default-config
    9 J' L, m( w" [0 c# I, k% y, G
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 C& }* C. Y( H8 D$ e7 z" M
  1719. # V* p$ U5 o# W: s* k
  1720. ; Should tidy clean and repair output automatically?
    " ?7 K+ f8 S+ C
  1721. ; WARNING: Do not use this option if you are generating non-html content
    3 K2 [7 w$ K* p' ]
  1722. ; such as dynamic images6 @' ?) l% p5 e2 y1 Q5 G9 f( K
  1723. ; http://php.net/tidy.clean-output
    5 [  {# Y0 b9 n
  1724. tidy.clean_output = Off
    " E+ n) r" x5 S9 T5 p' b8 R% m

  1725. $ s2 d# G4 S  L: M& K
  1726. [soap]
    ( C! E9 q  Q2 i0 Y) l0 j
  1727. ; Enables or disables WSDL caching feature.7 b2 o2 @1 ]: u
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ' ]6 L$ ]- I" v+ T( L
  1729. soap.wsdl_cache_enabled=1
    ! L. N+ n. Y, K+ Y" E! l
  1730. 4 b0 Q1 }6 X/ ~( F* K
  1731. ; Sets the directory name where SOAP extension will put cache files.
    * L9 O  c3 {# p* q2 L1 Q2 W9 L
  1732. ; http://php.net/soap.wsdl-cache-dir
    ! S# E+ a6 _. r6 U0 [8 W' M% L
  1733. soap.wsdl_cache_dir="/tmp"; W/ }7 P& m- U7 {6 L* d) G/ m: Q
  1734. + S: c! W# P- M! b' i' Z8 X
  1735. ; (time to live) Sets the number of second while cached file will be used
    8 g$ n( D8 r; J( o
  1736. ; instead of original one.
    % y3 t: H. ^' _% w8 f
  1737. ; http://php.net/soap.wsdl-cache-ttl
    . z3 `5 y; D; s# U5 i- E& D
  1738. soap.wsdl_cache_ttl=86400# l; O& I; }( H# [% g
  1739. 8 Y! I' f# R1 p8 W% ]2 y
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)6 B% t; B8 ?% E: [. `! v
  1741. soap.wsdl_cache_limit = 5( b2 t1 x" A2 ^  F
  1742. ) j' ~1 ~# C* x2 @
  1743. [sysvshm]
    ' j% Y* ^3 B) p
  1744. ; A default size of the shared memory segment
    4 Q; I7 i' w' U* z
  1745. ;sysvshm.init_mem = 10000, g# y- `& h, u+ K  F6 ?$ S

  1746.   ?7 ]9 ^: P- l- ^4 k
  1747. [ldap]
    7 s$ u" J$ q: ~* j$ j% a" ?
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    / Y! i6 i- f: Y# S' [8 s9 r
  1749. ldap.max_links = -15 W# ]% l* B6 i% S0 Q1 U) C7 o

  1750. 4 p# ]9 Y$ o- A+ C7 L& h9 G
  1751. [mcrypt]- L$ B) r8 N2 z3 u" K4 r3 Y
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open0 \: W6 I) v( t) ^. c& P

  1753. ; z6 C8 F  x# b4 R' v
  1754. ; Directory where to load mcrypt algorithms8 @& h7 i0 L/ S# i
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; w* o3 K/ w# `7 z
  1756. ;mcrypt.algorithms_dir=
    ; K* B* D" Y1 x3 `5 P

  1757. ! S2 {) F8 j5 `& U) C+ ~: p$ E( G
  1758. ; Directory where to load mcrypt modes
    9 C1 n1 h! N4 z& b; }0 M; |* ?  B
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 e" n* g0 {' [' O- u
  1760. ;mcrypt.modes_dir=
    ! A" @! U* D/ B8 g; o+ R9 J

  1761. : Y  l/ U3 M4 e3 ^* t1 j. s- l6 g: u; k
  1762. [dba]- k0 p6 f# D4 @2 i& |
  1763. ;dba.default_handler=1 e/ o7 {  X0 L
  1764. 8 X1 T- p" U( v( ~' C1 W
  1765. [opcache]
    . d4 \+ D7 {! I
  1766. ; Determines if Zend OPCache is enabled
    . s1 h& O) B. `6 t! n6 k! m
  1767. ;opcache.enable=0
    - d' M9 q. N- [; l6 T
  1768. + F; c" p4 b" W' Z) \
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 [$ c  n2 ?9 N. A  \3 f$ @. V
  1770. ;opcache.enable_cli=0
    % d, Z2 V& B' L- `, b5 F1 @% y1 ^* \1 V

  1771. ( ]/ X+ `+ D, c. c( B' K; _: ?
  1772. ; The OPcache shared memory storage size." ?% q1 t; p0 K/ k, ?
  1773. ;opcache.memory_consumption=64: m4 Q+ W& B( Z- X' Q* f5 g

  1774. ' D# B4 B6 E( u# z
  1775. ; The amount of memory for interned strings in Mbytes." t! ^& i# j5 a6 h, O
  1776. ;opcache.interned_strings_buffer=4
    ! T6 Q1 D4 y" G  t

  1777. 5 r: P: i1 d0 O& W
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.% j# N/ ^$ K3 P+ v
  1779. ; Only numbers between 200 and 1000000 are allowed.; G' M3 d% ^2 _& ~* l
  1780. ;opcache.max_accelerated_files=2000
    $ [! _- X. v2 K) M- X, o
  1781. 6 w  K9 t* t6 j2 X7 V& X1 a) X7 a
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    2 o. T/ D* R9 O' }
  1783. ;opcache.max_wasted_percentage=5) Z( r+ y2 B& O
  1784. % k( [0 t9 r, |7 O
  1785. ; When this directive is enabled, the OPcache appends the current working' G  Z) j7 J' o" B4 F2 m
  1786. ; directory to the script key, thus eliminating possible collisions between
    # x' J1 y/ ^5 P0 g0 g1 _1 @! c
  1787. ; files with the same name (basename). Disabling the directive improves
    * K1 Y3 T7 g& D8 z
  1788. ; performance, but may break existing applications.1 B$ c% f+ Z' n2 S7 P( w5 r, C
  1789. ;opcache.use_cwd=1
    8 W: u3 W. v0 i$ u
  1790. 0 p! n. o0 |2 W- Q, {6 V" b% D% {
  1791. ; When disabled, you must reset the OPcache manually or restart the9 L: t; A' L8 |3 g
  1792. ; webserver for changes to the filesystem to take effect.8 k6 J$ c3 n+ h3 @1 u: Y
  1793. ;opcache.validate_timestamps=18 B( ]* R& n1 t2 w4 D5 A4 s8 ^7 ~6 d
  1794. ' J5 b9 f0 E" v  c1 x: E
  1795. ; How often (in seconds) to check file timestamps for changes to the shared  X1 i1 x$ }: T1 D3 M  s
  1796. ; memory storage allocation. ("1" means validate once per second, but only- N8 c2 t' W  M/ v8 O3 J! R6 P
  1797. ; once per request. "0" means always validate)
    & p" j' J5 W4 _% K& t
  1798. ;opcache.revalidate_freq=2
      A$ W) t, n$ J, j, m8 H4 y! g' I
  1799. / Z8 P0 _: ^2 P0 W5 M
  1800. ; Enables or disables file search in include_path optimization
    ; k2 ^; I6 t* Q* `' j: L9 ^1 b
  1801. ;opcache.revalidate_path=0
    5 f  V  U0 ^2 J7 R+ ~
  1802. : a* w: F) Z5 q( o) A( X% _
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the2 o" T- g, `8 D" f( R8 w3 I  f
  1804. ; size of the optimized code.7 ]& n5 g% p7 Z* t8 e' P
  1805. ;opcache.save_comments=1
    * m" f/ B! ?% W4 p9 V
  1806. 1 p3 V6 f. G5 o# Z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 S7 P2 i# f3 @2 P- [
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    9 A3 @% j" v7 j! {/ N& K5 g* P
  1809. ;opcache.fast_shutdown=0. K) S7 z% h4 U' @+ z5 x

  1810. 8 P  s/ \; M: h: z
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    5 @9 V2 W  I% Q& s+ q- s
  1812. ;opcache.enable_file_override=0
    3 x- o) r$ S/ s5 v9 ^

  1813. & m. k* F& A! X
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    0 Y$ G: O) K% m" i% [
  1815. ; passes
    6 H7 i0 e- T! Z8 H& |
  1816. ;opcache.optimization_level=0xffffffff7 n0 k# C% o% F3 m) m0 Q- j8 E! o; f

  1817. 8 w8 ~: N; ]6 W8 s/ X
  1818. ;opcache.inherited_hack=1
      y" z0 @2 B4 y/ W$ D$ c2 X
  1819. ;opcache.dups_fix=0$ f* P/ N6 i6 r6 Q; }+ N) j
  1820. 3 o3 b1 k- i* v7 K7 ]; \
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    5 u% g( Q; H4 Q; F; }
  1822. ; Each OPcache blacklist file is a text file that holds the names of files& \6 p% Z5 f: }9 E' Z) H1 }
  1823. ; that should not be accelerated. The file format is to add each filename) Z- M! J) q0 W0 m
  1824. ; to a new line. The filename may be a full path or just a file prefix" t. L/ |! T; ?: `
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
      g3 u6 z  y( S  c' ~/ n
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ C* x, z, \  t  Y# c
  1827. ;opcache.blacklist_filename=
    * C; z5 p% @0 L8 F8 J& M* S

  1828. . Q4 q# U- v  S, |, A: z8 p" F
  1829. ; Allows exclusion of large files from being cached. By default all files
    1 i6 E/ D4 S! P1 p# u
  1830. ; are cached.* P& a% |2 d) z' J: Z! z
  1831. ;opcache.max_file_size=0
    0 h7 Q( h; r- e" l
  1832. 7 i; {9 T/ y$ N0 [6 v- j
  1833. ; Check the cache checksum each N requests.' v2 G- q! R' m5 S; v
  1834. ; The default value of "0" means that the checks are disabled.) I4 O- t4 Q4 |. X: L1 I& [
  1835. ;opcache.consistency_checks=0
    , k4 R% _# ^% _- O2 B3 C- t1 t

  1836. " f$ z* T" m( Y% U1 M
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; }" V7 v! F1 X) ~+ L
  1838. ; is not being accessed.
    4 d: B4 c7 L- I7 b: B
  1839. ;opcache.force_restart_timeout=180
    ' y# ^# E" `# u+ V8 t
  1840. . ^! G6 U6 v! j- ~  }# P: g
  1841. ; OPcache error_log file name. Empty string assumes "stderr".9 _' ]& D+ r8 o/ {" }8 \8 |$ a
  1842. ;opcache.error_log=
    0 p( w( v% A8 o
  1843. ( W  a- f8 u2 D# u" @& ]: `
  1844. ; All OPcache errors go to the Web server log.8 e8 b0 ~$ i; i# _
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    + B0 t; H5 ?/ \0 p) c
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ( }+ z2 `3 Z' E+ c; R* \( O
  1847. ; debug messages (level 4).. h  p1 r6 r9 \' B; Z; C
  1848. ;opcache.log_verbosity_level=16 F* w6 ]" ]8 b# f$ W; l
  1849. . E+ ?: k% r9 _& }/ K
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- S6 I, ^: V3 N. x8 J0 @8 h% V$ @
  1851. ;opcache.preferred_memory_model=
      Q6 _* p, i) l

  1852. 4 Y# i! L4 i$ Z' U! i% n! b
  1853. ; Protect the shared memory from unexpected writing during script execution.; n8 W& h' z/ q* T
  1854. ; Useful for internal debugging only.
    5 z6 I' @/ f/ E8 e7 P4 t
  1855. ;opcache.protect_memory=0$ o( D* N- `" M* a5 j! E" o
  1856. ! G$ q  r3 x0 E$ u
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 l) H. w7 E" v- Y9 {
  1858. ; started from specified string. The default "" means no restriction6 }: i  s4 |. U# L6 C$ k/ G, e
  1859. ;opcache.restrict_api=
    % P# w/ C  G8 D- h) s. a
  1860. ) o6 T% e3 Z$ b% ~* p$ J
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP; ^& J: I+ _2 E" w0 n
  1862. ; processes have to map shared memory into the same address space. This) C5 `6 s: J8 @% I$ S* M4 K
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    # I3 ~! j5 z. y; z, X4 N7 D
  1864. ; errors.6 [- z9 O3 d! `8 s
  1865. ;opcache.mmap_base=
    $ w( m6 M: m  F* i, q, }8 n* L$ H

  1866. 5 B/ V7 a% q1 d
  1867. ; Enables and sets the second level cache directory.
    3 |+ K$ @5 s7 Q- V) S
  1868. ; It should improve performance when SHM memory is full, at server restart or- U9 j6 O- B( a) z; w9 \
  1869. ; SHM reset. The default "" disables file based caching." }$ i3 t6 S( K; [8 M2 J& u, U/ B
  1870. ;opcache.file_cache=
    * B! K& K" z) z, S( t) r. ]

  1871. , Y8 P0 A2 i# M
  1872. ; Enables or disables opcode caching in shared memory.
    - ?0 |. A# o1 V2 W! x
  1873. ;opcache.file_cache_only=04 K! \4 u! X/ w8 T* G# v# S

  1874. 5 i* f# G( R2 N1 J, K0 s! R6 s
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    & i% G% V- A% i1 Q! h7 o$ u
  1876. ;opcache.file_cache_consistency_checks=1
    - C9 s* ?% w6 h( v# W: Z

  1877. - ?! V# [$ u& `& X8 l" \& I9 g) q
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to' Y% E8 o; {! \4 E
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    2 s7 i" p$ I. s  ?* q& y) Q; G6 q
  1880. ; cache is required.7 f8 V0 p' f2 O
  1881. ;opcache.file_cache_fallback=1
    $ d4 V* r: B/ J
  1882. % @9 p( N1 Y. [6 Y/ s
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    9 v7 T4 f  i0 U/ I) L
  1884. ; This should improve performance, but requires appropriate OS configuration.
    , \' V) P+ m; j$ P& E5 d. J; E- H0 _+ [
  1885. ;opcache.huge_code_pages=16 Y. C3 Q3 j% v! \( A

  1886.   f  V1 [3 l; T3 H) R0 F
  1887. ; Validate cached file permissions.' V+ Q. g+ w: o2 V- @3 F2 y/ q/ A
  1888. ; opcache.validate_permission=00 q! q- \; U- _7 Y# K% P. h

  1889. $ j  Z9 S- k9 o( L& L: Q% Y
  1890. ; Prevent name collisions in chroot'ed environment.. `+ ?& b+ ?5 z  d1 ]7 r
  1891. ; opcache.validate_root=0
    , l9 C) A) |. H- Z
  1892. * A1 ]1 l1 H' [
  1893. [curl]
    # `# S7 c4 M) F
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; ]/ L  t2 a8 A
  1895. ; absolute path.8 w* `* c" r, B( S$ R! [$ r+ F  d6 p
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) `3 a1 q1 S' f# G) b) y: L

  1897. . h  g3 k3 }' \" u
  1898. [openssl]
    7 A5 t: D1 w% a2 G6 a
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' R' h2 J7 ], Y! ^
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should4 E" ^" m3 k2 f, u; J% w! e
  1901. ; not specify a value for this directive as PHP will attempt to use the4 y. V" L8 G* E" H
  1902. ; OS-managed cert stores in its absence. If specified, this value may still& P2 F4 w  N& m
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context  p3 C4 W8 A; f$ r. A& z
  1904. ; option.4 Y  Z! J) g! v- F
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% A' n( f* n8 P7 @

  1906.   M. @8 h* a4 ]
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    8 h- g/ g' w9 ^: H( C; Z
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    1 O9 W4 S( U6 C+ }( @" k
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    , l6 s" U; x% V
  1910. ; Most users should not specify a value for this directive as PHP will
    % ]; {; s7 c7 Z9 h2 d. N
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,# e% x# |  K! V1 d
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    7 I) l5 ^0 [/ c7 U/ S
  1913. ; SSL stream context option.
      p' K! Y( ^; ^/ q
  1914. ;openssl.capath=  x0 V7 C+ |- g) g: {, @
  1915. 7 ~( c- B6 n2 u6 y# K8 O" L
  1916. ; Local Variables:1 Q4 W2 M- I+ u- V9 @; R- x
  1917. ; tab-width: 4
    2 E: C$ v3 i. P: O: j
  1918. ; End:4 @4 N, k0 B+ S% t' ~/ Y

  1919. ' z. |( I, x. ]
  1920. ;eaccelerator
    + F- y2 G  l( X; [- R
  1921. : {3 T9 o7 T! D. z. c8 C
  1922. ;ionCube* x" q7 }' k) r6 [. F# d+ B
  1923. : L8 m0 t* L9 N- |' b  T+ ?& T$ k7 h
  1924. ;opcache
    1 K. ^9 R: g( `. x" w0 b$ }

  1925. - m, l  l9 t3 z- v' ^9 Q# T6 V* P
  1926. [Zend ZendGuard Loader]
    % \, t" O, N& ]; \5 p
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.9 }; ~* g' f4 C
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so6 ^  i, k; Q% r( Z5 e$ H# j
  1929. ;zend_loader.enable=16 u, ^7 L+ p- S) G8 C; m
  1930. ;zend_loader.disable_licensing=0
    8 x. o: ?4 W: }4 s. v2 Z$ {& F0 V
  1931. ;zend_loader.obfuscation_level_support=3
    , G0 U; l9 L1 @9 a- a. L8 w
  1932. ;zend_loader.license_path=8 }7 h+ J+ _, M  D3 n2 `
  1933. % [7 `" X1 S1 a
  1934. ;xcache' p/ u* f; ]: M7 Z) @' I# `" v
  1935. ( c; \3 n* Y. B: T" Z3 R7 r  o
复制代码
/ ^  g- e$ O3 z) ^
/ {7 o" l. e( f- K$ u1 J2 ~3 g
* ^; F) w8 y- X4 f# c+ Z
6 D1 c" P$ Z) n+ a0 }$ u# ^
: t* g6 i! u% z( m; ]9 v! o
! G6 h- T2 I) _6 k, m! K2 B
0 c% e' [* I' H# m  m
PHP5.6版本原始设置
0 h) U! S/ z1 T+ j4 f* V# g3 N6 c- q6 R" J6 U
  1. [PHP]
    3 v% u; l- d! \& {' E1 E; l2 }
  2. 3 X( h7 J0 T! w" g( b4 w
  3. ;;;;;;;;;;;;;;;;;;;; p1 ?$ N) |$ g
  4. ; About php.ini   ;
    / i2 V" g, P$ {8 s" d/ R# f* q. e
  5. ;;;;;;;;;;;;;;;;;;;4 o/ s+ E9 E$ {
  6. ; PHP's initialization file, generally called php.ini, is responsible for# Q+ c; o) [/ L* }6 _2 k% n
  7. ; configuring many of the aspects of PHP's behavior.
    9 X, z8 R' B+ v5 t8 e$ x
  8. ; L5 J1 v6 E& E
  9. ; PHP attempts to find and load this configuration from a number of locations.$ v) r! t& I: ]9 h6 B* p
  10. ; The following is a summary of its search order:
    * V8 ^8 L& D; l( ~
  11. ; 1. SAPI module specific location.7 k$ e9 S3 J" a2 g0 u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 V- t% s% d; `3 e: x
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
      c' r' l4 b1 n5 V( U
  14. ; 4. Current working directory (except CLI)  F5 t/ }3 Y( Z3 l4 w: {/ z4 V
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 s! Z# i5 ?# X; e! x! l+ c
  16. ; (otherwise in Windows)
    * t+ F+ j! [  z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    0 ]; D% F" y+ c% T- w% T
  18. ; Windows directory (C:\windows or C:\winnt)
      g+ @5 t7 U2 Q& _0 p: r) P
  19. ; See the PHP docs for more specific information.4 g9 Y. @: X$ E+ W& _; t5 K" F$ `; q" Y
  20. ; http://php.net/configuration.file  b( U9 r4 A4 ], B5 o
  21. 7 G* _- u5 q. m; |- a# R3 g( U
  22. ; The syntax of the file is extremely simple.  Whitespace and lines/ a0 W. M9 ~/ K% S  {) R
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - z6 l' }# A) m
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    3 d# Y$ I3 A: i* I& E3 i
  25. ; they might mean something in the future.
    . t1 y" a2 w4 i' F! _

  26. # ]$ @0 ]  z+ ?! Z
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 E# r3 a9 c! b. {# S" E& W# A) c
  28. ; apply to PHP files in the /www/mysite directory.  Directives$ i7 G; d6 m; v  w& X7 x
  29. ; following the section heading [HOST=www.example.com] only apply to
    - N9 _9 C& n( T2 D3 i
  30. ; PHP files served from www.example.com.  Directives set in these* x9 t! C* d8 d/ w5 w3 B
  31. ; special sections cannot be overridden by user-defined INI files or
    - b) I. ]% z  t/ C- g
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under, T' B1 A. {" V+ a- j
  33. ; CGI/FastCGI.
    2 M8 `3 K" P8 V/ r7 V: q1 e& o7 L7 H
  34. ; http://php.net/ini.sections; @& L- U" v) W8 m( J9 w* k
  35. 9 ^5 n" d9 H' m8 }( Z
  36. ; Directives are specified using the following syntax:
    6 n6 ]( p2 s* X& t+ ]2 g
  37. ; directive = value% O6 b3 x; k+ w. b/ X
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 ~& Y6 R! z8 L, h! W" k! _
  39. ; Directives are variables used to configure PHP or PHP extensions.
    & F2 p" U$ `; r' t5 w4 D. G8 F
  40. ; There is no name validation.  If PHP can't find an expected
    # P5 V: J# I! v( z1 ?2 N: k
  41. ; directive because it is not set or is mistyped, a default value will be used.
    9 |0 [- L. K9 x7 }# |8 V" ]8 O

  42. 0 x7 X5 Q* b' r/ p* d" c& N4 g' g
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 _. w8 X6 U# T7 ?$ a& g: i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ) g6 T3 s4 Q5 D  K& ]  t
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    5 W  d6 n  D+ ^" P4 Z. R
  46. ; previously set variable or directive (e.g. ${foo})$ |8 w* N+ n" S+ n
  47. : z( H  W$ f# S6 Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:, u+ E( }$ N  h" y9 D
  49. ; |  bitwise OR. f9 J6 F0 E' p9 u9 X
  50. ; ^  bitwise XOR
    & @- P5 S2 f& {
  51. ; &  bitwise AND; M+ m% G/ n- G, q9 T5 a' j8 f
  52. ; ~  bitwise NOT& D; k; M$ H2 Q! @) [
  53. ; !  boolean NOT
    ( v8 _$ L: C; H% a6 P

  54. ! `* M/ L( p! y9 f+ Z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes./ i6 t( L4 M4 G$ J( T; _
  56. ; They can be turned off using the values 0, Off, False or No.
    , O& h! E! q( J9 f' ]: Y
  57. 8 g  ^0 b" ]5 ?# Y$ G5 p3 k
  58. ; An empty string can be denoted by simply not writing anything after the equal5 Q$ k1 S9 N, C5 w- a9 h$ S
  59. ; sign, or by using the None keyword:
    $ X$ L! t, N: [9 N; s
  60. $ q# L/ Z) [7 U! ]7 j0 F  p2 U
  61. ;  foo =         ; sets foo to an empty string% ]; }  ^  H+ d* ?, [7 o2 O# l
  62. ;  foo = None    ; sets foo to an empty string
    + c& _. Y9 V. E- c( M* [
  63. ;  foo = "None"  ; sets foo to the string 'None'6 z4 o. _2 D$ c/ J) z( O$ }0 U

  64. - x7 }. ?2 V& X& q+ s& g: ?
  65. ; If you use constants in your value, and these constants belong to a
    7 V1 l1 {) @  w! k3 P0 p; J. N! M
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),7 W: l/ R- c( t0 m# [' k. N
  67. ; you may only use these constants *after* the line that loads the extension.
    / E; k+ ?: f. f- T( Q8 B( {# O

  68. 6 Z9 `+ t1 H3 P1 U' s; I+ w" K$ R
  69. ;;;;;;;;;;;;;;;;;;;9 Q8 w; i5 X$ J; j) q
  70. ; About this file ;
    % E" \. F4 r5 O- n. |$ u  X  s4 m) e
  71. ;;;;;;;;;;;;;;;;;;;
    9 B% T8 X1 O7 h7 M- G" O$ _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . H  I- N6 m; s( [( q2 K" d- \, s8 N
  73. ; in production environments and one that is recommended to be used in
    / ?$ a5 R. w/ Q/ ]9 t
  74. ; development environments.- H9 Z% Y) i7 ?
  75. . b, q9 h* q8 n5 |( H% D
  76. ; php.ini-production contains settings which hold security, performance and
    4 b6 c7 ?5 }; @! H. r# ^
  77. ; best practices at its core. But please be aware, these settings may break
    0 m6 W8 x; F4 P! k0 D2 ?$ l* t: k! t. M
  78. ; compatibility with older or less security conscience applications. We' d5 F- \* C7 o; i: Q
  79. ; recommending using the production ini in production and testing environments.9 M( ]' m6 |- t) F" Y
  80. / Z: e# I0 H5 p# _: s- w
  81. ; php.ini-development is very similar to its production variant, except it is
    $ C; p  p9 \, h# a3 [
  82. ; much more verbose when it comes to errors. We recommend using the: x. l; S1 z$ j
  83. ; development version only in development environments, as errors shown to! c, F7 O' ^1 }7 l! g9 G% C
  84. ; application users can inadvertently leak otherwise secure information.
    5 @4 \  H9 N. {; }+ N

  85. / Z& ^7 `. A" ]1 H
  86. ; This is php.ini-production INI file.
    ( t) @" X, x6 f8 M5 @
  87. $ a  N  @* w# j& i+ I
  88. ;;;;;;;;;;;;;;;;;;;
    ! a4 M* U- M0 l$ D0 D$ l
  89. ; Quick Reference ;
    ) N. @# M  `7 @7 i& X
  90. ;;;;;;;;;;;;;;;;;;;% ]2 n! r9 B' M: s) d& x$ K
  91. ; The following are all the settings which are different in either the production
    + {7 [+ F' K* @+ N$ g) W
  92. ; or development versions of the INIs with respect to PHP's default behavior.* E+ G7 k! V+ l' X$ ^, c/ t. q. G
  93. ; Please see the actual settings later in the document for more details as to why, v# W6 M- ~9 l& O' Z# ?0 U
  94. ; we recommend these changes in PHP's behavior.
    . h' e; o/ ?7 a4 K9 S; s

  95. $ c+ S1 e! r6 |! G* w
  96. ; display_errors# L' {: G; a5 f+ B% c+ z. m
  97. ;   Default Value: On  `/ `0 ^7 a8 |
  98. ;   Development Value: On
    1 r. K( g8 a. V$ R* C! |# M8 I
  99. ;   Production Value: Off
    0 T, f  o5 S1 Q# I2 r1 r, g( k
  100. ) T0 H7 ~9 D6 f) p; L. X0 n1 f
  101. ; display_startup_errors
    8 n7 T! K% d% E) |2 a
  102. ;   Default Value: Off  K: t8 H/ k0 ]3 n9 p0 j1 Z
  103. ;   Development Value: On9 W6 T0 L$ R+ a, L/ @! s* p  Z4 V
  104. ;   Production Value: Off3 M4 P) W4 D8 V" R: @0 X6 R
  105.   T* B) `2 |$ u3 h6 x
  106. ; error_reporting' Y. i0 A  O/ v% X- r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% c# M" p" _, g
  108. ;   Development Value: E_ALL
    0 ~, Z, w, A% I% q' \! t3 M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    5 L; J9 U4 U, j2 t' h* A
  110. & f. m7 e$ ^2 m% q& N- k# W5 [3 _! v* M
  111. ; html_errors* V' _* L+ M& N2 j* F# D
  112. ;   Default Value: On% z  G, y9 ]' D) M8 w: B, u. P
  113. ;   Development Value: On
    + \6 Z3 ]) W) _: {9 I3 y4 }
  114. ;   Production value: On  B0 F% x" c- I' @- O8 _; o
  115. 5 }8 X# `2 i8 ~; g3 M
  116. ; log_errors
    4 ]+ ]! M6 a9 G9 ^4 y' d- x; x" C
  117. ;   Default Value: Off: N' n* z* S, ?! t, p  _* T
  118. ;   Development Value: On8 `4 k' [" v" h( p
  119. ;   Production Value: On. a) v4 e/ ?& x7 L1 q: v# P

  120. 5 R; N, X: H' G. e6 |
  121. ; max_input_time1 H, g; X7 z& i8 s) G
  122. ;   Default Value: -1 (Unlimited)9 }4 S9 A! F" @) v
  123. ;   Development Value: 60 (60 seconds)- `- U0 [& I) }' a1 V0 [
  124. ;   Production Value: 60 (60 seconds)( d1 J& H8 v/ E! G3 ^0 _

  125. ) l. q2 N) ~- o- U0 \, m' T' R3 U
  126. ; output_buffering
    7 h' A+ \4 G7 ~7 @( G( K- L
  127. ;   Default Value: Off/ ^3 t5 F" _8 K; X$ T/ T
  128. ;   Development Value: 4096, _8 L/ M  j1 @9 L; X: o
  129. ;   Production Value: 4096/ O4 J) [9 }* }/ n8 L
  130. ) D9 Z& E/ O. F/ q  t
  131. ; register_argc_argv. j5 x( Z' m' N! @5 [# n+ I
  132. ;   Default Value: On
    % U& [$ e) y9 ~
  133. ;   Development Value: Off
    4 n! a$ c! p4 H. Q5 V8 ^
  134. ;   Production Value: Off
    ( d& Y" e! L9 _

  135. & i$ z8 \8 z, h% Q3 L
  136. ; request_order% |4 i& M8 n' R& j4 G: Y
  137. ;   Default Value: None9 A/ h2 N% u; A, O1 ?$ P  U
  138. ;   Development Value: "GP"2 x" J' L0 Y& n" Z$ T- _+ ~3 I5 D
  139. ;   Production Value: "GP"
    ! A) j' I9 g- H$ T$ ~& K. }+ L

  140. 3 J) L% S+ x' C) N# A8 j' }/ i
  141. ; session.gc_divisor
      I) v8 u+ w" c) W
  142. ;   Default Value: 100! K# r; {+ `+ e6 K6 Z" f; z
  143. ;   Development Value: 10005 K8 [0 M. A$ `* `( B: ?& z6 G* \
  144. ;   Production Value: 1000
    $ i6 L  r0 t* \0 d3 A! x7 K! t

  145. 2 w; H7 q$ z7 U" K9 \3 x
  146. ; session.hash_bits_per_character( o  [, T, t2 O- x4 S
  147. ;   Default Value: 4
    & Y! E! n9 @; W6 z. d8 X$ p
  148. ;   Development Value: 53 U0 V! O# j0 i8 O/ g4 D
  149. ;   Production Value: 5  O( D+ A( g' u1 G
  150. 7 }" u! }3 _  Q% x/ `& m
  151. ; short_open_tag
      Z4 G7 a# U; r
  152. ;   Default Value: On# l! v9 e4 b9 V- D' h0 y
  153. ;   Development Value: Off
    & R% Q, }# r7 e4 P2 J# a
  154. ;   Production Value: Off8 K0 o( S5 p! @) v7 {$ E, r$ b

  155. % E8 @% n* m5 W; E$ g
  156. ; track_errors% w  b  ~7 b/ Z# Q$ J% ~
  157. ;   Default Value: Off
      s9 h% d4 Q7 s, m- c0 F1 L
  158. ;   Development Value: On  R+ h3 o0 U$ C$ s8 G0 _
  159. ;   Production Value: Off2 l: J  `% r: r- M0 D

  160.   s) P8 F* m3 n' Y4 j  s  B  {& \
  161. ; url_rewriter.tags
    ; \3 N5 R& Q$ k9 c( v" j& Y1 q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  Z& o8 a; H4 G
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - |3 }- \! A3 w- |# Z5 q' E# S
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", m7 \4 z! R" A& q& [" \
  165. . g0 T* D+ U4 |( s" t1 d
  166. ; variables_order# |+ K" b' Y% {+ k
  167. ;   Default Value: "EGPCS"
    8 `) B" P/ E- z$ n
  168. ;   Development Value: "GPCS"
    6 K2 \9 Q2 n6 J( X
  169. ;   Production Value: "GPCS"  a2 ]- t  m" e, c
  170. + Z5 W/ z# J8 _
  171. ;;;;;;;;;;;;;;;;;;;;2 E, l, ?: w; K9 L! W
  172. ; php.ini Options  ;( P$ x( R$ Y6 o0 Z8 v
  173. ;;;;;;;;;;;;;;;;;;;;
    ) K/ S  w; t7 N9 }
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini") |: Y  ~( o; @8 e1 D8 A; H
  175. ;user_ini.filename = ".user.ini"
    ( r) I4 I4 ~* ]5 Z

  176. # u. L) B& d7 {# z" J
  177. ; To disable this feature set this option to empty value- d/ z$ y8 E+ F% q2 D) Q) w, j
  178. ;user_ini.filename =! o7 `& t" I, q# D: t5 |8 O# \
  179. 8 t, a( u% y4 h  o2 K% z8 c
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & L, N) A# e) U  t5 P
  181. ;user_ini.cache_ttl = 300
    + r/ A1 H( e0 M3 ^( j2 |: u

  182. ; a8 l( S- r! i4 f* }: ~. R, [0 R
  183. ;;;;;;;;;;;;;;;;;;;;
    # M& x' n! I2 K
  184. ; Language Options ;
    1 f. d# D8 L4 @6 N
  185. ;;;;;;;;;;;;;;;;;;;;5 @0 D* S( ^$ i, t: T& @6 j
  186. 3 n( O6 Y: E: B& c4 K
  187. ; Enable the PHP scripting language engine under Apache.
    5 Y; Z6 L/ i! u+ k$ y* ?/ |
  188. ; http://php.net/engine
    : ?: {, w% s% C1 Z
  189. engine = On
    - S/ Q$ q  ]0 X. t. j8 b

  190. ; N; o% q5 N+ H- M+ o
  191. ; This directive determines whether or not PHP will recognize code between
    $ Q6 F; l+ g5 F& U
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 `) o3 x# z- T+ C) M7 c
  193. ; generally recommended that <?php and ?> should be used and that this feature: y& r! s8 M+ f7 V
  194. ; should be disabled, as enabling it may result in issues when generating XML. v$ I: s- E+ [0 Y& f* s$ i
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 B; l) d+ c/ ~) I4 x! l
  196. ; Note that this directive does not control the <?= shorthand tag, which can be# Y$ M) c4 F1 f
  197. ; used regardless of this directive.2 c. t. x, J8 t7 o: p& V5 H
  198. ; Default Value: On, z7 b0 a2 ?' Z; A. j
  199. ; Development Value: Off: y) E: u& f  a6 @- [
  200. ; Production Value: Off
    ' \6 q: r& N) V0 R2 f$ F% o
  201. ; http://php.net/short-open-tag
    - u+ L1 P, Q: ?/ a8 n
  202. short_open_tag = On
    , c' b% G" T* s' ?, x2 Q0 p
  203. 8 B2 q; S3 g' d* ~
  204. ; Allow ASP-style <% %> tags.
    , g5 T  W3 s% G: C3 P, k
  205. ; http://php.net/asp-tags; S' j$ l6 p0 N* ^3 E
  206. asp_tags = Off$ e* K4 H2 \% z, j. m

  207. % m3 K7 o1 t3 D% x8 x% d- I$ B
  208. ; The number of significant digits displayed in floating point numbers.
    6 Y! @' K: B- P3 `: T
  209. ; http://php.net/precision+ A6 V8 B. K: ]0 X1 y
  210. precision = 14: p; V3 U% N. ~

  211. 3 ]# Q; v  Y4 v/ |& n
  212. ; Output buffering is a mechanism for controlling how much output data5 U1 O1 z; k: v. Y' R3 W
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' z) X  i, |* Y0 ^5 k8 Y6 C8 ^
  214. ; data to the client. If your application's output exceeds this setting, PHP3 e  o2 g- Q+ m
  215. ; will send that data in chunks of roughly the size you specify.
    4 ~8 ~' S5 n  J0 q: |2 X1 J
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    : f5 B6 s# ]: P+ o/ [. R
  217. ; interesting side-effects depending on your application and web server.! H. \# g/ n! e5 }
  218. ; You may be able to send headers and cookies after you've already sent output" q- b8 f; {* Y. N' p
  219. ; through print or echo. You also may see performance benefits if your server is
    % o2 W' k: I* K+ c1 y0 V
  220. ; emitting less packets due to buffered output versus PHP streaming the output. g4 W* \2 I  `
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance9 K7 |- W& c% Z% h4 y
  222. ; reasons.5 [* w  y" ^0 k, f$ E! f! h
  223. ; Note: Output buffering can also be controlled via Output Buffering Control1 y% f% ]' L% w1 j5 i) c- i
  224. ;   functions.
    + ]! T9 L* t2 t& [3 e
  225. ; Possible Values:
    - R! E0 M  J/ t- d: {7 P. Q' p
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    : x6 r0 e% Z8 ]5 K
  227. ;   Off = Disabled3 A) B' a$ C4 j* ]( J$ c" G+ a
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.! n2 w& a! J& f, S& X
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : G9 A' S3 R0 h8 R1 G1 f
  230. ; Default Value: Off8 r: T% y: U3 x; o' ~& E4 b
  231. ; Development Value: 40961 V+ ]) `2 K2 B( d3 D' r
  232. ; Production Value: 4096
    5 u& |) W/ d! D
  233. ; http://php.net/output-buffering
      V1 N0 ^" e$ A+ ~( ]
  234. output_buffering = 40964 }" z4 E2 J- E; s4 E1 Q

  235. / ]; \0 P, n/ A) z/ f
  236. ; You can redirect all of the output of your scripts to a function.  For1 U% {6 R1 X4 r0 E% g  ]
  237. ; example, if you set output_handler to "mb_output_handler", character0 D, S% r6 {" `6 P# P. ?
  238. ; encoding will be transparently converted to the specified encoding.
    - B0 U: \3 S+ Y* l2 i, h8 J
  239. ; Setting any output handler automatically turns on output buffering.  i0 F  ^# B- l: Q* R
  240. ; Note: People who wrote portable scripts should not depend on this ini4 K" R4 T7 {% Y% h( V" W
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    5 z: ?, ]* d, L: j) L
  242. ;   Using this ini directive may cause problems unless you know what script8 w0 u3 G9 O: w
  243. ;   is doing.
    8 k6 R6 S$ J& M, h6 s# A
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; |8 q0 [7 i  `5 h5 y  n- X
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".4 S# `% t. D3 u( q' D) Y
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    5 A# l' h4 J2 w9 F0 m6 W% K1 h
  247. ;   Instead you must use zlib.output_handler.
    # I- p$ e+ P& X/ q6 V$ [( b# Y
  248. ; http://php.net/output-handler& J' b3 e5 ]$ ]. b) y' f$ q* ~9 l$ Q
  249. ;output_handler =
    2 X# Y: W7 ~. S: I- j

  250. * E; `/ ?& @8 E9 B) I
  251. ; Transparent output compression using the zlib library. F" T% l+ U( U/ ]: _$ a
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size( d6 X: ~( u+ F+ A$ }
  253. ; to be used for compression (default is 4KB)# ?$ X4 e) O: |, w* K
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' B2 O/ L3 t; o' B
  255. ;   outputs chunks that are few hundreds bytes each as a result of9 {: O5 y$ g( ?* M
  256. ;   compression. If you prefer a larger chunk size for better
    $ D; r: s% {1 a; J- ~
  257. ;   performance, enable output_buffering in addition.6 t( V& e" [; l
  258. ; Note: You need to use zlib.output_handler instead of the standard
    / C; z; f) k, r0 n
  259. ;   output_handler, or otherwise the output will be corrupted.
    2 @6 a( }( e/ @* P6 A
  260. ; http://php.net/zlib.output-compression+ ?7 t) ?3 G( \. i/ h
  261. zlib.output_compression = Off4 U* Z) E) O- g9 b# Z
  262. , c* X1 F5 W* j
  263. ; http://php.net/zlib.output-compression-level1 |$ k7 w- O9 Z+ U" ^0 ?+ {
  264. ;zlib.output_compression_level = -1
    $ t5 ~# x3 R6 C# ~
  265. ( K5 C. H  ~7 p7 s7 U% |7 `
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ; g2 |% h' ^; d. |% q" }
  267. ; is activated here. This setting does the same as output_handler but in6 ^5 f" q+ l! _
  268. ; a different order.
    2 x9 w- i6 k2 p$ @
  269. ; http://php.net/zlib.output-handler* ]; ]' m; ~- t! x- ]- H1 K
  270. ;zlib.output_handler =
    + ~9 ]+ x- `" i1 H% _

  271. * Y5 E* ]% b  t* o, ~
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ! X+ O$ O+ C% i+ I  d) M
  273. ; automatically after every output block.  This is equivalent to calling the5 B9 d4 P( J4 X: m& L
  274. ; PHP function flush() after each and every call to print() or echo() and each
    * B8 v. m0 h7 z1 B( ?7 O: p
  275. ; and every HTML block.  Turning this option on has serious performance1 w- o4 f9 y* S6 Z; t9 D7 u/ o
  276. ; implications and is generally recommended for debugging purposes only.
    0 N+ {# K; G8 H* b4 R2 K) G  B
  277. ; http://php.net/implicit-flush
    * X5 K) R1 B4 V  k0 O5 f& O
  278. ; Note: This directive is hardcoded to On for the CLI SAPI; C" Z& K( i# m
  279. implicit_flush = Off/ p2 l" [3 L2 [- @! Y

  280. * O! Z+ L8 o! b$ u  d
  281. ; The unserialize callback function will be called (with the undefined class'8 Y5 E/ D) |5 d0 U' d. Q
  282. ; name as parameter), if the unserializer finds an undefined class
    8 u: n9 [- a1 o
  283. ; which should be instantiated. A warning appears if the specified function is$ [. u, a$ }: a7 V- b
  284. ; not defined, or if the function doesn't include/implement the missing class.
    . Z' G' ?4 ?9 L6 o2 P& c5 \
  285. ; So only set this entry, if you really want to implement such a/ C  r6 e, Y- }1 B" e! u* K3 p  {
  286. ; callback-function.$ f+ a1 @  }# D" X  f7 ?% ^) e4 \
  287. unserialize_callback_func =* A2 P7 B0 L. a! K) q; F; |

  288. , G5 I2 q& t- w. t: X0 Q' G9 U8 c
  289. ; When floats & doubles are serialized store serialize_precision significant
    5 v% N  o" |( d! P
  290. ; digits after the floating point. The default value ensures that when floats
    / k5 _5 a  j' X' z: u* [) A
  291. ; are decoded with unserialize, the data will remain the same.
    ' ~9 Z  a! }/ Z5 y% Q
  292. serialize_precision = 179 @# |" s' g1 @: Z2 x2 O4 A

  293. : Y* V/ H7 ~! e; [0 @# I
  294. ; open_basedir, if set, limits all file operations to the defined directory
    5 C4 w5 ^+ ?/ T8 x7 k  M3 M0 _4 R
  295. ; and below.  This directive makes most sense if used in a per-directory
    % @) A) a; @( A, H
  296. ; or per-virtualhost web server configuration file.9 P/ E3 i- P. [) C* [
  297. ; http://php.net/open-basedir7 Q% ^0 ~- P0 o
  298. ;open_basedir =' o3 j9 b) P5 A. x- o

  299. " C% c; X/ u0 y' t7 U( t
  300. ; This directive allows you to disable certain functions for security reasons., y3 x8 K% \/ N/ S! B
  301. ; It receives a comma-delimited list of function names.) _6 b* k1 \6 i* w
  302. ; http://php.net/disable-functions
    9 a, h# S6 Q1 Z& x8 O5 T; e
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    # X6 {# e# q$ M' W8 k# T
  304. ! y4 q* d/ i8 z. @& {1 }0 Z
  305. ; This directive allows you to disable certain classes for security reasons.
    $ c' Y. D. h! r4 s
  306. ; It receives a comma-delimited list of class names.
    7 i/ [4 A# e/ G/ Q3 X: X- Z
  307. ; http://php.net/disable-classes
    / R( C( ?2 Q" Z* {
  308. disable_classes =
    : q: C5 W4 C6 \; ?
  309. : {7 j4 \6 `4 i
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / [, G1 q% }! F# [* b
  311. ; <span style="color: ???????"> would work.
    $ e# R0 R: R0 x( `- N% `
  312. ; http://php.net/syntax-highlighting
    8 t8 |* ~- ]9 X
  313. ;highlight.string  = #DD0000
    " q$ B1 |  E! o  l( ^- i
  314. ;highlight.comment = #FF9900. h. v; g! L6 F# a$ r
  315. ;highlight.keyword = #007700
    2 F0 V5 _" k- [+ F/ n% V
  316. ;highlight.default = #0000BB
    9 d6 |$ C: l8 Q; ~5 Q, f
  317. ;highlight.html    = #0000005 k) a# h  F  c. D
  318. ; H& \% h  g! {+ N8 E
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    3 P) @5 t2 w5 C6 v0 I6 J  a
  320. ; the request. Consider enabling it if executing long requests, which may end up% o1 q/ Y% _4 j2 Y* Y) H  l3 ~
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    , ~3 H" r5 P# S! w* g
  322. ; is to disable this feature.) A2 _( [! s# z% }: I
  323. ; http://php.net/ignore-user-abort
    - x# K; \2 l8 e+ O8 J
  324. ;ignore_user_abort = On
    ; h6 k% C  _) {* H. s5 _

  325. " w6 C! u/ I' N2 \
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    / a) E; I2 B( _6 X6 y  j% b
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    - Z# ?; m+ b0 C0 L  Q
  328. ; the file operations performed.! K( X( ~5 Q8 e  n* _& y
  329. ; http://php.net/realpath-cache-size
    3 p& Z/ K! m/ S3 _3 f# y8 m
  330. ;realpath_cache_size = 16k) n! i7 K. X) k! ]! o) j& M
  331. 1 r" ]6 Q8 D8 f
  332. ; Duration of time, in seconds for which to cache realpath information for a given, s! R. m) F$ R* v! d* d
  333. ; file or directory. For systems with rarely changing files, consider increasing this' ?! [0 m- S4 l7 Q6 G2 T4 Y6 h4 B
  334. ; value./ D) Z/ _8 U6 o' q
  335. ; http://php.net/realpath-cache-ttl
    * @8 n. O! r+ O+ G  b
  336. ;realpath_cache_ttl = 120, c3 O0 U( X: g% P2 H0 Z5 r0 b
  337. - [2 D: W# }) t: s7 N! T4 H7 L
  338. ; Enables or disables the circular reference collector.$ z' f4 O& S0 l
  339. ; http://php.net/zend.enable-gc9 U" X3 B$ j  Q: z. T2 i
  340. zend.enable_gc = On/ B/ B( Q8 R3 D. }; Y6 p

  341. 5 Y1 g! o4 |. T. z
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ' y( ]* n5 v  n
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / i. p5 P5 [6 w" s. Q
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    # W& X3 T5 w7 q$ r' y
  345. ; Default: Off4 U$ _1 W# t1 P( ?8 H. r; I
  346. ;zend.multibyte = Off
    4 ~* M7 \! f6 ~# ]
  347.   V9 H1 h' l) f! A: W0 `
  348. ; Allows to set the default encoding for the scripts.  This value will be used) c8 I( b! \& r4 X
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.3 m, i+ D! L) m( k  Z
  350. ; Only affects if zend.multibyte is set.
    * A" R3 B8 ?9 p5 T7 P
  351. ; Default: ""
    3 Q% y: K( l. h( n
  352. ;zend.script_encoding =' B! Y8 P# q& f4 Q1 f
  353. 3 G. M% ]* z) t+ c* Q( ?9 B
  354. ;;;;;;;;;;;;;;;;;
    $ Y" x4 B7 e2 L; ]& }, `
  355. ; Miscellaneous ;
    3 n* ]( u. o/ O8 D7 ?6 M0 }0 I
  356. ;;;;;;;;;;;;;;;;;8 f. @8 M5 B3 L) w5 C7 X
  357.   Z7 J( L' Z; u8 X5 q, O2 O$ R/ E
  358. ; Decides whether PHP may expose the fact that it is installed on the server
      h% [% e( w4 D9 e7 Z( z8 ^
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ; I1 m: O+ R5 ], ]/ n
  360. ; threat in any way, but it makes it possible to determine whether you use PHP& _- k" P! a, N. C
  361. ; on your server or not.
    8 L5 a2 q& U3 H+ B
  362. ; http://php.net/expose-php$ W- @8 v0 _7 Y5 `) U' {- }
  363. expose_php = On
    * ^) E" Y) B& C/ I+ @. S

  364. 1 v0 P9 Z$ t* _  t9 c( e+ r
  365. ;;;;;;;;;;;;;;;;;;;5 Z( J1 [! A. z- l; P4 j3 F
  366. ; Resource Limits ;
    # O% V/ [' M+ H! ?2 w: w
  367. ;;;;;;;;;;;;;;;;;;;
    ) G, l9 k0 d1 g* v1 L" z

  368. : W* r! ~, B8 Q7 p
  369. ; Maximum execution time of each script, in seconds
    % @5 x0 L/ [0 Y7 z: b. M$ t
  370. ; http://php.net/max-execution-time
    ; R  H, R( E( W4 o  j7 O. X
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( _+ U1 G7 x4 g8 g7 u) T
  372. max_execution_time = 300) _) q& U# }+ ^3 q3 g" j

  373.   W! t1 |% t4 y) L
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    % d* [! ?5 ~+ ~8 _
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ( d. r7 G0 Y1 K4 i
  376. ; long running scripts.) w1 }0 ?2 [; ?: r# T
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % ?. b1 D  a- }  J8 `
  378. ; Default Value: -1 (Unlimited)8 @+ W% w! V; `7 i* J
  379. ; Development Value: 60 (60 seconds)
    - T1 Q- ^- K" d7 z7 l
  380. ; Production Value: 60 (60 seconds)! v( p) `+ @% E5 `/ i) p6 y
  381. ; http://php.net/max-input-time  W: j3 d& T" m1 i, D, A& H3 a
  382. max_input_time = 60
    % S3 B- T* n! H) j& i9 L
  383. 5 i% Z3 j9 T( v# a
  384. ; Maximum input variable nesting level
    9 x$ D7 E$ X; M; b0 c3 F
  385. ; http://php.net/max-input-nesting-level% A1 g. X% m; l* m. N
  386. ;max_input_nesting_level = 646 U8 X2 e* v8 h

  387. - N/ ^4 I2 i( {0 M
  388. ; How many GET/POST/COOKIE input variables may be accepted6 _, w0 b8 `0 [! i" }+ ]1 d& C
  389. ; max_input_vars = 1000  b: `. {3 y1 Y2 d" u) r2 c
  390. 1 ^9 `4 D  H$ }$ l0 K" b5 m( T
  391. ; Maximum amount of memory a script may consume (128MB). k; @# U* o2 h" J. ]# B
  392. ; http://php.net/memory-limit7 w* {5 r" C; O# t" H1 C5 }% J
  393. memory_limit = 128M" Z( ~1 W  g6 R( H

  394. . v. P1 b- A& _' |
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 Z! S4 }- [" ^- L
  396. ; Error handling and logging ;
    8 a/ C8 g8 B! B( x- `- b
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    & B, o: Q, X* |2 [+ {

  398. % S+ r" C/ b: {/ g% f
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    9 J: e. r( d8 o1 J/ C' @
  400. ; it to take action for. The recommended way of setting values for this
    # b' a2 z+ w) W' x6 q9 S
  401. ; directive is through the use of the error level constants and bitwise! d+ j, A; b4 `0 ?3 P1 o
  402. ; operators. The error level constants are below here for convenience as well as5 w1 c% Z$ f2 g" D
  403. ; some common settings and their meanings.
    , F  V" |. z. @) A' s
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ( f" w/ E+ s, ?+ R7 ]7 u$ j
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 Q/ z5 g$ S8 s& ^! n9 K  T0 c
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    5 c7 p4 ^" ~) }3 l0 h+ a% W
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    4 S: Q3 }! Z. |  @: \9 q. [: m
  408. ; resources complaining about best practices and coding standards. That's what  j4 _/ ?/ L  {9 h! w
  409. ; development servers and development settings are for.% @6 H: K. s1 p3 n
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    1 \; g- ~% U$ N2 E, b9 f) G2 J5 y+ _6 H4 n! p
  411. ; means it pretty much reports everything which is exactly what you want during
    / w# p7 j/ w1 v8 p7 ~  s
  412. ; development and early testing.# h: n" _9 V9 y5 g( d7 R
  413. ;
    * Q+ p- ^" H1 g0 s. H! M+ z3 Q% s1 L
  414. ; Error Level Constants:
    # o3 n: J; N' o2 e
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    * p" z% g7 Y' I: x6 u( C
  416. ; E_ERROR           - fatal run-time errors
    7 z5 d# J# _0 e9 C; K: s7 h2 B
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    5 F5 k- a3 L1 b7 ~/ J, l; q
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    - }' Q/ Y  g) x* K8 G0 i
  419. ; E_PARSE           - compile-time parse errors
    2 r: s8 G# q( V  ~8 y
  420. ; E_NOTICE          - run-time notices (these are warnings which often result0 q9 {( v' R' K) H0 S( ]
  421. ;                     from a bug in your code, but it's possible that it was
    # o; X. k# n; \! ?
  422. ;                     intentional (e.g., using an uninitialized variable and
    , M; G+ J! F7 j4 h: n/ C
  423. ;                     relying on the fact it is automatically initialized to an% W: x2 r* i1 ]5 V
  424. ;                     empty string)
    + G; L! u: E3 x& C7 q1 ^) s+ G* h. i
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    4 W3 C7 C) g5 @+ z
  426. ;                     to your code which will ensure the best interoperability$ e; P- F; x# v6 z8 a; g# a( I8 l
  427. ;                     and forward compatibility of your code( H! \+ C: x( u& ^
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup% x% i4 G1 e$ N$ r; e8 z, L$ I
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " F0 t* t& V. t# r0 c: p
  430. ;                     initial startup: R$ w7 k7 z' W7 I. E. C7 L
  431. ; E_COMPILE_ERROR   - fatal compile-time errors' ~' U/ w1 g+ |, \
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 f& E* g$ S. R  b  a* r
  433. ; E_USER_ERROR      - user-generated error message2 N9 l7 E& o  y- ~9 p) w
  434. ; E_USER_WARNING    - user-generated warning message
    $ y( w: @/ O5 ~4 u
  435. ; E_USER_NOTICE     - user-generated notice message
    8 @7 {4 J. u" S
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , k# b4 ~4 h* C" X1 q
  437. ;                     of PHP
    - ?6 z& E# n+ L% ^: d6 Q8 M3 q6 e
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ( O1 S6 h1 c4 L# t4 V
  439. ;$ ~6 a( }0 X6 l. H: T
  440. ; Common Values:
    9 H! k3 M6 C+ t) P$ g; y
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ U: G( F- w6 ~" I; ^3 {
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    3 ^) Y; F+ S- @7 Z8 d
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)3 P) A" C$ }3 u6 V" j7 K
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # T9 R/ W; D- z+ ~' h/ R
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 h3 U. y1 I& P& C6 V
  446. ; Development Value: E_ALL
    3 i" j  Y# B$ u# _
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, ]# _7 B3 j1 b8 u  g# e
  448. ; http://php.net/error-reporting2 O4 n2 i8 A4 e9 e
  449. error_reporting = E_ALL & ~E_NOTICE8 |. m$ D4 z8 [! E. V* w+ B
  450. 9 |6 c/ v% |9 R  F, G3 Z
  451. ; This directive controls whether or not and where PHP will output errors,: ?7 A- @" A0 j5 s1 x
  452. ; notices and warnings too. Error output is very useful during development, but
    " n7 `- B; \! f2 B5 C; l
  453. ; it could be very dangerous in production environments. Depending on the code
    , w+ Q7 E; s4 v4 J4 d8 S& f
  454. ; which is triggering the error, sensitive information could potentially leak
    , f2 C6 D' c- W/ h! S4 N
  455. ; out of your application such as database usernames and passwords or worse.
    # E/ G6 W" p4 A, v6 y( W( `# g, f1 d
  456. ; For production environments, we recommend logging errors rather than
    $ {/ F# \4 C0 M- M% Z% |# t8 P
  457. ; sending them to STDOUT.
    % c4 o4 U/ V  P0 K) c1 M
  458. ; Possible Values:
    ! f( |7 b' ~% f7 e/ E7 i
  459. ;   Off = Do not display any errors, m* `1 D, S& q1 d, p6 {& Y
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)* j5 h: V! o9 _$ i  d3 j) b
  461. ;   On or stdout = Display errors to STDOUT: _  `! h% y7 j0 e
  462. ; Default Value: On, f& S/ D+ }- T# @
  463. ; Development Value: On
    ; A2 p; Q0 T" U
  464. ; Production Value: Off
      n2 ~0 ?& z2 k9 W2 V
  465. ; http://php.net/display-errors7 E' z: B7 O. V$ q: U% W
  466. display_errors = On
    ! z: a. t, p7 N8 p# y
  467. 2 L- X: _: D3 K. t9 R7 G
  468. ; The display of errors which occur during PHP's startup sequence are handled
    . G7 F' J9 @6 B  b
  469. ; separately from display_errors. PHP's default behavior is to suppress those! ~3 [9 B# o! L8 b) a4 m+ j' D
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ' t" d% @# o) u7 r: s
  471. ; debugging configuration problems. We strongly recommend you
    9 l1 v3 J9 O: ?* P, V6 y! j
  472. ; set this to 'off' for production servers.
    . x: @6 Y: G8 Q$ K7 d5 o
  473. ; Default Value: Off. ]& M1 ]5 c4 `
  474. ; Development Value: On$ Z8 s% q) Z* p" h9 F; Q6 G
  475. ; Production Value: Off. W2 v3 k) U. }9 a( R
  476. ; http://php.net/display-startup-errors
    & Z( n* `% v* T3 J8 H4 [1 h% o
  477. display_startup_errors = Off$ T! i' H! H4 w3 E: H6 Y
  478. : a/ R. _% b1 _) N& ^
  479. ; Besides displaying errors, PHP can also log errors to locations such as a  b& S- n" c! C% u/ p& R
  480. ; server-specific log, STDERR, or a location specified by the error_log
    3 R+ Q/ L* y4 h' ~- D
  481. ; directive found below. While errors should not be displayed on productions
    / m3 \$ K# \/ F, Y- I
  482. ; servers they should still be monitored and logging is a great way to do that.6 |1 P1 Q- S5 _# n
  483. ; Default Value: Off
    + O  y9 J8 j3 P* B( m. Z4 O. ^5 B
  484. ; Development Value: On
    - |  s0 |5 ^3 x2 ~. \
  485. ; Production Value: On
    5 J9 R2 E8 k% W5 ^5 h# V+ ?9 \
  486. ; http://php.net/log-errors" d& K: J7 o  V# \* `1 y9 o
  487. log_errors = On" [/ @$ d$ J5 O9 I4 w
  488. , R* Q3 f: M1 e1 T
  489. ; Set maximum length of log_errors. In error_log information about the source is
    0 H) Q# {8 l7 X
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." p1 R0 Z8 O3 y3 d8 {  O3 B( o
  491. ; http://php.net/log-errors-max-len
    2 X$ T4 Q. b8 ?* ]: s* W
  492. log_errors_max_len = 10244 E- t# E! h0 l) L/ W6 h

  493. 0 v0 _7 b$ f+ ]* V& Q* E. e0 c8 j
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same3 c* U: J4 c' f7 H' A
  495. ; line unless ignore_repeated_source is set true.* l' p/ N4 {# e  y  d
  496. ; http://php.net/ignore-repeated-errors
    8 `8 ^6 b9 r1 X$ q  N
  497. ignore_repeated_errors = Off+ |, I7 b# T. ^$ @+ l$ _0 |( D

  498. : ~2 V' l% a3 s$ L, v: A
  499. ; Ignore source of message when ignoring repeated messages. When this setting6 g- S* T+ y8 O- O2 l- v* I
  500. ; is On you will not log errors with repeated messages from different files or' m; E' L7 O% L! A# g  i; X
  501. ; source lines.$ B( O! q7 l( z: f) C
  502. ; http://php.net/ignore-repeated-source
    7 K% g. |' _5 ^" E. n6 p" k# S( b+ v5 f
  503. ignore_repeated_source = Off. p2 Q# l3 X1 J

  504. : ^& R0 f, i) v6 M( _
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on+ x# P; f' i' a" {% E2 M9 y
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    * S7 [9 T" J5 }
  507. ; error reporting includes E_WARNING in the allowed list
    ( J9 S- P6 p, _" W+ b5 h2 J
  508. ; http://php.net/report-memleaks8 e. `7 i' T& G: X4 F; T- b% P  A9 Z
  509. report_memleaks = On
    . `5 B9 I+ g3 B$ }
  510. , X/ R  J. q2 e' e0 V
  511. ; This setting is on by default.9 ~; y$ |2 ]0 r; D) o
  512. ;report_zend_debug = 0
    0 n6 O$ ^& U2 o! Z% ^; ?# H) n
  513. & ~" N6 X* h8 X  B
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value& h, n' ~: o& d. n! a
  515. ; to On can assist in debugging and is appropriate for development servers. It should3 _/ i9 Y4 K, t: _# i5 H
  516. ; however be disabled on production servers.4 n5 A. o" O9 J. Q; Q
  517. ; Default Value: Off
    5 J& k" j4 W& M1 s: g
  518. ; Development Value: On8 ?  E: Q( |" F6 G" g
  519. ; Production Value: Off
    7 P* p8 B& ]: }3 g
  520. ; http://php.net/track-errors9 F) O5 {7 D/ s% ?5 @
  521. track_errors = Off
    & P! l, S/ B/ \' X. ~! P9 S9 R

  522. 6 N8 C8 o$ w# t
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    3 s- C$ T* g: G$ Q
  524. ; http://php.net/xmlrpc-errors
    8 H- l+ d1 y2 K' L: \) q
  525. ;xmlrpc_errors = 0; Q: f$ l, B# c% F) V

  526. 0 ~2 c# l- j' H+ ^& R- t
  527. ; An XML-RPC faultCode
    ) C# Z/ i4 w8 q. J
  528. ;xmlrpc_error_number = 0
    + P! J3 o* A9 ^, ?% ?( d; v0 ?8 E

  529. 3 m8 ]* i( A2 s, A/ w2 u
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    / l' H# w6 q, A8 i% b
  531. ; error message as HTML for easier reading. This directive controls whether: ]1 o% T6 b4 ^, S
  532. ; the error message is formatted as HTML or not.8 W  N- k* A2 ~  H4 l- L
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI' \7 I# G( \/ x
  534. ; Default Value: On
    6 D7 M% d" O& N& J7 _; N+ j
  535. ; Development Value: On
    ; Y& q$ Z( g3 \. h' Y* W4 V- U
  536. ; Production value: On
    ( u$ ?7 v9 K% ?7 H2 q
  537. ; http://php.net/html-errors; [7 i0 \" K& @5 \/ J
  538. html_errors = On9 e+ |& r0 y' K% P! E) B
  539. 0 |. X% D, V7 U. [" l
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ G4 I  I. k: K/ S2 l6 x2 \- L
  541. ; produces clickable error messages that direct to a page describing the error
    2 g3 V9 y5 a) G0 L5 [
  542. ; or function causing the error in detail.
    # W) e. q( w+ w1 Z, G. k
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    1 ^3 `8 R/ C4 f2 p2 I
  544. ; and change docref_root to the base URL of your local copy including the
    " }& g3 P; U8 y
  545. ; leading '/'. You must also specify the file extension being used including( P( c& q3 E7 ~7 q! D6 x
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which" b6 E# P7 P+ D5 g
  547. ; case no links to documentation are generated.; Y. X; p' G# |
  548. ; Note: Never use this feature for production boxes.
    5 ^6 ?( m1 [+ y  a# Z
  549. ; http://php.net/docref-root% d( u, e0 }; o4 T" m$ b- @% v
  550. ; Examples
    ! y9 A  W% c8 `0 }5 k: g9 D- Q
  551. ;docref_root = "/phpmanual/"0 u, B5 q7 a- m
  552. & K' \8 j) @) x$ K. F0 I: t
  553. ; http://php.net/docref-ext
    / m' Y; I8 D8 p
  554. ;docref_ext = .html- @4 h: T  s( S/ P. y: a

  555. ' S7 o/ B. Q  x- v  l! K
  556. ; String to output before an error message. PHP's default behavior is to leave
    / w7 Y6 j5 I5 @, k
  557. ; this setting blank.4 u0 D; l6 R. a: F+ U( D/ p; Z1 F( e
  558. ; http://php.net/error-prepend-string
    # p. q; E0 M4 g; J/ G6 G( V: x
  559. ; Example:2 c: @1 p7 |: c5 ^+ N, Q, s! x
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    . W6 {. N  ^* p4 k! ^

  561. 3 t; Q  a# J* t% ^/ s9 u
  562. ; String to output after an error message. PHP's default behavior is to leave
    * Y1 V. w4 t/ c4 J, L' m! A
  563. ; this setting blank.
    ( o9 n7 i; |2 ?: e$ H
  564. ; http://php.net/error-append-string1 O; R) J' L: j" D3 [# \
  565. ; Example:" X( n7 z8 x% V* Q  x
  566. ;error_append_string = "</span>"
    - P+ }7 Y: A9 c+ z, K+ R! A$ w. S
  567. 2 g, o8 i! f* x9 h* B
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    % ~. L6 z+ H* X4 I: V4 O
  569. ; empty.. i5 o9 D5 E2 H' J' q3 g, [8 X9 H5 }
  570. ; http://php.net/error-log5 ?& i" Q5 M9 h% h. l% m2 V
  571. ; Example:
    ' @3 N1 \; O# f* {
  572. ;error_log = php_errors.log
    / i' S1 o& P+ c9 F- i* `! ~$ C
  573. ; Log errors to syslog (Event Log on Windows)., J4 y& G6 @, _
  574. ;error_log = syslog" m. H7 w4 p$ x5 K( R' k% E
  575. # S- _5 Z) x8 O$ w" C- ?" H
  576. ;windows.show_crt_warning' k4 N& r$ x4 M0 |( f6 L. k
  577. ; Default value: 0
    2 X$ S" l5 Z* @" i: t$ G
  578. ; Development value: 05 p& K: X0 v$ L) r6 z. F
  579. ; Production value: 0
    ' O0 ]( U- x/ q5 P0 |7 l, E& t

  580. 6 {5 D) D  x$ y3 C% z
  581. ;;;;;;;;;;;;;;;;;3 _, l& {" Y5 M' n* o
  582. ; Data Handling ;$ H  S- u9 r9 v& i1 Z# k/ ^2 U
  583. ;;;;;;;;;;;;;;;;;
    : M# W  b; f% A$ V# P: P8 ^

  584. 6 y$ z" f/ e2 V1 ]: l
  585. ; The separator used in PHP generated URLs to separate arguments.
    / j# k5 s+ i: ]' x+ u0 A0 a
  586. ; PHP's default setting is "&".
    / k% f4 D  l2 l" \' ^: }2 A- S% V
  587. ; http://php.net/arg-separator.output/ I, M% D$ p6 N. U+ ?* v6 X
  588. ; Example:
    % {# w: b5 Z6 q3 e
  589. ;arg_separator.output = "&amp;"
    ! L0 N- U9 s  k) K* }

  590. # d& g. x6 d4 `5 h9 s
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ J9 i- \7 H/ l/ H0 C, j
  592. ; PHP's default setting is "&".! B" ~" S, M: w+ v+ Z8 X5 S' ]  [
  593. ; NOTE: Every character in this directive is considered as separator!3 W1 N. y+ m$ B1 m; ~' b* U8 p
  594. ; http://php.net/arg-separator.input
    3 Y6 R- E9 e" G3 Y5 F- t% N  Z7 }, ~
  595. ; Example:0 u1 ?2 H7 _6 S% D
  596. ;arg_separator.input = ";&"- C. T3 _7 s" g3 y- |& R
  597. 3 R6 V! {+ T4 G3 z. S; N
  598. ; This directive determines which super global arrays are registered when PHP
    4 n6 P# c, E2 K! E. P- r
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + j8 S9 }4 p) F7 z* G1 S
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + ^$ a1 x# k2 M/ c$ }. I# r4 ^# P
  601. ; paid for the registration of these arrays and because ENV is not as commonly  J8 ^7 Q5 |* {7 B* w
  602. ; used as the others, ENV is not recommended on productions servers. You/ W, R6 H: }) J1 d9 v; s
  603. ; can still get access to the environment variables through getenv() should you
    / T. i4 ~; v6 u, T
  604. ; need to.$ [) e& R/ Z* r: ?+ I" S( I' Q3 q- W
  605. ; Default Value: "EGPCS"
    ; @/ P* E( ?, z9 H6 J; f* `& q8 ]
  606. ; Development Value: "GPCS"
      E/ M, m; `/ v) A' E8 T$ [
  607. ; Production Value: "GPCS";2 L, r9 G1 C  K/ Z1 c
  608. ; http://php.net/variables-order9 G' _7 z4 k' G
  609. variables_order = "GPCS"+ R2 C7 b0 Q/ V  P  R- _& v6 }# p

  610. & M3 a+ O; P- ]3 a' l. a" c9 |  K
  611. ; This directive determines which super global data (G,P & C) should be1 M4 Y) V% j, t
  612. ; registered into the super global array REQUEST. If so, it also determines
    / W$ Y0 T, z& s' L
  613. ; the order in which that data is registered. The values for this directive/ C9 N) m# Z* ?& @/ u5 }
  614. ; are specified in the same manner as the variables_order directive,
    " u: _# p8 d5 M2 U
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ v6 R: D( j- A3 K
  616. ; in the variables_order directive. It does not mean it will leave the super
    9 J5 m# O3 h, ?7 p- o
  617. ; globals array REQUEST empty.
    ! a/ ~6 g: m1 f. _0 K
  618. ; Default Value: None
    + @6 k, R% j4 Z: ~1 Y
  619. ; Development Value: "GP"! d. ~7 B" e: `4 ]
  620. ; Production Value: "GP"
    ! m/ f' m, ^& F: T1 }$ \# f8 {
  621. ; http://php.net/request-order
    / p: w; ?/ D5 K
  622. request_order = "GP"
    2 D1 l$ h  I2 e) |. b5 x8 C

  623. - l6 d5 c! z* F5 H6 E: k6 \
  624. ; This directive determines whether PHP registers $argv & $argc each time it0 z( x, Z2 W2 y4 l. }9 F
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script: C  j5 ]' F0 u" o
  626. ; is invoked. $argc contains an integer representing the number of arguments
    + W. b% ^% P9 j' p
  627. ; that were passed when the script was invoked. These arrays are extremely
    0 m% c! E/ _( D9 h8 v  K7 ~
  628. ; useful when running scripts from the command line. When this directive is, E3 v+ b% h! n: D6 ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time) y7 _8 R9 N( K: h1 `) f
  630. ; a script is executed. For performance reasons, this feature should be disabled
    " y' O6 J1 E7 k  [! x' P4 J: t
  631. ; on production servers.
      F0 t/ K0 `6 u. B7 a7 G$ k0 ^
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    & _: }6 {" @, V+ z1 w
  633. ; Default Value: On, l9 }& X' I0 A: T
  634. ; Development Value: Off8 D  i# C. L; [3 ^
  635. ; Production Value: Off
    ; L& F* q/ K1 `7 d+ _1 }  M
  636. ; http://php.net/register-argc-argv; H$ w: C. P: x* E/ W) {1 P
  637. register_argc_argv = Off8 @3 L5 x- [( S2 U* R. ], ]

  638. + s% a' ]# v) y
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    / M- `% m) g& {/ b. a# i( \
  640. ; first used (Just In Time) instead of when the script starts. If these) o5 w# ^" @6 s* ~$ z9 }# x6 h4 O/ e
  641. ; variables are not used within a script, having this directive on will result6 K( d, O' f+ P
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    $ M' H. q1 t0 B( ?3 T& g5 u
  643. ; for this directive to have any affect.
    5 O$ O. e$ o( r' `3 ]% e) P
  644. ; http://php.net/auto-globals-jit2 H0 Y6 q7 k; V
  645. auto_globals_jit = On. I. Y# j4 r2 l, Q/ ~, x

  646. : q9 |. E2 M0 W& X0 k
  647. ; Whether PHP will read the POST data., y( c$ q# }2 o  h
  648. ; This option is enabled by default.0 b# {) I* j0 ?
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ( b! s' A+ e. }1 H% h5 ]
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    8 g' q8 {- S4 p6 t
  651. ; POST data will be through the php://input stream wrapper. This can be useful8 M9 V- C; d3 I8 ~- M9 K
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * }) D: C, V, _6 b! G" \! U
  653. ; http://php.net/enable-post-data-reading
    . [1 h: X4 A: X8 x2 p' y. \
  654. ;enable_post_data_reading = Off
    # o! }9 ?  ]; p8 e8 W0 K; T4 z
  655. 2 b1 L! f7 S( p' B& r, B
  656. ; Maximum size of POST data that PHP will accept.
    : k& N" Y6 V3 [6 c
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    * O" D: K4 ?* B+ l* [# K
  658. ; is disabled through enable_post_data_reading.- u3 B1 @0 Z! T
  659. ; http://php.net/post-max-size* m5 k$ M. K  A& }. @( T
  660. post_max_size = 50M
    , m6 _$ M- c0 o

  661. 1 r' y& l" w% H
  662. ; Automatically add files before PHP document.; k3 b7 E: A( J4 `) m& c  h6 m
  663. ; http://php.net/auto-prepend-file
    - x7 j( o+ Z4 [( l+ |' M! p
  664. auto_prepend_file =" E/ u: ~% O. `; o+ ?

  665. - l: v7 b" D' D+ F2 c+ ?4 T: z
  666. ; Automatically add files after PHP document.
    4 S- D' w* g8 n, T+ r- y
  667. ; http://php.net/auto-append-file
    # l/ Z0 P0 n- m3 L: u
  668. auto_append_file =
    8 v, B0 L- @; q3 t

  669. / Z. S* T3 L$ i- {' T; Y" N: ]1 s
  670. ; By default, PHP will output a media type using the Content-Type header. To
    6 I+ C% \* ?! R
  671. ; disable this, simply set it to be empty.
    ! Z! t& {7 V9 R! D& ]% e( j2 F( @2 @" u
  672. ;
    & Q! Q- Y% d4 T4 w, D4 y
  673. ; PHP's built-in default media type is set to text/html.
    2 r  i, C; F+ r  Y& R
  674. ; http://php.net/default-mimetype
    . j/ Z7 i7 Y& F6 v6 v
  675. default_mimetype = "text/html"
    - I+ U- l- A2 }/ k+ i* w+ |
  676. , n0 j' N5 [. S2 u/ A; `
  677. ; PHP's default character set is set to UTF-8.9 x9 x0 c' Q9 `- d( @
  678. ; http://php.net/default-charset8 i, D  y5 B+ k+ \9 w5 B
  679. default_charset = "UTF-8"1 u. q, K  ]( ~9 ^! _' o

  680.   e- q. J' X3 Y. M8 V
  681. ; PHP internal character encoding is set to empty.
    4 D& s- {& X) K. `1 ?2 S5 Z; A
  682. ; If empty, default_charset is used.# R/ k1 g% r: e& l
  683. ; http://php.net/internal-encoding4 H( M. L0 J0 u" `5 J
  684. ;internal_encoding =
    " I9 f3 c7 a" ~' J" X

  685. 9 l. H* S8 q, s8 y- W7 L
  686. ; PHP input character encoding is set to empty.
    " d" g4 g. B6 q+ s* |0 @- p
  687. ; If empty, default_charset is used.
    / e# m) i+ h/ X
  688. ; http://php.net/input-encoding
    . m9 @8 d3 u' N2 O
  689. ;input_encoding =, c' U/ s4 |" z" M/ A: r

  690. / v, `/ M6 R3 O0 Z+ \, @9 `6 Z
  691. ; PHP output character encoding is set to empty.. k/ v. i1 W& s! [6 [1 I5 f! \' l  v3 [
  692. ; If empty, default_charset is used.
    & k- d! x* H1 a5 X
  693. ; See also output_buffer.' @) {* B+ N. H
  694. ; http://php.net/output-encoding
    - C' D: W- R3 x
  695. ;output_encoding =
    . {8 @* A7 y/ j- f- I

  696. : A7 O0 u7 N8 }0 U  w5 Y9 {. n
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is) n& r; e4 n# ~& S9 L
  698. ; to disable this feature and it will be removed in a future version.2 A. f( q# X2 w; e
  699. ; If post reading is disabled through enable_post_data_reading,
    2 F3 u; u! d% z* }+ {7 b# `
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    - L9 e& Z# J4 g0 b4 ^+ R! _
  701. ; http://php.net/always-populate-raw-post-data" w* S: }5 E8 m* D
  702. ;always_populate_raw_post_data = -1
      N$ S& J2 A8 o& o/ k+ }
  703. - {4 p# Z4 J+ x" _* K( l
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; T6 h: x; Q$ Y  g, o
  705. ; Paths and Directories ;, _9 i  i9 @4 R. {0 X
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;2 D0 [2 w: E; `; {# P- g$ k4 S

  707. ; o5 [5 F5 k& G: S  Q- m
  708. ; UNIX: "/path1:/path2"
      K8 Z" t7 S7 B: @. d$ i
  709. ;include_path = ".:/php/includes"
    " y, g0 p9 n4 K
  710. ;) T9 J3 c# N) ]  B! {' n
  711. ; Windows: "\path1;\path2"9 `/ I& l4 E# Y5 z5 L8 Y
  712. ;include_path = ".;c:\php\includes"' m6 V5 F" h/ K$ Z3 k
  713. ;
    - G2 _! i0 u' w; a! M6 O
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 O" A% v, ^7 ]+ y
  715. ; http://php.net/include-path" n" D& J+ {' l& `
  716. ; C# B4 j- K7 o( f, ?! n/ O! M% X
  717. ; The root of the PHP pages, used only if nonempty.
    % M% k2 ?# z; E# X! l$ W4 Z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, Z5 c) h7 v1 I2 S/ H
  719. ; if you are running php as a CGI under any web server (other than IIS)
      [/ x0 i, V/ U; j: C; x2 K
  720. ; see documentation for security issues.  The alternate is to use the
    0 W8 i1 L8 ], N) c  O
  721. ; cgi.force_redirect configuration below# C5 b1 Y; H( i: o+ S5 K
  722. ; http://php.net/doc-root- L& s& F1 B& ~3 k1 l
  723. doc_root =4 r' T8 v2 `, m7 r! }

  724. % N. e- D& O  z" ~- A1 H: M  o# @
  725. ; The directory under which PHP opens the script using /~username used only" v2 Q4 n; J8 P2 n
  726. ; if nonempty.2 \0 d1 L* \2 N; e) w
  727. ; http://php.net/user-dir
    * _/ u2 Y9 M1 {  w* y
  728. user_dir =- S8 @0 ]; h( M( N& ]

  729. / [1 u! q' B- w) }- L* ~' c
  730. ; Directory in which the loadable extensions (modules) reside.
    8 v7 R$ ^% J% m& F' C1 ]/ Q8 {: ~- J
  731. ; http://php.net/extension-dir9 T9 p9 _' C9 m1 f
  732. ; extension_dir = "./"
    - U1 v# P( Q% w2 r( F. S
  733. ; On windows:
    # n5 q5 F8 m- J) C1 e' o
  734. ; extension_dir = "ext"
    + o! r$ P0 J+ x( p1 W$ d9 L$ F

  735. + H, N2 e4 D) ^
  736. ; Directory where the temporary files should be placed.
    / u+ B  j! D) s
  737. ; Defaults to the system default (see sys_get_temp_dir); |- f% Q. ^0 f7 D
  738. ; sys_temp_dir = "/tmp"4 j6 p- m& a8 C- f- [5 [. Y

  739. $ c7 x; F  G: X/ n/ N
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ H$ w  q$ @7 Z/ d- D% q% f
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ e: g$ [  i$ S) }- B! q
  742. ; disabled on them.
    1 R& q+ Q- X' Q" G9 m% z2 v' ~
  743. ; http://php.net/enable-dl
    , ?/ x4 ], r- D* `9 L
  744. enable_dl = Off
    0 p  o/ x0 p" i. B! B. D7 O6 @
  745. , y3 ~; j" d+ G- b
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under* p/ d! I3 s4 S: U/ w$ e7 n( J
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    * l8 l$ g! L( A/ Y) n: v- s
  748. ; turn it off here AT YOUR OWN RISK
    ! G/ W9 X# {( P' m7 E1 K
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**: Z" G- a, U: R* f# i, }6 `
  750. ; http://php.net/cgi.force-redirect
    ( x% ^( P: r7 R
  751. ;cgi.force_redirect = 14 x6 b, r0 X# ?; ^3 J8 c% v
  752. ! h3 g2 T' D! N7 t4 w7 V: E2 |
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 x9 E- ?6 u0 q. F6 O/ d8 c* L9 K1 Z
  754. ; every request. PHP's default behavior is to disable this feature.9 T6 J: i" u1 V# \
  755. ;cgi.nph = 1# ^& e, k) v* ?- b
  756. 5 {1 r8 k$ H7 C6 y& Z2 G& Z
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape% l: K( m4 e2 f2 R; A" m7 Z
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    8 K0 t; z& m: {3 M0 }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY& n4 _( _! o/ u# h3 {9 {
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 p. G' [; w# A+ U5 W# L5 u- I
  761. ; http://php.net/cgi.redirect-status-env/ y$ p6 z6 J( b( [" u3 B
  762. ;cgi.redirect_status_env =3 P% u# o7 W4 `# h7 w3 E' X6 }
  763. 9 v) W) @) S! h  Z" H% _8 h, M* x: D
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 i$ A3 ~# L) q1 w* h
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 a( ~* k- u  [3 {: _7 w
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    + k) y# h4 x1 ^9 p2 ]8 w. \$ k6 X
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting7 H, ]/ @3 B. {: g2 O$ x! f! }
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts  e% |2 h8 l* n
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.3 s" X: N7 q5 v
  770. ; http://php.net/cgi.fix-pathinfo
    * G& ^0 E! ^% A5 b
  771. cgi.fix_pathinfo=16 {( C$ [& ]- v+ {
  772. 9 z- L5 g# |1 P  v2 b% I
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    3 Y4 O7 F. G5 |6 L: N
  774. ; of the web tree and people will not be able to circumvent .htaccess security.* G0 T0 p. [- ]' W+ O- J+ ~* N1 M
  775. ; http://php.net/cgi.dicard-path8 R$ o" w; l& k8 `9 Z
  776. ;cgi.discard_path=1* A$ a# h" K# R+ a

  777. ; }0 q2 N$ G2 t4 M0 u$ d5 a
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! M2 E" l1 Y) ~% S
  779. ; security tokens of the calling client.  This allows IIS to define the9 D+ `" h' ?) Q( E
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    / i/ E8 r$ ^7 Z4 `5 `0 n% p/ y+ Z
  781. ; does not currently support this feature (03/17/2002)3 v2 x6 K- O' @2 i9 ]5 h1 d1 Y
  782. ; Set to 1 if running under IIS.  Default is zero.
    & B" D2 ?" @$ L: v% ^; Q: G
  783. ; http://php.net/fastcgi.impersonate
    2 t! n1 W7 k7 I( @
  784. ;fastcgi.impersonate = 1
    * m, s% R0 ]9 l) ?4 G; |: D* Q! T

  785. , E- d- V7 z& b) B
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( e# V& V( O1 C3 e# \$ J
  787. ; this feature.
    . s3 \- Z5 l' F' e3 }" S! A
  788. ;fastcgi.logging = 0
    9 e& v  {& _) ]' ?  u1 x# ~3 G) G
  789. 2 w7 X4 B0 X- v0 B+ V
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to0 V) u2 }  G. x% Y; h1 U; {+ Z3 a4 b8 c
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    % h0 H$ t. N+ \
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    8 ]6 m7 N5 K8 [$ ^: h, a1 F
  793. ; RFC2616 compliant header.0 K6 @1 s  |! U# Y+ ?
  794. ; Default is zero.
    + {: j  j# U- O: u, h
  795. ; http://php.net/cgi.rfc2616-headers* E$ c. r7 \0 F: f1 {
  796. ;cgi.rfc2616_headers = 0
    ( D8 u8 E" h4 s( M& n
  797. 9 n6 e3 ^# E+ e& k5 |# L; N3 f
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- J6 u9 j' V  c6 c6 U" c
  799. ; (shebang) at the top of the running script. This line might be needed if the
    9 c! D0 l3 F- ^4 B
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI+ m( l) l5 `, _7 q* P
  801. ; mode skips this line and ignores its content if this directive is turned on.
    " t% A8 J% K5 A; P
  802. ; http://php.net/cgi.check-shebang-line
    + E9 [+ Q% l$ ]* N! t
  803. ;cgi.check_shebang_line=1
    * ]9 P2 w' e/ }6 B
  804. 6 Y8 z5 ~5 w/ N7 K+ }
  805. ;;;;;;;;;;;;;;;;
    - F/ [6 D; ]. B
  806. ; File Uploads ;1 r2 g* U. v) K4 D
  807. ;;;;;;;;;;;;;;;;
    - k" b3 u1 O1 p9 i) X3 D$ F

  808. / |! ~  I" g$ z2 P, B8 ^% X6 U
  809. ; Whether to allow HTTP file uploads.
    4 F% n: U6 M! R/ L
  810. ; http://php.net/file-uploads0 F8 k8 j$ w( C1 K- ]3 h( Z7 a& o
  811. file_uploads = On
      v7 o! a2 x) W! @
  812. " R5 C; i2 x6 u/ n3 q
  813. ; Temporary directory for HTTP uploaded files (will use system default if not. W$ F& D& c, k1 e1 N' Y
  814. ; specified).
    : ^2 E' Q% g3 l5 \
  815. ; http://php.net/upload-tmp-dir1 J% x+ A" ]$ ~7 O
  816. ;upload_tmp_dir =
    8 r2 W' n, u& v; m6 ?  e3 v; O
  817. ! j7 B) I7 l/ E* P& N" Q
  818. ; Maximum allowed size for uploaded files.
    1 x9 |( ^& Y: H  `2 v. n8 I
  819. ; http://php.net/upload-max-filesize. A; P5 k  N! r- U( R
  820. upload_max_filesize = 50M
    0 O0 F" s; `# I9 [

  821. 1 x! a8 z, E. Q1 ^2 C
  822. ; Maximum number of files that can be uploaded via a single request2 e* \3 M. S- B( X; k0 p" ~6 h
  823. max_file_uploads = 20
    ' H3 C4 P: ]# H  n" ^  n5 g

  824. 2 S5 }7 ~5 a6 g6 R9 F& s% i: @6 {
  825. ;;;;;;;;;;;;;;;;;;
    5 r, l( _0 l, C3 y
  826. ; Fopen wrappers ;
    " U6 P# `; a# b  m, M
  827. ;;;;;;;;;;;;;;;;;;' _/ C  i3 ~# ?) L0 t+ V( u( z

  828. / q9 ^" }8 C0 g1 v" @. M
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % X- _- M9 I0 \: z9 O$ w! `3 l% X: a
  830. ; http://php.net/allow-url-fopen! p/ F5 V# ]2 h: a7 W# [
  831. allow_url_fopen = On" r8 i$ O* P( p0 o
  832. ) |0 [, r% l$ W
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    - ]* p0 e, e# B- @0 W  R
  834. ; http://php.net/allow-url-include
    8 Z# {5 @4 Q7 j6 Q
  835. allow_url_include = Off
    1 I' ?! U: s3 J+ G$ I8 L* g
  836. ' }; K+ h3 J$ X4 c8 ~9 z, m. J
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 w1 t0 Q6 ^" ^' v0 u3 J$ P
  838. ; for this is empty." u% @4 ^8 O% l+ w3 V, E
  839. ; http://php.net/from3 l9 U6 G% d4 Q9 w
  840. ;from="john@doe.com"
    6 p: P, x" o5 p5 _- d: {

  841. + O( c8 x, r+ q4 M
  842. ; Define the User-Agent string. PHP's default setting for this is empty.5 F; U8 G) X; a
  843. ; http://php.net/user-agent
    - \, ~* G: l1 Q' f1 m3 |8 T1 j8 m
  844. ;user_agent="PHP"5 W' @3 T: X# M3 C" r1 H

  845. . \" U3 {  }9 S. [8 l
  846. ; Default timeout for socket based streams (seconds)
    2 A. Z  n: v1 O% r
  847. ; http://php.net/default-socket-timeout0 |& O+ @' f9 E6 @& i% F( J! ^5 D
  848. default_socket_timeout = 60
    9 Y' _7 }8 ]8 G6 _# |+ p- M1 ?8 R
  849. 8 B( _$ O/ X, P% b! C
  850. ; If your scripts have to deal with files from Macintosh systems,* E/ M7 @, L: [3 u5 \
  851. ; or you are running on a Mac and need to deal with files from' f: |/ E% t! M/ \) l2 ?
  852. ; unix or win32 systems, setting this flag will cause PHP to7 u8 x$ l4 \9 P* }) G3 Q" W
  853. ; automatically detect the EOL character in those files so that$ ]) C& V4 u1 q: }( }# `& Z
  854. ; fgets() and file() will work regardless of the source of the file.$ {* L) P9 ?. X) Y- b/ F$ F' x9 I! L
  855. ; http://php.net/auto-detect-line-endings
    5 i" i$ a4 ^& A+ T
  856. ;auto_detect_line_endings = Off! s: y: Z' r6 n8 t: X, V

  857. ) C7 B  N( \/ r, t- k9 j
  858. ;;;;;;;;;;;;;;;;;;;;;;
    0 k) C0 H' G$ A. _. a* \
  859. ; Dynamic Extensions ;
    1 p) M8 Q+ i5 g& i  ?  D
  860. ;;;;;;;;;;;;;;;;;;;;;;
    / S- F5 V: v) o' {% {
  861. ( ?. @& Q' J- B. E: E8 T
  862. ; If you wish to have an extension loaded automatically, use the following, E- O3 b% b' V1 D, ]! I, N( v
  863. ; syntax:
    : c( m7 V# [" s, e" ~. W
  864. ;
    ) {/ V% J6 D6 J% m1 R8 g0 z
  865. ;   extension=modulename.extension
    3 x4 Q& z4 l' @% X$ f. E
  866. ;% F! G4 s. s# _
  867. ; For example, on Windows:3 {, M/ b9 x( b) a+ q$ m1 w
  868. ;6 q. q! U  S% h9 a1 ~% r
  869. ;   extension=msql.dll
    4 d5 U( U  R7 j& s. R5 w- z. O
  870. ;
    . t( K# H$ @2 [% J; h. l
  871. ; ... or under UNIX:, \. a# `6 a; ~: o* j4 A
  872. ;/ f5 _: B9 E- }/ T' a. C8 @6 n" X
  873. ;   extension=msql.so3 p) L; f* E) s* W
  874. ;) W! e0 y9 R3 B/ J- p
  875. ; ... or with a path:6 K; @% o- ^" M+ {' |7 q
  876. ;
    . C9 Q: c. X& A9 q1 u% q! _
  877. ;   extension=/path/to/extension/msql.so
    6 A* d+ A2 X5 H% n8 o8 f# W  _+ t
  878. ;2 N8 N/ ^: _- D7 Y) D* c* f. J
  879. ; If you only provide the name of the extension, PHP will look for it in its: e; H7 @8 p' W8 \2 x
  880. ; default extension directory.
    9 w4 \& @- l! ?
  881. ;
    2 ~7 {! W/ k0 _. |5 M, V
  882. ; Windows Extensions
    2 I' R; Y1 }# A! B
  883. ; Note that ODBC support is built in, so no dll is needed for it.8 H# S1 J0 p. T0 K9 U7 f  I9 [
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    3 d+ r  \/ F0 D0 l, R- }
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).2 F0 q$ X7 \% p9 a! C- q$ M
  886. ; Be sure to appropriately set the extension_dir directive.2 ?8 i1 D' E$ s
  887. ;
    ' M8 `# J! V( H' H; N( @9 }
  888. ;extension=php_bz2.dll2 s8 Z; m% J& o) f! S2 J
  889. ;extension=php_curl.dll0 c4 _2 \& e( g; Q% b7 H
  890. ;extension=php_fileinfo.dll
    . Z% ~2 C# l( N! m! N
  891. ;extension=php_gd2.dll% @$ S( a0 p1 G/ T' m
  892. ;extension=php_gettext.dll
    ; R( n# e; g& m' v
  893. ;extension=php_gmp.dll+ z  Q7 M! o3 I
  894. ;extension=php_intl.dll# b+ _) r$ I+ T' `3 y2 W
  895. ;extension=php_imap.dll- x* U  Y! p$ Z) x  K
  896. ;extension=php_interbase.dll5 s  I; J2 ]* l  |2 S
  897. ;extension=php_ldap.dll
    : L: Q: b. `/ w9 h+ M) L
  898. ;extension=php_mbstring.dll' j# Q% u) X( p& i6 n
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * y# P  q  U7 W" P6 b
  900. ;extension=php_mysql.dll
    , j, L: h. T$ b3 T6 d
  901. ;extension=php_mysqli.dll: J- O8 R, h% n
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , {& I! E( e' J7 B2 X! j0 w: O* O
  903. ;extension=php_openssl.dll
    & ]) R. U5 O! u5 j
  904. ;extension=php_pdo_firebird.dll
    / }4 x9 Z3 O* x# ]( i9 ~" ?9 J4 X
  905. ;extension=php_pdo_mysql.dll
    # U5 Q4 n* [) p
  906. ;extension=php_pdo_oci.dll; Y5 a; u5 J$ v
  907. ;extension=php_pdo_odbc.dll9 L0 Y: ^% P5 H* X4 s) m  X- S
  908. ;extension=php_pdo_pgsql.dll$ t, G4 R. i; g- c8 L/ t1 V
  909. ;extension=php_pdo_sqlite.dll
    7 L# k* E" m, ]( H8 O
  910. ;extension=php_pgsql.dll* s$ H2 D5 M1 O& N! Y- e
  911. ;extension=php_shmop.dll
      j+ \. x; B: ?4 d( {6 {& u! d

  912. 4 J1 H! r6 a) e
  913. ; The MIBS data available in the PHP distribution must be installed.
    % }3 i, i! `7 w+ Z0 r6 N- y
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    2 Z4 ?8 ^) f( J0 A/ c/ Z/ j# `0 ^7 d
  915. ;extension=php_snmp.dll% U- \9 {, i5 Z0 z3 Q. _$ G% y
  916. # {) y) M$ v/ B: w* \
  917. ;extension=php_soap.dll: ]- `) e5 _' B+ |) d- F3 ?
  918. ;extension=php_sockets.dll8 g1 d4 a7 t. ]7 G0 v
  919. ;extension=php_sqlite3.dll
    + ~) y& L- T" s: d+ t
  920. ;extension=php_sybase_ct.dll
    & ]1 I# B& K3 q0 E* Q' A
  921. ;extension=php_tidy.dll0 S- ^5 C+ T6 n
  922. ;extension=php_xmlrpc.dll
      ]4 e- Y, }# M3 a0 s/ l
  923. ;extension=php_xsl.dll6 n( g& C* k6 y; w5 f0 A( q

  924. . Y6 P& N" B" Y- k. j- o
  925. ;;;;;;;;;;;;;;;;;;;
    % \; j/ T) |' R$ f
  926. ; Module Settings ;
    % N3 q7 U$ e( Q2 R4 c
  927. ;;;;;;;;;;;;;;;;;;;
    ) G" D; q" G9 T) S
  928. 9 r1 g, }; W" D+ Y3 Y; E. B
  929. [CLI Server]
    6 ^" A8 V- P0 y) ?
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 w8 S* p+ b& s5 X. N! }5 z
  931. cli_server.color = On
    - }) ]# h. o7 I) R; i$ Q6 s, u
  932. . D; p1 u* [* H8 a1 L6 `
  933. [Date]& |. E  x' J' }$ W
  934. ; Defines the default timezone used by the date functions
    % ~9 ^# T) p5 [2 X. P# E) m# u; z
  935. ; http://php.net/date.timezone1 q. i! C- \) q+ a0 `( B  a
  936. date.timezone = PRC/ N5 O7 b5 k8 k- Y5 @: w% [

  937. % y' Z; I$ X, Y
  938. ; http://php.net/date.default-latitude
    - ]  Q; r8 W, T6 l' r) j8 s
  939. ;date.default_latitude = 31.76671 W: r  S0 K9 C  L& S- l

  940. . J( }1 |2 |# o/ v! s
  941. ; http://php.net/date.default-longitude
    6 J" s# ~: @) b3 _  }0 ?
  942. ;date.default_longitude = 35.2333' \# R: u: L) B5 W; D

  943. " D1 w  T' g, w* D$ m& C: F
  944. ; http://php.net/date.sunrise-zenith
    3 E; d7 j6 z/ ?1 V% ]
  945. ;date.sunrise_zenith = 90.583333
    6 r4 f2 F" E- H2 k1 H" Q" t- c
  946. 7 T5 L- N4 O8 `% s# w: D
  947. ; http://php.net/date.sunset-zenith
    / x5 k2 l4 i; M, G  o% ~
  948. ;date.sunset_zenith = 90.583333
    ! I0 O2 _! Y$ E8 l( d4 ~

  949. " d  H7 ]: t# k* B6 e
  950. [filter]
    5 @: B. ?3 k0 [0 S# G. ]5 f
  951. ; http://php.net/filter.default9 k- H) h3 y2 C, V0 f8 c4 K! N/ P: f
  952. ;filter.default = unsafe_raw
    - _# X7 A2 Z, {' K2 I% @" Q
  953. " E+ r- `, r! f" A! a, t' F. [7 I9 z
  954. ; http://php.net/filter.default-flags  ]* k# B) N5 r
  955. ;filter.default_flags =8 b1 ~( U7 [7 R7 v+ y  m; u! Z

  956.   Q1 L5 H9 U  o- j8 w7 g
  957. [iconv]& m  r9 l0 `1 Y  S9 b4 P
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.5 U+ E8 Z: a6 T' H+ T
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
      z; v6 d/ q, h+ c3 N/ Y
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    $ y2 `, P( }; N  X2 m$ i/ V" O
  961. ;iconv.input_encoding =
    2 P9 {+ Y0 f7 o$ ]$ r- |

  962. ' a' R1 E1 e# c9 T) B' X: j
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' G9 R: |% ^# [. z
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    9 h9 J  C' r1 E' o* B# U
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 Z" ]! E/ S4 K' z* a- _' w7 q
  966. ;iconv.internal_encoding =+ V2 y1 g/ z4 H" L

  967. # s# L% C/ h2 ^0 o" e9 Q; y+ q2 G2 N
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 G7 s* \( _2 A  J: r6 W% D' M
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    & s7 g/ ^# F8 R8 G
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding- z" A$ S0 O( \, V+ G$ ?
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ' |5 q. o+ ]/ `* `' b# t
  972. ; otherwise output encoding conversion cannot be performed.
    ; J; O6 x+ j9 ]- f' Z7 a$ a. L
  973. ;iconv.output_encoding =' g$ ?! o9 B9 [9 V

  974. * g, d; Z+ {  ^) Q) R
  975. [intl]
    * f) T1 Q4 t; v2 K
  976. ;intl.default_locale =1 y) A$ G/ L# n% v( Q- f7 g% ]
  977. ; This directive allows you to produce PHP errors when some error
      n$ H9 t. Y1 Y& J- o/ ^, a5 ?
  978. ; happens within intl functions. The value is the level of the error produced.
    ) S! l; ~9 @" ?: k' M; I- h
  979. ; Default is 0, which does not produce any errors.
    0 y9 O5 F" m% h! q
  980. ;intl.error_level = E_WARNING
    ! u9 o/ R" T3 b2 c% ^, o
  981. ;intl.use_exceptions = 0
    ' q$ U1 U; i3 T

  982.   q6 ^: a1 }& h( R. \
  983. [sqlite3]
    + I9 q/ m/ b' e) \5 F2 I/ k9 B
  984. ;sqlite3.extension_dir =
    . V/ i6 k# Z: `
  985. : i7 [( C# ^! p$ g: `9 g
  986. [Pcre]+ Z" r8 A& Z: U7 z! U
  987. ;PCRE library backtracking limit./ b8 Q. g5 f: [* ]
  988. ; http://php.net/pcre.backtrack-limit2 P1 J) v: \; i3 T6 A
  989. ;pcre.backtrack_limit=100000. _9 R6 y: \" C$ \7 R$ G1 C. P

  990. ! Y$ O  V0 r! E/ M) ]& k# d' k
  991. ;PCRE library recursion limit.7 H1 N1 ]& ?* `+ b" W
  992. ;Please note that if you set this value to a high number you may consume all
    8 z6 P0 B) b7 u+ G9 q% [* W
  993. ;the available process stack and eventually crash PHP (due to reaching the- ~! v6 m- E2 c: u/ a
  994. ;stack size limit imposed by the Operating System).9 @1 g/ R1 b5 K+ I4 N
  995. ; http://php.net/pcre.recursion-limit
    . {8 J+ C5 T0 ?/ U6 s" D9 R+ T9 k
  996. ;pcre.recursion_limit=100000
    3 H9 T* }/ `1 g5 k% I/ A1 h6 ]! ]. d
  997.   Z& D( |7 Z- z3 H
  998. [Pdo]' F  C8 p+ h5 T( {' ]% n
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ( N* g& G7 n+ t3 L) S$ t- Q( Z
  1000. ; http://php.net/pdo-odbc.connection-pooling
      [8 s3 ]/ S6 j# b$ k7 L: J. V7 d
  1001. ;pdo_odbc.connection_pooling=strict
    6 b; s0 a7 l) [
  1002. + W1 R! v2 t. t" ^
  1003. ;pdo_odbc.db2_instance_name. v8 i% T' D1 w+ E& P

  1004. % }  L$ H, D. F; a
  1005. [Pdo_mysql]  o4 J' ^& T* n
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache! Y  J1 Q7 X  Y7 m; ~- j0 ?$ b
  1007. ; http://php.net/pdo_mysql.cache_size
    - L' b) e0 c6 F! J. p
  1008. pdo_mysql.cache_size = 2000& z% ?; J5 o1 h

  1009. / S6 a" q4 {/ \0 L
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 D9 H7 T/ ~( B9 ~6 d
  1011. ; MySQL defaults.
    6 {- z: }4 X. b
  1012. ; http://php.net/pdo_mysql.default-socket$ e- T1 p+ t) d5 M
  1013. pdo_mysql.default_socket=' [$ G' W0 U: h% O# I* E. M- F
  1014. ( q/ c  Y/ q% _
  1015. [Phar]) a4 d3 o: r0 A  R; T% l8 T
  1016. ; http://php.net/phar.readonly
    , b7 i4 D* M0 @; ~8 E
  1017. ;phar.readonly = On
    ( W' d2 w" f8 k. U  K5 h$ q
  1018. 8 a' ?  k9 }& `6 y
  1019. ; http://php.net/phar.require-hash  T* o3 t+ u7 T* f, V3 S; P, g
  1020. ;phar.require_hash = On; A& x( H4 h) s
  1021.   s) S2 z2 f3 x* M) M) q( k
  1022. ;phar.cache_list =- P* B2 r) @) s; R- P, j
  1023. ; p' {. w# K" B) C' y  e. q$ p  u
  1024. [mail function]
    : w7 a9 ^; @1 s6 V
  1025. ; For Win32 only.
    3 ~, A) `- T2 d3 R  E+ d) B4 M
  1026. ; http://php.net/smtp
    ( a2 t  ]7 L2 M. r" [$ {) _& p
  1027. SMTP = localhost
    # h8 e7 ~% |% K$ [/ W/ S
  1028. ; http://php.net/smtp-port6 J1 \* X; A" H! }
  1029. smtp_port = 25
      x! b9 N$ c" c" D, F

  1030. 2 p6 i* O+ f: G9 O& h) U7 w
  1031. ; For Win32 only.
    4 E8 ^6 X5 F8 \
  1032. ; http://php.net/sendmail-from
    / z+ v/ v# B5 ?! u# c: Z5 Y
  1033. ;sendmail_from = me@example.com
    0 v1 g$ Q2 M4 G& a  D; k! \1 n6 U/ W* p
  1034. $ _7 X4 n9 ^' J9 [/ _
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    * ^' G- T# g- v- }6 f+ W
  1036. ; http://php.net/sendmail-path  L; k, ~! R: g' X+ v0 f3 u% w/ ?
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    & k, y, b& |: {; Z

  1038. 8 c7 f! k. t0 T& f$ C
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    5 m" v, ^3 c* V. J0 z( H! p9 C2 N
  1040. ; to the sendmail binary. These parameters will always replace the value of2 [8 l' H0 ?7 O5 L2 t
  1041. ; the 5th parameter to mail().2 p' s5 S# K% ]$ }# _+ c1 a; O
  1042. ;mail.force_extra_parameters =
    3 q2 O* e9 C3 }3 ?

  1043. . a. D# J3 p5 t. b( W) U
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename2 E8 {7 ]  ^5 A. G( M: J3 x; b
  1045. mail.add_x_header = On7 P9 |9 @" a2 _, L3 I

  1046. & o! ?" @& P/ i/ y
  1047. ; The path to a log file that will log all mail() calls. Log entries include2 ~% ]1 F- X  H# D/ q" o& ^
  1048. ; the full path of the script, line number, To address and headers.
    & d8 |/ _7 q) N' v$ V/ ?
  1049. ;mail.log =
    7 f+ {9 T3 M5 Y  e7 j8 d
  1050. ; Log mail to syslog (Event Log on Windows).* L) r/ O0 s" g/ M  C, V
  1051. ;mail.log = syslog( A* p8 `* C7 X5 t+ H3 e2 u$ {7 _
  1052. & ~% a0 [: g  ~5 T# {8 {  i
  1053. [SQL]
    # A7 V+ h6 D  ~& ~
  1054. ; http://php.net/sql.safe-mode' O5 s3 f- k5 @
  1055. sql.safe_mode = Off' o' K3 A% b' Z( _+ L: X

  1056. 0 ]7 p7 M& ?6 P4 q  i6 ?
  1057. [ODBC]
    7 S9 f+ P; |$ H. E) e$ y
  1058. ; http://php.net/odbc.default-db' W! V& G3 B4 v- \3 A; n% e
  1059. ;odbc.default_db    =  Not yet implemented
    ) `. C# G) u( ^4 ^. E
  1060. 0 N8 w8 a3 m6 F
  1061. ; http://php.net/odbc.default-user
    4 f; M! M2 l; x2 T3 {
  1062. ;odbc.default_user  =  Not yet implemented
    7 N  m' i( ^" X' T+ D8 z; s; t
  1063. 4 H" @. ]' ]4 ]7 s
  1064. ; http://php.net/odbc.default-pw
    1 e1 v% \5 v: _- C$ o+ N
  1065. ;odbc.default_pw    =  Not yet implemented' s' g: g) [: Y# ~! [" B
  1066. 2 Y) d" ^6 i6 J- w
  1067. ; Controls the ODBC cursor model.+ ^, C* P) ^& k# L, e) O+ Z
  1068. ; Default: SQL_CURSOR_STATIC (default).5 U; i/ r$ R4 d' x& t$ k
  1069. ;odbc.default_cursortype
    + y( J) X' q$ o  t$ }' Z& w9 _' u
  1070. 6 h" O) s: t) y* P- w
  1071. ; Allow or prevent persistent links.
    0 e2 M7 x6 q6 U
  1072. ; http://php.net/odbc.allow-persistent
    & ^: V. e% P% [8 h; {/ ]* [
  1073. odbc.allow_persistent = On$ t8 Y  ]' f4 n8 h# z; z4 y

  1074. 2 N5 i) L+ D  ]( Y5 O$ k
  1075. ; Check that a connection is still valid before reuse.
    ( N# |* a8 Q3 c2 s9 p- Z
  1076. ; http://php.net/odbc.check-persistent
    ' x% {. m# `# B0 x3 V
  1077. odbc.check_persistent = On
    . \& r- X, ~- o& J0 |; z% A
  1078. , J2 W; q0 ?' Q/ w0 P9 h
  1079. ; Maximum number of persistent links.  -1 means no limit.9 ^  H+ v' Y1 ^. q
  1080. ; http://php.net/odbc.max-persistent
    6 A8 f* v) s+ G6 b7 @) M* Y+ Y
  1081. odbc.max_persistent = -1# V; V' F: N5 T8 A
  1082. 1 ~6 k+ j/ U, H9 s- w
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 ]0 f+ Z5 ]) E) H6 ~3 Y6 ~* p! C$ ~
  1084. ; http://php.net/odbc.max-links
    : ?6 l& e; j8 y8 U
  1085. odbc.max_links = -1: C: W& S' X, `' u
  1086. 9 Q/ t! {/ F8 T+ `: F6 |' ]3 U
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means/ M$ f( m5 m6 e4 ?+ u( g$ g( c/ g
  1088. ; passthru.% ~1 S% `4 H4 k5 ~; D; `
  1089. ; http://php.net/odbc.defaultlrl* d' f5 P, D" ?
  1090. odbc.defaultlrl = 4096
    " V% \1 `$ C9 O: W: N+ y+ ^+ `

  1091. ) _/ s. Q6 P3 U$ h) t$ b
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ' X! U2 f& d( {* B/ z
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation. A- s  r2 L  ~2 B; M$ C! ?0 J
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 D* G0 E! y9 v. Y$ ~$ ^8 P' @
  1095. ; http://php.net/odbc.defaultbinmode
    9 }: P1 N6 U7 T2 C  e% \- S4 f
  1096. odbc.defaultbinmode = 1
    5 ~- @4 J' o, `% ^; F: y
  1097. 5 X7 q* w# l8 u& S' Q- F( c+ n
  1098. ;birdstep.max_links = -1+ u) H9 r+ Q9 v, h
  1099. : D. K2 i- W' i
  1100. [Interbase]
    * m: u9 `- y& A6 }" ^  o4 G
  1101. ; Allow or prevent persistent links.7 O0 f) b9 q  x9 L
  1102. ibase.allow_persistent = 15 N5 l* S1 G, L  k6 m0 l/ T

  1103. / R9 `* v& d+ f
  1104. ; Maximum number of persistent links.  -1 means no limit.3 R) r. n7 e0 a& W) O9 h- j
  1105. ibase.max_persistent = -1" s# n  c" S+ ^7 q" f3 N. U8 ]
  1106. , q- Y6 ^" F! u0 i5 D5 ~
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 J( p: m8 x% C5 ?! M! m# N, f
  1108. ibase.max_links = -1
    / l' C7 `2 |" {% c, ]
  1109. : Q+ h$ M& t6 C& K* k* {
  1110. ; Default database name for ibase_connect().  f' c, [0 Y$ U, L  \
  1111. ;ibase.default_db =2 T/ \$ W! d8 D* N9 d0 f
  1112. ! Q, N% F0 c9 p: |) Q, Z
  1113. ; Default username for ibase_connect().
    ( F1 O& l% [9 M8 ~  r; s: t: P. _# z
  1114. ;ibase.default_user =! w: s. I5 d" C) u$ X! i  {5 e

  1115. 7 s& P4 y# e: L0 D: C! W5 r
  1116. ; Default password for ibase_connect().& F0 A$ B0 S! c, J6 [
  1117. ;ibase.default_password =
    0 y# b4 S( B% Q/ i* e8 v% G
  1118. 3 _# T# u  ]& i2 Q- K+ ~7 N
  1119. ; Default charset for ibase_connect().
      U+ K: B: J/ m1 f8 ]3 j; a
  1120. ;ibase.default_charset =* a- B6 z- s/ f; J* }

  1121. . q# G+ L1 c# C5 E- G5 D
  1122. ; Default timestamp format.0 t: F' P" T! Q7 G
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- ]' Q( p3 Q4 x  J+ R& [

  1124. 2 |: M( m3 c8 W  j0 W
  1125. ; Default date format.
    ' ]1 A% Y9 [0 O7 H2 Q
  1126. ibase.dateformat = "%Y-%m-%d"! s7 s8 r; ~/ a$ u+ ]4 X( O. c# w

  1127. . j; u; S; C& d
  1128. ; Default time format.7 n7 |5 j8 N" T# w# B0 r& L2 p3 _
  1129. ibase.timeformat = "%H:%M:%S"
    8 F- s# P6 v. @) e& Q& v

  1130. 3 O5 }' S* R# V5 {; Y
  1131. [MySQL]
      d# o) H. q  @% |  T: o( b
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements7 H* L# T- X! @6 K$ e" \! |
  1133. ; http://php.net/mysql.allow_local_infile' w& F- ^+ d) I5 v% N+ f' O# W" M
  1134. mysql.allow_local_infile = On
    / b# K7 Y3 b2 H4 U/ V
  1135. % U2 }; z$ B3 |( v- K1 T  l" r1 R8 @
  1136. ; Allow or prevent persistent links.& d, F( i  D% n9 n$ w. a
  1137. ; http://php.net/mysql.allow-persistent1 H6 \0 X# O2 J$ ^/ e3 a2 \. z( M
  1138. mysql.allow_persistent = On
    , F' R# X2 ~, @) Q! N3 _
  1139. 7 s6 l4 n. s* d
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) S4 y5 y& m& z) r3 ]: i0 U8 ?
  1141. ; http://php.net/mysql.cache_size; s/ c8 N1 h# c# w/ S
  1142. mysql.cache_size = 2000/ ]( y5 R6 ~: n4 j
  1143. & D) i: P$ z5 X% f; A0 A
  1144. ; Maximum number of persistent links.  -1 means no limit.
    " G$ F$ O% E( m) W2 E& h
  1145. ; http://php.net/mysql.max-persistent
    9 u6 n( f1 [; i5 I/ V
  1146. mysql.max_persistent = -1% x3 I, W5 I" K- ^& g
  1147. 0 ~1 K: ]$ R0 [# N% G" q5 }$ U
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., y8 L; y4 _: |! b- P0 D$ g: h
  1149. ; http://php.net/mysql.max-links
    ' a7 q. O- A* N, S
  1150. mysql.max_links = -1  m* d2 _) l6 F9 Z1 ~$ T  w

  1151. ' F  V( i: _) W) W2 g8 p0 Z
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use% t- z! ]( O* w  h% |; M# M
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    . I0 W  R1 v+ d: ^0 F7 G
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look0 L4 ?6 k9 Y) H1 U9 y
  1155. ; at MYSQL_PORT.9 p: B' ?4 ]4 G3 B  U- e# E
  1156. ; http://php.net/mysql.default-port& l9 E/ A/ d; }$ S9 `; V8 v8 d
  1157. mysql.default_port =/ F% n* d( U/ U% c# ^

  1158. % [+ T& |5 a+ `+ A- q" x# N# W
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % F3 i2 n' s! a; n  z' {5 Y
  1160. ; MySQL defaults.
    2 [* V: G( Z( K9 s  G% g
  1161. ; http://php.net/mysql.default-socket
    3 F  Z! r2 ^$ E; ^% [. |, u8 a% M- w( n
  1162. mysql.default_socket =
    9 V0 v* W3 V% y

  1163. 5 e, W/ T1 k$ \# D( l. S
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).3 a1 u. w1 n  v
  1165. ; http://php.net/mysql.default-host
    1 u% d, b" E5 p  c: h. _# k" J
  1166. mysql.default_host =! k/ W3 d9 J( S: K. B+ P

  1167. & ^7 F. }! b* a0 X7 S- D
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 J( j5 M/ i5 q7 ~, _( d& j
  1169. ; http://php.net/mysql.default-user
    8 j+ |+ M- E- g) U- |
  1170. mysql.default_user =6 ^( O' L# E$ `

  1171. ' }! j0 @% u- p, F: f: @
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    5 J9 }) U, n1 ?
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 H4 V9 F7 D# \' w' @) ]
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")& x+ k$ c1 h; o* `
  1175. ; and reveal this password!  And of course, any users with read access to this) Q# L3 E0 O9 N
  1176. ; file will be able to reveal the password as well.
    ' t6 q: u) U+ [4 @( w
  1177. ; http://php.net/mysql.default-password
    $ t7 _0 Y# a9 B2 K( Z# t$ A
  1178. mysql.default_password =
    & I& T3 l! q! I, z& |( p6 V, Q

  1179. + {. u, _( p; \! a
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    : I' X" l; c4 j1 a7 u
  1181. ; http://php.net/mysql.connect-timeout: \+ `- D/ F5 h
  1182. mysql.connect_timeout = 60
    7 M, V3 [, ^$ a/ v% T8 Q3 [

  1183. 0 R# @: g! Q# ^( N! L2 p& |& n
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and8 P) y, W3 i6 s3 r" @2 c
  1185. ; SQL-Errors will be displayed.$ C: x# C) U" w7 G
  1186. ; http://php.net/mysql.trace-mode
    & Z3 @. j% P6 {0 Z# t  I/ X0 U
  1187. mysql.trace_mode = Off4 u7 a' Y5 P, d! ~' }
  1188. , \  a" Q2 _2 F4 N. h( j$ O6 A
  1189. [MySQLi]) U, i' T8 k& a' i5 K
  1190. ; P# k, W0 K& F) @
  1191. ; Maximum number of persistent links.  -1 means no limit.5 o" _! I( m9 T6 A; S. h. r
  1192. ; http://php.net/mysqli.max-persistent: O1 [1 o+ O% j
  1193. mysqli.max_persistent = -1
    7 y! c. f( v0 ?

  1194. + q, i" }2 U& d0 D1 r! u; f* i
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements% o3 P9 U) T& A
  1196. ; http://php.net/mysqli.allow_local_infile; t* `% q9 F4 o4 w& x( ~3 b  n
  1197. ;mysqli.allow_local_infile = On; g. u5 I9 a/ v, F9 l

  1198. 1 S0 e  j) p1 Y* r
  1199. ; Allow or prevent persistent links.% |5 T( A; v/ f1 k3 l
  1200. ; http://php.net/mysqli.allow-persistent' g% G3 c8 b; n+ a( N0 ?# W
  1201. mysqli.allow_persistent = On+ i6 T; _7 G3 g* l. W$ r% X" Z

  1202. $ e  Y0 m- x( S  X, [  Y6 q
  1203. ; Maximum number of links.  -1 means no limit./ W# z1 V. S) }% ~$ Q3 U
  1204. ; http://php.net/mysqli.max-links
    0 Z, R3 a8 O6 H
  1205. mysqli.max_links = -1
    " {# T  W( ^; s' p

  1206. . p- [5 ]% h& L& q1 P: u# g
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ w) A6 x! a1 [/ z
  1208. ; http://php.net/mysqli.cache_size
    - F9 Y  J1 R- k, i: [, N* D5 B
  1209. mysqli.cache_size = 2000
    , q# f, y- z% ~0 Q

  1210. 5 S0 x) H/ H# v, V0 k
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use) @2 j( B4 o6 a: B2 a7 y3 f
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 q7 O& z1 `% f
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / s# a3 B8 ?0 x0 K* Z/ ]( t& U) W
  1214. ; at MYSQL_PORT.1 R$ v. S. ^6 m
  1215. ; http://php.net/mysqli.default-port5 J# M* X! f5 m4 H" }. B
  1216. mysqli.default_port = 3306
    / x! ^/ B) l3 E9 h! V# O

  1217. , S. V( _& r; R5 p+ {
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 e# D( N5 V  D) K0 e3 Q5 `
  1219. ; MySQL defaults.2 }; f* F' ^* b& H  A$ m
  1220. ; http://php.net/mysqli.default-socket( U$ h6 I- E1 q% K1 L/ J: z! c5 v0 x
  1221. mysqli.default_socket =; W/ F! F# O; r2 v- s+ [5 h8 q

  1222. ( d7 X. m$ b$ c0 C* I! F* A
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).( N; k* e1 A! V0 `
  1224. ; http://php.net/mysqli.default-host
    " y3 Q1 U" `8 M9 s+ ^, k! o" U
  1225. mysqli.default_host =
    % j3 O2 w$ j3 b9 O
  1226. ) Y" N  V1 \! w- @1 R- p' @
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).3 v1 ?; Z& C' U8 j
  1228. ; http://php.net/mysqli.default-user
    6 D: D0 \2 d" L5 o: f* t5 r" `1 L
  1229. mysqli.default_user =. Q5 ]2 Z$ H" s  I* o- z2 B
  1230. 7 c: Y4 Z& \8 k' N" @% a. m$ Y7 o
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 H% W. T# R. N8 q5 |- g- S
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    0 I* u$ Q8 [- {
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")( j0 i! Y/ F- A% w1 T1 m! K' f8 N4 {
  1234. ; and reveal this password!  And of course, any users with read access to this
    1 G" x, h; {0 [/ i. K
  1235. ; file will be able to reveal the password as well.
    1 j/ g% ^, O9 \5 _) R' S- B6 ~
  1236. ; http://php.net/mysqli.default-pw
    , P7 i2 Q/ E8 n( h
  1237. mysqli.default_pw =
    : v4 a+ [+ q! S. _4 i4 q
  1238. 1 C8 |2 O( v, P# Y: i
  1239. ; Allow or prevent reconnect
    / B/ Q' q& _; T
  1240. mysqli.reconnect = Off
    * X  s, d6 D7 ^8 P* H
  1241. . k& W) P3 r* P4 j
  1242. [mysqlnd]. T8 s" z  S3 G; K4 l4 t
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    2 M2 ~  h: a2 @% ?0 S
  1244. ; used to tune and monitor MySQL operations., D* q# B0 z: ?" f" x- }
  1245. ; http://php.net/mysqlnd.collect_statistics
    - K1 v5 m" u- a9 t& I. d
  1246. mysqlnd.collect_statistics = On
    ; [/ r  c# b" J: y; h
  1247. ; O0 {' C5 K& x: l# h6 X( b
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- Q( h2 d1 ~8 l: a
  1249. ; used to tune and monitor MySQL operations.
    ! h  \. r; ^: x" _+ P3 c
  1250. ; http://php.net/mysqlnd.collect_memory_statistics1 q  J* y$ M# [
  1251. mysqlnd.collect_memory_statistics = Off  g  T7 l; X7 u- {8 L, Y% `9 E
  1252. ; S: r; t" e0 A/ f6 |' e
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    / R4 E& Q  A# I; ]4 P& L
  1254. ; file.( B% D( C; s0 B/ _
  1255. ; http://php.net/mysqlnd.debug& l3 D" |5 q0 C* E
  1256. ;mysqlnd.debug =& m) g. q/ R5 y" J
  1257. * p, [' Q8 g0 c1 Z% {
  1258. ; Defines which queries will be logged., ~  l0 M. k4 @; |  g: i: t0 {
  1259. ; http://php.net/mysqlnd.log_mask
    0 {8 n3 Y9 P6 i3 u! r# Z( w
  1260. ;mysqlnd.log_mask = 05 {) x/ ?1 G6 S8 X8 ]+ i2 i
  1261. - X- V. A5 w# d  l- |6 e
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 i$ S3 ~" x; i1 r) z
  1263. ; http://php.net/mysqlnd.mempool_default_size
    * V' {* N3 G$ x* {& d8 c
  1264. ;mysqlnd.mempool_default_size = 16000
    8 J# E2 i7 N) Y, h3 a

  1265. % S& a) ]0 h, w( L
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    # }3 f: E* ?5 N
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size7 o$ y+ M* Z$ @8 o+ {
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    & k+ e5 q" i( @) M/ h$ ~' A
  1269. - P4 }  B* p$ H7 m
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in! A$ B* p2 C1 a, _' W' \) O) U
  1271. ; bytes.+ Y9 g* L( }2 z, M% `$ K8 ~5 r( `+ r
  1272. ; http://php.net/mysqlnd.net_read_buffer_size- u5 F$ h! K2 |
  1273. ;mysqlnd.net_read_buffer_size = 32768
    & `8 m3 G6 Z) U2 z; U

  1274. + u/ S; |- g7 G# P% R; m
  1275. ; Timeout for network requests in seconds., x* m  [6 S2 g# |# s% }# k2 a
  1276. ; http://php.net/mysqlnd.net_read_timeout; p& q6 b" H( q+ H
  1277. ;mysqlnd.net_read_timeout = 31536000& N3 G" W3 u+ |5 u, m
  1278. ) e& ?8 ^9 I* C' F( Y' y& V* |
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* L8 D  @, E+ r. _
  1280. ; key.
    7 z! b" V1 T4 v
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    # o4 k4 ]) a- S( F: r
  1282. ;mysqlnd.sha256_server_public_key =3 }5 }/ \- b  d( _
  1283. , D: F) m8 E0 t5 _0 C# H! ]# M
  1284. [OCI8]
    / A- C: k6 B# p8 n

  1285. 9 W! X* I: `6 v( P6 A8 i4 Z* _
  1286. ; Connection: Enables privileged connections using external! r1 M' y+ Q9 ?# K
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    + u* }0 K- X  \6 g) J7 n$ W
  1288. ; http://php.net/oci8.privileged-connect
    * {4 z; @! I0 p2 q
  1289. ;oci8.privileged_connect = Off/ Z& @3 B- ?3 h& ~& _

  1290. $ F6 P" B1 a+ J* u, H' A
  1291. ; Connection: The maximum number of persistent OCI8 connections per: d6 o! D7 ~) Y# ]# M/ m
  1292. ; process. Using -1 means no limit.
    3 W5 q+ t, W9 V2 Q
  1293. ; http://php.net/oci8.max-persistent( [5 ^/ c- ]- \. }1 _/ k
  1294. ;oci8.max_persistent = -1
    + A$ `5 G) O( c; Z( M# R
  1295. & l' }" y$ A' }
  1296. ; Connection: The maximum number of seconds a process is allowed to
    # U4 r; E6 B2 F$ }! z' u" f* D
  1297. ; maintain an idle persistent connection. Using -1 means idle9 E* i, \2 N6 o: Q6 `7 w% x
  1298. ; persistent connections will be maintained forever.# F% f$ O7 P. W2 I! J* G
  1299. ; http://php.net/oci8.persistent-timeout
    ( X: p* ]+ }8 A8 R
  1300. ;oci8.persistent_timeout = -1
    2 [& b1 `# S, O7 K. J0 r

  1301. - `# W% h# s& J9 |
  1302. ; Connection: The number of seconds that must pass before issuing a
    % E- y  m# n0 V
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ( |( g; L0 ^& O8 A: S0 e5 P
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ! o% ]% K) y/ q6 [7 x7 @" G7 X
  1305. ; pings completely.$ M7 w  l- H# V8 ~( V% I1 R
  1306. ; http://php.net/oci8.ping-interval! I  h" x8 f/ T3 X% C  N
  1307. ;oci8.ping_interval = 60- U2 h: d2 o: E" x$ g% ~+ ?
  1308. # L* g- c1 V, h6 w
  1309. ; Connection: Set this to a user chosen connection class to be used
    ' L+ T/ |2 g6 j: H0 m
  1310. ; for all pooled server requests with Oracle 11g Database Resident" @8 \: t( S- ~: l
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ( W* @' b, X" V) h) [6 W3 F
  1312. ; the same string for all web servers running the same application,
    , G8 i: |7 E# @8 e
  1313. ; the database pool must be configured, and the connection string must
    - o( M7 T& W. L4 M, b
  1314. ; specify to use a pooled server.* }& C7 S( d5 e% _+ v* ^8 C( d! `
  1315. ;oci8.connection_class =; u& j4 N8 {' {7 v

  1316. ' C1 W% o7 X3 n( C% Y5 g
  1317. ; High Availability: Using On lets PHP receive Fast Application# {9 n: R' B& H$ M. c
  1318. ; Notification (FAN) events generated when a database node fails. The* G; I0 A( N9 L& v1 x
  1319. ; database must also be configured to post FAN events.
    " Q1 f- l0 s  S" Y# S! Q
  1320. ;oci8.events = Off- g( g7 ]: c7 O  s& \

  1321. 7 N$ i3 J4 B. L
  1322. ; Tuning: This option enables statement caching, and specifies how# U$ {' \3 l9 ^2 [) x
  1323. ; many statements to cache. Using 0 disables statement caching." W( p" I2 P  J2 s
  1324. ; http://php.net/oci8.statement-cache-size& Y; r2 f/ ]' H
  1325. ;oci8.statement_cache_size = 20
    0 ^0 B0 l9 c) B; T

  1326. 6 n$ p! }# W" V. G
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    6 T7 }$ u# R0 A8 t7 y, D( P+ O
  1328. ; rows that will be fetched automatically after statement execution.
      d$ R' X( g8 c7 Z
  1329. ; http://php.net/oci8.default-prefetch
    ( R5 r, F% ]* L9 B
  1330. ;oci8.default_prefetch = 100
    " W% c" x# k3 M; K' Z! m6 a& [
  1331. 8 z9 }$ P  f: w
  1332. ; Compatibility. Using On means oci_close() will not close/ E& A, n, }" c7 F9 j: N. N! a# c- Q
  1333. ; oci_connect() and oci_new_connect() connections.% I2 B4 S- E) W2 F. v( v2 ~
  1334. ; http://php.net/oci8.old-oci-close-semantics
    % K9 ]. `- i, M- F
  1335. ;oci8.old_oci_close_semantics = Off/ i$ w/ E7 t: A4 i; t" e

  1336. ! k! b( H- k; D2 N) S4 E& L( {
  1337. [PostgreSQL]+ x7 b' t7 L3 {
  1338. ; Allow or prevent persistent links.
    ' K2 }5 T, `4 C; ]
  1339. ; http://php.net/pgsql.allow-persistent" z' l) V+ Z8 `7 b8 M: A
  1340. pgsql.allow_persistent = On- ~0 E8 c) |3 [7 I

  1341.   B2 Y& s6 e8 Y2 }9 r
  1342. ; Detect broken persistent links always with pg_pconnect().' e$ d2 \2 O9 B( `7 B' r+ R6 d
  1343. ; Auto reset feature requires a little overheads., z* q, Z$ z, r0 R' P; D
  1344. ; http://php.net/pgsql.auto-reset-persistent
      B! s7 X  Q8 g2 t/ w
  1345. pgsql.auto_reset_persistent = Off, J" i  K6 _! a8 [, r
  1346.   e- n3 H9 Z: }+ Z) M- k
  1347. ; Maximum number of persistent links.  -1 means no limit.% D" R) E4 H5 ^# g' i! q
  1348. ; http://php.net/pgsql.max-persistent* S2 A2 F) H% f+ D
  1349. pgsql.max_persistent = -1
    % M7 L1 K4 R$ L, K( v: O" s3 n
  1350. ; Z  ?, h7 i0 t$ V. H! z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " _! o" B8 s: k
  1352. ; http://php.net/pgsql.max-links( [1 w1 l1 D- C- a0 G9 Z2 a+ H
  1353. pgsql.max_links = -1) e. B% R7 t* l6 l$ F: M( n* o

  1354. ; ^2 ~: _7 {; I- H0 m6 J
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ; ]. O- B) o" u
  1356. ; Notice message logging require a little overheads.
    & ]) N3 W" u+ X; @7 }8 |
  1357. ; http://php.net/pgsql.ignore-notice
    7 x0 e+ B; @; A0 h+ a: ^) O
  1358. pgsql.ignore_notice = 0; S4 R2 |9 ], T% K1 j3 e
  1359. : m! a1 G/ T! }5 _# ]) A" l; y
  1360. ; Log PostgreSQL backends Notice message or not.
    3 l- L0 e9 j& E4 I7 }
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.0 b" F5 [$ g, G8 z0 Z
  1362. ; http://php.net/pgsql.log-notice
    4 ?7 c$ c2 t2 Z6 h6 e; Q
  1363. pgsql.log_notice = 02 o% R2 Y/ t. r; x" X1 X
  1364. 7 P8 {3 s( B8 R; E# M+ Y4 g$ f
  1365. [Sybase-CT]4 l4 u& v4 n" ^7 g: \9 s' ?
  1366. ; Allow or prevent persistent links.
    ! M2 e5 O: ^# ?/ ^0 B9 l5 ]; V
  1367. ; http://php.net/sybct.allow-persistent1 n$ ~7 ~9 [5 \. N8 K
  1368. sybct.allow_persistent = On
      S* y# f! |' k; I) u, g

  1369. ! b$ ?& H4 [3 n/ ?/ |
  1370. ; Maximum number of persistent links.  -1 means no limit.% z( n8 r  Q8 y$ p
  1371. ; http://php.net/sybct.max-persistent- n. `) U; N! z* z/ M$ N
  1372. sybct.max_persistent = -16 M1 q3 n4 p* p' V: u9 \* g

  1373. ( X2 m8 \/ B8 G
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , p# S: m2 [$ F$ }% A3 T) W. q
  1375. ; http://php.net/sybct.max-links3 Q2 G7 y2 X- j+ l8 J+ W+ t0 i
  1376. sybct.max_links = -1/ h: c! F9 ~6 P. S, r* G
  1377. 5 N* R) {& h$ j5 I6 H5 s+ T
  1378. ; Minimum server message severity to display.9 p! D  j5 [+ w
  1379. ; http://php.net/sybct.min-server-severity/ ~% R2 \) s  a' g1 w
  1380. sybct.min_server_severity = 10/ i$ b. a+ v4 w# m4 E
  1381. # f+ K0 d' G* o6 ^0 u8 @6 D
  1382. ; Minimum client message severity to display.
    ) W" r9 z1 E: m
  1383. ; http://php.net/sybct.min-client-severity- b3 x% \" o+ N5 \) z
  1384. sybct.min_client_severity = 102 }6 k: X, O; D) D
  1385. ! G6 M. m* S6 y' D1 A0 i: {
  1386. ; Set per-context timeout: S( [8 s) l: q* ^' p/ @$ C
  1387. ; http://php.net/sybct.timeout5 L, p7 |# b) v
  1388. ;sybct.timeout=
    5 j+ T6 w% \: W0 r9 h9 C( S

  1389. # _5 v& @2 a: K3 T- ?: l1 a
  1390. ;sybct.packet_size0 K. q% h: |/ T9 G! B5 q2 a6 Q
  1391. ' N' j4 S+ F! |3 @6 h0 p4 G7 }
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.0 U8 Y/ V7 T7 n  r
  1393. ; Default: one minute
    ) J/ N1 q* c2 a! X. m
  1394. ;sybct.login_timeout=/ t# }5 ~$ N* M, o% T" p9 Z
  1395. * m2 x1 w) Y0 L" w, z  F. F2 |
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    / n1 B8 l/ p% R1 r$ F5 @# U
  1397. ; Default: none6 V; }% K( h3 F* o, P) R
  1398. ;sybct.hostname=
    6 H/ x+ E& d* B' g1 J

  1399. 7 p' L) q* d- r, C" g) ^
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    " G, T6 ~; J$ `/ d
  1401. ; Default: 0
    ' A* I. F2 N2 y2 l- E, ]3 c
  1402. ;sybct.deadlock_retry_count=
    + z8 \4 r$ w3 d( n* B$ h1 t/ U
  1403. # y% d) l% {8 f! t2 x$ g4 l
  1404. [bcmath]
    ; A+ P9 x+ d4 D/ I
  1405. ; Number of decimal digits for all bcmath functions.0 f) C2 w# g1 ?& i- [2 D; e
  1406. ; http://php.net/bcmath.scale
    * A; g0 s6 x- r3 i/ b
  1407. bcmath.scale = 0
    6 [' }9 P* P) P8 g; M7 B

  1408. ( t9 }* P  t+ N, ]2 B1 |2 s- E: a
  1409. [browscap]" \2 o" P  B, G3 k% p8 y" f* g
  1410. ; http://php.net/browscap6 y) O' z! U0 H* L
  1411. ;browscap = extra/browscap.ini
    1 n# `4 M' n: I8 ~2 l3 u

  1412. / Y8 d2 Y* E+ S4 h! u; q0 @/ s
  1413. [Session]9 L! t" F3 j+ J; Q1 N8 Y! h
  1414. ; Handler used to store/retrieve data.
    . @% b5 W7 n1 t) b1 I
  1415. ; http://php.net/session.save-handler) i. n5 r8 L: D7 x7 v- t& J7 o) n
  1416. session.save_handler = files3 e3 |9 j$ w2 N
  1417. 8 }- y7 `" X& y3 n& T9 L
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    + s% j1 a/ p: @0 ?/ m0 ]! j: r
  1419. ; where data files are stored. Note: Windows users have to change this
    ' `! r0 V* I9 L) d$ Y# m% v
  1420. ; variable in order to use PHP's session functions.
    - S+ q0 q3 F( Y. U: j
  1421. ;* H9 H  W, z* f, S( k1 q
  1422. ; The path can be defined as:
    % |9 F4 S: n+ _( d: s. Y
  1423. ;, F  `$ {: ~- Z6 m  B) O5 k
  1424. ;     session.save_path = "N;/path"
    % |) F+ V1 |3 r1 c1 s; H! P
  1425. ;0 _( j5 @$ [/ k/ ]8 \
  1426. ; where N is an integer.  Instead of storing all the session files in
    - ?' K, r# N9 O: d6 g
  1427. ; /path, what this will do is use subdirectories N-levels deep, and% N& Q4 h4 r9 H7 F
  1428. ; store the session data in those directories.  This is useful if
    : K) M+ c, d+ h4 }( L. T; {
  1429. ; your OS has problems with many files in one directory, and is  C( \% }0 v$ q& @8 U$ u
  1430. ; a more efficient layout for servers that handle many sessions.$ Y" g7 d  x* G; v( O) I* f
  1431. ;: f( v2 z; V  v7 s
  1432. ; NOTE 1: PHP will not create this directory structure automatically.1 G3 v1 W7 N- }( G
  1433. ;         You can use the script in the ext/session dir for that purpose.
    $ }- @6 B  j+ y, p& i9 @9 y) I
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    6 Z6 L8 m8 Q) j, ~
  1435. ;         use subdirectories for session storage
    " j. c& r, J& o0 P/ X
  1436. ;
    ! e: l& z$ x/ e% s! s
  1437. ; The file storage module creates files using mode 600 by default.
    2 U1 c7 f0 q% e, ~  g7 k
  1438. ; You can change that by using. W" {& i+ ^. d3 ]; X
  1439. ;$ _* ?# Q8 O- k$ \/ ?! K; }
  1440. ;     session.save_path = "N;MODE;/path") t- n2 \( D% T8 c$ x
  1441. ;
    : p: R7 \  e8 Q5 H) U  c
  1442. ; where MODE is the octal representation of the mode. Note that this; `: C; D% X6 W+ j$ z
  1443. ; does not overwrite the process's umask.
    3 g: v! S7 f8 @
  1444. ; http://php.net/session.save-path' z$ V+ t: B& X, L
  1445. ;session.save_path = "/tmp"
    6 v9 K, V- ?: q+ L! O  a  T
  1446. " j. J+ u" Q: @1 O& t6 ]  s2 ~; ?* j
  1447. ; Whether to use strict session mode.
    # o/ l' M; |! j& o$ k0 W$ O
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ( m3 Q9 j2 w2 h1 z& T, ~+ Z5 l
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    $ a1 {! R: S5 X/ L
  1450. ; applications from session fixation via session adoption vulnerability. It is! e9 v7 G! e0 Z, r/ s
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
      L& v0 u5 L4 v# ^
  1452. ; https://wiki.php.net/rfc/strict_sessions
    3 S2 b; f4 I2 |& x0 Q
  1453. session.use_strict_mode = 0
    " j" A- V$ b7 `4 O
  1454. 2 s1 s6 N/ G  C0 ?7 f+ l0 s
  1455. ; Whether to use cookies.
    : x( {+ n' O  ~1 |5 U( B5 h
  1456. ; http://php.net/session.use-cookies
    " p8 p' @8 e0 C) q/ ~$ D( v
  1457. session.use_cookies = 1
    1 x1 }/ s/ B+ ?* _
  1458. ! u0 z3 Q; l8 o, Y+ {  ?4 B' W
  1459. ; http://php.net/session.cookie-secure3 H; _& g. n' r
  1460. ;session.cookie_secure =0 v4 |. G! e" E- [- b

  1461. ! d) Y/ X$ _* d0 V8 o: L3 g, e
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ( r9 @9 e3 a: @/ l! w% X
  1463. ; the session id. We encourage this operation as it's very helpful in combating2 @# N3 h5 @7 _5 d2 N" J# k. k) |
  1464. ; session hijacking when not specifying and managing your own session id. It is! }$ [& ?0 Z$ e) t# [) @
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) D. H; x6 @& ~6 I- _
  1466. ; http://php.net/session.use-only-cookies. o9 z- L( v0 j% a2 C& E
  1467. session.use_only_cookies = 1
    8 r2 A4 U6 q/ |
  1468. ! [; ~& }; \# S
  1469. ; Name of the session (used as cookie name).4 [$ w6 s8 k! {5 s; a. F, y* u
  1470. ; http://php.net/session.name
    & _% x2 P/ [0 w0 k7 }6 @* W
  1471. session.name = PHPSESSID
    + Q) k) R( J8 W, \

  1472. $ Q3 M* v( d9 l8 E% T* y
  1473. ; Initialize session on request startup.
    2 }  p: y) V- \7 m8 l" F4 W5 Z1 s
  1474. ; http://php.net/session.auto-start
    0 G4 J" o3 W' b. x" i
  1475. session.auto_start = 0
    ( P+ h! g# V4 {8 F6 E' d6 k/ Y
  1476. " d: A* H& z2 o/ j5 K
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    . ]; a& X3 b( D3 P4 Y) O3 y
  1478. ; http://php.net/session.cookie-lifetime
    % O' L+ y: L. r8 Z
  1479. session.cookie_lifetime = 0
    ) y' g2 [' G6 s$ X5 O4 I
  1480. 4 T' O% {+ }, @7 e* l
  1481. ; The path for which the cookie is valid.
    + ~" |9 F8 ^5 L1 i+ }9 M
  1482. ; http://php.net/session.cookie-path
    . _0 F' E. X' ]  m9 O  N$ E
  1483. session.cookie_path = /
    3 q+ k* k7 m' F1 K0 k& Y

  1484. 4 F2 i8 ]0 y7 [
  1485. ; The domain for which the cookie is valid.* z( T$ C: ?! M# Z! W, y) y
  1486. ; http://php.net/session.cookie-domain% U7 p# h1 V5 R1 g6 J( G4 T
  1487. session.cookie_domain =
    7 j, R* C( W: N3 O

  1488. * B0 \) N! I7 l1 O7 ^  N  M0 B
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.( M; t5 a2 s5 c" E/ z7 b4 t
  1490. ; http://php.net/session.cookie-httponly0 X% g; i7 k* r5 l# v
  1491. session.cookie_httponly =) d& e) d4 P5 W& _2 ]. o* _0 t

  1492. ! Y& R& M1 d+ z* O" p- \- P
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    6 d( n1 g: a: p. ^( T+ b
  1494. ; http://php.net/session.serialize-handler6 F8 ]- f, W( A. y
  1495. session.serialize_handler = php
    7 s8 f: d3 F6 Q9 B$ o
  1496. ) x4 A8 y( u5 A
  1497. ; Defines the probability that the 'garbage collection' process is started
    " S/ n% b. F# E$ o
  1498. ; on every session initialization. The probability is calculated by using
    6 r! h% E6 H8 M( L% ]) @+ [
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    7 B0 f4 z, h* k- o. [) F
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1! B& {8 Z( m5 }& d
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 K* Q7 Y) D- I  Z
  1502. ; the gc will run on any give request.( {, t# I6 x1 j- m2 E
  1503. ; Default Value: 1
    * k# `6 s5 f2 @( l  j
  1504. ; Development Value: 1
    + P5 `& V9 R# g* u+ ^2 \% x
  1505. ; Production Value: 19 _  m7 ~8 E+ }5 i, `8 A- H
  1506. ; http://php.net/session.gc-probability0 q' p% S/ m$ s; l
  1507. session.gc_probability = 1
    - l8 P- b( y+ Z4 }9 R4 D
  1508. % \- y- |8 i- U, Y0 U
  1509. ; Defines the probability that the 'garbage collection' process is started on every8 E& J3 k( p+ C8 E, Q7 }& k
  1510. ; session initialization. The probability is calculated by using the following equation:
    0 }- N( C( i) }' G4 o
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and) D3 \9 L  v0 q  d* M4 F
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 11 l! S$ G& n/ t: x! C! B2 F
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( J& e3 K* {/ D0 ^  Q; s
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / t% ~/ M4 X! L- t
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
      j' _' Z! r/ `
  1516. ; this is a more efficient approach.
    2 I2 R( M: S9 K. y. e+ J' H9 j
  1517. ; Default Value: 100
    ! _/ \% s0 p, Q4 F; y! m0 D
  1518. ; Development Value: 1000" O* w( e; R( f' g  C
  1519. ; Production Value: 1000
    4 O% u+ ?. Q7 u4 ~
  1520. ; http://php.net/session.gc-divisor- C" J+ v9 ~  p6 M. `. w
  1521. session.gc_divisor = 1000
    , H+ C3 ^  K# @5 g4 f7 J0 {7 n- h
  1522. 3 y' G3 }5 {! i6 E0 z" r6 T- V6 |
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and1 ?: z6 n& k$ U
  1524. ; cleaned up by the garbage collection process.5 [, z7 g  v3 _, m# {, S/ A9 B
  1525. ; http://php.net/session.gc-maxlifetime1 D0 Q- y5 x  b$ R
  1526. session.gc_maxlifetime = 1440" V+ h# y* p1 D% [, ^+ q& \  ^

  1527.   c9 O) g0 u' V. H
  1528. ; NOTE: If you are using the subdirectory option for storing session files. |1 l# b' j" L6 H& I+ Z+ a
  1529. ;       (see session.save_path above), then garbage collection does *not*- Q! [$ L1 U8 _  K+ H6 H7 K
  1530. ;       happen automatically.  You will need to do your own garbage( l* V4 |, |8 ~9 D- n
  1531. ;       collection through a shell script, cron entry, or some other method.- Z4 s8 u+ y# H
  1532. ;       For example, the following script would is the equivalent of6 _9 f3 T/ u7 l& A- h7 {) t
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
      B  X+ o- K7 i. s5 H' {
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    2 J' Y$ r8 ?* \/ m* I# C4 q0 i

  1535. # P/ l8 h7 j! u- H* e2 V& A4 }
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.% v2 @( i3 R  Q! {
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    % _1 b/ \* O% a* Y
  1538. ; considered as valid.1 t; f/ u8 L! g8 [6 J
  1539. ; http://php.net/session.referer-check% n) @5 |8 g. D+ K/ P! u9 w$ Z
  1540. session.referer_check =
    3 c7 e" T1 ?8 P/ B0 F5 ?; w1 h
  1541. " P3 t/ A+ S/ A1 c5 E' P
  1542. ; How many bytes to read from the file.8 ^( [: f& F/ R+ ^$ ]3 V% @
  1543. ; http://php.net/session.entropy-length
    ) \8 K( K! h' a3 w4 }6 X
  1544. ;session.entropy_length = 32( W  n) C9 G0 R- @8 L
  1545. " R$ ^' g1 V, a/ |% U' W* J% j
  1546. ; Specified here to create the session id.
    / H/ {% s+ o' |$ F( a% m2 Q4 }  d
  1547. ; http://php.net/session.entropy-file0 ^8 n! g! @6 G: c& A  j# f9 k5 @6 d. ?
  1548. ; Defaults to /dev/urandom7 Y) N! A! E* S5 j
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " t, {1 }( y( D5 F+ A8 Y
  1550. ; If neither are found at compile time, the default is no entropy file.
    5 y8 l2 l5 Q; m0 g
  1551. ; On windows, setting the entropy_length setting will activate the
    5 B- `/ p/ a, h, H' Z
  1552. ; Windows random source (using the CryptoAPI)  x) K! e6 k9 I% l
  1553. ;session.entropy_file = /dev/urandom
    / w* q( J& y8 ^0 z; ^+ r9 z- [& J; X7 ~+ w

  1554. . W  |6 H  e! G2 d; A: i
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects" U3 M* ]2 D* I/ p( e* v1 N
  1556. ; or leave this empty to avoid sending anti-caching headers.' |! B% q( \, Q; Z  y
  1557. ; http://php.net/session.cache-limiter
    7 S9 X- b  L" v% ?
  1558. session.cache_limiter = nocache
    ) }# F1 X5 j! h6 {% g2 `; E! t

  1559. 4 O/ h$ @/ W5 U& t7 n  U% m
  1560. ; Document expires after n minutes.
      ~. a. t& X9 x3 }' @
  1561. ; http://php.net/session.cache-expire
    0 ]: K" ]# `+ b3 x# P! u' B
  1562. session.cache_expire = 180
    ! r! m0 W' Q6 M- w

  1563. 6 J% m8 ?# X7 O) T3 o% F6 w
  1564. ; trans sid support is disabled by default.
    4 R1 R0 z( P3 q4 T2 U
  1565. ; Use of trans sid may risk your users' security.
    & H- X1 f2 K0 [  }% Q1 q
  1566. ; Use this option with caution.  S' T6 V8 f. n# u; U: h
  1567. ; - User may send URL contains active session ID
    8 b! |+ o+ Q7 _4 Q( {2 O3 V. ?
  1568. ;   to other person via. email/irc/etc., c0 [+ I0 r, a' e) ]. A9 V
  1569. ; - URL that contains active session ID may be stored2 D- B" Z, H/ M# X0 v/ K
  1570. ;   in publicly accessible computer.
    / T6 e  Y  W& N' `3 u7 A
  1571. ; - User may access your site with the same session ID$ V& }% r, ]# M3 f/ M0 Q2 s' D% u
  1572. ;   always using URL stored in browser's history or bookmarks.
    7 g$ t9 {' P4 s- ~6 \- X
  1573. ; http://php.net/session.use-trans-sid
    8 h7 w6 w6 T! I5 `- v6 z
  1574. session.use_trans_sid = 0
    ; Z* m0 j# O4 a1 `) e. [, |

  1575. $ p. ~5 J- w7 J0 E/ c# S+ K1 \. ^+ g. R  Y
  1576. ; Select a hash function for use in generating session ids.  X0 S' w; B9 a- K$ x( U  J7 z
  1577. ; Possible Values
    . Z- ]$ {) J8 M- t/ P
  1578. ;   0  (MD5 128 bits)- [9 C) n; {" d, t
  1579. ;   1  (SHA-1 160 bits)5 Q% Z6 z  h  ?5 ?7 E1 L1 L
  1580. ; This option may also be set to the name of any hash function supported by- y) U( d  U' f
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()1 W- D8 S8 S% _! ^* f
  1582. ; function.' p7 ~2 g9 f' y# f8 ?
  1583. ; http://php.net/session.hash-function7 G, h) |/ f0 h: h
  1584. session.hash_function = 0$ [1 O' j. _. h2 `# p

  1585. ) }# w: O+ Y, s; k
  1586. ; Define how many bits are stored in each character when converting+ ^) D: k' {) n3 h$ b. ?/ z9 }- r  k
  1587. ; the binary hash data to something readable.8 N7 V2 Q' l% L9 ?2 s
  1588. ; Possible values:
    8 Z: `' H! i0 B! S  C* l% m
  1589. ;   4  (4 bits: 0-9, a-f)
    / h- K7 |* c' X; ^1 s! v
  1590. ;   5  (5 bits: 0-9, a-v)
    " _" S9 W8 N5 B8 k4 o* v4 q
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")' Y8 q* Y# H; v6 t, y  t- C
  1592. ; Default Value: 4. ^: M$ L1 _2 s- ?) S5 `8 x
  1593. ; Development Value: 59 X' E  ]7 d# x2 S% L
  1594. ; Production Value: 5
    5 R) M, b& L2 @, P0 t4 u- f& {
  1595. ; http://php.net/session.hash-bits-per-character& p5 J; v/ |- M# g% f3 F
  1596. session.hash_bits_per_character = 5
    ; M& E0 `) u3 x* r: w6 W

  1597. ! B( k( O9 J; j* @( b
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
      Y/ ~" |/ r3 u$ s- @4 Y
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    + r( [0 j  Y* [+ k
  1600. ; add a hidden <input> field with the info which is otherwise appended1 G% A2 l6 h1 y( B5 I3 M
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    & t, b* N/ j5 }3 K2 }8 D/ w+ o
  1602. ; Note that all valid entries require a "=", even if no value follows.$ _, N8 N5 {/ W& \, B9 X
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ x# G2 ?. i5 ^6 a5 ~* a3 L- ?9 w* T; E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 u" T9 F6 P1 _4 b! S" U7 ?
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ b8 S7 U! h( R
  1606. ; http://php.net/url-rewriter.tags$ J( T2 p7 p- b; e: n
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- Z# l8 H3 Y/ E( `) J& z0 Q

  1608. % t3 K8 I/ L3 o& y9 {
  1609. ; Enable upload progress tracking in $_SESSION! |: z; i7 U. N( q& W; b
  1610. ; Default Value: On" w- e2 D4 A# o; k1 H6 X3 Q2 V
  1611. ; Development Value: On
    - I9 `3 t8 E2 `% A% q8 ~
  1612. ; Production Value: On
    2 i5 {( m' I, T) L& v: d4 d
  1613. ; http://php.net/session.upload-progress.enabled+ l' b( Z+ d  ^  K* P3 x
  1614. ;session.upload_progress.enabled = On
    6 F* m9 A0 Y2 L) g5 u5 e3 I# c

  1615. 3 ]* z6 G0 F7 }# k5 t# K0 ]
  1616. ; Cleanup the progress information as soon as all POST data has been read
    , X2 {2 s  D/ ^3 w# f5 o6 A* G4 m* b
  1617. ; (i.e. upload completed).
    6 M! V9 w( f) C) I& @2 f
  1618. ; Default Value: On: }& g) a' h/ D$ H& @1 o1 I& W% q
  1619. ; Development Value: On
    ' b# H1 M9 t0 G+ W) l4 `3 O
  1620. ; Production Value: On( j! r0 N5 ?& O* q- Z* ^4 V* l1 p
  1621. ; http://php.net/session.upload-progress.cleanup
    5 A' S4 ~8 w" C- Y7 [
  1622. ;session.upload_progress.cleanup = On
    + p$ {/ I8 ^1 f- A% {) }
  1623. 7 H% l. i- p( B1 ]. `! ?/ M
  1624. ; A prefix used for the upload progress key in $_SESSION" Z6 _- ~. {2 ]
  1625. ; Default Value: "upload_progress_"2 }7 _: L4 m, M
  1626. ; Development Value: "upload_progress_"  b4 U3 Y: d1 h7 G
  1627. ; Production Value: "upload_progress_"0 h% ?) Y8 X8 k" H
  1628. ; http://php.net/session.upload-progress.prefix
    ) J. L, s( R0 b' G. E% ^
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' E' Q3 X8 u/ H8 x9 F
  1630. 4 l- L& R* T; O
  1631. ; The index name (concatenated with the prefix) in $_SESSION# d4 R0 i1 ^( @( W' E
  1632. ; containing the upload progress information
    8 K) @- E# M& [3 ?
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - e( e. H" F0 x- J
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- `7 f. {- A. C8 J
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 V4 y3 d  h' Q. q0 m( O
  1636. ; http://php.net/session.upload-progress.name
    + f: W. p- e" ~. G
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"  P7 `! K; d( G- d4 e
  1638.   s4 W  u7 ?& r* n6 k( f* w
  1639. ; How frequently the upload progress should be updated.& a+ r  M; y) p3 ]2 k
  1640. ; Given either in percentages (per-file), or in bytes, _3 X6 o( t2 L* E1 y
  1641. ; Default Value: "1%"
    6 q8 @& f% j; u0 D- b
  1642. ; Development Value: "1%": r6 g( a& s4 H8 y5 e8 g: i& T
  1643. ; Production Value: "1%"
    % D/ p5 R$ p6 l+ @) V* v5 A
  1644. ; http://php.net/session.upload-progress.freq
    - S# c% \. G9 n% O
  1645. ;session.upload_progress.freq =  "1%"
    ' q( F- p3 `: K) E( e

  1646. 5 o6 d5 e; D* E* x. Y) ^0 ^  S
  1647. ; The minimum delay between updates, in seconds9 \+ T6 ]; T( H" a6 ]: t) `7 i7 q
  1648. ; Default Value: 1+ r0 s  i# X3 I8 T9 A( X
  1649. ; Development Value: 1
    9 o+ S2 O' Y$ z5 i
  1650. ; Production Value: 1
    1 N+ `2 P+ F. m0 N
  1651. ; http://php.net/session.upload-progress.min-freq0 _+ \$ J) x4 \; c4 ?$ n& j
  1652. ;session.upload_progress.min_freq = "1"
    3 w: `6 T6 S# f: p
  1653. 3 D  P7 ~- O2 G' O, {( _& D
  1654. [MSSQL]0 }# X  s. `# c5 @0 s4 |, k
  1655. ; Allow or prevent persistent links.
    + A0 |( O3 O# Y* O
  1656. mssql.allow_persistent = On
    5 l  f6 T0 ]4 x
  1657. % A* D: S1 g& y- n6 \4 J; b. R
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ; l: x; N5 c9 ?; Z! {5 v
  1659. mssql.max_persistent = -14 q/ i8 T) @6 V6 [6 M5 G# ]
  1660. ) v) ?0 v3 h/ y1 |( i: z8 o3 W
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , F3 \( |9 A$ Z6 h; c
  1662. mssql.max_links = -1
    . h4 I) W  l, n: s; d! }& V$ h

  1663. ) v+ {2 ^& y" F
  1664. ; Minimum error severity to display.5 U. t- J# w4 U, i4 k- }% _* ~$ R
  1665. mssql.min_error_severity = 10
    $ W8 A5 ~- [- f% K2 _- ^5 P

  1666. ' F  s' \/ ]1 k
  1667. ; Minimum message severity to display.
    1 t4 e) a3 `, P7 D# b
  1668. mssql.min_message_severity = 10
    : I! P/ `2 t+ R3 @) d- w
  1669. . W( v& `" G8 Z0 j% |
  1670. ; Compatibility mode with old versions of PHP 3.0.! B( Y3 m! A# k& x
  1671. mssql.compatibility_mode = Off' T% k  \+ v" s: S1 ^& X

  1672. 9 l. h& W0 x$ \7 s; N: Z0 N
  1673. ; Connect timeout9 G$ i: r! v/ l" B! _
  1674. ;mssql.connect_timeout = 5; d) D9 ^9 q" B- O' E" j

  1675. 8 o( }# |# {7 Q  m* V$ B" }& w; F8 T
  1676. ; Query timeout; A- r; W9 P% |$ U8 }+ \4 B
  1677. ;mssql.timeout = 60
    " P$ ^, W  F' z2 @$ A/ i% a
  1678. $ a9 M8 \6 K5 C: o4 M& j4 s  I! J
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ; [) {+ r+ M% `3 x" {
  1680. ;mssql.textlimit = 4096
    5 b* K( U6 r' ]  v  A

  1681. ! U. m3 U: |7 I* w4 w7 k
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    6 i, Q& n& U6 ~7 y$ P
  1683. ;mssql.textsize = 4096% C8 c; s8 ^$ O- r: N
  1684. * k( y: }& \: m' |( n6 t
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ! \) Z/ r! `- ^. O  V$ s
  1686. ;mssql.batchsize = 00 H! }- t2 o) i# y) V/ p" E
  1687. 8 G1 y& ^. E7 ]2 @$ J. D6 E
  1688. ; Specify how datetime and datetim4 columns are returned
    ( v6 {; N  X2 E! W3 h
  1689. ; On => Returns data converted to SQL server settings
    3 A% Q1 y+ G  |1 S7 V9 e1 L
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    4 A+ c8 h+ f$ ]! l
  1691. ;mssql.datetimeconvert = On
    ) t) [. `. t9 a7 ~3 a1 v0 A* O

  1692. + e& h+ J7 v& z* J7 r
  1693. ; Use NT authentication when connecting to the server. J2 I. D' a  @/ z" l
  1694. mssql.secure_connection = Off1 Y% g1 z+ K( G  s4 U
  1695. & p& o0 s) Z, k! a$ [% j- x
  1696. ; Specify max number of processes. -1 = library default: \/ S5 u/ v. C" x/ ~
  1697. ; msdlib defaults to 25$ \7 p2 i$ b; E" l. \. ~/ g
  1698. ; FreeTDS defaults to 40965 \! _, f5 s# n, m6 l3 i
  1699. ;mssql.max_procs = -1; [7 ~9 E! @! M  ^& h: N7 }
  1700. ; b, J) I* z' L
  1701. ; Specify client character set.
      S2 T8 m0 {" ]6 n4 _
  1702. ; If empty or not set the client charset from freetds.conf is used% k' N' \" X9 i. h: F, [  o9 H
  1703. ; This is only used when compiled with FreeTDS% H" j: T, c' g) {8 }$ y( O
  1704. ;mssql.charset = "ISO-8859-1"
    5 H0 X1 G# H7 J% W

  1705. & ^2 j: `' u: e
  1706. [Assertion]9 M3 f' m5 m' }. E; B3 O
  1707. ; Assert(expr); active by default.
    ! H5 p5 \+ w' Q
  1708. ; http://php.net/assert.active5 n; W& C9 R1 `* l
  1709. ;assert.active = On  Z2 {) @5 E! `
  1710. 7 V/ o0 C+ l1 _$ e# U# t; v
  1711. ; Issue a PHP warning for each failed assertion.7 i! _( H$ l$ N8 R  ?6 X3 r
  1712. ; http://php.net/assert.warning
    * T! Y# {+ u7 f' M
  1713. ;assert.warning = On
      y! N# e+ p* N8 d& h) h' g

  1714. . b6 U, G" t7 G# N  B# S9 c
  1715. ; Don't bail out by default.
    3 e8 Q5 ?) g: L6 g( F
  1716. ; http://php.net/assert.bail
    3 ]) I+ V6 n3 r( U, R
  1717. ;assert.bail = Off# _' t8 w& y+ `$ Y9 w. x" R
  1718. 4 z" ?! t$ V/ n
  1719. ; User-function to be called if an assertion fails.: d* F1 Z& R" q1 |
  1720. ; http://php.net/assert.callback. Q! D( a$ h- i; z3 H7 f
  1721. ;assert.callback = 0
    4 b+ @4 q/ i6 f: |4 B/ S1 T  y

  1722. - \+ I: t7 Y6 }
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    - h6 u% [7 E, B! P& O4 u% c
  1724. ; error_reporting(0) around the eval().3 ~5 r3 Q) y1 Z6 x1 S0 N
  1725. ; http://php.net/assert.quiet-eval
    7 J+ x; {  {/ w0 m" ?. {
  1726. ;assert.quiet_eval = 0
    $ h' S8 U' q( w  @. e5 d7 R

  1727. / W" }  y6 q- Q3 d9 f
  1728. [COM]
    # r9 s; M5 C6 o5 y3 x( B
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # U' M, m, K: b& K3 n" S
  1730. ; http://php.net/com.typelib-file- h" h* _/ o# W6 Q! j+ q8 ^
  1731. ;com.typelib_file =
    + z& j0 b6 U4 b) X' L

  1732. * }" |+ |- O3 L8 Q! {
  1733. ; allow Distributed-COM calls
    % b7 c7 q) s3 o! N, r  M# G
  1734. ; http://php.net/com.allow-dcom, {0 Q9 C, `% s2 m$ G7 u
  1735. ;com.allow_dcom = true4 y7 _1 t2 a" Q+ m

  1736. ! K) V4 g1 n2 Z( `9 F, n
  1737. ; autoregister constants of a components typlib on com_load()
    - n2 C6 h% f4 i+ ]
  1738. ; http://php.net/com.autoregister-typelib
    , z5 ]. I: w+ r# t
  1739. ;com.autoregister_typelib = true/ r$ C5 @' c5 r

  1740. / H" O+ R6 t0 L: p* w
  1741. ; register constants casesensitive
    2 c$ b8 j8 L- K* z; t
  1742. ; http://php.net/com.autoregister-casesensitive
    , P% g7 C+ h0 [* B+ q$ ^
  1743. ;com.autoregister_casesensitive = false
    8 H* `; U  w, t0 I

  1744. " K, n' N' J+ @! X8 f1 }6 {
  1745. ; show warnings on duplicate constant registrations' A7 Y7 {+ u' _
  1746. ; http://php.net/com.autoregister-verbose
    & V. `& U6 e1 t9 b$ `8 [3 A# H
  1747. ;com.autoregister_verbose = true3 V; G' Z  H0 }2 A" k3 X4 ^
  1748. % b( d- P: e/ k: t- A- z. ^- X
  1749. ; The default character set code-page to use when passing strings to and from COM objects.( ~* s) E, P, [# Y7 d) j* B
  1750. ; Default: system ANSI code page
    & W2 j& h5 @  @& W
  1751. ;com.code_page=/ g  g. p& h4 ?8 N

  1752. 3 g5 h# j- Z$ ~" m! a. Y
  1753. [mbstring]
    6 |& q8 @6 B; ?6 @9 {
  1754. ; language for internal character representation.0 A0 D+ T' v( a4 M6 P$ T9 r
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    / h) E. w5 r+ X- j, `: i' g, k
  1756. ; http://php.net/mbstring.language7 o( N+ q6 x' n) c  B; A
  1757. ;mbstring.language = Japanese* d0 W! L+ y3 {

  1758. 0 h2 v) s, H4 S0 `2 |  F  E% ]
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 Y: ]) W7 O- ^
  1760. ; internal/script encoding.1 j" o9 p# R2 _# \1 _
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 l( [7 G  N$ l+ N" k
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 o! ?, l( H7 V- W" g
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 T3 y# t+ ~* F! F  M; A( ~
  1764. ;mbstring.internal_encoding =  p7 y+ \' k0 \

  1765. 4 H+ P1 N. {0 v; v& _, O
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.  S+ B& o. C5 w& A! T. f
  1767. ; http input encoding.
    ; k3 {% `; f- |) f5 k
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.7 ~* h+ U5 W# T0 q) |$ [
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.) l" V# P, l5 s; o1 T$ `2 Q! J
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 k9 {5 v& U! l/ n5 O' m1 r( ~
  1771. ; http://php.net/mbstring.http-input7 B4 G) c& d! l( ?3 u# L
  1772. ;mbstring.http_input =
    # Z. `/ L' x$ q5 P! S) r
  1773. 0 V$ y3 k& n; |
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ b8 [* ~; I- J" W0 R% f; h
  1775. ; http output encoding.
    " d% Q' O) }. Z/ P& u# S% b9 |
  1776. ; mb_output_handler must be registered as output buffer to function.
    $ L& }# B1 G% `+ p, i
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# ?6 a8 S# i& {3 H3 z) I
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output% I9 V# c2 `; \. W3 c
  1779. ; To use an output encoding conversion, mbstring's output handler must be set5 _$ U9 _* `# @8 h# e, g; Q# O' H& z# Y" G
  1780. ; otherwise output encoding conversion cannot be performed." N. K8 [1 K% i+ @$ J, ?0 M
  1781. ; http://php.net/mbstring.http-output
    2 P& O% d' u( n$ U
  1782. ;mbstring.http_output =; ]5 `5 U4 a- O4 [3 _5 J' [
  1783. 5 M5 l0 S: {7 p' T0 d# x
  1784. ; enable automatic encoding translation according to4 p+ j3 Y4 w* Q
  1785. ; mbstring.internal_encoding setting. Input chars are2 ^. V* |- {  \1 Z* n8 z9 l
  1786. ; converted to internal encoding by setting this to On./ [/ ^1 _! _) R- n4 f
  1787. ; Note: Do _not_ use automatic encoding translation for
    . e2 q% R  p0 i3 G1 @& l4 H* ~6 R
  1788. ;       portable libs/applications.
    1 V% c& V& Y+ ?
  1789. ; http://php.net/mbstring.encoding-translation; [3 p+ X: ^$ W1 ?
  1790. ;mbstring.encoding_translation = Off' e8 d* t: B3 B4 _6 W

  1791. ( H) h% m( R# r5 x
  1792. ; automatic encoding detection order.
    : B) x: M7 c3 {" P9 k* F
  1793. ; "auto" detect order is changed according to mbstring.language
    # i. M9 \# K) G2 S4 p
  1794. ; http://php.net/mbstring.detect-order
    # r) u: |7 J% l' z  r2 k0 |
  1795. ;mbstring.detect_order = auto
    $ Z# q" o7 e5 M& t$ `( ]( x: ^8 f0 j& i
  1796. ' t$ k: s# }2 N  b* e: z/ R
  1797. ; substitute_character used when character cannot be converted
    % ?* o* b, _& E# K$ Q1 B' u9 j
  1798. ; one from another
    , d  A$ C) f1 Z* L9 E+ U
  1799. ; http://php.net/mbstring.substitute-character4 m  O1 i2 v- k( Z' u/ I6 ~! a
  1800. ;mbstring.substitute_character = none( l8 G; U" t% X, t

  1801. ' V$ [" d& g5 a, J5 k& f: p, ?4 C
  1802. ; overload(replace) single byte functions by mbstring functions." D7 f: ?5 t& n3 G+ I
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( B( c: L, Z: G$ h6 P7 @# l9 {
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.! e  t% p8 \$ O0 L0 h
  1805. ; For example, 7 for overload everything.
    # U" r/ I$ P0 z/ q* y% J
  1806. ; 0: No overload
    4 U1 c8 z( X! W* v
  1807. ; 1: Overload mail() function
    1 b: o. L0 {- O. o: c+ u6 c+ k
  1808. ; 2: Overload str*() functions. H( x  n, h: r$ Y1 _/ ?
  1809. ; 4: Overload ereg*() functions6 E$ w9 B% U" ]6 R
  1810. ; http://php.net/mbstring.func-overload
    1 ]1 a3 ?: q0 a' r6 b. Y* e2 \( n
  1811. ;mbstring.func_overload = 0
    $ _) ^- t$ h% g  O* }3 E

  1812. 1 Y) k& \; }! K6 n: l4 U) }8 Z3 U1 \
  1813. ; enable strict encoding detection.# {+ i- ~* ^' U) o' C6 e  V
  1814. ; Default: Off* c1 {/ i  B1 \; L0 s, B
  1815. ;mbstring.strict_detection = On2 B% n4 H+ I& d
  1816. " t0 U; S; Z8 `, I! d- C
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()- S& x3 l2 a) G
  1818. ; is activated.
    ) M  ]$ X2 j4 Z2 s
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ w/ e& H& J3 J: H
  1820. ;mbstring.http_output_conv_mimetype=
    : ~1 C& k# T! W' f; h0 a

  1821. ( C! h, p4 F8 s/ e  [  E! b; H4 l
  1822. [gd]9 r  N- n. b+ U0 @  U+ R; @
  1823. ; Tell the jpeg decode to ignore warnings and try to create- E( S# n+ E9 b3 S7 m8 E
  1824. ; a gd image. The warning will then be displayed as notices) d# h) |; }0 l1 a8 z- ^
  1825. ; disabled by default! l6 k0 G; \1 {/ U  J) e
  1826. ; http://php.net/gd.jpeg-ignore-warning
    8 s: E8 H6 l/ S
  1827. ;gd.jpeg_ignore_warning = 04 \$ R( b; b0 i# g

  1828. 9 d0 m4 ^  h5 t1 e
  1829. [exif]
    5 `5 d- z$ _* k5 l
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % g( M" ]+ T7 u+ }0 \8 ~5 U+ Y! S9 \! O
  1831. ; With mbstring support this will automatically be converted into the encoding
    & K, \( k( Y* }/ X9 K1 L" u1 Q2 s) L
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding/ V& X6 ]; v8 v) |" E9 w" t
  1833. ; is used. For the decode settings you can distinguish between motorola and' ^# M: ]2 G9 T! T5 E( J9 F! \, N
  1834. ; intel byte order. A decode setting cannot be empty.& Z" ^, W; |: _+ S. J- q( f- Z
  1835. ; http://php.net/exif.encode-unicode/ J# Y( w! M; T8 F  Y
  1836. ;exif.encode_unicode = ISO-8859-15
    1 I6 H7 {9 l0 Q
  1837. , r. K  e3 t8 O% ?) ~
  1838. ; http://php.net/exif.decode-unicode-motorola
    + x# I, d6 a( n) h# }
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    + o: k; k5 d: m  {
  1840. . Y( H0 u6 F2 K2 v* x' I
  1841. ; http://php.net/exif.decode-unicode-intel7 F+ ^9 a$ H, c# T
  1842. ;exif.decode_unicode_intel    = UCS-2LE5 U% Z/ U& S4 [+ F" S5 O' S

  1843. ' t7 t  T- m' _& V1 L5 F2 T( B3 O
  1844. ; http://php.net/exif.encode-jis
    $ J7 Z+ {+ N$ h3 j
  1845. ;exif.encode_jis =
    0 q. [) A. v$ [$ Q( [
  1846. 6 Q* n5 X1 S' {
  1847. ; http://php.net/exif.decode-jis-motorola  R$ o1 L  H0 y$ m5 L. E* |
  1848. ;exif.decode_jis_motorola = JIS
    / w) C5 }  K6 q/ N/ e+ j
  1849. " P& ]2 q# U* B+ j2 K6 a
  1850. ; http://php.net/exif.decode-jis-intel8 q3 P& ]4 U- O% [( E" G& D
  1851. ;exif.decode_jis_intel    = JIS& r0 K3 t5 `* N
  1852. - j1 e0 W& c# ]9 q
  1853. [Tidy]
    5 ?% T* v$ j8 Z
  1854. ; The path to a default tidy configuration file to use when using tidy
    ; J3 W6 p, C6 d4 N8 S' W1 I5 b
  1855. ; http://php.net/tidy.default-config
    4 Z, w$ F+ S# N+ A6 H
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg! ~! t" m9 ]" B/ a1 G& S

  1857. $ f( T& R" F  H/ r
  1858. ; Should tidy clean and repair output automatically?
    . J9 t2 b% b- X, M% _5 m# {
  1859. ; WARNING: Do not use this option if you are generating non-html content
    3 G9 w& y5 a( y' s( P
  1860. ; such as dynamic images, j* F# g" |3 X2 |' e" ]% c' W
  1861. ; http://php.net/tidy.clean-output
    ! y. n/ A7 Q1 O6 ~2 D. N
  1862. tidy.clean_output = Off/ U/ g6 l9 s2 D/ w& t) D# V7 ~8 ?. `9 m
  1863. / d; h% h! R7 E( Z( N! Y
  1864. [soap]9 U" e, b' F" b- A- x# H# D
  1865. ; Enables or disables WSDL caching feature.! z% c7 O& A4 c- }- ~8 X
  1866. ; http://php.net/soap.wsdl-cache-enabled
    $ ?0 g: W- P4 H7 E: l; O
  1867. soap.wsdl_cache_enabled=1
    0 Y' v! x- o6 ^, c
  1868. * e! N( P, {8 A! @# Y& ~0 O1 h
  1869. ; Sets the directory name where SOAP extension will put cache files.% `' Y+ T: s/ k
  1870. ; http://php.net/soap.wsdl-cache-dir
    ; f4 }! Y5 i4 Q5 o; W% v
  1871. soap.wsdl_cache_dir="/tmp"/ r/ X, O  ]' J6 c, l- F

  1872. 8 T9 I$ D5 j$ ?) c
  1873. ; (time to live) Sets the number of second while cached file will be used" ^+ ]$ E) _& s4 p  \
  1874. ; instead of original one.' k7 p' O2 S4 R- v+ m3 @& O& M
  1875. ; http://php.net/soap.wsdl-cache-ttl. i9 L1 W8 @: X3 \, y  C7 T' H
  1876. soap.wsdl_cache_ttl=86400
    ( u# M* r# b6 ]7 V0 l8 M) s: K
  1877. & V$ r3 H/ E) b' v5 Z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    4 D  z3 ~9 D2 o3 r
  1879. soap.wsdl_cache_limit = 5
    5 F6 t9 }2 a# U+ Q6 s
  1880. & ~, l" U& t% Q$ D4 o( T/ S
  1881. [sysvshm]$ ]  t  }8 O6 G
  1882. ; A default size of the shared memory segment: D7 a9 J4 H+ K
  1883. ;sysvshm.init_mem = 10000: s8 s0 x) B* Q0 Q2 I* T- D
  1884. 3 ^1 P' E- k1 O- |; k; ^+ B
  1885. [ldap]7 L& I1 Z) W2 s1 o9 ?" Z2 g& x
  1886. ; Sets the maximum number of open links or -1 for unlimited.2 T' F6 `2 w" w2 w9 @, H9 p
  1887. ldap.max_links = -1
    ! `5 b& H( J# R4 A' M8 g
  1888. - _: k- K5 c% ^7 l* v6 O! N
  1889. [mcrypt]
    ! I, h' \3 X' X0 e/ h* O
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    * H5 Y- f8 c  R% U; V" t

  1891. * j; b5 ^, [& w2 R  _* d- @
  1892. ; Directory where to load mcrypt algorithms
    : [: F0 L( h- Y6 A5 J+ F) g- g
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 ^6 H0 c$ f4 ^- V
  1894. ;mcrypt.algorithms_dir=
    ) X) [: N2 u. K" c2 R  |
  1895. ' N* j! Y) H! H+ a- g
  1896. ; Directory where to load mcrypt modes" s2 g9 m" ~7 b& }1 Y8 E
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 `7 \" l) o$ H
  1898. ;mcrypt.modes_dir=- d2 J- i5 `, O) g
  1899. ! e- m& k9 X" o5 k
  1900. [dba]
    : h5 [" y2 F9 k
  1901. ;dba.default_handler=3 e5 M. [2 ?/ t' T  l, V0 Y

  1902. / H/ p: i! h6 x' x+ ]4 F
  1903. [opcache]
    + W& X, L- ?! J$ e
  1904. ; Determines if Zend OPCache is enabled* z, }" U$ m, |9 \
  1905. ;opcache.enable=0
    / b4 }( m7 w! |+ N0 ^

  1906. 3 Y: Y$ ~& H" S9 l2 `
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : k8 y; u  g- k. w4 Z; N
  1908. ;opcache.enable_cli=0: Y5 V5 G! y6 |' ^4 S; H

  1909. ! q/ X+ g! |# x
  1910. ; The OPcache shared memory storage size.
    1 F5 v5 o* {: A# d7 E
  1911. ;opcache.memory_consumption=646 D  l# ~: P3 D: P' @

  1912. ; |3 R. s* w$ K+ U+ A9 L7 o
  1913. ; The amount of memory for interned strings in Mbytes.+ B# y, Z$ r; {, k9 b; @
  1914. ;opcache.interned_strings_buffer=4
    6 v7 B+ K" e2 B+ m' |) g
  1915. 7 r/ K/ d( G9 j3 ?3 ]" J: V
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.+ T, J* r* J+ u, W
  1917. ; Only numbers between 200 and 100000 are allowed.# N1 `" x! O" i
  1918. ;opcache.max_accelerated_files=2000
    ( c: G! I/ s, X+ M  h1 g1 \

  1919. & P+ C- g- T: R
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.0 v" m; g: G6 \4 _% W
  1921. ;opcache.max_wasted_percentage=5
    % @! h, E8 a) H& g
  1922. ( O; c4 c" w& @$ Z( A: `+ ~$ S4 N
  1923. ; When this directive is enabled, the OPcache appends the current working
    " N- O) D- v: H/ s5 l# e% y
  1924. ; directory to the script key, thus eliminating possible collisions between9 K) Q3 }$ s1 q* R- Q3 G5 `- ~  g
  1925. ; files with the same name (basename). Disabling the directive improves
    * D- P' m5 @7 z: p9 E
  1926. ; performance, but may break existing applications.
    ! ^4 r$ L0 W0 \- W: p5 G
  1927. ;opcache.use_cwd=1$ x6 d, F2 E  s6 t$ _4 r" W$ Q+ l
  1928. : P2 J4 B. m  l9 s6 M, M; U
  1929. ; When disabled, you must reset the OPcache manually or restart the  `4 l) N7 S, E4 X. e) D
  1930. ; webserver for changes to the filesystem to take effect.( j+ w, _& c+ ?
  1931. ;opcache.validate_timestamps=1& t! Q' P+ K2 J5 x$ Q
  1932. 7 J$ |  {5 [0 g3 C+ E5 ~
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    * Z* f: ]* I) m  X* d, w6 j
  1934. ; memory storage allocation. ("1" means validate once per second, but only- Z; N4 o) c, I
  1935. ; once per request. "0" means always validate)% a4 Y# S: d, q6 n
  1936. ;opcache.revalidate_freq=2# J6 Y% r) V! a4 T$ b. G" m, ^

  1937. ; [' A! O1 I2 F
  1938. ; Enables or disables file search in include_path optimization3 ~7 K: Q0 F+ q. S: C8 u
  1939. ;opcache.revalidate_path=0
    ; h6 m/ s+ C0 r8 _9 y2 H! S

  1940. ) {1 F4 A7 c/ R' k& W
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    . D; S" ~# Y7 a4 a8 q. S: {
  1942. ; size of the optimized code.
    7 C3 A* Q. c$ `
  1943. ;opcache.save_comments=1# S: ~& M$ [- T- }" v4 O0 r4 }

  1944. 9 g* f+ k' t# B# h7 o4 a/ `
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    4 [% [* v9 f5 W
  1946. ; may be always stored (save_comments=1), but not loaded by applications& t5 v$ A& F( y/ w# V! f) o+ x
  1947. ; that don't need them anyway.
    $ e6 G, |. S- B# A2 w, S& [4 A" Y
  1948. ;opcache.load_comments=14 L0 j& n( `" U: C, K

  1949. . B8 w$ G& d- ?  p- B
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code$ `! x6 G5 g8 G
  1951. ;opcache.fast_shutdown=0
    ' z2 z9 K: @: t. f' H; |, \
  1952. + t9 J/ Y- h3 S1 j* R0 f
  1953. ; Allow file existence override (file_exists, etc.) performance feature.$ \% N$ r) `' h3 ?/ t
  1954. ;opcache.enable_file_override=0' h9 M2 a, {! q/ {5 J+ f3 q( D
  1955. : R8 m9 O0 B% Y) H" i7 }
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - |+ [2 [7 W/ g' |4 j
  1957. ; passes
    ( a5 }; n4 ]% x
  1958. ;opcache.optimization_level=0xffffffff
    % {) w5 f$ @. L* w1 z& j
  1959. . ]& N. Z) p1 w: s1 D- i5 x) L
  1960. ;opcache.inherited_hack=1
    " l4 z% ?' c! e2 c/ @- g
  1961. ;opcache.dups_fix=0
    ! W2 Y( u5 G: r* ~  k8 Q6 p" q

  1962. 6 h& a1 h' D* f. `
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    : G, K: R2 u# C) S. F! g: W, l( O
  1964. ; Each OPcache blacklist file is a text file that holds the names of files7 y+ X+ d7 j1 x0 G3 x7 J) a7 m. e
  1965. ; that should not be accelerated. The file format is to add each filename
    ' b4 M! Y0 H5 I1 `
  1966. ; to a new line. The filename may be a full path or just a file prefix
    : ?- O4 P$ i5 c5 B, M
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; f6 g, L( w. Q, V
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).: y& s7 m* L# e9 j3 C# o: \* C
  1969. ;opcache.blacklist_filename=7 j! |5 O6 q6 M1 w9 ?! V, P# ~
  1970. / x/ i8 O9 N! O2 T9 l
  1971. ; Allows exclusion of large files from being cached. By default all files( [9 _% {" V, k8 q# F: L& C7 v
  1972. ; are cached.
    ( w# A/ u* d8 C( X$ k( x
  1973. ;opcache.max_file_size=0
    " N; w4 u7 T! L" x( }/ g* o' F

  1974. 4 Y6 h7 n: l1 @8 |8 j
  1975. ; Check the cache checksum each N requests.  h4 Q$ S- K- j
  1976. ; The default value of "0" means that the checks are disabled.5 n; ?) j( {& v+ @: `
  1977. ;opcache.consistency_checks=0# d3 P3 q" u# q
  1978. - Q) X3 Z( n9 D8 y2 X6 T, p$ i2 n
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache8 G# h: e9 g% R( |7 z* W& A4 ?
  1980. ; is not being accessed.
    8 o$ M7 d/ q' O3 P( t+ `6 J, k  m
  1981. ;opcache.force_restart_timeout=180
    ( ?3 C: Z  h8 m0 w
  1982. 8 [5 x& m; {, r: ?9 H8 u$ d
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    - X: \1 X: R9 b/ Y: q
  1984. ;opcache.error_log=
    3 V- @' L3 a& r- q* `. d
  1985. ' V9 W) \1 R3 ~" S- V3 a# @/ ?
  1986. ; All OPcache errors go to the Web server log.
    7 I* J& ?5 I0 S$ a3 r$ ?
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    $ c& k' }# Z, t
  1988. ; You can also enable warnings (level 2), info messages (level 3) or/ u1 z8 g: J, U3 k) H
  1989. ; debug messages (level 4).
    4 Q6 q+ P3 F) d' j9 t* [7 v1 N/ ?
  1990. ;opcache.log_verbosity_level=1
      ~% K+ x% |; I* d

  1991. - S0 ^+ M) m  e2 R
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.# E0 d/ E: g1 R
  1993. ;opcache.preferred_memory_model=
    * ]4 x& V8 q* n9 ?

  1994. 0 O8 ^1 T) v7 j& T0 Z
  1995. ; Protect the shared memory from unexpected writing during script execution.
    / y2 q/ g# x9 Q7 J8 o/ n2 B
  1996. ; Useful for internal debugging only.
    ( Z9 m1 w* N) Q9 \0 x& G8 O1 z
  1997. ;opcache.protect_memory=0
    7 U4 B+ S) T8 ^  y

  1998. * E) X" E0 q+ d( a0 _
  1999. ; Validate cached file permissions.3 X1 f$ S2 F( H5 i) P& V2 i) H
  2000. ; opcache.validate_permission=0
    2 h: _& _) M8 c- O! {
  2001. & J& v6 @; N) I2 O3 |7 t& E
  2002. ; Prevent name collisions in chroot'ed environment.2 {$ k+ z: ^9 y9 J3 D
  2003. ; opcache.validate_root=0
    0 k) J  L# d& b+ G1 i

  2004. . m- E8 z; B0 E2 C! V( a
  2005. [curl]
    - E$ ^3 \' N' Z
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an& j& |  E  b) ~. `- @  Z7 M' i0 ~9 V
  2007. ; absolute path.2 }; _0 q+ w( F8 Q/ U8 k. T
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt8 |2 g: z( {$ o" E% G$ d/ m. @

  2009. * z# O: _: A# M1 h1 S$ `
  2010. [openssl]
    4 ^5 I- A& q3 v' a' B
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    2 t2 q7 ]; ~* j. {: D3 U* _
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should- x6 E; Q+ M9 x$ `+ g; O
  2013. ; not specify a value for this directive as PHP will attempt to use the% g! t/ M* ^& a, u  z: V1 ]
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    - ~6 ]% B& T1 U
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context# C3 K2 y/ g0 r5 q
  2016. ; option.
    ) ]# l# z- K/ N! [9 }- E0 r
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 ?3 V$ x- `9 ]: }; \* n4 C" A
  2018. ' o' B/ i& k* |2 o  z
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the% E* e. z  a# ~
  2020. ; directory pointed to by openssl.capath is searched for a suitable7 M7 s$ V/ k' v- U2 \8 B
  2021. ; certificate. This value must be a correctly hashed certificate directory.9 ?6 I( V; ], h6 S. U5 o+ r
  2022. ; Most users should not specify a value for this directive as PHP will0 z) ?, n7 V8 g" x2 h
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,% u5 v8 _* J4 \% O+ I) e5 w
  2024. ; this value may still be overridden on a per-stream basis via the "capath"% |+ a+ o5 R" ~  L1 T0 O/ E6 R
  2025. ; SSL stream context option.7 u5 D/ Q1 |  a
  2026. ;openssl.capath=
    4 t0 f& H! d' _' [; ?( S/ [

  2027. & O4 f, U0 n* S# d$ r
  2028. ; Local Variables:
    4 {/ S2 d, C/ ]; Y) P4 ~! H: Z
  2029. ; tab-width: 4
    , [' J8 W2 R% g* T5 A. \$ ]! U
  2030. ; End:
    / N; n) C- K# {8 ^  B
  2031. 5 a+ w# q0 F* \
  2032. ;eaccelerator
    3 h+ S0 D% d$ T2 s& N. r3 @6 F

  2033. ) f6 J5 }2 S' ~2 a' E
  2034. ;ionCube
    : Y5 e- X8 m; E

  2035. " K' w! P3 V1 Z# c
  2036. ;opcache/ I0 D  w# h) Z) R( e4 a6 A6 p

  2037. . |) J2 p8 m- c) m$ e: S
  2038. [Zend ZendGuard Loader]
    / J7 m  J, X+ O
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
      L$ M& m9 |* N1 e
  2040. zend_loader.enable=10 r& [2 ]+ o( j+ S" v1 ^1 C
  2041. zend_loader.disable_licensing=0
    1 k+ m* Y* y6 c0 m- Q
  2042. zend_loader.obfuscation_level_support=3
      z# s' ]6 {% A' j8 q' O# \, @0 ~$ `
  2043. zend_loader.license_path=
    + F- z6 u* O  B5 {, T

  2044. ! S' x2 [1 z2 W
  2045. ;xcache# L& R  p* P$ x' r, G8 J6 V! E
  2046. / J2 K( w5 V  r$ _
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692: [# l8 k' p' H2 v) ]
& c! O. @. t$ N5 ~

; U- O' r* d$ ~8 Y* n, \6 _( U, YDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,0 q3 `+ Z3 C2 T2 u; F/ `

$ k8 m- |7 y5 o( L) [: ZDiscuz!程序版本选择:
+ Z1 |5 Z6 U; n# f5 G5 C9 z站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,) T. H8 u8 c$ d  Y
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
2 X! U% f) R; \5 v0 r8 iDiscuz!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。0 O" K: k7 {; E  s- `  G
7 i  K8 E  I% r+ S8 r. F
Discuz!插件模板版本选择:
8 e) E" p' m+ w* s7 v很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
* t  H7 K0 O# M针对这个问题做个统一的普及:
* x( a4 g6 o# }. cX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
4 w# v8 p( N9 g( q' B6 r; x8 o4 a- K; ^, E5 q2 _
所以5 M+ o6 s! e, t: {6 {  `( U8 z
适合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的二级域名。
  b, H* U( p4 b* L打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ B" ]0 S; A' _1 U注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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