分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0: L$ ]3 h& |- p6 d2 \  z/ A

8 l' ]* k& g  f. @' J& E1 L# r
  1. [PHP]8 U) W; ?% s4 B& d
  2. ( x! `# Q0 s# L) ^  @
  3. ;;;;;;;;;;;;;;;;;;;
    . v- ^: B- C) T' i7 V- t
  4. ; About php.ini   ;) |5 h0 i4 p. h
  5. ;;;;;;;;;;;;;;;;;;;4 L  f3 Q) m0 `8 L6 [  p
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! A2 F" b- z8 O, W" R/ N* L9 e/ O6 P
  7. ; configuring many of the aspects of PHP's behavior.1 v0 ^' Q$ ~' @; T( K  o( E
  8. % \( d3 @' d, ]+ r% z
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ! D- z8 [) Q2 L
  10. ; The following is a summary of its search order:0 M/ S; `: d8 @3 Q( A) t5 ~
  11. ; 1. SAPI module specific location.
    5 `3 y5 X( o* P# b& k% |8 j" V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    $ r" ]7 Q5 `; Y2 P7 O
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)( C0 N( \: k8 b- e9 n) y+ C
  14. ; 4. Current working directory (except CLI)+ p0 [/ t% `$ Y+ f; U6 r% u/ o2 E' T/ @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( C4 u( n3 M2 u' a4 W/ }
  16. ; (otherwise in Windows)2 C( s* p4 m: Y$ u+ w, @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) i/ s9 @3 M& h  P4 D! i
  18. ; Windows directory (C:\windows or C:\winnt)
    7 b# \% v- e% s
  19. ; See the PHP docs for more specific information.
    ' R, P: A( E1 |# {9 i4 m# s
  20. ; http://php.net/configuration.file
    0 B2 p7 @2 g) S& _! A; V: J
  21. ( {) M1 ]3 b4 V
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; L* J: M" A5 v8 E' a0 I+ [* u# ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - f3 _/ G: A; U! o( D
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    7 z' ^6 q2 }% e8 W( \- r
  25. ; they might mean something in the future.
    / D- w' |, h: }
  26. " o& p# u0 B, r0 z
  27. ; Directives following the section heading [PATH=/www/mysite] only  y0 @2 z, V$ K8 S
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 Y2 d: o0 ~2 f2 F4 L2 \. G
  29. ; following the section heading [HOST=www.example.com] only apply to
    % c# A) ?0 \$ G, y8 X# w
  30. ; PHP files served from www.example.com.  Directives set in these
    ; I$ l' k/ A( Q) P+ v
  31. ; special sections cannot be overridden by user-defined INI files or% q5 h' I9 U: l8 K" R/ J8 K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    - z9 G* `" f% ~0 A0 E1 o
  33. ; CGI/FastCGI.
    ) S( N* I7 Y, E5 t8 [" b9 k1 }0 H
  34. ; http://php.net/ini.sections9 \3 E- j# e0 a! c  W

  35. $ D! X% D9 {6 U" O2 b2 I7 S
  36. ; Directives are specified using the following syntax:
    7 e/ a" k. f9 F4 S3 D! x% b; H
  37. ; directive = value
    6 M3 t, s3 f: |. D9 J; h$ k5 z5 b& f
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    $ f! t, n/ @8 r
  39. ; Directives are variables used to configure PHP or PHP extensions.
    , [- Q/ K. @, S( v6 p# S6 a4 W
  40. ; There is no name validation.  If PHP can't find an expected
    8 ]9 c# F8 C( H( j
  41. ; directive because it is not set or is mistyped, a default value will be used.5 }7 ^" `" [! Y

  42. # {/ G; i6 b  N" {. _3 {* u
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one- [0 V6 ?2 O- r0 q  O0 n" B
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 c8 h% o! E9 x2 A& \
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a* y- q) J" F6 _% @! O
  46. ; previously set variable or directive (e.g. ${foo})
    , }- `4 A4 }' F) \* s- J

  47. # [( U, D3 y  s9 }6 |- P
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 e' G8 o" F& P$ i) }! {
  49. ; |  bitwise OR
    0 Y3 B9 ^1 t' Z- ]0 i. s
  50. ; ^  bitwise XOR# v. Z# i" A. D5 y
  51. ; &  bitwise AND+ a1 V4 R1 n2 u7 n# A; Q
  52. ; ~  bitwise NOT
    9 l) V! d6 r# _3 i9 p8 O* v; C
  53. ; !  boolean NOT
    ; H" G7 ]7 m# e8 l9 Z) T, g

  54. * [7 C, x& }- o5 F8 u" u4 D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.$ N( D8 e- [# j- d  ]
  56. ; They can be turned off using the values 0, Off, False or No.& `  e0 R7 m- j4 }2 ?
  57.   u$ R) G- D" \* D
  58. ; An empty string can be denoted by simply not writing anything after the equal
    " C1 E" e& u% Y0 g" c
  59. ; sign, or by using the None keyword:
    ) k5 h$ X5 v; ]
  60. % x  e. I6 Q3 b& o& M
  61. ;  foo =         ; sets foo to an empty string8 ~' a! W* |1 C- J$ P6 a2 P9 K
  62. ;  foo = None    ; sets foo to an empty string0 Z4 ~" y  ^: g7 Q, \
  63. ;  foo = "None"  ; sets foo to the string 'None'+ E7 Q+ L( h$ c; t6 f3 `" s

  64. ' g6 ?4 R: o' ?
  65. ; If you use constants in your value, and these constants belong to a
    + k, o# u3 R. Y- q9 k
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & \1 C1 @# q4 O0 @6 b& Z" n8 c' q& j
  67. ; you may only use these constants *after* the line that loads the extension.
    . g6 d+ E# Z8 C( O$ O. W; m
  68. 2 O  G3 H+ |, f7 ]& O- b' H, y
  69. ;;;;;;;;;;;;;;;;;;;
    $ G9 W- @! z$ z5 B! [' x) L% H$ }
  70. ; About this file ;
    ) H; `) G8 L- m; c- p6 q; N; J
  71. ;;;;;;;;;;;;;;;;;;;5 F5 g- s5 v' F5 i9 \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used2 g+ w  ]. ~% B: f, v
  73. ; in production environments and one that is recommended to be used in6 I! W7 R6 ^+ `- B* w
  74. ; development environments.7 C5 F2 A0 F0 V! h& v  {" M# Z; K

  75. % j. ^/ j% ^5 m- B
  76. ; php.ini-production contains settings which hold security, performance and& N7 P6 R$ ^+ V
  77. ; best practices at its core. But please be aware, these settings may break
    # Z! d9 n$ g4 C# B' a% F: x7 i% m
  78. ; compatibility with older or less security conscience applications. We
    2 \" K- |7 U; V2 G) ^" ]6 a
  79. ; recommending using the production ini in production and testing environments.# r1 s7 e6 N5 A/ ~* e: w
  80. 5 U/ T9 B* ]( ]' g% e
  81. ; php.ini-development is very similar to its production variant, except it is
    ! y% S! w4 V: x- @  f# \: q' z
  82. ; much more verbose when it comes to errors. We recommend using the5 Z5 Z/ u! j1 |  v/ A
  83. ; development version only in development environments, as errors shown to9 E6 X! g( h7 N& w( P6 F8 z9 E
  84. ; application users can inadvertently leak otherwise secure information.% i& o; K! X7 u9 X+ G) ]5 h$ K
  85. ) W9 F* p6 Y% A+ P
  86. ; This is php.ini-production INI file.; ^) s7 g% ]2 K0 v, n6 \! y- ~

  87. * D+ S5 K9 N6 h& a( d6 d
  88. ;;;;;;;;;;;;;;;;;;;
    : d6 V4 D* V3 ?- N8 o" v
  89. ; Quick Reference ;1 u; ~; I. c" e+ s& c3 g8 Q
  90. ;;;;;;;;;;;;;;;;;;;* Y5 a0 F7 i& N
  91. ; The following are all the settings which are different in either the production' C# M( r% b) E6 D
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    * X8 T# {& ~0 _% a
  93. ; Please see the actual settings later in the document for more details as to why7 ~3 T: J& v  |" ]# L+ S+ i
  94. ; we recommend these changes in PHP's behavior.! Y& V' O% K4 t1 D0 }4 [* m

  95. + q2 u- ~- V' b; T8 _
  96. ; display_errors
    * C5 A3 U; b% ~" Q+ t
  97. ;   Default Value: On
    * M4 X6 J5 s1 H
  98. ;   Development Value: On, b# Y# ]7 w6 k
  99. ;   Production Value: Off1 ~) h. E- v4 ~6 g$ {0 x

  100.   C  o# y# o; m, n) ^9 e- U
  101. ; display_startup_errors
    , R1 L0 m) K4 E; C$ k' J0 k5 f
  102. ;   Default Value: Off
      }& m& I  r& C4 S9 W
  103. ;   Development Value: On
    % X) Y) m% }6 z- X6 ?: ^
  104. ;   Production Value: Off
    - I( J5 O/ a" o7 _9 n

  105. 9 j0 u! N0 x, c! D, z7 ~6 g
  106. ; error_reporting
    # l- Y- O7 _; {9 K+ j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) W, b) B$ O' U. c- k
  108. ;   Development Value: E_ALL
      L9 E# O+ |3 ~. u
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # g5 D5 K/ M% A0 J" n4 R
  110. ) n- V- \1 Z8 s8 E# ^1 ~: s
  111. ; html_errors
    7 n7 A' r6 r0 r: {
  112. ;   Default Value: On
    - H$ [. }3 ~5 V; j. X
  113. ;   Development Value: On7 J. o+ u  e# A/ ?- t7 j# U( p
  114. ;   Production value: On
    0 C5 F$ M" S4 V5 q/ B7 ^, z: B
  115. 0 a7 i+ ^* u1 v' ]9 m& M1 |$ N
  116. ; log_errors, w7 l# p; D9 X) f
  117. ;   Default Value: Off" I2 ^" D5 r# S+ E4 j
  118. ;   Development Value: On
    , q9 u6 c9 e: `* ]
  119. ;   Production Value: On
    # Q+ P0 [" C- c, J) b
  120. : m  i% f9 E, E& [
  121. ; max_input_time
    6 N( y4 {) L$ L1 v' |
  122. ;   Default Value: -1 (Unlimited)
    " h9 Q4 A3 t% A9 m% }3 |8 B; `
  123. ;   Development Value: 60 (60 seconds)
    % B& {+ j$ ~; E# R9 @* w8 V
  124. ;   Production Value: 60 (60 seconds)3 v+ `4 h1 t5 a: S: z  p
  125. & |' m5 H9 _; U6 O# R8 h5 O
  126. ; output_buffering
    3 P- Z7 b  }. t# M& d9 R, R' N, k
  127. ;   Default Value: Off  d( d* U- b0 o; [. k; l  K" j
  128. ;   Development Value: 4096
    5 |7 D  q' A2 S- j% A) d- b
  129. ;   Production Value: 4096
    , c% g' E) @/ C& o6 z
  130. + G+ \! A4 C& u0 U- R/ H8 Q; `
  131. ; register_argc_argv( X4 \9 {$ M8 F! u
  132. ;   Default Value: On
    4 `5 K) A% m' `  l3 M5 `( q' R
  133. ;   Development Value: Off) m0 P* s  q/ P3 e1 g; z
  134. ;   Production Value: Off
    ! s5 T5 ?: `* |, A/ q

  135. * H. }9 L7 b5 G+ E
  136. ; request_order0 S6 Z: L+ [# l4 `' L2 j- ?; C
  137. ;   Default Value: None
    / k& g/ s: l# v( X- X( A
  138. ;   Development Value: "GP"4 z# |, h; X1 q6 r* i6 l" T# h
  139. ;   Production Value: "GP"
    0 g; w* ], M, W( Y. U1 `: ?' d/ Z

  140. , ^- k* `) M4 w% o: Y- B
  141. ; session.gc_divisor
    # ?: S. S4 C' Q
  142. ;   Default Value: 1006 X' N/ c9 i& b3 Y
  143. ;   Development Value: 1000
    + F( U" w5 f7 F  m
  144. ;   Production Value: 1000  x2 G( x& h2 v1 W* m
  145.   f& k3 G* Z1 B' y! k
  146. ; session.hash_bits_per_character
    ; o: |# U; E: q7 O7 T. t+ i) H
  147. ;   Default Value: 4
    - u+ r6 R. J9 _( h6 W- m
  148. ;   Development Value: 5
    7 y; f" H- I  a- ?. k
  149. ;   Production Value: 54 O2 Y& o: u" z* }. j

  150.   F, z" ?0 d% T* e/ I
  151. ; short_open_tag
    # @( H4 ]" C! V% N3 {1 m7 M1 V4 x
  152. ;   Default Value: On
    . P. R# D; @( z3 p; I+ ]( A
  153. ;   Development Value: Off3 _1 Q1 X5 K  N2 L4 `$ Y1 }" W3 @
  154. ;   Production Value: Off) k( `8 w! _# [9 x- F6 u* E7 U$ }& a) j
  155. " u0 x1 v; [# V$ n( H& f' q5 w: ]
  156. ; track_errors
    0 z: e5 k$ m5 x
  157. ;   Default Value: Off7 c- Q4 w$ G* L$ s2 ~. H
  158. ;   Development Value: On
    % F5 N* Q. x1 q  b, l) z
  159. ;   Production Value: Off+ y( X" G- }! G" y, f2 T& O" y

  160. 8 c/ q2 t5 t4 p
  161. ; url_rewriter.tags6 N# Y6 L; A6 [  `7 r; B
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . b$ K: B: r* g, `4 B
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; v% x3 J, n" F& ?6 P3 z5 ?3 U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") p7 x! s$ l# }' L! Q5 o) y8 b

  165. & r( @+ Y0 {! ]! r: @+ [% {
  166. ; variables_order
    2 L) [6 q/ e0 k% ?, o1 m/ f- k1 m
  167. ;   Default Value: "EGPCS"- _2 J' U5 N! `; v8 f# o5 X2 O1 ]  }
  168. ;   Development Value: "GPCS"
    4 I5 G$ G+ M* ?* }5 O3 [
  169. ;   Production Value: "GPCS"
    / _  E1 n2 G% S! S6 m) t

  170. # v; p' U2 D5 x$ ]. ?
  171. ;;;;;;;;;;;;;;;;;;;;
    / P, X- s& _( p& z. {
  172. ; php.ini Options  ;
    # o- ]; j% _  g- ^  w, D  n; F- S0 |
  173. ;;;;;;;;;;;;;;;;;;;;, L- W8 S0 \; d8 i% c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 ]  X8 Q8 v& ~& F/ d
  175. ;user_ini.filename = ".user.ini"( w3 d4 V, \+ K( f; D% T
  176. & I/ p8 @, q+ d0 \5 ?" A! O( ^
  177. ; To disable this feature set this option to empty value$ T9 T# A+ ~" ]2 C% x
  178. ;user_ini.filename =9 `: B# z0 G; h- n9 Q  T5 _4 k

  179. ' ?! }6 f& ]! O" K7 y- N/ J, t. H
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    4 g6 {  [( }0 {. D% S4 A2 Z: R; s2 K/ @  B
  181. ;user_ini.cache_ttl = 300
    / S0 |2 \' d4 W

  182. 5 d( ?* U' T7 [/ ^# y! a
  183. ;;;;;;;;;;;;;;;;;;;;
    ! s& \$ n: r2 d  ?$ ^% X7 D
  184. ; Language Options ;0 o# x) ~4 O/ Y. Z( g) D3 H
  185. ;;;;;;;;;;;;;;;;;;;;7 U6 A- I( n; ?: d* I- C

  186. 2 b& l6 `& H- F6 ~+ I4 `
  187. ; Enable the PHP scripting language engine under Apache.9 A% @% l3 }9 f7 u3 g/ c! d
  188. ; http://php.net/engine8 Y2 U) N" Y. j
  189. engine = On) b0 ^4 n; Z1 P4 {- v8 p: x

  190. & u: \  \+ s: e4 o. F( u  r
  191. ; This directive determines whether or not PHP will recognize code between
      B! E0 ]1 V. i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    9 z. _/ d, t" I5 i
  193. ; generally recommended that <?php and ?> should be used and that this feature, i; c" y! E: K; _
  194. ; should be disabled, as enabling it may result in issues when generating XML/ A2 u( t9 x  Y# F
  195. ; documents, however this remains supported for backward compatibility reasons.5 t! X5 o, C/ D4 i( Y1 D6 n
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 D8 g9 x  b2 |2 f
  197. ; used regardless of this directive.
    : i- y- y  p; X! }: |! ^! w
  198. ; Default Value: On! P, _3 h7 I' w
  199. ; Development Value: Off2 H7 n/ _8 l* g% k. s# A6 d* _
  200. ; Production Value: Off
    % m5 e, ~9 W7 T9 `6 e) z6 @6 u
  201. ; http://php.net/short-open-tag
    0 g1 r  g, ?$ F/ _6 y
  202. short_open_tag = On
    ; ~: e# `8 u8 }' F- e/ c8 F

  203. ' b3 N; p% N$ H0 U5 }) i
  204. ; The number of significant digits displayed in floating point numbers.  q7 r- a8 g: C- b6 M$ `
  205. ; http://php.net/precision
    4 i4 w2 Q6 @1 s, _# W2 G4 _
  206. precision = 14$ R/ u3 E5 |, L; G4 Q

  207. 6 Y" g2 M( ^8 L
  208. ; Output buffering is a mechanism for controlling how much output data
    ! M3 `: N- |% L
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that+ T7 ^. C: C4 a) i9 Q! R6 [+ E9 V
  210. ; data to the client. If your application's output exceeds this setting, PHP6 ~1 z/ A7 t) y0 v  ^& C; x+ |8 E
  211. ; will send that data in chunks of roughly the size you specify.
    ( P, ]- o2 w1 h0 @# p- S9 S
  212. ; Turning on this setting and managing its maximum buffer size can yield some! q) I3 q! X+ o6 A" s" y/ \6 w" x
  213. ; interesting side-effects depending on your application and web server.4 |; g: v8 J( s( y3 N
  214. ; You may be able to send headers and cookies after you've already sent output
    5 [: }5 W$ F+ t5 {8 _9 |
  215. ; through print or echo. You also may see performance benefits if your server is! X/ {9 X" ?% }' d. M
  216. ; emitting less packets due to buffered output versus PHP streaming the output
      o8 @5 Y) t  h5 ^( u# i6 v3 B
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ( c% N0 S1 l- W( [# w! ^  ^
  218. ; reasons.
    * |* y. {) h; \0 Y
  219. ; Note: Output buffering can also be controlled via Output Buffering Control- W; w& t2 k3 Q& R. R7 [
  220. ;   functions.
    7 }# Y4 ~4 M( I$ y$ _/ e
  221. ; Possible Values:$ s2 r7 k5 x. D5 G3 w
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ }' T* Z: t( n3 p! t; N+ M6 @
  223. ;   Off = Disabled
    : e( j8 [) a7 G9 \% A# J
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ; c6 E& I' X  `& E$ G! s
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , K% s1 C# u$ s
  226. ; Default Value: Off
    9 h$ g) I% R- L* h& b
  227. ; Development Value: 4096
    9 G9 F# W8 N: W( X+ i) P
  228. ; Production Value: 4096
    - z, I6 F$ |! f- p8 G8 k
  229. ; http://php.net/output-buffering
    # h  h, y7 V( ]0 Q0 X1 a, d
  230. output_buffering = 4096
    4 K- L/ n. {6 b& y$ N6 l
  231. " g. V6 A4 w: P8 q; j
  232. ; You can redirect all of the output of your scripts to a function.  For
    $ h: T6 A1 f6 O' q
  233. ; example, if you set output_handler to "mb_output_handler", character
    4 V* w( z4 K$ O, s' q! e2 ]3 J9 w
  234. ; encoding will be transparently converted to the specified encoding.
    : h4 \/ l- U/ x) B
  235. ; Setting any output handler automatically turns on output buffering.( e# l$ Z- C6 i# v
  236. ; Note: People who wrote portable scripts should not depend on this ini
    % u, [" F" L% ?7 [. F$ S
  237. ;   directive. Instead, explicitly set the output handler using ob_start().( h3 f3 }( A3 P7 d3 y2 J
  238. ;   Using this ini directive may cause problems unless you know what script8 p8 q4 @+ E2 a6 t  h& v4 M9 P) ~: H+ e
  239. ;   is doing.7 ?4 P5 u* C) d5 a' T
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ! r1 Z$ v! a* ~) N9 `! v
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    9 g) C! `) ~- S( d
  242. ; Note: output_handler must be empty if this is set 'On' !!!!  P6 j/ F0 O% r
  243. ;   Instead you must use zlib.output_handler.
    2 ^- h5 B7 f/ v% F* g
  244. ; http://php.net/output-handler
    . W7 w& S: b( s4 c3 l
  245. ;output_handler =
    . c+ d: z; p" ?# H0 Y

  246. % @* M5 y4 T) O: h
  247. ; Transparent output compression using the zlib library
    4 }6 m. k- {0 S3 u( L
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size! h9 G8 ]" G' m6 G  M
  249. ; to be used for compression (default is 4KB)
    & ?3 }  K4 y3 ?. h
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP6 m9 }7 q' k$ u  n
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    % g6 o6 i+ h6 M9 U, t$ u7 ^1 V4 ^
  252. ;   compression. If you prefer a larger chunk size for better
    3 N; ?9 U4 `$ E6 d
  253. ;   performance, enable output_buffering in addition.) O- v0 W7 U' E/ A( i
  254. ; Note: You need to use zlib.output_handler instead of the standard/ F. ~5 M' n- ~  r1 g" I( M
  255. ;   output_handler, or otherwise the output will be corrupted.) _3 z8 _! j$ T( o$ {
  256. ; http://php.net/zlib.output-compression! n; X. Z2 l9 d; P) i" o
  257. zlib.output_compression = Off
    / N$ D1 J3 {; t5 P

  258. " M' q1 ~6 P2 H. Z
  259. ; http://php.net/zlib.output-compression-level6 k  u2 a4 ^  H+ @9 Q
  260. ;zlib.output_compression_level = -1
    8 Y9 G- {& L) R# t) S- z( c" z

  261. , @3 B* L& [4 Y: o; f( m6 J
  262. ; You cannot specify additional output handlers if zlib.output_compression8 a# b) {1 o# j" Z6 J. q7 V
  263. ; is activated here. This setting does the same as output_handler but in
    % `! E( L/ q: [" e
  264. ; a different order.! E% C- A: p# R( _$ ]: I
  265. ; http://php.net/zlib.output-handler( Q" Y3 z% S6 s
  266. ;zlib.output_handler =
      n  @5 T0 \$ h* C1 s- x( B" S

  267. : r0 _$ O( Q2 ^9 y. v
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ' |' U6 ?1 f' V- M) v( {5 @2 J% Z
  269. ; automatically after every output block.  This is equivalent to calling the9 Q$ m. x, @' X) e& U% ]3 X( W
  270. ; PHP function flush() after each and every call to print() or echo() and each
    * E; |" N" q7 E; ]
  271. ; and every HTML block.  Turning this option on has serious performance
    ' x% i* c- e9 k- [' C$ B8 F' Y
  272. ; implications and is generally recommended for debugging purposes only.
    2 ~; ^# _3 E. l! D, W9 [
  273. ; http://php.net/implicit-flush, j& X% ]; N% H6 Y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI3 [% s& C, ?' k0 I, @/ W
  275. implicit_flush = Off
    ' N  U! q5 t. t! x) X# F7 z

  276.   }( w4 L8 p+ y6 C
  277. ; The unserialize callback function will be called (with the undefined class') r4 L5 ?" q' O2 ?' p% B# N. m5 k
  278. ; name as parameter), if the unserializer finds an undefined class4 _  a0 ?/ y5 I* _! C7 I
  279. ; which should be instantiated. A warning appears if the specified function is
    4 J2 u2 v" h+ n/ E2 l5 M
  280. ; not defined, or if the function doesn't include/implement the missing class.
    6 V# q" D! z% d6 k) ]. u3 o
  281. ; So only set this entry, if you really want to implement such a
    9 a) M; W5 u2 f  ?
  282. ; callback-function.$ O7 t4 v( E" f. A/ G
  283. unserialize_callback_func =
    % r/ s( l  i! _/ X
  284. - {; O& ?1 y: \3 ~& Q
  285. ; When floats & doubles are serialized store serialize_precision significant$ q" e% R" K- P, _2 M/ q9 J
  286. ; digits after the floating point. The default value ensures that when floats
    " V" a$ f2 }- v. K0 [# `
  287. ; are decoded with unserialize, the data will remain the same.
    8 o; i; r7 ?- M7 Q1 X1 J
  288. serialize_precision = 17
    ' I! [" u; S+ H2 H! N7 p* P5 q

  289. ' H$ X6 u- ]; j: E* @
  290. ; open_basedir, if set, limits all file operations to the defined directory
    : G2 }, u7 \% Q- N
  291. ; and below.  This directive makes most sense if used in a per-directory6 S0 |8 \& j, m
  292. ; or per-virtualhost web server configuration file.
    # z8 L  d6 f! E3 ~. v6 I+ R* w' j
  293. ; http://php.net/open-basedir+ X- |" |# H7 |( K, ^7 j+ ]; I
  294. ;open_basedir =
    8 J4 s& \3 d5 U; {8 E

  295. 5 R4 ]* b; _8 H7 P! n. A  F
  296. ; This directive allows you to disable certain functions for security reasons.7 o& F4 N, h6 a. \0 v  w5 X% o
  297. ; It receives a comma-delimited list of function names.) h. V; T- t& r6 k! Q
  298. ; http://php.net/disable-functions" U  h4 h+ p! o" v2 E5 E
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# Q5 |0 }. Q- ^" `# ]$ S
  300. , b- m: ]2 x5 D% r, X# g4 L- Q, X
  301. ; This directive allows you to disable certain classes for security reasons.% ^4 o- L8 u/ T2 c5 M
  302. ; It receives a comma-delimited list of class names.
    ) A- k( B, ]" ?5 U' z1 a6 f) ~
  303. ; http://php.net/disable-classes+ i4 g! t8 }3 q$ n" F$ r; ?
  304. disable_classes =( F) D2 b9 ~: X% {: C8 w6 A5 ]+ v- r
  305. : \8 ]( i& i+ `
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in) L2 k0 y& t4 |2 E! R2 g/ E
  307. ; <span style="color: ???????"> would work.' h& y# c6 x$ J# e) N9 R0 v
  308. ; http://php.net/syntax-highlighting( C* @* K5 \# b1 F/ `, i5 f
  309. ;highlight.string  = #DD0000
    " c4 v* B# t* S$ c* o. I7 w
  310. ;highlight.comment = #FF9900
    % W9 d0 g; c6 b0 {' k
  311. ;highlight.keyword = #007700) c% D) L- c! h# i& W* h
  312. ;highlight.default = #0000BB
    $ p: N3 Q# ?4 r) V+ b+ y% ?
  313. ;highlight.html    = #000000
    0 K5 u& n! p, E( |$ s) G  |
  314. & V  j; p1 O+ N
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ; A0 K7 F6 X7 |* T& i+ }
  316. ; the request. Consider enabling it if executing long requests, which may end up% J; V9 N+ U7 C* Z
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    . c  T  y2 s8 o5 O# b- d2 I5 g
  318. ; is to disable this feature.
    + p9 Y9 J" e1 \% w/ Z) P. S
  319. ; http://php.net/ignore-user-abort$ ^& k: j1 Z- g& e. W5 v; @
  320. ;ignore_user_abort = On) M$ r/ p: H  v" {8 Y' D1 e1 x- D% k/ }

  321. * |! I) L  d8 v3 j
  322. ; Determines the size of the realpath cache to be used by PHP. This value should; f7 A1 Q5 l$ }. N$ R" z' J
  323. ; be increased on systems where PHP opens many files to reflect the quantity of/ U" B  c& D3 s0 P# U2 T
  324. ; the file operations performed.% U5 b+ S# m# P
  325. ; http://php.net/realpath-cache-size
    . i/ e1 I8 G2 L; W
  326. ;realpath_cache_size = 4096k
    , N2 c- y+ s) r1 `% y; D' w

  327. 9 a+ N; s5 l& O+ _" d: b
  328. ; Duration of time, in seconds for which to cache realpath information for a given1 R  V6 ]; P* E* z2 Q( h- N8 m, N
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    * ~/ W0 e. J; ^# [
  330. ; value.% z6 C- b/ g& v1 @
  331. ; http://php.net/realpath-cache-ttl
    & H, A, _1 \& r/ [: |) a
  332. ;realpath_cache_ttl = 1200 s! o& @: l1 \1 F  R' [

  333. 0 |% _, g& E0 E4 R, `# s& u$ i
  334. ; Enables or disables the circular reference collector.; [: T4 d. n; X5 y0 P; J, F8 m
  335. ; http://php.net/zend.enable-gc6 b1 o& \+ ^* t4 M. X+ \
  336. zend.enable_gc = On; H7 D: n$ Z. B" O8 O
  337. 0 ^4 m( J: M$ {5 h& |- y- |
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ' t* X# p6 R$ a2 w; a
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 F  C9 E/ R. k
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ' M6 h; R- h7 Z2 c. t( }7 U
  341. ; Default: Off
    / K( x: R0 |2 y( _
  342. ;zend.multibyte = Off
    8 L+ m- Q4 N7 L6 [1 @6 R

  343.   Q; M* k7 R+ r4 \& h8 e) G  \
  344. ; Allows to set the default encoding for the scripts.  This value will be used) D0 m- W4 Q' r2 d6 ~* C! D( b  X
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ' I) ^- m" |1 B5 h
  346. ; Only affects if zend.multibyte is set.
    / N5 `/ N1 T/ Q) l
  347. ; Default: ""
    4 C9 e' r9 V# V. L) l+ |9 G" G
  348. ;zend.script_encoding =
    " R, e0 u& |  n" T' J

  349. - l- h# u! ~0 Q9 S
  350. ;;;;;;;;;;;;;;;;;
    . ?5 n4 @; O4 u, n0 y- Z
  351. ; Miscellaneous ;4 Y  L2 e4 W8 A' }$ j1 [$ Z$ A
  352. ;;;;;;;;;;;;;;;;;
    ' `8 s5 }6 `- T( C& c! l

  353. 8 @3 O& M2 }, O  Z" h
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    # E. D. B" I  f6 ^
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    " t# M/ s0 q% p- B
  356. ; threat in any way, but it makes it possible to determine whether you use PHP& |: ]. _- @2 T! ~4 E9 S( ]
  357. ; on your server or not.
    ( E  `) u8 N) s1 E' N$ _
  358. ; http://php.net/expose-php
    ' g* [  z8 n) L; ?% P* ?
  359. expose_php = On
    / }# ]6 s# @# l8 c2 k3 u' u
  360. 6 W6 n% |1 _  ~' l8 ?- X. A+ R
  361. ;;;;;;;;;;;;;;;;;;;$ m& M6 ~8 h0 ?+ l. b: ^, z
  362. ; Resource Limits ;: `, G# N! h# k3 C% O) P. P
  363. ;;;;;;;;;;;;;;;;;;;
    + ~+ @" L1 m6 u5 A8 h
  364. 1 ]7 Q. k+ d' h6 g+ X% j' U
  365. ; Maximum execution time of each script, in seconds
    4 j1 j! O# S' R: M, R  T, [! v" U
  366. ; http://php.net/max-execution-time" Z" m/ |6 Y7 C# g6 E
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI# B- l- y) g2 D. D, I) q1 L
  368. max_execution_time = 300
    / {& g! Q; m& \! ^- p! Q% Z
  369. * H( z+ v8 ]7 C. i
  370. ; Maximum amount of time each script may spend parsing request data. It's a good* h4 V3 Z" Q2 L1 _' |
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly* z* @# [9 M% f. D2 Z) {
  372. ; long running scripts.2 B9 |; D8 I# ^5 I9 {) B% P
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI7 P+ x& |8 w! @) D
  374. ; Default Value: -1 (Unlimited)
    " g" D- u* v# g. c
  375. ; Development Value: 60 (60 seconds)
    8 X, X3 x: {- }4 y) v- W- U
  376. ; Production Value: 60 (60 seconds)
    5 _' S5 A- L3 |1 o- S, a) F
  377. ; http://php.net/max-input-time1 n  V/ }/ P7 f
  378. max_input_time = 603 m( R$ L* v7 k  `
  379. $ r: t) @4 p, H
  380. ; Maximum input variable nesting level! Q/ c/ U0 S8 p- O- w. W4 K
  381. ; http://php.net/max-input-nesting-level0 K- L+ `2 Q5 O* a
  382. ;max_input_nesting_level = 64/ C8 Q# U9 |" K' |' q$ v& R

  383. - r2 f2 Y. O1 a4 U9 e9 ^& n
  384. ; How many GET/POST/COOKIE input variables may be accepted5 `) M4 {( E# E% W9 H, T
  385. ; max_input_vars = 1000
    6 M4 G8 N; B. V: A
  386. 4 m  |) A6 A( X: Z6 j/ Z. r1 N9 R
  387. ; Maximum amount of memory a script may consume (128MB)
    # I4 F  Z8 C1 i; i) |
  388. ; http://php.net/memory-limit
    " T& a: l8 D& _4 g: A. f
  389. memory_limit = 128M
    + P7 j: q4 x$ b' r

  390. ) z; a  m+ ?1 s/ P0 [8 K& |
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- _6 i' R" W* D/ R
  392. ; Error handling and logging ;
    # |1 }, a4 F' c1 H# [( s$ n( s# I
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 x8 y' [9 l( Q# u% O9 w

  394. 6 m# c; t3 [$ _' s) a; X& Z
  395. ; This directive informs PHP of which errors, warnings and notices you would like0 F+ g" _6 ?/ h) D: D  W
  396. ; it to take action for. The recommended way of setting values for this' m9 O3 z. G2 Z3 o$ d7 U6 H! X
  397. ; directive is through the use of the error level constants and bitwise
    : S/ k5 c+ u5 F0 [4 P
  398. ; operators. The error level constants are below here for convenience as well as$ @' R+ g- j4 q- g! n
  399. ; some common settings and their meanings." N4 B) W2 g3 [6 X& i9 \
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT. x( }! e1 O0 x
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    " z9 {0 y* l2 `$ Z- S% e5 G
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ; Q6 F" S2 m& a8 Y: `' v2 O/ M$ I0 u
  403. ; recommend error reporting setting. Your production server shouldn't be wasting8 G$ B! f% p3 \: j
  404. ; resources complaining about best practices and coding standards. That's what* N& {5 H" o% e" b. |2 Z9 b2 X
  405. ; development servers and development settings are for.
    4 C; d4 O' G  K& w* E1 p
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    0 B- @+ d1 r3 ]! ~
  407. ; means it pretty much reports everything which is exactly what you want during
    " [  |. ]7 r% e- X
  408. ; development and early testing.1 _, O/ W& z4 r* }3 U7 _. Y
  409. ;
    " a$ @) `; p& V8 E4 @
  410. ; Error Level Constants:( R9 q9 c* `+ {6 W  O
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0), d% w! y0 [' l: I  |! w
  412. ; E_ERROR           - fatal run-time errors
    ' T/ f7 t9 P! S: K( Q5 f* M* T
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 Y/ J% i7 r. t; G) V( m
  414. ; E_WARNING         - run-time warnings (non-fatal errors)3 l. y5 S+ N8 l; l
  415. ; E_PARSE           - compile-time parse errors
    ! o* D8 Y; G# D, O  ?5 z
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! c% b; e) W& `& j/ q. m; t
  417. ;                     from a bug in your code, but it's possible that it was7 Z, h1 k0 [& ?- D
  418. ;                     intentional (e.g., using an uninitialized variable and
    ; Z: ?6 s) n9 t
  419. ;                     relying on the fact it is automatically initialized to an  y. ~' }) J* j( l
  420. ;                     empty string)
    ) g# H. N1 Q, P  E
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes* y5 i, c* {' w" l7 z
  422. ;                     to your code which will ensure the best interoperability
    * ^8 n* ^8 i  V4 v
  423. ;                     and forward compatibility of your code
    2 W. ^8 ~1 n# Y  H- Y
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup' G+ v9 N5 X# \: {1 c
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 J- g4 x9 V% Q6 c) B% U# `$ g
  426. ;                     initial startup; j, C( j) V! W- N& {" s+ f
  427. ; E_COMPILE_ERROR   - fatal compile-time errors- h( x$ p4 I5 i* h5 u
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ' O% A2 g5 M3 w: t' r' f! u4 X
  429. ; E_USER_ERROR      - user-generated error message
    7 {8 t% S2 [# [! \
  430. ; E_USER_WARNING    - user-generated warning message
    * x* b) Q4 M8 l6 m1 q
  431. ; E_USER_NOTICE     - user-generated notice message0 a& Z" t8 L- g8 q0 a0 ^8 C0 [
  432. ; E_DEPRECATED      - warn about code that will not work in future versions0 T$ [) C3 C/ m/ b, m
  433. ;                     of PHP
    ; h7 z' z& j& L3 I, n; I: A
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) ]  F, z0 ?) A4 ~; D4 L/ h0 d: Q- k
  435. ;
    ; T6 h+ D* g) K+ v" ]4 \! s
  436. ; Common Values:+ ^" _/ w3 R4 i
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)6 e1 C5 M% C6 R6 c
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    6 b& q2 v- T1 r3 T# }
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    2 r3 P) d2 w' \+ F5 g) J: L" s
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)/ R7 {8 D! H; b& K& ^5 C* s2 h
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( f1 N" T6 W( D
  442. ; Development Value: E_ALL' f3 j+ N% j8 v: s- s
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT- |8 Q1 U  X! |' ?: u, ~- D: P2 U
  444. ; http://php.net/error-reporting
    ; c8 G1 T- e9 ]* G
  445. error_reporting = E_ALL & ~E_NOTICE
    / K6 N' L; ~# v# c
  446. $ |# F' c) g9 u$ u) z4 G1 O
  447. ; This directive controls whether or not and where PHP will output errors,
    0 N7 \' w- I! Q
  448. ; notices and warnings too. Error output is very useful during development, but4 O# R' M1 X4 h( Y
  449. ; it could be very dangerous in production environments. Depending on the code
    7 C9 e5 \2 i! @0 e
  450. ; which is triggering the error, sensitive information could potentially leak
    4 t; U" c" B6 w  v, s9 h( E- J" v9 m
  451. ; out of your application such as database usernames and passwords or worse.+ J: f; |3 w% l- g# x
  452. ; For production environments, we recommend logging errors rather than7 b, c- _' }9 {8 V
  453. ; sending them to STDOUT.3 V5 {1 E2 L) z8 F1 n# o
  454. ; Possible Values:6 g3 a; S0 V( C) n% W
  455. ;   Off = Do not display any errors& e$ T: B/ I, \% m) t" B: j
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!): l$ B( w. X; K0 B$ S$ H
  457. ;   On or stdout = Display errors to STDOUT& C: E* |' ^; n& G4 N+ p" z: V* \
  458. ; Default Value: On3 N4 E% x  H: d  ]! C
  459. ; Development Value: On
    2 R% s0 x) [  D: @: \+ @; G( R2 O/ E
  460. ; Production Value: Off+ {' j- v  r: L! v1 W4 V
  461. ; http://php.net/display-errors7 i& N$ w3 T6 a; T. y/ Y2 Z
  462. display_errors = On
    " _; w# |( a1 ?( m

  463. , l3 B+ |) S+ q. U" @7 r- f
  464. ; The display of errors which occur during PHP's startup sequence are handled% w- u) ~9 g* {
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    - b7 J8 Y" B/ l3 q; Y% X
  466. ; errors from clients. Turning the display of startup errors on can be useful in+ h) C0 r! m. V% O
  467. ; debugging configuration problems. We strongly recommend you4 `; \  U" q; J( a, e$ ^5 |8 ]
  468. ; set this to 'off' for production servers.
    ( m& p" A/ S* w, P: f! m& s; l
  469. ; Default Value: Off' z! V* [) y2 }  o
  470. ; Development Value: On
    0 e. n; e% U4 Q
  471. ; Production Value: Off
    ! l: C) L# @2 I' c- d# |
  472. ; http://php.net/display-startup-errors# m3 |3 m; q% H) v' w
  473. display_startup_errors = Off
    3 s+ C2 g: ^; [
  474. 0 E9 w7 |% u0 a) Q. E
  475. ; Besides displaying errors, PHP can also log errors to locations such as a! P6 d% {; P0 h% {7 W) k
  476. ; server-specific log, STDERR, or a location specified by the error_log# B0 A& d9 @6 H$ k% F: o
  477. ; directive found below. While errors should not be displayed on productions
    $ K2 |2 l' r6 S* x
  478. ; servers they should still be monitored and logging is a great way to do that.* G; h6 f: b, w1 x, k
  479. ; Default Value: Off
    7 k6 S6 u$ E& K
  480. ; Development Value: On
    $ y% h& L. _0 t+ ?8 t
  481. ; Production Value: On
    - q9 M" K+ k; {4 A5 d
  482. ; http://php.net/log-errors* |! {% }: h7 e0 Q/ q* ]  N
  483. log_errors = On
    0 E  E9 q8 j0 n& X4 f( H
  484. 8 o0 K# E! o! c5 |5 H
  485. ; Set maximum length of log_errors. In error_log information about the source is% S' B3 q0 n5 J( t
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." O3 U3 R, q; [& I7 F" b: @2 q
  487. ; http://php.net/log-errors-max-len
    : Y* ?" e% q3 L- H, z
  488. log_errors_max_len = 1024
    , O: L& E1 p, {. P9 l- K9 M( c- a

  489. & Y* N( F$ Q. B. @
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ! Y: ~, w7 O. B0 v, R$ l# N
  491. ; line unless ignore_repeated_source is set true.
    2 W0 E# m9 W! D7 Q# x! F9 L
  492. ; http://php.net/ignore-repeated-errors
    0 A$ @6 o( w+ q) R( S
  493. ignore_repeated_errors = Off: f; {* a1 |5 H; X5 e5 @8 W- ?4 J
  494. $ l6 G) @/ q+ J' o0 i7 l  v# K
  495. ; Ignore source of message when ignoring repeated messages. When this setting' n. o. B. h3 g0 x
  496. ; is On you will not log errors with repeated messages from different files or
    " b* o- B" E( E7 q; q4 p# \3 r
  497. ; source lines.9 C0 P# l8 y1 _5 u
  498. ; http://php.net/ignore-repeated-source# Y' Z4 I4 i* v+ W( ]
  499. ignore_repeated_source = Off. c* \4 b- o/ F" F; y' A
  500. % E# W$ L" }' o" j
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on+ R9 l6 y4 m3 b3 s
  502. ; stdout or in the log). This has only effect in a debug compile, and if1 z' `, S& H; I5 h: r2 W! F" q
  503. ; error reporting includes E_WARNING in the allowed list
    * ~- ^( q( }2 {) m; O% p; P
  504. ; http://php.net/report-memleaks
    - b& ], d0 Q+ ^5 C" D. W; f
  505. report_memleaks = On
    . ^( q9 d3 L0 b/ F6 l
  506. 8 S( F% F& v6 p& V( W
  507. ; This setting is on by default.5 M! {% K, Z% E# Z! e; l) j8 H
  508. ;report_zend_debug = 0- J  t. C, F5 D' z$ w7 }3 X9 i
  509. & g0 ~/ u# Y+ g! s/ L" e; g
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ) V7 m& }; o# G3 b' N6 a% d
  511. ; to On can assist in debugging and is appropriate for development servers. It should2 y; Z: i- E8 g/ R& u! _* v2 P* k
  512. ; however be disabled on production servers.
    * w# A0 M3 n: E% t' T
  513. ; Default Value: Off+ @$ W) G: P' h
  514. ; Development Value: On3 p* \! d9 ~6 g6 k& B7 B
  515. ; Production Value: Off
    6 `+ w, @1 a# I' g# V
  516. ; http://php.net/track-errors
    , E0 X- l) q0 U5 T0 X2 {6 {  q
  517. track_errors = Off
    * Q5 j3 I- o& C
  518. 5 j! `& Q/ n4 M' i( Y; \- }
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    - Y1 S& L, h3 m5 v" a
  520. ; http://php.net/xmlrpc-errors
    # t+ h* h% T1 I% |
  521. ;xmlrpc_errors = 09 X  Y2 L. J; }8 r( Y  o6 R2 ~) c
  522. ) h. b3 z( B  X9 q6 G% d
  523. ; An XML-RPC faultCode6 B. h$ L4 w# L( L( c) j' o
  524. ;xmlrpc_error_number = 0  j! `  W6 A6 J) \3 {, B
  525. - t7 Q$ {! p7 n! A" h* {
  526. ; When PHP displays or logs an error, it has the capability of formatting the3 |  I, l; h: ], U
  527. ; error message as HTML for easier reading. This directive controls whether
    ! F0 }9 O- S- y5 l: A$ I
  528. ; the error message is formatted as HTML or not.6 c" Q/ u- A5 G$ j: {& T6 |9 U
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI  K9 d1 q! K' z4 o7 k) B! f
  530. ; Default Value: On$ r( p3 J! d* K
  531. ; Development Value: On, S- k5 ]' ~7 g
  532. ; Production value: On2 h0 x( P8 p  q1 C( n) r3 i/ e3 j
  533. ; http://php.net/html-errors
    : _8 v( g7 j% B) x
  534. html_errors = On' D2 X, R6 j9 Q' l
  535. * f" S) Y3 J( D  {  O
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP! d) L' ~+ V) r, v- d7 U1 f
  537. ; produces clickable error messages that direct to a page describing the error7 t! }; g2 o0 m$ C- \5 S9 K
  538. ; or function causing the error in detail.- J! C3 i, _5 q3 S* p* G
  539. ; You can download a copy of the PHP manual from http://php.net/docs/ S. ?! L4 R# @; i8 a
  540. ; and change docref_root to the base URL of your local copy including the/ e( J5 H; m4 S
  541. ; leading '/'. You must also specify the file extension being used including7 @4 P, M4 [7 o- ^# K, w  B9 k+ y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    , o. ]9 R6 Q/ U4 i/ ~9 j
  543. ; case no links to documentation are generated.
    ! p) R# y4 G( d# f; A
  544. ; Note: Never use this feature for production boxes.
    ' p+ C3 o' t) b7 x- }3 y7 o
  545. ; http://php.net/docref-root) `. c" ~: p  Y; n( e5 t! u
  546. ; Examples1 @2 W4 Y5 P/ d" v
  547. ;docref_root = "/phpmanual/"( l; t; I% K9 C

  548.   c  P# K' H, ^8 K2 K$ A6 `# _' j- j. f) M
  549. ; http://php.net/docref-ext
    4 {1 L: W) X$ y0 X+ d
  550. ;docref_ext = .html. l* B  I3 A) Z' h5 o* `
  551. & K" w9 I$ f6 B# O" D; ~
  552. ; String to output before an error message. PHP's default behavior is to leave
    : L. x* R/ z6 g' A" H" s3 r0 M7 I
  553. ; this setting blank.4 R, E) ]% Q# N! Z+ {5 ~, g
  554. ; http://php.net/error-prepend-string
    6 @( p" E1 h" O- v
  555. ; Example:$ z! V6 y9 j) }& G
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    & s: R0 I( j- a% _8 A) C  P
  557. " C$ b8 O1 l, Y' [) N& S. ?* D
  558. ; String to output after an error message. PHP's default behavior is to leave
    $ _' W5 z7 x5 _9 j/ E4 V
  559. ; this setting blank., X: K: N1 ?- u) J" v  |  n% Y
  560. ; http://php.net/error-append-string
    3 r8 J9 S; w# D" n, N  d9 K
  561. ; Example:
    & g- N. F* s# @! g
  562. ;error_append_string = "</span>"/ D! V: t# l0 J' i3 ~' V

  563. / t$ v) z, L* ?" z1 g; l
  564. ; Log errors to specified file. PHP's default behavior is to leave this value# \- B+ x, a6 r* a
  565. ; empty.5 o; D- p6 u) g+ T3 \- Y$ ]" M5 |
  566. ; http://php.net/error-log, S) o1 e1 ]9 d$ f& N) |% O
  567. ; Example:
    ( {+ a# O- @, c3 [# M1 t
  568. ;error_log = php_errors.log1 i- e$ [6 z: P6 q  P; g
  569. ; Log errors to syslog (Event Log on Windows).
    7 @2 o  U3 [: s" @
  570. ;error_log = syslog2 M1 t* }9 b1 H4 G

  571. 4 a7 y% H; E; O% V- U
  572. ;windows.show_crt_warning
    / P! s* x% }- D( O
  573. ; Default value: 0& [0 D  o* L- L
  574. ; Development value: 0. R! U, ^8 F, ~& {5 k6 r) T3 @
  575. ; Production value: 0
    8 p# u: `' _' x% C4 x$ ^
  576. " _# T  b  l: j' H
  577. ;;;;;;;;;;;;;;;;;
    & g' C6 Z4 ?" E! o3 Q9 z. D; {
  578. ; Data Handling ;
    ( b8 {& _0 i+ f4 ^5 r) @1 @$ k
  579. ;;;;;;;;;;;;;;;;;( Y+ w+ d5 L1 O0 I3 V% ?' J, u
  580. & T9 @+ ?' \: s/ B
  581. ; The separator used in PHP generated URLs to separate arguments.
    * ^0 K6 \/ Y& _* N
  582. ; PHP's default setting is "&".
    $ d0 X; t& R* I8 T! u2 Q
  583. ; http://php.net/arg-separator.output9 D$ S8 P4 I  M0 Y
  584. ; Example:( O# V+ I( w2 ~- e4 D9 i4 D
  585. ;arg_separator.output = "&"
    + `7 B( Z2 w8 M* G5 R  J) {/ l

  586. $ ]& @. ?7 t4 i4 q
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    8 p3 x( d0 M) U( X: F2 q" G3 f0 F" N
  588. ; PHP's default setting is "&".2 p9 R( B$ V/ m9 }! C; `) k
  589. ; NOTE: Every character in this directive is considered as separator!: r# A" O! z- T' ]
  590. ; http://php.net/arg-separator.input3 N- v4 A; e6 |! e3 Q" x) ~# m/ c+ U
  591. ; Example:+ P2 p% _" c) \) H- V& x
  592. ;arg_separator.input = ";&"
    0 V- w! s" S& o  U; v. L

  593.   M4 }6 b1 m: Y; T* u8 w8 i
  594. ; This directive determines which super global arrays are registered when PHP2 r, W5 D) u9 ]* c& P
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    3 g: G  @$ a2 \( d3 Q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty, l! s0 p0 O  G2 C  L1 o/ e4 }/ D
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ' q+ p! |. v6 G. Z* o( z
  598. ; used as the others, ENV is not recommended on productions servers. You% X) w* U( v, R! H
  599. ; can still get access to the environment variables through getenv() should you
    / q7 I/ `5 a/ s" A" @; Y  r
  600. ; need to.0 |, O/ u9 F. q4 ?
  601. ; Default Value: "EGPCS"; J  u% y4 \4 J6 s
  602. ; Development Value: "GPCS"
    : m- A8 J) [: M$ c9 @$ X  v; _
  603. ; Production Value: "GPCS";
    1 d- x& A% J7 F! L! J- |
  604. ; http://php.net/variables-order" P8 m# w. d) B
  605. variables_order = "GPCS"
    / I, k/ ?/ h, J$ k9 i6 e0 B6 i: ~
  606. ; [1 F! x6 Q' d% @3 |* ]% R+ I
  607. ; This directive determines which super global data (G,P & C) should be. f5 y: z! y! d. l: Z4 }3 T& K9 G
  608. ; registered into the super global array REQUEST. If so, it also determines
    * ^/ k2 `0 g) M2 j6 ~( s
  609. ; the order in which that data is registered. The values for this directive
    ; ?8 L8 f* l0 k7 u8 ~3 P
  610. ; are specified in the same manner as the variables_order directive,) f8 I7 a: N% @; R
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 g3 w( c6 m/ g% t" B
  612. ; in the variables_order directive. It does not mean it will leave the super( ~6 z4 V3 Z$ @/ |4 o1 k# y
  613. ; globals array REQUEST empty.. a* U4 {  V( U3 R. S# Y! J
  614. ; Default Value: None
    6 l4 z( F6 S3 R8 \. U1 T
  615. ; Development Value: "GP"7 Z, M1 i# n( k( L+ c$ C
  616. ; Production Value: "GP"/ \" i- O8 |  c$ ]7 Q
  617. ; http://php.net/request-order
    : ]0 p" }- N' L( }
  618. request_order = "GP"8 a: I* c; _. _' z
  619. . H$ y* V' k4 M) G" z: W
  620. ; This directive determines whether PHP registers $argv & $argc each time it& u7 v. c; W3 r* W- u4 m
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script* u* E& w$ K) q5 S
  622. ; is invoked. $argc contains an integer representing the number of arguments" {6 f- n3 W( @- N& ?- r
  623. ; that were passed when the script was invoked. These arrays are extremely
    9 K, i6 _2 g% K* c$ w
  624. ; useful when running scripts from the command line. When this directive is6 `$ L' R: d/ X8 u* x
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 M6 H6 n; O" f+ t7 e
  626. ; a script is executed. For performance reasons, this feature should be disabled* g7 @3 T8 @, \) {
  627. ; on production servers.; u5 d: i/ Y8 v5 e8 E3 e2 n6 [
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    8 ^( ~# d6 Q9 y3 C9 E1 |
  629. ; Default Value: On  w, S8 \+ O3 l. Z# O& L
  630. ; Development Value: Off* c' K  t% h3 n: k( O9 _
  631. ; Production Value: Off
    * ?- W3 J6 V/ F4 G
  632. ; http://php.net/register-argc-argv
    9 }# m) y& S! v# U* y
  633. register_argc_argv = Off1 t% @$ h- F; U. A3 y/ O7 v7 [

  634. * z8 w' ?9 {, I# h
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      Y" D6 x  f+ D* c
  636. ; first used (Just In Time) instead of when the script starts. If these# B/ F# U7 ~% S$ {
  637. ; variables are not used within a script, having this directive on will result
    ) [# C) k  }, E/ }* a1 X
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 P; G( W- o  S8 ?
  639. ; for this directive to have any affect.
    " N- }) F5 D7 A
  640. ; http://php.net/auto-globals-jit
    9 U% p" q7 ^  w" m
  641. auto_globals_jit = On5 n# c  {+ l3 q6 N3 |& |/ l

  642. 6 \4 S% j3 V$ R, |3 Y  V6 V+ e
  643. ; Whether PHP will read the POST data.
    # N) D+ M9 C) y- J/ A" q' C' L
  644. ; This option is enabled by default.
    9 u6 n+ O1 z! I$ J8 p1 u6 f
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST+ D$ _- _  E* y  S8 s% N# {8 Z
  646. ; and $_FILES to always be empty; the only way you will be able to read the0 f/ ?3 g) N' `
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    , p6 y: Z" M9 A- J, Q; W9 o( K
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.+ V5 O3 G. e! h! y8 M# q3 G
  649. ; http://php.net/enable-post-data-reading. y; T1 K- ^  V( A
  650. ;enable_post_data_reading = Off9 x9 t! a2 \; }/ @3 k& o

  651. 8 y. S. Q% D3 A, O9 w3 Z
  652. ; Maximum size of POST data that PHP will accept.
    - D! A6 [0 F6 w& f& \
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    # s, C3 R+ {2 [- e5 B( [
  654. ; is disabled through enable_post_data_reading.
    / K1 t  |( H) r8 s
  655. ; http://php.net/post-max-size! B: N3 s! V8 G! x2 {: F
  656. post_max_size = 50M+ C; l- @$ P) k" Q( {

  657. 7 [; f  Q: s: A& e. `7 y7 T
  658. ; Automatically add files before PHP document.
    6 `' y6 \7 F" n0 F3 R6 X9 V
  659. ; http://php.net/auto-prepend-file3 u( i2 Q+ Q* X
  660. auto_prepend_file =
    % ]' J! A, c7 n  t% O5 j
  661. 7 [) l6 g% o. j7 A0 [
  662. ; Automatically add files after PHP document.+ Q; f2 r- U9 [% }
  663. ; http://php.net/auto-append-file
    2 T3 C7 H5 k6 G" W
  664. auto_append_file =
    3 p( o) i, m7 E' z! h# m
  665. $ n& A+ D7 |& x1 e
  666. ; By default, PHP will output a media type using the Content-Type header. To
    8 ?, o2 N4 @# C+ d4 H0 f7 o
  667. ; disable this, simply set it to be empty.3 R) v* K- H2 x( P
  668. ;
    7 ?8 u- Y2 i1 {. C% V) v
  669. ; PHP's built-in default media type is set to text/html.
    " f% S  i" X8 ^3 K, P
  670. ; http://php.net/default-mimetype
    / d4 J  l0 s  ~  q
  671. default_mimetype = "text/html"
    2 u& `% |% O3 y9 b8 a  q1 n# s( ~
  672. 3 ?7 m2 n; K, C
  673. ; PHP's default character set is set to UTF-8.
    ! t5 S- x2 h/ W3 J# W) }
  674. ; http://php.net/default-charset- ]+ H0 e0 ^3 B( ?$ g" K) s
  675. default_charset = "UTF-8"' B" y6 ]% k; z

  676. 9 ]) d% a' ?( y: k, g2 M- i( I
  677. ; PHP internal character encoding is set to empty.
    + V3 r" U- k8 n* x4 c/ Y
  678. ; If empty, default_charset is used.
    6 v, ^4 M! [# ?
  679. ; http://php.net/internal-encoding
    $ W" p1 ?' Q, G* v/ c: w
  680. ;internal_encoding =
    : p* N0 o) k2 O, _# F) ?
  681. 3 W% q: |6 n: B
  682. ; PHP input character encoding is set to empty.
    " V( [) }2 b- D) f6 `0 o
  683. ; If empty, default_charset is used.$ [! W+ I. h) c7 H) o- L" _" s
  684. ; http://php.net/input-encoding
    , o8 \7 Q4 E* b, D, V' x1 p7 b
  685. ;input_encoding =5 Z7 q0 y3 P2 n2 J; R8 B4 r3 J
  686. 2 C6 G6 V# p; B" Z/ s# X+ R
  687. ; PHP output character encoding is set to empty.
    - f, O( Z5 u* c4 T! I2 s' b
  688. ; If empty, default_charset is used./ [9 s8 `, ^  P+ S1 {
  689. ; See also output_buffer., Z9 U" k5 R2 @! E9 g' F5 U
  690. ; http://php.net/output-encoding+ e8 S, k* z2 d- e6 }
  691. ;output_encoding =
    % |  p: z4 S6 X- N, Z
  692. . J  X5 y$ A9 p, W& ]
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;8 e0 E9 z: P& {/ t7 r; U9 `
  694. ; Paths and Directories ;
    3 k' y2 f) U; D* N* n
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;/ u! x2 [. T2 H* |  F. U0 X
  696. ; q+ i! }1 G' d, D5 E% G
  697. ; UNIX: "/path1:/path2"( i$ x; {8 n3 {7 N# E5 A
  698. ;include_path = ".:/php/includes"' c- D* n5 E& D$ E0 u% D7 g; b
  699. ;; E6 }8 F9 _3 v
  700. ; Windows: "\path1;\path2"
    0 t" U: M7 A2 {# k- g" ^
  701. ;include_path = ".;c:\php\includes"* V( ^- V! Q5 R. q# J
  702. ;. k# ^$ _" E/ \2 s; s5 a2 [+ v
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : N5 N; G/ l% ^1 ]0 I% p
  704. ; http://php.net/include-path( V+ F% y) w+ e
  705. : C1 H& D6 R5 _  e; X# y
  706. ; The root of the PHP pages, used only if nonempty.. V* B7 D9 S! [7 \# w; v( I
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    1 r: L: r9 E- T  _$ D! j- \
  708. ; if you are running php as a CGI under any web server (other than IIS)
    & B' F* ?9 b) o( L/ M
  709. ; see documentation for security issues.  The alternate is to use the
    9 o: i6 Z0 _3 M. w1 |0 V% c  }
  710. ; cgi.force_redirect configuration below
    & B: {7 k  f/ E7 L9 X
  711. ; http://php.net/doc-root* \; ]* w# ~; W! p4 c, V
  712. doc_root =' q8 x: ^# n: w; s: N3 c/ J
  713. ! y* I/ \; `6 l6 k& f' d
  714. ; The directory under which PHP opens the script using /~username used only8 O- w& C2 ?2 v0 R5 G) X
  715. ; if nonempty.2 w( d! k0 ~+ y) h
  716. ; http://php.net/user-dir
    : F/ a: U$ z1 m6 u! y4 c
  717. user_dir =' C1 \5 a# U& v$ W: R
  718. % u2 f" n3 K; N; u( @+ K5 r4 F
  719. ; Directory in which the loadable extensions (modules) reside.9 Z6 b& {1 p5 v$ X
  720. ; http://php.net/extension-dir
    6 ]: o! f; G8 \, ^) m; n- \
  721. ; extension_dir = "./"
    6 N8 o3 n7 G- C' _" E- a' o
  722. ; On windows:
    , W5 f0 j' L9 n' c  y& V( _' d, J
  723. ; extension_dir = "ext"
    : V- O5 v& h* G3 \
  724. " x; Q& e& T- u9 I4 S
  725. ; Directory where the temporary files should be placed.& r: }. S8 {' K& l' Z( R' t8 d
  726. ; Defaults to the system default (see sys_get_temp_dir)  \3 J$ @+ @" l: n
  727. ; sys_temp_dir = "/tmp"7 U5 i! t, T+ S- x; b& h" X/ k% f
  728. ' A0 O6 q( a2 V6 b0 Z  T# J& |& N
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 i# ~4 _% S% Y, n- i7 a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: |9 u, D! \- M# B" h) ^3 a
  731. ; disabled on them.
    * E/ P3 }1 {$ P' G0 Q
  732. ; http://php.net/enable-dl
    ) G4 r; [5 x' h% W
  733. enable_dl = Off
    9 J( e& x4 z: e2 `* O1 E9 y  g

  734. 6 u& `5 B0 Z& {$ k# F
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 z" C# f% z9 K/ z# J$ C# e
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    5 T9 o" T; G2 }+ D
  737. ; turn it off here AT YOUR OWN RISK
    # A9 j9 [( k0 x9 T
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 p1 I: y/ h1 u1 i# G
  739. ; http://php.net/cgi.force-redirect' Y, y! Z: {3 P' M4 r! K) M
  740. ;cgi.force_redirect = 1
    / ?2 T, R& ~9 z, k& k
  741. ! y, W& |, n1 ]0 o8 {9 i, G8 x" {1 w' d
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    + G- s0 }. \5 y7 j/ q
  743. ; every request. PHP's default behavior is to disable this feature.
    2 P- N0 q; `0 W8 V$ c- B9 Q
  744. ;cgi.nph = 16 j5 C; O$ H# Y1 T) X& s- ~
  745. - e+ t( i3 u. z1 {( D/ i
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape- M9 l' [/ E6 S' Z6 E
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 i2 G9 S$ M$ c9 a$ n# a. S
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    5 s4 }0 H5 Q& A, b
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      B0 w" I5 Y! S/ @9 L
  750. ; http://php.net/cgi.redirect-status-env
    . s9 @. J0 D/ Y5 E0 [
  751. ;cgi.redirect_status_env =
    ' {/ Q$ x! y' q5 s; O
  752. : _, }6 L7 s; u: O7 i
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / A  B0 u' {, a* l  r" {2 J1 x7 `
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 ]; J4 J# N. d2 C3 f
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; o: ]0 q' F* ]% g; F7 T4 s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting  m; c0 V. s# o1 {
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    4 c& U2 Q0 v& c2 y2 z9 x! q- a/ E
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    - ^+ x7 j# a6 L3 l
  759. ; http://php.net/cgi.fix-pathinfo
    ! J' M7 z, B2 w+ q$ c
  760. cgi.fix_pathinfo=1
    ; l, G5 h( ^( [5 U  O6 R
  761.   {. x/ V* }( r& U4 o
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- i  D9 p9 w  y  _
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    / L( ?! k3 R: T2 o( w
  764. ; http://php.net/cgi.dicard-path! ?. D2 w7 i  l, k% z  W
  765. ;cgi.discard_path=13 G( Q0 s  z, a) j! V9 _* D
  766. " O8 J" P7 D; P+ M2 W. Z" b1 ?
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( z7 l" v' A4 J1 }
  768. ; security tokens of the calling client.  This allows IIS to define the# \' E- U5 z5 Q# T/ P) y
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    / Z' W( K$ J1 p- B! |! R! x& e7 }
  770. ; does not currently support this feature (03/17/2002)
    , q% L, c/ H: M$ A
  771. ; Set to 1 if running under IIS.  Default is zero.
    + C4 h: D% l* W& u
  772. ; http://php.net/fastcgi.impersonate$ v- n* G+ @4 B' i$ h
  773. ;fastcgi.impersonate = 1
    5 W) T$ S' Y" J, q

  774. $ _) e0 U0 A# ^, g3 N
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable0 w/ q( F( K$ |9 V  i& X
  776. ; this feature.
    # O2 x+ c( ~% P) }
  777. ;fastcgi.logging = 04 @. C5 T! ?( }) `

  778. 0 H8 q0 v7 v. P
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to# r  \# ?  c. u6 O- P2 I+ p( d5 I9 r& w
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    # b2 }/ s  y% K2 i; g
  781. ; is supported by Apache. When this option is set to 1, PHP will send3 P/ D9 I# M/ o% P5 C3 `/ |, p
  782. ; RFC2616 compliant header.0 r8 w, L, B2 T2 f
  783. ; Default is zero.6 R- g/ q& ?* X& Q. N2 U$ n  W
  784. ; http://php.net/cgi.rfc2616-headers
    1 W  v+ ?  |  o: i* p$ m- O8 ?& h
  785. ;cgi.rfc2616_headers = 06 x9 g6 b) \7 E6 z* Y9 I4 c

  786. # U3 J: L- B0 C/ W
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!% T8 y$ f: C% [
  788. ; (shebang) at the top of the running script. This line might be needed if the
    3 M( C6 F3 R  c: o% Q: N
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' `" [: L0 O5 {8 z% q
  790. ; mode skips this line and ignores its content if this directive is turned on.
    3 _! w& T* \# x* m5 P9 P4 U
  791. ; http://php.net/cgi.check-shebang-line
    0 a  f1 E. U; x7 z1 D; f- n7 C
  792. ;cgi.check_shebang_line=1
    ! @* Q! t" V( X

  793. 4 m$ P- j8 [  S. L- G- P' V/ t% y
  794. ;;;;;;;;;;;;;;;;
    5 ^1 c' a4 c+ k4 q2 a8 a8 K" W
  795. ; File Uploads ;
    8 |2 b0 g) N/ e1 ^- _" U3 ?
  796. ;;;;;;;;;;;;;;;;
    2 ?" Q; N7 V. v

  797. 3 N: G( U6 W% t, g
  798. ; Whether to allow HTTP file uploads.0 b  y) k! e: l) X1 M, I" A2 k
  799. ; http://php.net/file-uploads
    3 u" {) ]! E/ H, ~# T
  800. file_uploads = On9 ^0 W* b. L: p' O
  801. * H8 v: P' _+ `9 D
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 R6 B& P" h" ?% `
  803. ; specified).
      `" c: _1 Q. B! y6 _& ?- Y
  804. ; http://php.net/upload-tmp-dir
    - g3 s6 g/ z3 P/ j* i
  805. ;upload_tmp_dir =9 A8 T) z$ H& C% K4 ^7 y) e

  806. , @* V$ ]* y: Y9 X
  807. ; Maximum allowed size for uploaded files.- w7 \2 Y" ~5 M' x$ D0 Y
  808. ; http://php.net/upload-max-filesize9 ]# s+ M. k9 I
  809. upload_max_filesize = 50M" x- h) p* D2 Y! `/ X
  810. 6 K- p8 A% b: }3 @" [7 \  b
  811. ; Maximum number of files that can be uploaded via a single request2 |4 Q7 h$ `" p; ]' ]9 q% C" q
  812. max_file_uploads = 20* l9 p5 x0 P6 Y7 F. R  }- i

  813. & @$ Z# N  K, j- s# X0 [( z" e
  814. ;;;;;;;;;;;;;;;;;;6 ^! e$ o& s3 y/ o0 ]8 k
  815. ; Fopen wrappers ;5 {1 l7 e$ @/ \( O/ n
  816. ;;;;;;;;;;;;;;;;;;
    ! `! j, K/ H2 v# L5 i
  817. 9 D$ N$ n) u- A7 J
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + |: I+ N; G) I
  819. ; http://php.net/allow-url-fopen0 y8 [9 E( Z2 h' g: L. c$ n
  820. allow_url_fopen = On
    * m7 V3 ]7 Q) s6 e  G- D$ n

  821. 1 C) O# n6 j/ J9 e2 x4 `/ M
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ! i2 x! m8 K' i) C7 B' w
  823. ; http://php.net/allow-url-include
    4 h& G9 z# c# a
  824. allow_url_include = Off
    . |" }) ?, z+ {; e

  825. 8 k5 e6 b$ u+ ?  D
  826. ; Define the anonymous ftp password (your email address). PHP's default setting6 Q8 t/ E+ X- x# e3 Y
  827. ; for this is empty.2 o3 K/ P( `- J/ y. L5 m
  828. ; http://php.net/from
    ! A+ L+ S6 k( z( G& h) V) A
  829. ;from="john@doe.com"
    4 D' Q3 ~" Q% i3 C, p

  830.   ]5 k( ], y# {1 y. A4 n) d/ R
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    : I0 j& P0 t& T9 G8 E% j
  832. ; http://php.net/user-agent
    8 [0 y8 Q+ ]) m
  833. ;user_agent="PHP"% q0 t. }4 \8 O" [* m# ^
  834. ) @  R  t7 n: j) U' r( K
  835. ; Default timeout for socket based streams (seconds)+ J, ?! h/ |' A+ |. {' X/ ]
  836. ; http://php.net/default-socket-timeout! v( f. H! W) [9 c' ~& [3 Y% I- D
  837. default_socket_timeout = 60; J9 x3 i1 A6 [& R$ c9 b6 {+ w' a
  838. , D1 Z  d& k" g; w: [
  839. ; If your scripts have to deal with files from Macintosh systems,1 E; {$ d. A' u+ @- X9 V
  840. ; or you are running on a Mac and need to deal with files from" t2 j8 ~3 _2 v0 q4 }
  841. ; unix or win32 systems, setting this flag will cause PHP to1 V/ c+ Q4 ?6 D& v
  842. ; automatically detect the EOL character in those files so that
      a% a) |  s0 {4 {
  843. ; fgets() and file() will work regardless of the source of the file.
    ) m3 ?9 \& w2 h4 z: E: l
  844. ; http://php.net/auto-detect-line-endings# ^2 c, h  U, _0 g$ V2 c
  845. ;auto_detect_line_endings = Off) X" t. l) ~5 n1 n4 h
  846. : l$ w( ?# K' ^4 g
  847. ;;;;;;;;;;;;;;;;;;;;;;
    + u  b7 Z2 H& r2 Y* a9 s4 g
  848. ; Dynamic Extensions ;
    / V% ]+ f1 y- e4 f" V8 f
  849. ;;;;;;;;;;;;;;;;;;;;;;+ O( P5 W2 f9 H3 N# `
  850. : p3 s) U: v9 r' E; ?
  851. ; If you wish to have an extension loaded automatically, use the following
    ' \! R4 p, I1 J
  852. ; syntax:
    ; Y6 ~3 @; n5 {! F! o9 |  n
  853. ;
    4 y- s+ }9 M8 Y$ ?5 {
  854. ;   extension=modulename.extension
    6 Z+ @7 k1 x$ a; e
  855. ;  c& _5 U, o6 P2 N$ `, M* Z! t" F( i
  856. ; For example, on Windows:% ~: c) X- @6 D9 ~% l+ L) n
  857. ;6 d3 g" p6 e5 ?! p% S
  858. ;   extension=msql.dll2 o  X" O( G+ a8 Z9 p- D. i
  859. ;
      d4 |  F7 e) H8 g. x1 D5 \
  860. ; ... or under UNIX:
    5 E$ Z- i/ g/ T8 P+ l
  861. ;
    + s$ x! q' V/ \  r2 I, D
  862. ;   extension=msql.so
    5 Q$ m$ u& ]. m
  863. ;
    4 j4 Q" \! U- J& [. L( W
  864. ; ... or with a path:
    2 Y# t7 M' {6 N, e
  865. ;+ X5 V! e  }( L/ `- f' v6 e
  866. ;   extension=/path/to/extension/msql.so
    9 k& o7 W" T" G$ Q9 n
  867. ;
      j$ \  i# {1 H4 K/ ~. i
  868. ; If you only provide the name of the extension, PHP will look for it in its8 n0 ?8 ?2 O3 y, h( H+ o8 C
  869. ; default extension directory.5 V9 n2 z% Q8 h3 W3 A% h- u
  870. ;) P9 l9 {7 _& b. g
  871. ; Windows Extensions
    3 o$ M' b6 J: R0 b$ q* ]9 Y
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      ~: K8 M9 W6 \+ C1 f2 k3 |
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    7 V% ^+ i' h6 ]# W, w! r
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).- Q/ W& o) f+ z/ H) S! ^. {# h
  875. ; Be sure to appropriately set the extension_dir directive., L* B7 Y9 J. U; a2 _
  876. ;6 m0 n8 X  N. S+ Y$ Y
  877. ;extension=php_bz2.dll* h0 M0 T8 M5 C1 ]+ w
  878. ;extension=php_curl.dll
    3 n/ s. a. K8 }; {' O2 L( B
  879. ;extension=php_fileinfo.dll
    ! x. F7 A( R' C4 O
  880. ;extension=php_ftp.dll9 I6 R3 y8 ?9 j" m8 w* p) n. n: P
  881. ;extension=php_gd2.dll
    1 w% a  j( o/ z) `# B
  882. ;extension=php_gettext.dll3 L3 A. X' M1 @9 M
  883. ;extension=php_gmp.dll1 B/ n, E, x) X9 i9 X$ u5 L
  884. ;extension=php_intl.dll
    2 m* l( n# R! T/ S
  885. ;extension=php_imap.dll6 m3 }3 ?0 s7 O
  886. ;extension=php_interbase.dll
    ' ~* a) m& D# a% X2 G4 k* D  ]
  887. ;extension=php_ldap.dll: Z$ Y, A5 \2 G$ v* @
  888. ;extension=php_mbstring.dll0 B% \' x" b8 [& U
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it' w8 h8 B4 b  M  a- w9 U0 [6 ^! R/ j
  890. ;extension=php_mysqli.dll
    - h. a/ W2 l" `. H& S0 ?" y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client( ?3 b/ `% `" R; L( C8 F
  892. ;extension=php_openssl.dll
    - ?6 t4 P: p. _
  893. ;extension=php_pdo_firebird.dll1 q6 t; f; \6 F2 Z
  894. ;extension=php_pdo_mysql.dll1 F( k/ C3 P4 ~* {7 a/ c% y$ o% P
  895. ;extension=php_pdo_oci.dll
    ) p6 ~$ T4 f/ V  P
  896. ;extension=php_pdo_odbc.dll
    $ m+ V" s/ P+ W# A
  897. ;extension=php_pdo_pgsql.dll
    ' V& [5 a& n. z& c! u( ]
  898. ;extension=php_pdo_sqlite.dll
      {4 L' N" {$ x; [# u% a  r2 Q0 w
  899. ;extension=php_pgsql.dll
    9 Z6 b" Q2 T. e3 Y5 h0 Z6 a
  900. ;extension=php_shmop.dll1 ], ]8 S9 z" a
  901.   ?% y# A+ t# n$ m7 A, w
  902. ; The MIBS data available in the PHP distribution must be installed.+ y4 \  c( Q, O" J% D1 @- b: R, k
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # j, j+ D' a; R
  904. ;extension=php_snmp.dll' b6 ^; e& j0 w8 r1 {

  905. ) F6 M, X' M/ o: Z
  906. ;extension=php_soap.dll
    0 h- M) g$ V8 r) T7 G
  907. ;extension=php_sockets.dll+ ^& a* W3 f! f0 x  {& y$ ?4 Y
  908. ;extension=php_sqlite3.dll4 b) x* W- d1 T' V3 ]
  909. ;extension=php_tidy.dll
    8 D2 y: d1 \4 P
  910. ;extension=php_xmlrpc.dll
    , }2 v2 f% |2 f6 I' k
  911. ;extension=php_xsl.dll
    8 x; p9 h3 j. E! U- O

  912. - \3 {8 u1 J/ d9 j
  913. ;;;;;;;;;;;;;;;;;;;
    0 B2 x; n2 N+ }1 S2 u9 d7 b/ ]  T7 D
  914. ; Module Settings ;
    1 p# z* h' v/ x. M
  915. ;;;;;;;;;;;;;;;;;;;2 F! C% Q2 ?+ T9 V4 X

  916. 5 A, \. \  b( j
  917. [CLI Server]
    7 N  }  m8 L: L9 m, Y: C* F
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    3 r  M6 L9 d; h2 S$ L7 {
  919. cli_server.color = On
    " U7 A( p8 {! b
  920.   @- i7 j' g5 j* [5 _
  921. [Date]# S. n/ u9 O9 i
  922. ; Defines the default timezone used by the date functions' A8 }; u/ X# K1 ^  Y5 T0 r+ l
  923. ; http://php.net/date.timezone
    ( J8 N. u) U; D# q
  924. date.timezone = PRC
    6 m% _7 r  F" V2 d2 O0 m6 ^$ ]
  925. ! ~) S  [* n1 k0 i
  926. ; http://php.net/date.default-latitude9 z- c8 t% P; P- E0 W3 R' i
  927. ;date.default_latitude = 31.7667  o5 a9 n$ n2 M5 \9 D

  928. 6 Q$ I. Q- `  A: X% D  U, }
  929. ; http://php.net/date.default-longitude5 ^/ ?% n9 @- l$ t
  930. ;date.default_longitude = 35.23332 v* s2 I# F5 R" w' Z( |1 o* X( L
  931. ! v! x% U4 r* j5 s# }+ G
  932. ; http://php.net/date.sunrise-zenith9 s; c& T7 \8 O! }( o4 [7 A
  933. ;date.sunrise_zenith = 90.583333* B( j: k7 Y7 S5 v+ m

  934. ( R& c* c+ f1 u8 E9 u: S, i, Y
  935. ; http://php.net/date.sunset-zenith
    2 n4 c2 S( t+ v
  936. ;date.sunset_zenith = 90.583333
    2 Q! B2 D* B! P& H3 O# _8 }: v
  937. : P, u8 ~) X/ r; H/ `
  938. [filter]
    9 U! v& Z+ }4 V
  939. ; http://php.net/filter.default) G0 L: H3 |6 V- C# b
  940. ;filter.default = unsafe_raw$ L* l/ {/ [: E3 P) `
  941. ( w, d2 O  C9 N1 Y
  942. ; http://php.net/filter.default-flags6 k& o, ~2 j) Z0 p4 l7 p7 B) w
  943. ;filter.default_flags =8 M1 H. q0 A) P( ~9 ^! }# z. e# ]& a
  944. 4 ~/ g" Q3 f* S/ f
  945. [iconv]
    * t( e9 L+ F' a5 N+ r6 {3 U5 J8 }
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; r0 L6 @/ M0 `
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 L- j7 O! J, A! b' u
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ( C( k3 f9 k8 t' y+ J, _
  949. ;iconv.input_encoding =
    . v3 }# s6 M: O$ j5 ], P2 p
  950. 7 r2 F! S- z! h; j
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.& Q, x/ I8 E1 P: N+ n7 x
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . i7 `- A/ B) T8 k
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      P5 |, z* }. m4 M: g% `
  954. ;iconv.internal_encoding =
    + B! r# ~) v+ i3 b

  955. , x% j8 d! z. i/ M' o
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.3 J( l  O% n% L. g. ^1 x6 r
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.- i# q+ R2 ]5 h: N
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding+ X% @; @3 Z% H* l: [5 W
  959. ; To use an output encoding conversion, iconv's output handler must be set
    4 u. V& h) E- l, p+ A, w7 t9 X
  960. ; otherwise output encoding conversion cannot be performed.  d" P+ I1 {8 d$ {7 X
  961. ;iconv.output_encoding =
      U4 r4 d) Y6 R/ m9 I
  962. 8 Z/ [. v: t3 u2 [3 |
  963. [intl]
    9 X9 Z7 D, ]( z* N. u5 M
  964. ;intl.default_locale =
    " h; j  k! M+ x1 b. A/ \& S
  965. ; This directive allows you to produce PHP errors when some error
    0 L  y3 l. m3 k  W" R3 b
  966. ; happens within intl functions. The value is the level of the error produced.: m$ ?* I9 W  U7 s0 ]
  967. ; Default is 0, which does not produce any errors.8 p* u! Z" k' O5 A0 o4 M, w
  968. ;intl.error_level = E_WARNING
    7 _6 |; Y5 c  e% n* C4 Z
  969. ;intl.use_exceptions = 0
    + v. j  m5 z/ N* T

  970. & j" X# p4 C2 l' @+ S
  971. [sqlite3]
    2 c) `: v- A' S, y; }6 L5 \0 a
  972. ;sqlite3.extension_dir =
    3 m1 ^* y1 }7 O6 x
  973. 3 J- X1 W* N9 X- A! u; P3 P3 m
  974. [Pcre]
    ' h+ i$ j5 R/ H- h" u
  975. ;PCRE library backtracking limit.
    9 a) t) K2 c/ A) g" Q+ e; j
  976. ; http://php.net/pcre.backtrack-limit' x' V  @. Z& I. t' d9 R: Q
  977. ;pcre.backtrack_limit=100000% S0 J3 G7 Q3 i/ M; k
  978. : K1 @( N1 R: o" `9 d: S# J1 g
  979. ;PCRE library recursion limit.' D0 k5 v5 n& u3 V6 t/ k
  980. ;Please note that if you set this value to a high number you may consume all
    2 l! S. C6 S* O- v1 d3 s' X
  981. ;the available process stack and eventually crash PHP (due to reaching the
    9 B! ^/ \8 g, n  p+ P4 O
  982. ;stack size limit imposed by the Operating System).
    * H0 R7 K7 g) A- @
  983. ; http://php.net/pcre.recursion-limit2 _8 H% W4 E! a/ j) t& ~6 r
  984. ;pcre.recursion_limit=1000001 i3 K: d" m6 H, n/ H: E* z) M3 e3 S
  985. 7 L+ Q! }5 ]1 h: v& ~. Q9 S& V
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE" A1 l* J1 B- Y3 `1 d7 F  o
  987. ;library to be compiled with JIT support.% T# c' L' }4 L/ E- |/ j
  988. ;pcre.jit=1
    ( o  H4 Y$ d$ n) g8 F1 v7 H  e

  989. 3 v8 ?% o0 M5 L) q2 s& e) }1 K5 _
  990. [Pdo]
    : `& L* t6 b2 [8 x# Y" t; C- e
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    3 I/ i$ m) _0 w8 A: t6 P0 l
  992. ; http://php.net/pdo-odbc.connection-pooling. a' w$ w' [# q1 P* ~+ z8 x8 O! u2 R
  993. ;pdo_odbc.connection_pooling=strict4 l( d9 P5 q3 t, r8 A; q
  994.   n+ K$ ~( i  ?
  995. ;pdo_odbc.db2_instance_name
    : P4 C! ~  F( ]6 Z

  996. / P% Y5 |# P( T( m% t$ ]
  997. [Pdo_mysql]
    5 T$ z' }* n$ P+ D
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 X" f# v5 ]2 o2 b; |
  999. ; http://php.net/pdo_mysql.cache_size$ O( o8 C9 F0 g$ R  b, B7 V5 H& G
  1000. pdo_mysql.cache_size = 2000  b, o- s- G, ^) k; P8 [

  1001. $ L# b7 G; T0 p! U
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ f1 C$ S7 |7 {9 n: _! [
  1003. ; MySQL defaults." I# c5 ^* U6 P, ]. b1 N, _' W
  1004. ; http://php.net/pdo_mysql.default-socket, w0 D. Z5 z" A6 n
  1005. pdo_mysql.default_socket=
    : m3 I) }, K- P$ d- j
  1006. 2 x2 K$ a6 G" U7 b7 ]) L
  1007. [Phar]
    ! |& ^' [& J9 Y' U! `) g
  1008. ; http://php.net/phar.readonly
    . |  }) D0 ]& m4 K4 S5 ^7 T- ~
  1009. ;phar.readonly = On4 \2 V2 k3 l3 A; N
  1010.   t2 z2 y/ u- V5 j
  1011. ; http://php.net/phar.require-hash# R2 ~' {) x/ q/ Z2 q
  1012. ;phar.require_hash = On
    8 J; Q+ q( Z8 [1 @# B

  1013. $ i1 i0 D" R: w' \& }7 G$ r
  1014. ;phar.cache_list =
    + H6 ?' O" N4 k3 x; e; }

  1015. % t7 g: x% [. F6 I4 a3 i/ J8 @
  1016. [mail function]
    * Q0 r1 |5 R* J/ B3 c6 W( ?
  1017. ; For Win32 only.
    ) U: ?9 x) F: ^' q! I& j7 v
  1018. ; http://php.net/smtp. ~7 m/ }; k' ], |
  1019. SMTP = localhost( A' E: r, y- y
  1020. ; http://php.net/smtp-port
    " \& N) u3 C% Y9 u
  1021. smtp_port = 25
    * w' A* [, Y' W3 _6 ]9 y0 l

  1022. ! O  K& T) {5 }/ r9 L! T
  1023. ; For Win32 only.  {9 u8 Q) c* t) j* w* `. k
  1024. ; http://php.net/sendmail-from! m' S' O5 _- I/ w; h# T# y
  1025. ;sendmail_from = me@example.com- P0 Q$ f) r, d

  1026. ; X1 R+ B8 Z9 ?$ Q- o, ^* e
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ v2 @0 N- ^+ w% ?# u4 M, n
  1028. ; http://php.net/sendmail-path
    6 G% {, a6 q) {: k
  1029. sendmail_path = /usr/sbin/sendmail -t -i4 N2 \  \4 f5 N2 [, c1 O' |) A! H
  1030. $ t6 _9 `( Q6 q6 K9 }1 ^% F7 ^
  1031. ; Force the addition of the specified parameters to be passed as extra parameters) J) ^) y8 O: q& j9 N; ^" {" @
  1032. ; to the sendmail binary. These parameters will always replace the value of: B1 |3 j" y" [$ d+ r
  1033. ; the 5th parameter to mail().
    + A. _- H8 x7 p5 z! V$ b
  1034. ;mail.force_extra_parameters =
    1 @1 q4 j( s8 J0 a* z
  1035. * P3 f* n( l0 I) f' |' x
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " s* }" p5 J+ i' P
  1037. mail.add_x_header = On+ i. z; X, a% i2 v- w# P3 R
  1038. + H6 p+ b' y- v
  1039. ; The path to a log file that will log all mail() calls. Log entries include  }5 y3 @7 p9 ?* f
  1040. ; the full path of the script, line number, To address and headers.2 n0 \' C4 S. {# A' n$ q$ {
  1041. ;mail.log =
    . Y6 ]5 I2 u0 H, s" l
  1042. ; Log mail to syslog (Event Log on Windows).2 ?1 z+ D& I/ b( I# E7 D. K
  1043. ;mail.log = syslog
    # n" v. _; B; {

  1044. % a, o, ~- h! Q! J& W0 z
  1045. [SQL]
    6 _& y+ L3 Y/ H' @0 G; G: Q( d& p
  1046. ; http://php.net/sql.safe-mode
    ; N+ ]/ J% }* I, w$ f* L" `
  1047. sql.safe_mode = Off
    $ l2 r8 j8 F+ |' \/ O" M
  1048. ( j! R4 K$ [# {9 Q4 ~
  1049. [ODBC]
    6 \0 [+ z. f" h4 }
  1050. ; http://php.net/odbc.default-db% D) h/ C) j* @5 f  k: O
  1051. ;odbc.default_db    =  Not yet implemented/ v' u6 ^* P( A2 u

  1052. 2 q; u8 p, J" }
  1053. ; http://php.net/odbc.default-user
    2 l- D0 S: H/ N) W* b
  1054. ;odbc.default_user  =  Not yet implemented
    5 h: i+ m+ V/ O9 e) g/ q, N# E
  1055. 4 \  E3 n8 t! {3 c% a
  1056. ; http://php.net/odbc.default-pw
    ; O: p% g% ^7 ?& q+ v$ j( }5 e
  1057. ;odbc.default_pw    =  Not yet implemented- F1 ]( j7 M7 s' n0 d9 r- M$ _
  1058. 0 k) H6 V; d4 u8 t, q
  1059. ; Controls the ODBC cursor model.
    ' \  q3 w. I. q( H
  1060. ; Default: SQL_CURSOR_STATIC (default)., `+ i0 o* a0 p  g8 F4 f
  1061. ;odbc.default_cursortype/ B, T9 r+ w6 f. ~6 L8 B
  1062. 9 l2 q# Y) g' h, D
  1063. ; Allow or prevent persistent links.
    , N& \& X* p* [  y0 z
  1064. ; http://php.net/odbc.allow-persistent- b9 b4 [/ y' j1 X+ q1 I. r
  1065. odbc.allow_persistent = On
    ) y$ s( M% ^* c7 o% _
  1066. 9 [: t/ C4 Z& D5 j- q
  1067. ; Check that a connection is still valid before reuse.
    ! t1 R& w/ L  f' M5 n7 s6 {
  1068. ; http://php.net/odbc.check-persistent/ K" s2 ^3 l- ~7 _0 _
  1069. odbc.check_persistent = On0 V6 q  g$ ]. {6 Z) s( E
  1070. " T+ c8 R2 L7 R$ ~/ [5 ^
  1071. ; Maximum number of persistent links.  -1 means no limit.0 h" C, I3 @4 i# b5 Q
  1072. ; http://php.net/odbc.max-persistent
    " Y2 Y4 T2 {0 ~& p% U7 \1 P
  1073. odbc.max_persistent = -1
    % R5 }6 |$ a: @6 L  H. Z' ?) e
  1074. - O5 H  U$ t' I' W) i  p8 h& l
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - G; d5 I0 J* X: v/ N7 m
  1076. ; http://php.net/odbc.max-links
    ; O* I# O# y4 }; {& R
  1077. odbc.max_links = -1
    ( U4 a( t: s4 d  L- R2 _
  1078. & x) n3 G" ^# ?0 c4 s
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ! ~) I! ]; ~: F; G! Z6 p
  1080. ; passthru./ c' _3 E* q/ E5 o6 X) c2 b
  1081. ; http://php.net/odbc.defaultlrl
    , J) a" W! N* T( w
  1082. odbc.defaultlrl = 4096! h, ?; n. {* z2 a
  1083. ; Q! S3 ]2 j) M$ n
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.. C$ e& t% ]  ?9 ^; U/ \: X* d" i2 M2 I
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: a* V8 D* U0 g, _+ S) I8 L
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    0 v' [# d  l, c$ j- `' v1 D
  1087. ; http://php.net/odbc.defaultbinmode, Z3 Z! V" g3 F6 P
  1088. odbc.defaultbinmode = 1
    : h' |/ m( x! W$ I/ J, C' H, ]6 R2 j

  1089. ; ~6 X: l7 @8 y! d2 U- p8 `
  1090. ;birdstep.max_links = -1
    ( F9 W) {. o) C

  1091. ' {( T8 e" F! \& [4 y0 N, s! e3 d, s
  1092. [Interbase]* \- ]; G9 m) i
  1093. ; Allow or prevent persistent links.8 c0 o& n* G! J2 Q' @3 ?, n8 a5 M, @3 J
  1094. ibase.allow_persistent = 1
    0 n7 S. }5 F% Z5 f2 J! Z! E
  1095. 8 r" v! Z/ ]: c& g/ j- y5 v
  1096. ; Maximum number of persistent links.  -1 means no limit./ Q1 m( b' {* J
  1097. ibase.max_persistent = -1+ ?- r3 x$ y+ c! Y5 _7 @

  1098.   `9 J' e1 P/ e7 q0 ]+ k
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 \# n* S/ ^1 I8 V5 m+ e, z6 P( y
  1100. ibase.max_links = -1
    . k7 Z7 x- `5 ?0 J5 w

  1101. & G/ E5 ?; f7 q! G4 q' V
  1102. ; Default database name for ibase_connect().
    4 j# a$ M8 z6 W3 i* z& u) P% p
  1103. ;ibase.default_db =' d& z$ I! C3 z4 U+ J: @  H
  1104. 1 I0 _: R8 x0 G- U* v
  1105. ; Default username for ibase_connect()./ a. ?) H1 R6 t: g% m2 H; @; j
  1106. ;ibase.default_user =' M6 B7 `; B: g* E* Q

  1107. ; w2 w% Q' ]- o
  1108. ; Default password for ibase_connect().
    4 t1 k! O% }# N$ p" N7 L4 c
  1109. ;ibase.default_password =& y7 K& o) z' K: n! y- y! J
  1110. ( y! L6 \2 d. x5 `8 j% A: R7 c- Y( c
  1111. ; Default charset for ibase_connect().
    & R2 W1 N) d8 }% U' K
  1112. ;ibase.default_charset =
    ) c5 A& ]0 U% {- @3 |2 A

  1113. 6 A' t. \. ?% F" h
  1114. ; Default timestamp format.
    " [5 Z8 v) r3 O, v+ G1 K5 q
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* \  @2 q! G8 j8 E2 g
  1116. 2 U$ }: W( I  G
  1117. ; Default date format.8 m/ v8 u( P5 x0 W7 X
  1118. ibase.dateformat = "%Y-%m-%d"
    ' K! k( E3 j* P# X  ]7 X# U

  1119. # n! f& t5 Z  U. b2 D+ j) h) d+ P
  1120. ; Default time format.
    . k) A3 U, i  W; l6 q
  1121. ibase.timeformat = "%H:%M:%S"$ E* ^: W$ }$ ~, Q
  1122. - G* n. P3 Q$ N! @/ A+ A
  1123. [MySQLi]1 S  ^8 o$ \  G; F
  1124. % }, ]/ E0 T$ ^- k1 |+ _
  1125. ; Maximum number of persistent links.  -1 means no limit.. K; u" l7 V* h' \
  1126. ; http://php.net/mysqli.max-persistent
    $ ^: z) T( ]3 t3 v5 v
  1127. mysqli.max_persistent = -1
    / Y0 O& n% f: d, N7 A

  1128. + U8 ?! M* Q2 a/ @
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; C& T3 V% m8 B4 p6 {
  1130. ; http://php.net/mysqli.allow_local_infile
    & K7 r, f3 S/ X0 ^, j  {% I
  1131. ;mysqli.allow_local_infile = On& A* ]9 z. l5 Q4 G$ z2 [( U
  1132. 3 k% Q5 a5 V7 j7 j  b" ?
  1133. ; Allow or prevent persistent links.! H7 q( U0 u- W0 L# t1 e, L' I
  1134. ; http://php.net/mysqli.allow-persistent
    . m- n" P# e0 R  c) W4 c3 y' p
  1135. mysqli.allow_persistent = On. U& I6 V' A! B  h& {  i% p

  1136. % v0 e8 o; J' r. j& g0 M
  1137. ; Maximum number of links.  -1 means no limit.
    * v! W3 `/ G2 ]& K
  1138. ; http://php.net/mysqli.max-links
    / @& l1 s  b# K$ k- a
  1139. mysqli.max_links = -1
    ; f7 `8 H. I/ T4 V) K

  1140. * {" T% ^- K6 Q: @# U* L
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ O: k( j. b( F  o& [- S
  1142. ; http://php.net/mysqli.cache_size: s7 T5 J. b+ H: S  i% \2 r
  1143. mysqli.cache_size = 2000/ x' `9 e5 `! S. X' r7 r3 w

  1144. 5 ~& j4 b' }: P
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use7 @4 N( Q( n5 r, I) V
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* G2 N* ?9 n* w0 b
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% |1 P9 \/ h# F5 n) b$ E# a6 `
  1148. ; at MYSQL_PORT.9 O3 F% S, i$ j) `: p. o" r
  1149. ; http://php.net/mysqli.default-port4 k0 h# n& U8 Q% ]' C- r
  1150. mysqli.default_port = 3306
    ; U' S5 l4 Y4 E5 @6 f5 |% a

  1151. + f% d, x7 i  B$ T; s
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ X" G4 l- y2 K- z
  1153. ; MySQL defaults.% q2 @* ^! Y: \1 P6 }. `' u
  1154. ; http://php.net/mysqli.default-socket
    3 o6 Y4 t0 }3 y$ g# P
  1155. mysqli.default_socket =% n' ^' T$ s" z; {" |% R4 R

  1156. & H3 b" p1 ?5 `
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).7 w& n1 v! m7 F7 K  b* G7 L: ^
  1158. ; http://php.net/mysqli.default-host
    1 N2 j  x2 c* }9 ?- n5 m
  1159. mysqli.default_host =. |( [) @- A' h+ ?" a# R  c

  1160. 4 G& I+ Q0 T: ^& r# i% L- H/ r
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)." [( k3 S/ c& q0 \7 O% X
  1162. ; http://php.net/mysqli.default-user
    3 J) O- n  J/ Q- b! f1 _
  1163. mysqli.default_user =. G" w! ^+ g  M6 K
  1164. ; T6 H! Y- L: z
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).5 M5 s9 h8 j  M4 d9 P
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 D2 Z/ p0 \1 t! ^8 o
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")0 d8 U6 I- B+ e. E- n' G
  1168. ; and reveal this password!  And of course, any users with read access to this
    - |! C6 U4 |4 D! W& I) r
  1169. ; file will be able to reveal the password as well.
    2 u- Z0 ], r0 o! Z1 q
  1170. ; http://php.net/mysqli.default-pw
    7 l$ i* ?: ~' ~
  1171. mysqli.default_pw =' J4 g5 [6 [0 W, b9 ~+ L* [4 f

  1172. 0 P* n! h$ ~3 y  W+ W. t& L$ a' r
  1173. ; Allow or prevent reconnect- N& z. W  z9 ^7 v( j0 M
  1174. mysqli.reconnect = Off' r1 R* Z4 t8 w; S" ~* r+ C% b3 A% E" h
  1175. ; Q2 k3 \$ n9 M" m
  1176. [mysqlnd]
    & ?+ V& p/ J# P0 I2 V
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    - M% K  v% N7 P6 H+ ~0 G
  1178. ; used to tune and monitor MySQL operations.
    3 ], F; J6 S/ _# n
  1179. ; http://php.net/mysqlnd.collect_statistics2 ]5 Z6 P, J0 }2 a: U" Q
  1180. mysqlnd.collect_statistics = On1 D" X. B/ s: c; B. M" P! ]- T" D. N

  1181.   Q- B0 D; j6 y0 K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 b  _" r5 J. r/ z$ `% L+ Y' |
  1183. ; used to tune and monitor MySQL operations.; h, Z5 K0 \: ?- w8 k6 @6 B: c
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    . h8 ^% T3 h) [! e' u5 S
  1185. mysqlnd.collect_memory_statistics = Off& o3 l/ h6 S* ]3 K9 E- T3 C
  1186. ! X0 K+ Q9 d5 R6 a4 Q& @. o: `. B
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    : b" U1 \  t2 X* `0 t  x
  1188. ; file.* c5 x: R" `, A. {
  1189. ; http://php.net/mysqlnd.debug
    $ F, B+ G/ D0 g) _# p/ k' o: u1 k
  1190. ;mysqlnd.debug =5 ^' k& {7 q3 a8 J- a

  1191. . x0 M& O+ H& O  G- g0 n9 f
  1192. ; Defines which queries will be logged.' _" J  h+ ~% p" s: B
  1193. ; http://php.net/mysqlnd.log_mask' h& S% h: ?3 }
  1194. ;mysqlnd.log_mask = 0
    " _# D& l, ?. R7 h% _. x  b5 V

  1195. 3 v( r; w0 r( _; O: l; _
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 \7 t* G: P9 ]* }# ?
  1197. ; http://php.net/mysqlnd.mempool_default_size
    8 G( v+ d+ V/ u1 Y  u
  1198. ;mysqlnd.mempool_default_size = 16000
    ! H2 I5 K( J4 \

  1199. , e" K7 T  r% ~) G
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    9 H) G! J; f: Z7 Q
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    2 e: E- T2 }7 b% [( i. u8 z$ @
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    / d) U6 j7 ]- M/ @* a# G5 S" U
  1203. 9 |# r% I5 ~: c3 ^0 L  X
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in8 u" w# \9 D0 y% h" ~8 B' o8 c
  1205. ; bytes.7 Y# Q& l, p" U/ Y/ V2 n
  1206. ; http://php.net/mysqlnd.net_read_buffer_size1 H/ P9 u5 ?4 @4 ~* t  }$ k4 [
  1207. ;mysqlnd.net_read_buffer_size = 32768
    + ~6 L; ^. U; ~
  1208. + [# _$ \' o$ t5 Y) H" Z
  1209. ; Timeout for network requests in seconds.
    7 C3 M3 p* J& O7 ^/ B9 V6 A
  1210. ; http://php.net/mysqlnd.net_read_timeout
    : [8 r$ f$ B9 O) I. N% Z9 b* g: q
  1211. ;mysqlnd.net_read_timeout = 31536000
    : O+ o; h, m6 ~

  1212. 8 C/ ~( e, r3 R* K1 o$ b
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA; i# r- d9 i& z2 J0 u* T% B0 F- h
  1214. ; key.9 V6 E* y$ J' G+ @: [
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    " f' M# H: S3 D2 C* j* l% ^
  1216. ;mysqlnd.sha256_server_public_key =
    ; w1 v# h3 Z" W& a) `$ |6 X

  1217. ' q, a3 ~; q0 G6 R
  1218. [OCI8]
    # A1 r$ c6 l6 g! Y
  1219.   b! b% _) p8 t& ]6 H2 k  _
  1220. ; Connection: Enables privileged connections using external9 {' o+ t" n$ o% w. {) @
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    * s! n, L7 v6 M, i5 F& g/ f
  1222. ; http://php.net/oci8.privileged-connect' P& ^/ V/ m  K4 L$ r* M2 o
  1223. ;oci8.privileged_connect = Off: b4 Y& k) t% E; ]

  1224. 7 X1 f& ?4 `, E) X& N5 ~' |
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    : q. |9 n  l9 F* \6 y
  1226. ; process. Using -1 means no limit.! E4 M* V! Y  g  y  U
  1227. ; http://php.net/oci8.max-persistent
    9 I' W6 G# W$ Y8 i4 j  ]
  1228. ;oci8.max_persistent = -15 a) [" ]# o5 S/ l1 A7 c* e, S8 s
  1229. % y) a+ i8 {' y1 ~& n6 ]; M
  1230. ; Connection: The maximum number of seconds a process is allowed to; ^+ G! X4 Y. W: M$ d2 s
  1231. ; maintain an idle persistent connection. Using -1 means idle
    8 B8 m7 f; r; E$ i
  1232. ; persistent connections will be maintained forever.1 u6 f8 q8 U. u$ }$ b2 Y, p
  1233. ; http://php.net/oci8.persistent-timeout. N0 ]+ [% f8 S2 n" i  s
  1234. ;oci8.persistent_timeout = -1& a: u1 U% S, h
  1235. 7 N9 I" c1 E3 M0 s- d
  1236. ; Connection: The number of seconds that must pass before issuing a
    ! N1 E! R4 `9 Z, q' ]/ ^$ D: z- f
  1237. ; ping during oci_pconnect() to check the connection validity. When& w" O' x" u% m8 G) K; w0 U
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; }% M7 h  ^' S4 m- v
  1239. ; pings completely.& U- U, i0 @  H( C
  1240. ; http://php.net/oci8.ping-interval" _- {, F5 u# Y- f/ z0 u
  1241. ;oci8.ping_interval = 60+ \8 G9 g, [3 h& e
  1242. 8 ]1 h* V* }8 G+ k# x. ^; \
  1243. ; Connection: Set this to a user chosen connection class to be used+ u& {$ w/ u5 s9 ^3 v% [6 R1 n
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    8 y* X6 H5 }* o/ b3 M2 y" ]
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to9 j- ~2 e5 v$ y
  1246. ; the same string for all web servers running the same application,
    6 K8 N. l/ Z$ A4 `: v4 h" p$ x
  1247. ; the database pool must be configured, and the connection string must
      l1 v- x$ [: ]
  1248. ; specify to use a pooled server.( t1 y- z; p- D# a- y& G
  1249. ;oci8.connection_class =4 z' O8 {# q5 [

  1250. / t$ m% y: ]% l
  1251. ; High Availability: Using On lets PHP receive Fast Application
    % x3 P! w. K, D/ w* o
  1252. ; Notification (FAN) events generated when a database node fails. The, [2 J% H# R, L% @
  1253. ; database must also be configured to post FAN events.
    4 o5 v+ D$ y) W- n
  1254. ;oci8.events = Off( k2 W7 T- E( I$ g" r6 q
  1255. $ g3 v+ W3 \$ J" q3 a7 t
  1256. ; Tuning: This option enables statement caching, and specifies how
    3 P) [; T: G3 H/ f" P$ u
  1257. ; many statements to cache. Using 0 disables statement caching.  r% B" e7 G2 k" P8 c4 `
  1258. ; http://php.net/oci8.statement-cache-size
    7 A# r. _- f) [+ @0 ^
  1259. ;oci8.statement_cache_size = 20
    ! C0 ^) q- e  H

  1260. 7 |4 L- H% h$ ]2 i7 z! O1 `2 Y
  1261. ; Tuning: Enables statement prefetching and sets the default number of1 w+ K# z$ M) B
  1262. ; rows that will be fetched automatically after statement execution.
    . M9 h7 y0 p1 D( J3 k
  1263. ; http://php.net/oci8.default-prefetch; S1 b) {2 p$ _! O0 @" p% E2 \
  1264. ;oci8.default_prefetch = 100
    ; M; V! a, A7 s  |" l
  1265. ' b+ B. O. z( Z1 d) o
  1266. ; Compatibility. Using On means oci_close() will not close
    . n( N, t, v$ B1 E# Z8 L0 \
  1267. ; oci_connect() and oci_new_connect() connections.$ V% j- x3 ~9 H
  1268. ; http://php.net/oci8.old-oci-close-semantics
    0 W; y0 b" F- v2 _: u- r2 E8 y
  1269. ;oci8.old_oci_close_semantics = Off
    ) r7 y1 w% E/ p8 ]

  1270. 8 T- H$ U: L+ c/ F+ I% f  C
  1271. [PostgreSQL]
      r( z% t6 ~8 j
  1272. ; Allow or prevent persistent links.
    7 |) Q1 P# G- R( m5 E, F7 ~
  1273. ; http://php.net/pgsql.allow-persistent
    5 A3 o8 }/ D5 E  a7 I; j
  1274. pgsql.allow_persistent = On
      c0 b- X. Q( c4 F7 x
  1275. 9 V3 u; {& e( j5 u: s4 ]
  1276. ; Detect broken persistent links always with pg_pconnect().
    8 N& R4 B4 f1 J5 Y
  1277. ; Auto reset feature requires a little overheads.
    7 \5 o) [5 f6 q6 ^8 j
  1278. ; http://php.net/pgsql.auto-reset-persistent( x+ [4 h5 U7 O) s, E) v! Y) w
  1279. pgsql.auto_reset_persistent = Off
    . S: l  H; v/ I+ V
  1280. ! r9 K& L5 U5 J4 k, F' p( |
  1281. ; Maximum number of persistent links.  -1 means no limit.5 S3 z6 f# u+ M+ V) ]" [# d8 S
  1282. ; http://php.net/pgsql.max-persistent
    ! o5 p+ G6 s& w# H3 q+ J- J
  1283. pgsql.max_persistent = -1
    0 N, M: x# U$ v
  1284. ; \5 K" J* L" N1 n4 s
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , X- R* _6 E* s) A
  1286. ; http://php.net/pgsql.max-links
    2 B; J" E! L# X1 o4 W
  1287. pgsql.max_links = -1& b  |0 y. L3 T% O
  1288. # s- \$ X8 R: |7 |1 G
  1289. ; Ignore PostgreSQL backends Notice message or not.$ L( `1 p' D7 \2 T
  1290. ; Notice message logging require a little overheads.
    " H* _7 m+ c2 Z" ~# c
  1291. ; http://php.net/pgsql.ignore-notice
    5 k6 U( z( N5 U  q" E
  1292. pgsql.ignore_notice = 07 m/ Y) F0 |3 W9 m; p
  1293.   t4 h! b4 m- g. R9 i/ m% l: Y2 k
  1294. ; Log PostgreSQL backends Notice message or not.
    ( H1 J' V3 S7 c3 V! c) M1 ~( e
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.8 W( S; h& O6 N; k
  1296. ; http://php.net/pgsql.log-notice7 H+ Z' H( \) a* X& V  W6 v
  1297. pgsql.log_notice = 0
    : Z7 |% V; z3 ?. r! k$ c$ a& p

  1298. 4 o/ ]: o5 X% t0 p9 M
  1299. [bcmath]- A; e) o9 r+ r7 l! j! O  E
  1300. ; Number of decimal digits for all bcmath functions.! J9 o* C# J8 O
  1301. ; http://php.net/bcmath.scale
    1 \- K: p1 N7 k: [: k: o  z
  1302. bcmath.scale = 0; P' N  [. P5 O, q6 M* g& T* g
  1303. ) ?0 I  H5 w4 x4 _! G: f/ y
  1304. [browscap]! I' X5 a- C* a; F
  1305. ; http://php.net/browscap
    ! H7 p. f/ ]- A& ]# s2 A
  1306. ;browscap = extra/browscap.ini8 G$ [$ H, _1 X4 y+ b% @9 I9 k
  1307. * a, E; e( ]. w/ I# f4 B& y2 q1 `+ I
  1308. [Session]
    3 a; b% n* O0 r/ A# l6 r
  1309. ; Handler used to store/retrieve data.
    ! a$ j3 F6 C6 p) I5 b! S! H
  1310. ; http://php.net/session.save-handler0 x- G1 t# ]1 g4 D1 P4 S) X0 l
  1311. session.save_handler = files8 A) K# ^: b' ?

  1312. 6 o$ b. W, m% j' F
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    / N! s3 l0 H" t# g; H2 [" P- e
  1314. ; where data files are stored. Note: Windows users have to change this
    * z! L/ `3 m: N  h1 e( W0 M: h
  1315. ; variable in order to use PHP's session functions.
    / C& j  A2 I! q3 ?
  1316. ;
    9 ~6 I  Q& C/ ?8 z2 Z
  1317. ; The path can be defined as:2 Y4 P, k2 i, m3 H3 x, h, R1 i
  1318. ;, P3 ?& L! u. h& k
  1319. ;     session.save_path = "N;/path"
    - D: u: R- V  z5 ~: u
  1320. ;# P5 _8 X. L7 e4 g
  1321. ; where N is an integer.  Instead of storing all the session files in; l* Z0 n7 }  }6 z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and7 W5 H; ~! n' E9 v# O" |& t# s
  1323. ; store the session data in those directories.  This is useful if
    . J; a+ E: E- X6 T+ A3 _$ D5 V5 C
  1324. ; your OS has problems with many files in one directory, and is
    * y+ G: c) F( I
  1325. ; a more efficient layout for servers that handle many sessions.2 m/ r& @/ \; ~2 T" g' z4 ]
  1326. ;* w$ v9 r- m/ L' ^# L2 c
  1327. ; NOTE 1: PHP will not create this directory structure automatically.  D& K$ g" K; `% M) ~% _
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ; E. s' @. ]. o" n2 g
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    $ c4 [5 T- G( D9 G5 c7 d
  1330. ;         use subdirectories for session storage/ H4 X# B7 U# z. G$ E
  1331. ;
    ; Z1 k7 O6 w$ D0 n
  1332. ; The file storage module creates files using mode 600 by default.
    9 J) y) J3 Q! O' L  ?6 I# m
  1333. ; You can change that by using, q  c/ p8 ?( {2 F9 b7 l
  1334. ;
    3 f* _5 U( v  Z+ C0 T+ M
  1335. ;     session.save_path = "N;MODE;/path". g, u8 h1 V$ [/ ^# T) Q! ^1 D: ]% T
  1336. ;6 S. Z& F* V/ |
  1337. ; where MODE is the octal representation of the mode. Note that this; j/ ]* l7 x6 h
  1338. ; does not overwrite the process's umask.
    ) z4 Z& h1 D$ {
  1339. ; http://php.net/session.save-path
    4 R& Y, I, w! g) h5 i1 w
  1340. ;session.save_path = "/tmp"
    ! @" C. Y! T& n6 q3 ~

  1341. * R/ {/ v7 d7 {  e1 S& i4 Y
  1342. ; Whether to use strict session mode.
    & Y# I& J( i+ A- s/ J" E! `
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate$ a# R5 k4 @4 i
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects2 J  K" o5 h, k( Q" K. h; T
  1345. ; applications from session fixation via session adoption vulnerability. It is& V! e2 H' `9 l; O* E- y( A; v
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    # t5 Q/ Y- ]. h) T/ G
  1347. ; https://wiki.php.net/rfc/strict_sessions
    # `4 S, m/ }( k' y1 [+ h
  1348. session.use_strict_mode = 0
    9 \+ w1 [/ x- f5 p& [  F

  1349. ) c3 F- L; d+ G: R* R# P
  1350. ; Whether to use cookies., ~  h6 a! H% @5 C  J; \
  1351. ; http://php.net/session.use-cookies
    5 g" Y$ s! t/ |
  1352. session.use_cookies = 1; y* H* t7 V' u

  1353. 9 f/ O/ Y7 K4 V) }: j" {! m: P+ j
  1354. ; http://php.net/session.cookie-secure2 w  Y. C9 x8 f) u6 i
  1355. ;session.cookie_secure =
    - i4 l: x* k6 E% a2 e) S
  1356. + t# D. W4 M' C  q
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining) p2 g# a* d7 B& P4 R$ T+ D
  1358. ; the session id. We encourage this operation as it's very helpful in combating9 G: ^. X. }+ Z; P- G8 Q
  1359. ; session hijacking when not specifying and managing your own session id. It is# p7 A4 D: f7 f6 i7 T6 a
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ; w& N6 G8 s6 j) g* c
  1361. ; http://php.net/session.use-only-cookies
    " y) y2 J5 M! Z5 }- B# a
  1362. session.use_only_cookies = 11 ~- N6 B% C4 u8 ^
  1363. ( }& _5 J8 W8 l" n. J& e& b" s) m
  1364. ; Name of the session (used as cookie name).
    : P1 |4 W' v2 L' m
  1365. ; http://php.net/session.name
    1 y$ O# v# o$ \: c, c+ i; }
  1366. session.name = PHPSESSID
    / ~( l  c( H: p( E; K

  1367. : u! ^3 N7 h  }3 G- E) m
  1368. ; Initialize session on request startup.
    6 y+ n0 I" g9 C4 Y) C3 A  p6 ]6 j9 }
  1369. ; http://php.net/session.auto-start( R; u; n+ z# N1 S0 \. u0 Q- L
  1370. session.auto_start = 05 F3 t+ `2 t0 H  c$ T
  1371. & C% c1 ^7 @9 v8 E
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    " a0 e% S9 S# ?, e+ X
  1373. ; http://php.net/session.cookie-lifetime0 C, `' }, {* T0 i
  1374. session.cookie_lifetime = 0; g6 T. e+ {- S4 T. n- h
  1375. ( j- \( Y  }6 z# z1 V5 X6 x! ^" g
  1376. ; The path for which the cookie is valid.
    . U! ^- s% H' s) ~& }! A
  1377. ; http://php.net/session.cookie-path2 V; E% ?1 S% B: ^" V- `3 r9 V
  1378. session.cookie_path = /
    + {+ `5 {, y' P# h0 d, G9 L( w
  1379. 4 g" G' l7 M9 s. X! S
  1380. ; The domain for which the cookie is valid., t8 d; C( c; I3 B7 @( U% b
  1381. ; http://php.net/session.cookie-domain
    # i- J! D" o- m! b
  1382. session.cookie_domain =0 P* n* e, K* d4 Z

  1383. ' v, C, M4 B2 k) g8 S
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % r/ o0 A, F0 Y9 p0 W  F% g
  1385. ; http://php.net/session.cookie-httponly
    & d9 N$ Q; q" {
  1386. session.cookie_httponly =9 [2 n2 @, m7 [1 K" U

  1387. 2 w  U1 h6 |* Y8 W2 x3 ^3 L0 D
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.& q$ S( p+ P" e7 b5 T
  1389. ; http://php.net/session.serialize-handler0 {% l: {/ m' O4 K" P, }' |
  1390. session.serialize_handler = php
    1 _- X8 h7 V7 C) k, {0 p

  1391. ( ]- J" ^; G$ M) @
  1392. ; Defines the probability that the 'garbage collection' process is started
    , D$ O$ N# c9 i% G
  1393. ; on every session initialization. The probability is calculated by using
    0 ~! ~+ d6 Z* u6 R0 \9 w) e
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! K+ e( A  H9 n5 o
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ' s/ R) _" U& o4 \
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) }* v' v$ t2 N* h# u" w- n
  1397. ; the gc will run on any give request.
    : ?* t3 [) m* v: \1 \" \
  1398. ; Default Value: 1  [4 I' t9 ]  C- H& e
  1399. ; Development Value: 1
    + b0 ?5 Y/ \) L) z8 N' c) P* Z
  1400. ; Production Value: 1% ~7 a1 g, @7 {: Y& x- }9 c. q2 L; n
  1401. ; http://php.net/session.gc-probability
    9 ^5 ~3 b" i# x% _% ^0 N+ l
  1402. session.gc_probability = 1
    7 S6 U. h! s  O# o
  1403. 2 C9 Y/ ?) {' n2 B9 J3 h1 V& K
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " G5 O8 P: o% E% C" E$ e, A5 Z
  1405. ; session initialization. The probability is calculated by using the following equation:8 }2 ~, @0 B/ u  D/ P. u5 u8 W
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and: Z: N- f% W" {& h/ |9 k) c
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& F' \- z& U+ M
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& M% {* @4 R. I
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 G  w; Q: w. O/ ^1 g6 u  A
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 ~7 E* [. e+ U$ ~0 L% L# j
  1411. ; this is a more efficient approach.
    6 E! P7 V0 N" M+ _. h6 P
  1412. ; Default Value: 100
    + u# H0 ]- \; c, y2 G; q. _
  1413. ; Development Value: 1000- T5 c6 D9 _; U5 D; c8 U, t
  1414. ; Production Value: 1000
    3 m: a' U& z& v7 g2 G+ e
  1415. ; http://php.net/session.gc-divisor% b) G- |2 u7 D# f+ B+ N8 R7 B5 A
  1416. session.gc_divisor = 1000; g% L5 W8 m: l. x
  1417. ) j# {) X3 N# e7 E( x! o# C
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ; i1 u( Q& {+ ~) ~) d
  1419. ; cleaned up by the garbage collection process.5 |8 R: Q7 P$ C' K' W
  1420. ; http://php.net/session.gc-maxlifetime
    ! b8 V. V0 S9 y
  1421. session.gc_maxlifetime = 1440. ~) {4 I% `0 @* J+ O; e

  1422.   y& {) v- p# ^; M, g" n5 q
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 V3 @9 f. p6 z
  1424. ;       (see session.save_path above), then garbage collection does *not*
    : i8 r9 |8 T) D2 e
  1425. ;       happen automatically.  You will need to do your own garbage/ {4 i" t- {$ N
  1426. ;       collection through a shell script, cron entry, or some other method.1 y  e: Q5 w; O5 Z' ]
  1427. ;       For example, the following script would is the equivalent of
    " `1 Z3 i& j" U. T& m
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    & Y6 j/ ]( Z) `- [: `1 k- n/ a) [
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ; {9 N' W7 m3 K  `$ B; W" w! O
  1430. ; Q% g6 D8 s8 }% H1 P  N3 c5 t
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids., b5 b" _# w  N4 N2 ?/ n" X
  1432. ; HTTP_REFERER has to contain this substring for the session to be' T; u1 @7 J0 ^$ G
  1433. ; considered as valid.
    7 h$ Y9 Y3 a) R9 U
  1434. ; http://php.net/session.referer-check
    * v2 b: {; q% w& k) D
  1435. session.referer_check =
    6 b- n* a# N! S  O" `
  1436. 8 z, |! V$ C" w
  1437. ; How many bytes to read from the file.
    . j2 \( S: Z9 [7 e
  1438. ; http://php.net/session.entropy-length' x& Y$ f4 ^0 Q# B0 c" ^! M: ^. _
  1439. ;session.entropy_length = 32( }8 \( L, X. N
  1440. ) p# [  ~# O! r4 S) d& V$ o1 A
  1441. ; Specified here to create the session id.
    $ w4 c: K9 d, b
  1442. ; http://php.net/session.entropy-file
    5 t! d6 y0 B) V7 Y* @9 |5 S
  1443. ; Defaults to /dev/urandom/ I' X& v+ ~2 b& r4 D2 D" }
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom- n: @& e5 _6 d
  1445. ; If neither are found at compile time, the default is no entropy file.2 `9 E6 B1 `1 _1 |
  1446. ; On windows, setting the entropy_length setting will activate the
    ' a3 X' L. p  A; D( _7 a2 b% E1 w
  1447. ; Windows random source (using the CryptoAPI)0 j  s# t5 Z& B' e- n! I
  1448. ;session.entropy_file = /dev/urandom
    5 R3 u& k' v- e; q! M7 A" |) E
  1449. & R) a9 `( j! s, T8 c4 r
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    6 l" i+ c9 G# m( ?7 f3 l
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 M% T4 D8 w* k) m& i; B
  1452. ; http://php.net/session.cache-limiter
    % _5 s4 Q9 k$ q4 I( y' W0 x
  1453. session.cache_limiter = nocache1 v& B% ~. `, u8 S$ X
  1454. 3 H8 e9 ^+ r$ D6 @0 [
  1455. ; Document expires after n minutes.. _5 ?1 A% W( p# w% x- Y7 \
  1456. ; http://php.net/session.cache-expire! O. ?! P. d6 M1 Q: E2 S
  1457. session.cache_expire = 1806 V0 A4 H+ I$ p  F& q, F
  1458. 6 w" z; |3 X; X; G6 `# {
  1459. ; trans sid support is disabled by default.
    - k; B3 K: B) u4 ?# d0 n
  1460. ; Use of trans sid may risk your users' security.
      V* [6 B! \- {  {$ [2 x
  1461. ; Use this option with caution.
    : Y1 C) f2 i, y. V; ~' q' H
  1462. ; - User may send URL contains active session ID8 u! `6 g8 @' r
  1463. ;   to other person via. email/irc/etc.
    " e6 `! t3 W% q" @. i) E' d
  1464. ; - URL that contains active session ID may be stored: x8 _& X1 C/ R( q# b% E
  1465. ;   in publicly accessible computer.
    - L( R3 M' i* ]# O, j4 [1 T- U
  1466. ; - User may access your site with the same session ID
    " [- J  T+ D4 A
  1467. ;   always using URL stored in browser's history or bookmarks.8 I$ N3 {3 M+ O
  1468. ; http://php.net/session.use-trans-sid
      b% w( ^" g) P* c8 ^) Y* Q
  1469. session.use_trans_sid = 0( E/ Z) }# o; j- J* u
  1470. / x) z  l3 B  V; C0 D
  1471. ; Select a hash function for use in generating session ids.
    6 l) ]& @2 }- m% I& J
  1472. ; Possible Values( S6 E# o' w' F4 B$ \
  1473. ;   0  (MD5 128 bits)
    ! z0 @9 L& _; ~! c6 f
  1474. ;   1  (SHA-1 160 bits)
    $ K7 I: {% m% E8 J! R, d4 r
  1475. ; This option may also be set to the name of any hash function supported by3 _2 [9 j% D. n. M* p9 S+ y
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()7 n# n& N2 P. ^" @3 L- S
  1477. ; function.
    / [# |: Q" ~  X  |8 Q( J1 ]
  1478. ; http://php.net/session.hash-function
    ; F. c# u1 |+ ?1 y; @/ G
  1479. session.hash_function = 0
    % S* f6 I0 \8 _  Q$ r2 B

  1480. 0 W) x, y# X& R0 z6 X# l
  1481. ; Define how many bits are stored in each character when converting
    % A- g8 h5 b; z4 l
  1482. ; the binary hash data to something readable.
    3 {' @' |0 u4 g# f, T3 j6 u$ ]
  1483. ; Possible values:" _$ \) P4 M, I, y& S* Z5 s
  1484. ;   4  (4 bits: 0-9, a-f)
    + l7 g5 q! u* Q3 I9 O
  1485. ;   5  (5 bits: 0-9, a-v)
    ) A5 }& [  r# Z7 o  O- |6 a$ V2 ?
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")7 z& r7 z% m: \  L6 u& `
  1487. ; Default Value: 4
    2 i% X& i7 F* s  X* m
  1488. ; Development Value: 5
    % Q0 y  z/ N  X; m* }* A
  1489. ; Production Value: 5  t$ _' Z& A* t& t# e6 k% K1 H
  1490. ; http://php.net/session.hash-bits-per-character5 O( ]4 G- O$ `. G
  1491. session.hash_bits_per_character = 5
    9 {' ^& o5 W3 |9 ^* \( a( o

  1492. ! Z1 l' ]3 [5 ^. P' r9 ~
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.9 X' ?3 W8 N& ^+ y) P# m7 `8 p
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    0 g: w& Y2 c# [* d2 K
  1495. ; add a hidden <input> field with the info which is otherwise appended
    1 p6 I: ]- x( |+ X4 S7 w) W9 E8 W
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    , V* f- j, V6 ?8 M0 O. {
  1497. ; Note that all valid entries require a "=", even if no value follows.! z' C# Q# b# j% h4 ~2 c6 a/ a
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- h2 a( E. U. \7 h1 F. X# Z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 F9 q' G' Z8 [4 C) h4 H
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% S+ Q" \# a) H9 y9 o7 |( F# d( I
  1501. ; http://php.net/url-rewriter.tags
    9 a" Z2 K5 p7 H/ J4 u
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 J9 [& V7 t' f) G! ^9 ]* o, W
  1503. . k/ h5 a: E; u) ?3 q1 t+ y/ p
  1504. ; Enable upload progress tracking in $_SESSION
    , u7 g6 U2 Y3 L' ?- l7 q
  1505. ; Default Value: On
    , P  }5 |% I% v$ d0 J0 u7 x
  1506. ; Development Value: On
    . U, Q7 d5 R' A8 `1 A
  1507. ; Production Value: On
    * F- |: f+ a- ]5 T6 L6 O, H1 t" u
  1508. ; http://php.net/session.upload-progress.enabled
    # R+ g# V9 ^6 ]$ Y
  1509. ;session.upload_progress.enabled = On4 S3 Z' ?. [' h3 L% g: i+ M

  1510. + G! C: `# {+ n" {
  1511. ; Cleanup the progress information as soon as all POST data has been read2 b# K/ ?, z) _
  1512. ; (i.e. upload completed)./ ^4 L' [0 e  c) p2 ]" B1 d5 }' x
  1513. ; Default Value: On! |3 ]/ s' k6 D3 a
  1514. ; Development Value: On
    3 ~0 X. p/ `4 ]5 S* k- k3 p) Q
  1515. ; Production Value: On
    $ P6 B1 h! h9 q8 G9 j4 U* B
  1516. ; http://php.net/session.upload-progress.cleanup  U  _# n% U* H! E3 \  ]
  1517. ;session.upload_progress.cleanup = On1 R: Q0 T% N- X8 d& q
  1518. ' j( S" W6 J# P$ f9 M$ W+ F6 F( u
  1519. ; A prefix used for the upload progress key in $_SESSION
    ) s9 r$ p4 @" `5 N( ^
  1520. ; Default Value: "upload_progress_"
    + ^8 T) M# p. W7 I8 _/ [5 ~
  1521. ; Development Value: "upload_progress_"+ r. ~% R% l. {& V. R9 i. J  ~/ \
  1522. ; Production Value: "upload_progress_": z3 S$ \. @2 [6 W$ y: j5 t4 \2 p7 s
  1523. ; http://php.net/session.upload-progress.prefix
    ) r% s  Q# x8 m' J0 q
  1524. ;session.upload_progress.prefix = "upload_progress_"6 O2 O% A) f5 F) I

  1525. 4 k/ P7 {* `6 h, t- C$ u' M
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    # F4 l5 H1 X1 m  U
  1527. ; containing the upload progress information# p/ E8 l- Z% M" F+ G% A
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS". M- F; q; ~- L8 L8 a1 A# m0 M6 U
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : r& k- x7 T7 x! \2 X3 F0 O3 w
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & O5 o9 t3 Z1 A: l
  1531. ; http://php.net/session.upload-progress.name1 d4 s1 @& }: u! A4 q; X
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"' e4 t9 D- ?* I4 s+ l

  1533. : w& S6 a4 b( F0 I
  1534. ; How frequently the upload progress should be updated.
    ' S* f. e9 ~9 L
  1535. ; Given either in percentages (per-file), or in bytes, ~8 ]. Y' q& P9 l
  1536. ; Default Value: "1%"; k7 s, R+ P1 P* Z; w  F
  1537. ; Development Value: "1%"/ d7 e* `- ^9 x0 U" q' I
  1538. ; Production Value: "1%"
    1 @" q3 i. @4 a8 O. P
  1539. ; http://php.net/session.upload-progress.freq
    7 Q' W3 f3 T" o
  1540. ;session.upload_progress.freq =  "1%"- J2 m+ V& v7 M
  1541. 4 ^. ^% S7 ~  h/ q6 B
  1542. ; The minimum delay between updates, in seconds
    . U& H% P, X, C* r; Z
  1543. ; Default Value: 1
    ! Y7 v. W6 r3 {& X/ y# M8 z
  1544. ; Development Value: 1' L% |; {' j0 F
  1545. ; Production Value: 19 q% n! W3 s/ K2 Z
  1546. ; http://php.net/session.upload-progress.min-freq# b# ], w& u' |2 P( ~0 X
  1547. ;session.upload_progress.min_freq = "1"
    ! B( E& w! A" D$ R
  1548. ' `1 w+ d5 K- |4 h
  1549. ; Only write session data when session data is changed. Enabled by default.  n, M% e$ a/ v0 c
  1550. ; http://php.net/session.lazy-write
    8 S1 s4 A4 P% e5 |: z
  1551. ;session.lazy_write = On* m0 @8 P9 Z6 ?" U  G

  1552. ) J  G8 o# \8 U% m" c; x
  1553. [Assertion]
    % f  H3 A9 x( a: O
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)/ b( c. Y) s2 D
  1555. ; -1: Do not compile at all
    & B9 S3 c; D, T, `& d/ D9 z, Z
  1556. ;  0: Jump over assertion at run-time
    & E9 F( V, U6 W1 J% B
  1557. ;  1: Execute assertions" X) N! w# u; h! u  y5 ?- f( y
  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)
    + r* P0 f+ y0 D  G. c8 S1 r, V% ]7 A
  1559. ; Default Value: 16 m. V" j1 D! l$ {, D: L
  1560. ; Development Value: 1# L& E7 H9 R4 F4 g7 O
  1561. ; Production Value: -1
    ! }, ]2 i( B2 B( a
  1562. ; http://php.net/zend.assertions
    & i: }( Z& A+ T3 |6 D$ L; Y
  1563. zend.assertions = -11 J- H; n: M% q! [

  1564. 3 L" ]2 r" s- d. a
  1565. ; Assert(expr); active by default.
    % ~9 V. b$ a, z6 S$ t
  1566. ; http://php.net/assert.active
    % L" Z. S6 X+ ~7 O3 |
  1567. ;assert.active = On+ o# f- o/ d& e! N

  1568. 1 ~' d! d. G6 X5 ^# D' S: }
  1569. ; Throw an AssertationException on failed assertions
    0 f2 g$ n* q: i9 F4 r" f( a* H
  1570. ; http://php.net/assert.exception
    ! p$ c( D9 N9 S6 G" V7 M1 ?
  1571. ;assert.exception = On
    6 H5 L& O% l" P* i6 [- z; x
  1572. 9 N. l6 B1 [8 P! n0 F( s, L* B
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    : B" ^+ z9 D2 d7 m* O+ i/ I# w5 q% n
  1574. ; http://php.net/assert.warning0 b  Z/ z/ T' X; n" u+ d+ P
  1575. ;assert.warning = On
    ( r! B; p) p7 [5 r; C/ q

  1576. 1 f) d; f8 D* i) t% |% D
  1577. ; Don't bail out by default.
    . e/ h$ Z" }/ P0 G+ x
  1578. ; http://php.net/assert.bail
    , b! P. Y- K7 S9 d% z, `
  1579. ;assert.bail = Off
    1 ^& ^: B& f: o/ {$ C8 F

  1580. : Y0 o, Y% e* K
  1581. ; User-function to be called if an assertion fails.
    + f) N+ G: h" u
  1582. ; http://php.net/assert.callback) k' _# m3 |' u5 H8 U# ]4 Y
  1583. ;assert.callback = 0
    5 h, c, |& C( V' S. _
  1584. ! c6 c* R3 O3 P3 W4 D( j5 B% F, M# R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want' O1 X1 {7 q. r1 n; b
  1586. ; error_reporting(0) around the eval().
    * Z* I; S1 [- E& l
  1587. ; http://php.net/assert.quiet-eval
    ; Z8 O4 W$ X3 L) \+ V5 Z
  1588. ;assert.quiet_eval = 09 W5 S0 R& e% ]  n2 X! z
  1589. & C/ h# T! q! D# r) s7 V' n) K5 T, T
  1590. [COM]" _" e7 p% I, Y4 i
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs5 c0 Q- a. N9 B' `9 ^# y, s! X+ u
  1592. ; http://php.net/com.typelib-file& u* y! r" S7 r4 X5 b
  1593. ;com.typelib_file =: p) m% u! C. ~, I# i# o5 B1 Z
  1594. 0 s+ b3 b; z' Y8 F* ^9 j- F
  1595. ; allow Distributed-COM calls% \; p. _+ e  c0 }; l. d. p
  1596. ; http://php.net/com.allow-dcom
    % m. W" Y9 w8 ^, C2 l3 g$ M
  1597. ;com.allow_dcom = true/ E# ^' u$ ^4 X

  1598. ; H) G) e) `% G
  1599. ; autoregister constants of a components typlib on com_load(); F8 r- F; ^* s, L0 R2 N3 M/ C' f
  1600. ; http://php.net/com.autoregister-typelib# `( G; f2 \  i2 A! |. q* L% S0 e
  1601. ;com.autoregister_typelib = true
    * B+ S$ ]% |; P' m, W& Z
  1602. & l4 j& g" W: d6 r2 A' A1 p
  1603. ; register constants casesensitive
    0 d: S, w0 E" P
  1604. ; http://php.net/com.autoregister-casesensitive' R4 M1 G# O0 C% M$ X
  1605. ;com.autoregister_casesensitive = false
    2 U+ p8 y9 D# b$ w  Y) Y' h5 ^
  1606. / R$ Y& l+ ~8 V! a2 _& U. z
  1607. ; show warnings on duplicate constant registrations/ y2 j3 m6 ^, N6 `/ ]: D
  1608. ; http://php.net/com.autoregister-verbose
    3 v* P" `! G7 b& V& v
  1609. ;com.autoregister_verbose = true
    , b4 b. l7 F2 h  ]' m* k2 y3 Y% ]
  1610. ; I, a1 `8 m1 W$ W. m$ y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.3 j( D6 `* n' b' t9 ~
  1612. ; Default: system ANSI code page
    - ^7 ^# i9 z8 e- T: k# h) M! q0 A! U
  1613. ;com.code_page=
    . R" K8 k3 v2 i( d- f' e) H6 g
  1614. 3 T9 a( b0 J8 W
  1615. [mbstring]! w  \  F5 X$ v" q* C0 o
  1616. ; language for internal character representation.! u$ L9 o9 s7 F( {: }2 B8 h; Y
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    2 W& m# U' m' v! A: W% \5 K* ?8 a
  1618. ; http://php.net/mbstring.language5 D0 l1 I2 g7 m4 d6 h/ r& J) p0 c5 ^
  1619. ;mbstring.language = Japanese' E  ^7 e: r2 w& q; L
  1620. # L" j2 n5 f' E1 ~2 M
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + p2 q1 L1 n9 B1 d: n5 X
  1622. ; internal/script encoding.
    * J7 d5 j8 P# |, \
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    0 ~% D, @7 a0 y$ h
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : Z' f$ @/ U' C5 c+ M; S
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; l; f9 G* x4 A# E) y4 I
  1626. ;mbstring.internal_encoding =2 x2 R5 M8 U2 E  z5 E

  1627. + g! Y! J# l. W6 b
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * `: T: U5 a+ _. l) ]. |
  1629. ; http input encoding.
    + e; @4 y5 r$ [9 Q# S$ E: z5 u
  1630. ; mbstring.encoding_traslation = On is needed to use this setting." q# \4 J3 h  E; r  {
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.; a8 Z) i' X4 \5 N- H
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    & ?+ t  G3 g' Y( T. }5 G+ c' e
  1633. ; http://php.net/mbstring.http-input4 y( \+ @% l3 O
  1634. ;mbstring.http_input =
    - k+ b# I3 \/ N- d

  1635. % c4 c+ C0 s9 t! T- m, {
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.7 r% t* f6 e4 w
  1637. ; http output encoding.- t# V% Y; v1 F
  1638. ; mb_output_handler must be registered as output buffer to function.
    * ?" o0 I; D& T# s( a3 g
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 D* C0 ~* R" y% ?% W5 F9 O4 \
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    6 W: Y3 X4 l8 o! Z. D: L2 }
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ) r" V6 C; h+ g$ {
  1642. ; otherwise output encoding conversion cannot be performed.( Y; |$ f8 [# J/ o! w6 [" b9 Q
  1643. ; http://php.net/mbstring.http-output$ G. @% _/ W2 V( E4 S) F, ^
  1644. ;mbstring.http_output =; a: A) @9 \7 {. a
  1645. " x) _: G5 v; @. d2 b
  1646. ; enable automatic encoding translation according to
    0 p+ f2 o2 U) M+ c3 l8 B
  1647. ; mbstring.internal_encoding setting. Input chars are+ E  f. ^( W. t4 }( x9 j  B; X9 V
  1648. ; converted to internal encoding by setting this to On.
    ' O; x1 {/ H* y8 L5 g1 Q
  1649. ; Note: Do _not_ use automatic encoding translation for: Q& o2 [, b) s
  1650. ;       portable libs/applications.
    , O) D' |1 t; U6 ~5 ~
  1651. ; http://php.net/mbstring.encoding-translation: k9 a0 T) ?2 r. P1 X
  1652. ;mbstring.encoding_translation = Off
    ! s+ L& ]+ a3 ?0 j0 f) }2 c
  1653.   p. T' }. m. R8 J' {/ V/ W
  1654. ; automatic encoding detection order./ m, M+ f( A' J
  1655. ; "auto" detect order is changed according to mbstring.language9 U9 [6 k& c1 {# ^+ N, r2 f. S
  1656. ; http://php.net/mbstring.detect-order
    2 k% D. c* j3 P: ^. p' G, K$ i/ W
  1657. ;mbstring.detect_order = auto
    4 J5 u4 u# \1 r/ R# j; n
  1658. ' _) O  v9 {+ x. f3 _% _* d
  1659. ; substitute_character used when character cannot be converted
    3 u7 l; e8 R- n/ O/ K
  1660. ; one from another4 E$ i4 w' ?. c% C, v% y  V: _
  1661. ; http://php.net/mbstring.substitute-character
    * d" b) P+ M: d
  1662. ;mbstring.substitute_character = none
    # F4 S" h8 H% n/ J' x- [

  1663. 7 P9 N! ~# U& H1 O2 Y. H
  1664. ; overload(replace) single byte functions by mbstring functions.
    0 W# L7 q# @! V
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( a5 u) e  [. I# z7 j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % F7 a2 j& J( @6 k" |
  1667. ; For example, 7 for overload everything.
    / n( h, }  g/ Y% {0 I( R
  1668. ; 0: No overload
    1 ]! `/ O9 ~. i$ L+ I6 P
  1669. ; 1: Overload mail() function  F) _$ V; m: _  e
  1670. ; 2: Overload str*() functions
    - D6 H' ~' `9 E% N- K% s& T* ^
  1671. ; 4: Overload ereg*() functions
    7 I+ M. G+ m0 X2 A# X
  1672. ; http://php.net/mbstring.func-overload
    7 E5 M" @% X8 e/ V, L$ w  T. C1 j
  1673. ;mbstring.func_overload = 00 ~- B- }1 S7 V2 m1 k9 x2 ]6 ~8 G* {

  1674. ( y4 g" f* M, p4 i, m
  1675. ; enable strict encoding detection.
    * Z5 T) @  a: c5 g5 g
  1676. ; Default: Off
    * p/ D' I" B# v( }& B2 }( F: D& P
  1677. ;mbstring.strict_detection = On& F- D2 [+ _6 m1 X3 `, }

  1678. % Z, m- u" z' `& b# V
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 H7 d9 S1 s4 w2 l4 z  X
  1680. ; is activated.* H; d( i/ a2 G, i
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 X0 s7 U7 Z+ l* w
  1682. ;mbstring.http_output_conv_mimetype=) z6 c6 s$ ^9 |. N
  1683. - ]9 H7 O( k# l
  1684. [gd]# s7 Y! Q. t: b
  1685. ; Tell the jpeg decode to ignore warnings and try to create' G. O) \! `; T9 V# m" p
  1686. ; a gd image. The warning will then be displayed as notices5 s: ?* o2 J2 R& Q- k4 z
  1687. ; disabled by default2 W# X. G7 a. g# u' \
  1688. ; http://php.net/gd.jpeg-ignore-warning6 {* z1 l3 N* G4 ~. |1 T7 ?
  1689. ;gd.jpeg_ignore_warning = 0  K# l: o. F+ ?
  1690. 1 M2 S; F, R% T: z( i  o
  1691. [exif]+ r8 H2 [; `8 F$ E' S8 @
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' R* i( q8 k8 Z7 Y5 R0 S1 P+ a& K
  1693. ; With mbstring support this will automatically be converted into the encoding
    - q: I& D) x. S. M& i
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding  [- ~8 h( E- [1 C7 n
  1695. ; is used. For the decode settings you can distinguish between motorola and
    3 F% W6 ?8 w1 F* F; T+ g. d
  1696. ; intel byte order. A decode setting cannot be empty.4 J# m6 F  O# l
  1697. ; http://php.net/exif.encode-unicode/ T4 W+ Q- s8 A8 I+ Q/ `. e: E- o' w
  1698. ;exif.encode_unicode = ISO-8859-15
    9 M4 x; A: x! n' c' P; u
  1699. ) A' T- Q, L$ K7 y3 c6 M$ i! V- ^
  1700. ; http://php.net/exif.decode-unicode-motorola: c3 _+ @3 }1 e4 z  w- y# H
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    & B; q" j* z/ v+ m1 G
  1702. ; [' W" {: G  \0 Y* b! ?5 N& ?
  1703. ; http://php.net/exif.decode-unicode-intel
    : R. U, T3 X# V7 K
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    + ~% g7 G/ J& Q' S# d
  1705. % ^' r9 P) h) k: H3 m4 X
  1706. ; http://php.net/exif.encode-jis
    0 z/ Y2 L; d- Y0 }' e) c& C
  1707. ;exif.encode_jis =5 ?4 _$ ~+ ]/ g2 ^$ r! O

  1708. % Z. `) Z, I; t# p
  1709. ; http://php.net/exif.decode-jis-motorola
    . h5 n) i  [* G
  1710. ;exif.decode_jis_motorola = JIS7 J% p2 L5 @8 q6 m% |$ B

  1711. 1 `( B$ s7 L+ t6 [/ N
  1712. ; http://php.net/exif.decode-jis-intel
    % w$ j, v$ Z2 N7 Z3 [
  1713. ;exif.decode_jis_intel    = JIS
    4 {0 V; }0 p. u) g, l
  1714. / t! V9 y& z* N: ~" t; ~
  1715. [Tidy]$ ?6 @7 [7 Z& r: [. Y% Z
  1716. ; The path to a default tidy configuration file to use when using tidy* R4 H/ \; g' d; R; x3 T1 X
  1717. ; http://php.net/tidy.default-config
    + b, f/ H+ X: D# O2 N) w' |+ E6 h
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    * [" r; c* v  D4 y3 q4 x. T* `

  1719. : Z' F) ^' O/ e( n
  1720. ; Should tidy clean and repair output automatically?
    * L2 i' _# B+ }1 f4 U# D
  1721. ; WARNING: Do not use this option if you are generating non-html content/ X; L( S5 X) T
  1722. ; such as dynamic images4 b" I$ ?4 N8 ~( Y8 S8 x* R& V
  1723. ; http://php.net/tidy.clean-output, ]3 [( n. P9 I: [* e
  1724. tidy.clean_output = Off
    : Y# d9 M/ |: `4 S  y1 @+ ^

  1725. ! u7 d2 p6 |$ c0 t' s8 ]
  1726. [soap]1 x5 `- M& k5 ~/ r( Z9 v
  1727. ; Enables or disables WSDL caching feature.; h; K6 k4 b  }9 s
  1728. ; http://php.net/soap.wsdl-cache-enabled# V4 `% p2 N+ O# P; [) N- D) {2 o
  1729. soap.wsdl_cache_enabled=1
    & [- t4 X% E4 U3 |. c

  1730. # \% P1 _+ K3 X& d: P3 k+ k
  1731. ; Sets the directory name where SOAP extension will put cache files.% H0 _% d* a. V9 {
  1732. ; http://php.net/soap.wsdl-cache-dir
    0 ?" c" f0 ?. A
  1733. soap.wsdl_cache_dir="/tmp"' w9 t* c, E' [- H3 d9 w& h
  1734. ( I& J; l* A; q% a2 I
  1735. ; (time to live) Sets the number of second while cached file will be used2 @% q6 {  e( z& D8 J3 u
  1736. ; instead of original one.
    , I/ z9 K& _  I$ m! L7 c
  1737. ; http://php.net/soap.wsdl-cache-ttl& V" X5 S# x+ M9 e; K+ _
  1738. soap.wsdl_cache_ttl=86400
    : t* E4 Y4 J/ S& ?
  1739. ' s* E1 f$ ]0 Z' g6 C6 q
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& Q6 e% }' y9 {; I3 ^
  1741. soap.wsdl_cache_limit = 5
    # B7 ]- l+ ~, F) P
  1742. . x/ W! V+ U5 f# ?/ \
  1743. [sysvshm]4 T* M/ J4 p! H! V  e$ B
  1744. ; A default size of the shared memory segment- k5 o. U6 C3 d; |: m: [7 ~
  1745. ;sysvshm.init_mem = 10000( q+ M; N* d. }& L  K+ O) }
  1746. 0 }# a3 b1 B6 q  W
  1747. [ldap]  r$ c  l( E7 f& T+ {) M  ?$ d
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    & ?& Y, e. }! A
  1749. ldap.max_links = -13 {0 S8 I- N: j

  1750. / q+ A7 I$ A% G+ ~
  1751. [mcrypt]& k1 X6 N( a5 J# ^: M6 g
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open- D% e$ l3 F' N& Z2 h
  1753. . l2 l( w  }" F# f
  1754. ; Directory where to load mcrypt algorithms
    ' [# |# o! i  M
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ X% C5 @2 C& h) r! b1 ?
  1756. ;mcrypt.algorithms_dir=
    ! {1 ~/ d6 V/ q  a
  1757. 2 l8 c1 m8 P% s2 O3 P
  1758. ; Directory where to load mcrypt modes/ e, e) l* b/ p7 C( e) X. x7 \0 @' |
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): v* ~9 p5 `5 e# x) m
  1760. ;mcrypt.modes_dir=
    5 W9 e+ m! z* u- I

  1761. 9 D' ]3 ^: ?1 ~* W# S$ P
  1762. [dba]4 |1 P/ y3 W6 P8 D$ }
  1763. ;dba.default_handler=
    $ f+ s) h7 I: A
  1764. % W! o3 `( X# j6 ]
  1765. [opcache]
    # u  @) H% g6 I5 t
  1766. ; Determines if Zend OPCache is enabled$ g  K% a  I2 ]+ V
  1767. ;opcache.enable=0+ i# H" c  a! X0 t, G' O' h
  1768. . O* [2 l# M! Y. B  M
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP1 P0 U0 H0 y+ `+ ^, \2 ^1 Z3 b
  1770. ;opcache.enable_cli=01 H" \3 U* b/ O6 z( u

  1771. 2 E& _' e& U5 m, T4 a# y/ s9 `
  1772. ; The OPcache shared memory storage size.
    1 N2 x6 B' c+ c. y% }2 o) G3 W
  1773. ;opcache.memory_consumption=64
    , _* H8 y. i( F. z; Z, S

  1774. , W; H/ ?# j$ R, s2 W  a
  1775. ; The amount of memory for interned strings in Mbytes.
    5 I5 G$ k1 l& D! S4 C0 o
  1776. ;opcache.interned_strings_buffer=4! F  r) F( L5 Y  Z/ x5 W  B
  1777. ( d- k4 \' Z2 }) B8 u# S
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 F+ [! N; ]5 v5 H+ h& a
  1779. ; Only numbers between 200 and 1000000 are allowed.  q9 f7 D) ~2 A3 Z# M3 V# o
  1780. ;opcache.max_accelerated_files=20009 y3 z; R8 b' |9 `, x
  1781. 8 f, l* x- x( t6 {- c8 f
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.8 H. B5 k. }: D  n6 w
  1783. ;opcache.max_wasted_percentage=5* S! N0 |1 m- r3 G9 |$ D

  1784. . q/ v- b0 f9 P+ g  L
  1785. ; When this directive is enabled, the OPcache appends the current working! U$ B) e# e) w+ x! G: ~  q% L
  1786. ; directory to the script key, thus eliminating possible collisions between
    / r- V* P$ v# _/ J6 h
  1787. ; files with the same name (basename). Disabling the directive improves5 i0 @7 j# Z7 L7 s
  1788. ; performance, but may break existing applications.8 r! v9 |+ l& k8 a( a+ w! l
  1789. ;opcache.use_cwd=1) o& P/ R3 y, w/ a3 y3 M* [
  1790. # ]; T. D# b  X3 {
  1791. ; When disabled, you must reset the OPcache manually or restart the
    9 S9 _, }: m0 L& z6 Y1 R  a8 V3 m+ ]- G
  1792. ; webserver for changes to the filesystem to take effect.
    ) n  D8 \9 e7 M
  1793. ;opcache.validate_timestamps=12 ]+ \. b2 t# N. v4 B. P7 ~  G  b$ B

  1794. . s: q! B4 {2 x/ v. ]9 k- i8 F
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ! ^3 \$ k; e$ h# l7 \  ^
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    5 A/ k8 G3 v/ J3 |7 u7 ^
  1797. ; once per request. "0" means always validate)
    5 C- }2 |7 l' Q! l0 D
  1798. ;opcache.revalidate_freq=2
    + p% K4 \, P- v7 a( K# G1 y

  1799. ' P, p3 |  K1 M% W
  1800. ; Enables or disables file search in include_path optimization
    7 K. Y( e7 `+ `' D+ w8 X! D
  1801. ;opcache.revalidate_path=0( X' h: n) E( a+ t4 g! U& O' N
  1802.   H6 V9 ~8 k7 u0 I4 N1 C
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 y: F4 @) Q1 B" ~* m; @4 [& c
  1804. ; size of the optimized code.
    : X; L6 W8 d8 [  Z& x# @0 F
  1805. ;opcache.save_comments=1
    - B; S( v! I0 R6 v+ Z
  1806. 2 A: E' C" g& S0 Y: e
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ; P+ l* S  l! a
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.) }# S5 a+ z: S( E
  1809. ;opcache.fast_shutdown=0
    3 a  x% b2 n. Q; r5 Z) H" z0 O" r

  1810. 4 s0 ?. w$ |. l; L4 N
  1811. ; Allow file existence override (file_exists, etc.) performance feature.$ I2 F& w0 _8 F8 f2 g! `3 h# Q
  1812. ;opcache.enable_file_override=0  W" b4 b+ i" {% B
  1813. 8 H5 _8 M6 B; u: @6 K8 v) w
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! L8 ]/ K( R% @* t& E. b5 u* p
  1815. ; passes- c3 l9 A6 Z/ X/ R
  1816. ;opcache.optimization_level=0xffffffff
    8 n, n* f- X6 v) p/ b  b& r

  1817. 6 x5 Y( a7 H( ?* E5 x
  1818. ;opcache.inherited_hack=1/ ~2 x6 ?7 ]5 ]
  1819. ;opcache.dups_fix=0
    1 z' j) H# x5 B* e9 g8 ?2 I3 R7 m/ |

  1820. ( }$ F9 j/ _8 _, C, Y! i# d
  1821. ; The location of the OPcache blacklist file (wildcards allowed).9 {. c! l. `& q' [9 I8 n& k
  1822. ; Each OPcache blacklist file is a text file that holds the names of files+ B; H; p9 @6 g0 D) ], [' @
  1823. ; that should not be accelerated. The file format is to add each filename
    : ]7 y' B0 J% ~1 [8 q
  1824. ; to a new line. The filename may be a full path or just a file prefix! }8 z' k& q2 c0 y
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www+ C5 h9 ?) l6 o9 t1 ~
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( O5 ?& |: z8 Y; A
  1827. ;opcache.blacklist_filename=8 j# }* z2 D5 n* H
  1828. ' e' a' E0 K  v) G4 R
  1829. ; Allows exclusion of large files from being cached. By default all files; b" W1 ]$ L+ V6 O
  1830. ; are cached.
    , @1 [$ q/ `$ K, T/ g( {% @/ q
  1831. ;opcache.max_file_size=0: ?! e2 `& `0 W  a
  1832. 3 ~# ~% d& S2 [3 U
  1833. ; Check the cache checksum each N requests.
    8 [( Z5 R. }; @3 T  i
  1834. ; The default value of "0" means that the checks are disabled.4 [4 \% t; K1 ^3 j6 r7 `  u
  1835. ;opcache.consistency_checks=0
    ! o7 @2 g! r- |1 p
  1836. ! P% V$ W0 x0 U# [5 y/ g
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) i" B) G4 f6 G2 f
  1838. ; is not being accessed.
    0 Y" z+ w0 M. P
  1839. ;opcache.force_restart_timeout=180
    3 n0 K. Y+ d0 {* C
  1840. 9 r; C9 [7 b8 U0 y
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
      s5 Z. d" h9 B% _) U
  1842. ;opcache.error_log=6 H4 G$ T. n2 f/ j
  1843. . e! z1 D; s+ ]- F: P
  1844. ; All OPcache errors go to the Web server log.1 {* m% w: Z3 D+ e0 Z# ~4 D
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' O1 @; m# p, k5 O  S) b
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    . p4 ?3 X: J" d! Z: Y
  1847. ; debug messages (level 4).* _+ w- ^  d. t" i# N4 y# E# D
  1848. ;opcache.log_verbosity_level=1
    ) A) i. L8 ^- k2 t& y
  1849. " R# T* d3 F" D7 \: ~. Q
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    9 X) z/ {% x2 P- S1 i7 M2 j8 P
  1851. ;opcache.preferred_memory_model=7 A+ s+ }/ P8 y+ z

  1852. . X& X8 z, U! ^
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ( |6 n% Z2 q! y; ~; `! N1 X6 B9 H
  1854. ; Useful for internal debugging only.( C* f4 s& V/ d  x* ^+ }( e6 ~5 f
  1855. ;opcache.protect_memory=0
    & p- ^/ B# y4 G  }9 z1 T( S

  1856. * V# K/ r7 ?: H1 ~8 ?
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ! k; |1 u) b7 w; }* ]% r* i: e
  1858. ; started from specified string. The default "" means no restriction$ T2 U$ x( E( _, H9 P
  1859. ;opcache.restrict_api=$ H# z2 q. [$ v5 Y
  1860. / Z( \/ A+ M; ?' p( d
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ( i; o+ Y  z+ S& b& z
  1862. ; processes have to map shared memory into the same address space. This' R3 O: `1 p# c3 `( G7 ~8 M
  1863. ; directive allows to manually fix the "Unable to reattach to base address"6 s" B4 G6 W( x) |% k' P7 b
  1864. ; errors.
    : F) V) x$ t. f" o1 j+ s. W  e
  1865. ;opcache.mmap_base=
    6 m$ b* [: a) k9 F9 ~- w& M
  1866. $ Z8 L3 |+ I, y9 V
  1867. ; Enables and sets the second level cache directory.
    3 U- W3 f( N) u+ m
  1868. ; It should improve performance when SHM memory is full, at server restart or3 X  L' q1 Y8 h
  1869. ; SHM reset. The default "" disables file based caching.. q& M9 L2 h6 I1 O6 c8 S0 [
  1870. ;opcache.file_cache=
      O) K4 g+ ^" k$ V+ \+ s
  1871. : f! c% B# u' D' ]9 `; z4 x
  1872. ; Enables or disables opcode caching in shared memory.9 Y& p3 B: }( w6 r; @  G
  1873. ;opcache.file_cache_only=0  n# M* ^/ \( s4 o" j
  1874. # Q, l; U" Z, m4 z
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    1 p- }7 g% L; f+ g
  1876. ;opcache.file_cache_consistency_checks=11 Y; D! s/ a( i6 W& c' G1 @% K% K, ~

  1877. ) f  R  f$ x0 X7 x' z4 s
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to7 T* G1 l& K0 @5 X8 O  G, J
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
      W% e/ c8 _1 D( }, h! C2 q/ H
  1880. ; cache is required., t# ^7 U! A9 I4 l0 K1 W. J
  1881. ;opcache.file_cache_fallback=15 g# W5 A3 G- S: a

  1882. 0 p+ t( R5 Z5 z, f/ U
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.: f! c6 t% y& A+ N
  1884. ; This should improve performance, but requires appropriate OS configuration.( M6 Z% D6 B5 a8 B
  1885. ;opcache.huge_code_pages=1# Z$ c. K5 v$ d: W
  1886. 2 p- |# A$ n: R0 K# Z
  1887. ; Validate cached file permissions.  }8 v  L7 G" M7 R  I: N- S
  1888. ; opcache.validate_permission=0
    5 v5 q2 J+ F/ p9 w3 k
  1889. . n: Y6 y9 p" x8 Y$ V0 X
  1890. ; Prevent name collisions in chroot'ed environment.
    1 z! ^3 _: U8 g. a# c& @0 v, j
  1891. ; opcache.validate_root=09 a; _7 ?2 A/ v+ D; c( {
  1892. 0 i% a. \7 b0 g- x( c, i$ A$ u
  1893. [curl], V. y/ w1 H- I
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an- W" t. R& H1 T, z
  1895. ; absolute path.
    , z0 ~8 f8 b4 P1 i; R" n
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% x0 ], c5 q+ I+ v3 M* Z1 d
  1897.   B: O3 l* Z, a- ?7 {2 o  d7 Q
  1898. [openssl]
    : `/ F" G) h% A' u) O; Q; ^6 i, U
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem' R- a! N: J9 g! x
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should9 }8 g6 Z7 r6 W# d9 g
  1901. ; not specify a value for this directive as PHP will attempt to use the4 y) m2 V% j5 y
  1902. ; OS-managed cert stores in its absence. If specified, this value may still/ d5 X) J9 e2 @7 B- e5 i
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    + w# K+ H) p, s. n2 T* z, s
  1904. ; option.6 `; ~# S8 X4 t- v
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt$ @" Y4 T0 g, \& o
  1906. 9 q: a0 I) c( n. n* ?3 }7 ^
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ( h( k" f4 ]/ ]9 R+ S
  1908. ; directory pointed to by openssl.capath is searched for a suitable  }8 u% \1 D8 ]' A. J4 W
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ) {4 v0 \7 F+ B- K% b. V; c  U. |$ R
  1910. ; Most users should not specify a value for this directive as PHP will7 r- e% _% m6 u7 q- \3 X* P* |
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    2 z7 p$ D0 Y1 D
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
      R  F) I0 m3 }/ d- j
  1913. ; SSL stream context option.
    + r$ G: v5 L6 L$ w1 U- g" a
  1914. ;openssl.capath=4 T; z  H7 M5 e1 o7 F+ j8 I) D
  1915. : a, i" K6 g8 E8 ~
  1916. ; Local Variables:
    ) x6 j# y  Y- Y7 {- ^3 @
  1917. ; tab-width: 4
    , G# y- {! r/ E3 ~, ^1 Z
  1918. ; End:
    - X5 J! U' p; T% p. b- [

  1919. ) b, Q3 y+ D/ J) h6 P) Q" I- x
  1920. ;eaccelerator& z* R0 C. `  M( ]* F6 P$ H
  1921. ! i8 C, `4 I: A
  1922. ;ionCube
    8 _7 [( F0 s) Q( l8 e. K
  1923. " B- f3 j* _* S# V- K
  1924. ;opcache, e* S) ]8 i$ M* w' x2 r; K1 S
  1925. 2 ~% ~1 |# x7 Y5 l" R0 F
  1926. [Zend ZendGuard Loader]
    5 i! G0 ^, ~' }0 A" m
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
      D$ h4 f) x: L; M
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so: O1 b$ W, e7 S& O& }& ?) L& S
  1929. ;zend_loader.enable=1
    3 C7 X9 N$ J0 P# W3 |
  1930. ;zend_loader.disable_licensing=0. ^4 \6 \4 U  p4 f9 M
  1931. ;zend_loader.obfuscation_level_support=37 |% v1 m+ Y* ^  q4 o8 W+ D
  1932. ;zend_loader.license_path=+ o. R6 j5 U3 I8 M: {/ g
  1933. - D7 z# r* r  {
  1934. ;xcache8 c( G' H) a- `1 G
  1935. * n! }1 x' R  y/ E+ C
复制代码

8 j2 c4 o- `" l4 ~0 y! \& ~
3 ~9 A; ^- K1 d: ?) O+ W) C4 K0 f: m5 g2 [; Z

% Z) p- @; D9 H9 i# q
% s% i4 R9 G5 P4 b$ G
  w) r  f  I+ E' M& U; V- E4 C8 J) ^  w" @# e
PHP5.6版本原始设置
; I* M  \; w* a. P% ]( N) t, i0 |; [0 e) J, J& y* @' Z
  1. [PHP]5 y/ `" N/ L8 U/ X! ~

  2. $ h6 |/ }8 j2 p
  3. ;;;;;;;;;;;;;;;;;;;
    ! v4 a* c6 p4 r/ y4 k, I3 K
  4. ; About php.ini   ;
    4 N# W# V3 l! {( ^0 x6 f
  5. ;;;;;;;;;;;;;;;;;;;
    2 k$ V  v6 ^8 x5 s. S; z7 b5 D
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : l8 H& P; w. z' d
  7. ; configuring many of the aspects of PHP's behavior.
    6 S/ G: b; E. Q0 V( S8 `
  8. 8 E7 U8 U/ d& r. O* h0 f4 u
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * i' w' @( O) l5 P
  10. ; The following is a summary of its search order:! J: {# \( z' e
  11. ; 1. SAPI module specific location.
    ( u# f$ j! `: K2 N3 d9 P/ P. A
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)1 v, O$ ?# U$ B/ E6 U9 Z6 A
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ! R0 w; Y5 ^5 N* R- A: T
  14. ; 4. Current working directory (except CLI)# j' f: J  l4 R; n5 u0 d; a$ |
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; g$ a& v% x/ o" C; [! v1 c
  16. ; (otherwise in Windows)5 p6 \( c" S' B
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    + R9 s- s1 W3 R$ H$ M$ |
  18. ; Windows directory (C:\windows or C:\winnt)
    0 k& ^' ~' \) a% d
  19. ; See the PHP docs for more specific information.
    ; B; n% l9 X0 ^) ~( \
  20. ; http://php.net/configuration.file
    5 B+ S- L* C  d6 R

  21. 3 @. [/ m/ W3 [3 F* d# [
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    : h; }# ?! i+ }5 c6 @5 b& k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).) p- }* I! s7 I7 e9 x( U
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    $ V  U5 O; w/ u8 \
  25. ; they might mean something in the future.
    7 P! D- A4 q- V

  26. ( H6 [9 l/ |# k8 j
  27. ; Directives following the section heading [PATH=/www/mysite] only: y4 r. s6 g7 z
  28. ; apply to PHP files in the /www/mysite directory.  Directives# z8 C( l, w8 f  u. O; `3 j
  29. ; following the section heading [HOST=www.example.com] only apply to
    . P# \) k# f6 G8 p
  30. ; PHP files served from www.example.com.  Directives set in these
    3 j2 I) \, ?7 X5 F5 z. \- p
  31. ; special sections cannot be overridden by user-defined INI files or0 P/ O# \( u( e; R) Q  J0 e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% i  y; `: ^* A3 f& F1 i1 S
  33. ; CGI/FastCGI.9 F9 T* X1 G0 ?3 }3 I
  34. ; http://php.net/ini.sections6 C' m: g$ a5 |6 [' a( @8 f! {
  35. * |1 f9 C' h, i: G3 w5 @. X: m
  36. ; Directives are specified using the following syntax:
    . A0 b2 S" h: P) t( x, G  L7 P
  37. ; directive = value! m" P; [! @; x9 i
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.7 {+ F# b/ q/ b. S
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : e. j9 g/ n5 C& d! j" \+ I
  40. ; There is no name validation.  If PHP can't find an expected
    % z/ I# m1 r8 D4 c- h* a
  41. ; directive because it is not set or is mistyped, a default value will be used.
    & j6 ]% {9 T/ [0 H/ V+ S
  42. $ [; i2 T1 k" n" T
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    + M5 v9 t5 ]$ H  }4 F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    / i6 x+ y; e  P& a1 a
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a8 a7 Q# m1 u6 J$ y5 c8 D9 }
  46. ; previously set variable or directive (e.g. ${foo})
    * f4 T9 n! w2 i. f, ]) o3 ]
  47. ) y0 J% a6 M) A
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:9 ^" i: I  R7 Y; m) N1 S
  49. ; |  bitwise OR! m" a& g! O$ L& A% J
  50. ; ^  bitwise XOR4 h6 d! H3 g4 @& Y1 @
  51. ; &  bitwise AND3 b. W7 ^* a1 o' ]% P) R, p- v
  52. ; ~  bitwise NOT$ B) A3 [6 h6 l+ X
  53. ; !  boolean NOT
    : [, R7 u) {% N! e

  54. ' L0 S: g- m! r$ _4 p( T
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.5 G4 W/ g8 e/ l- q
  56. ; They can be turned off using the values 0, Off, False or No.4 Z# B( V  h- a0 ~% M, m3 Z* {
  57. 5 }$ ]9 k  J% \4 H/ e6 \4 c0 [. e1 B3 F5 g" d
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ' ^5 `" S6 n$ [' U! I  @, a* s- x
  59. ; sign, or by using the None keyword:. a: c( {9 C; l# d' B
  60. ) u( n7 u) t- @0 a, T  u1 d- s+ r
  61. ;  foo =         ; sets foo to an empty string
    # G+ G% |/ O+ ]# {
  62. ;  foo = None    ; sets foo to an empty string$ d$ O2 v- w1 U/ L) D
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ( A& d. R& M( @# ?+ [1 @9 g

  64. " a% y2 z2 z. |# z3 e7 `8 `5 o" H
  65. ; If you use constants in your value, and these constants belong to a' |$ J+ k) X8 h8 g( S+ _; C" ?* U
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 E1 [7 ?8 L4 m& k7 _- C. \0 I9 ~
  67. ; you may only use these constants *after* the line that loads the extension.
    , }$ ?7 N) Z2 ^% K  ]4 }$ O
  68. & Z/ |' f7 B, R# P# k
  69. ;;;;;;;;;;;;;;;;;;;0 {2 @* ~, o& X  i* a' _& ^
  70. ; About this file ;
    ( @9 [& e: Y( _: r$ c
  71. ;;;;;;;;;;;;;;;;;;;
    : j% ^( }8 |& H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used. D7 j  `/ {' ]
  73. ; in production environments and one that is recommended to be used in
    9 z$ N0 K( D: u. X( _  A
  74. ; development environments./ e, V4 E) q4 M0 v5 P. c# l
  75. 4 r# Q! r6 x1 k& R$ Y
  76. ; php.ini-production contains settings which hold security, performance and
    ( s$ P) b' I/ W
  77. ; best practices at its core. But please be aware, these settings may break. P6 q: ?+ o8 h: l
  78. ; compatibility with older or less security conscience applications. We
    8 e6 `$ d5 b) ?" u/ \2 |: z
  79. ; recommending using the production ini in production and testing environments.4 u" j, T: a% k1 D0 n' ~  u, A
  80. ' D+ D4 ?' @9 H6 e* h
  81. ; php.ini-development is very similar to its production variant, except it is9 R5 p# d: w4 D8 M
  82. ; much more verbose when it comes to errors. We recommend using the- P; s9 }% A" g' F) K) X8 j
  83. ; development version only in development environments, as errors shown to
    ( s  C1 k6 v* E! [9 A% `$ E
  84. ; application users can inadvertently leak otherwise secure information.$ o7 A& w: G5 Z9 o

  85. ( \9 I1 t# \& ?$ o& {4 Z% m2 j7 ~
  86. ; This is php.ini-production INI file.
    9 \5 _! d% [, y1 D8 A" n

  87. ) y7 S; T0 v; c
  88. ;;;;;;;;;;;;;;;;;;;
    & |) C9 m$ f9 |1 M
  89. ; Quick Reference ;( M8 S. I/ L8 p1 `1 [' g
  90. ;;;;;;;;;;;;;;;;;;;1 }# U: W, F6 [4 J, L8 a
  91. ; The following are all the settings which are different in either the production  z# L0 [7 Y. n0 a0 M$ w
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 I. B  u+ i) E; E4 X, w
  93. ; Please see the actual settings later in the document for more details as to why
    $ \/ S- D; F& U) d# w0 {+ I
  94. ; we recommend these changes in PHP's behavior.1 u9 i/ Q3 V$ j/ m: X6 }" H
  95. ! O  V5 }1 F$ P) B; e9 R' v
  96. ; display_errors2 ?* S. F! L" [- U+ d
  97. ;   Default Value: On7 |5 ]* Y- Q, Q9 E9 Z$ }. S4 i
  98. ;   Development Value: On4 E8 b9 P3 b0 |7 f. C2 |; o
  99. ;   Production Value: Off
    8 @& }8 Q  W# Z
  100. ) b" v0 T8 ~% d. Q  a
  101. ; display_startup_errors
    ( o0 n# ~6 o* s0 l+ H6 W( f
  102. ;   Default Value: Off
    % \' @; d; f4 v. u
  103. ;   Development Value: On
    7 x2 ?6 q: i4 N+ l# s
  104. ;   Production Value: Off' Z9 ^7 z9 X/ \
  105. 7 v& l4 P5 l  K0 P2 a, L
  106. ; error_reporting
    - I7 w) s& A3 z7 x: i
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; x6 ]2 Z- R6 f1 l; s5 Y  l
  108. ;   Development Value: E_ALL
    & \2 l& z2 b# H! i) H
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 t# ^! p$ X- H) I
  110. * v4 R" m" S( C) m  j  S. ?
  111. ; html_errors/ T: `2 t, r; Z
  112. ;   Default Value: On
    0 L; m: N: s# n6 M1 k+ {. P
  113. ;   Development Value: On
    4 g/ G1 o& }/ y4 n  U6 `; u9 U" b8 ^! Y
  114. ;   Production value: On
    " G9 W/ d' ~6 t/ c7 E& h' J! N

  115. 5 v! \# _+ k# G) x* q" x
  116. ; log_errors) S9 O0 q1 @% {
  117. ;   Default Value: Off
    ) T. G' h4 _, e8 G& n/ U) [
  118. ;   Development Value: On( Z. m+ Y0 U: E  L7 S
  119. ;   Production Value: On2 p, q) x1 y" G1 _
  120. ' q& c, p6 t1 k# J" O
  121. ; max_input_time" m$ N. {( y* W% d/ H9 o; M
  122. ;   Default Value: -1 (Unlimited): f9 m( L- `8 ~- q2 o+ F
  123. ;   Development Value: 60 (60 seconds)' h9 s3 v* w8 @9 y
  124. ;   Production Value: 60 (60 seconds)7 s0 N- A8 G% \1 ^( k+ J

  125. 3 F- X3 [# G4 }( s
  126. ; output_buffering3 w+ J# }5 T4 O9 F9 t. d
  127. ;   Default Value: Off
    ' f4 A, K" s# @9 L1 a# O
  128. ;   Development Value: 4096
    : x9 x; V" C! c+ V
  129. ;   Production Value: 4096" m  r# Z0 `4 B7 Q% P  B; r

  130. , k2 ^* q" b0 V9 U; ?7 y  _8 U6 D
  131. ; register_argc_argv7 X' T. s% F7 G: m2 m1 |
  132. ;   Default Value: On( S( T5 \- q7 ?! f: T' ^
  133. ;   Development Value: Off
    9 z3 [/ B3 L8 x/ _* o! M
  134. ;   Production Value: Off
    " X% L! m" A. s1 ?

  135. 1 u  g$ Y, M6 M& }
  136. ; request_order& w" v& Y9 B2 m1 n. {
  137. ;   Default Value: None
    . ^6 o: ]$ j  N% g/ I$ E
  138. ;   Development Value: "GP"
    % v7 a1 Z5 O+ s, m( Z) W6 B; @. {+ ^, g
  139. ;   Production Value: "GP"
    8 ^9 `' b  x* e7 _' t# K0 A  A

  140. & ]2 b/ h! L3 V8 s8 J' d# V
  141. ; session.gc_divisor
    ! J5 q, ]' Q. Q6 M# G, W% v
  142. ;   Default Value: 100
    " k0 j2 F2 k  e& J' u4 F- P
  143. ;   Development Value: 1000
    . f0 i; U2 @2 H
  144. ;   Production Value: 1000$ w8 h" J' s; }  Z

  145. ' W7 n* }: t2 {+ y
  146. ; session.hash_bits_per_character& T2 E# a  J. G- ?) ?  e& ~
  147. ;   Default Value: 4
    4 y5 U( L7 z) W9 x7 q4 W. K  i$ ]
  148. ;   Development Value: 5
    $ @/ ~$ e6 g/ G' B, P1 k7 L
  149. ;   Production Value: 5: L0 B! i! T" V3 w8 D9 E: o
  150. 7 X( B2 K( _8 O
  151. ; short_open_tag
    9 ~* R( l+ o7 Y& J! G" a
  152. ;   Default Value: On% Z9 ?' I( n# }( h4 f6 L$ @
  153. ;   Development Value: Off
    4 I/ S, U" S- @7 z9 P
  154. ;   Production Value: Off
    ; A. C, J# W0 X) k# `- I0 c; v
  155. 7 l  `3 g. j% f( T1 T
  156. ; track_errors0 W1 B4 s9 E# e5 b5 b: I; S  e
  157. ;   Default Value: Off
    * r& X* A' b1 Z
  158. ;   Development Value: On. G: }/ w% X( @/ W& W; R# G7 t; h& [0 A
  159. ;   Production Value: Off0 J2 d- o$ o% t( C" I! C* F4 T
  160. 6 r. X3 i- H4 \; Q+ [3 e: i
  161. ; url_rewriter.tags, m9 y7 O8 P+ |; E  R
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=") i  y5 h8 m  Z8 ^: \: i$ g
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; @' C- W* u% [1 i' L# ^
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # d% s: a  x7 N# F
  165. 6 ?- `  b6 y4 Y: w( O
  166. ; variables_order" X; l' n2 z2 O9 w7 u' j
  167. ;   Default Value: "EGPCS"5 ?- D9 e- \8 e, c
  168. ;   Development Value: "GPCS"% ~- G0 H4 D, n
  169. ;   Production Value: "GPCS"4 r7 j4 X* p2 Q; s6 X8 i% y
  170. 5 g! u) G& E: Z1 C8 ]+ O
  171. ;;;;;;;;;;;;;;;;;;;;
    ! _; s: O( I0 W7 Q
  172. ; php.ini Options  ;) u. I3 [1 s# y/ g- ]8 m4 l* a
  173. ;;;;;;;;;;;;;;;;;;;;+ P% u5 s0 d% f8 E+ a' `0 K8 Y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % [1 E9 B3 {5 b' t
  175. ;user_ini.filename = ".user.ini", \7 f( |4 @+ l% l# e5 b

  176. * [+ `! d0 @+ B9 z
  177. ; To disable this feature set this option to empty value$ X; [$ m& \7 y, D& x
  178. ;user_ini.filename =- u# H: O& u$ Q& @" _" r  c7 ^0 b
  179. , H/ D0 L- Y! V6 D- Y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ' B' j* I  a/ Z- v3 ^6 G- A
  181. ;user_ini.cache_ttl = 300: ?. H& V# j  x
  182. ' ~) W0 ^  v! W- ]. q0 f/ N
  183. ;;;;;;;;;;;;;;;;;;;;
    # ?5 P( ]) L. T
  184. ; Language Options ;
    " Z, o0 O' c  H, f) P
  185. ;;;;;;;;;;;;;;;;;;;;4 Y7 Z2 Y1 J! F' q# ]

  186. $ _5 n7 d: N/ D$ D. L- B; \
  187. ; Enable the PHP scripting language engine under Apache.% \5 X# D  T- b8 u
  188. ; http://php.net/engine
    - t3 |8 b$ j$ y  X9 ^! |( _
  189. engine = On/ o" [$ k% U; {" Z" w8 |
  190. ! _! |) N' ]9 q0 J- m( C+ ?
  191. ; This directive determines whether or not PHP will recognize code between  U+ G5 o% N5 A5 |9 a
  192. ; <? and ?> tags as PHP source which should be processed as such. It is" V4 c9 j2 U# a9 v$ q( |0 q, U
  193. ; generally recommended that <?php and ?> should be used and that this feature" [3 t$ ]1 K$ q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    1 B2 N, C4 V8 w  N
  195. ; documents, however this remains supported for backward compatibility reasons.7 L6 r9 n8 D1 H% j: \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 X3 t4 }1 [8 N: b9 \( Z
  197. ; used regardless of this directive.$ R$ h" h; q2 s* {
  198. ; Default Value: On
    # m2 {/ W; ]0 j5 q1 ]* U
  199. ; Development Value: Off
    , X2 V/ v% H. i, a
  200. ; Production Value: Off
    . a  f. X: U2 e2 E9 v# E
  201. ; http://php.net/short-open-tag
    : o4 N! m; f- e) w0 w5 m& ]2 W
  202. short_open_tag = On; `! _! \  N: f& ?5 c
  203. " Z! k* t  N4 @1 c* N# J4 r
  204. ; Allow ASP-style <% %> tags.8 ]: S+ Z; m4 |$ [
  205. ; http://php.net/asp-tags
    2 T0 x6 a& Q$ n8 c3 b- @" r  e
  206. asp_tags = Off( T* v7 I1 L. B. |+ O/ t+ m; _' ~! V$ M
  207. + O6 X: w1 S; O, R0 C! o
  208. ; The number of significant digits displayed in floating point numbers.2 O5 A0 X8 T$ W& @5 p6 o, y
  209. ; http://php.net/precision
    4 C2 Y$ `2 Z, x
  210. precision = 14
    - r9 z! T9 z( ^( E
  211. 0 ^* T& l# x; R5 E$ [
  212. ; Output buffering is a mechanism for controlling how much output data& v7 D- E% ^6 I! |5 u
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that5 x5 E0 ~/ M1 g. D0 |$ q
  214. ; data to the client. If your application's output exceeds this setting, PHP/ u( F6 `6 \. E* d, A1 `6 o, P$ V
  215. ; will send that data in chunks of roughly the size you specify.* ~. @  H- |' Y4 I& \
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    6 f( c; a$ O# J7 q# k! A4 ^% U
  217. ; interesting side-effects depending on your application and web server.
    % I% W; {$ a6 D. c( [* a" L1 M
  218. ; You may be able to send headers and cookies after you've already sent output3 M2 a# W# b% \+ n) @4 t
  219. ; through print or echo. You also may see performance benefits if your server is3 Q* @7 k/ B2 V
  220. ; emitting less packets due to buffered output versus PHP streaming the output; [& i, R& N& P
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 r: x( e0 H2 v1 i
  222. ; reasons.3 ~/ A" F  K' l- z* f4 p' S! ]
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 [& S0 ^" L, l& X/ s- }' t0 F
  224. ;   functions.1 h* R: \/ o2 [% D; m! \  m
  225. ; Possible Values:: U" o6 L1 A! A. w. c
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ' W6 I9 b! b* C! q! D( d7 r7 B7 A
  227. ;   Off = Disabled4 c3 J$ v! t" n& H
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    0 U5 U  \/ i6 q) L* D4 L
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI6 C9 g: n) W2 P/ @) J
  230. ; Default Value: Off3 h6 H3 ^4 V8 Y$ N) f3 n; g
  231. ; Development Value: 4096* Q3 {& E! ~  m: {
  232. ; Production Value: 4096
    4 z; k$ x, C5 a% D6 Z& E2 G
  233. ; http://php.net/output-buffering
    3 O$ Z1 E5 H# D; E# m$ u: Y2 E; c
  234. output_buffering = 4096: O1 Z& C' F3 T. p3 R
  235. * V2 Z  d  s6 N4 }- j* M
  236. ; You can redirect all of the output of your scripts to a function.  For
    & T2 }! l2 S# r8 N+ `: n
  237. ; example, if you set output_handler to "mb_output_handler", character
    6 Z! _9 I( E0 C! w
  238. ; encoding will be transparently converted to the specified encoding.
    * u, t; @' Y5 [% a: Y: U
  239. ; Setting any output handler automatically turns on output buffering.
    " S/ p& k2 p; _9 y% W  o( s
  240. ; Note: People who wrote portable scripts should not depend on this ini
    - a, X2 Z8 F: D$ d  c
  241. ;   directive. Instead, explicitly set the output handler using ob_start().5 z* P5 x- m$ b. x. Q/ K. X
  242. ;   Using this ini directive may cause problems unless you know what script; A0 t3 p+ r- L! x( e2 D
  243. ;   is doing.0 i' i% F, C! p7 Z
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 p6 c9 u' G% ~+ K0 a
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".- F5 Y1 L8 ^7 O6 Q; w0 R9 ?
  246. ; Note: output_handler must be empty if this is set 'On' !!!!, L! q9 Y5 m) j. [; U/ j0 S
  247. ;   Instead you must use zlib.output_handler.
    % N( F8 G) {6 u) N' f0 O( M3 j
  248. ; http://php.net/output-handler
    : A& H1 a& _: n
  249. ;output_handler =
    9 S5 W+ v4 U. ]9 _& Q
  250.   [% H! U4 B4 n8 @& ~) Q5 t
  251. ; Transparent output compression using the zlib library4 v: s0 I: d8 D, ^# N) K7 q6 I
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    : c" k  W5 L& C, q8 H0 s' m
  253. ; to be used for compression (default is 4KB)6 ~: N7 x6 n+ Z
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    2 y" }. p) T) j. M
  255. ;   outputs chunks that are few hundreds bytes each as a result of! ]& g, f2 ?9 S/ I/ B
  256. ;   compression. If you prefer a larger chunk size for better
    & e4 J# @7 a4 t6 N
  257. ;   performance, enable output_buffering in addition.
    1 N# O+ o, [* t; a3 A
  258. ; Note: You need to use zlib.output_handler instead of the standard" v5 P& x- _. }' b
  259. ;   output_handler, or otherwise the output will be corrupted.! a. a  @, X8 _5 {8 n/ Z3 I
  260. ; http://php.net/zlib.output-compression% Z6 G2 M+ z# c* I2 Q
  261. zlib.output_compression = Off$ U/ L$ N' h; e
  262. " S1 p9 }: P: ~) T# l& S2 L$ i
  263. ; http://php.net/zlib.output-compression-level. y! R; B( ?( J) D$ r, z! e9 G
  264. ;zlib.output_compression_level = -1- O' J+ T: e: N: O5 d; V

  265. % P/ l& [2 b) @" Q# E
  266. ; You cannot specify additional output handlers if zlib.output_compression6 c) k& U$ \( n
  267. ; is activated here. This setting does the same as output_handler but in/ |5 R$ i- a( C- E
  268. ; a different order.+ t+ ?# @: N- V8 v( r4 D
  269. ; http://php.net/zlib.output-handler( b* p0 D  A% }- S+ T# ]8 T
  270. ;zlib.output_handler =
    % v/ \* i2 l. c7 ?3 x' m) V

  271. # b1 b% a0 n1 T
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    / M) c& u9 u# _! t  B
  273. ; automatically after every output block.  This is equivalent to calling the
    & e2 S9 Z* q' ^! d% L) C5 B1 `
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) m  [4 ]" C6 d' o* U2 D, ~9 x  N
  275. ; and every HTML block.  Turning this option on has serious performance
    2 r  C9 @. }( g. L9 a, ~* |" z
  276. ; implications and is generally recommended for debugging purposes only.
    / l. j& q) p* S
  277. ; http://php.net/implicit-flush
    ' K* `0 K2 b2 K" B8 t5 s
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; f5 b- T) T! F3 \% d
  279. implicit_flush = Off7 [; g2 x; j; g3 a$ I/ h, D; r
  280. ( O  G9 G+ z# F
  281. ; The unserialize callback function will be called (with the undefined class'( s8 Z( Z/ t6 n: i- ?5 B
  282. ; name as parameter), if the unserializer finds an undefined class3 M) r) e9 m! E% H& m# C
  283. ; which should be instantiated. A warning appears if the specified function is
    9 h/ o7 @, m( I1 z5 e
  284. ; not defined, or if the function doesn't include/implement the missing class.1 t( g: e) j# v) ?
  285. ; So only set this entry, if you really want to implement such a
    6 K% s% Q8 W& u7 t  Q7 l/ C
  286. ; callback-function.
    . o% m+ M$ V" A* |: Q
  287. unserialize_callback_func =- J% r6 v% J7 L# p
  288. " u8 j9 Y  ]3 D/ g2 p4 C3 A* L: K* C
  289. ; When floats & doubles are serialized store serialize_precision significant
    , P9 m+ U8 x1 R* D
  290. ; digits after the floating point. The default value ensures that when floats
    % |% j0 r3 F* l9 D) U/ B3 ]/ R
  291. ; are decoded with unserialize, the data will remain the same.
    * e" x5 J5 p9 h* U5 V, y# n( N
  292. serialize_precision = 17. e6 X% ~9 K  p+ f
  293. ; e3 {8 B8 r. g. \6 S( B; W
  294. ; open_basedir, if set, limits all file operations to the defined directory; s% J" o4 I" v4 d6 w
  295. ; and below.  This directive makes most sense if used in a per-directory) I* Q! z* [) ]* h3 D8 t  r, H
  296. ; or per-virtualhost web server configuration file.
    ' n$ ]1 D% j5 g, v8 y$ |
  297. ; http://php.net/open-basedir& I- L8 n5 `8 ~5 S0 U  M
  298. ;open_basedir =
    3 I& I- @! P; p: t0 a5 |/ O7 R$ u
  299. ! ~/ n+ G9 ]% }! Z1 T
  300. ; This directive allows you to disable certain functions for security reasons.
    0 S$ y7 E  Q: h" x4 Y/ H3 k
  301. ; It receives a comma-delimited list of function names.& O6 ^0 n: ~+ s' s, ~
  302. ; http://php.net/disable-functions2 @! \" K" T* t
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru0 W) P8 C; x4 c9 w, ^
  304. 0 I9 _, R2 A+ A, H+ {
  305. ; This directive allows you to disable certain classes for security reasons.+ V( @! _8 U# y
  306. ; It receives a comma-delimited list of class names.
    + f0 F/ C* M- U7 V7 K) H* W6 [6 r
  307. ; http://php.net/disable-classes
    . y' x* y8 C2 z6 e- |
  308. disable_classes =7 d; G* W5 [3 {# h
  309. * l8 D% H9 E# T, k- O
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    : h7 Z0 q# Z4 K: b, @3 i) C
  311. ; <span style="color: ???????"> would work.
    $ S4 W* G& }: J4 x
  312. ; http://php.net/syntax-highlighting
    / Y+ R3 {/ [# P% f( C  r# h8 y. R
  313. ;highlight.string  = #DD0000+ r5 ^& c# D1 t2 n
  314. ;highlight.comment = #FF9900' {* `4 f9 y0 V  m" o9 p
  315. ;highlight.keyword = #007700' p8 j$ N5 R4 p% ~  R& N* x3 I
  316. ;highlight.default = #0000BB
    - }" W/ i) u3 H9 Q2 A1 G, m
  317. ;highlight.html    = #000000
    7 J& N) d+ e1 n8 u& {

  318. ; X4 u& W+ V$ a
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    - P* ?) ?% N# {! ^
  320. ; the request. Consider enabling it if executing long requests, which may end up
    / Y6 ~0 F4 ?2 f
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    - O' G& ?0 B2 k3 Z4 A+ g) v% Z; Q6 ^# ?
  322. ; is to disable this feature.0 m+ v6 }! @* y$ Z
  323. ; http://php.net/ignore-user-abort
    , S# G, D5 B8 J) A& R9 L
  324. ;ignore_user_abort = On+ n0 U( n) m9 c* d

  325. , ?+ ^: H/ `# E; Y, y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    1 Y8 U2 S/ u% }
  327. ; be increased on systems where PHP opens many files to reflect the quantity of* @' i. |8 f6 t& M) l
  328. ; the file operations performed.
    * \1 K5 e# O% u3 T
  329. ; http://php.net/realpath-cache-size; P% s$ W9 \" u: ?. Z; g
  330. ;realpath_cache_size = 16k
    : b/ Q6 c4 c; x# c' P5 Q

  331. ( s0 U1 u2 P3 \" o) H
  332. ; Duration of time, in seconds for which to cache realpath information for a given, A( a8 N" ~4 m5 Z" q: u2 u$ M4 x; A
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    " Z+ M2 a7 y# n# |7 F
  334. ; value.
    % X0 q: s* E) d! D3 r1 r
  335. ; http://php.net/realpath-cache-ttl6 ~/ v! v; E3 I
  336. ;realpath_cache_ttl = 1206 v. [- X7 B% i
  337. 2 F) M$ f* E- K/ m
  338. ; Enables or disables the circular reference collector.
    / c0 L4 z5 D' o
  339. ; http://php.net/zend.enable-gc
    ( [1 z% y7 n  V$ ^
  340. zend.enable_gc = On- ?0 v$ [! `# }( V

  341. & E  @" l1 ?9 k+ R* t" v7 Q& F
  342. ; If enabled, scripts may be written in encodings that are incompatible with+ q. l# x+ E8 P" ~% u6 F- K
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such( X% r+ m+ O6 `& j3 k0 R/ G7 E7 W( d
  344. ; encodings.  To use this feature, mbstring extension must be enabled.# |4 A) L( {  F0 G' q7 c6 v
  345. ; Default: Off6 u! x1 ^# s. x" m/ ?& B
  346. ;zend.multibyte = Off+ @; L1 a4 c1 L7 k' S
  347. 1 K& a* e6 ~0 ^& |
  348. ; Allows to set the default encoding for the scripts.  This value will be used/ i( t4 I1 @- r! X! D3 e
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.& p* V% y/ f* M; v; R  N# e/ g: J
  350. ; Only affects if zend.multibyte is set.9 y8 ^  s) ]8 y. z+ ~/ ~+ Y  s
  351. ; Default: ""
    / R! L  H& N. T
  352. ;zend.script_encoding =
    5 m6 J  @  N# B1 K; \
  353. : X' q  ~" B) ~1 r
  354. ;;;;;;;;;;;;;;;;;; B! N% {3 w( E7 @
  355. ; Miscellaneous ;
    2 e7 S, K( e" b0 ]
  356. ;;;;;;;;;;;;;;;;;' a5 I6 J' L" K8 m1 e4 L* }) _
  357. # ~& ^; o  b- S5 {
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    7 J" r. O4 N" ~; n% }9 r
  359. ; (e.g. by adding its signature to the Web server header).  It is no security! x4 Z: T, W" j# Y$ \5 o/ k  i
  360. ; threat in any way, but it makes it possible to determine whether you use PHP/ j; w% h3 u$ n
  361. ; on your server or not.  c- n* N& K$ ~& \! [* z/ B( O
  362. ; http://php.net/expose-php
    9 {" s. A+ V6 S( l1 h% K. K' n4 H
  363. expose_php = On
    0 n, y0 C9 c$ S& T+ d

  364. * w: b: u8 r0 r6 g
  365. ;;;;;;;;;;;;;;;;;;;
      o; w6 t; n' Q6 Q8 j2 o6 Z
  366. ; Resource Limits ;
    # e, T0 C1 g' z
  367. ;;;;;;;;;;;;;;;;;;;
    ( F/ S! Y# }  v! {( B; [  x
  368. ( E+ Y% F1 ]6 |" a  a' h
  369. ; Maximum execution time of each script, in seconds
    4 `" e  |% k6 M4 q' k3 E. b
  370. ; http://php.net/max-execution-time: b5 W/ c- \9 a& e+ q
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ' O' W( Y% s. h( x$ N1 F
  372. max_execution_time = 300& \% S! u* l+ Z5 N! T. c! q( V

  373. " D) a+ p" W, X) C1 h0 @! P
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ! z) H: H: h/ u( l  N; }2 @/ H
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly; K2 i" |4 w3 H' @1 [- P7 Y9 w6 o
  376. ; long running scripts.
    . V: S% q4 y$ j8 N6 s% a+ S
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI+ K/ x% T3 S+ K( E( ~9 \3 `, ?
  378. ; Default Value: -1 (Unlimited)
    " I4 j7 a* ~7 H" _
  379. ; Development Value: 60 (60 seconds); J! W/ u  V  G$ x  {
  380. ; Production Value: 60 (60 seconds)) [4 C% c* E, T) T# s  O
  381. ; http://php.net/max-input-time) S/ s; {  g  F8 R( C3 \+ {( y
  382. max_input_time = 600 }  M! D0 M! O2 }5 a, H& y
  383. 1 K3 P& Y& b; i! P' k) Y  [" M+ B* N) v
  384. ; Maximum input variable nesting level/ U$ i7 h& {# T6 a. G0 v" v
  385. ; http://php.net/max-input-nesting-level
    0 I" j( }" @5 O& W0 q5 E
  386. ;max_input_nesting_level = 64$ N  ^' K5 e& w1 ]; x' y( o4 w5 K9 X
  387. " h2 J7 d, {/ f; D+ a) k+ k
  388. ; How many GET/POST/COOKIE input variables may be accepted' K0 b- p5 \" w9 s
  389. ; max_input_vars = 1000
    * s$ h) ]5 Y5 e! l' S; k: ?

  390. " p* ]$ n1 x# I- M8 ~" e
  391. ; Maximum amount of memory a script may consume (128MB)5 D  ~' T1 K% P/ e+ f/ F9 a
  392. ; http://php.net/memory-limit* b! S5 }$ G$ w
  393. memory_limit = 128M
    : z) l. f8 }. k6 H7 k( i
  394. - @4 |- ~$ t2 ]6 v0 {3 y! o1 `2 L  s' T
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 M; d" S' }. J
  396. ; Error handling and logging ;1 Y0 p" w) m6 t& W$ Z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . s8 B& U. k2 i9 C: @

  398. ' L3 ]+ t) v0 K- \: G2 e3 S- e
  399. ; This directive informs PHP of which errors, warnings and notices you would like$ L1 n' c% c1 |0 J$ l, D
  400. ; it to take action for. The recommended way of setting values for this
    ( i9 D# U! O# ^/ `1 ?' d
  401. ; directive is through the use of the error level constants and bitwise: q9 N: ~$ n  d9 p% a
  402. ; operators. The error level constants are below here for convenience as well as- s. X/ i2 H1 e' z% T) o& P
  403. ; some common settings and their meanings.
    6 d$ m0 d9 M5 ~& N  c! h9 g
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    9 W( J5 ]7 D0 z" X, I+ T9 x  Q
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    8 v" b" [- R% I% ?8 z
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    " V: s  A9 c( u: V9 d9 }9 j
  407. ; recommend error reporting setting. Your production server shouldn't be wasting0 M9 ?! D& K, U7 V3 a4 ?  K( E5 ^
  408. ; resources complaining about best practices and coding standards. That's what% K8 e# |- L% ?- Z2 }! ~0 M: M3 k
  409. ; development servers and development settings are for.
    % \: ^/ s( S9 Z4 i
  410. ; Note: The php.ini-development file has this setting as E_ALL. This, C* e: M/ k& a/ P
  411. ; means it pretty much reports everything which is exactly what you want during3 O2 @- G" v' l. I& `. K5 g
  412. ; development and early testing.* G$ |* u4 F6 |& x. F
  413. ;
    5 r' ^1 T0 E; x
  414. ; Error Level Constants:
    / ^- q0 [5 i! L' l/ E. O
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0), W& s9 p$ {% d5 T4 s5 l1 P
  416. ; E_ERROR           - fatal run-time errors
    0 v5 m3 g' b5 U: v! n$ F/ n; x  Z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ \; r6 Y" R+ I8 o$ G
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    * ]2 l' _1 d+ i
  419. ; E_PARSE           - compile-time parse errors) r/ R# H' z4 f+ n+ u( }8 K2 u
  420. ; E_NOTICE          - run-time notices (these are warnings which often result0 x- l8 Y6 h0 H3 p) B/ F$ S0 u
  421. ;                     from a bug in your code, but it's possible that it was$ Q# s( O+ F$ `3 ~5 j
  422. ;                     intentional (e.g., using an uninitialized variable and" E, _+ w9 y( w7 M' E
  423. ;                     relying on the fact it is automatically initialized to an: k- ~# p7 V3 y) q  q
  424. ;                     empty string)  O, G" x8 `- i, Y
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; B, {3 n6 R9 ~
  426. ;                     to your code which will ensure the best interoperability
    5 _4 M- H. ]% H, o5 k
  427. ;                     and forward compatibility of your code/ F& F% w# O; B
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup% y( t( o+ [3 X2 t8 d9 K% R
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's4 `8 W& L" F9 S% r+ B% U- m
  430. ;                     initial startup! O2 o8 f$ ^/ m/ Z
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' e; Z5 K0 _) S8 S( n8 y( \1 O
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)- _" s; O. c  T; k; U* Y4 X6 b/ A4 i
  433. ; E_USER_ERROR      - user-generated error message
    8 d3 t/ t: Y/ ]: B1 G5 D) B
  434. ; E_USER_WARNING    - user-generated warning message# X* r: b. X9 b. r' m( ^
  435. ; E_USER_NOTICE     - user-generated notice message
    : Z; X( W. K" D' e/ j- v
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    . X# x8 _2 R+ ^& o
  437. ;                     of PHP
    3 H5 L8 _: ]/ H+ G! m8 f
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    3 ^% S* ?. b2 O$ K) e
  439. ;
    * |4 Z$ ?6 X$ N
  440. ; Common Values:
    3 r0 i0 ]7 K/ ?/ N! K6 {' J0 `
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.), ?3 r, A2 C. _, n, Z8 W1 p7 x+ R- R
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ \& `/ D, ^* b8 Z; j
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    : F" ?, p8 `& r$ z3 d
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ x# j  u& u6 \- n' j+ a+ `5 t
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # G( ~, i% O- {; A0 Z( F$ x& ~
  446. ; Development Value: E_ALL. M3 m  _2 i0 S
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 o! ]1 ~" Z/ I- V( E
  448. ; http://php.net/error-reporting" k& y1 d# k% C" J% F7 s% x
  449. error_reporting = E_ALL & ~E_NOTICE
      u  a0 @9 a% }7 x" Q6 S
  450. 3 P# l# a, z5 b  P) q: I' w( U
  451. ; This directive controls whether or not and where PHP will output errors,# p6 K* u- W5 s7 x( v) N# z
  452. ; notices and warnings too. Error output is very useful during development, but4 w, \* d6 c! S  h$ @, d5 R  x% t
  453. ; it could be very dangerous in production environments. Depending on the code
    $ Q6 ^) x- Q- p5 Q8 d. w
  454. ; which is triggering the error, sensitive information could potentially leak9 O: t6 t: H  B3 w, d7 }$ _6 B
  455. ; out of your application such as database usernames and passwords or worse.9 U" ]  L# N4 D8 G3 l! }, L+ }
  456. ; For production environments, we recommend logging errors rather than# f! c6 }* F0 X! A' W+ B6 c
  457. ; sending them to STDOUT., }5 i+ M7 v9 X6 O1 k
  458. ; Possible Values:
      j3 b8 x( X4 n5 h
  459. ;   Off = Do not display any errors
    9 o$ }. {4 h" e! X) C; o
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    $ R7 n+ W% ]' l- ~' w0 Z; g' O& W
  461. ;   On or stdout = Display errors to STDOUT
      d: C5 q0 I  O' v6 e+ B) n. N
  462. ; Default Value: On
    - Y. w: x6 c, n% L6 H) Q
  463. ; Development Value: On3 y" Q* B: ]: L
  464. ; Production Value: Off' Q) S% p+ T& R
  465. ; http://php.net/display-errors9 f( F* A- t2 k& F: p9 M, z6 u
  466. display_errors = On
    ; p, b5 c% c  R
  467. 4 O- F2 M$ [* K3 ]& E8 ]5 t  W
  468. ; The display of errors which occur during PHP's startup sequence are handled
    8 u1 |' v% M( M8 f& Q* r, I0 r
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    0 n8 i6 A4 S8 }) J# `5 f5 N) K
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    7 q" f" q: }$ |& O
  471. ; debugging configuration problems. We strongly recommend you; M: v" [$ w) @0 `
  472. ; set this to 'off' for production servers.
    8 `5 W# O3 [  h' k
  473. ; Default Value: Off
    ' h# z) }/ q: h# Q/ R7 f2 i
  474. ; Development Value: On
    / C: [- `2 q) |- T% ~" u
  475. ; Production Value: Off
    2 ~8 m9 X+ @# Q, t
  476. ; http://php.net/display-startup-errors
    + U; P; k1 k% f' I
  477. display_startup_errors = Off  h# J: N" z, p7 H! V

  478. % h4 O/ ?- Z3 j
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    . F5 X' w6 {3 ?( u
  480. ; server-specific log, STDERR, or a location specified by the error_log& J9 @8 ]- f* g! g0 U
  481. ; directive found below. While errors should not be displayed on productions) `  L& n6 o+ s8 P/ {8 i5 v% n
  482. ; servers they should still be monitored and logging is a great way to do that.
    " i! D* s" }9 u2 q
  483. ; Default Value: Off7 P+ b6 R2 m* t# p" Y: h' ~
  484. ; Development Value: On
    9 i2 Z# Y* X9 v5 J1 ^! s- u
  485. ; Production Value: On  U, T  `# i0 `7 H& @! Z3 b; D
  486. ; http://php.net/log-errors3 D6 k  [# o3 g& x
  487. log_errors = On
    ! k) Y2 m! ~# {

  488. / ~4 @1 b1 U, k, _2 |: e
  489. ; Set maximum length of log_errors. In error_log information about the source is/ S. G* o9 g8 k4 ~) B! v9 o. h
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ j8 S8 U1 ]) ?: o7 l% W
  491. ; http://php.net/log-errors-max-len  |* Q0 S# W* t
  492. log_errors_max_len = 1024$ G/ l" G' c; K7 e* d
  493. ) d% H$ ?" E& N9 U
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same$ w2 w$ e) }+ D2 P% N
  495. ; line unless ignore_repeated_source is set true.; o: S. r) }3 k- Z& F) J
  496. ; http://php.net/ignore-repeated-errors8 O% X2 V* q7 B: G. O+ @$ B' }
  497. ignore_repeated_errors = Off/ s. g+ M# e4 q( W# w
  498. * _; z/ F7 E: G/ F1 P( k6 w( v
  499. ; Ignore source of message when ignoring repeated messages. When this setting  R3 W) Z& X8 i. z% f
  500. ; is On you will not log errors with repeated messages from different files or
    6 M/ l6 ?. |5 T  t8 n, B
  501. ; source lines.% R4 D- \: ~1 R; j5 e
  502. ; http://php.net/ignore-repeated-source& F5 G( Q3 B! s" f# X, ~0 P8 a
  503. ignore_repeated_source = Off5 Z) x/ I+ z7 S* J" P/ e6 u- A
  504. 5 V8 N: P& ~& M2 ?$ q" b; i
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , }+ i9 m( I5 J$ Z9 H& z
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    & j4 ]$ d$ K2 a/ ~
  507. ; error reporting includes E_WARNING in the allowed list, R+ _' U' e& ?
  508. ; http://php.net/report-memleaks
    1 H& ?( E/ n1 H5 Y- \
  509. report_memleaks = On
    # e; O. o% }( _3 O2 B

  510. 0 y* x) p. G; @9 F  M- J) o
  511. ; This setting is on by default.0 X! i" V7 H0 ~3 B/ S4 B7 z4 H
  512. ;report_zend_debug = 0
    3 y4 W# a* Y2 s
  513. % l' C+ s$ Y- ?" y- h- t$ X
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value6 R" E( G1 c# E3 _" Z( s" g; |' k1 E
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    6 S' x$ A# i6 l* c1 k
  516. ; however be disabled on production servers.: S& `7 Y! w1 l' E
  517. ; Default Value: Off
    ) C9 K6 R5 Z$ r5 w9 z3 O
  518. ; Development Value: On
    ! m$ n7 ]5 V% _6 J) @
  519. ; Production Value: Off. L# S4 A, b9 T+ ~! u2 |
  520. ; http://php.net/track-errors
    8 Z* ?9 D) Z/ c
  521. track_errors = Off4 w. ^8 K6 Q, y' w3 h% G
  522. 9 F. [& R( z" o! i* ~
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    7 _% N2 k) `. ~
  524. ; http://php.net/xmlrpc-errors2 d) {" z9 i# d. R# b* x5 Q7 J
  525. ;xmlrpc_errors = 0
    & m9 U2 ?, n1 H" \

  526. 8 g) g5 b3 {# {8 d% O4 U
  527. ; An XML-RPC faultCode
    # U$ ~; k- W% s
  528. ;xmlrpc_error_number = 0
    * L; P) F2 i0 Z  ^: }
  529.   _# J7 b0 D% s3 r) t
  530. ; When PHP displays or logs an error, it has the capability of formatting the! a5 O  c$ R( b/ X3 t& b& U/ O8 x: z- W* g
  531. ; error message as HTML for easier reading. This directive controls whether' `2 u! ~2 ^1 j6 J4 x' e
  532. ; the error message is formatted as HTML or not.
    $ x' ~8 U" v) z
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI+ G. {% K6 ]2 L+ B1 ~- D
  534. ; Default Value: On
    6 y  a4 ~& Y3 m3 |1 {
  535. ; Development Value: On! z: a8 M, w) K: _
  536. ; Production value: On
    ; r* I8 t" N) B. z6 M3 _
  537. ; http://php.net/html-errors4 C& U' b3 p( P6 |. \" }6 w4 ^1 X
  538. html_errors = On6 y) }, O! x" W7 p

  539. * P$ G9 A) H" u( _- A
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      n+ y1 a3 q; H3 {
  541. ; produces clickable error messages that direct to a page describing the error& W# T4 \( G3 v0 g
  542. ; or function causing the error in detail.5 @7 e5 q2 O. n8 J1 H
  543. ; You can download a copy of the PHP manual from http://php.net/docs# x9 b+ `" M% ~/ Y% e7 U
  544. ; and change docref_root to the base URL of your local copy including the; _% ~5 _3 ]$ q) S! y( r7 P9 a
  545. ; leading '/'. You must also specify the file extension being used including
    8 u* x/ @. I$ s# \' F
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which  W2 o4 n( `5 U, b
  547. ; case no links to documentation are generated.
    + l( Q. D: e$ k
  548. ; Note: Never use this feature for production boxes.
    - q3 k1 K4 u7 b. c+ \. j  U7 c: W  @2 r
  549. ; http://php.net/docref-root
    , e8 |9 n9 `' X. _
  550. ; Examples( `' h. `. }9 m2 A6 d% A9 }
  551. ;docref_root = "/phpmanual/"
    , r1 z0 P$ e2 T$ j6 {, C
  552. , H6 Z  p2 u5 S) W
  553. ; http://php.net/docref-ext
    $ }" w; @& u- R" s( |( m
  554. ;docref_ext = .html
    ! H0 f* C! I/ n" I  m1 W  g7 M
  555. : f3 }2 D5 z4 ]$ k" c- i
  556. ; String to output before an error message. PHP's default behavior is to leave9 W; X3 X. P/ a7 y) A* U2 \
  557. ; this setting blank.# C: A0 `$ e* u) W
  558. ; http://php.net/error-prepend-string% N+ t7 J- i/ T9 O7 i
  559. ; Example:
    2 s" G9 A( n2 x) v' g2 X! F" J
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    / O1 r# s2 V9 m6 K; K. d: D" |

  561. . X( u: D5 T* j) f& ^8 X: A. y% E
  562. ; String to output after an error message. PHP's default behavior is to leave4 ^$ _' [" M9 `3 R
  563. ; this setting blank., A# Q6 o) U$ L6 k. u; q' \# a* M
  564. ; http://php.net/error-append-string- @% a" u5 w3 n4 J( B
  565. ; Example:
    ! C' z% a- Q( p, Y1 }) ~5 {
  566. ;error_append_string = "</span>"
    $ d' c- b  \) \% P& ^3 Z! e5 ^( E: i5 F
  567. 2 W+ f) i2 B$ H4 o7 O& w+ p& i
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    + K$ A9 n- H+ i* F& L, |3 J' O' j
  569. ; empty.3 `1 M% g; P% H3 Q
  570. ; http://php.net/error-log: P) m5 T$ x& e9 h
  571. ; Example:
    & P  l$ D) ]; n; z/ Y/ }# Y8 A6 @
  572. ;error_log = php_errors.log3 L8 F9 _8 q" {
  573. ; Log errors to syslog (Event Log on Windows).
    0 y1 i- f, ~3 u
  574. ;error_log = syslog
    4 \) v% Y7 M9 e0 s
  575. : R! Y! `* g; l1 h
  576. ;windows.show_crt_warning3 H1 k. @: H8 a/ l
  577. ; Default value: 0& ], N2 |' H5 J4 R! f# P
  578. ; Development value: 0: O) d" K! {8 H6 k4 r) y6 q
  579. ; Production value: 0
    4 V  u6 v' Y" x2 n4 m. j2 i
  580.   r' t9 R7 h& [
  581. ;;;;;;;;;;;;;;;;;
    # I' p; g( m* n" |
  582. ; Data Handling ;4 m7 S1 c  k4 k0 h( F; k& k2 f
  583. ;;;;;;;;;;;;;;;;;
    ' J8 @9 V/ p) M

  584. 5 l7 w& p$ Y# l; s/ {- S
  585. ; The separator used in PHP generated URLs to separate arguments.+ L8 T7 R% x  ~7 ^) }+ T2 j1 |
  586. ; PHP's default setting is "&".
    % a# }$ d: a9 j+ z
  587. ; http://php.net/arg-separator.output
      R3 @1 K8 w1 d% R
  588. ; Example:
    6 Y7 f4 H, P3 z4 }6 o3 |8 i
  589. ;arg_separator.output = "&amp;"
    & Z/ K. v8 b' l7 L3 {
  590. 0 w9 B- m- S' @9 Z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
      k2 |9 T+ K/ A( c, {
  592. ; PHP's default setting is "&".
    ; r: V- y7 |/ x4 r) Q
  593. ; NOTE: Every character in this directive is considered as separator!- }: L3 P% k* i2 {: @1 N# T
  594. ; http://php.net/arg-separator.input
    9 v; M$ T: [' f( x
  595. ; Example:& b0 i5 ~/ a( [
  596. ;arg_separator.input = ";&"$ B- l0 a: Y4 U$ b( x
  597. ; V0 q, T" W* H' I) |
  598. ; This directive determines which super global arrays are registered when PHP; V$ V  |8 d% ?# B0 q$ O
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 g9 Y* W( M0 k% [% u8 O3 j
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 L* x" ?7 `; u9 T- }4 E
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    & L$ g/ }0 q2 b7 c" `
  602. ; used as the others, ENV is not recommended on productions servers. You
    ) T( s; L( u) n# g9 Z
  603. ; can still get access to the environment variables through getenv() should you
    * T' Q4 l2 q# _) p9 G# u$ c
  604. ; need to.
    0 z; A& {8 ]% m( @9 |# @; {; T
  605. ; Default Value: "EGPCS"5 h$ a$ A" G! [' b+ O& M6 ?
  606. ; Development Value: "GPCS"9 k) |0 ~- h% G/ C/ n/ d( v3 ^* K
  607. ; Production Value: "GPCS";
    1 X5 D5 R6 a, y! F
  608. ; http://php.net/variables-order6 ~0 n5 D- _" k& _7 a
  609. variables_order = "GPCS"" d+ C! }4 S; W1 O( P2 l- D

  610. 6 V' x6 L' ~9 i# {# Y9 {! k
  611. ; This directive determines which super global data (G,P & C) should be
    9 u/ L( d; y4 X/ }' D- J
  612. ; registered into the super global array REQUEST. If so, it also determines
    * y/ ^& Y3 o7 J% ^- }6 d7 S
  613. ; the order in which that data is registered. The values for this directive4 B( K# w3 X; C$ M$ I( s4 W
  614. ; are specified in the same manner as the variables_order directive,
    / a9 t* R+ Y, d& j; x4 W
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , f5 H, _# _, }8 p% Y" D
  616. ; in the variables_order directive. It does not mean it will leave the super
    8 t4 Q. ?# y! {: l
  617. ; globals array REQUEST empty.
    1 j# ^8 b+ o# y+ @3 C
  618. ; Default Value: None
    ! k, C. L! `7 ~0 _/ H
  619. ; Development Value: "GP", o7 p( y( A2 I+ m% a; b1 ?6 U
  620. ; Production Value: "GP"
    $ w5 }* ~4 X1 S, x0 L3 v& q  @# V1 m4 }
  621. ; http://php.net/request-order6 C0 C: p0 M1 p+ a. ~
  622. request_order = "GP"
    & l  A: u8 @4 Z' z/ ]* r4 U! `  S0 S

  623. 0 \; A7 |8 }/ j. I5 ?$ I' t& T
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    2 u7 K; _3 Q6 j1 u  k
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script% Q8 N/ x5 t. ~: |  y' _
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ) A% d1 Y" u$ N5 z% |1 G. F
  627. ; that were passed when the script was invoked. These arrays are extremely0 {  `: J  w+ f/ w7 t
  628. ; useful when running scripts from the command line. When this directive is& l0 H1 Q( T! Q; y3 h
  629. ; enabled, registering these variables consumes CPU cycles and memory each time8 c9 x3 L. H& N
  630. ; a script is executed. For performance reasons, this feature should be disabled
    9 r' e: v# H7 z9 K
  631. ; on production servers.
    2 E( Y: p! m7 u) a) B1 |* Z/ ]5 P
  632. ; Note: This directive is hardcoded to On for the CLI SAPI! v  O0 G) I, I: I  @
  633. ; Default Value: On$ @) `/ i  M' A7 @' `$ G
  634. ; Development Value: Off7 r0 F! I, R2 j9 S& U: J4 |+ B
  635. ; Production Value: Off* j+ U( k* t( |9 I4 }1 Z
  636. ; http://php.net/register-argc-argv
    2 U- \7 N7 H. k% J4 W
  637. register_argc_argv = Off9 z  s2 f" g- |3 L9 B

  638. + k! T. d2 ~" D8 c; G$ E9 _
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    & v. R6 J/ m( t6 h2 o
  640. ; first used (Just In Time) instead of when the script starts. If these
    1 ?2 C) U+ J, s. I& _
  641. ; variables are not used within a script, having this directive on will result: s1 t, Y* K9 l# R! K' j
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled" Z" B( V1 x7 {! }
  643. ; for this directive to have any affect.
    * F8 u# m3 g" x2 B2 p+ F, t; q  X
  644. ; http://php.net/auto-globals-jit4 x; F6 B/ C; H1 W; _
  645. auto_globals_jit = On" W: `4 H4 W: ]3 W

  646. , j) \  o* W4 o& }0 o3 ~/ d+ c
  647. ; Whether PHP will read the POST data.# V# x* M: |. U. [
  648. ; This option is enabled by default.
    7 B& Q+ S; |4 d# }$ K( w
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 ]7 x  ^! e1 m, P  @
  650. ; and $_FILES to always be empty; the only way you will be able to read the4 P% \$ w: X& ?& c# K4 m
  651. ; POST data will be through the php://input stream wrapper. This can be useful4 b( O+ o# M' O4 L4 B
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.+ c! X6 q- j; H5 m/ i# u6 b
  653. ; http://php.net/enable-post-data-reading
    7 a& S9 T2 u( k
  654. ;enable_post_data_reading = Off
    # X% q; o7 o. ?; j% h5 m) p( ~
  655. ( s0 T. L" Y: c* a$ `% ^1 L& n
  656. ; Maximum size of POST data that PHP will accept.
    ) W# v$ z5 C  y( b. G" F4 g
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    $ J$ U4 _- G8 ]8 q. M0 ~5 |% W2 M
  658. ; is disabled through enable_post_data_reading.4 z& @" P  A/ B) q$ w5 |
  659. ; http://php.net/post-max-size- k; h  v* N, e' n# f" v9 Z
  660. post_max_size = 50M. j( _% W( ~; p4 p$ K

  661. 4 k- }, \" `& R# K4 F% A2 i1 v
  662. ; Automatically add files before PHP document.9 S8 A8 g$ N4 D( H3 B, i
  663. ; http://php.net/auto-prepend-file
    - M' |! y' {- r
  664. auto_prepend_file =% z8 N2 y1 r! Q- s6 e5 Z

  665. ( b6 O9 F3 l* N" J
  666. ; Automatically add files after PHP document.
    4 Q/ d9 R. J% \5 Y4 M: t! o! K
  667. ; http://php.net/auto-append-file& S) u& @0 I/ T( W4 s& f$ [
  668. auto_append_file =7 J. U: `$ f& H5 l$ C8 l
  669. # A7 L( W8 @6 ^$ [- G. m1 G. E
  670. ; By default, PHP will output a media type using the Content-Type header. To- c# j! r5 B6 \7 e4 u) \
  671. ; disable this, simply set it to be empty.$ Q% i# ]7 O6 S/ f4 `2 ?/ r
  672. ;% v% A  U6 p: f
  673. ; PHP's built-in default media type is set to text/html.4 D( l0 J( a4 x  m4 `1 [+ \( V
  674. ; http://php.net/default-mimetype
    % N/ O* j+ k2 q2 C
  675. default_mimetype = "text/html"
    0 b6 P6 Q+ f" @+ M2 X4 i

  676. $ B" }) ^: u: y0 m
  677. ; PHP's default character set is set to UTF-8.
    : T- p+ Q2 t4 S1 p7 n, D2 I9 r
  678. ; http://php.net/default-charset* Q: b% M: D. X/ W- \8 X
  679. default_charset = "UTF-8"* Q+ n+ [! G8 e* R8 d% G( [" L  Z
  680. / o9 j  D3 t* M# u' F
  681. ; PHP internal character encoding is set to empty.
    2 V, A) }3 W% u+ H7 K% k
  682. ; If empty, default_charset is used.0 g3 M! j" `. M$ P
  683. ; http://php.net/internal-encoding0 @# m1 X" j' l5 @
  684. ;internal_encoding =, I. _; i6 P# q. B8 I) @/ l4 ^

  685. - i3 U1 H  y7 {, ~# ?& ~6 }
  686. ; PHP input character encoding is set to empty.
    8 F' I! m* R: B- [7 C9 V. z# p' S% T+ f
  687. ; If empty, default_charset is used.
      J& p5 p' g0 r3 p. h" L7 r
  688. ; http://php.net/input-encoding
    $ t/ k3 K" U  J9 e& p
  689. ;input_encoding =7 ~- L; T6 m: W
  690. 8 B9 H8 f# O+ j" V9 O' C8 ]5 N
  691. ; PHP output character encoding is set to empty.
    3 a' \  R! e9 L% i2 m  k
  692. ; If empty, default_charset is used.
    % m, ~& w0 o: c* c2 h4 @- f7 ^
  693. ; See also output_buffer.
    , N1 S' I7 P' z; `! u% E) D) G" q: ]
  694. ; http://php.net/output-encoding* F2 n8 m& N; z) [1 a* p7 _2 M
  695. ;output_encoding =$ {. U8 p5 s- z( J& @
  696. 6 M0 v: d6 {# |: C4 @
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ! v# E, Y, C2 W, C
  698. ; to disable this feature and it will be removed in a future version.
    ! {! x7 v5 ^1 X
  699. ; If post reading is disabled through enable_post_data_reading,7 Y# `4 O4 {5 O- c5 J. K
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    1 a/ v7 R' V, V, ?% S% x
  701. ; http://php.net/always-populate-raw-post-data! C- t* ]* r, }; z# }# s0 U& T
  702. ;always_populate_raw_post_data = -1, @1 V1 m  b5 ]# B7 ]3 R# r

  703. 8 L0 ?( I( `* t6 x5 n& }
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;" i$ m* u, ?9 a- x7 t
  705. ; Paths and Directories ;5 [6 V, V7 e0 I* V3 R
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 x( P: P% S2 S, e$ U; L/ L( U6 `+ E

  707. . M% B- O4 L* C% G' Z+ x9 h
  708. ; UNIX: "/path1:/path2"8 |' n# D6 `' l7 `( q( ?
  709. ;include_path = ".:/php/includes") G7 Z3 Q+ t  j; N  P9 {
  710. ;9 i) [. D, o" ?% Y
  711. ; Windows: "\path1;\path2"' N) F  B0 @2 L" r+ Z3 A
  712. ;include_path = ".;c:\php\includes"0 g$ b0 S2 }3 G6 S4 \
  713. ;& H) p/ s8 S) I& X! c" _9 S
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * x* f8 T" O8 U" G4 p2 E* ^
  715. ; http://php.net/include-path
    , \4 M( m, c+ Z5 ^7 Q& _

  716. 2 O! n) `0 r. i' k
  717. ; The root of the PHP pages, used only if nonempty.
    . ~9 T, Q- t* g/ L
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % u# n4 p# K( [% P2 R4 _% i
  719. ; if you are running php as a CGI under any web server (other than IIS)% S; `: Q; m4 ]8 [, M
  720. ; see documentation for security issues.  The alternate is to use the; x' y; D' Z& N9 A' F2 o
  721. ; cgi.force_redirect configuration below' L* \, t$ Y, f& _6 I
  722. ; http://php.net/doc-root! t' N1 r+ N$ ?2 v5 F
  723. doc_root =
    8 s/ r& J: K' k2 M7 D2 e

  724. ; b7 ?- y& w! Q; v' _8 \$ Q
  725. ; The directory under which PHP opens the script using /~username used only
    ; h0 E" n- Z8 U7 w1 Y7 n: R$ R
  726. ; if nonempty.8 C( ]& w  Z0 u& L
  727. ; http://php.net/user-dir
    , Y7 W; r$ |/ |8 t/ L) N( G' ~/ X
  728. user_dir =
    3 {5 L2 L; \/ M/ U! |
  729. 5 X8 Q) V' D+ w4 G( X
  730. ; Directory in which the loadable extensions (modules) reside.
    3 e0 a- I% n) t1 G! X
  731. ; http://php.net/extension-dir
    , F. W. t0 t$ }
  732. ; extension_dir = "./"
    ! B# U3 K; p, A" t! R
  733. ; On windows:8 q& c& A2 l$ _) }$ p" _* F/ z$ W1 d
  734. ; extension_dir = "ext"1 Y6 ?! T: `7 l. t1 ]; j0 M
  735. " X) S. B; X* G) j  J; c/ f  w! A
  736. ; Directory where the temporary files should be placed.
    - w" Y% F7 M+ r) Q+ o0 ^( V9 ^
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ; u7 y; V$ D* Y$ _$ A- V2 U
  738. ; sys_temp_dir = "/tmp"
    9 Z4 j; Z7 h6 n) B2 u1 `7 i

  739. : Q+ ^0 o& W7 u" j
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    . `: J( B, o0 ^  v0 `* N
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ p+ c, _! N! [4 a. A- P
  742. ; disabled on them.
    7 O7 _1 O5 U! U, f7 s/ L
  743. ; http://php.net/enable-dl3 h! `9 O) u+ T* f2 J: X* b) `2 E
  744. enable_dl = Off, y) x% I+ Q* j, b$ h

  745. 7 [. F2 A- G' a/ }& Q2 j
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    4 M+ _+ o- R% T% A8 C% G8 ]) _
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can; j, t* |* K/ r: G" y% |8 P2 @: f
  748. ; turn it off here AT YOUR OWN RISK
    0 K4 m/ h( B5 g1 _
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - z  X' E. n! B' p: g
  750. ; http://php.net/cgi.force-redirect! J" `0 E9 s4 L6 h; }7 q
  751. ;cgi.force_redirect = 1
    0 R6 q9 A8 V. }4 Y/ u; W5 t  o7 A2 y" ]
  752. : ?* e& _. o) k6 g
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with# D1 b1 K8 A5 p2 j+ G
  754. ; every request. PHP's default behavior is to disable this feature.
    8 @* n$ l4 ~9 {# p3 e
  755. ;cgi.nph = 1
    ( X, c+ |4 f, J, q  e4 S; `

  756. 7 D5 J- [$ b% L
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape' @7 \# ^# ~% s/ ~" y7 l1 m
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
      H9 D0 `. G, R
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    8 C6 H4 x- d# O. R9 ^
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    , O( p+ I: y# S$ ]
  761. ; http://php.net/cgi.redirect-status-env) t4 ?+ _1 Q3 @
  762. ;cgi.redirect_status_env =
    4 X3 M2 b' q) s" S) G
  763. / {' ]* x  g+ X9 b
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ! s- J- ?- w2 A9 D6 B; }/ X* W" J
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok/ T$ |0 Y; i2 I6 _* S; E5 u1 P  f7 Q
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting5 o5 Q6 r: {4 g. l2 F; c
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting0 b8 |; C2 b* L' U  x
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      V5 M, X' M$ p6 Q+ L
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    % M: {; Y0 y4 C+ e  X* Q
  770. ; http://php.net/cgi.fix-pathinfo
    % A' L1 W# _/ X: t
  771. cgi.fix_pathinfo=1$ M  p5 b- I0 n; E6 @* i

  772. ' K) S; N- R* Z3 ~
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 y# D# D1 H. n4 {0 S0 N( g! G: e( Z2 y
  774. ; of the web tree and people will not be able to circumvent .htaccess security.! F* D- e% ~: h: e0 Q" s
  775. ; http://php.net/cgi.dicard-path
    . ^2 U5 ~- r$ v6 m
  776. ;cgi.discard_path=1
    : v6 i+ Q/ ?0 u! m; b( v

  777. & p  V' z6 w# b5 n6 x& ]5 G( q
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    . l1 K, Y! i2 J0 b+ N* w, y# s  B
  779. ; security tokens of the calling client.  This allows IIS to define the
    3 Q5 Y6 y- A, H7 w% v4 w
  780. ; security context that the request runs under.  mod_fastcgi under Apache# k! J; a: c, H2 E2 m+ G
  781. ; does not currently support this feature (03/17/2002)
    0 N) _3 H) A; F. j
  782. ; Set to 1 if running under IIS.  Default is zero./ @* K& J& q/ Q5 v
  783. ; http://php.net/fastcgi.impersonate
    ; b  x; e$ }3 I
  784. ;fastcgi.impersonate = 12 o/ O. s; Y: |) A+ n( w& J

  785. 1 Y; G# E3 m5 P
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " b1 t2 T8 n+ O" x
  787. ; this feature.3 o3 t4 d8 x+ A- l7 `8 I  c" A; i( F
  788. ;fastcgi.logging = 0
    ; I; ~, l) o6 o2 l2 T# A
  789. 9 @8 }! y% h0 ]
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to/ z6 B0 U6 Y  P' I, A, W- Y; W
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( ]" D$ ~6 ~& X- z  N- u- m
  792. ; is supported by Apache. When this option is set to 1, PHP will send" \: f8 N$ ]; q1 Q/ u0 J
  793. ; RFC2616 compliant header.
    6 g5 g7 B6 |, k8 O6 I- }
  794. ; Default is zero.( F+ i7 X& S, `) D3 n
  795. ; http://php.net/cgi.rfc2616-headers) Q! @# j0 H8 _1 n% |  d
  796. ;cgi.rfc2616_headers = 0
    / ?" B/ t6 d+ F3 G6 h, \. C, W
  797. * A4 b) t. A& R
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!! A+ H3 r9 Y: a
  799. ; (shebang) at the top of the running script. This line might be needed if the- k. u/ E) ]* y" H0 A* @
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 l4 d* L2 @7 ~  B: I  \% J/ S2 @
  801. ; mode skips this line and ignores its content if this directive is turned on.
    : ]" R0 T8 g% L9 s2 S5 R
  802. ; http://php.net/cgi.check-shebang-line, j' L2 C+ T+ ^* d2 `* z5 n4 A) n
  803. ;cgi.check_shebang_line=1
    : a' G2 k# m1 Q9 I& H, R
  804. ( m' p2 }- J- J
  805. ;;;;;;;;;;;;;;;;
    6 T! f* V+ \# G
  806. ; File Uploads ;
    : [0 ~1 L$ d6 p5 S
  807. ;;;;;;;;;;;;;;;;
    " @( a' @" l8 K+ R1 b
  808. 7 R6 v& Z, c' V3 E4 y0 I5 p9 G
  809. ; Whether to allow HTTP file uploads.9 I! r1 ~/ p# n8 N1 B: e
  810. ; http://php.net/file-uploads
      c! @. C7 R! F( y
  811. file_uploads = On# i: s8 ~0 J, k0 ^8 d- O

  812. ' k& Z* S  I' S6 u3 T9 G% g
  813. ; Temporary directory for HTTP uploaded files (will use system default if not6 B- O+ j/ @! E/ o, _" V5 ]# z" I
  814. ; specified).
    4 ~4 V9 r. R* n8 ^: E2 t
  815. ; http://php.net/upload-tmp-dir
    7 I' S3 @3 Y/ y6 Z5 _
  816. ;upload_tmp_dir =! |* A  x' x9 H' V

  817. . _8 u7 U$ Q) p3 p# v+ P
  818. ; Maximum allowed size for uploaded files.
    1 p; x* a& j. ~  E
  819. ; http://php.net/upload-max-filesize  O% o6 l( Y5 r5 s- N# c
  820. upload_max_filesize = 50M- W. ^( R+ L/ q4 q8 |+ O

  821. 2 P) c' \  a. p
  822. ; Maximum number of files that can be uploaded via a single request
    2 j3 V" }; Z0 K" r7 Y/ V9 Z4 @& \
  823. max_file_uploads = 20
    + V2 y6 R5 B& O1 X6 f* k; o
  824. 7 ?* j# H' S, b4 p5 s
  825. ;;;;;;;;;;;;;;;;;;
    ' }8 W9 |! C" B) ^1 k3 p
  826. ; Fopen wrappers ;+ a) i3 S7 X+ T4 D, ^; e
  827. ;;;;;;;;;;;;;;;;;;' `; }6 `. S# {) R2 H

  828. / v. |" {) t1 v+ [4 t% O
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    6 u1 j! W. |0 K% V
  830. ; http://php.net/allow-url-fopen
    . u3 p- K! l- u  u
  831. allow_url_fopen = On' M8 R1 l/ q' A: W: o
  832.   G9 }/ t+ H5 r3 ~6 _1 X
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    0 P( y. o7 j$ O6 c3 h! ]4 i* g5 _
  834. ; http://php.net/allow-url-include! n- Q, u; {0 L" ~, M
  835. allow_url_include = Off
    8 d. ~/ E3 i+ L$ N2 N" C: ~; I

  836. . J4 r: j* Z0 t- |* u  P; D) e8 l  L
  837. ; Define the anonymous ftp password (your email address). PHP's default setting1 ?3 X; L" O+ l
  838. ; for this is empty.% W! r  s3 ~- ]9 e  |/ f
  839. ; http://php.net/from
    . O! Q6 D8 F' L8 T
  840. ;from="john@doe.com"6 U0 n( u; z/ L* m0 l1 `- M7 ^

  841. ( G! D9 Z; G8 w9 w5 u2 X
  842. ; Define the User-Agent string. PHP's default setting for this is empty.1 P$ s1 b+ b" f1 \0 U" b( K
  843. ; http://php.net/user-agent
    5 e# V. b6 Q/ C# M# F- t
  844. ;user_agent="PHP"
    ) Y; ^5 ]. J5 G, N

  845. " A% e) R: }5 _( z1 G& d
  846. ; Default timeout for socket based streams (seconds)- l' `" K6 I! I: z: l  b
  847. ; http://php.net/default-socket-timeout7 n9 U- A" Y2 z$ d; l9 M
  848. default_socket_timeout = 608 I5 d4 }; o. y5 P0 i( C4 A
  849. , k1 y0 |3 G; K1 J1 R
  850. ; If your scripts have to deal with files from Macintosh systems,
    - ^) d9 x8 v" L! s, X2 I+ j
  851. ; or you are running on a Mac and need to deal with files from2 j; v4 i) M3 ?& z5 A9 ?- r7 T
  852. ; unix or win32 systems, setting this flag will cause PHP to
    - G3 P% o0 P  o
  853. ; automatically detect the EOL character in those files so that! k: R; [8 o) Q* U) L
  854. ; fgets() and file() will work regardless of the source of the file.% k( N1 _! ?  l3 G
  855. ; http://php.net/auto-detect-line-endings' p" o- g; Z7 g* H. M1 J& D5 ?
  856. ;auto_detect_line_endings = Off
    6 @) l9 R$ v0 b% {# p" r1 H

  857. $ l% _/ U; [3 p* c3 ^) T
  858. ;;;;;;;;;;;;;;;;;;;;;;
    7 C$ e/ @5 [- Z( @* u
  859. ; Dynamic Extensions ;
    5 N2 N! U+ l& ~9 h* d- Q0 f9 Z1 j
  860. ;;;;;;;;;;;;;;;;;;;;;;% i$ A  `' d7 C) D% q# D
  861. 5 }' ]+ v( U9 h6 R
  862. ; If you wish to have an extension loaded automatically, use the following
    2 b% `* w1 g; k' `6 ~  Y, n) m
  863. ; syntax:
    2 G( m1 M# g; c& r. k! v2 V/ V
  864. ;- [' P' {$ Y! f7 b
  865. ;   extension=modulename.extension
    6 e3 B  l) H' k5 S
  866. ;
      U  Q8 \4 }5 ~
  867. ; For example, on Windows:
    4 G- J& t9 ?; y# a
  868. ;
    7 c$ g- r/ r5 i# L' ?
  869. ;   extension=msql.dll
    + p; E" `, N: j
  870. ;
    5 ?; J3 x! L  s0 ^. l, x
  871. ; ... or under UNIX:3 L9 {3 X4 |; G( j. e. a+ n
  872. ;0 p9 H$ C" a1 m2 U8 p
  873. ;   extension=msql.so5 b, i" ]  r, U
  874. ;
    6 w% |- l2 }" I9 T% t+ ^
  875. ; ... or with a path:
    $ `" h4 p+ [; S2 }4 s
  876. ;
    1 L2 s& A: a' G, y8 P2 |, x& x  |( a
  877. ;   extension=/path/to/extension/msql.so9 O5 V( ]1 b6 }1 y2 A9 G
  878. ;0 A  ^0 I4 k1 m5 z0 L) _
  879. ; If you only provide the name of the extension, PHP will look for it in its* L6 {/ g& @5 A  k
  880. ; default extension directory./ b; [; b$ L' j' R/ K
  881. ;
    4 C) {) E0 n- s6 A7 K
  882. ; Windows Extensions
    9 w, N; z( o7 t4 s! u" e
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    7 r" r/ u# p& i) y
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)# j4 R% o+ M& s; r) h
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).* U0 D9 E! f6 z: @9 c  F
  886. ; Be sure to appropriately set the extension_dir directive.
    - b2 J' b5 w' `' {  {! H) O- \
  887. ;& _/ I1 B6 H( V: u* f
  888. ;extension=php_bz2.dll
    # J# b/ C, R0 V- P4 j: f! L, v* z
  889. ;extension=php_curl.dll
    # w( n; t" R% T3 V: v
  890. ;extension=php_fileinfo.dll
    8 }& @) F2 O1 p- y0 `! W
  891. ;extension=php_gd2.dll1 U# b3 A# h  `: w  [' n/ `8 S
  892. ;extension=php_gettext.dll
    - c" F# S3 T. p: z. V# w) t
  893. ;extension=php_gmp.dll5 S2 h: q4 l* ], A8 ~  n
  894. ;extension=php_intl.dll
    7 g/ ~9 b5 n! ]
  895. ;extension=php_imap.dll
    / n; h% k1 E: [1 r
  896. ;extension=php_interbase.dll
    - _; L7 G* h) g
  897. ;extension=php_ldap.dll
    ; j7 @0 Z7 P* a: E, F8 ~
  898. ;extension=php_mbstring.dll7 G! G: N$ H5 A1 b& x& {. w
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 h: G4 s& X7 L4 g2 E) ?
  900. ;extension=php_mysql.dll
    % L6 W4 \+ i+ w% ^' _* e/ @) c! R
  901. ;extension=php_mysqli.dll
    , N; v! m5 ^% T8 M4 s
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # n$ S0 t% q; s
  903. ;extension=php_openssl.dll& f1 K2 B% }0 C9 L5 Y4 }
  904. ;extension=php_pdo_firebird.dll2 X! A" v  I. j& e& b
  905. ;extension=php_pdo_mysql.dll
    % O8 S2 l4 M7 y# a% y% q$ N
  906. ;extension=php_pdo_oci.dll
    ; \9 C$ S6 m$ @" i# o: M
  907. ;extension=php_pdo_odbc.dll
    . e, W- ]' E: }5 g1 x1 ^3 `
  908. ;extension=php_pdo_pgsql.dll) a2 e8 S* s, Y' }& |
  909. ;extension=php_pdo_sqlite.dll2 W. ~+ T! y# x
  910. ;extension=php_pgsql.dll) _$ I5 Y! A! \$ a5 L1 [: Y1 Z( G
  911. ;extension=php_shmop.dll
    4 O1 ~% ]6 _5 Q0 l8 u

  912. ( f/ i0 L: C  Z& q- b4 ~3 ~6 ]  E4 \
  913. ; The MIBS data available in the PHP distribution must be installed. 0 r9 j9 y' ^' B7 |1 U  R
  914. ; See http://www.php.net/manual/en/snmp.installation.php 1 V, ^; B! d5 p9 I$ Z$ G* N8 Y5 n
  915. ;extension=php_snmp.dll
    1 F9 I, A6 E. f* D7 a5 n9 [$ G
  916. " }; P' G5 G2 a+ P; g
  917. ;extension=php_soap.dll, ]9 v/ {) T! R" J: S2 h7 [5 l
  918. ;extension=php_sockets.dll
    ) j/ @+ d6 h. V- R$ |
  919. ;extension=php_sqlite3.dll
      N8 Q0 Q0 d* h) R% [+ W
  920. ;extension=php_sybase_ct.dll
    ; n: D$ P& v0 s2 R+ P' `4 i
  921. ;extension=php_tidy.dll0 [" S3 `' M8 V. H: G: P
  922. ;extension=php_xmlrpc.dll
    & g/ |' F  F, s/ q5 \
  923. ;extension=php_xsl.dll
    " V/ }9 \5 J' ?

  924. ; J6 L% \& T/ Q4 \! I
  925. ;;;;;;;;;;;;;;;;;;;9 a! U( b9 W! O2 a) C; R
  926. ; Module Settings ;! p/ U- I+ z( t! y$ K4 _
  927. ;;;;;;;;;;;;;;;;;;;  E. U& x9 v! B

  928. 1 H. a' Y* Q# {" B. X- Q0 R
  929. [CLI Server]
    $ D4 U1 X- V" f$ _# B2 p( f
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output." C) u* v' X2 t$ V2 _4 s: L5 h
  931. cli_server.color = On: {4 m2 w7 ?$ [* V2 J3 N. N

  932. ! a/ c3 `8 Y" J' l9 b  @
  933. [Date]+ H  G4 [0 @* }$ V$ b* C
  934. ; Defines the default timezone used by the date functions
    . I: n0 t, q  x6 H; [
  935. ; http://php.net/date.timezone! g# V3 @7 m- I+ ?! T
  936. date.timezone = PRC: ?  L" i9 k, ]# q* a

  937. ' j; J7 l" K9 X; {8 E: b
  938. ; http://php.net/date.default-latitude2 i. U& s8 B! B' V; M  U5 b7 d' a" M
  939. ;date.default_latitude = 31.7667
    ) X8 E+ A. |/ L0 @' X5 \  X

  940. 2 I: C5 u' o+ F& _; d
  941. ; http://php.net/date.default-longitude
    . H$ F, Y; R5 A5 Y9 g& c0 b
  942. ;date.default_longitude = 35.2333
    - T2 ~$ S: g* x) n

  943. : i, R- T! }7 ^6 e' f3 h; S
  944. ; http://php.net/date.sunrise-zenith
    & g) V: g" \2 H: y& f. @& W
  945. ;date.sunrise_zenith = 90.583333
    & C, w, [/ r, X1 V) M+ E5 M
  946. 3 r. Y9 t) |  O, A
  947. ; http://php.net/date.sunset-zenith- o+ e. `1 T9 C/ l+ Y. A+ e3 `
  948. ;date.sunset_zenith = 90.5833330 n* G, Y7 v) w9 X1 [
  949. 2 Z0 f; e# L  }
  950. [filter]
    * D5 k9 B* S2 g6 T
  951. ; http://php.net/filter.default
    3 s0 j, P2 N) }. O3 ~- ?# m3 x
  952. ;filter.default = unsafe_raw
    4 y# U# a- y$ e  E4 _
  953. 6 F2 v$ q7 @4 n( L! A
  954. ; http://php.net/filter.default-flags
    ) {1 w# b. b2 G0 H/ V. |
  955. ;filter.default_flags =
    ) b+ y; s, g. V, l6 c0 T
  956. : G! U' Y9 ^: M6 K9 Y
  957. [iconv]( [) I) r4 }0 e) t
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.6 c; I8 r$ W$ [. C( R! u
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ r% A9 E+ P# h) k7 A1 n9 X# \. ]1 }
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding; Y# A6 L5 `) T3 d" J, Z% c
  961. ;iconv.input_encoding =
    6 b5 R# t& t6 G# W

  962. , \! G2 x. T6 e' i# X
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ {3 k9 D/ Q3 H8 F9 I, l6 E+ |* t  n
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 E: m& z& V! j+ t  Y% I& A" U
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 V  j) w3 s( j7 Q! \0 p1 e0 y' Q
  966. ;iconv.internal_encoding =
    7 s1 v6 `# F4 E) [9 ~* C
  967. # H2 N9 m8 P( b4 @6 Q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 e8 m1 T- f+ n+ R' I
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.( D& x) u$ Q  b+ A
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding+ a/ o0 w" T/ C) p0 Q% K  g
  971. ; To use an output encoding conversion, iconv's output handler must be set. ~' @. r: }! N8 d" q7 i% Q
  972. ; otherwise output encoding conversion cannot be performed.+ ]- I6 k) q2 l/ a  D
  973. ;iconv.output_encoding =
    , E9 g- y) ]+ M. `, \$ q1 |

  974. 0 q0 d/ ]' M6 j' Y( b5 g; w  Z- y
  975. [intl]
    ; r; q  g% Q9 r
  976. ;intl.default_locale =
    ! A! U4 x6 R# Z  j2 x
  977. ; This directive allows you to produce PHP errors when some error
    ) M/ q% a+ X% S: I3 }% \5 T
  978. ; happens within intl functions. The value is the level of the error produced.
    / k  w4 A7 K" T/ u
  979. ; Default is 0, which does not produce any errors.$ `, Q# q# G( A1 W
  980. ;intl.error_level = E_WARNING0 e, h* k/ m% [9 R
  981. ;intl.use_exceptions = 0' n+ B3 Z+ d: ~6 P
  982. 6 b6 w( I& W& E+ X# a
  983. [sqlite3]
    6 H, y4 T% ^1 M* n3 T5 @
  984. ;sqlite3.extension_dir =
    ! b3 {9 |9 F. D
  985. $ D- j9 ^# J! w; J" N. p: K
  986. [Pcre]. @6 ?( s8 g# K
  987. ;PCRE library backtracking limit.. \5 V; Y# ?( U) v$ X$ w% d  L' d
  988. ; http://php.net/pcre.backtrack-limit5 G8 R! l9 }" D5 k# D) g& T
  989. ;pcre.backtrack_limit=100000
    ; m% p* ]" Z9 H; v# r0 o9 ]

  990. 2 K) Y1 K3 U; z+ V1 m9 S
  991. ;PCRE library recursion limit.
    ( z  s: b  I* r' o
  992. ;Please note that if you set this value to a high number you may consume all
    1 q' `+ q) I2 U' [4 J
  993. ;the available process stack and eventually crash PHP (due to reaching the& g7 B$ [5 x7 Z) l6 Z2 S
  994. ;stack size limit imposed by the Operating System).6 E4 @4 \" G& T% c" C
  995. ; http://php.net/pcre.recursion-limit
    / y9 P. M0 a4 C  o/ B9 N
  996. ;pcre.recursion_limit=100000( k" K9 O. M( u, f
  997. 0 w. k  z- Z  `! I) h( P
  998. [Pdo]) [9 K4 b- O, A9 T& }+ `
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ! J+ Q3 T4 T0 h
  1000. ; http://php.net/pdo-odbc.connection-pooling
    $ U% L8 [; C9 p! @' Z2 x* H
  1001. ;pdo_odbc.connection_pooling=strict; |" q) ]/ Q+ d
  1002. & x6 t9 N/ q: n+ w
  1003. ;pdo_odbc.db2_instance_name  {* h! J; }% o5 I/ o- A
  1004. 2 n, k+ v# \2 ?: y
  1005. [Pdo_mysql]
    8 b- H$ {9 N0 Y. d7 d7 ], }* u1 U
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ G" {9 e1 N1 D. K" b) B" g$ V: |
  1007. ; http://php.net/pdo_mysql.cache_size5 P" M- z. D! c0 X* V
  1008. pdo_mysql.cache_size = 2000
    + I& Y( H6 e: K: w' B" K) x* T' v
  1009. 2 R' w  ^8 I& ^8 _
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in# ^5 r2 f! p- G' U1 e
  1011. ; MySQL defaults.! J# f% I6 q) @
  1012. ; http://php.net/pdo_mysql.default-socket# [+ X, f7 J% f( a* b7 l3 ~$ l
  1013. pdo_mysql.default_socket=: H6 |; @( R) ], }1 ^) y+ R

  1014. # [/ {- g$ `; Y+ n# u4 K) ~
  1015. [Phar]- u2 c$ z0 ~9 h9 S4 O: p+ {/ W# b
  1016. ; http://php.net/phar.readonly
    8 z- ~" D* q1 A; m0 p: J
  1017. ;phar.readonly = On* A  C; U# {2 ~( d
  1018. 8 l$ y- X8 }) v/ p) r6 m; l4 R8 v( B
  1019. ; http://php.net/phar.require-hash8 p! O9 ]! K9 J4 ]3 m
  1020. ;phar.require_hash = On9 C3 F9 @' X/ f' f

  1021. ) H0 w1 z5 Y. a  h3 d7 e; g
  1022. ;phar.cache_list =
    9 j3 E, C3 o2 p0 J: D  N  U- F
  1023. 2 `' q0 d: s2 ]
  1024. [mail function]
    % b) h% I; P; M$ j3 ^
  1025. ; For Win32 only.- R- }. g6 \4 b# ^! ]0 c& d# L
  1026. ; http://php.net/smtp
    * S4 F$ R$ l! a) G  M
  1027. SMTP = localhost& a" Q$ n/ b$ M- \- m) B
  1028. ; http://php.net/smtp-port, a/ d5 K! h' ?* |, z# F
  1029. smtp_port = 25: z0 y5 q  ~  B# v

  1030. % @  t# K" A+ l' M+ e
  1031. ; For Win32 only.
    % F* N3 B! s( \) K
  1032. ; http://php.net/sendmail-from
    5 j. ~" r% p' j5 e6 v2 {# Q
  1033. ;sendmail_from = me@example.com+ m7 {  R8 S: I- n7 g% v' D1 w+ Z6 ^
  1034. 7 }. Z. z" C7 `& c8 c& F9 f
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    $ T9 h) ~& [3 R) `+ c
  1036. ; http://php.net/sendmail-path4 R$ G) Y; H8 [
  1037. sendmail_path = /usr/sbin/sendmail -t -i4 W  u) ]' n, X3 z
  1038. 2 \1 H& l/ G8 y) J: v
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    - c! V0 g2 R% m( Z: b
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ! r' K8 ?) S) S/ t1 P# f
  1041. ; the 5th parameter to mail().' L. ?+ S1 P) J1 I: B+ n- j
  1042. ;mail.force_extra_parameters =
    * z3 b* N5 Q; B5 @4 U; Q
  1043. . D; |+ o( G# o7 S
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% B9 F( O6 y2 Z& _% Z4 a) c- V' x
  1045. mail.add_x_header = On5 p% P7 t' Z1 u' O+ t1 k4 A0 d* m
  1046. . o; ]* o. {- V" |. h. C
  1047. ; The path to a log file that will log all mail() calls. Log entries include) g  K/ j6 U$ X9 ~& J9 w
  1048. ; the full path of the script, line number, To address and headers.
    % D. @3 j7 b; H0 \7 N
  1049. ;mail.log =
    $ ^  s- O# M# [0 B1 V0 [+ B
  1050. ; Log mail to syslog (Event Log on Windows).
    & y2 F8 A! f+ ?9 u( E: {( K" G! h
  1051. ;mail.log = syslog
    ! Q6 H' ^. h' |/ U) D" q
  1052. % J/ N0 @' w0 O. Z  i
  1053. [SQL]
    . U0 l1 A; s" _) p1 S3 h. e* j
  1054. ; http://php.net/sql.safe-mode6 B( a* C: a" T; t& [# i! F
  1055. sql.safe_mode = Off3 t$ ]( L. T* w2 R+ ?2 c% T* @: ^7 [

  1056. ; I3 e, T& ~) E9 ^/ p
  1057. [ODBC]
    " u  I0 C  G# w' G( c
  1058. ; http://php.net/odbc.default-db
    3 K, x5 B4 p% ]! y3 e( S: [2 l
  1059. ;odbc.default_db    =  Not yet implemented1 ~% g/ C8 R! b

  1060. 3 M: J" I$ V; B
  1061. ; http://php.net/odbc.default-user
    % L' n% ]; b6 k) |+ \1 l0 z
  1062. ;odbc.default_user  =  Not yet implemented$ }' \. h$ s8 K2 _" G8 Z
  1063. 2 h# E# K- U. g: R; S2 |( S5 m
  1064. ; http://php.net/odbc.default-pw
    - l# R6 h; f& H4 T3 U
  1065. ;odbc.default_pw    =  Not yet implemented
    ( i9 m, W% D) H# W9 `: E; O
  1066. 0 J: a1 ~! @+ m* v7 X, N; _8 C
  1067. ; Controls the ODBC cursor model.9 }# Y; N& o! s; a  c# k* A
  1068. ; Default: SQL_CURSOR_STATIC (default).
    * V7 D$ V4 J& p( `/ j1 Y1 w
  1069. ;odbc.default_cursortype& J% G$ [# l, }& I

  1070. 1 ?# H- s7 X) A' U' j( F
  1071. ; Allow or prevent persistent links.
    9 v2 M* i0 z* a) _& D& M
  1072. ; http://php.net/odbc.allow-persistent
    8 y" Q+ k4 X# s# K; g9 p
  1073. odbc.allow_persistent = On: T6 m* k3 W/ n7 B/ z/ Z: k2 U
  1074. ) w- c  n0 n& r& Y7 H$ z" d3 W  O
  1075. ; Check that a connection is still valid before reuse.3 \' T0 O5 @! Q; G- }: M+ A
  1076. ; http://php.net/odbc.check-persistent: H7 T0 `6 ]8 @2 x1 E' @0 `- K) ]/ m
  1077. odbc.check_persistent = On$ R9 j2 W7 c* b/ G4 T0 \
  1078. 2 n) d. l9 b+ j% e( A
  1079. ; Maximum number of persistent links.  -1 means no limit.1 j, _! H# ~& X8 |, p7 L
  1080. ; http://php.net/odbc.max-persistent8 R: F. |0 X3 v# Q$ @
  1081. odbc.max_persistent = -19 \; f; R) Z4 `  y9 B" P8 }; q
  1082. * G, F5 g& T4 z& w3 r9 B
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % z5 v7 c% n8 a* w
  1084. ; http://php.net/odbc.max-links! G) |  X( K2 w; j; F" Y# K0 Y
  1085. odbc.max_links = -1- b0 w0 S& k7 _3 S( T9 Q  ]# P
  1086. % w: W- V7 V" R$ Y6 M
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means$ E" _3 n' [- e: u! U- Z5 @
  1088. ; passthru.
    : {, C% |& v; C$ Z( Y4 j  y
  1089. ; http://php.net/odbc.defaultlrl
    4 Y; G$ n9 I9 ]
  1090. odbc.defaultlrl = 40961 M: [* p8 n( p& _# r, |' F! b) E
  1091. - d) ]: _) x' l) k
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.5 F! `  T; r5 B, j/ k0 J
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    & O* R  K! J2 d. ]
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode  x( j% b4 t) v; F3 K0 o, j$ |
  1095. ; http://php.net/odbc.defaultbinmode. g' ~# R7 J, ~/ ~" ]7 Y
  1096. odbc.defaultbinmode = 19 [+ R' B+ M' u% w, p
  1097. # \- x( v+ L4 v7 _) C. S3 G
  1098. ;birdstep.max_links = -1$ h1 z9 N' \8 w8 z( P
  1099. + L! t6 R0 Y) Q$ v
  1100. [Interbase]
    1 m0 F* t- x5 G- A$ t
  1101. ; Allow or prevent persistent links.( |3 X5 z  m8 N- @# I0 ?
  1102. ibase.allow_persistent = 1
    % _1 h: x8 ~9 V! w

  1103. ! m) j4 C1 Z; S: \+ X, O( ^& P
  1104. ; Maximum number of persistent links.  -1 means no limit.0 s9 ?/ @/ G4 ]: e6 p
  1105. ibase.max_persistent = -1! G" S9 ^; y" E# [
  1106. 4 r% d1 a7 L; Q1 M. b
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( J$ h8 G* I* L
  1108. ibase.max_links = -1
    ! `9 N" J6 O; d* [2 {

  1109. ! Q( c5 n! l! ^; }4 p! [  `: o  F
  1110. ; Default database name for ibase_connect().  @& ?7 H% I9 w  E
  1111. ;ibase.default_db =" E2 a: M7 _$ p
  1112. ' |4 A5 t; ~- o; {) L! G5 q$ n
  1113. ; Default username for ibase_connect().
    ( v! R8 K9 c2 Z( c5 m0 u$ U
  1114. ;ibase.default_user =
    / ~2 Q: m# ]1 f: Q
  1115. ! n4 {! Y8 H6 {& L9 m8 g- `: G
  1116. ; Default password for ibase_connect().
    1 W0 N, f/ ~) U$ }+ R
  1117. ;ibase.default_password =
    1 a: V/ n! y6 j' L1 A% {4 g0 |* a

  1118. , x/ n7 W4 ]1 T* q& H* v
  1119. ; Default charset for ibase_connect().' [% Q/ }5 ]) ?, v+ {
  1120. ;ibase.default_charset =
    1 J6 f% V9 a  V5 u2 `

  1121. $ l: j3 u) l: F1 f3 B0 v3 Q
  1122. ; Default timestamp format.- k! }, T3 l! f
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , ^+ I- I  C$ ]% @/ ~4 _0 e& |* e. s

  1124.   r) @1 \; l' l: z: U, f! c7 a! w8 @0 n
  1125. ; Default date format.
    3 \7 G" V+ }3 `0 t; ^  f! x8 Y
  1126. ibase.dateformat = "%Y-%m-%d"
    2 y1 S* v. u2 l# j8 ~

  1127. ) E$ U* V" t9 u- |' r1 W% X& V4 p
  1128. ; Default time format.- V' }( c; a0 G) u
  1129. ibase.timeformat = "%H:%M:%S"6 j* v3 Y  I0 I

  1130. 5 y& ?$ T% P5 r' E8 Q: L
  1131. [MySQL]& \. \# d- }+ l
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . _; D; I& i0 z0 ~) U. n
  1133. ; http://php.net/mysql.allow_local_infile
    & H& J$ l6 V9 J5 g# K3 s/ z- P) `
  1134. mysql.allow_local_infile = On$ e  C: H& ?# q2 L+ Z( Z
  1135. ' A, h1 ?5 v: {/ M1 a# e
  1136. ; Allow or prevent persistent links.. t7 h7 S4 `; B6 X: F
  1137. ; http://php.net/mysql.allow-persistent
    & Y4 ?* d& \& E- Y* @( J
  1138. mysql.allow_persistent = On# t5 {; V) k1 L3 _3 i

  1139. 4 |: \3 a7 c7 Z  q- H+ \) u; s# W
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 \( [: ~" F3 X/ @; {
  1141. ; http://php.net/mysql.cache_size8 J1 {5 S3 C: i, }9 n
  1142. mysql.cache_size = 2000# `& Q6 [' g( K7 t/ N: w/ j
  1143. ! K1 [+ x+ @/ ^3 N. u
  1144. ; Maximum number of persistent links.  -1 means no limit.
    $ {! K, r8 |" X
  1145. ; http://php.net/mysql.max-persistent
    ' Q7 S( T1 R3 K8 v+ j" F$ g
  1146. mysql.max_persistent = -1. x( N! ~2 t* W' V9 a$ [

  1147. ( Y  [4 }  V" x- M( ]4 i. U/ {
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , G; _+ B* y7 I. b! s1 i7 a
  1149. ; http://php.net/mysql.max-links
    3 P+ g& t0 g: x8 h5 U$ N
  1150. mysql.max_links = -18 q$ F* ]2 A6 U& a' P9 e

  1151. ( d" Y9 T  w4 Q5 T
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use; G& [4 P$ f9 e& @7 \0 q- E  w
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 h  D$ f- q) S+ G% a  @8 `( F
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ U( Z2 {# C9 @
  1155. ; at MYSQL_PORT.
    1 m/ Y- q$ X6 ?
  1156. ; http://php.net/mysql.default-port
    6 `( G" U* X5 D3 n9 [" e9 P
  1157. mysql.default_port =3 |$ g' q( F. _2 O2 x/ l: [; ~

  1158. 0 ]( f" |8 W9 ~3 i$ E) V# ~) D
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' a0 P/ e# z0 Q0 M# K8 p+ |4 d) _3 H$ u
  1160. ; MySQL defaults.
    . ?' E4 T1 J- P, Y: T6 M6 L6 {+ E- d
  1161. ; http://php.net/mysql.default-socket6 P0 L& D/ U# A7 Q4 M
  1162. mysql.default_socket =
    $ c4 ]! W4 d0 l1 ^
  1163. 8 o/ d. H- I( P
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).+ l, [  V( V2 h0 f( l
  1165. ; http://php.net/mysql.default-host
    6 l9 U6 a4 Z5 m6 u/ h
  1166. mysql.default_host =/ i% \7 B- k7 m1 d3 _' e
  1167. 4 K/ A  L  u- k9 h
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).* f3 v) x( M+ r- m' X& V
  1169. ; http://php.net/mysql.default-user
    1 I2 m. o4 Q4 y) y0 P  U
  1170. mysql.default_user =1 s9 w3 p* h! d' i0 ^# l4 T
  1171. + \/ A& u  I2 a! e
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    & A: R& C/ }% g! h8 |5 R1 v
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.. A/ p0 M4 X. q: M9 l) c
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    5 F, d% T7 @5 `, i, X, D
  1175. ; and reveal this password!  And of course, any users with read access to this" b) y9 i5 Y: G: j$ n9 n( h4 q
  1176. ; file will be able to reveal the password as well.9 I1 I' u1 h6 x: T+ o) I# r/ }
  1177. ; http://php.net/mysql.default-password
    ! f7 d3 I2 k9 u- x- A
  1178. mysql.default_password =
    $ P) @4 K1 m" N5 `3 G
  1179. 0 Z* o9 u) q. N) a; o
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit1 l6 u0 @# w; q
  1181. ; http://php.net/mysql.connect-timeout
    / i; i- T: F; ?1 X+ w, W% x' M2 I
  1182. mysql.connect_timeout = 607 u- u8 e% i2 q  h( U# L
  1183. 9 N( U! b8 b4 v
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and9 ~" d8 r! i- P" j! V
  1185. ; SQL-Errors will be displayed.. a7 o8 w3 f& @
  1186. ; http://php.net/mysql.trace-mode8 b% k3 f9 s4 `! _) q/ U
  1187. mysql.trace_mode = Off
    & r4 M; v  z$ N6 u, Q9 [4 z6 I
  1188. 1 q" a# D) K- g! A
  1189. [MySQLi]
    * e1 ]0 T  M! c9 S8 X3 `9 [. W
  1190. 0 P' d& D5 @2 \5 c$ a
  1191. ; Maximum number of persistent links.  -1 means no limit.8 O0 R% s' E! @4 w/ @& C
  1192. ; http://php.net/mysqli.max-persistent
    # }% K# F! Q& {& p, L
  1193. mysqli.max_persistent = -1- R1 ~6 |7 e* u8 v
  1194. 5 @" @3 B3 E, c' h, `
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! f# ?2 l6 m5 I6 |" e/ R7 Y% c
  1196. ; http://php.net/mysqli.allow_local_infile( c4 V# @9 q# [/ Y. Y, C
  1197. ;mysqli.allow_local_infile = On1 x) \/ m9 m6 p4 K$ i- ]3 ]
  1198. / D: x& _& s+ I7 |9 w
  1199. ; Allow or prevent persistent links.
    * X$ f2 a5 v) K0 `7 u- J. I4 f# V3 D
  1200. ; http://php.net/mysqli.allow-persistent
    5 V4 V/ `, e+ J, `+ e0 U: D' |
  1201. mysqli.allow_persistent = On" y% R6 X" W# b; m' p1 c1 [+ U

  1202. 5 [2 H$ p& s! M! O* Y! u& E& L
  1203. ; Maximum number of links.  -1 means no limit.
    # a% u/ W- i. d% `. u) g
  1204. ; http://php.net/mysqli.max-links3 s2 F  i+ W7 V& g6 a  |
  1205. mysqli.max_links = -1
    , i6 F; u$ R: o7 l8 ^; l: Q+ `
  1206. ( E1 V; R4 u2 w1 R: i8 M
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 f3 p- g  \3 G1 l5 P
  1208. ; http://php.net/mysqli.cache_size2 X, Q, |: h: L  @- l
  1209. mysqli.cache_size = 2000
    + t9 {6 W0 [+ W  L
  1210. - t" c* d% J) z2 B% Q8 j" t
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use% S1 j( ^( }; E
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ d0 a+ B( X3 j( j" x! q3 \
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look9 h0 a- R8 ?; o* _0 P
  1214. ; at MYSQL_PORT.
    ! K8 D& g6 T# o
  1215. ; http://php.net/mysqli.default-port
    ! ~  D+ F) N; j% Y: d' ]3 }9 u
  1216. mysqli.default_port = 3306# ?, p6 ]4 U- n+ K$ p
  1217. & C! H$ O6 m3 f8 I3 K+ g% H
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 a+ q3 n0 Z9 T. C( M* {! C
  1219. ; MySQL defaults.- D( \! k$ S% F0 z( J
  1220. ; http://php.net/mysqli.default-socket* i, U3 l; z( F9 z! [, N( ?) U6 v0 ]# |
  1221. mysqli.default_socket =
    # X, e4 z/ R8 Y4 q* q& a3 M* m

  1222. " _; N; U  S% K! y, M7 [
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 W3 w- o) }/ c" U( A% j# B2 h
  1224. ; http://php.net/mysqli.default-host
    # l2 R" d6 W, L0 a- h/ e# W* D/ o) W
  1225. mysqli.default_host =
    : n8 y, V2 U% s: X! ^' l# l

  1226. : P4 l* J2 W" J; r  p
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).) T1 ~# w5 H8 }! G' n
  1228. ; http://php.net/mysqli.default-user
    # @, a; F  q" H: ]
  1229. mysqli.default_user =5 w/ s& q5 B5 B6 ?: A8 b; \: B2 [

  1230. & t: a% z' ?' T% k3 H
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).6 V, k4 U5 X$ Y2 E, @, ~! N0 a
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    , K% Q' G4 b. }
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")# U! s0 v/ x. k7 n1 f8 I$ Q/ E) E
  1234. ; and reveal this password!  And of course, any users with read access to this
    * K/ K( T5 x* f: N2 J: Q7 U' l
  1235. ; file will be able to reveal the password as well.
      s0 O+ @- K3 a! a! b' Y3 g
  1236. ; http://php.net/mysqli.default-pw0 z3 ~* G# b/ m, D+ `5 D
  1237. mysqli.default_pw =
    # h8 r, i5 c9 Y# y

  1238. + j: ?. I& `; v
  1239. ; Allow or prevent reconnect
    $ \- l* s* P. V0 A& Q
  1240. mysqli.reconnect = Off) C3 Z: F1 Z2 N* s

  1241. 3 a  Z2 b0 f( p  B3 o8 U" u6 P  f
  1242. [mysqlnd]
    $ g; j5 I* C" [
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    - v) c! G! X6 {# T+ y
  1244. ; used to tune and monitor MySQL operations.- |7 Z. H+ T; m3 i
  1245. ; http://php.net/mysqlnd.collect_statistics$ \; c% {  h- G- a- q
  1246. mysqlnd.collect_statistics = On
    ' b3 ]7 }' y$ f5 {9 ?
  1247. & C8 z: Y/ r6 F" s) ~5 P
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    * m+ |' l$ N3 M1 s( E) E3 D
  1249. ; used to tune and monitor MySQL operations.
    / |1 C6 Y' p# e- F% a
  1250. ; http://php.net/mysqlnd.collect_memory_statistics8 x% s6 o2 s7 X
  1251. mysqlnd.collect_memory_statistics = Off
    1 _$ o+ U7 Z" ^8 e) v' ]
  1252. 5 z$ J0 ]& r' Z2 d2 m
  1253. ; Records communication from all extensions using mysqlnd to the specified log5 w2 R, c3 y1 x# ~1 d
  1254. ; file.
    " C2 w; G2 J* y$ C* b, K+ ]
  1255. ; http://php.net/mysqlnd.debug& \& h, W# W6 h. I& X
  1256. ;mysqlnd.debug =
    3 W4 v( N' u  a' B; U0 K

  1257. 8 \; p7 Q3 ^' Q3 N
  1258. ; Defines which queries will be logged.$ C5 f: T, t, ?& V5 g
  1259. ; http://php.net/mysqlnd.log_mask
      u' `* I' T! _; m7 w. f% |# ]
  1260. ;mysqlnd.log_mask = 0
    + ^' w& Y7 h9 h% W+ {- N
  1261. ' N0 R+ \  H+ z1 x
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' I. \5 D! J  o4 J5 Z
  1263. ; http://php.net/mysqlnd.mempool_default_size# A; a; @" p' ?# v% ~' A0 \
  1264. ;mysqlnd.mempool_default_size = 16000
    , a: c' H7 a; C

  1265. 1 l$ s$ }( q" ^5 z. S- ]
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 C1 F( y) z4 ~2 F
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size* s" [9 ?( N% r: X! R
  1268. ;mysqlnd.net_cmd_buffer_size = 2048" ?+ I  o6 u. m2 |

  1269. ' k, q4 M$ `7 h4 I: I
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    $ p1 Q9 J# x( B5 N8 U. V- I; w
  1271. ; bytes.% {0 e( }% `  A9 _. r
  1272. ; http://php.net/mysqlnd.net_read_buffer_size- q* V2 E" x  y: N6 M. h+ P8 f. Z
  1273. ;mysqlnd.net_read_buffer_size = 327684 q0 {7 @- _, R) h# g

  1274. : E. T+ ~. p) b( k
  1275. ; Timeout for network requests in seconds.' U' I5 j2 X4 h$ ?
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ' A, z( V! A( z* G. I- Z$ O
  1277. ;mysqlnd.net_read_timeout = 31536000
    : p' k/ V8 T7 x' r

  1278. * {4 U9 F7 W9 E$ s$ b+ K- G; Z
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA" v( J  D* Q6 _( d4 L+ p: M
  1280. ; key.
    1 r( L3 N! u3 b, b- k
  1281. ; http://php.net/mysqlnd.sha256_server_public_key0 P  s+ _) l, Z, ~' |' M+ ^9 ~
  1282. ;mysqlnd.sha256_server_public_key =2 }9 E$ K$ q, e5 e  k+ I& `

  1283. / y. _3 ]  a$ b  A& j8 Z, k
  1284. [OCI8]" g8 c! ?/ w" t- ^

  1285. 3 M$ ?0 p3 J6 T3 L. z
  1286. ; Connection: Enables privileged connections using external7 n* `& g& T' u" E
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    . m6 @& F% z' x+ F, T2 \& c
  1288. ; http://php.net/oci8.privileged-connect
    $ u/ W1 r8 G2 K- \; k) ^
  1289. ;oci8.privileged_connect = Off! @1 _" s5 @& B: X

  1290. 4 P* H' R8 Y$ Y$ `8 C6 m
  1291. ; Connection: The maximum number of persistent OCI8 connections per$ ?$ o" m+ d4 b, q1 W
  1292. ; process. Using -1 means no limit.* y$ m+ E& h2 A! l3 H$ q" C- w
  1293. ; http://php.net/oci8.max-persistent
    ! O: l7 a9 g) {% {$ n/ _5 l* U
  1294. ;oci8.max_persistent = -1
    9 L8 v1 C: S' o9 G5 {8 u
  1295. 1 }% D& i* q' O- ^+ {+ @
  1296. ; Connection: The maximum number of seconds a process is allowed to
    - q6 X' f7 {+ B. \) |- ~* k
  1297. ; maintain an idle persistent connection. Using -1 means idle
    & ?1 e, h' \5 n0 V0 M9 C
  1298. ; persistent connections will be maintained forever.
    * p6 |8 x" U2 ~  |) Y$ r
  1299. ; http://php.net/oci8.persistent-timeout8 Q* l3 u( q: @
  1300. ;oci8.persistent_timeout = -1, s; L; r/ B" J5 j5 \7 m/ G8 A% X/ ~
  1301. & F5 b* a7 I' U
  1302. ; Connection: The number of seconds that must pass before issuing a
    - m& P* P9 y3 H5 o( E
  1303. ; ping during oci_pconnect() to check the connection validity. When1 {' f8 e8 h# ^' R7 v$ Z- r& u
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables# @5 ^- [) V  \6 M3 m# U" J
  1305. ; pings completely.
    # O& Z  K3 I4 ^+ {
  1306. ; http://php.net/oci8.ping-interval# q0 b5 s& {7 ~$ A0 }- w5 U
  1307. ;oci8.ping_interval = 60, [- b& s% h" t+ L3 d0 O) V: o' T

  1308. ' r4 G& x+ x* e
  1309. ; Connection: Set this to a user chosen connection class to be used
    $ l- t' T1 ~5 r0 A, @6 H
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    . J) U6 Q; g: [
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    - C& I* e) Y& m  d
  1312. ; the same string for all web servers running the same application,
    ; U( b* ]! W4 k% s* V7 U
  1313. ; the database pool must be configured, and the connection string must
    6 n+ f' n3 E/ k" }
  1314. ; specify to use a pooled server.! U$ J3 h' Z4 A* t
  1315. ;oci8.connection_class =7 h1 |+ M  ^: F% e$ h4 B6 {3 i7 B
  1316. : N  g7 G* b$ }, `# J: P7 i
  1317. ; High Availability: Using On lets PHP receive Fast Application& u# |4 L# i; P5 M! h" Z" S, x
  1318. ; Notification (FAN) events generated when a database node fails. The1 M" u; x5 Q8 m9 u& L$ m
  1319. ; database must also be configured to post FAN events.
    4 f9 t3 O$ i. \2 y/ R" E4 c( h! t
  1320. ;oci8.events = Off/ a* y" l9 g$ o9 D4 C$ g: L

  1321. ( Q) v& i: ~4 o7 a1 ?# B/ G
  1322. ; Tuning: This option enables statement caching, and specifies how, {4 s  f9 f; y: {7 D
  1323. ; many statements to cache. Using 0 disables statement caching.- p' O& \+ s2 H& D+ p! i
  1324. ; http://php.net/oci8.statement-cache-size6 `8 L% h8 ?* e$ E) K8 K! y
  1325. ;oci8.statement_cache_size = 20
    8 J8 T, J8 a5 B) o5 r2 u$ G
  1326. ! W- E5 [8 _7 W+ e# E
  1327. ; Tuning: Enables statement prefetching and sets the default number of. \% H* Q- P. K2 P
  1328. ; rows that will be fetched automatically after statement execution.' K4 N9 u$ v! T- c0 Z& o+ q3 z9 |7 {' R
  1329. ; http://php.net/oci8.default-prefetch7 ^2 u4 `$ P$ a/ J. h
  1330. ;oci8.default_prefetch = 100- F/ M# {9 B/ j% g$ j0 q' j  G
  1331. 8 Z$ N% J, P8 o5 g4 F. Z& ]
  1332. ; Compatibility. Using On means oci_close() will not close" n7 |# Y+ F5 S, \+ @$ i# L
  1333. ; oci_connect() and oci_new_connect() connections.4 d/ H  K- u& v6 a. _
  1334. ; http://php.net/oci8.old-oci-close-semantics' Y' V8 j  [& S, g' P) j' I
  1335. ;oci8.old_oci_close_semantics = Off
    3 C" H# j  k# k) o& I
  1336. $ O  \* s) R% P5 S& U
  1337. [PostgreSQL]) a# G3 F9 v7 s7 X
  1338. ; Allow or prevent persistent links.' O" [6 _* [% Z7 V
  1339. ; http://php.net/pgsql.allow-persistent! `( j# l, U! V3 r
  1340. pgsql.allow_persistent = On
    # t. C" Y6 w" a, F
  1341. : n5 l' T7 I1 }( Z3 n
  1342. ; Detect broken persistent links always with pg_pconnect().$ |! s$ g5 M1 d: O: _+ g
  1343. ; Auto reset feature requires a little overheads.6 x% z( u9 F; _
  1344. ; http://php.net/pgsql.auto-reset-persistent
    $ P/ {: q5 ^8 t" f* o  h9 Z
  1345. pgsql.auto_reset_persistent = Off! \6 q, n1 `" l3 z( O  m, E
  1346. 0 i  b6 U4 \; f* l7 a) i4 r
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ' ^% C1 h1 C- f; g% ^, U  s. {
  1348. ; http://php.net/pgsql.max-persistent4 i" K7 E. H  |! O; g3 S4 K8 A1 p, H
  1349. pgsql.max_persistent = -1
    2 H! R" y0 o" V* ~# h  G2 t' |) C

  1350. 5 K4 p" c0 Z) f" z; Q' X
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& I! v  h# {! e( P
  1352. ; http://php.net/pgsql.max-links  l" l& |2 Z: s: K
  1353. pgsql.max_links = -1
    2 }7 b: F% b; c7 C6 `  f
  1354. 0 s" p$ k6 b- p% V# L
  1355. ; Ignore PostgreSQL backends Notice message or not.
    6 x5 |0 [" j' Q' u/ k
  1356. ; Notice message logging require a little overheads.4 O$ p/ }+ r9 J0 \
  1357. ; http://php.net/pgsql.ignore-notice
    ( G. @8 }# J5 _0 |, z7 s9 E
  1358. pgsql.ignore_notice = 0/ k3 ]3 q. x  {9 }+ a) C! V5 E+ w
  1359. 4 Q! e) R6 t9 x/ Z4 K7 m% m) N/ A
  1360. ; Log PostgreSQL backends Notice message or not.
    # F6 f/ r; v: u2 L: a1 _
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ o; E7 C% x9 w! H
  1362. ; http://php.net/pgsql.log-notice, z. E, j4 k$ q0 Z- v
  1363. pgsql.log_notice = 0& u& T- w8 V  b6 v* n/ t# ^

  1364. " U0 F* i/ J4 w9 b$ t$ t
  1365. [Sybase-CT]9 v! \; K4 ]# G* O
  1366. ; Allow or prevent persistent links.& E+ u7 H8 d' S3 w; z8 e
  1367. ; http://php.net/sybct.allow-persistent2 L, N/ B$ L. x# B5 t. b* t
  1368. sybct.allow_persistent = On
    " F3 v8 K  P" h* S7 s

  1369. ; s! l" S5 b" x% Z9 O' S
  1370. ; Maximum number of persistent links.  -1 means no limit.
    4 H% f) }6 ^# t+ W8 r
  1371. ; http://php.net/sybct.max-persistent
    . A; x; t( m9 M* E9 [' z5 f
  1372. sybct.max_persistent = -1
    ) s' n6 `- t: n* s9 G
  1373. % B( N. @/ P8 |5 g8 l
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 D' ?( p2 V* C- Y! |
  1375. ; http://php.net/sybct.max-links1 `/ A7 h4 K* d: R" M
  1376. sybct.max_links = -1
    * H7 g6 Y# e) \

  1377. / h  m- R9 ~7 p- ]( Z  y% k
  1378. ; Minimum server message severity to display.- a* }0 I2 ^( V0 K' V- R- W" a
  1379. ; http://php.net/sybct.min-server-severity3 Q. B. s- I8 ~+ U# i
  1380. sybct.min_server_severity = 101 b6 a+ \- j. W3 q" b

  1381. ) y1 d; i( G2 s! l7 Q) n
  1382. ; Minimum client message severity to display.
    * N. N6 `9 @: _) e8 B7 C8 G
  1383. ; http://php.net/sybct.min-client-severity" s+ V' T/ B4 x  P1 o# q) t( }2 h+ b9 b
  1384. sybct.min_client_severity = 10  k: h# Q+ I& S6 S7 ?: ^
  1385. 2 ?* A% z( n. f- m
  1386. ; Set per-context timeout
    3 ^  e, E% u3 F
  1387. ; http://php.net/sybct.timeout/ R! c0 ]. ]7 `
  1388. ;sybct.timeout=* d( A  i3 x# y9 p3 ?+ q
  1389. , K0 |# l7 f# H* ~# S
  1390. ;sybct.packet_size  I9 R2 w7 w8 ]" @7 _

  1391. 4 e; R! `( ~6 {( }
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    : ?6 M0 L% W; N) ~( b
  1393. ; Default: one minute! I0 c6 j: M8 J
  1394. ;sybct.login_timeout=3 ~' v8 {* I! B  X! c0 _
  1395. % [0 ^% s* |  r9 A
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    / [0 f6 ]# ^1 ]5 N4 F; S. Y
  1397. ; Default: none
    ; n1 |" l) ^  z4 b# a' ^
  1398. ;sybct.hostname=; \, I9 n% z% x1 z$ T/ S

  1399. / [4 }: V1 C+ U' q6 N5 Z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) _/ F  C6 z4 t5 V* B- t7 S
  1401. ; Default: 02 C( V. v3 _1 p3 W% o
  1402. ;sybct.deadlock_retry_count=8 z( x: A# y1 ~$ H3 K! Q& _) f  u
  1403. $ _* Z/ E6 W  z7 p: w
  1404. [bcmath]
    * y  z4 c' a: ~5 c& n
  1405. ; Number of decimal digits for all bcmath functions.0 k3 M3 n5 {1 z( q6 X7 B% @0 b) b* S
  1406. ; http://php.net/bcmath.scale
    0 o; R8 k7 z4 X) ^/ X1 l
  1407. bcmath.scale = 0+ k8 b! y3 M6 {  u5 Y# n; |
  1408. ; U; q9 t) `' Z3 ?
  1409. [browscap]
    + z4 k% y# ~$ _! y
  1410. ; http://php.net/browscap
    & `$ g2 l; H' _) m$ G, p* E9 ?
  1411. ;browscap = extra/browscap.ini
    3 }1 |3 ]% j7 e. q# u: w3 }
  1412. 4 ]$ l8 [9 \6 z! ]9 m5 D. i
  1413. [Session]
    ) b; q: F3 p5 }# w7 L
  1414. ; Handler used to store/retrieve data., C5 M/ Q' @. W1 |% I
  1415. ; http://php.net/session.save-handler! C# g( z# V; ^+ g: z: N' m
  1416. session.save_handler = files' l7 w2 [9 ^* I
  1417. - n) T2 m1 F; C
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    0 {1 _4 C& C$ t- {; a" n
  1419. ; where data files are stored. Note: Windows users have to change this  T3 q" Q5 H# V7 x$ z/ s
  1420. ; variable in order to use PHP's session functions.5 g- A6 J9 c& ]
  1421. ;, W: d* Z. i+ A! s
  1422. ; The path can be defined as:
    8 w4 A" g  [. s% w0 {* U
  1423. ;
    , }0 k/ {& J; T1 v& e
  1424. ;     session.save_path = "N;/path"9 V1 M& t2 w9 \/ |( L
  1425. ;
    ( @* x2 m6 ]/ Z
  1426. ; where N is an integer.  Instead of storing all the session files in
    8 B6 |+ r1 d4 N4 Q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and5 v* ^' l! g' {9 O2 x* I# I9 c
  1428. ; store the session data in those directories.  This is useful if
      ~5 C8 p% O) D6 p
  1429. ; your OS has problems with many files in one directory, and is" H& ^1 V7 s( P( X* A
  1430. ; a more efficient layout for servers that handle many sessions.+ g' e+ W5 b, [' l0 A5 ?4 T
  1431. ;6 N" w( D; H4 j: r  f- ?
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    # y3 v. ?2 M& d0 l' `
  1433. ;         You can use the script in the ext/session dir for that purpose.' J% M) H8 c: |$ R) B: E2 [
  1434. ; NOTE 2: See the section on garbage collection below if you choose to- O8 s3 `6 e9 D9 R) y- L
  1435. ;         use subdirectories for session storage
    * Q0 O3 \2 }' y% H% i$ ?
  1436. ;# r+ M' T3 y2 K' `9 l, S
  1437. ; The file storage module creates files using mode 600 by default.- k" U3 ^" _' T. @& c
  1438. ; You can change that by using
    . S" m. E& c. _3 H$ |
  1439. ;- ?  M% {' v  |5 B' |
  1440. ;     session.save_path = "N;MODE;/path") B" s0 `+ r' n" v5 l6 r; f, k
  1441. ;- [* B3 x! w8 t" ~# Y1 N
  1442. ; where MODE is the octal representation of the mode. Note that this
    - x: l9 H5 W7 V' f( Y; c6 p9 j
  1443. ; does not overwrite the process's umask.0 ?7 U; ]  a' E+ \$ U
  1444. ; http://php.net/session.save-path
    5 L; I" E: ~- p" z% @& H
  1445. ;session.save_path = "/tmp"! G1 [; ?# h+ t+ z) O" C1 {

  1446. : t# D6 u$ Q- Z& X5 [/ i0 j- {1 S
  1447. ; Whether to use strict session mode.% S4 ~. H! b1 {0 K5 G( p% X
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate. K% r* L& G& V/ w( \7 Z+ O
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 `1 e# w$ m5 _. ]/ ^
  1450. ; applications from session fixation via session adoption vulnerability. It is
    - s+ Y  M( N% b; u( d+ q3 q
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.3 V7 E  k& e8 b, e+ }
  1452. ; https://wiki.php.net/rfc/strict_sessions  t: O0 |$ ~% ~% q$ f
  1453. session.use_strict_mode = 0
    * [; U' O% u( E
  1454. 8 Q' @! N3 b  j) U
  1455. ; Whether to use cookies.8 D& W0 Q: L$ L# f
  1456. ; http://php.net/session.use-cookies
      l8 }/ I5 a% j% Q$ q, f
  1457. session.use_cookies = 1
    6 d, Q; w! l6 l' P( v  c

  1458. , |3 \8 Z- u; a5 P+ [
  1459. ; http://php.net/session.cookie-secure8 |4 E7 Y7 G, y# j
  1460. ;session.cookie_secure =* a. C# E$ A* Q' B4 y1 q

  1461. 4 ~; ~$ @$ Y1 Q( z$ U0 k+ Q
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining# y4 U7 e4 F/ t& f( C- j
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    % M/ s; f0 k: Z  M
  1464. ; session hijacking when not specifying and managing your own session id. It is
    2 Z  Q* d( N3 U. G! H4 r5 M2 ]6 R! {
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    . W9 L: D1 N6 G' _9 f
  1466. ; http://php.net/session.use-only-cookies
    % K; ]- \1 |2 s  Y. }. H
  1467. session.use_only_cookies = 1
    * p  ^: n4 ^( m+ x
  1468. 7 z- j/ _7 |5 ]$ T2 C, Z' R
  1469. ; Name of the session (used as cookie name).
    - U( F  ?+ V  p% |0 T9 s
  1470. ; http://php.net/session.name
    8 R6 R& u8 n# P6 t" q! c
  1471. session.name = PHPSESSID; ~. Z5 p+ V% U2 M* }: b/ G) O' {

  1472. / D( s% p. h, P7 R$ S
  1473. ; Initialize session on request startup.
    1 l' d( l+ K5 Y. I9 E% D
  1474. ; http://php.net/session.auto-start* z% f. I& u7 {
  1475. session.auto_start = 02 G; O" N  Z* g1 a
  1476. 6 S2 t# Y' z/ q3 R+ N7 X
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    . n0 |; I: [% q& ^1 L  |# c" J
  1478. ; http://php.net/session.cookie-lifetime
    ; W5 X, B8 w% I# z4 A. h
  1479. session.cookie_lifetime = 0( \, V$ Q; Y" D. V

  1480. " `% O3 l. C1 b$ v" A& u
  1481. ; The path for which the cookie is valid., U0 q% {& G1 }) {) [
  1482. ; http://php.net/session.cookie-path
    ; Z( A8 l0 ~6 z. G3 q, C
  1483. session.cookie_path = /
    " q# Z1 X' F* u+ p; h

  1484. - K9 {# d% s* w4 b' t7 B3 |& Q
  1485. ; The domain for which the cookie is valid.. ^+ H. g0 `' N# ~  I
  1486. ; http://php.net/session.cookie-domain
    ) H, T8 t) M3 o  H
  1487. session.cookie_domain =
    ; K0 ~: M/ z  x9 T

  1488. , i) L8 G) l7 A' u  ?; }: y% R- ]) i7 W
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.- d# s$ k* P' F( f4 D$ X) o; c( t
  1490. ; http://php.net/session.cookie-httponly
    3 D9 X" i% e5 a0 D, r# R5 k
  1491. session.cookie_httponly =
    ; y* ^! V( M" E' N% l1 l: C& O
  1492. , _. _# i8 n2 G
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.$ o7 h8 i- o4 n. C# U
  1494. ; http://php.net/session.serialize-handler% Z% @/ H' A+ C& d+ R0 _
  1495. session.serialize_handler = php3 R0 v+ h# C) l# R2 w
  1496. . b6 y- o; W( O+ \5 J
  1497. ; Defines the probability that the 'garbage collection' process is started: V8 D5 g' D4 }9 R2 m
  1498. ; on every session initialization. The probability is calculated by using
    $ q" ~3 X3 y- o/ _8 u7 F( B$ y
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    6 z$ f9 i7 \. m. |9 @% I+ E6 Z
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    9 g# `5 a; u& C
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ I) p/ M' y/ W% A
  1502. ; the gc will run on any give request.# i) j* P0 c+ C9 ]9 q
  1503. ; Default Value: 15 e) n* d: }9 Y
  1504. ; Development Value: 15 @  B) F. N. U9 L& f1 q' H' u
  1505. ; Production Value: 13 P1 f; q$ Q9 `) O, B6 m
  1506. ; http://php.net/session.gc-probability. O3 \/ X7 B# }9 A& \
  1507. session.gc_probability = 1' x3 a5 m& j  @) O6 A# e7 Y

  1508. & ~& w& X% n9 F+ \% i" M1 ?# k
  1509. ; Defines the probability that the 'garbage collection' process is started on every
      s/ D# E" }* m1 V
  1510. ; session initialization. The probability is calculated by using the following equation:/ L$ M" u* q) H- C( a) _3 E2 @0 u
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ; j& E4 _' ?( X/ H6 N% Q9 \
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 S0 C$ s) t( p$ J, {4 J) H8 l
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 ^/ w+ v3 ~: Y0 I( |
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 ^3 [  d. L* R2 [" c' y6 o
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    , u) |3 p4 P5 s+ q) b7 T
  1516. ; this is a more efficient approach.! J( c) l2 _/ a; k# V
  1517. ; Default Value: 1000 w% A. u" w6 N2 ]
  1518. ; Development Value: 1000; Q. L4 o4 H" _, v
  1519. ; Production Value: 1000% x# P/ j: M, M  y0 `% Q% c2 I
  1520. ; http://php.net/session.gc-divisor0 E2 s8 O8 Z8 Y& G
  1521. session.gc_divisor = 1000
    % a  H+ D+ I# a+ f1 |6 ]3 x0 x
  1522. ) c/ O3 u. x, W% ^7 u# S2 u
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and& N! n2 x$ N0 o+ E5 f0 f
  1524. ; cleaned up by the garbage collection process.5 W  X4 }8 {# m' ]1 {( L
  1525. ; http://php.net/session.gc-maxlifetime- l) M( [. }8 O5 _5 K
  1526. session.gc_maxlifetime = 1440
    * W9 m9 e4 E; c4 ]% `. |8 J. f

  1527. ! f2 [& T* S; t2 j1 k
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    & g7 J, B' W* _0 D; t
  1529. ;       (see session.save_path above), then garbage collection does *not*
    & e9 \( ]4 C( \- \7 p
  1530. ;       happen automatically.  You will need to do your own garbage
    % X0 c' m" F% o) n6 H
  1531. ;       collection through a shell script, cron entry, or some other method.
    5 J$ u7 S' E$ A) {
  1532. ;       For example, the following script would is the equivalent of
    % V- T1 P: S  T# J9 g5 n8 Z# i3 @
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 ~0 s  }+ X0 x& Y0 }
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm; w: n  m: A7 F' v
  1535. 5 G, ?) b3 H7 Y# r0 {" G% F  `
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 f$ P$ Y9 k4 K+ [4 m
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    9 B4 K* w. V5 `0 k2 T- G
  1538. ; considered as valid.
    % m. M. z& R* \; f) G  W
  1539. ; http://php.net/session.referer-check
    ( |5 ?- Q+ d7 f, V
  1540. session.referer_check =- `& |; @* v" H

  1541. 6 M" p' T/ j+ G
  1542. ; How many bytes to read from the file.
    0 Z8 ]1 _  m1 Q# l; O4 O; |0 I
  1543. ; http://php.net/session.entropy-length
    ( h% M3 i1 u8 n/ j: L( K
  1544. ;session.entropy_length = 32
    ) L  l5 c# O$ ]  x% u

  1545. 7 Z$ J4 x' G. g! ^
  1546. ; Specified here to create the session id.
    ( M" J/ t, o, c' D, m
  1547. ; http://php.net/session.entropy-file
    7 u% j: [1 p  z8 x1 y
  1548. ; Defaults to /dev/urandom  X5 `, V, w; P4 H% s3 q$ W
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    % i: i8 @& w. _* d  |
  1550. ; If neither are found at compile time, the default is no entropy file.
    1 |! O9 Z2 I# m  R1 z
  1551. ; On windows, setting the entropy_length setting will activate the
    8 [0 p3 P5 W" `5 `7 a1 p6 D7 x& X
  1552. ; Windows random source (using the CryptoAPI)
    ) r! B/ s- i0 b/ `+ R# G* G% M: v7 M8 u
  1553. ;session.entropy_file = /dev/urandom7 h' Y- B3 ]* i" e
  1554. ; d7 t. h0 i, Y, B. J) M( ]$ y0 i& ]. M2 \4 s
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects" ~8 Q1 |8 p" d% T" P
  1556. ; or leave this empty to avoid sending anti-caching headers.
    * f$ x9 X- [7 b1 z  j( D3 c
  1557. ; http://php.net/session.cache-limiter
    ( f9 g: U  Z& T! v" Q% c
  1558. session.cache_limiter = nocache
    ; T8 D5 P" c/ g9 n6 F

  1559. 7 h4 f# h( `$ J' x0 g
  1560. ; Document expires after n minutes.
    ' Y: H! {+ y) n# [* K0 W; g
  1561. ; http://php.net/session.cache-expire) V3 ~( r. j4 B
  1562. session.cache_expire = 180
      r2 D" `/ J' L/ I( H' G% s7 I9 a4 M

  1563. , G5 G! C$ Z, ?& C, _5 N
  1564. ; trans sid support is disabled by default.& r  p$ }; H6 N& I( ^
  1565. ; Use of trans sid may risk your users' security.7 {& I7 [$ w3 F; |  P) w; s
  1566. ; Use this option with caution.9 L, z3 i# D" l* x7 ~" f
  1567. ; - User may send URL contains active session ID5 Z# o" v1 a, Y
  1568. ;   to other person via. email/irc/etc.
    , d* A1 T7 Z; s) g! P
  1569. ; - URL that contains active session ID may be stored7 k. P9 L( K8 c+ ?# ?
  1570. ;   in publicly accessible computer.2 ]) I1 w; ~" M, n0 N
  1571. ; - User may access your site with the same session ID. _* _" j  r  I4 S: F/ F) r% |
  1572. ;   always using URL stored in browser's history or bookmarks.# o9 n% B5 P' J# D
  1573. ; http://php.net/session.use-trans-sid
    2 A6 O, U4 c; H5 {
  1574. session.use_trans_sid = 0
    5 a1 C/ p  ^& I- G( U

  1575. ; [* k/ z9 h4 A& ^% j. U( E
  1576. ; Select a hash function for use in generating session ids.
    3 I6 m0 L0 ?% I% P
  1577. ; Possible Values
    , A# A: `+ A. S8 L
  1578. ;   0  (MD5 128 bits)
    : o! }  q' a$ w* g) B
  1579. ;   1  (SHA-1 160 bits)6 c. a; F" U7 g# X+ l
  1580. ; This option may also be set to the name of any hash function supported by3 t4 ]& _3 C/ |4 {! G6 H
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()5 D' `# p) @0 u& J7 c$ ]
  1582. ; function.; Y( W- x' U/ _* k1 Z8 y
  1583. ; http://php.net/session.hash-function* E' s/ Y: Z. e2 W, S
  1584. session.hash_function = 09 K3 N, ~2 ]8 D4 ]0 _- ?, t
  1585. 1 V: H8 n+ v1 s# R3 n% u: x& A
  1586. ; Define how many bits are stored in each character when converting
    & @2 @  C3 @+ I/ s
  1587. ; the binary hash data to something readable.! R7 v1 W' h$ @, Z3 p5 `; t; z
  1588. ; Possible values:0 @" Z8 n0 y3 ?
  1589. ;   4  (4 bits: 0-9, a-f)
    1 D8 d# t  y! V2 E
  1590. ;   5  (5 bits: 0-9, a-v)
    9 ]2 H6 ?: m$ a
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ) S& [7 I9 Q- v
  1592. ; Default Value: 4
    / z* E8 m1 ]' l. c
  1593. ; Development Value: 5
    & j) z) [- Q# L" [1 l/ s
  1594. ; Production Value: 5
    2 y5 a; ]' {. p# d/ Q1 y
  1595. ; http://php.net/session.hash-bits-per-character
    ' U7 h9 A- I7 M# {# y# |8 p+ y; ^: B% o
  1596. session.hash_bits_per_character = 5
    / T5 c+ N0 E1 I7 }1 P; o/ m0 i

  1597. , ?6 C- B: P8 r
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.  C5 l6 e) o1 n" V* I3 @
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ) X# Q2 v5 w# Y, W
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ; w1 b+ c6 M* c2 a
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.) @8 a; p) d" V; I+ N
  1602. ; Note that all valid entries require a "=", even if no value follows.
    7 U4 E* u0 U9 O) l  g2 J
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="/ E7 ~' `" N! E: Z  s
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". H/ [' f0 @* ?# S" n
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! R! z0 K, O. t+ R" N
  1606. ; http://php.net/url-rewriter.tags6 o8 F# I# M# k! ~! u, L1 g
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry": J' `0 S; a1 z' j4 K  N
  1608. 9 \3 D( `8 n3 i" {
  1609. ; Enable upload progress tracking in $_SESSION5 G$ {, J/ n/ Q! ?% g" l
  1610. ; Default Value: On+ h6 T3 N2 i) E
  1611. ; Development Value: On
    ' B/ g5 a& Z' K
  1612. ; Production Value: On
    1 b1 U* I1 T  F5 B* i( y# }
  1613. ; http://php.net/session.upload-progress.enabled1 L7 @6 Y, j8 q/ D; a& E
  1614. ;session.upload_progress.enabled = On
    # ^( ~$ |0 j  s9 w0 z& K
  1615. $ h1 d, i" w9 e( Y5 @- s. B
  1616. ; Cleanup the progress information as soon as all POST data has been read
    5 }& `) E9 s6 J* |
  1617. ; (i.e. upload completed).
    , m( k5 I) m8 c, _$ [
  1618. ; Default Value: On
    # A1 K5 s% Q+ N' Q) n
  1619. ; Development Value: On# c+ O- G/ m$ ~  W4 y
  1620. ; Production Value: On
    8 I& \6 b  l- E. k* X
  1621. ; http://php.net/session.upload-progress.cleanup" h: ^1 b. j6 q/ a: _* }6 K# k2 G
  1622. ;session.upload_progress.cleanup = On2 k' q2 M+ S6 @2 l. L

  1623. . v0 X; q2 \- R" D& K' q7 }
  1624. ; A prefix used for the upload progress key in $_SESSION: r& A0 n. U, H7 |* ?) X0 {! T8 K
  1625. ; Default Value: "upload_progress_"5 }& q; ]2 K7 n- h, r1 x) W
  1626. ; Development Value: "upload_progress_". z) o9 q! s9 w% |& z# S
  1627. ; Production Value: "upload_progress_"
    8 {! S) x' u. v7 Z8 E  U
  1628. ; http://php.net/session.upload-progress.prefix
    9 Q0 d# @( u. b6 u7 I4 b# b
  1629. ;session.upload_progress.prefix = "upload_progress_"
    2 g( j( N5 H1 a% s% s) ?

  1630. 6 N2 Z; ~$ J; i& y  M) V
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 f- b" b( q( N  h/ k* E
  1632. ; containing the upload progress information
    ; k/ A; }6 X/ q' _: Z4 }( C+ o
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # h. N6 g& _# K) |3 \
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      S- m/ s4 E0 I  \" O
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"$ k( z+ P  [5 W
  1636. ; http://php.net/session.upload-progress.name3 ?: T$ A; M  N# z3 v; I1 W
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 K! f: t3 G; p/ R

  1638. / j# ?  f. ], m1 o7 z
  1639. ; How frequently the upload progress should be updated.
    / d( ^  H& t/ w( z
  1640. ; Given either in percentages (per-file), or in bytes
    0 _% T9 I( i; H$ O
  1641. ; Default Value: "1%"# I& y7 ?3 c% x
  1642. ; Development Value: "1%"
    ; p1 O; f! R! Z1 g
  1643. ; Production Value: "1%"" _0 ?9 j' C* R0 Q( _# o8 n8 ?
  1644. ; http://php.net/session.upload-progress.freq. |. v; s1 o% T& O0 v/ k
  1645. ;session.upload_progress.freq =  "1%"  f: M" ~0 a# i5 P7 p+ j+ t% V
  1646. , X5 R- X0 W* I% S3 l+ s. f. j/ w
  1647. ; The minimum delay between updates, in seconds6 n4 ]) {, ~" M( x9 [2 I( Y
  1648. ; Default Value: 1) j6 ~' v# F% j, n! l
  1649. ; Development Value: 16 ^5 D* e" G& z8 S* G
  1650. ; Production Value: 15 W5 j2 {5 B# A4 F$ }  @) T8 e
  1651. ; http://php.net/session.upload-progress.min-freq
    / c8 b4 M4 R. }
  1652. ;session.upload_progress.min_freq = "1"5 e8 Q# `7 F0 ~1 I9 [3 L& C) P
  1653. ) R# R. m, w+ J
  1654. [MSSQL]7 }4 p3 u# H# N  f  T, W
  1655. ; Allow or prevent persistent links.8 F& L! G+ i8 N: d0 p# D
  1656. mssql.allow_persistent = On4 Q- g4 f( n1 T% @& E1 C; c
  1657. 1 s. K1 f( @* W- M+ p: C' J
  1658. ; Maximum number of persistent links.  -1 means no limit., \% F* l$ c' o5 T5 `
  1659. mssql.max_persistent = -1
    7 X  u* a- T$ Q$ q- p6 t' b

  1660. ) g0 Q2 N5 u  l1 j
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + U- |# y/ `' J' q" U! `' e9 e' s
  1662. mssql.max_links = -1
    ! r! m, N: b8 O; |& }
  1663.   k* H. ~: h% O* g1 I+ I& P
  1664. ; Minimum error severity to display.
    : u9 D' \9 y. g. \  M. M
  1665. mssql.min_error_severity = 10
    ( y$ a- X  k0 o1 h
  1666. : c5 b6 l+ x- W; q' w
  1667. ; Minimum message severity to display.1 C# B$ h! P7 D4 K3 m' }% h; m
  1668. mssql.min_message_severity = 10
    # k0 U0 Z" v! Y, g& G9 }6 l: O1 c
  1669. 5 Z- ]  |" z8 K: }& c% `+ X
  1670. ; Compatibility mode with old versions of PHP 3.0.
      d1 u& {4 F: a- u# T
  1671. mssql.compatibility_mode = Off
    4 N0 o& j" b9 H% |8 G

  1672. ; u# d. i( M1 B
  1673. ; Connect timeout
    ! @' M8 H6 `0 o+ G
  1674. ;mssql.connect_timeout = 5
    & F$ Q5 @6 _9 I6 I3 o5 U
  1675. * e. H3 _0 \" S1 ]" f2 Q( y
  1676. ; Query timeout
    7 K2 [0 e, j" [" e+ q! w3 l% {
  1677. ;mssql.timeout = 60
    : o# O$ Q9 M" A8 j

  1678. / A" E1 i$ P6 ]- v' u+ T+ ]
  1679. ; Valid range 0 - 2147483647.  Default = 4096.4 z7 O& m2 y, ^3 C
  1680. ;mssql.textlimit = 4096
    4 u$ @8 F8 s* V: V+ ?' Q; B
  1681. $ O) b1 i5 c/ w: H  Y* ^
  1682. ; Valid range 0 - 2147483647.  Default = 4096.6 u% x; {- R) A1 `5 _9 V1 I& r
  1683. ;mssql.textsize = 40960 R" K) z  S/ F

  1684. . {# s. G) ?$ n3 x1 g
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.0 w8 U  w. _/ ?5 u3 Q9 w3 ^
  1686. ;mssql.batchsize = 0
    & G/ g( s0 X4 M
  1687. + N; {8 \7 c, k" i2 J
  1688. ; Specify how datetime and datetim4 columns are returned
    ! i# a6 {3 e: _% v0 m5 k
  1689. ; On => Returns data converted to SQL server settings+ f$ V- Z- [7 @8 n& P! H) A" F
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    : ~# [) D1 a; {8 f+ Z7 O( d. [
  1691. ;mssql.datetimeconvert = On0 s5 ^4 P) g; N' A, p

  1692. ! a8 S5 e+ y. J9 z: q
  1693. ; Use NT authentication when connecting to the server
    / e& u) _4 H$ g1 I( [
  1694. mssql.secure_connection = Off
    ( ]% B4 H! A: D) ?& p( q3 j' k
  1695. 2 b& x1 J8 y% \+ X
  1696. ; Specify max number of processes. -1 = library default' ?8 e* }! {7 f/ }7 f1 m
  1697. ; msdlib defaults to 25
    ; p8 h& i! v7 W% X; O* c
  1698. ; FreeTDS defaults to 4096" w6 W7 M1 ~3 {4 M* A
  1699. ;mssql.max_procs = -14 }* G9 e1 M* F; h9 F8 x  O6 K" _
  1700.   c, c9 G+ V; G8 ]5 s0 ]
  1701. ; Specify client character set.% U; U/ _. `" o8 O% c- h
  1702. ; If empty or not set the client charset from freetds.conf is used. G) ~. |$ A, U! K7 `7 z
  1703. ; This is only used when compiled with FreeTDS2 P% T3 t' d9 H0 K  n9 z
  1704. ;mssql.charset = "ISO-8859-1"1 H! H8 R$ |+ ?( N" j# p
  1705. / D/ }2 D1 ^: ]& B# w: c- T* J8 U
  1706. [Assertion]
    4 ^1 W0 ]$ s' v: a6 x; E
  1707. ; Assert(expr); active by default.7 R+ n" z- f" T9 c
  1708. ; http://php.net/assert.active
    : j8 N* Z! c8 @9 h* f( T
  1709. ;assert.active = On
    ; [# w* n5 ~( G) }

  1710. & ?  @+ Q! N0 W& t: B* I
  1711. ; Issue a PHP warning for each failed assertion.3 W/ u1 ^/ `1 Z+ p" n* A0 B* j% V
  1712. ; http://php.net/assert.warning  a5 B* ^( u( Q0 L& ~( o8 B
  1713. ;assert.warning = On
    & P4 d! C2 {$ h  |' e
  1714. 7 F/ _- A5 S  ~3 b$ S" ?0 `
  1715. ; Don't bail out by default.+ K( ^) B; i$ x  d7 n! C! t
  1716. ; http://php.net/assert.bail
    0 |2 u# L$ ]* e% g2 `) Z
  1717. ;assert.bail = Off8 |0 T* V' k3 k9 e- t) p& Z* {
  1718. ' K  u- b3 s% w( Y3 O. ^. i0 b; m+ \
  1719. ; User-function to be called if an assertion fails.
    " i: t6 i) B) j9 u
  1720. ; http://php.net/assert.callback+ c0 O% Q. w0 k. P" U7 D
  1721. ;assert.callback = 07 H: a2 T5 ^& s2 e
  1722. : \' |+ |8 i/ m4 [9 T8 l
  1723. ; Eval the expression with current error_reporting().  Set to true if you want+ b1 t$ l" @! c! T  o0 c8 V6 F+ Z
  1724. ; error_reporting(0) around the eval().2 I0 ~' R' y, Y5 ~, c( ~
  1725. ; http://php.net/assert.quiet-eval" i6 ?# O( _" @& x% m8 \2 J; v: P
  1726. ;assert.quiet_eval = 0# c7 f6 H. z2 F1 Y, K; N% ]
  1727. $ P& x* x. W. j: O
  1728. [COM]
    7 U2 F7 K2 W  M/ r4 q  D
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs; U# j$ P, N' `% p) C- i/ U' {
  1730. ; http://php.net/com.typelib-file
    9 j8 V' F+ ^" W" {
  1731. ;com.typelib_file =7 j/ W* \8 D% F8 X. P+ x

  1732. * w2 H; f; J4 w8 H6 h& O+ w; v# B
  1733. ; allow Distributed-COM calls
    * a/ V0 n) Q- y3 d& j5 H
  1734. ; http://php.net/com.allow-dcom
    8 A1 I$ r" b$ H3 P# O, i, q: v
  1735. ;com.allow_dcom = true  E+ y7 G& T4 |% U

  1736. 6 B" Q& ^: l/ G( x. m7 Q
  1737. ; autoregister constants of a components typlib on com_load(), w) n& `4 C: x% C+ K
  1738. ; http://php.net/com.autoregister-typelib
    9 T! M# i1 Y, a% ^- e" D
  1739. ;com.autoregister_typelib = true3 |, x3 d% Z& ]; i$ H6 O- `
  1740. " ?8 |! u( T# w) \
  1741. ; register constants casesensitive5 l+ N6 I% g0 V( ~5 y
  1742. ; http://php.net/com.autoregister-casesensitive
    % `) N( b4 m5 z. \# v) y* s$ Z
  1743. ;com.autoregister_casesensitive = false4 }9 c4 ^5 O1 L# y

  1744. * X% I: W  `( N
  1745. ; show warnings on duplicate constant registrations
    $ k1 N$ U+ U& N3 c4 q  z9 Z/ c" R
  1746. ; http://php.net/com.autoregister-verbose# `( l8 N$ i+ f# d3 R  R$ p
  1747. ;com.autoregister_verbose = true" m5 l9 ~8 ?" P& K' y

  1748. 7 A2 h$ d1 T: V! X! ~7 E; [
  1749. ; The default character set code-page to use when passing strings to and from COM objects.5 ?- Y: e  I% M5 L8 @
  1750. ; Default: system ANSI code page. i4 |0 `2 E1 F) H* z: d' Y& f' {& d
  1751. ;com.code_page=
    " \2 }& y3 j$ b+ Y0 g) f5 T8 r" \: i6 {# j
  1752. 9 ?# q! K4 p- n9 L
  1753. [mbstring]
    , H) Y5 ?$ q- T5 o% V! s5 k
  1754. ; language for internal character representation.& O1 u9 ?( q& x* I
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.9 X, t/ @4 z4 Z7 ~# M; i0 B' O0 @
  1756. ; http://php.net/mbstring.language
    2 ]9 W. f0 j; b! Z& m+ S
  1757. ;mbstring.language = Japanese% M5 E) t, s5 e$ i$ J

  1758. ; y6 V' T; Y. h2 P# X( i
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 A: z4 x$ s& R4 H8 A8 ]: ?
  1760. ; internal/script encoding.
    ; ?' V. Q5 `; o7 P
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    $ w: b+ @" Z7 M" H# c9 I" W2 |
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& S% _% C- ^8 Q  O7 z
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- a; t% M) {" T1 P9 W) _" y- O1 j
  1764. ;mbstring.internal_encoding =* ?: o" f& G0 g: y, y( S7 a

  1765. . F# t5 \) u* N: Z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 H3 \: Q; x0 p! ~% P8 b5 @
  1767. ; http input encoding.
    , e- C* p' C6 ?4 H6 y
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    4 D( F  i- r" v
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.) B1 ]7 U. y3 ]% Y  x2 ?
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input; g7 A1 p$ x& ?! w
  1771. ; http://php.net/mbstring.http-input
    , a' ?6 d- q0 e/ v, Y1 Z  j0 n
  1772. ;mbstring.http_input =
    ( i9 u, ]+ R  F2 l. z" U

  1773. ' W8 g8 p. \4 @. {0 A: o: k
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 t2 \3 y8 n) ?' b8 z4 `9 C! x
  1775. ; http output encoding.: [# `" X! M( n7 _
  1776. ; mb_output_handler must be registered as output buffer to function.- f9 C# z% ], S5 h
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    - c$ V% i! O/ E$ E0 `
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 ~4 `& a+ y/ M5 s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    5 L  D3 C; g5 D) O9 S2 C
  1780. ; otherwise output encoding conversion cannot be performed." r  \5 ]  c4 l5 ?0 R  t
  1781. ; http://php.net/mbstring.http-output' Z* P( @" ]9 a
  1782. ;mbstring.http_output =2 q" |& j% ~( D! ~/ c

  1783. & c" ^1 E# S$ i0 }
  1784. ; enable automatic encoding translation according to) V4 `/ `" u) l3 r3 `4 R( q! X
  1785. ; mbstring.internal_encoding setting. Input chars are; }$ e: [9 K6 x1 S' ^' K
  1786. ; converted to internal encoding by setting this to On.
    ' g' Z0 G% x% c
  1787. ; Note: Do _not_ use automatic encoding translation for6 Q: ]1 w  F0 i/ g
  1788. ;       portable libs/applications.2 n: S6 N1 ?$ C. Z8 w9 l
  1789. ; http://php.net/mbstring.encoding-translation
    4 X: D+ }0 c7 c
  1790. ;mbstring.encoding_translation = Off
    - g0 r6 I& R2 d6 @$ w2 ^& Q4 ?) W

  1791. 1 c# `7 R. d; A; u8 N9 ?
  1792. ; automatic encoding detection order.9 W& z8 C% Z. z- H. [0 \
  1793. ; "auto" detect order is changed according to mbstring.language/ x( |' t5 ^- Y/ E$ F4 n/ x
  1794. ; http://php.net/mbstring.detect-order5 h8 B8 E. O1 L( Y9 R9 i
  1795. ;mbstring.detect_order = auto
    ( Q" E7 k0 C0 j1 h8 h7 C

  1796. 8 @: b; q+ H4 u" \1 l
  1797. ; substitute_character used when character cannot be converted% ^4 I  u% ^. Q! z5 L2 T0 H  M9 ~* O6 k
  1798. ; one from another
    ' q# D- N" p0 T, q/ q2 Z8 y2 G9 p* ~& F
  1799. ; http://php.net/mbstring.substitute-character
    2 U# U( Z* V& o5 m; O+ h
  1800. ;mbstring.substitute_character = none
    * a3 e! o, |: R1 t" H# E% h: K; K
  1801. ! E$ q$ a% T2 H5 f; t, t2 s( A
  1802. ; overload(replace) single byte functions by mbstring functions.
    # [9 Z1 ~" o$ b' {+ ]$ s
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    3 J$ U( ~- s& k( Q% Y8 M6 k
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ! P! X0 x& ~$ A7 e3 s
  1805. ; For example, 7 for overload everything.7 H9 D0 G" K2 h' W% _" x
  1806. ; 0: No overload9 E) ~6 i0 Q+ D3 Y' O
  1807. ; 1: Overload mail() function
    # ]. P8 s3 B, L* f( f
  1808. ; 2: Overload str*() functions  X: k6 W% j6 H) I
  1809. ; 4: Overload ereg*() functions4 G+ u0 r9 Z( ^! Z! Q$ H% j
  1810. ; http://php.net/mbstring.func-overload
    6 _+ d& t0 @( x
  1811. ;mbstring.func_overload = 0
    ! M# ^- y+ F* B: h3 b2 z$ O6 S5 ~
  1812. + e5 f) b8 c) ]9 Z' v! ^
  1813. ; enable strict encoding detection.
    5 g4 q. l% A0 H8 l
  1814. ; Default: Off9 s& ?* g6 I8 I/ u9 B& {
  1815. ;mbstring.strict_detection = On
    % U. Q$ ^4 i$ G4 G
  1816. 2 A$ n6 {- L9 n
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    8 `$ J# b, J& E- Y/ S2 k
  1818. ; is activated.
    4 K" `: x0 N- U2 H5 j3 W! z
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # F- F+ D  L$ v: R" s. J
  1820. ;mbstring.http_output_conv_mimetype=4 H# K* i& J+ I, Y; j

  1821. 0 o4 O( _; {* X5 }6 R
  1822. [gd]& \3 P. O& s9 f% p- z) K
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    0 D* t" O5 n: q/ R8 x1 a1 z
  1824. ; a gd image. The warning will then be displayed as notices
    / {2 j* V5 G9 G8 a
  1825. ; disabled by default) W/ o: v" V  W' a- ~, z$ j
  1826. ; http://php.net/gd.jpeg-ignore-warning; |3 e" e0 q4 \% e6 t
  1827. ;gd.jpeg_ignore_warning = 0# i; x8 |: X: i5 X5 {

  1828. 1 B, j* f' ^- A0 Y
  1829. [exif]
    . t3 _( @8 a3 J& D8 [9 o7 V
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    $ q$ n/ b5 ?8 z" b4 F
  1831. ; With mbstring support this will automatically be converted into the encoding
    $ q; g9 B; Y6 u1 z7 _
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : g% S7 q5 O( }. x. V$ R; s4 X
  1833. ; is used. For the decode settings you can distinguish between motorola and
    7 U9 ~% W1 s9 r& t( F# M
  1834. ; intel byte order. A decode setting cannot be empty.! O# l0 ?/ G  G3 `' p5 X) }: ^
  1835. ; http://php.net/exif.encode-unicode5 f  U* ^( U5 E; Z
  1836. ;exif.encode_unicode = ISO-8859-15$ l5 ]* L! t/ l

  1837. 0 v3 }+ o9 e1 K& T# ~1 F. x) ]
  1838. ; http://php.net/exif.decode-unicode-motorola
    , F7 E: F/ v. P; D. X2 R/ V0 N0 N
  1839. ;exif.decode_unicode_motorola = UCS-2BE* T) S! ]; O1 [

  1840. ( Z- D5 ~: \3 ]$ Q5 n
  1841. ; http://php.net/exif.decode-unicode-intel
    , P# D" A4 F, K% F# b5 ~
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    # \) c2 ~9 R6 p# ~* ~
  1843. * n& C5 I7 J8 s
  1844. ; http://php.net/exif.encode-jis
    6 i# C+ e6 ?+ _3 v: g3 z! Y
  1845. ;exif.encode_jis =
    2 g( o$ }: O$ X1 o, t5 M

  1846. 0 L# z9 \9 f8 f8 n
  1847. ; http://php.net/exif.decode-jis-motorola
    + V+ w  j8 Q7 r; b3 P0 \
  1848. ;exif.decode_jis_motorola = JIS
    ; |$ P/ Z/ `2 I& D

  1849. % o: b0 `3 w- T5 s0 D" f/ O: V
  1850. ; http://php.net/exif.decode-jis-intel
    : p1 P2 H4 e( s7 D4 r1 P% Y
  1851. ;exif.decode_jis_intel    = JIS
    7 ]& D8 A/ \( x1 E

  1852. ) \4 `4 Q% @: ^
  1853. [Tidy]
    / `; Q6 T9 y2 r
  1854. ; The path to a default tidy configuration file to use when using tidy5 P( ^: H' }8 J8 N2 d! v
  1855. ; http://php.net/tidy.default-config" e+ P/ y" i4 E$ }; ?# C
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg: W* j" G* C$ p* c$ U& A, w% \
  1857.   L  G0 ?3 K+ [7 d# A: E
  1858. ; Should tidy clean and repair output automatically?8 M1 z) n) i, v' X2 x( o8 x
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ' F( x; ~% m% T
  1860. ; such as dynamic images
    3 E) v& h7 Y' l  L  k
  1861. ; http://php.net/tidy.clean-output. w2 |8 l3 f+ ^+ {1 x3 `4 t
  1862. tidy.clean_output = Off
    ' i1 j4 U  z2 U3 q! |# s
  1863. 9 n7 h4 E. m1 V" j; W! h
  1864. [soap]
    ! p" v. q$ J, z9 @9 s
  1865. ; Enables or disables WSDL caching feature." d$ s, \2 J+ Y* X3 U; N  f% x0 f
  1866. ; http://php.net/soap.wsdl-cache-enabled4 Z7 n- {- d# I0 B# t' j/ t, y
  1867. soap.wsdl_cache_enabled=18 k' V" L& m) ?; c6 a% i

  1868.   `1 Z1 p# ]3 u; i( W5 [: [7 _
  1869. ; Sets the directory name where SOAP extension will put cache files.
    $ R9 q, V- c% k/ l
  1870. ; http://php.net/soap.wsdl-cache-dir
    , i: e5 U( u  i, J# c
  1871. soap.wsdl_cache_dir="/tmp"
    + q- X6 V4 X; p1 Q( p8 x) d
  1872. 2 P  i+ N1 A/ j
  1873. ; (time to live) Sets the number of second while cached file will be used
    ( C6 ?. d) V5 R' B5 B0 |, N
  1874. ; instead of original one.3 Y$ x- ^9 C# k2 Y& ]' {) {+ E
  1875. ; http://php.net/soap.wsdl-cache-ttl; w& D% R% c* g
  1876. soap.wsdl_cache_ttl=86400
    6 q  [  C( X+ i+ Y& a! m9 w6 i
  1877. , [1 Y$ g3 |. o# k( k
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 Y' P0 J# B: E0 N
  1879. soap.wsdl_cache_limit = 55 V2 d0 _7 C6 B. C) }
  1880. , P) g* t7 X  I3 g
  1881. [sysvshm]
      J# F0 e/ {( M2 A. q" v9 B
  1882. ; A default size of the shared memory segment% \" j3 |/ Z7 ?$ p7 ^
  1883. ;sysvshm.init_mem = 10000+ D" Q5 U- Z: \* ]: k' A6 p
  1884. 6 ^* X# l5 M* A' G1 Z
  1885. [ldap]
    # @- q! X" J- c1 D' `: ]
  1886. ; Sets the maximum number of open links or -1 for unlimited.+ S# x; t! L- f* u
  1887. ldap.max_links = -1
    * P2 d! [3 Z# s9 x) f

  1888. : j8 C2 z4 X) S, u2 K" ^
  1889. [mcrypt]2 d6 a& E9 D8 |3 \3 e0 o0 S; n
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 e0 F- i+ A4 C4 W
  1891. " Q+ K5 [) N. l
  1892. ; Directory where to load mcrypt algorithms5 e9 J% m/ g# u3 F; C+ b0 j
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' T4 T& M( z5 K6 @4 W2 F. {
  1894. ;mcrypt.algorithms_dir=: _6 y& @/ c6 G; [4 _6 S
  1895. 9 o0 X/ {0 I1 [2 N& q9 x% }8 {& p
  1896. ; Directory where to load mcrypt modes' }. f: d( Z6 G7 q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 E+ v0 d8 j/ o: S; d2 Q  J8 o4 ]
  1898. ;mcrypt.modes_dir=/ E2 u/ ~. S, i) U& ?, k2 s- P; a- N
  1899. # X7 _" x$ _. L( p- m  F
  1900. [dba]; x- C5 w" B- o7 b/ h
  1901. ;dba.default_handler=
    / W6 j% T2 x) |! H, b

  1902.   O0 k( W  S& }+ F6 Y! l3 t
  1903. [opcache]0 y2 @& F& ]$ M" Y  R8 m
  1904. ; Determines if Zend OPCache is enabled
    6 V% W9 Z* `% y& R7 k* \1 a* T0 K
  1905. ;opcache.enable=0' L& i# `& b9 Z
  1906. % S- r# u% i) O6 I2 o
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    + ^8 O/ ]! [! h3 t7 ]0 t
  1908. ;opcache.enable_cli=0" e/ w; @( k+ F

  1909. # s' ?7 q  z: m' r( Y1 ^8 }
  1910. ; The OPcache shared memory storage size.% ]4 u% _3 j. V& N& t
  1911. ;opcache.memory_consumption=647 D, q$ i5 h' o  K  @

  1912. % ]$ ?* ~: I1 e& M
  1913. ; The amount of memory for interned strings in Mbytes.
    2 G7 \1 f6 K6 e8 ~/ w
  1914. ;opcache.interned_strings_buffer=4+ N* _8 K2 l; _. D; G: A

  1915. , {& F+ e6 v% h4 p  H* A
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.# ]# A* r. e$ ^
  1917. ; Only numbers between 200 and 100000 are allowed.
    5 G0 W3 v6 b7 U; b& t* T2 t
  1918. ;opcache.max_accelerated_files=2000
      a2 |0 i9 L% @

  1919. 6 }; P. I* k! u
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 W2 d; E, Z; D; z' R% ]
  1921. ;opcache.max_wasted_percentage=5- m$ v# N5 [' V9 ~
  1922. % o! C" q" k! v/ w' |; _
  1923. ; When this directive is enabled, the OPcache appends the current working/ l8 [0 o8 `! {. ^/ ?6 w
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' M, ~9 A9 z' d
  1925. ; files with the same name (basename). Disabling the directive improves
    0 k9 ^3 U, |% V( N
  1926. ; performance, but may break existing applications.9 n0 h0 R  e  ~/ a
  1927. ;opcache.use_cwd=1. T% f$ f% O$ i
  1928. 1 }. n2 f2 @- k+ h' f
  1929. ; When disabled, you must reset the OPcache manually or restart the8 K$ e' F. q2 @! p* S, m- @% w
  1930. ; webserver for changes to the filesystem to take effect.
    2 m; J  O- c' U5 {
  1931. ;opcache.validate_timestamps=1
    ' I0 b# t" @9 e: f2 H1 |0 X' ]
  1932. 1 l/ z; d2 M3 O  |8 u$ c  \
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 t* `$ ~) e1 q) p  x. ]  s
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    8 o3 y; |0 E3 N/ O' t. P' A4 t8 a
  1935. ; once per request. "0" means always validate)" I7 `4 h2 s+ Z
  1936. ;opcache.revalidate_freq=2) O- c8 \2 T, ~2 Q, H" O

  1937. 3 c# x9 ^2 A3 W: y9 |, g1 ]& N2 H
  1938. ; Enables or disables file search in include_path optimization
    3 Q& Y2 A9 G4 J3 O% r: P7 F+ r) V8 C
  1939. ;opcache.revalidate_path=0( l  M4 |2 ?( p- K

  1940. + l/ w  c4 X2 N% O8 v$ e
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    , X9 q1 ~, H) u+ C, j$ x
  1942. ; size of the optimized code.
    2 Y/ g' D& N+ A$ H
  1943. ;opcache.save_comments=1* c$ F: p. r- t1 t% L

  1944. + x8 z0 _2 X4 m; y1 t
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ; N" ^7 p6 g1 a8 }" x4 \
  1946. ; may be always stored (save_comments=1), but not loaded by applications/ O" `) E2 A4 Q: g- C4 T2 t3 H
  1947. ; that don't need them anyway.
    - Z: X* r& n* m; W, {/ D1 f
  1948. ;opcache.load_comments=1
    % z5 j- g1 }2 b1 y8 }5 G- t

  1949. , `/ c( l& B" D1 C: d% }5 R, }' s
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code8 c6 t- p+ w# F( N1 i3 l4 l2 i2 ~7 M
  1951. ;opcache.fast_shutdown=0
    1 q( p; E2 m: C( p- \
  1952. 7 n# T) m+ X6 q% x! F
  1953. ; Allow file existence override (file_exists, etc.) performance feature.% x) w- C: U4 }# ?
  1954. ;opcache.enable_file_override=0' k$ W4 }5 I* Q! D% I/ |
  1955. % o7 s8 r/ R, \# m
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache7 ?, b( G$ i* R# d' f
  1957. ; passes
    - k7 u! J$ m; H) Q+ e0 ^8 O
  1958. ;opcache.optimization_level=0xffffffff$ M3 T  g$ `3 k" c  y, h
  1959. , @  H- H1 C3 m- y% z
  1960. ;opcache.inherited_hack=1
    ' w2 l9 T( }1 l/ `, ?: |" i$ z5 y
  1961. ;opcache.dups_fix=0
    , [8 |* c& p& e) R0 Z

  1962. 9 ^, r. a4 o# Y  j" @+ T( ?
  1963. ; The location of the OPcache blacklist file (wildcards allowed).& L. Q+ [# C5 ~3 L0 b
  1964. ; Each OPcache blacklist file is a text file that holds the names of files/ k0 z$ q2 }. _3 L
  1965. ; that should not be accelerated. The file format is to add each filename
    $ r9 ^% Z& K  m+ F# l- [# J
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ; R1 @4 v' N+ R7 d; j
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : B) k) m( T. J1 i8 i9 I; R% E
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    5 ~7 r1 f. x& |+ @0 Y; d5 u' v
  1969. ;opcache.blacklist_filename=- O3 Y, [; Y- _. O# c3 I

  1970. # c- O9 C+ {& i
  1971. ; Allows exclusion of large files from being cached. By default all files$ F8 K' X! m% h% @) Y" v# e. ~/ W
  1972. ; are cached.
    ' ~. ^# r' L2 X
  1973. ;opcache.max_file_size=0
    ; U0 k  V" E8 L) F, U* ]

  1974.   O: P2 Q3 @3 L# b* Q. X
  1975. ; Check the cache checksum each N requests.1 t+ E: W" Q! r0 E' ?" ^2 O
  1976. ; The default value of "0" means that the checks are disabled.
    . N: v+ S# Q/ B1 q) T
  1977. ;opcache.consistency_checks=0; e; [5 o7 i* }# _+ M6 k
  1978. ) m& O$ n4 e8 N0 S
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; r7 w' ?- H4 N5 ?
  1980. ; is not being accessed.4 S% q) @/ _; ^
  1981. ;opcache.force_restart_timeout=180
    . F# V2 c2 w9 w4 r% v" T8 y

  1982. . M5 i  [* d$ u1 R- @
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
      a2 N/ M7 l3 H8 v
  1984. ;opcache.error_log=
    # z; y' f; K2 a% i* _
  1985. , W/ ^/ {' B# B6 e" V2 Z  l. F
  1986. ; All OPcache errors go to the Web server log.& O. M( m1 a& _5 G1 Y" x. D* N+ [
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.4 h0 O3 o7 ]/ M6 f% i
  1988. ; You can also enable warnings (level 2), info messages (level 3) or# S( Z- r  T; r/ L. B, o( r
  1989. ; debug messages (level 4).
    5 K8 K' o  Y8 d* Q/ c5 W
  1990. ;opcache.log_verbosity_level=15 W8 R2 `: ^- u" v6 j
  1991. 7 ], f  c4 c. A7 k
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.5 l) r: n$ O$ ~. ?
  1993. ;opcache.preferred_memory_model=
    ! {; V& F. [" q* T, }, ~
  1994. % A6 `4 b3 `. ]/ H, }9 R
  1995. ; Protect the shared memory from unexpected writing during script execution.
    " U9 v# w: R5 i- @
  1996. ; Useful for internal debugging only.- g% ?& H2 u4 b- c% G' L) A8 g
  1997. ;opcache.protect_memory=04 C/ E1 S9 L* k+ w3 U: b

  1998. ' q6 y9 J/ G! W! l4 r7 F3 f
  1999. ; Validate cached file permissions.
    ; l/ D& M; V& U$ b
  2000. ; opcache.validate_permission=0
    5 f" G- j& u* Q- m9 m

  2001. / b8 S0 M" L/ X) G
  2002. ; Prevent name collisions in chroot'ed environment.
    , B# F  [" Q+ h9 J3 y( X( I# S
  2003. ; opcache.validate_root=0. c# ]( }+ k4 V7 k

  2004. % U& y- j6 S3 h3 ]/ w
  2005. [curl]
      \3 w  ]# S! ?& M& K3 L
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an  [8 k2 l  M. O0 q- K1 Z
  2007. ; absolute path.8 c6 b% C# ?2 Z
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt2 J2 m. I# t; N3 [1 s
  2009. " p& t4 S( d& Y& }/ O+ r
  2010. [openssl]/ q# f/ E3 G: o0 t2 v
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    2 o: B$ q$ K& N6 {  c
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should9 ^, U  K- n% @' {* O& w
  2013. ; not specify a value for this directive as PHP will attempt to use the
      U% {) t( G8 ~% _
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 e$ A4 `" |; r  R: y
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    + f- l. Q2 n; B# M1 t
  2016. ; option.8 p: \2 S: [! t* H2 L+ c
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    " J$ [6 ]3 M7 l5 F5 Y
  2018. 6 K; _7 f5 f. D2 _# U% a. {
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    2 h4 V0 l+ Z# Q; s
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    4 D- u8 t6 K( c3 }8 u3 c" ~8 W1 q
  2021. ; certificate. This value must be a correctly hashed certificate directory.& z  Z# B0 r; [9 m! O5 @. {2 Z
  2022. ; Most users should not specify a value for this directive as PHP will6 O  q  C2 ^, T5 K2 [
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    4 i/ V5 C2 Q* l6 o3 @' I5 J+ Y% v3 F( _
  2024. ; this value may still be overridden on a per-stream basis via the "capath"( P$ d( ^* c7 h* t& }
  2025. ; SSL stream context option.
    9 d4 o: s, c% V7 W1 g' W" h" f
  2026. ;openssl.capath=- ^3 H3 z. G# K% H! M' R

  2027. 7 Q5 r( U1 g) ]; |- X' V
  2028. ; Local Variables:
    : s8 X  C- f. ]* P
  2029. ; tab-width: 4
    1 {* _: s( e. J5 S; T$ F
  2030. ; End:
    # k( f4 w2 F) C3 m$ Y* O9 i) c

  2031. ( V. _0 G3 U* J
  2032. ;eaccelerator
    ! T2 K" g* y% }! I0 D
  2033. : R7 G% O+ W# m
  2034. ;ionCube  P+ H7 Q" m% S: z% ~0 Q

  2035. 8 u7 m8 m# n" k5 p2 Q6 ^# [% }9 ^1 H
  2036. ;opcache
    9 i5 M! h! m3 ]+ ]8 l
  2037. 5 R& G  G; Q$ b6 v
  2038. [Zend ZendGuard Loader]
    : y  d- {, {# ]
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so8 a$ Z, p; b% w
  2040. zend_loader.enable=1
    8 l1 ~& P$ {2 a
  2041. zend_loader.disable_licensing=04 _. j3 ^7 j& C0 k
  2042. zend_loader.obfuscation_level_support=3
    6 s  f* n, Z. \* R
  2043. zend_loader.license_path=& |! _, m! {. b6 E& f4 T% U
  2044. 5 p# j. x6 u8 S' g, k) J* Z/ x
  2045. ;xcache- K; _; C# [9 n- e! x$ J
  2046. & ]4 U% F" D; d" o' }, X
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146921 V+ P. J- O0 p1 _/ v

& b7 E( \8 o; M
# w7 d% A! z0 O1 i' M' ~Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,& N2 V2 ]1 F3 c9 U* p+ S2 \9 y5 C
1 A$ R" S; y; c8 u' h
Discuz!程序版本选择:
+ l: h! i, w# i* }' U6 p7 C. Y站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
$ X) e% e' E4 U5 d5 H不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
* X0 O0 a) H/ K  Q9 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。# J- X8 Y, K1 \9 f& T

9 j7 ^7 }- Y7 ]% s0 SDiscuz!插件模板版本选择:
8 ^! ^$ A0 \) n; D: ^" f很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,: o" F) b' g. i- v7 b
针对这个问题做个统一的普及:/ |' Y. {+ p' t5 o2 X
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
7 f- r2 @- h7 e. Y3 B- g- q4 R7 d! L5 {+ D; o9 b& E
所以2 I. @) R( P, u: \) i. v
适合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的二级域名。* \; t: O3 L9 J8 E) J
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。9 d! s& h3 {8 b8 U% Y
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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