分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0) W+ a  ^/ b: k3 I  N
( U2 W& a" Y" \
  1. [PHP]
    6 F- m  L9 n' l$ U  I0 I

  2. ; X% W' D8 f( A9 e
  3. ;;;;;;;;;;;;;;;;;;;9 G0 s/ p5 e# Z$ v
  4. ; About php.ini   ;7 m$ }+ C/ g. c( B4 F
  5. ;;;;;;;;;;;;;;;;;;;0 }, K, y# A1 t* i+ h8 r! M  k
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    1 {7 L8 ]: J; z' \
  7. ; configuring many of the aspects of PHP's behavior.
    + V* F& I  L9 v8 P- X2 g# P
  8. ' p8 j6 m6 ~" I
  9. ; PHP attempts to find and load this configuration from a number of locations.: U% [: s0 C8 K; q1 h" S
  10. ; The following is a summary of its search order:
    9 @' J& {: b3 Z8 l- m
  11. ; 1. SAPI module specific location.# n8 G; ?! L. O* ?7 |
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& V& J$ s+ K5 s( E" s' A$ h0 K
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0): X6 s7 x1 N" `
  14. ; 4. Current working directory (except CLI)
    3 A9 K1 c, S; }* t( S
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # m6 ?( w, ^2 `/ u$ o
  16. ; (otherwise in Windows)
    0 l. C, ^4 S. y$ q2 I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the# ^. R0 d  x* j. e* ?- D1 ]5 A
  18. ; Windows directory (C:\windows or C:\winnt)
    " w5 T' L1 {+ m+ Z
  19. ; See the PHP docs for more specific information.
    - M, p% W, `2 l8 {
  20. ; http://php.net/configuration.file
    $ t* d) ^6 D% p6 b

  21. : i+ j: ]' u# z& d
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    9 `7 x$ x6 z0 }" v
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; l" ~# e! X; C
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ A& S. ?8 C* G6 U# i+ }
  25. ; they might mean something in the future.8 X& P; s' T7 q

  26. & U( J8 a1 T5 H5 ~# a
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 H7 _% a2 Q* a, M4 L- P
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) D- |8 Y: I/ k  r8 \
  29. ; following the section heading [HOST=www.example.com] only apply to0 p' B( q8 W: ~# q$ b3 p
  30. ; PHP files served from www.example.com.  Directives set in these) u# a7 B# J. k/ L- g3 a
  31. ; special sections cannot be overridden by user-defined INI files or
    5 @. K3 m4 \# M; O# h$ c2 J  N5 d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % z4 {- S# E  [
  33. ; CGI/FastCGI.  c5 j. r% ]2 o) F* t7 B) }4 f8 X" Y
  34. ; http://php.net/ini.sections, {1 ?8 F9 a1 V) F- U5 Z& A
  35. 9 ^1 M7 p( V) U& ^6 l" V
  36. ; Directives are specified using the following syntax:
    ) C4 C' z2 t7 v6 z/ G2 n
  37. ; directive = value
    ' b8 k( h7 v$ r' N) l3 P$ V, d; H
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.7 i- ^, R6 c9 j4 [
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ' |) m6 d, Y7 {2 `; L8 i
  40. ; There is no name validation.  If PHP can't find an expected! ^3 g* W/ P& M
  41. ; directive because it is not set or is mistyped, a default value will be used.. U& F8 U9 Z" r. T: ]. G  Z

  42. $ T: q$ D. `+ H6 G# q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 \, H  A2 G9 p2 c6 i& P
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression$ K$ t4 `5 j2 U' `; M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a% e6 ~9 x$ C% z
  46. ; previously set variable or directive (e.g. ${foo}): X% o( c6 Q/ a" x

  47. / q1 Z" A0 S. a& \/ i1 Q, u' D
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    $ \" s& v  ?! W  a/ C0 D8 N
  49. ; |  bitwise OR# }( R  s" b8 i2 E" R
  50. ; ^  bitwise XOR: I$ |# _* r3 C' g
  51. ; &  bitwise AND
    8 s* N$ |  [7 o; i( n7 v
  52. ; ~  bitwise NOT
    6 J" Z9 K; O- t6 k
  53. ; !  boolean NOT
    # V1 r, \$ l9 X3 k
  54. / t2 V$ A; g5 [$ M. ?2 Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& {, f+ C) T1 z' p$ k
  56. ; They can be turned off using the values 0, Off, False or No.
    ; P9 B2 W! d! ]! W! y2 Y+ Q+ |) H/ D
  57. " p( A8 C# O; i/ n$ ^8 A
  58. ; An empty string can be denoted by simply not writing anything after the equal3 K# j& H" x* u' n5 @. p
  59. ; sign, or by using the None keyword:& r. P3 N9 B4 G

  60. : R$ K1 r3 X# W
  61. ;  foo =         ; sets foo to an empty string# y; a9 S5 l4 J' y
  62. ;  foo = None    ; sets foo to an empty string
    1 \$ \  z- C- M5 ?4 M; Y' a
  63. ;  foo = "None"  ; sets foo to the string 'None'
    * a8 E% O( [8 P, x, I/ e, c! f; `

  64. 9 U/ u$ l, q/ V% w( }: Q$ _
  65. ; If you use constants in your value, and these constants belong to a
    & }! D, [4 h& z4 E/ M
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    3 M+ y+ y0 y- P# n1 @8 ?, Y$ m
  67. ; you may only use these constants *after* the line that loads the extension.
    1 v% v5 T5 f- T$ W" g" n% S7 U. Z
  68. + _) n: z' A4 l$ C6 ]' E3 k% k
  69. ;;;;;;;;;;;;;;;;;;;& h' n7 }. P$ A$ v
  70. ; About this file ;
    , F6 t# h4 N" e2 ]2 T" C+ c
  71. ;;;;;;;;;;;;;;;;;;;- ^' C  B! ^5 K0 y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used' z. G) q: a4 D  @+ K7 Q7 |
  73. ; in production environments and one that is recommended to be used in8 l7 ^& g+ I% X4 K
  74. ; development environments.
    - L9 D" W- s9 n  f/ H8 t3 I

  75. $ p" R6 U% _- F7 D/ J
  76. ; php.ini-production contains settings which hold security, performance and( P- i2 t  e: V% z. V3 t4 C, X/ x
  77. ; best practices at its core. But please be aware, these settings may break
    $ x8 t) t4 a. _7 j
  78. ; compatibility with older or less security conscience applications. We/ I7 S; c+ Y, P; E& W: X
  79. ; recommending using the production ini in production and testing environments.# u1 F7 \( ]0 ?+ ~9 N' P
  80. + d6 G. r3 R8 o$ d. V- w
  81. ; php.ini-development is very similar to its production variant, except it is! F! Q+ ^3 h+ P
  82. ; much more verbose when it comes to errors. We recommend using the
    % t4 w/ r4 Y7 d; @- D2 x
  83. ; development version only in development environments, as errors shown to4 B5 L5 [4 J% o
  84. ; application users can inadvertently leak otherwise secure information.+ T& Y; I6 x) G3 e' u1 G

  85. 0 W/ o9 A: Q8 ?2 T
  86. ; This is php.ini-production INI file.8 }3 B% R, a! L
  87. % i3 G/ C! {/ i/ ~: b
  88. ;;;;;;;;;;;;;;;;;;;& ]- g( Y: r3 P7 _/ ]' e5 i
  89. ; Quick Reference ;
    0 e/ w; K% a; x: f4 e* d5 R
  90. ;;;;;;;;;;;;;;;;;;;
    $ L( I* [: s7 E+ D
  91. ; The following are all the settings which are different in either the production
    ( H8 v/ V) h3 n/ E  r
  92. ; or development versions of the INIs with respect to PHP's default behavior.) {9 j  l3 `. O2 q5 o# Y. ?* a
  93. ; Please see the actual settings later in the document for more details as to why
    9 n" [& l: C4 j2 K+ A. J8 {
  94. ; we recommend these changes in PHP's behavior.
    : k6 q5 \0 H, s1 X. Y5 A) [
  95. ' k' |& D8 d. ]. ~+ x" @+ |5 `% B
  96. ; display_errors
    ( @, T* O5 [) Y# k( B# G
  97. ;   Default Value: On) k9 T0 t( p& E" E
  98. ;   Development Value: On2 P0 a* [* v  A# N- _" R2 k1 R: Q
  99. ;   Production Value: Off
      ~! Q* U" ?% Z4 @2 I8 r
  100. / v% s4 I5 m0 g5 L2 W/ t& u5 j* h
  101. ; display_startup_errors
    . A7 T, x) a3 j( |
  102. ;   Default Value: Off
    2 T6 u0 T# ~% y- x. @# s' y
  103. ;   Development Value: On
    1 R' A/ g6 \) k# w6 @- j
  104. ;   Production Value: Off; P  v' K1 {: ~/ a

  105. 9 Y$ v0 q6 T/ f( A
  106. ; error_reporting
    0 S2 O9 v+ g6 |
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' z' z- g6 `% v; s, N
  108. ;   Development Value: E_ALL
    9 d) b  c, S: H7 {/ O9 w: Q: ?* s" ^3 y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 f/ @7 h9 |7 ~2 @5 q# G

  110. : a( ]9 e' m5 Z  L5 }( {! }8 n
  111. ; html_errors$ Z  x3 Z0 s- e& g5 w7 A
  112. ;   Default Value: On
    5 a- }% m: i. Y* p5 e
  113. ;   Development Value: On2 k# K; Y, b+ |" j7 J
  114. ;   Production value: On7 _+ S4 A: |/ X' ~- ~
  115. : W  g1 T) E6 I) `6 Y3 U
  116. ; log_errors. s: ?- }* o( G+ i- j# G6 N1 m
  117. ;   Default Value: Off
    / |- p. B" q' [7 C$ d& X  }
  118. ;   Development Value: On9 X2 H/ i- ^! s4 E4 _
  119. ;   Production Value: On
    - ?2 l7 V4 Z3 W+ S6 y% W
  120. : P, f, {% I" g- W5 Y! i
  121. ; max_input_time: N5 @" h9 `4 W% i
  122. ;   Default Value: -1 (Unlimited)
    ! M; j2 m! |+ W5 f. d
  123. ;   Development Value: 60 (60 seconds)
    " o. [# f; X, Q) r8 E5 J9 y
  124. ;   Production Value: 60 (60 seconds)) ]7 Z  I- D8 Q  H) p
  125. % i4 p/ N" L8 S! F3 F1 c6 h8 W
  126. ; output_buffering* K8 {2 t" j7 r" l, g) a1 j1 I
  127. ;   Default Value: Off+ T. ?" {4 \# q& M' c/ w
  128. ;   Development Value: 4096
    6 l* P: R/ x! I- _
  129. ;   Production Value: 4096
    & M% Z! ~- G; Q4 G  x# [
  130. , k6 `: h  C5 q& B6 x6 g. \/ }* L
  131. ; register_argc_argv
    ' e; B1 c$ g9 ^, T
  132. ;   Default Value: On
    % B9 H( U" j! ?# t9 f
  133. ;   Development Value: Off* M: l$ g' E5 Z& n* c
  134. ;   Production Value: Off+ N$ C# d, `" K1 |; S
  135. 6 O$ Q$ c3 B$ }; c% Z
  136. ; request_order% u3 p. ~+ a& X& S
  137. ;   Default Value: None" }8 b5 w( g/ \& `' L) ]8 I0 _5 _
  138. ;   Development Value: "GP"' x$ {$ f5 ?4 W3 a% Z0 o, T
  139. ;   Production Value: "GP"
    5 G' }* w$ Q; N$ F0 r2 R& t

  140. " q# T- {' i( L7 P1 ^
  141. ; session.gc_divisor
    $ ]  @6 b4 E$ T) O# R% s( {1 W
  142. ;   Default Value: 100
    5 B' T, s. l3 |; ~
  143. ;   Development Value: 1000# Z+ N2 {' d3 k& X, h
  144. ;   Production Value: 10005 ?  d/ I0 X6 S, `" g$ s' |/ G2 L

  145. $ E) H+ g  I' {$ V& t3 ]
  146. ; session.hash_bits_per_character4 X* N8 b  ^  `1 y0 d
  147. ;   Default Value: 4
    ' Q$ |9 D! ?& U2 f9 h1 J5 o
  148. ;   Development Value: 5
    . d  F! V5 D+ }* {& ?
  149. ;   Production Value: 5
    . V0 m* w0 d6 G* y/ b1 Q# I, W

  150. # `) S& h$ z& w% @4 w
  151. ; short_open_tag/ `, l. `- z2 X0 Z; c) ~
  152. ;   Default Value: On3 n6 i; x) ?% x% F3 i
  153. ;   Development Value: Off) O; \. p' k2 E2 A
  154. ;   Production Value: Off
    3 W$ l2 \7 q* d0 W# s+ w. B" Q! |

  155. , l; w, M/ n) R
  156. ; track_errors
    0 _& f* M- l8 P& L7 i
  157. ;   Default Value: Off
    ; A# D' G, z' [: s6 j
  158. ;   Development Value: On
    2 o0 u* X* l$ z$ X. ?, x
  159. ;   Production Value: Off
    : U4 q! S7 `2 m6 l% O

  160. , @" L3 I; E! b4 y) _' g6 H+ Z
  161. ; url_rewriter.tags
    . M. Q0 v& F0 a- }
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=", p) m' i6 F  }1 `% K
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 W7 u2 ?8 @; Y1 h, Z* [, A
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* i: m# P$ [. D4 A" }" @9 W

  165. ) Z5 A& e  S) k. R- C5 ]1 i" S
  166. ; variables_order" ]1 K4 {) n0 y" v4 [
  167. ;   Default Value: "EGPCS"
    ( S8 M* P% e9 v; ]2 @
  168. ;   Development Value: "GPCS"
    # t# a, ?7 E+ _' f& M9 y2 Y
  169. ;   Production Value: "GPCS"2 a. @3 j* a) S0 ^) W1 p" l

  170. " ~2 H: j& Q1 k6 q4 Z+ l: V
  171. ;;;;;;;;;;;;;;;;;;;;2 _' o% a/ ]4 |6 u& \6 k
  172. ; php.ini Options  ;
    ; F+ G& W0 `; _4 S" n0 l0 [
  173. ;;;;;;;;;;;;;;;;;;;;
    - Y: {% r, j6 @5 M
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . z2 |# s! ~0 p8 n) E" U& c: _) e( t
  175. ;user_ini.filename = ".user.ini"
    ; G5 q% g( M; n- u
  176. 8 V* X8 i& l" Y& [- ?  ]: ]! n5 ]
  177. ; To disable this feature set this option to empty value# x$ X$ {! `: p2 O
  178. ;user_ini.filename =
    * u; P7 I5 i; q5 c% {$ U; |0 z! C

  179. 1 r. _2 s! ~5 \% }4 t3 K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); ^: N. ]+ V1 C2 O# [7 d
  181. ;user_ini.cache_ttl = 300
    : f- }* u" \. B/ m8 P% B+ a2 m
  182. 7 g( @( u. O  g: I
  183. ;;;;;;;;;;;;;;;;;;;;. }! Z( x9 U5 e+ T9 _% r: ~
  184. ; Language Options ;0 m3 I( l+ c5 q0 @) C
  185. ;;;;;;;;;;;;;;;;;;;;
    * m; W1 Y* V) T* y$ g1 b+ h/ o5 ~4 e
  186. # X6 T: V! W, v) J+ C% `
  187. ; Enable the PHP scripting language engine under Apache., [3 e1 O$ }) A8 v6 A, E
  188. ; http://php.net/engine/ O) H5 b7 G  C, Q6 h$ j
  189. engine = On0 I+ d3 J$ v$ Z) V0 i* ?0 Y" z: m! L

  190. . U0 v. J2 j$ I+ q* T9 V; R
  191. ; This directive determines whether or not PHP will recognize code between) h4 Y" p$ k* h/ m- {
  192. ; <? and ?> tags as PHP source which should be processed as such. It is4 H- u- X2 C1 V) T1 h
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ' E8 Y' U# p( n; H
  194. ; should be disabled, as enabling it may result in issues when generating XML
      {; o( g7 b( n' ?7 L# w; D, v
  195. ; documents, however this remains supported for backward compatibility reasons.1 D5 e9 i# G& _( I8 k
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    # O* W1 _  Y4 E: _! ~
  197. ; used regardless of this directive.. o- |4 h% F, `4 B( L: N9 d) m/ p
  198. ; Default Value: On
    & w' g3 e+ p% C8 k9 T. L
  199. ; Development Value: Off
    : {8 h! [1 j: W, ]5 z: `. A6 X
  200. ; Production Value: Off
    $ ~% H0 b* y) ~( l
  201. ; http://php.net/short-open-tag2 E* U& `- ~* h- ^5 w. z- I% w" g
  202. short_open_tag = On8 b7 k! J5 T$ L: F5 T; ]6 q
  203.   G6 W  R/ r) @* k6 w
  204. ; The number of significant digits displayed in floating point numbers.
    % @: F. p2 ~% |$ K
  205. ; http://php.net/precision
    0 ]  Q  A  P: l+ ]
  206. precision = 14
    " d' X, E8 ~% ?; M: R* I* ]
  207. ; T/ I. h/ w0 t9 O, J2 C8 v9 J0 v
  208. ; Output buffering is a mechanism for controlling how much output data
    $ z' B- K, N: c' _4 v. X: m1 |
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , m# q6 C! o8 f6 I' U% J$ u; ]
  210. ; data to the client. If your application's output exceeds this setting, PHP
    # g1 V% S* g" G" T, R; S
  211. ; will send that data in chunks of roughly the size you specify.
    ; B1 f3 ^6 q* R5 G& L
  212. ; Turning on this setting and managing its maximum buffer size can yield some0 z3 J8 c, `# S( j6 |7 g2 r
  213. ; interesting side-effects depending on your application and web server.
    6 M/ [0 {: o% ^  v8 ]# ?
  214. ; You may be able to send headers and cookies after you've already sent output
    ! S0 k% }' U& w0 W  z8 C! ?% u
  215. ; through print or echo. You also may see performance benefits if your server is
    * K; S" S+ K2 h" Y" d/ ~$ _9 [
  216. ; emitting less packets due to buffered output versus PHP streaming the output
      p/ ?: h6 ^4 r$ K0 S( L
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    8 V3 p  T1 z5 X2 y0 Q
  218. ; reasons.
    " K& i0 w6 z7 t  l
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    1 T) y( u/ n& e; P$ l1 l$ P5 n7 h, K
  220. ;   functions.  S% `! I4 [% D2 y% Q+ A6 M3 Y% N
  221. ; Possible Values:( {7 T0 _0 k: m% ?* N
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)5 m1 H, h- a0 j$ i7 E, _
  223. ;   Off = Disabled9 b7 M/ U+ G9 [- c( G5 I: c: J
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes., Y" o* r3 i4 \, T# i7 x
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI) V/ I6 i2 Y5 G" g
  226. ; Default Value: Off8 H9 {( F5 W; O& K4 @" C
  227. ; Development Value: 4096
    ) p* m4 s( _/ @" \5 V! F- A+ k
  228. ; Production Value: 4096
    5 \' I- `6 F1 e( W; u
  229. ; http://php.net/output-buffering/ T$ n3 i' w; U
  230. output_buffering = 40969 }! S5 t# S3 m  J8 m9 P

  231. , h, H! l+ f. n0 j5 m8 ~" i
  232. ; You can redirect all of the output of your scripts to a function.  For- S4 f# V% g6 x$ m  k
  233. ; example, if you set output_handler to "mb_output_handler", character
    " ]" C1 F. E5 y) A  p5 S- R2 b- f
  234. ; encoding will be transparently converted to the specified encoding.0 y- ~, [- F( @' w- ]# }* |8 i6 M
  235. ; Setting any output handler automatically turns on output buffering.
    / u- l2 R9 K2 y# v! O1 [7 C9 k
  236. ; Note: People who wrote portable scripts should not depend on this ini
    & W- c0 C, m  }/ y. q, u0 z* H
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ \! V0 F0 L0 P! K
  238. ;   Using this ini directive may cause problems unless you know what script
    2 C( }7 v8 C% C, C
  239. ;   is doing.
    ; i9 k; z$ {% Y5 j" j' D
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 X; V6 |1 O2 n: Q' e  \
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".1 i) ?: b: ~& m# ^9 {$ m% W
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    + \5 l) ]7 }8 \) V3 K
  243. ;   Instead you must use zlib.output_handler.
    % o- f7 z. [! k2 Z
  244. ; http://php.net/output-handler
    7 B( G& o! M* x" b2 Y9 I) A7 C4 K
  245. ;output_handler =, \  H! V. a. W

  246. : l8 P. ~6 |6 C# l1 x
  247. ; Transparent output compression using the zlib library
    2 p  F$ H8 {) E6 D8 d- V4 B+ p+ n& m
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size$ s5 r1 e) c' g
  249. ; to be used for compression (default is 4KB)
    , {( P9 U$ Q( @7 {& F: ~- s, Q
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) N3 ~8 f: r! Y8 U/ Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    2 e2 `7 ?& Q+ Z+ L. J6 y0 l9 I" Y
  252. ;   compression. If you prefer a larger chunk size for better; P! [7 z3 ~: F1 {/ `1 K, Z" K
  253. ;   performance, enable output_buffering in addition.9 x! q8 v& @. O  }! {  Q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    : {$ H: V% U$ @5 f* X/ k6 K. I
  255. ;   output_handler, or otherwise the output will be corrupted.
    6 V8 |! I7 s& M) b$ D
  256. ; http://php.net/zlib.output-compression6 z9 h: I! @. T0 V: A
  257. zlib.output_compression = Off" W; Z& l; K  @$ C4 L: a2 q, d
  258. / G6 B! f, i% q, c& t4 h" `
  259. ; http://php.net/zlib.output-compression-level  A' h* t2 y( p( ]6 V8 M$ V
  260. ;zlib.output_compression_level = -1
    - X( h! i' y! K8 g  u
  261. / ?& I( P1 v9 h6 H5 i
  262. ; You cannot specify additional output handlers if zlib.output_compression
    # X6 v; K8 R; e& j1 g* Z* g
  263. ; is activated here. This setting does the same as output_handler but in
    0 e* P: L% F/ U! h
  264. ; a different order.
    ! Y# \* N$ p/ m' s9 m
  265. ; http://php.net/zlib.output-handler: G; o' K8 _7 I, j
  266. ;zlib.output_handler =9 c6 L9 M: S+ T& L
  267. . c& Q9 p. ^. y0 k+ A' f' e
  268. ; Implicit flush tells PHP to tell the output layer to flush itself. q2 D' B2 D" Y* h, C' K
  269. ; automatically after every output block.  This is equivalent to calling the# y9 `* P5 C. @3 v& M$ {
  270. ; PHP function flush() after each and every call to print() or echo() and each
    3 ^2 J$ @+ C2 ]1 }+ z6 z
  271. ; and every HTML block.  Turning this option on has serious performance
    # C7 T0 `4 B" \: M
  272. ; implications and is generally recommended for debugging purposes only.3 n8 O8 R  ~" W+ j5 h$ f
  273. ; http://php.net/implicit-flush
    & n- I; S- b6 B- k1 e
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    - q' b0 S/ c6 m, A
  275. implicit_flush = Off
    ) G( v- S4 }  t8 D2 A( p
  276. ) H: ^7 i7 j8 k$ H
  277. ; The unserialize callback function will be called (with the undefined class'% ^; l0 u) F4 u# q$ X
  278. ; name as parameter), if the unserializer finds an undefined class
    ! l: a; u% B# L; \; e- w
  279. ; which should be instantiated. A warning appears if the specified function is7 j' N% S2 f* }5 T& q0 ?
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ) [2 `8 s: d/ \+ U" j6 l5 O
  281. ; So only set this entry, if you really want to implement such a
    * E" U9 F' b. e; T% x6 y3 O3 a
  282. ; callback-function.; d" n1 O6 m, u2 U$ V/ |
  283. unserialize_callback_func =5 A1 D! ?0 ?) \) r: f

  284. 5 |- {' _9 m# }/ F% k
  285. ; When floats & doubles are serialized store serialize_precision significant+ I  t1 J+ E% k' \' u4 d5 A
  286. ; digits after the floating point. The default value ensures that when floats
    . V- }" i3 |/ R, ?& F0 \! U
  287. ; are decoded with unserialize, the data will remain the same.
    9 ?6 a! _! o: t. U# a+ ^8 f
  288. serialize_precision = 17
    * {6 Y% f0 S% q+ ~: L- X. H
  289. ; ?6 N- ~$ _8 ~# [: x, O
  290. ; open_basedir, if set, limits all file operations to the defined directory
    / X) n; Z! M; o$ O; p
  291. ; and below.  This directive makes most sense if used in a per-directory
    9 x. O) Q3 z( Y; z) E
  292. ; or per-virtualhost web server configuration file.
    4 }; \) @( M# x) c
  293. ; http://php.net/open-basedir
    8 q1 P! w7 A0 v; V  N7 @# A; h
  294. ;open_basedir =$ c$ Q; Z, W) H' W4 V5 g  B# o

  295. ! s% y7 a; ~1 R" p  ~, G
  296. ; This directive allows you to disable certain functions for security reasons.4 Y4 V' ^+ }+ H( ]2 w! I
  297. ; It receives a comma-delimited list of function names.
    ! y+ Z4 w( Y8 H* i
  298. ; http://php.net/disable-functions
    0 p" o/ k, q9 S+ G: O6 {
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru6 |, U* Z; w: M% o3 A
  300. 4 ^1 E& u$ F7 N& Y
  301. ; This directive allows you to disable certain classes for security reasons.& V$ ]+ J2 k6 m! M7 |
  302. ; It receives a comma-delimited list of class names.7 `9 D8 u# B/ y2 ]4 W$ O3 }: n
  303. ; http://php.net/disable-classes0 P: L# j& Y4 j- G8 T7 _% k
  304. disable_classes =; U* l9 d2 m2 `" G# u

  305. , t" o7 C0 n, a8 a+ z6 f) y! u
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % R0 H8 W3 I/ r
  307. ; <span style="color: ???????"> would work.( W  n- e! C0 D$ O
  308. ; http://php.net/syntax-highlighting
    ' x% x& j) I  n: Q2 g
  309. ;highlight.string  = #DD00007 H2 T0 K$ J- z7 {& s/ v1 r
  310. ;highlight.comment = #FF9900
    % F6 e& e9 h7 ?  J  M( f
  311. ;highlight.keyword = #007700
    - _7 W/ n( S. u" y0 Z2 {
  312. ;highlight.default = #0000BB
    2 u0 X- w( M7 C5 f- J- U! ]
  313. ;highlight.html    = #000000
    4 T' Z8 ]/ B9 h, m& w

  314. : O. q9 u( u0 n0 Z8 S" Z$ @
  315. ; If enabled, the request will be allowed to complete even if the user aborts: d8 d- [) n9 z2 s  j
  316. ; the request. Consider enabling it if executing long requests, which may end up
    # |& V& F4 M! O  r0 @. z3 e
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    5 \, ?. I3 R+ v. s2 v8 @, V7 W- A( `& i
  318. ; is to disable this feature.. J" \5 }. g$ T% k7 f# u; s9 K3 L
  319. ; http://php.net/ignore-user-abort
    ( }8 d1 L" J  l+ L* `0 h5 D' K
  320. ;ignore_user_abort = On
    $ s- R7 U) {; W7 C) t

  321. * J4 |( q0 H1 q8 l4 Z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should5 l* l, [( w8 V4 \8 A
  323. ; be increased on systems where PHP opens many files to reflect the quantity of: K# Z" r! u; N/ A  K% X- G
  324. ; the file operations performed.5 q; l  Y' F* E5 F8 X+ s7 K/ K8 R  |
  325. ; http://php.net/realpath-cache-size, j* z  j  L+ X
  326. ;realpath_cache_size = 4096k0 b% P  \2 i7 M& n
  327. ! Y5 T. |$ n9 ?- G5 j0 m9 m
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    + w' i, \* t, R% O
  329. ; file or directory. For systems with rarely changing files, consider increasing this. Y0 V4 {) ^* t7 \$ U
  330. ; value.1 S: q* x  c$ x- p% {/ Q
  331. ; http://php.net/realpath-cache-ttl4 i/ C1 p' L1 G# u0 t& d5 A) ?
  332. ;realpath_cache_ttl = 120# F" `( a6 \' L3 h  U3 l7 q* y
  333. + p7 Q. w' P( i3 G4 L
  334. ; Enables or disables the circular reference collector.
    ; r0 |% j/ z% X0 V
  335. ; http://php.net/zend.enable-gc7 U* X! i4 W9 d' T' ~9 c2 t
  336. zend.enable_gc = On  M0 V2 C$ M5 L/ a

  337. 3 [+ [! F' `$ ]
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    0 G/ c3 R* U& r8 a( ~2 }
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    1 A. v7 c* q- k8 O
  340. ; encodings.  To use this feature, mbstring extension must be enabled.& |+ T: g  \5 R& j6 ]# g; R
  341. ; Default: Off& a7 a1 H  ~3 I4 T% Z2 S$ O6 t
  342. ;zend.multibyte = Off$ M5 r) i: X' _7 {% I; a, m' G

  343. - t$ }9 K3 k1 |# _( E! K
  344. ; Allows to set the default encoding for the scripts.  This value will be used" l6 ~3 |! q2 s. H" l* f; ]0 Q1 z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    : s2 o  F  p0 r* I$ l: ?
  346. ; Only affects if zend.multibyte is set.
    + t4 u! S' q5 x! j1 v  i$ l# s* G
  347. ; Default: ""
    / i' ^3 J) o1 \2 b: U
  348. ;zend.script_encoding =
    8 D! I8 \6 q+ u- X0 |- b* r) y
  349. 1 z  z; \0 A* T, |3 l
  350. ;;;;;;;;;;;;;;;;;& L/ W" `8 ?% a1 d! w
  351. ; Miscellaneous ;
    8 e3 a; z+ J4 Z+ \/ j9 Z+ k
  352. ;;;;;;;;;;;;;;;;;# x  C( P4 n5 x+ \* a) }
  353. 1 K8 W/ \+ E& P% Y
  354. ; Decides whether PHP may expose the fact that it is installed on the server. f1 d$ v9 ]% i& ^/ a- O
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ! q+ L$ q& Y6 w" h3 q' D
  356. ; threat in any way, but it makes it possible to determine whether you use PHP( R, T8 g7 a0 Y6 Z
  357. ; on your server or not.9 t+ J3 x$ T1 h
  358. ; http://php.net/expose-php2 u; D& B. L# j. C  F
  359. expose_php = On3 r8 H% l' b- j( P# I* Y5 D
  360. & R& f9 x1 y7 J: X6 d. q
  361. ;;;;;;;;;;;;;;;;;;;
    ! T0 k  H" ?* [  z  v  B: ]
  362. ; Resource Limits ;, k* O' Y$ |* ]2 E; F
  363. ;;;;;;;;;;;;;;;;;;;
    4 g5 P' r: K. x  H5 o

  364. 9 l% J% i* ?! j8 m5 ]& q- j7 Z
  365. ; Maximum execution time of each script, in seconds$ S- ^6 X  E) a
  366. ; http://php.net/max-execution-time
    ! m) `% X5 j- _  ~+ S' j; A; E
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ P( c, U7 t, X5 k- t
  368. max_execution_time = 300
    : G0 B3 {$ ^: j9 z+ X2 O: h% ?
  369. 2 m! j" `1 C4 i; _+ t, A
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    4 }# ^; ]) b5 ]4 c$ N' k
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    * g; d: z. J. c( D* ]
  372. ; long running scripts.: r/ D3 y' l7 a
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    9 b- b: q/ g) ]
  374. ; Default Value: -1 (Unlimited)) Q. g$ w) s3 j2 }
  375. ; Development Value: 60 (60 seconds)& i  D4 o) c: V5 ]3 `  M
  376. ; Production Value: 60 (60 seconds)
    4 Y5 s( d- H- i" D2 V  z
  377. ; http://php.net/max-input-time
    ' n( R4 s' D: ^* U: R
  378. max_input_time = 60! d0 i" A$ p+ S

  379. 5 p8 V# m0 r6 I! u- ^3 F
  380. ; Maximum input variable nesting level
    # u" K7 X" x9 X$ |' V- w3 F
  381. ; http://php.net/max-input-nesting-level+ u% R3 D( k* a6 {$ ?$ [% `3 K
  382. ;max_input_nesting_level = 641 R% O" t* T9 b  J0 _5 J: ?  `, ^

  383. ( B' G4 b7 p+ U+ X  s: Y
  384. ; How many GET/POST/COOKIE input variables may be accepted  A! ~7 L3 V% ^- R$ f& `' J: V( H1 O
  385. ; max_input_vars = 1000$ M( q( \: g7 Y

  386. 1 V( Z# {7 l' z# B4 [
  387. ; Maximum amount of memory a script may consume (128MB)
    : M* u; E. T; @# u) R5 I
  388. ; http://php.net/memory-limit
    8 _, V3 \4 G0 e4 ^: v; Y
  389. memory_limit = 128M
    , Z# ^" j! s9 b8 Y+ F% r

  390. 4 M8 u4 F8 q5 T
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      k3 v) m% d7 A- \% p# R8 v
  392. ; Error handling and logging ;
    + o7 }- c- o# [6 s# ~2 ~3 C
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 M* b2 k; X! x) m  r

  394. + b; U* k( y4 g1 a
  395. ; This directive informs PHP of which errors, warnings and notices you would like) D" R" E% T' E; j
  396. ; it to take action for. The recommended way of setting values for this
    5 a' ]2 ?) E1 s4 B
  397. ; directive is through the use of the error level constants and bitwise; F$ p( Y5 }/ i% O9 a
  398. ; operators. The error level constants are below here for convenience as well as
    4 c. U7 a& i* d3 j2 a
  399. ; some common settings and their meanings.
    0 O0 d% B2 }9 R/ Y5 E/ Y) b
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    6 H! v3 S# K/ H6 B* z; u/ u
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and% J& o- y3 l. ?! q2 m0 D
  402. ; recommended coding standards in PHP. For performance reasons, this is the( F. D& X* u" w/ Y
  403. ; recommend error reporting setting. Your production server shouldn't be wasting  d/ Z* P2 F! _0 x* _+ \
  404. ; resources complaining about best practices and coding standards. That's what
    : Y; Q+ m' z9 ?% R& Z
  405. ; development servers and development settings are for.. v* E! L& E- n: P& X: b9 d
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) B2 e# Z, p) u+ l; P
  407. ; means it pretty much reports everything which is exactly what you want during
    2 _& x! I5 S0 Y. i7 v+ A& P; O
  408. ; development and early testing.
    ( v# n4 _' E9 U& Y0 m
  409. ;( p0 [2 i7 ~' O- q" {1 L
  410. ; Error Level Constants:
    . o& N  Q3 \2 s
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    0 q  L0 }9 E) C  x
  412. ; E_ERROR           - fatal run-time errors
    ' S4 O! J0 b- S! R
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors. ^4 G) o3 ]& X
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 V: H, S" b2 F9 m
  415. ; E_PARSE           - compile-time parse errors
    8 ]+ j" l0 @- {; I  Y; p7 g; C
  416. ; E_NOTICE          - run-time notices (these are warnings which often result- E  m* t3 Z3 N+ T4 b; [* ?# t& N
  417. ;                     from a bug in your code, but it's possible that it was
    & ?6 E- Z. ~) Q5 {
  418. ;                     intentional (e.g., using an uninitialized variable and
    5 q' A1 [3 U/ T0 {
  419. ;                     relying on the fact it is automatically initialized to an
    $ g: n) @) Y7 \9 d( w  a
  420. ;                     empty string); \$ _5 q7 `, C; H! f
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* X; H+ M9 T" X! }
  422. ;                     to your code which will ensure the best interoperability
    " k. m5 V6 k) T3 h1 y4 l
  423. ;                     and forward compatibility of your code
    " g! W& G) C% Z' x) n' T
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    1 M) W5 f7 ^8 Z3 Y+ h6 ]
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's0 ?) J( J# v6 f2 W
  426. ;                     initial startup2 Q* k$ Y$ f$ c! m/ u) g
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ l  ~. {. \+ ^& _# A
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors). ~& k( }% i4 K+ S- B
  429. ; E_USER_ERROR      - user-generated error message$ ~$ `  B3 v4 B, w0 D
  430. ; E_USER_WARNING    - user-generated warning message/ F6 {4 `/ m* l+ O  G0 A* l
  431. ; E_USER_NOTICE     - user-generated notice message
    ; \$ ?1 [& b/ s+ ^; E! B
  432. ; E_DEPRECATED      - warn about code that will not work in future versions: N5 b4 _' p, G! @+ I- C3 x+ Z0 o. q
  433. ;                     of PHP# V# O6 }  y  V' Y5 ?% K( x
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    9 t( h' S/ X  v  b3 F* m
  435. ;4 R- g( m4 W9 V4 \' f: s7 ~3 H
  436. ; Common Values:4 `% Q% P& G0 k  |
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)/ ~# a" B! u7 _0 Z4 [
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)4 l4 m% ~1 t/ n& j( L4 m* y4 f
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)8 G3 O; W, \' o0 x
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors). M  V& q/ @6 i# Q) w" }& w
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 q* d9 h) X2 T6 H! L% a2 ?* M/ Y
  442. ; Development Value: E_ALL
    5 C* Z7 q9 P; \; u
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, b3 }7 `$ m4 w4 H
  444. ; http://php.net/error-reporting% {* [/ A9 {4 b" R- h
  445. error_reporting = E_ALL & ~E_NOTICE
    ; `% H, ]8 C/ q8 Z4 `

  446. $ K1 [% O& `5 n2 J! ]# l  l
  447. ; This directive controls whether or not and where PHP will output errors,
    & W6 \9 K7 m* i! U3 j
  448. ; notices and warnings too. Error output is very useful during development, but: G2 l; I7 K! X) `3 P
  449. ; it could be very dangerous in production environments. Depending on the code
    5 e1 ]9 F8 a3 s0 S) C. |  H  }
  450. ; which is triggering the error, sensitive information could potentially leak
    7 t5 a; I5 l5 K: ]- @9 m
  451. ; out of your application such as database usernames and passwords or worse.4 p4 ]+ @$ W7 w1 S
  452. ; For production environments, we recommend logging errors rather than- _( q7 F& ^5 N" {7 m1 j+ Z% K4 F' ?
  453. ; sending them to STDOUT.
    + a7 h5 k/ U) d: |
  454. ; Possible Values:
    6 k! i0 I2 `) p- `- {
  455. ;   Off = Do not display any errors
    ; U. q; N! O$ T0 ]- Y7 T) D5 Z$ e
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    9 F3 l' h' \: n3 Z- K
  457. ;   On or stdout = Display errors to STDOUT
    % a4 r, e! A$ v" g3 C6 t* M  L
  458. ; Default Value: On
    / p- A! k1 T& _( z+ H% A
  459. ; Development Value: On
    ! B6 W  J2 B# R% O
  460. ; Production Value: Off2 H0 G5 j/ Q  I5 E$ ^6 Q
  461. ; http://php.net/display-errors
    2 {( l- T) Q) O' f1 U
  462. display_errors = On
    3 y7 Q( M- c, y( \

  463. ( e: L+ z* ~6 f, L! j! S
  464. ; The display of errors which occur during PHP's startup sequence are handled
      B6 t0 {1 B6 {" L8 s
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    * t3 t6 y1 o3 X
  466. ; errors from clients. Turning the display of startup errors on can be useful in- w/ R& q' b- z, T, \. [4 E- w
  467. ; debugging configuration problems. We strongly recommend you
      T" I! C* U1 C4 K8 z3 o- |+ S
  468. ; set this to 'off' for production servers.
    4 `( x$ C$ F! C3 u7 l( F
  469. ; Default Value: Off
      |5 o6 B5 x1 v( Z' y* I
  470. ; Development Value: On
    ' b6 z' H# n1 Z  p' f4 P; c
  471. ; Production Value: Off  V" |' ~- T5 n. o( K% a6 h* p; V
  472. ; http://php.net/display-startup-errors
    ' K2 d7 M  L! n6 t) S) t
  473. display_startup_errors = Off
    " a: t& l0 w9 k( u

  474. % |3 x1 P' _, t0 `+ T
  475. ; Besides displaying errors, PHP can also log errors to locations such as a3 N: f: \' q7 X
  476. ; server-specific log, STDERR, or a location specified by the error_log" I( `! C7 @! Q# ~( t. {( f" b
  477. ; directive found below. While errors should not be displayed on productions
    0 R+ u6 m& Z3 I% G. q1 X
  478. ; servers they should still be monitored and logging is a great way to do that.
    & K# ?' A' ?1 |7 I
  479. ; Default Value: Off7 i; w5 L: `/ }1 x
  480. ; Development Value: On( D4 [, T4 [$ x; Y4 W& o9 y
  481. ; Production Value: On
    . V6 _( N  n) m7 ?1 ^7 @5 J2 M
  482. ; http://php.net/log-errors4 t/ Y* n9 g) A$ [  a
  483. log_errors = On
    8 }$ V( Q/ Q7 H8 J5 ~

  484. $ A! F( k# Z. Z( ~# q: }6 }$ F$ u7 n
  485. ; Set maximum length of log_errors. In error_log information about the source is6 U; v, G* O+ X# Y: }' p: e
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , [6 e6 p/ e. B- Y9 T; E$ ?
  487. ; http://php.net/log-errors-max-len4 Q4 W( F( r4 l" h6 E: }, P9 ~
  488. log_errors_max_len = 1024
    & L- @" }) O( \! R/ f/ ]. B
  489.   P3 a& V3 [: k4 v' ^9 b
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same( `5 _" t* L) E9 O* y1 z. J% a
  491. ; line unless ignore_repeated_source is set true.
    8 e$ e' Y+ X9 i% _
  492. ; http://php.net/ignore-repeated-errors* T' \2 `. f9 e: P8 T4 v0 t
  493. ignore_repeated_errors = Off1 q2 ?7 P0 L# [' Y" Q' [
  494. " o( X. a* I# P. D
  495. ; Ignore source of message when ignoring repeated messages. When this setting- I2 \+ K7 X2 ]3 {" E
  496. ; is On you will not log errors with repeated messages from different files or5 J5 V( H9 l1 x
  497. ; source lines.
    $ |& Y5 B( J, G2 }
  498. ; http://php.net/ignore-repeated-source
    8 B( s8 ]: z+ q% l) f
  499. ignore_repeated_source = Off$ F. l8 P' J4 M. i

  500. # Y/ z6 w0 F  K6 `6 L; B
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " s* l) k. m1 V: W: V
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    2 R3 F9 n0 Y5 a5 r' x- ]* e2 j
  503. ; error reporting includes E_WARNING in the allowed list7 u8 N) C9 E- A! Q& h! {- w% T
  504. ; http://php.net/report-memleaks; e% }; V0 ^" ^0 v0 T
  505. report_memleaks = On, D/ w, `" L: T9 t

  506. + s  ^' z' F8 v* L
  507. ; This setting is on by default.
    3 h: r# D& m5 ^- l6 q* z
  508. ;report_zend_debug = 0
    * `3 y7 w. \, M4 V' B! G& k: A) n8 x

  509. 7 J/ @4 f! n" n
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ( {' }( c! B! M4 l6 G7 k
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    0 f" M9 d/ {. h. Z
  512. ; however be disabled on production servers.
    & l  J/ i3 e( w. }8 I0 i2 ^  `% J& A
  513. ; Default Value: Off
    * w& }( u- K' G- W7 h. o
  514. ; Development Value: On
    , L7 H# r1 u6 z! d& K  `  j
  515. ; Production Value: Off. v; L. o4 q4 k) H% L- ~
  516. ; http://php.net/track-errors' i1 C( d  C' p  b+ E8 z. w
  517. track_errors = Off
    8 L9 r" V3 `" L1 [+ o# {

  518. 3 q; v( u. C; c! x: g# v7 J
  519. ; Turn off normal error reporting and emit XML-RPC error XML8 {6 ~0 ]) [& `. z* s
  520. ; http://php.net/xmlrpc-errors
    " A5 f/ z- l: R
  521. ;xmlrpc_errors = 0
    + @$ w) X. i% E, e/ k0 v

  522. 5 i8 h4 Z4 F& a' i
  523. ; An XML-RPC faultCode
    / a. i  h  I: N3 w# y& a% _# a
  524. ;xmlrpc_error_number = 0; J; v0 @2 m- A, g7 ^! c6 }
  525. % O& r  q' `+ ~0 e9 K4 x( m
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    8 L% o8 I8 [" Y7 {8 l
  527. ; error message as HTML for easier reading. This directive controls whether
      r5 ]1 S: L! }* o9 r
  528. ; the error message is formatted as HTML or not.! Q$ l2 |% G4 `( u) T5 I
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 _7 G. W: f8 X- L; j$ q
  530. ; Default Value: On, m( w1 ^6 F+ F4 g/ S" n
  531. ; Development Value: On9 o8 T8 \. l/ \! r/ e2 e
  532. ; Production value: On1 m' f7 c6 U) Q( _
  533. ; http://php.net/html-errors" S6 i4 q$ e( _8 r+ q" u
  534. html_errors = On
    8 m# U+ m: c0 \6 b# d6 G9 e

  535. ( [! F- X! @7 n9 O' |2 X$ S$ K4 \
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % y; {9 {6 S  d% ?6 B
  537. ; produces clickable error messages that direct to a page describing the error
    4 q- M5 D& R, b. ^# G( s7 Z- e# a- K
  538. ; or function causing the error in detail.
    # k. l3 [' f% N& H
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    / \  F2 p, ?. A' c. Y& ^
  540. ; and change docref_root to the base URL of your local copy including the
    , `  y: ^+ E* I, ?' b
  541. ; leading '/'. You must also specify the file extension being used including
    , S# h# g- X0 E) j  p* d7 C7 e
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which" k0 g- n8 c. p; }4 J, w6 b
  543. ; case no links to documentation are generated.
    " \( j# l6 q! a7 a; X
  544. ; Note: Never use this feature for production boxes.0 Z& D0 N) i5 v: N. b
  545. ; http://php.net/docref-root
    4 F  R0 s/ ?5 c# b( v( W
  546. ; Examples
    7 n. J2 r& S  o4 n5 f
  547. ;docref_root = "/phpmanual/"
    1 @9 p: d& r  g4 Y; r
  548. 5 w1 s5 Q0 B0 \, b' L& W! i6 A
  549. ; http://php.net/docref-ext
    : d. n. Z' S  n- k. U! ]
  550. ;docref_ext = .html
    " Q) m) B* r6 {; T; V, \' f) a! v
  551. ; \0 ^9 ~6 @% {$ b( J8 B
  552. ; String to output before an error message. PHP's default behavior is to leave5 n- C7 b. Z) Y: E! A! f- n
  553. ; this setting blank.
    6 P" M0 m: N. `( p
  554. ; http://php.net/error-prepend-string
    6 V' w, c3 V1 ~" n
  555. ; Example:! `8 h) d0 P1 E  x/ \
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    $ V. ]" {" K0 ?  T, i
  557. * P/ m* `+ q; {4 c
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 N" S/ X6 B2 ]2 O! i: K% l
  559. ; this setting blank.
    6 B  e: d7 q7 W' w" w" ^; g5 ^
  560. ; http://php.net/error-append-string, a' [$ T' a' W
  561. ; Example:: r3 a( `/ N* n  z- z5 E
  562. ;error_append_string = "</span>") j) w+ V' }6 c) v: U

  563. 0 v" j7 k5 o4 q9 O( N
  564. ; Log errors to specified file. PHP's default behavior is to leave this value$ T! s/ K: q! q7 q
  565. ; empty.6 S/ p  N2 [6 Q, N
  566. ; http://php.net/error-log+ \5 O5 n6 I3 R
  567. ; Example:; S8 K* ~) B/ f
  568. ;error_log = php_errors.log5 ?8 P% R: m' @& Z
  569. ; Log errors to syslog (Event Log on Windows).8 t: ]: v& c2 O4 d; i( L3 `" H
  570. ;error_log = syslog  K% T* J- f3 X/ o1 Q# e

  571. % s& e' l2 {3 ~- `% w$ j
  572. ;windows.show_crt_warning
    ) k2 \3 t$ T( n% A+ B2 n& a
  573. ; Default value: 06 O# V8 c& Y: v0 [) V- D, A
  574. ; Development value: 0
    , w; L, G( }, c; m  M
  575. ; Production value: 0
    / J2 U  u1 }: `3 j/ }5 G

  576. $ p  \: v, L; A5 B# n7 b' |
  577. ;;;;;;;;;;;;;;;;;
    & `8 [+ X6 B$ [6 s, u( n0 K" }) F
  578. ; Data Handling ;
    6 `& z- Z; J) |1 Q0 j
  579. ;;;;;;;;;;;;;;;;;/ Z0 q4 j8 |6 [7 B
  580. , n" ^$ A! Q) U: J1 l
  581. ; The separator used in PHP generated URLs to separate arguments.5 N* R6 |# M7 \$ [  k; j' a
  582. ; PHP's default setting is "&".
    $ S4 o7 d7 Y5 b& _) ^9 Z
  583. ; http://php.net/arg-separator.output( q0 e3 ], ]. ^4 q& n
  584. ; Example:
    * c& p. K# \$ l) d& k
  585. ;arg_separator.output = "&"
    ) Y; j' I" q9 V

  586. ) g7 v9 b' T; Y' ?
  587. ; List of separator(s) used by PHP to parse input URLs into variables.9 r* ]3 e0 ^9 e- I* i1 ^. w) h; A
  588. ; PHP's default setting is "&".3 X& X& U" d( V+ A2 g5 ~+ n
  589. ; NOTE: Every character in this directive is considered as separator!
    8 I( }5 `% Q0 X. E. x! z$ {
  590. ; http://php.net/arg-separator.input' {* @: j: A/ ~, D
  591. ; Example:
    9 ]+ e7 j* l0 k( V3 @
  592. ;arg_separator.input = ";&"
    " ~. o: O, W6 r4 h9 ]1 K
  593. " F7 R8 _) }; N' A
  594. ; This directive determines which super global arrays are registered when PHP
    5 C9 u' {& n! I
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 K/ r; b- ~1 H4 q& b
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    1 T+ z: Y. i: a3 M; P
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    * y& i+ K# ^- F9 ]. C
  598. ; used as the others, ENV is not recommended on productions servers. You; _2 ]2 P. _; M
  599. ; can still get access to the environment variables through getenv() should you
    ) _7 T/ @& j. J2 D- q% S
  600. ; need to.
    3 {$ B4 \+ m0 n# c) }% X: J
  601. ; Default Value: "EGPCS"
    % Y3 O3 M) z# I, T- I  g0 L
  602. ; Development Value: "GPCS"& L/ H) s2 Z: b, Y( Y7 R* p. c
  603. ; Production Value: "GPCS";
    # G. c5 b; i4 Z+ j. k- w
  604. ; http://php.net/variables-order% a" I7 A4 K  O9 O# o( n# P
  605. variables_order = "GPCS"$ y6 @( V, E4 G

  606. 1 @, u; I5 A6 j; j2 W& w, z
  607. ; This directive determines which super global data (G,P & C) should be
    6 g5 J; l+ S& @+ l. L0 p
  608. ; registered into the super global array REQUEST. If so, it also determines2 w* X9 t+ n& T. s2 w, a
  609. ; the order in which that data is registered. The values for this directive
    * a5 m; C; r8 B9 [8 m* N- f' |( y
  610. ; are specified in the same manner as the variables_order directive,  W) F# \- ^9 f. G; [* r
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 V  b/ N0 k% `3 G* t5 Z1 R, E" F
  612. ; in the variables_order directive. It does not mean it will leave the super
    6 j; O& S( W& c/ `- ^# z2 E# i" U2 c
  613. ; globals array REQUEST empty.: f6 x' R. y8 s/ N8 d- q3 A
  614. ; Default Value: None
    % W# X1 j. ^  I- u
  615. ; Development Value: "GP"5 o; D. `, Q1 W
  616. ; Production Value: "GP"( ^' c) _% V: _
  617. ; http://php.net/request-order
    ' K% Z) Y* G; h3 ]( L
  618. request_order = "GP": f7 I1 B* E& {

  619. # F; [" z- X( j; X
  620. ; This directive determines whether PHP registers $argv & $argc each time it' q: D' |" c0 n9 T$ B/ r
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script" B( x% d/ @4 z) @0 v2 I
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ! W8 r2 p  u7 s5 r) l5 r) i
  623. ; that were passed when the script was invoked. These arrays are extremely
    * ^- ~2 d' ?& A  U, @
  624. ; useful when running scripts from the command line. When this directive is
    + T  c2 E4 W8 g1 `& b1 g( x( r) z2 B; D+ S
  625. ; enabled, registering these variables consumes CPU cycles and memory each time, {/ s! [- _0 x  J! h  H7 i
  626. ; a script is executed. For performance reasons, this feature should be disabled! C7 L3 h/ V5 h( M. S! {
  627. ; on production servers.1 \) R+ N9 g! O3 {2 ?1 a& _8 j/ s; M
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    - }5 F6 x2 ^9 D
  629. ; Default Value: On; D& b* }3 P4 v* K( U; N/ `2 B7 n
  630. ; Development Value: Off5 U  ~6 t& J! q
  631. ; Production Value: Off# j! I) ~: O8 |7 Z$ n% n
  632. ; http://php.net/register-argc-argv) s1 U4 L3 y* F/ b# E2 q
  633. register_argc_argv = Off. p2 w; d% X, o# P  o5 ]6 X" e
  634. / J$ s& ^6 p0 ?8 N- G  B
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're! l( l2 a8 q- _3 U4 K4 _1 L
  636. ; first used (Just In Time) instead of when the script starts. If these. W3 \& Q- l9 q# F7 w
  637. ; variables are not used within a script, having this directive on will result( b3 |. o- \" t* D3 s* p6 h) j
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 \  `# t; p  y
  639. ; for this directive to have any affect.
    9 F" W! X3 R. T0 }/ \8 O2 s: _- s
  640. ; http://php.net/auto-globals-jit
    : t) W- s0 ~9 e1 K% q: w
  641. auto_globals_jit = On
    ! c/ W9 x& i, e2 t# t

  642. 3 ^$ d, |. O( F0 w$ t9 A
  643. ; Whether PHP will read the POST data.
    : x( r6 t7 O/ i
  644. ; This option is enabled by default./ L3 W5 h7 ^- Z( l
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 Y6 m6 x. D8 S* P6 L+ ?+ |2 K
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    : u3 ?" g' ]$ @9 M" p
  647. ; POST data will be through the php://input stream wrapper. This can be useful
      k7 }8 O/ J9 ]
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    4 X: X% D, h; X& F) G8 g
  649. ; http://php.net/enable-post-data-reading* G3 g+ R/ W+ a" R
  650. ;enable_post_data_reading = Off" q. X/ q: A2 a) l. e* l
  651. ) O0 v( q/ y6 \6 d4 b7 p
  652. ; Maximum size of POST data that PHP will accept.
    & Q7 C, Z8 |. u
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , Y, i; e; H$ G% N
  654. ; is disabled through enable_post_data_reading.
    3 f- I) m' Z+ @% W. s+ M( E6 U
  655. ; http://php.net/post-max-size8 [. @. s3 w' v- n+ l0 d4 l
  656. post_max_size = 50M/ @. t6 t$ @1 ~! _7 I5 w7 m" S- [/ h
  657. ; u. }3 }! E# k% [+ b
  658. ; Automatically add files before PHP document.; V6 Z! J. A! }4 Q5 y
  659. ; http://php.net/auto-prepend-file3 v; c+ f, n, [0 l/ k: h
  660. auto_prepend_file =
    % L; F* p) F/ x2 R0 t8 P) j

  661. ; H& G4 @0 {4 ?9 @% ^0 t. S) {
  662. ; Automatically add files after PHP document.
    5 K' n# v7 P) w
  663. ; http://php.net/auto-append-file
    $ j0 p/ X% u- Z- F/ _
  664. auto_append_file =
    & O8 m9 V% d5 M( F1 o; u4 E
  665. 7 T- `( f9 Z+ o0 A
  666. ; By default, PHP will output a media type using the Content-Type header. To! M7 f. W' l5 C% h
  667. ; disable this, simply set it to be empty.
      ^# ?  X4 u" r% J* Y8 D  S
  668. ;
    0 _! Z2 C, u) I- Q" N" }' k  a
  669. ; PHP's built-in default media type is set to text/html.
    ! M  j; G9 {  [6 K* G6 W( f6 n8 x
  670. ; http://php.net/default-mimetype! k( t0 T! h+ r9 R$ J
  671. default_mimetype = "text/html"* E/ i5 z; w! Y1 y6 N5 w* a/ n

  672. 8 S/ ^: U' {2 p! S" h7 A% x5 g+ S
  673. ; PHP's default character set is set to UTF-8.
    + |% q1 m3 R7 F
  674. ; http://php.net/default-charset
    9 _6 h& X) a, b
  675. default_charset = "UTF-8"
    * S+ [/ K/ m1 J3 M. B1 H

  676. 0 I4 Y6 h9 K/ X0 O; a4 r
  677. ; PHP internal character encoding is set to empty.
      H# Y+ n, B- X' ^
  678. ; If empty, default_charset is used.
    ' N) j- g- U$ A+ ?5 Y$ ~) M
  679. ; http://php.net/internal-encoding
    # y6 q1 m5 R# C9 N0 O8 \/ X1 }
  680. ;internal_encoding =
    1 i8 \9 U) o" m, q2 O3 r* \' y
  681. ( J/ [: y* D2 P+ J
  682. ; PHP input character encoding is set to empty.9 c( F% u  ^- g5 B: Y$ y5 e; o
  683. ; If empty, default_charset is used./ f8 [; y2 s( S/ f& Z$ u; n
  684. ; http://php.net/input-encoding
    3 U1 U6 R! A* H0 U' U9 E: ~
  685. ;input_encoding =
    + n5 y6 T) u5 G3 Z- ]# _& o' Y. h* y% Z
  686. : o& c# P' B& w$ w7 o
  687. ; PHP output character encoding is set to empty.
    / _8 m5 L/ M+ V) @; N# M
  688. ; If empty, default_charset is used.
    9 G" F# t% ^9 K
  689. ; See also output_buffer.9 {9 T( _4 V; E. W  I' b/ O4 E0 U
  690. ; http://php.net/output-encoding
    & u# m  p; q* O. @
  691. ;output_encoding =
    4 G+ q( H0 h  i' l6 ^
  692. 0 _. J$ O5 c3 y
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;& f. F( C( Y+ ~; i
  694. ; Paths and Directories ;1 S, m$ ], }, O3 u& q6 a
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 U: ^# P1 @! h; {+ [% x7 k" J
  696. + E, }( {; e2 N
  697. ; UNIX: "/path1:/path2"
    ) a$ T3 Z2 U5 B  c* n/ ?, R& R
  698. ;include_path = ".:/php/includes"7 P  _( X# n% {0 W
  699. ;
    . ^  t& U& h, O* @3 V& V
  700. ; Windows: "\path1;\path2"
    * G* m6 F4 o4 A) V% u: }
  701. ;include_path = ".;c:\php\includes"- p) a( i+ r1 \! G  `' V
  702. ;
    9 T$ L1 s; ^* N. \2 T
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    / |3 S5 ~* b8 b0 Q
  704. ; http://php.net/include-path
    9 O6 L2 k3 T  L8 P7 s3 x

  705. + ^3 N' t% B9 T# X3 H) ~. O
  706. ; The root of the PHP pages, used only if nonempty.
    1 S% B$ w; a! h, q+ p
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + Y" C  r* }3 g4 W5 B
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ( l! x, J5 [7 o/ f0 [0 V; Z
  709. ; see documentation for security issues.  The alternate is to use the% ~) I$ ?8 a2 T
  710. ; cgi.force_redirect configuration below
    * E& g6 }/ N$ S* z8 {
  711. ; http://php.net/doc-root
    ' w% `& L% r, A. l
  712. doc_root =/ `: M9 {) D6 f; ?/ M5 D" i3 o

  713. ( f* f- V  z% a; i
  714. ; The directory under which PHP opens the script using /~username used only
    + S. X' A/ `  H( q
  715. ; if nonempty.
    3 b; z) \& X+ G0 c) n# _2 C" X
  716. ; http://php.net/user-dir
    % r) q: ^3 ?  W7 }. F6 b! e
  717. user_dir =
    4 H, i3 I1 i0 c- Y4 V

  718. % e8 R: C1 A! m# r) k" B" k/ r1 B4 D
  719. ; Directory in which the loadable extensions (modules) reside.1 h, s6 @) u" ]" k& `
  720. ; http://php.net/extension-dir
    ' |; s1 d4 _: q6 ~4 Y; M0 ^) O5 M
  721. ; extension_dir = "./"
    " T% |- l+ q) U7 F/ v2 u1 x. M' J) s
  722. ; On windows:
    # w+ Q, d" ~$ ]* w! }6 [$ y) n2 s
  723. ; extension_dir = "ext"# E2 r* q% e3 P& W, a

  724. 9 `) U4 G$ p2 ?! G6 [0 T: I2 Y
  725. ; Directory where the temporary files should be placed.
    * p2 Q+ |8 c$ I3 k% e" _
  726. ; Defaults to the system default (see sys_get_temp_dir)
      {3 x# ~! U9 y- b! a
  727. ; sys_temp_dir = "/tmp"0 b1 B" Z5 l# l/ Z* V6 j" |8 m

  728.   G9 B+ A4 R; B  @  B" |# M
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & z& N+ I' N5 Q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    2 i, Q2 v- ^$ R" j3 T
  731. ; disabled on them.
    " R: c! E; ^2 U0 g2 J  F
  732. ; http://php.net/enable-dl" Y) d1 J$ v* l2 o" x$ |
  733. enable_dl = Off( b3 U9 u! K& i. ]) [- Y& J& R: B

  734. 6 k& c' V/ w2 i3 r" x& l
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under3 ]' q# E% F2 @1 X; d6 ?! }! `# |
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , z9 E, u$ f) ]3 u% h4 n( P
  737. ; turn it off here AT YOUR OWN RISK
    + j& s: x: S. Z1 J* \. m& ?# d
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ m) r7 e4 M" ^4 a- Y
  739. ; http://php.net/cgi.force-redirect# j) O0 p& m, {! T8 }) r0 ^
  740. ;cgi.force_redirect = 1
    / Y, a6 l9 W2 }; I$ ]

  741. : _7 n5 i! `+ G4 P7 F, t/ b7 T
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with0 P1 I1 K8 C5 T7 q7 _8 K  H
  743. ; every request. PHP's default behavior is to disable this feature.
    7 }- T* _* i( C/ T
  744. ;cgi.nph = 1( L+ }" x8 V& o9 F1 ^
  745. 4 c8 c4 b" l" Y/ e. v, T
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 U7 V4 ]$ Z  C
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    5 o% n# m- r  T
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY" w& O5 J7 R; Q6 X0 }# }
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 ]; a' b1 T9 ~( [% n
  750. ; http://php.net/cgi.redirect-status-env/ z# W7 @/ A* f
  751. ;cgi.redirect_status_env =6 b) I9 g: d+ Z7 u( d* p6 j9 k
  752.   S1 D' I7 N) R9 X9 p
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" P2 ?3 Z9 R1 N3 [' l. F# H- {4 _
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok8 k% f4 L2 M' q6 G# r4 ~
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 x' F4 E2 x0 k( \, c" `4 u
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting1 P2 K# Y. T! X0 y
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      u' g& m% j+ t: {) X" R
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      X# Y# Z1 P( D5 G+ v$ P5 m
  759. ; http://php.net/cgi.fix-pathinfo- r4 T3 x  D  f+ E( O, t- m# @$ t
  760. cgi.fix_pathinfo=1! N% A" U9 v1 C$ M, U

  761. ) B& r+ v7 O3 X( p
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    . _; Z' [( e5 l! C' I% s& ^7 Z
  763. ; of the web tree and people will not be able to circumvent .htaccess security.- H% e; c4 Y6 C; b5 c; l
  764. ; http://php.net/cgi.dicard-path
    * v; a, l* f4 D1 \4 M0 F
  765. ;cgi.discard_path=1
    9 i7 f5 i% A# k
  766. 6 Y/ J5 Z7 E1 K: x# `$ S0 \
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ' I6 a. R8 \0 A* |3 y
  768. ; security tokens of the calling client.  This allows IIS to define the$ R; d* n& y8 w  e% N6 o# {4 a. V
  769. ; security context that the request runs under.  mod_fastcgi under Apache2 Q1 r, t: H4 L7 r0 H1 q
  770. ; does not currently support this feature (03/17/2002)+ O  k% H$ d5 A% x2 Z% q% s
  771. ; Set to 1 if running under IIS.  Default is zero.% f* d+ q. T" l* e* `, E" j, z0 |
  772. ; http://php.net/fastcgi.impersonate& B9 }5 w0 A/ d) D( d
  773. ;fastcgi.impersonate = 14 I  K7 u' {  i, F9 z
  774. ) k  }% z6 ~! o" k, R6 O$ N
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable& x7 J* n( L' C+ @8 e
  776. ; this feature.
    5 [" R3 r0 Q* a$ R& u
  777. ;fastcgi.logging = 0
    2 S5 h4 g6 Q  R+ k* y

  778. / F* f3 f& y0 M
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    # k- w" a$ A5 u% g  g. W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ; o6 e: t6 n$ ^4 R) x
  781. ; is supported by Apache. When this option is set to 1, PHP will send* g! A2 r' }& m& G0 p, n- H9 b6 ~
  782. ; RFC2616 compliant header.$ j: N( ], B' \: |7 C' A
  783. ; Default is zero.
    , W7 U& Y& k% P
  784. ; http://php.net/cgi.rfc2616-headers5 l; N. l8 b- e( X  M, I7 w5 ^0 }
  785. ;cgi.rfc2616_headers = 0
    ( C; E- C" \' g, n

  786. ( n+ x; R3 L; y- p6 t
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- B0 L+ u0 v6 ^3 M* E, u
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ o5 L" N9 E1 x( H1 \& v
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 t9 `& \0 Z1 d: s
  790. ; mode skips this line and ignores its content if this directive is turned on." d% i  y* m8 e
  791. ; http://php.net/cgi.check-shebang-line" `0 }1 U) b' `3 N$ r0 ~
  792. ;cgi.check_shebang_line=1
    * V; h" H6 T& V7 i5 u

  793. " E. E3 r5 Q9 r2 Z8 D$ j
  794. ;;;;;;;;;;;;;;;;1 Z* y4 }! ?7 X
  795. ; File Uploads ;. R0 q& R- A! H: ~( W* k
  796. ;;;;;;;;;;;;;;;;1 u" s1 F  e* z, F+ w1 l& s
  797. . C' ~+ `# Z4 E6 B+ ?- s
  798. ; Whether to allow HTTP file uploads.8 ^- u9 _4 q2 u' ^! m( a! s+ p
  799. ; http://php.net/file-uploads, N5 b9 R7 `/ ~. Y# O' Q9 m
  800. file_uploads = On
    $ L5 Y8 S& l- i
  801. 9 Q; r- {  f  F. S; c1 g
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! @* @3 a: U' U# g" e7 E
  803. ; specified)." @9 |  h: r, a5 B5 \
  804. ; http://php.net/upload-tmp-dir+ }* \6 R& K) {0 u' b& m& I, u
  805. ;upload_tmp_dir =
    6 y4 s0 n1 l# H

  806. ) T7 B( b. P% P/ S  H" U4 G
  807. ; Maximum allowed size for uploaded files.
    % `* P1 ]9 k/ K8 E9 |; R
  808. ; http://php.net/upload-max-filesize
    ) [: @  B* r+ S' D
  809. upload_max_filesize = 50M
    / Z- |" U' t, Y9 x
  810. ! r; {5 T, m8 f0 i
  811. ; Maximum number of files that can be uploaded via a single request
    ( S* l: U" G2 ]7 c2 W3 I
  812. max_file_uploads = 20
    3 {" G7 R& \# ^5 f+ ]* m$ a

  813. ' v9 m$ u2 q2 \0 a4 d. x/ v
  814. ;;;;;;;;;;;;;;;;;;
    ( k" u5 u  d# ?1 V
  815. ; Fopen wrappers ;
    3 U. x5 d- k6 ~$ p
  816. ;;;;;;;;;;;;;;;;;;
    , B2 ?, ?  g( p. S& z, \

  817. / `# s, _' f* D1 `' k- S
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.' q. J+ t4 H' d; ?
  819. ; http://php.net/allow-url-fopen
    ! B7 [. q& c+ e: U
  820. allow_url_fopen = On
      R5 c9 {7 X- ]7 b
  821. # ], Q+ D+ q+ T9 p( g
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.0 w1 d7 c- o* @* [9 D
  823. ; http://php.net/allow-url-include. Z* f' ?1 @' I; }6 u
  824. allow_url_include = Off* v6 X5 e8 S9 c- }+ E

  825. . f, @- s  p7 X3 _; C, y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 \( H; M" H6 q
  827. ; for this is empty.
    ( t2 S* H8 S1 S; s( z3 \- s+ c
  828. ; http://php.net/from
    - z  b* z6 B+ H1 B+ i
  829. ;from="john@doe.com"
    3 e( N" Z$ ^7 Y2 O0 u( G$ C6 y
  830. 6 V7 F" p" G5 k" a6 r- O2 n
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    # t- ~5 _1 D- }. t- `& @
  832. ; http://php.net/user-agent
    + }9 F6 [( q: Z0 L; w2 d2 W
  833. ;user_agent="PHP"
    ) ~" K$ S8 R3 u, W+ F1 S! G/ P2 f

  834. 0 D2 u+ |& ]; G0 Z: Q  `' Y$ m. _
  835. ; Default timeout for socket based streams (seconds)! c3 z! s8 U; t
  836. ; http://php.net/default-socket-timeout- `9 W8 D) O+ P! ?
  837. default_socket_timeout = 601 `8 U1 M$ {8 M! v

  838. 8 t% _" _* i( V5 a3 V1 c
  839. ; If your scripts have to deal with files from Macintosh systems,9 K7 Z9 y) v9 ?6 W  }1 r
  840. ; or you are running on a Mac and need to deal with files from+ i) I( \- y. o* I4 o
  841. ; unix or win32 systems, setting this flag will cause PHP to
    $ L$ u: a6 L) F' T1 h7 |
  842. ; automatically detect the EOL character in those files so that1 k8 R9 \* I5 i0 h9 M4 z
  843. ; fgets() and file() will work regardless of the source of the file.9 \4 S  F4 m% t0 r3 g8 F
  844. ; http://php.net/auto-detect-line-endings
    5 J; z; F+ a( Q, d! S4 I" b" S
  845. ;auto_detect_line_endings = Off
    + H/ j9 P- R  z  N8 D

  846. 1 I5 y7 ]5 W, U! G) q5 R
  847. ;;;;;;;;;;;;;;;;;;;;;;
      u; P. ^' G* V9 L3 c. H
  848. ; Dynamic Extensions ;& p! Y2 ]' L. L
  849. ;;;;;;;;;;;;;;;;;;;;;;
    1 N* ?  R  z- C7 K3 y

  850. 8 F5 A  L2 j" b; k
  851. ; If you wish to have an extension loaded automatically, use the following1 v* x5 Z2 A- e
  852. ; syntax:4 O& [* o/ K' U6 y% j; F
  853. ;* C) H5 o$ I& H+ U% Q
  854. ;   extension=modulename.extension
      g& ]3 u8 m' z  m  K$ c
  855. ;3 r% D7 {: v. U* ]0 |
  856. ; For example, on Windows:
    # U! ~3 [. a" [/ E9 ^1 E* \
  857. ;& c) v7 v1 p+ |1 s" d5 n
  858. ;   extension=msql.dll
    ; f! q2 x( J5 B2 \, p( s
  859. ;
    - G% h1 {4 {  D
  860. ; ... or under UNIX:
    ; @% w+ ~( _; U! g0 a
  861. ;. ]( s/ B4 R1 ?- C
  862. ;   extension=msql.so& }) m- z; i0 y5 o- {
  863. ;: q1 t) a2 `5 L4 Z4 z8 x. `/ R/ S/ H  D
  864. ; ... or with a path:; D" g2 ^* i1 w
  865. ;
    . k! s8 C2 S, ?$ r2 X
  866. ;   extension=/path/to/extension/msql.so
    ( m; A+ s. S3 q' s; ?
  867. ;3 F4 K, |0 c1 b' J
  868. ; If you only provide the name of the extension, PHP will look for it in its' h7 m! ?8 Y5 ~; @
  869. ; default extension directory.
    ( Y8 i" h% W( O9 I
  870. ;
    . Q1 j, n, Y0 u
  871. ; Windows Extensions
    . k3 R) [2 ~6 [! Z% y+ Z
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    , v& h7 D# B8 P( g3 Y4 ]. C. t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    7 H; w2 C/ T1 {
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ! [( p- P1 @2 ]: A
  875. ; Be sure to appropriately set the extension_dir directive.
    / m  ?4 T, i( O$ U0 E9 R, e
  876. ;
    8 y" g# x9 M+ |$ M+ M
  877. ;extension=php_bz2.dll) ^& |+ H( T% w1 Q& ?
  878. ;extension=php_curl.dll
    6 S* e8 d+ e$ M) o: H$ n
  879. ;extension=php_fileinfo.dll
    8 c' T! R7 u+ l$ h, U
  880. ;extension=php_ftp.dll# ~! J7 O+ r6 h# W
  881. ;extension=php_gd2.dll
    + K1 A2 I0 D" H. u0 H% i, a: {
  882. ;extension=php_gettext.dll
    ) d% `" H/ h. B3 Z7 X
  883. ;extension=php_gmp.dll
    ( m* {/ _2 {# w! P% e! Q
  884. ;extension=php_intl.dll& h/ c# y9 ], S( {, _
  885. ;extension=php_imap.dll# C; O! _+ A' ^9 d6 w
  886. ;extension=php_interbase.dll* M0 g) X1 D1 \  Y
  887. ;extension=php_ldap.dll: B. L' C( p9 F. v1 c
  888. ;extension=php_mbstring.dll. N- m7 b' l7 r# G) v
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( U/ u# i& k1 x1 i
  890. ;extension=php_mysqli.dll
    3 [  i! y& f' }. \) |. }: C- |* A
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; x! B; k* K3 f, y
  892. ;extension=php_openssl.dll
    ; K4 @# M  ^6 ^: v0 ]
  893. ;extension=php_pdo_firebird.dll; W) ]" L# l1 R6 L. r2 R, g
  894. ;extension=php_pdo_mysql.dll
    8 W3 g7 X) `  `1 M0 ~. k/ [$ y
  895. ;extension=php_pdo_oci.dll" Q9 f' H. A: X5 m; T
  896. ;extension=php_pdo_odbc.dll
    ' [3 }, t, X! A$ Y
  897. ;extension=php_pdo_pgsql.dll+ c0 W2 I: Y5 v3 t' _
  898. ;extension=php_pdo_sqlite.dll
    ! _, n; X9 i1 s. K" P4 Y4 S) }8 a
  899. ;extension=php_pgsql.dll9 ?+ F. v  F7 q$ |
  900. ;extension=php_shmop.dll# `/ O, V4 ^" Q) X+ N( a4 e* S

  901. ( S  v+ _9 M3 Q1 A& q
  902. ; The MIBS data available in the PHP distribution must be installed./ ]5 G! c( N/ X: _  l% T
  903. ; See http://www.php.net/manual/en/snmp.installation.php7 j5 [* ~) r6 O, `
  904. ;extension=php_snmp.dll
    * z$ v) I3 n; ?. {9 w

  905. ; m, n% y5 f) x7 K) _& @; f% d
  906. ;extension=php_soap.dll
    1 J! f! R  _- P% S9 f: ?3 H
  907. ;extension=php_sockets.dll) q9 H( ^& q$ N" e' t4 [
  908. ;extension=php_sqlite3.dll
    ; |2 H2 O# }& z) E
  909. ;extension=php_tidy.dll. U* w" H: F5 W9 [1 m: V2 u
  910. ;extension=php_xmlrpc.dll8 f0 T4 q  ]1 n' }# Z6 ]8 `1 [$ w4 B
  911. ;extension=php_xsl.dll  X2 S  W# K2 F& e
  912.   {: \8 \; `9 }) O: u6 t
  913. ;;;;;;;;;;;;;;;;;;;+ R2 S& q& m2 e. ?' T' l" W, X
  914. ; Module Settings ;! [8 \: Y  {9 {8 {8 m
  915. ;;;;;;;;;;;;;;;;;;;% f4 J* t# G- e5 K
  916. : e, b3 I+ e9 u1 O' B# D
  917. [CLI Server]
    3 g0 e; N6 a8 q9 t( u0 W9 G
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    $ O) @! N1 V1 a9 K1 u0 k! d0 d
  919. cli_server.color = On
    + K4 g0 S5 B' K8 p/ H! e: Y4 ?
  920. 0 C9 Z* p' S; H3 T! ~
  921. [Date]; T- F( R6 g; H4 s0 W$ W; r
  922. ; Defines the default timezone used by the date functions3 P3 p4 D) n  O- @  V9 }4 K
  923. ; http://php.net/date.timezone. U2 I* |8 g+ T3 g9 _/ J
  924. date.timezone = PRC
    # s% E  o# A4 u) t  Z

  925. 7 G8 a, }6 i" |3 H
  926. ; http://php.net/date.default-latitude$ r! m* ]' e3 l9 @$ ]8 U* j& a6 b9 t; }  Q
  927. ;date.default_latitude = 31.7667
    ! Q1 @; g4 [/ }* w) q* K6 d1 [
  928. % m* o" Y0 g4 o. f# ~
  929. ; http://php.net/date.default-longitude
    % P$ b# [2 H- Z" i) n
  930. ;date.default_longitude = 35.2333
    1 B+ l3 V4 l9 M; O
  931. - o& W* U: X/ O6 H
  932. ; http://php.net/date.sunrise-zenith+ h1 d$ j; F) s
  933. ;date.sunrise_zenith = 90.5833339 {" o5 @9 T! c6 C% S5 T# z0 x
  934. % m/ Z. [1 e9 i- z8 S+ g+ D% w! ]1 _
  935. ; http://php.net/date.sunset-zenith* C) @( C- x6 o8 e! H% J: q4 P
  936. ;date.sunset_zenith = 90.583333( f" ]6 B& a0 _/ ^! Q
  937. 9 X: c% ^1 [; K# c
  938. [filter]* g* [' H, `* M) \( K3 [" K  E+ K3 c  E
  939. ; http://php.net/filter.default1 h7 U5 H+ A0 M: n& p7 _8 i
  940. ;filter.default = unsafe_raw
    4 X; ^5 k9 f! h2 v6 V% I+ Q4 ?

  941. ; I: Q' H% H+ ]( f
  942. ; http://php.net/filter.default-flags
    - @; B- y, E: D! c8 U8 H2 k. Z$ y
  943. ;filter.default_flags =: u9 J4 P$ h* E6 a- i
  944. : [* t  L9 q) r. ~0 V
  945. [iconv]
    " c: T( _% z$ ?1 T  X
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.7 N: F5 ]8 r4 b/ W& c
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; t1 T2 X7 Z% P& b
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    2 ^' z+ A- M8 z5 D$ v, g
  949. ;iconv.input_encoding =
    , b' z7 ~  x4 n6 l. j( ?
  950. 0 m* M6 F- j' A7 e9 j4 L
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 s5 P5 O; `) Z7 c& r1 V( }
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; `4 O: f% p! y2 q+ Y* \$ C% }
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 U6 R: {6 k6 d# f1 S7 I0 ^
  954. ;iconv.internal_encoding =
    3 X& K$ {/ }7 T" I9 Y" B" R
  955. 7 |* _3 X' D, F+ i9 C: z( ?1 E
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.( O* a5 C2 _/ J! @' h& l
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 K* j, I7 z' I) E% Z& O
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! ^/ ^8 a5 Q" C+ O. z
  959. ; To use an output encoding conversion, iconv's output handler must be set
    . C. b! n+ Q3 n- c% l7 D6 \2 u
  960. ; otherwise output encoding conversion cannot be performed.. z% q4 l1 a- x  [* [5 o
  961. ;iconv.output_encoding =
    : x8 H' C% E, M& P5 w* g
  962. * X& _. m, {" B( u6 W( E) ^' r
  963. [intl]
      d! L9 ~1 |8 d) z4 f0 {3 y
  964. ;intl.default_locale =
    ; z3 L/ Q. E" o% V
  965. ; This directive allows you to produce PHP errors when some error$ s4 X2 d! R% d% ?4 m* h& f5 F
  966. ; happens within intl functions. The value is the level of the error produced.
    6 [2 A9 ~$ t2 m/ ~. |. l& z* O
  967. ; Default is 0, which does not produce any errors.
    ) k( z$ W( g, z, v0 t2 k+ R- S
  968. ;intl.error_level = E_WARNING
    ' w* A5 }& D% a0 t; f: n
  969. ;intl.use_exceptions = 0
    : |9 Q" g0 I: J1 Q1 X& r3 p3 a

  970. # s; _' y' k" ?/ q: i5 o9 a
  971. [sqlite3]
    8 U4 \: X' T) q' l
  972. ;sqlite3.extension_dir =
    % N- A% u9 H, ]  O+ x. F
  973. % G( z/ c1 w! r; y( X
  974. [Pcre]: z) R. V% f' s) e( w7 i
  975. ;PCRE library backtracking limit.$ R  [* ?$ w  m+ W! B5 p5 E
  976. ; http://php.net/pcre.backtrack-limit
    $ A- I; C+ J8 I. y1 o2 W2 E
  977. ;pcre.backtrack_limit=1000008 Y' ?/ l$ U  x6 U8 S7 m0 h  m& K

  978. , q& N2 p4 H' F4 K* T' ^9 h* u: R3 Y$ c0 i
  979. ;PCRE library recursion limit.! Z; H6 w; q( ]9 k7 K1 ~
  980. ;Please note that if you set this value to a high number you may consume all1 {# W! ~4 g; _) `7 c
  981. ;the available process stack and eventually crash PHP (due to reaching the7 a, S+ p* L8 G& F/ k! ]8 J
  982. ;stack size limit imposed by the Operating System).
    . I6 E' G; h7 Y+ W2 a: l  G& R
  983. ; http://php.net/pcre.recursion-limit# C4 y! R  N- h1 N# V
  984. ;pcre.recursion_limit=100000
    . _' h* z) p1 |0 ~$ I$ Y. i2 X

  985. . F. K! v: S0 o" V
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE. Q" m! _* A& h9 a
  987. ;library to be compiled with JIT support." H: D- V5 a7 l: k6 W5 z$ C
  988. ;pcre.jit=1' u. X% [, @7 K% O4 N

  989. - X$ g( |4 {6 F6 X
  990. [Pdo]
    1 ~- v4 Q1 x3 V9 A" u6 o/ w- F
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : f' x4 ?, P. \, v
  992. ; http://php.net/pdo-odbc.connection-pooling" X- S* I( C9 W" P
  993. ;pdo_odbc.connection_pooling=strict
    , I. o- X5 D( f+ o5 F
  994. . P; L6 N* a  e" Y7 c# H2 m. z2 ^
  995. ;pdo_odbc.db2_instance_name3 R# k6 g; [& ?. O# n

  996.   s( \! P4 Y4 |) N. t& n
  997. [Pdo_mysql]# {  S- R5 \3 e- Y5 A7 Y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 Q' `% t% y! B& J3 z
  999. ; http://php.net/pdo_mysql.cache_size
    2 U6 h% \' @! A& `1 c, G
  1000. pdo_mysql.cache_size = 2000. T/ u. B. s: i, P7 x  n2 }

  1001. ' M* n2 ~) H. y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' J3 [6 G6 v: w" e5 l. T/ V9 z: i3 t
  1003. ; MySQL defaults.
    1 T3 q% [; G# V2 g2 l% y4 d
  1004. ; http://php.net/pdo_mysql.default-socket1 I8 K$ Z  E, j: p7 F4 ^2 H
  1005. pdo_mysql.default_socket=# E" x6 @* H9 ^2 U' Z- q# r2 \
  1006. ' Q- u9 @0 e" X& {. y8 y8 m' T
  1007. [Phar]
    ; R! r, n4 ?# A! P, X# _3 L
  1008. ; http://php.net/phar.readonly! T6 `/ ~% x8 j, R* Y3 j
  1009. ;phar.readonly = On& j6 E) y1 W2 |, m! o! `

  1010. % d: D+ {* O5 G( j1 C/ m% ~5 _
  1011. ; http://php.net/phar.require-hash
    ! E* A( c, M! G. E& x
  1012. ;phar.require_hash = On( n/ f! a7 }0 C  m) v( U+ c8 z4 K
  1013. 1 @9 S1 }' ?8 _1 y) U( H- I
  1014. ;phar.cache_list =
    ) J/ U& q" p" J" T& j$ _

  1015. 0 k; l; y0 b# M' M) y& _; P
  1016. [mail function]
    7 f4 l4 M. Q3 A! W9 c/ B* v+ ^
  1017. ; For Win32 only.5 w: P4 `/ z+ w7 b: y: I
  1018. ; http://php.net/smtp
      S, `8 o' f& x! i; {- N
  1019. SMTP = localhost9 Z' ^6 l# W+ w
  1020. ; http://php.net/smtp-port6 n3 d2 _1 Q' U" t* Z( K, R
  1021. smtp_port = 252 u5 |) j' P6 ]
  1022. 3 I4 z, r9 v6 e, L& c! P+ Z: J
  1023. ; For Win32 only.+ ?/ ~  a4 ?) o9 @* w
  1024. ; http://php.net/sendmail-from' O0 j4 s; _2 u; E! I6 W+ }! {
  1025. ;sendmail_from = me@example.com( i2 e; ~% ]0 _3 v, W9 P& K) S6 K8 B
  1026. 7 z4 P3 I7 s3 m. T) k5 S9 g+ D! m
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").( A8 G/ }+ e0 v
  1028. ; http://php.net/sendmail-path
    : A1 L- \4 B# e/ k/ e( a
  1029. sendmail_path = /usr/sbin/sendmail -t -i7 j& W4 {1 _2 g1 N, E2 p  S
  1030. : [8 ]* i/ B4 O5 ?* V
  1031. ; Force the addition of the specified parameters to be passed as extra parameters- `! J# F- ?( c( O+ ~
  1032. ; to the sendmail binary. These parameters will always replace the value of  W% C3 q  T; ^9 q9 u( Y
  1033. ; the 5th parameter to mail().- I; s5 A/ }* N) B$ B
  1034. ;mail.force_extra_parameters =
    * [6 @* X! v& p9 Y, ?' q

  1035. 1 x/ D, E2 t/ c( c8 z& {
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    : a  _  V6 r4 G1 {" o8 r' A6 _
  1037. mail.add_x_header = On9 Q: Z& v+ ^8 s- S  O
  1038. , k3 j1 b3 W! N+ |
  1039. ; The path to a log file that will log all mail() calls. Log entries include9 v$ I( V0 `* R. K
  1040. ; the full path of the script, line number, To address and headers.
    2 y/ Z. b/ @/ v- F
  1041. ;mail.log =$ A) X, ~9 ?/ x9 b  ]
  1042. ; Log mail to syslog (Event Log on Windows).# c+ s3 X9 |8 O7 E! e+ {
  1043. ;mail.log = syslog
    - S& W8 t! `1 `) w+ z5 ]
  1044. 8 A4 ?5 F; b9 X# P9 C1 p; o' Z7 B. J
  1045. [SQL]
    , [5 W  f! ]3 H* [
  1046. ; http://php.net/sql.safe-mode: n; c: x7 n: N1 _4 z% e
  1047. sql.safe_mode = Off
    ( E5 I, p& h0 J7 C
  1048. & L1 c( K( ^! p. ?2 X5 _: t
  1049. [ODBC]& V  X* r1 _% b, Y! f) x; w: h
  1050. ; http://php.net/odbc.default-db' `9 w2 \$ ]2 q0 @1 s
  1051. ;odbc.default_db    =  Not yet implemented1 {- @7 G3 t) k

  1052. 8 q: ?% n, _, ]
  1053. ; http://php.net/odbc.default-user
    ) Q, z* S- C+ N  n  W3 z* s% w6 t
  1054. ;odbc.default_user  =  Not yet implemented& C; j' @! d3 J
  1055. 2 q; d2 s% R8 o8 `- }! P
  1056. ; http://php.net/odbc.default-pw
    , ^9 i( g. k7 W. I2 S  v
  1057. ;odbc.default_pw    =  Not yet implemented3 x) G! P9 L; K5 q( L- N6 G& o
  1058.   Y+ Q9 {+ `' N& d8 M
  1059. ; Controls the ODBC cursor model.
    $ Y: b2 A% j; v  h
  1060. ; Default: SQL_CURSOR_STATIC (default).
    6 c2 G0 B4 d- r: E$ F, p* @
  1061. ;odbc.default_cursortype
    5 ~: N+ m, L7 [. o
  1062. 7 L* {( t! s: z2 A
  1063. ; Allow or prevent persistent links.
    ) d( C1 k: b# j9 r$ A9 ~  Y% I; z4 ^
  1064. ; http://php.net/odbc.allow-persistent( D0 L' n- Z+ X% j4 t8 l7 o
  1065. odbc.allow_persistent = On
    - ^$ k, s- r; ?& }1 f& U7 F4 O

  1066. ' a9 L: ?( b; e; ^* a) b3 d
  1067. ; Check that a connection is still valid before reuse.
    3 X; e5 H" ]5 n
  1068. ; http://php.net/odbc.check-persistent
    5 s+ D% u' K) w% g6 J
  1069. odbc.check_persistent = On
    + `& {! z4 i& U5 ?
  1070. ) s5 y% _% @* b+ V( x
  1071. ; Maximum number of persistent links.  -1 means no limit.
    5 j. {8 q; k" X2 l1 D  e
  1072. ; http://php.net/odbc.max-persistent
    6 L9 o1 V; c3 u/ n  m$ T  {
  1073. odbc.max_persistent = -1& N4 f# I) J% W6 j) s7 ?- Y6 t/ S! P

  1074.   Z! g# E6 f! Y+ e' {' Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' H. Z5 z1 W  i* }% S9 O% q
  1076. ; http://php.net/odbc.max-links
    4 G5 B' C2 u( @( e$ b" e
  1077. odbc.max_links = -1
    ! ~  p- ^' [' ^4 _7 X% Q5 h

  1078. - L$ C$ n0 k8 X& M4 h! w6 D
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    5 h# ~+ ~, S! W, A* J4 u9 s! |7 t
  1080. ; passthru.+ {+ `; S' G  R4 V
  1081. ; http://php.net/odbc.defaultlrl
    : n( r/ a+ Z: G: y
  1082. odbc.defaultlrl = 4096& j; H1 Z9 ]* c$ ^3 F4 Q0 ^9 |

  1083. , E. @9 @- D6 f" i! j. Y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 P3 r6 D. V' q2 e5 ?
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 ?0 S8 X, i6 A' ^- ~' _7 Q
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode* ~% X( l  m+ |$ X! L
  1087. ; http://php.net/odbc.defaultbinmode6 K& g! H6 d3 U& T3 f; K
  1088. odbc.defaultbinmode = 1/ ?" H8 |2 @/ U" h/ S
  1089. : a% S3 H  q4 u/ a5 v1 k1 u
  1090. ;birdstep.max_links = -1
    5 v6 `/ T$ L, Q" v
  1091. / |' y" p) Q. w+ @  p' E" {
  1092. [Interbase]
    9 W/ q  W" l- W5 }' J' p
  1093. ; Allow or prevent persistent links.4 G$ x+ l$ G8 O" f" B& f) X' R6 `
  1094. ibase.allow_persistent = 1
    , d6 {% y! _7 M1 C8 p
  1095. ! h: J4 y( V% W% U3 J
  1096. ; Maximum number of persistent links.  -1 means no limit." M  `" Q9 D% [: X7 r8 K
  1097. ibase.max_persistent = -15 M: Y6 s0 H' z7 Q% T& k3 P" [. c/ n+ V
  1098. 9 s$ e' L# b+ ~& @% ?' W
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  ^( P1 w% ~$ b$ k0 ~  \
  1100. ibase.max_links = -1
    0 I, H0 V# C/ H3 O+ c; w
  1101. 9 F% E+ S/ ^6 I$ W: P4 l5 \" g5 |4 O
  1102. ; Default database name for ibase_connect().9 C: G* B! h. e8 L2 \
  1103. ;ibase.default_db =+ d# S# M: d5 C# N) \% z: Q7 L9 i
  1104. 3 a  b/ V* K  l9 F- I
  1105. ; Default username for ibase_connect().) O; `5 j0 A* F6 Z5 a7 O7 K; _+ v
  1106. ;ibase.default_user =: y6 z8 ?6 I( C: ?- K! W

  1107. 8 S* w( m  t. W& ]
  1108. ; Default password for ibase_connect().  ^1 @5 r1 u2 L0 n0 K( O) E$ ~
  1109. ;ibase.default_password =+ y/ P& }5 ^8 f4 P. g% i( K) z

  1110. & W1 \/ o6 \- }8 Z3 N$ V
  1111. ; Default charset for ibase_connect().% @* k, P% D6 X& R
  1112. ;ibase.default_charset =
    ) Y5 V: c. t+ Y

  1113. % r! ]: Z0 V7 `2 I! n
  1114. ; Default timestamp format.
    # c5 {& `/ U( s% \+ y) t
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ }0 b" i3 @' P, [4 l# [) K

  1116. / g7 h& m5 N  P% {: D
  1117. ; Default date format.
    0 a. c- y" q! k
  1118. ibase.dateformat = "%Y-%m-%d"
    9 J: h! }4 A. u( _7 t

  1119. ' {; x; N7 ?' L# P2 |& i% }9 T
  1120. ; Default time format.
    / t$ s' T+ ^) I$ y1 S: |5 h5 D
  1121. ibase.timeformat = "%H:%M:%S"# s- g5 o! c: b9 Z1 H8 ?7 c) t+ Q! Q
  1122. 8 b: S4 [/ O0 ?
  1123. [MySQLi]
    / U, M2 V; Q0 T
  1124. / R7 ~4 t, J+ i3 R0 D2 I
  1125. ; Maximum number of persistent links.  -1 means no limit.
    7 u3 j; k. S7 j+ Y2 D
  1126. ; http://php.net/mysqli.max-persistent
    $ w/ x/ \7 c- }! T' H0 J+ A2 [
  1127. mysqli.max_persistent = -1
    / I+ J: ^8 v& q, a& ]: J2 T
  1128. - E5 _3 Y# r/ _
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; ~7 d9 ]# q1 K! R
  1130. ; http://php.net/mysqli.allow_local_infile
    ! X4 v. z& c) v) ~; T: J/ a- b
  1131. ;mysqli.allow_local_infile = On
    . v+ k6 H1 o+ }; r" R0 g$ e
  1132. # s8 B$ ]$ r! N) _$ U- U. B
  1133. ; Allow or prevent persistent links.$ `5 r' y4 Q' [! i  A, _. ^0 Q
  1134. ; http://php.net/mysqli.allow-persistent6 m  l4 M( H9 m6 V1 ~5 J; N4 I8 f4 r
  1135. mysqli.allow_persistent = On
    8 J$ B# d$ l$ x$ W/ l1 h1 ^
  1136. * n3 e. J' C/ k5 w: C9 t+ M! J, C
  1137. ; Maximum number of links.  -1 means no limit.) n5 @* W( C1 I
  1138. ; http://php.net/mysqli.max-links; U& A) [  ]0 `3 y
  1139. mysqli.max_links = -14 o3 T* M4 ?; o/ j  X

  1140. 4 _( t" r8 p+ @. F
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 l+ ]" t* K0 X! U: t
  1142. ; http://php.net/mysqli.cache_size
    * w( i8 W0 c5 r- v7 C5 S
  1143. mysqli.cache_size = 2000
    ! k/ Z+ w0 @8 \, _

  1144. ! F9 y$ s, |5 H% V2 q  Z0 o
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 g9 Y; h8 b% g" {7 D
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % w# n8 L, U& a
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) x% I2 D, m. O; g* }
  1148. ; at MYSQL_PORT.; I( K1 O1 n* j
  1149. ; http://php.net/mysqli.default-port7 ?# I$ P5 B) M0 s  K
  1150. mysqli.default_port = 3306, M1 \& e9 i9 U

  1151. 2 A- N# i* @( p
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in! z0 Y2 L6 z+ L/ T
  1153. ; MySQL defaults.
    1 S+ ]- y, O, S8 ^5 E
  1154. ; http://php.net/mysqli.default-socket
      o9 a) ~. i- _8 f+ c4 ^/ j
  1155. mysqli.default_socket =, E8 s/ W1 D" Q! O) I9 Z8 T
  1156. + w* E, r5 i/ w
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    6 X/ u' }, j8 _# i
  1158. ; http://php.net/mysqli.default-host
    ' T# |- N! ?- p0 Y/ b
  1159. mysqli.default_host =
    8 \. Q! K/ k  q+ t, K! M# Y

  1160. ( m2 ]7 d% g" ?, e" U
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
      [; ]8 C/ B" R4 M* r) r! @/ p" v
  1162. ; http://php.net/mysqli.default-user
    2 g0 v2 A8 w. m, T
  1163. mysqli.default_user =9 U$ o* E' g3 G  Q7 c6 i0 A

  1164. ; R0 x% w% R3 \9 b$ F) T
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. a! s& M  i1 R5 f7 x
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.$ A+ i- [! d3 v- R+ B2 O" s' v; D
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " z3 K3 J- j6 L2 F$ k$ X
  1168. ; and reveal this password!  And of course, any users with read access to this
    4 r7 x. [& O* ]1 G
  1169. ; file will be able to reveal the password as well.1 v  u6 l- u2 c0 M
  1170. ; http://php.net/mysqli.default-pw9 c9 K* U9 `2 I2 h4 [
  1171. mysqli.default_pw =8 G7 k; R- q+ \0 J
  1172. 4 Y8 P3 h- a2 J. x& X# P/ w
  1173. ; Allow or prevent reconnect" h" A- W1 G$ ]/ s
  1174. mysqli.reconnect = Off$ h" L% `( s# \" u8 ^

  1175. * U- R- V5 z) `, O0 s5 n
  1176. [mysqlnd]
    . C( B: B7 l$ ~/ \/ a! _. {( i
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    $ z3 G1 n2 `) `- j& H
  1178. ; used to tune and monitor MySQL operations.
    3 q! Q. Z! p" r5 x$ n, N' {
  1179. ; http://php.net/mysqlnd.collect_statistics6 Y' Y. S$ G3 D' @) m, k
  1180. mysqlnd.collect_statistics = On
    7 y9 C# y) ?+ _$ v6 ]
  1181. $ Z+ P+ E! F  B% b2 `7 M% y7 ~  t
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 [( n3 K7 r& e/ T* ^
  1183. ; used to tune and monitor MySQL operations.
    - Z& [8 Z5 `" a$ j  g, ^) E" |4 S
  1184. ; http://php.net/mysqlnd.collect_memory_statistics) A9 J& b* Z) d
  1185. mysqlnd.collect_memory_statistics = Off6 Y" O. j7 g! Q

  1186. + L+ O$ B& h  L- y0 j) p
  1187. ; Records communication from all extensions using mysqlnd to the specified log- ^% \  B& A' W
  1188. ; file.2 G/ p2 ]5 M+ ]5 g& q. d
  1189. ; http://php.net/mysqlnd.debug
    ( {- F% Y3 R% U5 F
  1190. ;mysqlnd.debug =
    # j8 Q0 ^# r' h9 j; A: F" k

  1191. / f) N1 B3 j0 G% X; o0 w
  1192. ; Defines which queries will be logged.
    , [! e+ W( c) I/ ^' f9 k
  1193. ; http://php.net/mysqlnd.log_mask
    * ]/ g6 P8 a0 K: x5 L
  1194. ;mysqlnd.log_mask = 0: R( M+ g) c' q/ r% ~7 F
  1195. 1 }( r3 r* b* ~9 Z2 B+ n: T
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.$ D2 I) g( u3 {. i, C
  1197. ; http://php.net/mysqlnd.mempool_default_size
    % U# w. Z1 X' F, N2 _
  1198. ;mysqlnd.mempool_default_size = 16000% s- ?: k  i% i( P5 }

  1199. 7 _- F- M. S; L& m( j, |5 |
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 a6 @0 |! k2 P/ d4 W
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size, Z$ L  o1 `' {9 ?+ d
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    5 `. f9 H- `$ o, L3 [; C
  1203. 6 e  Z( p6 W+ U4 T0 \
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in9 V% T5 h" X7 h! Q7 p# Y$ E
  1205. ; bytes.
    5 H. ]; r  S. T) c+ F
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ( l' D& ^' U) X1 ^" i: ]: B3 Z$ ^
  1207. ;mysqlnd.net_read_buffer_size = 32768
    & f* B/ B5 V; A3 [; S

  1208. + w( l: L- U0 {" U6 U5 T+ k* e
  1209. ; Timeout for network requests in seconds.! g7 I: |7 L" N1 \0 h; H  P
  1210. ; http://php.net/mysqlnd.net_read_timeout9 q" t0 \+ u) S3 h+ d9 N# o! E
  1211. ;mysqlnd.net_read_timeout = 31536000% n# G8 R/ ?" P, \+ T9 O

  1212. " q- e% M) `" ?- _3 o$ O9 o
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , V$ m2 Q& x5 h& C3 i
  1214. ; key.
    ( z7 X4 c6 P5 t' J4 o! \" j9 }0 k
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 p" o: K4 Q6 A, C2 u( C
  1216. ;mysqlnd.sha256_server_public_key =9 C) ~3 ^, L  F! Y" Q  |/ ]
  1217. $ G3 ?& D( _& R. T
  1218. [OCI8]- F4 f' t/ ~+ E0 _4 M3 g$ w

  1219. 9 Q- `& O( o2 |/ l% Q4 r8 a9 t
  1220. ; Connection: Enables privileged connections using external# J# c+ o9 u' o3 i2 G2 E) _' v3 l
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)' W  r( t1 w, S  e) u4 J
  1222. ; http://php.net/oci8.privileged-connect
    2 Q. ~* Z% Q% D$ B4 s( J
  1223. ;oci8.privileged_connect = Off* I& R  L0 K* K8 P5 Y
  1224. 5 ]- A5 Y+ \8 U* y. e6 h4 {
  1225. ; Connection: The maximum number of persistent OCI8 connections per
      h8 a+ n1 P' D( s6 R. ^; U
  1226. ; process. Using -1 means no limit.
    9 V3 c7 f+ M) _8 ?9 m! g$ G0 j
  1227. ; http://php.net/oci8.max-persistent5 s* i' V8 a7 e8 Q2 D& p% I2 [
  1228. ;oci8.max_persistent = -17 T4 L/ S0 N/ V, j& b% u
  1229. 7 h* j5 p& p6 h  t; ~' J! B# v$ e
  1230. ; Connection: The maximum number of seconds a process is allowed to0 V2 W( M3 _2 ~- r5 n
  1231. ; maintain an idle persistent connection. Using -1 means idle
    , {& O8 l! M! H3 X
  1232. ; persistent connections will be maintained forever.% o4 B. U$ b, R. R* {6 F7 h7 K
  1233. ; http://php.net/oci8.persistent-timeout
    / F% U4 Q" E& Z  f
  1234. ;oci8.persistent_timeout = -1
    9 u& j  D: {' P/ B* r
  1235. 7 w% X; M. h+ c; U3 Y4 c$ {
  1236. ; Connection: The number of seconds that must pass before issuing a/ ?  n, w% l( q. G
  1237. ; ping during oci_pconnect() to check the connection validity. When0 O. t0 U! G3 M. x8 u9 ]2 u
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    , h6 F, m0 v+ E6 f1 |
  1239. ; pings completely.) v7 M2 r# q4 I" r' J
  1240. ; http://php.net/oci8.ping-interval* q  [( A% q5 d: z+ j0 i
  1241. ;oci8.ping_interval = 60
    ; m# b: L) ^6 p+ {
  1242. , R* m' p$ U1 k# I. X$ v
  1243. ; Connection: Set this to a user chosen connection class to be used
    % Z0 X* ]) `2 `% i4 O
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    3 C- p* K/ C' Y; B
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # d& W7 t- H: V* D- q
  1246. ; the same string for all web servers running the same application,
    ! z1 N  G! Q6 b1 h$ r: Y/ Q
  1247. ; the database pool must be configured, and the connection string must6 F0 L& l8 o) k1 _. S; p$ G) Z
  1248. ; specify to use a pooled server.
    " z: \" z6 F. y
  1249. ;oci8.connection_class =7 q; ^- B- c+ u9 o+ @  h. ~' n

  1250. ( I7 G# L" X" L4 u- _
  1251. ; High Availability: Using On lets PHP receive Fast Application
    # G+ C" H7 O1 i2 n' v' ?0 g8 ?+ w
  1252. ; Notification (FAN) events generated when a database node fails. The
    . f* U- w, O3 d5 x1 i3 y* I
  1253. ; database must also be configured to post FAN events.! D7 C9 v4 |6 h5 k* V% ]
  1254. ;oci8.events = Off: F* L7 K9 E7 O& F4 X. }

  1255. % W; F+ X5 u4 A# V
  1256. ; Tuning: This option enables statement caching, and specifies how" t8 w# j4 V# c5 v) ]6 \2 z" E
  1257. ; many statements to cache. Using 0 disables statement caching.; e% b- q0 [  }' C6 W+ U
  1258. ; http://php.net/oci8.statement-cache-size
    % M- }6 `6 x6 f8 }) P4 O# `) k, {
  1259. ;oci8.statement_cache_size = 20+ ~/ x! s- N0 o+ y3 X/ a
  1260. - c( q8 O7 E+ C. |+ G! U
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    - S& b' V2 g6 ]: R& R6 U
  1262. ; rows that will be fetched automatically after statement execution.1 M! Y/ l7 K, Q, V+ M/ X2 C8 K/ c
  1263. ; http://php.net/oci8.default-prefetch
    9 f" z3 F3 c- {* t; Q
  1264. ;oci8.default_prefetch = 100' f3 O4 |: R( Z) W

  1265. 3 j# i! u3 w5 `( y
  1266. ; Compatibility. Using On means oci_close() will not close/ O& c* H6 _( ?9 ]
  1267. ; oci_connect() and oci_new_connect() connections.' O/ c, [: d3 K
  1268. ; http://php.net/oci8.old-oci-close-semantics
    0 a& l- V+ S6 j0 s7 F# U  Q
  1269. ;oci8.old_oci_close_semantics = Off  G8 N% Q. o% K: h; Q9 P( u8 ^2 `
  1270. : f3 ]* D' s7 L' @7 S6 c2 R
  1271. [PostgreSQL]* k# I. r' e1 g) q* f2 O/ _3 C
  1272. ; Allow or prevent persistent links., r8 n1 G7 a! c+ ^  c
  1273. ; http://php.net/pgsql.allow-persistent
    ! B+ N% j# l) r! f% g+ u' m
  1274. pgsql.allow_persistent = On
    4 Q( j1 C/ J/ p. d' v
  1275. ; q7 s- L# X) X3 v0 Y
  1276. ; Detect broken persistent links always with pg_pconnect().# ?7 R4 v: p7 A: |! p
  1277. ; Auto reset feature requires a little overheads.* ?+ D2 H+ M% J% I& F: F7 v5 j1 m
  1278. ; http://php.net/pgsql.auto-reset-persistent; t. |6 Z. S" Y% ~$ ^- G
  1279. pgsql.auto_reset_persistent = Off' W! N& y+ h  ?* r1 a: U! {

  1280. ' r$ s1 _* s2 k; Y
  1281. ; Maximum number of persistent links.  -1 means no limit.
    - ~& I! z& y( \5 g  y, d" l
  1282. ; http://php.net/pgsql.max-persistent& M9 @1 x( l1 @9 {
  1283. pgsql.max_persistent = -14 g0 \/ [  y. @. I6 T
  1284.   _" I5 }/ g- X
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 K7 ]6 Z0 x$ s* C9 y$ V+ B# n( ~
  1286. ; http://php.net/pgsql.max-links3 J! u  n( a6 S! ?
  1287. pgsql.max_links = -1
    7 n7 q2 h# u4 z& V5 O

  1288. 3 x. _# L* y: O1 U) O
  1289. ; Ignore PostgreSQL backends Notice message or not.: e) i- B2 c+ ]( [" u
  1290. ; Notice message logging require a little overheads.6 j6 x4 W- b0 r" A. c
  1291. ; http://php.net/pgsql.ignore-notice
    $ L9 E# K9 s$ c, {; Q# F# ]
  1292. pgsql.ignore_notice = 0
    1 }* ^1 S* ?1 ]; m

  1293. - U; l- k+ g1 M; H, n, ]; J
  1294. ; Log PostgreSQL backends Notice message or not.
    0 U$ Z8 @/ s  i* F, ]
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.+ K, Q' W! a( M2 B& |; I3 c
  1296. ; http://php.net/pgsql.log-notice
    ' d6 Y5 H' [+ n7 S: G5 A" l! M
  1297. pgsql.log_notice = 02 R, Y2 Z; T& o9 N0 V/ d5 \
  1298. # q1 X% L; W) d. x6 r$ ~
  1299. [bcmath]
    # A& I" N2 D; s
  1300. ; Number of decimal digits for all bcmath functions.: ]5 M. P# q( ^/ F
  1301. ; http://php.net/bcmath.scale
    2 y& Z/ R' b' X* C/ B& m
  1302. bcmath.scale = 0
    ' N2 x8 s9 Y& ?) M8 o/ @8 E) Y' b
  1303. 2 D7 @: ?  F5 L  l. c5 [
  1304. [browscap]( B. b: W" @' _) e5 g  K
  1305. ; http://php.net/browscap
    7 t4 A3 f/ Q" J
  1306. ;browscap = extra/browscap.ini5 _# l, d' o$ I. @! U
  1307. ; s2 Q, G: Q9 T% d
  1308. [Session]4 W8 o  e  X6 q2 ]
  1309. ; Handler used to store/retrieve data.$ V% A" [& ]2 I6 u0 @
  1310. ; http://php.net/session.save-handler& M5 q5 h: }- f0 e# ]
  1311. session.save_handler = files9 ?/ [3 ^( ^4 d' i6 O/ B; [
  1312. 8 G4 k$ e8 x& L) F: g' p
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    / V3 }, s9 X, {- F& a3 H+ A4 e+ g- m# O
  1314. ; where data files are stored. Note: Windows users have to change this' ?, X& z5 ~( c% ]$ X1 f
  1315. ; variable in order to use PHP's session functions.  c! j0 v1 _  G# q2 z1 M
  1316. ;
    3 m  M; e% o7 k5 x* ~
  1317. ; The path can be defined as:; ?+ E$ g8 \+ N' C$ T$ K# X; Y2 l
  1318. ;# b" Z. C0 }9 {% `# d
  1319. ;     session.save_path = "N;/path"$ [. E1 b+ m- O  A7 ?
  1320. ;' h; g- y+ y- @4 O
  1321. ; where N is an integer.  Instead of storing all the session files in
    3 F' o+ `# _6 l; L
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    + t$ I( h; n7 v5 R8 k- n% B
  1323. ; store the session data in those directories.  This is useful if& _) ]3 i# O6 C5 u! o
  1324. ; your OS has problems with many files in one directory, and is/ j% N: d/ x! M: k; N5 D" O/ W
  1325. ; a more efficient layout for servers that handle many sessions.
    7 b9 S" d8 s5 r5 \
  1326. ;7 b4 w: f9 N2 W5 z: J7 W3 g) o
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    . R9 r3 k7 y" A5 m; d0 `
  1328. ;         You can use the script in the ext/session dir for that purpose.
    : K& @6 h/ P4 F2 P! R
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
      g  s3 {# z) d
  1330. ;         use subdirectories for session storage+ Y: [4 u& h4 x7 p7 }9 A
  1331. ;
    7 v8 }  Y0 e& S, A8 b
  1332. ; The file storage module creates files using mode 600 by default.
    % D, y8 V; t% |  O  A% d
  1333. ; You can change that by using
    0 O1 a! g1 T: d1 C7 ]
  1334. ;
    - i1 X  {$ o0 Y
  1335. ;     session.save_path = "N;MODE;/path"
    " z- ~* w) B5 C8 H/ t$ f
  1336. ;4 T6 |3 c' I$ N* l6 @6 d
  1337. ; where MODE is the octal representation of the mode. Note that this' f: k- N. C- w4 j
  1338. ; does not overwrite the process's umask.; D$ U$ u4 i( j& J. W# `6 X
  1339. ; http://php.net/session.save-path
    : l: C. a& W8 m* q) C) D
  1340. ;session.save_path = "/tmp"
    7 ]# _) T; a: Z+ \1 P/ b3 }& v

  1341. 6 u- Q. E4 I+ F, B1 F/ e) Q7 t% p
  1342. ; Whether to use strict session mode.! e% u2 Z  C' X
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ! B1 @7 d) O1 x
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects% S( S3 A$ i, _6 ?% R& `1 E
  1345. ; applications from session fixation via session adoption vulnerability. It is
    , }: X! @, x( U& a# i
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.' v4 Q, L0 |) E' e0 Q0 o
  1347. ; https://wiki.php.net/rfc/strict_sessions) _; V+ ^8 p4 p: w- Y4 W. y
  1348. session.use_strict_mode = 0  g$ T# Q- k+ c. k

  1349. , ^+ g' L: |3 P5 z5 B, a
  1350. ; Whether to use cookies., F( m5 n# [4 O- A
  1351. ; http://php.net/session.use-cookies
    2 S: s* K! s5 f  U" f& E9 e
  1352. session.use_cookies = 1: i2 x0 Z* I% M
  1353. / C. v( G. o5 w) N* R. X! @6 [
  1354. ; http://php.net/session.cookie-secure# `4 N, }: j3 U! ~; B5 z
  1355. ;session.cookie_secure =) y& B4 w4 B0 A' a; W

  1356. * d! t. R' z% D2 e+ z) E
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # A: @& T, h3 J; u
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    2 K+ M  V6 {0 d- |5 |: q
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ) @' e; a7 O  X5 l2 q% d# C
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.6 t1 S- g8 `  Z0 v! D) T. Q
  1361. ; http://php.net/session.use-only-cookies
    7 A* S1 G$ l1 B# F6 c
  1362. session.use_only_cookies = 1( X' @9 I8 }- H

  1363. * w: c# s2 j6 q
  1364. ; Name of the session (used as cookie name).
    ' s! k% _1 Q9 v4 v* ^" o  m# x! `
  1365. ; http://php.net/session.name
    " U4 |8 Q4 @- S; z0 I( q
  1366. session.name = PHPSESSID
    # M2 }6 R0 W0 ~1 a$ @8 o
  1367. ) k# E) y" J, w$ V+ q) Y
  1368. ; Initialize session on request startup.6 r! h, ~( w+ I' A0 H# m
  1369. ; http://php.net/session.auto-start+ ~' x  y! ?3 B& Q1 X% v2 Z# S
  1370. session.auto_start = 0% ~7 U% k' n( P  N: W9 U

  1371. 2 U, S5 ~* A  q/ i. }8 I& j
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: i2 @! R3 Q% A$ a0 c
  1373. ; http://php.net/session.cookie-lifetime/ ]3 \1 g! B( ~% g
  1374. session.cookie_lifetime = 0, }( [. n6 Z9 l( i9 r( h8 e; O+ s

  1375. 8 m- Q- M3 U+ j
  1376. ; The path for which the cookie is valid.
    ( B6 p9 d+ M, j: L1 r0 T# b
  1377. ; http://php.net/session.cookie-path% V( F8 g  F- z# Y7 `+ S. R* M
  1378. session.cookie_path = /
    5 |# @; `6 M3 T2 A& R* E1 C# B
  1379. & `9 l6 d5 q% X$ H) f4 p5 c$ r' i$ Y
  1380. ; The domain for which the cookie is valid.
    % q4 G8 ^- E4 d* U& i/ t2 N5 F: ^3 i
  1381. ; http://php.net/session.cookie-domain
    ! D# l7 w7 p# h, c
  1382. session.cookie_domain =$ }+ ]' W& m# N/ n. x
  1383. 2 X0 Q; \: f3 V6 U$ o6 E
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript." S5 [3 m7 Q0 h7 D. m& Z8 X
  1385. ; http://php.net/session.cookie-httponly
    " M5 b( g0 d* w5 W+ O4 \
  1386. session.cookie_httponly =, L: L/ d* r4 y/ G2 a, j% V
  1387. 4 l) w, R& k% x+ ?
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & I' ?: ~  D+ I4 E/ {) w3 {
  1389. ; http://php.net/session.serialize-handler) b) G# E& Q7 B) t: Z, x
  1390. session.serialize_handler = php/ B. Z1 X+ M1 s2 [4 |

  1391. ( r; V% T- a6 H! |+ `: l
  1392. ; Defines the probability that the 'garbage collection' process is started4 }4 N7 Y6 _$ ^& z: e0 M/ W5 j9 v
  1393. ; on every session initialization. The probability is calculated by using
    * s' B" b! v- _- s- H; Z
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) X0 p3 N* F8 g
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1& R, `, U9 u# _1 O; \; X: H, v2 E
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 }  ~0 B, i' G6 E6 c4 B- @& I
  1397. ; the gc will run on any give request.) C& u  {0 @) _# o/ m) b
  1398. ; Default Value: 1: c) R0 j* g* ?6 x$ Y* J+ E
  1399. ; Development Value: 1. m* q3 P- y5 {: d( l
  1400. ; Production Value: 1$ I! z* `$ B0 P+ z4 T# _* d
  1401. ; http://php.net/session.gc-probability3 v9 ?* n0 [9 P( o2 w8 ~" T$ J" e
  1402. session.gc_probability = 1- \- x+ r. f" u( i) F

  1403. ' H3 F1 b5 k5 e. ~/ t
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    9 k7 t6 m8 \5 @7 O) H0 i
  1405. ; session initialization. The probability is calculated by using the following equation:
    ) |( W, Q  U" G( o; M3 p
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 t" z. N. L8 _( Z
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ! i) q5 W0 b5 ]; p, f$ ~
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 v* K; k( ^, D  d$ @2 g
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    % o) r! n5 [; _/ z6 w0 @. \& z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,  z9 K! w' M) ~3 P+ H* l" X
  1411. ; this is a more efficient approach.: J, _  c- ]8 }9 G% H% h1 e* C7 o) x
  1412. ; Default Value: 1007 E" z  y5 ?0 N* Z. z3 o1 p8 w
  1413. ; Development Value: 10006 V' Q& o. G& K! |9 l' {
  1414. ; Production Value: 1000
    5 d1 k5 Q! X! K; H0 r
  1415. ; http://php.net/session.gc-divisor
    # }3 ]. s) {& t# f8 ]4 K
  1416. session.gc_divisor = 1000
    0 g9 s3 e; I) @! ^( {
  1417. 6 S* u3 P6 J: |/ ]( d) q0 |3 e2 p+ \
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    3 N1 O0 w; K, l4 Z/ O
  1419. ; cleaned up by the garbage collection process.
    4 Z3 t5 Z% O1 p* s
  1420. ; http://php.net/session.gc-maxlifetime1 s3 }; ~6 R+ r
  1421. session.gc_maxlifetime = 1440% f4 Z+ a1 _2 J: k

  1422. ( R* W1 {# m# h" N; \; y  `( J
  1423. ; NOTE: If you are using the subdirectory option for storing session files- \9 a' L) P' M) O  ^- H
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ) B8 K6 _; B* K/ p3 {! ]
  1425. ;       happen automatically.  You will need to do your own garbage
    % l  o: ]- D$ z  k
  1426. ;       collection through a shell script, cron entry, or some other method.
    0 @& T/ q: b6 y; U. `6 g
  1427. ;       For example, the following script would is the equivalent of
    ! @* h+ V) J' d# o) w
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):* K3 L/ ]) p, ?
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    3 R- g6 H8 `( \3 `

  1430. ; q: y% T: V% y
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.# o% A* z/ J& k9 B/ i$ W6 r
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    2 e- R8 |5 p" Z9 D  w1 Y+ I5 v
  1433. ; considered as valid.
    ' j+ R5 X- O0 _, a9 p& S& }
  1434. ; http://php.net/session.referer-check
    ; {$ @7 W- s3 D
  1435. session.referer_check =
    - {; g, i4 T4 H1 m
  1436. 7 A3 K' {  K4 N8 {" m: r
  1437. ; How many bytes to read from the file.) E0 P1 Z. C3 _3 D4 r
  1438. ; http://php.net/session.entropy-length$ V1 \9 x# k+ |
  1439. ;session.entropy_length = 32/ }. Z/ L# W3 B: s3 ?

  1440. 6 J) l* Y/ I" w( Z/ |- n6 Z3 j
  1441. ; Specified here to create the session id.
    3 ~) z( Z+ o6 P; b6 R$ k0 f( ~
  1442. ; http://php.net/session.entropy-file
    8 y- [) l2 c1 d  {  U7 @3 r
  1443. ; Defaults to /dev/urandom$ p  A$ o/ m) N- ]/ b
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ; D3 ~: P+ c1 w1 i& H( y; u+ G' ^
  1445. ; If neither are found at compile time, the default is no entropy file.
    3 x; E, D- B% k
  1446. ; On windows, setting the entropy_length setting will activate the  B5 e) B. [9 [7 V1 b
  1447. ; Windows random source (using the CryptoAPI)
    % K  g- L: I* h9 G* r! ~2 ~7 G0 {
  1448. ;session.entropy_file = /dev/urandom& d- F/ L1 A5 ~) A% U$ v
  1449. 4 u0 t) `- V' c; g/ {
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    8 g9 @+ l4 w0 W5 G% u  }, @) X- k7 t
  1451. ; or leave this empty to avoid sending anti-caching headers.* T; I1 K. U. B: C& }2 s
  1452. ; http://php.net/session.cache-limiter
    1 M! K& h) N- @+ f4 G) _
  1453. session.cache_limiter = nocache* A. Q, N7 W  p& d: `( n8 b- i# |

  1454. ; [- X# b0 }2 J* b' e! K# d% A
  1455. ; Document expires after n minutes.
    # o$ w5 n9 E6 g8 D1 K7 m3 m% k" t4 i
  1456. ; http://php.net/session.cache-expire
    " k) `  O. z& Z  `) h; o
  1457. session.cache_expire = 180
    , T  }, r6 Q7 K1 z

  1458. : I# i* F! H8 x* U0 T
  1459. ; trans sid support is disabled by default.
    3 O! j: K( m3 |0 ]. a' _3 X/ {4 w
  1460. ; Use of trans sid may risk your users' security.
    3 E1 V' d% k, [2 I) N4 _
  1461. ; Use this option with caution., x7 D! D3 `  a" r  y% p3 X( _
  1462. ; - User may send URL contains active session ID; j) z8 O' e) L$ x+ z
  1463. ;   to other person via. email/irc/etc.
    2 P2 Z; k- J% n) U- w' W2 V+ ~* X
  1464. ; - URL that contains active session ID may be stored* w0 n  ~% p' ?! L
  1465. ;   in publicly accessible computer.& F: G/ [/ x2 p6 U6 e# M6 L
  1466. ; - User may access your site with the same session ID
    7 f3 V- a# V, s7 ]. U8 j! k3 Y
  1467. ;   always using URL stored in browser's history or bookmarks.
    7 l: s. S8 X% @, [" a9 c
  1468. ; http://php.net/session.use-trans-sid; L9 a* L) N+ V
  1469. session.use_trans_sid = 05 i& b8 @% W% G+ G: K, D
  1470. " o8 r5 I+ _" P7 I0 r
  1471. ; Select a hash function for use in generating session ids.8 _% U5 r* }1 ^5 m! \& q/ `
  1472. ; Possible Values6 g; T# L$ ~* n3 W3 L
  1473. ;   0  (MD5 128 bits)
    / T8 w* T2 D# ]- Q  o7 T; a& o& s
  1474. ;   1  (SHA-1 160 bits): L+ R, t+ c  U  c8 W0 G
  1475. ; This option may also be set to the name of any hash function supported by
    8 q# p6 R% B. \" U
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(): J' v5 I4 L' n. h) ]1 f
  1477. ; function.
    8 e" o4 K" a2 ], W
  1478. ; http://php.net/session.hash-function
    9 b  N9 c$ u8 h
  1479. session.hash_function = 0% W4 t  f4 ~9 e1 Q3 W
  1480. $ c. Y' E; }5 m; c# K; k" \! i
  1481. ; Define how many bits are stored in each character when converting6 u% K2 K* u. T& |
  1482. ; the binary hash data to something readable.
    $ v4 M+ K4 [% P- z
  1483. ; Possible values:
      M  L. p8 V/ x
  1484. ;   4  (4 bits: 0-9, a-f)
    4 ?; p) O2 k' o1 U/ @2 q
  1485. ;   5  (5 bits: 0-9, a-v)
    * [3 u8 t) w0 W. V6 {! t. s
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( U+ z  E) ?; B8 [, s- y
  1487. ; Default Value: 4) J- g6 u2 g  y* r
  1488. ; Development Value: 5. h$ _: ~8 N% J* O: l& w' I
  1489. ; Production Value: 5
      @7 h: F# ~" Z
  1490. ; http://php.net/session.hash-bits-per-character9 F2 `. \" b" a, Z2 D" H
  1491. session.hash_bits_per_character = 5
    9 t! \: m3 l5 W. I& f) K" k1 k
  1492. ; f; J# e2 y7 x* f& ~8 K4 s9 K! ~# L( I
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    # \( `; F7 L/ ?" U6 Z, F
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ! r5 _  X7 b( e: z
  1495. ; add a hidden <input> field with the info which is otherwise appended) S" D& g; K; p: Q4 N9 g
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.; j1 ~0 z2 j  m! U5 K# A- [  T, h
  1497. ; Note that all valid entries require a "=", even if no value follows.; W3 w/ a. D, C) ?! R
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=". F2 e8 W" i+ q7 \0 W" Y$ _* I
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 A- }! T% C/ }( M' ^5 k. M
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 h0 k7 c1 ^' v1 L. C
  1501. ; http://php.net/url-rewriter.tags' i" W! V: T" _5 X1 a  i# H
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"% B! s9 |# d0 D
  1503. 5 h: U' j( B2 J, C% n& C
  1504. ; Enable upload progress tracking in $_SESSION3 j- K0 ?  b' d
  1505. ; Default Value: On0 L) g* L6 m' \' F9 G1 ^( M
  1506. ; Development Value: On
    ) _* d! J* ~. Q; f4 g' g
  1507. ; Production Value: On& T* i) ~9 M5 ]. o8 U
  1508. ; http://php.net/session.upload-progress.enabled/ _1 ^# q+ [) |8 d$ x
  1509. ;session.upload_progress.enabled = On
    5 t  W: I# k0 N3 u. ~) }

  1510. * V# r* j$ P/ u% p6 ~: b( G- ?- ^
  1511. ; Cleanup the progress information as soon as all POST data has been read
    9 q9 r& a  o6 M
  1512. ; (i.e. upload completed).: {5 ~) k8 @0 G1 V3 F
  1513. ; Default Value: On
    / R4 }5 L' f8 D5 y2 y9 k
  1514. ; Development Value: On/ \- v4 v7 p8 N) T, C/ |  b& f
  1515. ; Production Value: On% z3 G! Z6 V3 ~6 i  I3 z
  1516. ; http://php.net/session.upload-progress.cleanup
    1 `5 H/ Z# z6 i. l! _9 f
  1517. ;session.upload_progress.cleanup = On
    1 d9 z/ S( v: M4 \" O+ z

  1518. ( M0 M( J" h- W: z3 B) a6 j$ W
  1519. ; A prefix used for the upload progress key in $_SESSION, {; v5 Y1 x/ D: y7 \0 l
  1520. ; Default Value: "upload_progress_"0 D/ h. ?4 d8 q
  1521. ; Development Value: "upload_progress_"
    3 I/ f& y  q$ J- Y- B  F
  1522. ; Production Value: "upload_progress_"
    ( v9 u, R5 a9 Z0 O% o2 E9 k
  1523. ; http://php.net/session.upload-progress.prefix/ A! o7 z6 S+ _
  1524. ;session.upload_progress.prefix = "upload_progress_"
    3 v# ^; s5 E: a

  1525. ; \* h% C: }# s7 F
  1526. ; The index name (concatenated with the prefix) in $_SESSION: D, z/ r. o, _' y$ X5 i& N" V
  1527. ; containing the upload progress information2 ^# e) X1 ?2 K  S
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS". ~& Y( }- f( R3 M5 w- ]
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 x. K0 Q/ F5 z8 N
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"- c' }4 R5 u& t. y/ D* U/ H, W
  1531. ; http://php.net/session.upload-progress.name2 T. ]' Q' _, d' \: {
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ; j2 H. A6 i# W& m+ W+ F

  1533. 1 B  i# S+ e+ K  x' C* _" a5 m
  1534. ; How frequently the upload progress should be updated.  ~1 _2 e6 W9 ?8 Q
  1535. ; Given either in percentages (per-file), or in bytes
    0 M5 ~+ r9 F% D( `  G. |- g6 ?
  1536. ; Default Value: "1%"
    . \+ p2 \7 r) H$ z* E& W/ I( L
  1537. ; Development Value: "1%"
    " |* U1 C$ K& r) S
  1538. ; Production Value: "1%"
    2 P2 Q2 O) q' x6 S5 A: E$ g: l  x+ K
  1539. ; http://php.net/session.upload-progress.freq
    ! n' B$ k: U! R$ Q; ^. `9 ^7 J
  1540. ;session.upload_progress.freq =  "1%"
    5 B' F/ X9 G  N- t  r7 B4 P2 V! H1 ?
  1541. 3 |. N! C1 X+ q# ^
  1542. ; The minimum delay between updates, in seconds* T% w0 R" g4 ?) y) a
  1543. ; Default Value: 1
    ) C: X0 J2 Z! o$ R6 y" l$ ]
  1544. ; Development Value: 1
    $ U% Z7 Q, T. E/ O& Q
  1545. ; Production Value: 15 R3 E/ s7 V# m+ A% O, @2 X& E$ c
  1546. ; http://php.net/session.upload-progress.min-freq- Z2 {: |3 }7 x. G! O# G' T
  1547. ;session.upload_progress.min_freq = "1"0 Y9 h3 E) X1 J" e- Q
  1548. 9 _7 D, v2 ?9 b1 E
  1549. ; Only write session data when session data is changed. Enabled by default.
    * d) C& v" U! J+ i) L
  1550. ; http://php.net/session.lazy-write1 a$ t, b+ n( L! o
  1551. ;session.lazy_write = On
    . z1 u: i/ C: F5 W8 ]- L
  1552. ) v* ?+ z' {4 ]* G
  1553. [Assertion]
    & e3 n. S: a* P- s. u7 d- X
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    . |5 c: n' v1 t/ \' t
  1555. ; -1: Do not compile at all
    * h1 b+ Y3 {5 Y
  1556. ;  0: Jump over assertion at run-time$ R6 O/ n5 m* E* N$ D6 D) }
  1557. ;  1: Execute assertions
    ; ^/ _$ W% x" C" D1 C
  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)
    6 }5 [3 P+ s+ ~: o$ i
  1559. ; Default Value: 1& H  O$ z; {- V& c4 X
  1560. ; Development Value: 1
    " @& u6 p' R/ S" T) [
  1561. ; Production Value: -1
    $ I& b) p  X; S& [! E# u
  1562. ; http://php.net/zend.assertions
    ) h( ]% k% @% ]9 f" i4 S9 {  O" ]5 F: _7 M
  1563. zend.assertions = -1( ~! a3 {7 I" I8 o8 D

  1564. ' z1 x7 z( r, Z  S
  1565. ; Assert(expr); active by default.
    ; Z; k+ ~8 S  `) I
  1566. ; http://php.net/assert.active
    , Y8 n4 a  T' l
  1567. ;assert.active = On
    # R0 P0 {% v  [, y  q  n- E

  1568. 3 r2 ^! o0 {) v  N" q2 P1 L
  1569. ; Throw an AssertationException on failed assertions
    1 z3 |. c/ d, c) I& O5 M$ I) w
  1570. ; http://php.net/assert.exception
    , c" q7 i0 g" v% g8 X
  1571. ;assert.exception = On
    7 g3 k1 U5 [' i# x& Z3 _' i
  1572. / Y0 }/ B1 ]! j! M  F  l
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)8 W* x. p# a: p4 W
  1574. ; http://php.net/assert.warning  @& w, x% B- ^
  1575. ;assert.warning = On
    . G0 B, p& N8 l# w* ?, B

  1576. , J: j1 T. F7 \
  1577. ; Don't bail out by default.
    4 Z: m7 C: e- W* X2 U* }6 I6 X# [
  1578. ; http://php.net/assert.bail
    1 j7 x4 r2 o% |5 ~* u3 X, b. G
  1579. ;assert.bail = Off
    6 H/ f8 c0 U0 \
  1580. 3 z6 I6 |# p+ N
  1581. ; User-function to be called if an assertion fails.4 [; d7 V9 m& K( V: h
  1582. ; http://php.net/assert.callback" C8 z( V4 K. b; F# v
  1583. ;assert.callback = 0
    ! Z$ s5 |& O4 E7 H

  1584. 0 q) l" [3 S7 c% H9 B
  1585. ; Eval the expression with current error_reporting().  Set to true if you want  F& O7 m4 ^' l; I
  1586. ; error_reporting(0) around the eval().: X+ A) R6 J! w7 N) I7 m
  1587. ; http://php.net/assert.quiet-eval! p3 ]/ n7 ]& E* S7 v4 k) ]0 q
  1588. ;assert.quiet_eval = 0
    : D" e* h/ P4 k3 T3 J7 @' V0 B8 U) ^

  1589. ' x/ \4 o+ C/ O1 e8 j( G/ S6 M* s
  1590. [COM]
    & h6 W9 {2 H/ p$ b
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs0 i+ @* `2 i2 i$ [
  1592. ; http://php.net/com.typelib-file
    6 e, m1 _" P4 k' {( d
  1593. ;com.typelib_file =) l$ |' w( h- A0 }- ~" y% V

  1594. ) A9 a, j; z5 L- }
  1595. ; allow Distributed-COM calls
    . ~0 J5 \2 K; t* x/ ?
  1596. ; http://php.net/com.allow-dcom
    " s& z. E/ w: V% j8 s
  1597. ;com.allow_dcom = true
    9 C  e% L* r; ^9 |

  1598. , W' @' R! s! u( q4 }$ ~
  1599. ; autoregister constants of a components typlib on com_load()9 M, E8 m" [, y* A- _$ k( K. c
  1600. ; http://php.net/com.autoregister-typelib# z* ~/ U  f4 s
  1601. ;com.autoregister_typelib = true
    8 y  B" I' }$ q3 x9 H7 m0 U
  1602. 2 t' V% ]1 }2 {5 U! c) _0 o
  1603. ; register constants casesensitive8 r& U& I# u7 b# {- \9 H* P0 R4 D- y
  1604. ; http://php.net/com.autoregister-casesensitive" ~3 e; I7 P5 f
  1605. ;com.autoregister_casesensitive = false. e& S' B1 T# Y

  1606. , R. U6 L2 `+ }( q
  1607. ; show warnings on duplicate constant registrations, L# Q* d9 f, z: B& f' W- ^2 x
  1608. ; http://php.net/com.autoregister-verbose
    & X& D2 {' L0 F/ ~1 {& W( _& n4 K
  1609. ;com.autoregister_verbose = true
    / R. r: g; i8 D3 u* M0 [0 z
  1610. - Q9 c- i: [" D
  1611. ; The default character set code-page to use when passing strings to and from COM objects.2 {" T' v0 E2 a
  1612. ; Default: system ANSI code page
    7 F  {" i! C) g# W
  1613. ;com.code_page=) l' Y" v. e& ^" V5 h- o
  1614. % s& ?* P( O2 R6 O0 a5 ~
  1615. [mbstring]4 y+ u9 t% c. o. K! Z/ P+ w
  1616. ; language for internal character representation.8 q9 ?" `1 Z; r. @9 @6 F, R0 O3 x6 Z/ D4 R
  1617. ; This affects mb_send_mail() and mbstring.detect_order./ T1 J9 w# I  w
  1618. ; http://php.net/mbstring.language
    + `) N) H1 y! _, ]7 j5 X
  1619. ;mbstring.language = Japanese
    % \" X$ P/ i, B5 a

  1620. + k( v* m/ Y0 {
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' ~( i# {7 k5 l- m; O1 i
  1622. ; internal/script encoding.
    / t) \: x* J5 w. c* F& {* t
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 W9 x6 \" T* R7 O9 {7 }
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' ^5 g% w9 S8 k9 C1 d6 R
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , P6 C  A7 g" e4 \4 h2 ?
  1626. ;mbstring.internal_encoding =) o$ m/ N- n% y* E/ T+ n
  1627. ) v( Q3 V- D0 B8 F
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead., c4 S4 W, _: t
  1629. ; http input encoding.
    / e- @  _: Q5 e7 m9 [, ?0 J' N
  1630. ; mbstring.encoding_traslation = On is needed to use this setting." `% D( t% E0 z+ Q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    3 ]" N' q7 q$ n( R
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 G1 I+ _! b6 R8 M7 q7 I/ C: f
  1633. ; http://php.net/mbstring.http-input6 ^9 M5 j  L' J
  1634. ;mbstring.http_input =
    ; q  C6 M! \8 _2 U
  1635. 2 i' b, @3 P  N; ], _- {
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.' n/ K1 m/ W( x' i; P& ^1 C/ ?
  1637. ; http output encoding.
      x% O% G5 A. \: _3 V+ P2 y
  1638. ; mb_output_handler must be registered as output buffer to function.1 D4 A! k. j0 k  [
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 x9 r4 d% v1 {" A4 r& Z' B  [) v
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output9 ]& T' T3 a. ^/ c( t4 `
  1641. ; To use an output encoding conversion, mbstring's output handler must be set0 a. B1 K/ b# v2 S  A1 n1 ]
  1642. ; otherwise output encoding conversion cannot be performed.4 f5 H" b( E, f% M3 X  u
  1643. ; http://php.net/mbstring.http-output! w, J9 H4 t- [  A& T: F) K# a
  1644. ;mbstring.http_output =
    # c1 N$ \4 `5 Y) u: [6 O. ~, q

  1645. 8 T7 @3 E, O: Q  P! c2 |
  1646. ; enable automatic encoding translation according to& x; T7 Q+ h& Z$ ?) O* ^  A- Q
  1647. ; mbstring.internal_encoding setting. Input chars are
    1 o% M5 ~2 O  @& t4 b( v
  1648. ; converted to internal encoding by setting this to On.
    6 f1 N, n: Y. @* y9 L# S$ N1 k
  1649. ; Note: Do _not_ use automatic encoding translation for
    : t! [4 l! d0 E/ V* _7 w
  1650. ;       portable libs/applications.
    ) r( B+ J; v: R/ C3 f+ `7 ^
  1651. ; http://php.net/mbstring.encoding-translation  L+ A( |, ]* Q6 l0 H7 t
  1652. ;mbstring.encoding_translation = Off
    $ f; I, [7 L; H9 m6 j6 q
  1653. ' _5 H/ ]1 s( {
  1654. ; automatic encoding detection order.
    2 Q2 l% X( j! V$ B
  1655. ; "auto" detect order is changed according to mbstring.language
    ' _" F; ?; s) L% D) X# [  s7 k
  1656. ; http://php.net/mbstring.detect-order( z) ~# r& H5 S- Y& y  ^" R, f$ V
  1657. ;mbstring.detect_order = auto/ y+ T- D* v6 y+ `

  1658. " l4 q9 |$ S. Z( K+ o5 e/ ?
  1659. ; substitute_character used when character cannot be converted
      [) o3 ~: ?2 S1 d; L/ u; i+ I0 O" ?! T
  1660. ; one from another( t# N3 X0 B! h7 t' `- T2 D- }2 V
  1661. ; http://php.net/mbstring.substitute-character
    " x0 s/ \1 Q# F4 O7 G$ T
  1662. ;mbstring.substitute_character = none: i8 l' o, |* _& O" K" Y) b

  1663. 4 L4 w' B) V8 }' O) Y. K
  1664. ; overload(replace) single byte functions by mbstring functions.
    * n$ Z  S' p: ~+ _
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    & Z) F: _  Y+ w/ W
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.: \/ j0 I1 [! Y, `# P4 G
  1667. ; For example, 7 for overload everything.4 }* @& }3 ]2 N; m2 U- Y
  1668. ; 0: No overload4 Y* U" w% [  P  D4 ^' k
  1669. ; 1: Overload mail() function
    + _5 `; {5 j' f  S# \  e$ s
  1670. ; 2: Overload str*() functions( {! Y8 c) d& q% N+ u8 W. i9 F
  1671. ; 4: Overload ereg*() functions: X3 p' Z* S( e$ [' K) P4 h
  1672. ; http://php.net/mbstring.func-overload
    9 P& C- G9 A: `* V/ t8 r
  1673. ;mbstring.func_overload = 0
    ! Q/ a6 Y4 c4 p5 A5 y( G+ {8 J. k
  1674. 2 F; m, s( f" e! L* N% t
  1675. ; enable strict encoding detection.
    & x( L3 [6 W1 S- b. Y- x
  1676. ; Default: Off: h# w9 ~' D! ?1 a# h- [7 v
  1677. ;mbstring.strict_detection = On
    6 X) p6 K& J; A9 U& ~/ c

  1678. " I6 z1 v! S! M
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 z: L. K4 q# X/ y0 z, D
  1680. ; is activated.
    5 P' u2 K# s! R7 m: J' Z- ~
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 q/ ?$ V: v% c  R6 _, Z2 z* x9 t- p& H
  1682. ;mbstring.http_output_conv_mimetype=, Q- v* [/ `2 Y8 L* @$ J
  1683. % l5 q2 a7 d( L
  1684. [gd]; @# W% f3 {3 I% R* y: V% j9 i; T) m
  1685. ; Tell the jpeg decode to ignore warnings and try to create5 R2 D- d& P; J% o% n4 R0 {. e: w
  1686. ; a gd image. The warning will then be displayed as notices0 G; H7 h% m- y% K% X: Q
  1687. ; disabled by default
    6 @2 I. [1 `5 |$ u8 X8 g8 Y/ z
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ! ~" i# G" h2 O5 D  ]% M
  1689. ;gd.jpeg_ignore_warning = 0. z5 O; R% y/ z) U6 e: p1 O

  1690. 0 C4 ]3 i, h' d
  1691. [exif]  E7 l9 B8 i1 p/ z( e! r( P
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.0 E: X% d- s3 S) D/ b! ~* \
  1693. ; With mbstring support this will automatically be converted into the encoding
    % |# b( e& j7 _1 R
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding# B* U% y# T" g( ~) \) v9 ~& j; u
  1695. ; is used. For the decode settings you can distinguish between motorola and  c- l, u: B& [  F: ]
  1696. ; intel byte order. A decode setting cannot be empty.
    % q9 N1 i0 y  Q4 p* V, o4 E
  1697. ; http://php.net/exif.encode-unicode! G6 p& s: ^: F  @
  1698. ;exif.encode_unicode = ISO-8859-15! M8 r- Q2 g& c  J/ g! K. ^
  1699. ( _) }& M  e6 u: O; G# d% X
  1700. ; http://php.net/exif.decode-unicode-motorola7 J; h( }5 c3 |# Z+ ?$ @0 W7 i
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    & `4 ?! V; I) f1 e9 P

  1702. , B, I, _  C9 Z% U% q  j
  1703. ; http://php.net/exif.decode-unicode-intel4 L* L  i0 ]% x; S
  1704. ;exif.decode_unicode_intel    = UCS-2LE+ G$ Y0 B8 r- z5 V, S
  1705. " T0 m1 v2 \) A# d  N; q3 @
  1706. ; http://php.net/exif.encode-jis6 E: Y' q, I! U
  1707. ;exif.encode_jis =
    # ~; i  r. a& k8 N# F" P+ v

  1708. " c& G5 A1 G" A
  1709. ; http://php.net/exif.decode-jis-motorola
    # z3 S. R* ]: e+ U* f
  1710. ;exif.decode_jis_motorola = JIS2 ~) B" {- N- F: m+ k
  1711. 9 ~3 \7 C8 o9 ~* d% ^( _. z: h& {7 k/ A) `
  1712. ; http://php.net/exif.decode-jis-intel6 L4 v9 |+ _4 J9 W/ m+ P( i  l
  1713. ;exif.decode_jis_intel    = JIS
    2 n4 M  f9 y$ {- L3 T) C* `: m
  1714. 9 \6 W" J: T& G+ g) f8 p9 Q( ~
  1715. [Tidy]
    ' ?$ p  ]# I5 j: z% G3 n! T
  1716. ; The path to a default tidy configuration file to use when using tidy
    3 i$ Z, A! U) o. @$ Z
  1717. ; http://php.net/tidy.default-config
    - j1 J) F6 O/ L+ V6 `: }; e
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg6 W* J& [0 g  C/ a  A( A" f
  1719. % Z1 ]8 C' U2 N! |9 q' W+ P# O! Y' A
  1720. ; Should tidy clean and repair output automatically?
    ) ^  m* J9 g, z& a! v
  1721. ; WARNING: Do not use this option if you are generating non-html content
    7 o  o( k  p) D+ c" l$ M; w$ X
  1722. ; such as dynamic images
    5 f. o' u+ k; G- A
  1723. ; http://php.net/tidy.clean-output9 \% S/ _; P+ P9 L
  1724. tidy.clean_output = Off
    + W4 P; ~# O" H0 V1 \; D

  1725. 6 g- O5 T, x# x' }' B
  1726. [soap]
    0 P9 j/ o8 Q$ y5 n3 n
  1727. ; Enables or disables WSDL caching feature.  e8 ~) s! b; k' d0 y) J+ v$ J
  1728. ; http://php.net/soap.wsdl-cache-enabled5 x! f/ E) v- B0 w0 b, d( o
  1729. soap.wsdl_cache_enabled=1
    : r9 n  n4 R  r/ A, z# j+ m
  1730. 1 V# x7 l) w1 B( v
  1731. ; Sets the directory name where SOAP extension will put cache files.
    , \3 }6 l! {' y( {
  1732. ; http://php.net/soap.wsdl-cache-dir+ ]4 ^' i8 {, e- z
  1733. soap.wsdl_cache_dir="/tmp"
    4 b/ U3 g  {6 E
  1734. 3 Y/ n' ^! H7 y
  1735. ; (time to live) Sets the number of second while cached file will be used
    0 c% u9 F( f; A8 q  s% O) k! y2 s
  1736. ; instead of original one.
    1 h7 H7 S. C- q" W* F, _4 D
  1737. ; http://php.net/soap.wsdl-cache-ttl
    5 {% `, Z9 G0 @/ F" B; U
  1738. soap.wsdl_cache_ttl=86400% K. g) ]' c( V) E

  1739. + L: Y4 S  |3 M$ G  M
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 u  a6 e* C7 u
  1741. soap.wsdl_cache_limit = 5
    2 Z$ n2 v( d; H
  1742. ( g( ?$ P% M2 m
  1743. [sysvshm]& u& e6 v/ y' c& }, l
  1744. ; A default size of the shared memory segment- q  q8 P0 `4 T, Q& o7 H2 y
  1745. ;sysvshm.init_mem = 10000
    , U9 e; |6 P0 @* ~. E1 u

  1746. ! {8 q- }: s( Y7 x0 N7 P  y
  1747. [ldap]
    * m% A2 f: S: f2 a: Y
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    0 u2 J0 _- H. I  X& ^6 x- J1 R
  1749. ldap.max_links = -1
    # {6 F+ [# `3 t- B% D/ e) N$ e- X

  1750. 7 c8 T2 n. Z; j
  1751. [mcrypt]
    & `0 M8 ~0 Z: N3 n7 B
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 ~$ q+ {. W* P5 A

  1753. & ?' x9 U% ?2 S/ x' X& s! W
  1754. ; Directory where to load mcrypt algorithms
    : x4 X, q- |* }
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- R8 R. a' ]% |% r) }, E
  1756. ;mcrypt.algorithms_dir=7 M7 W1 |! v. ?

  1757. ' s" e2 Z/ N% {3 t
  1758. ; Directory where to load mcrypt modes
    ' b1 d0 w8 N, ]2 S, P
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 M3 t( ?! W8 c$ {- A) ]5 K. F' T
  1760. ;mcrypt.modes_dir=
    0 S6 \! N3 f1 u

  1761. : y3 G) ^0 ?6 E/ l8 Q
  1762. [dba]
    ( C. i( C) ~7 T! |
  1763. ;dba.default_handler=
    : X3 t/ i/ ~( G* E' J

  1764. 8 O3 k1 l+ X* m# q) }
  1765. [opcache]
    0 e0 F1 W) D+ ]9 b5 {
  1766. ; Determines if Zend OPCache is enabled  I: ~- C, C4 O! |, \- P4 a) D
  1767. ;opcache.enable=0
      O1 J4 T7 c9 k4 |
  1768. ) [8 P! r- c6 k* L
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP/ A8 Q1 q) {/ f8 R1 W
  1770. ;opcache.enable_cli=0
    & x/ S9 U$ n: l$ _' ^7 \
  1771.   g% [% ?$ w+ l' ^% b3 A$ U
  1772. ; The OPcache shared memory storage size.
    1 b% i" |& A6 c: V) E2 U
  1773. ;opcache.memory_consumption=644 v# h4 H% q0 S/ ?
  1774. 1 b9 m# H3 K. `$ h2 h) f5 s
  1775. ; The amount of memory for interned strings in Mbytes.
    4 E& d+ x" f0 W! Q+ c4 I5 ~, x
  1776. ;opcache.interned_strings_buffer=4
    5 F% L0 V& ]0 @: W

  1777. " S& d" X  ^  \: Y
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.% e* z% J4 A+ O! c
  1779. ; Only numbers between 200 and 1000000 are allowed.  `4 @" P' w7 p
  1780. ;opcache.max_accelerated_files=2000
    : Q! Z2 |; {7 P! a0 L5 }' r; x
  1781. 0 O1 D' D) E" y2 F4 F* U, e5 |
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 G& x5 l, N9 q. ^' x9 `* D: L
  1783. ;opcache.max_wasted_percentage=53 @4 D) L/ P  V/ G: t
  1784. 5 ~* R$ K$ r& D/ E/ X- `8 c* C
  1785. ; When this directive is enabled, the OPcache appends the current working( m% {3 v8 |/ N4 l0 z
  1786. ; directory to the script key, thus eliminating possible collisions between
    * m7 B- V. n7 c9 S
  1787. ; files with the same name (basename). Disabling the directive improves, P+ m, X) y7 I3 i4 v  f2 I
  1788. ; performance, but may break existing applications.
    % a0 M2 D, O9 G
  1789. ;opcache.use_cwd=1
    0 ~" B0 A4 C7 p  _' ?( D8 q& D
  1790. - K* v+ L. r& `8 d2 M
  1791. ; When disabled, you must reset the OPcache manually or restart the
    # s+ i8 @. S$ Q$ I$ `9 _
  1792. ; webserver for changes to the filesystem to take effect.8 m) T7 i) S% S  |
  1793. ;opcache.validate_timestamps=1! i5 \; d; q' p
  1794. 6 ], Y& S# v7 k8 w
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ' w0 D: V$ _' C! Y" u/ O) H" N5 t
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ! U% V; W& k4 g5 ]4 [9 D% Q3 ^' p
  1797. ; once per request. "0" means always validate)  J5 y+ o% C! `
  1798. ;opcache.revalidate_freq=2) L  e! Q- v& E% E- [2 L: T

  1799.   Y. @$ r; h7 V% c$ d; ]
  1800. ; Enables or disables file search in include_path optimization
    2 s4 ?, \5 U7 y: b- p3 ]
  1801. ;opcache.revalidate_path=0
    3 M! \# ^) k# [+ [" I" ^
  1802. 7 Z' w, r9 n$ A; y4 J
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    4 x# G- [+ J' e( A1 C' g' `5 h
  1804. ; size of the optimized code.
    ; }) O" _  F* y# a+ _
  1805. ;opcache.save_comments=1
    * s4 b: }7 C. ]# m/ {

  1806. - x' m& ^7 t% A8 H! D* C) c
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # O% |" |9 B5 m% ^
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 @5 \2 q0 a/ ^1 ?! _" P
  1809. ;opcache.fast_shutdown=0" W3 @0 e4 l- q7 t" M
  1810. 8 E& W3 [% A' ^& F1 x; `2 W
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    5 y& }  |" G* p0 q2 R! T
  1812. ;opcache.enable_file_override=08 x" y! ~( q* g5 Z# K* L* g% a  L
  1813. 1 T6 \( Y# m1 `1 }0 R' B: T
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    8 t6 u4 C/ _7 a! `' I3 {( o8 ~
  1815. ; passes2 K' y, Y5 S' x. s$ Q
  1816. ;opcache.optimization_level=0xffffffff6 Z7 a& G" A, \. [/ ?( j

  1817. 9 U2 I/ ?9 S" D0 i" i; T% p
  1818. ;opcache.inherited_hack=1
    ( [1 P( Y* T5 x1 s: |# r
  1819. ;opcache.dups_fix=0  R, {9 Z) `0 x
  1820. 8 }% m# u' R6 Q
  1821. ; The location of the OPcache blacklist file (wildcards allowed).6 c5 V! Y; I# c, H* d* ~
  1822. ; Each OPcache blacklist file is a text file that holds the names of files. W" D* A3 l4 i6 U( n5 x
  1823. ; that should not be accelerated. The file format is to add each filename
    ( ?7 h9 w/ j6 j& G8 p% R
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ! U% U5 h, U/ Z7 F7 H6 a
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www4 S8 |7 g( F1 H
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - I5 f, c9 b. J" l! j0 y( w
  1827. ;opcache.blacklist_filename=% E* G% I2 K; u' h0 R" n2 T6 T  ?
  1828. # B7 t, W; P( i# x* i) Y; w
  1829. ; Allows exclusion of large files from being cached. By default all files
    / x" A5 h+ ^+ x4 N2 l# q
  1830. ; are cached.1 b- ~2 E0 m1 H% u
  1831. ;opcache.max_file_size=08 x) v$ z9 T3 s0 N
  1832. 4 C" c* f) V( W- \1 t1 U
  1833. ; Check the cache checksum each N requests.
    4 A* T) i7 G% T) J- p) S
  1834. ; The default value of "0" means that the checks are disabled.4 `9 C  u/ n. y* H$ [1 v8 x
  1835. ;opcache.consistency_checks=0
    1 q/ r! a% D, Y8 w8 X5 W
  1836. / }- [3 V- u4 J( Y# v* {
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 j$ I0 j" z: s0 e7 }% M  l
  1838. ; is not being accessed.
    * G7 S6 v$ e5 q' h4 A
  1839. ;opcache.force_restart_timeout=180
    3 d: q* J% |% |. C: C

  1840. 9 a8 c- `7 {0 R: G; H3 u
  1841. ; OPcache error_log file name. Empty string assumes "stderr".' u9 G, r  B% {  e, n* C$ A
  1842. ;opcache.error_log=, {0 U2 m8 f& P, |+ H$ `
  1843. 6 F" Z; L" i/ P9 P
  1844. ; All OPcache errors go to the Web server log.* j4 C$ _$ o* t
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* k: Q6 m7 E5 p$ b- S" c
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    4 m/ o. E1 n1 P' v5 ]
  1847. ; debug messages (level 4).- [4 R8 p; u' A) I! i) x
  1848. ;opcache.log_verbosity_level=1
    2 s* ^9 _" R* [
  1849. 8 [' T5 d' L7 A4 U: g
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ) T3 U/ r& b: N7 `- F7 k' z0 E
  1851. ;opcache.preferred_memory_model=- P% W% V' C2 q( c9 P8 {

  1852. & I! g& j3 v0 Z, W4 v, ]
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ( f# I/ f# l6 [, ~7 T6 s
  1854. ; Useful for internal debugging only.
    $ A, L' e) y* _2 h: k
  1855. ;opcache.protect_memory=0
    $ S* v/ S1 T$ J7 |

  1856. 0 b8 e) c, `) w2 Z0 @' ?
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    + ]5 ]6 J  i7 c( f2 ^
  1858. ; started from specified string. The default "" means no restriction- n& {: J* _( G  R
  1859. ;opcache.restrict_api=! Y. k8 u$ a/ T$ A3 P3 t- O9 C/ n

  1860. ( y- S5 M" p7 r! k' s% u
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP! p# q# H) S7 {- g
  1862. ; processes have to map shared memory into the same address space. This
    % P) c0 h8 _7 ~+ @* z* _  i/ l$ B' r
  1863. ; directive allows to manually fix the "Unable to reattach to base address"& w1 G, C& {4 L0 k% q& v8 o
  1864. ; errors.9 w0 N! y1 j6 |% c% O) X
  1865. ;opcache.mmap_base=
    ! j$ D) Z. J& v" u3 E' P5 m  u
  1866. 7 k- ]8 t% q8 \" x" b2 @
  1867. ; Enables and sets the second level cache directory.
    * ~/ J! u0 t# t# }
  1868. ; It should improve performance when SHM memory is full, at server restart or
    7 j, K# R/ M" D$ x2 s: X; ^* B
  1869. ; SHM reset. The default "" disables file based caching.
    , p+ ^! p- ]( Y. |, ~
  1870. ;opcache.file_cache=" n4 c0 q3 F- ?
  1871. ! Q. Z7 D& x* G: r( P
  1872. ; Enables or disables opcode caching in shared memory." e, q! ?; r' c( L$ ^- @9 A# F
  1873. ;opcache.file_cache_only=0
    * J1 G5 a. [  T% p# J) c" w

  1874. 1 u+ F2 S! T0 v! Q
  1875. ; Enables or disables checksum validation when script loaded from file cache.6 I: q5 `. {4 j/ W- f4 i* o
  1876. ;opcache.file_cache_consistency_checks=1
    3 {8 ~) s& a/ H; D

  1877. - W6 {4 {. j1 h: Q
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to) F9 z( l3 Z/ U
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    $ V2 ~- q7 k- e6 u, a
  1880. ; cache is required.- |% s. F2 A8 K8 j5 W
  1881. ;opcache.file_cache_fallback=1
    5 P4 D( C, Q, b1 Z# j6 R- l

  1882. . C- l0 u+ _8 B* \
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    # J" f# q; Y! O1 r
  1884. ; This should improve performance, but requires appropriate OS configuration.
    " p5 k4 t4 j" V3 E9 w, O
  1885. ;opcache.huge_code_pages=1
    3 ^/ |$ z1 y. a4 ~3 V' `

  1886. 9 o9 A& A2 y! \9 V8 U& Y8 ^) d+ Z
  1887. ; Validate cached file permissions.
    ( s. B! p, j4 V* b% o! G5 ~
  1888. ; opcache.validate_permission=0
    2 r! Q5 ?: q3 g5 w3 [: ^( X: v

  1889. % F! e9 B3 B+ z
  1890. ; Prevent name collisions in chroot'ed environment.2 w2 f2 D9 q- E3 S  B
  1891. ; opcache.validate_root=0( q1 U3 U& j$ d! O! Q

  1892. 1 E+ Y$ ~4 J: u4 @& I
  1893. [curl]3 \* m0 K; p7 x. G
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 f( a, ^2 U: f5 Q3 @
  1895. ; absolute path.
    ! ]. ^* m" a9 C6 d2 x
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- W; G. x7 y0 h7 I3 d0 B* \" p* Y

  1897. ' ~. J+ o# ^9 }9 G; r$ ]" F
  1898. [openssl]
    / X9 n% y: Q1 c: x
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem: v# b" Q. I) k8 `& @0 O* {
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should! o; |  ^3 a% N6 P3 q) S
  1901. ; not specify a value for this directive as PHP will attempt to use the9 c9 G5 {( K& j3 I" J. P
  1902. ; OS-managed cert stores in its absence. If specified, this value may still$ [; G3 H- F/ ]) B8 j9 N
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context- S$ B5 s8 X) S' H
  1904. ; option.0 v+ B# s, _' g
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    " C! _: F, B9 G

  1906. - h1 [0 W8 R/ i9 R! n
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    3 r1 Z) u- m/ M- H1 G9 `
  1908. ; directory pointed to by openssl.capath is searched for a suitable+ T, }6 j' j: g; N, x. u0 [
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    + k/ W7 W0 [5 H( v
  1910. ; Most users should not specify a value for this directive as PHP will
    9 l! B. P9 R% v, F+ C
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,' u1 K* I5 Y- b& ^
  1912. ; this value may still be overridden on a per-stream basis via the "capath"+ M; E8 j  ?: S4 h* {
  1913. ; SSL stream context option.
    + R0 l! B. ]! W$ z; D3 ?
  1914. ;openssl.capath=* R. W) u2 ^8 o
  1915. : ^7 Y" ~; ~% k6 `" o
  1916. ; Local Variables:8 S; b9 r7 E3 }
  1917. ; tab-width: 4
    8 T0 h( R& D& {  c- X- ^, P
  1918. ; End:$ a6 y1 ]9 w1 @- W; u0 B
  1919. " U3 W. a' V! P* Q& K0 `8 L1 P! O- [
  1920. ;eaccelerator9 z+ L( e* l. r/ t9 d% P

  1921. 0 d: z! X$ I; [  f! @
  1922. ;ionCube4 z( I% ~& d2 n* i2 \1 G
  1923. 5 i" x" Q4 O. T9 I8 \( o% `( a
  1924. ;opcache
    . Y' p& g( h. f- H1 P3 \  ~2 H& p
  1925. + k4 E5 b2 y/ j8 c
  1926. [Zend ZendGuard Loader]
    * G& w) ]4 |/ s  E: Z' K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line., J2 D4 Q; k! r
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ! X/ h% H* Y' v3 J2 N: g9 S( B$ Q
  1929. ;zend_loader.enable=1
    - b* u9 J/ q& I" ~6 R
  1930. ;zend_loader.disable_licensing=0: K# }, q" z/ P, e% n6 g1 z7 _
  1931. ;zend_loader.obfuscation_level_support=3
    8 }6 |) c1 f( F5 B4 F' }
  1932. ;zend_loader.license_path=
    3 J3 o5 }% U. h) B0 p9 U! c0 v

  1933. - [! N3 C3 y; W! u1 ?
  1934. ;xcache
    ! B8 G: U: i+ A' n0 l1 L' z7 `
  1935. : ?9 w; S- A7 [- _( W
复制代码
/ v/ U% c8 t/ @0 P0 A9 v
( q6 a' J* ?+ i) q6 P. l

$ X4 ~2 w: a& Y  W+ m8 q0 L: R" w! e* j% F5 \4 d- I# f
2 P3 l, f" ?# I6 v) [

& U0 q9 I) R: l  F% {; _
8 A% s8 |# }, C( o9 S* QPHP5.6版本原始设置1 H- l* T" Z" y- u* n& T# [6 a

! r- Q" [  m  s' V  I  H  P  y0 S
  1. [PHP]
    2 f8 P6 L, |3 A0 a# U

  2. / }8 g6 c9 d- w& s
  3. ;;;;;;;;;;;;;;;;;;;
    % ?$ B; C; C, \( O
  4. ; About php.ini   ;  @7 D; ]' U3 q' Q! ?
  5. ;;;;;;;;;;;;;;;;;;;
    . H& J( g) B, w! W, a
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    2 Z( [+ @0 J* m) F! N+ q" Y& F/ D
  7. ; configuring many of the aspects of PHP's behavior.0 d6 \# @9 E% L9 R7 B( Q

  8.   o6 W+ \+ Q1 J" q: ^
  9. ; PHP attempts to find and load this configuration from a number of locations.
    + G" @$ Y. R) e$ h, _6 s1 |
  10. ; The following is a summary of its search order:+ P2 t+ F. L5 `4 ~# L. p1 ]5 p
  11. ; 1. SAPI module specific location.; e4 l; l0 X, p  W1 @) G
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)' c1 j) n9 e8 A* I4 _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)" C8 H  X/ M( w" M
  14. ; 4. Current working directory (except CLI)5 N, j5 @4 y. ]$ N7 j- d: i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    . i. r, w# S/ U7 c2 L8 g, U/ }
  16. ; (otherwise in Windows)
    ( z4 ^) T+ v  g
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) @' t$ _0 j. `2 t% j! x4 L
  18. ; Windows directory (C:\windows or C:\winnt)+ W& {  W( `, r" H- `
  19. ; See the PHP docs for more specific information.3 H1 r; c, b& Q0 k, g
  20. ; http://php.net/configuration.file5 ~4 |' b5 [6 b$ X

  21. ( n* X/ i/ K" U  [
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    & x9 l: o" r4 h7 a
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    . l/ ?& f% r! p0 b6 P
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    + c/ ?6 h- y: f
  25. ; they might mean something in the future.
    . i( ^/ ~3 p) @  S, B

  26. 0 M. [5 J$ I  r: M
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * l7 f* @, g/ N3 |
  28. ; apply to PHP files in the /www/mysite directory.  Directives* ?6 w" R. P& g& j3 x" I8 R. ^: |# O" M
  29. ; following the section heading [HOST=www.example.com] only apply to' b. N+ }) B; ^8 H
  30. ; PHP files served from www.example.com.  Directives set in these. m( f# D+ v" M+ [9 D7 u
  31. ; special sections cannot be overridden by user-defined INI files or7 t* `2 G5 b7 B1 ?7 O% t
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / f8 O) D8 Z8 }6 b$ L) J+ N# X( w4 C
  33. ; CGI/FastCGI.6 {  ]0 Q% y9 v- u
  34. ; http://php.net/ini.sections/ [' s: i  n, J  K' i/ t

  35. 3 H" R3 ?: m: t$ {
  36. ; Directives are specified using the following syntax:
    + e) a6 z1 i8 c. ^$ V1 T% v
  37. ; directive = value
    5 J; t/ n; H3 h( y6 a* b5 l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.8 t/ v2 o; ^1 I3 N
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 S# U. W* e) f6 ]
  40. ; There is no name validation.  If PHP can't find an expected$ b$ F  ^+ B2 t2 ~7 Q
  41. ; directive because it is not set or is mistyped, a default value will be used., I5 }, T. q7 [4 R6 t! b7 V6 |* W

  42. 6 j; `  o/ ~* \$ }/ l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) o3 D7 ?- |* d+ E
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    - B4 p& q4 r4 T& d9 P* r2 p
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! q, {) E! {! r' ^, k& V1 X! {
  46. ; previously set variable or directive (e.g. ${foo})
    0 ^0 a: f) I0 m/ D! V
  47. 7 t* [! Q8 r9 y. r5 C. u3 f
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    / T# {3 ]/ A2 h' }" C" T* A1 V" `
  49. ; |  bitwise OR9 a' ^* c' m, L) N7 c! c; g1 i
  50. ; ^  bitwise XOR
      z6 K) p$ R2 C; K" W9 L
  51. ; &  bitwise AND
    ! v9 ?/ }. h6 h8 a
  52. ; ~  bitwise NOT* {' w2 L0 P0 W. {
  53. ; !  boolean NOT
    . r9 Z4 f6 d3 f& D4 B7 N

  54. 0 W3 v% e; c0 n6 I& H% r
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! r) F0 R; ^! G) a9 c4 `
  56. ; They can be turned off using the values 0, Off, False or No.# P: f! q; [& Z8 m

  57. 8 e  U" f7 u) S7 M
  58. ; An empty string can be denoted by simply not writing anything after the equal
    , q( S8 I$ f) S4 M: G9 m
  59. ; sign, or by using the None keyword:
    9 y: C' S1 M6 c
  60. ) f& Q; O5 x+ {0 Q. ^( w
  61. ;  foo =         ; sets foo to an empty string5 k& _+ \$ ]' ~9 \. b+ |: _: ~
  62. ;  foo = None    ; sets foo to an empty string! D, d! g  d; g
  63. ;  foo = "None"  ; sets foo to the string 'None'+ M$ J7 w6 s; G8 D/ ]3 ]) W9 }% n

  64. 4 e$ C3 D  Q( k7 J3 E2 e0 Z( ?
  65. ; If you use constants in your value, and these constants belong to a
    3 Q; d& F; D5 ]
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    2 i2 t/ k- x- n7 S# U( x, w! t
  67. ; you may only use these constants *after* the line that loads the extension.
    * F& \: F' m) L: _

  68. 6 _# O% s/ ?2 p& n
  69. ;;;;;;;;;;;;;;;;;;;9 E0 Q# Q2 k- u- t
  70. ; About this file ;
    % @/ w/ J9 d. E
  71. ;;;;;;;;;;;;;;;;;;;0 X: _) m+ Z8 h! M9 ?5 C7 z/ N
  72. ; PHP comes packaged with two INI files. One that is recommended to be used* \- E, |6 A2 m/ i4 o; @7 n! H
  73. ; in production environments and one that is recommended to be used in
    * J- ?' X& y9 T/ I" @% ]
  74. ; development environments.$ l0 U3 t$ v- A0 x
  75. # o. O& l( M% V. Q! f% j
  76. ; php.ini-production contains settings which hold security, performance and
    7 [4 j0 x7 X# d/ s/ X: L3 H
  77. ; best practices at its core. But please be aware, these settings may break
    5 K% \1 b9 U. {
  78. ; compatibility with older or less security conscience applications. We% h4 q! m  X/ k: d8 }: Z1 h
  79. ; recommending using the production ini in production and testing environments.9 u: ]% A0 ]  }. K% j

  80. : c) z. r$ u  j6 m7 R# A! t4 y  L
  81. ; php.ini-development is very similar to its production variant, except it is
    0 N" x1 F, W9 i) u" R4 I- c8 S
  82. ; much more verbose when it comes to errors. We recommend using the
      j/ C' l2 Z3 ^# v9 m+ a
  83. ; development version only in development environments, as errors shown to: s- Y( E9 c* h. N
  84. ; application users can inadvertently leak otherwise secure information.  N" c% e' f: i( q+ P3 a( O7 a9 F

  85. / H1 \5 F2 ?) S$ d* ]' m% F- O! p
  86. ; This is php.ini-production INI file.
    " @: `9 K1 u4 s/ f0 u

  87. & n6 N/ s% _. k/ Y8 H
  88. ;;;;;;;;;;;;;;;;;;;
    3 `  F5 z5 P: J+ G
  89. ; Quick Reference ;
    + F4 X# V- h1 r8 \) }' J! |7 b
  90. ;;;;;;;;;;;;;;;;;;;# h2 X1 I2 U7 W# r$ q6 b
  91. ; The following are all the settings which are different in either the production* t% L( ^5 j5 @' B8 _6 Q: A
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 G$ b' N! O- x
  93. ; Please see the actual settings later in the document for more details as to why
    9 Q3 m4 B1 z  M6 h% U
  94. ; we recommend these changes in PHP's behavior.
    9 D" V5 p, A8 ~: x1 g3 G
  95. # ^4 r5 D# d0 |+ p3 s) t( y# {
  96. ; display_errors1 ?* d- l* \1 \8 z9 v# U
  97. ;   Default Value: On
    7 U/ Q  O( w' @' @
  98. ;   Development Value: On& H+ G& v% Y1 |) R% ~7 a; \7 q
  99. ;   Production Value: Off
    : F+ M: r/ w9 E
  100. - T( d6 m/ Z: ], w( N1 R  q5 Q
  101. ; display_startup_errors* |1 Y( K+ ?/ L+ E+ e& b
  102. ;   Default Value: Off& y' `4 I3 r- B. x5 I: M: l' g
  103. ;   Development Value: On
    0 l, i1 |6 S* C/ ?) [- k6 u
  104. ;   Production Value: Off
    " U/ Q' P$ A1 c& a! L

  105. " ^# J9 P2 `$ N( r2 x
  106. ; error_reporting! ^  ~; W. r# g- p- `% }' M5 o
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / x9 X# }0 s% ^. W+ |
  108. ;   Development Value: E_ALL3 u" Y1 E# c+ y. s- |  v, y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % w  ]" a/ L, S: N7 g4 Q

  110.   c! P! Q; _: C' c$ s4 H
  111. ; html_errors6 _2 a" b% A3 }6 Y/ J, I& q
  112. ;   Default Value: On
    , W1 V1 j: h5 b# l2 N1 u, Y+ q
  113. ;   Development Value: On3 ?5 F7 k+ i' W6 f& E  ]" q9 @
  114. ;   Production value: On
      H* n, j% Z' d& n
  115. * w6 |8 f1 j% S2 j5 R& W
  116. ; log_errors9 s, T1 P  d6 b/ k9 O
  117. ;   Default Value: Off* F" ~' l  j$ N, E2 y& d. I9 ^
  118. ;   Development Value: On
    3 F& h8 T& i& w3 b$ l2 C8 W$ `5 o
  119. ;   Production Value: On
    * B6 G- {& Q( K0 P; e5 ^
  120. ) Q3 [6 W5 ~+ k6 E3 I- O
  121. ; max_input_time
    & g! Y8 c( _4 j# h$ w9 y
  122. ;   Default Value: -1 (Unlimited)' A5 M3 M. P% p! p$ [
  123. ;   Development Value: 60 (60 seconds)1 O( C9 o6 h& i- D# N! l
  124. ;   Production Value: 60 (60 seconds)+ \2 w5 ^) _2 q7 C
  125. 5 b' L8 R1 }( V. G2 H$ X
  126. ; output_buffering
    : L* I8 J/ W. p3 f+ g, n! e
  127. ;   Default Value: Off
    , W0 o5 x7 b$ T
  128. ;   Development Value: 4096
    : R/ ?' M: l7 O
  129. ;   Production Value: 4096# v2 H8 y6 i1 b! I& A

  130. ' d4 v5 N4 O* _2 A+ {1 O
  131. ; register_argc_argv! I9 V, _4 N3 O7 o
  132. ;   Default Value: On
    " i1 _  t; }' T' E" O6 n4 P
  133. ;   Development Value: Off1 n9 {% h+ y8 Y/ i5 A
  134. ;   Production Value: Off
    # E" g- z+ Q( n+ d/ S

  135.   U/ W. B+ b' J# S
  136. ; request_order4 O. g& H/ e/ M  [2 r/ B
  137. ;   Default Value: None0 ?& r% Y9 g7 ?* M" w5 {
  138. ;   Development Value: "GP"
    , o$ Z- M9 P5 k/ K
  139. ;   Production Value: "GP"
    : F6 v( J- p- c+ g9 s* p1 ^/ I. T# d
  140. . H8 x  `& ?% M- A- ~' W# S, {
  141. ; session.gc_divisor8 ~: I6 g2 S1 J3 C1 y
  142. ;   Default Value: 100
    1 |* N! ]5 E; {1 T7 q5 S
  143. ;   Development Value: 1000
    0 g" y) {5 L( W+ {) W
  144. ;   Production Value: 10005 O$ K: `8 W* r! B: f2 z) C* ~
  145. 5 ~- C8 N2 N2 }# [4 J# V
  146. ; session.hash_bits_per_character: [+ q# x1 h: E: b0 |! Z( |; Q
  147. ;   Default Value: 4( G+ O: Q& @# y- m3 j& }9 |0 g  h
  148. ;   Development Value: 5
    4 E' B+ c6 Z; F3 F7 w, c
  149. ;   Production Value: 5. D, F2 E) p9 W) d2 s7 s( H! i+ j

  150. , Y2 s" A8 z! f+ S
  151. ; short_open_tag9 @2 l6 U8 |' m: W# Q
  152. ;   Default Value: On
    8 B1 x5 r% X' U7 @) j# n% M
  153. ;   Development Value: Off7 `6 T8 H. J( ]" ?5 [
  154. ;   Production Value: Off
    ' T+ ]" s* N4 B( T8 E8 W: m' e

  155. - G. @# ^# a; b" \% x0 ?/ Z" K
  156. ; track_errors
    % H1 v9 K, [5 J9 a9 m# T
  157. ;   Default Value: Off  d4 w9 ^) R0 q% e: R, C7 b
  158. ;   Development Value: On. u) o* \6 g2 A# @' n  c; `
  159. ;   Production Value: Off
    / C& M2 a3 a. k/ Y% d. ], G
  160.   g" q" c8 Y6 d6 E
  161. ; url_rewriter.tags
    / J5 ~6 A( I$ K: T7 u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": _% U' B& n1 c! Y# l% J( }" N
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' [! s$ Q( l* Q' T
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": Y- e4 U: }; Y1 G( M9 Z8 ~

  165. . o. o# o8 }" `, L0 x
  166. ; variables_order
    0 |0 N0 U# S$ o/ a
  167. ;   Default Value: "EGPCS"+ v" |" g/ y) |# L* _
  168. ;   Development Value: "GPCS"4 z9 z7 H; s. E$ H5 W8 m, l% d5 v
  169. ;   Production Value: "GPCS"4 h, p6 f! R* {5 @

  170. : c: y" S4 ^8 F7 {/ G. d2 k0 U
  171. ;;;;;;;;;;;;;;;;;;;;
    5 J% |) b2 h+ }& X/ E8 F: ?5 B
  172. ; php.ini Options  ;
    7 @  j+ J+ ^) `5 a
  173. ;;;;;;;;;;;;;;;;;;;;
    5 a) v' B3 F0 K# O0 j5 W$ h
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini", W- X5 Z- b) q. ^# M) D
  175. ;user_ini.filename = ".user.ini"( @9 D/ r7 X8 h0 {

  176. 9 A- m: y2 z& k
  177. ; To disable this feature set this option to empty value
    4 b! T9 N$ g; `) u& v
  178. ;user_ini.filename =6 U) e8 D+ e6 {9 o; B2 _* S

  179. 8 n$ S3 M9 K: e0 V: [2 U
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
      ^' h4 {% u1 |& F7 n' v& A# k
  181. ;user_ini.cache_ttl = 300  F/ v* y5 A+ V, l2 K+ Q

  182.   v$ L' r6 o6 x5 U3 S% U' w: a
  183. ;;;;;;;;;;;;;;;;;;;;% R8 @" J8 E. E: `
  184. ; Language Options ;
    ! G4 k, i/ |- i  B3 ^' L- u; Z# ^6 v
  185. ;;;;;;;;;;;;;;;;;;;;
    ! E6 ~5 M  O6 f# |7 Q
  186. - m1 h. \& ]& S+ |% r
  187. ; Enable the PHP scripting language engine under Apache.
    ( ~: o. s4 h/ k3 s& p* @& Z
  188. ; http://php.net/engine( u/ b4 b6 r: x2 A# l# R* Z
  189. engine = On3 `; a$ s- v" d0 X

  190. ( V5 _& U9 _$ q1 e6 i' n1 H- Y
  191. ; This directive determines whether or not PHP will recognize code between2 S2 F- p) e1 D- V0 p7 {0 \
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + h% f/ [7 U$ \; R8 }6 W$ l
  193. ; generally recommended that <?php and ?> should be used and that this feature: O) o9 p- d) n; `
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) b) g! Y$ m+ B: Z4 {
  195. ; documents, however this remains supported for backward compatibility reasons.  Q2 ?5 ^: b, x: f; R. [+ M
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ) {2 p6 y) B" w& X, I! |
  197. ; used regardless of this directive.
    4 |. N$ N% o+ J2 F2 b6 |; [' J" J
  198. ; Default Value: On
    # y& l3 u) e$ c) d
  199. ; Development Value: Off- ]( K- D" j. A! w$ {2 m5 d7 O) n
  200. ; Production Value: Off& B( @8 j: N) W! C( x
  201. ; http://php.net/short-open-tag# i2 V/ z# H! H8 c1 c
  202. short_open_tag = On0 f. m( w1 a$ Q

  203. % {6 X4 x- n' Q& o: d% V+ {1 t2 R
  204. ; Allow ASP-style <% %> tags.( {9 m  z$ z* h: b. S. S' q6 G
  205. ; http://php.net/asp-tags
      L$ e5 \6 C/ }' h
  206. asp_tags = Off
    8 \6 V2 L8 [: g( w$ u* f

  207. ) o) G% m* z) m$ V
  208. ; The number of significant digits displayed in floating point numbers.6 y2 ]& Q# w* M( U7 l: s
  209. ; http://php.net/precision
    & i6 D3 k/ a& L
  210. precision = 14% k( i/ F. R, A0 B. D# c7 T

  211. ) @4 {  v$ u* [. F" S
  212. ; Output buffering is a mechanism for controlling how much output data! w) ?& t+ G6 n) t/ {% I+ e- D
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that3 W" |- ^8 X' {3 X  S9 o
  214. ; data to the client. If your application's output exceeds this setting, PHP* h1 h+ O" g5 i% Y$ ^
  215. ; will send that data in chunks of roughly the size you specify." D0 P7 C. W" ]2 \
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    : _( {" z& ?5 X+ x
  217. ; interesting side-effects depending on your application and web server.
    8 s# D, ~( C' L1 s6 e
  218. ; You may be able to send headers and cookies after you've already sent output" X0 F' W, y5 n9 ^3 L! b( f0 V
  219. ; through print or echo. You also may see performance benefits if your server is
    2 I8 w3 `! U/ A  w* I% U
  220. ; emitting less packets due to buffered output versus PHP streaming the output& e2 S9 M5 [$ s+ V: W3 T0 o8 N5 k/ P
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% N  J( U" G: t( f
  222. ; reasons.- m+ l( m2 b  b- Q5 o3 P
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    9 `: ?  E1 _$ y8 r! |# Q3 {( |
  224. ;   functions.6 a2 O9 n1 o) h+ V
  225. ; Possible Values:
    5 ~* p  U# }+ J+ a8 C4 y  m: q& P
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 Z  i0 Q3 g$ E* v
  227. ;   Off = Disabled
    ! Y, D: Z, `7 y2 U) H4 O8 S
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    1 {8 o/ R% J8 [5 Y" p1 s! h
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI  i" X/ p% z: Z# ^9 `) `! W! r$ g
  230. ; Default Value: Off
    / r% I# b& t) P6 L& q7 ]
  231. ; Development Value: 4096# i3 o8 D, i" A. X
  232. ; Production Value: 4096: ]& ^$ c7 P4 b4 R2 m$ |5 v9 x
  233. ; http://php.net/output-buffering
      @' J! s+ g8 j* H7 X- Z. q$ ~5 ^
  234. output_buffering = 4096
    5 `! w1 b. e; c" D& M! k% X

  235. 7 M# R9 h8 O/ A! j6 M. `0 Z% @
  236. ; You can redirect all of the output of your scripts to a function.  For- j- c) ~9 R$ u6 g2 Z
  237. ; example, if you set output_handler to "mb_output_handler", character
    ( }2 u, n5 w' [0 r2 w" `8 v6 `5 @0 g
  238. ; encoding will be transparently converted to the specified encoding.3 p: y. g2 U6 |6 v3 p, [: r
  239. ; Setting any output handler automatically turns on output buffering.
    , g& I2 D0 ^; h1 {# L
  240. ; Note: People who wrote portable scripts should not depend on this ini$ Z$ {- r  F5 H5 ~/ B/ X
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    6 m  D  f$ }9 N* ?, [" s. b
  242. ;   Using this ini directive may cause problems unless you know what script5 f7 V/ h: |1 V
  243. ;   is doing.0 Z( t2 r1 [( T- F& L8 E5 Z. q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    - c( V! `4 f% Z4 e6 p/ G. C* U0 s
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 H( q/ `3 E' p& s" n; y' B
  246. ; Note: output_handler must be empty if this is set 'On' !!!!6 M0 ]0 h* |2 v8 r1 f
  247. ;   Instead you must use zlib.output_handler.# H& S6 x/ `4 m
  248. ; http://php.net/output-handler
    - ~) ?* A- {7 A# D9 g
  249. ;output_handler =& L+ |+ Y) m+ w3 w/ k
  250. 7 R% A4 y) V7 U
  251. ; Transparent output compression using the zlib library& y7 c) E( Y8 ^# M# S! p2 D
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- K$ o2 t& u3 u/ k3 G* A
  253. ; to be used for compression (default is 4KB); c5 ?/ m8 T3 D8 E: I
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    $ w% v, d5 }: ]9 ~+ u) K) F" ~
  255. ;   outputs chunks that are few hundreds bytes each as a result of, G3 h% f* j; ^( d/ D7 s4 _
  256. ;   compression. If you prefer a larger chunk size for better. G2 q0 l% l9 N2 M$ ]
  257. ;   performance, enable output_buffering in addition.
    / Y4 R+ B* r3 ^2 S' G  ~
  258. ; Note: You need to use zlib.output_handler instead of the standard7 C  J8 _9 o! O$ `4 e( ?
  259. ;   output_handler, or otherwise the output will be corrupted.% N9 `2 o& g4 @& |# |7 H
  260. ; http://php.net/zlib.output-compression, Q# [/ [# f0 n
  261. zlib.output_compression = Off
    $ o9 I* y6 M# [  ~7 B) i: [+ `+ e& k" ~

  262. 9 `+ }3 A& `0 ^% h) p, N3 V. b2 p4 p
  263. ; http://php.net/zlib.output-compression-level
    9 A) j1 [4 Q5 R9 a0 W# P: \7 y
  264. ;zlib.output_compression_level = -1
    ( i3 o  ]3 q, u/ B* N( J
  265. 8 V4 T. o7 \# S  o
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ( i$ O2 e. v+ B: Z
  267. ; is activated here. This setting does the same as output_handler but in% ^! k: z/ }9 a5 V
  268. ; a different order.
    & ]  `; D) I! }" e
  269. ; http://php.net/zlib.output-handler' b# S2 r, ^4 g/ I4 H: Y. S/ O
  270. ;zlib.output_handler =% F; ~. n! n  Z1 i% s0 _; W% e

  271.   y0 |9 {- L' b. V
  272. ; Implicit flush tells PHP to tell the output layer to flush itself. A! h: `5 d8 H7 l7 q
  273. ; automatically after every output block.  This is equivalent to calling the% V. R/ k/ Q4 Q( M
  274. ; PHP function flush() after each and every call to print() or echo() and each5 P, Y3 H. p! |: F' w/ l, N3 \- C
  275. ; and every HTML block.  Turning this option on has serious performance
    7 O/ `5 y; Q0 V+ p1 S
  276. ; implications and is generally recommended for debugging purposes only.
    6 }6 v, f! o# a' f
  277. ; http://php.net/implicit-flush. u$ G4 v" T7 h1 a1 f. d* }" D1 u
  278. ; Note: This directive is hardcoded to On for the CLI SAPI5 `9 G' Z9 [, ~6 i
  279. implicit_flush = Off
    ; @5 I1 l& _, U4 V& ?$ M: ?4 Z
  280. - D( `# }$ V% Y# Z7 P, H& ]' d
  281. ; The unserialize callback function will be called (with the undefined class'
    * ]; V) N  C  ~/ c# H8 F# w
  282. ; name as parameter), if the unserializer finds an undefined class
    $ I7 t7 D! t' T
  283. ; which should be instantiated. A warning appears if the specified function is
    ( e5 t. D% @" O) L; ?% C
  284. ; not defined, or if the function doesn't include/implement the missing class.' B# ?" `$ I( N" f- L4 O9 M% a
  285. ; So only set this entry, if you really want to implement such a
    0 l! A; O1 A1 z/ z  R7 f* P2 i! Z% ]4 D
  286. ; callback-function.# c3 V4 b+ _. T4 B- V0 `
  287. unserialize_callback_func =6 u- z- U0 U, S3 {; }
  288. / U' m) t' L$ I. b, c
  289. ; When floats & doubles are serialized store serialize_precision significant% b3 D7 U8 |6 _' @+ U
  290. ; digits after the floating point. The default value ensures that when floats3 t( {5 a( J3 s' i+ h( d9 }- T
  291. ; are decoded with unserialize, the data will remain the same.4 P  o" }4 K3 s( W- [
  292. serialize_precision = 17
    . b4 [+ u* @+ p+ f2 i+ F7 L8 c
  293. 6 [, w& l! i/ W- }* m4 n/ M
  294. ; open_basedir, if set, limits all file operations to the defined directory
    2 g0 L4 ~! a( \: {7 a+ Z( h4 L
  295. ; and below.  This directive makes most sense if used in a per-directory( L( y5 j* W: J" K# A1 E5 Z
  296. ; or per-virtualhost web server configuration file.
    / m+ ^, {& \0 Y: f) V
  297. ; http://php.net/open-basedir
    ) ?) o% H  i* b# N4 u
  298. ;open_basedir =% i) B# [) B- e/ g  B: U7 E
  299. 5 A& F4 _/ t% w/ k7 ^7 P
  300. ; This directive allows you to disable certain functions for security reasons.
    ' x1 k0 i; @7 B0 _* d
  301. ; It receives a comma-delimited list of function names.
    : M. K2 q/ M3 r6 o+ z$ x  Y# ?# A3 M
  302. ; http://php.net/disable-functions; y, D+ J- Z3 `$ Q
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    0 y& ]5 C1 C$ [0 c

  304. . w9 M' X+ J, A6 l# g+ U9 P+ G
  305. ; This directive allows you to disable certain classes for security reasons.
    ( ^1 Q" h% B& v& j/ J8 U
  306. ; It receives a comma-delimited list of class names.
    ) N- D, d6 D3 t, |+ K" e: E4 ?6 u' y
  307. ; http://php.net/disable-classes
    , P$ V' W' s6 h6 |. ], n
  308. disable_classes =% M# u) O- J$ R2 K
  309. / \# M4 P8 I* d- n
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    8 ~& f! {( T2 b# U( O% r
  311. ; <span style="color: ???????"> would work.
    $ S6 C$ q: |9 }/ T+ W; Y8 }
  312. ; http://php.net/syntax-highlighting
    8 _' z4 f& U/ i$ L$ R) p
  313. ;highlight.string  = #DD0000
    4 W4 |  J) e3 z
  314. ;highlight.comment = #FF9900: U( b" L" d% K# ]9 M" u2 d( z
  315. ;highlight.keyword = #007700
    5 A& a* L7 M& B
  316. ;highlight.default = #0000BB
    + E1 |% m# ^% b. L, c' n" J
  317. ;highlight.html    = #000000
    , s: y- W) m, h  k# n0 W

  318. & A7 g  I/ m; I% K
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    $ `2 C2 s  M2 d! a9 k& b
  320. ; the request. Consider enabling it if executing long requests, which may end up0 K+ H  ]! S, M, A6 _: H
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ) q/ f" F  x+ u8 ]7 \) c5 ^
  322. ; is to disable this feature.! n, j& m+ @5 O1 W) T6 }4 j, J+ `
  323. ; http://php.net/ignore-user-abort
    - g. _$ [7 E2 K
  324. ;ignore_user_abort = On- R) h* t" X2 T2 Y8 @* }* P
  325. % Z, T( M1 H3 m
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    6 U; a" c8 R4 J; @  [1 D2 s
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    & @& ~: Y) {. t9 g, X" j
  328. ; the file operations performed.# w0 G5 `+ i0 u# G
  329. ; http://php.net/realpath-cache-size) v; I# ^" t0 L6 m9 x* G
  330. ;realpath_cache_size = 16k0 |  N( S9 \' _; \2 j
  331. % ^& r; O$ K( T$ Z
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    # z  q. j" f3 D4 J) h" l3 }
  333. ; file or directory. For systems with rarely changing files, consider increasing this* b, x/ L* k! e2 G8 a. L
  334. ; value.
    + A. V  e3 o! y$ v9 ^/ P4 w
  335. ; http://php.net/realpath-cache-ttl" k4 d: c# J2 Z
  336. ;realpath_cache_ttl = 120
    0 Z. P) Y! ~* l

  337. 9 p2 d5 _- e% N1 R- Y
  338. ; Enables or disables the circular reference collector.9 m. b+ X6 e0 t' u6 d
  339. ; http://php.net/zend.enable-gc
    % M: r& Q6 {0 w6 x
  340. zend.enable_gc = On
    . h% }- [+ D: c# D2 P: O  W6 O
  341. ( T: F: ?5 o  U
  342. ; If enabled, scripts may be written in encodings that are incompatible with0 ]+ Q4 E9 ]% ~
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 U$ d: F6 w" o
  344. ; encodings.  To use this feature, mbstring extension must be enabled.9 J+ L8 n1 m$ X$ u* \: `, C
  345. ; Default: Off( w7 ?: ]$ O+ W) u. @; w$ n8 q4 y
  346. ;zend.multibyte = Off9 H) H( x7 f, u9 M# p! N2 D6 f

  347. ' _/ a6 z9 T' m
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    6 c$ H7 z0 g% J# p% c9 q" e
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
      a& c2 `9 i& e4 T
  350. ; Only affects if zend.multibyte is set.
    1 V6 `4 U" C3 h5 s" m' D
  351. ; Default: ""4 _0 G: `- N" `# g( _
  352. ;zend.script_encoding =
    $ M' H7 k8 H% T; w

  353. . C7 s& M6 O- D/ X* V
  354. ;;;;;;;;;;;;;;;;;
    . _& R% m+ w/ L& z7 `
  355. ; Miscellaneous ;/ e3 {% Z' R/ H) C/ E+ W7 y1 E
  356. ;;;;;;;;;;;;;;;;;
    ' {# L( i; J1 P5 l) i

  357. , i$ r: {7 ?, y: j- `8 Z
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    7 ?: O8 m$ n; J3 p% N
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 _( m- V0 k0 E  C5 b4 D. w
  360. ; threat in any way, but it makes it possible to determine whether you use PHP, D- I" Q+ d' B5 T" f
  361. ; on your server or not.
    ( K' X3 |: R9 m& Y7 @7 j
  362. ; http://php.net/expose-php
    ' Y) @8 ]. w' l4 @- B0 u
  363. expose_php = On) ]8 d8 @; N3 \5 Z  w- k$ A
  364. 5 c/ p# r: l# G) D8 Y$ d9 \
  365. ;;;;;;;;;;;;;;;;;;;
    ) l* [# L! R6 t7 a% c' N2 N9 E3 n
  366. ; Resource Limits ;( ^5 b- d  A+ E# W- N7 l
  367. ;;;;;;;;;;;;;;;;;;;
    " [2 H7 i7 N' b' D: S) v

  368. 8 I) c( y2 h( C' `# q0 Q- |
  369. ; Maximum execution time of each script, in seconds% Y+ A1 I& Y" }3 o% |$ V
  370. ; http://php.net/max-execution-time
    0 h) ]; K5 M" A8 S. g
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI3 v- p3 P- f" j! n8 H
  372. max_execution_time = 3009 m8 H, ^* J: F8 s. Y

  373. ; z0 G5 l! j! m% N2 M8 ?' Z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good8 f$ {1 M2 s, P+ p
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly$ ]+ E3 a" u6 f" @. t7 Y
  376. ; long running scripts.
    + u% I3 z, W4 e6 t  Z5 f
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) p# Y9 m0 E# F* n* ?9 }
  378. ; Default Value: -1 (Unlimited)
    ! M! M/ ]. c: X8 B$ d# c
  379. ; Development Value: 60 (60 seconds)- K4 h8 G  `2 F1 G+ y8 z
  380. ; Production Value: 60 (60 seconds)2 }2 E% r% T0 Q9 [/ R
  381. ; http://php.net/max-input-time
    6 d1 v' a2 i, n9 h9 c! ^
  382. max_input_time = 60. @% @; |4 t4 M/ ~+ R7 \7 o
  383. % K3 \: K0 H  Y. R& f# c1 D
  384. ; Maximum input variable nesting level4 b8 F( m( S$ f
  385. ; http://php.net/max-input-nesting-level1 Z; D9 W& D4 l; s! M
  386. ;max_input_nesting_level = 64
    / j. m1 z! |2 [1 k5 T. P  f& q  F3 B
  387. " q  w( N. q: S% p& o* s! c
  388. ; How many GET/POST/COOKIE input variables may be accepted
    1 E* T" o( V* T4 l6 U% g
  389. ; max_input_vars = 10006 S5 m( W$ [( X+ d# a6 f- z
  390. 3 C% R" i4 Q8 X4 ?( c0 B. ?
  391. ; Maximum amount of memory a script may consume (128MB)
    ) y2 A6 r: i5 L; d
  392. ; http://php.net/memory-limit& u. A4 a7 C& Y1 b
  393. memory_limit = 128M; g* W. L) x& z( ]$ n4 c
  394. ) |/ ?$ L0 x1 k! [/ y' Z& q
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( p, w0 S/ R* P+ d
  396. ; Error handling and logging ;# I* I+ ]2 a/ G& x) z5 \
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" f4 \. |5 k" k/ A4 c
  398. # ^- A/ }3 Y/ e; G/ t$ F+ ^
  399. ; This directive informs PHP of which errors, warnings and notices you would like- r; m8 |. S- ?1 F
  400. ; it to take action for. The recommended way of setting values for this
    & @0 D' P& I2 q
  401. ; directive is through the use of the error level constants and bitwise& e# e8 \2 U% o5 Y5 Q3 x% J1 }' C
  402. ; operators. The error level constants are below here for convenience as well as
    2 V# T7 i- k/ F2 N% d) v
  403. ; some common settings and their meanings.3 n5 C  t5 ?! F* O1 r4 q
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    : g/ M8 g3 U9 O1 v  ~5 Z
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; T7 E3 I& {$ G
  406. ; recommended coding standards in PHP. For performance reasons, this is the" n+ B; e( E2 `+ l2 Y# a3 u0 ^5 J0 ]. g/ K
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    : O# K+ M( S8 g
  408. ; resources complaining about best practices and coding standards. That's what
    1 ]# @" L8 l8 F* P' A1 W
  409. ; development servers and development settings are for.# Y' O! ]$ H# w( C/ V) k( W
  410. ; Note: The php.ini-development file has this setting as E_ALL. This* [' w: o, J4 `" Q
  411. ; means it pretty much reports everything which is exactly what you want during
    5 b* X+ U9 G3 k+ ^! _: e
  412. ; development and early testing./ U9 X/ n) ]9 v
  413. ;
    7 W2 s/ `/ o. G8 c, Y
  414. ; Error Level Constants:9 n- K8 b8 J* Y+ ?4 R9 H8 K& E- @  b
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)9 w  S- L- A4 s% w( s" b7 P
  416. ; E_ERROR           - fatal run-time errors
    9 W4 a" h. g; X7 z% O; B! Z5 I# Y
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors' |7 P2 U7 ^( T8 S
  418. ; E_WARNING         - run-time warnings (non-fatal errors)) i6 a1 j& Z) g. S) l- ?7 l8 k
  419. ; E_PARSE           - compile-time parse errors
    4 C: h; m3 G; C/ p/ U% g' G9 c
  420. ; E_NOTICE          - run-time notices (these are warnings which often result) S3 r$ e( O! g! w* V/ e  h
  421. ;                     from a bug in your code, but it's possible that it was
    ) ~9 {# G1 S7 e: l8 \5 M! r
  422. ;                     intentional (e.g., using an uninitialized variable and
    / r2 N# n* k5 h
  423. ;                     relying on the fact it is automatically initialized to an
    " b; w' V; n0 p: q
  424. ;                     empty string); q6 K/ T9 x' R
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 U8 g  W* C! F0 h
  426. ;                     to your code which will ensure the best interoperability
    + J' Z$ G0 A- R3 C+ M/ ?
  427. ;                     and forward compatibility of your code" R/ }, `" w+ v& G* I. v0 O
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    2 g3 O( n% S3 E9 q8 d
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    : p% p! R1 F9 u$ f
  430. ;                     initial startup
    & J& I# S, L- N( v0 \
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    7 D# @$ g' k9 N2 U0 k' S; \+ x
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      {3 D% d+ Z% M" k5 O( s) o
  433. ; E_USER_ERROR      - user-generated error message% m7 p2 c# L& V' D5 [3 u5 Y4 G# f8 x9 |
  434. ; E_USER_WARNING    - user-generated warning message
    0 ^% c6 d# \8 O
  435. ; E_USER_NOTICE     - user-generated notice message& u$ U- f8 M9 `' h: a2 g6 f
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    % ?' w  [. z2 z% W7 f' X
  437. ;                     of PHP% V/ I1 X2 Q/ c* W# _" j+ i
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) B. W. T+ p  D; A
  439. ;
    , d: ^6 |! G- \% v# \4 \& R
  440. ; Common Values:# f) x" E" z& k  W
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)3 k7 w# f8 I) p0 G9 Q
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    * i$ u5 Z+ v" k/ Z/ w/ U
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)7 I- T  w* q2 g# D/ f; f
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ; k, ^* N% E$ b8 h$ u. E$ u) [
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # ~5 q, ]' Y) d% `2 P
  446. ; Development Value: E_ALL
    ; q5 K/ N/ z- D* N; ~/ s
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, G& E9 d( p. ~
  448. ; http://php.net/error-reporting, K* ?  ^, p( E1 B& N( o
  449. error_reporting = E_ALL & ~E_NOTICE5 B4 \. F# f/ J, B% I8 J- {

  450. * G: ?2 a, v1 J, |+ Q" j* s- o
  451. ; This directive controls whether or not and where PHP will output errors,3 }7 C; u! o. c+ ]- u( Y+ T
  452. ; notices and warnings too. Error output is very useful during development, but
    ' p$ K, I  J& I8 k
  453. ; it could be very dangerous in production environments. Depending on the code! h: C6 U" D0 w3 W6 V$ D& }  E
  454. ; which is triggering the error, sensitive information could potentially leak6 x3 i1 c7 L* b# j
  455. ; out of your application such as database usernames and passwords or worse.
    0 \) k  {& ^7 r5 y) K
  456. ; For production environments, we recommend logging errors rather than
    ! c# ~6 R( F5 ]/ w7 T
  457. ; sending them to STDOUT.& L4 b* |1 N0 R6 |
  458. ; Possible Values:
    5 ^* v- M6 U. {; ^1 n
  459. ;   Off = Do not display any errors
    . Z7 }/ k) R* {) V. l, C
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)1 ]# y; e& p# b( m8 A
  461. ;   On or stdout = Display errors to STDOUT0 [/ N3 Q, D; Y. a
  462. ; Default Value: On- P# P* e6 t! W( [
  463. ; Development Value: On
    3 T+ g" o2 Z* q* t  x
  464. ; Production Value: Off
    0 s( T* Y- ^( R' o
  465. ; http://php.net/display-errors
    6 h, D5 L# E% x  z6 L4 {& W/ w3 G5 ?
  466. display_errors = On
    4 y3 s* P% r. L3 Z
  467. $ O! J6 I% m/ c2 v
  468. ; The display of errors which occur during PHP's startup sequence are handled) `5 H( Y* [0 v0 S8 C5 W8 H
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    $ _- g/ @2 a$ A0 Q, \0 l0 h2 |1 ^* G
  470. ; errors from clients. Turning the display of startup errors on can be useful in% ~& S. L4 ]8 `. ]
  471. ; debugging configuration problems. We strongly recommend you
    $ c- V' V$ x/ l  A
  472. ; set this to 'off' for production servers.7 Z9 z3 L6 I: D" M/ G2 H
  473. ; Default Value: Off
    ( Y+ |8 c# {% L5 n) U5 }
  474. ; Development Value: On) [# H- m6 A4 X1 }- K
  475. ; Production Value: Off
    ( G2 G- ~) W# ^1 C) g- t
  476. ; http://php.net/display-startup-errors; s5 `3 ], }0 U! x  ?5 U: N) `4 E
  477. display_startup_errors = Off- B& P7 B# G( t. |3 A0 H, e, k4 J

  478. 1 T7 C6 k$ N) P6 T8 w
  479. ; Besides displaying errors, PHP can also log errors to locations such as a  N1 U. I3 i8 f- ^) h1 [7 d
  480. ; server-specific log, STDERR, or a location specified by the error_log4 b2 z1 S- C2 Z+ y6 N. K
  481. ; directive found below. While errors should not be displayed on productions: U* }( {1 u  I
  482. ; servers they should still be monitored and logging is a great way to do that.; N* z6 D' G0 V% M( a
  483. ; Default Value: Off
    5 C8 k  ?: f2 Q
  484. ; Development Value: On  ]/ A3 W. M$ @  L) Y1 |$ a1 o
  485. ; Production Value: On: G9 L$ m9 z  u; l
  486. ; http://php.net/log-errors
    0 u' s3 b+ b- z8 ?& }/ `
  487. log_errors = On
    . i/ u% j: f3 t5 j9 y
  488. , g9 L+ h2 M3 A4 ]+ K
  489. ; Set maximum length of log_errors. In error_log information about the source is
    4 x/ T* B5 z9 h5 ?
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 ?- E  Z& S/ O. p( H
  491. ; http://php.net/log-errors-max-len4 n, h( A( }1 @$ r( c9 R
  492. log_errors_max_len = 1024
    5 r% d, t  o) H1 ]

  493. . H' @9 d( Q: N" ?" S; N; b( p' [
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , Z1 Z4 T8 w4 v, T( J% F6 ^3 S
  495. ; line unless ignore_repeated_source is set true.
    : N9 E! u; S  B8 x
  496. ; http://php.net/ignore-repeated-errors: o0 r- P0 L( I" u
  497. ignore_repeated_errors = Off. t( s8 b- ^! ~# p5 U) \- J5 G

  498. : q+ g$ I4 v/ r8 L" F" a. W  t+ I
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    8 J' V7 P* ~$ G! ]5 Q1 X4 U
  500. ; is On you will not log errors with repeated messages from different files or
    5 n) q: _" L! |  Y( v1 z
  501. ; source lines.% L2 {# n4 Z8 T5 F" D
  502. ; http://php.net/ignore-repeated-source& E0 k" c8 y4 n$ \$ H5 b1 K+ n: [
  503. ignore_repeated_source = Off
    4 C: ~/ P% I0 J
  504. 4 n' G4 z9 l. p
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 g, H; `# C. Y7 l' n: _7 p
  506. ; stdout or in the log). This has only effect in a debug compile, and if
      g/ C2 r; }; i- J2 R" `
  507. ; error reporting includes E_WARNING in the allowed list1 B2 P6 H9 X" K# D  {/ C
  508. ; http://php.net/report-memleaks
    ) p7 J  \$ u1 V: J" @
  509. report_memleaks = On1 c. `. ~1 G5 r* h: Q; U( {9 G; M
  510. ; C8 T6 ?1 G& L
  511. ; This setting is on by default.
    , G, T( H0 x+ K$ G( f$ X3 {
  512. ;report_zend_debug = 01 L! X/ m, X- N  ~! V
  513. * ~% G: z; F: F. Q
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' q# u) J" Y: m  M& u% N5 U
  515. ; to On can assist in debugging and is appropriate for development servers. It should6 Q2 O6 c) [( p. r
  516. ; however be disabled on production servers.
    $ n7 J" g' b4 H
  517. ; Default Value: Off
    & M2 H& e. \* H( r/ L
  518. ; Development Value: On' }6 |, p4 b5 O/ x# {0 ~( K0 i
  519. ; Production Value: Off7 A' l$ M  [$ R
  520. ; http://php.net/track-errors8 }9 }. |1 z1 w
  521. track_errors = Off
    * E+ ~8 n3 l6 r2 }
  522. * }( R9 m" ?0 G& W
  523. ; Turn off normal error reporting and emit XML-RPC error XML/ A4 a6 ~$ P" J, M* O
  524. ; http://php.net/xmlrpc-errors. t% q. A5 C$ |+ S7 O3 V( }; D
  525. ;xmlrpc_errors = 0
    ) ^- p/ I. B. e9 d- K

  526. * c; r- @# x- k- k" n! Z
  527. ; An XML-RPC faultCode, [. l" ?- g& T! K6 T
  528. ;xmlrpc_error_number = 0/ M+ x4 V" F  _) @- I

  529. 6 }8 p* L0 z3 [- R( x
  530. ; When PHP displays or logs an error, it has the capability of formatting the0 N% x' ~- l+ u6 ]$ u: ^
  531. ; error message as HTML for easier reading. This directive controls whether( z  W3 k, p) \& n% y
  532. ; the error message is formatted as HTML or not.9 @* p6 g' d9 w* W* y0 I
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI' N  U5 H4 \7 Y1 O' w+ y) w- e2 B+ p
  534. ; Default Value: On
    1 K( e; _9 u- l& T1 A, j; G" D* F9 F
  535. ; Development Value: On
    6 p) i3 w1 O- b# a* W; @6 D9 s
  536. ; Production value: On, C, O1 S& ?# {% i: X
  537. ; http://php.net/html-errors5 }9 m" }$ N* w' V7 _& W) @
  538. html_errors = On
    , g% V# y; i- F' f
  539. * P' z6 j" [0 H2 v' l* n  j
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP3 c( |! F- V4 v2 t
  541. ; produces clickable error messages that direct to a page describing the error$ v3 J" }& X+ s' b, o
  542. ; or function causing the error in detail.. p" M+ A! X  h4 P5 p, S( B
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    . @( n! a5 n" U& f1 Z
  544. ; and change docref_root to the base URL of your local copy including the# m' L7 ^. @  `  Z3 c& f/ H
  545. ; leading '/'. You must also specify the file extension being used including
    ; v' F7 i* O% Q$ s8 T
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    7 E$ e$ e7 ?; V% N6 R/ L
  547. ; case no links to documentation are generated.
    , t2 T% W* Y3 l4 j/ v" g
  548. ; Note: Never use this feature for production boxes.! j; E& o* r+ N! _$ \2 q. R
  549. ; http://php.net/docref-root
    " ]1 r6 `: L2 E$ y9 @- v, j# g. W
  550. ; Examples
      S) U4 I9 @/ B$ ?  s5 M
  551. ;docref_root = "/phpmanual/"
    + g0 W& k: g8 M5 m  k' ^6 |
  552. + h0 c! R6 {) @8 E; S0 M, M
  553. ; http://php.net/docref-ext
    8 f% ^; I2 N1 M, ~
  554. ;docref_ext = .html
    1 B6 R0 ?+ a# Q- X# e
  555.   L" `1 Z* a8 M9 w  k6 a: `! }
  556. ; String to output before an error message. PHP's default behavior is to leave
    & t9 K7 V6 n, g: o4 {" X: m
  557. ; this setting blank.
    7 e! A6 G& E" F; [
  558. ; http://php.net/error-prepend-string1 |% T; b: n0 C8 C' X  F" Q. U
  559. ; Example:' k# E% C3 ?' E- |1 {
  560. ;error_prepend_string = "<span style='color: #ff0000'>"$ y$ Y( j/ \/ j, K6 n: @: m2 a3 W
  561. ! T  e! \5 S2 V5 A0 R
  562. ; String to output after an error message. PHP's default behavior is to leave# g1 x$ V4 A& r8 Q3 _
  563. ; this setting blank.3 g6 s0 D( b1 w" ?. e
  564. ; http://php.net/error-append-string% i2 T0 W& L& [7 r0 S$ f
  565. ; Example:- ~: F! m9 O5 u: Z# r- z% a
  566. ;error_append_string = "</span>"1 G+ z  }: i+ S5 Z, Q" L; N& j

  567. 5 Q1 u$ Q% R. C9 h
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 t) U0 C7 q: m# @' q( C4 z. `
  569. ; empty.
    / _% z' _3 f  z  D
  570. ; http://php.net/error-log/ p7 |2 F6 B4 H5 @* K4 s/ j
  571. ; Example:
    ! l1 p& m3 D: s: G; W" v
  572. ;error_log = php_errors.log- Y/ c. t% E. {/ ~( b& B
  573. ; Log errors to syslog (Event Log on Windows).- a+ O: D/ G' _+ f$ E% g2 w$ p
  574. ;error_log = syslog& A5 }+ e& o* P& |7 O0 Z/ y6 W# i6 q0 s

  575.   b4 B; o( W/ p% K6 V
  576. ;windows.show_crt_warning  P6 A$ V# ^1 F+ t' C
  577. ; Default value: 0
    4 d& G' Z: U5 r0 t
  578. ; Development value: 07 _  r$ C* ~- G' j0 d, d" T
  579. ; Production value: 06 g$ y0 H! G* O1 g
  580. : G* Z" X& L3 I: R% i/ ]( q
  581. ;;;;;;;;;;;;;;;;;
    & j* W* x5 J2 D$ ]! s# t7 L
  582. ; Data Handling ;
    : F! m7 R. M9 y( ~/ h' q3 e. u3 g
  583. ;;;;;;;;;;;;;;;;;
    " @! p2 u& k+ k$ X. C8 n. d7 N; Z- l  S

  584. * t0 d: n* J+ j+ V+ q
  585. ; The separator used in PHP generated URLs to separate arguments.
    , @# \% `" c+ Q, d2 |
  586. ; PHP's default setting is "&".
    8 U5 p0 [; q$ V/ @0 F' ?
  587. ; http://php.net/arg-separator.output- X" b4 C+ p0 H, w" }- q3 d% ^
  588. ; Example:
    0 H7 [4 `" j: c% m( J
  589. ;arg_separator.output = "&amp;") P0 {+ a3 X/ U4 w

  590. 8 }. I* c) \% z. Z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ D; g, ~# x% X4 _
  592. ; PHP's default setting is "&".3 _. J" R( Q  G* S3 ~
  593. ; NOTE: Every character in this directive is considered as separator!
    - |' Z8 G) P/ m4 R$ O
  594. ; http://php.net/arg-separator.input
    9 d3 |5 M3 O. q0 d# @3 E* R; w/ ~
  595. ; Example:# |  X  |0 b5 R* H
  596. ;arg_separator.input = ";&"
    * Q2 {7 ^* @, t0 s$ r5 G' g! @! [
  597. # W: I" N# Z- `6 X, F
  598. ; This directive determines which super global arrays are registered when PHP+ W& Q  j% S  M& `  G1 l
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super2 Y/ B6 L3 r9 L# a; Y
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 x+ j% \& x) T# N
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    % t5 P' k+ K0 k' L
  602. ; used as the others, ENV is not recommended on productions servers. You
    9 h/ t  [- B& P1 i9 w
  603. ; can still get access to the environment variables through getenv() should you; W* v0 m- F& m
  604. ; need to.
    9 K2 U. u4 K3 K
  605. ; Default Value: "EGPCS"% z# K% ^, s9 v: r) r# U. m- c
  606. ; Development Value: "GPCS"
      _, e$ P9 H( k7 U* W
  607. ; Production Value: "GPCS";
    $ R) |% ^& `+ }' R, E0 a; A( J" H6 C
  608. ; http://php.net/variables-order; ?7 q# @0 U: ?- T% a. S: W; n
  609. variables_order = "GPCS"
      ^2 M( T& e! L; E6 U% D
  610. % j. Y6 O1 c) p" `5 H/ X
  611. ; This directive determines which super global data (G,P & C) should be9 s" P# q" q6 A- S
  612. ; registered into the super global array REQUEST. If so, it also determines4 l$ _  W2 m! Y% K% F: l
  613. ; the order in which that data is registered. The values for this directive
    0 D  g. L) i" X& U( x; P
  614. ; are specified in the same manner as the variables_order directive,
      ?& j+ J9 P* B! k9 ~
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" D3 c9 X; _7 c
  616. ; in the variables_order directive. It does not mean it will leave the super
    ( r) D# B. k6 e8 C! b# T: T
  617. ; globals array REQUEST empty.* K$ E. D& z/ N% q8 i
  618. ; Default Value: None
    ( j* F1 Y. M& n) f, {, z
  619. ; Development Value: "GP"- N0 q  o- h5 n# C8 k" Q- F' d
  620. ; Production Value: "GP"
    ; K1 |& Y) K9 u5 D  {
  621. ; http://php.net/request-order
    9 v, `" W! u# p) q+ C
  622. request_order = "GP"5 O6 L+ w: N% K" m

  623. $ r. u$ C1 M/ h  g4 \" b5 N
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    / C. N7 J) N, U* R* [) D
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script% l+ l6 S- W) g8 L4 J3 S
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ; k6 Q: N  ^$ P
  627. ; that were passed when the script was invoked. These arrays are extremely
    . ~$ R2 h% s1 C( v6 u* B
  628. ; useful when running scripts from the command line. When this directive is
    % ^5 g/ g5 @7 U) i5 Q4 ?
  629. ; enabled, registering these variables consumes CPU cycles and memory each time6 P% ~! L' }7 O9 I
  630. ; a script is executed. For performance reasons, this feature should be disabled
    0 P6 y( X7 m6 H  r6 Z& ]
  631. ; on production servers.1 r2 Z9 e3 B. L6 E
  632. ; Note: This directive is hardcoded to On for the CLI SAPI) }% p' _; v+ s7 Z
  633. ; Default Value: On' \4 X2 t% g# k4 M& V
  634. ; Development Value: Off
    * k7 n, A, G# X7 O7 ~# ]. v# W
  635. ; Production Value: Off
    9 `  N& I3 {! u8 t# o' A$ r
  636. ; http://php.net/register-argc-argv* s- e1 V3 I, b+ W4 l1 c% _) S6 W
  637. register_argc_argv = Off
    " r5 Q; C8 }( c% d6 }

  638. ( |7 S% v8 o  F# V  o  T0 R% O
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    8 n9 t; ^+ c) _7 G  y
  640. ; first used (Just In Time) instead of when the script starts. If these# h: u/ J: D( b+ |( X3 C. @& c
  641. ; variables are not used within a script, having this directive on will result2 M8 h1 R" G  S
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled/ d4 w) u! }8 ~/ d9 a+ f3 K
  643. ; for this directive to have any affect.
    ( p7 |9 y0 S4 F" S' o2 I+ S
  644. ; http://php.net/auto-globals-jit  D. `* `0 \3 T& a$ d$ T
  645. auto_globals_jit = On8 |  [, B' E- I- o" |: y

  646. ' i- c5 d* ~! T2 |  D( @
  647. ; Whether PHP will read the POST data./ s2 \$ q2 j# z7 K: s+ v* X7 Q2 W$ l% T
  648. ; This option is enabled by default.
    9 b4 H# w' D" H
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    : ^* U- i. i! r! o. I' E; U' s8 Z& L4 g
  650. ; and $_FILES to always be empty; the only way you will be able to read the( z, |( [5 M8 m8 y' C8 S. _) O! u) R
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    3 H% C* E& y/ c1 _& _
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.) D# d+ p1 V! }7 ?' [9 C
  653. ; http://php.net/enable-post-data-reading* @* Q+ j& I4 N& c3 W& V9 o9 ]+ X
  654. ;enable_post_data_reading = Off! @4 F: G0 V$ H; C0 e

  655. ( d- D! P% c5 s) S
  656. ; Maximum size of POST data that PHP will accept.* ?. z6 d. W# N5 R5 g8 b
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% N: u8 l) L2 |! j; U9 P9 ?
  658. ; is disabled through enable_post_data_reading.+ z2 f) j1 |, }' _$ e
  659. ; http://php.net/post-max-size
    2 {2 b8 ?2 ~$ K  M2 o
  660. post_max_size = 50M
    ! Z9 Y$ [$ R; S8 K9 E3 t; o

  661. 5 [! U8 W& j7 E- Z3 `' T' e# ^6 x& O
  662. ; Automatically add files before PHP document.
    : C% R+ q; O( r
  663. ; http://php.net/auto-prepend-file% g7 ^) K! B$ a( ?3 o! B
  664. auto_prepend_file =% ~* ^9 ?7 |6 o7 d: t
  665. , u& `- n; m& E) d- @
  666. ; Automatically add files after PHP document.
    5 U$ K' h) g& f3 d# m
  667. ; http://php.net/auto-append-file
    & `+ b( r( X% V' _! }& J* N/ v
  668. auto_append_file =1 O8 L- q: H8 I, ^
  669. , F- b/ z- j; z4 P1 g& W7 `0 K
  670. ; By default, PHP will output a media type using the Content-Type header. To
    6 E4 C$ y7 [; K9 O0 ~6 h
  671. ; disable this, simply set it to be empty.2 E; N' v  V2 v7 x  p/ d, K. Y1 G
  672. ;6 `' G! }, V0 ?) m
  673. ; PHP's built-in default media type is set to text/html.
    " `4 o& h) E5 a% M+ \8 A. s+ z8 [* f
  674. ; http://php.net/default-mimetype
      {& ^7 {- d  V( f
  675. default_mimetype = "text/html"
    % c3 a8 \* `% L( a
  676. - F. X2 x: s; ]5 r2 ?# Z
  677. ; PHP's default character set is set to UTF-8.
    8 C3 M  c6 B2 D
  678. ; http://php.net/default-charset
    0 k- O/ X! Q) D& [
  679. default_charset = "UTF-8"
    5 ]; o5 p. j) @* g& P0 t6 p7 G
  680. , [$ O% P" T7 M& z' C
  681. ; PHP internal character encoding is set to empty.# ^, d5 v& r7 L# C
  682. ; If empty, default_charset is used.( I0 V/ \+ ^4 z. W% B  o
  683. ; http://php.net/internal-encoding
    ) {  g1 c2 N1 C  a* h
  684. ;internal_encoding =
    ( K/ C) j2 k7 l

  685. - a; i9 a: H8 t$ S) m
  686. ; PHP input character encoding is set to empty.7 ~/ b9 O  J6 T/ @) w/ i. G
  687. ; If empty, default_charset is used.
    ! ^# \/ i, l$ w# v6 Z1 N) O
  688. ; http://php.net/input-encoding( J6 e+ c5 D' r( \8 `
  689. ;input_encoding =
    / B5 g' r# w6 Y, o7 g( m
  690. * F$ Y# O& S% V5 y
  691. ; PHP output character encoding is set to empty.
    9 t. B1 S4 i/ |" v# \) J2 C' h
  692. ; If empty, default_charset is used.# R! ^7 i, u+ r
  693. ; See also output_buffer.
    / e% W! ?, o9 R5 @7 b, `5 W
  694. ; http://php.net/output-encoding' n9 V7 O" h. \4 d( K' P4 ?& r1 ]; W
  695. ;output_encoding =
    0 M( M& v& c: \% l# L
  696. # ]$ {2 H# F* {" K1 D
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is8 K* V9 _' A8 Z# P/ X. a. P, v4 L
  698. ; to disable this feature and it will be removed in a future version.: Y. L- z; i( K6 W! g# x6 p
  699. ; If post reading is disabled through enable_post_data_reading,
    " W$ h. g4 U5 G! x7 u. o
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ! ]/ z, p" h4 k9 e1 T5 t( q9 X
  701. ; http://php.net/always-populate-raw-post-data
    8 \0 f/ k+ A( \/ J* K3 X; q9 K
  702. ;always_populate_raw_post_data = -1
      P, W' L: z" Q$ w" y& [6 S

  703. $ C$ M3 W  h- B4 J
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , E$ c  w' D% O3 N- X( ?" f
  705. ; Paths and Directories ;
    # U7 t* A1 c8 g
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ X3 o8 _: \9 ?3 {$ d
  707. 4 y# {" y7 J1 S. M, O2 i' X2 w
  708. ; UNIX: "/path1:/path2"
    . k7 v$ ?* j; C
  709. ;include_path = ".:/php/includes"
    5 U# _- `1 A0 y. r9 n& {7 ^
  710. ;$ R9 V" ?9 J9 [+ H# R4 f
  711. ; Windows: "\path1;\path2"
    ! o: A! |. r5 r+ d* ^6 |7 v) s* ]  _
  712. ;include_path = ".;c:\php\includes"
    $ ^) Q- I0 c1 c0 r: p. v3 F
  713. ;" o3 I3 w3 M; G( a" x( a' D& F: O
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' j$ H6 t% Z! `
  715. ; http://php.net/include-path
    & U$ l  L5 m9 y1 w$ o6 H7 i
  716. 3 W( ?4 J2 i+ N+ _$ a9 s  @  x- B
  717. ; The root of the PHP pages, used only if nonempty.& d9 V: k0 O+ Y- b5 j( e
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 J2 I# x: o5 U7 Z0 |5 s
  719. ; if you are running php as a CGI under any web server (other than IIS)
    2 @* @6 o8 C/ N6 h; l
  720. ; see documentation for security issues.  The alternate is to use the
    8 F( Z; L5 s. T; y8 E& w0 ]8 @
  721. ; cgi.force_redirect configuration below
    ! D% S% z* e3 U! d
  722. ; http://php.net/doc-root4 L  B5 f8 t  S9 d% X* O
  723. doc_root =: q$ {% f5 b6 h

  724. 2 a# E+ R" B6 Q: g/ {# u7 i$ N
  725. ; The directory under which PHP opens the script using /~username used only
      t$ d, ~' a; f; D+ O* b
  726. ; if nonempty.# X" G9 M. g) _4 c  V) _# u
  727. ; http://php.net/user-dir' l  i! c: G% T% n! s) _
  728. user_dir =
    6 e2 L1 y# A4 o

  729. ! _* m; H' Z7 p% e
  730. ; Directory in which the loadable extensions (modules) reside.
    - h. z0 f4 A) t/ n" f
  731. ; http://php.net/extension-dir& |+ Z( ^0 F3 G" H
  732. ; extension_dir = "./") }/ D2 `+ W" V3 ~
  733. ; On windows:( {* M1 z4 _  D! C' V- m6 R% }
  734. ; extension_dir = "ext"
    , N( D% o9 a5 B5 t( m$ N  J

  735. / {$ h0 S8 o& P/ E
  736. ; Directory where the temporary files should be placed.
    ' X8 t/ q% A  F" y. H5 P- n# e
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ) C  B6 J% @, ~0 u% ?; e
  738. ; sys_temp_dir = "/tmp"
    ) ^# _/ K2 g) _% R) P* m

  739. " P6 O; H2 P5 P
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    # G0 A" X8 T: [5 y* l
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically3 d) v' r, h0 C/ \
  742. ; disabled on them.) O) O4 {2 z. |% n6 I% O3 @
  743. ; http://php.net/enable-dl. @- \! y7 g2 C
  744. enable_dl = Off
    3 Z  Y3 a! @4 w) e: e7 {) M
  745. 2 P5 F* X5 w! K" k8 X
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under! x* b% [+ Q+ {; l! \% W
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ! T1 \, i2 y9 G; \  j
  748. ; turn it off here AT YOUR OWN RISK
    0 p& n, Z/ S! K( J6 J
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 n3 j4 B" m- {/ y: H& F
  750. ; http://php.net/cgi.force-redirect/ g8 m3 X& {8 ]
  751. ;cgi.force_redirect = 13 X2 _. m/ e# U1 r) Y* }
  752. 9 }* {% o( f7 w1 e8 F! C' j
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' u# N  S. A- t& Q
  754. ; every request. PHP's default behavior is to disable this feature.
      @) d5 i& h. h) w3 O
  755. ;cgi.nph = 1
    8 Y9 F" X( x- p- x: t
  756. 6 C4 j- [; M; o% M1 e5 d
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape' I' l3 L1 y0 R9 F" \: N& Y
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP  I0 m% `5 r& E# e) P
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    6 v' }8 T" N6 {6 v
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : l/ X- N4 W7 f( T0 }
  761. ; http://php.net/cgi.redirect-status-env
    4 w7 I) {- C$ r% s
  762. ;cgi.redirect_status_env =
    4 \7 t5 z! ^# |) Z; ^3 ~% j- _

  763. 1 M% m3 l7 c: Y6 F
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ! {' H8 `9 y! P. V9 {+ R" u
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& E# |  b' p4 W" }
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & \# h* k9 G& u
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ) B* r( u8 ^4 e9 ^9 l
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    & Y" Q2 ~; c5 Y4 R% e& A7 ~5 q# s3 x
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ; W: i6 Q9 C* S
  770. ; http://php.net/cgi.fix-pathinfo8 O, g7 f& \$ R4 X7 u8 p0 C, x' X
  771. cgi.fix_pathinfo=1
    # U8 N6 A3 b" {  H! `

  772. : g. f& I! S  N8 E# K2 {
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    3 e$ G# N; H9 N) Q. k1 C$ @
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    * r; f9 |; L3 `+ ^1 ]
  775. ; http://php.net/cgi.dicard-path# d; ^7 a. U8 G* z4 k' w
  776. ;cgi.discard_path=18 m" a6 N" y* J, |% b
  777. % J- L: g0 M1 `* x2 z, N# H
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate& d7 j* F0 h( z1 t9 l. Q! B5 [0 p4 X' `
  779. ; security tokens of the calling client.  This allows IIS to define the/ l3 K+ N7 @2 i% \9 W* q+ E3 y7 V8 c
  780. ; security context that the request runs under.  mod_fastcgi under Apache/ S) F8 B% y5 _7 k. v
  781. ; does not currently support this feature (03/17/2002)
    ; X# c# |  ~% r7 T
  782. ; Set to 1 if running under IIS.  Default is zero.- N# b! p. F( T: [$ E
  783. ; http://php.net/fastcgi.impersonate  V+ M, ?! m1 _1 |
  784. ;fastcgi.impersonate = 1
    4 x3 E4 Q, I& ]: k
  785. 9 ~. F+ c) j. `- D. t
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable9 C4 Y9 R9 A. K7 T7 A, r
  787. ; this feature.2 X  M7 F* C" r9 x
  788. ;fastcgi.logging = 0: a8 k! o( P0 W- G( U7 _0 g

  789. 8 T7 H5 R* j( E
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% A, y( L, V1 q$ Q- V" W; E( G; U
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that+ G" A! C6 g6 [* \1 I
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    3 |; e3 b7 w: K' _. o) ^
  793. ; RFC2616 compliant header.
    2 {& t( ~9 a+ y0 L9 u7 |2 i9 \8 @# @% g
  794. ; Default is zero.* g! ]4 F6 j# @4 }2 A/ t1 I0 ?
  795. ; http://php.net/cgi.rfc2616-headers5 g3 {& }6 [! V- i
  796. ;cgi.rfc2616_headers = 0. P' e; H5 `: ~4 z$ m" v
  797. + X! \% ?- l3 A. d
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!; k+ v/ J2 |4 P% T
  799. ; (shebang) at the top of the running script. This line might be needed if the
    2 [4 {8 J! x2 k* g
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 j7 L' ~& x$ x5 }& W  L1 T) y
  801. ; mode skips this line and ignores its content if this directive is turned on.) a' A" Y7 x" M& u0 X  Q. C. T4 E
  802. ; http://php.net/cgi.check-shebang-line
    6 l8 u' a- ^+ f( s% W' a
  803. ;cgi.check_shebang_line=1
    & `; B! k( Y$ ], d# D  O! _; I

  804. 6 X# J+ ]2 j! J  q6 Y* X, R7 |1 v
  805. ;;;;;;;;;;;;;;;;2 a" l1 L6 D. m% }2 N: x
  806. ; File Uploads ;
    ; o9 S6 f, O' D7 _- F: f
  807. ;;;;;;;;;;;;;;;;
    4 }; B) r3 ?$ R5 [. I
  808. 6 p) @  p% `0 v1 |. d
  809. ; Whether to allow HTTP file uploads.
    4 c0 q+ X6 L5 h& B( P& n/ J
  810. ; http://php.net/file-uploads
    0 l3 [9 D8 V8 B) k2 ]+ ?
  811. file_uploads = On* V& b5 o/ {1 d* v+ [" w

  812. ; \5 W! N; e0 `% G
  813. ; Temporary directory for HTTP uploaded files (will use system default if not1 [8 Y' V) m% P' W
  814. ; specified).3 x% Q) g0 y9 p5 Y5 m
  815. ; http://php.net/upload-tmp-dir
    " X' P3 {) v" O2 I" r
  816. ;upload_tmp_dir =3 O' n* ?) M  z0 n5 ~2 @5 B
  817. , o8 s+ R: _* `2 A
  818. ; Maximum allowed size for uploaded files.6 i8 ^- ?8 S# V# ?6 f
  819. ; http://php.net/upload-max-filesize5 _5 j7 i$ I+ b3 ]9 ^# i
  820. upload_max_filesize = 50M8 d7 @7 ^, d+ \( q7 @
  821. ! A. I& O& u( Z# n3 d5 k$ ~
  822. ; Maximum number of files that can be uploaded via a single request
    . q% s  U& L* a% I3 F' M* m
  823. max_file_uploads = 20
    6 d( G" ^# B7 O- v# ^

  824. + ?8 h# J# H# D( o/ `9 v$ }' a
  825. ;;;;;;;;;;;;;;;;;;
    + o3 B& j5 `- g  Y' d7 ]/ j1 e
  826. ; Fopen wrappers ;- j& P* M4 s  l6 o
  827. ;;;;;;;;;;;;;;;;;;( s0 Y4 }  |8 F* S8 T3 y, h
  828. 4 Z4 h+ W6 y8 n, e2 g; {
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 O: U  y" W6 P4 D( s$ }& D3 i( f# ~
  830. ; http://php.net/allow-url-fopen
    . J4 R7 w  c/ M4 H4 ~" W, O4 }
  831. allow_url_fopen = On
    % C, |. p* W+ @
  832. ( d# ]' }3 I3 g( U7 p
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.% P! {" [3 F0 E' A) r- }
  834. ; http://php.net/allow-url-include
    6 s/ d% {+ G. e; g, q
  835. allow_url_include = Off5 s/ C6 y- \8 D; O2 L4 }
  836. % ~# ?# J# h! H- s& c# x
  837. ; Define the anonymous ftp password (your email address). PHP's default setting- @* J1 `6 s( B
  838. ; for this is empty.. L4 N2 ~* H6 M% n+ k
  839. ; http://php.net/from0 A% w8 b: _7 i+ ~, m8 P% L. U
  840. ;from="john@doe.com"
    - f, H" K! P* p
  841. ! d' p  U( q# @7 V; j+ M! g
  842. ; Define the User-Agent string. PHP's default setting for this is empty.: H& j# W# ^# G$ N) {) W
  843. ; http://php.net/user-agent
    + H9 j3 Q# e, V: J2 {
  844. ;user_agent="PHP") @) H% E, C: z  i' s
  845. % b% t0 G. O! b6 J: B& J
  846. ; Default timeout for socket based streams (seconds), Z6 _4 q% V, t+ w
  847. ; http://php.net/default-socket-timeout
    ' J. b7 f6 M1 o: J. w
  848. default_socket_timeout = 60
    5 W+ m/ W' S3 D6 T+ i* n2 w! Z

  849. - S/ }4 {2 [; x0 Q. {. ]: Q2 Z0 t
  850. ; If your scripts have to deal with files from Macintosh systems,
    1 _' G. K* M2 s* v, e
  851. ; or you are running on a Mac and need to deal with files from
    1 \3 i1 q6 ^% `3 t9 G( |8 @: I
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ) z9 o6 S" i7 o5 B9 e
  853. ; automatically detect the EOL character in those files so that
    $ w- y! h: Y: Q7 L, g
  854. ; fgets() and file() will work regardless of the source of the file.. l( v' Z7 ^! W  z: l( S8 K
  855. ; http://php.net/auto-detect-line-endings
    " X1 P3 p( a$ @/ Y, R
  856. ;auto_detect_line_endings = Off
    ! {$ {6 O" y4 Q) z. C- q
  857. 3 u9 R5 M2 {9 ]. U
  858. ;;;;;;;;;;;;;;;;;;;;;;
    + G  r% j" |& n) q( Z9 l) S
  859. ; Dynamic Extensions ;7 l- W! a) l7 L2 U/ b+ X
  860. ;;;;;;;;;;;;;;;;;;;;;;
    0 Z3 C  b+ b/ f" j

  861. 2 t' }5 t2 O+ ?8 }( p- i/ a
  862. ; If you wish to have an extension loaded automatically, use the following
    " E% C  E' k( O
  863. ; syntax:% o) [! ]+ ~+ O1 H  Z1 F4 `
  864. ;
    ! j% @. D0 q' T( P. J
  865. ;   extension=modulename.extension
    2 L: ?8 ?( p& G4 [. s
  866. ;0 k  u# J$ ]( `: v3 M6 m
  867. ; For example, on Windows:
    , p% P: Q7 X6 u% K9 d
  868. ;3 H; t4 X7 W( V
  869. ;   extension=msql.dll
    3 I, e# [4 E! b% s- [# \4 K2 q& z
  870. ;
    ( r  k. s* I! T( D
  871. ; ... or under UNIX:
    5 ^0 n6 X8 N; t4 _; Y
  872. ;
    ) b' Z/ W  [% M9 |: e$ O
  873. ;   extension=msql.so
    1 o: b4 z- Z! r
  874. ;
    $ n# P; @% e0 Z+ _+ C
  875. ; ... or with a path:
    , A( H" b  r1 d: n0 r& r
  876. ;  j2 u/ s1 w! \/ Z! a  R
  877. ;   extension=/path/to/extension/msql.so
    9 K+ V( Z; m* a- ]: `, ]$ i
  878. ;6 Q  i# }! z4 e- v6 c2 D  k
  879. ; If you only provide the name of the extension, PHP will look for it in its
    " W7 }4 f2 u6 e
  880. ; default extension directory., o% u% j+ f) U7 o& c# d3 I1 ?
  881. ;, e1 g1 `& S; g# v6 S# W
  882. ; Windows Extensions
    2 y; {% S3 ]: A# a' l9 z
  883. ; Note that ODBC support is built in, so no dll is needed for it.5 s0 F5 z9 R; U
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)' @& v% @7 b- E3 Y
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).* Y4 R: T2 ?3 r/ K  P
  886. ; Be sure to appropriately set the extension_dir directive.
    9 v# S! a- o+ F; \  U; p+ T0 k
  887. ;
    " ?& c% O* X4 b, J
  888. ;extension=php_bz2.dll
    + y, P: g7 n: F! ~- J: s+ ~
  889. ;extension=php_curl.dll
    8 [2 I: Q" _4 n" ~+ a4 s" Z5 a
  890. ;extension=php_fileinfo.dll
    ; |, n' v: s+ @8 D3 m5 r/ |) g
  891. ;extension=php_gd2.dll2 J1 k% O) }0 U: i& R3 I; l
  892. ;extension=php_gettext.dll
    1 \9 G/ v( Y0 k
  893. ;extension=php_gmp.dll" |; g4 w# S- C8 ~% y" D2 g$ m) u
  894. ;extension=php_intl.dll- z$ x# D& O2 H/ |
  895. ;extension=php_imap.dll- }/ q0 z5 W" @+ ]9 k- ~- R
  896. ;extension=php_interbase.dll: |3 B, ]; D& g' g
  897. ;extension=php_ldap.dll0 c- W; |- G# F; I: j7 ]
  898. ;extension=php_mbstring.dll1 Y, C% g/ D0 n, E) J
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it* G4 S/ g% C4 n- z& I
  900. ;extension=php_mysql.dll
    2 r5 t6 }  Q% [6 `/ o6 R1 J9 F* W6 X
  901. ;extension=php_mysqli.dll  @1 n) X4 C6 L$ M3 [' G- U
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client3 k0 R1 M! g# Y- v  |
  903. ;extension=php_openssl.dll
    5 Y# p9 n  \9 R9 {. a
  904. ;extension=php_pdo_firebird.dll" R% r8 x: Y$ N
  905. ;extension=php_pdo_mysql.dll
    $ n( p/ a" `* G9 ~& n+ _
  906. ;extension=php_pdo_oci.dll
      Q2 K6 P* ]( R. z
  907. ;extension=php_pdo_odbc.dll$ c5 s! Q) J1 m( G5 n4 `4 g5 Q
  908. ;extension=php_pdo_pgsql.dll
    9 O2 \( j( Y. B! C7 p
  909. ;extension=php_pdo_sqlite.dll
    % T$ j" j7 O- f  j; @% Q8 S. |' t; B
  910. ;extension=php_pgsql.dll
    ' H1 C' J- w- N' s7 V% g- F; _4 }8 i
  911. ;extension=php_shmop.dll
    * G4 p, @8 r  D* B# m2 ^, {4 K  B% E
  912.   E, ]4 e$ j4 C* P* q
  913. ; The MIBS data available in the PHP distribution must be installed.
    # H( j' k; k" f; s0 A! z
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 J/ g, y2 b. k+ w
  915. ;extension=php_snmp.dll6 d+ m/ z, j& ^; o% D: g# a) l
  916. 7 I) {7 W/ s8 i. s! ^9 Q- G2 f& O6 {
  917. ;extension=php_soap.dll) ]' y* A# V0 Y, E4 `
  918. ;extension=php_sockets.dll
    . L& m: L' k1 u) R; R
  919. ;extension=php_sqlite3.dll
    - H2 @. R, |+ o8 ?7 o
  920. ;extension=php_sybase_ct.dll
    ( P8 k& G7 A$ j) e2 M
  921. ;extension=php_tidy.dll6 Y$ n- [9 i' S' a0 V( O  C9 E
  922. ;extension=php_xmlrpc.dll
    $ {* v, [+ q# Y% `; U+ n8 e
  923. ;extension=php_xsl.dll
    ' l  E; d' Q3 T6 S/ O7 y
  924. , S9 c( ]6 N' P2 D' J
  925. ;;;;;;;;;;;;;;;;;;;3 p% O# M' g: j2 M( L9 z
  926. ; Module Settings ;
    0 Y  t. M7 Z' K% V7 {
  927. ;;;;;;;;;;;;;;;;;;;1 l% p7 u% T2 f- j) T+ a

  928. ! ~" j) w1 C7 e3 u& E% J
  929. [CLI Server]
    6 k, C. y+ N% R/ C+ }! r+ f
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.- v- e2 r8 N2 x1 K& I( ~. }
  931. cli_server.color = On8 g9 E, U+ x4 `8 k- o, Y

  932. 4 h+ Q; S, P( }0 h( ]. L" S. x
  933. [Date]! L  {: W+ a' W6 Q  ?. x
  934. ; Defines the default timezone used by the date functions8 P6 A# S7 [+ v4 ~9 N
  935. ; http://php.net/date.timezone
    4 M( h/ n! l& Y9 y0 ^. j
  936. date.timezone = PRC
    1 L- {: W9 G" B' j6 `, {- L, A" z
  937. 0 D( Y- O3 n6 L. D
  938. ; http://php.net/date.default-latitude( @- P3 s9 r, c" M# N3 y- \
  939. ;date.default_latitude = 31.76674 i) V* h4 G1 Z- X8 W7 C

  940. 5 V* J- K! S4 {
  941. ; http://php.net/date.default-longitude
    . a% X4 s( S9 V
  942. ;date.default_longitude = 35.2333; k# r% Y3 f  E- |! P. e* o/ M. L
  943. + ]' i+ V" u' {. Z; O/ y
  944. ; http://php.net/date.sunrise-zenith# h' ]+ H% l, |% U" E0 t
  945. ;date.sunrise_zenith = 90.583333& ?4 F) s, X) K8 I# e
  946. . f1 v9 {9 S- r9 t: j* r
  947. ; http://php.net/date.sunset-zenith
    . W9 W+ L8 {* _: d4 c! T
  948. ;date.sunset_zenith = 90.583333  P0 i/ T: |4 }( d3 k1 G: }  n

  949. 1 p8 l0 t, {0 v* `! v& ?* Q! [
  950. [filter]
    ( c, N. R5 U4 m
  951. ; http://php.net/filter.default  n) }" e3 [9 k! D; x" M  d
  952. ;filter.default = unsafe_raw
    ( u) t* I+ K) v4 d0 x8 O

  953. 9 C1 M7 [* k; u- }7 O5 T
  954. ; http://php.net/filter.default-flags
    # ]3 f0 C. G; B% u6 ?9 j
  955. ;filter.default_flags =3 U! t2 s0 N+ ~9 s0 d! \4 `

  956. 7 G- J+ D% Y# ]- O+ e0 A
  957. [iconv]; d' Q& E' \. Z1 v! z$ E0 U
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! P) G" L5 m2 U% n+ m4 N
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ! S3 e8 t" ]! M6 d2 x; `
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ( f6 o2 U4 y0 h7 c) ?# G" a/ n
  961. ;iconv.input_encoding =- r" K  ]1 j  u1 ?) b$ C

  962. 2 [3 ?6 z( @1 O' b- M
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 I, k3 s5 N3 N1 ~& b5 P
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , {) z7 H) n  Y9 r/ Y
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% Q1 E& X7 y5 D$ ]7 B( f( Y
  966. ;iconv.internal_encoding =
    8 v6 k2 T" q: q( A6 L
  967. ( T) P3 N- ~8 Q, @9 r
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 w4 k) {' [) {/ o, {  p
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ; d+ R9 m( a& S! N# g
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    " t6 W1 z! F. c$ w
  971. ; To use an output encoding conversion, iconv's output handler must be set' b0 `6 U5 \/ _) [, ?' _5 x0 y
  972. ; otherwise output encoding conversion cannot be performed.
    : B3 z# G/ p* a. g  _
  973. ;iconv.output_encoding =1 m4 f  ?  P- J9 e2 V- V' q1 q
  974. ' M" @2 K. `8 @& \) q
  975. [intl]
    1 o# i7 g' l0 Q! H- G
  976. ;intl.default_locale =
    $ e3 h3 E. D% y+ }/ i/ }3 B/ ]
  977. ; This directive allows you to produce PHP errors when some error# N  O& u  |; R' u4 i
  978. ; happens within intl functions. The value is the level of the error produced.1 b' I, N3 w1 R% H) o
  979. ; Default is 0, which does not produce any errors.
    & P* [3 Y) L2 g5 h7 H
  980. ;intl.error_level = E_WARNING3 m8 c* ~5 l# Y
  981. ;intl.use_exceptions = 0( M' d# m" z# R  j+ T7 L* X
  982. : s. A- h- n* s! P7 V- L6 c& `" y
  983. [sqlite3]& j7 R5 ~! `9 O( P% D( y
  984. ;sqlite3.extension_dir =4 G& ]+ h& z1 j/ a3 i

  985. ! H6 i" M* x* J" Z
  986. [Pcre]
    ; C; q( C" h6 Q2 S( _
  987. ;PCRE library backtracking limit.
    ( E) J; X# I0 p$ b
  988. ; http://php.net/pcre.backtrack-limit4 b0 N$ N/ V1 y* h: y
  989. ;pcre.backtrack_limit=100000+ e; y& f9 g  D0 v6 e4 K7 N
  990.   g3 S1 C3 j' u5 s4 v% r
  991. ;PCRE library recursion limit.; f) b& [0 b- r& E0 i% P8 F
  992. ;Please note that if you set this value to a high number you may consume all
    , z: `* k* h$ m$ o7 d
  993. ;the available process stack and eventually crash PHP (due to reaching the1 H8 z; d: E1 i& |
  994. ;stack size limit imposed by the Operating System).5 Q. b) U) ^* t5 f
  995. ; http://php.net/pcre.recursion-limit6 E& F& K! k5 S* ]' j! y' G
  996. ;pcre.recursion_limit=100000
    $ O; H9 _/ \+ N+ \% A

  997. . y, C0 Y2 b: {  R; c
  998. [Pdo]
    & X! a6 w+ h5 k' ~
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"8 ~0 U3 l( b  V& l* @2 H; |
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ) B$ v' n) Y" d, {- f
  1001. ;pdo_odbc.connection_pooling=strict
    ! a: L1 o& B7 v+ Y3 X: M) g
  1002. 0 W* p  t  f! k
  1003. ;pdo_odbc.db2_instance_name# D( |5 e% b% b+ [0 T

  1004. 2 Y; D" p' R+ u5 N
  1005. [Pdo_mysql]
    / E3 f% r4 H  L9 {& E& R) m
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ q% C8 c' v% {4 e1 Y
  1007. ; http://php.net/pdo_mysql.cache_size  j( b: l& A$ B
  1008. pdo_mysql.cache_size = 2000
    5 w: A9 P/ D* Y/ y; K" [

  1009. 4 i: ?4 U( F* [0 K# t" M4 @
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in* m4 b2 B. I: X
  1011. ; MySQL defaults.
    / B5 x, p6 J0 B1 K5 J: y' `8 `
  1012. ; http://php.net/pdo_mysql.default-socket
    * E) l* R* g2 ^0 a* C1 q
  1013. pdo_mysql.default_socket=6 L( l! h! V: _4 z% e

  1014. % ~' Q) k& H* Z& G0 o
  1015. [Phar]( ^9 _2 x' q2 j% b- e' z7 x
  1016. ; http://php.net/phar.readonly
    ! ~* G% ^: i4 V7 U
  1017. ;phar.readonly = On
    ' I5 P) b- Y: F+ H, N1 q" Z5 m4 [+ O* L( J
  1018. 9 R5 [/ F* a# _9 X
  1019. ; http://php.net/phar.require-hash# k1 `* m6 ]. t
  1020. ;phar.require_hash = On
    ( {9 r9 J% o3 B7 J7 d

  1021. ( d5 @+ [2 I$ B
  1022. ;phar.cache_list =
    $ r. n! h+ ^7 n! c

  1023. : Y0 @! |5 J# e' ^- D( \
  1024. [mail function]
    / c) I: ^& r  b" N
  1025. ; For Win32 only.! ~( _6 d) `" P  ~
  1026. ; http://php.net/smtp3 h3 p$ A. K& P8 l8 U0 W
  1027. SMTP = localhost
    # J: X& y! h" B- _# B
  1028. ; http://php.net/smtp-port* l, x  D1 L8 F3 ~: Z
  1029. smtp_port = 25
    . z! U1 V" ]) z* ]( a

  1030. 9 ?  u5 S: ?: \
  1031. ; For Win32 only.
    0 u0 X9 D: B9 B6 w, x4 p5 E+ R$ X
  1032. ; http://php.net/sendmail-from
    7 V3 q2 @: A+ o# o* s
  1033. ;sendmail_from = me@example.com
    : [: @; }7 b" D: L/ }0 x
  1034. ( ]& |) D" O* C) Z: f! I
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").( m& Z" @( y) W
  1036. ; http://php.net/sendmail-path6 r9 z4 M0 g3 `2 ^5 }
  1037. sendmail_path = /usr/sbin/sendmail -t -i( Y' s' M9 N3 I2 k: b

  1038. # X2 E8 ^+ o- {/ J$ U9 A+ c5 v& A  y& ~
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    * i) _  y7 R5 Z8 }
  1040. ; to the sendmail binary. These parameters will always replace the value of
    , f! {; q0 j1 J- I: i
  1041. ; the 5th parameter to mail().9 s5 ]2 i6 P& J* _9 U1 `1 ^5 U) N
  1042. ;mail.force_extra_parameters =
    & T' V* V$ k, \4 x

  1043. ( p+ I. \* M9 Y- t5 N: @; ?* }
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    8 m; ~2 |8 r( e( p# ?' x/ f5 R# X
  1045. mail.add_x_header = On
    / m0 a1 c* t. ^9 |0 x$ g- k* H
  1046. , K+ _9 M4 a9 r& T1 ]; B: A: d2 B
  1047. ; The path to a log file that will log all mail() calls. Log entries include' ^' n8 L9 K& H' q+ p+ S
  1048. ; the full path of the script, line number, To address and headers.3 o. i  t3 p) K6 \, r% X4 I
  1049. ;mail.log =
    2 |" ]) u& Q* y1 d9 y% f/ d
  1050. ; Log mail to syslog (Event Log on Windows).
    $ K$ j/ q( V6 G9 Q+ j3 f
  1051. ;mail.log = syslog* ]6 B9 N+ F/ g6 [' [- f& g
  1052. " {( c3 R% [8 b' i( |$ [
  1053. [SQL]
    - ]/ |- `0 v$ \" v2 m
  1054. ; http://php.net/sql.safe-mode- l1 r$ E$ U! a
  1055. sql.safe_mode = Off
    ) M- [: Z5 S4 L( |7 D8 m% Y1 g
  1056. ( e2 f+ G* R; l9 U% ?
  1057. [ODBC]
    ( U1 F7 b5 A# ~0 c
  1058. ; http://php.net/odbc.default-db
    8 E3 \% V4 y$ r  I# F
  1059. ;odbc.default_db    =  Not yet implemented
    , d) R5 S; |! X. ~, F3 D. R7 ^. H
  1060. & M; m9 {+ `' G; j$ m9 P1 r  R
  1061. ; http://php.net/odbc.default-user
    5 V2 f3 o" \1 C5 Y8 @' j
  1062. ;odbc.default_user  =  Not yet implemented
    4 s: ~9 x& _( N  [

  1063. % K- |8 l7 B* G/ ?& s
  1064. ; http://php.net/odbc.default-pw
    1 ~+ x: _. p- \1 |4 P2 ?) U& `% Z( ~
  1065. ;odbc.default_pw    =  Not yet implemented
    % i" z8 [" O. W, D5 e7 g7 N* U

  1066. 9 t9 w& A3 D5 Y: j5 b
  1067. ; Controls the ODBC cursor model.5 T7 e9 U) j8 q6 A* u7 t
  1068. ; Default: SQL_CURSOR_STATIC (default).) @! i8 K" c5 {& m+ H" d# d" Q& a
  1069. ;odbc.default_cursortype$ _' [+ e& @. O5 X9 s

  1070. ! I  S8 ^" \5 c
  1071. ; Allow or prevent persistent links.! X; v4 a, n9 V! u# H, E0 D
  1072. ; http://php.net/odbc.allow-persistent9 D. |  E5 D3 @
  1073. odbc.allow_persistent = On
    % t0 Z: b: z0 o" |

  1074. + e$ m: g  {% I0 l6 w3 O1 a
  1075. ; Check that a connection is still valid before reuse.; N5 S9 o( v0 }
  1076. ; http://php.net/odbc.check-persistent# k2 P$ A) {8 \
  1077. odbc.check_persistent = On
    + w+ N/ s- h3 y& k2 n
  1078. 9 {/ }: z% i# a9 \0 h! k
  1079. ; Maximum number of persistent links.  -1 means no limit.
    / a) v6 g" A# v. P3 ]  D
  1080. ; http://php.net/odbc.max-persistent4 Y' R6 |& ^$ u; E  U/ J
  1081. odbc.max_persistent = -1+ m8 _: }4 l- V& S2 n# J4 Z4 x, m
  1082. - u' ~$ k! _7 x& P; J, @: y1 d
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      }$ H3 q8 V- N# I3 i* G
  1084. ; http://php.net/odbc.max-links! \# z4 z0 F2 l! M2 [) o) U
  1085. odbc.max_links = -1  Z6 h! c6 b* |1 `1 |* V

  1086. 4 I: R' b9 f1 Y+ [
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    # R: Q9 |6 _! O% n  K! h4 w
  1088. ; passthru.
    6 x7 l! i7 f5 ?. D' S0 i/ I
  1089. ; http://php.net/odbc.defaultlrl0 d6 _4 ?" M/ h2 }& K: u- _
  1090. odbc.defaultlrl = 4096
    ' j1 [) V: O/ Q- _) a& y

  1091. + Z# Q4 j# b% c- A. N# b1 X+ j
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    1 B6 g$ y! C1 N- w
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation. Z% \$ X( B3 v! F2 q6 V
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    & p& v3 o; F+ W2 \9 b1 P
  1095. ; http://php.net/odbc.defaultbinmode
    # C6 X; ~) b" T$ x5 L7 D
  1096. odbc.defaultbinmode = 1
    1 y) |$ @/ |7 [' s( K

  1097. : d% M9 |3 |* }& N7 ]. S
  1098. ;birdstep.max_links = -1
    , S  T3 s9 V6 Q( O+ U

  1099. ( b1 a/ q/ _+ K' f' B
  1100. [Interbase]
    6 ]; H' O& D" A5 Q
  1101. ; Allow or prevent persistent links.: O0 v( X' R9 N9 {
  1102. ibase.allow_persistent = 1
    , {# Z' ?& N2 G7 a2 l. V
  1103. 5 u1 b9 |$ c; J8 K4 Q+ P, J/ T
  1104. ; Maximum number of persistent links.  -1 means no limit.
    $ G& ^1 R% K* L/ v, S2 M  w
  1105. ibase.max_persistent = -1; h7 G/ u3 C; _% p
  1106. # ?  [; `9 s- }
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 f, d. i3 K& C6 t
  1108. ibase.max_links = -1$ d. h/ D5 Z$ `8 s" e3 ^' a

  1109. * o$ Y4 H# H. G" D4 x: t. E
  1110. ; Default database name for ibase_connect().
    . ?# Z: T9 ~" @5 v9 j9 x6 D( F
  1111. ;ibase.default_db =& E& W5 |6 R2 e0 {  w* k/ [! y

  1112. ! \; E3 F: }+ P2 l
  1113. ; Default username for ibase_connect().$ y$ V3 m6 j5 t
  1114. ;ibase.default_user =' r8 y! |! l% }( D9 H+ S
  1115. $ V( ^' T8 ^- s+ R3 D, _
  1116. ; Default password for ibase_connect().3 v* s* I& k3 Y3 H2 i4 Y6 L  {
  1117. ;ibase.default_password =
    5 f. F: j* @! b7 r
  1118. 0 c$ k8 n" _0 J( a
  1119. ; Default charset for ibase_connect().6 b, D- x9 p" }9 |2 |/ L& [
  1120. ;ibase.default_charset =
    3 x& G$ e; _/ c  G" w
  1121. ! }" q2 `1 D- r: T2 w, u+ V- p2 C
  1122. ; Default timestamp format.
    # v/ O' {- [. M) g
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"9 U' O, |& }" R* a

  1124. , o* u0 w3 ^% M
  1125. ; Default date format.
    / s; K& a+ Q- A! k" I: ?7 c
  1126. ibase.dateformat = "%Y-%m-%d"6 _. b( ]+ r0 ^' V

  1127. # V, l5 Q; }' k5 T& [* L) W( a
  1128. ; Default time format.0 D; S& ~# a( ~" M$ I
  1129. ibase.timeformat = "%H:%M:%S"5 B* U) }$ N" ^& K4 ^/ v( y
  1130. . X5 L$ B6 C0 u) F5 l
  1131. [MySQL]
    8 {. Q/ T7 \6 R- o- G- `5 {
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    0 U1 U+ \9 F+ |" F$ T. I7 f
  1133. ; http://php.net/mysql.allow_local_infile; N! S: W- c2 [4 a: I
  1134. mysql.allow_local_infile = On1 ?% F" m& ^( t  n4 R  ]8 y
  1135. 5 r3 I4 A; D7 N' d& u
  1136. ; Allow or prevent persistent links.7 a/ t8 n7 B, F0 N
  1137. ; http://php.net/mysql.allow-persistent$ I! G# j$ p) X! z9 e, p2 I
  1138. mysql.allow_persistent = On
    - E, a+ F+ `4 {: x9 O; Z- x

  1139. - r- i1 b6 M, \, Y% N; t1 H+ u
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & o3 F+ j5 p9 t# [/ g- e: b. q
  1141. ; http://php.net/mysql.cache_size: f/ }# @( O+ t2 I6 M6 x
  1142. mysql.cache_size = 2000# c' u5 n& ^: P- @! x

  1143. . ?: f, f( n3 a5 q9 B, \1 g4 W
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ( ?9 a+ R# U$ l% F
  1145. ; http://php.net/mysql.max-persistent
    % \3 m1 O, q: z
  1146. mysql.max_persistent = -1  |  r( x! r, `' S( `

  1147. 7 `$ ^8 ^. N4 N4 R& D
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 q9 F0 Q8 \1 D! I
  1149. ; http://php.net/mysql.max-links( u" Q' m; }4 M: M
  1150. mysql.max_links = -1
    1 ]4 b5 s! \0 L1 w* `; m' x2 v: U
  1151. * y$ |4 I+ t  t8 d5 f
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use4 S1 D5 {; W* e; S. l
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; R7 n  l3 J6 Q6 G
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  i% F# a4 D+ G% \. ~( ?5 q
  1155. ; at MYSQL_PORT.6 ~# [- D# m0 P6 Y6 F% B- k
  1156. ; http://php.net/mysql.default-port% r! Q8 R1 o7 {+ @& {. }1 Y
  1157. mysql.default_port =" }' P; i9 B+ G$ D0 c
  1158. + L) a/ Z' n( q2 N% w% l, D; X
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 Z$ [2 h0 B$ I, F
  1160. ; MySQL defaults.. t" Q3 ~# Z5 s; \( B
  1161. ; http://php.net/mysql.default-socket
    + F  s7 a; V2 F- `
  1162. mysql.default_socket =
    % J; Y3 ~' L* A1 T* l8 Z6 O  i9 v

  1163. 4 Y, }. k1 T2 G  h
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 d; l% T' h- c  z4 h# e5 ~
  1165. ; http://php.net/mysql.default-host  b$ ~- ~7 i3 y) l3 L/ ?; K
  1166. mysql.default_host =- d* y+ a7 c% T

  1167. 6 ?1 X. K) a( l5 `( v! _5 Y
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 `; E, O0 E0 U- l
  1169. ; http://php.net/mysql.default-user
    4 d# a& c0 I, }& P1 O+ Z% w) L: e; b
  1170. mysql.default_user =$ @+ @* U0 ~; m- l# t3 l! b
  1171. 3 H3 Q' r  k4 `* F: H7 }1 h9 _
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    2 R5 c( o% ]5 q: O
  1173. ; Note that this is generally a *bad* idea to store passwords in this file./ s* v8 h. A0 t  B
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    + f( M4 |1 n' N- J8 I+ R: c- F6 Y. x
  1175. ; and reveal this password!  And of course, any users with read access to this$ j+ ~0 R% y' L2 M; ?- I
  1176. ; file will be able to reveal the password as well.) ^7 ^. y; r- Z9 }$ v7 B
  1177. ; http://php.net/mysql.default-password
    2 t3 A# r6 K8 `" Z
  1178. mysql.default_password =1 h2 _' S4 w# n' c
  1179. % k! [% m9 {' n
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit( t! ?/ _2 ~( p8 }+ E2 _' g% h
  1181. ; http://php.net/mysql.connect-timeout" s. V( Z% b' Q( H1 l0 R
  1182. mysql.connect_timeout = 60
    7 _# X# l7 S$ [2 Q9 S- y( b8 }

  1183. 1 U7 V: {4 O0 y4 V+ i
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and, Z$ ^5 I. Z7 T
  1185. ; SQL-Errors will be displayed.
    7 C% |6 ]2 u, F* i1 M
  1186. ; http://php.net/mysql.trace-mode
    $ z* ~1 B9 b+ v5 s& W
  1187. mysql.trace_mode = Off
    ' y; X, Z% S! _; o3 o
  1188. 1 a( i. v5 J; l
  1189. [MySQLi]& ]' l7 T( @5 b  _  ~, Z6 `

  1190. 0 J! h) U- A' d: M/ O
  1191. ; Maximum number of persistent links.  -1 means no limit.5 F1 Z! t) L; Z' d4 x
  1192. ; http://php.net/mysqli.max-persistent3 j5 s: i* q% B
  1193. mysqli.max_persistent = -1% L; y* e$ z. O1 C  h; Q# d* _

  1194. # C) n/ @; L  u! l$ q' g
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; M1 k# v$ Z' B8 X4 I# g
  1196. ; http://php.net/mysqli.allow_local_infile
    4 _7 p. |$ J  p% I8 u% j1 w" j
  1197. ;mysqli.allow_local_infile = On
    + w. F& d/ C. n

  1198. ' g4 W  R% \6 G0 S/ h# y0 W0 u* Q. o
  1199. ; Allow or prevent persistent links.$ F0 k& ?& |6 G* @, H" B# y" P  n
  1200. ; http://php.net/mysqli.allow-persistent
    * |0 d% q4 \! Z" n% F+ I6 F
  1201. mysqli.allow_persistent = On
    ( a( ]( Z4 Y- Q0 Y. ^+ e
  1202. 0 o( |5 ^: j# N0 w
  1203. ; Maximum number of links.  -1 means no limit.6 m$ Q" L2 R! U- J
  1204. ; http://php.net/mysqli.max-links
    ' c, d( n( Z$ `6 v1 K- @
  1205. mysqli.max_links = -13 m  f5 ~5 s( {0 B' M3 I6 @
  1206. ) V2 S1 p& N) F! _1 [
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : a5 I5 w% E" i; o' n( W; z
  1208. ; http://php.net/mysqli.cache_size
    # I4 O4 g# U8 f1 u$ P
  1209. mysqli.cache_size = 2000! E* U3 }) D+ ^( u' S6 t# x

  1210. . p# O9 d* h" |. X, f: b0 P& W
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 F9 f- |9 N9 {2 ]
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! a7 Y2 T9 t8 J) k1 M8 I
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 M3 g, l) M! j0 t  ^1 [
  1214. ; at MYSQL_PORT.
    + [4 ~% A2 I, c1 i$ _+ L
  1215. ; http://php.net/mysqli.default-port
    6 O' Q9 z  V- J) s1 J& \+ G  k
  1216. mysqli.default_port = 33061 h% [7 v( ?  \, B  ^8 J3 O) j

  1217. 5 `+ V, n/ i/ J, e* ]) _0 D  p/ o# t
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 n$ Q. h% b# e9 E0 Y
  1219. ; MySQL defaults.
    ! T/ A$ B* V( T( D# z! _. f
  1220. ; http://php.net/mysqli.default-socket2 H1 e" W( I' x! @1 R5 d
  1221. mysqli.default_socket =
    1 V% B$ f- m  e- M5 D+ m- {

  1222. ; {: k9 i' [% c  W
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).* ?) f7 ^# [# g' S0 x! d- L: D' U+ \
  1224. ; http://php.net/mysqli.default-host* E) P, L( r5 a' O
  1225. mysqli.default_host =# G  ?' I) R1 A) T. N
  1226. ' @0 o& N4 X  t9 b) [
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 W" d# M& Z: E0 A! c" p& r6 R
  1228. ; http://php.net/mysqli.default-user
    1 _5 x6 K& m0 H4 v5 ?: a
  1229. mysqli.default_user =: O7 T6 c) R' r8 Z' M3 y7 a, J. e

  1230.   A6 X4 Z! h$ B) n) |# D/ U& i
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    # v( N  @4 A( F" T5 p, f  S, }
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.+ `+ k# ^/ f9 L  F7 |
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")6 q/ w& N, M* \$ ~  {5 K. R) z
  1234. ; and reveal this password!  And of course, any users with read access to this# Q% ^! V9 ^0 K$ z6 u; x
  1235. ; file will be able to reveal the password as well.
    & t9 {3 I4 T2 z0 Y, J% \1 x
  1236. ; http://php.net/mysqli.default-pw
    $ I# E8 [6 |* _2 S' T; w0 |
  1237. mysqli.default_pw =- \/ \* Q. o! _
  1238. + ^6 L0 x& s# V& P& Z  q* E" ^
  1239. ; Allow or prevent reconnect1 ^' e2 w8 a% m; F1 s& Y
  1240. mysqli.reconnect = Off/ W* E! o, Y. v7 K& ]3 q& ?/ J

  1241. 0 \/ X/ E% T- \& A
  1242. [mysqlnd]3 P/ q" z4 E, C, _9 h
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be) Q% E! [9 a+ J! N
  1244. ; used to tune and monitor MySQL operations.
    2 d* F7 Z0 d/ a
  1245. ; http://php.net/mysqlnd.collect_statistics% g3 D7 s. D) A" T
  1246. mysqlnd.collect_statistics = On
    6 a$ D8 P* i. J" Y8 u

  1247. # n+ Y) T! A' ]: O  \1 |% L3 ~
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & q& a( X6 b) t& ~: ~
  1249. ; used to tune and monitor MySQL operations.' ^1 e1 o* v( k& q' E4 P) m8 G8 h
  1250. ; http://php.net/mysqlnd.collect_memory_statistics) j' c2 E4 d1 X! B$ |9 g
  1251. mysqlnd.collect_memory_statistics = Off
    ( v/ u! N: U! l9 J

  1252. ; S; k5 G7 B8 O& [7 P% ~
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ! |2 V3 t4 z, ^# |
  1254. ; file.
    6 V. N9 d0 M3 ~/ y" t/ M
  1255. ; http://php.net/mysqlnd.debug
    8 ?% Q$ B4 d$ _" [
  1256. ;mysqlnd.debug =
    / I6 I+ E- E: N+ L4 {  U
  1257. 1 k0 a5 t: O0 I/ J9 \
  1258. ; Defines which queries will be logged.
    $ Z# a( d( J. T( I+ r6 B4 s4 W
  1259. ; http://php.net/mysqlnd.log_mask4 U9 J0 ~' D; B# y
  1260. ;mysqlnd.log_mask = 0
    6 C$ ?" a1 i: l. e) i2 o" [

  1261.   d0 K4 d  J9 `. Z  X
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    . D( \3 R6 @$ g+ v8 Y6 G5 N" F$ z4 n
  1263. ; http://php.net/mysqlnd.mempool_default_size! r% L! ]4 j6 T+ q, H
  1264. ;mysqlnd.mempool_default_size = 160002 U! B# h' V. D+ D  b. O3 j

  1265. , Q' i( e7 Y/ [. z; F
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    # L' x2 w; h' T1 q
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " X1 a' j9 ]( ^8 l
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    5 b' C: Q- {( q. [+ i

  1269. ' [0 T$ h0 L1 ?& A) O( e2 h5 H2 M% q
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in* w" l$ R! B$ U2 f$ K! U
  1271. ; bytes.4 y' n1 A% ?# |0 i( X
  1272. ; http://php.net/mysqlnd.net_read_buffer_size4 R" q8 @& B' h
  1273. ;mysqlnd.net_read_buffer_size = 32768- g, J6 F) Q) g- n" O
  1274. 5 P, j" q, J  k9 S! K" N( Y
  1275. ; Timeout for network requests in seconds./ v" `0 @( ]/ v. Z- M
  1276. ; http://php.net/mysqlnd.net_read_timeout
    & ~& I, M( B. ~( E" E. R0 u+ x
  1277. ;mysqlnd.net_read_timeout = 31536000
    % ]" B, F# e$ b  H% ~4 A

  1278. 0 F3 v& T9 }( k2 b$ Q! U
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA! }! _5 x, S& W/ Q. m5 j, @
  1280. ; key.' K+ [' v' ~( X- y& w2 m( r% F
  1281. ; http://php.net/mysqlnd.sha256_server_public_key9 _/ G$ p3 `. l; V: X
  1282. ;mysqlnd.sha256_server_public_key =
    9 V6 t* A- K9 M& _

  1283. 8 ?! d) K# a/ C% O
  1284. [OCI8]
    , m: U3 M3 e9 ^5 v0 e! v
  1285. / x" V( D; ?: A" ]
  1286. ; Connection: Enables privileged connections using external& p( n9 |7 F+ f( F9 Y
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( C+ m% D$ E/ R" X
  1288. ; http://php.net/oci8.privileged-connect0 M7 ~( V( T' p
  1289. ;oci8.privileged_connect = Off
    / T# T( J4 F( Q# k- }9 M  @, w, G
  1290. 5 l5 P$ T' h7 j) q+ Z
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    2 ^% v' ^, T, d: k* ?: H  j/ D
  1292. ; process. Using -1 means no limit.
    . ?$ C6 V! I, ~! M/ h( f
  1293. ; http://php.net/oci8.max-persistent9 Y; f& S" Q0 o7 b9 W, \
  1294. ;oci8.max_persistent = -1
    # j! y; m: P& p% _9 r% T, }

  1295. 2 o2 a- s2 v1 a5 |& j) G1 B4 f
  1296. ; Connection: The maximum number of seconds a process is allowed to! @4 ~6 v& o  }9 V' R5 Q7 ~0 P) Z
  1297. ; maintain an idle persistent connection. Using -1 means idle  U' `( L- C- t  a* N
  1298. ; persistent connections will be maintained forever.3 U. O0 ^: F2 Q
  1299. ; http://php.net/oci8.persistent-timeout
    7 y# I! H/ Q0 e& ~5 D5 |- R1 U' V
  1300. ;oci8.persistent_timeout = -1
    / U8 v1 v# J$ P/ Z) p

  1301. , _  ^3 }( P3 [+ x' w5 `& ?
  1302. ; Connection: The number of seconds that must pass before issuing a. j/ }/ S: Z2 ?! k) |# S# Z/ `
  1303. ; ping during oci_pconnect() to check the connection validity. When
      n) Q" s) m. a1 e* t
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables) F/ ]! b+ F! o
  1305. ; pings completely.
    1 O* ?0 Q; D/ S+ A4 ^
  1306. ; http://php.net/oci8.ping-interval* Z: S. b* U& I0 K6 D/ ~
  1307. ;oci8.ping_interval = 60
    . n, ?% n8 v) `
  1308. ! c' D7 L4 Q: Z) s- k
  1309. ; Connection: Set this to a user chosen connection class to be used
    7 N. o9 A$ |1 \1 z0 O$ v0 J8 f
  1310. ; for all pooled server requests with Oracle 11g Database Resident1 c8 o2 ]9 \1 d6 _: V0 Z
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    3 J! R% b( d1 ~+ L2 h4 F
  1312. ; the same string for all web servers running the same application,
    ; d% U4 a% E1 r% C5 x0 g( F* Y
  1313. ; the database pool must be configured, and the connection string must- B. i; ]5 W* X$ C: I
  1314. ; specify to use a pooled server.2 v2 k- {2 U( S$ I& e2 A( v/ v% s
  1315. ;oci8.connection_class =
    ' ]7 H6 |  U* o: K- g

  1316. 5 n' R7 Z% O; A- J1 L8 ~
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ! O7 O" c* n; d, x0 a2 b) H
  1318. ; Notification (FAN) events generated when a database node fails. The
    7 Z) ]2 ^& Z: _# G2 z) O
  1319. ; database must also be configured to post FAN events.' c# i+ F/ L3 w1 e) I
  1320. ;oci8.events = Off
    ! @; a# ?9 n4 [4 R

  1321. % a: _4 ?' q( `# V
  1322. ; Tuning: This option enables statement caching, and specifies how
    ' x! [7 z6 ?1 u: w4 X) K
  1323. ; many statements to cache. Using 0 disables statement caching.! Z7 S$ D( A- ~
  1324. ; http://php.net/oci8.statement-cache-size& ?: A/ T2 j* [3 s+ w
  1325. ;oci8.statement_cache_size = 20* G9 K4 Z2 N5 Z

  1326. 5 F% w- Z- v( o; j; N
  1327. ; Tuning: Enables statement prefetching and sets the default number of3 ?) B' P" I3 X5 G
  1328. ; rows that will be fetched automatically after statement execution.
    4 @3 R* C6 L  ~5 o7 x4 c$ D
  1329. ; http://php.net/oci8.default-prefetch" C' \' Y( f# X* v9 p7 M0 }
  1330. ;oci8.default_prefetch = 100# @. k5 u1 s: w" S# _/ g
  1331. / s2 h5 ]! t& V1 |$ p
  1332. ; Compatibility. Using On means oci_close() will not close
    1 {# s( q6 p1 v: t) a! b) ~6 _
  1333. ; oci_connect() and oci_new_connect() connections.
    : r/ h7 [( ~# ]4 y+ M
  1334. ; http://php.net/oci8.old-oci-close-semantics2 z0 O# O2 b% g4 X" a$ Q
  1335. ;oci8.old_oci_close_semantics = Off! d+ n/ T3 m! d+ G$ i+ _9 B
  1336. . s2 \, }$ y8 ]7 b( B
  1337. [PostgreSQL]
    4 K& i5 v9 W8 O# ~' E* S
  1338. ; Allow or prevent persistent links.
    ; q9 i/ W. J! H8 R, ^# d: [* b
  1339. ; http://php.net/pgsql.allow-persistent
    3 T# z$ ^" R1 ^/ C& I  [( v2 S
  1340. pgsql.allow_persistent = On5 z) S' s$ _0 f+ P

  1341. % U: J# P! E; E; U0 D. s
  1342. ; Detect broken persistent links always with pg_pconnect().
    ) |. k% d/ y4 N9 `  Q* }
  1343. ; Auto reset feature requires a little overheads.! o! H8 o+ ~- B! J  a. M# p5 _
  1344. ; http://php.net/pgsql.auto-reset-persistent4 Q! e' c( t: M* S5 H6 l
  1345. pgsql.auto_reset_persistent = Off
    2 r% p9 K% w; n( S; z

  1346. 7 N1 v: z, G$ A# I0 R
  1347. ; Maximum number of persistent links.  -1 means no limit.
    8 c$ I. U  f7 Z& C. Z. `
  1348. ; http://php.net/pgsql.max-persistent
    # c3 |' g. s/ R8 k6 t: p% E
  1349. pgsql.max_persistent = -1. h/ ~6 \6 f3 j8 c% T) Q6 v7 M
  1350. " d. h: E+ G' _9 R& ?; E$ X+ V9 F
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.6 j/ x1 f) y- q5 L: P+ o
  1352. ; http://php.net/pgsql.max-links
    , M* [* [' U- ~& _" J
  1353. pgsql.max_links = -1
    ' g( M7 @7 o; z* W& V+ z

  1354.   p3 P7 u: `3 T0 z! `( B5 f8 ~
  1355. ; Ignore PostgreSQL backends Notice message or not.
      |8 `( A' Y& A3 ]% I) u  u/ A
  1356. ; Notice message logging require a little overheads., F5 [, r8 Z5 g4 _; W
  1357. ; http://php.net/pgsql.ignore-notice
    8 `& L/ H  ~/ R( j  }! i
  1358. pgsql.ignore_notice = 0
    ( _  Q1 N& d$ r4 s
  1359. : Z7 z& M4 g! X/ Z  S9 F4 a; W
  1360. ; Log PostgreSQL backends Notice message or not.
    , f( `2 @5 k# E  w: Y1 i7 E
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.+ S2 w4 J$ d. C! L; J" g1 D2 P1 }, h
  1362. ; http://php.net/pgsql.log-notice
    ; Q. X" I1 Y( G+ ~; M( M4 \1 w
  1363. pgsql.log_notice = 0: f- f* L5 `! i+ F3 A, w; o6 @' s

  1364. 2 _$ X) B8 ^3 l! r( M7 s
  1365. [Sybase-CT]) ^* @8 H, w- p" b$ d  h
  1366. ; Allow or prevent persistent links.
    5 q6 A+ d' }( j! |$ a
  1367. ; http://php.net/sybct.allow-persistent: [7 e/ a# ?2 l, ~
  1368. sybct.allow_persistent = On
    / z- A- c+ M0 p* ^+ h/ D
  1369. ! ~( W9 B6 k; L2 R
  1370. ; Maximum number of persistent links.  -1 means no limit./ \  R0 j% ?# z+ U1 S7 U
  1371. ; http://php.net/sybct.max-persistent
    0 C- O  P: ]* u/ Y5 ]5 F. ~0 j# z
  1372. sybct.max_persistent = -1
    / N: c" l% A: A3 G1 E4 a

  1373. ! J' s% r6 V6 L8 w0 d) G6 E
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 Y+ H) F% g( N+ f8 s' O( o
  1375. ; http://php.net/sybct.max-links# y. e% I  L6 c9 s# _  P
  1376. sybct.max_links = -14 l; z! a# X: T& P# O( v
  1377. . O' [3 I& |0 R0 b6 \* V8 n2 f, R
  1378. ; Minimum server message severity to display.
    ' [$ v- Q) Y; `* x+ E/ r' g/ h) _
  1379. ; http://php.net/sybct.min-server-severity7 d) [/ ^5 L) h9 t5 o- `
  1380. sybct.min_server_severity = 10
    + H, I* i# s9 `

  1381. : A& B6 I: G; P
  1382. ; Minimum client message severity to display.
    7 y  d- \7 W! N" n# N: _7 I
  1383. ; http://php.net/sybct.min-client-severity
    % F# K" z9 [( W+ {( ]
  1384. sybct.min_client_severity = 10' \# C5 ]2 i; o4 }6 h

  1385. 5 S4 T# W2 d. v( I9 P
  1386. ; Set per-context timeout/ N; v- T2 T( V
  1387. ; http://php.net/sybct.timeout8 v. h& ~4 @7 |, z5 R
  1388. ;sybct.timeout=. @+ G/ G# s3 ~( U! w9 F6 \

  1389. ; q/ V4 R. l' D1 D
  1390. ;sybct.packet_size
    7 x. Q$ W" F! \, G
  1391. ' P/ B) B7 d% a; N) m5 J1 V$ H
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    7 O  o7 F* @2 H
  1393. ; Default: one minute) n# J4 G2 Y3 m4 X+ t4 Y
  1394. ;sybct.login_timeout=
    - B6 d( r; K3 r/ g* }' J

  1395. 3 y' Q, o# D; u- Z6 h( z- `
  1396. ; The name of the host you claim to be connecting from, for display by sp_who./ `# S  d1 \/ E* \
  1397. ; Default: none$ K0 t! k) e) R( H
  1398. ;sybct.hostname=
    $ E5 @! N& p1 y# J9 ^3 a' j) t

  1399. # P7 B4 h1 M. ~. u+ V1 ^5 L
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    # N# I  B1 N2 e5 }, x
  1401. ; Default: 08 j( b) E7 z4 U, m& H* U2 l
  1402. ;sybct.deadlock_retry_count=  p, _7 t4 z' L
  1403. 4 m; F7 l* v8 Q
  1404. [bcmath]" n. @8 R2 ^8 f2 P3 S: ]
  1405. ; Number of decimal digits for all bcmath functions.; {( _% c6 F. V3 I
  1406. ; http://php.net/bcmath.scale6 r; _% _7 x8 t
  1407. bcmath.scale = 0
    2 e# j4 @: ^2 S( c/ A
  1408. / Z: T+ D; O' [: I4 V: Z
  1409. [browscap]' {3 x0 Z+ s9 R
  1410. ; http://php.net/browscap* k2 p" q  _6 p) x5 I& o* e
  1411. ;browscap = extra/browscap.ini
    ) x: |) N/ Y8 K& r0 [
  1412. & t  [* l' u8 ~6 R+ T& @
  1413. [Session]
    # l9 f& J' R+ v+ L! V7 y6 ^
  1414. ; Handler used to store/retrieve data.
    " [. c+ \) I1 y7 V
  1415. ; http://php.net/session.save-handler
    ' s+ ?8 Y- ]- L+ b: Y: e4 \0 W
  1416. session.save_handler = files! a% E3 n- L* @+ F7 z) r
  1417. 9 w" S) W0 J; \' g+ X6 I
  1418. ; Argument passed to save_handler.  In the case of files, this is the path! a8 t! j* V( ?2 b
  1419. ; where data files are stored. Note: Windows users have to change this$ Q+ F* b3 y/ f
  1420. ; variable in order to use PHP's session functions.
    # f0 A( ?& ]. v+ G
  1421. ;
    8 k* J/ ^5 h7 q/ W
  1422. ; The path can be defined as:
    $ s8 _2 n8 {9 P& ^6 ]* a
  1423. ;
    - F: b8 v; Y) }1 l. g
  1424. ;     session.save_path = "N;/path"" n9 K- X% G* H2 c5 q
  1425. ;
    % b+ ?3 k7 n: I) t: u  P
  1426. ; where N is an integer.  Instead of storing all the session files in+ T+ m( h/ A1 z* q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    , i1 K9 L( D. @! R: c+ G3 W
  1428. ; store the session data in those directories.  This is useful if. \8 z! i' Y9 P
  1429. ; your OS has problems with many files in one directory, and is; |0 `) j$ h* C: C. }
  1430. ; a more efficient layout for servers that handle many sessions.
    2 e, ^, \1 M5 Z- B: F
  1431. ;
    4 p. G( g1 i# r8 z( @4 [. C
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    8 i; N8 g. f8 @
  1433. ;         You can use the script in the ext/session dir for that purpose.+ `4 ?& Q3 T5 Y8 w+ Q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to2 U+ {% w/ R) [$ K" g
  1435. ;         use subdirectories for session storage
    $ a6 p9 j6 P, l$ Z
  1436. ;
    $ W9 z# h8 D, X- N/ O4 t6 i. m" Y
  1437. ; The file storage module creates files using mode 600 by default.. z( M" t7 {) {2 o. Y$ ]
  1438. ; You can change that by using
    6 {5 ]- o. Q7 }: M& s  n- h, d
  1439. ;
    ! t% f' Y5 I, g+ `
  1440. ;     session.save_path = "N;MODE;/path"
    ; i+ J. z8 M- Q; t
  1441. ;) p* ~$ j  `( l( ?! _, @% u
  1442. ; where MODE is the octal representation of the mode. Note that this3 V1 s" F+ ?( ?3 u1 v
  1443. ; does not overwrite the process's umask.4 C. W/ a  b% |( X4 t! s- Y. m
  1444. ; http://php.net/session.save-path: M3 t: \8 P0 L6 g5 z# Z+ U! e
  1445. ;session.save_path = "/tmp"
    ( c3 {; L" u0 ^! y) e9 [

  1446. ; T- K* P: ], r" Q9 Y
  1447. ; Whether to use strict session mode.
    8 Q* R( n; p& B4 o+ s4 D
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ! c6 S# t% M% d& T2 n& X& U  U
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    / U% g" c6 s, f; `
  1450. ; applications from session fixation via session adoption vulnerability. It is" w4 u. p: s. [3 G" A2 U1 v' A
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.. w! Y) A1 s; }: ?) [& ^& P
  1452. ; https://wiki.php.net/rfc/strict_sessions
    # S4 n5 a7 p) p. s) n. ^
  1453. session.use_strict_mode = 0* {1 ]$ M8 r2 y5 H; {

  1454. 1 u* }, h- Q- e
  1455. ; Whether to use cookies.
    + F- `4 {! ~: r' o. Y
  1456. ; http://php.net/session.use-cookies7 ?7 O3 u9 |1 ]( X2 [9 Q" O
  1457. session.use_cookies = 1
    , H' f5 b- z/ U5 i0 h; c) v3 a

  1458. ; f, ~) R5 P0 E5 C0 S
  1459. ; http://php.net/session.cookie-secure5 q  @2 }. z. R5 K$ }( y/ T& Q
  1460. ;session.cookie_secure =* \: L- E- Q- \* d9 F& }/ V5 K

  1461. * c# ~9 M1 r' N
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining, I( U/ v3 S0 ?. w+ h  s6 u6 S
  1463. ; the session id. We encourage this operation as it's very helpful in combating& j5 R. t4 V' h. f$ r3 Z* {$ T
  1464. ; session hijacking when not specifying and managing your own session id. It is
    9 J) s. C2 W  E: j
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 K/ L. K! E/ H  x/ \
  1466. ; http://php.net/session.use-only-cookies& B4 B8 k. H" x
  1467. session.use_only_cookies = 18 ^& }$ b- k2 }6 m% |

  1468.   v5 w2 A+ e5 q5 J$ r9 J% g
  1469. ; Name of the session (used as cookie name).
    & Q! a2 G6 R1 S* w6 [
  1470. ; http://php.net/session.name6 B" `5 [, S  }) J
  1471. session.name = PHPSESSID
    ( A/ Y! S! s' W) d% ~
  1472. / J. l% v6 h4 {
  1473. ; Initialize session on request startup.
    1 n$ v% r, E3 |- m
  1474. ; http://php.net/session.auto-start8 [% P3 A" ~2 @# i/ ]6 v
  1475. session.auto_start = 01 y, J3 A. s' ~& p

  1476. ( w+ q5 g, c2 q6 q1 y, G+ J" T
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    0 s- A  C% p, c! D1 u8 B
  1478. ; http://php.net/session.cookie-lifetime- Q5 O, E- R8 Z5 M
  1479. session.cookie_lifetime = 0
    7 d/ _+ {- A$ Y2 f, R  x
  1480. 9 d! ]  E) e% T
  1481. ; The path for which the cookie is valid.$ }& U% I1 q9 _  ^+ U
  1482. ; http://php.net/session.cookie-path0 J1 I' [1 F1 L
  1483. session.cookie_path = /5 T' i1 [& ?( E. p& z, d+ S+ V

  1484. 8 g4 \9 W1 F! u1 k0 h
  1485. ; The domain for which the cookie is valid.
    ( g1 i+ \6 a- M- H, R
  1486. ; http://php.net/session.cookie-domain. L: l& Z5 [, v
  1487. session.cookie_domain =' W( u' p% v& Q- A+ r6 O

  1488. 8 ?: e; R% ]% p
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    - x" R, r( s( d+ c4 y4 a3 o& Z7 N
  1490. ; http://php.net/session.cookie-httponly9 K, ^/ q* f; O9 D! [
  1491. session.cookie_httponly =; K' @( |4 |+ X) K7 O! Q7 _
  1492. ) t/ `0 H. u+ I" [- D
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    5 o) ^8 v: g6 |5 T, f
  1494. ; http://php.net/session.serialize-handler
    , j! |+ H7 e  K
  1495. session.serialize_handler = php; `: D8 }0 b; R- u) H! G6 Y* H8 [
  1496. 1 e' X" u5 x1 B# N$ g+ A
  1497. ; Defines the probability that the 'garbage collection' process is started
    % E* ^  ~* q" J9 x4 e$ j
  1498. ; on every session initialization. The probability is calculated by using  G! f9 O3 Y3 d$ w7 F
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    1 t/ j* k3 x& P  C+ x
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, w9 a6 y& b, y6 W' [
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 o8 l+ y# q6 r: R
  1502. ; the gc will run on any give request.
    ' t6 H6 f. K, h! j9 g3 \
  1503. ; Default Value: 11 O0 j3 X+ r1 A: I4 b7 B
  1504. ; Development Value: 1' ?! O: K* k. _" V- `
  1505. ; Production Value: 1: k$ X3 S1 D3 B: O8 ~
  1506. ; http://php.net/session.gc-probability. Q7 {% x' e; C
  1507. session.gc_probability = 1
    ; M' N7 X0 t! q1 r) }% s
  1508. 5 u* I- n; X2 J' O0 L
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    0 v9 W6 U9 t- L4 A  E2 R! F
  1510. ; session initialization. The probability is calculated by using the following equation:
    7 g" {8 z$ O: R3 X
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ; c, }' q9 a, a% a) n' r6 J# K* x
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1( [7 L) n1 K/ H0 u! F
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 o& K. g/ }' }- _" p" g0 a! E
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    : K5 n7 T3 [; Z: R+ k1 g$ S
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 H2 Y" T, j  M1 A
  1516. ; this is a more efficient approach.
    7 D! V) L: M) R. V/ ]4 {# A' R
  1517. ; Default Value: 1001 _1 L! ]; J! k) m7 N
  1518. ; Development Value: 1000
    # {; @8 V) k3 O5 Y; t: g4 L
  1519. ; Production Value: 1000
    / h6 b* e4 P* H/ f2 x! g
  1520. ; http://php.net/session.gc-divisor' g* G( h% s* H) o7 V
  1521. session.gc_divisor = 10006 z" y2 e( y$ K" B4 L
  1522. # F. o# Y. K- O) \
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and; S8 s6 q$ J5 w: |$ H  B- _4 z
  1524. ; cleaned up by the garbage collection process.) d6 F' k& L! n* G9 \; x
  1525. ; http://php.net/session.gc-maxlifetime
    . c9 F0 ?/ e8 m. z
  1526. session.gc_maxlifetime = 1440
    - h% ]- b0 g% I

  1527. ; c% h* r$ {- x6 s+ \1 s0 k: x
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    $ S9 j% `/ z  c/ K7 c7 O. V
  1529. ;       (see session.save_path above), then garbage collection does *not*' ~# w, a  U$ L3 A) u, R* o
  1530. ;       happen automatically.  You will need to do your own garbage' s9 C9 n0 S! v/ m( j. c% ~: O
  1531. ;       collection through a shell script, cron entry, or some other method.& y- }9 m% x$ o" B- ~+ R: C8 A% H
  1532. ;       For example, the following script would is the equivalent of3 G* v% o* m: J
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):! b5 ^% {! R- I% v. F- p- R
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( Z4 N9 R' f( \! g0 ~( b

  1535. % @7 a7 S& @2 g1 E4 F
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    0 S$ `$ E  Z0 t3 u
  1537. ; HTTP_REFERER has to contain this substring for the session to be4 j! [' J5 u9 k; U& w* \
  1538. ; considered as valid.4 M+ W- o, V% Z4 ^
  1539. ; http://php.net/session.referer-check8 l7 l4 p. _2 I" v1 z& k# m
  1540. session.referer_check =+ V. T' T0 z5 w

  1541. / N3 P7 X7 J/ U8 Y# e  U
  1542. ; How many bytes to read from the file.
    : f; L0 D! m$ ~% u- \$ I. L  r$ U
  1543. ; http://php.net/session.entropy-length9 d1 R) z( [9 m) m( E
  1544. ;session.entropy_length = 32$ L! N' Q* T3 J1 |
  1545. : L7 M, q% O' C0 Q4 x4 j- ~" R
  1546. ; Specified here to create the session id.
    & Z0 p) @9 \" I  s7 K6 q3 [
  1547. ; http://php.net/session.entropy-file; F0 r0 p2 k" q" u; b1 {6 H- B) }
  1548. ; Defaults to /dev/urandom
    / G: x- K; C7 w  w# d. F
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    3 \  a7 s6 v0 l" n
  1550. ; If neither are found at compile time, the default is no entropy file.
    5 F% Q3 R, c! V, g  Y5 u4 w1 ]3 V
  1551. ; On windows, setting the entropy_length setting will activate the% c# z9 g2 o, t0 L. V3 n5 ?
  1552. ; Windows random source (using the CryptoAPI)/ ~& l' Y0 _. u% a4 `$ o9 I
  1553. ;session.entropy_file = /dev/urandom2 O4 v+ k* ?3 b7 q1 R5 v
  1554. ( a% u3 O! p1 |1 z: }- u
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects' _4 Y) ]5 _, D) [. W
  1556. ; or leave this empty to avoid sending anti-caching headers.0 e! s5 U* Z  o. R5 ^) G
  1557. ; http://php.net/session.cache-limiter7 |* ?& \1 n) |( {
  1558. session.cache_limiter = nocache
    . Q& w' p2 t% a& P# P
  1559. . N% X" I+ L$ B2 C6 W& Z  W
  1560. ; Document expires after n minutes.3 M: S# ?2 Q5 t! h1 c
  1561. ; http://php.net/session.cache-expire
    ! B: \' p  W. u. p% p4 j/ Z! D1 d; W
  1562. session.cache_expire = 180
    8 B* n1 E! Z+ p8 k" q+ h

  1563. - M9 b& ^5 a7 \! ^
  1564. ; trans sid support is disabled by default.
    0 n" U& E. H, g
  1565. ; Use of trans sid may risk your users' security.
    + ]2 C9 B: D& i4 S* H" Q
  1566. ; Use this option with caution.
    - \9 L3 u6 L- ]
  1567. ; - User may send URL contains active session ID3 F2 q4 O6 J  {" |6 N- E  ^
  1568. ;   to other person via. email/irc/etc.! \8 o2 S( u- H9 I) D* l- U6 K
  1569. ; - URL that contains active session ID may be stored
    3 p  |% B# U6 ~- O; @5 _5 O; B
  1570. ;   in publicly accessible computer.
    " c2 U5 d# s2 G6 L
  1571. ; - User may access your site with the same session ID$ I, M% I) G2 W- u) E
  1572. ;   always using URL stored in browser's history or bookmarks." Y) |* E$ o2 O$ v" m/ Z# o2 q) m8 J
  1573. ; http://php.net/session.use-trans-sid" L# n1 o2 I8 T$ L/ _
  1574. session.use_trans_sid = 06 W8 v* Y6 }) K; S. v' @6 k

  1575. - ?1 t; ^8 y) j' i# _( x
  1576. ; Select a hash function for use in generating session ids.9 d: U$ U) K" M; r- z8 U
  1577. ; Possible Values$ R* a4 N" y! z4 d
  1578. ;   0  (MD5 128 bits)
    2 }# m" ~+ K5 x0 L3 `7 r. {
  1579. ;   1  (SHA-1 160 bits)
    $ ^4 h' w3 l# L
  1580. ; This option may also be set to the name of any hash function supported by
    ) |% }2 O  x/ A9 O: x  b
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()9 h8 v1 C, v% X0 T: c  ?1 V* `! `
  1582. ; function.
      k4 w6 V; j( n( O- |2 B
  1583. ; http://php.net/session.hash-function
    , T; O' k, p8 S  g
  1584. session.hash_function = 0! B8 N6 J& ^7 H* D! U
  1585. , ~. Y5 g; l- |4 f) y
  1586. ; Define how many bits are stored in each character when converting
    & ^( K% L1 _+ H+ z  S2 _0 a
  1587. ; the binary hash data to something readable.  o' |+ Y1 B9 D, @
  1588. ; Possible values:
    9 D8 a- Q: i) t
  1589. ;   4  (4 bits: 0-9, a-f)2 d" b4 q; e4 J* S6 O
  1590. ;   5  (5 bits: 0-9, a-v)
    2 ^. \/ K4 E6 h4 W/ s3 e! W# X
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    * T9 d$ N( [/ N3 x) S. E
  1592. ; Default Value: 4
    + i* b. Z) E  R
  1593. ; Development Value: 5
    ) e# e9 v3 ~; B9 Q2 Y
  1594. ; Production Value: 5
    & H& ]/ ]8 _" n* O" \2 ~
  1595. ; http://php.net/session.hash-bits-per-character
    . C. M6 S  B& o  e7 \
  1596. session.hash_bits_per_character = 5
    ! U2 ~5 a. T/ v8 E( ^, b# D; J( [
  1597. ' A+ w$ ^, l: \( l5 [
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! F6 ?0 h: G8 W* l! W+ ~4 y
  1599. ; form/fieldset are special; if you include them here, the rewriter will( }! x0 b+ A0 K, r/ B- e
  1600. ; add a hidden <input> field with the info which is otherwise appended1 U) T' Q/ u  j( o9 n
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
      _' {% W! c/ b
  1602. ; Note that all valid entries require a "=", even if no value follows.  [6 W7 ^/ a3 g; d
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 u$ v& B# X3 z, H! N( \
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % x4 K: A) b1 [& ]4 p4 w
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' R: L, X" n5 w; Z3 f* ?) r8 G7 s
  1606. ; http://php.net/url-rewriter.tags4 b8 ]+ y- c# h
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"! A* k" Z0 O8 Q( Q/ ^: N

  1608. 7 H& R2 F  b+ `# B  D0 @* k
  1609. ; Enable upload progress tracking in $_SESSION
    0 z8 ^3 C# ?) |0 H8 E' o
  1610. ; Default Value: On
    , S" e2 K  x7 m9 q* Z5 p/ Q9 W2 P
  1611. ; Development Value: On
    $ ]3 \4 I: F9 F
  1612. ; Production Value: On
    1 F: ^: U2 b: {* O1 v- B4 ~
  1613. ; http://php.net/session.upload-progress.enabled
    2 b  ?5 s: {4 F8 L
  1614. ;session.upload_progress.enabled = On
    , H  D/ s1 P8 l3 [& T6 t5 c6 H$ w
  1615. : z# Z3 N4 K5 I) [( z
  1616. ; Cleanup the progress information as soon as all POST data has been read
    5 N/ @; M/ o) Y) r- h( I
  1617. ; (i.e. upload completed).+ r/ r- Z5 C- s. y+ {1 _4 c
  1618. ; Default Value: On8 C7 ]' X  r/ q
  1619. ; Development Value: On
    # t) B8 C- x( W$ T
  1620. ; Production Value: On9 _( i" H* e+ [* |' ~/ o* F
  1621. ; http://php.net/session.upload-progress.cleanup2 ~6 O5 O( k- h6 r( l; D) D9 O
  1622. ;session.upload_progress.cleanup = On
    , E9 g% m! c0 I& Y
  1623. 6 c8 }* G% l* W4 p# g" I
  1624. ; A prefix used for the upload progress key in $_SESSION/ b% n# J+ a$ P: W4 P
  1625. ; Default Value: "upload_progress_"8 C2 r9 u  k7 `
  1626. ; Development Value: "upload_progress_"
    0 c) a6 H$ B! M" V% A5 e+ g
  1627. ; Production Value: "upload_progress_"
    * b6 W( d0 C7 J% o' L
  1628. ; http://php.net/session.upload-progress.prefix
    2 T# v" s' t+ E: v$ u5 M4 l
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ( q6 D& y+ I3 Y, i5 b
  1630. & j0 A9 v  J* J3 ~4 a
  1631. ; The index name (concatenated with the prefix) in $_SESSION) @7 ^' Z( f' q5 ?- U6 t9 j
  1632. ; containing the upload progress information" b' o: `. ~7 k3 N# s4 L( I( z
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"7 w9 w& I8 R0 y7 h
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"3 v8 s& _* q& G3 b8 z% Y
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"  P. x- w' @& n+ |5 N
  1636. ; http://php.net/session.upload-progress.name
    / G! G$ I, U. I& z& Y
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& z. ?. L! I) V
  1638. 9 S( z' D1 I  j# m, c4 h# Q( E* w
  1639. ; How frequently the upload progress should be updated.- o% u+ p" q8 V% w
  1640. ; Given either in percentages (per-file), or in bytes
    , i6 N% _; }3 |* n- w/ a. R
  1641. ; Default Value: "1%"' ^$ c* a7 p# o' F# Z  B; z
  1642. ; Development Value: "1%"
    . C6 D5 N1 f+ }/ F8 ]- a+ j9 p
  1643. ; Production Value: "1%"' h0 U8 J- V( Y7 J& U
  1644. ; http://php.net/session.upload-progress.freq6 d9 F2 M$ g% p1 V) P4 L
  1645. ;session.upload_progress.freq =  "1%". }. B9 t4 y3 z! a0 `

  1646. ; S/ x; P$ {4 }/ c
  1647. ; The minimum delay between updates, in seconds9 P6 `6 l. x& q+ E6 N
  1648. ; Default Value: 1, I1 _$ k2 N2 s# ?9 I
  1649. ; Development Value: 1% c0 w7 C+ O+ l: O, x0 Z9 j
  1650. ; Production Value: 1. }: @. {3 f# v3 i1 H
  1651. ; http://php.net/session.upload-progress.min-freq
    , ^& @( s7 P7 g$ |
  1652. ;session.upload_progress.min_freq = "1"
    3 _  X# N/ i. E: t3 @% a

  1653. 7 s8 Z8 ?$ I% h( M3 a& ~* s* V/ X
  1654. [MSSQL]: }. k3 n3 N+ v( ^, H  o
  1655. ; Allow or prevent persistent links.4 \6 C- b4 h0 P, h  z0 M
  1656. mssql.allow_persistent = On. R- e1 c4 Q. d" o1 d, Y3 F

  1657. : J9 b9 H" e" d
  1658. ; Maximum number of persistent links.  -1 means no limit.6 _1 E$ K* {- p0 d4 O. w
  1659. mssql.max_persistent = -15 h# [4 N/ [. T8 N

  1660. * s( {6 t, m, |% s4 J' g
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - z: o* `$ k4 `6 y  ~0 v# K
  1662. mssql.max_links = -1/ s, C* Z' _3 x3 n6 f

  1663. + ^1 |+ O; F8 }8 F9 v0 }
  1664. ; Minimum error severity to display.
    + S) {7 B) v8 q0 E: L
  1665. mssql.min_error_severity = 10. X6 d5 d' a. y9 e% B; r, T' O1 H( J
  1666. 7 J6 P, m, X  e
  1667. ; Minimum message severity to display.
    8 u( T& ]2 J) f% n
  1668. mssql.min_message_severity = 10
    ) a) s# ]3 N/ @, x

  1669. ; {# p6 r; q! e2 l! q2 T9 Q
  1670. ; Compatibility mode with old versions of PHP 3.0.7 L1 h" U. v8 ?! E( j4 y' s
  1671. mssql.compatibility_mode = Off
    3 `% s5 P# k2 H

  1672. 9 S6 b+ g. ~- e. C! o7 G
  1673. ; Connect timeout
    6 q7 Q; a! j+ F5 P9 b4 }
  1674. ;mssql.connect_timeout = 5! b  I) i9 x9 X
  1675. ' i  d* E. U2 a- O" E2 h, R
  1676. ; Query timeout! V" Q6 c- }) Q  y1 r  s
  1677. ;mssql.timeout = 60
    $ S& l: K, {6 f. M: y) _

  1678. * w: X4 Q2 Q3 W
  1679. ; Valid range 0 - 2147483647.  Default = 4096./ Z1 s: i0 R4 I5 _
  1680. ;mssql.textlimit = 4096
    $ T9 z; }, w. \" U
  1681. - G+ j$ U8 H. |) i3 Z% Y6 U
  1682. ; Valid range 0 - 2147483647.  Default = 4096.: Q: b' g1 \8 c5 A% x+ S5 {# n
  1683. ;mssql.textsize = 4096
    7 F( i- o/ C7 x" j& M9 h

  1684. ; Y6 d9 L6 E3 K: W, I
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    # H& s; Q2 A" w0 |7 }2 E) ]
  1686. ;mssql.batchsize = 0# Y- K; C1 k1 m
  1687. * |6 Q. @) T" e, E& G/ r1 B0 i
  1688. ; Specify how datetime and datetim4 columns are returned
    5 u% `& Y$ f+ M* A
  1689. ; On => Returns data converted to SQL server settings0 X* G8 e8 G+ c
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss0 r. O5 O$ U' d; e! ]0 n
  1691. ;mssql.datetimeconvert = On( B' h  }0 T" T" r7 [
  1692. " K1 l# K( F8 ^; j% n$ x- @- N
  1693. ; Use NT authentication when connecting to the server
    8 m$ L& a. N6 G+ ?% y
  1694. mssql.secure_connection = Off
    : O; a" V) L; A
  1695. ! a# Q* P! W) P7 @) ~# t) U$ L* C
  1696. ; Specify max number of processes. -1 = library default
    1 ]! Y- `2 K# E
  1697. ; msdlib defaults to 25
      ?5 Z1 s% v( b. t8 b
  1698. ; FreeTDS defaults to 4096
    & \6 [8 B& m" u; D
  1699. ;mssql.max_procs = -1' V$ G4 d0 Z( |5 K, x) z
  1700. $ \2 Y( f; r/ |' s* h: x+ T
  1701. ; Specify client character set.
    1 J6 R9 G3 r8 I! N3 Y4 P1 T0 n
  1702. ; If empty or not set the client charset from freetds.conf is used1 c2 O. n* M( _- j1 z, Y( d
  1703. ; This is only used when compiled with FreeTDS
    . p2 L* M" i! x* ^% J& t
  1704. ;mssql.charset = "ISO-8859-1"& X, K( ]/ ~; b

  1705. : }6 q4 h% t  l' p; f; J. e
  1706. [Assertion]
    5 k8 b7 H: m1 h5 z6 c9 E! W
  1707. ; Assert(expr); active by default.
    + h! O( q. S5 L! [# C
  1708. ; http://php.net/assert.active
    : f- i* O; \( z% y
  1709. ;assert.active = On
    7 t& b: A3 F8 C# q3 u: J

  1710. 9 ~! F  n) V) D$ L0 B
  1711. ; Issue a PHP warning for each failed assertion.
    1 @! u! h- A% b6 S: i. G9 n' A
  1712. ; http://php.net/assert.warning
    : ~1 j6 F1 i* I* ]* h
  1713. ;assert.warning = On; Y$ R$ q7 _( z, _- r8 t

  1714. 3 k+ F( H. j3 M. L# `3 t  j) Y- j
  1715. ; Don't bail out by default.
    3 L9 j7 _- X# \( ~5 e
  1716. ; http://php.net/assert.bail  w3 d  j3 J! V& H9 W1 G
  1717. ;assert.bail = Off
      h" a; G, t2 k* z+ _, R# B2 Z* C
  1718. ( ]5 I+ f# ?! G" l+ B% B& ?
  1719. ; User-function to be called if an assertion fails./ {) Y, [; g% n4 y/ N* ]  [
  1720. ; http://php.net/assert.callback) W. Q6 V9 C. Q" e: w
  1721. ;assert.callback = 00 P1 G3 u0 g( A* m- R# n/ G
  1722. . {( v' q3 H5 y- d( j6 j
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    7 A+ D' Q2 ]( R' Q& |. u( L
  1724. ; error_reporting(0) around the eval().# O( r& i% D# V- d
  1725. ; http://php.net/assert.quiet-eval
    + I; G1 y7 @2 |% Y" u% R
  1726. ;assert.quiet_eval = 0' h, X9 P8 _  l2 ~
  1727. & B  }1 ~  Z% X+ j! @7 |
  1728. [COM]
    - _) C1 p. H0 T6 n: x1 S
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs1 |- J$ O4 W% d% E
  1730. ; http://php.net/com.typelib-file
    - h& s" ?! @8 c" d7 E3 O7 Z
  1731. ;com.typelib_file =
    1 @- `0 `8 R% K! G: [

  1732. " f# p' p, A& \. H% y
  1733. ; allow Distributed-COM calls
    4 P/ K* E8 ~4 j- ~! e" H/ g7 J3 A
  1734. ; http://php.net/com.allow-dcom5 N) |1 U/ C( ~( M; z( @, P
  1735. ;com.allow_dcom = true% {9 p* @- F/ R) a2 T: D
  1736. 6 ^# N2 N( q0 z. h: U# D& A
  1737. ; autoregister constants of a components typlib on com_load()/ g. s% V+ D* ?, U( K% y7 L
  1738. ; http://php.net/com.autoregister-typelib
    ) ?$ J3 E8 V3 x5 j
  1739. ;com.autoregister_typelib = true
    7 j) g3 Z7 t# D, i% U9 L/ U9 H

  1740. 9 M' |0 {- q( W7 G6 R
  1741. ; register constants casesensitive
    " H" `+ {, p5 E- Z$ `
  1742. ; http://php.net/com.autoregister-casesensitive: b! Z: R, u" x5 |; M! `8 V- P  d( a8 X
  1743. ;com.autoregister_casesensitive = false
    $ D; M, K+ w% V* S3 X& p. \% }: `, f' @
  1744. : F+ A1 y+ Y! v( i( k1 ^6 m
  1745. ; show warnings on duplicate constant registrations
    " ^2 x) S4 @1 x" b
  1746. ; http://php.net/com.autoregister-verbose- l* O( l8 e. \; ]) r
  1747. ;com.autoregister_verbose = true* {* ^' r* U4 R2 j9 G1 p. I
  1748. 2 O3 k6 A5 F& w
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ) o) _' Z* p2 e; K) r
  1750. ; Default: system ANSI code page
      w5 Q4 x' Q6 j. E! p3 ?
  1751. ;com.code_page=
    ( p+ a$ q0 w2 [5 a+ i1 V% ^

  1752. 4 }% m) h9 y& w' c+ C* s
  1753. [mbstring]4 s; J5 v6 R7 S( Z9 g1 \
  1754. ; language for internal character representation.
    2 h2 `1 [) s8 O; f
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    0 S/ h. y2 }- F) ?/ t* J# V6 X. Q
  1756. ; http://php.net/mbstring.language$ `8 Z3 k) r1 ?$ y- a
  1757. ;mbstring.language = Japanese8 q/ X: c' ?* \7 k" o0 _

  1758. & i7 o7 N# b' S' L4 }
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 [& U* N) ~0 j. c
  1760. ; internal/script encoding.
    2 E, B5 I8 z) W
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): j" T& s, y0 v5 B& g# R1 r8 ~0 W
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 `. I5 l7 \/ r$ F1 V/ J  Q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ M% c8 T  B5 e6 b/ `4 _
  1764. ;mbstring.internal_encoding =! U5 C$ ]* R# N* U% U, T+ W9 _! Q

  1765. # |8 e! J# q5 \9 X. M% D* |9 k
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.4 v/ L, @4 w  a$ ?, [
  1767. ; http input encoding.' {% S9 k6 u, n4 q  e; r5 C' ~
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.* ?# @/ A& A8 c5 F
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    , I" `8 v  l+ [2 b! z# R2 h- B
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    7 O$ z6 b& N/ l+ D0 |7 H# {1 g
  1771. ; http://php.net/mbstring.http-input
    - d$ B& s! X* n
  1772. ;mbstring.http_input =
    - a( e0 u: q# g+ [

  1773. # q0 J4 |  J; Z  {$ O4 s
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead., v8 S; J! |. \' I7 A
  1775. ; http output encoding.6 ]- r) c0 {' @# a6 {; Z, d
  1776. ; mb_output_handler must be registered as output buffer to function.. j& G* C% @! _4 Y0 I4 Q( u
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    6 H+ i, m9 F: S
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + C6 }2 I& z6 D* `& L
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ' q1 w# u# {6 ^4 Z
  1780. ; otherwise output encoding conversion cannot be performed.
    " k6 j  [' V0 ^5 O' Y# w: B
  1781. ; http://php.net/mbstring.http-output
    . V% d! n: n- E9 z2 `
  1782. ;mbstring.http_output =
    ( R$ \5 C! \9 L: z

  1783. 7 y7 t! v6 ~' S' T2 c7 C# F: k1 d
  1784. ; enable automatic encoding translation according to
    % `3 l6 ~9 K6 F3 j0 I0 Z$ b
  1785. ; mbstring.internal_encoding setting. Input chars are
    # _  I$ S3 _2 Y! a
  1786. ; converted to internal encoding by setting this to On.
    ( S- }: Q" Z' d) U0 F* r
  1787. ; Note: Do _not_ use automatic encoding translation for
    1 x  _0 J( L% e( @
  1788. ;       portable libs/applications.
    . ?/ B/ W( p6 M
  1789. ; http://php.net/mbstring.encoding-translation  n) U4 r9 E' z8 t8 G% M- e4 O& y
  1790. ;mbstring.encoding_translation = Off
    + A2 a: B2 T2 J6 `2 H' c

  1791. : V% o& |6 z+ }9 K; k% r
  1792. ; automatic encoding detection order.
    - Z2 P" `5 R2 D- V% \
  1793. ; "auto" detect order is changed according to mbstring.language+ N7 ~, e2 |$ X& R: K$ x8 o: a6 H
  1794. ; http://php.net/mbstring.detect-order
    . N' Z; B4 h0 G
  1795. ;mbstring.detect_order = auto2 A$ G0 Z* m* n3 P

  1796. " `0 R, `: Z% [: S% w( N( A1 a
  1797. ; substitute_character used when character cannot be converted( w9 r& R/ S" u
  1798. ; one from another* l( `6 k& k! m5 `* @
  1799. ; http://php.net/mbstring.substitute-character) f7 b. t# F, k* a: s- R5 W
  1800. ;mbstring.substitute_character = none
    + d/ ]5 k% m) c( \

  1801. & G1 U, F8 D$ E
  1802. ; overload(replace) single byte functions by mbstring functions., N( A9 y' m! Z
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    3 s- H7 a# o+ A( Q6 l$ ^7 P
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    5 {( f4 J, T" M1 m9 R8 T, ]; ?* N
  1805. ; For example, 7 for overload everything.- x, h, ^; ]9 A4 B! F) U0 w
  1806. ; 0: No overload
    2 I/ }1 |: q' V5 |' Y8 `. P
  1807. ; 1: Overload mail() function9 I$ n4 B1 Z' r
  1808. ; 2: Overload str*() functions7 T/ b; R3 o: v3 y
  1809. ; 4: Overload ereg*() functions- l* n3 ?9 ^0 h! |9 q
  1810. ; http://php.net/mbstring.func-overload
    ' D$ I  R% K% W
  1811. ;mbstring.func_overload = 0& J# C( h4 O0 h3 J5 i
  1812. " F/ V/ X% `# X5 _$ U
  1813. ; enable strict encoding detection.; |! I9 a" F' r
  1814. ; Default: Off
    2 N7 p& C" Q; E3 m
  1815. ;mbstring.strict_detection = On: k' s8 k* W4 S# w
  1816. . k, x+ Y, ]$ S) w" A7 X# y
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(), f3 x+ N8 c9 S4 n3 S0 b
  1818. ; is activated.
    ) M, A& {. P3 m/ P' l
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    1 a7 a, U5 D6 d' `
  1820. ;mbstring.http_output_conv_mimetype=
    , z" `5 ?1 u( i& E; ^& K/ i0 i' w

  1821. " u* O- x! U+ R; `
  1822. [gd]
    & B8 K* E9 [4 w
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ; H3 u( Q; t3 o7 J& G
  1824. ; a gd image. The warning will then be displayed as notices
    ! D* X/ n" b) B+ i! B
  1825. ; disabled by default8 E/ ]5 {, o! z$ g
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ) R+ |$ D/ y+ G- V: p, \
  1827. ;gd.jpeg_ignore_warning = 0
    * _" e4 N6 X: Z- s0 g- t; @: e
  1828. % U* X+ p4 h9 ~5 l6 s2 O0 e
  1829. [exif]; b+ S: l/ \, z7 I
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    : r/ @# K  ~9 G
  1831. ; With mbstring support this will automatically be converted into the encoding8 L' }+ m7 X3 V! d4 A! h
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    2 e! B. d0 u5 F
  1833. ; is used. For the decode settings you can distinguish between motorola and& _3 K& @. Y- [' l
  1834. ; intel byte order. A decode setting cannot be empty.$ V& _6 M1 }- L
  1835. ; http://php.net/exif.encode-unicode
    & b# e! f8 {0 P% J) ?% C
  1836. ;exif.encode_unicode = ISO-8859-15
    " P; j0 o' @' H. P! A
  1837. 1 }+ ?7 S' n- u% p
  1838. ; http://php.net/exif.decode-unicode-motorola
    & Z! T/ d" {4 N& x( |) F! l4 N# W
  1839. ;exif.decode_unicode_motorola = UCS-2BE- r, i0 A4 R0 c# c
  1840. - r& |) u4 ]$ f+ p
  1841. ; http://php.net/exif.decode-unicode-intel
    ! h0 p) S4 H( E! j& R+ E0 O
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ! g6 x3 D. T1 w$ d7 T* ~

  1843. 8 ]9 g$ q. f4 R) z' o: n7 \0 h
  1844. ; http://php.net/exif.encode-jis
    ( a5 V2 v0 X7 m0 w$ G
  1845. ;exif.encode_jis =: t% u5 V/ K; e" `& _3 l7 Y8 M

  1846. . G( S) W9 S3 T. g
  1847. ; http://php.net/exif.decode-jis-motorola
    ! g+ s4 p2 j# o% @" _  S8 D2 |
  1848. ;exif.decode_jis_motorola = JIS
    * \$ s7 v5 j# z: Z9 Y6 J

  1849. # @9 i" j; `/ j+ t* Z
  1850. ; http://php.net/exif.decode-jis-intel1 F' _: ]# X7 m. U" t
  1851. ;exif.decode_jis_intel    = JIS
    , i- f% s# a0 D' {
  1852. 0 k/ G" y. A4 ?: T( f- o
  1853. [Tidy]* W) M7 Z' N( C( n' {- F
  1854. ; The path to a default tidy configuration file to use when using tidy' ]0 h8 z, ^% v, W
  1855. ; http://php.net/tidy.default-config
    1 d% ?: c) P, J' \# G) v* x! a1 k
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 B5 s) K. P+ f, K0 g6 U
  1857.   o3 Y& i9 F' x5 U
  1858. ; Should tidy clean and repair output automatically?
    & i& N1 ^# y. h0 W9 S- l' w
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ) m$ E. A5 u( a8 G/ Z
  1860. ; such as dynamic images
    6 W' n: ~) {  r& b& m. H0 ~6 A  @
  1861. ; http://php.net/tidy.clean-output1 y, }* H$ L9 d& Z) M
  1862. tidy.clean_output = Off
    7 n% o/ _- [1 V: U' g8 l( O, C
  1863. $ a2 ^4 |: n+ V" B) l4 K) O
  1864. [soap]3 H6 G- {* [' ]' @) w7 w0 @
  1865. ; Enables or disables WSDL caching feature.- _  t9 X" G6 K. `2 ]
  1866. ; http://php.net/soap.wsdl-cache-enabled
    . s) r8 L, j/ L0 z: N& w9 p3 {
  1867. soap.wsdl_cache_enabled=1
    - t( _8 u1 `1 W/ F# g' ?  Q/ \
  1868. 0 X8 x/ F% [7 {' Z: G
  1869. ; Sets the directory name where SOAP extension will put cache files.
    . ^2 k4 B8 q! r$ [+ J, E
  1870. ; http://php.net/soap.wsdl-cache-dir1 K: m0 h6 W: i+ E) k
  1871. soap.wsdl_cache_dir="/tmp"& E4 E4 u+ `5 B8 d, o; @, Q/ m
  1872. 4 e3 }% d, D6 R( N9 `0 h+ N) g; x
  1873. ; (time to live) Sets the number of second while cached file will be used
    - T& \' C2 Q- `7 Z9 f, [
  1874. ; instead of original one.
    8 |* w6 j. k8 U2 `- r- u) A
  1875. ; http://php.net/soap.wsdl-cache-ttl
    2 T  J: N6 Z1 p, B) Q# U
  1876. soap.wsdl_cache_ttl=86400
    6 A8 P9 u% X% \

  1877. / Y  a% u+ U# V% e# T3 Q
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( m1 ?* b+ D4 o: Y7 O
  1879. soap.wsdl_cache_limit = 5
    * [! i# i9 F* d& n, ~+ i  h% ?  m

  1880. , Q7 h- r. P4 N. A* H* k/ D
  1881. [sysvshm]: U( ?1 e- ^  ]1 X* H; t& z1 p) U$ i
  1882. ; A default size of the shared memory segment; F& Z+ p+ e, R7 W& g! @
  1883. ;sysvshm.init_mem = 10000, b; J) C6 y1 m" U7 `7 T

  1884. : X9 v7 `7 B, u# ^* ?0 O+ A
  1885. [ldap]
    ' @+ Q' A. C: x" L  A1 {
  1886. ; Sets the maximum number of open links or -1 for unlimited.1 [! G) }9 m4 }* b1 H! h+ u
  1887. ldap.max_links = -1  m8 X) R: W! z/ T9 b

  1888. & C" ]( _' i  B+ M1 i4 I
  1889. [mcrypt]( l; p; U9 n+ }* Y5 }4 s4 ~
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open3 k5 A+ q! Q, Q: L& w
  1891. 6 G: M5 `; m1 o
  1892. ; Directory where to load mcrypt algorithms$ Q% O) t& ~  o( r7 q
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . z' q! Z, H; K. O' \2 Z0 M
  1894. ;mcrypt.algorithms_dir=
    ' Y( a* B; A( w" B
  1895. ' v% F# S. X! [/ [: O% L
  1896. ; Directory where to load mcrypt modes2 T7 f( i! |) O$ S( c+ T
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 w7 v; Y' I6 ]. J
  1898. ;mcrypt.modes_dir=
    % {! b) ?- e; T' k+ f' F
  1899. 3 T  t; z5 w" B8 r8 R: i
  1900. [dba]# ^  D5 Q8 V0 h+ z
  1901. ;dba.default_handler=
    4 X  h- E8 [, N/ |$ F; H
  1902. . l! F5 F) l! U; a! }! {" B
  1903. [opcache]
    7 H% b( T9 v8 |/ m
  1904. ; Determines if Zend OPCache is enabled4 p6 ~! Y* R: ?6 a& v  ~
  1905. ;opcache.enable=0+ c; {' H7 B9 H8 f

  1906. , c) v7 V3 J) W6 w# h+ R! c9 z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP1 C' s. y$ i7 D! g0 Z
  1908. ;opcache.enable_cli=0
    : D/ E$ c0 k5 m1 V6 \( G, F! C! U
  1909. 0 b% V! n  p% [6 g3 A% D* K
  1910. ; The OPcache shared memory storage size.
    ; M3 s4 R" b5 H. p
  1911. ;opcache.memory_consumption=64! }9 I4 U. N; x/ m+ M$ n' L# i
  1912. : d5 t0 V3 [5 L* G% ]) L* N
  1913. ; The amount of memory for interned strings in Mbytes.
      q0 p2 d' l6 @+ s
  1914. ;opcache.interned_strings_buffer=4
    7 n/ C; N8 n# L- D4 `# n2 S# r% Z

  1915. 1 l- F7 @# I1 Y7 t  F6 I* M
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    0 X& u1 \$ \9 K7 H* y3 S/ B3 T+ O, I
  1917. ; Only numbers between 200 and 100000 are allowed./ r0 o# j" S9 I* m3 i/ G
  1918. ;opcache.max_accelerated_files=2000# b$ u( O, c0 D- u

  1919. ! y: y+ ?; l1 B7 O  M8 ?7 |
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.& s' l& {2 L) a& p! ^
  1921. ;opcache.max_wasted_percentage=55 T" f1 k5 o! {

  1922. & t* q* B; P; T4 l, y) L; j
  1923. ; When this directive is enabled, the OPcache appends the current working
    ) y( w8 j% C7 K6 u
  1924. ; directory to the script key, thus eliminating possible collisions between
    ! A3 q2 o& c$ N1 X
  1925. ; files with the same name (basename). Disabling the directive improves
    ' B* j+ e4 ^& ^4 y4 p4 G/ p
  1926. ; performance, but may break existing applications.! \% h0 T. I' Z- E/ I8 d
  1927. ;opcache.use_cwd=18 ~! R8 d2 @( p1 O
  1928. 8 z3 T" x5 I3 P, S5 }' Y9 q- {( Z
  1929. ; When disabled, you must reset the OPcache manually or restart the
    + u  C% O$ \5 i
  1930. ; webserver for changes to the filesystem to take effect.  V6 d$ N4 `1 @5 |: Z/ ~2 ~. v
  1931. ;opcache.validate_timestamps=16 f& I8 u& m0 t

  1932. - h: C, `" p+ K7 `  B' F
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    1 t' @4 ?2 \; q1 b0 h6 e4 e) M
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 H, {# h% T( B# R, q) T
  1935. ; once per request. "0" means always validate)
    7 |9 g- G: g3 }) z
  1936. ;opcache.revalidate_freq=2% g8 {* x' U+ l( v/ ^2 Y+ E

  1937. % p- a0 T- l# S8 J7 ^
  1938. ; Enables or disables file search in include_path optimization
    ! ?% p* {2 l9 r1 @6 u) Z5 e4 p& I; }
  1939. ;opcache.revalidate_path=0
    ' X' A6 J9 \9 G
  1940. & z# Z$ G2 d: D6 j( s) u
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the0 T, m! G3 O: a4 s0 C& Y6 f
  1942. ; size of the optimized code.' e; w! N7 ?/ U; B$ X
  1943. ;opcache.save_comments=1
    6 l. S5 R2 t7 b- R- d; _; @
  1944. 6 l" B+ s+ b) \/ `; `
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    9 |1 l) ~( s  j1 I- W% l
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    2 q* e% V9 B" d6 c6 t
  1947. ; that don't need them anyway.
    7 a* x7 B1 a' R$ @' R  F+ F
  1948. ;opcache.load_comments=1
    + a, P; j; ^) L. J, J

  1949. 2 q* Q. }9 w; m6 H
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code5 s3 B- ]+ F1 ?; h  Q4 r
  1951. ;opcache.fast_shutdown=01 T! Q0 [  h4 d1 ^! [* C6 L

  1952. 9 l- I, q6 m- f7 q
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' s" L; Q9 S" `2 t1 C3 w
  1954. ;opcache.enable_file_override=0
      A8 B2 c. V3 e

  1955. 7 \/ ]  p% K# a
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    : O  U! n, ^* o6 Q
  1957. ; passes3 G6 J* X( U/ ~$ j
  1958. ;opcache.optimization_level=0xffffffff
    1 c" ~* z/ i3 V' K' w

  1959. 8 O8 E8 Z2 a+ g/ P% F* g
  1960. ;opcache.inherited_hack=12 K! e# \8 i! Y! R: H! ?' w
  1961. ;opcache.dups_fix=0# O9 G9 M* _9 @

  1962. 8 k8 r4 J4 J* k
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    0 t+ V# m: ~. |, b" }' A
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% B" a' P1 X$ z! J
  1965. ; that should not be accelerated. The file format is to add each filename6 u6 z0 G/ C( D% C- @: `
  1966. ; to a new line. The filename may be a full path or just a file prefix
    & C' g' p7 D1 X) V/ Y) L' v5 F+ Q  T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    7 z0 r6 }' c: [% g0 _4 r
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).0 @; G: f3 i8 C- Q2 }: P3 E
  1969. ;opcache.blacklist_filename=! _1 V1 N) V$ D9 _  t$ s# s

  1970. 7 I5 o; H' G6 q* j& F( L% Q
  1971. ; Allows exclusion of large files from being cached. By default all files
      f3 d, }. C/ Y6 [+ [
  1972. ; are cached." B8 ^: A. h8 ]; I
  1973. ;opcache.max_file_size=0
    * b1 O* H2 S- p, J4 X

  1974. : H: Z) u( _% n4 p- ~% y: _
  1975. ; Check the cache checksum each N requests.. L* ]5 ~$ z9 B3 f1 J) Y: \6 r
  1976. ; The default value of "0" means that the checks are disabled.( C2 |# w& ~- Y# h
  1977. ;opcache.consistency_checks=0
    4 A) P+ T$ x- n( V2 |! u: I# f

  1978. 8 g! }+ n1 S# {' o
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache& X! E7 a4 @6 k: s' u$ e& s
  1980. ; is not being accessed.& m3 X7 u5 h: R& `' [4 s9 ~
  1981. ;opcache.force_restart_timeout=180
    3 \+ x4 T3 Y+ l

  1982. : I2 A. ]; ^4 h9 k- F
  1983. ; OPcache error_log file name. Empty string assumes "stderr".& x+ x; k4 i8 E
  1984. ;opcache.error_log=
    & k& I# K* ?/ D: g" G
  1985. 3 y+ n, g' V3 v; ]2 j& w
  1986. ; All OPcache errors go to the Web server log.# Z, p, e  \; D" h% _' m
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    6 W# N! w/ a: Y6 X' w" v
  1988. ; You can also enable warnings (level 2), info messages (level 3) or8 j9 x: q$ u2 M: M, a0 B
  1989. ; debug messages (level 4).
    ) W7 I( w2 g! M) f
  1990. ;opcache.log_verbosity_level=1
    , {* d; s$ J; L1 _& j

  1991. + ]7 v7 ^+ f$ A. ?% m) b
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.7 d; ?! j$ ]7 ?. c3 i, a
  1993. ;opcache.preferred_memory_model=5 e1 H1 A5 I) I) Y; f

  1994. - ^2 w4 B% j6 R) s
  1995. ; Protect the shared memory from unexpected writing during script execution.
    3 P3 l* z# x" ]" A6 Q* I& F
  1996. ; Useful for internal debugging only.
    1 I% j8 m- s. u  E' D
  1997. ;opcache.protect_memory=0$ M" V! J* W( G2 `
  1998. 7 n: Q: f$ u9 {% A3 ?4 S" x4 M1 q
  1999. ; Validate cached file permissions.
    ! |: z/ N% h, P2 v. x: d, z
  2000. ; opcache.validate_permission=0: B3 [* h' V7 v8 P( \

  2001. & c& T  C* P9 X, W
  2002. ; Prevent name collisions in chroot'ed environment.
    9 k* m& Y1 a) v0 F# F8 Q& r
  2003. ; opcache.validate_root=0
    0 h- V" J& L, @
  2004. ( [# \0 T, u" U7 o/ z- j
  2005. [curl]. X9 Q# A& E! J' b( r1 D
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    $ Y! ~0 N# m0 w1 f+ B3 f
  2007. ; absolute path.
    / R  ?  C! D* f$ c/ i. l
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    0 o, X; i# N- z) e/ c' H* j# [1 E
  2009. / Z4 A& c0 S* ^0 o# K
  2010. [openssl], ?% s: ^* k- w+ Q8 p4 u( A
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem* Z) x* {4 o! y3 z
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should! R8 |8 [7 t/ \# `  q/ d! G% y
  2013. ; not specify a value for this directive as PHP will attempt to use the/ g) W2 Z3 |, J$ r9 @" L. D
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    " e. Z# |9 ?. n
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context( w6 k7 h$ X7 J4 z$ i2 O! y7 f
  2016. ; option.
    9 p6 G: j' ]& _6 C3 y! r( y1 I
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 v. X* q4 m4 o; q9 P

  2018. # _: H% K0 I( [& Z8 N/ o/ M, L" f
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the# g0 J8 M4 T( S/ M2 A
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    1 Y+ o' ?+ M6 c; h+ ^4 N/ i. O* u
  2021. ; certificate. This value must be a correctly hashed certificate directory.& z, L& R) {: _2 o) }
  2022. ; Most users should not specify a value for this directive as PHP will3 ]5 `/ v/ l% K1 U& N
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    , y5 c3 @7 I/ ]0 Y3 n3 I7 Y& j  c
  2024. ; this value may still be overridden on a per-stream basis via the "capath"/ t& p. C# a0 d, v$ j
  2025. ; SSL stream context option.3 y. r+ a& ?# I8 L; W; n
  2026. ;openssl.capath=- m3 R+ j# i9 t$ M, X

  2027. 4 i0 A* r1 ?9 R! J. p: N
  2028. ; Local Variables:; c" c9 t* f) @& o/ h5 z
  2029. ; tab-width: 4
    ' a' c$ Z& L* F0 V& N  S1 l& `
  2030. ; End:
    % W  n9 D) u3 a5 a( m9 `

  2031. 8 u+ O' I. e5 N$ l( D$ \* z8 I3 I
  2032. ;eaccelerator0 Y7 Z5 t4 [- s7 x

  2033. 9 J# X) G3 r2 E3 F* t5 ^) x
  2034. ;ionCube% m/ ~1 v0 K$ c* A1 l

  2035. 7 Y" l& R( K2 b+ [7 m$ C! S
  2036. ;opcache& N" m# d$ L7 R6 k% b5 a" u* O
  2037. # b0 ]' }0 [. o8 ]1 G/ @: m
  2038. [Zend ZendGuard Loader]) l. M1 J# I  c# w. e3 [6 C
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so* i# T8 A+ e1 V! t) y
  2040. zend_loader.enable=1( [& k6 z& s$ i
  2041. zend_loader.disable_licensing=07 |4 B& d) i  a
  2042. zend_loader.obfuscation_level_support=3" M5 s* N7 P5 P) O
  2043. zend_loader.license_path=
    . L0 W& D9 H4 G9 @! V) B+ H! Q
  2044.   i. m5 c, O3 _0 l* }
  2045. ;xcache+ L" P- X! T. u: m; U. f
  2046.   `! _6 H! u) K
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
) Q2 p% ]- o* O2 m# y7 I# o) q7 D2 k3 e+ L4 Y1 P' ?( M
  x* G; U. X1 c% b" _) V
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,- m* Z: V& n" Q& T
1 H( D5 Z" W5 T. J( y
Discuz!程序版本选择:3 ]  R8 {/ w6 r( v- t) _
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,/ {4 e/ u4 M# U9 U
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:. w  {5 m: Y! ^: H6 a
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。. o; A" Y0 m+ t4 H9 x* t

, c( t2 F& f8 ~Discuz!插件模板版本选择:. ^! T* ]+ Y/ Q# Y/ J2 C/ x
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,. |+ N; a9 r( f8 j' z$ G; N
针对这个问题做个统一的普及:
$ ?# U, l3 r" J% @, J: ]. G6 e. W6 VX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。. m, I% J5 @5 w$ N3 y- i

* Z3 z5 Z1 I; Z# K1 n! E0 B9 {$ S+ a所以
4 f, }" }  z- ~2 N; y+ Z- Y适合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的二级域名。
# E: _  U2 ~5 M% t' }$ J: ^打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。1 }5 {. M' \5 H% R: p9 C/ M/ Q  Y3 o. t
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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