分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
# g5 z4 e1 s- r. K  E# z" m
/ P* L* y4 |- ?
  1. [PHP]
    - c7 g7 _: u6 g8 r) H
  2. 6 P9 G, F2 a9 x! @" p5 t1 ^+ @
  3. ;;;;;;;;;;;;;;;;;;;* N) ]; I& _9 r) @
  4. ; About php.ini   ;
    2 F7 x: |, Z3 O
  5. ;;;;;;;;;;;;;;;;;;;
    " `/ R6 O! r' ~4 K2 g
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 X) g, U1 l4 v: f" V
  7. ; configuring many of the aspects of PHP's behavior.8 P! f& Z9 U* L2 z

  8. * O/ y5 w( c8 {* T+ L0 p7 S' N
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ! w8 d, u; r6 m% W, R7 N1 M
  10. ; The following is a summary of its search order:
    4 x" M, D: G) b/ T) [( r5 s+ _' d
  11. ; 1. SAPI module specific location.% d" `# a+ W4 g  ?
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). K$ x( y9 B  v$ x$ H! T
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)7 v. C3 W4 o* O3 r: E
  14. ; 4. Current working directory (except CLI)0 Z0 @" v; ]8 |) L! e5 o4 F* |4 g
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP/ \& n& _) g) A+ E- @# j
  16. ; (otherwise in Windows)) _# w$ W& G0 X9 E+ G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the# W$ I0 a) P! Y2 l* h4 S" f
  18. ; Windows directory (C:\windows or C:\winnt)  D3 ]" w% |# i# C+ y
  19. ; See the PHP docs for more specific information.
    + H5 F- V  H$ V3 y: r+ r3 ^
  20. ; http://php.net/configuration.file
    $ {4 D: v; g& \1 m) v

  21. * N$ P1 l% I$ ?  o! a- ^
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* D' W2 b  g3 ~+ T
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).: r! X+ s" N8 N! \
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# Q! D0 `; Y& n" G% N
  25. ; they might mean something in the future.* t" J. n; P1 k/ Q2 u1 s- }
  26. $ v: d- _! m, l6 q% B
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 \' d# ~1 n) G' G9 I9 o" X
  28. ; apply to PHP files in the /www/mysite directory.  Directives8 w! ^3 l" l+ `% w1 u
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' X5 G) N: n6 j
  30. ; PHP files served from www.example.com.  Directives set in these+ q6 y- j) J$ f3 k  Q
  31. ; special sections cannot be overridden by user-defined INI files or& b, A8 j2 _4 O9 B+ o4 B+ p3 Q* x2 P2 {
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    9 Y; u1 [; r3 s- s8 k5 G
  33. ; CGI/FastCGI.' a, [. F$ R: u% Z- s0 U* C' J3 W
  34. ; http://php.net/ini.sections' n+ m% f- }: {- c3 ^0 ~: x0 U& v

  35. / i# K# }, f1 H# D3 T1 h$ |
  36. ; Directives are specified using the following syntax:
    & f% R& @; x1 G9 {0 k4 F7 \6 c+ `
  37. ; directive = value1 Q: i' P6 F+ J# R# ]" ]5 j! K
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 u2 `6 {' z# T+ K' g6 v& M
  39. ; Directives are variables used to configure PHP or PHP extensions.
    2 }1 L. Q* ?( x
  40. ; There is no name validation.  If PHP can't find an expected
    7 _7 v  }( |6 M4 Z" H. y' P! f6 c
  41. ; directive because it is not set or is mistyped, a default value will be used.5 [& ?" N  F1 Z/ ?
  42. ( _: t3 C* F/ z1 b
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( B, i. L' K2 Y2 z4 g+ ~9 V
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression: d" O: N7 M. K
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a6 L( T3 A, ~% ^. p+ D& S
  46. ; previously set variable or directive (e.g. ${foo})
    % j0 v) z; ~% g) e* U
  47. : y: E3 `5 |1 ]  o
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! s* v0 C7 q# S7 l* D+ x
  49. ; |  bitwise OR* h0 a& ]; V) y3 N  A$ ^/ L3 Y
  50. ; ^  bitwise XOR
    # J6 F* V0 E, B0 T! f
  51. ; &  bitwise AND- g$ Y: K1 D. T& ]% N" r9 B7 w
  52. ; ~  bitwise NOT) z) U0 X2 o  {7 W- P, ?4 l; ~
  53. ; !  boolean NOT" b0 v# j  c, G- g

  54. - Y; L: ]+ U7 \1 W! ~
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 y: ~  e' y+ ?! w$ j/ b5 X9 C
  56. ; They can be turned off using the values 0, Off, False or No.
    $ P0 i" U! y( J1 a1 I

  57. 7 I9 E/ \- U6 k! c8 l
  58. ; An empty string can be denoted by simply not writing anything after the equal
    7 p% R1 w$ S/ L# m9 q
  59. ; sign, or by using the None keyword:! E3 d9 O1 Y& r$ I% Z" @# R
  60. $ a, s: t! h+ c! i
  61. ;  foo =         ; sets foo to an empty string
      b' S0 }; c! w3 L$ m
  62. ;  foo = None    ; sets foo to an empty string/ s, H+ n& G: V
  63. ;  foo = "None"  ; sets foo to the string 'None'
    2 m; }2 N5 @; j0 L" R

  64. 0 U# y3 f  F) f7 i' _3 {
  65. ; If you use constants in your value, and these constants belong to a
    1 t! w9 Y4 A8 u# p. }  H
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    1 Y+ M& _6 d0 v7 a: U
  67. ; you may only use these constants *after* the line that loads the extension.- m" @0 D5 x: R( d- s+ r9 _% [0 _! l
  68. 3 i* t8 i# B* N( \2 x' K  e
  69. ;;;;;;;;;;;;;;;;;;;, U  u7 J! e; p& h1 e5 f* ~2 y% i
  70. ; About this file ;
      `" q4 E$ x: K" |
  71. ;;;;;;;;;;;;;;;;;;;
      Y% c4 l7 q7 \; E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ }0 {" {: [$ ?/ [2 W! t" N
  73. ; in production environments and one that is recommended to be used in5 a8 e. K9 Z5 d+ n7 h% V' \- w
  74. ; development environments.
    8 Y; @0 \6 v1 t2 O+ r! ]  Q, B

  75. + K6 j, @$ }/ Z$ w$ _
  76. ; php.ini-production contains settings which hold security, performance and8 F8 H3 J8 \* w7 y
  77. ; best practices at its core. But please be aware, these settings may break% V  L( I, |  d% C9 G% o! W; Y; V
  78. ; compatibility with older or less security conscience applications. We
    # j9 G; y0 O% r  r7 {0 N; }3 [
  79. ; recommending using the production ini in production and testing environments.. w# Y* x, H1 f, i
  80. $ E& }1 y+ _, s/ e! k
  81. ; php.ini-development is very similar to its production variant, except it is" Z; z! I0 [+ W& m
  82. ; much more verbose when it comes to errors. We recommend using the# S1 Y# p4 h1 X' C
  83. ; development version only in development environments, as errors shown to* P# a! l+ [/ C, ?+ u$ q6 z
  84. ; application users can inadvertently leak otherwise secure information.
    1 ], Q) g; E* J  V

  85. / c' t9 o7 Y; f4 z/ o
  86. ; This is php.ini-production INI file.4 ~; p; A" |3 T+ n' I
  87. ' @1 N& T3 H! ~: l: m
  88. ;;;;;;;;;;;;;;;;;;;
    ; p# ^8 n) L7 i( c7 G& ?
  89. ; Quick Reference ;* U3 D7 O0 D$ b4 i  f2 W, j
  90. ;;;;;;;;;;;;;;;;;;;4 A5 W$ y5 |! f# I  s6 h5 i2 @) {
  91. ; The following are all the settings which are different in either the production/ j1 M; |% e7 W( m- _0 q# }
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ; k) p0 x* g! h8 m- a. P
  93. ; Please see the actual settings later in the document for more details as to why# a5 M0 O, ?3 C3 n& e
  94. ; we recommend these changes in PHP's behavior.
      w: I4 `  O& T) F: i$ l& R4 f
  95. . z$ z5 D0 f: z3 q. P
  96. ; display_errors. [: y7 b, T9 m$ D% t; y* D; @5 I
  97. ;   Default Value: On
    7 s; i8 J+ C2 E+ U
  98. ;   Development Value: On
    6 |; x; |& y' ]6 \! O* M3 d
  99. ;   Production Value: Off
    ! p, S: P( |6 f6 E* {: K& L

  100. " d# F+ @$ ]& C; r; I
  101. ; display_startup_errors
    / u& _: L: ^1 J+ E
  102. ;   Default Value: Off
    : {5 _0 k4 t5 w) H, W
  103. ;   Development Value: On# R, a& n7 X, o8 l5 U
  104. ;   Production Value: Off
    $ }5 Y4 E* Q/ v# `, v7 a

  105. 5 x; U" m) v- c: s, J
  106. ; error_reporting
      \" j+ y3 r' V* z) L
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: E/ |/ r1 A1 {" k% j# ]& V
  108. ;   Development Value: E_ALL
    ( N* @1 a7 ?9 l. @/ I0 F
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    5 s1 [, ^' X" u2 X3 M
  110. 2 v4 L' E& _# F( E8 _% J" S
  111. ; html_errors: A% P% u3 j3 k+ U; G# \/ p) f4 c/ f
  112. ;   Default Value: On: \. Z4 b4 y" k- {% ]+ u
  113. ;   Development Value: On! i' y- ^0 _2 e0 N! q
  114. ;   Production value: On
    ! o' O5 y7 S9 X0 T4 ?) o
  115. ; q/ B& V# N% t/ h( x  T$ y
  116. ; log_errors
    # X) W! E, c6 L
  117. ;   Default Value: Off! @1 R4 H% v6 M7 X+ U
  118. ;   Development Value: On: C* s7 a4 O8 j
  119. ;   Production Value: On: c! s- j* m, R5 [( H
  120. 4 h! f. z8 K# g* g) x" T
  121. ; max_input_time) e( U) v: N! i* y, B2 E' Q- q
  122. ;   Default Value: -1 (Unlimited)- B) h2 o$ @, @- g
  123. ;   Development Value: 60 (60 seconds)9 X* V7 v- c7 Q; C9 K( ~9 M3 b" @9 N
  124. ;   Production Value: 60 (60 seconds)
    - Z" ]% h  B3 C: [& v$ k

  125. ) H" N6 F8 m: G9 K; _4 E, N# ~
  126. ; output_buffering" R2 ~) |& Z7 ^( ]% K$ {$ [3 Q9 ]& \
  127. ;   Default Value: Off
    : F; ?) O) Z& z% P8 h( J# s; \
  128. ;   Development Value: 4096/ z* A! k) _+ j! @" ~2 r: {5 }8 u
  129. ;   Production Value: 4096
    " g9 N0 I: {$ K" a& `9 e, z

  130. 3 W' F+ _" @; Q# {6 S
  131. ; register_argc_argv
    3 y2 \+ S  d- E6 s2 _2 }; ?
  132. ;   Default Value: On
    9 I; m* R: _  X% {& Q1 S9 f
  133. ;   Development Value: Off4 T" K0 t2 c: }3 s: F! F
  134. ;   Production Value: Off' ^! t4 I- W9 w" ~. C; K/ v

  135. ; P. D, Y7 m, u% f  M9 L
  136. ; request_order- t  l6 X* [( A
  137. ;   Default Value: None
    7 {# H  ^/ X( L1 z1 S
  138. ;   Development Value: "GP"$ o+ X! R4 K/ ~  n1 a# `, S6 C
  139. ;   Production Value: "GP"
    0 N* M  u8 \$ E" U

  140. ) D; o; Y7 N: z/ U
  141. ; session.gc_divisor
      v! f% E9 `" J3 L% }& s
  142. ;   Default Value: 100( W' U0 T; f# C  b
  143. ;   Development Value: 1000
    , t; ~) v, b" M# S
  144. ;   Production Value: 1000
    6 b3 C/ O1 }( O! W, x
  145. ! ]6 ]; z" y# f$ E
  146. ; session.hash_bits_per_character
    ' n+ p% L- ?- ?+ p( f
  147. ;   Default Value: 46 m/ L3 t, j% ?7 x' G
  148. ;   Development Value: 5
    . `) u& W) V+ s5 z. X
  149. ;   Production Value: 5
    5 |0 H: {8 \5 o! G# g' ^
  150.   K) v, p' r9 @/ x
  151. ; short_open_tag
    * p4 t0 h" x# ]
  152. ;   Default Value: On6 z. T4 @' I& v8 j
  153. ;   Development Value: Off
    $ p0 A9 h  t4 Y' R* U# l. w7 U
  154. ;   Production Value: Off
    ; h# d4 l$ K* K2 w+ ?0 B

  155. . |  ?; J/ K" k
  156. ; track_errors
    # A- S" h- \) c, n: m
  157. ;   Default Value: Off2 g$ v: P1 O4 C/ @( U! h
  158. ;   Development Value: On
    - {4 \1 @  Z6 u+ b, d3 e
  159. ;   Production Value: Off
    7 W0 W6 F9 U: F+ s% i# o9 O5 j

  160. ) u. x; p. N7 Q2 g+ g
  161. ; url_rewriter.tags
    . I; F2 Q' u5 Y, w) ?
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) [9 i4 L8 u5 X& {
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* F6 Q# W" Q# \8 |  o2 Q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; ]& K6 q7 V  n2 H8 Q2 t# f' [
  165. ! K7 F* g1 B' S: L. m$ x: X
  166. ; variables_order
    5 J! W/ y6 ^* M; c7 q. W- u. O
  167. ;   Default Value: "EGPCS"
    8 B. k% a5 u% H9 m" v. s
  168. ;   Development Value: "GPCS"8 q' s3 K$ G  T% i- i
  169. ;   Production Value: "GPCS"
    / q8 m2 j- n: s! U
  170. ! q6 y& M% x, r, ^: j0 u
  171. ;;;;;;;;;;;;;;;;;;;;) ^6 j7 o7 G( k" q
  172. ; php.ini Options  ;
    ) C# R! t- B8 e- y
  173. ;;;;;;;;;;;;;;;;;;;;7 A2 x, x# O% l* `0 g
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , h' @7 x% [% A# o2 T
  175. ;user_ini.filename = ".user.ini"
    - Y+ s, c. L7 g  I- j: s# a, ^

  176. ! U8 Z2 C$ X1 M
  177. ; To disable this feature set this option to empty value
    & S7 ?5 w3 I' K
  178. ;user_ini.filename =: F9 d1 d( }8 h: K6 `0 z
  179. + J: n4 U! {7 f
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    - i8 a1 E2 M4 w) U  k( Q6 w
  181. ;user_ini.cache_ttl = 300
      q: ]7 _5 f( {) i
  182. / U: u, N  k4 w
  183. ;;;;;;;;;;;;;;;;;;;;
    ! y+ s7 o: U& f/ f# w/ _
  184. ; Language Options ;/ W$ w& {5 n2 ^+ k# _" @8 O, P. I
  185. ;;;;;;;;;;;;;;;;;;;;
    8 d! T2 [3 L* H5 a+ {. X

  186. " |+ F4 Y/ o' `. y
  187. ; Enable the PHP scripting language engine under Apache.1 Y) S& V: f6 y- N4 _# [1 w7 |; B
  188. ; http://php.net/engine& X) _" [# ?+ ]. c
  189. engine = On+ \0 q& B8 G+ j2 ^$ o$ b/ H
  190. ; Z  n$ K4 S0 T3 T6 j  \2 E+ I$ ~# e
  191. ; This directive determines whether or not PHP will recognize code between% X/ G- E* L% C6 w& l' K. }6 Z! h% K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' R4 }! N7 z: t8 u* U
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 W2 r  u4 @$ d
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # y, V: a9 b( X! L1 U+ `( P
  195. ; documents, however this remains supported for backward compatibility reasons.
    . \5 S: X0 x0 h$ q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    6 ]- c1 X8 ^" b4 J+ k- a- A
  197. ; used regardless of this directive.
    3 @# |5 w. W: q7 r8 t- h
  198. ; Default Value: On
    ! i% V' F1 \1 a5 ]
  199. ; Development Value: Off. j, w1 e3 m1 k' L5 @2 `
  200. ; Production Value: Off4 R# x# Y. }9 O5 U
  201. ; http://php.net/short-open-tag! `$ L, L8 j% C# z# T1 H
  202. short_open_tag = On
    8 N* u8 g: s4 L& W1 M4 S

  203. 6 l' p8 p5 s' L2 d8 I0 B& g
  204. ; The number of significant digits displayed in floating point numbers.3 L* S7 y3 o/ }) ?7 B% I, i5 r, a. C2 {
  205. ; http://php.net/precision
    : s7 L$ S) d' s! ?9 m# W! Y7 P
  206. precision = 14
    2 b; [, g. k% b' R4 I
  207. 6 {2 n" t( S% ^, v; C
  208. ; Output buffering is a mechanism for controlling how much output data
    4 e$ W8 m# z- m! _  ^  ?
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 m' m2 A& [7 c* B# q2 U1 E! \" g/ ?
  210. ; data to the client. If your application's output exceeds this setting, PHP
    $ w; U2 x$ g& ?( d0 m5 m2 P) G
  211. ; will send that data in chunks of roughly the size you specify.
    , {1 S4 m) F( N8 n4 D
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    . O0 o# z+ X& m8 x$ M) F
  213. ; interesting side-effects depending on your application and web server.5 i4 R' R% S' V* o$ H/ i
  214. ; You may be able to send headers and cookies after you've already sent output5 W- c+ j* }( k: ~- C" x! Z
  215. ; through print or echo. You also may see performance benefits if your server is
    " K& K. s' C: j& }
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    " g  i# @6 L# R
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ( Z; i. \6 N7 V9 i. e6 E' @; _; ?
  218. ; reasons.2 A) M/ p! W8 F0 P% C
  219. ; Note: Output buffering can also be controlled via Output Buffering Control0 g6 l) p+ q+ O- u, E
  220. ;   functions.
    * S9 U3 h1 m6 ^5 ]* R; U- _
  221. ; Possible Values:/ c# U4 _, R' x
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)) L: c3 T7 ?9 Y3 j6 I; ?) J
  223. ;   Off = Disabled
    - |) ~+ u( r- `, O4 S) w
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 X! i) g  c' O" |0 R+ X/ E
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI0 ?6 L* J' J6 j0 C
  226. ; Default Value: Off
    4 q% u0 ]! @! j+ Y' T" G- |) ~3 T4 v$ K
  227. ; Development Value: 4096  x" i/ Z3 {8 p2 _8 V
  228. ; Production Value: 4096
    4 D. @+ c/ i( E# a
  229. ; http://php.net/output-buffering! T4 ~8 y7 \. z' @& G
  230. output_buffering = 40960 u, U2 h' f3 r0 Q

  231. " ^7 e, s! E* s0 f8 d3 i) x. U
  232. ; You can redirect all of the output of your scripts to a function.  For; \, l6 A& `* G; w3 @- v
  233. ; example, if you set output_handler to "mb_output_handler", character
    / s$ T6 t+ A5 ^8 Q
  234. ; encoding will be transparently converted to the specified encoding.( P0 `2 {2 l' M- `1 @5 Q: E
  235. ; Setting any output handler automatically turns on output buffering.6 u7 t) T& {& E3 ^( ~8 W
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ! `2 d! [* H2 @- Q3 l5 i: P, x0 \; v
  237. ;   directive. Instead, explicitly set the output handler using ob_start().2 t6 p$ A/ X0 Y# a( C/ X7 D
  238. ;   Using this ini directive may cause problems unless you know what script) B) k4 f2 w# C1 b7 O: ^
  239. ;   is doing.
    6 x9 u# r9 H& G7 w$ N$ S* C
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    $ ?$ z1 D3 [+ T7 k8 N( r5 f
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    * I4 C. q; i: y) ?1 z! ~6 G
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( r& F9 d5 o0 j2 o* x
  243. ;   Instead you must use zlib.output_handler.
    5 E0 S: ^4 J# \
  244. ; http://php.net/output-handler
    9 I/ k1 Y7 S. e  v, Y1 _7 ?
  245. ;output_handler =
    : c0 x# z) O# K7 G. _8 e
  246. * ^# O& u" k7 k: k* r
  247. ; Transparent output compression using the zlib library
    / L. X/ ^5 A7 M# S* W
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size: k8 x0 L4 X2 ~- e- ^# K2 U3 e
  249. ; to be used for compression (default is 4KB)
    9 R. _4 ~# v2 Q. T* N
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP% z% @" i) |) r4 d4 q+ g
  251. ;   outputs chunks that are few hundreds bytes each as a result of& m  n5 D6 w, ^# [7 Q: m) C
  252. ;   compression. If you prefer a larger chunk size for better
    * u7 q; S" ^- y9 Z, h$ A+ o
  253. ;   performance, enable output_buffering in addition.
    9 H2 C3 E3 g7 F1 q6 Q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    ! B; X+ p4 k( }9 f
  255. ;   output_handler, or otherwise the output will be corrupted.
    0 ~. j; D  Y: Z/ D" j( _4 O/ f
  256. ; http://php.net/zlib.output-compression
    8 R% ]3 w6 z  k, H" Q  i
  257. zlib.output_compression = Off* i1 A- G) z3 b5 [

  258. " L1 i$ I9 C- A  G  ]
  259. ; http://php.net/zlib.output-compression-level( L; O1 c0 a: u$ p( J' ]3 T$ L
  260. ;zlib.output_compression_level = -1
    ; T' E, T8 z7 ?

  261. 0 Q7 m# u% N) z5 Z1 k% x
  262. ; You cannot specify additional output handlers if zlib.output_compression
    . y/ @- ]+ d3 ^6 l# f* s
  263. ; is activated here. This setting does the same as output_handler but in, L3 S4 E6 d5 s1 `; w- k
  264. ; a different order./ [( V" G& p( a, H! Q3 Y) ?
  265. ; http://php.net/zlib.output-handler5 J. v& Z4 {5 L( z+ p! X6 V
  266. ;zlib.output_handler =8 `( H! A, O. ?5 X8 W- z

  267. * M& [6 e5 D6 D; L3 v
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    + O4 N" Y6 q/ E" O' N) O1 M6 ]6 d" O, K
  269. ; automatically after every output block.  This is equivalent to calling the
    ( J( N  X2 ~* i, x
  270. ; PHP function flush() after each and every call to print() or echo() and each+ d( n8 J6 y# m; ]. d
  271. ; and every HTML block.  Turning this option on has serious performance/ J. e- C8 Z. b+ r" Z) e
  272. ; implications and is generally recommended for debugging purposes only.% L$ [7 ^5 F2 {& S" }( n, U0 R$ s
  273. ; http://php.net/implicit-flush0 e8 P: S7 K/ V* j- ?$ B( T" U5 R
  274. ; Note: This directive is hardcoded to On for the CLI SAPI' J- ?) F: k0 {3 V5 w) O( D" F8 T
  275. implicit_flush = Off
    % T( a0 V  s* n: j! f# B/ f3 O
  276. & Q* h# ^+ O8 L/ E( x
  277. ; The unserialize callback function will be called (with the undefined class'
    3 b; v) t: [+ I: d6 L& W" l8 i
  278. ; name as parameter), if the unserializer finds an undefined class
    , `% ]  E  V% G' m5 n
  279. ; which should be instantiated. A warning appears if the specified function is- i9 {! r. S: l+ R1 t7 G, v
  280. ; not defined, or if the function doesn't include/implement the missing class.
    8 o) B: e5 F' \* Z% G6 Q
  281. ; So only set this entry, if you really want to implement such a+ m6 H6 g7 u) F
  282. ; callback-function.: ]6 d- D' \4 z) K
  283. unserialize_callback_func =
      Q' Z( ?) q1 l" `6 Q. d2 ~6 [( Y) e# f

  284. 2 H5 T. a0 Z' m$ I0 o- y& \
  285. ; When floats & doubles are serialized store serialize_precision significant
    ( v5 V/ v0 P8 K! ^% Y. v1 X+ a
  286. ; digits after the floating point. The default value ensures that when floats, l, P* X& q. y' M+ @* x. t6 H
  287. ; are decoded with unserialize, the data will remain the same.
    1 _7 s# {+ `. y6 K# y- U4 y
  288. serialize_precision = 17
    1 S$ H* Q) t7 _1 k* m1 q. H

  289. " l  u$ z3 o6 {. a/ o: @7 L# j
  290. ; open_basedir, if set, limits all file operations to the defined directory2 X6 g. R, {* ]" K9 ~& G2 F
  291. ; and below.  This directive makes most sense if used in a per-directory: b) H, c, J) `  y0 S, z
  292. ; or per-virtualhost web server configuration file.* H$ W  T; E. r4 A4 A. Q8 `
  293. ; http://php.net/open-basedir
    # [( {. W% v$ D! R0 t2 C
  294. ;open_basedir =6 ^' X; Y0 A, j
  295. 8 ~) y6 l$ I6 Z1 a; J  c- s1 H
  296. ; This directive allows you to disable certain functions for security reasons.8 F+ r  H* r9 y: S1 _/ {$ t1 Q
  297. ; It receives a comma-delimited list of function names.9 x. i; e& p2 j2 C/ _4 i% b# S
  298. ; http://php.net/disable-functions
    9 v2 [* R+ P3 s
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 W6 }2 T2 V4 T- ^9 l% }8 C' R+ l

  300. $ N+ x2 f5 [; g' M8 V0 J( S2 k6 [2 s
  301. ; This directive allows you to disable certain classes for security reasons.. ]  \5 ?7 Z6 t) Q# i$ L. T
  302. ; It receives a comma-delimited list of class names.
    7 g$ _& |5 o! n% |% ?, R3 _
  303. ; http://php.net/disable-classes
    & r6 ?: q- i9 w* q! S1 }( k, l
  304. disable_classes =/ e8 E3 j7 O" v# V# D1 b
  305. ; }, R# |: B# F! _+ l! d) i& W
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / `1 ?3 c) \  }) T! j; U% }1 u3 w
  307. ; <span style="color: ???????"> would work.& B1 Y9 j- e) `2 ~
  308. ; http://php.net/syntax-highlighting' T3 R# c1 l; J' y8 G+ y: o
  309. ;highlight.string  = #DD0000( d. y/ O" t& G8 S
  310. ;highlight.comment = #FF9900
    6 X4 ^# X0 Y7 o- _
  311. ;highlight.keyword = #007700
    ; m$ F8 h1 D. L
  312. ;highlight.default = #0000BB
    8 [& u* _- J9 ~% ]& X3 f
  313. ;highlight.html    = #000000$ O2 }1 p, Y% {

  314. 3 E0 l: c" y6 H$ l5 _6 U
  315. ; If enabled, the request will be allowed to complete even if the user aborts8 s9 v1 e4 U" o3 N3 D8 O- `( T
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ; ?, R' l' N4 ^6 g
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 W0 F; v/ [  G, R
  318. ; is to disable this feature.! {6 ]! U, j4 j+ ?" y1 j
  319. ; http://php.net/ignore-user-abort8 b4 N) A, {2 D4 `7 [4 Q: O
  320. ;ignore_user_abort = On3 \. Y: E' O' Y: R0 X0 C( p; K

  321. 0 _- t" ]  f( ^% o7 ?8 d& Z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should. `$ B+ P2 V) f" `+ G8 R: K. T
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    7 Q* k& h3 I2 e. C/ Q) F
  324. ; the file operations performed.+ j( @; ], \' ]
  325. ; http://php.net/realpath-cache-size: k, O  d. Y+ `. K/ q" w
  326. ;realpath_cache_size = 4096k! j: O' A. E3 x; U' b$ J# e4 o+ `* l2 }2 m

  327. 5 P  m6 R8 _. B4 u/ E
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    1 |) M! b& N1 U6 h
  329. ; file or directory. For systems with rarely changing files, consider increasing this& i- p" B! g0 C; ~. i
  330. ; value.2 F/ c# ]/ c  r& A
  331. ; http://php.net/realpath-cache-ttl
    ) E/ u* ^9 P# F! O8 i# J
  332. ;realpath_cache_ttl = 120  j7 G& f, k6 i6 h6 P/ p. t6 r& r
  333. 0 t( b: i% j6 S" b; v. ~0 Q2 G$ ?
  334. ; Enables or disables the circular reference collector.* E0 O, _4 s' V4 |2 N' [
  335. ; http://php.net/zend.enable-gc
    3 r# O0 r; u/ H  v. w) B# O
  336. zend.enable_gc = On
    8 f$ h1 m8 @. M+ h

  337. ( T8 e' N# M9 x2 q% n
  338. ; If enabled, scripts may be written in encodings that are incompatible with
      W7 h& W" J% j+ P- b
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    4 s* ^% I& S9 N* p; K6 B* E* m
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    : Z4 O% G9 Q3 T, M6 `. j
  341. ; Default: Off
    & n0 g: ?0 ^, ?+ R$ I  n" z  u2 Z
  342. ;zend.multibyte = Off
    % H8 }7 y2 K- F, O4 G, D, r: E! f

  343. 6 I. \( ~3 @; X% Q$ B' z
  344. ; Allows to set the default encoding for the scripts.  This value will be used; o" K$ N4 _9 U% h+ B! @! o
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.& U4 f1 l/ j0 e, M6 e; c
  346. ; Only affects if zend.multibyte is set.
    : v" z  y' j# J6 ~6 N: w+ }7 G, t
  347. ; Default: ""
    + \2 z1 f! ~2 y9 j# J9 r9 m/ t
  348. ;zend.script_encoding =9 R3 {2 M# T+ r( D
  349. 4 D. `2 S# ~. |3 a, Q+ P
  350. ;;;;;;;;;;;;;;;;;6 D/ ]4 G( Y  H, H2 @1 j
  351. ; Miscellaneous ;; c$ p, H6 T' a4 u) m& \
  352. ;;;;;;;;;;;;;;;;;
    * h% D/ t* P( H
  353. 0 y  R1 _9 D/ {: ?9 {
  354. ; Decides whether PHP may expose the fact that it is installed on the server* l9 `- w8 V( K/ m# B
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ H+ b: h- @6 ~8 l# `7 h6 e! H
  356. ; threat in any way, but it makes it possible to determine whether you use PHP5 W$ E9 u# i5 a, e) m
  357. ; on your server or not.
    , y! M" |0 O  }# l1 o8 D: c' L
  358. ; http://php.net/expose-php
    1 Z; ~0 y$ v1 O7 k6 \2 M9 C! [# n
  359. expose_php = On
    " V+ N# i* d5 [. F& I

  360. * a9 _4 V, I( h' S
  361. ;;;;;;;;;;;;;;;;;;;
    7 I6 Z8 L! \+ z1 E1 |4 U9 v5 D
  362. ; Resource Limits ;
      m( V7 E) t1 ~8 R, |$ [/ h2 Z4 Z
  363. ;;;;;;;;;;;;;;;;;;;
    5 d1 x* J' [% V- u
  364. ( ]! J/ H7 v0 @
  365. ; Maximum execution time of each script, in seconds
    % i0 f% B. M6 T6 M% C+ T* k
  366. ; http://php.net/max-execution-time5 C- g7 J2 O. E8 t
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ' O4 K# d9 c* S; ?# J
  368. max_execution_time = 300/ j$ P3 b) R) s* q9 @8 ~6 V" X* M

  369. 8 |/ j" X4 @" P3 n) d/ U
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    7 K8 w2 ?# a$ N' {1 I/ L
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    * o) |$ M) W/ x' u. E
  372. ; long running scripts.
    , f, v  R2 z+ y- O# Q' ]9 ]" J+ w
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ( Z/ x9 \7 h" P+ H) B& q2 O
  374. ; Default Value: -1 (Unlimited)
    . j+ a+ O% H$ @4 T
  375. ; Development Value: 60 (60 seconds)
    ( B% D1 Y& `% R: Y$ X; g. V0 K5 h
  376. ; Production Value: 60 (60 seconds)
    ; T2 }7 u2 Y% A8 M! O# v
  377. ; http://php.net/max-input-time
    2 E5 b* Y. [7 i$ }: ^+ ?3 S, p
  378. max_input_time = 60! H/ A1 T. n, o8 h

  379. : d8 _0 n9 @. z" P$ Y! t1 d% j
  380. ; Maximum input variable nesting level8 ~% Y4 O2 Y5 q
  381. ; http://php.net/max-input-nesting-level- c& ~' ~/ g2 W6 S0 ~
  382. ;max_input_nesting_level = 64
    5 A2 d9 h) w  N1 N

  383. # M9 G: D- r" ?. q- F6 I
  384. ; How many GET/POST/COOKIE input variables may be accepted2 q9 _" u% B# x* W
  385. ; max_input_vars = 10007 V& h3 h4 `7 N! \/ ?& I' @) s8 v
  386. 9 T0 _! H- O' |+ ^, b0 J1 D! h
  387. ; Maximum amount of memory a script may consume (128MB): j. u* c* Y1 d8 a2 |8 Q0 N
  388. ; http://php.net/memory-limit
    8 O% H( N* T/ V) f; `4 \
  389. memory_limit = 128M* b" D( J- c) a, s% \% y9 s

  390. . [: `3 G) ?) E% w. j6 q9 \3 @
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% V1 _/ E1 I+ G5 a
  392. ; Error handling and logging ;
    ) a* v+ g7 F" x! j, w' d* O
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( J1 j0 X8 Z1 D3 }5 m* x" G

  394. 8 L4 a6 U1 @2 S! Y
  395. ; This directive informs PHP of which errors, warnings and notices you would like( ?3 E0 B& O3 }% F* X7 g% A
  396. ; it to take action for. The recommended way of setting values for this
    1 D) t1 o! g. j% _  a* ?
  397. ; directive is through the use of the error level constants and bitwise! Z2 Y3 ?. k4 g# E
  398. ; operators. The error level constants are below here for convenience as well as1 u' @' g7 o& ?
  399. ; some common settings and their meanings.
    5 Z" ?$ X! O& M
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , ]3 y; S" Q) `& j2 ?1 w! p
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 J7 W. C+ N3 a; N% V) s
  402. ; recommended coding standards in PHP. For performance reasons, this is the0 n! S( U3 J  T! K
  403. ; recommend error reporting setting. Your production server shouldn't be wasting1 Q/ H- {) D* G& c* M
  404. ; resources complaining about best practices and coding standards. That's what7 ^) P4 V) _! C' a6 Z, U
  405. ; development servers and development settings are for.
    , j. O. I6 F4 S. p7 G4 r
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 B, w+ @2 q4 o0 i  I" B1 f( b! }
  407. ; means it pretty much reports everything which is exactly what you want during
    3 |: Z  L1 J- V  Y1 t7 L
  408. ; development and early testing.
    6 L8 F' E- X. |2 G( I( m
  409. ;+ _; o8 ~0 o4 o
  410. ; Error Level Constants:
    3 w$ L7 _( E4 B* q* f) c- ?; a* w
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)& ?3 H7 A5 T. W7 h( e& b$ Q  h
  412. ; E_ERROR           - fatal run-time errors' E8 t' d; \0 [* @$ K/ z" ^/ h' V
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    5 l* b1 k; z4 }6 d! N+ D
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    # M8 ?; k: p  G7 x
  415. ; E_PARSE           - compile-time parse errors$ l: }' L" ?6 Z" c* H& H
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ; c$ R+ T& k2 [) e: z
  417. ;                     from a bug in your code, but it's possible that it was6 e# }* U" B* T4 Q
  418. ;                     intentional (e.g., using an uninitialized variable and, j6 V4 z, o% z6 a% ]
  419. ;                     relying on the fact it is automatically initialized to an8 [: u; @' N+ w5 l" m" T3 }7 k
  420. ;                     empty string)) J. D, s2 K* {
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes8 o$ \9 r4 W. X; M9 o. y
  422. ;                     to your code which will ensure the best interoperability( P6 ^; J3 `! j% v
  423. ;                     and forward compatibility of your code
    - d: w' k# G& `, h/ z  t
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    : `: P; \; g- r5 Q  u4 e* O  `
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 M/ d0 W# ]. u! A( ?+ M: Y: \
  426. ;                     initial startup7 M  d/ Z( r: s% G
  427. ; E_COMPILE_ERROR   - fatal compile-time errors- B& B. w, k( ]2 A6 z
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! W. I7 `% ^5 s. E" G$ A9 V* K
  429. ; E_USER_ERROR      - user-generated error message- k- i. H0 K/ {2 ^3 R
  430. ; E_USER_WARNING    - user-generated warning message, d) h( c/ Q3 G2 q, q$ {: Y: V0 @
  431. ; E_USER_NOTICE     - user-generated notice message
    - v2 ?* P% d& Y% W: _
  432. ; E_DEPRECATED      - warn about code that will not work in future versions* v- }0 P2 s6 t- s7 d
  433. ;                     of PHP
      @$ ?* w7 L; j) j! T( y( b
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings) u4 i$ m8 M! X- @2 Y
  435. ;
    . M3 f  O) |/ Q9 x1 p( O; c
  436. ; Common Values:" e* H1 N+ n* @
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    3 c) }+ u( G# c- F; r- t
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + l+ b7 D7 x* I4 t2 N' l5 }* O% ~
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    % j; h  i' [3 h# P
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)% q- |; y7 a+ `1 l, T
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 F1 w; V/ u# h% }2 ]
  442. ; Development Value: E_ALL
    - F& p$ R$ o: ?+ z# j
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % F1 p+ a! j3 ~% |& ^8 H2 m
  444. ; http://php.net/error-reporting/ S  }. I3 E' i! F4 \
  445. error_reporting = E_ALL & ~E_NOTICE
    8 w* ?" m; U2 T. `6 O* V

  446.   E% q! \" w! @8 w; {9 r) j
  447. ; This directive controls whether or not and where PHP will output errors,3 d  q) ^* P' L1 \
  448. ; notices and warnings too. Error output is very useful during development, but
    ( r1 B/ m" Z3 W! A# B$ z1 v, J
  449. ; it could be very dangerous in production environments. Depending on the code2 a- {: A8 T1 r& h. {# C
  450. ; which is triggering the error, sensitive information could potentially leak5 d! U1 s4 S7 j5 a
  451. ; out of your application such as database usernames and passwords or worse.- e# |: L% T- z: m9 Z) ]5 S, g
  452. ; For production environments, we recommend logging errors rather than0 j; R$ ~/ S( Z0 I( ^( g
  453. ; sending them to STDOUT.3 R/ x5 m: G2 y( Q; j5 v, v
  454. ; Possible Values:
    ; W1 b2 x1 r7 j: r% I3 ]# c& B$ }! g
  455. ;   Off = Do not display any errors1 t9 I8 C0 F6 X- j! r+ l6 J
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    , v: k, a2 D* l& t
  457. ;   On or stdout = Display errors to STDOUT9 Z; r( m. t5 n
  458. ; Default Value: On
    - U* _+ K% F2 z/ |4 ?& w& z0 b/ l
  459. ; Development Value: On
    1 M" X3 [  R/ [9 @& ^! u
  460. ; Production Value: Off
    6 [% m; C& h, ]% B2 x  ^& h
  461. ; http://php.net/display-errors
    ! d! \- P7 f+ y/ b% E7 ]5 I! m% Q* n
  462. display_errors = On/ [" u: N* _, t0 O8 {2 t

  463. # q" J9 z1 m3 p& a" H( |
  464. ; The display of errors which occur during PHP's startup sequence are handled+ L$ D3 v- Z# D: U4 H
  465. ; separately from display_errors. PHP's default behavior is to suppress those1 j& \/ S8 F9 X8 m* `
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    4 _3 y; v( Q2 {( y# u2 n
  467. ; debugging configuration problems. We strongly recommend you
    ' \. a% C! e8 E* a7 R/ E0 _1 i
  468. ; set this to 'off' for production servers.; ^3 A* O6 l1 v% v4 C* A
  469. ; Default Value: Off3 ?4 @1 w2 }* J: x2 y  M: z4 K
  470. ; Development Value: On
    2 x: N* t, y: g2 e3 ~& w8 H9 a
  471. ; Production Value: Off
    9 N& s. H- M3 Y  n3 n
  472. ; http://php.net/display-startup-errors7 e) _1 h, S5 X" M; O
  473. display_startup_errors = Off
    ) {. v. H' ~' _. a! ?& a* R
  474. / \: k  M2 }% E& i, g
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    + d  Y: T7 y5 A
  476. ; server-specific log, STDERR, or a location specified by the error_log) O1 E4 ~' i7 P1 M# T8 _6 R
  477. ; directive found below. While errors should not be displayed on productions
    9 ~& l8 K+ _) N! P* i; N6 H
  478. ; servers they should still be monitored and logging is a great way to do that.4 v; b1 J$ }9 G( B2 x% |6 N
  479. ; Default Value: Off9 v( f0 J- o! G3 o% ~0 `
  480. ; Development Value: On
    3 K4 e* J* K1 r& `2 w; I
  481. ; Production Value: On
    8 R: v& _, ], a7 D) Q
  482. ; http://php.net/log-errors% t# m7 S2 |  ]* W) w  ~; j
  483. log_errors = On
    ' Q& K: K! ]) r/ R
  484. 7 o- m! c& Q( J/ r: Z6 v' G
  485. ; Set maximum length of log_errors. In error_log information about the source is6 o  X1 i4 Q0 Y
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) ~6 V9 \. d5 |7 p& @- a
  487. ; http://php.net/log-errors-max-len% {4 L0 G5 n0 v0 L0 w+ F
  488. log_errors_max_len = 1024! N4 p- k; q, e( o) v
  489.   l7 I7 |  F) ~$ d; p$ M/ m7 R% f% N
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
      `0 r7 C. X, l  v
  491. ; line unless ignore_repeated_source is set true.
    . v5 L( {& y/ n9 a4 H5 R0 O* v) u
  492. ; http://php.net/ignore-repeated-errors
    5 y5 g3 p+ s& s
  493. ignore_repeated_errors = Off6 a. C; w( P; F% f& ^' C: k

  494. : O& |3 J! x9 n0 O5 r& F" x
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    7 O* ~+ P  o+ O8 [- @- s
  496. ; is On you will not log errors with repeated messages from different files or
    7 m; R, m/ _, H7 H: M
  497. ; source lines.8 E- w# F# `) ?" [$ i8 v
  498. ; http://php.net/ignore-repeated-source5 h2 R3 b5 C3 y
  499. ignore_repeated_source = Off
    9 p( I  G" _8 f7 Z. g1 R4 `6 @4 x

  500. ! J; Y1 s4 A. r8 h" d9 B
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on+ y( A5 E$ n# k
  502. ; stdout or in the log). This has only effect in a debug compile, and if! t! ?: N/ m! u- ^7 r
  503. ; error reporting includes E_WARNING in the allowed list
    0 w8 {6 G6 b8 n6 N" N
  504. ; http://php.net/report-memleaks% N' j9 R5 m7 s1 t) u; M" V
  505. report_memleaks = On6 j3 u9 g* a" A; v7 F

  506. + a. X6 H4 r) N5 N8 \
  507. ; This setting is on by default.4 @! B$ ~7 j5 }# A4 c9 \
  508. ;report_zend_debug = 0
    % e! O% S# R# P3 T2 b# _8 T2 q$ Z
  509. " N1 q% }) L2 a4 G  T
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 d3 f* K; B9 `# q
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    , m- N& Z, ^5 U) r
  512. ; however be disabled on production servers.
    6 O0 ?6 a$ N; Z5 s" E
  513. ; Default Value: Off
    - b8 i8 v+ s6 e2 B; n- i6 D
  514. ; Development Value: On
    & D" J7 c, i* u7 H  j6 q
  515. ; Production Value: Off
    9 W. C/ s- [6 C' Y  Q* l
  516. ; http://php.net/track-errors& }* i: S( G/ J2 G
  517. track_errors = Off  `* Q* W% p# j$ z5 w

  518. ' Y7 J( q. c5 W/ Z) I+ b* h
  519. ; Turn off normal error reporting and emit XML-RPC error XML3 E6 b; |: a. a" O1 n
  520. ; http://php.net/xmlrpc-errors* ^  ?( A0 i/ s0 Z' k
  521. ;xmlrpc_errors = 06 P3 p! o- w& {2 b
  522. 9 s+ e0 W9 H3 }
  523. ; An XML-RPC faultCode* V; @  k0 [6 y" q- g
  524. ;xmlrpc_error_number = 01 I- R/ H4 [2 k

  525. ' y' k( {1 c! i
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    % {$ N" A0 `9 T$ \' J' B, o2 w
  527. ; error message as HTML for easier reading. This directive controls whether
    ' F6 L' o5 [& e% P( G; t
  528. ; the error message is formatted as HTML or not.- J! ?& k* U+ {3 Z4 q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI7 t% T" w8 ^! t: P0 X  Z
  530. ; Default Value: On% W% q* k1 T, ^$ G0 S" b( m; `8 P
  531. ; Development Value: On4 ]3 u9 O/ H4 j( O5 t, l1 d
  532. ; Production value: On
    * K1 H1 b0 g5 l! M
  533. ; http://php.net/html-errors4 ^9 B1 k" W$ x$ L
  534. html_errors = On" P+ x* y. B0 K( e$ ^) v

  535. 4 X! Z3 H/ o6 J2 Z  i7 |5 v
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP4 ^. E) ]" H2 ~  @$ Z
  537. ; produces clickable error messages that direct to a page describing the error0 H- M+ I7 I/ a* D* _- f' b
  538. ; or function causing the error in detail.8 G. x( z4 g, N/ ?9 X& H
  539. ; You can download a copy of the PHP manual from http://php.net/docs& [7 g0 u% X$ P4 T. c6 R
  540. ; and change docref_root to the base URL of your local copy including the+ {+ \% z2 c; w' \
  541. ; leading '/'. You must also specify the file extension being used including$ C7 r, q7 R: ~- @1 y. X! v
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which$ N4 O  @5 V) p9 [" s+ q
  543. ; case no links to documentation are generated.
    * n' k" Q5 r' A' B. G% U6 C
  544. ; Note: Never use this feature for production boxes.
    " P5 T' |( m5 Y: J7 ]; H
  545. ; http://php.net/docref-root* V4 l$ ]) Z) w6 r
  546. ; Examples" x+ d; {3 d8 R. \2 n' L5 D
  547. ;docref_root = "/phpmanual/") E/ {5 q* j: D+ w2 d- X! s

  548. 0 o5 k3 z4 |! K5 Q2 F
  549. ; http://php.net/docref-ext) W2 q7 m! S7 i8 ~, C' w
  550. ;docref_ext = .html" Z5 v& L% P% c8 ]5 a& Q. f
  551. 1 [! h6 A3 C: z! R( ]0 [0 I
  552. ; String to output before an error message. PHP's default behavior is to leave# f8 R/ H0 o: H2 P8 q, s# v: Z) @
  553. ; this setting blank.. x  w. |7 V; W
  554. ; http://php.net/error-prepend-string9 |% q; K+ Q0 u6 t4 u  G, t; i  e4 X
  555. ; Example:
    4 N! B+ d- A) Z- [
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    & B9 ?" |' ]( r. P
  557. $ R# o) w+ l. h1 o9 y* J" v3 [
  558. ; String to output after an error message. PHP's default behavior is to leave
    2 n, c! M' q# L5 t) ^4 z
  559. ; this setting blank.# A- ~. B7 M7 q& I3 p% E# r
  560. ; http://php.net/error-append-string; m, V' p; g8 W( E- q
  561. ; Example:5 ?  E6 [; ]( H% N- S1 W' F
  562. ;error_append_string = "</span>"
    4 e4 x. y2 j8 P# z- V
  563. % }3 E% i% ?' P- T: m. x+ Z" H
  564. ; Log errors to specified file. PHP's default behavior is to leave this value8 j. E7 Z  Z/ m0 _- q
  565. ; empty.
    - \6 z* a/ m, j6 l
  566. ; http://php.net/error-log
    - y  P% U1 @4 ~7 O/ B
  567. ; Example:
    7 ], t" G8 `, q7 ?+ ?2 z
  568. ;error_log = php_errors.log
    7 O- @/ L; s& m. ^; \
  569. ; Log errors to syslog (Event Log on Windows).
    . g+ R2 p. v1 o
  570. ;error_log = syslog/ h8 [: b" Q* P7 T  n  G$ y

  571. 9 c5 ]( E5 _8 o3 g
  572. ;windows.show_crt_warning
    9 s6 X9 i6 F5 L& M
  573. ; Default value: 0
      q" I, H2 V1 W) o1 w. E
  574. ; Development value: 0
    : j! u; O' \8 r# B2 E& q( t; l# X
  575. ; Production value: 0
    ' B1 M% N0 f3 {/ R" j

  576. ( B) X; h7 D0 t7 ]
  577. ;;;;;;;;;;;;;;;;;3 ~9 F$ R: b/ N
  578. ; Data Handling ;3 u* }! r6 ~' i8 [. Z
  579. ;;;;;;;;;;;;;;;;;
    1 R# W3 \& g) M, w9 x
  580. ; O' G! ^5 n# ~
  581. ; The separator used in PHP generated URLs to separate arguments.
    6 E$ F" ^- H: n$ F* x
  582. ; PHP's default setting is "&".' {; W" J+ [9 ?  w  C
  583. ; http://php.net/arg-separator.output. K$ V! `/ w8 V
  584. ; Example:; `" L% L: H; Q& z, n1 F% s
  585. ;arg_separator.output = "&"& K/ {8 ]; W: K1 @2 ?  Y. A1 P# Z# i9 o
  586. + ]/ g2 F% ~" a1 |& d0 B
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 E+ K" q1 h* j9 j- c6 H0 \, t
  588. ; PHP's default setting is "&".
    / r% a( L5 |4 s+ W) @1 f
  589. ; NOTE: Every character in this directive is considered as separator!% k% B5 Z+ h" `
  590. ; http://php.net/arg-separator.input) m  C! V6 b% ^+ _
  591. ; Example:" Q* |6 r0 t1 G% G& J8 }
  592. ;arg_separator.input = ";&"
    8 g) }* z% A1 {1 o# P  J
  593. 7 [+ }! B  z) g0 O
  594. ; This directive determines which super global arrays are registered when PHP
    9 C% Z* E7 f& q
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' d5 x! O: U- Y0 B5 ]- N+ q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) L1 N+ t3 b6 p# W  p7 o. O
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    5 z" D$ x% H, b" Y/ G9 ^! z" j+ d
  598. ; used as the others, ENV is not recommended on productions servers. You
      r6 Z0 n: I  `8 }, J  _2 a; H; F
  599. ; can still get access to the environment variables through getenv() should you) l1 p5 ]( B" C0 ]: x
  600. ; need to.
    5 `; D: K; ^9 U% [
  601. ; Default Value: "EGPCS"# m+ d+ t; o1 Y5 D4 e
  602. ; Development Value: "GPCS"$ [1 o* L$ j+ p5 X) J& _! H, y" a
  603. ; Production Value: "GPCS";
    : q" }; s: y8 L, j- v8 U: |3 M2 _7 V3 Q
  604. ; http://php.net/variables-order
    ) J0 }/ B( n! W* ~8 ^( T
  605. variables_order = "GPCS"
    . |& T6 r" Z. u) X* J) I) V

  606. : N9 `7 V3 f: T7 \
  607. ; This directive determines which super global data (G,P & C) should be
    ! F9 }6 D2 I& F& B# A8 F
  608. ; registered into the super global array REQUEST. If so, it also determines) {* p9 w: [1 n5 v" ^
  609. ; the order in which that data is registered. The values for this directive
    0 R+ B% d1 P+ D0 n# I7 ^
  610. ; are specified in the same manner as the variables_order directive,: Y. n7 ?' q1 ~8 _) R8 l
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ( ?6 }. c  X1 q4 B7 D
  612. ; in the variables_order directive. It does not mean it will leave the super) m* Z3 S, J' g- N3 z. R  L
  613. ; globals array REQUEST empty.2 v8 h5 g/ ?) O
  614. ; Default Value: None. i6 Q7 k" Z# G! ]* H" J+ }' q
  615. ; Development Value: "GP"
    $ [- n6 w1 A6 l: X
  616. ; Production Value: "GP"6 Y) `7 Q# `. L; j* _
  617. ; http://php.net/request-order7 U: k: e3 e2 K) H
  618. request_order = "GP"
    ' q" ?, A+ D6 j; z% r

  619. + r5 W$ n3 V- O4 s; u/ z: E
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    / q1 u0 N8 D- O1 G. x3 L5 W4 d
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    " C8 C( L2 @/ G, z- \/ o3 c
  622. ; is invoked. $argc contains an integer representing the number of arguments
    % T- ]4 p* g2 X. L
  623. ; that were passed when the script was invoked. These arrays are extremely
    ' O5 f2 x! Y& S  ^- O5 J6 ?
  624. ; useful when running scripts from the command line. When this directive is7 H& w  i$ f  o( n' D& [
  625. ; enabled, registering these variables consumes CPU cycles and memory each time7 ~5 D$ {2 y$ N# O! |4 S# V
  626. ; a script is executed. For performance reasons, this feature should be disabled
    9 W+ i; S$ s5 v+ e* x4 t* D
  627. ; on production servers.
    % K% c5 P" \9 _5 c9 d
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 N/ }, ^0 L" `1 \. c9 _. {6 ]# ^
  629. ; Default Value: On
    / `6 L6 q; `7 j8 G
  630. ; Development Value: Off* H' E5 z- @& s0 f
  631. ; Production Value: Off' P( E0 p$ [% R
  632. ; http://php.net/register-argc-argv
    ' X' ^1 p5 j. H% y: r4 N5 E
  633. register_argc_argv = Off
    4 H8 n# |1 c1 K0 _
  634. $ A5 w: G6 V9 s5 g. H" Q3 r
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    7 L# \8 q2 G# q2 X' ]
  636. ; first used (Just In Time) instead of when the script starts. If these% C+ a3 J3 ]6 H: D
  637. ; variables are not used within a script, having this directive on will result
    # u" c/ b, E9 m5 n7 {8 [, E
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled9 p( s" q# _9 t" ?+ e9 y7 x
  639. ; for this directive to have any affect.
    - E4 ~6 I6 i0 ^! V+ x
  640. ; http://php.net/auto-globals-jit! v: D0 O5 E' Q  T( x3 K  S7 J
  641. auto_globals_jit = On
    / J. R+ d4 C2 x1 a/ h

  642. : w7 h- E  V5 r. P+ W$ ~
  643. ; Whether PHP will read the POST data.
      X& k" ?; O3 h7 B$ R
  644. ; This option is enabled by default.& K# \  x2 ~3 ~
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST% X! ?+ Q, j7 G  R) O0 ^
  646. ; and $_FILES to always be empty; the only way you will be able to read the
      s: ~- |4 X1 _( R" c  ]
  647. ; POST data will be through the php://input stream wrapper. This can be useful' L# t5 l  A: u* [
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.4 z+ I' u7 H% a
  649. ; http://php.net/enable-post-data-reading
    4 ]: ?$ C- L( x3 D* u5 F0 N& q
  650. ;enable_post_data_reading = Off
    7 \1 e: L3 U# q

  651. 1 ^/ `+ A5 f! V9 V
  652. ; Maximum size of POST data that PHP will accept.
    5 h* Y, K# Y" F0 {' g
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    + o% G! U+ f' Z3 v
  654. ; is disabled through enable_post_data_reading.
    . F  Y" q2 A0 w4 |
  655. ; http://php.net/post-max-size
    ! l! D" ?  }7 y7 Q! |
  656. post_max_size = 50M/ y4 i0 S  @8 W) [, ?+ F% w; ^

  657. ' o2 o: r$ a# V  z7 L* w
  658. ; Automatically add files before PHP document.
    - U5 c" y9 _  T$ c2 J8 l
  659. ; http://php.net/auto-prepend-file( ?6 Z" K$ b" P& |: `/ Y
  660. auto_prepend_file =9 O/ r2 y+ a: Z) E" W) _  K0 N

  661. : Z: q: i' ?" r1 a
  662. ; Automatically add files after PHP document.5 _- V, S/ d$ r( D* R5 I/ h
  663. ; http://php.net/auto-append-file
      E4 v% }' B! Z( ?" R
  664. auto_append_file =8 m8 v% i% j( M! D3 A' e

  665. 8 z3 g# }5 U& i7 q
  666. ; By default, PHP will output a media type using the Content-Type header. To. n+ M7 r6 g* V8 K2 O
  667. ; disable this, simply set it to be empty.5 u* u! Y* v0 a# I
  668. ;
    ( e5 x5 C7 {! Y7 q* p1 z+ q, W
  669. ; PHP's built-in default media type is set to text/html.8 o( V: H* [* |4 G$ b) X/ x1 G
  670. ; http://php.net/default-mimetype
    5 P6 t& `: H4 N7 S# _! s8 m7 W
  671. default_mimetype = "text/html"! K7 S. Y0 Z: z" d/ o6 p
  672. . }4 Q; Q. ~5 P4 O
  673. ; PHP's default character set is set to UTF-8.
    ' ?5 U) g; C; X3 F6 O+ m
  674. ; http://php.net/default-charset2 Z$ k/ b3 U% Z2 K
  675. default_charset = "UTF-8"
    1 B* X$ p: J3 B: H) ?/ _2 [
  676. 7 ~  J6 _5 ^; H, X) L. A
  677. ; PHP internal character encoding is set to empty.( S( c8 d4 A9 z: @/ [8 L7 J; m4 e' u. V
  678. ; If empty, default_charset is used.
      v( k0 h4 J" ~3 q# m) n- y
  679. ; http://php.net/internal-encoding
    4 P! h/ k1 B  ?) b8 |! w! @
  680. ;internal_encoding =
    4 M' E7 E9 c6 `  Z/ E6 S) G
  681. 2 @; P' e# e6 L" A- [" q
  682. ; PHP input character encoding is set to empty.3 @" V9 M* \& n1 j
  683. ; If empty, default_charset is used.
    / N/ ^) F, U6 g: I3 }# n  O0 K4 h
  684. ; http://php.net/input-encoding
    . a4 ~2 r: n- O9 c# V! v
  685. ;input_encoding =
    , l& C& I0 ^( K

  686. 5 j$ @" i: Y+ k( a/ l
  687. ; PHP output character encoding is set to empty.5 u: l2 k- c% l" g2 g6 d* t
  688. ; If empty, default_charset is used.0 x  g1 D/ ^& c' K5 R
  689. ; See also output_buffer.4 }" u) Z: J4 f
  690. ; http://php.net/output-encoding
    * D2 z) ?0 C6 X! T
  691. ;output_encoding =
    7 `1 U8 \+ C) b8 H$ W
  692. * n+ c$ u& z. y( P4 x/ ~* j  _
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & I6 R% J  {1 F0 Y# `' I4 B$ V
  694. ; Paths and Directories ;
    * B8 s) x( D2 m
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;! w, }$ a8 [% [. F; f$ t0 X
  696. + F' y* Z& x5 R5 p- i* [$ u
  697. ; UNIX: "/path1:/path2"
      U# I6 b8 n# H2 Q( z3 q$ h
  698. ;include_path = ".:/php/includes"
    ! E. ~9 W7 c1 j1 e/ X2 @+ a% j1 i
  699. ;  p: b0 ]" W$ }# P0 x* z5 a; E
  700. ; Windows: "\path1;\path2"
    . r' F7 s1 J1 a0 p( d2 ~* Y
  701. ;include_path = ".;c:\php\includes"9 d# y' Q' p8 a& h" `( ]
  702. ;
    ! @+ o- ]- {2 Y: U) z1 [3 {* G( k
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"* ~# s8 W- l6 q
  704. ; http://php.net/include-path( D& D. a- l$ a" l
  705. " E$ N$ G0 K/ W. A" F
  706. ; The root of the PHP pages, used only if nonempty.
    2 _! X' a/ C9 l9 m
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + F, j- p" X4 h- ?
  708. ; if you are running php as a CGI under any web server (other than IIS)% ~1 T7 [$ e6 Y  D7 L3 G, `
  709. ; see documentation for security issues.  The alternate is to use the
    3 N( [' L) I9 O: P' J' Z; U
  710. ; cgi.force_redirect configuration below
    8 `5 [! \1 u3 Y, A/ N
  711. ; http://php.net/doc-root
    $ H' u- Y! B6 ?2 L; ]. T9 Q
  712. doc_root =
    - x* g* f/ p7 Z7 v& F  }' R

  713. % o1 o( T4 U/ r4 `. q; @: z
  714. ; The directory under which PHP opens the script using /~username used only
    " `/ s3 D& l  X$ }6 p0 |8 \1 j
  715. ; if nonempty.+ q9 k8 e) J6 U6 w# W9 d
  716. ; http://php.net/user-dir; Y5 `' q9 f# }0 ~2 a. e, ~: j
  717. user_dir =
    9 e3 d: V) a1 H, F* `

  718. , d, x- }3 n: k3 u+ p& r/ ^. G$ K2 D3 ]
  719. ; Directory in which the loadable extensions (modules) reside.9 `4 U2 V/ W( P8 y
  720. ; http://php.net/extension-dir
    0 o- p+ ~5 p7 c$ i
  721. ; extension_dir = "./"2 x% D; n0 J  Z5 I. T( p9 v1 U
  722. ; On windows:3 w" u$ \9 V+ g7 P2 _! Y
  723. ; extension_dir = "ext"8 L5 \8 L! W# h3 @- }: R

  724. " j! j  t$ E0 U" T
  725. ; Directory where the temporary files should be placed.( m0 W" e/ C% i, k" P' H8 h4 v) B
  726. ; Defaults to the system default (see sys_get_temp_dir)
    9 {& ~9 l$ v6 A7 `/ f; v3 F
  727. ; sys_temp_dir = "/tmp". e3 o6 ~8 i) A; H- [# N/ o

  728. 3 Q7 [% `$ [6 r: c7 i6 t6 J5 G' m
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work: P% Z! w- J1 B0 n
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically! L& m8 @: V8 v% k/ p
  731. ; disabled on them.
    ! s" n2 L) |2 }$ M+ F- h
  732. ; http://php.net/enable-dl
    0 Y( `. [) v9 i$ f' _5 y8 n
  733. enable_dl = Off
    ; y: m2 E6 D7 ?- w% A/ y. p; N  j# H

  734. $ R7 o  N/ o2 p* D% P. S# B
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 d9 Y4 g9 c/ t" U
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    4 {( p( f" C7 Y/ x- X3 W
  737. ; turn it off here AT YOUR OWN RISK
    ; [: Y; ?, G* {9 i5 n
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    7 e8 V9 n/ w3 O/ X) L# j8 E: E
  739. ; http://php.net/cgi.force-redirect1 E) B" o" e1 R4 |9 x# t! O# F
  740. ;cgi.force_redirect = 1
    ! \6 e3 T/ s3 P/ J5 u
  741. % h0 s8 {1 P/ G* U$ R9 D6 T0 s
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with# u6 D* a* b/ f# \
  743. ; every request. PHP's default behavior is to disable this feature.
    + Z$ n: K4 O, d- v6 A
  744. ;cgi.nph = 1
    0 W1 K: K+ i6 g
  745. * ~" ^& n4 _& f3 i9 c0 D
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape: D7 w( r9 j7 C' `
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP4 f5 {& K* g4 s% V
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY6 D  r% b' I$ r8 s
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    $ h7 i! o, c' W; }+ z/ X6 O
  750. ; http://php.net/cgi.redirect-status-env
    % y# {$ [  J: q
  751. ;cgi.redirect_status_env =
    5 x1 ]0 O) v4 ^2 ^+ D# A9 B
  752. ( w4 y8 P# `% Z' R3 U, @3 _
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    4 c% b6 |' d% S  t3 H) }
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    9 t/ \/ W5 R3 p+ B5 ~8 G9 ~& q
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting) A. n- ]$ h# Y% C1 h& d
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting2 F8 a1 u1 B* T- s# U) R
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts( M5 {7 y( ^. _; b9 r+ E- |# n
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    - @% o0 J$ m9 f4 n% T& x
  759. ; http://php.net/cgi.fix-pathinfo' z" Y; m3 i1 w$ h4 ^# W' E# Y
  760. cgi.fix_pathinfo=1' \1 A2 Y! `& r/ U

  761. % G: Z' v. g5 t1 g* m7 {& t
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside& f# a3 \3 o$ y( t% V! j" {
  763. ; of the web tree and people will not be able to circumvent .htaccess security.. v2 c& ^; n, [: [+ W
  764. ; http://php.net/cgi.dicard-path+ V' O4 L7 {+ w, s3 W' L8 S
  765. ;cgi.discard_path=1& d/ {, {+ j! l. N

  766. & e* o5 G/ g1 f& ?
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) ]6 `; B8 _  P& g8 w
  768. ; security tokens of the calling client.  This allows IIS to define the9 ?- k2 W6 s# M7 E8 r  B
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    & x8 k  o3 |2 |5 u& Q0 P( ^$ L$ D
  770. ; does not currently support this feature (03/17/2002)
    6 F- `- o  S6 \1 n, `- _( l' L
  771. ; Set to 1 if running under IIS.  Default is zero.
    7 x0 Y1 M& x7 T& Y2 G* z
  772. ; http://php.net/fastcgi.impersonate* B! ]6 Q! H- H" c8 h0 k
  773. ;fastcgi.impersonate = 1
    # k7 x9 N1 f) f. L8 m5 ]
  774. ( ]. p% I& j5 c. h; r# T
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ t% i5 R. M/ y9 v: A
  776. ; this feature.
    , l. g5 v+ N7 i% N) k
  777. ;fastcgi.logging = 0+ q) Z  s0 |/ ^, R# E

  778. ( y* n- [! M6 P6 ~2 O: X8 ]
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ! K; b/ |9 y2 i
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that' n; h3 |- @3 N% N1 T; B  M
  781. ; is supported by Apache. When this option is set to 1, PHP will send- m2 ^  R0 O6 H) S
  782. ; RFC2616 compliant header.1 V$ }- s4 K$ P5 F; H- f+ _
  783. ; Default is zero.
    6 k2 A2 `( V4 w- v$ L
  784. ; http://php.net/cgi.rfc2616-headers
      _, D9 y; ?# J) f9 u
  785. ;cgi.rfc2616_headers = 0, f$ X- `3 }& @" a3 B
  786. ' R. k& h; ?; x# y3 t0 W) |3 i. p6 d
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    % K% g8 P$ a/ i$ a: d, X
  788. ; (shebang) at the top of the running script. This line might be needed if the; [  ?/ U' b! z7 ], o, u
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : T; o5 c# v4 [0 n
  790. ; mode skips this line and ignores its content if this directive is turned on.* \! P5 |, k9 I% R( v
  791. ; http://php.net/cgi.check-shebang-line
    ) L" j0 m  f3 j' M. G2 W
  792. ;cgi.check_shebang_line=1  C( H9 ?7 h( l

  793. 5 S( R, v4 x* \4 O$ W) P0 p
  794. ;;;;;;;;;;;;;;;;
    0 G; k  C" \9 k% I7 B7 {
  795. ; File Uploads ;
    ) X9 S. E, f9 u/ ~8 M. x
  796. ;;;;;;;;;;;;;;;;
    # o8 \9 @' y/ k

  797.   R; h' m! d3 f# f7 \; T0 o' a
  798. ; Whether to allow HTTP file uploads.7 D( }1 m" `; ?" t# S
  799. ; http://php.net/file-uploads5 R$ ^' t3 g( d; S* T- q
  800. file_uploads = On
    0 N% U2 t0 V: q6 z) i' q
  801. 0 \3 ^# G% c; v2 {0 N
  802. ; Temporary directory for HTTP uploaded files (will use system default if not! s# X! x( j! P1 Y& @8 ]4 @
  803. ; specified).
    8 j8 {  s4 ^! o5 w1 H
  804. ; http://php.net/upload-tmp-dir7 X6 ~; e6 c5 p) W( a8 b  p
  805. ;upload_tmp_dir =
      }( [# G5 H3 g
  806. + P: N- k+ N1 {3 M% f4 h
  807. ; Maximum allowed size for uploaded files.
    ' ^7 Q$ M1 T$ ?" }/ H9 y
  808. ; http://php.net/upload-max-filesize! e9 ]  p0 j+ B5 t! b, S3 x
  809. upload_max_filesize = 50M; _, E$ _, L1 e4 a) E- P
  810. + D2 e% w# S& V2 P( ?& B
  811. ; Maximum number of files that can be uploaded via a single request
    ) c* i$ G9 u1 d% r( ^" l
  812. max_file_uploads = 20
    8 ]: T, a, o( ^4 H8 E- J5 V
  813. ! G+ D% J2 b: q1 P
  814. ;;;;;;;;;;;;;;;;;;
    / j: L& T$ Y. y1 ]" [) M5 C8 K
  815. ; Fopen wrappers ;
    ! A8 z& Z/ F% o: H, U/ Q  W4 o8 N
  816. ;;;;;;;;;;;;;;;;;;6 ?3 U4 K- L% C' J4 x
  817. + N8 o0 k0 W* F: w+ ]1 r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    $ j2 C3 e6 b  {. L
  819. ; http://php.net/allow-url-fopen+ @1 T. ]: \3 E8 @' F, @. n  V6 n
  820. allow_url_fopen = On/ b6 k: l/ }9 o9 i. [2 b

  821.   G$ S7 E% K8 g2 s5 j" c
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    . b& ], r3 R; v. [) X2 f& i! L
  823. ; http://php.net/allow-url-include; m6 a( a+ s$ d2 u0 R0 ?
  824. allow_url_include = Off7 i4 O- M( t2 n0 z: P0 d& ~
  825. % G, [& q4 q: p8 s) }( C% ^% C
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 D8 @" {% N( r1 e0 R  a' w: A3 z5 [
  827. ; for this is empty.! X2 |+ B( ]% p! f+ C, t, E: N/ [
  828. ; http://php.net/from- g- n) g( ?/ i9 `
  829. ;from="john@doe.com"
    % q7 r: S' q4 f
  830. & M) O# N* R6 d( M( A8 y5 ^0 H% a
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
      z$ _/ |7 [8 e, E" W
  832. ; http://php.net/user-agent
    . G8 z  Z$ s+ @6 @( C& d
  833. ;user_agent="PHP"/ @! u7 r, g% A

  834. ; P, `6 s; I1 v5 [- G+ b2 E7 X
  835. ; Default timeout for socket based streams (seconds)0 M0 p8 j: C. H  o4 m
  836. ; http://php.net/default-socket-timeout
    # \( _! W+ w. r) u. r- I
  837. default_socket_timeout = 60
    ( l: @+ N; J1 ]; [2 }& P
  838. 3 N2 O# P3 z1 s2 n
  839. ; If your scripts have to deal with files from Macintosh systems,9 f$ Q4 W! D/ s2 v& g
  840. ; or you are running on a Mac and need to deal with files from
    ( B  Q5 {' e8 H" V. d0 N
  841. ; unix or win32 systems, setting this flag will cause PHP to, W  N" U3 E- q! f$ e+ ]" M+ d( i
  842. ; automatically detect the EOL character in those files so that
    0 h) n. e. W' u& R9 F+ r+ _
  843. ; fgets() and file() will work regardless of the source of the file.
    1 A) D3 @* f( D1 @) O) R
  844. ; http://php.net/auto-detect-line-endings
    ' M0 C, |6 f8 t! ?, H4 O& G
  845. ;auto_detect_line_endings = Off
    4 ^; b; a  V6 Y

  846. , R  ^& v3 p$ P% m: P% x! F/ U9 {
  847. ;;;;;;;;;;;;;;;;;;;;;;
    4 f+ a! j+ f2 p
  848. ; Dynamic Extensions ;
    + `3 `; G! N( a: n0 k
  849. ;;;;;;;;;;;;;;;;;;;;;;
    " y5 d- R$ F1 r0 `9 s; c

  850. 8 g! K4 R: v+ W/ F' \1 U0 K! ~
  851. ; If you wish to have an extension loaded automatically, use the following6 F' t4 I; I; p
  852. ; syntax:
    $ b% X4 A, q. G! l3 ~& G1 v, a. O3 a
  853. ;
    ( \) t& l& U" `/ o; ]0 l$ j  N
  854. ;   extension=modulename.extension
    . b8 ?6 U8 z. ]' t( P
  855. ;
    ; A! ^% I2 ?7 V2 l5 Q$ \
  856. ; For example, on Windows:3 e+ m3 T! ~# ~+ h7 p* O  r2 p
  857. ;
    4 ~/ m4 C' a* W2 d0 y$ Y, R8 T9 z
  858. ;   extension=msql.dll
    * F: \1 C& g" }' ]2 ~9 h- X& @4 B
  859. ;+ a; Z. v2 d. c
  860. ; ... or under UNIX:
    " m5 S) I0 P6 \1 F6 x
  861. ;
    4 ^) ]- c3 J7 m! L/ @& f
  862. ;   extension=msql.so
    6 v' ^* I* h. x  ^8 S7 G
  863. ;
    5 `: H: a9 L( u$ C, M2 k
  864. ; ... or with a path:
    0 Q9 {( W$ M0 j+ R
  865. ;
    . h2 m% S' a  J* t5 G7 U
  866. ;   extension=/path/to/extension/msql.so: P1 h# b, m6 d# P# W$ C
  867. ;
    . |0 L: K6 z! Q9 y6 M" v
  868. ; If you only provide the name of the extension, PHP will look for it in its
    0 U( _* E1 |; N  I, }8 D
  869. ; default extension directory.8 P7 K) V* {! L& `4 {0 A9 j( O3 p
  870. ;2 J7 i, l/ I  @+ |
  871. ; Windows Extensions
    9 |' M+ M! t3 R% y7 p  D1 t3 _
  872. ; Note that ODBC support is built in, so no dll is needed for it.1 M, A8 ~" V8 s  f3 ^# z2 l
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)+ [5 a$ G, g; w$ [: o) H
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).# X9 c0 O& p8 j# d
  875. ; Be sure to appropriately set the extension_dir directive.
    1 A% S/ {9 N* m8 e6 [
  876. ;. v5 i$ A1 ^9 m* z9 V5 X
  877. ;extension=php_bz2.dll; p1 M  E- o% z! x1 I6 a- ^
  878. ;extension=php_curl.dll" G' S" h' y' m+ D
  879. ;extension=php_fileinfo.dll
    + L/ g' [% W% h0 M$ c5 i9 c* ]% l
  880. ;extension=php_ftp.dll+ w6 }8 w' f& Z: p9 |* h5 i
  881. ;extension=php_gd2.dll
    ' l' s4 @6 e2 [% A3 n
  882. ;extension=php_gettext.dll
    % G7 J: e, x) K% h' X1 \5 r
  883. ;extension=php_gmp.dll1 g4 s' p# Q. Q/ p
  884. ;extension=php_intl.dll7 H2 C( T7 q1 ]
  885. ;extension=php_imap.dll/ H1 W$ J2 c1 P
  886. ;extension=php_interbase.dll1 z" O0 `$ J) c0 \
  887. ;extension=php_ldap.dll6 }4 y: h* ^; y. |: j
  888. ;extension=php_mbstring.dll
    ' u7 r2 B- h* r; C
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( ]& j3 b8 O( D7 u* m1 y
  890. ;extension=php_mysqli.dll, I7 j& L5 o) g
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, S0 u: k  D: }: U/ J
  892. ;extension=php_openssl.dll
    2 W+ n# H9 Q* {+ F" k. L
  893. ;extension=php_pdo_firebird.dll1 @" U, J% g1 R. e
  894. ;extension=php_pdo_mysql.dll/ g) |9 I) _7 b0 I2 g4 u2 W' N8 [- }
  895. ;extension=php_pdo_oci.dll
    4 B, ?' o3 y6 ^7 [! I/ U% Z& W
  896. ;extension=php_pdo_odbc.dll# |- D$ {+ {4 J, Q% p* s& I
  897. ;extension=php_pdo_pgsql.dll: B4 G. S/ Q3 ?! Z
  898. ;extension=php_pdo_sqlite.dll) N+ n* o" y1 f/ p6 P
  899. ;extension=php_pgsql.dll3 N. }% E; S8 S( K3 q
  900. ;extension=php_shmop.dll7 k) Q! Z" d$ a: N: Z( R- y0 E5 s

  901. + \6 ~: c" f. a& t
  902. ; The MIBS data available in the PHP distribution must be installed." x3 j+ \1 U# q8 Z% K
  903. ; See http://www.php.net/manual/en/snmp.installation.php; W4 ?& R+ l4 `
  904. ;extension=php_snmp.dll
    5 W- W) g, x* S3 r2 u; `7 {

  905. ; l' c6 u( h  G3 ~. f5 I) o  E
  906. ;extension=php_soap.dll% U. @( B2 j6 T* l8 W$ M
  907. ;extension=php_sockets.dll
    2 J  k2 D" k5 c. C% d+ a
  908. ;extension=php_sqlite3.dll+ {  t/ j4 l+ `- \: e! \* j- s
  909. ;extension=php_tidy.dll
    / D( V- `# V+ w# v
  910. ;extension=php_xmlrpc.dll7 Z6 Y$ `, e! O+ X( z! O! j
  911. ;extension=php_xsl.dll+ _- U1 A4 C5 [; s" w
  912. 1 R4 r! J1 j0 M& [# a( y6 v
  913. ;;;;;;;;;;;;;;;;;;;. H/ f+ U8 v: P3 c5 y" Z5 R
  914. ; Module Settings ;
    . o' k* U- p5 q3 W8 Q5 `- |
  915. ;;;;;;;;;;;;;;;;;;;* `( G; d2 ?( Z/ K$ e( e. `
  916. 0 `/ ]: P2 h* Z" }# o/ [+ j% s) y4 ^
  917. [CLI Server]2 p* H" l% u4 k9 Y/ b
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; _. U8 k, U# |/ c
  919. cli_server.color = On6 S" k) s7 n  V$ f
  920. . P6 ?! i8 f  [# v$ w" m5 g4 S
  921. [Date]( |( Y5 B0 u, C% W; Z) g
  922. ; Defines the default timezone used by the date functions, q) R' z7 t2 q! ?
  923. ; http://php.net/date.timezone) ^/ y! I2 V, ~1 D( I- a) r
  924. date.timezone = PRC
    5 O) c' h: @5 ]8 _6 y

  925. ' j; z6 z; y. R2 z6 v/ V1 M
  926. ; http://php.net/date.default-latitude+ y; W& }+ n) J. C4 Q1 P
  927. ;date.default_latitude = 31.76676 t1 U7 Z" S* ~* B% }

  928. 8 T+ ^1 D' V( {) y; X
  929. ; http://php.net/date.default-longitude* T: N) Y* v; g  G, e& G
  930. ;date.default_longitude = 35.2333
      w* q1 G9 r- E8 Z$ e% E5 D
  931. " j* x6 R" C/ g! h) L$ V& e0 O- r) d
  932. ; http://php.net/date.sunrise-zenith
    8 P8 n% _2 {0 T) l+ J1 N
  933. ;date.sunrise_zenith = 90.583333
    7 L/ t* M0 W3 g

  934. & h" b- c3 _! g1 I- z( z
  935. ; http://php.net/date.sunset-zenith
    - u- w% G7 S( s+ V' |. \6 s, L0 y
  936. ;date.sunset_zenith = 90.583333
    : ?' e; j2 R7 o# f- {& t2 `

  937. # ^. Q5 ^- L/ K( q
  938. [filter]& s5 ^8 B* a$ U4 O
  939. ; http://php.net/filter.default1 \( x+ |/ S' K2 |5 Q+ ^
  940. ;filter.default = unsafe_raw8 h8 U/ |0 d7 O$ ^( O
  941. 9 [2 z8 a- I' _) K, J0 F
  942. ; http://php.net/filter.default-flags
    8 ~6 h  U2 f4 |+ S8 F. _
  943. ;filter.default_flags =( c. |8 q+ z' ^% J$ [4 Q
  944. , c1 U5 V: j& o
  945. [iconv]5 H" \- k! c2 C% }2 ~
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ q1 r* ~- {* a: J
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.! E" ]/ w+ z2 _) R& s6 R2 F
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding( d5 K8 v$ r; ?. b# {% z/ s+ e9 A
  949. ;iconv.input_encoding =/ Y" n. L9 V, v6 n# C1 H2 z; D
  950. # s" h  M) O! U4 F
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.; T! \: A1 C- q( y
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 D& O# y$ i( ~2 u% ]9 F
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    # g5 }1 h+ ?3 ?5 F7 Z" S2 Q3 R) N
  954. ;iconv.internal_encoding =
    ) x8 U) R" B4 p. ~8 j
  955. 0 y6 z+ s) |' X2 \
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : V3 l1 e8 N, N% C/ z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 `8 b  t2 e# U2 d; ~: Z( c+ r
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. y9 x# [. e6 `3 W- T7 b& X
  959. ; To use an output encoding conversion, iconv's output handler must be set
    0 n- E0 F+ Q2 _# I: v1 F5 a) F
  960. ; otherwise output encoding conversion cannot be performed.
    8 Z# q* R) P. f* [
  961. ;iconv.output_encoding =
    " ]' M8 }3 s" i+ a. ]6 j

  962. : [  d2 k/ P7 P# r8 F
  963. [intl], [5 u3 q7 b5 |* D& k! E5 c; y
  964. ;intl.default_locale =
    0 e* y* t4 _6 T. T
  965. ; This directive allows you to produce PHP errors when some error* g& D' B) U4 i% W1 j
  966. ; happens within intl functions. The value is the level of the error produced.
    $ P# D; H) G! u- X! A" L
  967. ; Default is 0, which does not produce any errors.
    - |: K/ T  |$ A$ k5 w
  968. ;intl.error_level = E_WARNING
    3 G+ ~8 \; I" P3 R# ]
  969. ;intl.use_exceptions = 0: Q- Q/ t* w* f3 W) }2 h% O2 a2 V
  970. " t+ C7 T9 F4 N. s# B9 f4 z( ]
  971. [sqlite3]5 L0 B; g  C+ y: w. J/ \
  972. ;sqlite3.extension_dir =
    3 f& N  ]7 s. n  z! X

  973. 6 K0 _5 W7 D6 P& L" ^
  974. [Pcre]4 V: S* f- L6 m- _' S2 U
  975. ;PCRE library backtracking limit.4 x0 u4 E% {( z& {
  976. ; http://php.net/pcre.backtrack-limit
    5 ~. D7 m  W0 w! Y
  977. ;pcre.backtrack_limit=100000- m+ A# b- x$ A7 m
  978. 3 W) J  j% L+ V% e+ m
  979. ;PCRE library recursion limit.) W9 F- q: b1 c; L( c& w7 j
  980. ;Please note that if you set this value to a high number you may consume all
    2 E$ S( U+ g: M' I
  981. ;the available process stack and eventually crash PHP (due to reaching the( i$ C8 J  b& J3 Z, m
  982. ;stack size limit imposed by the Operating System).
    4 f7 ~/ V! ~: z
  983. ; http://php.net/pcre.recursion-limit
    3 r& u/ m' V+ U! R5 |
  984. ;pcre.recursion_limit=100000+ y3 G- h8 h) L; r6 }
  985. 4 B1 r0 j) {% \; G* x  t; v
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    " e4 L7 |! K: _0 m; w. d2 o
  987. ;library to be compiled with JIT support.
    2 Q3 ?! Q* f/ Q1 [7 Z
  988. ;pcre.jit=1+ t1 L& J8 Q" P& N

  989. . A/ _% V  h. h3 C
  990. [Pdo]2 N  K* ]% D/ O6 u5 d# w! k# }
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / E8 w* `$ d, n+ d# c- {; P
  992. ; http://php.net/pdo-odbc.connection-pooling
    " U8 W8 U: K7 k6 V( S, p7 Q
  993. ;pdo_odbc.connection_pooling=strict
    ) L# x5 _" ]/ \' h
  994. 9 v0 \+ y8 w' t  b) Z( W) K
  995. ;pdo_odbc.db2_instance_name% _7 W$ F" w2 _4 N# E/ S# u" S8 g
  996. ' H* U5 D7 B" N" v+ Z  G
  997. [Pdo_mysql]/ T! e' {6 X# \+ c
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! i. D/ T- |! W0 S, a/ C# I) \' T
  999. ; http://php.net/pdo_mysql.cache_size' o8 t" _0 Z0 _& p2 U
  1000. pdo_mysql.cache_size = 2000
    / w" a/ K4 B9 [! r: L& g, U
  1001. " x: ?. [& l& \1 E0 y
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in: o" [. h  u1 ]0 ]$ P% }" W0 g# K3 s
  1003. ; MySQL defaults.
    - O; W# T3 C9 K& k2 N5 A/ @
  1004. ; http://php.net/pdo_mysql.default-socket7 T6 I( ~" W  S' U5 o( m& r9 B
  1005. pdo_mysql.default_socket=4 A- u1 r. {0 l* k
  1006. 6 i. w6 H3 D2 D! u9 l3 B
  1007. [Phar]: R5 B* p. D+ e8 k5 D
  1008. ; http://php.net/phar.readonly" t' c) I, O2 N- i: M
  1009. ;phar.readonly = On
    & k3 M. J& Y+ u% y6 Z2 Q; N

  1010. + ]: U7 [1 d, ?7 i* G6 [2 t
  1011. ; http://php.net/phar.require-hash
    * `9 ^( M0 m0 e' D# i- l
  1012. ;phar.require_hash = On: D3 m  D% Q4 a. P/ H* Z
  1013. ( {6 G: Q; z* K. J3 a
  1014. ;phar.cache_list =
    ) m+ `& T" H0 i7 n

  1015. & B: @+ G: B8 ^
  1016. [mail function]
    3 t  Y$ _; ]$ _8 ]5 s- U2 @
  1017. ; For Win32 only.
    , d9 q: D( ]1 ?" I6 N9 _# ^
  1018. ; http://php.net/smtp. ?& P8 T0 @9 V' a* k' o- u
  1019. SMTP = localhost, p  I& |3 y+ o/ [
  1020. ; http://php.net/smtp-port" y2 q" I( H* F# |$ _
  1021. smtp_port = 25
    ' U3 I0 S- b# G$ r+ T6 s! u
  1022. " A/ S( H+ s* h! `
  1023. ; For Win32 only.& v0 ~: o* c9 U: h! z5 R
  1024. ; http://php.net/sendmail-from
    0 K- `3 P, \* i8 h& X7 W1 c
  1025. ;sendmail_from = me@example.com0 z1 g* w3 R9 U1 Y$ h! a1 t) o
  1026. 0 t: }1 f7 u0 l* x( V* h
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 ~* k1 w% l* J0 k; V- q4 t
  1028. ; http://php.net/sendmail-path  Z/ q4 i' s! K9 [( I
  1029. sendmail_path = /usr/sbin/sendmail -t -i, Q% d) _+ i) W2 E; G; \6 I# n

  1030. 0 s* ]# `7 h0 F
  1031. ; Force the addition of the specified parameters to be passed as extra parameters, P& d, h  s# E! y+ P, o
  1032. ; to the sendmail binary. These parameters will always replace the value of6 K1 c+ Y* w8 B: q) \7 @2 S
  1033. ; the 5th parameter to mail().
    ' i& e6 H( v: x- k
  1034. ;mail.force_extra_parameters =
    0 j; y+ L) e' G

  1035. : h& u4 R& u7 L- T$ u
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename8 N  Z3 Q2 `9 f- B
  1037. mail.add_x_header = On
    3 L; c/ I" e& E+ T  |1 K8 l
  1038. 2 Y. |* D* l: K/ d+ y4 F' C
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! G- l" |7 _( a( W
  1040. ; the full path of the script, line number, To address and headers.  |( @$ p1 U+ d+ ~8 y8 @: w
  1041. ;mail.log =, [3 A$ M( W% F' K: w4 t
  1042. ; Log mail to syslog (Event Log on Windows).
      m$ I* R' ^* x7 F6 Z0 }9 P( n
  1043. ;mail.log = syslog1 f7 H/ O& E' b
  1044.   f! Y' C; E" p9 d, C
  1045. [SQL]. g: x" i- M0 E1 o5 _- Z1 n
  1046. ; http://php.net/sql.safe-mode/ o0 S- }+ T, C, L  G) H
  1047. sql.safe_mode = Off- N1 h* I: F4 L9 l% C: n

  1048. ' v; L2 d0 f7 S* i; t
  1049. [ODBC]3 e0 N" y, \1 J- U2 o+ g
  1050. ; http://php.net/odbc.default-db
    - n9 t9 H1 ^5 ^. ]! L6 D0 M
  1051. ;odbc.default_db    =  Not yet implemented
    8 o( h0 i. v( w% n. R5 J+ }
  1052. & {3 b, F1 j  N# ?5 W' g- t9 p
  1053. ; http://php.net/odbc.default-user
    5 i0 Y; Y( i9 u) Y# I: |1 Y
  1054. ;odbc.default_user  =  Not yet implemented9 X" ^- N! j5 D" {$ Q, _! S2 d9 Z
  1055. " j5 J) h3 K* v1 v& j  C
  1056. ; http://php.net/odbc.default-pw
    # z( f. l% `& r$ L8 @/ ^4 `" A9 S
  1057. ;odbc.default_pw    =  Not yet implemented
    5 D! {) J" r2 F0 R, i( \. R

  1058. 3 e! b0 V8 {9 i* a- x0 L) l
  1059. ; Controls the ODBC cursor model.
    + p* U. _. j2 v+ ?* U" Q/ @! o
  1060. ; Default: SQL_CURSOR_STATIC (default).
    + H3 }1 R  H3 k* N
  1061. ;odbc.default_cursortype
    $ U5 x9 F, H. M$ Y  _) X6 y6 \- `
  1062. 4 x  I: ]+ T; j( Y. B0 _7 u
  1063. ; Allow or prevent persistent links.% g  {! h% W# p( T+ @& ~7 E( V
  1064. ; http://php.net/odbc.allow-persistent
    9 Q! s+ O+ d- r( ]$ k" s7 y) ]4 ?
  1065. odbc.allow_persistent = On3 z, m% i# t$ [9 n

  1066. , O8 N  l" D$ W
  1067. ; Check that a connection is still valid before reuse.
    - C. P" L. O; g! u& I
  1068. ; http://php.net/odbc.check-persistent
    5 g, f0 ]/ _1 A' x- f6 w
  1069. odbc.check_persistent = On
    % |4 _$ A- u3 S. y  m# a2 O9 ]

  1070. " `* k3 q/ E3 W* _
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * l1 W4 ?! @  _
  1072. ; http://php.net/odbc.max-persistent1 M1 p8 F9 ?  b4 s8 J5 q' C
  1073. odbc.max_persistent = -1
    * q1 D& f" l4 {' `0 @/ o
  1074. # T' p6 ~& s' Z5 U2 G' Y+ @
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 y. d7 d, T% {. i" h* l
  1076. ; http://php.net/odbc.max-links: U6 k% }" w5 H- c
  1077. odbc.max_links = -1( u  I+ U2 X6 v1 B

  1078. ; e8 C1 Z( I( N3 {- K- S' r
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    % Y. p$ n! a$ ]) |. y- D5 ]( t
  1080. ; passthru.
    . ]! o3 O) j% e; F0 w
  1081. ; http://php.net/odbc.defaultlrl4 T0 B- ^9 V) Q! O1 Q
  1082. odbc.defaultlrl = 4096
    2 Q. }) T3 I1 M, A) S0 P" e
  1083. + m; x# L, O$ O* m+ O: h7 _
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + U! A: ^, |' M, r6 s# u2 @
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation1 q% P& G9 C% K1 w  z0 O
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    : Z" s0 g; j, k
  1087. ; http://php.net/odbc.defaultbinmode: W7 `$ w/ B, L/ G
  1088. odbc.defaultbinmode = 1
    " m) R! ]! O. T5 t

  1089. # P5 q6 B5 x, s* T1 x* _9 {
  1090. ;birdstep.max_links = -1" Z# X! N* U0 O& }- x, g- ?

  1091. ( \) f4 i- `4 `+ A+ H; _
  1092. [Interbase]: e" F3 o6 \! |3 `% H/ a! A
  1093. ; Allow or prevent persistent links.
    8 m. K7 j) ~* `5 j7 h; j# I
  1094. ibase.allow_persistent = 1
    ; Q6 D8 q0 T7 `) b& E* y/ g
  1095. 3 `" s9 g4 O+ w! F9 }6 C7 P) z
  1096. ; Maximum number of persistent links.  -1 means no limit.
    , s) A. }8 v+ i/ a2 S  B& N6 ]
  1097. ibase.max_persistent = -1
    ) Z9 {# e! N+ S' D: a" t4 M4 k

  1098. # S4 t7 e! _( m$ Q
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 R0 y2 j$ z3 E5 a7 e( ^) G$ |
  1100. ibase.max_links = -1
    ) b3 F- F/ M3 E- Y

  1101. 2 @! H% P' r$ Y' W$ D7 ?
  1102. ; Default database name for ibase_connect().4 F  u. P- C' I/ ]; ^! n
  1103. ;ibase.default_db =' z+ c4 X7 q! q9 |8 l+ m5 {
  1104. 9 F" L" `0 P6 ]
  1105. ; Default username for ibase_connect().
    , ]( ~+ c$ \1 M+ t/ ~% _# I* m- ?4 Q" L
  1106. ;ibase.default_user =; {4 l. A9 a" Q

  1107. - W( m& `* b5 _( r, c' T
  1108. ; Default password for ibase_connect().
    5 @2 B+ S" L" V
  1109. ;ibase.default_password =
    " m3 o0 _" L: c
  1110. 5 X4 m+ B- N& `" H+ R, }
  1111. ; Default charset for ibase_connect().: o, v" @2 L5 A3 ]+ ?# h) n* R8 l
  1112. ;ibase.default_charset =
    $ I; v# _. ~# m( ?4 y; d, k
  1113. ) n3 j  s( |1 T
  1114. ; Default timestamp format.
    3 X- D5 J% ^1 e$ D4 i+ R* E
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    / f' |# Y3 D, y8 x4 y( z9 r
  1116. , R6 p) y3 ?5 b8 ~$ ?* ?; k
  1117. ; Default date format.
    5 M( B5 J$ c; J0 x9 U/ R  |
  1118. ibase.dateformat = "%Y-%m-%d"( Z: Z$ U% z7 |  V4 w1 o- X

  1119. 0 d+ Q5 W& P) C% k
  1120. ; Default time format.# `, z& j5 R! S% `" k& K6 e1 j
  1121. ibase.timeformat = "%H:%M:%S"
    # o$ l& I; P* z( d

  1122. ! M: s, z" T& C/ o; R
  1123. [MySQLi]
    % r' }/ h# P4 v2 N! ^
  1124. 2 P( ~- }4 b" m" W0 Q% @% u/ J) {, h
  1125. ; Maximum number of persistent links.  -1 means no limit.
    % Z% [; m0 a: T7 I& |% H
  1126. ; http://php.net/mysqli.max-persistent
    + Z! Z6 }4 v: X% f: \5 Y' Z1 C+ T* i
  1127. mysqli.max_persistent = -1" R6 J/ E9 \$ J1 o. J  }! G" Z

  1128. 8 D2 p, ]- |) d! \# x% Q: a# v  V' C
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# a6 N! B  h: J$ ^8 x' x+ K: W* a
  1130. ; http://php.net/mysqli.allow_local_infile7 V# D( R$ _/ e- C) `
  1131. ;mysqli.allow_local_infile = On; g; G+ w: d2 x- @- K% f$ m
  1132. : k$ i1 R, z, ~- ~, x' {/ r2 d
  1133. ; Allow or prevent persistent links.
      ?0 |$ t) l1 k6 p' M
  1134. ; http://php.net/mysqli.allow-persistent3 ]6 b# k2 E5 B
  1135. mysqli.allow_persistent = On& _/ v* `) [! [6 e, M. o
  1136. 2 c/ K. b/ c# d8 W* r
  1137. ; Maximum number of links.  -1 means no limit.; ^' M% L; f( \" q7 b- l' v
  1138. ; http://php.net/mysqli.max-links
    4 ^7 o! n# f  N- p4 t% E
  1139. mysqli.max_links = -1
    2 Y. G+ S% S4 T% t. K

  1140. ) q9 E, l3 {: ^: L0 I+ X
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 q  ?" ?" U% o5 K) R# n
  1142. ; http://php.net/mysqli.cache_size
    $ ^1 M7 W# t  Y" U
  1143. mysqli.cache_size = 2000- j) q6 c8 l$ l- S

  1144. " C$ a, f1 G* Q' r* J
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ) v  d9 x* C& I
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % v: Z8 m2 ~$ \, P7 g
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 n1 i- P  N0 R/ s
  1148. ; at MYSQL_PORT.
    , L- _9 M2 I( K7 o4 y
  1149. ; http://php.net/mysqli.default-port( t% @9 C7 f2 s8 B/ J
  1150. mysqli.default_port = 3306
    & O$ I& W: A% L! y% }% @# {
  1151. 7 N$ W& `1 @- X3 N+ m
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in* v2 @' j5 H' u
  1153. ; MySQL defaults." ]- N; u( A, j5 Y: x; {7 ~( G$ I
  1154. ; http://php.net/mysqli.default-socket
    5 K7 N6 j  ~% ?
  1155. mysqli.default_socket =! ?5 g  S! h+ m9 O1 T

  1156. 1 m0 \6 h0 q- R7 o) C; [2 y
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 U) d+ R# w2 }* h
  1158. ; http://php.net/mysqli.default-host
    - e% |; L6 b. ?
  1159. mysqli.default_host =9 z5 e% y+ t2 \( ]
  1160. % V. e9 ]& h& [  z* a
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).. q: a. |8 d( ^( I) Y
  1162. ; http://php.net/mysqli.default-user' O* ^: ^, Q1 d* {9 A% V+ T$ q/ E
  1163. mysqli.default_user =
    , o1 ~. L6 @1 L+ u6 `. ]
  1164. $ ]9 ]4 h5 O! n( e0 F) n$ r
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    4 F; @- u% X5 F3 t
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.) U; c' J- `( C/ z1 [+ o& c0 A
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")' b, Z% e( T$ U0 ^: E
  1168. ; and reveal this password!  And of course, any users with read access to this8 m& T+ Y0 t. v. Z% L4 e" W
  1169. ; file will be able to reveal the password as well.
    0 n5 o0 l& X8 |4 l
  1170. ; http://php.net/mysqli.default-pw
    $ O" ?. Y1 v1 u: V
  1171. mysqli.default_pw =
    $ _( [9 }$ `4 Y

  1172. / w. W( K+ s/ m- n- ?) O; ^/ I
  1173. ; Allow or prevent reconnect3 M1 x( ~- [; V( Z1 W- }0 [# [' ^
  1174. mysqli.reconnect = Off
    ( y+ v$ L; \9 d" @/ _: h5 f

  1175. ! Y- n& Y0 P9 L3 i; L! K4 j0 z  p& \+ C; s
  1176. [mysqlnd]' n: n4 r9 w1 {6 R; ]0 C* R+ f
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be* K! V% |( I7 \" c7 C6 ~
  1178. ; used to tune and monitor MySQL operations.
    4 ^: F# n5 s. l% i# A
  1179. ; http://php.net/mysqlnd.collect_statistics
    , u$ g. }9 [7 z3 O
  1180. mysqlnd.collect_statistics = On( [: z3 K; t* ^7 W' w2 E- S" a: w

  1181.   y) v- K  Q' Y4 I3 @. R1 Z5 ]
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be. V& h% t2 w/ T1 p, A: n9 Q
  1183. ; used to tune and monitor MySQL operations.
    , m! }0 H8 Y3 A3 n; J8 J
  1184. ; http://php.net/mysqlnd.collect_memory_statistics" Q% E7 ?: c! T( J0 Y& I
  1185. mysqlnd.collect_memory_statistics = Off! y: Y+ \$ o. U3 u9 h1 D( L
  1186. / ?; ?& S* H/ C+ m; s0 J
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    . L  ^- S8 L, L6 J& `
  1188. ; file.
      ~& f! t) G6 n$ x
  1189. ; http://php.net/mysqlnd.debug
    & r- q# y! ?/ M3 }
  1190. ;mysqlnd.debug =& m' n$ C  B, O5 t
  1191. ; j1 a7 M( z. S2 x
  1192. ; Defines which queries will be logged.
    4 R2 ^+ J* w) r& S
  1193. ; http://php.net/mysqlnd.log_mask
    " k( }! c1 Y& I( Z8 L2 O+ X" A
  1194. ;mysqlnd.log_mask = 0
    ' Z% y: W! g) @; ^, }" F

  1195. ! U9 ~+ J3 E! w$ @2 r* v( R# j8 D
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " j! G6 ~; f2 h3 n3 v# W1 Y1 K( P
  1197. ; http://php.net/mysqlnd.mempool_default_size7 g3 u; q) ~, }
  1198. ;mysqlnd.mempool_default_size = 16000: O' P9 O& W# V% R" o2 Y" ^- \
  1199. 1 r" g  S7 A6 U0 ^$ a9 V+ T/ `+ I
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.- V. Y$ k. |5 Y  M
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    # _! a8 w3 n6 r; C
  1202. ;mysqlnd.net_cmd_buffer_size = 2048( K7 Y' ~4 I. E* Z

  1203. . K3 t$ @6 W' A* p, ]" }
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ) Q9 N6 X: ^/ |' O2 E: {
  1205. ; bytes.0 l3 ]5 }! i/ ^9 I
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    & }7 u0 k! I: ~* v2 ]
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ' r5 s: z+ r! _, U& [- _
  1208. 6 P3 U0 }; |0 B6 ~8 T
  1209. ; Timeout for network requests in seconds.6 v' h' _( H* J; M; }+ f
  1210. ; http://php.net/mysqlnd.net_read_timeout6 R6 t) @& R0 Y6 W5 ~
  1211. ;mysqlnd.net_read_timeout = 31536000
    2 {1 ?6 t6 J& T. x) e& C# W  p7 S1 v
  1212. 1 k* ^' r6 z* \% P
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    % ~' O1 I5 g$ \2 x& Y$ m
  1214. ; key.# U% S; t6 j9 d8 `; r6 L
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    5 u8 A: e1 O) M. k0 `# F
  1216. ;mysqlnd.sha256_server_public_key =
    / ~7 o9 a, s+ e. Z
  1217. 6 R& ^2 E5 Z2 k( P; ^; D' g# A
  1218. [OCI8]8 T3 e( z  \# X" a) j. X9 h
  1219. + B% W5 W" {* t, [! c# V' J
  1220. ; Connection: Enables privileged connections using external
    + I& n" H% B& o$ z1 q; o/ r  X
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; ]$ ]8 B! {% o9 a3 ^( b
  1222. ; http://php.net/oci8.privileged-connect% b7 l* K, {6 e+ f! R$ F" \) p. |6 I
  1223. ;oci8.privileged_connect = Off
    " ], @; P+ @. }0 ^& }
  1224. 6 C* p) K, i0 }$ l
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    5 }1 N/ w' f+ s- d# v+ i
  1226. ; process. Using -1 means no limit.
    9 Z% l" F; W3 A1 j. J7 u
  1227. ; http://php.net/oci8.max-persistent
    & h- a) O+ s5 Z8 A( |
  1228. ;oci8.max_persistent = -1
    2 m4 v' r6 q6 K& f

  1229. 9 _& a3 o3 R$ ^7 Z  d4 d
  1230. ; Connection: The maximum number of seconds a process is allowed to( M9 U. Y6 s: V% z& G5 d
  1231. ; maintain an idle persistent connection. Using -1 means idle* A  e- @, O( T3 g- e7 P4 M. M
  1232. ; persistent connections will be maintained forever.6 z# T8 B/ R, i
  1233. ; http://php.net/oci8.persistent-timeout/ O8 B, p) S% f, t7 t$ `. \! _6 _
  1234. ;oci8.persistent_timeout = -1
    & w$ [- K$ b& n( H

  1235. ) K: w2 a* s& m1 R
  1236. ; Connection: The number of seconds that must pass before issuing a4 J2 u* J8 q5 u; p
  1237. ; ping during oci_pconnect() to check the connection validity. When# M2 f+ g3 y  B
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: q& R9 |5 V0 _7 x6 G6 Q
  1239. ; pings completely.
    $ ]# [! Z8 {' Y  _" D8 b
  1240. ; http://php.net/oci8.ping-interval
    9 {4 P8 V4 j$ I8 ]
  1241. ;oci8.ping_interval = 600 a5 O/ I/ i; g+ g1 U- N
  1242. / l) m5 |% k; E: _
  1243. ; Connection: Set this to a user chosen connection class to be used
    . T# [" F# j. U" [+ S
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    / d- Z- h5 d; v4 y3 H4 X
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 s8 |8 C; c9 ]+ g. l) }
  1246. ; the same string for all web servers running the same application,
    4 x  ]% J' w! \# z7 @+ r
  1247. ; the database pool must be configured, and the connection string must
    ( a5 B) A  M. v4 A9 \" ?4 l
  1248. ; specify to use a pooled server.4 X- B  N# ^2 }$ G
  1249. ;oci8.connection_class =3 {& Z7 r& _0 b- ^: T. H0 m* N

  1250. + l4 h. f4 ^% J6 ]$ O* P7 e
  1251. ; High Availability: Using On lets PHP receive Fast Application9 V8 C1 C$ P5 ^7 `
  1252. ; Notification (FAN) events generated when a database node fails. The
    9 L' r7 x- Q% O1 x& M+ K- o
  1253. ; database must also be configured to post FAN events.! B. j) y7 w: A& b
  1254. ;oci8.events = Off  o& w5 X5 S% \( B, ]

  1255. % a% t5 R- @. ~9 V0 g4 z- o
  1256. ; Tuning: This option enables statement caching, and specifies how7 U3 i! E7 P3 O" N, x
  1257. ; many statements to cache. Using 0 disables statement caching.6 T& c" W; J) L2 u/ i
  1258. ; http://php.net/oci8.statement-cache-size
    / C$ D( A4 `6 _; H+ n. ?
  1259. ;oci8.statement_cache_size = 208 `% F" x. \4 v0 K( W1 h! g3 r

  1260. : K. e" _: [. u) F- g
  1261. ; Tuning: Enables statement prefetching and sets the default number of! n4 w, ^% K% f& I
  1262. ; rows that will be fetched automatically after statement execution.
    : c1 w0 l5 Z# q
  1263. ; http://php.net/oci8.default-prefetch: s1 Y1 s" W: ~8 A  |
  1264. ;oci8.default_prefetch = 100
    . r0 r+ b1 V, j9 ^" b& ^. _
  1265. " u/ C1 r7 v/ d7 b+ }4 }" H; y8 Q
  1266. ; Compatibility. Using On means oci_close() will not close
      u/ Z/ `9 J! `4 S5 w
  1267. ; oci_connect() and oci_new_connect() connections.
    - ]0 M- I6 `! e( P
  1268. ; http://php.net/oci8.old-oci-close-semantics! @- q  s3 w. R! q" d, G5 i
  1269. ;oci8.old_oci_close_semantics = Off
    ; T0 k2 I2 V/ [6 V  @
  1270. 9 v2 [, l, k! \+ N8 s$ d- g$ h
  1271. [PostgreSQL]
    4 y2 ?/ @, ?8 o$ \: w2 t0 `
  1272. ; Allow or prevent persistent links., ~& t+ L4 J, X+ A- _) q/ M. y6 p6 {
  1273. ; http://php.net/pgsql.allow-persistent, S2 I& s$ W) ?
  1274. pgsql.allow_persistent = On; ^/ g6 ^! d& G; `: x# K

  1275. - x# z2 ?6 ^$ D+ Q
  1276. ; Detect broken persistent links always with pg_pconnect().
    . t8 N: V, n; f9 c( J. F2 \
  1277. ; Auto reset feature requires a little overheads.
    & O! T% M( P. ~! Z+ Y1 W" @
  1278. ; http://php.net/pgsql.auto-reset-persistent
    8 _& r0 A& i: S
  1279. pgsql.auto_reset_persistent = Off( r5 A* n, k0 \2 ~$ B: r

  1280. 2 S- Y. k. H2 t, b0 i  ]' ^" z0 {
  1281. ; Maximum number of persistent links.  -1 means no limit.
    7 Y) h) D2 V5 N/ n$ Z
  1282. ; http://php.net/pgsql.max-persistent8 \5 P6 B* N: w
  1283. pgsql.max_persistent = -1
    2 V; ]; y; @* s  n: _' r' y7 x
  1284. % s+ X! U" z, J- j# ?3 H
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & n# ^9 j" x8 y" Y% z- z! C
  1286. ; http://php.net/pgsql.max-links
    ( ~7 E- o' {" w6 R5 l/ j0 M
  1287. pgsql.max_links = -10 _4 f& J% `" N" m: y7 e3 S

  1288. % C- f- V/ T2 O' h. b
  1289. ; Ignore PostgreSQL backends Notice message or not.! S* K% l  v, ^7 l9 J
  1290. ; Notice message logging require a little overheads.
    $ }6 E; A- x0 v" J; L" g
  1291. ; http://php.net/pgsql.ignore-notice
    / ?4 x* e: q8 U7 I- [
  1292. pgsql.ignore_notice = 07 f, h. D' _, D9 c8 O  e. X3 e

  1293. ' g8 Y0 s( i" y+ k" x. n
  1294. ; Log PostgreSQL backends Notice message or not.
    : q! x* o& v  Q4 a! x4 W5 ~2 m- E1 |
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message., x, ]4 ]5 ]0 b1 f- I) S# S; m9 g  O
  1296. ; http://php.net/pgsql.log-notice
    * z$ X8 D: @  \
  1297. pgsql.log_notice = 0
    " @5 ~  X$ F: A' n3 c$ ]# S5 _
  1298. ! e& K& c4 K) U; S2 f
  1299. [bcmath]' `& z9 F7 b# d' v. A
  1300. ; Number of decimal digits for all bcmath functions.9 c! B) F7 w; X1 d
  1301. ; http://php.net/bcmath.scale" l/ T( N+ H* M
  1302. bcmath.scale = 0* I! N: ]2 ~8 h; c% o; h

  1303. 8 G/ I. D7 a2 w+ ~+ c/ s
  1304. [browscap]
    0 e5 c5 J) `9 g% X/ f6 B
  1305. ; http://php.net/browscap" h# G+ U( V$ }' `
  1306. ;browscap = extra/browscap.ini
    7 l2 g' @4 w5 F
  1307. 7 n( U. B& q* r6 d. @
  1308. [Session]% B+ U/ p1 Z5 c2 Q* k
  1309. ; Handler used to store/retrieve data.0 I- g* ?/ _5 S: M) u5 E
  1310. ; http://php.net/session.save-handler8 s1 n0 l, j9 {
  1311. session.save_handler = files
    + v, @5 x3 S* v; F: }7 ~) V
  1312. 0 N( n8 A, q4 y# \
  1313. ; Argument passed to save_handler.  In the case of files, this is the path+ I/ q/ }% l, k; o. n8 O1 x8 o; h* z
  1314. ; where data files are stored. Note: Windows users have to change this
    % _4 L  Y# ]9 u/ Q3 x
  1315. ; variable in order to use PHP's session functions.9 C1 ~3 b- C0 {& }
  1316. ;
    5 v$ ^8 O& R& @+ S' G0 c4 ^# y
  1317. ; The path can be defined as:
    : J$ r1 Z0 _. Z! W  }  [  K# Z8 L
  1318. ;
    5 T( @1 m5 w, ?) V, z2 P7 `/ k& _
  1319. ;     session.save_path = "N;/path"" y3 L7 {1 ~/ Z- ]
  1320. ;9 d$ Q/ W  A1 p, F
  1321. ; where N is an integer.  Instead of storing all the session files in
    " L; T+ n1 c1 q* |, }) u$ X
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    8 A2 A0 N7 x4 f" A0 @- b6 g
  1323. ; store the session data in those directories.  This is useful if
    . k$ n0 e' h4 P, C* X
  1324. ; your OS has problems with many files in one directory, and is# C) O7 k+ l+ X+ T( \2 I
  1325. ; a more efficient layout for servers that handle many sessions.
    ) W4 `5 p, C, O
  1326. ;# p5 G( t1 u8 X' W/ I' X1 ^
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    & Q, Q+ I! d& q" ^$ k+ t, C$ H
  1328. ;         You can use the script in the ext/session dir for that purpose.
    7 ?+ ~9 Q& a" k+ }
  1329. ; NOTE 2: See the section on garbage collection below if you choose to7 i- |; R' L% P+ h* P7 ?
  1330. ;         use subdirectories for session storage
    ' L/ G' S6 \2 i3 _8 K# X2 g! R& z3 ?
  1331. ;
    % K( V9 L% b# D3 k: Z
  1332. ; The file storage module creates files using mode 600 by default.
    + |) S! A6 d. x! }$ K0 C7 ^
  1333. ; You can change that by using8 o+ ?. o6 m3 Q& ^. V/ K
  1334. ;
    5 o$ Q' m) ?+ e- I  Q$ i
  1335. ;     session.save_path = "N;MODE;/path"
    ; \( t: E3 [1 [2 M4 }0 Q
  1336. ;
      v3 j' w6 i3 M6 l
  1337. ; where MODE is the octal representation of the mode. Note that this: d8 L6 v; p* m2 T) ]) q! k1 _6 T
  1338. ; does not overwrite the process's umask.
    4 ~6 i1 `1 j: @) c4 ?, n" o, f
  1339. ; http://php.net/session.save-path2 r( |: M4 |& X$ I* L' Q; m6 O
  1340. ;session.save_path = "/tmp"( }# d; i( G2 v& \! ?- o+ m
  1341. - P5 F- e/ x$ D# g5 h. b) S
  1342. ; Whether to use strict session mode.
    . n0 ?, U1 u4 ?# }- T$ n
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate4 K, T1 E2 v* C
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    / r$ R0 R/ X7 F6 C: @) c! U. A2 L
  1345. ; applications from session fixation via session adoption vulnerability. It is9 P7 K$ o+ O( u1 m
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.. R, S5 w" l1 d! [* d
  1347. ; https://wiki.php.net/rfc/strict_sessions
    . d, x& w' f( n& C( N8 _9 M
  1348. session.use_strict_mode = 0
    2 ?# t8 D5 C% p

  1349. 8 n$ `8 [; C) B+ m: `
  1350. ; Whether to use cookies.( A8 [# S( N7 x. X* o: ^2 j5 o
  1351. ; http://php.net/session.use-cookies
    6 p) {: w4 ]1 S& C" ~
  1352. session.use_cookies = 1  D0 z8 w+ O; ~8 c( B) J3 e
  1353. 4 k* W1 y3 V* p- {3 ]; u8 S
  1354. ; http://php.net/session.cookie-secure+ N, a5 \6 N; H4 `
  1355. ;session.cookie_secure =
    8 H, Z; {2 M) W
  1356. , ?! I6 ?$ V) F
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    1 v* U# x& i" X/ e* L1 b
  1358. ; the session id. We encourage this operation as it's very helpful in combating2 C: J; P  e; o; H2 g2 K0 Z
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 s: n& u7 ?- G, n% N
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.: s$ o0 Y+ z, ^
  1361. ; http://php.net/session.use-only-cookies8 i* {9 n' X' y: G
  1362. session.use_only_cookies = 1
    ! Z0 I& H. u8 A$ ]- V6 O

  1363. , }$ ]7 ]5 c5 q- t; q8 z
  1364. ; Name of the session (used as cookie name).
      P) j3 d( t; f& c' A5 y0 h4 D
  1365. ; http://php.net/session.name# T+ R7 j5 v% g4 D: G
  1366. session.name = PHPSESSID
    9 K( `5 x1 e- P  y

  1367. 3 D: v, m' S5 z
  1368. ; Initialize session on request startup.
    ! t5 w; [/ o, Y* q+ u# m1 |
  1369. ; http://php.net/session.auto-start. A1 O& I) G4 D$ \
  1370. session.auto_start = 01 A) k4 T0 i& R2 b6 v

  1371. 4 R+ s" h  x( l
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.' _9 {, c1 F$ U: R
  1373. ; http://php.net/session.cookie-lifetime% l# g. I" G& B# L; A
  1374. session.cookie_lifetime = 0
    4 H$ @% e% ?4 F
  1375. ) x) J  N8 @7 f  f3 p1 E1 O
  1376. ; The path for which the cookie is valid.; @' u/ u* u7 h# J# L1 O( t) J* {, P
  1377. ; http://php.net/session.cookie-path
    ' S, Y3 h  ^& w2 F* W
  1378. session.cookie_path = /% |& x' M. N) Y" Q
  1379. ( Z* d( s, y6 U  Q
  1380. ; The domain for which the cookie is valid.4 H5 H) E; b% v/ G' e% Y. E
  1381. ; http://php.net/session.cookie-domain  T1 o* D8 M: W2 m+ }  r0 s
  1382. session.cookie_domain =
    & Z* {2 g: i; e5 Q8 y- m
  1383. 7 E( g  W+ ^0 u6 `
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.8 ?* k9 U2 w# ]9 Q2 E! v
  1385. ; http://php.net/session.cookie-httponly
    : T3 G2 [! d6 I: c; V! Y$ s+ U
  1386. session.cookie_httponly =: \- R4 _# v" J0 G( h% r
  1387. . j1 g: j0 r- Q7 e* g
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    9 @8 @1 v- n0 M( |4 J, n
  1389. ; http://php.net/session.serialize-handler
    5 ^- Z3 H/ M5 D* m8 q7 |* B
  1390. session.serialize_handler = php
    1 X0 L3 I# v1 q1 g& G/ l  x

  1391. ( \8 y- w' K. Y+ i& H2 F6 l; m
  1392. ; Defines the probability that the 'garbage collection' process is started
    8 A$ A) t- l! k( P7 l
  1393. ; on every session initialization. The probability is calculated by using
    % r. X: Z: c8 H) F$ J0 t
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 x0 O4 O! `, y" \+ Y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * P/ m4 {& K: j+ i- U
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ Y7 P: A9 N: S  _& O4 u
  1397. ; the gc will run on any give request.
    2 L$ A$ K1 e1 m+ d7 r
  1398. ; Default Value: 1$ P9 d9 k9 W! R, M3 ^2 Y
  1399. ; Development Value: 1
    % Q$ D1 ?' b% T( h! Y0 Y' `
  1400. ; Production Value: 1
    5 B* `* j: i5 N: A6 r, Q
  1401. ; http://php.net/session.gc-probability
    5 T3 ?6 n+ h5 V% Q( F2 O" |
  1402. session.gc_probability = 1
    2 J9 F! B7 l, A! p$ K
  1403. 4 Q) @& @3 B7 p4 B
  1404. ; Defines the probability that the 'garbage collection' process is started on every9 y0 ?7 |$ T0 @! G
  1405. ; session initialization. The probability is calculated by using the following equation:+ t+ a+ l* ?- D& Y0 e) e
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 b& w: Q  ~3 {7 \$ H
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; G2 {. i& L; C- i# @' M% ~
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 C7 D, _, R$ K" q! E9 @0 A- s2 X
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ' N( R7 M; B5 X7 P8 _) v+ Y* g
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,$ |# U" e+ k* z* w( G" C
  1411. ; this is a more efficient approach.
      s: D, i1 c( g
  1412. ; Default Value: 1007 [. ]+ v* U8 t) h
  1413. ; Development Value: 1000
    ' P  D1 f6 ~0 t) z5 B8 L
  1414. ; Production Value: 1000; c* H, ?& m2 p5 Y
  1415. ; http://php.net/session.gc-divisor
    . x  @4 G& I. Q6 T: w9 l
  1416. session.gc_divisor = 1000
    5 r* a. c; N9 `& p4 p" F/ f- v

  1417. # E5 D4 W5 ]+ Z/ r$ ?- Y
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    / y8 m9 A& @/ W0 F" A2 Z7 D
  1419. ; cleaned up by the garbage collection process.2 P9 D" ]) h7 o1 d3 a
  1420. ; http://php.net/session.gc-maxlifetime
    * h8 J* n" M' Z/ Y$ Y9 @: f
  1421. session.gc_maxlifetime = 1440
    3 s! l0 U) a& f8 N+ ^: T

  1422. 7 k7 z6 H' {# j! A8 `9 e
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    / n2 O4 {3 a& `6 a8 B0 o/ B5 Z
  1424. ;       (see session.save_path above), then garbage collection does *not*
    1 O. c) u6 ]8 v8 e+ M5 S4 b
  1425. ;       happen automatically.  You will need to do your own garbage
    ( v) l$ h. |7 g# l, G/ ^8 `$ k5 p
  1426. ;       collection through a shell script, cron entry, or some other method.
    ; k* v9 {+ k5 A) e# Y
  1427. ;       For example, the following script would is the equivalent of  d) U% {/ b" ]' V6 o
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):7 @7 }1 R  k  \# J2 o% H
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / b$ E0 u& _; L* W* j' e, E$ l

  1430.   w8 e4 U$ N1 P, C! r' {: F( \
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.( v8 k9 @; [& m9 o
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    2 G' A, y6 B5 {* Z
  1433. ; considered as valid.
    ( W* A7 ~; {6 x! z8 p
  1434. ; http://php.net/session.referer-check
    8 Z1 c# @8 G8 o$ F0 @
  1435. session.referer_check =
    7 n+ X" Q/ x% `# u/ C4 `% h# H* j" J

  1436. 5 Y, A* |3 v6 \
  1437. ; How many bytes to read from the file./ w6 Y/ r/ v6 f) o
  1438. ; http://php.net/session.entropy-length: Z; c3 G$ P; m
  1439. ;session.entropy_length = 325 X2 f  p, A: b3 u5 d* z3 h

  1440. # v& q5 ^5 U# ]4 y5 N+ ?/ X  m
  1441. ; Specified here to create the session id.6 Y1 \7 q4 [' B; g* s; [
  1442. ; http://php.net/session.entropy-file
    ! T" p2 Q0 C6 Y" F& H4 I+ _
  1443. ; Defaults to /dev/urandom
    # @# Z$ @2 W# Y7 J& O& t
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . }8 J0 m( S9 g
  1445. ; If neither are found at compile time, the default is no entropy file.
    6 D; @6 e$ V$ d
  1446. ; On windows, setting the entropy_length setting will activate the
    ! {* a# c) ]; N6 |, T. b( f
  1447. ; Windows random source (using the CryptoAPI)
    % e- C! D3 y# g* h7 J, k
  1448. ;session.entropy_file = /dev/urandom% d- S. H0 ?. N1 U  i! H5 S

  1449. 1 `+ h6 [( H+ g
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects! a$ z: v5 s# t% _% f4 I
  1451. ; or leave this empty to avoid sending anti-caching headers.
    1 M. c' a& w6 ^: }/ r
  1452. ; http://php.net/session.cache-limiter
    0 x+ c) f. q) p1 o9 `
  1453. session.cache_limiter = nocache$ A& ?: w) ]; v5 q" ^* w

  1454. 1 ?' M3 p+ T8 E: q, C
  1455. ; Document expires after n minutes.5 Q3 p: v) K1 S" l: \% T  J& B0 p
  1456. ; http://php.net/session.cache-expire
    % p" w- Z6 U( n9 }3 L, h( v# B, `
  1457. session.cache_expire = 180
    ' S1 C9 r: M' D9 z
  1458.   E# r8 a1 D! U. }
  1459. ; trans sid support is disabled by default.
    % d+ v0 j' ~5 ^4 }
  1460. ; Use of trans sid may risk your users' security.0 ]5 j: V. K% z! N; g
  1461. ; Use this option with caution.4 ]' e7 x6 u1 B  Z) }% \
  1462. ; - User may send URL contains active session ID
    ) e; F- I4 K" M; x* U& x  U
  1463. ;   to other person via. email/irc/etc.
    + ?$ e$ l8 I/ k1 v/ M1 {% t9 D% q
  1464. ; - URL that contains active session ID may be stored. l1 B* R* P" O2 e, x. ~) U( v
  1465. ;   in publicly accessible computer.
    5 E# ?& Q) ~2 B! B0 z. C
  1466. ; - User may access your site with the same session ID. m1 w3 j4 T  g4 ]. K
  1467. ;   always using URL stored in browser's history or bookmarks.
    " ]4 S( a& x7 L
  1468. ; http://php.net/session.use-trans-sid- `& K- ?3 P" C" G( y
  1469. session.use_trans_sid = 08 ^( ^7 I: i& K" D

  1470. 2 M& v+ B& H6 y4 T4 I" H8 q
  1471. ; Select a hash function for use in generating session ids.6 |6 _. E2 m* u& S; v
  1472. ; Possible Values
    * W# S  Q2 z' |6 D, C
  1473. ;   0  (MD5 128 bits)
    9 M0 i+ M# o3 T# J. a6 `0 I
  1474. ;   1  (SHA-1 160 bits)
    $ [5 v- c% Z9 \/ E0 @$ X9 U( f
  1475. ; This option may also be set to the name of any hash function supported by
    2 x0 D* A/ z  B# J" H
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(), h% x6 H$ p/ c. h9 p
  1477. ; function.
    $ p7 {7 i  M* `- G) S0 z
  1478. ; http://php.net/session.hash-function
    : r$ T% ~6 u2 t# R& e* o# \
  1479. session.hash_function = 0
    7 F% ~( X8 d- ]( a
  1480. 5 ]$ @! _" b7 i2 g
  1481. ; Define how many bits are stored in each character when converting
    3 R; ^( U( r! j' p
  1482. ; the binary hash data to something readable.5 b, I% M/ g$ R
  1483. ; Possible values:
    5 m# S! B# ]* n  U: B
  1484. ;   4  (4 bits: 0-9, a-f)( i* ?& X7 c7 n, g- S2 @8 z8 H
  1485. ;   5  (5 bits: 0-9, a-v)9 ~: d/ q6 }# }* r  }2 v/ C
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    / @1 W9 t- e' J- S! B, n% n) o
  1487. ; Default Value: 4' `4 e9 n9 ^' T; ~8 v( z
  1488. ; Development Value: 54 P. `0 J1 O  I" D. w
  1489. ; Production Value: 5
    $ A$ t5 q) W1 {& ~
  1490. ; http://php.net/session.hash-bits-per-character, c5 r, I( Z( X8 L6 m' p3 j$ e
  1491. session.hash_bits_per_character = 51 x6 f+ @" q% n8 @9 Q. t3 z" `! f

  1492. 3 @% k  h" T4 e0 k1 ]5 z
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ) Z7 C" D8 I/ S* `0 a( n  e! D' T
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ( j1 j" u: m* R6 K- R
  1495. ; add a hidden <input> field with the info which is otherwise appended
    5 z- ^( H  v  @$ @/ w9 k* e  U7 z
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.2 G; Z# @; _/ a; `6 @8 V& [! \9 g
  1497. ; Note that all valid entries require a "=", even if no value follows.; N1 l2 V4 {) H  X; ^+ W
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - y- `4 T0 H; t/ ^' N% J0 k0 k
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 n0 C+ e" w* d( G! o
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % X( Z4 k* J" \" t- Q3 k' J
  1501. ; http://php.net/url-rewriter.tags$ i& r1 f7 S9 E6 D" W
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- \) a7 G6 C  A# @( P' H- m. H

  1503. & h$ B* ]8 S. k4 N: `' |: ]
  1504. ; Enable upload progress tracking in $_SESSION
    % K! C4 H2 i! {/ X* }
  1505. ; Default Value: On
    ' T8 j1 \' t% `* Q3 q7 l
  1506. ; Development Value: On- w2 Q, B* Z8 G3 J: M
  1507. ; Production Value: On
    / s/ W3 e# `- y0 p/ M0 }" p* R; M
  1508. ; http://php.net/session.upload-progress.enabled3 j9 T" s- N* @( L$ F( w
  1509. ;session.upload_progress.enabled = On
    ; k/ ~3 O" s+ y% a$ \
  1510. 5 ]( \# [4 ~: }3 M: P; X
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & G# d4 E, g: t0 q4 P. i2 R( W1 l
  1512. ; (i.e. upload completed).8 ^4 S7 I. i: F0 G' _. F! ]/ r1 f, F
  1513. ; Default Value: On5 K" x3 ~5 J1 P6 J7 w; k1 Y, e+ ]
  1514. ; Development Value: On: p" h6 K) R0 p8 C
  1515. ; Production Value: On. J. a! D9 T9 C# B$ T) C' l
  1516. ; http://php.net/session.upload-progress.cleanup+ @, S# |' R, Z7 [! T6 P6 f
  1517. ;session.upload_progress.cleanup = On
    ( T. @: @9 N3 o

  1518. 2 B) J7 B/ W" S4 f* G; G: O
  1519. ; A prefix used for the upload progress key in $_SESSION8 n" R. y6 j' Z2 Q# t5 k- N! f) h
  1520. ; Default Value: "upload_progress_"
    * \9 }" s! x% {& @
  1521. ; Development Value: "upload_progress_"& q; W  f$ D# N, _0 l( X  X3 W
  1522. ; Production Value: "upload_progress_": R0 ^8 b; m1 U! p* I- I9 H4 v6 X
  1523. ; http://php.net/session.upload-progress.prefix
    ) ~5 b8 Z3 N! ^) h0 D2 B
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ' [  b& p( M: Z

  1525. 3 d$ A2 B  j, K$ M
  1526. ; The index name (concatenated with the prefix) in $_SESSION  o" d: Y; q1 H
  1527. ; containing the upload progress information
    % n( ?  P6 d. [  v8 v+ z
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"; j  C) }6 A4 v
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 M4 G# h  J; O# ^6 c- i6 z7 i
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % r  q% G) T& }+ @
  1531. ; http://php.net/session.upload-progress.name/ B: G# j7 {& e3 l
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    / m& |. Y* f6 Z2 U" ~; a4 ]  n
  1533. 1 @9 E1 |2 l4 F7 w. C( z4 X6 T
  1534. ; How frequently the upload progress should be updated.% V- P5 ^; i6 E4 x6 S# Z' s* u
  1535. ; Given either in percentages (per-file), or in bytes7 g: p9 h8 J9 S; N. s
  1536. ; Default Value: "1%"2 |6 ^; q* K( o) L/ a) a5 T
  1537. ; Development Value: "1%"1 `& o1 a4 T0 Y: p' `+ L
  1538. ; Production Value: "1%"0 l9 k( ^! s* y( `
  1539. ; http://php.net/session.upload-progress.freq! o* {" f/ v( h1 D6 y! ]
  1540. ;session.upload_progress.freq =  "1%"7 j: Q, x2 a; M

  1541. $ t# }, R+ C/ [8 O
  1542. ; The minimum delay between updates, in seconds
    8 [* F& d3 T: b: [. g
  1543. ; Default Value: 1
    + Z  q- j6 K* T: x$ }
  1544. ; Development Value: 18 T4 ~/ e3 b8 l6 w' }1 k, _9 w
  1545. ; Production Value: 1
    : U: m8 C2 P5 N6 I
  1546. ; http://php.net/session.upload-progress.min-freq
    ! e9 u# u" d+ P+ t. \6 ?% s
  1547. ;session.upload_progress.min_freq = "1"
    & p# p0 \' g. t, b$ d5 T7 a9 y: u) {
  1548. " Y* z3 F$ \* R0 n. n8 r
  1549. ; Only write session data when session data is changed. Enabled by default.6 ?% @) [- p" E- K
  1550. ; http://php.net/session.lazy-write
    ( O" C: w( ^3 G3 i6 g6 m7 Z
  1551. ;session.lazy_write = On
    0 i' }- |0 x: l  ~$ O
  1552. 2 j) B2 U: x2 Q# n! j2 `
  1553. [Assertion]
    2 T$ W3 u  t* C/ j
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    % ?( a3 [+ n: i, p7 R4 H
  1555. ; -1: Do not compile at all4 z2 [7 F3 v  e: }7 }/ x7 Q
  1556. ;  0: Jump over assertion at run-time9 u5 ~, v8 O4 N. w
  1557. ;  1: Execute assertions
    3 F# S0 x$ [/ M  }- G2 a
  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)1 h( [1 `  _: S+ E9 H
  1559. ; Default Value: 1
    0 ?* {1 R1 B# E3 @
  1560. ; Development Value: 1( K; Y& ]1 F  D. P5 H' [
  1561. ; Production Value: -1
    ( u; o1 T8 @  N
  1562. ; http://php.net/zend.assertions
    7 Q# }: Z2 i. F  L$ ]0 O* I
  1563. zend.assertions = -1
    6 C5 N# }) `' }3 I
  1564. 6 u1 ^+ Y* A: e% q, k* h1 w
  1565. ; Assert(expr); active by default.0 q3 B2 A$ V" Y: n4 C
  1566. ; http://php.net/assert.active
    : Y7 O* g. y( b) P" T+ m1 S- p
  1567. ;assert.active = On
    6 O: w, b$ Y. u* m5 [9 H

  1568. " N; i: D2 J- I# Y
  1569. ; Throw an AssertationException on failed assertions
    % @& s2 z, q# g' Y4 {6 y! _9 ^
  1570. ; http://php.net/assert.exception7 k- w. j( b/ e- S
  1571. ;assert.exception = On
    6 u9 j* }% R6 j! U2 ]

  1572. 4 a" n% P4 {! \* m# A) d  f* |7 v$ h
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)1 D* x2 e0 v6 U# i( t
  1574. ; http://php.net/assert.warning
    " A' n9 E: y" o4 q- X, D3 T5 `
  1575. ;assert.warning = On
    # A0 P; B, k& v$ U5 z
  1576. 3 j1 a) t  X8 _; ?3 K
  1577. ; Don't bail out by default.
    " j; u6 s+ x6 V% w1 z: j. _
  1578. ; http://php.net/assert.bail
    3 c- e( C+ E- g$ V* X
  1579. ;assert.bail = Off
    ( w' R, s  w  p* D9 ]1 T- B- Y

  1580. 2 F% X% a, K' L5 X- B3 w- J
  1581. ; User-function to be called if an assertion fails.
    8 U! |# _+ ~* O0 K- r6 w  B% O, U
  1582. ; http://php.net/assert.callback
    # O: C5 D9 r8 i. w" U: G: [3 y
  1583. ;assert.callback = 0& Q. t* d7 S5 @
  1584.   Q1 h, O: k- ^3 U7 R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    , r" K6 ?( u" h, u
  1586. ; error_reporting(0) around the eval().3 Z; _1 U% T! j8 E* O) V; A
  1587. ; http://php.net/assert.quiet-eval
    6 M& r9 F% g  u$ |$ E
  1588. ;assert.quiet_eval = 0; F; q1 I+ ^4 h5 ^- U: E# C

  1589. 2 I6 r; H( ^% y1 C" y3 P$ E/ Z8 _
  1590. [COM]5 d5 F$ v" k, Q% [
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    7 n) `, ]0 ?; \9 F- \
  1592. ; http://php.net/com.typelib-file# |4 c/ e$ l5 U6 t' A9 m5 b- }
  1593. ;com.typelib_file =# U2 B* [, c' ]

  1594. 8 F0 t. \- K$ V, Z
  1595. ; allow Distributed-COM calls- b& u7 Y+ C# w
  1596. ; http://php.net/com.allow-dcom
    / m/ I* D& j4 u8 E; X% m. r8 s
  1597. ;com.allow_dcom = true; M+ K* |3 P* f9 S8 b: b! K" V( w
  1598. 9 w( R* n' Y* l+ ]' s. T
  1599. ; autoregister constants of a components typlib on com_load()" i9 A6 \- N; {* Y* r
  1600. ; http://php.net/com.autoregister-typelib
    8 p/ {9 @4 E% a# h" c+ c( f
  1601. ;com.autoregister_typelib = true
    . j1 w. [3 Q3 J+ m$ X3 ?  Q3 u5 e  W
  1602. 9 L7 @, J3 q6 h
  1603. ; register constants casesensitive
    % o- P( t- p* k2 X8 h* m
  1604. ; http://php.net/com.autoregister-casesensitive  ]( N1 Z( l  k1 {! I! h
  1605. ;com.autoregister_casesensitive = false  F$ @' @, n' a2 [. Y: q: Y( x* T9 @0 ^
  1606. - _0 S; b6 z6 f; T2 M/ \
  1607. ; show warnings on duplicate constant registrations9 v. K2 U! _* n; K( s, s& M7 E- H+ E
  1608. ; http://php.net/com.autoregister-verbose7 X( }) D" Y$ r
  1609. ;com.autoregister_verbose = true, {% ]& r3 i+ C1 p5 E4 F8 Y
  1610. 6 A& `* q6 a9 d- f1 s
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    6 v- o! ], W/ k
  1612. ; Default: system ANSI code page
    - o0 P( z$ h# D- J' s
  1613. ;com.code_page=! G" I' w4 G# N, \: f3 @0 k  n

  1614. 7 W" f& `& e- r, G3 G' k: S  l
  1615. [mbstring]6 S, W! l) m3 J2 _) k' W( ]
  1616. ; language for internal character representation.
    5 H4 e3 [: T9 x7 u2 S, E+ Z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    4 ?/ ]( q( A. S# X2 d3 Q: \& P" M
  1618. ; http://php.net/mbstring.language/ |  M9 S' R9 p) I$ w
  1619. ;mbstring.language = Japanese
      E. a+ t8 g* V( _% ]0 P
  1620. ( o! A+ f  J# V9 F" k, R# \( x/ ]* m
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; a( O$ \$ ?5 O5 o! R5 M
  1622. ; internal/script encoding.% M) r. y9 [( t: J. E
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    : n) g: o5 p9 z7 I
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " |* N& I5 H9 W0 V9 S( ^& o
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 T+ `4 z2 q. \( ~. ]- G
  1626. ;mbstring.internal_encoding =. p" h* n. W4 y2 p- [

  1627. & @( W6 T+ U/ f5 s  @
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & r  U/ F. G2 q  n* |3 ^' c
  1629. ; http input encoding.4 y' ]7 a( b  v" y; m- W% L! [" I/ x
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.) Y& x! J  G4 U# R+ o
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 s3 V5 R2 S! F0 k5 i: j+ w  {
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! |2 X" b1 ^- [: C( v: ?* ^. [' v
  1633. ; http://php.net/mbstring.http-input
    4 A! N$ `5 F( w' v
  1634. ;mbstring.http_input =- h- G/ o7 A+ j5 G- j  G4 v
  1635. / l! T  `: T) M3 ]) o3 i7 N0 ]: `. X' V- y
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.$ R; {. X: f" Z6 d
  1637. ; http output encoding.1 u; N! z* q+ W; K. J  m5 }
  1638. ; mb_output_handler must be registered as output buffer to function.  i) s  r$ L% \4 b* B
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; _% N" k/ F6 S- }  h  l
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 i- N7 k+ O1 L4 P. a1 W
  1641. ; To use an output encoding conversion, mbstring's output handler must be set& @$ @6 m) n! ^. C) v3 N5 b
  1642. ; otherwise output encoding conversion cannot be performed.
    ) S5 K9 ^7 i- K
  1643. ; http://php.net/mbstring.http-output
    # E4 ~% Y! c) j7 c3 E. m
  1644. ;mbstring.http_output =
    + {) [) t6 _! {% ^( ]. f
  1645. 7 R7 S8 Z. c! S. l+ m8 S' G
  1646. ; enable automatic encoding translation according to2 r& m* O9 K$ u
  1647. ; mbstring.internal_encoding setting. Input chars are3 L4 P9 [" x# Q
  1648. ; converted to internal encoding by setting this to On./ X9 a- O& I) |+ W5 @, q1 D# E
  1649. ; Note: Do _not_ use automatic encoding translation for/ F! P' v) x+ K$ U$ K! E
  1650. ;       portable libs/applications.
    . d. J, M' f8 i  v" b
  1651. ; http://php.net/mbstring.encoding-translation# M. k: B+ D4 n5 R& W) a" {. N1 R
  1652. ;mbstring.encoding_translation = Off
    ; t3 I& @! L/ {; S: j
  1653. 7 l$ j* s! l2 Z
  1654. ; automatic encoding detection order.
    6 ~  Y! q  o* ]# D% Y: b$ Q
  1655. ; "auto" detect order is changed according to mbstring.language. Z" B7 W, F( a4 `+ Q/ Y
  1656. ; http://php.net/mbstring.detect-order; v0 {& q9 O- s
  1657. ;mbstring.detect_order = auto9 ~$ c1 m. c" m3 E2 y

  1658. . Q; N+ J( F  Q! h( N
  1659. ; substitute_character used when character cannot be converted( D, W% F% ~% \: w- ?5 S: |
  1660. ; one from another
    : G/ Y- N! P, W0 {/ n9 C
  1661. ; http://php.net/mbstring.substitute-character" h- C5 r+ P$ T3 e: w
  1662. ;mbstring.substitute_character = none0 ]& B7 ^+ _  b0 X" w1 p  y
  1663.   \9 B( t$ k; d) \( d; T
  1664. ; overload(replace) single byte functions by mbstring functions.9 U5 _: j7 u, n4 k! a6 b
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 z" t9 ^5 n1 M% Z+ J7 Z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
      I' `6 u8 b( _! h/ j7 ~( c+ c$ q' H
  1667. ; For example, 7 for overload everything.
    2 ~+ n9 p. U, k* f6 Q
  1668. ; 0: No overload
    ) M& a* ]- t5 M
  1669. ; 1: Overload mail() function
    8 g% b2 p7 P- u# |+ V0 E
  1670. ; 2: Overload str*() functions
    7 C2 h8 H! d* M2 B5 {
  1671. ; 4: Overload ereg*() functions
    " q- C1 m; |! l5 t: i
  1672. ; http://php.net/mbstring.func-overload
    0 l& Z6 Q7 d. A" A! p. C
  1673. ;mbstring.func_overload = 0
    $ c0 I* c! a6 w% U9 T- l, O9 O* k
  1674. 2 ]8 Z  O- H' T2 O
  1675. ; enable strict encoding detection.* g7 E/ [1 A! Q8 P1 n2 z( b! _
  1676. ; Default: Off
    9 X3 R- h; f* p, |& F  U! t
  1677. ;mbstring.strict_detection = On( B3 G9 P2 b9 t4 M( Q/ x% Y4 f
  1678. 1 z: r0 F5 s9 I# ~8 n, m. `
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()1 X  k5 e2 P' E6 ?; ^6 d
  1680. ; is activated.( \, j; Q3 q2 k7 ~4 I" w9 x- O
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* g3 e7 g) _% ^. @
  1682. ;mbstring.http_output_conv_mimetype=
    + E; ]& y- ~3 y' Y) e

  1683. & ~, u1 O" Z) g7 S
  1684. [gd]9 L3 w' E* A/ y' E; x" w; x
  1685. ; Tell the jpeg decode to ignore warnings and try to create6 Q( E% R- e+ [, T# t6 k
  1686. ; a gd image. The warning will then be displayed as notices
    + k( p3 o; w; R2 j" {
  1687. ; disabled by default0 J0 C( j0 P6 R: \4 a! x  K/ }
  1688. ; http://php.net/gd.jpeg-ignore-warning* P) E! v9 A! M0 |: c4 |
  1689. ;gd.jpeg_ignore_warning = 0
    - N/ \! W; ~+ j3 `* Q' D+ @/ d
  1690. 3 s0 @" o- B) [1 Q7 {
  1691. [exif]5 [# I' i7 \% F( U8 N* v  N
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.2 v* E+ S8 N* t* |
  1693. ; With mbstring support this will automatically be converted into the encoding
    ! |5 x4 E: E3 d* V$ ]+ t; P
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    0 u. `& h& L/ t8 W. {
  1695. ; is used. For the decode settings you can distinguish between motorola and
    9 O/ b- N7 v& D( q1 E
  1696. ; intel byte order. A decode setting cannot be empty./ o5 J4 @1 \3 h4 U
  1697. ; http://php.net/exif.encode-unicode
    5 v+ h6 o- D( g$ Z
  1698. ;exif.encode_unicode = ISO-8859-15
    ( Z2 |3 H% ^% C& V) L6 `$ K
  1699. " [" B, H* p* q. D3 K& W) d5 Z
  1700. ; http://php.net/exif.decode-unicode-motorola
    0 M+ Q6 h, z( R, D/ b/ _
  1701. ;exif.decode_unicode_motorola = UCS-2BE" f7 U: L" k6 |3 [' z* l

  1702. ! V# {5 [1 ?4 U
  1703. ; http://php.net/exif.decode-unicode-intel8 a$ s+ u: x  U; K+ f4 \4 Z0 A
  1704. ;exif.decode_unicode_intel    = UCS-2LE1 S$ H) D& `$ o- z3 b: ~6 j

  1705. % V" I# `# o# m( B8 @& d
  1706. ; http://php.net/exif.encode-jis  m: t; ]" c# M5 o. m# A
  1707. ;exif.encode_jis =
    ) K5 D  Z9 w* ?8 a/ [$ N
  1708. $ l$ l4 @/ l6 r
  1709. ; http://php.net/exif.decode-jis-motorola
    7 ]/ [; Z+ r7 _
  1710. ;exif.decode_jis_motorola = JIS" x8 a6 U$ X, Q
  1711. - G( Z- L6 ~- B) ?
  1712. ; http://php.net/exif.decode-jis-intel  v3 d/ w* Z8 F% L( Y
  1713. ;exif.decode_jis_intel    = JIS
    / j, C9 e4 ]8 _1 A
  1714. ; p" J2 v) y- T" v8 F8 n' Z
  1715. [Tidy]& h! w8 G% L9 Q
  1716. ; The path to a default tidy configuration file to use when using tidy
    , U; |2 u/ C' X% `9 h5 f9 j+ ]* f
  1717. ; http://php.net/tidy.default-config5 W  N  w% n4 E0 t
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg) q, ]. a: E" P8 l: ~4 I
  1719. - D. H- B# n8 T( y0 E
  1720. ; Should tidy clean and repair output automatically?; e" m/ Q" r: b; j3 Q
  1721. ; WARNING: Do not use this option if you are generating non-html content$ n! s3 C8 K7 C- f  q0 P5 r  K
  1722. ; such as dynamic images+ q9 B2 J9 ?" H' ^2 E' }# q
  1723. ; http://php.net/tidy.clean-output
    " i8 L5 O6 d; E* y2 Q% D
  1724. tidy.clean_output = Off
    2 K0 U: x6 X% f7 o
  1725. # W! w$ e! V2 ^6 \# F8 T) s
  1726. [soap]) ]: V8 S5 I0 F
  1727. ; Enables or disables WSDL caching feature., q6 }& r0 \) M8 Q( {7 c
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ! H; N/ C/ ~* d; `7 Y3 h2 X
  1729. soap.wsdl_cache_enabled=1
    ; l" N8 H; p$ Q( [/ ]  F

  1730. 2 N! g0 w3 D: S* U
  1731. ; Sets the directory name where SOAP extension will put cache files.
    6 J; O3 K- `0 t' `9 k' x. x
  1732. ; http://php.net/soap.wsdl-cache-dir
    ) I* _+ }4 m# B
  1733. soap.wsdl_cache_dir="/tmp"5 P0 a  F4 ]" k0 p: J4 l
  1734. ' X+ d# C- e7 u
  1735. ; (time to live) Sets the number of second while cached file will be used) F$ \: ~1 C# s* Q( k4 ]2 V
  1736. ; instead of original one.
    ) X' c& O1 }) X3 |. [
  1737. ; http://php.net/soap.wsdl-cache-ttl
    , C8 ?' z: O9 V! {
  1738. soap.wsdl_cache_ttl=86400
    ' s) |+ P" {. y2 g# T% |
  1739. * s6 ?6 A. ~! o
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ' q+ L7 Y- K' `! H: s# P0 ?* k5 j
  1741. soap.wsdl_cache_limit = 5
    . O/ K; M1 L  m, I
  1742. / j# D- Y: I, M' d
  1743. [sysvshm]# a$ }% O0 p; f0 y
  1744. ; A default size of the shared memory segment' a: U8 ~$ m  t+ Q3 m8 C
  1745. ;sysvshm.init_mem = 10000( w0 ~9 P0 k% K% S5 |

  1746.   j4 X; m  J$ z  b) l
  1747. [ldap]
    : }# B+ ?# s" ?; [
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ! Q- r& Y: F+ _  [" O
  1749. ldap.max_links = -1
    * K0 B* D+ ~# k" X  T5 C$ I+ I

  1750. / w6 @/ \9 H, b' f4 B$ w/ }' J
  1751. [mcrypt]
    9 e2 e% T; B0 D4 ]+ ]- S8 b9 o. ^1 a
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open0 w! c2 L5 v4 q& O: v

  1753. & |' p% C6 z& U" o
  1754. ; Directory where to load mcrypt algorithms& w2 T2 j- T, F( a
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 {2 R! m3 O6 C, [
  1756. ;mcrypt.algorithms_dir=
    & ~& ~' Z* Q" E% v) I& ~9 l6 p
  1757. , V& o6 O  ^- T* L9 l" ]1 P
  1758. ; Directory where to load mcrypt modes
    8 F* x9 h4 p& u
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), E7 U. K$ t8 j! A6 p7 H
  1760. ;mcrypt.modes_dir=
    5 X1 {* E0 j& Z: Y% Q& H4 R

  1761. 0 E4 b$ E5 _% O) s9 `% a
  1762. [dba]
    % y; m' M9 x, A3 e9 m: ?
  1763. ;dba.default_handler=* b# M1 O( {- T3 W# f( z% b6 p# _

  1764. ( V; A. ^. T" A# [/ a& R
  1765. [opcache]) Y. H+ Q8 I8 Q* |
  1766. ; Determines if Zend OPCache is enabled
    5 h% t7 b: D0 I2 a. Z
  1767. ;opcache.enable=0
    - F3 G6 A* w" Y
  1768. + `1 B" ~7 b# m. x" O' b4 z
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    $ |0 J! m3 u8 N1 j/ f$ Y
  1770. ;opcache.enable_cli=0
    ' j) L& A% w0 y) h% n

  1771. ( G9 E. F& y& M2 D
  1772. ; The OPcache shared memory storage size.
    * }) v% K9 h5 V0 b6 \$ s
  1773. ;opcache.memory_consumption=64) H0 E* O% l% g% p7 O. |, [! J. E

  1774. ; ]! ~' n+ u1 ?8 F: l
  1775. ; The amount of memory for interned strings in Mbytes.
      J  m  {6 r1 z8 U4 q5 N+ T
  1776. ;opcache.interned_strings_buffer=4
    * @2 r6 m1 M8 ?
  1777. 9 C; r1 f+ p6 ], A
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.5 n. h/ _3 h: u9 l" A2 u" l( i  v
  1779. ; Only numbers between 200 and 1000000 are allowed.: Y9 y9 e0 j0 M- y: U5 ]( Y2 r/ Y
  1780. ;opcache.max_accelerated_files=2000
    , ~1 }9 w9 C5 y3 l+ V  n! s# A. b

  1781. : S8 q/ Y7 u$ f. k# y$ k( j
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    . i3 K0 _3 \) o+ ]& Z! Q# P
  1783. ;opcache.max_wasted_percentage=5( v) Z$ s8 M5 D8 z5 O

  1784.   |, P' j# \3 l( k9 J7 ?
  1785. ; When this directive is enabled, the OPcache appends the current working' J& n/ E& U, f- t/ f
  1786. ; directory to the script key, thus eliminating possible collisions between
    ( }+ C& c* j7 P: x$ ~5 R7 `
  1787. ; files with the same name (basename). Disabling the directive improves
    - o( f5 ~; t% W! _# M
  1788. ; performance, but may break existing applications.
      u% S2 z( j+ S- ?) F- p( N$ m
  1789. ;opcache.use_cwd=1. j; Z9 `2 A5 L( x* V

  1790. " F7 r; N- N9 {% h/ F5 C
  1791. ; When disabled, you must reset the OPcache manually or restart the
    : \" H/ @; `3 h2 Z
  1792. ; webserver for changes to the filesystem to take effect.. g4 W' i9 P1 W6 S  O, {
  1793. ;opcache.validate_timestamps=1
    - a$ z' c1 Z. ]4 e

  1794. ; @) y1 F& F+ A+ r! [! P
  1795. ; How often (in seconds) to check file timestamps for changes to the shared1 p. x- }: o' o. d6 N, x! ~
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    , i( d3 h! h# q1 Y' [
  1797. ; once per request. "0" means always validate)1 m" p  r" t$ E  L6 O; z/ Q" x7 y1 s
  1798. ;opcache.revalidate_freq=26 }; @, G: q% y9 k# A, g; i

  1799. , Q- L" W: T: a' A. V3 K
  1800. ; Enables or disables file search in include_path optimization+ k% k0 u5 K% F: U5 L
  1801. ;opcache.revalidate_path=0
    1 e# V& h1 g1 c! v
  1802. 5 M" ]. g% X' t( h4 J7 D
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    5 N/ E1 g0 |0 O) f
  1804. ; size of the optimized code.; e6 z* u9 G% k' ~. {
  1805. ;opcache.save_comments=1* k8 d; n! h8 |5 a

  1806. ; J& [( j/ }8 C0 V0 m/ D* a
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    % i1 x. G  y3 N% x- L; I3 t% l
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    / T4 F  o  _) v# Q
  1809. ;opcache.fast_shutdown=05 ^7 K& T1 U+ [. r

  1810. . j6 Z$ _7 a8 E7 ~& ]/ n; o
  1811. ; Allow file existence override (file_exists, etc.) performance feature.9 C. _! Q% u# E' ~: U! u
  1812. ;opcache.enable_file_override=0
    ; e: d$ I% ?6 [1 B. i9 u
  1813. 0 |4 \0 p; ]# }
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache1 j/ u: A% v8 W9 [8 \
  1815. ; passes
    4 s; W. q, Q! T6 ~" ~1 T1 s3 \
  1816. ;opcache.optimization_level=0xffffffff
    9 U. h9 B0 g% D( t7 U
  1817. ; m( R7 v# }  c: E/ d  o
  1818. ;opcache.inherited_hack=1
    $ |0 n9 B3 o; M* W. p( U
  1819. ;opcache.dups_fix=0
    % u1 b1 r; z- T

  1820. 1 |8 a9 r( e4 b. M
  1821. ; The location of the OPcache blacklist file (wildcards allowed).8 u/ U2 x' U0 f) h! D
  1822. ; Each OPcache blacklist file is a text file that holds the names of files, f2 r/ J. b3 o& _, l: y6 S
  1823. ; that should not be accelerated. The file format is to add each filename% Y, _) ~# U5 Y4 m. h) D, Z) a, q. p9 J' L
  1824. ; to a new line. The filename may be a full path or just a file prefix
    / `# z) B; d7 Q6 j. g
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www$ M# _% l6 g7 J- F1 G' I- I
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
      z3 V5 t/ A* n: l
  1827. ;opcache.blacklist_filename=
    2 y' y9 f' N; L% ?' Y) i# G

  1828. + y4 o" k$ Z* J7 q4 G8 ]" y
  1829. ; Allows exclusion of large files from being cached. By default all files# }3 U$ c& y7 s
  1830. ; are cached.4 ~/ B1 _; y6 Q( x" m
  1831. ;opcache.max_file_size=0
    1 Z- P- k& @) i3 N, _% j

  1832. % m# T% ^: [" g, ]6 m
  1833. ; Check the cache checksum each N requests.# a% Y) z: V  ?" f/ L( a, ]( i) w
  1834. ; The default value of "0" means that the checks are disabled.
    % t8 |* L: n& h0 v! d$ [
  1835. ;opcache.consistency_checks=0
    + Q8 A, l9 ^' n, `2 x. {- A

  1836. - o0 I, g2 D: Y) {
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; N* f8 z8 Q( d4 o4 I% ~- t
  1838. ; is not being accessed.
    & r3 I) i9 }/ y, S
  1839. ;opcache.force_restart_timeout=180! j( _; e) z( i! @$ H

  1840. + q6 d5 A# i) {; o
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    , ~: x( K- ?- V. X
  1842. ;opcache.error_log=
    6 l& t0 ^9 ~0 o' X. n4 M; ?
  1843.   f2 E5 s# T$ W3 n
  1844. ; All OPcache errors go to the Web server log.
    # ~8 v9 |9 `* l0 W2 c6 H: m
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    " s, \' k# M8 C" p8 f7 c
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    7 V. C/ r+ L) l" W
  1847. ; debug messages (level 4).  d% s/ I2 ^2 w% I
  1848. ;opcache.log_verbosity_level=1
    + i$ r# b' P# b1 s# K6 ?
  1849. / ?: J5 }, ?3 ?8 |9 z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide." J6 {& c, j% `1 y& C- c
  1851. ;opcache.preferred_memory_model=
      a* ^5 s( g: ]; q2 u2 L
  1852. ( l$ ?/ u# l( U8 D+ ?3 R- D
  1853. ; Protect the shared memory from unexpected writing during script execution.
    9 e4 n; [6 w6 \3 X8 V" G; t
  1854. ; Useful for internal debugging only.. A7 @, e! J/ }5 C. v
  1855. ;opcache.protect_memory=0# |2 q6 s) K! w- v6 p
  1856. ! p  k8 t( Z5 U' n" ]
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ! F* V0 X/ X9 ^  V9 e$ r
  1858. ; started from specified string. The default "" means no restriction
    ; \& F7 i3 z& S" V/ F4 A0 L9 H
  1859. ;opcache.restrict_api=* @) ]1 i* G/ D3 O5 q! e7 \7 z

  1860. " W% a" S1 g4 }  t# `  J
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    : A( y0 B: ]" a6 X. k8 [
  1862. ; processes have to map shared memory into the same address space. This
    ! H9 X) @! M, q5 x' r* W
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    0 [# `, ~; a8 ]
  1864. ; errors.2 Y& n/ ~5 B- j5 C8 T& K! ~4 Z
  1865. ;opcache.mmap_base=$ q  g% L& I, ]* ~6 G, D$ J
  1866.   m% ]) t4 m! [* k8 q8 h
  1867. ; Enables and sets the second level cache directory.' s! `; }$ l7 b7 v2 B' b
  1868. ; It should improve performance when SHM memory is full, at server restart or* B- Y0 M  P8 N
  1869. ; SHM reset. The default "" disables file based caching.7 S  q* z, R2 v0 P
  1870. ;opcache.file_cache=
    % I# j$ K2 U) V2 m# y6 L
  1871. 5 L& }3 b! R0 r% s: z
  1872. ; Enables or disables opcode caching in shared memory.
    : w# o- t& V- Y* i; ]$ |  `+ z9 E
  1873. ;opcache.file_cache_only=0' ~! K  i3 P& @" T0 G2 q  l& _

  1874. 9 _# B% d& |/ Q+ W1 H# m
  1875. ; Enables or disables checksum validation when script loaded from file cache.5 ~4 i* M* E6 q0 [1 j9 n3 T+ Y. u4 w
  1876. ;opcache.file_cache_consistency_checks=1
    . u* |, M+ x. Q1 `7 V7 a0 o
  1877. ; k* m: ^6 r' H* i  y+ F
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to/ u9 G. C0 ~. L6 `+ A
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    6 k0 z, P. Q) H+ v  G; x
  1880. ; cache is required.
    6 F% G' f5 u6 f* ]2 {
  1881. ;opcache.file_cache_fallback=1! F! w6 Z5 M) J. i9 U+ L

  1882. & m7 ?/ e7 y. [4 u
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    % N, J; k7 Q$ i8 f, P
  1884. ; This should improve performance, but requires appropriate OS configuration.* A# y& {# n( M) I9 l0 x0 H$ _
  1885. ;opcache.huge_code_pages=1
    9 o+ d, r! P) d/ }' y* W
  1886. 5 v, V8 @( D/ U/ ]3 q% H2 R- b: l3 S
  1887. ; Validate cached file permissions.; w4 J" @% x; v8 w
  1888. ; opcache.validate_permission=09 `7 z" Q/ v: o2 V4 E+ J- j
  1889. 6 d7 Q# t3 _$ |* H9 y, W$ d6 y
  1890. ; Prevent name collisions in chroot'ed environment.
    # Y* u- c# b+ p# Y) {
  1891. ; opcache.validate_root=0
    6 H; Y+ j% p# j( @- i
  1892. , F' M0 k5 J' x4 e
  1893. [curl]$ \1 m" Z/ U9 X: Y1 Z8 Y, Z4 k& F7 a
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an" _8 j, Q& f% t7 }
  1895. ; absolute path.
    6 f& k3 Q/ C* L2 B8 T6 S
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    / A+ o1 |9 J$ J/ A: s; }  [

  1897. $ Y" Q" R4 v. m" y# A( b
  1898. [openssl]' ]& O5 e7 ]5 |  {7 R1 V
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    $ ^) P4 o* h$ W; o
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should; F* U6 \1 a, l/ O8 K# `+ Y
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ! I* `* \5 h8 ~- j0 @2 |+ k
  1902. ; OS-managed cert stores in its absence. If specified, this value may still5 J, ]/ y" j1 z/ s* D/ P' x
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    . M* l3 ^9 b. ]
  1904. ; option.
    2 I7 ~+ a" x& B  d. y/ [
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 p1 s+ Y4 J/ h+ K
  1906. ( ]* ~3 s2 w7 q
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    5 G1 j4 J" W: B
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    * h! D$ b. t' d* r: a
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    7 @$ _" U" i" Z9 D! D( W4 p
  1910. ; Most users should not specify a value for this directive as PHP will
    4 P  c( D; L6 P3 _; i, J4 i
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
      U& d6 L! k, a+ |  \4 j  ^2 i
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ! z, K7 m, {4 e! o1 X
  1913. ; SSL stream context option.! S3 ?' Y$ ]3 w+ A9 e) |1 u. E
  1914. ;openssl.capath=
    ) N' A+ {4 `: d0 J/ K/ G0 I/ X' _$ ^

  1915. . l3 m% {2 t3 `5 n6 m4 V
  1916. ; Local Variables:
    % V1 o6 n1 \: B+ J3 n& H
  1917. ; tab-width: 4
    % v& {$ Y9 }& d% w
  1918. ; End:; z& k) y! K, H% H& T$ u, r

  1919. # D$ E  ^- C4 C. P
  1920. ;eaccelerator
    8 j8 V/ [8 f; s+ S; O

  1921. 9 P! U) P8 B8 z( t5 @9 e% s
  1922. ;ionCube
    ( e# c# U1 o) d2 K( S! _' N
  1923. + D2 N0 A" n9 b# I4 R( e
  1924. ;opcache) y5 P, f, i+ V: a2 F# [
  1925. : ^  s9 E  w7 s' e( G9 S
  1926. [Zend ZendGuard Loader]
    % ]) [6 \& d# V! b+ r' C+ R
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    1 G& S! b* k" ^) Z* C/ h
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    0 S4 B9 Q( A- M
  1929. ;zend_loader.enable=14 d2 _* h+ Q. A9 W9 B) L
  1930. ;zend_loader.disable_licensing=0
    $ H  m7 Y# o" a; V# w
  1931. ;zend_loader.obfuscation_level_support=3
    % ~/ M! X, ^- V
  1932. ;zend_loader.license_path=
    6 y# c) |: w8 s; Y+ j3 A

  1933. $ T, a. ^" l0 F( b1 U* K
  1934. ;xcache
    # s$ P0 b4 q4 {2 `2 x7 t

  1935. 2 w, _8 P. G2 X4 a; _: m
复制代码

2 x0 b' E: S) W2 F" Q0 {1 h, L! ~% G. v
3 P1 A7 ?1 g7 k& z3 G% G
: x) q9 d' f$ y4 w: E$ v3 B4 ~
% L2 J0 u; O! C* P  T6 d* m
; F' }5 z! ~7 V. n. Y/ k: q

. _* f; i5 V8 K; D7 R; ~0 t5 ^8 ?PHP5.6版本原始设置  W+ c0 g+ ]' [) a/ J0 k! W; g- X' m

% h" J8 v, ?0 J2 X0 f8 E8 z/ s
  1. [PHP]0 P$ w$ B0 D& ?, @
  2. . \9 ^: c' S2 y! m5 ^* R
  3. ;;;;;;;;;;;;;;;;;;;
    3 Y7 B# [, g8 z0 X  Y: ^6 R# \
  4. ; About php.ini   ;
    6 w; P1 I$ Q, {, S8 \+ _( [" Y) g
  5. ;;;;;;;;;;;;;;;;;;;
    + `3 W) J4 s) ^2 n1 Y5 a
  6. ; PHP's initialization file, generally called php.ini, is responsible for6 l9 C6 M8 z" t3 s% N
  7. ; configuring many of the aspects of PHP's behavior.* u& D  c4 I! D! m. Q! l3 j# n

  8. 5 y! Z6 \/ }: M) ]  R5 v. s; b
  9. ; PHP attempts to find and load this configuration from a number of locations.
    + o/ Y! _, O5 H' [6 U
  10. ; The following is a summary of its search order:
    7 `: Z; @) P! a% v
  11. ; 1. SAPI module specific location.
    # f& @$ z. k% R: _  t7 X0 m5 \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)8 W- i1 I* M# f: _: ?& i
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    & B! a( H0 ^2 l& i
  14. ; 4. Current working directory (except CLI)
    ; S- \4 z7 ]3 ?1 x+ O* S- m/ P' J
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    5 p' ?) w0 e( i4 o4 @; T" E
  16. ; (otherwise in Windows)
    8 y0 D% c9 i. e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the% b6 `5 X% I* R. E2 U3 p/ k
  18. ; Windows directory (C:\windows or C:\winnt)4 o. a3 |/ k# r0 R; g: T
  19. ; See the PHP docs for more specific information.
    $ E- l3 K% e0 y" g$ `+ R
  20. ; http://php.net/configuration.file1 ~  b6 {# U) J6 x8 @2 C- |

  21. % _8 v1 Q9 j0 N% x1 e
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( D) K/ B0 v0 l/ }7 U9 a
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 S/ |% K* I4 t: |6 m
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    : w4 b" G8 i( ?+ w4 q
  25. ; they might mean something in the future.1 A( b5 n+ ^8 A. Q2 G; w+ ^1 ]
  26. 0 u0 {8 V, M( d4 p$ u
  27. ; Directives following the section heading [PATH=/www/mysite] only7 V/ C, \9 s& Y  Q4 J$ l
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    4 ]3 N# \& Q* l: V7 Y3 d
  29. ; following the section heading [HOST=www.example.com] only apply to
    7 K$ D  I; I" B$ N6 H
  30. ; PHP files served from www.example.com.  Directives set in these' l7 k- J" U) C1 |! F( o. ~4 l
  31. ; special sections cannot be overridden by user-defined INI files or
    , Q! N8 M3 L( g4 g
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    3 \. o% T* Y" a' O# i7 }
  33. ; CGI/FastCGI.9 T8 F4 x: v; L1 x
  34. ; http://php.net/ini.sections
    # U8 v9 ~1 M! p% w+ ^
  35. 1 I8 z8 p* x3 w5 R* i
  36. ; Directives are specified using the following syntax:
    ; b" V1 B- a) F' k+ `' ?
  37. ; directive = value
    8 j2 p4 H4 s2 u. N% A1 i
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.% B3 G% s+ B8 z! r
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 _8 D8 I7 H1 j& d4 E! r# H# ]% {
  40. ; There is no name validation.  If PHP can't find an expected
    & Q' X" F8 g* z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ; C# }. D. t$ j/ J; B

  42. # e/ h' B1 z) Y8 r* K
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one4 \0 c7 w/ ^* ?2 ^7 P
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( n7 N# L: C/ J) G
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 u7 l* p# c; e; p; w; }1 D, l, R
  46. ; previously set variable or directive (e.g. ${foo})" Z& U7 Y# u* x7 l6 K# X0 c/ ?  x
  47. 3 [/ [# Q6 M. E2 v. Y6 _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    $ ]9 H$ H9 }$ I9 k, T- H6 X" r% f
  49. ; |  bitwise OR1 r8 J8 |* D" p/ T
  50. ; ^  bitwise XOR
    . h3 r- T4 T: y- k9 |; n) Z9 g
  51. ; &  bitwise AND' Q, U0 k- e+ o# i! I9 L& C* H# D
  52. ; ~  bitwise NOT2 m, S! A5 \7 M; [; v2 h* E7 t, ~
  53. ; !  boolean NOT
    9 Q0 z& M) x! X+ ?8 L: p" \

  54. ! Z1 _/ F  |( ?, I9 G6 c
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.0 z2 C4 m4 t; t, S  W  R
  56. ; They can be turned off using the values 0, Off, False or No./ j) Z6 x* W5 H- H

  57. ; C/ G: b& G7 z& k5 p! ~" V
  58. ; An empty string can be denoted by simply not writing anything after the equal' ]# D  ]5 r: A. m+ V
  59. ; sign, or by using the None keyword:, i4 \; s/ p, g- O& ?- T! B: k
  60. ) r9 `; V& `3 r- U
  61. ;  foo =         ; sets foo to an empty string
    5 `+ `4 ]& b& }" R
  62. ;  foo = None    ; sets foo to an empty string
    7 d1 |) P& S7 a9 \5 `
  63. ;  foo = "None"  ; sets foo to the string 'None'! q6 {  M; E  |3 g8 _

  64. ! ^3 T* E8 Q* _
  65. ; If you use constants in your value, and these constants belong to a
    . ?' |  `/ V1 t2 e8 w$ [1 m) P2 y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),* Z% p% U4 R# _
  67. ; you may only use these constants *after* the line that loads the extension.
    " K1 k. U7 K  f8 @6 d

  68. & D# P- F2 y' Z% A. r
  69. ;;;;;;;;;;;;;;;;;;;
    8 X3 j( X5 M9 F; t3 C, ]
  70. ; About this file ;
    % h. O$ P- V( V  c1 k/ Y, A
  71. ;;;;;;;;;;;;;;;;;;;
    $ L$ E+ W: z- L: c' v9 K& U
  72. ; PHP comes packaged with two INI files. One that is recommended to be used9 |3 i5 z9 I. s- W7 h
  73. ; in production environments and one that is recommended to be used in
    * H1 ^! S0 b8 Z6 ^+ X  u% e
  74. ; development environments.
    ! g# b/ _. O$ z- f' H" Z+ W

  75. - _$ D8 V3 t0 r+ P; f' ~
  76. ; php.ini-production contains settings which hold security, performance and) q- Z% @2 _' ~$ i5 t( ]
  77. ; best practices at its core. But please be aware, these settings may break
    ' @0 Y; F4 a& [! `0 I8 W
  78. ; compatibility with older or less security conscience applications. We
    & v' q$ k) o$ j4 V6 G
  79. ; recommending using the production ini in production and testing environments.
    4 r5 a( Q, p$ ?; g/ F

  80. 0 D; l  p+ \- g8 g4 |8 q4 B, o: ?
  81. ; php.ini-development is very similar to its production variant, except it is2 I" A' A8 X9 {# n3 j* U0 o
  82. ; much more verbose when it comes to errors. We recommend using the$ d( Z4 Z. ]# f5 G9 A
  83. ; development version only in development environments, as errors shown to3 f4 a+ ~1 Y* w8 m1 q
  84. ; application users can inadvertently leak otherwise secure information.3 i* F+ q! K' h6 o
  85. + d( S' d& I9 t8 G* L$ z1 V
  86. ; This is php.ini-production INI file.& P; q: F$ f  W' J' S! U$ ?3 s* h
  87.   X. L; x- ^. ^* a6 l- m
  88. ;;;;;;;;;;;;;;;;;;;
    & x$ E; U: V9 c, t% @! `. K
  89. ; Quick Reference ;
    4 H: O- f1 s& l5 j; X
  90. ;;;;;;;;;;;;;;;;;;;
    ) Q4 c! ~, O+ k
  91. ; The following are all the settings which are different in either the production! s, m5 L# g1 @7 t# c1 Q3 g- W
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    0 H1 Y' H# O1 f' G/ L/ \
  93. ; Please see the actual settings later in the document for more details as to why
    ' |& [7 e5 x/ Z* d
  94. ; we recommend these changes in PHP's behavior.
    3 [+ i3 ]# B. P* W. P

  95. ' J% H( \# Z+ w$ R3 J
  96. ; display_errors
    5 E' q. y8 @9 ~8 n3 r! z& @
  97. ;   Default Value: On
    : X% I7 w, a$ a; A
  98. ;   Development Value: On6 a! X# a/ w$ j
  99. ;   Production Value: Off
    ; _8 c+ J" _. t% z; ]  P
  100. 6 M9 _0 O6 a2 }. |; r1 j
  101. ; display_startup_errors
    0 [  @1 B4 e" P/ p
  102. ;   Default Value: Off# d: _) @+ ^2 V, f+ K
  103. ;   Development Value: On
    8 y+ s+ q- P* \5 R( V
  104. ;   Production Value: Off* @% V8 Q' @) H9 P# ^$ Z5 y3 t
  105. 2 d/ A' R# m( p1 D* D
  106. ; error_reporting8 q7 @) T0 a' j" r% x
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& L# |5 v8 L. A& \+ E- H. Q& U
  108. ;   Development Value: E_ALL
    & L6 E* h5 n2 }; w
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * O3 {# v4 I) |1 U* s/ N
  110. 9 d1 D& f) R6 o2 }7 e7 b( \# q
  111. ; html_errors) r, m. |% u( O
  112. ;   Default Value: On
    3 x9 E4 E* Y9 P, O9 c- M/ J: c6 p4 e, z
  113. ;   Development Value: On" G7 M. k# i0 h0 _" j. R
  114. ;   Production value: On9 v" [, B0 q0 |3 J* q) R! k

  115. # n* z3 [+ q  ?# S' h
  116. ; log_errors
    " r8 C! A) r5 ]
  117. ;   Default Value: Off
    + t# f8 J9 c0 C: v3 l
  118. ;   Development Value: On) x7 n9 b+ H3 L( v% z0 h
  119. ;   Production Value: On
    ' q$ ~0 h+ d" {5 Z9 \

  120. 5 U  o( {4 x3 l# D2 m$ B( Y
  121. ; max_input_time
    % m2 S# L( I) X8 Z  w
  122. ;   Default Value: -1 (Unlimited)
    / g9 _2 a" x) C1 }6 Z/ b( Q! g
  123. ;   Development Value: 60 (60 seconds)( s) }4 N. B6 n8 J  ^, o
  124. ;   Production Value: 60 (60 seconds); e  M$ q) R$ T/ q0 ?8 J' l

  125. 1 M1 o$ u1 B/ w
  126. ; output_buffering
    & S: U$ ^8 s$ t. x) }& i! h, X( w
  127. ;   Default Value: Off
    % b, L8 }1 q/ ?# }
  128. ;   Development Value: 40963 b- W  C# w) ^  c) N9 q
  129. ;   Production Value: 4096
    4 |8 I( S* \6 _, s$ J( \$ L
  130. 3 }0 B6 H4 X( }4 ^. J
  131. ; register_argc_argv" x+ n# g1 ^) H& M  j+ \3 ]" D
  132. ;   Default Value: On: Q* B6 {) F) d' C" t0 L
  133. ;   Development Value: Off* V8 W3 q8 x% P& q+ g1 `1 f) @" I
  134. ;   Production Value: Off: c/ U* b) i: P6 L8 K: |6 i9 n
  135. ; W0 |- T& g  c" \
  136. ; request_order
    & L4 _6 O9 S3 [- h: b7 [
  137. ;   Default Value: None
    $ K! N; Y/ I* |' I5 X. r* c$ [
  138. ;   Development Value: "GP"
    ; \' l* _/ c/ @8 @6 ~3 o
  139. ;   Production Value: "GP"( H1 B) t  ^0 k: G
  140. 7 }( z$ `5 |/ N8 R- ~# i
  141. ; session.gc_divisor
    3 c& J9 `8 K6 O/ w; G+ b
  142. ;   Default Value: 100$ u3 J. _* ^2 I4 j# o
  143. ;   Development Value: 1000
    % p6 S' C- Z* f; L8 C
  144. ;   Production Value: 1000" e* I2 E3 T! ]. l" n
  145.   _, F0 {* U8 d! O5 b, B0 y
  146. ; session.hash_bits_per_character% l; a3 B/ n7 N
  147. ;   Default Value: 4
    ( _( A9 g0 `( h/ k" X
  148. ;   Development Value: 5
    3 l4 }/ V. `& w! ^1 g
  149. ;   Production Value: 5: e( s- s5 J5 W3 b0 I2 E, Q

  150. 7 Z& I' @. Q- q# }0 m# P& Q
  151. ; short_open_tag
    . ~( \: c( V- Q- J4 l1 A
  152. ;   Default Value: On( D$ H6 |0 F8 g% i
  153. ;   Development Value: Off% [+ O' W4 b% N  \% m  w
  154. ;   Production Value: Off& c8 m3 G1 Z7 X# [+ H# Y4 E5 y# g5 K
  155. % Z4 }& M/ d4 S' t7 O$ f1 i9 ?4 f
  156. ; track_errors
    4 b- P+ [; h& v; i
  157. ;   Default Value: Off
    : K- A5 A/ r  d( D) x6 N
  158. ;   Development Value: On2 J$ M+ G# a6 z& b2 a* ^; G9 P
  159. ;   Production Value: Off
    1 s! q. h* S' j  \0 N+ B

  160. * R# D( y/ l5 C: r3 E
  161. ; url_rewriter.tags3 d8 V% h1 a7 d/ k, N/ Y: t4 n
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="* q& v. B. D, L/ `3 _0 K6 @
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & s9 r% z; F, M2 B$ W" u2 Z) B
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ A' A4 E0 M( A$ g

  165. 2 Z5 l7 A# R7 A# E* }; u) I3 k. z
  166. ; variables_order
    + H8 _/ o( g1 W+ b; M! p# X
  167. ;   Default Value: "EGPCS") |* g2 _4 m. X& k
  168. ;   Development Value: "GPCS", {6 F7 E2 t9 ]  k( N
  169. ;   Production Value: "GPCS", G- P& D) t6 c: J: q7 q
  170. 1 ]5 C& R! ~' ~( e( N9 v* T% N9 ~5 z9 P$ `
  171. ;;;;;;;;;;;;;;;;;;;;
    6 V6 y/ F1 l7 t' R: \( G
  172. ; php.ini Options  ;
    9 K- L" A8 [% i! t, e
  173. ;;;;;;;;;;;;;;;;;;;;) P, E; [$ [# r$ p5 X% B; H2 u1 V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 e8 G: X4 O' t% }: c1 @. T
  175. ;user_ini.filename = ".user.ini"; ^5 j- a: w; d$ o
  176. : L. \6 W/ z0 n* J1 b) R' ~, A9 @. |
  177. ; To disable this feature set this option to empty value
    ) Q( ]: N. o6 ^; P
  178. ;user_ini.filename =; D- O" q* P, I1 v+ H

  179. , G6 m, @& e. w' d4 l' j3 t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    + V) M' w1 [* V
  181. ;user_ini.cache_ttl = 300
    : I* D- E3 I  c' L7 M0 v
  182. ) J+ A9 ]. B0 s* z5 y
  183. ;;;;;;;;;;;;;;;;;;;;
    $ F4 ~( J4 [( x. b& i4 o
  184. ; Language Options ;9 B. S5 i( O( q
  185. ;;;;;;;;;;;;;;;;;;;;
    & j' i: T. o6 L( |3 U; L

  186. . u: n( a7 x9 m  \$ ~
  187. ; Enable the PHP scripting language engine under Apache.9 {2 D4 D1 n7 ~# R
  188. ; http://php.net/engine# F! O* x4 {, D% I* h) Q
  189. engine = On
    % Y- z; [0 ?7 O$ i4 V# e: M
  190. 4 W3 }4 u! T) U
  191. ; This directive determines whether or not PHP will recognize code between
    7 m4 ]& d3 C( b9 G! M
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    " Z0 ~$ a# E& V% Y; ^$ v
  193. ; generally recommended that <?php and ?> should be used and that this feature
    2 q1 }8 {- E3 P" z) Z; v$ _& v
  194. ; should be disabled, as enabling it may result in issues when generating XML+ V3 D, c4 F" l3 r; u$ u5 S: e
  195. ; documents, however this remains supported for backward compatibility reasons.8 v5 D( t) B- a" k. a; r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + p$ _7 c/ {2 \4 a+ B( H+ l, N) r
  197. ; used regardless of this directive.
    2 }" Q/ F, X: i& w( B7 u$ w$ c
  198. ; Default Value: On2 t6 ]: H( q( W' O# H3 G) A
  199. ; Development Value: Off
    4 k- O$ j) C$ ?2 q1 l2 H8 U
  200. ; Production Value: Off
    + N2 Y8 y" Y, l# l. c' X
  201. ; http://php.net/short-open-tag
    8 F3 I- _) l, L# L7 b
  202. short_open_tag = On
    . ~) k( P1 f; q6 j- A: E

  203. + p) s9 p0 e2 y0 c5 m
  204. ; Allow ASP-style <% %> tags.: w9 ]+ f$ U. v) J1 T, X5 P
  205. ; http://php.net/asp-tags/ U5 }8 ]% C! t" s! J
  206. asp_tags = Off
    - `4 {# ]4 _5 s% r0 |0 i/ @
  207. 2 u: x" w6 b/ p/ F/ ^- c
  208. ; The number of significant digits displayed in floating point numbers.3 g+ D+ a9 S8 R& E5 M, Z' ~1 T
  209. ; http://php.net/precision" u. K( g* ]" b4 v* ?6 w) f
  210. precision = 14
    3 \6 g' V& A  f2 }- x# O0 }
  211. 3 K6 y& V+ Z) H# y8 J
  212. ; Output buffering is a mechanism for controlling how much output data
    # `/ R- |, i" P5 m1 o. X& ]
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    4 T  _' R7 o. Y' c* `2 ?, V
  214. ; data to the client. If your application's output exceeds this setting, PHP
      H' i/ {2 K3 j- p
  215. ; will send that data in chunks of roughly the size you specify.+ v3 Z4 `. i  B  F3 }! S  Z
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    + Q5 }9 ?1 m$ V( \  e0 t8 _- K" Q6 m
  217. ; interesting side-effects depending on your application and web server.
    ! d' w' T2 k1 [. r2 I% i# a* {5 s
  218. ; You may be able to send headers and cookies after you've already sent output
    4 a; |" R% C# @; ?! C. m3 J
  219. ; through print or echo. You also may see performance benefits if your server is! v. ?" Y$ x' P9 C- \' V, j: Z0 o
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    . o- a! d9 Y7 r1 z* g' M8 q2 }
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      j0 |4 K+ ^; d
  222. ; reasons.
    ) h3 B9 g, F: r/ z5 ~
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    % ^. G) Z0 K2 c# a8 e6 X5 E% U
  224. ;   functions.1 W8 ?& x6 e+ s6 [' l7 m
  225. ; Possible Values:
    5 r  ?8 N7 Y# w; f: t: Q4 x
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    4 I# s8 d1 j& t$ |9 d* o1 k
  227. ;   Off = Disabled/ }" n. b5 }" t* A( W
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      h9 e2 ~# l! E
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , ~! u; n1 N1 o; _. c$ h# Y# L
  230. ; Default Value: Off9 i0 j! N- Y# f4 n/ _) P5 e( O5 r' T
  231. ; Development Value: 4096
    6 O1 w! r$ a3 {* K7 k. W
  232. ; Production Value: 40967 ]" }: d0 t* t1 i. ^1 a
  233. ; http://php.net/output-buffering9 F- y+ @6 o4 a# E/ c5 ?& l
  234. output_buffering = 4096
    1 f" U. J* w! }: Q" ^  M

  235. * Y0 X. d( R7 e' n! f
  236. ; You can redirect all of the output of your scripts to a function.  For& Q7 [$ z6 k4 w1 O
  237. ; example, if you set output_handler to "mb_output_handler", character
    1 ^8 }5 R: N" K; ~6 _
  238. ; encoding will be transparently converted to the specified encoding.
    2 E8 b% `2 v# D6 n
  239. ; Setting any output handler automatically turns on output buffering.
    - S' H$ N  z! i& {5 q
  240. ; Note: People who wrote portable scripts should not depend on this ini
    2 G: g) P4 C1 }8 k- B
  241. ;   directive. Instead, explicitly set the output handler using ob_start().3 b' Y) {- n) C& u, b$ n
  242. ;   Using this ini directive may cause problems unless you know what script. A& b4 z9 x9 P$ z
  243. ;   is doing.
    ( P; w& o8 w+ p
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 Z  q4 y# f) K. ?" X: Q
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! Q; s  B; @( Y/ i$ J4 E4 K# ?4 h/ }
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 O2 d3 n. |3 c1 c5 F
  247. ;   Instead you must use zlib.output_handler.
    / N% J2 Y& C$ z- Q
  248. ; http://php.net/output-handler6 \) V2 W) {! n4 Y, e4 N
  249. ;output_handler =
    + e* G' Q2 L. t) o+ g8 w

  250. 8 Z. ?4 L+ y9 d5 k* w
  251. ; Transparent output compression using the zlib library- K, l( W9 b  X  h
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size  M& I# J3 I# W9 X8 n
  253. ; to be used for compression (default is 4KB)& X9 Q: H, w- S" U
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP  u8 w; [7 ?5 A- m
  255. ;   outputs chunks that are few hundreds bytes each as a result of( f: C/ q( _/ l7 j/ K: |
  256. ;   compression. If you prefer a larger chunk size for better
    4 J3 F7 m, ]+ f, }0 I* M/ @
  257. ;   performance, enable output_buffering in addition.! j& P/ W5 q* Y6 t0 l
  258. ; Note: You need to use zlib.output_handler instead of the standard- Z2 w- u) `! x% Z9 L! P
  259. ;   output_handler, or otherwise the output will be corrupted.- t- g/ e( l+ u( e3 ~
  260. ; http://php.net/zlib.output-compression
    0 ^* A; n& U: T
  261. zlib.output_compression = Off$ F: K: G3 l6 B) Q* ~. Z
  262. 2 w1 \# O% T/ y' T- l
  263. ; http://php.net/zlib.output-compression-level. R2 ~3 q- J9 F1 a1 u9 d
  264. ;zlib.output_compression_level = -1
    ) x6 _4 c7 a4 g- T  a$ V) C7 p

  265. 2 P- y! J2 \. r: x6 N
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ! g  I: t% I( @' N
  267. ; is activated here. This setting does the same as output_handler but in( K  _5 r! K1 v+ T% v* D
  268. ; a different order.
    6 w( t: Q0 W: h8 z% }! u
  269. ; http://php.net/zlib.output-handler% v& ?- }3 }6 P7 s* v
  270. ;zlib.output_handler =; R6 X! t* ^) J& u- u9 c8 L

  271. * h1 {# k% B+ k9 K
  272. ; Implicit flush tells PHP to tell the output layer to flush itself* L/ A6 Y* E; r$ j
  273. ; automatically after every output block.  This is equivalent to calling the% i/ t5 Y) }/ _$ n( y$ t2 P; c
  274. ; PHP function flush() after each and every call to print() or echo() and each6 p) B6 y- [5 L/ I( c. y0 o
  275. ; and every HTML block.  Turning this option on has serious performance$ x$ v& s& z% E  F/ ^3 w& R
  276. ; implications and is generally recommended for debugging purposes only.
    5 Z1 j. h" s  Y" Q' u+ c& Y
  277. ; http://php.net/implicit-flush; r; |* U. h3 k; S
  278. ; Note: This directive is hardcoded to On for the CLI SAPI$ k$ p$ |& ]+ l% _0 j$ I
  279. implicit_flush = Off
    2 ^! C& L, V0 N" r
  280. & g" M- X) k- f/ c7 Y% W5 A1 r) B
  281. ; The unserialize callback function will be called (with the undefined class'9 K' R9 p1 P1 u, f4 ~+ J; J
  282. ; name as parameter), if the unserializer finds an undefined class1 N; Y, Y3 K. u) |8 J$ }% G( t% B/ w
  283. ; which should be instantiated. A warning appears if the specified function is
    3 Y# Z4 O% K/ |; B% ^7 l
  284. ; not defined, or if the function doesn't include/implement the missing class.6 I7 R- E, I. I
  285. ; So only set this entry, if you really want to implement such a
    ( r: x- T1 @  ]& R2 c" X
  286. ; callback-function.  [2 q, R# a9 j1 J2 J1 A
  287. unserialize_callback_func =( k3 H) d. F) T! s, U3 h* y* W

  288. 8 O% f' r# [& L$ I6 j5 }+ e  X
  289. ; When floats & doubles are serialized store serialize_precision significant* S% L! e+ \1 b% O8 m5 U: V
  290. ; digits after the floating point. The default value ensures that when floats2 y- k$ p; J  `& i( W' E/ h. O
  291. ; are decoded with unserialize, the data will remain the same.( H% ~7 W; ~2 C
  292. serialize_precision = 17
    1 I9 l3 J" _* |/ N. C
  293. 2 H* A* L3 N  o* Z8 |5 H  v# {
  294. ; open_basedir, if set, limits all file operations to the defined directory( G) N. w, f2 D" C$ o
  295. ; and below.  This directive makes most sense if used in a per-directory- \3 e; u( q7 c* N
  296. ; or per-virtualhost web server configuration file.6 R  F* Y' {, j  W: L
  297. ; http://php.net/open-basedir6 j0 h( X8 {0 `3 I
  298. ;open_basedir =
    / j; K/ _, Q6 y
  299. 0 l/ W* J/ I0 I2 T) y
  300. ; This directive allows you to disable certain functions for security reasons.
    , d5 w8 k- Z" v
  301. ; It receives a comma-delimited list of function names.' C' Z: Q! d. t& l/ G8 G( V6 G+ \
  302. ; http://php.net/disable-functions
      [" s( a; f, A4 c, m3 f
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* R1 [2 g% f0 O1 H! l  B
  304.   Z2 [' d8 W4 g) n, r( V% R
  305. ; This directive allows you to disable certain classes for security reasons.3 j: V! r: ]1 t8 c- p0 L# p
  306. ; It receives a comma-delimited list of class names.
    * ^" a4 r5 B( o! Q* b& `
  307. ; http://php.net/disable-classes$ E, Z  E# R' {, i
  308. disable_classes =
    + Y! z* G  _2 I2 Q0 D
  309. % K! E* _9 {; S3 o* ~% b5 F
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in& R4 S' V9 U8 w7 ~1 D' d* B
  311. ; <span style="color: ???????"> would work.* s3 M5 a  b+ y3 T1 l
  312. ; http://php.net/syntax-highlighting
    , f" v/ ^: X' @5 U6 p: f
  313. ;highlight.string  = #DD0000
    4 o$ c! Q) A; ~: V, @
  314. ;highlight.comment = #FF9900
    4 Q$ J2 m+ l8 j( j. W6 ?2 _  }# a
  315. ;highlight.keyword = #007700# o2 w7 f' ]$ S4 \
  316. ;highlight.default = #0000BB: v3 y5 H; c6 R( Q
  317. ;highlight.html    = #000000# [8 C( D  }6 v& I, z" m4 ^% g' f
  318. % r* ]% f5 ~: i
  319. ; If enabled, the request will be allowed to complete even if the user aborts% r4 r0 t/ v6 C" R
  320. ; the request. Consider enabling it if executing long requests, which may end up% |' x* `5 [7 J% E& s
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior- D, }1 b: F+ P% x
  322. ; is to disable this feature.
    ) z) q: d' n  X7 u  R5 g8 V
  323. ; http://php.net/ignore-user-abort
    ' \9 q* T2 T! d7 }5 w; X
  324. ;ignore_user_abort = On2 r& U* h% \5 W+ M# z
  325. * j8 C0 i- n5 z* K
  326. ; Determines the size of the realpath cache to be used by PHP. This value should' U3 b5 K; ~7 @
  327. ; be increased on systems where PHP opens many files to reflect the quantity of( [' x0 p" W7 c7 N
  328. ; the file operations performed.
    . P, X2 D- o, M" `
  329. ; http://php.net/realpath-cache-size
    8 C* D3 v, K' Z3 K8 d
  330. ;realpath_cache_size = 16k) {8 V  h- N6 Y! t' X

  331. 8 i5 W1 t: C6 a2 |4 Z6 N& L
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    . c0 T# E" E  t6 O/ `0 X
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ! p. d+ u0 ?3 o' X8 I
  334. ; value.8 P0 ~4 J, n+ L
  335. ; http://php.net/realpath-cache-ttl
    7 Z' _0 R* {! e
  336. ;realpath_cache_ttl = 1206 n, N- K# Q# y9 ]

  337. - V2 @- q, u  m7 K! k
  338. ; Enables or disables the circular reference collector.
    : [9 ?9 t5 r8 p$ g1 Y, z
  339. ; http://php.net/zend.enable-gc8 n$ w' o6 E- U/ t4 x
  340. zend.enable_gc = On4 c& p" E2 x. V! d, g2 G1 t
  341. ; J$ a8 B4 n; Q( r/ c
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    / U" L+ j( F2 y3 o# a
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# o" H) A! R& ^3 ^; w
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 r: N! s; C% L8 J
  345. ; Default: Off9 P4 m% F' n. k9 T1 w
  346. ;zend.multibyte = Off: o! g, n' L! _$ i( A

  347. 5 q9 o; B' V$ K8 o( n* }0 V
  348. ; Allows to set the default encoding for the scripts.  This value will be used2 ^5 k# I. |% `: {! M) B
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.! j) i# t+ {6 |. m+ E
  350. ; Only affects if zend.multibyte is set.
    6 h! \. |) i9 P6 g( b6 g
  351. ; Default: ""
    2 G) |: E9 h; H4 C9 i
  352. ;zend.script_encoding =
    / V- s& _" ]0 K: E
  353. . F- q5 J* ~8 w+ b: t
  354. ;;;;;;;;;;;;;;;;;/ T; s6 t+ ]; B* y3 c* l, P5 c( Q
  355. ; Miscellaneous ;0 c! ?7 u; C" C, i
  356. ;;;;;;;;;;;;;;;;;6 J. a6 q- z/ T8 l$ b! u

  357. ; s2 h  Z4 B# t6 k
  358. ; Decides whether PHP may expose the fact that it is installed on the server" m( f- p; L2 a
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ' ]5 I5 o, T7 y
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ( ~7 `& U9 q$ ]0 S# ]" M
  361. ; on your server or not.& o% A$ r* b7 y) D* [, r
  362. ; http://php.net/expose-php
    4 P% W4 ~6 m9 b* G/ }' I- ~
  363. expose_php = On
    ; @6 h! Y( L: k8 K. R" D4 E* y2 [
  364. " y( r9 B8 h3 u- ^
  365. ;;;;;;;;;;;;;;;;;;;
    0 @$ H" j2 I* m6 |, ~! J. Y# P
  366. ; Resource Limits ;9 J( d4 n- @# a8 n
  367. ;;;;;;;;;;;;;;;;;;;
    7 j# \* l: t' V+ S- p
  368. 8 L4 v) e4 d* r" _; V( m, C" I) x( j
  369. ; Maximum execution time of each script, in seconds
    - k3 h3 e0 ^9 Z5 P8 }" ~
  370. ; http://php.net/max-execution-time0 D2 k6 d0 I: {. i8 S
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI& G7 V: h5 Z  g) x* |
  372. max_execution_time = 300
    : c2 m$ [# |) H$ p# x

  373. 2 J1 \0 w% O0 F
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( \, K  p5 d; A3 b- y
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly8 d0 O3 y1 y( ?# `6 S# d
  376. ; long running scripts.$ ?$ ~% P6 I# \4 K' a3 R
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    8 b! Q/ s! W1 b; |
  378. ; Default Value: -1 (Unlimited)! l: O: \) @% `2 L( o
  379. ; Development Value: 60 (60 seconds)
    + h, o: {1 k- f8 D7 W2 \% ~
  380. ; Production Value: 60 (60 seconds)
    7 x7 h- D* F. U6 Z( N4 s7 o+ }
  381. ; http://php.net/max-input-time
    2 m. k- o) E$ j
  382. max_input_time = 609 H' ~& @" X9 p% `  ?& q4 U, M' d" @
  383. / F/ N6 R9 n8 k& x0 G3 _5 T7 D
  384. ; Maximum input variable nesting level
    , G- u( J, d7 H; r" t/ M. r
  385. ; http://php.net/max-input-nesting-level
    , h* o3 `( B" c
  386. ;max_input_nesting_level = 64) \& R6 |0 w/ G3 i9 s! S
  387. ( a( k+ v1 z, Y( v2 N
  388. ; How many GET/POST/COOKIE input variables may be accepted+ |, J% [* L7 Z; p1 k- n
  389. ; max_input_vars = 10000 e' \& u, S% k6 E
  390. 8 {) E# {* z) [' j* r+ b
  391. ; Maximum amount of memory a script may consume (128MB)+ T% T' ?1 V1 m1 R
  392. ; http://php.net/memory-limit' S- a+ O% o2 a7 x6 E. Y
  393. memory_limit = 128M- w1 h  ^+ p0 N) a  i/ }; s$ P) i

  394. 9 D! U" g, T* p" G0 s8 V7 k
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ V7 T; b: P& j3 {
  396. ; Error handling and logging ;
    4 s  Y  ]0 p. o& [9 A
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 j3 J7 \4 y. U6 }
  398. ' x+ _. _3 x7 q" F1 w
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ! M2 d9 J2 x2 f+ W% X; T
  400. ; it to take action for. The recommended way of setting values for this4 i5 ]& W" g# s. i: `) |
  401. ; directive is through the use of the error level constants and bitwise
    , d4 T; c2 l) f( D
  402. ; operators. The error level constants are below here for convenience as well as/ @( l0 _. Z* p1 n0 ?- ?( N
  403. ; some common settings and their meanings.
    7 }/ ]% K% T1 r( N
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    2 q- P$ _2 a9 X8 E& A4 F. @0 K
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and- e4 A9 H  ]& K, k+ B6 y) N% |; U
  406. ; recommended coding standards in PHP. For performance reasons, this is the( w% w8 E% V0 a+ }
  407. ; recommend error reporting setting. Your production server shouldn't be wasting5 _- c* e/ H" c% o# h
  408. ; resources complaining about best practices and coding standards. That's what
    9 |8 c+ k: j" J" a2 v
  409. ; development servers and development settings are for.
    ) W9 [# r9 O- i4 M+ S  s" ^
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    2 A9 e! G* L: b. J$ _0 x. ?
  411. ; means it pretty much reports everything which is exactly what you want during' p! u5 J1 P: q7 A4 G$ I6 @& g
  412. ; development and early testing.' z9 O9 r" t: {- f+ W: A
  413. ;: L( {3 l# M4 Q4 I9 G3 e" v  V% _
  414. ; Error Level Constants:
    & C0 E0 L9 H  ^( Y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)+ B2 o7 A: r# H4 ?, r
  416. ; E_ERROR           - fatal run-time errors
    # f  [( A* g% I5 {4 A& [
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    9 y6 B, r: q" n% K5 H" B
  418. ; E_WARNING         - run-time warnings (non-fatal errors)0 d5 L% @7 G8 A
  419. ; E_PARSE           - compile-time parse errors' \- A% ]6 m" d$ [$ o* ^
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 ?0 ~7 \5 \; Y' M: z7 N7 j
  421. ;                     from a bug in your code, but it's possible that it was
    , e! _$ ~% ^! H: e% H
  422. ;                     intentional (e.g., using an uninitialized variable and
    $ o3 X" H# N  g$ r
  423. ;                     relying on the fact it is automatically initialized to an
    7 ?$ e$ h, z8 z3 J
  424. ;                     empty string)
    1 t' t, k. W! M, _% e" G  W! \
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 E+ n+ ?# V/ [3 i: Z! y* f
  426. ;                     to your code which will ensure the best interoperability
    0 F. j% R$ i7 J# K# l3 {1 |( I& S% P, U
  427. ;                     and forward compatibility of your code5 v( Y4 C% h4 d! }! w
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    7 \0 `" n6 t- m& u: A
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's7 m* Z+ ~% b" d! w
  430. ;                     initial startup
      K, X# f! ?/ ~9 m: L2 h* @3 t
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ( {+ Z6 \5 r; E* p
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 H" X4 k2 Q3 S) X
  433. ; E_USER_ERROR      - user-generated error message, |8 \" Z" Q; g! m& t& ]
  434. ; E_USER_WARNING    - user-generated warning message# J5 V5 q& A+ Z
  435. ; E_USER_NOTICE     - user-generated notice message
    3 I! u3 j" P/ g- d) c8 r) j5 ]$ |3 o( h
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
      v+ Y" q- p) A" Z7 p
  437. ;                     of PHP! q/ H5 n9 j" W" S% X" s3 q
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * j) \. [  s8 v2 d" o) j
  439. ;
    ) v! h: k* [; r( g& D
  440. ; Common Values:
    , u* y0 X4 ~( m# Y  K
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    : S. }: w/ k! n0 @
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ W  O5 J. T4 E! y! \7 M
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), j- \6 ]/ H, H; B6 i( j7 r& \
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    / U/ ~1 F% i0 t$ \
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , u  C  J2 v( _2 X* u
  446. ; Development Value: E_ALL
    + A+ o3 {+ W6 |
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 D  h/ v0 h8 _- _: Q4 s
  448. ; http://php.net/error-reporting
    % f! n& ^) V: J. }# k- v# w
  449. error_reporting = E_ALL & ~E_NOTICE
    9 Y# P8 ^0 Q( I2 V
  450. & M! o# P# h9 o7 k3 J
  451. ; This directive controls whether or not and where PHP will output errors,1 @( \/ l8 ?7 _6 F" L2 F
  452. ; notices and warnings too. Error output is very useful during development, but2 X, I) l% e, }/ g: Q# l
  453. ; it could be very dangerous in production environments. Depending on the code! h- a3 Z- P( a# s
  454. ; which is triggering the error, sensitive information could potentially leak  t0 I0 A$ H, i9 B
  455. ; out of your application such as database usernames and passwords or worse.
    : J( I3 c- n! i* b6 o4 s- j
  456. ; For production environments, we recommend logging errors rather than, ?; u6 w6 G% h# c0 u+ c
  457. ; sending them to STDOUT.) ?- ?" q  k. s  p# w' {8 F+ ~
  458. ; Possible Values:+ T7 I; f& ?1 i9 p0 Y+ E: i
  459. ;   Off = Do not display any errors
    % ]( \0 K2 E  V6 C
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    0 U. _$ n- z+ X3 U  ~
  461. ;   On or stdout = Display errors to STDOUT
    - x! n0 r+ S0 \; Y
  462. ; Default Value: On- z7 \) y, |8 v3 ~, a: k
  463. ; Development Value: On( C! j) k/ I4 r9 s; L/ V) B9 p
  464. ; Production Value: Off* }' @( C2 O& g* D# H
  465. ; http://php.net/display-errors
    " d% M% W+ I: l3 y; u- H& {5 k& g0 q
  466. display_errors = On
    ! B5 R& y) f& W3 n3 k) C% K
  467. 8 t8 \# Z5 o6 m# H/ p
  468. ; The display of errors which occur during PHP's startup sequence are handled& k8 m$ Z) Q6 ]9 u4 B" k
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    * Y& D4 n) X$ {7 L6 J# B6 Z$ n
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    - r3 D, x$ X' W5 Y: r. a  d* u& V
  471. ; debugging configuration problems. We strongly recommend you- ^2 H6 c# `+ E7 B; n, T
  472. ; set this to 'off' for production servers.+ m/ j; `) n; }" E  T1 _
  473. ; Default Value: Off
    - V6 i9 T# P5 d$ Q3 p
  474. ; Development Value: On$ t) h2 S4 T) E* e7 A: O8 |
  475. ; Production Value: Off
    1 [9 C% v) X# m0 I6 G) f: L
  476. ; http://php.net/display-startup-errors  S, q( m1 N; L1 u5 j: t) w# C4 X! X. O: ^
  477. display_startup_errors = Off- t; V4 x# F5 X# |* h$ [9 \" |

  478. ) t/ o2 V4 U  G# W: y% J
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    3 P+ U  Q) s, e; p1 i! S
  480. ; server-specific log, STDERR, or a location specified by the error_log
    + \8 v% Y. }1 m1 ^2 Y7 G
  481. ; directive found below. While errors should not be displayed on productions
    9 l% u  w8 }* F& k/ V
  482. ; servers they should still be monitored and logging is a great way to do that.
    6 ?+ u. `. J2 p9 A" |
  483. ; Default Value: Off
    3 m  G1 i) O- V+ \2 w7 [
  484. ; Development Value: On1 W; V1 ~" U! F( V
  485. ; Production Value: On  X2 d. ]5 T+ b8 n- K! \& j
  486. ; http://php.net/log-errors: _& N* e( F+ v, R/ I/ G0 K5 T/ a2 f
  487. log_errors = On
    0 y* f; v9 G1 }1 E
  488. $ A5 P0 ?& O. L0 @9 W
  489. ; Set maximum length of log_errors. In error_log information about the source is
    6 B/ g7 n( Q, B. ~& l- L# p
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    & v& ]# P! b4 g) M2 r3 b
  491. ; http://php.net/log-errors-max-len
    : X7 ~: s) M5 q1 l+ \& D
  492. log_errors_max_len = 1024
    , U; ], t8 A0 ^  \5 `
  493. # A) k2 d" i6 q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
      Q0 I5 W4 [* s8 V; g" K
  495. ; line unless ignore_repeated_source is set true.# d- q0 k& h( F: X
  496. ; http://php.net/ignore-repeated-errors; s9 E/ S  x5 V# |  N% `
  497. ignore_repeated_errors = Off
    6 ^7 a+ H% A, W. X* H( H
  498. # X5 x1 m2 r) ^# c( i6 f7 \
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    . b9 n- D- R& [- n: r- u
  500. ; is On you will not log errors with repeated messages from different files or! C; K! R- S  ?% B! a5 a
  501. ; source lines.; i$ j+ i1 F; s
  502. ; http://php.net/ignore-repeated-source, j0 F9 D3 P$ t9 Y" x6 v
  503. ignore_repeated_source = Off
    * v4 m: z& d) q# x
  504. 7 i% t. k  @" T# s! y6 Y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & m. G. X/ v/ D; @. H
  506. ; stdout or in the log). This has only effect in a debug compile, and if$ W  m# l* l2 F6 C9 x
  507. ; error reporting includes E_WARNING in the allowed list
      `5 w# L! p- ]0 g( p7 W" _! I4 M5 w
  508. ; http://php.net/report-memleaks
    ; `# U5 A: k7 ?2 u
  509. report_memleaks = On
    " I4 x) Y$ O2 w7 M! G6 ?# |6 m( L

  510. : ^4 A% H* R; W; @9 {( l2 F# F
  511. ; This setting is on by default.
    $ ]+ w8 M& Y# Z- K5 |
  512. ;report_zend_debug = 0# K  g2 q# N0 R  ]% C. m) \% B9 F; g

  513. & T( A- b, T4 _# p4 n  j4 u
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 Q- I9 l# k) M( N. Y
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    " [  S$ [; j: I* ]2 \
  516. ; however be disabled on production servers.
    2 V) }- P7 B( L  _3 j$ H6 A
  517. ; Default Value: Off) q3 L8 P6 ]# J! r$ B
  518. ; Development Value: On
    % L1 w$ c3 E" R1 W' u
  519. ; Production Value: Off# ^6 M4 Y3 q; @
  520. ; http://php.net/track-errors; a. A- N$ ~" ?
  521. track_errors = Off
    - G5 O6 Q8 T; B
  522. ; \% L. m2 D  s- z1 C2 n% x
  523. ; Turn off normal error reporting and emit XML-RPC error XML0 [; K% G& _% e# M2 v' x
  524. ; http://php.net/xmlrpc-errors* R# Y4 T4 w! w0 z
  525. ;xmlrpc_errors = 0. r5 _8 o/ x4 q5 D# d+ _$ Q& c
  526. " |- V, G* ]8 Z0 F3 w
  527. ; An XML-RPC faultCode
    5 Q' f  z. C' z2 N- h  b6 `+ i
  528. ;xmlrpc_error_number = 0
    7 ~7 m; ^- M4 w0 y. X/ Z
  529. , G: N* H: {! E/ `
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    3 N6 `% y- R$ y/ M, X; O, s
  531. ; error message as HTML for easier reading. This directive controls whether
      z% @! k1 P6 f2 u3 s, X- m
  532. ; the error message is formatted as HTML or not.
    , ~  m# f, L2 Q! f
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . {" r+ A; O/ I" D2 N& t
  534. ; Default Value: On
    # A; Z# |/ @5 V+ `/ [
  535. ; Development Value: On" p) |- I. R* O/ }# v6 l+ t' {% Y
  536. ; Production value: On/ v! E: W( `% W/ B
  537. ; http://php.net/html-errors
      f9 Y' V" n1 }+ Y2 F$ Y
  538. html_errors = On$ o# u( r) O( E5 a* S

  539. 1 _# B; J, ~  d; I0 x- j
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP( u+ e, n$ M# ~' ?3 m1 H
  541. ; produces clickable error messages that direct to a page describing the error
    7 R' l% E" `: n! r, [
  542. ; or function causing the error in detail.
    / {: e. x2 q/ d. b3 k
  543. ; You can download a copy of the PHP manual from http://php.net/docs! v, ]% \6 w) b8 G1 f$ R
  544. ; and change docref_root to the base URL of your local copy including the* W6 ]' w8 \% C
  545. ; leading '/'. You must also specify the file extension being used including3 L+ U+ P. B  a9 G% v0 D
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which* d9 N/ _/ z+ L% T; }' U4 R  s  n
  547. ; case no links to documentation are generated.
    ( ?/ c2 E' [- J) |6 ]6 `- _: E. V
  548. ; Note: Never use this feature for production boxes./ x  O( V' G! h* z9 r
  549. ; http://php.net/docref-root
    " A* V, H1 ]5 L( y
  550. ; Examples2 u( `- g0 F7 }0 E+ }
  551. ;docref_root = "/phpmanual/"% o  T% G5 A# z$ G3 I3 X* i
  552. % E4 {6 H  D$ b1 e# i' |
  553. ; http://php.net/docref-ext% A1 e" P$ t# _0 c" h' @3 Z
  554. ;docref_ext = .html5 U7 w9 w2 f, I2 E, e! U3 }$ Z
  555. , B, I$ I" G1 x! ~! E/ C; d# `
  556. ; String to output before an error message. PHP's default behavior is to leave" V5 [! Q+ [  `8 M) ?
  557. ; this setting blank.
    . ^% P1 m- V4 {; K7 E  C1 Y/ l
  558. ; http://php.net/error-prepend-string
    % T1 t) \- t) P
  559. ; Example:
    3 W- E* D- [6 y
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    % G5 V  J( x! O$ R6 D' L" c

  561. + @) ]: k' A' ~( V; e" R5 D! Q! I
  562. ; String to output after an error message. PHP's default behavior is to leave& E2 q% e' x, o. `/ i, i
  563. ; this setting blank.
      K8 w" l' p( ^. J
  564. ; http://php.net/error-append-string
      ?6 \0 {6 U" @! E+ }
  565. ; Example:1 |! [/ V' ?+ q" S) V, I5 P) f0 ~
  566. ;error_append_string = "</span>": ^3 B, k% D) R3 r- F* I
  567. 7 n7 O8 M, L: f' T% G! C7 Q) _
  568. ; Log errors to specified file. PHP's default behavior is to leave this value7 _* j, U, M4 |3 b( b: ^5 e
  569. ; empty.
    ; m) H0 X" U" R# Q$ B
  570. ; http://php.net/error-log/ X' }  n" B6 ?, b: V, S8 s) ^" H
  571. ; Example:5 w" V; V" T: K& R$ z
  572. ;error_log = php_errors.log- |8 i- A3 u  k* O! t  |. ~" [
  573. ; Log errors to syslog (Event Log on Windows).
    ( E0 X# g9 G# `5 H2 `6 a
  574. ;error_log = syslog4 q. e2 h6 `% W# t8 S7 e
  575. 4 f0 w* p& y. i4 A
  576. ;windows.show_crt_warning3 p1 ^$ n" Q3 z0 v; F! i- c, |: d$ E. V
  577. ; Default value: 0
      z; X* O! O2 [, B4 A, P0 B
  578. ; Development value: 0
    9 c  H9 ]) V8 T" D% M7 O
  579. ; Production value: 0
    4 W1 ^% T, r4 y' e$ s
  580. ! N6 B* ^  d2 ]6 p& S
  581. ;;;;;;;;;;;;;;;;;
    ( s) l+ `# Q' K) f" s2 u" i% k
  582. ; Data Handling ;5 x; Q( x/ u$ l  i' I
  583. ;;;;;;;;;;;;;;;;;- A# O( f) M& z* ~; F* r# W8 @& _

  584. 3 n% ^9 @0 ?8 N* S) P- J
  585. ; The separator used in PHP generated URLs to separate arguments.+ A* v% F8 Y9 g2 u
  586. ; PHP's default setting is "&".- E* P' x- M( L6 I7 P
  587. ; http://php.net/arg-separator.output
    3 J7 v9 A1 O1 q8 J8 ]+ s. Z
  588. ; Example:
    4 @9 x* h" F' O# r' K
  589. ;arg_separator.output = "&amp;"% g& x- e% J) W/ S) y

  590. : T2 V4 {1 ^! m+ p
  591. ; List of separator(s) used by PHP to parse input URLs into variables.3 A  Z0 m  G0 \2 H3 J9 N& W
  592. ; PHP's default setting is "&".
    * {# @4 q; D9 `3 a+ x
  593. ; NOTE: Every character in this directive is considered as separator!2 _+ g6 q; `* J7 N& n( R2 T: H7 q: `4 M
  594. ; http://php.net/arg-separator.input% C0 A- B" m, G% c  p' t& P9 R  \
  595. ; Example:8 F3 _( v: A/ ~
  596. ;arg_separator.input = ";&"
    1 P0 N! u% O9 `& B/ B2 j8 O
  597. 1 e$ ]1 [! p# L4 g, k
  598. ; This directive determines which super global arrays are registered when PHP% d0 j/ |. r) ?3 z+ W% {+ E
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 {, X, {' X* |$ e$ v* [8 s
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' D5 Z  A: k+ n1 d. e- B0 P/ R
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    5 R3 I. Y0 y# o9 O2 E3 R
  602. ; used as the others, ENV is not recommended on productions servers. You
    1 N) A) h9 l- |% x7 ^( d* ?* G8 ]# u
  603. ; can still get access to the environment variables through getenv() should you5 k. T. t$ e4 Z/ ], e* K
  604. ; need to.1 ]/ F# p1 N5 M0 n- ~
  605. ; Default Value: "EGPCS"  u$ g6 G! A; k& }7 I; F
  606. ; Development Value: "GPCS"
    4 Q$ O! G* s7 C) {& d+ P/ i6 b
  607. ; Production Value: "GPCS";! ?7 e/ s2 t% N; \' b8 x
  608. ; http://php.net/variables-order
    ' K5 d+ x0 I! G
  609. variables_order = "GPCS"- c: S5 T  e4 G! f

  610. ( \& i" e% O" W, h3 L
  611. ; This directive determines which super global data (G,P & C) should be
    4 W& |3 U, n% T' C
  612. ; registered into the super global array REQUEST. If so, it also determines
    8 R( E" c, G( @+ C/ m* @
  613. ; the order in which that data is registered. The values for this directive
      u5 T0 ?6 L5 P: L- a1 Z
  614. ; are specified in the same manner as the variables_order directive,8 V3 w# r+ |* @" Z/ R
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" V+ X$ h& F4 y$ Z: H; a2 @7 l; x
  616. ; in the variables_order directive. It does not mean it will leave the super+ Z0 k9 |9 c% h( H" E+ U
  617. ; globals array REQUEST empty.) r1 t! o. u, u  b0 q8 u, E$ X" C
  618. ; Default Value: None9 _% P$ b# k! ]- V0 r
  619. ; Development Value: "GP"
    7 ^7 _5 _( d( _
  620. ; Production Value: "GP"
    4 G, b3 n, Q9 Y# ~6 E* Y" w3 x
  621. ; http://php.net/request-order+ j% F. N  G" a
  622. request_order = "GP"$ W: o% }. ]) ^& }2 Z

  623. 4 s$ ?, j2 q+ ~: M" g
  624. ; This directive determines whether PHP registers $argv & $argc each time it" z, `/ Z6 E: u( a& w3 ^8 s
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script  _: L5 ]& Y0 |* `. [$ l6 D4 z
  626. ; is invoked. $argc contains an integer representing the number of arguments( W: B$ v' G! s4 l
  627. ; that were passed when the script was invoked. These arrays are extremely+ s4 V$ `, U9 P& P% t5 q
  628. ; useful when running scripts from the command line. When this directive is, U2 H1 v" s0 S
  629. ; enabled, registering these variables consumes CPU cycles and memory each time, J. g8 g6 P3 I  D
  630. ; a script is executed. For performance reasons, this feature should be disabled
    # t! k- e* C4 I1 D" X
  631. ; on production servers.
    ' L# L! p" h; o, ]- T
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 m; a! e0 V, q+ N
  633. ; Default Value: On( e7 I# n6 i1 \# {8 X/ W8 }+ j
  634. ; Development Value: Off
    ! ^  ^- e) d& a' F" t6 H
  635. ; Production Value: Off
    % O% }& g  p' l: M/ k
  636. ; http://php.net/register-argc-argv
    & w' D- _* }# w& ~( y
  637. register_argc_argv = Off
    3 b/ D+ m3 D, x+ `9 v5 ]. o

  638. & B" D( d7 v# `
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're2 [, N- ]4 m3 `* t5 [' A7 z4 o
  640. ; first used (Just In Time) instead of when the script starts. If these
    / d' ?& D: r& E5 f$ F& _$ v
  641. ; variables are not used within a script, having this directive on will result0 ?! M1 F8 ]9 T) ]
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled0 x, J, L: g: B. u
  643. ; for this directive to have any affect.
    8 p7 b- v* f6 K$ a
  644. ; http://php.net/auto-globals-jit' ^, K6 N* c0 `* B7 P9 d, s; t
  645. auto_globals_jit = On- t, I$ G/ I( w8 }; y1 B

  646. 2 S9 b' e& E, e
  647. ; Whether PHP will read the POST data." ?' P, K7 x2 T; k/ W4 H6 y
  648. ; This option is enabled by default.
    2 X( L- r+ _0 t- ?4 D! p" ]
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    . l6 B7 Z/ ^3 B5 F) y
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    # a! e3 x1 D# Y/ z$ n
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    % Z! ]- ]) E% j/ _- |
  652. ; to proxy requests or to process the POST data in a memory efficient fashion." u0 l' A6 z6 W& q; r5 ^+ Q
  653. ; http://php.net/enable-post-data-reading+ A% K! |7 W: D1 U7 x# X/ B
  654. ;enable_post_data_reading = Off
    7 R& [, _) `" B! w; a8 h& i* X

  655. 9 `' Y; C6 E1 V
  656. ; Maximum size of POST data that PHP will accept.
    8 C# P6 A( `9 \, m: }5 I
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading  H  w7 ~+ Y% O' t- A3 X$ Z
  658. ; is disabled through enable_post_data_reading.! X. F4 J( R* D
  659. ; http://php.net/post-max-size* |8 h4 M) n5 A( e9 I1 J
  660. post_max_size = 50M
    3 V; q& b4 c( T7 e1 m/ I+ Y+ C
  661. % X$ \$ U, \3 @0 o- K- _
  662. ; Automatically add files before PHP document., W! x- b; }- S6 j* n
  663. ; http://php.net/auto-prepend-file
    , H  z3 d+ e& ^8 H* w
  664. auto_prepend_file =
    ; L, @0 W6 I2 H: k3 Q

  665. ! {; f! h" l1 ?2 ?# D
  666. ; Automatically add files after PHP document./ ~$ n  v- ]9 T  N
  667. ; http://php.net/auto-append-file0 s& E8 K$ n+ J
  668. auto_append_file =- a$ {/ A" O4 C* {7 n# ]6 F

  669.   w  }6 @. _/ g
  670. ; By default, PHP will output a media type using the Content-Type header. To
    3 |* A* u$ e1 C" F4 H6 A
  671. ; disable this, simply set it to be empty.
    8 ]: f4 ?) a; O4 F% P3 z6 B
  672. ;
    / ]7 \$ G9 O; ?
  673. ; PHP's built-in default media type is set to text/html.
    : y& _, h( ~2 Y; `, {" b! k0 A- N
  674. ; http://php.net/default-mimetype
    / c1 Q9 `9 L: {$ I4 H
  675. default_mimetype = "text/html"9 n4 |3 R. o& I& J" T( e3 O) f

  676. 7 Q, }7 n! P; Z. o% M0 O
  677. ; PHP's default character set is set to UTF-8.8 n, I( w7 ^9 N: O! t# m
  678. ; http://php.net/default-charset6 H* \: F8 [, g$ O
  679. default_charset = "UTF-8"! y; d# i6 |8 P
  680. 2 T( x8 `" W: w* S' G& b. n+ _+ h
  681. ; PHP internal character encoding is set to empty.! ?+ ?! l0 _7 O$ I! A: i0 }$ a, `
  682. ; If empty, default_charset is used.& `1 h4 I2 s# C  D1 ?' i* L: A
  683. ; http://php.net/internal-encoding5 Y0 H) J3 W7 ?/ t
  684. ;internal_encoding =% f# E& C+ d! u4 x7 Z, L5 _
  685. ( t1 q& }" }( P
  686. ; PHP input character encoding is set to empty.2 ^& I* e* |2 u  u. |3 ^2 d
  687. ; If empty, default_charset is used.
    + w# s: H# @* w" P" u" O
  688. ; http://php.net/input-encoding
    7 l# f- o, h- e+ C, F
  689. ;input_encoding =
    , M  q# R2 J5 ^% u* v( L! O
  690. ! u9 E0 t: _( l9 D
  691. ; PHP output character encoding is set to empty.
    ( h1 _7 D# }; b, o, P% s
  692. ; If empty, default_charset is used.
    + z& l$ p# g, h2 O* j
  693. ; See also output_buffer.
    4 Q+ N2 y! y+ L' \( H2 P9 N2 c. f% m
  694. ; http://php.net/output-encoding8 G) Y% X4 X/ q3 `
  695. ;output_encoding =! B$ O6 u$ p& t, `( s
  696. 9 Q1 e& m, l# l# Y  `$ d" Y
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is% G. q' I$ w! C1 b" B
  698. ; to disable this feature and it will be removed in a future version." s9 X% w9 @% O
  699. ; If post reading is disabled through enable_post_data_reading,
    ) p& ^- u( R6 ^+ r- R# B
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ' S/ B/ c0 `+ D
  701. ; http://php.net/always-populate-raw-post-data
    9 w, ^0 F$ U/ P1 A* O+ W
  702. ;always_populate_raw_post_data = -1
    ( a' [2 U# p4 m  `& L

  703. 6 f) c, K1 @: _) ~- g
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;; N! ^" A1 @6 u/ D. h
  705. ; Paths and Directories ;
    & q8 y' S+ O  F* g+ {
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : @5 r& z& k9 g% C6 J3 d# M
  707.   {; l" a! u: p6 o! s1 a' z
  708. ; UNIX: "/path1:/path2"
    2 u7 `8 m' u7 i) g
  709. ;include_path = ".:/php/includes"2 ^# t5 @' `7 E* _- {
  710. ;) x9 r8 W0 N' R% E
  711. ; Windows: "\path1;\path2"- O' k! L* y% t* G( X6 s9 c0 e
  712. ;include_path = ".;c:\php\includes": V7 G! A7 ~. o0 I2 u
  713. ;
    # z" _" {- Y& p5 ~! _
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( ]  U/ @' [1 r% q  v
  715. ; http://php.net/include-path8 a+ [7 L/ y0 s( |6 J
  716. " A& x# Q) R9 T
  717. ; The root of the PHP pages, used only if nonempty.4 i' B- d: O& X& k, S( _
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % g+ B: H* w; B& [' y
  719. ; if you are running php as a CGI under any web server (other than IIS)
    & l& X0 E9 E* c) I- i
  720. ; see documentation for security issues.  The alternate is to use the
    6 A; M% D0 \& W# o* o: i6 i' c8 X  U( g
  721. ; cgi.force_redirect configuration below! d( h2 b7 I: T! f8 E2 m
  722. ; http://php.net/doc-root  b, d9 ^2 R( J4 b" S
  723. doc_root =; d% Z4 U7 `( T* z+ d+ x/ j" A

  724. 3 j8 ~* z" T# ?" u
  725. ; The directory under which PHP opens the script using /~username used only
    6 M& `+ r2 e% i; ^& N  o& K2 `
  726. ; if nonempty.2 Z; L* J, A2 E' \# ~
  727. ; http://php.net/user-dir
    # A5 P* i) N+ o& T& ]7 \
  728. user_dir =; i. C5 ^1 {: I4 A
  729. ) P9 t. f! l+ f: H3 Y$ ?8 }
  730. ; Directory in which the loadable extensions (modules) reside.8 m. h/ y& Q5 i! |- J6 d
  731. ; http://php.net/extension-dir; Z6 h# L, \- J: H  W1 v
  732. ; extension_dir = "./"
    4 F: A: f7 o7 C) p$ N5 x1 H6 B
  733. ; On windows:
    5 S/ z/ t7 w- q9 g$ y8 C, _% y
  734. ; extension_dir = "ext"
    3 `! g& M& d& V$ K" Y' ~

  735.   D5 N  e$ o9 H1 M- `) J0 {7 ^+ t
  736. ; Directory where the temporary files should be placed.
    $ V- S8 g" H3 O" [9 A+ o
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ) T$ F) @$ w: g% ?9 f; g' a4 W
  738. ; sys_temp_dir = "/tmp"
    7 e' _/ I) y, ?/ s: f$ R- H3 l
  739. 6 c* N. W1 s  ]( X& ?0 L9 c
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ) o+ ^# S- e5 ~6 O- E$ U
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically0 n9 C( {2 A5 e1 U  E* K
  742. ; disabled on them.- S/ d. `6 A; Q/ v" h" O" y
  743. ; http://php.net/enable-dl9 U: R4 h& M" b/ X7 }: n
  744. enable_dl = Off0 t/ r, Z9 G( R$ L5 }) p, ~
  745. 5 F9 I; Z' ^: i) `& m
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 ?& m! L+ E# ]; T: h
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can; d) _) ]4 ~) X3 }3 {6 I$ }
  748. ; turn it off here AT YOUR OWN RISK& W& I5 g" Z# D& X3 ~9 D. e
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 X) e. o0 S( e1 b
  750. ; http://php.net/cgi.force-redirect  [! u5 M' f" h: ^
  751. ;cgi.force_redirect = 1
    * _- K6 T( {. |; L0 h
  752. 6 w. W7 D6 z6 O% _
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ; ^& {' e) P2 N
  754. ; every request. PHP's default behavior is to disable this feature.  g7 {; m7 l3 ?: \6 u
  755. ;cgi.nph = 12 w  U1 r& _  A) l& j  ?
  756. 3 N8 D  A& q  ~* c/ y
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 b" o6 |' ~  |% S) v3 H; y
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP: B: v1 ?, g, v- t/ r, w. F
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY6 E) d+ y- O9 Q& L( J
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.+ B$ X+ ~! ]/ W- K! O4 y, `
  761. ; http://php.net/cgi.redirect-status-env& ^+ V" I$ o2 V/ _
  762. ;cgi.redirect_status_env =& A0 `$ ^# F+ K6 L0 u# x

  763. ' o; |& x  t' z3 Y
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    " P% [, ]4 u" W' K1 ~4 I& e
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( O3 K& T7 l, N- K( J2 O( `
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    1 c# R) n& @. J$ H: @2 s
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting: n% E: _2 s) i8 r; w  I
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % o  H8 |2 S/ ~+ @* s
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED./ t  S  s  D% V5 c+ F
  770. ; http://php.net/cgi.fix-pathinfo
    . o2 t5 T  N9 w
  771. cgi.fix_pathinfo=1
    * K7 B+ j$ J+ f5 G0 f, A5 U/ v

  772. ; r/ {5 |  O) e& W, B! S2 n
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- H$ D. _  W2 R
  774. ; of the web tree and people will not be able to circumvent .htaccess security.' ]2 s( @" k: V* V
  775. ; http://php.net/cgi.dicard-path$ t: X4 ~6 [* I1 X. R1 @& |) x
  776. ;cgi.discard_path=1* }! u$ U7 t) W& R
  777. # p& {1 j3 X3 T
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! n9 x. b2 [5 U2 Y
  779. ; security tokens of the calling client.  This allows IIS to define the
    5 T" L3 w/ T; Z+ n" O0 L
  780. ; security context that the request runs under.  mod_fastcgi under Apache+ s- n% x/ X0 f" Z5 G; M
  781. ; does not currently support this feature (03/17/2002)
    + B' M  I3 Y  v
  782. ; Set to 1 if running under IIS.  Default is zero.8 s6 j% e; M" p: v
  783. ; http://php.net/fastcgi.impersonate
    : e/ n+ o/ U2 p# e7 h% l6 X& {
  784. ;fastcgi.impersonate = 1; W7 K+ H6 P: H: H% R4 q% M3 z
  785. " S7 T/ c! O6 H) V" f* v! n
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable# r6 z+ M$ w0 ?" Y
  787. ; this feature.5 R  q% z- K. S: c* Z
  788. ;fastcgi.logging = 0
    ( O5 M, \( q; a- g0 Q4 r! @" [' j' M( M
  789. 0 }* x/ Y' |5 N; x! x' h
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    , g2 G+ c! q6 _" N' q& q
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    % J3 o  q  ^7 |, C$ Y9 k
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    " b4 s) r5 |- L4 Z: ~  \3 \
  793. ; RFC2616 compliant header.& d2 D" B7 P6 n/ E* @* k& V
  794. ; Default is zero.+ Q  Q, i0 T% T4 B
  795. ; http://php.net/cgi.rfc2616-headers. D5 V8 W! W( O- {
  796. ;cgi.rfc2616_headers = 0$ T. J# b" _' s

  797. 3 M* l: r. ?" S1 F2 N
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- m1 o) n! _- g/ W) o
  799. ; (shebang) at the top of the running script. This line might be needed if the7 y5 \3 u2 w3 j4 ~
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    # L! A: @( ^9 t4 K( T6 I8 F
  801. ; mode skips this line and ignores its content if this directive is turned on.# l) J* _2 I  ~2 O  c# P
  802. ; http://php.net/cgi.check-shebang-line$ Q8 R, }" P/ a- C
  803. ;cgi.check_shebang_line=1! I, i. B# ]" b0 q+ e
  804. ( }" {  u# j/ A8 o7 m
  805. ;;;;;;;;;;;;;;;;
    1 r1 a  a* s; G% X. ]
  806. ; File Uploads ;
    2 x. ?5 E' h5 _
  807. ;;;;;;;;;;;;;;;;
    , G( k, z. T5 q- n. J+ A8 W

  808. - h2 y$ ?' r: Q# I
  809. ; Whether to allow HTTP file uploads.# m; j9 w; |, `5 x; O
  810. ; http://php.net/file-uploads! K' M- [$ C7 B: l
  811. file_uploads = On
    0 s% X' ^  O! X# F2 e% A! M

  812. - k! U1 p! u5 t7 t* V4 e' H
  813. ; Temporary directory for HTTP uploaded files (will use system default if not1 @! X$ ~% ?. v% K  f) j9 Q9 f# r) Q5 S
  814. ; specified).
    4 B+ i8 \3 \: Z! a) W7 B
  815. ; http://php.net/upload-tmp-dir& z# A' f5 E" _2 v7 B, A
  816. ;upload_tmp_dir =
      t0 g. U  @, i2 X% Y3 q1 T
  817. 3 N4 N  S7 R0 {+ e- d' l
  818. ; Maximum allowed size for uploaded files.& i; a  ~  ^; h. S
  819. ; http://php.net/upload-max-filesize
    " P0 n. \+ e1 i2 ?! e- J, J" |
  820. upload_max_filesize = 50M# [. f  u) T  v0 ^3 A& ]

  821.   r% ?/ e/ M* B" E* a6 A
  822. ; Maximum number of files that can be uploaded via a single request) m  U9 a% n! O/ |9 f$ K' o5 @2 h9 i
  823. max_file_uploads = 20
    * j3 c! e8 Y' J# G  U
  824. % I: D( F( {* a" ?. m
  825. ;;;;;;;;;;;;;;;;;;( n! ?+ V/ u; e9 }: u- S0 B
  826. ; Fopen wrappers ;* U5 a0 q5 j2 E  v1 H
  827. ;;;;;;;;;;;;;;;;;;5 o& v' x5 |  X# X6 \, L; o$ B$ A

  828. : \3 t" R7 t8 s8 q/ \5 D
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ( O8 b$ [( N8 Q+ U
  830. ; http://php.net/allow-url-fopen
    ; P8 Y; |; [) O$ m, g! N7 x
  831. allow_url_fopen = On
    * X* I2 V/ L) u
  832. 3 W( R4 K8 O6 ^, K. c& @) x4 `' c
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * ~2 A  \/ X; I# _( P
  834. ; http://php.net/allow-url-include, {$ t$ e" [" w( L$ B; R& Z# z
  835. allow_url_include = Off
    / s- F& I3 i; Y4 E8 m. C/ _
  836. 3 D, {$ k1 z; U% c
  837. ; Define the anonymous ftp password (your email address). PHP's default setting; F. |& p" F3 ^7 g
  838. ; for this is empty.1 h* e) P/ @" v1 z8 M% \; V, j% _
  839. ; http://php.net/from$ _( W# _! S; H/ T, B  T1 c* j
  840. ;from="john@doe.com"9 e# Q$ Y# m6 N* L

  841.   c7 s) G4 j0 v- |8 T- T9 u
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    & }* ?5 M6 Q* d
  843. ; http://php.net/user-agent
    7 s$ @* d" |! y2 [
  844. ;user_agent="PHP"
    2 t- S- k" v: g$ P) j
  845. + P4 H- F% A. |4 O5 H) ~! q
  846. ; Default timeout for socket based streams (seconds)6 K9 P3 T! x' |; |+ d6 D0 l, d
  847. ; http://php.net/default-socket-timeout8 V1 [- o" X& k3 X& E' K" ^
  848. default_socket_timeout = 60
    0 m  ]& x& S# ]# t7 T; G) [/ ~

  849. ; s: |% u6 i" R! `, Q, T# Q- J% M
  850. ; If your scripts have to deal with files from Macintosh systems,
    ! x2 b# K/ k% U" p8 _; y
  851. ; or you are running on a Mac and need to deal with files from5 B. @1 m' k$ V& B
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ! ~  l$ s, y! Z; y8 \+ b# }' _7 x
  853. ; automatically detect the EOL character in those files so that
    8 j9 {  l% E+ f  k
  854. ; fgets() and file() will work regardless of the source of the file.
    6 H  M/ K4 F' t6 w5 ~
  855. ; http://php.net/auto-detect-line-endings) l( I- Z& e4 Z" w7 l+ {
  856. ;auto_detect_line_endings = Off, Y8 I9 C! a0 |/ H" v

  857. ! J7 H+ h& e* \, t: q# T+ Z2 G+ {8 s5 f
  858. ;;;;;;;;;;;;;;;;;;;;;;6 N  K/ l6 j: \! v9 v& B/ D) c
  859. ; Dynamic Extensions ;6 p% a3 q  a0 l9 o
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ( i1 l; P  o. r; q. x$ c

  861. 8 g" \1 ^+ Y+ P3 B, P' F
  862. ; If you wish to have an extension loaded automatically, use the following9 [4 k1 n; q. ]  N7 Y
  863. ; syntax:+ F; f+ k1 ^/ D" ^% F, X* o) u, }
  864. ;" R" V! o, {( L- m7 ^5 M/ @; y, `
  865. ;   extension=modulename.extension
    ) I$ I! N0 ~  L
  866. ;
    9 \* b: v! g9 m5 V: e/ e6 K
  867. ; For example, on Windows:
    5 Z! g/ z6 e* B" d
  868. ;
    0 k" }; i3 v7 `3 V
  869. ;   extension=msql.dll
    0 m8 w1 m# ~% t  C2 W5 k8 Q
  870. ;
      i1 a* Z4 G  C1 A4 z* g
  871. ; ... or under UNIX:: Y3 N3 R4 d* }& e$ E5 W! }
  872. ;5 m, @: {1 y  X& O* {( B
  873. ;   extension=msql.so  B5 H% d: ]' ?& D% v
  874. ;
    ) E$ d6 u/ C! e' n# I  b% e
  875. ; ... or with a path:
      \0 L* ], g9 u4 S' ?
  876. ;' h: U* @  N9 e. Q4 |* G- g
  877. ;   extension=/path/to/extension/msql.so
    : `* R$ [' v. {. J' L
  878. ;; p1 I( m2 j3 ^+ k
  879. ; If you only provide the name of the extension, PHP will look for it in its5 M- e$ d* t' V" C4 e  G' c$ c
  880. ; default extension directory.! r% t# h4 k4 b8 G
  881. ;
    ) }+ _1 a, z) e  U; h; E
  882. ; Windows Extensions1 V5 m) h- j8 \  [! K; r$ b( f
  883. ; Note that ODBC support is built in, so no dll is needed for it.( B! X/ l# w& k/ q5 J+ S$ E
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ) o9 }& v9 h, E0 C4 w
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).7 p; m4 @7 U. M+ S8 G
  886. ; Be sure to appropriately set the extension_dir directive.
    ( Z5 }; V! U3 f1 S
  887. ;
    , {" w6 T2 K; d( e& P9 Z  E: T. Y
  888. ;extension=php_bz2.dll# V3 i% l% U3 I: N6 Q+ C  ]3 _
  889. ;extension=php_curl.dll# l8 Z5 F0 Y! X% }. Y3 O
  890. ;extension=php_fileinfo.dll
    " `+ @# A1 v9 f8 p
  891. ;extension=php_gd2.dll7 @) D0 P( m9 m$ Y
  892. ;extension=php_gettext.dll: v8 u! R1 z( {% j& I1 R/ v  O6 A
  893. ;extension=php_gmp.dll
    . p! O+ l7 q. h- C
  894. ;extension=php_intl.dll8 d; Z2 d, [! J. ~& X# x1 e4 K
  895. ;extension=php_imap.dll
    + \) o8 v# f( n5 c' z
  896. ;extension=php_interbase.dll# A4 q/ }" P2 J& r: g/ o
  897. ;extension=php_ldap.dll
    + m- V/ B5 U+ Y. y- p
  898. ;extension=php_mbstring.dll) U3 s* r5 L% b( Z$ l6 T, y5 ?% x
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it* a( b. k0 Z" A' n( x7 l# Q
  900. ;extension=php_mysql.dll
      u+ s4 w4 o% j; y/ C& Q% h
  901. ;extension=php_mysqli.dll
    " L8 @* C# b0 X; I
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 p3 [* t. r, _
  903. ;extension=php_openssl.dll  x% m- ~9 v  c. g! j- w4 ]
  904. ;extension=php_pdo_firebird.dll
    - U" L$ }' |4 G! }
  905. ;extension=php_pdo_mysql.dll' ?1 g/ u; `* X
  906. ;extension=php_pdo_oci.dll
    7 N" t, r( d4 O, x/ A
  907. ;extension=php_pdo_odbc.dll
    ! k/ O8 G( K4 A- U
  908. ;extension=php_pdo_pgsql.dll
      [9 ^$ v9 ?( B. P
  909. ;extension=php_pdo_sqlite.dll, q8 m8 \1 E0 d3 V/ o
  910. ;extension=php_pgsql.dll
    - Q8 _& J2 G  F7 r3 I
  911. ;extension=php_shmop.dll. E% I2 d* Z! B1 f

  912. , u8 D) D) n) Q% r& V
  913. ; The MIBS data available in the PHP distribution must be installed. + D" ?3 i- f, N3 u
  914. ; See http://www.php.net/manual/en/snmp.installation.php : J. s, F" i) x* M" o4 ?1 e
  915. ;extension=php_snmp.dll6 Q0 d$ x8 \+ b1 d

  916. ) p3 R% A$ ^0 t; Z6 Q# [
  917. ;extension=php_soap.dll
    9 L' c  L6 m  H% f) }, V
  918. ;extension=php_sockets.dll6 p+ z0 r5 f+ G! B. T6 u
  919. ;extension=php_sqlite3.dll
    7 |  p2 Y# o9 G' c; x" H" y
  920. ;extension=php_sybase_ct.dll
    5 }! D5 A+ a3 c2 x
  921. ;extension=php_tidy.dll
    6 i$ S9 D. d4 h6 h
  922. ;extension=php_xmlrpc.dll
    0 ]- e# L3 |  G  a2 `9 l% P
  923. ;extension=php_xsl.dll, g8 L& l1 o  k$ ~; B; t

  924. 3 r# E1 n1 ]9 Z+ @+ \& g' P
  925. ;;;;;;;;;;;;;;;;;;;  B* V! s7 X$ t% U
  926. ; Module Settings ;
    / Q6 s& ?$ ^. B1 Z( w: |) i
  927. ;;;;;;;;;;;;;;;;;;;
    & u" [# L; a! ^1 j# x
  928. . T! m7 S$ r) o$ ]( \' i% v
  929. [CLI Server]! h+ x9 ~1 M4 @2 n
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; n' ?  E. g/ L6 k/ I+ ~3 T
  931. cli_server.color = On
    * z! n+ d0 l& h( b+ b  y
  932. + i( @0 S' a( o2 f2 R8 s
  933. [Date]) [0 {) p( L6 q9 ^, u' X' h* j9 f0 T
  934. ; Defines the default timezone used by the date functions
    2 s/ u! o% z- L
  935. ; http://php.net/date.timezone* [1 F* A3 A0 k, k" I  ~
  936. date.timezone = PRC7 M& s# t3 y- U/ y$ N

  937. + O1 j3 t$ @: \2 N  h
  938. ; http://php.net/date.default-latitude
    ; [& [/ `) L, k( J0 T! d# x
  939. ;date.default_latitude = 31.7667
    8 e+ v% e) C) G$ M! o
  940. : X# j1 a* J  z4 k; `
  941. ; http://php.net/date.default-longitude
    2 R* h: o" k: |
  942. ;date.default_longitude = 35.2333
    8 W, u" p+ F  z  V0 [6 x( I! O

  943. 8 B) m! h4 }! B7 f
  944. ; http://php.net/date.sunrise-zenith
    , h+ c* x, X  p+ g9 {+ Y
  945. ;date.sunrise_zenith = 90.583333+ ^# |# s2 ^0 M5 x% X* F1 V8 q6 I
  946. 3 n. Q- f5 \  w4 b( n
  947. ; http://php.net/date.sunset-zenith
    5 m- g6 C+ a/ d8 T8 X
  948. ;date.sunset_zenith = 90.583333
    $ N8 z- F5 {$ l9 S( ~
  949. 3 g$ O  H- k" V- u" O! m  A- U7 W3 q& |
  950. [filter]6 S8 T, Q4 Y5 R, [# J: R9 n
  951. ; http://php.net/filter.default; h/ x* b+ ~; c9 x
  952. ;filter.default = unsafe_raw
    * m' \& R* _  e
  953. 0 O. y8 j/ M1 t/ O$ q& T
  954. ; http://php.net/filter.default-flags
    1 `, t$ G/ E" j+ q+ L
  955. ;filter.default_flags =5 a& M$ O" `2 j  `

  956. " Q! f2 s8 c, s$ [
  957. [iconv]
    1 Y/ K7 n8 Y+ u( Z" E
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # r) s4 {: W2 c0 W$ x
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' j$ ^: e0 L# ]* G
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding8 N2 z& u3 [$ y* g$ \! I8 o' R( e
  961. ;iconv.input_encoding =
    4 [# V( |8 f% f5 @+ E; e

  962. 1 N5 ~% s) v& L6 Y
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & ?$ K$ ^! d6 o* S
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 m( T/ \, J. X  x$ u* x% Y( v  x8 H
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 t) O# }  G0 V( B* K- y+ m4 U
  966. ;iconv.internal_encoding =
    ( i* s2 A. T! u0 H* o: l- D* m

  967. ' }! l" |$ j9 J5 }5 ^( s- K* L
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 o$ Q. g$ z. u, w: I3 f+ b5 l4 l
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) y, G( ?& }2 A% ^0 v2 _% z
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 h5 R) @# J0 t) c; c9 T
  971. ; To use an output encoding conversion, iconv's output handler must be set' p9 L: r; ~" z3 ?& [$ U
  972. ; otherwise output encoding conversion cannot be performed.* D) x6 l0 R. m& e* Q
  973. ;iconv.output_encoding =: i5 S. Z( S6 z6 k; x' y& _
  974. $ v+ e0 V& ^$ f
  975. [intl]9 x; }; t* L8 R) y5 @/ H
  976. ;intl.default_locale =
    ( z1 |) P$ n, I8 _1 [6 x1 }
  977. ; This directive allows you to produce PHP errors when some error% c" S: a( s3 t5 e& v/ |6 Q5 M1 v
  978. ; happens within intl functions. The value is the level of the error produced.; _- [# a8 Z7 i3 `
  979. ; Default is 0, which does not produce any errors.
    " G; g0 c/ W) b, n) z# s' w
  980. ;intl.error_level = E_WARNING' @0 o( q- r9 v, h/ w: [7 e
  981. ;intl.use_exceptions = 0
    3 }5 p5 |' T" }* y$ ^

  982. ' o6 e4 g5 i9 {8 r6 F
  983. [sqlite3]
    ; W' P, W- N4 q3 {4 v
  984. ;sqlite3.extension_dir =
    8 V5 M$ R3 a8 o4 v- K4 b- b

  985. 3 g2 O, q  d+ b: u( |( @! D
  986. [Pcre]
    ) e3 D) k" ~5 N7 q' M* u
  987. ;PCRE library backtracking limit.
    ' o$ E% D: P/ n0 |/ i
  988. ; http://php.net/pcre.backtrack-limit0 n/ T1 p. S3 I& N; `
  989. ;pcre.backtrack_limit=1000001 ~2 P+ a2 X. E: q( v* Y- _

  990. 0 J" h& F2 ?  g) Y
  991. ;PCRE library recursion limit.
    8 u; f4 x; g: _- _: C* z
  992. ;Please note that if you set this value to a high number you may consume all
    . D7 V+ S) b! b  a8 U
  993. ;the available process stack and eventually crash PHP (due to reaching the* \0 h: B( @8 ^, `$ N
  994. ;stack size limit imposed by the Operating System).' {% h! e' p  z8 ]* R
  995. ; http://php.net/pcre.recursion-limit+ P/ ^& F. w% v# o8 ~& ^8 ^
  996. ;pcre.recursion_limit=100000
    ; M0 O* Q. Q5 \& [. k
  997. ; u/ r0 H$ j0 u7 V/ o1 _# A
  998. [Pdo]+ K# @4 \  w( b6 ?4 m6 W, L; n
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") O. l  N" [0 r
  1000. ; http://php.net/pdo-odbc.connection-pooling
    # S$ x' Z7 u3 W) O
  1001. ;pdo_odbc.connection_pooling=strict
    9 d: E* X% p) B
  1002. 4 S# W8 c6 U4 h
  1003. ;pdo_odbc.db2_instance_name
    * X% j8 g' e- X# Z5 K5 ~, ^, {
  1004.   I, \9 P; W% [- W$ M; i
  1005. [Pdo_mysql]; C: ^! A" ?5 _( D9 U% Z$ g  m
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " s( o0 Y: z  X7 o% h. M
  1007. ; http://php.net/pdo_mysql.cache_size1 Y% R1 {  a8 ~) _4 x  u3 y* S  u
  1008. pdo_mysql.cache_size = 20002 x, y4 w5 Z' U2 n) @/ C

  1009. * B5 p+ U& R& X; ?, z8 Z
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + f# ~3 _: E! G/ U9 i) A% J; s% N
  1011. ; MySQL defaults.# G5 R  T, e0 b8 V
  1012. ; http://php.net/pdo_mysql.default-socket
    5 @7 I# W1 [( k" `# |# V% v
  1013. pdo_mysql.default_socket=3 W- N! U) S0 S* p) b. P; c3 v

  1014. . N3 }. S0 a' F  Y/ o8 t/ {
  1015. [Phar]- M7 x0 i! K8 f: p& j3 Q
  1016. ; http://php.net/phar.readonly
    ) H2 z9 Q, k- Q0 f6 e0 E' k
  1017. ;phar.readonly = On+ H5 |# C# |: ]

  1018. 2 Y' ~$ I1 h( U9 N  v
  1019. ; http://php.net/phar.require-hash8 r# j* u" @  H7 ]) I" J
  1020. ;phar.require_hash = On
    : I- s7 U2 I  G( [3 j9 Y/ u; N

  1021. # u; z; X3 C7 ?$ U, C. m
  1022. ;phar.cache_list =  ^2 P+ y( I- t' y3 _0 E, a; g

  1023. , Y1 p  m3 j' F0 G7 d( H* G" k* ~
  1024. [mail function]
    $ r  F$ j  R# }% {  V( ]8 t
  1025. ; For Win32 only.7 _, {: O0 d$ Q! b. u0 ]; G9 o
  1026. ; http://php.net/smtp8 W1 C8 P1 I8 l- J' x# r& y
  1027. SMTP = localhost  g' Y5 r( ^# A( m% N
  1028. ; http://php.net/smtp-port/ x& b7 ]( g1 L7 n% i+ @
  1029. smtp_port = 255 }" i  @! a) M5 y" t
  1030. + R, E4 I5 k- b& n: S* Y& E+ t6 H9 b
  1031. ; For Win32 only.8 [8 ~; Y* N- U5 w+ e; n! r8 d
  1032. ; http://php.net/sendmail-from7 \; w$ T# }! `% `9 }( K# J
  1033. ;sendmail_from = me@example.com2 S' U4 G# C4 g6 Z, w6 _: S  D& D$ p

  1034. + _7 W* r' e) t+ [! T3 u
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / W" [. s+ X0 U2 E4 k5 ^! g
  1036. ; http://php.net/sendmail-path0 k/ [6 A" k* b' A9 U
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    * t, \. u- r1 f5 p

  1038. $ [# N/ b% Z2 a; w
  1039. ; Force the addition of the specified parameters to be passed as extra parameters8 j& s. V& o1 x; Q/ T
  1040. ; to the sendmail binary. These parameters will always replace the value of6 x$ {. @' |/ o# e7 ^
  1041. ; the 5th parameter to mail().
    9 X* [. s  G' z6 l' A
  1042. ;mail.force_extra_parameters =
    8 f$ k7 m2 b8 U' W6 _
  1043. ( q' o* t: K8 y) a0 ]& W7 T& V% n
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    0 Y0 d% S3 j( C" \# o' w
  1045. mail.add_x_header = On
    . m6 f  G. }2 F
  1046. 8 ~1 X5 P( i8 M: l
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    2 P  c2 `; }7 a/ g$ q0 \
  1048. ; the full path of the script, line number, To address and headers.
    # Q; K7 @4 I" X9 Y9 i
  1049. ;mail.log =; o& Y, s$ @9 ^3 `9 e0 j0 i" B" y6 \
  1050. ; Log mail to syslog (Event Log on Windows).6 M7 ?( Y' L9 d: W4 I
  1051. ;mail.log = syslog( G8 R  j' J7 ?+ h+ [

  1052. - @% O, X: H& a- L% Y
  1053. [SQL]
    6 ]9 b: ^, o/ }' v2 B1 _" k& _
  1054. ; http://php.net/sql.safe-mode) i! V& w) c* a3 }
  1055. sql.safe_mode = Off3 D' r" X8 p1 |
  1056. 6 v) u9 M2 P9 d- P# x( R: L7 c% y/ a
  1057. [ODBC]
    # M) a, u; I6 S
  1058. ; http://php.net/odbc.default-db$ W  @4 h% [" W/ t8 ^! `
  1059. ;odbc.default_db    =  Not yet implemented' H! {3 f' u/ n
  1060. % w2 f$ N4 _9 c7 V0 g2 N4 F( W
  1061. ; http://php.net/odbc.default-user
    4 Q1 ~- [2 D$ ~+ [9 `: I8 k
  1062. ;odbc.default_user  =  Not yet implemented; z. a- Z' E* V: }- W/ h: J

  1063. / d# E" [, d) U/ L; \  B
  1064. ; http://php.net/odbc.default-pw
    # n+ d' O' {  M: O8 L, R, k; m3 q; ]
  1065. ;odbc.default_pw    =  Not yet implemented7 Z2 F8 ~( J! H- p/ @
  1066. " {4 F" _/ ~3 N/ W- [
  1067. ; Controls the ODBC cursor model.
    * i# h6 p- @" E2 l* Z
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ' [) ]3 p' M4 G, O5 i
  1069. ;odbc.default_cursortype0 q# N/ [, W9 i9 m, ^& U8 P5 U/ K

  1070. ) s( m/ e8 N* e8 ]: \
  1071. ; Allow or prevent persistent links.
    - n, k' {6 b% H9 Y7 p1 B
  1072. ; http://php.net/odbc.allow-persistent. i6 q5 z: d- ]; u$ g
  1073. odbc.allow_persistent = On
    & F$ ~  ~" t; c- L
  1074. 7 e; P9 J1 k% f7 x" v
  1075. ; Check that a connection is still valid before reuse.; `$ o" Y% R3 Q4 l$ W" n
  1076. ; http://php.net/odbc.check-persistent
    , J  Q) }# x! P  V. V0 ]  @
  1077. odbc.check_persistent = On
    5 `7 e; p* ]9 b& a

  1078. ; x7 `5 p& W" }! O
  1079. ; Maximum number of persistent links.  -1 means no limit.- r3 u1 i% H3 U* @
  1080. ; http://php.net/odbc.max-persistent
    & n: H) r9 `; J+ M" U0 x
  1081. odbc.max_persistent = -1- W2 X  S: p& h
  1082. % s# o4 X+ K3 Y8 V- {: \
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 ?4 g7 V* a6 z1 |0 u# E" u# Y
  1084. ; http://php.net/odbc.max-links
    & B* U2 a! P$ X9 G
  1085. odbc.max_links = -1
    2 f) O" m; b5 D9 y

  1086. ( q/ G  [6 Z' s9 b4 C9 P
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means1 ^9 |& t" y1 C' H: M4 L
  1088. ; passthru.9 r1 T) s1 B- X# H! Q2 v
  1089. ; http://php.net/odbc.defaultlrl
    % ~, x& c0 C* E# I3 l5 [) P. `. D
  1090. odbc.defaultlrl = 4096
    # Q6 `6 D6 \. ~# n
  1091. & D  t$ A% K. e. S5 @
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.# q, f7 y" n7 s
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, s  C% }+ r( [/ I  L* j, m
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode3 R9 p  Q0 X4 D2 a2 v
  1095. ; http://php.net/odbc.defaultbinmode
    ) j9 L7 X# L7 x, l, S6 z' S
  1096. odbc.defaultbinmode = 1
    * f# g1 x7 O3 Z2 P

  1097. , u4 y& Z2 L5 `3 H$ B& _' e5 L3 ]
  1098. ;birdstep.max_links = -1
    / y: ?1 Y3 E" O* Z
  1099. 8 w- q3 p/ l1 P+ k/ Y) \# l
  1100. [Interbase]
    2 w% O5 i/ R& U: F$ M* N5 \
  1101. ; Allow or prevent persistent links.
    - ^0 _3 X; z+ c
  1102. ibase.allow_persistent = 1
    + ?$ X0 v: Y7 X! }
  1103. 4 Q' y+ Y6 S( o& J# r. r: ~
  1104. ; Maximum number of persistent links.  -1 means no limit.4 |) K) X) \, k
  1105. ibase.max_persistent = -1+ w7 y! Q. S+ e: V% A

  1106. ! [2 F: L0 O% [
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 F+ V' Z8 C/ `0 V+ t4 s
  1108. ibase.max_links = -14 i, }. P' n) B/ e% \

  1109. 6 `0 h( j* o2 R1 G; f' J  e
  1110. ; Default database name for ibase_connect()./ g+ L, \" Z* R; [, T- Z  Y
  1111. ;ibase.default_db =& D' O. _& u, Y" v$ v$ D8 e# K1 q

  1112. : }- S7 u) P. J  ?5 b9 |
  1113. ; Default username for ibase_connect().
    1 S2 x$ G3 j* P: A/ a7 U
  1114. ;ibase.default_user =
    % _# x% n/ U: g# e2 U

  1115. " L+ ~- V, [* Z& Z2 y
  1116. ; Default password for ibase_connect().( U/ X6 m! }$ Y/ y& x+ o
  1117. ;ibase.default_password =+ Y' E7 Z2 e  U1 n1 z
  1118. - C$ H. P, z# d9 C! a. v
  1119. ; Default charset for ibase_connect().  P2 b, h  C" X8 k" c
  1120. ;ibase.default_charset =
    - S* b5 V7 y! ~
  1121. ! R1 X7 Y4 A" v
  1122. ; Default timestamp format.% ^8 q% e. b) V, q& G9 @
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"' \5 n5 }& a) Y/ P
  1124. " K, K/ j7 E; i/ n6 u4 P4 E2 T
  1125. ; Default date format.
    & P, b. i% Q7 Y: I
  1126. ibase.dateformat = "%Y-%m-%d"" @  U$ B7 v  V' T* p, P. L3 C; x, K
  1127. ! y+ D6 {% K% a' C  O, v- ?
  1128. ; Default time format.  y- v, C( {0 u
  1129. ibase.timeformat = "%H:%M:%S"+ |" u. a, k: `' {2 }

  1130. : {( C) \  p& E/ z! n
  1131. [MySQL]# I7 J1 |; Y+ a  o
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' j' m6 g2 G- \# ?" k; k% L
  1133. ; http://php.net/mysql.allow_local_infile) p- Y+ u* L4 f; ^
  1134. mysql.allow_local_infile = On
    3 w) m' M( O. ^( J
  1135. % o% i2 r. \; d, b+ l
  1136. ; Allow or prevent persistent links.; F( F8 U+ N& L0 v
  1137. ; http://php.net/mysql.allow-persistent: a- S  \; k' h+ n9 A) O6 D7 ^% a9 y) ~0 l
  1138. mysql.allow_persistent = On
    3 M. X0 a0 j+ N5 q! ?

  1139. 7 @9 [' A' |8 S  _; ~  k0 \
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! u9 T5 b/ c9 H0 @! e! H4 Y, l
  1141. ; http://php.net/mysql.cache_size
    " h% I4 K. v% U
  1142. mysql.cache_size = 2000
    + a, `7 A: c: E/ v6 u# ]  F
  1143. 1 M3 T/ t1 Y; x' @* H" q9 @2 t
  1144. ; Maximum number of persistent links.  -1 means no limit.
    % k" e. v6 \" `! _3 c
  1145. ; http://php.net/mysql.max-persistent$ Z9 v0 T. p3 M- `9 s
  1146. mysql.max_persistent = -1$ [& U0 x2 L! W: ^4 y% H  `

  1147. 1 \* T  t/ E6 }4 t( O7 k. \5 C. S: |
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + a  q+ i8 P* F
  1149. ; http://php.net/mysql.max-links
    * M9 @- C+ k9 ~
  1150. mysql.max_links = -1) Q  f2 d1 w- x9 ~$ M! r$ P3 G

  1151. , k; v0 i+ A- q- |+ i
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use. o/ [. c" i# L$ Z% R! U
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* y/ b% g- P& ~/ b0 t; \! L
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look5 y( U1 C: W* _5 o" X$ w
  1155. ; at MYSQL_PORT.
    8 E( w+ k4 W' U1 v1 Z( U0 B) w
  1156. ; http://php.net/mysql.default-port
      m: q6 }! g/ o. Z+ d% D/ n
  1157. mysql.default_port =
    ; R. R/ k; ]4 \& W
  1158. 3 D8 T3 x# r' o% B
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / P2 y2 U3 Q, B9 h
  1160. ; MySQL defaults.
    " _2 i! ?! h! ^8 t" s2 b9 M( c
  1161. ; http://php.net/mysql.default-socket: p) _1 M  Y7 X' a3 @
  1162. mysql.default_socket =
    + }' `* @% L0 W- g

  1163. . G5 g9 S& v4 m% G' v9 h
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).4 |: V, p/ T0 ~+ }# d( z! b% h0 J! u
  1165. ; http://php.net/mysql.default-host0 @+ ]0 N' @) l8 U/ j- ]0 H
  1166. mysql.default_host =
    $ U- |5 p9 ]6 E) d! B- `: {6 S

  1167. : A* [/ ^0 w& o! b8 V* F
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & `& ]% |4 t; e* b, M
  1169. ; http://php.net/mysql.default-user. ~: ~6 S; X' D& b
  1170. mysql.default_user =
    ) L$ w$ U( v) j

  1171. 6 v: [! U2 c( z. a; N1 z/ O
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    . D$ k0 j/ \3 U+ |) q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    : [! K: H4 @* u0 r
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")* O( f- G8 o, j% B2 T. R  A
  1175. ; and reveal this password!  And of course, any users with read access to this2 l6 `  n$ n& t7 B
  1176. ; file will be able to reveal the password as well.( k9 J/ v0 f7 c  l. ?4 l
  1177. ; http://php.net/mysql.default-password/ U: t) W* v* [: t# l) r8 R0 d- l: [
  1178. mysql.default_password =+ X% P7 N- l( Q, `
  1179. # H" E/ i5 U# B( j
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit' {$ L- r% K3 h% Y9 H
  1181. ; http://php.net/mysql.connect-timeout
    : C! `  u0 f" M$ p
  1182. mysql.connect_timeout = 60
    3 A* m5 ^7 C+ G4 R
  1183. ' H/ T& D* {1 Z8 K6 o9 O: |
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    9 \3 P) W, ?8 c$ F
  1185. ; SQL-Errors will be displayed.
    % g0 K, }1 Y; H; g; M: @# }
  1186. ; http://php.net/mysql.trace-mode
    . w/ c! o) r: M
  1187. mysql.trace_mode = Off6 _. p! _+ i5 O+ \
  1188. 8 Q# X, U, u8 s6 d
  1189. [MySQLi]
    5 D. P! Z: f7 y7 o

  1190. ( K0 U7 ^# Z3 N$ G
  1191. ; Maximum number of persistent links.  -1 means no limit.: g% J: K% d8 V! I. w# B
  1192. ; http://php.net/mysqli.max-persistent2 W0 a6 Q2 S! o  L* X- K
  1193. mysqli.max_persistent = -15 [* R( a( x3 `! q' J+ H

  1194. . B: ]- U( g( e+ @3 N0 U
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) _: N- Y" L1 H
  1196. ; http://php.net/mysqli.allow_local_infile2 G" B( L. Y6 ^3 J9 ?% Z7 g" M
  1197. ;mysqli.allow_local_infile = On" ?4 o5 d8 i2 B6 |
  1198. 1 {) A' f) f, ]% p
  1199. ; Allow or prevent persistent links." d2 E$ }7 N! [: b
  1200. ; http://php.net/mysqli.allow-persistent- E3 ]& I- r( y2 ?
  1201. mysqli.allow_persistent = On8 U, `( S4 w0 h: P0 t
  1202. 7 F) a5 Q% n! y2 O  i3 p% M
  1203. ; Maximum number of links.  -1 means no limit.
    3 d5 a5 X; N9 ?; }
  1204. ; http://php.net/mysqli.max-links
    ( \  a: G+ A' W) [* M1 Q
  1205. mysqli.max_links = -15 x8 C$ e8 Y) O1 R. Z

  1206. . C3 O) J: `" T
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache; G/ }$ v$ y% p9 D! f6 z" o* ~: s- X
  1208. ; http://php.net/mysqli.cache_size& y1 H" N- m% r. R4 a
  1209. mysqli.cache_size = 2000
    4 J5 _& u5 o1 T6 j
  1210. % J2 S" j- Q5 [7 t8 ~: f
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    3 A0 l# A( \# K: _' P5 j
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the5 u( c% i6 D. j
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. Q+ j* v5 {! ?" F8 w; ?
  1214. ; at MYSQL_PORT." K5 @1 Z0 @- t& s
  1215. ; http://php.net/mysqli.default-port* m$ T/ X0 B: n7 v- F
  1216. mysqli.default_port = 3306) K- l- a) b9 K
  1217. % D9 W6 V4 @2 B0 p# H
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 y4 L' e( n* a, Q% a
  1219. ; MySQL defaults.
    6 L# Y7 Z6 C- W3 W: U2 M
  1220. ; http://php.net/mysqli.default-socket6 E( s( s# @+ v
  1221. mysqli.default_socket =
    1 {7 M/ z. ?& J* C0 _: I8 E
  1222. ( E# d; P! v" m3 L
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).( K* [( K2 t  v4 T- I  q- t" T/ V& J
  1224. ; http://php.net/mysqli.default-host* g+ L) ~$ t% e6 c# a
  1225. mysqli.default_host =
      ~- X, |5 k$ a8 t8 |7 @, {

  1226. - H- Y% U5 u2 M' Q- H7 |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 B& c: ?/ ?& Z! |( |/ s
  1228. ; http://php.net/mysqli.default-user5 o# Q6 t: D0 h6 `$ X/ m
  1229. mysqli.default_user =8 l" k; l8 F7 i& U
  1230. " @+ `& N, v. y" V: |* i  e/ l
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    # h- z0 i* [6 f3 l4 O" X2 u( ^# Z  V* n
  1232. ; Note that this is generally a *bad* idea to store passwords in this file., _( p# V+ F5 K# |8 Q8 [4 M" d! d
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ! k) ~& Z* {9 S3 i' P# D! a
  1234. ; and reveal this password!  And of course, any users with read access to this
    ' {0 f- s# U" Y3 s6 |3 Y
  1235. ; file will be able to reveal the password as well.3 h. \5 a  Y+ M6 C: G
  1236. ; http://php.net/mysqli.default-pw
    " A) Y  |( C  ^
  1237. mysqli.default_pw =
    * z; A) R$ J( B3 \. k
  1238. " t/ f! m5 _( d6 V# O% J8 h, _# s
  1239. ; Allow or prevent reconnect0 f" f" c! o* W0 |9 G! g3 z
  1240. mysqli.reconnect = Off
    & \/ ~2 O) P! n8 e3 p6 [6 Q$ d' j
  1241.   s7 r& o; Q- b
  1242. [mysqlnd]
    - Z7 O9 M+ o2 c. x1 O
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be" ?( q8 Q( g1 d  W- j
  1244. ; used to tune and monitor MySQL operations.0 J- g0 f% [' J  F
  1245. ; http://php.net/mysqlnd.collect_statistics+ ^7 K, y: u: d, q2 r
  1246. mysqlnd.collect_statistics = On* g/ m0 F8 o, U; ]) ^% i, d
  1247. , S3 ~/ i+ n( R$ p( K2 e" [
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    * ^; @7 B; `0 d& [
  1249. ; used to tune and monitor MySQL operations.
    3 ]- U1 s* I! Q9 E/ x; _- l
  1250. ; http://php.net/mysqlnd.collect_memory_statistics/ K9 c  J( g4 i4 K$ z  K
  1251. mysqlnd.collect_memory_statistics = Off
    5 b. E% o9 G6 G6 I) T7 E
  1252. ; U& Z6 M' e4 t$ u
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    : `8 g$ v- L7 y( h3 Y
  1254. ; file.
    9 {3 _! {. y" G$ h+ w
  1255. ; http://php.net/mysqlnd.debug7 R5 a! f+ S* g
  1256. ;mysqlnd.debug =
    & n; T+ E1 l$ |: q: I5 k- @
  1257. * d- ^5 N" ~4 ]+ R# e
  1258. ; Defines which queries will be logged.
    5 J+ n( }/ l5 D3 w  Q' h: f4 j6 b
  1259. ; http://php.net/mysqlnd.log_mask9 y$ i- Z& ?; d' @4 K* d3 ?) e, E
  1260. ;mysqlnd.log_mask = 0
    ( i7 N6 e2 v3 x

  1261. 8 l5 C5 U* A( P7 Y/ e' W
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    5 i5 {$ n" f+ c4 @- [' x) W
  1263. ; http://php.net/mysqlnd.mempool_default_size
    " D, P$ n, B1 p! d6 M
  1264. ;mysqlnd.mempool_default_size = 16000/ s# ]* H$ g5 d* H
  1265. 3 ]+ u# P- Z% O% s; K1 [# Z
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 C! \9 _4 C8 v; G
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    7 w2 R: Y" G$ [! ]+ |
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    & n9 Z1 E; w/ h% s) V% R4 o7 c& y- D

  1269. ! U( w( E/ P$ C, \0 P1 \9 r; D
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    : F- T. C! d5 z& M
  1271. ; bytes.
    , c4 J7 [. e( q7 L; g
  1272. ; http://php.net/mysqlnd.net_read_buffer_size6 O! }3 p; c9 }! p9 v
  1273. ;mysqlnd.net_read_buffer_size = 32768
    . B+ C' E5 L8 P" h3 V5 D; X

  1274. , o( `2 b. X0 Y# @
  1275. ; Timeout for network requests in seconds.+ C4 C% f* j- L& l2 f: x
  1276. ; http://php.net/mysqlnd.net_read_timeout7 {0 w) X- s: i3 I- ]# P0 j; }
  1277. ;mysqlnd.net_read_timeout = 31536000/ ~3 o. |& ]" r! B( i
  1278. ; g- a' n5 Y1 d. @8 j
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ) U3 O$ \* H+ n) ~3 |9 Q
  1280. ; key.) z" q* W) d( k( i; V
  1281. ; http://php.net/mysqlnd.sha256_server_public_key$ Z& ?, u* U8 W; Z
  1282. ;mysqlnd.sha256_server_public_key =
    1 _! V) b' v6 a, E( C3 X. r

  1283. * b2 O  P7 F2 f/ ^* f
  1284. [OCI8]
    ' `0 {, B1 K2 @  f3 W( W: S3 H
  1285. ) n% @  d, ^+ O7 ?& Y( I: |
  1286. ; Connection: Enables privileged connections using external, k6 G  |+ P5 b7 C( R5 O9 ^' k
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ' u- ^# M4 U3 I1 ]3 i
  1288. ; http://php.net/oci8.privileged-connect
    + q$ W$ w; b8 ?8 k/ y1 Y- |
  1289. ;oci8.privileged_connect = Off  u% ~+ x8 F0 O

  1290.   |/ k; t1 y2 x0 z/ ?6 x1 {. L
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    8 x) y2 f! w% o& B" r4 ~
  1292. ; process. Using -1 means no limit.' |5 C2 p3 e( z8 ]! v0 N  y
  1293. ; http://php.net/oci8.max-persistent- l/ M* S( Z$ F3 ^
  1294. ;oci8.max_persistent = -1
    4 w! U% a* h0 @5 A4 q3 t$ X# x
  1295. % _5 g" @8 P2 J% L4 a: f4 k
  1296. ; Connection: The maximum number of seconds a process is allowed to! A5 {5 x3 T% s
  1297. ; maintain an idle persistent connection. Using -1 means idle
    + g  g3 Q4 q& B- i# M) U
  1298. ; persistent connections will be maintained forever.
    4 c) S' B) H; S' j! h
  1299. ; http://php.net/oci8.persistent-timeout
    % M% ^" p' J# X  ^3 H5 K1 r2 b8 w
  1300. ;oci8.persistent_timeout = -1
    0 ^; n# s' i* O4 o

  1301. ; \# m( N; m! M; B. N
  1302. ; Connection: The number of seconds that must pass before issuing a, \" P7 Q) i- S( H+ `' B9 j! M( b
  1303. ; ping during oci_pconnect() to check the connection validity. When6 L! w8 o# \5 l( I, C
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    - t9 y. L6 l& R
  1305. ; pings completely.& j+ S7 Q" H% _% Y
  1306. ; http://php.net/oci8.ping-interval3 Y; s9 T. _$ a
  1307. ;oci8.ping_interval = 603 _& w! Z6 v3 [* m
  1308. : V# c2 `' D' Q" K; P% b* L4 B
  1309. ; Connection: Set this to a user chosen connection class to be used* K& q7 F* t/ S0 m$ X# {4 Q- M
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    5 h% H0 E- t0 u' B, C" q" ^. A
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    5 |! ]6 M0 h& y4 d
  1312. ; the same string for all web servers running the same application,0 z  Y3 f  R% Z/ t, [! e* U5 d
  1313. ; the database pool must be configured, and the connection string must. h; G5 Q: o' g/ }0 |5 X
  1314. ; specify to use a pooled server.& h8 O! g, C; x" t; o9 S
  1315. ;oci8.connection_class =; a' w8 j( j" K1 R0 n) s3 B8 j

  1316. : x; {, K: O8 A% e6 V+ P6 v7 r  n
  1317. ; High Availability: Using On lets PHP receive Fast Application
    , M: ^% b% m, r; \: S
  1318. ; Notification (FAN) events generated when a database node fails. The& K1 E' f( o4 K! e
  1319. ; database must also be configured to post FAN events.
    - J0 f0 |# F; @
  1320. ;oci8.events = Off
    ( l  J' M# X# W- i' [

  1321. 4 p2 c7 s8 ]4 {8 W. q2 ~( [$ B; j' c0 r
  1322. ; Tuning: This option enables statement caching, and specifies how
    . w$ n/ c/ _5 V/ a; _+ J# o- k" S
  1323. ; many statements to cache. Using 0 disables statement caching.; @3 _! u3 b# X, C" S5 k2 B
  1324. ; http://php.net/oci8.statement-cache-size
      [+ Z) n, C& H+ J
  1325. ;oci8.statement_cache_size = 200 M5 J; D& A8 w3 z4 F& Y

  1326. 3 T  r6 ~. O/ o# r
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    6 e' _( V/ K# w7 Q- I3 K
  1328. ; rows that will be fetched automatically after statement execution.# q  Y! D/ {& x  Z# N
  1329. ; http://php.net/oci8.default-prefetch
    - Q- t2 R, [7 ]6 w
  1330. ;oci8.default_prefetch = 100  @. l) o8 [9 X5 B/ N

  1331. - l8 Z4 N8 B) l( D2 x3 _
  1332. ; Compatibility. Using On means oci_close() will not close" c% _- t: W3 `' X7 I, X
  1333. ; oci_connect() and oci_new_connect() connections.
      O! D5 u" x* h9 m- E) h  s( j3 P8 X1 F
  1334. ; http://php.net/oci8.old-oci-close-semantics2 j  j5 O8 }9 k- }
  1335. ;oci8.old_oci_close_semantics = Off) z% i8 c) U& ~) O% A! k4 W
  1336. 0 h) {9 h3 E2 H& f. g- \4 q. H; X. o8 j
  1337. [PostgreSQL]+ s3 ~, v* Q4 }2 C
  1338. ; Allow or prevent persistent links.
    6 W, O4 V- e9 R! M2 V0 W( P" d# Z
  1339. ; http://php.net/pgsql.allow-persistent
    . ~3 i  R0 h0 I+ B6 q+ R5 e
  1340. pgsql.allow_persistent = On
    ; x1 E4 C  x% e# i
  1341. 1 U$ E" d. |2 H! r* b+ P8 `" b
  1342. ; Detect broken persistent links always with pg_pconnect().5 U! Q! `1 c  j& }7 x
  1343. ; Auto reset feature requires a little overheads.
    * U% v* P) z  l% c3 @" e
  1344. ; http://php.net/pgsql.auto-reset-persistent- j7 G& M* R! J
  1345. pgsql.auto_reset_persistent = Off3 s6 ]3 D6 Z6 ?! ]# I
  1346. 4 F* D5 J. O* Q# A  \# P3 B
  1347. ; Maximum number of persistent links.  -1 means no limit.
    4 ^# U. E/ E# M/ i
  1348. ; http://php.net/pgsql.max-persistent& E  Y  p9 H- S& u4 r$ j
  1349. pgsql.max_persistent = -1
    3 b8 q# k0 L4 X5 |" I! i( ]

  1350. 1 c; `' p4 c( t6 s  i, ?# `8 c
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit." A& V6 C7 c) p2 j; X( t
  1352. ; http://php.net/pgsql.max-links5 [. g' @/ R( C; X" }" w
  1353. pgsql.max_links = -10 \# N  U, m% i. w2 Y

  1354. / C" o1 w! N; d( k
  1355. ; Ignore PostgreSQL backends Notice message or not.0 i$ {$ `" a/ z; c& e1 E
  1356. ; Notice message logging require a little overheads.
    2 r4 A! l) Y; T* H: O1 m
  1357. ; http://php.net/pgsql.ignore-notice: v2 K1 d! M) m3 W
  1358. pgsql.ignore_notice = 0
    " O' H* N+ I$ @/ a9 E  M

  1359. 5 r2 l/ g9 P( ^( p* j& z: X
  1360. ; Log PostgreSQL backends Notice message or not.% a$ b! P1 ~# P
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' |; g  N+ O+ ?0 }% D6 b4 h
  1362. ; http://php.net/pgsql.log-notice  |' g, L! G% T1 B
  1363. pgsql.log_notice = 0# A% _5 v, t( n( t1 j* ?7 B

  1364. . s3 u1 ^$ A9 I7 y9 |2 f/ E
  1365. [Sybase-CT]* K' X9 A5 B! A9 W( O
  1366. ; Allow or prevent persistent links.' ^7 o: f' Q# s% l; B
  1367. ; http://php.net/sybct.allow-persistent4 \: G8 o& i8 y8 W1 d
  1368. sybct.allow_persistent = On% f+ @% K4 E# v7 ~% H% n& x

  1369. 8 x5 a$ ]; U8 `- I
  1370. ; Maximum number of persistent links.  -1 means no limit.+ X- D' S7 w4 v: Y' ?
  1371. ; http://php.net/sybct.max-persistent
    : J* p3 {; X, I$ [* j5 W
  1372. sybct.max_persistent = -1
    % ]& g  m; I- ]

  1373. " g3 R# r% k$ \; B0 b
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' h- f: r0 L+ t0 M
  1375. ; http://php.net/sybct.max-links
    + N6 W$ n/ o' c
  1376. sybct.max_links = -1
    + ]- {. z5 k) d2 i4 v& X4 M+ k
  1377. # k) i8 m2 X/ p
  1378. ; Minimum server message severity to display.6 M$ \2 ~6 G' @5 ?
  1379. ; http://php.net/sybct.min-server-severity
    % K# u0 Y5 k5 k( Y/ ]1 G/ b8 f
  1380. sybct.min_server_severity = 10
    ' g7 P8 P2 ^# u, d
  1381. / H2 j5 _. P8 ^
  1382. ; Minimum client message severity to display.
    ; c( e- ~% I3 P
  1383. ; http://php.net/sybct.min-client-severity
    , }) e: D' C7 S. p, _- Q8 _; E8 ^; z2 K5 w
  1384. sybct.min_client_severity = 10% E2 S  I6 P: ^0 \9 I
  1385. 6 L( K2 A3 m0 ^8 L# v& H8 z
  1386. ; Set per-context timeout. L4 r+ r4 U- F% F
  1387. ; http://php.net/sybct.timeout9 U( p5 c9 {9 U, ^/ A
  1388. ;sybct.timeout=* Q. T5 t3 ]" t; W0 n8 `  w+ d8 d# }

  1389. 3 Z" X6 Z5 V, F. k3 |
  1390. ;sybct.packet_size6 R2 j3 d; l- x

  1391. : S- q0 a7 p2 m( X
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.3 `0 x8 J* X" D
  1393. ; Default: one minute
    - w) `* a  _  a% o
  1394. ;sybct.login_timeout=3 X( I$ C+ G$ Z4 R! A

  1395. ' Y% b; `0 U" |
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.$ O# ]5 I0 y+ f; s
  1397. ; Default: none  q  K. \5 S! n2 w8 R/ z
  1398. ;sybct.hostname=
    " }+ V3 C& t5 a/ w! q/ _# S8 G

  1399. 7 F( v+ M8 o  c" @# f0 `
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".; `: o- i6 V5 m2 S
  1401. ; Default: 0
    ' G% @3 O! ?5 s( [' p
  1402. ;sybct.deadlock_retry_count=0 \' F8 D1 i- N8 I& b! f# f

  1403. ' ]/ s5 K& _% s% O, b
  1404. [bcmath]  S, e) T; k; _$ s4 E9 o. a: B( V# R
  1405. ; Number of decimal digits for all bcmath functions.
    3 R8 k4 [  |, f$ n  Q% r
  1406. ; http://php.net/bcmath.scale" P* p& R( V( ^  U! M+ H: m3 D
  1407. bcmath.scale = 0+ N* C4 Z& [8 q) z! n7 U2 }

  1408. - L% p$ Y/ x2 U% S) K, `
  1409. [browscap]
    5 T$ {0 K* o- G8 G& P6 w8 P
  1410. ; http://php.net/browscap; P0 j) F' N3 n* \. N! E3 B7 u
  1411. ;browscap = extra/browscap.ini0 @7 D0 M% a2 m2 ?

  1412. # c) c% \5 }& r$ u% v9 s+ y
  1413. [Session]
    , C4 K5 r7 T$ T, C: X2 G% c& M
  1414. ; Handler used to store/retrieve data.1 u0 ?' M2 L' y) @4 U7 M
  1415. ; http://php.net/session.save-handler
    1 J) f# ^& i2 d7 V
  1416. session.save_handler = files* b" Q& X3 ?5 N+ n7 e" ~
  1417. - x/ S% \" g. o* y
  1418. ; Argument passed to save_handler.  In the case of files, this is the path- o/ L' a$ v/ C
  1419. ; where data files are stored. Note: Windows users have to change this
    ! X" ], a8 c4 y" x5 ^+ u5 m2 l
  1420. ; variable in order to use PHP's session functions.
    1 E" c  i7 Z5 o& m, N& W
  1421. ;
    3 _# r) h  M# _, O
  1422. ; The path can be defined as:( Y* A5 o3 }1 G$ h
  1423. ;( h1 x/ |- ^, O) ]- @2 [
  1424. ;     session.save_path = "N;/path"
    * c- t/ a2 ]5 [5 t; Y5 ~4 T: ?  G" P
  1425. ;. g2 r7 z4 \) b1 u; Z' o# _+ e
  1426. ; where N is an integer.  Instead of storing all the session files in7 e# x& s3 D- J/ s6 l
  1427. ; /path, what this will do is use subdirectories N-levels deep, and0 u3 r# q/ O6 N9 {
  1428. ; store the session data in those directories.  This is useful if, U0 m' K. ^4 \/ ~2 y$ @  C  C
  1429. ; your OS has problems with many files in one directory, and is( |- M4 B1 q! s) n5 r! n
  1430. ; a more efficient layout for servers that handle many sessions.; ]  C% U& l8 @3 U
  1431. ;0 R' ]  `6 |9 L2 m8 k6 z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.2 ^( w# m8 d6 f/ s. d, V* D" z. w4 x
  1433. ;         You can use the script in the ext/session dir for that purpose.
    4 p. l5 |5 r& L2 n* c. F
  1434. ; NOTE 2: See the section on garbage collection below if you choose to  g) `& ~% ~2 P& F. {! D
  1435. ;         use subdirectories for session storage+ V! d: L* h. g9 t3 c6 e3 O2 `% E
  1436. ;  n, D0 r/ t6 ^  K
  1437. ; The file storage module creates files using mode 600 by default.
    4 L( ^' o0 u& \, m* Y" ]0 G7 K
  1438. ; You can change that by using
    : b; t) D* x' p, o$ Z% p' j
  1439. ;
    0 w* I& e% S: d" z! E( L' q
  1440. ;     session.save_path = "N;MODE;/path". y5 v& N( [, _& r  @* }, K
  1441. ;
    : Z3 v' `3 f8 w% O& p
  1442. ; where MODE is the octal representation of the mode. Note that this
    ' A4 m. n6 l) `/ y3 t0 ^0 a
  1443. ; does not overwrite the process's umask., a" C9 B. k6 Q2 _
  1444. ; http://php.net/session.save-path
    6 V) V  J  ?4 l5 H, t
  1445. ;session.save_path = "/tmp"
    ) ~; j' g% W( v" p6 W5 @* @
  1446. ; S# Z, q. F2 N, ^- f
  1447. ; Whether to use strict session mode.
      F, I- m7 l* O6 d8 J# i
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    3 N4 ?7 O) ^9 f* Z( t1 H
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects  W$ j" D0 x7 d! y7 G
  1450. ; applications from session fixation via session adoption vulnerability. It is5 Y& }0 ~* @. _9 \
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    - F- I  s8 G& b  i
  1452. ; https://wiki.php.net/rfc/strict_sessions
    $ c) B6 M9 q! D% Z- g: B1 @' b
  1453. session.use_strict_mode = 0" c$ P2 C6 S- M8 Q& ]

  1454. 2 y$ L0 @( c" H$ h9 p
  1455. ; Whether to use cookies.. z* d2 W. @. }/ E: D0 v
  1456. ; http://php.net/session.use-cookies* K4 j/ i, O* i2 u
  1457. session.use_cookies = 1  u8 R( i0 _; S+ _- u2 |$ O

  1458. 9 ?9 o3 `" P& m/ D
  1459. ; http://php.net/session.cookie-secure
    : ]4 F% N! N6 g* `  t
  1460. ;session.cookie_secure =
    + @4 t( o! R; n% k) l0 i0 W

  1461. ! l+ P  k, [  M$ A) V' P% M' I
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining- H& B7 `* V" x' i; @
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    4 A  j. m8 s5 D! V4 p3 d
  1464. ; session hijacking when not specifying and managing your own session id. It is- O$ G$ R, Y. U4 |& _+ Z" D
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ; ?( j/ i5 {5 \' Q* a( Q5 _
  1466. ; http://php.net/session.use-only-cookies  b% {  r+ ^" x7 c  a2 B
  1467. session.use_only_cookies = 1
    & i( Y& h! c$ R5 x3 J: {
  1468. 3 V7 ]6 f' a9 Z% @; h+ G) \
  1469. ; Name of the session (used as cookie name).
    7 l7 T3 g5 U3 ~
  1470. ; http://php.net/session.name
    , ?' O- k* h8 m# J
  1471. session.name = PHPSESSID
    $ G* Y/ c' a; g0 Z; H3 k- H
  1472. 7 `/ G* t; S3 _# F  Q
  1473. ; Initialize session on request startup.; x, v: s/ P1 A. e; n- o
  1474. ; http://php.net/session.auto-start
    2 O( y. ?- T# v& Q3 \1 X) I8 Q. e
  1475. session.auto_start = 06 |2 y" W* U' F7 T$ m" J: V

  1476. 6 j7 m9 ~" J# |1 R; _- X2 U
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 a3 W+ K1 L0 l
  1478. ; http://php.net/session.cookie-lifetime
    " B& R8 n8 ^3 I) j$ j4 g
  1479. session.cookie_lifetime = 0
    4 s2 p- g9 y- q( g' @

  1480. 4 O- {5 ?: I. V- u
  1481. ; The path for which the cookie is valid.+ T% a! D3 o, u- h- x: X% Q/ |
  1482. ; http://php.net/session.cookie-path6 R) y; e& Z; k  G8 \
  1483. session.cookie_path = /
    8 a- F" c: H% g! ]. w. |& ~0 F

  1484. + N/ I2 f: Q6 M: E
  1485. ; The domain for which the cookie is valid.
    0 A: h0 {- N# C
  1486. ; http://php.net/session.cookie-domain( A5 B9 h2 @& s* I+ q3 t
  1487. session.cookie_domain =
    6 [# |) i$ y6 r' y# |% ^
  1488. 6 t" C4 d9 Z; P6 }
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ x- n0 i, O) s* A, y- X: v
  1490. ; http://php.net/session.cookie-httponly
    3 ?8 i# B6 C! ~' m3 Z
  1491. session.cookie_httponly =
    - G8 M8 m* W! K" ?) z4 U

  1492. 4 o5 D5 F; F! F6 j3 r
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    0 z$ z9 Z. D4 y* S
  1494. ; http://php.net/session.serialize-handler
      Z$ e" h' J, q+ y6 h
  1495. session.serialize_handler = php
    ! m- b. X2 h' G5 h8 I. c

  1496. $ m+ M) I% U3 H' t2 P0 J
  1497. ; Defines the probability that the 'garbage collection' process is started
    / W1 X" ], u. P, F  w% r/ ?# W
  1498. ; on every session initialization. The probability is calculated by using6 W  u  W6 z3 A; A. K7 c2 k, Y2 m+ t7 o
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) H* v4 l; |+ N2 c% h
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ; q4 \0 k1 s7 q* X
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! A0 U" z6 u9 c* Z2 |( n
  1502. ; the gc will run on any give request.: ]( l6 ?6 E) H: e0 [0 Z
  1503. ; Default Value: 1# @5 _5 n  @6 E1 Z0 k, k9 {! J
  1504. ; Development Value: 1
    ) p  R/ S$ O+ W7 j( d" B
  1505. ; Production Value: 1" j1 v0 N. |7 H+ j3 p$ s
  1506. ; http://php.net/session.gc-probability& a7 l5 f0 T" l8 F5 ~& ]5 C
  1507. session.gc_probability = 19 F" ]7 t) U: F

  1508. . W. d& J2 f; m$ @6 d0 L( o
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    " r+ v5 @! p+ }
  1510. ; session initialization. The probability is calculated by using the following equation:4 J$ J2 g5 v+ G4 w
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and/ i, P. x, B1 Z& e* A
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ! W% A& A( l. _& [% ]1 h
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 o" n# i- a( X- y
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you0 D2 j5 l0 ?, r  K+ l4 N
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,) Z% h# q% p" ~# L! e5 C
  1516. ; this is a more efficient approach.& [: F8 Q' P# r, M2 S: @  l
  1517. ; Default Value: 100
    " {# n% W  f) S: u+ F1 g& W% G
  1518. ; Development Value: 1000& I$ E, \: R: K; I
  1519. ; Production Value: 10003 c/ q2 M- H6 ?7 r, H& `
  1520. ; http://php.net/session.gc-divisor' H6 o' _4 b  q, X- h
  1521. session.gc_divisor = 1000
    5 b3 h$ h3 k; ?

  1522. / s. W+ V! [7 {
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and1 o2 s# p; l7 |$ t* a' r* u1 f
  1524. ; cleaned up by the garbage collection process.
    - V+ X1 Q$ k2 s
  1525. ; http://php.net/session.gc-maxlifetime; d. r2 ]4 K. C  X# O
  1526. session.gc_maxlifetime = 14409 v% ~$ c9 C3 X

  1527. 9 ^% G$ J6 h6 a  ]  j- R  L
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ( Z& O4 J7 Q. n: W$ h
  1529. ;       (see session.save_path above), then garbage collection does *not*8 _# g2 \' s/ s: _# N8 k& w
  1530. ;       happen automatically.  You will need to do your own garbage) K! }# f6 F, P
  1531. ;       collection through a shell script, cron entry, or some other method.4 y' D, F2 ^4 M
  1532. ;       For example, the following script would is the equivalent of1 |: O1 X1 h( E8 S) P  R
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
      |" C, e2 A6 m8 z; m
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
      D6 G- A0 d' x  n4 ?& F/ n" Z

  1535. 4 \# w, ?- Q" |
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    6 B! U; B. b/ E" y8 M
  1537. ; HTTP_REFERER has to contain this substring for the session to be! R; U% f2 M* ?- g# M
  1538. ; considered as valid.6 J4 X+ V) ?. u& u
  1539. ; http://php.net/session.referer-check) m. a' }* Y3 I: F
  1540. session.referer_check =
    8 v: G9 x3 k+ E9 }5 W7 M

  1541. ' L8 F: D+ a* v7 `7 X; o) q, ]
  1542. ; How many bytes to read from the file.! j5 M& F' R& q( w- E; N1 h
  1543. ; http://php.net/session.entropy-length: u& V. s3 P, }! q
  1544. ;session.entropy_length = 325 W6 d+ {4 O/ J. P- h* w

  1545. , I& f5 T- D8 ^8 K7 V# G: |1 h" A+ h  V
  1546. ; Specified here to create the session id.
    0 }4 u) G+ \* k8 c) E
  1547. ; http://php.net/session.entropy-file, d# V6 [" H6 s2 x! c( G- e* x; G
  1548. ; Defaults to /dev/urandom/ C/ W+ P* U3 @! u0 E
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    5 x, A% v* D' N/ D4 y2 S+ B) L
  1550. ; If neither are found at compile time, the default is no entropy file.
    3 A3 ~# e, z5 I6 L9 h, [: V
  1551. ; On windows, setting the entropy_length setting will activate the
    7 D- O' v. Y; y; H3 c0 }/ h
  1552. ; Windows random source (using the CryptoAPI)5 m5 J# q1 R; V
  1553. ;session.entropy_file = /dev/urandom' s" s5 S7 H* P
  1554. 4 \0 L8 ~9 K+ R& {8 Y3 k8 g  ~/ ~( ^
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects3 F, ]2 Y/ \: J9 i" w3 ]" A& W
  1556. ; or leave this empty to avoid sending anti-caching headers./ Y- S% I( i2 t3 @
  1557. ; http://php.net/session.cache-limiter
    + J& a3 U5 R% A
  1558. session.cache_limiter = nocache# o9 I6 K7 M9 [! M
  1559. ; G5 r2 _/ J8 A5 W* W1 [$ q0 D
  1560. ; Document expires after n minutes.9 B/ L) k# N$ _0 T/ Z; k
  1561. ; http://php.net/session.cache-expire# S) |2 a5 L0 K/ b' D
  1562. session.cache_expire = 180
    " N+ B+ T+ T0 _4 t, \
  1563. ! w( q6 H* I$ p' ^5 \! H
  1564. ; trans sid support is disabled by default.
    , }; x- T+ K# G, G
  1565. ; Use of trans sid may risk your users' security.; j. O4 c$ Z* t
  1566. ; Use this option with caution.
    6 d: b- e" }6 E, ~4 ~- R
  1567. ; - User may send URL contains active session ID1 b) p+ h9 t" M2 O. A, z* ^6 a
  1568. ;   to other person via. email/irc/etc.0 D, t/ @: {  b
  1569. ; - URL that contains active session ID may be stored6 M( A8 ?- t. m2 J
  1570. ;   in publicly accessible computer.
    9 f5 Y1 _+ a! H3 Q7 I4 R
  1571. ; - User may access your site with the same session ID+ G8 g8 T$ q1 n/ p4 F+ n* j& W
  1572. ;   always using URL stored in browser's history or bookmarks.7 Y* m+ y  T  W! f
  1573. ; http://php.net/session.use-trans-sid/ b. U+ t" Q/ ]  W" A
  1574. session.use_trans_sid = 0
    . z9 W& j6 }9 d2 A( }, y- M% m3 R% j
  1575. " F& N: R6 `; @4 |0 ~4 C3 o
  1576. ; Select a hash function for use in generating session ids.' j) p+ W0 ?( ^5 Q) W; _
  1577. ; Possible Values, g4 m$ V4 f  O' j0 t1 c* e+ g) b
  1578. ;   0  (MD5 128 bits)
    & S* ?# R* E% m" Y
  1579. ;   1  (SHA-1 160 bits)
    1 I7 Z2 x# k( u" Y# P
  1580. ; This option may also be set to the name of any hash function supported by8 X2 b; a+ A2 V1 Y& e- f; I! U9 k) [
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()+ O9 P4 T2 d3 h* ]3 x8 ?  `! m3 s& D
  1582. ; function.3 C* k6 {2 n; O& R
  1583. ; http://php.net/session.hash-function/ s( G* p. Z. _2 l% g7 l' }
  1584. session.hash_function = 0/ Z+ h, n  D4 N3 h
  1585. + Z$ R  ]7 A7 D  t
  1586. ; Define how many bits are stored in each character when converting# y$ Z7 }0 w. Z7 ^) o- U( ?
  1587. ; the binary hash data to something readable." [, ?- ~* u( m& `
  1588. ; Possible values:7 X+ v; o9 `& ?5 Z7 ^9 x8 _
  1589. ;   4  (4 bits: 0-9, a-f)' O1 z. `; f* T+ C
  1590. ;   5  (5 bits: 0-9, a-v)  x- A, G+ y6 ?" `( ^: x7 x# g
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    : R+ O- C0 U" x# K
  1592. ; Default Value: 48 M/ n- J3 V7 f9 @: L8 ^- E9 Z9 C
  1593. ; Development Value: 5
    3 l8 I; x* O! `% _' `+ q$ H- U; b
  1594. ; Production Value: 5
    * N/ \4 J, z  ^
  1595. ; http://php.net/session.hash-bits-per-character$ W1 z9 j$ ?6 w$ I1 j9 G( O  X
  1596. session.hash_bits_per_character = 5
    # M+ F% h( @$ }3 J
  1597. 4 Y) f0 @( o- B. R
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.  }+ }0 C# W" w# O+ d5 f9 I
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    3 O. G8 U# }0 T% X; j, {
  1600. ; add a hidden <input> field with the info which is otherwise appended. t: M5 ?4 ]# F1 f
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry./ x8 ~( j" U6 {* n1 K
  1602. ; Note that all valid entries require a "=", even if no value follows.
    8 K5 N4 }8 W! ?$ K3 m
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! i) Y  Q) z; W4 f- }0 L6 G, x) V" C
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 c: o% v! B  p6 ?% m- S
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' G7 p5 a6 {+ _' I6 X( m2 ?
  1606. ; http://php.net/url-rewriter.tags
    8 F8 _& N6 j' f1 O. i5 ~6 T* k  z
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry") O. m7 _2 C, v4 G4 f
  1608. % Z- |1 V( q% g) s( X: g
  1609. ; Enable upload progress tracking in $_SESSION# g( Z; x9 e4 c- i# [) z
  1610. ; Default Value: On+ s$ G; k& ~, v& |# I" m
  1611. ; Development Value: On% g4 q7 T  W$ q5 @
  1612. ; Production Value: On
      s8 A- p( r& b  p0 |2 ^) ^
  1613. ; http://php.net/session.upload-progress.enabled
    # U$ G  W: o, i$ K, r+ h  h' j7 N9 Q
  1614. ;session.upload_progress.enabled = On; r7 {: l' Y$ r9 o  F# _
  1615. 8 o6 H) W  }, x" _+ m
  1616. ; Cleanup the progress information as soon as all POST data has been read
    $ x2 i) P6 X5 b, g& V
  1617. ; (i.e. upload completed).% u% L. Y' R5 m4 E+ Z1 k( W
  1618. ; Default Value: On6 z" Q- l- }$ o) s5 P8 [
  1619. ; Development Value: On
    2 f1 f' Z2 p% F
  1620. ; Production Value: On
    % b. w4 e% s& @6 d4 z2 t4 H$ I
  1621. ; http://php.net/session.upload-progress.cleanup: }8 i% R" v5 X
  1622. ;session.upload_progress.cleanup = On
    " b$ l; m, [- |( `- L; n

  1623. 6 k& R" c& b( B9 }0 l+ Q7 L% r
  1624. ; A prefix used for the upload progress key in $_SESSION- ^  `+ B: a& g: t" I& P* @1 v, g
  1625. ; Default Value: "upload_progress_"! K% Z- ~4 b+ ^6 h% q9 k
  1626. ; Development Value: "upload_progress_"
      E2 t8 I, }# @  k5 z4 X
  1627. ; Production Value: "upload_progress_". _  h- r& j2 ?
  1628. ; http://php.net/session.upload-progress.prefix
      W. n3 R; e% a1 ^, M4 s+ S
  1629. ;session.upload_progress.prefix = "upload_progress_"  [8 v# v  y$ y: E+ q2 L" X# y
  1630. / R" ~7 X" V" l1 z" i8 ]
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    & o9 R& A3 C5 Z. C4 j( i" ~
  1632. ; containing the upload progress information; \& @) e3 M0 ~) k) z" l, _; u
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . n! q; B6 U8 `
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"6 ]/ L3 t9 Q, x
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"9 ?% a. i. j5 T  H3 W+ z
  1636. ; http://php.net/session.upload-progress.name% z5 a6 w1 X* n; o( c& o6 E
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"" c' A1 Q- o+ M4 I2 r
  1638. & r* H7 Y9 v* |- Q+ t
  1639. ; How frequently the upload progress should be updated.4 O7 F5 L! p- n9 W4 p# t
  1640. ; Given either in percentages (per-file), or in bytes) q  O6 Q2 l! W3 N4 f7 u/ R8 M2 v- O
  1641. ; Default Value: "1%"  H" j3 \0 m2 v  ]
  1642. ; Development Value: "1%"
    7 [0 C* x6 l, G- F6 K4 \" m& n
  1643. ; Production Value: "1%"
    2 y3 W( i" \$ W8 i' j. n% ^4 w
  1644. ; http://php.net/session.upload-progress.freq
      i4 L3 e1 z/ w! W6 X) z
  1645. ;session.upload_progress.freq =  "1%"/ o% C7 M7 p0 G7 z8 V3 y8 g) ?. v
  1646. , b! O. P3 D9 t. ?
  1647. ; The minimum delay between updates, in seconds/ @% M7 D) N7 O6 I) y6 D
  1648. ; Default Value: 1
    + u0 C5 H# \3 q" [& k
  1649. ; Development Value: 1; L! r) E( G1 Y( P; q
  1650. ; Production Value: 1
    / k% o6 K, u/ L3 ^
  1651. ; http://php.net/session.upload-progress.min-freq
      d+ m3 h7 W2 k- O- ?
  1652. ;session.upload_progress.min_freq = "1"
    % e. d% j6 ]9 m& ]
  1653. $ X& |  \4 R) [- h4 q6 _; L. `1 y2 j
  1654. [MSSQL]
    8 Q. O5 k: K. u( Y$ `
  1655. ; Allow or prevent persistent links.
    , V( m# U% }" X- f* ~. e$ u2 x
  1656. mssql.allow_persistent = On8 {4 O2 N, D1 s: n. ^3 k

  1657. & a+ ~% h, q. B5 z% n
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ' m: ]8 \- \$ Z& N) l
  1659. mssql.max_persistent = -1
    " h, \+ E8 M1 o$ n

  1660. 8 T& Q+ o; q' a# h, ~3 V4 F
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.# ^2 H0 B; t3 D- C' D" x- I' I
  1662. mssql.max_links = -1! m- Z# U+ i& K. c+ B- O! c: V
  1663. " m# W( K- o9 t, S
  1664. ; Minimum error severity to display.; L1 @/ M2 ?( J4 S5 r
  1665. mssql.min_error_severity = 10: t+ |& n: Q1 e4 H3 V  h
  1666. % t, D! K5 o  W0 i8 D/ i  b
  1667. ; Minimum message severity to display./ k- [6 ^% T1 ?* V
  1668. mssql.min_message_severity = 10
    * |) ]7 p1 C& ]) a  z

  1669. / L$ a& @: ^" _
  1670. ; Compatibility mode with old versions of PHP 3.0.
    7 p0 U- q+ |% _
  1671. mssql.compatibility_mode = Off$ V& ^( \) n8 k+ D
  1672. - }8 P  L; l- u0 F3 v0 g: i& I
  1673. ; Connect timeout7 a% F8 ~5 a% A
  1674. ;mssql.connect_timeout = 5; C* c9 f, q: n
  1675. 4 N" M) H  \% |/ \( F! N
  1676. ; Query timeout
    ) j1 r, c" L  Y% u/ }1 p+ T' G
  1677. ;mssql.timeout = 60" A! ]: V8 `  E& s3 j! \" A
  1678. , M# r% O# j2 C: U
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    % Y$ w' V' [+ \' z$ B, ^6 ^8 I
  1680. ;mssql.textlimit = 4096( ^) v4 l6 {' b) u
  1681. % l' A6 {' ~1 `5 o
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    5 c' ?: K! N2 Z
  1683. ;mssql.textsize = 4096
    & p+ k3 E2 Q4 u0 ~6 c( C+ M

  1684. * v2 L0 s/ B5 G. N$ f
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.4 N" M/ y# y3 M( A' R; G
  1686. ;mssql.batchsize = 0  @- `/ K! O6 x

  1687. 8 }4 Z* f' ~7 l5 {, q$ `! @
  1688. ; Specify how datetime and datetim4 columns are returned
    0 w7 q! a3 x+ L
  1689. ; On => Returns data converted to SQL server settings' b. I0 y/ G# q
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. ^' i5 ]7 l0 I, V, v- l
  1691. ;mssql.datetimeconvert = On
    ) K- R  Q. a5 }" L* ^, _# ?
  1692. 6 D; |! ^  {4 s1 j: E! J+ t4 k
  1693. ; Use NT authentication when connecting to the server
    : `" z2 \; J7 t: [6 B# |2 u( N8 k
  1694. mssql.secure_connection = Off
    ; l' s7 K5 x3 Y& z. b

  1695. + r/ U% |  J$ ^) ?9 p
  1696. ; Specify max number of processes. -1 = library default
    8 b1 Q7 [1 J& }$ W1 x( m& g
  1697. ; msdlib defaults to 25) z* k8 j: J" P  V% A5 `7 N  k
  1698. ; FreeTDS defaults to 4096; O7 L' V( `* o5 K, A
  1699. ;mssql.max_procs = -1
    . e' c9 y& W; Q) p

  1700. ( `9 n" h& w  y/ L. d" b
  1701. ; Specify client character set.
    6 S  h3 @/ r# Z7 @( q7 [' ~! z
  1702. ; If empty or not set the client charset from freetds.conf is used# \0 h) L; H" @1 y3 e! q( g( e
  1703. ; This is only used when compiled with FreeTDS
    - \4 N3 U7 E; f& z" S, N& j
  1704. ;mssql.charset = "ISO-8859-1". i& E; m2 a# U0 n9 T0 p
  1705. ! t1 c7 Q% `: I) F/ t" Q
  1706. [Assertion]
    9 ~8 X. D9 Z" |9 c" a
  1707. ; Assert(expr); active by default.
    8 A1 q, t+ R5 p- G
  1708. ; http://php.net/assert.active4 |2 r. K1 h0 d  H6 Q1 z3 A
  1709. ;assert.active = On2 p7 B, g) |% S  G: K1 @

  1710. ! l& q! {7 R9 r; f
  1711. ; Issue a PHP warning for each failed assertion.
    , ^3 D' |- N/ O. `
  1712. ; http://php.net/assert.warning/ p0 z1 z- h; \; l
  1713. ;assert.warning = On
    ! u& C* o: ]; H0 t- D
  1714. , U; u, j% o' O! |4 O
  1715. ; Don't bail out by default.
    $ |. x$ v; X. }
  1716. ; http://php.net/assert.bail
    ) s; D4 ~2 o" a  U$ d- s
  1717. ;assert.bail = Off* k8 i% u/ Z6 d+ A& [% Z! g! W; Z
  1718. 6 C3 m3 _8 ]: @' \  g, Z! _- ]
  1719. ; User-function to be called if an assertion fails.
    4 R/ J3 v, e. O+ |* d  t# A
  1720. ; http://php.net/assert.callback
    2 f* i$ C: W2 t  Y
  1721. ;assert.callback = 0
    ! D1 ]7 y3 ^9 U2 ^9 b! A$ M+ O' e

  1722. * W/ G) @/ w4 T4 ]2 D
  1723. ; Eval the expression with current error_reporting().  Set to true if you want3 @6 ~8 @7 @0 l& F7 Y
  1724. ; error_reporting(0) around the eval().% `! i- K% |9 b& S% N) {3 ?" o
  1725. ; http://php.net/assert.quiet-eval
    ; ^1 N& q7 S0 ?# |
  1726. ;assert.quiet_eval = 0
    7 \2 D4 `2 ?5 ^
  1727. + ~/ p  P6 \& j' u! ^* s' w
  1728. [COM]
    " K  c: u) m# u7 H8 @" K1 x
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    9 O1 ^# K5 {4 H2 d; t; f
  1730. ; http://php.net/com.typelib-file
    - `+ ^4 e+ I& x
  1731. ;com.typelib_file =
    ' w, V$ p' a/ n# G& q  X- O$ E" d

  1732. 3 H7 ~" x& `% A& L6 G* a' z
  1733. ; allow Distributed-COM calls
    ) z  S+ J8 }( }
  1734. ; http://php.net/com.allow-dcom# }- H! |  n8 e6 t; ^5 Q) u4 |1 V
  1735. ;com.allow_dcom = true2 Q5 v6 k4 D" T
  1736. $ t* f5 z/ O! q- t. }
  1737. ; autoregister constants of a components typlib on com_load()$ ^1 y* \8 f& I* P8 v9 `8 Q4 h+ ?
  1738. ; http://php.net/com.autoregister-typelib
    / l3 s+ B, Z, M5 W# j( T$ w
  1739. ;com.autoregister_typelib = true6 r1 d4 U" g' Q) t
  1740. 7 G2 Y8 l$ c1 ~) s9 l
  1741. ; register constants casesensitive( o. n, N$ O1 E. n, u7 ?
  1742. ; http://php.net/com.autoregister-casesensitive
    ( ~' t; a1 E; R2 C' M: p
  1743. ;com.autoregister_casesensitive = false, Z' T# S1 U+ M

  1744. ' J6 i" U5 Q9 a5 d- Y
  1745. ; show warnings on duplicate constant registrations% Y4 |6 ^8 s! o9 }- I: y+ }
  1746. ; http://php.net/com.autoregister-verbose3 X% E6 v. |, _; Z# l4 `
  1747. ;com.autoregister_verbose = true' m* \/ f& M& x: m$ v
  1748. 4 d& C4 p8 M$ q
  1749. ; The default character set code-page to use when passing strings to and from COM objects.& c4 D# K1 k6 Y$ {& p; k
  1750. ; Default: system ANSI code page4 i4 D  R4 H( g/ @. d& U
  1751. ;com.code_page=' P' c1 |! y0 q8 C0 s" o6 s9 O
  1752. 4 p# Y- Z' s% i' s! E
  1753. [mbstring]
    1 d' Z& {; V; W1 ]$ t+ `1 e
  1754. ; language for internal character representation.+ r. l' Z5 Z; x0 w2 K
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.( G+ j5 |, g& y, r! x, x
  1756. ; http://php.net/mbstring.language
    7 x/ j; n; k% s/ j
  1757. ;mbstring.language = Japanese
    5 M" P( j: Q% y1 Z
  1758. - v- b2 B8 F  v" H' Q! O# B
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 ]2 {- ?. o5 v; g7 {! |
  1760. ; internal/script encoding.
    # m/ L  C2 O  L* \6 _# _
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' c' d3 l3 s2 k) n0 v& i( {: a6 n
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    9 L" Y1 k5 }7 C; A+ F
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' L! X2 |8 H. e, g
  1764. ;mbstring.internal_encoding =% F: T, N; ^5 s
  1765. * y4 g/ L: \; Y- U4 m6 H
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.4 y1 s2 u. @' _' ?: Y2 g% y
  1767. ; http input encoding.; ?- n- L; Q8 x4 h* Y- U
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.' B0 _0 V% ~* b- g+ M) L! Q
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.* Y, j% o4 ~" ?" c7 b* }  g7 w
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * h! g& v; [, {6 v/ X
  1771. ; http://php.net/mbstring.http-input
    1 D, K1 i/ ?" A) O/ w7 r
  1772. ;mbstring.http_input =
    / I9 j! d9 Q/ O& w8 m/ e

  1773. 0 K, ~: e4 P. |. K, ~: E# b
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & [9 i; \- ?/ L0 `& G0 u9 J
  1775. ; http output encoding.
      h$ ?  G8 V, _. W1 L7 p8 [9 p
  1776. ; mb_output_handler must be registered as output buffer to function.( Y; M8 m) r& S( U# g
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.3 {$ n+ I& V) \/ o' H  ^
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output) g+ ^$ o; l' m9 V  R# E
  1779. ; To use an output encoding conversion, mbstring's output handler must be set  L" V  B" v$ n% e; A, B
  1780. ; otherwise output encoding conversion cannot be performed.
    * [  e5 e% d; }. ~% b5 v' z: \
  1781. ; http://php.net/mbstring.http-output
    ( r& ~& [, M3 K) Q/ C6 Z
  1782. ;mbstring.http_output =( k" d" h& R# ^

  1783. 7 X/ ~7 u: y3 ?, B
  1784. ; enable automatic encoding translation according to4 C6 t+ k" {% Y. j; n$ K3 d: U" B- Q
  1785. ; mbstring.internal_encoding setting. Input chars are
    " t: k6 B- b7 `* a
  1786. ; converted to internal encoding by setting this to On.6 E* S+ `( B0 H: F. s! F4 t4 t9 g
  1787. ; Note: Do _not_ use automatic encoding translation for
    / `! P' Z6 G0 L# [
  1788. ;       portable libs/applications.: [7 d0 I" ?; C0 B
  1789. ; http://php.net/mbstring.encoding-translation1 i& w- g* ]! L  x) s
  1790. ;mbstring.encoding_translation = Off  H- O& |9 q$ ~& }
  1791. 0 T) c- K+ }' N  T' u
  1792. ; automatic encoding detection order.5 l. X* f; V9 T
  1793. ; "auto" detect order is changed according to mbstring.language
    , N  _5 S. H* G7 M
  1794. ; http://php.net/mbstring.detect-order* x/ [- p+ H) _. }4 K  C
  1795. ;mbstring.detect_order = auto4 d2 P5 J+ i. X8 w

  1796. 4 D" e) A9 T/ k6 {2 [( n
  1797. ; substitute_character used when character cannot be converted
    0 H- x, B0 R& B7 n! g
  1798. ; one from another
    % h5 P) E& ]- V: G3 q, A  ]# \. r
  1799. ; http://php.net/mbstring.substitute-character& V; r( {. `5 U7 U
  1800. ;mbstring.substitute_character = none. d1 ]! h. Q: t& J# d+ ]

  1801. - h4 ^) @. i; q0 c+ u* U! f
  1802. ; overload(replace) single byte functions by mbstring functions.
    3 I! Q! b) _- \, h! k2 }
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , G) p4 x/ D* }4 _! W2 {
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    + m# e, J* s$ q! A* S) q5 p1 i' F" F
  1805. ; For example, 7 for overload everything.
    2 `) G" G" a2 B- N+ U! W# ?4 q  s
  1806. ; 0: No overload2 K0 S: N4 o. f- Z5 F
  1807. ; 1: Overload mail() function
    $ [! S* _$ K- g* N- {
  1808. ; 2: Overload str*() functions
    2 ~. V/ E" Z7 E6 `' s! O$ `# `: U. I% q
  1809. ; 4: Overload ereg*() functions
    ' v; M* v2 }2 g! k# [3 O
  1810. ; http://php.net/mbstring.func-overload
    # n. V: L: v( i# |- e0 Z
  1811. ;mbstring.func_overload = 0. n% B* V( A+ Z) I  G- O$ x
  1812. $ C0 m2 @3 W0 a* r) ~( [
  1813. ; enable strict encoding detection.
    ; i8 Y; u- n  B4 N% Z: W5 {
  1814. ; Default: Off# v) W) E4 k6 p# U9 r$ U# w
  1815. ;mbstring.strict_detection = On5 ^+ H: w- {9 i* z+ [

  1816. . q( f+ ~0 R' j% D* C3 C& D3 t
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 b* P/ x- i/ K& `
  1818. ; is activated.
    9 I+ r: E. u1 e# v3 R- c( R
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml); F9 }8 S* {! H
  1820. ;mbstring.http_output_conv_mimetype=
    , {& O! C6 ^* `

  1821. , k. s. S: s: u
  1822. [gd]. }( \. {( Z% @  n! [. y7 e
  1823. ; Tell the jpeg decode to ignore warnings and try to create) ^+ s1 Q# h6 j+ c9 y
  1824. ; a gd image. The warning will then be displayed as notices+ N+ [2 x, U- i$ Z, x! l1 ~
  1825. ; disabled by default% m+ U! b3 A5 \: q( |) |/ j
  1826. ; http://php.net/gd.jpeg-ignore-warning
    7 E, |  ]' K+ r$ X. w8 |" j# p
  1827. ;gd.jpeg_ignore_warning = 0
    ( {; o! j$ p- i/ {$ Q

  1828.   E: t2 W. ], h2 ~
  1829. [exif]
    7 W$ T3 h" f" n# ]2 i
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; r8 e" q) r% _( v' H, y$ j5 f
  1831. ; With mbstring support this will automatically be converted into the encoding4 G0 g7 m8 Y2 Q3 M( k
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    . K0 c# r9 k" i  R. d
  1833. ; is used. For the decode settings you can distinguish between motorola and: I1 p, u3 o7 r, M
  1834. ; intel byte order. A decode setting cannot be empty.
    ( Z% s" t* Q4 Z- }8 G% \' ^. m
  1835. ; http://php.net/exif.encode-unicode+ Q; H( s; f5 ~: W( @3 ^" |) i
  1836. ;exif.encode_unicode = ISO-8859-15* G* {7 r; P- \7 J9 x- w+ i9 P

  1837. 0 F9 W/ ~5 O; w
  1838. ; http://php.net/exif.decode-unicode-motorola" f1 p4 o! }- |% U- n; D
  1839. ;exif.decode_unicode_motorola = UCS-2BE% U! S' O5 b) V

  1840. ' c3 Y: F* |* o8 _$ w( ]
  1841. ; http://php.net/exif.decode-unicode-intel
    , u) \! q. R. ?9 ^  D( R9 ~* }% d
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    " N2 z0 v, I2 u5 r5 l
  1843. ) I% t4 A& y- n# g1 `
  1844. ; http://php.net/exif.encode-jis
    7 m# C! \  ^# ~
  1845. ;exif.encode_jis =
    5 x( H0 j4 V! ^0 Y  d' w1 ~

  1846. - S1 s( Y% l, c$ W8 M
  1847. ; http://php.net/exif.decode-jis-motorola
    3 V' g1 ?2 a, V
  1848. ;exif.decode_jis_motorola = JIS4 n4 Y) |0 k( G; n8 M/ q1 w

  1849. 5 t; H0 t8 a6 ?+ h
  1850. ; http://php.net/exif.decode-jis-intel) @" j8 S+ X7 _1 w" x
  1851. ;exif.decode_jis_intel    = JIS
    1 s, {7 J: D! A8 o' ?: s% j! l$ p

  1852. ' T. k4 f6 p/ J: c6 `
  1853. [Tidy]' y% T4 h/ }: W8 _; X
  1854. ; The path to a default tidy configuration file to use when using tidy
    . n" v# A. `& x5 Z! s7 P+ m* \
  1855. ; http://php.net/tidy.default-config+ L& o, a" `2 s4 @# i
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg( e" }/ h: [1 r. t

  1857. 9 i: q* [, W, @+ _  r+ d
  1858. ; Should tidy clean and repair output automatically?& ]! h+ I; L2 V5 ]3 C
  1859. ; WARNING: Do not use this option if you are generating non-html content: d& }4 q& g0 I9 N- ?' p
  1860. ; such as dynamic images" O* r1 ^) ?0 s/ D1 x& `  `( ^; g
  1861. ; http://php.net/tidy.clean-output' O- N, I( X; f% C
  1862. tidy.clean_output = Off; Q7 b( C  L6 o5 ~: o' c: B( t

  1863. . u; O9 x" ?1 A+ R; v
  1864. [soap]0 M: V3 [6 ]+ a3 }  m4 p; r: E
  1865. ; Enables or disables WSDL caching feature.# ^& @+ ^  X6 f2 J+ {
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ! h8 t* k  o: h" K5 @; F. V7 ~: h
  1867. soap.wsdl_cache_enabled=1
    3 f0 }' R7 I( T7 \6 N

  1868. ) s( @% p7 W  ^3 a" G
  1869. ; Sets the directory name where SOAP extension will put cache files." N- s$ U0 m% N. ?, o+ ?/ U6 W
  1870. ; http://php.net/soap.wsdl-cache-dir& ~, K5 Y5 v  f- ^8 |5 y& d% \
  1871. soap.wsdl_cache_dir="/tmp"& ?6 T) Y* t1 V3 M2 H

  1872. $ o5 D9 W8 }: a5 C+ ^  Y
  1873. ; (time to live) Sets the number of second while cached file will be used3 ]5 R* T# y; g
  1874. ; instead of original one.
    ' O6 x* ^2 R# x+ i
  1875. ; http://php.net/soap.wsdl-cache-ttl
    3 C% g  ?, z% V; d' a0 i$ n. ~
  1876. soap.wsdl_cache_ttl=86400
    . Q. J8 H/ y. T. K
  1877. ' T% N$ S. z( _  D" ^
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    4 a8 g/ h8 P! S. H  _
  1879. soap.wsdl_cache_limit = 5! O% t# q/ o: m% S. e) i# _2 J

  1880.   N6 W, D: Q6 Q" `! o
  1881. [sysvshm]
    4 H0 w8 \$ `+ e# ]% M
  1882. ; A default size of the shared memory segment% }9 E* e, o+ ?( l- H5 _
  1883. ;sysvshm.init_mem = 10000
    6 `# x' Z& }( _7 ^, @

  1884. ! }2 n3 H6 a. L. x$ d0 l0 |* D- E
  1885. [ldap]
    " e4 V+ ?- Z0 c, F7 x, F2 u, s0 O* `
  1886. ; Sets the maximum number of open links or -1 for unlimited.8 V4 s7 h/ c1 {; C5 P  w( g
  1887. ldap.max_links = -1
    4 H8 ~3 K! ]7 p0 `, w  V6 A

  1888. - X+ H! W- e$ l- j7 Q! S
  1889. [mcrypt]! ?; N' s/ P3 C' h5 z: t
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( S4 Y, k5 w. Q* H( H
  1891. $ Y* B/ C) z# W. N9 ^  B! J
  1892. ; Directory where to load mcrypt algorithms
    ) t; |- f6 x8 W& Y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- X& q1 m, p; I8 P
  1894. ;mcrypt.algorithms_dir=
    ; Z  m, y! p) L7 T
  1895. ( U1 g% i% B% a
  1896. ; Directory where to load mcrypt modes
    2 U* Y7 \& i  m
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 \0 i% J: T# b# X; u
  1898. ;mcrypt.modes_dir=9 O' D* S7 u7 W

  1899. / A) n6 u) T* t* D" K
  1900. [dba]1 [7 N9 h) Y: u6 B0 i6 u
  1901. ;dba.default_handler=
    , S/ _) s: u2 C0 h& F) H
  1902. $ Z- f/ C4 p7 L2 x  m" X
  1903. [opcache]- `, D  X/ X; ?# W6 V1 g5 J
  1904. ; Determines if Zend OPCache is enabled
    + K5 Y, m. n/ e" R" E
  1905. ;opcache.enable=0
    1 z$ S9 _( k# y
  1906. " f3 x& [% V4 ^& S6 r
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    0 e/ P) }9 p9 R8 W
  1908. ;opcache.enable_cli=0  y, o" z) l0 `) C( ]
  1909. : m( G. j+ U3 m' A( e5 [
  1910. ; The OPcache shared memory storage size.; b7 d# b( k% Y+ p1 r
  1911. ;opcache.memory_consumption=64
    5 h1 K6 q& f6 z" \9 }1 g. }
  1912. 7 h5 B5 C3 S1 X" R: d5 U
  1913. ; The amount of memory for interned strings in Mbytes.1 [) ]; V- t  H2 M
  1914. ;opcache.interned_strings_buffer=4
    3 G; i0 c0 ^, U! c6 S
  1915. $ M7 _; \- e3 Z4 a
  1916. ; The maximum number of keys (scripts) in the OPcache hash table." U7 p$ a7 I7 `& S# [! W
  1917. ; Only numbers between 200 and 100000 are allowed.
    6 D7 Y) ]" D8 F7 A# _6 P  l
  1918. ;opcache.max_accelerated_files=2000
    ! W* }6 u+ m/ m6 v5 [) S
  1919. ) v7 t) n" w7 k  X4 ^% X( P
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    - n  n7 j- ~: r: P5 R7 A
  1921. ;opcache.max_wasted_percentage=5
    # P! k9 U' @0 a6 W; l/ R( ^

  1922. . B- C. w4 J) L1 v% M7 z# v9 L
  1923. ; When this directive is enabled, the OPcache appends the current working6 }6 `7 S' b# T  R% u8 P8 A
  1924. ; directory to the script key, thus eliminating possible collisions between5 P6 R( x* K5 M0 {
  1925. ; files with the same name (basename). Disabling the directive improves: t6 S* E& n! ?( y
  1926. ; performance, but may break existing applications.
    . f0 G) t3 B) n6 s" I& \% R9 p
  1927. ;opcache.use_cwd=1+ @  ~3 Q" c& S/ W7 B! L

  1928. + u; C: o2 Q  D8 v' E
  1929. ; When disabled, you must reset the OPcache manually or restart the
    - G+ N6 z; q; p3 ~! z
  1930. ; webserver for changes to the filesystem to take effect.9 j6 J; V2 Y% C% |
  1931. ;opcache.validate_timestamps=1
    8 Y; j& u3 ]/ U( V$ ]7 x
  1932. 8 L6 M( g7 V) M: i& B) L
  1933. ; How often (in seconds) to check file timestamps for changes to the shared/ l1 d/ G& L1 Y+ I1 c* ]+ a' H. J
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    . n5 `8 Q3 Z( [2 K8 D9 u' g
  1935. ; once per request. "0" means always validate). m& h# }8 Y) B4 h
  1936. ;opcache.revalidate_freq=2+ ]/ m- Z& X2 d' f; g% G5 X
  1937. 5 m3 q* i- A+ [9 H) @$ V
  1938. ; Enables or disables file search in include_path optimization
    ' ^* `. C, O3 c3 q
  1939. ;opcache.revalidate_path=08 L+ X. o1 a$ s" U; H9 ]( `. i. q% f! N
  1940. ; G4 m/ }: ^, v  s# ~
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ( b  r; S  a% c, E
  1942. ; size of the optimized code.: {3 o3 K- S* k6 \2 p
  1943. ;opcache.save_comments=15 k7 j* \: M$ F( H

  1944. $ I: c/ H" {! }+ u3 _+ }2 M: W$ e
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"* k2 C4 {2 K" m7 }4 F0 A( c
  1946. ; may be always stored (save_comments=1), but not loaded by applications& C. S; U7 R  R0 N3 _
  1947. ; that don't need them anyway.
    % f% l; m) b" ~: r! z  S
  1948. ;opcache.load_comments=1  P( r/ W3 |- q4 l% p
  1949. ) P/ W. v6 B7 z/ s7 a" R! n; f
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' D( b  }# c% O3 J! K. F% G) ]* Y
  1951. ;opcache.fast_shutdown=0
    ! \5 V$ @$ t2 R! r0 }

  1952. : m' I5 W0 R7 w3 U
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    . \9 n4 R' R, y" v8 _
  1954. ;opcache.enable_file_override=0' J% K/ S  p/ `+ d2 s: M% u, T1 m: ~

  1955. * x' N3 U/ d- H2 R; v  j
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache- U; \4 O9 H4 q2 G% d
  1957. ; passes
    9 _" G( ]1 R# B/ \* O6 j8 Y
  1958. ;opcache.optimization_level=0xffffffff
    + A; v$ ~5 y  E$ K( g- H
  1959. 5 J& ]; g+ O4 F+ k
  1960. ;opcache.inherited_hack=1/ x8 l- w- E) l7 U
  1961. ;opcache.dups_fix=0
    ) s2 O) b' @7 o& F6 O

  1962. . Z6 R; c; R/ V2 C+ Y" {2 O8 S
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    + E$ {8 C; _+ d5 d! ^- d, H$ W
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    2 d4 @% t7 x' b7 {
  1965. ; that should not be accelerated. The file format is to add each filename
    ( I! E* G2 P7 m- k* z3 Q" W; O
  1966. ; to a new line. The filename may be a full path or just a file prefix
    , Y( f9 F8 j; |7 c1 z
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# _; t. C3 \! B9 Q( H8 h
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ; H( U6 k, @" S5 j
  1969. ;opcache.blacklist_filename=" h6 C' W3 q. f& }

  1970. ! ^% o# j+ O4 S' C& R
  1971. ; Allows exclusion of large files from being cached. By default all files
    : Z* `' h+ r/ A' W+ O
  1972. ; are cached.& C% Q7 D' P1 |) x" P) U- @
  1973. ;opcache.max_file_size=0" k9 o  c4 ]2 }. Z

  1974. 6 N! A$ c$ V( Q+ Q+ s4 u* A  o
  1975. ; Check the cache checksum each N requests.2 L+ @* G: w/ c/ `
  1976. ; The default value of "0" means that the checks are disabled.
    ! ~8 Q5 P$ ]' ~6 K
  1977. ;opcache.consistency_checks=0
    . V- S; w4 [( w& {) q

  1978. 3 K0 p2 X4 ~7 T
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    6 O# A3 R! L/ r0 x$ [1 X! N3 @  F
  1980. ; is not being accessed.
    0 ?- q! f" U2 o) }) |
  1981. ;opcache.force_restart_timeout=180
    % c9 }) i) \( Y- q" O5 i6 c/ ]

  1982. 7 ]! I) w, K% S( y+ I" C% t5 {
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    7 \2 M5 M0 U5 o" J8 u6 ^! }
  1984. ;opcache.error_log=4 Y1 k- A# J2 c/ F2 M: X2 R0 T
  1985. ' S0 A; y+ R9 W: M( B+ u) `  K
  1986. ; All OPcache errors go to the Web server log.
    9 u5 C6 e2 f# |# L" U5 A
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    - g$ I) h; B( ~) l5 e
  1988. ; You can also enable warnings (level 2), info messages (level 3) or! S) s$ U8 T' A
  1989. ; debug messages (level 4)./ @- n# _5 b6 s- x6 \1 S5 @
  1990. ;opcache.log_verbosity_level=12 Z& I8 d' [& }9 o* ~1 ?& [1 T
  1991. ( N- q& s( |# {8 i
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      v; n/ l! ?5 Z$ J0 F* `
  1993. ;opcache.preferred_memory_model=* A0 Z' Y) N+ |: c) m9 V/ D
  1994. ! c4 |* P. A6 \
  1995. ; Protect the shared memory from unexpected writing during script execution.
    4 B" C( k3 G( _2 e  `
  1996. ; Useful for internal debugging only.5 z: a+ ], C" Z: B2 \4 m6 M
  1997. ;opcache.protect_memory=0
    . a1 s7 O4 ?. E. W# t2 S

  1998. ; ]8 x( `% c: P
  1999. ; Validate cached file permissions.
    / e1 O- S3 i4 Q$ b" n/ N5 a; m
  2000. ; opcache.validate_permission=0
    ) D  n7 `1 M8 _6 W
  2001. 8 D) \& m6 M, S3 N
  2002. ; Prevent name collisions in chroot'ed environment.) b6 y* Y) [$ ?# e+ O. t- K, @
  2003. ; opcache.validate_root=0
    ! f3 R! f: i4 B) \2 W7 `

  2004. % p  h/ S8 x% g: }* b
  2005. [curl]
    - \/ K. `2 J8 I3 _
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; R" L$ V4 W" z& G& D# D
  2007. ; absolute path.( p& A& C+ d7 q) M7 X' h; V
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( s' @2 d  _0 V/ a! E6 s

  2009. " X  F( [6 d/ I( |
  2010. [openssl]
    - i& K+ u- E& G- n: v
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( A0 u: @2 @6 n& b: ?. F
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    4 H2 F+ [. f" G) d' O5 z7 F
  2013. ; not specify a value for this directive as PHP will attempt to use the
      E7 R' y) k8 E( R
  2014. ; OS-managed cert stores in its absence. If specified, this value may still% A/ A& h" \  U6 N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context& q7 d" l0 o7 G8 t
  2016. ; option.1 Y) t+ e/ D& c0 O- r( R
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 Y2 L: t$ l% I7 K

  2018.   r% _5 d) n; e3 y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the4 {- ]& p' m+ j2 i/ L
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    / [2 A- X( u, i2 M' J
  2021. ; certificate. This value must be a correctly hashed certificate directory.$ u4 U( U( R$ B) T3 E- i
  2022. ; Most users should not specify a value for this directive as PHP will- _# l* A& q: M# b
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & g) s3 a4 W  V4 M
  2024. ; this value may still be overridden on a per-stream basis via the "capath"# z( y  q7 Z( w
  2025. ; SSL stream context option.' ~' o4 {3 g  }: [2 R
  2026. ;openssl.capath=
      m: ^1 H6 n  D
  2027. 7 S; @% W  K, A5 L
  2028. ; Local Variables:( c9 o$ O' a$ M+ c% Q
  2029. ; tab-width: 4, G- E6 M& V+ O! S1 K* n+ `
  2030. ; End:
    ) ~# o' W7 `: s( z3 H5 o  C

  2031. ) E* j. Z: q  N: f) @  e  J# D
  2032. ;eaccelerator, u9 ^8 [* B& I  Z* x
  2033. ' Y( {: r2 _; \7 q% b3 k: Q/ M
  2034. ;ionCube
    1 T8 v8 V  O! W2 g& T) I! _
  2035. + }( T: \2 n# n: ?  F* x& y) o& k
  2036. ;opcache+ K2 g- u: Z, P) [, X4 z
  2037. # X* M% N& I: m. H& K" z
  2038. [Zend ZendGuard Loader]5 D/ i% V! |/ y8 `# D
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' t% _5 L/ k% m0 P0 k, e4 I6 |0 e, N
  2040. zend_loader.enable=1
    : _, y0 [7 D( I! }( ^% V
  2041. zend_loader.disable_licensing=0
    # F7 y% R# _. k* x
  2042. zend_loader.obfuscation_level_support=3
    # L6 b! J! N8 P* k) d
  2043. zend_loader.license_path=6 `$ r$ q) @" {( Q* A

  2044. 0 R0 `: W/ F, e! ^) t- z
  2045. ;xcache
    # B' E- s; d, w2 d
  2046. 3 P  w9 B3 g% k; f8 |7 @
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
+ W2 d. f* |' v7 q3 G) z9 {8 _
  b# X1 E7 [$ w! v5 `5 n5 a
' F( g  f+ G) D$ Z- ?4 r! HDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
0 ~. Q( c8 ?6 f* k/ Z8 t1 x6 S6 W' u# _2 Y! w. @
Discuz!程序版本选择:
  g$ I7 x! W' |! b- X& d9 m' F站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
* j! ]% R# a6 W$ I" B1 x不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ n6 o2 C& o& l2 Q) z6 e
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。) S- u* G9 G( K& O+ e
' R: l- q* F" D( Q
Discuz!插件模板版本选择:( v1 Q3 g; Z8 Q. R) J7 H6 D
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,1 A% Y7 v2 G' g, c9 j& V) [7 o
针对这个问题做个统一的普及:% s1 [! Z$ S" n4 n
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。5 d/ d+ V& u+ V/ S8 ~
  j4 o6 W; o) t$ h7 s
所以
$ y9 ~& `7 H* T- p8 F适合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% l! ?2 h1 W# f3 J+ a) T打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ z" Q8 X$ I! a0 r8 a注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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