分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0, x+ ~4 {* }# B3 H9 [: w

2 Z4 O3 P/ J: d- n  j
  1. [PHP]/ q" O1 u& B$ X" {7 e

  2. $ @% J  o4 ~4 z8 i2 i
  3. ;;;;;;;;;;;;;;;;;;;" H: y6 q4 ^. g: N6 Y
  4. ; About php.ini   ;
    ) n+ e2 r$ A9 l$ S7 w/ S
  5. ;;;;;;;;;;;;;;;;;;;' w8 E, y: R. a; y' O9 N& n
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 l: B8 w* n: U! t) Z0 S7 P# |% w
  7. ; configuring many of the aspects of PHP's behavior.6 N6 t% j- ]! z) f8 ?$ r

  8. " P) Q  c) j1 m: _" ^
  9. ; PHP attempts to find and load this configuration from a number of locations.$ i* n: M8 {7 T( j6 r  q
  10. ; The following is a summary of its search order:* n- A, R& w2 H; B4 Z, n' n5 C4 V
  11. ; 1. SAPI module specific location.
    * G- v) ?: N+ q0 w4 g" D" i
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): ?5 \2 P: |- H* f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)  V  x7 m! z3 L# D5 L
  14. ; 4. Current working directory (except CLI)
    0 v1 Y, {, o6 `* m. ^: K1 p" T4 a# j
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ' a4 t" G& @. i3 L, _6 a* D
  16. ; (otherwise in Windows)4 q& l/ O% n; {% N0 _2 m9 s
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 E3 D. ~. g& j5 B
  18. ; Windows directory (C:\windows or C:\winnt)
    9 W- }" |1 k7 C& |  Z) b% d' Y+ W9 h
  19. ; See the PHP docs for more specific information.6 n/ r& T2 e& c) q- p% C4 k7 [
  20. ; http://php.net/configuration.file
    5 R' v6 _3 w+ H! o, H1 o" L* h
  21. : j+ t! k& e% N0 U3 @% m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines2 ^2 _$ D# X# R3 V1 n
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    . ^# U5 k# j5 q0 Z& |3 `
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( w7 @7 o6 R6 t, t3 f# o5 ?- u: g
  25. ; they might mean something in the future.; [0 T1 }" O; d5 Q( b8 \9 y
  26. , l# P+ C. ?! G8 `1 j5 y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    : Z6 X4 L* M" [! J2 N3 r3 R
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    % r+ p4 V9 s, `+ w: `( L: C1 }
  29. ; following the section heading [HOST=www.example.com] only apply to
    . [3 b+ [/ Q( l$ f! j$ l
  30. ; PHP files served from www.example.com.  Directives set in these0 n5 {9 H# E( ^' ~  Z# k! i
  31. ; special sections cannot be overridden by user-defined INI files or/ Q- N+ v, [$ H# `: I% G# A, G0 P
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under' H; ~' }" g2 e8 b6 c4 S
  33. ; CGI/FastCGI.
    % [4 g  J' K0 b8 I
  34. ; http://php.net/ini.sections
    4 _' p: l) }# r7 S& C
  35. 0 Y" B3 M" z% l/ W! `( _2 F% p$ C
  36. ; Directives are specified using the following syntax:
    1 T) Q) r' C. C( V4 ?( l
  37. ; directive = value
      N- h$ ?3 a7 l# c8 \7 |) w
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 W4 [, y4 W6 ~; _* X0 ?9 W
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : d4 C- |) o, R2 \+ D
  40. ; There is no name validation.  If PHP can't find an expected
    ; i% X. w  K! T, J0 j
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ) S% ^. _* x6 t! i& o: q4 z- a
  42. ( W( h; i7 P  ^6 U- n1 k) R
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one/ i* W: V- G& Z: M6 \0 D" F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* ]' {, V- _7 a% _+ M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    + @4 l' }3 w5 ~8 [) S5 P
  46. ; previously set variable or directive (e.g. ${foo}), J. d5 F. M# J" v" w9 K

  47. 5 b% N/ d: m# I( M# y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:5 b4 Y1 E+ i9 u/ s: E
  49. ; |  bitwise OR
    - @7 k2 S4 X1 w
  50. ; ^  bitwise XOR
    % B! k4 j9 S8 v4 F" W1 h
  51. ; &  bitwise AND
    , t! j3 D9 g4 M( B3 y
  52. ; ~  bitwise NOT) F/ ]& t3 V  h/ p8 j7 u. ?' y
  53. ; !  boolean NOT! b9 `5 @2 R# M4 ]4 R

  54. 0 ^5 T; _  ]$ C; p  Q6 C! h
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.0 H# [& \) N" ?7 _* @
  56. ; They can be turned off using the values 0, Off, False or No.. S/ W, z5 @* Y* B# K4 y& L0 f/ h8 k* {

  57. ( S! r7 Q# I$ y. E4 `( \% \$ @
  58. ; An empty string can be denoted by simply not writing anything after the equal
    5 v5 a, T4 j& R$ @9 p+ A
  59. ; sign, or by using the None keyword:  t4 E  z/ e: H* ?1 M2 ~* S( E

  60.   ^% P5 {% _9 n; V6 Q0 o" k. q/ l+ J7 C
  61. ;  foo =         ; sets foo to an empty string4 g- J  K  D1 d8 r
  62. ;  foo = None    ; sets foo to an empty string$ P+ ]8 ~6 B2 b) ~; C
  63. ;  foo = "None"  ; sets foo to the string 'None'
    5 Q: U0 y6 ]: U+ e* S% V" {

  64. + `) Y9 w2 h% c, V6 ^  M6 m' ^' R
  65. ; If you use constants in your value, and these constants belong to a" q% V5 ?% N  |# n8 i+ E/ ^
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    $ o; b6 I) X3 z4 P+ g
  67. ; you may only use these constants *after* the line that loads the extension.6 W6 w  |3 P0 J3 |9 V) X( R

  68.   K% O. w' i6 n/ t  f
  69. ;;;;;;;;;;;;;;;;;;;$ S8 r1 _" W! e
  70. ; About this file ;, c& |. x8 `' p$ q* \
  71. ;;;;;;;;;;;;;;;;;;;
    7 T2 u' W/ Y- D0 p' X
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    0 m5 h4 C7 g3 `& Y% U
  73. ; in production environments and one that is recommended to be used in  v9 y8 k' h6 [' A+ L
  74. ; development environments.$ d0 Z0 L2 T' q4 c% F7 P; a

  75. 4 \. H2 d! J; Q- L! O
  76. ; php.ini-production contains settings which hold security, performance and
    6 e1 L* y+ |; u1 q
  77. ; best practices at its core. But please be aware, these settings may break
    & g4 E# I$ q2 I7 ~# n  _
  78. ; compatibility with older or less security conscience applications. We' m$ q+ K0 ~" H0 P( n) |) \
  79. ; recommending using the production ini in production and testing environments.- p* ~7 @! T' N! O; r
  80. ' D2 ^; R7 v* J1 ^* y. n$ s3 Y& a# C- ]
  81. ; php.ini-development is very similar to its production variant, except it is" P' b# z9 _" N7 k) i3 A
  82. ; much more verbose when it comes to errors. We recommend using the( |, K! o( C6 Y& _5 p- s
  83. ; development version only in development environments, as errors shown to
    5 {; @# j) u' [  i
  84. ; application users can inadvertently leak otherwise secure information.
    : H- J3 O" L- C; j

  85. + l! B) [6 M, W. r+ S3 b
  86. ; This is php.ini-production INI file.
    . H- X* E5 f7 a+ t2 m+ `9 `4 M

  87. * W2 W) N( G( @3 x& F: j
  88. ;;;;;;;;;;;;;;;;;;;& w1 J6 `# {3 c! \" @9 b
  89. ; Quick Reference ;5 ?7 X& r( I! F& z  F3 R, X
  90. ;;;;;;;;;;;;;;;;;;;' M7 V2 E9 b# D  t3 m
  91. ; The following are all the settings which are different in either the production) g. i3 s% r* g1 k5 c, ]- H
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 i" ]* C2 U3 E: i- ^" Z6 ?* e
  93. ; Please see the actual settings later in the document for more details as to why, ^- q9 W9 u0 }4 P+ c
  94. ; we recommend these changes in PHP's behavior.7 y9 J0 S$ n* w' {
  95. / r: z! G) n( F6 Q) U, d1 ]
  96. ; display_errors
    0 Y0 D7 @0 A$ q# f3 ]' q6 |
  97. ;   Default Value: On
    # {$ U' i" M/ D4 D% L
  98. ;   Development Value: On) @/ v1 I" j3 D- [3 x/ G! B! w) g
  99. ;   Production Value: Off: ~2 y; y" x3 L# {( f* Y- d! ?
  100. ) v- J2 c  t: v/ V; `$ F: @5 T
  101. ; display_startup_errors
      g3 R/ B8 ]" |
  102. ;   Default Value: Off
    # H2 u/ k. z5 }+ e, u: I
  103. ;   Development Value: On
      Z/ G9 F" \5 T/ h
  104. ;   Production Value: Off
    " h" W/ s! T" v5 z# c3 R
  105.   _' }/ X: i% C3 W! X- k4 R' n
  106. ; error_reporting
    ) D* ~* K6 `# B2 u: G
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 G- _- _& `$ H* ]1 U/ T, ]
  108. ;   Development Value: E_ALL
    9 U3 L) ]& M( ^
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # \! F3 p) T" Q  B6 d
  110. , c2 }+ n2 B! x. U# J& b+ k
  111. ; html_errors& y5 d8 {' Q" e6 h# x' o
  112. ;   Default Value: On& v* A6 F2 W8 h- k/ z
  113. ;   Development Value: On9 b. Z- l7 Y. H7 y% x6 ^3 |
  114. ;   Production value: On
    . w' I6 @3 r5 [9 t. t  s: _
  115. % W4 N. T$ m% f6 _- i, _$ h4 q# b
  116. ; log_errors
    ) _2 w6 X; {1 z, s- ?' p
  117. ;   Default Value: Off3 g% |# |9 {- Z+ e( l
  118. ;   Development Value: On  L3 a3 `) S+ H8 c8 r! M. b7 i4 u
  119. ;   Production Value: On
    ' L# m" i0 X- }0 h! p! }

  120. $ c, Q* {' H7 k- j7 p
  121. ; max_input_time
    4 o' C9 k( U! `7 `2 [5 y4 y
  122. ;   Default Value: -1 (Unlimited)
    / i/ r' ~, ?/ x
  123. ;   Development Value: 60 (60 seconds)
    " L* C8 {$ P9 I+ A
  124. ;   Production Value: 60 (60 seconds)
    : m0 r% |, `: U! w; `4 M
  125. 0 D4 ]+ l; Z9 `3 u7 {. P1 ~
  126. ; output_buffering
    6 M- ^& A; o& R/ ?
  127. ;   Default Value: Off8 {" s; J4 X9 k7 X. U  C' s
  128. ;   Development Value: 4096! Q: j. l  f. F) C% r' ]
  129. ;   Production Value: 40961 M5 M7 G' w& G# x2 ^
  130. % B3 s/ H/ V4 y/ R6 ~: V$ e* I
  131. ; register_argc_argv
    : Q9 \, u8 ~  ?5 g; J1 H
  132. ;   Default Value: On- P2 v3 [* ~+ z+ e4 q0 N
  133. ;   Development Value: Off
    $ k1 r7 l2 o: S: t. i$ m( y4 ^& l
  134. ;   Production Value: Off
    8 k+ P) ~% S+ d0 G' t- t- S5 y

  135. 7 c2 Z! u. P- b# z. [, f
  136. ; request_order- E9 J# T7 J  a! _# Q
  137. ;   Default Value: None1 I6 I- g' t9 {/ v8 T
  138. ;   Development Value: "GP"8 V7 G- F/ _& n3 I# ~4 C' i7 G. d, f
  139. ;   Production Value: "GP"
    $ s+ O+ K3 ]8 r! n" G- d# `

  140. , k5 u2 R$ d; k) ]' X/ V7 F
  141. ; session.gc_divisor
    * m) H. t. M- W/ F# L! d3 b2 o
  142. ;   Default Value: 100
    ( C: M% D- q2 m/ W- v: w( {
  143. ;   Development Value: 1000
    - T% K+ j2 O# `8 @1 ~3 I
  144. ;   Production Value: 1000
    4 T5 I, n1 {: ^  i+ i8 d
  145. 9 A  d  w" _# Q
  146. ; session.hash_bits_per_character. X, U: G; m; B" H- G6 B
  147. ;   Default Value: 4( `( G4 O* Z$ ]9 \. z& V2 m6 ]
  148. ;   Development Value: 5
    2 K' o( A/ l; t  c9 {+ T
  149. ;   Production Value: 5
    3 e) o( J7 L- x

  150. 1 Q/ N% c/ U8 D6 `3 ^/ A
  151. ; short_open_tag! q# o$ [8 v5 Y* n0 a0 {8 ~
  152. ;   Default Value: On
    - I9 A# k2 W1 h" y* C+ B
  153. ;   Development Value: Off1 ^+ p( @8 U! l8 W) `! s
  154. ;   Production Value: Off8 w6 `* U4 C2 R" g5 `! F

  155. 1 j( [0 Q2 y0 N2 |
  156. ; track_errors
    7 `' d( u( r- \: f1 D# y1 n
  157. ;   Default Value: Off
    0 b  `& V' B( t( S: F$ C
  158. ;   Development Value: On
    - l+ Z" g: |6 V- A
  159. ;   Production Value: Off
    / ?6 D5 e1 N/ B

  160. 2 O( W8 ~% j* m5 g: ^
  161. ; url_rewriter.tags$ q. O+ u7 T6 ~% K# d% p7 T) u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + j( _" g. R: ~% |3 M9 T: Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- M3 c0 J. M$ L2 }; a$ c5 j9 X$ S
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - g$ c' y" j  w4 t" @& E2 ^

  165. * ]1 B. n6 [. m+ n+ ~4 r% H- ^4 U2 B
  166. ; variables_order, C# L5 H  l/ V, _1 D
  167. ;   Default Value: "EGPCS"5 o7 ]4 G3 p# s3 i* J
  168. ;   Development Value: "GPCS"
    * O& K" Z3 m/ n2 U, N  n  D
  169. ;   Production Value: "GPCS"$ I' o$ N! Q  x

  170. / h0 @2 F& p7 R3 L( a
  171. ;;;;;;;;;;;;;;;;;;;;  f" ^$ v! }/ [7 m' h3 o) p, \
  172. ; php.ini Options  ;; F) i; A$ A  A& W1 t3 Z4 X
  173. ;;;;;;;;;;;;;;;;;;;;
    / t/ H+ z3 p% ]4 y# q! Q/ z3 a
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    8 c( b5 o) L! f
  175. ;user_ini.filename = ".user.ini"9 B, t* N* q/ l  u4 E, s3 j& R
  176. 3 x+ B2 r! p% H$ {6 L8 m" W' Y5 ]5 z
  177. ; To disable this feature set this option to empty value" i' }# T" x. v- L9 T
  178. ;user_ini.filename =
    : j: Q2 I$ u8 L9 B, [
  179. $ \% D* g3 q6 e8 S
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! t% Z9 E3 ]! q3 s4 h" S$ Y
  181. ;user_ini.cache_ttl = 300
    ( a0 Q6 L2 U, b& b

  182. " e: F1 _, H2 h! v% A
  183. ;;;;;;;;;;;;;;;;;;;;
    ( h% O0 j3 N) c1 k3 B
  184. ; Language Options ;
      G8 Y5 J7 u  L' R. ?. Z5 B
  185. ;;;;;;;;;;;;;;;;;;;;( Z* \- n0 u7 n

  186. : |- F( C# u/ c9 {8 e  r% u5 W
  187. ; Enable the PHP scripting language engine under Apache., |% b5 f: u! ~, q0 \8 C
  188. ; http://php.net/engine
    + R" o. b* ~* [, t% \9 R
  189. engine = On( q, E/ V+ W2 j7 W6 u! H( s

  190. 0 T% _( s$ o8 i
  191. ; This directive determines whether or not PHP will recognize code between
    5 ?& `+ R! F6 O* K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    & w3 Y  `) B7 b) B1 l7 G3 a
  193. ; generally recommended that <?php and ?> should be used and that this feature
    + N. x0 [6 B; C' D; q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 b8 f! G: E+ D" w. [4 l$ ~
  195. ; documents, however this remains supported for backward compatibility reasons.3 l5 n( ?. B6 f$ F% x+ k) ?) w
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    4 F9 C- k: t. d, m: h  Q4 Y, t& E
  197. ; used regardless of this directive.
    ) n3 c% z- G6 K! @; p/ f# z1 A
  198. ; Default Value: On
    6 c) m, X' y" b0 v8 V' D+ U5 z; ?0 H
  199. ; Development Value: Off
    0 E. f& d& x7 \5 O& I, V
  200. ; Production Value: Off, m7 }$ z! a/ ?/ \4 N% U
  201. ; http://php.net/short-open-tag+ G0 U% R, h: |2 g
  202. short_open_tag = On" ^5 Q5 U: i5 v

  203. 3 q: L" }: j! i+ w9 m* d0 r
  204. ; The number of significant digits displayed in floating point numbers.4 w% b0 G3 g3 K+ V
  205. ; http://php.net/precision
    9 H5 X# r% T( ]- f/ a! U2 }' ?
  206. precision = 14  `3 E" a8 l3 n: o3 b3 }
  207. + Q# \& U" H8 {8 S0 p2 i- n% @) n
  208. ; Output buffering is a mechanism for controlling how much output data- g7 f. |/ v' O) y: g5 Z6 J
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    " h# J% k" C6 N
  210. ; data to the client. If your application's output exceeds this setting, PHP! R( U: E! `4 o" O
  211. ; will send that data in chunks of roughly the size you specify.
    ! P9 \# c" a2 |0 l
  212. ; Turning on this setting and managing its maximum buffer size can yield some
      ]# g: m* ^! o0 B. X6 L8 \
  213. ; interesting side-effects depending on your application and web server.
    7 y# i7 D! m: Y, c$ x  D
  214. ; You may be able to send headers and cookies after you've already sent output+ W; l! z7 T% z7 f$ c
  215. ; through print or echo. You also may see performance benefits if your server is+ H2 P9 y5 n! J8 U8 r- y1 [
  216. ; emitting less packets due to buffered output versus PHP streaming the output5 h0 O/ ?1 Z$ R& @) z( O& ]* u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    : J) w  w1 Y' O% @) p+ G
  218. ; reasons.
    3 W+ X  k  s& B% R2 _
  219. ; Note: Output buffering can also be controlled via Output Buffering Control1 A( N8 @! K+ l; @8 r; l7 U3 [
  220. ;   functions.
    # p+ N8 O7 J& P$ @& J- M* g
  221. ; Possible Values:- |5 Z+ W/ T- f
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; e( N) _+ v+ h$ b
  223. ;   Off = Disabled: `9 |' ~! q8 ~$ k3 b
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , [7 E0 |; K9 o: u' ~! z1 H' {1 \
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI0 s* |$ V/ k: a
  226. ; Default Value: Off
    7 [8 E  F; c( N$ x+ \
  227. ; Development Value: 4096
      o4 h. A! b! u  d; }! H5 D* |
  228. ; Production Value: 4096
    - [3 x0 F4 Y1 _2 t  E) r# K6 a
  229. ; http://php.net/output-buffering
    5 g# K) l8 s! Z" ?" F! ^/ ?
  230. output_buffering = 4096
    - v5 ~% P9 g5 q# E/ z

  231. : E8 D# x3 Y  a8 u5 [- l
  232. ; You can redirect all of the output of your scripts to a function.  For
    0 o+ g+ h1 h  T( A* h
  233. ; example, if you set output_handler to "mb_output_handler", character
    & l- i' C+ b1 [' h& r
  234. ; encoding will be transparently converted to the specified encoding.- d9 F3 S9 c" G$ f  x1 ?% Q
  235. ; Setting any output handler automatically turns on output buffering.% I1 E7 r3 V0 D5 S
  236. ; Note: People who wrote portable scripts should not depend on this ini+ w' d3 n! L# X" {: i5 g
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    # a$ {/ F0 H$ `* K" u$ K/ T# r
  238. ;   Using this ini directive may cause problems unless you know what script8 V( }4 ]! Q/ V$ h1 X6 c4 y
  239. ;   is doing.
    9 ~1 w0 V1 ]& |8 ^0 P) F$ L
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"1 w3 J; U; G6 b  w+ |
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    0 ~; a, I+ N6 k
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 W. J; V, u5 |
  243. ;   Instead you must use zlib.output_handler.
    ( K& g8 R6 @' d3 A9 J
  244. ; http://php.net/output-handler
      {0 E+ M/ U6 m5 @4 ?
  245. ;output_handler =
    : O" k' Y8 I8 {7 s! \
  246. & ]: F1 C6 b9 N3 \
  247. ; Transparent output compression using the zlib library$ e9 H! `' g+ R& ~
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % l: X! J* I1 [$ o& y7 |
  249. ; to be used for compression (default is 4KB). t( p" v& P+ M7 b
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP, p9 v; j9 J1 ]9 j  m
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ' ^% J7 c0 J1 S$ r6 C
  252. ;   compression. If you prefer a larger chunk size for better& \; P+ O7 j6 e
  253. ;   performance, enable output_buffering in addition.
    2 ?$ v9 L7 N$ `7 _5 X4 m* q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    1 b( p, J2 D- [! g- w
  255. ;   output_handler, or otherwise the output will be corrupted.7 V5 ]9 G$ t+ d7 a& M
  256. ; http://php.net/zlib.output-compression
    8 _! u3 n3 z0 t& q
  257. zlib.output_compression = Off
    4 N& Z3 O' W' L2 b8 l8 W# z$ ?

  258. 8 Y: V2 Y: y$ S; ]; ]8 D3 l
  259. ; http://php.net/zlib.output-compression-level
    : Q, E: v( [+ U0 T4 r2 B% s3 h. s
  260. ;zlib.output_compression_level = -17 S, b; a- S$ I, A& B! {5 }* g# N' W( I7 W
  261. : @8 @: p8 D3 e
  262. ; You cannot specify additional output handlers if zlib.output_compression, _% Y) z7 S3 A8 _+ b4 Q/ ?2 P: _) H
  263. ; is activated here. This setting does the same as output_handler but in% I) x; d2 l1 l9 E1 v) x* ?. [
  264. ; a different order.
    ) e" x# L  w9 c
  265. ; http://php.net/zlib.output-handler3 w; S( ~; L2 G3 x
  266. ;zlib.output_handler =2 E6 k3 E  b1 J' M4 |0 ]

  267. ; ^1 m3 f! m  ?4 |5 P
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 k/ G  _; M  {9 G7 F; ^; \
  269. ; automatically after every output block.  This is equivalent to calling the& M7 [/ P/ N9 Y4 M
  270. ; PHP function flush() after each and every call to print() or echo() and each
    - @; x% g, }; H* p8 o) M
  271. ; and every HTML block.  Turning this option on has serious performance3 ]  m# J$ F( r- m4 P& m' B4 e
  272. ; implications and is generally recommended for debugging purposes only.
    % b. R5 Q( z; C3 l( o# [
  273. ; http://php.net/implicit-flush) o' v. D9 d3 N: u! p
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    & {- I7 N: B. ?( T
  275. implicit_flush = Off+ Z: d8 e1 A" z) ]

  276. # d2 X$ Z3 n( P- g# c; g
  277. ; The unserialize callback function will be called (with the undefined class'  G7 \( q0 D6 F+ c1 _
  278. ; name as parameter), if the unserializer finds an undefined class0 p; A7 B7 D# ~4 N  J
  279. ; which should be instantiated. A warning appears if the specified function is
    / O) H: `3 u: `0 }% N" d
  280. ; not defined, or if the function doesn't include/implement the missing class.
    , E5 j& U- D. n- |6 E* R  M
  281. ; So only set this entry, if you really want to implement such a8 ]8 I) T7 Q: n
  282. ; callback-function.
    7 t2 q6 C1 y! C, U, _" p3 R- \  a, I
  283. unserialize_callback_func =% Q+ Z1 m2 J8 L& S/ X

  284. 2 k. ~3 v7 ]' i' g3 q0 E! a( i
  285. ; When floats & doubles are serialized store serialize_precision significant1 |" {. Y) I5 S1 H
  286. ; digits after the floating point. The default value ensures that when floats* G# q, `4 U% [' ]) }* }& T' B+ ?
  287. ; are decoded with unserialize, the data will remain the same.
    : h5 R5 O) @8 S2 r/ L% q
  288. serialize_precision = 17
    4 c, r0 l: s, Z1 H" g/ _! t

  289. 4 [4 a+ p8 U' m2 N8 k
  290. ; open_basedir, if set, limits all file operations to the defined directory- ^" e9 G- P/ t) o# I
  291. ; and below.  This directive makes most sense if used in a per-directory
    , M. `6 p) U& s8 y# Q$ R$ O
  292. ; or per-virtualhost web server configuration file.
    " D) k( d! l" b4 S4 {  B- ~
  293. ; http://php.net/open-basedir+ Y; F: H" q  I4 ~' E' v
  294. ;open_basedir =
    5 _0 l! r: M8 g; [9 n2 Z+ f+ K
  295. ) Z- i0 d9 Z4 F
  296. ; This directive allows you to disable certain functions for security reasons.0 s4 c, {1 U) e
  297. ; It receives a comma-delimited list of function names.
    - a* A4 m/ R: K/ Q3 S" Z
  298. ; http://php.net/disable-functions( t8 j+ x$ K& a' d; K! L
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    , a) G6 x8 _4 Q1 L! j4 O
  300. / R% |. J$ k) h7 o9 W
  301. ; This directive allows you to disable certain classes for security reasons.
    ) S1 b7 M# Z# x
  302. ; It receives a comma-delimited list of class names.
    1 ]5 V& F/ e6 @* m* G! I! V: H
  303. ; http://php.net/disable-classes
    7 W  K& Q  t7 Y( `2 O
  304. disable_classes =. f8 s0 n$ K  w$ _1 j/ Y' U
  305. ) P* N" z- m% M8 [, y  e
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    : b$ I2 f- P; H, r# f2 u2 w
  307. ; <span style="color: ???????"> would work.
    7 K; ~4 o$ \5 ?( r  k: @
  308. ; http://php.net/syntax-highlighting6 S6 m: u. N! d7 L" f" n
  309. ;highlight.string  = #DD00009 P. i4 U2 z+ o7 P
  310. ;highlight.comment = #FF99007 U8 M( e2 E1 l8 \5 w* [! w- [
  311. ;highlight.keyword = #007700* N' Y1 G- S/ Y  y( O/ X$ F
  312. ;highlight.default = #0000BB
    " o& E& o  H4 u- O5 k- |/ l8 F
  313. ;highlight.html    = #000000
    ; W  K! p% v9 [0 B

  314.   }6 C1 y/ G$ E, M8 I# f7 G4 P2 A
  315. ; If enabled, the request will be allowed to complete even if the user aborts1 {: H) P# H: i# T2 F3 w; C
  316. ; the request. Consider enabling it if executing long requests, which may end up
    0 G* y+ t4 w: L* o. U- ?8 O& M
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior8 R- W9 \3 b* z2 `  S& P* {3 D
  318. ; is to disable this feature.' f# g/ m2 h" A; o. l4 e
  319. ; http://php.net/ignore-user-abort
    . R/ K: }# H  {
  320. ;ignore_user_abort = On
    ; D# y: M7 e7 l/ t3 E; k4 m+ J

  321. / d6 B$ e: M% A+ x  W+ F( D4 V
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    0 `  X: }, m* L- p* _8 f: l2 I3 c" A  u
  323. ; be increased on systems where PHP opens many files to reflect the quantity of" ~! l# d$ b# m! u- v5 x9 a) @
  324. ; the file operations performed.
    - F1 T, r5 I  u+ B2 I
  325. ; http://php.net/realpath-cache-size
    2 N0 I7 @+ M) [/ q0 g9 [
  326. ;realpath_cache_size = 4096k, ^( `/ a- C; b

  327. ) X' l7 y$ j1 D% f
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    - s+ B! y. Q; f- `# {; C, Q9 V. B; E
  329. ; file or directory. For systems with rarely changing files, consider increasing this$ B! C8 x* ^) M' ~0 j' u8 o; z' N
  330. ; value.
    " M# z& N' J8 q
  331. ; http://php.net/realpath-cache-ttl
    8 ~6 V0 u3 g2 [9 Z' f( i" \
  332. ;realpath_cache_ttl = 120
    2 L4 T) x' f: z9 r' U. T
  333. ' u$ k, `! B+ s2 ~/ U
  334. ; Enables or disables the circular reference collector.% |& \! s$ m5 H& I7 F
  335. ; http://php.net/zend.enable-gc* r0 N3 k' t3 R/ b2 i* {
  336. zend.enable_gc = On& P1 h6 G3 t3 d3 f+ J# x. C2 Y
  337.   d6 a8 _1 ?1 T4 h; S. i! B. \
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    3 E  G1 z& Z; k$ m
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    - q+ J# {0 H% u7 D! S! o
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    * r  o6 |( f+ l% w' S, v
  341. ; Default: Off
    3 ]" K4 `: ]/ N9 Y2 E6 f  |
  342. ;zend.multibyte = Off5 @$ S' X, Y) ^7 P& M$ x

  343. 3 L, W) W$ K& e( A4 H- G
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    & x/ ^6 a: U4 E; Y- f3 U; y6 s
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 @& `( y; T  ]+ ^& p
  346. ; Only affects if zend.multibyte is set.+ c9 t2 V( ?; s/ S1 K/ ^  d
  347. ; Default: ""- W( p' d; A0 u/ e6 A; Z! E& h
  348. ;zend.script_encoding =. {4 U5 N9 t  o* Z# [

  349. 0 u& W* O8 B0 z8 {" u
  350. ;;;;;;;;;;;;;;;;;" ~- V: s' r8 f  @% L, }
  351. ; Miscellaneous ;* x. Z0 m8 t! C8 p- _5 U, o8 Z
  352. ;;;;;;;;;;;;;;;;;
    ; q9 j( j0 c2 V# X

  353. 8 V, J1 v. j% R: }+ }. Y! Y5 x; E/ B
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    # F0 l* a0 T0 T
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ; l6 Z& k. I# d8 ~0 {  V
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 s  g4 N9 p3 N" q0 l/ j% j$ @! }
  357. ; on your server or not.
    1 r: u' X2 Q- e- Y" w' `4 r' [
  358. ; http://php.net/expose-php; m7 K% C8 r8 I; Y5 J. x. ]% ^3 V
  359. expose_php = On
    6 P& n' }, P0 Y
  360. 4 p' ^+ v; ?* [# A2 C& D, L* D
  361. ;;;;;;;;;;;;;;;;;;;- {0 J; p+ @) ^7 ?: G5 L9 u
  362. ; Resource Limits ;* g. w5 a; _. I1 A/ ]
  363. ;;;;;;;;;;;;;;;;;;;
    0 Q% v& ^4 X8 M
  364. 4 l# w4 z% d5 d: y) B$ \: ]+ m
  365. ; Maximum execution time of each script, in seconds* [; Q  _  s- Y0 k: [" B
  366. ; http://php.net/max-execution-time
    0 _( M5 N; C* z# G
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI; `, M& @7 A5 B3 ], I
  368. max_execution_time = 3009 _( S# I# {( j* a" C' R
  369. / b2 h$ E/ c1 A5 R% R! X$ l7 }! H- x
  370. ; Maximum amount of time each script may spend parsing request data. It's a good, u2 F+ g5 ~  n; \
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 d$ }: U. w& [& Y
  372. ; long running scripts.: }/ e" c- t+ T9 S
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    / T5 k7 |9 }; p5 w3 P: `& Y& \
  374. ; Default Value: -1 (Unlimited)
    ( t. X8 t# p" y5 ]4 f3 [
  375. ; Development Value: 60 (60 seconds)" [: @  S: o' R% W+ J; e
  376. ; Production Value: 60 (60 seconds)+ H  U7 h% G' }# t
  377. ; http://php.net/max-input-time
    0 H1 m* e+ J7 y3 Y, L) Y
  378. max_input_time = 60, _" R( M  p6 J) z

  379. # f+ ?7 W  Q0 T& Z2 Y9 r! U
  380. ; Maximum input variable nesting level: B3 e0 O7 A. p
  381. ; http://php.net/max-input-nesting-level: ^( a3 C6 ?- u3 z- [; J0 [: w
  382. ;max_input_nesting_level = 64
    3 q' V! d  v8 Q2 p

  383. 2 u' |6 E# _) |% `4 d% M* q+ Y) a$ }
  384. ; How many GET/POST/COOKIE input variables may be accepted
    . ^! [6 a( Q- F- o
  385. ; max_input_vars = 1000# {1 G4 ^; j3 M) ^
  386. ! ]- S: r( t- ^; Q1 \2 J8 h
  387. ; Maximum amount of memory a script may consume (128MB)
    : n6 x' o9 C; d" n% b
  388. ; http://php.net/memory-limit) ?2 ]& R* f* ?' z
  389. memory_limit = 128M3 y! y" {8 C5 d

  390. 7 \1 c5 X( R' i
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 H1 u6 W$ m& B) y
  392. ; Error handling and logging ;* E2 d  S6 `& K5 d5 F* t, J2 \
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ Z! ?- z4 a" V- V; A& o
  394. 7 M  l8 p) Y" j& D6 M- z4 g
  395. ; This directive informs PHP of which errors, warnings and notices you would like. u; f) _/ v* V3 T
  396. ; it to take action for. The recommended way of setting values for this; n. L6 R6 G% X5 C% N* g
  397. ; directive is through the use of the error level constants and bitwise5 {' J( H9 f* v, N0 P) a0 |
  398. ; operators. The error level constants are below here for convenience as well as, ]# k- w% a4 }, C; V- `+ R; O
  399. ; some common settings and their meanings./ G8 `4 v$ o/ d4 o0 E
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; Z$ M$ n9 ?. g
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    0 @" }6 N/ q7 @" W4 G/ H& w! E
  402. ; recommended coding standards in PHP. For performance reasons, this is the0 m+ j' }9 v- J; V. I1 m7 u$ w
  403. ; recommend error reporting setting. Your production server shouldn't be wasting& w2 K- s6 Q. l- z
  404. ; resources complaining about best practices and coding standards. That's what! n/ U$ e+ r3 X6 A& \7 ~# h( b6 \
  405. ; development servers and development settings are for.8 [0 W- v) h+ t+ q( h. ]
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    % G, c7 Z0 q% w- S
  407. ; means it pretty much reports everything which is exactly what you want during5 \2 R' @" Y" _
  408. ; development and early testing.4 _3 v  }4 {9 C/ r
  409. ;
    7 |  Z9 @5 P2 {( Q* ]
  410. ; Error Level Constants:; K. ~# T9 L' |7 H
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    1 k# G" @7 H1 P2 T
  412. ; E_ERROR           - fatal run-time errors
    # J3 o: k5 K0 [$ Z5 H6 a5 ^
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors7 T; x- z* Y+ x; |8 s
  414. ; E_WARNING         - run-time warnings (non-fatal errors): u5 E7 U1 h  @
  415. ; E_PARSE           - compile-time parse errors! g$ F) O. f" R! S
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 z. m* v4 j) L1 ]; W& B
  417. ;                     from a bug in your code, but it's possible that it was* J" ~$ w9 _4 A# b
  418. ;                     intentional (e.g., using an uninitialized variable and: T8 e$ i, p" t9 k% z
  419. ;                     relying on the fact it is automatically initialized to an- c9 T3 `  J' ], K9 H& U
  420. ;                     empty string)
    : n; @3 B  J! K! \/ U) g
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* ?: d. z, r+ _/ z5 S7 n* `2 ~
  422. ;                     to your code which will ensure the best interoperability
    , X4 u0 H# k) O8 v7 w3 i- J
  423. ;                     and forward compatibility of your code( t6 ]* f! f/ o
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 P9 k. E( b  A8 x2 b6 n
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % L$ t& u1 [% B+ A  n5 M' i
  426. ;                     initial startup
    1 n3 C, |" T& t9 O% `
  427. ; E_COMPILE_ERROR   - fatal compile-time errors: \* U% f' ^& j- O% {9 N
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 h1 Q1 M1 r0 _/ E! G( a
  429. ; E_USER_ERROR      - user-generated error message
    3 A, [- A9 q: s( x2 b3 G# |
  430. ; E_USER_WARNING    - user-generated warning message
    ) F5 _7 s1 o% L
  431. ; E_USER_NOTICE     - user-generated notice message
    , @# K- l! [% D' ^1 p4 m
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ) _; s7 A3 \" B- H# [. ?1 ?$ `3 T
  433. ;                     of PHP% L1 @) b9 D6 S7 Z! t
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings5 N7 ~1 Y2 X# ~! v  a! H. C- k# r+ l
  435. ;6 m5 ?* i5 o, w
  436. ; Common Values:
    9 C$ c" S" d; |0 m, e$ t; Z% U  H
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 D+ i9 z6 n; _5 @; w2 }7 @- ^
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # ?% T  C8 x2 c- r  F. x+ X+ X+ X; u
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) q9 h) \9 O' x0 A0 m) Z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)" @  g' _. O# C, A( p3 R
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ c  p3 m( G3 r5 K' U- m) O, S
  442. ; Development Value: E_ALL
    0 m" D! D& i2 m0 ?) H
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' \) o* y5 T0 ^( [
  444. ; http://php.net/error-reporting
    : J" r6 E2 g# b# _3 D) O) P
  445. error_reporting = E_ALL & ~E_NOTICE3 E- j( e1 Q+ `- m) X3 H8 n* Y
  446. $ r/ d8 N- G7 u2 ~
  447. ; This directive controls whether or not and where PHP will output errors,
    3 J8 ^/ [% ^: l  E, k: {7 _5 r" e
  448. ; notices and warnings too. Error output is very useful during development, but
    - t! R, d: f, N# k) `& e* K/ q1 ]
  449. ; it could be very dangerous in production environments. Depending on the code
    7 Z, ~4 Y  G& Q3 D/ }4 s8 e
  450. ; which is triggering the error, sensitive information could potentially leak) v& |9 ?4 P+ _. s
  451. ; out of your application such as database usernames and passwords or worse.3 R6 B( e2 H3 _
  452. ; For production environments, we recommend logging errors rather than
    : M) I# n9 n1 o- Z2 O; X. I
  453. ; sending them to STDOUT.
    " [& e& y2 z$ S3 e6 ?/ J( f; @9 H
  454. ; Possible Values:$ j9 z0 Y0 p6 K  c$ i
  455. ;   Off = Do not display any errors) }9 z$ B4 E2 a& a) J3 `; D
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    8 d- q0 n/ G1 e5 x: e% n" [. s
  457. ;   On or stdout = Display errors to STDOUT8 g$ C7 ~' l9 O
  458. ; Default Value: On
    6 O' a0 ~  u0 b1 ^
  459. ; Development Value: On  y' m$ Y: ?# j2 t* q3 X5 u* a
  460. ; Production Value: Off
    % T4 Y2 R- k. g2 C" ~  b. r+ }0 R' d( ]
  461. ; http://php.net/display-errors
    3 P6 i1 w* Q' a' a. L, q
  462. display_errors = On
    * N& a8 ]' h: }/ k4 ?

  463. ! b! o0 n8 b, y& N& s, k; v
  464. ; The display of errors which occur during PHP's startup sequence are handled
    . T$ V2 u8 a6 A' [$ }' _
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    0 f4 _' U" G+ Q. l* P- s
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    , ^! N% F6 F# s) l/ p' q: g. p
  467. ; debugging configuration problems. We strongly recommend you
    2 h4 p9 g) d7 `- q
  468. ; set this to 'off' for production servers.  X+ \6 J2 r4 \1 R' Y
  469. ; Default Value: Off
    * J3 {) P. \! O9 k. O6 \; p, W
  470. ; Development Value: On
      {) y9 w4 M0 e' T# t4 R, B& T' @
  471. ; Production Value: Off
    & o' f, D: H% v3 l- J9 d
  472. ; http://php.net/display-startup-errors, A7 F4 a2 @0 b$ J- Y& a+ b& c
  473. display_startup_errors = Off
    3 x; a. L1 V: E7 e3 E/ z3 K

  474. & X4 G; P1 r/ I
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
      R. \# I2 y( U
  476. ; server-specific log, STDERR, or a location specified by the error_log! i: O5 S" D2 ^
  477. ; directive found below. While errors should not be displayed on productions
    6 S6 z" Q4 Y* q; [! i" Y, a7 j
  478. ; servers they should still be monitored and logging is a great way to do that.3 {& o$ X+ N  B+ W* ]+ y9 s. x
  479. ; Default Value: Off
    9 T- I* \5 `$ s) m8 A8 n8 A
  480. ; Development Value: On) P4 L" Q0 Q: h1 V$ i7 @
  481. ; Production Value: On& j0 U/ i! G2 R* T1 h! j* _
  482. ; http://php.net/log-errors
    ( U5 `' ^5 f% P, ~
  483. log_errors = On$ h/ J2 G+ g4 L% d

  484. 1 ~. ~0 E9 o) U+ j
  485. ; Set maximum length of log_errors. In error_log information about the source is
    7 L' [0 e0 V, d: U) H: K( x
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    8 I+ A% X9 D4 }$ A! `) v3 {
  487. ; http://php.net/log-errors-max-len
    6 B5 d! K" F6 `$ E, l. y' M- Y$ i
  488. log_errors_max_len = 1024
    7 k$ q5 \. F( Z* H) C5 Z( m
  489. : _0 m; E7 o+ K
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    0 b" B! m. n$ ?3 M4 `, F; i9 h* q3 {9 p
  491. ; line unless ignore_repeated_source is set true.
    / Z$ z  z% p4 U$ ?4 E* `5 h8 M
  492. ; http://php.net/ignore-repeated-errors, w6 p! p8 A2 T
  493. ignore_repeated_errors = Off0 j- u3 L5 y# V7 [: G! t$ [

  494. , \4 j: g5 j) O7 M; |& n+ s& o
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    % r3 d. i% n) M2 J( P) Y5 Y) h7 L8 R
  496. ; is On you will not log errors with repeated messages from different files or* l) z! m& \% W# Q/ k0 Y
  497. ; source lines.3 ^! Z& {/ ^6 g- G
  498. ; http://php.net/ignore-repeated-source  ?9 L5 [6 G- A8 D* d
  499. ignore_repeated_source = Off
    : G" C! Q# x7 p5 Z% W+ F+ ^
  500. 2 ?! X/ N* x$ o
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    2 p! x7 w! t. F' @- m  }
  502. ; stdout or in the log). This has only effect in a debug compile, and if
      M2 R, x0 g1 y
  503. ; error reporting includes E_WARNING in the allowed list; C$ |% B$ r# G0 P( L$ D& {; |
  504. ; http://php.net/report-memleaks# j4 c+ I6 A' c& Q4 ~3 z* A7 R
  505. report_memleaks = On
    0 J5 O  S7 R$ S, U+ L8 T0 B
  506. 9 ~" A4 C! F  t1 e9 M3 D; G
  507. ; This setting is on by default.
    ! R' a) _% L7 R; o
  508. ;report_zend_debug = 0! R  d1 X' X2 R
  509. ; b7 c9 k) X6 J$ U
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    . C0 H2 @6 H: E- N
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    % L+ t; n  S, R3 `0 ^4 t. I
  512. ; however be disabled on production servers.
    ; i2 ?4 m1 N% c
  513. ; Default Value: Off
    6 @% g; T0 M7 r, h; N
  514. ; Development Value: On- i& v' y9 K+ ]( r
  515. ; Production Value: Off# U. G6 _7 h5 W4 h1 T. q
  516. ; http://php.net/track-errors! d! ]4 K7 b$ t! l$ E
  517. track_errors = Off
    / S  n+ v4 C2 q6 N* G# G) K0 `
  518. 2 ]! Y7 {! E7 k3 I2 y
  519. ; Turn off normal error reporting and emit XML-RPC error XML5 b% d4 l. n  ^: m' M0 L  B
  520. ; http://php.net/xmlrpc-errors( L5 y: `3 }- C( C4 n/ [
  521. ;xmlrpc_errors = 0! G  `/ z8 @1 [& T8 L

  522. ( s" m6 r+ i& Y% m6 o
  523. ; An XML-RPC faultCode1 r6 m+ L& y0 P  i" k+ b# Z/ L
  524. ;xmlrpc_error_number = 00 R1 u+ N" H  L

  525. 9 _+ v; U' F( B4 f: ?0 j
  526. ; When PHP displays or logs an error, it has the capability of formatting the( Z7 k# v. T1 h2 D) d
  527. ; error message as HTML for easier reading. This directive controls whether$ b9 ^5 g# N( h) o% m' `: r
  528. ; the error message is formatted as HTML or not.
    0 k, j3 g- Q* j- T
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI$ F; ~/ Q% {) q1 z) I
  530. ; Default Value: On; v3 e6 K) y3 j; _: @7 q
  531. ; Development Value: On; q0 x6 r+ m: X6 D2 }' \
  532. ; Production value: On
    . a$ {- T2 f2 K  c. I
  533. ; http://php.net/html-errors' o' ~( m# I1 z' v( W$ E
  534. html_errors = On
    $ V1 B5 f3 C) n# b' M8 |

  535. 4 w1 B  l- I  J& @/ r
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP3 f# A1 h( e$ j% R$ [" Y7 f' ?/ f
  537. ; produces clickable error messages that direct to a page describing the error
    $ l2 u. g& E" r: G; {; O$ i7 K9 T
  538. ; or function causing the error in detail.- m  s4 X6 S. u4 S; s
  539. ; You can download a copy of the PHP manual from http://php.net/docs. r! y  i8 `* j6 m" r4 V4 y
  540. ; and change docref_root to the base URL of your local copy including the
    ! t2 s- s# C) b: T7 r" @+ y
  541. ; leading '/'. You must also specify the file extension being used including5 m8 n8 ~3 v; s  i( e
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which' E# M7 ?2 R# |. d2 M* `
  543. ; case no links to documentation are generated.# `$ p7 P8 G5 K( |8 `1 S" Y; U
  544. ; Note: Never use this feature for production boxes.3 A! ~& `3 C$ v$ C  u
  545. ; http://php.net/docref-root) ]0 y/ p0 f: s) e
  546. ; Examples
    ; f! C+ v* Y4 o- ~3 ~' H! w
  547. ;docref_root = "/phpmanual/"# M9 ^# F" h2 B) x
  548. 6 ]; B+ [; [9 [
  549. ; http://php.net/docref-ext/ w8 e. |* ]6 @2 g$ F' V
  550. ;docref_ext = .html$ v  p7 @6 a- Y/ U

  551. / @8 i3 W- m/ k3 m& X* o2 I
  552. ; String to output before an error message. PHP's default behavior is to leave0 R7 T4 H/ L, p5 ^
  553. ; this setting blank./ R, ~+ p7 G7 K: @8 j# K
  554. ; http://php.net/error-prepend-string3 X3 `- K  Y  h8 X
  555. ; Example:
    7 o* B, k" B  Q" U
  556. ;error_prepend_string = "<span style='color: #ff0000'>"1 F* Q3 B! X, Y' c4 V; ~

  557. 0 T+ z% K7 A* s2 ^
  558. ; String to output after an error message. PHP's default behavior is to leave
    * \. E; x9 b( O, [, _# z
  559. ; this setting blank.
    / U% Y; Y  T- m& A+ M7 d
  560. ; http://php.net/error-append-string  V4 F8 m; Q& N% ^& ]
  561. ; Example:
    ! Q, P: K6 N( K% D* z% V1 y
  562. ;error_append_string = "</span>"4 e& f5 R% b/ F, n% d
  563. % W; D% l: e/ V! [* K, z
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    " w+ n3 c- [5 [' G4 l! k
  565. ; empty.. ]6 A3 n- }6 n# \6 ]( x6 h
  566. ; http://php.net/error-log
    0 p5 t; b8 V" j
  567. ; Example:
      J- ?9 c! |& S9 e
  568. ;error_log = php_errors.log2 g( _4 O0 z7 h  l+ m: V1 R4 ?* L
  569. ; Log errors to syslog (Event Log on Windows).
    5 k7 c4 v5 f0 H5 t* f
  570. ;error_log = syslog% V- `( J: e$ i' C9 F, l

  571. 0 s- t% q( ~1 Y  G( G# ^
  572. ;windows.show_crt_warning
    3 x% t. e% T$ N4 P- @2 H) }
  573. ; Default value: 0( X" R+ g2 i1 x4 q1 v
  574. ; Development value: 0
    % f& N8 Y) D0 D
  575. ; Production value: 0% b2 q8 v- Y4 B& c6 n, K* \6 c
  576. % B' ]$ ]$ W# @: R: p
  577. ;;;;;;;;;;;;;;;;;0 r5 m8 H- ~" f- c) T: @
  578. ; Data Handling ;
    4 I" F2 E. s7 D% l, F6 i
  579. ;;;;;;;;;;;;;;;;;
    & _* J2 \; f" G! U& E
  580. ) y! _$ h, I5 s" v- {
  581. ; The separator used in PHP generated URLs to separate arguments.3 l$ H) s4 O5 c( W  }
  582. ; PHP's default setting is "&"." \: A8 @' T2 Z+ K+ M$ [2 k
  583. ; http://php.net/arg-separator.output
    3 y& n1 w: ^0 f
  584. ; Example:0 [& c( c; j9 O) E- H' ^) G$ b1 @& u
  585. ;arg_separator.output = "&"( V+ m0 X$ I1 {! @, I! F

  586. 7 {" Y* `( ?$ M% V0 g3 H
  587. ; List of separator(s) used by PHP to parse input URLs into variables.% `0 q8 g0 _0 X3 M! l
  588. ; PHP's default setting is "&".5 P8 V% Q3 H& \( Y' L; ~
  589. ; NOTE: Every character in this directive is considered as separator!+ R& d4 p- Z! [) Y0 ^
  590. ; http://php.net/arg-separator.input8 B$ p& A& O- T+ s2 `( {1 M
  591. ; Example:: @( z" i, c, M8 d
  592. ;arg_separator.input = ";&"
    ' T$ u' y; |) _8 k9 w+ J
  593. 8 C5 @7 c$ v; z
  594. ; This directive determines which super global arrays are registered when PHP
    % q- ~# `* W0 h* V8 M
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super; s* a, n5 E  `5 S3 i; ^, B/ [& B8 [) T
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty, k6 W! @) q! i5 r% U) P
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ' w  t5 {  \- U) o6 m0 ?1 F
  598. ; used as the others, ENV is not recommended on productions servers. You) Z! z2 W- W" [, M" S
  599. ; can still get access to the environment variables through getenv() should you
    ( u! r" j8 r; R4 o  a
  600. ; need to.
    7 A+ |9 T8 f' w) s: z" k# \( g
  601. ; Default Value: "EGPCS"
    ( K- u5 b2 D1 i4 {
  602. ; Development Value: "GPCS"
    ( T! w& [$ J$ u* |8 @: ~/ `! B
  603. ; Production Value: "GPCS";
    ' y: t# @& t" u- Y) s4 b: n# G
  604. ; http://php.net/variables-order2 s- w8 C% o" ^8 n, c
  605. variables_order = "GPCS"; W  _/ b, [  w9 K9 n
  606. / u1 L8 p! q+ Q0 ~! M) `1 M
  607. ; This directive determines which super global data (G,P & C) should be
    * }& C5 @# T. o4 [- A- p- C% H/ h
  608. ; registered into the super global array REQUEST. If so, it also determines
    * U5 S8 |1 {9 B* s( r, F1 n
  609. ; the order in which that data is registered. The values for this directive% L! M* H+ `% _5 F
  610. ; are specified in the same manner as the variables_order directive,. F- _8 x5 P! w9 \, p5 l, p
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set' v! e0 j' P% `, Z/ N+ ?: J. y5 F; W
  612. ; in the variables_order directive. It does not mean it will leave the super4 Z% t) C3 @1 Y2 |- t( {& l8 {
  613. ; globals array REQUEST empty.
    ' q. W+ z  W- i: R2 D8 g- g; x' G
  614. ; Default Value: None6 z" P& B; R; G# y- V
  615. ; Development Value: "GP"" _) v) s+ E  V. J) g5 I! G: Q7 w
  616. ; Production Value: "GP"+ Y7 L9 x5 i' a) G' m9 f9 G& \* O
  617. ; http://php.net/request-order
    ! S+ W  ?: d* Z  X  a" @# h5 C
  618. request_order = "GP"
    & l6 A3 ]- _6 R% S: Y- l

  619. ) H1 s/ p7 U, w$ A( P
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    0 `$ R' d% f# W. ^! ~
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / e3 T" Z) H5 R
  622. ; is invoked. $argc contains an integer representing the number of arguments1 u( Y- i: c* I* L
  623. ; that were passed when the script was invoked. These arrays are extremely
    + _) I; u' c- u7 J4 Q
  624. ; useful when running scripts from the command line. When this directive is; Y+ v$ C( w' `/ m: Y2 `. }
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
      P, [+ F  R( P' |; [; L, e4 `. L  c
  626. ; a script is executed. For performance reasons, this feature should be disabled. u. _7 ?/ I* x- L: E
  627. ; on production servers.
    9 n; i4 J* E3 i9 J
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    8 V# w: Y( @6 N9 S' ]9 [  @
  629. ; Default Value: On# i% f, K; ?* D6 I
  630. ; Development Value: Off
    " Z( _1 n* c* Q2 L& D
  631. ; Production Value: Off
    7 u" [1 ]+ \* c7 c
  632. ; http://php.net/register-argc-argv2 u$ ~2 z! ]  \4 t& g5 {
  633. register_argc_argv = Off% J$ L. I6 n9 y+ h$ a# n! q8 g
  634. $ u( W% s: a! g) C% O9 H( c
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    / p! p8 x* U# z- t5 [  ]  @
  636. ; first used (Just In Time) instead of when the script starts. If these* A  o) Z) L; f2 _* o' f
  637. ; variables are not used within a script, having this directive on will result/ j4 v6 N, j; |9 ^. `8 \
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled5 F: e0 o5 D4 I9 \
  639. ; for this directive to have any affect.' c( o' p( E. Y1 C4 f, E
  640. ; http://php.net/auto-globals-jit1 g7 ]0 Y" N! e. \" `
  641. auto_globals_jit = On
    / O8 T+ u; \- K* g% |

  642. 2 v0 ]$ C+ q% ?2 ]7 l) V
  643. ; Whether PHP will read the POST data.
    , z7 i- H& Q' e  y7 z. b
  644. ; This option is enabled by default.
    ; c+ Z$ m+ O& y& p% @* z, n
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    3 a9 ]" j- A5 F; I& x
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ; j8 L/ }4 o% }% Y9 K
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    1 r( w7 j1 E% G% q0 v0 m! U4 K, E
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ( E: j) y! W+ H0 K* I+ C
  649. ; http://php.net/enable-post-data-reading
    2 {  t2 \0 ~/ X2 Y9 x% K/ L5 ?
  650. ;enable_post_data_reading = Off
    ) W1 N7 `- ^1 T; k8 v$ {/ |

  651. - G4 T1 ?. r- d! X0 [( L
  652. ; Maximum size of POST data that PHP will accept.
    & m! P. c" v3 w
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ! V, W4 M; N4 h! o% R# G
  654. ; is disabled through enable_post_data_reading.
      o1 {% J: X$ W5 H: v
  655. ; http://php.net/post-max-size
    % X( B  N* @3 H  a4 y& f" b' y
  656. post_max_size = 50M1 X; y9 b0 A+ j+ [3 @! U

  657. * h3 |% H, C; b+ O9 m5 G
  658. ; Automatically add files before PHP document.
    + E! `* m, q7 l( K* b- u4 ?3 [
  659. ; http://php.net/auto-prepend-file9 W  W! z" @( K$ [& {" c6 E+ k. P
  660. auto_prepend_file =2 P: q7 f0 W" M3 H( _$ j
  661.   c1 }" ?4 T3 z$ S; q' S
  662. ; Automatically add files after PHP document.6 h- T( X# Z6 g; T: M  n
  663. ; http://php.net/auto-append-file
    2 ^0 k  j/ ?0 ^/ X7 t1 f
  664. auto_append_file =9 \/ w' x% K" ~- y$ `% y
  665. 7 A0 S( q) I- B( |0 R
  666. ; By default, PHP will output a media type using the Content-Type header. To0 a. {) F9 g) s, k
  667. ; disable this, simply set it to be empty.
    * B2 a  {% W0 H* `5 S
  668. ;
    ( Y3 T( `# C( W, S6 ^3 p8 r
  669. ; PHP's built-in default media type is set to text/html.
    ) n; o, K. F& i- y; ^
  670. ; http://php.net/default-mimetype
      @  ]- }5 k! H6 E* ~5 a
  671. default_mimetype = "text/html", o' ]) c- `, M4 s& A

  672.   [0 a; q4 r1 K; D9 M' c
  673. ; PHP's default character set is set to UTF-8.) w. ~7 y# r% x/ k6 n. I- b! W
  674. ; http://php.net/default-charset
    " {; t6 ?0 N0 Q" n9 m
  675. default_charset = "UTF-8"
    9 g, Z: L# v+ L- ?' u# r
  676. : u* {  u+ ]6 o9 Q4 j
  677. ; PHP internal character encoding is set to empty.- u) D, y/ y- Q
  678. ; If empty, default_charset is used.
    0 T- V: i" o( Z% u
  679. ; http://php.net/internal-encoding
    1 Y. n& D/ F5 Y. ^% s2 `2 ^
  680. ;internal_encoding =
    / ?5 k2 d: Q4 K/ ^& ^* g

  681. 6 H2 w) g# {  O% d; I1 v% ~
  682. ; PHP input character encoding is set to empty.
    0 a" S2 r: E( e, Z9 e1 Z
  683. ; If empty, default_charset is used.% L" y$ m) {2 G( w. J1 W, I
  684. ; http://php.net/input-encoding
    , e. X1 ?# h# B  T0 q5 L6 ?
  685. ;input_encoding =  }1 e% U  F/ f1 L4 \4 ~

  686. " x+ k0 c" K- V4 a1 n& b
  687. ; PHP output character encoding is set to empty.
    7 n3 `6 B+ o5 E" W( V
  688. ; If empty, default_charset is used.: _, b1 R5 j" L. p, u" a( D
  689. ; See also output_buffer.0 ?8 a7 i; N$ {# ]# n6 I
  690. ; http://php.net/output-encoding
    % C  d: F# ?# W' Z: F
  691. ;output_encoding =# a3 c3 i' C& }3 p6 j
  692. ( C% p* j, [; V$ v. K2 l# o
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;7 O7 S; ~% }& O0 M
  694. ; Paths and Directories ;. M. z$ `: D: @
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;: B- U8 x, G; z0 b* H
  696. & V( [4 {/ T1 K' a- t* i
  697. ; UNIX: "/path1:/path2"
    1 \2 |2 v7 H  a, G3 M; N: c
  698. ;include_path = ".:/php/includes"
    1 k8 f5 y/ `* w/ J8 X. ^
  699. ;
    / ]" |) r; o0 H4 h3 X5 S
  700. ; Windows: "\path1;\path2"5 d% J% ~) A5 G# ~- N9 i$ w) Z
  701. ;include_path = ".;c:\php\includes"
    / ]# y! |0 h% l& L+ u2 q
  702. ;5 s9 ?  \8 {( M1 I4 s
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; J3 \' J5 q! t- S$ ?. S5 K- C
  704. ; http://php.net/include-path. s$ f" T, e8 L' `2 [+ k6 z& U

  705. ; O; h2 Y# R5 L- _' R2 x( i
  706. ; The root of the PHP pages, used only if nonempty.) h( |, {1 l* g( K; i, o5 F
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ' N5 }# q' A' e: B
  708. ; if you are running php as a CGI under any web server (other than IIS)1 N# a( |7 j- {" [3 r
  709. ; see documentation for security issues.  The alternate is to use the
    - ]5 \( Z% W* r8 [
  710. ; cgi.force_redirect configuration below5 ~0 l' G+ A* f" ?
  711. ; http://php.net/doc-root2 Q* \# Y+ D  b$ d
  712. doc_root =. {1 a3 J% ]) m* q
  713. ' I9 F+ c9 E( p, W) n
  714. ; The directory under which PHP opens the script using /~username used only( j* f* i1 a) }) o
  715. ; if nonempty.
    % E: b6 Q& k$ [, X4 j
  716. ; http://php.net/user-dir& B; \) Q8 u7 \# R$ h" T
  717. user_dir =
    + Q: u/ D" }! r) C) j( A. E- s; e
  718. ! N8 k4 G& }1 ?% Z- ?% p/ Y
  719. ; Directory in which the loadable extensions (modules) reside.) ~- y) V4 @! X* z* F. V4 E; @
  720. ; http://php.net/extension-dir
    3 }0 o. D/ f9 b2 V3 f
  721. ; extension_dir = "./"0 ]5 }$ d: X- L/ ^- ?/ p
  722. ; On windows:+ D- D7 A4 U3 D+ [, I9 C; `5 V! e
  723. ; extension_dir = "ext"
    4 }5 r7 N1 H' j
  724. # [! o7 B6 M; \
  725. ; Directory where the temporary files should be placed.
    ' ~8 S& ]7 P* _: I+ v
  726. ; Defaults to the system default (see sys_get_temp_dir)# P6 R/ X8 ^0 p- W$ j3 \7 h1 w
  727. ; sys_temp_dir = "/tmp") w( Q( X' S4 A( O4 ]6 o

  728. # s# p' N% ?; Y' ?. U
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work; p/ k* ~# d& x: o+ Z
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * F$ v8 j5 Z) A9 z! I/ o5 X" p
  731. ; disabled on them.
    . q5 O! R6 y  E
  732. ; http://php.net/enable-dl
    ) \! V! @" ~2 f$ _- b/ W8 _/ W
  733. enable_dl = Off: x& r) g4 M$ y! [0 Q* i

  734. - G' R1 }' {* n/ |5 M! P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under, l. }. a- b( g4 y. ~$ V2 \
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can) L9 K* h( r/ e
  737. ; turn it off here AT YOUR OWN RISK- m+ m7 W5 r" X9 p2 h* m
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 d- F' T! _) V& X* q
  739. ; http://php.net/cgi.force-redirect6 x' u6 J1 L! ?1 P# T
  740. ;cgi.force_redirect = 1
    ! q% E7 P+ R; C8 Y7 r0 P% H
  741. , w0 y8 _3 w8 F* K8 ?9 M
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 O/ r+ d' |$ w- r7 \, y  n
  743. ; every request. PHP's default behavior is to disable this feature.2 H. D+ k2 Z0 d( k5 y( d1 ^
  744. ;cgi.nph = 1  |  c$ t/ l1 N0 ^2 b

  745. 8 `% E  y2 f; G4 o7 v
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape/ O( [$ @( J7 o$ ~7 ]4 A: |2 }' z
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; k* I- x0 q0 r6 p7 `
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    / z" `/ V/ N4 g" E* j
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( C2 X! ?4 \4 [& l; s
  750. ; http://php.net/cgi.redirect-status-env; q' E8 y; O1 U" k6 D0 t
  751. ;cgi.redirect_status_env =- E( h# h% _8 J. E7 S7 j0 |
  752.   @. P1 i. n9 U7 V
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
      t% |7 r2 ~; U" f
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok: ~1 ~! b6 B* G* q& W. G+ v
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 I7 h: v" Q0 R  Z& ]) u& z& I
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting; {% K3 s' [, y) P
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    8 ^( n. ~; ~: l$ _
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; r, T: c7 S  Z' k# P
  759. ; http://php.net/cgi.fix-pathinfo  x1 d& y+ u* _- Z6 l0 |
  760. cgi.fix_pathinfo=1; a( k/ p' S0 \

  761. ; B( L0 u& R+ I, o' k
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 b) i3 R" ?7 Y$ g0 q8 p
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    5 H2 z; Q% n3 K  t0 O
  764. ; http://php.net/cgi.dicard-path
    + F6 T+ S6 z) v, b+ M3 ~8 R4 N
  765. ;cgi.discard_path=15 r  s4 A7 m$ a; k$ X/ b
  766. , k5 |% O! y4 C+ Z& Q& n
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) b; [7 F/ ~. L* t" K+ v
  768. ; security tokens of the calling client.  This allows IIS to define the# u) u' e: S0 m: o' Z
  769. ; security context that the request runs under.  mod_fastcgi under Apache$ N7 z0 {" Q0 e
  770. ; does not currently support this feature (03/17/2002)8 P2 g7 p; r3 e# t8 U
  771. ; Set to 1 if running under IIS.  Default is zero.
    3 k' {+ D% t% z) U- G& w$ W7 I
  772. ; http://php.net/fastcgi.impersonate
    ; t; Z% X- W, A1 C0 v
  773. ;fastcgi.impersonate = 16 ?9 \* R" L4 v2 q
  774. $ l/ z5 D  Z$ P
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable% p0 Z1 V+ L$ Y
  776. ; this feature.
    ! O$ {: T+ S/ _7 k
  777. ;fastcgi.logging = 0( n# C2 o, y, q* J/ Y
  778. . w9 }! p5 Q% C, J) L+ G2 I
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to6 H& f  l( ~4 \  D( c! }
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    4 h  f( h3 F7 w  w/ d7 ~
  781. ; is supported by Apache. When this option is set to 1, PHP will send( s* f" I# ?' P" B- s2 I9 J
  782. ; RFC2616 compliant header.
    / [5 a/ ~1 L' g1 \
  783. ; Default is zero.- c' f4 x  j6 g# u: R( ^! f
  784. ; http://php.net/cgi.rfc2616-headers
    3 ~6 e0 J! K! F3 N" q4 y1 u/ b+ ^
  785. ;cgi.rfc2616_headers = 00 f4 f9 V" X; C; d4 |2 X- c3 i
  786. 6 i+ G' R% r! @3 j9 r( w
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 M9 w0 d7 t: ^- R  k5 t  x
  788. ; (shebang) at the top of the running script. This line might be needed if the
    5 Y" T+ p* o& q/ F# m8 ?7 s
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI. E, t6 G. o3 m: ^
  790. ; mode skips this line and ignores its content if this directive is turned on.1 @' y* L& I$ f. i, {& T0 J# T9 i8 @! U
  791. ; http://php.net/cgi.check-shebang-line+ a! V% j3 T& \  I& \4 g! v
  792. ;cgi.check_shebang_line=1+ e. V+ L7 S6 _# ^3 Y

  793. 4 k  D/ ?+ B5 y5 p
  794. ;;;;;;;;;;;;;;;;' W- D/ \! E6 x/ U6 Z
  795. ; File Uploads ;) Q5 J$ n( |" q4 G  k! r9 [
  796. ;;;;;;;;;;;;;;;;: x1 k1 H2 {3 K
  797. " Z3 U. h  Z5 M- S  {6 A' E
  798. ; Whether to allow HTTP file uploads.$ k+ r! E% y$ k. ]
  799. ; http://php.net/file-uploads/ L2 a; }6 H; A1 S- q% `2 l6 b* ?
  800. file_uploads = On
    ) ?9 n' C6 [5 Q5 V0 {4 v) V
  801. / s$ _; X+ G! c  G
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    . b( f/ F" F, R
  803. ; specified)." a7 C/ \; X+ I3 a
  804. ; http://php.net/upload-tmp-dir
    ( O5 \8 N1 T5 j% U
  805. ;upload_tmp_dir =- t( W# y7 g: d  X

  806. # E$ ~9 C7 P" E! I3 z/ t
  807. ; Maximum allowed size for uploaded files.
    $ n) @, {/ o4 p5 F( |: G, k
  808. ; http://php.net/upload-max-filesize
    ( p" v; [' w: ]& O$ U! ]3 ], X
  809. upload_max_filesize = 50M- K( ~- D! u( m" T! c( K5 \! }- u

  810. # E7 Y4 Y; q: k3 G' V8 R2 [% j8 H
  811. ; Maximum number of files that can be uploaded via a single request
    0 x  `4 z& w: G& a( V; H# T
  812. max_file_uploads = 20
    % t: j* @' ?7 r  s; y. z) g
  813. ' g1 ]3 V6 _! l: n) Q$ c+ I
  814. ;;;;;;;;;;;;;;;;;;$ y0 m4 Y% L8 p
  815. ; Fopen wrappers ;
    0 m2 h" Q# I1 D, z5 d* p2 m6 u
  816. ;;;;;;;;;;;;;;;;;;
    ! u; \" L4 A: r5 Q
  817. & I$ b4 c. u0 S+ y; ^* E+ a
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    , x8 B. f( I8 K$ C2 a& @
  819. ; http://php.net/allow-url-fopen
    , t$ w+ W* u% S  B- h* M
  820. allow_url_fopen = On
    % l4 r/ B; C! Y! h: ~
  821. : s& V) d& ^0 k1 v) Z3 _
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    5 F5 F# l/ y) w9 D2 A6 ~
  823. ; http://php.net/allow-url-include& M! `) _0 m6 a0 w" H! Q2 l
  824. allow_url_include = Off
    ; e; j: I  Y( q8 K& L
  825. . [- }( D$ I" E) \* Z+ n4 X
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    3 t% f" \9 k) o* _
  827. ; for this is empty.6 \; ?! b0 a) ^1 ?1 N; K
  828. ; http://php.net/from0 Z3 v* T1 B. p( C2 @+ `
  829. ;from="john@doe.com"
    $ }/ @( G: H4 s' T, W0 j; i! ^
  830. , p" O- s3 \5 b; Q0 L; X! U( n- F
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    $ [, S9 A, ^3 I. A- N, s$ F
  832. ; http://php.net/user-agent2 m  A" h# m& q. R& c
  833. ;user_agent="PHP"  y) `. U7 e+ J

  834. 7 ?' w% m  C6 m  d3 Z: J
  835. ; Default timeout for socket based streams (seconds)
    / N% r4 o8 P4 A5 D3 M9 r
  836. ; http://php.net/default-socket-timeout1 |7 ~8 g# z% X
  837. default_socket_timeout = 60: n* v! V6 C% j8 s7 j
  838. # l; D+ v9 ^/ i- ?
  839. ; If your scripts have to deal with files from Macintosh systems,
    - _3 N5 L- B# l; N" W$ L
  840. ; or you are running on a Mac and need to deal with files from
    # p( V. v5 f* B% z5 a6 \' E4 _
  841. ; unix or win32 systems, setting this flag will cause PHP to
    7 N) v3 @- M$ Y+ R% h' o0 c
  842. ; automatically detect the EOL character in those files so that* B, D5 j8 j5 C
  843. ; fgets() and file() will work regardless of the source of the file.: d# e% N) d0 Y' i/ u
  844. ; http://php.net/auto-detect-line-endings, I" R; w( R( h
  845. ;auto_detect_line_endings = Off3 p0 o. M4 X/ C! i

  846. $ |- k) w9 t1 W
  847. ;;;;;;;;;;;;;;;;;;;;;;+ z) W+ \* l3 S! I: x0 ?# y( u
  848. ; Dynamic Extensions ;
    $ i1 |6 `" Z" [' ]5 o# P
  849. ;;;;;;;;;;;;;;;;;;;;;;0 Y* M) @  ~, @- v
  850. 9 C! g* b' S( F7 g" u
  851. ; If you wish to have an extension loaded automatically, use the following
    ' G. C, b: K* F
  852. ; syntax:+ f9 P" t, Y, t1 e  {8 Z2 ^" q
  853. ;
    + \$ }! N" ?3 Z% |5 J
  854. ;   extension=modulename.extension2 \$ t- K4 h- d, y
  855. ;5 \% G1 X$ H8 j; O
  856. ; For example, on Windows:
    0 z) ?( @5 Y$ Y1 h; O( i
  857. ;$ e1 E9 t  f' v: u% o5 E: M3 T
  858. ;   extension=msql.dll, t3 f" y& w8 q2 c. ^
  859. ;
    1 \! w. O2 e. y! e" E, l. R  X' z( j
  860. ; ... or under UNIX:! A3 g9 _1 \: P8 E' |3 p
  861. ;
    # C5 R$ _" M# U4 |" S+ D3 X
  862. ;   extension=msql.so( D9 d% R$ ^  o
  863. ;
    * a  |6 J5 \6 x- I7 p
  864. ; ... or with a path:, E4 n) q" p0 t3 w8 W- w+ q
  865. ;# c9 ]( J( Z" I4 n
  866. ;   extension=/path/to/extension/msql.so
    6 I6 w1 @% {5 F; G9 n
  867. ;
      p3 O- d5 u7 ^  K) A+ _/ J6 j
  868. ; If you only provide the name of the extension, PHP will look for it in its) N, J. W" x( n5 H
  869. ; default extension directory.' p/ x+ }+ ?( m' V
  870. ;
    9 a& ]" P  N# l, `. _! L$ y
  871. ; Windows Extensions# K2 y# a$ I' u
  872. ; Note that ODBC support is built in, so no dll is needed for it.5 u: X1 Q9 O/ o' j2 w( j+ |
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)/ T: u+ I) A$ S
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    1 y! [/ O/ I! n3 D3 p* d+ @2 N" _
  875. ; Be sure to appropriately set the extension_dir directive.
    / a" B& m3 ?; |; }
  876. ;
    . B" ]1 r# _7 A& S' y/ y
  877. ;extension=php_bz2.dll
    . x" J" _& J  k$ H! @
  878. ;extension=php_curl.dll& d* d9 w- g7 y* A. n
  879. ;extension=php_fileinfo.dll
    ( w( M; f" r, ^
  880. ;extension=php_ftp.dll
      a+ D! {: h, T" p, h/ D& Z
  881. ;extension=php_gd2.dll
    - \3 R- J5 K( t
  882. ;extension=php_gettext.dll% G  D$ j8 d* O- Q+ p- a
  883. ;extension=php_gmp.dll
    6 W; H5 v5 B$ i5 j( ?4 }' g
  884. ;extension=php_intl.dll
    * D& Q% V4 H# M6 M5 x. B
  885. ;extension=php_imap.dll! J- M1 ]! Z' E. G  p  ~; o+ I
  886. ;extension=php_interbase.dll. w$ V% X4 i" Z- r" v, G% c, \
  887. ;extension=php_ldap.dll
    2 k2 Q! N8 a; f
  888. ;extension=php_mbstring.dll
    , a! n: f! C* K( z  b
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it2 R# b' T$ l$ F3 q
  890. ;extension=php_mysqli.dll
    2 v% t2 \/ |4 ?5 I
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    . r& Z4 T* y2 U  Z
  892. ;extension=php_openssl.dll
    2 ~9 S' X2 M' l( I9 f$ q7 D  }8 K! A
  893. ;extension=php_pdo_firebird.dll- `* z( ^1 z+ ]% M. O! R4 V
  894. ;extension=php_pdo_mysql.dll
    , _) v: Y; z1 V
  895. ;extension=php_pdo_oci.dll
    9 ]" ^8 x/ ], f1 f' a
  896. ;extension=php_pdo_odbc.dll
    4 F3 Z* I" ~; c8 D( k" L# @% @' b
  897. ;extension=php_pdo_pgsql.dll' k" l, T  A( L+ \
  898. ;extension=php_pdo_sqlite.dll
    1 f% _3 B3 b: |
  899. ;extension=php_pgsql.dll& N" n# w& ^& b) p0 F, _
  900. ;extension=php_shmop.dll4 u1 K' ~5 j+ J% T5 p
  901. 4 z: W4 ]) H9 l. z% q4 l- N, [  }5 W& S
  902. ; The MIBS data available in the PHP distribution must be installed.
    % L1 |2 \( x0 T" I% {( E6 I+ M
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    . K, M& ?) I7 D" d
  904. ;extension=php_snmp.dll2 [. }  h% a$ a7 ?% _2 i+ ]/ W0 e

  905. 4 G1 Q+ S8 Z$ j" B/ Y
  906. ;extension=php_soap.dll
    & _2 N% l( ^4 ^6 _  S
  907. ;extension=php_sockets.dll$ o3 y9 c4 l- }  b
  908. ;extension=php_sqlite3.dll: i8 U- w9 M1 o0 R6 [
  909. ;extension=php_tidy.dll
    5 ^: e  x% [6 G& P6 T$ J
  910. ;extension=php_xmlrpc.dll* I# o% L$ N) d0 n5 [# D
  911. ;extension=php_xsl.dll
    ( m, V6 @2 g* B) j1 [* _# c; v2 l7 m

  912. * f; m* Z. c* n" W
  913. ;;;;;;;;;;;;;;;;;;;
    ) I" p) T* ~) W2 B. @* }+ ^" b7 F
  914. ; Module Settings ;
    * z: m+ p% L6 L
  915. ;;;;;;;;;;;;;;;;;;;
    $ K4 X, P2 f( O- _4 m. h6 i

  916. . J  U, J1 Q3 T8 V9 K6 Y6 R
  917. [CLI Server]
    0 |1 ?2 D4 E0 h. S1 K' i3 f, v
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.: U2 M, f2 G# J% Y" R1 N4 Q
  919. cli_server.color = On8 e/ l1 v! b# C# U9 |# _
  920. + W& ]  e$ ]5 u+ M, p
  921. [Date]
    * t$ l. Q  ?5 w1 N" L: }. I
  922. ; Defines the default timezone used by the date functions/ {! P$ A. ]# l* g' E  T, Y
  923. ; http://php.net/date.timezone* g2 R* P1 y2 Z4 g9 j7 l+ j* d1 X
  924. date.timezone = PRC
    % N. J8 I0 B8 q8 q+ e% E
  925. 9 Z5 Z0 g8 M% y% W
  926. ; http://php.net/date.default-latitude/ f7 h: K" I9 ~8 h, i
  927. ;date.default_latitude = 31.7667
    * t- K" z  H) b( W, T
  928. 0 \! @, }, G0 \
  929. ; http://php.net/date.default-longitude) h9 l5 g, f8 {) f7 F
  930. ;date.default_longitude = 35.2333
      t$ m. o8 ~: a3 ?0 X
  931. ' O) M  R0 |3 p7 G/ o5 O; E
  932. ; http://php.net/date.sunrise-zenith
    ! @2 @/ w) ?+ k6 [$ o  Z) i
  933. ;date.sunrise_zenith = 90.583333
    " U( K$ k( Q, [) l' r: A
  934.   m( j: {: `: H2 U5 h+ [+ h9 v( `
  935. ; http://php.net/date.sunset-zenith+ q- N- y5 d2 Q6 P/ [
  936. ;date.sunset_zenith = 90.5833332 I: w1 f7 C  {( Q# M8 J
  937. " P! H  Q9 M( _* Y5 o  S
  938. [filter]8 R& M& v# F5 }6 B0 x1 Y7 ~
  939. ; http://php.net/filter.default! j: S+ ]4 i1 x
  940. ;filter.default = unsafe_raw6 L$ N3 M: i( n! `1 P% k$ j2 ]! M3 S
  941. : C- V( D* `: X( h/ D3 l7 @
  942. ; http://php.net/filter.default-flags: R  L, N8 W% E
  943. ;filter.default_flags =+ A$ `5 ]# k& }% q- S

  944. 6 o0 p( J2 v: {3 G4 S5 B4 F6 N
  945. [iconv]; H, J. v& z. j" q" N
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.* Q. q$ h! {2 [" I% B
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.6 _" r) q, W5 a7 {3 y( T6 o: q
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # G: f. G% h, j  @7 n8 |. g+ p5 V
  949. ;iconv.input_encoding =* U5 f1 Z6 X6 a4 X" A

  950.   {( S  X' d2 Z  w( ^
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 }3 x2 o! l' e+ d, m, ]* ~0 M
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' z6 G1 n) F% {, I+ n4 ?. n6 p
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 C2 z5 l; l& c. C) y7 N
  954. ;iconv.internal_encoding =
    ; `8 ~- e9 D+ q2 u

  955.   O) c6 Y7 T5 s
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.( Q% N7 o8 R7 _( w# k# K
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& F- q' W5 @6 E! @
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ; L4 X+ `" I9 d0 A+ f9 R( o! i. a* i" q4 ~
  959. ; To use an output encoding conversion, iconv's output handler must be set( X. R3 C" t9 x  h# T" t
  960. ; otherwise output encoding conversion cannot be performed.: E& ?# L9 }! b: g
  961. ;iconv.output_encoding =% g: `& c$ y) ^# ~( _4 P

  962. 1 t* S& Z' d' b# w" M# S
  963. [intl]
    5 v+ z/ _  `) L$ B) o6 u
  964. ;intl.default_locale =  ?! F2 _# k' e3 }4 p! n; A
  965. ; This directive allows you to produce PHP errors when some error
    5 L% s6 {) p- }% c; q  C
  966. ; happens within intl functions. The value is the level of the error produced.3 U3 o  y5 F  Z( H* {
  967. ; Default is 0, which does not produce any errors.
    . ~2 E+ R& Q" p! v1 j) }" J5 w$ i
  968. ;intl.error_level = E_WARNING
    7 T! J: O: I' ~" c
  969. ;intl.use_exceptions = 0, D9 u! j$ ^( P( ]- ]  O
  970. ( ?$ x* N- R  j6 e( ]
  971. [sqlite3]% j3 U, E3 S3 N$ U
  972. ;sqlite3.extension_dir =$ O6 Z9 E( L% y: T$ A1 }

  973. " B: f9 {8 f( p/ [
  974. [Pcre]* a. g& C" [$ z1 V% g* p
  975. ;PCRE library backtracking limit.4 {  b$ f- M0 B  D7 m' M) v) m1 X
  976. ; http://php.net/pcre.backtrack-limit
    8 b8 I. k. B7 R5 D: X
  977. ;pcre.backtrack_limit=1000002 P' a0 h8 J( g3 E+ R% e
  978. 6 V* w' c6 t  |4 u' t
  979. ;PCRE library recursion limit.! L# l& `3 g/ q% [
  980. ;Please note that if you set this value to a high number you may consume all
    4 j* V# `; U5 G
  981. ;the available process stack and eventually crash PHP (due to reaching the- [. E  G  k! s/ l$ h$ |; \+ |
  982. ;stack size limit imposed by the Operating System).
    . O3 v/ k" s9 e. ~9 [. O
  983. ; http://php.net/pcre.recursion-limit
    8 T5 L# s" ^4 w& c  C) M' |7 E
  984. ;pcre.recursion_limit=1000008 R% |, a& I2 Y9 z7 k0 |7 a1 r( l
  985.   \6 h4 O" D2 n. V* T
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE- c9 W1 g) N1 s# _, Y
  987. ;library to be compiled with JIT support.5 `) P% n2 o9 I; p- \3 g
  988. ;pcre.jit=1  E4 v2 k6 y. T( K7 _( A

  989. 2 N( Y+ K* |  ~4 M! A
  990. [Pdo]' x1 V& r8 F2 L8 m& e" w& x
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"" g. E5 {3 ~2 E3 [
  992. ; http://php.net/pdo-odbc.connection-pooling, ~( T9 j: f1 o, }3 w. L
  993. ;pdo_odbc.connection_pooling=strict, O! a0 X! R5 m2 o; q% z( ^+ t

  994. ! V) G! B2 Z0 D# |
  995. ;pdo_odbc.db2_instance_name
      s( H+ e+ O2 D; d/ J
  996. , @* V) a! G3 x: a( i
  997. [Pdo_mysql]; E$ S0 D5 o* F
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : [, A; b6 a2 c# s2 }) l4 m
  999. ; http://php.net/pdo_mysql.cache_size# ]% G' l0 y1 K2 V3 l# ^# `
  1000. pdo_mysql.cache_size = 2000
    # }+ A, q" R, m6 C

  1001. & }1 O, \% H, D  I0 \% q; f) v7 ^
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 F; W8 m* f1 Y- Z3 g% O, z
  1003. ; MySQL defaults.5 _/ k+ W( p' X( P7 m- c# a1 [
  1004. ; http://php.net/pdo_mysql.default-socket
    * h- T* A* [& D/ W6 }- @
  1005. pdo_mysql.default_socket=* S! c) N: N: b4 f: s/ _

  1006. $ A/ g5 m' K  r9 X8 d$ c
  1007. [Phar]
    ' J; p) s, d$ |  p1 S" W
  1008. ; http://php.net/phar.readonly
    : g# h: l- Q2 f2 m+ P( B) D
  1009. ;phar.readonly = On( |- a' F* w+ R  n% _) s

  1010. 7 F" ]. r3 c5 F  e
  1011. ; http://php.net/phar.require-hash
    ; `) R: g9 O3 ^
  1012. ;phar.require_hash = On
    % z6 I& J/ d6 R8 d& j3 T0 g' @

  1013. ' g8 @  n0 o5 e$ W* D
  1014. ;phar.cache_list =7 P  `' J4 B; l* K
  1015. , T( l  r+ n) p+ h# J; Z
  1016. [mail function]3 x% Q1 W6 l. J# H1 }; k- c
  1017. ; For Win32 only.
    4 |0 J5 F* O: c
  1018. ; http://php.net/smtp
    * T: @; g) k* G5 ~  @2 Q7 }
  1019. SMTP = localhost6 K& f# ]: B; r( B$ }9 x
  1020. ; http://php.net/smtp-port& H1 J" |0 P/ V9 j$ |) x6 b
  1021. smtp_port = 25
    4 f4 s9 C5 Z/ D6 T

  1022. $ x: [- `0 ^$ w, I
  1023. ; For Win32 only.
    * A$ z2 v" N" Q+ W' e* y; e3 i
  1024. ; http://php.net/sendmail-from
    ! m( w% P( e  p0 f5 ]/ I: t
  1025. ;sendmail_from = me@example.com5 Q5 O! V$ c  z! R) E

  1026.   N) y- `" P! s( P- z
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ( Y; v6 F1 ?1 P/ g/ V7 l0 d
  1028. ; http://php.net/sendmail-path
    6 ]4 A* H$ f; f9 Z; Q8 Q
  1029. sendmail_path = /usr/sbin/sendmail -t -i' ?' C, H  Q, S$ R; A

  1030. & _; B. [) j: j0 U7 Y1 w
  1031. ; Force the addition of the specified parameters to be passed as extra parameters2 A. E/ }: L8 d2 M9 s4 U: U
  1032. ; to the sendmail binary. These parameters will always replace the value of" H; n. F( G+ N, y! b( j" r
  1033. ; the 5th parameter to mail().7 W* [: i. z* I9 m* u2 M: M
  1034. ;mail.force_extra_parameters =
    0 F0 v2 W# p8 U# d

  1035. 0 q9 K" z+ h0 l% O" a
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 E3 F8 K, M  u) v; n3 ^/ k
  1037. mail.add_x_header = On
    & r6 T3 u& Q1 S1 M( C/ h1 U  e

  1038.   ?! f# d6 F% K9 J! k) ~: f0 U
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    5 `) N( ?+ S8 H9 m- m
  1040. ; the full path of the script, line number, To address and headers.
    / d/ G# @: [, A$ S* |/ W4 ~9 q
  1041. ;mail.log =
    3 F- ]4 P/ y0 M8 ]' O6 a
  1042. ; Log mail to syslog (Event Log on Windows).
    9 k; }/ r4 m$ r9 Y6 z
  1043. ;mail.log = syslog9 y( ]3 d1 J) e6 J
  1044. # [8 a1 H+ N0 m/ I
  1045. [SQL]
    $ }: D: q; w. X' [4 |* p" s$ \3 Z: u
  1046. ; http://php.net/sql.safe-mode
    * a- n8 M) h: Q% n
  1047. sql.safe_mode = Off0 a* w$ |; }- \% D# o

  1048. ! N' e% `& i% c; \! Z$ i
  1049. [ODBC]
    - Y& N+ N3 w6 K6 r" u3 h/ T
  1050. ; http://php.net/odbc.default-db
    / p0 Q: _, j; w$ B# u2 `
  1051. ;odbc.default_db    =  Not yet implemented; z5 k& I( Z. u# c( X. b; u1 i

  1052. + h+ p0 d  M& g! }1 b$ f8 H, c
  1053. ; http://php.net/odbc.default-user
    : R4 ?: Z- E; r* r
  1054. ;odbc.default_user  =  Not yet implemented* A  Y7 R: R! N: H4 b5 j! U
  1055. $ v3 S( M% ^, m- q& _
  1056. ; http://php.net/odbc.default-pw* m4 m+ ]1 l) w7 f1 N
  1057. ;odbc.default_pw    =  Not yet implemented9 q  y2 q  o1 d

  1058. 3 K! J- z, M0 e* g- D
  1059. ; Controls the ODBC cursor model.3 y7 p" L2 U9 C( [( U& Q+ ]$ Q
  1060. ; Default: SQL_CURSOR_STATIC (default).
    % o6 C* s  `  g  `
  1061. ;odbc.default_cursortype
    0 _) P' R. m5 L' G1 w
  1062. $ s' {# H0 Y( o
  1063. ; Allow or prevent persistent links.
    ; {: a, E% ~" x  K! l! ^$ I" w
  1064. ; http://php.net/odbc.allow-persistent
    ' f, S2 R5 \$ Q8 w5 J# _" f( C2 k
  1065. odbc.allow_persistent = On
    7 M8 V& m! J5 ~- Q7 q
  1066. 0 Y! D: O$ P  L! F7 K6 @
  1067. ; Check that a connection is still valid before reuse.
    2 ~! M+ g% e  Q
  1068. ; http://php.net/odbc.check-persistent* p4 J- J' m0 F0 w) L3 K) f
  1069. odbc.check_persistent = On0 M; ~( Y* n$ q3 ^& j: L

  1070. * X9 D: x4 Y) H/ Q( A( L
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ' E( z. Y' }2 I+ n% B
  1072. ; http://php.net/odbc.max-persistent
    : }0 Y. ~9 h* T* W- ~
  1073. odbc.max_persistent = -18 ], x0 Q- C. n' p4 Z$ [) _8 C
  1074. 3 v" _% y" y, [# q9 m8 |; Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ W, U3 D8 p  K4 v; F- h1 ]+ v- `
  1076. ; http://php.net/odbc.max-links/ O* m+ `/ i1 o  I
  1077. odbc.max_links = -1
    6 _& `- I* T" o* G- W2 ]

  1078. ) L4 K! _$ i: \, k( ~) o) \( [( \1 V3 A
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means0 j. o& m; d/ r3 I  y
  1080. ; passthru.
    ( c* m& u8 ^% m
  1081. ; http://php.net/odbc.defaultlrl
    / @, z* T1 N2 d+ K5 ?
  1082. odbc.defaultlrl = 40962 ]/ v( L6 x8 w  F: ^

  1083. " ~' _1 o3 R6 `/ y) ?6 T
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' N1 h, F" ^8 v) w" x" a
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation6 }4 ]" d0 A( I* l
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode& I  g# h# G- I7 [, _
  1087. ; http://php.net/odbc.defaultbinmode; C- r: I9 S; O3 a7 b9 W5 I
  1088. odbc.defaultbinmode = 1/ C( s" O) C' }) s

  1089.   |: u8 p7 S, ~# V* v3 i3 X7 u
  1090. ;birdstep.max_links = -1
    ' E: t* n/ N6 I) v, J! |7 Q: R- j

  1091. # k2 ^1 y9 X7 p% y( a
  1092. [Interbase]
    ! {: I! H- i' k, h8 l
  1093. ; Allow or prevent persistent links.! H# ?/ h8 B5 q  Z9 m
  1094. ibase.allow_persistent = 1( s1 x& i: S. A5 w; d7 b$ z$ n+ r

  1095. 3 c9 Z* J% ], `+ Y' c) S! I" W
  1096. ; Maximum number of persistent links.  -1 means no limit.% o4 a9 Q  s3 {) J, m
  1097. ibase.max_persistent = -1
    9 I5 {! x8 I9 |+ v

  1098. ( C1 ^7 b8 N! _0 d
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - _  o$ b  {/ P' S, C$ q7 P8 H
  1100. ibase.max_links = -1( A/ h6 v1 y( E6 D5 H

  1101. * s: b3 |& i7 a) A2 J+ ?5 W+ ]
  1102. ; Default database name for ibase_connect().* L+ L% z# g, G3 Q* n* l% W
  1103. ;ibase.default_db =0 D/ a8 c  ]$ e& F$ l6 q& R( V
  1104. * n0 U$ G4 k; T) _
  1105. ; Default username for ibase_connect().
    0 L+ x' `4 u& {+ s
  1106. ;ibase.default_user =, D$ P6 ?, B7 s% l9 |' u! [

  1107. 5 h+ S$ g0 Q) R; _! T
  1108. ; Default password for ibase_connect().
    6 H/ x! W7 L. E# r
  1109. ;ibase.default_password =
    - U4 R9 |0 B7 ~7 ]: r

  1110. 9 m5 j- Z, ~8 y* X& _
  1111. ; Default charset for ibase_connect().
    + s3 f" ?+ a. y
  1112. ;ibase.default_charset =% E$ B1 g. W) x3 H4 v8 v

  1113. ! a& `4 J' B8 z; L: b! D
  1114. ; Default timestamp format.( c9 x" O" x0 l. W& A7 s% g
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"# M( R  u' H8 e7 ?& ^5 U$ r2 m" w

  1116. " A, T5 }5 L/ [* `
  1117. ; Default date format.1 g9 |6 ^4 \/ ^1 h- a. v
  1118. ibase.dateformat = "%Y-%m-%d"& r, Z: n9 l$ {& k5 x
  1119. 0 v! `- [6 m4 |  B# ]! _
  1120. ; Default time format.
    ) ?4 r' u. T. Q8 x1 H# s
  1121. ibase.timeformat = "%H:%M:%S"
    2 D1 K+ P! ]. X- V! a3 b
  1122. 0 {5 M0 X$ Q7 Z# G: v1 k' C0 |' Q3 o
  1123. [MySQLi]7 X0 p& q+ b6 J  R/ s/ k% d

  1124. : u& n! j: r. t+ r+ B! A( _; w
  1125. ; Maximum number of persistent links.  -1 means no limit.8 F% @( K3 v2 V
  1126. ; http://php.net/mysqli.max-persistent
    % P& v4 G) D1 Q! n
  1127. mysqli.max_persistent = -11 C6 h( _* c. a. A* W  u4 W4 ~

  1128. ; k, A% a5 L; N3 m1 Q
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 y' L4 m) Z% X- q8 w) G4 a
  1130. ; http://php.net/mysqli.allow_local_infile
    " r9 `$ w3 _* ?+ J+ A6 L2 C
  1131. ;mysqli.allow_local_infile = On" V' h& R4 n; ]$ }; b

  1132. 4 ~, i1 ~0 `9 Y
  1133. ; Allow or prevent persistent links.
      R9 u- W" E6 T% j9 I
  1134. ; http://php.net/mysqli.allow-persistent  x3 o( N  B0 ]. O0 _% D6 Z+ J
  1135. mysqli.allow_persistent = On
    6 D& s# o. B2 R; D* D1 i7 X
  1136. / L3 m- Q2 F$ B
  1137. ; Maximum number of links.  -1 means no limit.
    8 j( ~8 _' u" o
  1138. ; http://php.net/mysqli.max-links
    / }5 K' f0 K" r% n! v' c
  1139. mysqli.max_links = -1
    , `0 F+ u5 D7 A, B/ \3 T

  1140. 4 V2 N# ^# n" E- [! w# c
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 B8 k3 E( w8 t& f, S+ ~
  1142. ; http://php.net/mysqli.cache_size
    8 k7 h3 {0 Y. J1 J# ]
  1143. mysqli.cache_size = 2000
    0 o: D5 |# a- x/ R" P

  1144. ! `- w( W7 X" \  u- f8 I
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    - {* R) [' |: v9 i2 P  ]
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ `4 N8 |4 B/ G' t2 h
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    - q- F& B: m/ r1 s2 L, U' e
  1148. ; at MYSQL_PORT.
    : l! J* W2 Y4 w3 u- l7 _
  1149. ; http://php.net/mysqli.default-port, h" E: }- D3 i+ ~' L) ]( S
  1150. mysqli.default_port = 3306/ c7 x! {5 Y' i
  1151. " `' ]9 @% X& ~! e, x, H- o
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in& b1 I# r+ ]; J! l" s
  1153. ; MySQL defaults.$ l# @  g$ Y9 ~( l% s. q
  1154. ; http://php.net/mysqli.default-socket8 I! [. n+ b  s; V! f
  1155. mysqli.default_socket =  z! o' u( i, P4 r' T' ^$ Q" u; X
  1156. 2 Y1 j4 V2 C! b6 [" p
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).7 D  T- u1 B2 K+ e0 b5 M: l# b
  1158. ; http://php.net/mysqli.default-host% P% G: P$ z2 r' A
  1159. mysqli.default_host =# I3 H* ]5 y8 O' E: f9 ~
  1160. ! y2 B0 m: T4 r% [9 Z
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)., \4 |& T  u2 y6 \
  1162. ; http://php.net/mysqli.default-user
    ! u: ^9 ?* `0 ^- g: ~% V% _
  1163. mysqli.default_user =& S8 J) i5 b: H2 C6 L' l; D

  1164. 3 w% f3 t& V5 i2 h" ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).5 i  x7 P3 c; ^4 L
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.0 f& F9 r- m& u! k
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"). p0 G# o$ K7 G# R
  1168. ; and reveal this password!  And of course, any users with read access to this% ]) T7 v8 v3 ]. H5 \! O
  1169. ; file will be able to reveal the password as well.
    ( m; Q' U, A7 v' _
  1170. ; http://php.net/mysqli.default-pw
    # G: g6 i9 ]8 h+ ]$ |
  1171. mysqli.default_pw =
    ! _" v8 |/ Q/ I$ [9 r. y
  1172. % x2 A. @7 V! p% [
  1173. ; Allow or prevent reconnect
    9 R4 [1 o+ b6 E; D- }5 m
  1174. mysqli.reconnect = Off6 p" A( ]. g  V9 I

  1175. " n/ }1 }- J4 I
  1176. [mysqlnd]
    . _  Z  a8 Z0 W3 o7 W
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    " W6 P# A; H3 j5 b! ]! S
  1178. ; used to tune and monitor MySQL operations.3 E2 c4 \- N0 z" S' {* ^! U9 m
  1179. ; http://php.net/mysqlnd.collect_statistics# J  ^$ T! X  p: o
  1180. mysqlnd.collect_statistics = On
      V: }) m6 E. }! K
  1181. 6 ~- d* w) n2 [2 C( g% X: i
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 v5 l$ E2 }$ m' X% c$ ~; C; C; b
  1183. ; used to tune and monitor MySQL operations.
    # o6 Q8 t4 o$ f: g' L6 X
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ( Z" S8 m4 G( y7 i1 @5 M: i# C
  1185. mysqlnd.collect_memory_statistics = Off. o4 E  @9 h8 d, |! T* ~, J

  1186. 1 U. x$ A7 x. C9 }$ D
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    1 N6 |2 c6 P! [( a/ H  e7 }, t
  1188. ; file.% k7 S+ l! Z" X4 g* H
  1189. ; http://php.net/mysqlnd.debug
    $ f6 q' B4 x; L: v8 }, r) ^
  1190. ;mysqlnd.debug =
    / X  f9 V. O7 F( o/ C" U9 n
  1191. " m8 Z* q4 z8 u3 P" q, F) y! e4 z/ R- P
  1192. ; Defines which queries will be logged.* S: u3 Q: }, l, o
  1193. ; http://php.net/mysqlnd.log_mask
    + r1 W) D- a; d8 @7 q9 ]7 r
  1194. ;mysqlnd.log_mask = 0' M5 G0 S1 o& F' p- Q0 W; S* ]
  1195. 2 S; J* H! t4 d) Y9 U- z; [& |
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.2 I# L" a1 G6 T/ Q8 z
  1197. ; http://php.net/mysqlnd.mempool_default_size  C) z8 I, q- l  K3 B& i9 q
  1198. ;mysqlnd.mempool_default_size = 16000* U: s8 c) h5 s  P

  1199. : h7 \- }; E8 Z: k
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.( i" g( t  ^" C- w- K5 ^( C& W
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! G, @: K% A# a* W+ L" g- T- r" z
  1202. ;mysqlnd.net_cmd_buffer_size = 20480 K. J" p7 K/ q+ V0 Y8 D2 A
  1203. - e2 C: }* w; |; i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    3 I- V/ p7 O) q2 m
  1205. ; bytes.
    ! Z" q- y, V* A6 s) K
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    % |( s3 v# f1 C7 R, L: W# u
  1207. ;mysqlnd.net_read_buffer_size = 32768& Q7 F8 _/ }& J0 N
  1208. $ f$ Y6 ]. B. `8 J- z
  1209. ; Timeout for network requests in seconds.
    " B- y. x& c6 ~
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ' T, f1 c! l- T
  1211. ;mysqlnd.net_read_timeout = 31536000
    + {% E% k7 P! t6 `: m* S/ H; Y+ I

  1212. 9 c7 [" n! H( f! c0 |: c
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; E# v: p- Y) F. N
  1214. ; key.  o% }% S3 s$ c" g5 D9 B& B  a: z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key8 Z9 Q- N5 h9 u  H( V* l5 d& ?
  1216. ;mysqlnd.sha256_server_public_key =* }) C6 A4 j# B( @. |5 q  d
  1217. * H3 i6 ?3 m7 t" J; K6 C0 ?$ D7 Q
  1218. [OCI8]& J: t) W8 O$ `2 c& x7 j

  1219. $ f& L+ C2 e# N# g4 A' C7 G
  1220. ; Connection: Enables privileged connections using external
    & F  h' p. O; x6 e+ w, u
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    9 D" P7 i- t- c- \' X1 y6 U5 L
  1222. ; http://php.net/oci8.privileged-connect
    " ~9 G" k) Y9 R1 H8 y
  1223. ;oci8.privileged_connect = Off
    8 ~4 A$ P) G) [3 S' Q2 I# s  U

  1224. * `' T' Z5 k+ e
  1225. ; Connection: The maximum number of persistent OCI8 connections per/ j9 ?1 m& Z2 i+ L. _
  1226. ; process. Using -1 means no limit.7 ^1 i& b( s6 R0 l/ y% }
  1227. ; http://php.net/oci8.max-persistent; L7 B( y+ A. \4 d( s
  1228. ;oci8.max_persistent = -12 d2 l) p7 }& Z) n5 v  P+ a

  1229. 2 D& @5 o1 S0 q: @. r, n
  1230. ; Connection: The maximum number of seconds a process is allowed to: k6 J4 w% `, I% `1 Z$ `
  1231. ; maintain an idle persistent connection. Using -1 means idle9 ]! b+ P! E9 I; I7 v1 I/ \0 Q
  1232. ; persistent connections will be maintained forever.' O6 D7 h* ]: q- S  N; ?+ L
  1233. ; http://php.net/oci8.persistent-timeout
    : s; p. p4 g& M
  1234. ;oci8.persistent_timeout = -1: A$ _# W7 W8 B

  1235. / M! z5 X- q6 p$ R, J7 R* N* B
  1236. ; Connection: The number of seconds that must pass before issuing a* }- |4 H9 ~' e0 F2 C4 k
  1237. ; ping during oci_pconnect() to check the connection validity. When4 W( T7 @! y6 ?4 u- x  _1 r
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ! u( U+ H1 [8 s# Q" s" f  B
  1239. ; pings completely.2 I7 i* w4 i7 w
  1240. ; http://php.net/oci8.ping-interval, z% v3 L4 C8 S: K% n
  1241. ;oci8.ping_interval = 60
      K7 w# I* P1 B. ~+ i3 `+ X. L
  1242. * ^$ [% Z8 u) Z: q
  1243. ; Connection: Set this to a user chosen connection class to be used4 e6 C1 D" T1 R; j6 d* f4 L
  1244. ; for all pooled server requests with Oracle 11g Database Resident- B! y9 E3 q: k
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to  r4 J. V# P! C' a+ Q( f
  1246. ; the same string for all web servers running the same application,, j6 j; U# y5 I( n
  1247. ; the database pool must be configured, and the connection string must! q, ^9 W+ ]. l0 x9 m0 `
  1248. ; specify to use a pooled server.
    ' A) H- u2 {3 ?4 ^( K5 q/ Y0 b& p
  1249. ;oci8.connection_class =9 }# N( M- m" {: A6 N3 ?

  1250. ! h* W# b/ A1 N/ @# r
  1251. ; High Availability: Using On lets PHP receive Fast Application, p, D! b* ~7 a5 Q# Q* }( Y3 p$ r
  1252. ; Notification (FAN) events generated when a database node fails. The- ]* Y3 B- j  k% d' a& Z
  1253. ; database must also be configured to post FAN events.% n4 `  V4 C' A+ c7 o$ M
  1254. ;oci8.events = Off
    % d4 p/ w( t1 B* Y. `. c

  1255. ) M2 a" Y! a- M2 D! Q4 a/ s' a
  1256. ; Tuning: This option enables statement caching, and specifies how. e2 G. F8 l  N- z8 O) s  s
  1257. ; many statements to cache. Using 0 disables statement caching.+ }9 G' f6 f! s- w, b4 q
  1258. ; http://php.net/oci8.statement-cache-size
    , c  h4 n" }; a' e! C- x
  1259. ;oci8.statement_cache_size = 20$ J, V  K) L+ b/ x

  1260. ' X' ]3 W" [& k* w8 ?% |8 k
  1261. ; Tuning: Enables statement prefetching and sets the default number of9 C- n2 f4 z) _% J: ?0 q
  1262. ; rows that will be fetched automatically after statement execution.4 ]2 _& P8 N. ]# G' \
  1263. ; http://php.net/oci8.default-prefetch
    3 U3 G( ~7 q1 ~/ Z" D6 s+ s  d4 {; ^
  1264. ;oci8.default_prefetch = 100; v( [! i8 R6 D" C' w% j# W: r
  1265. 9 A1 m  ^( q2 x% x% m
  1266. ; Compatibility. Using On means oci_close() will not close* N/ @7 |% J# w2 p" g
  1267. ; oci_connect() and oci_new_connect() connections.
    ; R8 f3 _1 m6 E4 K6 y
  1268. ; http://php.net/oci8.old-oci-close-semantics
    & G) s7 D6 `: S- |& h
  1269. ;oci8.old_oci_close_semantics = Off
    8 t- W. K, H; {

  1270. ; Y& |6 I5 g1 b1 u( H7 w% \
  1271. [PostgreSQL]  k2 ~4 i4 r8 @/ X( N) ]# `; f
  1272. ; Allow or prevent persistent links.  V. X* T5 E. u7 O% ^
  1273. ; http://php.net/pgsql.allow-persistent
    & u, n" o- [( K+ y. {
  1274. pgsql.allow_persistent = On
    ! R7 r  p3 d6 x' j/ j/ N

  1275. 3 M6 H; {1 {, v# x
  1276. ; Detect broken persistent links always with pg_pconnect().% G! \* L3 a3 ]1 i
  1277. ; Auto reset feature requires a little overheads.
    9 I- E8 b1 y$ Y
  1278. ; http://php.net/pgsql.auto-reset-persistent
    0 {# p9 t9 f$ A, ]! R
  1279. pgsql.auto_reset_persistent = Off
    ( k2 m% u. v9 B$ X- m
  1280. ( K: `+ L0 h( }1 e3 S0 ?: }, ]# A
  1281. ; Maximum number of persistent links.  -1 means no limit.
    + s5 M% [8 u. A& _
  1282. ; http://php.net/pgsql.max-persistent
    ; m5 \1 E" R# K, |
  1283. pgsql.max_persistent = -1
    + }) H0 W& Q, ]" g0 q* t5 t

  1284. 7 c& s) p, W; k& j+ Z" s3 F1 ]
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' m- ?# A$ R5 |  ?8 ~3 A
  1286. ; http://php.net/pgsql.max-links
    % L7 k& H5 B7 `# o
  1287. pgsql.max_links = -1
    3 a+ l0 u/ ^2 _$ S, x. C
  1288. ' u$ o9 ^" r. E& B0 f( e
  1289. ; Ignore PostgreSQL backends Notice message or not.; i$ a& H0 q) L
  1290. ; Notice message logging require a little overheads.% L% F6 t+ |9 e
  1291. ; http://php.net/pgsql.ignore-notice
    + Z6 {- e1 p* f3 I
  1292. pgsql.ignore_notice = 0! Z$ \  d5 {% V4 ~! p8 C6 e

  1293. / F& w% u8 E8 a6 ^
  1294. ; Log PostgreSQL backends Notice message or not.- P0 g( L. R5 o, P7 E  A% ]2 h
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.8 ~4 A/ ]4 _- c+ N' t& V
  1296. ; http://php.net/pgsql.log-notice
    ' _: Q1 \' N$ M
  1297. pgsql.log_notice = 0
    6 w/ P! g& y. A# |8 k* @4 N) x( O+ x3 \

  1298.   j  x7 \7 P8 o& l" b
  1299. [bcmath]
    ; f5 p8 \3 }" y4 a+ |
  1300. ; Number of decimal digits for all bcmath functions.
    / b5 E  ]4 O/ x( T' \  S  b
  1301. ; http://php.net/bcmath.scale
    3 v* D1 Y, b7 L
  1302. bcmath.scale = 0& m$ k4 y" ?4 H% Q# ~8 m

  1303. $ [! C2 w# Q- }3 M* A
  1304. [browscap]7 H6 `% l8 h1 K: j% m8 \* s( f9 j
  1305. ; http://php.net/browscap
    + Z# M. ~$ o* Y; j: ~  k8 U
  1306. ;browscap = extra/browscap.ini
    . d9 Q3 q1 j0 s1 S

  1307. / \1 [5 O3 r+ o$ {  K
  1308. [Session]
    " c( y& \+ M. n8 i' j$ Z
  1309. ; Handler used to store/retrieve data.
    " B! Z% {8 _, Z% Q
  1310. ; http://php.net/session.save-handler! t( S* C% H4 N! `9 k
  1311. session.save_handler = files
    3 q9 R% g# k9 A  w2 \! ]; i- m
  1312. 9 G5 j" ~+ C. S1 q# L( U
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    & M: R) b& a6 h9 S% A2 g* r( d) G2 |
  1314. ; where data files are stored. Note: Windows users have to change this( W/ X) G( ]4 r" i- x/ G
  1315. ; variable in order to use PHP's session functions.+ {9 a# M2 ~0 q# X
  1316. ;
    , z2 ^. h3 ~* H& o! A
  1317. ; The path can be defined as:
    , B* V1 A, y/ d$ Q( j( q# ?
  1318. ;# \, \" X7 [; L# g& `- j' b
  1319. ;     session.save_path = "N;/path"4 H) X/ @+ H! F* @' w( d" Y2 `4 D# s
  1320. ;. f8 o8 P' `; K0 D5 Q$ Q# s
  1321. ; where N is an integer.  Instead of storing all the session files in
    $ K$ }" T/ k, [" f4 s( H! _
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    . K1 H# Q5 S% k3 _0 L
  1323. ; store the session data in those directories.  This is useful if$ R9 \& W8 E0 Z$ j& ~3 U
  1324. ; your OS has problems with many files in one directory, and is6 e  r3 s+ c% a, i( V. Z" p
  1325. ; a more efficient layout for servers that handle many sessions.7 w( t! |, [: V
  1326. ;
    : K: @* P, C4 C) a
  1327. ; NOTE 1: PHP will not create this directory structure automatically.  D5 D6 m. B2 c; G/ n7 z$ `
  1328. ;         You can use the script in the ext/session dir for that purpose.$ r  g! y5 n4 N! y8 U0 H, w3 {
  1329. ; NOTE 2: See the section on garbage collection below if you choose to& b. a4 A  Z2 R2 U* G) |
  1330. ;         use subdirectories for session storage
    + S: P$ |; g2 I0 n
  1331. ;) L! D, j' T2 O" V1 ~- |: D
  1332. ; The file storage module creates files using mode 600 by default.2 k$ h" r5 t( j0 [
  1333. ; You can change that by using
      x$ e7 L. z+ i: |  ?
  1334. ;
    # J3 G* W# `& d9 t' l/ x/ m9 J
  1335. ;     session.save_path = "N;MODE;/path"3 c; J  a5 W  o1 X  B& d6 C
  1336. ;
    ( t% D2 G- k; t6 M
  1337. ; where MODE is the octal representation of the mode. Note that this
    ; f( N0 ~6 K5 B2 v9 [/ r4 p. W
  1338. ; does not overwrite the process's umask.  X) F* m: r  _; Z. D; L
  1339. ; http://php.net/session.save-path
    & M  ]5 @+ a# r! J
  1340. ;session.save_path = "/tmp"
    $ x+ D( F; n4 j/ r8 a" Y# w( o0 y
  1341. & a: ]; X! P' P3 I' h0 a! k
  1342. ; Whether to use strict session mode.
    % @# S9 Q  X. C: t
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate4 O$ Q4 j5 j) b* v5 Z+ K
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects! e/ i5 t- {" o, Y/ P& A
  1345. ; applications from session fixation via session adoption vulnerability. It is
    6 S. y9 z0 w* U. G2 P9 V5 ^" Q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    , ?2 s$ E9 s) I  p# I# `
  1347. ; https://wiki.php.net/rfc/strict_sessions" s9 @6 o9 K) o7 ~) B; L. e
  1348. session.use_strict_mode = 0
    # z3 p4 x  z! B; l* H
  1349. + P+ V9 M* R0 C+ b: u- k9 L+ B
  1350. ; Whether to use cookies.
    4 K# ~# W* e9 f: t( ~+ q
  1351. ; http://php.net/session.use-cookies5 S/ r) R& e' F, `( c
  1352. session.use_cookies = 1' r/ @2 S/ _2 O3 `- y- e
  1353. ( k! b# x7 g# \- s- o; p8 H; A
  1354. ; http://php.net/session.cookie-secure8 E' g- o! w1 V" Z; k+ J- |
  1355. ;session.cookie_secure =
    9 D2 P  l9 a1 \$ x
  1356. - y7 y3 A3 a: N6 I& v9 k) K
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    : G: J$ g' O* g
  1358. ; the session id. We encourage this operation as it's very helpful in combating  u2 }/ T4 V* t- K
  1359. ; session hijacking when not specifying and managing your own session id. It is' I% Q1 }! N3 e
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    3 u/ B4 K9 ]; Z  u' k, |
  1361. ; http://php.net/session.use-only-cookies
    ; U! t' S8 K8 l) |( b  `: x
  1362. session.use_only_cookies = 1
    - Q+ W; D% \$ s0 n$ H

  1363. * r+ m  }3 d4 K
  1364. ; Name of the session (used as cookie name).
    : x9 D5 E2 P! p8 I
  1365. ; http://php.net/session.name
    6 B" b+ x: R2 J4 S$ S
  1366. session.name = PHPSESSID6 Q" }) U8 H+ s  |% c0 I0 X
  1367. & a9 H. `  T7 P" I' c5 n" U
  1368. ; Initialize session on request startup.) T, b9 ~9 e, y! L
  1369. ; http://php.net/session.auto-start
    & v/ E; l+ A. }1 X& S5 C- F9 K/ ~( I
  1370. session.auto_start = 08 ?2 d9 y3 J; a8 u6 h9 J
  1371. : z8 U8 D# }8 C) ~* Y8 r, k
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
      B* z/ f8 A% n. z+ F* p1 [
  1373. ; http://php.net/session.cookie-lifetime
    : u, f- G9 j( k  B# y
  1374. session.cookie_lifetime = 06 J4 V( R9 G5 I" Q$ j0 I9 ^

  1375. % A1 O2 G. {" F8 ^
  1376. ; The path for which the cookie is valid.0 Y0 T- b0 J8 F8 ?  }, j* U& R
  1377. ; http://php.net/session.cookie-path9 A! O) {6 T) m/ C8 c
  1378. session.cookie_path = /
    % C# [$ b% e7 G4 e/ s5 J. b

  1379. % c) U- ~8 h0 `$ j" T4 B  R
  1380. ; The domain for which the cookie is valid.( d! _6 u) Y7 {( t2 P8 T
  1381. ; http://php.net/session.cookie-domain
    2 @( Q+ h: T6 N2 ?+ P
  1382. session.cookie_domain =
    3 O5 a( G& Z* n/ Y

  1383. 4 J5 ?( Y  J1 P0 y7 m4 G, K
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    # y- D! r" k% N: W( o
  1385. ; http://php.net/session.cookie-httponly! Z# x9 G$ G3 Z9 L; C9 Y
  1386. session.cookie_httponly =0 }" R6 Z6 i$ z# ]' ~
  1387. 7 `0 ~2 B/ r% m
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.6 K, W! j+ A6 H' E" P
  1389. ; http://php.net/session.serialize-handler
    - q: B5 W$ P1 P
  1390. session.serialize_handler = php% [; c8 v; v! t; D  L1 q  k, Y1 Q2 j
  1391. 0 j& N3 v5 O* P- {0 T* N% M& G
  1392. ; Defines the probability that the 'garbage collection' process is started
    4 L: I2 {6 `/ h
  1393. ; on every session initialization. The probability is calculated by using
    7 ^- U; G" P2 ~& h0 e* ]
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- Z6 u8 a' T% @, x7 K- A
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1& Y  i( w  V" A2 f
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 ]+ o4 R# f0 }; P
  1397. ; the gc will run on any give request.
    ) V0 w8 a0 R9 ^! [5 I
  1398. ; Default Value: 1
    $ J4 P- m! i) V* P) Y
  1399. ; Development Value: 1
    , _) S* b6 C; Z3 n/ Q2 B
  1400. ; Production Value: 1
    ' I4 O' A( v8 t6 f& ^% \' B6 @
  1401. ; http://php.net/session.gc-probability
    - F% I! `8 p$ M& W  j
  1402. session.gc_probability = 1
      @2 ?$ b9 }4 H3 c% W

  1403. 9 K: d4 s) J& m
  1404. ; Defines the probability that the 'garbage collection' process is started on every. d% V7 m" f9 c+ f. N# O) p
  1405. ; session initialization. The probability is calculated by using the following equation:3 D8 Z  C  X$ C; T  J
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    : {8 L( x" q8 B0 H! J/ n
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    9 P- s: t( \  Y8 v& n" Q% P" v  N
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 _9 r0 \! B) C& `, a
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you* I2 @# ?7 R8 R4 H, |( r
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    # Z" t4 K5 V% ~( K9 ]
  1411. ; this is a more efficient approach.
    6 D2 |( i# \/ }) g* q
  1412. ; Default Value: 100& z! }8 e! ~' d7 T6 N
  1413. ; Development Value: 1000( Y$ v5 A( r: F7 y- n
  1414. ; Production Value: 1000
    # t3 a3 Q( H1 V) j
  1415. ; http://php.net/session.gc-divisor
    $ Q# Z6 R0 V2 v6 }: V& c" ~+ z
  1416. session.gc_divisor = 1000
    9 E" ?9 k1 u& a
  1417. " O7 \8 }( t" a+ k2 l* c0 n
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    , g6 q( t, [' h+ \
  1419. ; cleaned up by the garbage collection process.0 N& Q# \0 v* a8 R) R& x
  1420. ; http://php.net/session.gc-maxlifetime0 M  ?6 T% j9 {! T
  1421. session.gc_maxlifetime = 14402 G' }* _0 l7 @

  1422. 6 K3 y3 q! h8 o2 `9 @
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    3 |7 a* c' b5 f7 E' C2 ^- {* x
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ) D* x1 b$ y" f/ y. @. H
  1425. ;       happen automatically.  You will need to do your own garbage. ^/ M; ~/ P3 D1 s. a5 l
  1426. ;       collection through a shell script, cron entry, or some other method.' \& l# S5 o- u6 E, t( F+ V1 d
  1427. ;       For example, the following script would is the equivalent of! ?$ `; _* z  j/ e7 y
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    5 K/ f; a7 E* b$ K( q. [# o0 m
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- N  I7 q& v' h& ?% v1 A
  1430. + x- k3 Q! _6 ^4 G. c2 e1 |
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    % T9 w( U% j( ]
  1432. ; HTTP_REFERER has to contain this substring for the session to be7 j5 f+ e( r# t5 t1 O9 j; V) h
  1433. ; considered as valid.
    8 n5 [6 V- k$ G8 L9 b, f5 S  z; p
  1434. ; http://php.net/session.referer-check8 [, u' H8 w8 ~2 T2 `& N- I
  1435. session.referer_check =
    " Q( q4 e4 Y& u) X/ M
  1436. 4 P- Y1 |0 x0 U" p+ v
  1437. ; How many bytes to read from the file.8 B  T/ ]) F8 h0 m
  1438. ; http://php.net/session.entropy-length# ~6 @2 ]' Q% B& c& S, `
  1439. ;session.entropy_length = 324 o* u4 M7 V' {+ Q/ D7 r# n

  1440. & h8 s# V! m( }& ~5 Q
  1441. ; Specified here to create the session id.
    5 y3 h& @" o$ [$ r. H6 T- P8 V
  1442. ; http://php.net/session.entropy-file
    6 C2 c% k: l" |% }4 R& y5 Z
  1443. ; Defaults to /dev/urandom
    2 l! @1 F5 f2 k! x8 O4 h, P
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom0 Q' `. [/ I! M- l9 U
  1445. ; If neither are found at compile time, the default is no entropy file.
    + D. s; n" B# ]- E2 t
  1446. ; On windows, setting the entropy_length setting will activate the
    & {& q' J! Q0 p/ [3 l% {
  1447. ; Windows random source (using the CryptoAPI)
    % I6 N" @  ^6 B5 j8 o+ v9 j
  1448. ;session.entropy_file = /dev/urandom! S2 |( q1 s7 q0 i

  1449. 7 \+ f( O% E0 U3 \! m7 _
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    9 `' J. E8 s" Y( h. ?6 \3 X# m! W. H
  1451. ; or leave this empty to avoid sending anti-caching headers.
    1 H- S# {% h2 C; i4 r
  1452. ; http://php.net/session.cache-limiter3 Z: W) C" ~* W& f# s: f, {
  1453. session.cache_limiter = nocache
    ) `/ n$ c9 K3 i% M
  1454. / ~( r1 y  e$ Q5 r: q
  1455. ; Document expires after n minutes.
    / a3 F$ L8 v$ Y$ w- m
  1456. ; http://php.net/session.cache-expire
    " M' I; ]! ^# h* M# r
  1457. session.cache_expire = 1801 X1 p6 [/ n( C4 h& [

  1458. $ g2 x4 b$ l$ v) P) t3 }
  1459. ; trans sid support is disabled by default.
      {$ X0 x% A: b$ H  G8 \
  1460. ; Use of trans sid may risk your users' security.$ t7 F" U( R' i. Z$ n
  1461. ; Use this option with caution.
    9 ]9 M& m: c( k7 ]: z; y" c3 }4 L
  1462. ; - User may send URL contains active session ID' u+ P; r  |$ n- L0 ?# o/ n1 |
  1463. ;   to other person via. email/irc/etc.+ E( q( p6 K- N# r
  1464. ; - URL that contains active session ID may be stored
    % n7 e0 g! m) Z
  1465. ;   in publicly accessible computer.
    ) e( `5 \+ d7 q; [; a- Z  j
  1466. ; - User may access your site with the same session ID
    7 B. g- C  u( ]$ d3 ?, [
  1467. ;   always using URL stored in browser's history or bookmarks.
    ' u! L+ ]9 S: B4 ?# d
  1468. ; http://php.net/session.use-trans-sid( ]* @  I3 {! t5 x
  1469. session.use_trans_sid = 0' y0 i+ e4 q6 \
  1470. # M) ?9 E' y' F/ j, d2 ^
  1471. ; Select a hash function for use in generating session ids., ~& T3 E( u# K9 Z
  1472. ; Possible Values
    5 ?' j5 I4 [, [9 A7 L* |
  1473. ;   0  (MD5 128 bits)
    ; J2 s& c# L6 f4 w7 e/ n0 x
  1474. ;   1  (SHA-1 160 bits): W* R3 r# H6 r0 w% x
  1475. ; This option may also be set to the name of any hash function supported by
    3 _; @/ L2 C( x4 N8 q9 x
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()1 t9 {+ L( `3 w4 F* d
  1477. ; function.
    & {3 ?8 f6 i3 F: F. b
  1478. ; http://php.net/session.hash-function
    & A( q5 Y  L" J1 I0 Y
  1479. session.hash_function = 0. V' U! N# v2 V( I* q5 @" N# x, b

  1480. ( ?) m% ]+ |* Y+ k/ u
  1481. ; Define how many bits are stored in each character when converting+ V( V/ |, {: a4 U% ^6 i& W0 N
  1482. ; the binary hash data to something readable.
    , z& b2 c: j' Y0 O" r: n& o
  1483. ; Possible values:
    7 f; `0 ^7 z1 d& h. G- r- a
  1484. ;   4  (4 bits: 0-9, a-f)& M  f" C3 S4 D4 ]# x! _' C  G0 k6 @+ Y
  1485. ;   5  (5 bits: 0-9, a-v)
    8 N. ^* s3 G- b3 J1 r( M
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( ?0 Q6 m( q# i* Q: M3 s
  1487. ; Default Value: 4
    - {8 l+ t* {2 a# f; `
  1488. ; Development Value: 5
    0 N$ q6 P0 L" S
  1489. ; Production Value: 5; Y6 ?6 i& o+ g
  1490. ; http://php.net/session.hash-bits-per-character" `2 h. L4 z9 N- `) Y+ _
  1491. session.hash_bits_per_character = 5/ ?4 H& X$ `; C

  1492. 9 M2 J! f* H/ s. ~
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    5 J9 A. \6 S+ n4 x: g
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    " w2 g* \9 N2 l+ R' Y
  1495. ; add a hidden <input> field with the info which is otherwise appended
    " O4 a4 B& g- E! {/ x
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    3 h; M" q, t6 J! v* y
  1497. ; Note that all valid entries require a "=", even if no value follows.
      A* j4 x( S  H( C* I% M9 q
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 U! ~5 I) v+ y* m7 |7 g  b- }
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' n. u6 p; p. m4 _1 p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 K) g9 Q# e  N/ Y6 m1 L. X2 a
  1501. ; http://php.net/url-rewriter.tags1 t( R' H% [6 ~/ P$ ~4 o7 ^6 k
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) S) }- k' {$ w1 H
  1503. 3 A9 g5 K* P1 r3 x  Q0 Z
  1504. ; Enable upload progress tracking in $_SESSION
      X. O6 }' o  D
  1505. ; Default Value: On. B) e, W+ E2 z- s$ r* }
  1506. ; Development Value: On# z" R1 c0 z& K7 Z; A  i2 ]
  1507. ; Production Value: On
    & Y; f% c; ~4 |7 f
  1508. ; http://php.net/session.upload-progress.enabled! L  D, U9 y+ l  N
  1509. ;session.upload_progress.enabled = On
    8 ~. V2 s+ o  h

  1510. 6 \5 l: }* S9 a6 T7 X- _/ @
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ; C. m0 k7 i$ M9 K
  1512. ; (i.e. upload completed).4 l/ s. z. i' W: Q, n. K$ a- Q
  1513. ; Default Value: On5 e0 D0 b" C6 ]! F  e- Z* R6 `
  1514. ; Development Value: On; D# ?  T: p' A- n& D7 W3 D
  1515. ; Production Value: On
    , J: y5 `! L+ A9 M' X+ ^5 h
  1516. ; http://php.net/session.upload-progress.cleanup! N; e# @& n$ P& u) s- g
  1517. ;session.upload_progress.cleanup = On- g0 a* n0 o2 N6 F
  1518. " P  T0 f1 T+ y( _" [4 S" ?
  1519. ; A prefix used for the upload progress key in $_SESSION
    ) w( |: q* v9 k8 L5 ^
  1520. ; Default Value: "upload_progress_"- Q! l5 R& |! \4 U. {
  1521. ; Development Value: "upload_progress_"8 m  v  `0 t) M6 i' |
  1522. ; Production Value: "upload_progress_"$ |2 d, c! n9 x0 n) C; o6 B: X1 G9 ~
  1523. ; http://php.net/session.upload-progress.prefix* k9 U. K8 K; A& h: I- E8 o
  1524. ;session.upload_progress.prefix = "upload_progress_"
    0 g! C: q( x4 Z# t$ M  l
  1525. 6 `1 u* ^: ^, e! T
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ) v7 L2 I' S+ o6 i2 i+ |* r
  1527. ; containing the upload progress information
    0 B# u+ l3 F. _0 n. s3 k& p- U7 n' b( @
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) a: ]( X6 l# J- d6 R1 N" {( `& S
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"' r# v4 G, f- y2 [! `
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"# h  G! d! Y  K6 O  ~
  1531. ; http://php.net/session.upload-progress.name( J: u+ k% N) Z# Y4 O
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"0 f6 |; I9 r, ^1 W

  1533. 5 K6 n* G6 u2 C
  1534. ; How frequently the upload progress should be updated.
    3 C$ P% {, U) U+ j7 p( T8 J+ r8 s: a" |
  1535. ; Given either in percentages (per-file), or in bytes* J0 x& U+ p7 F( f7 N
  1536. ; Default Value: "1%"6 t' y# L3 X4 m  c0 L2 M! A" a
  1537. ; Development Value: "1%"( [) @, M, _3 t) @% M$ e+ q
  1538. ; Production Value: "1%"
    2 O) s" W5 X9 y) n3 Y5 b
  1539. ; http://php.net/session.upload-progress.freq# R7 q" p& P! g: E# u
  1540. ;session.upload_progress.freq =  "1%"( Z* W+ j  ^* R% p1 O

  1541. ( k* p5 u3 X2 ]8 W+ R: Q: u
  1542. ; The minimum delay between updates, in seconds( }2 l! G6 i: Y
  1543. ; Default Value: 1
    5 j% {) n7 {4 |& y; v
  1544. ; Development Value: 1
    : T, V+ b) O1 g3 d" e
  1545. ; Production Value: 1
    # z- {2 Z9 B+ t6 d
  1546. ; http://php.net/session.upload-progress.min-freq+ V3 w) @4 f8 O# t
  1547. ;session.upload_progress.min_freq = "1"
    2 R: J& O  _; f2 K3 S
  1548. & w7 r0 Y) o( {; b* e
  1549. ; Only write session data when session data is changed. Enabled by default.
    7 y( ^* I$ R4 w2 h7 w! _/ L7 p
  1550. ; http://php.net/session.lazy-write4 Z( D# u8 Z4 V, x& Q# ^
  1551. ;session.lazy_write = On9 T2 `! I# |9 c- l

  1552. ; r2 V6 P) ?; }( W4 H1 e
  1553. [Assertion]
    # n4 ^. d, h) d4 D$ S$ m
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)% u" {6 ^$ S) t  ?! |
  1555. ; -1: Do not compile at all
    # N  q( L6 l, w. c
  1556. ;  0: Jump over assertion at run-time
    & i7 m3 m0 z% k
  1557. ;  1: Execute assertions5 o" G' g2 J* t* ?& ~/ b# u
  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)) H+ G7 U$ k! Q# \
  1559. ; Default Value: 1% G0 ~- v' a, |& m4 V
  1560. ; Development Value: 1% H: E# h. E, K# b. W
  1561. ; Production Value: -1& _7 i  A5 |1 d( e5 k/ f: @
  1562. ; http://php.net/zend.assertions
    0 O! u" }% Y! W' z$ w$ ~
  1563. zend.assertions = -1
    . [% d( h9 [+ E' |" t% ^  F
  1564. " C+ f- _. Q0 Y+ b2 }
  1565. ; Assert(expr); active by default.
    % X7 @0 a# B$ @$ ~/ G9 m2 [2 M
  1566. ; http://php.net/assert.active# Q% [& k9 j; {, o% B$ E
  1567. ;assert.active = On0 G4 ~, ~" n! v1 n$ S' W
  1568. 0 o4 k8 S4 R9 a2 U6 V, f) l
  1569. ; Throw an AssertationException on failed assertions
    " P9 \+ D- Q2 E) v7 M, a. W
  1570. ; http://php.net/assert.exception
    8 V& `$ i# H! ~6 m/ N/ s
  1571. ;assert.exception = On
    3 n$ y$ e; Q0 q# M

  1572. + w' j! o* o9 `% o9 A5 G- b" d
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    & U1 z3 N' S0 Y0 w
  1574. ; http://php.net/assert.warning, d# t' M8 m. J( N) x4 V  a, X  v
  1575. ;assert.warning = On  s0 y7 N( |8 n# Y; p! r- V
  1576.   E' T4 F( g% `( ^' a7 K1 L& A
  1577. ; Don't bail out by default.9 T7 t, x; {4 H6 `. |- R4 i
  1578. ; http://php.net/assert.bail6 O+ w: O/ m) v4 \, Q6 Y
  1579. ;assert.bail = Off/ q* d: S5 \: ~4 g. M

  1580. " r3 a% J+ g4 i( }% V
  1581. ; User-function to be called if an assertion fails.5 r; B  y* L& X9 s
  1582. ; http://php.net/assert.callback
    : r0 I4 ~1 F! }. _
  1583. ;assert.callback = 0
    " g' e# R% C% e* v/ E; `9 d3 D
  1584. & {7 S! O4 e9 u  b4 W$ {% w
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    , K0 t- z2 q( d, R5 N
  1586. ; error_reporting(0) around the eval().
    1 V, [8 G; K2 C2 I6 r
  1587. ; http://php.net/assert.quiet-eval
    8 Q- g9 x. M' j1 e  o* v6 x+ V
  1588. ;assert.quiet_eval = 0" K, l4 G- j  P
  1589.   o4 j' u! k9 w6 I" W
  1590. [COM]9 a+ m+ \5 w" z) E$ L; r- M- X
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs& u% V# j1 ^! }0 x8 j6 ~
  1592. ; http://php.net/com.typelib-file
    4 F. ^: z0 `( X! q; I3 p$ K. m
  1593. ;com.typelib_file =
    . {0 N; Q2 i  r, c6 _  y6 d; o

  1594. $ _7 f# x+ l- X' U2 `
  1595. ; allow Distributed-COM calls
    8 O; }' }9 A9 W- A5 ]2 z' h) x$ U$ g
  1596. ; http://php.net/com.allow-dcom
    3 Z  W& A0 I% Y+ g5 w" C, O/ F
  1597. ;com.allow_dcom = true
    . L' p, _$ m8 w1 A' E: d9 i
  1598. / |$ }* ~. {3 [" w( w0 Q) N
  1599. ; autoregister constants of a components typlib on com_load()  b/ c& {: K- x6 c7 L% V( T' P" z
  1600. ; http://php.net/com.autoregister-typelib
    7 ]1 Z0 I, H1 H1 D" z' a
  1601. ;com.autoregister_typelib = true
    7 H, {0 ~+ b" O' \/ h/ |
  1602. 4 ]6 A0 n* n0 [% P
  1603. ; register constants casesensitive
    8 o. q1 `/ w, ~% k& x* j  x
  1604. ; http://php.net/com.autoregister-casesensitive1 P6 ^5 C, a/ _! [! f! u; Q
  1605. ;com.autoregister_casesensitive = false; r* u3 y4 Q5 I

  1606. 8 S9 d3 Y" o$ R$ W6 ]8 r
  1607. ; show warnings on duplicate constant registrations
    - D: [3 q" [5 l9 j) t8 J1 f
  1608. ; http://php.net/com.autoregister-verbose
    % k0 o- b: j1 y5 b8 U
  1609. ;com.autoregister_verbose = true% V4 K. o) }& E, {, j9 n

  1610. $ m4 X$ U& X+ s6 K' E
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
      K  [7 U4 J& G3 i3 [+ ~
  1612. ; Default: system ANSI code page
    $ A" S# Y0 D8 u' h" p3 d" w& r
  1613. ;com.code_page=; f! u4 h% k. v1 `8 z- D

  1614. & e' h' c& W- d
  1615. [mbstring]3 N, }2 o% R# S) O# _9 y
  1616. ; language for internal character representation.
    ' ]' l5 c' D$ z! ^  V# z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    9 c7 `, x; c. S* D: a
  1618. ; http://php.net/mbstring.language
    6 n2 ~( |, U" d8 |) r5 H$ m) U2 i3 w
  1619. ;mbstring.language = Japanese
    ' J, x8 M2 D3 a& {. y

  1620. + A% W2 u- y4 P' b! L+ I: A' j" x/ a9 E
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : b- k; _- @5 i9 z' i  p; o# E
  1622. ; internal/script encoding.$ z1 a* S9 g# k6 d& A) I
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& n0 I. `: n% n! H' ~1 P+ m8 \1 P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 N( `' \8 X; y$ ?0 B  B. r# _
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding# d" J4 g# r4 D
  1626. ;mbstring.internal_encoding =9 J: A5 `2 A" n: \9 u7 T, M

  1627. # Y' t2 U+ \! P2 S3 y( U
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , K; S( _. x+ x3 L
  1629. ; http input encoding.
    ! B' y& v+ P" U+ k) M' U
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.  y5 V& A; F4 |% d! k
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    6 ?% O- c6 I$ W0 D0 e; M  L" g
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ( h! }* p3 L4 a
  1633. ; http://php.net/mbstring.http-input& Y* w/ m8 J# Y3 a6 s
  1634. ;mbstring.http_input =
    . N& k1 h. {( b" _0 Z2 _" ~) ?
  1635. 2 k" p7 y  v& |4 A1 O7 U
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.5 J( F' u. l4 J% R0 w# p* o
  1637. ; http output encoding.; u# z7 v7 n" X' r2 C/ B3 i* p
  1638. ; mb_output_handler must be registered as output buffer to function.
    # O, S! N: w: J+ J, c: I! F
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# [1 Q) }+ y, D& I1 o( v
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    / W9 G  w1 L9 U( m) Z
  1641. ; To use an output encoding conversion, mbstring's output handler must be set9 i  f  u# \+ Z
  1642. ; otherwise output encoding conversion cannot be performed.
    : I! v' M- g- x/ \
  1643. ; http://php.net/mbstring.http-output2 W9 Y0 b* X% H, w6 c5 N6 \
  1644. ;mbstring.http_output =$ B9 [( r. z# |  y# z: @

  1645. . r4 u5 e5 O* \+ t9 k- j( K- ?4 V
  1646. ; enable automatic encoding translation according to9 p" K/ e) ?: ]
  1647. ; mbstring.internal_encoding setting. Input chars are  L( _' r% p! R6 K( S" ?
  1648. ; converted to internal encoding by setting this to On.
    5 ]3 ~+ h+ B4 Z  E
  1649. ; Note: Do _not_ use automatic encoding translation for
    0 F7 U5 K$ s& t) S3 |
  1650. ;       portable libs/applications.8 D% C! K4 j! x! [: k' o
  1651. ; http://php.net/mbstring.encoding-translation7 g3 P4 g& t0 N& a( J' v
  1652. ;mbstring.encoding_translation = Off
    # B% ^: C: v/ c1 R, h! g- Y
  1653. $ m. V" [+ H5 H& |; q& O/ B
  1654. ; automatic encoding detection order.
    0 V* u7 \' F( T1 P! P8 @
  1655. ; "auto" detect order is changed according to mbstring.language& T+ g5 n" R$ d) B4 G  \% o# z
  1656. ; http://php.net/mbstring.detect-order: S: u7 `6 {. m+ @
  1657. ;mbstring.detect_order = auto8 n3 g8 E5 A) t/ |! A" \7 n3 ^

  1658. 9 b4 h: q$ f# k7 F# E
  1659. ; substitute_character used when character cannot be converted3 {0 c: i3 k( n* r  O
  1660. ; one from another; z$ E3 ^- N8 x
  1661. ; http://php.net/mbstring.substitute-character. j+ W7 U( Z/ J
  1662. ;mbstring.substitute_character = none
    . o' F. Y7 \$ P! w% Z. v  {5 {9 R
  1663. ; n1 J( I+ y4 U3 z8 J
  1664. ; overload(replace) single byte functions by mbstring functions.
    " J5 p* U. ~8 O8 R
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),, C( Z, b. g! b9 b6 y4 S* t8 s
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.$ A* M- o' A4 t2 g& k; z- o
  1667. ; For example, 7 for overload everything.
    . o9 ~( S4 K' s# X- ?  g
  1668. ; 0: No overload! b; }7 G1 V1 G& _/ {
  1669. ; 1: Overload mail() function
    + e* ?4 b7 C9 N- _* ~: b
  1670. ; 2: Overload str*() functions# Z  w; T2 {9 l0 t7 I4 R
  1671. ; 4: Overload ereg*() functions6 Y7 Q4 R( A, O4 v
  1672. ; http://php.net/mbstring.func-overload. E+ ]9 ]) y2 l- n) c# ^: c
  1673. ;mbstring.func_overload = 05 T# W2 S, F. `, R
  1674. " E+ a) h) a' S3 N
  1675. ; enable strict encoding detection.
    % f2 F( ?/ h: \# _" {' g+ C# [
  1676. ; Default: Off
    0 @% B0 E9 p" _. q- d0 x/ o7 b
  1677. ;mbstring.strict_detection = On9 l! B3 H) h. a( f5 s5 Y! {
  1678.   K% F8 |. s% l; F" z6 j
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()6 u& F! w5 w& l' L: k% L' |( h  K7 n
  1680. ; is activated.8 ~6 U9 W: E. Z! q4 E( A; ]2 X. E  N
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 E2 h6 p/ I# O
  1682. ;mbstring.http_output_conv_mimetype=
    6 R: t. D. f( e& W/ Z  }

  1683. ! |/ Q6 Z# ]: @9 G0 S
  1684. [gd]
    % }$ N7 a1 Y3 G3 K, p* L
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    & [/ }) Z' p6 Z* }0 K) k
  1686. ; a gd image. The warning will then be displayed as notices0 G8 J# u- b, G. A
  1687. ; disabled by default
    2 ~" Y7 e: B- [7 S4 I
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ) l. I0 I" ^1 Q5 T: {8 n& M
  1689. ;gd.jpeg_ignore_warning = 0
    # D+ i8 o6 R1 M
  1690. * }/ M/ w, ^+ B! r
  1691. [exif]
    ; V& J& a+ c4 c2 ?& s
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.! E1 w: K6 H  Q  y7 K1 ]/ M
  1693. ; With mbstring support this will automatically be converted into the encoding
    " b7 u9 d+ [( v! r3 k
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding; W2 c7 v* G# L: W- g4 k0 d
  1695. ; is used. For the decode settings you can distinguish between motorola and3 o( J) z5 E) w
  1696. ; intel byte order. A decode setting cannot be empty.
    1 o# L9 @9 Z, r" d- ?, F5 {3 \
  1697. ; http://php.net/exif.encode-unicode% r' D  V6 l" f+ J4 J2 e: t: M  L
  1698. ;exif.encode_unicode = ISO-8859-154 Q% Y7 a# ]5 |
  1699. # `: ^; X4 n. p3 r& p+ d) ]8 Z
  1700. ; http://php.net/exif.decode-unicode-motorola
    $ u$ `6 R: w( `6 o) J
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    # ?/ e  R4 z7 t8 y  ]: k- m
  1702. " i* a. a7 ]1 h  a3 e
  1703. ; http://php.net/exif.decode-unicode-intel
    " G( b7 Y6 @' G
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    % n1 T" H1 X3 u# o+ g7 l4 [

  1705. , z; Z4 q; C8 z, g
  1706. ; http://php.net/exif.encode-jis7 U( N  s0 n7 v* z
  1707. ;exif.encode_jis =
    . ^& K: q( u* y1 u3 X$ k% m! [
  1708. 3 y! t* _3 O: ^3 L# o4 J& z4 V
  1709. ; http://php.net/exif.decode-jis-motorola
    3 G# p0 G6 u4 O0 L, Q+ h! X+ A
  1710. ;exif.decode_jis_motorola = JIS; `" N6 F% B1 e* ~/ I) f
  1711. % a; b2 d3 E6 z$ ?
  1712. ; http://php.net/exif.decode-jis-intel; C& n$ O+ N0 N+ k% x
  1713. ;exif.decode_jis_intel    = JIS, |( k2 o0 j% }3 h
  1714. : `+ p+ }9 q2 N# z& Y% A, R/ K
  1715. [Tidy]
    $ v6 B0 P2 h% k$ @) b  q
  1716. ; The path to a default tidy configuration file to use when using tidy1 P1 O& V) x+ ^; W9 \8 s: i% I
  1717. ; http://php.net/tidy.default-config  U& D, ?4 }( o( D6 ^/ {1 f1 g% Q5 ?
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ) y# e7 K1 J4 ?

  1719. 7 _1 P- }( y- p6 W
  1720. ; Should tidy clean and repair output automatically?
    5 G; M& r+ S" G$ R8 I8 K- x9 S
  1721. ; WARNING: Do not use this option if you are generating non-html content( |. ?" H) C7 n9 J3 y4 X2 w/ }' F
  1722. ; such as dynamic images
    # \5 @9 F: G2 V8 _
  1723. ; http://php.net/tidy.clean-output
    . y& U/ ?/ `1 t. I1 U6 A" X. L
  1724. tidy.clean_output = Off2 R8 F: [0 E4 {/ J) T8 C
  1725. 5 S% \$ C8 d( D9 g! b
  1726. [soap]: T% R" t2 S& e9 s& V, d6 W% @( D* L. i
  1727. ; Enables or disables WSDL caching feature.
    3 e1 V3 X! O' c! O! B
  1728. ; http://php.net/soap.wsdl-cache-enabled8 ]+ v0 i/ m( Q- x4 S1 _
  1729. soap.wsdl_cache_enabled=1
    ; }" h! l4 N7 U
  1730. 1 y) A' L/ m2 s/ b6 R' p+ q
  1731. ; Sets the directory name where SOAP extension will put cache files.% v: V5 v' b7 S# G( H/ I
  1732. ; http://php.net/soap.wsdl-cache-dir, n, E, ?) c/ Y6 B
  1733. soap.wsdl_cache_dir="/tmp"
    ! j+ V! D( K* B
  1734. 5 R0 T3 Y/ G6 A* I9 t2 J) b7 a
  1735. ; (time to live) Sets the number of second while cached file will be used3 z$ T) k2 k+ _3 h
  1736. ; instead of original one.
    0 Z# ?( ~; _  p$ \/ q  z
  1737. ; http://php.net/soap.wsdl-cache-ttl5 G; _  ?; ^. ^0 u& J# d- I: T
  1738. soap.wsdl_cache_ttl=86400' k; N5 P4 d, {' W
  1739. 8 I5 h6 T1 k$ V, e1 s) L8 [
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    1 J) ~4 S/ `4 `8 |+ N. `4 t( w
  1741. soap.wsdl_cache_limit = 5
    6 l, }  a# |4 E
  1742. 7 S) i7 m' p* b$ ~9 t7 s# R
  1743. [sysvshm]
    9 L3 ~- ~& ]! a9 z- D& i- y2 ~4 Z  ~
  1744. ; A default size of the shared memory segment) `' y/ o# D1 K7 b. s
  1745. ;sysvshm.init_mem = 10000& J! a& \' A# j7 `9 z8 k0 ]

  1746. / H- b  P" F. d/ u* E  _" O
  1747. [ldap]! b! l7 F- s; J9 n7 }$ f; w- b3 w; l
  1748. ; Sets the maximum number of open links or -1 for unlimited.- i' {! f2 ^+ g8 H/ j1 S: U9 N
  1749. ldap.max_links = -1$ h8 D4 F2 |8 T8 e) n

  1750. * N6 p  ]2 S# }) Z& M) A6 R- m# F
  1751. [mcrypt]
    ( N1 p. i! n* b* O4 J
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 m2 b/ u" q6 L: z  l, G1 U% q0 @

  1753. ; q: g5 j$ B- W" L. [0 g0 u: a
  1754. ; Directory where to load mcrypt algorithms
    2 _5 s& O" }, J" G
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 u" h8 o% v- N3 ]
  1756. ;mcrypt.algorithms_dir=
    ( s+ c: L3 m$ E: a; Q! v; v! o
  1757. 5 Y) h& ^3 d- v/ Q$ o" \
  1758. ; Directory where to load mcrypt modes+ A, }8 L0 m1 n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 e: u8 u& x# u6 X2 U
  1760. ;mcrypt.modes_dir=
    ' {( A' j; R1 V7 T
  1761. / n7 Q* d% C" C. R  Q- |
  1762. [dba]- G& z" S+ T( H
  1763. ;dba.default_handler=) W4 v1 P$ U* v  F3 Y
  1764. 3 L7 \: L+ ]3 N# Y$ Y: ]
  1765. [opcache]9 {, a* \, F' `8 i/ p2 g
  1766. ; Determines if Zend OPCache is enabled3 @6 j& W8 a/ y& X
  1767. ;opcache.enable=0
    # |$ y/ W% h" w6 e
  1768. $ l, Z& [; [6 |: ~1 a' ^
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP. I- t0 B) ~/ a
  1770. ;opcache.enable_cli=09 ^0 O' {8 u& D/ j  N
  1771. , o' |# A3 w# X5 d# p
  1772. ; The OPcache shared memory storage size.
    . h3 w2 b0 [% g6 f( I( l9 H1 _
  1773. ;opcache.memory_consumption=64
    7 a* ~- M3 |7 Z1 S
  1774. : W2 ?2 o! Z- Q4 B5 V6 K
  1775. ; The amount of memory for interned strings in Mbytes.; C4 Y, d6 g7 l; z, O
  1776. ;opcache.interned_strings_buffer=4
    - V0 w; n- u% L& \/ P

  1777. ; Q8 I* v* c) h2 ?% x( \/ \: l, Y
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 q/ T8 W0 t6 U
  1779. ; Only numbers between 200 and 1000000 are allowed.! w, w6 R7 {& ^! M
  1780. ;opcache.max_accelerated_files=2000
      a2 [5 ^' @& ^- G

  1781. 2 o7 T' V! v7 Y
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 S; Z% @  Z5 b9 z7 F& T' g
  1783. ;opcache.max_wasted_percentage=5
    - Y4 d5 L7 q! T. F5 L+ U' Q0 A0 l$ I

  1784. " [/ B- s8 `( S# A# x+ |6 ]: ?; }8 Z
  1785. ; When this directive is enabled, the OPcache appends the current working5 r1 ]4 f0 _, \7 R
  1786. ; directory to the script key, thus eliminating possible collisions between
    $ f9 P; J$ Y& |3 |) m  [. d" E; C
  1787. ; files with the same name (basename). Disabling the directive improves
    8 B" U- K, S9 H& K: b0 ]- o, B" g# I
  1788. ; performance, but may break existing applications.
    6 y1 y$ t5 v/ E$ d3 n# g# K; J
  1789. ;opcache.use_cwd=1& h' B5 |" P# ^! a$ u8 z. F5 Y0 _
  1790. , w5 q- i. |# g7 c
  1791. ; When disabled, you must reset the OPcache manually or restart the1 V; s6 f1 P( \$ f4 E) N
  1792. ; webserver for changes to the filesystem to take effect.
    ; Q$ U' u" [0 C. ~+ _* ^
  1793. ;opcache.validate_timestamps=1
    # a1 B7 W2 z9 B( `9 Z

  1794. - U- v9 r# K6 H4 K4 S
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    , `% |' m! Z3 C5 G- L) x" k  t
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    : {" W  S% O9 U! R; `- u3 m
  1797. ; once per request. "0" means always validate)+ k' T  b' x/ s; X% c2 |* \
  1798. ;opcache.revalidate_freq=2
    ! t+ |# y4 |' a0 v3 U; V5 X

  1799. 3 l$ h0 }' R  ^; N: g* ]
  1800. ; Enables or disables file search in include_path optimization6 l2 \! G3 V' f, a. r+ \3 v$ B
  1801. ;opcache.revalidate_path=0$ H! T% _/ u$ g! u6 @4 l

  1802. " f$ E9 k& Z* c
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 Y; G5 R0 X; x  U. ]6 x/ K6 E
  1804. ; size of the optimized code.
    9 y8 c  @; [/ K8 C( I6 J
  1805. ;opcache.save_comments=1
    % G! O& ^, M; ]: z2 z. y
  1806. - [* p. G- \( H9 |# r
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    9 b8 D& t' W3 m- S2 D4 L
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    / G4 N7 {# [/ @+ o& j
  1809. ;opcache.fast_shutdown=0
    9 l/ M7 [9 y& X8 Q+ N8 f& p5 A

  1810. 0 l8 P, d$ X' k7 k
  1811. ; Allow file existence override (file_exists, etc.) performance feature./ G. [: G  v' i+ |; q$ K6 q4 U3 G9 X3 J
  1812. ;opcache.enable_file_override=00 o* V+ s1 H; R) s/ K
  1813. 4 W. R) s( ^# Q6 S
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    8 ~  t% p( a0 D! `# h
  1815. ; passes
    # T4 y) e; n; b$ h3 s8 J2 V
  1816. ;opcache.optimization_level=0xffffffff
    4 |1 [9 x# a3 O: y7 @) {
  1817. ! D' x- r, n6 e6 F' y( _* n2 ]
  1818. ;opcache.inherited_hack=1
    3 @1 R$ {6 X+ `
  1819. ;opcache.dups_fix=0% n! E) R) S3 P# o4 V

  1820. , N: @% i6 f2 c: K$ M. N
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ( v( m! E5 ?& ^4 G$ `2 Y
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    4 U$ ~" Q3 `' g+ s( s
  1823. ; that should not be accelerated. The file format is to add each filename
    ( J1 Z8 Q  i; m9 u+ L6 g0 g
  1824. ; to a new line. The filename may be a full path or just a file prefix
    / s) n8 y6 f/ r. `
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / J" ~/ U1 J9 j$ L
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments)./ O4 c) ?& k$ i. _
  1827. ;opcache.blacklist_filename=3 p# E9 m* Q( a9 S/ I& m7 e! q* ?

  1828. 2 |( H' ?  g2 W- x! P
  1829. ; Allows exclusion of large files from being cached. By default all files
    1 X% l4 l6 K  v; |9 l: ]* \
  1830. ; are cached.+ U" j1 r0 I4 I
  1831. ;opcache.max_file_size=04 e2 Y* M0 s: b

  1832. 3 }/ w3 c) T3 L% }9 \. I
  1833. ; Check the cache checksum each N requests.
      G- F. X* Z2 G2 m; \
  1834. ; The default value of "0" means that the checks are disabled.  q, I( ^; q& T$ l
  1835. ;opcache.consistency_checks=0
    : S  {% h5 \( o7 ?5 j- E$ h4 v
  1836. ' @8 L6 I' E9 _8 U' M5 w
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    / z2 w8 \, E3 ~
  1838. ; is not being accessed.9 C; Q$ I# e' n, E" a( A7 q
  1839. ;opcache.force_restart_timeout=180
    0 v1 y9 E& I- p$ ]% N  n/ d" o
  1840. ) m  X3 S+ ]  z! @  m
  1841. ; OPcache error_log file name. Empty string assumes "stderr".2 `: _1 k8 J$ P. Q
  1842. ;opcache.error_log=
    " k+ ^2 i7 H) B7 _
  1843.   W9 {7 L) Y/ v
  1844. ; All OPcache errors go to the Web server log.
    - M3 z, I2 s, D5 ^9 n% n6 B
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 y; b2 H* z! u' d) R5 d' u# n$ U+ s( T
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    8 U7 M  v  m: n9 }7 M1 F( F
  1847. ; debug messages (level 4).5 G  H4 ?. O9 l( f8 K  y
  1848. ;opcache.log_verbosity_level=19 g$ o6 N$ C6 ]8 Z' F" ?& f
  1849. ) |- T' p% Q! G7 E
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' R" w: F0 S! Z* D6 {3 ^
  1851. ;opcache.preferred_memory_model=
    # T6 \. N  k- @: B0 d& o

  1852. & A% N+ O. N' F( }
  1853. ; Protect the shared memory from unexpected writing during script execution.
    . M2 q( y3 y% T. V
  1854. ; Useful for internal debugging only.
    * A% ?  ~6 y) S& C% b5 x+ s' C
  1855. ;opcache.protect_memory=0! i: A( f8 j: d- {& V: X
  1856. 7 Y# O1 I7 r/ w+ L9 E- ]
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    # n% u$ ?/ Y& m) z1 ]( q/ h8 D
  1858. ; started from specified string. The default "" means no restriction
    2 D+ e! D' {& {: J4 r
  1859. ;opcache.restrict_api=
    $ h. j; }5 g( u; Q& T9 u  d! ?6 W

  1860. 5 i# G, B  g( }( s
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    * h# j& H4 E* H6 X' c
  1862. ; processes have to map shared memory into the same address space. This+ H( p. {2 k7 @- Y
  1863. ; directive allows to manually fix the "Unable to reattach to base address"  k& g; A) l8 ^; y7 V  |7 D) I
  1864. ; errors.
    % a3 @* b" a4 \2 C1 L5 m$ W& l
  1865. ;opcache.mmap_base=
    4 X: m  x& x* M/ _" _) d$ J6 V9 k$ `

  1866. : x7 |0 }7 r* Q4 }: D
  1867. ; Enables and sets the second level cache directory.
    % H* z3 K# Y2 G9 D, Z# A/ f
  1868. ; It should improve performance when SHM memory is full, at server restart or
    / }+ y$ t2 k) M' E
  1869. ; SHM reset. The default "" disables file based caching.4 L$ b2 u# \2 q& F1 s
  1870. ;opcache.file_cache=) C* o* Z! ]; h* w$ j$ p

  1871. 0 q0 Y- v1 l! \) y  N
  1872. ; Enables or disables opcode caching in shared memory.  t% _4 G0 K1 E' V( y0 w+ ~
  1873. ;opcache.file_cache_only=0
    2 K: e. k. C  i' P

  1874. 0 f- M0 C0 g" b! s7 q
  1875. ; Enables or disables checksum validation when script loaded from file cache.% O, [- Q- U* J3 m
  1876. ;opcache.file_cache_consistency_checks=1
    / K" q3 S% l& @3 i$ V- B

  1877.   M( x% n7 Y2 s
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    # S- M7 E5 J- x8 i4 ~
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file4 L% K2 k# ]& A; l" K
  1880. ; cache is required.. D$ N# Z6 L# l* v
  1881. ;opcache.file_cache_fallback=15 H! g+ t: U# N& B" Y

  1882. 8 l! H3 F" q' s- u
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.& b( R; w! J# w; s9 `' S& j! {, _
  1884. ; This should improve performance, but requires appropriate OS configuration.: ~+ N$ U. C, q! y4 {8 X  d
  1885. ;opcache.huge_code_pages=1
    . b5 B/ g9 i5 t4 H2 S4 d- j# r* G: a
  1886. 8 ^# C5 ^: O" n+ W4 X' D
  1887. ; Validate cached file permissions., J6 i& j4 M2 B
  1888. ; opcache.validate_permission=0$ F3 C! x& C) a3 e/ I2 S

  1889. 9 y5 N  J, n+ Z0 Q
  1890. ; Prevent name collisions in chroot'ed environment.
    + v$ m6 S. n) `) p9 H3 C# i" [
  1891. ; opcache.validate_root=0
    ( z' c! b9 X. c2 I1 U# Y" S

  1892. 0 Z0 _5 i/ e; G" [/ V
  1893. [curl]
    8 t# S& s2 i. U% u) D4 Q2 q; |; y/ ~
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an4 P- w9 E4 ]. W% Q2 ^
  1895. ; absolute path.8 e/ j3 D% W! I; c' k+ E5 |
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    % C; t; X; H+ z# L1 q
  1897. * `- W2 r; g! \
  1898. [openssl]
    % }/ B/ c* q5 U/ r6 J% e
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    * [3 D) M3 P/ U# w( H; s
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should- ^/ a% Y/ ]9 g1 _
  1901. ; not specify a value for this directive as PHP will attempt to use the+ Q! p; \/ F: d+ {) k( o  ~
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    / Z7 \1 f: P1 V2 H  h8 x1 \/ ^
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context  o' H$ L% F; q5 c" ~4 a
  1904. ; option.
    7 M( g) x9 H: u5 o0 q
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% g- ?3 K7 ]$ |. k$ z4 w6 `: c

  1906. 4 Z/ u3 S- b* p7 W: e
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the5 U! x6 @9 }; Q- S
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ' C0 z( P) d% a7 ^, k6 t& [& Z0 G
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    - B  ?# b* N) n6 X: Z" R" x  s( i
  1910. ; Most users should not specify a value for this directive as PHP will
    * Z& h9 A8 c+ I+ s
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 F# W2 f9 y8 v7 x5 b3 f9 C& x8 u4 c
  1912. ; this value may still be overridden on a per-stream basis via the "capath"1 ], S' c% A4 U6 ]* e! E
  1913. ; SSL stream context option., F8 O2 n/ h* D2 v
  1914. ;openssl.capath=
    ! h' u$ Q$ x/ r6 ]5 K  u8 q) n3 a

  1915. ' R" D7 q& a& W4 p
  1916. ; Local Variables:
    2 p: y# }# `0 |3 z
  1917. ; tab-width: 4
    * y! G2 l, m# B( D
  1918. ; End:
    , L% x/ @# v; _- v; F9 t) |
  1919. . H* n# |. O! n4 X" X
  1920. ;eaccelerator& c! E* |; @; t- W) x- F
  1921. & l$ H- F  m8 N  j
  1922. ;ionCube
    " r$ m# o7 T7 I# C  x

  1923. , X5 J6 g3 w% g- M! R3 E) X
  1924. ;opcache& O+ e4 S3 I5 G# t/ {* [# T
  1925. 9 f. j( G* f' a
  1926. [Zend ZendGuard Loader]
    1 t& Q9 _- C5 K) e7 h' X/ o0 u# Q6 B3 |
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    5 u/ u2 x/ ?  D" o
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    . a/ X1 B7 Z! w3 o
  1929. ;zend_loader.enable=1
    / ~7 Y$ ~0 P0 |' Q2 W: I
  1930. ;zend_loader.disable_licensing=0
    % H( X2 I) @. d. u% ?) Z9 M
  1931. ;zend_loader.obfuscation_level_support=3
    . [+ a' ^+ B- B. n+ t. \: i- t6 _
  1932. ;zend_loader.license_path=9 T4 k! G, H; Q! y
  1933. # ]$ ]) U$ E0 [' t; k' @+ w8 W9 ]
  1934. ;xcache3 K  }5 y  g' V9 I1 X. T: T, |

  1935. 4 C5 `& g! G/ c9 B+ |& h# T/ t
复制代码
3 b+ T+ D0 f) r7 H4 i

+ Q2 r- ~2 l. o; x% ~- m' e7 U6 q7 E3 T7 P. Z
( ^. \+ x: ^" \0 A- I: G
: i4 v, v. {6 C

# f, }5 O) p2 o1 s2 ]
5 z  B8 E6 Z/ c! w6 |6 ^, y  jPHP5.6版本原始设置1 c* Z' I. R; T1 U5 ]& Y0 ~
2 g- z1 ], w) {( M
  1. [PHP]& \) [* P# ]8 ]
  2. - y: s& l1 v0 R4 L% [0 k$ G- ^9 i
  3. ;;;;;;;;;;;;;;;;;;;
    ! A$ }9 e, }1 k0 C$ }8 V6 f/ s
  4. ; About php.ini   ;
    ) x! E8 h$ n: {' W1 \8 x7 B
  5. ;;;;;;;;;;;;;;;;;;;
    9 C- e- F) _  w& I" [5 _- e: ^
  6. ; PHP's initialization file, generally called php.ini, is responsible for' S7 {5 B; ~/ R+ U
  7. ; configuring many of the aspects of PHP's behavior.
    * _4 V, z! [1 p: h3 |
  8. * c: V7 k8 C# j- X
  9. ; PHP attempts to find and load this configuration from a number of locations.& C+ w! j. D7 B& N" r( t
  10. ; The following is a summary of its search order:$ K5 E8 P) E6 D4 R* ?4 b. k2 [1 Q
  11. ; 1. SAPI module specific location.
    # z" Q  t& r  e9 x- m5 o2 B5 v
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    " x6 h% X  J# r6 Z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)7 h+ t2 S9 n3 f. q  ]
  14. ; 4. Current working directory (except CLI)
    7 d) A1 {( }1 h6 [. l) X
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP' J9 C; T# F* R) S% z& h* [9 ]  G4 c; N
  16. ; (otherwise in Windows)( m7 L: ^1 z6 y1 u, a" c, R, Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    . I, ~# Y1 k1 l! Y; n$ f/ [% a
  18. ; Windows directory (C:\windows or C:\winnt)
    * b7 |# L0 b6 v
  19. ; See the PHP docs for more specific information.# O* }" T- n8 k
  20. ; http://php.net/configuration.file$ Z8 ]2 A# G# x
  21. % c, h/ {0 T& |$ K- s% U
  22. ; The syntax of the file is extremely simple.  Whitespace and lines! k5 _( H+ {% j, b9 K; n" l
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).; N0 b! K" n/ R6 }/ E: d
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ( P- H0 `0 [& {7 ]- B% K
  25. ; they might mean something in the future.( C9 o" k; ^# D/ A# L

  26. : ^% r& h6 I: ^& d/ N+ t. t6 Q. q$ u) K
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ( z) J$ w0 _: J1 Y! m
  28. ; apply to PHP files in the /www/mysite directory.  Directives" l! q) Z5 O6 A: p+ C/ I
  29. ; following the section heading [HOST=www.example.com] only apply to* c& h' `. g% V$ t) B
  30. ; PHP files served from www.example.com.  Directives set in these7 {8 W# @: ]4 `( }. F; H( \5 d
  31. ; special sections cannot be overridden by user-defined INI files or
    6 ^3 R7 C6 L4 M; s, ?
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    - B) ~6 p" J/ l( X& f1 }+ u
  33. ; CGI/FastCGI.
    7 l) h. H1 x$ Q6 V% x
  34. ; http://php.net/ini.sections
    & P$ q" Q- z! S$ t( b3 X
  35. % c5 z4 B+ O% _+ z! \. ^" b0 i
  36. ; Directives are specified using the following syntax:
    0 y2 v7 u" E3 o& A/ U" S) D
  37. ; directive = value
    - R; n, n" V+ {! g( G
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ) g# X9 P" P# n- H2 x! `
  39. ; Directives are variables used to configure PHP or PHP extensions.
    # [3 u9 l, v7 p7 o% w1 F7 `" F
  40. ; There is no name validation.  If PHP can't find an expected! y4 @2 u1 u. t  L: x+ W
  41. ; directive because it is not set or is mistyped, a default value will be used.! T8 }3 H  D0 C  J4 A

  42. 3 ?4 p! G# x5 [; e8 u7 {
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one9 g# v$ }; O& u! H$ L( f  H; e, P
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    7 \0 t1 ~) z" R" K, ?8 F3 C3 ^
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: C7 q- i/ [7 Y# S8 a+ O* x
  46. ; previously set variable or directive (e.g. ${foo})
    6 T8 |3 h$ I8 A  q: D7 `/ O( l
  47. 9 r/ t' q. q3 e& U. v2 a
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    - a& k) X* F# _8 k, c
  49. ; |  bitwise OR4 Y/ F; w' x6 X" z) |- I4 ?
  50. ; ^  bitwise XOR
    # Y+ [/ Z& {' ^/ y6 y) z2 F
  51. ; &  bitwise AND
    7 t. t; u$ U0 z$ }* r0 h; }8 m
  52. ; ~  bitwise NOT' [- m3 c$ E- v
  53. ; !  boolean NOT
    1 V4 ^9 P* h0 _- A

  54. 7 z7 U( s# B/ G
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    & f$ b9 d0 I( r4 ~
  56. ; They can be turned off using the values 0, Off, False or No.
      e1 ?. d1 h- G
  57. % b- L  k: W& M, }
  58. ; An empty string can be denoted by simply not writing anything after the equal
    # T: n" ?. H# a5 S, j. C
  59. ; sign, or by using the None keyword:! y; U$ Y: V+ b8 v( z* @
  60. # n( B; ]. l; P! L  P0 K
  61. ;  foo =         ; sets foo to an empty string
    7 m4 c2 @( N5 \/ j. q# n0 H4 `
  62. ;  foo = None    ; sets foo to an empty string7 v) o; ^  T) o' v; a" W
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 e, j% @( K: Y% `: N4 T5 ~( M" E; @
  64. * l5 a4 w! y5 n; \" G/ m
  65. ; If you use constants in your value, and these constants belong to a
    ( O5 m8 B% T, |4 D
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    8 D* P! c$ e& |3 X
  67. ; you may only use these constants *after* the line that loads the extension.  J8 Q9 U$ [+ {3 n3 s: l4 h

  68. 0 W3 }! y, D. y1 [& z
  69. ;;;;;;;;;;;;;;;;;;;
    5 M# z; W, E* s3 \& w9 |# e# M  ~5 h
  70. ; About this file ;5 f) N: k' k  N# c; J
  71. ;;;;;;;;;;;;;;;;;;;; X$ _9 S, ^; z9 m
  72. ; PHP comes packaged with two INI files. One that is recommended to be used' Q5 E$ R: [0 H0 n& [1 L, ^
  73. ; in production environments and one that is recommended to be used in
    8 Q: ?! W, w0 D* c
  74. ; development environments.% P" x) P! U* @

  75. 5 I* b9 n( R9 h7 o4 D: O- h( W9 {
  76. ; php.ini-production contains settings which hold security, performance and
    $ b! _, i5 ]3 [9 \* S
  77. ; best practices at its core. But please be aware, these settings may break2 V8 u7 {, Q  B8 s
  78. ; compatibility with older or less security conscience applications. We
    , w$ R1 N% ^# H
  79. ; recommending using the production ini in production and testing environments.& G5 y6 d. ~( n1 }1 l6 r8 ?

  80. ( y6 J9 v7 C- a0 q" k7 [
  81. ; php.ini-development is very similar to its production variant, except it is
    $ j2 q( J* r7 U3 w- @6 e  O5 @3 t
  82. ; much more verbose when it comes to errors. We recommend using the
    0 P5 [1 H2 l/ n
  83. ; development version only in development environments, as errors shown to- i/ p9 s& ^: |7 }2 s
  84. ; application users can inadvertently leak otherwise secure information.) S) Y3 l( L8 {3 u: W
  85. % Z- W. A5 c9 Z# b
  86. ; This is php.ini-production INI file.( Q) `7 f8 m9 J$ e
  87. ! v7 A/ Q# r* L* E* r
  88. ;;;;;;;;;;;;;;;;;;;4 J) F/ O/ L7 w; C
  89. ; Quick Reference ;
    6 c6 w" C1 h3 S; n' A; u8 k
  90. ;;;;;;;;;;;;;;;;;;;$ i' P5 ^7 U4 R+ I; O. M# l3 a2 Y: w
  91. ; The following are all the settings which are different in either the production
    # n. W; ~. k; Z# A0 m
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 O: f0 r1 _2 z% w( h4 l* e6 y
  93. ; Please see the actual settings later in the document for more details as to why
    " m$ u  T5 b$ l# c9 n
  94. ; we recommend these changes in PHP's behavior., Y5 k' O6 `8 G% j
  95. " W% @- M- t- _1 p
  96. ; display_errors
    . \$ E- `2 a! W1 m
  97. ;   Default Value: On; i/ r5 _2 A. }4 ^6 K' N0 F
  98. ;   Development Value: On7 Q  s  S" M8 F0 ~
  99. ;   Production Value: Off
    / d. o) h, \6 m" d$ {
  100. * P- P' i) B; _! W+ i
  101. ; display_startup_errors
    & }( l/ Q8 y1 ]- b* `
  102. ;   Default Value: Off
    7 F2 T" N% J$ I2 B. @" l* S  y9 Q
  103. ;   Development Value: On0 _* l4 C. u+ C! F) M. e
  104. ;   Production Value: Off0 i: k6 Z8 }' W6 d2 J

  105. ( s! j+ d1 J8 L  c' X6 D6 l
  106. ; error_reporting0 \# a; v- f2 O; b' w; |1 K; ]
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( v. P" P* {6 F" w* ]# X4 `, J
  108. ;   Development Value: E_ALL
    9 A9 n! H3 f3 J
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    . B8 c( N) U9 P1 Q

  110. ) F; Z( N1 W* I% r2 O2 g
  111. ; html_errors, G) f% {2 k# d% D% x
  112. ;   Default Value: On, {2 `( m( }5 o7 i0 U5 ]+ V* R' E
  113. ;   Development Value: On
    . C  F+ k' ?0 l7 C* S' |
  114. ;   Production value: On& k# s; R( t9 D# i$ i: p* h
  115. 9 o" P7 u# D7 A* g
  116. ; log_errors
    2 U6 P2 D  Z# p5 H, D: @" Y
  117. ;   Default Value: Off, R& X$ i2 c, }
  118. ;   Development Value: On4 e9 q; U4 \3 ]" M( w( t! N/ t
  119. ;   Production Value: On  J1 b) ]: ^" q& e: v6 x

  120. $ h" n  B5 B& Y6 X1 c& N" Y
  121. ; max_input_time
    * ?8 ]. j/ {# D1 {& L  |) @
  122. ;   Default Value: -1 (Unlimited)/ g$ o- e8 }6 [( ?4 n
  123. ;   Development Value: 60 (60 seconds)
    1 ]& C) |6 |) z) [- Z
  124. ;   Production Value: 60 (60 seconds); A/ k* R/ q" o
  125. : I) T' e3 v1 X& S) j' q! A
  126. ; output_buffering
    2 v. D; C* l2 @( D# j6 A- A. \
  127. ;   Default Value: Off( `8 O1 G7 N4 \# s& z) Z& A
  128. ;   Development Value: 4096! k' b. D  p, G  D$ _9 p% |
  129. ;   Production Value: 4096
    ' ]; y7 S$ R+ w! Y
  130. + Y& C) a8 F& W; H2 D! k
  131. ; register_argc_argv
    + g8 c% ^4 R0 ]: e
  132. ;   Default Value: On
    ; f. f$ z5 b1 ]6 q
  133. ;   Development Value: Off
    % w2 x  Z* D  M; B  W$ g. R
  134. ;   Production Value: Off0 u. r& _$ V7 r2 o; v
  135.   z7 K9 \. G( z" S3 a# c# N" ]
  136. ; request_order
    $ W: x, x7 h( J
  137. ;   Default Value: None
    4 ]( S4 Q! Y) B
  138. ;   Development Value: "GP"
    : x; a4 s3 d" H* w5 ~8 T
  139. ;   Production Value: "GP"
    7 B" r  I" u5 }0 N# d- b2 n0 s: p
  140. ; E4 Z7 _3 x' Y2 Y, e
  141. ; session.gc_divisor6 V) D- ~) C& N* g0 a9 R
  142. ;   Default Value: 100
    ; ], d+ k8 `( {3 E' H% F3 ]
  143. ;   Development Value: 1000
      U$ U# b0 G: S; i! T+ e
  144. ;   Production Value: 1000
    5 C, K3 B2 c& k3 q& V5 ?
  145. ( S% H7 m* t, V8 o: z5 w; A
  146. ; session.hash_bits_per_character
    # Q. i4 [9 F5 z2 R, ^2 I6 _  p+ a
  147. ;   Default Value: 4
    # F' z7 {) M; g& x3 m3 R8 }7 P# N
  148. ;   Development Value: 59 Z" L) r, N4 A# ^' E$ M/ p
  149. ;   Production Value: 5" R4 }1 p7 y2 O* n3 K2 _! P

  150. , R+ E9 @, Y* d1 W% F
  151. ; short_open_tag6 K$ H/ M: k: ~
  152. ;   Default Value: On
    4 R6 Y0 H1 j% [1 x6 U/ ?
  153. ;   Development Value: Off, r8 T$ v6 A0 l- T3 `  j: I
  154. ;   Production Value: Off' r; c9 |: n6 r; S4 [1 b
  155.   Q& G8 p; g% P2 W0 U" C: Z& ?0 A- h
  156. ; track_errors# m! Y& m) B, R& D( R8 d; u
  157. ;   Default Value: Off9 F: A* W# q7 }5 \) `, X
  158. ;   Development Value: On9 {/ _0 p# Q" g- @
  159. ;   Production Value: Off
    ; @$ `* B$ Q4 V
  160. 8 ]4 {5 q- L& r# H, J: @# @2 x
  161. ; url_rewriter.tags
    . Y; y9 G! S2 p( O3 \3 p& [
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="% k) g6 f4 z0 I3 \4 S
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : ^  P! r) v3 m5 M! _  f* o
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") T+ W6 F' ~; g0 J. |

  165. ) \/ B* y0 X; v& V( j% t  O$ j
  166. ; variables_order- N7 D9 m0 m+ Y0 c
  167. ;   Default Value: "EGPCS": d8 n9 E$ ~: ]" m: ~- `! c" D, u
  168. ;   Development Value: "GPCS"7 u' d6 U) A. ]0 C
  169. ;   Production Value: "GPCS"
    + B7 T+ H: B* P, W/ a
  170. 6 R: R0 ]# @2 Q' _
  171. ;;;;;;;;;;;;;;;;;;;;. U9 S; |( n9 p+ G# c4 `4 x9 T* {
  172. ; php.ini Options  ;
    $ Q% l0 M1 s& k4 S7 r2 N) b
  173. ;;;;;;;;;;;;;;;;;;;;
    + y9 B8 w% t' O* d+ H5 b- d
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ; \! Y/ F- h: I% k! P( O
  175. ;user_ini.filename = ".user.ini"
    5 h7 x8 X! D9 D7 v9 I

  176. : c) }5 A: u) H0 D9 ^* v
  177. ; To disable this feature set this option to empty value
    6 A! ]3 F2 s$ q( l; g" N/ S+ \% Z
  178. ;user_ini.filename =
    # Y% W' m( _5 a* ?' F. v  |
  179. ) s! Y% s+ u' Q, Z( }+ y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 t- e# m: H* W# z& E% z5 q& U
  181. ;user_ini.cache_ttl = 3009 ~% ]/ l% H* i8 W, y5 N' \6 K1 ~5 C& N
  182. - w  [5 j- ^" ?& q
  183. ;;;;;;;;;;;;;;;;;;;;5 v9 k3 N5 e, Y+ G
  184. ; Language Options ;5 {" K" y; w# x. v( x0 _# W
  185. ;;;;;;;;;;;;;;;;;;;;: I4 @! V$ P) a: F; x
  186. : e9 S$ S$ o  s1 y. f# g$ a
  187. ; Enable the PHP scripting language engine under Apache.
    ' N# C: d- F; e; S7 y5 a' D* ]
  188. ; http://php.net/engine
    . ^3 ^/ P6 e. A& A' }8 H1 P# a% D0 A
  189. engine = On
    & {5 y! p; H& M( m7 s% e3 p3 s
  190. 1 ~' u! B4 \; y
  191. ; This directive determines whether or not PHP will recognize code between% v8 i: d9 n0 b  @
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    " v0 b0 b4 b- U6 K
  193. ; generally recommended that <?php and ?> should be used and that this feature: P  g# K/ V. z3 Q( m
  194. ; should be disabled, as enabling it may result in issues when generating XML/ a3 ^& H" S8 G1 k8 H! L  T$ M
  195. ; documents, however this remains supported for backward compatibility reasons.$ j! I  f4 }8 ?1 P+ l2 t1 q# |
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. r/ ^* Z& [# h8 Y  X
  197. ; used regardless of this directive.1 D/ G3 Y1 @* m, |1 c
  198. ; Default Value: On+ s" ], e; H4 u/ e
  199. ; Development Value: Off
    0 x9 \" p$ F6 ?" I. _
  200. ; Production Value: Off9 @, X6 N1 g: C" Q0 Z
  201. ; http://php.net/short-open-tag( C$ i* f8 M5 Q4 r
  202. short_open_tag = On- |4 _9 v4 H2 S4 m+ S( V: o

  203. 0 b$ ]8 Z* ~5 Y; [1 }
  204. ; Allow ASP-style <% %> tags.
    " E  m) E3 j2 z) Y+ @
  205. ; http://php.net/asp-tags3 `' o* W$ F3 D/ G8 l
  206. asp_tags = Off# j5 e  x) y. V+ E
  207. ! q+ _& u* ]8 I$ u0 n: k
  208. ; The number of significant digits displayed in floating point numbers.
    8 G' P1 b6 [4 O! W0 B
  209. ; http://php.net/precision/ D( v  s8 G! m* w$ x
  210. precision = 14
    7 B% D4 H5 ]5 i

  211. 1 ?9 q$ t& ]' J! D- @  y
  212. ; Output buffering is a mechanism for controlling how much output data
      H* e% b; i0 Z/ t: l
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    % d9 t8 z3 `9 ^7 S& t" M3 [
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ) V( r7 ?( v8 e% C
  215. ; will send that data in chunks of roughly the size you specify.
    $ X: m9 |$ M9 J2 \% N
  216. ; Turning on this setting and managing its maximum buffer size can yield some0 j9 U. D% M, V& v9 c
  217. ; interesting side-effects depending on your application and web server.; s% g3 H) P8 M1 ]1 x& X
  218. ; You may be able to send headers and cookies after you've already sent output
    8 w" s5 I3 B' O+ X, X* D2 \
  219. ; through print or echo. You also may see performance benefits if your server is, n* f' x  R" x: E! o+ f
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    . P  i9 i) `  \6 v
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ \' C& E' r6 R, W
  222. ; reasons.
    1 v1 T4 z- T' c" w) u; V
  223. ; Note: Output buffering can also be controlled via Output Buffering Control, a' S+ ?8 ^5 S! c
  224. ;   functions.
    / n3 [) p- @2 |( s+ P
  225. ; Possible Values:
    7 X- a1 T' r) w
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
      n6 J3 J$ O9 G8 n0 G/ F
  227. ;   Off = Disabled
    ( a) s+ O. ~0 n, b0 ?1 W( ~: A
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.& i; Z4 ]& H8 Z/ l
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / i$ \6 G( \) x! {8 K
  230. ; Default Value: Off, p, q+ p* [1 N( M
  231. ; Development Value: 4096
    ( [2 h7 E( u" l, e3 u6 l2 R" ?
  232. ; Production Value: 4096, e% t: b( h; D6 T' A
  233. ; http://php.net/output-buffering
    # l' x# e. n8 Z: Q6 H& r5 D% U
  234. output_buffering = 40965 F& A! F7 v- F4 U  J7 v
  235. 7 P3 K+ ^4 ?' r, K+ U
  236. ; You can redirect all of the output of your scripts to a function.  For
    + d+ o9 F3 t( o+ F3 v
  237. ; example, if you set output_handler to "mb_output_handler", character" ^2 _( c) z" O# K( T. A  E
  238. ; encoding will be transparently converted to the specified encoding.
    6 J, J+ u5 G$ R- \* Y
  239. ; Setting any output handler automatically turns on output buffering.
    # N& R: m+ z9 s0 \/ e
  240. ; Note: People who wrote portable scripts should not depend on this ini  _$ w* O# s$ h3 i' Y
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    4 X- s% M! E: n& `; G$ b0 F" L# a
  242. ;   Using this ini directive may cause problems unless you know what script
    , q3 x4 c5 k8 W6 j) {" T
  243. ;   is doing.2 v$ A* D/ o9 a6 C
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"9 C* Q' j- A! C6 f1 U$ Q
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 N! H* B. w9 m% E
  246. ; Note: output_handler must be empty if this is set 'On' !!!!+ v( W. [2 n' w) S/ P) E
  247. ;   Instead you must use zlib.output_handler.7 g' c! |* m. N$ S, \
  248. ; http://php.net/output-handler
    $ i( f, x- R$ U1 ]" d$ [0 @( E
  249. ;output_handler =" {; M, _( z5 ?2 N
  250. 2 {) t$ j7 c9 @+ D0 }! u8 q$ {
  251. ; Transparent output compression using the zlib library
    2 N+ B9 A4 F  v" \  N/ x
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ b  }, l. {* G& @) r
  253. ; to be used for compression (default is 4KB)- B" x* D' s' R0 Y, ^
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' T, B6 ^% t6 L  l4 |' M
  255. ;   outputs chunks that are few hundreds bytes each as a result of& E! _' U5 Q5 b1 p' R9 k& C! X
  256. ;   compression. If you prefer a larger chunk size for better
    2 |' R4 K% ^, [' w5 l2 I
  257. ;   performance, enable output_buffering in addition.
    ) X+ }* d1 X  }- x/ ?4 d6 S
  258. ; Note: You need to use zlib.output_handler instead of the standard
    " L( S* c2 M  d  B- M3 i" G+ i
  259. ;   output_handler, or otherwise the output will be corrupted.2 V: q7 |9 f1 R! ?! \, L+ f
  260. ; http://php.net/zlib.output-compression
    & Q1 \: a; I/ H) D' Z
  261. zlib.output_compression = Off
    3 w! T* n, B- R; w" S

  262. ' i7 v) f: M) d0 B; f+ ]
  263. ; http://php.net/zlib.output-compression-level$ \, \, f. n5 e9 ^- s, [) h
  264. ;zlib.output_compression_level = -1
    , @0 A1 N- p8 b: |' \

  265.   Q4 D; |8 U3 V, ]
  266. ; You cannot specify additional output handlers if zlib.output_compression
    . D% d$ r! P! d( d- v- _
  267. ; is activated here. This setting does the same as output_handler but in
    ' Z' {7 x: T% p+ l* f" C! {
  268. ; a different order.
    5 K2 P& U; [3 F  x# Y3 Z- _+ D
  269. ; http://php.net/zlib.output-handler
    " N% S5 M( y# }0 q4 [9 j. k
  270. ;zlib.output_handler =8 D- Y: n4 Q5 c( H3 y: O

  271. 6 g; A# V. D$ p: c/ I2 o8 h
  272. ; Implicit flush tells PHP to tell the output layer to flush itself" H- w! e* E3 }" m% y5 ~" |, v* E& M
  273. ; automatically after every output block.  This is equivalent to calling the# B/ [+ M- X$ @1 K/ |/ f! E2 E
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + S1 K" _( V* |8 V% O
  275. ; and every HTML block.  Turning this option on has serious performance( h0 ~" ^- `: K- N$ ]( q
  276. ; implications and is generally recommended for debugging purposes only.: ]  i! \- r. b/ g9 H
  277. ; http://php.net/implicit-flush
    $ \9 T- t' O9 X/ h
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ H7 }4 E; l2 V
  279. implicit_flush = Off- o# U% \* l/ B

  280. ) t; b! n2 J$ }* ^5 Z
  281. ; The unserialize callback function will be called (with the undefined class'
    , G7 v+ Q$ K# `# m0 G
  282. ; name as parameter), if the unserializer finds an undefined class
    ( R) q. @5 Z5 B  v, S/ U
  283. ; which should be instantiated. A warning appears if the specified function is
    $ X$ w; a; z) o4 t
  284. ; not defined, or if the function doesn't include/implement the missing class.
    8 g2 n5 |& y7 q8 e. {- j' B
  285. ; So only set this entry, if you really want to implement such a9 d* H2 R7 w  d( K5 c
  286. ; callback-function.5 G) L) ]1 {5 j
  287. unserialize_callback_func =
    ! L- l* c" ]. `8 i# i

  288. 4 o5 g( f& i  g, G' e5 e
  289. ; When floats & doubles are serialized store serialize_precision significant
    ; T' |# [2 O* F$ V
  290. ; digits after the floating point. The default value ensures that when floats
    6 U5 g2 e" P, i( P6 B; O' F
  291. ; are decoded with unserialize, the data will remain the same.
    % s  _! r  n/ m1 M8 L8 c  |2 l; {
  292. serialize_precision = 176 S* v8 p- m2 h5 [# {/ w8 s

  293. 6 G3 m' z3 I% r* O. [5 c! K
  294. ; open_basedir, if set, limits all file operations to the defined directory
    4 W+ i. X# p2 c! t3 q
  295. ; and below.  This directive makes most sense if used in a per-directory/ g& p4 ?: X( z
  296. ; or per-virtualhost web server configuration file./ L9 Y) c9 n, N9 i* t* U
  297. ; http://php.net/open-basedir
    8 D, E: o: |$ s0 l5 F
  298. ;open_basedir =
      T/ j) ^$ c# `. G: g5 z

  299. - v6 I& _" i, g! a2 N5 M, ?
  300. ; This directive allows you to disable certain functions for security reasons.2 |( d4 {/ ?" c/ C
  301. ; It receives a comma-delimited list of function names.# e5 M. |4 M: I0 @, a4 L
  302. ; http://php.net/disable-functions$ M* w) `  d( B6 q/ F; c
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 _6 [+ p6 g  O+ }$ R
  304. ) x% A2 u5 s8 _: b( {& P2 P
  305. ; This directive allows you to disable certain classes for security reasons.4 u: \- c4 K6 ^) @  U+ S
  306. ; It receives a comma-delimited list of class names.
    % t' I3 y3 ~; n' p
  307. ; http://php.net/disable-classes
    3 l" u7 u3 a9 C# J6 R% i5 B1 W5 P
  308. disable_classes =% ~4 @: b) b. \) L' j
  309. . R8 H3 C  ]3 R7 M, ^
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ( A0 Z: q; y3 j  Q. V$ M
  311. ; <span style="color: ???????"> would work.
    ' \5 f6 I( Z) k9 X  |+ }9 f
  312. ; http://php.net/syntax-highlighting$ c  W* h3 ?& H: s% Y5 L
  313. ;highlight.string  = #DD0000. K  q' E% G! {
  314. ;highlight.comment = #FF9900
      N5 b; U) N: W* A
  315. ;highlight.keyword = #007700
    & O3 A: I+ G. C& G: F/ g4 j
  316. ;highlight.default = #0000BB  h' u0 w0 n8 ]9 {6 B9 L* N: G
  317. ;highlight.html    = #000000! w# f, Q* b% Q5 p5 O1 z4 y
  318. 4 C/ r; U. x8 `$ S
  319. ; If enabled, the request will be allowed to complete even if the user aborts5 K2 A# H# \4 A( f1 E7 r6 k
  320. ; the request. Consider enabling it if executing long requests, which may end up
    : b2 m: ]6 X& ?3 j
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    % e2 d% j' b9 |, S" p" `
  322. ; is to disable this feature.- m+ d/ V& u( S. |' P- W: L( N
  323. ; http://php.net/ignore-user-abort- I9 @; `9 T" C3 c8 O
  324. ;ignore_user_abort = On
    ) J- s; A; R% ^6 v0 Z1 @% {4 C/ B

  325. + z' U* X3 C: J- _
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    / Z0 y# G  B! v8 O/ J0 p+ i# {! x7 e
  327. ; be increased on systems where PHP opens many files to reflect the quantity of( b# L  C; f8 g" B
  328. ; the file operations performed.* M5 @5 I4 M% R3 i
  329. ; http://php.net/realpath-cache-size
    / t  |* P6 K3 [: C% ]% o5 r
  330. ;realpath_cache_size = 16k
    3 F6 Q7 I; j% G" \6 S( E

  331. + N1 g3 F' A! I1 B8 \3 a' w
  332. ; Duration of time, in seconds for which to cache realpath information for a given' x8 v4 ^9 W3 w) ^7 z& x  T/ X
  333. ; file or directory. For systems with rarely changing files, consider increasing this4 P, q! F" w! r5 V/ ~$ s$ a
  334. ; value.
    ! B4 r, c/ I7 K9 @
  335. ; http://php.net/realpath-cache-ttl3 [) n7 I/ Q9 m$ t
  336. ;realpath_cache_ttl = 120/ }; n2 {$ K$ w; e
  337. ( F2 m; V5 N$ {5 t- b4 X
  338. ; Enables or disables the circular reference collector.8 C3 {) E' L8 P; ]0 `
  339. ; http://php.net/zend.enable-gc
    ; W, ~7 s. w& w/ Y1 v% ?# K
  340. zend.enable_gc = On: C5 W9 P" D2 s& M! J
  341. + P/ K/ M2 j9 i5 ?5 M0 H7 z
  342. ; If enabled, scripts may be written in encodings that are incompatible with# H( c: p- b" o; S: w
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such2 z- b, X+ E% ^( N
  344. ; encodings.  To use this feature, mbstring extension must be enabled." U1 c. K/ E" F: ~5 n# E, _
  345. ; Default: Off
    7 H0 V( {2 s0 S4 ]) a# [
  346. ;zend.multibyte = Off( L5 w) t/ ]) w9 o* r
  347. ! T& T/ ~  K3 \, t1 b
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    & Q; b3 E8 a. V+ C+ O% ^& I
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * Z0 P- Y9 T* r6 n& w
  350. ; Only affects if zend.multibyte is set.
    , X+ {+ E9 D4 Y# H1 U9 d. T
  351. ; Default: ""
    6 U! e) m( W: l, }# j* s( U
  352. ;zend.script_encoding =  A2 x5 L$ `" \. P( d- p

  353. ' J* X8 K* C* i
  354. ;;;;;;;;;;;;;;;;;
    0 q5 Q9 V" m2 P" i+ _; a
  355. ; Miscellaneous ;( {; e% I. e5 e2 j1 d, u! X
  356. ;;;;;;;;;;;;;;;;;+ h0 S+ q7 i* l5 i4 ?
  357. # [3 W9 C4 Y' `" ^, s$ y* o9 A4 Q2 |3 W! c
  358. ; Decides whether PHP may expose the fact that it is installed on the server3 e/ t. d! r( E; ]( o8 Q& w5 F
  359. ; (e.g. by adding its signature to the Web server header).  It is no security2 `! ^- n7 U, f' A6 Q! E0 m
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 o: F1 f4 y! U1 X; F! ~$ s' c
  361. ; on your server or not.
    - P4 \8 }# p  T5 L' _' ?4 a
  362. ; http://php.net/expose-php4 m( a3 [% Y6 r  U
  363. expose_php = On
    0 m. @  k8 @! m2 D9 i4 I
  364. + P2 x7 V. o3 D
  365. ;;;;;;;;;;;;;;;;;;;' q* R1 E7 N( m5 d3 T
  366. ; Resource Limits ;  N* v1 Q6 v! q: s/ ]
  367. ;;;;;;;;;;;;;;;;;;;
    , i0 l% {1 W% v9 H/ p. H5 c# h

  368. 8 w# o4 n: E$ ~/ m8 j3 u( m3 _4 N
  369. ; Maximum execution time of each script, in seconds9 b: d$ n! l3 M
  370. ; http://php.net/max-execution-time3 j" s) ~/ g) y
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 f2 R# ]. z0 }$ Q) F; E2 l
  372. max_execution_time = 300& p5 ]+ ~% W9 V# x

  373. 8 R! A* X* M+ @0 l* v
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    # s3 a3 x  b6 z; Y
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly: M3 u2 P5 X2 H, n7 z8 O/ W9 i
  376. ; long running scripts.. P& \0 @5 Q" O5 Q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI6 T/ i8 W2 a0 I) P
  378. ; Default Value: -1 (Unlimited)* ?. q& b# F/ ?6 x* Y" u7 d
  379. ; Development Value: 60 (60 seconds)0 P0 m( U$ A* [5 v2 W0 E  `! z
  380. ; Production Value: 60 (60 seconds)2 X7 ~% d8 k: ]$ t$ n1 N0 C  i
  381. ; http://php.net/max-input-time
    , v, A. M$ U' T1 f3 ?" I. _: l; [
  382. max_input_time = 60( q3 ^  l: P/ c' q: `: b) n' ?. N

  383. - S1 @" i: p& j3 [  c$ |
  384. ; Maximum input variable nesting level
    * j; y2 v' a7 v+ {" Q8 n1 I6 Q
  385. ; http://php.net/max-input-nesting-level
    : x& m& `5 f# Y9 O
  386. ;max_input_nesting_level = 64
    $ Z' Q3 Z  X, ], p# X

  387. - ]; A, {6 {/ x2 n% O4 W  ~
  388. ; How many GET/POST/COOKIE input variables may be accepted8 _* c) @: d; [6 ]- ?4 C. r8 T
  389. ; max_input_vars = 1000
    7 V  t% @3 k; S$ G# ]7 a& O
  390.   G  o3 E0 W- n* E7 q" i5 h
  391. ; Maximum amount of memory a script may consume (128MB)
    7 c* Y+ ~( H1 ]0 G" C
  392. ; http://php.net/memory-limit
    0 `- [8 I" l) _5 F+ h1 K8 @8 P
  393. memory_limit = 128M% t$ ~) j, M6 u, y
  394. 0 o4 R( }  X5 C  a' j: m) e
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; H. e1 L) [/ c+ n& j
  396. ; Error handling and logging ;
    5 v) n# {) \/ n" n
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 K  c" K! ]3 Z! y0 f

  398. : S7 _, @4 l/ {0 A, ?5 ]8 u
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    # |) o; R" `9 M, q; M
  400. ; it to take action for. The recommended way of setting values for this
    9 k3 z( e7 `& W" g
  401. ; directive is through the use of the error level constants and bitwise
    ! v7 D3 B7 |, O9 ~3 J) Y
  402. ; operators. The error level constants are below here for convenience as well as
    $ F8 e9 R( o8 @. F8 I
  403. ; some common settings and their meanings.
    . L6 v0 j6 C* b' L# ]$ C
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT$ ~: N5 g# h3 u. C) Q3 J
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and. m+ x* w3 s4 p% n- U$ X/ o' D' z2 s
  406. ; recommended coding standards in PHP. For performance reasons, this is the* A" K, d! S1 u2 S* m+ W
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    5 i2 f* U0 q6 `
  408. ; resources complaining about best practices and coding standards. That's what  {* p( c5 h2 v" S) v8 S
  409. ; development servers and development settings are for.
    3 S4 M, F+ q+ J) E: w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ' l3 R1 E' ?* [: Q
  411. ; means it pretty much reports everything which is exactly what you want during
    6 n7 s4 j& r7 ~4 }' T8 W
  412. ; development and early testing.
    7 V) f6 t( f# C. D6 W- d. x. j* H
  413. ;
    ) `, J! H% n1 A& Q' M
  414. ; Error Level Constants:
    : s) a; c  B; v" B0 T6 m, a' K
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)5 o/ ~9 k9 I: X3 ~! b) J0 M
  416. ; E_ERROR           - fatal run-time errors
    3 i1 u- y. ^# j9 o/ d" b# g! A0 j
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    : U. E+ T5 k3 x: m, |: ?2 P- H7 w0 e
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 P- P. H# \1 l/ O" P! P, \
  419. ; E_PARSE           - compile-time parse errors
    , U+ D& c7 s0 O! X
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ; U: w6 h  _, x) z; g: j1 P
  421. ;                     from a bug in your code, but it's possible that it was
    7 k+ T6 N  _) l/ }% v
  422. ;                     intentional (e.g., using an uninitialized variable and
    . r* D& \( u5 L" v: I2 h9 B: {
  423. ;                     relying on the fact it is automatically initialized to an
    3 Q6 F+ @# V, I
  424. ;                     empty string)$ V! x4 [) j8 U/ @' R, X+ z
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes+ a4 A" j, D6 y: D/ y2 Y7 c/ j2 L; a
  426. ;                     to your code which will ensure the best interoperability& Y& i+ y$ b( K! ^0 a8 N
  427. ;                     and forward compatibility of your code2 ~+ }* J5 A6 ~$ M* P( k" n
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
      g* ^2 w1 k, P) q) a# w' k
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's, W$ C, V! j$ h" k; U  m& G" ~
  430. ;                     initial startup6 f7 N, f9 }2 f& ^/ c  m
  431. ; E_COMPILE_ERROR   - fatal compile-time errors: F, }( P9 \3 o% J1 @, @0 _0 K: p
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " D7 v8 v9 ]5 s( T! d
  433. ; E_USER_ERROR      - user-generated error message! h, v0 l) p6 O/ t  s( G) }# F. \
  434. ; E_USER_WARNING    - user-generated warning message
    5 H+ j2 n4 D% r, S
  435. ; E_USER_NOTICE     - user-generated notice message
    " K: H5 L  B* e( W" x
  436. ; E_DEPRECATED      - warn about code that will not work in future versions! [# W9 b8 _- Y. u
  437. ;                     of PHP. {" L! e2 ~+ B) t# C
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings6 }8 T0 @$ p9 i; I
  439. ;
    " z3 [9 O  ~3 I. N
  440. ; Common Values:  _: W& ]4 h; ]& M1 l8 u, o
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)# v/ q3 m! o7 y5 k% i% u/ k
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    5 b8 R9 ~* e7 t) e! i/ x
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)7 z3 E8 z+ r; S- L# ^; {8 n% ]
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , i. `# ^& F) v" e
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ L9 f0 C1 W# N! @) h
  446. ; Development Value: E_ALL& t' \# B) D% ~1 {: S
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  E- q& M1 B2 k8 |* J) t# j
  448. ; http://php.net/error-reporting) n1 N% \* F* X, j0 W" A$ B
  449. error_reporting = E_ALL & ~E_NOTICE6 H" v' p, P) |  p

  450. 2 [5 U: n6 S9 d6 N# {$ O
  451. ; This directive controls whether or not and where PHP will output errors,
    * F1 R$ o9 R. V; u/ s  n) b
  452. ; notices and warnings too. Error output is very useful during development, but
    7 @+ b# h' H1 j' {  @( E( q
  453. ; it could be very dangerous in production environments. Depending on the code9 b! a! ^; d6 p: A: d. ~- U+ s' j6 J
  454. ; which is triggering the error, sensitive information could potentially leak
    * T* ?" X8 O& i7 E
  455. ; out of your application such as database usernames and passwords or worse.
    , Z# ?9 S5 `# W7 `3 C; R5 M% A
  456. ; For production environments, we recommend logging errors rather than
    : F+ x! P0 j5 W$ V5 B
  457. ; sending them to STDOUT.+ i* t) A; U6 M2 a' k4 N
  458. ; Possible Values:2 M; |+ V: w* P( U% Y) h) K+ q" o
  459. ;   Off = Do not display any errors
    - l8 Z6 C) Q1 T2 h; T' W* b+ ^$ I& Q
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ T1 k+ @9 @. w( T+ V0 O
  461. ;   On or stdout = Display errors to STDOUT8 k0 m* X) |' }2 E* u, @5 \
  462. ; Default Value: On1 X. o2 a2 T; s0 m) E/ R
  463. ; Development Value: On* v6 X+ S* `, {# D/ b& a) O% Z
  464. ; Production Value: Off
    5 d4 E# C$ E: j! m9 r5 ^
  465. ; http://php.net/display-errors; p+ m* j* s2 }
  466. display_errors = On
    . k) X. x+ m) x( I: N3 k
  467. ( S% @! \' u8 [' `
  468. ; The display of errors which occur during PHP's startup sequence are handled
    6 K+ }  J4 o. R. r
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    " o2 s5 t5 T8 ~3 ?
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    4 z' O) k" w7 |6 A" g" O
  471. ; debugging configuration problems. We strongly recommend you
    $ ^& a8 H1 O/ c" A
  472. ; set this to 'off' for production servers.
    : ~! Q0 }" M+ X, T4 r
  473. ; Default Value: Off' k2 W# e) Z# l8 C+ s
  474. ; Development Value: On
    / @0 p6 @* [+ I( ?& S; N) ~) U
  475. ; Production Value: Off
    0 i/ Z. L! ^# E+ g
  476. ; http://php.net/display-startup-errors
    ' x5 J" Q1 T) |9 X
  477. display_startup_errors = Off
    0 Q* V+ y7 }# S( r
  478. 8 v/ @# d; W7 F- ?& B0 o; \# y+ o
  479. ; Besides displaying errors, PHP can also log errors to locations such as a4 N6 y( C8 r- X! j6 v8 C
  480. ; server-specific log, STDERR, or a location specified by the error_log
    , r+ q4 I$ i. X+ Y+ E, D
  481. ; directive found below. While errors should not be displayed on productions
    * V7 A. l: V$ O# I- a
  482. ; servers they should still be monitored and logging is a great way to do that.+ I# i# l6 `) ]9 Z. M4 I9 C/ s
  483. ; Default Value: Off1 Y  Q5 y* u  z6 v
  484. ; Development Value: On
    ) R) i2 P! p% e( v- ^. e
  485. ; Production Value: On) t4 ]/ G7 w4 e; w3 ]
  486. ; http://php.net/log-errors
    & @. Z* ]! e5 F* `0 U3 {$ o: K) r6 F
  487. log_errors = On# b7 l5 e1 F' H7 u# H2 k1 R* k

  488. % w0 |/ g3 x4 j) ~; T) O4 c$ ~
  489. ; Set maximum length of log_errors. In error_log information about the source is& j: I- j+ z: a- T! ~8 q# w' J" L0 K* b
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.5 |; e  t0 m2 H5 H
  491. ; http://php.net/log-errors-max-len& D0 P: g0 y" h8 F: l/ D8 s
  492. log_errors_max_len = 1024* n7 n/ D7 x; t

  493. 8 l) J' l, f- `0 o1 B  [* f) w0 ?, \
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 U9 e  d( G$ U4 Z# u
  495. ; line unless ignore_repeated_source is set true.# J1 v3 I" x% r& ?
  496. ; http://php.net/ignore-repeated-errors
    . h: L7 k/ l) s
  497. ignore_repeated_errors = Off) J1 w; P( k) b! s0 j* Z; O
  498. + c- o( @8 m" w/ o7 f
  499. ; Ignore source of message when ignoring repeated messages. When this setting# u6 `4 X9 ~+ v
  500. ; is On you will not log errors with repeated messages from different files or1 Y/ w8 {1 p- t8 |& W+ j, a6 F  A0 p
  501. ; source lines.5 \7 o" |; \. F; W
  502. ; http://php.net/ignore-repeated-source
    : V( F' Q' m6 ^" o5 n
  503. ignore_repeated_source = Off
    * g% {9 N( q9 c" k' R; c, O4 R; [

  504. $ _$ }6 j, a) b& q, x2 p# K3 n# F3 y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & k3 Z% }) T' J2 u
  506. ; stdout or in the log). This has only effect in a debug compile, and if" y  T% @9 Q2 P) P# t8 z
  507. ; error reporting includes E_WARNING in the allowed list
    7 e/ {! d! p  x" n) o/ u# e7 p0 L- _
  508. ; http://php.net/report-memleaks
    9 Q/ y/ ]: a6 H& U9 F4 |
  509. report_memleaks = On
    ' D, x( `8 U/ p8 u

  510. 3 X5 E3 u  E# {+ I
  511. ; This setting is on by default.
    3 S7 T. C# ?8 z9 d
  512. ;report_zend_debug = 0
    4 i4 W" _% P. C7 u0 b! S/ r( H5 w

  513. 9 s" D$ u2 f, g* E( z
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value, L% K& B; h3 r, g. ]! n" S( t( Y
  515. ; to On can assist in debugging and is appropriate for development servers. It should1 n1 ^) D. `8 y
  516. ; however be disabled on production servers.
    9 h7 x8 }+ o$ u, \4 z# J
  517. ; Default Value: Off
    * ^3 H% L0 b3 A) J2 u
  518. ; Development Value: On" `5 I. [! B: k3 Z+ }
  519. ; Production Value: Off
    % l* H4 s/ V2 [( x1 C4 J+ W
  520. ; http://php.net/track-errors
    / @6 d/ Q6 p* P$ r5 y( W( D! i
  521. track_errors = Off; F: w  }; K: c5 v
  522. ( j1 P1 |1 Z; [2 u- ~1 h% p; Q
  523. ; Turn off normal error reporting and emit XML-RPC error XML/ F9 R; R0 G8 F% V2 W
  524. ; http://php.net/xmlrpc-errors
    - L$ a8 G8 T; C/ Y$ r
  525. ;xmlrpc_errors = 07 p4 n% r0 }' w. ~6 h: c7 I
  526. 7 |; Q; N& k1 K' ~1 j
  527. ; An XML-RPC faultCode
    2 u+ u8 _/ b- ^! i
  528. ;xmlrpc_error_number = 0
    1 S( A' _7 I; J7 T6 Y  X
  529. 4 g2 N7 X! k% ^* T' c0 q9 e
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    3 a  u7 ~3 Z! g4 w
  531. ; error message as HTML for easier reading. This directive controls whether3 i5 a9 X# y  D# d
  532. ; the error message is formatted as HTML or not.4 N: h% J1 M) d0 b# m1 S- i& [
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 t( k: h9 r- v$ X
  534. ; Default Value: On
    # w: J8 b/ x& B8 N  o) p
  535. ; Development Value: On
    9 C4 u6 P' U/ m5 ?( [2 V4 c
  536. ; Production value: On: ^/ ]& E1 {' u) @- m: I
  537. ; http://php.net/html-errors: r" [: i: n' ^, O
  538. html_errors = On. w) x) g+ ^" p" e$ O. [& m
  539. # n0 u; ]  c2 ]% v5 K
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    5 q& g4 [, u) A5 R* G& G
  541. ; produces clickable error messages that direct to a page describing the error
      v" D% Q9 Z. p4 m/ ]
  542. ; or function causing the error in detail.
    0 [$ Y. j5 l! V2 H1 a
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ; n) s: |/ f- W
  544. ; and change docref_root to the base URL of your local copy including the  ?/ s/ {* ~" X  g* K
  545. ; leading '/'. You must also specify the file extension being used including
    , d4 I  v1 _9 w; {5 X8 I# ~
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which0 ^; B7 g5 d) Y* A
  547. ; case no links to documentation are generated.1 b$ A9 s; A3 S+ J2 m- Z
  548. ; Note: Never use this feature for production boxes.
    4 e; ]7 Q* j2 k! b' l  D
  549. ; http://php.net/docref-root
    8 h0 B1 P$ F  l0 r
  550. ; Examples
    0 D* N% J3 V( z) f3 b
  551. ;docref_root = "/phpmanual/"
    7 a+ ]0 P: f+ W9 E6 a* h

  552. # ?& F  r3 [% c* w' R8 q1 E/ ~& }
  553. ; http://php.net/docref-ext; l0 A9 U: O" a0 r
  554. ;docref_ext = .html: D6 Y% y* D+ g
  555. * e6 h* T4 N  z+ h( c6 ?+ Q2 i
  556. ; String to output before an error message. PHP's default behavior is to leave
    : L9 _( D& F- @3 h$ @
  557. ; this setting blank.( S$ m# ~/ ], }* d) y/ \3 x5 `, s0 I
  558. ; http://php.net/error-prepend-string
    6 d- M7 R& [+ @$ C& ]
  559. ; Example:& O( b- C; \6 I* l5 ~" r
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : }" P8 X' V! |5 l. o
  561. % y/ C: z- r; R7 x4 `
  562. ; String to output after an error message. PHP's default behavior is to leave+ M6 ]/ Q& z0 V+ V0 t/ B( X  c
  563. ; this setting blank.! D& S# b8 P0 s6 Z3 k9 l
  564. ; http://php.net/error-append-string1 ^6 C4 Y7 ~6 L+ x
  565. ; Example:
    9 c$ G6 y+ j# K9 r- w2 P
  566. ;error_append_string = "</span>"- M6 }1 S6 z$ q+ X' e1 p0 b

  567. 8 a! x5 }" e0 [( w0 s- y0 E% a- _4 ~
  568. ; Log errors to specified file. PHP's default behavior is to leave this value3 ^0 h0 K1 g  Z5 |. r, @' v
  569. ; empty.8 r  C9 ~% R6 b- S! D
  570. ; http://php.net/error-log
    2 J) D$ ?! h3 p: o  S
  571. ; Example:
    8 U  `% o7 n3 x1 i
  572. ;error_log = php_errors.log
    % W6 J" I6 ]+ U$ h" _
  573. ; Log errors to syslog (Event Log on Windows).
    0 a1 s0 k! d7 A* p2 f
  574. ;error_log = syslog7 ?3 x  n2 w& L" ^7 K% c2 q+ D4 w6 Z
  575. 4 C( U# n/ D/ V& o- w$ `
  576. ;windows.show_crt_warning
    - z3 v+ h  W# ^* i' Z
  577. ; Default value: 0
    5 i' Y, l. X/ w1 t; I
  578. ; Development value: 0
    2 B; k! c5 H' [: r; l% l
  579. ; Production value: 0! p( s" H% n/ h. H) j+ p" F
  580. # ?) o6 g3 ^8 P+ D4 J$ `: g- w/ |
  581. ;;;;;;;;;;;;;;;;;
    5 M% J1 p; V. r5 Y! ?
  582. ; Data Handling ;: K& V1 {' Y, Z2 Z- F
  583. ;;;;;;;;;;;;;;;;;
    ; N3 [: Q# w5 i$ @, d

  584. - B- b4 m3 f2 V5 u5 f
  585. ; The separator used in PHP generated URLs to separate arguments.
    " \/ K& T* ]7 s2 C; |- u
  586. ; PHP's default setting is "&".
    4 o9 p# d- Y, e0 O4 ^6 ^$ S
  587. ; http://php.net/arg-separator.output
    ' x- Y* ]- I$ g4 w
  588. ; Example:
    ' a8 b3 o5 v" h+ [
  589. ;arg_separator.output = "&amp;"
    - o4 N) h5 o; J3 U
  590. % M8 f) [2 k- ?& m  p4 M% N5 S
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ) M; i6 x. G, V# ~" a5 t& J0 K& H; C
  592. ; PHP's default setting is "&".
    5 |: W( N8 T2 x# Z$ E3 p* u
  593. ; NOTE: Every character in this directive is considered as separator!
    / }  y" C3 b$ L0 e6 E
  594. ; http://php.net/arg-separator.input% S) @4 ]7 L+ E3 B. M' `
  595. ; Example:
    : _- @! i* ^9 j; e; z: \* c- ]
  596. ;arg_separator.input = ";&"
    6 x" |- v4 h/ H9 F* v

  597. 3 m9 K1 T( L& V/ U7 i- q: |
  598. ; This directive determines which super global arrays are registered when PHP
    " x$ G' K8 I& a3 h% d7 o, H
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    " @: C9 a3 i3 K
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
      d; }  R# h/ e
  601. ; paid for the registration of these arrays and because ENV is not as commonly1 Q% |6 J- G8 s* {6 ~
  602. ; used as the others, ENV is not recommended on productions servers. You, c1 P) X7 x# l6 T6 m, d" g
  603. ; can still get access to the environment variables through getenv() should you
      j/ i! C& A3 j  A, c) B
  604. ; need to.
    ) Y- I, b% n6 h7 K  F( J; q
  605. ; Default Value: "EGPCS"
    * O: j' h0 }7 ~3 e" @0 h4 [% t
  606. ; Development Value: "GPCS"
      f, _$ P; m+ K  g
  607. ; Production Value: "GPCS";/ o- J) @" X5 D2 d7 k
  608. ; http://php.net/variables-order
    . e/ j5 O" P- ?) ~# o: w
  609. variables_order = "GPCS"
      R5 h1 x+ @+ v: G8 R+ u

  610. ' T; O  ]- Y. D
  611. ; This directive determines which super global data (G,P & C) should be9 S% u) A+ p% K. o. R3 ?, g
  612. ; registered into the super global array REQUEST. If so, it also determines. ?1 @0 X' I8 N
  613. ; the order in which that data is registered. The values for this directive
    / e" c5 _+ C+ z
  614. ; are specified in the same manner as the variables_order directive,% q  a# ], w' S
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    % u8 A4 g6 y' _' S, X  Q
  616. ; in the variables_order directive. It does not mean it will leave the super
    - t  x$ P! B& u
  617. ; globals array REQUEST empty." i: J4 T/ Q' F; T  p& P
  618. ; Default Value: None6 H" `! l8 x0 j4 f2 l% I. m
  619. ; Development Value: "GP"
    ) c7 H3 P, f  H' i8 @4 [4 R( L
  620. ; Production Value: "GP"! j: B) t6 I+ |' _$ h! k* [$ x" A# L: `
  621. ; http://php.net/request-order
    + B' s4 A1 ]2 E& n% Q
  622. request_order = "GP"
    0 c0 d3 E- q- [7 A
  623. 8 n; F& e$ W+ l; ~+ `
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ! X; D$ r$ E, J
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! F. i5 p. `" G6 @& J
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ( R% \5 C$ o5 S8 f& ?8 p& X( R
  627. ; that were passed when the script was invoked. These arrays are extremely2 L7 ~9 u9 ^, e: X) a
  628. ; useful when running scripts from the command line. When this directive is
    4 p" A% o& g- [4 K' l' ]8 l6 b# c4 U" F
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    / H% n0 l5 M/ ~2 p, F. w# S
  630. ; a script is executed. For performance reasons, this feature should be disabled
    8 v9 ?! Z! Z; J+ B8 C6 P
  631. ; on production servers./ b) N$ M" i1 X; o& ~7 j0 i8 S
  632. ; Note: This directive is hardcoded to On for the CLI SAPI1 H1 Z& z2 A+ f4 y0 d4 i& Y: M
  633. ; Default Value: On
    3 D1 l2 r" [' {, p; W6 t2 z
  634. ; Development Value: Off8 z  `# `" S4 p1 t/ e- [; y
  635. ; Production Value: Off
    0 n0 ]9 \$ E' w6 X2 s5 `" F
  636. ; http://php.net/register-argc-argv
    * Y. f1 l5 ^8 V+ B
  637. register_argc_argv = Off* r" m6 V, _0 g

  638. 9 I$ P" P7 m( |0 l
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% X6 E) \3 l3 Z1 ]
  640. ; first used (Just In Time) instead of when the script starts. If these3 Z# |' W& _. d, [1 }' b" @4 F. J
  641. ; variables are not used within a script, having this directive on will result
    1 H2 ^5 Z+ F/ m5 o
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    0 e* I; p9 i5 |' K, X' i  ~
  643. ; for this directive to have any affect.4 T( s, B& ~) b$ s0 x  H
  644. ; http://php.net/auto-globals-jit, o2 [2 d+ \. V$ S
  645. auto_globals_jit = On+ {  c8 h; F# i0 ]/ t
  646. ) b; K# ~2 E: b
  647. ; Whether PHP will read the POST data.
    6 u7 y0 b  x0 _! p1 j7 y& }$ J/ b( X
  648. ; This option is enabled by default.
    " y2 Y: S- o( Z( k# K5 C. @# z  N
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! v! J, y. D4 h2 p; r( g7 @2 l
  650. ; and $_FILES to always be empty; the only way you will be able to read the1 j. W6 S8 T3 [: f4 z3 [
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    / E4 p- i; r. J3 l; d. F; M' }4 V
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / j& l6 x5 j1 R5 N+ a4 V- n" v
  653. ; http://php.net/enable-post-data-reading
      K( v+ B8 |5 x6 Q) N
  654. ;enable_post_data_reading = Off
    / s! m; e3 z# J8 H, h
  655. . o- l& m1 y& D( \6 z. G1 c2 M
  656. ; Maximum size of POST data that PHP will accept.
    - q9 P9 l* g# s! `+ ^1 m. h
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 l5 ]8 r3 o' r" B
  658. ; is disabled through enable_post_data_reading.* Z  g$ E( ~( j: C  }
  659. ; http://php.net/post-max-size  h) S5 V5 Z3 k2 W
  660. post_max_size = 50M
    7 X& z7 s7 k' b3 h

  661. * `8 o0 a- u  a% d: e; k
  662. ; Automatically add files before PHP document.4 _) Z7 Y; \% p2 t
  663. ; http://php.net/auto-prepend-file5 ?! W3 r  P3 C$ ^4 e
  664. auto_prepend_file =& ]" b/ |. o' |8 L5 B, |

  665. & f9 M6 ^0 D4 z' C! ^  K
  666. ; Automatically add files after PHP document.
    & }) \6 x. p/ d$ u
  667. ; http://php.net/auto-append-file9 ]+ u3 A) k3 t, I- n. o: f. l
  668. auto_append_file =+ T  P7 Q. k* n. q0 y

  669. * ]9 E- S2 h- @$ }; `% ~
  670. ; By default, PHP will output a media type using the Content-Type header. To4 d9 ]) m, l- l) l+ N/ @
  671. ; disable this, simply set it to be empty.
    / I# E# D  j, ~% Z
  672. ;
    ; g1 E8 b' U6 A5 f
  673. ; PHP's built-in default media type is set to text/html.
    4 A, N! {, E1 ^: X# l
  674. ; http://php.net/default-mimetype# I  r4 B+ k9 T( a1 n1 }
  675. default_mimetype = "text/html"
    . \1 t4 V5 t9 D, ~2 W& r$ ~4 C0 c
  676. % W" Q5 W  ^7 K  |( M
  677. ; PHP's default character set is set to UTF-8.4 T- Y- c" Q" t2 w5 _
  678. ; http://php.net/default-charset
    7 C6 R8 u! S( l# H- S
  679. default_charset = "UTF-8"
    ( X2 I9 b& P' Y" u5 C

  680. , ?- N7 D$ i' E, A) r
  681. ; PHP internal character encoding is set to empty.
    . H1 |2 j2 u( _, h. Q8 a; }
  682. ; If empty, default_charset is used.
    . X( ^( I, B4 s; ^
  683. ; http://php.net/internal-encoding
    3 f* f# _4 H% h- ], g
  684. ;internal_encoding =* z: h2 l5 G, _8 C  c4 I
  685. 6 o  h- A4 t; N8 T! n- T8 d, x
  686. ; PHP input character encoding is set to empty.) \3 i$ t$ _6 @6 Y6 b: T
  687. ; If empty, default_charset is used.
    ) m3 V5 @8 y* C
  688. ; http://php.net/input-encoding
    ) K0 t1 f8 _0 @
  689. ;input_encoding =
      v+ f% K0 _. T0 r* l. l- F' r
  690. 6 m! ?4 V' f8 R4 s; [8 f! _' u
  691. ; PHP output character encoding is set to empty.  L3 p* ?  V6 D% K) x( T/ d
  692. ; If empty, default_charset is used./ ^0 J6 b/ ?7 y+ v
  693. ; See also output_buffer.
    ; e/ g9 M) ~) H4 I# H/ p
  694. ; http://php.net/output-encoding
    ( n. X. w# d" F+ Y' B) }
  695. ;output_encoding =; v: ], `8 @0 n4 M. f4 m/ @
  696. ' |# U8 u' H( v& B
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    " `4 p+ a" ~9 c
  698. ; to disable this feature and it will be removed in a future version.
    9 T/ I. K& X/ Z# ~- M, |. O
  699. ; If post reading is disabled through enable_post_data_reading,5 E$ h, \) Z" v4 ?% X
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ! _- r$ }; @; M; _9 D
  701. ; http://php.net/always-populate-raw-post-data9 i. u; e4 J( u& Y, {& F( y
  702. ;always_populate_raw_post_data = -1
    , j9 S# A3 `+ L2 }4 F9 `

  703. ) ~* }; U: B1 ]3 r5 G9 c
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;( X6 S0 @+ L( X: C
  705. ; Paths and Directories ;
    ! s$ p, R3 P0 R% z# Z
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;7 m( B+ `) |& a9 L' m, u5 r* J, }7 [# v

  707. ! R) ~% ]5 P9 p( y4 ?3 C0 `: K; f
  708. ; UNIX: "/path1:/path2"
    / ~+ T* ~% t* v* s- K0 H
  709. ;include_path = ".:/php/includes"
    3 Y; q! [( w* {* `
  710. ;
    # I* m- h/ e+ b1 B' |' D
  711. ; Windows: "\path1;\path2"
    + {9 X/ e6 a1 O
  712. ;include_path = ".;c:\php\includes"( |9 |, F3 c: G5 }- ?; q  N# h9 W
  713. ;% x6 ?6 @3 x& j" L1 m; j: |9 S- z
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    & a8 n6 y+ D8 \0 f4 W% b7 @
  715. ; http://php.net/include-path8 T& w9 p" J4 m" U( i4 G
  716. . Z3 J0 d0 J5 Z$ Z0 f1 K
  717. ; The root of the PHP pages, used only if nonempty.
    " b! Z3 S' u6 A# m- y" D* H
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 F7 }3 _8 \* A3 {* ~# C
  719. ; if you are running php as a CGI under any web server (other than IIS)
    . S* q& C/ r* A. R& |& h7 F+ h  m
  720. ; see documentation for security issues.  The alternate is to use the/ g2 D$ `  i5 [7 _3 Y- W. X: y
  721. ; cgi.force_redirect configuration below
    $ v0 }6 s) e7 A- a: a, f; S' f6 O9 |
  722. ; http://php.net/doc-root1 e# k1 \5 W3 r3 x
  723. doc_root =
    5 u6 r  z% f, X! n9 ^

  724. " c% v7 x/ B8 a6 J: z+ p; i! ~/ [5 A- l
  725. ; The directory under which PHP opens the script using /~username used only. K8 B9 a- f  e4 o
  726. ; if nonempty.( ~4 B) w) V/ F
  727. ; http://php.net/user-dir$ b5 W4 G; s2 ?
  728. user_dir =
    % J! O% n. `4 K5 h$ U7 M( G
  729. ( y. e. E8 n. i! _; y/ x$ L7 t& |
  730. ; Directory in which the loadable extensions (modules) reside.' }* ^7 F7 w5 H2 m
  731. ; http://php.net/extension-dir
      A* n" c# C) X+ v3 _
  732. ; extension_dir = "./"7 c/ q! M7 Z, D( m+ l
  733. ; On windows:
    . R  s5 y" l6 H1 ]& ^, g
  734. ; extension_dir = "ext"
    ( p( g# O: W. i( `% V, m
  735. 8 X! k3 W& ~6 S9 U2 Z
  736. ; Directory where the temporary files should be placed.. h8 K9 N4 {) D- |/ N  X& @' m
  737. ; Defaults to the system default (see sys_get_temp_dir)
    * y1 E6 c. S) I+ I3 j( C
  738. ; sys_temp_dir = "/tmp"
    . b" L3 L* n% f0 L

  739. ; t4 E& E4 w. f  a  `
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work: _* e8 B6 n6 c) a9 i' j5 s- B2 \* E
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically- ]4 \2 i) l$ T  e0 p3 w! c
  742. ; disabled on them.0 \* x& T' Y) w) j6 T) }
  743. ; http://php.net/enable-dl
    ; k, e& ~4 J* I2 _
  744. enable_dl = Off
    " [! K& O3 A  V9 E  f
  745. 7 p: b  `3 X; d3 v
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under- [( M- V( Z& o
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / X2 {9 T% C* N& j! K) |* J
  748. ; turn it off here AT YOUR OWN RISK1 e( [: p8 M: O, G
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% {$ a9 X+ F3 O& f& [
  750. ; http://php.net/cgi.force-redirect2 R6 q1 q5 j. d) ?/ K# E* h' P, c
  751. ;cgi.force_redirect = 1: c+ {6 L; d3 r8 v9 y: o6 r
  752. ; G; C( R8 e) ?6 m! c; C
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    - w, J, e7 ?$ y0 q  _
  754. ; every request. PHP's default behavior is to disable this feature.
    0 Z! ~9 _; P2 @% i6 ]# \
  755. ;cgi.nph = 1
    ( P5 [. ^% G$ r6 B
  756. , D% x6 Y  e; _, A, c  K
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    # G, _2 S9 d  ^2 h8 O  q: @
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( b- P9 L& G- f
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 {4 A" p) ], {
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.% B+ a2 g% m/ _5 D6 }
  761. ; http://php.net/cgi.redirect-status-env
    2 |0 H  d& O5 j" R1 D; q% Q) j
  762. ;cgi.redirect_status_env =9 O! s% I6 V- M& x) Y/ h
  763.   E% p0 _6 F8 p3 k; V
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's, s' U9 @; @5 @3 _2 B
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    * }. ?/ V6 I( W
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting- h: g3 ?) Q+ D5 {  O5 U% u/ n$ P
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " z3 B7 N, }0 I
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ! @/ l* {% O7 _5 ]8 J( Y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) f, A4 P5 O7 y( _$ J' n3 d, A3 t
  770. ; http://php.net/cgi.fix-pathinfo
    5 }4 B. s5 i0 Z6 C! {
  771. cgi.fix_pathinfo=1
    : ^7 w) p- l# `7 l" y$ q2 F% [* }

  772. / c% S5 K0 Y1 k6 `4 q: P9 o1 \0 P
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 \) W5 D9 _: ?3 `, @; a
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    - G6 J7 d6 @8 i4 {, D
  775. ; http://php.net/cgi.dicard-path. q& _/ V5 B6 M/ @
  776. ;cgi.discard_path=1
    4 S, {+ L8 T1 N% k6 a. t  T

  777. 8 K9 r9 k1 a  j$ e  @
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ x4 E( G) ^; K4 J
  779. ; security tokens of the calling client.  This allows IIS to define the5 @& l1 O# I1 j, |2 L" A" A
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    9 R$ J1 H) `' U: S
  781. ; does not currently support this feature (03/17/2002)1 a) T* @& l6 C: A' E0 U5 k
  782. ; Set to 1 if running under IIS.  Default is zero.
    % w( i) A. |0 L5 B' E' D7 t, T
  783. ; http://php.net/fastcgi.impersonate! M1 Y; ^+ B4 I' z& ^
  784. ;fastcgi.impersonate = 1
    " M; F; B) V) D) l% ^

  785. 9 h, r1 k3 @1 T6 X; J; t
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable& R! D9 C# O: m: n- W" U
  787. ; this feature.# ~! n! Q, D0 S" S
  788. ;fastcgi.logging = 06 G% z% ], p" X5 j9 ~

  789. 0 ~" x: o  A9 R$ A& Q" ~  d5 D
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 ^# d9 e; Y* v
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ m3 Y6 g) @, s3 ^2 Y
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    % M  O$ X/ _5 r* f4 z3 ?3 K
  793. ; RFC2616 compliant header.
    ; e. h+ q# t! F
  794. ; Default is zero.
    $ E. r" S; s0 j& u9 a# G0 e" e
  795. ; http://php.net/cgi.rfc2616-headers
    9 a7 G/ p1 ~' T4 \
  796. ;cgi.rfc2616_headers = 0
    ; H8 c+ o4 h' c

  797. 5 N3 J' Z& e6 r
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    % E; R, N+ R/ \0 n9 \
  799. ; (shebang) at the top of the running script. This line might be needed if the! g+ M+ @" I$ J2 i+ ]6 T- n  C; T
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 Q/ Z1 @; d' C* t  @7 `# ]6 \
  801. ; mode skips this line and ignores its content if this directive is turned on.1 [  H, }+ K. A! J
  802. ; http://php.net/cgi.check-shebang-line9 h# ^: C; s8 T0 G/ \& t" ?" U
  803. ;cgi.check_shebang_line=1
      r5 ?# ~2 _, z; w+ ^; K, y  j. [6 H

  804.   A- d! y9 d  f0 f: P- z! C5 X
  805. ;;;;;;;;;;;;;;;;. s; q# j& N# g% J
  806. ; File Uploads ;) \7 ^# ]. E! w
  807. ;;;;;;;;;;;;;;;;
    ( @' `$ f! W$ M3 o

  808. # X7 |, t: \1 y- k- _% ]( ?
  809. ; Whether to allow HTTP file uploads., u; b" f2 N8 @9 F7 I) J
  810. ; http://php.net/file-uploads
    7 P) h6 K- y' l* {
  811. file_uploads = On
    ' _4 X) j3 l1 A: J

  812. , O5 P, C1 h$ b3 z& Z) g
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ) b" q8 N2 k7 n0 g
  814. ; specified).5 V9 R; C+ l- O8 g# }
  815. ; http://php.net/upload-tmp-dir$ w& B. u3 F+ |$ `* b  ~/ Y, E
  816. ;upload_tmp_dir =
      ?) \) |- h& m& l% ^

  817. ) @0 m2 p% d- [1 }
  818. ; Maximum allowed size for uploaded files." O) m- s# b5 g8 q' A
  819. ; http://php.net/upload-max-filesize
    ) ^& ~# i/ z- c. \
  820. upload_max_filesize = 50M) p6 Q& j4 w0 t9 i1 p) M, B9 I$ }
  821. 4 i- u2 Z6 G' a' L- I. @  ^) c# o
  822. ; Maximum number of files that can be uploaded via a single request
    $ Z+ O# `& d, k% M( ?: E
  823. max_file_uploads = 20
    - f- n0 {+ `. o

  824. ! d4 o4 n- g" S# L& M3 c* C; V
  825. ;;;;;;;;;;;;;;;;;;
    8 o, g2 u: L8 p$ M
  826. ; Fopen wrappers ;
    # f* [: n7 \; }4 ~1 R. [- V
  827. ;;;;;;;;;;;;;;;;;;
    0 y' X6 i* `' I9 Z

  828. ( O7 E, q) M3 \7 t5 i( [1 i$ ^1 Q
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : s: v& {' H5 H4 W& u1 a
  830. ; http://php.net/allow-url-fopen7 I' S! S& t3 o: t# l9 _. {) a4 B( J% c
  831. allow_url_fopen = On1 O2 ]7 w1 ~, u. f' X3 I

  832. 4 A$ u% S/ H1 S* {4 S
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    6 ~1 m! Z* ~- ~5 F# r3 k) i% U
  834. ; http://php.net/allow-url-include
    . }! s0 p' B/ H8 J& h7 y( e
  835. allow_url_include = Off
    - i7 c. Y6 Y8 S# x* j$ j

  836. ! _# a, s/ N3 q. h8 z
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    1 X- x3 q  O' k+ F5 K4 x( i, K1 M
  838. ; for this is empty.
    1 \9 H8 R/ R1 x. y5 F5 a! R( g
  839. ; http://php.net/from5 Y" _+ p$ k- d% m
  840. ;from="john@doe.com"' _% E6 P: w* Z! q8 e
  841. 6 [% V7 w9 Q4 K3 H
  842. ; Define the User-Agent string. PHP's default setting for this is empty.* R  d) g; D  F9 W# L& r
  843. ; http://php.net/user-agent
    & v9 i; Z8 Z' }+ Y
  844. ;user_agent="PHP"  ]) V# h# B( l0 t+ k' C) ?

  845. 8 Z* ]; [# ]; b" c3 T/ ^; _7 p$ i
  846. ; Default timeout for socket based streams (seconds); F( R* t1 W# F) v
  847. ; http://php.net/default-socket-timeout
    - f% z, R1 k/ R- Z
  848. default_socket_timeout = 60: `- X; Q* D% |8 _: P- i) _# a
  849. , }0 M& `5 |  u0 ~
  850. ; If your scripts have to deal with files from Macintosh systems,% R6 E( \  E8 `( N) m
  851. ; or you are running on a Mac and need to deal with files from$ x) s4 T7 E- G  I9 p
  852. ; unix or win32 systems, setting this flag will cause PHP to
    1 h6 a( f. d* I8 G( _0 y6 b9 U: U
  853. ; automatically detect the EOL character in those files so that4 V1 h+ u! c# u  y- s: A
  854. ; fgets() and file() will work regardless of the source of the file.
    $ r* @4 R* H7 L, e9 v8 J
  855. ; http://php.net/auto-detect-line-endings
    ; ~) ]8 N9 R2 H0 P% v
  856. ;auto_detect_line_endings = Off
    6 g5 |( t2 L4 ]5 d3 W6 E0 i; |

  857. . v- W  s. v, w# b: L6 e
  858. ;;;;;;;;;;;;;;;;;;;;;;
    6 q% n8 O+ ~: s0 i- E  E4 ^  x
  859. ; Dynamic Extensions ;, e5 s0 [) ?. L* b
  860. ;;;;;;;;;;;;;;;;;;;;;;
    2 o( g) B/ K8 r# q0 X
  861. 2 l1 a0 W- ?0 V8 s  c. ~7 M
  862. ; If you wish to have an extension loaded automatically, use the following  y/ S1 _3 v3 t. [
  863. ; syntax:
    * A$ Y' L: {0 U' e1 f$ N8 t
  864. ;; m. Q% e9 Z' V$ T, x7 U2 _
  865. ;   extension=modulename.extension, r( B9 L/ J; v* R
  866. ;
    3 p* ?# H% B$ N3 i, ]% D
  867. ; For example, on Windows:
    ( a% ~  l! b" I, H
  868. ;3 W) b6 ?( S. M
  869. ;   extension=msql.dll7 b  }' Y; G; d
  870. ;- t$ \! ?: |; L- s
  871. ; ... or under UNIX:
    9 W6 ?' N2 y7 l2 g2 P
  872. ;$ Q" Q' a6 ~% [- O1 y1 c' }
  873. ;   extension=msql.so
    . N8 H4 {3 q; O$ b1 _# I
  874. ;
    % e" C6 F$ T2 ]8 B2 m0 P( [6 s
  875. ; ... or with a path:+ h' F) J* H) {; i/ g9 k7 y9 A- k
  876. ;+ L% O( l% F' ^7 y3 G! J
  877. ;   extension=/path/to/extension/msql.so
    ' K" I$ q' x. ^3 H+ M
  878. ;% x; u. O  l  I- k" ~% @' q
  879. ; If you only provide the name of the extension, PHP will look for it in its3 H" |% {& q3 v8 r& d7 j; \/ S
  880. ; default extension directory.
    8 k$ G7 q* h, N$ U/ ]
  881. ;
    ) S/ N1 ^: q! C1 j9 ?) n" K( @
  882. ; Windows Extensions9 i" U0 B) o: b4 W+ r+ w5 {4 h
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    $ g( e% `7 m. n
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    # g8 Z! w* D  a; i
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).- B$ Y9 h$ @" r! i1 O
  886. ; Be sure to appropriately set the extension_dir directive.
    & w" j* ^) d  I2 h8 Q
  887. ;3 ]4 s' K* J) k( }3 K/ O. g8 R* [
  888. ;extension=php_bz2.dll
    & n6 ?1 e, ]) |! @
  889. ;extension=php_curl.dll
    # g  q0 Y. I' i, a
  890. ;extension=php_fileinfo.dll
    8 ~# D1 y- ?  a. [4 l& j2 B2 }3 k
  891. ;extension=php_gd2.dll- E+ \- ]0 h" i. U
  892. ;extension=php_gettext.dll$ J. a' ]4 c& ~; o1 @* E* {
  893. ;extension=php_gmp.dll
    $ n6 C) }( ^' w* V
  894. ;extension=php_intl.dll
    5 S, B5 k$ H& h/ F9 y$ x7 r
  895. ;extension=php_imap.dll
    0 C: @1 ^* }+ @
  896. ;extension=php_interbase.dll1 K  R- C, t$ }* e
  897. ;extension=php_ldap.dll! g$ w+ l2 a% i+ w/ B3 z0 b' h
  898. ;extension=php_mbstring.dll
    1 L! F) o2 p* o' x& ^% N0 [' F
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, y# C; `: b$ I: H& T1 I% M
  900. ;extension=php_mysql.dll
    ( B3 K: s  y& Q8 z! u
  901. ;extension=php_mysqli.dll
    * Y7 w/ W3 B( [
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    3 f) F1 W' u/ J& ~: W* D
  903. ;extension=php_openssl.dll, P6 U- D$ l* U" x$ R5 m3 t- h
  904. ;extension=php_pdo_firebird.dll' v) f- z, y4 g  k. j1 R
  905. ;extension=php_pdo_mysql.dll4 x/ }. X' v  j* V" `' t3 \/ }
  906. ;extension=php_pdo_oci.dll
    $ w4 T! O. f" k& Z9 m; v6 t
  907. ;extension=php_pdo_odbc.dll( d1 E7 X6 G9 W  g! O
  908. ;extension=php_pdo_pgsql.dll* {' ?" m5 Q# r/ ~8 n
  909. ;extension=php_pdo_sqlite.dll* Q2 I5 z9 k- Z% T7 P& s& g
  910. ;extension=php_pgsql.dll
    5 Y1 i8 l* s* X5 ?$ y* J" O+ K9 s6 o
  911. ;extension=php_shmop.dll
    5 A5 j9 _- }0 y2 L) z8 B

  912. $ a- _$ |: [/ E$ B
  913. ; The MIBS data available in the PHP distribution must be installed.
    1 I8 D) s. t1 X8 i& _
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    3 b+ Z8 d. d/ S# `# c8 |  x
  915. ;extension=php_snmp.dll# I: }2 R4 r6 ]$ w- w  n7 J

  916. $ c% d' ~% Y9 }" {: @9 Z0 J5 m' j
  917. ;extension=php_soap.dll
    & W" h4 g4 q9 Y2 Q
  918. ;extension=php_sockets.dll
    : H4 |4 N* T, ?& o; u( [
  919. ;extension=php_sqlite3.dll* `. N! R4 D2 L
  920. ;extension=php_sybase_ct.dll. H, E1 F$ `$ d* Y- ~. `
  921. ;extension=php_tidy.dll
    % I$ U. H8 ]$ D0 Q# V& W  i2 A
  922. ;extension=php_xmlrpc.dll
    % ]- S! H1 T9 i" ]2 x3 @( k0 R
  923. ;extension=php_xsl.dll
    % z+ E* |. N/ L) W1 ~1 X- @/ e

  924. 6 Y) T" F/ M0 u! R
  925. ;;;;;;;;;;;;;;;;;;;6 ]8 y) S. m2 N- j1 o
  926. ; Module Settings ;. L& y! \5 a9 {; j% E5 m. v* N
  927. ;;;;;;;;;;;;;;;;;;;
    # |. c, O4 M2 I  @1 s: ^
  928. , M0 Z. n) h0 `: ^
  929. [CLI Server]
    * v* B0 v; S8 D2 R
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 n7 z* }/ i4 f; V* F0 R$ D
  931. cli_server.color = On
    + {' J6 S0 t4 U) C- W3 Q5 k
  932. 9 T0 x% x# R7 P* E
  933. [Date]8 m: @8 E. h+ L
  934. ; Defines the default timezone used by the date functions/ D. D( c" w1 G- ^
  935. ; http://php.net/date.timezone9 `/ n4 n6 P1 [  S
  936. date.timezone = PRC
    % V% A3 `$ f9 p' `  v+ g/ D6 r

  937. % L1 Q7 o7 I; r
  938. ; http://php.net/date.default-latitude
    6 A( i0 t# J8 H. _
  939. ;date.default_latitude = 31.7667
    ) u" w1 S- c) Z% ~4 {1 G& x
  940. & A* k0 ~( {' u" e6 N
  941. ; http://php.net/date.default-longitude; p( X# h3 _: v9 d- ]) W
  942. ;date.default_longitude = 35.2333
    7 s, d$ \7 H, [7 L
  943. # W# P7 [* _: r: ~
  944. ; http://php.net/date.sunrise-zenith+ y) N1 u" O% U* o* I
  945. ;date.sunrise_zenith = 90.583333- P, N1 U6 t2 `& N/ ?* d& S

  946. 9 ~/ Y5 e$ d) Z
  947. ; http://php.net/date.sunset-zenith
    # f* r7 e" l! _( Q
  948. ;date.sunset_zenith = 90.583333% ^' \5 W$ U( L+ T
  949. : t& p- n+ Z- l
  950. [filter]
    # x' r9 r- p0 v4 d2 m* Z. h- v% N
  951. ; http://php.net/filter.default! w  o, \$ n7 x7 P
  952. ;filter.default = unsafe_raw8 G6 @! @/ d9 d/ E- w( e
  953. / z% U3 i! F6 }- ~
  954. ; http://php.net/filter.default-flags
    ' S# m( J, {) p' ^
  955. ;filter.default_flags =
    " A, z7 r, b$ ~8 L+ b+ m. J9 r

  956. 4 `. y/ \: j( `* C$ z* s( P1 V
  957. [iconv]9 A1 c5 m( l$ A* [" u8 _! V
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( T) u" H) B( m) J' K
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., a# k& i: Z! N- F, t
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    , A9 m5 @( P' U; e/ i
  961. ;iconv.input_encoding =- P  Y  C$ T& ~- k

  962. 2 \7 i; P# \6 @. i# d* i
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.& H# U3 `5 S6 N. M
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  P& {" D) E- F( i2 F4 j. R7 F) W
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 H. b, @+ g( L' T4 |. t% E
  966. ;iconv.internal_encoding =
    6 P: X1 |' L/ E( A' }- ?( C5 y
  967. ! i7 N  M! Z% z* O2 D2 M3 k& k: I
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # ]6 ?! A; C% }! r4 {- L7 [: t% `
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    " K4 y. t! N. I9 F/ j
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      e2 A) _& y, ]7 }# Y
  971. ; To use an output encoding conversion, iconv's output handler must be set: v4 b  J4 F8 m3 k! Y0 {
  972. ; otherwise output encoding conversion cannot be performed.
    : h9 H" E0 X% L$ M
  973. ;iconv.output_encoding =
    ) _! Z% l3 Y& L* T3 B/ @/ r
  974. ; K5 L! q2 W/ ^3 }: i; {3 l7 r" N
  975. [intl]
    5 q7 l. y' W+ ?8 h/ Z- ~1 `9 K
  976. ;intl.default_locale =
    9 \) ?1 s# z- P8 Z
  977. ; This directive allows you to produce PHP errors when some error1 N% G0 R- @' b& _2 E
  978. ; happens within intl functions. The value is the level of the error produced." n, \# M! Z8 ^9 a1 A
  979. ; Default is 0, which does not produce any errors.
    * z+ j7 \! V8 h; \. \2 X! b
  980. ;intl.error_level = E_WARNING5 ^0 V! w" }2 q
  981. ;intl.use_exceptions = 00 O) t% ^, P7 @$ l. T8 u/ [

  982.   q' g& @* E7 Y4 I  x3 l2 h: i
  983. [sqlite3]
    . h) V0 E, L% P: t5 p  q, I
  984. ;sqlite3.extension_dir =
    8 N$ H/ Q7 m% L9 x
  985. % l: m, B& ?; H8 Z4 R
  986. [Pcre]
    % b5 \$ w; U& C" E+ O4 B5 n" |
  987. ;PCRE library backtracking limit.) `; C1 ^2 z4 ?- y3 U5 ?+ s& E( P
  988. ; http://php.net/pcre.backtrack-limit9 _5 J# X' t  |; I9 m) B
  989. ;pcre.backtrack_limit=100000
    ( [2 f; k5 I- `. p5 Z5 x% q
  990. ) l0 w# B& p7 ~. x, u3 o6 R' T
  991. ;PCRE library recursion limit.
    , y1 o! w$ B+ B, Q0 w
  992. ;Please note that if you set this value to a high number you may consume all
    ' H- z8 o& ~! t; T! V3 l  ?0 i
  993. ;the available process stack and eventually crash PHP (due to reaching the  G3 ~# X6 s: |4 Q5 e8 Z, N
  994. ;stack size limit imposed by the Operating System).
    2 }* U8 s# S( }
  995. ; http://php.net/pcre.recursion-limit
    . |+ W, z7 i3 o3 m. G
  996. ;pcre.recursion_limit=100000" J2 ~- B/ f' f0 M- H: Z; s

  997.   k  T7 I$ C8 T
  998. [Pdo]. G9 ?' e. K# Y
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"% |/ s( w4 G4 P$ Q& ?# A* d
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ! k* e+ Y4 S7 O# d
  1001. ;pdo_odbc.connection_pooling=strict: H/ A9 o, `6 _4 S

  1002. 2 ~3 J0 B6 f% a: `+ A
  1003. ;pdo_odbc.db2_instance_name
    + \$ A9 m7 `$ w9 F: d! |( X, T& u$ D
  1004. ) o$ F! F: X  t3 ^% R7 z& J; |8 @
  1005. [Pdo_mysql]
    . W& i8 \3 i* N: ~7 Q2 y
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 u4 P' ~2 O; i8 Y& U; @
  1007. ; http://php.net/pdo_mysql.cache_size
    & j- u0 r7 u& i9 e! @* \: Y
  1008. pdo_mysql.cache_size = 2000
    8 ^2 v  ?: c* M% A+ s

  1009. , P- M: ^( l8 p1 j# q( Z
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in( h# z& a2 x, \3 \; |9 X
  1011. ; MySQL defaults.
    " t- F  P8 z1 f! p
  1012. ; http://php.net/pdo_mysql.default-socket
    1 b/ B  q& L5 h2 x
  1013. pdo_mysql.default_socket=) s$ i3 k( |* g- J2 B0 @7 ?

  1014. 0 r- Q$ A0 k: S5 h  O% c" Q1 z
  1015. [Phar]
    + |* [& G9 }3 r* N! X5 Y$ l
  1016. ; http://php.net/phar.readonly( S0 G0 W8 N2 x! r4 c0 _" [
  1017. ;phar.readonly = On9 z# l- f6 v* X" W6 B0 S

  1018.   p( v+ p) d5 w# V5 L
  1019. ; http://php.net/phar.require-hash
    , @& Z/ r) D7 s. Y# Y7 b# r4 F
  1020. ;phar.require_hash = On
    3 E$ q" U2 ]9 G* m8 Y% U3 I

  1021. - r5 V0 u7 R5 r& `
  1022. ;phar.cache_list =
    % m* i1 ^/ N& |4 D
  1023. 9 A8 m9 R0 b" V7 r* r) W7 g0 Y& z
  1024. [mail function]# W9 e/ p/ Q9 V9 R3 I3 m7 G4 y
  1025. ; For Win32 only.
    3 I( t$ O( S9 |2 U
  1026. ; http://php.net/smtp
    $ F% Y, G6 q. P0 z  m* y8 S* `6 e
  1027. SMTP = localhost
    ( j, j6 y1 N9 `
  1028. ; http://php.net/smtp-port
    + X* R7 v3 A' v$ r% _' g9 u+ f6 |
  1029. smtp_port = 25* O* s+ W  w  a7 M: g! |
  1030. ! |; l) k2 Q. _% e9 Z
  1031. ; For Win32 only.
    1 O5 L2 L" x$ l# D
  1032. ; http://php.net/sendmail-from
    2 b+ ]" W9 n6 S2 }  c: @
  1033. ;sendmail_from = me@example.com7 Q8 U! w5 A. M" G1 r
  1034. $ S1 g/ ]% R7 _4 K
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").' k1 n0 k3 n9 D% F! {
  1036. ; http://php.net/sendmail-path, L( ^5 f6 U# q( ], \& f9 ~
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    * W2 u0 ~; J* v) y0 i8 C

  1038. 7 x- y: U: C  @* [2 @8 W0 H+ g
  1039. ; Force the addition of the specified parameters to be passed as extra parameters8 h( V8 p+ O, w
  1040. ; to the sendmail binary. These parameters will always replace the value of
    0 @; F$ m( N6 y6 _0 n* o
  1041. ; the 5th parameter to mail().% d  g& Q+ `4 Y+ R! C0 A
  1042. ;mail.force_extra_parameters =
    ; B, x' \4 m6 `+ D& h+ q) G

  1043. * l: ~$ \6 q2 p; W* N
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename* j; F. X- M  Y* h3 |1 k/ q
  1045. mail.add_x_header = On
    " P5 q7 C6 j$ n% x
  1046. ! F$ J$ n" Z% k) i: z5 t5 @# }, y
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    0 V8 T( Y! _9 C! r( `4 A4 \
  1048. ; the full path of the script, line number, To address and headers.
    1 X9 o2 O) _# w, F
  1049. ;mail.log =
    # i& f  m. a# n
  1050. ; Log mail to syslog (Event Log on Windows).
    6 D0 A- \& @2 A' S- C% k. {3 Q: V* @
  1051. ;mail.log = syslog
    % |& z* W) j7 M/ o

  1052. % k3 e& [6 u' A2 c8 \* L0 v- D( S
  1053. [SQL]) C6 d3 t* T. C
  1054. ; http://php.net/sql.safe-mode. m' X8 s1 p" J% s& R6 o
  1055. sql.safe_mode = Off: K- ~' O2 D# a

  1056. $ [  T" O1 f& B* ~# R' U
  1057. [ODBC]
    $ y  ~% U' o% u2 j; J
  1058. ; http://php.net/odbc.default-db6 B% ?5 T5 w2 P- b( X9 ~
  1059. ;odbc.default_db    =  Not yet implemented% y2 A' _& z3 r7 e
  1060. $ i, v* ^) C" h! y% e7 T
  1061. ; http://php.net/odbc.default-user
    0 x# v$ _6 R4 `$ _  x
  1062. ;odbc.default_user  =  Not yet implemented# H' g% {# f* z

  1063. & C' X2 }2 S1 e! e: C& K5 b3 s
  1064. ; http://php.net/odbc.default-pw( A# X% ]. M/ F; ^9 Q1 ]
  1065. ;odbc.default_pw    =  Not yet implemented5 [8 [  Q$ `6 L
  1066. ' L$ l. {- l3 q" i1 H% Y' n
  1067. ; Controls the ODBC cursor model.. d( B( K9 H- E. `* H
  1068. ; Default: SQL_CURSOR_STATIC (default).: j9 W( T9 F5 u7 v
  1069. ;odbc.default_cursortype6 l9 T  T4 J. }. O% I

  1070. 8 X' Y2 [$ J/ g0 B. \7 W5 z
  1071. ; Allow or prevent persistent links.4 S9 a3 b! Z0 J2 y: ~! P8 n$ s) o
  1072. ; http://php.net/odbc.allow-persistent/ H; q9 l% J9 t
  1073. odbc.allow_persistent = On
    * e& S! E' @3 z6 X6 S3 n
  1074. ! F$ G! g" q9 g" M
  1075. ; Check that a connection is still valid before reuse.- W0 r3 @/ }6 W( z( H; R* {
  1076. ; http://php.net/odbc.check-persistent
    0 Q4 s8 G' f( h
  1077. odbc.check_persistent = On. k7 d1 i9 \2 Z" E# S0 a2 ?
  1078. $ L# a: I+ |# [+ y4 e# u/ l
  1079. ; Maximum number of persistent links.  -1 means no limit.
    0 I/ e: y- O8 `* X# R8 S
  1080. ; http://php.net/odbc.max-persistent
    4 _9 n; ?! C6 H. K5 q
  1081. odbc.max_persistent = -1
    : ?0 D, y9 B% r& _
  1082. & }4 g( D4 N" [# o) ~8 {' Q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " S/ P0 S7 z5 p" B: {0 j
  1084. ; http://php.net/odbc.max-links" X( |4 K  s2 F' i
  1085. odbc.max_links = -1
    # E' V6 v3 @0 P6 C1 d. @

  1086. ( _2 g4 q1 o, S, b" B) b* T
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- C, a7 X0 J! O* @: g0 F
  1088. ; passthru.
    5 ?* o* f9 C) F
  1089. ; http://php.net/odbc.defaultlrl6 Z2 F& ]0 Z- V; \  j
  1090. odbc.defaultlrl = 40960 W5 Q6 l/ o4 r6 ], w5 F( h4 _
  1091. ) x2 F# b, G0 L" B* ]
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 N: E5 ^% j: e, B( f- c  W% u
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    % `& C! {- D$ N7 y; Z0 W( p8 z+ ^
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' ?* J% u! c" M% @" ~
  1095. ; http://php.net/odbc.defaultbinmode
    % B( j6 [0 H' P0 d" q
  1096. odbc.defaultbinmode = 1
    2 k; P7 s6 ^2 V- S, X3 H
  1097. # j7 P0 V! a8 S  _, B7 l
  1098. ;birdstep.max_links = -1
    " [4 A( C" `7 z" x. Z2 N) a. H* H

  1099. 3 V7 }) [# {; e! u
  1100. [Interbase]
    7 o# F2 J5 m9 U% \+ I
  1101. ; Allow or prevent persistent links.# ]6 y) Y: L: c- C- l9 R3 a
  1102. ibase.allow_persistent = 1
    " h" k# x+ h2 D6 q: ~

  1103. / f# M4 ^5 B6 G) Z) o0 E9 m
  1104. ; Maximum number of persistent links.  -1 means no limit.
    : V0 p1 j* M2 F
  1105. ibase.max_persistent = -1
    7 f* c4 R$ c% q, O% x  L
  1106. 5 G9 q: w; x, h; a& M+ r
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 U% g8 y0 Q! e2 b$ Q+ j) J
  1108. ibase.max_links = -1
    ' _* f3 B( x- h# C
  1109. 9 y4 z0 a1 m  K! D/ K3 M. Q5 L
  1110. ; Default database name for ibase_connect().
    ) F8 l% ]- n- R( k4 T. ~. M4 X, o
  1111. ;ibase.default_db =
    - s1 \; W) T# S& t- e2 c& _- `2 H/ z

  1112. 7 C3 q/ G3 |: t, F0 u4 k5 D3 \
  1113. ; Default username for ibase_connect().
    9 Q1 c) V. `' ?# j9 z, S
  1114. ;ibase.default_user =
    0 s; n3 ?( ]1 D$ w
  1115. & ^  x, j/ u1 \2 z/ {% j, F( [# w
  1116. ; Default password for ibase_connect().+ X! }2 C) n+ l4 ~- P
  1117. ;ibase.default_password =
    0 y% [% U0 h& |$ I$ _+ ^5 u# S

  1118. : D: x% l% n' h0 T; v' y. o
  1119. ; Default charset for ibase_connect().% h* @: S" r# q  _
  1120. ;ibase.default_charset =
    8 t7 \; T4 i% `6 s+ P
  1121. 0 [3 G# ~3 t. g) I) C4 v3 L% u# C
  1122. ; Default timestamp format.
    - u5 u2 p6 h( b6 p
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 K% s8 d- M3 |5 b8 k  E* y
  1124. ' _/ O5 D/ g' W. h! P
  1125. ; Default date format.
    $ w6 D6 ^5 ~3 E* f: ~; S8 h
  1126. ibase.dateformat = "%Y-%m-%d"
    2 @, |! L6 Q" I' }( T) P

  1127. 4 X* |9 E* |; X0 y; p
  1128. ; Default time format.0 |# i/ @" D" o5 c$ J5 h7 o
  1129. ibase.timeformat = "%H:%M:%S"  Q3 \, Y3 T7 D5 M

  1130. 5 V- }; x5 U4 C' A% Q
  1131. [MySQL]2 Y2 T- V& p! B5 L1 P" ~9 q& O
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements7 o/ k; O$ c1 g+ v' i. X! T7 N
  1133. ; http://php.net/mysql.allow_local_infile
    & n4 B6 M1 C4 N- B3 d# V4 a$ e
  1134. mysql.allow_local_infile = On
    3 _7 N6 n* Y: ]" @: i/ F
  1135. $ ?1 ^* z' W. ?' M
  1136. ; Allow or prevent persistent links.
    . x3 H" A  b* }3 \5 N  c
  1137. ; http://php.net/mysql.allow-persistent2 B3 T7 y4 T. E4 @
  1138. mysql.allow_persistent = On' M- F' p) I" r( c
  1139. 4 U. f7 {4 I3 G3 ]3 q/ Q
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ E3 a3 Z  I. y+ F
  1141. ; http://php.net/mysql.cache_size% z9 H9 f1 x7 F- k" a4 q
  1142. mysql.cache_size = 2000
    7 }# {% F1 x; o4 C" O/ [0 H$ Q9 o7 f
  1143. 8 M' j$ t" |2 C" L+ V) J3 x
  1144. ; Maximum number of persistent links.  -1 means no limit.
    # o7 }, E/ e% d' ~5 f. B, \/ u
  1145. ; http://php.net/mysql.max-persistent$ i# u+ [3 e  n4 L* c! p
  1146. mysql.max_persistent = -1: c9 O' z* U  M4 C0 R) B
  1147. 9 j8 b7 V% y' |( z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 I0 M* |0 ]- s/ p9 E
  1149. ; http://php.net/mysql.max-links+ T+ i" |3 {8 x1 t, c. e+ _
  1150. mysql.max_links = -1
    % V2 y& {6 O) a! Y( y

  1151. / z7 A* u% ^4 d, l& e1 V
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use; m9 M5 V- F, T/ P; }
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) f( C1 W4 w7 F4 u7 G. K) w0 d
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) l/ R; [+ ~+ p7 O* G
  1155. ; at MYSQL_PORT.
    ( |( @  ^# W: m7 @
  1156. ; http://php.net/mysql.default-port$ q8 Z  F$ W" H7 }8 V
  1157. mysql.default_port =
    ( F: `# f# Z; i" F9 y
  1158. 9 H6 L, I: X# W! @5 g/ r# E9 L/ s3 [
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) w* S6 }- v' x8 r
  1160. ; MySQL defaults.5 d% u8 w6 N) ^( q& {
  1161. ; http://php.net/mysql.default-socket# f. w; q7 q( U5 u9 _3 c
  1162. mysql.default_socket =
    / }6 D- x, E' u; o
  1163. , n( B& o6 o* S7 D
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).7 n5 S1 j# c& p# I' m4 v0 S1 T
  1165. ; http://php.net/mysql.default-host
    ( k& q3 f6 R# }# K
  1166. mysql.default_host =
    0 j- D) m1 B% Z3 H, r3 L
  1167. ( q) q8 f5 F0 \: ~7 ^
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).! `9 K- ^5 }! o4 w0 h
  1169. ; http://php.net/mysql.default-user% R! [& W+ H  q5 h; Z3 N
  1170. mysql.default_user =
    2 C' z# n. y' J+ O9 n& p$ `; a) ?

  1171. 5 O( U/ a1 ?8 j0 |- R2 n
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    8 Y- i3 r' D0 l4 ~% Y
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.0 p/ F  u* u: X$ K
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    7 D1 F# z$ Q9 n) M3 p/ g
  1175. ; and reveal this password!  And of course, any users with read access to this
    1 m; b) l) K5 H+ j! R/ L; D
  1176. ; file will be able to reveal the password as well.
    ( N; s- w# d# ]
  1177. ; http://php.net/mysql.default-password
    5 j) {8 Q  ]7 Q4 q0 z/ o8 v' R7 n+ k
  1178. mysql.default_password =
    ; Q) r$ |! X0 P: U3 k
  1179. 9 l5 o' X1 O( S7 e
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit! U" W8 ^' l% X- b: i+ X, H4 K+ b
  1181. ; http://php.net/mysql.connect-timeout8 G# B) S9 S+ Q( B+ H
  1182. mysql.connect_timeout = 603 |- D- ?3 a# E
  1183. 6 p' n% t* C" l
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and# D3 T* A+ B/ A* \+ m+ k
  1185. ; SQL-Errors will be displayed.
    ; a1 r" t5 o$ ?3 U, d4 Z
  1186. ; http://php.net/mysql.trace-mode8 K2 M. U: a& ^3 T) Z, A
  1187. mysql.trace_mode = Off" O- Q- d3 W1 S! N2 b  P- y
  1188. ! U6 p2 f% T4 n, A( S
  1189. [MySQLi]+ i2 O5 F, M: m4 h

  1190. 0 W5 i' e# P  j7 ^0 E2 \. {
  1191. ; Maximum number of persistent links.  -1 means no limit.
    % Y) l' E. z! x+ T/ K
  1192. ; http://php.net/mysqli.max-persistent
    2 H2 D, \4 B3 O7 R' @
  1193. mysqli.max_persistent = -1
    ; o" ~% v$ B# H9 @7 S; F+ {1 I3 a
  1194. ) _3 U1 [9 M. c$ y7 P- Q
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* y$ j: j$ i6 A
  1196. ; http://php.net/mysqli.allow_local_infile9 D  F2 n6 H& ]6 S# [
  1197. ;mysqli.allow_local_infile = On' y9 i, \1 ~$ k) B5 z7 `
  1198. % ^' G1 U' V. ]- y; U
  1199. ; Allow or prevent persistent links./ o, s3 I: A2 e; G0 z: ^* B
  1200. ; http://php.net/mysqli.allow-persistent) i* p- ]+ A/ F& u* I1 @$ y2 a& x
  1201. mysqli.allow_persistent = On
    ( T3 I- t8 |) u7 n

  1202. $ r. x; F2 i: N- }9 W7 Y
  1203. ; Maximum number of links.  -1 means no limit.5 K; W: c: e& B
  1204. ; http://php.net/mysqli.max-links$ y7 S: t6 ?; S' }; g; K0 N3 G4 k
  1205. mysqli.max_links = -1- k& @' ^) U, Q( D# |- l3 G; p: ?
  1206. ) I* f9 D2 e) j. c7 U! j! N
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 b* e$ L' e# x, X% S2 W3 @
  1208. ; http://php.net/mysqli.cache_size9 `7 ?) k9 \. [1 l; ]+ O9 i
  1209. mysqli.cache_size = 2000
    ' R0 _5 {1 O0 U# U  S- q

  1210. - f5 W9 H! [) `
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ; S3 \, h& w9 F* Y4 t1 ^5 r0 D
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 k1 u% z' y$ R0 j5 N) M7 q
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 d+ G* J: A6 e
  1214. ; at MYSQL_PORT.
    # |+ c- ?8 l6 d! G
  1215. ; http://php.net/mysqli.default-port+ F6 n! B5 U/ W/ i  [9 S9 {$ \
  1216. mysqli.default_port = 3306
    6 \+ A9 ~+ t. L) b- s: G1 n

  1217. / ]5 s! i1 s/ d6 C
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 l' n8 c1 b8 f! o) W( Y. p4 ]
  1219. ; MySQL defaults.2 d" P% A8 T1 _; g0 e/ R" n
  1220. ; http://php.net/mysqli.default-socket
    1 C& ^9 {* D& I) b. N+ A
  1221. mysqli.default_socket =% ?+ u1 C5 p/ x, ~/ `6 _/ _: W
  1222. + @  i; R+ k- H+ v, m: k
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / k) Y8 K- B0 T/ g
  1224. ; http://php.net/mysqli.default-host, e! A6 V$ A7 L' c# B1 E9 W
  1225. mysqli.default_host =
    . u5 |6 p  `! C% J
  1226. 6 j% B; o* V8 ~: g9 ~' H2 D$ z
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).4 ?2 G$ l' Z7 |) s+ y) W2 F
  1228. ; http://php.net/mysqli.default-user' Y! ~9 @5 ?$ Y1 D* R2 {2 ~
  1229. mysqli.default_user =6 D! b: r( v0 W/ i7 \, M
  1230. $ j4 E4 D3 U; @) \! z# R# T, z
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    4 d  G' u7 `5 |) E
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.3 t) Q' m- ^$ c, ]! n
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ' \0 Q! ^& ?2 u$ W+ K- v1 D  C
  1234. ; and reveal this password!  And of course, any users with read access to this
    9 @+ y9 X- f$ j% T/ b/ |
  1235. ; file will be able to reveal the password as well.) E* u) s+ j' _' y% ^
  1236. ; http://php.net/mysqli.default-pw
    . @: @6 k- w! I: ]  P. ~
  1237. mysqli.default_pw =
    / Q: b. \1 M$ y) f5 R3 [
  1238. 5 Y: w* ^) M# _# u/ m
  1239. ; Allow or prevent reconnect
    : h: l' C( a+ K5 F- x/ v
  1240. mysqli.reconnect = Off$ E4 E+ r- a- N8 i
  1241. 8 o# z2 y5 Z5 E0 a: K
  1242. [mysqlnd]
    # `& z% a$ o; y" A, L' ?# T
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be& q- @1 T/ p4 m1 O$ J6 j% R
  1244. ; used to tune and monitor MySQL operations.
      S/ k) u" t" x) }
  1245. ; http://php.net/mysqlnd.collect_statistics
    1 q- Y# e6 _9 V3 @8 j) u# i
  1246. mysqlnd.collect_statistics = On6 R. S$ }* X6 m  [7 g: C, w* e

  1247. ! u: e  a8 r6 |. s' T8 k+ O3 i
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    " Q! ?, C: j. q3 ^
  1249. ; used to tune and monitor MySQL operations.) C& [! }5 j2 I; Q% r7 t
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; t9 i, `: X$ ~  N9 L
  1251. mysqlnd.collect_memory_statistics = Off- P3 z9 K: @% t5 L

  1252. 5 n' K- a  u; J6 b
  1253. ; Records communication from all extensions using mysqlnd to the specified log1 E0 X! {9 @, Y( H9 |; w, s
  1254. ; file.5 {; w( {  t1 S; J: o7 a
  1255. ; http://php.net/mysqlnd.debug
    : b0 y$ C, V1 g9 j) t$ j) ~
  1256. ;mysqlnd.debug =$ G3 X# w7 N( v/ j) E
  1257. & w7 c/ B6 }$ Z* _! A
  1258. ; Defines which queries will be logged.* X, l  @  s3 Y! u% k. Q/ ?" M
  1259. ; http://php.net/mysqlnd.log_mask
    ) a$ b; V* v5 |0 W, `) _
  1260. ;mysqlnd.log_mask = 0
    $ T/ y/ G" E  {! ~

  1261. : w. C" Z7 m. Q6 F2 a
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    1 X: m( N. Y3 y- c" y" r
  1263. ; http://php.net/mysqlnd.mempool_default_size
    9 t& q8 k5 O  u* P
  1264. ;mysqlnd.mempool_default_size = 16000
    ) A6 W1 m3 X* J  _- h7 ^
  1265. " t- h/ Q0 o3 P& C! ^( D/ H
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.$ [* K, Z& Z: N) N  [- r. Y( S
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    1 h/ V: @! \5 R' t: i# ?4 [7 d
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    5 U4 B+ g* i1 H

  1269. 0 t4 ^3 u; \$ X  u" l
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in0 Z2 i/ x$ S$ ~4 t/ b
  1271. ; bytes.! Q0 }& @) I# w6 L" N$ g" o% v
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    0 U2 r9 }- W+ b8 C9 p. Y
  1273. ;mysqlnd.net_read_buffer_size = 32768
    * Y/ L3 ^' U$ R
  1274. 1 [/ ]% n  Z8 F2 N" u1 U
  1275. ; Timeout for network requests in seconds.
    5 |/ N( V# v8 x) y: M3 X
  1276. ; http://php.net/mysqlnd.net_read_timeout
    " W; C# C/ `  }# n
  1277. ;mysqlnd.net_read_timeout = 315360005 {# W2 }+ [5 r
  1278. ) A2 z2 W# s& q
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    1 h7 t+ h' Z. P; B) Y' v6 N3 H2 I
  1280. ; key.
      q0 r) R3 t9 F5 ?0 G4 G8 |
  1281. ; http://php.net/mysqlnd.sha256_server_public_key) a- e# j$ ^: h# R! f3 p: J& b+ Q$ u
  1282. ;mysqlnd.sha256_server_public_key =8 q8 h5 T0 X) j/ K6 m+ o" z1 q

  1283. 1 @. N8 v: a6 P2 b: K& v8 T; O
  1284. [OCI8]1 k# Y- y, Q( Q8 e

  1285.   |; a2 u. J, a# n- K
  1286. ; Connection: Enables privileged connections using external
    & m& V4 J! l& J/ n. Y1 k! d; G
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    $ ]* |6 m& x+ k- e1 k4 W( @
  1288. ; http://php.net/oci8.privileged-connect) G5 y3 J8 n2 Q1 M( k6 {, e
  1289. ;oci8.privileged_connect = Off+ n6 m% z4 c9 ], j
  1290. & {4 n, c$ H: {5 U) A9 P$ ~1 k- F! p
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    & ~0 L3 o9 v' d2 x+ K$ g
  1292. ; process. Using -1 means no limit.! l' N# Y( O' Z
  1293. ; http://php.net/oci8.max-persistent
    & C+ Z1 G6 K1 {) L2 F+ |9 e8 S9 g
  1294. ;oci8.max_persistent = -1
    & C3 N* ~3 T% [% z8 ~. E

  1295. * n# O& G4 a& k7 b% X! p
  1296. ; Connection: The maximum number of seconds a process is allowed to
    $ W# i2 [9 k$ B
  1297. ; maintain an idle persistent connection. Using -1 means idle
    4 U' w  A5 R( ~6 ?1 _3 c4 \" ?
  1298. ; persistent connections will be maintained forever.
    - R  e, ]1 l# w8 Z4 J
  1299. ; http://php.net/oci8.persistent-timeout$ ]0 S* t9 t" I/ g0 H( g
  1300. ;oci8.persistent_timeout = -16 H) o& E4 T1 T, ]

  1301. 8 g- B3 q( x7 C1 B
  1302. ; Connection: The number of seconds that must pass before issuing a& p1 Y( U6 ?/ b5 s4 o
  1303. ; ping during oci_pconnect() to check the connection validity. When
    2 \# B2 E3 V! Z0 \2 S9 I+ \
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: G7 g7 L! S. E' q. ^/ D" H' v
  1305. ; pings completely.
    & y  Y* V* W$ z( l* b+ R- q
  1306. ; http://php.net/oci8.ping-interval
    ; y- Y2 X4 D% R3 B- }
  1307. ;oci8.ping_interval = 60/ w1 @" w- _& F  _- q2 k
  1308. : p4 \4 G0 p. E7 k- n1 z5 g
  1309. ; Connection: Set this to a user chosen connection class to be used
    2 U: f8 _  B! ?' D- t! ?! [% a0 b  G
  1310. ; for all pooled server requests with Oracle 11g Database Resident" N# x7 j2 V. r( y( D
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to) W! U8 H1 y8 `8 U" m# N2 n
  1312. ; the same string for all web servers running the same application,
    - U; _- t. A( e; j  u; M
  1313. ; the database pool must be configured, and the connection string must1 f4 W  w4 F7 t- m! z! ?
  1314. ; specify to use a pooled server.
    5 \' H( X$ G0 b. K+ G0 J
  1315. ;oci8.connection_class =
    , w0 w  l* f* P8 C1 N/ I- ~

  1316. 4 k3 b: s9 x) ]( @; V
  1317. ; High Availability: Using On lets PHP receive Fast Application
    1 |: P, [  T4 T3 T# p9 h% B- G' P
  1318. ; Notification (FAN) events generated when a database node fails. The
    # A, y. {- V7 r( k' ^# u
  1319. ; database must also be configured to post FAN events.
    7 d* h7 x5 [! o3 {+ M4 e
  1320. ;oci8.events = Off/ `0 g, }0 C! g) \7 A- r
  1321. ' w5 F: M# n# V3 j6 C5 A
  1322. ; Tuning: This option enables statement caching, and specifies how
    / z0 [7 h; ~0 i7 b, L9 S
  1323. ; many statements to cache. Using 0 disables statement caching.# \( K# s6 q' T: X* e
  1324. ; http://php.net/oci8.statement-cache-size
    ! U) H: @9 ?; o; S- Y, ^, m
  1325. ;oci8.statement_cache_size = 20% `  R: W+ d7 @" a& h. N
  1326. 6 w/ a; G$ s* t0 X) R1 m0 P
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ! l/ H/ o3 O: Z0 Q1 v5 k
  1328. ; rows that will be fetched automatically after statement execution.
    ' J2 ~! l  h! h% v
  1329. ; http://php.net/oci8.default-prefetch
      M  J8 R& m# X/ L' J5 w2 i
  1330. ;oci8.default_prefetch = 1000 v/ i8 R" r' U

  1331. " V( g. H1 ]3 e1 E
  1332. ; Compatibility. Using On means oci_close() will not close
    . @' I: Z6 p) o5 t- k6 ?4 }% k& w
  1333. ; oci_connect() and oci_new_connect() connections.
      u' ^5 K9 z3 z2 f7 |: g8 h+ Z
  1334. ; http://php.net/oci8.old-oci-close-semantics
    # R# f4 v! |! b: y4 ~
  1335. ;oci8.old_oci_close_semantics = Off! y2 o* j1 `+ a- C

  1336. : B' ], v( r- R5 s: m
  1337. [PostgreSQL]
    & Q7 l5 @4 B7 U# I  o# w, b
  1338. ; Allow or prevent persistent links.
    7 R9 l( o, H* v$ Z$ Y
  1339. ; http://php.net/pgsql.allow-persistent
    * L8 M' T8 E. K2 V. O" t
  1340. pgsql.allow_persistent = On% t+ `8 v: H2 K: X; e9 }( g- P* _9 {
  1341. 8 h( Z0 E. o3 ]( k! ]8 t7 U9 R
  1342. ; Detect broken persistent links always with pg_pconnect().
    ) z: o; G5 `+ G7 \6 k( x
  1343. ; Auto reset feature requires a little overheads.8 b# `! k  b& `& L! f# Q* {9 j
  1344. ; http://php.net/pgsql.auto-reset-persistent3 L: E9 F! X2 i6 k! |) K+ o
  1345. pgsql.auto_reset_persistent = Off' l# i% H2 f; B/ ~

  1346. 7 h" I% H: W" g; o+ P
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ; }: F2 N% q) ^
  1348. ; http://php.net/pgsql.max-persistent/ D2 T: {5 M2 a1 ]
  1349. pgsql.max_persistent = -1
    # |$ b/ g7 }: [! @; f' w
  1350. / G! g' C& G. h9 W, m
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      K1 l1 B& a& y% A) o9 d; R
  1352. ; http://php.net/pgsql.max-links
    / D2 s% I( P3 K: o; S
  1353. pgsql.max_links = -1
    & n% z& C  j& g. |9 l. Z6 e% \

  1354. # ?, ]4 G3 N# }
  1355. ; Ignore PostgreSQL backends Notice message or not.8 d7 m! [3 c- W" I
  1356. ; Notice message logging require a little overheads.  j5 l/ z$ n$ W
  1357. ; http://php.net/pgsql.ignore-notice  r9 w0 O0 j% y0 N# X
  1358. pgsql.ignore_notice = 05 y% ^1 B5 M6 U4 i# H- g3 N& N
  1359. & X/ U0 h% U. \0 l8 M  o0 M
  1360. ; Log PostgreSQL backends Notice message or not.
    0 i" v. s- o. {$ \
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    & S$ M( z, E" c# M% i
  1362. ; http://php.net/pgsql.log-notice2 t& K2 V( f$ r' z5 R* D
  1363. pgsql.log_notice = 0
    * P& T; L% [" F* [5 b

  1364. - g8 J2 e% H- Q) t7 h# y
  1365. [Sybase-CT]
    $ _# [: z- ?8 W/ C; L# Q
  1366. ; Allow or prevent persistent links.( {4 Q9 l+ o0 B
  1367. ; http://php.net/sybct.allow-persistent
    4 A' c3 D* ]! q! l3 L
  1368. sybct.allow_persistent = On! H- y( D2 y# N4 I
  1369. 0 o9 v4 C) P6 ]9 [% W9 L/ \
  1370. ; Maximum number of persistent links.  -1 means no limit.& K$ K+ ]8 L+ @; M" C  T( ]) o8 h3 q
  1371. ; http://php.net/sybct.max-persistent; O+ g  m& @  F8 P* X/ x
  1372. sybct.max_persistent = -1% Y! ?6 w# O$ N

  1373. * T( K$ X. P- v. `5 k' |
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! Q- R( [1 }! K/ P/ r5 z
  1375. ; http://php.net/sybct.max-links
    7 U8 M$ o: H( g) S/ o8 _9 i
  1376. sybct.max_links = -1
    ' i5 n' c9 R# J. A$ M
  1377. + t& r+ h- c/ k3 O: [. Y( K/ U7 n+ D
  1378. ; Minimum server message severity to display.
    $ U! e# Z$ q% ]' F7 B+ y
  1379. ; http://php.net/sybct.min-server-severity
    : G/ Y: e3 g9 v# O
  1380. sybct.min_server_severity = 10
    $ c; v: G+ e- F$ V5 x
  1381. 0 p3 T* W" r4 A; C! V4 Y
  1382. ; Minimum client message severity to display.
    5 d9 h& y# s* v! K1 h& u
  1383. ; http://php.net/sybct.min-client-severity
    - T1 r- r0 S# |$ H
  1384. sybct.min_client_severity = 10
    # t2 u4 K  t- }: c

  1385.   g* r/ P3 V6 L* I9 Z. z
  1386. ; Set per-context timeout9 k( r8 `; g7 T, s
  1387. ; http://php.net/sybct.timeout
    % A# p* k# f  h; s. c- H5 @: D3 }
  1388. ;sybct.timeout=
    4 q' _, z: @$ ^/ C: ?" q7 u9 ~8 ^

  1389. : R: e" o8 }2 m- A- B( n
  1390. ;sybct.packet_size
    # y' f- S! ^% k6 R) S- b

  1391. 9 {, H( t& H) U  w
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    : D" p; i+ N' r$ Z. Q
  1393. ; Default: one minute
    1 F5 T" X% u* q+ P( ?
  1394. ;sybct.login_timeout=
    1 f/ z! D2 q; F+ \  v5 I
  1395. 1 F/ y) T" s6 F# A  d5 }6 f
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.$ L5 {" u$ l! U$ s% G! o
  1397. ; Default: none8 n% q4 @; [$ m4 `( s# |0 B
  1398. ;sybct.hostname=; W" s  U0 W, {- u7 N
  1399. : ]7 D1 ?- d0 |9 d! f" ^. p, Z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) |( ^1 T( c, U/ Y, h/ P) \
  1401. ; Default: 05 x) m" {9 p0 ~0 k
  1402. ;sybct.deadlock_retry_count=, d8 f( x- b' \; E9 O& N' R  y

  1403. & C) a& ]5 T- x: _( t
  1404. [bcmath]* X. v( p2 U  p* F; W3 \
  1405. ; Number of decimal digits for all bcmath functions.6 m  O# @, _# w" W& a* @1 i
  1406. ; http://php.net/bcmath.scale
    3 X: Z% d; s( I0 r5 H
  1407. bcmath.scale = 0
    8 a1 _+ L! p, q/ c' {5 |! _( [

  1408. 6 V5 k0 g1 z, `! K9 K& |4 l
  1409. [browscap]
    " W8 w2 V, `6 R1 W! N% u* O* O. O
  1410. ; http://php.net/browscap
      l7 J( }$ M. a" N! B( K8 G0 z
  1411. ;browscap = extra/browscap.ini  ?, c, z1 a- d# U

  1412. # z  Y4 V$ q! y" n  t, P0 C3 y
  1413. [Session]
    . g! p5 q( U5 o2 B) ]7 B5 X7 ]
  1414. ; Handler used to store/retrieve data., D( o% t. `9 g& p7 R' _- @
  1415. ; http://php.net/session.save-handler
    . v3 s- g* v* M  L8 E0 S
  1416. session.save_handler = files
    % J) a) k6 p7 i! c; ^* N1 c: N
  1417. , D5 S$ f% n$ k  m
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    + ]  D% g# r- A; E# l, h
  1419. ; where data files are stored. Note: Windows users have to change this7 y& p2 E" K! k2 S5 Z
  1420. ; variable in order to use PHP's session functions.! m4 m+ [( F( r+ Z! Q+ _* h
  1421. ;- g8 s; l' Y9 X* [# e$ C) @
  1422. ; The path can be defined as:
    0 k; h  P0 U0 u
  1423. ;9 f) `8 R9 m+ ~5 f- I( c
  1424. ;     session.save_path = "N;/path"* s  ^% R( ~- W0 ~8 A- v5 U
  1425. ;
    1 l: d2 W2 U7 u$ W: O
  1426. ; where N is an integer.  Instead of storing all the session files in) o' u; b0 X1 n2 V, D( f) z3 M
  1427. ; /path, what this will do is use subdirectories N-levels deep, and. y! X$ t1 Z; l& H; ^
  1428. ; store the session data in those directories.  This is useful if8 \& L" {$ i9 V- I7 U9 W7 b
  1429. ; your OS has problems with many files in one directory, and is
    / m) ?% t& T0 ?
  1430. ; a more efficient layout for servers that handle many sessions.. G: \' `7 f: k  R
  1431. ;
    3 g: F! A4 T) f) h9 G9 |1 C' D( H
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    6 ]$ i" J. U6 F4 m( d, V- v
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ) N, e. {% s& J6 i. ^& V" _) z
  1434. ; NOTE 2: See the section on garbage collection below if you choose to% v& T+ M1 O+ p  P
  1435. ;         use subdirectories for session storage( y; |# r* ~4 I9 y3 T
  1436. ;
    7 N# ?1 }1 ]5 g! E3 J
  1437. ; The file storage module creates files using mode 600 by default.
    8 s. V% ~) O0 Z
  1438. ; You can change that by using
    # C4 o4 J+ l# x$ Y9 ^* j1 e  ~
  1439. ;
    * q& Q- \- e( s; ~+ ~0 K! S0 O  y/ \, t
  1440. ;     session.save_path = "N;MODE;/path"
    % d) U+ [' t% {& F
  1441. ;& X+ j: [! V6 S6 \0 R/ c2 `: h7 I
  1442. ; where MODE is the octal representation of the mode. Note that this, \! l2 G; T( J( ^1 z
  1443. ; does not overwrite the process's umask.
    1 M0 }2 n0 d3 d
  1444. ; http://php.net/session.save-path! R: ?) n( `- Y' l& F5 K6 i
  1445. ;session.save_path = "/tmp"  ?+ d9 S4 S% q' I
  1446. & F4 V: N9 K0 e" z7 B' l
  1447. ; Whether to use strict session mode.3 L8 R2 v* U$ T% c6 }2 \
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate, d+ k) t+ s: H
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 B# I' `7 H6 t: `( \
  1450. ; applications from session fixation via session adoption vulnerability. It is% z8 S+ U* o* K/ }, _" E4 b0 V
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.: L9 Y4 B) C3 O# L# ?! T) r
  1452. ; https://wiki.php.net/rfc/strict_sessions
    # k- S* c5 y8 e, l, }7 N
  1453. session.use_strict_mode = 00 z3 G( G4 S5 ~1 O  Y; p) U3 }
  1454. ( r) P. [# n( H" l% a
  1455. ; Whether to use cookies.
    1 x, A; b$ d! q$ k3 N/ F0 u
  1456. ; http://php.net/session.use-cookies
    , w; n/ y0 A+ ?6 x5 U
  1457. session.use_cookies = 18 _5 x& e& |' s4 Z# l0 \
  1458. # d$ r! ~' p! p
  1459. ; http://php.net/session.cookie-secure
    ; s% F# L" ^- d0 l+ P* o% ?. a% w
  1460. ;session.cookie_secure =
    6 R7 x; f- S3 t2 c5 R8 g

  1461. ; f. P2 V* R% j
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining; v  }2 [" [) m- l1 ~( R, u6 ~: z
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    3 O& j0 }- Z) V) R
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ' T( \/ T  P$ X+ y6 R/ U
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) W+ S' G% ~5 S8 p
  1466. ; http://php.net/session.use-only-cookies
    2 C( K- r: I5 |, Y: Z; Y& K
  1467. session.use_only_cookies = 1
    6 @% \, v' t+ _- l; d# b0 V
  1468. 0 y) j, N# M- e& Q( G" ~% e2 x
  1469. ; Name of the session (used as cookie name).% S# c; Q0 Z# Y
  1470. ; http://php.net/session.name8 k" V0 h5 t  Z; b
  1471. session.name = PHPSESSID, R( I8 f4 e& V+ l1 w- b
  1472. ) F1 R" {" P) ^) ]9 [
  1473. ; Initialize session on request startup.
    2 _( [8 c9 e# I- G6 K! v
  1474. ; http://php.net/session.auto-start
    2 _0 I, u; D9 }- N
  1475. session.auto_start = 0; z2 j/ h) B8 p) J; I

  1476. 0 h- j3 |' _( J, m" p6 u! S8 s
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * q# v5 G5 g8 d9 M8 J( v
  1478. ; http://php.net/session.cookie-lifetime
    " W! r/ V3 n* ]* P& N" C
  1479. session.cookie_lifetime = 0
    / i# c$ J1 o1 H6 Y6 k

  1480. # ^/ M+ u' _' f& A( h9 u
  1481. ; The path for which the cookie is valid.* Y8 m% Y2 j: ^1 y- f# i
  1482. ; http://php.net/session.cookie-path6 C! p- r# D9 v# T, b! S
  1483. session.cookie_path = /
    % ^; M- g8 |4 q

  1484. 1 ~: z4 C2 ~9 ~" v8 E
  1485. ; The domain for which the cookie is valid.
    0 y! M& f* y( R' y9 P4 E4 J
  1486. ; http://php.net/session.cookie-domain
    0 s- g6 C- ]' f, K4 P: N
  1487. session.cookie_domain =* B" [- ?9 |1 I$ U9 R

  1488. 5 f' @- \; ^1 @9 T7 F6 F; q0 W
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ) N3 E9 _# Y: v9 l3 C+ E4 N, L
  1490. ; http://php.net/session.cookie-httponly
    " }/ `: x/ J3 I% ^* F( S
  1491. session.cookie_httponly =
    8 [; F3 B/ w4 W, O8 q- j2 N) q1 ?

  1492. , E8 }; J0 X1 M0 E% A
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
      M2 M2 Y. I$ b3 _' o# A. w
  1494. ; http://php.net/session.serialize-handler6 I: t: |; U: k. `. F
  1495. session.serialize_handler = php' D( K% G" r" d6 K8 a" `3 J

  1496. & h& r% T& |  X; L2 C
  1497. ; Defines the probability that the 'garbage collection' process is started
    4 g0 E; W( k. C' y
  1498. ; on every session initialization. The probability is calculated by using
    ( L' @. d. q( q% |8 }* G' F8 H
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
      k) H9 I$ a$ S- W6 I+ \% t
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 14 B1 c0 X& ?9 f: W/ R0 `
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " x; O. Y7 ?  f4 k# R
  1502. ; the gc will run on any give request./ u1 P3 T' K% P2 A. I5 s
  1503. ; Default Value: 1
      @( K4 `3 ^$ |: s, F$ G
  1504. ; Development Value: 1) b. a1 z6 ?1 x/ x, g. Z
  1505. ; Production Value: 1
    + z% f/ ~( H( o
  1506. ; http://php.net/session.gc-probability
    5 V! _( s, x! L" S8 q, v- N, L5 U
  1507. session.gc_probability = 1
    7 s' g, f3 w( A# H) z0 S
  1508. $ h" E% e4 }; {( @: z' Z7 M
  1509. ; Defines the probability that the 'garbage collection' process is started on every# m0 e4 L9 a7 ?9 M. N# l5 _
  1510. ; session initialization. The probability is calculated by using the following equation:5 \; v: X* V* v9 S! {; u6 D. C: Q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    $ x' V2 c- C2 a
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    9 t3 N6 t3 D8 s0 |: M' @4 Q+ M
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; q) ?: \; K# E! u, [  y+ t, g
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you% b0 T. \0 `2 Z% m* e4 O
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    2 z% R; c/ b& Q  F1 d
  1516. ; this is a more efficient approach.4 o4 n8 g$ ?$ F) r, ~+ R: y% c% @
  1517. ; Default Value: 100+ S/ x" ~% N0 X0 g
  1518. ; Development Value: 1000' X; \8 A/ o/ R1 W( T3 D
  1519. ; Production Value: 1000
    ) f% q8 `1 C+ _. d
  1520. ; http://php.net/session.gc-divisor% [5 d+ {9 y" B7 G2 ?
  1521. session.gc_divisor = 1000) z& \; ^- y* Y" I0 n" ]% j
  1522. 9 M& @! y& }! }
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and6 A) G* K( t$ i3 t
  1524. ; cleaned up by the garbage collection process.
    7 s3 T$ Y0 U+ g6 H( v
  1525. ; http://php.net/session.gc-maxlifetime; P4 J8 W: h% ^! Y8 q
  1526. session.gc_maxlifetime = 14402 e! E/ q3 p5 p' R) C

  1527. ! F/ U+ ~# n. G. G" J
  1528. ; NOTE: If you are using the subdirectory option for storing session files, l, R7 `2 t' y  `. V: c
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ! g  i6 e- n& U" B' E+ D" }& Z
  1530. ;       happen automatically.  You will need to do your own garbage
    ' N; Y! ^& i$ j$ E# |$ O$ h) |
  1531. ;       collection through a shell script, cron entry, or some other method.
    : y  ]' X5 M6 Y; z8 w0 \; S9 S
  1532. ;       For example, the following script would is the equivalent of
    3 M$ A" K0 g( _2 Y4 f7 ?, {+ E' P3 H
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ( S  W/ x+ H  x- d
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm6 Q) i2 e4 X, d, F+ X
  1535. $ ~3 I& o1 \* \2 Y' S8 E+ e
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.+ ?- P( Z5 K0 L% X" }5 w1 r3 H# ~
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    3 [) q, {0 |; Z! M' M+ f
  1538. ; considered as valid.
    ; I0 f# g$ m4 S7 q0 [- R% J! V
  1539. ; http://php.net/session.referer-check9 A; A: A* D3 D0 A- s) P- |! O
  1540. session.referer_check =: P6 |0 v2 `4 l4 c7 _
  1541. & u$ n) }5 A& x; P7 t. U
  1542. ; How many bytes to read from the file.3 \- ?1 [' W! g- u+ p1 v! j" m8 h* Q
  1543. ; http://php.net/session.entropy-length
    . P' ~: V0 \7 V" }8 L: b$ {
  1544. ;session.entropy_length = 32
    ' k' Q3 Z" r9 ^. b8 |( E
  1545. ) w1 L+ z0 N1 a2 R
  1546. ; Specified here to create the session id.
    0 a! j4 W: {: ?  C, {
  1547. ; http://php.net/session.entropy-file
    / l5 h" y- E; ~0 r$ `  Z+ |$ b# g' Q- w
  1548. ; Defaults to /dev/urandom
    , u; ~8 k! B4 e# k4 S% e
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ; @" w9 n$ p; E( h- q/ }( ]. v
  1550. ; If neither are found at compile time, the default is no entropy file.
    1 _$ r2 \2 C+ u) K% M; i5 U
  1551. ; On windows, setting the entropy_length setting will activate the0 S. o9 Q5 w% a
  1552. ; Windows random source (using the CryptoAPI)
    & \! @3 L' G/ t6 R
  1553. ;session.entropy_file = /dev/urandom
    * k$ W0 F# L% V

  1554. % e( K5 ]+ v" n& A. l% V. D! x' o. ]3 F
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects9 y6 K: Y0 _6 d7 ?# c* x" g
  1556. ; or leave this empty to avoid sending anti-caching headers.! i- O3 i' V  f1 \/ f3 i3 @
  1557. ; http://php.net/session.cache-limiter
    9 F* }: v. l; T2 `5 \6 q
  1558. session.cache_limiter = nocache
    5 v9 t" L: u& U6 E
  1559. - F- d0 D: D; x7 z4 J
  1560. ; Document expires after n minutes.' e: {. x* [( e7 ^: A
  1561. ; http://php.net/session.cache-expire
    " P, M# g3 O8 p5 |% A1 [2 _
  1562. session.cache_expire = 180
    2 e! {# p$ H8 D; l$ x/ {
  1563. 6 x. w) I0 S3 k+ g+ }& L$ C* _
  1564. ; trans sid support is disabled by default.7 s- U0 O" [  @% L% g' o! }1 B
  1565. ; Use of trans sid may risk your users' security.
    % W. [: a6 ^) E* g$ g; r
  1566. ; Use this option with caution./ m3 h" G/ l( F( E8 v  @( ~
  1567. ; - User may send URL contains active session ID
    9 Z9 ^$ F" H3 J+ N& y+ M
  1568. ;   to other person via. email/irc/etc.% f& Y8 S; i- m" I" n* [
  1569. ; - URL that contains active session ID may be stored  Z- [0 X) u+ k  A" l  t. f4 E" p
  1570. ;   in publicly accessible computer.
    # j# y& q/ ^6 r( s# M7 }& ?
  1571. ; - User may access your site with the same session ID" E+ }' N* w0 Y+ m" _
  1572. ;   always using URL stored in browser's history or bookmarks.4 S( [. w! G. v4 V0 x% w) d! J/ E# ^5 C
  1573. ; http://php.net/session.use-trans-sid
    6 G, F! n2 p1 y7 A; o
  1574. session.use_trans_sid = 08 k8 X/ M3 E/ n1 {* D

  1575. ; M* H$ ~2 `( h# @9 c: q, f
  1576. ; Select a hash function for use in generating session ids.
    ; L" m7 p2 N& {( g( R
  1577. ; Possible Values
    * }9 j# @8 i) w$ s
  1578. ;   0  (MD5 128 bits)% |/ Q: g. L# `' T6 w
  1579. ;   1  (SHA-1 160 bits)
    ' e( C% |* L; {, z, N8 R
  1580. ; This option may also be set to the name of any hash function supported by1 g0 o( f: f$ I) J/ i! r
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()5 }0 [, x6 {* k+ ]- g+ i* d
  1582. ; function.) r: {+ w. g& `) S1 P0 q
  1583. ; http://php.net/session.hash-function) J# v) X! |) T' r
  1584. session.hash_function = 0. r, J! T% y6 u4 |
  1585. 7 W3 R9 q' k* A0 O: C
  1586. ; Define how many bits are stored in each character when converting' ~; s8 ]% f( m) G+ E& G  ~
  1587. ; the binary hash data to something readable.* {+ }* J1 J/ T$ q3 ]* A
  1588. ; Possible values:
    - a" m2 x: H" e6 x
  1589. ;   4  (4 bits: 0-9, a-f)
    3 H& E$ j& w, s, R
  1590. ;   5  (5 bits: 0-9, a-v)) U/ ^$ J6 W/ t) K
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    * i$ c$ E. f$ A
  1592. ; Default Value: 47 p0 e: S3 W3 T7 g. n2 n- V8 f
  1593. ; Development Value: 5
    # b% y$ m0 M# W: R
  1594. ; Production Value: 5
    - s% j7 f2 V6 Y6 Y
  1595. ; http://php.net/session.hash-bits-per-character2 A' v- z. G5 x: x1 D3 D' N
  1596. session.hash_bits_per_character = 5$ X0 r* ^' ~8 Q8 h* Y4 |( h. K
  1597. : N8 h& e7 U; k3 O' v. \
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    0 N- f8 d' p6 S& v
  1599. ; form/fieldset are special; if you include them here, the rewriter will$ U* j* J# v: V& ^* A+ q7 `+ B; ]
  1600. ; add a hidden <input> field with the info which is otherwise appended
    $ x( F1 E) C! v: H
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry., ]5 v. v, I" s$ A! y
  1602. ; Note that all valid entries require a "=", even if no value follows.
    6 x4 m- P6 z. D& H
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=") o) }$ O1 d! V& v) ]4 O
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 W) j/ L/ s) h) |% }6 {$ G
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      i! `8 j$ M0 }8 w* S/ Z
  1606. ; http://php.net/url-rewriter.tags
    0 t' j; z; B( |1 N9 ~
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 T+ o6 M5 O( n7 d9 s

  1608. 8 _" a" v9 }5 o, b% g4 R  r" _
  1609. ; Enable upload progress tracking in $_SESSION
    3 \: X: L$ z) g0 |/ R
  1610. ; Default Value: On
    2 v% k+ Y% E2 W
  1611. ; Development Value: On
    0 [# P" r9 |; d+ i1 \4 L& a
  1612. ; Production Value: On
    # d" d/ L( v) ]' \& v( o
  1613. ; http://php.net/session.upload-progress.enabled! W- Y9 A7 R5 `. L+ H5 [& O
  1614. ;session.upload_progress.enabled = On
    # b1 m. I. t0 h. x
  1615.   V: }+ D6 f, d5 E; A
  1616. ; Cleanup the progress information as soon as all POST data has been read; d/ t# F1 l1 s% q
  1617. ; (i.e. upload completed).* j& {! l; f/ n  C
  1618. ; Default Value: On; D6 _: Q. R9 H3 A0 `
  1619. ; Development Value: On
    7 ]# N( k4 P' a
  1620. ; Production Value: On1 T/ E& G0 V# O1 C+ E! Y9 a; t# I
  1621. ; http://php.net/session.upload-progress.cleanup- v4 m9 i& f, H( {, ?. ]3 e' h
  1622. ;session.upload_progress.cleanup = On
    1 b6 V7 E3 d1 W1 a# L' M/ Q( p- q" s# w
  1623. - Z1 G% ?# E: }! g" y
  1624. ; A prefix used for the upload progress key in $_SESSION
    / I+ e5 }# i* g1 Q+ J. o1 @
  1625. ; Default Value: "upload_progress_"$ p& J9 `* V& S8 x) b9 j: x1 l3 j
  1626. ; Development Value: "upload_progress_"4 \, \7 Y0 }4 N/ M. C9 S! ^4 r  f! D
  1627. ; Production Value: "upload_progress_"5 G0 ]0 S$ _/ j& u% Y- D
  1628. ; http://php.net/session.upload-progress.prefix& b4 x2 ?5 r) M( m
  1629. ;session.upload_progress.prefix = "upload_progress_"! J' X6 w. ?# {. i3 M' m
  1630. 0 s7 l/ i  X; |
  1631. ; The index name (concatenated with the prefix) in $_SESSION% V) _, W3 n; S) W
  1632. ; containing the upload progress information) T+ l6 L  ~2 W- ^$ h* L
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + W/ `, Q' ^- K; g% z; p; S
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- m- ^7 J  m5 v1 w$ q9 B
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) Z7 l4 u( f2 y& l  X
  1636. ; http://php.net/session.upload-progress.name
    1 a; N& ^) [# D0 T& T4 p, w: u
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 A( B' f) `' s; g# _8 E) c
  1638. 8 A7 }7 U7 |9 w. b, E$ @) p
  1639. ; How frequently the upload progress should be updated.% Q5 Y2 {1 d- c- W1 l
  1640. ; Given either in percentages (per-file), or in bytes
    4 |  u* j* h% }6 y
  1641. ; Default Value: "1%"
    8 E, v: r, V* x+ `$ Y
  1642. ; Development Value: "1%"+ A# X1 G! h  Q4 c+ |+ x
  1643. ; Production Value: "1%"
    8 E% P0 Y! J. r$ N
  1644. ; http://php.net/session.upload-progress.freq
    % v& x. ]9 o' W* [; m( i
  1645. ;session.upload_progress.freq =  "1%"$ z2 n- Q* `5 d- k) K
  1646. - l8 q# o! g" R5 D# i
  1647. ; The minimum delay between updates, in seconds, y- \8 j/ w+ h: F; ?  E; B3 X
  1648. ; Default Value: 1. T* d9 n1 P3 u& U: b
  1649. ; Development Value: 1
    6 B% M: a2 `' A3 d+ f
  1650. ; Production Value: 1  R5 t7 k* ^2 ^4 `
  1651. ; http://php.net/session.upload-progress.min-freq  P5 }! ?9 D: c! e8 D1 c
  1652. ;session.upload_progress.min_freq = "1"
    - V( @6 }+ Z' u- \
  1653. 5 y9 }0 N* Z/ I3 Q  J3 Q
  1654. [MSSQL]
    " D4 \% Q1 y, N( ~  k
  1655. ; Allow or prevent persistent links.4 R& a. L/ \/ K3 C' }) d( f: E8 r
  1656. mssql.allow_persistent = On9 w! B/ [7 [# {3 E8 s  Z
  1657. 1 [2 T0 g2 v; Z( q" ?6 C
  1658. ; Maximum number of persistent links.  -1 means no limit.
    " }% ~0 \! A/ R. w: [$ ]: I
  1659. mssql.max_persistent = -14 N7 ~- H0 X% S- H2 t2 ]5 W

  1660. + M( M/ X. v# p" L+ |
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.5 R, s0 v$ x9 {
  1662. mssql.max_links = -1, C  T4 d% F( K2 Q5 G. q% S$ g

  1663. $ a$ ^7 X2 X5 N: f5 A. z( g
  1664. ; Minimum error severity to display.
    ) v, `( ~9 e+ h4 b( x* T2 B) e
  1665. mssql.min_error_severity = 10
      t0 D, W$ m  ]! A: M5 r

  1666. - O6 E) @1 \+ u
  1667. ; Minimum message severity to display.' _4 k3 u$ L0 u+ C1 [9 r9 t8 y  a
  1668. mssql.min_message_severity = 100 t# \. C9 L: C) H

  1669. 3 v3 i1 c% q8 v% e' _
  1670. ; Compatibility mode with old versions of PHP 3.0.4 S; ^7 n0 R# s" j; {- b1 l9 K
  1671. mssql.compatibility_mode = Off
    / N4 Y- _" q& S0 s4 K; m! Z& x

  1672. 3 f( k7 p& q4 g$ S4 q+ c" i$ _5 s
  1673. ; Connect timeout9 Q. a. O3 q3 i+ R
  1674. ;mssql.connect_timeout = 5) K; k$ N6 Y  s: J& t

  1675. 0 A4 s, @  z; t9 d
  1676. ; Query timeout7 `" u- m8 r% \# ^2 K1 x+ f
  1677. ;mssql.timeout = 60
    ) _# \% I& ]7 e. Y. c

  1678. 9 W. Y% o! X" h1 n  I% V
  1679. ; Valid range 0 - 2147483647.  Default = 4096.# ^3 N* X- O, D& s2 R* H7 d
  1680. ;mssql.textlimit = 40960 O" ?- b4 T, p$ s) m: w
  1681. % ^& U2 V  v- {9 Y5 n# j+ Y
  1682. ; Valid range 0 - 2147483647.  Default = 4096.9 X! V- I) d4 H( F% l
  1683. ;mssql.textsize = 4096
    % R4 ~7 O4 N/ o3 V. x6 a

  1684. & d/ h  k* [( S! t$ u8 I
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.+ f, E8 y1 k8 G. W0 a
  1686. ;mssql.batchsize = 01 c+ `( O4 C1 c0 S, k! i' X! b- Q0 E
  1687. ) Y5 {3 n3 ~+ |3 A- V) Z
  1688. ; Specify how datetime and datetim4 columns are returned, t( X+ O1 o3 [4 ^6 |5 o/ A
  1689. ; On => Returns data converted to SQL server settings0 D/ r2 F. L' l9 F
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss* Y& h. B( O! I) Y3 o
  1691. ;mssql.datetimeconvert = On
    1 h3 U+ f  s' Z0 i% r3 E4 L% @8 E: l
  1692. , @6 z) J: `" @. }( f
  1693. ; Use NT authentication when connecting to the server" m7 S& B- D' H( e! `
  1694. mssql.secure_connection = Off6 W* R, }8 n6 {2 k0 \, q
  1695. , I# b5 C: L4 K/ n3 p
  1696. ; Specify max number of processes. -1 = library default
    . k! |9 ]) C+ k* k8 y  O& m1 Q
  1697. ; msdlib defaults to 25/ N6 m; P. z) b# V& [0 C
  1698. ; FreeTDS defaults to 4096
    0 b( N$ `5 E; A& S7 _5 R. M
  1699. ;mssql.max_procs = -1" D! d( T2 c! f9 \
  1700. " F* g# Y' V, `0 d
  1701. ; Specify client character set.& ?0 Y# r9 e! g1 f
  1702. ; If empty or not set the client charset from freetds.conf is used
    5 F5 i0 r5 M6 Q; U  r7 p
  1703. ; This is only used when compiled with FreeTDS) I* ]+ T# U8 @
  1704. ;mssql.charset = "ISO-8859-1"
    " N0 o/ L' j# y7 I1 v) M: M! s9 g
  1705. - ?  T; l5 x* ^2 s
  1706. [Assertion]
    & Y5 J/ I2 e/ t8 [! V
  1707. ; Assert(expr); active by default.
    + R" c9 v1 N* a5 n6 P6 D/ v
  1708. ; http://php.net/assert.active
      r; [$ ]. ]5 m6 u
  1709. ;assert.active = On3 x: Q1 e  P/ h9 H: `2 ~
  1710. 6 ^8 t9 U. [" d6 U: n
  1711. ; Issue a PHP warning for each failed assertion.$ D' c1 v8 G* l. G8 I. S
  1712. ; http://php.net/assert.warning
      A( d4 t4 ]9 V' N  X+ m* |9 c
  1713. ;assert.warning = On9 H' b4 _6 y' X, U% [
  1714. 5 l& V) b% V' I! y$ [5 [! @4 F! |
  1715. ; Don't bail out by default.
    " ~$ D+ R5 i1 M' c  X
  1716. ; http://php.net/assert.bail
    ! G) L  y$ g  U1 [$ n
  1717. ;assert.bail = Off
    ! w/ g8 O- H6 D( I

  1718. # b+ H5 `5 M2 E/ F' e" h
  1719. ; User-function to be called if an assertion fails.
    * I" R" f. \; t
  1720. ; http://php.net/assert.callback2 O/ w9 q9 `5 j# u2 ]
  1721. ;assert.callback = 0
    / V# v0 M  ~0 i: T9 o3 V  @
  1722. + m* a# v$ L! O: |7 z
  1723. ; Eval the expression with current error_reporting().  Set to true if you want: D8 [+ t6 c* F" @
  1724. ; error_reporting(0) around the eval().
    5 `% I% z4 f. k3 J/ h: A7 Z
  1725. ; http://php.net/assert.quiet-eval/ c- X+ w" p: T. j; c2 }9 f- ?$ z
  1726. ;assert.quiet_eval = 0; f3 g& u7 y- X9 q( p
  1727. 1 x* Q! o% o1 q$ t  s
  1728. [COM]
    2 h, r- h1 ^+ {+ u3 U
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs+ X* e( ]2 g5 d' k
  1730. ; http://php.net/com.typelib-file
    % n0 \4 o* ?" G, L
  1731. ;com.typelib_file =& Y5 q8 u9 t0 P" d7 R; }
  1732. / O/ f& Z7 D# J4 i. [
  1733. ; allow Distributed-COM calls
    $ t9 n6 E" O% X2 }% S+ Q9 [( x
  1734. ; http://php.net/com.allow-dcom7 o; a! K- `  j  g
  1735. ;com.allow_dcom = true; h8 j8 [& {# o6 X; e. d
  1736. ! L- e: B& D) E# o; d% F
  1737. ; autoregister constants of a components typlib on com_load()  q5 i. I7 r! z: J  M, `0 ]
  1738. ; http://php.net/com.autoregister-typelib, Z" g6 ]3 y& a' K* I2 e) ?! e
  1739. ;com.autoregister_typelib = true7 t0 }6 e; j1 {1 _8 m6 j
  1740. ' K/ F$ H7 ^( N' @
  1741. ; register constants casesensitive
    : {* ^. I0 N3 ]1 T! H
  1742. ; http://php.net/com.autoregister-casesensitive9 ?5 G$ `! [( k" n# u5 x/ m7 j. p
  1743. ;com.autoregister_casesensitive = false
    + h" p8 f# ?+ Z8 p8 a9 t0 R& u+ W
  1744. 3 m3 \. z; D6 S! P$ s
  1745. ; show warnings on duplicate constant registrations! P$ [& }$ o0 c, Y) H& o. I* g
  1746. ; http://php.net/com.autoregister-verbose
    & u6 q+ X5 O0 ?' y# P
  1747. ;com.autoregister_verbose = true' G) x( L- i$ ]6 _" X+ O
  1748. * V3 \& A. z6 U7 r; t
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    2 D2 D9 q$ E+ g
  1750. ; Default: system ANSI code page* U+ r) }! p; k- K
  1751. ;com.code_page=
    * s: i7 R& G  D* _5 P& ]
  1752. ( j! a1 P. @4 ?0 S4 p- |
  1753. [mbstring]+ {  i* Z* o( z  f. ]6 |9 K7 ^, \( Q
  1754. ; language for internal character representation.. R0 I9 F& e& S0 t' n+ M3 J
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    , W3 w! C0 N6 w5 q- E
  1756. ; http://php.net/mbstring.language
    6 Q/ Y) t* s: ]. C+ c% `8 x% E/ ?8 f
  1757. ;mbstring.language = Japanese
    + r3 l& ?9 o! r) w* \- U
  1758. 6 W4 ?. U; }3 L
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      F$ H1 Y8 C  s& E+ [* _0 x# e
  1760. ; internal/script encoding.
    / ?4 V% G8 Y# X$ `; u
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 b& |  a! N" I* y! x% F7 g
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.) p) \# Y: l7 V  T9 p$ j8 C, Y* i. R& ]
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " p( h8 R) O8 L+ B* U4 {0 A
  1764. ;mbstring.internal_encoding =
    ; P1 O9 R! N7 Y' c# U
  1765. ' p1 N# N# x6 ^) C# M
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.( S( m% }  D" p
  1767. ; http input encoding.
    7 L# |* @8 Z$ _4 j' |7 H- q
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.  a( c1 W8 }" E% x
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + i' n4 v- ?; N; g( w- r! r# m
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ; s4 t& h  [  R
  1771. ; http://php.net/mbstring.http-input
    + E. I' W0 S8 ~( p* {
  1772. ;mbstring.http_input =
    : p, R2 x% f% e4 E8 e$ `- D

  1773. ; [) Y# b( {' r# ^0 c) P
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.- ?3 j( O9 x5 s$ [/ n
  1775. ; http output encoding.
    9 b+ Z: Q; f# u5 W7 C
  1776. ; mb_output_handler must be registered as output buffer to function.3 G$ P- V: J; v& n! i& B
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used." X  `% P3 v3 X0 C1 @# i0 f. ?
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output& w$ ^% p) x9 l+ T
  1779. ; To use an output encoding conversion, mbstring's output handler must be set2 W) G- X" \- F! C
  1780. ; otherwise output encoding conversion cannot be performed.
    3 U: A# A2 u, Q0 _9 F( D; r
  1781. ; http://php.net/mbstring.http-output, A+ l2 \9 N* t- B3 t) q6 W8 i, Y
  1782. ;mbstring.http_output =
    1 a* }7 \( ^# N9 F' [' F4 x8 {6 z4 `

  1783. % [9 I; l/ N+ H' E
  1784. ; enable automatic encoding translation according to
    3 `' A8 d* j4 ^0 T$ p; @
  1785. ; mbstring.internal_encoding setting. Input chars are
    6 J3 J" B. K4 R
  1786. ; converted to internal encoding by setting this to On.
    $ d0 o5 V2 X; g
  1787. ; Note: Do _not_ use automatic encoding translation for
    % A; s# T6 X% ^$ j
  1788. ;       portable libs/applications.7 V4 U. g6 k0 \9 _8 r( f
  1789. ; http://php.net/mbstring.encoding-translation
    4 u* W2 p% C  y* U0 F( P" N. ]
  1790. ;mbstring.encoding_translation = Off
    , A& a: |9 u/ d0 ~- S+ n! n
  1791. ; C' z. d3 t, {6 o. a, ^8 f; T
  1792. ; automatic encoding detection order.
    / @" H0 F6 z, b5 s3 f7 W
  1793. ; "auto" detect order is changed according to mbstring.language
    ; @9 B( s! A4 @1 H6 m8 `7 \% S2 [
  1794. ; http://php.net/mbstring.detect-order0 }" a1 g: d0 O3 [7 ^: O$ a0 B% }
  1795. ;mbstring.detect_order = auto6 ]' ~5 b7 Q0 \: x5 Q

  1796. , J0 r: n% f) s4 z  e% r
  1797. ; substitute_character used when character cannot be converted
    4 V, y5 G) |8 V# ^; e
  1798. ; one from another
    " Y# T/ s9 [6 S4 L* ?* H- Z
  1799. ; http://php.net/mbstring.substitute-character
    : q3 V" @8 \- _7 ]! }; R
  1800. ;mbstring.substitute_character = none+ l9 l/ a% b9 [- Y0 t% d
  1801. + ~# i0 {* H2 p' k
  1802. ; overload(replace) single byte functions by mbstring functions./ ?  [8 {* _0 d, y- U4 N$ [
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),. w7 K* u& r! b) l" A
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.+ |, {+ e5 l) t( d
  1805. ; For example, 7 for overload everything.
    9 l$ ~  i) Q) A) ?& a. u( G
  1806. ; 0: No overload
    2 N+ O, B. R' Y
  1807. ; 1: Overload mail() function
    6 b' g/ ^1 T4 P: I) S  Q  j
  1808. ; 2: Overload str*() functions
    0 l' e8 z9 X  B* {" }
  1809. ; 4: Overload ereg*() functions0 S7 {, x" f3 i% n) t' P' f
  1810. ; http://php.net/mbstring.func-overload* m: c6 a5 i1 l: P% V/ X, t/ g* A5 l
  1811. ;mbstring.func_overload = 0
    7 a$ M/ h9 N# u5 R
  1812. * C$ h- I# y8 \/ C
  1813. ; enable strict encoding detection.
    / M7 n9 D) ]" K) J8 E
  1814. ; Default: Off
    ( Q# Z0 A" F; P* _2 B3 D4 y) R9 N
  1815. ;mbstring.strict_detection = On
    . j! Q7 f% V7 _6 a

  1816. ( @6 d1 P4 h) c  ~
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    9 k  \  R9 _. L
  1818. ; is activated.2 _% |, R1 H2 j  I- v/ @6 o0 h
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    5 T& w8 N9 X1 z- v; E, O
  1820. ;mbstring.http_output_conv_mimetype=
    8 H+ |: y# f0 ?
  1821. ! L0 o2 p2 `. k2 J7 V. ]
  1822. [gd]/ e/ {3 p1 g7 S0 X
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ) s0 l2 y1 `0 @1 T6 ~; H. }8 `
  1824. ; a gd image. The warning will then be displayed as notices+ M$ B, A7 _& m8 X
  1825. ; disabled by default4 `8 l* q) X8 i# N) G7 v
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ( J1 ]# _, O8 K  U3 l3 y
  1827. ;gd.jpeg_ignore_warning = 0
    . B3 y1 ~' {, _0 T1 \* @7 {$ i
  1828. + X% `7 y4 \4 w1 Q
  1829. [exif]
    1 z6 A1 O, N; j6 Z1 R* I5 M$ E6 A
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % N) d% B7 {) k& @$ A8 o
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 e1 n' K/ x: v$ N* X1 [
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding' {& @% i9 D& P' }' U. N/ Y
  1833. ; is used. For the decode settings you can distinguish between motorola and% w. c0 p* d- b1 d8 i$ W6 a4 f
  1834. ; intel byte order. A decode setting cannot be empty.0 c1 s9 i0 k2 _- L: v4 V- s
  1835. ; http://php.net/exif.encode-unicode
    # {/ p/ Q& q' ]6 b' U) u
  1836. ;exif.encode_unicode = ISO-8859-15
    , D- e" T) ]6 J; H# f

  1837. # N. e# [  X3 ]4 U; }7 K1 r+ q
  1838. ; http://php.net/exif.decode-unicode-motorola
    $ A: m. g) k1 `  j7 |2 x
  1839. ;exif.decode_unicode_motorola = UCS-2BE, d" f9 [( Y8 W# A

  1840. - ?6 ^" w4 a9 ]1 @
  1841. ; http://php.net/exif.decode-unicode-intel
    1 d0 p3 I, q9 o& Y& R
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ; A2 p6 x! W4 f

  1843. 1 O9 c' L- G3 X4 R
  1844. ; http://php.net/exif.encode-jis
    0 K$ P/ E1 Y9 h1 O! `/ k
  1845. ;exif.encode_jis =
    # B( i7 q( z0 Q+ y# z$ U
  1846. + u5 F1 s5 Q5 @; d. p
  1847. ; http://php.net/exif.decode-jis-motorola8 X. ]* R6 [' B% O" w$ o. C
  1848. ;exif.decode_jis_motorola = JIS
    ( E5 @3 K7 h0 r) p& e: s

  1849. 3 q6 _) G2 M+ B1 \* D6 b
  1850. ; http://php.net/exif.decode-jis-intel/ B0 z, ], N! x
  1851. ;exif.decode_jis_intel    = JIS
    - o8 L! O, X4 M0 w
  1852. ' [" Q! A" c9 G, q/ G9 o
  1853. [Tidy]
    2 R! j- X" E) j/ h. I+ I& O: o  H) ?
  1854. ; The path to a default tidy configuration file to use when using tidy
    ! Q+ F1 c, B5 I9 ?) O
  1855. ; http://php.net/tidy.default-config" M' U  X+ w/ V' Z) o3 z
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg( U' W- p* I. T2 d" Z
  1857. + m! L9 P9 j" A7 F
  1858. ; Should tidy clean and repair output automatically?
    + z- P( Z- w' ^7 N7 N' b! E5 e
  1859. ; WARNING: Do not use this option if you are generating non-html content' }( m6 x$ D9 \3 e
  1860. ; such as dynamic images
    1 m; g% U0 [/ Y0 l9 R# \. d  c
  1861. ; http://php.net/tidy.clean-output
    6 r9 X: r# v' L3 Q5 {, i' w
  1862. tidy.clean_output = Off1 H# }* _% u2 I4 j* O. H
  1863. 8 ^9 d* n! J" N4 w8 s, o6 w
  1864. [soap]0 C; p/ H2 q* g4 ~; t* ~
  1865. ; Enables or disables WSDL caching feature.
    ( m% A. B$ S  P' r" B/ u' C. R
  1866. ; http://php.net/soap.wsdl-cache-enabled" I3 @3 @- ?( w; S. N
  1867. soap.wsdl_cache_enabled=1$ A7 r* B4 W' }+ |
  1868. 9 h* [6 ^. k- J0 F& l
  1869. ; Sets the directory name where SOAP extension will put cache files.
    3 Y# y. v7 S5 h" N/ y9 n
  1870. ; http://php.net/soap.wsdl-cache-dir( f3 T7 X, {) Z5 K+ m
  1871. soap.wsdl_cache_dir="/tmp"; }1 V! M  k# {, Y

  1872. : G" L5 h6 m( I. T  Y6 l, Q* C
  1873. ; (time to live) Sets the number of second while cached file will be used
    ' a) ]; P" }, b, b6 f& F. H: f& B
  1874. ; instead of original one.
    5 i- c0 n: f8 P# t$ z. V
  1875. ; http://php.net/soap.wsdl-cache-ttl
    9 J. C8 H8 c8 S# K' q" I
  1876. soap.wsdl_cache_ttl=864004 y  y) I4 F  d! `. w+ L4 a. F2 r! c
  1877. & H1 w) X; j% a6 b0 F
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    & v8 O( h4 m9 @* ^# J
  1879. soap.wsdl_cache_limit = 5
    0 Z$ z& Z& O# I6 Z; e* \, a
  1880. & N1 i+ \7 a: _: A% A: R- V
  1881. [sysvshm]. a. A( H; M9 H& ]' e
  1882. ; A default size of the shared memory segment6 r8 f% i* ]4 p0 T
  1883. ;sysvshm.init_mem = 100003 A; A0 q/ b! a3 ^0 W- i

  1884. * ^1 G8 u7 Q' y) @* i# k; C. f4 F; r
  1885. [ldap]
    2 d, a+ n/ m1 O! N& }
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    2 ^  g9 s9 A3 D% G% ?( C" ~
  1887. ldap.max_links = -1. |" I. O& C4 o# H
  1888. ( X7 t+ G; C0 N# [  H5 h
  1889. [mcrypt]
    + m" z; Q; _4 g7 |
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ( x  D( h. i3 j9 j5 _$ q* ]

  1891. . q5 f7 W) B7 S2 \$ i
  1892. ; Directory where to load mcrypt algorithms
    4 S( T1 R' p) [$ b' z: R- q( `
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- f) K) o. C$ W! V) x
  1894. ;mcrypt.algorithms_dir=' N  x/ I' K6 ^( n5 `( a, ~
  1895. % e5 Y7 d( N3 ^3 J  d
  1896. ; Directory where to load mcrypt modes: U6 o; E) h4 u$ E' p5 C$ j
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  m2 _6 Q* E/ L* N( `! r+ Q& m" `1 }
  1898. ;mcrypt.modes_dir=) ~7 [2 E% c1 `4 f3 N/ f9 f: ?3 o* C& L

  1899. , Y$ P2 H1 o  v* P
  1900. [dba]& U& w: P) C# q, C. B4 G  N
  1901. ;dba.default_handler=" ]1 y/ H  {3 ], i
  1902. 9 c% a" C- F3 I
  1903. [opcache]5 v" F& i2 n- ~1 W+ D
  1904. ; Determines if Zend OPCache is enabled% G+ n. e& k: d/ G9 G: ?2 t6 t
  1905. ;opcache.enable=0/ {: f% B8 {/ B8 B6 d# m; E

  1906.   \; c9 s1 s0 X% n
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . v* X/ }+ r: P9 }
  1908. ;opcache.enable_cli=05 t6 X: u" \& a7 L5 I. ]% u/ a

  1909.   ~! \( S" H/ t, ]$ T0 z# ~6 H
  1910. ; The OPcache shared memory storage size.& h' l1 Y- b* F1 j
  1911. ;opcache.memory_consumption=64
    & W$ J0 h+ K/ i. _6 e3 R/ O! p
  1912. 2 ?. ?; ?6 \+ B1 G/ e+ z  X
  1913. ; The amount of memory for interned strings in Mbytes.
    + X7 M1 h" R3 v* x: F
  1914. ;opcache.interned_strings_buffer=4
    3 I9 Y4 v& K  d( c

  1915.   f9 z% R% i9 H5 F
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.% k& P3 k# N, J1 H; a
  1917. ; Only numbers between 200 and 100000 are allowed." n- J  L$ k0 q" {8 m0 T
  1918. ;opcache.max_accelerated_files=2000
    + t, O$ l* q- D5 [0 t3 V

  1919. ; U$ @8 N5 r& A+ w8 s* J, S
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.7 ]6 O4 Z8 d0 ]# O9 t
  1921. ;opcache.max_wasted_percentage=5
    1 L. A- ?) _. O2 y5 K  u5 m- j
  1922. $ ]: R! ^* }% k0 ]6 S
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 p$ ?7 {1 O; k
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' o: X. T8 c5 `8 a
  1925. ; files with the same name (basename). Disabling the directive improves/ m4 S3 m/ e4 ?7 y( P
  1926. ; performance, but may break existing applications.
    " B' J+ e/ E( E0 Q% u# \: D
  1927. ;opcache.use_cwd=1
    3 A  M3 g3 V% w; n( l

  1928.   ^5 W; N9 Y. R' ?/ r1 M2 l
  1929. ; When disabled, you must reset the OPcache manually or restart the3 O. U4 ^" Y* f) X6 J3 b7 \
  1930. ; webserver for changes to the filesystem to take effect.
    # O  L' Q; D2 @# l
  1931. ;opcache.validate_timestamps=1
    4 l6 Z& ^+ W9 h  [2 @6 v: Z7 r

  1932. * M  G' d( ?; e, F- q7 D
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    2 c# K! r, L; k) w( |4 T
  1934. ; memory storage allocation. ("1" means validate once per second, but only; I0 c* [1 p1 p1 ^- m
  1935. ; once per request. "0" means always validate)
    # z/ H3 \' j8 a& Y2 H$ E3 u
  1936. ;opcache.revalidate_freq=22 A9 Q  X  a, v3 R6 s, k( }
  1937. 8 h& e6 j. c* V% b) p# A
  1938. ; Enables or disables file search in include_path optimization
    ( F0 G3 R2 I7 B2 Y) w
  1939. ;opcache.revalidate_path=0
    , ^5 e- f+ D. Y  W' c
  1940. ; s, @2 n4 ]" z5 Y, U2 x5 d
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. ^% G5 ^6 C% F' Y
  1942. ; size of the optimized code.' K( o% l4 N% a7 }, D8 A( H
  1943. ;opcache.save_comments=1. Q4 G7 Q. o6 u( n
  1944. $ h* C. e) h4 |8 Y
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    * m9 @7 `5 D0 j) p% f
  1946. ; may be always stored (save_comments=1), but not loaded by applications" T! Y* p! h! X8 R
  1947. ; that don't need them anyway.
    0 k; C3 I, _& z1 X& ~- i$ `
  1948. ;opcache.load_comments=1( F% K; l+ T# U4 _) ]$ l. J5 x

  1949. * i. M, E4 n8 g; ~( b
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' F0 {% R/ y2 m3 A6 ]
  1951. ;opcache.fast_shutdown=0
    8 l# f$ U0 i4 @

  1952. 4 Y# y& h+ B. z
  1953. ; Allow file existence override (file_exists, etc.) performance feature., `" I9 a9 @) ^& O0 H( ~1 H4 _
  1954. ;opcache.enable_file_override=02 j4 ^' n! _: N) ^
  1955. ) R" x  y# m' O7 u$ h
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache# j2 X6 O4 H! w* a# L
  1957. ; passes# o. q, M2 S) j0 ]3 x+ R
  1958. ;opcache.optimization_level=0xffffffff
    $ t8 {; W4 m* u, x' P4 r
  1959. ( X6 k! K1 n# y$ l7 Z
  1960. ;opcache.inherited_hack=1
    " ]: G0 f( u* o0 s
  1961. ;opcache.dups_fix=0% F6 O- F8 h/ U+ Q
  1962. : ?% D6 _, A/ e2 m0 _5 ?
  1963. ; The location of the OPcache blacklist file (wildcards allowed).! t- c$ s+ Z! |: H+ N, }
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    % D1 x) g9 w, k
  1965. ; that should not be accelerated. The file format is to add each filename$ B, q6 k: _0 o$ F
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ! W  }6 {" f1 y, l2 D& u
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www- _) _3 [# \. ^7 \& V: s* v
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).2 P7 k: l& s4 \8 s; X8 `+ J8 P: X
  1969. ;opcache.blacklist_filename=
    + q; @$ r& u# G5 S" E4 Y- e; t

  1970. & U  Q0 o- l; I/ G1 S
  1971. ; Allows exclusion of large files from being cached. By default all files! L2 z5 m6 h- e9 R8 A$ {
  1972. ; are cached.3 u6 g. {* I- n) g
  1973. ;opcache.max_file_size=0
    ( F! r+ j2 ]% u3 n& k: ~4 T2 N
  1974.   ?) n* _7 N# X% G. J+ h
  1975. ; Check the cache checksum each N requests.$ L" q/ s4 N# u+ T6 @4 C
  1976. ; The default value of "0" means that the checks are disabled.
    % N( @6 [3 c; M0 Z! S
  1977. ;opcache.consistency_checks=0% p: z% M; `" \+ j# j  [) e

  1978. . ]- |, D+ k/ B
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache8 ?+ C9 l' O  I1 I; }
  1980. ; is not being accessed.
    $ ^, p) ]9 g% Z( Q  s
  1981. ;opcache.force_restart_timeout=180
    + b6 Y. I$ T2 S

  1982. / _0 h' }2 k; N5 _( p' t
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    # O) L7 t5 z7 U
  1984. ;opcache.error_log=
    9 q' H# G+ }/ ]+ g( A. l9 |

  1985. ! q. W; I- }& r& x! Y
  1986. ; All OPcache errors go to the Web server log.
    & A$ w& m& s- I4 p9 @. z
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.- X; f7 a& q9 c( b
  1988. ; You can also enable warnings (level 2), info messages (level 3) or5 o# L7 J/ _& }# z9 I
  1989. ; debug messages (level 4).
    6 E1 z- }" N) O) ?% h/ G3 f
  1990. ;opcache.log_verbosity_level=1
    . ~5 f' P. r; E  H6 ]; P

  1991. : f  s- {1 Q; X" |! K: V7 R
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    , g" Z7 F! S, y4 F
  1993. ;opcache.preferred_memory_model=
    & F3 }. q7 y+ @5 U$ }5 I8 @

  1994. ! X# T" Z) H+ H. f
  1995. ; Protect the shared memory from unexpected writing during script execution.; e$ @1 _4 n9 g. F2 P
  1996. ; Useful for internal debugging only.8 `; z5 o8 u- v7 g: Z; l
  1997. ;opcache.protect_memory=09 S9 o1 T6 t0 G! L; G, E/ @2 M

  1998. % {/ _' J1 Q6 c* J
  1999. ; Validate cached file permissions.- c, n9 w$ q8 A/ n4 y3 ?6 o
  2000. ; opcache.validate_permission=0
    ; J; C7 K# }6 {

  2001. ' n6 P1 J8 ~% }( S6 j6 f7 D
  2002. ; Prevent name collisions in chroot'ed environment.
    $ j% R+ _$ E# e
  2003. ; opcache.validate_root=0
    $ |9 n7 C4 N/ N+ D# q* v" N4 s
  2004. 2 h" _6 K9 ?4 h% X6 B3 T
  2005. [curl]6 ~" W+ R/ f. ~5 J1 m8 J
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an+ W6 w, W% N" {, |
  2007. ; absolute path.6 d0 r6 \3 O( t2 d6 I
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! D+ y1 M/ D) X* J" u* I2 U
  2009. ; d; y) x6 p$ Z6 r8 w( `5 Y1 {
  2010. [openssl]
    ) l( w3 m; u+ i; D7 N  j
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem; C0 w& q- n. N: D9 X) K, a" y; f% f
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should0 g) [; B4 ?' w1 l; j2 R5 a
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ( d$ D9 y: d6 B' f
  2014. ; OS-managed cert stores in its absence. If specified, this value may still/ N6 _" p. _* {. R' n  d- }. C
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context8 C0 I4 Q9 E$ C( Q$ h, @7 K) M% ~
  2016. ; option.
    - X( H* ?. t7 c4 g. p/ G7 x1 X# B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    - u0 l# ~5 x1 Z, J

  2018. % P# g$ U+ @9 `: e
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    : B( |$ x& R1 |! w2 E
  2020. ; directory pointed to by openssl.capath is searched for a suitable; ^# P3 E# K4 A7 E
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    2 I! M  j% E! |1 F  v" L( s' ?
  2022. ; Most users should not specify a value for this directive as PHP will' n2 y# P5 S6 [/ }) i% m
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    $ q  }& U7 X# x
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    . z) s9 B) ]% a. i' O
  2025. ; SSL stream context option.' r* f9 I1 G' [. j' I$ @
  2026. ;openssl.capath=
    7 @( i! o" {6 B, f+ ^
  2027. & L$ s  V0 [" x5 R
  2028. ; Local Variables:, @! I" v2 H8 `8 o2 ~' d6 q
  2029. ; tab-width: 4
    * w( h. s" t  Q$ @/ |
  2030. ; End:
    ! D# s$ y! q* d
  2031. 0 f6 E; p4 E& b) _' p$ _) A  `5 H
  2032. ;eaccelerator
    0 v( ?" w% c( g& A9 }
  2033. , i/ i9 {8 A, b  ]; v
  2034. ;ionCube
    - F2 S& X0 P1 L
  2035. 7 a! P2 ^. \8 x
  2036. ;opcache" U4 L! {/ Q3 {: h9 C8 @
  2037. 3 P+ _& u6 l3 d, `4 u" G; @  ]: ^' E
  2038. [Zend ZendGuard Loader]. ]! \/ @9 ?2 F/ A4 ~
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    # C1 a3 j! Y  c3 l+ S, |$ M
  2040. zend_loader.enable=14 `' B' w4 ~8 p! d
  2041. zend_loader.disable_licensing=0  g( K/ g( b1 p% L! f
  2042. zend_loader.obfuscation_level_support=3
    ' d, U6 ^! M4 a! t2 j7 P' s7 T
  2043. zend_loader.license_path=
    3 A5 N$ L6 [% f! C! t  F2 ^
  2044. , t% ^. L4 n8 i; s
  2045. ;xcache- v7 j8 q: u, o$ d% L  `4 f1 ~8 \8 E
  2046. / H' S* K3 @! _7 y
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146923 d' ]2 i" x6 |  K" u+ R
  c1 I# O7 c; L% ~6 {$ P, C
5 z( e" r  y, Q
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
* ~2 L5 |* v) ^: U
* s; j, c8 W: J; D& ]$ NDiscuz!程序版本选择:3 u; z& o! Y) i
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,! c9 t! @4 `6 m$ o+ t( R
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
; ~1 x7 l" q* I( v/ mDiscuz!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。
' t  ^6 A, C" K4 l+ U: D
+ p3 e" y' K9 j- p( q; eDiscuz!插件模板版本选择:) x) d4 i0 Z" H4 L
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,+ H& T! e/ }3 ]
针对这个问题做个统一的普及:, L' \7 c, V, }) h
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
3 v: p) @) F# O' |) P) K
7 ~% R, [' k1 C所以
# c& u5 }7 Z7 a$ J. I适合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的二级域名。
% x. d; ]% d* J! R0 M1 a打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
, c% ^, W0 i& c; C% ^& Q3 C注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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