分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
6 n. t3 j) D7 }& E5 s7 u+ S" N  G& q& I8 d. R3 n' _3 m
  1. [PHP]
    " h+ Z- D9 ^0 K  H3 Z) y
  2. , J: E* m% r$ `4 \1 p
  3. ;;;;;;;;;;;;;;;;;;;
    % o2 ]) \/ u/ v- x
  4. ; About php.ini   ;& E( j- j9 R  d6 n. y% z6 z
  5. ;;;;;;;;;;;;;;;;;;;
    9 T! Q9 W0 V- Q1 m. s6 K
  6. ; PHP's initialization file, generally called php.ini, is responsible for6 h5 p( A2 b% R4 o5 E, i" O: L# e, o' ?
  7. ; configuring many of the aspects of PHP's behavior.7 O) w3 g  t. G' Y
  8.   Q( m4 N! V! O* k" B# h: `
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * U0 V$ h. J4 [
  10. ; The following is a summary of its search order:, T+ s6 u5 O8 ]+ L8 u
  11. ; 1. SAPI module specific location.
    $ T- U, ~( t, ]+ [) F" T- S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    1 w6 ?5 o0 ]/ ^: ^4 c( w+ b
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& q* g/ g! C# X! s* m
  14. ; 4. Current working directory (except CLI)
    5 L4 `& t/ x8 C& u6 L9 ]1 C
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ) i/ c0 p) l! T
  16. ; (otherwise in Windows)
    2 S9 W) o) T+ K! X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & `, [" A' @" C9 ?5 A
  18. ; Windows directory (C:\windows or C:\winnt)
    ) q5 E! `2 d. D8 O2 k: {, I
  19. ; See the PHP docs for more specific information.: Y& o" ^- G0 o2 q: G6 K
  20. ; http://php.net/configuration.file1 x, _4 U3 ?; I5 \- x
  21. ) ?) f  @& I+ q' b5 z  X
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    3 p) ?! I; ?+ f" C. Q; s$ m9 ^1 u" J+ W
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 f9 s: ^% x; n0 _
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 R! s( J4 Y* i3 Z0 [/ H5 D
  25. ; they might mean something in the future.
    0 j2 t4 v, x+ B7 r: m
  26. 8 b, Y% x# `, d; o+ U% i9 `/ v
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # X+ x2 |+ I9 H  F* b  b5 {
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ; d* h# `! W9 r7 @) y% g9 t3 P
  29. ; following the section heading [HOST=www.example.com] only apply to
    : }' Z# C4 J8 S" d
  30. ; PHP files served from www.example.com.  Directives set in these# g& P* ]' |$ y5 c
  31. ; special sections cannot be overridden by user-defined INI files or; X# ^" W/ {! ]
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 M" H* c% J7 |9 q* K( H3 D9 @
  33. ; CGI/FastCGI.
    & Z/ H4 e# H" P" Q/ x6 ~6 x
  34. ; http://php.net/ini.sections
    ; T; g- ~; \) n' l/ p

  35. 2 Y; x; d8 l: f2 t' V$ G
  36. ; Directives are specified using the following syntax:$ W. R% b* `& t0 z
  37. ; directive = value' v' d2 N9 h, Q  H( s
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 m! U% V( U9 J: ^6 S0 u
  39. ; Directives are variables used to configure PHP or PHP extensions.
      G$ L1 u% x* @. Q2 x8 L$ N1 t+ r  i
  40. ; There is no name validation.  If PHP can't find an expected; ~: E" h% _5 o! Z2 R
  41. ; directive because it is not set or is mistyped, a default value will be used.$ n2 Z- v0 G2 y& u1 Q

  42. " X3 o5 |8 f7 Z6 m
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 s" U+ h( H. t6 I" j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) t, S1 o: Q. O' e" r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    . N. a  ^; n1 r/ z8 f3 y  v
  46. ; previously set variable or directive (e.g. ${foo})8 E5 k* ~$ z5 z$ [; m
  47. $ U* l! M8 Q7 S$ Z. d6 \
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; |6 r1 p, z! s# W( k' ?
  49. ; |  bitwise OR
    ! ~5 z$ |9 o# Q8 U& b
  50. ; ^  bitwise XOR, q" m) U8 ?( _5 x% U' `6 l
  51. ; &  bitwise AND
    " N. S1 Z' X: j; t( T
  52. ; ~  bitwise NOT
    ) P# M8 a+ w9 B  D0 E1 L4 @
  53. ; !  boolean NOT+ E5 d7 Z; h( ]5 ~: ]( t

  54. , D' E- I4 j6 R, \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.  C  w/ ?5 g; z& u, L) w5 G/ [
  56. ; They can be turned off using the values 0, Off, False or No.
    % _$ |. t4 V3 W: z2 q: D

  57. 1 @3 f$ U- ~" r3 D
  58. ; An empty string can be denoted by simply not writing anything after the equal
      c* M6 f4 ^$ j) F
  59. ; sign, or by using the None keyword:
    4 D4 ]( m7 Y$ V. |% N8 e

  60. ; d* U8 S  Z- z
  61. ;  foo =         ; sets foo to an empty string8 p5 N# X5 n& H2 u( p
  62. ;  foo = None    ; sets foo to an empty string
    5 h3 P1 d, k+ W8 o8 X% H2 ?
  63. ;  foo = "None"  ; sets foo to the string 'None'5 f0 l5 b, F/ G4 f$ d: O  D

  64. ! ]( p$ d/ q& O) W2 d+ R; F8 N
  65. ; If you use constants in your value, and these constants belong to a/ t, U2 K# v# ~% A7 z0 E; I4 T
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    : k& p( {, O8 t# ^: j
  67. ; you may only use these constants *after* the line that loads the extension.% O7 D5 w  `" W# D( x

  68. 7 t5 ]( I9 H& K7 ~+ W5 `* ], U% d
  69. ;;;;;;;;;;;;;;;;;;;2 g$ n; Z: X0 {; D5 ^  J8 I3 q
  70. ; About this file ;& {) o; p- s$ i0 B- _, y% i, q
  71. ;;;;;;;;;;;;;;;;;;;
    $ P1 l0 U! E9 h0 q. j
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ j) |9 Z! B4 C$ w
  73. ; in production environments and one that is recommended to be used in
    4 A, Z2 {4 K! \6 {, {# P8 u6 h
  74. ; development environments.
    9 a6 H8 p5 [* J

  75. . H+ j  i3 }6 y4 j! R0 e9 m
  76. ; php.ini-production contains settings which hold security, performance and( Y3 N' ]0 G2 n* a* _
  77. ; best practices at its core. But please be aware, these settings may break7 ?3 R% V% {8 M8 n+ L" s2 o/ j
  78. ; compatibility with older or less security conscience applications. We
    ' z% e2 I) y- q# o/ `
  79. ; recommending using the production ini in production and testing environments.' T" l2 p  k4 t$ F, R  T
  80.   ~5 b; n$ T4 ~3 q" Y
  81. ; php.ini-development is very similar to its production variant, except it is
    , Z9 y% r) f/ S" y
  82. ; much more verbose when it comes to errors. We recommend using the
    9 O  H! z6 J/ _
  83. ; development version only in development environments, as errors shown to
    2 y& F! I' F) v2 g( ~. r, _
  84. ; application users can inadvertently leak otherwise secure information.
    1 i+ ?7 W% v& c/ ?& w4 f2 v
  85. + R; A, Z( D, ?$ P* q" _- [5 m1 [
  86. ; This is php.ini-production INI file.
    * i8 r7 `+ f+ t$ ?$ J  h6 D

  87. ! |7 x' J: X% j
  88. ;;;;;;;;;;;;;;;;;;;! g$ E% n. O$ `( I0 v4 l2 g
  89. ; Quick Reference ;
    * w5 f! Z; M- r) W3 M7 M, E: V
  90. ;;;;;;;;;;;;;;;;;;;8 {* n: O5 o+ E, ]$ N
  91. ; The following are all the settings which are different in either the production
    6 ?4 s( D1 ]* l3 v5 x
  92. ; or development versions of the INIs with respect to PHP's default behavior.' \2 _% t8 ~$ f4 a: I( ?' F
  93. ; Please see the actual settings later in the document for more details as to why
    & Y" G, B- g, O' }1 @
  94. ; we recommend these changes in PHP's behavior.
    3 G$ N; H$ @9 I# d+ q5 V+ h3 H
  95. ' j. n0 C$ l1 ~' o
  96. ; display_errors
    9 {. X9 c8 T6 I* l2 g  A3 d5 n
  97. ;   Default Value: On
    3 s) P5 Y- k. J7 T" o
  98. ;   Development Value: On% Z. H5 j) K' A
  99. ;   Production Value: Off* S2 _% p, C% ?) J
  100. $ T" n) \" ~: w6 ~. p* v" _
  101. ; display_startup_errors
    * k4 y6 S# D: z# k: o
  102. ;   Default Value: Off! O: ~, v& X) o9 [  t
  103. ;   Development Value: On
    & f8 ]+ f& M0 c- |8 [0 a, p
  104. ;   Production Value: Off
    ; F: Z0 n! k5 J  Z4 X7 p
  105. * m, S1 V% B; X' s0 f/ I: z- @0 @
  106. ; error_reporting
    # I9 M. a5 e# m  h  Q/ _
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: {, P# g( I) I0 o4 D* a1 Y7 W  ?
  108. ;   Development Value: E_ALL  ]  r% J* M8 W' R% a! u, x( H, l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      O- }6 H6 ]; v/ h  Y4 V

  110. / I/ a& L  B  K
  111. ; html_errors
    7 t+ S8 R2 D) z9 M
  112. ;   Default Value: On
    " F( A4 m& n+ Q1 C+ Z, \
  113. ;   Development Value: On+ H7 A3 k) J: A' [! s
  114. ;   Production value: On
    4 S! a% K# p4 J3 J( T

  115. $ v9 g3 q* ?: p; E1 E3 F2 i2 Z
  116. ; log_errors1 [2 e* l8 G  g4 i+ S6 g8 a7 g! n
  117. ;   Default Value: Off
    + }+ ~& b5 h! ]1 D$ [
  118. ;   Development Value: On2 Z" l9 i6 K" W; c
  119. ;   Production Value: On
    - r6 t( W& {7 O" K" }. d

  120. % c; V+ }. u& r
  121. ; max_input_time4 u2 `6 g) J9 l4 x9 a3 I& |9 O: Z
  122. ;   Default Value: -1 (Unlimited), s7 O8 L6 Z% g( e6 x" T4 v- h
  123. ;   Development Value: 60 (60 seconds)! J* W9 A" B/ O: u. y
  124. ;   Production Value: 60 (60 seconds)# M6 o6 P- _) n# Z1 ?8 K2 Q, h1 N

  125. ) f2 Z3 B+ W- Z) s* U7 t# Y
  126. ; output_buffering
    ) G9 w+ o/ q  }9 W: }1 ]
  127. ;   Default Value: Off. w, r+ a1 B9 a( y
  128. ;   Development Value: 4096
    , l- ?& \2 h$ U  O3 _' ?2 t
  129. ;   Production Value: 4096
    6 E3 c- R- R) b6 g7 E$ S. m
  130. 4 }) _/ p. V% l$ A& y
  131. ; register_argc_argv
    2 f8 |5 z' S. `& l! e# h4 }; ~
  132. ;   Default Value: On& S7 G+ i2 q: h! f7 {4 u
  133. ;   Development Value: Off- v' ]' K2 n9 w4 \( [
  134. ;   Production Value: Off: T2 f0 j7 W+ e0 x( d$ }
  135. 8 J* H' c/ z, s2 J( T
  136. ; request_order
    0 o% _" P  t4 h/ v9 b' p
  137. ;   Default Value: None8 |4 X) T. o% h- c6 N
  138. ;   Development Value: "GP"4 m. U; x8 N( Z, m4 \( Q7 J3 M% p
  139. ;   Production Value: "GP"$ Y8 U  w& Q' I$ b; ]6 C9 _
  140. . |/ f* v' X( K
  141. ; session.gc_divisor
    : B. V8 w  D% J4 I: o5 s0 ^, i% T
  142. ;   Default Value: 1007 o0 d9 D( h2 F, V- F
  143. ;   Development Value: 1000; A5 f  E  [( @  M  ^' ~# F. ?
  144. ;   Production Value: 1000
    6 T2 ^) t- l! d0 N! O% ?' ~

  145. * B' D4 y* ]. Z0 H: [" A8 B- l3 Q
  146. ; session.hash_bits_per_character  t7 ^5 y8 o" _8 v; X5 s
  147. ;   Default Value: 4
    ' h; [9 c! g2 B3 M9 M9 I
  148. ;   Development Value: 5
    9 Y& Q: @8 t+ M8 [6 ^+ G
  149. ;   Production Value: 5
    2 I4 n8 N* A( R8 m( `1 l+ Q
  150. , [. u( Z4 e) w4 y) s
  151. ; short_open_tag
    3 ]/ |( I* Q9 X. ~
  152. ;   Default Value: On
    4 ~( `& [: ]; x; \3 f* W, j
  153. ;   Development Value: Off* T% V% n: h" H6 E+ z- l
  154. ;   Production Value: Off% {3 F+ @- u7 `% N7 l' q
  155. $ W- I6 _! i# g$ G6 v( E* L! r$ }
  156. ; track_errors. F" E, F  ^8 e* R
  157. ;   Default Value: Off, {5 b, Q# F, ?: e" I% k
  158. ;   Development Value: On. v+ f9 l2 A1 j  r
  159. ;   Production Value: Off
    ) P# H) m' n; N' T; `

  160. " }0 B7 r9 O  @2 g$ q# z$ }& [
  161. ; url_rewriter.tags. ^( `' Y  c' ]2 i
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="# j4 ?0 [# C1 d6 C- _/ k9 y1 T' U  O
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! {% \6 P7 I8 L5 [9 y
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  S) }) z7 L: x0 _$ f
  165. , q' W2 B# N  }* `8 I7 {* g6 ]
  166. ; variables_order
      Q: i0 T4 \9 d! H. n
  167. ;   Default Value: "EGPCS"+ r$ H( O# n0 w0 V' D3 f0 b# E
  168. ;   Development Value: "GPCS"7 S: v+ J. L/ W# o/ u$ I- G! [
  169. ;   Production Value: "GPCS"8 `0 L6 S& d, X3 `1 Q" \% Q3 @& K
  170. * X( @9 h8 f/ z" u
  171. ;;;;;;;;;;;;;;;;;;;;
    : ]! K( ^' @4 U# T( S
  172. ; php.ini Options  ;
    8 _7 @0 P9 Y8 j4 B8 r, C* E& i
  173. ;;;;;;;;;;;;;;;;;;;;+ m7 P% ]( w$ D5 ]. X% i
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    & N3 |6 I/ Q5 Q! C* ?8 \- J% T
  175. ;user_ini.filename = ".user.ini"
    / n) ^' d" `2 f4 `/ q% l: w
  176. / f3 \6 J: [7 f( [% t
  177. ; To disable this feature set this option to empty value
    . a8 \' R, [. K) B% E! ]) Q! j2 [
  178. ;user_ini.filename =2 {+ Q* m: m3 Z3 k: R8 K

  179. ) o" L2 k2 C+ p0 }3 Q6 L9 ^
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)" b1 R. V2 }, m. g* Z
  181. ;user_ini.cache_ttl = 300
    ; A3 z8 w. }) X- h

  182. . }% a1 x1 P. t* ]
  183. ;;;;;;;;;;;;;;;;;;;;6 [  ]% D; A3 D8 }& V2 [5 }0 V
  184. ; Language Options ;1 a* H& v5 U1 i3 B  i
  185. ;;;;;;;;;;;;;;;;;;;;
    6 X! o: r; `6 A1 o

  186. 2 k7 i2 ~% d% {/ @+ B
  187. ; Enable the PHP scripting language engine under Apache.
    5 G( y, S3 d4 v# P$ J% P" @0 {
  188. ; http://php.net/engine: Q, o9 ?+ R2 D0 I9 u
  189. engine = On, d5 b9 P" R! |" s0 [% K
  190. 9 a. t: p4 @3 z- A
  191. ; This directive determines whether or not PHP will recognize code between( b3 Q) D: Y2 y! \+ f$ z& u
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    3 W- [, n1 F) f7 `
  193. ; generally recommended that <?php and ?> should be used and that this feature
      ]4 f2 H+ @6 ?! h
  194. ; should be disabled, as enabling it may result in issues when generating XML& ?$ R! p) r9 ^. C7 s& f
  195. ; documents, however this remains supported for backward compatibility reasons.5 ]6 d6 S6 {+ l$ a# ?7 s$ z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ( A; v" j4 w1 B" d6 \2 c+ _
  197. ; used regardless of this directive.( F+ ~0 u9 S+ i4 g0 @( X( C0 [
  198. ; Default Value: On
    9 |6 e- n4 t. h0 B  {# m' \
  199. ; Development Value: Off
    - l" [; R4 [; k
  200. ; Production Value: Off9 X- m* T5 x  O  n7 c
  201. ; http://php.net/short-open-tag
    / F1 l, W3 o' x7 }. ^, U/ E
  202. short_open_tag = On( h, O% i, ^6 x% K" {6 v
  203. $ Z/ w5 u6 K4 ^- e: x8 n, I5 [
  204. ; The number of significant digits displayed in floating point numbers.* }7 ^! ?+ C) E" k1 J1 o
  205. ; http://php.net/precision
      L; w2 m! D1 `8 ^" R
  206. precision = 14/ ?# z/ Q0 p1 r  X3 T; i: E: M
  207. , U/ Q1 D- I6 V: o3 q" S1 _
  208. ; Output buffering is a mechanism for controlling how much output data6 \6 _1 k+ O7 z& A
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , F& d- V$ i7 S* U5 x7 q9 P3 B6 U
  210. ; data to the client. If your application's output exceeds this setting, PHP7 V( [- E7 J+ N' S
  211. ; will send that data in chunks of roughly the size you specify.$ f& k: }7 _" w
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    & R3 v6 H. W. G+ m+ ~5 j1 F
  213. ; interesting side-effects depending on your application and web server.5 J7 M- m' G: x+ \& G
  214. ; You may be able to send headers and cookies after you've already sent output- A8 |- R5 i1 L0 U
  215. ; through print or echo. You also may see performance benefits if your server is6 y; O  u0 t% m) V  H& @* W
  216. ; emitting less packets due to buffered output versus PHP streaming the output' X; X0 y) _. o# t" `3 P- K+ p
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance* w' W4 h& K! C) ~8 s" e3 _* s! y% ?
  218. ; reasons.2 Y4 |) u3 D6 x- B! r, i% z' T+ G
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' u4 m9 Y! n. \$ j8 S2 H7 ^
  220. ;   functions.
    ! [$ ]. Y2 @0 t, H
  221. ; Possible Values:
    * n3 H3 a( i4 W/ O' \
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 C# @% ]: e/ |, j
  223. ;   Off = Disabled
    2 G# H5 N. M+ [
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    0 i6 w9 ~1 a) Z7 [; P9 |2 a, ?
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI9 G. |3 {/ G+ j) J- g. q1 N2 h& ~
  226. ; Default Value: Off: u" W0 o; a4 J8 T: b
  227. ; Development Value: 4096
    & |* F2 |+ P( ]" s& V* b/ w0 Y' m
  228. ; Production Value: 4096
    * A8 z6 [4 P& I3 |4 G1 \& b
  229. ; http://php.net/output-buffering
    $ y) a/ @8 s- A; _, ~  F6 W
  230. output_buffering = 4096% q4 E/ O/ l9 C; n$ Q6 V) z& ^

  231. / n! K" i7 x2 s# Y
  232. ; You can redirect all of the output of your scripts to a function.  For2 Z. M* w" }* \; r/ a; q
  233. ; example, if you set output_handler to "mb_output_handler", character
    , z+ z, ^7 J8 B9 i" j2 h
  234. ; encoding will be transparently converted to the specified encoding.
    0 ]+ _3 p% z3 X: Y
  235. ; Setting any output handler automatically turns on output buffering.
    9 K% X- V4 r  g; f
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ) o5 q' f. t( k! w# b' O
  237. ;   directive. Instead, explicitly set the output handler using ob_start().( {8 O! ?! ~7 E1 N
  238. ;   Using this ini directive may cause problems unless you know what script) P, }6 b6 N, t# O& m5 @
  239. ;   is doing.2 e) s5 h+ {' Y% ^% h% R) ?9 j
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ' {) S# _, B9 y' y( y$ i6 t( t& Y4 _
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ) \6 ?: e2 F7 d$ Z# I$ Z' K& P5 g
  242. ; Note: output_handler must be empty if this is set 'On' !!!!/ E" H( d! c) T7 u: ]# }
  243. ;   Instead you must use zlib.output_handler.
    , l; B# ]) }7 L+ S& S+ A
  244. ; http://php.net/output-handler
    ' S5 V% _7 {8 U; R' A  B. d% U! n4 E
  245. ;output_handler =8 _# m0 g- B. N3 b5 w
  246. ; j  Y, o& U' j% A  G  q
  247. ; Transparent output compression using the zlib library
    - t& K6 ^7 B" R
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size) L& o: \9 C2 g- b3 R  y
  249. ; to be used for compression (default is 4KB)% T4 m% s, k% n) u% L) G* ~
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; ~* f* k8 I& {4 e
  251. ;   outputs chunks that are few hundreds bytes each as a result of
      P  m8 S: a- D
  252. ;   compression. If you prefer a larger chunk size for better3 X5 \5 k4 h, N% Z9 g. ], _
  253. ;   performance, enable output_buffering in addition.
    2 A; L/ C- A- O! [  ^7 V9 G
  254. ; Note: You need to use zlib.output_handler instead of the standard
    ; M1 ~6 Q  I9 P5 A0 A" D8 d* ?
  255. ;   output_handler, or otherwise the output will be corrupted.- h( l6 ~3 b. u- m+ V" _
  256. ; http://php.net/zlib.output-compression& |" c* O4 g3 {0 h: _, A0 ~& E. s$ J
  257. zlib.output_compression = Off- B) ~1 h3 q3 k3 \6 L3 c4 {0 S

  258. - t! D8 C& O8 B7 i1 d
  259. ; http://php.net/zlib.output-compression-level
    ( e. A" e  h3 X  p
  260. ;zlib.output_compression_level = -1. I2 f- S9 d8 N% a9 T7 G

  261. 5 M' u% F" E6 ^+ P& O
  262. ; You cannot specify additional output handlers if zlib.output_compression6 u; r) [" p: Z: i, _- j
  263. ; is activated here. This setting does the same as output_handler but in
    2 t3 }( b* I- r* V4 o- E5 c
  264. ; a different order.
    8 ?# Q' J; a8 r1 }: h  R: X3 A( H
  265. ; http://php.net/zlib.output-handler
    2 u. s2 [! K9 X
  266. ;zlib.output_handler =% ]: c6 N& ~  t3 _0 {
  267.   _3 p& B$ R$ z, g& L( w
  268. ; Implicit flush tells PHP to tell the output layer to flush itself/ M0 J% O- I+ c8 W. d
  269. ; automatically after every output block.  This is equivalent to calling the
    + K! [% L( N$ \3 W  t6 Y
  270. ; PHP function flush() after each and every call to print() or echo() and each: D+ e: n9 K5 M$ h* `+ G$ P! j
  271. ; and every HTML block.  Turning this option on has serious performance: d% M/ [" n0 J' w2 U7 I5 Q
  272. ; implications and is generally recommended for debugging purposes only.
    3 `5 p& B  ^* W; ]
  273. ; http://php.net/implicit-flush
    1 f8 y; k! c" r: w1 O. a& ^
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ Y; [9 E/ n" D9 n1 p7 ^* Y
  275. implicit_flush = Off
    6 F, ~3 e9 h3 Z/ v+ U5 ~
  276. ( b( }/ `8 o$ ?. R3 x. V
  277. ; The unserialize callback function will be called (with the undefined class'
    6 J: P' r& p" a- i
  278. ; name as parameter), if the unserializer finds an undefined class
    5 V+ t0 a7 e1 m4 L1 @% x! z- ~* a
  279. ; which should be instantiated. A warning appears if the specified function is+ ^/ F  A0 s, S
  280. ; not defined, or if the function doesn't include/implement the missing class.
    2 w0 v- ^% E3 `- [' X
  281. ; So only set this entry, if you really want to implement such a
    5 ?5 [9 [' n% I! y3 }
  282. ; callback-function.
    ! {9 V- v+ j4 Z% w
  283. unserialize_callback_func =5 Q5 Y9 ^3 U! N4 n! a- h

  284. , f4 [1 [' w6 w4 B: g
  285. ; When floats & doubles are serialized store serialize_precision significant; v% u" n8 e' N
  286. ; digits after the floating point. The default value ensures that when floats
    # Q8 k; p/ O8 L$ ]8 j0 b
  287. ; are decoded with unserialize, the data will remain the same.. @' Y$ |2 J8 N3 ?4 R5 b9 O
  288. serialize_precision = 17% K+ n4 t& w3 Q$ Y6 d( v# S
  289. + a$ U: `. O4 e( ^. }% P. ?- |
  290. ; open_basedir, if set, limits all file operations to the defined directory( n. Y/ U$ T* M6 V
  291. ; and below.  This directive makes most sense if used in a per-directory" K$ z. i7 t1 k3 q; e* x# Y0 k, Z
  292. ; or per-virtualhost web server configuration file.7 k, y8 w3 v. t- e6 c
  293. ; http://php.net/open-basedir
    ' V  {5 Q$ O* g! B1 X
  294. ;open_basedir =
    ) z6 v6 G( G9 f8 P

  295. , V1 C* T  m9 _, S
  296. ; This directive allows you to disable certain functions for security reasons.
    : a# B4 e; {! M# Q$ j
  297. ; It receives a comma-delimited list of function names.+ V" T! c0 E: d6 g$ e5 n
  298. ; http://php.net/disable-functions
    ' T: Q9 b# k! M% z! r; k; @
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    + p, @7 G, R& E1 Z' ]& Y0 L

  300.   J9 m. |, g: n1 b. x% P
  301. ; This directive allows you to disable certain classes for security reasons.
    " I. o3 P9 E* f* w! D7 D
  302. ; It receives a comma-delimited list of class names.# y# f# U, e1 l( B
  303. ; http://php.net/disable-classes3 H% ~5 A' w  }! |6 [0 }6 z0 u
  304. disable_classes =
    " y! z& B4 a" v+ ~- O3 }" J7 P

  305. # D7 q. R9 e, A0 G2 R
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in: p/ u5 @- g! P1 s% H0 G, J
  307. ; <span style="color: ???????"> would work.
    4 s/ I$ d" i6 X1 b
  308. ; http://php.net/syntax-highlighting
    , \  F  j8 V* u: G/ C+ s
  309. ;highlight.string  = #DD0000- S  h4 s  g# A3 k
  310. ;highlight.comment = #FF9900
    8 I: Q+ [* M+ Z! r" R
  311. ;highlight.keyword = #0077007 o( x7 K+ M* e, Y) o# R( g" k- ^& o
  312. ;highlight.default = #0000BB
    1 A2 x; V  N5 V' T( T3 r$ O
  313. ;highlight.html    = #0000004 l5 ?/ V2 g& Z+ Z. g+ l& ~6 |
  314. 7 v$ O, ~: ^; |# M0 H' N/ Z9 w
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    # C( l9 l3 M- X  g% D8 [1 `
  316. ; the request. Consider enabling it if executing long requests, which may end up
    # v/ G. F; I* y$ w# r1 \. Y
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    4 E, C' ~- ?9 |$ a+ ~  B  o7 T
  318. ; is to disable this feature.
    * V" Y) t6 D& O. o5 Q( R
  319. ; http://php.net/ignore-user-abort
    % K  Y" Y" b+ q1 \
  320. ;ignore_user_abort = On
      O+ R8 B5 s+ }( K4 U! H/ O
  321. 7 f" i" k5 v7 F5 }: D
  322. ; Determines the size of the realpath cache to be used by PHP. This value should8 `8 y1 o  j8 ~1 e
  323. ; be increased on systems where PHP opens many files to reflect the quantity of; u) T7 x$ T9 J
  324. ; the file operations performed.
    8 l/ L" |' j1 B1 h) ~3 W
  325. ; http://php.net/realpath-cache-size* Y7 f% M7 v2 i* U% o3 c
  326. ;realpath_cache_size = 4096k
    8 O# I8 I. S5 [# |; G

  327. / Q! L6 T& B) r  D7 Z8 O% n
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    6 e, p8 Z" u2 y' t9 U4 G
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    , O. R! R! O% Y/ c
  330. ; value.
    - o7 ?+ [7 Z$ N/ ]& [4 j
  331. ; http://php.net/realpath-cache-ttl9 O; q3 a3 z- R% R7 j
  332. ;realpath_cache_ttl = 120
    + E4 u, v; ]9 f7 f% ?! M

  333. * Z3 b5 N" L" U
  334. ; Enables or disables the circular reference collector.1 ^; G* E$ `, x) h! e
  335. ; http://php.net/zend.enable-gc
    9 w# b) o( _. w7 F$ h- u
  336. zend.enable_gc = On
    5 n6 Q9 V8 k; J5 `
  337. 4 [$ D% W: H( k( p. X$ g0 h
  338. ; If enabled, scripts may be written in encodings that are incompatible with2 O; Q. X- h1 i' m4 D- y
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      l/ E3 X7 `' Y$ a# s7 R$ E
  340. ; encodings.  To use this feature, mbstring extension must be enabled.# p! a3 t1 X. p% a8 x# Y
  341. ; Default: Off9 Q# A& @) w- u4 c# N$ h% H4 a
  342. ;zend.multibyte = Off7 C* s# t* p- T- a9 P1 t
  343. ! k' c9 q0 y+ }
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    7 R& h3 {; d% E- c6 Q2 ^
  345. ; unless "declare(encoding=...)" directive appears at the top of the script., }  g# a+ c* c7 V* p8 k9 w( [
  346. ; Only affects if zend.multibyte is set.6 h, s9 ~% }+ \7 b  M: [' j
  347. ; Default: ""
    4 r  s# ?" f6 d/ ^" S$ S2 E
  348. ;zend.script_encoding =* Q3 i/ Q& A( y

  349. 9 ?% z4 [, b/ j3 Y6 X- {
  350. ;;;;;;;;;;;;;;;;;
    7 ~& B: W( l, C+ v* H
  351. ; Miscellaneous ;
    , c2 C4 `& A4 P& I4 ~) u" F$ e
  352. ;;;;;;;;;;;;;;;;;+ o3 l! Z. f. i" |1 F# ^! B* ~

  353. ( f6 F, r9 h$ g0 n4 d
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ( z& p: t2 b% {2 d! @) Z: L7 t
  355. ; (e.g. by adding its signature to the Web server header).  It is no security; g# p+ A7 ]8 z+ d$ p9 M
  356. ; threat in any way, but it makes it possible to determine whether you use PHP8 D/ B0 I8 k+ t  q# b9 M. B
  357. ; on your server or not.  C* M% B! h: i) b: g4 o1 ~  T5 y
  358. ; http://php.net/expose-php. l% i3 O2 @, C8 |$ K" S. M
  359. expose_php = On  J; B( W/ P0 w
  360. " m  n! I: c) R' h7 t
  361. ;;;;;;;;;;;;;;;;;;;' t. W  u7 Q: p  w3 j1 G& N
  362. ; Resource Limits ;
    9 ~7 x. f- P! t
  363. ;;;;;;;;;;;;;;;;;;;
    3 \6 s9 @  k/ z4 w# r
  364. 6 e7 G2 h9 X* U5 x( i
  365. ; Maximum execution time of each script, in seconds' l" T1 S6 M/ E3 ?
  366. ; http://php.net/max-execution-time
    - {1 F4 C7 g5 Y: k: G+ ?7 j
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ J* A" ?) w9 T- o
  368. max_execution_time = 300, c, W' `3 w5 Z4 N0 y8 j  D5 S
  369. 6 Z, O' k7 h" A
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ) {) g% T5 i3 U
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 C& t( Z" a( u2 n! S; _" j$ J
  372. ; long running scripts., p! E: M1 ~) d) P/ c* y
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI7 Y9 P5 |5 k6 o
  374. ; Default Value: -1 (Unlimited)6 \4 C8 P  f+ I: x, q3 j) s
  375. ; Development Value: 60 (60 seconds)1 `/ d6 Z9 t, x& K$ A8 J( j" l- z
  376. ; Production Value: 60 (60 seconds)
    6 v0 j8 f3 G1 S9 U6 g8 j
  377. ; http://php.net/max-input-time
    6 |9 [, C: @$ b' p: `
  378. max_input_time = 60
    4 U% b& i4 }* \6 n$ J4 y; i$ @
  379.   v* p% a( d( _0 x
  380. ; Maximum input variable nesting level/ ?0 F6 F6 N6 W; @  D& S& ~
  381. ; http://php.net/max-input-nesting-level
    1 s/ ?/ ?& P* G% M0 G
  382. ;max_input_nesting_level = 64
    . ]  {4 Y: \2 X2 |

  383. $ C8 H9 ]# l1 a4 p% @) d$ A
  384. ; How many GET/POST/COOKIE input variables may be accepted' X' d4 x) B! Q, B2 r, K
  385. ; max_input_vars = 1000: U. C* h4 l  |, s. V
  386. / [, t5 S- c& w! C
  387. ; Maximum amount of memory a script may consume (128MB)
    6 w7 [& @! f5 ~; m, s$ Y
  388. ; http://php.net/memory-limit  w  e+ b) b5 {- ^* }
  389. memory_limit = 128M8 n0 y* ^8 i& }

  390. % S9 u5 }& t) ~+ g% T
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : d/ |* G% K, ~. @
  392. ; Error handling and logging ;$ O" p! U. x/ i2 ~! W
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, H) W4 ?0 n: l; z
  394. ( h1 n) |2 ~& {$ r/ e# ]. A2 P# z
  395. ; This directive informs PHP of which errors, warnings and notices you would like/ K4 j. f. u! w5 |% z
  396. ; it to take action for. The recommended way of setting values for this
    ; R4 G7 ]* U, b4 q  U3 x3 c$ d
  397. ; directive is through the use of the error level constants and bitwise
    7 @7 K' E5 S! s' B7 g* V6 S
  398. ; operators. The error level constants are below here for convenience as well as
    $ J; E; ^4 u$ G  g
  399. ; some common settings and their meanings." ]* u+ d! ?# B5 z
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    7 Q7 i$ `# N) k6 `, ]( ?
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    6 K+ [9 x: I9 c
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ; T6 G, F4 }% @4 C- v' f9 S
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    * B  w" ]; O6 a' z! p' Q7 Z1 s/ g) ~' J
  404. ; resources complaining about best practices and coding standards. That's what, U  D% o' @+ r7 |0 m
  405. ; development servers and development settings are for.) w. ]- @! D# m$ L& L( n
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    % X* Q% m( q, i7 B) Q5 ~1 U
  407. ; means it pretty much reports everything which is exactly what you want during# Q# W! n- _, Z3 F
  408. ; development and early testing.
    % d9 p: w& U5 B) p( ^
  409. ;
    * [9 f- I  v+ b6 \. q
  410. ; Error Level Constants:+ q) V, G+ a. }
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)4 x& N" h, H; F3 g1 x
  412. ; E_ERROR           - fatal run-time errors0 x/ ~' c  X& J0 w
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    $ ^: J; s: m! a# T/ c* F9 g
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    , b$ l& e1 P, [, r9 Q
  415. ; E_PARSE           - compile-time parse errors
    % R' l3 G( n' W5 W9 C
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    9 Y" i9 ~. ]3 B, E; W
  417. ;                     from a bug in your code, but it's possible that it was/ {$ L' _7 s1 T4 j1 V6 f1 K
  418. ;                     intentional (e.g., using an uninitialized variable and: r8 K4 Z# x8 s( A1 S& r# g! [* i
  419. ;                     relying on the fact it is automatically initialized to an
    8 I- a. S* b( C' w/ h7 {/ X* D- n
  420. ;                     empty string)
    - _' Z( x2 I2 _
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    - F/ e, W4 x. h- m8 }2 x0 f4 e& U
  422. ;                     to your code which will ensure the best interoperability8 v8 @  L; v- N
  423. ;                     and forward compatibility of your code
    0 z4 K( a, S3 s# n( Q4 ]4 j8 d0 w5 I+ T
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup8 K& H4 A* n' G0 u! e
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ( |' M6 Y2 K- C6 z
  426. ;                     initial startup7 X* N4 [' C9 t2 D, C
  427. ; E_COMPILE_ERROR   - fatal compile-time errors9 d9 ^  c3 g, X; Y1 @: }
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ' K$ O, G8 n; m. Q' e
  429. ; E_USER_ERROR      - user-generated error message
    # }, r0 U( b! P) Z6 A
  430. ; E_USER_WARNING    - user-generated warning message
    ; p% @. E! S4 B6 J3 W% z! R! ~
  431. ; E_USER_NOTICE     - user-generated notice message% B' k/ F: g9 u+ ^2 Y9 w
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    6 H  z7 x8 j/ v9 n% z0 H! C
  433. ;                     of PHP
    : H9 B7 f( P% T& |9 H' W0 P- _
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) A7 w2 I, F6 {1 L
  435. ;
    / G2 D7 p# j7 |" F
  436. ; Common Values:  A7 B/ H8 P& k4 Z; D
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    + n1 x8 ^- b" p! O% f! Q( N- B
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)  `8 ~! D2 H* l' Z
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)" Z( |* T! A- q) f6 d
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( c! a; E1 }3 A
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! x7 W: M/ |% E  @0 j
  442. ; Development Value: E_ALL
    ! [7 J& }( V% P) A3 Z5 q
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( j' `4 ~, A7 G' N7 u& ?
  444. ; http://php.net/error-reporting
      L* r4 ]/ d: I* R+ A2 q
  445. error_reporting = E_ALL & ~E_NOTICE. U5 A1 c! z1 V3 \8 j/ u
  446. 2 \6 O/ l8 g( h4 l' y
  447. ; This directive controls whether or not and where PHP will output errors,
    ' b9 `) w4 I8 g! E9 e- y/ u# O
  448. ; notices and warnings too. Error output is very useful during development, but
    - z& G* W+ ^5 r$ l' x- A
  449. ; it could be very dangerous in production environments. Depending on the code
    ( R8 T! G; O8 }' K; g
  450. ; which is triggering the error, sensitive information could potentially leak9 v3 ]4 k* ]' o% V# i' ~
  451. ; out of your application such as database usernames and passwords or worse.
    . z% z+ I, }6 L$ L  J
  452. ; For production environments, we recommend logging errors rather than. M7 s) k% p- _" r' x
  453. ; sending them to STDOUT.1 i$ ~' }1 R; i' X; D" K0 Z- o
  454. ; Possible Values:
    5 c! C+ k6 O  _% {
  455. ;   Off = Do not display any errors& O: }& R9 K& g9 h
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)9 o3 f* x( i# Y/ U3 K) {& Y
  457. ;   On or stdout = Display errors to STDOUT1 j+ ?+ z  ^: D9 D7 \
  458. ; Default Value: On
    5 y8 r) g" e; c: _8 k
  459. ; Development Value: On
    3 x! g( B4 t  j
  460. ; Production Value: Off
    ! W2 K9 A' S# k/ d) b# d* N
  461. ; http://php.net/display-errors
    " {; k" z+ x1 Y6 E0 Y+ n
  462. display_errors = On
    & P" U" i7 s- J

  463. ; ~# e2 P4 I- V
  464. ; The display of errors which occur during PHP's startup sequence are handled1 h# K& q8 P' m/ q
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    & P! X5 x- u: `  b6 i! @' N. k& b
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    + F2 Y, |0 f, o3 G# v1 i+ e
  467. ; debugging configuration problems. We strongly recommend you8 G2 V# w& M; @9 y
  468. ; set this to 'off' for production servers.
    3 _$ L' s$ S1 t# d" R1 e( I
  469. ; Default Value: Off1 D4 g1 I9 E* {( s
  470. ; Development Value: On
    : B; E9 p( S6 ^8 `( }
  471. ; Production Value: Off
    $ j+ [. g" @# Y4 F: W* C& P" {/ _( y
  472. ; http://php.net/display-startup-errors9 T  _2 u7 Y" P
  473. display_startup_errors = Off# q! [) h, w/ j0 K# f1 N

  474. $ M+ S; R: c. X" x9 N! N
  475. ; Besides displaying errors, PHP can also log errors to locations such as a" v0 Z1 r9 O+ w; u, l/ i
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ) ~# p! q- ~6 ?( H3 m# M9 H2 {, }6 R
  477. ; directive found below. While errors should not be displayed on productions- F3 G: `, o. E% I3 H$ m
  478. ; servers they should still be monitored and logging is a great way to do that.3 I4 V3 H% n( Q; Z. G
  479. ; Default Value: Off7 d( o9 u$ _" z0 j8 K4 `5 o4 `$ O5 k& k
  480. ; Development Value: On
    5 m0 U1 [& }. ^* C2 {$ [' t
  481. ; Production Value: On
    # W5 j8 \& m% q, b& b+ h$ L  }% w
  482. ; http://php.net/log-errors  ]" V& B. s$ Q1 v$ z
  483. log_errors = On, u, N5 c. b4 Q3 I& I5 w! R
  484. % g4 Y/ C6 d/ e8 o) _2 m0 Y& ^
  485. ; Set maximum length of log_errors. In error_log information about the source is+ \( @* j8 B& W0 \; _" h& ~1 X+ g% r( E
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    1 _1 ?) y3 v1 C" G* j
  487. ; http://php.net/log-errors-max-len, v- Y8 }/ u+ I8 V/ r5 a$ {- _4 k
  488. log_errors_max_len = 1024
    0 ?1 j9 g3 g9 h, ^) g% R

  489. - C, a2 D- ]- s
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same& s$ e' T! e) W% {! b
  491. ; line unless ignore_repeated_source is set true.
    % C: j  p1 g$ L  p6 i
  492. ; http://php.net/ignore-repeated-errors
    9 R; u2 S/ n5 o5 x
  493. ignore_repeated_errors = Off' B3 ^; X7 r5 }" F

  494.   w" |! P, c! H9 K. Z4 W
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ( T" q  `  h: u- l5 x6 F. z, u
  496. ; is On you will not log errors with repeated messages from different files or
    / C1 }% i. ]# h7 G& G$ {+ r
  497. ; source lines.
    ! y: F1 O6 s! |' E3 ~- S
  498. ; http://php.net/ignore-repeated-source
    " m; i! r/ n3 O& N5 L
  499. ignore_repeated_source = Off# A& a7 ?' Y& D+ Z  r+ m

  500. 2 O" c7 p5 _7 B
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on' O0 j7 O$ J7 N" j! b& t9 [' C
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    9 C! t8 E: j2 m8 x
  503. ; error reporting includes E_WARNING in the allowed list0 O1 j/ T  y' I. s  G6 `7 L
  504. ; http://php.net/report-memleaks& f/ k+ S: P4 l5 h: c
  505. report_memleaks = On
    * Z, D" n9 w6 q5 [4 Q
  506. - C5 f  p$ w, c8 [' {! I
  507. ; This setting is on by default." T& k' l7 C4 p  t( _, P4 S
  508. ;report_zend_debug = 09 L) A2 J  }. m; A: _$ g

  509. % m3 H* c( W' E2 G, g/ n
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    # m, P7 h% k1 Q2 u; U
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    9 m: _/ O7 U& ?5 u
  512. ; however be disabled on production servers.7 p) l9 A6 w4 @6 D6 s" r, I
  513. ; Default Value: Off
      i0 |' j8 y5 e4 c9 y0 G; R& s
  514. ; Development Value: On
    ! O- `+ _; N$ g# ~* C4 A1 E  @$ N
  515. ; Production Value: Off2 B4 e& ~9 \7 l
  516. ; http://php.net/track-errors) ^5 W6 K* `7 D
  517. track_errors = Off0 w! a' u* r4 [- h  r/ `8 W

  518. . o4 d+ M) H& J  V: J+ \' t& O
  519. ; Turn off normal error reporting and emit XML-RPC error XML1 |+ }" k  g* L0 e: w8 @
  520. ; http://php.net/xmlrpc-errors
    * q7 g: B! n8 }7 }* x* C/ a6 I- n
  521. ;xmlrpc_errors = 0
    5 ]6 i8 O4 ?+ E% p  h# k# E
  522. 5 F. M' ]( J3 n% z
  523. ; An XML-RPC faultCode  [' _5 L7 ?: N  s/ W; c
  524. ;xmlrpc_error_number = 0
    ! A; ~- b' b8 F& S  F/ x

  525. : S- K- P2 Q8 ^2 X
  526. ; When PHP displays or logs an error, it has the capability of formatting the' \+ v5 N# _9 f7 w
  527. ; error message as HTML for easier reading. This directive controls whether+ d+ |' ]. [& f) {4 M8 o  k  g! ^
  528. ; the error message is formatted as HTML or not.
    + j! r3 j& F  F: O) p& `
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI! g; @8 C! T1 y5 E+ E
  530. ; Default Value: On
    0 J6 U" Y' x8 h4 g
  531. ; Development Value: On
    3 P2 j7 P7 d- E! H  F8 M6 K
  532. ; Production value: On+ X1 w" |& U4 @. L; ?
  533. ; http://php.net/html-errors
    . @! I$ k& C! U# k
  534. html_errors = On- K5 D& B/ \* F7 f$ Q! ^

  535. 7 u3 Z, g6 b; C
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP, i& _) ^( n0 D
  537. ; produces clickable error messages that direct to a page describing the error1 G) y9 Q' y# E
  538. ; or function causing the error in detail.% h* {8 T* N7 e
  539. ; You can download a copy of the PHP manual from http://php.net/docs* d" O% e) F4 ^% V' F
  540. ; and change docref_root to the base URL of your local copy including the
    ( y8 H1 s( {' M$ N* {6 r- ?" o
  541. ; leading '/'. You must also specify the file extension being used including
    # R! \# A5 m( D$ V$ T3 u
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which1 ]' e1 }: j) N+ y
  543. ; case no links to documentation are generated., ~8 {; j0 \4 z8 w) w  _9 z
  544. ; Note: Never use this feature for production boxes.8 \) f9 E" Q, N- M, G9 Q
  545. ; http://php.net/docref-root, l$ l: r5 y% E) }
  546. ; Examples
    % M+ B6 x( y9 A& A8 M
  547. ;docref_root = "/phpmanual/"
    # G" I4 U& x: \+ S4 j0 Y

  548. ! u1 e. w' \- U9 R4 R% V
  549. ; http://php.net/docref-ext, |% Y5 d  V; m$ Q8 k& S
  550. ;docref_ext = .html
    $ m: \5 D& U' ]# ]! B
  551. ! s* y& r9 ]! P% z
  552. ; String to output before an error message. PHP's default behavior is to leave/ P( f! n6 Z( |- l# p8 r9 ~
  553. ; this setting blank.
    7 h0 Z. B5 ^  O( \2 ~
  554. ; http://php.net/error-prepend-string$ o' V8 T0 M, Z* B: `" n3 g# K
  555. ; Example:" f4 P6 @" c4 }
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    : \. |! G/ c' ^- X- N. a

  557. 0 E& s& K6 x. F$ ~4 q- n& w
  558. ; String to output after an error message. PHP's default behavior is to leave
    ; s  ~( U7 ~1 K/ F5 n- j
  559. ; this setting blank.6 L+ Z7 O9 |# E3 x/ G
  560. ; http://php.net/error-append-string
    / v. K4 E. U+ T7 N
  561. ; Example:
    2 e6 Z6 Y. c, H; q# b6 l
  562. ;error_append_string = "</span>"/ |0 W, N3 M: h; E8 H! f; Z  _

  563. 9 X+ Y" }, |# ^# a* _
  564. ; Log errors to specified file. PHP's default behavior is to leave this value% |: j; M, z  U0 i& H
  565. ; empty.  X6 C/ g. [' c
  566. ; http://php.net/error-log
    * y6 E; h3 {0 L0 Y; |6 r! O
  567. ; Example:6 x1 |+ h" S2 G( i( v
  568. ;error_log = php_errors.log
    / }+ S7 |+ x4 z9 D3 T
  569. ; Log errors to syslog (Event Log on Windows).
    8 k% {4 z. A( H( s
  570. ;error_log = syslog
    3 D1 I; Q7 {& Q, B$ I, G

  571. 3 g3 M, A* F) _( D
  572. ;windows.show_crt_warning
    9 D& I# D. {( y" v) H2 Q- V* }
  573. ; Default value: 0
    ' }% J1 a# \# X; }0 T# _1 F1 w
  574. ; Development value: 0- Z  g& O& F7 j9 \. G- s
  575. ; Production value: 0
    8 G" n; {# y0 B0 D" \

  576. 0 F6 |: ?! O7 ]
  577. ;;;;;;;;;;;;;;;;;
    0 }7 m& R( T7 h; u
  578. ; Data Handling ;" _# J; b8 q% M2 ?3 M4 B; F
  579. ;;;;;;;;;;;;;;;;;* b0 X4 M; n$ C3 `
  580. " F$ R% O$ o# a6 a4 S3 h
  581. ; The separator used in PHP generated URLs to separate arguments.# `2 k6 x! Z3 N3 H+ w2 [! c
  582. ; PHP's default setting is "&".- I3 |* V. Q' F9 Q. N$ Y  I
  583. ; http://php.net/arg-separator.output  s; v: Z! Y# [. y2 `
  584. ; Example:
    ' G* W/ ^" q1 o7 N0 i
  585. ;arg_separator.output = "&"
    + Z5 C, x6 N- X

  586. 7 e4 @6 U+ p1 a5 ?( v
  587. ; List of separator(s) used by PHP to parse input URLs into variables.1 G# P9 _1 X! [, N7 Q- @
  588. ; PHP's default setting is "&".
    " A) I9 V: ]7 ~( b6 O
  589. ; NOTE: Every character in this directive is considered as separator!
    - A; F; j/ E: r4 U$ F5 V
  590. ; http://php.net/arg-separator.input
    $ h5 \( e2 ^& D% d% k. n
  591. ; Example:
    8 w. v! e1 f9 D% f. ]
  592. ;arg_separator.input = ";&"# l8 |8 B+ O# G" O

  593. 1 _5 R5 q- l/ R6 ]% {
  594. ; This directive determines which super global arrays are registered when PHP) ~5 I  D3 h" U4 i6 q1 m
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    # L1 ~  f, _) u- y* P
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    2 y' L4 F7 M6 E6 g( Z4 G
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    & I* H9 m* F  f9 E
  598. ; used as the others, ENV is not recommended on productions servers. You
    ! h- G* L5 ^8 v6 C
  599. ; can still get access to the environment variables through getenv() should you
    0 ~! R% f2 G" [: n9 w+ E% \) H
  600. ; need to.
    2 h& l! h+ Y' b$ h8 }% K
  601. ; Default Value: "EGPCS"
    5 j4 X7 p4 V& i1 Y2 a" t3 @
  602. ; Development Value: "GPCS"# G3 p0 {/ E4 S- G( ?) q5 t$ B
  603. ; Production Value: "GPCS";
    / j( j1 k% G) q+ S: e3 n6 R
  604. ; http://php.net/variables-order
    & P8 M- c. d5 P$ L9 d1 d7 G
  605. variables_order = "GPCS"4 ^. i- G* N% i/ z' y1 v8 [
  606. 6 H0 y" u8 Q/ {# S' r
  607. ; This directive determines which super global data (G,P & C) should be6 w  h1 t- J* }5 e# S' Z
  608. ; registered into the super global array REQUEST. If so, it also determines
    + i% y" f) T+ u5 Y
  609. ; the order in which that data is registered. The values for this directive7 I0 c( ^; q( N- Q) b8 Q; Z; P
  610. ; are specified in the same manner as the variables_order directive,
    1 X; O8 G- ~& L+ n4 L
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set7 K% n& B' X, A3 N& Z( f& Q2 y
  612. ; in the variables_order directive. It does not mean it will leave the super
    2 b% [7 M/ ~' \+ J4 ~
  613. ; globals array REQUEST empty." K- Y. C6 e3 K
  614. ; Default Value: None
    3 a; B2 n' g/ M* T* d$ |3 n; p' [
  615. ; Development Value: "GP"# d, Y! E5 J0 G( L
  616. ; Production Value: "GP"9 O+ J" l7 v! p: P# i& ^* ?, t
  617. ; http://php.net/request-order
    7 I- i/ M& W+ X$ Q! G
  618. request_order = "GP"
    8 z8 m" c! q# I' E9 J8 o

  619. 6 H1 S" S1 R& A# Z
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ( i% m3 H) u( y* B, B$ W( S
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script) O$ [; W. C1 {  b# L1 R
  622. ; is invoked. $argc contains an integer representing the number of arguments/ V3 Z9 m% q; I
  623. ; that were passed when the script was invoked. These arrays are extremely
    / U, \$ X" H, G0 e6 v5 p
  624. ; useful when running scripts from the command line. When this directive is6 W! Z* ~# N1 {& J; g/ w
  625. ; enabled, registering these variables consumes CPU cycles and memory each time: Y/ T- r! M# O, Q- w1 |5 X
  626. ; a script is executed. For performance reasons, this feature should be disabled
    9 Q! r9 a. e, s% }: m2 b1 x3 p
  627. ; on production servers.* r9 j5 `3 G& O% O- w" W
  628. ; Note: This directive is hardcoded to On for the CLI SAPI) ^" n$ z" ^3 Z, x1 o
  629. ; Default Value: On
      [; r& T# J1 y
  630. ; Development Value: Off& d  r: z. T' I$ L, a3 V
  631. ; Production Value: Off
    7 e) U% S. Z0 l, C' |+ A& [
  632. ; http://php.net/register-argc-argv  y* Y4 \' _9 s, K
  633. register_argc_argv = Off
      w1 A5 Z  V: r( `- M- B- N# V  b3 a9 N
  634. $ ^; F) X  }' G  }& g
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 C4 i8 X4 {- y5 M2 J% [# P
  636. ; first used (Just In Time) instead of when the script starts. If these
    3 y+ y" [9 W3 L
  637. ; variables are not used within a script, having this directive on will result
    + r5 i" ^* ]8 f2 ^1 W0 K$ o
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    " X& F; j7 I* h+ I
  639. ; for this directive to have any affect.
    3 e% G) ~, q8 ]
  640. ; http://php.net/auto-globals-jit
    / x2 G# q) i* m$ e5 C
  641. auto_globals_jit = On
    & q7 r) y" Z' z5 W% a! ]
  642. # ^% L0 ^" v: ]4 X* @. \
  643. ; Whether PHP will read the POST data.
    + K( C  y8 h/ m: v- L
  644. ; This option is enabled by default.
    & O5 X6 X+ ~8 {0 B+ s- `7 Q
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST9 Q3 F' N+ ]9 _
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ; d: C1 I  R4 m3 n: a1 V  d
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ! f; m# ]( a$ }4 m# @" R
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    1 Y( e: V3 U# j' \( G0 f
  649. ; http://php.net/enable-post-data-reading3 ?( n8 M- b7 W* \& ^2 F# k$ d; W
  650. ;enable_post_data_reading = Off
    4 m6 G6 H! J. _6 C) Q9 @, Z# L
  651. " d  w$ c4 t' q
  652. ; Maximum size of POST data that PHP will accept.
    " x! n; i0 e3 M: ^8 m+ U. \* _
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " b1 w- |1 }# C$ }/ _6 c2 ^
  654. ; is disabled through enable_post_data_reading.
    , H/ k" P8 x( O' N" |* O  \8 t
  655. ; http://php.net/post-max-size
    - s4 S. E% I4 B# N
  656. post_max_size = 50M
    3 L7 f% a. s* z" t, r% L

  657. # v3 L2 }' O$ v7 ?: N
  658. ; Automatically add files before PHP document.
    % z- Y+ S1 z7 h) _8 l
  659. ; http://php.net/auto-prepend-file
    2 p# |8 `* j5 X( \3 g, h/ I/ R, g# Q5 x
  660. auto_prepend_file =
    . R% B: K  f0 O/ B
  661. ; S0 U; x( s, S+ k# x7 d
  662. ; Automatically add files after PHP document.
    4 Y  a  K  Q& M8 q4 _
  663. ; http://php.net/auto-append-file
    ' ?3 k) l7 ]. p$ C6 G
  664. auto_append_file =: p- m) K2 R) S# k5 M% H1 q

  665. ! q, x$ f( K, ]/ N) x/ K2 j  r
  666. ; By default, PHP will output a media type using the Content-Type header. To$ C+ O  l# j, H% m/ ]
  667. ; disable this, simply set it to be empty.
    & L; y! k  G; a7 O! c+ k
  668. ;! G9 L) s8 H7 R6 ]/ A
  669. ; PHP's built-in default media type is set to text/html./ r1 x" ?5 E, M. X+ |  j
  670. ; http://php.net/default-mimetype
    2 ]% }6 k$ E" w$ p& L2 Y: v
  671. default_mimetype = "text/html"
    / G: A" n' r+ I/ I) f
  672. ) f5 `6 q' l* x, r. i) f: m
  673. ; PHP's default character set is set to UTF-8.
    / o) {. H9 }7 X: C3 [4 F
  674. ; http://php.net/default-charset& z4 |2 _1 R1 v
  675. default_charset = "UTF-8"1 Y! M5 ]4 ^/ E, O# s& `0 I5 q1 O4 C

  676. + S9 D8 B% G* _$ e4 ]
  677. ; PHP internal character encoding is set to empty.
    - D3 z. n1 C+ G
  678. ; If empty, default_charset is used.
    1 p2 F; O6 X0 `8 O$ V
  679. ; http://php.net/internal-encoding% |0 S( P  e) A. B- S" Q: u
  680. ;internal_encoding =! B) j9 k3 ]6 a* ?. U2 y& _
  681. 1 e+ t$ b; ?7 `8 D, j5 b
  682. ; PHP input character encoding is set to empty.
    5 J5 {, c- J% n4 W  m
  683. ; If empty, default_charset is used.: K: B6 o% j$ ~! [
  684. ; http://php.net/input-encoding
    8 w8 v& Z( s# [* N! J9 a$ w
  685. ;input_encoding =
    3 h1 N6 z# p4 G

  686. + w' b5 X# v- d" \! U7 ]
  687. ; PHP output character encoding is set to empty.( l$ P- t$ ]: ]
  688. ; If empty, default_charset is used.
    7 `8 S5 j0 S) R7 y9 ?5 |' Y) L
  689. ; See also output_buffer.
    ) a* h' v+ @3 r; O
  690. ; http://php.net/output-encoding. r$ N. \: r& z1 ~& K, e
  691. ;output_encoding =4 ?: l; C. P! d" f) M

  692. " ?# ^) l* I  w  G8 J
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;( i! ^' ?# j6 w' y0 L& i, P
  694. ; Paths and Directories ;& A5 }) K) t3 h
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;( u3 s0 W( h0 Y

  696. 5 v- C! ]- w$ A
  697. ; UNIX: "/path1:/path2"% E3 K3 r0 y0 {- S
  698. ;include_path = ".:/php/includes"
    3 h: K0 q) F1 [. b  e
  699. ;+ Y, a3 M6 S9 N% s
  700. ; Windows: "\path1;\path2"
    5 j' d2 B$ A% j  c  V" X5 V
  701. ;include_path = ".;c:\php\includes"
      E6 X6 r6 C1 y$ h6 G! E( T8 f
  702. ;
    8 v0 P( p1 U6 H4 s6 ?* t
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : x9 L) K. j2 M9 m1 Z, K8 }- J
  704. ; http://php.net/include-path* |$ [3 I( y& M, Y- n  b, D

  705. 0 {$ {$ Q) L* z4 d
  706. ; The root of the PHP pages, used only if nonempty.
    , h. ?$ T( d6 V6 I8 D) F
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root/ m7 N: q& m, i( E# i( d- R
  708. ; if you are running php as a CGI under any web server (other than IIS)
    " b* l  [+ D. @6 z; \: e6 Z
  709. ; see documentation for security issues.  The alternate is to use the1 o* T9 W* p  J9 \  C
  710. ; cgi.force_redirect configuration below
    3 A4 ~( l. v; z; H& u3 e
  711. ; http://php.net/doc-root
    % B4 ~3 p8 u& Z) ?, w
  712. doc_root =
    " r  D4 D; V7 z5 V9 e) |- f; G

  713. . k! G3 o3 R2 B; t
  714. ; The directory under which PHP opens the script using /~username used only+ b, e/ }3 T- v2 t/ `/ y9 e3 N
  715. ; if nonempty.
    ! S3 I2 l. Q" c! u! u7 q: a
  716. ; http://php.net/user-dir  {/ ?4 ]( }6 ?- M
  717. user_dir =
    ! `% l0 }, f+ J
  718. % A) P" A# G% V8 z8 Y0 b9 D0 h: ~: O/ [
  719. ; Directory in which the loadable extensions (modules) reside.$ ?+ V( a* S/ a' }- `
  720. ; http://php.net/extension-dir+ W* q- p) p# |3 a
  721. ; extension_dir = "./"4 ]* ^9 M3 K: e& d: r# U
  722. ; On windows:
    6 [! T( I# _) H* ^4 u! t
  723. ; extension_dir = "ext"  G# n# P& X/ X! B

  724. * U8 S! Y! x- `$ G2 D7 U5 S
  725. ; Directory where the temporary files should be placed.
    3 N- z# Z7 L& F  K4 r/ c$ E
  726. ; Defaults to the system default (see sys_get_temp_dir)
    & s6 E$ D5 F0 h  w0 S; Y
  727. ; sys_temp_dir = "/tmp"
    $ P: W# z4 l; x2 r6 M

  728. 2 u  @; {; j1 x4 T
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 e) o. O, ?! n% D1 [! o; [) @8 h- \& I
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ) U; W4 ^- H4 C/ J3 j9 Y6 P0 D
  731. ; disabled on them.# |/ @( A5 T, V( |1 P, Z
  732. ; http://php.net/enable-dl
    3 G% R+ d: h# d% v8 _! S% Q
  733. enable_dl = Off
    ( M  p) w# Z$ f2 i" ^; m3 h2 b

  734. + c& Z, [# D+ _! `: p# o
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 {/ G/ k/ b" h; G' i# {( e
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can. b* }5 y% |6 H' I: a
  737. ; turn it off here AT YOUR OWN RISK! U8 j7 i6 ~% _
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% R7 _. Z- m2 g/ v# W. q
  739. ; http://php.net/cgi.force-redirect% }! _6 E( W2 Q. ]( S. q) f
  740. ;cgi.force_redirect = 1
    0 g- ?6 X6 Y& B, [
  741. / o$ E& i6 q. [/ ?" a7 q. B
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 @" A& Q6 x" h; K
  743. ; every request. PHP's default behavior is to disable this feature.
    + Y2 B8 \3 n- l2 h
  744. ;cgi.nph = 1* U* g- M# M. n1 R
  745. # N# C; `7 J) m
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    / G+ c9 u+ ?. s0 s% U
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP3 g: X, U+ L/ e4 k, l) l/ E& x
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY6 J( c6 [8 a$ C* U/ y6 z
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! {* t. [; D% N( r% H8 `
  750. ; http://php.net/cgi.redirect-status-env9 T5 r: S- G5 z# h
  751. ;cgi.redirect_status_env =
    : z4 Z) ?6 D9 M

  752. 9 z4 c5 K0 u' e
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's: x- v8 T7 d# {
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ e2 \  e0 a. U  ?
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting; D7 H7 e0 E8 }5 P4 F
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting; [) \# n- l0 l1 T+ c# m
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts- P, t1 k2 i4 Q3 A
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.% y& T0 \8 c( ?$ [0 ?1 [/ e" g
  759. ; http://php.net/cgi.fix-pathinfo
    + ~8 J( d; `( y
  760. cgi.fix_pathinfo=1
    0 U$ A+ x: q9 J( J* {$ k. T  F
  761. % u! i- ~% j5 {7 I, B: W
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside4 @3 s+ m7 A$ k2 L! s/ Y, o
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    + c" o7 Y' E$ _/ o
  764. ; http://php.net/cgi.dicard-path& X) y3 x( {" {2 W  S* I: t. V
  765. ;cgi.discard_path=1
    1 y3 K: i, p1 J2 X4 v/ V$ K4 o; q
  766. 2 N2 n: e0 @+ A4 h6 q7 {  E
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! G2 h: u7 @4 p7 r6 p
  768. ; security tokens of the calling client.  This allows IIS to define the
    - G+ ~! A$ i# u- q. K
  769. ; security context that the request runs under.  mod_fastcgi under Apache7 p' S# {6 g. l
  770. ; does not currently support this feature (03/17/2002)1 ^7 U9 O+ |% ^' t1 k: k# i: L
  771. ; Set to 1 if running under IIS.  Default is zero.# \6 u- I+ G1 n6 z3 j' v
  772. ; http://php.net/fastcgi.impersonate
    1 d- w  b9 p7 R. b$ J
  773. ;fastcgi.impersonate = 1- @4 ~! m* A1 t7 P0 D5 c! r! ]

  774. 7 J, Q9 Z8 [: k* t  z0 w3 H( j
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable5 O7 b3 ]* X1 w. f. l' s3 A3 Z8 V
  776. ; this feature.2 d# I' I6 i% G4 i
  777. ;fastcgi.logging = 0
    . V( |) L, H" }6 c  I' a2 W& j# e- u

  778. - `. ^" j: Q- N! y2 u, R4 X
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to+ w" ^( v9 D) E0 a/ I0 x$ |: U) y7 W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    7 Q# S. E6 z& z
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    * h+ T0 _8 P6 @. ~% \  U6 U
  782. ; RFC2616 compliant header.
    2 b0 N' m' Q4 m/ W
  783. ; Default is zero.
    ( }2 w) e# M8 J! v0 b
  784. ; http://php.net/cgi.rfc2616-headers
    / _. ?7 L, x: I& _' ~8 g' S
  785. ;cgi.rfc2616_headers = 0  F( _" k/ I. o7 P

  786. % f9 m* ]1 [$ a- U8 }! d$ d/ A
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    % c5 l. }6 n3 Z3 E
  788. ; (shebang) at the top of the running script. This line might be needed if the
    / F+ x; U$ Y& c' Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 C% E0 W5 D. H+ r* D
  790. ; mode skips this line and ignores its content if this directive is turned on./ G# P+ o/ F. ^9 v
  791. ; http://php.net/cgi.check-shebang-line% v3 P. ?3 B6 A& {
  792. ;cgi.check_shebang_line=12 ?- X( Z" R# i6 a- a/ }

  793.   M1 t) ]6 L; o/ U" J
  794. ;;;;;;;;;;;;;;;;' B4 z6 ]. z7 }8 x( ?6 I
  795. ; File Uploads ;8 N2 D8 e$ J5 `% o
  796. ;;;;;;;;;;;;;;;;4 g: o2 s! t0 ?- P0 t/ Q' h

  797. % y6 k8 \- L( U4 M/ r6 f
  798. ; Whether to allow HTTP file uploads.
    ! o5 T; i" c$ m# S
  799. ; http://php.net/file-uploads+ J7 P6 s! Y$ ?5 O$ S7 b
  800. file_uploads = On$ t- s  N2 w  x$ `+ J0 Y
  801. / R; R4 a6 ~% l4 Q
  802. ; Temporary directory for HTTP uploaded files (will use system default if not. v6 G7 t% K# a
  803. ; specified).
    ' I* E) S$ q* g* R2 l
  804. ; http://php.net/upload-tmp-dir
    9 R$ I9 Z5 c! B4 X4 \# N) B
  805. ;upload_tmp_dir =
    2 @: i# Y  R' B* U# a' V
  806. ; N: F6 ?8 `. M4 W  J! A
  807. ; Maximum allowed size for uploaded files.
    - i6 |3 H  c6 C# \$ g9 L3 h
  808. ; http://php.net/upload-max-filesize
    / B3 g0 p* T4 E  |
  809. upload_max_filesize = 50M
    + J4 h5 \1 ^# M( e! @" h8 l
  810. . w  J: m/ |. H8 H) G5 H9 C$ B
  811. ; Maximum number of files that can be uploaded via a single request
    . g' |  M' Q0 r! \5 R( ^
  812. max_file_uploads = 20
    + B# t6 |0 j6 l- N, C

  813. ! Z+ Q3 _: n; M0 n4 f
  814. ;;;;;;;;;;;;;;;;;;
    2 x& L; F$ T# f# ^9 C: k
  815. ; Fopen wrappers ;0 F6 @; A6 n: P
  816. ;;;;;;;;;;;;;;;;;;4 }/ z1 `4 c5 v! V* s4 G

  817. 2 _- s( Q% m1 u: {7 F; u
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.3 o0 A; t9 ?% ]  j5 y0 E
  819. ; http://php.net/allow-url-fopen6 ]4 l) l  D# i5 Q4 ]" W/ n
  820. allow_url_fopen = On( Z3 ]2 F9 E* h8 Z

  821. $ K+ D  O! l1 S/ y7 a' d* p; \: k
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    , g" o: v  m+ Z3 j3 G+ p( R
  823. ; http://php.net/allow-url-include3 z9 x$ l3 A% y" ~+ K( L% s8 E3 o
  824. allow_url_include = Off) g9 j1 ^, ~* n" O
  825.   S' w1 k5 R. y- d( C: v5 |
  826. ; Define the anonymous ftp password (your email address). PHP's default setting# ?5 b2 R7 R8 _0 ~- L, u' J
  827. ; for this is empty.
    9 s' g' e1 ~0 i
  828. ; http://php.net/from
    4 M% ~% s+ A. [( s2 Z( W+ J# f# k
  829. ;from="john@doe.com"
    ) ^6 z0 B1 R) F* P, }$ V

  830. 5 r  }' D0 [8 n- _
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    . ?9 }+ F+ W! q5 l0 v
  832. ; http://php.net/user-agent
    : h" {! O- X! v5 D
  833. ;user_agent="PHP"
    : F+ y5 E" c% z  _( a1 O$ ]

  834. , r  }  f5 F5 X- V
  835. ; Default timeout for socket based streams (seconds)
    7 R5 I3 K% I. F- t3 [" Z. z3 o, ]
  836. ; http://php.net/default-socket-timeout( q3 O6 C9 u1 k7 \. X  f+ r+ z
  837. default_socket_timeout = 60
    / `$ z0 N( i7 f/ s+ z
  838. + I, M# W$ _, ]9 j0 b
  839. ; If your scripts have to deal with files from Macintosh systems,) R! A2 r' t0 N' k( q" }
  840. ; or you are running on a Mac and need to deal with files from: R1 g; Q' C& x  n2 k% t4 H
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ! v& i9 }2 q4 C/ \4 i
  842. ; automatically detect the EOL character in those files so that
    7 D0 O& K  y( i0 n% U. ~3 w0 Q
  843. ; fgets() and file() will work regardless of the source of the file.
    & @2 m! X/ }, x" a- m3 Y
  844. ; http://php.net/auto-detect-line-endings
    0 j7 f3 h) ]- S& W
  845. ;auto_detect_line_endings = Off
    4 ]; P  C& G( P: |4 _
  846. 5 ?8 u( X! V, w- g
  847. ;;;;;;;;;;;;;;;;;;;;;;
    7 P7 i3 S# u) i0 c- u
  848. ; Dynamic Extensions ;
    ! i# |" d+ T1 Y6 v3 t5 F( y% T' S
  849. ;;;;;;;;;;;;;;;;;;;;;;
    / ~! U" j- _7 G0 N9 ?( ~& C
  850. 7 s8 e; M+ F, r6 N5 T9 }2 K) L
  851. ; If you wish to have an extension loaded automatically, use the following% e* O/ A0 r7 O9 ?- w; i
  852. ; syntax:0 U' h8 \* O, ?  J% e2 \% `
  853. ;1 G6 b! i) p2 P  ^
  854. ;   extension=modulename.extension! i# P5 M, z' n
  855. ;. |9 I8 a4 B3 j2 ^( X  _
  856. ; For example, on Windows:
    3 `% C2 f% {3 r8 r& P
  857. ;( X. H1 S5 _6 ~# l0 K) r
  858. ;   extension=msql.dll; y; n: x, b- J. j- [7 N
  859. ;
    ) P! Z, F* z7 x' C$ V: D! V
  860. ; ... or under UNIX:9 X# N% M4 T9 c, l; s# {3 z
  861. ;
    9 N* s7 h2 G5 U6 h6 |; X& l  M
  862. ;   extension=msql.so( s9 u: y7 N1 m% ?* z+ I
  863. ;* G6 v) v) T5 C( O# o8 o& _6 b# _/ L3 G
  864. ; ... or with a path:
    0 D* A* S: l: Y, m2 s8 F! l$ \
  865. ;# Q, r" g3 i0 H# W+ E" L
  866. ;   extension=/path/to/extension/msql.so
    , p( `6 F, S' b- T0 R
  867. ;1 q4 _" l) ?3 e& R% F
  868. ; If you only provide the name of the extension, PHP will look for it in its* X4 R3 A9 P8 S7 C' f0 c; {+ b4 u# V
  869. ; default extension directory.; s; ]# Q2 S2 x8 M+ y, h3 g. Z
  870. ;
    : z+ Q5 A8 T. f% I6 b/ U
  871. ; Windows Extensions
    ; ?5 Y$ X9 R. o
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    & |! W: b4 B+ u5 X
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    8 d$ x( V4 i: |# ^" P
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).+ [5 O" `7 ~$ P3 Q4 G8 M' F
  875. ; Be sure to appropriately set the extension_dir directive.
    6 P) F/ V: D" a1 Q/ C8 c) n( `
  876. ;4 h. t. u) ~* W$ U/ U8 c( b8 f( z3 F
  877. ;extension=php_bz2.dll- X$ r6 y" Z* e, m5 M# {
  878. ;extension=php_curl.dll
    6 C- `. l  t1 |$ z+ O( C7 J
  879. ;extension=php_fileinfo.dll$ E/ P& a! \6 N, @- V: {( x6 ~
  880. ;extension=php_ftp.dll
    / D4 N  f  R7 Q9 r
  881. ;extension=php_gd2.dll) Y8 K/ }9 ]: T1 w# H3 H
  882. ;extension=php_gettext.dll
    , p) U$ l$ X, Y  b
  883. ;extension=php_gmp.dll8 K$ J- e, J0 m
  884. ;extension=php_intl.dll) Y3 `* W" i7 }# ?, j% J
  885. ;extension=php_imap.dll
    + ~: i) s) a) T' y: k, E
  886. ;extension=php_interbase.dll
    / L! k+ e! m% H
  887. ;extension=php_ldap.dll  E2 \& ?; l0 U+ i
  888. ;extension=php_mbstring.dll$ U8 ?/ d$ T; U. F5 Y
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * m1 E9 w2 u4 k5 N) R
  890. ;extension=php_mysqli.dll# u1 ^" C; N8 P. {3 D: G
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client4 Q" W; {9 Y. _: E+ P
  892. ;extension=php_openssl.dll
    + ~# \/ T, V, r. j4 n6 Y- `
  893. ;extension=php_pdo_firebird.dll
    8 k  q$ g! ]! n  W1 Y0 F+ g& t
  894. ;extension=php_pdo_mysql.dll6 G) t; Z! U% O& c0 M
  895. ;extension=php_pdo_oci.dll1 p. V, C0 B" @: b+ o5 C3 C
  896. ;extension=php_pdo_odbc.dll
    + Y/ O& g& N. a* f: h1 L
  897. ;extension=php_pdo_pgsql.dll
    ' @/ t+ |0 C" V& F1 p, j
  898. ;extension=php_pdo_sqlite.dll# X) z$ d7 z- \7 g
  899. ;extension=php_pgsql.dll4 X# Q6 j! r4 K% `0 \
  900. ;extension=php_shmop.dll, L- c; o7 {4 A9 P

  901. # p" }: J. W) B/ h
  902. ; The MIBS data available in the PHP distribution must be installed.
    9 H; ^9 g$ V( |3 N7 W+ i+ j
  903. ; See http://www.php.net/manual/en/snmp.installation.php0 ?2 j6 A8 a) a: S0 h
  904. ;extension=php_snmp.dll9 s3 W! u* j% Q0 U# r' O
  905. 4 w7 f0 J: r  [7 m  J% k
  906. ;extension=php_soap.dll
    * J. i$ B! b$ v6 ?! b
  907. ;extension=php_sockets.dll
    ; l3 v3 U% F: L+ T/ v) M$ w  d& r$ D
  908. ;extension=php_sqlite3.dll
    5 P# G9 m0 p' [5 ?& h# d5 h
  909. ;extension=php_tidy.dll
    7 G4 |" |5 d1 H
  910. ;extension=php_xmlrpc.dll
    $ ]+ p: V2 D& l/ t2 d
  911. ;extension=php_xsl.dll
    , G; ~& d$ x4 |6 @0 Y$ g

  912. ' y$ n$ Q3 ~2 E4 a, g: ~
  913. ;;;;;;;;;;;;;;;;;;;0 A* h  t2 r5 r: Y
  914. ; Module Settings ;( t& p( J. k* Q
  915. ;;;;;;;;;;;;;;;;;;;7 o1 ?, P0 ?7 u, d, ]

  916.   [! u; M. |5 E7 i' A4 f0 h+ z. q
  917. [CLI Server]: S  Y$ _5 S4 [7 U
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.# g! y4 M2 ^9 m( u7 z
  919. cli_server.color = On
    " N0 l! a+ V* @, ~8 a# t* L

  920. - g: _" d4 _% c+ j  I0 S  D$ a( ?
  921. [Date]2 B; H5 O1 J) A7 H  a2 I
  922. ; Defines the default timezone used by the date functions
    * D9 ~9 \4 F1 l# ]3 p, A! T* V
  923. ; http://php.net/date.timezone
    1 j' b! F) v; e; {4 v. M
  924. date.timezone = PRC$ k! b  b0 \2 s* z9 h
  925. % H  ^! v+ d$ w0 T5 n4 X
  926. ; http://php.net/date.default-latitude
    ' B' ]6 L% n  g8 h( A
  927. ;date.default_latitude = 31.76676 `0 c0 h( [+ Q5 c" c
  928. 1 @, S$ L4 H" z) Y1 A
  929. ; http://php.net/date.default-longitude5 ^; t+ i* t* |* o2 M
  930. ;date.default_longitude = 35.23335 d5 Q( W( A2 c  X  x! p, J
  931. ' b3 c$ V( l+ s( l' H
  932. ; http://php.net/date.sunrise-zenith; M% u' S1 F/ U+ P( E  m
  933. ;date.sunrise_zenith = 90.5833336 \* o5 h! X( _  y( z# O

  934. 7 b. ]) C, ^7 I' l/ G; @6 g8 ~' P
  935. ; http://php.net/date.sunset-zenith; U, ?' e1 W, o0 n" p& ?, ?2 ~
  936. ;date.sunset_zenith = 90.583333
    : a3 Z1 g5 N( \7 j/ s/ G: o
  937. 0 ?- a1 p7 V1 Z; K, a; l/ @9 i
  938. [filter]# r- v  \3 p. M1 m$ p
  939. ; http://php.net/filter.default
    ! q( M8 j: V& q6 a$ ?! P! ^
  940. ;filter.default = unsafe_raw8 W5 t* {% L) H' I8 |
  941. ) [8 A  w7 {* t3 e4 ?2 _# d( T3 w
  942. ; http://php.net/filter.default-flags) F2 v3 A. J0 o
  943. ;filter.default_flags =3 f" h: E+ N& }3 Z7 W+ R4 R+ @" a
  944. + h. ]0 M- E( m8 r+ a
  945. [iconv]  G" a- O/ s9 e
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " K' ]: R' m+ J$ o
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    . X$ [3 K4 X, u
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* Q) W3 q6 A, x) m
  949. ;iconv.input_encoding =, |& m# u  @1 o5 D0 ]

  950. + R- b- q% x: j* D
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % C  [2 |7 ^" X! D( V/ B
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & Y1 U& Y( M6 t9 i! ~' V) h8 b
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 D, z5 d( Z* |* ]' k2 K
  954. ;iconv.internal_encoding =
    + |, o; `& ]0 ^5 m  D  X: X
  955. 6 J* ?2 A$ f3 J8 y4 w) R* w
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.) R+ z) H& u8 D: K7 H+ t/ F
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( j' e; q1 |7 j6 ^
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding# f; f- _8 l' m+ D  B6 e( x) B2 U$ T
  959. ; To use an output encoding conversion, iconv's output handler must be set( o/ n0 k3 |8 l
  960. ; otherwise output encoding conversion cannot be performed.0 L! m2 v* ^, y
  961. ;iconv.output_encoding =
    " E, @3 i; U4 D) f$ }6 A/ H

  962. " i! C7 X8 g6 [( ?% z
  963. [intl]+ c% b+ {3 p- M7 Q# [/ \) y
  964. ;intl.default_locale =5 I: u& g5 @; m! [) l5 A
  965. ; This directive allows you to produce PHP errors when some error
    ) E) Z8 F( Z0 g8 S0 c9 }! R( G
  966. ; happens within intl functions. The value is the level of the error produced.( ]; C3 ?9 m5 d* y# V( b) i
  967. ; Default is 0, which does not produce any errors.0 U  S+ e6 g: Q. \7 ]" P
  968. ;intl.error_level = E_WARNING* r' V5 Y# O$ Y: `
  969. ;intl.use_exceptions = 0( ^" K* e: h9 g( t3 _+ B0 X

  970. * ~4 E/ _/ h: J! a2 ^( X
  971. [sqlite3]
    % M5 ^9 d  e8 a- s, Q, [
  972. ;sqlite3.extension_dir =) i  I1 v* Q4 {  b0 v& a

  973. $ @' s6 d+ T- G1 d1 H4 l/ n
  974. [Pcre]
    % [& v0 K5 H% G( U
  975. ;PCRE library backtracking limit.
    # @; F! t8 A$ [' a; F
  976. ; http://php.net/pcre.backtrack-limit
    + N: U; u' J3 p5 Y: D+ ]! E
  977. ;pcre.backtrack_limit=100000
    " ~  s7 k2 S1 c4 I& o/ B) {

  978. ( c) i$ T* h, Y" f; F3 q# h& r2 f
  979. ;PCRE library recursion limit.
    % N$ j; D* S0 o6 J" S
  980. ;Please note that if you set this value to a high number you may consume all6 R( \$ f4 D2 S8 p2 @! ^
  981. ;the available process stack and eventually crash PHP (due to reaching the7 N! H  a3 {  V$ v& \
  982. ;stack size limit imposed by the Operating System).
    6 _- t: M, s7 x) ]- a0 p! j1 N
  983. ; http://php.net/pcre.recursion-limit4 i' ?" [6 }5 Q& v8 Q7 }
  984. ;pcre.recursion_limit=100000
    * L# P7 [7 S4 _& \; {

  985. 9 R& u6 }; ?4 |1 }! z6 V# m, T
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE7 K' Q5 d4 r' f9 v
  987. ;library to be compiled with JIT support.
    8 G$ p- n' C$ ~- t" e: p% ?
  988. ;pcre.jit=1& Z3 Z9 u  U6 `
  989. ) T( O' E. X& B# x! a; [
  990. [Pdo]
    8 Y: T1 T; R' u
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ' D+ a  _' L# P2 N# d' ], B& {8 @9 Z
  992. ; http://php.net/pdo-odbc.connection-pooling
    " M- V7 e' Z4 ?! U, O" |# k: Y
  993. ;pdo_odbc.connection_pooling=strict
    * e8 b7 ?) B9 X; `
  994. * [! S( \" o# D8 y2 x5 U  `
  995. ;pdo_odbc.db2_instance_name( i# h$ U$ H% O! {. P
  996. 3 r2 z1 M# u4 l( g1 ^
  997. [Pdo_mysql]
    # s9 n! E, @3 j) H3 c
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 p0 Q( o+ {/ [, }% ~4 O) K& r
  999. ; http://php.net/pdo_mysql.cache_size
    ; Z. m: `8 D" M& E+ T
  1000. pdo_mysql.cache_size = 2000$ ]( Q; w" m: J4 \; Y6 H
  1001.   `  M/ W6 J6 {4 M" B$ ^3 |
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 S( O3 S& P% J5 ^- j
  1003. ; MySQL defaults.
    ! w. i3 i+ Y( k: c9 D
  1004. ; http://php.net/pdo_mysql.default-socket
    " ^0 a; b  e5 }
  1005. pdo_mysql.default_socket=
    2 `0 j" S, v) S) Q
  1006. 5 T) Z* B& Z" a3 |. f- K2 D
  1007. [Phar]
    # J8 |* W3 Q: x% N, i
  1008. ; http://php.net/phar.readonly
    5 W7 i" @! |% \9 I% k' z( s$ d0 u
  1009. ;phar.readonly = On% C' q; x1 G- n  f/ x) B
  1010. % {* z9 r4 t( K* I5 ~( m
  1011. ; http://php.net/phar.require-hash9 v# I+ R% o8 ?* F" F1 g
  1012. ;phar.require_hash = On
    + x/ y# [9 ?1 J) u) G
  1013. ' _/ a2 J3 G' f' }& Z, ^9 h. ~
  1014. ;phar.cache_list =
    : z6 B+ A% d0 ~
  1015. ; B% _( Y2 t4 x; F
  1016. [mail function]
    / d$ l7 I; s: G/ ]1 [# t
  1017. ; For Win32 only.8 I, H  g* x' Q. }. P
  1018. ; http://php.net/smtp0 Z9 Q! R, m, E+ {4 t
  1019. SMTP = localhost8 w% [9 E7 Q* k9 p
  1020. ; http://php.net/smtp-port9 K5 k, k4 _7 v% b
  1021. smtp_port = 25& k# y& B5 r/ N$ |
  1022. 8 I, t: W% L6 h( ?
  1023. ; For Win32 only.% ]4 ]! `6 o2 b) _
  1024. ; http://php.net/sendmail-from
    3 r; g6 x, L* q0 h( _; @4 ]
  1025. ;sendmail_from = me@example.com3 |( u7 [9 R! g8 v% ]1 I

  1026. 1 H$ n9 u& z/ p- c. a; k
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. W6 k, R# k* g
  1028. ; http://php.net/sendmail-path+ z" G6 b/ Q) _2 N
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ( N& G* q) Q- c+ b
  1030. 0 w& j( O4 p9 k, x/ r- g
  1031. ; Force the addition of the specified parameters to be passed as extra parameters) l6 Z# l5 O% o; Q8 m# P2 ]: R4 w8 A
  1032. ; to the sendmail binary. These parameters will always replace the value of4 ]; f. Y3 ?/ W9 l
  1033. ; the 5th parameter to mail().
    % m* S3 o8 p8 A/ p  i7 E
  1034. ;mail.force_extra_parameters =4 t$ Q# h) e" O  I3 t
  1035. : Z, {+ z3 x6 M; P3 h$ [& G4 B
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename6 n" V5 J0 E' A& `; M0 V
  1037. mail.add_x_header = On  J- d+ i6 N) k9 q
  1038. : V: w1 p" B! _
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    $ B) |8 D( E  b
  1040. ; the full path of the script, line number, To address and headers.* {3 D* f4 S8 C# `! ?! A
  1041. ;mail.log =# P' L0 _! e3 e$ D$ U
  1042. ; Log mail to syslog (Event Log on Windows).
    6 G/ ~, s7 |& E* z5 I+ Q- Q# C
  1043. ;mail.log = syslog
    3 T5 Q0 I1 ~. N( {
  1044. 0 U4 \! n  g7 j/ i7 e+ C
  1045. [SQL]7 s0 [9 {( S2 V- _  k
  1046. ; http://php.net/sql.safe-mode3 e5 Y' O3 ~: v
  1047. sql.safe_mode = Off
    + ^- Q& e! h) y+ V2 l+ h3 X8 V" H5 K

  1048. + V* R+ G/ X! T* g+ `
  1049. [ODBC]
    0 e* M( a- R# S
  1050. ; http://php.net/odbc.default-db
    7 p, C" M! u; o3 e
  1051. ;odbc.default_db    =  Not yet implemented* ~! d' ?, o  L3 H8 |, [& u. u1 x
  1052. : g. L+ A7 `3 d" K1 F/ G0 n
  1053. ; http://php.net/odbc.default-user
    : i5 E, }, u. q
  1054. ;odbc.default_user  =  Not yet implemented
    7 a; {$ ]' ^9 H6 O: ]/ e

  1055. . _# W, j4 C2 `" {
  1056. ; http://php.net/odbc.default-pw
    ( O& z2 ^# L, Q8 H) o9 K, v! w# Q! o
  1057. ;odbc.default_pw    =  Not yet implemented% T6 p( c  W, t* ~3 t9 g' S
  1058. % Q- D9 k3 x  A: H8 l8 K
  1059. ; Controls the ODBC cursor model.
    & L! f" G7 c2 |7 z8 [8 d
  1060. ; Default: SQL_CURSOR_STATIC (default).
    * N2 \0 m8 v7 B
  1061. ;odbc.default_cursortype
    2 C; O' K7 S, F6 \9 S+ g

  1062. 4 z0 V2 i2 {/ Y, {  g+ A* o% a
  1063. ; Allow or prevent persistent links.
    4 O* W  G: F5 g3 K
  1064. ; http://php.net/odbc.allow-persistent
    # ?& X* W- u- R. |
  1065. odbc.allow_persistent = On
    / p1 Y  i% f+ a: a

  1066. 9 O  G' C5 j, m; e
  1067. ; Check that a connection is still valid before reuse.8 w' p& a1 O& X7 E# J
  1068. ; http://php.net/odbc.check-persistent
    2 q" K  S3 ^( S6 L# r" T& H
  1069. odbc.check_persistent = On
    ) L. D+ y2 H+ @" R) r/ m
  1070. ' ]0 z0 S( M' I" s6 Y) q
  1071. ; Maximum number of persistent links.  -1 means no limit.8 G) Q3 [7 C& f5 V+ H( l2 \
  1072. ; http://php.net/odbc.max-persistent; L/ x' M% n/ U# d( B0 B+ G
  1073. odbc.max_persistent = -1% ~) P$ y9 W4 }8 S, H) Q: k
  1074. 1 v5 q9 X2 n$ H/ J" H( K" C1 X
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 e0 s4 m- I0 Q1 Q8 {# h
  1076. ; http://php.net/odbc.max-links
    9 b8 L& y( a9 m8 n$ d+ K
  1077. odbc.max_links = -1
    $ i& h6 t4 s. I

  1078. , C7 p5 `1 a9 T* v; C
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. B, \. P7 h/ Y* }
  1080. ; passthru.' N6 I6 c1 U) S' E
  1081. ; http://php.net/odbc.defaultlrl
    1 h6 m* }; ^6 ~# S2 H) e
  1082. odbc.defaultlrl = 40966 r7 s9 h1 S) H" c

  1083. & _2 j4 g* U. O& ^
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + R& y# G& |& _4 p* C, Y( p2 N
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation# w$ h- ?& t/ G  Q# I
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    . L- r& K. |) G! r
  1087. ; http://php.net/odbc.defaultbinmode' U7 v" W; P( {; a% G3 M" p
  1088. odbc.defaultbinmode = 1
    * v& D" r3 D. t# n% H7 r8 V
  1089. ( B: T6 I0 G, A! s
  1090. ;birdstep.max_links = -1% Y/ }0 D$ u( w7 `
  1091. : \7 x% ^3 U5 t2 X8 @% G: \1 H
  1092. [Interbase]
    : l. h% w; o1 \/ D0 f0 l( O4 ]
  1093. ; Allow or prevent persistent links.
    # M; D: y, ?. f& k* J
  1094. ibase.allow_persistent = 1
    & o; B: A& o( W5 t
  1095. , P- e; s2 i/ k$ z) k3 Q; V( {$ N
  1096. ; Maximum number of persistent links.  -1 means no limit.9 b- y$ T5 X* b3 j! T; j; V( _
  1097. ibase.max_persistent = -1
    - p4 A+ B7 Q/ @+ P( d' ^

  1098. 4 t9 ~2 u; a5 f) W/ [
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' z) X. ~  I) B' C& O2 F& l
  1100. ibase.max_links = -1
    3 Y8 `- P( d+ v/ k

  1101. 9 ]4 J2 ?: b3 U
  1102. ; Default database name for ibase_connect().2 K3 I  a8 `; A0 ~
  1103. ;ibase.default_db =0 V! W+ V# H) l- c

  1104. ) {! o! @; ]$ I- q
  1105. ; Default username for ibase_connect().
    ' Z4 a/ p) e8 f& G# p' P; [4 A
  1106. ;ibase.default_user =
    + v; x0 D5 d% j0 u% @+ p" V2 j
  1107. . R, f  f9 Z" ~) h$ u5 R
  1108. ; Default password for ibase_connect().; |( e$ Q# A! ]  |
  1109. ;ibase.default_password =, K* a/ U/ D0 \1 o! T
  1110. 1 v4 B0 a" n; v- H7 Z4 f7 Y7 \
  1111. ; Default charset for ibase_connect().. r, U- G$ x5 m3 L5 y+ t. E
  1112. ;ibase.default_charset =
    " v* P  C9 b& p9 E" i4 N' ^9 F
  1113. / a* H3 w3 }; T, d! [0 R
  1114. ; Default timestamp format.
    9 Q# m3 n- ]" `9 a8 N. X
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"  T! E- v* {; A2 b  b5 }) A
  1116. 9 i$ z; S9 C  V, M7 Q: g& R
  1117. ; Default date format.
    ' ~1 B: i4 C5 g4 c7 a
  1118. ibase.dateformat = "%Y-%m-%d"
    / ?8 F$ s4 Z; T" u9 q
  1119. ' Z5 F/ X9 e- p
  1120. ; Default time format.! }9 E' u% Z% Q; F
  1121. ibase.timeformat = "%H:%M:%S"/ [2 K, F$ `! i" y. c$ ~" K( U
  1122. ( z7 Y$ n$ [- Z, \: r
  1123. [MySQLi]
    . L9 W, K. ^/ o
  1124. / N* E1 K) J' R* L: m$ V* [  p& a/ N
  1125. ; Maximum number of persistent links.  -1 means no limit.
    4 _) o, y  t9 z" N
  1126. ; http://php.net/mysqli.max-persistent
    ! M6 b, m5 V5 C* N4 y" s" F
  1127. mysqli.max_persistent = -1
    2 n8 ?( t) T! P0 b& G3 `9 I$ ^
  1128. 3 H0 b4 \" H& H0 a( e9 K
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    4 c+ p- v, I9 u) w
  1130. ; http://php.net/mysqli.allow_local_infile
    " }" `0 R& |& N+ |
  1131. ;mysqli.allow_local_infile = On
    $ E2 l9 g" }5 h% f) D
  1132. - q0 a7 S+ W/ ^6 U
  1133. ; Allow or prevent persistent links.
    : l3 H) j$ Z9 m7 y, ^, T
  1134. ; http://php.net/mysqli.allow-persistent
    & O6 g; _/ T! c) Q3 J4 I# T7 v1 i1 ~
  1135. mysqli.allow_persistent = On' |) H/ j6 G$ H) {) A

  1136. 7 S/ B5 F0 c5 \( V! A9 S
  1137. ; Maximum number of links.  -1 means no limit.
    % T+ C# `$ V( [  U7 L0 R$ X
  1138. ; http://php.net/mysqli.max-links
    2 Y4 F  U0 v; A6 o1 ^6 h
  1139. mysqli.max_links = -1: I; C: |) y# D4 g& r6 Z
  1140. 4 h, m. e$ Z6 d( o6 G3 n8 k6 b( E/ s' T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ l, }; [' z! P: S) i* N8 A
  1142. ; http://php.net/mysqli.cache_size
    ' A6 D# [1 ^% V! R: |0 z+ m3 K
  1143. mysqli.cache_size = 2000
    " X5 w: |# i. [

  1144. - g! ]5 k  R1 e0 N7 Z# _; ^
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use) x' Q" e9 X% \* `- @* C  l: f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; S" \7 k. k6 n1 D0 Y! d
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look* C% |1 e& ?) w# @1 V1 }
  1148. ; at MYSQL_PORT.% e" o9 {$ E/ r0 y
  1149. ; http://php.net/mysqli.default-port
    2 G3 Q" L0 y# g9 f7 G
  1150. mysqli.default_port = 3306
    0 h: N! l% `7 o/ H* L5 V  H

  1151. 8 r9 ?9 j; F2 N0 ]/ A
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + j9 @, j; M3 F4 W- t% n& E
  1153. ; MySQL defaults.
    7 v( k' y# y% ^/ d+ d
  1154. ; http://php.net/mysqli.default-socket
    9 D$ a: y/ R7 ?( ?1 K8 G
  1155. mysqli.default_socket =
    8 i0 }+ V# U6 j5 {& d) o- }
  1156.   `" d3 E" Q6 J5 \8 W/ H
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & b* h- v7 X5 S4 b$ H
  1158. ; http://php.net/mysqli.default-host
    # I! g0 j2 F2 b5 ]
  1159. mysqli.default_host =5 f$ z7 f. f6 @% h4 w0 ?/ _
  1160. / C( n5 T7 O2 C' a& k6 L- v
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).: O9 m/ |! x3 g! x0 a
  1162. ; http://php.net/mysqli.default-user' T3 d0 x, l/ M5 T' W+ x
  1163. mysqli.default_user =
    . J9 g" X9 C# I; f( n

  1164. 2 ^0 I9 `" T6 p0 l9 k3 I/ V
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    $ @. Z; N* a+ l
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; @$ l7 q' m- R/ S. W
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")9 v% x, i+ I3 l0 e4 U( b
  1168. ; and reveal this password!  And of course, any users with read access to this
    % l4 b% ]0 X7 x# l; t' M& H
  1169. ; file will be able to reveal the password as well.0 X: q2 _2 a6 S3 F7 n4 r9 h" R  l
  1170. ; http://php.net/mysqli.default-pw
    " }# D! J% Y3 i$ q1 q( ?
  1171. mysqli.default_pw =
    - A* J& d6 I- u( G. @
  1172. : l( w" m0 `7 J* h4 C
  1173. ; Allow or prevent reconnect2 ?) n. Q! s, R0 w+ _
  1174. mysqli.reconnect = Off/ |* X$ z! |* x( e
  1175. ; P- F+ I6 G* ?- j; c6 L% B8 K
  1176. [mysqlnd]
    - {) n# n4 e# _0 _, j7 i* d* B  n6 S
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be' w6 U% q% F0 y
  1178. ; used to tune and monitor MySQL operations.
    / ~" ]( m. I( z& U
  1179. ; http://php.net/mysqlnd.collect_statistics
    ; s, V% ?/ w: X2 R
  1180. mysqlnd.collect_statistics = On7 D: s/ @% K( E+ m, Z" S: J

  1181. + v0 q4 E5 d; p
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 M3 ]  v; [! |- }: u  y* T& i- T
  1183. ; used to tune and monitor MySQL operations.
    ' \- @8 Y1 E( l5 `2 v
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ( k: ^) `: s9 m
  1185. mysqlnd.collect_memory_statistics = Off
    ) i( i& ?1 P2 ]
  1186. ( v  P$ W  G" I: l+ ?* q3 r0 m+ Y
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    . y3 k: ?& P1 V3 }" r" `$ k! K
  1188. ; file.$ \+ R  @. ?3 A8 F, d& r, H
  1189. ; http://php.net/mysqlnd.debug9 e" P' N& |. ]$ S9 P, S2 g; R
  1190. ;mysqlnd.debug =
    # T0 y" G# H; R" U8 M* P
  1191. ( `' V' U# q; X/ \5 t
  1192. ; Defines which queries will be logged.
    ' A% d+ V# r7 B! ^, E/ N
  1193. ; http://php.net/mysqlnd.log_mask' U' _( J' H: o1 b5 k
  1194. ;mysqlnd.log_mask = 0
    # q; p- w; Y# o/ v$ m/ a* d

  1195. & Y8 f2 @& ]2 D# |  W5 D
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * j' \: [4 }6 b1 p& O0 s
  1197. ; http://php.net/mysqlnd.mempool_default_size; C7 V8 \9 V7 n: Y
  1198. ;mysqlnd.mempool_default_size = 16000
    # b' ?5 F: Z7 D$ Y( s+ ^$ t

  1199. 2 c) E6 A2 l/ t: ?5 m+ ?) s. L
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.4 F5 i; W2 K' V& f, m  b; m
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size9 T2 N* w+ n7 n
  1202. ;mysqlnd.net_cmd_buffer_size = 2048. A2 c/ j, X  @( J& W6 ^7 g
  1203. ! k, D& l  B6 I1 V4 P
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    4 V8 z% l. s: s6 R
  1205. ; bytes.0 e0 ?8 A! M& W$ E" L" F
  1206. ; http://php.net/mysqlnd.net_read_buffer_size: o6 T  W: M" R& G+ w7 q: x; }6 J
  1207. ;mysqlnd.net_read_buffer_size = 32768
      \/ e$ l9 Y) g5 R- b) d+ \+ P, z

  1208. " i5 G8 @/ D4 }! e) O$ s, ]
  1209. ; Timeout for network requests in seconds.
    6 R" F, _6 M- T! [6 V( Q. ?' s
  1210. ; http://php.net/mysqlnd.net_read_timeout2 h( m0 v" ]( F1 [
  1211. ;mysqlnd.net_read_timeout = 31536000
    , S5 s- |$ B- f4 b# p

  1212. 6 p9 d, `* W2 D1 A3 g: u; z
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    0 \5 L: W6 I  h3 u* F; A
  1214. ; key.+ N3 Q/ T# f5 d5 Z6 q
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    6 v5 J. M4 J7 t" w& S" e2 Q. Y
  1216. ;mysqlnd.sha256_server_public_key =
    * P8 Y( l" t( b9 \& ^6 s+ s

  1217. ( N: s5 k1 i9 T/ _0 I. y
  1218. [OCI8]
    ) z5 y/ k+ e+ X9 j$ W; Z& L. e

  1219. . w* w% d( B( J1 O5 L
  1220. ; Connection: Enables privileged connections using external
      k- x/ c' o+ r
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ' ?# N$ t& r" w4 Q0 w( J* }# ^
  1222. ; http://php.net/oci8.privileged-connect( ~3 g  B4 L! V* {, y# E
  1223. ;oci8.privileged_connect = Off
    $ X4 Z  Z% h' v+ `( Q. D- ]! p8 f
  1224.   o& ~1 R. P: y$ I- V: [
  1225. ; Connection: The maximum number of persistent OCI8 connections per' i& d/ z2 @- ]+ x; W  C* ^
  1226. ; process. Using -1 means no limit.8 L/ r" G& q0 m. d
  1227. ; http://php.net/oci8.max-persistent9 ]( s- s! |& F. `6 J4 O) Q. y/ L
  1228. ;oci8.max_persistent = -1. c4 l) [: Z; z) A# a6 J0 A, l# ?& i

  1229. 6 u8 T% t1 J; o/ @4 J8 ^
  1230. ; Connection: The maximum number of seconds a process is allowed to$ p# R5 u" W. p; Z
  1231. ; maintain an idle persistent connection. Using -1 means idle
    # ?# ?6 n; d! V+ k9 ]% {( r8 ~
  1232. ; persistent connections will be maintained forever.
    0 b- d; Y9 b' |4 l
  1233. ; http://php.net/oci8.persistent-timeout
      ^* E" i" J; N5 Z4 z1 N- L9 ]
  1234. ;oci8.persistent_timeout = -14 N: `' w) Y% @  _$ Q

  1235. ) y& t  @: _" L9 Y
  1236. ; Connection: The number of seconds that must pass before issuing a# p& e3 i( M% K, ?1 \* {
  1237. ; ping during oci_pconnect() to check the connection validity. When: x: j+ I3 s' y
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables0 c* K+ B) M  A5 X- g. s; }! x! k
  1239. ; pings completely.9 x/ F8 {0 w% R5 k1 d! k
  1240. ; http://php.net/oci8.ping-interval
    5 b" u# E' z/ G% b% \4 U' T& A9 q  B$ W1 {
  1241. ;oci8.ping_interval = 60: K# X7 X3 |9 b" n

  1242. % J3 f! B, y( O; ^
  1243. ; Connection: Set this to a user chosen connection class to be used2 ~. l; U5 j+ S% T9 ]1 f4 a
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    . E3 m& S, Y( M5 V
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + ?5 k6 L2 G# J. L. x% `
  1246. ; the same string for all web servers running the same application,
    0 x& G( }% s& P4 c; f
  1247. ; the database pool must be configured, and the connection string must
    # W4 |. z3 L2 O( a% x; ?" R' L
  1248. ; specify to use a pooled server.
    % v7 m+ r5 f; O
  1249. ;oci8.connection_class =% u: x/ F& w! N
  1250. 1 o1 N0 t( Q/ W3 j6 l6 S* x$ C3 K
  1251. ; High Availability: Using On lets PHP receive Fast Application
    / O, ~+ L7 ?6 Y0 H3 v. i% X' a
  1252. ; Notification (FAN) events generated when a database node fails. The
    , S' d5 R+ I5 u1 W: _
  1253. ; database must also be configured to post FAN events.6 `! V1 D4 C4 t0 L+ _( _
  1254. ;oci8.events = Off* p9 X& u: J/ p  r; S2 D
  1255. " }! H( ?* H4 i2 l% W
  1256. ; Tuning: This option enables statement caching, and specifies how" q4 p  [8 s; D) ^4 F+ d
  1257. ; many statements to cache. Using 0 disables statement caching.
    + X$ j3 _8 `' u( @2 E1 u' ~7 {
  1258. ; http://php.net/oci8.statement-cache-size& L2 L! U' `# J* m1 a+ p
  1259. ;oci8.statement_cache_size = 20% ]3 h0 M9 j/ |* f! m& {3 a
  1260. * T% v8 l* B/ S0 ?! u2 I
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    2 M, w8 ?3 h+ ^; |: J8 w
  1262. ; rows that will be fetched automatically after statement execution.! e+ k% B5 K# n7 A1 X6 ?
  1263. ; http://php.net/oci8.default-prefetch, l8 x  w5 I9 W9 b% ]9 [
  1264. ;oci8.default_prefetch = 100
    2 W. x1 S! A1 S% O

  1265. 1 W- G+ e' j9 o+ m% o: K& \
  1266. ; Compatibility. Using On means oci_close() will not close
    * m9 f4 j( V  P3 A4 G
  1267. ; oci_connect() and oci_new_connect() connections.
    + `( z0 p' }6 g( G; `. J/ z( T
  1268. ; http://php.net/oci8.old-oci-close-semantics+ p5 C1 t4 z) d/ n& P/ j: b, A* D
  1269. ;oci8.old_oci_close_semantics = Off
    % w% u( J+ o% \* I
  1270. % z' t0 y9 G4 ?, R8 @" n
  1271. [PostgreSQL]
    7 ^8 V5 v! Q8 n2 [( }, N
  1272. ; Allow or prevent persistent links.
    5 R% Z2 @, p) F- i
  1273. ; http://php.net/pgsql.allow-persistent. q4 C% v% x/ U1 I7 v' q$ d
  1274. pgsql.allow_persistent = On8 Z; d# \( Q+ Z8 v) a
  1275. ( R; [) B, W+ N6 r3 M
  1276. ; Detect broken persistent links always with pg_pconnect().
      c9 B; e& g/ l$ A
  1277. ; Auto reset feature requires a little overheads.4 A3 b( \! M2 m0 \0 X) E
  1278. ; http://php.net/pgsql.auto-reset-persistent
    " r, b7 `* R7 X) }6 g& a+ z, T/ ?# r
  1279. pgsql.auto_reset_persistent = Off
    6 K& S  x, j" D+ U: b! P1 O

  1280. $ w4 w* X; |/ o. O8 @  Z% _
  1281. ; Maximum number of persistent links.  -1 means no limit.# U$ m* G4 g6 y6 Z) X' v
  1282. ; http://php.net/pgsql.max-persistent$ |$ e& y3 `' J2 n& L! n
  1283. pgsql.max_persistent = -1' ~5 R' z$ X: C1 c

  1284. , u- d9 D; y) s( o
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.2 i$ H& j# h( L  G) z0 [5 o3 m
  1286. ; http://php.net/pgsql.max-links* x  i/ i3 S3 }( a5 X
  1287. pgsql.max_links = -1
    $ Q0 a3 ?( [: \- G6 _* B8 J* @
  1288. / T" X6 R0 @2 X6 n6 V
  1289. ; Ignore PostgreSQL backends Notice message or not.2 x$ Z) O7 I9 M
  1290. ; Notice message logging require a little overheads.
    ' U2 M. j4 E( s3 [. P' [, P
  1291. ; http://php.net/pgsql.ignore-notice
    # w. v7 a8 A! y6 @
  1292. pgsql.ignore_notice = 05 p  V  Q6 J9 h( |4 f
  1293.   a( y' i7 U4 Q& ~! T! d2 H+ k6 }) C
  1294. ; Log PostgreSQL backends Notice message or not.- v" |0 C* |  z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) O4 e/ T/ y7 y3 K* |  i& B
  1296. ; http://php.net/pgsql.log-notice2 A" n& n# M6 |( e% j/ }" `# O0 u5 d4 B
  1297. pgsql.log_notice = 0+ P3 z/ U. ]1 ~* f! \& w$ J$ f% V

  1298. 9 K! T* i# E+ G
  1299. [bcmath]: J" b6 Q, Z6 U: m1 p
  1300. ; Number of decimal digits for all bcmath functions.
    2 A6 {" j* t/ C8 w7 E8 E" j
  1301. ; http://php.net/bcmath.scale* m/ \1 V  x4 e% C* M1 X
  1302. bcmath.scale = 09 [" e6 u' }& B' h5 [) U

  1303. : F5 R: T, G, n6 f9 J$ `: j
  1304. [browscap]# u) L+ u* d  t
  1305. ; http://php.net/browscap6 }+ G( u: w0 S- L4 m  J& Q
  1306. ;browscap = extra/browscap.ini
    ' |, u! F& m. f( G
  1307. 1 W% ^" _2 j+ ?9 g7 m* }2 v
  1308. [Session]# |7 W$ [0 r2 ^# {- }
  1309. ; Handler used to store/retrieve data.
    + X: v0 s! R' m2 ^
  1310. ; http://php.net/session.save-handler0 Q, K$ a: s5 N
  1311. session.save_handler = files* o* U+ \* r7 }
  1312. , Z6 ]7 v- c4 _( ?2 ?' r) Y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    # i; I2 x% O+ ?/ O+ o) j
  1314. ; where data files are stored. Note: Windows users have to change this0 v' k0 P) L! W3 A" \
  1315. ; variable in order to use PHP's session functions.
    , t% A! d; c( s- B( y
  1316. ;" s5 m+ L* l5 e4 K* C* }- D# t
  1317. ; The path can be defined as:
    0 Y* g7 v( \0 H) p6 R9 j& t8 A
  1318. ;
    * C. @7 v6 Z, G2 v; Z5 a. v
  1319. ;     session.save_path = "N;/path") A" n! F( i" r
  1320. ;# C' F) i# R' U
  1321. ; where N is an integer.  Instead of storing all the session files in" b2 J  I2 J& G3 `. T, e" [$ J
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ' Z$ c2 E' H. t$ i% o) |9 z
  1323. ; store the session data in those directories.  This is useful if7 ~! W* G% J. T2 ~* X5 [! O6 p0 `
  1324. ; your OS has problems with many files in one directory, and is3 ^; ?6 [: n2 u. m3 U, y0 ~& H
  1325. ; a more efficient layout for servers that handle many sessions.; Y3 f: d4 _8 S' `
  1326. ;% T' I+ G6 |; q0 ?
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    " l3 y" z9 {3 A2 N$ H  a
  1328. ;         You can use the script in the ext/session dir for that purpose.( C7 M2 ^) R; E9 F3 D% C
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    . C2 F2 A) t2 j7 S* L
  1330. ;         use subdirectories for session storage
    ! f/ k$ h. ^" s/ }" G0 S
  1331. ;8 g4 ~, f! o8 s! a' O, s7 a
  1332. ; The file storage module creates files using mode 600 by default.
    5 x1 `+ }: y% f/ N7 d0 c: r
  1333. ; You can change that by using
    " [* a5 R. {1 G! f6 `
  1334. ;3 }) R' [; m( D+ ]
  1335. ;     session.save_path = "N;MODE;/path"
    & B0 s& t- i7 k
  1336. ;! m& U" l5 e1 X+ R9 r& Y
  1337. ; where MODE is the octal representation of the mode. Note that this
    % O+ W3 Y( g0 j/ d# p6 T
  1338. ; does not overwrite the process's umask.# N3 L8 ~0 u7 }7 b0 Z: t, V
  1339. ; http://php.net/session.save-path, L& @, ?9 x" B% r* x
  1340. ;session.save_path = "/tmp"
    8 T( K" c+ d. G+ H  K+ G' l  E1 A* d

  1341. ! t0 j7 N, q7 H# R0 N6 d$ ~8 x
  1342. ; Whether to use strict session mode.. L8 u$ q0 R; E
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate  P0 B/ M& ?, ^% W- ]! b  u
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects6 C2 ?) O0 }5 y& P
  1345. ; applications from session fixation via session adoption vulnerability. It is
    9 p: D/ [9 o3 v9 N9 C) g5 [& B
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    2 h3 [" A& _, V$ o
  1347. ; https://wiki.php.net/rfc/strict_sessions
    4 C; a6 D0 `! a! l1 _+ ~$ _
  1348. session.use_strict_mode = 0# `6 f! M: n) b3 u7 Q

  1349. % L. W. G1 P9 F2 O
  1350. ; Whether to use cookies.
    4 z4 M: K' N/ N8 V% _
  1351. ; http://php.net/session.use-cookies
    ) t5 h$ q( A3 {; K, l& W
  1352. session.use_cookies = 18 U* `' ?2 t6 {3 S9 o$ L  f: V

  1353. * e) f; Y8 w; b! w3 L; I1 l2 m3 a
  1354. ; http://php.net/session.cookie-secure1 x3 G* n. L- E
  1355. ;session.cookie_secure =9 Z0 g2 R" e( P- v4 E& ^+ t
  1356. 0 M: N. l! n- D, ]" b8 u. }
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining( A7 J+ m* D" D" ?
  1358. ; the session id. We encourage this operation as it's very helpful in combating5 ?. \: S: |7 O& m$ ~
  1359. ; session hijacking when not specifying and managing your own session id. It is3 L5 n9 a: J7 l
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 C& D6 d% b* I$ Z/ S, u
  1361. ; http://php.net/session.use-only-cookies
    5 F' o$ t( k+ {5 b9 M3 E9 h
  1362. session.use_only_cookies = 1% B9 J, Y/ F9 r3 K! U3 K0 W

  1363. ; N  {# O$ N9 Z; z1 P
  1364. ; Name of the session (used as cookie name).
    6 T0 G8 z: f) N. _& u, X. x
  1365. ; http://php.net/session.name. g6 C# U4 i5 G2 Q3 T. }" b: @
  1366. session.name = PHPSESSID; v0 \  E$ p! l
  1367. 5 G' w9 I9 e* P9 U6 C4 V( z$ h- S
  1368. ; Initialize session on request startup.
    , }4 c- [2 ]! _
  1369. ; http://php.net/session.auto-start
    ; V9 d; J6 Q2 b' \
  1370. session.auto_start = 0* I: V' x7 Q0 D3 q$ E9 F

  1371. ! j7 q, k) ^* G
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 c+ _3 T2 Q  f8 e2 C
  1373. ; http://php.net/session.cookie-lifetime' M/ E" e: ]: }1 {; z, ^- J! N  M5 s
  1374. session.cookie_lifetime = 0$ F1 q# [+ @5 h( C

  1375.   B; J# r0 d/ v* O  C: ^
  1376. ; The path for which the cookie is valid.
    " e/ l  C! Y# N: n
  1377. ; http://php.net/session.cookie-path7 j. a8 Z) E5 `8 m* ?* r
  1378. session.cookie_path = /2 t. f1 M6 i9 G& Z* _
  1379. ' A6 A( K* i) r: ]& `6 J
  1380. ; The domain for which the cookie is valid.
    8 o+ t$ B$ \6 p( F* u; T1 z
  1381. ; http://php.net/session.cookie-domain
    9 f( Q' l# m% q8 L+ D* Y: T; g; K
  1382. session.cookie_domain =
    3 m( Y( `8 Q0 {6 `+ U9 s8 Y2 R" i
  1383. ; x9 B( [4 \6 v0 F" D
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
      E4 c: v- n; s# \3 A* S
  1385. ; http://php.net/session.cookie-httponly
    7 M8 u. S) O! h& W6 M
  1386. session.cookie_httponly =5 Z. L: \8 a' J. C% ^3 m& [7 K8 n

  1387. 7 U3 g/ g4 Y% P3 j: s/ m$ ]
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.- ^2 ~% ^0 M/ g* ]! ]* |2 o( N
  1389. ; http://php.net/session.serialize-handler7 d- \% d% a6 x# z( {7 ?
  1390. session.serialize_handler = php
    ! V- A) }. w4 t" s+ O8 O! N

  1391. : w, z; f3 R  W& d( ?: a
  1392. ; Defines the probability that the 'garbage collection' process is started& k" X8 K7 h5 k& I# y/ S
  1393. ; on every session initialization. The probability is calculated by using
    % _1 O9 X" u3 J0 A2 H3 |# a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    7 x! n( ^) c) M4 ^5 G- K/ }
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ! u* t9 u' a" I8 W- c
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 m7 k9 F* E# t5 }# L
  1397. ; the gc will run on any give request.5 h3 ~+ S. P4 X$ u+ D' o
  1398. ; Default Value: 1
    4 Y9 b, _9 C9 X5 Z$ q( P
  1399. ; Development Value: 1
    . s$ d" }; o$ W$ Y, y" ?; _" x
  1400. ; Production Value: 14 Y/ T4 S" i, P8 n2 A
  1401. ; http://php.net/session.gc-probability2 L! g' @. }" [6 x- V
  1402. session.gc_probability = 1
    3 F3 K+ B: y; }* a$ {

  1403. $ I( S4 z( C! w. B
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " H! v8 D9 G) r
  1405. ; session initialization. The probability is calculated by using the following equation:
    6 G( s4 e0 k2 i; @+ f- u
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 ^0 G5 ^3 @1 M$ [8 A3 w/ W
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    0 j* U( j3 L# l. B7 n6 B: r' c
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* Q  b2 _) A8 V/ S9 m
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # o+ t8 H9 D. `  X5 V
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,' m3 {( [/ f  G; U0 U; A+ n, ?4 \
  1411. ; this is a more efficient approach." K3 b# L% ]+ t0 W
  1412. ; Default Value: 100
    7 k" q7 d# F0 M; U
  1413. ; Development Value: 10007 H/ o8 U! b. ?
  1414. ; Production Value: 1000
    # @- H. n0 [; H( u* M
  1415. ; http://php.net/session.gc-divisor
    5 q  |- y3 n& z$ T
  1416. session.gc_divisor = 10000 V4 G9 W1 x: T8 C- P2 ^; [3 q

  1417. * D. O. M; X3 N0 q' Y' y. j
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    5 |6 v1 [, L3 t1 H
  1419. ; cleaned up by the garbage collection process.( M- ~) S9 n3 c+ ]0 ?
  1420. ; http://php.net/session.gc-maxlifetime2 e5 g7 f# P5 `* F% F5 ~/ Q/ o( B( H
  1421. session.gc_maxlifetime = 1440
    " U6 \5 G7 b1 s  M& W# i
  1422. # F% ]" k" _% X" Y# ?
  1423. ; NOTE: If you are using the subdirectory option for storing session files) |$ w& T, W, r" i: k% W
  1424. ;       (see session.save_path above), then garbage collection does *not*4 z: g+ H7 I# d3 A8 c) G
  1425. ;       happen automatically.  You will need to do your own garbage
    6 N7 h5 v, U3 w' n
  1426. ;       collection through a shell script, cron entry, or some other method.
    6 W& G0 H, |5 ?* z, {
  1427. ;       For example, the following script would is the equivalent of
    * d+ e  v  ]. E
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):; ?% A: `. i6 N! {
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    0 o5 }1 S' q3 d* S4 v& U
  1430. ) {8 X3 H# P6 R) ~- H) R
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    7 p: a) o: k8 r5 a- }7 G
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    % x% E. S+ ~( F
  1433. ; considered as valid.
    # @3 A7 ?& r3 M% ^
  1434. ; http://php.net/session.referer-check
    ; o. k8 k7 a/ m+ m! _6 A2 D  ?' \
  1435. session.referer_check =
    7 w9 i2 |4 h$ s+ g5 x
  1436. ) N8 N3 K- B9 n3 B
  1437. ; How many bytes to read from the file.
    2 N1 Q. L3 s& [* o
  1438. ; http://php.net/session.entropy-length
    $ V& }/ V7 c; d9 Q* z7 w
  1439. ;session.entropy_length = 32
    * i; \1 S9 r& ^$ l& L" X$ q/ x
  1440. ( \$ p+ W4 L+ h: V8 ?( s
  1441. ; Specified here to create the session id.  t; ^! a5 o$ C$ ~! K& o! \
  1442. ; http://php.net/session.entropy-file
    0 w$ \9 ^4 e3 h5 D+ w8 Y
  1443. ; Defaults to /dev/urandom9 R) D# B9 T/ ~# F
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    3 J, t. N5 D/ P1 X: f
  1445. ; If neither are found at compile time, the default is no entropy file.2 k/ I! R# z( \& z" k
  1446. ; On windows, setting the entropy_length setting will activate the2 X( i$ z7 R7 \
  1447. ; Windows random source (using the CryptoAPI)
    & C5 c: j. \0 K) Y8 h" p2 {
  1448. ;session.entropy_file = /dev/urandom) z- t' o1 Z; z

  1449. 3 \- o# ~' o- f: t: f1 p
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects, X& U, K1 h. C/ A9 G
  1451. ; or leave this empty to avoid sending anti-caching headers.& U8 N& w! b( q! z4 k5 e
  1452. ; http://php.net/session.cache-limiter) S8 X/ _! N- N! r* c; G( Y8 F  J
  1453. session.cache_limiter = nocache  M: D9 x, K1 a$ y- A) R
  1454. - u8 W0 z" I1 k
  1455. ; Document expires after n minutes.
    1 B% H4 c2 E+ u8 q. b' x7 a2 H
  1456. ; http://php.net/session.cache-expire" \: l& X0 g! l5 P
  1457. session.cache_expire = 180
    , T, X* m" _1 z; I# ?4 S, R

  1458. 9 J( S# E, |9 K$ r% q- E* ]
  1459. ; trans sid support is disabled by default., g- W1 y$ v$ g- V: g2 |
  1460. ; Use of trans sid may risk your users' security.# m  l/ |/ n9 m$ S0 t3 E
  1461. ; Use this option with caution.9 c3 R& {0 J: S& W7 s: ^8 u
  1462. ; - User may send URL contains active session ID+ S1 F* V! }1 A! i
  1463. ;   to other person via. email/irc/etc." Z* F; Z# x, ]3 r
  1464. ; - URL that contains active session ID may be stored
    : p# ?4 b5 ?' I7 I" L: y) t! }
  1465. ;   in publicly accessible computer.
    + G' W7 M5 P! j& d" ~# a. q# G
  1466. ; - User may access your site with the same session ID
    ( E' ?3 }& w- w& p
  1467. ;   always using URL stored in browser's history or bookmarks.
    # g! O, Y: Z% v+ {6 R
  1468. ; http://php.net/session.use-trans-sid+ f- i% c  j  d) D
  1469. session.use_trans_sid = 0& c5 I  p: k/ w8 N
  1470. 6 X" a( ~" P' z6 g  V% s
  1471. ; Select a hash function for use in generating session ids.
    / S) I3 t1 g5 t0 `) L( b
  1472. ; Possible Values1 Q* G7 |( F+ S
  1473. ;   0  (MD5 128 bits)
    % ]( r& K# t& `6 Q, m+ E
  1474. ;   1  (SHA-1 160 bits)
    ! c- F. U# C) K; G9 H
  1475. ; This option may also be set to the name of any hash function supported by* i' w0 a- t! a! C0 G% A
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / m" I4 D8 {  u7 p) p' ~
  1477. ; function.
    2 E% V/ W% J, ^9 w5 A( u: B" b6 K
  1478. ; http://php.net/session.hash-function
    " G; M( U* [0 p4 W8 m# P' |
  1479. session.hash_function = 08 m5 ?4 U% l8 e, W# U; u/ ^8 F: |

  1480. # e8 c) [8 ]7 `7 y7 `5 f
  1481. ; Define how many bits are stored in each character when converting
    ' w& u4 w. N! _$ q' P
  1482. ; the binary hash data to something readable.
    3 S! w0 q8 E- e7 j
  1483. ; Possible values:
    / A6 |4 ?( {3 o* x# E3 R0 F
  1484. ;   4  (4 bits: 0-9, a-f)# g' n$ [5 E& ^
  1485. ;   5  (5 bits: 0-9, a-v)2 K/ Q; O& q' i
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    2 h; W( Y; f$ P% O9 Z* q
  1487. ; Default Value: 4
    ( n$ k9 z& I% b9 e) ~
  1488. ; Development Value: 5
    " B2 K1 [3 W  Y% S
  1489. ; Production Value: 5( q7 ]$ b1 w  }$ |9 j/ r3 W! O
  1490. ; http://php.net/session.hash-bits-per-character: G9 \) ^2 H& m4 d
  1491. session.hash_bits_per_character = 53 N4 e( l3 B9 |' y! Q3 }3 J+ a

  1492. + H4 e; r8 V0 y
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags." D# l( g5 I$ @  j. ?! g
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    7 I  Q$ S* _, ?3 ?- p
  1495. ; add a hidden <input> field with the info which is otherwise appended
    / B- U# {6 Q5 C; L- e' a
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    4 Y& N3 j4 B: w3 s
  1497. ; Note that all valid entries require a "=", even if no value follows.
    5 b' Q. m9 W  @. B9 q7 O
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & x( i: ~- W  v
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- ]5 u3 Y# H: X* o% v' r' t# d
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": W0 F; |8 Y$ n7 _. k4 E3 J1 w
  1501. ; http://php.net/url-rewriter.tags1 J: }& w7 }2 `" A$ O1 d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    * e/ C. y) A" I9 ]7 V% z: v

  1503. " n3 w1 U& o, n. G* k
  1504. ; Enable upload progress tracking in $_SESSION
    9 k1 _( o* ?! a* ^# }5 i
  1505. ; Default Value: On4 ?- [: l6 p: r" V3 n1 s3 J# ^
  1506. ; Development Value: On
    + n: Y) o6 _  I6 Z# x8 Z
  1507. ; Production Value: On4 x6 ~3 e, w6 d5 O
  1508. ; http://php.net/session.upload-progress.enabled0 X: x; A; E; r# u, F
  1509. ;session.upload_progress.enabled = On8 O( y/ m! @  S, s/ }  w
  1510. ' b. ~* i  F$ Y0 d  n$ i* t) z- S' a) W
  1511. ; Cleanup the progress information as soon as all POST data has been read/ H& g* p" k: l+ B
  1512. ; (i.e. upload completed).  E/ {+ N  ]0 x% Z+ H, h
  1513. ; Default Value: On3 q4 Z$ Z0 e' T7 [
  1514. ; Development Value: On
    $ c# Q; ~0 n& s" I2 I3 _
  1515. ; Production Value: On, r" `; _2 m0 W$ J
  1516. ; http://php.net/session.upload-progress.cleanup
    $ R4 B2 N) Q; ^& ~  `! ~
  1517. ;session.upload_progress.cleanup = On/ O7 a4 ^. L# M2 G/ t
  1518. 7 e0 l: m% K$ d0 M( `9 S
  1519. ; A prefix used for the upload progress key in $_SESSION
    + Z% \2 u9 d. j% \  D( f; b0 a
  1520. ; Default Value: "upload_progress_"8 I: d7 |* v+ P& a: S/ Z
  1521. ; Development Value: "upload_progress_"9 `- H. [- O* V
  1522. ; Production Value: "upload_progress_"
    / X1 P, `  [, R$ w  b
  1523. ; http://php.net/session.upload-progress.prefix. q+ {% j8 D, ]
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ' v+ ~# j+ i* k, b9 D. |# W
  1525. " K) V; ?/ h! z3 R3 J3 @
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    7 m6 _. P$ |* h* ~
  1527. ; containing the upload progress information
    . n0 n2 W& ?7 x) y- Y8 U" Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ j8 o8 G. d" O; y* m
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- h* P) `) O# i, w+ f$ d7 r
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - D6 Y* f' d0 P: u. i
  1531. ; http://php.net/session.upload-progress.name
    6 H; u' s5 k# h4 h' a4 E6 ]1 H
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * G9 c8 O6 n* v0 T
  1533. % z8 V' g; s& }. g6 J1 {
  1534. ; How frequently the upload progress should be updated.
    5 R4 ?8 W; N! K" h
  1535. ; Given either in percentages (per-file), or in bytes( o6 v' H" p1 H8 [; P
  1536. ; Default Value: "1%"2 U  l# C/ e7 m7 F: t
  1537. ; Development Value: "1%"1 W5 e; ?4 ~8 U$ i
  1538. ; Production Value: "1%"
    ( l! j. d" Z" S
  1539. ; http://php.net/session.upload-progress.freq
    $ X8 {& ?5 c( U3 j+ \
  1540. ;session.upload_progress.freq =  "1%"/ R, C% g9 y1 \' ^

  1541. 4 P- o$ `6 _( [
  1542. ; The minimum delay between updates, in seconds
    " ~) J: R% V, {+ S  p% I
  1543. ; Default Value: 1
      K1 c9 J1 g- v
  1544. ; Development Value: 11 J7 N5 k* _: i2 A. P; Q
  1545. ; Production Value: 1
    ( n/ R. l8 H1 w: w2 \( a3 j
  1546. ; http://php.net/session.upload-progress.min-freq3 `: e' s; J# D) X
  1547. ;session.upload_progress.min_freq = "1"
    . U2 l8 H8 {# D! z0 n4 X

  1548. & C+ I$ q( x0 n" P- `9 J) D& C
  1549. ; Only write session data when session data is changed. Enabled by default.
    4 H1 M! q2 e" J" q
  1550. ; http://php.net/session.lazy-write
    . D4 Y( _6 N" W4 J7 h
  1551. ;session.lazy_write = On
    0 f- s1 `1 Z# ?0 Q8 Y" j( X/ I

  1552. % f: b/ Z% R& S3 z' k4 T7 R
  1553. [Assertion]
    " `* Q  f2 M: b; [3 I  J3 u, U
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)6 h1 ~/ I" G: N8 h* N- k2 Z2 q
  1555. ; -1: Do not compile at all
    ; F( _- L1 S/ B
  1556. ;  0: Jump over assertion at run-time
    * p, U. H/ U/ f( T* K9 J7 [
  1557. ;  1: Execute assertions, J5 C4 P4 m; w5 u- N
  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)4 h0 A& p8 `/ q: Q7 c$ t5 h
  1559. ; Default Value: 1
    1 H  ^7 T$ g3 t" l/ z
  1560. ; Development Value: 1( h# B/ G" z% R8 L
  1561. ; Production Value: -15 X$ W6 ]# z, V& H
  1562. ; http://php.net/zend.assertions
    " u1 h3 d% T* _' k1 w
  1563. zend.assertions = -1: H; n7 Y% R. H! C- p7 p

  1564. 2 _3 u' I5 X  }# S: ]) f+ S) S' b' ?
  1565. ; Assert(expr); active by default.0 ~' o* G5 H/ r1 W
  1566. ; http://php.net/assert.active
    1 l' T' h8 X; a/ g- c% Q4 F" G
  1567. ;assert.active = On. _# N$ j( F  Y8 j

  1568. * c! p* v. X. ~% _
  1569. ; Throw an AssertationException on failed assertions
    " c2 b& B  L; m* T' Y# y
  1570. ; http://php.net/assert.exception
    ' {& b4 Q$ m6 Z( r! [6 A5 i
  1571. ;assert.exception = On
    % k$ U" u& B2 I/ V6 Y) _9 X8 L
  1572. 4 e) ?6 Z& k0 P7 |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    / p( N) m3 ?( i$ |) w; n0 X
  1574. ; http://php.net/assert.warning9 F" W2 C  D. s* k, N$ l
  1575. ;assert.warning = On' I" P2 W* L- ^6 B+ R+ ^

  1576. $ k- g5 D1 B( L) R# _( s' V
  1577. ; Don't bail out by default.
    ) n' ?) J, X" g# u+ {, k
  1578. ; http://php.net/assert.bail
    ' L) J3 K8 Y0 |3 y% N
  1579. ;assert.bail = Off0 \/ E) v( H+ y( c/ ^: X
  1580. + D+ E3 O1 [7 N$ `! S, G7 H% B9 K
  1581. ; User-function to be called if an assertion fails.
    / ?- ~! S* _3 I6 q& b% O
  1582. ; http://php.net/assert.callback' Z8 @) S# M( A* q& ]0 I3 U! Q7 J
  1583. ;assert.callback = 0
    , O" T! [# \- s$ G) h# Z
  1584. 9 i  Z  W2 i9 v7 s2 N8 _
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    0 y/ k. d# R5 t; D
  1586. ; error_reporting(0) around the eval().
    " q# |) K" r& C- t  e3 Q0 A
  1587. ; http://php.net/assert.quiet-eval
    0 X' k- _0 [2 U4 j1 G- }
  1588. ;assert.quiet_eval = 01 x/ }5 m  `9 a/ s4 [7 E7 A. W
  1589.   }& o( t, P; r
  1590. [COM]
    - O+ h0 ]* E* t2 x0 J& B( W
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs7 O7 E! k! A; U6 i2 h& ^" c
  1592. ; http://php.net/com.typelib-file1 T9 D( {" @$ v) z# n# x
  1593. ;com.typelib_file =# W& Y/ M$ E0 A# h3 }3 r' F% V
  1594. 2 f& Y" \5 }' S8 q
  1595. ; allow Distributed-COM calls
    . b4 G. W5 N/ M1 H% @) {3 d
  1596. ; http://php.net/com.allow-dcom
    + C. r2 W7 T, k! F1 k: C) j
  1597. ;com.allow_dcom = true& N! K; }/ g! i- p" P  v
  1598. 5 p+ s  Y1 ?; P2 ?# h; ?
  1599. ; autoregister constants of a components typlib on com_load()# q$ J% R! }/ r
  1600. ; http://php.net/com.autoregister-typelib1 a$ n/ u  y$ y, P1 ~+ r1 n
  1601. ;com.autoregister_typelib = true
    2 t' A5 u% m7 i3 A% [

  1602. ) l7 m  @+ J4 @4 J) w' L
  1603. ; register constants casesensitive  N7 m4 S3 f6 m3 `
  1604. ; http://php.net/com.autoregister-casesensitive# X6 c, h" `, h( r
  1605. ;com.autoregister_casesensitive = false# j) T; P9 U$ i: j0 {

  1606. % s0 p8 V; j/ C/ S$ D" H) k
  1607. ; show warnings on duplicate constant registrations
    8 s  o$ V% \7 X
  1608. ; http://php.net/com.autoregister-verbose
    ! g% q" e0 n7 d  ~, @5 l2 N
  1609. ;com.autoregister_verbose = true. V3 n9 c( c" Z  Z; m

  1610. - v! x1 b4 c3 ^( V- I" C# n/ P$ [
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' a3 \- p; B' s
  1612. ; Default: system ANSI code page
    0 v3 a& ~; H7 T2 \% g$ [6 F
  1613. ;com.code_page=/ l8 b8 E6 H4 Y# c2 ~+ b

  1614. 3 S1 x$ }% @. N, O( U1 p. W" C# G
  1615. [mbstring]
    ( @9 g7 j+ _7 b! l# c8 ^
  1616. ; language for internal character representation.
    : R7 X. f- x7 k. r1 h$ _( Q
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ' w/ G; F* v( n5 P+ |
  1618. ; http://php.net/mbstring.language. {; P  p, s4 K; e7 d& w4 @
  1619. ;mbstring.language = Japanese7 T+ T5 k3 U  G( o- B
  1620.   l4 g1 o, v% i5 F5 J- M
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 A3 }" a) q! a: u2 g; I
  1622. ; internal/script encoding.# ?. ~& V8 V+ R% Z, o5 X
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)5 n! l( x, ~: w" d2 b' R
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 U( a9 o- v; U
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ t" [( f# P* q& q7 e% W( k4 S# Q
  1626. ;mbstring.internal_encoding =
    , S6 X; ~% b0 d8 M

  1627. " W2 D6 V. A2 z( U& S
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead., _9 Q/ _: t3 J8 ]/ A- ?
  1629. ; http input encoding.
    . w  Z% V, I1 L- t4 ]* j
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.6 f: ~% {2 H& b! r% F8 d
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used., L8 L. q& p7 W# k4 E/ L
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    6 z- z/ i! W+ |0 g! r
  1633. ; http://php.net/mbstring.http-input6 R0 a4 `. v; J, R0 {
  1634. ;mbstring.http_input =
    + X' q# W) d8 m) Z+ b, e7 z5 c

  1635. 7 I( ~4 `7 c3 x' i2 ?- V
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead." Y( h7 j6 C: M; b+ `
  1637. ; http output encoding.
    8 u+ A" I/ H7 G; v' A6 P8 q% a
  1638. ; mb_output_handler must be registered as output buffer to function.+ H+ Y/ I+ g) X
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( r0 [' ^) L6 `/ h
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output) Q  o0 [& F! ~, @4 s- _  t
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    9 `$ x. f7 |* ?8 c8 J
  1642. ; otherwise output encoding conversion cannot be performed.7 N0 M6 ^& t, V. ~; X. }
  1643. ; http://php.net/mbstring.http-output
    2 m+ k3 d. m: S6 F! P( {9 j
  1644. ;mbstring.http_output =8 e. J6 }5 h! x( x, w) I! u

  1645. " W8 S. k+ ~/ s9 K+ Z/ B
  1646. ; enable automatic encoding translation according to
    : N1 @. ]3 ?4 I4 o# x8 q
  1647. ; mbstring.internal_encoding setting. Input chars are8 e( X7 u8 }: q, ~
  1648. ; converted to internal encoding by setting this to On.
    / X; W* K. l4 d3 k: r8 s
  1649. ; Note: Do _not_ use automatic encoding translation for
    4 S5 ?  m4 g# l. Z) t* K0 g9 [
  1650. ;       portable libs/applications.
    $ n3 L$ I9 D2 C+ [% r5 z: }/ c" \  b
  1651. ; http://php.net/mbstring.encoding-translation% o6 b5 N) e# S
  1652. ;mbstring.encoding_translation = Off" o0 }: v/ v6 @2 p
  1653. . X: q: e8 N1 R* P
  1654. ; automatic encoding detection order.1 t* r0 l8 U7 P4 ]1 Y8 }2 v
  1655. ; "auto" detect order is changed according to mbstring.language, p! T/ L  J0 p& x* s! A$ f0 ^0 h
  1656. ; http://php.net/mbstring.detect-order
    % n% _6 ?# ~% z% Z6 N1 J( R
  1657. ;mbstring.detect_order = auto/ b' C; w" d9 B& a' `. l

  1658. % W* \* p+ q+ S8 |3 W1 w4 g1 o0 _
  1659. ; substitute_character used when character cannot be converted9 Z5 V, g9 b; m/ b1 F6 ^
  1660. ; one from another
    # T6 u0 _/ b% i, S0 M$ p6 B! C  |
  1661. ; http://php.net/mbstring.substitute-character
    ' Z& d5 ?1 d) d
  1662. ;mbstring.substitute_character = none% y4 k8 I- E/ O( o" Z) N8 l: ?
  1663. ( v3 }1 \1 x7 C' K* `
  1664. ; overload(replace) single byte functions by mbstring functions.
    , k7 N0 K( Q9 ]
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % L5 s- N/ o0 Q1 G( f% S# W  B
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    6 S- P# w; h2 O" K: M: Z  p
  1667. ; For example, 7 for overload everything.
    3 O: }8 r. Q: D6 J2 J, M0 ]' E
  1668. ; 0: No overload) m# @, W$ U  r2 H& {" ?0 p
  1669. ; 1: Overload mail() function
    0 z8 o0 T! g" \$ ?; c8 s
  1670. ; 2: Overload str*() functions( F( O; k& @3 x: y/ |
  1671. ; 4: Overload ereg*() functions
    8 K* W6 ^1 _2 j2 g+ }* V
  1672. ; http://php.net/mbstring.func-overload
    2 Z* |+ N  w% P5 c# L4 m" o
  1673. ;mbstring.func_overload = 0
    ( E6 L. K+ V- d8 b1 S: K# m

  1674. , T# ?- d; S& K: Q
  1675. ; enable strict encoding detection.$ ?2 b# R2 }. e
  1676. ; Default: Off; k" K. @; Y1 }* d
  1677. ;mbstring.strict_detection = On
    , w' w- _, B. I& @% v
  1678. 4 a$ g% @5 X$ z% a8 G. E$ m
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ( I* w; O" X0 C9 [4 ?( _& |% `
  1680. ; is activated.
    ! e! y: G  a- e* L1 m2 j$ R
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* Q. _/ d8 h& n; U
  1682. ;mbstring.http_output_conv_mimetype=
    % m; ~- e9 Z+ J! f  u- @+ V

  1683. 7 f' m1 q/ C' m& c
  1684. [gd]( H7 e! f% N, ^) D. `% P
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    4 \( k6 {2 j. t, `! V) g$ V
  1686. ; a gd image. The warning will then be displayed as notices
    % O9 w6 s, a  `# W4 o% |; s
  1687. ; disabled by default
    ) Y$ m' U9 G# [) I, P/ ~; J+ ^
  1688. ; http://php.net/gd.jpeg-ignore-warning+ r/ S5 f0 g% M
  1689. ;gd.jpeg_ignore_warning = 0
    ( [; U4 [5 m0 M+ Z% j* g- |# @
  1690. 9 W9 j# `6 y: N
  1691. [exif]
      _1 y6 M7 x8 a- [- `
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    4 q5 s. U- t* ]* D
  1693. ; With mbstring support this will automatically be converted into the encoding
    2 h4 q/ h+ o6 P
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : F( B) R7 n5 ^: k" T
  1695. ; is used. For the decode settings you can distinguish between motorola and" p1 z- g: T% p/ t2 U
  1696. ; intel byte order. A decode setting cannot be empty.
    8 ]2 X7 T4 l- G( H6 o! `  e5 R
  1697. ; http://php.net/exif.encode-unicode
    9 ~1 A' r. c! f% [' g9 t+ ~
  1698. ;exif.encode_unicode = ISO-8859-15
    3 E/ K- S3 y& r5 ?  E' j5 d

  1699. 3 R, ~3 M" Z9 h+ j% }
  1700. ; http://php.net/exif.decode-unicode-motorola
    5 r: b- E$ d* y( m4 L% R% L
  1701. ;exif.decode_unicode_motorola = UCS-2BE& V$ ~- K/ W* m2 U3 b0 K

  1702. $ e( _) i9 W" M
  1703. ; http://php.net/exif.decode-unicode-intel5 S) H- _0 Y& h8 s
  1704. ;exif.decode_unicode_intel    = UCS-2LE& G) q7 U% z* n. Q1 t

  1705. 2 y; F" h8 q& k# i, [
  1706. ; http://php.net/exif.encode-jis
    4 T% _2 [; R+ d+ W1 A* |
  1707. ;exif.encode_jis =
    3 f. E- r/ L/ c# c5 |
  1708. 5 B: {+ f% d1 O# U) D! t. c
  1709. ; http://php.net/exif.decode-jis-motorola
    0 @9 Y4 L- T! g2 `% ]
  1710. ;exif.decode_jis_motorola = JIS: S! _5 R$ V$ ~7 F  L" d
  1711. 3 e5 {4 O' m! _) c
  1712. ; http://php.net/exif.decode-jis-intel6 i/ y) n( Z% a( h
  1713. ;exif.decode_jis_intel    = JIS) q  r  P8 c- ~1 W* n3 Q' m1 K" L+ M( X

  1714. 3 O, ]: n. M/ u
  1715. [Tidy]* z+ O9 a7 n& x. V
  1716. ; The path to a default tidy configuration file to use when using tidy
    0 j& r7 D8 t7 _1 o8 K
  1717. ; http://php.net/tidy.default-config
    * T' e$ V" g' I2 i
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg  W1 V+ F/ W, N4 E2 f
  1719. % @- S- ]* K, ~, T
  1720. ; Should tidy clean and repair output automatically?7 d4 q7 ?8 F" a, s
  1721. ; WARNING: Do not use this option if you are generating non-html content
    9 R2 {! W& W9 v* {# F; P
  1722. ; such as dynamic images
    : u% y$ I% _" T6 h
  1723. ; http://php.net/tidy.clean-output! H: v& x; k0 p* J
  1724. tidy.clean_output = Off: P2 w  I  [1 e1 U
  1725. 4 ?3 d  o7 q' u! A1 r; A, k& p
  1726. [soap]
    6 ]+ b( K  `7 W4 o1 U
  1727. ; Enables or disables WSDL caching feature.
    4 g( Y; ^9 z& N
  1728. ; http://php.net/soap.wsdl-cache-enabled9 ]5 H9 u. W% z- ~# x
  1729. soap.wsdl_cache_enabled=1
    , U" M0 g1 Q) b7 r3 B

  1730. . {2 U0 X; `, K
  1731. ; Sets the directory name where SOAP extension will put cache files.
    + x, |" Y# h2 |
  1732. ; http://php.net/soap.wsdl-cache-dir
    # ]; q% `/ k3 k( }0 v1 B1 I
  1733. soap.wsdl_cache_dir="/tmp"3 j2 I; |9 h. W: f
  1734. ; q* e5 E  N  U- T
  1735. ; (time to live) Sets the number of second while cached file will be used  h8 F! D6 _) C
  1736. ; instead of original one.
    - J2 n; H" a7 v7 R$ e
  1737. ; http://php.net/soap.wsdl-cache-ttl
    3 F, r3 U7 q4 ^7 E0 @3 G
  1738. soap.wsdl_cache_ttl=86400" D8 k% o0 e) Y" \
  1739. 2 d# u  Q0 b. g) f) j5 y# [
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    7 a* B! X3 E1 a% A
  1741. soap.wsdl_cache_limit = 5* _) D( [9 o  T0 u
  1742. 0 E3 M0 R; u$ `! c0 f
  1743. [sysvshm]; @+ u  ?2 l$ \" i8 b4 N: O3 [* s
  1744. ; A default size of the shared memory segment
    ( f1 f' u2 w. m- o* p+ s
  1745. ;sysvshm.init_mem = 10000
    : \- E) Z/ ~# ]) a

  1746. . D, Y* V6 t* I6 B; k! g
  1747. [ldap]
    6 z& f; }9 A$ |( W$ g9 Z
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    + z8 ?6 I$ A9 A5 }
  1749. ldap.max_links = -1! v( p* l% T& _- s9 @7 H7 O

  1750. * m- L" ~4 A1 t- W: Y$ d, B
  1751. [mcrypt]
    6 @2 z: n; G3 L) N0 g2 ~
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open- V- K. t) [0 q

  1753. $ P  Y' H9 M# s2 |4 U8 j
  1754. ; Directory where to load mcrypt algorithms1 n9 U8 Q5 _2 E9 S
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : E) T1 U, R5 V# r' o+ `
  1756. ;mcrypt.algorithms_dir=
    5 O/ J& s% Y" j: ~

  1757. / ?! s" G+ l- `, c" d
  1758. ; Directory where to load mcrypt modes
    . k4 s% a* F  ~. n$ D, z: T
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + J* _" U4 I3 Q# S# F& j  o' @, }# h
  1760. ;mcrypt.modes_dir=+ `* n- v$ f2 x! A; M5 A

  1761. 8 `6 G; {: \$ ~4 {
  1762. [dba]
    - e% G) [8 J! a. w  d0 c- H, X4 c$ f
  1763. ;dba.default_handler=
    $ V3 d( U* H: k: |4 T
  1764. ; P* D/ M) |& M% l# C
  1765. [opcache]7 G  {0 O# I* O
  1766. ; Determines if Zend OPCache is enabled+ r( \$ p+ b$ p6 Y. d
  1767. ;opcache.enable=0
    ! m: d8 G5 D6 \' T7 y9 g& o& f- u
  1768. . Y! _5 l& q: ]8 o6 \( z6 j
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP$ f' S9 K/ q9 }$ u
  1770. ;opcache.enable_cli=0$ r! t8 I- E! H' b% H: [

  1771. : [+ C( x! x$ p
  1772. ; The OPcache shared memory storage size.
    9 ~- R6 ^6 X8 ?
  1773. ;opcache.memory_consumption=64/ H8 R: T! Z2 W8 u5 h

  1774. 4 }9 t# Y6 ?; t6 h+ S' q! s
  1775. ; The amount of memory for interned strings in Mbytes.
    ! f: H) s5 X4 _
  1776. ;opcache.interned_strings_buffer=4
    0 |2 @0 S8 h# u6 V+ @' f1 w: ?1 ~9 c

  1777. # H" h0 b+ a: B. |& G8 N8 r- X) r
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ! S4 j# x: m" d: W: E/ t+ b
  1779. ; Only numbers between 200 and 1000000 are allowed.0 O2 K, u* r8 r
  1780. ;opcache.max_accelerated_files=2000
    2 m8 ^1 ]2 G2 N+ ~+ v

  1781. * t$ W; ?* q  @& g8 }
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ; \- a/ L9 |. |  i( y+ @3 L4 o
  1783. ;opcache.max_wasted_percentage=5
    * C$ Q! z( ~5 U* f; M. S

  1784. + z# l2 j$ a; l& h8 q; J
  1785. ; When this directive is enabled, the OPcache appends the current working
    * q# d( l* G. C9 V# m0 J+ [
  1786. ; directory to the script key, thus eliminating possible collisions between$ W" e* _6 f+ L9 j! p$ Z  {
  1787. ; files with the same name (basename). Disabling the directive improves
    4 U6 Z4 M, b* r$ [+ P3 N
  1788. ; performance, but may break existing applications.. H, C" A2 [, C  Q. P
  1789. ;opcache.use_cwd=1
    ) x7 e% A2 N0 C: E, p4 M

  1790. 4 G% A7 T, u, A
  1791. ; When disabled, you must reset the OPcache manually or restart the( g9 u1 o5 Q5 |% n
  1792. ; webserver for changes to the filesystem to take effect.& @5 M% q% c; R! V$ r# r
  1793. ;opcache.validate_timestamps=1
    $ _6 i' C) D7 Q: Q  _$ k1 w/ |+ }

  1794. ; D/ D* ^, w4 ~/ z+ r
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ) j" C' M1 ?" P) r+ [2 M# ~9 v$ o3 y
  1796. ; memory storage allocation. ("1" means validate once per second, but only# Y$ b. P3 g* o0 T, w$ t9 B. d
  1797. ; once per request. "0" means always validate)
      F9 {' E" C1 H( X+ E
  1798. ;opcache.revalidate_freq=2
    1 n$ c* B! N! r% R! r
  1799. 3 g% _6 u6 ~+ O& Q6 j
  1800. ; Enables or disables file search in include_path optimization% M+ E) L5 B7 ~& D8 K* T, y
  1801. ;opcache.revalidate_path=0% b$ _# K& n: G( X1 c8 f

  1802. . ]' B) w6 B3 u5 U9 E! ?4 g
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ; G5 p& P! P7 x4 A- f
  1804. ; size of the optimized code.' y6 g2 e+ f4 b" J& G9 Q
  1805. ;opcache.save_comments=1
    9 Q1 F7 ^" c- t

  1806. 2 q& @: i( g# T& o) o
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    7 H' A, `+ u/ L7 h$ s
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.( r6 H2 }1 l& ^$ v1 }3 L) o
  1809. ;opcache.fast_shutdown=0$ Z( G" v9 c8 g$ [- C, Q5 q' x/ j

  1810. 4 ?- b* X1 q- v7 k! l2 N
  1811. ; Allow file existence override (file_exists, etc.) performance feature.$ N( |- h1 C2 u: t% s& }/ r+ ?2 d/ {
  1812. ;opcache.enable_file_override=0
    9 `, X) m5 A+ {$ t# ~. d

  1813. 1 {/ y$ y/ |5 E6 x" L
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    $ y  ~( A5 r8 i% s, I
  1815. ; passes, @1 F; \3 q/ H# Z) v
  1816. ;opcache.optimization_level=0xffffffff
    , l' \8 ?) s, K, z: l* {" Y

  1817. & M! k( B3 }  G5 `: p
  1818. ;opcache.inherited_hack=1: u$ U1 T1 k2 I& T) c$ H
  1819. ;opcache.dups_fix=0- y, ]. M& P0 D4 x1 z! _) J
  1820. . s8 F" z9 |7 E, a0 f
  1821. ; The location of the OPcache blacklist file (wildcards allowed).6 G9 I$ c7 J1 ^, R# J4 W( i3 l
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    : M( E, t: M: q# t1 w
  1823. ; that should not be accelerated. The file format is to add each filename1 U' \7 N# r: }7 d; d
  1824. ; to a new line. The filename may be a full path or just a file prefix
    1 x5 A% U) r" n
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    & s0 `) y! x" G7 K7 J
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    3 R7 }% H' |. g
  1827. ;opcache.blacklist_filename=1 v0 B, o* ^* l5 c
  1828. 9 l' j4 Q3 t9 `4 d
  1829. ; Allows exclusion of large files from being cached. By default all files
    # ^3 i) ]$ x  r1 l) s# h* m
  1830. ; are cached.
    " b( P  E8 Q* n; P& ]( O
  1831. ;opcache.max_file_size=0
    & w( c- F% o+ @  p* `
  1832. % V' k% p4 [9 [/ n
  1833. ; Check the cache checksum each N requests.
    $ W) o% @/ V" E# ^2 i" K
  1834. ; The default value of "0" means that the checks are disabled./ S% _) F0 K% L: Q. n  ?4 I
  1835. ;opcache.consistency_checks=01 \+ q4 c, d/ M' E* T

  1836. - j) r( t" P6 X& R1 z2 Q6 U1 g
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache6 S) ~# w) @1 I) Q1 \
  1838. ; is not being accessed.
    " c9 q. j* m" ]+ O4 D+ b$ [" K/ S
  1839. ;opcache.force_restart_timeout=180) i. v# @; {1 U* l

  1840. 7 F' u+ H7 y' |9 e3 z1 W
  1841. ; OPcache error_log file name. Empty string assumes "stderr".4 T$ r, Z" s5 g9 J; P0 h5 u
  1842. ;opcache.error_log=
    # Q6 ?$ T9 v4 h9 }' E# V/ P4 v

  1843. 9 ?1 L+ f9 z$ o& Q
  1844. ; All OPcache errors go to the Web server log.
    & f2 b/ u& j* S# P. w: l! M
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* z6 l8 s, V( B9 G# S9 F
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    2 c; Y. O. U* t$ q0 L
  1847. ; debug messages (level 4).
    5 u8 e$ A6 |- Y: }  t4 a' g) U4 h
  1848. ;opcache.log_verbosity_level=15 X7 |/ x& r$ v1 Q4 S  o! @
  1849. 5 o' B) ?( n/ d$ f# V1 X
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . z$ `* c. n" |0 l9 H5 c
  1851. ;opcache.preferred_memory_model=4 \2 C" R% J3 N5 u" [- e

  1852. ; X8 U/ S1 H$ c2 M' e" r
  1853. ; Protect the shared memory from unexpected writing during script execution.! K) d% s0 u; L5 @, r
  1854. ; Useful for internal debugging only.
    9 ^5 |5 }: g7 o  \( U& }8 |
  1855. ;opcache.protect_memory=0" a5 k" y2 T; L! K

  1856. , }. B. q8 x$ W, x# _3 N! i2 V
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    . B1 M3 Z. I1 ~& u+ E6 T& i. ]) u4 o
  1858. ; started from specified string. The default "" means no restriction
    / _9 g+ X8 ^; {; p+ }; S
  1859. ;opcache.restrict_api=* d  \7 ^; y: b3 ]- U4 f
  1860. 9 H+ q1 d) u, i3 Q, Q
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP# S. x1 p# t% C5 c+ h9 m5 y- y& i
  1862. ; processes have to map shared memory into the same address space. This
    * F. w( V+ H% y1 @
  1863. ; directive allows to manually fix the "Unable to reattach to base address": c- z! d/ \: l2 J6 s. D4 N
  1864. ; errors.
    5 d# N+ k: X# U* S
  1865. ;opcache.mmap_base=7 g. F7 V" T2 E/ s% f
  1866. . F$ A1 m, z$ r' P. a) T' W
  1867. ; Enables and sets the second level cache directory.
    . w/ E/ o3 z  j' J  `# E& f8 k
  1868. ; It should improve performance when SHM memory is full, at server restart or4 i7 O7 m$ `, M- x4 n* C* h& w
  1869. ; SHM reset. The default "" disables file based caching.
    " @7 p" Q2 `! q5 ^+ o  K
  1870. ;opcache.file_cache=2 a4 L2 E# f) C) D) {, K5 \
  1871. 2 K: `3 U8 @  I& f" c
  1872. ; Enables or disables opcode caching in shared memory.
    " S9 b7 h& R5 s% R) b
  1873. ;opcache.file_cache_only=0% \4 k0 w$ x, W% s) ?2 ]- P
  1874. - l; ^0 ?& D7 F. Y
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    8 c/ V# [+ ~/ F/ m
  1876. ;opcache.file_cache_consistency_checks=1
    & X$ I' L" j' u  w4 C( ~/ j

  1877. ; c( `' ~* J/ f( ?
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to) y# @& {- y' S" F1 t3 L; f
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file% ?# U; E: `" u/ b  }4 o
  1880. ; cache is required.7 D6 b3 m4 C/ T8 w4 k2 k: F" r
  1881. ;opcache.file_cache_fallback=1
    & I# q" L" B" r+ ]

  1882. ! q. t, {1 U1 V3 Z
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    4 K) i  P+ a' a+ B
  1884. ; This should improve performance, but requires appropriate OS configuration.
    8 x& v: H3 c! S/ y% {
  1885. ;opcache.huge_code_pages=1
    ! W/ u' G: Z* a. z; F8 x! V

  1886. 2 C3 y9 d( e, E4 M$ Y9 U) F
  1887. ; Validate cached file permissions.# k, L- {5 [# m  m* L" U4 `
  1888. ; opcache.validate_permission=0
    ) _) C9 d7 M* G' i: p* S, ?! s

  1889. 5 g$ Y" B5 `+ i4 b: i/ I* H9 ~# h% k) Q
  1890. ; Prevent name collisions in chroot'ed environment.
    8 ~. n' X0 ^, r2 Q
  1891. ; opcache.validate_root=0
    ) V. p4 i* h" U, A6 [: k

  1892. % g  e+ Q7 C$ w  z  K$ L
  1893. [curl]
    : h0 f8 @8 z( q' J" n
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& ^' M2 a" f3 o* V- E
  1895. ; absolute path.
    - {. U+ @4 U  w2 z# G; V3 u1 h
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt8 B; c0 t8 z& |7 t

  1897. 5 ~8 o" s$ s4 H0 U4 w
  1898. [openssl]0 ?' {7 T! a& C. F' v# k
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    0 \( E6 I. W! p' b3 z* y1 q% _
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    9 `3 ~6 P3 i: l  M3 t; J
  1901. ; not specify a value for this directive as PHP will attempt to use the$ V$ F) O- Y* V$ i1 b; l/ f
  1902. ; OS-managed cert stores in its absence. If specified, this value may still1 j8 f  W% _9 Z. l$ f4 u3 _
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context9 r" ]1 F8 J- `
  1904. ; option.7 C4 X9 ~4 f8 z7 l
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt& m4 w- I: U2 x" K" H+ F4 A

  1906. 9 ]; O- m, b9 E4 f
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    / l( s0 h$ P: K- G% J0 h
  1908. ; directory pointed to by openssl.capath is searched for a suitable3 C( z8 F$ f. C1 R
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    5 |8 N) M8 p8 k( h1 V7 z* Q
  1910. ; Most users should not specify a value for this directive as PHP will! V, {6 c& e. K4 F, k
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,6 m& C9 f4 S4 g1 k
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ( a( A4 [, ^+ P3 i6 @3 u
  1913. ; SSL stream context option.) V7 t4 z8 J7 h' C0 a, }# W
  1914. ;openssl.capath=- N5 {6 D& k% x. J% v# @* k
  1915. 8 B: r- `" L. B" w. D  I0 Q
  1916. ; Local Variables:
    2 s/ B: D" _  B# ^, j
  1917. ; tab-width: 4
    1 ~& T: Z! y1 C; u, V
  1918. ; End:/ y( V1 G( k! ]

  1919. 4 r  B) N3 g$ @( M
  1920. ;eaccelerator
    # y% r4 V* f" X" M7 J  g
  1921. 5 U" ~# O1 U& o: F( A5 m/ G
  1922. ;ionCube
    0 h% W2 m* k% {( W" c7 j. U
  1923. 6 A+ H( K& `+ q; E+ w/ O2 ~* r
  1924. ;opcache  u, c7 W3 {: v- n4 ?& U  W
  1925. % q9 L3 ]8 [- P3 S6 b
  1926. [Zend ZendGuard Loader]
    ' L" g/ d, ?7 P3 b1 Y6 Z
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    8 R6 d8 h3 |# B6 n: r+ J" S8 ?7 z2 ?
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so1 D0 i. U. M4 u3 i  ^/ D- l9 T
  1929. ;zend_loader.enable=1" ?$ Y. C# i) n$ c
  1930. ;zend_loader.disable_licensing=0% E" g! R. f7 k) Z- ]4 s
  1931. ;zend_loader.obfuscation_level_support=37 y. p( i3 n4 ~
  1932. ;zend_loader.license_path=1 Y3 m2 B% }' r% i) Y
  1933. : K, J8 m5 X# b0 [
  1934. ;xcache, _: A  {0 H/ F3 D

  1935. 3 H% D$ h" h  ?: O. R$ i6 s  r( s% C
复制代码
% a# M. }9 ^( c% K" E

/ p2 c9 P1 `6 v6 s0 h5 {4 T" R' {0 ?; S
) [0 t2 Y7 Q7 R0 [
. W$ Y5 V1 V0 A4 P1 z- k
( W7 L3 [3 _9 m. K/ F

6 Z. W- o" |* M: W4 Q0 ~PHP5.6版本原始设置* l' E. a7 y- X+ \% d

3 X% }0 j; r% Z
  1. [PHP]
    + N4 q, T9 p6 J7 Y, a% t
  2. : j& [. B4 L1 }; m# O
  3. ;;;;;;;;;;;;;;;;;;;; ]8 y* M4 Q' n. F! g  Q
  4. ; About php.ini   ;
    " c: L0 b) f) I2 |- q1 m: k
  5. ;;;;;;;;;;;;;;;;;;;
    7 [$ c; d' N* r* S: I
  6. ; PHP's initialization file, generally called php.ini, is responsible for, u7 S8 ?3 h* ^% \# S* D# O  y
  7. ; configuring many of the aspects of PHP's behavior.
    ( t. S$ j, t0 y( u  y: k) m3 o

  8. - C# k; v. y3 ]" K
  9. ; PHP attempts to find and load this configuration from a number of locations.
    4 S5 g& n$ }- c! ^/ q
  10. ; The following is a summary of its search order:
    6 G+ Z1 ]  Z/ h2 ?6 z! i
  11. ; 1. SAPI module specific location.: p: c2 a8 d9 y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)7 T; n& Y5 Q3 A; e* a* `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 }' k/ ^- t  d
  14. ; 4. Current working directory (except CLI)
    5 A) Y0 U- ?" x
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 H" B# l0 D% Z
  16. ; (otherwise in Windows)+ E+ m# w+ P( D2 ?
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - w, O6 B8 Q" H2 i0 M
  18. ; Windows directory (C:\windows or C:\winnt)
    5 @5 @% K+ P+ |% I7 Q8 d
  19. ; See the PHP docs for more specific information.  s: N. y6 k6 C! ^& X8 \
  20. ; http://php.net/configuration.file
    ; g* w  W7 D# j9 R8 b

  21.   o) K) M' `8 s
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # ]; H' N. g$ p# Z1 T! m
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' z6 p. |9 [6 p" |% y6 g. q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ ^: d% k4 u8 M+ x$ N
  25. ; they might mean something in the future.; g% T& ~1 i. a
  26. 8 o; l) Y2 z( a  k! ?9 x0 m
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 ]0 g6 H  q( D6 W$ `
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / k" ]5 \" M! }5 c3 b7 E( N9 T) v
  29. ; following the section heading [HOST=www.example.com] only apply to4 H& \1 j% ^& V0 H
  30. ; PHP files served from www.example.com.  Directives set in these  {- j3 Z7 Z, A- d( X
  31. ; special sections cannot be overridden by user-defined INI files or3 R7 z% v% E9 P3 m4 P7 R
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " s: k1 Z7 ~, f7 ~! n' S1 @/ A
  33. ; CGI/FastCGI.! G5 e! W0 ^: ~5 r2 ^- i9 D
  34. ; http://php.net/ini.sections, d9 ~) T4 D) L$ W& {, T0 h
  35. , v% @+ m  i) b3 ~0 Z
  36. ; Directives are specified using the following syntax:) ?- ?( x2 M- l
  37. ; directive = value
    ( n5 r1 ?0 m* T" S8 `2 d2 m
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    5 F% d# r3 O; t. T3 h
  39. ; Directives are variables used to configure PHP or PHP extensions.
    $ x6 J* }9 |/ ]2 f- w
  40. ; There is no name validation.  If PHP can't find an expected
    0 q; L8 N) P8 t+ Q$ [$ [, n# w
  41. ; directive because it is not set or is mistyped, a default value will be used.: U% X. @9 ?5 G& g5 f( W! t

  42. * D. s4 b# J) H3 L) |
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) f6 R- y6 h# |1 Y. q, D5 Y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; e6 \: b* ?* E9 ]# j  t
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! `+ E: L3 l& C/ `
  46. ; previously set variable or directive (e.g. ${foo})7 C; w2 k: s& e- M* A. X# H
  47. * J/ B( \& r- a, Q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 k  g# f0 x4 N7 C- o
  49. ; |  bitwise OR
    ' m. b1 a) C. @5 I0 q8 Q5 L6 `. r- [
  50. ; ^  bitwise XOR
    ; \- @( R+ F# Z; r  c+ o7 S, @* S
  51. ; &  bitwise AND. s$ `7 M) i# A- G
  52. ; ~  bitwise NOT4 N* M3 z- X: m5 [" r% p
  53. ; !  boolean NOT
    8 B$ i1 _: Z1 u9 K
  54. + i& l$ b+ w1 G4 C
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    . F/ B+ o. ~5 l- q  L2 e
  56. ; They can be turned off using the values 0, Off, False or No.1 p9 V- ]4 _9 I% l- B

  57. & ?1 [0 s* I3 z: S; Q* V( R0 M  \
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ' E& [/ M9 ~5 Y* ^
  59. ; sign, or by using the None keyword:
    $ u* Q1 l) {6 e- ^9 ~: Q/ `* z7 I

  60. 3 U* N  K$ P( M. t9 x. _! w1 f
  61. ;  foo =         ; sets foo to an empty string
    2 v- C- ]; @+ l' l. P
  62. ;  foo = None    ; sets foo to an empty string7 _3 V# E/ t! y% `4 G
  63. ;  foo = "None"  ; sets foo to the string 'None'
    3 S( v* N* H/ D# ?$ v& H
  64. 5 j8 b$ W; c- U! i
  65. ; If you use constants in your value, and these constants belong to a
    , O# G$ |+ D4 g& u
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ) T8 ~3 |+ j# f1 C( }- o' k) C
  67. ; you may only use these constants *after* the line that loads the extension.
    3 o& d. ^/ @: c8 C! J
  68.   ?+ s+ s/ |' r. p( a) A1 t! J
  69. ;;;;;;;;;;;;;;;;;;;
    ( m  |# V) n% ?( J% _) ]; }
  70. ; About this file ;4 X# p9 {* w. C2 P& X
  71. ;;;;;;;;;;;;;;;;;;;5 e* P! r5 r4 H* |' ~6 a/ ~  g
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    # L- C3 R. |% K# Q
  73. ; in production environments and one that is recommended to be used in$ Z1 e3 o9 t- g5 w1 e) X
  74. ; development environments.
    5 l8 I: A* k# G

  75. * ^9 Q* t, ]( F# Z8 o# r! M
  76. ; php.ini-production contains settings which hold security, performance and
    $ J" ]  X5 \" @0 V# c; x# h+ p7 R, \
  77. ; best practices at its core. But please be aware, these settings may break
    ; k7 b! `; u/ [# m+ `
  78. ; compatibility with older or less security conscience applications. We! z/ A" P1 Y& G2 E; r
  79. ; recommending using the production ini in production and testing environments.
    - c: J. ]: Q; u
  80. # J/ k; [7 m" L, E7 c$ p+ ~. ^
  81. ; php.ini-development is very similar to its production variant, except it is
    4 S: j+ B5 D0 x/ P2 w6 u
  82. ; much more verbose when it comes to errors. We recommend using the" i9 D2 [0 l7 M
  83. ; development version only in development environments, as errors shown to6 v2 B/ _& u2 C, I9 _/ a
  84. ; application users can inadvertently leak otherwise secure information.: O4 V0 }6 D# X7 \+ C) D

  85. ! G- Q0 A% R+ W; N3 Q
  86. ; This is php.ini-production INI file.$ V) V% b/ {# v* v% K; {. v! T

  87. 9 r$ N! [5 b6 s0 `
  88. ;;;;;;;;;;;;;;;;;;;* M3 {7 l3 l4 e0 J* {% u
  89. ; Quick Reference ;
    ) q$ ^' g8 d2 x) E. w% J, B
  90. ;;;;;;;;;;;;;;;;;;;& ]8 T7 P" Z1 K8 _: T# |+ q, D
  91. ; The following are all the settings which are different in either the production
    8 J7 l6 h8 v3 t/ B* ]( i
  92. ; or development versions of the INIs with respect to PHP's default behavior.2 U4 P% x+ U' o$ m5 b
  93. ; Please see the actual settings later in the document for more details as to why
    ; B. b$ z) F0 o# h
  94. ; we recommend these changes in PHP's behavior.
    2 Z! _( g! F4 H2 Z

  95. 1 g# n- ~* i1 i! I& p0 V
  96. ; display_errors
    9 Z( x2 B1 G: i- r/ V$ @
  97. ;   Default Value: On* _3 \  l' [  q
  98. ;   Development Value: On
    3 v' }; T; `7 s1 f
  99. ;   Production Value: Off
    - ]5 J3 |" _1 X8 O

  100. 7 L  [/ S& Z0 k% c4 G2 i
  101. ; display_startup_errors
    9 G  j9 G4 e! Y8 h
  102. ;   Default Value: Off
    3 h& W2 R& L* Y$ H  }' N! o. B( h8 V- G7 j
  103. ;   Development Value: On
    " ~. D) C( g1 i+ y% Y& r
  104. ;   Production Value: Off
    5 ]) m" `- ^' j. ]' f- V; X5 v7 R) c

  105. ; @2 n' J3 a" k& D5 `. V
  106. ; error_reporting
    * G) C) w( y( g( f* b
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ D- K0 G* P1 C0 N
  108. ;   Development Value: E_ALL
    - u5 c8 @3 Z! X$ N; l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 z, Y) F# _* r$ h! d) e/ I) [- Y

  110. / B7 I. [. P  }! D3 R
  111. ; html_errors0 F5 n0 Y4 v) F0 K1 q
  112. ;   Default Value: On
    $ m. b+ x2 K/ K2 H3 Q( L
  113. ;   Development Value: On$ {& R8 a8 I) J+ K1 n
  114. ;   Production value: On
    5 T4 x$ ], |. w

  115. - G" o7 Q7 v, |& |1 v  }! n0 H, I
  116. ; log_errors
    8 ?2 R  J' a& I- s, h5 x
  117. ;   Default Value: Off" P: F; I# k' T" r( {. E
  118. ;   Development Value: On
    9 Z! y# @: W2 Z' ~& m
  119. ;   Production Value: On6 c" J5 G1 b4 @+ A
  120. 4 Q4 ^$ ?+ }: W" B! i
  121. ; max_input_time
    ! @) A3 n% e0 o& W7 P) M' @! q
  122. ;   Default Value: -1 (Unlimited)
    7 Y) i" u3 O# W4 ?+ L
  123. ;   Development Value: 60 (60 seconds)
    1 }' i# `' {1 F) U% S* R
  124. ;   Production Value: 60 (60 seconds)5 |# X, a1 x+ ^' e

  125. , C* u' ]4 C: r0 a. _9 @
  126. ; output_buffering, e# D0 V0 `9 J4 D6 Z& |
  127. ;   Default Value: Off
    - O7 ~: [! M$ V! d8 f- G0 t9 N
  128. ;   Development Value: 4096
    * w- Z; Z$ r. r  F4 z" P
  129. ;   Production Value: 4096" L5 i6 ]' s6 D$ x- C
  130. , o+ s7 w+ H+ y2 i! N" g  ]' `- b5 ~
  131. ; register_argc_argv
    7 K' y6 _! Z' X! b; I8 F: ~0 G
  132. ;   Default Value: On
    , G$ \: c' Y+ L
  133. ;   Development Value: Off  S( G- M; J# U* s* ]
  134. ;   Production Value: Off
    4 I. F) ~8 h& F. D- @3 N- o( J% {

  135. 1 C1 r& [8 n" q$ I8 k: @
  136. ; request_order: @& x& }2 F. D; t
  137. ;   Default Value: None
      u8 P. L' P5 O  x! c# |% Y
  138. ;   Development Value: "GP"
    + J, c0 l5 i, ^, v1 r
  139. ;   Production Value: "GP"" ~2 _# A& @+ ]  _2 X

  140. 1 w7 {0 @2 e: ]
  141. ; session.gc_divisor
    1 U; Q/ C# |+ ?/ C  h. X
  142. ;   Default Value: 100
    , E  L8 Y; q" f3 m
  143. ;   Development Value: 1000
    ' y$ X+ m: I9 S- Q5 D
  144. ;   Production Value: 1000
    8 p$ s6 j/ D# a4 `* I$ g  ^

  145. ' f! P& |3 ?* ?0 I( ~* x
  146. ; session.hash_bits_per_character
    8 D! a9 Z4 p" n8 Q$ W
  147. ;   Default Value: 4
    ) M2 [" R9 V) ^
  148. ;   Development Value: 5" x" n4 M8 A; O) M2 o
  149. ;   Production Value: 5
    ) e. L# C& M9 f& @/ Y5 ~

  150. 5 S5 z( m; w8 {1 C7 ]; T
  151. ; short_open_tag
    " O# S9 }0 X0 p8 p2 \8 N
  152. ;   Default Value: On
    0 C( S% K: q! }" X; D; S3 M: o. [
  153. ;   Development Value: Off$ |' ~" k: [( _; T% {
  154. ;   Production Value: Off( l* R- t9 K: J  t1 R& V
  155. 8 q3 O9 n8 Z& D6 ?6 J$ S# U* ~; l7 E
  156. ; track_errors- A) ~2 U! Y! k6 {$ z2 C; C& Q5 Z
  157. ;   Default Value: Off& V: D' E9 |( e5 [" J
  158. ;   Development Value: On) G5 G& L  T$ E9 I1 e
  159. ;   Production Value: Off  z% e( ]% w; _, H
  160. ( Q/ M* Q: ?0 [
  161. ; url_rewriter.tags, j6 h" B, B, U/ ~6 W' v
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=") @! A, P! ^6 G4 A$ w& b! _" U9 G
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 X6 v. J% ~4 ?* b
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- ]! \2 e0 X9 A7 Z+ H1 P
  165. " |* h3 w0 N) {; J4 j
  166. ; variables_order& z0 e/ E; ?8 H$ U0 ~- I1 h* n+ a
  167. ;   Default Value: "EGPCS"
    * ]- |6 i, O8 b1 r% g1 B8 F
  168. ;   Development Value: "GPCS"
    . p+ H, v) y3 Z5 F8 H; ^, _
  169. ;   Production Value: "GPCS"9 ]3 F- u+ h, y- N7 T0 X
  170. + {( \9 i, T7 Q* S
  171. ;;;;;;;;;;;;;;;;;;;;
    % s8 }+ s6 h& b  _+ L
  172. ; php.ini Options  ;
    1 ^/ v" t# A# E) x: J& j
  173. ;;;;;;;;;;;;;;;;;;;;  }- M0 i$ C4 T" D( F7 U9 X7 A2 [
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; z' }" r9 G3 H
  175. ;user_ini.filename = ".user.ini"
    % Q' ^2 o+ N, n3 D3 g0 M- r

  176.   m. \" r6 x/ K: a
  177. ; To disable this feature set this option to empty value: @- |3 C7 z: n  R0 \  C: C  N
  178. ;user_ini.filename =/ C5 j+ z: @, r* ?0 B

  179. # U! S: X& v" J* T
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)0 }& ?9 \$ Y& _; N, c9 Q9 x4 P4 A1 r4 d) j
  181. ;user_ini.cache_ttl = 300
    , R' n4 f* F# ^- n/ m
  182. / O! S: ]/ J2 K. h
  183. ;;;;;;;;;;;;;;;;;;;;4 x: Z; `- m1 Q: s+ \& [
  184. ; Language Options ;2 \! q/ j0 W% c; R. ^" P& Z
  185. ;;;;;;;;;;;;;;;;;;;;& I+ k! V( d1 z- L9 R, i

  186.   E* o$ v# r* A5 ~
  187. ; Enable the PHP scripting language engine under Apache./ j  S, |3 w& E- O
  188. ; http://php.net/engine
    / J/ K% k$ X" i# O1 f
  189. engine = On0 ^, X( A* a; S& T6 H. w3 ]
  190. ( e( u8 j$ ]8 B: m1 r) D" |. W& Z
  191. ; This directive determines whether or not PHP will recognize code between
    6 u5 Q. Q9 f: u" v
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    / D2 r" m: G, Y  k( _$ ?) i& ~
  193. ; generally recommended that <?php and ?> should be used and that this feature9 ], o: |" L4 r7 Q, E
  194. ; should be disabled, as enabling it may result in issues when generating XML+ e! k6 O6 f; X+ B
  195. ; documents, however this remains supported for backward compatibility reasons.
    $ X/ B' l3 I: Z( F' X# Q' x+ e
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & s4 z5 t" j- X# b. S( C
  197. ; used regardless of this directive.
    0 n+ @$ u2 j. {$ |: `
  198. ; Default Value: On5 i: A# H" v2 ~2 f$ O) B- U) d  d$ B
  199. ; Development Value: Off
    + P! _- ^/ k* E* Y
  200. ; Production Value: Off: v- L! P, F, ?) G3 f! o6 a
  201. ; http://php.net/short-open-tag) e; F$ K1 ?0 d; M$ l/ I
  202. short_open_tag = On
    - V/ X8 M9 T. f( {

  203. - e1 p8 G7 @+ U- L
  204. ; Allow ASP-style <% %> tags.. `$ C0 m" y+ t1 ^$ q2 ?: U. B
  205. ; http://php.net/asp-tags' V2 B9 B  }6 a: @+ Q1 i# k
  206. asp_tags = Off* u( ?) z: u1 E% r8 \( k

  207. / }" v" V; j9 ?7 `
  208. ; The number of significant digits displayed in floating point numbers., y1 \* y2 i4 o' u3 W& D
  209. ; http://php.net/precision) ?' i8 t6 I6 L- [- T) x5 ]4 F+ z
  210. precision = 14+ M! p+ f; O6 B9 s; K; j: @! r
  211.   l/ A9 q4 B6 V
  212. ; Output buffering is a mechanism for controlling how much output data
    5 b$ K7 V" A; O
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    3 ^6 t8 G, C/ ?8 r- s
  214. ; data to the client. If your application's output exceeds this setting, PHP7 k0 Y# h5 V" {
  215. ; will send that data in chunks of roughly the size you specify.6 a2 b" g$ D/ l5 ^1 x
  216. ; Turning on this setting and managing its maximum buffer size can yield some5 x/ q. w4 ~, ^1 {! m
  217. ; interesting side-effects depending on your application and web server.: c" y: m/ T' w* \5 Z# A1 l
  218. ; You may be able to send headers and cookies after you've already sent output
    ; e  g  A* B. \6 ], R# t
  219. ; through print or echo. You also may see performance benefits if your server is2 v% k" f/ }9 G' a) d& R
  220. ; emitting less packets due to buffered output versus PHP streaming the output1 Z7 Z8 P: ]5 C5 M
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 p2 O: }# c; l& ?8 E" h
  222. ; reasons.: n3 B; x) R4 k3 I3 h$ |1 O5 u
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( B3 B+ J; S, w
  224. ;   functions.8 m9 R$ v5 E! y9 S7 k" k- @
  225. ; Possible Values:
    8 N/ l/ {- _4 G$ }+ L
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    & I/ b9 c0 p! V. R1 A. v$ r3 g
  227. ;   Off = Disabled/ y  I7 m, g" a. p$ G) V
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.  k! W0 B9 P" @" S. I' n  {
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! a2 w+ k6 R* O; V/ r( A) P
  230. ; Default Value: Off: G/ F- {2 }5 ^/ w! R. I
  231. ; Development Value: 4096* W9 R6 j2 n8 J) Y- E' j
  232. ; Production Value: 4096
    ( b0 O( g8 \- C. E
  233. ; http://php.net/output-buffering
    * T: m5 I- {  u+ k
  234. output_buffering = 4096
    # e) ]0 N1 }8 r7 h
  235. 6 g1 H8 k* S. |+ R6 g
  236. ; You can redirect all of the output of your scripts to a function.  For) x4 c& N) k/ [( x  K
  237. ; example, if you set output_handler to "mb_output_handler", character
    # P3 M2 U0 H6 T; ]
  238. ; encoding will be transparently converted to the specified encoding.
    7 N! c. y3 _. A
  239. ; Setting any output handler automatically turns on output buffering.# e( q3 b9 k4 ^  y
  240. ; Note: People who wrote portable scripts should not depend on this ini- |5 x& @  Y5 F5 |- V7 l
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    1 Y# {. k! @" [
  242. ;   Using this ini directive may cause problems unless you know what script
    , n3 t+ |5 ^6 n
  243. ;   is doing.: h: Y7 }. r& [* `
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    - d, s- d6 y( R2 |) T. C
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + ]' z4 ~) i- L( {: q& l" J+ q' c8 C
  246. ; Note: output_handler must be empty if this is set 'On' !!!!# x8 ^. E8 d0 K- ~7 W
  247. ;   Instead you must use zlib.output_handler.
    + r; {6 M, L' ~8 s
  248. ; http://php.net/output-handler: h& r9 S9 h. O5 b; z6 a+ h* p+ b
  249. ;output_handler =' D. O  y/ P# i7 L' L

  250. 7 V! ?6 \- W' J
  251. ; Transparent output compression using the zlib library  ^/ _( K, `* H4 g
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size; ?. _1 e& v  h# d
  253. ; to be used for compression (default is 4KB)
    ) |+ {9 B: L( P  M# K# e
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP7 L; @) r, p1 [. n5 s# z: \
  255. ;   outputs chunks that are few hundreds bytes each as a result of+ |' u+ l/ W4 d( M
  256. ;   compression. If you prefer a larger chunk size for better
    ( ], A' A  j, _
  257. ;   performance, enable output_buffering in addition.
    - ~8 |. w. W  Z7 a, }0 a- N$ W
  258. ; Note: You need to use zlib.output_handler instead of the standard
    2 j4 {& a4 D, l! l
  259. ;   output_handler, or otherwise the output will be corrupted.% ~4 D: l9 z  \3 L: M
  260. ; http://php.net/zlib.output-compression
    3 v! w/ T2 Q8 P0 f0 n9 U
  261. zlib.output_compression = Off
    & H# ]* L# T2 H& M+ T' {+ |

  262. 3 Q  X" G$ \% ~9 D$ t. q6 v! M" Y
  263. ; http://php.net/zlib.output-compression-level! ~; i; `1 i) n& X+ Y6 W% i# n
  264. ;zlib.output_compression_level = -1% v$ y' Z& K  ^% x2 Y7 d3 ~

  265. ; }# x; A4 c9 Q; I# |' R
  266. ; You cannot specify additional output handlers if zlib.output_compression# Z* t8 g- W/ V' n; a  C
  267. ; is activated here. This setting does the same as output_handler but in
    5 M6 g* m' T! I- O+ E0 l2 }
  268. ; a different order.
    ( d) P* h. `7 H7 _/ k
  269. ; http://php.net/zlib.output-handler/ ]" S* m& g* U  p$ f( S! j6 j) T
  270. ;zlib.output_handler =. c- h9 K) e* H

  271. - z7 `& l8 d# }) D
  272. ; Implicit flush tells PHP to tell the output layer to flush itself  O& U3 c' y4 q9 |
  273. ; automatically after every output block.  This is equivalent to calling the. L. \1 r- M: V  a0 L9 w
  274. ; PHP function flush() after each and every call to print() or echo() and each8 ^9 y7 \5 I" K' v" n/ b
  275. ; and every HTML block.  Turning this option on has serious performance
    / C5 Q* R* D& F, \
  276. ; implications and is generally recommended for debugging purposes only.6 Q& o$ I! ~) W' }$ E& R$ n. I& S, S
  277. ; http://php.net/implicit-flush
    & j2 \. A2 `! M/ U9 W
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) p' }7 I+ \2 j: p/ K
  279. implicit_flush = Off
    # ]" Z- _$ _# Y, S  s8 ~

  280. / F8 e! E, V* c/ y
  281. ; The unserialize callback function will be called (with the undefined class'* V! |2 v" f: d  G. H/ X& L/ P& |3 X
  282. ; name as parameter), if the unserializer finds an undefined class. o, p1 \6 D, m3 P' P  l) C) x
  283. ; which should be instantiated. A warning appears if the specified function is3 d- d/ o6 l& {
  284. ; not defined, or if the function doesn't include/implement the missing class.4 h) B; g0 R& O* @! u. h' G
  285. ; So only set this entry, if you really want to implement such a
    / D# `  L: `: }! T
  286. ; callback-function.
    ' ]- L  n  |& k3 L( \' s- j7 w. A9 T% @
  287. unserialize_callback_func =! H7 A# u6 i. B
  288. % J: k2 E5 f# Q$ Q9 a3 @# ]
  289. ; When floats & doubles are serialized store serialize_precision significant$ ~; V" {% U* [. K2 t. U( y# n
  290. ; digits after the floating point. The default value ensures that when floats. l, n* z* Q/ Z! E( H1 P
  291. ; are decoded with unserialize, the data will remain the same.$ v' k" H3 R; |" y  R! U+ b
  292. serialize_precision = 17
    " N3 x' _9 A) E1 y' |$ C; v

  293. 0 D/ e0 Y. R* o( {0 f3 A& t
  294. ; open_basedir, if set, limits all file operations to the defined directory
    / D$ |2 ]) Q8 V( I
  295. ; and below.  This directive makes most sense if used in a per-directory
    & ^7 R( w7 w. M0 v
  296. ; or per-virtualhost web server configuration file.
    - w2 ^, q! J% n  r7 I
  297. ; http://php.net/open-basedir7 J; K# W9 X; F. c1 Y/ j7 Z
  298. ;open_basedir =
    ' c4 ?8 c8 G2 T! \# H7 [" ?
  299. + z$ M4 O7 d, ^
  300. ; This directive allows you to disable certain functions for security reasons.
    8 M6 E1 S+ t$ J
  301. ; It receives a comma-delimited list of function names.
    ; h4 s. `8 ~% R6 J' n
  302. ; http://php.net/disable-functions
    * |4 u* ]2 v9 I
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    % S' z+ ]% j: W5 Y) K7 Y

  304. + `& Y7 z# L0 K- F7 U% T
  305. ; This directive allows you to disable certain classes for security reasons./ J# V/ K- h9 k5 K9 y* `) R
  306. ; It receives a comma-delimited list of class names.- ?% ~1 h0 C+ j
  307. ; http://php.net/disable-classes/ v% Y: s0 c" e5 Q8 b+ q; o6 Y
  308. disable_classes =
    ; \+ g- b3 k% c. P9 V  n5 l& D* F

  309. ' a2 ]" ~. q. q# [( _5 y7 F6 \
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in& i/ y# f8 {: }3 @9 j
  311. ; <span style="color: ???????"> would work.
    8 _, `! C0 {/ D' Q# ^
  312. ; http://php.net/syntax-highlighting" V' m% P7 P9 R/ P# d# S5 f6 Y
  313. ;highlight.string  = #DD0000
    ) ]5 n( z7 u( e0 B3 r6 b! K
  314. ;highlight.comment = #FF9900
    : L  d4 W! K5 C& T  Y9 G+ S1 H
  315. ;highlight.keyword = #007700" b3 ^5 A5 Q% m6 h  W
  316. ;highlight.default = #0000BB! R0 W; }+ p8 G: O" c9 ]5 K
  317. ;highlight.html    = #000000
    # @) p7 e; O( b: N& H

  318. , a6 @. D8 A2 C2 Z
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    , D9 l/ p: z: p' [8 D' G
  320. ; the request. Consider enabling it if executing long requests, which may end up1 U: a" z8 k$ n8 k; o2 P
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior( y8 p" G  Y# E0 l* \. z
  322. ; is to disable this feature.8 C9 v/ i2 O! U  C
  323. ; http://php.net/ignore-user-abort
    7 V+ v! d. i& K6 Q8 g
  324. ;ignore_user_abort = On- f" P8 G0 C( I, j/ W3 w& p  P% Y

  325. 0 W6 T: v; U3 ~) a# r3 r* ~
  326. ; Determines the size of the realpath cache to be used by PHP. This value should2 C/ n$ y" S; @4 l) n. `
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    : M- Z- s3 E& i) J; V# V
  328. ; the file operations performed.# c% j+ m+ t& P3 y
  329. ; http://php.net/realpath-cache-size
    , W% R7 b  V; @. J% b
  330. ;realpath_cache_size = 16k
    + P0 R9 s  D0 `# R$ N
  331. 8 S: }8 K8 S/ L- V! G
  332. ; Duration of time, in seconds for which to cache realpath information for a given/ `) I5 F5 J; r8 a* R
  333. ; file or directory. For systems with rarely changing files, consider increasing this: h( H+ ?1 V! {( b& b
  334. ; value.
    / L9 `0 K, V) }$ {0 k
  335. ; http://php.net/realpath-cache-ttl
    8 _# Y0 D7 ^) [/ k8 G1 e
  336. ;realpath_cache_ttl = 120
    5 z4 v5 M) ]/ r( y& x9 K, _

  337. 0 j! W6 v0 K4 S* N- P- Q$ L
  338. ; Enables or disables the circular reference collector.
    ) J* J" e5 Q% S0 n! X% [
  339. ; http://php.net/zend.enable-gc; u+ K7 y  e2 V0 q* o
  340. zend.enable_gc = On
    / {# |$ N2 d" F6 u# S! d5 z

  341. # W5 w: d1 \6 x: E
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ! u3 l3 E& n( l$ Z
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    * @5 I, ^4 }7 \2 d$ X( X
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    # V$ B) e( O9 N
  345. ; Default: Off- M6 i- c, Q  o0 a* X5 G
  346. ;zend.multibyte = Off7 p& a: @; G, }: j6 j) U
  347. ' _+ {3 ^$ b6 r0 I$ U/ J/ `
  348. ; Allows to set the default encoding for the scripts.  This value will be used4 C# Y) M+ s% c
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.3 {. z' D6 ^  O; O/ q  j
  350. ; Only affects if zend.multibyte is set.
    / x+ a' h# W" b- |% J5 r) p
  351. ; Default: ""
    6 S) {- B+ Y, }% i' L
  352. ;zend.script_encoding =
    9 J. y/ m- a8 K* x7 q6 A

  353.   v# m6 n3 J3 @0 N9 g
  354. ;;;;;;;;;;;;;;;;;
    ! i* t# G  w' Q' T- M1 _* o7 R
  355. ; Miscellaneous ;" D1 ?+ k/ A+ ~( v7 x: F
  356. ;;;;;;;;;;;;;;;;;* ?5 R+ ?- l$ o

  357. . c. p+ T) p! A
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    + j+ [" i# R8 e2 Z
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    % ?7 r0 @$ D/ `3 N6 R" m* S' n! h
  360. ; threat in any way, but it makes it possible to determine whether you use PHP" g5 a& e$ S* z$ K& V. G# I6 Z0 S
  361. ; on your server or not.
    # |. c" E# }" o# u1 Q8 B
  362. ; http://php.net/expose-php0 L; O, C& x+ X3 K/ e6 s
  363. expose_php = On" c5 `$ n1 e. t/ H: |
  364. 4 R! b8 L- w% ~7 Z. S9 ?8 W
  365. ;;;;;;;;;;;;;;;;;;;6 a! B7 [3 d  ]2 D! j+ m
  366. ; Resource Limits ;8 |) X# e8 P' p' m: O" G( S
  367. ;;;;;;;;;;;;;;;;;;;  e1 \% ^+ I, v$ R9 \1 Z3 Q9 [- v

  368. 0 f6 _) l& K- K3 f+ s* p
  369. ; Maximum execution time of each script, in seconds
      P9 {' H7 a2 P& _4 {; D" K3 I
  370. ; http://php.net/max-execution-time) ]  a5 S2 g8 w* {0 d/ W
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ \0 ~% ^2 F" e
  372. max_execution_time = 3000 C* x/ n0 X/ [

  373. * a5 c! u+ B2 W$ d# ]9 J
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 n" T) a4 z) Q0 f% |5 q. K0 y+ d
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 B  M; {; ]/ b- a; ?. j9 ]+ U# d
  376. ; long running scripts.
    4 M( }8 l: p" P& w$ n4 d
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI% U1 h* a) M- t; Q) [# T
  378. ; Default Value: -1 (Unlimited)
    6 \' G6 b$ p& M4 o4 {# O0 C* J9 s  f. |
  379. ; Development Value: 60 (60 seconds), m: y/ b# @+ p9 g0 G, d9 B$ M4 ~
  380. ; Production Value: 60 (60 seconds)7 d5 @# F# X$ r/ @
  381. ; http://php.net/max-input-time: s7 {# ^2 T6 V; M, I
  382. max_input_time = 60: P- z* j2 J# e9 y% s4 p
  383. " c4 g$ M! ^( {$ N8 ~% b; s
  384. ; Maximum input variable nesting level
    - s( Q* b+ k! V: F- j' G
  385. ; http://php.net/max-input-nesting-level/ @( V1 f6 U7 a4 o! Z3 ~- Q$ ~/ w1 G
  386. ;max_input_nesting_level = 64
    1 ^0 O5 n( k2 L; d7 y3 \

  387. & K: e+ F. p( Z- F4 f
  388. ; How many GET/POST/COOKIE input variables may be accepted
    # e- P& n" Z- o5 D) _7 L" L
  389. ; max_input_vars = 1000
    5 l- }$ r( a7 `6 ^2 o; v
  390. 5 |7 F5 t5 L# s4 C8 o4 v3 [+ Z6 v" q
  391. ; Maximum amount of memory a script may consume (128MB)
    ( v* ^* `3 B8 K4 b
  392. ; http://php.net/memory-limit" S, T7 Z" k9 M7 x# c
  393. memory_limit = 128M
    9 L- A) _/ R' G2 v
  394. " t* \: J- s. P8 c1 R* Y! l
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 M8 u2 U/ Q/ v
  396. ; Error handling and logging ;. M  |; R/ z6 i$ l( t
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) }& ?. [" Z' g* ?5 ?# k
  398.   ^7 Y. q3 N& n8 c
  399. ; This directive informs PHP of which errors, warnings and notices you would like: Q8 [9 W, D0 i3 @8 Y( i5 j/ I
  400. ; it to take action for. The recommended way of setting values for this
    ' B/ B! x9 ?3 E+ a3 O
  401. ; directive is through the use of the error level constants and bitwise9 W& q0 S: b  v3 u5 C
  402. ; operators. The error level constants are below here for convenience as well as
    3 Q+ [9 v6 b* [) j
  403. ; some common settings and their meanings.
    ; \' d$ c! R9 q' i6 V- F
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* H8 K5 G4 q4 `5 u) ]7 T% R
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and2 q% S5 B, |: O- U
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    4 m; H  X/ W5 a! i/ N4 {
  407. ; recommend error reporting setting. Your production server shouldn't be wasting) _) _' o( m6 N2 H8 z. L
  408. ; resources complaining about best practices and coding standards. That's what! T! C5 O5 S9 }0 N  Z
  409. ; development servers and development settings are for.
    2 Q6 T, }2 s5 @0 d
  410. ; Note: The php.ini-development file has this setting as E_ALL. This% d3 q0 @* E  @( L5 @  v& d9 C
  411. ; means it pretty much reports everything which is exactly what you want during
    / d' W6 F! }+ ?& _& S9 \$ a0 Q& z  O
  412. ; development and early testing.
    . h( |4 R0 k$ m. W, q
  413. ;
    / p' M& E' ^% X' i$ B2 i6 V; S
  414. ; Error Level Constants:
    2 p. X1 b$ k; z: [, m5 J% l
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    0 \/ H7 _" \& B, ?* z0 l, r
  416. ; E_ERROR           - fatal run-time errors) X8 i$ l, {! X# r$ e' Z8 F' m) z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 A5 S( Q5 T: K
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
      t7 g; T, t- j
  419. ; E_PARSE           - compile-time parse errors! k4 G1 Y+ f/ f- z
  420. ; E_NOTICE          - run-time notices (these are warnings which often result2 M6 O8 N% ]+ ~$ c
  421. ;                     from a bug in your code, but it's possible that it was6 \4 @0 B7 r6 F6 C. I5 E3 m& e2 i
  422. ;                     intentional (e.g., using an uninitialized variable and9 d+ A* s0 x8 [
  423. ;                     relying on the fact it is automatically initialized to an4 a) w+ S: V  ?: u: W
  424. ;                     empty string); b+ x( O- M) j& G# T
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      ^& V  g: ^3 e2 I# M* w1 H1 }* e
  426. ;                     to your code which will ensure the best interoperability
    ) M  n/ I# H) k1 @1 B5 t# ~
  427. ;                     and forward compatibility of your code& F6 X- X* I2 G" W, m0 ^
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup3 W7 j7 a6 G( H  h  b4 f) g1 f
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) N1 m& Z/ e% w, F; Q
  430. ;                     initial startup
    4 {1 k* C9 y* m0 {1 H) }
  431. ; E_COMPILE_ERROR   - fatal compile-time errors: B1 T: ]: @. z
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 C6 [! C2 ]2 O3 u7 g, M
  433. ; E_USER_ERROR      - user-generated error message
    8 ]( d3 M- L0 M' J! o
  434. ; E_USER_WARNING    - user-generated warning message; b; K* T5 c: m: k: h. ?: M1 v$ K
  435. ; E_USER_NOTICE     - user-generated notice message# `+ c, \6 N; ]9 t0 {1 B2 W
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ( B( i3 l$ R! a; z$ e
  437. ;                     of PHP. @3 x- ]5 E+ Z5 W: z8 x
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings- C1 w% n; _9 l5 ^2 R
  439. ;
    ' v2 d8 {- ]5 Q9 D% Y' d
  440. ; Common Values:; X. {+ a& }6 u+ X5 j: g& l
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)- X" W$ n8 X. B. T( a9 Y0 l
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! w2 X+ m- a9 u( S! V  g
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), q# C% ^# {9 m: c! S
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ @7 q, ]" [% E! M7 W2 s
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  q( H3 N. k* I& j3 I
  446. ; Development Value: E_ALL
    . O2 L# _* u% L/ u' o& N- [: u/ }2 V
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & i- |# m' S5 [
  448. ; http://php.net/error-reporting
    0 e- k. O9 b& Z, B) s3 ^8 p; y2 i
  449. error_reporting = E_ALL & ~E_NOTICE
    1 i' p' z1 g1 J6 Q. d+ _; L9 u

  450. 4 Y: B% q2 ^$ J6 N6 b! N
  451. ; This directive controls whether or not and where PHP will output errors,
    ) L6 V! {  }: e$ X# [" m
  452. ; notices and warnings too. Error output is very useful during development, but/ z/ Z' ~, r# l+ Q; Q0 K
  453. ; it could be very dangerous in production environments. Depending on the code
    # Q7 K& \. _; w. G3 i
  454. ; which is triggering the error, sensitive information could potentially leak
      z; Z7 M$ q2 \# U
  455. ; out of your application such as database usernames and passwords or worse.5 e# S) O1 [6 |. `1 B0 T
  456. ; For production environments, we recommend logging errors rather than1 F$ e) S. c9 h& X
  457. ; sending them to STDOUT.
    1 ?5 \  o% S7 r2 p$ D7 O0 {2 L: z8 o
  458. ; Possible Values:) A0 W4 ]" y2 j
  459. ;   Off = Do not display any errors
    ! p. Z" \) A5 U; w0 k0 O
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    4 o# H% I* R2 }" I6 R
  461. ;   On or stdout = Display errors to STDOUT
    3 p6 c  U  s6 k3 p6 F: ]
  462. ; Default Value: On& }5 W5 j1 c# v, b. @5 ?
  463. ; Development Value: On
    * i0 ?& W) i( d( j: t0 k
  464. ; Production Value: Off
    + v% J2 n1 R" s2 Q
  465. ; http://php.net/display-errors# M" |. ]* Y: s* c
  466. display_errors = On; v5 O) Z% r+ X, L6 P

  467. # j5 K4 k% g5 i
  468. ; The display of errors which occur during PHP's startup sequence are handled
    : j& ~! ~  @/ k) d
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    8 V: H3 G) W2 S- b9 h
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    + |* K2 @* d4 u; I- ?4 ^" \
  471. ; debugging configuration problems. We strongly recommend you
    $ |- }+ p, D$ [/ F* {8 L/ F
  472. ; set this to 'off' for production servers.
    " k8 m( G& E0 _! M( g
  473. ; Default Value: Off
    ( m* p! C0 c! x
  474. ; Development Value: On
    1 a/ Z4 V$ u% y) r- g
  475. ; Production Value: Off
    & @( O- M# L- u0 d9 s: q+ h3 [* l# i  b
  476. ; http://php.net/display-startup-errors" v8 f  Q6 E# O
  477. display_startup_errors = Off
    . g6 m0 |! t# C& ]# J) [: V5 b- `

  478. ( [" v& g4 C! `6 x) u1 P
  479. ; Besides displaying errors, PHP can also log errors to locations such as a# D5 l( g2 {' w" H: Q: f
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ( u# m& ~" _3 C/ w: |' h5 j' S: S( _+ M
  481. ; directive found below. While errors should not be displayed on productions& B) m9 N6 e" Y6 D! Q/ D. \: e
  482. ; servers they should still be monitored and logging is a great way to do that.
    # V7 N  t; w0 b1 {0 `% A
  483. ; Default Value: Off( n% J, a  S8 u1 o
  484. ; Development Value: On8 P1 C/ n; c" ?
  485. ; Production Value: On
    5 Q2 A3 ^: @$ D: }2 k4 K
  486. ; http://php.net/log-errors" ^3 W& ~6 v8 }
  487. log_errors = On+ U; L, `; ^/ e& o% A1 o7 S

  488. 9 P$ C: k3 k6 N0 ]  s
  489. ; Set maximum length of log_errors. In error_log information about the source is9 y) Y- q7 w, \5 X7 y. O6 w
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : Z/ N/ j# y: ~8 [5 y; [* g
  491. ; http://php.net/log-errors-max-len0 t, r8 _. p2 t4 e3 _
  492. log_errors_max_len = 10240 B  Y) T4 q# v8 f
  493. & ~& B, ~  p5 H" d/ Y/ Y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    1 w$ Y" V0 V7 O" n4 h* t. A" ?2 l
  495. ; line unless ignore_repeated_source is set true.% j6 f  T& A0 i9 d( S
  496. ; http://php.net/ignore-repeated-errors
    1 ~( Z: Z: S. c" [4 E5 f/ ?
  497. ignore_repeated_errors = Off1 T' M: h* v( @2 J' E$ X

  498. * t% @# h" ^$ i  S$ J) f: F
  499. ; Ignore source of message when ignoring repeated messages. When this setting4 W1 K% @( R' X5 p
  500. ; is On you will not log errors with repeated messages from different files or" b5 X' N8 K0 B# U  v
  501. ; source lines.
    5 H0 J. K) @4 m4 U  f8 x8 q
  502. ; http://php.net/ignore-repeated-source' E, C. B  }/ M) |: l  x
  503. ignore_repeated_source = Off
    9 N' m0 e% Q0 [& i9 M5 N
  504. 5 A% i9 H; z  J. V! c2 W# V0 O% J
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on) ]6 G, H( i; C0 J9 o% S% D
  506. ; stdout or in the log). This has only effect in a debug compile, and if# r9 V  u  E$ a- l" k, A: O( a
  507. ; error reporting includes E_WARNING in the allowed list
    9 u9 n( P3 i. t1 x2 Z
  508. ; http://php.net/report-memleaks$ ]; \1 ?* ]. D; F2 `" G$ e
  509. report_memleaks = On: {1 B+ V  c5 ]* h" X# _
  510. # l! l1 z0 w- C# K4 o/ `
  511. ; This setting is on by default.
    5 t% i/ o9 @$ P) @# s2 Y
  512. ;report_zend_debug = 0
    . a; x0 g; m. B! N/ y6 q9 ^$ U
  513. 8 b0 x8 e8 a/ c5 n% w7 a7 N; P2 A
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value) z- u) b. v- k
  515. ; to On can assist in debugging and is appropriate for development servers. It should% n2 ~, P& x( Z8 t5 ^, x
  516. ; however be disabled on production servers.! O+ N( m' G* M2 {6 ]: P
  517. ; Default Value: Off
    , B: c. `1 ~! y! S
  518. ; Development Value: On6 X+ B" \6 [0 q: b& s! p/ V' X
  519. ; Production Value: Off$ I6 i( ^6 \; V& G/ f' p
  520. ; http://php.net/track-errors. ?7 ^3 c7 ~; H, l! B8 `
  521. track_errors = Off
    9 v' N! P7 ]5 T8 j' h8 E: Y

  522. 6 P; a  g; u2 ^% [+ O# p/ y' {8 S
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    5 u: _8 c* o" {( _
  524. ; http://php.net/xmlrpc-errors7 M, m: r' s+ Y! e
  525. ;xmlrpc_errors = 0
    : j$ W& |* q6 l* Z- u
  526. ( K( b% J. R/ @; t9 x/ W) ?
  527. ; An XML-RPC faultCode8 m9 a; P- u& {5 I- y" p" e
  528. ;xmlrpc_error_number = 0, e  z7 {/ W/ U% v4 m, l5 F
  529.   a4 N+ E2 c+ k6 g0 L: v9 R8 ~
  530. ; When PHP displays or logs an error, it has the capability of formatting the( k* M- B. w* D! ^
  531. ; error message as HTML for easier reading. This directive controls whether
    ( i3 }2 r' t5 t" N5 R
  532. ; the error message is formatted as HTML or not.
    / z/ n- I; J% \7 j; r2 `
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # D7 v- `2 R) a: }
  534. ; Default Value: On
    ' C" {4 ?% R( R
  535. ; Development Value: On
    ' w" m3 {0 W. x  C4 `
  536. ; Production value: On
    4 g$ l% n# P8 X+ W" T
  537. ; http://php.net/html-errors
    * R2 [0 ~$ z9 l0 ]! P5 g1 d
  538. html_errors = On. X" a2 A( `6 [/ }  h
  539. 3 B$ M' ~+ v! [% p: k- k# y6 L
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    3 G8 X3 n* E8 }, `' Q' ?
  541. ; produces clickable error messages that direct to a page describing the error4 B( w% ?' \. M. H
  542. ; or function causing the error in detail.; p) V3 f0 ~% {* J& y7 w5 n5 R  l
  543. ; You can download a copy of the PHP manual from http://php.net/docs! |# A, c/ Q9 d2 q0 W9 @2 O
  544. ; and change docref_root to the base URL of your local copy including the
    ) W; i" p2 S6 p. \" e& r$ S8 @8 ~8 [
  545. ; leading '/'. You must also specify the file extension being used including
    1 b# n+ _5 W, L" U0 B0 P
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    6 u! v' T! b% ~2 ^) `  R  y
  547. ; case no links to documentation are generated.. o+ c# e% E+ y
  548. ; Note: Never use this feature for production boxes.1 D, D% u/ e$ Z
  549. ; http://php.net/docref-root" v( c2 }' I. a3 K& W% v, \
  550. ; Examples/ m& p, ~2 ~# y3 l6 g9 U% W9 }; B6 `, S
  551. ;docref_root = "/phpmanual/"
    9 p; x: a7 [% Q+ q) e# D! W0 {

  552. % U- T- `  C+ b5 X6 p
  553. ; http://php.net/docref-ext" z! s" }1 U  b; h0 `
  554. ;docref_ext = .html3 q0 V4 G: e3 \5 X1 A. j3 i7 f

  555. 5 l+ c$ ^, ?: X' {: w
  556. ; String to output before an error message. PHP's default behavior is to leave
    % [$ }& ?7 z9 @
  557. ; this setting blank.) J3 i* [6 H( i% ~1 R
  558. ; http://php.net/error-prepend-string
    0 d/ [0 @$ e9 ]) l) t
  559. ; Example:; y. b% f. K' A# a! ~9 f
  560. ;error_prepend_string = "<span style='color: #ff0000'>"0 y/ P% M9 r2 A- `& l
  561. 3 O/ u( D& f  N' }3 P; j8 U1 D1 }
  562. ; String to output after an error message. PHP's default behavior is to leave' R" a& G7 Z7 ?  A/ F' n: Y
  563. ; this setting blank.
    8 w7 j/ c( x) s1 N9 B) k& W
  564. ; http://php.net/error-append-string
    ) s0 e# U) J9 ]5 a! b7 P( Z
  565. ; Example:9 Y) e0 ], y4 T
  566. ;error_append_string = "</span>"* ~' R" |4 \4 z

  567. 3 w* R. m& ?/ q% b) Z& r6 r
  568. ; Log errors to specified file. PHP's default behavior is to leave this value- |9 G( @! x, M# v
  569. ; empty.7 ?. w1 {% D! D) T4 f
  570. ; http://php.net/error-log  e: o; @8 \9 a
  571. ; Example:
    % H$ z9 M3 {; P) {8 o5 T; r
  572. ;error_log = php_errors.log0 _9 z6 X. q6 e5 k- h
  573. ; Log errors to syslog (Event Log on Windows).
    / f4 @8 g0 D8 H% l! x. u+ z
  574. ;error_log = syslog
    ) n6 @& m; e' D* w

  575. 0 s$ t& a8 T+ ?% d( G3 O7 z: ?5 Y
  576. ;windows.show_crt_warning
    " E8 {9 u. z2 M# R$ @
  577. ; Default value: 0) {6 S' V* G  Y
  578. ; Development value: 0
    % x3 R( k5 }' s" e9 U, m4 e
  579. ; Production value: 0
    * ]9 n9 ~- k* v. `- Q% w
  580. ; ~: E7 }* e" x; n
  581. ;;;;;;;;;;;;;;;;;
    . |& @1 }: G7 m# p" q+ t
  582. ; Data Handling ;* p* Y8 M3 r5 m1 W! \
  583. ;;;;;;;;;;;;;;;;;
    5 t6 E8 ~9 T) m3 ]9 h' r

  584. ) F  u1 ?4 L$ F! K( \% `
  585. ; The separator used in PHP generated URLs to separate arguments.
    , r. ]* j: X. u$ a' e( ^
  586. ; PHP's default setting is "&".* p: z7 F5 W, Z5 R: M; Y
  587. ; http://php.net/arg-separator.output
      j8 ?0 e8 {7 V, C: ^6 L
  588. ; Example:7 D2 E5 X7 H4 |1 l. d
  589. ;arg_separator.output = "&amp;"' [- y% g* B( W7 N
  590. 7 x0 Q+ e; X% m3 L
  591. ; List of separator(s) used by PHP to parse input URLs into variables.& u9 P: s7 Y3 q% Z, Z# j
  592. ; PHP's default setting is "&".
      Z; ?( f) X3 `6 M- ?: Q6 n
  593. ; NOTE: Every character in this directive is considered as separator!; Z/ `3 [! M! {3 \
  594. ; http://php.net/arg-separator.input1 v: \5 u$ B8 p# F/ Z8 t
  595. ; Example:( z8 X5 {) Z; o5 x, [( R
  596. ;arg_separator.input = ";&"
    4 o. A' p. `' R. h, E4 H
  597. # X7 H5 Y- t8 p1 J- _
  598. ; This directive determines which super global arrays are registered when PHP
    7 t% I- y* R; h1 o& {- @7 S
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super- [' y/ _, m2 o- Z& I6 b, i
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    9 o; b+ `# s3 h. N# \
  601. ; paid for the registration of these arrays and because ENV is not as commonly- z- d" p! c1 f9 Q9 g
  602. ; used as the others, ENV is not recommended on productions servers. You
    7 k& A" _( \% j  u7 R, h. B
  603. ; can still get access to the environment variables through getenv() should you
      D. J5 q- m* l5 p8 s
  604. ; need to.8 B' I9 l9 W) D, e. p4 f4 T% @7 [
  605. ; Default Value: "EGPCS"
    , i# ^- l3 D( _! ~' b* F2 d8 a
  606. ; Development Value: "GPCS"
    , I& _% x* M+ D( Z# x+ U4 _0 }
  607. ; Production Value: "GPCS";
    + T$ `$ y+ v- @( Q8 S( i9 v
  608. ; http://php.net/variables-order. S0 b' O( ?: x; F- J/ k
  609. variables_order = "GPCS"
    5 S/ T1 t" F' V% ~

  610. ( o: E/ z  ~& r: t3 z* x
  611. ; This directive determines which super global data (G,P & C) should be: T$ Y( g& [2 v  H
  612. ; registered into the super global array REQUEST. If so, it also determines
    ! a/ ]2 P$ o7 E% S- M7 \6 u  G
  613. ; the order in which that data is registered. The values for this directive& T) s: _% U1 b1 n5 Q2 W
  614. ; are specified in the same manner as the variables_order directive,8 z' X: J' n6 z0 l% U# @( {3 P
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    + r5 ^2 z# j4 B8 b
  616. ; in the variables_order directive. It does not mean it will leave the super
    6 j/ f" W: R' y5 J. {
  617. ; globals array REQUEST empty.' V1 P& k4 I6 V, \6 l7 B8 n, ?9 p
  618. ; Default Value: None
    : v; d5 R: H+ n1 b' q% l
  619. ; Development Value: "GP"6 H6 W# g2 Y  S3 k
  620. ; Production Value: "GP", ]5 O* k* A  i! V
  621. ; http://php.net/request-order
    3 _4 E9 X) f: u$ ~4 X, ?
  622. request_order = "GP"9 ~9 e1 M  O. E9 \# R3 k
  623. # A7 c( \8 k* B5 ?4 g" g. h
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    $ F, `* z* N+ m
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script. |/ u/ Z; B5 m! U
  626. ; is invoked. $argc contains an integer representing the number of arguments
    " w6 X9 g) w- w$ i0 g
  627. ; that were passed when the script was invoked. These arrays are extremely
    . n- f4 J+ C1 z0 ~  w
  628. ; useful when running scripts from the command line. When this directive is
    8 O7 R$ P- f9 n! c
  629. ; enabled, registering these variables consumes CPU cycles and memory each time9 T+ n5 j$ Q9 p* Z+ {$ w
  630. ; a script is executed. For performance reasons, this feature should be disabled
    1 M$ Q6 q7 A1 s9 N0 u* D4 ?8 F5 h
  631. ; on production servers.- S) ]  h0 O. A  U/ }0 y7 j$ b8 e0 D
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    & [* i4 E  H" M. V
  633. ; Default Value: On
    3 U, m8 ^" @# W) J! _
  634. ; Development Value: Off
    & x6 O! f1 ^' |4 Y/ s6 }
  635. ; Production Value: Off
    6 W) f$ a2 I( y1 L. Z
  636. ; http://php.net/register-argc-argv
    ( \" J% W2 v' N6 J, l# ~
  637. register_argc_argv = Off
    . ?+ ^0 U: h/ ]

  638. - P7 f- @7 G& @5 D; s
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    8 [6 }/ j$ k4 t' J
  640. ; first used (Just In Time) instead of when the script starts. If these
    4 D/ m/ M4 P- _! n; i* }+ z# J
  641. ; variables are not used within a script, having this directive on will result; b) E" A3 R+ U
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    3 n" l4 z9 L3 m' Z# S" @
  643. ; for this directive to have any affect.' q& E6 t$ `( t! d9 p# w% G
  644. ; http://php.net/auto-globals-jit# v* Y* G' x- m/ `, S# f* g
  645. auto_globals_jit = On. S4 n& ?1 ]% @$ _

  646. ; \1 o. S7 B2 p6 D
  647. ; Whether PHP will read the POST data.% Q$ u" q0 A0 n9 S
  648. ; This option is enabled by default.* s; j' t! k5 {
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + \- |. T, z2 g, i' j1 @
  650. ; and $_FILES to always be empty; the only way you will be able to read the& }$ T% Q! P/ `6 F1 F2 z7 t
  651. ; POST data will be through the php://input stream wrapper. This can be useful+ E0 B, b" S) b8 y5 ^% t, p
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.: H/ s0 Z6 }% E# O) y
  653. ; http://php.net/enable-post-data-reading
    - I% P( a' b3 h* j4 C5 {
  654. ;enable_post_data_reading = Off! R$ k1 B& {1 ~7 h  [( t- @
  655. . S" Q1 W- ?. b  x
  656. ; Maximum size of POST data that PHP will accept.! K& h; ]: q7 K% E
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading0 s5 W# s. M3 ]' u' y2 {% G
  658. ; is disabled through enable_post_data_reading., E( f) f/ R& \
  659. ; http://php.net/post-max-size
    , ]/ g! l2 n2 @7 s8 E
  660. post_max_size = 50M
    " x: y- y. \. f) M8 _3 {  T" x! }
  661. ; ^: ~  V# j# B7 k+ r# t
  662. ; Automatically add files before PHP document.7 m$ x% y/ h. b- b0 j
  663. ; http://php.net/auto-prepend-file
    / O9 }7 m/ [2 s& \: i' L
  664. auto_prepend_file =+ {% V* ~$ ^) K' ~. z

  665. ) P$ \$ e8 E+ a$ H3 t: l7 R
  666. ; Automatically add files after PHP document.
    1 |3 H8 `) s" \; {8 r' \
  667. ; http://php.net/auto-append-file
    & p4 ^3 L5 `) `
  668. auto_append_file =# Z- d1 n* j: l! d$ D8 S/ n" r8 h

  669. : x$ S7 T* c+ S1 ^8 ]
  670. ; By default, PHP will output a media type using the Content-Type header. To9 s( Y9 t; Z( y, i$ n: S
  671. ; disable this, simply set it to be empty.( m7 h4 V4 L3 O2 h$ {
  672. ;' V, ~& x8 ^2 u+ T  w. _( a
  673. ; PHP's built-in default media type is set to text/html.) z1 f: ?- `% b! W/ J5 e+ R, r
  674. ; http://php.net/default-mimetype
    6 }& t  p) K" b5 \
  675. default_mimetype = "text/html"9 l$ M8 w7 o+ T

  676. 9 U$ X4 Y/ a! A! x; V6 E, f
  677. ; PHP's default character set is set to UTF-8.+ s; c2 S, A4 u
  678. ; http://php.net/default-charset
    9 i3 W. M3 f% [7 E2 ?! F
  679. default_charset = "UTF-8"
    4 v0 Q5 B( p+ x$ W  g0 k/ `: G
  680. 3 ^( \: C4 E1 U% F
  681. ; PHP internal character encoding is set to empty.
    ; U* Q! T0 `6 O. t
  682. ; If empty, default_charset is used.% u2 v: g! E' K; \7 A
  683. ; http://php.net/internal-encoding( t& M6 Z# S9 y: f! M$ e& y: e" U
  684. ;internal_encoding =: ]; R9 s- d3 \1 h8 h: [
  685. 9 s. t+ E+ V( ]2 `- |$ Z5 z
  686. ; PHP input character encoding is set to empty.. ]" k, O) ?% ~
  687. ; If empty, default_charset is used.
    % L" B! k  ]9 l* B
  688. ; http://php.net/input-encoding( E. n: I9 L% }9 Q3 N7 T0 `: U
  689. ;input_encoding =# r: N. I, u2 [9 B) o, z
  690. ; H8 z' k, \* [: C
  691. ; PHP output character encoding is set to empty.
    ! ?0 g$ d$ O0 Y) f( t
  692. ; If empty, default_charset is used.
    8 T$ _3 y$ ~) a" m. q; i- e
  693. ; See also output_buffer.7 b& a* c: C8 [: Y% }6 {
  694. ; http://php.net/output-encoding
    # A# W  r5 x4 ?3 P# u$ O
  695. ;output_encoding =$ v3 c- Q2 O$ K1 _
  696. % h) ?' b4 z% s$ h' p6 v. D4 @( C
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is2 `8 ?7 s3 E4 e) i! f! S. h$ D2 W4 Y
  698. ; to disable this feature and it will be removed in a future version.
    8 q4 R& b% ?! |$ Y' J1 g
  699. ; If post reading is disabled through enable_post_data_reading,! \& `2 ?$ {1 e5 K" G
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.  c6 \6 D' M6 [; A
  701. ; http://php.net/always-populate-raw-post-data
    - [' A' S  G1 F
  702. ;always_populate_raw_post_data = -1/ R; k& U. q1 M  A" F. |7 U
  703. ' ^+ u$ F. e. e4 j
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ' _! D. W$ D6 k( f' _
  705. ; Paths and Directories ;
    ) _# u; K3 s8 a. S: C
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;7 A. H0 v6 `: y! C( ^
  707.   a- T( j) J$ v5 S) }  ~" V$ g" L
  708. ; UNIX: "/path1:/path2"
    / ]& D- {. ?8 ~6 g4 m' p
  709. ;include_path = ".:/php/includes"8 A4 v; W8 ~* }% I  E# C! l
  710. ;
    1 }& J3 D9 ?: M: t/ d  a2 E
  711. ; Windows: "\path1;\path2"7 u$ w% U  v8 Q& D2 c1 S: A
  712. ;include_path = ".;c:\php\includes"
    ' \, @: p' m7 p* c) g6 T* }
  713. ;
    + _3 ?" l0 a1 ?
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"& N' A" z1 S* I
  715. ; http://php.net/include-path
    # G/ f, P% M8 y7 q
  716. 1 F6 m/ O' J; y: _. D/ r. Q
  717. ; The root of the PHP pages, used only if nonempty.
    / r; U3 ]7 B7 q& ~$ n9 o9 Y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ( _; ?9 W  Z( x9 A$ ]/ T" o
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ! ^4 H! _3 O; |- R/ C- _
  720. ; see documentation for security issues.  The alternate is to use the
    ; n7 a# k1 X, u# T
  721. ; cgi.force_redirect configuration below
    : D9 A! W& y- T) H; r/ a) u: \
  722. ; http://php.net/doc-root& A, ^1 i! c- I! W
  723. doc_root =
    - k: i7 G! p! m& g- i+ j

  724. # }+ k  ^; d) a
  725. ; The directory under which PHP opens the script using /~username used only0 c! B0 A! w& Y
  726. ; if nonempty.2 t  o2 B0 c; `8 R+ W6 d- l
  727. ; http://php.net/user-dir: F& G4 A: s: i. _. M- A
  728. user_dir =
    9 Z8 b4 W' ?, y" o
  729. 8 ?+ n: d, C) w: r4 p4 {
  730. ; Directory in which the loadable extensions (modules) reside.
    + P( }, Q- k: o& L
  731. ; http://php.net/extension-dir: y  w! \+ i% D
  732. ; extension_dir = "./"
    1 v5 k  \  H2 n0 X% a% l7 W
  733. ; On windows:; m) Z9 k5 l+ b9 j" }0 S9 i
  734. ; extension_dir = "ext"3 k& a2 F# ~0 U: q

  735. 0 Y$ q1 Y: R, A
  736. ; Directory where the temporary files should be placed.
    ' e5 i8 I; z0 S: m
  737. ; Defaults to the system default (see sys_get_temp_dir). G! h- e' k% n: k5 K
  738. ; sys_temp_dir = "/tmp"
    % `# ^# y8 |# S  |7 y4 [
  739. " G) ~6 L& q0 [: i0 e! t% A
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work* p3 S7 q3 \6 p
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically8 M/ \. J7 e" M  _2 v. z' ]
  742. ; disabled on them.
    7 p7 E5 l7 b1 g
  743. ; http://php.net/enable-dl  \2 G+ ?+ X$ q0 O  u2 n
  744. enable_dl = Off
    0 G( W+ V. r! ^/ Q

  745. 4 k8 R# r; H+ c# V( E) R6 L
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ( ^6 L& P# h9 n7 l5 r; B
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 b, V2 o9 g, \: I4 g  J' M
  748. ; turn it off here AT YOUR OWN RISK2 A! E( h+ l, u% p/ t. r  e
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**. f5 a, r3 f" J. ^( u& x5 e
  750. ; http://php.net/cgi.force-redirect0 w9 A6 U  s4 ~9 Z
  751. ;cgi.force_redirect = 1+ t* O+ \1 G/ C, \( D) t
  752. / E1 S5 [. L2 P4 y
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with# T% t! x/ G8 n! y( H
  754. ; every request. PHP's default behavior is to disable this feature.
    5 i& ]/ ~) n$ f0 z
  755. ;cgi.nph = 13 G7 P; j& w* A/ i+ q7 @

  756. ; `5 ?, L* z2 u! y/ C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    & S: D4 `. g$ R) p# }
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 e# B4 y( q, r) |
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    3 `, y7 h5 l4 P4 k- P
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . i0 d( @3 G) a0 ~. F& [
  761. ; http://php.net/cgi.redirect-status-env& ~- e/ |7 a6 m
  762. ;cgi.redirect_status_env =3 {) [5 O5 l! X/ m0 e2 |( @# R
  763. - I' o" g) H9 b, g7 @  N- X
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    # a1 o0 R; p! ]: V4 C+ J9 d
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    - X, [" g7 H; [! _1 q- i
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting  F- p+ t$ y% Q# o7 \
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting7 G& H1 J7 n# s3 }
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    : `. Z1 Y+ O- E0 `) g
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.: r3 F1 d( l: I3 `% w
  770. ; http://php.net/cgi.fix-pathinfo
    9 Z8 k& [  a! H) _) [9 u/ \' V
  771. cgi.fix_pathinfo=1
      T4 a5 |. m( S" [$ P8 k! ?

  772. * ~" f% M! S1 m3 `
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside7 B1 F# Z$ M+ ?* i2 ^
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 t! p, ^$ K& p' M7 z5 ]1 V! _
  775. ; http://php.net/cgi.dicard-path
    / C7 ^& w5 U0 W1 T5 ]+ ]0 A
  776. ;cgi.discard_path=1; {4 N4 Y' {, a' M/ x5 p: p4 B
  777. 8 F' C) P2 l( r+ D7 a) ]
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    0 Y! E: Y" v( r! X! x* i
  779. ; security tokens of the calling client.  This allows IIS to define the
    + u. s. j0 p* x: {7 v
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    " G  u* y! f  g; z
  781. ; does not currently support this feature (03/17/2002)
    / c, C1 z" N$ P. [
  782. ; Set to 1 if running under IIS.  Default is zero.
    * o3 a& D% P( _, k  e' F
  783. ; http://php.net/fastcgi.impersonate
    6 [4 g" [# P/ V8 ^, n
  784. ;fastcgi.impersonate = 11 K% A+ l9 F/ J! u$ M) x

  785. ! I" |6 o+ @0 z
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( I, O1 a' [; O9 t% ~3 ^
  787. ; this feature.. i8 R  r9 f7 [: F: \( s: C8 ^
  788. ;fastcgi.logging = 0; O% y/ ]; J6 ]" q. t8 M% I
  789. & B9 v) ]( B. o) M) E' O$ N: _
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    , Q- T. D, l& i3 i9 F
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, X7 @% `; ^. u
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ; x6 R2 j( K) g0 g2 T, |. ~; r
  793. ; RFC2616 compliant header.: o: U: t& _7 t/ F/ H
  794. ; Default is zero.
    9 k" `* Z# P+ R  U1 i; u
  795. ; http://php.net/cgi.rfc2616-headers& F; k9 W% t1 w( r# |
  796. ;cgi.rfc2616_headers = 02 W0 S7 `- _5 K4 U/ |4 ~

  797. & h8 P/ u- j0 z1 L' r- U
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    " a  d) b! n' T9 U
  799. ; (shebang) at the top of the running script. This line might be needed if the
    + _9 V1 z  V7 P
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* c+ |5 J- U: Y8 c) g, L$ U
  801. ; mode skips this line and ignores its content if this directive is turned on.$ e' R* e" F# [* c) D
  802. ; http://php.net/cgi.check-shebang-line
    & Z' f1 b" W  }
  803. ;cgi.check_shebang_line=1* b4 Z9 {- h0 Y: y

  804. 0 }9 r2 p0 v+ r) `$ c  L
  805. ;;;;;;;;;;;;;;;;2 ^1 Z* N6 M1 d" I2 z% T6 ?; ^
  806. ; File Uploads ;
    ( s0 d& \: {. ^
  807. ;;;;;;;;;;;;;;;;) H& Q) h9 S4 A9 x' }; v- V

  808. ! n/ f8 E) ^* j3 e, u% H* j: f, y
  809. ; Whether to allow HTTP file uploads.: H( U9 P0 y( X0 t2 I( z
  810. ; http://php.net/file-uploads& R4 ~$ l$ [, `8 h. l8 G
  811. file_uploads = On
    & c6 G( ]! n/ u, y

  812. - H* ^) w; [2 M% m$ R$ A8 V# k* K7 l$ D) y
  813. ; Temporary directory for HTTP uploaded files (will use system default if not& N: ^+ }! C+ K1 Z" [9 f& t
  814. ; specified)., Z. ]) {3 Z4 ~9 l
  815. ; http://php.net/upload-tmp-dir0 l4 f8 t  c: `4 o- W9 S" _# M
  816. ;upload_tmp_dir =
    2 x, N! h% L7 E, Y, Y3 Y

  817. ! t% `* u' F% }5 H6 n* `
  818. ; Maximum allowed size for uploaded files.
    ! w, d. L9 \3 U' W. e  j
  819. ; http://php.net/upload-max-filesize
    7 t% ]" ?- d4 v! G. U( ]
  820. upload_max_filesize = 50M, M/ }  v4 C. E9 p( @4 R" k

  821. 9 n( e4 l2 D8 N& }" I* `2 ^
  822. ; Maximum number of files that can be uploaded via a single request1 B8 P1 c4 ~5 V* S  m# l0 \1 x
  823. max_file_uploads = 20; Z! c; X* s  v7 z# k
  824. + ^0 D+ \$ Y  P3 r) H0 ]
  825. ;;;;;;;;;;;;;;;;;;2 ]+ z/ ~6 s/ C
  826. ; Fopen wrappers ;3 e+ @1 [' ?5 _) T: a* C1 V) z3 u
  827. ;;;;;;;;;;;;;;;;;;* I! N4 \3 S$ N7 J" J
  828. 3 i- L) }2 m' a6 i& J" S2 W
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.2 f1 {8 C+ u$ K8 f% W. N
  830. ; http://php.net/allow-url-fopen# m7 Z& \4 l5 v. }
  831. allow_url_fopen = On8 T- Q7 U# I# p
  832. 4 V" e9 g" |6 {3 P! }3 Q! `. u
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.# j% E5 w/ B" l) P% b
  834. ; http://php.net/allow-url-include* u% s$ r5 M# W6 \8 L8 f0 W
  835. allow_url_include = Off8 p4 S9 Q7 F  S

  836. / R3 T+ D. f1 b  |! ?/ L9 x
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ( T7 D7 D- v) D* H
  838. ; for this is empty.
    ' c# ]# \( H( z5 h2 h$ _" r  m% M
  839. ; http://php.net/from9 k  Y* I9 B$ `, O. a. W! a* b
  840. ;from="john@doe.com"# Q1 w) q' u* i0 y, V8 @

  841. 8 z, X( T: ~# v0 \/ m/ A
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ' M8 y6 T* H! y' d! f
  843. ; http://php.net/user-agent
    , q+ p3 {! b* ^2 z: w7 K; m
  844. ;user_agent="PHP"- t2 K) g1 N& `1 I) [3 W& I/ Z  z

  845. 7 Y/ D1 B" p/ c  ~0 {; a
  846. ; Default timeout for socket based streams (seconds), e/ K' G2 A! _) _* n
  847. ; http://php.net/default-socket-timeout
    4 m! }' g* G2 x# B! n3 M2 X
  848. default_socket_timeout = 60
    & H& {' I* m" {# l1 F) Q
  849. : _' A2 r; G, d' `9 G8 ~
  850. ; If your scripts have to deal with files from Macintosh systems,6 n9 G/ C9 b6 m! i; r
  851. ; or you are running on a Mac and need to deal with files from
    1 x6 r0 c% q& y# ^+ Q
  852. ; unix or win32 systems, setting this flag will cause PHP to1 H8 n6 X! a& D8 P# Y$ j
  853. ; automatically detect the EOL character in those files so that3 _6 c* D" V) M7 V' h
  854. ; fgets() and file() will work regardless of the source of the file.; {3 F" U8 S' X! }2 o
  855. ; http://php.net/auto-detect-line-endings
    * ~$ ^* t+ Z, x4 B, y
  856. ;auto_detect_line_endings = Off# l1 N( e! d- O% o; c! T2 [- ]1 v* ?
  857. 6 b# W# r& y' s2 v6 L: Y$ K
  858. ;;;;;;;;;;;;;;;;;;;;;;/ k  F  }" a# ~& R+ c
  859. ; Dynamic Extensions ;
    # G/ u+ @" `) T( D0 }4 q! H* K
  860. ;;;;;;;;;;;;;;;;;;;;;;
    7 {  B8 m4 ~; y& m# |3 A

  861. 8 R8 @0 |. i/ Y  {0 F
  862. ; If you wish to have an extension loaded automatically, use the following
    / |% N3 X- k0 u
  863. ; syntax:$ i6 {( u2 F7 @' N9 C' C( i
  864. ;
    ; U5 R+ S8 n5 t' s, i4 [* E
  865. ;   extension=modulename.extension
    3 Y" T  B9 N! U* }4 ?6 s) Z
  866. ;) ~9 a$ B8 h. O& b6 |* X
  867. ; For example, on Windows:
    ! w8 s0 y8 {3 A, c
  868. ;
    , s, {* U8 K2 r7 o* X1 h
  869. ;   extension=msql.dll
    ( T5 G/ _# a; |& N( ]6 O" R: s
  870. ;5 A9 j; X# V3 P( c5 ~( S6 e. |
  871. ; ... or under UNIX:
    6 u9 K9 `) X  t; O8 c
  872. ;- M& J' I, j! s6 d, v
  873. ;   extension=msql.so
    5 J+ \: v! G4 w  ]9 U3 X' E
  874. ;0 ^+ |6 u: H8 ]' @$ m" t
  875. ; ... or with a path:" d- B6 O8 R& B! i# v0 @
  876. ;" B- n  Y3 T! q/ l1 [+ r
  877. ;   extension=/path/to/extension/msql.so
    ; A' R: s% _1 Y' w
  878. ;7 _' r* W5 {0 p8 a+ Q
  879. ; If you only provide the name of the extension, PHP will look for it in its, w) f9 S. X8 X! x/ ?( K
  880. ; default extension directory.
    # F0 Y+ X$ _: n- x! p
  881. ;0 b/ Y( B( ]7 ]8 O- q2 Z
  882. ; Windows Extensions
    , B: O9 W5 P: {
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    / r1 Y( f0 c, m, }' `
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    . g" z- X1 J% v: d' B6 K, M4 t: a
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    8 ]$ _6 q( p: U4 P: S
  886. ; Be sure to appropriately set the extension_dir directive.9 F7 ]0 E( ^2 i. s
  887. ;
    6 L2 F. m4 M2 \. D  z' N
  888. ;extension=php_bz2.dll: Z, H- E3 [# X
  889. ;extension=php_curl.dll
    " n9 p2 L! Z1 K! ]8 T
  890. ;extension=php_fileinfo.dll1 x5 A+ Y6 v7 J6 X
  891. ;extension=php_gd2.dll
    - B* X0 }( P5 i$ W2 r
  892. ;extension=php_gettext.dll! X  v* l! m6 @; B. N) k; }' i0 S
  893. ;extension=php_gmp.dll
    3 t- ?6 L0 u! X. ^! Y
  894. ;extension=php_intl.dll* V& p/ F4 Z' G& l  d+ P
  895. ;extension=php_imap.dll0 L( Z9 G5 f  Z$ P
  896. ;extension=php_interbase.dll+ I* C- W) @4 Z
  897. ;extension=php_ldap.dll/ y- k" v; T7 z9 ~
  898. ;extension=php_mbstring.dll$ b/ |; F' j5 h
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it' H# q+ O" n, V: J# q
  900. ;extension=php_mysql.dll
    3 |: h. H* O5 ^8 k, C6 i4 g
  901. ;extension=php_mysqli.dll
    3 N# c9 ^% k. `/ |
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client+ L/ V* e" H" n# B( \! \' U0 @- l
  903. ;extension=php_openssl.dll& `- d. [( |8 j3 h: x
  904. ;extension=php_pdo_firebird.dll$ R9 e1 Z# u2 T6 d  A! f
  905. ;extension=php_pdo_mysql.dll1 _* \  r9 `) a# F: \
  906. ;extension=php_pdo_oci.dll" d! j7 r) y; O% z, q6 i
  907. ;extension=php_pdo_odbc.dll
    % Z6 N6 b; j8 @
  908. ;extension=php_pdo_pgsql.dll, O, R' d. o! L" R$ {
  909. ;extension=php_pdo_sqlite.dll, v  O, e+ ]( ~1 G: ]6 |8 |. P
  910. ;extension=php_pgsql.dll; [- v, O, h& H
  911. ;extension=php_shmop.dll
    5 D9 ]- P7 c5 n! d
  912. : |/ u8 S. Z  e* Q' F
  913. ; The MIBS data available in the PHP distribution must be installed.
      z! G5 i3 a1 G0 _- K/ }0 N
  914. ; See http://www.php.net/manual/en/snmp.installation.php ( q/ H. X* F0 P0 s, j
  915. ;extension=php_snmp.dll
    0 a6 V9 y  H  ^/ w% K  i- K  N. @- v

  916. % U# ]) W  D, ~* d2 w- j
  917. ;extension=php_soap.dll. |0 y; p9 l% F( e% z
  918. ;extension=php_sockets.dll
    , }+ z& C2 n2 k+ ]; k5 k
  919. ;extension=php_sqlite3.dll
    : a+ f; r7 [: A* g6 Y
  920. ;extension=php_sybase_ct.dll& q& O' F; H0 {# E1 K, q
  921. ;extension=php_tidy.dll# d3 n( B# b2 m" v
  922. ;extension=php_xmlrpc.dll# T0 E  X5 f$ p/ w
  923. ;extension=php_xsl.dll
    % S2 k# c! B/ y" p6 w- @" ^4 r

  924. * W5 B: Z8 \7 q2 p9 I, `( t
  925. ;;;;;;;;;;;;;;;;;;;8 ?1 U( G) m( r! F; D8 {
  926. ; Module Settings ;
    ! W9 _* B; S2 k" o& U
  927. ;;;;;;;;;;;;;;;;;;;
    ! u9 Z) j1 i0 D6 [7 Z

  928. ( _( a7 K5 n4 A! {
  929. [CLI Server]+ F7 F0 F# j( |% @* o4 d- K. g
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.9 j. G& j) k! u3 G# C/ y
  931. cli_server.color = On, H5 N( a% e7 e  r- a* g, d9 s

  932. 0 k7 i8 T& j1 z, v. p2 Q
  933. [Date]
    / Z$ U  P" i9 R5 ~, H  Q2 _" w
  934. ; Defines the default timezone used by the date functions; H$ A5 G9 g+ |- j
  935. ; http://php.net/date.timezone
    5 m( ^6 j! r/ E9 A7 E+ B
  936. date.timezone = PRC
    / e7 r1 n) n. @

  937. ! j, z. H; R: {) Z1 {# J" D- O# m
  938. ; http://php.net/date.default-latitude
    * v4 e$ k8 R$ r/ O2 I; q+ y
  939. ;date.default_latitude = 31.7667: v6 p4 Y' X0 P8 R6 {
  940. 6 M' v& T2 l/ |: B
  941. ; http://php.net/date.default-longitude' w& B) R+ A0 I8 u  ]
  942. ;date.default_longitude = 35.2333
      s6 g- l/ y3 F* v% N0 Y

  943. " b; ]  n2 b6 W+ }2 t8 {+ w
  944. ; http://php.net/date.sunrise-zenith! Y! r) s5 N) W5 [
  945. ;date.sunrise_zenith = 90.583333, ?+ e" m0 l: n" d
  946. " |' d. b2 _- s
  947. ; http://php.net/date.sunset-zenith
    3 U. x- u( s9 J7 N
  948. ;date.sunset_zenith = 90.583333' }. P$ x1 L, I9 U, `
  949. 4 i, k% U+ \5 h% U3 X* C% s
  950. [filter]
    * U( |) R" |2 ~( Z1 f% d" U1 ^% v
  951. ; http://php.net/filter.default  T) V9 ^) `+ U5 L/ a3 |4 v
  952. ;filter.default = unsafe_raw
    ( ]7 \& y) S/ r7 e/ h3 D1 O
  953. - ~7 `& ]! ~/ k  m: _$ @6 T$ e
  954. ; http://php.net/filter.default-flags
    # t6 V+ L) e2 `
  955. ;filter.default_flags =
    - Y; m9 E) C4 R

  956. 2 ^: n, J* ~% Y" B6 I
  957. [iconv]# ?( [2 {6 g2 |- p# {0 q! {; Y# z
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.+ Q& P5 T& @1 _( a" L/ r& |6 |
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 Z* y7 K. W% g: G. g9 f- R
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    $ i6 [3 e, [$ J- u3 X' F7 |9 w4 r
  961. ;iconv.input_encoding =
    ; o/ s' }0 Y- F2 i" F. J

  962. 9 h* B- G  M, N+ y. x
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 B) B% q% O, g6 R2 ]- _; _
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * o# B5 u# j6 Y8 S. R
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ F: I+ ~" b0 J* Z2 h) |6 g  D8 n
  966. ;iconv.internal_encoding =. q! J2 G( K& H- X& \

  967. 3 Y, W) _, K1 a1 r- b
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
      y- Y, Q7 {" ^
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * j# g& G9 I( N" M, X
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    9 B8 o5 a; Q* H* n# w
  971. ; To use an output encoding conversion, iconv's output handler must be set
    . U5 S" j" [5 I. `! N
  972. ; otherwise output encoding conversion cannot be performed.
    6 [: Z5 m  o+ ]
  973. ;iconv.output_encoding =+ f, B" m6 a$ R% m
  974. 5 x( ^2 w: o7 K) _% q2 m# n/ T
  975. [intl]
    & W8 n' ~, @/ H) }$ Q) }1 K. {
  976. ;intl.default_locale =
    4 Z7 Q) ?1 p: Y/ R+ C, k
  977. ; This directive allows you to produce PHP errors when some error
    # M" q  F; ~; a( V
  978. ; happens within intl functions. The value is the level of the error produced.
    3 t# n' P+ l8 c$ Z  i
  979. ; Default is 0, which does not produce any errors.
    : G; @+ B! D- x' Z! |
  980. ;intl.error_level = E_WARNING
    " B  X' y+ I% \4 _' i* |* A6 v
  981. ;intl.use_exceptions = 0
    + s9 P! ~- }/ Q
  982. - n- A: [4 e. Q/ {8 X3 {* R
  983. [sqlite3]
    : c0 u7 ?* A* Y/ P# U! Y% D9 O
  984. ;sqlite3.extension_dir =
    . U) X( n+ [6 M) T  k

  985. , S/ r. O/ h- o2 P7 Q4 S, C
  986. [Pcre]6 t  L/ _) [, Y: q3 v! J" s+ W
  987. ;PCRE library backtracking limit.
    4 P% F9 Z5 W6 O' t# \
  988. ; http://php.net/pcre.backtrack-limit3 o7 l/ \2 t/ I: e! b2 i
  989. ;pcre.backtrack_limit=100000
    9 @; y3 g; s- V1 n
  990. 4 t: _% C/ `5 R5 z' {  W1 s
  991. ;PCRE library recursion limit.
      ]9 f% w* ~2 m% A$ g( Z- v
  992. ;Please note that if you set this value to a high number you may consume all
    - G! F  k% P- H0 m1 s
  993. ;the available process stack and eventually crash PHP (due to reaching the7 V. A+ _% k8 b5 k
  994. ;stack size limit imposed by the Operating System).6 K% Q) I. ?' L. t
  995. ; http://php.net/pcre.recursion-limit- \( Z! ~/ ^" J
  996. ;pcre.recursion_limit=1000005 g+ o$ w) F: ]' L5 T

  997. . o4 t: C/ h& ^; }. g: A; v) w
  998. [Pdo]
    , h# f$ X, o# Z- k& M+ d# q  Y' J
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 @6 p) B* l  ^- [
  1000. ; http://php.net/pdo-odbc.connection-pooling+ w$ M9 A9 I+ u; c; U; D: I% J
  1001. ;pdo_odbc.connection_pooling=strict- L- R+ x, F6 a8 d8 j" s

  1002. . c' }+ m# M5 X8 X
  1003. ;pdo_odbc.db2_instance_name2 A  M$ n8 Q( L

  1004. 7 w2 O, X$ v( S* B' b  m2 c3 w
  1005. [Pdo_mysql]2 l7 b$ }1 T0 w3 d
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : B) P; m3 Z) H; n- K- P6 {
  1007. ; http://php.net/pdo_mysql.cache_size) D' I2 C6 p; s
  1008. pdo_mysql.cache_size = 2000
    ' m% O0 {) M' F* x- z: E, K
  1009. 9 y8 _4 A. e/ D
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 B" V( C% C" O1 T0 S) u$ b
  1011. ; MySQL defaults.0 [5 g' I5 y1 X+ g3 G9 A
  1012. ; http://php.net/pdo_mysql.default-socket- ]9 ~. O5 ]7 M" i" P" P6 I
  1013. pdo_mysql.default_socket=% v. d' P* \- l3 Y

  1014. : O3 N/ u+ g5 t/ r$ g+ ^; x
  1015. [Phar]' L7 w6 T" J. _! v6 u6 i
  1016. ; http://php.net/phar.readonly
    8 w( J9 A  y  |& r. s( R
  1017. ;phar.readonly = On
    4 B' A$ n! |9 r+ O9 d
  1018. 8 |7 N1 x7 o: J. [- G% J
  1019. ; http://php.net/phar.require-hash
    * T4 {! x, }6 o( N8 P+ d
  1020. ;phar.require_hash = On
    3 }7 Q! X( n( T% @9 u: h/ H
  1021. ; N+ N0 M9 f2 d, _
  1022. ;phar.cache_list =# r' g! a8 r4 b8 K1 T3 U

  1023. % k+ [. {8 K! Z
  1024. [mail function]
    * [0 M  T2 p, c/ w4 b' j! ?( p) P
  1025. ; For Win32 only.
    ; u: Q! p! N" U3 n8 H1 d6 q
  1026. ; http://php.net/smtp
    1 O$ P6 K7 S" t5 s
  1027. SMTP = localhost
    3 u5 `  |3 r/ [2 P' N$ g% t1 I  x- }
  1028. ; http://php.net/smtp-port1 U3 A# x% p1 |9 b% ?
  1029. smtp_port = 25
      x9 H- \6 @6 q: n
  1030. # S" t6 m) Y' K1 W: c
  1031. ; For Win32 only.
    % N+ y# j# o1 }/ h/ M7 O
  1032. ; http://php.net/sendmail-from
    7 |$ J& t7 o( E$ U8 y
  1033. ;sendmail_from = me@example.com
    3 A* @! y* J9 z0 T1 m- I

  1034. ; C2 n) g0 X- s  c8 V
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
      T" [0 h4 c- v. ^: h$ R* n9 M$ I
  1036. ; http://php.net/sendmail-path2 N# l3 X4 O1 T# a
  1037. sendmail_path = /usr/sbin/sendmail -t -i
      B! t5 ?) P. o8 m8 m, ?

  1038. / }( i* A1 r  u# e( k$ H4 _* V) P
  1039. ; Force the addition of the specified parameters to be passed as extra parameters, N( _9 w3 N+ y6 k1 r
  1040. ; to the sendmail binary. These parameters will always replace the value of
    # a4 a/ x- v- R9 k! r; G% ]  t
  1041. ; the 5th parameter to mail()., K+ e/ _2 {; Z2 i$ Z* j
  1042. ;mail.force_extra_parameters =
    $ Q! ^5 S0 X; G; k6 V0 F9 q/ [

  1043. 5 x+ A! }9 \" f% A" m& s
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename* l' O& L4 u! Y
  1045. mail.add_x_header = On
    1 c) ]" e6 b) q

  1046. 9 ~6 A2 M3 |9 Q. l; c
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    9 V. r6 W3 Q& p
  1048. ; the full path of the script, line number, To address and headers.
    . F  R( j6 n4 G4 o) s* f: S
  1049. ;mail.log =5 ?% ~) P4 c  g% V" k- E
  1050. ; Log mail to syslog (Event Log on Windows).
    / B5 |  p& q4 W8 k7 \0 b
  1051. ;mail.log = syslog/ x% n+ ]$ n% U( C4 |' ]8 p1 c

  1052. : M& W' Z. S: F: ^# a! N: v
  1053. [SQL]
    9 H% y, J& d/ S, i0 V. B
  1054. ; http://php.net/sql.safe-mode8 M! a# r3 R" l/ K# w
  1055. sql.safe_mode = Off; [* S2 v! J% n1 S
  1056. 1 a: Z$ X9 N6 t% ?* I- o
  1057. [ODBC]  e  k  J- e& ]/ U) [
  1058. ; http://php.net/odbc.default-db
    & x9 n/ ]2 F7 O  e0 v* t
  1059. ;odbc.default_db    =  Not yet implemented
    + v' P. R3 E5 Q! E' S& [' _  x
  1060. ; M3 A* V6 j. r( T+ H( I
  1061. ; http://php.net/odbc.default-user
    - i7 @6 ?, A* K) @) `7 y' f. m
  1062. ;odbc.default_user  =  Not yet implemented
    . |& }4 e+ m$ n5 k, h" z( k
  1063. / D5 k. Q) v% U) ~& x
  1064. ; http://php.net/odbc.default-pw
    0 J3 o; |& w. K' C/ n3 U
  1065. ;odbc.default_pw    =  Not yet implemented% I& x/ Z  F6 c- Q+ \  m, T% t
  1066. - v" C( \6 j  d2 L' G
  1067. ; Controls the ODBC cursor model./ k. e( F3 s) S' e
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ! ~& |  ]/ t: \  U+ s
  1069. ;odbc.default_cursortype
    7 ^& e" @* y7 U1 I$ j, O

  1070. ! e% o; Q+ z7 W' E! ?
  1071. ; Allow or prevent persistent links.
    , _' Q: B" }8 {$ D1 Z, [
  1072. ; http://php.net/odbc.allow-persistent
    : L, _/ ~7 v6 ]/ s, `5 y
  1073. odbc.allow_persistent = On
    ; I- ]6 |7 K2 d$ y

  1074. ( t) G! A0 y8 d; c. O, ~8 I9 D
  1075. ; Check that a connection is still valid before reuse.
    0 n4 ?2 v7 E  G: q9 o
  1076. ; http://php.net/odbc.check-persistent
    7 \% k. z6 y, c% e5 o& e
  1077. odbc.check_persistent = On  |8 R3 S  f6 i8 d; J/ H( j7 H

  1078. # @6 G* Z4 {$ j& H( d; q7 J" l
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ' }- l1 W+ J0 X: f6 Y' [1 B9 D, H' P' z
  1080. ; http://php.net/odbc.max-persistent
    1 K# w$ U% J. h3 M, H1 g
  1081. odbc.max_persistent = -1
    / X5 Y- M0 U7 s* z

  1082. . S3 W2 u# ]% m" E! u+ D
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 u. v% Y/ T; ?: _) T+ ~5 W& ]
  1084. ; http://php.net/odbc.max-links& ~7 k8 }9 J( S; }. d
  1085. odbc.max_links = -1
    7 o' t& w' `& R- k

  1086. : B: I% v" q& C# [* r
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( t1 B# T) j/ ?% n- ^' O
  1088. ; passthru.- E: Y! K8 W8 b
  1089. ; http://php.net/odbc.defaultlrl
    * T! e7 a/ d0 y  t7 l7 s
  1090. odbc.defaultlrl = 4096+ ?  p1 O9 H! d# _6 Y& j: U$ I
  1091. * c6 K2 q2 T* G% V/ F4 i1 `+ H
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ( D) X3 h9 u$ D, d4 r8 N
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    8 b& A5 M( u, ^: W/ x3 K! z. h" E
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 E9 V5 `6 H3 ]# Z2 [
  1095. ; http://php.net/odbc.defaultbinmode
    9 s1 ?- f+ F' W' B* n: z! n: s5 ]
  1096. odbc.defaultbinmode = 1
    / m. ~8 o) `- h/ l5 x

  1097. & v+ v6 }6 Y5 F7 b' E
  1098. ;birdstep.max_links = -1
    0 S. n0 g: B' g. |- r* \! e
  1099. + t" Z7 e( R# x! t3 t; M
  1100. [Interbase]
      [4 |, `4 j+ l8 `+ f; z
  1101. ; Allow or prevent persistent links.9 f- c3 A1 M" h1 S/ M  A5 ?, e/ f
  1102. ibase.allow_persistent = 15 V* W# e7 B4 f* A  G
  1103. " C6 M/ [% [/ J& d0 f4 {% d
  1104. ; Maximum number of persistent links.  -1 means no limit.
    + t, |" F- F" W1 {; k- C/ W
  1105. ibase.max_persistent = -1  Y  B$ A5 q, w' \

  1106. 1 d; Q; J# Z0 Q' x" t( ]8 Y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % E1 r9 z6 A8 p1 u# m
  1108. ibase.max_links = -1
    # O# U" P* Y, e+ G0 B8 @; k: h

  1109. % s' M' `* g! e, [  Z
  1110. ; Default database name for ibase_connect()." b- ]5 D$ w  t6 o. s+ ^; r* `
  1111. ;ibase.default_db =
    , t9 r$ _! x7 g& W

  1112. / ~; P! X6 C0 \3 E; L
  1113. ; Default username for ibase_connect().* H5 [# P  g3 u# j' t( d+ J! n
  1114. ;ibase.default_user =
    3 i+ e& {) r2 O0 V5 c- L

  1115. 2 Y1 K5 B$ R' y( _' s' G3 Y2 ?
  1116. ; Default password for ibase_connect().
    3 _  Z: T3 O- M! Z  p
  1117. ;ibase.default_password =) J: R; N" @: t2 e: M; V

  1118. ) Y6 M4 V, e$ E2 T: O6 h
  1119. ; Default charset for ibase_connect().8 O% _, c! a# |, P; r  H7 J: \
  1120. ;ibase.default_charset =
    % J6 Y4 [/ p8 O5 ]* h& C$ g, w

  1121. ( c2 f4 V1 e- X3 H! f5 V
  1122. ; Default timestamp format.
    ) \/ J0 F) ]) p! t! R5 {
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! O' q4 S' v0 v

  1124. 4 p" x% C# c- R
  1125. ; Default date format.
    2 q6 B( N! J$ k9 m% Y4 W
  1126. ibase.dateformat = "%Y-%m-%d"
    8 B# w0 H8 _5 @) z; F) G: D, A

  1127. : o% U9 ?, ?* V1 }
  1128. ; Default time format.& W' G, X# W$ T8 c# ]" e- d
  1129. ibase.timeformat = "%H:%M:%S"
    / q; _( n& I, f) H- z  |3 {
  1130. 2 O; l' U4 O0 u* F
  1131. [MySQL]& P! n/ r$ _# L3 M: u' F8 y& F
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) q! N2 e* p! U1 w8 n+ P9 y' D
  1133. ; http://php.net/mysql.allow_local_infile
    - |  y0 E% M* c! q5 B8 U. m+ G, J
  1134. mysql.allow_local_infile = On
    6 W0 G# h* T- T" S* x
  1135.   C7 p4 I1 l* L2 N" H
  1136. ; Allow or prevent persistent links.
    + D4 J5 |2 |& M) S0 M" I( Q
  1137. ; http://php.net/mysql.allow-persistent% x' R* W( \# d
  1138. mysql.allow_persistent = On% m' z! h" Q0 S; O+ Z/ G

  1139. ' K: W# t' Y. Z  O' Z+ r
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 b0 M* S7 k* q
  1141. ; http://php.net/mysql.cache_size
    ' |( U3 N3 N, G/ h# Y$ |/ @. h& D
  1142. mysql.cache_size = 2000: Q# m( O  J+ A! j8 f$ [
  1143. 5 b- @" g! N: _
  1144. ; Maximum number of persistent links.  -1 means no limit.' P  k+ e- R- u) T
  1145. ; http://php.net/mysql.max-persistent; {8 Q8 ]) B4 v3 W3 O
  1146. mysql.max_persistent = -1/ l2 X8 \9 o. |: a( n1 G

  1147.   V( J8 u% {3 k
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 E; W$ B, C% x
  1149. ; http://php.net/mysql.max-links) K: V4 k/ d5 M# K& m6 p$ F
  1150. mysql.max_links = -1( _5 h) H4 j% l, u& c! \+ e
  1151. 7 b+ ]7 e. C0 t
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use: u* j# I! B6 _. h
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 e! Q" U; K7 V0 E
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( [( B' q2 }, w
  1155. ; at MYSQL_PORT.
    7 f( f5 m4 V. S5 q# ~9 O
  1156. ; http://php.net/mysql.default-port5 @$ f2 n( V  i( e. ~7 u, u" k
  1157. mysql.default_port =1 @5 P9 N# o; A8 m5 _  i5 H
  1158. ' N4 z1 ]9 w$ P2 l4 O- F
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 ?/ O6 X* I6 `5 R. B6 ~
  1160. ; MySQL defaults.
    1 c4 O  M* N: V7 M) A+ M8 W4 j
  1161. ; http://php.net/mysql.default-socket
    ) I  Y! I! w. z- B1 [
  1162. mysql.default_socket =
    , B# _1 l6 z- ]9 K5 X
  1163. 2 Y+ Z; I" m# `' h: J# r  u
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * w' w; K! t8 \6 D( Q
  1165. ; http://php.net/mysql.default-host$ s, ]+ c- ^9 O( u5 h5 ]9 N6 `
  1166. mysql.default_host =7 S* J9 E5 T  L
  1167. ' r4 K3 Y# y# v% P0 L: M( [
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).  [( |9 \* \9 b: ^. ^( }
  1169. ; http://php.net/mysql.default-user  }4 M3 I& X' B. `1 y) _) ]7 H% t- c
  1170. mysql.default_user =
    # W& w5 K! j3 W9 b( L4 \8 a) G% s
  1171. 8 k, J- r% b: t1 q( @) l& f$ m
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ( ?3 Y: I$ ?6 ]3 Y  }# B7 y
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.( [) K, P  A8 Y' H6 s7 z* h# m
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ; f, E& ?. z; P: H$ F; C
  1175. ; and reveal this password!  And of course, any users with read access to this
    + b6 h) V* x0 o5 d; ^$ F. ?
  1176. ; file will be able to reveal the password as well.+ E/ c6 {6 H. z# L5 K9 d
  1177. ; http://php.net/mysql.default-password* i$ e2 }9 @# \7 \, z5 t
  1178. mysql.default_password =
    - Y7 `' x. p6 ]) g7 D1 c  u1 l

  1179. # X7 b9 Z- d- P( p9 i
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit0 R: W: B1 \8 H, z! Z# F
  1181. ; http://php.net/mysql.connect-timeout+ H( M! p  h1 r  D5 P
  1182. mysql.connect_timeout = 60% D* g, B) N" e3 f7 _" x

  1183. 5 l  E  E$ ]$ ]- f
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and4 k( Q/ h6 ~  m) O' P9 b" t
  1185. ; SQL-Errors will be displayed.1 ^  Q/ ]% C* T" o
  1186. ; http://php.net/mysql.trace-mode
    & d7 _( P6 n. X4 o, J/ }
  1187. mysql.trace_mode = Off5 Q8 t0 y1 z9 |/ L+ e# a

  1188. . F; V2 V6 E$ ]5 D: }
  1189. [MySQLi]
    : l. Y+ m. F1 d( e
  1190. * @/ i' `. p1 F& J0 e1 S3 D" @+ R: R
  1191. ; Maximum number of persistent links.  -1 means no limit.
      N$ F& b. j5 L
  1192. ; http://php.net/mysqli.max-persistent
    0 v1 v# F: O( H  _+ v
  1193. mysqli.max_persistent = -18 k- g8 Q' z$ A' m, x' {
  1194. 0 l) t8 \, B- D3 y
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 [( i' I, f9 q' ^. r* ?
  1196. ; http://php.net/mysqli.allow_local_infile
    - p4 m# t4 ?! a7 X. D
  1197. ;mysqli.allow_local_infile = On1 Y0 n' f. u- p2 c0 S

  1198. $ C' S. n4 [  P
  1199. ; Allow or prevent persistent links.
    % t6 ]6 ^& i% [8 f& z) M6 }# ^/ j
  1200. ; http://php.net/mysqli.allow-persistent
    & J( o. j) e0 _; h- ]4 ]
  1201. mysqli.allow_persistent = On
    ( X% m8 B2 z6 t% Z; O( n

  1202. 6 l$ [. ^4 U; h# Z; L' l; M
  1203. ; Maximum number of links.  -1 means no limit.$ F) g) D* Z9 G6 \- X$ G4 E: d6 \
  1204. ; http://php.net/mysqli.max-links) `$ S- _" W2 Y1 L+ F; d* B
  1205. mysqli.max_links = -15 {- Q" G, x8 q0 q4 Z

  1206. & J" B2 t6 J/ H7 b+ `. k
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 {2 b, G2 H" x( H, y, S
  1208. ; http://php.net/mysqli.cache_size
    4 M. g* e  ~( F7 Z
  1209. mysqli.cache_size = 20002 P% H. }* _& m/ @0 e4 N! l

  1210. ( Q: d2 B! V( ^
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use( [' s3 `5 F- c, J' ~4 f' Q8 M. B
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the5 ^6 W( p9 O6 W! D+ }1 f/ [0 G; N% f
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + v! E8 d4 I( K; z
  1214. ; at MYSQL_PORT.
    9 R" d$ x  A. \
  1215. ; http://php.net/mysqli.default-port# N+ \* b2 ^5 T1 o* r8 D% l9 |
  1216. mysqli.default_port = 3306
    6 \0 [% v, u- B# a1 @9 W
  1217. 5 }9 j, P% o! N: C3 K: h: O
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ g; `2 o" @: ^  r% p+ ?
  1219. ; MySQL defaults." `- R* v0 @6 F" x6 D
  1220. ; http://php.net/mysqli.default-socket% L, s6 Y! d$ z5 J
  1221. mysqli.default_socket =# M! C' Z  O+ t4 J* `! e. t

  1222. : `1 }' l* [( R5 d
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).- h5 s3 o( k8 P$ H" v
  1224. ; http://php.net/mysqli.default-host# u! w& C3 E& e+ T
  1225. mysqli.default_host =
    " d* U! B; ]" {- N/ p
  1226. ) Q3 v% E) A% c8 D+ R
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).1 a# {1 v# D4 p2 D
  1228. ; http://php.net/mysqli.default-user: B8 A. y- \0 U
  1229. mysqli.default_user =0 ]# Y7 ]5 f0 t. M0 T

  1230. 7 u& @% n% j6 Q. N
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode)./ }6 e$ G" j* n, b
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.7 T) q: w& a2 p0 D/ {1 @+ @- s* ]
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    2 o5 i' j& c; i7 @$ }* }2 r* m
  1234. ; and reveal this password!  And of course, any users with read access to this
    & I( b5 l+ l; E8 E# A
  1235. ; file will be able to reveal the password as well." _! K) f$ F' t/ f  M* H
  1236. ; http://php.net/mysqli.default-pw
    3 J) }0 j2 T# H3 Q) d
  1237. mysqli.default_pw =
    7 [# p/ W  g1 D$ [! l3 _4 T
  1238. ! q( Z: n7 a/ y8 b
  1239. ; Allow or prevent reconnect: ~/ ]) {) z% p6 b7 K0 L1 C
  1240. mysqli.reconnect = Off
    1 ^9 S. X4 X, t7 J
  1241. 6 o7 B: P* G& `5 |3 x
  1242. [mysqlnd]$ B! Q2 j# Z9 S( q
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
      y5 Y& S3 i5 i( p) W
  1244. ; used to tune and monitor MySQL operations.
    . L$ `9 S9 w3 K5 E$ @; y3 r
  1245. ; http://php.net/mysqlnd.collect_statistics
    ) p  k; u  |. m8 D' h0 Q
  1246. mysqlnd.collect_statistics = On
    7 J; T9 t$ I  m+ b. y( Q

  1247. 6 p+ p: B  t. v+ n8 L, a: u, R; x
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ( C7 _7 A# o7 X; a5 ^  F
  1249. ; used to tune and monitor MySQL operations.
    ; X4 K4 Q7 d: T% [. C
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    % m, q  m6 }: c; z8 o) d
  1251. mysqlnd.collect_memory_statistics = Off
    # E6 T; [+ A) s

  1252. ( m9 J/ @8 r% \  A' j- _
  1253. ; Records communication from all extensions using mysqlnd to the specified log" M* K' W0 o" K: C& ~' Q! u
  1254. ; file.. A: T) o% Q0 U; `' a9 ]
  1255. ; http://php.net/mysqlnd.debug0 I; A6 n" R8 _) h
  1256. ;mysqlnd.debug =
    6 H2 }- `6 |% m

  1257. 0 y! X2 ]; H: V9 K& d* t
  1258. ; Defines which queries will be logged.
    & a" U- H& R; ?0 J0 y$ l" D
  1259. ; http://php.net/mysqlnd.log_mask& C% t- R+ Q8 Q/ O6 W" i  b
  1260. ;mysqlnd.log_mask = 0
    ; f4 i+ {8 d5 d6 t$ ?5 J5 T6 V, U

  1261. 3 H' q* ?( ?/ |- z- G  l, b* r
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
      V  i# e: g: d) Q- O- [0 I
  1263. ; http://php.net/mysqlnd.mempool_default_size7 D' C3 z9 z; m% v4 C
  1264. ;mysqlnd.mempool_default_size = 16000% k# @& v7 p+ @0 T
  1265.   ^, \/ P9 `# b1 y" G9 M8 b+ V& e3 s
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! [- P0 M8 n+ }7 E0 a0 D8 U# M
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ' _/ T/ K, i, \. \/ c6 f# T
  1268. ;mysqlnd.net_cmd_buffer_size = 20489 G9 E: B: f8 U5 L" i+ p8 V

  1269. 0 n1 j5 m1 I7 u8 S* R& C3 [
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in0 O( `/ y4 ^4 f' {* h6 N
  1271. ; bytes.
    ' d; y3 [. h, w: y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    & Z1 C/ }% o. Z
  1273. ;mysqlnd.net_read_buffer_size = 32768# F* G8 D, b( Q, k% ^

  1274. / `5 s; }; G. p' C5 a$ \1 y
  1275. ; Timeout for network requests in seconds.' \2 |+ f; Y6 ~4 R  T- p  ?
  1276. ; http://php.net/mysqlnd.net_read_timeout
    2 l- c: ~: ?  p0 W& ?/ U
  1277. ;mysqlnd.net_read_timeout = 31536000# g# Z& t8 H9 ?) [. C+ V

  1278. 4 J  Y. v9 D1 f  A4 t4 Y0 V, O
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      N1 D5 y$ q- `/ I
  1280. ; key.
    # C2 G6 k5 F! `4 `
  1281. ; http://php.net/mysqlnd.sha256_server_public_key% i4 R5 {! U# e% @4 d9 P3 G
  1282. ;mysqlnd.sha256_server_public_key =
    5 A: u; ^( O! B: z% M/ G6 U

  1283. " _" q2 l8 e4 B
  1284. [OCI8]; E" \% y  Y' j7 s& \* b. Q6 Q
  1285. ' @+ x4 ~: O! h2 o
  1286. ; Connection: Enables privileged connections using external* |/ b9 g8 P8 \( r; d- V
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)* s+ D/ u. j0 f3 S
  1288. ; http://php.net/oci8.privileged-connect
    - i; ?7 y+ X# W4 c) A
  1289. ;oci8.privileged_connect = Off
      L  O, a! u3 k

  1290. 9 o& c, l- x8 u; q
  1291. ; Connection: The maximum number of persistent OCI8 connections per7 g5 E# V6 ?" t& U8 y  W8 x1 I
  1292. ; process. Using -1 means no limit., O9 H7 u  A2 z4 [! l9 u2 ~
  1293. ; http://php.net/oci8.max-persistent
    - t/ _5 R% a/ d9 B0 I) d& P3 A( f
  1294. ;oci8.max_persistent = -11 \  o/ T% \  [9 ^3 o0 O7 |

  1295. 4 @# h- K/ c3 _" j& u
  1296. ; Connection: The maximum number of seconds a process is allowed to. K# Y" Z. ~2 p8 l+ n
  1297. ; maintain an idle persistent connection. Using -1 means idle
    * \* o& L9 t- u( n" v" T; D9 B  Q
  1298. ; persistent connections will be maintained forever.
    + `. V: N2 @1 H0 s" l- m5 w/ L
  1299. ; http://php.net/oci8.persistent-timeout+ Y) U# c* z; v8 K
  1300. ;oci8.persistent_timeout = -1
    / B+ E, Y: M. z  c' M
  1301. 8 {  C- r) Q! D: ^
  1302. ; Connection: The number of seconds that must pass before issuing a6 y8 U1 M& c. \% @  G( f
  1303. ; ping during oci_pconnect() to check the connection validity. When
      e( f& G- Y0 v" |
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      m5 [1 W4 z$ _5 m3 X
  1305. ; pings completely.
    ) m4 Y) a3 s' e3 B- |6 D( d; H' e  q
  1306. ; http://php.net/oci8.ping-interval3 S( n) ^; r- m# ]0 y- |
  1307. ;oci8.ping_interval = 60
    ; {5 r8 Y, {6 D

  1308. , ?7 \  Z( Q, `  N+ K; c
  1309. ; Connection: Set this to a user chosen connection class to be used& V- L0 d8 S, x
  1310. ; for all pooled server requests with Oracle 11g Database Resident9 v5 O8 l7 c& u8 n9 {
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to# ?3 L! c1 m4 S0 v  r: v: H
  1312. ; the same string for all web servers running the same application,
    / i/ i6 v& s2 X' L5 M* r) o
  1313. ; the database pool must be configured, and the connection string must3 c2 |: c' u, l4 ^8 P8 R  N
  1314. ; specify to use a pooled server.
      y" b, p4 I9 d+ v
  1315. ;oci8.connection_class =$ [- G% B4 m3 r4 x
  1316. & s6 g& _) B( k3 r
  1317. ; High Availability: Using On lets PHP receive Fast Application
    6 w( U4 p5 M' O  b$ f; J
  1318. ; Notification (FAN) events generated when a database node fails. The
    * L. |1 S: [, @$ O; ^
  1319. ; database must also be configured to post FAN events.* B" g; S  ]5 s2 U* j4 i+ C- o
  1320. ;oci8.events = Off4 \/ |* R. K4 X* O8 l) {0 v

  1321. 2 T+ o5 d7 }) s2 h" e
  1322. ; Tuning: This option enables statement caching, and specifies how
    # g% l) r- n% T! I
  1323. ; many statements to cache. Using 0 disables statement caching.. p4 x# ^" I6 ^) y* N+ `
  1324. ; http://php.net/oci8.statement-cache-size: A# P6 J! m) C
  1325. ;oci8.statement_cache_size = 20
    , Z! f' l0 [: K" J: o

  1326. & L8 \* L3 ?: \. ~3 k$ s
  1327. ; Tuning: Enables statement prefetching and sets the default number of" \$ V6 A% a0 H. c4 u' R
  1328. ; rows that will be fetched automatically after statement execution.
    , I1 t. `; v/ C% h) n7 H$ x
  1329. ; http://php.net/oci8.default-prefetch
    1 X, r2 |$ u& B
  1330. ;oci8.default_prefetch = 1008 {& u+ i! W) r" A. `2 `

  1331. ! n% [  L; I- U  `' u% m
  1332. ; Compatibility. Using On means oci_close() will not close# u3 x3 X0 r: z( Q
  1333. ; oci_connect() and oci_new_connect() connections.
    / r- `' Q+ }+ s4 ?6 r6 b
  1334. ; http://php.net/oci8.old-oci-close-semantics
    - G$ H$ g. u, d' c( f2 W" y+ B2 z
  1335. ;oci8.old_oci_close_semantics = Off) @4 t) v% p. Y0 i* u

  1336. . T9 W. [( L- r0 H! r5 C) d4 g
  1337. [PostgreSQL]
    : O* q0 b$ s. J0 h2 P+ B7 h
  1338. ; Allow or prevent persistent links.1 w( w6 Q6 Y- }2 t! V
  1339. ; http://php.net/pgsql.allow-persistent
    6 L. H8 |4 H: o9 b& k
  1340. pgsql.allow_persistent = On$ }& B7 f( G7 |

  1341. 6 r& l# c0 u& t$ l: q! e
  1342. ; Detect broken persistent links always with pg_pconnect().! y" X6 F; w2 r& }8 q! Q
  1343. ; Auto reset feature requires a little overheads.' Q* B7 t/ S! C5 E$ u
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ' ?* w& B. Y. }/ q1 y- O
  1345. pgsql.auto_reset_persistent = Off/ y5 [9 T) D; r7 ~6 Q! p
  1346. " l! }  I2 _, q$ @
  1347. ; Maximum number of persistent links.  -1 means no limit.
    & v9 M7 f* m6 g( I: ^
  1348. ; http://php.net/pgsql.max-persistent
    ! X6 v& n) L$ I. j
  1349. pgsql.max_persistent = -1
    / C9 c3 _; Z( O& B, U6 n7 T

  1350. / Z1 f1 h" h) z& F5 h2 v
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit." g  z& V0 O1 O0 q0 |: O
  1352. ; http://php.net/pgsql.max-links
      i6 C: \2 J% a6 ^3 E1 W
  1353. pgsql.max_links = -19 d. K; P' Q( `  ~

  1354. 4 v- q) D2 ^! a5 ^; V" _' y
  1355. ; Ignore PostgreSQL backends Notice message or not.
    0 ^2 S. q! S0 |8 A+ F7 d
  1356. ; Notice message logging require a little overheads.
    / I4 w4 _9 y% b- r3 x
  1357. ; http://php.net/pgsql.ignore-notice4 O7 f, `0 \2 ?9 }
  1358. pgsql.ignore_notice = 0, W, E  P: {( P; t: ^, H2 S# o2 u
  1359.   `2 a7 |0 U- c4 }0 t- J
  1360. ; Log PostgreSQL backends Notice message or not.3 S; r/ ~' _- Y  l8 M5 @
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    3 Y% v& i5 E* E1 B' P
  1362. ; http://php.net/pgsql.log-notice8 Z( A& D/ k6 n3 ?; Q9 T
  1363. pgsql.log_notice = 0
    , m+ k7 C5 L6 J9 H5 j
  1364. * e$ P3 V; V; o0 V! Q9 G, i
  1365. [Sybase-CT]
    - b2 W, B5 s! M) p2 V( P1 y8 @
  1366. ; Allow or prevent persistent links.
    , K. {/ W  \% ]  Z7 O
  1367. ; http://php.net/sybct.allow-persistent6 K7 t% ^9 m$ y  Z. t5 o8 b' K
  1368. sybct.allow_persistent = On
    $ S3 {* a" ^& }& V1 g1 q( e
  1369. " W+ ]( e! U& H/ y) Z0 D
  1370. ; Maximum number of persistent links.  -1 means no limit.# Z% f* U' ~. o/ G; V4 }& X
  1371. ; http://php.net/sybct.max-persistent3 U) Z) T* k5 x( K- W
  1372. sybct.max_persistent = -1
    % q; X+ ]3 Q0 U$ ~; P2 F. I4 L
  1373. # {2 |+ t" v0 |9 I, u
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 I; a: A8 ?* H& q
  1375. ; http://php.net/sybct.max-links  r! ^3 T/ }0 I$ ~/ C* l6 V
  1376. sybct.max_links = -1- l6 c$ t% B% L' G- }6 v% g
  1377. # p% a& A$ z! F# \  a( q+ L. M- E
  1378. ; Minimum server message severity to display.
    % M) R. }2 U0 T3 l) w
  1379. ; http://php.net/sybct.min-server-severity
    / V5 C* E* [2 V/ ^0 w' _
  1380. sybct.min_server_severity = 100 i6 e2 H/ |0 v6 t- l- A
  1381. ( _0 x" `+ U6 ^- L8 I6 U
  1382. ; Minimum client message severity to display.# m: ]( {, y& g$ [; p! v3 W" l
  1383. ; http://php.net/sybct.min-client-severity# V% B$ A. k, ]2 {3 J
  1384. sybct.min_client_severity = 10( w4 X% N4 J! u

  1385. ) ]  ?* Z& e0 k$ ]% v
  1386. ; Set per-context timeout# z: g0 z- |  `  n& R* Q6 P
  1387. ; http://php.net/sybct.timeout
      k* O$ V) _! q. m7 D# }
  1388. ;sybct.timeout=
    * R& U5 ~) n4 }8 M: O2 ?

  1389. ( Z" g2 D" p: E/ U( m, [
  1390. ;sybct.packet_size3 o9 ^; _) d" I) w% m
  1391. & {! v4 h$ q: X6 E0 J- q( h
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ! z3 ]8 C* Y5 d) m- W# i" a. H
  1393. ; Default: one minute
    1 R& H  u6 [1 U
  1394. ;sybct.login_timeout=5 Z; Y- F; x# t

  1395. 9 k0 y2 y1 c. W# V( {
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    8 t& L- D4 G. Z. X; m6 _. H
  1397. ; Default: none
    % J6 B2 r: J, L+ o
  1398. ;sybct.hostname=
    * j9 M: z0 }1 |$ ]+ ^/ I; b. C1 r
  1399.   h" F' ]: F8 i6 M  Y2 M3 z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".# e) d8 K7 u# ~4 X1 V; h9 H
  1401. ; Default: 0
    7 B" G% b2 ~8 G# W
  1402. ;sybct.deadlock_retry_count=* m5 M) S" Z, {2 Y. b
  1403. 2 @7 Z* e% d. V5 W3 c2 R
  1404. [bcmath]
    8 ]- o0 ]" `: K) W7 y
  1405. ; Number of decimal digits for all bcmath functions.
    ! @( U2 c- I! e2 e5 ^& I8 a/ m
  1406. ; http://php.net/bcmath.scale
    8 ^0 C: O( L3 }, h) s0 E: ?( b8 k) x
  1407. bcmath.scale = 0) q# g% m7 t$ o8 u

  1408. 8 A4 F! \! N' Y; w; y7 v& `
  1409. [browscap]
    1 b# R8 c2 ~/ U$ Q9 ?. l
  1410. ; http://php.net/browscap0 _8 X. w1 t: ]5 n/ K
  1411. ;browscap = extra/browscap.ini
      b: ]9 O0 q4 O' x' @7 _" f8 I$ ~
  1412. & h! H0 M0 C/ ?/ o; n8 P0 K+ g/ ~
  1413. [Session], a0 f& I/ I) x. A+ \2 x6 M
  1414. ; Handler used to store/retrieve data.  v. ?' d. |: v! E9 p! E  f
  1415. ; http://php.net/session.save-handler
    2 p5 ~* e) K7 f& w( K2 H- }
  1416. session.save_handler = files
    1 c+ \- K3 h9 n; a9 u% y- g' W

  1417. 8 f& ]" J% @: F* y0 I6 P
  1418. ; Argument passed to save_handler.  In the case of files, this is the path# F# h, H% \' b/ x
  1419. ; where data files are stored. Note: Windows users have to change this& B" P' f8 a  A# M- u
  1420. ; variable in order to use PHP's session functions.7 h7 Q3 F4 [1 c+ j% b
  1421. ;
    0 R) I- @" q/ K( p" a3 n; o
  1422. ; The path can be defined as:
    3 ], u1 ^/ [/ E% D  K- |& G, I+ G
  1423. ;+ L1 y3 U9 j' T
  1424. ;     session.save_path = "N;/path"& R5 K1 W; U2 B/ Q" i* M
  1425. ;
    0 Y( J0 }5 j. \* v0 K9 G6 {
  1426. ; where N is an integer.  Instead of storing all the session files in4 }$ v: a1 ?9 l2 c+ ^- Q! b
  1427. ; /path, what this will do is use subdirectories N-levels deep, and( u: @& Y$ b; s5 y0 I) y
  1428. ; store the session data in those directories.  This is useful if
    " e( g3 G# K5 d) o$ Q
  1429. ; your OS has problems with many files in one directory, and is
    : ~( D' u- [+ M+ f& ]4 M
  1430. ; a more efficient layout for servers that handle many sessions.9 x6 x7 b7 t6 x7 R. E( H. D
  1431. ;
    & d- C* b4 o+ V0 Q8 R- I
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ' k, X8 A8 R; g3 z
  1433. ;         You can use the script in the ext/session dir for that purpose.
    9 d# f: e& e! T* z  y8 X1 D
  1434. ; NOTE 2: See the section on garbage collection below if you choose to9 L' f) V+ W. U, n: }8 {/ V
  1435. ;         use subdirectories for session storage
    - P6 e6 A7 ?2 G) I0 k  h3 k  {
  1436. ;
    6 x- \% z( V7 I* n; }7 U
  1437. ; The file storage module creates files using mode 600 by default.
    ! k; M, `6 K- `4 j  S* w6 B& P# ?
  1438. ; You can change that by using
    # Y9 h7 q# @$ _
  1439. ;1 B/ u% v5 P$ u% }1 {# H4 Y: d5 M
  1440. ;     session.save_path = "N;MODE;/path"  M; Z7 ^; L# f5 M
  1441. ;
    1 B5 O2 A. p, q0 y2 i' Z  O
  1442. ; where MODE is the octal representation of the mode. Note that this
    3 E) t/ \+ p2 K5 U  R  p7 H
  1443. ; does not overwrite the process's umask.
    3 M0 h: I& Q0 ?
  1444. ; http://php.net/session.save-path- C3 w# X3 `7 z4 v
  1445. ;session.save_path = "/tmp"
    ; C8 s. ?/ T+ a) @+ v+ Z

  1446. ( w6 i( M! i2 w; V3 S  @( l' e, u4 p
  1447. ; Whether to use strict session mode.
    # f3 B* m1 t$ j+ z0 e
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate" x; K# a/ [& w' }( m& {
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects0 M7 x# K; f& s' E, C
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ; Y  i" V5 N3 ^/ P
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.8 Y0 G+ ]) n+ a" o8 [- Y
  1452. ; https://wiki.php.net/rfc/strict_sessions
    4 Z5 w# H' I8 i
  1453. session.use_strict_mode = 0
    : I6 w$ n3 E# |. v$ `
  1454. 1 S. k) s+ J2 y
  1455. ; Whether to use cookies.' R/ e0 B- t8 f' X' @
  1456. ; http://php.net/session.use-cookies
    5 i3 ~, o) l8 E" r3 e0 }# n" O
  1457. session.use_cookies = 1
    ! u, t1 _2 ^& g  v
  1458. ! d4 g: L" L  I/ o8 |# T
  1459. ; http://php.net/session.cookie-secure3 D+ n! @' Z( r0 C5 z) P
  1460. ;session.cookie_secure =$ f, Z& }; W/ K& c( F3 p+ O

  1461. / |) a# C3 j: r4 T; R) F, J2 q
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    9 a$ r; X3 B* t7 |* y
  1463. ; the session id. We encourage this operation as it's very helpful in combating0 o: B* i& X8 L3 T' N6 h
  1464. ; session hijacking when not specifying and managing your own session id. It is
    : ?2 r0 q+ s- C: p) ?, \
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.; k5 n) W: S4 X+ a. ^0 s% C
  1466. ; http://php.net/session.use-only-cookies
    # x' f* s, }$ Y% ?7 w
  1467. session.use_only_cookies = 1& j( U- G8 Y; V' \

  1468. 5 p5 G9 a- F) I4 z
  1469. ; Name of the session (used as cookie name).6 u% }& u) }" _9 n7 N! D4 s$ c5 s
  1470. ; http://php.net/session.name" R# `% _+ T! t
  1471. session.name = PHPSESSID, _$ [7 Q1 }& @/ u$ [
  1472. : V4 c7 L9 x7 p/ V2 m* L
  1473. ; Initialize session on request startup.' c0 W/ v, k! s5 B  D% n
  1474. ; http://php.net/session.auto-start) ?8 ]) ]3 ^/ j* o" y- l/ C
  1475. session.auto_start = 0
    / O: q( o( o' o$ ?- X
  1476.   ?: K6 f4 F, q% U& E
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 z. z+ e; T8 t. T6 r
  1478. ; http://php.net/session.cookie-lifetime
    , g) e& K+ ]- ?- y# K0 T
  1479. session.cookie_lifetime = 0
    / O8 j# X6 b1 h, L  r- I5 e; ]
  1480. 4 q& D4 h% V3 l; A1 E
  1481. ; The path for which the cookie is valid.6 y8 ^) B& w5 k6 c
  1482. ; http://php.net/session.cookie-path; t3 x. j8 {. j* A
  1483. session.cookie_path = /
    : E! [, C7 ?+ u7 E( X
  1484. / W* }% k; g% k5 q0 ~
  1485. ; The domain for which the cookie is valid.2 K2 S" V! b" |: P$ F, L& Y
  1486. ; http://php.net/session.cookie-domain$ F2 y# O6 b& Z- z7 s! m8 p: f
  1487. session.cookie_domain =& w: R" ?. ]& H
  1488. : W0 k7 E1 Q! J0 I2 K) w; c0 U
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.6 D3 ]3 m  r. g) `0 R
  1490. ; http://php.net/session.cookie-httponly
    - d0 }+ c7 a  E8 o' T( [
  1491. session.cookie_httponly =+ @: w8 z1 D) i' m( g3 h; h7 h5 h
  1492. 9 K" w% J8 `' K% S
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.% J1 ~$ v8 q4 d
  1494. ; http://php.net/session.serialize-handler
    * a* e) O# t) w& K& y( F
  1495. session.serialize_handler = php
    & a5 h0 o4 U) _: S$ E
  1496. $ \) M6 \. |( W  Q/ H. z
  1497. ; Defines the probability that the 'garbage collection' process is started
    ' p" c; @8 ~2 |6 R7 _$ m
  1498. ; on every session initialization. The probability is calculated by using0 l" l8 Z  a6 L. R3 W5 ^
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ( E& m9 D$ H9 x" z, x
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 16 T' ~2 h: x9 ^( _9 V
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 i- m. x( [7 {- O  B) Y
  1502. ; the gc will run on any give request.
    + u8 z. d# }8 i/ i+ V7 _
  1503. ; Default Value: 1
    : n1 F$ ?% h/ N4 T" |
  1504. ; Development Value: 17 K2 h; f# a7 f0 ~  l; W
  1505. ; Production Value: 19 l; f! f3 |: u1 H& B( v
  1506. ; http://php.net/session.gc-probability
    7 h1 c3 z/ c* [* }: I1 V6 X
  1507. session.gc_probability = 1
    ( L, ?; j: e" V8 }8 O

  1508.   N* V; P4 K8 M$ P# _
  1509. ; Defines the probability that the 'garbage collection' process is started on every+ E, `/ H8 x" N" H% E# q4 |9 a
  1510. ; session initialization. The probability is calculated by using the following equation:0 R5 \! n# y' K. i1 f
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 ~/ V- t4 T* O0 M& B
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    * N7 X  l' D* U- Y, h- X
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 W$ a' M" O- r% L7 k
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 y0 F  j9 u/ X1 r- _
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ! M4 a) ?- B1 X; l2 u3 i
  1516. ; this is a more efficient approach.
    + r7 k. D6 E% r- @/ B# C' Y
  1517. ; Default Value: 1006 n4 E; X  F7 K
  1518. ; Development Value: 1000
    : E. y: M2 ]6 {; _+ R
  1519. ; Production Value: 1000
    ( W, `0 l7 t9 L+ V( x% Z4 L; k
  1520. ; http://php.net/session.gc-divisor
    ; R3 o% J/ F* j1 y
  1521. session.gc_divisor = 1000' d8 \# L9 n" q

  1522. : h* \4 z7 K8 d; {$ Z  X
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
      q, u* M( x1 ]0 E' ?5 X
  1524. ; cleaned up by the garbage collection process.
    % M/ C- I+ v* _  J' L
  1525. ; http://php.net/session.gc-maxlifetime
    ' A. [: W* c$ N. g2 {8 q, f3 q
  1526. session.gc_maxlifetime = 1440
    ( J) i: C* a/ ]8 i0 P5 F

  1527. * u! U1 S2 F" B# Y
  1528. ; NOTE: If you are using the subdirectory option for storing session files/ a% X, l9 U3 a0 j4 H1 S
  1529. ;       (see session.save_path above), then garbage collection does *not*
    , U# b. R1 o6 A0 [7 g* a
  1530. ;       happen automatically.  You will need to do your own garbage
    % N( z* O$ M4 C0 V& b) j' r" @) ^: s5 m
  1531. ;       collection through a shell script, cron entry, or some other method.
    ) L% P, ]9 ?& j1 g/ I0 U
  1532. ;       For example, the following script would is the equivalent of
    ) ^  k1 f) T- A! N# u1 w9 L% w
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):+ ~, m% \+ L. u# p
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    , U/ H) O) ]: n& G1 h& O
  1535. + c. B) R( h0 E. f( @( ~
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.. X3 m/ f6 Z% v
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    - r4 m4 u5 e6 k- T
  1538. ; considered as valid.
    4 N* ~8 O: U: D) s
  1539. ; http://php.net/session.referer-check/ v0 I# @2 ~8 t# I1 _) {* _9 ?
  1540. session.referer_check =
    ( K% t  `& R7 l4 a' U7 \' y/ D1 x

  1541. ! U1 e3 ?' E3 S8 S* f
  1542. ; How many bytes to read from the file." `, r' Z9 I2 P* a; o
  1543. ; http://php.net/session.entropy-length6 f5 C; U5 x; n4 P; B
  1544. ;session.entropy_length = 324 Y1 c3 {  G+ J* U) s* G

  1545. * h5 j* Q5 Q% r% n4 L; W9 f1 M
  1546. ; Specified here to create the session id.$ v9 r- ~1 m2 r/ I
  1547. ; http://php.net/session.entropy-file
    6 i7 K) D6 n0 _
  1548. ; Defaults to /dev/urandom! W! q# N8 T0 B* M+ \7 g# w( Z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - o; W8 z- W1 v) X* }( G* k# T
  1550. ; If neither are found at compile time, the default is no entropy file.  `5 q2 W* s0 w5 ~% {6 C. C9 u
  1551. ; On windows, setting the entropy_length setting will activate the
    + v; J  ?# K2 _0 r: U9 B5 O6 y+ m
  1552. ; Windows random source (using the CryptoAPI)
    - q8 P. Y) I% K. N; c/ E4 s1 i7 a
  1553. ;session.entropy_file = /dev/urandom
    ' Q0 ^* h4 z' S" P* e
  1554. / p3 k/ U/ P, C2 r& D% g, L
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects: Z( Q7 O, t) F4 q
  1556. ; or leave this empty to avoid sending anti-caching headers.9 {" G, @; h* \5 Z# h) G
  1557. ; http://php.net/session.cache-limiter1 v3 b0 O: B. h
  1558. session.cache_limiter = nocache' r( W6 C( R) w* i/ g4 ~

  1559. ; y& d: k  H( w9 _0 N- q/ |
  1560. ; Document expires after n minutes.
    ' q0 ^! s% z- V1 T- M
  1561. ; http://php.net/session.cache-expire
    ; H9 V8 n, D, w0 K- x1 I
  1562. session.cache_expire = 180
    + Z3 O8 D3 `$ I/ m0 s

  1563. $ L3 h* n* H1 p6 g0 m+ G
  1564. ; trans sid support is disabled by default.
    & s! b7 i. F! U; g6 c9 Y* w
  1565. ; Use of trans sid may risk your users' security.
    7 V5 ?# k" L. H* U0 h, _
  1566. ; Use this option with caution.; R! U4 Q. m* E" p& [+ k
  1567. ; - User may send URL contains active session ID
    / w& ~" x/ v3 d4 a7 q. w8 B
  1568. ;   to other person via. email/irc/etc./ b( k. S, U: H  g7 s! T$ H
  1569. ; - URL that contains active session ID may be stored. j/ b2 c. w1 _+ ?1 Y' ?
  1570. ;   in publicly accessible computer.* p8 e* i6 R- |! C6 F
  1571. ; - User may access your site with the same session ID
    " O- N$ ^$ y7 Y
  1572. ;   always using URL stored in browser's history or bookmarks.
    % J6 u- D- m7 Y. o& J1 A9 w) u
  1573. ; http://php.net/session.use-trans-sid7 T3 X+ y% |* Z, c
  1574. session.use_trans_sid = 0
    5 [# |' G; o7 r" E! O. |$ R& [+ }
  1575. 0 I" U  p8 `4 m% d- t8 [
  1576. ; Select a hash function for use in generating session ids.+ v' C  Q6 D$ C7 Z
  1577. ; Possible Values) [# y& y( q4 D& L
  1578. ;   0  (MD5 128 bits); _  a6 [! }0 Q3 _
  1579. ;   1  (SHA-1 160 bits)
    , E, G) j" d9 a6 s, v
  1580. ; This option may also be set to the name of any hash function supported by) F( k  s& G/ ~
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ( b9 v# U0 I+ e  i( W3 P
  1582. ; function.
    0 ]4 I! C& w' M
  1583. ; http://php.net/session.hash-function  O* f  i9 D$ p* R5 n5 x8 L
  1584. session.hash_function = 0
    & G4 r& W% y" w( _
  1585. , i  l; Z2 A* ]( a% X
  1586. ; Define how many bits are stored in each character when converting5 s: [4 O4 I( \7 B& L2 T
  1587. ; the binary hash data to something readable.
    9 K6 {; V  c* {
  1588. ; Possible values:* E- ^0 R3 c8 g$ @+ Z
  1589. ;   4  (4 bits: 0-9, a-f)
    3 A. |* O1 b, \1 X
  1590. ;   5  (5 bits: 0-9, a-v)
    ' v6 B$ w. d, @: r
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    % C- t/ J6 A+ U
  1592. ; Default Value: 4. k+ l  ?% a$ w5 D7 y* }7 @( L
  1593. ; Development Value: 5
    - P! b1 t; {/ V2 U2 `: G
  1594. ; Production Value: 52 Q* X9 [2 A* B" u3 p$ A8 Q
  1595. ; http://php.net/session.hash-bits-per-character
    " V# E& M$ g3 d$ i/ ?
  1596. session.hash_bits_per_character = 5; x/ z& B7 r' i7 I. j

  1597. 0 j% Z$ p# _* L, V3 T" o
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    7 F, `. N  x& }2 ?+ F9 W" \! _
  1599. ; form/fieldset are special; if you include them here, the rewriter will; W% W) W& R1 @# n) W& M, j2 Z! \
  1600. ; add a hidden <input> field with the info which is otherwise appended
    # q8 k( y) b, X, Y) a
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.6 U: f; d) _# h4 {' k  t
  1602. ; Note that all valid entries require a "=", even if no value follows.( p3 s; u3 i( V( q/ \$ A# T
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="8 x  {  J& B# e! m9 m
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 H4 {; x7 G3 r/ h+ t; j
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 R0 g$ j% {+ r. b( D' _
  1606. ; http://php.net/url-rewriter.tags* a" P! {6 n  }
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    & ]' O4 }( y5 z* K& h+ r5 l( s
  1608. ! Z% b; D  `& m
  1609. ; Enable upload progress tracking in $_SESSION
    : k& ^2 \2 u1 C- f. ~9 Z$ q# ?
  1610. ; Default Value: On
    ) j: z# \" ]% U) X' ^
  1611. ; Development Value: On
    ) E, h9 i! }9 X
  1612. ; Production Value: On
      k6 x* \9 y, Q4 w7 Z3 ]* e4 k1 O& Q! ^
  1613. ; http://php.net/session.upload-progress.enabled
    ) v7 Z& Z( U1 N% w2 S" U( W
  1614. ;session.upload_progress.enabled = On. `" D( s6 F* I4 t& u1 g, W) V& f- _

  1615.   `. G+ X7 x9 A- \6 ~: [
  1616. ; Cleanup the progress information as soon as all POST data has been read
    * W3 ], s! x# l
  1617. ; (i.e. upload completed).! Q* A5 r: p5 K' f! l, L
  1618. ; Default Value: On
    3 S7 i( X- M' \. |/ h7 M* `
  1619. ; Development Value: On+ y" ]1 S1 N' e: Q$ M( @
  1620. ; Production Value: On
    # Y: C, L5 ]$ U6 ]9 T
  1621. ; http://php.net/session.upload-progress.cleanup: O) w; Z) N' }1 g! w' N) ^* s
  1622. ;session.upload_progress.cleanup = On
    # Y3 f/ L2 j& }7 r4 v2 X. ^

  1623. + }  l0 J" I$ J5 o. C0 \
  1624. ; A prefix used for the upload progress key in $_SESSION
    * Q& A# v% g, X7 S4 N. \1 Q  ^  _( r
  1625. ; Default Value: "upload_progress_"& T+ n, ^2 w: S8 P
  1626. ; Development Value: "upload_progress_"
    0 s0 y- U3 U, e1 k
  1627. ; Production Value: "upload_progress_"2 O! X6 {% {0 ?  L+ W8 r
  1628. ; http://php.net/session.upload-progress.prefix
    % ~  f  c/ Q) k+ H+ D
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' x7 W% X; [/ ?$ S" H; u3 L

  1630. 4 N# A/ O  L' O$ K9 t$ Y: V# a
  1631. ; The index name (concatenated with the prefix) in $_SESSION% [; q* N. M: ~+ A! v* |
  1632. ; containing the upload progress information
    % B* x1 e% _, l9 e" N
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"% U. R4 L0 Z8 S6 {3 j
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # H" m! ~( I& e0 b  \8 [/ e
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & A" X* p( o& f4 ^
  1636. ; http://php.net/session.upload-progress.name
    + ~3 j# V6 F! H& d* k. |- m
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"* Y4 p2 I$ V/ a$ G
  1638. $ d$ y* s0 M$ B8 i
  1639. ; How frequently the upload progress should be updated.5 Q6 m! T1 P4 J
  1640. ; Given either in percentages (per-file), or in bytes
    6 Y* X6 `0 [7 O+ N8 m: y6 L5 N7 c% E
  1641. ; Default Value: "1%"- J. x8 ?( p8 x) G5 J7 J
  1642. ; Development Value: "1%"% H% ^/ F' t. g( t- D- U
  1643. ; Production Value: "1%"2 a* ~" r3 m# M7 l0 E9 |
  1644. ; http://php.net/session.upload-progress.freq( H, y( {- {, N6 d$ k& m: [5 q
  1645. ;session.upload_progress.freq =  "1%": t9 t  g; V0 v& Q3 Z

  1646. " F; ]; f1 w" d0 h; `3 ], T
  1647. ; The minimum delay between updates, in seconds
    $ c+ v# @6 D, K: w( D, r
  1648. ; Default Value: 15 _, z  Z4 a0 @
  1649. ; Development Value: 1: ?8 p, K3 r, L
  1650. ; Production Value: 1
    $ N8 A5 d7 a6 }0 f4 N' W! Z
  1651. ; http://php.net/session.upload-progress.min-freq
    : [* g; ?* s' \' e8 Q! ~
  1652. ;session.upload_progress.min_freq = "1"0 m( c- ^) |, Q5 P1 ?" }
  1653. - v2 }" H3 ]' }+ X
  1654. [MSSQL]7 g7 n* F! C4 Y4 a8 s9 S3 {4 N1 s
  1655. ; Allow or prevent persistent links.$ s" i% U2 I; Q8 b0 Y
  1656. mssql.allow_persistent = On
    % Q" x* \) {+ c

  1657. ' d- ]* Y! W; O8 U8 ^6 P
  1658. ; Maximum number of persistent links.  -1 means no limit.+ e6 e: H  t( I/ g3 S
  1659. mssql.max_persistent = -1
    ' x8 j+ E6 k& f
  1660. 7 V* y- ^" k1 k3 X9 R$ p
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * N! c% I& }% l" t, D# k8 `
  1662. mssql.max_links = -1! i- a5 O' U2 D0 }

  1663. 5 s( l2 i/ O3 `4 F3 s6 ~# V- M
  1664. ; Minimum error severity to display.
    ( r  M& i1 i- M& T
  1665. mssql.min_error_severity = 10
      h8 I/ O6 `5 _6 I- a
  1666. * b6 i# E! M! M
  1667. ; Minimum message severity to display.
    3 s! L, R' |  Z/ h1 U
  1668. mssql.min_message_severity = 10
    : k! I! j" k% i8 d1 E& t2 G3 `  Q
  1669. " x* V" }9 g" d5 a% W5 n( O
  1670. ; Compatibility mode with old versions of PHP 3.0.
    6 U3 D  n% a9 z( N. e
  1671. mssql.compatibility_mode = Off
    8 q' c/ \" a& w' F1 P. ~

  1672. + a: e% m& Z  {! U* m8 x, M
  1673. ; Connect timeout
    % o' H( C1 U+ b1 H" a% I2 Y
  1674. ;mssql.connect_timeout = 51 v! I- H' W- J, I3 f3 V2 [. k& V
  1675. 5 E- V7 w( R* F
  1676. ; Query timeout
    4 `. U; P; y5 H0 |. {$ f( q, U
  1677. ;mssql.timeout = 607 d5 O# r7 A' v/ d/ X% w( n
  1678. 1 P, N# o: A; m; O/ }. t! o
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    0 J' x" k+ V* P
  1680. ;mssql.textlimit = 4096& i8 C6 h! J& G3 _- z( r

  1681. ' B& U8 Z3 H5 i0 \
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    - ?2 D$ R& {' T# t# M" d
  1683. ;mssql.textsize = 4096# ]& e) S0 q  c- g
  1684. + H1 h: ], c$ h
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ! c! F0 E5 b! }7 A
  1686. ;mssql.batchsize = 0
    % z0 Q5 _$ |. c' [9 k
  1687. - J9 ]# o4 k# ]  V$ ~& d! a
  1688. ; Specify how datetime and datetim4 columns are returned7 t8 u4 B5 t8 T1 P! I
  1689. ; On => Returns data converted to SQL server settings
    0 L8 \! a& ~5 W- f/ h" p3 e
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    * z% A4 H$ N6 d6 E% a2 M- Q- x
  1691. ;mssql.datetimeconvert = On+ Q" u$ ?, G. W1 P& T. V6 Z& x

  1692. " t/ m$ h+ R6 j" O0 H. j( Z2 ^
  1693. ; Use NT authentication when connecting to the server
    " K! [* l* |" k" R3 H
  1694. mssql.secure_connection = Off' N% ?& [0 f8 `7 j
  1695. 7 ]; C% w4 C  }$ h# L% x
  1696. ; Specify max number of processes. -1 = library default
    $ _* A; o  e8 t- S  Z+ N' \% N
  1697. ; msdlib defaults to 25% O9 `# w3 p' ^
  1698. ; FreeTDS defaults to 40961 r$ t) J; P5 _; {0 R2 i
  1699. ;mssql.max_procs = -1$ ^; w9 O; M1 H4 p7 @4 b* S) t

  1700. 0 Q5 B2 S: M  C! k; V5 o
  1701. ; Specify client character set.* ]4 l& G% F) C# h
  1702. ; If empty or not set the client charset from freetds.conf is used: Q! O. S% e! Q2 V
  1703. ; This is only used when compiled with FreeTDS# o+ h9 l. y# u7 W
  1704. ;mssql.charset = "ISO-8859-1"- ?2 e3 Y. I8 _" G* b
  1705. ! @# U0 q6 _4 |& a, G4 @4 n0 Q
  1706. [Assertion]
    / [, `" O, f, Z9 I: o  U
  1707. ; Assert(expr); active by default.2 a) P' f. h! r' Q2 Z1 l
  1708. ; http://php.net/assert.active' |( \1 A* _1 X& v& O8 g( h  T% W
  1709. ;assert.active = On( t7 E0 [# s; {: c( }5 w0 r" i8 r
  1710. ) H! z$ {5 n- A' l% n
  1711. ; Issue a PHP warning for each failed assertion.
    # s9 J% s; |* F
  1712. ; http://php.net/assert.warning
    2 q/ u. v* P% A9 t
  1713. ;assert.warning = On7 b; i# K4 i* N
  1714. 7 h! Q& j1 U0 q* ]
  1715. ; Don't bail out by default.$ P6 N# u& ~4 l# I3 ^
  1716. ; http://php.net/assert.bail
    : ~: @2 p& V4 B( t; C: Z
  1717. ;assert.bail = Off
    8 G2 B! s* u0 _5 T0 l

  1718. 5 n0 M6 Q8 m% Z4 L3 m3 }5 O( D
  1719. ; User-function to be called if an assertion fails.
    ( t5 k5 K0 \. b! d' A1 r/ i
  1720. ; http://php.net/assert.callback9 u% c" P% `$ R& _. }8 k. T
  1721. ;assert.callback = 0" x: h3 t: K7 X. t7 |% a6 K1 }
  1722. 5 @& s; w8 R* v( A; u# T
  1723. ; Eval the expression with current error_reporting().  Set to true if you want+ n9 a9 u7 B9 ]7 q% L. H% S
  1724. ; error_reporting(0) around the eval().% H- h1 z: C# r
  1725. ; http://php.net/assert.quiet-eval  @; x0 W6 b( d  g* C: J
  1726. ;assert.quiet_eval = 0
    5 [+ j7 |$ Z. F' y

  1727. ; _  v9 e9 c' T
  1728. [COM]2 `5 @; F. B6 `4 [
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs* G! V% E& y; r  t$ L. n6 a0 c1 S
  1730. ; http://php.net/com.typelib-file$ L+ Y5 n! P) ~4 H) q) p$ K; E7 s
  1731. ;com.typelib_file =( ^  s* D8 X% S

  1732. ) s5 k2 d& Q0 \  r: D
  1733. ; allow Distributed-COM calls
    + j- N6 K# a* j4 @* h1 X% h
  1734. ; http://php.net/com.allow-dcom
    / t. E* U  ^  b. J. J- r8 L2 L2 E  t, O
  1735. ;com.allow_dcom = true' L, z2 h: p& m, D( M8 S

  1736.   J4 z5 ?5 V/ ~, W& I3 @
  1737. ; autoregister constants of a components typlib on com_load()# f; M9 D  _# K& z
  1738. ; http://php.net/com.autoregister-typelib
    - @% W& K* e, G' m
  1739. ;com.autoregister_typelib = true5 H& ?! i0 A) d. z7 i# @$ E  O! I

  1740. 4 a& L! k" I3 D/ i- }* G/ E2 K2 m
  1741. ; register constants casesensitive( |3 |7 s( N9 B; f
  1742. ; http://php.net/com.autoregister-casesensitive6 w( C; n4 E' Q
  1743. ;com.autoregister_casesensitive = false
    + W: ^  m, x5 f. |2 a1 v2 g

  1744. 8 B1 m0 e# N5 O5 R' M1 }$ F
  1745. ; show warnings on duplicate constant registrations; C. y+ `! Y- [9 r
  1746. ; http://php.net/com.autoregister-verbose" m- r1 L- Z, v4 V6 C
  1747. ;com.autoregister_verbose = true7 d/ u* h6 Q# t2 E2 T( C
  1748. 8 T! v9 {8 W' j" @, p# a
  1749. ; The default character set code-page to use when passing strings to and from COM objects.4 \* j& O! y7 ~/ j' j
  1750. ; Default: system ANSI code page
    # {3 r6 ]! z9 I/ g
  1751. ;com.code_page=- l) M# w- V( F' g3 o9 Z
  1752. 9 O# L& H2 m2 e) f5 a
  1753. [mbstring]
    $ g. x: d+ k6 e! e6 n, Y
  1754. ; language for internal character representation.
    $ S; r! {) x+ n, v/ g* ~9 u
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    6 N/ y8 n* R, Z
  1756. ; http://php.net/mbstring.language& [- B+ c1 v. J" k9 }/ b" `( p
  1757. ;mbstring.language = Japanese  k  {) F! }, N  j1 A6 ?

  1758. . K" C8 `: H4 P7 Q* U, Y0 w
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 H+ s+ Y* q6 i' V
  1760. ; internal/script encoding.
    $ b  `9 q9 @- }9 a
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    + {7 {% Q6 q4 K8 u8 s9 K, H7 x4 n; U
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ F9 }2 Q4 Y& y
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  b5 `- u) L  J
  1764. ;mbstring.internal_encoding =
    8 `# p: V* D" l/ q" d
  1765. $ Z( N) D1 P$ m8 x) o* i
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.! H8 w) l. D; j7 ?3 Y1 W6 T; R
  1767. ; http input encoding.
      Z& W% ]3 a. v6 I! D! |$ J+ h
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.5 m& \* |4 Z* N
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + x; K2 {8 @. B& Z( p
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 d! a8 a* Q) {! j
  1771. ; http://php.net/mbstring.http-input( Q; @8 z* _' A- B6 R" \' s, M1 d! A
  1772. ;mbstring.http_input =2 m; o5 \# I2 a# G% u$ t  D

  1773. $ @9 D# W, X$ e
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / _& h3 N/ u+ Q0 z6 D' K% D+ P
  1775. ; http output encoding.
    9 I2 i0 L5 w2 G" M- u# u/ U
  1776. ; mb_output_handler must be registered as output buffer to function.
    , V; b" q* Z+ |7 y+ C
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & J1 W- Z# X1 p/ _5 p
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    - Q% X" J: ~5 o; O: ?' }& P
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : d" [) ^8 O. s+ H. c# O
  1780. ; otherwise output encoding conversion cannot be performed.
    $ n; a8 Y6 {7 {9 A3 I
  1781. ; http://php.net/mbstring.http-output$ m1 I0 h# H4 p! s# M2 [
  1782. ;mbstring.http_output =
    7 R" j" W7 L" G& L7 a- O
  1783. - i. K3 W3 r7 S- n7 O' V
  1784. ; enable automatic encoding translation according to( L1 ]# h/ _5 C* x( _
  1785. ; mbstring.internal_encoding setting. Input chars are
      o5 f3 p# l3 M' @5 A
  1786. ; converted to internal encoding by setting this to On.
    + Y2 ]0 s/ w0 a! R9 b6 K' R, F1 n9 S
  1787. ; Note: Do _not_ use automatic encoding translation for
    8 m7 B! b, G( K1 }: O* G
  1788. ;       portable libs/applications.- j3 v4 m, @7 Z* S
  1789. ; http://php.net/mbstring.encoding-translation0 H8 W6 M! |# o( ?2 M
  1790. ;mbstring.encoding_translation = Off
    4 `: w8 v9 h1 e- t3 G

  1791. . R1 K$ {0 C6 {' z7 \8 z4 z( y4 L
  1792. ; automatic encoding detection order.
    0 b9 r6 v' u- L1 E. O, T  x
  1793. ; "auto" detect order is changed according to mbstring.language
    % @; w+ U& I3 f1 l% I; }8 _. S) c5 L
  1794. ; http://php.net/mbstring.detect-order
    # `" I; n, ]; @8 j( z$ q5 g  q& B
  1795. ;mbstring.detect_order = auto9 i0 [2 d' M3 m+ k! {
  1796. 2 [  j, ?+ q% F' k4 Y- Y3 G
  1797. ; substitute_character used when character cannot be converted( z2 |! ~2 V( m% ~# H  b5 @1 u9 j
  1798. ; one from another# T1 T$ S' Q, E# i7 l9 A
  1799. ; http://php.net/mbstring.substitute-character$ |  Z1 i# X2 x! `4 S* o
  1800. ;mbstring.substitute_character = none& Y* C0 S  N3 E

  1801. 1 A5 _$ h* t/ L0 f& K
  1802. ; overload(replace) single byte functions by mbstring functions.2 Z$ a+ d) @' ?; E4 G- x8 W
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 c/ \& A9 `6 c8 t
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.8 W2 V4 o6 `+ w: @1 ?* A, `
  1805. ; For example, 7 for overload everything.
    5 p2 C3 ^6 b, G+ ^6 F7 x4 v
  1806. ; 0: No overload
    6 C& a- g- L# F" s
  1807. ; 1: Overload mail() function
    ) |% O4 J. c0 v# X$ q' l3 \: Y
  1808. ; 2: Overload str*() functions+ v) Z8 }+ P. x- b' d. L$ h& V
  1809. ; 4: Overload ereg*() functions
    ' O  s9 V/ {! w" e
  1810. ; http://php.net/mbstring.func-overload* {" d4 ~4 J0 A4 N
  1811. ;mbstring.func_overload = 0
    # Q. e, ?2 U( ^5 b
  1812. * p3 M1 P5 [, y
  1813. ; enable strict encoding detection.2 o8 G( q1 A9 z$ t3 i' ?" t+ u
  1814. ; Default: Off
    5 {$ ?% P: \1 ~' _; H  t6 o' L
  1815. ;mbstring.strict_detection = On) W1 C5 M  ~( @+ ]$ x  y* m  ^

  1816. 4 D. Z7 y. j; ]' |
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : e7 p( e# w. E: ~+ `. E/ Q
  1818. ; is activated.
    & H, w+ w: t; x
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 P! n& a9 {& l; f, L$ @! ?* h! ]
  1820. ;mbstring.http_output_conv_mimetype=/ t2 J- U9 z8 o5 _
  1821. # ^* P* P! x9 p" Q1 o+ |
  1822. [gd]
    ( o1 D3 t4 W8 ^, J5 q; j
  1823. ; Tell the jpeg decode to ignore warnings and try to create& z- s/ g/ M0 F  r, _6 K
  1824. ; a gd image. The warning will then be displayed as notices
    " n2 r$ h& Y$ b# }% g/ o  @* E# M
  1825. ; disabled by default2 z2 l6 L# L- j& J
  1826. ; http://php.net/gd.jpeg-ignore-warning! @9 `. f, Q% A# ?8 {3 B
  1827. ;gd.jpeg_ignore_warning = 0# D7 t1 @! Z  H5 b) e- }& u
  1828.   T% v* e- b' n
  1829. [exif]
    7 d% W9 V, ?$ c  j
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.1 K" P6 }! `; _
  1831. ; With mbstring support this will automatically be converted into the encoding- ~# d  A6 q3 ^& V' P
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * S6 g5 @( e9 G  Z
  1833. ; is used. For the decode settings you can distinguish between motorola and
      m! h4 N4 ^4 [+ M
  1834. ; intel byte order. A decode setting cannot be empty.
    $ N" |, O( C% C0 e8 P
  1835. ; http://php.net/exif.encode-unicode
    5 h& E# v8 @3 D
  1836. ;exif.encode_unicode = ISO-8859-153 d7 n' h& \4 ?( q5 s3 j% }5 q+ v( c

  1837.   h$ A+ T* S; F$ M, {! E5 n
  1838. ; http://php.net/exif.decode-unicode-motorola
    * H/ ]3 @' ?8 ~
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    6 v9 L5 m! I0 v# z1 z: ^) Q
  1840. + ?" c. W- Z! ?$ S: p) ?/ f0 n' U
  1841. ; http://php.net/exif.decode-unicode-intel/ b. e0 j- l: Z& M7 j1 K
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    8 C: e. V/ X) r5 M% K8 r. v8 B
  1843. ( N, i: I2 N# Y8 Z# F4 u
  1844. ; http://php.net/exif.encode-jis2 H3 U4 C  |( r1 S9 E$ m9 b5 I& v
  1845. ;exif.encode_jis =% y2 @* \3 O+ M

  1846. + y: I" y$ H/ w0 n" M
  1847. ; http://php.net/exif.decode-jis-motorola6 G( m7 `, \8 }$ j: B# s! B" l* w
  1848. ;exif.decode_jis_motorola = JIS
    4 o3 t+ d. _7 X4 c# ]! d

  1849. & _  E( x8 }4 O/ k* r* d
  1850. ; http://php.net/exif.decode-jis-intel
    ; ]% A8 \. c) J$ ]- P' ^' O7 b
  1851. ;exif.decode_jis_intel    = JIS
    + B$ Q  ^4 h7 L  E2 w

  1852. ( s. L( ^+ E" O# S% d! N# g) M
  1853. [Tidy]* m- i9 n+ N) i* g: D: F
  1854. ; The path to a default tidy configuration file to use when using tidy8 T/ C+ _! O: h1 I1 _5 }
  1855. ; http://php.net/tidy.default-config
    % R4 S& C$ Z+ w: m
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ; n9 t( K) W, P% g! D, ?" Y
  1857. $ a- \  q( t! r! x
  1858. ; Should tidy clean and repair output automatically?
    ) O; R% Q) N7 A9 T. h+ }
  1859. ; WARNING: Do not use this option if you are generating non-html content
    7 i" L' a- n5 P2 V2 D( C. ]
  1860. ; such as dynamic images
    4 a+ `+ D6 z( x' ?3 O
  1861. ; http://php.net/tidy.clean-output
    + f+ S$ H7 v7 s1 {; T0 R; e3 ~. F8 ^
  1862. tidy.clean_output = Off
    * h: g" r. L& B' k8 u; s% C( j

  1863. 7 ^+ K) w2 K4 X3 C: r
  1864. [soap]
    % Z( G: G. q! \- z
  1865. ; Enables or disables WSDL caching feature.
    / r; J  v$ U& |8 e6 I& J6 L! z
  1866. ; http://php.net/soap.wsdl-cache-enabled
      d0 Z/ E, U( K+ E
  1867. soap.wsdl_cache_enabled=19 Y# w7 T3 I& E) `  ], T
  1868. . L1 h  j  y0 C# w
  1869. ; Sets the directory name where SOAP extension will put cache files.
    . _% A& q, Z& a& g
  1870. ; http://php.net/soap.wsdl-cache-dir+ Q) F8 c8 Y$ F: k3 M
  1871. soap.wsdl_cache_dir="/tmp"% b  \2 K' O0 q

  1872. - e5 c/ q1 \& K
  1873. ; (time to live) Sets the number of second while cached file will be used
    ; L8 ^, \& T  I
  1874. ; instead of original one.3 V1 u. F* R  Z' W! ]
  1875. ; http://php.net/soap.wsdl-cache-ttl
    $ _" G& ^9 s+ D3 y
  1876. soap.wsdl_cache_ttl=86400
    5 c4 ]  Q: q% f. S3 q, E) n" `9 m! C
  1877. " O: I$ S+ Q* I' I5 h
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    6 k3 o" G' u! y9 {$ N
  1879. soap.wsdl_cache_limit = 5
    ! J% m0 U" j" p
  1880. + H1 l5 s, R: K! Z! @
  1881. [sysvshm]1 W$ m( x. a2 |; k  k3 K( Y
  1882. ; A default size of the shared memory segment
    1 R1 X+ Y, Z- P% k6 |1 N# t
  1883. ;sysvshm.init_mem = 10000
    8 N2 n- |% l- p+ B
  1884. $ l+ A: l! V* U( ?: D" q
  1885. [ldap]% U/ u6 a+ W5 W
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    & V& o  W% s$ \; |6 k
  1887. ldap.max_links = -1
    # u0 g) R2 R# w" y3 G$ Z6 B

  1888. 1 g/ m: r6 ~6 B% A# w6 u: u( N5 O
  1889. [mcrypt]
    - M1 {; R$ C1 u1 `+ u) N! }
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    # S) s9 w& P, E& c
  1891. & b7 p2 v- n+ u' s9 e8 V
  1892. ; Directory where to load mcrypt algorithms
    - W/ ?  N5 [3 x) x
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 H3 W7 x* y8 N: A  @& D
  1894. ;mcrypt.algorithms_dir=
    ; R, a8 ?, k3 f# P1 F

  1895. , O7 P0 d" \3 Q- z* h
  1896. ; Directory where to load mcrypt modes1 Q2 X, Q* S9 J3 u
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), g. p8 v9 B- g- g" W1 r- q2 T
  1898. ;mcrypt.modes_dir=2 c( }! b8 T) @
  1899. ) _6 \; C0 p0 s( D: D% `
  1900. [dba]
    % L+ g, ~; v" d  q5 v0 _* S
  1901. ;dba.default_handler=
    5 c% g7 o5 j7 w# l

  1902. $ y! K" S" [: h/ a& U0 K8 |
  1903. [opcache]
    - `' r4 g3 ?3 }3 c" ^7 Y8 D
  1904. ; Determines if Zend OPCache is enabled
    9 _& X$ x0 \9 ?: R
  1905. ;opcache.enable=00 x7 F9 N7 U, m2 U

  1906. 1 |& A, c# E- U/ R6 F: m
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 H6 T5 I; E* r$ T- E: D* p
  1908. ;opcache.enable_cli=0
    4 B# J. g. l4 c- W7 v
  1909. 5 B1 c' n, T# c
  1910. ; The OPcache shared memory storage size.
    3 _$ t1 }% ^( Q; w- A
  1911. ;opcache.memory_consumption=64$ L5 k. n4 F. W

  1912. 7 U% |7 G( z; c& r1 \) @
  1913. ; The amount of memory for interned strings in Mbytes.
    ( O8 l1 O2 _" s, J4 b2 D3 J; \: z
  1914. ;opcache.interned_strings_buffer=4% @/ ~* o  `6 ^  m  a, ]6 P; c
  1915. : a- A! I- H# s3 u! f8 w0 n
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    ' O3 X  B- K: x
  1917. ; Only numbers between 200 and 100000 are allowed.- O5 S1 E7 _  X7 g
  1918. ;opcache.max_accelerated_files=2000! r, h5 N7 N: I1 d% t  r# Q

  1919. . q8 o$ h6 \  n; b  o
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.; @/ l- p' C9 g' @7 U
  1921. ;opcache.max_wasted_percentage=51 z2 E8 [" H; c( Y  y
  1922. ' s- i% b9 P6 ?# t, ^! ^, f* M
  1923. ; When this directive is enabled, the OPcache appends the current working0 y% O8 A5 X5 ?0 ^
  1924. ; directory to the script key, thus eliminating possible collisions between
    ( `, u7 {6 c! ?' z, [  L& W
  1925. ; files with the same name (basename). Disabling the directive improves' T; g5 j% l: ]( d; a7 D
  1926. ; performance, but may break existing applications.
    + f  t4 b4 D5 I
  1927. ;opcache.use_cwd=14 c& \$ r" x# E8 V4 H; _) @/ y6 y

  1928. % @/ B# I5 ?; b* V% _. u- Y% O$ h% |
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ' s$ G7 M1 ~, ^& r; C0 u! v
  1930. ; webserver for changes to the filesystem to take effect.- @+ l" P1 w6 o. V$ i
  1931. ;opcache.validate_timestamps=1* c7 F) `( P  r; `+ p/ Y
  1932. ; ^3 W) k3 z! w6 ]( k9 Q/ Q+ e
  1933. ; How often (in seconds) to check file timestamps for changes to the shared1 n/ I* t4 U9 t0 a
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    - B7 E/ s* A( _% p
  1935. ; once per request. "0" means always validate)
    + e" g- w& J; A4 t  |) X
  1936. ;opcache.revalidate_freq=2
      C  x5 F6 F* h# X1 g8 {! S( k

  1937. 3 B. a2 C( e  O3 R5 ]1 O' f
  1938. ; Enables or disables file search in include_path optimization
    ( a  k, N2 `  l; s0 j" l! H
  1939. ;opcache.revalidate_path=0
    * m3 x' r. Y& b

  1940. & f8 D6 {* [( n
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) d2 w6 D( H$ H" L/ g2 z9 ?
  1942. ; size of the optimized code.9 B( i% _/ o2 W1 g# {
  1943. ;opcache.save_comments=10 S8 Z; [: p. L8 `- S' ^
  1944. ) G5 X1 ~6 b6 n( X1 f/ ]
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    3 g! L' j; Z% l2 f( I" U% S: H
  1946. ; may be always stored (save_comments=1), but not loaded by applications! V- ?! v! ~( S- E. I5 @; }- p" _: `
  1947. ; that don't need them anyway.) c3 a  ^  \( R! N# Q! y+ x
  1948. ;opcache.load_comments=1' \# R' N- ~3 ?2 ^: J

  1949. 2 o/ q3 [) S1 f" ?
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    2 K3 ~$ B! {  \- i5 u& d/ p
  1951. ;opcache.fast_shutdown=0
    + a+ p2 f9 t  u; ?

  1952. 9 ?1 s4 z2 j  A$ o/ h
  1953. ; Allow file existence override (file_exists, etc.) performance feature.2 Y: M4 o: V  Y) \' ?1 T0 [
  1954. ;opcache.enable_file_override=0; j0 }- D' f" \. z

  1955. ( T, ~1 ^2 a" S- X+ ~
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache/ @& A- C7 h/ X; x
  1957. ; passes$ C5 l' z. d" H' h* E
  1958. ;opcache.optimization_level=0xffffffff0 q  {4 l7 E6 ^. o$ f( ?
  1959. + X9 [: x) }7 i! \
  1960. ;opcache.inherited_hack=1
    : H* O" Y0 H) B' m
  1961. ;opcache.dups_fix=0# ~, y( w7 Z3 \4 u; M
  1962. % n% L! a# e+ e8 K0 _
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    . N, J2 C8 c- A. {
  1964. ; Each OPcache blacklist file is a text file that holds the names of files! H. D$ }( A- D' J  E
  1965. ; that should not be accelerated. The file format is to add each filename7 U  _( I$ R$ o3 N' I  s# Q
  1966. ; to a new line. The filename may be a full path or just a file prefix( N9 N7 K# I8 s' ^  [- u! j
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www8 P0 f- T. m5 x$ v6 c) A" V. Y
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).; H. l8 G, \3 k1 O) @1 {9 q' S
  1969. ;opcache.blacklist_filename=. _, r. a& d9 O- j
  1970. 0 }3 R- P4 K& i
  1971. ; Allows exclusion of large files from being cached. By default all files
    : i/ F2 M9 y6 s0 v
  1972. ; are cached.
    , r, ]2 ]7 H0 E# u4 r
  1973. ;opcache.max_file_size=0. q9 Z1 X5 w9 T& B4 F) r

  1974. , ^/ k% l6 K# b4 F1 J
  1975. ; Check the cache checksum each N requests.
    ( ~$ v. G; H" L: l/ E
  1976. ; The default value of "0" means that the checks are disabled.
    ( Z  w. n, p4 R) H
  1977. ;opcache.consistency_checks=0
    * H8 |4 h$ G+ |5 f3 ?" s

  1978. 8 h" t0 g/ b! z* C
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- i' ]: b  V1 X2 p4 j
  1980. ; is not being accessed.
      @3 J& q3 s, \# j5 p
  1981. ;opcache.force_restart_timeout=180) |2 S# w' z# i( d

  1982. # o3 t$ {. H( `  ]" L
  1983. ; OPcache error_log file name. Empty string assumes "stderr".0 x1 I6 F; N7 L  P
  1984. ;opcache.error_log=/ r/ ^: T2 o: I; W+ @: b

  1985. 1 s0 `" ?) e- G$ ^
  1986. ; All OPcache errors go to the Web server log.( l( N0 h9 V/ ^
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* `4 v& J3 u+ ]
  1988. ; You can also enable warnings (level 2), info messages (level 3) or  q! W# E5 W/ {$ H5 Y6 P' Q7 L
  1989. ; debug messages (level 4).7 ?$ n! c0 u- S" a3 b
  1990. ;opcache.log_verbosity_level=1
    3 A5 U4 g4 A5 [5 g3 c( l& \

  1991. ! V& \# I0 W5 o* f  e* K
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    " ]" T+ c, `- @4 a7 N
  1993. ;opcache.preferred_memory_model=: `3 A9 i! V- G
  1994. ; @8 t& O8 Z2 t  Q7 C
  1995. ; Protect the shared memory from unexpected writing during script execution., q; h* e1 o3 u  h2 N) }2 q! x* c
  1996. ; Useful for internal debugging only.6 C3 i7 e* I1 a; E' D2 t1 {6 K% W
  1997. ;opcache.protect_memory=0
    , V( ^- K! \1 I+ d; ^

  1998. 6 z: u+ q9 z4 B: L
  1999. ; Validate cached file permissions.1 g% `7 i6 k4 w7 s# _
  2000. ; opcache.validate_permission=0
    2 K% [) Q3 E, N) ]( c: s# F  G
  2001. 7 z" {, M  {: w  L" l
  2002. ; Prevent name collisions in chroot'ed environment.4 j# x- _- g& o, ]9 O9 B" p
  2003. ; opcache.validate_root=0
    , r7 P  a2 i* v1 t  X2 F
  2004. & s3 I# S, U# r4 ~$ z& k
  2005. [curl]# h! {7 E  E' c, j0 b5 \
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an  S6 D$ z$ J1 S5 A0 j3 v* v9 T- t
  2007. ; absolute path.$ b* g3 U; O# K' s
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 l6 h' ~3 C7 T8 B' {

  2009. $ ~4 \5 x* I3 Z( g' f% h4 x
  2010. [openssl]1 G. A; S  z5 C4 @' e8 T6 R
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    / x/ A' ^. Q. b7 _+ A' [
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    0 N7 `) W- n( U1 K# R$ l, z% B" x
  2013. ; not specify a value for this directive as PHP will attempt to use the
    / E- H- h, l% w  x( G0 h1 t0 p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still) x4 S+ i* |+ x. I% z
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context+ I# P/ V) w8 p. |7 Q
  2016. ; option.
    : U1 V" d; p+ U2 u7 W% W# I
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    , x. z, |8 R: ]2 J0 r, Y

  2018. % j; h) f* W& ^! q) A
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the% U6 [, s( ]' R+ a3 b3 e4 v
  2020. ; directory pointed to by openssl.capath is searched for a suitable
      F& F. g/ P! @# V& [/ b1 d
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    , K: a4 A/ u! m. r
  2022. ; Most users should not specify a value for this directive as PHP will
    $ z7 [& p+ a/ E, f- n
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,1 y. o) _; J& m, W% R! h
  2024. ; this value may still be overridden on a per-stream basis via the "capath"3 ]' H) M) W2 h7 {8 H
  2025. ; SSL stream context option.1 ]3 D! ^7 L; M: ]  e
  2026. ;openssl.capath=# ?9 |) b" ?) F7 O

  2027. " F$ y$ M- M& Q
  2028. ; Local Variables:
    ) V5 V) {* p1 E+ k
  2029. ; tab-width: 4
    + m0 e9 K2 y' w! J: n, C2 R' K. x
  2030. ; End:
    : r1 V, }9 W! R- I) S

  2031. 6 A4 l' _; T( f2 b$ e
  2032. ;eaccelerator
    , e( R6 t5 Z; ]# [9 X
  2033. 4 v0 Z" ^+ ?* L7 i8 j% n0 R
  2034. ;ionCube
    - R; j, X0 K+ V) {0 t

  2035. 1 o# z! k* k+ H2 M/ H. K
  2036. ;opcache6 C* F" [' U' @' d0 t) ?9 U

  2037. 7 K) \. W* M" M0 f  R
  2038. [Zend ZendGuard Loader]# H% g% D- C- |. _" E7 ?7 W( b- t
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    6 y/ i6 I9 Q( p/ k! W
  2040. zend_loader.enable=1
    1 M, ~2 ]; z0 Z
  2041. zend_loader.disable_licensing=0( l/ B' }! g+ J( o/ |
  2042. zend_loader.obfuscation_level_support=3! A* C( P; k' r$ p& _
  2043. zend_loader.license_path=
    % w8 {. \6 B' S" Y
  2044. - [! K6 r7 I$ f5 Q; B2 u6 K4 k
  2045. ;xcache
    7 ^6 W8 ^% j: O' d; t

  2046. , K: W$ F4 p- z- H3 X
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146925 D3 q& [5 z& Z. ]3 i3 q

6 W' R4 {' B7 e/ r% ?
' |/ a# ~" \/ ^7 DDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
1 H! d0 Q/ R. F  \. D- O! ~8 [& v0 M& \
Discuz!程序版本选择:
8 r8 V% L, [& t5 U% R  t站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,+ A0 W1 O: M/ m: j6 P- m
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
, ~2 c) w3 Z: G; cDiscuz!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。; k  }3 M3 |: D* N

1 y4 C" S( W2 J- z1 NDiscuz!插件模板版本选择:
- k4 W& z7 E: Q% O2 n% r+ n很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
" Y  ^! x3 U) V. |( A8 D& ]针对这个问题做个统一的普及:9 e5 y, I' v* r
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
/ m  B7 P: H% z5 Z% D6 W0 e$ Z
5 I2 k/ S9 x+ z! g* y3 r9 z) j4 A所以
/ t  o1 t! L, w' j' P1 S& @1 r适合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的二级域名。
5 j3 {' A% v" g+ Y* t( K  @打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。+ u# h2 ~+ I, _2 k  g* T
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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