分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.05 r! o1 q8 _6 q0 _
* ]$ D- M2 s' u# }1 p8 U- h
  1. [PHP]- i" Y# O9 ?9 ^4 A; E  A
  2. # p0 ]% A( `# g0 h. a, b7 [
  3. ;;;;;;;;;;;;;;;;;;;7 ^/ X4 M6 }. _" d
  4. ; About php.ini   ;' |+ g0 K5 G5 D( N* @+ i/ m
  5. ;;;;;;;;;;;;;;;;;;;) I2 }: M" c/ d8 w: b) R, [
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    % f" e: _( j. M3 F( l0 m: O
  7. ; configuring many of the aspects of PHP's behavior.
    $ v, ?9 e! B# {! M5 i& ]$ }

  8. 1 n! v: F1 O9 I
  9. ; PHP attempts to find and load this configuration from a number of locations.1 U1 l' J" D  n4 B+ }5 y
  10. ; The following is a summary of its search order:* K! X- c; X* g0 K  _; n$ j
  11. ; 1. SAPI module specific location.( `# @6 S4 ~! W' z6 r
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" ]' W$ @0 x! S4 x3 R
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0); K3 D9 ~% J" r- M0 G) v
  14. ; 4. Current working directory (except CLI)2 ^! x& k4 e( z2 b
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP$ q1 Q2 L2 w* s: c$ @; M; }
  16. ; (otherwise in Windows)' G% C7 R2 y* |6 j" n5 t7 c+ j: Z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the# b7 X$ K( v3 [6 W+ w# M/ S
  18. ; Windows directory (C:\windows or C:\winnt)
    % g) `  h* k# R0 ~) A  l+ {
  19. ; See the PHP docs for more specific information.8 C6 m5 q6 I8 W# s
  20. ; http://php.net/configuration.file
    # K+ e& W+ L% i$ {  l. J8 k
  21. 1 ~9 w" d1 d+ i" `
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' {# O8 V" X) q1 Q4 Z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + r3 v8 I1 o1 @# c" q2 g9 f/ o
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though" |# X; D5 p7 g
  25. ; they might mean something in the future.
    + h+ `: V2 Q1 @& M5 {3 `, Y8 r8 d
  26. 4 J! i! [6 R9 g
  27. ; Directives following the section heading [PATH=/www/mysite] only
      _. q4 H' y& z% q( w  U3 W- c
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ( g, _* W  T7 j  B; k9 D
  29. ; following the section heading [HOST=www.example.com] only apply to
    1 ~1 l) M# Y! ^. C: o
  30. ; PHP files served from www.example.com.  Directives set in these9 h; K* ], [/ M4 E$ j1 I/ l( L
  31. ; special sections cannot be overridden by user-defined INI files or
    9 ^, m8 |$ Y* K( j" T" l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under; m. ^% @: J8 C2 p% s
  33. ; CGI/FastCGI.
    3 g7 b; h/ p% i1 W, U* G. E( b
  34. ; http://php.net/ini.sections
    - R" z- X2 n& t3 X: s
  35. . A, P! R: H# |( _# w
  36. ; Directives are specified using the following syntax:
    / [6 u# p$ H, j' o2 O3 u
  37. ; directive = value+ m3 H# v* n, T
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 _9 Z% S) h' L& }1 C8 r5 P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    3 ^7 o3 e8 A  T" u/ ~
  40. ; There is no name validation.  If PHP can't find an expected
    5 H6 O6 W# f! d  T, r: [) A
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ) D* ^8 s5 H0 h
  42. 1 y% e, E9 g( V, L$ I* N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    " R% P$ ~. C1 K. X' ?* h
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression# {$ ?' t% J1 ^/ [7 {, b6 g( o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    5 z  l7 S4 Q( S: N% Y+ w0 i( ~
  46. ; previously set variable or directive (e.g. ${foo})
    2 s) e2 Q1 W$ L% Z: z6 m5 T
  47. & U( ?- b4 L. E5 O! K: `& I8 |
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: i. z% ]- z, w
  49. ; |  bitwise OR2 r$ v$ P) _; @
  50. ; ^  bitwise XOR
    . L/ q4 K+ E/ T, A- Q2 d
  51. ; &  bitwise AND* r% [% ]/ S. B- V1 M
  52. ; ~  bitwise NOT
    # a1 ]- J' t( v& R3 v; d# n# L
  53. ; !  boolean NOT! S* g9 @; U, b/ _2 }7 R
  54. / u4 h/ L( D, p4 @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes./ T; @9 C% U2 l+ L6 T; l
  56. ; They can be turned off using the values 0, Off, False or No.
    & B8 b. _  Q! @5 K2 y) r- E% Q

  57. / L3 X) C4 P) r
  58. ; An empty string can be denoted by simply not writing anything after the equal
    3 O4 q6 F% J: w1 I+ O3 ?8 @
  59. ; sign, or by using the None keyword:" B! ~5 p# h. w# B+ z" H3 Y

  60. 7 S. \: M) ^7 A6 Z
  61. ;  foo =         ; sets foo to an empty string  `- x" Q- q. I$ Z# b  m' U
  62. ;  foo = None    ; sets foo to an empty string
      V+ p' p# H, L  y; a
  63. ;  foo = "None"  ; sets foo to the string 'None'5 M+ Y: M3 \5 f( f$ E

  64. ' E$ w  O, W% g- }4 _
  65. ; If you use constants in your value, and these constants belong to a
    ! N! Q4 Y$ I% O# G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    " h( z8 q% s: O  T
  67. ; you may only use these constants *after* the line that loads the extension.
    8 U, b7 j! f5 ]: w

  68. % e1 O. C/ ?' z4 w" P
  69. ;;;;;;;;;;;;;;;;;;;9 ]4 B6 ?5 ^1 H3 z7 X0 i# H! l7 s
  70. ; About this file ;
    8 m3 u$ d# w$ O1 B* F9 Z
  71. ;;;;;;;;;;;;;;;;;;;
    ; p! {2 c, p. B4 f( }+ ^& v. x
  72. ; PHP comes packaged with two INI files. One that is recommended to be used, M/ j2 N3 k* I: y; _+ @. k7 I
  73. ; in production environments and one that is recommended to be used in) R+ J! r' O, Z$ t0 ]+ i
  74. ; development environments.9 v8 x4 [/ s( M' f) _6 A
  75. 7 X, g4 L4 j: ?% U: H5 ~' f2 d& i
  76. ; php.ini-production contains settings which hold security, performance and0 R: R3 G1 U7 K- N, Q
  77. ; best practices at its core. But please be aware, these settings may break+ J* @+ F3 t$ h% H7 {  ?
  78. ; compatibility with older or less security conscience applications. We: c) W. r. \3 L# V* \& t
  79. ; recommending using the production ini in production and testing environments.2 \+ V2 R. C; m1 _3 f  Z
  80. 4 E8 b$ U4 A: I! {+ K" S) r3 ^' Q
  81. ; php.ini-development is very similar to its production variant, except it is
    ( Z: i3 g3 |- \1 [# I, _& q4 Q2 V
  82. ; much more verbose when it comes to errors. We recommend using the
    " |0 E0 E  W5 ~6 P* [; V
  83. ; development version only in development environments, as errors shown to
    8 i& s9 o$ c) h8 n8 C0 S
  84. ; application users can inadvertently leak otherwise secure information.
    ' _; A7 G: ]' O' M

  85. + g1 F) U4 u; w
  86. ; This is php.ini-production INI file.
    3 h' I. L7 F+ F/ Z
  87. " |. o1 R& Z! ?0 q# O% k1 L3 ^
  88. ;;;;;;;;;;;;;;;;;;;/ O2 N( K  y6 {) t2 D' X
  89. ; Quick Reference ;& C0 A+ @, z5 S2 Z+ r7 m/ s6 @6 M
  90. ;;;;;;;;;;;;;;;;;;;
    / `+ P# G- a" \0 D" l% n
  91. ; The following are all the settings which are different in either the production
    & i3 K# {$ o* I4 d3 F
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - T1 y% u2 t2 P/ g9 N
  93. ; Please see the actual settings later in the document for more details as to why
    4 g# t, ~; h% O  V) C
  94. ; we recommend these changes in PHP's behavior.: T1 y1 j9 Y" P0 N

  95. + e. X* a+ l; V  K5 J, e
  96. ; display_errors/ p+ N8 p$ ~! T- B+ W
  97. ;   Default Value: On' [% F( [9 B+ W  M; C
  98. ;   Development Value: On+ m& A9 N: ?. H8 a6 S
  99. ;   Production Value: Off1 ]+ p5 c. ]. o3 ~8 }0 {

  100. 1 h' t, H3 Y) {; {
  101. ; display_startup_errors" y7 }5 Z8 x& R6 d
  102. ;   Default Value: Off
    . {) d& ~: V$ K7 Q. O) }
  103. ;   Development Value: On
    , `/ ~- A( u2 \5 x2 ?# ]' p" q
  104. ;   Production Value: Off& D- _. M, w( r7 f% f0 u

  105. . ^  s: y' D; Z  q6 F
  106. ; error_reporting4 ]2 a; B5 \& V" u' |6 y4 {
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + S; i. i2 }# m, A1 s' W
  108. ;   Development Value: E_ALL8 e8 Q* t% ]4 T# ?  G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! t0 G) G' p! d# f* m6 \& B5 M# H
  110. 3 u) Z0 x. M( [
  111. ; html_errors2 X. J0 E0 I" G4 d4 e
  112. ;   Default Value: On
    7 t: g) v7 r8 Y9 T$ d6 L
  113. ;   Development Value: On
    + Y2 T6 r; j5 _: l4 r- `
  114. ;   Production value: On
    ( x0 l, b- J) }- @0 L9 m! [6 S5 Z

  115. 2 A  M. S) ^; L$ K
  116. ; log_errors/ u7 W9 ^  z; U; U0 `% d
  117. ;   Default Value: Off% I' ~, }7 q/ c: F9 U+ T0 ]2 U8 Y
  118. ;   Development Value: On& _" s6 ~9 n  ^! X* s( Z1 W
  119. ;   Production Value: On
    3 s& ^3 _9 O1 h

  120. - q( ?7 c, H* j# C$ `
  121. ; max_input_time
      @# V; e! [$ V5 X% H* r. j
  122. ;   Default Value: -1 (Unlimited). C3 }1 \/ f' G  U; |1 u" ^
  123. ;   Development Value: 60 (60 seconds)
    0 y8 J( G7 K/ @, H- e' \( h
  124. ;   Production Value: 60 (60 seconds)
    + M% b3 q( V6 m5 |
  125. ( Z+ h0 M! \9 h5 y/ k5 q8 }8 c3 n
  126. ; output_buffering5 V, v$ Z2 v. ~4 E8 v
  127. ;   Default Value: Off: {/ `. x$ g' M5 ^) Y" V. e5 q; H
  128. ;   Development Value: 4096
    0 T% V& r( Q) T3 b) f! y  M( F
  129. ;   Production Value: 4096
    5 }4 W. n! K9 b5 m, c! C% E$ I
  130. 5 H0 l. P+ l2 q- o. a' ~- o1 _# V
  131. ; register_argc_argv
    " }% U% _" u: R7 ?" u! d$ A* Q
  132. ;   Default Value: On
    2 V" V8 S7 r( H; H3 P
  133. ;   Development Value: Off
    3 d" l: h4 v+ T
  134. ;   Production Value: Off3 N" o% O! s' r$ V( e) j7 m: W. K

  135. 9 T# g" C2 m2 E1 x% c% e- [
  136. ; request_order7 a% k7 ~! Y5 i% b
  137. ;   Default Value: None
    3 U; v) s' i. l
  138. ;   Development Value: "GP"
    1 h; C3 I! ~- d* C6 T. V
  139. ;   Production Value: "GP", q- ~/ K4 ?4 m! a2 q
  140. ( s# c: W  n2 ^( `& T
  141. ; session.gc_divisor
    + s8 i: h9 H/ G" L4 f
  142. ;   Default Value: 100
    , d2 n2 C* V. n% t4 f
  143. ;   Development Value: 1000
    + W$ u, c" L. S4 G/ y
  144. ;   Production Value: 1000! b0 k3 u) k' q: [( A/ q; O. o

  145. % E. |$ u+ |  `+ ]  p
  146. ; session.hash_bits_per_character
    : |5 G  l' Z& `  w0 y
  147. ;   Default Value: 42 F- B" Q9 V  y( j: X- Z
  148. ;   Development Value: 5
    ! O3 S$ t% `' @& z8 N! x
  149. ;   Production Value: 5
    - m2 V3 _0 R: ~2 H) B8 P- n  v
  150. 0 q. i& M, m6 I  n
  151. ; short_open_tag
    + Z" A- K9 ~  o# X2 x) Y
  152. ;   Default Value: On$ K" r/ @8 N3 m; j
  153. ;   Development Value: Off+ n8 q, s; l' E6 `& Q( E# J
  154. ;   Production Value: Off% Y. a+ x2 M  v- W; g! ?/ R

  155. 2 Y6 S5 M% S( ]
  156. ; track_errors
    * U& C; S  l4 E  @; H1 D
  157. ;   Default Value: Off2 X" X" j" V/ \6 d. c) V" T) X
  158. ;   Development Value: On
    % v- p( }* p/ l% X3 u
  159. ;   Production Value: Off
    : x* c/ W( j4 T3 I2 p' V6 [( Z
  160. & W0 a0 e6 O0 x* m0 @
  161. ; url_rewriter.tags' r- n2 E& {) R" E$ n: c# b
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / R5 ~% Y! F) \- o
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& y& n; b) s4 c/ t; H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' S4 C! o" ]" M4 G

  165. ' I, U: ~( C# q1 s2 d% s
  166. ; variables_order6 j0 F9 @* f0 F0 a. r7 k
  167. ;   Default Value: "EGPCS"! p. z" Q: n# ]# \' l! c; T5 ]
  168. ;   Development Value: "GPCS". x: u! m6 v+ s
  169. ;   Production Value: "GPCS"
    . I3 k6 Z  T7 ?4 d
  170. % s" N' k8 |8 R8 J
  171. ;;;;;;;;;;;;;;;;;;;;
    ; r  V/ \: w5 G2 S
  172. ; php.ini Options  ;
    ) z/ c  i; ^1 I! v! M
  173. ;;;;;;;;;;;;;;;;;;;;5 t! [: Z8 F8 q1 F/ A( o4 c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + ]0 Q% u( J/ Y7 T0 f
  175. ;user_ini.filename = ".user.ini"
    8 B4 \6 [' k) D- Z* |& l

  176. ( o6 z4 i# ?. y! S7 J
  177. ; To disable this feature set this option to empty value( U5 W% M7 \4 k1 T/ M
  178. ;user_ini.filename =
    0 ]8 Q- |  F$ c+ U0 V

  179. - z2 T: }+ d. p/ I6 _$ F
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)* \1 E! R/ Q) M2 |+ S8 [
  181. ;user_ini.cache_ttl = 3008 \  N, H  P1 ^" J+ l

  182. + L- ^0 P# k3 J8 U5 @! k, j
  183. ;;;;;;;;;;;;;;;;;;;;9 V  H# A+ ^7 ^0 i7 D; k  M% l, L
  184. ; Language Options ;% {$ D8 E5 L, d/ o0 [, f! h7 u
  185. ;;;;;;;;;;;;;;;;;;;;
    2 s% W* @. O: Z+ _5 u. }+ }& ~8 B

  186. 2 ~! r) K6 V1 |5 c* k" g2 D/ ?
  187. ; Enable the PHP scripting language engine under Apache.
    ; a" j/ B4 e/ H$ j+ |+ [9 y
  188. ; http://php.net/engine3 K8 M9 V5 p) R0 O
  189. engine = On
      v, {& D& F% R) t& j% d' Q
  190. 8 C. o! L7 i4 v+ y! B# X: V* E
  191. ; This directive determines whether or not PHP will recognize code between
    " t4 V) y( ^" _) _. L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' N% }0 V! e  q  u$ U& W+ r  j
  193. ; generally recommended that <?php and ?> should be used and that this feature; q9 M4 b/ Y7 x) E  ]( c
  194. ; should be disabled, as enabling it may result in issues when generating XML7 R6 H! T6 `2 Z; ^! i3 n
  195. ; documents, however this remains supported for backward compatibility reasons.
    9 A7 X; U' o0 u5 V, X
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    . Q0 N8 s6 P$ S: Y  _6 U8 _
  197. ; used regardless of this directive.
    " {3 s: Q9 X- a
  198. ; Default Value: On: U  Z) v" B8 T/ A% p1 F9 n4 [
  199. ; Development Value: Off
    . n% h- h" I1 E$ v  g9 K
  200. ; Production Value: Off  H' G8 }7 P$ h# R. c7 r2 H
  201. ; http://php.net/short-open-tag
    7 f$ ^$ J& X/ C1 Y
  202. short_open_tag = On$ C3 h9 }: ?8 S. X( B  [1 n
  203. 5 u1 K1 Y6 B: R0 Q* G) h
  204. ; The number of significant digits displayed in floating point numbers.' G6 |! b: I2 n3 V" V; [" t5 c
  205. ; http://php.net/precision! E& t7 f& V5 W
  206. precision = 14
    2 _6 j( Z" I: K  j% G: h. E

  207. 9 N3 v+ R8 `0 u% q% W: d2 I
  208. ; Output buffering is a mechanism for controlling how much output data
    , t! b6 @) U: }/ D
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that5 ^1 `" y8 ^2 p1 W
  210. ; data to the client. If your application's output exceeds this setting, PHP! U% L: @% ~5 r7 @! T" P9 K
  211. ; will send that data in chunks of roughly the size you specify.
    : ?- \1 h7 k( a
  212. ; Turning on this setting and managing its maximum buffer size can yield some/ P1 q1 y" G8 Q6 X) \1 Y1 n0 y
  213. ; interesting side-effects depending on your application and web server.: G% @) h: M& _
  214. ; You may be able to send headers and cookies after you've already sent output) U! k9 s( V# Z# {- e
  215. ; through print or echo. You also may see performance benefits if your server is
    7 I; z1 `) w9 u5 C$ H1 A/ M
  216. ; emitting less packets due to buffered output versus PHP streaming the output  c1 ?5 _8 m8 t& s: _1 L/ w
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- M5 r4 Y" l+ T- H8 r
  218. ; reasons.
    , b9 x" s$ F1 ]% s
  219. ; Note: Output buffering can also be controlled via Output Buffering Control* ~& w+ h  K/ t9 W/ S3 s
  220. ;   functions.
    . v& T- B3 M5 }  }
  221. ; Possible Values:( k9 E1 b% f2 g  ?2 L
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    & w' s: c+ A# ^
  223. ;   Off = Disabled
    3 F2 {& H5 e' Y" u  l2 \; }
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    0 {. _0 h# O& J: v6 z$ p+ h
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI5 q! h" m1 O) d
  226. ; Default Value: Off* a/ n* D1 c4 A# X6 W
  227. ; Development Value: 4096% n5 Z# o+ f) `; r7 p) b
  228. ; Production Value: 40967 N* V1 W! x' z+ p* c  s
  229. ; http://php.net/output-buffering* U. L" r) i4 K" p
  230. output_buffering = 4096
    " L+ r1 e) x, k- W6 g0 r: P4 X

  231. $ W( {* C, o1 ^" H+ V( q/ w0 j5 R
  232. ; You can redirect all of the output of your scripts to a function.  For% [: D4 Y6 m0 ~! T3 x; ]4 p5 h5 Y
  233. ; example, if you set output_handler to "mb_output_handler", character* z3 U) w" z( d
  234. ; encoding will be transparently converted to the specified encoding.
    / k7 O, j8 |- p0 q* _  C$ e8 r
  235. ; Setting any output handler automatically turns on output buffering.( E6 w9 ~+ j& h$ H  Y" [" n
  236. ; Note: People who wrote portable scripts should not depend on this ini
    0 m# m( g6 }, a
  237. ;   directive. Instead, explicitly set the output handler using ob_start().9 I4 t4 ]) T: V+ {% I" P" ]
  238. ;   Using this ini directive may cause problems unless you know what script4 l5 Z" t; J1 ?$ H/ f
  239. ;   is doing.
    : d3 _, j8 S6 ^% w& i8 p: i* a% Q
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"0 X- a+ d8 h5 d: H" I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".; ?  O" O- ~+ \2 a
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 e- ]! A9 C2 Z% J  z5 h; f
  243. ;   Instead you must use zlib.output_handler.6 k( f2 `2 i) R& }
  244. ; http://php.net/output-handler
    ; T$ h& d) s. i4 G* J/ R1 T7 q
  245. ;output_handler =& g" J, |; A% p3 ]9 N4 e- ]  G
  246. ; X1 d4 I0 H; o+ Y
  247. ; Transparent output compression using the zlib library1 j0 a) c' `! U& D! E. ?
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size/ k; F2 R2 j" d' M, i# m+ f9 k5 R
  249. ; to be used for compression (default is 4KB)8 L+ o! x# u' {2 D# _
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    5 y1 J9 {  ~7 [4 i) j1 D8 r" Y
  251. ;   outputs chunks that are few hundreds bytes each as a result of; g. u8 V, E/ Z
  252. ;   compression. If you prefer a larger chunk size for better# ?5 w2 K  {$ j& Q9 n
  253. ;   performance, enable output_buffering in addition.
    ! U0 U* S8 B  @! G
  254. ; Note: You need to use zlib.output_handler instead of the standard
    # s1 {2 f5 I4 X8 ^
  255. ;   output_handler, or otherwise the output will be corrupted.
    4 u6 s5 K, D4 Z5 J/ t, B' p# @
  256. ; http://php.net/zlib.output-compression# \* S7 n8 o6 [  P/ x
  257. zlib.output_compression = Off& y2 _4 i, B) w3 n
  258. 0 j8 g! b) B/ n0 m: v0 A
  259. ; http://php.net/zlib.output-compression-level
    ' i& h8 Y* ~! t. ^" z3 W
  260. ;zlib.output_compression_level = -15 x; E( c% c8 b: Y' Q) g, ]

  261. 7 s9 b9 o* D$ o( L' M6 R
  262. ; You cannot specify additional output handlers if zlib.output_compression$ M1 P7 L5 s& S! S4 l/ q1 m0 @
  263. ; is activated here. This setting does the same as output_handler but in
    ' ?5 d* F5 e$ m, |
  264. ; a different order.
    / x1 }- q1 L3 O0 x: ^& r
  265. ; http://php.net/zlib.output-handler. Z7 K) [' b: N% }* _5 l
  266. ;zlib.output_handler =" A3 B; k- m1 L1 N

  267. $ |: C5 O% {# j2 Q9 A. Z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself; J9 u( ]4 a: ^
  269. ; automatically after every output block.  This is equivalent to calling the9 s6 }' P7 p5 O
  270. ; PHP function flush() after each and every call to print() or echo() and each
    : n- L; B2 \9 `+ s, z9 t
  271. ; and every HTML block.  Turning this option on has serious performance/ S$ n; `- S3 v! F3 ?
  272. ; implications and is generally recommended for debugging purposes only.
    0 I4 ~' F+ Z) ]7 N. b+ r" Q
  273. ; http://php.net/implicit-flush
    : ^" d& S, |4 {' Q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI0 B2 g0 L  i3 X& |
  275. implicit_flush = Off% D, A% q8 `( s

  276. 5 C- |; Q9 a+ p# o3 s, [
  277. ; The unserialize callback function will be called (with the undefined class'
    ; u' T7 C0 W$ }/ n: Y' ^) g
  278. ; name as parameter), if the unserializer finds an undefined class
    5 r" v& J( M1 W8 c# v* J
  279. ; which should be instantiated. A warning appears if the specified function is
    ! Y$ b! T5 C! a' x4 `5 b& w) {* N
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ; J* c3 z8 c' @
  281. ; So only set this entry, if you really want to implement such a4 ?0 B- I0 a5 A9 W
  282. ; callback-function.
    ) @6 N. {# F! @* T
  283. unserialize_callback_func =9 x8 B. a+ u8 u) M
  284. " W6 @8 U8 j# I; ?7 o( b5 J# W7 R
  285. ; When floats & doubles are serialized store serialize_precision significant- m- B( x  S, p2 k, p
  286. ; digits after the floating point. The default value ensures that when floats
    ; F( [. X% @. `- ^! G2 S
  287. ; are decoded with unserialize, the data will remain the same.
    3 k6 }/ `% W$ Q
  288. serialize_precision = 176 ^: H! M9 f) F# [0 D0 C

  289. / M( h& w) e. _$ p, _( ~2 [2 v
  290. ; open_basedir, if set, limits all file operations to the defined directory3 y" C2 k, N9 C6 m& |
  291. ; and below.  This directive makes most sense if used in a per-directory
    9 q9 d+ W$ Y' I1 k$ n& F  H1 m
  292. ; or per-virtualhost web server configuration file.. v! t! \* b0 v/ T% Y( T- n
  293. ; http://php.net/open-basedir
    ' y% _3 i* t+ }
  294. ;open_basedir =0 u9 u- S7 M4 m' H
  295. - E& U6 ~# r9 \1 t; S
  296. ; This directive allows you to disable certain functions for security reasons.; x6 ]# |/ z2 E* V+ S
  297. ; It receives a comma-delimited list of function names.
    2 r" j# G2 o1 c  ^% R8 x2 i
  298. ; http://php.net/disable-functions
    ; u- e8 j" R4 ^, t5 g- j
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    0 H7 v( a) ?2 @3 n/ S) [
  300. 8 h+ d. C, [% F2 K# K
  301. ; This directive allows you to disable certain classes for security reasons.
    * ]( ?8 o# H" W' Q, Z
  302. ; It receives a comma-delimited list of class names.
    2 Q4 e( S; E& f
  303. ; http://php.net/disable-classes
    3 V6 ]8 T0 k, ?
  304. disable_classes =7 Q$ t* W) `( _2 J1 [

  305. & i) N2 i8 k" l# ?) G# `) A: W9 p
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in2 V5 _. D0 z# x" D
  307. ; <span style="color: ???????"> would work.
    & G9 S8 T1 U0 O3 w7 R+ d$ u* X; [7 A8 f1 U
  308. ; http://php.net/syntax-highlighting  R+ {3 ^: [% e# }5 D2 H
  309. ;highlight.string  = #DD00006 |: X: t2 \7 k# {9 [- t0 {
  310. ;highlight.comment = #FF99008 x2 i- ~* D( P( E
  311. ;highlight.keyword = #007700! s* l% e/ T; f3 T5 ]& I! C4 V
  312. ;highlight.default = #0000BB
      r5 W, @7 S* R8 Q& h/ t. j& l0 T9 Z* a
  313. ;highlight.html    = #000000
    : _, v$ t( J9 L# ]" T; R! j5 x

  314. 0 i+ D9 ^# L/ R7 k5 S' P9 j
  315. ; If enabled, the request will be allowed to complete even if the user aborts& e$ g% L0 |9 l7 N: o: N$ [
  316. ; the request. Consider enabling it if executing long requests, which may end up) m9 F3 w8 {4 K
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : C$ v$ [& f7 w# {
  318. ; is to disable this feature., g" k2 q4 r/ G0 |# e' C* L$ @
  319. ; http://php.net/ignore-user-abort
    2 x( E9 L; ]* `2 v
  320. ;ignore_user_abort = On
    7 a! j' \. W; a1 M
  321. / u2 y" J- P6 I5 H( [( X
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    0 V* |7 \+ k' E7 |8 s" \0 ~2 {+ W
  323. ; be increased on systems where PHP opens many files to reflect the quantity of" `0 a: L! J' M( H
  324. ; the file operations performed.6 l) B% \2 e1 x7 w3 V1 P
  325. ; http://php.net/realpath-cache-size
    8 ^- U2 A& W! ^/ A
  326. ;realpath_cache_size = 4096k( F" R' B! `: Z# Q/ g6 ?8 J

  327. * o& v5 J; x- q# o
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    9 n9 l7 Q! J& L2 t# x
  329. ; file or directory. For systems with rarely changing files, consider increasing this2 x% u+ _2 p6 c0 z" X
  330. ; value.
    2 y/ c, {  F- `* z9 M9 M
  331. ; http://php.net/realpath-cache-ttl
    5 I1 p' @& ^: U! G" e
  332. ;realpath_cache_ttl = 1201 P9 R/ \! H# _+ X3 p9 ^" _% O

  333. + ?0 O: ]7 C1 U
  334. ; Enables or disables the circular reference collector.. ^& x; X" s  v& ]
  335. ; http://php.net/zend.enable-gc
    ( A) x& R0 {* |+ d3 w8 z. P
  336. zend.enable_gc = On8 u+ p/ H2 }5 F2 h7 [5 j8 ^2 I
  337. ! O; E8 H/ [4 b3 q* ~
  338. ; If enabled, scripts may be written in encodings that are incompatible with  ^/ b- e( Q' }, {' c: L6 E7 J7 g# J
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such0 B' F, P: b* ?. r- W
  340. ; encodings.  To use this feature, mbstring extension must be enabled.. _# }+ [' M/ O9 ^. t" a
  341. ; Default: Off
    $ f2 b1 [; I) J: P0 F+ h9 Q0 G
  342. ;zend.multibyte = Off
    % f! _4 [. S8 S3 t! c& d4 W5 S

  343. 2 x! x( j, g4 R/ ?6 i6 \# l
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    , F: o# k- o/ M3 [8 G
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * v4 l) n9 s0 D  G
  346. ; Only affects if zend.multibyte is set.
    " v9 b9 ?1 x; h& c1 R
  347. ; Default: ""
    6 \) z0 Z+ I$ \, D0 N0 n, O( W
  348. ;zend.script_encoding =- z3 c) O9 w1 a  @, v8 u

  349. 2 H" G+ c# _6 J5 }; M6 @
  350. ;;;;;;;;;;;;;;;;;8 s1 X4 J1 v  B) e" r
  351. ; Miscellaneous ;* w1 b; [& z: m, w% L) @1 K
  352. ;;;;;;;;;;;;;;;;;( j/ T! `% E1 J- s, I, U: W% R1 L

  353. % c2 X- g$ e8 `6 _/ M9 f
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    / r$ W8 ]% z/ k8 z1 f0 I& P! q# w4 F
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* }4 M2 O7 _: P/ K
  356. ; threat in any way, but it makes it possible to determine whether you use PHP( B  B$ K6 R9 J7 `8 I2 t
  357. ; on your server or not.
    / l% f' o7 _: w. B/ J& D' I0 T$ `
  358. ; http://php.net/expose-php
    ( f8 P% Y2 K; V8 @; }( l
  359. expose_php = On8 R) U( o/ {7 U+ K7 P, H

  360. ! V: V: e  X; L4 N( P% V
  361. ;;;;;;;;;;;;;;;;;;;
    & P- V* v0 g1 }" N1 v
  362. ; Resource Limits ;
    # j2 e# o0 t, B8 G
  363. ;;;;;;;;;;;;;;;;;;;% [$ H/ Z0 W; i6 w, F# n
  364.   ^! K; @! S% p* w
  365. ; Maximum execution time of each script, in seconds( g! c3 Y2 Y* |. i
  366. ; http://php.net/max-execution-time# z1 f, l2 p: z( M5 E  @. x
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% C' ~7 w& G. g4 s" Q# U
  368. max_execution_time = 3008 `: o" b" `6 {- i& s

  369. 1 E' J# H$ b( y; t2 [5 X. ]0 n. A* z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good( @6 b0 _$ ^; ~0 g% _
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    0 m% V- \  a4 D0 n% w( p
  372. ; long running scripts.  H% L. q& B/ f  O+ w
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) g9 X+ P" s+ t2 Z9 I+ w* ^
  374. ; Default Value: -1 (Unlimited)
    7 J: y' K: E1 u( q5 c8 |
  375. ; Development Value: 60 (60 seconds)0 i, a& ]) f+ p! M# p/ G
  376. ; Production Value: 60 (60 seconds)2 @" [4 N& i6 r$ f
  377. ; http://php.net/max-input-time
    2 L* y* i  a0 ?0 v
  378. max_input_time = 60
    ; j+ u' f' I, [
  379. ! H+ }7 e$ U4 w) k
  380. ; Maximum input variable nesting level
    , D% R3 _4 V0 q
  381. ; http://php.net/max-input-nesting-level
    ) a: L6 {( c3 X6 |% C
  382. ;max_input_nesting_level = 64# G- A' ]' e' j) I
  383. ) U% F: r4 Q  k% n/ a* ^' y. A0 w
  384. ; How many GET/POST/COOKIE input variables may be accepted" o- L0 `& S0 g5 _
  385. ; max_input_vars = 10000 H. H* _7 e4 \3 b

  386. . [# ~7 U0 F" ?+ p2 I
  387. ; Maximum amount of memory a script may consume (128MB)* w& f. m) O: E4 G# |) f
  388. ; http://php.net/memory-limit. Z2 @0 y, K& f3 u) V! `
  389. memory_limit = 128M
    8 L7 a3 f' R3 t- F1 B1 k# n/ X
  390. * p1 R% U* s; F1 [) z9 c( n
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 z7 V& i& b3 ]% O9 H4 ~; O
  392. ; Error handling and logging ;: b8 V* U9 {) x9 x; Y
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: x& k: }9 R; a/ U: a( y

  394. " z6 |% O( d7 J
  395. ; This directive informs PHP of which errors, warnings and notices you would like+ \6 w* L6 `) b5 J/ V$ i; F
  396. ; it to take action for. The recommended way of setting values for this
    9 Z$ D2 e, K- a( L. V  T
  397. ; directive is through the use of the error level constants and bitwise
    & v& n$ _' f, k# V
  398. ; operators. The error level constants are below here for convenience as well as, b! t# ?/ s/ i
  399. ; some common settings and their meanings.
    / c- c; x3 [( ]8 ]7 s+ R: l
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      b8 N4 J8 e# e3 f7 k8 V. g
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    2 G/ a$ c$ V/ C5 v; V
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    # ]  t- j! E- N7 t. {. O7 ^4 `
  403. ; recommend error reporting setting. Your production server shouldn't be wasting) S' X! d$ [. E# \
  404. ; resources complaining about best practices and coding standards. That's what
    6 b+ I& s0 B. I6 @
  405. ; development servers and development settings are for.- V/ L  F3 u& L( V$ F3 F$ s  Z- z& u
  406. ; Note: The php.ini-development file has this setting as E_ALL. This: Q  A. i& U6 ~9 q8 Y
  407. ; means it pretty much reports everything which is exactly what you want during! F" E4 r9 [, ?0 E
  408. ; development and early testing.
    ' _: A  a. j2 A) ^! [- N
  409. ;
    . o$ E' ^' p5 H) k7 R- e
  410. ; Error Level Constants:
    # H$ {6 }9 C; B- x2 E
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 `1 W, h" Q4 u* {% W
  412. ; E_ERROR           - fatal run-time errors& B8 c5 @$ A. x+ Z+ P! a* E
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" _6 r8 X! M0 u, D
  414. ; E_WARNING         - run-time warnings (non-fatal errors), y* F' ~0 [8 U1 r2 H+ x6 q
  415. ; E_PARSE           - compile-time parse errors2 ?& z: Z( c2 L; M6 ]
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    6 T9 L+ z# {5 ^1 r/ m
  417. ;                     from a bug in your code, but it's possible that it was; z! I/ _% w$ E4 q1 v4 j$ m
  418. ;                     intentional (e.g., using an uninitialized variable and% ^7 d3 P: [1 J2 I
  419. ;                     relying on the fact it is automatically initialized to an4 K8 S* ?) \# h! N+ {* W: {
  420. ;                     empty string)4 c' ~: |6 C$ l" G, X. b% i0 I
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    / \7 Z+ o( U1 k  M7 e5 T
  422. ;                     to your code which will ensure the best interoperability
    3 ^" |6 _9 E) b. J# U/ ~
  423. ;                     and forward compatibility of your code
    ; A9 _& ^5 |2 J; g$ B8 E- X
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( F8 G. C' o, Q+ B: T
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's  @1 w( ~/ U1 C1 ]  q: j* a) N' G
  426. ;                     initial startup! `2 L2 S- _1 B* R' {5 ^. V8 b9 x
  427. ; E_COMPILE_ERROR   - fatal compile-time errors6 U2 O3 m# q6 x' l% a$ G3 C
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)% f* r6 |; J# K2 N1 z* U6 b5 J3 k
  429. ; E_USER_ERROR      - user-generated error message
    ( v% D! @) y7 L$ S3 D( Z/ @1 H
  430. ; E_USER_WARNING    - user-generated warning message
    * z+ N( @' h$ F7 j" T1 T
  431. ; E_USER_NOTICE     - user-generated notice message
    5 J) x: {) ]5 v5 c4 _8 F
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    7 I- x5 ~1 k, S& W% q5 i" b
  433. ;                     of PHP
    ( a  A0 }9 e* W( P, M0 _5 Z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    4 X/ v3 c8 j/ u! a6 @* D5 P
  435. ;) y* \  Q0 C- y* @+ S# s
  436. ; Common Values:
    # h, t2 @; E3 I
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 ?. H& G: V. W6 X! Z# E* y
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ r2 U( \. i* F' z2 V
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    % u+ D2 }6 i. P8 L
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors). J5 m% [6 C* c9 i0 O
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - l( x. H1 B; Z7 x4 r0 \: g) n* Q
  442. ; Development Value: E_ALL" I# X4 @/ @- p/ F# w, c
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: U, T/ K2 \6 o
  444. ; http://php.net/error-reporting
    * \! y) b7 p$ {
  445. error_reporting = E_ALL & ~E_NOTICE! Q( h- M0 H; ]+ Z/ V$ J
  446. 5 G# D. g" Z( J
  447. ; This directive controls whether or not and where PHP will output errors,) I! t7 `1 P7 ?. V6 S
  448. ; notices and warnings too. Error output is very useful during development, but
    & b/ H% w8 Z3 v7 N6 Q
  449. ; it could be very dangerous in production environments. Depending on the code6 |, {# G8 F- u9 ~, ~8 l& c& D
  450. ; which is triggering the error, sensitive information could potentially leak% @* r5 H7 @+ J8 q) w! e2 v7 o2 Q/ h
  451. ; out of your application such as database usernames and passwords or worse.+ M( L  ~$ R2 o0 d) d
  452. ; For production environments, we recommend logging errors rather than; d. G6 n/ X; F4 ]0 a, R  S
  453. ; sending them to STDOUT.* Y: x7 q& v. w2 A3 D
  454. ; Possible Values:
    , v( p1 V* x7 x7 @
  455. ;   Off = Do not display any errors: G3 b. M  }1 r: y7 R
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! m/ D# V6 Y0 p: e1 }
  457. ;   On or stdout = Display errors to STDOUT0 q8 m+ }. G2 \7 C% t; h) X) M- P" B
  458. ; Default Value: On
    ; d: m, Q2 ^- m1 Q/ }/ q
  459. ; Development Value: On( {0 G* i7 w  W/ `' A
  460. ; Production Value: Off
    + H4 Z  C. ~9 J  m. q
  461. ; http://php.net/display-errors
    * p+ @5 E+ K+ S; K
  462. display_errors = On
    : Z. ~$ D3 Z% i2 s3 }' K

  463. ) y5 E' {8 q6 Y5 @
  464. ; The display of errors which occur during PHP's startup sequence are handled% U" s" V- a. y7 v# u) }$ \
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    2 f' ^. ~2 [. B' G  `
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    % X1 b# t5 T: B( e, @' @* V
  467. ; debugging configuration problems. We strongly recommend you
    * U/ P5 d& Z& D. w5 k3 S0 B" D: v
  468. ; set this to 'off' for production servers./ n$ @" }7 @) d5 B. I6 ~
  469. ; Default Value: Off
    6 z0 a! l- B9 ?0 M) z" P" e1 X6 B' m
  470. ; Development Value: On! r  j* E- }$ V) C5 S! D
  471. ; Production Value: Off/ ~# A6 U& I, X7 h
  472. ; http://php.net/display-startup-errors
    / A. Q  j/ ?9 ]6 O7 t
  473. display_startup_errors = Off! M( E0 S% W. {6 o9 G4 R- ?
  474. 7 v* t/ X/ U1 y  d$ w1 H% L, \
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    : b" X) w. O% v, x
  476. ; server-specific log, STDERR, or a location specified by the error_log
    % a! `( m* L+ {' u
  477. ; directive found below. While errors should not be displayed on productions: Z* G& B" I8 W  v7 }# M: ]) M
  478. ; servers they should still be monitored and logging is a great way to do that.
    1 J" X3 C! W: U7 e
  479. ; Default Value: Off+ L. ]5 S+ T0 L/ Q/ l
  480. ; Development Value: On0 b, H! r( g! W# O
  481. ; Production Value: On- E& S$ w7 N) b+ C5 W% ]  A# N+ [8 j& S0 I
  482. ; http://php.net/log-errors' a# F, z5 Y: u2 A! o5 {/ h5 A
  483. log_errors = On
    # N- u" E8 M9 ?/ Y# Z% [0 Y

  484. ' q# d2 g( i1 q$ `4 u5 x7 Q% b( y; `
  485. ; Set maximum length of log_errors. In error_log information about the source is- W; n: S8 g" M. [5 T  f  n" T' q
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  Q( _: F% V( w! P2 L  C( ^) J- ~
  487. ; http://php.net/log-errors-max-len
    3 P) T5 N9 u+ K- _1 d5 ^6 ]
  488. log_errors_max_len = 10245 M1 ~/ z6 t- G* a) v6 Y% J
  489. ; ~, i' @4 V4 k$ P: ^
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : ], w" A) U4 o5 E" W6 h, i0 v
  491. ; line unless ignore_repeated_source is set true.
    . Q$ A! a6 w  f6 O6 e* I$ C# o7 O
  492. ; http://php.net/ignore-repeated-errors. S1 r& y/ g2 X1 N
  493. ignore_repeated_errors = Off
    . i' o+ c" b% `- Y& Z6 {) D

  494. 8 L/ e" U8 X" z' V4 t2 a
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ; z) Z1 |  Y% [& J4 ?2 U" E& Z# z7 }
  496. ; is On you will not log errors with repeated messages from different files or
    $ v' A5 S; ~6 L6 h! V
  497. ; source lines.
    ( O: D2 K/ W! l: X" ~. K* u1 W3 C( O
  498. ; http://php.net/ignore-repeated-source
    0 ^/ F" K7 n$ _
  499. ignore_repeated_source = Off' Z. K  R4 r4 L' Z# n6 i* ]

  500. % o/ i( H% v+ p0 X4 t* N! I" |
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    $ g4 S+ `+ m" T' Z% Y
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    9 n3 l3 Z3 M7 N2 o* P* i
  503. ; error reporting includes E_WARNING in the allowed list0 _% p; Z! |3 k  i
  504. ; http://php.net/report-memleaks
    ' t  H9 r* j0 z' G; i+ F) u; b' L
  505. report_memleaks = On
    * V8 n1 {9 U6 D+ Y
  506.   A, c5 v0 l9 d3 L0 p) t. x8 F
  507. ; This setting is on by default.
    ( }' F2 S5 Z0 [1 F1 p' _# u* b
  508. ;report_zend_debug = 04 {7 G  A: C& s% `7 c

  509. 1 E- g, h# i! v  W
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 [0 ]. Y1 n2 t- [7 q# p+ n: q
  511. ; to On can assist in debugging and is appropriate for development servers. It should, D3 |' x; x$ F. j7 D9 N5 |$ o
  512. ; however be disabled on production servers.8 w& }7 D# r  D& B) u) Z" x
  513. ; Default Value: Off
    ) v- a# _  B6 Q% h  a5 a+ k
  514. ; Development Value: On
    4 s& p1 W( M9 d9 A  @
  515. ; Production Value: Off, L4 N2 X, S% a+ G  o* e" K8 |
  516. ; http://php.net/track-errors/ [: D% r1 w9 Y
  517. track_errors = Off; \7 n9 P  j0 w( L9 ^  U

  518. 7 h0 [+ }3 K* z8 U$ H5 p0 n( w$ l
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 m, ?* ]! a- g1 M. V. F
  520. ; http://php.net/xmlrpc-errors
    : e0 _$ w1 u+ N( u8 v+ I! V. m
  521. ;xmlrpc_errors = 0* q/ [3 `0 Y' b3 o2 K% c

  522. - _$ b; u6 F2 O* n3 F3 C
  523. ; An XML-RPC faultCode
    3 v, g/ d4 |2 k# l7 c
  524. ;xmlrpc_error_number = 0+ o' x( ~& x: H) U  ^
  525. 5 V* f7 j' a* N6 G
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    % }& a2 O4 t  R* A( X) A' n
  527. ; error message as HTML for easier reading. This directive controls whether# T, X+ A4 M$ T; d
  528. ; the error message is formatted as HTML or not.
    / }+ C" n* J! [2 {) R& l$ S) J' V# t
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI/ Q5 l* ?1 T) `' N8 ^8 a1 U/ W
  530. ; Default Value: On
    $ t* T+ I% ^! t# E4 y/ D
  531. ; Development Value: On
    + E7 E( z2 j' A: g% h! u
  532. ; Production value: On7 U/ e( {! C. `# D7 n
  533. ; http://php.net/html-errors; j7 H$ W- k/ I! p
  534. html_errors = On8 w& e' O4 A: `) _( ]/ d* [
  535. ( e' X5 y7 |7 M# i0 `; Y9 q
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      z3 h3 B* G: g
  537. ; produces clickable error messages that direct to a page describing the error5 G8 I9 w0 U2 a
  538. ; or function causing the error in detail.
    8 W5 O' t, H$ t' p5 }
  539. ; You can download a copy of the PHP manual from http://php.net/docs6 o4 E  Z7 P6 u6 S$ Y/ b7 |
  540. ; and change docref_root to the base URL of your local copy including the
    ' t$ v# ?# x" ], j# R" Q
  541. ; leading '/'. You must also specify the file extension being used including- \, |) ]9 w* T  M8 f* `
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 R) _  o% Z9 P9 r; q, X
  543. ; case no links to documentation are generated.- U' j; y) ^. B' J
  544. ; Note: Never use this feature for production boxes.
    3 T% V1 Q5 H+ [; ^! f2 J. h& [& g
  545. ; http://php.net/docref-root) X- R) |+ R# e" g8 i
  546. ; Examples
    8 f6 V; Z6 K% m" d. |7 R5 n
  547. ;docref_root = "/phpmanual/") H* R1 M3 \1 I$ H) Z% M. H; v

  548. ; j- Z# e1 k8 k1 P. b" ^; X
  549. ; http://php.net/docref-ext% L- v9 g& B$ u- x2 r
  550. ;docref_ext = .html2 H2 W5 ?  S( Z) M' w

  551. ) n% t' t  f, F7 I
  552. ; String to output before an error message. PHP's default behavior is to leave0 o0 N) ~# _! [5 u' ~# {  c4 [
  553. ; this setting blank.
    + A6 c6 _! G  M  A
  554. ; http://php.net/error-prepend-string+ g9 v/ U) _) k
  555. ; Example:
    + \0 b' X5 U% ^0 m( c7 l
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    6 y2 T) ~( d. Q; y

  557. ' B. D" b: `9 C1 Q) _
  558. ; String to output after an error message. PHP's default behavior is to leave
    - {5 O; ?1 i+ E1 H& s
  559. ; this setting blank.
    " D) S+ G% K1 u* B# S# ?& ~5 j
  560. ; http://php.net/error-append-string
    ' r7 L9 a* L1 b$ J% C1 a8 N
  561. ; Example:
    " R; S2 \* d: `$ T1 Z4 ?( {2 M4 t
  562. ;error_append_string = "</span>"9 E! N6 L1 |7 T8 p
  563. + @9 d0 ~3 W2 O
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ( h  S* p/ W% k9 R
  565. ; empty.
    / p( h$ ?* Y& T0 ?: ^- @2 `
  566. ; http://php.net/error-log
      d* g6 `" B4 f, O
  567. ; Example:
    & T$ H6 N) t8 t- x$ u& j
  568. ;error_log = php_errors.log4 s8 Z3 L% {+ Q* ?
  569. ; Log errors to syslog (Event Log on Windows).1 D! P0 s& ~- f; }% y
  570. ;error_log = syslog) a  K1 X7 I3 W5 \9 }) }+ P3 X4 V
  571. : S0 t- Z' X& }
  572. ;windows.show_crt_warning
    * d1 Q, L2 h% R4 ~% J; k3 L7 o
  573. ; Default value: 0
    6 i' E% e4 A( o  @7 f2 C. A
  574. ; Development value: 08 s& `% A; r+ P/ q2 A) O4 j
  575. ; Production value: 0
    - F) I+ y% X! p

  576. $ @, ]5 |6 V# o" }7 V
  577. ;;;;;;;;;;;;;;;;;
    & u1 s( c7 a( [
  578. ; Data Handling ;
    1 s# q% z. V- Q6 y5 v) Q
  579. ;;;;;;;;;;;;;;;;;
    % q" g! X4 n! O! N1 Y# Z
  580. 3 x, V: ~# Z; R. e' s
  581. ; The separator used in PHP generated URLs to separate arguments.; T2 U6 J# D4 J& Y
  582. ; PHP's default setting is "&".5 {9 g! e8 {4 B: ?
  583. ; http://php.net/arg-separator.output' E$ k( ]& L2 P% D! n
  584. ; Example:6 S) M) W1 B$ |3 u* D- ~7 N; P, G8 E
  585. ;arg_separator.output = "&"
    % }6 ~# m+ x& i, x9 h$ b" p. J

  586. % Z* @+ J+ Q+ w, U2 C" l. D. t
  587. ; List of separator(s) used by PHP to parse input URLs into variables.: m. A( P' \; A7 i, \; |/ i" ?
  588. ; PHP's default setting is "&".$ G1 Q; R; r4 G$ g$ L1 r
  589. ; NOTE: Every character in this directive is considered as separator!; ?; S: t; R; i1 |
  590. ; http://php.net/arg-separator.input
    % Y1 l( `2 j, ~: @7 A
  591. ; Example:) z4 X& s. t! K# P2 u: v2 y2 O3 r- f
  592. ;arg_separator.input = ";&"/ O* p1 D* d6 ]

  593. * }3 e" B/ ~6 p: U
  594. ; This directive determines which super global arrays are registered when PHP
    ' ~5 g0 n9 C: }& p# D$ I. ]7 g: ?
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super, s* e( ^7 m6 l1 w( w8 X/ }
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    2 R, i7 |, p+ k" \2 O
  597. ; paid for the registration of these arrays and because ENV is not as commonly( C1 X( m' T/ g4 ]
  598. ; used as the others, ENV is not recommended on productions servers. You" t4 I2 q, l$ N; J& [
  599. ; can still get access to the environment variables through getenv() should you; t" j1 {6 E4 G/ @
  600. ; need to./ W6 n8 Z" b# c# Z, n) F+ u
  601. ; Default Value: "EGPCS"3 v7 e1 e4 i. ^3 Y' d" `: R
  602. ; Development Value: "GPCS"
    . V+ \6 _) h* F
  603. ; Production Value: "GPCS";( l& y8 T, P1 i; j# Q1 r- C8 o6 ~
  604. ; http://php.net/variables-order% L* p) d4 c2 k1 L/ c
  605. variables_order = "GPCS"- F5 n1 i' `4 d: K& i" K
  606. $ c9 @3 \! B9 z* Y+ B0 i
  607. ; This directive determines which super global data (G,P & C) should be  m  h, ]8 j; f8 X* B" i8 ?( p
  608. ; registered into the super global array REQUEST. If so, it also determines
    $ e8 Q4 Q+ Z  w. N, Y' D
  609. ; the order in which that data is registered. The values for this directive/ i2 ]/ ~& }$ A7 y" y
  610. ; are specified in the same manner as the variables_order directive,
    ! w# h3 F, f" E
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set1 Y) P/ h9 T8 W/ R( Y
  612. ; in the variables_order directive. It does not mean it will leave the super! o- E/ h. x: C. y
  613. ; globals array REQUEST empty.5 e- m9 f5 y. [5 n7 h
  614. ; Default Value: None
    4 z9 {6 B8 i) C, N
  615. ; Development Value: "GP"! S1 w2 ]1 t1 I5 s& H! x+ z
  616. ; Production Value: "GP"! N0 W7 v4 k. O
  617. ; http://php.net/request-order; Z2 }" k' K2 k: ~3 ?" w
  618. request_order = "GP"* J3 s0 A- Q, e# I* x. ?7 p

  619. & E# U, E' ?! ~
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ }! K  Q4 B2 _! ]* h
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script4 t* y" M, ~6 v% {5 |: x# e
  622. ; is invoked. $argc contains an integer representing the number of arguments2 y0 `0 e5 E" L+ [0 R& Q" c
  623. ; that were passed when the script was invoked. These arrays are extremely- C' t8 k( w* m( i. l  _
  624. ; useful when running scripts from the command line. When this directive is
    8 y6 K" H. s) o- r( L5 V% A
  625. ; enabled, registering these variables consumes CPU cycles and memory each time3 J  f! n! I/ H% i- n: w. y+ k) B
  626. ; a script is executed. For performance reasons, this feature should be disabled
    * q1 M! u3 @0 b
  627. ; on production servers.
    ! A( H" R: K% I+ h- F& N  T/ c
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! x/ x# h: s! a$ N8 o' }0 B
  629. ; Default Value: On8 f. q! E/ R) A' ?$ A) i' }
  630. ; Development Value: Off
    ( i# W) J! ~3 _3 Y1 f
  631. ; Production Value: Off6 p; n7 z1 a, u. p; m4 R$ ~3 H2 C
  632. ; http://php.net/register-argc-argv# Z) D6 f1 G2 q& V1 C
  633. register_argc_argv = Off
    7 q( \8 r9 h- _) y- ^
  634. ' }6 M& t8 @2 O) P* X  d" I) V
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're3 F- J( b9 y. @, v; C* h' N
  636. ; first used (Just In Time) instead of when the script starts. If these) s( u) v. {" s
  637. ; variables are not used within a script, having this directive on will result
    2 `: m0 f* n: p( r$ x% G
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 m% v7 V; {( J
  639. ; for this directive to have any affect.
    4 ~3 N& d3 h' k" Q$ D& r8 V$ `/ q
  640. ; http://php.net/auto-globals-jit
    - f& W3 F4 n1 u5 a* I0 L3 @5 k
  641. auto_globals_jit = On9 c( {) ^7 v- b. C$ }
  642. # B& Y  j. Z$ J! `+ f
  643. ; Whether PHP will read the POST data.; Q0 R% _; f! i" Q1 p. \4 K
  644. ; This option is enabled by default.2 L4 t5 A( Y/ {
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 q* ^6 G9 p/ y0 k+ y- w- X4 @
  646. ; and $_FILES to always be empty; the only way you will be able to read the, g6 y7 ~& A+ h# [: U7 K
  647. ; POST data will be through the php://input stream wrapper. This can be useful) {; ]" z  Z8 x/ h
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * U4 i6 P- M8 E# }
  649. ; http://php.net/enable-post-data-reading) U5 V' x8 s' U" T
  650. ;enable_post_data_reading = Off; {! e8 g' ~8 w) ]( i) x

  651. , U% l9 Q1 u+ w3 M, i
  652. ; Maximum size of POST data that PHP will accept.$ z( a: E: Y9 l; E. Q* y
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / V' J' E( c( Z1 r: |% M& ^& I
  654. ; is disabled through enable_post_data_reading.
    6 _  P5 n, q. K/ K2 x) B1 D- v6 ~7 x% i
  655. ; http://php.net/post-max-size
    4 j9 A7 ]( b) k1 J2 z; @' M
  656. post_max_size = 50M! j1 w+ u  [  n
  657. 5 z% t/ c" B6 y% F+ g7 @: A% f
  658. ; Automatically add files before PHP document.
    , G4 ^$ z& `/ \' C$ S" H
  659. ; http://php.net/auto-prepend-file
    3 s; w3 {' Q9 w+ Y( r! N# y
  660. auto_prepend_file =
    * z& F6 K3 I. s7 b& |. ]  T

  661. # W- l3 f6 |/ d( M6 G3 z/ h
  662. ; Automatically add files after PHP document.! L1 L) F; A1 I1 T& C, X2 v! c! @/ Z
  663. ; http://php.net/auto-append-file
    * J) G0 s5 Q: x
  664. auto_append_file =
    : R8 x; {0 ~" X/ _0 v# e

  665. & [: R: Y; G" h. Q) @: [
  666. ; By default, PHP will output a media type using the Content-Type header. To8 T" i% S, c$ X
  667. ; disable this, simply set it to be empty.
    4 d; C7 L4 _9 W* H& t6 |6 L  u! |5 P
  668. ;
    . ]0 F. p8 d8 f6 I
  669. ; PHP's built-in default media type is set to text/html.3 h0 n; v4 w# a& B4 o; D& {
  670. ; http://php.net/default-mimetype
    * U7 H+ K7 I, o3 a, i
  671. default_mimetype = "text/html"# ?* D- ?- g6 s
  672. ( s) |7 c+ C6 Q% {0 b" K
  673. ; PHP's default character set is set to UTF-8.
      P$ o4 X" ]: h! L& a' x
  674. ; http://php.net/default-charset
    $ c9 {1 ^6 T, T  F8 c" G& `0 \
  675. default_charset = "UTF-8"( f. a* x2 @$ ?8 O5 x
  676. ' c8 ~8 `4 a1 }2 {
  677. ; PHP internal character encoding is set to empty.5 j" |) }  v" R& F
  678. ; If empty, default_charset is used.
    . B0 ?, S  X1 {) N( T/ [" ?
  679. ; http://php.net/internal-encoding) X# D# M. x# k# R: [+ s% `3 y% ]9 x5 A0 F
  680. ;internal_encoding =8 f: V$ Q6 c2 g( b* R2 W1 N2 j
  681. + z, `/ P  b7 z# O# m
  682. ; PHP input character encoding is set to empty.
    . x, K! a8 f' t9 F
  683. ; If empty, default_charset is used.
    ' H0 M" h1 D; T" Y+ A: z
  684. ; http://php.net/input-encoding1 a( B/ S" \$ `8 x
  685. ;input_encoding =8 B3 }; a" G" H+ e
  686. ' X2 A. i1 c8 U7 i2 g
  687. ; PHP output character encoding is set to empty., N* Z, ]7 A2 O4 O# m/ Q2 I
  688. ; If empty, default_charset is used.& s$ \1 _3 X* o* o
  689. ; See also output_buffer.
    4 [1 i* U! ^; k) H( X9 L: B+ M) x
  690. ; http://php.net/output-encoding
    ( z* O& e" C, _2 t6 a6 ^
  691. ;output_encoding =
    # f# y9 R' s4 p" y$ q0 c. q# m  A
  692. / c# D; L' x9 f* E4 _7 z% o
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; P* Y: A' t; J# i% q
  694. ; Paths and Directories ;3 O! u4 Q, ?0 U0 y: ^6 {" S
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , l7 ~) B; @. g: X% _& O/ i
  696. & I2 N( n) w* F5 ?, @: i) y! X6 u! k
  697. ; UNIX: "/path1:/path2"
    ( a/ D% I. U& u; }- A) W# J5 ~
  698. ;include_path = ".:/php/includes"
    - {8 s1 ?( K& T" m% W/ n
  699. ;
    ; j# I8 ^" v( {4 r1 ]( D% y
  700. ; Windows: "\path1;\path2"
    : p/ K5 y) ^, W" m: t3 S' C
  701. ;include_path = ".;c:\php\includes"
    * N) f0 J; j, p/ ]
  702. ;
    - G' i' z. ?: l* O
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear": d/ c3 L! f6 f; |8 P
  704. ; http://php.net/include-path3 \3 W1 |# A  ?
  705. 1 |: k+ I9 F. p4 U' U" i
  706. ; The root of the PHP pages, used only if nonempty.
      {/ z- D; S2 t- ~
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, c2 @( g# G  K- D# L8 w. r
  708. ; if you are running php as a CGI under any web server (other than IIS)* O$ Z2 _+ ]7 D
  709. ; see documentation for security issues.  The alternate is to use the% A# m$ `8 U% H: ]" p" w
  710. ; cgi.force_redirect configuration below
    3 K1 Q: ~8 n+ A& h0 s- `) Y! n
  711. ; http://php.net/doc-root2 Q5 w1 w" g: P8 M/ J8 n
  712. doc_root =
    & ^) U2 y7 j3 F1 K" b4 Q

  713. $ M* I' G8 K" E% s; e. ~5 h
  714. ; The directory under which PHP opens the script using /~username used only
    # D' }+ h( H2 ]
  715. ; if nonempty.( z3 Y% n4 f) T
  716. ; http://php.net/user-dir4 r4 `& i6 o4 [0 _3 y
  717. user_dir =
    & x2 d* |4 R, Z+ |  [" R

  718.   K9 z* R5 I4 c: R2 C" l
  719. ; Directory in which the loadable extensions (modules) reside.) N2 j$ Q5 A4 {# ]/ E
  720. ; http://php.net/extension-dir+ }7 w1 s  Z/ J! O
  721. ; extension_dir = "./"
    - s, L6 s. F# I
  722. ; On windows:4 Z+ X) {' U) o( {% l/ I- M
  723. ; extension_dir = "ext"# @+ i1 l. S( X; T
  724. ! a1 E- H% y# O% U. Q
  725. ; Directory where the temporary files should be placed.9 I% q, t* d4 j
  726. ; Defaults to the system default (see sys_get_temp_dir). V, N- {# G1 u% {( n, _
  727. ; sys_temp_dir = "/tmp"1 V! V* G+ E- {0 j  v+ D7 A& C
  728. + ^; p0 K( Y9 s4 T+ t# u2 M- v# R" D
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work+ D8 S2 q  E0 L3 ^  q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically3 j) A* X- p) S1 Z9 ^: U% C* a
  731. ; disabled on them.
    : k1 g  J3 `& _% s2 d. C
  732. ; http://php.net/enable-dl
    , F8 Y, e% P8 o8 \% ^. ], H* }
  733. enable_dl = Off
    ) Q9 ~; X4 v9 x7 R: d

  734. 7 l6 Y! `0 o% {7 T2 B! X& b4 s
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " z7 O' v1 `( n6 Y
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can. B0 ]6 P6 ^- Y' o- [  O6 a
  737. ; turn it off here AT YOUR OWN RISK
    * o$ h0 J; e: V: p' q- g* k" N
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , C: x* o6 n1 F7 n! J! P
  739. ; http://php.net/cgi.force-redirect
    ( f6 E) P* G! ]" ~; `
  740. ;cgi.force_redirect = 1
    / k. J' Y6 m8 v- x: p
  741. , i* X. o6 O" g/ x0 P
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 P& @0 w3 ^# R- I: o" X5 [
  743. ; every request. PHP's default behavior is to disable this feature.
    0 O5 D# U7 h0 E2 z0 `
  744. ;cgi.nph = 1
    - ^! [( b- a3 ~: ~+ _1 P/ v  ~# X
  745. + p  b9 g3 G; [! |
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    , _  i+ R6 c  V/ [7 T
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP- Z2 Q; f0 D$ {
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    8 |) k: h7 o$ F& R3 e' i0 a& D, Q+ v
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.: g* @5 ~4 N- i: `
  750. ; http://php.net/cgi.redirect-status-env3 K7 L, J2 Z# R8 Q$ q3 A" J
  751. ;cgi.redirect_status_env =
      k$ v) F% a, @8 w9 U
  752. 9 i- n/ }  N0 d4 j$ K
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , O# l" W( F$ Q! z
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ' x2 r3 X0 @9 _' l
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting. `2 U) `/ N9 ]+ G
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    * U. o' D1 X4 {) {4 A9 I
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts  U9 X( K* P, ?% \' S; e& n' F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.# q* g: T+ m# q! q! r4 k# H  _% F
  759. ; http://php.net/cgi.fix-pathinfo/ b' Z1 R! d1 z4 @' E
  760. cgi.fix_pathinfo=1
    5 P$ v" R5 [; M0 s; N& ]
  761. 2 g  a# _& L% A. Q: ]: d: B3 _% b
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- x  }( ]9 K' ?3 I
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) ^# ^* Z/ S+ E( [9 w, l
  764. ; http://php.net/cgi.dicard-path  N/ F9 r* `* ?
  765. ;cgi.discard_path=1
    4 {% U2 D0 m8 l+ T( [

  766. : @7 K1 R) ~; `. `- `: u; p! B8 F) x
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    2 ~" d4 Q% W3 b$ @6 m6 i( ?$ I! L
  768. ; security tokens of the calling client.  This allows IIS to define the
    8 I% T. X  w. I
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    : W7 `1 g- q1 ^
  770. ; does not currently support this feature (03/17/2002)/ T& G* p4 R" C: ]9 {
  771. ; Set to 1 if running under IIS.  Default is zero., t7 v& u- k9 n7 v) x
  772. ; http://php.net/fastcgi.impersonate
    % y) q  X6 f3 y% ]1 f
  773. ;fastcgi.impersonate = 1: H+ l8 s  r; M# Z$ T

  774. $ p/ M! X7 e9 e' g. v
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ h  h. c% H3 S* d) _  S
  776. ; this feature.  h* X- X. v" N8 Z3 f
  777. ;fastcgi.logging = 0
    ( W. ?. G) Q/ c$ A

  778. , W; H9 z( W5 N" e7 ?# q4 h
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 ]/ x( Z9 U- d( D8 Z& x1 t2 l" T
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that) F: M) [, b% m; f: f( y# t
  781. ; is supported by Apache. When this option is set to 1, PHP will send4 @! u+ m: Z- C
  782. ; RFC2616 compliant header.9 {( S1 ?; B# R# u3 }- R
  783. ; Default is zero.
    ! i" H( q1 ]. t5 C
  784. ; http://php.net/cgi.rfc2616-headers8 ]6 X+ ]2 }/ W' t( r
  785. ;cgi.rfc2616_headers = 0
    ' l5 ]7 {/ u- P) n( X" ^0 ]

  786. # C1 _% T+ P% z% {4 L2 o$ @' ?
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    & L5 b5 A7 a  t% b
  788. ; (shebang) at the top of the running script. This line might be needed if the+ m' @0 ]) J% j6 Q* u
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 K; C# m' l7 E/ m6 V7 \% V
  790. ; mode skips this line and ignores its content if this directive is turned on.
    & R( T9 s( U, Z; f
  791. ; http://php.net/cgi.check-shebang-line: D8 B+ K- ]3 `/ _2 G) v: W
  792. ;cgi.check_shebang_line=1
    - r; [0 S1 C5 z# T0 r

  793. ( ?3 R2 i8 A; ^
  794. ;;;;;;;;;;;;;;;;
    . f: M3 U/ A1 |: r, i9 c: l7 g3 [# j
  795. ; File Uploads ;0 v* b5 T# k' E
  796. ;;;;;;;;;;;;;;;;# f) g/ V+ K2 W2 o# P0 k8 S& m

  797. + j+ Z' x: H& d
  798. ; Whether to allow HTTP file uploads.
    ; @( U/ ^! E( P# ^
  799. ; http://php.net/file-uploads
    ( o: i% W; [6 `0 g. u
  800. file_uploads = On2 N7 c9 D/ L/ [: L2 c
  801.   M0 {' U3 G9 U0 @* x
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 v1 h. U  e: o6 U5 j) A3 U
  803. ; specified).
    % V2 B3 u, I5 B0 X0 M% e5 Y
  804. ; http://php.net/upload-tmp-dir
    & j$ O7 f9 n" ?$ k' a
  805. ;upload_tmp_dir =$ c) o% L2 f3 p
  806. ' M* D3 a6 a! E  l# J7 m7 N  F
  807. ; Maximum allowed size for uploaded files.
    5 F" q. t; _# }8 A5 O0 F
  808. ; http://php.net/upload-max-filesize% G, [: T) g# q4 Q% U% q
  809. upload_max_filesize = 50M. Y( _& Y# K5 p. w  n( d

  810. / E5 S3 I6 y% c* V% d; `  V
  811. ; Maximum number of files that can be uploaded via a single request
    0 M# ?* p4 o; [# `
  812. max_file_uploads = 20
    9 O4 {) h4 s3 T/ B) s1 f* h

  813.   \! U5 n! ^$ @# `
  814. ;;;;;;;;;;;;;;;;;;) q% c, z6 f' e. p6 X' }' U
  815. ; Fopen wrappers ;
    7 Z/ c0 u) N  K$ `! {5 r3 y. W
  816. ;;;;;;;;;;;;;;;;;;
    + Q* [; V, e9 i# \

  817. 3 s5 M8 R( |( G0 I0 x/ G! O
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % S/ U; i1 B/ m% W6 S/ \9 s0 ?
  819. ; http://php.net/allow-url-fopen
    1 P) `  p8 }$ x- }$ M" [1 A! h
  820. allow_url_fopen = On$ s8 p! ^+ N" s; O' v( i+ c9 p2 f

  821. 5 J  D6 z( ?2 t& }8 ^
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 D4 [+ n' g8 B2 z4 J5 M) I3 }: v& m
  823. ; http://php.net/allow-url-include
    5 Y9 U4 d0 }4 H  E' c
  824. allow_url_include = Off
    8 K# ?9 P8 w$ c. h) `
  825.   F- G) t; s, j: A$ g% M- e# T
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 `0 x. N" t) k  P/ G- \- V
  827. ; for this is empty.  C% h+ H; @: b" W' X0 c
  828. ; http://php.net/from. h7 C; A: f9 v5 t3 ?( T
  829. ;from="john@doe.com"
      @( j$ T& t8 A% F
  830. 6 I; o- h! ~0 Q) t" Q
  831. ; Define the User-Agent string. PHP's default setting for this is empty.; h( E( ^8 \: x& J3 r
  832. ; http://php.net/user-agent
    1 }- T- q  }( H3 x7 }
  833. ;user_agent="PHP"
    8 W1 [( S  g/ U2 h. [
  834. 5 v6 G; ^9 w. q4 C, Y: v
  835. ; Default timeout for socket based streams (seconds)
    6 x+ ^8 ]- G( R# ]/ Y! V
  836. ; http://php.net/default-socket-timeout4 M6 Z* y% S2 Z1 M7 ?; u8 Y6 L4 `
  837. default_socket_timeout = 60& n8 D- i1 N0 b' n% `# ?

  838. 3 P7 s  l) V+ E" J
  839. ; If your scripts have to deal with files from Macintosh systems,& h2 M3 X4 K: m
  840. ; or you are running on a Mac and need to deal with files from
    2 V: O2 G# }- @" R8 D
  841. ; unix or win32 systems, setting this flag will cause PHP to1 |* W) T; c/ s
  842. ; automatically detect the EOL character in those files so that, ~1 J9 {7 s" X  ]( d1 \! x
  843. ; fgets() and file() will work regardless of the source of the file.
    3 F5 ~) u) D' T2 `! ?$ l
  844. ; http://php.net/auto-detect-line-endings9 f: l. X/ ~$ R% J) p0 n
  845. ;auto_detect_line_endings = Off
    9 H, o7 |# E& A% u! n$ r" l( t! p" a

  846. ) [. N' u+ \- S5 Y( D! ^
  847. ;;;;;;;;;;;;;;;;;;;;;;* }5 X2 v; G4 A" s
  848. ; Dynamic Extensions ;
    $ v* i4 T+ W2 G% ]3 i
  849. ;;;;;;;;;;;;;;;;;;;;;;
    5 X7 b) f& z8 }0 V' }" e

  850. 5 e! C3 A. v) q1 I" s! Q
  851. ; If you wish to have an extension loaded automatically, use the following0 b1 R/ {' T0 N6 L, K$ N% J
  852. ; syntax:
    . b6 W# r1 k( E" E
  853. ;
    . V- S3 }# t* [& e0 L
  854. ;   extension=modulename.extension
    . x: r0 ]0 l5 c8 P- c! m
  855. ;
    0 d* N- y& @5 }! U& q4 t- n8 ^
  856. ; For example, on Windows:
    % ]1 Q0 g5 i& j5 i
  857. ;. b( C1 ~2 A, T. `/ w2 ?
  858. ;   extension=msql.dll9 R  ?0 p: Z9 G, e+ `! {
  859. ;+ R2 l* b  O9 v* K  f
  860. ; ... or under UNIX:  S8 J, H' ~, U
  861. ;* V  ^: e& h# T7 ~# A/ H# |7 x
  862. ;   extension=msql.so
    & a2 c& [% k( r- S
  863. ;! F9 W9 k+ J' A
  864. ; ... or with a path:
    + U0 x5 V0 N) n( u  w" e5 n- Z/ u
  865. ;# ?( A$ [2 v9 G7 @8 H6 y. G; N
  866. ;   extension=/path/to/extension/msql.so
    , L% a# w, }( ?. X1 F1 U& Y3 z
  867. ;3 l) B2 K5 M; Q# k( \% v: U
  868. ; If you only provide the name of the extension, PHP will look for it in its, e" m1 Z( P1 X' K9 E- H7 w5 j- @+ J
  869. ; default extension directory.; f$ h0 j) G$ x1 d1 U
  870. ;
    : \9 w. ~- e, p3 O
  871. ; Windows Extensions. p9 B$ [0 v6 l& Q7 `
  872. ; Note that ODBC support is built in, so no dll is needed for it.3 p8 e% {' y" f( m
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ) T' W5 c/ @( {# r  h7 C0 X, N" Y5 i
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    + n" d9 g( `; Y& E( `+ r
  875. ; Be sure to appropriately set the extension_dir directive.' N7 b7 q+ G+ `7 I
  876. ;* q( W, |* t+ u2 Q6 I- l
  877. ;extension=php_bz2.dll. k9 X) p  P% R. Y$ F8 N6 X
  878. ;extension=php_curl.dll  Q8 b0 {& K3 Q2 {% n5 ]/ R
  879. ;extension=php_fileinfo.dll% Z9 M) l: M/ R- e' N
  880. ;extension=php_ftp.dll
    # n6 [7 x- w9 \0 P
  881. ;extension=php_gd2.dll
    / b. B! b1 y& H( [; ?" \2 x
  882. ;extension=php_gettext.dll
    5 H7 k1 v/ f& Q; c" `
  883. ;extension=php_gmp.dll8 U( E% F5 C9 c* x+ z) P- @. l
  884. ;extension=php_intl.dll
    2 |. {( \3 p8 C
  885. ;extension=php_imap.dll
    : A" M; i# }% n: g  H
  886. ;extension=php_interbase.dll
    8 l  r% x4 j9 L( k% O
  887. ;extension=php_ldap.dll; W( Y9 y( W+ d/ @" J
  888. ;extension=php_mbstring.dll
    7 K9 o) I5 [2 J; ]/ d4 S
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it2 T- r3 T% x) C
  890. ;extension=php_mysqli.dll$ ~9 i& z  D( F
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  i! ^( o. J2 `4 Z+ e
  892. ;extension=php_openssl.dll' }% n+ C5 P, ^2 A' q. V
  893. ;extension=php_pdo_firebird.dll
    ; R% B" X: {; J
  894. ;extension=php_pdo_mysql.dll' O: b' J1 u* {6 c  g
  895. ;extension=php_pdo_oci.dll# }/ P; A0 v: n
  896. ;extension=php_pdo_odbc.dll
    - d& x, [$ |; F, \" S1 s2 r5 R, c( H
  897. ;extension=php_pdo_pgsql.dll
    # I1 n7 G# {0 J% h2 D/ K
  898. ;extension=php_pdo_sqlite.dll
    " J. X9 j! {) K; W4 q( n
  899. ;extension=php_pgsql.dll
    / p- N5 Q+ |! y5 |. a/ x$ u
  900. ;extension=php_shmop.dll
    $ `* M+ a% h% w0 P% _5 n0 `

  901. 1 h! L. S0 h% H
  902. ; The MIBS data available in the PHP distribution must be installed.
    7 b1 J$ F" N. F% w: y/ N: h3 S
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ; ?" @# G) s) t5 f+ G
  904. ;extension=php_snmp.dll9 k* k( P. m0 P0 M
  905. ( b. \2 A% @$ j% A/ q4 n7 b
  906. ;extension=php_soap.dll
    * z: P! C% Y2 N3 Q- M( p$ Y  v. X
  907. ;extension=php_sockets.dll
    / i: ~2 N* w( ~+ V
  908. ;extension=php_sqlite3.dll4 ?; J( T+ J+ k" b  Z" C
  909. ;extension=php_tidy.dll) P. y* C1 V% _( J! i
  910. ;extension=php_xmlrpc.dll( ]3 s. j1 ?  w8 V
  911. ;extension=php_xsl.dll
    / l5 @# ~1 x. V7 v

  912. + q1 K& W4 ^9 B& ~
  913. ;;;;;;;;;;;;;;;;;;;2 X3 _# t, ~# W  I$ c
  914. ; Module Settings ;* |" t( ]! i& i* H4 j$ `) H+ Z4 o& @
  915. ;;;;;;;;;;;;;;;;;;;
    $ h% f/ Q: Q) }9 c% ]9 \

  916.   ~- }( `" q! b3 F
  917. [CLI Server]+ ~" c+ Q7 f, \; l- C& T
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output., R7 ?( i$ f1 R$ t) x
  919. cli_server.color = On
    ! i  ~$ U! b2 s/ Q/ m

  920. # H# [. m+ |5 z  x) u; N. ^
  921. [Date]
    / r+ a% v; J& t9 S
  922. ; Defines the default timezone used by the date functions' @; @8 M& A. ^8 q, G
  923. ; http://php.net/date.timezone7 H& C* G1 e* Q$ k' u2 V* _
  924. date.timezone = PRC  D$ j4 m4 G( I  s" e) c
  925. 0 i) t6 I2 I9 K0 C
  926. ; http://php.net/date.default-latitude/ W1 X$ T7 A( ~3 _8 m
  927. ;date.default_latitude = 31.7667/ s6 y: b9 c# Y5 E2 ^+ w8 v2 W

  928. # z) y- z1 S0 X3 w3 H
  929. ; http://php.net/date.default-longitude$ _' U- t. H1 x: M5 s9 G7 v! O
  930. ;date.default_longitude = 35.23334 y2 y" M/ O  ~2 G7 ?
  931. $ J, v2 G- p4 n0 r$ A
  932. ; http://php.net/date.sunrise-zenith
    & v7 J2 u" `: J- j  A. O* ~
  933. ;date.sunrise_zenith = 90.583333
    $ z1 m8 h, i3 w. Q/ p# @
  934. 2 ^2 B# G6 _+ }) H! F9 F$ t
  935. ; http://php.net/date.sunset-zenith; `  N7 P' A/ r
  936. ;date.sunset_zenith = 90.583333
    8 n8 l% `6 U3 y( Q! @

  937. 0 F+ {, }& \4 m1 o6 \
  938. [filter]
    5 F) b# ?, i+ x* U
  939. ; http://php.net/filter.default
    / q7 X. a! W( O( F$ Z. e
  940. ;filter.default = unsafe_raw
    " U5 j6 n( [) l& Y

  941. & i1 o/ n( u6 _+ v
  942. ; http://php.net/filter.default-flags9 W$ z# }% q- b2 O: t
  943. ;filter.default_flags =
    / M4 ]8 x* g2 ?/ k

  944. - G: m4 O, \5 ^( h
  945. [iconv]( l  O+ f  ]  S/ E# ~+ t
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 ^( Q2 b5 z  M$ y" i/ B# g3 n
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ( [* S' F" {, |% f) H# ^& `" L
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ' [$ Y' a4 j* A) A
  949. ;iconv.input_encoding =
    7 V2 L* _) w% a3 T

  950. . C$ s. |2 X- S. |- r5 N% D
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 |9 g) a- ^4 l. D2 V
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' w* E  _7 N! y1 S# |# B
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 K( U, _4 D# ~+ f' s, t; a' }
  954. ;iconv.internal_encoding =
    ' H7 g2 O! [1 a* Y2 s+ `! ?1 d! i
  955. 0 r5 k+ B2 m. b6 |# d
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : A3 ^* d) m6 u# Y& G/ K, y' `
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
      y2 M/ D9 R* D; ~" |* D
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! I7 d+ N" z" R2 c% \5 z. r
  959. ; To use an output encoding conversion, iconv's output handler must be set8 @' @: A8 E: z
  960. ; otherwise output encoding conversion cannot be performed.
      \# K) U  G* @$ H  s
  961. ;iconv.output_encoding =
    2 k) W' R: I( N' u5 k4 X

  962. & p/ @5 w9 w6 k; ~: s, ~
  963. [intl]6 I) x' q( ]4 X! p( ]3 z/ Z+ y
  964. ;intl.default_locale =
    / L% K( h8 c& R3 h4 t( A
  965. ; This directive allows you to produce PHP errors when some error
    ' H$ d7 B- P9 C  g: b
  966. ; happens within intl functions. The value is the level of the error produced.
      ~! y/ ]: P6 _& i
  967. ; Default is 0, which does not produce any errors.7 I* a7 v. }: ]# X/ O: D
  968. ;intl.error_level = E_WARNING
    " T$ B$ z0 O/ U' j2 j$ c. X
  969. ;intl.use_exceptions = 0
    : P; m! A9 S  Q- k3 h8 w$ W8 f

  970. 7 X& C5 A: B$ M! P) D1 m' I
  971. [sqlite3], P+ d" q5 O7 R
  972. ;sqlite3.extension_dir =% i- v. V% K5 d* R. o3 N3 D
  973. 9 d; N1 b2 J& b1 i- L5 \
  974. [Pcre]
    / q) r# l# @* Z+ g/ e4 x  l
  975. ;PCRE library backtracking limit.
    , O0 B" ^5 h- Z. |8 p) Z
  976. ; http://php.net/pcre.backtrack-limit
    ) w9 Y) n, I  h0 a( L
  977. ;pcre.backtrack_limit=100000
    6 n3 [7 |" l+ ?( j

  978. ! G6 C  W% ]) \4 U' U
  979. ;PCRE library recursion limit.5 m, p- l6 s( r' n/ s) I
  980. ;Please note that if you set this value to a high number you may consume all0 x/ i- r4 P# k7 S
  981. ;the available process stack and eventually crash PHP (due to reaching the( d6 V$ E1 F4 r5 z
  982. ;stack size limit imposed by the Operating System)." h6 j# @7 R: Z/ A; u/ e0 @: z
  983. ; http://php.net/pcre.recursion-limit# b5 Y, v! p6 w; M  I, L% E- c
  984. ;pcre.recursion_limit=100000
    % f0 g7 V5 u8 f8 u: @% z+ Z3 r

  985. ; `  G0 `" |, V1 |
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    & R9 w4 ?/ A, r, I) I- p1 i
  987. ;library to be compiled with JIT support.. G$ [4 T) ^4 v2 z; c$ O# u
  988. ;pcre.jit=1
    : p- t( _. M' C/ G8 P
  989. 2 u; L; a/ t" e- I! O
  990. [Pdo]; [1 {- A7 Q' ]  U8 I" }
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") ^: k! M7 J1 V
  992. ; http://php.net/pdo-odbc.connection-pooling
    % z+ W7 F% Q: y  j/ ^- ^! }
  993. ;pdo_odbc.connection_pooling=strict
    0 R" v2 D: Y$ e2 o7 f% k1 p/ d

  994. " t/ ?0 q/ B+ O( L  N8 P: b
  995. ;pdo_odbc.db2_instance_name
    + c# E5 M9 H4 Z, j! ?

  996. ; y1 _; s% Z3 b- B# \7 |* s( _
  997. [Pdo_mysql]' j" v; N9 C& H# X- [+ ^
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache: a2 Y0 ]; ?% t4 ^- ~
  999. ; http://php.net/pdo_mysql.cache_size
    / Q/ |1 C+ P, h; O+ u. _9 e+ f
  1000. pdo_mysql.cache_size = 2000; c& V# E8 M3 D2 b. _) x
  1001. 1 `1 e# [- ^+ A- E, H1 z# b
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & f) H7 g  ^/ h2 h, y( U
  1003. ; MySQL defaults.$ T/ V, A% W5 }  }( Q
  1004. ; http://php.net/pdo_mysql.default-socket; N! W' J% f0 }; d
  1005. pdo_mysql.default_socket=; z/ H/ _6 E! h2 T# W+ r

  1006. $ |3 H! ~* b% }2 V6 u/ z% @
  1007. [Phar]
    9 P/ D) i9 m9 S0 p  v$ r
  1008. ; http://php.net/phar.readonly
    5 I; A  n2 Q& t  J4 J
  1009. ;phar.readonly = On! M$ ~$ x  S. b
  1010. ( G( ]: T- i* K. ~6 w. {: E% Y
  1011. ; http://php.net/phar.require-hash6 c, u- s1 U8 g" `
  1012. ;phar.require_hash = On
    2 \4 I7 ]" Z9 @' C) I

  1013. 5 f% G  y, ]5 s$ v/ s6 o
  1014. ;phar.cache_list =
    ) ^4 a( U  Z. H- o8 p

  1015. # s! S3 `" G  @6 r' Q0 y$ ?
  1016. [mail function]8 B! q5 e- d: s4 k2 M6 a4 X3 ~
  1017. ; For Win32 only.
    ; W* S3 `$ Y4 W9 w6 [+ {. e$ c
  1018. ; http://php.net/smtp: M' w6 S4 T8 i/ P9 s& N* V
  1019. SMTP = localhost0 F4 ^2 z9 z8 r) s. |
  1020. ; http://php.net/smtp-port" v+ K" @$ X0 g. E$ c# l0 ?
  1021. smtp_port = 25& }: }' w1 C9 j5 l

  1022. - ~7 d' K* N' v7 f' a7 f% t& y
  1023. ; For Win32 only./ H2 I2 S! V8 j; z0 }# m
  1024. ; http://php.net/sendmail-from
    1 s' F$ |, ]  r7 u7 X  K$ `3 w
  1025. ;sendmail_from = me@example.com6 U5 G( ]+ {- [. A8 _6 X5 C3 N

  1026. 7 q- \/ y: w0 B, n9 N$ o3 n% [) ^
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ w- O4 k8 M5 u/ u& r5 p5 }( Q, v
  1028. ; http://php.net/sendmail-path
    ' _$ H& _6 A4 z
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    7 q3 Z3 D: }  U0 C

  1030. : F; u9 E- F/ Q" c. P7 y* H. i
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    3 d% C6 M% |+ S6 C& ^& h3 w% `
  1032. ; to the sendmail binary. These parameters will always replace the value of+ n$ v8 z& H$ Z0 e+ y
  1033. ; the 5th parameter to mail().
    6 `/ R# T* _( B1 q2 U" b
  1034. ;mail.force_extra_parameters =4 {% O5 Q( J$ n4 S

  1035. 1 ^) {0 l/ L/ [2 o7 \4 f
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 O8 g# H" ?9 S6 |
  1037. mail.add_x_header = On
    9 {* _5 D2 f: O% g  t9 j6 I

  1038. ) u* t* Z, \- A, J5 t' U
  1039. ; The path to a log file that will log all mail() calls. Log entries include/ C# |- u0 P- b9 [3 Q0 T0 E
  1040. ; the full path of the script, line number, To address and headers./ A- m2 V5 o+ ^: W  A
  1041. ;mail.log =2 F. K; O0 L% d/ P4 k
  1042. ; Log mail to syslog (Event Log on Windows).3 \0 P. S! U% K* y+ V( j
  1043. ;mail.log = syslog
    * ]% x6 U2 f+ r2 W

  1044. , a( h4 d9 z+ C& o5 s: F
  1045. [SQL]
    8 f8 \: f3 |+ N/ B+ @3 z: G, \
  1046. ; http://php.net/sql.safe-mode
    6 W6 w$ ^" g6 ~) u, Q3 I, @6 h
  1047. sql.safe_mode = Off
    , R) ]& J, W+ W
  1048. 7 r0 ~7 Y& X8 A
  1049. [ODBC]
    6 ^4 J& x8 {( N) p8 \( R
  1050. ; http://php.net/odbc.default-db
    . p" v$ P$ v8 ?, J% K, A
  1051. ;odbc.default_db    =  Not yet implemented9 }/ k. X# P$ i4 F3 W0 h/ k: S

  1052.   q4 n: C1 a8 |
  1053. ; http://php.net/odbc.default-user
    : R8 A( S* F, Y9 l9 E' v
  1054. ;odbc.default_user  =  Not yet implemented
    2 [& t- ?# e. U  ?0 l
  1055. 9 U/ c! p5 ^2 _5 Y
  1056. ; http://php.net/odbc.default-pw
    2 z8 H2 e* ~) @3 L- I
  1057. ;odbc.default_pw    =  Not yet implemented6 D& I: ?/ _2 w

  1058. $ I# e' P" E2 V. I
  1059. ; Controls the ODBC cursor model.
    + w$ R' o* w' d8 Q4 N. t
  1060. ; Default: SQL_CURSOR_STATIC (default).
    5 a3 ~7 C. Q" m4 p( I
  1061. ;odbc.default_cursortype
    ! P, v1 ~9 {$ }7 i

  1062. 7 Q8 w, ~% ]; ~9 h+ E
  1063. ; Allow or prevent persistent links.
    0 I6 X" d) Z+ q* v6 j' [
  1064. ; http://php.net/odbc.allow-persistent
    + K6 Q9 s/ _% e5 H8 O
  1065. odbc.allow_persistent = On
    ; Y  f8 `! ]2 D9 V

  1066. ! L4 D5 S) _3 a
  1067. ; Check that a connection is still valid before reuse.
    5 w. n( i/ U# T) Y
  1068. ; http://php.net/odbc.check-persistent+ _6 h6 D% h: ~5 j+ a7 Z" Y! ^
  1069. odbc.check_persistent = On
    6 Z4 S3 P, [# g6 U. R0 r9 R% @

  1070. - T3 P; w+ J: h" Z& d  `3 g$ R
  1071. ; Maximum number of persistent links.  -1 means no limit., A4 f2 n+ t$ x- v9 k; w# `$ s
  1072. ; http://php.net/odbc.max-persistent% P2 ~' \6 _# S4 B. `  O  {- s
  1073. odbc.max_persistent = -1
    # |- j" @$ Q% Y

  1074.   U/ h, M; Q1 o/ g  v' C, l
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ x# L# V0 @/ Z/ T
  1076. ; http://php.net/odbc.max-links# U: B; s, D( b7 Y3 S
  1077. odbc.max_links = -1
    7 S& o. d+ h1 d/ d0 }6 \
  1078. ' s; G; `% l* W
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , |3 m5 a- }( [8 P& `
  1080. ; passthru.
    + ^  s" ?! }4 y- d+ I
  1081. ; http://php.net/odbc.defaultlrl( y, g' L6 o: l8 I) o% D; q. Z
  1082. odbc.defaultlrl = 4096
    " Y3 O1 u' x# J. b7 `- z
  1083. , G/ j4 b) \% J6 F
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    8 w' ~: V' r: Z1 Z3 e
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation2 |9 |! `9 J* ~+ T
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    1 k4 s+ H' @3 V- ~* v8 A
  1087. ; http://php.net/odbc.defaultbinmode7 D. ^+ J% {; Q+ z  Z# j# ?
  1088. odbc.defaultbinmode = 1
    0 o. F# ?9 s. \+ S/ d8 F% r4 z

  1089. ; P, E. r8 R1 G9 U% S! e# N
  1090. ;birdstep.max_links = -1
    2 o. l0 R+ Q: N9 V1 h

  1091. ( i. @. S1 o. z1 x
  1092. [Interbase]4 Q( N/ }# [5 I; u+ r- V3 G
  1093. ; Allow or prevent persistent links.
    ! e- h6 _+ Y  x& ~9 H  }
  1094. ibase.allow_persistent = 19 n1 `: i" F& B9 D

  1095. 3 f5 U7 V5 V' x* F/ a
  1096. ; Maximum number of persistent links.  -1 means no limit.. s( [, H, g8 X. [+ d! o: B" W
  1097. ibase.max_persistent = -1( o5 O) L( B0 `) Z9 Y) t

  1098. 4 |3 H, w1 E  D* E" Y" g9 j0 z
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; g3 ~& {6 k( G  S2 Q7 i5 h8 l
  1100. ibase.max_links = -1
    % Y7 b0 A8 S' v. t, @5 \, J
  1101. ) b1 P- o+ ]9 [6 ]# n# y- T4 t
  1102. ; Default database name for ibase_connect().. y  T8 E0 P6 `- @& V
  1103. ;ibase.default_db =& w7 z3 S! t8 b* p0 |4 F

  1104. 3 T9 H; W5 y7 Q6 X  Y
  1105. ; Default username for ibase_connect().
    7 C  J: w* H, Q+ u
  1106. ;ibase.default_user =
    8 e" H/ B2 \, r# O- N
  1107.   a8 G; e. Z1 Y' _
  1108. ; Default password for ibase_connect().
    ( S* O, J# K' M# R1 Z" \) U
  1109. ;ibase.default_password =" E4 b$ S7 D7 T4 B( q/ D) R! f( I
  1110. + Q$ f4 N: h/ C; L- z5 n
  1111. ; Default charset for ibase_connect().5 |8 i3 U2 O/ Y5 ?, N
  1112. ;ibase.default_charset =6 Y7 m, e: B3 f* ?. ]
  1113. , k  w- r6 [% c9 d! R: T, ?  e
  1114. ; Default timestamp format." I6 E' f; n% ]
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . T& P2 K+ X1 O* H, g2 K! V
  1116. - y( e2 `  `- M4 V
  1117. ; Default date format.1 M" N" D) E. V, {/ a
  1118. ibase.dateformat = "%Y-%m-%d"- b+ T9 p- ~  Q8 `. |7 L2 W7 g
  1119. + F% c8 }' \- [/ Z- C
  1120. ; Default time format.: Y. O. w/ Q+ \. t( e% ]/ d
  1121. ibase.timeformat = "%H:%M:%S"% f' H: L, J, N7 k- q0 i5 s
  1122. 4 g( Z+ C$ g$ m/ K7 H
  1123. [MySQLi]
    4 t+ O8 X4 }/ r6 ~0 w5 Q( w
  1124. * F( N, a" a! k, s" A
  1125. ; Maximum number of persistent links.  -1 means no limit.
    : ~$ h$ ^" W# F% c: z
  1126. ; http://php.net/mysqli.max-persistent
    9 i  k8 r4 U% |2 V: g+ H
  1127. mysqli.max_persistent = -1
    7 L8 V+ m: R1 ]$ M2 U2 m

  1128. ; p+ R# o; ?' |6 S) m
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 k" ?2 k; \) n9 ~
  1130. ; http://php.net/mysqli.allow_local_infile. @( i! D- z$ D% f4 k+ i7 `* H: ~* k
  1131. ;mysqli.allow_local_infile = On
    1 B4 |" t# B5 s0 Y) I5 t3 m+ X
  1132. 9 ~+ j" k/ d" E0 ~) K  k
  1133. ; Allow or prevent persistent links.# K8 j# [" [$ K! ?* z9 A
  1134. ; http://php.net/mysqli.allow-persistent; x8 c" F, u# i1 G  B
  1135. mysqli.allow_persistent = On4 i# v/ E" c' u3 G6 E9 N

  1136. # P  H: h* q4 T
  1137. ; Maximum number of links.  -1 means no limit.
    $ T  I( J1 J& A6 Q. E
  1138. ; http://php.net/mysqli.max-links% a) s8 W0 ]+ y2 R
  1139. mysqli.max_links = -1/ |9 F: O) r* H; I' ^" g
  1140. 9 K/ T" t1 q! Y! Q* t( E/ w- R; i4 s
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 ]6 K. B& m. z! p% U; B& O
  1142. ; http://php.net/mysqli.cache_size
    2 ^4 u1 d) {. J9 x
  1143. mysqli.cache_size = 20003 S. }3 l; H, C! p7 i- q: Q
  1144. / E, E$ o$ ~' ~3 X/ `% `
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    0 R. V7 ?1 J& T7 b" R; y3 a0 `
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ a7 s: B/ q) m/ Z; s6 J
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look* C8 x/ h0 s! m0 O6 K0 s
  1148. ; at MYSQL_PORT.' k; h# }& y, y8 R( I
  1149. ; http://php.net/mysqli.default-port
    6 v+ C; j* m& J& Q9 L
  1150. mysqli.default_port = 3306
    7 F) \. Z+ y% O+ J6 X: r

  1151. # J3 W& V9 n* y, E
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in& ~) R/ Q' Y5 Y9 v& g4 G* n- b6 ^
  1153. ; MySQL defaults.
    0 z7 ~: v2 ?' E$ p7 x1 G
  1154. ; http://php.net/mysqli.default-socket
    ; V" D! y( y* V% [2 v
  1155. mysqli.default_socket =
    8 I( G& b$ _" X: \- [& u' d
  1156. 9 w/ B$ `" q3 O2 s
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * o, D; P4 |7 y4 z& k" @
  1158. ; http://php.net/mysqli.default-host( `, x' K  V+ s* h+ n
  1159. mysqli.default_host =0 n1 g6 [; J% q' a7 c: P9 a
  1160. % x9 ]* {% N3 {% g$ m
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 }9 P: S$ w  m: e9 L, }  H& J0 X
  1162. ; http://php.net/mysqli.default-user
      S9 `2 y& s, I5 g+ b, x; G
  1163. mysqli.default_user =- I( t- w, p) D. T

  1164. . x) ~+ o. t) D) p5 K
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    0 b4 F0 w0 x. G* g. }0 H
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.- c, u. n5 l7 U/ E
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 p& X, i0 I6 O; [7 y! J. z* }
  1168. ; and reveal this password!  And of course, any users with read access to this$ {- F9 G" B5 F7 A2 U) `
  1169. ; file will be able to reveal the password as well.1 D: D9 D- \. Z  t2 x
  1170. ; http://php.net/mysqli.default-pw  Z/ w$ v' z0 k
  1171. mysqli.default_pw =
    ; m3 h/ Q/ `# x4 }6 u6 o  o/ A
  1172. 5 `6 F: a5 t: X
  1173. ; Allow or prevent reconnect2 K) h$ r1 ^4 f7 [6 V
  1174. mysqli.reconnect = Off
    % P  e4 g$ p. K# L' p! z
  1175. % i/ L' [: u! ~! d0 |1 D. r
  1176. [mysqlnd]
    / h3 o7 {, E$ l
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + Z" z7 S' Q" J* w2 M4 Q
  1178. ; used to tune and monitor MySQL operations.
    * x  b: k# U9 z" s, P& X
  1179. ; http://php.net/mysqlnd.collect_statistics
    * f( m+ b* d3 {# w1 u/ S1 N0 g/ p
  1180. mysqlnd.collect_statistics = On
    ( {5 m/ h) }$ p1 Y# J" G' ^
  1181. 8 B5 x2 L6 M' q1 m, Q+ b* Y
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 `; o. C& C: a; P0 p0 Y  S
  1183. ; used to tune and monitor MySQL operations.
    $ K3 Z2 D  `  i3 j
  1184. ; http://php.net/mysqlnd.collect_memory_statistics9 B1 O5 Z" H; S/ W8 B% K  i7 Z
  1185. mysqlnd.collect_memory_statistics = Off  l0 c) O! |& N) k; N8 ~& g0 H

  1186. ! ~1 s8 K. r2 A* b! \! G) _7 b
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    3 ]5 Y' k* R9 i4 j2 o3 N
  1188. ; file.
    4 G5 q) S3 J# R* e0 d
  1189. ; http://php.net/mysqlnd.debug' b4 T8 P, r( `/ C$ d6 R
  1190. ;mysqlnd.debug =% v8 W; T/ ], u2 ^" o

  1191. ! j" F. F2 F8 ?1 o! H$ i) F
  1192. ; Defines which queries will be logged./ x+ g0 Z8 K5 ~- l9 R9 s& P6 w
  1193. ; http://php.net/mysqlnd.log_mask
    ; W( D; a7 ^- A5 L4 Z1 a
  1194. ;mysqlnd.log_mask = 0
    * ^! M0 @1 R, V# Y- _7 v
  1195. , b& Y. j2 [: v' `; ^* R0 W
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.% J& _/ B! G. h! ~1 [5 n" j. p
  1197. ; http://php.net/mysqlnd.mempool_default_size& O6 G; c* u! I1 h0 h0 M( r2 e
  1198. ;mysqlnd.mempool_default_size = 16000% G7 a2 ^- h- l2 o. a& z7 D4 r' I! Z
  1199. 4 L" G* h' L- D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! {6 c5 u) S2 y' d8 A
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    $ V# J+ d8 y8 [1 N) I. `9 z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    - d, u: E. V% s( p
  1203. , C" D4 O4 k$ E5 @* t
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in6 q6 j* a4 I5 u1 G% {
  1205. ; bytes.  ~/ {; I" Z+ E9 `
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    " O$ B+ H8 X2 C, {8 N' Q
  1207. ;mysqlnd.net_read_buffer_size = 32768
    0 N" @* N" b4 J+ ?; B
  1208. , a, i$ c( T# O3 O) V
  1209. ; Timeout for network requests in seconds.
    ( G( D# q" ^% V" M+ K
  1210. ; http://php.net/mysqlnd.net_read_timeout
    6 A& ^3 J' o- T2 W
  1211. ;mysqlnd.net_read_timeout = 31536000+ s7 |. `/ D/ S& u* u! h# o
  1212. / j" D4 O. N4 C. M2 b, p' P
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; V5 J( F& j! p' E7 p/ X, r+ o
  1214. ; key.
    / g' W7 a9 l2 u( i" e1 q0 m' p
  1215. ; http://php.net/mysqlnd.sha256_server_public_key4 D/ o2 [( o5 S
  1216. ;mysqlnd.sha256_server_public_key =& }+ a* x0 c7 ~* [

  1217. ' U: j+ M6 \6 f+ L7 T0 J+ H; b; v
  1218. [OCI8]
    & J' T- c  l! l  y4 y

  1219. " n0 F& g) \0 Y9 ?& j
  1220. ; Connection: Enables privileged connections using external
    : o5 k* x' |5 S; i7 [2 w7 i
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)) A- r9 b1 q6 l) z7 x& A4 G
  1222. ; http://php.net/oci8.privileged-connect/ H* L0 x5 k. B8 X
  1223. ;oci8.privileged_connect = Off7 s+ [* y* S( J# N! V" A% q4 c

  1224. 8 {% X7 ?! w; J# A# C
  1225. ; Connection: The maximum number of persistent OCI8 connections per- c7 m9 V0 `" A; N
  1226. ; process. Using -1 means no limit.% ]; N, t3 V. M. D7 }8 n' O: a2 A
  1227. ; http://php.net/oci8.max-persistent
    . a) E+ Y6 v1 ^; i# D! T4 ?: I% V. U; p
  1228. ;oci8.max_persistent = -1
      y. b4 \& o& T/ h; i4 d

  1229. - l" i1 Q9 j/ N% F
  1230. ; Connection: The maximum number of seconds a process is allowed to4 i* i; \, H6 m/ V, J$ M
  1231. ; maintain an idle persistent connection. Using -1 means idle6 y) \; u7 I$ j5 s( @
  1232. ; persistent connections will be maintained forever.0 S. v- q. \* Q! I" i1 P; R
  1233. ; http://php.net/oci8.persistent-timeout. w! f5 J+ g! Y" f: @5 b4 l
  1234. ;oci8.persistent_timeout = -1
    : x/ o& v6 k7 w9 X; B7 B

  1235. 7 h3 I" w- o& [6 k1 |0 I
  1236. ; Connection: The number of seconds that must pass before issuing a
    : h4 \# X# ~1 ~1 M- W/ ~1 e
  1237. ; ping during oci_pconnect() to check the connection validity. When6 ?& N3 C# Q: P: o
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " ~8 ^' s3 N& X' q" t1 j- ^
  1239. ; pings completely.
    $ }) Z* L; `% o4 h1 j
  1240. ; http://php.net/oci8.ping-interval* l5 Y3 i- r0 b3 G
  1241. ;oci8.ping_interval = 601 b, J3 ~( L+ @: |6 w# q) P  l# k) c2 {- ?

  1242. % Q1 t$ P4 N! K9 x
  1243. ; Connection: Set this to a user chosen connection class to be used
      @8 g7 Y2 q4 d( M, I9 C
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    * q2 @/ Q1 A+ O6 ~. U
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    " u; |* u4 h6 @' ~: U5 }
  1246. ; the same string for all web servers running the same application,3 G5 `" p% {3 e7 L0 X
  1247. ; the database pool must be configured, and the connection string must
    & Y; S& [, \' p9 ~% O
  1248. ; specify to use a pooled server.
    ( t& q, }# a$ z; v; U+ D: a  t
  1249. ;oci8.connection_class =* Q/ x2 K, \& G
  1250. 6 E% Z) A- C; e: f
  1251. ; High Availability: Using On lets PHP receive Fast Application/ o: X& L6 ]) T2 O" }2 ~
  1252. ; Notification (FAN) events generated when a database node fails. The
    , r) d7 [* A' |/ n3 U6 W  U
  1253. ; database must also be configured to post FAN events.
    6 ]. |) O" z- I! x; N. Q1 o; L
  1254. ;oci8.events = Off1 m* }6 T6 K( u/ l; c& }: U

  1255. 6 j9 f$ p3 z( w8 n7 j8 s
  1256. ; Tuning: This option enables statement caching, and specifies how. l3 j- v/ Q7 H! c2 K8 U' B1 u
  1257. ; many statements to cache. Using 0 disables statement caching.9 A# V5 }6 M3 y8 g# w2 X+ t
  1258. ; http://php.net/oci8.statement-cache-size8 W. ~% D/ c" ~8 k. Q* y- P
  1259. ;oci8.statement_cache_size = 20
    9 n! g2 Z& {7 T

  1260. 2 u* ?) R9 k4 _! `, w/ _' j. F
  1261. ; Tuning: Enables statement prefetching and sets the default number of( S1 v% q- s. O6 y' \
  1262. ; rows that will be fetched automatically after statement execution.
    9 Z% }8 x5 `. M+ U
  1263. ; http://php.net/oci8.default-prefetch- Z# d5 p; W$ c5 ]/ k/ J
  1264. ;oci8.default_prefetch = 100
    5 C/ |5 p6 W3 n, u4 g
  1265. 0 S2 k6 S) C1 u3 Y. N
  1266. ; Compatibility. Using On means oci_close() will not close
    2 O) P7 Z$ a( y7 i/ F
  1267. ; oci_connect() and oci_new_connect() connections.
    * X* j3 z4 g4 b0 O" H/ q6 H$ S
  1268. ; http://php.net/oci8.old-oci-close-semantics
    - n( q, e# ^) x! U2 K
  1269. ;oci8.old_oci_close_semantics = Off
    $ n! f' G3 Y& S  P# L' C* b9 ^5 m' a

  1270. $ Z! t) \. z9 A! A
  1271. [PostgreSQL]
    . `9 k6 [/ I+ J* ~5 g' p
  1272. ; Allow or prevent persistent links.
    4 g) s6 {4 ~7 V  P
  1273. ; http://php.net/pgsql.allow-persistent- S2 G4 x/ P6 D6 q4 O
  1274. pgsql.allow_persistent = On7 k& Q1 m; v2 Q) q

  1275. ; A* @5 ~0 d' W0 ?* i6 w& V0 Y
  1276. ; Detect broken persistent links always with pg_pconnect().
    $ I2 j5 x7 Z/ M6 T5 R/ L- p' c
  1277. ; Auto reset feature requires a little overheads.
      H0 [+ e4 }; h/ y  M2 v
  1278. ; http://php.net/pgsql.auto-reset-persistent
    " d' O. k: [* |  A* v
  1279. pgsql.auto_reset_persistent = Off* l' c/ {- I9 \. {1 E
  1280. ; R# R/ r, E) x4 ^% u; O
  1281. ; Maximum number of persistent links.  -1 means no limit.* ]4 I) E2 w% v; h! _5 n
  1282. ; http://php.net/pgsql.max-persistent7 P2 @8 B. W3 @1 }& K
  1283. pgsql.max_persistent = -1/ g* P7 \$ E' M

  1284. , h: o4 r3 r2 v3 \  m
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 y# L& m. [( p6 }6 }
  1286. ; http://php.net/pgsql.max-links
    6 u+ }2 W% z. Z+ g/ R
  1287. pgsql.max_links = -1
    - r* {3 V4 G* B* Y
  1288. 4 C% ?0 v7 \% [; L
  1289. ; Ignore PostgreSQL backends Notice message or not.
    * o+ ?% p3 ~' A  ^. i+ D
  1290. ; Notice message logging require a little overheads.
    & C% Q' j7 a$ C0 f
  1291. ; http://php.net/pgsql.ignore-notice- v0 P9 @5 {' Q; ]- g( o; n
  1292. pgsql.ignore_notice = 0$ w- x+ ?" K  S/ V9 N. U4 C

  1293. . v/ y  \; j  I6 M4 H
  1294. ; Log PostgreSQL backends Notice message or not.: y2 U0 Z& b- K% A! v
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    8 H6 J7 V: ~' g$ K7 w% O2 [0 Y6 P
  1296. ; http://php.net/pgsql.log-notice8 _+ D, q) c5 A; j
  1297. pgsql.log_notice = 02 M) M& f' a. t1 m5 r" Y
  1298. ) h! S" j: S0 R8 Q6 r) M9 w5 k
  1299. [bcmath]
    - ?% E. Y( I8 y
  1300. ; Number of decimal digits for all bcmath functions.3 O9 L' N+ I( ^6 ~4 P" w" Q" x+ L: R
  1301. ; http://php.net/bcmath.scale  M& _, i# d; Q7 ]
  1302. bcmath.scale = 0/ q3 z: y; y% X7 ^1 f
  1303. 3 N$ N+ K. ^7 f2 q; x( \  m
  1304. [browscap]" z. |7 y/ a, b# Y2 X8 a& w
  1305. ; http://php.net/browscap! F& p* ~4 f# H9 z9 j4 A+ D
  1306. ;browscap = extra/browscap.ini
    $ I1 y/ }( D5 `: h0 e0 ]

  1307. & m+ B% X% O1 y, @8 V
  1308. [Session]
    / @( i& ~  M) h6 I( Z' I$ M/ }
  1309. ; Handler used to store/retrieve data.1 f0 q0 ^, O5 b' o( c
  1310. ; http://php.net/session.save-handler
    $ r5 A* Y1 p3 z# _/ k+ c: [
  1311. session.save_handler = files2 q7 D& s: z, M3 Y6 p$ _& q) P

  1312. 7 O0 v3 ]0 x4 \6 e1 v: _
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    2 e) Y0 Z1 X) Z! u1 q
  1314. ; where data files are stored. Note: Windows users have to change this
    & d- b) Q* [0 t- ], J9 i
  1315. ; variable in order to use PHP's session functions.9 n( G! W( C6 `* F
  1316. ;
    7 y0 I3 [+ O: I6 ]( _9 V
  1317. ; The path can be defined as:
    & B; I( ~: P# a& v- H3 w' G* t8 i
  1318. ;% w. l/ j4 A+ p# n% Q
  1319. ;     session.save_path = "N;/path"
    1 c' v! Y; U, f" k9 h
  1320. ;
    - V/ q' ?' A8 Y- T$ I
  1321. ; where N is an integer.  Instead of storing all the session files in; B* i# ?- L: [( M% g% j3 T0 W* ~- v
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    # |" w4 d" v( P5 a3 @4 a
  1323. ; store the session data in those directories.  This is useful if
    9 O& p$ ~  B+ ]( d" Z8 X9 v
  1324. ; your OS has problems with many files in one directory, and is
    ! ]9 U  L  [3 D
  1325. ; a more efficient layout for servers that handle many sessions.
    " t1 j/ P# B( ?- J7 G( l* F- E
  1326. ;. b" X) [- F' I- W* }' Q! b
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    7 Q9 P5 |) _- y0 P+ W7 q9 i+ ~
  1328. ;         You can use the script in the ext/session dir for that purpose.
    3 X% ]6 l+ X. ?
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    * j& r+ q% V2 X9 f$ ?2 Z7 T% N! l( u
  1330. ;         use subdirectories for session storage
    ; J/ A! g* n7 @: j
  1331. ;
      s' ^) z7 t- J+ }1 ]. K: ~
  1332. ; The file storage module creates files using mode 600 by default." @7 R9 R+ t( K+ ?
  1333. ; You can change that by using! c5 ]7 N# K7 @$ A# m
  1334. ;1 J8 X" D& [7 `8 q4 V
  1335. ;     session.save_path = "N;MODE;/path"' V" P) g4 l5 P' i. l  U
  1336. ;
    , R9 n; s  F. }# z
  1337. ; where MODE is the octal representation of the mode. Note that this
    ) ^( L9 \' w) j% E" n* G' y
  1338. ; does not overwrite the process's umask.  p2 t, j# r/ w! n1 g4 P
  1339. ; http://php.net/session.save-path
    % p& y1 M3 I" `2 U. F3 ^3 z
  1340. ;session.save_path = "/tmp"
      B2 R; \6 v# @1 v8 Z3 x- A

  1341. ( v9 g: Y9 B1 u# k. b' k0 R( H) G
  1342. ; Whether to use strict session mode.8 I- s! h$ u. P7 h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate0 f2 H/ y! v: B4 C' m8 P; K
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects5 R! G; M- a5 e: I
  1345. ; applications from session fixation via session adoption vulnerability. It is  T6 @0 m+ ]% i; r, d) X* `
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.* |9 g4 w  D& i0 @( [( @& y0 b
  1347. ; https://wiki.php.net/rfc/strict_sessions" [% H! ]  t5 y, t8 T8 i8 O
  1348. session.use_strict_mode = 0
    * W3 C. Q. N+ }+ h, |$ g/ d7 `6 I+ A
  1349. . d: ~" ~# i, Z6 L4 b# K
  1350. ; Whether to use cookies.
    ' w1 Q) e1 H$ v5 W
  1351. ; http://php.net/session.use-cookies
    8 ?0 M6 ~0 G* O0 Z, ?2 E
  1352. session.use_cookies = 1$ o0 b7 x3 b' Z; c. F" \; u: I) ]

  1353. % ~, S. u+ q# ~0 r
  1354. ; http://php.net/session.cookie-secure
    3 N$ F6 q& U8 |' d3 X$ j' e
  1355. ;session.cookie_secure =
    % {5 f1 m& b6 t3 {% `- ~: W4 ^

  1356. ' u, }+ Q8 F' M9 `" ]1 ?
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining( X% Y/ Y  I# C0 |  o- F( ~+ V; ^
  1358. ; the session id. We encourage this operation as it's very helpful in combating$ h* W* k% I  b6 T
  1359. ; session hijacking when not specifying and managing your own session id. It is
    4 Z( G9 p$ t0 K- z; Y0 W2 J
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.8 C3 n8 a# q3 O
  1361. ; http://php.net/session.use-only-cookies. [' n0 a7 a% |! ^6 m- e
  1362. session.use_only_cookies = 16 e; n$ T  k+ t+ R. F) j3 _8 h; {
  1363. 2 h3 v, t9 V- Q, [4 Q" U; O% Q
  1364. ; Name of the session (used as cookie name).6 B5 ^) l' s8 T6 s0 O8 ~" f
  1365. ; http://php.net/session.name
    ' f4 S' C& ?9 @6 c$ G
  1366. session.name = PHPSESSID
    % `3 @4 P/ e1 q) D
  1367. 1 t5 y0 O, x6 s: V: h
  1368. ; Initialize session on request startup.
    , f0 i9 f& b+ |2 g/ e' y& m7 J
  1369. ; http://php.net/session.auto-start
    & [  B5 {/ p9 b( |( k1 z5 p6 x0 F% h2 A
  1370. session.auto_start = 0$ T/ B& q- ^4 M/ S7 ]5 {, q7 [! F5 q
  1371. $ D& G# s; j* V4 }3 X7 t) T
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.. E) i( A  f# C* P0 I' x
  1373. ; http://php.net/session.cookie-lifetime# P! _, B0 d0 Z' V1 X
  1374. session.cookie_lifetime = 0+ o. T" j+ `  t% x! `1 T6 I0 q
  1375. * U( r. C/ Q) g6 e$ F
  1376. ; The path for which the cookie is valid.* f! w$ p( y* s' J( A; C/ p" t
  1377. ; http://php.net/session.cookie-path, J; g* P) O  D; D- w# V8 P  b
  1378. session.cookie_path = /
    8 E( H, M6 y$ X
  1379. 2 U  s2 E- T% r3 r) N* N0 q/ O
  1380. ; The domain for which the cookie is valid.
    ! R3 v8 ]! l& @: P' t# O5 Y; Y) v
  1381. ; http://php.net/session.cookie-domain
    ' o! s( ~& X9 n1 L. Z7 s$ q  v" V
  1382. session.cookie_domain =
    - `( ^9 L1 p8 P! h! k
  1383. 6 K$ |3 K- }& x, F! N7 B$ h
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . Y& e+ y, a, E# j( f
  1385. ; http://php.net/session.cookie-httponly
    - e5 S8 o- C4 u
  1386. session.cookie_httponly =
    5 [% ?! r: w) o4 }

  1387. , ^! Y. G( B) r& s' T
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.  R0 a3 Z6 p: P% C9 S$ x+ [; {
  1389. ; http://php.net/session.serialize-handler
    + S' \9 ]* d5 B# Y0 _$ Y5 t
  1390. session.serialize_handler = php+ d0 k: M" E9 L, {* i

  1391. # l& w* O6 I: C* W$ U
  1392. ; Defines the probability that the 'garbage collection' process is started
    : R+ d8 M8 V( v1 l
  1393. ; on every session initialization. The probability is calculated by using
    2 Y+ V1 c! p* H" z# |; C1 k2 D0 v0 _
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    9 B, `8 k1 [; c
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ! S! T8 R) h% X0 l2 P3 }$ Q$ I
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! e; `, [& l: H% M
  1397. ; the gc will run on any give request.! \% P) e3 b* y) x
  1398. ; Default Value: 1; A1 G/ U0 _( z! L3 o; C+ T
  1399. ; Development Value: 14 {* y! D% z! d
  1400. ; Production Value: 1
    : T5 \6 s" s! e9 S+ y: B) \( [
  1401. ; http://php.net/session.gc-probability
    : S8 _/ ~7 o& `
  1402. session.gc_probability = 1( J; a' j; R$ z3 j# ?5 }% _

  1403. , E/ I( q; O% |. B; M. V8 {; ~+ I
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ! Z( p! ?1 _* f2 d! w
  1405. ; session initialization. The probability is calculated by using the following equation:( [0 ?: N) b# K! i, z1 w; U
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 C" c0 F4 D/ P# Z  U% e# F' d
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 w+ @: ]6 U& r1 b  J$ Q
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. c  d2 O5 }4 L* L; ^+ R
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you* O- n% ?* b7 T" c' j2 s( e
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 J: I3 P) q+ i: }2 f
  1411. ; this is a more efficient approach., f1 L1 x: o8 T. j* K2 m) C
  1412. ; Default Value: 100
    2 b; y5 O. ?# {! T' I* [
  1413. ; Development Value: 1000. H7 D: |7 A& ?1 o0 h& t7 P
  1414. ; Production Value: 10007 B7 [0 i5 u- _' L9 M' \' J
  1415. ; http://php.net/session.gc-divisor2 y) g! @: H0 D: [9 O+ u/ @
  1416. session.gc_divisor = 1000# F0 }$ t, ?& U- a8 F

  1417. $ H( v' G; ]( f3 C( u
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    . s5 B5 ?! ]+ }$ z3 r; w/ v/ }
  1419. ; cleaned up by the garbage collection process.
    0 h4 o- u. R8 F
  1420. ; http://php.net/session.gc-maxlifetime
    4 U% m- r2 e" @% N8 ?7 x2 S; u
  1421. session.gc_maxlifetime = 1440
    + Z7 W4 C! e. s! B' ^
  1422. 6 ]+ L# K# a! O9 r$ d
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    0 p! \+ P6 Z2 {( x+ [) M8 ^
  1424. ;       (see session.save_path above), then garbage collection does *not*, N1 d5 A& |# K- |* m
  1425. ;       happen automatically.  You will need to do your own garbage2 e: {) d# A% l6 o& b% L
  1426. ;       collection through a shell script, cron entry, or some other method.# H1 y2 k' y, i+ {% U) e$ s6 d
  1427. ;       For example, the following script would is the equivalent of) k2 X& p8 N! m, ?3 I9 n
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- E( |4 y% `1 b) ^0 P0 Q, u
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    7 ~; \2 h; ]" `) v4 x) P) [& |
  1430. 7 q' T! e2 B& j& s4 g
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids., V+ H7 r( o% t; ]3 ~# `* v8 W% k
  1432. ; HTTP_REFERER has to contain this substring for the session to be6 R6 G$ e) b8 e: `) K8 g6 _3 I7 Y
  1433. ; considered as valid.
    " @. ^+ H1 N/ [  k
  1434. ; http://php.net/session.referer-check
    " {4 Q$ ]* ]  ^5 \& @2 C! P; T- j- O
  1435. session.referer_check =/ X7 P% d* T* U0 M7 V* {" i

  1436. # Y& y& }% }; g, e4 D$ w4 [- K% \
  1437. ; How many bytes to read from the file.
    " U1 Q) @8 {; }! R. y& \* R5 c
  1438. ; http://php.net/session.entropy-length4 r9 J( A6 y+ ]5 f, z
  1439. ;session.entropy_length = 32' y! _" |& Y- f% S7 C) A6 R. W

  1440. $ w  m1 i+ U) @% ^* I# Y
  1441. ; Specified here to create the session id.
    $ F7 A8 }5 J! Z' S
  1442. ; http://php.net/session.entropy-file6 b6 o; j* J& d
  1443. ; Defaults to /dev/urandom
    " y& E0 G1 p# S* u, g
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - U  V% ]: c( T- l
  1445. ; If neither are found at compile time, the default is no entropy file.
    % n" [) _- O- A/ q! q6 K
  1446. ; On windows, setting the entropy_length setting will activate the
    8 Q$ Q4 t& H9 [* P7 N
  1447. ; Windows random source (using the CryptoAPI)6 ]* [+ {6 o+ D. z; r
  1448. ;session.entropy_file = /dev/urandom/ w; \& l! _& e; n. D  O( s) o

  1449. * t; k6 l6 j" q2 _0 Q
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects- o2 u/ F+ g% h  I: F' s! y5 }. N
  1451. ; or leave this empty to avoid sending anti-caching headers.8 G* Y1 |$ ~+ T# n. p- _
  1452. ; http://php.net/session.cache-limiter
    7 H' q. }9 a8 b9 O: N
  1453. session.cache_limiter = nocache" c* O4 O$ f- P, k& r2 ^
  1454. ' H1 u$ ~1 e2 Y# }+ e* n. m' N8 Q
  1455. ; Document expires after n minutes.
    ' ^- {2 V: R$ n) v
  1456. ; http://php.net/session.cache-expire
    3 X8 Y) k) t( \; K5 |' a- d9 G
  1457. session.cache_expire = 180
    4 k. V0 a7 }' d7 O9 G5 W

  1458. , c# i7 Q( d$ G) A. o" {
  1459. ; trans sid support is disabled by default.
    & h/ w5 e2 @  B" o4 D( T
  1460. ; Use of trans sid may risk your users' security.7 ~0 B- a* {( t$ T
  1461. ; Use this option with caution.. ]% C  i/ A4 U' }- `8 B; ~
  1462. ; - User may send URL contains active session ID& ~, s1 W1 y: t5 Z: n
  1463. ;   to other person via. email/irc/etc.; D) O& q: n1 N1 K; ?# f
  1464. ; - URL that contains active session ID may be stored
    ) k( n* d; R( X2 r2 @+ c+ z% J" c
  1465. ;   in publicly accessible computer.
    3 i" @8 ~/ q* {- j; t2 ^
  1466. ; - User may access your site with the same session ID/ T* f9 _2 m7 H8 l4 Z, r9 ^! h
  1467. ;   always using URL stored in browser's history or bookmarks.) A# b" g+ |) v. Q7 d
  1468. ; http://php.net/session.use-trans-sid/ J; i' j4 a9 v# `: h
  1469. session.use_trans_sid = 0
    - O$ m. @  G- {% X
  1470. % x2 C, h! d3 [6 W" r
  1471. ; Select a hash function for use in generating session ids.
    9 |/ U; w3 M* I7 W- K1 C
  1472. ; Possible Values
    ) x. }  m) j( e! m$ n
  1473. ;   0  (MD5 128 bits)
    & `& y2 M' Q- w9 ?0 ^
  1474. ;   1  (SHA-1 160 bits)
    $ s' J5 \& C5 C- B" n5 t
  1475. ; This option may also be set to the name of any hash function supported by+ K' E% K# m7 L: X. g* P
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    " ~) A3 G- S* D  V9 b
  1477. ; function.
    ' A! ]; S: W$ C/ N  `8 b; d
  1478. ; http://php.net/session.hash-function. p# W' @6 h) t" i8 j
  1479. session.hash_function = 0
    8 S& C' Q2 v& v6 F9 N- [

  1480. ' j( K; U7 P1 a7 H6 i! W
  1481. ; Define how many bits are stored in each character when converting
    3 h& R- V! [- i& [$ r
  1482. ; the binary hash data to something readable.
    6 J5 S5 }" @+ _* g$ @
  1483. ; Possible values:
    5 f6 s0 `" @; k7 D& r0 `
  1484. ;   4  (4 bits: 0-9, a-f)& q/ p9 T0 c# j9 f, W
  1485. ;   5  (5 bits: 0-9, a-v)! y: K# X" d/ M; x0 f9 c3 H
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). ~5 K. Q/ M( M, v' m
  1487. ; Default Value: 4
    / ~( s" _3 a9 k8 ]0 s9 s# o3 ~( K2 h
  1488. ; Development Value: 5
    ( H; p" h# i* w7 D2 _& o
  1489. ; Production Value: 5! V0 E' y2 s. I& s% i
  1490. ; http://php.net/session.hash-bits-per-character
    " q$ ], b+ P) h& T8 n; _
  1491. session.hash_bits_per_character = 5
    1 h$ V) o; E+ W3 ]; O/ j
  1492. 4 }% D* j5 F* \% b  }( C
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags., p7 w* M" m+ @
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    & Z! ]" F5 `6 g/ W2 D
  1495. ; add a hidden <input> field with the info which is otherwise appended
    , L) d% e: v2 W3 O) b
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    4 J' S) V# @$ W' }" ]) @
  1497. ; Note that all valid entries require a "=", even if no value follows.! r% e. S& i+ e+ a4 s0 ?* P6 {
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="* z- Y/ t5 y- L6 V6 H* c5 }& d
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 w5 Y* p4 Z7 b: Y2 k4 i
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( o7 j  u6 \8 b8 X; Y
  1501. ; http://php.net/url-rewriter.tags
    - l5 O6 c- y0 J0 T' n
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) Z4 A7 \7 m! v$ V' g: ~& L
  1503. 3 i) m2 k; L+ q6 W' ?# X/ T2 r% z
  1504. ; Enable upload progress tracking in $_SESSION
    / M; A: I. ?- ]/ ~$ o, d8 j8 S8 J
  1505. ; Default Value: On
    6 M$ }, S, }! \/ }+ w
  1506. ; Development Value: On
    8 C# V* v, E: K  v) ^5 p3 \$ `
  1507. ; Production Value: On
    # p; g5 p8 X6 M
  1508. ; http://php.net/session.upload-progress.enabled8 w1 ^% Q( w8 R: Q; t. z
  1509. ;session.upload_progress.enabled = On- Y1 l" ]) h% ~& {9 j

  1510. % F4 N, k! D% X$ N' C$ n
  1511. ; Cleanup the progress information as soon as all POST data has been read
    9 n7 N5 T9 B. d
  1512. ; (i.e. upload completed).
    . p. P! k8 I) W1 r
  1513. ; Default Value: On
    : M6 h% X0 C, W. }$ h
  1514. ; Development Value: On
    % E+ D, M. S; j# Z
  1515. ; Production Value: On( `. Y7 j; W/ A* ^
  1516. ; http://php.net/session.upload-progress.cleanup
    * k) {+ s2 T, g" ]- w7 @
  1517. ;session.upload_progress.cleanup = On
    9 s/ E" [9 X! p; E3 r, t4 R7 J

  1518. : f6 q* ~+ E  V" y4 P& e9 Q
  1519. ; A prefix used for the upload progress key in $_SESSION
    6 N* N" o0 d- w7 o7 }: v. _
  1520. ; Default Value: "upload_progress_"6 I( z3 N# T1 d) Y7 o
  1521. ; Development Value: "upload_progress_"
    ' T- S4 {0 [! b" q- x5 }) w
  1522. ; Production Value: "upload_progress_"
    9 s: `1 e7 T" B' w
  1523. ; http://php.net/session.upload-progress.prefix
    1 [! N; Q  Z# |3 q  s# q9 O
  1524. ;session.upload_progress.prefix = "upload_progress_"! H+ K5 n# M& X3 \6 T
  1525. & c( p' c; \: g. R/ {: c: E
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    / L( Y  h3 [& {
  1527. ; containing the upload progress information9 d! ?) A6 R3 k* F
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 Q8 H  l$ i: r# z6 q' b0 b# V
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 g, R- _* r1 `; H4 V: w9 w
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) c/ H% q9 i' Q" q, G4 T7 P
  1531. ; http://php.net/session.upload-progress.name
    ; E* A/ A0 W6 L" p; m
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"  Q, K) n. J" I& R5 ^# d; N* T: h9 l

  1533. ( l0 b! B$ o# t8 i# L$ Z
  1534. ; How frequently the upload progress should be updated.
    4 Z+ g+ S# i/ q0 S. u/ r3 F
  1535. ; Given either in percentages (per-file), or in bytes5 ]5 z1 U+ z5 K' t; ?+ h
  1536. ; Default Value: "1%"& d* c; l: q6 A
  1537. ; Development Value: "1%"
    0 T, N9 i! u( y( g1 b9 E" p
  1538. ; Production Value: "1%"1 W, S7 ~6 ~# _, B
  1539. ; http://php.net/session.upload-progress.freq
    3 y- |6 r# ?* ^, f( T  v3 M: t! q
  1540. ;session.upload_progress.freq =  "1%"
    0 b' Q1 ?7 a$ ?( j$ I) Z

  1541. 4 a  i2 ~  w3 x& Z0 y* \
  1542. ; The minimum delay between updates, in seconds9 I& g, n$ U% S  m7 r% k4 T. f
  1543. ; Default Value: 15 f9 Y/ G/ J0 [* i
  1544. ; Development Value: 1
    ; l2 l/ s$ R! \' t& B
  1545. ; Production Value: 1
      b; r7 @' G: j
  1546. ; http://php.net/session.upload-progress.min-freq
    8 `) E+ A2 r$ W
  1547. ;session.upload_progress.min_freq = "1"
    # p6 S2 i( j4 {' H8 i
  1548. 2 Z' G$ s5 D0 y% {
  1549. ; Only write session data when session data is changed. Enabled by default.$ E2 ]0 H1 }6 e' \. _
  1550. ; http://php.net/session.lazy-write
    3 n) [* H! o3 W( e# Q- o" o4 T
  1551. ;session.lazy_write = On% k  u& `! U% A6 p8 h3 U

  1552. + e6 e7 N8 K; E: o
  1553. [Assertion]$ I- t% e* {0 j! n3 i
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)3 B: a& N! Y: n7 P
  1555. ; -1: Do not compile at all; W0 `7 {- i# E. v- n: E
  1556. ;  0: Jump over assertion at run-time
    & t" v1 X% l+ J
  1557. ;  1: Execute assertions. p# ?" j7 E/ Y( l1 j" b7 X' g
  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): V% Z/ d! {5 H/ }+ c% ~/ q- \& n
  1559. ; Default Value: 1
    * J* |2 [2 ~1 l5 z; z
  1560. ; Development Value: 1% c- i! r" a  c4 h# d: f
  1561. ; Production Value: -1
    $ c) I+ L8 M3 ]2 e  Z
  1562. ; http://php.net/zend.assertions- e8 S" k9 A& U8 G
  1563. zend.assertions = -1
    # X* Y& T$ p. r3 V

  1564. : L* {! ~+ H* a7 e# k
  1565. ; Assert(expr); active by default.
    9 u$ ~  ]4 _! J9 X# u* U8 J. \; g
  1566. ; http://php.net/assert.active+ W& B5 m) l% j- F& J1 z* U  \; c, B
  1567. ;assert.active = On, y' b2 [- y- W6 k, v# _5 m% U

  1568. 7 u4 P3 }& a& l& M: j; S
  1569. ; Throw an AssertationException on failed assertions
    2 m. m- k( Q7 R6 T0 ]
  1570. ; http://php.net/assert.exception
    2 A; P3 F) t) |1 V$ ~1 K* Y
  1571. ;assert.exception = On2 _" \2 S  l( j0 C
  1572. # |+ E0 b& F/ \: q5 b' C6 w
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    8 P7 y7 B/ b* d' v- N
  1574. ; http://php.net/assert.warning6 a$ P: r' ^6 k: S3 }' O2 y, c  U
  1575. ;assert.warning = On7 w2 V) h, u$ a( q5 b4 j& E

  1576. 2 l% h5 Z( w! t- n' i# q* ]
  1577. ; Don't bail out by default.0 y9 `) j6 s/ N  _% p! Q
  1578. ; http://php.net/assert.bail
    2 L7 G" y: {& [7 M. w5 C6 T
  1579. ;assert.bail = Off
    ! `- \+ I- v0 ?5 U

  1580. 4 g& u/ g0 q0 d. F4 T7 F
  1581. ; User-function to be called if an assertion fails.3 ^6 o0 e( j' q$ R
  1582. ; http://php.net/assert.callback( R" d: K& y+ w! N. @
  1583. ;assert.callback = 0
    ' w0 M& Q0 x4 l. u6 P$ i7 _

  1584. ( J* D8 }/ T9 g/ ^$ N9 {$ n% p
  1585. ; Eval the expression with current error_reporting().  Set to true if you want- c9 H2 E8 v( c- |. }, X) ^9 p
  1586. ; error_reporting(0) around the eval().( a; e& D2 B3 J( `# l7 t) e  D: f" o
  1587. ; http://php.net/assert.quiet-eval- p8 s6 i" u  E0 X8 s5 }* p4 y
  1588. ;assert.quiet_eval = 09 R; x0 ~. c( M2 }4 [# q

  1589. 0 _& W  k$ j' K* Q3 R- a& K5 g0 N
  1590. [COM]
    ! N9 }6 E: c6 \+ @5 n
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. M0 J0 T, e8 M7 P4 H
  1592. ; http://php.net/com.typelib-file
    5 |8 J- W1 t) W$ Y$ R+ ^
  1593. ;com.typelib_file =
    5 E7 Q3 M! O% k8 J, K) e
  1594. # K/ w" w  \" ?
  1595. ; allow Distributed-COM calls$ ?0 n# S0 }4 K, M5 @1 T
  1596. ; http://php.net/com.allow-dcom$ Q5 j1 p* s, h1 \1 Z# Q& F
  1597. ;com.allow_dcom = true
    % |& D: Z; A$ b# ^
  1598. $ P6 M( g% h" [" E1 \
  1599. ; autoregister constants of a components typlib on com_load()
    % s5 K! h  W2 L1 N4 e, T4 m/ C
  1600. ; http://php.net/com.autoregister-typelib" e- m- f/ `" b# L. g
  1601. ;com.autoregister_typelib = true
    ' l: ~5 h7 [% P9 G$ O! |
  1602. ( X- e9 s2 h- B' k+ M6 `
  1603. ; register constants casesensitive2 P9 b: |) o# E) C
  1604. ; http://php.net/com.autoregister-casesensitive% B' N0 |0 {$ Z6 z
  1605. ;com.autoregister_casesensitive = false
    8 e0 M; k5 K1 f7 V

  1606. $ X3 O% ^- w/ A$ `. V
  1607. ; show warnings on duplicate constant registrations
    6 F0 I0 S! j. b* g/ u; i6 w
  1608. ; http://php.net/com.autoregister-verbose6 x% _  G+ y* R( L8 H, \
  1609. ;com.autoregister_verbose = true- N8 J* r/ u: E# x7 h+ x2 M. V

  1610. 2 u% @3 H! q6 l* l( n$ _4 T" _
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    7 c9 C6 }3 ^( J" C5 o) o) ]" f
  1612. ; Default: system ANSI code page
    - W5 b( W6 f# K, f
  1613. ;com.code_page=0 q7 G4 J$ M3 ?- e% e0 b

  1614. $ A" t3 N2 |8 d& M  q
  1615. [mbstring]# r: ^5 X" `8 [) C% D$ l% ~
  1616. ; language for internal character representation.' H+ S- P% d# T
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    5 k8 O8 @/ {1 j: W
  1618. ; http://php.net/mbstring.language/ T( [! |8 B# P2 ]' R
  1619. ;mbstring.language = Japanese* o9 n% k. \7 N+ f0 e! e

  1620. : _# ?; Y/ m% g% w( Q: j5 D/ x
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . \2 |" l2 [. q" _) {: M! T7 @
  1622. ; internal/script encoding.. A' k+ M& F8 D
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * g$ I7 C2 S" Z$ f- V
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / F' _9 M6 y- K" p2 T  c" q: ?
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ k! R, ~7 {4 N0 a' e# Y
  1626. ;mbstring.internal_encoding =+ t0 O1 l' s( n/ ^1 l  J

  1627. 5 f- t/ U3 i" ]% B- E
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.0 c  w. v; i4 t2 ^( P* B
  1629. ; http input encoding.( K- W  |3 y  z8 O, h
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.) O/ E# @" Z7 f
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! a( S" c5 i; B. o% c3 o* T$ D
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input" s2 ^9 {2 R+ \$ s% Q) V. I
  1633. ; http://php.net/mbstring.http-input
    5 |: I. J! S& G% s, y
  1634. ;mbstring.http_input =
    - m" _& t2 X9 ~% \# G) f% x) I& f

  1635. 8 I, |, L9 F) u' F
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + r7 i1 T6 Z& {* e
  1637. ; http output encoding.7 b. M+ c. ]- v7 }# F
  1638. ; mb_output_handler must be registered as output buffer to function.# q+ N6 L1 y: e7 v1 o& F  n7 ]
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ! p8 Y7 _; O6 p' x1 ~
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output  t& f0 F! B& T6 M2 f( A/ f' P
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    : A$ k, e6 c$ N1 U
  1642. ; otherwise output encoding conversion cannot be performed.+ a7 `  H! _, |8 g7 o3 w/ v/ _  z
  1643. ; http://php.net/mbstring.http-output2 W7 C8 C, N3 ]) s
  1644. ;mbstring.http_output =, t! `. ^4 K" d! s! I
  1645. % l0 }& W5 @: Q# |) |$ v
  1646. ; enable automatic encoding translation according to
    6 S; y" Z. R* V& t; N
  1647. ; mbstring.internal_encoding setting. Input chars are: O) w8 k$ f( }  S
  1648. ; converted to internal encoding by setting this to On.; w  C( X& X9 j. k7 `
  1649. ; Note: Do _not_ use automatic encoding translation for7 H8 I' w- o* j1 \' V7 V, T
  1650. ;       portable libs/applications.% X$ Q* }0 }& q* a) _$ a8 c
  1651. ; http://php.net/mbstring.encoding-translation
    , H0 Z; K0 C% x$ j; z- F# `/ R6 _6 v
  1652. ;mbstring.encoding_translation = Off6 T) N/ }0 ^. p3 a& D' K0 l
  1653. - |% s# [" \; U& m. r" H. c
  1654. ; automatic encoding detection order.& M$ y$ h+ Y6 G0 E6 v- K+ U
  1655. ; "auto" detect order is changed according to mbstring.language3 s/ w! I+ h) ?4 R: d+ c$ J* ?
  1656. ; http://php.net/mbstring.detect-order
    # d3 X: x" T& N7 A" q5 H: p# X
  1657. ;mbstring.detect_order = auto
    + F- ~5 S8 M* a. T1 ]' Y
  1658. , Q" c4 o) q" W( Z8 n' F
  1659. ; substitute_character used when character cannot be converted
    & w0 v' ^0 `7 e9 E# o+ o
  1660. ; one from another
    0 Y; q: \$ M8 C3 R
  1661. ; http://php.net/mbstring.substitute-character
    ; v; T; f  F+ n: ?: i
  1662. ;mbstring.substitute_character = none
    ) m: Y2 y4 I" O+ G9 _/ N+ v7 d

  1663. # j/ ]6 S4 E0 z- L
  1664. ; overload(replace) single byte functions by mbstring functions.
      j/ G* B, X# x. |% e4 H5 ], |
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),$ h- e4 Z) G! E' Z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.2 k) W$ @, G+ ~" W* n7 {" Z) d6 g
  1667. ; For example, 7 for overload everything." F1 K- ?5 s! W+ a7 {$ v
  1668. ; 0: No overload1 O- ~4 s4 R# a. _$ d5 q& M7 \. z* Z
  1669. ; 1: Overload mail() function; c2 I. o+ ~! T+ ]" G
  1670. ; 2: Overload str*() functions, K$ K) n6 a( U3 [
  1671. ; 4: Overload ereg*() functions
    7 g4 `5 u, H/ C. t) ]1 ]
  1672. ; http://php.net/mbstring.func-overload
    " G5 N: y, D: ?% O+ x4 U
  1673. ;mbstring.func_overload = 0
    2 k# p# S! {) `5 Z5 l
  1674.   C$ q1 G; x+ r4 A8 i
  1675. ; enable strict encoding detection.# D% K, D: s. k- v2 z4 M6 B
  1676. ; Default: Off
    % r" T- {( A, b
  1677. ;mbstring.strict_detection = On( H) T3 `% x3 {4 E4 W
  1678. % l4 Z2 v7 S6 m
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()! ?; n7 C/ x% B# w
  1680. ; is activated.' h; n; Y& m4 X2 P3 R
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    5 o% B0 c9 e/ J7 _' j2 f
  1682. ;mbstring.http_output_conv_mimetype=
      m0 b3 b! F: L# z5 `9 P% g! H0 z
  1683. 0 U# v2 X9 P7 i6 j+ a8 ?/ K
  1684. [gd]
    ' i7 I/ c; }8 g& z! \
  1685. ; Tell the jpeg decode to ignore warnings and try to create6 F/ v* Z& l1 k! }
  1686. ; a gd image. The warning will then be displayed as notices
    ! N1 M2 D* ]0 L; P6 V* G3 W! M& X
  1687. ; disabled by default* W  l1 O# Y7 V6 r
  1688. ; http://php.net/gd.jpeg-ignore-warning
    7 h1 ~8 y2 L% @3 p
  1689. ;gd.jpeg_ignore_warning = 0) _. Q) ]! K2 N6 i
  1690. ( y& H/ b1 v/ ^- C) u" x  |
  1691. [exif]- P: L8 U* m' F
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % a1 M2 |4 g" S
  1693. ; With mbstring support this will automatically be converted into the encoding
    % ^& V- k1 m! w8 Q2 K
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding) }3 K, S2 `' y
  1695. ; is used. For the decode settings you can distinguish between motorola and
    0 M; {8 R# l) H& N  L3 B
  1696. ; intel byte order. A decode setting cannot be empty.$ G$ Q" d# B4 u. @
  1697. ; http://php.net/exif.encode-unicode
    1 D7 x; ^, Q6 P) b. l
  1698. ;exif.encode_unicode = ISO-8859-15
    4 q+ O6 A+ i% b7 ]$ a2 j9 i  {
  1699. 2 G" f8 Z. g2 \
  1700. ; http://php.net/exif.decode-unicode-motorola
    7 Y/ C, d, ?4 Y  m4 N6 y5 [
  1701. ;exif.decode_unicode_motorola = UCS-2BE8 O  m# b2 V' W, T2 u

  1702. - v/ N  P2 J" `# a! p- s
  1703. ; http://php.net/exif.decode-unicode-intel+ n6 v& R1 T; @* R  H9 Z& V. X
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    & V3 N& [1 Q- y. ~- N6 Z

  1705. % I. }3 N/ b, x  u
  1706. ; http://php.net/exif.encode-jis* G1 o6 f$ m- V# F, [' p, B$ w
  1707. ;exif.encode_jis =$ C/ N) \% _) v2 w
  1708. ) n6 |1 y+ ]4 G6 E! o1 [
  1709. ; http://php.net/exif.decode-jis-motorola4 Q$ c7 x( @" W) D
  1710. ;exif.decode_jis_motorola = JIS
    6 ?0 J* c/ c& I

  1711. 0 {. @# D  e9 y( |
  1712. ; http://php.net/exif.decode-jis-intel
    0 {) g% C: A6 M. m: A1 a: X' b( ?
  1713. ;exif.decode_jis_intel    = JIS2 B" E8 X) V: D& B

  1714. 4 k' T1 \+ L% a* @" t% U
  1715. [Tidy]
    9 V9 e. Y+ T6 E3 k* J4 L
  1716. ; The path to a default tidy configuration file to use when using tidy0 E0 e* Z) Q8 d% k
  1717. ; http://php.net/tidy.default-config7 G$ h: v- C% N. b* E& ^% g& k
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg" ?4 D4 Z$ R$ o4 ~' U! t
  1719. & I1 b% c1 f+ i' |$ b
  1720. ; Should tidy clean and repair output automatically?
    4 i+ K: h% k5 _3 K4 u8 G+ ~; D, t0 N5 K
  1721. ; WARNING: Do not use this option if you are generating non-html content9 ?  L% @3 d! W# [
  1722. ; such as dynamic images
    ; E' E. ^& V( V
  1723. ; http://php.net/tidy.clean-output
    # r8 p" l; G" m% e" J. X
  1724. tidy.clean_output = Off
    1 H+ c+ k" q$ \2 E! ~5 W

  1725. / S6 }$ P' F+ _# d/ |
  1726. [soap]9 ]& K0 f# q8 z8 X
  1727. ; Enables or disables WSDL caching feature.
    , A/ t+ a% {5 K5 ^% E; _
  1728. ; http://php.net/soap.wsdl-cache-enabled
    3 I* s, c, M% J$ Q3 b: T
  1729. soap.wsdl_cache_enabled=1" s- Q9 P9 ?/ N6 O5 I$ p, J

  1730. 0 f4 D1 m! V  @" H  @
  1731. ; Sets the directory name where SOAP extension will put cache files.
    0 ~; P8 S! O) T% |/ b+ J
  1732. ; http://php.net/soap.wsdl-cache-dir
    + v, }, S6 u( D0 W/ _. W0 l4 b
  1733. soap.wsdl_cache_dir="/tmp"
    ' G) M! r1 k0 `5 D+ U' q+ {
  1734. 0 I4 ?8 Z5 o, a/ C7 x
  1735. ; (time to live) Sets the number of second while cached file will be used
    # z' m8 Y4 g( Y5 \/ o
  1736. ; instead of original one.
    ' I$ Q) K. v4 q$ W8 B+ ]. j4 u" X
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ! k/ k8 q3 B# q8 h1 K. t
  1738. soap.wsdl_cache_ttl=86400  t9 @+ F* o! u0 C" h! Q
  1739. / X& u' g) m: r, O" J1 v% F
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 u) y, G2 Z8 {* t
  1741. soap.wsdl_cache_limit = 5: i1 [4 p- e! Z: D

  1742. 5 v* C8 y0 U9 }- }& r6 X$ s3 U
  1743. [sysvshm]# U/ X9 M' Q/ b4 c$ P% f
  1744. ; A default size of the shared memory segment
    * v& m4 L" y9 V$ C
  1745. ;sysvshm.init_mem = 10000
    0 m7 F3 ?; Y5 g1 e; Q: Z
  1746. ; u* v) p$ B( m9 _
  1747. [ldap]9 z& f' C& i6 O, N% @7 @$ _! a
  1748. ; Sets the maximum number of open links or -1 for unlimited." W- a/ \( Y; M
  1749. ldap.max_links = -1
    0 v1 w3 R$ s6 E
  1750. 7 Y3 m3 f/ p4 H' p1 E+ M4 j
  1751. [mcrypt]  k" X; ]$ F$ Q% D* d, ]
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    " J$ s  r+ A9 k

  1753. : v$ a, b& A: c
  1754. ; Directory where to load mcrypt algorithms, V) t0 E) F& k9 I. c
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), [. T7 g, J5 Q: j0 k4 _, x3 P
  1756. ;mcrypt.algorithms_dir=% W0 E3 K7 r' o$ q: W' t( C% T

  1757. 0 k0 Y3 \% w+ q6 \- W
  1758. ; Directory where to load mcrypt modes: |! ]* g0 z4 e$ X; S
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 O: V: E! J( ]! U4 i' K" a
  1760. ;mcrypt.modes_dir=
    # h3 i% A5 l5 J

  1761. & b6 _" ^" Y$ d
  1762. [dba]* |. _" {: [  |2 w( d
  1763. ;dba.default_handler=  C; ]3 h4 R6 S8 F3 N

  1764. $ o: {, a( s( b- W- H
  1765. [opcache]5 S; y' e' c! i1 |- x7 K& G2 E
  1766. ; Determines if Zend OPCache is enabled
    * a# `0 Q5 c) C( }
  1767. ;opcache.enable=0
    1 ?4 M. i5 _; c' k

  1768. 6 Q3 O6 P! V* h' K9 h) c6 y
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP3 v3 a4 v( ^$ |+ I. ~
  1770. ;opcache.enable_cli=0' q. L/ s; f* d; q2 J9 U

  1771. 1 s( l8 t7 i" X, P. G8 ]' \
  1772. ; The OPcache shared memory storage size.6 E+ O. ?6 L& Q# h
  1773. ;opcache.memory_consumption=64; _& J. m4 C* R* ]' l* F* v; c

  1774. * V: t% Q9 y  B# @# S. h; `( K5 s4 \
  1775. ; The amount of memory for interned strings in Mbytes.
      j4 }* V1 h) P2 S0 M
  1776. ;opcache.interned_strings_buffer=44 G. _/ F9 ^) I0 Q3 ~9 k* Z; q
  1777. 0 M% f+ ~9 ^  G) J
  1778. ; The maximum number of keys (scripts) in the OPcache hash table./ B  |! o- F8 H$ _8 A% S& Y
  1779. ; Only numbers between 200 and 1000000 are allowed.) V( p& b7 x! ~; u, J' S. k
  1780. ;opcache.max_accelerated_files=2000
    : T$ s8 l- g5 [5 J

  1781. , p, F9 Z5 o: t% m, c8 X5 j9 d
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.7 G# L4 H  V' [- h
  1783. ;opcache.max_wasted_percentage=5
    + Q1 e# q+ A# J  w" j5 L
  1784. ! W8 T. h' o2 V) U8 c* ^
  1785. ; When this directive is enabled, the OPcache appends the current working
    / R+ N  `# u  ]- Z
  1786. ; directory to the script key, thus eliminating possible collisions between
    ; E2 b  q9 t. r& M8 T
  1787. ; files with the same name (basename). Disabling the directive improves
    , q( s: {3 e) l
  1788. ; performance, but may break existing applications.. b2 j& b) h$ `! |+ b, Q, K3 A5 t( x
  1789. ;opcache.use_cwd=1& x2 L6 l+ r7 a& A

  1790. , e. T8 e5 E3 T7 S2 X3 x# D
  1791. ; When disabled, you must reset the OPcache manually or restart the
    5 N1 Y" A# I! y5 E8 _  {# |
  1792. ; webserver for changes to the filesystem to take effect.$ G& G7 X7 l+ U6 n/ x
  1793. ;opcache.validate_timestamps=1
    : _! f. r- N* G) G( H4 B  K6 J8 r
  1794. 5 u+ [1 T8 J, A' X: L6 J
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    9 E- k; s. O, t) L! @
  1796. ; memory storage allocation. ("1" means validate once per second, but only* O- X, T/ S5 a' P/ y8 @
  1797. ; once per request. "0" means always validate)7 T4 x" |- e% p3 j$ `) p
  1798. ;opcache.revalidate_freq=2
      L% Y6 f1 A) o4 y' G& }1 x
  1799. " o: E6 F" W" s
  1800. ; Enables or disables file search in include_path optimization( g& v( Z% D8 T
  1801. ;opcache.revalidate_path=0
    / R8 L6 J% }' E* L" J  M0 A

  1802. % ^) u+ e( O* y1 H' L1 U  h/ C
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 B* h2 l0 @. k' \& ~" M
  1804. ; size of the optimized code.1 @7 z# r6 c2 G! l: R. M
  1805. ;opcache.save_comments=1
    ! g) s' p9 f* `  P
  1806. ! w$ c* x" p. f! @" _% A, F6 r) b
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    , R; c1 k+ \1 G# j
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.' l& C' L0 T/ l3 `, Q
  1809. ;opcache.fast_shutdown=0
    1 Z; j2 p/ A% ]
  1810. 1 M5 E/ L* I6 }/ Z# L: F1 }
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    : c+ ~: Q; d" W1 I4 g
  1812. ;opcache.enable_file_override=0
    5 ^; N$ h  i2 y; H5 \" c# k0 t* T
  1813. ' V1 r8 o; E1 W5 W6 R6 \
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 c4 Y. B$ _0 X* m& x2 l
  1815. ; passes
    8 w! W! W$ H1 v' r0 m9 \# L& h
  1816. ;opcache.optimization_level=0xffffffff
    $ m1 ^; q5 T  W6 }
  1817. 7 {; \3 w" i" Q( }9 W- j1 E- S( D% d
  1818. ;opcache.inherited_hack=1
    / a5 T9 J9 V/ k; F) G! ]
  1819. ;opcache.dups_fix=0  l+ R/ u; Z" N7 m
  1820. ' T, i# L" u% h, A- ?
  1821. ; The location of the OPcache blacklist file (wildcards allowed).9 Z( s" N/ a3 `  }! ~" k
  1822. ; Each OPcache blacklist file is a text file that holds the names of files" Q0 r$ `* Q+ u* y0 K3 y; _: L
  1823. ; that should not be accelerated. The file format is to add each filename
    / U! }+ E4 ?' j. V* D( F
  1824. ; to a new line. The filename may be a full path or just a file prefix
    % ?' j# \9 B* Q! c; z7 G
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    2 q2 x& _5 }7 [! ~  |+ l
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( I' [. Z* F3 p7 z1 r& Q! E
  1827. ;opcache.blacklist_filename=  D& ~9 Z1 y) [( J8 S3 z& B
  1828. 7 C; n" y1 z! v; ], i4 @
  1829. ; Allows exclusion of large files from being cached. By default all files% Y. X  t* B/ p9 O+ @4 p- V- h9 V
  1830. ; are cached.( y2 S( V6 N3 W3 s% P& n  E
  1831. ;opcache.max_file_size=0
    . z# E. ~1 M6 G$ r1 u1 g4 x& {
  1832. 1 T& }0 D$ s& W( L! T2 Z  o
  1833. ; Check the cache checksum each N requests.
    3 e7 Q' h6 S$ y* c  k, P# s, e
  1834. ; The default value of "0" means that the checks are disabled.
    7 W8 ]) n- H$ O$ J0 B& F: s
  1835. ;opcache.consistency_checks=0( K" Z7 U2 \3 m" q4 L( J0 Y
  1836. + }! A1 @0 t6 Z" b* q6 ]+ D  o
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache9 _7 j$ S  a  ^- E) C. T
  1838. ; is not being accessed.8 b8 O& t4 Z& ~% Z7 Q
  1839. ;opcache.force_restart_timeout=180
    - f8 R1 U' U& U$ j, P$ B6 D3 v9 A
  1840. * x) Y3 d% c7 X2 V8 a) |
  1841. ; OPcache error_log file name. Empty string assumes "stderr".% Q) [9 l& R; ^, A$ n7 ^
  1842. ;opcache.error_log=
    ) j' N, v2 j. f0 v) f$ Y9 U

  1843. ) d1 M3 T6 V( e
  1844. ; All OPcache errors go to the Web server log.
    5 b8 X' t* K+ j
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    $ X, D. L4 _( M  l; v0 f
  1846. ; You can also enable warnings (level 2), info messages (level 3) or3 U5 c+ z, a) k' k
  1847. ; debug messages (level 4).- x! d7 Q0 t" r/ @
  1848. ;opcache.log_verbosity_level=1
    8 `- [- f- [: v5 |
  1849. - H* E- g( S$ Y9 k
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.8 F8 M( R: e0 _8 D2 a
  1851. ;opcache.preferred_memory_model=
    7 p# n6 H  t6 w7 e
  1852. * F4 e7 A* V* @
  1853. ; Protect the shared memory from unexpected writing during script execution.; d1 i. `% n& I) j! [; E
  1854. ; Useful for internal debugging only.
    9 i% Y5 ]1 }$ `! y# F' S
  1855. ;opcache.protect_memory=01 Z5 @6 ]# Y' |. _; D$ b" ]% Y
  1856. 2 c0 D. T" d8 }- t3 t, O& I
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is- W/ }* T& E, z
  1858. ; started from specified string. The default "" means no restriction
    . e/ p/ v8 v& `- O5 f8 P
  1859. ;opcache.restrict_api=+ i& a' k! x( n8 Q! q9 a

  1860. 9 T5 k% U- q& n4 K
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    * U0 }) B1 I. G' j4 |* R) t( u
  1862. ; processes have to map shared memory into the same address space. This
    " r' C7 E& q) q
  1863. ; directive allows to manually fix the "Unable to reattach to base address"% {/ _7 m+ q# Q6 b/ b8 q
  1864. ; errors./ {2 J! M, W; K2 S& o& `1 Z( _
  1865. ;opcache.mmap_base=
    % R. m2 }1 \" g( Y, v: l
  1866. 7 d& l7 Y) v: N6 }- Z9 n6 g' R- M
  1867. ; Enables and sets the second level cache directory.
    7 Z3 B& A" I( L) v% f( N6 q) E. L
  1868. ; It should improve performance when SHM memory is full, at server restart or" f. |! H- `* ~% i- D* g9 e
  1869. ; SHM reset. The default "" disables file based caching.! s8 A$ }3 t0 f9 R. ~+ q
  1870. ;opcache.file_cache=
      W: f4 X9 x/ L! i, C6 o
  1871. . j. Y, k& L$ y* j; G  S+ [9 n! C
  1872. ; Enables or disables opcode caching in shared memory.
    ; b/ O& [1 o! N! W+ x+ N9 {
  1873. ;opcache.file_cache_only=0! z7 x8 q9 u3 Y; q$ ?, `
  1874. $ k9 k. z5 l2 l, t  L/ k% R( }
  1875. ; Enables or disables checksum validation when script loaded from file cache.! f7 ^: b, x% p7 f' M0 f+ F
  1876. ;opcache.file_cache_consistency_checks=1! t1 v/ E# S1 w4 F, u" R6 k: ~" u! Q

  1877. 9 V% L# f" b# I) s' R+ D4 H- X
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to6 Z7 [4 m: y2 ?% ]3 ~
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file6 h1 u) J+ Q# i# C' }( d
  1880. ; cache is required.
    : \1 T! s3 w1 K0 O
  1881. ;opcache.file_cache_fallback=1
    ' j* M) v) n$ _  P" B( L* F8 i
  1882. ) S! {) N8 A! R$ W% t& ~
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.7 n% J/ ?( g; A/ U4 A
  1884. ; This should improve performance, but requires appropriate OS configuration.
    $ }/ H8 {  C5 Y5 [
  1885. ;opcache.huge_code_pages=1
    2 _/ ~2 t( `: N/ D( g& n4 C
  1886. 4 U0 r) l2 V. q! W: {. d8 ~8 y2 V
  1887. ; Validate cached file permissions.
    $ l: x7 X$ ]% ~
  1888. ; opcache.validate_permission=0
    4 D' p" C7 _& T5 i% X
  1889. 7 j: q( K: c5 I# H
  1890. ; Prevent name collisions in chroot'ed environment.
    : ?1 n$ y- ~, Z2 |% d# m
  1891. ; opcache.validate_root=0
    ( v. R; b; m7 ~4 M8 Q
  1892. 6 U, A; R! z% Q! x; H4 W0 F1 ^
  1893. [curl]
    / |8 Z# ^, ^/ X. Z- z
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ! C9 F; T$ k8 d
  1895. ; absolute path.
    ! P+ `- u- }9 B8 T  @4 q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 }* h7 g! n/ n" K
  1897. 5 L) M+ o( y" ^8 ?
  1898. [openssl]3 i% m0 w0 O: r" o1 B
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem: o0 v5 g5 b7 E+ c+ c0 H
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should% x* h- b+ @8 F$ l2 @9 V9 L- V* {
  1901. ; not specify a value for this directive as PHP will attempt to use the
    4 o6 z; P5 q$ P
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    4 O7 [9 r  t# f4 y3 l/ L3 C$ D5 a0 \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context* F: s+ s1 J' n2 h: N
  1904. ; option." X$ D8 G, D7 u: i: g
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 N0 q1 g: t( H, z7 ~2 r& A+ |8 i) s

  1906. # E2 F* \  ^/ U
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    , d$ e$ {! A: b8 W" X$ O: ^: D9 |
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    " h! R- H1 C4 B, n
  1909. ; certificate. This value must be a correctly hashed certificate directory.+ V0 y% y9 x9 A" q- j
  1910. ; Most users should not specify a value for this directive as PHP will
    4 S3 _3 e6 u! u' G) X" v! ?6 }
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,5 t: n7 L: d5 p+ G3 U! \: s' S: i: }& r
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    / o4 l0 D" _6 K. H/ h0 u8 O
  1913. ; SSL stream context option.
    $ p2 P% B+ l1 k4 @
  1914. ;openssl.capath=
    % Q3 K/ I' @2 i
  1915. & x/ w3 g' w9 O
  1916. ; Local Variables:
    " z- }; a7 ?9 ?" d* {
  1917. ; tab-width: 4$ ^2 c; I# r. ?* F" K! C
  1918. ; End:* b. b# v, |9 a1 O+ h# M# {4 Q
  1919. # H$ Z. N2 ?2 a$ K
  1920. ;eaccelerator
    ! G+ u9 c# Z5 @# ~& v
  1921. . p, ^* R, r8 O! q7 S
  1922. ;ionCube( \2 b) F0 ~  G. q) \
  1923. # Q9 r  _% k2 E
  1924. ;opcache
    % ~* {2 D5 `, J% M

  1925. % n, R) s# C  w
  1926. [Zend ZendGuard Loader]7 M3 l; ^. Y& h  [1 G/ |' G8 A5 q
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.3 ^# E+ z5 b/ y3 p6 R
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so* E" O% q' c, y5 `3 Q
  1929. ;zend_loader.enable=1$ ]4 |& `1 |! ^9 B
  1930. ;zend_loader.disable_licensing=0" {( j( U& P: O7 K% F: }
  1931. ;zend_loader.obfuscation_level_support=37 d/ F. E$ w7 l; @! G; ~
  1932. ;zend_loader.license_path=
    : g2 \- e( A1 r  W# Y$ u% t
  1933. 8 R- j; L( e9 i( P0 C
  1934. ;xcache
    # n2 }. r3 H0 L7 \
  1935. 0 W7 E$ _+ Y% L7 F4 s0 |: @6 r
复制代码

0 i' y/ m! H0 O7 }0 E
" }; t* x7 Y7 }
  D' K( a4 g" Y8 w5 _
% q4 Z; y& J+ o2 }# j. C9 F( O# a+ t  Z. b

& u. b/ R8 r, R5 }1 Y
: y! R  G  Y+ {& N2 `PHP5.6版本原始设置1 q+ e3 G4 d" D' q! O
( ], G. c6 B" w& _
  1. [PHP]; F5 |! m+ _# A" [9 X  B& V

  2. & b1 y) e# M1 p
  3. ;;;;;;;;;;;;;;;;;;;
    2 D; u" J2 a8 c- S
  4. ; About php.ini   ;5 q& a. f6 P9 i0 j- Q  f
  5. ;;;;;;;;;;;;;;;;;;;& b% \# [; a: F$ e6 G
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    0 K1 ~4 ^# V# u9 E
  7. ; configuring many of the aspects of PHP's behavior.
    : L. I) g# Q' U; I3 g+ e1 \

  8. ( m- r" c/ m' v0 L
  9. ; PHP attempts to find and load this configuration from a number of locations.8 p- e1 {; p! e8 M) P! h9 ?
  10. ; The following is a summary of its search order:( N" S4 r7 v. l0 i) k) j0 T. m' w8 D
  11. ; 1. SAPI module specific location.
    6 b3 K" ?: d- Z. U' D
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' d4 E7 y) b4 f2 ?3 O/ B
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ( y( `) m+ E  e, q2 K
  14. ; 4. Current working directory (except CLI)
    + T+ G0 }3 x* b, F5 [
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP5 M" s# @# Z! ~# L: X( q. n* d7 {
  16. ; (otherwise in Windows)
    * E8 F6 P0 g3 x( t2 w$ c. Q% V0 j
  17. ; 6. The directory from the --with-config-file-path compile time option, or the# z9 l- n+ l  [) f( N) i
  18. ; Windows directory (C:\windows or C:\winnt)" \" E$ v2 b1 ^7 u  R9 \
  19. ; See the PHP docs for more specific information.
    8 o& t% Q% T8 U
  20. ; http://php.net/configuration.file
    5 q% c" n- V% b/ o7 ?' H

  21. 3 ^/ V- G5 Q& X' T
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - J! ~' h$ O+ {
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 E" A% a: l. Y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 l- q, L5 Y1 T% u6 U+ D  a3 }
  25. ; they might mean something in the future.% @6 s# z$ V+ W

  26. ) ]/ a5 m1 U$ M% V# C0 c* @' V: a
  27. ; Directives following the section heading [PATH=/www/mysite] only
    - ]7 h. ?& R! \6 D
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 M9 \. H- Z2 b; H; b3 k! B9 R
  29. ; following the section heading [HOST=www.example.com] only apply to5 `: P: p) w' g
  30. ; PHP files served from www.example.com.  Directives set in these4 |+ v% S& s+ u9 r( b! \- g
  31. ; special sections cannot be overridden by user-defined INI files or* z0 i" \5 M( f
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! i% w% O4 c* q4 y' W2 @: Q( D
  33. ; CGI/FastCGI.
    7 o* i/ I3 v2 k- \
  34. ; http://php.net/ini.sections9 A# s- n1 u3 a
  35. 7 t' M5 I, _- l) {& c3 \
  36. ; Directives are specified using the following syntax:& e  D- E9 `5 ~9 z9 O
  37. ; directive = value
      c: G4 M8 e- [2 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.* R2 r& j( w; v7 C
  39. ; Directives are variables used to configure PHP or PHP extensions.' c( S1 M; }1 z8 Y$ m
  40. ; There is no name validation.  If PHP can't find an expected. ^' X( t# D3 [4 J& K$ |
  41. ; directive because it is not set or is mistyped, a default value will be used.1 e8 h& b% z4 e0 X" c% |

  42. , L: V5 b8 R2 Z9 g" q6 M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    3 ]* C1 E* T2 ?( n8 c9 T8 X
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; f" U2 a" V: F; x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a) \. t7 Z* V& W2 e
  46. ; previously set variable or directive (e.g. ${foo})8 @# {, c; e+ v0 ~/ T
  47. 5 A8 Q+ k& j6 Q8 j8 Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:& v7 z; R: w3 B2 Z3 S
  49. ; |  bitwise OR
    3 S9 u5 C  S4 X0 t: ?4 _) P8 r' V
  50. ; ^  bitwise XOR. @* g3 C# J. t0 v6 p3 z$ ]
  51. ; &  bitwise AND
    0 [# _3 [7 ]/ Q  L- c& g
  52. ; ~  bitwise NOT
    - j! ^- W( a! E% B( H4 S8 e+ `
  53. ; !  boolean NOT1 G5 ]- S) L# N; P
  54. $ G: x9 B0 f3 [; A
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) L( S- x% ]5 n3 Q" m3 G
  56. ; They can be turned off using the values 0, Off, False or No.
    ; L' M! A9 g( i, j" V4 ?# n

  57. / A/ Y' _# X' N% u: a. ]. f* m: y
  58. ; An empty string can be denoted by simply not writing anything after the equal& s- k! c$ c7 f7 W; Z) U1 M
  59. ; sign, or by using the None keyword:
    - [( |0 F9 n( Z

  60. ! g) A% B+ Q4 g* b
  61. ;  foo =         ; sets foo to an empty string
    % U- J* e+ ~8 v
  62. ;  foo = None    ; sets foo to an empty string
    1 n$ ?: |5 M. c4 m: g
  63. ;  foo = "None"  ; sets foo to the string 'None'# c$ W$ ?+ @$ |- u/ E* o5 L

  64. 4 r( @6 s/ k6 Q( X
  65. ; If you use constants in your value, and these constants belong to a
    % {6 B5 S' p* ~# q8 q  x5 c9 J
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 W( g9 g. j5 t' [* J
  67. ; you may only use these constants *after* the line that loads the extension.
    ' b- p& O, V+ A$ `2 k0 Y

  68. & N9 W+ z$ I- E
  69. ;;;;;;;;;;;;;;;;;;;, E! `( X" ~2 m! u5 ~7 [. U% Z& l
  70. ; About this file ;
    # h3 {( a$ Y! q5 N0 c* O
  71. ;;;;;;;;;;;;;;;;;;;
    3 ~5 d0 _; z2 D+ Y8 H( J' `6 y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 n/ D" R5 v% i9 |4 ?1 T) y
  73. ; in production environments and one that is recommended to be used in
      v! g% l. U) N( {
  74. ; development environments.
    ! i- i- [* y3 V0 T6 U1 Q& c5 {
  75. & c4 |3 z# ~. L1 i8 r# [/ v
  76. ; php.ini-production contains settings which hold security, performance and' X7 F. r( R0 c4 h
  77. ; best practices at its core. But please be aware, these settings may break
    , E( ~8 N4 B; B; M
  78. ; compatibility with older or less security conscience applications. We
    - D; X* @4 n2 B# W0 o2 d
  79. ; recommending using the production ini in production and testing environments.
    7 g6 c2 k$ y; s' o6 n" b- d
  80. , f9 d" Q8 `2 u
  81. ; php.ini-development is very similar to its production variant, except it is1 N; w  H$ w( u! p2 [; |+ `
  82. ; much more verbose when it comes to errors. We recommend using the' A% m  a2 H) j% ^2 r9 {2 R* _
  83. ; development version only in development environments, as errors shown to5 q9 l3 |& ]. ?
  84. ; application users can inadvertently leak otherwise secure information.5 J& q' u! @1 x  |9 o
  85. ! Z6 q* w7 M5 y7 ~* _
  86. ; This is php.ini-production INI file., [3 a2 G; p4 u1 m

  87. & e# o5 k+ U2 t& {& ^
  88. ;;;;;;;;;;;;;;;;;;;
    6 ~$ p% `7 V. K  C7 g! r: [" k2 E5 b% U
  89. ; Quick Reference ;+ M& `! e, l8 e5 c( P! v
  90. ;;;;;;;;;;;;;;;;;;;' W9 _& N3 C6 ?
  91. ; The following are all the settings which are different in either the production
    1 ^/ V- ~5 E+ U2 H4 t7 c
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # z6 t$ }+ C1 n+ Y6 _5 r# Y
  93. ; Please see the actual settings later in the document for more details as to why; E/ O1 i4 Q. ^! p
  94. ; we recommend these changes in PHP's behavior.6 h, g9 E8 [  e' d. q' c4 @" ]6 M8 g. r

  95. $ F) K7 w3 s8 Y+ _- E
  96. ; display_errors
    2 W' w+ q/ k0 F' e
  97. ;   Default Value: On. E: J' ?  [  w; ]
  98. ;   Development Value: On
    9 j# B' s1 E0 J7 Q5 ?) ^" O
  99. ;   Production Value: Off
    : B  p* E: \/ @6 @8 i* A

  100. + i7 o3 b0 d( O2 ]) _
  101. ; display_startup_errors% o* \; K1 Z, i! ^
  102. ;   Default Value: Off& V$ |- h2 B5 |6 X
  103. ;   Development Value: On
    + z& K7 k2 ]4 m, r/ Q# T* x! f
  104. ;   Production Value: Off' g4 O+ q4 S  c! _  E

  105. ' ]7 l0 [7 `6 f0 F) I) O
  106. ; error_reporting4 ^4 U8 U9 O9 i0 _$ X
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 f* G2 `6 _3 a8 c
  108. ;   Development Value: E_ALL
    % h$ m$ T( c  s, B* G, G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 j/ f1 b! O1 h9 b4 E
  110. * a5 Z! K7 g, [% ]/ i7 `
  111. ; html_errors
    3 P' @' }& V% a
  112. ;   Default Value: On1 s" C$ M2 {. O$ v9 y) K+ q
  113. ;   Development Value: On
    ( g) ], z- A5 o  o9 z
  114. ;   Production value: On: P( O7 [/ ^- B/ Z' c

  115. . ^- }# f2 ~5 ^0 [0 U( Q
  116. ; log_errors' F& w! R: {' K, Q' x2 D) t3 J+ u
  117. ;   Default Value: Off
    " j" s; \( a- g! l
  118. ;   Development Value: On/ W& A+ v% I" W3 I
  119. ;   Production Value: On
    / C# e2 F- M( U+ J1 m
  120. - N+ U% p* l! R# S" D* ]
  121. ; max_input_time+ o) G- {1 U, w, e% j, H; S. m7 N9 I
  122. ;   Default Value: -1 (Unlimited)
    4 ?2 s6 P2 g4 f  P3 I
  123. ;   Development Value: 60 (60 seconds), W2 u  C( I7 P% u# ~) }7 d% [
  124. ;   Production Value: 60 (60 seconds)
    ! _# n; R( h7 h. j" U" I

  125. % ]* M8 K# T: F+ F
  126. ; output_buffering
    ! J- K. x$ |& G2 N* G- G" H, |
  127. ;   Default Value: Off
    6 |8 K! h4 [. @( C* }; l7 I( W& i
  128. ;   Development Value: 4096
    8 u6 L& U; ?% K; F
  129. ;   Production Value: 4096
    ; }* G% v0 ~7 n

  130. 4 c2 ?- C! s$ e& n5 N* v6 e
  131. ; register_argc_argv
    0 i4 e7 y8 x6 d3 l& R9 k
  132. ;   Default Value: On! @, ]* Q, I9 f& r3 m/ G
  133. ;   Development Value: Off
    + ]) L1 ^8 R$ q9 [" x' o5 Q: j+ O: s
  134. ;   Production Value: Off
    ( ^* @: }0 u: N$ ^. z

  135.   }$ _4 S5 R4 P7 x
  136. ; request_order
    - k6 F+ j( M0 A+ |' O
  137. ;   Default Value: None, S% h* ^) P9 N5 P; s/ w
  138. ;   Development Value: "GP"
    - i1 C+ ]6 H2 [; g" j: \- V
  139. ;   Production Value: "GP"
    7 y3 S( o& ~9 }. E

  140. ' T" d2 K8 e/ c
  141. ; session.gc_divisor) j5 k2 j, V* i% z) ?  v
  142. ;   Default Value: 100
    # c$ }/ [0 I1 r( D1 H' I! ]( p& _, z
  143. ;   Development Value: 10004 N( f' P) G# ]* |5 Q+ ~
  144. ;   Production Value: 1000
    . d! N# @; d+ j) D$ X- o1 K
  145. ( j' n2 r+ q) q8 r% `7 e
  146. ; session.hash_bits_per_character
    4 n* s. q, M5 |" w: O0 e& Q% m
  147. ;   Default Value: 4
    $ O' e' T. R) W. b' E
  148. ;   Development Value: 5
    9 K7 M+ C% Z+ J$ X3 G  G- ^# z
  149. ;   Production Value: 5
    1 m2 X, |! k( x+ n: K

  150. 8 g- i9 u0 X) R- ?' g
  151. ; short_open_tag
    & \# f: y0 b/ ^# x3 N: W( T
  152. ;   Default Value: On
    + Z# R- r# R$ h: t5 w
  153. ;   Development Value: Off
    4 \% w" v' F$ ^- Y" e: a7 A
  154. ;   Production Value: Off: y! B/ `8 O) u' w$ h* f! t

  155. 6 r2 }2 @$ X' n) O1 |5 M0 D$ V4 X7 q4 G
  156. ; track_errors+ B" P0 }7 x, Z5 t
  157. ;   Default Value: Off5 o8 y- J5 M1 ~
  158. ;   Development Value: On
    4 u' b. g! i; L+ Y: c+ k
  159. ;   Production Value: Off9 v; M9 q" @) e: g7 Q& u( ^

  160. 9 V8 j" Z+ b1 o7 ?( i/ M3 K
  161. ; url_rewriter.tags
    ) I/ G2 z" N. c! `  T
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 o* a( X: \: t! j. I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": g+ T0 B( j; o9 E" k
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / `; @+ P& J0 X) L3 Q( X# ~

  165. 2 s9 z8 H+ D# w' k, F) h. l
  166. ; variables_order
    1 T7 k( _' i8 R; ~& ]# l% |
  167. ;   Default Value: "EGPCS"- F% A3 j  z- G+ Y
  168. ;   Development Value: "GPCS"
    2 ^) Y' \9 b5 i2 i" U6 w
  169. ;   Production Value: "GPCS"
    * R1 P2 y" [8 N
  170. + Z& _8 @. A7 r7 M* V. `) ?5 d
  171. ;;;;;;;;;;;;;;;;;;;;
    / q/ Z; z  A; }" U$ K
  172. ; php.ini Options  ;. c; b& d$ _& v$ C
  173. ;;;;;;;;;;;;;;;;;;;;
    3 s; J+ K; e0 @* G. c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 n$ Z/ d9 r2 g+ H9 O! ~4 p
  175. ;user_ini.filename = ".user.ini", |- p1 i% I+ |  {$ n. {8 Y
  176. ! I* V1 c. D9 V! T: K
  177. ; To disable this feature set this option to empty value
    * X9 U: H1 t8 u: i% ^) \
  178. ;user_ini.filename =
    % M8 a+ _, t4 `+ M6 K% f
  179. ( y* e# d$ F# `+ ~; v" A) s% E
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! J, D/ c# A4 `, u9 G) m
  181. ;user_ini.cache_ttl = 300  o# t1 a+ X6 d) F- B: y

  182. / l& v# f4 c* L2 ~: Q2 e
  183. ;;;;;;;;;;;;;;;;;;;;
    2 u/ A' w0 b" U# d1 Z3 t) k# g
  184. ; Language Options ;; @: D8 {: I) o6 E
  185. ;;;;;;;;;;;;;;;;;;;;3 D. ~) E8 |% \$ l+ y  j
  186. 4 A. X& l0 O. C/ F8 @& ~- S3 d
  187. ; Enable the PHP scripting language engine under Apache.
    7 `" {  R! t; x. A9 \+ c1 A2 N
  188. ; http://php.net/engine
    # c; g' t  q2 W4 g
  189. engine = On% x; n/ \: J! [* X; ?
  190. + G* [4 w) p$ J  D+ V1 p8 f6 c
  191. ; This directive determines whether or not PHP will recognize code between: W! v' ~' Q9 R( {7 }( _' W6 |
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! g! z9 B' F$ i  e0 p
  193. ; generally recommended that <?php and ?> should be used and that this feature: ~9 R. g# k( V5 s, \. B
  194. ; should be disabled, as enabling it may result in issues when generating XML
    % r4 w5 m% L2 w8 G$ b
  195. ; documents, however this remains supported for backward compatibility reasons.( |3 |8 ?0 J: `  P! Q% Z4 b7 p
  196. ; Note that this directive does not control the <?= shorthand tag, which can be- D/ }3 s4 A  ^0 a6 P$ E& Y8 E9 b+ Q
  197. ; used regardless of this directive.
    ; {" V7 }3 e" L* U+ G* z. C  {
  198. ; Default Value: On
    * o8 Z" m! l3 @0 m/ r
  199. ; Development Value: Off
    * ^. \8 B$ D' @+ E; G
  200. ; Production Value: Off
    * r3 L. \! G/ e8 `
  201. ; http://php.net/short-open-tag
    / `+ T; K5 p# O* H$ T6 A" x1 X
  202. short_open_tag = On
    ' ]9 m8 q4 `! f" ^  I# g

  203. # v- L+ Y2 w  X
  204. ; Allow ASP-style <% %> tags.
    , d2 d9 e$ I5 q/ t
  205. ; http://php.net/asp-tags
    ' d: d$ n, c" T: N% P5 {/ @& o
  206. asp_tags = Off$ Q: M# H1 h" x- J. O. C% r' Q1 ?

  207. ) b6 h; v+ s# Z. K
  208. ; The number of significant digits displayed in floating point numbers.$ [4 L$ \3 N1 ^9 x) k  G2 C
  209. ; http://php.net/precision
    . e! |! j0 N) E) X# |' b. |9 a; n
  210. precision = 14; J% z, Z; ]$ g; a  o

  211. 8 H& w; c: x+ t
  212. ; Output buffering is a mechanism for controlling how much output data, X2 l) {. j& a' [% F+ M
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ z0 Q2 k, r. M
  214. ; data to the client. If your application's output exceeds this setting, PHP
    0 f( d8 V8 A* ?# m; x4 C
  215. ; will send that data in chunks of roughly the size you specify.4 e( ~' _9 ?/ O* }; \
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    $ J3 {% D* k, q) X' B
  217. ; interesting side-effects depending on your application and web server.
    3 h$ d1 L! s, V. ?5 G7 T
  218. ; You may be able to send headers and cookies after you've already sent output0 R( G* V" J3 t- N3 O6 y* {
  219. ; through print or echo. You also may see performance benefits if your server is
    0 g' I" Y0 G) I: a( l" H* B& M+ @
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    1 J- l% U$ P: F! J# i
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- l* J2 G0 A  Q! j+ e2 c$ @
  222. ; reasons.9 g% q  R) W) U* M
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    * @) W- {) J8 h" ~! H
  224. ;   functions.# n! C0 F9 E! m, N  n  \+ h% p
  225. ; Possible Values:
    1 l  z& Q4 ?- t7 c- r/ t
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 c) Y" c& Z) v* `8 c
  227. ;   Off = Disabled
    * `9 P$ e# g( V- r
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.& E2 v& k4 e# d' }9 ^
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : k" g7 A4 w8 u, D3 u1 [
  230. ; Default Value: Off
    3 V2 q( u) v% P) {
  231. ; Development Value: 4096
    % v' n# E  f; e
  232. ; Production Value: 4096
    9 b' S4 T2 d, C4 N, E3 f5 m! Y
  233. ; http://php.net/output-buffering
    7 B7 [& Y1 N- G- l3 r" H! X
  234. output_buffering = 4096, }' S$ O9 T3 j2 ?' K8 Y. b  E

  235. 6 D& d6 l  Z! N: O+ |
  236. ; You can redirect all of the output of your scripts to a function.  For% h! R. T1 @  y+ ?3 B
  237. ; example, if you set output_handler to "mb_output_handler", character
    / S( ^* u9 b5 l* m; G  g2 p7 }
  238. ; encoding will be transparently converted to the specified encoding.
    1 J% H6 Z: H9 }) i
  239. ; Setting any output handler automatically turns on output buffering.' ^7 I" c+ o6 d/ l" e
  240. ; Note: People who wrote portable scripts should not depend on this ini
    9 U  E4 i) N( \* G6 u: F  n
  241. ;   directive. Instead, explicitly set the output handler using ob_start().' G$ n, `0 P9 d5 Z
  242. ;   Using this ini directive may cause problems unless you know what script
    8 @8 ?; _% o( u! {- W
  243. ;   is doing.% Z$ k- C  ^# p/ @
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    5 b( A# I3 n/ Q5 n" L
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# K! b* w5 D1 P. M* I& Y7 K
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 z) a* y) i7 S* [4 l5 ^$ \& N% F
  247. ;   Instead you must use zlib.output_handler.) d7 @7 k0 R* n: p: d
  248. ; http://php.net/output-handler) o; c; G! z; [! A/ H( K$ d, ^
  249. ;output_handler =
    # c( w) W3 Q- p

  250. ) D; d! Z- X  z+ K7 ~+ S
  251. ; Transparent output compression using the zlib library/ N8 J, g3 ~" t0 n
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- m; H' F7 O' k7 X% e7 b: }
  253. ; to be used for compression (default is 4KB)! z* ~. e- n+ ]
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    1 \8 X5 Q1 @4 }' |) s/ q0 _
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    3 C& `  C2 G4 f
  256. ;   compression. If you prefer a larger chunk size for better
    % g0 E5 H* l) {$ x( s7 f" I! l. V8 z
  257. ;   performance, enable output_buffering in addition.3 r; [' x) q* t# J  `' J6 k
  258. ; Note: You need to use zlib.output_handler instead of the standard; M3 U& G+ X* Y/ P
  259. ;   output_handler, or otherwise the output will be corrupted.1 O4 r$ M: i3 {6 X, H: E  J
  260. ; http://php.net/zlib.output-compression/ M2 E& X8 ^4 ~  `
  261. zlib.output_compression = Off
      y; \1 F( \" c! ^

  262. ; c$ A5 `& R) M+ P) d
  263. ; http://php.net/zlib.output-compression-level, b0 d7 b# j- M7 l6 O
  264. ;zlib.output_compression_level = -17 [3 i) Y  w/ M: D- [0 l

  265. ' }" s& v' V7 U# _# z: g: C
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ' `$ x6 J- A( L
  267. ; is activated here. This setting does the same as output_handler but in
    6 a4 Q. Y2 D4 |
  268. ; a different order.$ ?6 e& N8 s( T0 j8 H& `, }, \
  269. ; http://php.net/zlib.output-handler, m9 w7 I6 [3 o$ i
  270. ;zlib.output_handler =
    2 o3 T( l( y& ]9 {1 n
  271. # D' i, d  g! a& s, R' c
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    $ [' r2 A9 N9 e" ?1 v
  273. ; automatically after every output block.  This is equivalent to calling the5 a# }* x6 C4 k
  274. ; PHP function flush() after each and every call to print() or echo() and each/ J% H1 a) |1 o
  275. ; and every HTML block.  Turning this option on has serious performance
    5 R4 ~7 e/ w' M5 m! P3 P4 e3 b
  276. ; implications and is generally recommended for debugging purposes only.
    0 s, H5 q) y. P% _# z
  277. ; http://php.net/implicit-flush0 p" R  T' U& o! M$ p- T
  278. ; Note: This directive is hardcoded to On for the CLI SAPI5 |+ e/ ]( E* x! X8 \0 T1 L2 A" n
  279. implicit_flush = Off
    4 j+ B0 c- I7 u7 m
  280. 6 |6 R9 o: U& K! h$ ?' m
  281. ; The unserialize callback function will be called (with the undefined class'
    " l& F# ^3 C' f% p4 c' b
  282. ; name as parameter), if the unserializer finds an undefined class
      O8 R1 L0 a: S, X4 }
  283. ; which should be instantiated. A warning appears if the specified function is, ?! E8 K$ X8 _& F4 {
  284. ; not defined, or if the function doesn't include/implement the missing class." R# e( ^. N2 B4 J9 v1 O
  285. ; So only set this entry, if you really want to implement such a
      u5 B+ Q' ^3 q8 A6 }: b
  286. ; callback-function.9 l8 W6 q) y; H& S
  287. unserialize_callback_func =$ @) t1 i3 }3 H
  288. 3 n% a& @: t$ M# V
  289. ; When floats & doubles are serialized store serialize_precision significant% j" \4 V6 b8 d- y+ g( c
  290. ; digits after the floating point. The default value ensures that when floats* [0 u; z/ y7 Z5 Z0 E, I* W
  291. ; are decoded with unserialize, the data will remain the same.4 w$ ~9 S$ ^* ]! s3 q. Y
  292. serialize_precision = 17
    % B+ U/ L0 |; J8 a, h

  293.   h& h1 f* k, E+ g$ i" }5 o9 i
  294. ; open_basedir, if set, limits all file operations to the defined directory% ]4 Q& L0 p8 v$ i6 o# M  _: J5 ~! Q8 }' m
  295. ; and below.  This directive makes most sense if used in a per-directory
    ) ^3 x( m/ ^( F  N2 o/ U* H+ w
  296. ; or per-virtualhost web server configuration file.
    . o* P5 l1 T# }- Z4 w! T+ v7 c
  297. ; http://php.net/open-basedir+ h$ K- {$ f! f/ {8 Z+ }# Q
  298. ;open_basedir =
    7 ]7 C' j6 t4 L! g4 {0 O4 W  _' a
  299. ) {+ p4 V  @+ s' L
  300. ; This directive allows you to disable certain functions for security reasons.
    ) N+ B, B* j  T0 L' {2 @
  301. ; It receives a comma-delimited list of function names.3 \6 a. Y3 J9 V8 o; F) V& w! ?
  302. ; http://php.net/disable-functions
    * g, s- j7 X. o
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    / j, d2 r& ]: @% S

  304. ( M' ~- g1 D/ v3 f! h9 v" J; @
  305. ; This directive allows you to disable certain classes for security reasons.: q8 X( O: h& [% k; ?9 t0 ]
  306. ; It receives a comma-delimited list of class names.
    , }/ r6 k/ C. ^4 j) n% L
  307. ; http://php.net/disable-classes6 l. c0 J) o( w( F9 N3 N7 a
  308. disable_classes =
    3 f9 w; N! y8 m: U& ?& {: \8 I
  309. + R; f. n! Y" _* o* S/ o8 v
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    8 A) r& Y& ~/ S" C9 ~5 n
  311. ; <span style="color: ???????"> would work.) u/ X0 Q& O- R& L" E% }/ U
  312. ; http://php.net/syntax-highlighting) }. {( o7 z, K
  313. ;highlight.string  = #DD00009 ^9 ?: y% S  L" i6 z) y5 M4 N
  314. ;highlight.comment = #FF99004 |* I. u. q* Y7 m* ~
  315. ;highlight.keyword = #007700& x1 W! K: _0 e5 d* V- A9 y, R2 u5 x
  316. ;highlight.default = #0000BB$ u2 i  \5 B* S& z2 z/ s- C4 d- W- o
  317. ;highlight.html    = #000000
    8 t, Q; e' ]. W, V' i7 ]' c

  318. 7 L; H6 A- P1 X: Q
  319. ; If enabled, the request will be allowed to complete even if the user aborts' Z9 R0 |, ^! M
  320. ; the request. Consider enabling it if executing long requests, which may end up8 T2 W" o0 w1 K: h5 R2 S1 w6 j" t+ V
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    + N# B1 x. k" y: T
  322. ; is to disable this feature." y/ l% A6 Z- t, e4 l: K! w* _
  323. ; http://php.net/ignore-user-abort
    ) A) O% m# f* @  l) u2 D* {
  324. ;ignore_user_abort = On
    5 m% `# u1 j- t. Q' L( x! T
  325. ) A8 W8 H) H& f& ?2 z. T: ?: R7 a
  326. ; Determines the size of the realpath cache to be used by PHP. This value should' s* h9 M% s, Y$ ^8 p: I
  327. ; be increased on systems where PHP opens many files to reflect the quantity of% X$ ^8 y9 y4 g3 G8 b7 ^2 ^
  328. ; the file operations performed.2 ]% R' r; f! E
  329. ; http://php.net/realpath-cache-size, p0 ~7 n, K! v$ L, y4 A' f
  330. ;realpath_cache_size = 16k2 ^0 m9 d: v; ]8 ]! h, s0 E& w
  331. ( }2 N! `. }- W3 ]# ]( s; V
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    & Y: h0 N1 ~3 E
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ; i3 b+ b; P- f0 S' q
  334. ; value.- U  D% u" e+ `: M
  335. ; http://php.net/realpath-cache-ttl6 |/ K% I  m- N4 w$ v+ |2 K2 @4 T
  336. ;realpath_cache_ttl = 120
    ) u, s& g, K$ A9 a# s! l

  337. ! d1 ], S, C% `# D: A6 t
  338. ; Enables or disables the circular reference collector./ T1 R& N+ M: w! [
  339. ; http://php.net/zend.enable-gc
    4 ~5 e6 [8 N& N" \0 a+ v! J
  340. zend.enable_gc = On
    - Q0 F9 l; L$ C+ y

  341. 6 C7 K' z* v0 l2 \0 r/ O  w4 I5 M
  342. ; If enabled, scripts may be written in encodings that are incompatible with3 {; q$ ~3 ?  o) g
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such$ v& G3 a* M7 r7 S
  344. ; encodings.  To use this feature, mbstring extension must be enabled.! w+ }( `8 D. Z" E" H: F
  345. ; Default: Off' L" y  M8 {0 R" @9 y6 {
  346. ;zend.multibyte = Off
    6 m) `  m& ~* P/ t# H

  347. 4 O% o: X- z5 |4 P& P$ y6 m* j
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    " D0 F. H' ]2 Q- g7 I/ r0 c
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.) K* D: |8 B" M9 z
  350. ; Only affects if zend.multibyte is set.( j% z) A6 E( U( l! X* m
  351. ; Default: ""5 j# W/ r, ?# e
  352. ;zend.script_encoding =! q7 y/ t% E3 v. B) O  u

  353. 1 y! W6 F% v$ T# Q, x
  354. ;;;;;;;;;;;;;;;;;! W; ~) v* t2 f0 P  l+ W9 O
  355. ; Miscellaneous ;& c  |6 ^# m+ P( A( q
  356. ;;;;;;;;;;;;;;;;;. s1 x  b$ X% _
  357.   r. I6 x% v9 m+ T" n9 p  W
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    + y. _4 d  F2 E2 e6 j2 ]0 U
  359. ; (e.g. by adding its signature to the Web server header).  It is no security2 ?9 Q2 T: d( Z2 {$ `
  360. ; threat in any way, but it makes it possible to determine whether you use PHP9 E0 N6 s" E3 Y, ~
  361. ; on your server or not.
    : v; ^3 `) n5 ?; T
  362. ; http://php.net/expose-php' L/ H9 E; F0 W( j7 [( w
  363. expose_php = On$ p/ f  s1 h, Q" `9 S
  364. 7 ]- j: f% m" N! [" q
  365. ;;;;;;;;;;;;;;;;;;;+ y) F4 N" U- w0 b+ C
  366. ; Resource Limits ;
    & F3 u7 b: [9 t+ l5 z# z
  367. ;;;;;;;;;;;;;;;;;;;
    / u" [; t0 k$ i& \" o$ F7 j

  368. , ]! @. h6 W6 g- e; z. p
  369. ; Maximum execution time of each script, in seconds" x: P  p" [) v/ v0 v# W# ]( e2 J
  370. ; http://php.net/max-execution-time
    " j4 T8 y2 R4 U) a* h0 T; H7 I# `
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 O4 j8 m) p) j' a3 a: @
  372. max_execution_time = 300
    : p1 `  ]7 @( C  n& b

  373. 5 p. f* W& I4 b& d' H
  374. ; Maximum amount of time each script may spend parsing request data. It's a good' y' u  e3 o+ J% C4 k4 ]# O, i) {
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
      Q4 @) f) N8 _  e
  376. ; long running scripts.: R# ^/ A; G( D* c
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI+ i9 y" J1 ]( Z$ e7 z3 E
  378. ; Default Value: -1 (Unlimited)+ x5 H8 g& ]( ~+ @
  379. ; Development Value: 60 (60 seconds)  L( V7 F- a3 _  C2 i  Q
  380. ; Production Value: 60 (60 seconds)
    0 q4 Q! k+ ]$ D1 ]( `
  381. ; http://php.net/max-input-time! s$ o% K& @1 M/ p) i2 M0 M% v
  382. max_input_time = 60
    % Z6 U9 w. e8 ?  T: R3 F) s) d
  383. 2 g' S; d$ m& ^! F3 v& q
  384. ; Maximum input variable nesting level# h& L% Y. G  o( ?  A5 \3 ]4 s7 z
  385. ; http://php.net/max-input-nesting-level/ V: B) |( y. ?) B+ k7 c& G
  386. ;max_input_nesting_level = 64. m3 \0 s# j' i. f  m
  387. ' B8 N6 z/ P: t2 z- Z& v1 c
  388. ; How many GET/POST/COOKIE input variables may be accepted% G' I5 P& `8 G1 g9 l
  389. ; max_input_vars = 1000
    3 U" d5 U4 _6 k

  390. * b5 I% _. G0 j" W& w
  391. ; Maximum amount of memory a script may consume (128MB)
    ' k" ^9 a+ x" r
  392. ; http://php.net/memory-limit6 [; c6 v3 |  d5 k( |
  393. memory_limit = 128M/ n4 t* b) e3 t$ t

  394. ' h; t6 ?. i. a" j' M, _
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 t" k# O) `+ ]. t( i& l
  396. ; Error handling and logging ;3 C1 m+ P9 R& W# i3 i
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 Y0 R& s3 @1 @  k/ x) a* Z

  398. 7 l; s4 D0 u2 n  O4 }6 @. R
  399. ; This directive informs PHP of which errors, warnings and notices you would like% S# a9 f/ Z7 o. e; P' K
  400. ; it to take action for. The recommended way of setting values for this) S' K" x5 t5 S* P2 c
  401. ; directive is through the use of the error level constants and bitwise
    $ y0 z$ V  i* `8 O$ [% S6 I
  402. ; operators. The error level constants are below here for convenience as well as
    7 j- r% G. ?/ \/ [: z
  403. ; some common settings and their meanings.
    8 Q5 L- R" Q( n
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    - `- A9 c" C" s, M( `2 ^
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and/ p8 L% ~; u) l5 C$ |
  406. ; recommended coding standards in PHP. For performance reasons, this is the+ a5 S. \  Q: y; A- f
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    7 G* r. w: _; r: z6 w) r- v. u9 v
  408. ; resources complaining about best practices and coding standards. That's what
    ' d" Q3 ?& Z; d# p
  409. ; development servers and development settings are for.6 Y; a, ~2 ]  H0 S% g/ }
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 J9 @# |; Y4 t' p! j* ^/ U
  411. ; means it pretty much reports everything which is exactly what you want during
    , T# O+ u- b" U6 L- j
  412. ; development and early testing.4 e8 ]+ X9 ^. b$ z$ a
  413. ;# c* [5 v- x. J" H6 r% Z
  414. ; Error Level Constants:9 f$ W$ S% l* g$ ]  s
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    1 V2 f2 I, r; {/ [
  416. ; E_ERROR           - fatal run-time errors  H0 [- C& i( E0 O! Q5 p+ J
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 P/ ~- N( x0 V# R" _
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    6 g) J5 |" C! C+ k
  419. ; E_PARSE           - compile-time parse errors( }4 x- P. G* l: V8 T
  420. ; E_NOTICE          - run-time notices (these are warnings which often result! _8 I! X! R; ^0 I! M
  421. ;                     from a bug in your code, but it's possible that it was- E- O. H* Y% F+ O9 g
  422. ;                     intentional (e.g., using an uninitialized variable and
    - `! m. W9 ^: z
  423. ;                     relying on the fact it is automatically initialized to an
    ) I$ G% S9 N% Q( L2 ]
  424. ;                     empty string)  {0 x; E1 m" r+ E6 F- Y6 Y
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes2 ?# e1 Z7 w& ?( o
  426. ;                     to your code which will ensure the best interoperability
    1 M% t% X7 x& i' x3 ]; H, {
  427. ;                     and forward compatibility of your code! o  ]3 e3 k! S7 h! p6 ]
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    % m& @) \1 ]  F4 c+ |
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ ^4 y+ @7 D! [/ O( X6 l1 d
  430. ;                     initial startup
    0 U+ x$ ]: ^' t/ p+ V
  431. ; E_COMPILE_ERROR   - fatal compile-time errors5 a1 k0 Q. H2 i! n* J. K/ q/ c- T
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)% ]5 b- K* f# C: V& r& c  M" }
  433. ; E_USER_ERROR      - user-generated error message
    ' T6 q4 Y- g% W/ Z6 V
  434. ; E_USER_WARNING    - user-generated warning message
    8 ~$ U: Y6 _- ^3 b; A8 L
  435. ; E_USER_NOTICE     - user-generated notice message
    / a0 ~- x9 _, P) l% T+ @
  436. ; E_DEPRECATED      - warn about code that will not work in future versions- P- Q- V# h. O8 W6 f7 ^
  437. ;                     of PHP# f4 S/ X( @: o: U& \# J8 u
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / V; L& k8 N" |. ?  C
  439. ;4 Q) ?& R) v1 |3 T
  440. ; Common Values:
    3 I* D* F% t% L
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    6 l. @. y& o5 b; ?& A1 J
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)1 Y3 x7 S% T/ e9 K6 O1 o+ Q! Q
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 u# {" F" p6 k4 F; ^2 g! P' C& [
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    8 M9 c$ U) P" b  d
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 m* i2 J, L+ D5 t3 z; M
  446. ; Development Value: E_ALL
    $ X+ h0 U9 _7 u# r& D/ ]. |
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & w# H5 E# i2 e
  448. ; http://php.net/error-reporting$ v* A: T. G' m5 B
  449. error_reporting = E_ALL & ~E_NOTICE  }. Z6 n  c( K$ R! i
  450. # \: B+ `6 M8 [* T* n; d7 i
  451. ; This directive controls whether or not and where PHP will output errors,( q& n1 D& g4 A
  452. ; notices and warnings too. Error output is very useful during development, but8 [, y) ~/ l% t& O+ x) Q
  453. ; it could be very dangerous in production environments. Depending on the code
    2 }" y7 Z* J. ~$ W9 c9 N( d5 N
  454. ; which is triggering the error, sensitive information could potentially leak5 Q. A5 U/ S- x
  455. ; out of your application such as database usernames and passwords or worse.
    / {- d1 G* m% P8 R% v2 U+ [
  456. ; For production environments, we recommend logging errors rather than
    7 J+ E$ X5 n5 W1 U' B1 h
  457. ; sending them to STDOUT.
    4 G1 P- G2 {$ X! L: W  e- ?4 c
  458. ; Possible Values:
    5 x1 G7 z/ l% f! j
  459. ;   Off = Do not display any errors
    6 o4 f0 e5 \; H2 t* c8 a2 {  `
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ x+ V6 n: l" [& y) ^
  461. ;   On or stdout = Display errors to STDOUT! g# `1 f- [0 C8 s  L" F* U
  462. ; Default Value: On
    ) m9 @7 o% z* q& d
  463. ; Development Value: On
    + C- T/ `8 E: [0 Z( o4 P' g( u
  464. ; Production Value: Off
    7 l" _  m; q7 b7 Y) _# L+ k
  465. ; http://php.net/display-errors+ j5 W) }8 u& m: {2 L  A( Q
  466. display_errors = On
    1 @1 }; t. c% b9 ?

  467. / G- }' c4 Z4 e- w9 K7 q
  468. ; The display of errors which occur during PHP's startup sequence are handled7 J! m/ Y/ r: Q. ]% c; E$ L  l
  469. ; separately from display_errors. PHP's default behavior is to suppress those& t9 m, n7 t  T$ K7 o: D; y
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 A+ Z5 V2 Y7 |2 B2 R6 E7 u! w
  471. ; debugging configuration problems. We strongly recommend you
    ) B8 H. \# K2 |) B4 _( w: J
  472. ; set this to 'off' for production servers.
    2 }( l% O# d' L  ^
  473. ; Default Value: Off
    ! d! R# m, ?: [1 z
  474. ; Development Value: On  A3 N! x; @# m. L  E
  475. ; Production Value: Off8 X4 b  A9 K: Y# ?) s1 K
  476. ; http://php.net/display-startup-errors: F. q% e) h5 e" h- o
  477. display_startup_errors = Off6 C( G+ u' `) M8 F
  478. 3 ^+ S+ P0 K; a; q6 G$ ]
  479. ; Besides displaying errors, PHP can also log errors to locations such as a# I" J2 h8 J' \* H9 Z+ d3 ^
  480. ; server-specific log, STDERR, or a location specified by the error_log
    4 r2 v1 }% P$ H1 r7 Z# e
  481. ; directive found below. While errors should not be displayed on productions& z3 m2 e1 ~7 h+ F
  482. ; servers they should still be monitored and logging is a great way to do that.
      y# ^, m- o) r3 Q) Q
  483. ; Default Value: Off
    " ?$ ]9 Y. n1 i" U: E& ]$ w8 }3 o
  484. ; Development Value: On- m( D/ C+ I, F% c0 _! G
  485. ; Production Value: On
    4 `" L, e5 \5 d% D: R- E; k8 s
  486. ; http://php.net/log-errors
    + o1 L5 K0 J5 Y2 K4 {
  487. log_errors = On
    5 U7 t2 M, b" u$ g
  488. 1 g$ G* l  }9 T6 e* ?0 F
  489. ; Set maximum length of log_errors. In error_log information about the source is
    9 q: Z/ G$ J0 b4 [
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.1 `% ~4 S0 x2 X) _
  491. ; http://php.net/log-errors-max-len/ _$ ^9 y- I6 j
  492. log_errors_max_len = 1024
    6 H8 w$ T5 W6 P: W3 ?/ X

  493. 0 g: y$ _! n: P5 Q' ?
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . [/ \+ w7 u. b5 y- ~
  495. ; line unless ignore_repeated_source is set true.$ i. D9 ?: K. v
  496. ; http://php.net/ignore-repeated-errors# w2 l( ?" t1 h* A& @. J, M
  497. ignore_repeated_errors = Off
    " @2 g) P( Z2 _1 v; ?

  498. 4 Y3 m2 q3 G! g
  499. ; Ignore source of message when ignoring repeated messages. When this setting5 T' ]! J0 t/ `6 ?+ }
  500. ; is On you will not log errors with repeated messages from different files or
    : P. W* E7 x6 ?) i
  501. ; source lines.
    4 K, R/ _. m! i$ J7 c. Q2 _# j' [
  502. ; http://php.net/ignore-repeated-source
    9 D# r2 c" p/ b' O! Y- k
  503. ignore_repeated_source = Off8 W$ ~7 _( q" {+ X5 P  Q/ B
  504. % V5 }. K8 O6 ^& U6 b, S
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    7 t& O6 U- Z4 @) q6 d* |2 r! K
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ' B+ w: ?+ j" b. B3 |% j
  507. ; error reporting includes E_WARNING in the allowed list# J" }8 d; t, W" L# y( V% ]5 _6 H0 F4 A" V
  508. ; http://php.net/report-memleaks
    ' a1 f4 _. y$ ~4 ~  B6 L
  509. report_memleaks = On
    + P& E; P* E! o+ f& D1 e

  510. 7 v' V. P; z: `5 W
  511. ; This setting is on by default.
    : x1 x) W% l5 R8 o! h* w
  512. ;report_zend_debug = 0
    " ~, {+ {& j. I' z3 L% l" T
  513. 5 C7 j, q0 P0 u# s
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 d6 u! U, r& V6 }$ r- ?  a
  515. ; to On can assist in debugging and is appropriate for development servers. It should  L5 ^" ?6 ^8 e; }0 l% l; D- N6 N
  516. ; however be disabled on production servers.& k. N! `( F" y1 u5 H7 U
  517. ; Default Value: Off! O$ I% @7 F' O  ~" q! s( M
  518. ; Development Value: On
    & @9 @# P) D' z7 I
  519. ; Production Value: Off( `- U8 x( m1 g; X/ @' n: ^/ e8 r
  520. ; http://php.net/track-errors
    $ F: g6 H4 w) E( f
  521. track_errors = Off
    & y0 V7 q1 W7 U  c

  522. 1 s+ u1 a' l  K3 L, p
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    - P1 N; N% {9 z+ ?
  524. ; http://php.net/xmlrpc-errors+ w7 }: Y' r& H+ F5 h9 a
  525. ;xmlrpc_errors = 0
    3 y- P6 o5 H* V$ |# e& T
  526. * U: ~- R& Q4 F$ ?6 \/ z( V) S
  527. ; An XML-RPC faultCode- ]* J/ s1 v) ~+ }  z
  528. ;xmlrpc_error_number = 0
    2 H" t4 ]: a& M/ o% \' o: |

  529. 7 Q- b1 Q* `* e: F7 Z" o$ X
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    + E% ?: M: f  y! y3 d; j8 e
  531. ; error message as HTML for easier reading. This directive controls whether3 u$ d3 M+ |& n. K- J8 j  z$ {+ I
  532. ; the error message is formatted as HTML or not./ [$ i! m' a* q( u5 D; x) E* V+ o1 x% R
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
      H; U; T9 Q" Y; p8 `
  534. ; Default Value: On
    : R" [5 M) r5 z  \1 g
  535. ; Development Value: On
    . P2 ?/ b* g# K
  536. ; Production value: On0 \4 r. B+ p! z* ~+ y$ J
  537. ; http://php.net/html-errors. t! r6 B: ?/ t( @
  538. html_errors = On
    " U8 o: b! g( E5 s

  539. 2 Q2 Y8 v- F2 p. Z4 e
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP8 W, e" x/ n6 ]3 g# q
  541. ; produces clickable error messages that direct to a page describing the error
    7 g+ ^* S: x. R* c! P+ [/ Y& q8 x
  542. ; or function causing the error in detail.
    , C9 n& [$ }) O9 |
  543. ; You can download a copy of the PHP manual from http://php.net/docs/ a" f$ \+ p* M. B
  544. ; and change docref_root to the base URL of your local copy including the
      d, ?* Q1 i+ }5 M: T  [- R
  545. ; leading '/'. You must also specify the file extension being used including' G* Q" @) O7 G! u, l/ Z# U4 d8 k$ y
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which+ S" n# Q# T& W; y+ A: m' q0 S2 \
  547. ; case no links to documentation are generated.
    ( `- ^! N/ a. o. T, b! q- H
  548. ; Note: Never use this feature for production boxes.  J, T' F! _6 C! c1 Q; v& O
  549. ; http://php.net/docref-root( F. V3 R4 _4 b5 C. T" r
  550. ; Examples- d# c' L4 X& d3 J
  551. ;docref_root = "/phpmanual/"
    0 }2 x  j3 j9 l6 g( L/ e
  552. 8 ^% V- X( @, }! ~9 D2 \
  553. ; http://php.net/docref-ext
    ( H: T. ^* K2 a: w3 F  @& }! r* e
  554. ;docref_ext = .html
    0 \. I8 S4 k. F1 w+ c
  555. ; ~" \7 p9 N7 H
  556. ; String to output before an error message. PHP's default behavior is to leave3 u& `$ q! k, P8 g5 A
  557. ; this setting blank.
    ' X4 V8 L$ P" t  @
  558. ; http://php.net/error-prepend-string+ Y. @# B- c7 Q8 H
  559. ; Example:
    $ u  p% f- t" H/ ]
  560. ;error_prepend_string = "<span style='color: #ff0000'>"/ a8 G. S/ k: J& h9 v

  561. ' t( j9 z6 ?" U2 N1 B
  562. ; String to output after an error message. PHP's default behavior is to leave
    - H- m! @3 f( G( W- \
  563. ; this setting blank.0 t0 M$ D# z0 P# i# p9 u
  564. ; http://php.net/error-append-string6 h) y2 h6 M# i* P; K
  565. ; Example:  |+ N" _/ n' c8 v4 G, G2 @
  566. ;error_append_string = "</span>") J# g9 O8 T1 Q0 X+ R* o# j, D- X
  567. , h: T3 I5 P7 {4 Z- j/ q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    - D! n) Y0 C3 M# g/ V1 A0 n( p, I
  569. ; empty.
    . C6 r6 p) p8 u+ s3 ]( c$ s/ s2 i
  570. ; http://php.net/error-log  {+ @$ ]1 V, B; s
  571. ; Example:
    . q0 c0 |, N  E  U& Q
  572. ;error_log = php_errors.log/ w  V. u% c' T* D
  573. ; Log errors to syslog (Event Log on Windows).
    5 J2 W' e, T8 V$ p
  574. ;error_log = syslog
    5 p6 I/ t4 h; d7 R+ }
  575. 5 m7 ~- c- _4 B+ d
  576. ;windows.show_crt_warning
    $ }5 K9 }5 R3 A. W( z. F
  577. ; Default value: 0/ `9 z+ W9 g) N$ H* R' a
  578. ; Development value: 0
    1 I* I, I! G& w% k$ k! `: v
  579. ; Production value: 0
    6 z0 _4 F! y8 _( }. X1 m+ n( i
  580. / G: P. S+ @2 l$ g$ i3 O, v! `
  581. ;;;;;;;;;;;;;;;;;3 G- N$ c7 r9 h4 e$ ?$ @
  582. ; Data Handling ;) ~  x1 }, a9 G8 l& Q9 f. t% q
  583. ;;;;;;;;;;;;;;;;;
    : T- K  d: l3 q$ n

  584. ) I$ |. O, U: R1 Q" k
  585. ; The separator used in PHP generated URLs to separate arguments.* Z9 S2 r, a9 K- d! \3 Z6 ?, Z
  586. ; PHP's default setting is "&".- |# ?+ n' y* v8 h* k
  587. ; http://php.net/arg-separator.output
    ( F; N9 E* |4 R' ?; }' i% k
  588. ; Example:4 \3 W; B5 v4 Z+ T$ P
  589. ;arg_separator.output = "&amp;"1 ]/ d0 M* F5 F2 F# i5 q6 h  T

  590. & w( v1 h  O! _0 ]3 s6 A8 }
  591. ; List of separator(s) used by PHP to parse input URLs into variables.( b$ ?; _, c# X, F6 L$ G, b
  592. ; PHP's default setting is "&".% K$ B) m( N& U8 @& r2 k& m$ O
  593. ; NOTE: Every character in this directive is considered as separator!3 f6 Y- G* y  r/ \9 l0 E. |+ v
  594. ; http://php.net/arg-separator.input
    1 {: E* l; {/ S% g$ M0 E+ B
  595. ; Example:
    2 j& E/ W4 `3 G1 T
  596. ;arg_separator.input = ";&"
    5 C; k; V8 a" q& i, j- L( d
  597.   q% M; W. S8 e9 F& U4 e: A1 W/ o0 e
  598. ; This directive determines which super global arrays are registered when PHP, C  [. c: U3 u' j' L
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 ?) V$ O8 C3 O+ L
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & F. t& `8 O$ g
  601. ; paid for the registration of these arrays and because ENV is not as commonly3 l1 d! z% E( |( w( c, H7 ]
  602. ; used as the others, ENV is not recommended on productions servers. You
      E( c& F% r1 v
  603. ; can still get access to the environment variables through getenv() should you
    " M  J" r0 H* M
  604. ; need to.7 X3 \) O" u: f0 h5 E( G
  605. ; Default Value: "EGPCS"/ W& ^6 {/ \' s, d/ U5 [0 O# `* L% X
  606. ; Development Value: "GPCS"
    9 Y8 f$ d% F$ p* r: [5 K
  607. ; Production Value: "GPCS";
    5 ^- x7 U5 C: g0 j" i2 c* M
  608. ; http://php.net/variables-order: M3 @9 w+ E4 m  W/ R% G
  609. variables_order = "GPCS"3 u4 \( ?9 e* n$ R6 c: ^

  610. ' p; ?; G" G% i+ ]4 P. Y
  611. ; This directive determines which super global data (G,P & C) should be
    : A0 r6 [- q- B! V3 m# G9 I
  612. ; registered into the super global array REQUEST. If so, it also determines
    ! J9 G  s  ]+ d5 t
  613. ; the order in which that data is registered. The values for this directive$ M2 r! q; ^8 D: F* h
  614. ; are specified in the same manner as the variables_order directive,/ i; a9 G' _; w+ C! R
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    0 H" `7 I% @0 }' H
  616. ; in the variables_order directive. It does not mean it will leave the super
    1 Y; m! z6 x/ ^- `) \+ x
  617. ; globals array REQUEST empty.7 h" V& |: m9 A/ l. T; h/ y
  618. ; Default Value: None
    ; D* T) N4 S4 v5 t; ~9 ]
  619. ; Development Value: "GP") a6 B, g6 C/ j3 }
  620. ; Production Value: "GP"( T( E% i9 K2 i
  621. ; http://php.net/request-order) ?% u+ p( ~6 Z/ _7 d6 P0 {- u$ e
  622. request_order = "GP"1 S  e; b' Z/ j& h4 W! k8 T( \

  623. . A+ @, L& ?# A% Z: p8 J' C+ \
  624. ; This directive determines whether PHP registers $argv & $argc each time it
      |8 j  P8 c! ]' Q
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script. P" s9 W* ]6 t$ p
  626. ; is invoked. $argc contains an integer representing the number of arguments
    . Q' i4 G  M% u9 A3 {
  627. ; that were passed when the script was invoked. These arrays are extremely
    * M7 a& e7 I; d: E7 a% a: k
  628. ; useful when running scripts from the command line. When this directive is
    ) Q2 G& b4 h# @% ?. s, s& ?: M
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    , I/ k. f# P0 Q. ~
  630. ; a script is executed. For performance reasons, this feature should be disabled
    # ]7 {2 b8 D' ?# b* e
  631. ; on production servers.& n0 u2 T* R; r
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    & V  M( O7 `0 s0 z
  633. ; Default Value: On
    4 ^, w; b% y# o  G8 g( @# Z; M2 b( ^( O
  634. ; Development Value: Off
    5 f1 Q, a- ~2 W% w0 g
  635. ; Production Value: Off$ z& Z( X% y; }* ]
  636. ; http://php.net/register-argc-argv
    " L" U6 S( B- h, |9 m
  637. register_argc_argv = Off! i8 f& P! b$ s) c7 i

  638. 3 h: r8 P& v/ Z6 C9 U: y
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    1 }" ^# c1 T% _9 b" I6 T3 R2 E
  640. ; first used (Just In Time) instead of when the script starts. If these
    8 B8 ^; B- u" y( h  {% Q) Y: `8 g
  641. ; variables are not used within a script, having this directive on will result% @% g4 {. H, Q/ g* u, D
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    3 ]/ }% K" G$ r6 P% k2 r
  643. ; for this directive to have any affect." ~  o* q# K) E
  644. ; http://php.net/auto-globals-jit
    . X  _0 g) d( h/ x% l2 o5 F! f
  645. auto_globals_jit = On
    # X$ S4 V) l6 u; c
  646. 0 l* N1 g$ Q3 X5 G8 X' v; v
  647. ; Whether PHP will read the POST data.
    / N* U5 b' X* \* W4 Z; i
  648. ; This option is enabled by default.9 Z( |, n1 R% J8 q3 O) |
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST- a1 i+ B4 v$ M7 R9 c6 w5 `! d
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    - j7 F3 e% v) n6 n6 l. U( @
  651. ; POST data will be through the php://input stream wrapper. This can be useful5 m' q* F) k& e1 w0 p/ t
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / `$ s% ]7 }- D$ @. d
  653. ; http://php.net/enable-post-data-reading% J3 |+ K+ ^" r  l
  654. ;enable_post_data_reading = Off
    : w. D: ^) g, X& j$ ~3 M
  655. 5 |  g! u) @" J/ L" V6 P+ @
  656. ; Maximum size of POST data that PHP will accept.
      V5 h5 K4 O' }
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    * ^( R! B& V; R, c
  658. ; is disabled through enable_post_data_reading.
    3 D0 M. j1 d! ^! b/ `6 C
  659. ; http://php.net/post-max-size% [' [" _4 t* n* v
  660. post_max_size = 50M
    & _4 B% i' ~5 U, B/ t$ L
  661. . f1 }# I% @$ |9 N' I( E. Q
  662. ; Automatically add files before PHP document.
    4 l3 C& m" d- S$ e* e
  663. ; http://php.net/auto-prepend-file
    & _. R% X( l1 P0 h
  664. auto_prepend_file =
    5 `5 J8 t1 D, e+ s9 r4 C$ `
  665. 2 ?' Q6 `7 `( Y  B) v
  666. ; Automatically add files after PHP document.0 n; i/ R5 c& ^1 ?) T
  667. ; http://php.net/auto-append-file! g! W( g/ A6 u$ k6 E* `: w
  668. auto_append_file =: N; r# s! x: ]  d

  669. " K# [. i; U/ J1 O+ Y0 A1 ~
  670. ; By default, PHP will output a media type using the Content-Type header. To
    & m, a( u0 |; {# A! \
  671. ; disable this, simply set it to be empty.7 O4 t' f/ W" e) U9 k
  672. ;( |% m6 z7 P6 Y( e9 w
  673. ; PHP's built-in default media type is set to text/html.
    ' D2 i4 M( [- W8 J
  674. ; http://php.net/default-mimetype
    , x% R1 e. `$ g  V+ M2 Q& ?, t
  675. default_mimetype = "text/html"- ]2 w! W7 I9 Y( Q) M9 P

  676. 0 @7 X& e3 @: G% ~$ p
  677. ; PHP's default character set is set to UTF-8.5 E0 i6 U! L$ c
  678. ; http://php.net/default-charset
    / _# T4 ?( t. D; h. ^3 t
  679. default_charset = "UTF-8"* t  A" u; i4 |6 e- U- h4 v
  680. ( P5 d+ {6 O; O
  681. ; PHP internal character encoding is set to empty.
    . n0 G/ }, _0 _: V4 @' q
  682. ; If empty, default_charset is used.
    0 a7 }* b3 E1 J9 y8 K+ x  ?4 c
  683. ; http://php.net/internal-encoding$ k6 s% `$ s7 a; W9 ]
  684. ;internal_encoding =
    ! e9 V1 o! Y" V& C2 g+ w
  685. 2 l6 t: x# [) V- f
  686. ; PHP input character encoding is set to empty.
    " |- ^. u- ^$ R" k9 O0 h
  687. ; If empty, default_charset is used.  }, t/ C' Q3 a% E2 t  C0 `
  688. ; http://php.net/input-encoding6 {8 z7 r6 Y3 x! _% \' ~
  689. ;input_encoding =
    6 Q7 m7 m+ p! v! q/ Z
  690. $ B* Y  `$ x+ {. c7 @/ @
  691. ; PHP output character encoding is set to empty.3 Z' w2 m' o( O( Y* m
  692. ; If empty, default_charset is used.3 X; O1 g2 A8 k. U
  693. ; See also output_buffer.
    " E1 C" W4 G1 _# y
  694. ; http://php.net/output-encoding
    , j8 a4 y  W/ R; m
  695. ;output_encoding =
    ( j( B9 D2 F3 P

  696. - m, ^) z: x. C+ T* ^" h1 K
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
      ?4 ^1 O" l' h0 c& B0 P+ d
  698. ; to disable this feature and it will be removed in a future version.
    # q8 Y7 W; s* w8 {+ a/ b5 M, k3 M: y
  699. ; If post reading is disabled through enable_post_data_reading," P- L& o2 G' V6 J$ U6 v
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.) C% [) g# ?' _  O
  701. ; http://php.net/always-populate-raw-post-data3 [2 V% g4 n9 F1 G6 ~3 {9 t: t( s1 x
  702. ;always_populate_raw_post_data = -13 w( K' J; S/ M; B3 `

  703. ; i0 x/ f# f0 K3 R/ u
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / u3 ~* `' o' l
  705. ; Paths and Directories ;9 s6 D# J/ O9 t: W' T" R1 W  `  b# u) P
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . h4 U, l" v" c
  707. : I0 u& [2 d9 p% V3 H/ N& g
  708. ; UNIX: "/path1:/path2") h: @) r5 M9 S
  709. ;include_path = ".:/php/includes"; c& E+ t* o* n7 ?
  710. ;
    1 Z. _8 b( _5 _9 `: w6 }3 {
  711. ; Windows: "\path1;\path2"+ Z+ v$ {( `3 d9 G( W
  712. ;include_path = ".;c:\php\includes"
    ! e3 ?* R: N, @! y6 O, y
  713. ;$ o1 J; B$ q2 l$ d3 V. o! O
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( i4 q) s! Y5 u/ s/ _# Y
  715. ; http://php.net/include-path: \! _9 l$ W; R& g4 W; G. P# I7 R$ q
  716. ; {2 m* a- a: R' l
  717. ; The root of the PHP pages, used only if nonempty.0 K# z' ]0 y6 q9 s
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root" [/ j: T. x( x( Z( Z
  719. ; if you are running php as a CGI under any web server (other than IIS)
    % `& ]. b  y2 ^1 }+ B
  720. ; see documentation for security issues.  The alternate is to use the
    ' J! N4 x" U* L
  721. ; cgi.force_redirect configuration below
    ( f' ~, A# t5 D3 K6 F. w
  722. ; http://php.net/doc-root  e7 v9 ~7 a% y1 ^* [! y* ?
  723. doc_root =9 k/ ~+ q( @: S7 H

  724. * ~' J6 Y- Q' f" U% T6 F
  725. ; The directory under which PHP opens the script using /~username used only
    7 K) ~- y. s) q7 ^
  726. ; if nonempty./ h( J" d& q$ y& B+ b5 \
  727. ; http://php.net/user-dir
    , J0 i$ |; F* K- [2 j7 J
  728. user_dir =6 j  K6 x+ c4 e) P6 h" L/ X* p9 `- j
  729. 2 e* p& ?6 t. L, ?+ V
  730. ; Directory in which the loadable extensions (modules) reside.
    , Z2 _) _& J0 S( _4 P3 C3 U
  731. ; http://php.net/extension-dir
    ! m# R& [. c9 x- j, B
  732. ; extension_dir = "./"
    ( D$ `+ G0 `* e2 t: F1 O! _/ o6 a& \% V
  733. ; On windows:0 r. Y/ J" {' v5 g  s$ T
  734. ; extension_dir = "ext"
    , p& [* f; G6 V+ Z2 E8 c( D5 ~/ o1 ^
  735. ' k" C, Q$ J. ^5 s7 y
  736. ; Directory where the temporary files should be placed.2 ^* D& y+ g- e# f. J. a
  737. ; Defaults to the system default (see sys_get_temp_dir)
    : _0 ^" k) a; d
  738. ; sys_temp_dir = "/tmp". n5 T6 g1 o9 x6 V4 f

  739. " H& W' p8 {. U5 ?; c
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 S9 y7 A& C) ]2 A9 X
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically4 P! [, X" W6 }' J# v$ x' l. ~
  742. ; disabled on them.; n! }) g* \7 u
  743. ; http://php.net/enable-dl
    1 X- @" P( T2 X
  744. enable_dl = Off
    ! l; [8 {" ?& c- F4 Q. h- R6 \
  745. 4 f; e" p/ s, j0 r5 p" t; j
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 Z5 P$ T3 ~9 E  r) {* ?1 v! f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can( s' s  o7 ?4 ~4 ]# w6 L
  748. ; turn it off here AT YOUR OWN RISK
    + Z( I# h4 t  r5 K  H; F
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ a+ P' r- ?9 y0 l% p# c* |8 h3 @
  750. ; http://php.net/cgi.force-redirect
    # w; ?* n/ ^4 Q+ C" G
  751. ;cgi.force_redirect = 1; ?" ], z/ p; k! X' f' K
  752. $ _4 N: \9 a- X  z+ Q8 H
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' t2 Y+ e! ^  q# C. I; b- X+ G
  754. ; every request. PHP's default behavior is to disable this feature.% `. D* B5 K" m
  755. ;cgi.nph = 1
    . s$ z' U4 {* n' e% Z+ H/ ]& G0 b

  756. % q* m0 I& F: S8 S  H' A& C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    * o/ B3 a4 {- Z$ ?4 O) z+ l1 e
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    & E, h) R. v2 t3 N
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 b& N2 z$ x- G6 \) y, d( E
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    + y1 H* r) s8 P4 J) X* b( m* b" `
  761. ; http://php.net/cgi.redirect-status-env
    5 f3 {9 y% F5 [
  762. ;cgi.redirect_status_env =
    9 d. |, [: W! X; S$ }

  763. 4 i( s: p% U  I4 N$ y/ I
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ' T& W6 B$ x4 z( K0 S2 K
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    6 T  G' X2 [0 z( D: q" t
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % Q6 e7 ~( r3 g3 O' X
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting4 i# a' C4 i$ w# v1 ^/ p3 @! v
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts7 o8 A1 e" ?) D) C
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & K+ t4 A8 \0 d: f0 g
  770. ; http://php.net/cgi.fix-pathinfo& z0 ^9 z9 i& h( f( O) j
  771. cgi.fix_pathinfo=1! Y1 v. J6 z6 z+ D7 E

  772. ( e, L' A3 c$ O4 T1 e9 u
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    - P7 Y& [/ `' s+ i) j2 D  i' e3 e
  774. ; of the web tree and people will not be able to circumvent .htaccess security.) T6 I' \" w2 x9 E, ?/ _
  775. ; http://php.net/cgi.dicard-path
    ( `# Q: ^, w4 c  A1 n; j
  776. ;cgi.discard_path=1
    ) B4 p( C4 T/ X

  777. " w( O4 E/ ]: X: f
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* j  D$ \; w9 y3 D% a; Z+ N( e0 E
  779. ; security tokens of the calling client.  This allows IIS to define the* M# e  n6 h& O. L1 d3 L5 Y
  780. ; security context that the request runs under.  mod_fastcgi under Apache, g% c* R' r! L3 C
  781. ; does not currently support this feature (03/17/2002)
    7 J2 \( k5 M  }& Q% J- u
  782. ; Set to 1 if running under IIS.  Default is zero.4 Z4 k: B5 x! L2 L( k
  783. ; http://php.net/fastcgi.impersonate" C3 C1 w( [) k$ B
  784. ;fastcgi.impersonate = 15 Q. ?* r- a$ i! a! J

  785. 0 k6 H- D9 o, q* Z1 a
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    : X& M4 ^* F0 J4 n
  787. ; this feature.
    1 w- W" C5 |6 S: v+ _
  788. ;fastcgi.logging = 0( \* P0 i# h4 _0 r3 |

  789. * h1 \; y' l' F3 J, z9 \' x6 `
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, U" q5 c# W8 h/ ?; C
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: s4 i1 I6 I0 Q0 R5 m
  792. ; is supported by Apache. When this option is set to 1, PHP will send- `: l4 Q" _3 i: A- E
  793. ; RFC2616 compliant header.- l# h* }# r5 _9 K/ T7 i8 u5 T
  794. ; Default is zero.
    7 i, F9 `% q% L. c3 F/ P3 [
  795. ; http://php.net/cgi.rfc2616-headers7 S; t- n# [1 ]' C8 j! Y7 T' X
  796. ;cgi.rfc2616_headers = 00 m( L: @8 R2 Y- p7 d
  797. $ E. F, l2 f' S! _. h+ I$ e9 Y# w
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # M3 e& |8 n- T: M4 P9 e
  799. ; (shebang) at the top of the running script. This line might be needed if the. p' ]* c! \! n  V7 `0 t
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI+ Q; t/ s" U* ~* G. x* k
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ) I; O; G% Z+ Z! w+ X
  802. ; http://php.net/cgi.check-shebang-line# w; X; ^; o3 x6 U) O# K, S6 i& |
  803. ;cgi.check_shebang_line=1
    0 W& y! f6 J, s

  804. # _1 }$ g5 ?  m7 Y- d/ }9 \- o2 x
  805. ;;;;;;;;;;;;;;;;
    5 j! f' a5 E; |& G! s
  806. ; File Uploads ;7 t5 D2 S% d. S& y
  807. ;;;;;;;;;;;;;;;;; ^% c( @$ P* }  a( E+ n' N& i3 k
  808. ; x. T: R4 B# }! n# u' w( v0 n
  809. ; Whether to allow HTTP file uploads.
    * w, B/ M6 k) a4 m+ K
  810. ; http://php.net/file-uploads, K* f/ `: W6 b6 r2 ]
  811. file_uploads = On
    7 V1 V- m$ [1 Z2 E. N6 o( \+ _& @, c
  812. 1 J1 ~- I! x" x
  813. ; Temporary directory for HTTP uploaded files (will use system default if not: \; ?" U- }9 Z- z
  814. ; specified).
    # I2 K- S+ S( ?+ z: C, o) b
  815. ; http://php.net/upload-tmp-dir# K7 E% H# s* k
  816. ;upload_tmp_dir =. G( z1 G$ d8 C. E" ]# R: B1 [& t* H

  817. 6 g( D/ M) }( w3 x
  818. ; Maximum allowed size for uploaded files.2 {# s+ I8 {8 m" u
  819. ; http://php.net/upload-max-filesize8 y( Q6 Y# F0 s1 S
  820. upload_max_filesize = 50M; d2 N4 D- W0 ?

  821. $ ^% O* N+ v! v5 r2 Z2 l' R) E
  822. ; Maximum number of files that can be uploaded via a single request9 ]! o: I' q/ i! S+ w" J* _. @
  823. max_file_uploads = 20
    ) j# a' K, A) Z

  824. & g, p! b1 o- X
  825. ;;;;;;;;;;;;;;;;;;  X3 K7 A0 }# r. y. u' s
  826. ; Fopen wrappers ;
    9 }* Q: t) }6 z+ i7 p
  827. ;;;;;;;;;;;;;;;;;;
    ( \' t5 V( i( I

  828. 4 _; ^% K& n9 A
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.* m/ @# d- Y8 c/ L6 P" _
  830. ; http://php.net/allow-url-fopen9 d( j1 q, m" m! P1 Y( |
  831. allow_url_fopen = On
    ) [6 O3 V8 i. j' \! V* d0 G
  832. 4 s. u! \0 j. g6 J3 U- t7 Y; I: M
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ! D* }3 ]" [5 _# u5 f: H
  834. ; http://php.net/allow-url-include# ]; m" f" a8 s+ V# X
  835. allow_url_include = Off
    5 o* V! M' R: l" ~; j* B% r. v1 P

  836. 6 b* J9 w# Q# {% V5 X9 Q
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! m% `; v7 W7 A/ W; g( `1 D+ \+ R/ y
  838. ; for this is empty.
      Y) R% Q2 Y7 g' B6 m6 A+ k
  839. ; http://php.net/from
    3 \9 c, D7 M2 E; w" [$ G
  840. ;from="john@doe.com"4 L3 s! v" @5 n& F
  841. , Z2 O  E+ m' W9 c# G3 Y. z) ?# k
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    , h- |7 V' D; E& Q
  843. ; http://php.net/user-agent* n+ w6 \1 g- E" U+ @
  844. ;user_agent="PHP"8 j, Z: L3 \; P* G8 X6 j

  845. % |# R* n0 G, f& V, E% L
  846. ; Default timeout for socket based streams (seconds)
    + [, J% Z  e  a; Q8 T1 A; Z* w
  847. ; http://php.net/default-socket-timeout$ b% O7 A. Q' G) P4 Y8 `
  848. default_socket_timeout = 60
    3 c# f/ v# {: x/ N$ `
  849. ) s; d9 Q9 y* t1 M
  850. ; If your scripts have to deal with files from Macintosh systems,6 l% O. O4 K$ q) x8 u. A
  851. ; or you are running on a Mac and need to deal with files from2 Y$ D8 B& v' c& r
  852. ; unix or win32 systems, setting this flag will cause PHP to. ~. ]" q( M9 B! l4 v8 t7 y4 _2 l% v
  853. ; automatically detect the EOL character in those files so that
    4 ^# w- D5 e6 r- p
  854. ; fgets() and file() will work regardless of the source of the file.+ M2 Z  z& J/ S+ H% }, T
  855. ; http://php.net/auto-detect-line-endings6 |% ?9 s  U* `' l( k6 [
  856. ;auto_detect_line_endings = Off7 w- f  C  D6 w9 q) u
  857. ( M. f$ B% J$ ]
  858. ;;;;;;;;;;;;;;;;;;;;;;- L* @. u& ]5 N& j) x, T
  859. ; Dynamic Extensions ;6 I, D( v9 n7 R2 s3 }) {/ T# A
  860. ;;;;;;;;;;;;;;;;;;;;;;. o3 K# X9 Q, X4 p

  861. 6 A" S! Z1 r+ R
  862. ; If you wish to have an extension loaded automatically, use the following
    $ ^% G, b( T, |' Z
  863. ; syntax:% |$ x2 ]9 P& U" \7 v' N
  864. ;
    6 H2 x$ Z3 R. p1 U* V% }' [
  865. ;   extension=modulename.extension
    9 i0 i4 p# W9 K, B
  866. ;9 f& f: x: ~4 g1 A# u0 E! n; [
  867. ; For example, on Windows:
    , Z. Y0 H' ?* k
  868. ;) }- E1 e# J9 l6 N  @5 T, I
  869. ;   extension=msql.dll
    % j0 R6 V! I+ B& b4 v
  870. ;
    $ @2 T* J- u3 H' \6 X, |/ f
  871. ; ... or under UNIX:7 z! I& w" k$ z* A' @
  872. ;* T+ \  G7 N( _0 L' z, ]; j
  873. ;   extension=msql.so
    2 Y( f" g) F# {% W6 x, O8 h% v, I
  874. ;
      L' R8 m" @0 T  D% n# D% p
  875. ; ... or with a path:: _0 J% E' Y8 t/ k+ \1 j
  876. ;5 P. ^) T# s4 V9 b# O
  877. ;   extension=/path/to/extension/msql.so0 z: m$ w& H$ p1 y
  878. ;
    - N% O. _; O; u" _
  879. ; If you only provide the name of the extension, PHP will look for it in its" P5 c: h" t" \! p5 l5 a3 \/ Y
  880. ; default extension directory.; ~7 S' T( c' A, a2 P
  881. ;7 {- p  l9 E, [3 s5 e; A+ k9 T
  882. ; Windows Extensions5 I0 ~( C9 u% E9 {! V
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    , F- Y/ w) r0 E
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ; K+ x7 e; v2 {% ?4 U& X3 B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ) @0 X0 x" `0 h7 @" y0 [4 Z
  886. ; Be sure to appropriately set the extension_dir directive.
    / _6 Q9 Z0 \, C) G/ n9 n1 {) C
  887. ;
    / O: m( d9 ]- {' t) s' n3 `
  888. ;extension=php_bz2.dll
    4 g: {3 D. c7 k2 Z  A$ b( P
  889. ;extension=php_curl.dll
    . F2 s2 k  \/ g9 T- X/ ~
  890. ;extension=php_fileinfo.dll. Q# K, }" L. x$ r8 m
  891. ;extension=php_gd2.dll' B( T8 n2 g& P. ~% V( @. g% r
  892. ;extension=php_gettext.dll) U  p/ G6 i9 B. Z9 l+ h
  893. ;extension=php_gmp.dll$ m: I# @2 P7 N5 m. P
  894. ;extension=php_intl.dll
    : ~) W6 S8 e8 j2 y6 E) b7 Z2 _  _
  895. ;extension=php_imap.dll6 |0 X' j7 e( \/ ?
  896. ;extension=php_interbase.dll9 v( ~: N4 T0 X; A! C- t+ W1 {" ?
  897. ;extension=php_ldap.dll
    6 k/ e& k: r' F( \( @0 J" a3 L
  898. ;extension=php_mbstring.dll$ X3 T5 C! q. o; r" x2 q1 D
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . ?( D, G" X3 W
  900. ;extension=php_mysql.dll( R7 `& _( |" |9 t! Z
  901. ;extension=php_mysqli.dll
    2 Q  j( Q4 }2 A) {- n' s+ @# d
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client+ d/ L7 D! f4 t4 e
  903. ;extension=php_openssl.dll
    % K" R0 ^9 G6 ]6 W! X0 J
  904. ;extension=php_pdo_firebird.dll
    / ]' a7 y: ?3 I  a
  905. ;extension=php_pdo_mysql.dll. @* W( _! N! H, S9 z1 H
  906. ;extension=php_pdo_oci.dll
    4 X; O1 }  C% X+ ^9 ^  e& Y; \0 @
  907. ;extension=php_pdo_odbc.dll
    : M4 o: L- k% X, \" d
  908. ;extension=php_pdo_pgsql.dll
    ! ^  K: B, L- G$ h- H1 A
  909. ;extension=php_pdo_sqlite.dll
    9 Z" Z0 I& e4 U& K# m$ G
  910. ;extension=php_pgsql.dll
    4 f- g: t, W: q( Y: H- R  w# h; j
  911. ;extension=php_shmop.dll  ~8 G% b1 d; g: E6 m4 }' x
  912. ; M( v: [2 ~8 M* d1 k* ^1 l4 a  ^
  913. ; The MIBS data available in the PHP distribution must be installed. ! K% F" B! u' T- Z+ v
  914. ; See http://www.php.net/manual/en/snmp.installation.php - r# }3 ?# L" H/ t
  915. ;extension=php_snmp.dll" X* W: k4 I# A: [$ V

  916. 1 U' [* C5 C: O/ J
  917. ;extension=php_soap.dll8 p7 C) g* E. i4 K
  918. ;extension=php_sockets.dll: d2 l. s; y& D0 a" `: i, G
  919. ;extension=php_sqlite3.dll  y; _  n% {; L( ]+ g& l& y. O
  920. ;extension=php_sybase_ct.dll
    $ {  z$ q$ ?0 A4 k* V9 r: B
  921. ;extension=php_tidy.dll
    6 b! w1 J1 @2 S$ o# d5 f8 W
  922. ;extension=php_xmlrpc.dll( I& u9 ?1 u/ Q: t+ f# j7 ~# k
  923. ;extension=php_xsl.dll* N( l: f1 ]+ u

  924. ) d4 Y  {( o0 p
  925. ;;;;;;;;;;;;;;;;;;;/ ^8 f8 S& W0 N, j- _
  926. ; Module Settings ;. z5 E7 C+ S# J" Z9 I% [; k' H
  927. ;;;;;;;;;;;;;;;;;;;
    % E6 d6 A6 n4 Y6 T

  928. ! }' ^- {# y6 e6 D9 h2 ]0 M
  929. [CLI Server]) c6 T+ S! z! `0 H
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    - u5 {$ T& t  g
  931. cli_server.color = On
    - o3 _& A- J+ @( l

  932. 1 @2 ?2 L9 ^! I) a
  933. [Date]) P! J' D% v; R6 m
  934. ; Defines the default timezone used by the date functions  n9 r# `: g3 `5 c" a
  935. ; http://php.net/date.timezone
    % c1 K# N1 E! N% [& L1 I, Y1 {2 E
  936. date.timezone = PRC' ]# h- L! W9 n* W

  937. & z4 l9 A; `3 F7 n9 B, t
  938. ; http://php.net/date.default-latitude
    1 q  C  ]& G7 |, W  l7 Q
  939. ;date.default_latitude = 31.7667
    % Y9 o! q( p' g: L
  940. - m& }+ t; r# O! Q: @* F; a1 O
  941. ; http://php.net/date.default-longitude9 R- Y+ L8 R# x
  942. ;date.default_longitude = 35.2333
    6 H) U6 f; K. h' E' ~, X' F( q
  943. : X0 w. M7 Y4 V; L- a
  944. ; http://php.net/date.sunrise-zenith! L$ R+ ]! ]; e3 K. h: i: J( r- M
  945. ;date.sunrise_zenith = 90.583333
    / b8 L# F0 s9 G' C, r
  946. : R: e! b+ C+ }1 C- N
  947. ; http://php.net/date.sunset-zenith
    , `$ n5 P. w3 [
  948. ;date.sunset_zenith = 90.583333
    2 {" _' s+ I6 S' J
  949. ( H3 l) [% p$ {2 f' j
  950. [filter]% ?9 i9 K: x# {) `2 H2 X& [
  951. ; http://php.net/filter.default
    * D7 G8 f  Q# P4 G% u( E8 p1 X# c" w
  952. ;filter.default = unsafe_raw3 P# m. I! k" }
  953. % o% ]* k" d+ }0 \; R1 r$ w
  954. ; http://php.net/filter.default-flags* b. M6 w3 a. \  ]
  955. ;filter.default_flags =
    5 w% H" [, t/ J4 W
  956. " }  h! s+ o1 Z! K
  957. [iconv]
    7 ]3 y/ I9 B4 F
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.6 h7 v/ i5 ?1 v+ y
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.+ f4 q# F7 C) l, i& Q; w
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding+ ?* E& {  a- s* B1 p4 k
  961. ;iconv.input_encoding =
    % s/ m- V8 l5 {  q+ r% N  r1 ]% `
  962. 2 S# W4 W7 ?9 H1 U/ F
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.! W8 _0 H, ?7 @) N, u# P
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 g* G2 R3 k' u  J# Z. p
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding# j! B% E9 e& H
  966. ;iconv.internal_encoding =
    # U6 A8 j* m% Y5 M( \+ W

  967. & n+ ^: ?+ M+ `) f9 Q3 u  Z
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.  c- P% R( c7 F' w. g8 v9 u
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." I+ ~! S5 z4 w9 f: g  k, i( M6 s* \
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding/ a( r) o( z/ k/ N
  971. ; To use an output encoding conversion, iconv's output handler must be set5 v- c' L/ D0 \" J
  972. ; otherwise output encoding conversion cannot be performed.
    2 i8 v: v5 f5 p; ]& u  q1 ~
  973. ;iconv.output_encoding =$ ?1 \& o0 r0 ]7 Y& }
  974. 3 f. C  y! ~; C
  975. [intl]
    7 S1 U7 C! o1 a9 J$ k4 D4 R+ |; m! [
  976. ;intl.default_locale =) k& r3 F, d  x5 y) b
  977. ; This directive allows you to produce PHP errors when some error
    7 `6 I; x/ z6 P! Q9 i0 V
  978. ; happens within intl functions. The value is the level of the error produced.. n8 [2 d8 M7 h) Y* s5 _
  979. ; Default is 0, which does not produce any errors.* c0 w# g  a+ N2 X# B- l% B# E  X: {
  980. ;intl.error_level = E_WARNING
    ) y! x/ Z9 w! s: W, O! ?% @5 b
  981. ;intl.use_exceptions = 0
    / T2 q( T, N/ h: R

  982. / k( l* {3 d! r. K" K  D
  983. [sqlite3]1 T8 Q0 f+ y2 I! N( ^$ b, _
  984. ;sqlite3.extension_dir =
    9 i( l/ L% y7 h! x) f0 }* S

  985. 3 y5 f( `: A! ^- X& P/ b4 a+ F
  986. [Pcre]
    % N6 G) c8 o8 [% q# S3 [
  987. ;PCRE library backtracking limit., ]/ E- \# C) h' @% n
  988. ; http://php.net/pcre.backtrack-limit0 i4 Q2 J9 c$ }) {/ e4 k
  989. ;pcre.backtrack_limit=100000
      u! G* f  N/ S5 F! U2 B

  990. 4 K) g$ m9 D. ?' F4 f: P% ?
  991. ;PCRE library recursion limit.
    & V& P1 @5 v- c
  992. ;Please note that if you set this value to a high number you may consume all8 L% r# D8 j* n& L& U
  993. ;the available process stack and eventually crash PHP (due to reaching the( M, m; G7 n  n5 |. V
  994. ;stack size limit imposed by the Operating System)., }6 ~. y. w+ s1 \7 {/ e) u
  995. ; http://php.net/pcre.recursion-limit/ u5 d6 i# m( |: D# x6 q) h9 J2 o4 m
  996. ;pcre.recursion_limit=100000
    1 h6 y; z3 t1 i* U7 v/ B

  997. 3 ^: t! K  d8 v
  998. [Pdo]+ v, B5 i/ r3 j. r! i) i
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"4 e  `& A- r- k0 n* t
  1000. ; http://php.net/pdo-odbc.connection-pooling
    9 x2 Q+ S$ @. ?. [" P
  1001. ;pdo_odbc.connection_pooling=strict
    3 d! ]  g: x" G  o: H. I2 }

  1002. 2 D% e+ R5 J# t6 Y, o, g
  1003. ;pdo_odbc.db2_instance_name
    1 c0 L' Y  m" O. L+ v
  1004. # G4 S& x! ]' `: {
  1005. [Pdo_mysql]/ J; h* B& m( @& D' w3 M8 _/ G
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache( ^! B% I2 ~" u. B
  1007. ; http://php.net/pdo_mysql.cache_size
    4 x- P2 k$ K. G6 T
  1008. pdo_mysql.cache_size = 2000
    0 m* b$ I+ o# ^1 q% V

  1009. 4 P2 @' p- r# z# g" n$ y5 `. f
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + p) c6 l  \' V9 {
  1011. ; MySQL defaults.
    ; x, u: Q! Y6 H
  1012. ; http://php.net/pdo_mysql.default-socket8 c) @4 n- f3 F( U
  1013. pdo_mysql.default_socket=" J$ R5 }% h, q6 k# I

  1014. " Q/ g, H0 W% B: V# \, e6 g
  1015. [Phar]
    " A5 I. c& M* v, ?% @! D/ }+ ]
  1016. ; http://php.net/phar.readonly
    ! D4 A* o" T" F8 f2 o9 S$ `
  1017. ;phar.readonly = On
    $ r. c/ ]7 {# Q0 ]5 q5 r5 i

  1018. ! H- W9 t' Z- N# W3 k: |
  1019. ; http://php.net/phar.require-hash
    ' P: j9 f0 f. ~) q% o' L! |
  1020. ;phar.require_hash = On' d3 q9 o+ D. h) E/ i

  1021. 8 d$ ]5 K  t5 S' V! Z& x
  1022. ;phar.cache_list =
    0 q  T  l; j# O) }5 g
  1023. : ^/ Z, `# ?" V& \2 \2 _
  1024. [mail function]
    5 s2 H2 D3 d# L% }; i
  1025. ; For Win32 only.
    % A/ ^/ _$ P: I# R0 g+ S% h& j
  1026. ; http://php.net/smtp
    2 J  ]/ G) e" p+ `: t7 s2 C
  1027. SMTP = localhost2 o. ]9 d) c, \1 _
  1028. ; http://php.net/smtp-port( R6 e9 O! i) I4 E/ Q; O- F
  1029. smtp_port = 25
    : c1 H. l  g1 f# i& P
  1030. 3 y9 x; @% T) n
  1031. ; For Win32 only.. I) v; j1 i6 z  `* n9 t
  1032. ; http://php.net/sendmail-from
    5 O+ r/ |4 c, Y& H9 g0 ], @! }
  1033. ;sendmail_from = me@example.com
    4 F6 _3 I5 }. M  b9 Y$ g- Y7 [4 n

  1034. 6 o8 s3 A+ A  F. R% Q( B- x" ~/ I  i
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").$ o( t4 O+ t: \/ @3 U2 O/ `/ o
  1036. ; http://php.net/sendmail-path$ n! e" D2 Y  w! p* c) x6 f! r
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    2 z% n0 I+ u6 u  v5 V

  1038. : F0 y5 M3 o8 M" I: Z3 j1 ?% J
  1039. ; Force the addition of the specified parameters to be passed as extra parameters( ]% h1 O: v& F9 |8 }
  1040. ; to the sendmail binary. These parameters will always replace the value of
    8 _5 G1 T  _/ L
  1041. ; the 5th parameter to mail().
    * {  \: T0 V% n3 P" U
  1042. ;mail.force_extra_parameters =
    ) r5 m7 C" W4 n; f* o4 X
  1043. ) ]4 O5 q  H* R
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 ^8 z- n4 }( h. c! n
  1045. mail.add_x_header = On
    2 U6 h* P2 W. H0 O! R# n

  1046.   x& j7 x" N3 j5 U& X- e: a* o
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ! b3 I; n: ]1 Q$ N* ~
  1048. ; the full path of the script, line number, To address and headers.- ~# z. u% g# f& }4 u8 j
  1049. ;mail.log =
    ) Y  {6 C* ]4 X4 j, b
  1050. ; Log mail to syslog (Event Log on Windows).% \$ {9 \' h  s; W  ]: |* h
  1051. ;mail.log = syslog" Y7 ?2 T1 U% a7 g

  1052. - t6 ]) e( _1 r
  1053. [SQL]0 W  }) g+ d- N1 W8 W  ^& X" `
  1054. ; http://php.net/sql.safe-mode
    - s1 E+ l7 @2 s2 m9 I) D
  1055. sql.safe_mode = Off
    ' R9 l2 u$ e: N/ c( A

  1056. : m$ m8 V% `; G( n  q
  1057. [ODBC]; H7 F7 @: Y4 |$ A# M
  1058. ; http://php.net/odbc.default-db
    5 m1 O, Y. k% s3 ?1 r9 ?, e
  1059. ;odbc.default_db    =  Not yet implemented
    & p$ S1 K, X$ R/ {$ X

  1060. + `' M& K7 b2 D7 C) d
  1061. ; http://php.net/odbc.default-user
    + F: F3 F/ T, G
  1062. ;odbc.default_user  =  Not yet implemented
    9 j( H8 o4 ~8 O
  1063. : }! ~1 |/ v1 K1 a+ {' ]0 `
  1064. ; http://php.net/odbc.default-pw* R& V8 l, l0 j- C2 f. S
  1065. ;odbc.default_pw    =  Not yet implemented3 c0 ]% I* `1 h: L" V" e
  1066. + c/ G% B, v$ c1 y: a* h
  1067. ; Controls the ODBC cursor model.
    / f! k! ]6 J) M8 [# I9 r+ u/ f
  1068. ; Default: SQL_CURSOR_STATIC (default).3 R6 C- K5 {% E4 Y. _
  1069. ;odbc.default_cursortype
    8 x1 e6 Y8 B+ t# S. A! D
  1070. * s) W1 Z! P6 M' w' d6 u9 K" C
  1071. ; Allow or prevent persistent links.
    3 l- `6 ^4 e! u  n
  1072. ; http://php.net/odbc.allow-persistent4 C7 n% W9 b3 I" F" b/ T
  1073. odbc.allow_persistent = On
    / W8 p0 K% y: I; o  ?

  1074. & l! V; a( o6 a
  1075. ; Check that a connection is still valid before reuse.
    : m+ K3 L1 D2 Q, X* T
  1076. ; http://php.net/odbc.check-persistent
    ( D# j3 S/ r% t6 H
  1077. odbc.check_persistent = On! U6 E$ M; l% W4 O/ a

  1078. : M; |6 M! E; s3 O( A
  1079. ; Maximum number of persistent links.  -1 means no limit.- _' h8 @7 e7 p8 V8 F0 ]
  1080. ; http://php.net/odbc.max-persistent
    4 i! \8 k$ _# [5 l8 r
  1081. odbc.max_persistent = -1
    3 S9 k( d" f. z) X& l$ `

  1082. 6 r5 \4 n2 }' t& M/ d. W1 `; ^( t! V
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      D  k- H' |" h, ^
  1084. ; http://php.net/odbc.max-links+ E" k7 t4 N1 E2 S- G& b7 I
  1085. odbc.max_links = -18 P' R: [  G6 L$ n. ^

  1086. . @( u! P3 S! q& f; l! t
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- T* R$ R4 K# r* D8 C: G
  1088. ; passthru.. g3 E: E6 F2 s+ L6 x8 v
  1089. ; http://php.net/odbc.defaultlrl
    ; w; c6 V$ k( l' G- [
  1090. odbc.defaultlrl = 4096
    % A8 S' Q  h# M, N$ |

  1091. ( p4 ]8 {7 I* Z- a' @7 E1 E
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    / N0 n. u- ]4 o" G% g0 Q& T3 g
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ Y$ Y; X% p1 E# P$ E
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode; O  ?* Z* A; b5 }* R0 K* g
  1095. ; http://php.net/odbc.defaultbinmode
    2 _$ n0 e3 r6 a/ f, i
  1096. odbc.defaultbinmode = 1
    & c. E9 A% W9 j! J
  1097. / Q4 Q( O7 D* C" y2 d2 E+ [
  1098. ;birdstep.max_links = -1
    , T' p9 X7 B, B8 e) q* G$ E
  1099. 7 u' B  V/ h& y
  1100. [Interbase]
    $ J7 d) t$ {' h8 m- d# H$ t
  1101. ; Allow or prevent persistent links.2 G* V. x8 J- D+ U" V
  1102. ibase.allow_persistent = 1: i& P& A- V! i6 Q3 Y

  1103. / f: @" V% S( I. {% s, `- d1 q
  1104. ; Maximum number of persistent links.  -1 means no limit.# f$ a" Q9 Z; @1 V+ j
  1105. ibase.max_persistent = -1! G+ N& v6 [4 h8 d% m
  1106. + u( I9 U) t( ]0 ~1 ?
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % O! i% V6 g7 N- N9 P7 ?- w
  1108. ibase.max_links = -13 ^( o' g' }4 x$ t# r5 v+ d+ E

  1109. % N: K/ b! ~$ G  J& i
  1110. ; Default database name for ibase_connect().7 Z1 ]6 r  [1 z4 k' R0 e6 Z
  1111. ;ibase.default_db =
    " c+ M0 T  p" I, ]4 g

  1112. 9 ?. x; s3 C3 O5 m
  1113. ; Default username for ibase_connect().
    2 \( L2 @( Z- j: B  k3 U$ `
  1114. ;ibase.default_user =3 i' x2 F+ {! A! @# t6 f

  1115. . V9 Q0 D. w4 n  W( z
  1116. ; Default password for ibase_connect().) M# H( G7 y0 L  c9 Y8 X9 u3 W
  1117. ;ibase.default_password =
    / i: O, R9 ]' y- |# N. g
  1118. 3 t. f3 n) R: {6 f
  1119. ; Default charset for ibase_connect().
    % ~" Z4 o" y8 d4 m7 ^
  1120. ;ibase.default_charset =1 E6 ]$ }- `" o4 G. Z2 y
  1121. 9 j! E; a% L; H& O& E7 j
  1122. ; Default timestamp format.& x  T7 j! I5 l7 _$ I8 E
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"0 i# M3 A- j) x% M: p, f

  1124. . w& s' h# [2 y, X! ^! T# _
  1125. ; Default date format.* v/ T$ w. c* j9 V) ~
  1126. ibase.dateformat = "%Y-%m-%d"
    - }8 ~* b' |5 r" i& A* R
  1127.   U, M0 t$ V; d# G8 N1 b
  1128. ; Default time format.
    - T" a0 }# }/ x* C8 X# @7 t
  1129. ibase.timeformat = "%H:%M:%S"
    4 s4 l' B9 J3 [  L2 z' T0 c

  1130. ( j' J2 x3 n8 ?; ~5 K* F7 q
  1131. [MySQL]
    $ P8 N: u" M/ d3 s0 H0 K
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- t. m* ?7 ^: C% n8 D; R7 I( @
  1133. ; http://php.net/mysql.allow_local_infile
    / E! {9 l9 q+ o  [2 [
  1134. mysql.allow_local_infile = On
    # s0 s& d3 A6 s; D* P

  1135. 2 E% S) P8 `( X) h/ p- J% B
  1136. ; Allow or prevent persistent links.3 p" Y) S! h7 Q7 W
  1137. ; http://php.net/mysql.allow-persistent
    9 q, ^; ^" ?; c' g7 m' D
  1138. mysql.allow_persistent = On
    - u# b0 t- {0 d. Q9 i' o
  1139. - [% m4 h" W2 F7 N
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 Z/ V1 ~( d" B& v$ X
  1141. ; http://php.net/mysql.cache_size
    ) ?2 V* a4 E( ?  I
  1142. mysql.cache_size = 2000
    6 `! |8 j/ d1 ]7 Z8 {5 T; T

  1143. 9 N: _8 w6 M$ s: c; E
  1144. ; Maximum number of persistent links.  -1 means no limit.
    , f* q2 ~7 s% u$ g
  1145. ; http://php.net/mysql.max-persistent- @5 q: i* R2 [
  1146. mysql.max_persistent = -1& Z4 k% z! C9 z

  1147. & Y5 U! R* v  Z- X" T" E
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 F$ `8 \; g8 V6 R7 g* W# p% h
  1149. ; http://php.net/mysql.max-links( K4 ]& t9 I, Z
  1150. mysql.max_links = -1) d- T7 p: {9 g1 D
  1151. ) d6 A- F7 h! D2 I2 r- K
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    : v  a8 S# h: _
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 x: ~5 f( C3 Y% I
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    7 o9 _/ R! c* \
  1155. ; at MYSQL_PORT.
    , o3 |6 n" i" ?! p( B0 \* c! h
  1156. ; http://php.net/mysql.default-port
    ( G3 ^" b4 L& Z6 \* `7 a
  1157. mysql.default_port =/ y0 f6 [/ ~9 S* W, f9 V  |! K  ]0 V' A
  1158. ' n6 h# j: c% k+ ]4 O+ J
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ x9 O8 j5 O& @$ _' ]$ [
  1160. ; MySQL defaults.2 H' g# |# G' g  J' k* n  ]  X
  1161. ; http://php.net/mysql.default-socket6 W1 H+ z3 a' V6 U# ]& T: s. s
  1162. mysql.default_socket =
    $ o9 R6 |) x+ S1 ~- @% O! Y
  1163. 6 w& s) d  q# h3 `, @: a$ ~6 C
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + E% u& [' g4 l! d( u7 J
  1165. ; http://php.net/mysql.default-host" P% P+ Y$ p* S
  1166. mysql.default_host =, n5 P. |  a" |' i

  1167. 8 h1 D1 y0 n/ \* L: P
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " h7 f0 l8 `/ Q! t* m1 X
  1169. ; http://php.net/mysql.default-user
    ( M/ u, p  ?. ~8 s8 J4 G
  1170. mysql.default_user =6 E* Z% b" x: G* f

  1171. . |  F) B% J2 {4 C& Z- Z' I8 h
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).# w9 _# |' D5 n9 K! b% r
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    8 h" i! m% }+ t& I
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")7 k( C3 U: L& B3 ^7 G7 {1 a* e
  1175. ; and reveal this password!  And of course, any users with read access to this
    + }& \2 G5 g8 D) i5 r4 z! h' y' E0 |) `
  1176. ; file will be able to reveal the password as well./ T, u( i0 C! c* w# q' u4 |$ f
  1177. ; http://php.net/mysql.default-password
    3 D0 U) J: Y! m+ s
  1178. mysql.default_password =  P: L4 @/ M6 W

  1179. 1 z) m, F  C9 a' Y' i/ G
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit% W- f0 O" X# x/ l4 W
  1181. ; http://php.net/mysql.connect-timeout
    : l; }7 U1 w2 X1 L0 i# d
  1182. mysql.connect_timeout = 60( G& ^. X' K# Z/ |( }" n3 E  H
  1183. ( l5 P' h1 _+ f' h0 O+ a
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and' }- B1 [( l0 C4 B+ I
  1185. ; SQL-Errors will be displayed.
    1 A+ s/ ~3 Q. }+ ?) M6 J4 C
  1186. ; http://php.net/mysql.trace-mode4 H5 w% }4 t) k9 e2 C
  1187. mysql.trace_mode = Off
    3 ^* P; X- _& q( b1 ]6 y# X
  1188. ! W( }2 C* @) q3 b/ u8 i5 S
  1189. [MySQLi]( u; T4 {* @3 I6 n

  1190. * t* R( S! u; e% e
  1191. ; Maximum number of persistent links.  -1 means no limit., P. i; s0 k  {' G8 [
  1192. ; http://php.net/mysqli.max-persistent; E  S# N# E3 `7 k5 i  v9 ]4 r' p
  1193. mysqli.max_persistent = -1/ G5 z7 a2 u) S2 _8 ]# x1 w7 Q4 h
  1194. . v) ?) k* z* m6 V& z5 t
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    9 D6 V; t0 q6 g" B
  1196. ; http://php.net/mysqli.allow_local_infile
    $ b& R4 C9 a$ J! v4 Z; V) D  K* j
  1197. ;mysqli.allow_local_infile = On) R& ]; r; q5 c# S( [, Y, w

  1198. 6 Z. B, S- E( ~; Q
  1199. ; Allow or prevent persistent links.
    ! |! p  I; w/ t; k
  1200. ; http://php.net/mysqli.allow-persistent
    3 }& X9 G- {- x$ \2 g
  1201. mysqli.allow_persistent = On* u6 \, K0 d$ X/ f

  1202. , j9 ~) P( Y8 r0 v( {1 }+ Q
  1203. ; Maximum number of links.  -1 means no limit.
    7 o4 x- C! G$ ]7 h
  1204. ; http://php.net/mysqli.max-links+ D; `5 X% R4 ]/ M
  1205. mysqli.max_links = -1
    4 x& d/ v* _& E5 f7 z

  1206. - P) k8 e5 R! i1 s/ u1 b* i
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 v" m: ^9 m& H. \1 a
  1208. ; http://php.net/mysqli.cache_size
    ' h. l; Y8 h9 Z* h8 ?) ]
  1209. mysqli.cache_size = 2000
    0 ]9 t% C! j' p$ a

  1210. : p1 f! l6 Y, d: k. X! Z4 [
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " Y6 n7 @; j& o" L  z
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! K% F4 Q' d2 [7 G: y$ p
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ @4 j- \1 n4 m* ?
  1214. ; at MYSQL_PORT.
    1 A' q$ Q% H3 M& z* I
  1215. ; http://php.net/mysqli.default-port4 Z$ y5 ?0 f" s
  1216. mysqli.default_port = 3306: S7 A' _+ R0 j2 O

  1217. , B- b/ t% n/ ~0 u7 z9 T
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 \) ?4 Y0 v" B& y8 Q6 V. `
  1219. ; MySQL defaults.! K1 \# u4 \8 ~% b3 |
  1220. ; http://php.net/mysqli.default-socket
    ! g2 ^+ M) ~; J+ }4 J* D* P
  1221. mysqli.default_socket =! E+ S- H. w) Z# r

  1222. 5 ~( g" H  x2 G& |' G5 z
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( o" G" H7 T* y( [
  1224. ; http://php.net/mysqli.default-host( G( M" ]# k/ `6 B
  1225. mysqli.default_host =/ W2 V# U2 _6 _' s: \+ n

  1226. # b7 S0 X; U9 Y( [) d' ~
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).- _. a% P5 F2 w
  1228. ; http://php.net/mysqli.default-user
    & b4 j. z: Y" v" S
  1229. mysqli.default_user =( \/ p& ]3 z$ F5 x  x
  1230. 2 q- q8 a2 k) e7 _
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & |% Z4 F' {' c+ y
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 b3 \& d5 Y1 x9 [, n$ H
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")9 ^: s) B4 m9 Q9 L2 h$ f) ?3 {  `  }3 W
  1234. ; and reveal this password!  And of course, any users with read access to this" v6 l* m$ [/ o; [' f$ I: _
  1235. ; file will be able to reveal the password as well.' D0 L( k/ N" D0 Q: n0 o6 V) O
  1236. ; http://php.net/mysqli.default-pw* k& Y, ~& @  @
  1237. mysqli.default_pw =& _$ D9 v) S( n! \7 `' j: L
  1238. 6 G# j- G9 h6 H5 k7 `+ _+ c  I
  1239. ; Allow or prevent reconnect. p9 J% [6 \0 R$ q! w6 k
  1240. mysqli.reconnect = Off
    2 p0 p# u* r& m  W4 [7 v, C

  1241. 4 T8 s% p9 O7 Y  B
  1242. [mysqlnd]
    ) ]3 u+ p: g% C4 ^) Z' o
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be( I  H+ J% {6 G; ?" C# n
  1244. ; used to tune and monitor MySQL operations.
      o9 k" i  k% I9 _
  1245. ; http://php.net/mysqlnd.collect_statistics
      ^) |6 z6 @# F$ G$ w5 r5 @
  1246. mysqlnd.collect_statistics = On0 j) o1 W1 j! i5 g
  1247. ; Z2 V4 n. r) O) O- J/ N  u& u
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ) H9 X- _1 k2 M$ h/ y3 @+ q
  1249. ; used to tune and monitor MySQL operations.  T8 x8 F( R( A2 |, ?
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    / T. ]) K) N6 K8 s! H, g0 s
  1251. mysqlnd.collect_memory_statistics = Off1 ]$ S+ W) J0 m
  1252. + p" H( c" ?  B0 r4 o. x; H- T
  1253. ; Records communication from all extensions using mysqlnd to the specified log; x8 G, @3 z9 l, M
  1254. ; file.9 V/ a* v6 [: t- L- C( P( t
  1255. ; http://php.net/mysqlnd.debug
    0 z" a4 z. b( \7 F0 K3 Q4 g
  1256. ;mysqlnd.debug =% x( n0 q; G9 S; U
  1257. ( _* J) a& O0 f- H" f" }
  1258. ; Defines which queries will be logged.
    & w1 f4 A; U1 N1 R6 d5 N
  1259. ; http://php.net/mysqlnd.log_mask! r4 I. H: k* l
  1260. ;mysqlnd.log_mask = 0
    9 {: e  I! E$ C! E9 L# g8 ~

  1261. $ K- P; U0 [/ g4 w+ o% k0 k
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    # U5 D$ \/ P4 I# Z7 s
  1263. ; http://php.net/mysqlnd.mempool_default_size/ a2 Z9 n8 \2 K2 m8 F3 o3 u
  1264. ;mysqlnd.mempool_default_size = 160009 n( s, l6 {. J
  1265. ! |" f0 p6 |1 q2 e( k4 K
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    * x% n3 j9 p- _: x
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size; P8 g7 R; u4 N- w5 z+ b
  1268. ;mysqlnd.net_cmd_buffer_size = 2048: ^$ T3 ~( ?- ^. f$ q4 P# W

  1269. " V. l/ d# K/ A$ o4 N
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( a6 w* D- R  Z  S4 E( W
  1271. ; bytes.
    # K3 c2 K- S% @& b# |
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    0 l. l+ e6 n* h/ r* l3 o; v( t
  1273. ;mysqlnd.net_read_buffer_size = 32768
    3 p9 ?- q  _5 U# D! J

  1274. 8 ]& I# g5 a1 n0 M2 Y
  1275. ; Timeout for network requests in seconds.
    $ Y1 Z9 B! v0 y, C2 a2 ^" |" n& C
  1276. ; http://php.net/mysqlnd.net_read_timeout4 T- I" t$ @/ O8 k% _& ]
  1277. ;mysqlnd.net_read_timeout = 31536000
    $ q  A1 \+ Y, z8 i7 A

  1278. ) ^, Q6 v' q8 H
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    - I. g" x" X4 J6 y: w
  1280. ; key.- F. p( `2 V: g  @3 f4 r
  1281. ; http://php.net/mysqlnd.sha256_server_public_key' U: Z, @- t" V
  1282. ;mysqlnd.sha256_server_public_key =
    ( A2 B' Y+ I: O* D6 G

  1283. ! r: w8 s% k' U' Z- Y3 G
  1284. [OCI8]7 O1 R. {; T+ S: j. W6 Y/ e  b
  1285. ; R4 N% r( A( k" I9 d+ T
  1286. ; Connection: Enables privileged connections using external1 ]# |! ^' k+ M  z& K) ?1 |
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 k6 U2 N5 i5 J2 ~( j1 }# O: J
  1288. ; http://php.net/oci8.privileged-connect
    * v: l  \3 z. C
  1289. ;oci8.privileged_connect = Off
    * d$ a! {) ~0 d

  1290. - M; d8 H' w' ^$ c
  1291. ; Connection: The maximum number of persistent OCI8 connections per2 B' ]% @2 j+ B1 z9 S
  1292. ; process. Using -1 means no limit.3 B0 S' d3 {2 H7 y. j1 _' n: O
  1293. ; http://php.net/oci8.max-persistent& f" H/ K7 \" Z
  1294. ;oci8.max_persistent = -1- ~2 E; p& B' O' g

  1295. 5 e" f* n8 ]$ U" O5 a
  1296. ; Connection: The maximum number of seconds a process is allowed to; w( m# m) M- m+ s6 h4 N# \
  1297. ; maintain an idle persistent connection. Using -1 means idle0 r* S- S1 x' z& f
  1298. ; persistent connections will be maintained forever.' D- D# N, @8 M1 d/ `, X. k
  1299. ; http://php.net/oci8.persistent-timeout/ L0 `# }3 i+ {7 f$ W3 W8 k5 p4 R
  1300. ;oci8.persistent_timeout = -1. u' G- o% q8 P  T- k1 d

  1301. 6 V7 B& O  V5 M7 ?' d! j" H5 m
  1302. ; Connection: The number of seconds that must pass before issuing a
    & Z5 O( z9 n$ ~$ G3 }" U. @' d
  1303. ; ping during oci_pconnect() to check the connection validity. When
    , r- R8 a- U: y# }( _. k7 ]9 e
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * K* r, k# ~; @4 R* C
  1305. ; pings completely.% H  R2 j8 {( x5 M9 e: h% k* m& r* ^
  1306. ; http://php.net/oci8.ping-interval- ], I: b1 u% D4 a
  1307. ;oci8.ping_interval = 60
    : d% k6 z6 }1 p# ]1 b4 E
  1308. - C  u( ]4 ^+ a4 y
  1309. ; Connection: Set this to a user chosen connection class to be used$ l3 Z8 r5 n# h6 L7 k
  1310. ; for all pooled server requests with Oracle 11g Database Resident4 f) |6 ~7 E) ?8 s8 V5 ~4 [
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" U' O/ ^! F2 j$ e+ O/ X
  1312. ; the same string for all web servers running the same application,: v! s* ^) j# ^! W: G! l; G
  1313. ; the database pool must be configured, and the connection string must
    : Q% ?' v0 m2 }1 m3 S0 n/ q
  1314. ; specify to use a pooled server.
    $ H1 m0 Y' _4 F1 J. J  m) E& ]
  1315. ;oci8.connection_class =8 a! W/ e1 e  ]- T1 J
  1316. 2 P- _4 z& R) ]. t, d$ ]& g1 _( f4 \: ]
  1317. ; High Availability: Using On lets PHP receive Fast Application1 t4 M: l. W# f+ w
  1318. ; Notification (FAN) events generated when a database node fails. The
    5 v1 C* ^3 A; C5 A
  1319. ; database must also be configured to post FAN events.2 T7 O7 Z% U* B. ^# P
  1320. ;oci8.events = Off
      f0 K6 g7 U5 @8 d0 v0 H2 d

  1321. 2 r' M) x) H- U/ F1 @
  1322. ; Tuning: This option enables statement caching, and specifies how
    ; K& [; Z8 _" m  _
  1323. ; many statements to cache. Using 0 disables statement caching.$ i- ^' w% V3 F: R' P# a$ p5 n& p
  1324. ; http://php.net/oci8.statement-cache-size
    ! [# g% C) c2 u4 _5 ^8 _. i& A: M
  1325. ;oci8.statement_cache_size = 20
    , B( ?' p) X2 V6 i+ s3 Q7 e6 P- l

  1326. : e; O; y) Z5 g- q' \: }  u3 q0 u; R
  1327. ; Tuning: Enables statement prefetching and sets the default number of( R1 z* w# b& a" A. ]: E
  1328. ; rows that will be fetched automatically after statement execution.  |5 |- F8 ]. Y( B
  1329. ; http://php.net/oci8.default-prefetch
    ( T& t3 [! Q8 Z) }2 p
  1330. ;oci8.default_prefetch = 100
    1 R/ R- V4 M2 `/ i
  1331. * b' P! U3 b% K, R% f# q
  1332. ; Compatibility. Using On means oci_close() will not close2 p- p9 @, d. T9 x
  1333. ; oci_connect() and oci_new_connect() connections.
    ! a+ O( L/ t7 b+ C7 J8 a7 g$ d
  1334. ; http://php.net/oci8.old-oci-close-semantics' F) u  E% w5 v3 k1 t0 s
  1335. ;oci8.old_oci_close_semantics = Off9 q- u! ^9 L  i
  1336. 2 {6 T) r; e$ T' T* R2 j5 m# g8 i
  1337. [PostgreSQL]
    # f. }3 j. @4 }: N9 q' ^6 F) C
  1338. ; Allow or prevent persistent links., K- y& X7 C; E) g
  1339. ; http://php.net/pgsql.allow-persistent
    1 a4 f& q2 q; l; P8 p
  1340. pgsql.allow_persistent = On
    ' q# @6 @9 R  s: y1 E

  1341. ! B% }' V. M, g5 S0 A6 A
  1342. ; Detect broken persistent links always with pg_pconnect().. V% u) j# d0 [( O5 p: v% n
  1343. ; Auto reset feature requires a little overheads.8 ]" ^2 k. Z' c- L5 N) R
  1344. ; http://php.net/pgsql.auto-reset-persistent
      @) k# z& K* G- w3 c
  1345. pgsql.auto_reset_persistent = Off
    # B# T  R# E# z; U, z% F
  1346. 9 a2 d) p) K3 B: H- {7 I
  1347. ; Maximum number of persistent links.  -1 means no limit.
    * ?; v: h; M& w0 c: k6 {- j8 }
  1348. ; http://php.net/pgsql.max-persistent
    & i/ Z9 [* O* j# h# c9 g
  1349. pgsql.max_persistent = -1: H7 C! J) e2 Y1 _
  1350. 6 x4 Q8 m* l) k" P# `; S: G
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) L3 z: ?+ r( z8 v
  1352. ; http://php.net/pgsql.max-links9 _3 ^6 y2 P5 [0 P" v& v
  1353. pgsql.max_links = -1
    6 k0 l: ]5 _" V# D6 R
  1354. : R+ ?/ i3 L& v
  1355. ; Ignore PostgreSQL backends Notice message or not.
      {0 K7 P; p6 J; Q! b7 {
  1356. ; Notice message logging require a little overheads.
    : W6 D  V; Y$ }8 P2 ^& v
  1357. ; http://php.net/pgsql.ignore-notice
    % M0 U$ |  a: c! V1 X5 c0 \  M1 G% z  i
  1358. pgsql.ignore_notice = 0
    & l, |! g/ T$ q' |

  1359. , x5 U; ^- [" i. J
  1360. ; Log PostgreSQL backends Notice message or not.
    . g& N7 f9 w* `& B% @
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.7 y1 s$ K5 c- e( p! Z9 I' r
  1362. ; http://php.net/pgsql.log-notice# Z& y# h* `( q9 u
  1363. pgsql.log_notice = 0
    . a+ c: _2 L# N

  1364. # O1 R8 l, _5 d8 f2 p
  1365. [Sybase-CT]; q& |) ~* x3 H0 @2 u( }" C; |; W
  1366. ; Allow or prevent persistent links.
    * f/ f, G3 [0 e* z6 r
  1367. ; http://php.net/sybct.allow-persistent" x9 F8 i% X% a' c
  1368. sybct.allow_persistent = On6 E+ }( p* \0 |; w! b

  1369. ' ^  d3 i1 F8 `
  1370. ; Maximum number of persistent links.  -1 means no limit.; n) Q  h( y6 c
  1371. ; http://php.net/sybct.max-persistent# P% Z3 C. H3 c6 z% ]
  1372. sybct.max_persistent = -1
    - p% m6 j0 K1 O; d

  1373. ; u' z9 |1 \/ R: t6 h  ]. s
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! R, H& c, [) ?4 j) F. v/ j
  1375. ; http://php.net/sybct.max-links
    * l0 T/ o: F' p& z+ O
  1376. sybct.max_links = -1
    . o, Y  ]$ o! @' l8 y  k

  1377. $ c3 b  I0 O. R: H$ x9 ]
  1378. ; Minimum server message severity to display.+ l0 K% _: `! W# [" C0 c' ^
  1379. ; http://php.net/sybct.min-server-severity
    1 K' ?. F+ d. N+ r1 U4 z
  1380. sybct.min_server_severity = 10
    * C$ K# t6 L  ^# Y; `# K

  1381. ) a# _+ o: l; o4 j1 G. N
  1382. ; Minimum client message severity to display.
    3 k7 R: B' X( C
  1383. ; http://php.net/sybct.min-client-severity
    ) l! p2 o( L- F' S# k( A1 G0 Y! H6 z7 q
  1384. sybct.min_client_severity = 10* W; Q  \9 N% U

  1385. $ c; M- E$ b* `  @" Y: H& D
  1386. ; Set per-context timeout, f  a& _* z) ~; C
  1387. ; http://php.net/sybct.timeout- K* J5 I4 V" {
  1388. ;sybct.timeout=* M8 q; L- @; h# |
  1389. . \7 r* _% c9 X
  1390. ;sybct.packet_size6 g+ P$ n+ x5 n& s; h& g& ?
  1391. , ]1 {& }7 P  f( s4 O- v' p
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    1 A8 Q2 B0 i% O. D
  1393. ; Default: one minute
    5 p2 U1 m, a8 \2 H7 |# Y
  1394. ;sybct.login_timeout=
    " M% V3 q* |) ~6 d' w/ x

  1395. - P" H) I# g1 }# c$ T
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    $ I3 r. D8 ^. z* a  D
  1397. ; Default: none
    " e' Z3 L$ E. E
  1398. ;sybct.hostname=! S2 Y9 X: n8 `; D
  1399. ' X+ V# [$ P; B2 ^1 M$ I. }! ]
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    # h9 Z! S7 U! n+ Q2 D1 B! F, x
  1401. ; Default: 06 s6 K5 s" `9 y2 l4 t% U
  1402. ;sybct.deadlock_retry_count=
    9 z. [- T3 G3 d* m3 W/ v2 v- J
  1403. 8 q* ^8 ]& ~8 g8 J1 Q
  1404. [bcmath]
    + q' N7 q) K# s" [1 O
  1405. ; Number of decimal digits for all bcmath functions.
    ' h# Y& G2 R: K& `. G  e: p. y8 t
  1406. ; http://php.net/bcmath.scale' m1 @- b+ Y5 t6 v5 p; L
  1407. bcmath.scale = 04 {3 x3 H# X6 c! a
  1408. 8 Y3 D! z3 w6 d0 E/ t1 D" l
  1409. [browscap]2 Q8 L1 m" j* t
  1410. ; http://php.net/browscap, h) X8 K: y+ ~8 W
  1411. ;browscap = extra/browscap.ini
    8 f. d% C: ?9 w1 X

  1412. : K( T) T+ p5 n! m
  1413. [Session]" p3 Q# H$ Z, r  F+ x; x
  1414. ; Handler used to store/retrieve data.
    / O  \' r3 F5 m0 k9 a9 C7 e6 T
  1415. ; http://php.net/session.save-handler8 N% R1 a2 W, t% d; |
  1416. session.save_handler = files/ w0 r8 P: R7 \  P% }* c7 Q
  1417. $ {! e' G! |% J0 U0 X. K6 T
  1418. ; Argument passed to save_handler.  In the case of files, this is the path- b0 f  C5 ^, t9 w. p, Z( L* T
  1419. ; where data files are stored. Note: Windows users have to change this
    1 Z, X8 C1 p" k: O$ H/ ?
  1420. ; variable in order to use PHP's session functions.( a2 d) A( I4 Y/ u8 H9 C& q3 i
  1421. ;( B, k& s7 {$ G1 Y' Y# i+ X
  1422. ; The path can be defined as:, i; C' g0 f) K" [3 M7 V. p
  1423. ;
    " H* i7 i1 F9 k; j% ^0 Z7 r
  1424. ;     session.save_path = "N;/path"
    ; T" C* S+ X& o3 L, E# O
  1425. ;
    1 u4 \. [  x7 p3 ~' E
  1426. ; where N is an integer.  Instead of storing all the session files in+ t, G8 R& b! N/ N2 {1 v
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    - d8 E/ m; `& f# F$ w/ D" P7 q
  1428. ; store the session data in those directories.  This is useful if- n* m- j7 X* K0 U  |
  1429. ; your OS has problems with many files in one directory, and is, C& H5 L! u6 W' ]& M
  1430. ; a more efficient layout for servers that handle many sessions.! N$ ^2 Q/ l1 E4 S/ m7 m# Y+ o9 g
  1431. ;
    : ^$ r2 A1 `  W3 u
  1432. ; NOTE 1: PHP will not create this directory structure automatically.* D$ \: h% x1 l7 ^
  1433. ;         You can use the script in the ext/session dir for that purpose.
    % k0 p' y0 L3 X4 c
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    0 F0 z1 F) D* j
  1435. ;         use subdirectories for session storage" ]1 r5 h. r. F" ^. m) ?
  1436. ;6 J  E  l2 U! ]
  1437. ; The file storage module creates files using mode 600 by default.) x' V1 @' W6 S! v' W: c" v
  1438. ; You can change that by using
    0 x$ e; g& v; o& c; w) k
  1439. ;; g1 C7 Q/ F8 E. @. n
  1440. ;     session.save_path = "N;MODE;/path"
    & i2 H  I& f8 @4 s
  1441. ;
    % W% Q6 @/ f5 }! _: f
  1442. ; where MODE is the octal representation of the mode. Note that this/ Z3 d0 x) ?0 g
  1443. ; does not overwrite the process's umask.
    4 z* L8 ~* d) Q8 r2 s) y3 ~
  1444. ; http://php.net/session.save-path, _' ?, b" F* O) v  M! I" N# {7 O
  1445. ;session.save_path = "/tmp"
    , s( v! e# `* X1 ?0 q
  1446. 3 R" Q& V+ t7 z+ \
  1447. ; Whether to use strict session mode.
    , }$ `  F+ m' w) O# f# {1 j& b$ ]
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate1 S: W/ h& ], i! w
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ' `" f5 J2 d# o: g/ l" Q1 w# E
  1450. ; applications from session fixation via session adoption vulnerability. It is
    5 e' g# z9 y* c' R
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " f2 d( B5 h8 V2 V# k2 g
  1452. ; https://wiki.php.net/rfc/strict_sessions9 S* T& {" o; m/ @, \+ B1 Y2 w
  1453. session.use_strict_mode = 0
    ( v, H. U. d: ?

  1454. % j8 J0 T) \6 \
  1455. ; Whether to use cookies.7 M/ Y: v. X5 x) d$ y
  1456. ; http://php.net/session.use-cookies( l( j' b, n4 x+ H' S) J: s- b
  1457. session.use_cookies = 1
    ( A. G* ^' z4 V8 U% B
  1458. ( U% C  m. [( K, K9 m
  1459. ; http://php.net/session.cookie-secure, m& m: G+ A" p
  1460. ;session.cookie_secure =
    " ^3 _7 J1 V3 C% D& x1 j6 l* Q6 w

  1461. 9 B5 O5 U+ p4 j9 h, d, Q; M
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' W" {5 v8 a  Y7 D
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ! v0 d! P+ L9 d: `
  1464. ; session hijacking when not specifying and managing your own session id. It is
    * ]7 Z% ?. n# {" y/ f
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.- |1 y* I! p% s; ?" X& c
  1466. ; http://php.net/session.use-only-cookies
    " v3 b% A  z# n0 E7 R' j% t
  1467. session.use_only_cookies = 1( U$ V$ m1 ]% X) Y% N

  1468. , x: ?) N  i+ w4 V% X
  1469. ; Name of the session (used as cookie name)./ E2 Q, Z" \7 T* i" l& l
  1470. ; http://php.net/session.name
      f. ?( k6 P; V1 ]6 }4 Y+ G8 K
  1471. session.name = PHPSESSID; ^$ G! `- P  t8 A; L0 |$ {1 q
  1472. % {5 R( V: J+ F8 D7 ]$ o
  1473. ; Initialize session on request startup.
    4 ~6 L6 e0 B' B$ a. v" H
  1474. ; http://php.net/session.auto-start
    / U3 Y% Q  @& ]. D2 V; t. N' u* A
  1475. session.auto_start = 0) q4 A# Y2 g6 @5 s3 Q2 P9 \' z! W
  1476. 0 y2 y, T# l' x6 w7 \
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    . n: E' |* U! `" I) y1 J4 U
  1478. ; http://php.net/session.cookie-lifetime& a, r5 q+ \0 {5 v( h4 x
  1479. session.cookie_lifetime = 0
    * {# G0 m5 B0 N6 y9 Y- I
  1480. $ T6 b7 J/ B% T' w
  1481. ; The path for which the cookie is valid.
    : y( F! D7 u8 ?) w! U5 f4 J8 s
  1482. ; http://php.net/session.cookie-path1 a+ i0 u- |) T0 ^- z& N3 l
  1483. session.cookie_path = /, X$ w/ Y/ ~4 p  s" H: t6 l7 u
  1484. 2 `, r' P& _( t" A" v, L. k
  1485. ; The domain for which the cookie is valid.: F. F' v4 w, W
  1486. ; http://php.net/session.cookie-domain
    ' j' A# z7 @; d; M# C# _- L
  1487. session.cookie_domain =5 B6 F& s6 ~! S3 }- p

  1488. $ U# n) }/ T' o$ j# w0 e
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    5 ]5 Q& p& @. S8 O7 }" _
  1490. ; http://php.net/session.cookie-httponly' k* N+ c1 N, G9 {! \
  1491. session.cookie_httponly =
    - ]/ `- J- e" W6 l& u- r1 |

  1492. ' `' j. P3 w  G; v, \
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.& G9 S* ?7 l- r: h+ i
  1494. ; http://php.net/session.serialize-handler
    1 G% R% ]3 l3 C0 V
  1495. session.serialize_handler = php
    $ j' a2 g3 d( Z5 S' d8 o5 W! B

  1496. ' P! J: y9 [3 X2 {* H. \( `
  1497. ; Defines the probability that the 'garbage collection' process is started! }6 N" T* F: D1 h* o
  1498. ; on every session initialization. The probability is calculated by using
    1 W, W. L6 w# m7 ]2 J' p& D" ?. D
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 O6 e7 B* D1 {% t1 |9 j, u
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    8 u( W5 ^* c1 d# I( n8 m" S5 }
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) r5 D8 F( W; H( k$ {) P
  1502. ; the gc will run on any give request.8 i: x: p! ?  H0 w7 C
  1503. ; Default Value: 1
    7 _1 K* m3 R1 E' E9 K
  1504. ; Development Value: 1. S- V- O* X/ i
  1505. ; Production Value: 1
    - I9 M" O6 Z: c/ `- q% O
  1506. ; http://php.net/session.gc-probability
    9 f  O- _% {) A: _( W1 s  W
  1507. session.gc_probability = 1) G/ ]# `& s( t% ]0 N9 ^* D
  1508. " D+ ]# l; H% W# ?% x" A
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    9 y+ C* v0 q' L& R" g6 H, ]( k: J
  1510. ; session initialization. The probability is calculated by using the following equation:$ A" `! C1 d& Z
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 ?6 {" o% r8 ]1 S5 t  {; J# k+ `8 y
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 18 x1 m1 s. r( s; H4 e! m9 t
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 Y. k9 X% e  J& t- b5 Y
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    2 E4 K* E5 c/ `1 H' f& _
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 _: X! f/ }) X) |8 |. b
  1516. ; this is a more efficient approach.
    2 Z2 }3 P: u1 h. X
  1517. ; Default Value: 100. @9 [( e1 n) Z  `9 {( p- n
  1518. ; Development Value: 10003 g8 }4 ?) Q5 m
  1519. ; Production Value: 1000$ r) ~! q5 v7 N- F/ p
  1520. ; http://php.net/session.gc-divisor
    ' A0 S4 G1 s3 [
  1521. session.gc_divisor = 1000
    9 f, S- k% w4 f' n; C8 `# w
  1522. , @8 ^" A6 L2 J! P
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    2 ?2 D9 |1 r% k
  1524. ; cleaned up by the garbage collection process.
    ' w! x- u. i) \, [" y/ f
  1525. ; http://php.net/session.gc-maxlifetime
    6 J8 T: x, S7 m/ I" e
  1526. session.gc_maxlifetime = 1440
    " A9 S8 K* Z5 T9 ^

  1527. * p' N. f: c$ a. [
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    / G& G, V. W# [
  1529. ;       (see session.save_path above), then garbage collection does *not*
    - W5 _! s) x/ q1 y
  1530. ;       happen automatically.  You will need to do your own garbage
    ) V( G0 ?4 d. }
  1531. ;       collection through a shell script, cron entry, or some other method.
    ( y8 G% y# a0 E+ j, P
  1532. ;       For example, the following script would is the equivalent of
    ' h* P# T! _1 [; V3 V5 o4 ^5 }
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. g9 s( {1 v4 I
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    % J, S9 b: e! o; u

  1535. , k4 A5 V) p, U0 q, l
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.7 c- H7 b7 C, s/ e3 R1 Y
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    1 U  E6 N) [4 V$ a( l- \' a! N& O
  1538. ; considered as valid.: X. F1 p3 }/ r$ `2 F: j
  1539. ; http://php.net/session.referer-check
    1 Z2 C8 k) q+ ]5 c2 _9 F# z
  1540. session.referer_check =
    ) o+ h7 N( e7 F7 k* E
  1541. ) h( F8 R, e7 W1 \0 G% m( C
  1542. ; How many bytes to read from the file.! `  K8 m; u$ G4 ?& g
  1543. ; http://php.net/session.entropy-length7 ?7 d# i6 ]% [0 d# n5 T0 B
  1544. ;session.entropy_length = 32
    / n8 D& N: o  m9 H) b- f

  1545. 8 z3 {" z2 k: V# g/ x) v
  1546. ; Specified here to create the session id.) |! E# P, U5 I( A
  1547. ; http://php.net/session.entropy-file- L0 R; F; ?- O
  1548. ; Defaults to /dev/urandom
    $ o# C8 ?: h. P/ Z5 B
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom& q5 q0 C+ f8 D8 a9 h
  1550. ; If neither are found at compile time, the default is no entropy file.8 [5 s8 k! l/ {, F0 J4 L: p
  1551. ; On windows, setting the entropy_length setting will activate the
    4 S3 G. O" z3 K2 {
  1552. ; Windows random source (using the CryptoAPI)
    $ V, o% t1 P/ N; i) K
  1553. ;session.entropy_file = /dev/urandom
    4 a2 B: O- ~0 h' {* ]( `

  1554. % a! k" r% w9 e; \+ {3 t2 J6 ?
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects5 c8 ~& H2 G8 [; F) n& W3 k3 X
  1556. ; or leave this empty to avoid sending anti-caching headers.: y2 v' ?' r) O1 U4 j* L5 {
  1557. ; http://php.net/session.cache-limiter) V0 G8 H6 q. s" L
  1558. session.cache_limiter = nocache1 I. _$ A3 _9 u+ w: M
  1559. ' ]# A7 ?# V) ^
  1560. ; Document expires after n minutes.. I2 w" F3 w5 w8 \* q3 J* h
  1561. ; http://php.net/session.cache-expire/ M" J% s5 }8 E, f" G; v5 V- ]
  1562. session.cache_expire = 180
    6 G/ Z& v# U& h! `% L7 f( j( A

  1563. * U( t' o- |& Z& _, `1 g$ n4 y
  1564. ; trans sid support is disabled by default.
    0 }9 ?* P3 }9 y) p' N& D
  1565. ; Use of trans sid may risk your users' security.
    4 l' \+ |9 Y7 t$ N6 `
  1566. ; Use this option with caution.
    ( i9 S: ^- u  l
  1567. ; - User may send URL contains active session ID
    + r$ |/ u7 z% U3 S# X. ]1 D: r
  1568. ;   to other person via. email/irc/etc.
    7 I/ n0 E: P/ X6 Y
  1569. ; - URL that contains active session ID may be stored* S( r% V- p5 [% k0 g0 _5 J
  1570. ;   in publicly accessible computer.
    . g6 y" h  ~3 B
  1571. ; - User may access your site with the same session ID# K1 y  ]' A# p& L  e* B# e
  1572. ;   always using URL stored in browser's history or bookmarks.  `7 z, O# {: c6 t) ?6 ^
  1573. ; http://php.net/session.use-trans-sid2 j* G  i( |0 [0 J
  1574. session.use_trans_sid = 0" P9 T, U4 w+ b' i
  1575. 7 g/ e- Q( h& p% P: s' O
  1576. ; Select a hash function for use in generating session ids.
    ( l; T! K7 {" Z" d
  1577. ; Possible Values
    2 A3 N, l" F7 S; i
  1578. ;   0  (MD5 128 bits)
    5 [  O/ [  p9 c/ v& S8 Q+ ?5 B
  1579. ;   1  (SHA-1 160 bits), W9 m& h  @. V0 {
  1580. ; This option may also be set to the name of any hash function supported by
    1 K- s5 E8 J$ ^
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    # f3 Z1 V: G. B4 R# P; l! _
  1582. ; function., p5 d3 \& `* l( w( o* B
  1583. ; http://php.net/session.hash-function
    . P9 d+ c; i  @9 F
  1584. session.hash_function = 0/ B% |7 r7 o3 M/ u0 b) N
  1585. / M3 v( v7 f5 i: M0 C& S* I
  1586. ; Define how many bits are stored in each character when converting$ Y2 R1 }2 i. k% w5 ~
  1587. ; the binary hash data to something readable.- w% Z% T2 r- }7 a( ?$ F- W
  1588. ; Possible values:
    1 y  c& u) }# _4 o
  1589. ;   4  (4 bits: 0-9, a-f)3 B: N1 t1 f  s
  1590. ;   5  (5 bits: 0-9, a-v)* v2 t/ m( _* @+ I; M5 Q
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    5 J2 u/ ]% n( i, h4 s
  1592. ; Default Value: 4, C5 Z! d7 }  T, }; R  a
  1593. ; Development Value: 5; Y. j, J0 |  E$ o! e3 r
  1594. ; Production Value: 5
    " p# N9 @* ~+ A% q% H8 V4 U  I) {
  1595. ; http://php.net/session.hash-bits-per-character7 `! M3 q' U1 W& O# ^
  1596. session.hash_bits_per_character = 57 t, O; J7 z: l# {! E( |0 i# \

  1597. 8 v1 i; }* B. Q
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * ]/ w3 k# m7 z
  1599. ; form/fieldset are special; if you include them here, the rewriter will* E! I7 A1 z0 f  w/ x
  1600. ; add a hidden <input> field with the info which is otherwise appended5 o6 R0 I. j( Z4 K
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.7 [0 O5 S+ ~, o% s6 F0 p# R
  1602. ; Note that all valid entries require a "=", even if no value follows.
    6 h& I3 O. x8 J- ]
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! ?- o( p$ d7 h- O" F  N# g8 G
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ b+ I8 l  y+ K: j& U1 c1 Y6 U% g
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / {. }/ }. }  s; F) \
  1606. ; http://php.net/url-rewriter.tags& I' P. t6 x) |/ @$ G6 b  \
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    / \8 u) c  X! P$ n" l- u
  1608. : z4 z6 w2 s9 g+ t# ]; }' P( G+ f+ N) D
  1609. ; Enable upload progress tracking in $_SESSION
    3 t1 V1 q$ s% v! p" Q
  1610. ; Default Value: On
    + c( F3 n9 C+ v" z
  1611. ; Development Value: On
    1 w( D2 J' h) J. \; Q* d' k; y, M
  1612. ; Production Value: On: R+ R! z, B! s0 G9 r0 R" r
  1613. ; http://php.net/session.upload-progress.enabled' A2 @) S& R4 Y1 t' |' H6 F
  1614. ;session.upload_progress.enabled = On
    ' L  H" J9 L" n  s
  1615. % M5 R/ L" E5 d/ Y0 u
  1616. ; Cleanup the progress information as soon as all POST data has been read4 ~; |! K2 ~% }& z! k- Y! ]9 W6 [
  1617. ; (i.e. upload completed).
    ; i7 Y. z6 A/ v% \2 r9 s
  1618. ; Default Value: On
    7 \8 V; B+ B" a
  1619. ; Development Value: On# e. O$ s( q4 w# p, q0 X4 Q
  1620. ; Production Value: On8 c" }+ x, n! ]) N( k5 T
  1621. ; http://php.net/session.upload-progress.cleanup
    1 E5 \1 N- l0 G- V# H# ?' u* R# z
  1622. ;session.upload_progress.cleanup = On
      }' O3 z7 Q' Z4 ^5 t

  1623. 6 b0 H" J4 \# ~
  1624. ; A prefix used for the upload progress key in $_SESSION4 R( e! s) f: A- S8 M
  1625. ; Default Value: "upload_progress_"4 [: R1 _9 c& k$ T9 g  r
  1626. ; Development Value: "upload_progress_"
    + G1 G( u  y0 J# t" X
  1627. ; Production Value: "upload_progress_": \  Z5 n2 U& @
  1628. ; http://php.net/session.upload-progress.prefix
    / a& `+ ?6 _/ i9 P0 z& K3 O
  1629. ;session.upload_progress.prefix = "upload_progress_"
    . R8 H& L. m2 p4 U$ z

  1630. ! @! _" l  M. M; n/ V( t
  1631. ; The index name (concatenated with the prefix) in $_SESSION/ X! ^  x. a4 ^5 }2 Q( W
  1632. ; containing the upload progress information7 N7 X* h& J2 _. r) J7 x0 ?5 r
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", T3 k6 a+ Z1 g
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"& }; v  [7 R& [+ E3 s
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # T8 W6 f  h0 c
  1636. ; http://php.net/session.upload-progress.name
    * |; \7 d, ?2 K
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"  z7 N* G! v1 N9 l7 Z) F0 o9 ]
  1638. 7 \, v# A( _2 |3 `- z5 T
  1639. ; How frequently the upload progress should be updated.
    + f& ]* \7 E' Z% \
  1640. ; Given either in percentages (per-file), or in bytes9 U; t6 o$ W8 W% P
  1641. ; Default Value: "1%"
    + l/ Z. [9 @; r( [! d% D7 f
  1642. ; Development Value: "1%"
    1 B) P6 F8 t8 ^6 [
  1643. ; Production Value: "1%"! [7 W2 J: i3 N+ e8 q7 V! _! M' O5 P
  1644. ; http://php.net/session.upload-progress.freq
    " R! j' u8 q; J# K: h
  1645. ;session.upload_progress.freq =  "1%"
      Z; x% Y% c0 R3 U+ v( u

  1646. 1 U/ o% s( L, |' U) l6 e5 w
  1647. ; The minimum delay between updates, in seconds, |% R* [% A5 |) i  ^; |
  1648. ; Default Value: 1; m4 ^+ G( |% P1 G% z% A
  1649. ; Development Value: 17 \- {- E7 b# Q: h& T( Y; t
  1650. ; Production Value: 1
    0 U6 N( O4 P  w6 ~& q
  1651. ; http://php.net/session.upload-progress.min-freq
    4 Q  E6 t; m) j& Q% h6 V- I
  1652. ;session.upload_progress.min_freq = "1"  T1 v; d; i2 `2 z4 S

  1653. ) q( J# o! n1 |1 R% ?  b
  1654. [MSSQL]
    2 f* ?8 Y/ w" ?, z2 n6 m
  1655. ; Allow or prevent persistent links.' v% k: V( [- b) O  p
  1656. mssql.allow_persistent = On$ [7 c! K( V' S: L
  1657. / Y; h* U" U  e7 L5 d
  1658. ; Maximum number of persistent links.  -1 means no limit.
    * P  T. @" |+ |
  1659. mssql.max_persistent = -1& p* K, ^# N8 |
  1660. , X. K" o) z. ?. G3 R; `
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit., V, f* t7 ?6 [- ~( V/ f
  1662. mssql.max_links = -1
    : a3 i0 A9 Q9 y6 Q- B7 Q: r

  1663. 9 r9 S) a7 C, N; j4 s3 B
  1664. ; Minimum error severity to display.
    , @6 I- N  W+ {
  1665. mssql.min_error_severity = 10% i* M7 K6 R# ^
  1666. ) U2 ]8 H/ e. n% }$ w2 y
  1667. ; Minimum message severity to display.- d& s0 i3 `# d! _7 v
  1668. mssql.min_message_severity = 10
    ! G- {; h* Z# ^- \

  1669. 6 L, m  _, g# }3 Q- l
  1670. ; Compatibility mode with old versions of PHP 3.0.+ }/ H; k& N6 A
  1671. mssql.compatibility_mode = Off9 B# ^) g5 g* o
  1672. 4 i. T; i) Z* {; z4 @
  1673. ; Connect timeout
    & s- i, p2 ~9 W
  1674. ;mssql.connect_timeout = 57 K2 B2 D, f9 i8 r  I9 T8 T' M

  1675. / p0 Y6 B  J/ M/ f7 M8 t
  1676. ; Query timeout
    ; l  i! q* Y0 @+ x
  1677. ;mssql.timeout = 60! G4 M8 g% l' b+ l" F

  1678. # ?, ]8 h5 J; Z' e
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      W2 ?/ N- |+ M/ ?
  1680. ;mssql.textlimit = 4096
    ( r2 J6 A6 R1 S6 P6 d, O  X

  1681. 7 ?5 M" X  @; F2 Z' f0 t) i3 W! o' N
  1682. ; Valid range 0 - 2147483647.  Default = 4096./ x9 v' J" G" e  ?: c8 W
  1683. ;mssql.textsize = 4096
    . c* o3 Z) B' C) v7 |) G

  1684. * ^. e; I% @' {* W, u7 z
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.5 J; ]' f2 G* g) Y+ X- m" n. t
  1686. ;mssql.batchsize = 03 P( q9 ]$ v# v! ^
  1687. 1 o4 S) O  u4 J- \( C
  1688. ; Specify how datetime and datetim4 columns are returned
    4 Q# d4 f, G" t, Z- Z: l' \
  1689. ; On => Returns data converted to SQL server settings
    8 L$ Q/ \% G/ [
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ! U& j# Q2 Z* c" A6 b2 ^
  1691. ;mssql.datetimeconvert = On4 p+ h! e( m6 ?2 |5 v
  1692. 7 [" |4 v: C1 f! l4 ^' U
  1693. ; Use NT authentication when connecting to the server
    # X- ]+ w. p* K& _' p) t+ v
  1694. mssql.secure_connection = Off
    0 E3 v8 A. x' H2 T! P! m% v
  1695. % K; A/ r' u* z! z  u, f7 ^
  1696. ; Specify max number of processes. -1 = library default
      a' Z! ]: w3 U7 m8 {) v* w
  1697. ; msdlib defaults to 25
    : w7 q8 x* y( b" w3 Y# C
  1698. ; FreeTDS defaults to 40967 ]3 |5 }; F+ B$ n5 n; w7 k
  1699. ;mssql.max_procs = -1
    0 `% A7 P% d: C" b5 k
  1700. " A/ R5 n! A6 _
  1701. ; Specify client character set./ U8 \" \1 `7 y9 h. j- N; L6 x' P
  1702. ; If empty or not set the client charset from freetds.conf is used
    $ T/ l8 ^( l7 m! Y( D! Y
  1703. ; This is only used when compiled with FreeTDS
    ; F$ _* G* u1 n0 |; w
  1704. ;mssql.charset = "ISO-8859-1"
    % ?8 _8 D7 p1 I5 ^* M& }2 K

  1705. : W4 B+ d7 n: U
  1706. [Assertion]% d; T8 e1 \- g# ]9 C
  1707. ; Assert(expr); active by default." J; O! W$ h( m" m9 K2 P9 W
  1708. ; http://php.net/assert.active/ l$ S' _+ s8 h) w  ]
  1709. ;assert.active = On  A! m/ J2 F% c1 ?
  1710. 3 }9 B( H' D" S  Q3 D/ A8 d& E. ?& G
  1711. ; Issue a PHP warning for each failed assertion.
    ) `2 q' h, U+ e9 I8 K
  1712. ; http://php.net/assert.warning
    4 F" @- C6 M% f( i) M
  1713. ;assert.warning = On* ^4 V2 x$ h: i* N" ]% t

  1714. ! W) r0 I- V8 `7 e8 l
  1715. ; Don't bail out by default.+ o, w+ J3 B9 k% }: n7 s8 u
  1716. ; http://php.net/assert.bail
    4 Z6 V& i- u7 q6 C' R: o
  1717. ;assert.bail = Off$ u& \. H$ t1 N& b- G
  1718. " v& f) |$ G: C& ~3 W0 i
  1719. ; User-function to be called if an assertion fails.$ O4 E7 h7 P$ m, j9 U
  1720. ; http://php.net/assert.callback8 {. R1 }+ y; i: v0 K( L
  1721. ;assert.callback = 0
    8 M8 o% ^5 B4 B
  1722. ( E$ F0 V; X( S9 m. J! H+ @& o: R
  1723. ; Eval the expression with current error_reporting().  Set to true if you want1 }& J% \& }  e8 d$ P
  1724. ; error_reporting(0) around the eval().9 z% X( ]$ {2 }! z! n$ L) E! n
  1725. ; http://php.net/assert.quiet-eval
    7 |- `% k- u5 L
  1726. ;assert.quiet_eval = 02 O/ I( `0 N2 d% `2 w0 M

  1727. 8 e. N7 k! M, P# m
  1728. [COM]
    % v9 |3 d( t1 |) ^
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    & b0 J: ?1 {6 }! Y+ r$ c
  1730. ; http://php.net/com.typelib-file, h1 ~. ]5 n4 ]
  1731. ;com.typelib_file =$ S" h. i" y' H" Q7 C! E
  1732. . L, p4 Q- ?, u8 E, s8 s7 Q
  1733. ; allow Distributed-COM calls
    + R$ B. M( Z1 C( n9 e
  1734. ; http://php.net/com.allow-dcom
    ; z. n3 h9 W* S8 \# S2 G7 w
  1735. ;com.allow_dcom = true
    & L. l# ~1 a) h; |2 G0 Q

  1736. - v0 N7 ]1 x5 A4 W/ W$ H: D
  1737. ; autoregister constants of a components typlib on com_load(): v# O$ L: S  ^2 L) G# }
  1738. ; http://php.net/com.autoregister-typelib! ?( ]& h! b/ }, \
  1739. ;com.autoregister_typelib = true
    ' q( G) Q3 ?4 D0 I5 [9 D

  1740. ; S: e+ a1 w6 C1 e" j- {
  1741. ; register constants casesensitive
    % F* Z" z8 P+ I6 r
  1742. ; http://php.net/com.autoregister-casesensitive9 c: ]4 H3 r+ ]* g' }# `( F$ `0 V
  1743. ;com.autoregister_casesensitive = false8 p1 O7 D$ Q  ?5 B7 Q$ u; Z. s
  1744. ' F' {4 J6 C& y" r( h3 M
  1745. ; show warnings on duplicate constant registrations
    ' U! q. E% z' s; w
  1746. ; http://php.net/com.autoregister-verbose
    7 s' P6 u1 F8 G! b1 w% }
  1747. ;com.autoregister_verbose = true0 r5 O- N% W, Q& A, L* {4 }$ B
  1748. 2 s' E+ L) V/ n  J
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ' g2 t7 T% E% c* o
  1750. ; Default: system ANSI code page  Z* e) y" X1 f5 W) Q
  1751. ;com.code_page=
    4 S( p6 Q" C- Y

  1752. / C3 p( {' P7 N6 h. p
  1753. [mbstring]# o/ [' P3 ]( _. `
  1754. ; language for internal character representation.
    9 T. a  o- u. f+ x7 B
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    , T2 w* r. j7 n9 Q+ N9 m
  1756. ; http://php.net/mbstring.language
    * V2 P) I0 c6 X
  1757. ;mbstring.language = Japanese3 x. x% A5 c9 P) C$ D& n. A7 L' L" o! O

  1758. 2 c7 P8 [, U! X% X% I
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 r' g# v8 q# j/ M9 B. l, X% {
  1760. ; internal/script encoding.1 N3 ~" z7 [4 Y9 F$ y! b" f. K
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    0 p+ n9 Q5 j9 `1 b" q
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; H) L4 L( S1 x9 l) r- S
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 L( Z% t( A5 e+ X/ E
  1764. ;mbstring.internal_encoding =3 }+ m5 I2 \( ~5 Y" r/ }
  1765. ( F. K; r, ?; S# Y  R, s0 R' J! }
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) D3 ~# F7 [2 b/ V
  1767. ; http input encoding.
      O7 D* r% R. q; V% e
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.1 C5 A3 z: U0 r# I
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.1 y0 Z. Y; L; }& }8 D6 i4 o8 j
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input3 S0 m1 o/ k1 E# s- k; j: S- `* C
  1771. ; http://php.net/mbstring.http-input
    5 Z, C2 O- u) B/ c
  1772. ;mbstring.http_input =: S. X  U& s: d

  1773. # c. H1 i( c5 \  J- t/ D
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % y# d" A6 A% D( I+ U) a% z6 i
  1775. ; http output encoding.' E( m8 [9 I; [5 U2 c
  1776. ; mb_output_handler must be registered as output buffer to function.
    7 T5 H5 o: C/ l5 F. ]
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 c+ M* V+ l' A" ?/ r: M
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output) l" C: f. j! {( j8 z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set8 `7 ~( `3 X/ t+ G$ h7 X) u# b
  1780. ; otherwise output encoding conversion cannot be performed.2 Q( x7 k# l, G
  1781. ; http://php.net/mbstring.http-output3 t8 s$ P/ G/ K5 }) N" @/ T5 N
  1782. ;mbstring.http_output =
    $ h3 b# T. @4 A1 v  S( \2 K

  1783. " \4 o+ p% F- ]
  1784. ; enable automatic encoding translation according to$ Y. ^7 ^3 R* Q; f- P& g
  1785. ; mbstring.internal_encoding setting. Input chars are
    3 j# E( T% t& l5 N5 Q: x
  1786. ; converted to internal encoding by setting this to On.
    ' H& q. c% R5 v9 [8 K6 }! T3 B
  1787. ; Note: Do _not_ use automatic encoding translation for
    # `, Q) d+ u1 l% [; G& ?
  1788. ;       portable libs/applications.
    5 v. d1 Y  n, Y* Y" d8 i) Y
  1789. ; http://php.net/mbstring.encoding-translation
    : [9 x: N  {6 N! [: Q
  1790. ;mbstring.encoding_translation = Off- s) R, {! T1 ~3 G
  1791. 1 K% A9 a# q! l3 N
  1792. ; automatic encoding detection order.
    ' }. y% |2 \6 L7 ?7 C" T  `8 y
  1793. ; "auto" detect order is changed according to mbstring.language
    6 X+ ~8 A+ g7 f% V* Z
  1794. ; http://php.net/mbstring.detect-order
    5 O/ W& ]2 Z6 B3 B" c& z' I
  1795. ;mbstring.detect_order = auto
    & h% h9 e& H1 ?9 A. W. p- i
  1796. 3 H9 H# n% f3 R0 d2 r
  1797. ; substitute_character used when character cannot be converted4 ]" h. z# S; P* p1 {! Y
  1798. ; one from another% Y# O  N4 x' R$ b4 C
  1799. ; http://php.net/mbstring.substitute-character# w: f- ]) @6 r
  1800. ;mbstring.substitute_character = none0 ^4 I. w" _- F& b, O1 r
  1801. , e3 T# ]1 {4 o, y; ?
  1802. ; overload(replace) single byte functions by mbstring functions.; G; N& ^/ a/ N' g
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),* @6 C( s2 E2 v
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.& J5 C; O7 z1 j' x. a. _8 m. S
  1805. ; For example, 7 for overload everything.! {1 O  B! A- U: n; T9 o+ m# w( e4 i$ {
  1806. ; 0: No overload
    # x/ ?. _" m+ @" T. l  V, w! i3 X% k
  1807. ; 1: Overload mail() function) u# P5 |7 k! J5 a" p
  1808. ; 2: Overload str*() functions  s2 Z3 S7 `( n! h4 n  w3 g+ M0 F
  1809. ; 4: Overload ereg*() functions. J8 v, ^, [1 f% `, b! W4 B, @
  1810. ; http://php.net/mbstring.func-overload7 j# f& I. l' `4 a- h! y; B
  1811. ;mbstring.func_overload = 0, q9 ?; b' ?: g+ Z$ t

  1812. , t; Z' R& V5 `
  1813. ; enable strict encoding detection.: _+ Z7 `4 w! F
  1814. ; Default: Off
    * x2 U# M3 P% r( ]7 D0 q
  1815. ;mbstring.strict_detection = On. a6 \* B9 H% h2 Y2 m

  1816. * `- b' K$ H6 y/ V0 u$ S5 V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()$ J. \5 `# J3 Z, r0 W
  1818. ; is activated.& a/ Z8 d5 C  _
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 L3 i$ G! Z. ]  s
  1820. ;mbstring.http_output_conv_mimetype=
    + |* r- B, e+ z0 l; W2 M2 h) C
  1821. ) M+ C: `1 L/ ?
  1822. [gd]3 C; }4 \2 u1 _
  1823. ; Tell the jpeg decode to ignore warnings and try to create/ v* [& }6 A, {2 P
  1824. ; a gd image. The warning will then be displayed as notices
    8 m% @- m* z( a, c( c
  1825. ; disabled by default% v$ H) |& T% j; l
  1826. ; http://php.net/gd.jpeg-ignore-warning
    0 q+ e* T& t1 }+ H% h
  1827. ;gd.jpeg_ignore_warning = 0
    5 y4 U  y2 W" y" u# \
  1828. " q( I/ X# B: B1 M+ c
  1829. [exif]5 V7 V% N+ D) F/ r; x
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; Z! P) m% s! A6 U/ L2 R1 v' q
  1831. ; With mbstring support this will automatically be converted into the encoding
    % I; g- a: G3 i5 J& B$ q# t4 H; N) I
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding/ r3 \% q& [/ ~( p
  1833. ; is used. For the decode settings you can distinguish between motorola and, n* Q# R" p! w# v( {) h
  1834. ; intel byte order. A decode setting cannot be empty.$ j1 ~! O7 M  u; }* B2 O/ F$ q" S
  1835. ; http://php.net/exif.encode-unicode9 D: o6 v0 w( Z( @5 }
  1836. ;exif.encode_unicode = ISO-8859-15& ]8 f0 g, ?+ S' I9 T+ ?: B4 D
  1837. 3 q, D% h% x4 w
  1838. ; http://php.net/exif.decode-unicode-motorola% u% O3 G+ i4 I* a. L1 r
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    9 L3 a* W7 |) \1 e4 j6 e
  1840. 0 C  u# O; ^1 f6 u5 V7 o
  1841. ; http://php.net/exif.decode-unicode-intel0 G1 x6 M: Y8 K: l" S6 z
  1842. ;exif.decode_unicode_intel    = UCS-2LE; d& m4 l, f/ z5 r- V. ~3 I/ C+ S- E/ @

  1843. 3 x; }& ~' u* g( n. I
  1844. ; http://php.net/exif.encode-jis
    6 [3 H2 `4 k+ R% @+ a* V/ F
  1845. ;exif.encode_jis =( {. g- H9 B6 E7 U

  1846. 6 U) W1 l3 L6 |2 _' k0 Y
  1847. ; http://php.net/exif.decode-jis-motorola9 C" G* w, X3 Z4 x' t$ H
  1848. ;exif.decode_jis_motorola = JIS
    ) n% n  a1 U# Q% r! m' f

  1849. 0 \5 W; t5 q8 r' }
  1850. ; http://php.net/exif.decode-jis-intel
    - M. v' j/ q: w
  1851. ;exif.decode_jis_intel    = JIS
    * X! |+ R, e0 P( s# ?; Z

  1852. $ X, R6 @/ W. {. N0 p9 G& ]
  1853. [Tidy]
    & u2 o4 t4 S' Y: b* v& b) o7 T1 v7 Q( O
  1854. ; The path to a default tidy configuration file to use when using tidy) Y* T6 t. m) k, R
  1855. ; http://php.net/tidy.default-config  m. x- n- z8 a
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    : C+ b; Y, b! s
  1857. 0 W  [# X: K/ M
  1858. ; Should tidy clean and repair output automatically?
    * w& m0 N* a5 a; A
  1859. ; WARNING: Do not use this option if you are generating non-html content
    * o4 U7 y) r- v; B& E: z$ \
  1860. ; such as dynamic images4 e6 \- V5 D( W6 M  J
  1861. ; http://php.net/tidy.clean-output
    + |. A% c' Q) s/ B
  1862. tidy.clean_output = Off0 D: q. D1 I4 L3 b+ {# h7 A

  1863. 2 r1 d5 D  m3 r) C5 g; S
  1864. [soap]
    $ v3 I7 K  U  r/ B3 }
  1865. ; Enables or disables WSDL caching feature.
    ' f( \9 t( t: s5 L; b" m
  1866. ; http://php.net/soap.wsdl-cache-enabled
    . X% \9 Q% G5 b3 F
  1867. soap.wsdl_cache_enabled=1" S6 `0 J5 g. \! k: S8 c6 }
  1868. - {" |0 L0 y2 a5 h
  1869. ; Sets the directory name where SOAP extension will put cache files.9 o! P. y% }  D# g
  1870. ; http://php.net/soap.wsdl-cache-dir- U% M+ D6 V1 I( n
  1871. soap.wsdl_cache_dir="/tmp"
    ( A/ J! K# ^# P' I
  1872. ; K  ]# X9 w8 W, g+ y8 G% h
  1873. ; (time to live) Sets the number of second while cached file will be used
    % S7 N! ?( w8 [4 y5 o
  1874. ; instead of original one.: [( J& N# y/ j
  1875. ; http://php.net/soap.wsdl-cache-ttl" N! b9 S0 K) o! k& \
  1876. soap.wsdl_cache_ttl=86400
    4 _9 v  n. F+ N; I' d

  1877. 4 N- `8 k  b0 G9 m* Y
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) C. f: N- w/ N, R9 H  q
  1879. soap.wsdl_cache_limit = 5/ b5 R7 z+ w, a) f) x$ @# M
  1880. + P: u# Z' v0 e5 v
  1881. [sysvshm]
    ! c  o' Q) F/ C2 g) i
  1882. ; A default size of the shared memory segment
    0 F3 `- R2 ~- n8 ?- ?
  1883. ;sysvshm.init_mem = 10000
    $ _3 s' ^# K8 b. G$ I

  1884. ; p! o* y# s. {
  1885. [ldap]* l1 K% J1 ?0 W: \. C/ K- F" ^
  1886. ; Sets the maximum number of open links or -1 for unlimited.  T/ c: u4 n2 a4 r
  1887. ldap.max_links = -1
    9 G- x! p. O/ _  F
  1888. 5 \% d2 [, @0 L" z# z7 V
  1889. [mcrypt]) r/ C- E  K+ e  f* r% N  s' U
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open, Y; `& l" Q2 ~3 [1 y' \, ]$ w; `( \

  1891. # g* `7 Q/ R9 Y2 U! U+ l3 O
  1892. ; Directory where to load mcrypt algorithms
    " d: e5 T+ f& o  m- A
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' W9 ?0 i" h3 V$ k: J' P
  1894. ;mcrypt.algorithms_dir=7 ^8 o  V1 X3 e- V

  1895. - |+ s, _) w: _0 i- W
  1896. ; Directory where to load mcrypt modes
    + |" G0 O" S) b/ v# s
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 f2 a# n% o$ v1 n$ d
  1898. ;mcrypt.modes_dir=
    0 ~4 X1 c  G5 a8 K

  1899. 4 T/ u" R9 c' m6 J+ x- \$ f
  1900. [dba]
    - b4 Y. O9 Q, b0 Q( p4 ]* \0 {
  1901. ;dba.default_handler=& W9 d9 n* \! F, }

  1902. 8 I4 j' c5 |+ S
  1903. [opcache]
    0 [/ n- }# C% K- h
  1904. ; Determines if Zend OPCache is enabled
    4 e4 k1 u! T% F5 v
  1905. ;opcache.enable=0- m- ]  M" }: Z( ?: B
  1906. % ?, X" N) }2 G( e% H
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    3 r$ o" n1 K! `
  1908. ;opcache.enable_cli=0
    - M# j6 d8 q; f9 }+ Q' j
  1909. & f# K; I; O& L+ j/ k
  1910. ; The OPcache shared memory storage size./ g+ ~% }4 N4 N# F
  1911. ;opcache.memory_consumption=646 Z4 O7 p& W& p) l1 y: U4 k% ~

  1912. ' w$ X) [6 Z" O' g0 k7 W. [
  1913. ; The amount of memory for interned strings in Mbytes.
    0 S8 [8 Z1 y! P& V0 n5 }7 v
  1914. ;opcache.interned_strings_buffer=4  @, W5 J6 j" I  z

  1915. # S( w, ?6 T! R6 s* `; A$ m
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.6 R6 q' p* j) D! H0 I: x' [
  1917. ; Only numbers between 200 and 100000 are allowed.
    2 m$ b5 D7 T, b- Y+ N6 f! P  _* h
  1918. ;opcache.max_accelerated_files=2000/ k. c8 o0 g) j

  1919. 2 D* d( Z8 y& r4 h4 K
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # f6 _( t; Y; b8 n- t
  1921. ;opcache.max_wasted_percentage=54 [" t6 C9 J' C1 l" {5 A

  1922. : F1 ^( Y& Q7 j
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 }7 E# i0 J9 W- A/ e
  1924. ; directory to the script key, thus eliminating possible collisions between
    : n& h5 {8 H' v# [1 }9 [
  1925. ; files with the same name (basename). Disabling the directive improves( I8 ?1 w1 R9 |9 n! d3 n
  1926. ; performance, but may break existing applications.% {( D. K0 H2 G. l
  1927. ;opcache.use_cwd=14 A  @# L9 N$ U4 G" ]: ?

  1928. & [. N- E! X1 t6 q9 B- K
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ! @/ x2 j$ P0 Z: s3 G; m' }
  1930. ; webserver for changes to the filesystem to take effect.
    5 w' D+ a+ i5 R5 W2 y# V
  1931. ;opcache.validate_timestamps=12 w1 t" v/ j6 }% L
  1932. . t- e6 w# a* \# j, e: Y7 @
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    & m; M) Q. h) P7 b9 k1 c
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    5 n: L# [; P5 A" z; ~
  1935. ; once per request. "0" means always validate)+ x7 G$ l1 ^/ R4 y
  1936. ;opcache.revalidate_freq=2" \0 e' z1 ^, [
  1937. # c5 I8 [- A8 L  l7 _
  1938. ; Enables or disables file search in include_path optimization
    7 I$ n( o" @# B6 w* V: l. L2 j
  1939. ;opcache.revalidate_path=07 V2 e, I- A0 C' L

  1940. $ n8 M' g. Y& o
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# _! T- z  O" W& U  k7 L0 x
  1942. ; size of the optimized code.4 q/ R& U3 R) F% j* X7 C0 a
  1943. ;opcache.save_comments=14 f( i0 p/ @0 y. p- s2 Z
  1944. , F" J! G, }2 I& |4 n: U: U
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ( D) u' B! k3 t. c% T$ M2 z5 @/ ]
  1946. ; may be always stored (save_comments=1), but not loaded by applications& A; j5 c  k5 X& ?' r$ [
  1947. ; that don't need them anyway.
    : v& x% t3 @5 c8 j% ^/ W: K3 Z+ f% ^
  1948. ;opcache.load_comments=1
    # Z" N* }  v6 t/ U. y& L

  1949. $ h5 A! x; K$ u$ {& k
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code' Y- p4 G* Z) K6 k' q( l) \7 z
  1951. ;opcache.fast_shutdown=0
    ) `# c! D2 U, K( `3 \! p0 {6 }$ l

  1952. " y. @3 {; N; |' b1 X8 K( R: V
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    4 _. b6 m( X8 I! `+ Q% g
  1954. ;opcache.enable_file_override=0; G, h4 b0 [8 P& ^0 |* K8 R% B
  1955. " Q; i. R$ L) }9 I) H2 |" w9 P+ w
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 f' b8 [3 V1 K) @8 q8 {+ l) o
  1957. ; passes( z5 g8 t8 W# U8 ^! W
  1958. ;opcache.optimization_level=0xffffffff
    ( t5 O; n1 E7 i+ `3 j
  1959. 3 A  v3 B) K. o! w; c# O, K% T. N/ B
  1960. ;opcache.inherited_hack=1
    ( G4 P6 o) w) L2 W. z
  1961. ;opcache.dups_fix=0
    2 h7 X6 k$ P% y+ n- [6 I: c# Y7 v

  1962. # b  A+ s3 ~1 H1 k
  1963. ; The location of the OPcache blacklist file (wildcards allowed).* g/ |+ s/ w0 B( P6 e- x
  1964. ; Each OPcache blacklist file is a text file that holds the names of files# [' A$ _# \! H: J3 I" m
  1965. ; that should not be accelerated. The file format is to add each filename
    1 ?5 n; V. t2 X7 {+ X- l* f  ?8 {
  1966. ; to a new line. The filename may be a full path or just a file prefix
    2 R/ B0 d4 t% j/ ?, M6 I* S% g
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www4 b9 Q5 p( e5 ~0 L! q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! o" b/ m5 \3 [5 I( q3 b) |. C; \1 D
  1969. ;opcache.blacklist_filename=
    0 ?; z: c8 x2 ^, C8 z
  1970. & U' d. y! `3 g/ }8 {0 t
  1971. ; Allows exclusion of large files from being cached. By default all files
    , W# C  q) n# j: f! t4 p. M
  1972. ; are cached.  `+ m. P5 S/ S5 f
  1973. ;opcache.max_file_size=0& s9 ^6 s$ \9 `

  1974. % I7 D, ]: p( B, X7 |0 a: z
  1975. ; Check the cache checksum each N requests.
    ! x' N1 a* g5 F- M# J$ B
  1976. ; The default value of "0" means that the checks are disabled.
    * P$ @( z* h& k" m: ]
  1977. ;opcache.consistency_checks=0
    % \9 [% e. Z# K, V
  1978. & T- A/ s7 L$ q4 v/ Y1 y
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache1 F  O+ m  E% ?# l9 _' x
  1980. ; is not being accessed.8 B- o+ s4 f9 M) I
  1981. ;opcache.force_restart_timeout=180
    1 F' }: Q- n& k. G1 e
  1982. 2 {  W  h& x& X. U1 M3 h, f- P
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    - q* ]/ @6 x' ^" E, w# h) K) n
  1984. ;opcache.error_log=3 _! V$ @/ u  U5 \- P$ N! n8 c

  1985. 0 O* ]' }6 U4 ^2 E
  1986. ; All OPcache errors go to the Web server log." t, Y$ A$ U+ |
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.  P  {8 P3 c; b6 z5 u
  1988. ; You can also enable warnings (level 2), info messages (level 3) or) H/ K; y0 \( u9 _0 q, S
  1989. ; debug messages (level 4).  k) m5 R7 _4 L& {! _
  1990. ;opcache.log_verbosity_level=1" r* p) Z% M' B* m% E  G8 Z

  1991. * L; B$ U3 |1 ~! T3 O. ]/ I) Z
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.4 D7 s9 ?/ J5 P. Q
  1993. ;opcache.preferred_memory_model=0 {6 |) k- O( D0 |: x9 O; y% C
  1994. 7 W$ H. x7 q2 [+ |9 G# M% }3 }" Q* o, V
  1995. ; Protect the shared memory from unexpected writing during script execution.5 A  N7 N/ W9 K: {1 j" |* W
  1996. ; Useful for internal debugging only.
    9 Z* p7 r& n* `! Q( f- E* g, g
  1997. ;opcache.protect_memory=0
    ' s  F7 I1 N( s6 `3 P9 ^

  1998. ' U5 w- _. K& ]
  1999. ; Validate cached file permissions.
    ) H( d3 J4 o6 K& p' F, Y0 R
  2000. ; opcache.validate_permission=0
    % p0 j6 k* t) m: J7 m- k0 o

  2001. . g9 K3 r! B  i
  2002. ; Prevent name collisions in chroot'ed environment.
      u  U5 y4 i0 c8 R& P
  2003. ; opcache.validate_root=0) _+ o5 C; ~/ l( O) o( I; d7 Y

  2004. 8 p" y  Z  i; C; Y" g/ P/ q2 d
  2005. [curl]
    $ G. |7 t: {# w2 U1 q3 I. V
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 k& h- e( z6 t1 c- F, X4 K( J
  2007. ; absolute path.8 C) _5 Z% f3 K( P4 P1 \* e# r
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt/ @& N& z9 i, }6 Q+ x+ X
  2009. & H5 S4 s) n+ W' ?4 B' Q
  2010. [openssl]3 f! S6 C: x% R' L- {
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    + e8 ~9 k! r' r* z! }$ K2 g
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # J. P/ W: a7 P
  2013. ; not specify a value for this directive as PHP will attempt to use the. F4 `. i" `( ^. G3 s+ g" j
  2014. ; OS-managed cert stores in its absence. If specified, this value may still( O5 ?4 R. ]  t* F
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    $ }; o6 M1 @1 J) W
  2016. ; option.) T7 A' I& d. ^( `$ x
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* {  H: E. y+ `) J
  2018. / z8 F/ f1 q/ s2 H* v2 |
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ! _, a; z4 ~3 H7 T5 V8 b" ]- v
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    2 u% f0 V: Y$ C- d3 U
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    8 L2 v$ v) z* e
  2022. ; Most users should not specify a value for this directive as PHP will: z0 c0 s- P5 I1 T2 i
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,; M5 G/ i. q6 B; i+ ?- f' b1 f
  2024. ; this value may still be overridden on a per-stream basis via the "capath"$ ?- b- `+ L  V4 t
  2025. ; SSL stream context option.; L5 ]& {5 |; X! D4 @
  2026. ;openssl.capath=
    4 |! S. D# p1 q3 b! L" x
  2027. - D- }- W4 S  q# u/ V
  2028. ; Local Variables:, S1 Q; T4 [8 M# F5 h
  2029. ; tab-width: 4
    " w; _- x, p7 w% A8 r2 f
  2030. ; End:2 e9 F' ?; |8 I; [0 j

  2031. 7 v/ C* ~0 R% ^- r$ f& s
  2032. ;eaccelerator
    . U6 u% G( N: `3 q
  2033. $ h( S% v3 h8 [8 o, l0 O
  2034. ;ionCube+ Q+ B$ O  _& E! d6 A

  2035. 6 ~" ~: C+ k: F0 F5 X, P1 p* O
  2036. ;opcache
    * {& s* h( C" m. k) |
  2037. # B; h* X' ?; u) H9 o) O: u
  2038. [Zend ZendGuard Loader]  _" f$ Z- ~; g. E
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    # G# t- `% Q' V% y+ w: N3 \
  2040. zend_loader.enable=19 ^. Y4 \0 O  O2 S0 [# M8 M  I9 _
  2041. zend_loader.disable_licensing=07 {" I( I. C& l: T+ r- l- g
  2042. zend_loader.obfuscation_level_support=3
    $ L2 ]7 u% E5 c+ v) b" T8 ~
  2043. zend_loader.license_path=
    0 D- z/ S8 j- [

  2044. * {3 ^% S5 o: c9 r" |
  2045. ;xcache
    9 {  s6 W3 j# [% Y) s* u

  2046.   k6 V1 Y+ \4 {- w9 x* P/ d
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146921 H* @$ ]; V0 f, M* A4 {$ \
" C  M8 x5 W# Y: j' l2 ^

$ S4 n" O! G$ b( ?" t0 ^Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,+ ]% x+ q' u+ Q* C
8 _/ C* |% l2 A
Discuz!程序版本选择:& b- e3 n+ I4 s" j- A' l
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
. Q, l3 ^9 ], i! C. z$ M% R不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ E& J! ~) l: [+ t- Z9 [
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。: I9 ~' B! Q& F0 l7 i$ w# _
+ ]7 X" j# X/ d3 |4 ^
Discuz!插件模板版本选择:
' M3 U* R6 s0 ]& u' {% s- N很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
: {( [5 Z$ @: |针对这个问题做个统一的普及:, R, \. G$ B: u/ [
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
5 [" V! E0 j' y) R3 F- h9 ]
  M* z: g# Q7 [6 B6 s9 G! ^8 ~所以7 w0 J4 s, q( Q& Z- e6 q! x' }8 L
适合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的二级域名。
- X6 |) |) O5 I6 j0 Y( t4 f打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
, I- `: j% k  P! {注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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