分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
- N% V6 v# E& [) C* j- H* U! }+ @/ C
  1. [PHP]/ i8 j, m+ `- |+ F6 G6 K! k

  2. / V* S( C$ b4 |1 m( l- o
  3. ;;;;;;;;;;;;;;;;;;;5 {6 \# Q# W2 p# g9 E  _7 O: Y
  4. ; About php.ini   ;
    ' ?" `, X+ E: A) A- V* w  V
  5. ;;;;;;;;;;;;;;;;;;;
    * z  J, E! r0 W' F# t  X% v2 [
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 F* ^0 R5 ]7 a7 B
  7. ; configuring many of the aspects of PHP's behavior.9 ^2 U! @6 v2 ?2 l5 K
  8. # g% `5 b. @2 g
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ; B4 l, x& y9 k/ W4 Q
  10. ; The following is a summary of its search order:3 \2 R+ \. C+ U  q% C+ @# b
  11. ; 1. SAPI module specific location.
    6 W9 R1 V  ^" E5 n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! C2 f  F+ r5 J& R. b7 q
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    * n7 Q: q! d* ?. H
  14. ; 4. Current working directory (except CLI)% u1 V3 I. Q/ V, N5 F) W
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 o9 M7 ]) d  C: ]* ~" N& y, k) K; H
  16. ; (otherwise in Windows)
    8 l, P1 h5 o1 C7 }( e, [6 q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    * \& q: V; H8 r  G6 J
  18. ; Windows directory (C:\windows or C:\winnt)
    ; m/ u& J$ a  J4 V4 l8 p2 `
  19. ; See the PHP docs for more specific information.
    * d. h4 s( ?, i6 f# i
  20. ; http://php.net/configuration.file( B: j  m" V; P! l+ B2 [

  21. . t* t" r7 P6 A4 g( j4 Y9 X6 S
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' W2 c* M5 L  Z2 q, G7 O
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 R  G; H; e! D/ ]3 B% S" J
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 _1 b* o% t1 z- [  a! l: K
  25. ; they might mean something in the future.
    1 O8 }6 b0 m1 \! e' H

  26. ' T' b( x6 @* s  Y$ W9 L2 Z! @
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " @0 d3 Y3 w# j. p3 ]) e
  28. ; apply to PHP files in the /www/mysite directory.  Directives
      A5 A$ s. N- J7 ~
  29. ; following the section heading [HOST=www.example.com] only apply to
    ! b0 V- J) S8 P
  30. ; PHP files served from www.example.com.  Directives set in these8 B& C5 q  ]" Q' u; v/ j
  31. ; special sections cannot be overridden by user-defined INI files or+ d; @% I* |1 j& O6 p( V( n6 H
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: R" z1 U0 q, W5 ^6 F
  33. ; CGI/FastCGI., o  T) }1 K. z6 V! T
  34. ; http://php.net/ini.sections7 `) N+ g+ Q5 @6 [6 h1 P7 p6 z: X* t  E
  35. 2 G5 ~# r6 @- _0 H% o4 D
  36. ; Directives are specified using the following syntax:; z* S, I: d5 M; g. }/ `
  37. ; directive = value* C9 v, S; U0 G9 M
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.- Y, Z1 m# T. }* i7 {  C
  39. ; Directives are variables used to configure PHP or PHP extensions.  d- C9 w! d) F" h- h
  40. ; There is no name validation.  If PHP can't find an expected1 d4 w% j1 d, T' G
  41. ; directive because it is not set or is mistyped, a default value will be used.7 j% t' A* X; O, S! b; ~0 @
  42. ; j6 a: b: ]9 V7 K  @; A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' m* f( u( b( {9 Q8 X& [  }
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 x; Q0 Q5 y1 P# C3 p% I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 W6 [( x) \8 r
  46. ; previously set variable or directive (e.g. ${foo})
    ; d* z8 F& }; }" U: q3 |

  47. $ ~  z- @% z, F5 k( q" p
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  ?# J, \- h% O" h! L! q/ z- ~& ]5 z
  49. ; |  bitwise OR2 h/ P+ I. I6 k( N8 Z
  50. ; ^  bitwise XOR
    . G5 k+ @: ?& ~6 \4 N6 S, |
  51. ; &  bitwise AND( j  @2 ~" ?; u. P" n( L$ G
  52. ; ~  bitwise NOT- h. }! {, L& c
  53. ; !  boolean NOT$ t0 b0 s$ Q% b. M
  54. 8 M" _2 l) ?1 T
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    4 x' q& N  n8 P* t: t" Q
  56. ; They can be turned off using the values 0, Off, False or No.
    3 D9 k' E8 N9 V+ E1 u: w# i
  57. 8 [8 o! ^  A4 f2 G& G: e
  58. ; An empty string can be denoted by simply not writing anything after the equal% n/ b2 T/ L5 p0 D) E2 t
  59. ; sign, or by using the None keyword:% V, ]7 A% r' S4 {

  60. / p/ m* M* @5 G/ w! x) u% |# j
  61. ;  foo =         ; sets foo to an empty string% b4 b7 S* k6 z  H
  62. ;  foo = None    ; sets foo to an empty string
    4 v% ]. d2 O7 P, B5 e
  63. ;  foo = "None"  ; sets foo to the string 'None'6 I9 I  Y/ Z$ q6 ~0 V. ~. T& c* {

  64. ( i' I/ b1 X" w4 \- A4 h
  65. ; If you use constants in your value, and these constants belong to a$ W; s6 Z% k- i' Q0 S: S8 r
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    . P0 }/ j# S/ `$ Y7 f7 Y
  67. ; you may only use these constants *after* the line that loads the extension.& X5 x* O+ O8 U) X

  68. + [7 x- h! v3 }9 P7 }
  69. ;;;;;;;;;;;;;;;;;;;6 x" t6 N6 D' G8 B1 z; M% `4 E4 V
  70. ; About this file ;
    3 \$ F" [9 I1 d& t& Z: I; D! ?
  71. ;;;;;;;;;;;;;;;;;;;$ j+ W6 O2 s* W1 v* }, t
  72. ; PHP comes packaged with two INI files. One that is recommended to be used2 |7 ^) E* m3 u, |, W6 k
  73. ; in production environments and one that is recommended to be used in
    0 F9 v1 \: g1 L4 [
  74. ; development environments.# |/ T/ m3 j% U6 R

  75. ; N0 f: A- j4 O2 l# J" l
  76. ; php.ini-production contains settings which hold security, performance and
      H7 \4 N% ?; J- c1 @- x; R) \
  77. ; best practices at its core. But please be aware, these settings may break- Z6 W/ C: L0 S4 e7 `5 |
  78. ; compatibility with older or less security conscience applications. We
    % I! s9 d0 M! j/ I( Y4 R
  79. ; recommending using the production ini in production and testing environments.9 Y- _& G. R  ~
  80. + r3 C6 z' R! M  x$ x
  81. ; php.ini-development is very similar to its production variant, except it is
    - e1 d% T2 X$ _$ q5 U, A0 u
  82. ; much more verbose when it comes to errors. We recommend using the
    0 K0 `- ], F. r8 G8 S! S
  83. ; development version only in development environments, as errors shown to" N( J- e% H# f1 \# b
  84. ; application users can inadvertently leak otherwise secure information.
    5 t( d, ^1 R% e/ ^- y! j+ S/ _
  85. ( @' ^6 @4 b5 a+ m. }3 i$ K
  86. ; This is php.ini-production INI file.+ P' S1 C. [% B

  87. 9 z, u9 L4 s! T# Z0 Z
  88. ;;;;;;;;;;;;;;;;;;;2 E/ m* X4 S1 f$ t; s  R6 ?
  89. ; Quick Reference ;
    $ E9 Y' M  @* V+ F2 s+ ]1 [
  90. ;;;;;;;;;;;;;;;;;;;0 j) ^* ~, [6 g, D% Q. Y
  91. ; The following are all the settings which are different in either the production0 ]& ^. @* S# e! N& ]: k( k5 N8 m
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    & ~- d! d/ g8 h. a: @
  93. ; Please see the actual settings later in the document for more details as to why
    9 q! L' Q, ?; ~# z* i+ f, H& N, c' B
  94. ; we recommend these changes in PHP's behavior.
    & `8 N6 ]( T' g( O
  95. 1 h$ N& ]3 e$ t; _
  96. ; display_errors
    " M" P3 z' y5 B. K8 o# _
  97. ;   Default Value: On
    * K, u; \) t  d' g; S
  98. ;   Development Value: On+ j, Q) |8 `$ T* A4 Y# R; X4 O- \
  99. ;   Production Value: Off9 }# |0 C! |" F! E* k! Z

  100. : t$ x+ K0 p: k7 T- A$ C
  101. ; display_startup_errors0 i5 S; h+ L, [- |$ [: \$ ]( Y/ \8 X
  102. ;   Default Value: Off( P& {8 W* X9 }% N$ C1 W
  103. ;   Development Value: On
    5 \; H: z" v% b+ i  h/ ?( Z
  104. ;   Production Value: Off
    8 r' r- v" r9 d& t, e- l0 c. ?. k

  105. 7 f3 A" m1 d- x  D  m% H4 _
  106. ; error_reporting
    # x  B2 R) y6 w8 }1 e/ U" d, j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , j" K4 l" v7 v! T
  108. ;   Development Value: E_ALL1 ~- d7 p' d" p* u+ Q' C7 A
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 n% [, s, p0 L  D  ?! Y6 L4 j! }
  110. 0 h6 h( S% G) T3 R
  111. ; html_errors
    6 U0 U2 f2 V: u
  112. ;   Default Value: On
    * f2 P1 Q  L, K4 v* [
  113. ;   Development Value: On% ]6 F, n8 O( W4 H3 M7 S: ^
  114. ;   Production value: On
    7 Z# |4 z3 ~  r8 @* x1 K
  115. & G- A2 W; e* y2 x. R8 S3 F
  116. ; log_errors0 Y& [9 C5 h' u$ p9 s
  117. ;   Default Value: Off
    - |3 k; b) ?3 A. q" @" F" I8 |! |
  118. ;   Development Value: On) C* i) x: Z7 e% ]- n+ \
  119. ;   Production Value: On  z  @, d. `4 o+ b6 M4 p! ^

  120. % Z# W6 H4 u, M# b
  121. ; max_input_time, A$ e: x4 l) a) T" J
  122. ;   Default Value: -1 (Unlimited)$ U+ M+ S2 a  i  i& r  x
  123. ;   Development Value: 60 (60 seconds)3 ^; n/ |5 {& Y3 A  o5 ?, k
  124. ;   Production Value: 60 (60 seconds)
    ; @% U2 C4 H3 y  {# V+ m

  125. ! r+ W& b5 Q; Q2 N" f6 P2 a
  126. ; output_buffering
    ; l8 G& J0 H: K0 L6 r+ D) A
  127. ;   Default Value: Off
    , ^5 h/ `# ~+ H$ |$ @( P. C
  128. ;   Development Value: 4096- r7 V: N5 U0 D
  129. ;   Production Value: 4096/ i# W9 ^- p9 k- n! J$ O& W
  130. 2 @) ]" A& ~; Y- d7 B
  131. ; register_argc_argv; Z+ A+ V( K: I5 x5 j$ ~- \; d
  132. ;   Default Value: On+ D0 H8 O+ |$ d; \' i  j
  133. ;   Development Value: Off' k# p- V4 \+ ]" S8 o# k
  134. ;   Production Value: Off* G; r. U( V- |& n, P+ @
  135. % s  ^$ `" p* X/ {+ k4 i
  136. ; request_order
    2 Y' q, _2 m2 J& X8 Z& f
  137. ;   Default Value: None
    " d' p/ s' i: W2 s( w
  138. ;   Development Value: "GP"- F1 t# a1 P$ i( h8 Z* q
  139. ;   Production Value: "GP"% f3 l! ~, F& p* [, m& c+ m- Z
  140.   Q- |9 g( D* ?. h3 ?
  141. ; session.gc_divisor
    - |" U2 U9 F. ~8 H* A4 ~
  142. ;   Default Value: 1004 K% k# a* r$ A3 B: \" q8 ~; a
  143. ;   Development Value: 1000
    9 @/ g" C( i* W% p
  144. ;   Production Value: 1000
    6 [1 m/ V+ [" a3 `) M
  145. $ v, j; K* V& j) Q% L6 H# Y* a" P
  146. ; session.hash_bits_per_character
    ) `5 C) M5 ~/ j( ^
  147. ;   Default Value: 4
    1 ]  {0 P0 c8 `, f6 y, X
  148. ;   Development Value: 5: E1 [/ b/ @) S4 e. w) T
  149. ;   Production Value: 5- o+ U1 d. Q% F9 x
  150. 7 `0 Y% m/ l9 P9 z. ?
  151. ; short_open_tag$ u9 j: B0 a8 B
  152. ;   Default Value: On
    . X6 a5 y$ b; X8 x
  153. ;   Development Value: Off
    - D6 e* Y$ ?( w, I
  154. ;   Production Value: Off
    $ \5 A1 R0 `) N2 ~3 p6 `/ t, P

  155. % C1 \6 N1 N  q9 ?
  156. ; track_errors2 o& o0 |8 U6 W, k! x) N
  157. ;   Default Value: Off
    1 q# v: r9 l* O& X
  158. ;   Development Value: On
    ; i& g: ?8 L+ a" Y! [' p5 I0 A
  159. ;   Production Value: Off- k; r: c" u9 z8 B
  160. & i# @/ r0 N) g* p0 ]9 x$ q3 X! K
  161. ; url_rewriter.tags
    0 k, p" W. r% U) a
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": J" W$ F( B4 W. s. a( H
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% j, l7 J5 t. B2 F! b" U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) h9 z1 U, n- `1 ^

  165. 9 F/ l  e) W2 H4 m7 q) R
  166. ; variables_order
    6 }5 F) N  P. z, _; Y6 N2 T4 O6 L  M
  167. ;   Default Value: "EGPCS"
    * @: Z0 p$ I, ~  x& I
  168. ;   Development Value: "GPCS"# _3 L8 ?" }# g* b+ i
  169. ;   Production Value: "GPCS"
    $ X$ _+ U7 e4 b# s' `5 d+ [

  170. 6 H2 ^7 N: M0 Y% S* |0 F
  171. ;;;;;;;;;;;;;;;;;;;;  q* q& D' E8 b8 h2 {( B3 V6 s7 U
  172. ; php.ini Options  ;* D8 o# P! o9 R
  173. ;;;;;;;;;;;;;;;;;;;;7 o; u$ Q4 _: @) l: J: @
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      g% N( @8 N* N: h( K9 F$ m
  175. ;user_ini.filename = ".user.ini"/ X0 c7 |, v' y0 r. c

  176. " N$ ~. C; s1 q( w$ ]: c; ~% ~
  177. ; To disable this feature set this option to empty value$ \* u5 O, l  g  P- w
  178. ;user_ini.filename =" l1 J9 T! m& X+ k! t; u
  179. ) o5 p1 A+ [; {5 @+ o
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)2 ~/ n/ I8 }- W2 d& L
  181. ;user_ini.cache_ttl = 3009 H/ N1 I8 e" u7 O1 }' C! ~' j

  182. ) ?4 z% k# o. A2 Y+ c( C8 O
  183. ;;;;;;;;;;;;;;;;;;;;
    1 \0 F* `8 q/ j9 y5 K7 c3 Q
  184. ; Language Options ;
    " F  q: Y9 w, I% Y6 @$ X
  185. ;;;;;;;;;;;;;;;;;;;;9 }" z0 ?! j. x
  186. ! M9 }! o3 E9 W( y% T
  187. ; Enable the PHP scripting language engine under Apache.
    5 P( R0 V- a9 o  f& |. O* _
  188. ; http://php.net/engine% g% {6 V1 I8 Z; `( L  N$ Y
  189. engine = On
    : A7 C/ z- U% ?2 @

  190. * {$ F) F5 C7 m& M  u
  191. ; This directive determines whether or not PHP will recognize code between& K" m6 ?# \( N6 t  `- ^5 p" y2 d6 a
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    4 |6 k/ L1 D8 T$ Q
  193. ; generally recommended that <?php and ?> should be used and that this feature5 |* C( S/ D0 j+ h  Z* {
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 K+ |4 H( A8 p) M0 [9 N7 `% b
  195. ; documents, however this remains supported for backward compatibility reasons.# q4 X- M, G4 v
  196. ; Note that this directive does not control the <?= shorthand tag, which can be: y9 O+ A7 Z* J! Q7 ~
  197. ; used regardless of this directive.
    : q5 o: O7 p: K; q0 Q
  198. ; Default Value: On
      H+ {. L- o* q) W4 E* G5 H8 e
  199. ; Development Value: Off6 G% O" j. h$ [0 S! G6 d1 y
  200. ; Production Value: Off
    ! C0 C6 R' {  h. ?3 t" J: W( I
  201. ; http://php.net/short-open-tag
    7 V" S4 ~- h, u! \
  202. short_open_tag = On
    / r0 i: }: x! U

  203. # I2 W) i( U. P
  204. ; The number of significant digits displayed in floating point numbers.
    # V( T7 K0 A. m; B+ b
  205. ; http://php.net/precision
    5 `! G. Y) q' h' b# z
  206. precision = 14
    ; O- d& D; H9 a6 ]! I% h

  207. 1 M: f6 L$ A  Y
  208. ; Output buffering is a mechanism for controlling how much output data
    $ \4 {5 s0 X0 E% r' b
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that, y+ T# t) O" O0 ~2 p$ p
  210. ; data to the client. If your application's output exceeds this setting, PHP
    5 n" i) ], D+ r  F' b. i; y
  211. ; will send that data in chunks of roughly the size you specify.. R+ b7 v" ?  X- U$ T( e
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    - W1 F" Q- t- H) K6 h! M- R- S
  213. ; interesting side-effects depending on your application and web server.) Z& l$ d* [, o! @5 ~2 K
  214. ; You may be able to send headers and cookies after you've already sent output
    % P, |- X0 j  b" h6 C
  215. ; through print or echo. You also may see performance benefits if your server is7 I! b1 i' W' [  @& F: p9 c( L
  216. ; emitting less packets due to buffered output versus PHP streaming the output( _. x. `& J! a2 K  J0 _* w
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    5 l+ g  j* Y  s/ U  O% c" m
  218. ; reasons.. j1 X+ O. W4 P: O" V: n: w0 B  Q! }
  219. ; Note: Output buffering can also be controlled via Output Buffering Control% j( s6 j' p$ ?1 t
  220. ;   functions.
    , q* l8 B$ J( ~9 q( c0 P  R
  221. ; Possible Values:2 O( J3 r1 @+ o! V2 F, {
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    . k$ W6 p- g( |+ K
  223. ;   Off = Disabled
    : [, A9 `% {! z
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.2 K. H* k+ q' I' O
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 n9 Y5 f: c' P* L3 k* E
  226. ; Default Value: Off& R! b2 e( ?6 C; [3 M- v
  227. ; Development Value: 4096# V( @, P7 n% P: V$ l
  228. ; Production Value: 4096
    . p: \  ~5 \6 E- M4 _) B, |- o
  229. ; http://php.net/output-buffering$ q* x- Z( L0 x  O8 ]
  230. output_buffering = 40961 g- p" z4 D$ g

  231. " }' }& l8 [" y+ J  h2 f) P  v: J
  232. ; You can redirect all of the output of your scripts to a function.  For. i+ Y& _9 O( V
  233. ; example, if you set output_handler to "mb_output_handler", character9 u! \3 X4 X9 N( P
  234. ; encoding will be transparently converted to the specified encoding.% H$ S, c7 M/ [
  235. ; Setting any output handler automatically turns on output buffering.& {7 F( I1 G- m7 a: @) O: v
  236. ; Note: People who wrote portable scripts should not depend on this ini
    % q% a5 M$ G9 \  M1 d
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    4 o# I' r/ L. a7 O7 Y
  238. ;   Using this ini directive may cause problems unless you know what script
    , ?; j$ P0 J  U( X) c, E5 X7 C) G
  239. ;   is doing.% L7 l2 }- ~$ A' `8 Y5 v4 x8 C2 L, u
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    5 J" @0 b4 H  [* y$ @4 b% p: F1 U
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".- h8 d! s) |0 r) P( J* l
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( m# `/ b, N9 ~0 ]4 E6 \  u
  243. ;   Instead you must use zlib.output_handler.* e' @7 r, Q# F; g: \; m- x
  244. ; http://php.net/output-handler4 n* Y6 S5 U' {' ?& a
  245. ;output_handler =: ?  v+ o" m; G' I2 Q4 W( B

  246. 8 U) g+ ^1 G: s8 X
  247. ; Transparent output compression using the zlib library
    & Z4 a) Y9 O4 Q* J7 k+ P5 @
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + _) ?) p% n5 E7 m* Z1 E
  249. ; to be used for compression (default is 4KB)
    ; T+ h& H- a0 o
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP4 E, p1 j( w  R) `+ W" D9 I
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ( n4 a( ^/ p4 B% C2 l
  252. ;   compression. If you prefer a larger chunk size for better# I  A6 C5 U0 Z6 F2 T/ N8 v6 W% \
  253. ;   performance, enable output_buffering in addition.5 M4 W9 y3 q/ J1 K4 y5 O4 e" ?9 R( H
  254. ; Note: You need to use zlib.output_handler instead of the standard
    % C5 K! Y8 g  g) S& {& R
  255. ;   output_handler, or otherwise the output will be corrupted.. x9 ~) |0 ^4 `
  256. ; http://php.net/zlib.output-compression
    $ H" G" ], l, D) |1 m/ a2 U" H' O
  257. zlib.output_compression = Off; i$ y' U% h) G& B6 F, P
  258. / I# f; `- }: q" H, k6 h
  259. ; http://php.net/zlib.output-compression-level
    2 E, D- H- D3 \' {' u0 u/ a
  260. ;zlib.output_compression_level = -1
    ' j8 l/ I# ?- E4 y
  261. 1 S' Y% {+ q8 e
  262. ; You cannot specify additional output handlers if zlib.output_compression
    ) o9 L/ Y9 c: z" o% B: Q' l
  263. ; is activated here. This setting does the same as output_handler but in, e# e0 L9 ?3 |' \+ k0 p
  264. ; a different order.
    + c  t" s% P, d0 O# x/ ^+ u6 ~0 T
  265. ; http://php.net/zlib.output-handler
    $ o/ t& h7 T. V+ H6 Y- m3 x
  266. ;zlib.output_handler =: |5 V, M0 f# i) M5 l: u
  267. : x5 U+ F: B3 k# s* A
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ( V; [% }3 I  b/ ^
  269. ; automatically after every output block.  This is equivalent to calling the7 m1 \1 `  N* Q
  270. ; PHP function flush() after each and every call to print() or echo() and each
      p: v- L4 U! p
  271. ; and every HTML block.  Turning this option on has serious performance4 [% c0 F4 H+ j. q3 h7 g
  272. ; implications and is generally recommended for debugging purposes only.
    $ r' E- W; J: f% ~/ z/ O/ r7 O
  273. ; http://php.net/implicit-flush5 Y% |. K6 u  Q2 t3 ~$ S
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 g& f/ Q" z7 ]7 w$ [
  275. implicit_flush = Off/ L0 x! `* q6 ^) Q

  276. 5 k0 Z0 M. r& P# L% a" N
  277. ; The unserialize callback function will be called (with the undefined class'
    / y3 |% T6 E/ m" N( U
  278. ; name as parameter), if the unserializer finds an undefined class( A' r2 @, P7 O6 B
  279. ; which should be instantiated. A warning appears if the specified function is
    : M& l# y& E- S9 W- q, g( e
  280. ; not defined, or if the function doesn't include/implement the missing class.
      g' l% F; b; s/ y# v0 W
  281. ; So only set this entry, if you really want to implement such a4 \. m7 J) c; c$ F; M
  282. ; callback-function./ m2 J& s6 w/ u/ ?
  283. unserialize_callback_func =
    9 c) A) L% V5 i& q/ \3 B
  284. 0 f& m$ u+ B; t2 f7 \
  285. ; When floats & doubles are serialized store serialize_precision significant. o2 G4 }* S0 w5 G& t
  286. ; digits after the floating point. The default value ensures that when floats
    9 o4 K, q# Z$ z$ J# K  ?% ~
  287. ; are decoded with unserialize, the data will remain the same.
    1 j: }# U. g9 e7 E
  288. serialize_precision = 17
    ; H' D) G) T6 i; a# y6 R
  289. / a# e( ^/ |: _* K
  290. ; open_basedir, if set, limits all file operations to the defined directory5 I, Z" d  E' {
  291. ; and below.  This directive makes most sense if used in a per-directory( y: P) r. d) R) Y
  292. ; or per-virtualhost web server configuration file.3 Y) }4 a+ H8 I+ j4 R
  293. ; http://php.net/open-basedir
    * R: h# H) L( m! i. a
  294. ;open_basedir =; N* e: [) G0 M4 k& i
  295. : E# Y+ [7 ?4 c
  296. ; This directive allows you to disable certain functions for security reasons." @. k  S4 L& m' ?2 J% {( I" L
  297. ; It receives a comma-delimited list of function names.
    6 F! @9 i2 Y" F' b, a7 ]. F$ k! M
  298. ; http://php.net/disable-functions  ?- y1 f+ P. E+ S5 d1 f0 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
    ) S) H$ b% W; m0 r& y: \* P

  300. : J* O5 y* G8 T
  301. ; This directive allows you to disable certain classes for security reasons.8 D& z  @6 r, ]5 d4 _
  302. ; It receives a comma-delimited list of class names.
    8 J2 t0 h% ~2 o7 z& S& G. V
  303. ; http://php.net/disable-classes
    8 p# v2 @3 Q0 b3 w& W
  304. disable_classes =5 q6 Z( ?  B3 h

  305. ; @5 T! @4 ?" U. V( V, H  n" Y7 m
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    & q5 k  V8 ~* t. u9 \8 t; W
  307. ; <span style="color: ???????"> would work.
    0 i+ \! _) E+ e5 C
  308. ; http://php.net/syntax-highlighting+ u! d3 X. L# i5 c
  309. ;highlight.string  = #DD0000
    % ~: g) Y2 H1 t% }6 h/ h
  310. ;highlight.comment = #FF9900
    + G% }5 ~. J* L! r2 G* Y
  311. ;highlight.keyword = #0077003 H: Z; S0 S# d3 K( n4 A
  312. ;highlight.default = #0000BB
    * p0 b/ T( t6 A  t
  313. ;highlight.html    = #0000006 a4 _0 }* ?/ j( M" l: X: Q5 X
  314. 2 M8 k$ l% J1 r2 B4 I) v! ]0 T5 e2 z
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    5 R, T/ W+ C3 v7 s8 n# N# @- u9 L& P8 V
  316. ; the request. Consider enabling it if executing long requests, which may end up
    . M% n. E  b& k+ s
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior/ }. K* O9 R( ^5 s3 H0 O2 g
  318. ; is to disable this feature.
    . {! m) M* a* ~7 i7 y: M5 x" }
  319. ; http://php.net/ignore-user-abort7 Q- E# d5 Q. G6 C1 z
  320. ;ignore_user_abort = On  @3 n, H! h) g
  321. $ Z9 i4 h2 X8 e: o" K! J( ]
  322. ; Determines the size of the realpath cache to be used by PHP. This value should4 m0 }2 \5 p# d5 Q- v8 f
  323. ; be increased on systems where PHP opens many files to reflect the quantity of) x! _5 q5 y  {7 I, r
  324. ; the file operations performed.# a' K  u, U2 {2 c9 y& R2 S8 S1 p
  325. ; http://php.net/realpath-cache-size6 h; [, B9 w  i9 E& @
  326. ;realpath_cache_size = 4096k
    5 e  [( {$ O5 c# h" o1 p  |$ }' U1 l0 P
  327. 3 G4 w$ f$ D. o4 ]4 m6 [/ p
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    1 F3 M. O% I& f+ K# @9 i3 O
  329. ; file or directory. For systems with rarely changing files, consider increasing this: o, P$ P* k# B+ R
  330. ; value.& q) l7 F- z, S  ~& z6 _4 _
  331. ; http://php.net/realpath-cache-ttl
    ) O) H) n. O  f5 _+ S# b4 Y
  332. ;realpath_cache_ttl = 1203 @9 e9 O) N0 S3 l
  333. 3 i& B& L; _$ M# i( F
  334. ; Enables or disables the circular reference collector.! ]( e/ H/ Y) p- i( J/ R5 {
  335. ; http://php.net/zend.enable-gc
    ! ~1 ]) P- i/ S  [% w0 ^1 O% S! S
  336. zend.enable_gc = On
    * T0 [% F) q8 \% z7 d
  337. 6 p2 g6 C# G4 I- Y$ f% ?% m& m! L
  338. ; If enabled, scripts may be written in encodings that are incompatible with5 i/ s1 J2 u9 _# _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 C3 ?7 R& c' H0 r; n
  340. ; encodings.  To use this feature, mbstring extension must be enabled.& _: d! W  }- r
  341. ; Default: Off
    9 q- E- g( v! ]/ w* w/ e: e
  342. ;zend.multibyte = Off
    . L: }9 |1 R" v, _0 O
  343. - l$ G. [9 z+ |( z, l
  344. ; Allows to set the default encoding for the scripts.  This value will be used- J# `' B! Q" p7 x8 R
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.3 P2 q2 e8 |6 b8 e
  346. ; Only affects if zend.multibyte is set.  L  ?3 Y/ L- F* |2 s$ |
  347. ; Default: ""
    4 |9 f5 N' ^2 x" Y2 Y+ Y7 E/ ~; l  ^
  348. ;zend.script_encoding =
    2 K% _  ?: L; M* [$ _' J! e
  349. 8 Y$ ~! A4 P7 i8 z0 ^
  350. ;;;;;;;;;;;;;;;;;
    3 }9 X. ^# R! f) |
  351. ; Miscellaneous ;$ w  F( Y) s5 X6 _7 B* B/ _5 _
  352. ;;;;;;;;;;;;;;;;;
    9 {3 A! ^& h; T: z% y  C

  353. - i' {- V8 f/ Q
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    - G. J! k( H$ b4 ~
  355. ; (e.g. by adding its signature to the Web server header).  It is no security; `$ n) ?4 ]8 }1 K1 U
  356. ; threat in any way, but it makes it possible to determine whether you use PHP( k1 c* l: @* ~6 P# e# _" K6 \
  357. ; on your server or not.3 ^# A# D* V" D+ }) J) v5 V
  358. ; http://php.net/expose-php& c5 ]# W2 w2 O' v" p
  359. expose_php = On
    " |+ [. f- q: z1 l3 B
  360. 4 F: ?: e3 M3 O
  361. ;;;;;;;;;;;;;;;;;;;
    # L# F9 `* D6 }/ H6 E2 ]- R
  362. ; Resource Limits ;
    / d3 }: g$ |5 b2 s3 K3 O7 ^; c6 f
  363. ;;;;;;;;;;;;;;;;;;;
    ) s5 X  M- |; K! A7 H* T- Z
  364. 5 D' k, v9 S' ]8 d/ P% a
  365. ; Maximum execution time of each script, in seconds+ x2 x1 D+ y( Q$ b
  366. ; http://php.net/max-execution-time! k) \! Q9 Q) o
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI5 |5 P& A! ?( t4 d( i
  368. max_execution_time = 3004 t2 n/ R8 K4 o" r

  369. # C( }; k! Z( Q% g
  370. ; Maximum amount of time each script may spend parsing request data. It's a good/ a+ k" I0 r5 @* j0 [
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 N; ^  }: _/ K- ^. }
  372. ; long running scripts.
    . T4 s" A) l+ ^9 f: g
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI; j/ F; V& @% P5 c
  374. ; Default Value: -1 (Unlimited)% z2 u% U# ~, {/ U$ N1 U, f. N0 s
  375. ; Development Value: 60 (60 seconds)
    - L- Z2 g8 W9 I+ i% @
  376. ; Production Value: 60 (60 seconds)* q8 G/ i, P  N
  377. ; http://php.net/max-input-time% u* |/ G2 R% e+ E
  378. max_input_time = 60
    % r7 P* h- b. F5 N/ E: ~2 G

  379. ; V( i; H; m4 J* d/ b: @* X
  380. ; Maximum input variable nesting level" P9 B8 m  w, A
  381. ; http://php.net/max-input-nesting-level
    ) @7 T( V2 x5 n+ W# m
  382. ;max_input_nesting_level = 645 o( P* E9 x7 w2 r9 h% H
  383. ) j' |4 X' t5 [  w- u( A4 c# v
  384. ; How many GET/POST/COOKIE input variables may be accepted- o7 Y" m; V( T( I3 }8 w5 x, }* r
  385. ; max_input_vars = 1000- P1 L* A7 K1 ?6 J' y

  386. ) @$ n- {8 o8 A5 b7 ~
  387. ; Maximum amount of memory a script may consume (128MB)$ l, T4 _2 e5 X$ Z) J% x
  388. ; http://php.net/memory-limit
    * j1 C% R) H* q% f9 v
  389. memory_limit = 128M
    2 u; H, t! z3 [5 ]1 j

  390. , ?4 A& D" e6 Z2 ~( _/ |) e
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ Y) X! s$ N/ I: t, Q5 _
  392. ; Error handling and logging ;. C9 S1 F2 ]+ Z% s2 f
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# T# L4 v4 p3 K
  394. ' U8 V( `* U7 x% s+ K# y# V% P+ ?
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    3 y* e7 h, H; P- k: i$ [7 F
  396. ; it to take action for. The recommended way of setting values for this
    ( j% _. `+ J8 ^! Q8 b( j+ l
  397. ; directive is through the use of the error level constants and bitwise
    ! |$ q! `7 k% N5 d$ p% {
  398. ; operators. The error level constants are below here for convenience as well as  p2 I: v$ b5 m- @* e8 o) `. J
  399. ; some common settings and their meanings.8 c5 w/ l5 @& @; j, V* A8 b5 D* `5 g
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT5 \: m7 Y0 v  T' i
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    , G5 B- E) q& |. O0 M; Y( C6 v
  402. ; recommended coding standards in PHP. For performance reasons, this is the! l/ N/ V) \5 y. l6 Y
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    , p* b+ x8 p7 }
  404. ; resources complaining about best practices and coding standards. That's what/ R, L/ r8 N' z) ^( Z# U
  405. ; development servers and development settings are for.
    / K, q% Y! X) w6 m/ w
  406. ; Note: The php.ini-development file has this setting as E_ALL. This3 D0 L1 H9 X/ D) ^
  407. ; means it pretty much reports everything which is exactly what you want during
    ' B' r4 Y! [6 l/ t$ B
  408. ; development and early testing.& M1 n% w+ k6 }; p1 a; m$ a
  409. ;+ [7 S' z1 O) m
  410. ; Error Level Constants:
    7 G. |0 C" A8 P- U4 p4 d
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). N" I! @5 A2 t$ Z. T* ~1 Z5 Y
  412. ; E_ERROR           - fatal run-time errors; m& ]% C& u. s& ]
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " F& X8 {4 c! q. W
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    6 d, ~* w- H0 l1 ?# U" V* f
  415. ; E_PARSE           - compile-time parse errors5 w9 l6 {/ _6 W
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    . P7 x8 E; [' e, x! }
  417. ;                     from a bug in your code, but it's possible that it was
    # M! P- g8 {8 D) R" X6 K
  418. ;                     intentional (e.g., using an uninitialized variable and
    ) C! p+ g7 P5 i
  419. ;                     relying on the fact it is automatically initialized to an
      p0 s0 P  B+ ~  A- X, d
  420. ;                     empty string)
    4 ~. i5 h/ B; o# F8 n0 h
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ( R/ }  ~. g+ M- |. l
  422. ;                     to your code which will ensure the best interoperability
    ! x& Q' p0 E1 T8 M  D" s$ j
  423. ;                     and forward compatibility of your code
    - a$ J7 I  n6 B! @
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / L' D+ }( V, J2 i
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's  A/ H, E4 Z1 B2 |
  426. ;                     initial startup; G- d) b4 w$ q" D0 f- }
  427. ; E_COMPILE_ERROR   - fatal compile-time errors, p+ ]( T* _( I; w
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    8 `: d7 F2 @3 O6 N, h: N
  429. ; E_USER_ERROR      - user-generated error message
    2 u3 K$ I( g: ]3 e. j
  430. ; E_USER_WARNING    - user-generated warning message" V. s; f* p2 S6 j1 A& E9 I- M
  431. ; E_USER_NOTICE     - user-generated notice message! @0 G1 J/ Q/ Z9 V+ Y
  432. ; E_DEPRECATED      - warn about code that will not work in future versions# L/ b7 D4 f$ W2 m" T$ z; ^7 Z4 o
  433. ;                     of PHP
    3 C1 ~2 z% J# C$ _+ J9 Z# B# K/ w5 U
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings. U. K4 a3 [& ^! @' B
  435. ;  w, }) O7 `" H* f& }) b
  436. ; Common Values:9 |4 `1 {: ]. }2 r; R
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 ~6 s3 F2 q9 C
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)& ^( M$ s# ], X: W; ~2 q# P% H; Q) d
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ; ^+ c: x. S' q3 \
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( f" G$ H. e4 {, f# m
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , V6 A0 }& n$ e* a
  442. ; Development Value: E_ALL, G+ X7 \, `4 V" Y$ F+ l
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 M* ~) ]9 ^# y2 M) Y1 [( d& I
  444. ; http://php.net/error-reporting
    % R' P& O- e: d) G1 T! _9 P$ Z
  445. error_reporting = E_ALL & ~E_NOTICE
    1 I/ B& u, P5 M/ {

  446. 0 l- ~. g. ]; D1 W: ^6 l
  447. ; This directive controls whether or not and where PHP will output errors,
    * X9 o3 @8 z5 w* O% m- ^9 ~
  448. ; notices and warnings too. Error output is very useful during development, but
    . p4 [, W' p. N! d8 v: O8 h
  449. ; it could be very dangerous in production environments. Depending on the code
    + `9 a6 \' g5 F& a2 ^1 R
  450. ; which is triggering the error, sensitive information could potentially leak
    / {, o4 _, y+ e! C' L) k) y
  451. ; out of your application such as database usernames and passwords or worse., c' {+ h$ ]& j0 }, X4 l
  452. ; For production environments, we recommend logging errors rather than
    0 ]% C5 D3 Q5 P" }8 c" T' E' i
  453. ; sending them to STDOUT.
    6 [0 v- ]( N- e9 t
  454. ; Possible Values:: z$ k# h2 [3 g0 @9 s3 |# u
  455. ;   Off = Do not display any errors- z/ N& F" O- E; I: D7 j
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! {& t3 h* h4 l4 e- A1 E
  457. ;   On or stdout = Display errors to STDOUT
      [. F2 T# j3 i# W0 N
  458. ; Default Value: On
    * h0 ]( K1 l# g: }0 i  T- t
  459. ; Development Value: On( e" s6 d7 v9 R% ?& n1 W/ P
  460. ; Production Value: Off
    8 z: e# m3 E5 N7 m, n5 l" ?
  461. ; http://php.net/display-errors- V( O6 M; c# C- K" J, f
  462. display_errors = On
    * ^6 Q# Y8 U% a# M' A

  463. ! f% h+ M" l9 R) u( }
  464. ; The display of errors which occur during PHP's startup sequence are handled
    0 Q  ^& b  y' Q! a" X
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    2 Q& V7 x/ Z0 ~, o% F: T- B
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    # ?0 ^: c' c9 c+ b  n' G- q) N
  467. ; debugging configuration problems. We strongly recommend you
    # ^8 D- }1 H" d1 @6 J" C; N
  468. ; set this to 'off' for production servers.
    3 y; Z& U  B3 e# e* D
  469. ; Default Value: Off
      L0 v1 Z" [" {6 Y1 j
  470. ; Development Value: On5 r/ J( e4 f1 V8 c1 i! ^1 O3 U
  471. ; Production Value: Off
    # a' M) G* N) M1 ~4 m$ D6 ?
  472. ; http://php.net/display-startup-errors
    & x7 ]7 u5 h3 l6 M9 E8 h
  473. display_startup_errors = Off$ S- @$ \! m/ C, i3 [1 z
  474. - ?7 g: [' n" ]* f( z
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    + B3 b5 D1 p0 U
  476. ; server-specific log, STDERR, or a location specified by the error_log
      N( _$ Y  L2 w
  477. ; directive found below. While errors should not be displayed on productions
    ' J# f4 a/ s5 U  B6 Q6 a, v: q4 _: W
  478. ; servers they should still be monitored and logging is a great way to do that.
    / K5 @7 S) u7 M$ B
  479. ; Default Value: Off( w0 N9 j6 ^. z& f' ^
  480. ; Development Value: On
    & |" O$ g* l+ ]3 b
  481. ; Production Value: On
    % p, i' G- R; Z$ t$ V
  482. ; http://php.net/log-errors/ d. e; g8 n0 Z
  483. log_errors = On
    ; ?. K) ~3 o$ t# d* P3 v( p

  484. ) w3 N8 ]  C' P' t4 p
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ) w- M$ Q3 U0 Q% a6 s
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.0 x' r+ b$ C, g, h
  487. ; http://php.net/log-errors-max-len
    + U; K& y! R* ?: m: A2 C6 L3 @
  488. log_errors_max_len = 1024: k: `* B8 w6 l  T

  489. 7 i8 C& F" M* |! N* Z
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same( M7 I3 n' u5 }
  491. ; line unless ignore_repeated_source is set true.) `) ?' N  W9 o  v
  492. ; http://php.net/ignore-repeated-errors
    : O, q, d! K4 `1 Q
  493. ignore_repeated_errors = Off
    9 {; P8 W5 @& \% V; N3 j
  494. ! o* z7 q' n1 a1 l- p& D# U7 _
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    1 O/ r6 {: T$ ~1 r
  496. ; is On you will not log errors with repeated messages from different files or9 }' q5 q" W  W0 {* }/ N9 i. @
  497. ; source lines.
    . W  ]* Y& v$ l9 y/ j
  498. ; http://php.net/ignore-repeated-source8 }8 G- \' B' x1 P5 f+ @- }% [
  499. ignore_repeated_source = Off: N4 N; }3 C4 l: Y& {4 Q

  500. & u$ ~( @7 h1 e- O
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on' {' I0 U6 I3 ~+ F
  502. ; stdout or in the log). This has only effect in a debug compile, and if0 ]; ~  T  ?- h
  503. ; error reporting includes E_WARNING in the allowed list" w& q( r+ X+ b- f0 j. [7 r
  504. ; http://php.net/report-memleaks
    . ]1 L) Y  |$ y% f
  505. report_memleaks = On
    * @; J% S7 t5 M2 }) q& L
  506. 9 b  \# M: J+ t
  507. ; This setting is on by default.
    ( `  s  v  @( G
  508. ;report_zend_debug = 0
    : A7 }  [1 [9 N) V  `3 q
  509. $ E* `  h8 I: C
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    8 g  Y0 z& u. n' A! Y0 f/ D3 ?
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    2 u6 w' J/ r$ O
  512. ; however be disabled on production servers.
    ( N! }1 H$ V$ e9 S
  513. ; Default Value: Off/ t+ u6 o; c# @9 U
  514. ; Development Value: On$ D* o# x/ e7 b, B8 J8 {" y$ g$ F6 j
  515. ; Production Value: Off
    9 F$ }* s; h) s. Q, n
  516. ; http://php.net/track-errors% f1 C: V  }6 d0 p" G
  517. track_errors = Off
    3 \/ w2 S4 s$ E$ V: U3 \6 u

  518. : ]( W& R' K! B2 T7 ^( e" S3 V
  519. ; Turn off normal error reporting and emit XML-RPC error XML2 b0 ~6 g  ]  D! v
  520. ; http://php.net/xmlrpc-errors
    ! @5 Y+ N( T. a! |/ s
  521. ;xmlrpc_errors = 0
    . w/ I2 G# L& h( }( S+ j/ _$ L/ \

  522. + b: S8 x5 H( R0 _2 u
  523. ; An XML-RPC faultCode; \/ o: ?" ^; t& g
  524. ;xmlrpc_error_number = 0& C9 b( l1 ]/ G+ {1 n
  525. 8 D0 B5 e, z) R, }+ Z3 J; j# I# z
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    - @+ ]- T1 N* F& h' A( T
  527. ; error message as HTML for easier reading. This directive controls whether
    $ S8 Q* ^0 [2 r( }  w  ^
  528. ; the error message is formatted as HTML or not.
    7 `5 g. m. E& q9 p' M7 w/ h- G
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 C9 d3 C2 B+ B+ N$ `8 l
  530. ; Default Value: On7 Q$ r  k2 ]. E6 S; C" E, k' ?' G; }
  531. ; Development Value: On
    / K9 v* @' o& T+ R) Q
  532. ; Production value: On( m% K+ c- e! W% h
  533. ; http://php.net/html-errors1 {1 z1 B) S. S. z% ^# D
  534. html_errors = On
    ' @7 [# R% v( h9 X
  535. 2 M% ]! f; M- u9 d* z0 k* p
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    9 C8 N) M; I  J, E6 c% d5 T' o
  537. ; produces clickable error messages that direct to a page describing the error
    . R6 [0 X. g9 D8 T: {: S5 J
  538. ; or function causing the error in detail.
    $ M! a* H' {$ r# Z. Q
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ; O& b5 ?, F1 S& ?0 ^7 f
  540. ; and change docref_root to the base URL of your local copy including the) ?: S# U  u. c/ @( D$ K; y
  541. ; leading '/'. You must also specify the file extension being used including
    9 n, j+ f3 r1 E6 F0 B
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which! V. M- U2 E. n' O  i6 Y6 m
  543. ; case no links to documentation are generated.0 ^$ g. a7 C, f& f. x! B
  544. ; Note: Never use this feature for production boxes., c- B8 _! q" k8 X6 ]# @& y
  545. ; http://php.net/docref-root, T0 Y8 a  Z& [5 C3 J
  546. ; Examples
    7 W) a/ X' m/ |
  547. ;docref_root = "/phpmanual/"
    3 U; L0 [( D/ c5 m& M# D5 m

  548. / P8 d0 W2 T8 e0 p' V1 K& [
  549. ; http://php.net/docref-ext
    $ g: X  r  \  F$ ]6 w$ I! H+ E( o
  550. ;docref_ext = .html" e3 l% W% G5 M+ ^) C6 J" m7 y+ @! L
  551. / k! h' g  C+ u) h# p- Y
  552. ; String to output before an error message. PHP's default behavior is to leave
    ; s7 u0 R6 j! S( x9 ?, L4 z% X, m' ~4 H
  553. ; this setting blank.
    6 n; u; E  u3 w1 H- g
  554. ; http://php.net/error-prepend-string) X) i! L9 ?( e$ l% {
  555. ; Example:1 N& _# n/ c$ G  _9 X
  556. ;error_prepend_string = "<span style='color: #ff0000'>"( A8 ?$ J+ ?4 C+ Z( a

  557. ; P' f7 A: \' r% i$ U1 |4 X& w
  558. ; String to output after an error message. PHP's default behavior is to leave
    $ q; h" f1 q% c# [# s8 {- D
  559. ; this setting blank.
    6 A/ |% q: D: X: y. |: a3 [, h
  560. ; http://php.net/error-append-string' O: w+ K! r- p7 `9 p/ L" `
  561. ; Example:1 G4 W" d, m/ V
  562. ;error_append_string = "</span>"
    + A7 Q8 |; ]+ u. [
  563. & ^+ ~6 t4 [6 v& {5 x* |6 |: \$ o: h
  564. ; Log errors to specified file. PHP's default behavior is to leave this value9 u& R( l1 n- s+ j
  565. ; empty.
      M& T$ [& t: q# t! J! @% W; J8 d0 Z
  566. ; http://php.net/error-log
    - ]3 R; Y3 g4 ]' g3 `7 M) z
  567. ; Example:$ Z1 j! l1 h0 a) d1 q
  568. ;error_log = php_errors.log
    4 E4 R! C: i( G3 g
  569. ; Log errors to syslog (Event Log on Windows).
    $ J" i  x( X6 t, k# [; |& h% `$ Y
  570. ;error_log = syslog
    0 `. L2 p  a, Y1 }. v
  571.   v0 {2 O; \7 f4 p. g, k
  572. ;windows.show_crt_warning- [1 q6 `8 Y6 t! J7 J' r* r: A
  573. ; Default value: 0
    $ e8 Y4 d4 D% M" ]  A8 ^0 t+ c
  574. ; Development value: 0
    ( j4 Y& h6 a9 C# L* \
  575. ; Production value: 0
    ) E6 B+ n, K# ?$ z, f5 W
  576. 5 {" I$ a, w9 t( ]
  577. ;;;;;;;;;;;;;;;;;" k8 D1 k# V5 C3 I6 F! \6 M8 w/ s+ b' L' X
  578. ; Data Handling ;
    7 K  t$ x4 b( R% q. y! S8 Y' r
  579. ;;;;;;;;;;;;;;;;;% V: s, h, q$ V
  580. ) X/ o' p6 P# ]  D$ `6 w
  581. ; The separator used in PHP generated URLs to separate arguments.  Y- D! k1 s* x, ~4 H! E' {
  582. ; PHP's default setting is "&".+ `: o3 G0 }- D! O* Y8 ^5 f8 F
  583. ; http://php.net/arg-separator.output
    % F/ f" [0 n7 b( l
  584. ; Example:# s) ^+ t' O4 b) v7 g- ~
  585. ;arg_separator.output = "&"
    + }" Y& u) Q' s
  586. ) |& k/ c; u' S/ A0 a, J
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    , G9 l5 W# L6 w: K$ b" Z
  588. ; PHP's default setting is "&".. O" [9 v+ |# ?2 F/ l* ^1 k) H7 [' j
  589. ; NOTE: Every character in this directive is considered as separator!
    7 E& }& a/ g' ~' S
  590. ; http://php.net/arg-separator.input
    + |/ t* ]; H. q' S5 f9 v0 S2 F" M
  591. ; Example:7 D9 S5 w( T, k( y3 \' _
  592. ;arg_separator.input = ";&"
    . d" I; J& x7 g  W
  593. - G% H8 O$ O. x. w" O
  594. ; This directive determines which super global arrays are registered when PHP
      h) T' g- I" Q
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    5 U: c$ R8 o8 S% c; D, P- {* ^" r
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    . R4 y6 F3 d3 l/ K% y4 M/ V& o
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ( r8 U# e; A; G/ S5 H
  598. ; used as the others, ENV is not recommended on productions servers. You
    ) X% a9 t1 Y! S8 S! d- I- O
  599. ; can still get access to the environment variables through getenv() should you
    ) \3 @9 y. ^- B8 `- Q
  600. ; need to.- d. \" _6 z$ E: Z& l$ f1 d
  601. ; Default Value: "EGPCS"
    2 B7 R; s6 @: ~- ~4 }
  602. ; Development Value: "GPCS"3 Z: P! }0 Y- }( M$ X
  603. ; Production Value: "GPCS";
    , Y' P$ Y$ C4 z9 R
  604. ; http://php.net/variables-order( i5 U, k+ ?1 d( H$ r
  605. variables_order = "GPCS"
    + x: F. f$ j3 j$ |. `" l7 G
  606. " z# |9 |, v/ ^/ s) r: k. ~# O
  607. ; This directive determines which super global data (G,P & C) should be
    $ p/ _) O( K2 V( Y/ p) T
  608. ; registered into the super global array REQUEST. If so, it also determines
    ; X. W5 E9 \0 j
  609. ; the order in which that data is registered. The values for this directive
    - L& |1 o$ J1 A8 R
  610. ; are specified in the same manner as the variables_order directive,
    5 f0 Z# Y5 B8 X1 D' R
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    . d- K, B  j+ n5 e6 U9 w6 y
  612. ; in the variables_order directive. It does not mean it will leave the super: H( m" c/ R# h& u1 K0 e. l
  613. ; globals array REQUEST empty.
    ; s6 C! r+ m7 E3 A; ?. F7 [
  614. ; Default Value: None' E4 _) R6 r8 X% Q4 \
  615. ; Development Value: "GP"5 ~. G; R2 Q' Q" e2 r; d) s
  616. ; Production Value: "GP"
    1 O6 Y: F$ Y9 K6 z9 H' b8 L5 Q
  617. ; http://php.net/request-order
    0 p0 J2 S% W3 n% K" K
  618. request_order = "GP"% d+ Q/ I% g" c1 Q; h% z

  619. / `3 d$ q9 @  ^3 U) v' ~6 v
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    " b5 v+ F# r  U3 d" ~' T
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 Q4 \$ T5 n: ^
  622. ; is invoked. $argc contains an integer representing the number of arguments
    8 ^: m" P& I8 X  L
  623. ; that were passed when the script was invoked. These arrays are extremely2 i3 T- q" V. ]1 @' }  X0 v( d
  624. ; useful when running scripts from the command line. When this directive is
    & [( ]- p% }" m2 t1 u7 g6 G& }; ?9 P/ _
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 q4 W$ I7 Y6 x; m$ q
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ; |9 L  g# c& h% f2 |) ^
  627. ; on production servers.1 k! O" ^8 F4 ?1 T3 w3 I
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    & F1 ^& b4 c' R' e( B3 `
  629. ; Default Value: On
    0 e! [6 B' {1 ?' x% O% \7 m$ `+ c
  630. ; Development Value: Off' b" _- `+ W, \5 V) Z
  631. ; Production Value: Off
    # r" _! F" A5 H
  632. ; http://php.net/register-argc-argv
    & ?6 q* Z5 ~4 @1 I; s4 A; h
  633. register_argc_argv = Off% B6 n' l: c7 w& a0 K  o0 x
  634. " v0 q2 C! W3 {7 ?
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    . g! @$ A$ u; v3 o: j8 I
  636. ; first used (Just In Time) instead of when the script starts. If these
    8 U, V8 J) t0 T* t7 u& p
  637. ; variables are not used within a script, having this directive on will result7 J/ V5 H* q* v; Y- M: N5 y2 b
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled/ ?) x4 S- s5 s0 `
  639. ; for this directive to have any affect.
    5 k7 m8 ^; ?, _, \; _/ P7 r; l- d
  640. ; http://php.net/auto-globals-jit# L  f+ i; H" d7 J. Z7 h2 @' [
  641. auto_globals_jit = On7 r3 t1 e. n. S( ~, m7 g
  642. 1 X6 M, D: Z, r* z: M( G  Z1 g
  643. ; Whether PHP will read the POST data.
    # \" l! X5 n, @
  644. ; This option is enabled by default.* I' H" v3 c: t  V$ U" h
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST4 q- z" f5 u% F7 s% `) M/ x
  646. ; and $_FILES to always be empty; the only way you will be able to read the' n; L8 i4 w" }+ z) y! S
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ' b" `! a% W  m9 Q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.9 i7 j8 }0 M* w/ A/ H8 p2 V
  649. ; http://php.net/enable-post-data-reading+ G  I& S# k4 C# D. g3 f- \% Y
  650. ;enable_post_data_reading = Off
    4 Y- c7 B7 d, i% S8 d, I( T

  651. ' c3 R- A* |3 q! p; Q% D
  652. ; Maximum size of POST data that PHP will accept.- O+ I' P. x( c! ]. o8 k
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( |, k- L! e2 C4 [
  654. ; is disabled through enable_post_data_reading.
    1 R& v& b- G% W/ |0 Q$ W1 |" ?" r# T
  655. ; http://php.net/post-max-size
    & l  V6 c. o6 O) s/ n8 N: C
  656. post_max_size = 50M
    " j7 _- F# ?: r5 f  V& U

  657. + N5 o' ^" n6 y) K7 K3 {* Q) Z
  658. ; Automatically add files before PHP document.
    4 O6 f! q. Y6 n9 m, ^; V! _6 W
  659. ; http://php.net/auto-prepend-file
    " T1 D1 ^9 p0 G
  660. auto_prepend_file =
    ; R* E" c8 _2 j4 f% X# ]! B
  661.   H. R. i+ r- n/ q
  662. ; Automatically add files after PHP document.. H7 F7 O. R& @- n* w3 m
  663. ; http://php.net/auto-append-file5 B: C* P7 s, w8 y3 {8 i: B$ |
  664. auto_append_file =* P2 Z2 n. s8 u4 N2 s

  665. 0 U  E& |3 B- c( h9 K
  666. ; By default, PHP will output a media type using the Content-Type header. To' y# L4 o7 c* o5 E# h4 U/ u8 c* Q
  667. ; disable this, simply set it to be empty.
    5 K) f5 t2 k' m6 c) f
  668. ;
    + t7 `8 f$ U; @2 M( Y
  669. ; PHP's built-in default media type is set to text/html.
    " U( _! ~2 q8 g
  670. ; http://php.net/default-mimetype
    , }8 P" O5 Y- h' N
  671. default_mimetype = "text/html"$ |2 D9 [% ^: l  q

  672. ; J2 ~7 q+ i! n% y, {
  673. ; PHP's default character set is set to UTF-8.6 O% u3 H% Y3 {: ~3 Y
  674. ; http://php.net/default-charset6 b: t( g0 l" z5 Z5 e* U: H
  675. default_charset = "UTF-8"
    " G) @+ H5 {1 \  Q9 y* M' M
  676. 0 t+ O$ X9 b* n
  677. ; PHP internal character encoding is set to empty.1 x4 R( Z5 n9 w$ ]& j- x
  678. ; If empty, default_charset is used.
    , N3 o8 V. t  i! P, [: ?3 B
  679. ; http://php.net/internal-encoding
    9 P( r! ^  O, r/ |
  680. ;internal_encoding =7 y; j' R/ Q3 a/ h" E

  681. ( n- _* [# I0 L  N. k1 m
  682. ; PHP input character encoding is set to empty.. X* R% S2 F. ~* N0 a: S
  683. ; If empty, default_charset is used.: N$ a+ w2 R3 X" s8 {" ]
  684. ; http://php.net/input-encoding  B8 T0 S1 t# D1 `
  685. ;input_encoding =% ~1 b0 |; |; r6 {
  686. * E* M9 T; O2 Q/ |$ p/ ]( I9 v5 u
  687. ; PHP output character encoding is set to empty.6 W: E9 r: {) c0 `$ @
  688. ; If empty, default_charset is used.
    ! [' w1 w, m* m
  689. ; See also output_buffer.5 }$ O, S. q% f4 a, Z
  690. ; http://php.net/output-encoding8 Q+ H( J" q: g/ `$ [
  691. ;output_encoding =- n2 [3 b3 d# c4 D( Z5 N* a" O1 q
  692. & W) q' D( K/ q3 r1 r& t
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ( @+ ?) R3 S' a  X
  694. ; Paths and Directories ;
    1 x. ]2 \: p- _3 q7 Y" E8 ~
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;& D/ w0 o4 n, x* B
  696. ' z% }% P! b; L, h, x  i' ~
  697. ; UNIX: "/path1:/path2"5 l4 L# V9 Y6 g: e& |
  698. ;include_path = ".:/php/includes"! o5 O8 X/ f8 U9 J; V$ a1 ~" v! t
  699. ;
    , i# a4 ]2 k6 X$ T
  700. ; Windows: "\path1;\path2"; l7 J" ^$ n1 v  Z: Q' J7 T
  701. ;include_path = ".;c:\php\includes"
    1 J7 M9 B: L, z3 ?3 O6 D4 N
  702. ;
    9 s, i/ D5 \; a& G& z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    , g- C7 W" b$ v  j4 {( M8 Z' M  m2 S
  704. ; http://php.net/include-path
    $ j5 Q3 g/ L  D
  705. 8 \$ I6 C; M- Y" j3 o# t9 q# ]! H
  706. ; The root of the PHP pages, used only if nonempty.- F% \% @- E) C; L9 l
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & u  H; g* T8 N2 R5 P4 D: ?2 U
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ) X. j; H; x8 g2 l$ h/ k
  709. ; see documentation for security issues.  The alternate is to use the" a; O& K6 [/ W% W: X
  710. ; cgi.force_redirect configuration below
    1 @) }8 T2 {; \9 I. W  W. j2 v5 t
  711. ; http://php.net/doc-root8 C* ^: T" n( J$ P. n8 F) r- m
  712. doc_root =. K7 f) `3 `: L* E0 ]
  713. # J0 I. K1 g3 h1 }
  714. ; The directory under which PHP opens the script using /~username used only9 {- K7 s7 R; s
  715. ; if nonempty.: y( n0 \0 T! E
  716. ; http://php.net/user-dir
    " [$ G1 k  s- P* n6 ~
  717. user_dir =1 c. R, v' ^3 s5 Y4 f, C- r

  718. 6 m/ K6 T6 T0 C3 O
  719. ; Directory in which the loadable extensions (modules) reside.- K  r* }; |- L: Y) i% y
  720. ; http://php.net/extension-dir
    6 m! O% `, J0 ^: M$ F
  721. ; extension_dir = "./"6 V  W8 b3 _/ z" m4 H4 [
  722. ; On windows:% W; Y( _% p8 A1 F
  723. ; extension_dir = "ext"
    ; ~0 T/ j* H# n
  724. 6 M) B  i: h& q) O  L7 I) |
  725. ; Directory where the temporary files should be placed.! i& O# k6 ~* |5 A4 l$ m0 Z. T/ {
  726. ; Defaults to the system default (see sys_get_temp_dir)
    6 R2 n4 N2 P) q* Q$ A
  727. ; sys_temp_dir = "/tmp"
    ! Z0 O5 l, f1 e; L

  728. , P/ P3 }2 N/ r) b# a: _8 H8 ]. d1 i" \
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work! e$ w" F+ ]! F: ?9 _' l
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically" h7 N( X' y7 L/ e! l4 ]7 Y
  731. ; disabled on them.
    . v$ z4 b8 w* E1 g1 J
  732. ; http://php.net/enable-dl
    6 |# q9 I# K4 q3 s
  733. enable_dl = Off0 ~0 ~: G, I- p

  734. 7 b" b0 e! A. O. B
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    % B3 t7 Z, @7 z; R
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    4 q7 f( g; s2 Y
  737. ; turn it off here AT YOUR OWN RISK" p# A3 x( ~, ^; v" u
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : i$ ?! G9 W4 v
  739. ; http://php.net/cgi.force-redirect
    9 D# z/ O6 t- m8 X6 j
  740. ;cgi.force_redirect = 1' j! W- }" G" B# r* D- ^! ]" i' ~! x
  741. " l9 h7 l+ u6 }1 N; |+ j6 R3 B
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 j) z4 H2 x1 U3 W3 K- q1 |& O
  743. ; every request. PHP's default behavior is to disable this feature." W2 S/ Q7 F; c1 ?
  744. ;cgi.nph = 1+ Z. Q, Q* d9 q% c! f

  745. 6 q4 z1 v, e( r- z. A
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape. N0 b: I5 Q7 p
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, X8 I% S2 A' x+ u
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY/ e7 j! X3 J$ C' \
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    4 _* k3 q9 r0 Q, l/ I6 o' Q
  750. ; http://php.net/cgi.redirect-status-env. G! V. N4 k) R7 q7 N$ \
  751. ;cgi.redirect_status_env =
    % Z. y( G3 o; P. _1 o3 g/ ~
  752. - A8 x: v3 F! J! J& c: H! G$ F. t
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    1 b" S" |& G% T3 |
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok0 ]# O. @- I  W. c
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ( _  h2 d3 S8 C9 F4 l
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    5 ?( [5 _! C0 m$ G' k
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    6 O' D; D: h4 w# x8 Y5 O
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    4 ^4 X$ [% Q3 O( }2 w, q! W
  759. ; http://php.net/cgi.fix-pathinfo
    + D" ^6 X( R8 |5 u, a; O
  760. cgi.fix_pathinfo=1
    ) Y$ V, ?" h8 ?9 Z: W5 |% a' ]/ U4 d

  761. ! b1 T! a) u7 i+ ^! D
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ; |5 p/ _6 L% ?; X' I+ t
  763. ; of the web tree and people will not be able to circumvent .htaccess security.2 R5 `& F0 I0 V/ c- `. T2 O* Y
  764. ; http://php.net/cgi.dicard-path
    , {! w2 F! ]% Q) _2 z5 w( x" r! Y$ H; n
  765. ;cgi.discard_path=1
    . B# ?& z* L4 ^, N% c5 N& t' O
  766. 3 ^% M8 B7 r% S0 s; U5 Q5 h
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    . s2 Y& |0 M* v2 |+ f6 v7 T
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' x% T5 |& N) ^4 ]. |3 U" U
  769. ; security context that the request runs under.  mod_fastcgi under Apache+ f+ R# R% M2 p* {( q9 l/ u9 n
  770. ; does not currently support this feature (03/17/2002)
    4 X- i1 z" j4 n6 F9 u
  771. ; Set to 1 if running under IIS.  Default is zero.
    5 ~. r! O6 K0 F& O5 @7 J
  772. ; http://php.net/fastcgi.impersonate
    ! x8 G' L- F; f- w
  773. ;fastcgi.impersonate = 1
    # x8 Y% r9 E7 i$ c
  774. * I% ~  _3 R) V9 a3 @2 `8 \
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ [3 I2 q+ x/ y- F* m' T8 B
  776. ; this feature.
    * T0 z4 B; d: T' t7 ?: F
  777. ;fastcgi.logging = 0  @1 ~, Q: x1 W" p1 m8 b
  778. ( U4 A& Q# d+ T+ @) i( O8 `
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; p( f; c' I6 d+ q9 x# T3 F. Z
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " d' O) b( P6 M( u+ l* v5 F0 c
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ' v0 J) s: `& ?# q+ B1 `
  782. ; RFC2616 compliant header.$ a9 |- J( S& y& F% o/ x6 ]
  783. ; Default is zero.
    7 c$ l" i4 v( v
  784. ; http://php.net/cgi.rfc2616-headers/ W2 @! }. j. R
  785. ;cgi.rfc2616_headers = 0
    2 k# u. E4 U: V* |; x5 T
  786. / h+ X1 ~1 `% J2 F; I
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ( ?! s$ \7 K. V& T. @3 j1 n: _
  788. ; (shebang) at the top of the running script. This line might be needed if the/ y: c9 I- S- P! O  _2 p
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI$ _2 Q. u& c2 K  |/ Y# l% k
  790. ; mode skips this line and ignores its content if this directive is turned on.
    & z) G  O; b1 P$ F% z& P
  791. ; http://php.net/cgi.check-shebang-line
    6 E  ^- f. W5 T5 X3 V" g
  792. ;cgi.check_shebang_line=1
    ! D8 x$ w$ x3 z1 G" o
  793. 7 R3 v- j$ a5 p5 ^9 A8 E  ^
  794. ;;;;;;;;;;;;;;;;
    + u2 s) d# q. K2 Y. h
  795. ; File Uploads ;
    1 O: l* k* T, y) i/ F, O
  796. ;;;;;;;;;;;;;;;;
    ' |. s5 _$ R$ R- _- ~  E- `

  797. / V0 f3 N) h% P4 @$ U9 L1 w
  798. ; Whether to allow HTTP file uploads.
    # t' a) P/ N) Z* @$ P
  799. ; http://php.net/file-uploads3 ?3 A* S0 n/ x! H
  800. file_uploads = On6 Z9 E5 d0 j; O7 h* E" f

  801. # p. A& u7 F* }# C
  802. ; Temporary directory for HTTP uploaded files (will use system default if not( A$ x  o( I$ k6 l5 ?. x; O" X
  803. ; specified).
    ) |9 X$ {4 c( V. [. ?8 u
  804. ; http://php.net/upload-tmp-dir0 u# N; |& x" x4 [  a# H# j
  805. ;upload_tmp_dir =2 }6 o0 Y% k$ h, I% b

  806. 6 @4 o, R6 H& k/ V. b. @2 F
  807. ; Maximum allowed size for uploaded files.
    ( ?1 E, c% {  e: G0 |, e
  808. ; http://php.net/upload-max-filesize
      `% f8 v& |( u$ V, n
  809. upload_max_filesize = 50M
    7 A6 H4 S1 L( Y/ l

  810.   m  ?# v- i  |( |' z3 P2 U  }" f& D
  811. ; Maximum number of files that can be uploaded via a single request; W% m  n8 J9 E2 q: ]
  812. max_file_uploads = 20% a+ _6 Y" U; E

  813. ; V: d4 f. X3 _4 X% U
  814. ;;;;;;;;;;;;;;;;;;
    7 w5 c2 V# b3 o. F) d( x
  815. ; Fopen wrappers ;
    9 ~6 c5 E, ~6 Q, Q+ m
  816. ;;;;;;;;;;;;;;;;;;' l* r5 h4 B. @+ {# p

  817. ( |) G2 M6 j) z& G, e- b5 D
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    . Y% c5 u1 y5 e; V
  819. ; http://php.net/allow-url-fopen4 ]9 t7 m- `8 R( s$ t
  820. allow_url_fopen = On2 G+ p0 B2 v/ c* M. ?

  821. 2 ]& z1 Y  F, Z+ z8 p' M
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      g5 |& w3 H4 u2 {5 f, _  m+ B
  823. ; http://php.net/allow-url-include
    / u5 l0 d) J1 D8 I& X2 \9 E
  824. allow_url_include = Off% @2 C" A( h! t% E  c. O: ^
  825. . g9 |" M6 A* w% E2 k
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) c3 @4 I  d  Y5 s7 m5 V; q
  827. ; for this is empty.
    ! q, j) C: E$ D4 o9 h  c5 J
  828. ; http://php.net/from
    ' W( k: N2 i! i8 n
  829. ;from="john@doe.com"
    # R- v) a: A3 C1 d0 J

  830. . [1 X) D4 l, Z: N3 j3 a
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    # Q6 B( H6 c; h
  832. ; http://php.net/user-agent
    8 R& n: a- X) L: a1 o9 `
  833. ;user_agent="PHP"
    ' s  E1 n  v0 K- H( n
  834. - ?4 D$ |- Q: K) S" c
  835. ; Default timeout for socket based streams (seconds)
    ' m% l3 s3 Z8 O( n. I  \! O% n
  836. ; http://php.net/default-socket-timeout8 U* x$ K  d& U0 w4 e8 H
  837. default_socket_timeout = 60
    ' |; Z: `7 L1 t& M' C
  838. 3 G4 m9 a' s: T  w- I4 ?/ h% \
  839. ; If your scripts have to deal with files from Macintosh systems,! O( K, t3 k: a
  840. ; or you are running on a Mac and need to deal with files from
    1 u: M* {5 k  K/ J$ M8 A
  841. ; unix or win32 systems, setting this flag will cause PHP to8 M( w5 F5 }$ b( p- L- O& S! J! O, O
  842. ; automatically detect the EOL character in those files so that# H$ Z5 F. d3 ]% L8 i
  843. ; fgets() and file() will work regardless of the source of the file.
    8 v2 @6 x# }9 k" L8 X  A8 [
  844. ; http://php.net/auto-detect-line-endings
    - v, H' H9 `; u' F1 h9 N# Z# w
  845. ;auto_detect_line_endings = Off
    / p3 G9 x. G. W) i
  846. # ^) x% w3 b# b" B/ v
  847. ;;;;;;;;;;;;;;;;;;;;;;
    7 D! |) a& \6 o2 Z4 U6 s
  848. ; Dynamic Extensions ;
    ; o' r! `" _' w" {% R1 k
  849. ;;;;;;;;;;;;;;;;;;;;;;; g* `3 K; d5 R( s
  850. , b! @9 T; Z: r7 z8 I, L# Y
  851. ; If you wish to have an extension loaded automatically, use the following$ l& C- T, N6 r* i
  852. ; syntax:- l& `$ q$ O: e  Z. R
  853. ;
    ' Z+ ]" M( R& O+ w) X6 h. _
  854. ;   extension=modulename.extension
    0 L& B* o( C8 J! o, _- N
  855. ;+ t/ g: D1 p4 {3 a; l# _
  856. ; For example, on Windows:
    $ G! Y, f8 r& K( ^1 K0 v- d
  857. ;
    ( |9 d/ T  E- R
  858. ;   extension=msql.dll  c+ |+ W6 f/ u( \: P
  859. ;
    1 O1 O1 ?4 x- [, Q0 Q8 `( @
  860. ; ... or under UNIX:
    ! h% R# y9 W8 o3 X! b
  861. ;) K- B  z/ T+ h. [! J( \2 B4 ^
  862. ;   extension=msql.so, A$ q9 z7 i; k+ g; n
  863. ;
    ' J* N. R" X3 o$ I5 k
  864. ; ... or with a path:# c( W  C) o1 a* w: c5 t
  865. ;' x/ L0 {. g: }% n* F% S
  866. ;   extension=/path/to/extension/msql.so* v3 x) g# X: i. M; h9 R$ z! P# k  C
  867. ;
    0 |2 o9 I1 g9 t: e0 c) R: W- e
  868. ; If you only provide the name of the extension, PHP will look for it in its
    : D# {' H0 @# M) m" @" K
  869. ; default extension directory.9 ^/ Q# ~  `( Y3 H. l  k
  870. ;6 `9 B( F5 E$ ~2 h2 f. j! W$ z7 B
  871. ; Windows Extensions( `2 {# b" }/ A! z6 \# X
  872. ; Note that ODBC support is built in, so no dll is needed for it.8 B1 \) G4 O9 [7 ]
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! r9 h' p5 b- x; X
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).. q) V3 a/ b: H7 r- g8 h5 N
  875. ; Be sure to appropriately set the extension_dir directive.
    # H" o! `, A9 m% o1 o7 E
  876. ;6 l) I6 v% L& `4 N" M
  877. ;extension=php_bz2.dll
    " J% w, L- s  c4 i
  878. ;extension=php_curl.dll
    : ]7 P! B; s3 g4 v& Y
  879. ;extension=php_fileinfo.dll4 x1 f" W- w" z+ J9 A: x# }/ W
  880. ;extension=php_ftp.dll: j( i# u8 N/ H& z. y- R6 i  y3 A
  881. ;extension=php_gd2.dll3 ^$ W( e: X' ~  M* y
  882. ;extension=php_gettext.dll
    + k3 f4 m1 i% O7 N
  883. ;extension=php_gmp.dll
    ( Z5 e7 F* q! V0 N( S$ G
  884. ;extension=php_intl.dll& }' [/ n0 K- B* v, Q" x
  885. ;extension=php_imap.dll
    # O& j9 F. Q# ?& n4 m
  886. ;extension=php_interbase.dll7 C+ j0 {9 P) u' r( ?
  887. ;extension=php_ldap.dll& S4 q7 T( V) ]" U
  888. ;extension=php_mbstring.dll
    ( e1 I2 |4 V( w3 B
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ K9 Y( J1 c( p% g& B) C9 {9 e- X
  890. ;extension=php_mysqli.dll8 T* v8 `9 t+ N$ ]% V- j
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; R1 ~& N% a/ p# Y: q2 N* P
  892. ;extension=php_openssl.dll
    0 L* [5 P$ q; b2 ]  Q. y$ B
  893. ;extension=php_pdo_firebird.dll! g4 j! L5 K/ p6 @6 M7 E; M
  894. ;extension=php_pdo_mysql.dll5 t1 X( d0 e9 G: T  h
  895. ;extension=php_pdo_oci.dll
    : \* _. T8 }" k4 `  Q7 a3 H) o
  896. ;extension=php_pdo_odbc.dll& `9 c9 _4 t! t3 p
  897. ;extension=php_pdo_pgsql.dll
    % ~& O, C& Q! w9 A  a, I
  898. ;extension=php_pdo_sqlite.dll9 J* y* `' T* \; [. b% S
  899. ;extension=php_pgsql.dll
    , n# n0 ]+ @; z- F- @2 d/ y
  900. ;extension=php_shmop.dll
    + m) B/ M3 c" X; S7 {6 l
  901. ' i1 O/ S6 Y- t5 v  {/ {& x
  902. ; The MIBS data available in the PHP distribution must be installed.1 E% c& ]3 N3 c6 b
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    9 b8 p- P: x& R' z3 `2 Q6 h% t
  904. ;extension=php_snmp.dll) t* P, S/ R* ]# {' Y* B
  905. / `' H& C3 G; M1 ^$ I' ?
  906. ;extension=php_soap.dll
    ! R: @) {. V. a! e. H
  907. ;extension=php_sockets.dll) \4 T2 Z! Q8 q$ I3 c& J- r
  908. ;extension=php_sqlite3.dll% g; L5 Q! e$ N0 @6 _3 W! s2 K
  909. ;extension=php_tidy.dll
    " E( L4 |& H; A4 b. |' x, l7 F" j
  910. ;extension=php_xmlrpc.dll  z) u& @5 b/ u6 t* ^* E
  911. ;extension=php_xsl.dll$ x4 d( S. ^  j" h2 d+ R8 Q
  912. 2 T. `5 j' W6 \, f6 L. A
  913. ;;;;;;;;;;;;;;;;;;;, z/ i. B! x  k- O* V2 }5 L; g& L/ h2 F
  914. ; Module Settings ;3 j: b; Q4 s5 R7 G3 p7 O
  915. ;;;;;;;;;;;;;;;;;;;8 I2 @) r, t( p

  916. 8 \/ T4 e3 u3 D1 N6 l6 B' a
  917. [CLI Server]# J* o# R) d% k9 s! |' Z
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    - O, x) [. P1 _
  919. cli_server.color = On5 X2 W7 t! B& f9 N: G

  920. 8 S  q6 p, G5 R6 q8 k
  921. [Date]
    ) S* [0 `$ H4 f! b
  922. ; Defines the default timezone used by the date functions
      o) Z0 h, f( f, G3 L7 c' m
  923. ; http://php.net/date.timezone
    2 J, ]1 }% K+ d, E6 M- h' d. A
  924. date.timezone = PRC5 t7 }* _1 o6 q7 |" W! I
  925. 7 W: L* E  T* r5 K: p8 i6 E
  926. ; http://php.net/date.default-latitude
    8 v2 V8 W! T$ N' u
  927. ;date.default_latitude = 31.7667
    : |) @$ M, u# c+ N
  928. 9 |# a9 G- }, M! h6 ~$ E# e) a
  929. ; http://php.net/date.default-longitude
    , J4 H% \# r) n3 s8 g
  930. ;date.default_longitude = 35.2333
    7 y9 P% P- @7 f' n9 H* e

  931. . w+ P, k* \( e) g
  932. ; http://php.net/date.sunrise-zenith
    , o  [  U. r! b  Z% X
  933. ;date.sunrise_zenith = 90.583333
    1 t3 d2 @) F! k# l* c: ?9 R
  934. ' A% C9 l& K2 r: M! ~1 y% |/ B' ~
  935. ; http://php.net/date.sunset-zenith5 b/ |- `( D5 B5 L1 E+ L, I& i
  936. ;date.sunset_zenith = 90.5833334 @% |0 h( O: Z( C+ N

  937. ! N) n8 S' [4 }) g
  938. [filter]
    9 Y) _9 k/ v* @. y! {
  939. ; http://php.net/filter.default2 Q; H5 }2 T/ ?  M# @. s
  940. ;filter.default = unsafe_raw6 y- A6 ?; }% b) h

  941. 2 V( O; X9 j* K/ B3 V
  942. ; http://php.net/filter.default-flags
    $ b" J+ ], W0 [' u/ E
  943. ;filter.default_flags =
    : ?5 H/ D$ g; A. D. E

  944.   A* [; q4 H! H* E0 \
  945. [iconv]
    " r2 G3 Z, q6 `" {( g' H2 ^: f
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( w* e; ]+ Z, w2 D  I% }
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.5 Y! T9 d* c$ m' Z
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    + |7 l7 Q/ n* B
  949. ;iconv.input_encoding =
    0 {1 ?: w. `) g/ L
  950. 3 y; d+ f9 `3 p! M; N
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - G" Z* h& w6 C/ C2 D3 Y4 b
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! k2 }7 E2 v9 \# Z+ O: v+ A
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! l# y' M" N5 @
  954. ;iconv.internal_encoding =
    # n+ B: i  M8 `! y) L
  955. $ |& E& J+ y' r
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 u- i0 g: l* x$ @% F3 P" m
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ) s# d! E4 x. m( b& F
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding! c. w# }; E4 }1 j7 H) t- T! ~1 N& S
  959. ; To use an output encoding conversion, iconv's output handler must be set" J) ?" p# ~# V$ z. H9 h
  960. ; otherwise output encoding conversion cannot be performed.) e/ A% L8 a$ ^- L/ B! H' \
  961. ;iconv.output_encoding =
    0 f. X+ ?! k6 R
  962. ; e0 Y- p6 N) q1 e& r6 e
  963. [intl]
    % {. x. h7 s/ M! O3 b
  964. ;intl.default_locale =% C! N, }0 [9 f( x5 ~( T0 W
  965. ; This directive allows you to produce PHP errors when some error+ k$ o! b  L4 O! q3 S/ d* V
  966. ; happens within intl functions. The value is the level of the error produced.! ]; ]+ C7 H" E8 T6 \1 ?6 @
  967. ; Default is 0, which does not produce any errors.; p" y9 x- D. i4 K
  968. ;intl.error_level = E_WARNING0 i* h9 \6 H) F" y
  969. ;intl.use_exceptions = 05 {3 C  L: V6 y% \" @

  970. , [& p" [1 n& J: A3 N: c
  971. [sqlite3]
    # ]! {. O# v  L2 t- O$ i! n3 ~1 ?
  972. ;sqlite3.extension_dir =" W, z( Y) y; g6 Z, I: B- r
  973. 2 {2 i% i, i) w0 P" D7 i; \
  974. [Pcre]
    ) C: F  r! |7 _! j
  975. ;PCRE library backtracking limit.1 @& D9 M$ J! S# R& E2 I! q& [
  976. ; http://php.net/pcre.backtrack-limit# A, r+ `( y! q# q# t( p  r) t
  977. ;pcre.backtrack_limit=100000
    . \5 `" s# u4 v; @% b
  978.   f5 L0 B% ]+ J% _' u
  979. ;PCRE library recursion limit., ?/ q( J+ b0 v. u4 E
  980. ;Please note that if you set this value to a high number you may consume all; o; K2 n) P  G" K; Y4 n
  981. ;the available process stack and eventually crash PHP (due to reaching the
      U, z' z  I% I4 M$ ]
  982. ;stack size limit imposed by the Operating System).4 ?+ a2 z6 z' @2 x
  983. ; http://php.net/pcre.recursion-limit) h: S3 I) v* ]8 Q
  984. ;pcre.recursion_limit=100000
    2 d3 V, ^2 `; q& o
  985.   R: x6 g+ L0 V$ f' Y( h& l
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE( h& P/ f/ @& r* V; ?3 @
  987. ;library to be compiled with JIT support.
    9 v9 }) ~8 t4 o, s  r2 A
  988. ;pcre.jit=1
    : [* k5 q: I! Y4 T/ n; C2 Y
  989. # B$ B) U6 j+ a5 e( Q4 k
  990. [Pdo]' v4 n5 V! L! N
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"- [6 f' y4 D# a% J) ]) ?
  992. ; http://php.net/pdo-odbc.connection-pooling/ F4 l# t- L. Q" K- F
  993. ;pdo_odbc.connection_pooling=strict
    1 }' x% v6 P$ ]9 }0 ~, I4 C

  994. 5 }1 u+ c! s+ }+ L+ a% l
  995. ;pdo_odbc.db2_instance_name
    " L: Q) ^! B, i) p, ~  w1 X7 O
  996. 8 [+ N$ K1 _4 I( H, m( a8 _$ p" I
  997. [Pdo_mysql]. ?4 |* e# K" z9 Z. K0 p6 ?
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache* N3 w) Q) V$ z; x) d( ]( i
  999. ; http://php.net/pdo_mysql.cache_size! \: h& `2 z4 S( ~% x# g* I2 a6 M
  1000. pdo_mysql.cache_size = 2000
    ! Y% d/ w- ]( O7 g1 h/ J7 B+ G
  1001. $ N6 }3 m; l* m& r, f
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in; i# ^2 r$ k+ h) E  c; V7 s
  1003. ; MySQL defaults.
    5 y$ O' Z) v+ t6 y: C' j( V
  1004. ; http://php.net/pdo_mysql.default-socket
    0 u4 I/ e! s9 ^& m- A, f) v
  1005. pdo_mysql.default_socket=
    6 W5 ~2 j3 X* t( `! g

  1006. 6 a0 x7 A) n+ L* O" E4 a2 O0 i: _
  1007. [Phar]
    1 \: X! d$ F- R9 r( k5 p/ `: b
  1008. ; http://php.net/phar.readonly
    6 z5 t5 i% {! m2 [) P+ }
  1009. ;phar.readonly = On
    ' A  L  d! c8 J  e
  1010.   ^* X& B! c& T8 l8 `- E
  1011. ; http://php.net/phar.require-hash
    ) @' a2 }" V* g9 z2 W7 k3 w4 {# E6 h
  1012. ;phar.require_hash = On
    * J4 E& |' \5 S+ A

  1013. 7 n" W/ @) o# ?  S2 z
  1014. ;phar.cache_list =; I$ u# K7 V# Q/ x
  1015. 0 m+ A# z( Y$ g  d# A, h2 n) ?8 {
  1016. [mail function]  v3 c$ b6 p0 k% I( ^1 G
  1017. ; For Win32 only.% K2 f- U" o" t# v* G9 ~, {" h: m+ g
  1018. ; http://php.net/smtp) B* Z! S4 h2 c& u- S& F0 i, u
  1019. SMTP = localhost. A7 H3 w/ A1 H! m; g& K2 p/ l
  1020. ; http://php.net/smtp-port
    % K) z% n' y1 k. q
  1021. smtp_port = 25
    ( v8 w$ m2 h$ D

  1022. / D/ X0 j# l4 o2 Q
  1023. ; For Win32 only./ b# q2 P; S/ V# L
  1024. ; http://php.net/sendmail-from
    " U, |: J7 O! e$ o0 e1 w
  1025. ;sendmail_from = me@example.com
    ' @; g% ~( d7 B6 V& E: Q/ v/ m$ o

  1026. ' X- T3 A- N) W4 z
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " u, C6 Y2 @/ _1 V! R. q. k. c- s
  1028. ; http://php.net/sendmail-path# Z; Z  C9 G% f2 d0 z& G; {+ Y
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    5 ?- e' u& q% @
  1030. & R% ]& ~$ V& V$ [8 @
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    8 T3 y) L. t0 {' n5 j
  1032. ; to the sendmail binary. These parameters will always replace the value of, w% l( k& W' z9 [# p4 L4 O
  1033. ; the 5th parameter to mail().
    ' u0 M2 Q8 _- N$ i5 y! p
  1034. ;mail.force_extra_parameters =
    ( e) r( J+ @, Z
  1035. / O& ]* m5 E  O) {( Z, O3 k
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ a9 R% q4 Z6 d$ [
  1037. mail.add_x_header = On# V( S: H. P' B6 n2 H# C5 n! z: ^

  1038. 5 Y" x% n' \, ?+ ~% j$ p
  1039. ; The path to a log file that will log all mail() calls. Log entries include+ e! C6 R8 X: O; S
  1040. ; the full path of the script, line number, To address and headers.
    + O7 v7 M6 {, x+ |- p% e1 K
  1041. ;mail.log =* b5 w( C! A: ^0 h
  1042. ; Log mail to syslog (Event Log on Windows).
    / W0 y/ d6 X: E; `1 q: b( a
  1043. ;mail.log = syslog
    2 j* C4 y' O$ g4 n' Y1 q' d% D
  1044. 9 j. s  s' z7 ?) k+ g1 y' J; f2 s
  1045. [SQL]- _6 p# _5 E1 |  k* `1 U! w
  1046. ; http://php.net/sql.safe-mode2 {/ B, f4 C/ O. P% Q7 M4 w
  1047. sql.safe_mode = Off) ^: n8 p3 {! N

  1048. 6 @0 X. X" Z$ x6 K# ?
  1049. [ODBC]4 F, ~  x; r4 i* F/ L
  1050. ; http://php.net/odbc.default-db: o7 O" ^9 ^! S! K7 V" x& W3 }
  1051. ;odbc.default_db    =  Not yet implemented: m5 Y9 b2 {; f6 G$ H

  1052. ( P1 T3 ~( t9 H" E3 h( c
  1053. ; http://php.net/odbc.default-user+ N& M! ~2 J+ X# p9 W3 c
  1054. ;odbc.default_user  =  Not yet implemented
    " D0 \2 ^) G8 [5 _! x

  1055. 3 h, ]  A9 g' [5 X2 n
  1056. ; http://php.net/odbc.default-pw
    * n% b' @1 r% A9 P& p/ b0 f" l' P( D
  1057. ;odbc.default_pw    =  Not yet implemented+ U+ F" j, d4 x9 I

  1058. 0 b& s: L5 P0 c& P" _$ x) A
  1059. ; Controls the ODBC cursor model./ u, r: M4 n$ }( R+ m
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ' F3 ]4 S/ D5 Q
  1061. ;odbc.default_cursortype
    * M0 Y1 D$ E: O5 G6 \3 r

  1062. - ?* H. a# e" o6 p0 v9 C! I
  1063. ; Allow or prevent persistent links.
    " ?! q8 z) K4 a0 c/ @) p" m
  1064. ; http://php.net/odbc.allow-persistent+ K9 q, g8 c2 B, r9 I
  1065. odbc.allow_persistent = On( h; N: {% J# O# i$ q

  1066. * G7 [; W9 _/ p! |: ^" o/ h
  1067. ; Check that a connection is still valid before reuse.
    5 _$ j' W: a+ s1 c
  1068. ; http://php.net/odbc.check-persistent
    ( j/ p2 C3 R: c
  1069. odbc.check_persistent = On5 B5 i5 o' K; F2 I
  1070. % u/ r* r' U) H- }- J# S
  1071. ; Maximum number of persistent links.  -1 means no limit.' o' f3 {- f) k# S, p5 J3 Z5 ~
  1072. ; http://php.net/odbc.max-persistent
    2 }. F& n% X, P1 g: {0 [
  1073. odbc.max_persistent = -1
    4 m% j* W$ h, o5 ~( x

  1074. # H" F+ J: _7 ~- Y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* r+ V& Z7 n( c' e
  1076. ; http://php.net/odbc.max-links0 l+ O) T9 a  ?+ D0 p; I
  1077. odbc.max_links = -19 l* }- H3 _% I

  1078. , ~0 ^' c6 r& C7 \) N5 c& t* d- _
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    6 a8 \& U, M1 ]* K, o! z7 G
  1080. ; passthru.) N: W, K7 m6 D, M
  1081. ; http://php.net/odbc.defaultlrl
    6 o6 Y: k" \. I  t
  1082. odbc.defaultlrl = 4096. q! G9 d/ N3 L- U: y: Q
  1083. 9 H- c: h8 ]# x$ H! Q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    3 g/ y, u, Q( b; `2 W, R
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 v/ ]+ b& i  O2 F
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    $ ~( C& Q+ E$ a: i1 _
  1087. ; http://php.net/odbc.defaultbinmode2 n: V0 a( ]# v  @2 {. p
  1088. odbc.defaultbinmode = 1, \- y. b, y" ~" y# S+ a1 \: G

  1089.   t1 z2 D8 h5 n( z2 W  U
  1090. ;birdstep.max_links = -1
    ) ]% N" ^' `' @4 W, }! m2 \2 y8 B8 Z

  1091. 1 G6 i6 i. s% `7 |- ?
  1092. [Interbase]1 h9 r& n2 K+ x8 Z8 x
  1093. ; Allow or prevent persistent links.
    - `* E) T  w2 ^% W; L2 V
  1094. ibase.allow_persistent = 1  l) t1 m' H; z+ d0 o* S5 y

  1095. 2 D1 }- c7 N' H1 |5 C' o- L+ T
  1096. ; Maximum number of persistent links.  -1 means no limit.
    5 y1 G1 i9 A. |3 C: b9 ]3 G
  1097. ibase.max_persistent = -1& t% l( J1 f% M6 S1 K; N+ {
  1098. ( q% w/ {1 T$ L6 G
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 B3 w9 `- I, D! }  H" X" C, I
  1100. ibase.max_links = -1) ~. h( V9 \8 U, K
  1101. - j) L) g$ I( D4 d
  1102. ; Default database name for ibase_connect()./ H& e0 l' O. O$ h, B" P) _
  1103. ;ibase.default_db =+ t! w+ H3 A3 I" S8 S1 L
  1104. 9 X8 f/ I" e" |( T0 B- H- J
  1105. ; Default username for ibase_connect().
    ' X* Y* l: ]8 y9 \2 Z5 i- r
  1106. ;ibase.default_user =1 W$ {: t9 k( s
  1107. 6 c* S, k2 Y4 D8 g: Z, x9 G, s# N
  1108. ; Default password for ibase_connect().
    9 k; m/ f7 k; h0 P, a! _2 y
  1109. ;ibase.default_password =
    0 J5 J- y5 s) J" t

  1110. ! o2 B. |3 u% L; l: X$ H
  1111. ; Default charset for ibase_connect().
    . x( U, ^( b: {$ u
  1112. ;ibase.default_charset =
    + \3 A# d& Y1 F8 p! f3 ]

  1113. 1 o2 \# w# _! W& |" j  T+ T7 f
  1114. ; Default timestamp format.6 m! Q: l- E9 N* V
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    9 h3 I; Z1 \% d7 ~

  1116. 8 G% v( ~5 a; a0 ?# V8 ~3 E
  1117. ; Default date format.
    5 ^, S! ~  X+ n5 B- ?
  1118. ibase.dateformat = "%Y-%m-%d". D/ L/ h2 g/ S- ?; Z& u, t* B. k

  1119. 9 \4 C2 M* @8 p- P( x& S
  1120. ; Default time format.+ y8 J! S( i' J2 x  D" K2 I$ `+ @
  1121. ibase.timeformat = "%H:%M:%S"! T4 ]* A: C# F' R
  1122. 7 b4 M9 v! p+ H5 Q
  1123. [MySQLi]
    ' ^; g- {0 n7 X! z

  1124. 4 t: q' a+ o  s$ ^0 P# H- [
  1125. ; Maximum number of persistent links.  -1 means no limit." |1 p- G3 h  r
  1126. ; http://php.net/mysqli.max-persistent
    # X8 O# V" Q5 B  K( A
  1127. mysqli.max_persistent = -1- X# f9 z( B0 ]4 q3 Q  F
  1128. 9 M. F' Y0 m8 q1 M# j. K
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 h5 _/ A- d3 a
  1130. ; http://php.net/mysqli.allow_local_infile
    % l; K9 d$ S4 X
  1131. ;mysqli.allow_local_infile = On" B2 u: n! |/ x3 }" \& ?2 j

  1132. # H" K; w  V/ @( k  ^' K
  1133. ; Allow or prevent persistent links.
    , l# G  s. g. }( z! Q) ?
  1134. ; http://php.net/mysqli.allow-persistent
    . J" ^' u+ f* l9 [- @8 b
  1135. mysqli.allow_persistent = On
    7 G, R+ i. J0 [* \" B6 g1 r% B

  1136. - Z( i2 T! j2 f" h9 p' ^
  1137. ; Maximum number of links.  -1 means no limit.
    " z8 Q. O# c4 O* m+ I
  1138. ; http://php.net/mysqli.max-links0 R7 b+ M" S: ?8 r; K& x" n
  1139. mysqli.max_links = -16 j! o  }9 Z' n

  1140. + \5 @6 B( d, e0 U( {
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ g: P3 S/ S9 O
  1142. ; http://php.net/mysqli.cache_size
    3 b* |% Z# [6 e5 n% W, z0 `$ p0 N! m
  1143. mysqli.cache_size = 2000* O* y  t) \7 l/ T5 b/ Q% r6 a
  1144. " p# o8 E, A! e( g) M3 V6 V1 U
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ' L  p' J3 A7 t* O+ ~1 W
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    - x  D1 _0 k, W2 e6 U" A
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 r1 `* I6 H" D+ Y# A
  1148. ; at MYSQL_PORT.
    5 C- T1 t! I2 q8 ?( _3 e: A2 i
  1149. ; http://php.net/mysqli.default-port
    0 y) F  d( \2 e9 {( p: `
  1150. mysqli.default_port = 3306. t1 j$ O7 o- ~4 k" h; t
  1151. . ^* o1 ]" h0 T0 ?
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 |0 q. n3 K( c+ g
  1153. ; MySQL defaults.9 Z' h2 K0 {$ ]+ v) Q  H7 B
  1154. ; http://php.net/mysqli.default-socket( M. P. ~$ P" d& r- Z
  1155. mysqli.default_socket =
    0 o2 G6 t9 u, j# p

  1156. 8 p2 \4 {+ E5 D
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , [% f! c+ K$ z% p, g  }% `9 E
  1158. ; http://php.net/mysqli.default-host
      w, d& E% p- @2 A
  1159. mysqli.default_host =
    7 {7 Y' p$ ~5 ]2 u# t
  1160.   n- ^$ i$ ~# p6 E
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).  C0 S: N( f' ?- a; y
  1162. ; http://php.net/mysqli.default-user& c9 b5 x- U' E
  1163. mysqli.default_user =
    ) n! K3 j8 d+ _. X/ t

  1164. ' R5 A* q& @9 H4 Y1 Y( N) J0 [& W
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).# M7 a6 f5 h( [0 a9 r) g' O. s; |
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 X' d6 N( h0 ]4 @  z0 Y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")% ^( t: A9 e& O% E# I
  1168. ; and reveal this password!  And of course, any users with read access to this3 k7 n: }7 f2 y( o$ U4 G8 C
  1169. ; file will be able to reveal the password as well.
    3 q& B( Z0 Q; k( G8 |& V
  1170. ; http://php.net/mysqli.default-pw7 a- G6 Z: _; _! O
  1171. mysqli.default_pw =
    ; X; m" {3 e0 S6 |- W% T, A$ @% q
  1172. ) C% i& h" a6 j2 T* ]
  1173. ; Allow or prevent reconnect* g5 ]8 S, r* \# D* P7 D
  1174. mysqli.reconnect = Off
    $ L: Q5 J& e5 K% Y- h: H/ ]2 A

  1175. 6 Z6 q- B8 ~$ m
  1176. [mysqlnd]
    - S% e; t' x+ F; O8 ~
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
      H8 w/ t) R+ h1 U$ Y5 N
  1178. ; used to tune and monitor MySQL operations.6 J% b$ ~  p- v5 H
  1179. ; http://php.net/mysqlnd.collect_statistics- s8 ^& [! K, T9 Q
  1180. mysqlnd.collect_statistics = On
    . q- o3 }/ G) k; w9 s

  1181. ; `; p5 o' K' x. t* p" V
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ) a( g- ]% Q- l- q8 p: o
  1183. ; used to tune and monitor MySQL operations.
    9 K* Z2 a$ \& v) ?* [( v8 i* n/ M
  1184. ; http://php.net/mysqlnd.collect_memory_statistics( G* r' F5 R( \
  1185. mysqlnd.collect_memory_statistics = Off# J4 f1 `4 P* Z6 c; f% R/ {. R
  1186. " ~6 B+ O$ z& |8 y4 r
  1187. ; Records communication from all extensions using mysqlnd to the specified log8 z' Q" a* D+ g1 n
  1188. ; file.
    # S7 l0 O; ?/ q, K3 X% Q3 v  c
  1189. ; http://php.net/mysqlnd.debug
    5 v, S8 y* N8 n0 T& P9 W
  1190. ;mysqlnd.debug =
    - s8 E; S3 ?" ^* F7 G  n; O  \; d9 _
  1191. ' \: H" {6 O% g, e  p% o
  1192. ; Defines which queries will be logged.
    1 \; S1 x" x: a, _
  1193. ; http://php.net/mysqlnd.log_mask0 b/ O/ G% X% o( r  n
  1194. ;mysqlnd.log_mask = 0: }4 E% ]8 O4 C% m% A2 p$ c: r5 j

  1195. 9 Q; D" [2 t4 g- @- j9 E4 j
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 @3 N8 p+ a$ \. T, L6 T
  1197. ; http://php.net/mysqlnd.mempool_default_size4 U7 ~+ E% N5 Q# k% q' I
  1198. ;mysqlnd.mempool_default_size = 16000
    , z" q8 _5 I; j8 C

  1199. ' a: }# Z& H; q. T
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.0 X0 O# a+ ?: R: {: M/ A. A, w
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    , M+ O7 V: s1 G" E" S
  1202. ;mysqlnd.net_cmd_buffer_size = 2048. x( z2 C) G8 e) G% d8 Z

  1203. 2 v6 W5 w! Z8 m
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in; ~. y4 a" h& [9 K
  1205. ; bytes.
    , N: o! `" i" y4 l& m9 @
  1206. ; http://php.net/mysqlnd.net_read_buffer_size0 `* O1 |( l' i
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ( B+ R9 `% c0 y: ]( w

  1208. * }9 J) V  o4 g  ?( ]
  1209. ; Timeout for network requests in seconds.
    " [: Z$ E0 w1 U+ x, r: {3 m/ {
  1210. ; http://php.net/mysqlnd.net_read_timeout
    / _2 c' m. K; F
  1211. ;mysqlnd.net_read_timeout = 31536000# B8 I3 x3 Q* }1 k, t5 S

  1212. , {: R/ I! s' W% }; z: b
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    5 o$ L2 x3 X9 q2 x8 J
  1214. ; key.
    4 X$ @+ s) @# S* p' ?
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 o* g! J+ Z5 |: O3 b4 ~8 [) R7 a& l/ l
  1216. ;mysqlnd.sha256_server_public_key =
    6 p1 O  n$ q6 X: {  N# d
  1217. * w/ V7 r4 P7 g. W7 [3 q; }
  1218. [OCI8]
      M. m8 K0 N1 H9 F+ ^# r' x9 b

  1219. ; r  R  d1 t( V" @3 }5 w2 {% s6 M
  1220. ; Connection: Enables privileged connections using external* D- A- ]/ T/ J, A5 I/ \7 i
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 _1 ?- x" @) N3 J' p/ b
  1222. ; http://php.net/oci8.privileged-connect
      n7 Y- ]3 ], Y, {4 H9 D8 k' e
  1223. ;oci8.privileged_connect = Off& a7 N  f( }# u( D
  1224. 1 q2 E; h) J9 |) r+ D" g" D+ K/ V
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    : y; {( z7 K) P6 b
  1226. ; process. Using -1 means no limit.
    0 N1 C6 {6 N0 K& @
  1227. ; http://php.net/oci8.max-persistent
    4 n/ H0 [8 ]7 W- \& a5 k" f
  1228. ;oci8.max_persistent = -1
    ' U) X7 `4 g6 B' L& W- ]" x1 w7 A  B

  1229. ( x! G& Q8 t- g2 _1 a% ?0 ^
  1230. ; Connection: The maximum number of seconds a process is allowed to7 l& {) H2 i2 Y( Y/ f' c
  1231. ; maintain an idle persistent connection. Using -1 means idle
    2 d/ S& R2 }8 |
  1232. ; persistent connections will be maintained forever.) f6 M7 V+ r. r3 W! k7 |
  1233. ; http://php.net/oci8.persistent-timeout
    6 f6 }7 F5 T! h& n, |; Q% T; \
  1234. ;oci8.persistent_timeout = -1! J, B; `; ]0 Q$ M9 J
  1235. + D8 d3 C" S* V) @6 A4 \* W
  1236. ; Connection: The number of seconds that must pass before issuing a
    8 c8 C3 M$ u2 P. H/ s
  1237. ; ping during oci_pconnect() to check the connection validity. When+ e# E7 K6 \* I& S# R6 A$ v8 F4 z
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables+ P5 W1 l# @9 |
  1239. ; pings completely.# \5 r# A& S7 v6 O
  1240. ; http://php.net/oci8.ping-interval
      {3 t  @* {" o2 l/ n
  1241. ;oci8.ping_interval = 60% c0 K' w6 u8 f- D( h* [+ G, H
  1242.   p$ T! @% m% D2 d/ U
  1243. ; Connection: Set this to a user chosen connection class to be used, ]3 i0 G6 {! E; I* E, }
  1244. ; for all pooled server requests with Oracle 11g Database Resident+ O. b7 f; l+ ?1 z- K# D+ g# |
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to' Z! y5 O( P1 B2 u- y) Z9 ?
  1246. ; the same string for all web servers running the same application," |8 e8 [8 G# q8 [$ i
  1247. ; the database pool must be configured, and the connection string must
    / r6 n! N" O  K
  1248. ; specify to use a pooled server.
    0 B! R' G, _+ @0 J0 F
  1249. ;oci8.connection_class =
    0 c7 n4 ]+ |1 q  ^+ v

  1250. 2 [8 R6 ~$ w0 k, ?
  1251. ; High Availability: Using On lets PHP receive Fast Application0 I: Y* T) L' |6 ~! U
  1252. ; Notification (FAN) events generated when a database node fails. The) ?& F3 f) l* _% x: c
  1253. ; database must also be configured to post FAN events.
    " M* S  M; c7 ]5 }( G+ o* R0 j: q
  1254. ;oci8.events = Off; E9 {# G* X/ v+ y: I
  1255. / o9 o, Q& {: |3 B" K5 Z
  1256. ; Tuning: This option enables statement caching, and specifies how5 a9 }, V1 f! t) k+ R8 y
  1257. ; many statements to cache. Using 0 disables statement caching.) V/ E' N' m% v* v/ N; `
  1258. ; http://php.net/oci8.statement-cache-size' r# z% b3 G0 X# [0 M
  1259. ;oci8.statement_cache_size = 20
    2 z5 l2 ^2 h% F5 \" X
  1260.   q, ^3 ?$ \$ X9 t# G
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    $ d! ^# D! f$ O; y$ I9 m$ T3 y
  1262. ; rows that will be fetched automatically after statement execution.
    - p1 t6 Q1 F3 k/ [4 {$ U8 G
  1263. ; http://php.net/oci8.default-prefetch; M8 h2 G+ y0 e& p, K7 l# u
  1264. ;oci8.default_prefetch = 100
    / L+ N: z0 Y! G" W- r
  1265. + T  w/ L' |$ D% b( ]
  1266. ; Compatibility. Using On means oci_close() will not close
    + s* I+ z8 x1 e1 M& R2 ?
  1267. ; oci_connect() and oci_new_connect() connections.5 [0 g& L! O. d
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ; H- {; [1 t2 }/ X. E# A2 K
  1269. ;oci8.old_oci_close_semantics = Off1 U1 l) t5 {' Q& ^( _( H: P1 s

  1270. 8 O$ l+ U- z! x* F
  1271. [PostgreSQL]' K1 B  v. e5 @! K
  1272. ; Allow or prevent persistent links.- B: h. K! r, I, T: S' G
  1273. ; http://php.net/pgsql.allow-persistent9 M# ?# Q' B* i. \
  1274. pgsql.allow_persistent = On
    9 n8 J5 c4 ^2 S; g0 W- a' D

  1275.   f+ w7 b. Z. G6 O2 N% c
  1276. ; Detect broken persistent links always with pg_pconnect()." b: f: {' m+ P5 h, g7 G
  1277. ; Auto reset feature requires a little overheads.% k: p$ U$ C) q2 ?
  1278. ; http://php.net/pgsql.auto-reset-persistent5 M% o- z/ ?% b- t
  1279. pgsql.auto_reset_persistent = Off
    . q. C7 @, R* O* w

  1280. 4 ?: h5 h8 h) E( z) w  p
  1281. ; Maximum number of persistent links.  -1 means no limit.
    * i+ s, Z- U$ U. [8 T" d
  1282. ; http://php.net/pgsql.max-persistent3 R' n6 L6 a% K( B
  1283. pgsql.max_persistent = -1" i6 a3 V) D  @4 B7 R
  1284. $ Z( p) @$ X; x+ n, ~. m8 O! M2 H  s
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " W! l* J7 p) P' O
  1286. ; http://php.net/pgsql.max-links5 L0 B, m; U2 k" Y' y
  1287. pgsql.max_links = -1
    3 B5 X' J- \. z! f" G
  1288.   G, f- U, G9 L( _
  1289. ; Ignore PostgreSQL backends Notice message or not.0 T/ v& A& G. t* p- i/ Q% P
  1290. ; Notice message logging require a little overheads./ }6 U7 |+ y3 W4 G$ `: ?# N: m& w
  1291. ; http://php.net/pgsql.ignore-notice! b% z4 R" @3 o* G9 ?1 d/ a$ Y
  1292. pgsql.ignore_notice = 0
    ' U; N% |) T' Y6 @9 M

  1293. 4 G  u1 `1 _4 U& @$ M& K& q0 q, x
  1294. ; Log PostgreSQL backends Notice message or not.8 P0 T  k0 X8 P0 T4 m$ O
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.4 F/ u/ L7 M5 K" U6 q+ F$ P1 c: G
  1296. ; http://php.net/pgsql.log-notice7 I) g& ?# N- L
  1297. pgsql.log_notice = 03 k- V1 P" G/ F9 s! B6 l, a  I
  1298. 1 y, h: u8 ?: y
  1299. [bcmath]' O$ P0 }! a" l2 h) Y
  1300. ; Number of decimal digits for all bcmath functions.
    # `3 {7 W+ X. U
  1301. ; http://php.net/bcmath.scale( y3 v4 t9 \! |9 E
  1302. bcmath.scale = 0
    / N) T  `: l- a7 E5 U
  1303. , A; ]' {2 v" v) ]1 f. F
  1304. [browscap]8 q8 T' X- j5 ]6 K- `$ u4 E" `
  1305. ; http://php.net/browscap+ c4 w5 R( X$ J$ X8 P  ^& _7 F. s& g
  1306. ;browscap = extra/browscap.ini
    9 o6 s: I1 e. x0 ?
  1307.   y9 y8 g- `9 o8 p
  1308. [Session]
    7 D) U6 n( s, Z  Y
  1309. ; Handler used to store/retrieve data.8 Y% \" u, S* M; u. ^: s/ x
  1310. ; http://php.net/session.save-handler" O! r: F7 ~7 o( R
  1311. session.save_handler = files
    7 l7 J& L( ]5 w8 }3 ?" w
  1312. " P. m! o1 Q; O! J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path, z+ J6 J4 l+ R: Z) _6 c2 j" l6 `
  1314. ; where data files are stored. Note: Windows users have to change this
    8 u2 n; X, \& ~) o* ~" s5 r2 E
  1315. ; variable in order to use PHP's session functions.8 b8 D) G; y1 t' M* F! u
  1316. ;# G. K5 _2 I: B) j! |" f) J
  1317. ; The path can be defined as:
    " t6 H+ ~4 i  m# Z
  1318. ;* i) I6 E* m0 f
  1319. ;     session.save_path = "N;/path"
    + W( ]0 D) o0 x
  1320. ;* }7 B+ \! i- m) Y, I
  1321. ; where N is an integer.  Instead of storing all the session files in
    9 W( B: ?+ A6 z1 \  H8 a
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    6 F4 [7 x/ H6 d& y9 I3 O: y: K' @9 Z
  1323. ; store the session data in those directories.  This is useful if
    ( i$ W3 e/ S5 \! k; k
  1324. ; your OS has problems with many files in one directory, and is
    . R4 c7 o" H: K/ @4 c- H0 L: c- Q
  1325. ; a more efficient layout for servers that handle many sessions.
    ( A1 X/ N& D0 D% G* {5 U4 Y, {* V6 R
  1326. ;; r! h" Z! j8 s9 ^! A
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
      b3 n1 _& b3 k! V$ Z! o8 A  E
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 k( v" X3 @1 ~" R) v
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    9 }2 u2 s! D' z
  1330. ;         use subdirectories for session storage
    ; K. ~1 v+ x1 x1 F) S- [$ M
  1331. ;" d% k! G8 x( `  v
  1332. ; The file storage module creates files using mode 600 by default.
    % |  v6 g  j' `* e. g% O
  1333. ; You can change that by using3 |' [. P; e$ m  S! h
  1334. ;( s/ s! e' q+ r9 L; f
  1335. ;     session.save_path = "N;MODE;/path"' z! x: c7 F3 U+ F
  1336. ;
    7 n- f3 n) s2 i* g  w
  1337. ; where MODE is the octal representation of the mode. Note that this
    7 r5 @: k% r# Y8 E
  1338. ; does not overwrite the process's umask.
    / L! ~" T' G0 }" S. ~
  1339. ; http://php.net/session.save-path5 L) {, I2 S3 D2 U) F
  1340. ;session.save_path = "/tmp"
    * _5 l, W- w3 N0 s7 c
  1341. 2 h. @9 V7 T9 g' N) X4 ]
  1342. ; Whether to use strict session mode.
    3 Y$ X7 ]5 J% W8 t# K, I# @. Q
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 n. W; p1 |" @$ `/ `
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects8 Q+ X* p  B7 L0 j" X
  1345. ; applications from session fixation via session adoption vulnerability. It is' a9 }: [* I9 D) I" t; I
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 g4 R$ ?5 x6 A' z. G- Q: t6 `* i7 Z
  1347. ; https://wiki.php.net/rfc/strict_sessions
    5 R3 L1 v! B+ ?3 N; Z
  1348. session.use_strict_mode = 0
    $ Q5 V' K- a  r9 R/ [$ Y9 j
  1349. # A4 K. P/ [6 g% m; V* Y9 }& m
  1350. ; Whether to use cookies./ _) q$ O4 D8 }+ A3 I) s
  1351. ; http://php.net/session.use-cookies1 `. V* J- j. \  C# l% \
  1352. session.use_cookies = 1
    + S  m6 D6 f" ]  j
  1353. . k; R* K1 S+ u, N. C. c: i3 `* V+ [
  1354. ; http://php.net/session.cookie-secure
    ! ?" `0 j# F# l7 M8 M
  1355. ;session.cookie_secure =$ ^7 I$ q2 F7 h* @5 b/ ~
  1356. - w' t6 Q. U4 A4 z& y
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining9 `0 p% _2 h4 L/ a% c' B
  1358. ; the session id. We encourage this operation as it's very helpful in combating% Z) B3 h0 a9 L8 p
  1359. ; session hijacking when not specifying and managing your own session id. It is
    5 d& B  s' r6 f9 v
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % V  h0 K' H2 r/ R% C. {9 m
  1361. ; http://php.net/session.use-only-cookies
    9 ~" k7 `' v) f& m
  1362. session.use_only_cookies = 1* g! Q; I) t1 }

  1363. 4 F* y. T( ?( e! X
  1364. ; Name of the session (used as cookie name).
    & S/ C, Z% a" n) Q2 h
  1365. ; http://php.net/session.name
    * M) r4 C9 ]4 N
  1366. session.name = PHPSESSID' @4 |9 X. g' l, K" b% D# Q

  1367. / v% i8 z: ~  z
  1368. ; Initialize session on request startup.' h9 d2 @: v9 M' B5 j, [4 R/ J6 J
  1369. ; http://php.net/session.auto-start
    8 @3 e8 l. {/ D! E& ~
  1370. session.auto_start = 0
    : }- C/ j1 |8 [
  1371. 6 l  V; x3 g1 \% [6 ~% ~
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    - F* P' u7 f( t. _& s4 |; g, m* V
  1373. ; http://php.net/session.cookie-lifetime
    , b/ Z4 v  Y9 K
  1374. session.cookie_lifetime = 0( @% ~! d  V( y- Z* I5 t
  1375. " s& K+ I8 U# {4 U3 P9 Z
  1376. ; The path for which the cookie is valid.
    ) |' H$ u$ B  y7 `$ T% H; x" M
  1377. ; http://php.net/session.cookie-path  s0 O8 y9 a# H; L
  1378. session.cookie_path = /9 d6 P+ Z) K$ A' U0 S

  1379. . |3 t7 n( N( e$ v1 {
  1380. ; The domain for which the cookie is valid.8 B8 \8 E) D' p; Y8 D" l; t! Q
  1381. ; http://php.net/session.cookie-domain5 m( V( ^( Q$ Z
  1382. session.cookie_domain =
    : G5 A5 N( u7 I9 s: N, i

  1383. ) t9 }9 ]- `: F: ~/ ]
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    # m$ e' Y7 S* c: T5 n& F
  1385. ; http://php.net/session.cookie-httponly
    1 d' q  ^* d8 v: a
  1386. session.cookie_httponly =) l7 F0 q: z' {9 w4 Y
  1387. # H1 S, M1 ~% ^& W5 I- V" G/ U) I
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.  E* J% n  E. i# K/ X% n
  1389. ; http://php.net/session.serialize-handler
    7 C2 ^9 O2 [5 E( W8 q- z& _! y' ]
  1390. session.serialize_handler = php/ L, w0 g7 K' }8 R( A3 Y% Y

  1391. ( v4 \* L" U( b6 @
  1392. ; Defines the probability that the 'garbage collection' process is started
    # X+ p, u$ e2 u
  1393. ; on every session initialization. The probability is calculated by using
    # U% J, X7 {; m0 U4 S5 Z; d
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator, \. a; d6 a9 J4 p# g; [
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1; Q% `: G/ L( }+ z4 P7 p. ^( @) c
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - G; o3 j4 _) V% x7 Q, u, E/ I( m
  1397. ; the gc will run on any give request.
    ! @8 }0 h4 [! w
  1398. ; Default Value: 1
    / S# \$ k" x' h/ m, O
  1399. ; Development Value: 1
    % C7 t6 G6 p. F/ X3 ]1 b
  1400. ; Production Value: 1
    6 D9 R; [  _3 @9 |0 P
  1401. ; http://php.net/session.gc-probability: X& n, s0 i1 z' A* j& u8 I! x
  1402. session.gc_probability = 1
    ( z2 ~+ k3 y% ~# }- j

  1403. - l  ?0 a0 Z! S' z% ?0 U& S6 o
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    6 z( s( I0 n: m/ Y4 [$ _" q
  1405. ; session initialization. The probability is calculated by using the following equation:
    ( J. z4 [% _; F
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, b, x% c1 s; J
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    / A4 |8 p6 V; ?: g
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 B6 u5 g8 Z0 a+ ^/ l! ^8 m
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    6 \3 i! m- a5 m/ v5 f3 U2 w
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,2 z2 I( O, E* S- x5 }9 ?$ \) a" ]8 A' a
  1411. ; this is a more efficient approach., R, x3 U6 {3 i- Z3 q
  1412. ; Default Value: 100
    . w, ~3 `% @' Q, `5 u4 X5 X# h
  1413. ; Development Value: 10004 K) k! O) s7 o( m) U6 g
  1414. ; Production Value: 1000" `* A: c! ?# q- P- I
  1415. ; http://php.net/session.gc-divisor
    . H3 V% z* u3 \6 q- c
  1416. session.gc_divisor = 1000. H& s/ ?3 f' @2 b! Y
  1417. , g7 {; s: }; a9 t7 O3 E2 y! |& F! Y
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    % g% S% {/ e# R( e8 `$ z7 _
  1419. ; cleaned up by the garbage collection process.8 G% U1 r4 k# |. `
  1420. ; http://php.net/session.gc-maxlifetime
    6 }. |+ Q1 N+ E- m# b$ D
  1421. session.gc_maxlifetime = 1440
    8 A, m: p. F3 j2 p. x4 ^

  1422. % f, D: j: z8 W/ g: [
  1423. ; NOTE: If you are using the subdirectory option for storing session files* `" e" L* ^3 z( l9 q3 Z* ~& x3 j! I
  1424. ;       (see session.save_path above), then garbage collection does *not*' c1 z3 b+ _. v4 p; l9 J8 }
  1425. ;       happen automatically.  You will need to do your own garbage/ A1 M# u" s% r2 l$ p8 Q, K" O# a
  1426. ;       collection through a shell script, cron entry, or some other method.
    " n$ |- D8 E6 [
  1427. ;       For example, the following script would is the equivalent of
    ! k& C+ @/ U) ]! b# z8 @$ k' j
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):5 m9 V/ U% N' Y' `/ V
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    $ }( G6 T: ]3 W3 h6 x9 R: e
  1430. ( E- B& f) A" f
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    / v$ _6 f2 l  O2 b$ B
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    7 G. A9 m% |" r5 C
  1433. ; considered as valid.4 A1 t1 n' \9 @' s) k
  1434. ; http://php.net/session.referer-check
    0 B2 u+ H2 b  {2 j! P% d
  1435. session.referer_check =" `: }& q1 K- Z6 X; s0 L* o1 w
  1436. 5 H7 r3 L3 ~( N# W' A
  1437. ; How many bytes to read from the file.% W, l4 e4 e4 g: t9 F; Q
  1438. ; http://php.net/session.entropy-length
    ! _& v' F) V1 M8 b
  1439. ;session.entropy_length = 32
    ) z* ~/ z2 T5 t' Y; X/ `
  1440. 8 O! `2 s' ?1 e% h/ n& ]. |
  1441. ; Specified here to create the session id.
    % \/ x! s) {  k6 E" `& j- z! Z) h
  1442. ; http://php.net/session.entropy-file" [, i% T8 W. ~7 }
  1443. ; Defaults to /dev/urandom& s6 c& x% F' R8 H
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    1 e) o9 f. `. e# o
  1445. ; If neither are found at compile time, the default is no entropy file.! e( v: P2 X3 u( ^& H
  1446. ; On windows, setting the entropy_length setting will activate the
    ; I7 W* [& ~( N5 Y4 K; N2 m, G' q
  1447. ; Windows random source (using the CryptoAPI)2 L5 v: }% |) R/ J9 ]
  1448. ;session.entropy_file = /dev/urandom
    ' y* }" N' T: s3 N1 y: [  a( Q

  1449. : K" K& g% z7 r$ k8 `2 j+ c$ K1 `+ h
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects& p! W  H4 Y( I2 b+ ~
  1451. ; or leave this empty to avoid sending anti-caching headers.
    + T" z, ?( `% ^* u. X
  1452. ; http://php.net/session.cache-limiter
    ' x6 f! X# x# o  r" c, ~- J
  1453. session.cache_limiter = nocache
    9 T9 B4 c+ ^: c2 w( j6 \4 M# j) W

  1454. 3 j4 F+ ?/ s2 _
  1455. ; Document expires after n minutes.
    . Q2 o. g5 U! o2 f' L
  1456. ; http://php.net/session.cache-expire# q# j1 C$ i) d; j$ e9 P" R9 u
  1457. session.cache_expire = 1806 l2 d) t2 ]4 {8 M) t% }% j
  1458. + x6 Z/ J# |) _6 d
  1459. ; trans sid support is disabled by default./ `: R" Y7 C' A2 o  C3 J
  1460. ; Use of trans sid may risk your users' security.
    & E$ _; ]5 [; u5 S. K
  1461. ; Use this option with caution.+ Y6 A3 U; a/ W6 }
  1462. ; - User may send URL contains active session ID
    & j# @) {" j0 x
  1463. ;   to other person via. email/irc/etc.
    + j1 e4 m, B% U* _0 v. L, a0 E
  1464. ; - URL that contains active session ID may be stored2 Y6 u' v: i$ W
  1465. ;   in publicly accessible computer.
    0 a. K4 _7 ~' R8 T+ j
  1466. ; - User may access your site with the same session ID( s. g" i. m( J8 j  @( r
  1467. ;   always using URL stored in browser's history or bookmarks.
    . y7 Y- [7 _. s2 b% Z
  1468. ; http://php.net/session.use-trans-sid& ^2 E( V' ^* o6 V: |! ^
  1469. session.use_trans_sid = 0
    : b: Y' U* T9 T4 E' _1 f

  1470. # g  b( F+ k9 X3 r
  1471. ; Select a hash function for use in generating session ids.$ p3 w- B  ^! X' c
  1472. ; Possible Values4 W  ]3 l/ z, K, N/ }4 {
  1473. ;   0  (MD5 128 bits); a* c: ]9 r* c/ a0 {# z2 o
  1474. ;   1  (SHA-1 160 bits)
    ; E$ E. V# `& [. Q0 A3 X" S
  1475. ; This option may also be set to the name of any hash function supported by- @  o. i5 O, i  O, Q, D
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    % f* l/ t+ c; E: m% O8 ^8 R& [! n
  1477. ; function.
    & q( Q: z' b; B" J! n& b7 g
  1478. ; http://php.net/session.hash-function
    1 W! F8 N0 q$ ?- G; E4 T( X( [% ]; x
  1479. session.hash_function = 0
    % V) o$ O- ^- N& R, A
  1480. & J7 y! F+ @, Q2 J+ y: V: |1 ^
  1481. ; Define how many bits are stored in each character when converting% `4 P) b: B9 d
  1482. ; the binary hash data to something readable.. _% d! I# a* b) w$ c: L
  1483. ; Possible values:
    $ F: B# F# C1 b: ^0 T, f1 U3 i
  1484. ;   4  (4 bits: 0-9, a-f)
      r) i; a# i3 n$ z* K) p
  1485. ;   5  (5 bits: 0-9, a-v)
    ; P% J2 y$ u; I' n+ ^. B
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( q  ^) g6 t) D3 \$ {. V5 Q" Y
  1487. ; Default Value: 4
    + E; p2 X3 ~- M$ Z6 @
  1488. ; Development Value: 56 x. z! T1 @' H6 S, v4 ]6 _
  1489. ; Production Value: 5$ Q, r! R' b$ l, f2 {) e0 l
  1490. ; http://php.net/session.hash-bits-per-character
    . K4 h; z& \- ]0 D" a. H8 k
  1491. session.hash_bits_per_character = 59 R$ `9 G5 @: z$ e, b
  1492. 6 E+ n' E, Y& ?9 ]9 o3 k% i# [4 u
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.1 _1 t3 Q  @1 n$ b* {2 K
  1494. ; form/fieldset are special; if you include them here, the rewriter will4 F8 A9 ]7 K1 Q' B& S+ u+ M
  1495. ; add a hidden <input> field with the info which is otherwise appended4 f5 _5 M3 K% c; F2 x. L. p
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.# q5 ?* ^4 @/ W8 l
  1497. ; Note that all valid entries require a "=", even if no value follows.2 N" U' z6 ~! M7 G, A8 L3 S/ d: w
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="7 F4 A$ r( v6 T- G
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # ]* i1 M( E5 Q! X: j. z
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 C% C1 |7 U! e7 E& g; a: [( e: i
  1501. ; http://php.net/url-rewriter.tags1 _# l5 w; P6 p- y& s5 x+ L
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
      S! X3 h' n% @0 L

  1503. 5 Q0 g% {+ o1 M0 G, R1 q
  1504. ; Enable upload progress tracking in $_SESSION  ], r, ^/ W# F1 m: S0 L$ j* Q% a
  1505. ; Default Value: On
    - @& f. c* @1 m" M+ I
  1506. ; Development Value: On, z8 K4 `9 d0 n2 [" C  \" |! ?
  1507. ; Production Value: On
    9 L- n4 W/ N* ~
  1508. ; http://php.net/session.upload-progress.enabled
      y& b/ {  e, }/ @
  1509. ;session.upload_progress.enabled = On4 J- B1 x. b" B- t# s
  1510. * P3 s8 @6 q6 S( h9 B  X/ v1 C
  1511. ; Cleanup the progress information as soon as all POST data has been read2 Q3 @6 u. G4 T8 l. `8 o# G9 E
  1512. ; (i.e. upload completed).( Q0 L' R7 {# h0 s
  1513. ; Default Value: On
    ; ]% |( i$ f- [6 i$ T$ y5 l
  1514. ; Development Value: On
    7 ^9 y" B' o4 N0 H) s7 T' x
  1515. ; Production Value: On
    : B$ N8 S7 i8 G
  1516. ; http://php.net/session.upload-progress.cleanup0 |3 N! G: D9 W# |
  1517. ;session.upload_progress.cleanup = On/ {# B8 d2 F6 ]3 q1 F; r

  1518. 9 j, h1 E* [3 A% Z
  1519. ; A prefix used for the upload progress key in $_SESSION
    ( i) s  C2 K- c* [
  1520. ; Default Value: "upload_progress_"
    - l9 y. C) A5 p- G+ }: {1 @
  1521. ; Development Value: "upload_progress_"
    / W! @5 t0 L6 Y' \$ e$ S
  1522. ; Production Value: "upload_progress_"5 S$ s1 K; f7 z( S7 Q
  1523. ; http://php.net/session.upload-progress.prefix
    , s; B& B1 t" D' b7 Q" g
  1524. ;session.upload_progress.prefix = "upload_progress_"- e8 j: h+ ]! i- ~, _, N

  1525. 1 d4 l5 S9 K" Q+ i3 [. Y5 M! Y& s" z
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    - O/ E- ?7 [8 \- P8 [* Y! F
  1527. ; containing the upload progress information
    ( B+ B8 }& X  b/ b
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 C- e# y9 |+ K1 g
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- w3 l- M6 m/ @5 t
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , C" a' ~1 q% m4 v
  1531. ; http://php.net/session.upload-progress.name: D# b2 [* E  [9 y: g2 @9 c9 O
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 n. p. p- \9 ~8 U2 U

  1533. $ J8 V: l& `: m# [& W0 G! ?: H
  1534. ; How frequently the upload progress should be updated.$ n0 N. ^' F- ?: z9 u
  1535. ; Given either in percentages (per-file), or in bytes; B  M2 u+ [" B% ]' }
  1536. ; Default Value: "1%"
    5 }5 V* @# g3 {2 w  m
  1537. ; Development Value: "1%"
    * S6 C5 W* g4 {" G8 S% B! P8 x2 F3 @
  1538. ; Production Value: "1%"
    8 F( S' L! t9 |5 G
  1539. ; http://php.net/session.upload-progress.freq6 I! D+ @, ?( b
  1540. ;session.upload_progress.freq =  "1%": U1 u5 u6 F8 M# F2 u) K

  1541. 4 R; w5 T2 v* O% x* L; i% ?
  1542. ; The minimum delay between updates, in seconds5 B- K0 H0 m) t; R
  1543. ; Default Value: 1
    7 i8 x$ B# N& z& T& T: D# E+ i
  1544. ; Development Value: 19 X: q4 }& ]6 B" h8 ?7 T) e# v
  1545. ; Production Value: 1
    2 e& _# G4 R' r' a
  1546. ; http://php.net/session.upload-progress.min-freq& B$ ^5 i6 M  I! ]
  1547. ;session.upload_progress.min_freq = "1"  C4 V% N+ a2 Z4 ]6 I' K; F! t
  1548. * e) S$ Z  M' z" e7 ?! A9 b, y9 W8 D
  1549. ; Only write session data when session data is changed. Enabled by default.& X& a" l' a( u/ p: I' z4 n: I
  1550. ; http://php.net/session.lazy-write
    & ], e- G1 {/ G# b* |
  1551. ;session.lazy_write = On0 E# {$ e' O# t- g- Q
  1552. 1 W$ }: R. x1 Q$ a! I5 b
  1553. [Assertion]' S- }' r0 v* O4 L
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ! N! t" |" P; T7 `% ?# Q! [! ~
  1555. ; -1: Do not compile at all* @6 k7 A6 X. N" u8 `$ y
  1556. ;  0: Jump over assertion at run-time
    0 ]; E0 V, k- T. q6 e
  1557. ;  1: Execute assertions4 g4 l3 A3 |  n8 D
  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). L% U' z. Z8 l! o; P
  1559. ; Default Value: 1- h4 Z  r1 q. X7 Y% |  `
  1560. ; Development Value: 1
    / I) P( }$ m2 w# o3 ^- @" G. x  \
  1561. ; Production Value: -1; {7 Z' c- }  }" P, H: C9 s5 P2 i
  1562. ; http://php.net/zend.assertions
    ; p  g( s, b  l1 Y
  1563. zend.assertions = -1
    ; x; Z! L4 [3 ]; I. x

  1564. . k. Y3 ?% H: x' ~4 O
  1565. ; Assert(expr); active by default.
    : Q, i) z$ M% ]$ J! [
  1566. ; http://php.net/assert.active
    7 Y* x. p3 r9 {( R. B: M* O) X
  1567. ;assert.active = On% b0 I4 R3 G9 h* r4 c

  1568. ) e3 V! n$ B1 D3 W
  1569. ; Throw an AssertationException on failed assertions
    3 J5 }* I) E& ]" I. K
  1570. ; http://php.net/assert.exception
    ) K! r( d- D5 X" u9 k+ K" ?" m# u% X
  1571. ;assert.exception = On. t+ m1 Z0 q- B/ \# ]  e3 D

  1572. 4 b- H4 J" I/ e+ G% P! F$ m
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)1 w! V' Y/ O% E. w5 U
  1574. ; http://php.net/assert.warning
    6 ?  }* R3 U) ]1 t7 r5 r+ o
  1575. ;assert.warning = On
    7 R7 b; k' K1 i4 L' z

  1576. 5 L) O! C7 d# f0 _
  1577. ; Don't bail out by default.
    7 e' I, h1 D/ p. l
  1578. ; http://php.net/assert.bail+ K5 ~9 \" J. W+ |3 _; f
  1579. ;assert.bail = Off8 u) d2 t7 `+ i( m! b( C) D7 |2 i
  1580. 0 v7 t) h  C- u* C
  1581. ; User-function to be called if an assertion fails.
    : u- F* q- q& @# w
  1582. ; http://php.net/assert.callback; ~& o' R* h- w
  1583. ;assert.callback = 0) D8 C( r1 h' L# t( O
  1584. - t8 M9 S: v+ a" J3 L3 b$ S3 s% J
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ' s2 Q; \. @* s; ?) Q7 ^: y
  1586. ; error_reporting(0) around the eval().# G8 I1 E3 r6 x7 A% h& o
  1587. ; http://php.net/assert.quiet-eval  z# m- A1 {# i# a0 V
  1588. ;assert.quiet_eval = 0. U! U& e# v8 c  ^
  1589. " }6 B7 O3 J8 ]1 K
  1590. [COM]
    3 U3 f. ?0 H' b' M
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs0 u8 f0 B+ f/ l5 G/ k' ]5 |6 y  }
  1592. ; http://php.net/com.typelib-file# O1 I- M5 X- F' _8 f. j/ N, Z
  1593. ;com.typelib_file =
    8 s3 o7 O3 N& q( ~( t1 N

  1594. ; Y/ M1 x6 a; \' g% Y3 Y- t
  1595. ; allow Distributed-COM calls
    ' ?  @3 M: E* f) I1 _# ]
  1596. ; http://php.net/com.allow-dcom
    4 F! @: k; f4 H8 q. E/ A
  1597. ;com.allow_dcom = true1 g6 l9 L* t' f* P0 x! @- U7 @
  1598. 1 Y/ i3 \8 e4 M0 x% B: c$ F$ Q
  1599. ; autoregister constants of a components typlib on com_load()
    8 A. Z/ v0 c* C9 D# S
  1600. ; http://php.net/com.autoregister-typelib5 U2 R$ P" Q1 [0 }( F! G$ a/ \
  1601. ;com.autoregister_typelib = true6 {' Q( W! ?% q: l2 C, j. m
  1602. 0 H( K9 H! }; `& T0 g1 U2 o
  1603. ; register constants casesensitive2 i5 s  E' r* e( P3 Y4 }
  1604. ; http://php.net/com.autoregister-casesensitive- y+ A6 [1 r6 t3 \4 C
  1605. ;com.autoregister_casesensitive = false
    ' R+ o# `# e; v/ C8 s3 E* o0 W
  1606. * M% N7 |  V; W
  1607. ; show warnings on duplicate constant registrations
    6 C, [7 l) Q6 Y1 u
  1608. ; http://php.net/com.autoregister-verbose
    ( W# L% k/ y! E) X; K
  1609. ;com.autoregister_verbose = true2 G4 m, c. C+ h+ c: Y% W

  1610. 4 ^2 K- X5 ~/ D' K% ~; \
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    # s$ S/ X3 D1 _( l# B2 j( Z( V
  1612. ; Default: system ANSI code page
    8 {% [2 j, K. e  J* U$ G4 l" S$ f
  1613. ;com.code_page=) ~2 E6 B- {% i+ Z) j# ^" \( y

  1614. 6 Y' Z: c9 s9 l& D0 c
  1615. [mbstring]0 e6 u9 }  F- U: X
  1616. ; language for internal character representation.
    & s# E$ w. X5 x+ {" `" a- v; R* ^
  1617. ; This affects mb_send_mail() and mbstring.detect_order., i% N" y& N; O1 @# U
  1618. ; http://php.net/mbstring.language
    ; `+ A) ^2 {6 @) G+ h: q2 ?4 w
  1619. ;mbstring.language = Japanese% f/ n/ p) D3 _# G
  1620. 6 Q' f0 O3 l7 Q, g+ Z
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - A# n' A  d3 B1 V7 d! ^, \
  1622. ; internal/script encoding.
    " T  G  Z) Y4 }" Z" Y' m7 B
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 ^. U  g6 o  L( C  y' l2 V0 n8 _2 N) g
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 O, S% d; u2 r; T& I2 V3 S1 G
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / k# U7 J' c3 N* T
  1626. ;mbstring.internal_encoding =
    5 d* \* g3 w8 b  s
  1627. % l! R) w! a) \2 Y- ^: D) s
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.( }8 {& D7 o' J$ f( F
  1629. ; http input encoding.0 g( u- K% w8 o
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.* j. U. i; A, R3 a# M- ?2 O6 ~8 Y
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.0 W  a. H  K$ o- p
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 u+ r, `' r% h6 c( c
  1633. ; http://php.net/mbstring.http-input# [0 @. k! ^( q# H2 @# Z! J
  1634. ;mbstring.http_input =8 r5 X7 w, g/ B* ]) b  Z
  1635. 3 H# j6 {% s2 d1 R, v1 ~9 g+ _1 s; n
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
      g( J$ B7 |! }! K" I
  1637. ; http output encoding.
    , f9 O2 G+ a9 c, b) ~) `
  1638. ; mb_output_handler must be registered as output buffer to function.
    0 _; m% L0 ?+ r4 i; B
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.$ n9 h2 q, L, c: x8 b0 H. ^, H
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    & p- }4 I$ ^- j& m
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ' h, D- |1 Q* U6 _* C/ m; U5 v
  1642. ; otherwise output encoding conversion cannot be performed.
    $ a4 N  A' C; F; C
  1643. ; http://php.net/mbstring.http-output
    7 P2 Z" R6 Q2 i
  1644. ;mbstring.http_output =
    : X" L* C9 p1 v2 m; L" h
  1645. * C( A9 V/ T- z# k7 V( u
  1646. ; enable automatic encoding translation according to& S/ q( ]5 S; a* l) G2 }
  1647. ; mbstring.internal_encoding setting. Input chars are- U7 C+ R9 q( i
  1648. ; converted to internal encoding by setting this to On., }& Y; [8 m, e# P4 y8 S' |7 X, p
  1649. ; Note: Do _not_ use automatic encoding translation for
    " s8 ]& o, @& z; F9 ?, J
  1650. ;       portable libs/applications.( g. a8 h& P% h$ \2 f8 l) ?: t  j+ q
  1651. ; http://php.net/mbstring.encoding-translation
    4 E' u* u7 H' B& a3 j
  1652. ;mbstring.encoding_translation = Off
    + A) ~8 M1 R( p2 C6 }# Z' E
  1653. % x4 x/ U! |, A2 b( X! ~% M0 T
  1654. ; automatic encoding detection order.
    . ?4 Q8 e' _* `4 d( u! y2 W- c+ Q
  1655. ; "auto" detect order is changed according to mbstring.language
    % R: @; r- t+ }0 n
  1656. ; http://php.net/mbstring.detect-order* U  P7 g  V/ p3 A' ^9 h
  1657. ;mbstring.detect_order = auto. G1 O5 Q+ H* r
  1658. , R$ J8 T. v* v% H! S/ ?
  1659. ; substitute_character used when character cannot be converted$ K9 K; J7 D  u# M
  1660. ; one from another
    ( V/ y, c) `9 Q& Y" P
  1661. ; http://php.net/mbstring.substitute-character
    & X2 z% m0 l5 U2 d8 A. \
  1662. ;mbstring.substitute_character = none; H* a/ _: B8 K) a9 v* v& b2 h6 F

  1663. ( m# f2 B" E% V
  1664. ; overload(replace) single byte functions by mbstring functions., G3 Q1 V' N, ^  m& S1 x3 `
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),; x6 D4 M: N: F( I7 y- \4 Y
  1666. ; etc. Possible values are 0,1,2,4 or combination of them., y- f: n" `, {- d% i) _2 F1 V6 Q' B
  1667. ; For example, 7 for overload everything.
    : R; ?* u# R- r0 z9 q
  1668. ; 0: No overload
    ) F& Q# I. h) n) }+ L
  1669. ; 1: Overload mail() function
    4 ?2 }* T: n% Q
  1670. ; 2: Overload str*() functions9 ?' K1 M3 F# I4 F# {. S3 [6 {2 G$ m
  1671. ; 4: Overload ereg*() functions2 W9 s' E9 P9 ~; R, L
  1672. ; http://php.net/mbstring.func-overload0 Z( u! E" f3 H% l5 C1 m
  1673. ;mbstring.func_overload = 0
    % w$ {5 J* |* ?/ f+ S
  1674. 8 z; K# K4 k  p/ H0 ?/ w7 b
  1675. ; enable strict encoding detection.1 J- o0 N: N) a& f- v( ]; B" C
  1676. ; Default: Off! z; d& g. a, `4 h5 m* o
  1677. ;mbstring.strict_detection = On1 {4 G1 a& n; P
  1678. 0 l+ x$ m" @! u7 J- A: z) m! {* t
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    , H$ P; m2 M! T% L8 |
  1680. ; is activated.
      ]4 U2 f0 y% h* }: y
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)% w, \1 G# E- L. e  _
  1682. ;mbstring.http_output_conv_mimetype=' s& P: s& J3 m, e/ P9 |- V- b
  1683. / c' y* U" ?2 p6 G/ l; h! z; A
  1684. [gd]  S0 f1 Q1 Q& P) Q2 m
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    . T: H) r( l1 V7 Y
  1686. ; a gd image. The warning will then be displayed as notices
    0 n* B3 f6 J# j4 @. f/ F8 Z  B
  1687. ; disabled by default$ @! h. {9 b$ F- Z
  1688. ; http://php.net/gd.jpeg-ignore-warning+ d; A6 j: Z' A! c' m$ v! v
  1689. ;gd.jpeg_ignore_warning = 0
    ! N4 |: h. o: g- o: v9 T; R( j. z

  1690. , _( H9 a9 N% m; M1 h
  1691. [exif]4 v2 I  g3 I9 v3 K( ?+ V; k
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 s- g# Y5 d" n' T- \
  1693. ; With mbstring support this will automatically be converted into the encoding! \$ A: [  y+ c! U+ ^
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding- W9 y8 U. u- n4 U1 E5 C8 d
  1695. ; is used. For the decode settings you can distinguish between motorola and5 e5 y1 S. Q7 y, B' u+ T# K! p3 h( G
  1696. ; intel byte order. A decode setting cannot be empty.
    ! g8 Q) U' r& x" a2 u4 Q1 e
  1697. ; http://php.net/exif.encode-unicode
    1 ?+ c/ r) d' e3 }
  1698. ;exif.encode_unicode = ISO-8859-15
    # i+ @. R" V/ \: J1 U
  1699. $ X2 r3 M( K! I* h+ _1 B/ n
  1700. ; http://php.net/exif.decode-unicode-motorola
    & E1 }' ^0 j0 ^) L+ b; e. I! w$ N
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    1 r; Y+ `+ Q! J4 X
  1702. 4 A9 R+ u( B9 \1 X- V* W
  1703. ; http://php.net/exif.decode-unicode-intel
    8 `" y4 q$ k1 g8 c& z7 m/ m: Z8 v
  1704. ;exif.decode_unicode_intel    = UCS-2LE2 P& p& Z* {* Z% y2 Z$ R
  1705. $ q# W9 I5 r9 F4 L3 e3 W  {
  1706. ; http://php.net/exif.encode-jis  K1 @. w8 B# N% s& `( q
  1707. ;exif.encode_jis =, K, D* _$ A6 K

  1708. ( e5 i* M, W# B* l
  1709. ; http://php.net/exif.decode-jis-motorola- f/ i7 \5 Z/ g% L' l' A% P
  1710. ;exif.decode_jis_motorola = JIS9 e  O1 k3 M5 p# g+ d

  1711. & |& D+ e2 t( ~2 ]
  1712. ; http://php.net/exif.decode-jis-intel
    6 b9 l( B% Z; I5 z9 q6 b; Z
  1713. ;exif.decode_jis_intel    = JIS( E: @. b9 U, g" Y  V

  1714. " S" l) b: u% P8 x% g# `* U
  1715. [Tidy]
    , g+ S2 p9 I/ Q. U) Z8 I
  1716. ; The path to a default tidy configuration file to use when using tidy5 Y* w' T; w5 k, n  R  t# Z
  1717. ; http://php.net/tidy.default-config
    , [; L9 D7 O( C2 C( z' q
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg6 w4 G; f0 B0 W3 ?+ S; ?1 X+ V, o
  1719. 6 l0 ~7 g$ V3 _
  1720. ; Should tidy clean and repair output automatically?" I8 p( d& D# ?/ S' q- i, @0 X
  1721. ; WARNING: Do not use this option if you are generating non-html content
    $ `: r7 i# R3 O; n4 e" z
  1722. ; such as dynamic images' z5 @$ F2 M; l; L
  1723. ; http://php.net/tidy.clean-output
    4 q# r: Z6 W: s! I, \  S
  1724. tidy.clean_output = Off
    3 `4 `& ]7 \9 O/ A  S" ~* A5 I
  1725. $ j+ _: f( j8 `
  1726. [soap]% {( I# U5 k8 U% b. [$ A
  1727. ; Enables or disables WSDL caching feature.
    * v2 I- H/ ^5 C+ g, K6 `
  1728. ; http://php.net/soap.wsdl-cache-enabled
    3 m2 q8 @% K# W$ n1 F' ?5 ^+ J
  1729. soap.wsdl_cache_enabled=1
    , g7 Y; H; r- ?- J0 q: L. Z5 [
  1730. - s( t" r9 M$ u/ D
  1731. ; Sets the directory name where SOAP extension will put cache files.1 C9 V9 a& s  F1 P$ b; D* W  i
  1732. ; http://php.net/soap.wsdl-cache-dir" [7 F1 J0 ]0 C
  1733. soap.wsdl_cache_dir="/tmp"
    9 G6 j5 k+ P. W: e) f4 c( g3 z

  1734. & O/ k. m9 _) H( F) s
  1735. ; (time to live) Sets the number of second while cached file will be used0 G* J. ]7 I" c4 K
  1736. ; instead of original one.
    . Y$ L, ~& W8 t- ]
  1737. ; http://php.net/soap.wsdl-cache-ttl! `4 v3 b7 n$ @! l
  1738. soap.wsdl_cache_ttl=86400
    / M  v0 b' z0 a4 J+ S- `
  1739. , D& C. b, m$ t6 n
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    * L0 m& S& i9 r+ R5 `3 b
  1741. soap.wsdl_cache_limit = 5
    : N0 T' k( h5 u; F6 U( \% o

  1742. , W* x4 w( m) n3 B2 N! O
  1743. [sysvshm]
    7 g# ^- q' P2 C: @, n# {5 C! s
  1744. ; A default size of the shared memory segment
    0 _  b6 y' n! C2 c/ Z
  1745. ;sysvshm.init_mem = 10000
    & H! G# I; v' @$ }/ \

  1746. $ V4 f$ a- a2 _! q* Z
  1747. [ldap]
    & _6 h& p+ ?: _1 X8 b
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ; b' w4 w  S' X8 S2 m$ g3 ?
  1749. ldap.max_links = -1& O3 L7 Y- ]) n0 ^* r
  1750. 1 G) s! ]( V9 j: Z; i& J( @
  1751. [mcrypt]
    1 X1 ~' D( ]6 z$ Z) ^0 k  R  z% o. J6 N
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' i& j1 L- A9 L9 ?' h7 n1 ]

  1753. # @) E' {2 a, C. A2 @! D
  1754. ; Directory where to load mcrypt algorithms: t( Z; Y# u( H* M3 c- f
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' r# z% H$ Z; ~' t
  1756. ;mcrypt.algorithms_dir=
    ! O/ p& {6 ?( C# V
  1757. 7 a5 O4 V& _1 o4 z; h, ?
  1758. ; Directory where to load mcrypt modes( |% t" B* z' x. {/ W
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' O$ R# @- n( `1 f- T/ e7 r* F
  1760. ;mcrypt.modes_dir=
    8 _" @- y4 G' h

  1761. 3 i4 L7 `5 d5 Y+ v, W# \" n
  1762. [dba]
    1 o# u# O& T: S# D
  1763. ;dba.default_handler=9 V. t5 p# S7 ^6 q) n/ u" b1 O
  1764. ! z$ x! A3 [) ~5 c, H4 b
  1765. [opcache]
    ' g* V; G# n3 a& v  F
  1766. ; Determines if Zend OPCache is enabled5 t! Z/ t* s: H2 t" \, T5 v3 A
  1767. ;opcache.enable=0
    8 {: @8 c! l: j/ h' x# |( j% r

  1768. , C. ^$ z  r: T! d: N. l$ Z" ^( q
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % X0 j5 L& R* y# ~6 C% d
  1770. ;opcache.enable_cli=0
    , w' I+ ~- M+ g+ f
  1771. 4 z) l; m: f& X
  1772. ; The OPcache shared memory storage size.+ x0 p- A6 E/ x2 e  C
  1773. ;opcache.memory_consumption=64- k5 C$ u& Q5 @( D$ Y
  1774. 8 B. s) L# ~9 ~! h% J
  1775. ; The amount of memory for interned strings in Mbytes.8 n; d: ]- ]. K- c' f9 f$ D
  1776. ;opcache.interned_strings_buffer=4( e9 B+ [5 v7 B' f/ m: }& n2 n

  1777. : J% U9 Q7 N/ a
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    5 t  h  V: S3 L1 Q" Q" X- m8 Y, N
  1779. ; Only numbers between 200 and 1000000 are allowed.$ L% c. g; ]- r3 ]
  1780. ;opcache.max_accelerated_files=2000- j, c& X/ V7 E" u, q& j0 O

  1781. " f, }7 S7 w6 ^- g5 N) g5 X% _
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 p/ a/ ?4 e0 U  _% d' }& C9 N( J
  1783. ;opcache.max_wasted_percentage=5) w5 u# c( m0 r/ o) h( |6 W$ x0 [
  1784. 7 b) L+ ]5 R+ V+ T% p% ~
  1785. ; When this directive is enabled, the OPcache appends the current working
    9 r! v9 r/ \1 Y0 q6 j' O
  1786. ; directory to the script key, thus eliminating possible collisions between
    & o, S/ K: y2 e4 e5 [! F
  1787. ; files with the same name (basename). Disabling the directive improves
    ) p. g+ @  }9 O; d
  1788. ; performance, but may break existing applications.
    & l; l$ e; v9 @5 y; W
  1789. ;opcache.use_cwd=1
    6 g  e, c0 h8 i6 [  j0 }  y

  1790. / ^; @# M6 I7 m! O
  1791. ; When disabled, you must reset the OPcache manually or restart the) k: [+ H6 d$ _: m$ |
  1792. ; webserver for changes to the filesystem to take effect.7 e3 Y0 c- E1 Y9 x  a' u9 u# _
  1793. ;opcache.validate_timestamps=1
    7 n1 ~% U/ p' ~/ {( `

  1794. & E7 K" N2 \1 S% Z3 ^, ^
  1795. ; How often (in seconds) to check file timestamps for changes to the shared* \4 _# W. T1 @* m7 A+ s
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    1 ]% W, F: a. k
  1797. ; once per request. "0" means always validate)7 \, v% D0 f! i: V1 K" @
  1798. ;opcache.revalidate_freq=27 v2 i3 T4 ~# ]  H% r. E
  1799. " k) Y! D0 c1 N& k
  1800. ; Enables or disables file search in include_path optimization/ j2 d8 a6 D. y9 E1 w: Q7 N8 M
  1801. ;opcache.revalidate_path=0# X' a- N. W) d9 v) s; ?# V/ W# `

  1802. / N: H0 ]/ O6 I: i5 v: P
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    3 M' M7 F6 G: L& s" Z; f% X# ~& X; j- O1 J
  1804. ; size of the optimized code.: \/ v; F' W( l- T* @4 p2 o
  1805. ;opcache.save_comments=1
    ; a( u& G# ^7 t5 ^, S

  1806. / ^" K5 Z3 g& g" Y  C0 I! e
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    $ ~7 L% V4 j2 V  m: ~7 C; C0 L
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.( W5 s7 L" A# ]
  1809. ;opcache.fast_shutdown=0
    ' T$ w+ T/ w* M" G1 F
  1810. ; n7 m6 @( U) f+ m  s2 O  J
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    % _4 t- j4 X" E. S
  1812. ;opcache.enable_file_override=0; w+ S  J2 Q6 n$ ?7 y2 I& }
  1813. 2 G8 l3 t( q& Q+ q$ m5 `: t
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    # z, y/ s  F" }1 ^& C) V6 L$ q0 V) F
  1815. ; passes
    - [9 m* j* O+ {% K& D
  1816. ;opcache.optimization_level=0xffffffff
    ! b9 p9 R4 P4 y# @5 b7 c6 {
  1817. 4 N7 [5 _" b; D& \9 J! c
  1818. ;opcache.inherited_hack=1
    : e% T# g6 i  X0 B$ p/ f9 C
  1819. ;opcache.dups_fix=0
    9 k& C! O1 v: |  a* t& g
  1820. ( X( T& G1 x& p
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ' s2 \2 o' R( d2 H6 a% ~  F
  1822. ; Each OPcache blacklist file is a text file that holds the names of files! V: i4 J' `5 H7 M
  1823. ; that should not be accelerated. The file format is to add each filename5 w+ d- C: Y4 u9 @0 q
  1824. ; to a new line. The filename may be a full path or just a file prefix6 @4 F$ H  X, D4 Q5 c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www$ v  b1 l& A. _; S* _8 I
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).5 f/ p; s4 U9 o1 }+ e
  1827. ;opcache.blacklist_filename=$ {" J& e. y* w+ G% M. o/ I
  1828. 4 ?# j& @% |; Z+ Y) w
  1829. ; Allows exclusion of large files from being cached. By default all files9 }5 L5 ]$ f# a; Q
  1830. ; are cached.( }( |0 {; {$ @4 ~4 @. h- ]4 g$ t; n
  1831. ;opcache.max_file_size=00 ?8 z4 z( D/ t- Z; Q  A1 P2 q8 X
  1832. # @; b& @6 ~- G4 h$ ~( i
  1833. ; Check the cache checksum each N requests.
    9 W5 g* y* M) x* X
  1834. ; The default value of "0" means that the checks are disabled.
    1 ^/ n6 p+ Y6 f$ _+ ?+ o
  1835. ;opcache.consistency_checks=0
    * Z7 E& ]3 [. W' B' u

  1836. 0 n! k' ~7 {4 X% Y6 h
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache# X' |' I' X1 X
  1838. ; is not being accessed.
    : X) V8 G# _" ?$ \6 ?
  1839. ;opcache.force_restart_timeout=180
    ) b( g0 i7 ?/ Q1 n/ s, _' K
  1840. 4 C$ G( a6 f- G7 w
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    & y5 |9 a4 ~7 [3 w4 @6 P
  1842. ;opcache.error_log=
    : i6 o* [  A( y, R  L6 Q0 d" Q$ w

  1843. 3 k. [# M" |0 V1 t
  1844. ; All OPcache errors go to the Web server log.
    ) s/ S( _3 l. o: T/ _
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.( O8 l8 a( ~7 d- v! a0 S$ W
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 ?- V: ^! `9 ?2 d1 j6 C* I) ~% Q
  1847. ; debug messages (level 4).
    9 L( E7 J- s) d" `/ z+ N! i) o
  1848. ;opcache.log_verbosity_level=1+ S. t" D( K- u$ K1 a9 p
  1849. ; u* T9 L" Y& O0 j, [, s9 F
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.0 ^: q3 l) J% V( N( [# V
  1851. ;opcache.preferred_memory_model=
    ' ~# c; k, h# }% G

  1852. / o! H2 D) [4 b1 V, \2 Z
  1853. ; Protect the shared memory from unexpected writing during script execution.
    . J4 n! w: {. k: G5 ^- \7 P
  1854. ; Useful for internal debugging only./ P6 I2 P/ _: E
  1855. ;opcache.protect_memory=0
    . a3 a1 x( q; R( @

  1856. " y! b* |4 J$ v, H- ?& }& b! w
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    1 ?  v2 z1 m! v  {
  1858. ; started from specified string. The default "" means no restriction
    $ B( _" `( @2 A. v
  1859. ;opcache.restrict_api=
    6 J+ i6 E/ s, X' J; F0 k$ e

  1860. + s8 M; r# n" s
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP6 }6 R0 X/ W) r5 \
  1862. ; processes have to map shared memory into the same address space. This
    ) M& V. @. o) @7 l
  1863. ; directive allows to manually fix the "Unable to reattach to base address"5 z" y5 `  E/ ]% x# Y" |9 Q. X
  1864. ; errors.
    6 _9 _7 }3 ?8 f+ T
  1865. ;opcache.mmap_base=; d! V1 f* A) T) r: p
  1866. 3 K; L6 }2 S. F4 k# b
  1867. ; Enables and sets the second level cache directory.# ~" j/ d+ E: G4 l' r
  1868. ; It should improve performance when SHM memory is full, at server restart or. [; S# q! f' m3 [* N7 u2 _
  1869. ; SHM reset. The default "" disables file based caching.2 b# x/ T' w( a, i5 Y
  1870. ;opcache.file_cache=# V0 l& w: x; ~, H8 H
  1871. 5 k8 Y- }% ]$ G: X) o, {+ u+ d
  1872. ; Enables or disables opcode caching in shared memory.# _$ O! {- u, e- k
  1873. ;opcache.file_cache_only=0
    - l  D% P' q; [. ~1 ?. D

  1874. ( ~7 Q: P, B8 V- d5 P
  1875. ; Enables or disables checksum validation when script loaded from file cache.
      j% v7 N+ Z9 `8 f
  1876. ;opcache.file_cache_consistency_checks=1
    5 P& J6 L' Z, M0 p

  1877. . |" F+ K* P) S2 E* o/ R
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    $ x" U$ G5 j+ X, |/ y6 q0 j4 t0 r6 d
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file, v3 h4 w' k9 R% d* v* D
  1880. ; cache is required., M, p2 |) k5 U' {  g( y0 Y- J
  1881. ;opcache.file_cache_fallback=14 C/ T- @  u4 c

  1882. 8 x; V% b/ |% d3 y
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    * L5 P( r/ A# n
  1884. ; This should improve performance, but requires appropriate OS configuration./ E, V/ \  Q: l
  1885. ;opcache.huge_code_pages=1
    - G; h* }: f3 [& i" d# k
  1886. 1 z: T- n0 ^8 R
  1887. ; Validate cached file permissions.2 `: P( _- u; S. r$ I* N+ g
  1888. ; opcache.validate_permission=0. J& x' _! a2 F. E
  1889. 1 ^* b& F( y8 M  I4 z5 e, r% Z
  1890. ; Prevent name collisions in chroot'ed environment.& W, M1 }; K7 o+ m( f; E' C. a
  1891. ; opcache.validate_root=0& V" s: [# W3 Z2 j; d
  1892. 3 C/ F! `) G% i$ {6 }! W  Y1 r
  1893. [curl]4 l3 T$ ^  U- v2 O: ^& V
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    6 A, l+ _9 Z8 [8 O+ N
  1895. ; absolute path.# c: L+ O1 Q% o9 \) z
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    , `% q1 |: S  `2 G( M' V
  1897. + V) V2 r; w2 s# t- n2 [6 K- G
  1898. [openssl]2 Q  K2 W/ I6 X- g6 i, b+ b
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem" d6 W1 k% O9 d, x+ k
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should8 D* V) O& |* r) w: G7 {
  1901. ; not specify a value for this directive as PHP will attempt to use the0 J2 J4 ~; e7 F! e& X% b1 y
  1902. ; OS-managed cert stores in its absence. If specified, this value may still2 Y3 T% G2 ]  N
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    7 i  W. O+ |5 \2 w$ ?3 Q$ U% H* i
  1904. ; option.
    0 ?# p: v0 }) k7 ^
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    0 ?; a/ Q! N4 m) X' H

  1906. / X! S5 X( ^! a$ k. o, {- }
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    - M2 G! `/ X# B
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    # L" L* u7 O+ b# c
  1909. ; certificate. This value must be a correctly hashed certificate directory.4 s7 N2 m1 u) k" C
  1910. ; Most users should not specify a value for this directive as PHP will8 ]- p7 X9 ?+ k' d" a0 `; `
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,0 _7 \& r5 P) h
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    4 g" K/ }$ h6 F4 L: E
  1913. ; SSL stream context option.
    ( Z8 i7 G. T7 p8 U5 `
  1914. ;openssl.capath=  I. y' Y6 l4 e
  1915. $ f* P; {2 Y3 R" }& y4 ?
  1916. ; Local Variables:
    + p; c2 A/ O3 k& h6 a0 z6 z
  1917. ; tab-width: 4
    ( G0 b% u; @+ O# l( l5 x( q
  1918. ; End:3 T& s4 }; F/ C& ~! p

  1919. 7 }% x6 d( q5 L2 v* @2 }0 E
  1920. ;eaccelerator7 O; X- c$ p1 {6 N) U2 k0 G9 T& w

  1921. : ~  c" H# `. X
  1922. ;ionCube
    + \; {% T% y) Y9 ~9 X) r' @& H

  1923. + D0 k0 g" M6 _5 K+ K- U! `" M2 |
  1924. ;opcache4 \! ^# d; Q3 m+ j& j- P
  1925. 6 B# d4 r4 U- f
  1926. [Zend ZendGuard Loader]
    8 h+ ?5 w2 b  ?- a. l' r
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    7 P: O6 N+ a  W9 A" U5 Q* F1 D
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so' Q" b  U. _0 }: k4 u5 z
  1929. ;zend_loader.enable=1
    * T% |" r! X$ r( T0 ~
  1930. ;zend_loader.disable_licensing=0
    # W" p3 b; J2 Z, ?  D; d
  1931. ;zend_loader.obfuscation_level_support=39 y/ l8 c3 j; f/ L- W2 C# r& u
  1932. ;zend_loader.license_path=7 v8 ?7 O. @* K/ i* |# U+ T

  1933. 3 q6 t7 C. b5 d' f$ t
  1934. ;xcache
    $ ]/ B9 A: z' L- ~
  1935. ! C0 o) g" U7 \
复制代码
4 v# u- l# y- g: Z
5 ~) S- T3 p4 ~* i  f: z
( f# Q. f$ s: }# t' I: [5 o

: Q- x3 ?& w  V2 V
: @- d# V0 W& M- k
3 h& S# B2 E0 Y5 {7 X" i
* a! \* x  ]9 q0 s- i$ zPHP5.6版本原始设置) o) u$ p7 a6 V9 z( T) B; v% N

5 q& M7 t' h9 f" c& z
  1. [PHP]
    1 ~3 b, W* [& {1 U7 A
  2. 8 X& T- K7 A! L4 e* Y) B2 C, E( R
  3. ;;;;;;;;;;;;;;;;;;;
    5 C7 ^' D3 a3 s1 a. g$ A) r
  4. ; About php.ini   ;
    ( D7 W9 t/ s0 Z" P
  5. ;;;;;;;;;;;;;;;;;;;$ ]+ I  j6 u, U' x- v3 `
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    . `1 T6 |9 J7 O5 V1 x" P
  7. ; configuring many of the aspects of PHP's behavior.
    ! {7 b# R% z% H

  8. " A% a# `) D9 l* ]
  9. ; PHP attempts to find and load this configuration from a number of locations.
    0 l" Y' L' c5 g
  10. ; The following is a summary of its search order:- o4 n3 D- V; T# ?5 ^9 W, z9 s& Y
  11. ; 1. SAPI module specific location.
    , c) |& A. ?) v9 r4 V" D
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' S/ l! ~' E$ v- h1 i! B
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)1 W2 T" \3 W1 h. r( D4 Q  K3 I. c
  14. ; 4. Current working directory (except CLI): t8 S) Z8 [* N+ r5 @* G5 j
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP/ u4 q& `" |# ~4 w
  16. ; (otherwise in Windows)- |) K0 S/ N, ?3 u( Q; z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" w! Y+ r8 B+ P! w
  18. ; Windows directory (C:\windows or C:\winnt)
    - L* e1 B) `( I% ]1 J: d& x! e# P
  19. ; See the PHP docs for more specific information.
    : M3 K+ m6 j- }' a4 O
  20. ; http://php.net/configuration.file
    8 P  F' m3 s: J% k
  21. 7 Y" F2 K& b  [$ P6 n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines" i0 @' Z7 j1 f& e6 u; u! X' o5 U2 `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    : ~  G. D% t1 [4 _+ F
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 S* W0 g" S$ b+ v& H
  25. ; they might mean something in the future.
    * o% R6 {3 m! U  q. |# J6 S

  26. 7 X. _8 _/ N( s: R/ Q
  27. ; Directives following the section heading [PATH=/www/mysite] only- p& T, B0 s. j
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 G6 x) Z3 g2 F( W( L5 y
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' n+ X/ j' ^4 Q2 E' `
  30. ; PHP files served from www.example.com.  Directives set in these
    , V) A: j/ X' v' b3 T: T3 c7 w
  31. ; special sections cannot be overridden by user-defined INI files or7 Y4 {' w! {7 Z, _
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / V( m! y$ \+ a( k4 A
  33. ; CGI/FastCGI.
    & @1 H  g3 L7 N6 K! Z
  34. ; http://php.net/ini.sections8 m4 l$ Q8 y, l; K" E" C& p1 i5 t

  35. ! ^+ E" B2 A+ E# h# n
  36. ; Directives are specified using the following syntax:8 s8 W& P! d3 v  C- G
  37. ; directive = value
    ) y" P1 e/ `2 i: t9 M1 L
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    1 S( v* i6 b1 E! K
  39. ; Directives are variables used to configure PHP or PHP extensions.& ]5 o' ^5 p- N: o, ~$ _0 X* h: T
  40. ; There is no name validation.  If PHP can't find an expected4 L4 Z8 T) H+ C0 D# v+ A. w( y
  41. ; directive because it is not set or is mistyped, a default value will be used.- H0 l( S% L' m% b
  42.   g" U$ ~. s: Y( n! W
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ! m! W$ W0 U( ~
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , |0 z- t8 r& {0 Z
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    5 f4 A# q3 m1 H7 A2 |/ D$ v" i
  46. ; previously set variable or directive (e.g. ${foo})
    . V! K! A; K" \6 a. Z' F

  47. . p. N' `- e# d6 @6 p0 l
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; S! h# L- |$ ]. o
  49. ; |  bitwise OR3 D7 P! m0 G5 G7 r$ `! W3 l
  50. ; ^  bitwise XOR) `! L$ y$ d# k7 c
  51. ; &  bitwise AND$ e- X! h) ]  v
  52. ; ~  bitwise NOT" I' ?* R3 a) @1 `. Q5 p- q+ H% X
  53. ; !  boolean NOT
    $ w! G+ W7 ~4 C8 n7 @. H/ `, A0 @# B

  54. 2 j( z& b& e9 V/ j% l  i6 [
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    - X' p. j! O, F1 a9 _- v5 o
  56. ; They can be turned off using the values 0, Off, False or No.
    0 |/ ~) c- I! J) ?3 ^1 t5 m( s

  57. 7 W& N& q: z, V! p0 S5 M
  58. ; An empty string can be denoted by simply not writing anything after the equal2 y# a$ p8 d4 Q
  59. ; sign, or by using the None keyword:
    " E, X3 \& U1 ?7 L& `

  60. ; ]8 P, j7 p: r" M- W
  61. ;  foo =         ; sets foo to an empty string
    6 x& ]6 N4 ]8 A4 P& |
  62. ;  foo = None    ; sets foo to an empty string% q' F! _# N* q9 ^( q7 X
  63. ;  foo = "None"  ; sets foo to the string 'None'  n7 ?( ~$ k: {
  64. 5 s  G+ X/ V% H4 v9 N
  65. ; If you use constants in your value, and these constants belong to a
    1 Q9 }- B' l& ?" T
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    1 w  i. w; w- c5 D. {* _3 g
  67. ; you may only use these constants *after* the line that loads the extension.! v" U0 V+ |- N

  68. 6 g7 Z" r1 y6 B2 X
  69. ;;;;;;;;;;;;;;;;;;;: n7 n- T; B0 p7 ^& k! t" E4 b
  70. ; About this file ;  K( B' \1 F! t6 r9 z! o: M# y( S, C
  71. ;;;;;;;;;;;;;;;;;;;: _; k: s5 P# ~% ], N
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    2 n/ U' E8 Y+ |
  73. ; in production environments and one that is recommended to be used in" |  y! x- r. _$ i
  74. ; development environments.( V4 |7 ~% J2 e6 g
  75.   [" N, l3 H3 M* N
  76. ; php.ini-production contains settings which hold security, performance and1 u  J7 U% m8 V0 C" W% ?- u
  77. ; best practices at its core. But please be aware, these settings may break
    ( @; ~( J6 X! z& i- e' }  m
  78. ; compatibility with older or less security conscience applications. We) E$ i! ?" h1 W" ~  N* r
  79. ; recommending using the production ini in production and testing environments.8 o9 Q0 I' P% A* |, E. J

  80. * H% S  ~+ M, p1 @2 c4 N' Y, P- c
  81. ; php.ini-development is very similar to its production variant, except it is
    7 E( x4 _4 Y3 q9 s
  82. ; much more verbose when it comes to errors. We recommend using the
    7 k2 Z9 H# I4 D4 l
  83. ; development version only in development environments, as errors shown to' U2 b7 X7 q0 `, t7 S+ m( C7 t
  84. ; application users can inadvertently leak otherwise secure information.9 i; m# _  S3 x  \: J( J
  85. + l& K4 v' l+ W0 Q6 d, Z6 {% K
  86. ; This is php.ini-production INI file.
    + l( Y+ q9 G3 T3 l% C

  87. # K6 d4 n0 O. ^7 ^6 a& p
  88. ;;;;;;;;;;;;;;;;;;;
    / u& \; g8 b, S% ^  k  `" [
  89. ; Quick Reference ;8 g1 `1 I( t; Y3 L  G" r8 g
  90. ;;;;;;;;;;;;;;;;;;;
    1 L3 u/ Q5 @5 ^$ `
  91. ; The following are all the settings which are different in either the production
    , z  ^4 O. b3 {
  92. ; or development versions of the INIs with respect to PHP's default behavior.4 a0 u- t, c- S  ]( B3 y7 q) d% F
  93. ; Please see the actual settings later in the document for more details as to why: A8 ?# [. c0 k6 J, |
  94. ; we recommend these changes in PHP's behavior.; ^% z# O( p4 T4 x- m! n9 ^) n

  95. + M: x: i! }) b: O9 n0 |
  96. ; display_errors
    # G1 o' O/ s3 i% T! E! x: S
  97. ;   Default Value: On
    / u9 x/ a8 r$ Y
  98. ;   Development Value: On
    3 {5 F5 A6 ^5 U! K, S( A( O
  99. ;   Production Value: Off0 q3 |  z+ K" ]. I9 k  }: q/ z9 D

  100. & J* J* D5 k) i8 J. J4 S$ h1 f
  101. ; display_startup_errors
    ' \8 y( A8 i7 `3 q: n
  102. ;   Default Value: Off2 e8 J: d7 H. L* I: e/ i# {' l, x
  103. ;   Development Value: On
    4 o6 m( h5 {- G& T7 g, }& |
  104. ;   Production Value: Off, d3 p5 s2 l/ L
  105. 0 |' ^+ _/ }( j8 W6 F
  106. ; error_reporting8 q3 g. |" O& V3 m: x" B
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ z$ R2 ?& x* g0 q
  108. ;   Development Value: E_ALL
    1 c! d7 m# R4 }* ~. H- P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 ]3 l% t2 o" l% o+ f7 ?
  110. , i, M! L5 P. x0 v6 e8 ]
  111. ; html_errors
    ! k5 M6 C, L* V- l1 O
  112. ;   Default Value: On, w7 E5 t" E6 A( r5 D; S
  113. ;   Development Value: On4 k' {, y0 d- h- g+ q
  114. ;   Production value: On
    7 a  [1 n; [. S/ M4 Z3 ^
  115. & m3 L3 B0 V1 |% K
  116. ; log_errors
    % d1 s  J  {. ]. c1 k1 |
  117. ;   Default Value: Off4 F6 H6 G4 N" X3 e: L; J
  118. ;   Development Value: On4 r% D, s, c6 l% l+ X
  119. ;   Production Value: On0 l# [& l; ]: |% X

  120. - H- ]3 `  q' \2 N4 C3 f
  121. ; max_input_time8 o0 z$ b( V! @* X( _
  122. ;   Default Value: -1 (Unlimited)7 y; i2 q* y5 \2 g
  123. ;   Development Value: 60 (60 seconds); w6 V, o' M' Q- o& L- w1 F
  124. ;   Production Value: 60 (60 seconds)
    $ g7 m# x0 F( c& f! h  b2 j

  125. " r6 p* N5 G) H! g  E& p4 E; }
  126. ; output_buffering
    " |7 \0 Q7 u% [5 ?# L; `7 E
  127. ;   Default Value: Off
    ; C) O' l3 E" r5 @3 T& l
  128. ;   Development Value: 40961 _: W7 a$ K0 S& P  a; a
  129. ;   Production Value: 40965 Z* S8 z, Q# W/ Y. I! X
  130. - @% }$ q! C: c& k) Z2 ?5 N
  131. ; register_argc_argv$ a9 s* D- N0 M" h
  132. ;   Default Value: On
    - `0 z; D! @( @9 K1 f
  133. ;   Development Value: Off. a% B. f" C) E0 a0 g
  134. ;   Production Value: Off
    % ^0 [7 H6 i$ N# f) ]1 r
  135. , R( E' M# w( x
  136. ; request_order
    / Z  `: U# A5 D# x' F( U/ t
  137. ;   Default Value: None
    3 a. a; s2 A) F% i
  138. ;   Development Value: "GP"7 S$ B9 A6 ?/ U# Y
  139. ;   Production Value: "GP"# e" D. c. v! H- L) y

  140. & }$ r& s- X7 ]3 c
  141. ; session.gc_divisor
    ! x4 A: h  I8 b: b3 q9 n2 c- F! p
  142. ;   Default Value: 100% D; Q( y3 G; H, _- b
  143. ;   Development Value: 1000$ Y; h" _3 d7 X
  144. ;   Production Value: 10004 P& y) Q  u; V! T/ A2 |8 E7 e1 k9 g

  145. - M  w4 y8 R- ^  y- E- U" m1 I
  146. ; session.hash_bits_per_character8 V" U7 E. t1 Z$ h
  147. ;   Default Value: 4" \5 N/ V- ^1 V0 z; q% w
  148. ;   Development Value: 5. f$ ?3 K+ f$ J- w& k
  149. ;   Production Value: 5
    4 I. x8 f# z/ [2 s1 M

  150. ' h2 i3 k4 I: X/ `! a3 N
  151. ; short_open_tag
    $ _0 }0 _0 R- B: D0 A. E
  152. ;   Default Value: On, ]- A% K6 M: e0 J  u& N
  153. ;   Development Value: Off. J( ?6 D$ k9 M; ~( l; D) J
  154. ;   Production Value: Off6 r+ ~8 B! y* ]$ H) F2 P

  155. + _. T. i# P0 L. i: Z
  156. ; track_errors8 N# S* ?: V6 m& x) l9 |
  157. ;   Default Value: Off8 b7 p2 B! ^" _" s1 w! _/ M
  158. ;   Development Value: On0 a1 h% Z  W* W5 Z! d
  159. ;   Production Value: Off
    ! b0 @3 x& G0 c6 }! l4 _: c
  160. ! u) j" ]# ?5 C! S
  161. ; url_rewriter.tags
    # x+ U9 z* l2 {/ h6 ^* V
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / _5 M% j" y! \; K) G
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% S2 G1 M9 [6 U. J- s! t/ _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) B4 @/ V. A3 u& k6 ^

  165. 1 X3 c4 N. |% j8 k% C0 ?
  166. ; variables_order0 S2 A% `9 |4 g
  167. ;   Default Value: "EGPCS"' c3 J7 h' l' N7 B8 Q8 p5 V
  168. ;   Development Value: "GPCS"& d' w0 D' x" S3 e  }
  169. ;   Production Value: "GPCS"
    / D! x) V1 [8 D5 _! l  k" u

  170. ! L, U6 X1 w: m* B
  171. ;;;;;;;;;;;;;;;;;;;;
    8 V3 I3 W/ x# z2 _+ v" m, _
  172. ; php.ini Options  ;
    % x  \) \9 h. a. D
  173. ;;;;;;;;;;;;;;;;;;;;! ^6 r" s6 i! W0 S- k
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"( l. g+ e1 C" K9 ], ~# @
  175. ;user_ini.filename = ".user.ini"$ M' X1 R0 {0 c6 ]7 ?$ f) q! i

  176. 3 ~5 F$ _9 ~+ Y# \# U
  177. ; To disable this feature set this option to empty value
    1 d6 G1 T5 e3 N# Q2 |
  178. ;user_ini.filename =# M+ p2 p; r5 d: F+ J

  179. 3 z" ]5 h  _, |
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 k! V. l2 Y! D1 B
  181. ;user_ini.cache_ttl = 300
    # _- s8 r& n% P9 W6 Q
  182.   W0 I) C) x$ H9 T& g8 x8 r
  183. ;;;;;;;;;;;;;;;;;;;;
    ; V, d- V9 R4 ?1 T; T/ K
  184. ; Language Options ;
    8 q* q) G4 c* l6 y5 k% `
  185. ;;;;;;;;;;;;;;;;;;;;
      g2 ^; K+ y' p' x  G! k# A& T

  186. $ ~  w. J! v5 _
  187. ; Enable the PHP scripting language engine under Apache.
    . l  L/ c* ]7 p- w: K
  188. ; http://php.net/engine
    / ?* N$ J" _! b* ]% R: n
  189. engine = On
    ' H) c' f& _+ [" O$ W1 j

  190. % c+ u0 r" `( J1 Q2 s! L: O' Y" Q# _
  191. ; This directive determines whether or not PHP will recognize code between
    . }) J" x) G7 D( ~/ Y0 U
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ( m1 ^; D9 r% Y1 k1 V2 j
  193. ; generally recommended that <?php and ?> should be used and that this feature
    + i, B% [) ?- e$ Z) `
  194. ; should be disabled, as enabling it may result in issues when generating XML
    5 w1 q8 W" y5 ]+ m
  195. ; documents, however this remains supported for backward compatibility reasons.
    # Q8 F" D. O% D$ |2 P7 K2 n
  196. ; Note that this directive does not control the <?= shorthand tag, which can be/ e' b- L4 I& @: [# N1 z
  197. ; used regardless of this directive.
    ! D& `& B; I' X& K" f9 [
  198. ; Default Value: On
    + k9 m& K- ?9 \# i' h3 [( y; n
  199. ; Development Value: Off
    0 j9 Q) E( w2 V& V% n3 m8 b  s
  200. ; Production Value: Off
    & _( h" r5 D0 j3 Q- u' C6 d
  201. ; http://php.net/short-open-tag% v2 o9 J9 Y* E
  202. short_open_tag = On
    , ?9 B1 V' ]8 X

  203. ) I- [/ m/ V! Y  \# ]/ p2 q+ v" l
  204. ; Allow ASP-style <% %> tags.
    ! t  v1 A+ A/ E( d, P8 `3 w7 w
  205. ; http://php.net/asp-tags
    4 a( t' l6 ?- n+ u6 b
  206. asp_tags = Off" d+ T) J. ]$ D4 ~$ ^1 Z7 [# i" B( w+ R

  207. 9 Q$ J, @) ?3 ?
  208. ; The number of significant digits displayed in floating point numbers.  _  [* c9 v. T' J& R
  209. ; http://php.net/precision
    / T- @9 R  ~. G8 ~1 G! m
  210. precision = 14! U3 B" k  ?3 {: l, F: h

  211. 8 S3 `- W1 \, K, _
  212. ; Output buffering is a mechanism for controlling how much output data
    8 W1 g4 H: \! l3 S) G
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    3 Y' r+ W% Q3 [# Z
  214. ; data to the client. If your application's output exceeds this setting, PHP* Z" ~+ o4 C% ^1 x+ p% j7 f6 A2 t
  215. ; will send that data in chunks of roughly the size you specify.
    # F: @! m1 f. ~
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    4 X5 r1 d# X) m7 O5 ]  R) B
  217. ; interesting side-effects depending on your application and web server.
    7 F9 {4 O+ ?; z$ i( l
  218. ; You may be able to send headers and cookies after you've already sent output
    8 F- W# {9 S4 L5 [1 x
  219. ; through print or echo. You also may see performance benefits if your server is
    ( R0 V$ M6 E5 N# N& e
  220. ; emitting less packets due to buffered output versus PHP streaming the output' H. C! g  `3 v3 l7 |0 D3 m
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance2 T0 V1 z. b# |8 [+ B3 f
  222. ; reasons.3 e+ m  z0 q1 W  j  ]; E+ _1 t0 e
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    , \- s" `9 K- I5 {$ q" i
  224. ;   functions.; j7 ]# M$ c. d7 Z, L! l
  225. ; Possible Values:/ `1 j- P# Y, o) |
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)  r, _" t: j$ @  e- Z
  227. ;   Off = Disabled4 @! [' d$ b8 D* D0 G
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 y7 X! U( r3 {
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI6 ^3 {$ @( E  \1 G; w; ]
  230. ; Default Value: Off
    ( o9 d! G, \' g3 t; S
  231. ; Development Value: 4096/ {: X4 N6 Y" t  z" d# _
  232. ; Production Value: 40960 B5 i6 n5 m: A' g) W9 @! K+ D3 A
  233. ; http://php.net/output-buffering0 j; |/ Q( d% s& g" l
  234. output_buffering = 40964 ?4 r- N; ^7 L; A. S9 F

  235. ; C$ E; N4 I9 f% x
  236. ; You can redirect all of the output of your scripts to a function.  For
    ; T. [! [4 t$ Q: D
  237. ; example, if you set output_handler to "mb_output_handler", character! B' C) ?! v! w  i3 Z
  238. ; encoding will be transparently converted to the specified encoding.' L5 [% c( k  @- @) O0 _$ T
  239. ; Setting any output handler automatically turns on output buffering.
    6 K9 {: U6 {; D4 a' {; }
  240. ; Note: People who wrote portable scripts should not depend on this ini
    * p* f1 v# H  E! o  f) |" B
  241. ;   directive. Instead, explicitly set the output handler using ob_start().+ K; }5 s4 H+ _: R
  242. ;   Using this ini directive may cause problems unless you know what script/ V+ P4 Z. x2 v( A
  243. ;   is doing.
    9 l; G" a# ]  j( F# R$ Q: V
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 Q# j' @$ x6 q$ a7 _1 b0 d
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# X$ e8 w- B' X: Q: h
  246. ; Note: output_handler must be empty if this is set 'On' !!!!: |) x1 V6 A; @
  247. ;   Instead you must use zlib.output_handler.
    1 l; j9 D7 e/ b4 T" w' l# V
  248. ; http://php.net/output-handler& G2 {  `; ^' D/ s) j
  249. ;output_handler =$ R+ H/ Z, Q) M2 U4 @1 b1 z. a
  250. * F  e1 \7 h" l
  251. ; Transparent output compression using the zlib library$ p/ \+ t; d6 V( @
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    " Z% c1 p' k7 H/ v1 i& Y, J
  253. ; to be used for compression (default is 4KB)
    ; j7 J: F# i% t" z3 m
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP! n: k8 K  J) A" e; l
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    " G% S& J$ |3 j' T
  256. ;   compression. If you prefer a larger chunk size for better
    ) @: _" f9 ?" e: n3 g
  257. ;   performance, enable output_buffering in addition.( i  ?' S0 K0 F9 B/ U
  258. ; Note: You need to use zlib.output_handler instead of the standard
    $ h3 B: w, w  k; P# m" x
  259. ;   output_handler, or otherwise the output will be corrupted./ w4 ?- S6 C* y4 u# ?6 p; Z
  260. ; http://php.net/zlib.output-compression
      z8 w8 ^; \$ p/ b3 \
  261. zlib.output_compression = Off: U" Y+ j  N: G' }& ]7 s
  262. ( G) s5 l, q* J. E. o
  263. ; http://php.net/zlib.output-compression-level5 E( x% m$ G8 G
  264. ;zlib.output_compression_level = -1
    1 O) P) q* Q' g8 |! ~$ q1 a

  265. 6 a# X; v, B2 f
  266. ; You cannot specify additional output handlers if zlib.output_compression
    9 `1 J: s1 a9 m( d4 F' O/ ^/ M
  267. ; is activated here. This setting does the same as output_handler but in
    " ^6 d, D9 Y2 G4 j, J
  268. ; a different order.
    / z& m$ c) C, m5 Y+ j
  269. ; http://php.net/zlib.output-handler. l4 o9 P* A$ V8 n8 N
  270. ;zlib.output_handler =$ _( i  a8 \1 }" o
  271. $ v$ l- M; c: X, D: P
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ( Z5 {$ G+ F1 W8 V4 v- j5 ?' @# }4 r
  273. ; automatically after every output block.  This is equivalent to calling the
    / @! w& j/ a% S
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ; L& c9 K3 e* S8 \! H1 `
  275. ; and every HTML block.  Turning this option on has serious performance
    $ U' ~1 r% e" H: G2 f9 y  X
  276. ; implications and is generally recommended for debugging purposes only.
      f% I& u# v, H4 }; J7 j# a
  277. ; http://php.net/implicit-flush- E. B' P5 ?+ l6 k' f' C0 Z  s
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    : @4 z$ I/ Y( i/ `* P9 ]% [
  279. implicit_flush = Off
    % u! N% B5 N, L! @, E; W% ~* ]
  280. 7 U" E7 i; C( r
  281. ; The unserialize callback function will be called (with the undefined class'6 \% A9 H4 A+ V2 B
  282. ; name as parameter), if the unserializer finds an undefined class
    ! R, ]3 b" k$ d
  283. ; which should be instantiated. A warning appears if the specified function is
    ( Y- `5 I- l) I- Q
  284. ; not defined, or if the function doesn't include/implement the missing class.
    3 g" B4 D  T' w  |
  285. ; So only set this entry, if you really want to implement such a
    : B. E0 G$ s  x. l! N# _4 b4 B
  286. ; callback-function.; k9 k/ b% R$ g( Z
  287. unserialize_callback_func =
    2 ]& z" w  u$ O7 u; x3 H% p

  288. & o4 c0 f' p: o  w
  289. ; When floats & doubles are serialized store serialize_precision significant+ u9 O( [1 I9 m/ X: V; H
  290. ; digits after the floating point. The default value ensures that when floats
    5 R0 [4 \) K4 T3 C
  291. ; are decoded with unserialize, the data will remain the same.
    : G; p! A) z" H, b' Q% w! P" d
  292. serialize_precision = 17% G' ]1 h0 ?; |# {( y! g

  293. ( O- k  j0 Z2 ~0 K  g; U
  294. ; open_basedir, if set, limits all file operations to the defined directory
    " \1 Y' Y- `) u" |' t
  295. ; and below.  This directive makes most sense if used in a per-directory, i! L2 K' X7 y/ x: C9 P  c
  296. ; or per-virtualhost web server configuration file.( Y6 h* z- ^# \7 t! v
  297. ; http://php.net/open-basedir4 }6 I  Q) T. l! m. B- F; J) X
  298. ;open_basedir =$ \: ?, X: W  O! ]. t" [, X

  299.   ~; k' Y6 u- W/ u/ a8 a% B: e2 h
  300. ; This directive allows you to disable certain functions for security reasons.# Z* A4 W: N" c5 u' C+ B4 K
  301. ; It receives a comma-delimited list of function names.* K. ]/ _7 P8 q
  302. ; http://php.net/disable-functions
    % j/ L3 i* m; W
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    4 q+ L6 C6 N$ {- T& G

  304. - N  B" q( [6 w+ `8 ^6 V
  305. ; This directive allows you to disable certain classes for security reasons./ k" y% D! {5 n3 V8 Q; j
  306. ; It receives a comma-delimited list of class names.: f2 b5 t4 y$ q3 O+ b+ w
  307. ; http://php.net/disable-classes7 k' K6 a$ g* A
  308. disable_classes =9 \8 m, C  m0 w$ Q" n- ~0 g

  309. # s: N8 O) L* A# H
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in# M  Q! |* Z- [$ I
  311. ; <span style="color: ???????"> would work.
    ) m$ G3 H/ Y  U9 Z" N1 i) \
  312. ; http://php.net/syntax-highlighting
    , e3 r. D) M  X% ?2 h
  313. ;highlight.string  = #DD00002 a9 V2 B8 W* i# j" G5 |. J: Z+ @/ o
  314. ;highlight.comment = #FF9900$ u* l" Q& ~9 i* I- h9 H
  315. ;highlight.keyword = #007700
      W& L  E+ s) y3 D8 N
  316. ;highlight.default = #0000BB, ?; t  ?/ u" j8 A
  317. ;highlight.html    = #000000' r6 ^* K( W& K. W3 J. P

  318. 2 l) Y- U. e; k/ g) U1 e! t
  319. ; If enabled, the request will be allowed to complete even if the user aborts% |8 w( I$ g3 K8 M8 z- O
  320. ; the request. Consider enabling it if executing long requests, which may end up
    / }* }$ F' ]8 Z( z1 M" j" h+ m4 y
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    $ ?) v# l1 ^- y! U) ]6 O( M
  322. ; is to disable this feature.( m$ h# u7 X# G$ ^3 y
  323. ; http://php.net/ignore-user-abort  o+ v# ]  Y. ?+ V9 s: u
  324. ;ignore_user_abort = On) A. [. A1 W2 _. e

  325. , |. ?, {% h  n! f
  326. ; Determines the size of the realpath cache to be used by PHP. This value should! ]" D( Y% x% F
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( \7 v) p4 P6 S! j
  328. ; the file operations performed.
    0 ~; `1 [' g" V& M; }$ z3 A9 H; O
  329. ; http://php.net/realpath-cache-size
    + j# L! {% F2 h& K! I6 Z( \3 A* \+ p
  330. ;realpath_cache_size = 16k
    9 h! A. q; ], p
  331. ' S8 i% r5 ]1 v% W2 h* j. A4 w/ A
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    7 J% v' U* |. \# m3 J0 O
  333. ; file or directory. For systems with rarely changing files, consider increasing this7 P( v. q% K& `: M+ ?
  334. ; value.3 r! h, C, Q. B
  335. ; http://php.net/realpath-cache-ttl4 i+ K* c: u, Y  X7 p
  336. ;realpath_cache_ttl = 120
    0 A: ]" ]. k) Y6 s
  337. 4 H; v4 O1 W3 `% E9 O" b
  338. ; Enables or disables the circular reference collector./ U/ H. }  Z, z+ ?2 _
  339. ; http://php.net/zend.enable-gc
    & _8 G+ t: B0 u$ C* \
  340. zend.enable_gc = On
    ( Q5 A& P% A( `: L5 V

  341. 8 {5 I% b) x; G0 i) b0 g! s
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    / [$ V% F' s4 O" }
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such" e+ b  A* l* ]. g3 [7 g; C5 p
  344. ; encodings.  To use this feature, mbstring extension must be enabled.& F: e" A! D1 L! u- F: `0 Z$ `
  345. ; Default: Off
    $ Y- m/ y1 [) K9 Q) l
  346. ;zend.multibyte = Off) F. a; K0 T8 \) b) {8 G3 A) Y

  347. 5 T) g  K# J* Y3 K& u9 C, @
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    , e4 z3 f. q+ ^  ?
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    " c0 p; `4 x" Z$ c* y1 ]
  350. ; Only affects if zend.multibyte is set.2 r( s" ~% [/ I6 q) e. f9 r5 c5 j& C
  351. ; Default: """ r- ^, L+ h0 r. p1 o' M5 E8 l
  352. ;zend.script_encoding =* h* ~6 z; M2 R1 z; M

  353. 4 q4 W+ m8 R4 A' M
  354. ;;;;;;;;;;;;;;;;;
    : u- v# P9 }0 J/ _# \& a& S
  355. ; Miscellaneous ;$ Q) O' ^) k4 B2 D4 a
  356. ;;;;;;;;;;;;;;;;;
    / ]; F' j# @3 f( V+ Q
  357. 1 Q( v7 S. }" _& x, d* C
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ! U" d+ k3 K1 A; E5 L0 ^. h) w2 e; ^8 K
  359. ; (e.g. by adding its signature to the Web server header).  It is no security9 |* k2 o8 `' j2 e% i
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    1 s0 w/ a( s( A
  361. ; on your server or not.6 J  T8 j3 j& ?3 c
  362. ; http://php.net/expose-php6 O8 o: o% t' O* V1 K6 s2 P" s
  363. expose_php = On
    ' |( c- C* f7 X

  364. 0 R  K3 W8 ^' b4 Q
  365. ;;;;;;;;;;;;;;;;;;;
    $ P8 F" e4 I( G( f8 ?
  366. ; Resource Limits ;
    1 ]9 l2 t1 _8 b& p5 c' g. u7 D
  367. ;;;;;;;;;;;;;;;;;;;
    : W2 Z2 B# i# F
  368. * X- m0 \8 y) ^+ b+ w( m
  369. ; Maximum execution time of each script, in seconds8 K2 s. o1 A# w% Q: F% m, o- d
  370. ; http://php.net/max-execution-time6 z/ W) o( [+ }, h+ q" W4 r; g
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ H% v% {# B9 [3 B, U
  372. max_execution_time = 300
    % U, ~( `# \4 T) r+ q; u$ g
  373. 5 Z5 h' f# ]" \! N. ?+ M0 U* z6 K
  374. ; Maximum amount of time each script may spend parsing request data. It's a good) l1 \, `% ]( L) m3 a4 ^  M( K6 q
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    # a8 M2 w) J) h, v, t
  376. ; long running scripts.6 s, H1 }7 ^3 M/ S5 [5 F
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % `- R6 X; p# V, o
  378. ; Default Value: -1 (Unlimited)
    . W# w$ m: p9 w# y! Y3 Y# S( d
  379. ; Development Value: 60 (60 seconds)
    , x' I" U( Q  i7 W# r) z
  380. ; Production Value: 60 (60 seconds)
    / e) y* q/ v1 L* w
  381. ; http://php.net/max-input-time
    ( n4 ?4 x* m" ]' O9 }8 A
  382. max_input_time = 60. g! _5 s; M" D  j+ H
  383. : x2 h0 y- k7 d( H: m3 h
  384. ; Maximum input variable nesting level4 i4 ^0 X% ^0 v# \6 R9 J" a+ z4 k( F
  385. ; http://php.net/max-input-nesting-level& g6 ?- Z' n# j' {. ^& S" N) G
  386. ;max_input_nesting_level = 64
    0 b& Q- O1 l' D" a: q5 X

  387. # Z* e( S6 r( c$ \/ F+ s
  388. ; How many GET/POST/COOKIE input variables may be accepted1 s4 M4 d! u9 U
  389. ; max_input_vars = 1000
    2 m8 b/ X) f- g" R

  390. # F$ d: h* F. X) U( ]. S
  391. ; Maximum amount of memory a script may consume (128MB)
    : g8 b3 Z9 ]/ k8 v- c. m
  392. ; http://php.net/memory-limit
    2 A' [: U* C' v8 e$ F
  393. memory_limit = 128M
    " P+ K: E: M  _- B

  394. , b  _. Q# F5 v, a! ^
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 R- i2 W4 ~4 ]7 l& X8 V% ]3 ~
  396. ; Error handling and logging ;
    $ Z, x; Z$ [6 G9 N1 \( z! a
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; l% n% {* U2 Q0 D" J1 G; h

  398. , n& W/ E% k5 v$ Y/ Y2 D9 Y
  399. ; This directive informs PHP of which errors, warnings and notices you would like) Z+ U% [0 a1 \9 M  }+ [
  400. ; it to take action for. The recommended way of setting values for this
    . W" S  z0 n! d. c
  401. ; directive is through the use of the error level constants and bitwise1 {5 e0 H% N# w0 j6 Q  z& s+ S
  402. ; operators. The error level constants are below here for convenience as well as4 c. ?% ?: L& s9 i  e
  403. ; some common settings and their meanings.# D1 N" W# `+ k# ^$ g- D) o
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    4 ?1 n% ?+ E1 K) w+ p2 l& x
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and; _" \$ D" }% D5 l8 m# g& |
  406. ; recommended coding standards in PHP. For performance reasons, this is the7 q0 H' w% C/ R+ v2 K2 v9 G
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    / q# F# b! B6 Z3 ~7 P# a  z) v
  408. ; resources complaining about best practices and coding standards. That's what
    9 L! k+ D5 ^; E5 [2 T5 x' W: e
  409. ; development servers and development settings are for.
    # j% V# N/ n. V- ~- h7 Q
  410. ; Note: The php.ini-development file has this setting as E_ALL. This1 ]% |3 V+ E* n% s  a# B4 {. [
  411. ; means it pretty much reports everything which is exactly what you want during
    ) l* `9 z5 R4 r) U' X
  412. ; development and early testing.
    " q0 m/ Q* v- \3 k2 {2 H: J, @# f
  413. ;
    ! f; L& ~& ^" N
  414. ; Error Level Constants:
    , P- a3 N, T$ w! O- L( o
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 u. Q. S2 A# ~$ l! O8 D# u
  416. ; E_ERROR           - fatal run-time errors/ H, R+ ~& u8 V
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors. w/ h3 `+ d) ~8 `8 m4 X: S* D( z
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    & N& C6 ]5 U- r" ]$ f
  419. ; E_PARSE           - compile-time parse errors6 V) M7 p7 K; \% P. C: p
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
      q( m$ i, r* p; V
  421. ;                     from a bug in your code, but it's possible that it was
    ; \/ S4 K+ ^- S
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' G: A# x9 \6 b# G8 R6 H, S0 f
  423. ;                     relying on the fact it is automatically initialized to an
    + v1 B# ]: z  q4 s; e7 l* ?
  424. ;                     empty string)" R0 X0 N# g+ h& c3 i) G
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes5 U# d$ o7 h, B
  426. ;                     to your code which will ensure the best interoperability, d% k% F6 l( \4 w; }
  427. ;                     and forward compatibility of your code
    6 Q- s0 X. p6 o7 a7 }
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    & Y1 n3 Z, h% o
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " ^$ P$ ?  p! I6 Z5 V' y* J! X
  430. ;                     initial startup5 u  z, W, v# _& h
  431. ; E_COMPILE_ERROR   - fatal compile-time errors6 ^' H+ Z. u* t# X0 b
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    & u- g# k& m8 u( ^5 n
  433. ; E_USER_ERROR      - user-generated error message# T8 `% y5 t! B* J/ I3 O/ L! G
  434. ; E_USER_WARNING    - user-generated warning message) ?8 H; H& T( |6 T. ~
  435. ; E_USER_NOTICE     - user-generated notice message. u, ]/ ~. [- L6 j& g! `  B
  436. ; E_DEPRECATED      - warn about code that will not work in future versions6 @+ w3 G9 j+ p5 e, A6 N! v6 {
  437. ;                     of PHP* d* ?) M6 S2 v: |9 V
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - O4 d7 a4 ^5 y6 w( f6 @' x
  439. ;
    & c/ M; E  N3 v+ X3 n: O
  440. ; Common Values:
    ) v. m% z2 D! O; L) U
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.). Q7 w# v# D: [
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    6 w8 x) d, |6 E( q0 Q
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( t1 K3 b9 u" B
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( S! G9 Z/ Q" r' k/ r# {
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& J9 [4 [6 X# v4 ^$ Y$ u
  446. ; Development Value: E_ALL
    . V3 N. N9 A' g: n
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( B) L, w& e$ M: X9 _* e* j: f/ w
  448. ; http://php.net/error-reporting; p. M8 a2 e5 W9 e* M
  449. error_reporting = E_ALL & ~E_NOTICE
    , c  l' p) p0 R0 e

  450. , R5 K$ P* y" p! D" A: S" A
  451. ; This directive controls whether or not and where PHP will output errors,# [$ R* j; e0 Y. u! u  ~7 j3 e- l
  452. ; notices and warnings too. Error output is very useful during development, but6 a3 D, H; A" \9 W% m2 K6 }
  453. ; it could be very dangerous in production environments. Depending on the code
    ( f' M6 {! F, I8 a
  454. ; which is triggering the error, sensitive information could potentially leak
    ! y$ j$ m& @) D! j% N2 D5 _* h
  455. ; out of your application such as database usernames and passwords or worse.
    1 F: g) e7 T+ C$ y
  456. ; For production environments, we recommend logging errors rather than7 w! y) c1 X. G" x+ U! r
  457. ; sending them to STDOUT.& X+ h" O; y* P) w" Y
  458. ; Possible Values:+ h, {4 ^, ?) n& J
  459. ;   Off = Do not display any errors5 b: {3 a7 O' i$ Y9 z  i
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)- U! x; N3 m7 y. B. E! k# f
  461. ;   On or stdout = Display errors to STDOUT
    ) w9 e* y% X# [- T& u, ?( q  o
  462. ; Default Value: On
    0 @# P* `0 x* f* e/ [; D
  463. ; Development Value: On
    + s3 v+ q* I! k7 w+ d4 q: {# Y
  464. ; Production Value: Off
    6 v; N' l& o8 ^5 k
  465. ; http://php.net/display-errors
    4 X; w9 m2 o$ Z5 ~! R' K8 q
  466. display_errors = On
    4 ~- d% o/ ]8 G

  467. . O9 Q" p2 z) G/ c8 l3 A
  468. ; The display of errors which occur during PHP's startup sequence are handled/ r/ L5 y; P! f$ R5 l
  469. ; separately from display_errors. PHP's default behavior is to suppress those- e6 v# V( @* d. k$ o
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    & W2 W- V$ E/ X! w# O& A0 n7 [' W0 y
  471. ; debugging configuration problems. We strongly recommend you
    ; v$ g* a% t1 J: W* g; u
  472. ; set this to 'off' for production servers.
    ; B  T/ [) J2 P
  473. ; Default Value: Off7 F' Y& N( K) o6 Q: k% i
  474. ; Development Value: On6 B2 A1 W0 k# l9 _$ }1 c0 A8 g
  475. ; Production Value: Off/ h: Z$ J4 T* K! t% e! L4 q
  476. ; http://php.net/display-startup-errors
    : ]4 Q% D2 J- l2 y' o" s
  477. display_startup_errors = Off
      f' |" N( k0 V* H5 b- V
  478. " d1 }) v6 r5 s/ t# r
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    8 F9 e- |/ T+ y6 q6 B9 d! `. g
  480. ; server-specific log, STDERR, or a location specified by the error_log
    % O2 S- p- k$ H3 g- Q& W2 I
  481. ; directive found below. While errors should not be displayed on productions
    7 ~' w* u: V! ^7 F
  482. ; servers they should still be monitored and logging is a great way to do that.
    * h5 D1 j( J, O! S$ Z. J7 w
  483. ; Default Value: Off
    " p& U! |# W; a6 {" D) H& a
  484. ; Development Value: On: ?( H, H. }$ o5 H$ [" B' U
  485. ; Production Value: On8 A# Z( r. [7 ?7 y4 Q9 \8 h
  486. ; http://php.net/log-errors1 K( |  u/ N- V0 F0 k& L& f/ p
  487. log_errors = On
    6 Q& ], Y+ G; I# [& H. J

  488. 1 V( B* Y" W! l- i* t( l
  489. ; Set maximum length of log_errors. In error_log information about the source is
    / W) M+ L+ C# B5 u! J8 \& \$ o8 T
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    1 w' C# B& |+ g9 i
  491. ; http://php.net/log-errors-max-len
    4 L5 E4 q; Z. E( U
  492. log_errors_max_len = 10241 l' ]  k9 z* q/ Y1 T- Z

  493. - W: R3 l) ], ]% M* C3 x- o$ u6 \
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same7 K: G& J# f9 H% ]) s# T
  495. ; line unless ignore_repeated_source is set true.
    * E& U0 j0 O- I0 ^
  496. ; http://php.net/ignore-repeated-errors
    ' e) Y4 _/ ]% G6 {. P% G: N. t5 s
  497. ignore_repeated_errors = Off( p1 h/ ?+ ~% g5 m2 ~
  498. ) \% v$ x7 E$ j' ^
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    6 v( g3 S7 a! Y/ J0 d
  500. ; is On you will not log errors with repeated messages from different files or+ f& N9 s% ]3 X& h. y- \: [% z5 b
  501. ; source lines.
    ( P9 U: ~2 q  |
  502. ; http://php.net/ignore-repeated-source+ n% p8 t7 O, E5 I% z
  503. ignore_repeated_source = Off1 {3 R/ l9 l" }5 \5 b9 z3 E$ F2 H
  504. 4 ~& b+ k( ^* m7 c/ |# B' V
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on, E7 `& f* Z' S. |4 Y% S- x
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    & d7 k7 q2 C1 J% k% |
  507. ; error reporting includes E_WARNING in the allowed list& O: M" [0 c* p( f' d
  508. ; http://php.net/report-memleaks
    2 B7 ~  ?$ s2 `( u6 c0 |
  509. report_memleaks = On
    # {8 N. L+ E% T/ d6 R

  510. * ]8 Z; R1 a2 S; g" L/ Q0 S+ L
  511. ; This setting is on by default.* f- D) T6 x( Z& t! V
  512. ;report_zend_debug = 0
    8 ]' M8 _0 D+ a  B- U" O5 x
  513. # E9 o0 H3 k! i
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ }* x( u, w2 w! l2 m$ n" k+ R
  515. ; to On can assist in debugging and is appropriate for development servers. It should, a6 Z/ H2 P4 T) o7 \
  516. ; however be disabled on production servers.5 c# U7 V% ~! _* v
  517. ; Default Value: Off
    - A$ Y* M; O, {# {% |
  518. ; Development Value: On" W6 U; j+ {6 I1 r+ }; ^7 j; s7 C
  519. ; Production Value: Off
    , P% ?3 f7 |$ ?. {) L9 p& @
  520. ; http://php.net/track-errors
    + o* d0 p: L3 s+ n
  521. track_errors = Off+ b) u' Z# i4 X! N+ W, K; ?
  522. ' e/ J! K8 r; S. s+ K5 c/ O
  523. ; Turn off normal error reporting and emit XML-RPC error XML; f7 n% T/ |9 _! K
  524. ; http://php.net/xmlrpc-errors5 A9 B4 t3 G8 M& Y. Q5 t; Y
  525. ;xmlrpc_errors = 0
    " C/ g& }4 \0 e& m' \$ G" [! ^

  526. ' E/ G+ e/ U# m, f" ]% v
  527. ; An XML-RPC faultCode
    8 A- {- P, k; N1 }" [
  528. ;xmlrpc_error_number = 0
    / d# T0 ?3 I5 s8 e$ C% A
  529.   A7 E% R, T3 v2 d6 m
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - `7 E4 t+ @2 q, C/ i
  531. ; error message as HTML for easier reading. This directive controls whether
    5 [. L) A" y" }
  532. ; the error message is formatted as HTML or not./ n" Y, K& u5 M
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI5 j5 n" U4 Z: k# @- V+ I
  534. ; Default Value: On; @- D4 U; f# g0 T! ^/ b4 S
  535. ; Development Value: On& {: b2 ?! P5 q7 G0 |* D
  536. ; Production value: On
    , M. i9 U# q) S
  537. ; http://php.net/html-errors/ Z* C5 D2 }, [% U* r" e
  538. html_errors = On( I4 P9 ]* X! ~( z, G, V! {
  539. 9 K* \1 w4 |9 y( k8 e
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP& y8 a- Y4 v; Z- O) f/ O) m
  541. ; produces clickable error messages that direct to a page describing the error
    " }8 I* }2 W& ~0 ^9 z) O$ y
  542. ; or function causing the error in detail.
    * A5 X% v* _/ N0 x( W
  543. ; You can download a copy of the PHP manual from http://php.net/docs2 |" U! c7 F/ u2 y
  544. ; and change docref_root to the base URL of your local copy including the
    7 O  r$ y3 ^2 u
  545. ; leading '/'. You must also specify the file extension being used including
      |% Z) ]6 g% s. k$ P% n  u
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    % R9 D2 |, j, J
  547. ; case no links to documentation are generated.
    . R$ L1 [7 O% {- U# x
  548. ; Note: Never use this feature for production boxes.0 |! r" a9 x$ [) H7 L
  549. ; http://php.net/docref-root
    4 k- D% A8 @# F  N# T" q" s3 {2 y
  550. ; Examples1 ?; H: }( K' g+ H7 s8 E
  551. ;docref_root = "/phpmanual/"
    ! r6 I6 @% ^; K( g" S% c

  552. 3 `3 s+ \* P' `% g. H* q. X
  553. ; http://php.net/docref-ext
    , w9 v3 D) e* I4 O/ W" O# o* [& N
  554. ;docref_ext = .html
      r8 K' E. w4 g# q
  555. 0 F9 k1 p# I( m# F$ d& f
  556. ; String to output before an error message. PHP's default behavior is to leave1 l4 [- k2 t4 ~) ^- o: g
  557. ; this setting blank.; n, ~7 G  G# z: P6 ~
  558. ; http://php.net/error-prepend-string
    % t! S- n; U; z7 P* B( k5 v# U) }
  559. ; Example:1 m8 F2 {0 A3 S/ a% e9 u
  560. ;error_prepend_string = "<span style='color: #ff0000'>"7 `: B% i" ?# v8 `5 @2 T: |

  561. " W' Y9 `4 C0 m" h0 V3 F' u6 l
  562. ; String to output after an error message. PHP's default behavior is to leave
    - a5 [$ \( ^& `
  563. ; this setting blank.& v0 Z8 a( I  r( s6 J+ H7 w# I
  564. ; http://php.net/error-append-string
    * |& g4 M+ u( y7 o/ [0 _3 O
  565. ; Example:) M; g. [! W$ G0 S  Q8 U3 ~# Y
  566. ;error_append_string = "</span>"1 d! u* s, z+ {& x! x( U
  567. 9 d- W$ Z1 X3 j" b3 ?
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    " G6 {8 u4 a( e$ d5 M+ N
  569. ; empty.- A. q0 W; G! H
  570. ; http://php.net/error-log6 x2 W7 L' r' _4 Z" ^$ e
  571. ; Example:* Z0 u3 v& _2 ~% i
  572. ;error_log = php_errors.log) R# g9 [8 H( F" k/ G
  573. ; Log errors to syslog (Event Log on Windows).! E6 \  o6 L2 H7 u8 t
  574. ;error_log = syslog( b7 M. Z  ?& }
  575. 2 _6 c3 C$ L+ ~) E2 Y$ `3 q
  576. ;windows.show_crt_warning% Z. I# t( \. C4 ~" l) z8 r6 v5 Y
  577. ; Default value: 0
      `$ H6 {% Z% A5 D) z4 |( n
  578. ; Development value: 0
    # _* Y7 T4 Y, U  o- R: ?
  579. ; Production value: 0
    , N& v% q4 ~3 L  y8 j
  580. - K: m2 h! Z2 K. u( e2 n
  581. ;;;;;;;;;;;;;;;;;
    " u( p+ D9 F+ B) {6 e
  582. ; Data Handling ;
    7 F0 i8 i/ O; P; C  Z. X- A
  583. ;;;;;;;;;;;;;;;;;
    " I) g( H% A+ q8 f# X# @

  584. . ~) C6 d8 z5 Z
  585. ; The separator used in PHP generated URLs to separate arguments.; ?) e+ v  Q9 H5 g8 @# W* W
  586. ; PHP's default setting is "&".( ?" T: }: _3 @
  587. ; http://php.net/arg-separator.output# ^' t' L9 C5 V' Q; n1 Z7 m
  588. ; Example:# o3 G3 r; ], K' s/ d0 }
  589. ;arg_separator.output = "&amp;"
    " v! `* z7 {, a$ T, `( ^. f3 k

  590. , I8 n6 ?; e* l
  591. ; List of separator(s) used by PHP to parse input URLs into variables.& B" V8 @1 |! F2 e- u2 T) ?
  592. ; PHP's default setting is "&".
    8 r) |) {) H6 C" a8 p9 W
  593. ; NOTE: Every character in this directive is considered as separator!
    & \' U1 I: R3 B6 p
  594. ; http://php.net/arg-separator.input$ Q5 c) q3 G2 H7 S, ?+ }
  595. ; Example:
    7 L& t% L, D& y- j
  596. ;arg_separator.input = ";&"* r8 R4 _( j7 w- r

  597. " k! W" W/ F2 J5 |2 ^' u
  598. ; This directive determines which super global arrays are registered when PHP+ a& b% l0 O/ z8 O. \( u4 ^; m+ h3 M
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 c3 z# g/ ^1 M4 l( `; M/ [1 u# w4 y
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) m2 r) g) m5 L
  601. ; paid for the registration of these arrays and because ENV is not as commonly% c5 W- d8 @& h; z: c% f+ l7 c
  602. ; used as the others, ENV is not recommended on productions servers. You7 D2 k7 B# H! [$ ~  t
  603. ; can still get access to the environment variables through getenv() should you1 S1 q* i9 I% g$ u
  604. ; need to.3 B! z8 q# d. z
  605. ; Default Value: "EGPCS"
    ) u; Y2 \' N, j: q4 g) [; v
  606. ; Development Value: "GPCS"
    9 v) Q, [' d0 Z+ u$ }, s5 c
  607. ; Production Value: "GPCS";- k1 C( |) i! C" g) x! n) h
  608. ; http://php.net/variables-order
    # B6 |) S. b! v1 S
  609. variables_order = "GPCS", Q8 {" A' R; {& \1 G" O# J

  610. 4 V9 v- o$ T9 R+ f: F: \+ X
  611. ; This directive determines which super global data (G,P & C) should be/ h& R& q; h8 m6 g6 l1 g
  612. ; registered into the super global array REQUEST. If so, it also determines
    : S' g' D3 }3 |
  613. ; the order in which that data is registered. The values for this directive
    $ U, b( N* i& `% z7 h/ |# s; p, {, q
  614. ; are specified in the same manner as the variables_order directive,
    * `7 E; o  e2 F; [& {9 |5 P
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 |7 k7 h" c# x( ]; G
  616. ; in the variables_order directive. It does not mean it will leave the super
    # t8 o  s  ~. A& D4 M" F
  617. ; globals array REQUEST empty.) G$ {0 B  X. P1 z
  618. ; Default Value: None
    0 P* y8 f7 ^- Y2 B0 |
  619. ; Development Value: "GP"& V4 p/ T/ t8 C; }: o
  620. ; Production Value: "GP"5 H- B8 R& c0 {: u
  621. ; http://php.net/request-order
    5 g6 I4 o: W" U2 l6 b2 Y
  622. request_order = "GP"
    8 d0 W/ F& r& ]. X$ y, i" f* ^
  623. $ T& _# ~) M) P8 `# R2 b$ y
  624. ; This directive determines whether PHP registers $argv & $argc each time it5 G7 M6 n+ u* `0 \/ Q% L9 ~
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script1 W5 r3 R  ]& _) R" h
  626. ; is invoked. $argc contains an integer representing the number of arguments
    3 y+ ]* }( y' ^
  627. ; that were passed when the script was invoked. These arrays are extremely
    ( z4 V" H1 q% i
  628. ; useful when running scripts from the command line. When this directive is+ T( y2 y4 {1 B$ D
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 C3 r1 j4 e" F! j0 G, j
  630. ; a script is executed. For performance reasons, this feature should be disabled5 w) R2 w, {$ h3 b
  631. ; on production servers.% N2 g' [6 p3 A9 W
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    * z! Q4 h. S0 h; M
  633. ; Default Value: On7 ~/ K3 _2 E+ @. E6 o
  634. ; Development Value: Off/ f: H9 Q$ j' O# [0 v3 h2 W
  635. ; Production Value: Off: B$ H5 |% x, J8 l
  636. ; http://php.net/register-argc-argv& L7 d  `2 I% }2 P) R* K; H0 X
  637. register_argc_argv = Off+ G3 F, v- I0 Q, z2 G7 a4 I% |+ q7 e2 o7 ^
  638. 3 K% @* f6 I6 F% \
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 V) r4 B% I1 h6 S9 q
  640. ; first used (Just In Time) instead of when the script starts. If these
    2 T, x( z! D2 A# x
  641. ; variables are not used within a script, having this directive on will result
    # C( `6 m( v1 d0 B9 C2 F; T4 ?
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled' A# E& [* b# b" {' G! c
  643. ; for this directive to have any affect.
    0 {% r9 p3 t1 N( H; u7 B
  644. ; http://php.net/auto-globals-jit/ O5 Z: q. s. _8 `9 A' G4 p
  645. auto_globals_jit = On1 x, t) B% f9 D5 L9 \2 e0 S
  646. 0 S$ a! K" C. L* Z$ o" q$ M, D/ g
  647. ; Whether PHP will read the POST data., s! w& T7 Z1 ?6 y% j
  648. ; This option is enabled by default.
    . d: H$ Z7 G, c) a: c: ~! y: ~' s
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST! z0 U8 ]# B) H# o9 X
  650. ; and $_FILES to always be empty; the only way you will be able to read the* F3 h2 L# [% ^) }8 @- R  _) p+ Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    1 {' t5 z4 A' `5 u+ d3 v
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - G3 l# D% g0 r3 \
  653. ; http://php.net/enable-post-data-reading
    7 n  c: C" a& a: s
  654. ;enable_post_data_reading = Off
    ! u* v; _/ o  q$ ]( t2 f2 |
  655. 1 t& x% N. |, w0 R  E" f
  656. ; Maximum size of POST data that PHP will accept.
    4 l& t  ?$ s( q! S4 o7 ~( w
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & P; N3 L5 ~% `7 [1 n9 r2 ^, \
  658. ; is disabled through enable_post_data_reading.
    * H3 n# V3 ^/ g. K
  659. ; http://php.net/post-max-size
    ' E3 i" Q$ s% e. Z: q" J' S
  660. post_max_size = 50M
    " \5 C$ m/ L$ ^/ ~9 W) f; H
  661. 2 F) [/ [+ I7 r( [8 ^
  662. ; Automatically add files before PHP document.. ]% r3 j; @6 V% s
  663. ; http://php.net/auto-prepend-file
    , i; B: q, \0 m6 t7 H
  664. auto_prepend_file =4 T; t" U" M( r: H
  665. . b; t, @  g. O# [- K  g7 ~
  666. ; Automatically add files after PHP document.1 c8 e" b" ^1 R4 e" ^2 n
  667. ; http://php.net/auto-append-file
    ' ?( o6 S: h, u6 E2 g, u! t$ s: P# `
  668. auto_append_file =
    + L: w8 \" _# `( B
  669. + i# @9 H$ t- n, E( T) X0 ^
  670. ; By default, PHP will output a media type using the Content-Type header. To
    - K; M& W9 t8 m) ~2 F  T' f& n* D; {
  671. ; disable this, simply set it to be empty.
    ' u% x9 p. s, D. y; J) p% v
  672. ;" k0 V8 n' t. M  A  ]/ p
  673. ; PHP's built-in default media type is set to text/html., n7 c. Q4 s5 |7 w4 D% I
  674. ; http://php.net/default-mimetype
    9 x; L1 b6 I3 b8 o
  675. default_mimetype = "text/html"3 E) _" ?/ p) y9 Y* x3 o4 H9 d

  676. 7 l! M' |3 Q" f0 l5 K
  677. ; PHP's default character set is set to UTF-8.
    5 T7 F3 g1 y( D* w- K
  678. ; http://php.net/default-charset- f7 E$ J; U$ J
  679. default_charset = "UTF-8") O$ X+ w$ j  L
  680. 2 F. n2 g% L2 l1 y- O8 I+ _6 R0 j. w
  681. ; PHP internal character encoding is set to empty.
    " B# B  Q) N; O2 w% i" A) X' [
  682. ; If empty, default_charset is used.
    ) Z% {/ o' @8 U. v( D: e# h% v
  683. ; http://php.net/internal-encoding7 I3 x, S1 g7 Q  C
  684. ;internal_encoding =1 M9 j9 N! h' _1 `# B2 C1 t+ i

  685. 8 @& ~- i2 h; u
  686. ; PHP input character encoding is set to empty.- s' n+ @% @. U( W4 k0 p+ m  a  v
  687. ; If empty, default_charset is used.- I+ f) S4 {: R5 `0 J* D2 c
  688. ; http://php.net/input-encoding+ z2 ^: Z* [0 o9 O
  689. ;input_encoding =
    $ {* _1 n) ?" i2 Y1 K* Y

  690. - x, T' d5 I: ^6 g% @7 G. L
  691. ; PHP output character encoding is set to empty." H6 X5 W* `% e3 L
  692. ; If empty, default_charset is used.6 X- T8 A2 S+ M5 @5 }: R3 o
  693. ; See also output_buffer.0 z  N" g# `/ S! Y
  694. ; http://php.net/output-encoding
    , e( s* T8 ]& c& w, k4 ^- s
  695. ;output_encoding =$ u. u# A9 D" B- W7 \0 u6 ~
  696. - P, X6 j$ H# P( e+ a$ \: k
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ) ~2 A! f5 D' |; \( V
  698. ; to disable this feature and it will be removed in a future version.
    * [. G2 `! N8 Z7 G: J
  699. ; If post reading is disabled through enable_post_data_reading,
    ! [4 u4 e4 Q# f, B& d
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated., H% j2 M  k, i4 Q- g; l
  701. ; http://php.net/always-populate-raw-post-data
    5 m8 S4 m, S6 o; I4 ^# t6 s1 w
  702. ;always_populate_raw_post_data = -1
    6 Q* J* s8 Q7 I1 i. y/ p

  703. 6 [7 K$ @- U2 `. h
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;8 C) _0 P: B9 r
  705. ; Paths and Directories ;6 |' q! _# M9 z
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;# [% b6 i; @& O: |/ s

  707.   x, }) H: \: O( H. F1 z
  708. ; UNIX: "/path1:/path2"% o  D4 E: Z& E4 U
  709. ;include_path = ".:/php/includes"
      ]( T2 w9 N3 S1 u% r( S7 ~) k
  710. ;
    ( z: Q+ a% G( H/ @+ T4 W
  711. ; Windows: "\path1;\path2"+ M+ C: H& o/ N! D% w! o' x: u, a
  712. ;include_path = ".;c:\php\includes"
    8 L  Z) [; w$ T! A  R# _
  713. ;
    4 S2 J# L' Q6 @3 i* u
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : g% G+ ]; Z" R
  715. ; http://php.net/include-path
    . H& v( `8 b& Y7 E9 @. I
  716.   F5 u& |1 O8 n# z6 {
  717. ; The root of the PHP pages, used only if nonempty.; D' h6 e# e; t, f5 P
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    7 @5 K) B1 T" h4 L; _6 @! X: |
  719. ; if you are running php as a CGI under any web server (other than IIS)  N. o7 {5 F* K$ h3 [/ c
  720. ; see documentation for security issues.  The alternate is to use the
    + a8 x4 w5 c0 S0 [  C/ h
  721. ; cgi.force_redirect configuration below8 W( G: n4 e. M1 I" Q
  722. ; http://php.net/doc-root( T% Y: x8 r& c! N
  723. doc_root =
    # `6 E- R, f2 F. s) J

  724. ) P8 y3 {: `2 y% O% `  Q$ M
  725. ; The directory under which PHP opens the script using /~username used only. c0 d9 @# q0 K- v* g, d6 }! e
  726. ; if nonempty.
    . Z$ @) Z. y8 p4 h
  727. ; http://php.net/user-dir
    % S% w' t. [6 z; _& c, A
  728. user_dir =5 ~5 v4 [; X/ \/ U3 ?) {
  729. 3 j1 r# \& K8 {( t. [
  730. ; Directory in which the loadable extensions (modules) reside.4 P# L+ x+ p% c% z9 J- I+ h8 P7 k
  731. ; http://php.net/extension-dir3 F. k4 [) E/ p8 K8 z; Z1 g
  732. ; extension_dir = "./"
    $ E$ C/ \% A8 s; ^6 w+ V
  733. ; On windows:6 @, z! F; }8 [% Z7 r4 F7 k2 c
  734. ; extension_dir = "ext"1 B5 R1 [3 L5 r& D/ l: R- f$ k
  735. / L& b5 J4 Z+ O2 U+ q* H
  736. ; Directory where the temporary files should be placed.7 ^: m: h6 v$ Y6 N0 \# {: X; j
  737. ; Defaults to the system default (see sys_get_temp_dir): v" T5 W7 C% w# V0 {% u
  738. ; sys_temp_dir = "/tmp"
    - B4 I" V; Y( J
  739. / k# g/ h- P' K( x' J" v/ v
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + F% i" H6 y9 S: w
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - x* c& b$ [8 @
  742. ; disabled on them.; \: }: [5 }9 g7 N1 |
  743. ; http://php.net/enable-dl
      F% m0 m/ Z  _% W7 z
  744. enable_dl = Off6 b/ f) i& C8 w
  745. 3 A- l( c4 c% B" R+ b  o
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ' I: B6 k: J7 G5 o$ `
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can) t% b0 f6 s6 w. H
  748. ; turn it off here AT YOUR OWN RISK
    ) x3 `6 G% A% `2 k
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 b1 F( b; E# y4 U; P
  750. ; http://php.net/cgi.force-redirect
    0 r& \" Y& p3 ~9 [2 n% h; L
  751. ;cgi.force_redirect = 1
    " {& d6 M' |) r8 W* M0 I& d5 A
  752. , t- |8 _. |( W1 |! e0 K
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & w8 F, g9 ^! `$ \5 }  T7 A
  754. ; every request. PHP's default behavior is to disable this feature.
    . ]9 w) I) x6 B
  755. ;cgi.nph = 1! B/ |4 O0 ?2 R8 R

  756. ) C; F( p( `) J1 t" F0 w; a$ l7 d
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    / _% o) U2 p3 o' P# q
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    5 t4 P! C" Z' u/ t0 M. \/ s
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    , S) F1 ]3 o7 a. J* ?2 a
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 h9 \7 \9 Q: l! G+ ?* A8 G( B
  761. ; http://php.net/cgi.redirect-status-env
    3 B% @- t4 N; I- Z
  762. ;cgi.redirect_status_env =! ]( P# ^2 I) W, ?" G$ ^; T
  763. * ]" H9 p) ^7 g' s8 S! ^
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ! q' q7 v7 @% ~5 ~/ ~
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( K" ^% v2 P7 G! T. Y
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; x& O$ w8 x$ M
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    - V2 ~) g5 n- g
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts2 `) ^$ D3 Q( D, n- [& q# q
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.3 a' `- W; Y* Z) I8 i. \, s
  770. ; http://php.net/cgi.fix-pathinfo5 ~( J' R# q' I" h
  771. cgi.fix_pathinfo=1! W  `  K" N& M6 o: B3 f

  772.   k$ v$ P4 b2 p6 {% M" z. I) d
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside/ O' D( v6 o$ u" w) q6 H6 b" t
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    9 ^3 a/ S) x$ U0 B  N% ]3 P4 Z
  775. ; http://php.net/cgi.dicard-path3 ^' c# {0 R( u; u* @' B3 V/ k
  776. ;cgi.discard_path=1
    ) I9 x" H9 e, @, J; o" O$ V$ B
  777. $ }6 `' r8 x) J# |7 ?: {
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    9 }- s; t$ n& j7 ]% p. A1 \
  779. ; security tokens of the calling client.  This allows IIS to define the/ E' S' c3 `( q  G* Y# G' z- p, Z3 [$ q
  780. ; security context that the request runs under.  mod_fastcgi under Apache% g% r- ^: G. w  ]* b
  781. ; does not currently support this feature (03/17/2002)& l2 B+ D! [( R
  782. ; Set to 1 if running under IIS.  Default is zero.. L' h3 H* |9 T- O/ }: A7 U- F9 z
  783. ; http://php.net/fastcgi.impersonate  I/ Q/ d1 c- n& {: |; E
  784. ;fastcgi.impersonate = 1- i  v( M; O/ B5 F: N# j

  785. 9 D& _& H9 t0 X+ Y' e
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable) X6 h7 j: p3 a7 S/ q; L* h
  787. ; this feature.3 [1 [+ M3 }$ {+ Y2 J/ m2 }
  788. ;fastcgi.logging = 0; ]' `9 X' x6 G. b0 K3 F5 _; l
  789. ; {% r% C! a6 V9 ]
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% X3 `0 J# R6 h& I+ V8 s' ]: g
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    + }) w4 ?1 U' N  ~2 P
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    4 ?- X3 A1 N) I3 K
  793. ; RFC2616 compliant header.9 J; N. ?+ U0 \% R
  794. ; Default is zero.
    - L: g" {+ Q5 @2 n. q
  795. ; http://php.net/cgi.rfc2616-headers
    ' I" u! l- D2 I: C# F) I
  796. ;cgi.rfc2616_headers = 01 ]1 O7 V0 C/ p
  797. 6 ^$ L) r. y! w, @' R! A+ O
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- |6 |2 r0 W2 h7 I0 P$ J2 j
  799. ; (shebang) at the top of the running script. This line might be needed if the8 X  h5 [/ M: y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI4 D  y7 e% v. q9 x& }! W
  801. ; mode skips this line and ignores its content if this directive is turned on.% a7 F  G/ g1 V+ A! ]4 o9 p
  802. ; http://php.net/cgi.check-shebang-line$ p8 w1 V' x# H4 f" H
  803. ;cgi.check_shebang_line=1. y& ]( o+ \$ S

  804. 9 }& S- _  O5 y" B" {; G6 d
  805. ;;;;;;;;;;;;;;;;* [6 {3 [' m4 V5 R$ N) [/ H2 o- E
  806. ; File Uploads ;
    ; n) r1 z+ Q9 R. }% X7 F
  807. ;;;;;;;;;;;;;;;;/ Y" z9 J' y& @" ?# B, D" {
  808.   Y, u: S& r8 m$ M; R& C9 n1 N
  809. ; Whether to allow HTTP file uploads.: ^& G0 \" r# y: R$ s
  810. ; http://php.net/file-uploads) @+ u& H/ ~, ?5 }0 n
  811. file_uploads = On
    + C1 h# O/ [6 ]& |2 G

  812. $ x0 K8 U- l# D' @; [! d
  813. ; Temporary directory for HTTP uploaded files (will use system default if not1 |: t7 b  M' G7 S7 ]
  814. ; specified).
    + M5 C0 J' G) T% |  q8 l  N
  815. ; http://php.net/upload-tmp-dir
    $ a/ v- r1 @8 B! ~" u" M# u
  816. ;upload_tmp_dir =7 I- ~3 F) l( Q  A: i
  817. 0 |, b% }. z9 y' @9 s
  818. ; Maximum allowed size for uploaded files.
    ( t/ o/ s/ s, X% E
  819. ; http://php.net/upload-max-filesize
    5 Q3 a, C! H# x( J; f0 @
  820. upload_max_filesize = 50M# W- V  C. B& E9 E  s

  821. , W; V+ [$ r0 _) u
  822. ; Maximum number of files that can be uploaded via a single request
    7 U3 t7 p* q# R7 K  _4 M
  823. max_file_uploads = 20
    8 @/ D+ A- L  C! B* }5 e

  824. ( B, e+ p- N9 [* l5 x6 N8 M* A
  825. ;;;;;;;;;;;;;;;;;;
    ; K! U9 `! F: i
  826. ; Fopen wrappers ;
    . Y9 F" [' \. [) F9 z, H' ?
  827. ;;;;;;;;;;;;;;;;;;
    8 Y8 @- y$ S+ A; H

  828. 1 i, m+ @( `0 C
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.3 n4 M" D( K* |" h; n4 G: k
  830. ; http://php.net/allow-url-fopen% C1 |- _  O. S4 V' V
  831. allow_url_fopen = On: `, [4 O  a' _2 `4 M6 [* }

  832. 4 i- R$ _- I% G1 F6 n
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    + N! W4 `: q+ O% q
  834. ; http://php.net/allow-url-include2 o- D, F2 ^9 C
  835. allow_url_include = Off
    ) S" J1 b7 y; c$ ?7 p# y

  836. ( x( Y3 |" _+ y. N
  837. ; Define the anonymous ftp password (your email address). PHP's default setting9 z4 ]2 Q: @/ E1 N5 |
  838. ; for this is empty.1 g& [5 X- M" J+ L: X) ^1 _
  839. ; http://php.net/from
    ) d  ^6 r) A- l& a$ [
  840. ;from="john@doe.com"0 q; H8 m7 q' A3 t
  841. % Z. u8 T  d# N
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    3 q3 Q* E- n+ m. H, L5 b
  843. ; http://php.net/user-agent
    - I0 ^. C! O7 D# r: l
  844. ;user_agent="PHP"
    # I/ z. ?( q/ [" m4 @- v  G
  845. 8 X& B. x( G6 G: x  \6 A, [
  846. ; Default timeout for socket based streams (seconds)
    1 I" g6 I) x9 s. `
  847. ; http://php.net/default-socket-timeout0 c/ u# `9 c/ F8 _
  848. default_socket_timeout = 60/ |2 o' s' ]7 g' x! |! B

  849. # i- b; N/ Q( _1 ?/ a/ f5 g7 O. j0 A
  850. ; If your scripts have to deal with files from Macintosh systems,
    * q' ]: ^" B: u4 X
  851. ; or you are running on a Mac and need to deal with files from. j7 V: d% ?- t& _8 c! Q+ Q' @
  852. ; unix or win32 systems, setting this flag will cause PHP to3 E3 k4 e8 v0 H+ V% m7 m6 E. J
  853. ; automatically detect the EOL character in those files so that
    ) n% a* m  d* s/ k& W
  854. ; fgets() and file() will work regardless of the source of the file.
    ! ?/ F& x! X' m# ^, X9 i
  855. ; http://php.net/auto-detect-line-endings, n/ W. ]2 p/ g% a1 @4 x- h
  856. ;auto_detect_line_endings = Off# y6 X5 M$ {# q  m' B9 ?' l

  857. % W6 J0 L8 c" i
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ) `5 `6 K4 @& E# p) |& @' ]
  859. ; Dynamic Extensions ;# k% Z7 S2 n) g, S/ ^6 l
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ) V  L" b3 j6 ]7 K/ y# y
  861. : [& U$ r; [4 L' Q# x
  862. ; If you wish to have an extension loaded automatically, use the following
    + M: J2 _2 j2 D
  863. ; syntax:$ p9 K/ D% \  T  [! |, ~
  864. ;
    + |: D7 j  [. H
  865. ;   extension=modulename.extension
    1 ?/ Q, D& k( n; g: K
  866. ;
    . |/ M) c' X% v
  867. ; For example, on Windows:
    ' y" M: `" E# z3 Y0 \9 A. w6 S
  868. ;8 y% w5 O% f/ n3 C2 \7 R8 l
  869. ;   extension=msql.dll
    & y1 T7 a! U7 `/ b/ U) A+ P
  870. ;
    ! l* R3 c1 L( D  ?) z! G
  871. ; ... or under UNIX:" ]+ M# o. G* A
  872. ;
    - L0 R' x! B$ Y" Q$ z
  873. ;   extension=msql.so
    $ x) O; \; J* P% W
  874. ;8 j( Q- \( X- j) J" f  x& k6 U
  875. ; ... or with a path:. j6 W" w% d' {% y( O8 \! N  {
  876. ;1 R, y4 i1 z/ Q( F- r
  877. ;   extension=/path/to/extension/msql.so
    & u- {  ~8 u# \; H% x
  878. ;
    * T& z% j* o& G' d
  879. ; If you only provide the name of the extension, PHP will look for it in its/ Y# v/ P( d8 Q) ?8 k+ S
  880. ; default extension directory.
    + v5 s: s$ m7 z- [# q
  881. ;& v; x. r5 _9 [; Z* ^2 {% z: E, T* C
  882. ; Windows Extensions
    ; k3 D0 M! Q7 {: @/ U9 i
  883. ; Note that ODBC support is built in, so no dll is needed for it.% d# R+ u" H# Q% T- K' h
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    # g& F+ |1 `2 d: A1 Z7 K
  885. ; extension folders as well as the separate PECL DLL download (PHP 5)., N+ s" E( b/ P" k* r' y
  886. ; Be sure to appropriately set the extension_dir directive.( f3 t- |, X9 M4 W7 r
  887. ;9 d- I4 d1 t1 q1 P( W: g
  888. ;extension=php_bz2.dll! S! z. Y8 K+ u% r* X3 d
  889. ;extension=php_curl.dll; |. U* G! K$ W) @5 k* Z+ ?% x
  890. ;extension=php_fileinfo.dll
    . ~1 y7 d7 f. ?/ e
  891. ;extension=php_gd2.dll  j  H" c9 |) Z+ c& ?
  892. ;extension=php_gettext.dll  q0 P8 `2 z/ l7 D
  893. ;extension=php_gmp.dll, e+ }2 g! k( e" o8 v+ H' `6 s
  894. ;extension=php_intl.dll6 F2 w6 C: j, n$ n% N6 \: r
  895. ;extension=php_imap.dll
    ! q2 p4 z0 F3 E5 |
  896. ;extension=php_interbase.dll
    7 B' K- f, n# Q
  897. ;extension=php_ldap.dll! O6 H0 C# ^8 n, d. M! s0 S0 G
  898. ;extension=php_mbstring.dll
    1 k$ H& s( z4 [" X
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 Z' i- _$ e) X4 H2 g* h. i! P
  900. ;extension=php_mysql.dll: c0 I9 R4 O4 F1 ?0 O; s
  901. ;extension=php_mysqli.dll% i- U; X  C" Q' E
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ P4 K$ B! V. C& P5 K0 b& r+ a- [9 X
  903. ;extension=php_openssl.dll% u+ L" `8 O  e2 x4 a
  904. ;extension=php_pdo_firebird.dll
    ; Y% K1 w/ |* G: c  R% ~1 o( q! i
  905. ;extension=php_pdo_mysql.dll0 |, |" I: {& ^. I
  906. ;extension=php_pdo_oci.dll
    , Y0 g: ^9 J2 ^/ O
  907. ;extension=php_pdo_odbc.dll. c: }$ ], W; r9 O7 H5 `* m1 ]6 i
  908. ;extension=php_pdo_pgsql.dll
    6 w/ ]  C6 c" Y, l' F
  909. ;extension=php_pdo_sqlite.dll
    4 b+ H: ~) g! }, W" K: V- c
  910. ;extension=php_pgsql.dll, e- H$ T3 a- ^3 A" ]4 C$ E
  911. ;extension=php_shmop.dll8 ?7 \3 ^7 H! _
  912. 3 ^5 Q# E, f) _6 c; B
  913. ; The MIBS data available in the PHP distribution must be installed.
      t( r+ p) w# }% Y8 j
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    3 B  z5 P7 v8 q. |
  915. ;extension=php_snmp.dll! m5 X! L4 q& Q0 ^0 u, I
  916. 5 @& }  @" q0 o& w; M* F
  917. ;extension=php_soap.dll& c  e! }7 l) S) h8 f
  918. ;extension=php_sockets.dll
    0 D! G$ _% \3 d$ O4 F7 U3 D1 O
  919. ;extension=php_sqlite3.dll
    1 E& ~9 c4 m4 n; H( W2 Q0 _5 F& v4 a
  920. ;extension=php_sybase_ct.dll" ?) H! ^5 }* Z; p, H
  921. ;extension=php_tidy.dll
    & `. p1 X/ A  g- {( b& m2 i1 x5 ?8 t
  922. ;extension=php_xmlrpc.dll
    5 k' Z; }, q( Z- i7 ]& \. j& [' I
  923. ;extension=php_xsl.dll/ A( C" V4 o2 v6 C( J
  924. 8 g* Y( F. L* {3 ]1 e
  925. ;;;;;;;;;;;;;;;;;;;
    % `+ O7 ^1 I" s# Z& N# ?
  926. ; Module Settings ;2 C, B7 k/ @6 e6 V/ |  `
  927. ;;;;;;;;;;;;;;;;;;;& D( _! P3 h! b1 _

  928. 7 `; c& H) N0 S5 F5 f0 h
  929. [CLI Server]
    9 w/ a: u( k/ h9 b8 ^  i
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.9 [% E8 X  N/ T  ?, u: N$ I
  931. cli_server.color = On
    & m# ~& e$ e. X/ x# B
  932. % O  _7 l: u- y
  933. [Date]
    4 T2 q) x5 j/ h, L# R
  934. ; Defines the default timezone used by the date functions9 S2 I5 i8 q( \) l8 l
  935. ; http://php.net/date.timezone& [- `- _+ D- g- T
  936. date.timezone = PRC1 ]+ b+ Q) _! W2 f
  937. / Y6 D, {! m2 R3 o( Z. _+ C
  938. ; http://php.net/date.default-latitude9 X' u) H# F3 J2 b& w* T) _+ A4 ?
  939. ;date.default_latitude = 31.7667
    # r, R+ f% k6 I) S/ t9 c
  940. # `2 I! T3 u( V+ c3 `5 o
  941. ; http://php.net/date.default-longitude
    1 U6 y/ c% @5 H, s* f
  942. ;date.default_longitude = 35.23333 A- M  I; U' [2 ^( f. I* Y
  943. : C. [& s/ `. U
  944. ; http://php.net/date.sunrise-zenith6 C% o5 F) Z" N0 ]- p2 u, [% \
  945. ;date.sunrise_zenith = 90.583333& u& x; u; d% ^7 T
  946.   Z% v( D1 _  Y2 x9 P
  947. ; http://php.net/date.sunset-zenith
    8 L# J9 `! W5 t9 R7 p
  948. ;date.sunset_zenith = 90.583333
    ! P6 H* ~* N& o+ O: e+ o

  949. : |( w; [! P5 w, V, Q
  950. [filter]
      \( y+ {5 h  |* l  t: N
  951. ; http://php.net/filter.default
    ' D% w8 t7 b; w7 O  p
  952. ;filter.default = unsafe_raw
    : U' h- e$ l6 J9 Y6 U
  953. 7 _/ }8 a# V2 ]% z0 F2 i* r5 p1 b" m- X
  954. ; http://php.net/filter.default-flags
    * h' Q0 D3 O$ b  p  K; \/ ?
  955. ;filter.default_flags =6 r: d- H  j# M2 V. ~2 t0 p

  956. 0 V1 f! p1 Q  B3 p5 `/ U
  957. [iconv]
    $ u( ~7 X# o- m/ P5 m  l
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.  q* i+ }" U- P! B, B
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    : ~* o1 _/ \/ i* g8 [( Z
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding1 m* W, S/ ?% B- B0 z6 k" B7 ]3 K
  961. ;iconv.input_encoding =
    1 _! f$ H7 q) @+ Q
  962. , N% I" c6 w  M/ ?
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 Y/ r2 O) {2 Q$ U8 [4 z: Y
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., A+ u; m3 R/ {
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( J- |, M) w4 b% }: @
  966. ;iconv.internal_encoding =
    2 O* I/ ]/ Q1 K3 ]' y9 v7 ]( {' E

  967. / |( [- U; }& U1 v  ~9 k! B
  968. ; Use of this INI entry is deprecated, use global output_encoding instead., G% v% j- r& y/ K
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# G' K( s: T0 }" X( J) i" b
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding+ o  D% Y0 P' g/ q: z
  971. ; To use an output encoding conversion, iconv's output handler must be set# T/ k% B) X0 I( R! g6 m  m
  972. ; otherwise output encoding conversion cannot be performed.
    " a" l1 o+ [$ V) [: [7 `
  973. ;iconv.output_encoding =
    : |/ f* u; T0 @0 V/ ^

  974.   H/ |, E8 D& z% K) Z! ]7 _
  975. [intl]& M$ E: i3 _2 k* t2 I1 }
  976. ;intl.default_locale =) V# E3 E' _; P0 E3 b
  977. ; This directive allows you to produce PHP errors when some error
    3 u1 r4 U) L% i5 ?  ?  ]
  978. ; happens within intl functions. The value is the level of the error produced.3 Z9 e; v7 T8 i9 t
  979. ; Default is 0, which does not produce any errors.% a4 j* P' x( Z: i* P: J+ f
  980. ;intl.error_level = E_WARNING# g. j0 [$ d8 E% l% F% w/ V9 K3 ^% F
  981. ;intl.use_exceptions = 0
    ( a2 n+ n2 K+ `7 g

  982. " V$ L% i& |+ D6 `  K: s: X
  983. [sqlite3]
    % x9 q+ ~7 Z5 S
  984. ;sqlite3.extension_dir =; t  n- z( ?/ b) K/ R
  985. ' r$ h- n0 q" C( R$ O& c: q
  986. [Pcre]6 a' p( A8 r9 N+ v$ ~
  987. ;PCRE library backtracking limit., K/ d, m# S6 P2 V$ X# f9 Y  L
  988. ; http://php.net/pcre.backtrack-limit
    " t9 C" f1 L2 G& U: ?
  989. ;pcre.backtrack_limit=100000* q/ W" x5 k% G6 w4 t& R- m1 I

  990. 9 n" T6 H% e9 V8 m- z  U
  991. ;PCRE library recursion limit.* n* v" n. W  ~5 C
  992. ;Please note that if you set this value to a high number you may consume all
    / _- x0 I; I. F7 W$ J
  993. ;the available process stack and eventually crash PHP (due to reaching the
    # S4 J$ J- D$ h2 T4 n( \
  994. ;stack size limit imposed by the Operating System).0 i6 H$ ~& W5 u5 m9 D6 ^; n; N
  995. ; http://php.net/pcre.recursion-limit' f0 c" B9 Q6 _4 B! t
  996. ;pcre.recursion_limit=100000
    9 |7 O5 b) D" }; ?8 _  k

  997. : l1 D  H+ X, \& Z# P6 C
  998. [Pdo]
    6 b/ g$ b1 m% `0 a( J$ n$ ~
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"1 M7 G/ C5 \3 c8 l1 z: G5 t3 L. {5 H
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / V+ w  q6 F3 u$ Z5 l/ }1 P" e. U
  1001. ;pdo_odbc.connection_pooling=strict
    & B- T0 f( q( w" d" R
  1002. & Q/ N8 e4 H! ~; c8 g. |
  1003. ;pdo_odbc.db2_instance_name
    1 B+ }* |9 w8 M

  1004. , _. F2 J2 t# K& j& P+ S6 A3 a
  1005. [Pdo_mysql]
    , }, v+ j5 a7 n; d/ I+ f5 h
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; J: k* ]( ~0 ?2 h# d6 }! [
  1007. ; http://php.net/pdo_mysql.cache_size6 R1 t6 {' g0 m2 Y. V9 c! v
  1008. pdo_mysql.cache_size = 2000; r2 T+ e# Z, c0 n5 I! _, |
  1009. * l" g9 C3 K$ g  K6 N" i& Q7 p0 A
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ C  e) W. f! Y2 l. |
  1011. ; MySQL defaults.
    ! C% s. B3 O5 s& D$ S& @3 U
  1012. ; http://php.net/pdo_mysql.default-socket  Z- O+ Z6 R. ?+ J
  1013. pdo_mysql.default_socket=7 E$ P5 Q6 Y: T" {% `7 Q, x1 q: O
  1014. , b4 m( ^) h1 z  n" W* d5 ]% V
  1015. [Phar]
    . c  A( e& t- o/ Q' P' W1 L% _# S
  1016. ; http://php.net/phar.readonly4 e2 Z" O" h* n/ B8 B: v
  1017. ;phar.readonly = On
    . H- {0 W: ?) @, A

  1018. 8 [2 `! h" `8 T2 m
  1019. ; http://php.net/phar.require-hash
    : s' J% ^5 E3 A/ T
  1020. ;phar.require_hash = On
    , |7 A. X. s) k
  1021. $ F1 E* V" J% w' x  w1 u, f
  1022. ;phar.cache_list =1 X; k+ {  y; Q9 @

  1023.   h/ B" E$ N' ]% |$ s
  1024. [mail function]0 {9 f6 c2 @+ Y" X. o. h6 [7 U' ~
  1025. ; For Win32 only.
    & H) X5 h7 H1 B; ^
  1026. ; http://php.net/smtp; Q9 R, o2 S& R4 d, {4 Q. g; D
  1027. SMTP = localhost
    4 E' p$ k2 H, |- R6 J9 T) O
  1028. ; http://php.net/smtp-port
    * L! V3 j: R" y/ F' g' q  C; b
  1029. smtp_port = 251 d2 l) y' Q* D( |; k) ^% x
  1030. 6 u! n6 o3 @3 K7 N+ @9 n0 c9 {6 m" X5 V
  1031. ; For Win32 only.
    ) G2 v! ]- m; M& @2 B) W  n/ i
  1032. ; http://php.net/sendmail-from4 y  g0 ]8 C. b9 L% s
  1033. ;sendmail_from = me@example.com; R7 X" C" e# R
  1034. ! |/ U- A  k- C
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    3 _7 x/ F4 d( k* c
  1036. ; http://php.net/sendmail-path
    : I# u/ Q; D, `
  1037. sendmail_path = /usr/sbin/sendmail -t -i/ K9 G+ A& X7 y) F& T5 E5 g0 b9 `; t8 P

  1038. % Z: A) s) T2 t; v, v5 T
  1039. ; Force the addition of the specified parameters to be passed as extra parameters4 o1 p7 S. G" \' M, _5 Y1 L
  1040. ; to the sendmail binary. These parameters will always replace the value of7 t. k9 g" x  l) V6 n6 g
  1041. ; the 5th parameter to mail().6 I1 s& Y9 ?/ ~2 L, K9 D) G
  1042. ;mail.force_extra_parameters =
      Y" d, r5 q9 t6 r: h% F5 ]

  1043. 6 }  ?& \; U+ N5 T
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 ?5 ~* N7 ?5 f
  1045. mail.add_x_header = On, ~0 V) }! G! i

  1046. / L% `& ?4 u" r+ a
  1047. ; The path to a log file that will log all mail() calls. Log entries include9 }7 {# f9 P0 x$ M
  1048. ; the full path of the script, line number, To address and headers.1 T0 X; A" P+ V- K
  1049. ;mail.log =
    7 _" F5 ]/ K6 W( @" e1 C3 x+ H
  1050. ; Log mail to syslog (Event Log on Windows).! ^  p8 q5 {# _
  1051. ;mail.log = syslog
    0 ~8 H! W, ]. ^. K# R! R: ]
  1052. ' P0 l; [8 w0 G! R8 I+ y# A
  1053. [SQL]
    & \8 W6 U8 y% r) V* ?
  1054. ; http://php.net/sql.safe-mode
    , H' }9 L2 z/ S1 Q6 @8 J  U
  1055. sql.safe_mode = Off, a) s( E: k' u. o6 ~) Q! E
  1056. 7 b% _& }/ \7 k% A- Z6 _5 W* S% u
  1057. [ODBC]9 M. m: u$ N& b7 t3 L' P5 O/ B
  1058. ; http://php.net/odbc.default-db
    ) k" y8 J6 b' c+ y
  1059. ;odbc.default_db    =  Not yet implemented; j( `; O; k  c: B- N

  1060. 8 L' V! ^! F1 J1 i9 F
  1061. ; http://php.net/odbc.default-user" }' m) ^6 ]% j/ K* S
  1062. ;odbc.default_user  =  Not yet implemented
    , [* e) M& u) o
  1063. ! R, B8 a" }1 o5 S5 d2 B6 G: {
  1064. ; http://php.net/odbc.default-pw$ B) ~/ d0 ?2 _3 J5 ]+ S
  1065. ;odbc.default_pw    =  Not yet implemented, d" r2 H; p* D* C4 p
  1066. " e! O  Y6 I0 S" ]
  1067. ; Controls the ODBC cursor model.
    " E- V3 X, `. x) v
  1068. ; Default: SQL_CURSOR_STATIC (default).
    1 T0 O/ {: i+ ~  o4 k
  1069. ;odbc.default_cursortype) I# \: D' ^: i% o8 W
  1070. 5 L, Y$ [3 U4 y7 `) S  d
  1071. ; Allow or prevent persistent links.& ~8 w# U% F7 G9 E
  1072. ; http://php.net/odbc.allow-persistent
    1 H6 P* W1 g+ T7 n1 x
  1073. odbc.allow_persistent = On( i. P: G$ A. d8 i

  1074. / v6 s6 D# A9 i& O; Q
  1075. ; Check that a connection is still valid before reuse.
    ) R9 S# Z& R5 w1 W+ B
  1076. ; http://php.net/odbc.check-persistent
    $ ]0 P! B, X6 h9 F# A6 Q9 v
  1077. odbc.check_persistent = On
    $ J9 Y3 a, P" y+ C" j+ [

  1078. # {+ Y! H) |( N6 z* e& v
  1079. ; Maximum number of persistent links.  -1 means no limit.+ G3 t- ]4 D- S5 j8 ^& h
  1080. ; http://php.net/odbc.max-persistent6 k5 I' g9 T7 u" [
  1081. odbc.max_persistent = -14 d7 H. P  I5 y; l$ _& z
  1082. 1 y6 l2 ~9 N! d4 R
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " @! R: J7 Q  s' p
  1084. ; http://php.net/odbc.max-links
    8 i1 U6 s8 ]* ?, H1 {
  1085. odbc.max_links = -1* }1 m  ^' n; |$ z: b" p" G
  1086. . A) p- M# R7 r6 V
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means$ e8 H% A* [8 Z! H
  1088. ; passthru.; r" z9 J( H- w0 Q2 F3 o* U; [8 i4 H
  1089. ; http://php.net/odbc.defaultlrl7 ^8 C8 r$ |; T6 v* n) ^, Y& _6 g( _
  1090. odbc.defaultlrl = 4096
    : F, J! f: [2 j5 f) _
  1091. % G1 p( @' u$ W
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.3 L  z2 d# h9 G) U% v+ E4 j% N9 V
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 x. P4 C) n' M6 N: d' d
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode6 {: ]+ ]3 y# O: s9 i* j' ~
  1095. ; http://php.net/odbc.defaultbinmode1 U3 q: K. u" E
  1096. odbc.defaultbinmode = 1
    + b  w0 e0 W' L% j; }% b7 B' f

  1097. : \( x, t7 c! o7 X1 Q  r* p* I
  1098. ;birdstep.max_links = -12 U' e/ j7 i1 m8 x  Z2 `# [

  1099. - M0 Y; W8 Y0 M( c
  1100. [Interbase]
    ' S9 Y. S" j# D$ k  N
  1101. ; Allow or prevent persistent links.
    ( h. Y! C* C, ~2 q1 ]. s( K
  1102. ibase.allow_persistent = 1# `& b! X0 _. \

  1103.   ]8 T7 A# p( B/ `' s9 E" T
  1104. ; Maximum number of persistent links.  -1 means no limit.
    1 g; a  c# j) R& X1 ]. a) J
  1105. ibase.max_persistent = -1
    8 H9 ?, O* }5 a

  1106. 8 d" J. Y0 ~4 _. Z0 `& Q) m) t) V6 N* D
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # _/ c: r0 U+ i
  1108. ibase.max_links = -1
    . u+ G* t0 |$ J) l1 a  w" X' F9 {% G
  1109.   J8 t" o, c+ v7 ^/ n
  1110. ; Default database name for ibase_connect().- M7 T. t2 T) Q3 U, z7 n
  1111. ;ibase.default_db =+ z1 Y5 _+ {7 o) N
  1112. 3 X" |" A% \, X
  1113. ; Default username for ibase_connect().0 f1 _9 t% v3 t+ V8 W
  1114. ;ibase.default_user =
    . {" L. S1 j, J2 z! P0 i

  1115. & h) T  }, k$ J: T% x
  1116. ; Default password for ibase_connect().; _5 G3 _" w" Y4 d+ m
  1117. ;ibase.default_password =/ }4 Q3 n# w& e& P
  1118. ( |7 g$ ?4 B6 C$ m- h6 `/ t
  1119. ; Default charset for ibase_connect().
    ; Z. q9 d1 l$ c9 q% O% w3 V
  1120. ;ibase.default_charset =
    & S9 ?' E  h2 K* p) N% U1 z
  1121. / @9 g9 z: B/ J
  1122. ; Default timestamp format.
    7 o: X- @, P0 {! J9 H$ ~
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    + ^+ j  k7 j% H( _. b

  1124. % v: h  L" F9 N7 q* \. d; Q
  1125. ; Default date format.
    # ^8 \8 h( x+ e, r2 y
  1126. ibase.dateformat = "%Y-%m-%d": Y5 t1 s! h4 `/ F# B. s0 r9 M
  1127. ; A' ^) J% ^! h: \/ h; Z) p0 L" R
  1128. ; Default time format.! x0 s1 d9 Q& S0 y
  1129. ibase.timeformat = "%H:%M:%S"1 R) b; W$ [' `! s

  1130. # r7 i' Y; [4 o% ~( J
  1131. [MySQL]( D' U: `/ M" r1 |8 f! m2 g
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . g. `( D4 h* u/ f, F  u1 K
  1133. ; http://php.net/mysql.allow_local_infile9 t2 p* S1 J) X7 J, r# M9 I9 @
  1134. mysql.allow_local_infile = On. P/ S$ |* f# `! U
  1135. / C+ [/ \; G% E  M
  1136. ; Allow or prevent persistent links.! Q% P4 K; j6 O9 [
  1137. ; http://php.net/mysql.allow-persistent- A: i6 n$ {- A. n
  1138. mysql.allow_persistent = On
    , c7 {  B) {& Q8 o% Y, e9 J- B

  1139. ; p2 R. _7 G6 d2 h* D
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % F, }: ?; g% s& q- T
  1141. ; http://php.net/mysql.cache_size
      C# K) C" P$ P/ n8 i- o) [. |# ^. x
  1142. mysql.cache_size = 2000" U* V: |7 G4 X7 i$ J9 F) l: l' e
  1143. 4 F, U3 ]7 \" ]( i* O+ h  K
  1144. ; Maximum number of persistent links.  -1 means no limit.0 b: Q' Q2 ~+ A/ U/ `; v
  1145. ; http://php.net/mysql.max-persistent1 J2 i3 j% J7 r; L" T( t) g, R$ @& i
  1146. mysql.max_persistent = -1
    ( T7 A; Q0 k1 }; `0 _" l) a
  1147. ' n* Q0 z4 a! S$ b4 h
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : J/ j3 P- C6 M
  1149. ; http://php.net/mysql.max-links6 e% b' m8 w7 q' T
  1150. mysql.max_links = -15 u& f0 @: ?, A3 v
  1151. 1 L4 `* U( _8 q; N! W/ p
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    1 k; L; @# X0 u$ j, g
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ a# y; t3 N. t) N2 _7 `1 [# c+ Z6 \: z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ I2 W- C" }5 C! e* l2 i5 ^
  1155. ; at MYSQL_PORT.2 x2 ~$ k7 W! E1 ]6 l
  1156. ; http://php.net/mysql.default-port( M9 c+ Q# o1 Q# M/ x
  1157. mysql.default_port =
    1 p( v8 P, Z* \- S" {- [3 j$ r

  1158. ' U$ h* X2 ~1 {4 X
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * d% k9 l# {  p9 J, C: y4 s
  1160. ; MySQL defaults.. N8 A& L7 V5 v0 b
  1161. ; http://php.net/mysql.default-socket% x9 q' h3 H- A7 v9 _7 |& p
  1162. mysql.default_socket =: v0 y7 Z& N* f# k& A
  1163. : _* i6 Y. ]1 K/ b# g0 ]
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ) ^' }, p& P1 r7 a. v
  1165. ; http://php.net/mysql.default-host
      X8 M& I6 B5 [+ k8 H/ d% |( b9 t: S
  1166. mysql.default_host =; c) {# Z% I( S/ d( g) h

  1167. 9 r6 P- X4 o9 [' T8 d
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    : `4 ]9 s; O+ ]
  1169. ; http://php.net/mysql.default-user2 y! u7 D& u0 s) W. X
  1170. mysql.default_user =  O2 S6 K2 m( H! }! D" S

  1171. 9 k" ]" T( X$ E  G/ h) o4 H
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    9 A. @1 T  V- e
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    * V; Z, M8 n7 Q6 C  |( u! Q3 M
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    " n* ?/ j- W5 R/ U
  1175. ; and reveal this password!  And of course, any users with read access to this. C  @" r& L4 x/ C- s0 X
  1176. ; file will be able to reveal the password as well.
    . j# k1 D" H( E3 E6 R
  1177. ; http://php.net/mysql.default-password
    5 ]2 K1 A+ S' t) @  \6 u- j
  1178. mysql.default_password =
    * R# ]7 w, Z" H3 @. `3 @/ B
  1179. 4 n1 k: V+ _) q
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    $ a( Y& B: J+ }" f8 k7 M6 t6 n
  1181. ; http://php.net/mysql.connect-timeout; H# l( T) ~$ l
  1182. mysql.connect_timeout = 60; I" h5 |- c" R; m5 M0 `3 I9 ?' G( a. Q

  1183. 6 v  P; e7 p+ e4 S3 C
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and. M) ?9 N/ v; g: _/ u
  1185. ; SQL-Errors will be displayed.2 I. D  E( p/ o- A% ^
  1186. ; http://php.net/mysql.trace-mode
    / G3 H" _: G  Y; h! D7 d: w
  1187. mysql.trace_mode = Off
    ; ?- x/ Z( R0 v* `; o3 b  J
  1188. % B# b. o, U* j( ?) a
  1189. [MySQLi]; X& B6 S6 y( X+ e5 j

  1190. ' S. D  L. ~5 T/ f
  1191. ; Maximum number of persistent links.  -1 means no limit./ {6 y* i( p5 a  n
  1192. ; http://php.net/mysqli.max-persistent: T" y" P2 Q6 ]$ Q  {" b' W
  1193. mysqli.max_persistent = -1
      n4 x( E5 L0 D- M5 z
  1194. " c9 r" p8 O& ~# U! o
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 J/ g+ e  l. v  {
  1196. ; http://php.net/mysqli.allow_local_infile+ v+ t( Y7 y9 S. G+ P/ i- ?
  1197. ;mysqli.allow_local_infile = On! q) s1 m) x2 w# [8 E% l. D& S9 @

  1198. , \+ v* T  h& @6 K3 N' V
  1199. ; Allow or prevent persistent links.& O7 V" Q6 ~* m; V$ G) o
  1200. ; http://php.net/mysqli.allow-persistent1 a, c1 U, q  w1 I3 W+ }9 I- a
  1201. mysqli.allow_persistent = On
    ; m3 L8 j5 Y- y
  1202. ! r8 y% X6 C; g+ B
  1203. ; Maximum number of links.  -1 means no limit.7 e; h1 e$ E4 m4 C( V
  1204. ; http://php.net/mysqli.max-links* F: J& l' R: k. }. R" s8 x/ m
  1205. mysqli.max_links = -1/ K% Y! ~3 `9 K. f5 v; w+ e& T9 K

  1206. * i* u( r+ D" o9 O& q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , c( ]+ j1 b9 i' z( r9 e
  1208. ; http://php.net/mysqli.cache_size7 H! Y/ V6 l- [  ^( m/ u% G
  1209. mysqli.cache_size = 2000" `3 w/ m+ w! ]
  1210. # M5 r! M4 {5 V7 H; X. `
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    9 r/ f" q+ J9 A* T/ b% }) k; \
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    , b, v1 S% b0 f1 L. M( M
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    3 j. S# ~& u3 t; n" e; l
  1214. ; at MYSQL_PORT.
    1 k. ?  ~# f; b+ B
  1215. ; http://php.net/mysqli.default-port
    % P  w6 D' J% j# u+ I
  1216. mysqli.default_port = 3306% i% ~+ R6 T# p. _. p0 X# \: h
  1217. , Z7 d! a9 V, b; N' Q9 t
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 E! a0 @  C- p0 i
  1219. ; MySQL defaults.
    % h: @4 Z0 W, w5 r$ ?. |5 r8 v
  1220. ; http://php.net/mysqli.default-socket2 ^8 ]4 ]+ m. o" y' \; k. |
  1221. mysqli.default_socket =* }+ w; |- Z9 ~7 V) f9 r9 O* Z) Q
  1222. 5 d  s# C; F0 ^8 k) W: m4 Q! x" n
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).1 m2 ~/ K+ A* v" v/ u7 ]/ ^& t
  1224. ; http://php.net/mysqli.default-host3 m2 c. W+ w7 N) r$ i: a
  1225. mysqli.default_host =- L( d/ g7 h: q. M! r2 S8 L5 _

  1226. 6 A6 w! p" [( D3 D5 R
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 @& n, m) k+ C. p4 ^
  1228. ; http://php.net/mysqli.default-user
    1 b# H, y( T0 h. f4 Z
  1229. mysqli.default_user =/ \' M; s( X: `$ _

  1230. 1 ~% k  i: B, W# }+ ]& @. r9 L
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " J/ Z; t5 U; D% U; d# L. p
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    0 Z/ d( n- L% k. [
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")$ D, m* W7 v! b+ F" Q
  1234. ; and reveal this password!  And of course, any users with read access to this
    ; l$ b1 S* v9 R
  1235. ; file will be able to reveal the password as well.% p7 G% Q. B2 F- E, u
  1236. ; http://php.net/mysqli.default-pw7 h6 c2 g0 r& V! s( p
  1237. mysqli.default_pw =
    3 c5 _; v6 T, H$ D1 g3 W
  1238. 3 n3 {  s- G- D7 @7 ^
  1239. ; Allow or prevent reconnect
    0 ]  H; e# T% _
  1240. mysqli.reconnect = Off
    4 J8 x6 K8 C. `8 B" u2 u
  1241. 7 ~" t' p; A3 ]2 S# d% [- O
  1242. [mysqlnd]4 H% n2 l: g9 g( p* q
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    0 Z7 v( q* C+ L
  1244. ; used to tune and monitor MySQL operations.
    2 O0 y- p& o1 v3 P4 ]
  1245. ; http://php.net/mysqlnd.collect_statistics
    2 x: p5 `; E& G( ^" D% c
  1246. mysqlnd.collect_statistics = On
    3 X- C0 I3 O% |4 m6 w  |

  1247. ! {* N5 X1 B2 q% T, V
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 Z# ~- T5 C! F/ F; v( y2 q8 [
  1249. ; used to tune and monitor MySQL operations.* \: W/ w" i( |2 x2 k" O
  1250. ; http://php.net/mysqlnd.collect_memory_statistics9 U% W. n5 @( f3 e/ `6 t0 ]* S6 K* c
  1251. mysqlnd.collect_memory_statistics = Off
    ( P4 u6 B* U8 w9 T  N

  1252. 2 v5 P: P0 M8 y0 T9 u" p
  1253. ; Records communication from all extensions using mysqlnd to the specified log3 k; ^, N$ ]4 K: N( S. Y
  1254. ; file.
    8 B; h/ n. M; a0 z
  1255. ; http://php.net/mysqlnd.debug
    $ _! m( z8 H$ v" m
  1256. ;mysqlnd.debug =0 Z- C2 B: Q  n# P8 c) x
  1257. - m. I5 L( R" [. S
  1258. ; Defines which queries will be logged./ C' o1 R3 m( a
  1259. ; http://php.net/mysqlnd.log_mask2 N! m: D' t  `6 [) v
  1260. ;mysqlnd.log_mask = 0
    : N; O. x8 g) U* F( w
  1261. / C  N, `- |' _9 \8 a
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 h% ^& ~4 s3 ~% ~0 Y7 }) Y
  1263. ; http://php.net/mysqlnd.mempool_default_size6 n- i6 A6 ^' S* l: F/ y- S  G  e
  1264. ;mysqlnd.mempool_default_size = 16000; k: C8 l. L. f5 U7 P  x( G( O
  1265. 4 o( l; j) k2 N# w  C+ v
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.1 N- w3 h& T, n: _% t. ?
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size  Y- s5 K+ c# {
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    : \- A! u! @' K/ C9 W

  1269. ) Z) f# a, ?6 j1 v1 N& a2 U
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in9 h) A+ f1 G* ~4 P
  1271. ; bytes.
    ; {# B/ W0 `% e0 P
  1272. ; http://php.net/mysqlnd.net_read_buffer_size, k- E5 P& ?3 Q5 ]$ ^
  1273. ;mysqlnd.net_read_buffer_size = 327689 C% t+ w% m: X( w; @3 F

  1274. " b1 B* y5 l! K. g6 Z
  1275. ; Timeout for network requests in seconds.
    : F5 s6 B+ `# I
  1276. ; http://php.net/mysqlnd.net_read_timeout
    8 o6 z6 @& k% L% a
  1277. ;mysqlnd.net_read_timeout = 31536000
    6 W* d( U1 }2 E# g$ t* }3 e
  1278. * m$ Q! {) a( P. P7 M; i3 l# Y
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA" g' {5 V9 u. c1 l9 q/ h2 r
  1280. ; key.; Z$ _% E0 u9 [1 ]* i( }
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    6 m, b0 I4 y3 Y: k/ U
  1282. ;mysqlnd.sha256_server_public_key =
    ' }& a# V" `0 |3 u
  1283. ) @* r- }7 A$ R' u
  1284. [OCI8]# e' ?  H+ |) B" o: J' T+ X) h
  1285. 4 a- X( N& [9 Y3 R( @6 y  @
  1286. ; Connection: Enables privileged connections using external
    8 D% C3 h; e. ^0 S8 J0 r
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    8 h. t- p0 k8 l. V4 c- u
  1288. ; http://php.net/oci8.privileged-connect1 S# _( f1 I) ]' t! K, s
  1289. ;oci8.privileged_connect = Off
    . k: |% Q: T3 G$ t) s

  1290. 8 z+ C/ e) @9 U) }0 l$ o' z, X
  1291. ; Connection: The maximum number of persistent OCI8 connections per: S8 K) Y/ j, Z4 \! l" n
  1292. ; process. Using -1 means no limit.
    7 J  V, V( p6 \- _
  1293. ; http://php.net/oci8.max-persistent+ q% [! Y+ ?5 F) m' T/ f- c5 B
  1294. ;oci8.max_persistent = -11 Y) G5 g0 l; b& k' D4 q8 f0 w/ }
  1295. . G. H9 }! b9 `. H; R5 D
  1296. ; Connection: The maximum number of seconds a process is allowed to) y  {! U5 f2 k  F) g
  1297. ; maintain an idle persistent connection. Using -1 means idle. ~7 ?$ m& m# h6 k8 i; \# _: ~+ f2 U
  1298. ; persistent connections will be maintained forever.4 e& ^7 X; v. p2 W5 i! q
  1299. ; http://php.net/oci8.persistent-timeout3 j! V# z, L2 j3 N/ D$ i
  1300. ;oci8.persistent_timeout = -1: a! R/ A1 o7 [+ N# p! c  k
  1301. 3 z5 F9 i, v  h$ C
  1302. ; Connection: The number of seconds that must pass before issuing a
    ) y" R# V+ M. E0 I  e, Z- Q
  1303. ; ping during oci_pconnect() to check the connection validity. When
    & _( \- x6 ?. }1 H
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 U3 d! s% ]  X  M5 T* ~: f2 l0 f7 o
  1305. ; pings completely.6 K6 V7 Y4 J: T8 O) n* P
  1306. ; http://php.net/oci8.ping-interval( f. M# ]4 x* u& a
  1307. ;oci8.ping_interval = 605 m# C+ m2 ]- s3 J8 T" q1 T
  1308. ! K% s, b6 j8 d. X1 v, d
  1309. ; Connection: Set this to a user chosen connection class to be used9 @) s0 X+ Q6 P. v
  1310. ; for all pooled server requests with Oracle 11g Database Resident# D* u: k7 {9 V1 ~
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to( _4 b4 r. @) x8 b5 C
  1312. ; the same string for all web servers running the same application,4 R0 B0 r7 \0 D- |0 E3 ]
  1313. ; the database pool must be configured, and the connection string must
    % j5 G* L$ P0 U4 k% T% E
  1314. ; specify to use a pooled server.
    8 i4 a1 S5 Q, B. p( F1 c
  1315. ;oci8.connection_class =0 x! l% `5 s4 J( X# {, Q# ]

  1316. 4 ]( R) N# Z1 E
  1317. ; High Availability: Using On lets PHP receive Fast Application6 L! ]& [* Y$ R( j
  1318. ; Notification (FAN) events generated when a database node fails. The
    1 Q; z8 W) a! F" I
  1319. ; database must also be configured to post FAN events.
    ! f* h  a8 R5 v+ R; N% `( V6 a
  1320. ;oci8.events = Off4 i  \! d5 J- a8 S5 Z
  1321. 0 W. Y8 w# x/ P! z, ], `
  1322. ; Tuning: This option enables statement caching, and specifies how
    . ]3 i9 u6 `$ d4 G$ s
  1323. ; many statements to cache. Using 0 disables statement caching.& E, z' W! b" J0 ]" \1 W$ y( {
  1324. ; http://php.net/oci8.statement-cache-size% S6 N! T4 N  I/ v( a
  1325. ;oci8.statement_cache_size = 20
    % k/ w& s( t" D7 n- B( ^5 w
  1326. ! @+ N* q3 R! m2 @/ p( V
  1327. ; Tuning: Enables statement prefetching and sets the default number of6 r# U  y; l' I/ g3 j* E
  1328. ; rows that will be fetched automatically after statement execution.2 D6 _5 @" C# }# `8 x
  1329. ; http://php.net/oci8.default-prefetch- M' H) a; S# W: F7 d
  1330. ;oci8.default_prefetch = 1009 U5 s, n' v; Q- G& z
  1331. ; l9 |! v) Y. n; \
  1332. ; Compatibility. Using On means oci_close() will not close6 T8 S6 d" J# g
  1333. ; oci_connect() and oci_new_connect() connections.' N" f/ b; q( k3 a; r
  1334. ; http://php.net/oci8.old-oci-close-semantics, }' A0 Q7 z9 a$ G# A6 u
  1335. ;oci8.old_oci_close_semantics = Off8 A5 @$ P2 p. L) K# s, _8 Z
  1336. 5 e* g4 E+ J1 z9 B% S0 y! ?! ]9 F
  1337. [PostgreSQL]3 H2 b% s# A& p8 y# |2 b( Z$ s
  1338. ; Allow or prevent persistent links.
    / A6 Z" q) B/ Y
  1339. ; http://php.net/pgsql.allow-persistent3 T; l  f/ s. A% D- P2 s* v, z
  1340. pgsql.allow_persistent = On% J7 O$ ]) ~' G1 Q  F. k. {0 U: u

  1341. 6 ?" [7 V: S+ c
  1342. ; Detect broken persistent links always with pg_pconnect().
    " M' n  c1 @; r- y
  1343. ; Auto reset feature requires a little overheads.
    + e6 u5 y0 e1 S. C9 L
  1344. ; http://php.net/pgsql.auto-reset-persistent1 t4 ]0 C. ^  Q: l5 }
  1345. pgsql.auto_reset_persistent = Off
    * d# ~, a* r. X9 \
  1346. - W) `" o- I8 N& W: F8 f
  1347. ; Maximum number of persistent links.  -1 means no limit.
    5 D$ t1 O# h4 S# j
  1348. ; http://php.net/pgsql.max-persistent
    5 B+ D  T; z3 S  r! ?5 @
  1349. pgsql.max_persistent = -1
    # z0 L" \; I! T9 T9 |0 h& u9 E

  1350. 1 b3 ~3 |4 ?8 ]* O- E* K0 ?
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.. b7 R5 U! b  z
  1352. ; http://php.net/pgsql.max-links! ~" K; [) ~5 T6 B. k
  1353. pgsql.max_links = -1
    ' a. i+ i" @. R1 T2 M1 U; B& k2 H

  1354. 7 N: c- l5 L: ?3 O* d
  1355. ; Ignore PostgreSQL backends Notice message or not.* V% O. k, f/ W& _4 |
  1356. ; Notice message logging require a little overheads.
    8 C0 a5 k5 C1 W9 S
  1357. ; http://php.net/pgsql.ignore-notice2 U: x' ~4 ~( t0 w. r  n
  1358. pgsql.ignore_notice = 04 M5 u' H, P  C! Y+ q4 j
  1359. 3 F# C6 n# B% t2 F, _: g0 y; A4 |
  1360. ; Log PostgreSQL backends Notice message or not." h( D% X  Q5 @7 {' Z
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.+ o2 y2 N. u+ ~: d
  1362. ; http://php.net/pgsql.log-notice
    % Y; G( g' M/ e8 m7 V
  1363. pgsql.log_notice = 0  B; W! K7 j0 Y5 P. c" S. ?& S2 I

  1364. . |* ]& ^& ]5 F5 Q+ G3 q# G+ P
  1365. [Sybase-CT]; Z+ r, z+ e5 H! r. p
  1366. ; Allow or prevent persistent links.% N% Y; I0 k7 x% T0 F) f7 z: ?: l
  1367. ; http://php.net/sybct.allow-persistent0 e6 o& F6 S8 J
  1368. sybct.allow_persistent = On
    3 f, n. P$ i7 A6 i; I2 }% R1 k& O$ W
  1369. % F; F/ k; s* Y% V
  1370. ; Maximum number of persistent links.  -1 means no limit.
    9 \7 d6 {& |* j4 {
  1371. ; http://php.net/sybct.max-persistent. I* r, {; R5 G3 \' T- v5 o
  1372. sybct.max_persistent = -1# U( U0 z5 }3 I
  1373. . W( r5 k2 f: L6 y
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ ^/ t8 l% x7 ~, o% k1 t, G# N+ C
  1375. ; http://php.net/sybct.max-links
    0 d& O& [1 `) P. b
  1376. sybct.max_links = -1
      q4 t) Z) w4 X( i8 p  ?. q) N
  1377. - C8 r/ d2 s, n
  1378. ; Minimum server message severity to display.9 K5 u2 H+ g2 P* [
  1379. ; http://php.net/sybct.min-server-severity
    & I' Y5 ~, h# h" p3 `
  1380. sybct.min_server_severity = 104 x8 y0 O2 S/ ~$ u5 c2 ]

  1381. 6 z4 P8 y4 e0 e5 T0 O
  1382. ; Minimum client message severity to display.* \5 E2 W; g2 M% O4 p! ]) A
  1383. ; http://php.net/sybct.min-client-severity  N5 q: s* t) w! e$ \
  1384. sybct.min_client_severity = 10
    : O& Q4 c. d6 \( t9 u* R! X4 p( F; G

  1385. & Z5 Y) f% x" n4 _4 `, }
  1386. ; Set per-context timeout
    " D  k# I, y' C
  1387. ; http://php.net/sybct.timeout
    1 a8 n% d9 m6 Y% ^8 ]: M
  1388. ;sybct.timeout=) _# `$ ?, A; z- x6 o" s

  1389. + I# M# q& d2 j7 q$ X  Q9 Z1 P/ X
  1390. ;sybct.packet_size
    5 I0 L% b+ V6 y/ [
  1391. 6 L3 a  B- \5 {$ _
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.4 Q, v5 D$ e4 {4 u9 a
  1393. ; Default: one minute
    9 Z3 {* g! l$ \8 O2 j* a
  1394. ;sybct.login_timeout=
    . R' U; E- h2 g4 r' _+ f
  1395. # P' i3 K5 c4 Q9 @7 G( m
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.7 T* ~7 R5 h$ e$ |0 h
  1397. ; Default: none
    : w+ O. _! j2 Q' d6 W. x+ x( A
  1398. ;sybct.hostname=( M# }9 X; L  K% @
  1399. 5 S+ e+ p0 d0 Y
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    4 \' F; V$ l3 t8 d, U" x
  1401. ; Default: 0# O# x4 |( {1 X* j+ S
  1402. ;sybct.deadlock_retry_count=. O8 W# E$ D# q8 b6 k
  1403. # d  j: O  \; X* E9 a' w
  1404. [bcmath]
    2 M) [5 P9 T- x; ~
  1405. ; Number of decimal digits for all bcmath functions.( S" v; h+ |7 q; ?9 C8 T
  1406. ; http://php.net/bcmath.scale
      n5 C# F7 |2 k1 i! H" Z+ Y8 a
  1407. bcmath.scale = 0+ z$ ]7 \5 {! B' `' ~

  1408. # l) g4 h, r$ W+ I
  1409. [browscap]
      O# H1 ~$ @9 O' |0 T
  1410. ; http://php.net/browscap
    9 n5 f' V/ a* U& |) b8 E8 j, O$ s
  1411. ;browscap = extra/browscap.ini1 X9 i4 v0 Y0 A2 K
  1412. ( {8 m* @6 |+ l7 ]( {, t
  1413. [Session]) u( N8 [" j+ W9 l
  1414. ; Handler used to store/retrieve data.- Y5 c* [  U; ]( I1 C
  1415. ; http://php.net/session.save-handler
    " Q1 f9 C. }, u) @' d0 c4 W
  1416. session.save_handler = files
      I1 T8 ?3 n+ S& ]% n' H) a

  1417. 1 Q+ H& d  n/ K2 n5 h% U
  1418. ; Argument passed to save_handler.  In the case of files, this is the path, w, J3 c& \2 A' O
  1419. ; where data files are stored. Note: Windows users have to change this
    : I+ r5 l# t' [% y4 g% \* O( e+ |
  1420. ; variable in order to use PHP's session functions.2 s. ~) |6 O1 Y* x/ l' c
  1421. ;% c3 Z6 M' k8 D5 e% B
  1422. ; The path can be defined as:5 [' W5 ~/ F/ E% ?# b* _7 t0 P
  1423. ;& }1 @$ b4 a0 {. j
  1424. ;     session.save_path = "N;/path"5 r" ]+ v( x( i# ]
  1425. ;( b) {+ s- q2 T6 O: a/ W' j  E
  1426. ; where N is an integer.  Instead of storing all the session files in+ E! S  T! c, s  ]3 Y
  1427. ; /path, what this will do is use subdirectories N-levels deep, and, R" }7 d; y& X9 z( P" z6 b7 M
  1428. ; store the session data in those directories.  This is useful if
    6 a& V7 m  X, v- X
  1429. ; your OS has problems with many files in one directory, and is8 t8 q+ O# N$ O( U8 H
  1430. ; a more efficient layout for servers that handle many sessions.7 |9 K# p6 t0 a& K2 l
  1431. ;4 {/ M" h+ r. L1 v
  1432. ; NOTE 1: PHP will not create this directory structure automatically.& Q; [1 D9 L  M" x6 D
  1433. ;         You can use the script in the ext/session dir for that purpose.
    1 N5 M7 J" G7 f* I2 F* U, z
  1434. ; NOTE 2: See the section on garbage collection below if you choose to$ u) }, m, P, e* h* v
  1435. ;         use subdirectories for session storage
    & R" Z8 l1 }4 b- Y" p
  1436. ;0 ^* I/ ^9 F$ ?% {4 ?- ?% g& O
  1437. ; The file storage module creates files using mode 600 by default.
    3 j- y. k4 \* J& g3 r
  1438. ; You can change that by using1 m" ?/ D) W, G8 n( e
  1439. ;
    , [3 N# q' g' Z9 ]- e
  1440. ;     session.save_path = "N;MODE;/path"
    4 H: u3 Q/ v2 u% h7 B: p) R
  1441. ;
    " a% c& Q& r( o. B
  1442. ; where MODE is the octal representation of the mode. Note that this$ O( H% {# t3 y/ ~) L" X- ^6 o
  1443. ; does not overwrite the process's umask.
    $ U# U  U3 P- L8 P
  1444. ; http://php.net/session.save-path
    ! H0 c0 Y- A( x0 n8 G9 k1 m
  1445. ;session.save_path = "/tmp"
    : U( x3 _6 t& x

  1446. ) L/ D. G! f! ~
  1447. ; Whether to use strict session mode.
    5 s" N: \3 m$ H4 N" s, k9 j
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    : K3 D$ L5 c4 ~/ e: B
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    8 z" q& h* D6 \2 b) F' b9 Y
  1450. ; applications from session fixation via session adoption vulnerability. It is
    . G: ]: d" l  p6 C- T9 k' P6 S5 `
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) d  y8 A% a' i+ j6 v! P
  1452. ; https://wiki.php.net/rfc/strict_sessions) S" V3 d- M0 L$ T% w7 X0 ]
  1453. session.use_strict_mode = 0& q0 y/ [* [. |+ r, W0 ~/ M3 h/ R' P' d( B

  1454. 3 p; k- L% o( V- F# L9 N
  1455. ; Whether to use cookies.
    . g+ I" z5 k, ~! o
  1456. ; http://php.net/session.use-cookies* `( @0 X4 S# q7 T) g& y3 o# a
  1457. session.use_cookies = 1/ r$ g' P: |* }8 i$ d

  1458. 6 k  y! J- ]( P9 o& Q
  1459. ; http://php.net/session.cookie-secure) W; Z! t/ e" X/ c2 G2 f3 I0 ~
  1460. ;session.cookie_secure =
    + s/ T" X) X, G+ ^. N! t% C) J' ^
  1461.   N) v& A* P; Q7 O0 P
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # F) \" a9 o  N: P9 {5 q
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    + `) Y0 _) R& }4 j/ s
  1464. ; session hijacking when not specifying and managing your own session id. It is2 N: C' P6 t- u2 l" k7 O" \9 y
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 T: n* k+ `5 e& u0 O, \" v. R
  1466. ; http://php.net/session.use-only-cookies
    9 }+ \" C! n! ?8 g3 H6 o
  1467. session.use_only_cookies = 1
    , B) Z9 l4 S( n

  1468. 1 ?; V' e- m9 R5 @4 |6 \/ f' k. Y
  1469. ; Name of the session (used as cookie name).
    # ~. C  @7 _7 m, ?9 s: {$ v
  1470. ; http://php.net/session.name! i0 H2 r8 ?, ?0 p
  1471. session.name = PHPSESSID
    1 b+ e+ q& l) ~/ t0 H& Y' i
  1472. 3 X  M' N) u/ {. B8 o/ a6 O
  1473. ; Initialize session on request startup.( K- w  W) G. v8 B2 G3 z5 O
  1474. ; http://php.net/session.auto-start! f! `& b  T: i
  1475. session.auto_start = 0
    9 U9 W, d: Z0 l" [! j5 J
  1476. 5 C2 i) j3 n  b5 J7 R  f
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.; ~, u2 h! P7 w0 U9 M- v
  1478. ; http://php.net/session.cookie-lifetime& R( _2 m" d/ P) [, M
  1479. session.cookie_lifetime = 0
    ! b( v4 x$ F, Z7 ]
  1480. $ {9 Y4 W" |) B2 g: g' c  g
  1481. ; The path for which the cookie is valid.) J# u% \3 a3 T4 M/ P- x! {. t
  1482. ; http://php.net/session.cookie-path# |8 B" \7 j: X- _& f
  1483. session.cookie_path = /
    8 Q( a* W  r4 y( p

  1484. - l- v: W* i  M" t/ K- H
  1485. ; The domain for which the cookie is valid.
    : o3 e: l% M5 h7 C2 z" c
  1486. ; http://php.net/session.cookie-domain
    2 V% s: |: [: Z3 ^/ Y& p
  1487. session.cookie_domain =4 T) P, m  h6 I. ]* s

  1488. * a  R: J2 P6 l
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.: ?) i. a1 U- @4 V/ h
  1490. ; http://php.net/session.cookie-httponly$ B+ j6 @* ?1 X" a# L& r
  1491. session.cookie_httponly =: T8 P3 t0 q, ^6 n- i

  1492. 0 [7 q! y. I! m6 S. e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # R' @. v9 D6 ]% J. t. c( D
  1494. ; http://php.net/session.serialize-handler% s0 m1 E6 V2 \# s# m, U0 {, I  R
  1495. session.serialize_handler = php4 y; I  O* J/ k' W* w5 P: Z) K
  1496. 9 C/ w7 v; P' c- D
  1497. ; Defines the probability that the 'garbage collection' process is started& A, Y' j) Y! b8 z
  1498. ; on every session initialization. The probability is calculated by using
    5 N+ d1 c9 J1 E2 p; _; [: \
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator$ o8 q4 |: ]* Y6 n  g6 j* C. j
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1" M0 r& K0 T* ^5 u+ q% ~  M
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 E; U, h" g6 i+ K
  1502. ; the gc will run on any give request.
    - y6 w6 T6 g9 e" D! S2 @$ f! q* f
  1503. ; Default Value: 10 }& V$ {# e3 {) b
  1504. ; Development Value: 16 h" q0 l2 z8 r' F1 W
  1505. ; Production Value: 1
    2 Y, I2 S+ L% S
  1506. ; http://php.net/session.gc-probability
    ' _2 [( h8 C& F% I/ v) i
  1507. session.gc_probability = 1; W! {) q- i) s( z& L

  1508. : _( x6 s. u) g0 \4 A' Y. R/ c$ y
  1509. ; Defines the probability that the 'garbage collection' process is started on every. H) B: k  W* c7 Z  d
  1510. ; session initialization. The probability is calculated by using the following equation:* ^6 i# q, H( y, S. |7 Y
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - _* I+ B0 S% F9 E# G+ s
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1$ W- M" G' }# A8 R4 S$ [8 E
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; Z9 s8 |8 J; \9 I* @( R
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 \8 V0 Y8 R- Z1 X) x" Z" _
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    8 }) N1 `7 T: R5 ^' R" a# E
  1516. ; this is a more efficient approach.
    & X2 b9 H/ C6 r8 j. m  n+ S
  1517. ; Default Value: 100
    % e7 P6 Z* K$ B0 d9 o( S2 \
  1518. ; Development Value: 1000
    2 h1 p( \8 M6 |" T  a" k9 m
  1519. ; Production Value: 10004 w7 x9 s' L. i$ f1 u# _
  1520. ; http://php.net/session.gc-divisor
    5 N2 M/ {- {4 W  |9 J
  1521. session.gc_divisor = 1000: Y0 E. m: l0 X; N

  1522. ( y$ l# `$ n% R9 S2 f  B
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    " D/ T# K$ G" E
  1524. ; cleaned up by the garbage collection process.
    ; Q* d7 r) T5 P! f8 F8 N1 E
  1525. ; http://php.net/session.gc-maxlifetime
    ' g5 a+ ^' i- F4 s( j
  1526. session.gc_maxlifetime = 1440
    8 G1 w6 P4 s( G8 |8 b7 e/ R
  1527. / Z+ a) ?, X( O, x0 c- [
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ; |1 a- ~1 f' R4 n% D' _# ^
  1529. ;       (see session.save_path above), then garbage collection does *not*$ j8 j% }: y& J) v$ \
  1530. ;       happen automatically.  You will need to do your own garbage
    . l( d/ D  T, J: n) e$ c6 }
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 R6 |* [0 _  Z0 [+ J4 `+ H) i4 O: E
  1532. ;       For example, the following script would is the equivalent of
    * `5 m; u6 a8 G, x' e+ ^2 L
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):5 C# j$ E# Z1 M; s2 z5 i4 ?
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm: e1 l" L, W( X0 C; K8 I
  1535. $ d1 ~9 D8 i8 x3 e6 `) [% G
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ! V( ]$ }" p% T: M" k: H+ C
  1537. ; HTTP_REFERER has to contain this substring for the session to be- p% r1 e: B; C$ V0 q  o5 g0 e
  1538. ; considered as valid.; f4 k' v2 t5 I3 w1 X
  1539. ; http://php.net/session.referer-check
    * [5 p$ Z9 p( z5 e: D
  1540. session.referer_check =
    4 X/ z- Z( _9 F, a# p% ~6 j
  1541. 9 t3 [$ H* x/ [' r* c; b
  1542. ; How many bytes to read from the file.* O# H4 _" X% \
  1543. ; http://php.net/session.entropy-length& C; L3 B2 L$ o. F. K8 u: w8 m4 }' E
  1544. ;session.entropy_length = 32% {/ Z1 o3 ~3 a1 M+ w! V

  1545. $ E* G# R2 Y$ w& F, t' E
  1546. ; Specified here to create the session id.1 `0 N4 \1 c$ K
  1547. ; http://php.net/session.entropy-file: a& ?% ^) t, M: l7 h/ M3 F- i& T
  1548. ; Defaults to /dev/urandom
    5 x+ n, F9 H! E
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    : y7 w( J6 B, x2 E% h$ q
  1550. ; If neither are found at compile time, the default is no entropy file.
    4 R: d  u; a) X" g5 y$ c
  1551. ; On windows, setting the entropy_length setting will activate the0 Q' B/ {- Q! J
  1552. ; Windows random source (using the CryptoAPI)' X; k9 O  ^  Z
  1553. ;session.entropy_file = /dev/urandom3 W& l& o! Y! s' ^" p5 Q

  1554. ! w6 V( l8 j4 C1 H
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    8 ~1 \6 S! B3 ?6 ]* E; L
  1556. ; or leave this empty to avoid sending anti-caching headers.
    # j) a+ R( e9 s8 H% e
  1557. ; http://php.net/session.cache-limiter1 k$ y) ?+ X. W2 O
  1558. session.cache_limiter = nocache. u" T# N" Y0 K* h4 b

  1559. 7 ^% t1 i- A2 j% m  f1 f$ }
  1560. ; Document expires after n minutes.
    $ s; D6 c5 z, x# ]4 D" _, u1 v. R
  1561. ; http://php.net/session.cache-expire
    ) \' R# v. T4 @/ b8 p$ e
  1562. session.cache_expire = 180$ U0 j: r7 I2 N+ d( M5 P

  1563. , Y1 p$ s0 m/ y" H6 P
  1564. ; trans sid support is disabled by default.
    9 n% Q2 h7 ]- Y. I  a! i+ R7 e' |% k
  1565. ; Use of trans sid may risk your users' security.
    & l& b. U: r" z: {$ q4 q
  1566. ; Use this option with caution." a* W0 x9 u. a3 C
  1567. ; - User may send URL contains active session ID' D7 X2 |" x& ?5 C5 H
  1568. ;   to other person via. email/irc/etc.
    1 F4 s6 f5 F5 L% V. I+ f) d" ^
  1569. ; - URL that contains active session ID may be stored
    0 l2 l9 I' @) E6 T& @
  1570. ;   in publicly accessible computer.% |8 D4 N% r9 f3 B* J! x- O
  1571. ; - User may access your site with the same session ID
    & V8 ~8 _3 l7 |% j( J8 s
  1572. ;   always using URL stored in browser's history or bookmarks.$ M: D0 t- h, Q* c/ z6 W2 y
  1573. ; http://php.net/session.use-trans-sid/ w) c4 Z. F5 ~2 v$ F$ @, N+ Y/ @
  1574. session.use_trans_sid = 0
    ; o0 O" X* I! s0 b
  1575. 6 R% H' V6 i+ \
  1576. ; Select a hash function for use in generating session ids.
    7 ~3 r7 Z$ p" o& V9 L) s5 f, x
  1577. ; Possible Values! ~' c! n9 z% J4 p
  1578. ;   0  (MD5 128 bits)
    ! l) f# X  e5 q% I2 f2 H
  1579. ;   1  (SHA-1 160 bits)! V) O, L9 B: f3 A0 {/ o
  1580. ; This option may also be set to the name of any hash function supported by7 `& F1 M+ z  p; A$ X
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) h, f9 M  B- s( M: A0 _$ Y7 {0 b
  1582. ; function.9 I/ [; J/ T4 H8 ^' x
  1583. ; http://php.net/session.hash-function
    2 `  {- R2 `* s" v& ~
  1584. session.hash_function = 0! s6 s# `: h5 z* e! Y6 v) q
  1585. ' B3 w. R0 p* F+ l8 l
  1586. ; Define how many bits are stored in each character when converting2 O" n+ u' s# l7 Y. g
  1587. ; the binary hash data to something readable.* c# ^6 q% {4 m0 N
  1588. ; Possible values:6 u/ [& A, M/ N4 g; ]
  1589. ;   4  (4 bits: 0-9, a-f)" k' k- S0 Z! v! \; L
  1590. ;   5  (5 bits: 0-9, a-v)
    - @" e3 J, @3 l4 S* s; s: b9 ^
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")8 s# ~% b( p: {; d$ d7 n
  1592. ; Default Value: 4% i( B$ {6 m- Y6 o' D; e0 J# u
  1593. ; Development Value: 50 h! X  ?) G2 {' h1 j7 m/ X
  1594. ; Production Value: 5' s# p1 N( H1 A( B8 G# g3 K
  1595. ; http://php.net/session.hash-bits-per-character6 Q! x( r) R% q* N& C  |' P; I1 N
  1596. session.hash_bits_per_character = 53 [' a" s" W# `2 U; p8 W, Y5 Z8 [

  1597. % b+ F) Z8 G' r0 @
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! ^* ]& x$ U8 q6 ]: O$ I
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ! x- L1 _9 f/ i1 \
  1600. ; add a hidden <input> field with the info which is otherwise appended
      R& z% H! Q2 m$ G1 W
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 a$ S+ y3 l8 I% v* p3 V1 [
  1602. ; Note that all valid entries require a "=", even if no value follows.7 c3 Q* M) E; |/ K1 F; Y, X
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="" t( H- G: D4 V3 `
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ O, q' z3 V- ~  _9 Z( i
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . v5 s7 ?2 V  b
  1606. ; http://php.net/url-rewriter.tags
    : p* I2 Z) D# Z5 i9 f
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    % x( r3 x; Z  ?- |3 a" h+ K0 V" L
  1608. $ v: N6 _# O" Q% d3 o
  1609. ; Enable upload progress tracking in $_SESSION
    ) c) G( J# z# @6 Y7 n' z7 q
  1610. ; Default Value: On6 V& Z1 j" O) K- W1 |5 t
  1611. ; Development Value: On, G9 m+ u/ Z. @- z- o
  1612. ; Production Value: On
    - m/ H! \" {! w7 e
  1613. ; http://php.net/session.upload-progress.enabled
    8 G! T  T- R# X
  1614. ;session.upload_progress.enabled = On
    , ?. h% u7 I! B7 o% H4 z

  1615. 7 }( x8 c+ I. ?5 G
  1616. ; Cleanup the progress information as soon as all POST data has been read- o( u  _. O6 w, j3 w
  1617. ; (i.e. upload completed).
    6 @/ h% G. T# W1 b# ^9 b
  1618. ; Default Value: On' m( ], g! x* m# ^* \+ a
  1619. ; Development Value: On" W  j: t& }- A1 {4 ]2 n
  1620. ; Production Value: On
    8 F: E9 M7 t) r: r3 B+ o
  1621. ; http://php.net/session.upload-progress.cleanup
    4 x& l) c! A0 L: H* N- B
  1622. ;session.upload_progress.cleanup = On$ D; v0 j2 x( i; X7 {' U
  1623. # _" s/ v' w  X" V* m
  1624. ; A prefix used for the upload progress key in $_SESSION
    + l0 P2 a+ a9 F3 J
  1625. ; Default Value: "upload_progress_"
    ' X, `: B# A, X1 o7 O) E
  1626. ; Development Value: "upload_progress_"& Y# h! q1 g# X9 k/ G2 ?0 D
  1627. ; Production Value: "upload_progress_"& Q) q, S0 \# M( M
  1628. ; http://php.net/session.upload-progress.prefix
    / }/ ~, v' O: C+ V
  1629. ;session.upload_progress.prefix = "upload_progress_"
    1 c1 o3 P5 J7 b* ]  ~9 L

  1630. ) ?+ \7 t! i; p# l
  1631. ; The index name (concatenated with the prefix) in $_SESSION( l. A! `3 O/ Q* F( e0 J3 K6 h. Z7 ^
  1632. ; containing the upload progress information% B4 Z$ [0 Y# x1 @* A
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # _. h" [$ p$ P& S% d8 i  b
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"  e; `; _) r, D
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / k  j8 B6 w( Y! l& K+ G
  1636. ; http://php.net/session.upload-progress.name
    # Z' D+ X, X  L! M, d# e' o
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; D- J9 W% U+ q3 \3 `+ ^! k! M

  1638. % n, z3 c7 }. }2 Y
  1639. ; How frequently the upload progress should be updated.- G/ Q3 \+ n$ h3 v' j
  1640. ; Given either in percentages (per-file), or in bytes  I3 N& p. R: |5 {& ~: j
  1641. ; Default Value: "1%"" L& c. d4 f- c& t! L/ }1 x
  1642. ; Development Value: "1%"4 e& G& D' E3 a* y1 |
  1643. ; Production Value: "1%"' n* \- T0 x9 w
  1644. ; http://php.net/session.upload-progress.freq# y( y9 M8 E. h1 Y; z5 g; t- R
  1645. ;session.upload_progress.freq =  "1%"
    2 h) U9 z( |! g
  1646. ( M) `  ?' f, ^6 i
  1647. ; The minimum delay between updates, in seconds3 T; [( `& w. B4 F3 V  o  P
  1648. ; Default Value: 1
    ! u( w" }# u6 s( u" [9 h+ `
  1649. ; Development Value: 1
    ) O% g) {. `5 ?' l0 {/ O" s
  1650. ; Production Value: 18 }& R" J0 w5 y+ h. m
  1651. ; http://php.net/session.upload-progress.min-freq9 @5 {$ F# H, z9 {
  1652. ;session.upload_progress.min_freq = "1"0 I; r% T1 P, i* H8 T

  1653. ) y4 m9 U4 \& u
  1654. [MSSQL]
    / U8 H# H+ M- K! i8 K; Q8 B
  1655. ; Allow or prevent persistent links.
    8 V" i/ @" k; ~
  1656. mssql.allow_persistent = On4 B. S( a2 m8 A
  1657. & k7 o) ]3 X9 ?  p  x/ t
  1658. ; Maximum number of persistent links.  -1 means no limit.
    8 R( r% d% ?, v" E
  1659. mssql.max_persistent = -1* g" v* O( d* \" x' s+ h4 H
  1660. / E" i7 b2 O/ P# S
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' o- n  P6 t2 w. f! I+ M! S
  1662. mssql.max_links = -18 L; ]+ j# h( }# g

  1663.   |  h) [. u, C8 F# E  }  O
  1664. ; Minimum error severity to display.4 z3 i$ g( D$ a& u7 R
  1665. mssql.min_error_severity = 10
    8 V7 b8 D% y6 |" F! P# m" ?$ x* m
  1666. : ^) d  O: w, `0 W7 z0 H; K
  1667. ; Minimum message severity to display.3 v) O; }9 w" H- E. S$ t5 x
  1668. mssql.min_message_severity = 10
    % k+ u  \) V: n+ v( n

  1669. 1 S/ A" F' j" \' i
  1670. ; Compatibility mode with old versions of PHP 3.0.; i  V* b9 Z+ s/ P5 J: B" n' [
  1671. mssql.compatibility_mode = Off
    + h" [! ~) Z; t- [
  1672. / H0 N0 O6 @3 C/ X9 E& M
  1673. ; Connect timeout% n2 v. m" Y# A$ \$ ]5 c  X
  1674. ;mssql.connect_timeout = 5
    # L, a+ S' j% p! y: Q% u7 N
  1675. 1 M! |0 Y( z# b; h
  1676. ; Query timeout* Z0 B5 a  B% Y# N. m  p6 r; i. `
  1677. ;mssql.timeout = 60: i  r7 H  s- p& F! x; _- K* r  [

  1678. ! I8 }: [2 M3 e# v3 [
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    5 w8 e2 S- l8 G! A
  1680. ;mssql.textlimit = 4096! t& G# \  U& H4 ?- V3 b
  1681. ! l9 |5 ?/ H2 B# ~$ Z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ) ^  \+ [/ h  S: d: W% ?
  1683. ;mssql.textsize = 4096
    8 Y6 q' C3 n6 g5 Q

  1684. 7 {, q$ O, k& \5 M5 @# b
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.- i/ b9 l; t" O$ p
  1686. ;mssql.batchsize = 05 ]& l7 P: P( K4 W% w4 V

  1687. ) c5 R# v2 ^" G9 k: V
  1688. ; Specify how datetime and datetim4 columns are returned1 t2 B6 _' ?% |9 c
  1689. ; On => Returns data converted to SQL server settings
    : m( X) }/ S4 p1 b' F+ l
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    $ a5 r+ R4 J! v
  1691. ;mssql.datetimeconvert = On  O) [1 O4 F& m# L* ^
  1692. 3 T; J& I) |$ e# Q3 z4 Q" k( ^: @
  1693. ; Use NT authentication when connecting to the server
    # i) F$ z& F# {9 K" _
  1694. mssql.secure_connection = Off  M8 K- `! S2 r1 Z
  1695. . I* k2 `6 o5 L9 A- Q3 K
  1696. ; Specify max number of processes. -1 = library default
    $ K4 E+ Q9 t+ b& e1 D4 J8 g  g9 W5 G0 l+ C
  1697. ; msdlib defaults to 25
    + f5 [' Z! K" |; |8 H
  1698. ; FreeTDS defaults to 4096
    ) G' D- D/ W/ w  ^
  1699. ;mssql.max_procs = -1& F- {# T) ^/ I1 \" X4 `4 f$ }/ N
  1700.   a5 x6 H$ j, D! h1 h' n! S6 C
  1701. ; Specify client character set.; B' P" G3 h' \8 t3 i# y
  1702. ; If empty or not set the client charset from freetds.conf is used
    ( k( u4 w; L0 n3 k" ^& U, a
  1703. ; This is only used when compiled with FreeTDS
    . g0 F/ n* E6 Q9 w4 ]
  1704. ;mssql.charset = "ISO-8859-1"
    + |' w9 L7 v. g( p' ~- I
  1705. 9 Q: y! k4 F# {" f9 Z0 v
  1706. [Assertion]
    2 j: o1 M8 c: h
  1707. ; Assert(expr); active by default.
    + L( ?3 \  w: `* _, J% y- w
  1708. ; http://php.net/assert.active
    2 n. u8 @: w# S. n
  1709. ;assert.active = On( T/ Z2 N; u2 V8 u
  1710. - d* E3 h% ?/ E$ H; C$ p6 q. j
  1711. ; Issue a PHP warning for each failed assertion.
    9 f$ p9 H: r" y% E- |% s' f
  1712. ; http://php.net/assert.warning8 N7 ]% b- u& P1 W7 d" x3 J9 R7 y
  1713. ;assert.warning = On. i' b! q: K, H. F% d- s
  1714. / {( p3 y1 m6 K  e! c
  1715. ; Don't bail out by default.
    # x& d. c7 v6 q  _4 W
  1716. ; http://php.net/assert.bail9 r" @/ \- X) ^6 z4 Q0 t1 n
  1717. ;assert.bail = Off, p3 j1 h# M7 R- x

  1718. 5 [, C1 z4 `# Q3 O* V2 X: j7 E9 d
  1719. ; User-function to be called if an assertion fails.
    " s6 }3 ?0 f2 C* y5 @/ l/ M
  1720. ; http://php.net/assert.callback4 B5 e+ d7 k% v: `1 H) O! R
  1721. ;assert.callback = 0
    7 ?; W( H  L0 u8 j" B

  1722. - t: n' N3 G( r. {% R
  1723. ; Eval the expression with current error_reporting().  Set to true if you want' o9 Y7 z& m2 _/ n. F0 m' o% `
  1724. ; error_reporting(0) around the eval().. x% \1 o1 R5 I7 u8 H3 ]3 u( }2 m
  1725. ; http://php.net/assert.quiet-eval# b  B) Z3 J( r/ _3 v
  1726. ;assert.quiet_eval = 09 n$ ^) ^$ X$ C, u8 M
  1727. 8 u; I+ c+ A7 ]
  1728. [COM]7 E! \/ v! k1 \/ d
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, ]# H2 p* A0 G, z# h( [4 v
  1730. ; http://php.net/com.typelib-file. b) J0 ~3 P) a6 a# k4 V  g5 v
  1731. ;com.typelib_file =1 B2 s1 H  V! ^5 L+ H% `/ s
  1732. - W, \/ x# H1 s$ @
  1733. ; allow Distributed-COM calls
    " `9 _4 s1 u$ {7 B
  1734. ; http://php.net/com.allow-dcom) u4 ?* I9 z; C" e+ B" E
  1735. ;com.allow_dcom = true
    1 A3 s. Y0 R: j+ [# ~

  1736. 4 e' h8 c4 Y+ M8 a7 _) Y6 e6 d
  1737. ; autoregister constants of a components typlib on com_load()
    , E; \6 u4 \- B. f. C8 |
  1738. ; http://php.net/com.autoregister-typelib& P0 }0 l# M; n+ N3 k
  1739. ;com.autoregister_typelib = true4 V% Q, J7 @8 a1 `9 w, S; M3 X7 S
  1740. ! x5 T; H% j' H  ?( ?) S$ E
  1741. ; register constants casesensitive9 p9 t/ ^) X' O& @+ h+ k4 K
  1742. ; http://php.net/com.autoregister-casesensitive, x6 s/ B/ J, L7 T; g
  1743. ;com.autoregister_casesensitive = false
    # j3 P+ h: S  D5 u0 E5 q, T! \
  1744. : {! w7 M* Z; k: e0 \8 U' H: @
  1745. ; show warnings on duplicate constant registrations
    5 X. `& s1 \* k4 ~
  1746. ; http://php.net/com.autoregister-verbose
    3 H* v9 g+ j. J& `) W
  1747. ;com.autoregister_verbose = true
    + w# b& d# P* ^

  1748. ( e- `( b7 ~9 u  ]) X6 J3 r
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    / b( i& u2 y4 W2 _5 E  ]8 I! _
  1750. ; Default: system ANSI code page
    4 N9 ]" {/ {8 ]2 j- R+ ^. P
  1751. ;com.code_page=. f# {; j* y+ K! Z+ E
  1752. & P* m0 Q8 w5 R8 h2 D& K
  1753. [mbstring]! U# U' R. [3 v- ^+ F
  1754. ; language for internal character representation.! [# ]5 b7 T. A
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    9 J9 X( J' A: ?0 f8 w. @8 \7 E1 o
  1756. ; http://php.net/mbstring.language8 H/ d* N- A5 j4 g' F1 R5 b
  1757. ;mbstring.language = Japanese% p& o, ], [; N* K

  1758. ! S6 ]% M4 {3 Q0 x
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.& Q: P. E" P/ W4 k" C% f: X" I) c
  1760. ; internal/script encoding.
    4 [8 c$ t( @' U
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)0 e' E- Y3 _0 X5 c6 M/ G
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , c0 S/ l3 z3 r( E, P0 D! [' u6 l
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , E+ A( \/ C: q7 T: N* [' A
  1764. ;mbstring.internal_encoding =2 e. ~' H% l! v# E; n
  1765. $ L2 R$ S# A( d, r
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.3 g2 z$ X" H0 s$ H
  1767. ; http input encoding.
    5 }' s/ \$ [5 B& z0 g; {" t
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    5 y4 B4 T" o& v3 _) d
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * L1 j4 P% H) X+ z
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ' U7 t; h, b6 b0 s' H
  1771. ; http://php.net/mbstring.http-input9 h) g9 D6 x, I( \; j  g* P2 ^8 n; c
  1772. ;mbstring.http_input =
    6 g9 o$ H7 L9 e# m4 N( l5 v

  1773. ( a7 u0 I1 W, I+ w; p
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.7 T+ Q1 ^4 V% R
  1775. ; http output encoding.
    # z+ }$ z3 z7 U9 A. o/ D: V# D$ y
  1776. ; mb_output_handler must be registered as output buffer to function.
    / E9 Q8 K& v+ t* T& p( s
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; U" d8 f' C7 E( y/ d
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output6 @2 ~: b1 W$ N- U; F1 ~0 {+ O
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    4 N0 ~6 h, O5 q+ P4 L4 K# F
  1780. ; otherwise output encoding conversion cannot be performed.
    7 a5 ?9 K, X9 d, U8 F% E1 ?
  1781. ; http://php.net/mbstring.http-output
    : p( Y' R' I2 r% N$ J4 i# o9 {9 \% R
  1782. ;mbstring.http_output =# |% H* m6 o1 ]' n

  1783. $ N, h3 }8 s- {; R% k& n  Q" |
  1784. ; enable automatic encoding translation according to8 A! y# V! ^+ L  r+ g% l
  1785. ; mbstring.internal_encoding setting. Input chars are
    * C* n6 W( K( Q0 \* q: P! V( A
  1786. ; converted to internal encoding by setting this to On.
    ' j& A7 j9 P3 [
  1787. ; Note: Do _not_ use automatic encoding translation for
      i9 T9 N# P  V: }4 c
  1788. ;       portable libs/applications.
    2 e  N0 }  _0 a$ O( A" b3 ?
  1789. ; http://php.net/mbstring.encoding-translation
    , E) |$ S* o2 ]8 ~$ \4 W
  1790. ;mbstring.encoding_translation = Off# V$ b7 ~5 E# ^
  1791. : U0 Q" i7 `! _; E4 d0 O/ i! Z/ l
  1792. ; automatic encoding detection order./ c, t1 ]4 F1 b& \
  1793. ; "auto" detect order is changed according to mbstring.language
    . V" c8 L/ e% u5 r
  1794. ; http://php.net/mbstring.detect-order+ v0 u! j" }1 [; U& U, ~; J) U
  1795. ;mbstring.detect_order = auto2 ^: L- e+ f4 x! {! L

  1796. 8 q2 u) r& s% [, O  G
  1797. ; substitute_character used when character cannot be converted( @  l$ e2 P5 _7 c& d. ~# Q
  1798. ; one from another
    ) {( ~! \# v$ x  C' p
  1799. ; http://php.net/mbstring.substitute-character1 t8 ^2 v" S8 B
  1800. ;mbstring.substitute_character = none9 O) a$ y$ H. Z8 H
  1801. ; M4 O1 g; l7 O3 e
  1802. ; overload(replace) single byte functions by mbstring functions.
    " e4 d7 E  u, F; R2 d: ^+ j5 Y! |
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    + f  a: @9 A$ O+ V- C
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.- H5 O5 P" Z9 I) f
  1805. ; For example, 7 for overload everything.  x+ D7 {) c' p4 r$ |4 ~! ^
  1806. ; 0: No overload' L4 \! c/ L3 u/ R5 ~
  1807. ; 1: Overload mail() function
    9 U! B, G, N/ Z
  1808. ; 2: Overload str*() functions
    1 z' G* t7 T9 l6 m# ^9 Y
  1809. ; 4: Overload ereg*() functions
    2 g: r4 c8 w. ?
  1810. ; http://php.net/mbstring.func-overload; B9 E! F$ {6 V; v) N) N6 R
  1811. ;mbstring.func_overload = 0
    4 m+ d% ?2 K( `5 N" U

  1812. 2 m# W1 M( e* }3 |! g
  1813. ; enable strict encoding detection.
    , Y( H. S3 q; ^+ @5 V) H; F, y
  1814. ; Default: Off
    4 o/ J( l2 G# V  g. K  a
  1815. ;mbstring.strict_detection = On
    ; B( F# @0 Q( B9 J) l0 ?

  1816. ! H' v, T. F8 d+ I9 A; o1 H
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()" q8 x1 F* W& o6 q; f
  1818. ; is activated.
      N5 D; w: Y& n. I4 l% y  O9 q' r/ y* J
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)7 L8 B0 v5 o( m6 t
  1820. ;mbstring.http_output_conv_mimetype=" z1 h! P! t# ?/ v, r# J
  1821. ; l7 K) _% J/ _$ W
  1822. [gd]
    . R4 f" q" `# d& ^, ~# S
  1823. ; Tell the jpeg decode to ignore warnings and try to create) \5 Q( G$ V1 E% `
  1824. ; a gd image. The warning will then be displayed as notices. |$ b9 }7 M+ a* E: ~6 y. f. O
  1825. ; disabled by default1 p5 Y! O* X- Q" i9 y! e$ }3 U
  1826. ; http://php.net/gd.jpeg-ignore-warning( W9 N3 B; v7 R. w' l2 c: t( l) e! o
  1827. ;gd.jpeg_ignore_warning = 0+ ?0 {/ k" o5 d' U( x, x2 V

  1828. 4 V4 }) V' e% I& b3 J0 R- x7 e6 C
  1829. [exif]3 C' X) X& z* g9 J# u0 P
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    " b5 [. e/ S% A& H4 w- v' F
  1831. ; With mbstring support this will automatically be converted into the encoding
    9 U. ~& C5 Z2 U6 U" R- i& E: ]
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    1 A7 D3 |& x( y) Z9 E+ q
  1833. ; is used. For the decode settings you can distinguish between motorola and8 t6 F  c* J) c& K: O7 d
  1834. ; intel byte order. A decode setting cannot be empty.
    3 k1 J& _# V' e; x3 U, y
  1835. ; http://php.net/exif.encode-unicode
    ) l- E) b' c# l( s4 e/ u/ V
  1836. ;exif.encode_unicode = ISO-8859-15
    ' o" h0 @) ]- X- `5 p  F

  1837. , t# Y2 U: X0 f& p6 i) Z
  1838. ; http://php.net/exif.decode-unicode-motorola
    3 W8 c, G% Z; D$ r! \2 G
  1839. ;exif.decode_unicode_motorola = UCS-2BE# `: q% V1 h* Y' Y) r$ K

  1840. 1 D2 G3 }8 |5 @# M% l' `' j- h6 @
  1841. ; http://php.net/exif.decode-unicode-intel
    7 \1 h& e" C4 U; M; b
  1842. ;exif.decode_unicode_intel    = UCS-2LE9 U' G3 ^$ ]3 S2 }. J

  1843. ! Y5 i) V+ l. e6 W
  1844. ; http://php.net/exif.encode-jis* S, m+ y) ~7 m' y$ Q' A$ L4 x; t
  1845. ;exif.encode_jis =
    2 T4 }2 R  V$ u0 e+ a& d6 `. `

  1846. 6 a8 U7 r3 F' ^
  1847. ; http://php.net/exif.decode-jis-motorola
    % W5 J2 d( n9 Y8 h; `# q! {
  1848. ;exif.decode_jis_motorola = JIS5 ]' V0 r. I7 r* m8 O

  1849. " l' }. Y5 Z& Q
  1850. ; http://php.net/exif.decode-jis-intel
    + `. u1 ~* f+ x5 `2 N0 k) U, P1 S
  1851. ;exif.decode_jis_intel    = JIS3 ?3 N! w) s4 A, \, ^! b) u

  1852. " `5 x+ ]$ w4 y8 [3 g# `
  1853. [Tidy]
    / U2 q# E- P' {  J% S/ ?! H
  1854. ; The path to a default tidy configuration file to use when using tidy8 _# h" ^& H! t
  1855. ; http://php.net/tidy.default-config. e$ P9 X$ [( W, B' S
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    . V3 T1 x2 C" ^) Q8 `
  1857. ; T# c7 e% d- Y
  1858. ; Should tidy clean and repair output automatically?
    4 M6 w7 ?$ J* h6 V( J
  1859. ; WARNING: Do not use this option if you are generating non-html content0 t) Z) z1 I: G
  1860. ; such as dynamic images5 T# O9 G4 t- U! i) k% ]/ H
  1861. ; http://php.net/tidy.clean-output
    - {: D' O# d" {' v
  1862. tidy.clean_output = Off0 l% p4 W' |$ a8 d

  1863. ) v! d# I9 o8 Z
  1864. [soap]
    % b0 m! y' z7 v& I' l8 b6 S
  1865. ; Enables or disables WSDL caching feature.& ?& \7 `6 \0 [1 P/ ^0 Q# A
  1866. ; http://php.net/soap.wsdl-cache-enabled
    + ~) a' a) e0 I1 z0 v
  1867. soap.wsdl_cache_enabled=16 z- P8 R8 A1 \- b7 N- n8 ~5 Y; V* [  z1 G
  1868. 4 x/ ~+ P# d3 n
  1869. ; Sets the directory name where SOAP extension will put cache files.
    / y2 T% L, G, x9 s# }
  1870. ; http://php.net/soap.wsdl-cache-dir
    2 h# _, q4 t- X% e+ q( V& Z/ S
  1871. soap.wsdl_cache_dir="/tmp", k2 q/ I# X/ L

  1872. 8 U0 q# n/ N# z$ `4 I
  1873. ; (time to live) Sets the number of second while cached file will be used
    / d2 V) y  }# U+ N$ e+ l
  1874. ; instead of original one." L' a7 [9 E, S! ]4 t" {4 f  ~
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ) c9 n% ~2 g8 A2 X0 K
  1876. soap.wsdl_cache_ttl=86400  b& Y: i; R5 {% y$ K& |4 Z

  1877. 0 n# j4 o5 n: ], a2 f( i$ g4 q
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)6 A. u" \* b$ D9 k
  1879. soap.wsdl_cache_limit = 5. {5 ^+ K: f% l

  1880. & E1 e7 r& F- F8 E
  1881. [sysvshm]
    - v4 u3 {% A; [9 T; M
  1882. ; A default size of the shared memory segment! |, s# G0 H% k2 F
  1883. ;sysvshm.init_mem = 100007 l  I" w. R0 J6 C
  1884. * d" l0 P7 @; s9 u
  1885. [ldap]
    # T8 t1 [( S# w1 ~3 c5 Q) W) D$ E" I
  1886. ; Sets the maximum number of open links or -1 for unlimited.* d$ @/ c2 i' z8 c5 Z& y2 |" t
  1887. ldap.max_links = -1
      c# O! Z3 Z8 w6 h) @  f
  1888. - e9 }& B$ G& R2 [3 T5 E0 W# O
  1889. [mcrypt]
    " i; [. o  l( n, L# R
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' a5 C! g5 y% y# o8 z. F

  1891. 7 [3 U, J- X, [* f- x
  1892. ; Directory where to load mcrypt algorithms0 P( S" m( I7 f. i7 Q6 z4 |3 s
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 H  m( w( S7 Z' C& L
  1894. ;mcrypt.algorithms_dir=' u) b: X/ H3 w" ?9 x

  1895.   T7 \9 O" w+ C, M  r
  1896. ; Directory where to load mcrypt modes
    9 F" q) _# @( N2 H! v
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ v4 i/ r3 D4 h: I" o5 n; v
  1898. ;mcrypt.modes_dir=
    5 v$ @3 T7 z9 ^& Q- {" w( @
  1899. $ B7 y9 I% v* u1 {7 s( c
  1900. [dba]
    6 L' h- f4 g. u$ t' u& g
  1901. ;dba.default_handler=. Q0 r: u, s# m& u8 e/ R. x6 I6 p
  1902. " l, x( u. ?& t  j
  1903. [opcache]/ [; n6 P) ^4 J! N: A. R
  1904. ; Determines if Zend OPCache is enabled
    ( f7 i+ o( s7 F9 C
  1905. ;opcache.enable=0
    6 A' Q$ S" E7 G- c( d6 c6 V9 \2 W
  1906. / d) ^$ a! K* C; h8 K: A8 K7 t
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ' D5 M0 k' L2 F2 ?2 L
  1908. ;opcache.enable_cli=0+ Q6 a8 x9 Q* d6 E0 A  ?

  1909. 7 y, o7 P$ }; N( `
  1910. ; The OPcache shared memory storage size.
    $ A! e# m& @2 t) M4 M3 s" o
  1911. ;opcache.memory_consumption=64
    / h( ?& h# N* c" r) B. ~  Z1 o

  1912. - p$ z$ C+ H3 D# S% e
  1913. ; The amount of memory for interned strings in Mbytes.3 w5 ~( J6 T! m# i4 h2 m8 q( [' Z
  1914. ;opcache.interned_strings_buffer=4$ i3 W/ N/ p& E$ c1 j/ l
  1915. 8 P4 z3 q: C" T  p8 ~* Y/ [+ E
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.' _! N. ]% U. W& m+ p5 i7 @& J8 l
  1917. ; Only numbers between 200 and 100000 are allowed.
    9 }7 E* T8 \0 |+ s0 _' h
  1918. ;opcache.max_accelerated_files=20006 S# |  q+ w+ ?$ y: J

  1919. 8 P6 a: h4 ?. R1 F5 F6 k
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled." [& I2 N3 q% t5 v
  1921. ;opcache.max_wasted_percentage=5  [3 k4 U, x' M) {1 Q  S# `
  1922. & l) e! ^4 K0 c
  1923. ; When this directive is enabled, the OPcache appends the current working; D/ k. d- @2 y# Z5 W5 q/ ]
  1924. ; directory to the script key, thus eliminating possible collisions between
    1 U2 m- m+ G  e
  1925. ; files with the same name (basename). Disabling the directive improves5 ]  K5 j$ f2 \' u
  1926. ; performance, but may break existing applications.
    7 D/ X* O' p' _; Y
  1927. ;opcache.use_cwd=1
    7 ?% r9 g6 s# M; S) H; J; }

  1928. ) y7 i  L3 ]' f+ _
  1929. ; When disabled, you must reset the OPcache manually or restart the
    8 J4 W3 `. M  `3 \. i% v# U2 ^; {
  1930. ; webserver for changes to the filesystem to take effect." ]. n1 R& e, |: A% M% }. {* l  P" p
  1931. ;opcache.validate_timestamps=1& \' \9 ?7 Z3 a0 b

  1932. ' [/ T, Y0 W, z- C% E. a1 ]0 d
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    2 n- R2 F7 X) n, o
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    1 u0 Y, F4 D- S0 V& d+ p
  1935. ; once per request. "0" means always validate)8 T8 [! [' e0 e( e" @' G+ X3 L
  1936. ;opcache.revalidate_freq=28 f* u! r) c2 U
  1937. - e7 s# _* J! n$ \3 k
  1938. ; Enables or disables file search in include_path optimization; G0 h7 X  P5 V3 j8 y
  1939. ;opcache.revalidate_path=0
    . }) ]' F# S- B6 J  R2 |+ F4 z) C

  1940. : A" Q) A0 i+ e% C5 Z3 B) t
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the/ @2 g$ l9 k9 |4 T1 D# ^1 d4 N* Y% W
  1942. ; size of the optimized code.
    9 N: P+ [8 X. _2 M" X3 c
  1943. ;opcache.save_comments=1  D- `! m$ g" E% p4 o+ w/ U; h

  1944. % v3 ]% s6 X/ m
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"& k4 i- Z% n/ H- `
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    - z" N% l6 O0 \- W4 r. W9 D, v/ s* `
  1947. ; that don't need them anyway.) {! e0 S: N, O& r/ v" M) F
  1948. ;opcache.load_comments=14 p7 e5 p4 M" `# I& i5 Q
  1949. - a' m4 O. L7 k) g
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code, f# ?! ]( S4 a0 s; h( r# w  m& p
  1951. ;opcache.fast_shutdown=0
    * w$ u3 p" W! X1 h2 C1 d* U# I; s* {
  1952. " |. y% @5 ]( Q3 f& I  Q! S
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    . Y5 X$ g1 G# W) D2 w+ B
  1954. ;opcache.enable_file_override=0
    8 Z9 N" Y( ]. s+ j, }8 S
  1955. 3 g3 b( Q+ k! u8 q
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 k3 |, N, O1 x1 _; I' j
  1957. ; passes' c" u& @4 [* E1 Q: ^$ X# A
  1958. ;opcache.optimization_level=0xffffffff
    5 }) J6 W) Q: [9 G1 f6 {4 [; F: g6 e

  1959. 3 N# D* m; |9 s* m. Q" C
  1960. ;opcache.inherited_hack=1
    : Y2 }. A1 j' E  T
  1961. ;opcache.dups_fix=0
    : [5 B- ?2 @/ S+ Q) U

  1962. # B& m6 F# G& B" m( p! E
  1963. ; The location of the OPcache blacklist file (wildcards allowed).% L- q' v) m$ `# V. V
  1964. ; Each OPcache blacklist file is a text file that holds the names of files4 v/ c' T5 A7 q- L1 U- I
  1965. ; that should not be accelerated. The file format is to add each filename0 u% S! R6 X5 z. D* J
  1966. ; to a new line. The filename may be a full path or just a file prefix
    + S6 q0 M- Z9 \. i# Z' ]5 i
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    " s% [) z8 G( L: E+ i/ Q4 X9 _
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # k" m! x/ _  ^) \3 X; a. s( B& n
  1969. ;opcache.blacklist_filename=# A; G2 z( D$ `) y

  1970. ! ^+ t+ C% E: ^
  1971. ; Allows exclusion of large files from being cached. By default all files
      H, |2 f+ t! r
  1972. ; are cached.! p' @2 S. n- a8 c
  1973. ;opcache.max_file_size=02 [& r, Z1 _" o( T+ ]

  1974. 3 K: `& Q$ `5 A8 E, {
  1975. ; Check the cache checksum each N requests.
    8 [& t- }- U  `+ ?7 y
  1976. ; The default value of "0" means that the checks are disabled.
    7 W- H2 T/ p! u% b* Q
  1977. ;opcache.consistency_checks=03 J& j: f9 M. v& P7 N- J0 V

  1978. : I" E- `, N7 |" Q! }' ?
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) \" e4 b. v% Q6 w( W: {
  1980. ; is not being accessed.6 B' f4 {) ^( C5 j7 Y: A
  1981. ;opcache.force_restart_timeout=1807 a" l) R  j- L$ R  T. C
  1982. 8 \0 N3 p' o6 I4 |9 s" C1 l- v
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ) \) i  \' B% M! g. G8 S5 u
  1984. ;opcache.error_log=8 C" X" w0 v( R5 S3 S4 _6 ~

  1985. : B! \& f  I& n- h4 ~8 d& ~
  1986. ; All OPcache errors go to the Web server log./ ]1 T1 [0 H# Y7 o6 W9 Y9 _! P
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.; {9 y/ r8 V) }# ~6 @% [
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    7 @2 |2 e7 a7 A- M2 G# m& {
  1989. ; debug messages (level 4).- ~! l  ?% ]3 s3 b
  1990. ;opcache.log_verbosity_level=1+ }! Y1 t- x/ F( R% U$ _

  1991. 9 g# ?/ i+ P8 u! t& a
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- l: X* M9 z0 Z$ v4 }# Y
  1993. ;opcache.preferred_memory_model=
    5 t2 W5 x& d4 L/ q

  1994. ' J2 W1 b/ ?9 T; F& J3 i
  1995. ; Protect the shared memory from unexpected writing during script execution.
    - s* }' a9 w1 w7 t
  1996. ; Useful for internal debugging only.
      ^  _, d9 ^8 H' G3 i# s0 p# g
  1997. ;opcache.protect_memory=0, G0 q/ \5 c9 j3 v5 D

  1998. 9 G! G" e0 s3 c& A/ ~* G7 e1 ^
  1999. ; Validate cached file permissions.
    7 L4 @7 J3 {; s; |3 b3 G
  2000. ; opcache.validate_permission=04 Q" V5 ~; J4 t7 {, V% B
  2001. $ z8 [6 S+ [/ j+ Z) U
  2002. ; Prevent name collisions in chroot'ed environment.& Z* ]0 Q0 E: Q# {$ J' S
  2003. ; opcache.validate_root=0
    0 U3 ]: d" S" g3 i0 L6 C. G7 c1 w8 B
  2004. ! M& B% I; u" ^( `$ z! \
  2005. [curl]1 ^' H' \! i+ ], |2 n
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 T: Y. P; m' Z" Z8 ]. {
  2007. ; absolute path.
    & [  p& H) N( O
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 e; f# ~& w0 r3 l/ c; w' Q
  2009. * K" ^$ a/ t: r4 j
  2010. [openssl]
    5 T2 E- b! _, [0 _
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    1 F- Q4 \( x  k2 K9 h6 h
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + c/ H* Y1 B  s1 v9 x
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ; N; P+ L4 s' I% T  W
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    * I2 J  q# M% Q( Z/ c' k8 V% C
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    " f# v7 r& T/ x6 \" E( A
  2016. ; option." V1 P8 n# z' H, c
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 L3 U& m! j! R+ p7 c" Z/ e
  2018. 7 y) R2 b3 e  u7 \" u8 A
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    3 G  C! ?- |8 I
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    0 Q% Y$ u" g/ z3 P
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    # H/ c  {; r& _) I
  2022. ; Most users should not specify a value for this directive as PHP will
    4 m& K4 L! C. w
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,1 ?9 X9 B& P& K0 T, b6 }
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    8 ~1 {' X- e3 p# i
  2025. ; SSL stream context option.6 f5 C: b  @$ S, T8 s" D
  2026. ;openssl.capath=% o5 x6 y% q1 M
  2027. 7 d- U2 j8 v: p  g+ T4 o; x
  2028. ; Local Variables:
    . p& n0 u6 l( t
  2029. ; tab-width: 4
    ; t; Q- u1 q4 f! T
  2030. ; End:
    + b. m) E, Q+ w2 D
  2031. " q  A: M* h8 k
  2032. ;eaccelerator
    % w* v7 B+ b: n$ O+ W& C# A; n
  2033. / g" H! p7 Y& ?8 g3 U
  2034. ;ionCube
    : L  I! j; C4 x

  2035. ! z' E- Z* i! x+ w- t( W: w& x
  2036. ;opcache
    7 ?8 ]  J# Q- G) r/ G* M$ m) Y

  2037. 1 a1 N. D9 c9 E0 H$ C$ V: `
  2038. [Zend ZendGuard Loader]
    * ?+ l- d# Q" V
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so, j* r0 u& g$ ~1 d# p
  2040. zend_loader.enable=1
    + P% Q8 e8 J5 j2 F7 [9 f* C2 l
  2041. zend_loader.disable_licensing=0' T1 q9 _  z$ H$ R: s
  2042. zend_loader.obfuscation_level_support=3
    ! _- }/ W4 L" H9 o, N
  2043. zend_loader.license_path=/ O$ g6 \" N  D& N- i: s

  2044. + m8 ]5 D# C; Q5 o
  2045. ;xcache
    & ]/ S% L$ f( p% s
  2046. 0 v0 ^- }" g+ u2 K0 j
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
: z0 X6 J: n% P' Q/ P! S5 T0 u" Y- V  j" J  s4 k0 {! l; r

' H( _2 y9 Z' S" C" B  qDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 v7 z2 {9 c3 W: P) Y# ]- @) A

5 j2 Y7 M4 f3 B* p8 t3 gDiscuz!程序版本选择:0 R& I5 c, M; q0 a5 M
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,% n) E! R2 B8 ~- U) P) G
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 Y4 a" n/ t. B1 j- Y6 g6 F/ w
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。9 G  L& _  |2 F0 N  j

2 F7 M4 ^6 L& [+ YDiscuz!插件模板版本选择:9 e, V" \' q& e$ N* l; f
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,8 P7 y5 Q* A* I. w
针对这个问题做个统一的普及:: o  I( B3 X, l
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
, D' V3 K/ a1 `5 W& f/ M% M2 N1 b% s7 ]! h
所以
, G" f" P  w7 f- B' ~6 W4 d* N适合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的二级域名。
! n; o& [0 \$ f4 @打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。+ E4 K% `: s: e2 s9 a- g9 t
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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