分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
7 D; Z# l, a" I1 H  m5 V
' [3 c5 }* U, F" |2 b" O
  1. [PHP]9 O# d; r* J) e! d4 q8 i

  2. , k/ V. t3 M# i* T8 F# |) n1 S
  3. ;;;;;;;;;;;;;;;;;;;
    6 V% b$ N( s2 A, j8 q1 U- ?
  4. ; About php.ini   ;
    ; z$ ~1 O% m+ E. A1 V2 }7 V3 U- U' z
  5. ;;;;;;;;;;;;;;;;;;;
    6 E8 E: B, \6 u3 B4 x3 t
  6. ; PHP's initialization file, generally called php.ini, is responsible for( b% G) T3 }4 y1 [; g
  7. ; configuring many of the aspects of PHP's behavior.
    " \- L3 K! K' h: j% `  Y

  8. ' ?1 C/ Z1 T; s
  9. ; PHP attempts to find and load this configuration from a number of locations.- A4 ^) C% B' U; k, h2 S
  10. ; The following is a summary of its search order:
    : f- T0 _) B3 S9 {0 A/ w# i8 C( v
  11. ; 1. SAPI module specific location.
    ! u8 \* ^0 O  v0 r" r
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0), [* \) L0 x) ?+ ^
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)/ t4 o6 T0 _7 e
  14. ; 4. Current working directory (except CLI)
    , y( M6 d) g5 M2 `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP. ^  H; a+ M* n8 `
  16. ; (otherwise in Windows)
    5 F! r. G2 E! e3 D
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ I: z, v1 V4 K- a( r) m$ v
  18. ; Windows directory (C:\windows or C:\winnt)
    7 W$ x* }4 z; n/ m* M6 J4 R
  19. ; See the PHP docs for more specific information.
    2 \2 Q  \. t' v5 @- |/ q
  20. ; http://php.net/configuration.file; O3 i6 G+ s4 F& q, v% H( N$ n3 a
  21. # B8 D+ @8 E0 F
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    . U8 w& M( d% r
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    $ @# F0 K: X9 [& A& a3 y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 _0 K! s( w; Z+ E( B
  25. ; they might mean something in the future., k! j4 w  [) o$ ~# ?) u
  26. . W# J3 [2 q  }; e9 z( i2 V+ ~
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # [5 B* q/ B! o/ e$ {
  28. ; apply to PHP files in the /www/mysite directory.  Directives' F! I9 x: Z3 ?
  29. ; following the section heading [HOST=www.example.com] only apply to
    7 |: Z" f+ \8 i0 y% ?& x  N& o
  30. ; PHP files served from www.example.com.  Directives set in these; B8 M( q, V/ a- C, `# A
  31. ; special sections cannot be overridden by user-defined INI files or
    2 ~4 ]& k: X0 A* M& W
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' S- W, _. V) U( }( s3 b1 D8 Z
  33. ; CGI/FastCGI.
    0 F) o  l9 ~3 h' A
  34. ; http://php.net/ini.sections  T. L; f# x* e, h% D9 ~

  35. # J9 H. M# x  J
  36. ; Directives are specified using the following syntax:
    $ Q9 T% Y" s' j. G
  37. ; directive = value
    0 c+ b; }9 S. r$ s7 B6 I4 J
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 J  i3 S4 M7 Z  `9 v7 ?7 W  Y9 x
  39. ; Directives are variables used to configure PHP or PHP extensions.7 p" z) I$ d1 Y) X" i
  40. ; There is no name validation.  If PHP can't find an expected
    / O3 ~4 g9 n3 _( Z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ' r- a0 Y2 A3 y- d5 S% y7 [
  42. 2 M9 z7 ^7 r" V: u& b( M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one, h, G! ]/ p+ E/ I
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    7 z$ u: D% P& y0 k; o. x7 i2 [
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 c' Y% G4 i3 q! q. |, x( c; K5 P- w
  46. ; previously set variable or directive (e.g. ${foo})6 ]" D( _" M" K, @3 I
  47.   A5 G" {3 e# Z# F7 W8 y& Q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 Y9 X% c$ S3 _) C# K
  49. ; |  bitwise OR5 ]( G; x# X0 X
  50. ; ^  bitwise XOR
    * f- E4 r2 {) G, I. `4 O, N+ J
  51. ; &  bitwise AND
    & D9 {, Y! w! X# U6 Z! g
  52. ; ~  bitwise NOT/ |8 ~" j5 f3 `3 V' f
  53. ; !  boolean NOT. |7 n% X. s; Z4 J5 E' ~3 R6 r
  54. % ]( M8 n5 Y4 |. N* p7 B2 f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    0 o6 O: t8 D& X* a) T
  56. ; They can be turned off using the values 0, Off, False or No.; x% q6 \; x7 C% i& I8 P

  57. 0 X- y  K. e8 Y5 S
  58. ; An empty string can be denoted by simply not writing anything after the equal! B2 p4 F0 N" T/ O9 a
  59. ; sign, or by using the None keyword:
    7 }  U: m9 f3 Z3 o3 g3 |; r
  60. 1 v# Z8 f& g% m/ A- g
  61. ;  foo =         ; sets foo to an empty string
    2 S+ m- `# x& b7 `, Z
  62. ;  foo = None    ; sets foo to an empty string
    1 N  `8 y& M$ z1 ]8 U; W
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ) G/ F9 `  K+ [) J, k$ O5 O

  64. , F  }) X8 u( G& L) b- F$ @5 c( r
  65. ; If you use constants in your value, and these constants belong to a
    + s: |3 @8 U7 Y$ u
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 D( I5 c1 ?/ }$ y/ V4 B
  67. ; you may only use these constants *after* the line that loads the extension.9 X* D8 I8 u  J" |( [* D% O8 ^

  68. ' t/ a9 T& G  j
  69. ;;;;;;;;;;;;;;;;;;;
    $ V4 {* `: l: J  `8 J  r% {, x( q
  70. ; About this file ;" U& ]" d0 a* D) M
  71. ;;;;;;;;;;;;;;;;;;;
    ' L( ]/ d; L1 M" a, ~: _- I
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    - g% v1 Z9 q3 l; l/ Z  d
  73. ; in production environments and one that is recommended to be used in8 _; a8 P, V8 [* ?
  74. ; development environments.3 k  T% P: J9 w; d, c( p

  75.   {/ ]# J; w3 @& R" B0 n) R& f& `! O
  76. ; php.ini-production contains settings which hold security, performance and
      n3 u- _0 L) u' L! l3 J4 m
  77. ; best practices at its core. But please be aware, these settings may break
    # k+ v0 W0 i3 g7 E8 Q: {, \
  78. ; compatibility with older or less security conscience applications. We$ t' |# E: H: B- o" Y8 B
  79. ; recommending using the production ini in production and testing environments.3 E" P: D1 `4 s) R; j
  80. * t6 D% W1 ^! T9 k; |
  81. ; php.ini-development is very similar to its production variant, except it is
    3 i3 U& K7 K! K! K
  82. ; much more verbose when it comes to errors. We recommend using the! I2 P& A' S- b4 n; Y
  83. ; development version only in development environments, as errors shown to
    2 W7 G# |: E! h5 ~1 V* ]% j
  84. ; application users can inadvertently leak otherwise secure information.
    * y  ]: Z" Q' L/ g/ V
  85. - E+ l/ X) b. W! l
  86. ; This is php.ini-production INI file.
    7 ?$ v  o3 ~( Q! g( c! E' ]% a! d

  87. * }8 D  O4 d: R
  88. ;;;;;;;;;;;;;;;;;;;4 q! c5 \6 l; z1 z$ \
  89. ; Quick Reference ;
    0 r( {0 |5 f1 ]( k0 K
  90. ;;;;;;;;;;;;;;;;;;;* ?  u1 t; n& D; u, D) |
  91. ; The following are all the settings which are different in either the production6 r* a- e1 |  T; h2 K
  92. ; or development versions of the INIs with respect to PHP's default behavior.  M/ h' S$ v( O# N& u* j+ A' Z
  93. ; Please see the actual settings later in the document for more details as to why
    ' u5 \- d; d& U; B: E3 W
  94. ; we recommend these changes in PHP's behavior.- n( }7 V$ B1 f0 l4 G/ d

  95. / Y) G4 C) [7 V6 @3 X6 `
  96. ; display_errors( g2 Q# Q5 l/ w
  97. ;   Default Value: On
    ) k, i# ]4 k+ z0 q- u# L
  98. ;   Development Value: On9 M; }3 v2 l" |7 A4 d/ [+ `9 f
  99. ;   Production Value: Off
    7 F, C; w+ @6 N/ c7 }

  100. 1 k: U/ @9 e5 s- i
  101. ; display_startup_errors
    - b* l8 Y5 }1 x0 R: a+ n; d
  102. ;   Default Value: Off; l3 E# V- u2 K+ K& b) D, b& N: |
  103. ;   Development Value: On+ T; d& C4 f, W) ?7 j0 |
  104. ;   Production Value: Off. z/ i( ~! ~' }

  105. % E8 j* _; O& \
  106. ; error_reporting
    5 g. z5 u' A/ r6 P6 W
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 ^% u: e3 n" n% r2 l- [
  108. ;   Development Value: E_ALL
    # q, b" s4 L. D! I, q  q6 R0 x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( p3 |' T$ R: t1 i9 f
  110. + Q+ O7 f% a3 l6 h9 U& V' \0 P" V
  111. ; html_errors7 O! A, U7 P! Z/ t) |2 O
  112. ;   Default Value: On
    " S* j; k% @4 N% P4 l  m
  113. ;   Development Value: On
    ! s' y& G3 X" x& D6 _# f
  114. ;   Production value: On
    0 @- H' K$ ]/ |" U
  115. 0 `5 \. p' I, a0 T; D6 D( @1 s
  116. ; log_errors  N& |& q! j2 u1 Z  e) h; T
  117. ;   Default Value: Off: q8 y- |1 N5 j9 r- B+ S
  118. ;   Development Value: On
    7 t) J2 x( z4 l
  119. ;   Production Value: On
    3 X% s0 e! S6 f2 H5 y  K, q

  120. 6 i$ O8 G9 w! g' a, T2 F
  121. ; max_input_time/ L- G6 ~3 p: b
  122. ;   Default Value: -1 (Unlimited)* w3 N: R" b$ v" z8 _
  123. ;   Development Value: 60 (60 seconds)
    - T! |9 P' d0 k6 R  x" j  a
  124. ;   Production Value: 60 (60 seconds)1 f# s) o) `: c+ |4 l. r

  125. 7 f# h+ R" `7 o# D7 @" T$ C
  126. ; output_buffering
    ) {+ @) L$ A" I7 A
  127. ;   Default Value: Off* H" `3 |" {* D
  128. ;   Development Value: 40964 z6 _" \# ?- M$ Y  l
  129. ;   Production Value: 4096  |2 m  r9 ^; S$ i" H+ O6 y

  130. ! o" U' r' O& R' @0 q" r+ B* t% D3 e. `
  131. ; register_argc_argv* p1 c  _/ v, m' x! P! K
  132. ;   Default Value: On1 f% c4 h7 U$ U7 a9 g5 x  r
  133. ;   Development Value: Off
      m+ ]6 B) ?+ S* ~! E! j
  134. ;   Production Value: Off
    ! l$ R- ^8 A: r( B. l  Y
  135. , N# ~0 s; ^" U+ |
  136. ; request_order
    , r+ y: _0 |8 Q$ `8 v. t$ a
  137. ;   Default Value: None
    * P: O. {: x" Y
  138. ;   Development Value: "GP"# ]6 d. |' o! K8 c
  139. ;   Production Value: "GP"
    ( w* x9 u: _+ p9 ^. }: D% j
  140. 9 }" |- r+ ]4 b" v' ~  ]7 c! `
  141. ; session.gc_divisor+ j8 S7 l+ }% h3 {( v% _
  142. ;   Default Value: 100! Z8 G- K2 k3 u$ @/ @+ Q
  143. ;   Development Value: 10003 g  w8 B3 t; K0 J6 c
  144. ;   Production Value: 1000
    5 x9 q5 a8 H4 K4 b

  145. 1 d: y" F( P4 _% L% W1 b! v
  146. ; session.hash_bits_per_character
    % G2 p* ^  \6 m% ]% q1 Y7 A  Q0 c
  147. ;   Default Value: 4
    ) P" i+ W/ y% q! p7 t
  148. ;   Development Value: 5  g0 k4 o; W9 t& x1 M
  149. ;   Production Value: 5, B0 @, {# `6 W8 P8 A' A
  150. , Q' l7 r) e- s
  151. ; short_open_tag
    7 Z) I9 U  B  r7 ]( `
  152. ;   Default Value: On
    $ G4 I% x" q( p2 t3 Q
  153. ;   Development Value: Off" E+ p: Q$ z5 B. K3 `
  154. ;   Production Value: Off  A% b; z3 f( u: M& }/ m% j1 e
  155. # h& {2 o# i+ z( t: g4 b/ s! E( ^
  156. ; track_errors* W% Y& i: Z; U* \- _8 x
  157. ;   Default Value: Off2 p8 Z1 L5 @  ~" \/ i# r) y! W- x3 G
  158. ;   Development Value: On
    ! S$ c% {2 J9 M$ e9 ?& p
  159. ;   Production Value: Off
    % n7 s; \+ q( \2 `

  160. ( `, y, J2 X5 b2 T$ Q, ]
  161. ; url_rewriter.tags, E* ^' e. C" N7 X" P- v
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="" g5 m; g$ E& g* q% B
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # |" u3 m. S4 N; Y
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      c( ]! L: }. x

  165. + Z, f# U  E/ X4 P( d0 P7 m
  166. ; variables_order! {' t+ f3 ^/ T- y
  167. ;   Default Value: "EGPCS"
    8 x" z: T3 ^, b( B& y; E) {
  168. ;   Development Value: "GPCS") {, M# b: b5 |2 p1 m3 Q/ b
  169. ;   Production Value: "GPCS"
    2 n3 f' |1 {3 }8 j1 |; {  U
  170. 7 O6 l* l$ c1 g! r& ~% c: W
  171. ;;;;;;;;;;;;;;;;;;;;. E: V$ W7 H* C7 g- F* t6 ^& k" f
  172. ; php.ini Options  ;6 K9 V& }5 {. J# J; M! p
  173. ;;;;;;;;;;;;;;;;;;;;
    ; \6 k' H8 y+ s( z! w4 q& H. \
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    $ O! N2 B4 H6 a" x( z4 O, {4 G
  175. ;user_ini.filename = ".user.ini"
    % a) S" U$ p" R! g- v- y! y: T

  176. ( R' q: Y5 F8 A/ R
  177. ; To disable this feature set this option to empty value
    ( M2 T3 T& H& w/ q2 H! s
  178. ;user_ini.filename =9 }/ o& K+ j; T3 r$ R/ X
  179. " L% i/ g! u" z  b& V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 P# y: d+ u0 A& w% J" c
  181. ;user_ini.cache_ttl = 300; E) D. y" ~. `; O% J* r3 i1 l5 i
  182. 9 e: s* s4 e+ x* b/ {+ C( c& j
  183. ;;;;;;;;;;;;;;;;;;;;) R/ Q: ?9 k+ P4 P. M/ B; M
  184. ; Language Options ;
    ' V4 C( D0 l; [; H& O1 E( I9 ]" A
  185. ;;;;;;;;;;;;;;;;;;;;3 n9 I; _9 Q8 h! v0 y; R4 Z: \& M$ V

  186. / x. V; O1 ~+ F2 Z9 u
  187. ; Enable the PHP scripting language engine under Apache.
    6 E) I- X& c' S0 s- S# F  l8 v
  188. ; http://php.net/engine
    4 d+ S1 m- |& t* M! e5 B% s
  189. engine = On* y9 |' s! m1 w- J* e5 C1 [
  190. , x) C- ]0 Y& J  |2 o
  191. ; This directive determines whether or not PHP will recognize code between" P+ o: V5 a* k* t9 |; _$ G
  192. ; <? and ?> tags as PHP source which should be processed as such. It is3 Y/ r: y5 ~- a6 \6 n3 ^' u* q
  193. ; generally recommended that <?php and ?> should be used and that this feature- i. m+ u, Y$ h' l: J
  194. ; should be disabled, as enabling it may result in issues when generating XML
    , E7 d$ L& }8 L$ @( M
  195. ; documents, however this remains supported for backward compatibility reasons.  P, p. ]6 t- @$ @/ I# s& o/ U* w
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    $ @0 Z) T4 g  f8 |2 C; N' r1 v
  197. ; used regardless of this directive.
    ) D, `% _! z9 e/ v0 m1 B! x
  198. ; Default Value: On
    2 ~* P$ V/ P8 \7 b
  199. ; Development Value: Off
    : p& x" u3 p( N3 k0 ]+ m
  200. ; Production Value: Off
    $ f/ F: E) Q+ X* N/ c6 U. i7 O
  201. ; http://php.net/short-open-tag7 y5 E5 O4 X7 J- L$ b) I, b9 }- Q
  202. short_open_tag = On
    , K1 t, X$ T4 Q2 G; w6 F5 I
  203. 6 |. c" l8 @( @+ H9 M4 U  d# O: d6 N
  204. ; The number of significant digits displayed in floating point numbers.4 C' N: |5 `. f* h$ V
  205. ; http://php.net/precision, H6 G* I7 t0 h9 ?/ Z" y
  206. precision = 14
    , ^+ |6 B2 S2 g: v+ {
  207. : O3 R! z5 m* j
  208. ; Output buffering is a mechanism for controlling how much output data
    : l$ q3 d0 \8 g- G8 x$ H# a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that  n% Z; A4 \+ c4 v, u5 E  d
  210. ; data to the client. If your application's output exceeds this setting, PHP" t; s" S% r( v9 r. g
  211. ; will send that data in chunks of roughly the size you specify.
    * H* l- I* ?1 Q3 m/ [* N8 |2 G, |
  212. ; Turning on this setting and managing its maximum buffer size can yield some. R! w: O& T; Z5 f4 r" r
  213. ; interesting side-effects depending on your application and web server.6 H) Y' O4 `) l, c( d" o1 d
  214. ; You may be able to send headers and cookies after you've already sent output
    4 S& Z  X, D( A5 H) p
  215. ; through print or echo. You also may see performance benefits if your server is
    $ C7 }9 H. j+ f
  216. ; emitting less packets due to buffered output versus PHP streaming the output0 T( G! s; \" ?, P4 R  A" |
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( n* Z+ L3 e3 V$ D7 b/ E' U
  218. ; reasons.
    . I' _/ B' k: }& R% J
  219. ; Note: Output buffering can also be controlled via Output Buffering Control. x/ B* v, U: F( [+ b
  220. ;   functions.8 R+ Z% m4 K$ ~0 o
  221. ; Possible Values:. M* W6 @2 L* T: s. j2 N$ t# X' O
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ l: @; x  q* f& v: M
  223. ;   Off = Disabled9 I% W% Q- ~' a# V- ^0 R. o# o
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.! f8 E% B( D9 p2 Q" s
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - g4 z; E! j5 X( Q( O$ b( g
  226. ; Default Value: Off) r8 ?; }) O" _  G. [
  227. ; Development Value: 4096( f8 }9 c6 A5 T$ B$ g3 ]7 Y
  228. ; Production Value: 4096
    $ b: P) G. r4 z0 |
  229. ; http://php.net/output-buffering
    9 A+ {; y& |$ v: i
  230. output_buffering = 4096( O" s5 `5 K8 U1 j0 ?9 f4 R
  231. 6 n3 i- T; V8 X% a. c2 E
  232. ; You can redirect all of the output of your scripts to a function.  For3 J/ f! v7 }2 q  W& g+ U) w
  233. ; example, if you set output_handler to "mb_output_handler", character
    + B# ?" R/ o. \! K0 S# b  ~
  234. ; encoding will be transparently converted to the specified encoding.4 U3 t8 B: H4 D# X
  235. ; Setting any output handler automatically turns on output buffering.  W9 v/ S3 E8 ^0 T
  236. ; Note: People who wrote portable scripts should not depend on this ini  `. Q4 l* {9 Q6 S
  237. ;   directive. Instead, explicitly set the output handler using ob_start().# n. `+ m& U4 Z. r- ?
  238. ;   Using this ini directive may cause problems unless you know what script
    - Z+ V" o1 U0 K9 C% I- J. @
  239. ;   is doing.
    + j1 J- @1 i4 B5 t' [- F% o4 p5 t' B
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"- y; w2 L1 u, h) b
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    5 B* c4 V) N2 ]
  242. ; Note: output_handler must be empty if this is set 'On' !!!!; D3 E' z$ G8 {
  243. ;   Instead you must use zlib.output_handler.; |2 U. O! x1 v! ~# T& i
  244. ; http://php.net/output-handler, `' e/ @% Q7 t0 I4 q$ W4 Q
  245. ;output_handler =
    : W3 ^$ R. A/ V& Z4 e7 j
  246. $ X+ v+ `* I3 R- j9 |( s! `
  247. ; Transparent output compression using the zlib library* \- e) U: X7 S/ b2 ]
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ m/ _/ _' t4 b+ l2 D# h
  249. ; to be used for compression (default is 4KB)
    9 @. u  r* r# N6 y, p1 I; v4 W
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP# |  R* G: }: f) B1 Z2 Q+ M
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 H# J7 F) O# g' y
  252. ;   compression. If you prefer a larger chunk size for better! U9 x. r+ x0 Z- c; J6 a8 S, t
  253. ;   performance, enable output_buffering in addition.0 i4 K+ B$ B! f" F3 J/ I( n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    + |9 c. @* a. e% F2 W' y& R1 V
  255. ;   output_handler, or otherwise the output will be corrupted.
    : i3 V! N' e$ z9 ?' v& \) W
  256. ; http://php.net/zlib.output-compression! V+ r+ P% I+ y0 f. c+ S
  257. zlib.output_compression = Off
    & s5 W+ W8 G. \
  258. " N: `7 X, F# W# C7 I
  259. ; http://php.net/zlib.output-compression-level0 _5 z5 b& [, G  k
  260. ;zlib.output_compression_level = -17 J% h* C. W! p6 G5 `
  261. # ~$ @2 L3 r1 ~4 G5 d5 A
  262. ; You cannot specify additional output handlers if zlib.output_compression
      U. ?4 e# ^# w# F- ^( Z2 }& W
  263. ; is activated here. This setting does the same as output_handler but in
    - z# C; t0 w* y$ \2 W6 b
  264. ; a different order.6 h$ K3 Q# T. ?  W/ k
  265. ; http://php.net/zlib.output-handler
    " w1 Y: V9 {4 p6 ^- @4 H( O! P6 s
  266. ;zlib.output_handler =
    $ ~4 Q2 R! i) _6 ]  q/ v* b3 J

  267. ; G% [' r( |" C3 }# a
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    + S3 m4 g" K! L- X& M! `# v
  269. ; automatically after every output block.  This is equivalent to calling the
      a- m& \$ M8 `7 ]
  270. ; PHP function flush() after each and every call to print() or echo() and each
    9 v( N  ]+ O5 e8 V0 N8 E
  271. ; and every HTML block.  Turning this option on has serious performance" [: K" c& f2 m, w: G1 `- l
  272. ; implications and is generally recommended for debugging purposes only.$ D. g) @# X5 k1 p
  273. ; http://php.net/implicit-flush
    % a) P7 }: \% Y# Y7 a! A  i
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! `( z# P1 n6 C' f2 V
  275. implicit_flush = Off
    * ^& D% C8 p$ H, r* B( {
  276. ) r8 ^& h$ ^$ u! c  }7 H& {
  277. ; The unserialize callback function will be called (with the undefined class'* n( \- I! U! V7 x" _6 b2 @
  278. ; name as parameter), if the unserializer finds an undefined class
    , z) R! U( P, u" D( d% I
  279. ; which should be instantiated. A warning appears if the specified function is
    - w- F9 \/ T; z5 k! e
  280. ; not defined, or if the function doesn't include/implement the missing class.  _$ j8 V$ w9 m9 z% X' H
  281. ; So only set this entry, if you really want to implement such a
    ' _1 _7 o4 g, r+ W% a2 r7 p7 V
  282. ; callback-function.
    & q5 Y3 d0 c# s
  283. unserialize_callback_func =
    3 |( o" x' S& t
  284. . O# L" R" I9 i( n& w1 [
  285. ; When floats & doubles are serialized store serialize_precision significant
    5 b( S! q; V) o2 X9 E9 Q, K; z
  286. ; digits after the floating point. The default value ensures that when floats
    8 D3 V- R5 v8 I9 k! h
  287. ; are decoded with unserialize, the data will remain the same.1 `: n0 t8 Y9 C- P7 D2 f% Y) [
  288. serialize_precision = 17, P& H1 Q1 x7 @* }

  289. * j$ x/ p# P6 w8 \4 `" O
  290. ; open_basedir, if set, limits all file operations to the defined directory" h* i4 d9 @( N5 h+ t: c" x( M$ Y. s
  291. ; and below.  This directive makes most sense if used in a per-directory
    3 n% d3 o+ k, ?' w
  292. ; or per-virtualhost web server configuration file.
    8 B- Q& T1 a# N5 j0 m, b. c! @
  293. ; http://php.net/open-basedir* {# y( g1 Q" y% X( ]
  294. ;open_basedir =
    1 w. |1 V( x+ \  I# o+ s

  295. ( ]) h/ y4 h6 F. w6 n' F' ~
  296. ; This directive allows you to disable certain functions for security reasons.2 ~9 h9 a1 l' [7 q2 A3 V& y
  297. ; It receives a comma-delimited list of function names.* g7 b8 p! f0 n! `
  298. ; http://php.net/disable-functions
    2 {( ?4 d3 J6 \2 D
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& l* t+ r: ^+ Z  N
  300. + c! j/ Y( o) \4 N7 {
  301. ; This directive allows you to disable certain classes for security reasons.
    . r& h9 h3 F2 E) v  M
  302. ; It receives a comma-delimited list of class names.& ^! \' x4 ], T& i% D
  303. ; http://php.net/disable-classes
    ( G$ P' B/ [: V" r
  304. disable_classes =# Y$ l% [3 V; ^( {: z7 \
  305. / Y; r. f$ Q: ~2 w: b7 \$ a9 L# ~/ s
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 f9 A' O/ ?% z. Q$ Q
  307. ; <span style="color: ???????"> would work.) G/ c5 z: S+ M$ n) W0 g; i
  308. ; http://php.net/syntax-highlighting; ~$ o: g* W# d# E
  309. ;highlight.string  = #DD00004 |$ f; _, D6 p* k7 m) Y
  310. ;highlight.comment = #FF99006 W- E2 Q9 h2 ]5 e* X2 P3 [6 A
  311. ;highlight.keyword = #007700
    , L+ Q2 B, {3 l1 A8 V+ o( @& V& g
  312. ;highlight.default = #0000BB
    & P9 R6 E% \8 S8 }) J, Z' \
  313. ;highlight.html    = #000000
    * p5 c6 e* I8 Z" B

  314. 3 l' T( N; o9 F4 n
  315. ; If enabled, the request will be allowed to complete even if the user aborts- I( r% u- Y+ o$ w7 j& \: p) k
  316. ; the request. Consider enabling it if executing long requests, which may end up
    % M7 E7 ]" r7 Y7 r9 F: g+ ?
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : U* O/ F' `( ]( k3 z1 d* D
  318. ; is to disable this feature.1 L- u7 M0 I2 W) X4 }. }3 c
  319. ; http://php.net/ignore-user-abort+ j/ [/ e6 r# n; ]
  320. ;ignore_user_abort = On! {$ Y4 a6 n. ?7 i8 u; R7 K
  321. 7 F2 ?' L/ A) \) _, s5 R
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    5 G2 ~7 q- D( T
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ! Y  w  `1 h2 ^/ d& T5 [
  324. ; the file operations performed.
    4 Q; X8 Z% D6 D& C7 T" S' ~1 T
  325. ; http://php.net/realpath-cache-size3 u! i2 q8 b1 N! K  ~
  326. ;realpath_cache_size = 4096k
    1 y: _; @# |5 k3 W# S" r% b# o
  327.   P3 p5 ~" D6 W& |# |
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    : I- z& m3 @4 `4 P/ p
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    & P/ u% \- Y0 G- }! E0 K
  330. ; value.
    ! t% w# v. @5 f4 r" [
  331. ; http://php.net/realpath-cache-ttl
    & Y( \/ o: Q4 f" w, w/ m1 [
  332. ;realpath_cache_ttl = 120
    7 l4 I( O& V4 Z! f$ j( P1 a

  333. ) l0 s9 g# p% J+ b  l  b
  334. ; Enables or disables the circular reference collector.
    " @. W" y$ M3 m
  335. ; http://php.net/zend.enable-gc
    % I# J: E/ p) X1 M
  336. zend.enable_gc = On. ?7 a: Y7 \3 U* N* ?) N+ I5 d# k5 z

  337. * q9 Q/ n% h9 S* x
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    . G% {! ]( O5 A9 b  e# H5 i
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    - t1 E* f; B  e! y
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    , _. ~9 E3 i. G: I, J- c, L7 o* g, B, ~
  341. ; Default: Off7 v* K- H3 W% D! \, T3 q
  342. ;zend.multibyte = Off
    ; L6 _5 s" f! ^! Z9 R8 ]+ X/ Q- L

  343. 3 ^( d9 d2 n& u9 F7 I1 H) T$ |
  344. ; Allows to set the default encoding for the scripts.  This value will be used6 y" p1 n3 V5 ^" ?/ I  o* K
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.; h  x1 p  I6 g# v
  346. ; Only affects if zend.multibyte is set." G6 y- g- ~2 A8 Z2 p
  347. ; Default: "", _" ?- M1 p: a; P# G7 F
  348. ;zend.script_encoding =
    ' Y6 s, _" t8 Y# O6 S, \$ t2 F
  349. 5 G" V- P# `# L# d( X
  350. ;;;;;;;;;;;;;;;;;7 \7 }9 ^! l# J( P: Z; p- x
  351. ; Miscellaneous ;
    % d0 [0 q% B# u1 @- ?
  352. ;;;;;;;;;;;;;;;;;; Z4 F7 U9 U/ P& D* Q4 @. a" N0 O

  353. " M, Z  N# E& W% M
  354. ; Decides whether PHP may expose the fact that it is installed on the server. `/ R0 |) t1 t' n8 {! z
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    : X8 _" [" W0 U6 N0 \2 X
  356. ; threat in any way, but it makes it possible to determine whether you use PHP6 Q  \. S' t  ^0 `# K
  357. ; on your server or not.% U& ?' j) }/ ]6 }: U
  358. ; http://php.net/expose-php( N, j. F. l" {- R1 V5 c5 x; o
  359. expose_php = On
      I% q* O9 G' x; O7 Q% }3 A5 J: M

  360. 5 Q2 [- Z' G4 Q! E& o7 O
  361. ;;;;;;;;;;;;;;;;;;;! `. w( g8 R' k7 H
  362. ; Resource Limits ;' w' t1 X* V, x' H9 a
  363. ;;;;;;;;;;;;;;;;;;;" }# ]3 N& D+ P" K+ x! L0 z/ b
  364. 0 n: s1 A8 c9 L! ~: w3 @6 s
  365. ; Maximum execution time of each script, in seconds
    . w3 M. n- j" V) L# x# e: T
  366. ; http://php.net/max-execution-time
    ' {) [- P" M) Z& [% x2 Y/ X
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI5 b$ y) E2 `0 u
  368. max_execution_time = 300
    : F7 z9 f! ?6 h" O. h

  369. - c. p! B7 V- x( b' @# F) S
  370. ; Maximum amount of time each script may spend parsing request data. It's a good# d# R5 C/ I7 ^  a7 O# Z) \
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly# B* n% H; `# ?1 I0 n
  372. ; long running scripts.% _8 |$ }" A3 Y& o$ `& h
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI4 i. i- Z' {0 j6 L+ E% P
  374. ; Default Value: -1 (Unlimited)
    4 i3 ?7 f9 L8 P$ U$ A
  375. ; Development Value: 60 (60 seconds)
    - h( w5 z) y8 ]- {7 J. x6 [8 M
  376. ; Production Value: 60 (60 seconds)
    + {" y1 ~4 `9 V2 X
  377. ; http://php.net/max-input-time
    , {( d6 X) U; d$ x
  378. max_input_time = 601 t3 f) D7 x$ Z) I

  379. 1 i$ a9 u# ?8 Q8 F0 u7 Y( ^
  380. ; Maximum input variable nesting level  h3 \( K# Q: D0 S1 E
  381. ; http://php.net/max-input-nesting-level8 H2 r; h) c8 s5 Z8 l+ @
  382. ;max_input_nesting_level = 64, I0 G! ]0 Y; m# |# D0 w3 U( g
  383. # \1 y# f# }/ E
  384. ; How many GET/POST/COOKIE input variables may be accepted
    . q# F: w; G0 \
  385. ; max_input_vars = 1000& w8 @; c  J* v! p1 g0 x" a

  386. 1 @+ I& L- Y4 i/ X  _8 i
  387. ; Maximum amount of memory a script may consume (128MB)
    5 c7 X0 M3 v" z7 Z0 V* B% M
  388. ; http://php.net/memory-limit$ r: m! r& V4 `* ^* }
  389. memory_limit = 128M
    ) O  S0 {/ I% i+ h( Z8 q: {3 d

  390. , u3 d6 c! e3 g
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 Q/ Y8 `; G7 L' k
  392. ; Error handling and logging ;2 P  X5 `5 q* C& Z: I, u  h$ w
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @1 o5 L0 i/ N9 t

  394. # H7 @# L) T" ?9 B( @+ M
  395. ; This directive informs PHP of which errors, warnings and notices you would like- n% f0 S0 a! G# C
  396. ; it to take action for. The recommended way of setting values for this
    5 G$ C1 k# `2 C2 }0 W9 r; e
  397. ; directive is through the use of the error level constants and bitwise
    2 r8 y! y. l* u* T
  398. ; operators. The error level constants are below here for convenience as well as* S9 f4 ~% e0 l* K% l# l6 `
  399. ; some common settings and their meanings." g' |% G( ?! c
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT  W5 k- N2 y% [/ _* N' \- K
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and/ Z8 g5 }1 j0 s, S/ A% p7 B2 S
  402. ; recommended coding standards in PHP. For performance reasons, this is the% P! L7 W; J2 H' V0 T' S4 o- N
  403. ; recommend error reporting setting. Your production server shouldn't be wasting/ J: t" N' ?- D+ _$ _' X3 t( G
  404. ; resources complaining about best practices and coding standards. That's what
    % [! Z6 E4 t, H3 g7 \
  405. ; development servers and development settings are for.
    . H3 \! `3 E. T$ L/ K1 f
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    & U% W$ U9 v% i- u- e9 F
  407. ; means it pretty much reports everything which is exactly what you want during
    2 G6 O' l. e. J0 |
  408. ; development and early testing.
    " b0 e! W; h  z  Z3 y
  409. ;
    ) @4 y- t" C7 c2 H1 ]# F) n) h
  410. ; Error Level Constants:) Y! Z# m3 s! ?$ P) t3 u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)1 Q- D& Z/ ^8 ]% w) L( y) C
  412. ; E_ERROR           - fatal run-time errors- f! s$ u" Z7 p) ]) V8 V/ C# p
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors! e0 Q0 x1 t" v
  414. ; E_WARNING         - run-time warnings (non-fatal errors)& o( Z' ?0 ^# b2 E; r
  415. ; E_PARSE           - compile-time parse errors
    ( z* b; z; ^0 ?
  416. ; E_NOTICE          - run-time notices (these are warnings which often result4 S) g6 K& X( w6 z8 T
  417. ;                     from a bug in your code, but it's possible that it was* S5 v7 p8 b% p$ y9 Y0 u/ Z
  418. ;                     intentional (e.g., using an uninitialized variable and/ F" W% F2 y: b6 N3 u/ n( Y9 ?" H
  419. ;                     relying on the fact it is automatically initialized to an
    $ @, ^4 o, l/ V8 K: {" y
  420. ;                     empty string)  E/ V$ Q) Z/ t% i: ~0 g9 Q0 v, {, s
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes8 o/ Z/ u0 s- n4 R7 j2 Q& d' k
  422. ;                     to your code which will ensure the best interoperability8 f& \* f9 i6 k" J% T
  423. ;                     and forward compatibility of your code( ^7 Z- p; q+ [! U2 L
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup+ y! p) a) c; |) L/ N0 t
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    9 h* p& M( J+ k7 I& q$ A* H
  426. ;                     initial startup
    " {5 z0 s+ @( w$ Z5 X% t9 ?
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    + N* p. {& o  k0 K
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! C* Z+ o& K  ~+ h4 u/ i
  429. ; E_USER_ERROR      - user-generated error message( [# E! f1 f/ b' |, q+ S
  430. ; E_USER_WARNING    - user-generated warning message. V2 v9 I, k, _  [2 }* h
  431. ; E_USER_NOTICE     - user-generated notice message
    : K- z$ h  d7 o2 t- _* @1 g8 V
  432. ; E_DEPRECATED      - warn about code that will not work in future versions. [& ^) ]7 x% S* }, a
  433. ;                     of PHP
    $ O4 I2 |9 I8 S
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings6 r* \* Z: f( W5 t
  435. ;4 m/ i0 W) s* A4 H
  436. ; Common Values:2 D6 W# N$ U" ?) e0 p) D0 d# U
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)$ r0 S; L% _8 n* u; r! V7 E
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)6 O# v7 M4 M, t  [6 q7 R2 Q( ~
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    9 }; {0 v: w8 e9 V& e
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)8 s" G! f; s& O* D: q2 q: e
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # |, Y9 L2 q* d1 j  ~* j
  442. ; Development Value: E_ALL" b# o0 q+ j) L' p
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, a. l  G- T) A! p" ?6 y4 [: Y, d
  444. ; http://php.net/error-reporting/ R+ H. q% Q2 X: t: [
  445. error_reporting = E_ALL & ~E_NOTICE1 K% W6 ~/ |$ C) C+ d$ h5 I5 |1 u" P
  446. " q8 }( I- {( T) M. f) T
  447. ; This directive controls whether or not and where PHP will output errors,8 g  E  q, Z2 O, s1 z
  448. ; notices and warnings too. Error output is very useful during development, but2 w; @# z* P1 M6 f. s# x8 D( I+ c
  449. ; it could be very dangerous in production environments. Depending on the code
    4 h: F5 X2 m, R
  450. ; which is triggering the error, sensitive information could potentially leak$ K2 H, G( Q) ?8 V
  451. ; out of your application such as database usernames and passwords or worse.
    ; q3 }7 R9 o6 B9 {; u; l7 H
  452. ; For production environments, we recommend logging errors rather than
    + m8 F% P  E* `  ^% {- L
  453. ; sending them to STDOUT.
    : B5 @) l- w/ g
  454. ; Possible Values:% Y$ F2 L* I: j: x* z7 W
  455. ;   Off = Do not display any errors
    9 ~7 h( O3 Y5 G- i, o6 Q1 f
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)0 j( k. \( H# a
  457. ;   On or stdout = Display errors to STDOUT
    : c+ g" V; ^7 K; c
  458. ; Default Value: On9 B  |; d* y" f/ Z
  459. ; Development Value: On
    - |( }2 E7 J! r' J. {9 H
  460. ; Production Value: Off7 B  b- g, D  W; T. w
  461. ; http://php.net/display-errors
    + {. N# c& z4 t
  462. display_errors = On2 E; Q4 f" C5 m: b  h+ z1 q. U6 [

  463. ! g4 P9 }5 n3 Z+ }: r' j( l/ R
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ( C: H" \# W$ _% C: S
  465. ; separately from display_errors. PHP's default behavior is to suppress those5 w" |* @/ W2 ]% R
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    - h* A# k) I. b" M1 s: G
  467. ; debugging configuration problems. We strongly recommend you
    ) Y3 i+ Y" Q6 [9 a
  468. ; set this to 'off' for production servers./ S( \+ q: k5 N' {' N: j- E/ R# S
  469. ; Default Value: Off+ w- Z& Y" u8 A3 l2 M/ T- C9 v
  470. ; Development Value: On9 \% m. _; [& Z4 d
  471. ; Production Value: Off; J( G$ w9 o% L' z+ X
  472. ; http://php.net/display-startup-errors
    : {- r" i& b$ S+ w6 l) ?
  473. display_startup_errors = Off
    ( d3 E- W4 j# M; p7 @
  474. 9 j# f: G/ }6 f/ T& q- p/ k
  475. ; Besides displaying errors, PHP can also log errors to locations such as a# U! v1 Q' g% L* @' `! i! }: a0 S
  476. ; server-specific log, STDERR, or a location specified by the error_log
    + f7 o, W5 ]3 C3 t' H
  477. ; directive found below. While errors should not be displayed on productions
    $ p, D1 o& a9 p! ~+ _# K
  478. ; servers they should still be monitored and logging is a great way to do that.
    . h% A* t1 p& ~6 H: D! F% e, T
  479. ; Default Value: Off
    - X6 D- y$ m% C& L# @8 _
  480. ; Development Value: On
    * M1 {, t/ e* o
  481. ; Production Value: On
    * U7 q6 W0 H" M: {$ ~) b
  482. ; http://php.net/log-errors
    * Q: f& I, S6 l! ?5 y
  483. log_errors = On3 n1 ~+ l# r7 B( d; w
  484. ! v( |2 b  p" t! W- x$ R/ E
  485. ; Set maximum length of log_errors. In error_log information about the source is; D; D# Y# Y% ]/ g
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    * N- ]! s9 N8 N( z/ r
  487. ; http://php.net/log-errors-max-len
    , c9 ?5 n+ ~* ?
  488. log_errors_max_len = 1024
    $ @4 @' c7 J/ Y

  489. 0 B. J7 y( q  Z4 D( K$ a
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    $ @( W: m5 c; p8 l
  491. ; line unless ignore_repeated_source is set true.: \3 t5 ^% V5 B+ [& F. |( G3 c
  492. ; http://php.net/ignore-repeated-errors
    0 v3 F% ^6 {- b0 X( o. b- Y
  493. ignore_repeated_errors = Off
    . ?$ X2 I) u- H7 F, ]
  494. % N" O: c& ?* s& D' D6 e
  495. ; Ignore source of message when ignoring repeated messages. When this setting3 {$ n; H' h% I* D5 }
  496. ; is On you will not log errors with repeated messages from different files or
    " P& s, E& c4 U2 k" r' }' h) C
  497. ; source lines.& u7 g8 S& z8 B% J2 H8 r* a
  498. ; http://php.net/ignore-repeated-source
    , q) L0 u3 b- W5 S
  499. ignore_repeated_source = Off
    ! r6 x; ^% v0 c/ q1 h1 Z

  500. 4 _, P- q7 h9 q  Q
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    . n. ?; r. F. |# I9 [
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    7 _" a$ \1 l! f$ R+ A3 l
  503. ; error reporting includes E_WARNING in the allowed list1 N. ~1 x% Y! P8 J. G" l: \. Q
  504. ; http://php.net/report-memleaks$ k0 j0 S( O; i" S, i
  505. report_memleaks = On+ o6 M" b2 `0 Q% a/ x
  506. / @1 ~3 ?" e0 z' P& n5 V
  507. ; This setting is on by default.
      t; S" ]7 h9 {5 Z' H
  508. ;report_zend_debug = 0
    $ W6 E2 J4 g* }8 K, D, [
  509. , S0 D9 {4 i2 f
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value& O$ P" u9 U1 z* ]
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    - w$ q" C, T" f9 [: d/ o1 J" G
  512. ; however be disabled on production servers.
    : y' L) Z( p. W' B( r2 Y
  513. ; Default Value: Off
    4 V$ |  B$ w* O" z: I
  514. ; Development Value: On: ^7 C5 X# m% k& O; `5 @
  515. ; Production Value: Off
    ! y, C/ {4 M2 C2 q
  516. ; http://php.net/track-errors& k' q4 l% S9 F# I# X! ~# ~
  517. track_errors = Off$ X/ E6 D! r* S1 }
  518. 1 T) k9 s$ _3 j7 }5 o0 F+ Z
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    % S; F' ?2 h& }# _. z9 j4 Z
  520. ; http://php.net/xmlrpc-errors' u- P% z/ |, A! g
  521. ;xmlrpc_errors = 03 |) _& V8 A; }7 m. X/ S* w

  522. 1 k& I$ ~3 b2 X; Q! K0 M
  523. ; An XML-RPC faultCode
    # b2 J0 `+ y5 q* k  J( B: d
  524. ;xmlrpc_error_number = 0" F. Z5 a  y; C7 G8 d
  525. & v9 [) W! ?9 Q0 W7 o& Z9 \
  526. ; When PHP displays or logs an error, it has the capability of formatting the( R# x6 j' V0 `8 E9 B2 G# D  Y# e3 |
  527. ; error message as HTML for easier reading. This directive controls whether
    . h) [* H( b  K% _
  528. ; the error message is formatted as HTML or not.
    / z* z9 q8 Z; L
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI5 ^. ^$ \! l) d# r3 ~/ [" f
  530. ; Default Value: On
    # ~+ G% u$ \- j( F, Q) F4 C, h+ Q3 d/ Z
  531. ; Development Value: On
    ; M9 h! V/ k9 V9 K: x$ D( X
  532. ; Production value: On
    & D1 {  a. b/ A3 Q" x; g
  533. ; http://php.net/html-errors" y8 O) \8 F, t8 D
  534. html_errors = On
    % x& K0 h4 R: Y* N. {* S

  535. 1 }; Q& c# b! }6 V: ~; R
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; b2 G7 S+ X+ w+ a6 a
  537. ; produces clickable error messages that direct to a page describing the error
    4 X8 h7 a1 S$ F4 H! c- k$ `
  538. ; or function causing the error in detail.
    * G, `. P3 ?0 W3 {' Y
  539. ; You can download a copy of the PHP manual from http://php.net/docs5 K) A$ X7 u3 z/ P* i6 j" a
  540. ; and change docref_root to the base URL of your local copy including the
    ! |5 S7 o# A1 F0 t) j; m, {- P7 W
  541. ; leading '/'. You must also specify the file extension being used including
    ( V2 I' s2 D' `. B4 u, o7 G3 b* C1 \
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which3 ~. _$ C, S2 g, J; u+ P
  543. ; case no links to documentation are generated.# P1 @, S6 M2 ?+ B- Z+ n: `! u
  544. ; Note: Never use this feature for production boxes.
    , k6 l9 P, @/ }5 I" Z
  545. ; http://php.net/docref-root) F6 a$ o6 `0 Z! z  @
  546. ; Examples& s, W) Y# |$ ], u; P
  547. ;docref_root = "/phpmanual/"" f# T$ |- \1 y( }' E( _8 @
  548.   S; v1 k0 y( p( t
  549. ; http://php.net/docref-ext
    0 ]6 K' o& w, b; R
  550. ;docref_ext = .html
    & C) m- ~6 M1 ]' [
  551. - m0 S: @# D9 u; t2 K6 }0 @
  552. ; String to output before an error message. PHP's default behavior is to leave. {* T2 b) {9 N- A2 r
  553. ; this setting blank.
    ! R5 R. ^! f  S/ A( b9 \! }8 h
  554. ; http://php.net/error-prepend-string
    - `6 T& r2 E. j0 z
  555. ; Example:, Y! B; [9 U% V4 @' S8 u
  556. ;error_prepend_string = "<span style='color: #ff0000'>"/ n" @: ]' L, e' P- h9 V, n" c
  557. + P' X8 y' s6 }* g& a
  558. ; String to output after an error message. PHP's default behavior is to leave
    9 s9 l; J& H; `/ |+ ~
  559. ; this setting blank., K; b0 W% _! [. b/ ^0 a& H, k( L
  560. ; http://php.net/error-append-string
    7 l: N/ O0 w4 k) [6 t( b0 H
  561. ; Example:
    $ J" @7 O1 {. G
  562. ;error_append_string = "</span>"7 q* p6 ?7 U6 r" [
  563. ; `' h# p6 j0 E* c) k- x
  564. ; Log errors to specified file. PHP's default behavior is to leave this value9 m3 w, `! l) I) l" U' A4 X
  565. ; empty.& H- l! S4 b4 ~
  566. ; http://php.net/error-log
    1 s0 @. [/ j2 Q0 p7 D" O3 N
  567. ; Example:2 X# J9 S# H% g
  568. ;error_log = php_errors.log
    2 _0 v8 g. s3 Q6 h* [% C, r
  569. ; Log errors to syslog (Event Log on Windows).
    . h- o' |0 d4 Z! z
  570. ;error_log = syslog
    3 S* k* U! s: B
  571. 1 B; c1 T% D# k7 p, u1 R' z2 M
  572. ;windows.show_crt_warning
    0 `9 `  x( N2 j7 `
  573. ; Default value: 0
    7 W" M" _! v6 z( M# W" v
  574. ; Development value: 0' J$ X! \) m- O/ h: X0 q& C
  575. ; Production value: 06 @1 F- U" T7 `9 M$ k3 O

  576. $ Z! E( [6 K$ y- i7 N; ]9 @
  577. ;;;;;;;;;;;;;;;;;' X* ~+ E, ^( L
  578. ; Data Handling ;8 R, G3 s/ g7 `3 I& t
  579. ;;;;;;;;;;;;;;;;;. @0 P) Q6 I( N3 Z

  580. 6 q, y! c: ^9 O! Z# _6 w1 T
  581. ; The separator used in PHP generated URLs to separate arguments.
    ' k" q' S6 d- u
  582. ; PHP's default setting is "&".
    ; Y$ e2 W: Y# b" [1 z  G0 R$ h! @
  583. ; http://php.net/arg-separator.output
    " i- |& K4 u5 T8 j6 L  ]
  584. ; Example:
    + @5 V9 C0 {7 `  m; n0 D$ z" q
  585. ;arg_separator.output = "&"
    * H- f2 d' \  ^9 z% t5 b6 a

  586. 6 `/ [$ r$ C) l0 u
  587. ; List of separator(s) used by PHP to parse input URLs into variables.' ?  S9 ^8 x# L8 C" x4 r6 I: ~
  588. ; PHP's default setting is "&".
    & s8 M$ b# e* [7 B9 l" U' p1 Q- Q, h3 k3 t
  589. ; NOTE: Every character in this directive is considered as separator!# n- A$ Y! k; ^9 l4 r4 y
  590. ; http://php.net/arg-separator.input
    1 J9 n0 R1 e2 }
  591. ; Example:
    9 c1 L- U: u2 m! C9 M
  592. ;arg_separator.input = ";&"
    2 R# ~( C2 q9 @. A, N

  593. - `6 o8 D4 y, ]3 `' d
  594. ; This directive determines which super global arrays are registered when PHP
    & T* h3 h! {: v/ b2 f. h
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super8 J- ^8 S( k# P9 u# J7 M5 U' i6 v
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    7 J+ l& H, v7 E# D# ^
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    $ ?. L% f7 l* U  ]" h1 V3 i' Q- F
  598. ; used as the others, ENV is not recommended on productions servers. You
    - ?/ f6 o# M. m* E9 k6 T2 O$ b3 s
  599. ; can still get access to the environment variables through getenv() should you) P+ v) k! {, w& Z4 n% E8 `( ~
  600. ; need to.
    * ^8 y' {: @3 g) N& s: D  L* H
  601. ; Default Value: "EGPCS"0 r& `, b+ `7 e. G& T5 }( c! Y
  602. ; Development Value: "GPCS"
    3 |4 v" k* t" K/ R7 y0 k! ]# z6 m% W
  603. ; Production Value: "GPCS";8 j2 e& |2 g. t
  604. ; http://php.net/variables-order+ I5 [7 X, t9 z
  605. variables_order = "GPCS"
    $ w% i4 H! V* t5 ]( m/ ?& Z  B

  606. - e/ z) ^: m3 r+ p7 Q5 M1 [
  607. ; This directive determines which super global data (G,P & C) should be
    # P' }8 T6 B, g. Z: E
  608. ; registered into the super global array REQUEST. If so, it also determines- a6 u$ e& C- g2 x0 Z/ \6 g
  609. ; the order in which that data is registered. The values for this directive
    ! t5 v! f  M- d" U2 K
  610. ; are specified in the same manner as the variables_order directive,
    ) n5 W3 J! u/ U# T  t
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : M8 a' A% ^$ P$ ]
  612. ; in the variables_order directive. It does not mean it will leave the super
      e/ g1 @1 C) d) e$ y% _9 `
  613. ; globals array REQUEST empty.
    ; p* ?: p9 o5 V
  614. ; Default Value: None
    6 X/ b8 g4 {1 K  O
  615. ; Development Value: "GP"  Z( p. H! P) U0 g+ ]/ a9 f1 P( j( N
  616. ; Production Value: "GP"
    # b& ~! c8 J- z! y, Y+ m# m
  617. ; http://php.net/request-order
    0 D; \# s7 J* k& M; t
  618. request_order = "GP"
    ( N5 u* o! M( D2 Z6 X

  619. 4 L/ L. v1 j- Z2 `- k' V
  620. ; This directive determines whether PHP registers $argv & $argc each time it4 k: ?# Z+ W6 q( l7 u9 w5 |! M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    + j0 R* s, ?: ^, |; b9 `/ B/ \" p
  622. ; is invoked. $argc contains an integer representing the number of arguments, b# x- W, v( D: x8 S9 t2 B% N
  623. ; that were passed when the script was invoked. These arrays are extremely# S% \+ W8 V% Z$ B& U& d6 D: [
  624. ; useful when running scripts from the command line. When this directive is0 N& r9 R% z. b. C1 X
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    # W. n3 k4 w% A) m, W: a
  626. ; a script is executed. For performance reasons, this feature should be disabled
    $ o& [4 i$ S& _) J9 {
  627. ; on production servers.1 G5 D/ P( p4 u. V% X  Y' k
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ z+ S" ]1 F7 K' t$ ]- [" p1 h
  629. ; Default Value: On
    . z) S) T, l( V6 p- K
  630. ; Development Value: Off
    ) G4 e$ m) a9 Z$ P3 ~; _
  631. ; Production Value: Off
    9 e8 L' P3 m7 e+ u5 n4 N" `" P
  632. ; http://php.net/register-argc-argv5 F9 }& l" [& c# i4 d# {) d5 V
  633. register_argc_argv = Off
    7 m6 b9 }- H7 _+ ]: t
  634. + q; b" I" Q  z
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're( N+ `/ _2 m# |/ k+ n/ B+ t& v. h8 v
  636. ; first used (Just In Time) instead of when the script starts. If these
    ) t+ G/ _  z% o  T$ ~
  637. ; variables are not used within a script, having this directive on will result
    , N$ A+ C- x- _
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    * J& a1 J! ?  H
  639. ; for this directive to have any affect.
    - i" f  f, T! W  ^6 j
  640. ; http://php.net/auto-globals-jit
    $ h  l% T+ _( H' g5 h
  641. auto_globals_jit = On5 z3 g. m5 ^7 w* c" R% e, F( J& T
  642. : S( ?5 W' \5 |" |6 n9 P
  643. ; Whether PHP will read the POST data.3 R; h2 T% a) i2 S; R
  644. ; This option is enabled by default.
    4 I  s4 l4 |6 J0 y0 j
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST! i# T. L; c4 u  ?# A# C( i0 ?
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    7 [+ q3 k& N/ {) ~
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    & _4 L9 g+ b1 g* q7 b
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.+ `1 }# Y1 ?3 v9 K% r
  649. ; http://php.net/enable-post-data-reading
    4 \# C# m" \+ j5 T  m7 d1 G
  650. ;enable_post_data_reading = Off
    % Y/ j7 R3 ?& `) Z5 p- u+ S

  651. , [  w+ B' V, `3 U2 t0 R# v# N
  652. ; Maximum size of POST data that PHP will accept.
      b( i$ D# d* q: m. f0 A. A, b* i3 H, q
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 B4 O2 _  m  d9 E$ ?' u6 ]" m
  654. ; is disabled through enable_post_data_reading.
    5 |+ o$ ^; a$ U6 o- k8 r
  655. ; http://php.net/post-max-size# p% P! k0 H9 N/ s" v5 B
  656. post_max_size = 50M, y$ {3 b# H4 ^
  657. ( h% G7 x- ]2 K2 F% W2 X* F
  658. ; Automatically add files before PHP document.
    % e# L: ^0 k9 q7 e+ v( W
  659. ; http://php.net/auto-prepend-file
    / d! p/ G! ~3 [  A# p
  660. auto_prepend_file =
    % z4 H) N7 n7 Q' i3 j/ l
  661. ! K2 x+ U0 s  h# H& S
  662. ; Automatically add files after PHP document.; }  ]6 i4 ^$ j  }& ~
  663. ; http://php.net/auto-append-file
    6 O: L6 t( e: ]
  664. auto_append_file =
    ; w9 [* m( w3 W! U* W7 p

  665. 0 Q9 }, `: f9 N4 k( e1 B
  666. ; By default, PHP will output a media type using the Content-Type header. To
    - X# T" }0 f6 A: G" W
  667. ; disable this, simply set it to be empty.% l3 S+ r1 b/ f% ?7 X7 T& z
  668. ;
    ) M9 U' c* K5 l6 t
  669. ; PHP's built-in default media type is set to text/html.; V, _4 X$ @# e# {* y. K* y8 ?* {% l
  670. ; http://php.net/default-mimetype' e  d' }) }( z. f& i- l$ k
  671. default_mimetype = "text/html"
    7 ^1 R. x9 I' E
  672. 9 j5 v' W: U5 K/ p% k8 `: m& f3 s
  673. ; PHP's default character set is set to UTF-8.  P+ P: i1 ~! h
  674. ; http://php.net/default-charset
    2 U3 w9 }# x1 b0 ?$ z
  675. default_charset = "UTF-8"8 N1 r# r9 O2 J, a
  676. ( E- Z# B  B5 w- h0 _
  677. ; PHP internal character encoding is set to empty., N* y% |: C( U4 [% q* U
  678. ; If empty, default_charset is used.
      |0 m* s5 C- W0 u' o9 v4 `) c
  679. ; http://php.net/internal-encoding
    % i, L; y) L1 N- s" j
  680. ;internal_encoding =! b' }% v! b  ~/ J

  681. # P/ L5 \( U/ h6 ~% U
  682. ; PHP input character encoding is set to empty." j. M* q+ @3 }- V0 y
  683. ; If empty, default_charset is used.! m7 G0 t, `4 n# Q
  684. ; http://php.net/input-encoding2 M8 {' m; J9 [3 d: _+ {5 y# E
  685. ;input_encoding =
    + O  q0 N$ z, v" l
  686. / L2 V$ V7 J6 w( p
  687. ; PHP output character encoding is set to empty.2 L" g* j9 X0 k6 ~4 C2 `
  688. ; If empty, default_charset is used.
    $ I$ y; b% n! B/ ]! q
  689. ; See also output_buffer.
      q8 F2 {5 F* G" Z. n! B4 X
  690. ; http://php.net/output-encoding
    8 W7 O& `8 A" h& F0 B+ E4 Q& T+ R
  691. ;output_encoding =
    0 ?% P2 j0 f$ L

  692. 3 Q& H7 ]( l/ `4 O% D  I
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) m  Y  y9 n& p  P7 J+ c
  694. ; Paths and Directories ;
    6 r# H0 Q6 H; a5 b
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;4 P/ x2 |2 E- u7 r3 O- G$ n# H

  696. 9 I; `- u$ `1 ]9 W+ @7 B0 P
  697. ; UNIX: "/path1:/path2"# U6 Z8 q3 ]* h  E. K
  698. ;include_path = ".:/php/includes"
    9 O, T( e* Y8 R2 N* j; Q8 M1 |( P
  699. ;
    ' u( I; l+ @4 Q' p: b" Q* j
  700. ; Windows: "\path1;\path2"
    0 U  H$ u$ f! o+ o% {$ @) ?5 [- o
  701. ;include_path = ".;c:\php\includes", b9 _9 [9 J% {# g2 ~6 z
  702. ;" O( \4 n& B1 o, k
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' H, {3 `# i" X$ @" p: w5 d9 F
  704. ; http://php.net/include-path, e# V1 H& C5 e0 J) b$ v% M$ r
  705.   s/ ^/ R6 {, \8 v4 I" i
  706. ; The root of the PHP pages, used only if nonempty.
    % I* {$ M0 b2 c( c6 q& a' S2 t
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root3 G3 q& |8 k% r# `! j( [/ q- C
  708. ; if you are running php as a CGI under any web server (other than IIS)
    9 e) Z* l* ?3 N# J2 ]: T. t
  709. ; see documentation for security issues.  The alternate is to use the: F$ T: u0 g. k9 J; H
  710. ; cgi.force_redirect configuration below6 N! m- g0 R& Q; ?2 z
  711. ; http://php.net/doc-root8 ^2 h$ y7 V$ A3 m" s& e3 P9 S" h
  712. doc_root =
    $ L; {& k, M( [3 c- k1 u; i# i- D6 U! M

  713.   s, m8 f: c' G4 k+ {( g
  714. ; The directory under which PHP opens the script using /~username used only
    5 I) E' u; z6 m$ V  v2 p
  715. ; if nonempty.. K! N6 j  J$ Z. G1 v& ]& Y6 _
  716. ; http://php.net/user-dir
    + h1 e: o( L  a
  717. user_dir =/ A* T, U5 C/ M  K
  718. % ^& k5 n+ J/ X7 r4 V; y* y2 O
  719. ; Directory in which the loadable extensions (modules) reside.
    , }' |0 U- f! H4 |
  720. ; http://php.net/extension-dir
    7 T: L, A6 n) c2 g: m% \+ M
  721. ; extension_dir = "./"" C  q! K9 F3 a/ g, j$ L  i
  722. ; On windows:# l0 s: L% ]' b' d% s3 i1 m+ Q; D
  723. ; extension_dir = "ext"
    3 \) a; {( z0 A  ~
  724. 1 N& {& m/ c% h) s. A! V% |6 E4 |
  725. ; Directory where the temporary files should be placed.
    * y6 z- X6 V- t& Z+ y9 W: b
  726. ; Defaults to the system default (see sys_get_temp_dir)
    8 h/ }9 d1 E6 u4 t+ O4 Y4 C
  727. ; sys_temp_dir = "/tmp"
    " L. `  G' ?/ p( O% g

  728. - v+ r* t8 X" f4 R2 N0 Y
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work3 x: j8 W2 m& w: P5 a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically9 Z' R& l! T. q' J7 |
  731. ; disabled on them.
    2 k2 I: b# g; C6 i* M
  732. ; http://php.net/enable-dl
    # A# g" B4 F3 m2 h3 Q- E4 B
  733. enable_dl = Off2 r: G/ _2 q8 c; ^, P
  734. ) o( l( f( O' p# A. f4 n
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under5 }9 H/ c6 N& F
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can5 Z  ^& Y- b9 `9 S* G1 u
  737. ; turn it off here AT YOUR OWN RISK' v2 S! Z! P& q; F* n
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + Q& G% a, X" @- _; `- G# Q: [
  739. ; http://php.net/cgi.force-redirect
    9 }/ }2 I6 w; i( C2 S
  740. ;cgi.force_redirect = 1
    1 K+ E% I( B" m* X

  741. ( l+ n# I- [4 c( L
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 M& t$ I; S0 g. M
  743. ; every request. PHP's default behavior is to disable this feature.8 ^8 ~9 N  t- g6 V% E; S. W
  744. ;cgi.nph = 15 O6 l  y+ m( o9 H, }* n
  745. 6 m1 |  {0 l; P
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& J: d& G! j7 N4 R0 i
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ U6 x  p: z  U
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY  ]$ i3 a$ W/ k: g
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) s" A  V2 A% q
  750. ; http://php.net/cgi.redirect-status-env
    8 ?& a# g' G! X' Q7 N
  751. ;cgi.redirect_status_env =; |8 K; O8 o! p- ~; z( v5 a  d

  752. . X/ ?3 Y2 i, C
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 q- w) @' N# q( ^; a
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok/ o, i" p  h6 g- x4 j( a
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' k; ~) t4 o/ F! k& l
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    . ?7 @: m% X) [) R2 A
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    9 d6 Z2 j  `+ i/ G- J% p$ L- I
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 i9 H' f; K& }' y1 [9 ^1 C
  759. ; http://php.net/cgi.fix-pathinfo' A- u& o8 C$ o* J! n# C* Z
  760. cgi.fix_pathinfo=1- ]7 k% R" W. q! z9 b

  761. ) l5 R5 J, k5 U: z. Y* n3 p
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside% `+ w' i( G& J9 N) w& _
  763. ; of the web tree and people will not be able to circumvent .htaccess security.: h0 C# D8 }2 Z8 s+ A3 J
  764. ; http://php.net/cgi.dicard-path
    ' i& ]7 `0 ^7 E, D& J
  765. ;cgi.discard_path=1
    # g+ j/ J0 y) \1 C: k* P  L
  766. 8 y3 r& c; y/ i2 I/ E+ s
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    , ^" O& Z3 p. |( D
  768. ; security tokens of the calling client.  This allows IIS to define the
    5 a  f/ X9 Q7 D/ k- L
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    . U5 ~4 D2 Z5 r5 U- T+ z
  770. ; does not currently support this feature (03/17/2002)5 Q2 l/ e& r0 j
  771. ; Set to 1 if running under IIS.  Default is zero.+ x+ q* ]# R( o1 \3 a9 s3 v
  772. ; http://php.net/fastcgi.impersonate
    9 p" P( D  ^; ?/ v
  773. ;fastcgi.impersonate = 1
    7 Q6 U6 n9 L5 Y- g
  774. 8 v# b( ~0 b8 h# l$ w' U
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable! J5 |7 P, J& ]
  776. ; this feature.
    3 T1 r% y  K- J
  777. ;fastcgi.logging = 0/ i3 g6 K8 n/ C5 ]& e
  778. ! h' B) r" J5 o/ g# J5 @+ O, P
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( |( ^* H! W. W& f3 M
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 ]& y* L- x1 [" X0 _
  781. ; is supported by Apache. When this option is set to 1, PHP will send- z8 L- u* Q7 M& b6 H
  782. ; RFC2616 compliant header.
    - f/ {- O# x4 e$ o
  783. ; Default is zero.$ f2 Y) z$ Y/ o) x1 I( O( w
  784. ; http://php.net/cgi.rfc2616-headers
    4 y& a# A, F1 R* q. Z7 V  \9 y  s
  785. ;cgi.rfc2616_headers = 0
    " b; Y2 m6 U; k* q' ]) b

  786. & }+ b  j0 i5 D  |  _0 o* [
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    , e+ w) j! B- _" s# k: q0 G
  788. ; (shebang) at the top of the running script. This line might be needed if the
    & u& E- |0 ?5 t# z8 B) k4 H! _
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI3 r% ~; x. O; N$ Y- Y8 I
  790. ; mode skips this line and ignores its content if this directive is turned on.
    5 s' P) L" s( y+ ^" f
  791. ; http://php.net/cgi.check-shebang-line
    9 w8 D' F' U8 q4 O) Z; e9 @2 g
  792. ;cgi.check_shebang_line=1
    $ X$ x( y! ?3 g) @! \6 u: N
  793. & f8 C5 ^; y) y5 Q; |0 m* A
  794. ;;;;;;;;;;;;;;;;
    . Q. Y% |' L) s
  795. ; File Uploads ;1 g4 o$ N1 ?' M1 c
  796. ;;;;;;;;;;;;;;;;. E5 o0 p; i* c# G" U2 T
  797. 1 Y  V3 H9 X1 z% [  o* w5 M3 O
  798. ; Whether to allow HTTP file uploads.
    2 E6 q. ~- _6 O! N' e! k
  799. ; http://php.net/file-uploads
    2 g$ Q) H- [% i& A! Z
  800. file_uploads = On
    ; {5 @7 k# b1 A' C5 Q; ~7 O% C
  801. 3 Q. u! B% J1 a5 V, f# Y# E: D
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    - d6 ^$ D# a7 a" S# U9 S
  803. ; specified).+ f' k8 N6 @+ U5 C: A0 I
  804. ; http://php.net/upload-tmp-dir
    ( B8 Y4 K/ B$ u  I0 V0 r
  805. ;upload_tmp_dir =6 a( l0 B1 {+ Z& T/ h$ D, _9 x# b
  806. 5 K2 W$ }7 T8 r, u& G: w* o2 |
  807. ; Maximum allowed size for uploaded files.3 v3 m% }0 d* I4 E* E: n( r
  808. ; http://php.net/upload-max-filesize6 H# w2 B4 G# w# I: y  ]0 h9 J' L
  809. upload_max_filesize = 50M
    # I( _- V; K5 ?" ]1 S

  810. 8 Z8 J( J& R' y6 M, `; m
  811. ; Maximum number of files that can be uploaded via a single request
    4 N% G2 J; }( o  H- J. D
  812. max_file_uploads = 20
    7 N1 y# ?9 q* V3 a

  813.   P) Q! e5 y+ z9 ]
  814. ;;;;;;;;;;;;;;;;;;
    % S; j3 q6 q; T0 A# V' Y
  815. ; Fopen wrappers ;
    / k- m( H- Z) L, @9 {; {# B
  816. ;;;;;;;;;;;;;;;;;;2 S9 }2 L% {- U. [3 X, k
  817. . N) x* Z0 j/ I0 ^1 |9 V/ Z% S
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.5 a: X" R: d* Q% S) }# }. H2 a( L
  819. ; http://php.net/allow-url-fopen
    , x' D% \- C( y4 ^
  820. allow_url_fopen = On
    4 V2 y' g4 K  L( _+ ~
  821. 6 \5 U4 Y9 E: S7 [4 e4 }
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ) D5 u7 {' u! U5 x. r
  823. ; http://php.net/allow-url-include6 i$ K  g/ t2 u" L% j) R
  824. allow_url_include = Off( j# y4 x( l, P5 e

  825. * R# B% m: ^  \( f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting4 ^' D  G5 O/ h7 X0 l
  827. ; for this is empty.
    $ @8 V3 N& |5 e; {: e, z, H
  828. ; http://php.net/from
    2 g& E5 s+ D: Q( z5 I* }
  829. ;from="john@doe.com"1 Q1 e4 a5 @5 d/ J9 M8 _7 z2 l
  830. % f0 a* ~' W' @7 l% t3 Q; b. [/ {
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    7 ]! p* r* e& k- n: b; z
  832. ; http://php.net/user-agent
    ( H# M  K0 W9 t' h& y0 |" P
  833. ;user_agent="PHP". |$ z$ p6 f$ v: Y' w- r/ Q

  834. ) c$ l4 G* E+ C' M( d3 O" X
  835. ; Default timeout for socket based streams (seconds)# v7 X; M1 q4 N& S! I3 D% s
  836. ; http://php.net/default-socket-timeout8 e9 J% Y3 o+ {( l( X8 \" G6 i
  837. default_socket_timeout = 601 p/ U* ^7 C  c. S1 e" W! D

  838. + Q. ~) |* i6 \  I1 i; G+ b4 L
  839. ; If your scripts have to deal with files from Macintosh systems,: M5 w+ W: @- C) C2 p- f3 m9 Z) N
  840. ; or you are running on a Mac and need to deal with files from
    , ]8 K+ V" L# c9 D" ?" \' [
  841. ; unix or win32 systems, setting this flag will cause PHP to  x) ~/ H! Y2 B: s# L( Z
  842. ; automatically detect the EOL character in those files so that
    $ U, J( ?5 b5 Y3 C  ?" B
  843. ; fgets() and file() will work regardless of the source of the file.# O4 j! d. y( Q* e- {
  844. ; http://php.net/auto-detect-line-endings
    1 i" ~- g: F# C- U, Q4 x4 Z1 ]6 H
  845. ;auto_detect_line_endings = Off( ?0 t; O% `7 b6 C

  846. ) R0 N$ v. Y  n; c/ b6 j
  847. ;;;;;;;;;;;;;;;;;;;;;;5 D* |* @, G0 ?0 {4 Z. C! f
  848. ; Dynamic Extensions ;* J3 a2 z2 @8 f- M3 O, k: y
  849. ;;;;;;;;;;;;;;;;;;;;;;
    * ~) f- i6 c' C( j3 I8 I4 T" X
  850. ! m8 ]5 l7 T1 V4 d: K4 w  c
  851. ; If you wish to have an extension loaded automatically, use the following, f( j' _6 ~4 |: G- o( o! x% S
  852. ; syntax:
    2 l3 W6 h5 D( q, n. C3 k4 V5 k
  853. ;0 \) K* m  K  w" [$ E4 }
  854. ;   extension=modulename.extension' m2 D/ A+ z7 j0 E
  855. ;
    ) S2 o* h4 U- |( e# h
  856. ; For example, on Windows:
    $ v2 N" z$ g% Y& R5 w! a' h
  857. ;
    % @2 X( ?9 j) ^8 U( J) a% @
  858. ;   extension=msql.dll+ m, v2 q1 s- }" |2 l. ]1 l, U* y
  859. ;
    0 q# C( W) I7 ^3 J% `& S
  860. ; ... or under UNIX:
    ; ^. w2 c( m6 i( \: W
  861. ;, J% u, x! s6 ]/ s& i2 o
  862. ;   extension=msql.so3 \3 @6 d5 z8 X( y4 f+ ^5 Q
  863. ;
    . b$ z$ F% B/ ~$ s6 `& k
  864. ; ... or with a path:
    1 H; s" s" `2 E4 K! i) E# V
  865. ;
    8 D( s$ P0 o. v# I8 h% U
  866. ;   extension=/path/to/extension/msql.so
    - C( u, [  m; f  ?5 I0 z
  867. ;
    5 X6 R( L- I7 Q9 D" z6 g
  868. ; If you only provide the name of the extension, PHP will look for it in its$ o2 a0 q- O# p* ~2 F
  869. ; default extension directory.
    ! ]5 d/ s& f/ g0 P# E- ]
  870. ;* q4 S7 o4 r* j" a% k" }& d$ j
  871. ; Windows Extensions
    " I. N3 Z0 g: n  Q7 t& o  e
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ) X8 Q% z4 n( @; c1 w3 b% D
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)8 @/ ~$ V3 `$ [! }# g
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).) `) {, A7 k0 d  Y& d
  875. ; Be sure to appropriately set the extension_dir directive.& b. X$ @0 L" h2 G! e  m) G
  876. ;
    6 C6 @/ P  K6 x2 r$ Y
  877. ;extension=php_bz2.dll7 z( g1 l' E8 M: @% }
  878. ;extension=php_curl.dll  o- k2 c# _7 s+ M, }
  879. ;extension=php_fileinfo.dll% \! f# ?" R+ ?  ^; y0 X: X$ _3 a
  880. ;extension=php_ftp.dll* i+ k! g  K. V$ o
  881. ;extension=php_gd2.dll5 o: n1 S% p# K4 T) |- w
  882. ;extension=php_gettext.dll" X$ S/ @! c  r# b" A" G. w- A0 n' Z
  883. ;extension=php_gmp.dll
    9 D3 s7 m2 p& v- ?! K
  884. ;extension=php_intl.dll" x8 z. q9 {( h# Y7 O7 {
  885. ;extension=php_imap.dll' w7 \( |2 B9 F/ F$ v6 ~
  886. ;extension=php_interbase.dll
    ; o4 T. r" l" ^/ Y: f- E3 I# j
  887. ;extension=php_ldap.dll1 D4 p2 X. Q2 v. l
  888. ;extension=php_mbstring.dll: p. C7 T$ N- F2 H, n  E
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it4 C( L% H) u# J8 y. N- w. A, Q3 z
  890. ;extension=php_mysqli.dll5 u+ ], [: |9 P3 w
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client) f/ I4 T% x; R+ [( n5 l7 l1 K
  892. ;extension=php_openssl.dll, d5 t+ d! ~. L8 n, `
  893. ;extension=php_pdo_firebird.dll: M6 u8 k9 q7 C% k6 z+ w
  894. ;extension=php_pdo_mysql.dll) g8 e% ~! P3 Y$ r) _& _
  895. ;extension=php_pdo_oci.dll
    % ]# }6 A! K' n: q- N0 ]
  896. ;extension=php_pdo_odbc.dll
    2 M+ J+ A2 s# z
  897. ;extension=php_pdo_pgsql.dll
    " `1 P7 v; A) X. G8 d' P8 ]3 j
  898. ;extension=php_pdo_sqlite.dll
    % ]. O  y% F* u; s
  899. ;extension=php_pgsql.dll( G0 Y/ a9 H9 V# t! I, Z! e
  900. ;extension=php_shmop.dll
    2 n. l, V; C& \8 o! j
  901. 1 P  Z4 S& \) C7 q6 d
  902. ; The MIBS data available in the PHP distribution must be installed.
    ) b. u6 T) U  w3 R* j# H6 E
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    . `! o& `3 W; j
  904. ;extension=php_snmp.dll
      q2 a! Z2 A7 \

  905. 9 ?, \- T5 d7 M( n
  906. ;extension=php_soap.dll
    % y; z' ~5 n) E6 \" k! I
  907. ;extension=php_sockets.dll
    4 Z% s; Z6 J1 B0 ?9 _
  908. ;extension=php_sqlite3.dll4 [( L& R  \- w) f
  909. ;extension=php_tidy.dll, G; t% ~/ q7 G8 z" w
  910. ;extension=php_xmlrpc.dll; F2 G/ _) [9 w( m
  911. ;extension=php_xsl.dll
      f5 s. Q! U' d% Z' r% O! I

  912. ) n0 H5 A+ v" A9 w9 A0 A! n
  913. ;;;;;;;;;;;;;;;;;;;
    ; T: l  b) L& h* c. |+ R, C1 R
  914. ; Module Settings ;
    ( ?9 P  C8 X8 N' i' t
  915. ;;;;;;;;;;;;;;;;;;;8 F+ G- Z) R+ H
  916. 7 t4 {1 P- c( \+ z9 T- Z  ^+ A4 Q
  917. [CLI Server]' y" ?  O6 l+ G+ m7 n2 c3 ^" D0 g
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output., s7 t9 B: l$ @( W5 ?3 a
  919. cli_server.color = On* e8 E# z( E6 Q1 x, k

  920. 1 d" F+ @% E+ n1 |4 ]+ @
  921. [Date]
    ! J# t0 b: ]) q( B
  922. ; Defines the default timezone used by the date functions
    6 Y3 O+ C- d  v: l- c- g
  923. ; http://php.net/date.timezone9 B1 g1 d) _( w7 |( A& R. f; x
  924. date.timezone = PRC
    2 o& G! d) s/ X" M
  925. ! y9 l, u7 p# b
  926. ; http://php.net/date.default-latitude
    3 p$ r4 d& W+ F' x$ t  C
  927. ;date.default_latitude = 31.7667
    ( L: k) ?! X5 y
  928. 4 n6 w+ g2 ~6 {
  929. ; http://php.net/date.default-longitude
    0 ]6 Y. B- s- `' A
  930. ;date.default_longitude = 35.2333# s! }' o! P2 X1 [

  931. % B# z- h. W1 x, }( M; z7 W( P
  932. ; http://php.net/date.sunrise-zenith  o( Y9 V  _( Y3 J% A
  933. ;date.sunrise_zenith = 90.5833338 S, a' O9 w, X. \2 @; m

  934. + p& t  Y- e# }0 L9 @( i/ h1 A
  935. ; http://php.net/date.sunset-zenith
    0 b% q' s; K/ @. \/ U2 v
  936. ;date.sunset_zenith = 90.5833333 X2 I6 M1 x- ~( n" f2 I, e/ `
  937. - n0 Y2 @( J4 R, f
  938. [filter]# z( l# ^! J5 e, D( B( ^
  939. ; http://php.net/filter.default- O+ L2 P2 l" I! i( f7 O
  940. ;filter.default = unsafe_raw# R# b: ~% G) B; S1 J

  941. # D/ |0 N: \' P8 _( M  |
  942. ; http://php.net/filter.default-flags
    & F/ h/ ~- w) ]) i3 |5 y$ a' \
  943. ;filter.default_flags =
    3 c6 ~5 \- ]6 V  l
  944. . N# [1 }7 V7 f1 w& w8 A% i9 ^1 Y
  945. [iconv]
    1 R7 w* g/ ]2 `' K* B9 T
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ c4 e: P9 I& R6 K3 k+ g
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.- K- n: G7 W& S* L# K
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    . s3 s5 a0 q9 J/ W" P# A" M" R
  949. ;iconv.input_encoding =9 s" T$ v( _4 z# c

  950. $ G; V1 C! @. ]+ }- E; M
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 U7 T+ |( a9 D/ K* F" v+ z# ~6 |8 g4 h
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # V) ~. I3 j& v" b
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 x8 d0 @) t8 h1 I
  954. ;iconv.internal_encoding =  t) J5 w' U, c! U" v+ W. l
  955. 5 u- T1 ]* j; j% n
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 ~$ a+ V* Q" N" ?
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.0 O0 `" R" M; x) d: b, }$ G
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # B, a  w- Y" L% N) Y! U/ M
  959. ; To use an output encoding conversion, iconv's output handler must be set/ B9 A- `6 b" ]8 A! e7 |4 c
  960. ; otherwise output encoding conversion cannot be performed.
    4 b, [  d  N; R
  961. ;iconv.output_encoding =- \! _8 n& S2 P! m% T
  962. " W. R% I+ x5 M/ z! i' U7 B
  963. [intl]
    + `6 ^* F1 E& v0 H
  964. ;intl.default_locale =7 @2 I  }6 f) `7 }* k" o  ?
  965. ; This directive allows you to produce PHP errors when some error# j; \" D- o2 ~/ l/ {
  966. ; happens within intl functions. The value is the level of the error produced.
      L4 f& e4 d3 I, w' h
  967. ; Default is 0, which does not produce any errors.
    ; k& }  b( v3 ?" d9 D
  968. ;intl.error_level = E_WARNING
    + D0 J1 T# b1 i9 u8 n" y# d
  969. ;intl.use_exceptions = 0
    ; w" r7 C" M: ~/ b; b4 U
  970. , \  e: ~3 P- @4 I% s1 D
  971. [sqlite3]
    / W0 Z; g  U4 |2 w& k' n3 g
  972. ;sqlite3.extension_dir =; L% ^+ L; t0 O( d' ?
  973. . j2 |2 o# a% J, d2 y0 y
  974. [Pcre]+ K, J( N& }5 w* |
  975. ;PCRE library backtracking limit.0 i0 e% {: G" Z
  976. ; http://php.net/pcre.backtrack-limit$ f4 [6 t2 H9 D: Y, v4 q9 `' w
  977. ;pcre.backtrack_limit=100000
    + r0 e2 |6 J. G* L

  978. 4 {7 e# J/ R- T' e
  979. ;PCRE library recursion limit.
    3 Z2 f8 z) S$ q$ V
  980. ;Please note that if you set this value to a high number you may consume all; V* p5 u* G7 f. t6 c' T0 E
  981. ;the available process stack and eventually crash PHP (due to reaching the
    # m! ^" o6 m: l; {. D& I
  982. ;stack size limit imposed by the Operating System)." {1 B. J+ |. }% G% a# H
  983. ; http://php.net/pcre.recursion-limit0 N6 p8 A2 Z: {, V
  984. ;pcre.recursion_limit=100000
    % h7 G5 q5 Q7 W- B  v$ y. s4 }

  985. 6 m, F2 q; q: h" X
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    7 @+ ~9 X$ G+ p" I5 f: u& V
  987. ;library to be compiled with JIT support.8 e/ K9 o1 i2 H
  988. ;pcre.jit=1
    ' K8 ?& f4 g6 N5 G- l$ \6 J6 S& V
  989. ! a: \0 P5 \' V
  990. [Pdo]
      Z$ q. J6 y6 l& @
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 \/ y; [* q0 Y; {: ?4 p- X  _! j1 V
  992. ; http://php.net/pdo-odbc.connection-pooling3 Q( ~) H% k( y7 p, O
  993. ;pdo_odbc.connection_pooling=strict
      K9 D+ E( W- O; _5 ^
  994. 5 c6 R4 G6 k$ [9 P. W6 @
  995. ;pdo_odbc.db2_instance_name
    : v1 F, u2 i8 z# K  k/ e, B
  996. & k' A* F2 A: P1 s1 T
  997. [Pdo_mysql]
    0 U4 E8 t8 \! Q: S( O6 |+ o' c5 n
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 [2 q+ e3 a$ A5 P8 W
  999. ; http://php.net/pdo_mysql.cache_size5 S2 L0 Q2 d6 a8 M
  1000. pdo_mysql.cache_size = 2000
    ( I% w0 i8 o, `

  1001. / ^0 h7 s' M6 A; X
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! @1 y% N9 s: T5 g1 ^
  1003. ; MySQL defaults.
    : L! _% e! k" A6 U9 _
  1004. ; http://php.net/pdo_mysql.default-socket
    0 C+ I4 n$ e# }0 |
  1005. pdo_mysql.default_socket=
    ! g. p* \% e1 R0 U  y
  1006. & Z/ M1 N4 O: i- h1 z& \
  1007. [Phar]
    9 Y; T& V: N2 f" z+ R8 P3 r. @
  1008. ; http://php.net/phar.readonly
    " i* m& S, _% _; l& q" ?- T: E
  1009. ;phar.readonly = On/ B2 U( O" J% c% @' r  K: T, r- _0 T
  1010. 5 v0 W% w( s# S% _+ p6 J1 X
  1011. ; http://php.net/phar.require-hash
    , _. ?. j- K' o7 T2 P6 i& M0 W. b& ]
  1012. ;phar.require_hash = On2 d+ O: R) t3 q. ^: ~

  1013. ! h9 S* X! x- e* V$ c9 N
  1014. ;phar.cache_list =! c  N0 w/ h) q4 B' e! v6 R* V) O
  1015. 6 V) ^* o  _$ L1 J( q' ~
  1016. [mail function]
    " E+ b! U1 U7 U( K
  1017. ; For Win32 only.: t+ `. b2 Q, u1 m: t
  1018. ; http://php.net/smtp; Q' A- D7 q6 S9 D3 l& V
  1019. SMTP = localhost
    % j8 C$ `+ v5 ~; S+ U  O
  1020. ; http://php.net/smtp-port6 y1 m' {: Y  N6 q5 }
  1021. smtp_port = 250 u: L. w1 i4 l" i

  1022. . Q5 ]4 [6 I( ]' X' x5 d
  1023. ; For Win32 only.
    + |( L$ b" \( R& }4 p) h4 c7 ~
  1024. ; http://php.net/sendmail-from
    , x5 B; k/ }! g( q& h% k  I7 u; T
  1025. ;sendmail_from = me@example.com3 J4 t1 M/ q2 W) r$ X
  1026. 6 A4 Z3 s5 M; V; q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").+ t$ b6 ~6 B* n! l! ?6 Q5 V
  1028. ; http://php.net/sendmail-path) ?, M, d. B* x; O# v" ?5 I- N1 C
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    2 {  ~6 n# F5 t+ w
  1030. 3 T& W, z- ~( a5 b) d
  1031. ; Force the addition of the specified parameters to be passed as extra parameters/ Y( E7 X7 r& p, ~
  1032. ; to the sendmail binary. These parameters will always replace the value of' d$ b- c! j! a4 Y' {  J; j
  1033. ; the 5th parameter to mail().) Q- U' [. K3 [
  1034. ;mail.force_extra_parameters =
    6 X* k5 J! A1 d1 f, [) }5 j) L
  1035. + P" W1 F' }$ l, ~4 G4 B7 e" g7 ^% P0 k
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ; q# ?8 a# P+ R8 d* W, K& d
  1037. mail.add_x_header = On; Z5 E1 n0 n4 S( C0 b3 r
  1038.   l  G8 H; w% Y3 ^0 @
  1039. ; The path to a log file that will log all mail() calls. Log entries include) s3 H/ d: _& O# e" U! z& G  i, n- I
  1040. ; the full path of the script, line number, To address and headers.; v3 z! n; Q" _! }* X' S6 j
  1041. ;mail.log =: ]7 d: ~6 l  q. k
  1042. ; Log mail to syslog (Event Log on Windows).+ W/ \: f4 ?  E3 O# J
  1043. ;mail.log = syslog
    ; F9 G& d: B! R

  1044. ; W9 A/ ?+ d5 p: d; f' w
  1045. [SQL]
    ' W2 z4 j# l2 ~9 N; h$ d
  1046. ; http://php.net/sql.safe-mode
      t- Z$ z3 L) l& b. d3 X
  1047. sql.safe_mode = Off; K4 d+ j, W- Q5 c, K' |* D
  1048. 1 `* |( w) g9 G7 D  L
  1049. [ODBC]9 I- h$ r6 O9 @3 T9 |. r
  1050. ; http://php.net/odbc.default-db# a1 ]5 f+ O+ F+ v5 b# E
  1051. ;odbc.default_db    =  Not yet implemented
    , E, [9 }/ ^' r; I

  1052. , _- c1 F/ c& q+ b$ ^  `5 I
  1053. ; http://php.net/odbc.default-user
      X+ n: j1 _1 t8 i$ ]+ x
  1054. ;odbc.default_user  =  Not yet implemented3 P. ]* ?+ b* ^7 R1 }
  1055. 8 y! a9 z) e( B* e
  1056. ; http://php.net/odbc.default-pw0 y( g5 d, Y! a6 f' r( J3 V& q4 s" a/ u
  1057. ;odbc.default_pw    =  Not yet implemented( K' I6 N4 D- K. w; |0 o

  1058. : g0 c. }$ O: T6 I# j% d. r1 H- b7 V
  1059. ; Controls the ODBC cursor model.
    * F5 E+ m' Z! s5 R- W- G" \
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ; V, B) U/ e: G( Z3 d) F# N) \
  1061. ;odbc.default_cursortype8 b4 v& k: z- x# `1 l+ z
  1062. ) L3 E" L: V, W' x$ [/ G+ L) T7 z
  1063. ; Allow or prevent persistent links.- ~! v- n( X6 w! z
  1064. ; http://php.net/odbc.allow-persistent
    ! ~9 z4 }1 z  n) D; f
  1065. odbc.allow_persistent = On
    : s( H3 Z# p+ ], g5 ~

  1066. ! j4 t1 x8 R( }7 p% E$ ~5 z- x
  1067. ; Check that a connection is still valid before reuse.
    . G# j' T8 f8 m2 y7 q- i8 _" R& B
  1068. ; http://php.net/odbc.check-persistent
    7 J% F% a3 H& N5 a
  1069. odbc.check_persistent = On
    " K- B) T8 N4 |

  1070. 7 ]3 q2 i8 x& P, k
  1071. ; Maximum number of persistent links.  -1 means no limit.- q! u5 Y% D6 E2 `* j* `/ {8 I- W2 b
  1072. ; http://php.net/odbc.max-persistent: S' z- F" M1 T9 l. L; [4 I
  1073. odbc.max_persistent = -13 H) I$ e& k8 w
  1074. 2 @- F% M0 n( \8 X' @2 I( S9 a; U, P
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 B2 k4 _6 d. L. Y0 y
  1076. ; http://php.net/odbc.max-links
    0 V  Y+ b( s4 l4 q7 _0 T( }
  1077. odbc.max_links = -18 _0 C! q* T5 H" c. X* l
  1078. ) N8 d8 g+ _4 L/ c9 S
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" W4 `1 i4 ]; C  l3 z% G6 d: M0 t
  1080. ; passthru.
    : P5 }% f5 j  L; R1 }
  1081. ; http://php.net/odbc.defaultlrl
    1 J+ J) {; W% ], D9 k7 l, y: h+ q
  1082. odbc.defaultlrl = 4096
    8 a; |+ [( Z& D+ R" ]/ B
  1083. 0 U' _2 N* l$ g: C0 p3 Z$ ?* t/ |7 y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    , ?& J, T; v' L* L7 @( |1 ~) l
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation$ a' P% l! O' Q  T
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode! |1 _6 P- b: i/ j/ i- v+ V& U
  1087. ; http://php.net/odbc.defaultbinmode
    4 o; i( |0 x9 q  `: {& [
  1088. odbc.defaultbinmode = 1! e! e/ e( O2 r! r( Y

  1089. 1 w$ y% Y+ _9 R
  1090. ;birdstep.max_links = -1# `5 u' d, I: }
  1091. + _& d1 R: ?) X. @5 {9 n# ?) R
  1092. [Interbase]- _: b2 b1 `2 N1 O$ W( O
  1093. ; Allow or prevent persistent links.
    ; c2 R5 l2 N- s% H
  1094. ibase.allow_persistent = 1- N" B6 J# t) m  V- a

  1095. # e; f8 Q) |* V4 r. b5 u
  1096. ; Maximum number of persistent links.  -1 means no limit.2 C1 z- i- g. D; m
  1097. ibase.max_persistent = -1& C$ G6 C  }6 P& c

  1098. 6 ^$ B' p% r, h. F% I( G
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 Z1 v/ r7 \; `1 v
  1100. ibase.max_links = -1
    " p5 A% r& i' b8 l
  1101. # O1 g6 S; C3 G$ k9 h% L  r
  1102. ; Default database name for ibase_connect().
    4 B# N& [6 P! m2 N
  1103. ;ibase.default_db =
    & M' f; i! b& u- T  f- M

  1104. % D6 e3 w6 i3 ~4 Q
  1105. ; Default username for ibase_connect().
    5 r6 S3 u  G; Q3 D( q
  1106. ;ibase.default_user =6 k6 v/ T3 I! c+ e
  1107. " M# H& A* f2 n$ l" `  ~
  1108. ; Default password for ibase_connect().  W( B* G+ z) {4 a) l5 V7 v$ P! Q
  1109. ;ibase.default_password =  a, H- v0 ^2 L; X
  1110. , v5 b2 I; Y1 z- r
  1111. ; Default charset for ibase_connect().
    6 Z& k- o3 W8 [3 a0 w# V
  1112. ;ibase.default_charset =  e# B8 ?2 y, _# ?+ Z& F( u! e
  1113. ( F1 ^1 B& Z6 Q7 V5 l3 ^! H% F
  1114. ; Default timestamp format./ F, u: M- x) t# t  e* W' Y$ U
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , S) S9 l: A* Y) G, F7 {

  1116. 0 u: Y, W, L6 i) J. [& J
  1117. ; Default date format.+ E. A3 k% D! ]5 n
  1118. ibase.dateformat = "%Y-%m-%d"
    ) n  i3 j2 ^5 Y: q3 t6 D5 k

  1119. 9 c  J( c* U8 d7 f
  1120. ; Default time format.
    / C" `4 L& s( j* }. e( i* v
  1121. ibase.timeformat = "%H:%M:%S"
    0 V" e% t6 ^6 n  X  f% m3 v$ i
  1122. . p7 z$ f( X) B! J; ?0 S& G
  1123. [MySQLi]+ [) ~: P! f+ P! D7 M

  1124. 6 o* t: |/ ~( a/ t. n; U/ @
  1125. ; Maximum number of persistent links.  -1 means no limit." u' D; D& \0 M
  1126. ; http://php.net/mysqli.max-persistent
    . c( ]' }  `6 M8 R
  1127. mysqli.max_persistent = -1
    $ q! e( Y% W  F/ o
  1128. ( S$ m6 G+ k; T! H& E
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( G/ i/ k. k" Q2 D
  1130. ; http://php.net/mysqli.allow_local_infile( A/ j6 Q9 I9 w0 S; v  R
  1131. ;mysqli.allow_local_infile = On
    7 R4 \3 _8 G5 n* @3 y, B/ z/ }- @* D
  1132. ; X& u( I5 g' o% S
  1133. ; Allow or prevent persistent links.
    2 v- z+ L5 K1 H
  1134. ; http://php.net/mysqli.allow-persistent
    " ?- {; S( [) ]& Z
  1135. mysqli.allow_persistent = On. x0 w9 D/ S7 x7 V7 W' }" y: i

  1136. 9 g. b. X! ~9 y) D
  1137. ; Maximum number of links.  -1 means no limit.5 U* D8 r  O8 T! @
  1138. ; http://php.net/mysqli.max-links
    6 Y2 k0 C. p" E+ y- l
  1139. mysqli.max_links = -1
    ; _$ n  ~; X- [/ Q

  1140. 0 s( D1 r" C- i8 u( C
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( l1 O- C; x5 n: ~$ g2 N
  1142. ; http://php.net/mysqli.cache_size
    5 W0 U% K2 d+ p# k) s) S- m* s2 N3 T. K* V; r
  1143. mysqli.cache_size = 2000
    2 z+ O" h! `- Y4 [/ }
  1144. $ |, N. F3 K3 Z4 t
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    / B4 l) e& n, R
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ h- O$ N  ?# f1 k
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! Y" g3 b8 k0 k4 X8 B; M( B
  1148. ; at MYSQL_PORT.
    " u* }3 W6 q( R& `( W' |9 s
  1149. ; http://php.net/mysqli.default-port% B" [1 s( V8 F' G# ^, v9 \
  1150. mysqli.default_port = 3306
      ?" P4 t" i% L, b; T6 d) K$ G
  1151. 9 K9 `2 Z* n6 g- w; I0 z" L
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in# c% y3 @$ R, z+ Q
  1153. ; MySQL defaults.9 i. _$ l- Q" r; j4 W+ }( w6 M
  1154. ; http://php.net/mysqli.default-socket
    , o3 F; C8 w. V* t% w9 o3 I( s
  1155. mysqli.default_socket =
    1 Z5 ^0 y8 F& C# k
  1156. # m& o$ C, \+ j4 x1 |9 d& M6 Q5 |: B* B
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    6 @. r3 [, a- Z" r$ R
  1158. ; http://php.net/mysqli.default-host
    ( H: R  Q% B: {; z  ~
  1159. mysqli.default_host =
    & t# I" w: V! P9 {8 o; D$ k
  1160. 8 H6 f6 o! f6 L6 _$ e0 x
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) b  j* c% x6 `" Z) Z/ @1 |( }0 t
  1162. ; http://php.net/mysqli.default-user
    $ I7 r! z4 J" w6 K1 i5 E1 @
  1163. mysqli.default_user =
    & a) }) }  l/ v  N. G6 f

  1164. 9 W- b& `% N: W( T9 O; u1 [( r5 j
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    2 @9 W: R5 P3 W
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.* P( e3 n3 o. ?; \( V# x# p) v
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 p* g9 g% X' A
  1168. ; and reveal this password!  And of course, any users with read access to this. Y  `4 B- {% K) D5 g8 h
  1169. ; file will be able to reveal the password as well.0 G- p  `! |4 ^
  1170. ; http://php.net/mysqli.default-pw- k) f' b5 d: T$ O1 s8 Y5 W7 b
  1171. mysqli.default_pw =
    . y6 h/ z& \3 e. r, Z

  1172. / Q$ K% D, l" @
  1173. ; Allow or prevent reconnect0 H( X1 r- u% a1 _. O
  1174. mysqli.reconnect = Off
    . u& x. \9 k4 E

  1175. ) s: g( }+ }4 C, K) z) U
  1176. [mysqlnd]1 w4 B7 i: ^* P/ h1 o
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be9 y  u' U/ m& R8 g7 J+ ]7 V
  1178. ; used to tune and monitor MySQL operations.
    9 U( F1 ]1 ^  u0 Z1 m7 k3 T
  1179. ; http://php.net/mysqlnd.collect_statistics& P! f/ i' z, i) j
  1180. mysqlnd.collect_statistics = On
    9 `. G1 d5 U9 B
  1181. , F* n/ ~' n( q0 r4 E; w' S
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be$ ^! d) X  Y2 a9 N4 f
  1183. ; used to tune and monitor MySQL operations.( k0 p' ^! y, W: X! |$ G3 P6 V+ D
  1184. ; http://php.net/mysqlnd.collect_memory_statistics3 [+ V6 b  M) e/ N' D( |/ D
  1185. mysqlnd.collect_memory_statistics = Off
    3 V" o% l2 m( Q# V3 q/ c1 S; @

  1186. ; B/ ?7 i* g' t5 Z9 e
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    $ j3 X- i$ c* V- U5 ~" Y8 Z
  1188. ; file.( Q; d; g* ]3 Y, h' O, J* N  X
  1189. ; http://php.net/mysqlnd.debug- t9 H7 }4 n% k# ^& T- P/ c
  1190. ;mysqlnd.debug =7 ^% r( Y6 z- s% W" L4 Y

  1191. ' c8 J. n9 |) ~& H# f; w
  1192. ; Defines which queries will be logged.
    - c  X/ J. |; @9 ~. y
  1193. ; http://php.net/mysqlnd.log_mask( G5 \2 X; g9 n3 Y0 H9 m; k
  1194. ;mysqlnd.log_mask = 0! m$ o2 o9 K6 b  T
  1195. , [% p7 T5 K5 ~# }  L6 k; r
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets." a1 s! X+ d. d7 t- \
  1197. ; http://php.net/mysqlnd.mempool_default_size8 y) Y! O* {  C: K, i+ B; j
  1198. ;mysqlnd.mempool_default_size = 16000
    ( W# h( q0 k* u# o2 O- M& x) I
  1199. ' Y- e6 ~$ a& t: N) V! a2 f( ~
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 A; I( C/ c  ~2 |% B
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size; v$ X; B: Z  K6 v8 z0 v$ B
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    1 i- }3 a4 A' l: x3 t, |! I

  1203. 2 {, P' \( `9 h. k- n9 ~: c
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 ], i" d+ r4 }
  1205. ; bytes.
    ; U# _) ]* f8 m! ^. M
  1206. ; http://php.net/mysqlnd.net_read_buffer_size% R4 G4 j$ ]1 {$ h0 [" V( g3 ]
  1207. ;mysqlnd.net_read_buffer_size = 32768& g3 x. u, T$ U3 @6 T
  1208. - y: _6 J" \' ^' o' ^
  1209. ; Timeout for network requests in seconds.
    7 E$ D3 f+ t) z
  1210. ; http://php.net/mysqlnd.net_read_timeout
    5 F: S7 j! d9 g
  1211. ;mysqlnd.net_read_timeout = 31536000
    ) S& J  K2 L$ R% F% Z2 `

  1212. & R' V$ D2 L5 e: L, G
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA! _( N$ H8 P7 q0 a& _  v  a
  1214. ; key.  r0 ^  t# N4 W% C& e9 b
  1215. ; http://php.net/mysqlnd.sha256_server_public_key* A, c' \9 `/ W$ e
  1216. ;mysqlnd.sha256_server_public_key =! [% q8 A5 B9 I0 {5 g/ |) i% v

  1217. 2 K* a) |4 M" V0 |2 M- g+ e
  1218. [OCI8]  E3 F9 G& M' u& C6 R* o
  1219. ! j& M. ?4 F4 M  J/ Z
  1220. ; Connection: Enables privileged connections using external1 k! w/ O0 f4 \1 @
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    / ?, t; E1 t, T( z8 o
  1222. ; http://php.net/oci8.privileged-connect
    6 s6 s; k; q1 ~: b
  1223. ;oci8.privileged_connect = Off
    / e; _- q9 K9 D  J7 a! {! o, X( N
  1224. $ O: Z  `1 N) d$ n: L
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    $ o$ a' Y! }  G# a! R, u( P2 W1 |% J' i
  1226. ; process. Using -1 means no limit.8 Z% N) f; F9 m  Q
  1227. ; http://php.net/oci8.max-persistent
    1 o) `% l( K7 \6 H, ^! N
  1228. ;oci8.max_persistent = -1
    , W4 F* t2 c2 Q. L( {8 u6 U9 I

  1229. 9 \" ~" F7 N' s$ U1 R3 ]7 }
  1230. ; Connection: The maximum number of seconds a process is allowed to
    3 M4 [7 ~, z) ]: d, S+ e
  1231. ; maintain an idle persistent connection. Using -1 means idle
    1 q" C* V' p2 K
  1232. ; persistent connections will be maintained forever.0 u( |/ U4 K/ b0 Z- V
  1233. ; http://php.net/oci8.persistent-timeout
      ~7 t! K6 V& t. ^
  1234. ;oci8.persistent_timeout = -1
    # o, ~  N# m  m+ i7 B; o1 V

  1235. " A! Q5 H5 q, F% Q$ d3 V, g
  1236. ; Connection: The number of seconds that must pass before issuing a& E$ o3 U6 F! O: P& H" n4 f1 p" a/ }) C
  1237. ; ping during oci_pconnect() to check the connection validity. When
    3 N4 K8 h8 L  b, ]
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables0 n/ l3 `; e% R, t! z! _; w4 b
  1239. ; pings completely.
    ) H4 y! S8 _8 s5 u* O# Q3 G
  1240. ; http://php.net/oci8.ping-interval: A$ {8 b/ g9 P: i
  1241. ;oci8.ping_interval = 60; ?/ i* }, q2 s9 b/ |+ F4 R( G& J
  1242. + Q* u: u& \. g; e) k/ g
  1243. ; Connection: Set this to a user chosen connection class to be used+ C% J$ j2 X4 z. p1 v3 k' k
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    , `9 l& e" @- d/ Y$ \: y- C; H% o
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ n7 t( C  ]1 F/ Q; L8 n3 C
  1246. ; the same string for all web servers running the same application,) h5 b( v  i$ M/ |
  1247. ; the database pool must be configured, and the connection string must7 c% Z$ q- B# w/ u: x8 A2 j
  1248. ; specify to use a pooled server./ F; a1 L' b- o: D2 }& M
  1249. ;oci8.connection_class =
    " p" B# @& U- A/ z" K) O
  1250. * k- u( N9 k+ |7 z6 F/ A
  1251. ; High Availability: Using On lets PHP receive Fast Application
    6 p2 e! u( ^% H
  1252. ; Notification (FAN) events generated when a database node fails. The9 R' G6 p3 F( R* A. N  A' `
  1253. ; database must also be configured to post FAN events.9 E0 A9 A9 _2 y* @
  1254. ;oci8.events = Off# D' p. e1 F6 y5 H9 O

  1255. ! K! f$ F/ B+ Q4 t9 q8 F0 Y
  1256. ; Tuning: This option enables statement caching, and specifies how" g5 \: n. u  Q* N- r, V/ q% C2 m
  1257. ; many statements to cache. Using 0 disables statement caching.# o; i  r, W; M, u- C
  1258. ; http://php.net/oci8.statement-cache-size* C" Q& o% Z/ O) i
  1259. ;oci8.statement_cache_size = 205 u  o' B- c1 S3 Q

  1260. / ]7 H6 W3 v* _% H1 m
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    2 z, O2 T" ^5 `0 m
  1262. ; rows that will be fetched automatically after statement execution.$ p8 e2 ^3 [# c- u& Q: F
  1263. ; http://php.net/oci8.default-prefetch
    8 v$ n1 w3 J: t" n& j) J; x4 k; M
  1264. ;oci8.default_prefetch = 1001 ?- w( I) H3 Z. E  |, [( h' ]

  1265. : p' ~7 V! U! Y- H8 Q
  1266. ; Compatibility. Using On means oci_close() will not close
    1 N3 A5 w1 F: f/ a- R: m' C3 r! y
  1267. ; oci_connect() and oci_new_connect() connections.0 [9 c( @' I1 s5 w6 `/ Y1 t
  1268. ; http://php.net/oci8.old-oci-close-semantics
    2 Q) `6 Q/ d1 z0 k, P( m, @6 i
  1269. ;oci8.old_oci_close_semantics = Off. @' X1 y; f4 q. ~
  1270. * ^% N$ X1 l  r0 }+ D
  1271. [PostgreSQL]0 o) C1 G0 K& p$ V1 }9 u* W
  1272. ; Allow or prevent persistent links.9 r- S2 ~2 N1 E+ k. p5 M
  1273. ; http://php.net/pgsql.allow-persistent; O( R9 b" H8 ?  V, \; Z
  1274. pgsql.allow_persistent = On
    # E( r: e& a$ N0 I: ^% W

  1275. 9 d5 U6 X$ W" d% I0 Z/ N
  1276. ; Detect broken persistent links always with pg_pconnect().
    , u& K  h& v4 c( V* t! h, |" h
  1277. ; Auto reset feature requires a little overheads.
    2 I' Q3 I3 N% g5 f8 o) w
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ' f0 x* }& q6 H. O: U
  1279. pgsql.auto_reset_persistent = Off* X( e/ P! f$ E  L

  1280. 1 T5 a/ |. q) ^. ~1 d
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ' }8 p* ^# }7 ^. R
  1282. ; http://php.net/pgsql.max-persistent8 B8 s4 v$ C5 ^1 b
  1283. pgsql.max_persistent = -18 b0 V5 U$ s# e

  1284. 4 G. x* O& T- E# h5 B9 V
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- T4 n1 k& I4 l6 ~* B- _
  1286. ; http://php.net/pgsql.max-links
    ) B  X/ J& `# p- D; G8 _/ ~! U$ C
  1287. pgsql.max_links = -1
    $ ^, O# N7 `2 R: l( z8 t
  1288. 7 ?' I2 O2 ^4 @
  1289. ; Ignore PostgreSQL backends Notice message or not.3 C; t2 q+ J' ?
  1290. ; Notice message logging require a little overheads.' f% F5 O& W, V* }0 Y/ \  W
  1291. ; http://php.net/pgsql.ignore-notice$ c; s" S% [4 V& P. [
  1292. pgsql.ignore_notice = 0
    % R6 {8 p- H7 b) [9 c2 D, D8 L5 ~

  1293. 4 ~6 J8 u. H8 N
  1294. ; Log PostgreSQL backends Notice message or not.) N# U3 i/ m5 |: m+ i" o
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.( d% J* D0 q; m& p4 m" [
  1296. ; http://php.net/pgsql.log-notice
    7 w- z; G& ~8 C/ u- @
  1297. pgsql.log_notice = 0
    / g; f- q# S" h5 r8 d
  1298. 6 A! K+ G+ f) o: _0 }
  1299. [bcmath]
    2 @5 O/ B. b3 @" K% l
  1300. ; Number of decimal digits for all bcmath functions.  q. \+ x: u6 b; s9 J4 n
  1301. ; http://php.net/bcmath.scale) [4 J/ s; {5 G3 L- I) K7 K, |
  1302. bcmath.scale = 0- \) i, l" A% p

  1303. # [5 n0 ^: j4 h3 e
  1304. [browscap]
    / q4 L# y! V& n6 H
  1305. ; http://php.net/browscap* V, F7 k0 S2 n/ i% Y# ^$ ~
  1306. ;browscap = extra/browscap.ini
    4 U; s9 R+ T4 U6 b
  1307. ! T2 t6 @9 v# C- |
  1308. [Session]7 X$ H1 R0 G$ [5 p
  1309. ; Handler used to store/retrieve data.
    + _, e4 E2 Z# O- P
  1310. ; http://php.net/session.save-handler
    1 X9 \! V4 S7 M  \1 _
  1311. session.save_handler = files0 g) C9 z$ a4 D0 a4 v1 ]
  1312.   i; E; _- h5 u& S0 w- R5 v, ~3 l
  1313. ; Argument passed to save_handler.  In the case of files, this is the path, o7 j. [: k$ ?* [: c
  1314. ; where data files are stored. Note: Windows users have to change this6 I4 k) w( w2 m3 p3 G2 V
  1315. ; variable in order to use PHP's session functions.
    . J" J( H, j0 t. L
  1316. ;
    ! }3 C" b3 q! j+ O/ N* v
  1317. ; The path can be defined as:
    0 R, u" D5 k# @. x
  1318. ;! L8 a2 V+ @, v/ J- L& l) }* r
  1319. ;     session.save_path = "N;/path"% k* N( P1 A5 H0 v4 z% t
  1320. ;
    - ~' }' _8 v4 u0 q* t
  1321. ; where N is an integer.  Instead of storing all the session files in, U; x0 z, S; V* O
  1322. ; /path, what this will do is use subdirectories N-levels deep, and: p0 R) c, B7 ~$ W1 h
  1323. ; store the session data in those directories.  This is useful if
    ; r/ R$ X% I: W) l7 q$ }  L4 A
  1324. ; your OS has problems with many files in one directory, and is& r% `7 y% `4 j& c; V
  1325. ; a more efficient layout for servers that handle many sessions.( T1 {: n3 ^; c5 H) D) c  k
  1326. ;
    ) C4 \4 k/ w* Z3 m' c# b& G
  1327. ; NOTE 1: PHP will not create this directory structure automatically.7 u9 [1 N1 n! }; B% K
  1328. ;         You can use the script in the ext/session dir for that purpose.
    . N7 T: k/ @6 f, |
  1329. ; NOTE 2: See the section on garbage collection below if you choose to5 U  P0 r! {6 d) h; S: F
  1330. ;         use subdirectories for session storage
    , @( f* B5 W- i0 M6 `
  1331. ;
    ( }: z; I7 J6 {4 D
  1332. ; The file storage module creates files using mode 600 by default.
    - ?: v( ^8 _0 @1 v* e+ z
  1333. ; You can change that by using
    9 o$ [6 k3 A1 {& ]2 a* @  O* m
  1334. ;9 P, o  T! V+ h3 o
  1335. ;     session.save_path = "N;MODE;/path"  q: ~& {3 e3 t9 e7 w8 Z: N
  1336. ;
    1 O" o( a! p) _
  1337. ; where MODE is the octal representation of the mode. Note that this
    ) S" [" _! S8 y5 P$ q. e
  1338. ; does not overwrite the process's umask.
    ' P8 z1 ?' f# T$ z0 l$ j
  1339. ; http://php.net/session.save-path4 A% ~% E' L9 G7 z$ [. W, B& a
  1340. ;session.save_path = "/tmp"8 c3 P/ G* g# I3 Y

  1341. $ O  }& t, K8 h% _. C+ @5 J4 p( y7 ~
  1342. ; Whether to use strict session mode." w+ W$ X. e! A4 X2 N0 w/ t+ @/ x$ K
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    4 ?5 R( z0 h! n# s6 f) O2 `
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects0 E" a6 D9 e' i) H6 B) O4 u
  1345. ; applications from session fixation via session adoption vulnerability. It is
    6 ?- q3 g* N" s3 P# |
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.$ [- `* q- m% G0 f4 J/ ?
  1347. ; https://wiki.php.net/rfc/strict_sessions
    . G; _4 l1 S9 V0 l* I
  1348. session.use_strict_mode = 0
    4 ?! z" n! l5 f* F& O# H

  1349. + X! ^0 G: K( U9 {6 `0 f6 N
  1350. ; Whether to use cookies.
    ; U% n5 ~$ l6 \( A
  1351. ; http://php.net/session.use-cookies
    0 ]+ h4 c! v$ }3 H5 k
  1352. session.use_cookies = 1) y$ `6 |. b( |
  1353. + ^, a7 r# N$ w) H! j% i  V5 f; S
  1354. ; http://php.net/session.cookie-secure
    ) v& j0 Z9 Q  I3 x% d
  1355. ;session.cookie_secure =5 \/ }0 L; N$ j5 y  H
  1356. , _7 P" k% U3 U! I
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining, V# z3 r- x2 P0 o. Y' W4 F& _
  1358. ; the session id. We encourage this operation as it's very helpful in combating( l. U$ |2 t3 y+ {
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ; i9 o$ @! z# \! h* e
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' [" H( ^, y9 ~# ?" l, m' s
  1361. ; http://php.net/session.use-only-cookies
    4 f" g* X' g# h6 b" n* G0 Z) ]
  1362. session.use_only_cookies = 1/ z# r, x, |! }$ X( t9 W' ~
  1363. 1 t% C. {+ c9 W, A3 ]7 s
  1364. ; Name of the session (used as cookie name).- @7 _1 Y, @% N$ X  s% Q2 _5 z
  1365. ; http://php.net/session.name
    . i3 K: O) K, G! R3 v
  1366. session.name = PHPSESSID: B7 @; b3 _# {7 U
  1367. 9 [. L9 d# ^, Y' y1 p7 I. B( F
  1368. ; Initialize session on request startup.
    ' v0 j& B' @* o& Z, X; X
  1369. ; http://php.net/session.auto-start& p7 z5 [4 M+ o7 O
  1370. session.auto_start = 0
    & {! e$ u# y! v

  1371. 5 i8 @1 }9 t- C; ?2 `" x7 }4 v
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.+ Y) {* U. Y) M' n' [9 f
  1373. ; http://php.net/session.cookie-lifetime
    0 x, R" T* Z/ V5 z$ a7 J3 v' n
  1374. session.cookie_lifetime = 0
    5 S3 k( v' N% g6 v" j
  1375. 7 L) L2 D$ b/ U
  1376. ; The path for which the cookie is valid.
    2 W: @! Z" M. G3 R2 x: d
  1377. ; http://php.net/session.cookie-path
    * i0 n  k0 ?3 C
  1378. session.cookie_path = /4 ?3 R( B  s* A( R' d
  1379. , y& l  F! a/ K
  1380. ; The domain for which the cookie is valid.
    ' H* V0 I6 A# ~! N, s
  1381. ; http://php.net/session.cookie-domain- h+ I6 q8 L- Y" \# H8 F; L" U5 x
  1382. session.cookie_domain =  ^6 _4 d1 |9 A: w- B( b, i8 r; K

  1383. , R  O* a6 i' ]% ~
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' c, f$ b5 L. ]2 a
  1385. ; http://php.net/session.cookie-httponly/ b$ T* {0 u" I3 G: B6 t7 [
  1386. session.cookie_httponly =) M; z9 t8 S% s
  1387. ) R2 g( b! e! S/ g/ ?  V6 t
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 w% A0 J2 z3 j3 @: G% m2 |
  1389. ; http://php.net/session.serialize-handler0 O) e6 z  N& j% y& P
  1390. session.serialize_handler = php. }: a, z9 q" o2 c% w1 B+ G

  1391. , p5 s# D. ?) ^, D
  1392. ; Defines the probability that the 'garbage collection' process is started
    % i9 U% g/ _( ^0 P: ~
  1393. ; on every session initialization. The probability is calculated by using
    # {! a; ]8 ]+ r$ g
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' \/ V' }* @# Z$ {, Y6 s
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    % ?  k5 c! W9 W9 U" v$ P+ I
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' T! j0 j5 s5 z3 u5 C$ v
  1397. ; the gc will run on any give request.
    9 ^: |3 J" f5 b3 J
  1398. ; Default Value: 1
    / b6 ]" p- s' m% I! i
  1399. ; Development Value: 1
    * N! c" {- ?& q  V
  1400. ; Production Value: 1/ K' E$ M& l0 y2 d, i( V9 H
  1401. ; http://php.net/session.gc-probability
    8 ~2 N  x/ o7 E/ R( I
  1402. session.gc_probability = 19 |8 A2 {/ T7 b$ G/ {) u/ R
  1403. + }% P3 t# i8 V2 @3 B
  1404. ; Defines the probability that the 'garbage collection' process is started on every) _, z! P  J( w( H+ n/ D1 w
  1405. ; session initialization. The probability is calculated by using the following equation:5 j7 Q" e, Q, m$ m
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and" z, ~; I7 r* |5 h+ L
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1( X# w. g* Q, a; ?6 w
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    . ~  |% b/ N) ?
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you5 M) S0 y! E; ^# W) @8 F9 V
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,4 [: O& C  q* i* b3 G
  1411. ; this is a more efficient approach.
    ) M) v0 B" s8 S
  1412. ; Default Value: 100
    : X0 x1 L3 Q8 W" }
  1413. ; Development Value: 1000
    8 |% c8 E! d0 a% V) J
  1414. ; Production Value: 1000$ g# N8 q& k/ B$ A6 |+ L1 N  ^
  1415. ; http://php.net/session.gc-divisor
    ' e$ {6 }6 I1 `- w. Z" k3 S6 ^. N( |
  1416. session.gc_divisor = 1000
    + g8 ?+ t! R) u+ T7 T* @
  1417. % ~- O( S8 M6 C0 L3 B6 S+ a5 Z
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and6 |" [( w: T, Y3 _* f" t8 ?
  1419. ; cleaned up by the garbage collection process.1 G+ f1 j+ x" P# @: G$ k  `% A
  1420. ; http://php.net/session.gc-maxlifetime+ w/ I) }8 G9 \% }- s1 S% M
  1421. session.gc_maxlifetime = 1440
    * u* G& ?) b4 g  i; C
  1422. ) K* N+ f6 W0 ]) c+ m# r1 q
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    1 b9 O- X: c9 x; {; Y5 ~
  1424. ;       (see session.save_path above), then garbage collection does *not*( j9 w- c" @# Z, n5 X; G
  1425. ;       happen automatically.  You will need to do your own garbage
    , X% y! u4 P7 t# ]1 L7 C1 c7 F0 _6 X& _
  1426. ;       collection through a shell script, cron entry, or some other method.
    ! H$ X: x. D6 D' Z. O5 K  R
  1427. ;       For example, the following script would is the equivalent of
    9 s/ U4 V( W/ ~# d" ^+ [2 |
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):* R8 @( X8 z) A- m
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    % C( a  C( X* {/ @( c3 M( \/ b- m: d
  1430. 8 c1 x. J  X  P2 i( P  d: j
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 E& K5 f/ d) [+ r% p# y" |7 }
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    / G! Q8 `* O& S0 s0 G
  1433. ; considered as valid.
    ; J6 m- w2 ^6 ^5 [, y
  1434. ; http://php.net/session.referer-check) V  L2 \! e( g' P# k
  1435. session.referer_check =
    + u3 u3 d" p: ^& ^+ o, I
  1436. , o: a1 Y: m+ B0 b1 {; f; t
  1437. ; How many bytes to read from the file.8 l) e* j+ R2 ?5 k0 T! p
  1438. ; http://php.net/session.entropy-length
    # ]+ ?! ^5 H  S
  1439. ;session.entropy_length = 32
    . u& g' e, ]& _3 c: ^' Z
  1440. 4 b/ P7 F) G: z# o6 {6 n4 O5 j) E- |
  1441. ; Specified here to create the session id.. A3 L2 l+ i0 |/ S( I
  1442. ; http://php.net/session.entropy-file* Q7 [* }- b6 x. B3 `
  1443. ; Defaults to /dev/urandom# ?) I" h6 o* b) j7 W
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( G" ]4 ?# `- e. l5 u
  1445. ; If neither are found at compile time, the default is no entropy file.0 A/ C$ S: F4 k' u
  1446. ; On windows, setting the entropy_length setting will activate the
    0 Z* G# q4 O5 H, U8 u% h
  1447. ; Windows random source (using the CryptoAPI)
    " D% s. I% X$ s5 O' _6 `
  1448. ;session.entropy_file = /dev/urandom) O; N- {9 M: b1 k9 Q
  1449. % }1 T9 b7 M7 j7 Z, O5 l
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ( \" V( ]- S& C  i: H2 A( G
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 h) P5 N- K# z! q# f1 [
  1452. ; http://php.net/session.cache-limiter8 N2 Q( b( _& t. p" V- a
  1453. session.cache_limiter = nocache/ }( R$ c# W9 s0 Z

  1454. ( H. x- c+ d9 s' d0 v
  1455. ; Document expires after n minutes.
    9 e% o' w' u' f- C$ i9 |' |
  1456. ; http://php.net/session.cache-expire
    9 q; Z  h9 C, B6 H0 ?# Q
  1457. session.cache_expire = 180* x5 C8 K& j" q$ ?7 g
  1458. * R. P- R% q6 v& o7 ^
  1459. ; trans sid support is disabled by default.
    " y9 f1 V7 x3 t! X6 V
  1460. ; Use of trans sid may risk your users' security.0 m$ e' H: c+ h4 n, s0 s- T0 e( R
  1461. ; Use this option with caution.
    3 ~5 G8 b) p4 a0 Z! ?# h5 u
  1462. ; - User may send URL contains active session ID
    , H7 w% O; T; }' F
  1463. ;   to other person via. email/irc/etc./ [( j9 }9 H/ l- F2 w! U2 O" c
  1464. ; - URL that contains active session ID may be stored
    6 a7 R$ n- i8 D- G1 n( q
  1465. ;   in publicly accessible computer.6 y4 E9 j3 Q; P
  1466. ; - User may access your site with the same session ID' M: n/ ^: z) ~( K/ m. z% e
  1467. ;   always using URL stored in browser's history or bookmarks.
    4 u4 E1 P1 e" e& A: d) c
  1468. ; http://php.net/session.use-trans-sid% w0 x1 Y) g  P9 B, n2 }+ @
  1469. session.use_trans_sid = 06 b) s! F7 l* a" E0 j( @
  1470. 7 P! z9 D: i& E; V5 Q& W: u
  1471. ; Select a hash function for use in generating session ids.: P1 q" v( Q+ `/ X( Q
  1472. ; Possible Values
    # {1 x& s5 o0 C' G0 l( o
  1473. ;   0  (MD5 128 bits)! @  d6 a! }) K% a' H+ P* r9 ]
  1474. ;   1  (SHA-1 160 bits)/ ?0 y' v" N5 ^. _
  1475. ; This option may also be set to the name of any hash function supported by# Z9 f% i# ?* q) E3 p' D8 v# W8 B
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(): x' W0 ^% D$ ^6 e! c+ J5 L1 Y
  1477. ; function.
    " V/ \8 j- u# P- Z2 `7 m
  1478. ; http://php.net/session.hash-function
    , I+ `5 f$ B! q! ^# O
  1479. session.hash_function = 0$ o8 g( i; Y2 \4 h5 u! K
  1480. & c, n* m4 [1 q2 {: \
  1481. ; Define how many bits are stored in each character when converting# k3 s1 H# C  a* F. u, A
  1482. ; the binary hash data to something readable.
    ( L  r9 {4 _& x' D( H3 k
  1483. ; Possible values:: L, T  }& w, u$ ?( `, O  O1 f5 Z
  1484. ;   4  (4 bits: 0-9, a-f)
    * K2 a" n& s: |7 h4 ?; C
  1485. ;   5  (5 bits: 0-9, a-v)0 S! }7 G! N$ b5 i6 S8 u7 o
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( _+ X1 n7 |  ^' P
  1487. ; Default Value: 4
    8 T  D, T/ z6 ^: Y3 \7 e3 P# O
  1488. ; Development Value: 55 h2 z! b& R/ y! b
  1489. ; Production Value: 5- _' y; `" E' Q( _4 N4 p# ?  F( J
  1490. ; http://php.net/session.hash-bits-per-character
    . v2 V6 T* I8 Q) k& S( B
  1491. session.hash_bits_per_character = 5
    9 [5 _# w" ?; a
  1492. ! q4 R- E  C, M& o& H
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! r, M* ]% t) ]! j+ Q
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    & v( s) C3 T0 N( i0 M9 N: x
  1495. ; add a hidden <input> field with the info which is otherwise appended5 w" K' }4 O! x3 ]) w- K
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.( k3 e& @: n: w" r- _
  1497. ; Note that all valid entries require a "=", even if no value follows.
    3 h# ^3 E9 x3 R! L# I
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 A" g+ ?* }, M8 k- s3 |" a2 `5 U
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; l' C! s) `! E" v6 S; o( e
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 m* A) C3 x1 Y- C1 w2 Q
  1501. ; http://php.net/url-rewriter.tags
    3 _+ h/ j6 G* U- |) K* E2 u* k
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"9 X2 Q- D  n/ c) f  E7 W0 N

  1503. : j5 C$ j* q* `' v( q) \# u
  1504. ; Enable upload progress tracking in $_SESSION
    ' {/ \& p* ]6 F* m. x7 F
  1505. ; Default Value: On
    9 W3 P( L9 q& q4 N9 y, b  W
  1506. ; Development Value: On
    : ]* s3 w; K9 E
  1507. ; Production Value: On, R2 u5 q/ h  _$ W( f
  1508. ; http://php.net/session.upload-progress.enabled7 K3 N& o& t/ A
  1509. ;session.upload_progress.enabled = On0 j) x5 U. u  J

  1510. % g- a: s. J3 B/ M( V* F+ J
  1511. ; Cleanup the progress information as soon as all POST data has been read
    . u6 Z' F' l4 P$ v6 Y4 r
  1512. ; (i.e. upload completed).
    " |1 e( o: ^" t5 r; B
  1513. ; Default Value: On
    ) f2 V" z. g  f0 b) K) u/ \1 Z
  1514. ; Development Value: On
    * M" B, e, N+ [* c) O
  1515. ; Production Value: On
    , D8 Y9 n8 E8 m$ T4 e4 b
  1516. ; http://php.net/session.upload-progress.cleanup
      b, G8 W6 e  W9 z
  1517. ;session.upload_progress.cleanup = On
    7 \" y5 B* e1 @

  1518. : G2 G! N2 u: ?1 l- k
  1519. ; A prefix used for the upload progress key in $_SESSION
    ! s$ }& Z0 V4 p0 o9 x9 k' s
  1520. ; Default Value: "upload_progress_"
    * c! Q* z% f7 X/ b" F
  1521. ; Development Value: "upload_progress_"+ J& Y" u: i! l6 u2 v4 ~& I
  1522. ; Production Value: "upload_progress_"1 O  B1 |: V  j# w; R: w7 r$ I
  1523. ; http://php.net/session.upload-progress.prefix, H9 u% U1 c  y/ u7 M
  1524. ;session.upload_progress.prefix = "upload_progress_"
    5 A9 j1 ]4 A" r4 M2 x
  1525. 9 f/ O: C5 q; l/ K4 W
  1526. ; The index name (concatenated with the prefix) in $_SESSION1 a  F5 U( P9 u# `/ f! I- L
  1527. ; containing the upload progress information. y: Q8 D0 }& S1 D: }6 t5 A
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) |; v7 v4 ?( C5 v; q1 J3 }
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & v& a- P! |3 W
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 \8 q2 G' ]- n* F( v7 S
  1531. ; http://php.net/session.upload-progress.name
    0 b" N- I- z+ z. ]+ H- Z# Q9 n; i+ U# ?
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    2 A, ?- Z5 i. h0 z! y$ {
  1533. 4 [5 u# [1 b# k7 g* h, _
  1534. ; How frequently the upload progress should be updated.
    ! d0 I# c* `3 j- }, ?  [
  1535. ; Given either in percentages (per-file), or in bytes
    $ e( K' N& P. Z* {  X
  1536. ; Default Value: "1%"# ?) J& x8 r% L/ A
  1537. ; Development Value: "1%"0 I: _& j0 ^  Y  k; J
  1538. ; Production Value: "1%"
      k/ {$ i5 c/ E2 [& g( `5 `
  1539. ; http://php.net/session.upload-progress.freq
    . B3 g4 E& l7 k6 M0 M* X4 y; @
  1540. ;session.upload_progress.freq =  "1%"
    2 y( H! G5 }9 p5 i  o7 o9 Y& }

  1541. + P$ T) H' v) F* `. P
  1542. ; The minimum delay between updates, in seconds
    4 {8 M/ N3 d+ u3 V$ U, a  N
  1543. ; Default Value: 17 N1 O- T" F5 S
  1544. ; Development Value: 13 |9 y# I: e: O
  1545. ; Production Value: 1; Z" [8 W0 G( }+ `
  1546. ; http://php.net/session.upload-progress.min-freq
    5 O7 b; h/ o& ~6 Q
  1547. ;session.upload_progress.min_freq = "1"0 [8 w/ u8 z+ i8 j3 z% `
  1548. * P, L* P3 t" h  V; O! z  E
  1549. ; Only write session data when session data is changed. Enabled by default.
    . g! ^" v# T3 B& u
  1550. ; http://php.net/session.lazy-write: Q$ E  m. M: \' e! s" n: x
  1551. ;session.lazy_write = On* P+ l8 A* ~% u+ ~1 a
  1552. * l8 `+ [3 ]  C6 o) h* s/ [
  1553. [Assertion]. J5 Z5 m  z) n: h" [( [5 C) r9 X' k
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    $ [/ z# M3 d9 ?* a
  1555. ; -1: Do not compile at all* `; }0 n4 O- z1 y. O
  1556. ;  0: Jump over assertion at run-time5 z  Q" l3 K1 ~9 k
  1557. ;  1: Execute assertions
    1 L) @7 Q/ f: 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)8 q2 ^) v3 X7 J% T; d4 j7 D
  1559. ; Default Value: 1
    ! I2 A  [- m9 L
  1560. ; Development Value: 11 ~& X* |$ e, J8 Z9 h( }- z. w
  1561. ; Production Value: -14 `1 c4 ^! @. g# r/ V/ Y
  1562. ; http://php.net/zend.assertions, I9 E! z" O0 f- [  q
  1563. zend.assertions = -15 b& U- U/ M! ?' t5 H& V
  1564. % H0 O4 R+ m7 Q/ s
  1565. ; Assert(expr); active by default.
    ! f5 z! N$ s+ ]* b* D
  1566. ; http://php.net/assert.active
    7 ]" m4 w) P9 Z0 L* j$ w
  1567. ;assert.active = On7 }) Z! z! \* ~+ m. J% Q; [

  1568.   {- a5 T; i1 |! ]% N5 X
  1569. ; Throw an AssertationException on failed assertions* I( k" |4 O" ~5 U" u: r
  1570. ; http://php.net/assert.exception) |# m' Z! A2 w5 X1 K9 u; R+ s
  1571. ;assert.exception = On( U! J1 O2 \2 {
  1572. 5 L7 I+ x; a- c! X6 m9 T2 {8 D
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ; r& v% K% ?. Z% \+ e% E
  1574. ; http://php.net/assert.warning
    % ~  h. L& L3 _% o
  1575. ;assert.warning = On% P4 Y0 }  B% S- L! W- l; g
  1576. : x. s: t( j- v1 w2 X
  1577. ; Don't bail out by default.# n) D( _# @5 X! h1 V3 G# e. I0 n0 ?
  1578. ; http://php.net/assert.bail$ q6 ]; U. N& \& m) b* m6 w
  1579. ;assert.bail = Off% Z2 V/ Y( y+ E

  1580. 7 Y5 h7 Z/ v( C. N& D& t
  1581. ; User-function to be called if an assertion fails.- O% z. ~$ `, T3 g) V
  1582. ; http://php.net/assert.callback0 V: f0 U4 Q" l; y! K. w' d1 Q
  1583. ;assert.callback = 05 s# U. V( c5 Z  R. J/ N
  1584. % ^- J; q& N3 y2 e/ y+ q  ?! C' M
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    0 y& Y2 r& C3 J+ ^7 g+ }" u# X+ D: y7 E
  1586. ; error_reporting(0) around the eval().9 K6 |! q, ?8 r4 q# a" L; s3 w
  1587. ; http://php.net/assert.quiet-eval
    " d4 ]) f# |* r/ ?- c2 r
  1588. ;assert.quiet_eval = 0
    % N: s& f3 q. G, X& t: U

  1589.   y* A! p8 v- w4 n9 D( u! f8 M
  1590. [COM]
    . S( A9 d, N7 N  X
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    . u  h5 e0 L. Q6 P! a+ [
  1592. ; http://php.net/com.typelib-file
    + N  J" A. C  P1 i7 B
  1593. ;com.typelib_file =
    & s5 G6 P, z1 ]5 S+ l% I
  1594. 3 V4 V, L1 q7 Y
  1595. ; allow Distributed-COM calls
      ?* y  L+ H9 ]* ~# a
  1596. ; http://php.net/com.allow-dcom7 n8 {, n3 z; M7 ]& |+ {
  1597. ;com.allow_dcom = true
    : N" ?8 ~6 ?' Z: ^. {
  1598.   s9 [  G% a8 ?: x
  1599. ; autoregister constants of a components typlib on com_load()
    ( t. V( k4 @2 c% G2 q# b
  1600. ; http://php.net/com.autoregister-typelib
    $ ]8 l7 O9 k- E, [7 n# R2 U7 k
  1601. ;com.autoregister_typelib = true
    ) X9 J! k' S9 k+ S- F

  1602. 1 o9 V$ q& @3 s0 B& ?8 j# F
  1603. ; register constants casesensitive$ Z+ e  v- j* m) Q5 _% f" A
  1604. ; http://php.net/com.autoregister-casesensitive/ t. |. t, @3 Q$ D, ?$ r* ^! @
  1605. ;com.autoregister_casesensitive = false
    / W) r' c, p! M' s' k- M1 P% a

  1606. 5 M7 j# d3 ~' v/ a# M
  1607. ; show warnings on duplicate constant registrations
    , ]9 T) U; d+ r# M7 b
  1608. ; http://php.net/com.autoregister-verbose
    " u5 S+ ^- ]& @4 `% W
  1609. ;com.autoregister_verbose = true8 j( E6 d* e4 F; u$ j7 w+ `

  1610. ( C; b* @7 d9 b
  1611. ; The default character set code-page to use when passing strings to and from COM objects.* C! X6 J: I  w) x, }
  1612. ; Default: system ANSI code page
    / G2 X$ k) }" H( ]
  1613. ;com.code_page=0 q" l  o; o4 y% k1 V5 Y2 f& G8 ~

  1614. 8 U. I2 q- v3 O& F1 D
  1615. [mbstring]
    4 |! c6 I' U' `' s; o4 d, W
  1616. ; language for internal character representation.0 |; g! d3 b0 U8 T
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    * M' ~8 m' X* `$ _
  1618. ; http://php.net/mbstring.language
    0 q# ]7 {. f) j. _. ^
  1619. ;mbstring.language = Japanese
    $ @0 n5 o1 }! Y4 `
  1620. 5 a  o3 w7 |. W! z! G
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 D% z' r! _5 q, \: }
  1622. ; internal/script encoding.6 O( b% P( F! F3 k, C1 T
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)! C* Y( a& n% [* @3 }
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . q3 K( P6 F. W9 [0 a  W
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 x& l! }1 P. ~. Q7 e' B  r6 Y) s
  1626. ;mbstring.internal_encoding =4 S! }$ ~: y: |

  1627. 1 y( Y. \, h0 V7 \
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & N/ s5 f5 l3 d0 I5 u$ x( Q$ ?
  1629. ; http input encoding.. S' j" ^1 k. u
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    9 ~9 _8 y" H: Y1 R+ B( r( b+ J
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * K0 r6 s$ I; ]1 W, `
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ) d0 u$ h" ^# k9 n  X0 V( g; {
  1633. ; http://php.net/mbstring.http-input* x% p0 N- S( I* P
  1634. ;mbstring.http_input =+ Z* e# F6 G( C* E; \6 m
  1635. 1 _$ q# ?7 h: [$ ]( x; z; V1 G  h9 j
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; I' V( `" {% m* o
  1637. ; http output encoding.
    8 N, y6 i* D/ X3 G9 ~3 M
  1638. ; mb_output_handler must be registered as output buffer to function.
    ; M0 T# m+ |. n( [& z& x: F
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.. g: B2 l" k- c( v# R' F9 i5 s
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output5 D- Y6 V+ w* [% |
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
      u2 G* H# y# G& M8 [7 @
  1642. ; otherwise output encoding conversion cannot be performed.
    $ d3 a/ F; n* {" K( X, s' Y
  1643. ; http://php.net/mbstring.http-output  B0 W( P$ R  W
  1644. ;mbstring.http_output =
    5 ^; m+ x9 [5 \, I0 U4 x( x, Y  W

  1645. - j$ f* J5 t; V! A7 w
  1646. ; enable automatic encoding translation according to- [5 A# P( }# p# ^
  1647. ; mbstring.internal_encoding setting. Input chars are
    # i& k) t/ J1 Y5 v; f( \' D- v
  1648. ; converted to internal encoding by setting this to On.! G1 A' |  r3 r) w& \% Z$ L
  1649. ; Note: Do _not_ use automatic encoding translation for8 [" ]2 j1 p$ I2 c) o5 l
  1650. ;       portable libs/applications.% f, j7 U) v6 Y/ M
  1651. ; http://php.net/mbstring.encoding-translation" e5 j1 {& {9 n* C% O
  1652. ;mbstring.encoding_translation = Off
    * F3 [8 L" J6 m- F+ i9 d( g
  1653. - ~1 @+ `$ K& _' h+ ~
  1654. ; automatic encoding detection order.
    4 R" D% i- l6 U4 z/ O
  1655. ; "auto" detect order is changed according to mbstring.language* X% P+ P* A+ Q' d% [
  1656. ; http://php.net/mbstring.detect-order
    + o- i! u# L2 s6 u
  1657. ;mbstring.detect_order = auto9 g8 f' P+ k$ q0 a3 t9 x

  1658. 1 _& g! S4 C4 I) E9 Y6 \
  1659. ; substitute_character used when character cannot be converted
    ' L. T: `; o0 V; c% I5 W( S) n
  1660. ; one from another+ V% T9 z, ^8 _6 t' ^2 W( M
  1661. ; http://php.net/mbstring.substitute-character
    ! J- G# {1 |7 D  C, V
  1662. ;mbstring.substitute_character = none
    & e  V3 Z3 j* x3 z

  1663. : W8 M* X+ ~* U$ a) t* q; J
  1664. ; overload(replace) single byte functions by mbstring functions.
      o3 i- b+ r9 A8 D4 H- v6 G
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    1 B: l% C9 D/ r
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
      n$ U/ s! v7 y0 s8 ^
  1667. ; For example, 7 for overload everything.
    8 M$ q$ v& _3 R
  1668. ; 0: No overload+ U. Y% P. d2 r9 k% C
  1669. ; 1: Overload mail() function! n  Z" X  q( O  c* a) b9 {5 ~9 N
  1670. ; 2: Overload str*() functions( E$ h  y/ d+ e6 U! z& e; e1 t
  1671. ; 4: Overload ereg*() functions+ M" p4 m% u( T$ @. d: G
  1672. ; http://php.net/mbstring.func-overload
    7 G7 [. L$ U; Q
  1673. ;mbstring.func_overload = 04 F, L  W& ~- i6 {# ^

  1674. 9 S. k2 [) ]; R
  1675. ; enable strict encoding detection.
    8 c6 P) Z0 v  e; B( _
  1676. ; Default: Off# V- @9 H2 X: ^, f( f# R
  1677. ;mbstring.strict_detection = On
    & o' D, W. t' i  D
  1678. 6 n  b9 a8 [/ d7 }3 y1 t! u7 K0 M
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & |' C; Z( x) h4 e
  1680. ; is activated.2 u0 k+ c3 b& k5 ^: w. v9 [
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* E, l+ ^, h% d  n8 K
  1682. ;mbstring.http_output_conv_mimetype=
    / N& x3 C: u; }  M' Y5 _

  1683. ; N2 D8 ]7 I/ Z* W! H
  1684. [gd]
    1 ~( J, Q& }  r
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ( U. d8 T! ^4 X! n( {; z0 O9 w
  1686. ; a gd image. The warning will then be displayed as notices! G( z+ s7 I: n
  1687. ; disabled by default3 _- U& [+ Y' \. ?  D; b
  1688. ; http://php.net/gd.jpeg-ignore-warning
    8 M7 J( u$ W1 U+ F( {2 h! |
  1689. ;gd.jpeg_ignore_warning = 0# J9 A; J% k- K# B

  1690. 6 ?) q: X$ B$ x8 G. `0 |( V' \- t
  1691. [exif]3 Q2 L% w; _& v2 o$ ]' |
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 O2 {9 U  W: _+ p8 F
  1693. ; With mbstring support this will automatically be converted into the encoding
    $ h* q! x8 c3 o" H8 V/ [: w
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding9 [4 a4 J1 S: `6 t6 l5 k7 z& C4 E
  1695. ; is used. For the decode settings you can distinguish between motorola and. [; d( q3 [2 N2 X' y! `% I
  1696. ; intel byte order. A decode setting cannot be empty.* k+ }* m/ A! T5 d
  1697. ; http://php.net/exif.encode-unicode8 O5 T! ^3 ^' y
  1698. ;exif.encode_unicode = ISO-8859-15
    5 ~: G1 R1 R5 _( s- e* r- y; |
  1699. % X0 }' D$ K5 v8 I
  1700. ; http://php.net/exif.decode-unicode-motorola
      X- B6 ?# y  t/ m8 ^- ~. O$ Q1 Q
  1701. ;exif.decode_unicode_motorola = UCS-2BE* _( @# ~/ A% M
  1702. 1 F4 P! B, L, H+ D: D& q+ U7 C
  1703. ; http://php.net/exif.decode-unicode-intel! O! g" q  L+ z0 u
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    4 b& J, m4 t* W$ y5 z$ S

  1705. " g3 c, r/ j0 l  t4 I3 P
  1706. ; http://php.net/exif.encode-jis- k: X2 N! P. O9 s& U
  1707. ;exif.encode_jis =" q5 s! @) ]+ A5 J$ g

  1708. ) U1 i( s! B3 X6 D# _' R  D1 F
  1709. ; http://php.net/exif.decode-jis-motorola2 e+ z1 B* R( t
  1710. ;exif.decode_jis_motorola = JIS  b. @8 t* j8 W; K" ]9 a
  1711. & }9 z8 U1 a( p3 d
  1712. ; http://php.net/exif.decode-jis-intel: ^; f9 t. n! X' u( b* e
  1713. ;exif.decode_jis_intel    = JIS
    - H  ]" ~8 ~- p; |3 e0 c' q
  1714.   V+ y6 ~; E4 ]' e
  1715. [Tidy]
    2 O+ p" ^9 @2 h7 a- V6 P% Z8 w
  1716. ; The path to a default tidy configuration file to use when using tidy
    $ D4 u% T; i" \
  1717. ; http://php.net/tidy.default-config$ @" ^! Z6 D: S6 S0 R9 i
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    & o) u$ V" c7 f% H1 U' R
  1719. 8 p7 V, [" }% s# g; [) H4 M
  1720. ; Should tidy clean and repair output automatically?
      J& F: h9 x" }9 w
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ( s1 I7 D& S& M. H! H1 m- ^
  1722. ; such as dynamic images
    - \' d+ |) _$ C/ m8 s
  1723. ; http://php.net/tidy.clean-output
    ) d1 u0 N0 [# ^* t) K: C( X
  1724. tidy.clean_output = Off) o: p: P1 ]: U. K
  1725. & J" `+ V  c; z8 _: k2 p. @: c
  1726. [soap]
    . {2 k0 ~  _% ~* \( p  l9 q
  1727. ; Enables or disables WSDL caching feature.6 K( D4 Z- M+ i7 \5 i! E
  1728. ; http://php.net/soap.wsdl-cache-enabled; C% S+ I! A$ A! Z8 C& W, R) \
  1729. soap.wsdl_cache_enabled=1/ E1 q' B' A9 P' {' g
  1730. 0 t- m) r1 b0 f6 `6 Q: J( H: W+ `
  1731. ; Sets the directory name where SOAP extension will put cache files.
    - t; T& s0 f7 y. P1 e
  1732. ; http://php.net/soap.wsdl-cache-dir6 }  D% d# W8 A6 y6 c- u
  1733. soap.wsdl_cache_dir="/tmp"
    8 e1 \2 x& i& w5 d: ]
  1734. , f/ @( k: K  S1 B: C$ @
  1735. ; (time to live) Sets the number of second while cached file will be used
    - |# v& c( G: c; `
  1736. ; instead of original one.* Y3 v! P, I' Z; g
  1737. ; http://php.net/soap.wsdl-cache-ttl7 i+ _0 _6 Z0 b5 s7 r1 I/ a
  1738. soap.wsdl_cache_ttl=86400$ ?" n! g& A8 Q; O+ C. z9 V

  1739. . y5 {, [6 i0 v  K
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ M2 m9 v4 ^% U9 F* E
  1741. soap.wsdl_cache_limit = 5
    0 i3 e) ^# w4 i9 e& e! i

  1742. ) u9 T' [" q. ?& W
  1743. [sysvshm], n- J* y8 U! Q
  1744. ; A default size of the shared memory segment" e% c: E; I8 o0 m- S4 R0 r
  1745. ;sysvshm.init_mem = 10000
    * x. q4 J+ S2 e( a9 B

  1746. 2 c2 C! D3 |  [8 W. m
  1747. [ldap]
    5 n& D- T3 [5 R
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    6 n) x1 k( G9 h
  1749. ldap.max_links = -1
    ' P; R; I6 q( I" X& h  m( q
  1750. - p+ b" P# ]) ]1 l+ _" Y( P
  1751. [mcrypt]
      ]; B/ f2 ^1 G0 w" C
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open, D$ E  h* P5 \2 R: e
  1753. ' d- X- C9 \  \. B
  1754. ; Directory where to load mcrypt algorithms
    2 i, W5 k  L7 r) V, b* R
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): f; o* E; R4 C6 t2 O
  1756. ;mcrypt.algorithms_dir=
    ! A: \1 m7 a$ T
  1757. 4 O8 f6 l2 g) M  e9 L/ P
  1758. ; Directory where to load mcrypt modes
    ! G1 }- O: R: w: I9 @+ V
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    4 e9 [! f% D5 h- B  V
  1760. ;mcrypt.modes_dir=, r0 W3 V# g. W* s: O
  1761. 2 B* g; N' w0 l
  1762. [dba]  d. p* f8 |, o" ?0 s
  1763. ;dba.default_handler=
    4 Z/ X7 r" i+ ~/ Q' G4 |

  1764. 1 Y3 a# u. j" @
  1765. [opcache]
    5 q+ @; w& |1 W  c% x
  1766. ; Determines if Zend OPCache is enabled+ v- i( _% Z9 |4 O8 E
  1767. ;opcache.enable=0% F  X& K9 [( R, ?1 a+ B, W4 n

  1768. ( ?! y/ D# N% B3 d4 X4 y
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP* S4 G" H& W. o4 ]* Q
  1770. ;opcache.enable_cli=0
    ; b" r! l6 M; ^4 [

  1771. , c& k  X8 X: \$ C/ P% F" B
  1772. ; The OPcache shared memory storage size., }5 a" ?( S# i* d' M
  1773. ;opcache.memory_consumption=64+ R" {, g* Q7 \9 i! \
  1774. # B. L$ a& @$ T3 E
  1775. ; The amount of memory for interned strings in Mbytes.
    6 K" x3 t6 U! u9 w- z
  1776. ;opcache.interned_strings_buffer=4: K6 ]& C* l: D4 y

  1777. " r, F) q  I0 O" d  u3 x
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    6 U8 y) S2 Z/ P
  1779. ; Only numbers between 200 and 1000000 are allowed.
    1 D; H( ^" K' I  F" z# q
  1780. ;opcache.max_accelerated_files=2000% e& t# R* P- Q

  1781.   w' y  G( O; B& X$ p1 W2 F
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.8 _" b0 s. y; d
  1783. ;opcache.max_wasted_percentage=5
    # O- c. d# D- ~$ u! ~5 c: f
  1784. ! i4 r8 D/ m' U- [& W
  1785. ; When this directive is enabled, the OPcache appends the current working
    . P1 `+ i8 \4 w2 M. e, X
  1786. ; directory to the script key, thus eliminating possible collisions between
    - ?% j2 P; c- [$ ~& ~1 L, v
  1787. ; files with the same name (basename). Disabling the directive improves
    " u2 L. c2 _7 I
  1788. ; performance, but may break existing applications.
    ' M; q4 r6 i) Q+ p
  1789. ;opcache.use_cwd=1
    ; B+ n, [: D; l: ?
  1790. ! O  D: q" c1 A; x. \
  1791. ; When disabled, you must reset the OPcache manually or restart the( `8 C6 i/ k  `" h4 T' Z
  1792. ; webserver for changes to the filesystem to take effect.
    5 n8 z" O$ c0 y) T& q! N" j
  1793. ;opcache.validate_timestamps=1: i$ c0 r2 w3 E& Z' X  X

  1794. . c1 z0 z- T7 y6 b( z# N' Y
  1795. ; How often (in seconds) to check file timestamps for changes to the shared" I( }2 f5 [5 @$ h: ]9 C+ O
  1796. ; memory storage allocation. ("1" means validate once per second, but only0 z& j$ h8 z( I+ }5 O
  1797. ; once per request. "0" means always validate)
    3 ~6 a4 f  E6 R  _  P- I
  1798. ;opcache.revalidate_freq=2
    1 u) y7 E- ^* t. w

  1799. + s$ g1 [, r( k
  1800. ; Enables or disables file search in include_path optimization/ m. l. h$ i4 U* o) V
  1801. ;opcache.revalidate_path=0$ y0 J% C1 |8 Y* M- v
  1802. ; X6 j- a; |" N& K
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the% I; K: e' a- N- K
  1804. ; size of the optimized code.( j8 m+ C+ O3 e. u# W/ U- M6 t/ g& R
  1805. ;opcache.save_comments=1! D8 m$ f7 \% b, _# J, a6 H# K
  1806. # m1 q5 K. _% B: u% y* e
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code* s. C& [% C2 C( S* }3 Z' s/ {
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.$ V4 p0 Z: d! }" u5 A$ w, z
  1809. ;opcache.fast_shutdown=0
    5 A7 o" V' G- R! A
  1810. % s6 D7 O% y1 e9 x( H) I" l
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ( ^# Q6 a- ^; ?6 i
  1812. ;opcache.enable_file_override=0% }1 b+ Z2 P# F2 O

  1813. ) _! Y5 [% `; B5 c2 c: f  Z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    & \3 U5 O: {2 G4 b( I
  1815. ; passes! f9 f/ z( h! ~) l5 B5 C$ |4 r( R
  1816. ;opcache.optimization_level=0xffffffff
    ) N2 J* R5 l+ Z# a& Y1 I

  1817. / u2 R' y! l3 T- [
  1818. ;opcache.inherited_hack=16 ]$ o# v( |2 t5 N$ |
  1819. ;opcache.dups_fix=0
    3 Z: F( s% f- y$ Q6 w7 p

  1820. . `; }2 d) E" X' y. m3 Y
  1821. ; The location of the OPcache blacklist file (wildcards allowed).1 o$ H- [) V' v6 ^/ ~0 p
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    , Q7 z- D7 B' L  {4 U
  1823. ; that should not be accelerated. The file format is to add each filename
    ! k) s0 R: `# s: @) C* z9 e5 c: B
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ; z% r" |6 }$ M4 g  X8 O6 Q% a
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    3 H" b3 y& R5 i- W" O5 `% W
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).6 J6 H2 Y" q: j  T: x
  1827. ;opcache.blacklist_filename=
    & E/ u3 n  a5 @" x( r0 N
  1828. 3 e2 L7 ~& g5 b3 ?: ]0 q+ q4 [
  1829. ; Allows exclusion of large files from being cached. By default all files& G/ f/ {& {8 y* F- j" Q
  1830. ; are cached.' D& n2 `% ~% s+ P4 @
  1831. ;opcache.max_file_size=0
    " r" ^! W* F  o5 V# n! C# x( U
  1832. # @& O3 c! u" y
  1833. ; Check the cache checksum each N requests.$ a, ?  F3 F7 b
  1834. ; The default value of "0" means that the checks are disabled.
    ; ~( `0 K3 q* L& B9 W# R3 h
  1835. ;opcache.consistency_checks=0
    ) V* {) s6 z) b5 u4 i3 O% [- A9 Y
  1836. . U  W2 @: `% k; a8 `+ S. B5 J4 j
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    1 P7 T( z5 T3 [: L9 v) q9 X& y
  1838. ; is not being accessed.) h" @0 N# o7 v5 ^
  1839. ;opcache.force_restart_timeout=180
    2 K5 W. `9 I, u5 k7 R
  1840.   d2 k( Q: w7 R1 e) e6 O
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    & S9 t1 |3 ^! b* Y
  1842. ;opcache.error_log=  I+ H5 s& }) N6 T) L! p/ I6 F2 U' w
  1843. - s4 s6 ^" d- K6 s* ~& Y$ ~8 B% ^
  1844. ; All OPcache errors go to the Web server log.4 U4 Q6 c- a  `+ W) P" Z, _
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    0 ~: A, E' p* k
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    $ I7 w( d. ?$ ]( m9 d2 v" m
  1847. ; debug messages (level 4).
    ; b& j7 g' W  w" Y
  1848. ;opcache.log_verbosity_level=1
    1 Q8 B5 H  S7 i/ t- p/ L  X& U
  1849. - {% p- o9 O4 W
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      ~$ i% s1 Q5 `2 `0 A+ c: w
  1851. ;opcache.preferred_memory_model=
    , }' h: |* G# \. l5 c

  1852. % ^7 g) }3 ~7 Y0 A; _% s7 Y, D( G
  1853. ; Protect the shared memory from unexpected writing during script execution.
    + u1 i/ o" d% Q5 @5 g, L' L
  1854. ; Useful for internal debugging only.5 F9 `1 f# ^( O8 Z5 m! J% \8 a" z
  1855. ;opcache.protect_memory=0
    0 g+ ~0 ], {+ ?) |, W2 N" C$ _8 S
  1856. & m- X( ^' I( P$ h: n8 V- c( Z5 ?. Z
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is$ G4 v' n& Q' ]6 J: E# L
  1858. ; started from specified string. The default "" means no restriction/ @) I5 h! J) j9 n
  1859. ;opcache.restrict_api=
    7 p0 v* w, X+ r' x

  1860. 4 l$ M- B( |: N+ o
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP% \5 H! F$ K* x+ ?% n
  1862. ; processes have to map shared memory into the same address space. This% l9 [; Q" s+ P( ?- X2 K
  1863. ; directive allows to manually fix the "Unable to reattach to base address"2 _) c5 K3 q6 v
  1864. ; errors.7 C1 l5 Z/ P: s6 _& S/ b2 B9 o
  1865. ;opcache.mmap_base=- r# @2 `. J* S7 X( W, I1 W" Q) ]" t

  1866. 2 _1 u) C3 a2 x6 L; l( Y6 i
  1867. ; Enables and sets the second level cache directory.
    ' F. h; @4 m" S6 v. _' A7 K
  1868. ; It should improve performance when SHM memory is full, at server restart or
    # L$ _+ w5 k8 i. O
  1869. ; SHM reset. The default "" disables file based caching.7 ~2 S! s$ y" p: p9 G
  1870. ;opcache.file_cache=- A& @3 J; x8 P" E! Q* n" M
  1871. $ b) |, w  |+ l* V& R
  1872. ; Enables or disables opcode caching in shared memory.
    4 i+ w& t* r0 n5 Y% y* {) B2 O
  1873. ;opcache.file_cache_only=0
    & X# h% \# }& i6 y& g* V

  1874. ) _+ Q3 q8 R7 \# |5 g* o
  1875. ; Enables or disables checksum validation when script loaded from file cache." ^9 O/ @/ [5 \3 V7 b0 x1 x
  1876. ;opcache.file_cache_consistency_checks=1: o" H, m9 a' d" @

  1877. : t! N5 p, ^/ X. G( d
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    / B, j. x4 i, i: {/ G: Q0 g, U! b
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file5 V( Y1 z8 N( ~3 O; W) b
  1880. ; cache is required.5 z, ^6 k. ]: |4 g1 H; M
  1881. ;opcache.file_cache_fallback=1$ p$ k. u) {& e2 C/ f

  1882. / ^, N- x8 }4 p
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.: h5 e( S1 E5 G4 {1 o" Q
  1884. ; This should improve performance, but requires appropriate OS configuration.
    & n6 r+ R+ M% }1 v; b  {+ `
  1885. ;opcache.huge_code_pages=1
    2 D! n. W! ~2 V. z8 W4 H
  1886. " C# o7 C- I  v
  1887. ; Validate cached file permissions.% A: x2 O3 K2 \0 X
  1888. ; opcache.validate_permission=0! ~1 z7 g) W! t
  1889. % D9 l; {' ~% p- B) z
  1890. ; Prevent name collisions in chroot'ed environment.7 [; Z' g6 L* U2 z
  1891. ; opcache.validate_root=09 {4 Y) z2 d; b# ]
  1892. 6 x' N- O! q* \. W# p2 V
  1893. [curl]
    ) T- Q& P$ j3 u2 E! r& H. v# c
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an( X% d* l  F  f$ x% {
  1895. ; absolute path.4 l6 W' C0 S) E3 H  k, S0 [
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt7 U6 j( I  @5 Z+ C$ M
  1897. : k  ?+ w0 U5 ]0 D0 V4 d1 K) p  R
  1898. [openssl]
    4 ?0 T" k# X" ~- J& B
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    % ~3 |$ w9 u2 B* ]
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should. R$ V# j# d# ?
  1901. ; not specify a value for this directive as PHP will attempt to use the
    & ?% {$ m; N/ ~
  1902. ; OS-managed cert stores in its absence. If specified, this value may still/ [9 h6 u9 }& |" \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 X3 A4 @# K7 V
  1904. ; option.
    ( v! ^* P/ n1 E+ V
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    # k$ f5 }' G9 F9 I+ E+ b  d* V8 H

  1906. 7 [+ S1 R; U; Z! ]6 \- h
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the8 \$ _) }) R  p
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    8 w; X4 [) n( o7 G
  1909. ; certificate. This value must be a correctly hashed certificate directory.0 a7 y7 S; |. r. D
  1910. ; Most users should not specify a value for this directive as PHP will
    - |2 O, Z' b0 l3 _/ [9 t% K4 r0 C
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,: [- T& x6 z. b1 L: I2 u9 Q' r8 V& x
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    3 {$ ^: O* ~- j8 C) t
  1913. ; SSL stream context option." f$ a' [; P- r+ |+ v
  1914. ;openssl.capath=1 [( g2 r1 M$ ?* d

  1915. 9 Z0 v( p% }) @9 g- e9 F( n& Z
  1916. ; Local Variables:" K; l6 O0 Y3 T6 A) X
  1917. ; tab-width: 4* @. @8 y8 q  {+ M
  1918. ; End:
    2 i* ]/ `- V' [% @
  1919. , D3 s8 L# H  U, f+ i0 g# z2 k% [
  1920. ;eaccelerator
    2 n( m! a% N( L4 A

  1921. : H, s( R8 [8 N
  1922. ;ionCube
    $ q3 \7 v3 s' t, b1 f1 b
  1923. ! r) w% B! F$ ^$ P+ k
  1924. ;opcache/ S0 s% B8 ^5 o
  1925. 5 v1 C5 r) M+ N9 F6 E
  1926. [Zend ZendGuard Loader]: O8 e0 R* D$ w* I3 K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ' v! ~1 F( C$ B
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    $ z1 I$ G- H6 I1 R* ?
  1929. ;zend_loader.enable=13 G3 v+ c) O$ W- Y) c- d+ V4 z4 I8 G
  1930. ;zend_loader.disable_licensing=0, E2 m$ P- h% ~! i
  1931. ;zend_loader.obfuscation_level_support=3! `: ?+ m2 e/ d! L
  1932. ;zend_loader.license_path=& a- W2 X- f7 X9 f+ J7 @* h

  1933. 2 V3 O! X0 B- A' ]% w
  1934. ;xcache3 F5 L8 y  z! d; p# T

  1935.   m1 L3 [1 N) q0 }
复制代码

, }2 q0 v) b- e4 ~
1 A5 Z( b/ ]" T6 p, m7 z6 v. ~1 M2 p/ o: A5 ?2 x0 e/ r0 X  j. s7 A
3 n9 n9 N( @, r9 {
3 p9 Q4 z2 T( `4 ^

9 v6 I2 e+ V" h& H# T) ~/ z- ]- O+ C$ U: t8 a: Q
PHP5.6版本原始设置2 Q. A, `2 t5 C
+ p& k* s+ o, ^, K3 l3 }) }# @
  1. [PHP]7 K9 M6 D9 f$ {
  2. # y2 O6 g6 K2 \% D
  3. ;;;;;;;;;;;;;;;;;;;
    - v% G6 l) Q9 b' Z# E. w3 x
  4. ; About php.ini   ;
    . f. }! {6 G+ T2 F( ~# g3 {
  5. ;;;;;;;;;;;;;;;;;;;  D- a$ F0 I6 e5 U& c
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    6 v# K' Q/ Z! S! E
  7. ; configuring many of the aspects of PHP's behavior.
    8 Y  V# `0 H0 V, H( P
  8. 4 n1 v/ o% i( R* T
  9. ; PHP attempts to find and load this configuration from a number of locations.% E& I2 ^2 {1 G  f1 m5 v
  10. ; The following is a summary of its search order:' K; G5 f$ [% p+ v
  11. ; 1. SAPI module specific location.) E# A% T& Y7 S8 w) q6 j; P
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)( P3 W. k8 ]* w4 V7 t0 W# W
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0). O" J3 a" ^* F) p
  14. ; 4. Current working directory (except CLI)
    " M/ l; V5 b' Y3 Q! S
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ! x" ~8 c* @9 ~: f* M- G
  16. ; (otherwise in Windows)" b# a% P& R: j# I0 v
  17. ; 6. The directory from the --with-config-file-path compile time option, or the) I( ]2 `5 S1 {- o( P! ^% M7 D! {2 u
  18. ; Windows directory (C:\windows or C:\winnt)  S; [" [) `( g( w% Z
  19. ; See the PHP docs for more specific information.1 h: u& ?+ V: N8 V, b6 B
  20. ; http://php.net/configuration.file! a8 N( z, ^8 v
  21. # M  i8 r* _0 q7 y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    3 O1 i0 _; V% d) w
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! A9 N3 M7 _' G; r7 `3 O
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      ^4 X$ }; v: G! a! p0 g6 N
  25. ; they might mean something in the future., {' q1 j9 V5 d" a: V1 l

  26. # @7 j% X7 a% [6 a2 \7 d6 w/ q+ B) S
  27. ; Directives following the section heading [PATH=/www/mysite] only( ]+ l, H$ d: c9 [3 N
  28. ; apply to PHP files in the /www/mysite directory.  Directives8 Q: ?  c4 c+ c3 f. J' j
  29. ; following the section heading [HOST=www.example.com] only apply to
    : |! S+ J6 s- a
  30. ; PHP files served from www.example.com.  Directives set in these2 t6 V% S( q5 Z1 C3 U4 N1 l
  31. ; special sections cannot be overridden by user-defined INI files or/ ~7 L5 E: h) [$ v
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under, m2 q; r* Q! P! w
  33. ; CGI/FastCGI.
    & W. }+ u+ ~& _; `9 \0 y) v
  34. ; http://php.net/ini.sections5 g$ ^7 K/ p  |/ @0 u6 S
  35. 4 v# u- Q0 V( t- f" J( X, Q7 g
  36. ; Directives are specified using the following syntax:' |) a# }9 q* v% q0 ?' O% }
  37. ; directive = value5 T: ?. N% l9 E( a1 w' C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. Y& A2 d7 g. p/ P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    3 F4 r0 ~8 V, A3 ?  N! P
  40. ; There is no name validation.  If PHP can't find an expected
    ( V0 W6 W5 d2 j9 l: b8 M
  41. ; directive because it is not set or is mistyped, a default value will be used.) P# X! K1 q8 x- J% C7 A
  42. $ b+ R/ w5 {$ _7 v/ l# F
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one+ P0 A( h/ N' R, ]6 H  b
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression' z6 y% n/ s8 t1 C/ T1 g
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    * L) p* q; i' \0 G$ q
  46. ; previously set variable or directive (e.g. ${foo})' q" f: }' @# M1 j  t6 Q: e4 N7 u3 _  C

  47. 3 h  x" b! y  D1 l# g
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:4 Q" J2 S* B) Y( Q2 g8 P( j) s
  49. ; |  bitwise OR" K; m) A$ J) x  T
  50. ; ^  bitwise XOR
    & Q" D4 Q# ~- ?2 U
  51. ; &  bitwise AND
    2 r6 p  A7 [& B' z4 T
  52. ; ~  bitwise NOT5 w5 ^2 Y/ ^0 z: v
  53. ; !  boolean NOT! \4 U9 Q, Z8 H+ T, U

  54. . q2 J. p9 S& e
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    0 a& w5 K7 L6 v1 a3 E/ L
  56. ; They can be turned off using the values 0, Off, False or No.
    5 X; v7 O! R( n5 R5 [. R* u. P# [

  57. $ R5 ]& |' l; r& x7 S& S
  58. ; An empty string can be denoted by simply not writing anything after the equal4 D, L% ^' m2 G% T
  59. ; sign, or by using the None keyword:
    & C6 m& P2 f2 K5 k% ]4 {

  60. 0 q5 O+ o8 q: t7 t+ ?
  61. ;  foo =         ; sets foo to an empty string
    ' g4 L- _. T9 l4 q& p# O/ A
  62. ;  foo = None    ; sets foo to an empty string* S" D+ t2 I9 V: f8 `
  63. ;  foo = "None"  ; sets foo to the string 'None'
    " o* Q6 M( o* m' ]3 Y& _5 a
  64. 0 w9 Z+ l. h2 j2 p# X9 b- F9 Q
  65. ; If you use constants in your value, and these constants belong to a
    & M7 J1 l( p9 e# D* ~4 z
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ! h- K6 ?/ ]: e2 c2 ~; C
  67. ; you may only use these constants *after* the line that loads the extension.
    2 D7 }  u& O. L6 w; |$ @" h

  68. 9 d' H' c" p) I* x4 |! L( [; I. E
  69. ;;;;;;;;;;;;;;;;;;;. U  e$ f& f/ _; A7 u
  70. ; About this file ;) l- J, G3 s! @) X% m
  71. ;;;;;;;;;;;;;;;;;;;( R+ G1 D9 i' n# j/ k
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! ^+ G9 o6 z' N: x
  73. ; in production environments and one that is recommended to be used in8 E) U5 Q! r( j6 p& `
  74. ; development environments.3 O' j9 q2 e& D( X

  75.   f! b! {0 S/ b& B: e* t
  76. ; php.ini-production contains settings which hold security, performance and
    0 K, O7 I) A8 i' C. ]( d
  77. ; best practices at its core. But please be aware, these settings may break0 Q% ^1 c; |% C: a3 L. f
  78. ; compatibility with older or less security conscience applications. We4 V- ~5 W8 p4 c& R8 B
  79. ; recommending using the production ini in production and testing environments.' R, O! l8 R  g. e0 Q4 A
  80. $ M2 c' x7 J* ?9 B
  81. ; php.ini-development is very similar to its production variant, except it is! X) s5 x5 }5 {6 N
  82. ; much more verbose when it comes to errors. We recommend using the0 ?' y# J; f% J4 z
  83. ; development version only in development environments, as errors shown to  c- D$ K8 @2 s9 Y
  84. ; application users can inadvertently leak otherwise secure information.
    9 @- }/ g2 ], L# ~$ G7 W
  85. ) I4 b  F9 L+ J# ^' u1 c
  86. ; This is php.ini-production INI file.
    4 ?& C3 n; L0 j* g- D# C
  87. # ~, R% i2 o' q: H! k# \
  88. ;;;;;;;;;;;;;;;;;;;
    0 a$ x$ O, a. m/ Z! K* e
  89. ; Quick Reference ;
    0 W7 B% a* Y  L/ |1 S
  90. ;;;;;;;;;;;;;;;;;;;
    8 F5 P1 H4 h" R$ ^6 @: n
  91. ; The following are all the settings which are different in either the production
    ) |7 `$ g; r( L3 A& H' M
  92. ; or development versions of the INIs with respect to PHP's default behavior.# J6 f$ X, ]! R
  93. ; Please see the actual settings later in the document for more details as to why
    8 ]4 ~, R; k2 f' g
  94. ; we recommend these changes in PHP's behavior.
    ( P, G; c' v2 ?
  95.   L. e+ {% @3 E% [0 q% h
  96. ; display_errors
    ( f9 Q5 Z+ f0 e( X" s6 Z
  97. ;   Default Value: On) \" N6 f1 @0 k# l* n: u) o8 t
  98. ;   Development Value: On5 y8 m2 X1 _4 B7 Z& {& o# T
  99. ;   Production Value: Off
    # l* `  p7 x, A; Z

  100. 3 T9 e5 @: e+ u/ v6 {2 K
  101. ; display_startup_errors
    / f# `; D! K  F! V0 b- @3 Q+ E
  102. ;   Default Value: Off
    & u  A) c: ], O
  103. ;   Development Value: On  [" k: f7 i, Q! Y4 D( d
  104. ;   Production Value: Off; x$ T! L4 ]6 y: l5 @, ~; C- d9 r
  105. $ i0 ?. F. b3 [( f6 B, g% Q
  106. ; error_reporting$ P7 n$ j. k& v- W' y& [! M
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 ?  i1 m, C0 @& _9 e) U
  108. ;   Development Value: E_ALL
    % n& m) f3 q" s! ~8 U
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" ^  g: X* r8 o% E- |; I) g
  110. % u0 T+ H$ B: D( @# j
  111. ; html_errors
    6 c0 g9 I" X, e( j8 X8 o5 F
  112. ;   Default Value: On" ~! |& T& n/ g9 q1 q* o! d% V( v
  113. ;   Development Value: On
    $ F, _! @+ {( e- \  M; d: U
  114. ;   Production value: On
    0 r/ N7 c% j% E0 c7 r
  115. / A4 c9 g7 `. K2 d0 g, M6 j. t
  116. ; log_errors0 z- Q  H2 E" \; f
  117. ;   Default Value: Off% W0 G+ X5 [/ t- A! S6 p
  118. ;   Development Value: On7 f! X/ x, L- P$ o# h+ I
  119. ;   Production Value: On3 K% p4 J) S2 Z
  120. * ~* W. Y9 I; \
  121. ; max_input_time
    9 k& w5 \. g( v3 T4 ?4 w+ Y
  122. ;   Default Value: -1 (Unlimited)- L4 f' {+ Z" m
  123. ;   Development Value: 60 (60 seconds)! ^6 _3 R: `9 w9 I3 Q, ]: d
  124. ;   Production Value: 60 (60 seconds)# d8 O, E% \$ y: W1 X
  125. ! n4 U& M! t1 N, g( D5 ~6 R
  126. ; output_buffering  O$ s  O5 X+ v% D# ~+ l0 [
  127. ;   Default Value: Off
    7 s8 g3 b  Z3 K. F% Y
  128. ;   Development Value: 4096
    ' E6 m. Q) p8 I4 w: i: t3 C' @
  129. ;   Production Value: 4096+ L6 V  {! w( E; l, c5 \: Q9 ]
  130. 9 I: J% i' ~: D* U9 v
  131. ; register_argc_argv
    + ^* C' J6 N% p4 f
  132. ;   Default Value: On. S4 R7 T& [3 [+ z* ~
  133. ;   Development Value: Off
    2 [6 ]: |, J8 m+ |4 Y) l- X0 F" e
  134. ;   Production Value: Off
    ! k8 ]: @5 x  E* c9 N
  135. " R% X0 Z# G( X- M4 N6 a
  136. ; request_order
    - Y, h, j1 k& Z6 ?* A& o: @
  137. ;   Default Value: None% r4 T7 L/ d) V
  138. ;   Development Value: "GP"5 N- H. U6 Y& k: S+ B: J
  139. ;   Production Value: "GP"# x$ f: V) r( i7 i5 W7 {) |( W

  140. ! u8 L4 R! l9 e" j
  141. ; session.gc_divisor
    : W! c5 x5 P  n: M8 a. A' C' {
  142. ;   Default Value: 1007 g4 n7 r1 N+ }
  143. ;   Development Value: 1000
    # }  r- V5 f- x' X9 V* Q
  144. ;   Production Value: 1000
    9 m6 a. H: _4 E  d9 y5 S
  145. 6 x, k; k1 U0 E* f1 p4 O% l$ w
  146. ; session.hash_bits_per_character
    ) {2 b  b  t, d/ v
  147. ;   Default Value: 42 ?- ^' ]& o0 F3 s8 O
  148. ;   Development Value: 5
    2 Y2 U0 k: w( C# S9 t6 l
  149. ;   Production Value: 5' x3 E6 q7 V/ H/ z1 O3 h2 g

  150. 1 a$ U+ X' `" F9 U( m/ Z* |6 Z
  151. ; short_open_tag
    % R3 O+ _+ d% a2 C7 v3 l
  152. ;   Default Value: On
    ) y* l  M- `+ W% e9 A) f& k' T
  153. ;   Development Value: Off& w5 f, L  a! l' {7 i# b. g; _
  154. ;   Production Value: Off7 w; {2 ~6 {# G7 K! _/ N

  155. ; e0 b- O, B/ B  k7 A; B
  156. ; track_errors
    : _; z" K4 j( Z+ Z& d
  157. ;   Default Value: Off7 e/ M' V5 N+ v1 E
  158. ;   Development Value: On
    5 `/ r) F- a6 c3 C6 ?
  159. ;   Production Value: Off4 z3 x0 s1 u! y6 x) C+ i2 A
  160. ' P7 C4 L$ j/ n1 {. }
  161. ; url_rewriter.tags
    - v9 t$ F& q9 R& }: i
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
      N/ X# {+ l! J1 q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- }. u( `4 a* ?( i/ a5 j- D
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") [) b6 U, A' \9 N- \
  165. $ g( m) f1 u3 W
  166. ; variables_order* e% b0 M( a. {6 d
  167. ;   Default Value: "EGPCS"/ R; _. K- W) D% ]7 u
  168. ;   Development Value: "GPCS"7 J) V& k, K3 @8 M
  169. ;   Production Value: "GPCS"
    " a1 c) F/ }7 F& F

  170. ; @1 ~5 V% w2 I% D0 R
  171. ;;;;;;;;;;;;;;;;;;;;
    ) o9 c' `( a3 N9 z
  172. ; php.ini Options  ;" _" \  W7 G3 F* R
  173. ;;;;;;;;;;;;;;;;;;;;
    1 G" r8 X$ Z8 C) v7 ~( D% R2 F
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 E  i7 ^; L. }, R7 U- m7 {, a
  175. ;user_ini.filename = ".user.ini", S. i' q2 B* i* i
  176. 0 T) J' a5 F' c) u+ g
  177. ; To disable this feature set this option to empty value, q: ~) W1 D; D5 ?5 n' P) W1 X  d
  178. ;user_ini.filename =+ T4 G0 v8 L& F) F

  179. ' d/ I: I  u% r8 B5 G1 d1 r
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , D  e1 ?5 o5 x+ r" W
  181. ;user_ini.cache_ttl = 3007 l9 v# m) \/ e0 R

  182. " k1 t3 _5 R  I0 z7 o8 k
  183. ;;;;;;;;;;;;;;;;;;;;" H( \& w* r! o. s  v( ~) \% O* M
  184. ; Language Options ;/ V% v5 `/ A8 y, S+ r
  185. ;;;;;;;;;;;;;;;;;;;;/ [$ [8 c) ]  |/ G* }* B
  186. 4 d9 x  H$ w" q( S
  187. ; Enable the PHP scripting language engine under Apache.
    # u- n3 |  J/ I1 o
  188. ; http://php.net/engine% r+ y4 A! ^3 a2 H8 C( Y8 K) Y
  189. engine = On
    ; y7 q1 H5 w/ ?) Q: U! @" K1 a% T
  190. ) }$ P# |8 m  T, t1 k4 ^1 |
  191. ; This directive determines whether or not PHP will recognize code between7 w& b# @7 r8 l: M" F; o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    , t2 W6 B1 O. U/ i: l
  193. ; generally recommended that <?php and ?> should be used and that this feature/ _8 ^3 m9 b7 h& i5 q1 q: V* Y
  194. ; should be disabled, as enabling it may result in issues when generating XML$ d  [* r! v* R: S
  195. ; documents, however this remains supported for backward compatibility reasons.
    + \8 L+ R+ |; Z" Y+ s5 O
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    , y! L4 N5 u3 i0 \) A' R
  197. ; used regardless of this directive.; R1 M& c7 P0 H9 |6 w  z
  198. ; Default Value: On" e9 O! x% k* d& d1 Z& c" b1 ^
  199. ; Development Value: Off  H6 B/ n  T5 K
  200. ; Production Value: Off% F- I; P7 E$ a- {7 j
  201. ; http://php.net/short-open-tag3 W# }' a) m/ E7 \) @; V, I
  202. short_open_tag = On
    7 p- l6 _- j  J" {' M
  203. 8 @, V& K* l$ H, r( t4 i3 r2 ~% R; Z
  204. ; Allow ASP-style <% %> tags.6 m) N* J. p3 x5 q6 |4 {
  205. ; http://php.net/asp-tags4 t: H6 d( k8 y3 P
  206. asp_tags = Off
    8 C8 C- Z5 P0 |( A% A; d9 r0 Y
  207. 2 U9 b! P* [; l9 f% L) y
  208. ; The number of significant digits displayed in floating point numbers.0 s& ]* q2 A' Q% H& B
  209. ; http://php.net/precision
    ( M# I# y  h! f+ z  ~1 l
  210. precision = 14* a- i! ^* G# Z7 j

  211. + C) ?6 Q9 V- j7 x! o4 b: K
  212. ; Output buffering is a mechanism for controlling how much output data
    ! }6 l. _' y$ R8 p
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that6 y+ N2 G) r4 @6 q6 B0 g# J
  214. ; data to the client. If your application's output exceeds this setting, PHP5 z; T7 o& c0 b0 b' w
  215. ; will send that data in chunks of roughly the size you specify.
    . {9 _+ H1 W/ F9 i2 Q& z: X
  216. ; Turning on this setting and managing its maximum buffer size can yield some/ a) m% V' R  d# Y
  217. ; interesting side-effects depending on your application and web server.
    / W3 K7 n; Q9 l+ l
  218. ; You may be able to send headers and cookies after you've already sent output8 @4 N1 @# v; ~/ k9 b! [5 x& {2 h
  219. ; through print or echo. You also may see performance benefits if your server is
    " l, y8 d4 ~' k" ]$ f: `
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ) F; E$ }% U7 E: B6 E
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ) [* [4 q0 O7 U2 w
  222. ; reasons.
    4 `7 W8 s3 i' v) {: _
  223. ; Note: Output buffering can also be controlled via Output Buffering Control5 f9 ~% ?  U/ a( }5 L( `
  224. ;   functions.2 b& @. U$ @: t% V
  225. ; Possible Values:6 p! a+ D% t, F0 q9 o
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( U2 V* w# V& f7 `: F- J
  227. ;   Off = Disabled
    % G7 {% E0 S- R2 t2 g: |' p1 F' C
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    0 V! O& T3 o. l- I1 O
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 h" `5 c# j- g2 B$ h
  230. ; Default Value: Off0 a2 a# H4 p* l5 a* N1 c% {* @
  231. ; Development Value: 4096
    * |: X, ]- U6 w- U' {5 w4 v  ]- F* ~
  232. ; Production Value: 4096: P3 t- E* Z7 G/ |
  233. ; http://php.net/output-buffering
    ' a& P- f# w, S1 E
  234. output_buffering = 4096
    " u; [  F# ^" k  ~
  235. 5 B0 {( ?# H7 m4 m; B$ m+ L
  236. ; You can redirect all of the output of your scripts to a function.  For
    6 @7 ~3 M9 V& S6 ~. K- Y1 K
  237. ; example, if you set output_handler to "mb_output_handler", character3 z! p  l& m( m1 O& w" W- Q
  238. ; encoding will be transparently converted to the specified encoding.
    " N* W0 q3 U% i2 x: j
  239. ; Setting any output handler automatically turns on output buffering.
    4 U6 L) Z& u. @* M+ g( o
  240. ; Note: People who wrote portable scripts should not depend on this ini
    3 o+ |) N: \; D' n" @
  241. ;   directive. Instead, explicitly set the output handler using ob_start().5 b+ x# B; W3 _" N* c
  242. ;   Using this ini directive may cause problems unless you know what script
    1 a" e2 t: E$ E6 `7 ^
  243. ;   is doing.; h. e( s$ H! Z2 }! y& Z, U
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"8 F8 F2 f8 b' x4 u! U1 H! F
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    & w- t+ Z5 l, t# C
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 G, m' y4 }2 z/ q5 z* m, Q9 i
  247. ;   Instead you must use zlib.output_handler.
    . e. J2 [7 }! ~. J5 N: j5 J7 u
  248. ; http://php.net/output-handler
    7 q( G5 f6 x7 B- P
  249. ;output_handler =
    3 ?, o$ f- {% n
  250. , j; e& V( }  b! J
  251. ; Transparent output compression using the zlib library
    8 z3 Z1 P, [/ ^4 N
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ' q6 ^( [& k" i! O" D4 P( k
  253. ; to be used for compression (default is 4KB)
    $ K% s, D" V1 m/ F. _
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 u6 k' w) h7 I8 I% s% J3 P- q4 k8 h
  255. ;   outputs chunks that are few hundreds bytes each as a result of, _+ K! s- J  Q3 E2 V6 ^
  256. ;   compression. If you prefer a larger chunk size for better* I9 O! b3 O+ v$ E$ y
  257. ;   performance, enable output_buffering in addition.
    - b) @! U# Z$ v9 \1 Q: H3 ?
  258. ; Note: You need to use zlib.output_handler instead of the standard# f; p) j0 h# ?, e
  259. ;   output_handler, or otherwise the output will be corrupted.
    # |& F4 L- ^8 x( Q7 i1 X& ]- R: s: \
  260. ; http://php.net/zlib.output-compression
    5 ]% A/ x% M# |
  261. zlib.output_compression = Off. |! |& O+ U' i' C0 p

  262. ( {" O- g/ T, P, _+ ^: |
  263. ; http://php.net/zlib.output-compression-level
    2 U3 [0 x- y7 `$ E# D! p& t1 z
  264. ;zlib.output_compression_level = -19 c, x6 B/ a" a7 U  j8 U% V! i

  265. 3 o% R' N: }( @
  266. ; You cannot specify additional output handlers if zlib.output_compression
    4 y& B, V) N& ^; A* m
  267. ; is activated here. This setting does the same as output_handler but in6 O! U% R0 G2 _  }2 a
  268. ; a different order.5 b. m+ }% l; S' W
  269. ; http://php.net/zlib.output-handler1 [0 s. j$ H4 J4 o" S
  270. ;zlib.output_handler =2 W/ J6 B$ T" @8 @% P% N4 R
  271. 3 |" j# b; f* D7 {- w% b
  272. ; Implicit flush tells PHP to tell the output layer to flush itself9 D1 H# X+ ~# Z% p) d5 i' \* r
  273. ; automatically after every output block.  This is equivalent to calling the7 S* |/ ]$ G5 [3 ~: o3 Y
  274. ; PHP function flush() after each and every call to print() or echo() and each! n2 }# p8 r% g* b
  275. ; and every HTML block.  Turning this option on has serious performance: f6 w) v% U& d( u: `6 w4 h# z  w& G
  276. ; implications and is generally recommended for debugging purposes only.
    5 b; \7 q, g+ n' E* t
  277. ; http://php.net/implicit-flush
    % n- x6 s9 d/ }8 \6 E
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! ^1 j2 E! `! j
  279. implicit_flush = Off
    ; T8 p& J- H6 Z( O
  280.   {  I& c& |' C  K' Z# d
  281. ; The unserialize callback function will be called (with the undefined class'
    + H( {1 [4 F- p' s" Z
  282. ; name as parameter), if the unserializer finds an undefined class9 E- m0 e/ M$ o
  283. ; which should be instantiated. A warning appears if the specified function is
    6 K0 h7 G+ D) ?, M4 z) B
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ; d9 ]# Q+ B" ^, W' j* l2 _4 w1 a
  285. ; So only set this entry, if you really want to implement such a7 x: ]2 Y$ j# e
  286. ; callback-function.
    8 P! n# O' b) O! c2 H: ~) U
  287. unserialize_callback_func =' g8 \" ?5 G- ]0 a  C

  288. / U: D% x& H0 T' [6 k* M1 ]1 F
  289. ; When floats & doubles are serialized store serialize_precision significant
    $ T$ j# y( ]  x5 x
  290. ; digits after the floating point. The default value ensures that when floats" X% [2 W2 \- d+ z! _3 C1 Q
  291. ; are decoded with unserialize, the data will remain the same.: W9 C+ S7 H& q# ]( G9 L7 b1 Z
  292. serialize_precision = 17
    4 R& {4 Y4 F" |! e+ j0 K( y5 M

  293. / Y. J- q! J) d" i5 p
  294. ; open_basedir, if set, limits all file operations to the defined directory! f, O' Y- s# R! r9 X* c$ ^
  295. ; and below.  This directive makes most sense if used in a per-directory
    ) w0 n) v8 c  E
  296. ; or per-virtualhost web server configuration file.
    ) ~6 h5 z3 Y! U3 l: G) l# X6 p
  297. ; http://php.net/open-basedir
    5 _" L+ [4 s+ N; o  P& U3 C# h
  298. ;open_basedir =
    / q2 V' W: V5 k+ T0 {

  299. . l: d, Q; a& e" w: B1 d
  300. ; This directive allows you to disable certain functions for security reasons.
    - r2 e3 }$ z2 R3 P8 i  O, ^
  301. ; It receives a comma-delimited list of function names., X& X1 }0 c% }4 C. Z0 m. [" F
  302. ; http://php.net/disable-functions9 D+ g( I) O* l4 j
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    , O& i# F7 Q  [6 W, |2 u  o

  304. 0 l: F9 t: S$ w0 ]+ k1 K; ?, E6 ^
  305. ; This directive allows you to disable certain classes for security reasons.3 O$ j% D, g) q1 @
  306. ; It receives a comma-delimited list of class names.* x4 z4 i- @; U, L; w4 E( o
  307. ; http://php.net/disable-classes6 l1 k6 E, k( q
  308. disable_classes =
    ) \1 y7 w. i2 Y7 j" A! E

  309. : d9 T; R1 S3 O" P3 C% G
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in% y* \+ [; u4 p! D8 e+ f
  311. ; <span style="color: ???????"> would work.
    - b; G5 i4 L/ r$ d
  312. ; http://php.net/syntax-highlighting
    6 {8 |) _, W7 B( N0 A3 K% p6 ^0 a0 m5 g
  313. ;highlight.string  = #DD0000' f+ T9 K3 s. J3 w; x* T
  314. ;highlight.comment = #FF9900% `2 a9 s7 p3 F$ |  Q3 Y$ j- y6 S
  315. ;highlight.keyword = #0077001 q+ x/ \/ ]- o
  316. ;highlight.default = #0000BB
      u- T% Z& i9 V+ m" C" l" Q
  317. ;highlight.html    = #000000# u% J0 X* w; a  ~: H

  318.   ]0 Y! w% A/ Q3 A: C+ v1 L
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    - O1 q. T9 v' w: I' i+ T, F4 f$ y
  320. ; the request. Consider enabling it if executing long requests, which may end up. u3 Z' U/ t( I; ?; @( s
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior. ?1 ?6 b/ `1 A8 I7 _! s2 k
  322. ; is to disable this feature.
      B9 k3 c+ o* z2 T6 f
  323. ; http://php.net/ignore-user-abort5 I) X5 i: J0 f* ~# R& X
  324. ;ignore_user_abort = On
    " c3 L7 j  s  k9 _
  325. 5 k6 ]- Y- w9 }, k6 [" I% ^
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 ^2 S9 ^/ q1 Y
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    1 f0 W; V6 o, T) K  |- t- b! |
  328. ; the file operations performed.
    ' r9 V/ X+ `% X6 o: g# P
  329. ; http://php.net/realpath-cache-size+ b( U4 |, H% W0 e( P
  330. ;realpath_cache_size = 16k" N2 e) b* s) A/ n8 P* U( s; v

  331. 6 L7 g. O. W# V3 Z- v  @8 d
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ' m2 b3 t* ^- v& ^5 Q
  333. ; file or directory. For systems with rarely changing files, consider increasing this& r7 J( M# C2 U/ s5 j8 W. W+ x2 q
  334. ; value.' q6 b* {6 O. L" h0 Y
  335. ; http://php.net/realpath-cache-ttl0 ?, S: n* l& \  v2 M# ]
  336. ;realpath_cache_ttl = 120: G2 m4 ^" d7 m- A; z3 A
  337. : y3 o  f! J3 ]7 w* p% {
  338. ; Enables or disables the circular reference collector.
      m& L9 A. M. g/ G% s; G- M
  339. ; http://php.net/zend.enable-gc; {- c' f8 `! ~8 C, U& T
  340. zend.enable_gc = On/ A2 m6 p6 ~2 m; B( Y& w% `0 \9 H
  341. 5 B0 J/ A4 y# c4 {
  342. ; If enabled, scripts may be written in encodings that are incompatible with$ \/ ^+ ~0 l5 v* |4 o
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ! H' p5 {4 \3 f' j' E7 m0 |9 s7 O
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    4 J6 G2 B$ T: u6 k" O
  345. ; Default: Off1 s; K" o" {: `1 N& z: R' Z0 D, V
  346. ;zend.multibyte = Off/ u  d+ n9 s  j( b6 m9 Z5 i0 D  h5 k
  347. 9 U( G2 z/ l! {6 \
  348. ; Allows to set the default encoding for the scripts.  This value will be used7 P8 B7 a- g5 M& [; a8 x7 V
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.  w3 m  r6 p  }* E8 [
  350. ; Only affects if zend.multibyte is set.$ V# G# C  [+ \# K( r$ j+ z
  351. ; Default: ""# Z5 W2 F& @' O6 z5 W1 k/ x
  352. ;zend.script_encoding =
    # |' m$ j5 V, N3 u) d

  353. " `% f, C' \1 Z
  354. ;;;;;;;;;;;;;;;;;+ B5 S3 F% A! i) c
  355. ; Miscellaneous ;
    4 ~9 ^2 l+ Q3 Z+ N9 w% G" k
  356. ;;;;;;;;;;;;;;;;;
    / @0 _4 j+ R" l; |

  357. # d, c* ?/ ?6 ^4 s& A. p- ^1 y! D
  358. ; Decides whether PHP may expose the fact that it is installed on the server" Y0 O) X' C6 y+ R1 a
  359. ; (e.g. by adding its signature to the Web server header).  It is no security6 W4 l9 y& ?: |% s
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    & U, M9 d, h+ k+ D8 i  Q
  361. ; on your server or not.1 C  J3 R7 t* }+ M9 z
  362. ; http://php.net/expose-php
    " [" W1 C0 Q# R9 k# Y. y( B
  363. expose_php = On
    2 k  G1 o( C! @6 ^! ]

  364. ! E$ y6 Q( r$ V& [( A& v" ]
  365. ;;;;;;;;;;;;;;;;;;;0 t* Z0 p& M) Z
  366. ; Resource Limits ;- @& O2 X7 |6 R* h1 K
  367. ;;;;;;;;;;;;;;;;;;;: Y% m9 [4 g3 ^) X; k" b

  368. + i: {* `3 c4 b6 V
  369. ; Maximum execution time of each script, in seconds
    * L# E3 p6 _+ y9 |2 z6 N
  370. ; http://php.net/max-execution-time, j6 J- f( M4 N8 [
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    / C3 X3 c% c  l/ W  @% H5 c. k4 {
  372. max_execution_time = 300# G4 p2 _$ M( g6 p

  373. 1 T1 p& F( G& w2 w+ k2 N
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    5 W; u! K4 }: F
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    : |& z' k$ z. t/ x0 Z8 @3 C' j
  376. ; long running scripts.
    4 n/ z: J, t  G: |* B- h
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      {4 r4 Y% T' Y. b. `( w
  378. ; Default Value: -1 (Unlimited)
    . K/ g0 g5 H% m; Z, v& u
  379. ; Development Value: 60 (60 seconds)
    . B4 F- D: K$ r
  380. ; Production Value: 60 (60 seconds)
    ) P, t( \% r. T) R& Y" b4 u
  381. ; http://php.net/max-input-time" e' E% Q+ E1 l
  382. max_input_time = 60
    . J2 T' y6 g: M1 r3 W
  383. 9 c& f) ?6 M; n2 i$ j1 }# e$ [
  384. ; Maximum input variable nesting level$ _/ V$ |. j! j9 G/ k; d
  385. ; http://php.net/max-input-nesting-level9 r# d- P  A/ z% b- C
  386. ;max_input_nesting_level = 649 x: x8 p5 I2 j* v. h& T2 g8 N( X
  387. - W7 C! W! ?) O# M+ ?8 E
  388. ; How many GET/POST/COOKIE input variables may be accepted0 Y7 R3 F. Q) \  j! G! \1 t
  389. ; max_input_vars = 10002 g: m; \9 X+ X# g; E1 w  Y* m# n

  390. 5 x% S4 U' k) s7 }8 U) m* M
  391. ; Maximum amount of memory a script may consume (128MB)
    ( Z6 Y  J6 F4 M
  392. ; http://php.net/memory-limit
    / u3 |5 Q; E3 y0 Q4 n
  393. memory_limit = 128M& b/ d" @( K" X3 t# j

  394. 9 }1 _7 v$ W! D4 ?
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' s! M1 d8 @. |0 k+ n) [( O) c
  396. ; Error handling and logging ;" T3 \: l+ q5 x& y
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + m8 u6 @9 |& y" {+ m) [7 Y
  398. ' e% Q9 I$ @5 U$ W2 S$ P
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    / F5 c& j9 R5 e6 V/ D+ f
  400. ; it to take action for. The recommended way of setting values for this9 s. T9 u# C' i
  401. ; directive is through the use of the error level constants and bitwise7 [- U7 Z/ s6 j; D/ z5 y" Y
  402. ; operators. The error level constants are below here for convenience as well as. K$ C( \+ e5 u2 O7 @  X6 s
  403. ; some common settings and their meanings.+ w7 \9 F" d! c) Q$ [+ b2 q
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* J1 c1 A8 o3 e4 `- w3 r
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and- l" X1 H/ b+ g: v: G+ Z) I
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ; c' Y# }# r' E2 U
  407. ; recommend error reporting setting. Your production server shouldn't be wasting8 i. e$ ~2 v4 O, j0 t% L
  408. ; resources complaining about best practices and coding standards. That's what
    ' e$ K% Y, e/ E( g, i' R, c6 R3 ?
  409. ; development servers and development settings are for.# k% i2 H  e0 e# V) `
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    " P- @% W  R1 |7 M3 a
  411. ; means it pretty much reports everything which is exactly what you want during
    1 Z) A5 \3 V3 t, P0 s, U, }! T
  412. ; development and early testing.
    ! z& L3 k& g9 M7 e
  413. ;6 b/ D$ U# |. `  x! R3 H
  414. ; Error Level Constants:
    . F( \, g: A: P. c
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    . S5 S7 d6 Y0 u5 P8 l/ m
  416. ; E_ERROR           - fatal run-time errors6 T( a! k% `: @! `' E
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 ^) A& {- X$ r0 r% b7 X+ L+ C
  418. ; E_WARNING         - run-time warnings (non-fatal errors)" R$ F9 o% q; m# Q
  419. ; E_PARSE           - compile-time parse errors5 Y7 {% X4 i: s
  420. ; E_NOTICE          - run-time notices (these are warnings which often result4 n- X+ W1 J$ S# D2 D
  421. ;                     from a bug in your code, but it's possible that it was
    . B# y4 N/ K2 t: W8 n
  422. ;                     intentional (e.g., using an uninitialized variable and
    6 ?* |% D1 s$ s1 Z* U
  423. ;                     relying on the fact it is automatically initialized to an8 v! G8 e) T; Y) T
  424. ;                     empty string), T4 q  |" d3 Y) P) D9 i4 q
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    6 @$ r0 `+ l& x6 |, O
  426. ;                     to your code which will ensure the best interoperability
    " Q; \4 t9 S4 R( U3 D# o
  427. ;                     and forward compatibility of your code
      K, x9 H2 ]2 `1 p. \
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    5 V9 R" Q( w1 {$ g
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % G4 m1 m( x1 r
  430. ;                     initial startup
    2 i7 C3 c6 J% V4 x
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ; ~( q. [3 y9 z7 q! ^
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 [- G6 i7 v) c( c. m, [* Q
  433. ; E_USER_ERROR      - user-generated error message
    6 a$ |3 h" R* h! G+ @1 k3 D
  434. ; E_USER_WARNING    - user-generated warning message$ O4 I. U, v7 k9 v
  435. ; E_USER_NOTICE     - user-generated notice message
    . E+ j1 k* S" a8 Y$ R5 d0 s! B4 G
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    " Z+ _& d8 i" f+ e& U. h
  437. ;                     of PHP
    " K2 H4 _; y0 ^& X
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 V0 j# g; e) u) r3 @
  439. ;3 @: G  c8 o0 L
  440. ; Common Values:2 T2 W2 R' ]3 o0 ?& A) n3 j; f: X& H
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! a) Y% R( P' ^+ U0 M1 A
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)4 u: \  I+ Z. e% O- t
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.). D* |& u' G6 a4 \# W
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " h! d- ~( T& y$ |
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) i0 B% C- w" Z8 A6 n' z
  446. ; Development Value: E_ALL
    0 A( I# ^+ T" [
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! }  j$ T2 q3 ~# n6 j
  448. ; http://php.net/error-reporting
    7 A: _  e9 P9 X8 S0 s
  449. error_reporting = E_ALL & ~E_NOTICE! t% X4 l9 @: R4 |
  450. ; s( Z$ z# R2 \- J+ l3 y
  451. ; This directive controls whether or not and where PHP will output errors,
    : L& Z# g$ L& m
  452. ; notices and warnings too. Error output is very useful during development, but
    4 s, Z: U! ~* j- {! L
  453. ; it could be very dangerous in production environments. Depending on the code; R, d$ O& I+ K! _* N% N
  454. ; which is triggering the error, sensitive information could potentially leak& M; y5 l4 d( S- @" _& B( e
  455. ; out of your application such as database usernames and passwords or worse.% ^6 }% [7 s0 Q* {! }
  456. ; For production environments, we recommend logging errors rather than
    3 @6 ?. T  ^) N
  457. ; sending them to STDOUT., g  U& [) {1 a' I: T: _
  458. ; Possible Values:4 `: k# t( t6 J
  459. ;   Off = Do not display any errors4 l9 l. p( f. L3 g8 G8 e' @2 G7 G
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 a% z; ]+ C' I# R% e! u
  461. ;   On or stdout = Display errors to STDOUT
    " L- @$ U# u% X6 }1 K' X
  462. ; Default Value: On
    - f8 _! K. v+ n. {- d/ C; Z
  463. ; Development Value: On
    - ~' C* c& W' U, O: f
  464. ; Production Value: Off
    " e( d. B5 O3 Q
  465. ; http://php.net/display-errors" C+ l" e( K  I/ `& w5 W
  466. display_errors = On
    # v9 G' [2 E* y. T

  467. ; a4 S' C% J- X1 K; }
  468. ; The display of errors which occur during PHP's startup sequence are handled- y, ?6 Q. j, @8 H* E& z% |+ M4 \
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    * }! M: d  f& I& M0 Y
  470. ; errors from clients. Turning the display of startup errors on can be useful in6 t8 \0 t6 M% V4 [% f
  471. ; debugging configuration problems. We strongly recommend you5 ]$ g3 T3 W2 A% I# B& C
  472. ; set this to 'off' for production servers.
    # y# N3 {* E4 t" ]7 g/ N
  473. ; Default Value: Off+ u$ F# k4 a; i
  474. ; Development Value: On
    ( m* K$ Y, |, W! k7 e5 V
  475. ; Production Value: Off
    % V3 ~2 c& x2 w$ l* t
  476. ; http://php.net/display-startup-errors
    : u& {9 Q' t# V$ g! h
  477. display_startup_errors = Off# u( {6 G6 X5 P, z) m/ L0 H' s" z: z4 T, m
  478. $ v0 I* M" X4 |$ d5 O3 f
  479. ; Besides displaying errors, PHP can also log errors to locations such as a7 ~5 g4 o/ l# r. J5 _
  480. ; server-specific log, STDERR, or a location specified by the error_log# m9 N- [/ l+ m. I# E9 T& S
  481. ; directive found below. While errors should not be displayed on productions+ D4 k, B7 v3 P* a0 y( A" k/ G
  482. ; servers they should still be monitored and logging is a great way to do that.
    ) O& T8 E8 {6 ]9 R
  483. ; Default Value: Off: j, k* I5 ~8 ~0 D
  484. ; Development Value: On
    ) g8 z4 o' e6 W  ^/ B( v) z
  485. ; Production Value: On4 G/ a# S0 F8 C7 Y+ ]9 t0 y
  486. ; http://php.net/log-errors$ n" F  W6 M, P
  487. log_errors = On
    7 Y# \$ p- x" G8 m
  488. - ?4 ]# Q3 b, G
  489. ; Set maximum length of log_errors. In error_log information about the source is
    . A% P/ q2 }3 J9 u0 J! o0 O' ^8 a
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    7 E" N! T6 S$ Q6 b9 a
  491. ; http://php.net/log-errors-max-len1 X& f8 Z% G4 w8 G. K
  492. log_errors_max_len = 1024) W9 y0 j6 g0 ?) Z. q. _
  493. 6 m$ O+ S, }5 U! K9 p) q% }
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same- v) l  T$ M+ y
  495. ; line unless ignore_repeated_source is set true.( \7 W! @! B/ v
  496. ; http://php.net/ignore-repeated-errors
    + Q& h  E* R2 ]( |0 Q  x
  497. ignore_repeated_errors = Off' @* w" E0 B3 b

  498. ! x, S  F% t" n- [
  499. ; Ignore source of message when ignoring repeated messages. When this setting# a4 G$ S" n' }& k
  500. ; is On you will not log errors with repeated messages from different files or$ E4 ?7 E4 X' F8 S0 s
  501. ; source lines.- X( F. w! q! {5 @5 k
  502. ; http://php.net/ignore-repeated-source
    . r% q; B0 M$ i" L
  503. ignore_repeated_source = Off
    $ z' I& ~- f2 H% E6 g; ~
  504. ! ^& j+ ]# e  W( f
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on/ D& |/ E8 z# l* M! `9 t5 S
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    3 U; {0 i9 b$ A; ^) H
  507. ; error reporting includes E_WARNING in the allowed list
    2 I" o( d4 f5 G3 m0 J
  508. ; http://php.net/report-memleaks
    " j1 |% u! q3 e7 l: `
  509. report_memleaks = On9 {* m2 v- w- j% `, W" m
  510. ; [. K2 W. V# S: t) P4 U1 D
  511. ; This setting is on by default.
      ?  m& I- y5 _+ h/ w, d$ A8 u& h
  512. ;report_zend_debug = 00 C! j( K! Y8 \0 {* g8 t, [
  513. ! G0 d( c& T) ?- N9 @2 u$ z0 @
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value  N. Y4 n, U" `' h
  515. ; to On can assist in debugging and is appropriate for development servers. It should) M- |2 x. T2 l6 G+ G: ?
  516. ; however be disabled on production servers.
    + _0 B+ q, W& h; f$ ^, c) q2 L
  517. ; Default Value: Off
    & H4 a% R! f. ]2 C3 C9 d! i
  518. ; Development Value: On
    + v- u" C* N' p5 n; T& @
  519. ; Production Value: Off
    ( i2 s" g' N0 {* K9 [# v# f8 o4 h* w
  520. ; http://php.net/track-errors
    0 }4 w+ ^( [$ e) H: w# U; }$ {
  521. track_errors = Off
    % N$ C  w' w+ F( ?5 ]

  522.   S8 u2 W% y4 Y2 X1 I: ~7 m
  523. ; Turn off normal error reporting and emit XML-RPC error XML% b7 v1 J4 m+ y- w
  524. ; http://php.net/xmlrpc-errors5 Q4 e" O3 N& S4 s! Y  _3 D
  525. ;xmlrpc_errors = 0
    ! w0 A. C2 O# w. P. m, p& _3 ?& g1 X
  526. 6 {% h( D9 T2 k" [8 r- K" \  K) [
  527. ; An XML-RPC faultCode
    6 w! {! G' \+ G# j& W' G# \
  528. ;xmlrpc_error_number = 0
    4 u+ ?% N' z6 V/ R& `1 ~) M

  529. . n3 S8 g+ k0 ^* Q# M
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ) |, X  ^4 S+ _4 b
  531. ; error message as HTML for easier reading. This directive controls whether
    ! p: ?. I: A4 N" T; g( y  _! S
  532. ; the error message is formatted as HTML or not.
      ^* [6 q+ ^- h# L3 W+ I: `- Z$ j0 O
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI. g2 K7 C3 j3 l# i6 M0 V
  534. ; Default Value: On" R1 _/ W# f7 N8 a4 G7 o$ n- I
  535. ; Development Value: On* q/ W( ^* X$ e; p! M
  536. ; Production value: On& |/ ^$ Y4 Q, S6 \) p- w" v
  537. ; http://php.net/html-errors
    - m6 A& `# t: G4 E4 _( o0 [
  538. html_errors = On* R! M+ w+ K4 ?: _6 l4 z
  539. 0 M! m: f% }4 {5 D
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ' Z- [/ p; L% v7 P, i* S1 c
  541. ; produces clickable error messages that direct to a page describing the error3 E( N& ]7 _( H* d' E
  542. ; or function causing the error in detail.
    $ r+ s) h! j6 K
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    8 s+ u( k- V6 @" C
  544. ; and change docref_root to the base URL of your local copy including the
    , a/ b' Y( e' m' O
  545. ; leading '/'. You must also specify the file extension being used including
    3 o- _) F  X) b! L5 W
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which  U1 E" y7 x1 @
  547. ; case no links to documentation are generated.8 s( B/ `& t! l, C* N
  548. ; Note: Never use this feature for production boxes.
    , O, ~( g0 }* f' `7 W7 A9 F4 \
  549. ; http://php.net/docref-root* A" l/ [3 h" {" i2 e: H
  550. ; Examples
    8 H1 \4 q! j& ?. |$ y
  551. ;docref_root = "/phpmanual/"
    1 ~! w5 D" Q0 s+ z% T8 {+ H# s
  552. # X: N9 P- f- U- }# k5 Q+ V
  553. ; http://php.net/docref-ext
    ' C: S0 _2 V- r8 e
  554. ;docref_ext = .html
    $ N! V# r% M0 Y( w3 q8 U
  555. ! V! [" G+ c0 t1 }/ D6 M
  556. ; String to output before an error message. PHP's default behavior is to leave" R- n6 H- H* R$ c
  557. ; this setting blank.4 b5 U' ]! S9 @& T4 r* J6 a
  558. ; http://php.net/error-prepend-string. {% u, z$ R. ^
  559. ; Example:3 B& @" _9 t1 x. Z! J) x
  560. ;error_prepend_string = "<span style='color: #ff0000'>"4 [9 W& ?) J4 M
  561. 7 a. [8 O7 a# W- E) z  T& @7 ?) G
  562. ; String to output after an error message. PHP's default behavior is to leave
    3 S+ P0 ^3 Z, o7 z3 T" M
  563. ; this setting blank.8 E( X+ U/ |0 }+ h3 |# a
  564. ; http://php.net/error-append-string
    7 G# y+ ^1 q0 {# R, d$ U
  565. ; Example:9 U* X4 c$ S, Z; F
  566. ;error_append_string = "</span>"
    3 N  ]- q$ g* ^/ s8 A4 e2 q
  567. 8 d$ X* |& g' ^! j8 p
  568. ; Log errors to specified file. PHP's default behavior is to leave this value! l7 p1 X% b. }; _; w' a
  569. ; empty.
    8 A% T- K! ?8 R4 t. U4 g; r
  570. ; http://php.net/error-log
    , E, v7 s5 J) E- n8 P( k( D4 n+ m
  571. ; Example:
    + U6 b) h* E- O) X4 }
  572. ;error_log = php_errors.log0 ~( f; @4 R* z+ E* M+ Y
  573. ; Log errors to syslog (Event Log on Windows).
    8 |; X. T+ _/ ~3 |
  574. ;error_log = syslog9 n' b, \- E: f+ d0 X
  575. - m" w/ Q- F3 b! A, Y
  576. ;windows.show_crt_warning
    ) B/ z# k* l( S6 V  _- B9 Q
  577. ; Default value: 0. j/ q- N0 |* P% J9 C$ f
  578. ; Development value: 0# ]9 g! F  `, Y; i2 }2 c1 `
  579. ; Production value: 0
    3 m  p+ q4 T1 q: w4 j
  580. ; s/ e2 l- k. H
  581. ;;;;;;;;;;;;;;;;;7 _$ E4 P3 p+ U: o6 c) S- @" w. o' w
  582. ; Data Handling ;
    : D2 U( N: G0 F7 i' x- C
  583. ;;;;;;;;;;;;;;;;;: K% r) a  F4 m# C  U8 R: y# |
  584. 9 C% X0 W( T% K- e
  585. ; The separator used in PHP generated URLs to separate arguments.
      P3 Z* W0 \8 _8 \# Z- k
  586. ; PHP's default setting is "&".
    ! r" Q( ?5 d" a1 z) F8 S7 \
  587. ; http://php.net/arg-separator.output1 r& Q0 I& P6 K0 z* K7 X& A
  588. ; Example:
    7 x5 J  r" H/ h  b8 O4 ^* d. {
  589. ;arg_separator.output = "&amp;"1 a7 ~  H% i# i1 H
  590. 6 j0 |7 x3 v6 M/ W5 T" d8 ~
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    . I# ?. o- q+ S0 T3 v
  592. ; PHP's default setting is "&".- Q  X: R7 T6 U! u3 N! q
  593. ; NOTE: Every character in this directive is considered as separator!+ L4 ?5 M. v6 s
  594. ; http://php.net/arg-separator.input
    # r% h+ P4 F% N  o9 T" l
  595. ; Example:- g3 n8 o" B4 t- O4 j  F" W
  596. ;arg_separator.input = ";&"
    ; I. E) Z- k& P0 P6 k7 [8 A
  597. # y# {9 U! Q& v2 ]; H, N
  598. ; This directive determines which super global arrays are registered when PHP0 Z0 o  h7 Q. j, W
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super9 m& g0 N, n: Q+ h9 ^- G
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    , Y# i3 k- @6 w6 y8 [+ l/ h
  601. ; paid for the registration of these arrays and because ENV is not as commonly' y3 S, x$ V% A8 @1 P0 ?6 h0 v
  602. ; used as the others, ENV is not recommended on productions servers. You
    / i4 b3 l/ g1 n9 X3 m! l
  603. ; can still get access to the environment variables through getenv() should you
    4 @! a3 O/ X4 ?, x
  604. ; need to.
    ; r) [9 c  F! e* {
  605. ; Default Value: "EGPCS"0 R- D3 c$ K5 G8 o
  606. ; Development Value: "GPCS"0 e) h! y, B' a. w/ D) P+ v! l
  607. ; Production Value: "GPCS";3 d. P6 S6 @! x* C
  608. ; http://php.net/variables-order8 R1 v3 s) M  c3 F% X
  609. variables_order = "GPCS"
    9 Y" h- d6 o6 L0 i1 C# ~

  610. * S( H3 x1 p/ A8 O. T
  611. ; This directive determines which super global data (G,P & C) should be# ~" F0 x: q2 n: }7 v$ F
  612. ; registered into the super global array REQUEST. If so, it also determines5 b4 l  F7 ]4 Q; v+ f
  613. ; the order in which that data is registered. The values for this directive
    0 x5 E: y/ c4 x# W
  614. ; are specified in the same manner as the variables_order directive,
    " b* b. p9 [% U6 M
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    3 ^% i6 p# J5 S  [6 d! X
  616. ; in the variables_order directive. It does not mean it will leave the super; l/ [  d, P  \
  617. ; globals array REQUEST empty.
    4 ^1 D, l3 `! w0 o, {' Z
  618. ; Default Value: None
    1 z8 j0 J8 ?7 F) E; U) U" a$ z
  619. ; Development Value: "GP"' M4 E5 u+ b2 r& }  b
  620. ; Production Value: "GP"
    ' R: U- S+ D" N- G; w% D
  621. ; http://php.net/request-order
    - Y0 |, W2 k% s" i
  622. request_order = "GP"
    ( ]4 _6 R2 ]' I1 y

  623. 2 m) t  J. s+ d) `" h
  624. ; This directive determines whether PHP registers $argv & $argc each time it5 z& A5 |2 _7 g$ D  f( p0 O+ w
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script/ A( ]7 ?& x- s$ a* Y! D
  626. ; is invoked. $argc contains an integer representing the number of arguments3 i. N4 f2 W1 [* M- d2 v$ U$ y9 r
  627. ; that were passed when the script was invoked. These arrays are extremely2 ~: U& k7 V- @- E' |
  628. ; useful when running scripts from the command line. When this directive is  [. {4 [2 @6 ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time# ~7 N3 b2 [' o7 G/ }- P
  630. ; a script is executed. For performance reasons, this feature should be disabled
    7 O3 K# i$ G/ d' w% e& I! G
  631. ; on production servers.4 _/ Y7 Q5 c' M
  632. ; Note: This directive is hardcoded to On for the CLI SAPI: F4 e' o! |6 z9 f* X8 I
  633. ; Default Value: On
    9 J+ z+ g2 x0 |, r& T1 g; G' l
  634. ; Development Value: Off, c: S( u, `. f% @
  635. ; Production Value: Off: J9 y' m; t; _
  636. ; http://php.net/register-argc-argv
    2 h+ M' e9 y- B0 @1 T# B
  637. register_argc_argv = Off" Q% q+ f; l. i; p7 a. u

  638. 0 J6 o( O% f4 Z5 n# U) F
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 i% V. X3 X- j5 k% L
  640. ; first used (Just In Time) instead of when the script starts. If these8 b$ f6 x) M% j2 ]/ \+ D3 s% o
  641. ; variables are not used within a script, having this directive on will result
    4 n; N' r3 B  d% j/ @" r
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled( w0 D+ O+ D2 ^
  643. ; for this directive to have any affect.
    : h  p! j7 j' |2 u* V2 @9 R
  644. ; http://php.net/auto-globals-jit
    8 h9 b9 B8 @: P0 w5 C' D6 ?
  645. auto_globals_jit = On1 x6 ~+ I) b7 ]$ N

  646. % C  _& r8 Y. v0 z7 F) [
  647. ; Whether PHP will read the POST data.
    7 V* H% p( J" \+ C3 W  V3 v
  648. ; This option is enabled by default.
    & x! x( ~7 I7 i" A& j4 j) d
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST: r: Z5 ~* K9 i/ E3 M# q
  650. ; and $_FILES to always be empty; the only way you will be able to read the. b5 d/ y6 E0 e$ A
  651. ; POST data will be through the php://input stream wrapper. This can be useful1 B3 Z: B% F# q- a
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    8 I( ?4 \2 e/ U8 h: a# g6 X: }% K
  653. ; http://php.net/enable-post-data-reading2 G2 w8 }+ i8 q4 B# ]2 I2 Y3 P. W6 K
  654. ;enable_post_data_reading = Off7 c( J( X% o" z9 V" c6 M
  655. 6 {' v6 W, ]3 l4 l4 s- G+ S& F
  656. ; Maximum size of POST data that PHP will accept.
    - `& n2 T6 }1 Y2 s
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading/ I* a7 b. ?% \4 c1 X7 J9 ?- w5 ^
  658. ; is disabled through enable_post_data_reading.
    4 ]! H0 m' G  P: o0 R3 l
  659. ; http://php.net/post-max-size! n5 `8 d- ?8 N1 d
  660. post_max_size = 50M
    . k  l3 D3 r# u' v  G
  661. $ {3 M+ K' i# {+ F/ t2 n
  662. ; Automatically add files before PHP document.
    0 Q& u/ w( g  X2 Q& |* w0 Y- P! G7 t) x
  663. ; http://php.net/auto-prepend-file
    ! `  J, r1 O( e% O
  664. auto_prepend_file =
    - k* O3 z3 f& u' _, |' @8 q
  665. & _, S. A% }! _# H- M0 z
  666. ; Automatically add files after PHP document.4 X/ d& D6 F, o* w& [
  667. ; http://php.net/auto-append-file
    . l) u1 t( x2 [  t9 v' \1 e
  668. auto_append_file =8 m( O; A8 Y$ @. }
  669. + x. \" J$ r# Y) t8 Q+ {" C
  670. ; By default, PHP will output a media type using the Content-Type header. To
    $ F. |% t5 ?: ?9 y/ Z0 X- x
  671. ; disable this, simply set it to be empty.
    & ~# Y' W+ _6 W
  672. ;- z. \9 g( z( s% o  _
  673. ; PHP's built-in default media type is set to text/html.
    : S1 `9 K; m5 J5 d2 \- p: V3 D3 f
  674. ; http://php.net/default-mimetype* M; m% A, {/ }( U& L8 R
  675. default_mimetype = "text/html"4 k( z* S" i0 W8 u$ |
  676. 4 I% s" l- B9 [
  677. ; PHP's default character set is set to UTF-8.6 Q8 o6 o) H/ x6 Q
  678. ; http://php.net/default-charset  t" f1 \& @  R# L
  679. default_charset = "UTF-8"; i4 n' V5 r+ n( u4 |
  680. : s) ?: ]1 ?3 y, |( M: q0 Q6 F- @
  681. ; PHP internal character encoding is set to empty.+ U$ o0 E" _. U2 c6 A  k& f: b
  682. ; If empty, default_charset is used.& h+ [& i6 }7 u( y! ]; H9 z
  683. ; http://php.net/internal-encoding% z6 L1 a/ f/ ~  [1 M
  684. ;internal_encoding =
    3 T& M/ @) G; R2 E! D: y
  685. ! _5 ]: c( J% F; |
  686. ; PHP input character encoding is set to empty.( \3 ~: d- F3 a; o6 E+ n8 I0 L
  687. ; If empty, default_charset is used.  W3 F5 b; T3 y
  688. ; http://php.net/input-encoding
    2 d* g6 `" s4 J: F& [
  689. ;input_encoding =
    $ S4 x  T& O: v% m! C' e
  690. ; g! k  v: b7 H8 j  M* q* B
  691. ; PHP output character encoding is set to empty.
    & D$ x1 r) B3 x5 C( A& z6 p9 x
  692. ; If empty, default_charset is used.% T; n8 M) a$ I  M4 r" Z
  693. ; See also output_buffer.4 x1 h- n+ |( {7 s
  694. ; http://php.net/output-encoding# V/ K) r% b# f% ^9 j# Y) C
  695. ;output_encoding =
    1 U+ d5 `, Y, i" w8 _7 y' i$ n

  696. 1 M& G2 L- w$ n5 ]
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ( m8 r' A( [& E1 Q
  698. ; to disable this feature and it will be removed in a future version.4 w! {0 a0 A& a; X) v6 f- A" V; B
  699. ; If post reading is disabled through enable_post_data_reading,4 h% J/ F* O0 X) n# Z# S; Y/ @
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    7 r, `/ a% Q, c
  701. ; http://php.net/always-populate-raw-post-data7 n/ o* Y7 O& _; T. Z
  702. ;always_populate_raw_post_data = -1
    1 i5 r) K( Z+ X' @* J& N2 `

  703. , I; p% D' n* ?, y" X
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 H/ D0 g6 o. v) p3 T) }. B' r
  705. ; Paths and Directories ;+ z9 P9 A5 ?9 A' U. C
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / X0 e; o2 t' a/ r/ {: q( X

  707. 8 E4 {; A$ ~% V: g
  708. ; UNIX: "/path1:/path2"
    0 J0 @% g0 t% T+ L' f
  709. ;include_path = ".:/php/includes"
    % x6 K$ @0 Q& x7 `! b
  710. ;; \7 ~/ b$ L0 g( b* a8 T
  711. ; Windows: "\path1;\path2"+ B1 x* k! ~3 L5 c* _3 v
  712. ;include_path = ".;c:\php\includes") a0 Z0 ^# @, V5 P3 S0 S
  713. ;6 x! l, G& J4 e4 e7 J1 E" Y
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : v1 F/ [1 W8 E$ @
  715. ; http://php.net/include-path
    ' h' y7 y" S* I; B0 X+ m+ C1 m
  716. 7 e( t; B; o0 R
  717. ; The root of the PHP pages, used only if nonempty.
      }  I; O/ H" R1 P+ Y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root/ ]: H( U% L; X/ O3 J8 o8 R
  719. ; if you are running php as a CGI under any web server (other than IIS)
    8 t( G' }% \2 h
  720. ; see documentation for security issues.  The alternate is to use the
    ! a: F2 ~3 A: r4 C' z* I
  721. ; cgi.force_redirect configuration below; }: u2 u5 z' f, X2 F1 v
  722. ; http://php.net/doc-root6 {/ M$ h5 \: {5 i; e
  723. doc_root =
    4 G# y9 `- _0 h+ f5 f/ ]" O7 P& r
  724. + D5 C5 C& ]3 }0 A! D8 @; n' C
  725. ; The directory under which PHP opens the script using /~username used only9 Q3 d" }+ V. \
  726. ; if nonempty.
    # \/ S6 [* C" m2 F1 \
  727. ; http://php.net/user-dir- u% l: W) Y1 w: y, ]+ I+ q' ^" X+ M
  728. user_dir =
    2 L- O+ y2 A; c, ~8 z8 j! ^3 O

  729. 3 q4 M5 t9 Z6 p4 m
  730. ; Directory in which the loadable extensions (modules) reside.
    0 ?; k6 G! U( i( u+ S
  731. ; http://php.net/extension-dir
    % O. M8 n4 C& ?* J8 _. w- R
  732. ; extension_dir = "./"
    : y9 U; t9 n& g* Y( ^; [* q, Q; o/ X
  733. ; On windows:+ Z% ^) i; q8 A* J7 G3 ]
  734. ; extension_dir = "ext"6 E9 c8 e% v4 L
  735. / e! k) u# I/ g
  736. ; Directory where the temporary files should be placed.
    / k( @  g: P1 f. ~7 R2 T
  737. ; Defaults to the system default (see sys_get_temp_dir)
    * Z7 i! e1 ]* [+ Z& r* F
  738. ; sys_temp_dir = "/tmp"4 ?# }' b% J" q+ g; h

  739. 3 u! {$ }% U8 `
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work5 ]) n6 ?/ \, R: @% {! H% w
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ! f$ g4 z6 u& ~$ V) y) ~
  742. ; disabled on them.& [% v% l, {( I; b" M  ^
  743. ; http://php.net/enable-dl9 B& Y( r4 B- X" y5 S) t2 f
  744. enable_dl = Off4 s0 h. U, o' j$ J4 Q& G; ~

  745. 6 ?9 `& j. c7 H9 j; c# G
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under: N; d+ S7 A1 S# A" s
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 `3 _" z; y" U
  748. ; turn it off here AT YOUR OWN RISK
    + s: m& Y! I- k' n8 J8 R9 _. w$ `
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
      L$ h% E4 t. U' g
  750. ; http://php.net/cgi.force-redirect" e3 v0 J+ r3 o4 o' K
  751. ;cgi.force_redirect = 1* Q* f+ J: V# a) {

  752. - e( c/ Y* N/ m
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    1 A; {9 n) H. V8 m  ?4 }# X
  754. ; every request. PHP's default behavior is to disable this feature.9 l$ f& i& q) @9 d
  755. ;cgi.nph = 1
    5 M0 ^5 Q; I6 ~! H& n

  756. 6 d* S7 a3 c1 s
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    8 c% _# W! o& T. }6 |3 x" M' C6 d
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    8 @1 d. E# _4 O# d
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 R8 S- a8 S& F* W1 S* f
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : @2 C: |! O" g8 x) g2 G
  761. ; http://php.net/cgi.redirect-status-env
    $ b) V0 F2 p8 U
  762. ;cgi.redirect_status_env =' U, Q! M, r/ R
  763.   r! [; ~" M8 m4 a
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ; p# Z. |6 v. P, r3 D
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ b* A% m" N& N- {% C0 J
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    - S4 D7 ^7 _: |% U9 `
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 j+ i: h: p: f
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts/ ]  |3 a& D2 s" d0 `+ x) J8 l8 Y) X
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    0 u& \4 Z9 c. l% u3 ]
  770. ; http://php.net/cgi.fix-pathinfo
    $ U7 W4 X; m- ~9 D
  771. cgi.fix_pathinfo=18 t5 h$ @" r; U; N! ]  ~! K4 i% ^
  772.   L. D' a- V# d$ w3 i" X4 j- s* a
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside' {# a3 s( u, p/ Q7 X% a
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ! U* c; m* z, V+ i# D
  775. ; http://php.net/cgi.dicard-path6 _- N- {+ }. P2 W2 n; Z
  776. ;cgi.discard_path=1
    + m  {8 N! R# F
  777. , x' m3 V# u, o  A; d
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      Q( ^- c: G$ S: }
  779. ; security tokens of the calling client.  This allows IIS to define the
    & J1 u/ y  I+ _$ \4 H/ G
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    & P$ X# I" g  S
  781. ; does not currently support this feature (03/17/2002)
    ( f* S& K( c% {1 J7 c0 n
  782. ; Set to 1 if running under IIS.  Default is zero." S  s* n4 F( y4 g
  783. ; http://php.net/fastcgi.impersonate
    9 ^0 ?* V" l4 h) z+ }  F
  784. ;fastcgi.impersonate = 1
    & I) g! I! w, b5 y* B2 O6 Y$ u& _5 L; ]

  785. ! i$ j( @0 r/ Q6 K7 h
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ! Z7 @/ z! `( ]- m' `/ W
  787. ; this feature.
    " n" m5 A0 C% ]
  788. ;fastcgi.logging = 0
    : t7 \  x) H( D; t3 C; f! O

  789. % C- v/ x$ q  c  m0 |! x. t! `3 h
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to/ o% Y5 T+ _: O$ V0 A
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that. S  Z7 z7 u9 ~% ?0 x
  792. ; is supported by Apache. When this option is set to 1, PHP will send2 b" ^& ^- s. u/ A; i* |6 d
  793. ; RFC2616 compliant header., t1 F! a) p0 s3 I4 p
  794. ; Default is zero.* r" B! Z$ D2 b; Z$ b  x
  795. ; http://php.net/cgi.rfc2616-headers" u+ l: ?/ |2 I) h7 f. P* q
  796. ;cgi.rfc2616_headers = 0. M! w3 H" C" @8 R5 h

  797. 9 O1 U1 ?. L( @. O$ j' F
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    7 ?1 V8 N+ L: n; g% {
  799. ; (shebang) at the top of the running script. This line might be needed if the, w% o! ^" _) ?/ A, T
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; J$ L  u1 {' Q) j2 {- B
  801. ; mode skips this line and ignores its content if this directive is turned on.  H8 B# [& d" A# e7 K8 w* N
  802. ; http://php.net/cgi.check-shebang-line: `7 ^3 q% E3 n: i) E. g
  803. ;cgi.check_shebang_line=1
    2 A# L5 l, W. G4 e2 t

  804. 1 f7 V4 R. g# g# x7 }: }2 G- g
  805. ;;;;;;;;;;;;;;;;
    ( x, M, Z' B, a8 G6 m, |
  806. ; File Uploads ;
    / A; N$ u( D: ]
  807. ;;;;;;;;;;;;;;;;$ ~$ I; x" j8 V& I

  808. 2 J7 a+ l* P3 p' k- Z  ~
  809. ; Whether to allow HTTP file uploads.5 i) O/ k, |6 F3 W
  810. ; http://php.net/file-uploads
    4 W; j1 z0 c4 E4 C# R
  811. file_uploads = On: q' ?# o& }# Q' l; M4 i( D

  812. * v! {4 p/ @/ K  `
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    / A1 @: J! e6 S6 k0 S
  814. ; specified).
    ( U+ o9 o3 |( ]) F  Z
  815. ; http://php.net/upload-tmp-dir
    2 V, x! e) W$ L7 a
  816. ;upload_tmp_dir =' p/ q2 D" {# K1 g

  817. , s' O4 A, I& ~% H
  818. ; Maximum allowed size for uploaded files.
    5 D; g8 W1 k' ]7 ]$ H6 n+ i0 _
  819. ; http://php.net/upload-max-filesize
    5 L# _% h; h, T( Z1 w1 A
  820. upload_max_filesize = 50M" u+ M# R* I3 X
  821. ! b7 f( q. Z+ P
  822. ; Maximum number of files that can be uploaded via a single request* O1 Q7 ^8 U. t# V% B$ M
  823. max_file_uploads = 20
    # T  `0 j8 p# ~: C) c0 W2 h4 {
  824. 9 |0 G* J9 s# W: L% a; T" G5 P2 [
  825. ;;;;;;;;;;;;;;;;;;6 ?% `4 S; O' @2 L0 d4 f
  826. ; Fopen wrappers ;
    1 |$ D+ i7 i# {2 A0 `4 @( S: j6 f0 c
  827. ;;;;;;;;;;;;;;;;;;& j& @8 y, [$ }

  828. ) |. @4 N6 A. {
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 M4 b( R: V0 Q6 _5 N
  830. ; http://php.net/allow-url-fopen
    . r3 k* ~7 o9 K
  831. allow_url_fopen = On
    ! y, r3 M: w+ w/ @3 @3 n7 V
  832. # F$ ?1 U4 Y  J  k: a
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  [  j- v* w/ F# D1 U1 H4 y: k
  834. ; http://php.net/allow-url-include
    ) Q$ }# p' O" i$ i. ]4 w
  835. allow_url_include = Off
    ! }" S4 |5 K% t! M# f0 q% p

  836. 0 _2 f5 M" A* t8 w6 E5 _
  837. ; Define the anonymous ftp password (your email address). PHP's default setting2 B7 T5 ]) Q- o5 P1 o
  838. ; for this is empty.' L( @% O/ [; r. j; i. c- d, l
  839. ; http://php.net/from! I  {3 h! B& O2 w# F
  840. ;from="john@doe.com"
    6 X* p4 ]/ ?' ?0 l8 ]

  841. 6 V7 C% D3 X& \5 R  t
  842. ; Define the User-Agent string. PHP's default setting for this is empty.% w, S* V0 `3 i- E- q% I& @
  843. ; http://php.net/user-agent+ y: s7 d4 z, T$ B" l5 t
  844. ;user_agent="PHP"
    5 \9 m( k2 {! J

  845. ) p. K" m% _1 Q9 Q8 N+ K0 f. y
  846. ; Default timeout for socket based streams (seconds): I  b! D5 z8 o6 {7 n; [9 `- k4 R' d
  847. ; http://php.net/default-socket-timeout
    ! C; b( B$ {" V# E& }
  848. default_socket_timeout = 60
    # J3 V8 q: v) [- M

  849. & O- }3 Y" `( }& p$ b: [: s9 r3 c! w) ^
  850. ; If your scripts have to deal with files from Macintosh systems,
    " q9 n9 J- s3 h6 \# O' P
  851. ; or you are running on a Mac and need to deal with files from
    ) l' b" O5 Q/ e( Y, H
  852. ; unix or win32 systems, setting this flag will cause PHP to
    4 D9 }7 D( Z+ \8 J" Y$ Y
  853. ; automatically detect the EOL character in those files so that
    7 g, e3 s3 ^' ?1 P, A( x0 n4 ^$ Y
  854. ; fgets() and file() will work regardless of the source of the file.
    0 O* e2 k) }) |: Y# h% {
  855. ; http://php.net/auto-detect-line-endings- i5 r; Q! D' L3 O$ ?3 b
  856. ;auto_detect_line_endings = Off( d# E6 {* Q. `! k2 N7 U
  857. ) u/ F2 f* t3 N( k, S- Z
  858. ;;;;;;;;;;;;;;;;;;;;;;$ _" S6 L- J) M* P" m4 T" }
  859. ; Dynamic Extensions ;1 y% g2 I. z; Q/ [; |5 g( {- {: s, J
  860. ;;;;;;;;;;;;;;;;;;;;;;4 W- b* h# M; I, C: c& G* Z
  861.   G/ g/ J7 q* i# g0 r
  862. ; If you wish to have an extension loaded automatically, use the following' g8 }4 z0 X1 I
  863. ; syntax:
    % S2 d( @0 ?1 x7 P; O  p
  864. ;* M1 J& g- V1 w9 i
  865. ;   extension=modulename.extension
    # q# a$ I" K" w
  866. ;  g2 ?2 R! W. c' c
  867. ; For example, on Windows:
    * N7 o/ M0 Q5 j: j" _1 q7 z$ C0 F
  868. ;
    9 J, u0 O' @, C) r
  869. ;   extension=msql.dll5 j' O% t9 o6 N
  870. ;5 w6 F6 I" a+ |: d; V
  871. ; ... or under UNIX:
    0 X0 M% R, H" y( D6 G
  872. ;4 o; O2 W9 j0 o
  873. ;   extension=msql.so6 i% ^/ P" |' H, N7 i  L& t
  874. ;
    & U1 d3 M) J1 p
  875. ; ... or with a path:
    # @0 q4 ^0 Y. |2 q3 w
  876. ;
    . P% C% J/ D2 U2 Y$ R! l/ }- e6 w
  877. ;   extension=/path/to/extension/msql.so
    3 `& R) ^& {2 p
  878. ;
    ' W, f" K) D  B. K; y. |0 F9 H
  879. ; If you only provide the name of the extension, PHP will look for it in its: \/ e2 v( K& \9 _9 [- O
  880. ; default extension directory.9 Q  s0 J* i; u
  881. ;
    . C# s0 Z2 K$ `( f
  882. ; Windows Extensions
      b& ^/ r% W7 p+ D& i
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ; w4 ?3 x2 M, I
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    2 n3 k$ P1 W" A5 M( l4 `% J
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ; [8 B2 r7 N, P/ O
  886. ; Be sure to appropriately set the extension_dir directive.3 R' e4 j; ]) U( q
  887. ;  O. \+ b+ _. f
  888. ;extension=php_bz2.dll
    8 S# y! Y# o" S5 E7 e
  889. ;extension=php_curl.dll
    / R  o9 p: s! f# f4 l0 R
  890. ;extension=php_fileinfo.dll4 @# M6 F9 f& e5 N6 a( \- h( E
  891. ;extension=php_gd2.dll
    , b' J" O+ x5 g" |9 b
  892. ;extension=php_gettext.dll) y. Q( ]- Q& x) ~* S3 L* N9 p
  893. ;extension=php_gmp.dll( l% \' j$ r: W+ V; ]
  894. ;extension=php_intl.dll
    % I) L: X/ W, ]+ l/ _
  895. ;extension=php_imap.dll
    ! X, ~# Z; v! `7 Y
  896. ;extension=php_interbase.dll+ x% t- U' U; _7 Z# r  L* f
  897. ;extension=php_ldap.dll
    2 s1 T0 z% ~4 P9 J5 k) V
  898. ;extension=php_mbstring.dll
    - t4 G+ x9 l! E7 c0 [: A
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * r) x) }3 R# f! ~+ O) h" H
  900. ;extension=php_mysql.dll( a3 S. f1 @# S" R. H- z8 B# X7 M; b
  901. ;extension=php_mysqli.dll
    6 I' s$ @& f: _" u3 S& j
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client+ P7 J2 z/ l* k5 g/ \
  903. ;extension=php_openssl.dll
    ) ~' T' L0 q/ M
  904. ;extension=php_pdo_firebird.dll
    ) Q3 W  K, V( B+ `; q3 w' L
  905. ;extension=php_pdo_mysql.dll
    9 z6 h& w( R2 O4 P% `1 m
  906. ;extension=php_pdo_oci.dll& x) M# {0 `+ s1 |& m. ~  \7 O# Y+ [
  907. ;extension=php_pdo_odbc.dll
    ' S$ y. s9 g2 B1 E, \' V
  908. ;extension=php_pdo_pgsql.dll; L, o7 p8 S6 ~/ `
  909. ;extension=php_pdo_sqlite.dll4 z) h5 J3 X8 `% h: |
  910. ;extension=php_pgsql.dll' d, \: [( u) `# Z2 B, |& _$ u
  911. ;extension=php_shmop.dll
    1 Y+ p: _9 s5 O& [, D% s

  912. 3 Q) F8 w6 f! _% C! ?. V! `
  913. ; The MIBS data available in the PHP distribution must be installed.
    0 l, J  Z1 U7 U; ]
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    5 C- G4 R/ m9 L* ~* P7 z7 ^
  915. ;extension=php_snmp.dll( _& O5 P8 a; T7 f3 x' S

  916. * v0 k3 y2 i7 j! N7 \5 D8 Y- |
  917. ;extension=php_soap.dll
    2 V% p$ F( O% b4 a0 Z
  918. ;extension=php_sockets.dll
    $ ]* H- I' D' K; W% k
  919. ;extension=php_sqlite3.dll) z& F. F# W& |# ]6 m
  920. ;extension=php_sybase_ct.dll( ~0 n% e7 I/ ?6 k" ?8 c4 Y: @
  921. ;extension=php_tidy.dll
    8 {* Z8 ?( C  ], h
  922. ;extension=php_xmlrpc.dll( W& x( d6 k/ s, t" j
  923. ;extension=php_xsl.dll' G3 `; ]1 f, U5 x$ C1 Y8 t* Y

  924. % x  E$ _  x! W; M- a9 X
  925. ;;;;;;;;;;;;;;;;;;;
    : ?# Z9 d# X- B; Z
  926. ; Module Settings ;' ?  _- i1 S/ y% W
  927. ;;;;;;;;;;;;;;;;;;;
    ) v) u# [* E3 }1 ]& q& r0 ]0 Q& N
  928. " c; O  k/ y! |/ A
  929. [CLI Server]0 M; W  d/ `8 E  j+ j0 O
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.5 U  t! y/ M! t+ y, W
  931. cli_server.color = On
    0 `0 p- w8 |* c8 E0 @( r" y- C

  932. ; ^* E  @/ a8 K: h7 _! A
  933. [Date]
    1 n4 F. z' W$ u! o; W7 H
  934. ; Defines the default timezone used by the date functions
    + S, d5 ]) v& I% h9 _  Q2 r. g
  935. ; http://php.net/date.timezone
    * w- w2 f! ?( \9 v0 f
  936. date.timezone = PRC
    4 }5 F/ @, w3 H6 o

  937.   Y! `9 l" T" {8 O) B# ~
  938. ; http://php.net/date.default-latitude
    # C- c; @7 N# I8 S* M
  939. ;date.default_latitude = 31.76672 Z6 Q0 q0 H( ~' ]$ U+ V: @- s
  940. # C' G7 K9 ]% n: f  ^. H' C
  941. ; http://php.net/date.default-longitude
    * ~! M0 ^0 p+ @, k' W
  942. ;date.default_longitude = 35.2333
    6 X% @- J  h! v! A& a2 S

  943. 1 h' v! ^  o# I; v6 Z
  944. ; http://php.net/date.sunrise-zenith
    , ^& H' X) B8 g. M. N0 ]$ D
  945. ;date.sunrise_zenith = 90.583333$ D8 U+ @1 E% G/ Q# _

  946. , K3 h2 K) u6 G3 j! S7 o
  947. ; http://php.net/date.sunset-zenith3 b. C: J; F3 ]% t4 Y9 K9 Z
  948. ;date.sunset_zenith = 90.583333
    $ l0 ?  p! L* U7 _5 B
  949. 5 I5 _2 C3 G- z" x8 f$ T
  950. [filter]) a( }" j$ m% t1 g5 `
  951. ; http://php.net/filter.default: G$ \* m% w- z
  952. ;filter.default = unsafe_raw
    . y3 \: ?# D5 b' l% ]( ?

  953. / Z* r+ s, V) ^9 X
  954. ; http://php.net/filter.default-flags
    ! ?! @. X! b3 c# m) q
  955. ;filter.default_flags =
    7 K1 b* _& w+ A0 X& Y: p
  956. % a+ r0 I0 b3 v, _( Y
  957. [iconv]
    ) I' ]; X4 E" V3 c7 S8 e
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.% y- _. v  m3 G7 u9 a
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ \$ u0 Y, e7 g8 H9 b7 k7 F' K5 T8 J
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding" @) J4 O9 X4 h3 y
  961. ;iconv.input_encoding =
    . k1 K' G$ m6 \) r3 E

  962. 0 N) y9 `) R, f$ w/ x
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # N: A0 M! ?- y+ R, j, s' x
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' Z1 k% M7 E) z9 [$ B& V( Y! B
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! v8 d* i6 k& ]: O
  966. ;iconv.internal_encoding =+ G! c6 C+ {% C" M7 {; s( q' j
  967. 9 H# j4 W) o% ^  [5 t
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.; N* W) f& G$ U0 Q/ Z  E
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + Y( V, ]. L# V  D9 c+ |- o
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # o; S. d# `, p; y, X( Z6 n8 `* b
  971. ; To use an output encoding conversion, iconv's output handler must be set" M* i6 D  y2 P1 E, |
  972. ; otherwise output encoding conversion cannot be performed.
    # D* Q4 n. ]! @; Y3 {
  973. ;iconv.output_encoding =; z2 Q. u1 J& I/ A) N2 q' e! w
  974. * m) J& [8 _7 q6 k
  975. [intl]
    " y$ X1 d# j2 r0 n; ?3 P
  976. ;intl.default_locale =
    " G# z/ V5 y" k" W
  977. ; This directive allows you to produce PHP errors when some error
    4 h2 K. h( t- v9 y
  978. ; happens within intl functions. The value is the level of the error produced.
    % Y# ?' z1 V  [' d" U& z, B* J
  979. ; Default is 0, which does not produce any errors.4 Z" `  H$ {- R3 R5 i+ U! S/ d# }. c
  980. ;intl.error_level = E_WARNING4 H2 X9 A. m; N8 F
  981. ;intl.use_exceptions = 0' `: F' L& ~0 n

  982. ' N& Z6 g1 N* s# Q% [) U
  983. [sqlite3]( u# [: p# X$ c
  984. ;sqlite3.extension_dir =% h; A9 Y' p0 {6 h" D
  985. 6 F3 C# J% _  {9 j8 B3 e. d* P/ l
  986. [Pcre]" Y$ _; V; Z* R( a" p
  987. ;PCRE library backtracking limit.
    ; f6 Q& A& _4 S+ i/ w
  988. ; http://php.net/pcre.backtrack-limit
    6 f6 ?5 z, `" L+ S& B' U' R
  989. ;pcre.backtrack_limit=100000
    " D" `# t+ R" L% [, K! L* |- D

  990. ! Y. @3 `! l7 y* p& \, q1 r
  991. ;PCRE library recursion limit.
    ' R( u% w6 Y/ a$ H# c) c
  992. ;Please note that if you set this value to a high number you may consume all
    7 I' |0 k7 C1 s( f) y9 ]
  993. ;the available process stack and eventually crash PHP (due to reaching the
    1 \+ E# a1 i/ |  ?
  994. ;stack size limit imposed by the Operating System).
    1 c# N, _% }- @2 W8 i/ s
  995. ; http://php.net/pcre.recursion-limit0 }  o! R/ L! q$ f5 A
  996. ;pcre.recursion_limit=100000
    - I" Z" F; O. V8 M" d

  997. + O/ ]8 c- k, h% D3 w
  998. [Pdo]* R3 _, V) B8 I6 E6 t
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"' M# V0 t6 \* l+ E: k' N1 m
  1000. ; http://php.net/pdo-odbc.connection-pooling2 w0 u8 q$ r3 u
  1001. ;pdo_odbc.connection_pooling=strict+ y. M) h4 R; n
  1002.   k, q3 m% Z  }  Z
  1003. ;pdo_odbc.db2_instance_name
    % M( ?5 h+ ]- m2 m( {) Y' J2 i
  1004. 7 o- f/ S3 H) c- v8 V8 N
  1005. [Pdo_mysql]1 K7 @6 \2 T4 [2 m- V
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 x7 c- \( t" e6 S9 A4 J% b
  1007. ; http://php.net/pdo_mysql.cache_size
    2 n' ]2 y1 E; c4 D! S  _0 F
  1008. pdo_mysql.cache_size = 20004 {5 L7 T. r" f  m
  1009. , e- W8 Z7 v# X/ z9 q
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 @8 S3 w( `5 `3 n7 }; D
  1011. ; MySQL defaults.( e9 V7 P5 n8 U3 v% k5 A! Z9 y, Q1 v
  1012. ; http://php.net/pdo_mysql.default-socket/ l: b) w9 `7 `& R
  1013. pdo_mysql.default_socket=
    # X& A1 \! l" D1 P+ h3 n

  1014. & B) n* H1 g* y& q8 A) {
  1015. [Phar]1 n1 c: x* h- T+ h- c9 o
  1016. ; http://php.net/phar.readonly
    . K7 w: D( i7 l$ ]& w/ D# h8 ~. m
  1017. ;phar.readonly = On% a% L' E% ]( ~
  1018. 1 I9 x8 ]6 {) q5 }" z8 J" C
  1019. ; http://php.net/phar.require-hash
    & S' `+ g* A3 K7 U
  1020. ;phar.require_hash = On
    0 z0 U' D8 V3 w/ x/ Z0 J! w& f# p

  1021. ) o8 M- D4 D/ ]* K( U: B
  1022. ;phar.cache_list =( x) x* G$ f5 j* k' U, I

  1023. 1 N9 l* B1 D4 F$ t2 k4 L& f5 T
  1024. [mail function]
    : f! Q! h/ u. j+ _% Z' U! t  \
  1025. ; For Win32 only.7 `2 l& s3 F+ X0 Z
  1026. ; http://php.net/smtp" r) w7 t3 B* L8 J' y8 K* a+ p+ N
  1027. SMTP = localhost
    & e% l0 o. f; a  ~9 i
  1028. ; http://php.net/smtp-port% t3 C1 B* m7 g2 }
  1029. smtp_port = 25
    ' ?, r+ N: c9 I5 x

  1030. 5 d: a. \% A0 V3 f1 L9 U9 h
  1031. ; For Win32 only.
    * B  z) Y4 m2 T& ^9 [% c
  1032. ; http://php.net/sendmail-from% A; J8 |6 V, e) D( G' T$ e& \" t
  1033. ;sendmail_from = me@example.com) C" c( o& x) R$ B9 j4 f5 c

  1034. % l0 l/ f6 h. E/ X$ k6 `$ Y# U
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").) j$ L2 I( z- I& D
  1036. ; http://php.net/sendmail-path1 F. e" c3 M: o0 J+ i
  1037. sendmail_path = /usr/sbin/sendmail -t -i* b2 ?/ _" j' L! Z0 \9 \

  1038. 9 n! v$ Q) D$ y$ P
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ! ^- j( n  O1 D
  1040. ; to the sendmail binary. These parameters will always replace the value of7 X3 l* q1 C3 A2 ]5 g: C8 E
  1041. ; the 5th parameter to mail().
    3 Q5 h6 K# G# \
  1042. ;mail.force_extra_parameters =/ ^! G2 N5 h, o2 Z7 t6 H/ b
  1043. 6 n0 l9 ]$ W' H, {- l; G/ w3 _
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename4 |, X6 [5 {7 E
  1045. mail.add_x_header = On
    - d$ Y  `3 r2 Z$ G9 F1 u/ l: ~$ ~
  1046. 7 c9 A9 y+ k0 n$ N/ A
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    0 O% v+ z5 O" ^2 A( }/ A9 W  Z
  1048. ; the full path of the script, line number, To address and headers.. O2 A4 T% h" S- z: u* z( O
  1049. ;mail.log =
      T- ^2 [& U" x4 A' F* E; f
  1050. ; Log mail to syslog (Event Log on Windows).0 F; o% C% {0 \& g  ]- s* g4 \4 j/ c
  1051. ;mail.log = syslog
    : `3 {* Q# _% C4 a  J! }& n

  1052. + w6 j+ P# k1 q* _1 I  ?
  1053. [SQL]
    ! s# S7 Q) o$ l% ?5 B* d! d; g
  1054. ; http://php.net/sql.safe-mode
    - R% k9 v, l3 K0 [
  1055. sql.safe_mode = Off- S+ K$ O3 m7 Z5 z0 V+ J
  1056. & G. n0 S- ]5 y8 a) h
  1057. [ODBC]
    0 j1 W% l# Y/ E$ j) Q
  1058. ; http://php.net/odbc.default-db! a9 k8 |. u0 o
  1059. ;odbc.default_db    =  Not yet implemented
    . i7 x* w/ D( c- Y

  1060. - {, }# H, Y( m
  1061. ; http://php.net/odbc.default-user
    0 O' Q; }. [; z; M5 k3 [
  1062. ;odbc.default_user  =  Not yet implemented6 Q1 R# N' W% B+ c  a5 `: j+ Z+ x

  1063. : h) f# @5 t8 t6 f* D7 P! z+ z0 N
  1064. ; http://php.net/odbc.default-pw7 g1 I/ ]% e  {
  1065. ;odbc.default_pw    =  Not yet implemented. C/ y; ^# q6 T/ P
  1066. 0 _" ^2 R# ]( Q: D5 g  x
  1067. ; Controls the ODBC cursor model.( s- }# [* a, g% B
  1068. ; Default: SQL_CURSOR_STATIC (default).
    : o+ P- ]! n6 M% v
  1069. ;odbc.default_cursortype
    # `9 H: T2 b5 m' `1 N! w

  1070. - }8 a$ n# J% m
  1071. ; Allow or prevent persistent links.+ K- b/ _3 T# _, y* j& R
  1072. ; http://php.net/odbc.allow-persistent
    2 I7 f, ~6 U4 g; y7 b# f0 p
  1073. odbc.allow_persistent = On- f1 M8 V5 j" J! s; I, W) J

  1074. 8 I+ s0 }' L6 r' z2 q. M0 a& h
  1075. ; Check that a connection is still valid before reuse.1 }! Q% H, R5 g+ p" h9 B& N
  1076. ; http://php.net/odbc.check-persistent- i( g2 b+ k1 t) C0 T& B
  1077. odbc.check_persistent = On
    3 ^8 I8 |' [7 ^6 G, p$ R

  1078. $ B3 K6 X4 M5 n( |9 o4 _
  1079. ; Maximum number of persistent links.  -1 means no limit.3 [5 K" B1 h! C
  1080. ; http://php.net/odbc.max-persistent# E) w$ W) x" c/ d, S( k
  1081. odbc.max_persistent = -1, l; x+ Y# ]5 |1 C& F" a% N1 G

  1082.   q$ i1 j9 r& D  p$ A- d
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# I% j! x8 J# M4 M
  1084. ; http://php.net/odbc.max-links
    * T" B& B. H7 w; T. k( J
  1085. odbc.max_links = -1* V) z, [9 H5 E
  1086. 5 n+ ~# X4 r1 Q( |4 @$ r, m& Y# C
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means$ m. B% m& _0 r/ a
  1088. ; passthru.9 n. Y& |+ W! o
  1089. ; http://php.net/odbc.defaultlrl" a& @/ I3 `6 N
  1090. odbc.defaultlrl = 40966 {' z# J/ C2 G) k! f  D
  1091. ) X) H% G/ \0 v2 T3 m& m
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.% X4 I/ Q6 n* j* [* t) R
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 x+ W$ d& O$ S2 n
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 U3 F9 \! q0 h& z6 F; C) N
  1095. ; http://php.net/odbc.defaultbinmode% o/ {+ x: B# I4 a/ k. s& x
  1096. odbc.defaultbinmode = 1! o5 L1 U/ H& P/ ]# a* x$ W- F0 m

  1097. & x: l0 C- T' x! E
  1098. ;birdstep.max_links = -12 _8 a4 x8 }7 Y$ @- _" w$ D3 ?
  1099. 6 Y" F* d! J: _% |5 n
  1100. [Interbase]
    $ g" }" m+ Z. m; O: J$ Q8 E: i
  1101. ; Allow or prevent persistent links." b) p2 _" w% y5 m- t) w6 W
  1102. ibase.allow_persistent = 1
    ; d1 K  K: k' x! b! J, A
  1103. 9 ^6 u! [" Q: }. z
  1104. ; Maximum number of persistent links.  -1 means no limit., F7 ], p8 b5 z, J+ @  U
  1105. ibase.max_persistent = -1
    % s: b1 l9 ~$ Z; k2 E$ A

  1106. # m- i! E6 e# [# M
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 W# k# o9 [( p5 k8 i, ^% F# t/ @
  1108. ibase.max_links = -1
    ; a/ y: A7 Z5 t2 w
  1109. $ V8 X8 W1 g: ^9 N
  1110. ; Default database name for ibase_connect().$ [  m4 U3 ^: h* j2 e# j8 F
  1111. ;ibase.default_db =
    9 }- q! D( y, G6 c5 \- B

  1112. 5 a' m8 k! [: Q' v) p
  1113. ; Default username for ibase_connect().
    9 r" d- P- M1 h
  1114. ;ibase.default_user =" Z  T8 ^" K' Q! H, |+ r

  1115. 0 o: u, Q2 ]9 f) u7 r' [- b/ D
  1116. ; Default password for ibase_connect().  G: P2 ?( R9 H5 W4 _- z' ]. h4 y
  1117. ;ibase.default_password =. b3 f! D$ r3 i4 W& |: r
  1118. 6 T4 f5 \  Q+ W) i( y
  1119. ; Default charset for ibase_connect().! V% \" c4 g# d
  1120. ;ibase.default_charset =
    . c- l% y, `/ F' M( j; w$ ~

  1121. ' r" P) L* ?9 [7 T- [2 P# N7 U
  1122. ; Default timestamp format.
    $ G7 U& q$ G* T- L% @
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ D+ Z  {" n  o- T2 Z

  1124. 8 l' D; y1 s& \% k9 \2 N
  1125. ; Default date format.% j2 b7 w. k+ b: k8 Y/ G! g
  1126. ibase.dateformat = "%Y-%m-%d"3 s9 H$ w* r  J* [* |, x

  1127. , h/ i) i- d; W( ~* Z, F. X
  1128. ; Default time format.) ?, X& K- g6 u: j) U
  1129. ibase.timeformat = "%H:%M:%S"7 T+ Z5 o" ]3 r

  1130. * c2 K2 K6 K3 m* L# r
  1131. [MySQL]
    & B  d  R! ~5 ~
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , C# z! v: V& d8 ?8 a' \! i! f, N
  1133. ; http://php.net/mysql.allow_local_infile
    7 {; A* t6 N% G# Y2 q  |
  1134. mysql.allow_local_infile = On; h! W3 o; f" o
  1135. ! h: B9 _; c* W; J
  1136. ; Allow or prevent persistent links.
    4 W4 U* R& `' {" j
  1137. ; http://php.net/mysql.allow-persistent
    5 ]: V4 ?$ o$ W" x$ t3 s0 d+ Z
  1138. mysql.allow_persistent = On) S- B) h  @  Z( \# L

  1139. ' w1 F. M5 c7 s, Y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 }1 v7 [7 E5 M+ B2 R- f* N1 i1 V
  1141. ; http://php.net/mysql.cache_size
    3 }" _# D. W$ v  E5 M% ~' k9 U3 L( P* Q
  1142. mysql.cache_size = 2000
    6 h! a5 b( _/ b

  1143. 9 v: W4 J$ r7 r9 _4 ~0 r0 s
  1144. ; Maximum number of persistent links.  -1 means no limit.5 h1 S# q$ l+ [; p3 `
  1145. ; http://php.net/mysql.max-persistent6 K. s& q& v6 c2 j; T+ I
  1146. mysql.max_persistent = -1( f# L6 Y; m* m4 N+ q1 u1 m! |
  1147. " s- s7 ?- N1 y+ G
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 Z. j$ g* G2 g6 Y8 O) `" U
  1149. ; http://php.net/mysql.max-links
    8 E  A! {/ s& z6 j
  1150. mysql.max_links = -1
    " e7 J4 U' S2 f2 S  u
  1151. % b/ D9 ]/ N/ K# p$ f3 {
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use# [, O' j" j5 P( t2 o
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    . V8 B$ H& p( P
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look0 e/ r& M, ~% G6 p- S
  1155. ; at MYSQL_PORT.; B) W3 \$ ~8 e" [1 ~
  1156. ; http://php.net/mysql.default-port* P: A% \7 P/ ^7 q# V5 c8 b
  1157. mysql.default_port =) A# ~" V% c2 g- R
  1158. 3 M2 T7 x. M  D, }
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 N0 Z( H. ^0 T2 u  ]( x. k
  1160. ; MySQL defaults.
    * [# B7 t+ ~, }3 o' y
  1161. ; http://php.net/mysql.default-socket
    - _8 d6 X) T# C( J
  1162. mysql.default_socket =! ?0 t. }/ |6 Z: A0 q; D
  1163. - Q* _& \" r$ G# y  H
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - l2 X! v* }/ H( _( w* k
  1165. ; http://php.net/mysql.default-host
    $ L) u  ?! u2 F1 o) s
  1166. mysql.default_host =
    9 Y/ K5 y+ `) Z: I+ g! z0 i
  1167. ( Y9 l% }0 C) e+ ]- a; ~8 u! f2 I/ B
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    . x3 D. b: o% o) t7 ~$ ^
  1169. ; http://php.net/mysql.default-user
    7 \8 b) q) T1 F' p* W
  1170. mysql.default_user =
    & P$ T/ b4 f  x( `! X7 z2 j

  1171. , S5 Y( p4 y. J; H( A
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).6 i& P" Q9 I8 m
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.$ P9 J0 W2 u' i8 ]3 M
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")" ?: ]- n; l: {& ]: m5 s& o. g
  1175. ; and reveal this password!  And of course, any users with read access to this' d' c( T- Z& n
  1176. ; file will be able to reveal the password as well.
    : i8 N4 |% N' Q) k3 G
  1177. ; http://php.net/mysql.default-password' v! Z' g/ g8 H
  1178. mysql.default_password =
    4 K5 f9 X- Q4 b5 H* b" @3 G

  1179. , {- ?3 b) s" {! y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit5 a& [* a+ F" |& X. x1 m# j
  1181. ; http://php.net/mysql.connect-timeout
    * R/ ~7 Z' T. t
  1182. mysql.connect_timeout = 60
    / [( B8 j2 \% T! D4 ]9 l; s
  1183. ; t( @' t$ z# ]" L' Q( G
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and) Y& |1 J9 h/ M/ S$ C5 u& f8 V& `* d
  1185. ; SQL-Errors will be displayed./ ^: Z# W; }4 K% c/ |  S8 |5 G; v( A
  1186. ; http://php.net/mysql.trace-mode. ]3 P8 h2 G/ {( y- B. j
  1187. mysql.trace_mode = Off
    . W# r  U# ]; ~4 I

  1188. 2 F$ {% ?' |) m* [
  1189. [MySQLi]9 z- {9 X8 M& L  O# h
  1190. / c& m# |0 [6 A  ^. i: [
  1191. ; Maximum number of persistent links.  -1 means no limit.
    $ s; p. B! B0 X% v! Z8 d0 ~
  1192. ; http://php.net/mysqli.max-persistent
    6 M0 \) t+ n1 ], _# V+ u
  1193. mysqli.max_persistent = -1
    % Y+ L5 D* z- L5 j! Y
  1194. 0 @6 R% B9 A# D/ M& w# S* {
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' z) v7 n# _* W! w+ ]- D( i
  1196. ; http://php.net/mysqli.allow_local_infile0 f) s; ~& u1 L
  1197. ;mysqli.allow_local_infile = On; i: p0 H1 V% V7 t% t- g" e
  1198. & d0 N+ I2 t, y: U
  1199. ; Allow or prevent persistent links.2 x+ C. W9 v( b) t+ ?2 Z1 K" r% V1 {+ X
  1200. ; http://php.net/mysqli.allow-persistent, v: i9 p* W) O  D
  1201. mysqli.allow_persistent = On- `% a. N! d8 x. r/ _
  1202. ! X! ]& _; S9 u5 S6 a. {
  1203. ; Maximum number of links.  -1 means no limit.
    0 ]9 t7 Q5 H6 G& A0 t+ x$ ]6 r" r
  1204. ; http://php.net/mysqli.max-links
    7 w6 G; C! v" O3 J  v
  1205. mysqli.max_links = -1
    ; ]& L3 G( ~6 j$ J. t/ a2 b
  1206. 2 w6 s1 ~7 w. A: }  {3 Z
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ R7 U$ |0 h( R2 Z2 l
  1208. ; http://php.net/mysqli.cache_size. s$ X' M4 u/ p+ `) @1 y
  1209. mysqli.cache_size = 2000
    + V7 T2 U' B( z  ]7 \" ~" U

  1210. , s9 U/ ~! R& s
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! c  {" H) b3 `8 U3 u# }3 Q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # Q. K& P" W( Y2 W/ I
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      i0 v/ U9 {% R! R: g6 L
  1214. ; at MYSQL_PORT.6 l6 [9 U: t2 G  P& t# t
  1215. ; http://php.net/mysqli.default-port  n. V: [  h* j% y, g, r- G
  1216. mysqli.default_port = 3306. x4 J4 Y: A1 [% Y7 C& Y. \7 x8 N

  1217. % n" Q& Y0 W6 ]$ U
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in, B' @1 f! @3 T0 O. S& ]4 e
  1219. ; MySQL defaults.
    7 \! G5 ^$ Y7 Z! O
  1220. ; http://php.net/mysqli.default-socket1 J) |& O( k6 z, {5 l
  1221. mysqli.default_socket =' r$ {) k( e" ^
  1222. 4 W; q, {$ z6 E6 J
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 O4 b) B5 s8 X  ?9 E
  1224. ; http://php.net/mysqli.default-host
    # o+ Y9 j9 K& R
  1225. mysqli.default_host =
    * G9 j$ D; c" N4 [/ n
  1226. ! X: J5 T, f  K  b3 N% }, g& O8 w
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).7 N. D/ T& X4 {: T
  1228. ; http://php.net/mysqli.default-user
    $ w" n# c+ I9 i, M( V( B
  1229. mysqli.default_user =0 g9 q1 t6 M1 i! @/ s* y$ z$ ^  E
  1230.   ^* q6 q8 Y) ?, y$ }3 z  u
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    + c  _; A1 r8 W( v$ c0 i
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    4 u# N0 N: q! g- k  C$ C
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    1 z/ o$ p3 ^2 _# t# {0 f
  1234. ; and reveal this password!  And of course, any users with read access to this
    4 Q+ x5 O2 ~" u/ f2 B% `9 ]
  1235. ; file will be able to reveal the password as well.
    " v" l) P' a* O0 O" O
  1236. ; http://php.net/mysqli.default-pw% ?$ A7 A3 ~5 @! @: O! Y5 g" a" E
  1237. mysqli.default_pw =
    % M9 l4 w+ D/ Q$ t# Z

  1238. " P+ p, v9 v9 J; F) u" b# D9 a1 {
  1239. ; Allow or prevent reconnect9 F; L* x1 x/ W7 k2 z
  1240. mysqli.reconnect = Off
    1 y. M$ {9 X! l3 |' R: e
  1241. * @; B! e8 e. B. ]9 X0 v  P6 o
  1242. [mysqlnd]
    - F7 X4 y- u1 U% }. ^3 Z& I
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
      X- L0 D, _# R! G6 R4 K/ P" t. _# P
  1244. ; used to tune and monitor MySQL operations.7 l& s% f, C4 A" K( ~, }$ M
  1245. ; http://php.net/mysqlnd.collect_statistics  {- B- s; Z$ G
  1246. mysqlnd.collect_statistics = On
    " t' E- H. b! V5 R5 w
  1247. 6 x+ h. w5 y4 ^& o* V# b+ w8 W
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ( O* J' o$ h1 |/ C, A9 n
  1249. ; used to tune and monitor MySQL operations.
    4 m" D# f# X, L: ~6 j- p: r& N
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    - L; |6 F- Z6 I! T- L3 r
  1251. mysqlnd.collect_memory_statistics = Off
    3 _/ T5 t3 B! U6 R+ `/ D

  1252. ( X' U/ h" t2 S% I) `
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    % i- w" D) z. `! D
  1254. ; file.
    2 |6 U8 k4 S+ ~6 |4 m
  1255. ; http://php.net/mysqlnd.debug
    ( {& `: l0 W. W
  1256. ;mysqlnd.debug =
    2 A9 t, u" w. H5 ~

  1257. # j, T) i, \/ I" |3 I9 K) }; F
  1258. ; Defines which queries will be logged.
    2 J3 x0 W4 Y6 I; y. M1 X
  1259. ; http://php.net/mysqlnd.log_mask* D& [9 \1 }/ P) u) l. W0 ~9 ?
  1260. ;mysqlnd.log_mask = 0
    , t  H* S/ [  F: l& s/ }. r
  1261. 2 s% |1 T1 g9 j$ g# N  Q
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.. K" _' n  y9 n- N, _
  1263. ; http://php.net/mysqlnd.mempool_default_size6 L! Q* K& F) j, J5 L3 ^
  1264. ;mysqlnd.mempool_default_size = 16000
    % s( c' E* R3 w- y! M- J
  1265. 7 O7 o/ P; g# X, w0 S
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    - z, p4 z5 q+ f4 ]; n" j, y6 e
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size  a& n, L6 h% Z* N/ B  d7 C
  1268. ;mysqlnd.net_cmd_buffer_size = 2048( C" [1 h' j0 {- L- w; ^
  1269. 4 [9 V; j& t' u. r) J. [3 L; e5 G
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in# @9 h! H$ [' b" V$ d( ~: h
  1271. ; bytes.
    4 E' ?8 A' ~0 i7 e+ }- k: ^, h
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ' _3 ?$ i' P7 L1 S2 d- U2 S. C
  1273. ;mysqlnd.net_read_buffer_size = 32768& a2 |$ ]3 ?# x/ v3 k: y

  1274.   s) l1 V! h0 F2 u
  1275. ; Timeout for network requests in seconds./ P: \- p9 B4 _* ]3 S
  1276. ; http://php.net/mysqlnd.net_read_timeout3 v, D- R  _, i# J+ T9 C5 V
  1277. ;mysqlnd.net_read_timeout = 31536000
    " E# N1 G6 q  o9 x( A
  1278. 0 \' s3 f; E% B; F/ g
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' s1 k4 u. q$ V0 K9 ]  F
  1280. ; key.
    3 J! ?- W' o' G( W2 H
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ' L! T- S1 }; O
  1282. ;mysqlnd.sha256_server_public_key =: a( v7 H/ R" W: v. e
  1283. 4 i/ S9 }! l' B& a( ?5 E
  1284. [OCI8]
    , g! {  h1 v1 C0 r

  1285. . Q; w4 D# b, V1 G& a
  1286. ; Connection: Enables privileged connections using external' i1 M/ v% u" Z
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)$ [; ]8 K- I7 A8 c  E
  1288. ; http://php.net/oci8.privileged-connect! m' U7 ^9 ~7 S, g
  1289. ;oci8.privileged_connect = Off
    % k5 }" `# _$ ?" R, C7 t* J
  1290. : Z4 S# s  R- j3 R: e7 z
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    $ f5 F" E) I# I  Y9 X/ f( I$ t" ~
  1292. ; process. Using -1 means no limit.
    / L' j; |* D5 D. L
  1293. ; http://php.net/oci8.max-persistent! z5 y# ^, P% D* e' s
  1294. ;oci8.max_persistent = -1/ [( R( r, L( H1 K8 W8 B

  1295. 2 w$ u/ \' d8 w/ r4 }
  1296. ; Connection: The maximum number of seconds a process is allowed to. j' [1 a) u+ P" z
  1297. ; maintain an idle persistent connection. Using -1 means idle
      m+ X8 X* X; i' y! u& E1 j( C$ C
  1298. ; persistent connections will be maintained forever.+ O' x- f+ N% _" J, c# u- G
  1299. ; http://php.net/oci8.persistent-timeout
    6 z% P/ H! f  v1 k+ h8 i- e
  1300. ;oci8.persistent_timeout = -1- S) I" ]4 u, i  J

  1301. / a2 d+ A1 z% G2 ?5 p& x+ ^
  1302. ; Connection: The number of seconds that must pass before issuing a3 R1 L! q/ x: @- d7 d: {
  1303. ; ping during oci_pconnect() to check the connection validity. When
    - L5 t' r2 a* \2 z' h% E- N
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 K# C: }1 |6 g/ C8 r
  1305. ; pings completely.) `- Q# b  M4 c& ?& u2 N- t# w
  1306. ; http://php.net/oci8.ping-interval3 b/ R5 M; N1 N$ K) S$ r
  1307. ;oci8.ping_interval = 60
    % I9 h0 q# v6 C7 j; h" P) g# g
  1308. / H+ ~' A0 E4 S+ P- G
  1309. ; Connection: Set this to a user chosen connection class to be used) f! v/ N: r% m, Q: _  G- @
  1310. ; for all pooled server requests with Oracle 11g Database Resident& C" Y& ?) Q  ~3 c! U$ z
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. J4 E6 M6 U5 _
  1312. ; the same string for all web servers running the same application,
    3 |) p. {4 g/ E6 G" _, G  T$ n+ }: Z
  1313. ; the database pool must be configured, and the connection string must" a  Y. D, E7 |* t
  1314. ; specify to use a pooled server.
    ( J9 H" j& w2 u  T, c9 W1 y# x, N1 }
  1315. ;oci8.connection_class =
    4 i# c- C) r) {9 K- M& D/ N

  1316. 6 r& e  @1 }+ y" C
  1317. ; High Availability: Using On lets PHP receive Fast Application
    , {4 \. x- ?8 T3 F* k* y
  1318. ; Notification (FAN) events generated when a database node fails. The7 S5 f3 s+ r: m- b, B/ [$ N
  1319. ; database must also be configured to post FAN events.
    * x5 u% N& V. M( f% S& g9 D
  1320. ;oci8.events = Off9 X) e- x1 V4 [, I

  1321. ; W  j& V  d2 Y5 x# P. l
  1322. ; Tuning: This option enables statement caching, and specifies how
    * U+ |' @+ b7 g
  1323. ; many statements to cache. Using 0 disables statement caching.
    ' [+ c* Q) h; ^: `0 t
  1324. ; http://php.net/oci8.statement-cache-size
    + E9 D4 ~2 Z/ o
  1325. ;oci8.statement_cache_size = 207 }+ K, f2 ?; \, ~# g) u
  1326. 6 O) o2 h5 W7 R5 m# O; X6 `
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    0 V* `/ A* H# Z
  1328. ; rows that will be fetched automatically after statement execution.
    ( `+ r8 I3 K* v0 u: c
  1329. ; http://php.net/oci8.default-prefetch5 i) Z% P" E+ k" a1 F: ^3 h- t4 r
  1330. ;oci8.default_prefetch = 100
    ; h; T4 s% ~- n
  1331. ) l" t& x, s7 V6 p2 w- @, K5 y) w
  1332. ; Compatibility. Using On means oci_close() will not close
      c, S+ F4 D9 u0 ~9 R
  1333. ; oci_connect() and oci_new_connect() connections." @' X3 A$ @3 u3 B; Y
  1334. ; http://php.net/oci8.old-oci-close-semantics
    6 r# e" S- ~+ b! F  P2 F
  1335. ;oci8.old_oci_close_semantics = Off& l) W7 R/ t; ~) }6 Z5 ?. V% E
  1336. 5 h8 P; ^7 h$ |$ z: m8 }4 j
  1337. [PostgreSQL]/ e$ O; M0 L, r' V/ o" e$ C* C
  1338. ; Allow or prevent persistent links." N$ g" y7 d  y  t' Y
  1339. ; http://php.net/pgsql.allow-persistent
    1 j: z* N, z) o+ n% t( V3 U
  1340. pgsql.allow_persistent = On1 _$ k; B8 D. Y2 X7 ?: K# \

  1341. # A9 u0 |% ?) V$ n
  1342. ; Detect broken persistent links always with pg_pconnect().
    $ z$ I( y: A: K; A0 J$ F
  1343. ; Auto reset feature requires a little overheads.
    , P  G2 q; M1 T7 S8 x4 R
  1344. ; http://php.net/pgsql.auto-reset-persistent% Y2 c. `/ m6 g1 |8 m2 e$ ?
  1345. pgsql.auto_reset_persistent = Off
    3 _: f2 s4 K# |7 Q" B. a
  1346. - h" p  J. [& z+ h& O: B& d
  1347. ; Maximum number of persistent links.  -1 means no limit.
    - p  @$ _" i  y5 r( w$ j
  1348. ; http://php.net/pgsql.max-persistent; C& u6 `7 i( C# O
  1349. pgsql.max_persistent = -1% V  C8 J  I. M; Q; r* K. {9 I
  1350. % ?( `4 o% D% K( s; |7 O
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 R. |0 a; M1 S  L  d& P8 Y) W
  1352. ; http://php.net/pgsql.max-links+ _4 J0 f, ~6 f9 V, w- W
  1353. pgsql.max_links = -1
    ) \( T8 E+ K% t1 Q) o
  1354. " b: A% v2 r- F% g7 D- d2 {
  1355. ; Ignore PostgreSQL backends Notice message or not./ |# h* X( S. B5 d. J9 A% ?1 z
  1356. ; Notice message logging require a little overheads.; _3 p  k0 b- {8 Q1 U- N! X
  1357. ; http://php.net/pgsql.ignore-notice
    ( z* b% F8 {* }% V! x& v8 z$ U* h
  1358. pgsql.ignore_notice = 0. w! z3 o1 M9 y7 o( n% N2 N. ^9 @
  1359. ' b6 {! D+ G- s( L5 G
  1360. ; Log PostgreSQL backends Notice message or not.8 b8 `  O- Y# @. G3 d& a
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message./ `6 ]- r4 n  [
  1362. ; http://php.net/pgsql.log-notice
    5 `/ D6 x' A& t4 ~% g+ a
  1363. pgsql.log_notice = 0" S  O" j& V  j9 x0 f! l

  1364. 1 t! A9 B  K+ ?  O7 @
  1365. [Sybase-CT]
    : \/ A! M8 p) p+ S
  1366. ; Allow or prevent persistent links.
    & u2 w* a9 e! s) e
  1367. ; http://php.net/sybct.allow-persistent2 `7 D8 |5 V9 s9 l
  1368. sybct.allow_persistent = On
    % {/ f6 h7 R# S3 C' E1 A
  1369. 2 m. X- R8 @) b( `) g
  1370. ; Maximum number of persistent links.  -1 means no limit.4 j8 c# x! ~' O8 Z' }( B& H2 j) H
  1371. ; http://php.net/sybct.max-persistent
    : @, m3 j. y& w$ y; y/ b% l$ u" N
  1372. sybct.max_persistent = -1) ?% I8 W7 q9 I2 I4 a* m+ W

  1373. . x5 V7 ^* r" W( i& y
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 c* S1 O2 ?6 R, E, y, l, U
  1375. ; http://php.net/sybct.max-links! u0 ^+ j& m- @$ U& |# d
  1376. sybct.max_links = -17 X/ _+ E6 h, s4 C( g! n; a

  1377. 2 S& i" r4 M; {, y( }  Q
  1378. ; Minimum server message severity to display.* q. t' _' X  F  V; }6 Z/ e% H: P
  1379. ; http://php.net/sybct.min-server-severity3 e* W0 p, h9 q9 q# a! d- o/ T& l
  1380. sybct.min_server_severity = 10& w3 P" @  y7 X/ d' t( m: b1 f3 X
  1381. & D# P7 K: k% c! M! z% J
  1382. ; Minimum client message severity to display.
    / u" a$ }# ^+ n- Q$ }
  1383. ; http://php.net/sybct.min-client-severity
    ; ]5 m& ~$ I1 U' i
  1384. sybct.min_client_severity = 10
    : l0 _$ @: V5 `0 L: s+ D" M2 n

  1385. - {, D! ^  M1 x2 ~$ |0 D: s1 D% W
  1386. ; Set per-context timeout4 z: V6 P! @8 a& ?# G
  1387. ; http://php.net/sybct.timeout
    8 n9 L1 ~( U, v
  1388. ;sybct.timeout=: h) w  J- ^) V, M1 k
  1389. " I$ f  c& D% ~
  1390. ;sybct.packet_size
      P; D8 U, q: b
  1391. % }9 W. s2 m8 X
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    2 {8 p% u3 U- U
  1393. ; Default: one minute
    / Q/ z3 C: n9 L
  1394. ;sybct.login_timeout=
    ' ]4 i2 d$ g( q1 j, N3 \
  1395. & _0 n) p$ r* W% s8 O- h
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    0 S3 s9 I+ _8 X9 V4 o0 J! X
  1397. ; Default: none
    3 ]/ i/ D9 U+ M
  1398. ;sybct.hostname=
    3 P, ?* B0 X8 E( h9 R+ X  B( v1 ^0 G

  1399. : R% [- c+ u; O" `7 h5 q0 H
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) \4 c/ `; j0 I1 Y
  1401. ; Default: 0
      d. \# E) J4 M1 o4 ~* ]/ {! s
  1402. ;sybct.deadlock_retry_count=
    ( w7 c, T2 b  Q

  1403. # ~) ]9 d. Y5 q6 T+ h8 G; w! q8 @  T& H
  1404. [bcmath]8 z1 {4 P4 R! u% j( d. {3 n" S' D
  1405. ; Number of decimal digits for all bcmath functions.
    " z: {) j3 w$ x1 o' Q( f& `
  1406. ; http://php.net/bcmath.scale
    : L# d( r9 J! M9 @1 v" O1 G* ?
  1407. bcmath.scale = 08 ^/ C- H0 d. ~+ A8 B) c# c2 Q4 z. b5 I

  1408. $ V. Z/ t" ~+ F
  1409. [browscap]  X0 Y2 K' O, _: G0 A! P
  1410. ; http://php.net/browscap& V" o) S- B/ F  S
  1411. ;browscap = extra/browscap.ini/ ?0 V' K  A! D
  1412. ; U( i. g; X9 h+ L! r6 V
  1413. [Session]& W0 j( x3 ~  Z* \+ T3 z
  1414. ; Handler used to store/retrieve data." L$ d& N# r; ]5 n, W! D
  1415. ; http://php.net/session.save-handler; _" R9 d1 y* \, Z* P
  1416. session.save_handler = files6 T$ c, A- m7 L, R% L# D
  1417. 6 F3 o% u0 ?6 I4 S
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ) T" n. X4 a, Q9 Z0 G$ b0 l
  1419. ; where data files are stored. Note: Windows users have to change this
    " V6 A' q3 E7 H% @/ m
  1420. ; variable in order to use PHP's session functions.
    % k( z: B; n* I1 Q
  1421. ;; _) q' s  R- l! m: b) A  V( [$ K
  1422. ; The path can be defined as:
    4 }: d! {: k+ A5 ?# ^
  1423. ;- Y0 s" ]* l* a4 G
  1424. ;     session.save_path = "N;/path"
    ' J# w. G2 v, G6 X
  1425. ;, v3 i% o8 O7 ?5 ]& o
  1426. ; where N is an integer.  Instead of storing all the session files in
    6 N- m( A' L3 ^
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    & f& }$ P; ?0 T5 I2 z* C  y1 L$ {
  1428. ; store the session data in those directories.  This is useful if* ]* l! f, p! H. y" A+ j  C
  1429. ; your OS has problems with many files in one directory, and is* f: W4 a& ?3 ~, w
  1430. ; a more efficient layout for servers that handle many sessions.
    7 _$ w5 r/ x2 Y% p) [3 y0 n
  1431. ;; V* p$ ]' g' U$ o
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    9 a! A/ d2 `& ~  d2 k# l$ d; v
  1433. ;         You can use the script in the ext/session dir for that purpose., P& E, p6 @5 f0 I5 B! W4 b
  1434. ; NOTE 2: See the section on garbage collection below if you choose to. ?: x" h# k9 E+ @" X3 v
  1435. ;         use subdirectories for session storage/ {. v- o! c# Y0 K7 ]
  1436. ;: T  e2 b' ^" X- p0 j
  1437. ; The file storage module creates files using mode 600 by default.
    1 w  ^* u0 }, d" \: v
  1438. ; You can change that by using6 Z4 M% I/ k# {* b
  1439. ;# S5 x: `9 r1 X& t4 d) e$ I
  1440. ;     session.save_path = "N;MODE;/path"
    - M+ L) T% p1 b, d2 o8 Z( @
  1441. ;$ }# h; W' N1 o4 P' j
  1442. ; where MODE is the octal representation of the mode. Note that this: \8 g3 O/ e) V( w
  1443. ; does not overwrite the process's umask.
    # D! e) C: H, Q$ S- T4 c
  1444. ; http://php.net/session.save-path; `% k- C. y! H( I' N: N
  1445. ;session.save_path = "/tmp"- e$ f1 t. l' s7 S  ?, ?6 t/ E- z
  1446. 7 Z* W& O' v) |. ~
  1447. ; Whether to use strict session mode.
    ; m8 G; u* k6 P( c3 \
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
      z# G; y% V  H; v) Z$ {3 ^
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ) [) L! K7 e2 A" a0 s1 \
  1450. ; applications from session fixation via session adoption vulnerability. It is
    . U; v& n3 K5 n) n. u
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 l# A) h5 b/ z6 \; a
  1452. ; https://wiki.php.net/rfc/strict_sessions( _; Y$ G. H+ O& ^. M
  1453. session.use_strict_mode = 0
    % r1 b6 w. k( _) ]# j% X0 z

  1454. 6 \& Q7 N. _8 f# i
  1455. ; Whether to use cookies.% Q' n8 z/ c- n9 T) ~7 Z0 r$ Q/ ^
  1456. ; http://php.net/session.use-cookies! T; M( u" H1 q2 b( a* t
  1457. session.use_cookies = 13 }5 w3 L7 q& r1 d" l6 e8 R

  1458. $ `9 e+ a" t* L# c2 [3 u2 M
  1459. ; http://php.net/session.cookie-secure0 L) x/ w! _/ T* l. c
  1460. ;session.cookie_secure =
    * h. f- o4 q8 g# Q% Y; v2 h, y

  1461. 8 x3 P9 V+ Y5 C9 Z7 W1 c* l
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining/ `- `0 U) E" s6 \- i1 C# \
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    # c9 {6 ]5 U' x* K% c* A
  1464. ; session hijacking when not specifying and managing your own session id. It is. A, v. R0 B) n
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.- @, U! Q6 @% Y, G! F
  1466. ; http://php.net/session.use-only-cookies
    ! N# X/ Z" i. c3 k. l
  1467. session.use_only_cookies = 1
    ( j  T0 t9 w4 S5 J) w' u
  1468. ; b7 ?! U4 [) n% q4 X
  1469. ; Name of the session (used as cookie name).7 d. s0 L7 m0 O7 ^* \: m0 u
  1470. ; http://php.net/session.name
    . m1 |+ v( u3 f( F. G" [8 G0 J- P% R
  1471. session.name = PHPSESSID2 [1 F; J" P% {9 z' T$ @

  1472. : I+ B# T7 ], y% ^
  1473. ; Initialize session on request startup.7 ~7 b6 q& K" t" e# ^
  1474. ; http://php.net/session.auto-start
    * a# ?3 x8 A+ i; h6 h6 M) |0 i
  1475. session.auto_start = 05 Q1 o- G: Z4 A' H: Z/ H/ z
  1476. * B3 O, I7 `+ \; D4 n8 T9 R  i6 g) w
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    : Z/ S1 Y& Y- r; z$ n  i0 q
  1478. ; http://php.net/session.cookie-lifetime
    ' P4 ^; X8 g1 I5 @0 A
  1479. session.cookie_lifetime = 0
    + a8 c5 D/ N$ j+ D# k! v

  1480. ( v. z$ n( j4 U5 b0 g  j
  1481. ; The path for which the cookie is valid.
    ! L5 h( V. R1 J* F/ _- h7 g8 w
  1482. ; http://php.net/session.cookie-path
    7 T( j' w6 N: v$ i! v' Y
  1483. session.cookie_path = /
    & p! k) n; ~' x# D. z; A
  1484. - R5 Y# |, q  g4 g
  1485. ; The domain for which the cookie is valid.. ?, K/ X$ D: Z. ~3 @( g
  1486. ; http://php.net/session.cookie-domain: D& U' i4 C5 r! @8 y
  1487. session.cookie_domain =
    : T  j# v# J: s) C
  1488. & y& t- _  }- J. ]6 W2 P" U1 w
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.+ n' t* N1 m7 ^3 W# Q. c$ ]  Y  U6 t
  1490. ; http://php.net/session.cookie-httponly
    0 \& }+ B2 M; A- ?( j! W' X: |
  1491. session.cookie_httponly =
    + `' r5 u: c, D' M* w: f
  1492. . f0 I# R  O# e8 N! n
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % o( G) ~/ b6 A5 R, `/ X$ S
  1494. ; http://php.net/session.serialize-handler
    3 f7 A# F4 B3 b0 I
  1495. session.serialize_handler = php
    ) _4 N3 M2 F; _
  1496. 2 k& O+ J7 B$ y, t  G
  1497. ; Defines the probability that the 'garbage collection' process is started
    ! I: R6 i$ J2 ?0 b
  1498. ; on every session initialization. The probability is calculated by using$ Q. W  Q3 d9 V* _& Z6 Q6 k8 K
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    / b: k1 d+ m+ t
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( K) Y0 X7 J( o: e  a
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ! g! p% z9 s% }. b' Q+ w0 K
  1502. ; the gc will run on any give request.
    ' C4 M* a7 Q8 U
  1503. ; Default Value: 1  |1 k6 w- q" [. z9 w5 D1 m
  1504. ; Development Value: 14 U* k* r& w* {- ~, S
  1505. ; Production Value: 1( {" c8 ^$ J5 J; r7 ?
  1506. ; http://php.net/session.gc-probability
    " _8 |. _* [! A  G
  1507. session.gc_probability = 16 ?0 T) `% k# ~% F$ @
  1508. 8 c% M: Q: i/ t  X, e+ d
  1509. ; Defines the probability that the 'garbage collection' process is started on every/ i9 M* o( K* G/ e
  1510. ; session initialization. The probability is calculated by using the following equation:
    4 p& r, U( L$ E3 d& r
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 R% i* Z$ S, X3 e
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # W2 ?8 ?2 Q, L; W2 A' V9 c$ e
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" q& A' z# i% }0 b) f/ N( q) N: v* _- D
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you/ f. ?/ y- M* d# L2 c8 H
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
      }# j; {3 g/ H6 F6 w" U
  1516. ; this is a more efficient approach.& e+ X, \  h' V. v5 p9 n
  1517. ; Default Value: 1000 M; I9 }7 @6 G
  1518. ; Development Value: 1000
    - Q3 i9 s$ w6 Q5 n
  1519. ; Production Value: 1000% P' }# J7 e5 N& E* ^5 }
  1520. ; http://php.net/session.gc-divisor) @4 d. ~) b$ h! W/ r' g/ U, X+ O
  1521. session.gc_divisor = 1000' C7 k  i" f4 f, z3 Y

  1522. 3 R2 ^% W0 h1 X
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and: V; J" z6 s. |# Y& N& w; M4 X1 {
  1524. ; cleaned up by the garbage collection process.- i3 |3 t" u! E9 a. E
  1525. ; http://php.net/session.gc-maxlifetime7 D& O9 q" G) t1 M$ l& |
  1526. session.gc_maxlifetime = 14405 @7 O- _. v  O
  1527.   ^& K! O9 _. L2 T% s
  1528. ; NOTE: If you are using the subdirectory option for storing session files( {1 }1 p( x6 n8 u: d
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ! j- I7 O  s; H) [
  1530. ;       happen automatically.  You will need to do your own garbage
    1 R8 N7 y3 Z4 N. H& Q
  1531. ;       collection through a shell script, cron entry, or some other method.% z: e- s- v# G6 o$ v: f
  1532. ;       For example, the following script would is the equivalent of
    5 q4 t$ g9 P' w% k, ~
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):$ M! r! J, t- z: H0 E( }/ g" N
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( f4 D  Y* `0 O6 ]6 f

  1535. ( Y* V9 B7 N2 t4 z' k
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ' a" i; K3 i; [3 R- N
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    0 F" B# B" y& h$ d" p8 p
  1538. ; considered as valid.
    2 ]8 h4 j2 l8 j: S) |+ c
  1539. ; http://php.net/session.referer-check
    ! I  k, R. w' u
  1540. session.referer_check =6 S/ S0 j  n) I$ k- C  [/ [4 R

  1541. ; F" Z  W" j' e
  1542. ; How many bytes to read from the file.$ v2 a% I+ }/ t. I& [+ T- a+ J
  1543. ; http://php.net/session.entropy-length; ?& _1 S+ o) l
  1544. ;session.entropy_length = 32
    ) f# W3 ^, F2 `
  1545. 6 @/ t3 A) V! ?' X) I) ]
  1546. ; Specified here to create the session id.: x  L$ a# m1 o$ I9 d
  1547. ; http://php.net/session.entropy-file! s+ S' q+ h* z0 O, G6 m) ]
  1548. ; Defaults to /dev/urandom" f5 C  F( U* z- b- m  p
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    & f, X& h8 {1 S# W" v, q, T
  1550. ; If neither are found at compile time, the default is no entropy file.
    % }4 T" n# M) t$ g5 O$ E% t# w
  1551. ; On windows, setting the entropy_length setting will activate the7 `5 h2 ?! ^) q* u7 D& E; Z: p
  1552. ; Windows random source (using the CryptoAPI)+ ^$ x; e8 ]& H6 y9 D+ l
  1553. ;session.entropy_file = /dev/urandom
    : X# w0 w3 Y; Z7 E0 R) ?

  1554. . P& v5 h# E% r2 d( l
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    0 ^! n  E5 _& ]4 ], _
  1556. ; or leave this empty to avoid sending anti-caching headers.) f3 n. v% o* t( S2 {( @% J& V  l% i
  1557. ; http://php.net/session.cache-limiter4 a& R+ t* a* v" \% o
  1558. session.cache_limiter = nocache2 |' ~4 D* w$ |* x( S8 v
  1559. 2 B6 E) v8 \. s# {! A, e' P
  1560. ; Document expires after n minutes.
      [+ o. q  ]2 D7 Y6 V! g( y; t
  1561. ; http://php.net/session.cache-expire
    9 o# G+ C( v8 B, X* k
  1562. session.cache_expire = 180: q0 |! M0 r3 |3 F

  1563. ! u. J8 [5 \% [4 R4 Y5 v/ X/ p
  1564. ; trans sid support is disabled by default.7 @) G) A. w% J7 A/ x6 v  _
  1565. ; Use of trans sid may risk your users' security.0 S8 U( ~8 d) r4 |
  1566. ; Use this option with caution.+ M$ g, M* B5 A. N3 K
  1567. ; - User may send URL contains active session ID
    ! l3 Y* D5 p* }; Q) h
  1568. ;   to other person via. email/irc/etc.
    0 k9 }! I+ Y3 @! C1 g% q
  1569. ; - URL that contains active session ID may be stored
    . K  f/ q& @0 K% p
  1570. ;   in publicly accessible computer.
    5 x3 w4 z9 a4 y, [5 C9 w+ r
  1571. ; - User may access your site with the same session ID
    , ?0 e4 ]  s/ C# [: n
  1572. ;   always using URL stored in browser's history or bookmarks.# x9 ]% E9 o4 i! e  x: {1 B
  1573. ; http://php.net/session.use-trans-sid. H0 _5 Y9 T7 h
  1574. session.use_trans_sid = 0+ L( h3 {9 _6 p( i" h, i
  1575. , [; n% E8 u; P
  1576. ; Select a hash function for use in generating session ids.
    1 L6 t' O5 [2 o2 v9 O! q: _
  1577. ; Possible Values' Y1 W  J' m' T
  1578. ;   0  (MD5 128 bits)
      m# v6 g6 ^5 X1 \$ O
  1579. ;   1  (SHA-1 160 bits)/ F9 q' U5 J2 Z2 r$ a& r2 B. _7 e
  1580. ; This option may also be set to the name of any hash function supported by, ]9 G$ D6 R9 i/ g% O3 A$ f: R
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) Q/ `$ {  b! X9 G, N# k& k2 p4 y  Y
  1582. ; function.
    ! N, q3 I' L- A) o  R) t1 ]
  1583. ; http://php.net/session.hash-function0 A+ n" H0 w! T1 F1 [: _, w
  1584. session.hash_function = 0# t7 v# m7 h* ^! @
  1585. 3 r7 {5 v) Z' {) `5 ]
  1586. ; Define how many bits are stored in each character when converting' ?/ F% D* K% n. l5 \' K/ M/ s
  1587. ; the binary hash data to something readable." W1 R- B% N  C& U
  1588. ; Possible values:
    ' e$ y8 Y4 Q( A5 ^
  1589. ;   4  (4 bits: 0-9, a-f)
    : t/ M  a5 y+ \" q, p5 N
  1590. ;   5  (5 bits: 0-9, a-v)
    & @" a& H! z: x5 M7 j
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    4 r. b) q& ?, S* Z4 `* J0 Z& {/ m# C
  1592. ; Default Value: 4) c! R0 F6 ~' [7 D- T6 R
  1593. ; Development Value: 5* z6 x8 D" ?5 M3 R  E
  1594. ; Production Value: 5- g8 J) Z  q* ]# @, F
  1595. ; http://php.net/session.hash-bits-per-character7 u( }% l! ]. o% i9 t0 V
  1596. session.hash_bits_per_character = 5
    ; d. m$ p% Y- J$ L

  1597. + _  k% l! f, G, f8 F4 q/ N- }
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags., {) k2 E9 b  u: i
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    6 {9 Z+ }! H/ T6 B! A& P
  1600. ; add a hidden <input> field with the info which is otherwise appended
    4 c! e# `# r- q7 r7 A1 G8 d2 e
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / u3 f9 ]* X6 o& R5 Y0 Q
  1602. ; Note that all valid entries require a "=", even if no value follows.
    / v! C5 n/ \3 B+ ^" m
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 P+ t2 |) G! [7 M8 R
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : I8 z# G/ ^4 t/ N9 r7 B+ {0 k
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 A$ p- \9 f; ?& }- ~$ z$ B
  1606. ; http://php.net/url-rewriter.tags, g1 d0 V7 b$ D0 X; _
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"4 e- s; s  ]* H9 L) i
  1608. ; @7 @) p1 p9 g4 |; d  L9 {7 l
  1609. ; Enable upload progress tracking in $_SESSION
    * V% }9 r% g, O1 I% Z) }9 x- _* G5 }$ O
  1610. ; Default Value: On
    ( E4 e4 y" ]5 _* }/ {
  1611. ; Development Value: On. \0 q7 t( q, o! ~
  1612. ; Production Value: On
    * I' ?8 b' m, v
  1613. ; http://php.net/session.upload-progress.enabled- q# n1 k$ p. P4 Y5 T3 [: a) K
  1614. ;session.upload_progress.enabled = On' Y' v  D9 ~! k8 q

  1615. . V; m4 Y- K4 m7 B% t
  1616. ; Cleanup the progress information as soon as all POST data has been read
    1 }1 b. B; A( r6 r
  1617. ; (i.e. upload completed).2 X9 B5 r$ C# P# n' k2 p* l- }* B
  1618. ; Default Value: On
    7 U( y2 I) r2 O( n* \& K3 c1 y
  1619. ; Development Value: On: b4 f$ S$ i/ S  c* T; f3 t
  1620. ; Production Value: On3 J6 v7 x4 v6 h7 ]1 [
  1621. ; http://php.net/session.upload-progress.cleanup
      [9 w; Y9 S8 Q. ?
  1622. ;session.upload_progress.cleanup = On- @) O6 _$ ^& B$ o
  1623. $ y  N2 _2 y2 ]: Y- k
  1624. ; A prefix used for the upload progress key in $_SESSION; d3 y" _4 {5 M) t4 x
  1625. ; Default Value: "upload_progress_"9 D, Y7 q- z/ u* w2 W( G/ O
  1626. ; Development Value: "upload_progress_"; ~( r# E; p- i; l
  1627. ; Production Value: "upload_progress_"( T9 r+ [6 |5 I3 [4 p
  1628. ; http://php.net/session.upload-progress.prefix3 @6 Z3 s0 t5 L& r
  1629. ;session.upload_progress.prefix = "upload_progress_"
    : D! {/ p. W4 o# z

  1630. $ ]6 g9 H2 i/ u* a9 {3 m# [# b# V, H
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    1 N( H% v, y# D2 U9 G% s& Q. e# ~4 v
  1632. ; containing the upload progress information7 T. H& g4 @5 a  X
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & w0 Y$ @+ K7 e- G( Z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"; }/ v  {4 l! y5 i2 U% s" b0 F: V
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"6 h6 c* B* t$ v
  1636. ; http://php.net/session.upload-progress.name, _4 S. e. ]3 u5 N0 ^8 E
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& _  C7 }$ L2 {2 A1 F1 J- N

  1638. : n- K6 R6 U7 x, F
  1639. ; How frequently the upload progress should be updated.
    ! F+ v3 |' X8 n' z$ V
  1640. ; Given either in percentages (per-file), or in bytes
    * }7 z% s/ x$ B; d/ P5 c( s6 ?8 c
  1641. ; Default Value: "1%"
    ( |5 A" r0 p2 a1 N/ Q9 T- m/ F% O" y
  1642. ; Development Value: "1%"' Z; H5 f9 h* K: K* R
  1643. ; Production Value: "1%"0 p* }$ t) A) ?, g& j9 ?! I+ T
  1644. ; http://php.net/session.upload-progress.freq  m  J  U% s* R0 |8 b
  1645. ;session.upload_progress.freq =  "1%"
    & u* ~/ Q7 x# c* A: W

  1646. ' S5 k$ U. A' R2 j8 u6 q
  1647. ; The minimum delay between updates, in seconds4 v+ r  k- S  B, V* k; g
  1648. ; Default Value: 1; m6 J; N0 S/ G; y2 Z  r3 }
  1649. ; Development Value: 1& i: u; \) o  z, f& c( k
  1650. ; Production Value: 14 z/ f6 Y7 {; i( {2 l4 J4 S7 E. n
  1651. ; http://php.net/session.upload-progress.min-freq
    $ ~! T/ @; R: n0 W* o. r& w# H
  1652. ;session.upload_progress.min_freq = "1"
    2 Q' [: Y9 q+ d4 @3 u0 W
  1653. + s8 f6 T4 Z, Q% a% G
  1654. [MSSQL]
    : t& }, \9 s: z7 @: D
  1655. ; Allow or prevent persistent links.9 F0 I* {4 L) }$ P: {8 b
  1656. mssql.allow_persistent = On) w+ Q5 P7 ?$ {' K
  1657. . Y/ s5 t( c6 n
  1658. ; Maximum number of persistent links.  -1 means no limit.. A2 @! k$ c4 l4 Z, H- i# D
  1659. mssql.max_persistent = -1: M* r5 }! Q: s: h2 _
  1660. : Y% {6 `: j* }/ r9 ]
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ \0 V6 k" O& O6 }& E& f
  1662. mssql.max_links = -10 n# ~' S$ w/ K: Q+ R" {

  1663. ' l1 Z) A1 n( V) t( v
  1664. ; Minimum error severity to display.
    9 L1 y' ]% I1 p$ d5 j! l: ?
  1665. mssql.min_error_severity = 10
    * q- L8 l; I& U  ], f2 X$ H! Q! N

  1666. ( P( [& E- P" O9 `; E$ Y: U
  1667. ; Minimum message severity to display.
    : X" L6 u+ R$ A; K
  1668. mssql.min_message_severity = 102 [1 s* t' F0 J$ _
  1669. $ P0 f9 Z  @' n: H
  1670. ; Compatibility mode with old versions of PHP 3.0.* @; z4 l! `) r1 W) g& u( O* W
  1671. mssql.compatibility_mode = Off
    6 X0 Q3 ]' E5 U4 J9 W
  1672. 0 \1 w1 r0 \1 W
  1673. ; Connect timeout
    . Y; B- a' `$ y# d& V" S
  1674. ;mssql.connect_timeout = 5; r1 J7 J0 n2 z! S2 Q: Z1 V
  1675. 2 C6 G. S- H- u
  1676. ; Query timeout
    & R/ E8 @& b5 J/ c! w1 o+ L
  1677. ;mssql.timeout = 60
    - n" F( a8 V) x  i
  1678. 2 y/ B- Z# V# }3 O- b, M9 P
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    $ z! _9 b! n7 w  L
  1680. ;mssql.textlimit = 4096# o; E( v; w# `! Y7 ?$ n

  1681.   Q/ ?: {" |, Q4 I* w
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    1 ~, b& a5 v8 o0 {6 @
  1683. ;mssql.textsize = 4096
    $ e$ d0 i7 E/ |3 q
  1684. , o* Z& j' {# M0 x. F/ d8 k
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.8 X5 q% m+ D4 U% Z! z
  1686. ;mssql.batchsize = 0
    0 A, X9 s7 q7 x) T

  1687. ( f4 o- a1 E$ r" B
  1688. ; Specify how datetime and datetim4 columns are returned
    4 R' E( e  s6 N; s5 d: y
  1689. ; On => Returns data converted to SQL server settings
      W9 @3 ]* p6 i6 ^% r
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss4 u( g1 ~' T* q& W
  1691. ;mssql.datetimeconvert = On
    / t- w! A. m- H) E
  1692. 7 U7 B" K/ E: U
  1693. ; Use NT authentication when connecting to the server
    6 X  }8 c2 m) m
  1694. mssql.secure_connection = Off$ m8 j  G2 j4 ]% q& P
  1695. * G* \" H/ L2 X- R$ i  D0 K' Z* R
  1696. ; Specify max number of processes. -1 = library default# u  [$ Q' R/ ]8 r) U' @
  1697. ; msdlib defaults to 25
    , O; F0 D) \7 ~$ `
  1698. ; FreeTDS defaults to 40964 i- [0 ^9 O* \7 ]7 [
  1699. ;mssql.max_procs = -13 Z0 z; O/ B9 z6 P+ y

  1700. , R' ~, ~8 K" v  c$ E+ v: c8 N
  1701. ; Specify client character set.
    , v" Z' K3 `) z- O' d: B# @% I5 u2 B
  1702. ; If empty or not set the client charset from freetds.conf is used
    2 u' z4 e. J$ R) X
  1703. ; This is only used when compiled with FreeTDS
    & |1 S4 W* D! O  d
  1704. ;mssql.charset = "ISO-8859-1"9 N/ d) e, A6 P
  1705. # o7 [. i$ V" L  n/ z$ H5 @) O" B0 E0 o
  1706. [Assertion]
    + w2 L2 j" g: `, g5 z( c- D. M1 x
  1707. ; Assert(expr); active by default.
    " m+ V; ~$ ?# o2 V4 o& b. C7 l
  1708. ; http://php.net/assert.active8 B, y  y+ V7 X( u; t$ s7 Q
  1709. ;assert.active = On
    " b7 M2 L- P; O3 }" S

  1710. 3 |1 D8 _3 `# k0 J
  1711. ; Issue a PHP warning for each failed assertion.
    2 v: K8 U2 I$ R: D
  1712. ; http://php.net/assert.warning  [( u! a/ ~8 ?! F. b; g3 Q. r- ^
  1713. ;assert.warning = On- g9 L. \6 W* v5 m+ z9 K: q5 x
  1714. & r  v+ m2 M4 R; u
  1715. ; Don't bail out by default." k" ?0 ]- u1 M
  1716. ; http://php.net/assert.bail
    ; d" `! U; ]; e
  1717. ;assert.bail = Off8 z0 S" q8 W! Z) u! M7 Z! _

  1718. ( d  v! J! [8 n  ~* l
  1719. ; User-function to be called if an assertion fails.5 {/ J4 o2 M$ f( r
  1720. ; http://php.net/assert.callback
    % H2 ?. G/ K% E3 F) b
  1721. ;assert.callback = 0  y# ^6 v; y0 f, O1 c0 z

  1722. ! f/ @" W; Q# V. Z
  1723. ; Eval the expression with current error_reporting().  Set to true if you want: _/ M( w+ |' Y+ V
  1724. ; error_reporting(0) around the eval()./ d/ I* i- ]+ W/ y7 Z: l
  1725. ; http://php.net/assert.quiet-eval
    # Q  o4 B+ M3 b$ p# M, J% s
  1726. ;assert.quiet_eval = 0; n( D. B5 o1 U5 ]* d* }

  1727. 6 A) y" G+ v4 h- D% t
  1728. [COM]
    # A/ d( y5 |& l, D
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 f0 P4 P1 e  U* {: k; W% w. R
  1730. ; http://php.net/com.typelib-file
    4 z) a9 ~8 J5 `/ v3 L# z5 D! E6 @
  1731. ;com.typelib_file =
    ( I1 l. I+ j7 W1 G4 V3 W

  1732. , j% l, q" K8 r& q
  1733. ; allow Distributed-COM calls. c: ^# k' N' g2 \% x4 h  [1 k. k
  1734. ; http://php.net/com.allow-dcom
    & L/ m3 `! c0 `0 K% r
  1735. ;com.allow_dcom = true, v( t' q  A: ~! p) @/ ?
  1736. * K+ _. o" h! {/ T6 @' h$ ?. u: j. Z
  1737. ; autoregister constants of a components typlib on com_load(); z9 H2 V3 P, X% k
  1738. ; http://php.net/com.autoregister-typelib( H9 Y. y, e% d7 x
  1739. ;com.autoregister_typelib = true+ i% N- w0 E: b  m. U; w$ `" y( Q) o6 D

  1740. - V: m4 J- r& ~/ M9 I0 V" s
  1741. ; register constants casesensitive  }+ c! i; f7 G/ l0 B6 ], E# T
  1742. ; http://php.net/com.autoregister-casesensitive
    ' `0 U& H( n# P1 n, e0 `/ L
  1743. ;com.autoregister_casesensitive = false
    * p3 z% v/ B* h0 u  A

  1744. . ?4 `" l1 e, @' ^# N
  1745. ; show warnings on duplicate constant registrations6 [, W7 T  E1 g  G& b
  1746. ; http://php.net/com.autoregister-verbose
    + [5 b% \6 m1 H, p
  1747. ;com.autoregister_verbose = true  E2 c7 i) J" D' P$ V% C- P( U
  1748. + a' l; b$ B8 ]# r  |3 P
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ( M6 F0 G& X5 |8 q# w  f/ f# c. \
  1750. ; Default: system ANSI code page) H0 n3 _$ w8 D' V
  1751. ;com.code_page=
    6 a/ m* x& E' e

  1752. * W' X1 \+ E" r9 ?
  1753. [mbstring]
    - \( t/ R1 J0 l1 c) ]
  1754. ; language for internal character representation.4 `& H" G) m( Q( L
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.5 [8 ]) g" C4 S. \2 w
  1756. ; http://php.net/mbstring.language! H* v. E4 e: M: W
  1757. ;mbstring.language = Japanese
    5 y& x" t$ Q8 B4 q
  1758. * t  d: p# P: k, p' X
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.- M9 B* R$ t' ~- f1 ^  m
  1760. ; internal/script encoding.# |% f- {  j1 ]7 P& H
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    $ z6 t6 `2 K1 ?: P1 \  }
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 j9 f- J; O' U9 d5 @3 ~
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  w1 A5 Y8 _2 |2 g7 }
  1764. ;mbstring.internal_encoding =
    . Y2 D3 X2 s& a; k  j# q3 D
  1765. ( t& _9 l9 ]4 ?1 z' w
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % n( l" c2 J1 {
  1767. ; http input encoding.& w& W: U+ J  X% [1 t) P
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & \  U" n4 _9 m+ U; J
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    " I# p/ ^. l! t7 h
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input/ V# V: O- G; ?
  1771. ; http://php.net/mbstring.http-input
    4 A2 |2 s2 m! b4 c
  1772. ;mbstring.http_input =$ y  f+ N( o9 c0 ^! I

  1773. 5 Q  L* C6 X8 V3 `2 X3 w7 u
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.9 Y) b- q( {, \- _
  1775. ; http output encoding.6 D( o& O4 S4 w7 T
  1776. ; mb_output_handler must be registered as output buffer to function.8 r: k0 w1 F5 z( X: L$ C
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; ]* p% i4 Y# u  z
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output* s" |+ r" j; _1 ^
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    9 [$ C' R- W( J  V9 r) h
  1780. ; otherwise output encoding conversion cannot be performed.1 h8 |; `+ _! s6 Y% G8 V7 u
  1781. ; http://php.net/mbstring.http-output
    & Y' j- K. |$ O9 }  Q+ Q% ?
  1782. ;mbstring.http_output =  D- `3 O' c( P
  1783. " {9 V9 _7 R8 i7 P1 A8 m$ v
  1784. ; enable automatic encoding translation according to) p5 S2 ?# J" d* R( }1 q
  1785. ; mbstring.internal_encoding setting. Input chars are) l% b" L( [3 Y! @) r0 Z
  1786. ; converted to internal encoding by setting this to On.$ }* A( }, W# x7 A( X
  1787. ; Note: Do _not_ use automatic encoding translation for
    % L9 z; g  \! y
  1788. ;       portable libs/applications.
    9 U+ n# c& S) `5 W2 R
  1789. ; http://php.net/mbstring.encoding-translation2 [* \6 N" j- e. v
  1790. ;mbstring.encoding_translation = Off' q$ @5 T& b$ @7 c  X3 ?

  1791. / b5 a( D- B, e  ~% d
  1792. ; automatic encoding detection order.% I# C, H; o- V$ T! v2 @7 H7 c
  1793. ; "auto" detect order is changed according to mbstring.language9 q0 S) t: u. [( Y  I
  1794. ; http://php.net/mbstring.detect-order; U$ t# A. u7 G- k$ c: V) S2 }
  1795. ;mbstring.detect_order = auto) x! y' ?0 R# a3 w7 P4 H3 {& m9 ?
  1796. ; O9 s9 K& m, e1 C3 y8 j
  1797. ; substitute_character used when character cannot be converted
    : _9 d' n. p# J- O, x
  1798. ; one from another/ m: {. m# X# N8 r% S$ Q
  1799. ; http://php.net/mbstring.substitute-character! l- g, X% p; y, C3 w
  1800. ;mbstring.substitute_character = none
    5 q9 A& W# r; M3 D8 w
  1801. 2 [$ O; T- C9 G. z. ^% q2 h* J# B
  1802. ; overload(replace) single byte functions by mbstring functions.% ^1 u: q+ N* k8 u/ w6 f- P
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),. v1 z9 Y  n/ X+ [8 K  a
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    . V6 j! H8 C, w7 `
  1805. ; For example, 7 for overload everything.
    7 ]- K7 E7 d3 ?% m" w4 r
  1806. ; 0: No overload7 f" Y, J1 t$ T  k  l
  1807. ; 1: Overload mail() function
    * Q& x; ~0 x7 W! {; z" g( h
  1808. ; 2: Overload str*() functions/ Z0 i9 j" v) [: C  ]
  1809. ; 4: Overload ereg*() functions' Q' q* V9 H# J& b
  1810. ; http://php.net/mbstring.func-overload1 r; D) E8 g8 s0 K1 A3 o
  1811. ;mbstring.func_overload = 0
    2 R' ]5 k* r& a2 F, A; T3 a- A1 a
  1812. ; C7 i' V1 |8 C  D
  1813. ; enable strict encoding detection.- G; v, m* {# o( O2 A
  1814. ; Default: Off2 O4 t& ]+ {% p  ?2 H
  1815. ;mbstring.strict_detection = On( t6 A  W5 t% j

  1816. 8 s% R/ [" m& T
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()" x$ Q1 \7 Q$ E1 F2 L; `* f
  1818. ; is activated.0 v' p) K  V2 y) Q% g2 ^/ O
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml). g' `7 p6 b  W" ~' F8 u
  1820. ;mbstring.http_output_conv_mimetype=0 X. G3 x% J! P. M% n% i: W1 S8 t" ?
  1821. , a2 W/ M& V5 q9 }
  1822. [gd]
    7 k2 x1 K9 L  e9 c# l$ h9 L7 x
  1823. ; Tell the jpeg decode to ignore warnings and try to create: C$ J; o# H8 t1 G! w" Y# r6 q
  1824. ; a gd image. The warning will then be displayed as notices0 z: c$ e+ @2 H: e* h
  1825. ; disabled by default
    " |9 J% |; E" X! B
  1826. ; http://php.net/gd.jpeg-ignore-warning" g% [& o. |. J# u
  1827. ;gd.jpeg_ignore_warning = 0
    ' K/ K- o+ I; O" i6 S: ?
  1828. 2 L  c/ R7 V& _8 @
  1829. [exif]0 G; U* E* y7 g7 |% ~) [1 I
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % t+ g* r  z. d$ \* h
  1831. ; With mbstring support this will automatically be converted into the encoding
    1 L% P7 I4 d/ ?# R8 p% j
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    - j( Z7 m* r1 g( g9 J7 \4 h' j
  1833. ; is used. For the decode settings you can distinguish between motorola and
    2 e8 N" ^% W! n  Y. u
  1834. ; intel byte order. A decode setting cannot be empty.  x9 Z$ G, j9 I
  1835. ; http://php.net/exif.encode-unicode
    " A8 a( H5 Z* @* h5 l$ Y
  1836. ;exif.encode_unicode = ISO-8859-15+ \" B8 R1 r- l* \, T

  1837. 6 ~4 @1 r  |; j# E* \
  1838. ; http://php.net/exif.decode-unicode-motorola
    ; R# J( S. X1 H& D, i
  1839. ;exif.decode_unicode_motorola = UCS-2BE
      `2 w7 a4 q$ J0 ]
  1840. - V9 z. w6 H! [# K3 W7 \
  1841. ; http://php.net/exif.decode-unicode-intel- }1 K# {4 S- L" Y: T' Z
  1842. ;exif.decode_unicode_intel    = UCS-2LE4 J/ T: I5 T9 Z! ]1 [5 b
  1843. , z7 }% ~2 z! W
  1844. ; http://php.net/exif.encode-jis+ t$ t( W* o" h+ u  z1 P9 z. h
  1845. ;exif.encode_jis =
    # R/ {  z& l& z9 S# H

  1846. 6 x- i3 K: R4 x6 ~2 b/ M) m
  1847. ; http://php.net/exif.decode-jis-motorola
    + L$ O- w8 k( K0 j
  1848. ;exif.decode_jis_motorola = JIS, l  ]2 N0 s! ~% O, n

  1849. 3 F0 e( ^$ U3 r0 p5 E. m
  1850. ; http://php.net/exif.decode-jis-intel3 c0 f; @" @' c4 E
  1851. ;exif.decode_jis_intel    = JIS. ?8 d8 [$ d; G
  1852. 6 [( t' J& ^- S5 w9 K7 [$ t# G
  1853. [Tidy]& j5 ~; I+ a$ p4 ^1 z3 t6 x
  1854. ; The path to a default tidy configuration file to use when using tidy
    * H  V* d7 x' N% D5 q
  1855. ; http://php.net/tidy.default-config
    , L+ E9 t) r1 ~1 j
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg7 i6 P& J' w1 u$ [
  1857. " q8 T* Y9 r9 l+ h
  1858. ; Should tidy clean and repair output automatically?: `; g' y0 J4 C7 b
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ! n8 ], R- n* e9 v/ ]
  1860. ; such as dynamic images
    8 p# S$ ~! p' k. [. B
  1861. ; http://php.net/tidy.clean-output# W# r/ \5 r" I" ^; O) ~' c
  1862. tidy.clean_output = Off
    5 A' _1 S7 k' }# Q3 O! Z7 F
  1863. ( {+ J2 g" \# u, R' u! ~
  1864. [soap], w$ Z' o. ^$ Q: \* V5 O0 Q
  1865. ; Enables or disables WSDL caching feature.0 u' z0 C$ R) |2 s0 o
  1866. ; http://php.net/soap.wsdl-cache-enabled
    4 V4 l9 Y; l7 E
  1867. soap.wsdl_cache_enabled=1# W2 c  U6 L) X* m7 j+ e

  1868. 3 p1 G( A7 f1 H+ B
  1869. ; Sets the directory name where SOAP extension will put cache files.2 p, d) k3 V. {
  1870. ; http://php.net/soap.wsdl-cache-dir
    5 G; J5 v: T- c
  1871. soap.wsdl_cache_dir="/tmp"
    , _* V3 ~: q) `' i7 h" @, @

  1872. : P: J& s: @/ Z
  1873. ; (time to live) Sets the number of second while cached file will be used" E8 N( X! E! E% ^; w! \4 ?  u
  1874. ; instead of original one.
    , K* Y; f% P8 \
  1875. ; http://php.net/soap.wsdl-cache-ttl
    + }2 B% |5 @+ K9 c7 Z) W
  1876. soap.wsdl_cache_ttl=864003 ^: u, _; f2 G

  1877.   l. e- w  o4 }
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ i( t, `* g( W' j! l; B! l. n
  1879. soap.wsdl_cache_limit = 5! H5 m* \5 ~% d+ N, s3 O
  1880. & [1 [3 l  i- Z9 w( D0 L% J" n
  1881. [sysvshm]
    1 l) l* h+ C8 {0 t7 I3 H. {6 Y
  1882. ; A default size of the shared memory segment5 [3 B# |- h$ s
  1883. ;sysvshm.init_mem = 10000
    1 X! @% R& j$ u! E$ }8 c/ X9 q

  1884. : @3 H5 d+ E9 f3 {
  1885. [ldap]; ]$ R1 s9 Q* U$ {. O1 M
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    6 O3 Q7 T) f( h& y
  1887. ldap.max_links = -1
      e& K; p  Y1 m0 o* G
  1888. * e) W( x, u, O
  1889. [mcrypt]
    2 l& I/ i* b7 n# z+ C8 I
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    % i, u: f  [. J. N
  1891. " i$ R- L1 l: u0 L. P) q) S9 N8 e( d
  1892. ; Directory where to load mcrypt algorithms# C# F, V: t/ V- h1 T
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 g4 t; H- ?4 B: D
  1894. ;mcrypt.algorithms_dir=
    ' U' @) [" s& q) i1 K* Q

  1895. * G  E( g/ [4 X9 H3 O2 u! P
  1896. ; Directory where to load mcrypt modes
    " a  r2 F' q( R
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' o; j6 V9 V. ]' S' M' j9 S
  1898. ;mcrypt.modes_dir=
    ( s" b' L  H- X1 b( I9 [6 F

  1899. 1 m  x: ^  B. a2 j) e, r
  1900. [dba]
    + h$ ?. ^2 Y) h3 D) s! `
  1901. ;dba.default_handler=
    6 \3 i& T$ w6 ^2 I* k

  1902. 9 {; D, j1 X/ G  `
  1903. [opcache]  J" j  r7 V1 ]$ `. @7 D
  1904. ; Determines if Zend OPCache is enabled
    ) Q% @9 g( u$ t2 a) u* G6 E' k
  1905. ;opcache.enable=03 q5 q1 d1 c* q5 Z7 Q. z  j3 W
  1906. , N7 U: B/ z  e8 L& Q  K; Y
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP) K/ e9 X# x/ r9 f6 H+ H
  1908. ;opcache.enable_cli=0
    ! p" D9 C) `% i" ?
  1909. $ c: o+ P2 M- O7 R
  1910. ; The OPcache shared memory storage size.8 M6 x" T& z+ @9 U
  1911. ;opcache.memory_consumption=649 R1 I" w$ W# l

  1912. ( g0 W- T( K% A8 y
  1913. ; The amount of memory for interned strings in Mbytes.  D3 ]7 t; z* a+ P, j& A
  1914. ;opcache.interned_strings_buffer=4
    # p1 v5 U1 x1 ], r/ X; s3 o
  1915. 2 q3 O+ y) s. H) O) O! y; e7 [
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.% b# ?9 L1 E( w* x( E. [
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; a# y7 A, k8 U8 G6 G
  1918. ;opcache.max_accelerated_files=2000
    * @  Q  V% f- P  O' i- B/ `

  1919. - y( I1 R$ E6 a( b' C
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    4 e$ u4 z$ @+ k# d9 p+ ?8 D. K; ?' k
  1921. ;opcache.max_wasted_percentage=5& V- Y# q" w/ H# _( M

  1922. ) O$ ~0 ?3 M- i( h% X# r  {
  1923. ; When this directive is enabled, the OPcache appends the current working* w. l/ }1 C: ?$ j* l
  1924. ; directory to the script key, thus eliminating possible collisions between1 R% b0 _' W9 s7 `
  1925. ; files with the same name (basename). Disabling the directive improves' C- A. i# f' z' E9 N& u4 m
  1926. ; performance, but may break existing applications.' n( I+ w, M  m# P. m; Z6 F
  1927. ;opcache.use_cwd=12 A& }$ g: \7 Y4 T0 ]: Z! ^
  1928. 4 D. E- T: M9 B( ?7 H' l
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ! D. F1 o! x( ~% D5 f' {
  1930. ; webserver for changes to the filesystem to take effect.
    " T; x: [, Z# v, _# Z2 W
  1931. ;opcache.validate_timestamps=1
    ; M3 d9 T9 k9 O2 W* y0 j

  1932. * |, y1 C  j- f( Q! N9 K! A
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    , V+ |3 r( U# s) I7 ]& Y! K
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    $ k) e" p! B) p! |) t2 E) `% d. Y+ l
  1935. ; once per request. "0" means always validate)" e9 n: n3 ]( Z# F
  1936. ;opcache.revalidate_freq=2/ p9 ?* ^+ {7 O5 R, S/ j8 Q+ I0 X4 A* H

  1937. ' C: w: s- ]7 g2 A7 Y5 j
  1938. ; Enables or disables file search in include_path optimization# P# _7 U5 Z& c! E
  1939. ;opcache.revalidate_path=0
    ( w) x1 m* p, x, G5 W

  1940. 0 t, F, b5 L# Z, s, P3 A  w
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 m" j: g. k0 C: F+ i* H
  1942. ; size of the optimized code.7 K; T7 M. P/ Y
  1943. ;opcache.save_comments=1
    ' d) p. z. B4 V- L. E; @  i% L7 m

  1944. 5 [+ `4 h. |" U' i1 t$ u
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    $ m' P' I/ A5 u9 I% I
  1946. ; may be always stored (save_comments=1), but not loaded by applications: ?# h1 g0 u- t! Z
  1947. ; that don't need them anyway.: |8 `( U" X1 {* Y9 ]
  1948. ;opcache.load_comments=1
    " \& N0 B9 m8 w5 c; z& m2 d

  1949. $ h8 z3 f( J0 {- B$ i, p& G3 l
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code( T0 B+ v4 W2 }4 n& T0 }8 R& j
  1951. ;opcache.fast_shutdown=0
    ( K6 z1 R9 ~" P
  1952. ! |9 l; ?# L( c
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    & e; G4 j; A! |, S; n  Q
  1954. ;opcache.enable_file_override=00 L5 Y# k0 o' I- d* k
  1955. 5 L. v/ G/ c+ O2 N
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! h( ?" e4 c6 X: |) v9 S
  1957. ; passes
    & l, S8 {) G0 [! A7 z) ~  P" S$ g
  1958. ;opcache.optimization_level=0xffffffff
    / V# I2 u1 k5 K% }" }2 ]
  1959. ( L2 \8 J+ ~4 h
  1960. ;opcache.inherited_hack=1/ S& L7 {6 G  s) x0 L, E* E
  1961. ;opcache.dups_fix=0, y4 @- {( |% B6 V0 F: i8 s
  1962. 3 t/ E1 J- A5 g6 `! j8 ~
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    6 F( b. f3 V/ E4 e, I
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% ^  o  _+ ]/ B" I3 n. q% z
  1965. ; that should not be accelerated. The file format is to add each filename
    3 @0 L4 P# [  Z! P7 Y' W$ Q
  1966. ; to a new line. The filename may be a full path or just a file prefix
    3 \" s# a) \! S
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www" w3 t- H) R' F' @& ^! a
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).( S1 V2 V: B2 V4 Y
  1969. ;opcache.blacklist_filename=$ E: H* S& V% `* K& M$ p

  1970. 5 Y  E* z+ e/ s5 O* F9 h  Z
  1971. ; Allows exclusion of large files from being cached. By default all files
    * x. m; f7 O) s' U8 z" T: y) S# `- q
  1972. ; are cached.
    % a4 K0 n/ I! ~! M" _
  1973. ;opcache.max_file_size=0
    ) o: J8 W9 e6 ]; d+ [) m, r4 J

  1974. ! s: u8 d* o* `( t5 ^1 ~, o% ^) z
  1975. ; Check the cache checksum each N requests.
    9 l3 p% R! _  \. Z& g7 S
  1976. ; The default value of "0" means that the checks are disabled.
    : b. ^2 f0 B2 S2 Y$ Q
  1977. ;opcache.consistency_checks=0: X2 z& N* N, j" X! J

  1978. , M# B# z" \% W
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # A7 I. S# J6 D7 w5 Z& R: C& E
  1980. ; is not being accessed.- Y1 J6 U& ?' s' K; {
  1981. ;opcache.force_restart_timeout=180
    2 E$ ~. E/ l, A( ?0 N

  1982. $ d' a9 n. z, j+ e. ^; F
  1983. ; OPcache error_log file name. Empty string assumes "stderr".6 \& k5 b8 z) m/ h* B! T8 K* l
  1984. ;opcache.error_log=
    * E3 U3 z# \3 t$ `- {
  1985. ! t7 J: h6 d" x; R# A) z/ |
  1986. ; All OPcache errors go to the Web server log.
    0 U, n0 E2 k+ h7 k: Q
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    + p( g8 n; e- m0 l6 V5 G* O! k, E
  1988. ; You can also enable warnings (level 2), info messages (level 3) or8 B- {8 I& j: k; V- Z
  1989. ; debug messages (level 4).4 y2 L$ v& w! u. c
  1990. ;opcache.log_verbosity_level=16 k: \* R! M0 N
  1991. 1 k. h* @; Z* `& R8 A% y6 W
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    1 j  z" w% a" |1 u' J
  1993. ;opcache.preferred_memory_model=4 a+ X  I2 d% _/ P3 q9 x- o5 X

  1994. 0 O! O$ o1 s: H' |" ?
  1995. ; Protect the shared memory from unexpected writing during script execution.
    6 k5 E- Y; X7 I& L5 p
  1996. ; Useful for internal debugging only.
    ; Q3 ]% f% Q9 Q0 ^
  1997. ;opcache.protect_memory=0
    . z& x. T3 H9 |0 e, x
  1998.   U9 o& I0 K; x4 Z, i( h/ K% L
  1999. ; Validate cached file permissions." ]6 h( k5 g) Z% y7 ^
  2000. ; opcache.validate_permission=0
    6 s# J- A% |2 G* R2 H! d

  2001. : }/ r" n0 W) h+ h5 u. l
  2002. ; Prevent name collisions in chroot'ed environment.% L2 ^! `# w0 j- Y" h
  2003. ; opcache.validate_root=05 k& n6 m  ^! P; s  c

  2004. " w: \8 S. x. C. o
  2005. [curl]
    $ O3 V/ R9 T& C- n
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & x0 W0 t! j( [4 N2 t
  2007. ; absolute path.4 S' f4 `# g" h0 u3 D
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* s9 ~3 L$ m# {- p( [9 f% W# W3 K
  2009. 6 U$ C: K; E. c: n; _6 o* c* S
  2010. [openssl]
    # }! W% [$ e' R. K8 k# `8 Q+ l1 {
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem: z; @. }4 }9 B$ P; ]
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should1 O# @5 @: N4 r$ G. t+ O
  2013. ; not specify a value for this directive as PHP will attempt to use the
    1 }5 d$ `4 U8 Q( a: x% z& p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still0 Z; v0 O# U2 j- h' L* `% `/ d
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 x" t; W5 B: l9 T. r8 O/ b$ i
  2016. ; option., P( Q6 a2 [, W) p
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, U' k1 @1 E- v6 o# c; T; x& L

  2018. " p! B6 M9 p% h
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the7 r" }; `5 ^3 B6 ~8 {) \
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    9 `, }2 [$ Y, ?! U
  2021. ; certificate. This value must be a correctly hashed certificate directory.3 c- z* @% [* z0 I; A+ p+ D
  2022. ; Most users should not specify a value for this directive as PHP will: t7 }- t% \1 r4 m' _$ z2 h8 n- F
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    5 p( q- A" `5 f3 P) o! m# M% G  a
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    4 ?" f% s. v& b( r0 V
  2025. ; SSL stream context option.
      F& p8 G. P- F5 }- d3 {7 E
  2026. ;openssl.capath=
    " i% X: H/ A* L0 q: p+ O

  2027.   D3 m$ x1 _2 F0 f' w
  2028. ; Local Variables:
    * w- K& p) j' P" K# s$ N, Q
  2029. ; tab-width: 4, l$ J1 l$ m7 b  f
  2030. ; End:
    . G' t$ n" E) O; _6 t- U# P

  2031. 4 D+ \; u& d. o% L7 f+ _% z
  2032. ;eaccelerator
    # S1 |% v( g. O1 g) ]

  2033. ; l5 _. u, C0 K  s0 i2 X! N
  2034. ;ionCube
    ; Z# U& G0 G7 f) u# }: n
  2035. - o7 a# H( c- U8 Q/ L% a$ [" {+ W
  2036. ;opcache* T$ q5 }7 S* n

  2037. : _6 y7 a% ^4 T$ b% ?- h- z& i, [$ d
  2038. [Zend ZendGuard Loader]* F  C4 {5 q) L& V1 v
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so" `' R$ E# U" s& s: f$ b
  2040. zend_loader.enable=1
    2 o) I" A3 h  {* Z+ Q- q$ v. o
  2041. zend_loader.disable_licensing=08 `! S) C' b! t  W- w2 w
  2042. zend_loader.obfuscation_level_support=3
    # g# ?6 x1 e( ?) ~4 A+ z
  2043. zend_loader.license_path=
    0 s) P% H7 @3 ~
  2044. 4 k0 y" R/ i' a  j& o# {
  2045. ;xcache
    7 N, y* |/ D% a) A

  2046. $ k4 }+ Q, U7 J
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146927 Y5 j9 ^( p- i6 G) j1 }, M4 X
2 o5 Z1 o; N+ b+ W3 K+ R

4 N5 G  u) {0 C1 `Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 \$ N) g4 Z  \. ^+ A, y
' Q. m, Y/ L( m! b. q6 s. R
Discuz!程序版本选择:! d$ g2 g$ I! ]# u6 }9 v0 {
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
* O, G) h+ M: t, ^不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:1 O4 C# F, e2 O* S( t+ d" ^: h
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
" _( h/ g* G7 V
8 n: I/ ~4 E$ Z2 W# o$ F, R' O) S) RDiscuz!插件模板版本选择:$ ?; J" i2 T' c. E' _
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
( q; {: Z/ j6 l% |针对这个问题做个统一的普及:
' G1 Z, H" d- u. @7 s$ C& Y" h& FX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。) Z% P( }$ X1 Z5 p- x+ H7 [
* a( c% `$ {" N0 Y! f# \
所以9 ?! _8 P# Q6 q
适合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的二级域名。
% a2 Q& F) p& W打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。9 x" z, K7 W9 T+ C2 [: B
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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