分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
5 J, I+ |/ J6 n4 |8 m9 Q2 N1 e- T4 M% n3 t/ G0 j9 y
  1. [PHP]
    . g# p2 u% g. Z' W/ @3 R

  2. 9 `2 L) Q" S4 b  f3 A
  3. ;;;;;;;;;;;;;;;;;;;: Q& O, Z, A4 [2 R# V' h/ D+ n# ]
  4. ; About php.ini   ;
    " ^' Q4 y( I) a, a
  5. ;;;;;;;;;;;;;;;;;;;
    / R0 `: U5 ~- T" D
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    8 x% |0 i% e% E: q, F" S
  7. ; configuring many of the aspects of PHP's behavior.! G  f& q4 F. G6 U, w. ^8 Y8 Y
  8. - N2 M6 {- o# K0 `0 g; ~6 R
  9. ; PHP attempts to find and load this configuration from a number of locations." y" @) R8 s4 q# |0 e# a
  10. ; The following is a summary of its search order:7 m0 a! W! B+ x8 Z
  11. ; 1. SAPI module specific location.
    & ~, q5 H. n  J- e$ _' I2 Z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)$ o1 E7 _* @+ o. X3 T6 J8 [; z& V
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- ^0 ?/ B  s4 w1 C; c
  14. ; 4. Current working directory (except CLI)8 [, e5 ^6 K6 t; N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP5 z6 D+ d2 [- b* O( V; {1 {( `$ T
  16. ; (otherwise in Windows)/ e8 l0 b* _- Z+ e# W
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    8 x+ r  j+ j; F% Q% ]3 H$ i0 k1 H/ |
  18. ; Windows directory (C:\windows or C:\winnt)
    & X5 x7 s7 W9 D' A/ R
  19. ; See the PHP docs for more specific information.
    , }9 i* \- }$ ~
  20. ; http://php.net/configuration.file
    ; Z* t7 F* I" D/ U1 n1 ]* t2 b

  21. & a* D; a% |, N: Z" k, o7 S# V
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - l8 P8 ?& j1 t) _, M. y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    & m' ]  e4 D  z% R0 S4 }
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 ~( U  f" `/ A) t! s8 _6 f4 A  C. |# }
  25. ; they might mean something in the future.1 }) Y8 `2 ~8 c  _
  26. 1 f" G" D/ T9 Z" n3 o
  27. ; Directives following the section heading [PATH=/www/mysite] only5 o  t5 G2 `0 R; j
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    3 R; B" R% g- k! H2 b5 k0 L# e
  29. ; following the section heading [HOST=www.example.com] only apply to
    " V  o9 i: f" _- v
  30. ; PHP files served from www.example.com.  Directives set in these$ i  X. N0 B& S9 W$ ^: ?2 p8 B
  31. ; special sections cannot be overridden by user-defined INI files or2 D8 a" b3 F6 e$ u; I; _/ A) _- F
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    , D7 v( S4 ~; s+ ~! G: {: p/ {1 [. N
  33. ; CGI/FastCGI.
    . g! Z5 ?0 V  t, n; {
  34. ; http://php.net/ini.sections/ }' f1 }5 V/ r7 [% @' Q! ?
  35. 3 i0 _$ F8 k, ?4 c4 O% R% |
  36. ; Directives are specified using the following syntax:" \7 S/ u" H& F. j; h: N  H. q! a
  37. ; directive = value9 J& t, z$ `  W
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.( L# m. j+ \+ g- P8 ?
  39. ; Directives are variables used to configure PHP or PHP extensions.
    * G# j0 V- W* L* k, g
  40. ; There is no name validation.  If PHP can't find an expected
      w8 f  t4 _7 b: h/ I, U. E9 N
  41. ; directive because it is not set or is mistyped, a default value will be used.
    7 v3 |9 O6 X+ j( |2 f& M, p+ B: N

  42. # h  G5 S( u% G6 E3 T" M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one' S/ h  W; c) R! \9 }" g* X
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression6 b& l8 w; D) \
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a, T- {0 {* d) C4 m* N* g  c
  46. ; previously set variable or directive (e.g. ${foo})
    % ^5 |' G2 W8 }

  47. ) p8 G  {9 X# i; h6 j8 Z5 {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! e  n/ M, I% g7 R: D
  49. ; |  bitwise OR
    ( d. Z& G7 s$ j8 X! W
  50. ; ^  bitwise XOR
    . H4 J7 k& l7 l6 _
  51. ; &  bitwise AND- Z* |; p% A$ F: J! r3 l
  52. ; ~  bitwise NOT# q0 T6 N; H( ~
  53. ; !  boolean NOT( r  N- ~2 ]4 Z$ ^- y# _. ~

  54. ; V/ g& ?, x4 |7 T$ T" D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.1 \9 Y# Q8 `' y7 D. w5 g
  56. ; They can be turned off using the values 0, Off, False or No.
    0 t! M0 [' N1 \1 M  G) b
  57. + K5 C. {  E; Q2 Y& M% ?
  58. ; An empty string can be denoted by simply not writing anything after the equal
    / M6 e5 E& h+ ]- ]2 h! |
  59. ; sign, or by using the None keyword:8 s* {+ b  g$ ^- D  C

  60. " n) P2 z+ @# ~$ V: c7 V
  61. ;  foo =         ; sets foo to an empty string: j+ x. r+ l3 o1 D3 z1 m$ x( x5 S
  62. ;  foo = None    ; sets foo to an empty string' n/ s+ J5 J/ `- h
  63. ;  foo = "None"  ; sets foo to the string 'None'. E6 O* }8 d+ U7 v
  64. - B3 a2 I0 @1 Q7 Y- [4 ]
  65. ; If you use constants in your value, and these constants belong to a9 L  u; R* Q! t. k; f, b9 m& b
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    1 ~3 j& b0 L3 r5 ?
  67. ; you may only use these constants *after* the line that loads the extension.. @/ @/ z4 S0 H' o& m. y' s7 D
  68. ) v! [' R2 v: L* R5 Z
  69. ;;;;;;;;;;;;;;;;;;;
    9 l) ^( Y- q2 j( k& K& N  U
  70. ; About this file ;2 H0 ~8 h' o  `5 t; ^# R  X
  71. ;;;;;;;;;;;;;;;;;;;
    2 ]9 o1 u3 ~5 h" G) _1 B
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    & a8 t% F9 h: {% b( N
  73. ; in production environments and one that is recommended to be used in
    4 R  e( r( p* B; ~: E( B) T
  74. ; development environments.6 |( r3 a$ N0 J$ |! h! j
  75. 9 D/ l! O# z- G3 b. ~
  76. ; php.ini-production contains settings which hold security, performance and& K/ }8 P5 l5 c$ ?$ I' n' I* d' z
  77. ; best practices at its core. But please be aware, these settings may break( g+ a! W8 Z/ S/ a+ {6 d+ f
  78. ; compatibility with older or less security conscience applications. We
    % p, E( A/ f1 W( H/ U
  79. ; recommending using the production ini in production and testing environments.5 Z% ?: M0 \; M/ I
  80. 4 M  K+ H3 l2 \. e
  81. ; php.ini-development is very similar to its production variant, except it is
    % c/ Y" M* V# a: D/ }5 Y
  82. ; much more verbose when it comes to errors. We recommend using the
    7 b- H0 x" B3 W- l  N
  83. ; development version only in development environments, as errors shown to
    ! x( F9 h3 ^) W( k. Q: \: ?: r
  84. ; application users can inadvertently leak otherwise secure information.
    9 |9 G: d2 r. b2 Q0 O0 n! @! F

  85. , ~! _2 f5 n' W: d% S
  86. ; This is php.ini-production INI file.7 t2 K( p9 x( Q' {- g* A  Q; b
  87. 0 U6 r, R, m* S" W  m+ l" X1 g
  88. ;;;;;;;;;;;;;;;;;;;6 z/ }5 h* s: U" D! M
  89. ; Quick Reference ;
    . ]5 f7 n5 P; y% N0 @6 f7 e
  90. ;;;;;;;;;;;;;;;;;;;  G* n! F4 I* f8 W( r4 E
  91. ; The following are all the settings which are different in either the production
    9 N/ i0 d6 Y7 m0 t$ O
  92. ; or development versions of the INIs with respect to PHP's default behavior.: i9 U2 Y9 Y0 H& F2 @3 d  g7 O/ d& R
  93. ; Please see the actual settings later in the document for more details as to why% Q4 F- C  R: k3 B$ _& c
  94. ; we recommend these changes in PHP's behavior.
    + m) I0 r0 }4 K7 H- w

  95. ( ^' ]! W, |+ ]1 c4 J3 t' {! n
  96. ; display_errors; ~5 ^8 j9 d9 y1 Y
  97. ;   Default Value: On
    - x2 f3 x: Q+ G6 J+ m5 G4 ~7 ~8 _
  98. ;   Development Value: On) R. M- Q# k$ f. d  }
  99. ;   Production Value: Off% C9 o' I5 x( t  P# v2 \
  100. * q7 m* Y" T1 `8 m4 ~
  101. ; display_startup_errors2 e* A/ \( J2 [3 T/ y3 P& @7 N
  102. ;   Default Value: Off/ ^: S" [; ^5 c
  103. ;   Development Value: On
    0 F9 r; r: S% F- Y$ K: D9 n9 O* Z! M
  104. ;   Production Value: Off
    + |/ [3 A' z# D& Q3 h6 X) J3 t

  105. 7 \) E, G8 X* X, d6 x
  106. ; error_reporting
    % H( ^  r, Q6 f  Z; L
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, i% U/ u- s5 `* `8 @
  108. ;   Development Value: E_ALL
    ) c" _/ D( k! |% v& I
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % d8 T3 j6 d. r. k# y1 e
  110. , K6 ~5 m0 o4 o7 N1 p
  111. ; html_errors  q' r( T; |7 \4 ?8 h
  112. ;   Default Value: On
    ; f6 N" E5 Q/ J3 R& ?
  113. ;   Development Value: On
    5 _$ E" i) n1 G; W1 S
  114. ;   Production value: On
    " q, _# i5 G: N6 y* m  c3 W" A

  115. : S7 [  q, m, s; O! X6 P8 O8 {
  116. ; log_errors! @+ Q: y' w& i. W5 H3 J& D4 L
  117. ;   Default Value: Off4 {' v) K, E. c* t4 x3 `
  118. ;   Development Value: On2 e0 E% F6 P1 b6 K! m* n4 a
  119. ;   Production Value: On5 V" g) P. l; {0 m6 N/ e

  120. 1 T! h9 k4 p" K  h
  121. ; max_input_time
    ) b2 Y0 K6 l% x) t. \
  122. ;   Default Value: -1 (Unlimited)
      ~) C: i5 |0 E$ _, _
  123. ;   Development Value: 60 (60 seconds)
    : Y# {, v3 w! K6 F
  124. ;   Production Value: 60 (60 seconds)
    8 l% F6 }, Z% B1 c" ]$ R0 a
  125. . |+ U. m/ U9 p) Y6 ]; T- j
  126. ; output_buffering
    $ `2 a. X  [' T  c$ o
  127. ;   Default Value: Off
    # |5 G5 r+ O. I
  128. ;   Development Value: 40960 i; g% u8 d) D: M
  129. ;   Production Value: 4096
    " q; g' |* h0 G  t. W( P
  130. $ h9 [% X; W6 i1 W7 o/ m
  131. ; register_argc_argv, ~: ^3 x! ]' U: t& N
  132. ;   Default Value: On
    $ A, ~' s/ _: z! P3 _( t$ |
  133. ;   Development Value: Off
    # Z- s0 }, ]! j
  134. ;   Production Value: Off* w- h3 B! O1 \0 M8 z$ m

  135.   [8 W* F1 `" n2 p2 ?/ X
  136. ; request_order, c% n2 Z3 c4 Q2 {- W/ |* k
  137. ;   Default Value: None
    / I8 v9 Q8 D# R
  138. ;   Development Value: "GP"1 u# h/ P) U/ a; e
  139. ;   Production Value: "GP"
    / e- ]# _; J7 ^8 F3 ]' d
  140. 3 l9 t+ S" q5 U" D: o# B* l# t5 q
  141. ; session.gc_divisor
    3 Q  K7 R; }2 h& ~$ N, U
  142. ;   Default Value: 100
    + Y5 X, w  n. v1 ~6 P' k  @
  143. ;   Development Value: 1000
    # D- E" }& e7 Y. B4 j
  144. ;   Production Value: 1000
    % \' \; |4 m, T: V

  145. ; J+ u7 }2 H, Y1 y' a3 B# x! n
  146. ; session.hash_bits_per_character+ X# K/ v1 t$ R  v; Y6 e
  147. ;   Default Value: 4
    & J. H; \1 f- O4 {; z/ A( W
  148. ;   Development Value: 5
    " E. Q' y" k7 I+ z& I
  149. ;   Production Value: 5% A% [! }$ F! p5 H

  150. ! R4 N4 [2 ?% `, a: N) a
  151. ; short_open_tag
    1 U) r1 I: g7 n
  152. ;   Default Value: On
    7 t  O, N' c; t& O1 I  Z! `
  153. ;   Development Value: Off
    " ?- R) ^; K" E7 G# @4 W
  154. ;   Production Value: Off+ P' r: @/ t$ m6 j9 C
  155. 3 a; [) u: ~3 d) K! ^
  156. ; track_errors) E+ k$ L8 n% Y: T* J# V! w  G
  157. ;   Default Value: Off/ Y5 O& b4 u; o5 S; k% K% b
  158. ;   Development Value: On
    7 z5 q8 |! O0 J! A$ `
  159. ;   Production Value: Off
    $ B; v. U+ m5 c

  160. 9 h2 m- S6 @' ^. D; g5 `6 k
  161. ; url_rewriter.tags: Z$ a" l1 B2 U8 B% `9 ^9 ~
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( H4 C4 R! T- |* M& j4 A9 n
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 X. @* x2 y1 T* Q* I% E6 p: C8 i; m
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ I' t3 Z, ]$ J- b) n

  165. 2 E  ]2 I$ i  L  M
  166. ; variables_order* N# K1 ?4 z2 F9 i9 {" s2 N  |" T
  167. ;   Default Value: "EGPCS"
    ) H, \/ I5 {: v7 ~! Y/ W" t3 w
  168. ;   Development Value: "GPCS"
    + g2 s3 I# T" C, o- J. }5 U9 L. N
  169. ;   Production Value: "GPCS"# v& x- e6 C0 ?

  170. . ]; j; p( n. W; C7 o
  171. ;;;;;;;;;;;;;;;;;;;;7 J0 B6 T4 s: i# x7 _
  172. ; php.ini Options  ;
    - a' b) ^2 d+ u- b3 ~4 R/ b2 P/ W
  173. ;;;;;;;;;;;;;;;;;;;;* B7 }& s; ]6 R: @1 x
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 |0 h+ E4 }# F5 ~
  175. ;user_ini.filename = ".user.ini"
    ) v- M; [' u  a' j/ S/ {6 F

  176. 6 l( {7 }( M% l0 v& w4 I* z
  177. ; To disable this feature set this option to empty value
    ( f) l+ K4 s" Y% [
  178. ;user_ini.filename =" v" \% P6 ~- }* M2 }

  179. % i5 v8 K; \3 D8 G
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    $ ~3 V( L, W- Q
  181. ;user_ini.cache_ttl = 300
    5 S, Q. [4 m& u1 k6 r  q
  182. . V8 c5 _5 R# }* F1 J8 F) h/ d; f7 F
  183. ;;;;;;;;;;;;;;;;;;;;& Z) r7 {8 b7 X" l& D. D5 D% p
  184. ; Language Options ;; K6 J7 h# n' `& ~  o4 p
  185. ;;;;;;;;;;;;;;;;;;;;! e5 W4 G5 p, k
  186. 2 y0 ]$ B' B" |! }
  187. ; Enable the PHP scripting language engine under Apache.1 y+ _$ V7 X0 F% u0 x
  188. ; http://php.net/engine7 ~; ?+ R0 C- c
  189. engine = On5 @* q9 l+ l: z: f0 {2 D/ B

  190. 9 |% L: B$ F( N5 e0 o
  191. ; This directive determines whether or not PHP will recognize code between) Q# I) E6 G* x, `) ]: z* }* v
  192. ; <? and ?> tags as PHP source which should be processed as such. It is( k% M% l8 K, j' K7 F( d
  193. ; generally recommended that <?php and ?> should be used and that this feature: Y  ^# r& S; V
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) S9 [* t1 d3 a8 @4 n
  195. ; documents, however this remains supported for backward compatibility reasons.0 j, t! M4 [( `. Y% `6 l
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      N1 \& c- O' P
  197. ; used regardless of this directive." x* _& t0 W. Y. V% I- Q+ @/ v9 e
  198. ; Default Value: On7 H" G8 ^) h. @* z+ Z% Y  v
  199. ; Development Value: Off
    3 a8 [' W7 O5 }; H8 g
  200. ; Production Value: Off
    ; U; }7 `( M8 b. l' p5 J) K/ A
  201. ; http://php.net/short-open-tag
    6 f. h4 I. e9 v
  202. short_open_tag = On
    0 B) ^0 c' C$ U- e' _- v

  203. 0 o0 d9 R( C8 S1 q- v' q4 J, v
  204. ; The number of significant digits displayed in floating point numbers.
      [4 }* X( {* _- u1 p" M9 ]5 e
  205. ; http://php.net/precision
    3 @+ h, R9 a" D
  206. precision = 14+ m( d. q* B' g; l6 Q4 T0 f

  207. 0 ]! y. ^5 w- r: v% ~$ M! w$ X
  208. ; Output buffering is a mechanism for controlling how much output data
    9 [* B+ C3 t  ~2 J
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that/ M* {& D+ ]/ n5 Y& v
  210. ; data to the client. If your application's output exceeds this setting, PHP8 `: h8 a, _$ w8 g
  211. ; will send that data in chunks of roughly the size you specify.
    ( X8 P0 a  l  s4 x7 v! p
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    2 U( L- j$ |7 R  v. E* c; S
  213. ; interesting side-effects depending on your application and web server.
    1 L1 h" U5 r1 v! h
  214. ; You may be able to send headers and cookies after you've already sent output  p) d/ I" [3 W, G7 z0 F
  215. ; through print or echo. You also may see performance benefits if your server is: m6 i0 Q' O& `7 G" ?! w
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    % }/ ?- B: p7 _/ ]- D
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    + D  x0 A$ z9 f; S7 ^8 h: W
  218. ; reasons.
      Z; x+ k% ]8 y0 ~8 ^
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    7 O& g0 U! e$ |' ~/ l
  220. ;   functions.4 P' D- @& L4 L% c# }1 W& c
  221. ; Possible Values:5 i+ @8 M9 @1 ]2 y4 r" ?$ @
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 k- F4 N) q+ j6 c5 |' q2 {) Y
  223. ;   Off = Disabled
    8 k' K4 U/ K  U6 ]) g
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    % u% t$ T% {4 v* n1 A# c- F
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI: M! r0 c# _( |( `" k! r5 a
  226. ; Default Value: Off
    : a! p' I( m, v" V; U2 X
  227. ; Development Value: 4096$ J$ ]$ C5 Z; b8 _
  228. ; Production Value: 4096
      Z/ p' X! v8 K6 v# B- c0 H
  229. ; http://php.net/output-buffering
    ! A7 Y+ x2 @6 Y. ], {0 K
  230. output_buffering = 4096
    ) X" r: T2 t: ], b7 C
  231. % {6 |; {- G; {( c" \
  232. ; You can redirect all of the output of your scripts to a function.  For
    ( y: {8 Q+ f* ?+ Q
  233. ; example, if you set output_handler to "mb_output_handler", character
    * ~$ \+ ]/ h* Q, r: R
  234. ; encoding will be transparently converted to the specified encoding.
    6 c+ U6 [6 e( M0 j) W( p. [# X
  235. ; Setting any output handler automatically turns on output buffering.
    + i# a0 \: y3 D# C, g+ a
  236. ; Note: People who wrote portable scripts should not depend on this ini
    9 T6 [, q) {% Z3 |% P
  237. ;   directive. Instead, explicitly set the output handler using ob_start().$ y7 P! g% E: x. i: `1 |4 v% Y
  238. ;   Using this ini directive may cause problems unless you know what script
    " B+ X* o+ g" z  h  n8 _
  239. ;   is doing.* _" v  ^- j" Y* L8 R- J& Y
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; R) J* Z$ {) {5 v. k" ]0 p( z5 m
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
      w$ [/ g3 N. }: x9 e
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    + L% X% L, ~( h# R9 w$ D+ `$ |# a
  243. ;   Instead you must use zlib.output_handler.- e) v9 @( _! R0 M3 K
  244. ; http://php.net/output-handler/ ?2 S7 T+ L9 a5 X
  245. ;output_handler =; |  h/ b) ?/ G- H# x0 Q

  246. % S3 \) m  ^' R# \- Q
  247. ; Transparent output compression using the zlib library# B/ a4 G  }( p+ O# C' w! s
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size. `7 \' f+ M0 ^5 s: `# ~& Z2 k
  249. ; to be used for compression (default is 4KB)6 M. |7 I# }) C% L, J" P7 G
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP8 M3 x" G' t& K8 w5 r5 o. T% f+ [
  251. ;   outputs chunks that are few hundreds bytes each as a result of% P1 @$ Q; r3 k% w* w
  252. ;   compression. If you prefer a larger chunk size for better) c8 K0 \( x- f
  253. ;   performance, enable output_buffering in addition.
    1 L& i' S/ \" B/ s1 ^7 W! Y. ?0 A
  254. ; Note: You need to use zlib.output_handler instead of the standard
    6 a) d! h" |% W0 m' i
  255. ;   output_handler, or otherwise the output will be corrupted.
    # y6 G. G4 L( n5 _5 B* x' L
  256. ; http://php.net/zlib.output-compression6 ?  `( }) ]1 z$ m+ U  Q
  257. zlib.output_compression = Off
    # ]' R2 `, J: B; f- H

  258. ( t7 z4 p# w( T- O% p& Z6 c
  259. ; http://php.net/zlib.output-compression-level! Y8 ~3 G5 A% q
  260. ;zlib.output_compression_level = -1
    / v: K- Z  O* x3 f* j
  261. ! x% Z9 Z+ @5 |( e
  262. ; You cannot specify additional output handlers if zlib.output_compression7 B4 y5 [' E" ]2 ^; L
  263. ; is activated here. This setting does the same as output_handler but in& B  {& a  d6 U0 M$ G2 \
  264. ; a different order.# ~7 I4 o$ J: k/ m
  265. ; http://php.net/zlib.output-handler
    2 L; z/ z' G' v1 d
  266. ;zlib.output_handler =
    ' `$ g6 E  [  i8 A1 p% h3 ]3 f

  267.   S5 X2 P/ U- Y4 n
  268. ; Implicit flush tells PHP to tell the output layer to flush itself8 h4 J* H* G# C; y1 ?1 `. R# h2 \( n
  269. ; automatically after every output block.  This is equivalent to calling the
    / Z; M- T7 N6 |, @. c
  270. ; PHP function flush() after each and every call to print() or echo() and each
    , _+ F, }1 {5 P/ m: i9 \
  271. ; and every HTML block.  Turning this option on has serious performance
    + ?- I2 A, I( I, ^, @  [9 C
  272. ; implications and is generally recommended for debugging purposes only.; q. i9 A9 B  U$ J+ Z
  273. ; http://php.net/implicit-flush6 E/ P) A* ?- T, x" q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI; n- ]/ D8 M' ^8 T
  275. implicit_flush = Off! J; e. Z  f9 z
  276. 5 m2 p/ M$ }9 R8 E1 K' a" A2 ~
  277. ; The unserialize callback function will be called (with the undefined class'
    ' K+ U% M3 V2 o% N. ?
  278. ; name as parameter), if the unserializer finds an undefined class
    # d! ]/ z4 i' \" q/ |+ d
  279. ; which should be instantiated. A warning appears if the specified function is
    . \" h5 y$ x  z8 W& q
  280. ; not defined, or if the function doesn't include/implement the missing class.# e8 z  A* S) A, E5 w
  281. ; So only set this entry, if you really want to implement such a
    7 f! Q' n3 r0 S+ P/ U. V
  282. ; callback-function.  l* t$ |' O& Q
  283. unserialize_callback_func =3 y+ V/ i4 C1 S8 a

  284. ; N% B4 O. A( @
  285. ; When floats & doubles are serialized store serialize_precision significant7 @$ j% Y4 X% \7 k8 f; b! n5 j
  286. ; digits after the floating point. The default value ensures that when floats
    7 |, I5 J8 ]9 V& C( R4 z
  287. ; are decoded with unserialize, the data will remain the same.
    ) ~, s! J0 O3 n
  288. serialize_precision = 177 O! m1 j5 f) h  {0 e
  289. 4 f. N. g7 u. E" R7 p
  290. ; open_basedir, if set, limits all file operations to the defined directory
    ( @! t" f! j+ i, J+ H8 s
  291. ; and below.  This directive makes most sense if used in a per-directory8 [* P) N6 ?- E0 G
  292. ; or per-virtualhost web server configuration file.- V+ c4 Z: j& {% N  L% ~
  293. ; http://php.net/open-basedir
    2 _1 s, n  b: c7 v5 l
  294. ;open_basedir =- O- _9 T3 J# x6 @6 L5 F$ k( k1 T6 _0 @; N

  295. ' r4 y  D8 T$ t! F7 T& b( G
  296. ; This directive allows you to disable certain functions for security reasons.% u  z% I  H% d- a
  297. ; It receives a comma-delimited list of function names.
    ) k; S" ^0 d# z2 Z; Q$ p' `
  298. ; http://php.net/disable-functions
    % ]* E( K& p# U% v, M
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru2 |1 e! Q4 b7 I& z$ O
  300. - g5 @4 {3 w+ [, h* i7 o7 h) y
  301. ; This directive allows you to disable certain classes for security reasons.3 M5 J' \) Q2 _0 f3 P
  302. ; It receives a comma-delimited list of class names.
    2 q. R+ d+ Q* L+ f: b; q
  303. ; http://php.net/disable-classes4 C8 T* v) q! y2 V; {7 i; W# U* G1 s+ A% ~
  304. disable_classes =2 o: P- ]8 Q4 U6 y
  305. 1 `1 L2 f: Q" K. [- K
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in# A- U; v* |( B7 T, G
  307. ; <span style="color: ???????"> would work.
    + y) t5 t+ Q; o0 I7 F* |3 H
  308. ; http://php.net/syntax-highlighting  d4 h8 p/ G5 h
  309. ;highlight.string  = #DD00000 Z7 ^, j0 |  x  s
  310. ;highlight.comment = #FF9900
    - N+ ]- ?# Z4 V( X1 b0 ?1 k
  311. ;highlight.keyword = #007700
    ' n6 l( e0 [1 Y6 h/ S
  312. ;highlight.default = #0000BB5 F  S2 P7 u& @5 Z! ~& f* u  p$ B: e& Z
  313. ;highlight.html    = #000000
    ; W6 ^/ d- {2 M6 k4 o( e+ y
  314. ! D; a/ ]1 }4 W& d1 {9 f6 C9 `
  315. ; If enabled, the request will be allowed to complete even if the user aborts  e) N4 B4 y& T* ?# I! \. `
  316. ; the request. Consider enabling it if executing long requests, which may end up$ t, }' Y7 P9 s" H+ C  ~
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior7 d- K( v. N5 C* ?3 Y) S9 Y3 z
  318. ; is to disable this feature.2 x2 ~6 R* v8 h% ~3 o1 I) r
  319. ; http://php.net/ignore-user-abort" w. w% [3 V( Y+ x
  320. ;ignore_user_abort = On  a+ |* X9 ^( h9 y! S
  321. 6 ]$ [5 R: X/ v9 b9 W
  322. ; Determines the size of the realpath cache to be used by PHP. This value should1 r6 G: m! o6 w2 g+ E" t$ @
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    8 t4 X( X, W4 v- h$ C2 f1 p/ q0 |
  324. ; the file operations performed.0 D2 X6 Y( m( [; a/ y7 X+ Z
  325. ; http://php.net/realpath-cache-size
    ' h, U+ ]) \" X+ C( {1 t
  326. ;realpath_cache_size = 4096k
    ) [; t9 x! W" V& b3 J

  327. 2 ]* l' D% m& @. u0 O* T( u
  328. ; Duration of time, in seconds for which to cache realpath information for a given. M# j8 V7 B. |% s
  329. ; file or directory. For systems with rarely changing files, consider increasing this+ e$ F1 z2 l% @
  330. ; value.
    ) L6 n- o: u6 [
  331. ; http://php.net/realpath-cache-ttl3 o  h' q/ D9 y
  332. ;realpath_cache_ttl = 120
    6 A. H" h& n5 I
  333. * B, y9 n2 W6 y) h
  334. ; Enables or disables the circular reference collector.
    + P8 Y: T* A( ?* y/ d
  335. ; http://php.net/zend.enable-gc3 {0 N  y/ y& r9 B6 T8 f
  336. zend.enable_gc = On5 N5 p2 I8 R: Q2 W
  337. 5 O3 ^# E) y* X7 [+ Y( k
  338. ; If enabled, scripts may be written in encodings that are incompatible with3 }5 T7 U# u1 \, c
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such) Q0 e9 e6 r0 B) G
  340. ; encodings.  To use this feature, mbstring extension must be enabled." m/ S$ ^% D: v! @2 c$ L3 s: M
  341. ; Default: Off' x9 D! n& N4 O' P4 Q( U
  342. ;zend.multibyte = Off
    ) p0 M: H% _* L/ ?2 M3 o

  343. ! U& U3 f3 J" \( c! v
  344. ; Allows to set the default encoding for the scripts.  This value will be used5 M1 N) l  j2 i/ `* k
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.0 z! j. ]; x1 B+ O3 h% ^9 `9 k
  346. ; Only affects if zend.multibyte is set.
    7 a5 o- O9 ]3 w3 L; a
  347. ; Default: ""
    , p+ ^  S. M/ z6 b' Y" ]$ ^; o
  348. ;zend.script_encoding =
      M. S9 t3 M. e
  349. 9 I* ~8 e% [$ D9 ~1 q
  350. ;;;;;;;;;;;;;;;;;7 d& f$ Z+ z2 s7 m+ m1 F8 d- U
  351. ; Miscellaneous ;
    , V0 B1 f: {5 M% c
  352. ;;;;;;;;;;;;;;;;;
    ; K& [" r' ^! [* I$ d! I

  353. ; u! ]% i' Y+ L; O' o/ b* X
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! W, C% G: i- z
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* a/ e& X! z# r0 m. P/ r2 W
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    + K5 [+ z" O1 c4 \
  357. ; on your server or not.
    1 p- f8 T4 @) f& P( w" S
  358. ; http://php.net/expose-php/ ]0 ^3 G- B8 Q$ Z' d1 \0 ]
  359. expose_php = On
    7 S" Z4 k+ b$ l, N$ I0 i5 h; ?* ?
  360. 0 l: _1 i/ g* V6 R$ S9 n5 @  `
  361. ;;;;;;;;;;;;;;;;;;;
    6 _; A3 j% F3 X
  362. ; Resource Limits ;2 t# Z: f) L% e* z( L! M, g( U
  363. ;;;;;;;;;;;;;;;;;;;1 V: K8 J7 `: Z1 X" |- k8 q
  364. ' w  I8 c2 `! F& G  T. i: u( n4 E2 B$ a
  365. ; Maximum execution time of each script, in seconds
    $ J/ o3 _: V$ b: t, C  C) |
  366. ; http://php.net/max-execution-time5 p$ V, k4 A" Z3 s( `5 |( l  A
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI( }" G. \4 z9 S5 z" _3 k, P3 Q
  368. max_execution_time = 300& R9 n- w+ N6 Z2 d2 I

  369. ; a7 a: q& k' A: y. k4 z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good$ M' v8 \2 ^+ r! }2 {* g; w
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly5 v: ?$ Y- T4 w4 J
  372. ; long running scripts.
    5 {! J# Y0 a; G% c" J
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI/ s/ I  C" [) {. T% [9 a9 s+ }
  374. ; Default Value: -1 (Unlimited)
    2 L! {" k. e3 \9 {
  375. ; Development Value: 60 (60 seconds)
    . d9 b/ N6 l* F) b0 t5 u/ T6 ~
  376. ; Production Value: 60 (60 seconds)
    0 F% u; d& h' b# ]. [- J9 I. Q( U& r) Y
  377. ; http://php.net/max-input-time  p9 g0 S9 G* Y0 N4 L$ n
  378. max_input_time = 60+ P7 V* N! c* r5 Q$ K
  379. % e; T/ _* _' h
  380. ; Maximum input variable nesting level
    1 i5 N  {( H8 J* C* t% k% w0 l
  381. ; http://php.net/max-input-nesting-level
      a  n0 I1 C$ r7 U
  382. ;max_input_nesting_level = 641 F4 R" z( f5 u! }$ w/ d. o) j
  383. ' P/ v+ a/ H" ~  E4 N- C  f9 Q
  384. ; How many GET/POST/COOKIE input variables may be accepted; @5 U" Q3 B" S# @
  385. ; max_input_vars = 10001 u$ ^+ i3 v0 b5 p- N! W
  386. ) Y1 ]+ O8 t0 _# z$ o) S. p
  387. ; Maximum amount of memory a script may consume (128MB), Z0 q4 q# m4 c5 e' i2 z2 V; p
  388. ; http://php.net/memory-limit& V9 F* j1 Q; X" ~  F# V3 O& Q
  389. memory_limit = 128M
    9 s: W* f1 w; W: M2 M' b7 z
  390. - x% V# ~- Z4 B9 v
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, S+ p3 E5 I- J3 D2 V9 r3 Q- r0 m2 q2 E
  392. ; Error handling and logging ;
    $ c! J; S1 I9 d& I7 A: ]
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    & F1 i3 a% I# a8 Z; n! i: V: t: Y
  394. 7 V0 g6 z5 u, _
  395. ; This directive informs PHP of which errors, warnings and notices you would like/ M' x2 [4 p1 a" Q
  396. ; it to take action for. The recommended way of setting values for this! M# Z" A: v& R0 Y) X1 ]
  397. ; directive is through the use of the error level constants and bitwise& X" T8 V- v4 C/ |
  398. ; operators. The error level constants are below here for convenience as well as9 s7 }4 W* g2 P6 h9 P* u5 u8 X
  399. ; some common settings and their meanings.
    3 o& L( U; h3 H) f0 }; L
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% v- h! J  G" T
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and( O* {5 F$ d: P2 L( [' u0 Y
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    : ]. P; M9 j4 c: P: Z3 y
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    : G, [) `% r1 n! L' `; U3 |$ J
  404. ; resources complaining about best practices and coding standards. That's what
    2 F- @  Y8 d# E2 d0 R
  405. ; development servers and development settings are for.
    3 g" d! C2 C# M( J# D- Y, J  a3 Q
  406. ; Note: The php.ini-development file has this setting as E_ALL. This' z' ~2 s+ |- f1 @
  407. ; means it pretty much reports everything which is exactly what you want during
    - ~5 Q' _( j* ?6 |. }+ u$ ?: Q
  408. ; development and early testing.! U0 e4 w# e- l  L
  409. ;8 f4 F% `+ r+ G$ N
  410. ; Error Level Constants:/ U5 h* n% {$ ^( E; W
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). K4 N" Q0 @) R- Q+ r
  412. ; E_ERROR           - fatal run-time errors6 F, S' O8 I* L+ y" z: b# d! u# j; J) M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 ?/ ]5 E& |$ {- M/ U1 O" b8 }
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    + b' n# a. D3 F2 o' g
  415. ; E_PARSE           - compile-time parse errors4 A8 K. z( F8 r, ]) P
  416. ; E_NOTICE          - run-time notices (these are warnings which often result+ }: f; x2 e* J* m8 |* a: ?- Z
  417. ;                     from a bug in your code, but it's possible that it was
    % h7 Q' w% v4 J3 s. H2 I1 n
  418. ;                     intentional (e.g., using an uninitialized variable and
    : l# A2 ~- I8 r7 [5 u+ q
  419. ;                     relying on the fact it is automatically initialized to an
    - ?+ V' `6 S9 v
  420. ;                     empty string)% z" j, m% L0 G4 C! T. I
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    9 `& M+ R, D7 @* Q5 g% q; A
  422. ;                     to your code which will ensure the best interoperability
    4 N% c& Y. {; a4 C
  423. ;                     and forward compatibility of your code
    0 h' g) z* Y" c6 J
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. T  C- T0 M- l! t3 @2 E
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    0 d2 a" `, t# f6 [! w
  426. ;                     initial startup
    $ a* V1 ^+ V4 n" ^
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    1 x* F; b8 F$ k0 F' B6 L& D
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)% T3 C% w! h3 q( x# b: U
  429. ; E_USER_ERROR      - user-generated error message
    6 ?  L' _- Z7 }/ N+ T( h, s2 h3 n
  430. ; E_USER_WARNING    - user-generated warning message
    2 ~3 W. C2 J% H+ u0 m2 r
  431. ; E_USER_NOTICE     - user-generated notice message
    : ?1 z' b7 W- k3 r5 g" X; h6 b
  432. ; E_DEPRECATED      - warn about code that will not work in future versions; w) }. r% b+ J3 u# {) y: c
  433. ;                     of PHP, `/ y8 I! Z4 I! n
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings7 z$ k  ^) o- d5 q' Y
  435. ;- n% I' L6 _  O# Q1 e
  436. ; Common Values:
      {) Y- }. N3 @& o- V% g
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " Z6 r8 S& V1 O. B2 z
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): ~1 O0 e& d/ z# o
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) D8 u& S6 X9 w5 [8 o4 V
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)2 n% t5 H, ?9 T) d: N$ u; O2 x
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& M7 B$ v6 b0 }+ N# l
  442. ; Development Value: E_ALL
    ( r2 ?. {3 B* B+ u, p3 k
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT3 s' m) ?1 {+ Q$ e5 i0 l. Q- K" ?
  444. ; http://php.net/error-reporting
    - G5 W0 j1 g3 X1 a4 C
  445. error_reporting = E_ALL & ~E_NOTICE  d9 f6 w( I% }& U/ C

  446. 8 c2 S9 T$ ?; s6 e7 ^
  447. ; This directive controls whether or not and where PHP will output errors,
    " `' K6 `" R7 W  {# i( K
  448. ; notices and warnings too. Error output is very useful during development, but
    . ?/ F2 h4 U# ]2 X
  449. ; it could be very dangerous in production environments. Depending on the code
    4 k& y# |' U& W0 ~" W# N
  450. ; which is triggering the error, sensitive information could potentially leak
    . b' L3 ]- @4 ~: Q% y+ R4 h0 m' P
  451. ; out of your application such as database usernames and passwords or worse.
    2 T) ^0 Z* a8 z% i2 U
  452. ; For production environments, we recommend logging errors rather than/ {1 w/ w0 ]$ Z4 [+ U/ }
  453. ; sending them to STDOUT.
    - z: a+ n/ w7 @  `, e
  454. ; Possible Values:; x4 T; v* ~0 d4 R& ], I
  455. ;   Off = Do not display any errors
    : U/ V" ~7 N) r- @" ^* a& S3 h2 K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    2 S5 n* M& r. N/ M: M, M3 \
  457. ;   On or stdout = Display errors to STDOUT, v7 a. {! k# }
  458. ; Default Value: On
    9 _9 G) E" }% N# C$ i8 n1 t0 q
  459. ; Development Value: On
    5 Q& z: q2 N5 l5 b  ~
  460. ; Production Value: Off
    ( g, m1 B4 n2 q& w  k7 @( S
  461. ; http://php.net/display-errors( u1 A& y( M  r! P
  462. display_errors = On# ]4 u; G8 F# t- K5 n& {) q

  463. # S- b2 R& `) W" ]& ~/ a
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ! X) _, |) j" N" D* v, t2 u0 h
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    : ]( g" Y. N# ]
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    2 F/ G  |- ]  E3 V/ z& v
  467. ; debugging configuration problems. We strongly recommend you1 s, c5 e  l( T$ y: z  }, @
  468. ; set this to 'off' for production servers.6 u% _" d4 d* Z' l0 F* [
  469. ; Default Value: Off- t( K2 [; J/ q. y2 F4 E# u
  470. ; Development Value: On
    9 @: _) _2 i5 [
  471. ; Production Value: Off
    - _! I/ w% r. A9 \
  472. ; http://php.net/display-startup-errors; ?( b4 F8 Z" E
  473. display_startup_errors = Off" y9 T5 a- `% u" W) R
  474. 9 g0 e& C' f" g
  475. ; Besides displaying errors, PHP can also log errors to locations such as a& o' ]% h3 o  L, b
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ' ?3 z3 k2 ~/ B6 b% d; ]: ?) D- B' _
  477. ; directive found below. While errors should not be displayed on productions
    7 b" C! F/ ]0 ?1 O
  478. ; servers they should still be monitored and logging is a great way to do that.2 U* l4 b+ r5 d6 l! ^  R$ p; k
  479. ; Default Value: Off$ ?0 `; [8 M) p) g  r1 [
  480. ; Development Value: On3 c; g( T# N5 F7 y; q6 C$ W
  481. ; Production Value: On! L( M/ V2 o" U5 n$ D1 O; z
  482. ; http://php.net/log-errors
    4 j' N; l4 K- I" j( ?- ^0 Z
  483. log_errors = On
    , a( |" ?( }& I+ k! q5 B% }- `8 a

  484. 0 M! u$ [1 k& f4 u
  485. ; Set maximum length of log_errors. In error_log information about the source is
    $ k# |% z1 k6 c* F& |
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.7 Y* k( k8 G9 w" j7 w: G7 G
  487. ; http://php.net/log-errors-max-len
    9 D4 I* x7 v+ W; I1 m
  488. log_errors_max_len = 10243 V" V! Q* b( G+ W3 P
  489.   j2 y8 q5 [. E. \; Y
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same6 G# S" W7 Z$ L' o
  491. ; line unless ignore_repeated_source is set true.0 z; `, @# N0 k
  492. ; http://php.net/ignore-repeated-errors0 z+ [# y& ]5 ~0 e/ X: A
  493. ignore_repeated_errors = Off
    5 Y3 ?4 p! S  ~4 Y1 y

  494. 5 U7 J# _$ l& ?; v( q% ~; W* d. L
  495. ; Ignore source of message when ignoring repeated messages. When this setting0 @2 ^3 J' E6 L- E8 q: G
  496. ; is On you will not log errors with repeated messages from different files or
    . Y8 C# E' p1 A* m8 }, z. w9 a1 Z
  497. ; source lines.
    % k& r! _1 g# g* N. i
  498. ; http://php.net/ignore-repeated-source" |8 Y7 L. ?4 b+ |, r( L' W
  499. ignore_repeated_source = Off
    4 ?7 U4 H; s# J' G

  500. 8 H: M) U* I. ~- D
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ' m! F3 u* ]* {! x
  502. ; stdout or in the log). This has only effect in a debug compile, and if* r  v  M3 {- n: K/ u  E- z
  503. ; error reporting includes E_WARNING in the allowed list" ]5 I" P' W+ H% C
  504. ; http://php.net/report-memleaks  ]1 b" w# |; n0 a0 x' S
  505. report_memleaks = On
    : S( i# b  }, s9 D7 ^4 O

  506. 2 }4 U( O4 J3 ^) X3 y* p+ q
  507. ; This setting is on by default.- P4 F  G$ K& Q. L) S. J1 q
  508. ;report_zend_debug = 0- {. M- j" j5 Q6 r' o: ~/ I% O
  509. , d/ {) ~- a8 K. ], Y
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    " d) y1 F# @- c6 ]5 X9 j
  511. ; to On can assist in debugging and is appropriate for development servers. It should. y" E: u5 ~! h/ B8 C& `- f. P9 Y
  512. ; however be disabled on production servers.
    ' H5 C# R. A8 _) i- ]9 g
  513. ; Default Value: Off
    , S) }4 Q  }( C' O( p  `" _+ @
  514. ; Development Value: On$ K! V; \/ E2 r# J2 ]
  515. ; Production Value: Off  G2 S* E& u# _  F3 y4 R' m
  516. ; http://php.net/track-errors
    5 G1 k8 w- z9 ]8 X: A1 A/ e
  517. track_errors = Off
    / X: L5 @6 B. w, S9 q* Z/ H" k

  518. 2 b% `4 h5 {# j8 k3 v
  519. ; Turn off normal error reporting and emit XML-RPC error XML
      S" J+ ^) N1 p
  520. ; http://php.net/xmlrpc-errors) w) s9 |3 j9 X$ x: G
  521. ;xmlrpc_errors = 0
    $ K+ Q. E# [" Z5 ^' b( [
  522. : x8 d8 N0 `4 }
  523. ; An XML-RPC faultCode( o, k; L& T! x
  524. ;xmlrpc_error_number = 0/ [# _) @# n0 B& O

  525. " k9 @4 m9 x4 F" V7 T4 P% m
  526. ; When PHP displays or logs an error, it has the capability of formatting the- Q0 z; L, _# k- H3 U- D
  527. ; error message as HTML for easier reading. This directive controls whether/ W4 B- v! `# K; g% s9 P( [  R: A- D
  528. ; the error message is formatted as HTML or not.# \' _" W2 e4 l/ _$ r
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # k9 \; [% x. i" r
  530. ; Default Value: On
    : U1 O, L- M7 n# f
  531. ; Development Value: On" y! Z% b$ L) ~' F& s0 A
  532. ; Production value: On3 t# z  J& {% U3 W% i
  533. ; http://php.net/html-errors' L' d0 ]5 t3 c. a1 Z7 e
  534. html_errors = On
    " K' X6 S* M7 x( A

  535. : n& {& N3 z0 @& ], f% W  w
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP4 Q' Q, O- a6 V2 M& v* w$ R
  537. ; produces clickable error messages that direct to a page describing the error+ m1 F4 X9 w! t6 U4 r
  538. ; or function causing the error in detail.
    # L; M, ^: J, j3 K/ {( V
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    - h3 v, r9 J7 N' n: n0 }
  540. ; and change docref_root to the base URL of your local copy including the& i4 e, R" Z, D. u
  541. ; leading '/'. You must also specify the file extension being used including
    8 o$ ?' _1 k- ~! n: ~
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which( R% \" G# k, K
  543. ; case no links to documentation are generated.0 e4 m; Y* }4 f
  544. ; Note: Never use this feature for production boxes.! P6 N  ^9 G& t6 ~! @
  545. ; http://php.net/docref-root$ H( K2 {* m( T+ m4 [( ~; `
  546. ; Examples- L. X2 U' |( A4 p0 r- q; f9 \
  547. ;docref_root = "/phpmanual/"
    / g7 d" U: e/ v$ G& K

  548. 0 }- Z9 }& i9 }+ z) e
  549. ; http://php.net/docref-ext
      F' V" h, E$ s% l
  550. ;docref_ext = .html
    ( G! \* e# j; A( R

  551. 6 F" V" k7 e! ~5 j) j
  552. ; String to output before an error message. PHP's default behavior is to leave+ S6 e2 c+ y3 X0 J( n( @, F5 [
  553. ; this setting blank.9 X7 ^# ]- i8 Q% F3 ?
  554. ; http://php.net/error-prepend-string5 w$ B0 c9 T3 I' l+ R! g
  555. ; Example:) g' h0 J+ P* h9 v' [9 E6 k
  556. ;error_prepend_string = "<span style='color: #ff0000'>"& }1 b3 n4 e9 o. `
  557. ; e% |+ M! ?; `3 U5 Z2 }
  558. ; String to output after an error message. PHP's default behavior is to leave
    / d2 k5 `, F) }  Q  ]# b
  559. ; this setting blank.! |1 ~, W! T/ a' X8 R4 R/ o
  560. ; http://php.net/error-append-string( @9 _  m8 X8 B1 `$ P
  561. ; Example:0 e: T$ |) I3 W0 ]
  562. ;error_append_string = "</span>"$ o0 i% s6 i) k, M9 U8 Y" l  @- M
  563. , W5 Q) W- {( Z& i  {
  564. ; Log errors to specified file. PHP's default behavior is to leave this value9 ~5 y' f/ c/ b! T# N
  565. ; empty.
    2 j$ r4 r5 L, A
  566. ; http://php.net/error-log' j4 a( f2 m( \8 V- g4 I
  567. ; Example:
    # A; x6 S2 J# `: _8 V& H
  568. ;error_log = php_errors.log
    ! r; F+ I: e0 z0 ^  m& I6 L
  569. ; Log errors to syslog (Event Log on Windows).8 K9 U) V8 g4 q6 Z4 \/ `
  570. ;error_log = syslog& ^% m; c+ z, W' l8 [3 x! z
  571. & L8 @6 e5 m1 Y  N) r: h! P
  572. ;windows.show_crt_warning/ s, ~% z: h7 D, h. j$ O9 p$ a8 C
  573. ; Default value: 0
    " i1 w' r3 {, w, i2 k
  574. ; Development value: 0
    ( A/ b/ W, W$ G( s! s3 c% w
  575. ; Production value: 0, `+ z" A& k$ k5 G) s# r  z

  576. # G3 b  M2 a; C
  577. ;;;;;;;;;;;;;;;;;9 @2 O, _* m) @* ^8 ?/ {; S. R& m3 j6 }
  578. ; Data Handling ;) Q8 u# c9 h! I4 o' ~
  579. ;;;;;;;;;;;;;;;;;
    . J9 |7 ?8 s, O, @6 j5 w+ f

  580. : Y, J# q  S* j/ h* L
  581. ; The separator used in PHP generated URLs to separate arguments." b9 \! t3 A- v$ `
  582. ; PHP's default setting is "&".
    5 f) s' k: B3 P. `: g
  583. ; http://php.net/arg-separator.output- }) a+ q, c( g* u2 m
  584. ; Example:/ i3 O- l  H! \1 [( q7 _
  585. ;arg_separator.output = "&"+ q8 w' c0 A. }8 W

  586. 9 E- ?, J- H, A2 Z, K
  587. ; List of separator(s) used by PHP to parse input URLs into variables." ^8 w  c2 p! Q# H  L; c1 `( ~
  588. ; PHP's default setting is "&".! v  q& j3 @% [8 Q
  589. ; NOTE: Every character in this directive is considered as separator!/ z$ N; A2 u% S  e" S- E
  590. ; http://php.net/arg-separator.input
    . ]7 z- W; y) S' p8 o
  591. ; Example:
    $ m! I, V4 U' z+ C
  592. ;arg_separator.input = ";&"5 D& N3 c# }% I, |, e
  593. % o! [( G) w/ W" [6 S
  594. ; This directive determines which super global arrays are registered when PHP1 N. i% h3 j: H" z8 p( t
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 q; m$ |0 Q2 f3 a% t
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( n3 Q  b) R  S; [% ~8 S: S
  597. ; paid for the registration of these arrays and because ENV is not as commonly( k, e- B1 Q5 l. u% N0 C' M6 M8 G
  598. ; used as the others, ENV is not recommended on productions servers. You) h& s; d; u: l& A  }! s% K
  599. ; can still get access to the environment variables through getenv() should you
    $ S$ x6 R/ ?6 V
  600. ; need to.  l1 M0 B3 c+ g4 ]/ B% a
  601. ; Default Value: "EGPCS"
    ( l# d. ?0 t2 Y- Q! [7 e+ q
  602. ; Development Value: "GPCS"
    7 N4 D6 O* V1 I5 @" N
  603. ; Production Value: "GPCS";
    4 c9 u5 t8 x+ i( o
  604. ; http://php.net/variables-order
    & ?8 _0 T) [, w8 ~" \- l9 f4 `' Z
  605. variables_order = "GPCS") i8 l$ l1 a  {' t* x: V6 }6 ?

  606. ) y- [, l* r" E" {( b
  607. ; This directive determines which super global data (G,P & C) should be8 @0 Y' X  S6 f
  608. ; registered into the super global array REQUEST. If so, it also determines  s, I% o( d% N8 J- a( u
  609. ; the order in which that data is registered. The values for this directive
    , L% L% i& z+ S) i: q' Y5 f% H
  610. ; are specified in the same manner as the variables_order directive,: s. w. d; s6 V, |. O# c7 V5 O
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    + \( O6 {+ ?7 p" n' _
  612. ; in the variables_order directive. It does not mean it will leave the super
    ) h) x0 D9 A9 I' O
  613. ; globals array REQUEST empty.
    7 \2 R) ]  \- I( g7 n/ @
  614. ; Default Value: None) F% X& _9 p: E5 _4 g+ S
  615. ; Development Value: "GP"/ Q) v. r4 W% B% `! C5 d) [) z
  616. ; Production Value: "GP"  e1 q3 e8 F2 u: h4 L! e
  617. ; http://php.net/request-order3 {- G) e7 {( S5 |( ^
  618. request_order = "GP"
    % _1 W+ \( [4 }) M- {8 U2 ~

  619. * I( R/ _0 q0 l+ M3 j8 w
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    $ z: }- p7 l7 L  o, U" J
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 m0 f; o- V+ p- O
  622. ; is invoked. $argc contains an integer representing the number of arguments
    2 d) ~2 q7 m5 s9 ^2 ~  l
  623. ; that were passed when the script was invoked. These arrays are extremely+ P4 Y! L2 S( r0 P3 ~/ p( E
  624. ; useful when running scripts from the command line. When this directive is
    2 X; Z/ n+ R6 q: P4 \$ T
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    & o5 L) R7 F' o+ x; X; I( B2 p
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ( S& \$ U4 L* Z; w1 o7 C* @$ L
  627. ; on production servers.
    0 q+ w1 x3 M8 D% A( P
  628. ; Note: This directive is hardcoded to On for the CLI SAPI! G" J; k( P! n$ f' e3 [
  629. ; Default Value: On
    0 I9 f" W5 Q# m6 Q
  630. ; Development Value: Off
    ) |- ~3 F: N( D2 A  _
  631. ; Production Value: Off9 \4 |" j$ h% q8 `: j( d
  632. ; http://php.net/register-argc-argv# c2 q% b( K$ r( ]) V2 R
  633. register_argc_argv = Off
    1 j+ s) q. W' l- Z8 v; J( `6 R
  634. 0 Z* U$ l8 F; ?  }% e6 ?
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 \" n: H* q. W# B
  636. ; first used (Just In Time) instead of when the script starts. If these# g! M5 e  ~' d# ~. k! a' \
  637. ; variables are not used within a script, having this directive on will result- }! Y5 ^. ~/ K2 ?2 d6 J$ J
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 F8 z( G2 d. [6 `) o! l
  639. ; for this directive to have any affect.
    : W+ ]3 p' [( @/ P; {9 R4 P
  640. ; http://php.net/auto-globals-jit
    * S1 x$ S; M( x) Z2 W
  641. auto_globals_jit = On- d" n, W, s; x7 o0 V, h) W
  642. 8 C, d4 H8 D% e6 l  W+ M
  643. ; Whether PHP will read the POST data.  f) r+ Y& e6 i! `+ q
  644. ; This option is enabled by default.: j) K2 h$ D  R  P
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST) u, c9 {, l" B* K8 E6 t( M
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    2 N- `4 D& |: n# k0 P# U
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    2 ?2 P7 c* I0 U+ Y3 h2 z  L# ~9 {
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.0 \& x7 w8 }! b4 M1 q
  649. ; http://php.net/enable-post-data-reading$ o: |$ q; b1 u! O: |+ Z+ N5 j
  650. ;enable_post_data_reading = Off" y8 \* Q* _8 p
  651. 3 D# d6 a& g2 O3 s/ u
  652. ; Maximum size of POST data that PHP will accept.
    : z! j+ F+ q0 h! f
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    0 l4 N) q! E- Q" h' e
  654. ; is disabled through enable_post_data_reading.8 \1 [, @+ X+ u, z& l# F" V, |0 |
  655. ; http://php.net/post-max-size
    & ~" i7 N+ s! E$ |9 Q
  656. post_max_size = 50M9 j0 g/ \, E3 Q# H

  657. ( U( _) g1 Z9 B2 y0 T
  658. ; Automatically add files before PHP document.5 V4 J: E; R/ P1 B# {
  659. ; http://php.net/auto-prepend-file& |! y, _, c% A& u* i  p
  660. auto_prepend_file =7 k6 G: q. A5 F7 t- _8 Y

  661. 4 e3 L8 o5 N) A' N
  662. ; Automatically add files after PHP document.
    ! A: W+ {: }. M) E' ^! W
  663. ; http://php.net/auto-append-file
    4 o8 `  i5 G: q' Z! W$ g/ \
  664. auto_append_file =; }: S0 S$ X7 x
  665. 3 E" H/ A7 E5 D4 F3 z
  666. ; By default, PHP will output a media type using the Content-Type header. To# z6 Q5 b* o0 @2 U7 n$ Z# O
  667. ; disable this, simply set it to be empty.
    + l0 k% h: ?4 p$ x3 x
  668. ;( E9 k( T& y9 h0 a
  669. ; PHP's built-in default media type is set to text/html.* o1 J) X3 l8 j, C& ^( T; r9 A, i* K
  670. ; http://php.net/default-mimetype
    # {# W2 @3 D5 ^% l: c8 {
  671. default_mimetype = "text/html"/ g' ~1 ~& C. y1 s( P$ |5 b

  672. # {( P, M6 [8 x* ^& n3 L
  673. ; PHP's default character set is set to UTF-8.
    $ Y6 N; M0 j1 j; _, A
  674. ; http://php.net/default-charset9 g# H5 Y& y* j* ?- C! d' l& Q
  675. default_charset = "UTF-8"
    # T; D2 f2 e( n% P

  676. ( h3 \7 S9 Y. h7 r; z: c
  677. ; PHP internal character encoding is set to empty.
    5 {' L' W* Q/ {4 w# L5 D$ `- O
  678. ; If empty, default_charset is used.
    0 [( n; b: }# _; [% F# \7 z6 X
  679. ; http://php.net/internal-encoding
    - P* ]3 U& B8 X2 `1 V2 z
  680. ;internal_encoding =: C* c+ [5 R4 h9 m

  681. : V# [7 {) w3 F; B+ F9 P
  682. ; PHP input character encoding is set to empty., Z8 `1 T1 d7 c
  683. ; If empty, default_charset is used.# F6 ]1 J4 [0 \1 w1 {) f5 }
  684. ; http://php.net/input-encoding' I! y2 V' v4 K2 d1 Y% A. f7 ]$ W
  685. ;input_encoding =* {) |7 ]) ?( J- n: ]  Y

  686. 0 `8 A  \  x' x- |; ?! x
  687. ; PHP output character encoding is set to empty.
    3 S; J5 M  k# `: [" {
  688. ; If empty, default_charset is used.( Z6 v5 n: b9 y/ B. ?
  689. ; See also output_buffer.- c$ K" J# E) v$ l4 q/ m
  690. ; http://php.net/output-encoding
    7 d  ?5 F0 I6 e( v
  691. ;output_encoding =- c# p8 {; Z# j1 b# P- x6 o9 @

  692. : e: o% o0 [* X# i$ D
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 \) w" X) c* V% _8 K( _! ]
  694. ; Paths and Directories ;2 G8 Y) O% z4 x& `* g* @( r' h
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;' F1 F' y2 B0 @* _0 h; Y% }- ?
  696. ; ]- P' r8 w1 D
  697. ; UNIX: "/path1:/path2"- R+ p# [# |( B& b+ w! S
  698. ;include_path = ".:/php/includes"2 ~" N4 i( g0 X" v# w( \5 v3 Z* p
  699. ;* q! J0 ~* _: A/ j
  700. ; Windows: "\path1;\path2"
    " d! x% D5 I: G$ j
  701. ;include_path = ".;c:\php\includes"
    9 y. X' `, A6 M3 x7 A
  702. ;
    ) t6 z( p4 h4 Y
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear". ], N/ B0 I! w5 p* ^0 ~
  704. ; http://php.net/include-path
    7 j0 Q+ l* J: A2 I  K" \6 M9 T

  705. 8 n+ T& V  `$ O' a2 x* g. Y
  706. ; The root of the PHP pages, used only if nonempty.
    * y2 k/ C( r2 ?  S- T
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 J$ b$ i( B' L2 v9 q
  708. ; if you are running php as a CGI under any web server (other than IIS): n) Q$ s# Z7 W
  709. ; see documentation for security issues.  The alternate is to use the# ~# w* L/ z( x! j: {
  710. ; cgi.force_redirect configuration below3 U+ |1 p; G9 p/ N) e
  711. ; http://php.net/doc-root
    1 w  s% e; E+ ?( ]) @
  712. doc_root =5 r& r2 S& R' K3 X5 ]% `! T
  713. . f1 ?3 T0 G9 S. I, I8 z5 l$ y: B
  714. ; The directory under which PHP opens the script using /~username used only. ?, ?  @7 d; z* X" }) I
  715. ; if nonempty.1 {% U7 f+ }; K5 R- X3 b. Q
  716. ; http://php.net/user-dir" i1 P, O' m; i% Y  T
  717. user_dir =( Z( K# H9 t6 j7 {7 P8 R
  718. % m7 D) ~; `* W: f. }/ X. n
  719. ; Directory in which the loadable extensions (modules) reside.* X7 N/ A+ _  p* q( ?, Y
  720. ; http://php.net/extension-dir8 s2 b, H/ F7 g0 \) [5 B- D; d: @
  721. ; extension_dir = "./"2 T# @5 \5 J7 S+ k4 c! B$ L/ p/ I9 s! p
  722. ; On windows:
    " }/ U( S; E& ~* Z; Q" u
  723. ; extension_dir = "ext"7 I3 ~. J0 D6 }8 I# u% k2 r' u6 O

  724. 6 `" h/ \# D+ \1 Y$ b% x
  725. ; Directory where the temporary files should be placed.! H* N2 _8 z3 V2 b3 O0 C3 [
  726. ; Defaults to the system default (see sys_get_temp_dir)9 D& @; e- t1 ]
  727. ; sys_temp_dir = "/tmp"
    5 P# _$ `3 Z; H6 B+ V% u
  728. 0 X9 r5 M2 x. t$ ]
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ' }+ R* ]7 X4 H3 u, s1 r
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically/ ~5 T) o+ K- |% e3 a& X. W6 A
  731. ; disabled on them.
    $ C& X8 R$ R% K" a+ t  m# J
  732. ; http://php.net/enable-dl
    & B# ]& ^, Q% H% p$ F
  733. enable_dl = Off  c& M$ q, Q% ~& O: n  f4 {
  734. 3 p' P' a9 j' {9 \
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    6 s6 G9 Z, F" c  }* f* F; [
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can- V6 I; i  h$ ?' U# U
  737. ; turn it off here AT YOUR OWN RISK' [% ~! z; R' T! Z
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ R# J1 Q+ J! k+ ^& Y
  739. ; http://php.net/cgi.force-redirect' S9 v' V6 E9 V) a( f9 T" |
  740. ;cgi.force_redirect = 1! K8 U" @1 n9 H* f: s( p
  741. - H; [0 x) v* \0 H! @+ a
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    7 n5 w! |. M( \( }
  743. ; every request. PHP's default behavior is to disable this feature.
    6 P9 E' w6 ]1 U$ W# |6 T) q& N3 f
  744. ;cgi.nph = 1
    ! Z& U: p# U: k. E% w: S

  745. 4 C  b8 m' |9 s5 w3 c' y: t
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 V0 F8 t) L. G6 f1 ]
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ h. v' m5 y$ h; ?. Y
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ' _& K% m- X/ ?3 k) r
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    + `& |- z- B- F2 b) [3 s0 [; d# K
  750. ; http://php.net/cgi.redirect-status-env
    % w: |0 G2 C0 K
  751. ;cgi.redirect_status_env =. {! J0 v! [5 ~8 P& N

  752. 1 e6 E$ ?( c6 I  K, |; Y
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's/ C' \/ f+ O" C$ [" N* q; J# E& w
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ b( O3 F4 Z' t, d. @0 Y
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) Z2 {6 d3 F' W8 ]2 m" _( C5 U! v  j1 g$ n
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    7 T/ v8 q/ P- ?. w, @) V4 g
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # t2 H4 ]/ k7 x1 O- c# r
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    / \- t9 H, A  ]
  759. ; http://php.net/cgi.fix-pathinfo
    2 L+ ~- b- H5 ]( ?* v# f
  760. cgi.fix_pathinfo=1
    ! ?/ a( q0 K0 A( P! f
  761. - `3 A/ v; O- [
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 C1 c) C* G0 R
  763. ; of the web tree and people will not be able to circumvent .htaccess security.  o1 E# l3 u+ o$ L0 q
  764. ; http://php.net/cgi.dicard-path0 A8 Y6 ~- l" R$ `" w  s
  765. ;cgi.discard_path=10 T$ M# G. r# J

  766. - w" H' C  v# q
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    7 e7 N- Z6 g. z; r, f2 g$ j$ s
  768. ; security tokens of the calling client.  This allows IIS to define the
    ! Z! U# E0 O; g" X) ~
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    , \$ [; k0 y0 c
  770. ; does not currently support this feature (03/17/2002)
    7 M4 W# `) h' s& H8 Q" Y
  771. ; Set to 1 if running under IIS.  Default is zero.
    3 a; F+ B. j6 E, X0 K& E: \
  772. ; http://php.net/fastcgi.impersonate
    7 z4 C, E  E& T
  773. ;fastcgi.impersonate = 1
    . I" ~/ r) d$ Z  K/ P; ]4 I
  774. $ h4 F. I  Z* Z5 y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - t3 Q$ }( w! S% R: K
  776. ; this feature.
    7 X% S5 k) j6 d
  777. ;fastcgi.logging = 0/ }3 q, j# q2 s9 U- x* o

  778. # |, i5 i4 M5 k
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to" c, ?* h4 b  b6 }) w) y6 K% O
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that8 a6 F, C- t, v# R5 s- Y; r* r4 x9 P
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    % o! W4 \/ M  l0 i$ f- w' V
  782. ; RFC2616 compliant header.5 E1 k- Y; |" [  O, h' ^
  783. ; Default is zero.- W% T# X0 M( E  c$ @
  784. ; http://php.net/cgi.rfc2616-headers
    / X1 W% Z! H+ G
  785. ;cgi.rfc2616_headers = 0) Q7 u: Y0 u/ V
  786. ) ~" c" v- S% H7 J/ m
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& q4 B/ k8 r" |4 d+ B9 ^7 Q
  788. ; (shebang) at the top of the running script. This line might be needed if the
    " |+ T/ z, h; E' p
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI) Q0 o3 X3 r: z* C( Q( |
  790. ; mode skips this line and ignores its content if this directive is turned on.6 r& n% l+ \& j, J: n
  791. ; http://php.net/cgi.check-shebang-line9 _, f% K7 D0 J
  792. ;cgi.check_shebang_line=1: p1 Y% ?$ ]% \/ Z
  793. * H8 D$ [7 h: t' I% \6 Q/ d* o1 y
  794. ;;;;;;;;;;;;;;;;2 F$ Q, {$ _0 {' U5 D
  795. ; File Uploads ;- F: w  W3 Q# t* q5 G3 }& h
  796. ;;;;;;;;;;;;;;;;
    * x% ~, a6 Z/ Q' X+ n

  797. 4 o( X) q1 [: E8 @, J
  798. ; Whether to allow HTTP file uploads./ f2 D0 W- m7 `  k1 F6 z
  799. ; http://php.net/file-uploads
    . Y2 E. B/ I6 C, p5 v* O
  800. file_uploads = On, Y$ t8 A+ @& m8 ?  G
  801. 9 }# _( y2 T/ |. y5 ^
  802. ; Temporary directory for HTTP uploaded files (will use system default if not1 a. K+ b4 N+ V6 F% ~6 V) M
  803. ; specified).
    # @. _7 F' _8 w. y
  804. ; http://php.net/upload-tmp-dir$ j$ b. t" @  P% [9 G
  805. ;upload_tmp_dir =
    2 i, C+ v- H. W, t

  806. 1 x0 ^2 A" ~/ ~+ h& @- H; Q
  807. ; Maximum allowed size for uploaded files.- _" J0 k; _) \- e+ @
  808. ; http://php.net/upload-max-filesize/ ?0 I& y; l* u  R. i0 }
  809. upload_max_filesize = 50M9 i: k8 U$ M5 g. O+ V# y

  810. 3 {5 |% I1 x- W5 Q$ M! g$ x
  811. ; Maximum number of files that can be uploaded via a single request
    1 Z" i9 e6 u) x% f+ v
  812. max_file_uploads = 20
    : y2 O& [. X: ]7 ?3 Q

  813. , H! n' w4 y0 C4 @, U( y3 u2 u
  814. ;;;;;;;;;;;;;;;;;;
    # {# t& n8 ~; v; T' E
  815. ; Fopen wrappers ;
    * P" j7 X0 I$ n' d; g* n
  816. ;;;;;;;;;;;;;;;;;;1 t- z/ [8 k% c  \* X2 h

  817. - s1 a& r% y6 ?) r/ g% A* J
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.- H0 t; O9 t; l2 v* E; c
  819. ; http://php.net/allow-url-fopen* W8 t' @( A) ~/ b+ H
  820. allow_url_fopen = On' h& p/ e4 s/ @6 u: b# Q1 L* h% H

  821. ; t9 Y' m3 S. G3 ]  E) `6 {" C0 k
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    0 a. A3 @4 Z' I$ H! A0 M
  823. ; http://php.net/allow-url-include# a+ |. I' @$ R- }: B8 {8 T
  824. allow_url_include = Off4 N0 ]. W$ G4 R6 |' W- [& a3 O7 W

  825. + p! C# d) o5 c# B8 i
  826. ; Define the anonymous ftp password (your email address). PHP's default setting5 K/ {% s& @; a, L8 N' E) C
  827. ; for this is empty.
    2 Z+ y1 T' O% B
  828. ; http://php.net/from; Y6 x. s2 X, ]+ u4 F9 q8 ^
  829. ;from="john@doe.com") n9 ?+ `9 ^( T0 N1 K4 o

  830. 7 F4 @% V( E7 w0 s3 ~) S" E- ^. y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.: [( N8 F' n4 O3 w+ e6 r1 @3 I
  832. ; http://php.net/user-agent
    " Q0 A: h* r3 s# G" y
  833. ;user_agent="PHP"$ X1 x, l+ c7 i- L, u$ s

  834. % w  [& a; y; h6 Z$ p* d" ]/ |0 i* k9 G
  835. ; Default timeout for socket based streams (seconds)
    % t1 m4 x. ^# d% u7 s1 l
  836. ; http://php.net/default-socket-timeout
    * K# ~" i3 Q7 j+ `5 e# X/ @% s* o
  837. default_socket_timeout = 60
      r! s; y. d' N: L; P
  838. 0 p# w7 x5 o' @- k
  839. ; If your scripts have to deal with files from Macintosh systems,8 N3 S& X# }0 P4 E+ B
  840. ; or you are running on a Mac and need to deal with files from
    0 I* c5 {# a" ~  x
  841. ; unix or win32 systems, setting this flag will cause PHP to& h* a9 w/ W6 D- u0 k  L9 `
  842. ; automatically detect the EOL character in those files so that9 I* d# G/ f7 o+ W0 z* l# M
  843. ; fgets() and file() will work regardless of the source of the file.
    8 E4 ~7 i7 \6 x) Y9 S; s. N8 ]4 f
  844. ; http://php.net/auto-detect-line-endings
    4 C7 g' `: b- }! L9 {9 B
  845. ;auto_detect_line_endings = Off
    " K6 }4 H6 n4 @

  846. " v3 B* G5 U0 _: }2 o
  847. ;;;;;;;;;;;;;;;;;;;;;;! V3 r) t5 _5 w4 V
  848. ; Dynamic Extensions ;
    $ C1 U9 V5 L- ]
  849. ;;;;;;;;;;;;;;;;;;;;;;
    0 {- i1 O" z& j9 |" r% c+ b

  850. 5 T& @! }% ?% p+ ]) N9 o) M: |
  851. ; If you wish to have an extension loaded automatically, use the following
    % C& f( V: c! Z" ^9 \
  852. ; syntax:$ m# O6 N% I. r/ X
  853. ;
    5 f/ P% ~* y8 K0 F6 y  r5 I- O+ G
  854. ;   extension=modulename.extension; s' f0 m4 \2 W6 ^$ i+ t
  855. ;4 A' N& V7 c  u; O- r
  856. ; For example, on Windows:; t3 V1 e- F$ V  U3 m% |, s
  857. ;
    9 `$ H) j6 u1 _+ k! l7 e2 N  e6 P; Z$ T
  858. ;   extension=msql.dll
    4 [( w5 K; \9 w& Q) W1 \: h
  859. ;2 z$ z2 U: p/ u; g5 F
  860. ; ... or under UNIX:! F% r2 a0 \" p: C
  861. ;5 ~4 y" I0 R9 N# F. k! d1 T; Z
  862. ;   extension=msql.so
    / B7 ?4 W- G1 W& t+ q4 q8 ^
  863. ;
      o* _2 Q3 N* N$ }- x3 m5 {. z
  864. ; ... or with a path:
    7 D/ I- q# Y9 F$ i8 e
  865. ;. B! u" ^* l$ m% a
  866. ;   extension=/path/to/extension/msql.so: {$ a" f& {; r3 v9 [
  867. ;
    " z+ }" `0 u# n
  868. ; If you only provide the name of the extension, PHP will look for it in its
    , L2 m) \  F2 [
  869. ; default extension directory.
    . F- z7 }* @2 _$ j7 g
  870. ;
    ) d3 W1 G8 u2 i2 w
  871. ; Windows Extensions
    3 B* t# A& ?# ?; b7 ]1 {
  872. ; Note that ODBC support is built in, so no dll is needed for it.2 c( E" _$ P4 C0 e$ H
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)- M1 W) D3 U/ E3 z; X
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).4 R9 s5 ]: z! x
  875. ; Be sure to appropriately set the extension_dir directive.
    * L8 T& n8 y5 ~8 t: H; o3 s. U$ M3 E
  876. ;
    5 {; K3 B6 V& a$ [
  877. ;extension=php_bz2.dll
    ) ]  `) Z6 y7 Q4 o9 C
  878. ;extension=php_curl.dll; b* w( J/ [' f% v* }
  879. ;extension=php_fileinfo.dll
    0 {0 O: q+ y( B; j: ~& T/ f
  880. ;extension=php_ftp.dll
    8 h- L! X. I/ A$ K1 m
  881. ;extension=php_gd2.dll+ w8 k0 D  r& m* Z- H
  882. ;extension=php_gettext.dll
    : w+ N! y. a% x/ n; F. |9 w
  883. ;extension=php_gmp.dll
    # d* a7 K, g6 l  P
  884. ;extension=php_intl.dll+ i- V! |, H* r: {+ x
  885. ;extension=php_imap.dll  z* e4 j0 ]' B- o# ~  ]% y, ?
  886. ;extension=php_interbase.dll0 b2 G) h7 t7 c4 r) z: N5 q
  887. ;extension=php_ldap.dll- F- |& u) o, Z  Z6 u* Y
  888. ;extension=php_mbstring.dll$ N3 q+ T$ B6 I  g% w6 T
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    8 X, M. T% C, w6 A  J
  890. ;extension=php_mysqli.dll+ N9 P1 _% K  d. c# U
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , |0 ]+ S6 a+ }0 O; v; s
  892. ;extension=php_openssl.dll
    ; k& M$ Q4 N6 S, t
  893. ;extension=php_pdo_firebird.dll% y! e) B  O+ |
  894. ;extension=php_pdo_mysql.dll3 Y/ |1 F3 p, \! T; L/ V9 y
  895. ;extension=php_pdo_oci.dll
    6 r; M* w2 ~3 l7 W6 l
  896. ;extension=php_pdo_odbc.dll  z( f8 e* z# g2 \. X
  897. ;extension=php_pdo_pgsql.dll9 B5 C2 T/ }7 E: o. G
  898. ;extension=php_pdo_sqlite.dll( F: Q# b* D8 Q& ]$ |/ e5 m
  899. ;extension=php_pgsql.dll
    ) [, v& U6 H$ ^1 ]# U+ t! u% I+ t/ R
  900. ;extension=php_shmop.dll
    & ^4 l7 w$ C9 L- Z' V

  901. 6 m( K9 q" K7 w
  902. ; The MIBS data available in the PHP distribution must be installed.9 K# |! I7 I7 U: E: Y
  903. ; See http://www.php.net/manual/en/snmp.installation.php6 o% A) N$ F. Z% A4 g
  904. ;extension=php_snmp.dll9 \$ ]4 l7 G- e1 F8 e+ J% c9 `

  905. + ?5 e8 n5 Z$ E5 T! z
  906. ;extension=php_soap.dll! M5 z( n$ M$ |
  907. ;extension=php_sockets.dll
    4 Y0 m/ q% A. ?, {# {6 K+ r
  908. ;extension=php_sqlite3.dll3 E4 s6 s: x6 \9 U8 V6 d* `! j
  909. ;extension=php_tidy.dll
    9 M7 B6 N7 y) V3 N2 E5 R% z
  910. ;extension=php_xmlrpc.dll: R/ B- k. V1 x. l. [. H3 k" p1 S
  911. ;extension=php_xsl.dll5 J- n% x) F* [) R8 k

  912. & V1 v  |; F( {, [: \
  913. ;;;;;;;;;;;;;;;;;;;* N! ^1 t, _$ d7 W# I+ a- p
  914. ; Module Settings ;
    7 A: e0 g+ J1 n% |
  915. ;;;;;;;;;;;;;;;;;;;
    9 i7 J9 N! C3 q& X- [3 R
  916. 6 v1 n9 _# H% A3 z
  917. [CLI Server]
    ( [4 n" b4 ^, e6 x9 ^+ u+ W1 y
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 ?7 b% `( \2 u6 P9 h# b2 Y
  919. cli_server.color = On
    5 f5 T4 @& p7 }' ]7 e1 ^
  920. ( r5 M( o2 W! k
  921. [Date]3 l6 ]& j( h3 d5 I* ]( Z4 b# p1 P
  922. ; Defines the default timezone used by the date functions
    0 r5 f2 m  r; p+ b! w+ n: v
  923. ; http://php.net/date.timezone
    : F) M9 l% @2 e4 [1 g) l
  924. date.timezone = PRC
    / A/ j2 h! I% u5 D, f

  925. 0 t) I* i. c) a& i8 i8 q3 \6 i& @6 j
  926. ; http://php.net/date.default-latitude
    3 p4 r3 P8 H  q& L! a
  927. ;date.default_latitude = 31.7667
    $ M& o# V8 |4 A0 v& e
  928. & }9 ~2 N- _9 Z! b9 ?' Q. S
  929. ; http://php.net/date.default-longitude
    9 {- ^6 {9 h! `/ y3 @
  930. ;date.default_longitude = 35.2333# `0 S& h( D, G/ A! B. c' A, R

  931. ; j/ z  q7 {9 N8 b
  932. ; http://php.net/date.sunrise-zenith
    + j, ^0 f- U) J
  933. ;date.sunrise_zenith = 90.583333, z: g% |9 f5 Y
  934. 3 t) c( z8 [$ T
  935. ; http://php.net/date.sunset-zenith
    * u, t& Y/ y) V/ ^% B0 m% A
  936. ;date.sunset_zenith = 90.583333
    5 }7 T: l  S1 S$ G! Q

  937. + K2 M3 {. X; T; n% i- G
  938. [filter]
    $ R+ ^' u$ Z: C7 E! r# I2 E
  939. ; http://php.net/filter.default
    $ L, m8 L9 ]: I7 Y* G
  940. ;filter.default = unsafe_raw3 ~3 O& a8 H# l
  941. 9 G5 {% I0 L& h3 f# ?" z3 |! z
  942. ; http://php.net/filter.default-flags) Q2 m. {# _7 M6 U- P9 X7 z
  943. ;filter.default_flags =( I; B; p/ {: P: X7 j) n. y
  944. $ @$ N6 K3 R7 d  D0 K
  945. [iconv]! ?' c  h  N, [8 t# f4 s* r
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.! Y( _7 R1 P  T
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    2 i* \; P4 M' {  J, w8 g
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    % L) F" I: w' G, K( }
  949. ;iconv.input_encoding =
    7 j1 w6 C: H5 Z

  950. , a$ ^5 P2 ^6 P3 o
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.- G9 Y8 I+ w0 V2 L
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 k& h8 ~2 ?# q% g* K" \5 e
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 p$ B- a( k6 C" y2 T. h* @- t
  954. ;iconv.internal_encoding =2 h. A9 E- u$ Q/ _, Y
  955. & V: V* p6 l0 K
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 v) ]* o5 b0 K
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    & r& X: u. z. h$ H( w0 R6 b' J6 p
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    7 i( x- y- @9 G* t
  959. ; To use an output encoding conversion, iconv's output handler must be set* C2 U/ ^. w2 h! D
  960. ; otherwise output encoding conversion cannot be performed.: D. P1 h" H0 T& u' o, y9 o9 |2 H3 c
  961. ;iconv.output_encoding =
    / l8 ~! m8 p: _( d" m; b9 v  L

  962. + H$ W3 M" s9 c  Q; E& o
  963. [intl]
    3 b+ R* A& W8 Q( s! j
  964. ;intl.default_locale =) x5 x1 v' v7 w( ?  K9 l# Z3 J
  965. ; This directive allows you to produce PHP errors when some error
    5 T: J6 J. Q. c( a2 x
  966. ; happens within intl functions. The value is the level of the error produced.
    4 x* g; ~/ N( y7 D7 N3 k
  967. ; Default is 0, which does not produce any errors.
    ) m) j, S  Q) K+ Y1 P. ~
  968. ;intl.error_level = E_WARNING+ b0 ?( g1 t7 i/ T2 _( w
  969. ;intl.use_exceptions = 0' S# M2 n3 c" p) R
  970. 6 d+ S- f0 y0 Y+ i0 u& Y
  971. [sqlite3]3 g8 ~; J% G) }' G7 w/ e! i
  972. ;sqlite3.extension_dir =5 z5 f" J4 C1 z, I- M

  973. 1 q+ D6 a2 I) f; R6 F* `
  974. [Pcre]
    , |. g* J- R3 i0 c6 G
  975. ;PCRE library backtracking limit., _  r9 t: T' K# \/ I+ [
  976. ; http://php.net/pcre.backtrack-limit' W2 [6 G# J/ V) u5 E" L9 Z, |" u7 E
  977. ;pcre.backtrack_limit=100000/ @7 p! }* X5 Z* T
  978. - H2 a3 s/ M8 l/ H2 P/ n% o
  979. ;PCRE library recursion limit./ ?0 G" B/ c9 G4 b8 m
  980. ;Please note that if you set this value to a high number you may consume all6 M& [5 l7 p: m' \/ l, T8 U" b
  981. ;the available process stack and eventually crash PHP (due to reaching the5 S; ~  d8 p) w& ?# X0 }
  982. ;stack size limit imposed by the Operating System).& x/ V! q$ \9 k
  983. ; http://php.net/pcre.recursion-limit
    " `* Z8 P1 f( z  p; u, M0 I
  984. ;pcre.recursion_limit=1000009 h/ {+ j4 q1 e) H' F5 c
  985. , `8 k, V; q& r, l8 r* `9 q. @) f/ G1 [
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE3 b/ O; d& M( W4 E& t7 _
  987. ;library to be compiled with JIT support.
    - c  b0 F, ]4 t& C3 t4 r; a
  988. ;pcre.jit=1
    $ d0 Y: N2 b# [4 }

  989. ( P& x- d! x$ x! U
  990. [Pdo]
    1 u" z! G: t. F5 Y3 V7 A/ b/ \
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; a/ e8 @8 ~) [0 j( o
  992. ; http://php.net/pdo-odbc.connection-pooling  r. j$ S7 ]4 m8 V/ I
  993. ;pdo_odbc.connection_pooling=strict( k, B0 h0 t0 }3 m  U. t' s

  994. * [9 n/ ?: v9 M/ @' I9 n& Y
  995. ;pdo_odbc.db2_instance_name: k) B) ?* ]2 e
  996. , p! N3 ?# F% h1 ^0 x; l& O, ]
  997. [Pdo_mysql]) ~4 ]5 T( t. G& @# j% g
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( l, s0 U+ d$ D* S6 h2 p" l* U! ]
  999. ; http://php.net/pdo_mysql.cache_size
    " C+ C8 U/ R; f* u9 r# m
  1000. pdo_mysql.cache_size = 20006 ^& O3 W0 F4 s: j; K% }

  1001. % b7 O- j" t, k* X4 }* k; `
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / I: }3 ^( [" G& q) N
  1003. ; MySQL defaults.2 c/ M! K' M/ p5 i
  1004. ; http://php.net/pdo_mysql.default-socket
    - U- R3 a& S1 ]  J$ Q% @: a; F0 J& G
  1005. pdo_mysql.default_socket=
    : B5 p# u; T3 U& }! h6 f4 r
  1006. 4 ?0 ?5 d+ G) _
  1007. [Phar]
    # l, ]; _# n7 ]0 f& r
  1008. ; http://php.net/phar.readonly! ^! l# C0 K; C- c4 i* s8 M+ w( L
  1009. ;phar.readonly = On
    . F* M/ S0 q( Q5 l0 q7 K" a) H
  1010. & z( |: w2 G. }) e- G4 |9 @" Y
  1011. ; http://php.net/phar.require-hash' p1 Z& @9 i1 Z& f/ q3 A
  1012. ;phar.require_hash = On* A+ ?- X; P2 n9 ]

  1013. 3 C' S6 L9 K  r1 P* \+ y) i2 [5 X8 T
  1014. ;phar.cache_list =
    & b3 m/ L: f8 ?9 q
  1015. 2 {; z: T1 F0 c8 q( k) L
  1016. [mail function]: r, m* q( `/ d% g
  1017. ; For Win32 only.
    , L+ q7 }  H  W9 L1 Z# S
  1018. ; http://php.net/smtp: F& ^; M0 n. @9 O+ d" |: r" d
  1019. SMTP = localhost
    ) Y9 x: q' m) N, X$ K( A5 J0 r
  1020. ; http://php.net/smtp-port
    : z7 c( P% Z$ V, L( {
  1021. smtp_port = 255 g) g9 _+ B$ s1 c4 j+ V, x
  1022. 7 I" a1 I7 _7 L# ?$ h
  1023. ; For Win32 only.1 V+ e7 @8 Z/ k5 B; _* w
  1024. ; http://php.net/sendmail-from' t6 _; a0 H% w8 P- D. |
  1025. ;sendmail_from = me@example.com
    * `  S! {# V* E0 w% ~  B0 I5 J* ~
  1026. 2 j9 j  y/ j9 K5 ^0 O- G2 x8 w. q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    : T5 P% T9 ?% d1 _8 V  Z/ @
  1028. ; http://php.net/sendmail-path
    ) Q4 F( j. g- O* v- y( j
  1029. sendmail_path = /usr/sbin/sendmail -t -i) R% B0 ], P3 H4 [; R3 E, \/ R) d
  1030. & h1 ?, ?  \% [
  1031. ; Force the addition of the specified parameters to be passed as extra parameters6 [" V- B  C, ?/ b& L
  1032. ; to the sendmail binary. These parameters will always replace the value of
    " k8 G" s: ]' p
  1033. ; the 5th parameter to mail().  O; N/ \( p) ]6 T2 P% `9 A
  1034. ;mail.force_extra_parameters =: U6 E' v( b: m7 B' f
  1035. + w) A0 U9 J! Y7 C
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ( k" i* R! R$ J* h" X+ \
  1037. mail.add_x_header = On
    $ w+ ^0 O. w4 p) o
  1038. - x8 }. B8 r9 I6 F: Y, T' m
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    6 l& h" Q  o1 P6 m" P7 |
  1040. ; the full path of the script, line number, To address and headers.. t" }* u  w3 ^9 i) E0 c  j
  1041. ;mail.log =. C$ p" Z& @% Q4 D' n+ h( C
  1042. ; Log mail to syslog (Event Log on Windows).. _4 R% D' ^! N2 q" o# K, T! |
  1043. ;mail.log = syslog9 S* C/ C  Q7 o9 |7 M, \

  1044. - d" Q: W( G5 e, w9 `
  1045. [SQL]
    % m2 B7 q4 }9 W5 z9 I) W7 s
  1046. ; http://php.net/sql.safe-mode  m! h+ w8 R; F- e7 }- |7 S
  1047. sql.safe_mode = Off
    5 y& c9 f4 j( ^; W3 E

  1048. / e- h/ w: r, E& {0 I- t, Q, ~
  1049. [ODBC]
    ( L  Q$ v% A) h5 i. D5 b' d
  1050. ; http://php.net/odbc.default-db
    " o7 b5 i) e9 t# f. q+ W. f
  1051. ;odbc.default_db    =  Not yet implemented
    1 b" O3 ~3 E, X0 `

  1052. % C) z" ?+ B5 y( s; z& |' z- o
  1053. ; http://php.net/odbc.default-user
    5 T7 o4 `1 h9 n0 e7 J9 f# L
  1054. ;odbc.default_user  =  Not yet implemented  v4 }! C  g- b: m

  1055. * ?3 Y5 R% y" f& x5 ?
  1056. ; http://php.net/odbc.default-pw
    " K) c: o7 A" y6 [" s
  1057. ;odbc.default_pw    =  Not yet implemented
    - B0 t) `( p  P4 @, d
  1058. 7 V, ~* R5 H. ^6 N; ]
  1059. ; Controls the ODBC cursor model.
    - C7 l" o! T7 N& g$ s
  1060. ; Default: SQL_CURSOR_STATIC (default).
    $ z8 W5 P& C3 K( i: N3 s  J
  1061. ;odbc.default_cursortype; p) _" O0 V5 a7 d6 r9 J( C

  1062.   N+ S/ _1 N* m8 F9 q0 Z7 |
  1063. ; Allow or prevent persistent links.
    7 r' U6 Z( W$ _0 r8 Z
  1064. ; http://php.net/odbc.allow-persistent6 z3 m# B+ d! r' X* H/ V" R. f8 G
  1065. odbc.allow_persistent = On/ p5 w8 J  I9 [/ k& {

  1066. % h  D- b( Z& @. P7 A1 D  r& w
  1067. ; Check that a connection is still valid before reuse.2 L' G* r+ a2 ]0 N9 S6 X) j6 w, }
  1068. ; http://php.net/odbc.check-persistent
    % F% D/ A. B: f6 }
  1069. odbc.check_persistent = On& W8 {; w4 P& z  d7 t
  1070. / r6 M& L. \; t1 y1 j3 E
  1071. ; Maximum number of persistent links.  -1 means no limit.
    1 Q9 e2 a! Y& B8 R2 q$ j4 q
  1072. ; http://php.net/odbc.max-persistent, t- X& j, L+ R9 Q
  1073. odbc.max_persistent = -1
    & S- R, j( w. r! ]

  1074. * [$ H3 n  p# l7 V! Y7 K; u
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ z0 r" ]! d+ A
  1076. ; http://php.net/odbc.max-links
    * f2 j3 ?9 V6 q; d
  1077. odbc.max_links = -15 c; x' W" c! T; e7 T& [

  1078. ) b7 \2 U% [8 U) q! l4 m
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means* ]& {: p. u: o; G+ |( O6 `7 s
  1080. ; passthru.
    ; t( v- V& [+ W( y+ w
  1081. ; http://php.net/odbc.defaultlrl8 t! h5 D$ O# B4 \
  1082. odbc.defaultlrl = 4096
    0 H2 X* z& m" p

  1083. 5 i. Q, l. `' |7 J$ E. e9 y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    2 E6 `, Q2 x0 G  ~: `6 @* N% L
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  t# d& j: x) |0 r8 {
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode3 A% R+ N- R& @5 @( [7 b2 \
  1087. ; http://php.net/odbc.defaultbinmode
    9 z- g* I6 I5 d$ ^+ o
  1088. odbc.defaultbinmode = 1
    . }* b+ |- }/ i3 J

  1089. 2 ^2 w! N( j( j6 c) s" x' ~& K
  1090. ;birdstep.max_links = -1$ ^. H) ?/ H' g7 J7 E1 p- `$ e' C8 Z
  1091. " B! T6 d% [) J9 g, W5 b4 }* y
  1092. [Interbase]+ @% g; \; M2 y8 X: `
  1093. ; Allow or prevent persistent links.
    / {6 n2 U) h4 l  ^; E! a
  1094. ibase.allow_persistent = 1  J- q% {( q$ f2 \# Z+ s4 J0 o

  1095. ' T' \5 b! U! @9 ^4 U# g! L/ I  ~
  1096. ; Maximum number of persistent links.  -1 means no limit.( ^( i0 L5 t" t* {
  1097. ibase.max_persistent = -13 P# j" X" U  a* S

  1098. ; N  h( l: D1 G! C( l% w) u1 }
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " D0 Z9 G2 r% r& A/ x
  1100. ibase.max_links = -1
    5 G5 f- K# s& U( U9 b2 J

  1101. ' B4 |: }: [6 H! }2 N4 ]3 R) q
  1102. ; Default database name for ibase_connect().
    ) @  E% A$ V# b/ H* A: i8 R" j
  1103. ;ibase.default_db =
    ; [7 |+ F- W; G1 n

  1104. 8 V- S. B9 w; m
  1105. ; Default username for ibase_connect().2 G7 V' k2 `9 y$ q
  1106. ;ibase.default_user =
    + g! @& k1 g! C8 m# S! F
  1107. $ O9 q- \6 F3 r; y! V0 D
  1108. ; Default password for ibase_connect().
    * ^, c2 w" b3 ~% q+ |
  1109. ;ibase.default_password =: s  k" \9 Y$ B. Z7 v7 |

  1110. ! [8 y  [$ Q. [: R
  1111. ; Default charset for ibase_connect().
    . n5 t& w8 }* A. `0 g
  1112. ;ibase.default_charset =
    ) ]% ~) i, k- }) g* d

  1113.   P* s2 x6 G. K7 \+ |
  1114. ; Default timestamp format.
      L$ y$ ]( g( F8 J, A$ d
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 R: I2 y: U6 ~! \2 P4 x
  1116. - S8 Z9 y9 z) b
  1117. ; Default date format.; s* K" n1 d6 [: X# ^' g/ t
  1118. ibase.dateformat = "%Y-%m-%d"& y, @8 Y) ?6 k

  1119. . r8 Y7 v. y& v, W; u
  1120. ; Default time format.
    9 m$ i& E7 l, p% L1 V
  1121. ibase.timeformat = "%H:%M:%S"
    ' _- V! q& u5 ]3 ]

  1122. 7 `, @3 U& I. }9 M7 E
  1123. [MySQLi]
    ; T0 K/ O/ M: u

  1124. % Y4 Y$ v* _+ Z# \3 [1 M
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ' K' C5 L. b6 [2 E) _# n
  1126. ; http://php.net/mysqli.max-persistent' O/ f& i2 v4 x3 s% s+ U2 A9 E
  1127. mysqli.max_persistent = -1) m9 L4 p) Q/ \
  1128. ! ?2 r) y9 k4 c& _. k3 k( ]* T
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 h, X0 o7 a. O/ |; F& Q
  1130. ; http://php.net/mysqli.allow_local_infile
    6 `% h2 L' {+ d7 I; p8 l
  1131. ;mysqli.allow_local_infile = On
    - c' z6 E( s# a
  1132. 1 \: E- u1 {- g+ L
  1133. ; Allow or prevent persistent links.5 f2 o. Y) J8 @
  1134. ; http://php.net/mysqli.allow-persistent. u6 w3 K, Q0 _3 S. y7 V! Y  ~- c
  1135. mysqli.allow_persistent = On
    6 \3 Y7 A0 d: f: ]  p, M( f

  1136. + W/ ]8 G  f. A" O4 j8 E. z
  1137. ; Maximum number of links.  -1 means no limit.- C8 b7 l: w2 Z: N: G
  1138. ; http://php.net/mysqli.max-links
    ( c) K+ T- s) G' X0 I5 q$ @
  1139. mysqli.max_links = -1
    + _- a! l6 X! C
  1140. 5 x$ V' E% h0 O& b
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . g8 l' m! t( ?. ^
  1142. ; http://php.net/mysqli.cache_size
    6 d! {$ b2 A% @/ R! d
  1143. mysqli.cache_size = 2000
    ) [8 [! t6 `& z
  1144. ' ]0 E- @# @6 n1 P
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 Z# M8 T* F- W. P( n
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( z8 e; ^" {, h
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / _. d1 x1 T) G2 m- d/ r
  1148. ; at MYSQL_PORT.
    ! I# r0 [  K* h: E
  1149. ; http://php.net/mysqli.default-port% u% y- f* A& f8 ~6 R1 l2 y& M
  1150. mysqli.default_port = 33067 f& S8 G7 w) A' Q8 {+ ^

  1151. % g0 @$ T# n3 q4 p. E$ p0 D
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in: P6 ]# U+ b" e
  1153. ; MySQL defaults.
    ( N5 K2 X( w1 q- Q, E+ Z) `
  1154. ; http://php.net/mysqli.default-socket, ]: @; z) W" ?: F/ f2 W
  1155. mysqli.default_socket =& J3 s! U3 {9 j' S, f$ O+ U
  1156. 6 F' r) L  `; i8 Z
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % n( k! B+ }; l: R6 y! d
  1158. ; http://php.net/mysqli.default-host# l/ K: M$ |* O' ]
  1159. mysqli.default_host =
    # n9 X2 D4 W' l- T

  1160. ! |, b8 w- K2 \; }1 ^+ `; z5 c6 j
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ [$ r5 H' x6 T8 B5 M
  1162. ; http://php.net/mysqli.default-user8 U5 _& z0 s: [  i3 z
  1163. mysqli.default_user =- X3 i* v% ~  L0 b% M& d, w* a
  1164. $ ~- Y" s1 @7 r7 }! _* U
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).; m( G" `- f2 d! k* o
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.7 P# p, F4 @3 |, c# \" P( g
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")5 X& J1 ^% T( _4 e
  1168. ; and reveal this password!  And of course, any users with read access to this* m  t( r8 T' V- Z* |
  1169. ; file will be able to reveal the password as well.
    8 q) x! t; s% [% s8 }5 F! @, E
  1170. ; http://php.net/mysqli.default-pw
    0 T7 i$ d; T( W9 O
  1171. mysqli.default_pw =5 Y) j+ i9 y8 ]& Z5 C  ^
  1172. 1 e: w2 X7 d! X8 @
  1173. ; Allow or prevent reconnect  C" Q4 T2 I: P3 \; |8 c8 g
  1174. mysqli.reconnect = Off# J5 ~6 G; j+ `0 H5 ]! g6 o

  1175. - Q" C/ I/ T8 I. {& a6 V' ?7 @
  1176. [mysqlnd]
    & @* _  T5 i+ m1 _
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    / ]' m/ x+ g3 P2 n/ @; y( t- s' K
  1178. ; used to tune and monitor MySQL operations.
    / |$ B, ^9 O4 C& x$ m; [9 t9 t' g
  1179. ; http://php.net/mysqlnd.collect_statistics" V% |7 P: G4 I
  1180. mysqlnd.collect_statistics = On' T0 i5 s; ]% C
  1181. ( p/ ^& a# r7 w6 O2 }) G  m- X
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & A6 b& [$ _8 ~% [& T
  1183. ; used to tune and monitor MySQL operations., }/ v1 ~1 m' N& f
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    % J. q# `) ]: A" \+ E+ b! D- \' c
  1185. mysqlnd.collect_memory_statistics = Off
    ! @  h* E6 X( }3 h5 c

  1186. 3 W) a7 D  o8 l; `
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    0 W' {, u' ^" J3 D
  1188. ; file.* M. V' u2 }  \  j5 g
  1189. ; http://php.net/mysqlnd.debug( z8 U, O0 s$ c$ Q# X8 Q4 U
  1190. ;mysqlnd.debug =8 j: M! |! [* }7 R& T( o

  1191. * H7 D/ H7 T/ T* K! U& Y
  1192. ; Defines which queries will be logged.
    * C  k) m% ~. X  v
  1193. ; http://php.net/mysqlnd.log_mask3 x) E  @8 M$ Y5 R" ~; y
  1194. ;mysqlnd.log_mask = 0( p, r8 ^# V2 l6 a) P
  1195. # L1 a9 ?; N( P3 |' ?; F
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets./ f1 ~) J) h1 g+ E, ]
  1197. ; http://php.net/mysqlnd.mempool_default_size4 z$ h9 i$ h5 d5 A5 l
  1198. ;mysqlnd.mempool_default_size = 16000: H! B* `  L0 H0 M
  1199. 5 J" c0 j; V* ]) D2 v# B" H. z" D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ a  ^" n% K: _/ \8 k, ~; V
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size' \% R% J8 h8 Q2 e& q
  1202. ;mysqlnd.net_cmd_buffer_size = 20484 q$ ^' i$ k6 x2 K) T; x

  1203. 6 C" z2 w  ]1 Y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in( Y  y; K. z" V/ s* O& s
  1205. ; bytes.
    $ d! [; D1 X6 p9 J4 T
  1206. ; http://php.net/mysqlnd.net_read_buffer_size! V; c9 J; l$ M# t) e
  1207. ;mysqlnd.net_read_buffer_size = 32768
    1 c4 _/ }: ^8 U/ y
  1208. : M* I2 m6 e* d' q. S
  1209. ; Timeout for network requests in seconds.4 _. p6 Q* r' o. }2 E
  1210. ; http://php.net/mysqlnd.net_read_timeout/ Q" g6 T; N  |
  1211. ;mysqlnd.net_read_timeout = 31536000" L; ]* c- T& H7 U  q9 g8 D

  1212. + ?! h* D' A, t* |
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA9 q$ d* e% Z# H( U2 ^/ a
  1214. ; key.
    4 A8 W  D* ~1 g/ |/ L0 f" U, h8 T
  1215. ; http://php.net/mysqlnd.sha256_server_public_key, O7 l! x* ^3 M6 E$ E8 \
  1216. ;mysqlnd.sha256_server_public_key =
    " y1 `" C3 Y; e9 s8 L
  1217. " x+ p3 t* G- N& ]: v$ U
  1218. [OCI8]+ r: }+ j6 g" K3 z& d

  1219. $ F/ \4 [7 d% R7 J( K% K
  1220. ; Connection: Enables privileged connections using external8 @" b6 U. E( f2 `
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 @7 P, `; a9 _- q; v* E8 p
  1222. ; http://php.net/oci8.privileged-connect
    ! E: Y0 u( F6 Z1 O
  1223. ;oci8.privileged_connect = Off# H' n/ N  ~; m
  1224. / h+ i( {' C' e+ c0 r
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    4 c4 q$ @0 J# k7 U8 C+ r% B
  1226. ; process. Using -1 means no limit.
    : }: J8 |0 c8 ?& S
  1227. ; http://php.net/oci8.max-persistent
    " S' s5 v# d& V  |  v" B/ c! ^
  1228. ;oci8.max_persistent = -1* `$ ~" t3 A1 r% r

  1229. 0 k# Q/ Z% N: x8 N
  1230. ; Connection: The maximum number of seconds a process is allowed to0 Z& R& y6 r# |1 Y! [
  1231. ; maintain an idle persistent connection. Using -1 means idle) p+ u" d9 H$ ^6 B! \  e2 {# q
  1232. ; persistent connections will be maintained forever.
    6 C% E& m1 U! C- E0 T& O1 p
  1233. ; http://php.net/oci8.persistent-timeout
    ; O6 ~8 q+ J/ i( O5 S. f
  1234. ;oci8.persistent_timeout = -1
    / L& S1 ], b+ r8 N$ i- h7 H

  1235. 7 Y7 j: T8 X$ F. m
  1236. ; Connection: The number of seconds that must pass before issuing a6 h9 e1 F) w  a/ t0 {1 ?- ^9 f8 b: f
  1237. ; ping during oci_pconnect() to check the connection validity. When$ ~! s" Q' G: U! ^) Q$ [  W4 J
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 G$ [) l! J' }) q5 L9 S0 A; `
  1239. ; pings completely.7 u9 N9 ^" T( u* z: c
  1240. ; http://php.net/oci8.ping-interval- x; H9 e8 s/ t+ |. }, T: T
  1241. ;oci8.ping_interval = 60; \( `% E9 Y. d1 v
  1242. ! i& |3 J0 E$ X, Q
  1243. ; Connection: Set this to a user chosen connection class to be used
    4 v8 n  }' A; t
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    $ G" c: u) o1 O1 O
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to- A7 p! Y( ?- ~9 K: M
  1246. ; the same string for all web servers running the same application,! r. U' A: w1 H' t2 \! N. f$ U
  1247. ; the database pool must be configured, and the connection string must( F7 d% i6 M: X6 k5 Q% [! ?
  1248. ; specify to use a pooled server.1 e. e- T, O% G8 [" R
  1249. ;oci8.connection_class =
    7 ^& |' k, g+ T) |7 ?. |; r

  1250. ) {5 Z. [2 r( C( V) I6 W1 p( S
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ' S- x% k; t" A7 _7 U
  1252. ; Notification (FAN) events generated when a database node fails. The, j: M; Q& X1 O
  1253. ; database must also be configured to post FAN events.2 T5 z/ c* \5 y* O3 S1 D/ y. N  D
  1254. ;oci8.events = Off
    ' V# `6 F$ N& s2 Z1 Z9 Y
  1255. ) y* N! p( D  e
  1256. ; Tuning: This option enables statement caching, and specifies how  T3 b* Z) d" r: A7 r
  1257. ; many statements to cache. Using 0 disables statement caching.2 \/ \8 t0 I$ ~9 q" |% u4 d; w
  1258. ; http://php.net/oci8.statement-cache-size
    ; L; P' @% H- |- w+ R6 e
  1259. ;oci8.statement_cache_size = 20
    & n& [: }' k. T( T/ K. X: R/ k
  1260. 1 i  u7 Q6 E' C4 u- J
  1261. ; Tuning: Enables statement prefetching and sets the default number of- s0 \+ f" A7 m- c' `( \
  1262. ; rows that will be fetched automatically after statement execution.
    0 {! ?& Z- t- t
  1263. ; http://php.net/oci8.default-prefetch
    - h% \+ h8 D4 f2 i5 D, x
  1264. ;oci8.default_prefetch = 100
    / A8 L; ^( X/ Z. h' d
  1265. , W& p7 ?" [5 S9 i2 L
  1266. ; Compatibility. Using On means oci_close() will not close
    % m0 O* w& G* X* U% W
  1267. ; oci_connect() and oci_new_connect() connections.& v/ n" Z" d4 w9 _$ m
  1268. ; http://php.net/oci8.old-oci-close-semantics
    : y0 u# J8 s2 e/ a" x! O
  1269. ;oci8.old_oci_close_semantics = Off
    * @4 H% |+ a" A

  1270. ; ]$ n) d2 A3 r8 [2 ~' h
  1271. [PostgreSQL]
    - w; V# s5 K3 q% `
  1272. ; Allow or prevent persistent links.- s) Z3 c$ X; d+ I# h6 |
  1273. ; http://php.net/pgsql.allow-persistent
    ( P- j: i( M$ B% d" Z" z
  1274. pgsql.allow_persistent = On  |7 N8 Y$ |# f) ]( w) q$ a  v

  1275. 1 E. b. ~9 u5 a# L6 [
  1276. ; Detect broken persistent links always with pg_pconnect().- L7 e% \5 ^- Q' K
  1277. ; Auto reset feature requires a little overheads.& O2 w) H+ w/ G* Z8 ?! G
  1278. ; http://php.net/pgsql.auto-reset-persistent
    7 Q* o% t' ~/ X( D$ V" O! l
  1279. pgsql.auto_reset_persistent = Off
    & i; ]5 \1 {9 L% n' n" R
  1280. 2 c: }  ?" n" t
  1281. ; Maximum number of persistent links.  -1 means no limit.. c+ W7 Z1 O% V) c3 F
  1282. ; http://php.net/pgsql.max-persistent
    ' A' J8 ?  q& p8 Z4 ~& u% X) q4 I
  1283. pgsql.max_persistent = -19 \9 a5 ~  @2 M" \' r: j
  1284. & e0 }" Q5 e4 e
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- k  T) k- j4 N8 k- b
  1286. ; http://php.net/pgsql.max-links* z" w/ g1 ?8 g# L$ x8 U) V8 A) J
  1287. pgsql.max_links = -1- j2 P5 {2 _, m8 ?; Q& O1 u) N. K) v

  1288. " a3 f0 K% R# l$ ?! Z. K
  1289. ; Ignore PostgreSQL backends Notice message or not.7 O! K0 a5 s* E5 H
  1290. ; Notice message logging require a little overheads.
    ( T* Z' G3 P+ y/ I  b3 n2 Y' M
  1291. ; http://php.net/pgsql.ignore-notice
    4 f; m1 M, L. f2 I1 l; ?3 J
  1292. pgsql.ignore_notice = 0
    , L! i7 O5 y  G8 t% S& I# f
  1293. ( g; y$ Y( m7 q, S/ L
  1294. ; Log PostgreSQL backends Notice message or not.
    $ b' L; d8 A4 x2 g
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.: `% Y1 \# M3 z* S# S$ |
  1296. ; http://php.net/pgsql.log-notice
    ' u: g3 a5 b7 ^3 }& R. c
  1297. pgsql.log_notice = 0
    . {4 T( p" u, i) b- J
  1298. # U3 a$ ~- r9 E) q6 G& B5 J6 l
  1299. [bcmath]
    8 y* R8 P* N/ J/ a# T8 _* [
  1300. ; Number of decimal digits for all bcmath functions.$ Y* q( ~4 \0 s) r: Z% ^
  1301. ; http://php.net/bcmath.scale
    ( B+ \1 R3 g7 U9 N
  1302. bcmath.scale = 0
    5 h, [; p3 _: Z3 K# E$ E

  1303. 2 G- K# w% N( X) v& C% |" d
  1304. [browscap]; J) s% P5 d7 n1 J! f# S
  1305. ; http://php.net/browscap
    + z* a4 Y  R6 R# S3 {; @3 ^9 k' U
  1306. ;browscap = extra/browscap.ini
    ' |% q9 e6 M/ k. _- k9 E
  1307. ; V, _  R" u7 E
  1308. [Session]! `4 C+ V" K# l8 U9 Q6 q
  1309. ; Handler used to store/retrieve data.5 Z# W  i* [& e( s5 ~" M
  1310. ; http://php.net/session.save-handler( R% @# d" f8 Z
  1311. session.save_handler = files: r2 ?& w, E, m  `+ @0 n6 @3 Q

  1312. : _  M( E& c5 e  w  l
  1313. ; Argument passed to save_handler.  In the case of files, this is the path1 ^# ]- m9 c6 k8 |5 H: x  }
  1314. ; where data files are stored. Note: Windows users have to change this3 ~* ^9 s* Z) K
  1315. ; variable in order to use PHP's session functions.4 R& U9 \, w+ t
  1316. ;
    + }  ~4 s) k2 f2 d2 g
  1317. ; The path can be defined as:
    * r% ?" S0 c/ Q; b$ K
  1318. ;
    ! I. V- _' v. y6 T/ M8 G
  1319. ;     session.save_path = "N;/path"
    , _6 \3 l6 w# M: w8 ^0 C  f1 J- a
  1320. ;5 U) v; |; u1 z1 Q' k) ]
  1321. ; where N is an integer.  Instead of storing all the session files in
    " K  T& b: x% A% Y4 t
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    % y! w& w0 V. n* O5 X. ]
  1323. ; store the session data in those directories.  This is useful if& ?/ H2 @' V- ~- d1 N
  1324. ; your OS has problems with many files in one directory, and is2 l' v# d& t# |) q0 m4 h4 U/ E8 s
  1325. ; a more efficient layout for servers that handle many sessions.
    4 U: V( r! _+ f+ D8 Y1 D" F+ H( m
  1326. ;
    0 \- n2 z; B1 L% _# y: _" F& K) Q1 R' [
  1327. ; NOTE 1: PHP will not create this directory structure automatically.# r0 Y& f7 i0 e. ^7 l' S* o0 O
  1328. ;         You can use the script in the ext/session dir for that purpose.
    9 N% }; B( u8 R, S! V+ s/ Z( I6 a
  1329. ; NOTE 2: See the section on garbage collection below if you choose to7 F6 e" ~* j3 o( J' ?, E5 H
  1330. ;         use subdirectories for session storage3 {! r/ W: M7 y( c+ O7 U
  1331. ;
    * f+ i+ V" G$ ?4 q8 f% G" u1 c
  1332. ; The file storage module creates files using mode 600 by default.' u' r$ s1 b+ U0 @
  1333. ; You can change that by using
    - P, x( w0 _: \! t* \7 r
  1334. ;( a8 O* [  L2 J
  1335. ;     session.save_path = "N;MODE;/path"
    1 }. @4 X1 G2 X+ I# s' P% j
  1336. ;
    7 ]- b- m' G1 B- E7 O7 x3 [: G
  1337. ; where MODE is the octal representation of the mode. Note that this
    # A+ Q7 P' W5 O/ T" g
  1338. ; does not overwrite the process's umask.6 _6 B4 A8 i4 O% P; u
  1339. ; http://php.net/session.save-path3 T+ x7 H1 f8 _3 s$ B
  1340. ;session.save_path = "/tmp"& d) T: y) k8 {" r0 ?
  1341. ( C. g, D9 U1 U0 S: i8 L3 S
  1342. ; Whether to use strict session mode.: o2 ?0 a+ h. O
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 Q6 ?% U+ X& n
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects* V0 D  A  z9 I7 L+ O& ]( J. r
  1345. ; applications from session fixation via session adoption vulnerability. It is
    / a. T. r% \5 T# k
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.6 \. d- j8 G* `/ I% L! [
  1347. ; https://wiki.php.net/rfc/strict_sessions
    & f6 H1 p$ ~1 A3 J% ^6 H. ?" M, E$ w9 `
  1348. session.use_strict_mode = 0
    0 E- d2 _: X2 u5 @1 |2 v# L6 {( _

  1349. $ H0 [/ w( r- M4 a7 ^3 R
  1350. ; Whether to use cookies.5 P( P8 o% W" K& l
  1351. ; http://php.net/session.use-cookies
    3 i/ c+ r# g8 f5 U' K. n
  1352. session.use_cookies = 1
    " L+ F7 }" e# [% _, Z$ ~* C/ {* M
  1353. # ]. u* [. q! H- ^6 ^: v4 O6 v( [3 J* K
  1354. ; http://php.net/session.cookie-secure9 D2 Y' D! @" P6 |
  1355. ;session.cookie_secure =4 ?& c8 T+ r: g1 c7 q

  1356. ( `" ]: H/ P$ D
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    , j. i' W$ P- a
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    8 i# V6 a7 e  Z$ K7 s
  1359. ; session hijacking when not specifying and managing your own session id. It is
    0 g' Y" u0 y: i- u6 G3 e4 T% K
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.: L$ c( x' [* @" i' e: j
  1361. ; http://php.net/session.use-only-cookies
    . v$ ]# h- h, W6 J) f4 a% L/ b( l3 b
  1362. session.use_only_cookies = 1: P5 z# i/ H, M& H5 G( c, u. _/ U

  1363. ) ?& G! s) e9 I  S! n
  1364. ; Name of the session (used as cookie name).
    ( |0 ~! u7 I) y: P/ ?; ]0 C
  1365. ; http://php.net/session.name
    + x3 K7 i: d/ n& t& p9 N
  1366. session.name = PHPSESSID: B  P' \0 v4 u  s
  1367. , B$ r' Y% _8 ~! F* z6 k+ l; P3 I
  1368. ; Initialize session on request startup./ G" `0 r1 V; F* Y5 ~
  1369. ; http://php.net/session.auto-start2 i4 j: ~+ H: w0 ?9 M
  1370. session.auto_start = 0
    # a& q8 r: p6 t

  1371. 0 [$ Q6 D. e# ]) v* z2 G
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.6 B* F8 M1 v) i5 `  p
  1373. ; http://php.net/session.cookie-lifetime
    ; D4 F; N! ?0 }. Z5 r8 i
  1374. session.cookie_lifetime = 0+ O3 S( Z' a$ e$ L

  1375. 2 T/ E$ Z9 g& O1 F. B
  1376. ; The path for which the cookie is valid.
    ) T; N" a+ d9 C' L  w9 D. w
  1377. ; http://php.net/session.cookie-path
    9 L2 g( i6 O- D" |' L' d
  1378. session.cookie_path = /
    % }+ w& o' M7 t3 G8 w
  1379. ) w9 K, R+ J. {/ Z+ E. L
  1380. ; The domain for which the cookie is valid.
    " I8 W: z, G: ]; J8 q
  1381. ; http://php.net/session.cookie-domain  @" x6 v" ]# H
  1382. session.cookie_domain =+ d# o9 A; O5 Q5 P
  1383. ( s/ S  m( [- W7 J
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 c, Y  r" d, a! c" a5 _' V* l
  1385. ; http://php.net/session.cookie-httponly/ Z& M1 s# }  Q4 i
  1386. session.cookie_httponly =
    1 ~) z! r9 H# |5 c$ I1 a1 ]
  1387.   t5 W7 a/ T0 t  x- J
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    8 R/ G3 J+ B4 A" w6 q( E( k
  1389. ; http://php.net/session.serialize-handler, Q, ]4 U' `4 S! O
  1390. session.serialize_handler = php
    : [! y6 S5 M  @; Q: Z  |- k
  1391. $ \  n  t3 C" |) K% L% \( }# C) J
  1392. ; Defines the probability that the 'garbage collection' process is started
    $ H/ D; R, @# N/ `
  1393. ; on every session initialization. The probability is calculated by using, S3 }2 O! H1 |  \  }5 c
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: }5 V. n( K: y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1$ m) H0 S; n, K6 j" Y" ?, H
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 D3 J: S4 c. y* M; M
  1397. ; the gc will run on any give request.
    % P' ^& T5 H, N; ^" ]' b$ F' i+ }
  1398. ; Default Value: 16 b, L% o+ t1 V4 ~! P
  1399. ; Development Value: 1* \  A# _! f# [  J2 K
  1400. ; Production Value: 1+ c/ c7 S: M. w/ Y' C
  1401. ; http://php.net/session.gc-probability8 B6 F7 E& @6 p" `8 P! b9 K
  1402. session.gc_probability = 19 i5 c& z4 F1 y- ^( c. N8 s

  1403. , s* k2 m9 o8 U
  1404. ; Defines the probability that the 'garbage collection' process is started on every8 p; z4 I1 A, m9 a1 n
  1405. ; session initialization. The probability is calculated by using the following equation:$ m( B) e1 ^: d
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    " |* R( i4 g) a! K7 z
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 14 i) U: ]& E2 J& A9 d6 R
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( \" \! d- }% Q9 M6 s$ ?6 Z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you% G# d2 x3 R: F
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,, ~1 k0 q/ L0 p- C
  1411. ; this is a more efficient approach.
    4 I  }- Y( N- z+ k
  1412. ; Default Value: 100) g7 z& V5 `5 l0 R" V2 u
  1413. ; Development Value: 10002 M) c, Q" W3 R7 b+ R; K8 u
  1414. ; Production Value: 1000
    - h' x# s) e  Q3 h- [
  1415. ; http://php.net/session.gc-divisor0 K8 `( i8 _' L$ a: P, R
  1416. session.gc_divisor = 1000
    3 L5 |  O/ w8 n9 l; T  Y
  1417. - j, i5 e. A* n- {3 i- f) `
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
      K6 o+ l) ]& t) t/ Y
  1419. ; cleaned up by the garbage collection process.0 F3 `  u) T1 j
  1420. ; http://php.net/session.gc-maxlifetime3 s0 b. D6 F- D; S" S
  1421. session.gc_maxlifetime = 1440- t: F1 V6 \; H2 h' i6 u
  1422. ' \2 F  E3 \/ z, Q8 _
  1423. ; NOTE: If you are using the subdirectory option for storing session files- a1 [; _# z+ `" B  p- g' S# r% A
  1424. ;       (see session.save_path above), then garbage collection does *not*! F- p2 V* W4 n( j, z
  1425. ;       happen automatically.  You will need to do your own garbage% t, f2 z3 i/ I
  1426. ;       collection through a shell script, cron entry, or some other method.! P0 @! ~2 G; I( I- i! J' V
  1427. ;       For example, the following script would is the equivalent of
    ) s: N6 }( |/ v4 d" U  ]
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):/ h( z- K7 R. S. p5 S, x: ^6 J, A1 D
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    9 a1 j9 `( O/ e; r

  1430. # i9 j, O" ^1 Z3 h, D
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 ?% C" Z$ m3 C' p! p0 ^8 y
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    4 r" |- _4 L6 s: }
  1433. ; considered as valid.( i9 x8 h$ K- R9 O
  1434. ; http://php.net/session.referer-check
    : z5 V6 l' ]+ E# d8 _' s3 i
  1435. session.referer_check =
    & C! s6 s1 f1 b

  1436. & ^% I1 F# `7 U+ t
  1437. ; How many bytes to read from the file.4 t$ C; g3 ]- Y$ J
  1438. ; http://php.net/session.entropy-length) `! t" N& z% E/ e5 U
  1439. ;session.entropy_length = 32
    ' ^( N, M8 {% r# c
  1440. 0 t+ g, B) C) ~& Q  Q# P9 s
  1441. ; Specified here to create the session id.
    2 T) l' B9 j& V2 R6 U  p3 M, L2 Z
  1442. ; http://php.net/session.entropy-file
      }* d! y/ T9 y0 K  K
  1443. ; Defaults to /dev/urandom
    7 Y% b- `3 X6 b" V! T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom/ v+ ]4 C2 ^& z$ @4 }
  1445. ; If neither are found at compile time, the default is no entropy file.
    8 t8 y; d2 x( x% P
  1446. ; On windows, setting the entropy_length setting will activate the
    " b+ Z: W/ [! x* P
  1447. ; Windows random source (using the CryptoAPI)* r; `, Z7 o% Z$ B. @
  1448. ;session.entropy_file = /dev/urandom
    ' p. j" B8 D" W

  1449. # m. m# E0 G  m" L7 G6 X
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , ^$ z! @# B# x' X! z
  1451. ; or leave this empty to avoid sending anti-caching headers., ]# O+ {" o" L1 s1 K4 c* K
  1452. ; http://php.net/session.cache-limiter( W# l3 ]# i4 F3 q9 i
  1453. session.cache_limiter = nocache2 H9 F  r, V" x+ K

  1454. $ P: V4 G: T1 D9 {! h1 V  H
  1455. ; Document expires after n minutes.
    ' Y5 d5 b, a- J/ S, i6 x, {4 r
  1456. ; http://php.net/session.cache-expire
    : a( |8 U2 f, z4 O  o' }' H; Q
  1457. session.cache_expire = 180( a5 j$ o5 B" h

  1458. ) W- b4 N. k9 k) w; _
  1459. ; trans sid support is disabled by default." J& d0 S4 w" g: N( o
  1460. ; Use of trans sid may risk your users' security.$ I0 K5 D- ]+ Q  H
  1461. ; Use this option with caution.9 ^9 a2 x3 v4 r# b* U  K/ e8 [
  1462. ; - User may send URL contains active session ID& F+ |5 Z1 U: }  P% N* S% R/ n) B
  1463. ;   to other person via. email/irc/etc.
    % M; ?& X+ E: J0 I) A6 m! C
  1464. ; - URL that contains active session ID may be stored$ l* i! _; i, N- k4 I% f- s
  1465. ;   in publicly accessible computer.
    8 I: c& e- a2 c, \, U
  1466. ; - User may access your site with the same session ID
    ) j) z0 |+ i% h
  1467. ;   always using URL stored in browser's history or bookmarks.
    * H2 V/ e$ T# r' K" [% ], D- W: C
  1468. ; http://php.net/session.use-trans-sid
    ( b8 H% p  i0 s( _! }. J7 X
  1469. session.use_trans_sid = 07 A* g& }5 q3 ^9 w" v) @( g

  1470. 3 ?7 F# V7 V4 N; K) ?) N
  1471. ; Select a hash function for use in generating session ids.
    : c6 r7 Z+ k! ]9 M) g+ Q5 Z
  1472. ; Possible Values) t% e$ l; P* W8 W* g
  1473. ;   0  (MD5 128 bits)* \/ v$ H* Q9 z; O. o8 X
  1474. ;   1  (SHA-1 160 bits)+ I  ~; V% l7 p
  1475. ; This option may also be set to the name of any hash function supported by
    ; G+ d) ~1 f3 y1 o/ C* c
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()1 K& U* u7 M4 p
  1477. ; function.
    ; W' l+ A( g! t& q/ p# [/ G1 U
  1478. ; http://php.net/session.hash-function
    ) y; X: b' {3 L: k
  1479. session.hash_function = 0
    " K0 e7 y; O! o3 V' C

  1480. 4 w  U2 E, C/ q# H8 b7 A
  1481. ; Define how many bits are stored in each character when converting* a2 s* [& |+ u
  1482. ; the binary hash data to something readable.
    % q- Z' V; Z3 T2 |
  1483. ; Possible values:( S1 y. P) [$ n9 _/ L$ h# ]
  1484. ;   4  (4 bits: 0-9, a-f)
      v$ p0 X2 {" J5 E: o& M3 N! V. m
  1485. ;   5  (5 bits: 0-9, a-v)
    : ~/ A$ I5 ]' @: i/ W/ ?7 M
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    $ v9 I, f6 y7 S' J7 {
  1487. ; Default Value: 48 K* n' S  F3 Y' e- d7 I; h
  1488. ; Development Value: 5
    3 M- N* e1 |/ f' p7 y
  1489. ; Production Value: 5
    5 S/ f+ p! W8 g
  1490. ; http://php.net/session.hash-bits-per-character7 h3 P( H% G, @* c4 D3 R; P( L
  1491. session.hash_bits_per_character = 5$ m! u6 k1 j# }& {# p5 B% g$ c# {
  1492. 2 g+ e) H8 S9 T3 W, m# J, }1 u5 p
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.; @( L) B. \! N& h; J
  1494. ; form/fieldset are special; if you include them here, the rewriter will, T/ W( r9 V; x$ y
  1495. ; add a hidden <input> field with the info which is otherwise appended
    - I. G2 I9 ]5 D! [' A
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    3 d$ m2 ~  c; r
  1497. ; Note that all valid entries require a "=", even if no value follows.
    6 `' e' W- a- w/ r0 G
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="& {3 \( a! Y/ b0 K
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! a- q9 O$ x1 @9 h" y
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & [; a: _0 `; ^+ H: U, }3 U5 j: `
  1501. ; http://php.net/url-rewriter.tags" d& E  l2 W3 g: M' A
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 J! T% |2 [2 }4 [2 }! h

  1503. $ l$ G' O0 n) ~! [# t
  1504. ; Enable upload progress tracking in $_SESSION0 j* Y4 R! e6 ]
  1505. ; Default Value: On/ K: S$ I) F$ |& K
  1506. ; Development Value: On
    4 C) J/ J- z5 _2 J& f% P
  1507. ; Production Value: On+ Y. ?0 s4 U- u. I8 U9 W3 q
  1508. ; http://php.net/session.upload-progress.enabled9 l6 q; s8 T$ ?7 i+ e2 u/ I. L) D3 S
  1509. ;session.upload_progress.enabled = On/ z6 w9 ^2 u& g( @8 P/ S! @
  1510. / m9 ^% [! J2 i, _  m2 k  [
  1511. ; Cleanup the progress information as soon as all POST data has been read
    4 J, v1 P/ ]1 ^  Z0 ^
  1512. ; (i.e. upload completed).
    + ~4 A& ]: X7 L4 \
  1513. ; Default Value: On: I9 }: k8 E* e5 @. i
  1514. ; Development Value: On
    ; v& W% l2 ~8 ]; Z6 t
  1515. ; Production Value: On, d: v: v8 `4 r) I
  1516. ; http://php.net/session.upload-progress.cleanup
    * Y. p4 i- g: ~# c4 a% T- k9 [4 i5 v
  1517. ;session.upload_progress.cleanup = On
    1 V6 f0 z; S- S' j/ s# F  ~4 S; z7 u

  1518. 8 [. I% G& `: `& Z6 ~  c" Z5 Q
  1519. ; A prefix used for the upload progress key in $_SESSION
    ; q- L  f' b# ]% G
  1520. ; Default Value: "upload_progress_"7 U; C( M( Z/ ^! @  }% A! E
  1521. ; Development Value: "upload_progress_"0 S! E& e0 ~0 B
  1522. ; Production Value: "upload_progress_"
    5 x: a- p- G+ R$ l8 o
  1523. ; http://php.net/session.upload-progress.prefix
    " e" W) ]8 K' g, [
  1524. ;session.upload_progress.prefix = "upload_progress_"
    & X0 ]$ t: o6 V% r- ^2 j

  1525. 4 q: g+ Q1 {! H6 B3 q  ?: i( |
  1526. ; The index name (concatenated with the prefix) in $_SESSION( ^$ ]2 `# O& ^9 U" H8 n! I
  1527. ; containing the upload progress information
    0 V& [% f  A' h( v
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 Q* r% w6 ^; {6 B, h9 p2 K
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"3 T- n/ L) T8 k
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"/ T( W, U2 k0 `+ |: @  ~5 y
  1531. ; http://php.net/session.upload-progress.name' q( _! e/ [& b' V
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    & L; ?* m+ E' {

  1533. " J- [) h# ?  d8 t( A, Y7 N( S8 u
  1534. ; How frequently the upload progress should be updated./ J7 q. g2 R: m/ f
  1535. ; Given either in percentages (per-file), or in bytes& M6 `% U( t6 s% G& @. B/ o6 [
  1536. ; Default Value: "1%", E8 `3 z$ H/ t2 b% u2 L
  1537. ; Development Value: "1%": e' }9 J+ U( N3 G3 p$ S4 x
  1538. ; Production Value: "1%"
    , a, ?6 ?7 D9 E% u" {
  1539. ; http://php.net/session.upload-progress.freq. E9 \7 m8 F. d2 v" ~3 `$ a
  1540. ;session.upload_progress.freq =  "1%"
    % ]0 k) p& j: K+ Q2 z2 n
  1541. 1 v: @3 \5 u- P& r# N
  1542. ; The minimum delay between updates, in seconds8 h8 T! O0 c+ w6 Q) g
  1543. ; Default Value: 1
    3 L; J5 \7 C7 x/ N+ u
  1544. ; Development Value: 1
    & B( V/ X, A: c: e
  1545. ; Production Value: 1
    + v+ n& D% Z) q+ F, S2 F
  1546. ; http://php.net/session.upload-progress.min-freq
    1 d1 G: A, p( l2 f7 L3 {
  1547. ;session.upload_progress.min_freq = "1"' }- t5 P  P9 i
  1548. + v6 W9 w2 j7 I' E- s% {4 h, w
  1549. ; Only write session data when session data is changed. Enabled by default.
    4 }' d0 ?' o4 ^8 O( E+ Y4 r
  1550. ; http://php.net/session.lazy-write
    " \( R' O7 E- R0 W+ L
  1551. ;session.lazy_write = On
    ( m6 T- S9 V4 X. p/ ^3 k

  1552. + F2 f! V7 @9 q. }5 X- V5 M
  1553. [Assertion]3 e. h9 V! F) g, ~' W
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ; M) F! N, ]/ _
  1555. ; -1: Do not compile at all# k9 @% w+ G) p1 E# R5 @( A
  1556. ;  0: Jump over assertion at run-time  H, Y3 ^/ U5 k  \, j
  1557. ;  1: Execute assertions  Z  X$ S6 Z$ J8 s
  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)
    $ q, O  ^2 {7 {; z' Z
  1559. ; Default Value: 1
    : y8 z, ~: a' q( Z8 k/ G" s
  1560. ; Development Value: 12 ^  l* e! U8 M, S4 e8 b
  1561. ; Production Value: -1
      m# [) E0 K8 f+ k
  1562. ; http://php.net/zend.assertions
    $ I! Z% t, X! H/ E
  1563. zend.assertions = -1$ p( T6 l4 @* u* H6 W) U
  1564. 7 h# [+ \# [/ s
  1565. ; Assert(expr); active by default.
    - x( L; \- b( {( p6 @9 f
  1566. ; http://php.net/assert.active% r) Q# S/ Z! F6 W4 Y% _
  1567. ;assert.active = On
    , Q# P  o9 ]# Y
  1568. ( y' s4 q; C: `2 g
  1569. ; Throw an AssertationException on failed assertions: i# z. O$ v- _( d; E
  1570. ; http://php.net/assert.exception
    ) z! V7 v8 L' _
  1571. ;assert.exception = On
    , R6 Z- A- m2 R: s4 C: j

  1572. 8 T+ P$ ^* ?( [) Y8 u: q
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)$ w" s# n8 x' r% M7 w' k! l
  1574. ; http://php.net/assert.warning
    ' T/ Y* l7 R7 A; u( I
  1575. ;assert.warning = On2 \/ w, u" p. s: [$ `
  1576. " ~" z% V) M2 d0 c$ A
  1577. ; Don't bail out by default.
    9 e: @( C, C. O' H
  1578. ; http://php.net/assert.bail
    ' P2 |3 o1 a+ ?+ Q9 R9 p. }
  1579. ;assert.bail = Off4 |5 N6 _; m6 a3 s7 d- p) {# W

  1580. + _/ x/ C$ ~. _/ ~( {. S9 c
  1581. ; User-function to be called if an assertion fails.
    ) b  J/ v& l) i
  1582. ; http://php.net/assert.callback
    2 I7 h6 `9 _* p  G+ p
  1583. ;assert.callback = 07 X: ~2 }2 _% D# Y

  1584. 8 l* N9 K  T. B( o' d  D" M9 l+ z
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    9 d+ I1 ^4 f& W6 Q5 j) Q$ e
  1586. ; error_reporting(0) around the eval().
    : c* \) J- x- ]( ~  T$ S% y
  1587. ; http://php.net/assert.quiet-eval
    7 M6 I* O: m) D9 _
  1588. ;assert.quiet_eval = 04 [! u" B7 N! \' Z( v3 _
  1589. $ L$ ^' _! T/ M; {* O
  1590. [COM]* s$ J" r0 ^, b7 ?
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: U4 g8 E: f8 M& N6 L$ u$ u- D
  1592. ; http://php.net/com.typelib-file8 P; w! z2 b$ J$ e, K- a/ G3 O
  1593. ;com.typelib_file =& K& o: `# h; I. g; C9 _: a

  1594. 8 K0 G, H# i2 U6 e  Z2 Z
  1595. ; allow Distributed-COM calls
    % ?! {" @, {% |3 e8 M( c
  1596. ; http://php.net/com.allow-dcom9 h1 c( v0 k) ~, m5 E% K  B9 f) G' C
  1597. ;com.allow_dcom = true
    7 s9 m) f: k* S4 _1 V  m9 b3 M! v
  1598. + O+ Y; l4 N2 V7 l4 K% @8 |% Z
  1599. ; autoregister constants of a components typlib on com_load()
    * n& i7 }* R. d2 r: s7 l
  1600. ; http://php.net/com.autoregister-typelib
    , Y* o% N; X3 g' C+ v$ s
  1601. ;com.autoregister_typelib = true! Y  D9 b9 S/ B$ g# m
  1602. 0 @# M1 g# t( z% [- l3 F; @4 M! x
  1603. ; register constants casesensitive/ O1 [# y. D, h" O- v1 n( r, Y
  1604. ; http://php.net/com.autoregister-casesensitive
    2 v1 C$ i# z& g$ e; I8 c  e! R
  1605. ;com.autoregister_casesensitive = false
    , n, P8 I. I7 E4 \% I/ r
  1606. & Y3 J1 X5 r+ z* ^/ X
  1607. ; show warnings on duplicate constant registrations
    6 v8 R4 D& x. |" C6 U
  1608. ; http://php.net/com.autoregister-verbose
    - Z/ k' {) Z) q" g0 _  O: \. O
  1609. ;com.autoregister_verbose = true1 x7 k& Z8 [/ D9 r
  1610. + |0 n+ }  u/ n
  1611. ; The default character set code-page to use when passing strings to and from COM objects.  ~9 W; G+ f0 P( e- q& x
  1612. ; Default: system ANSI code page
    / E- _2 ]) z1 m: r# C1 V
  1613. ;com.code_page=* N, m; U) j* k9 W

  1614. 6 y3 S4 E4 R1 O
  1615. [mbstring]
    ) R/ \! d" v% F; M1 O' O
  1616. ; language for internal character representation.
    ! s$ I$ I, I( x+ ^
  1617. ; This affects mb_send_mail() and mbstring.detect_order.$ e. }- ?4 s$ U# _* t7 @- U
  1618. ; http://php.net/mbstring.language8 N% k) n4 Y$ W
  1619. ;mbstring.language = Japanese
    ; h& O4 _+ M3 J. X

  1620. 1 d( g0 n# I0 F7 e
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 m& d3 M3 E4 @3 A
  1622. ; internal/script encoding.3 |" v) H% z; |* _6 w# |* e# |
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ s1 Z( D" T2 u) r& H8 s* x
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: O$ n, f# N6 X! l
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 O+ v8 M& H) y, y9 S5 T
  1626. ;mbstring.internal_encoding =
      {; @5 I% k* ~# b- S

  1627. 1 T  k  ^% X& w$ E  J: d( x
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.& c2 T$ q3 I3 X* E
  1629. ; http input encoding.
    ( B" P/ r! l# I, b( E
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ( g0 `" J+ E9 S/ g+ Q' t
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.' g' _' m, y* [! {
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input- @2 T: B% ]( }1 i0 J1 Y7 @
  1633. ; http://php.net/mbstring.http-input0 [% e  ?% Q5 E/ P/ m
  1634. ;mbstring.http_input =
    4 Z/ B& |( G5 N

  1635. 6 Y: i6 V4 Z# Z: m
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.) k. \3 o% A9 ?8 ?
  1637. ; http output encoding.
    * H, l) ]$ f0 I
  1638. ; mb_output_handler must be registered as output buffer to function.% `9 b) d5 j) F/ Z
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.% U9 ^: C# Y% V7 O' d# ^" O
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . [! s/ x0 O7 H* r' c( \
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ( C! _1 T0 Q! `- n' E. L0 a
  1642. ; otherwise output encoding conversion cannot be performed.1 r& Z# t' b3 i4 C
  1643. ; http://php.net/mbstring.http-output2 y3 O) I0 V/ L
  1644. ;mbstring.http_output =
    " V& \! ~: s: Q6 g* T- X1 P7 @* R
  1645. ) z- _( E& X( O
  1646. ; enable automatic encoding translation according to
    . T5 g! k$ D2 s; f/ ?9 x3 Y" ^
  1647. ; mbstring.internal_encoding setting. Input chars are; W; R: }  G- O9 C
  1648. ; converted to internal encoding by setting this to On.
    " @( S" x3 C+ f% \6 @+ d0 G" U
  1649. ; Note: Do _not_ use automatic encoding translation for
    / @. j  K* h  ?1 N2 B( p0 w$ A, E
  1650. ;       portable libs/applications.& A. \/ F0 z. a( x! F6 n& ^
  1651. ; http://php.net/mbstring.encoding-translation
    / W& m( Y" b1 O" ~% Z; I
  1652. ;mbstring.encoding_translation = Off9 |+ |8 x2 G* X2 g1 \

  1653. ) S8 J$ i, W6 e/ }
  1654. ; automatic encoding detection order.) c% K& }. S6 m4 V" K" _
  1655. ; "auto" detect order is changed according to mbstring.language9 l; f% q* D) m+ t% a% Y: D$ K0 Z
  1656. ; http://php.net/mbstring.detect-order4 g: X3 P% c. Q$ _9 l2 @
  1657. ;mbstring.detect_order = auto' j6 L# R8 u. W. s) ~+ j
  1658. . s! p' ~# J1 y& Y3 }$ {: B
  1659. ; substitute_character used when character cannot be converted" l7 ?/ f1 i% `/ v
  1660. ; one from another. K  G/ h4 K, T& w3 c
  1661. ; http://php.net/mbstring.substitute-character" H1 I: w/ j' F: a$ [  a4 T& q$ {* q
  1662. ;mbstring.substitute_character = none5 ^1 N8 u; s$ W7 F& H0 V
  1663. . u. g& R3 }) U4 ]% ^' C* N
  1664. ; overload(replace) single byte functions by mbstring functions.
    . X, ?, L$ K# N
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    4 T8 ]+ z& h+ J: k( h- `  s1 Z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.) r. M7 }* R% d$ L- V1 g5 P$ |
  1667. ; For example, 7 for overload everything.- v- R) {9 R% j' k
  1668. ; 0: No overload
    * q6 g" ]1 R3 {' g8 _( u
  1669. ; 1: Overload mail() function
    2 n% m0 S! D( W  k! p. G3 X
  1670. ; 2: Overload str*() functions
    . g7 s2 n; V7 m! f1 [9 Q" a% H# {
  1671. ; 4: Overload ereg*() functions
    & \9 b! O) k: u# w; J/ [
  1672. ; http://php.net/mbstring.func-overload
    4 \# F& p. ]# S. a5 H; S
  1673. ;mbstring.func_overload = 00 u) d; ^$ \( o6 l- l2 X$ x0 ]

  1674. 9 ^) [$ `7 u% M" L: H9 E( z3 H
  1675. ; enable strict encoding detection.' D1 l* w, n2 c3 b( Y: j& {
  1676. ; Default: Off1 {' F6 I, x; \! ^7 I1 H
  1677. ;mbstring.strict_detection = On
    5 `4 V3 D% ?1 E- P

  1678. & m* g2 r. X+ t  I
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()5 W* S  m( R/ r3 k; @  J2 L3 S
  1680. ; is activated.
    8 ]  L- _1 N1 ?3 W2 U, G4 `3 _5 K
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)5 L1 x8 V7 W4 L
  1682. ;mbstring.http_output_conv_mimetype=+ l3 G) w* |6 h/ _

  1683. 2 k: q) L! }6 a6 M: a
  1684. [gd]6 B* s3 s5 f- X  w
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    . @: c/ H0 |7 o+ n# `( L
  1686. ; a gd image. The warning will then be displayed as notices
    & c) v( a0 x, g$ f! A& {+ K9 M. y, Z
  1687. ; disabled by default
    4 l! p  P5 D9 g3 H
  1688. ; http://php.net/gd.jpeg-ignore-warning
    + w1 k$ r8 ]: e' D
  1689. ;gd.jpeg_ignore_warning = 0! d& j- M- m- q" {

  1690. * \3 |3 y; J+ ~/ ^" l$ G1 b
  1691. [exif]
    % e+ b( @; t  s) w% |
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / V/ {9 K! y$ G7 [) \; K- T( K
  1693. ; With mbstring support this will automatically be converted into the encoding
    9 O) b2 w) x0 t! Q8 g, ]
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding: I+ Z! t9 ^( ]0 s
  1695. ; is used. For the decode settings you can distinguish between motorola and
    9 q+ ]+ \# _/ p4 H3 n  W9 c, v6 Z
  1696. ; intel byte order. A decode setting cannot be empty./ H8 k: |7 Z; x% c5 w
  1697. ; http://php.net/exif.encode-unicode
    ' x5 \: q& f$ T4 G
  1698. ;exif.encode_unicode = ISO-8859-15
    + Y- r4 v2 M- |: ~& j) Y- _4 q4 E
  1699. - `3 G$ y% C  }# e
  1700. ; http://php.net/exif.decode-unicode-motorola7 p- q. N3 x% c0 A' ?
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    ; q/ e6 v3 C0 G' R+ R7 K8 S
  1702. 7 H: w: q+ m, d, j* F" X
  1703. ; http://php.net/exif.decode-unicode-intel
    , v- g/ F" x: i; p3 k& U% u
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ' T, a8 H  l% L" g/ F6 o

  1705. / t' J8 T7 y. _' ^
  1706. ; http://php.net/exif.encode-jis1 J- M7 I! d1 F, C. e- F
  1707. ;exif.encode_jis =, e& y/ Q7 D# {. P# G- p9 v
  1708. 0 G: ~+ P; E& B2 m
  1709. ; http://php.net/exif.decode-jis-motorola( l9 W. `( s2 w5 z3 q
  1710. ;exif.decode_jis_motorola = JIS1 n. T# p/ a8 [9 q' J

  1711. 3 u" i: i! J- A1 x( @
  1712. ; http://php.net/exif.decode-jis-intel8 o8 K4 }$ }, X# C6 ^
  1713. ;exif.decode_jis_intel    = JIS) o8 M7 W1 a2 Q9 f( ^6 q7 b" f; ~  S/ ^

  1714. ' h+ ~5 \7 q+ J8 p9 U8 y2 t$ i
  1715. [Tidy]6 E2 D: e7 S9 O3 U  f& l
  1716. ; The path to a default tidy configuration file to use when using tidy
    " @7 c! L+ q) n0 n+ w" k
  1717. ; http://php.net/tidy.default-config* g/ I& r* b* b
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg. S3 v% G( Y1 K) ?& e( L7 M

  1719. 0 t+ C9 n# m$ q+ T
  1720. ; Should tidy clean and repair output automatically?
    $ q2 ?: N1 L' E
  1721. ; WARNING: Do not use this option if you are generating non-html content3 h; T# ~* K% y' b  ]. j
  1722. ; such as dynamic images
    $ l( x6 g! b/ V' m4 X, |! I" K
  1723. ; http://php.net/tidy.clean-output
    " r6 j; p# z; e5 [  b
  1724. tidy.clean_output = Off0 O) o) I! h1 g3 \
  1725. : ~+ Q5 s, j. S5 y+ F+ _
  1726. [soap]
    $ h, o; J2 t5 k7 H, H% k- d* n
  1727. ; Enables or disables WSDL caching feature.
    " O* }0 u5 R/ ], {
  1728. ; http://php.net/soap.wsdl-cache-enabled* V3 M# f* Y6 N6 \' N5 x. ]1 ?
  1729. soap.wsdl_cache_enabled=16 {& o: f" o/ ]! a/ D. |& a
  1730. 5 c6 @) e6 c+ u9 k
  1731. ; Sets the directory name where SOAP extension will put cache files.
    . A( R' ?3 ?/ E
  1732. ; http://php.net/soap.wsdl-cache-dir: ?3 l2 \$ E' }1 r& g1 W, R$ n( c: h- u
  1733. soap.wsdl_cache_dir="/tmp"
      a$ T: @- j6 R+ J% E% U

  1734. ' Y' V$ ?) n, |6 N. n( |9 i
  1735. ; (time to live) Sets the number of second while cached file will be used
    , ?5 B8 O* i% S% X) `) O
  1736. ; instead of original one.% J6 C/ {3 A7 t
  1737. ; http://php.net/soap.wsdl-cache-ttl4 p; _4 E3 z" _, g
  1738. soap.wsdl_cache_ttl=86400
    ! X# }$ S. [/ g$ O2 F6 b
  1739. 7 ~% u: \$ h' c, \' s3 G
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    / K. P+ l& i. H7 e# Q
  1741. soap.wsdl_cache_limit = 5
    4 K! x% M4 T0 {# a" [
  1742. - j9 S( c1 }) \# x
  1743. [sysvshm]
    6 S2 |' L; z7 {2 U% l+ C
  1744. ; A default size of the shared memory segment
    , l$ [0 x% N: i1 h9 b% t6 ?, A
  1745. ;sysvshm.init_mem = 10000
    6 ~6 B; `$ G6 u
  1746. , I- I- m/ {* n. @* }
  1747. [ldap]
    - e8 s7 t* k  V% p6 E
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    * S4 s1 M' N+ g$ G: ?- N4 W0 s' d8 ~
  1749. ldap.max_links = -1
    3 I6 }7 ~$ Y+ Y* Z) f

  1750. 7 s5 E: S* J: t* e
  1751. [mcrypt]
    . T; A% U/ g" }
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    7 J# [# `' G8 o1 O9 @

  1753. : N3 k3 Y# q- R0 Q; [( j# ]
  1754. ; Directory where to load mcrypt algorithms# H8 Q* b' _% z1 ?4 N7 D  e# J
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): s0 R+ n: L  f# n& X9 W  U- X
  1756. ;mcrypt.algorithms_dir=
    " D0 N; B, d, M* M7 e% E
  1757. 2 S, ^& ^' @/ |1 `4 n7 b
  1758. ; Directory where to load mcrypt modes8 @8 O" L( n: F6 M% p; ^
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - x7 h5 S4 H- X' M$ I! J
  1760. ;mcrypt.modes_dir=2 U7 X% @& K: ?. t7 p. Z4 H
  1761. & N& ]5 C4 w# g
  1762. [dba]
    7 N2 h7 Q9 b# Z
  1763. ;dba.default_handler=
    0 |+ l' P9 I9 @& m5 |) z( G

  1764. 5 Z( n+ I: t- Z, W1 n( H
  1765. [opcache]
    $ C/ _3 c/ z) l% g
  1766. ; Determines if Zend OPCache is enabled
    ' R! Y, Y  v1 v5 {7 ^4 L9 P
  1767. ;opcache.enable=0# }8 C9 q. z) ?: Z! s5 M/ T
  1768. + K' o$ f, N9 h( a& m
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP* U3 H1 r- E- N) A0 a9 f0 i; K2 u
  1770. ;opcache.enable_cli=0
    : O: S8 ]/ k8 @* N2 I! O0 c3 [

  1771. , m% ~5 f- V% _6 B
  1772. ; The OPcache shared memory storage size.
    , h$ K* F/ ], I) J
  1773. ;opcache.memory_consumption=64) N' L. p. w5 B9 w
  1774. 4 u/ L: k' a( _& D) n" B. g) j8 Y
  1775. ; The amount of memory for interned strings in Mbytes.* Q, e$ T' p/ [5 }1 }5 H+ V5 Z
  1776. ;opcache.interned_strings_buffer=4" _- ]6 w- b3 I, a
  1777. 4 D% ^+ g" C1 A1 `, T
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.9 D) `, z& \! Y8 x
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ! W1 _7 w8 r  `* h2 s: I" E: A! P
  1780. ;opcache.max_accelerated_files=2000) a. \; O- y: i

  1781. & r: H$ f# t) k' b
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    8 K3 ^! V5 k* L% U4 w& U
  1783. ;opcache.max_wasted_percentage=5/ `. U/ @) A6 |/ O2 G  D! l
  1784. , G$ T* l3 U* |5 [6 d: {) F
  1785. ; When this directive is enabled, the OPcache appends the current working/ s# M# I. |) b4 d1 ~
  1786. ; directory to the script key, thus eliminating possible collisions between
    % i7 F- I8 }5 ^& p" \  P! i( Q9 k1 E
  1787. ; files with the same name (basename). Disabling the directive improves4 B* |* A$ h& z% L
  1788. ; performance, but may break existing applications.& Y* |$ \; f) e. t6 ~
  1789. ;opcache.use_cwd=1
    7 ^, g! Y4 a. v0 H' h2 e8 L' c

  1790. 9 W5 _( L6 ?: H3 M% w/ |; m
  1791. ; When disabled, you must reset the OPcache manually or restart the
    0 z$ L# D8 |# e
  1792. ; webserver for changes to the filesystem to take effect.
    % Y* n+ b1 _( a! v! L  F. x' i
  1793. ;opcache.validate_timestamps=1: y' O, U4 l4 {& t6 k+ E7 I

  1794. / C( c( M# o, b& I
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    0 Y5 U% V' l: K/ z1 D6 [3 N' H
  1796. ; memory storage allocation. ("1" means validate once per second, but only* ?8 h; L# K( l# ]% }, l
  1797. ; once per request. "0" means always validate)
    2 p/ t1 Q* B; u9 r
  1798. ;opcache.revalidate_freq=26 O) \0 A3 s3 b. F# r+ O+ H& U

  1799. $ |" W5 ?9 ]5 H- r' d$ [/ a
  1800. ; Enables or disables file search in include_path optimization6 w+ |7 d6 e, `! X" b; d: f1 X
  1801. ;opcache.revalidate_path=0, i2 M, S  R) S/ t& `9 f+ U8 e7 C5 f

  1802. 2 ]' C4 z8 X; R3 w- |/ j
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the- r' o$ X5 U" m, C9 M( J) ~0 d  `
  1804. ; size of the optimized code.
    $ {- l% d/ v& g' t! y  B- ^  N
  1805. ;opcache.save_comments=1! L5 u. d' m; X) \- O
  1806. # d: B- T) o7 s! u1 E5 y# K5 V
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    9 X. l* Y& \$ g, _& l
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    0 o) ?7 _3 Z$ }8 a* d
  1809. ;opcache.fast_shutdown=00 j8 @. N" @2 P4 H
  1810. 9 {3 _5 S& }% Q& L
  1811. ; Allow file existence override (file_exists, etc.) performance feature.) z) g3 s2 {! K0 a1 ?* b
  1812. ;opcache.enable_file_override=0
    8 D, P7 A# s" J1 D# F
  1813. + b* H1 j" `5 P: @
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    : e, P0 \9 q7 a
  1815. ; passes" i: a+ x$ X) o8 g
  1816. ;opcache.optimization_level=0xffffffff' v, `  N- P5 _

  1817. - u3 z$ L% _8 ^4 h
  1818. ;opcache.inherited_hack=1# Y) y( n7 i+ s. y
  1819. ;opcache.dups_fix=0( u( C4 f8 o/ I1 R1 I8 M

  1820. ' t, @& R/ X' p2 V$ e9 ~
  1821. ; The location of the OPcache blacklist file (wildcards allowed).: e) B% H4 z' u  S6 m% w2 U
  1822. ; Each OPcache blacklist file is a text file that holds the names of files* ~. m9 P8 k' A, e: a8 {
  1823. ; that should not be accelerated. The file format is to add each filename4 F( y5 F* s3 J
  1824. ; to a new line. The filename may be a full path or just a file prefix$ f( S- @, @9 n, L  O6 A( }' B
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# g0 f5 a9 F& s+ F6 d! u1 _
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    . K& m! Y* w* e) d' v6 `8 G
  1827. ;opcache.blacklist_filename=/ e' `$ p  n3 c9 i+ Y

  1828. & f) u0 u* @% ]
  1829. ; Allows exclusion of large files from being cached. By default all files
    / H$ h( c, C1 P) ?- r6 `) y
  1830. ; are cached.% d4 Z4 k( L' |2 T. A5 P
  1831. ;opcache.max_file_size=0
      `& q9 I4 M8 f* T, |( |" t
  1832. 6 {. }" H4 b1 `4 V6 S
  1833. ; Check the cache checksum each N requests.
    * P5 ?* j" M+ @2 |/ c) m/ |
  1834. ; The default value of "0" means that the checks are disabled.
    . j) ~7 c  O! `( V# V( u) _  a
  1835. ;opcache.consistency_checks=0* P+ s" J% c+ u0 K! _8 W, [

  1836. 9 E# N( q2 M& v$ K8 L2 k7 p
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ h  w8 X: Q1 m( i1 t9 Q" l
  1838. ; is not being accessed.. Y7 D  ^) s3 q
  1839. ;opcache.force_restart_timeout=180& o1 L9 [: c  D3 A" u7 {( Z

  1840. . _& y& k2 Z/ b' O: h' ?
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    1 x2 s+ h/ Q/ G& i( M3 Z
  1842. ;opcache.error_log=! Y! E8 V( X) x; }# q, |! m6 f
  1843. % E' \( M+ n" ?7 _
  1844. ; All OPcache errors go to the Web server log.% [( U- W/ M1 v
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# @! l. j& k. v, u3 X- {
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    # G/ {4 q" d) ]. D- p# j* I
  1847. ; debug messages (level 4).$ _: K. _3 m6 o2 ~
  1848. ;opcache.log_verbosity_level=1% }# }+ D# v! _& E& j2 I' i
  1849. 4 v! G, y; t9 o1 Y' f2 U
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    " @5 S( W' F9 c' B
  1851. ;opcache.preferred_memory_model=
    % A% N5 C! U; I  B: Y4 o8 }

  1852. 4 R4 u( i* e& n. e  W
  1853. ; Protect the shared memory from unexpected writing during script execution.9 I& r3 Q* ~: s8 J
  1854. ; Useful for internal debugging only.) ?3 M- m% n( `
  1855. ;opcache.protect_memory=0
    * s) ~4 X! D& `
  1856. 0 K: {& M: w0 [& \/ m
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    : j, F. }% j2 n8 t0 g' s' f
  1858. ; started from specified string. The default "" means no restriction
    & q* O5 ?+ Q! Y  M
  1859. ;opcache.restrict_api=
    . `& u/ U- X; ?$ j
  1860. ' v% l  n) G3 b) A* G( V
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    $ H9 Y0 Z) ]2 m# R
  1862. ; processes have to map shared memory into the same address space. This/ f' X" k; D4 a
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    1 H. D) H1 U& k7 a6 N' X; c0 Y
  1864. ; errors.( @! J: T  e/ d/ O0 b2 |) M
  1865. ;opcache.mmap_base=
    & N3 a2 r0 J5 Z3 \, G6 C' \# W

  1866. 8 e3 o7 V& c/ _) p) d  s% g" C1 L
  1867. ; Enables and sets the second level cache directory.
    . G5 R, @$ n! e6 G5 _
  1868. ; It should improve performance when SHM memory is full, at server restart or5 E; ?) H0 B& S8 H$ v0 S
  1869. ; SHM reset. The default "" disables file based caching.
    5 e- t) P4 x! ?2 p5 U; t* @, m- e
  1870. ;opcache.file_cache=; s2 x) E  T/ |- S9 D! O* y
  1871. 4 Y1 H4 |  Y. q/ l3 C
  1872. ; Enables or disables opcode caching in shared memory.. G+ j" }  k* t2 R! [" V3 Y
  1873. ;opcache.file_cache_only=02 [& M+ ~- [9 g! r2 D
  1874. . W9 T* H) T# j
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    * ^2 _' g! \# e5 s5 Q9 L
  1876. ;opcache.file_cache_consistency_checks=1
    + e8 v: f6 S# [1 w' }4 S* h2 p
  1877. 7 i( g" `3 S% c1 t0 m
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ! I% Z3 A  {: s* [, O
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file4 M# z/ Z( @8 M7 k6 ^- w- j9 E; K/ K
  1880. ; cache is required.
    1 q+ s+ J1 B: ^: P: f8 U" k6 y
  1881. ;opcache.file_cache_fallback=14 |# ~* n* t2 ]4 e

  1882. 0 }9 `* f" ?: B4 x
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.7 E& f7 @: ~( J. k# j8 ]
  1884. ; This should improve performance, but requires appropriate OS configuration.
    + d- n5 ]- W9 q! I9 I" d
  1885. ;opcache.huge_code_pages=1
    / u& X/ R% }1 L, W8 h0 |# h

  1886. 1 b' s7 U8 G2 t+ {! o( [7 i
  1887. ; Validate cached file permissions.
    3 E: D. D4 Z1 A7 D6 d5 l) x
  1888. ; opcache.validate_permission=0
    6 H$ g0 z. A# b' H  V" Q

  1889. 8 @5 \9 z6 O: U  I% Q" d8 r
  1890. ; Prevent name collisions in chroot'ed environment.
    5 e; X4 Q# X3 \
  1891. ; opcache.validate_root=0
    & A8 Z, R  _! G) H" i0 A( ~

  1892. 8 P/ P& h( n* }
  1893. [curl]
    ( Q* j+ @) w& S( O0 A* q0 S: _: q
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 C  N1 \' V3 ?+ o; i
  1895. ; absolute path.
    1 S" g2 d- p* C& x! |$ B
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; K' t% P* N8 g9 s

  1897. % H4 c" p3 D0 p8 c( f/ j5 S
  1898. [openssl]
    , ?5 q* b0 H: A: F5 N. ]( K& F
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 u5 R/ S% b% e2 [+ [
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should! b# O, A7 u) D& u: @/ E
  1901. ; not specify a value for this directive as PHP will attempt to use the/ c- _9 W% A6 b9 D- [' `6 }* s$ i$ H
  1902. ; OS-managed cert stores in its absence. If specified, this value may still) G8 n- D7 R! H$ B, f& x, q1 K+ ^
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context, D0 h& H( `/ e4 O
  1904. ; option.
    4 u9 L# M, l4 K# {) v
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% N8 g) K; n" b& Q- N, Y' m
  1906. ; V* y( ~: E* Y5 C2 {- C
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the" G; ~- L. s( T( d, C
  1908. ; directory pointed to by openssl.capath is searched for a suitable8 T& H# N, C* A5 t6 i4 U+ O
  1909. ; certificate. This value must be a correctly hashed certificate directory., O& E. F! t9 A* [! a
  1910. ; Most users should not specify a value for this directive as PHP will0 [2 ?8 j9 O9 ?/ z8 X. k
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,* w; |3 q7 F  Y' x6 s, |
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    7 E) T) Y  T. W
  1913. ; SSL stream context option.# @9 z% j4 |) Z6 x/ l0 P% [. p
  1914. ;openssl.capath=# |& @3 G" E# h% d& B' ^4 Q

  1915. 2 b8 w: P/ G4 }9 z
  1916. ; Local Variables:
    ! L* z% {5 e  v, W; W
  1917. ; tab-width: 4
    : c% X+ u; ^  _& o/ s4 P/ ^' h
  1918. ; End:
    ; _+ q; v, Y4 F+ q/ D0 l' H

  1919. : d; f4 c% e* ]8 \
  1920. ;eaccelerator5 F/ p. J, X  U3 L& h0 v7 ]

  1921. ; t4 [; Z( Y" J0 t# {' \! R
  1922. ;ionCube( Z: C5 q+ c+ B1 e5 Z' r
  1923.   x0 X9 h- x. s3 D" T9 C  b
  1924. ;opcache
    : ^3 H- x( _( o

  1925. & _( p. m( E( K- {: u8 K
  1926. [Zend ZendGuard Loader]: E) ^' M5 C2 @. G3 |
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.# j7 {& a7 V# N) F
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    $ _. N0 X1 N# l$ R9 I5 m7 W! _  W
  1929. ;zend_loader.enable=1
    5 t; g) t+ O4 v/ m& [' t  [$ ?+ i
  1930. ;zend_loader.disable_licensing=0+ m* _; o0 X5 x. k/ O
  1931. ;zend_loader.obfuscation_level_support=3& Z9 i( h0 C4 e1 ^: q
  1932. ;zend_loader.license_path=0 i% Z( G5 w5 y# p

  1933. 6 m* E8 T% ^! ]" f8 X
  1934. ;xcache$ a- t3 ~# D. Y( d6 P, {

  1935. % S8 ~: ]0 {" `$ b/ j  l
复制代码

& r& ~. ]: W: w/ }- y; m, o1 F1 l6 E& P

5 J  g! k& w" r5 t; z  N
6 J* `9 @) X5 E+ ^! j' ]3 U; Z+ Y, S: y! k3 a5 Z* }+ s+ Y
: e0 h: p2 [/ U! X) |) `

9 N- |# q: U' ~0 @/ c4 p# dPHP5.6版本原始设置% E' T& [' Z0 R

$ J( m! P7 n' Q: ?9 U0 J
  1. [PHP]$ B) L  r2 g- |- ~; X

  2. * t% f8 i0 M  P( A4 `  T
  3. ;;;;;;;;;;;;;;;;;;;
    , _: q* @* a- f. X4 q0 f
  4. ; About php.ini   ;
    $ D3 d2 [7 f. A
  5. ;;;;;;;;;;;;;;;;;;;
    $ M! x' [8 i( W  V
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' j" S: Z8 k' A( K: d" D' N, n
  7. ; configuring many of the aspects of PHP's behavior.$ @) S8 d# S0 N$ ^( [6 [$ T/ @
  8. 2 R3 T7 A3 H5 k6 }3 k9 }
  9. ; PHP attempts to find and load this configuration from a number of locations.$ j# Z; u" D, `
  10. ; The following is a summary of its search order:7 M7 ?* J' y& ^: _+ P6 D
  11. ; 1. SAPI module specific location." H7 X+ P4 i3 u, D7 N9 }) V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! Q5 z, e" q% {* K
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)/ i3 @9 k/ N* ]4 p/ b( \
  14. ; 4. Current working directory (except CLI)
    0 B, J. W5 H* u
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 p7 v' c3 j1 w+ k* c
  16. ; (otherwise in Windows)  _5 H! N+ U8 L; J5 T
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    # Z5 p; ^" T' C8 x' A" C' H/ Z2 g
  18. ; Windows directory (C:\windows or C:\winnt)
    & a% W+ N% b( C3 K, |& G. b
  19. ; See the PHP docs for more specific information.0 s  O- `' C! S8 R3 b' f" Q
  20. ; http://php.net/configuration.file
    5 B% O. d* }7 [0 e) ]3 X

  21. 5 A( G  }& A" o  |, r( k
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    1 I! ~$ M) e; b- N/ x& X
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    : \# h1 V5 n- ~6 L
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though6 A4 a( q; @2 Q$ ^7 f$ c
  25. ; they might mean something in the future.
    # i% y* |' E( m

  26. 7 e' o8 n; |# q
  27. ; Directives following the section heading [PATH=/www/mysite] only2 N  C6 j- T- k
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ; W: _4 A- m) B3 ?  m0 E6 [
  29. ; following the section heading [HOST=www.example.com] only apply to
    % M- \6 Z  U# ]$ n( B: K" E
  30. ; PHP files served from www.example.com.  Directives set in these
    ' A" Q( a& Y7 x7 e
  31. ; special sections cannot be overridden by user-defined INI files or/ T3 G2 s4 W. N7 ~+ i1 W. K3 w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    6 Y" p) Z: A8 t8 b8 s
  33. ; CGI/FastCGI." W8 o# O, J0 z
  34. ; http://php.net/ini.sections
    ) V8 y% O. `0 I5 Q
  35. 3 w8 O& q# \7 Q8 B  |* n  S. t# L6 k0 b
  36. ; Directives are specified using the following syntax:
    & v7 |! q+ ^5 E, [( c2 X
  37. ; directive = value2 H! m3 M8 m+ h4 d
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.8 c" {) R4 ^- {9 B( f# n4 l
  39. ; Directives are variables used to configure PHP or PHP extensions.5 {6 r% Y$ k. m. D
  40. ; There is no name validation.  If PHP can't find an expected: s3 @3 j' ~9 o6 t$ K, N) R
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ; r5 s2 t8 l5 ?7 i9 K4 f
  42. - T0 Z: ?# S! ~
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    , w: B# |! F0 D
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    $ U" W! ]/ b* c- I8 S' |" \
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
      ^5 u% t& o/ W
  46. ; previously set variable or directive (e.g. ${foo})
    8 F* X5 t5 P+ S! I" U' k
  47. # O& p5 l! C! G8 M, M/ q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    0 S/ \1 @1 C. V7 u
  49. ; |  bitwise OR
    0 _* ]7 l0 ^  i' n- p1 l; x: d3 U
  50. ; ^  bitwise XOR& K4 D& n- A, w3 j
  51. ; &  bitwise AND4 s2 m. E3 g, V' Y+ \, F
  52. ; ~  bitwise NOT
    : B/ T8 G& Y% K; ]2 v+ P: d* C
  53. ; !  boolean NOT/ {6 u5 `2 O  m2 P- B0 s) f
  54. * C$ J  q6 V: V! Z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.# V% |2 `- _, j# T+ g3 {: v
  56. ; They can be turned off using the values 0, Off, False or No.$ v4 Y$ b: Q0 D( x3 w1 a9 A' T; Q

  57. 4 ?6 I/ b, e; S1 f
  58. ; An empty string can be denoted by simply not writing anything after the equal
    0 Z6 @5 q$ O$ U/ O2 Z% p
  59. ; sign, or by using the None keyword:( i6 R5 \6 k: L. p

  60. - x: A! Z3 N# d6 L( ]* T- x  i; p) P
  61. ;  foo =         ; sets foo to an empty string! D7 G+ t# H1 c3 ~$ l* t; e& t
  62. ;  foo = None    ; sets foo to an empty string5 r4 ^- N  ~5 Y2 Q
  63. ;  foo = "None"  ; sets foo to the string 'None'
    $ F1 X  u" @  y3 p5 Q# @
  64. + r* l) M; N4 _3 e" u' Z, \
  65. ; If you use constants in your value, and these constants belong to a" d* q$ i+ X  o( {4 c( C9 y6 s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    1 x7 J% y( \7 h
  67. ; you may only use these constants *after* the line that loads the extension.
    # U$ G9 f7 d& R, p  @
  68. 8 w/ U* f$ M! R* Y
  69. ;;;;;;;;;;;;;;;;;;;& w/ x; o- E8 \$ t! w
  70. ; About this file ;
    : x. A: G2 _2 H
  71. ;;;;;;;;;;;;;;;;;;;
    ( T+ Z( h: v+ z; p3 }7 i, N) X
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 t- e* {6 f' g! t% _
  73. ; in production environments and one that is recommended to be used in
      Q) f3 a1 E2 R+ {  u6 p+ D
  74. ; development environments.
    6 [' C% a- {7 k# _- C

  75. ( \. @6 N: C! H( J, Q  L( {0 I8 z
  76. ; php.ini-production contains settings which hold security, performance and, o3 \3 X2 N5 ?. y
  77. ; best practices at its core. But please be aware, these settings may break: w$ j1 F4 w4 m2 O/ {1 e: H3 {
  78. ; compatibility with older or less security conscience applications. We6 p3 w2 x2 U4 [0 y8 Y& p. P% x
  79. ; recommending using the production ini in production and testing environments.9 z4 ^! @4 O- U1 t% n
  80. 0 p8 n7 E  `$ V4 ^1 \6 p8 m
  81. ; php.ini-development is very similar to its production variant, except it is
    / b5 s' P' `0 A) S+ q# V
  82. ; much more verbose when it comes to errors. We recommend using the
    4 e# E' V5 ~$ }# _& @
  83. ; development version only in development environments, as errors shown to$ A8 q2 ?7 h$ X: B! ~7 g
  84. ; application users can inadvertently leak otherwise secure information.' B7 }/ G0 M5 u

  85. * O+ B/ S" [0 X& ]2 `, u" h
  86. ; This is php.ini-production INI file.& @+ ]; K4 e* P

  87. 5 Y7 B" e. @* d% l
  88. ;;;;;;;;;;;;;;;;;;;- s+ G4 x! A0 F7 ?1 t
  89. ; Quick Reference ;4 |7 ?, w3 O: |& @
  90. ;;;;;;;;;;;;;;;;;;;
    - O0 v9 }# ~+ u" X* B, o! V
  91. ; The following are all the settings which are different in either the production* V  k0 q% V6 `( j0 {5 B: l
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # C# Z7 d' x! O+ s
  93. ; Please see the actual settings later in the document for more details as to why, G9 A3 L0 S& |! ^( ?% ?
  94. ; we recommend these changes in PHP's behavior.5 t5 l$ K: m7 z1 W+ d

  95. , v- F+ d% Y& h' J$ G) N
  96. ; display_errors3 S6 i* B) L% c
  97. ;   Default Value: On* V: o' G% R. u$ |! Y; N! T) p/ o
  98. ;   Development Value: On
    # H3 U3 B: l5 o9 {9 C; ]
  99. ;   Production Value: Off
    5 g5 U' Q& J; J- f! [

  100. & A4 L* q: x3 U% F
  101. ; display_startup_errors
    : k$ W: r- `! [* N7 J& y0 _
  102. ;   Default Value: Off- m/ J% r! s6 ~8 O
  103. ;   Development Value: On" A" s# B; x! |" a. Q; u
  104. ;   Production Value: Off4 i: H/ v7 s/ H, V
  105. 0 g: e& i  `) m
  106. ; error_reporting, j  x8 K6 w/ F, q8 t0 s6 u
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . M2 T& J4 ]5 q
  108. ;   Development Value: E_ALL, A2 J' Z3 x* e) ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ i8 {* h, f; c/ q' b' y

  110. 0 O# Z4 @1 t  @* [4 H# I: c3 @
  111. ; html_errors
    * n2 T5 D+ M9 }! r2 _0 a
  112. ;   Default Value: On
    ( h! X# N- A7 w* I5 w; p
  113. ;   Development Value: On0 u* c) e7 ]0 L9 l" t* f6 g
  114. ;   Production value: On: E/ R  ~4 l# ~: O
  115. 1 l2 j  u8 ?% o; Q. X7 A; e
  116. ; log_errors
    5 @  @; _; K! b# ?6 Y& h
  117. ;   Default Value: Off
    $ m. Z5 ]5 h* I. i3 j, [2 Z0 L
  118. ;   Development Value: On
    7 t  T0 l* Q: I( a$ H9 Q
  119. ;   Production Value: On
    % I- V4 {9 s6 r! O2 x

  120. ; ~  L5 Y$ P8 K: n* X
  121. ; max_input_time
    2 S# Q1 @8 C' I( B
  122. ;   Default Value: -1 (Unlimited)
    * Q' `) J- ^; _0 a, {0 n& l
  123. ;   Development Value: 60 (60 seconds)
    5 S1 K- F. x  [, H  D
  124. ;   Production Value: 60 (60 seconds)
    8 P& q! ~# x* }: ?5 x' v3 O
  125.   v/ k/ P7 f. L6 S0 j
  126. ; output_buffering1 `0 ?9 g% ^% O/ j6 W
  127. ;   Default Value: Off% J5 ?" G0 c7 u$ |4 Y" k
  128. ;   Development Value: 4096* t5 @# A& h& `, V3 X+ H/ l& I. X
  129. ;   Production Value: 4096
    # Y. m6 A, E$ d
  130. ' L0 b& y/ _8 ?
  131. ; register_argc_argv
      ^* o1 j) M( n2 a
  132. ;   Default Value: On
    ! U- h/ O) V1 p+ J3 g! r0 `9 Z
  133. ;   Development Value: Off% y  ^+ R8 m! U, i6 G
  134. ;   Production Value: Off
    3 L. i) ]0 K+ B. T& D3 o5 J
  135. % R$ q- S' i# M, ~7 R% J/ z" C
  136. ; request_order
    8 L  q4 X. U7 g& }! y9 k- t
  137. ;   Default Value: None5 o' _; |2 a$ I" b8 F2 e
  138. ;   Development Value: "GP"$ U% v0 H3 n& H. G( L
  139. ;   Production Value: "GP"
    + v! o/ I! ?9 m6 V9 H% f9 T2 }2 x* T
  140. 9 `& ~/ |* L2 m
  141. ; session.gc_divisor
      h7 _  u2 K; [  U" ?
  142. ;   Default Value: 100
    ( \3 m$ d+ ~+ V
  143. ;   Development Value: 1000
    & L- \; `- A" o) y: Q7 j2 a& l
  144. ;   Production Value: 10008 t8 w; f; b, k' U, \. h$ B
  145.   E5 |( m# O) n# R. ?$ }$ ?
  146. ; session.hash_bits_per_character# ?/ u" }2 B; v/ Z! S, \$ A8 t) a
  147. ;   Default Value: 4
      Z% N. C$ r3 O7 G! [  r" V' S: G
  148. ;   Development Value: 5
    + c$ o9 |) p# S( x2 x4 O" N* x
  149. ;   Production Value: 52 a" Q# @. M3 c$ R

  150. 5 l* x8 H0 ]# S
  151. ; short_open_tag
    * F; c: y) p* @4 q9 `
  152. ;   Default Value: On* B: B' z! d7 {% q( |  a" @- m5 E. F
  153. ;   Development Value: Off
    * K7 Z. j% p9 L! v- v% ]
  154. ;   Production Value: Off
      K8 P8 ^* n' k' N) a

  155. 5 }1 ]& P: I/ c6 l
  156. ; track_errors
    9 Y1 R9 p3 h  n% I+ Y& U' `9 b1 a2 V
  157. ;   Default Value: Off
    . ]: h( {/ p; F+ R
  158. ;   Development Value: On
    - v/ T# {0 r) x( h  P5 z
  159. ;   Production Value: Off, W0 x* U' \* e; \
  160. & [% |5 ^0 g; \, n" Q
  161. ; url_rewriter.tags
    1 y/ \2 g( O! A( @9 c0 D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=". M" l$ S- ?0 K* y8 \# z, I+ p6 t8 L
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( A" \1 V$ Y: O+ m* d
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 l% f# N* }; O) V4 |0 g
  165. 8 ^# C; y% f8 q8 H$ A) H5 F
  166. ; variables_order
    , m- C& I; |+ B
  167. ;   Default Value: "EGPCS"
    0 \/ c$ A* w9 s1 x# d9 J
  168. ;   Development Value: "GPCS"
    " F+ n* J0 @+ h7 M* q1 d
  169. ;   Production Value: "GPCS", t" K4 i& a3 B- k0 n! P- Q

  170.   J; G9 R; D) w6 F  [) n9 H9 E
  171. ;;;;;;;;;;;;;;;;;;;;
    / }1 n" f# k+ G& j9 m7 F0 q
  172. ; php.ini Options  ;) I2 V! n) h& I7 q6 m" U9 Q
  173. ;;;;;;;;;;;;;;;;;;;;
    / d" G! G' g3 x3 N
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 k, |7 l: Y' G/ C
  175. ;user_ini.filename = ".user.ini"! l6 \* N  p# }0 |

  176. 1 W2 c- u9 r% i( r( @; A
  177. ; To disable this feature set this option to empty value
    ' V+ I+ ~8 A6 @0 B/ _1 A' }& U
  178. ;user_ini.filename =: ~! q0 \# E0 j( K  G6 V+ V, r
  179. / t2 H; I2 x' D1 b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ; e+ @; g* p7 h) B8 _( h
  181. ;user_ini.cache_ttl = 300
    7 _- `6 ?4 C$ U. B5 V2 E% ?0 S2 E

  182. ( K; [6 W0 W5 d2 q( l+ r
  183. ;;;;;;;;;;;;;;;;;;;;) ]+ S0 r1 k* E* {1 [3 z( y
  184. ; Language Options ;
    + a6 x" b3 ?# c' l! {4 j
  185. ;;;;;;;;;;;;;;;;;;;;
    4 T+ T! z  ^0 D

  186. 4 }  j  s, s( ^+ I
  187. ; Enable the PHP scripting language engine under Apache.2 K2 Z& s+ ?( T2 m3 }
  188. ; http://php.net/engine
    + D' X/ d( ?6 |8 ?$ V# ~
  189. engine = On
    ; H. ~/ x$ o  Z: l- W& R7 O

  190. 8 G9 r! A$ a& N7 S/ C3 x
  191. ; This directive determines whether or not PHP will recognize code between6 X. B2 h; G) X  n/ p( ~3 a
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    " [4 T" E* \- U2 g) B
  193. ; generally recommended that <?php and ?> should be used and that this feature/ p1 ?5 ]5 F6 A# z  l! O) h2 f
  194. ; should be disabled, as enabling it may result in issues when generating XML: S) @3 S$ Y2 W( }) c  {
  195. ; documents, however this remains supported for backward compatibility reasons.) O. p; ~( `+ Y+ ~: p$ t2 `. z  i; Y
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 j9 \, u* g- H$ F* _' Z5 M  ^
  197. ; used regardless of this directive.
    % K7 F+ E4 b4 g2 O8 `! r. |
  198. ; Default Value: On
    + f$ W( D! p& K# W$ [( H0 D
  199. ; Development Value: Off! q  [& t. Q( w3 g9 h
  200. ; Production Value: Off+ z6 ^8 b; u, H( \% E& S9 Q
  201. ; http://php.net/short-open-tag( r# d) @# x' E+ {6 X
  202. short_open_tag = On8 K6 d2 _, M  u- z' r

  203. % R& v. }" v( @; W( Q% H
  204. ; Allow ASP-style <% %> tags.
    , H1 K! W  {' V
  205. ; http://php.net/asp-tags% u7 w$ Z; E4 p7 B
  206. asp_tags = Off$ H) H( L8 F( ~
  207. 1 @5 K+ G0 d& ~# |
  208. ; The number of significant digits displayed in floating point numbers.! X: s: i- v; c' }4 Y. }
  209. ; http://php.net/precision
    ! C9 M7 _" z6 A' ^3 d
  210. precision = 146 I5 x+ J. m# G: g
  211. 4 \" R% _0 r6 Q
  212. ; Output buffering is a mechanism for controlling how much output data
    ! M/ s3 F# J& Y/ K
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    2 q8 S% u9 G6 Z* s; K( }
  214. ; data to the client. If your application's output exceeds this setting, PHP6 n, r( Q/ A" t5 |1 X
  215. ; will send that data in chunks of roughly the size you specify.: Z6 z; ^( b; z6 @' a1 b6 w
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ; Z& Q$ X9 ?5 a1 m4 f& ~
  217. ; interesting side-effects depending on your application and web server.
    " j; }' Q* B3 w5 H9 L) V
  218. ; You may be able to send headers and cookies after you've already sent output
    & c$ _. U# c- ]6 R7 N. T
  219. ; through print or echo. You also may see performance benefits if your server is
    7 r' j2 i3 K: y* ^. P+ A1 y
  220. ; emitting less packets due to buffered output versus PHP streaming the output6 x$ W( g* R1 m4 r) d) H& f* K& v
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 F$ u. o5 C7 N" z! N  }' L4 V; T
  222. ; reasons." r# r8 T8 ~# @0 Z$ Y# Y
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
      ^- o; I# P# a- b3 M9 [
  224. ;   functions.* n7 j% ]8 [6 V
  225. ; Possible Values:
    2 C0 D4 Z4 g, I, l7 B, I5 A. h- z! G
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)9 w8 T  i1 W' i# j3 j# }- g5 {
  227. ;   Off = Disabled' @& z3 L3 L: t5 I9 b
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 Q; s6 R. G! I- h$ ]  M
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * O  |" c4 W( ]% ]5 Q8 T
  230. ; Default Value: Off; a! d8 j; H6 U  S1 o8 o# A0 W
  231. ; Development Value: 4096! W1 y4 ]! C* p
  232. ; Production Value: 4096
    4 z) L4 Z( E% S, g( c; D5 N+ x
  233. ; http://php.net/output-buffering3 N2 O; c9 U6 b7 w: X1 b
  234. output_buffering = 4096- D; g; o: X) P; h8 H. V

  235. / j3 }* g/ o  z- e7 _
  236. ; You can redirect all of the output of your scripts to a function.  For
    # ]6 c" `* y7 ^, f# U1 e, {
  237. ; example, if you set output_handler to "mb_output_handler", character
    : E; C/ l- H! p& E
  238. ; encoding will be transparently converted to the specified encoding.* a  \( I+ J+ Q7 \! `+ W/ P' T( I, Z
  239. ; Setting any output handler automatically turns on output buffering., ]2 N5 z' @9 j0 c8 Q
  240. ; Note: People who wrote portable scripts should not depend on this ini# |1 D# d- [( `7 N  c- \# B
  241. ;   directive. Instead, explicitly set the output handler using ob_start().& u8 ~8 S  ]: ~- Q" }/ g
  242. ;   Using this ini directive may cause problems unless you know what script3 |+ L  ~: U  F$ h
  243. ;   is doing.% f) i; G8 X4 d, O+ |
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"8 a% s, ?5 Q+ Z8 ]) S2 P
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. C/ [! R4 X2 ]- U  F/ ?) h, m
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    " e: J# Y* e2 W$ `
  247. ;   Instead you must use zlib.output_handler.
    7 C. [( S, g( ]3 V) O" P
  248. ; http://php.net/output-handler" P" f* ^8 O, K6 q4 ^
  249. ;output_handler =
    4 ]- @* H. d$ @$ A7 I
  250. ' ~6 V9 I& g. x. ^
  251. ; Transparent output compression using the zlib library
    3 T' o8 ~6 u' {! `6 s$ I* @+ ]
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ' X- |) J$ Y8 \$ D# w: F
  253. ; to be used for compression (default is 4KB)
    " n* K# ]2 \& f' |8 W; d$ i
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP- T6 Q& S$ _0 \
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    2 V& C5 c! I, m& i4 a9 K6 g
  256. ;   compression. If you prefer a larger chunk size for better
    1 [: x0 R0 z* k9 X0 f* }3 e9 o( U' v1 m
  257. ;   performance, enable output_buffering in addition.+ k/ B( H; h  s2 o, l1 U
  258. ; Note: You need to use zlib.output_handler instead of the standard
      ^4 |2 V( e' T3 G0 E0 h
  259. ;   output_handler, or otherwise the output will be corrupted.
    ; v# n( V* T* \, P# p/ m
  260. ; http://php.net/zlib.output-compression$ K, g3 z2 s+ C/ I4 H5 I  i
  261. zlib.output_compression = Off
    . |( Y! V' J, C6 X/ T! R" {1 h

  262. . O. O5 e/ a1 e, i5 C
  263. ; http://php.net/zlib.output-compression-level5 W0 X3 k5 G2 O/ l8 j! E8 ?
  264. ;zlib.output_compression_level = -1
    ! ]) X, W1 y: c. h5 u

  265. : w4 K8 m2 s# T* ~5 d9 z
  266. ; You cannot specify additional output handlers if zlib.output_compression, `- ?9 B3 Q$ X! V, e
  267. ; is activated here. This setting does the same as output_handler but in5 n7 v  \4 a8 k8 P% h/ }$ p; E
  268. ; a different order.! @4 _) Z6 |, [4 G
  269. ; http://php.net/zlib.output-handler' I& f" M+ h3 g* D6 J( c
  270. ;zlib.output_handler =
    & }! D% K( u; j0 z2 [" c3 d% V
  271. $ x$ b  G5 S9 G0 {
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 ?' B7 q( }- ~' E- b8 U& _
  273. ; automatically after every output block.  This is equivalent to calling the0 X( \; K( f* z$ s, z& _
  274. ; PHP function flush() after each and every call to print() or echo() and each" \) J+ u; [5 a! M
  275. ; and every HTML block.  Turning this option on has serious performance
    3 h* e  o; X% f& v% g7 B6 W1 G, u
  276. ; implications and is generally recommended for debugging purposes only.
    ' P) m3 @' w9 Z& g
  277. ; http://php.net/implicit-flush! g; I/ i2 M- ?
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 c& h( @3 `4 f* v( [# }
  279. implicit_flush = Off
    # F) C" J8 n4 p

  280. ' ^" t2 V7 B- D: w
  281. ; The unserialize callback function will be called (with the undefined class'
    . C% W7 w# l7 a. m( b$ r1 K
  282. ; name as parameter), if the unserializer finds an undefined class5 D; V+ [$ a) ^2 v
  283. ; which should be instantiated. A warning appears if the specified function is
    5 `. S" J- s$ s6 W7 G8 f# `! S8 {1 m
  284. ; not defined, or if the function doesn't include/implement the missing class.( p4 G. [% p6 g5 m; ]* i
  285. ; So only set this entry, if you really want to implement such a5 N. I! m0 S  H: [4 L
  286. ; callback-function.4 F5 t6 S! T" y
  287. unserialize_callback_func =
    2 H2 S) Y/ h: v0 }8 q& [
  288. $ F. g5 U5 Q" v+ d  L: Q
  289. ; When floats & doubles are serialized store serialize_precision significant
    : g. Q) H5 B8 R
  290. ; digits after the floating point. The default value ensures that when floats( x1 C* z  l" s( |+ p! X) _9 x
  291. ; are decoded with unserialize, the data will remain the same.
    4 k/ S% W! p, s6 T7 `# o1 c! U; G
  292. serialize_precision = 171 k" j$ m6 Y. {- O7 ]/ Y! }  _- X* E
  293. , L) S( K+ R% ?6 h" b" `" ]4 h
  294. ; open_basedir, if set, limits all file operations to the defined directory
    & S. f8 O9 ]- \0 ~- z
  295. ; and below.  This directive makes most sense if used in a per-directory
    ( m3 |, ~* c  Y7 Q2 y4 @
  296. ; or per-virtualhost web server configuration file.
    7 {0 ^5 V+ A$ T& \" e6 x8 m
  297. ; http://php.net/open-basedir
    . R7 m: W' B7 d! a6 e1 K- n3 h0 d# ~, e
  298. ;open_basedir =
    / z) x( R# O" w0 _9 y# b* Z
  299. 2 n. d/ V" N; T) h' U3 z
  300. ; This directive allows you to disable certain functions for security reasons.- M/ \7 v. D3 ~% |
  301. ; It receives a comma-delimited list of function names.% W' A3 g% ~5 G
  302. ; http://php.net/disable-functions
    8 k0 ?* Z+ M$ z; k5 x
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 k+ M8 q" l5 m" [, `8 J' W1 e
  304. 0 Y9 l# e  ?: v! N2 Q. a
  305. ; This directive allows you to disable certain classes for security reasons.
    & [* S. ]) \, B' L. s
  306. ; It receives a comma-delimited list of class names.
    ! B( e+ H( h" \7 I+ [' P. I/ W$ o
  307. ; http://php.net/disable-classes0 n( `! {1 V4 P& h6 F! D- `+ K
  308. disable_classes =
    ( V; v" {# n" v; A) ?: _+ X
  309. $ L5 Y8 Q, ?  T# E0 L8 X* j* D
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 X7 Q- g% U6 ?  n+ T
  311. ; <span style="color: ???????"> would work.& B# I- f2 q. f6 ~- T& O$ A% @9 r
  312. ; http://php.net/syntax-highlighting
    ) G, g% M# s! a7 k" e
  313. ;highlight.string  = #DD0000
    % n) n/ ?6 e9 A! H
  314. ;highlight.comment = #FF99008 |  o( A4 ~' X6 p
  315. ;highlight.keyword = #007700- |9 e, Q- I% }7 T
  316. ;highlight.default = #0000BB. `7 Q# E3 o: u: n) K& Z
  317. ;highlight.html    = #0000006 h; ?  S+ c- q- h  C

  318. ( L; N8 t2 n$ W9 A$ h9 N$ e5 [
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    2 B; S3 y% v, y( v& F
  320. ; the request. Consider enabling it if executing long requests, which may end up
    2 D/ B+ |( [6 d- ?* I/ H# w
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior4 ^3 h- s% G! K/ F: W/ T; @
  322. ; is to disable this feature.
    1 V, \5 D% }: t- N1 S! b+ T7 z$ X
  323. ; http://php.net/ignore-user-abort9 l4 h2 s4 v" x! ^8 O$ B& u9 h, V
  324. ;ignore_user_abort = On9 X" M6 v8 }) n% J2 c
  325. " ^+ u! Q* f7 }: D- ]& R! y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should& g! _/ @+ [% ]: G
  327. ; be increased on systems where PHP opens many files to reflect the quantity of( \1 J" Z& _3 C2 I" A. l
  328. ; the file operations performed.
    # B2 }8 Q5 K' Z2 l; T
  329. ; http://php.net/realpath-cache-size
    , ]( k- Y5 i! S% k' k: H, j/ V
  330. ;realpath_cache_size = 16k2 ?" I$ f3 A' P; n

  331. 7 o2 Q: O" g4 T% ~% h* [2 x+ I
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    % m, v1 y, d/ W; }$ Z
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    4 p2 b3 G& t/ p! W. ]
  334. ; value.
    ; ?4 V5 V% u  N  |- l: g8 p
  335. ; http://php.net/realpath-cache-ttl
    " G' c- e6 G1 v, \" p5 H: a1 W
  336. ;realpath_cache_ttl = 120; L' q/ o0 Y" l3 E

  337. 1 E: M& B6 ~# V/ h1 u2 C
  338. ; Enables or disables the circular reference collector.
    ) H% u6 k9 A' M5 l% c4 R' J
  339. ; http://php.net/zend.enable-gc( [* M. _0 j. E) G, a
  340. zend.enable_gc = On% W% Y" K! }3 m1 @
  341. - P0 z" _$ E  _& U- l1 Q
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    5 [6 G; W, u$ g0 |, p
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 t& O: o; G( Q
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    0 x2 h* U' r8 s) t
  345. ; Default: Off
    " [7 i) [. g5 @9 Y/ V$ r! c
  346. ;zend.multibyte = Off
    ! y  W4 R; ~  a, V9 q# H
  347. 3 Q. A1 u8 d; Z& P2 S4 ?# F1 ~
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    . S' r- q( h/ W% X
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.0 K9 N0 x4 x4 T. b1 I
  350. ; Only affects if zend.multibyte is set.
    2 n2 r! U1 g: g% S4 ^6 J* Z
  351. ; Default: ""
    2 O. |8 I9 m! x* x# _" o/ t7 ^
  352. ;zend.script_encoding =  O: T3 U# U$ x# _3 ?5 l/ f

  353. ' {. @+ E$ G; I! h+ u
  354. ;;;;;;;;;;;;;;;;;5 T( N, h9 U' v( D, t: ]) G" g7 F
  355. ; Miscellaneous ;8 K7 N8 |- Z' |2 V! b
  356. ;;;;;;;;;;;;;;;;;; u! U) t5 q: A
  357. 7 q' n% ^9 A( T( g: }% F' [
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    " z% z" T6 \; @: ^0 A. e. }6 @
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
      r5 Y% M& t7 c7 j6 z3 k! S
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) S. K4 n5 v: i4 b. f
  361. ; on your server or not.
    # B4 c7 a7 e& k( v
  362. ; http://php.net/expose-php
    ' B# E5 [& h2 R  |- A5 T+ W8 T3 t
  363. expose_php = On
    " X9 J* d! Z+ b  E( C8 q

  364. $ s3 n" F& _  ^# n5 D& `4 A+ U
  365. ;;;;;;;;;;;;;;;;;;;, {% D  ^4 g, J5 n6 g
  366. ; Resource Limits ;5 S7 s/ i0 Y- @! v
  367. ;;;;;;;;;;;;;;;;;;;
    & M+ c( f. r% O5 u/ n

  368. ' z. L9 S2 P4 d+ p" g
  369. ; Maximum execution time of each script, in seconds
    5 d+ ^' R% L# b
  370. ; http://php.net/max-execution-time' N" p( E9 |2 w: `
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ) W6 i( K/ k9 G; p4 w: ~
  372. max_execution_time = 300
    % H2 ^7 m* {/ u3 W6 ~$ n

  373. ! b. n& u/ X* i6 h( w* A8 r4 z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good+ g: L; {* }$ e/ {, Q* ]
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; p* o5 z3 J9 r# l6 G
  376. ; long running scripts.
      U+ v6 b, g3 R- U0 S) @; {8 k: d# b6 c. _
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    . q' H( X5 e/ h* \+ Z  Y6 {
  378. ; Default Value: -1 (Unlimited)1 a6 U9 ]1 B! O
  379. ; Development Value: 60 (60 seconds)
    1 a- L4 N# E9 x$ ]% W$ n
  380. ; Production Value: 60 (60 seconds)  ]# e* s# I+ `2 m" h: m  d2 C# U
  381. ; http://php.net/max-input-time
    ; X5 \, T; i) x- W( z
  382. max_input_time = 60) k9 |' |# k8 O
  383. 0 B2 g* F8 G0 X# d6 T1 E
  384. ; Maximum input variable nesting level: Z+ K. v" W. u" v
  385. ; http://php.net/max-input-nesting-level
    * w2 b% O) `9 V& y
  386. ;max_input_nesting_level = 647 O5 N  T* W/ {$ u% Y- K* {+ r

  387. 9 k9 o& p( c( t0 w: V( w
  388. ; How many GET/POST/COOKIE input variables may be accepted1 J( G$ j6 D- `% c( X) U5 ]$ s( c
  389. ; max_input_vars = 1000
    3 V" |% o1 @3 N1 h8 f' D  m

  390.   R; c+ j! w  o+ \  E5 F8 m
  391. ; Maximum amount of memory a script may consume (128MB)$ H. Y3 {$ f; i4 s6 q
  392. ; http://php.net/memory-limit
    % t- T+ Q9 o9 v' h' X5 a: A
  393. memory_limit = 128M
    7 L' g; m# M! h6 t* S) V9 g

  394. + M% R9 w; i: i: F
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 {( M3 X/ J  O% U) L; h( @: L) @
  396. ; Error handling and logging ;
    ; D7 h5 k: X  E! n4 D
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; D, V; p% ~) F" r2 d
  398. - f: N) G* s; t  c! G& ~$ I9 h
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    9 f1 q1 Q9 a5 K9 f  y* p0 _; m
  400. ; it to take action for. The recommended way of setting values for this
    6 Z  a" e! ]# U
  401. ; directive is through the use of the error level constants and bitwise% V. W2 F$ c' \( _) L0 U
  402. ; operators. The error level constants are below here for convenience as well as7 I) E# j1 `: }: [
  403. ; some common settings and their meanings./ t! `9 o9 g7 w, _/ i$ N8 l
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT8 W$ z' c! N6 l$ E" x) S% Y7 G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 q( P& o( D. c& R6 ~* {  c
  406. ; recommended coding standards in PHP. For performance reasons, this is the! V( s3 ^  E* o( l: @# ^
  407. ; recommend error reporting setting. Your production server shouldn't be wasting, K1 a/ D0 ?8 f  f
  408. ; resources complaining about best practices and coding standards. That's what
    * s0 y2 ?  H; q7 `
  409. ; development servers and development settings are for.
    3 H5 n' a8 Y8 ?0 V, C. _( J
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) u4 t) {4 u% c) B
  411. ; means it pretty much reports everything which is exactly what you want during( o% t2 [! {6 x
  412. ; development and early testing.: f$ h8 j7 g% b, e1 S0 {' ]. D9 `& M
  413. ;
    & h, [: l0 |* V; H1 x# H# ]/ E7 {
  414. ; Error Level Constants:
    / M% I- G6 f7 V: s7 x1 r
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)1 ~# _7 n8 w# {# B" r$ j6 t
  416. ; E_ERROR           - fatal run-time errors2 T+ ?# X  @; w* M! F
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 D3 y) ]3 f1 o- X$ j
  418. ; E_WARNING         - run-time warnings (non-fatal errors)' Z+ R4 {. S1 [1 g
  419. ; E_PARSE           - compile-time parse errors. \$ v) W' u4 v! s% N
  420. ; E_NOTICE          - run-time notices (these are warnings which often result& s0 j" k* e: B. v  D& p& M
  421. ;                     from a bug in your code, but it's possible that it was
    ! n& a, ^+ l2 `1 I- w* H
  422. ;                     intentional (e.g., using an uninitialized variable and/ t; V% q* j. u8 Y" H. r* X: G( P
  423. ;                     relying on the fact it is automatically initialized to an
    ) `; F3 `' t) k( c# L0 }! A2 Y
  424. ;                     empty string)' i# D7 p" y$ w; x) `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    3 C! s( y+ u% Y# @
  426. ;                     to your code which will ensure the best interoperability
    5 d- T. }% l4 n( N  q* s2 M0 K2 m2 B
  427. ;                     and forward compatibility of your code
    # b- a0 X' v$ P0 M& Z! q  Y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup% P. F! x4 j) a7 o4 h) G' x# F3 S
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's( Q; e$ A0 D9 M) w; g+ H% J
  430. ;                     initial startup
    # O% p  ]* z- q3 ]9 g% x
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ) v8 A: f4 q) J( e  k2 m6 B7 a7 x
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    + T, Q% s5 Z8 P6 A6 t) R
  433. ; E_USER_ERROR      - user-generated error message2 v+ w! k6 f3 U( t4 k& Y
  434. ; E_USER_WARNING    - user-generated warning message
      U; v* i$ x6 i" y3 e( P$ x
  435. ; E_USER_NOTICE     - user-generated notice message
    : Z( o: G& p' }# p( x9 ?
  436. ; E_DEPRECATED      - warn about code that will not work in future versions+ Q0 [3 z. F0 P; M1 }* ]: K8 y
  437. ;                     of PHP
    * K  M" i1 @2 Y
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    6 R. I! ?1 E; m: ^& D0 X& Y' |
  439. ;
    6 q  _0 c% [, W0 I$ R# _
  440. ; Common Values:1 i5 k+ ]9 R1 @* V
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)# R7 r$ i2 s4 P/ g; N
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! s* G# r, @7 L/ l
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + M- m( ~* D. N+ J5 j. G
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # G+ _# k$ W  j/ ]$ t1 u4 m
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ w8 T% c6 ?5 v& n; \
  446. ; Development Value: E_ALL* ^3 B$ n- t" m2 ~1 J
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + K! v$ D4 P. t% g/ w
  448. ; http://php.net/error-reporting
    0 ?2 `' m% z- X; x! `
  449. error_reporting = E_ALL & ~E_NOTICE9 W, \' G* J4 G

  450. 6 n2 n' ~7 ]% p, }3 ~
  451. ; This directive controls whether or not and where PHP will output errors,
    - d5 H2 k7 s0 ]
  452. ; notices and warnings too. Error output is very useful during development, but
    - M' h5 E. e: w: ^+ {$ W( S6 }
  453. ; it could be very dangerous in production environments. Depending on the code; F9 o. I# G9 @9 A2 l  V
  454. ; which is triggering the error, sensitive information could potentially leak
    4 K  Y, T( V8 j0 J' _+ H6 o
  455. ; out of your application such as database usernames and passwords or worse.
    . k9 @; R% w0 r1 W6 S: t
  456. ; For production environments, we recommend logging errors rather than
    ) Q% w6 S5 i: c) ]
  457. ; sending them to STDOUT.* }9 g# H. J/ }9 s; L$ L3 E; v
  458. ; Possible Values:, \2 m: D; z0 n& u$ d
  459. ;   Off = Do not display any errors, l. \- ?( _+ M# Z
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 f; Q) x" u  V% v( ?) c+ R
  461. ;   On or stdout = Display errors to STDOUT
    4 i' L' o" m7 ?7 T/ J. Z* f
  462. ; Default Value: On
    $ o9 @. f0 ~8 M2 P  w( `
  463. ; Development Value: On
    9 I- X* Q2 j2 `
  464. ; Production Value: Off
    0 P. d6 A; O  K6 K' L
  465. ; http://php.net/display-errors
    4 K! a7 G  H5 d& a: f6 A9 C! j$ d
  466. display_errors = On
      f. O! O7 M& }( c- K
  467. 3 |& l' Y5 {" S: _" |
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ( m* v- M1 i) s$ `) o- u$ Z/ P
  469. ; separately from display_errors. PHP's default behavior is to suppress those6 ^2 H2 q9 x, {$ v
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    3 w0 Q$ W5 z3 Y6 V* F( {' }. G
  471. ; debugging configuration problems. We strongly recommend you; y7 r* R4 d7 n. u' k
  472. ; set this to 'off' for production servers.3 W7 Y; {4 D$ i  N5 _8 Q
  473. ; Default Value: Off$ O+ X& q+ Y, I) `
  474. ; Development Value: On0 i4 r# q0 c5 e
  475. ; Production Value: Off
    8 x6 B4 H. H4 M& I
  476. ; http://php.net/display-startup-errors
    9 w9 ?2 L, @2 t+ o5 P$ S* _
  477. display_startup_errors = Off2 W. j) l, g" N" J) Y, g
  478. 6 o. L: b5 b7 z- q7 q0 ^7 A* E
  479. ; Besides displaying errors, PHP can also log errors to locations such as a8 `8 k6 @7 Q/ |7 o
  480. ; server-specific log, STDERR, or a location specified by the error_log
    $ S6 _  U# Z: }$ L
  481. ; directive found below. While errors should not be displayed on productions
    4 j' }- m+ I. _# \- W4 L
  482. ; servers they should still be monitored and logging is a great way to do that.
    # ]9 h; m& k* q' v$ H1 {
  483. ; Default Value: Off& v, }7 n9 l* N6 S2 f
  484. ; Development Value: On# t: i  @$ t4 ]4 j9 _' y5 M
  485. ; Production Value: On* V0 r/ s& c4 E( D9 {0 j% i! v
  486. ; http://php.net/log-errors
    . a0 ]: ^* O5 U- s" y
  487. log_errors = On
    8 y& F8 s+ a' r; A. H
  488. " P: Y% z3 U  ^. i1 D2 C' b0 g
  489. ; Set maximum length of log_errors. In error_log information about the source is; z1 G' p- n) [, ~
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all., x; e% }5 J% Y" M% S
  491. ; http://php.net/log-errors-max-len! z- ^. P' W. r
  492. log_errors_max_len = 1024
    % Z4 u6 Y+ n& h+ q+ j" }4 \/ J

  493. 0 k2 J$ X5 ?( ?3 f
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    4 k5 G; @9 q' y0 A- z: x0 s
  495. ; line unless ignore_repeated_source is set true.
    3 o# \" n. q. R" G& ]+ B
  496. ; http://php.net/ignore-repeated-errors! v. P% y( K1 v
  497. ignore_repeated_errors = Off
    : w" P4 x: S8 Y+ e

  498. , O9 l) O) q# U8 j0 z
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ' {7 Y+ `  o3 I
  500. ; is On you will not log errors with repeated messages from different files or
    $ I: m4 D+ w, ?! r5 f* c
  501. ; source lines.3 R% Y1 J+ A5 [: m5 v5 x6 b+ I: E
  502. ; http://php.net/ignore-repeated-source
    " N; F& n# k3 P( `3 M% a+ N# _
  503. ignore_repeated_source = Off  d9 t7 ^0 n) i/ }2 E( U. u

  504. % N# m4 O; H& E# E( C: c1 ?, I
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on2 Q, l0 Q# {3 f! U5 f1 g
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 L, R0 S: N. f5 E% O9 s, Z) A; w
  507. ; error reporting includes E_WARNING in the allowed list2 P, T1 U' @* L! E* n
  508. ; http://php.net/report-memleaks
    " N0 l0 f  {% u% s2 v& k9 K( A
  509. report_memleaks = On" c, X4 Q3 `: }' r

  510. - f% A, ^% C- ?4 }' u
  511. ; This setting is on by default.
    0 Y) I. o9 ?6 M" n' ?& ^
  512. ;report_zend_debug = 0+ _7 v2 ?/ t' `/ S
  513. : {  I4 o! ^8 j( q3 V0 S- i/ ?. A
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value+ U( Y7 e' e4 ]& ~8 Z. }
  515. ; to On can assist in debugging and is appropriate for development servers. It should" R9 N2 @( c5 W; J8 O; z
  516. ; however be disabled on production servers.
    5 }# G) K" ?" _% C9 t4 g$ [: p
  517. ; Default Value: Off
    8 Q2 _. }9 x* q  A! U
  518. ; Development Value: On; U" W, y3 ?0 O! P( Y; I3 B
  519. ; Production Value: Off! Y% D" p/ P  r" |7 A
  520. ; http://php.net/track-errors
    ( Q4 \0 _4 @# b% o! T9 Q
  521. track_errors = Off* ]3 W- f3 i! A/ x: G% I1 D
  522. # v1 X1 I" C/ o- i' g
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    , K) @% s: {. `9 D. ]
  524. ; http://php.net/xmlrpc-errors/ D0 c) Z' }$ L5 v9 A( z4 }! u& u
  525. ;xmlrpc_errors = 0
    - I- d5 o8 R4 x% r; t& l" K
  526. 0 Z) \+ X6 Y# |0 g2 }2 f
  527. ; An XML-RPC faultCode7 m; C; g; A9 k% b3 F
  528. ;xmlrpc_error_number = 0
    6 b$ y4 r) T, t

  529. ) Y8 l9 B4 F1 D, j
  530. ; When PHP displays or logs an error, it has the capability of formatting the0 W3 m% p! J" U* w: H
  531. ; error message as HTML for easier reading. This directive controls whether
    8 k7 I9 E0 v4 ~  h; {
  532. ; the error message is formatted as HTML or not.- i( y1 }5 X( Q, C# B4 ]4 V
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI" s' J2 m" f) ]$ T
  534. ; Default Value: On& o- t' {) w- h! e8 {4 s7 @* o
  535. ; Development Value: On0 S2 R  `/ c5 i; k
  536. ; Production value: On
    : ^8 `- p  n( S5 c$ s# w- S' v4 C
  537. ; http://php.net/html-errors
    3 O! J& J; b6 @2 ?& D6 N
  538. html_errors = On8 t" p9 w. H" I; Y# w; i* g

  539. ' F3 k6 j0 f; M4 G! y" h+ e3 v
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP$ \/ @. e1 V2 ~& a, K: Y6 d# k$ s) ?
  541. ; produces clickable error messages that direct to a page describing the error( g8 M+ U5 \# v: j( D8 c
  542. ; or function causing the error in detail.
    $ j. ~. W3 X/ C- }6 J0 r, O
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    " t, X0 h4 }( g' ]! @0 `
  544. ; and change docref_root to the base URL of your local copy including the
    2 \' ]" u* H  M% `0 J# c0 t
  545. ; leading '/'. You must also specify the file extension being used including# e  Y+ `( t$ w# N  H7 h; @
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which# x) U) ~8 T- k; `+ [$ n& x
  547. ; case no links to documentation are generated.
    ) c/ h* B0 w; y3 K6 N" x8 m$ Q
  548. ; Note: Never use this feature for production boxes.; S5 d$ ~5 T/ ^2 e/ V5 W
  549. ; http://php.net/docref-root1 K; W( _( [; v: \7 m' E
  550. ; Examples4 a& T6 ]( c5 {2 [9 i4 k% j
  551. ;docref_root = "/phpmanual/"/ ~! ]- ~! [: @  {) p6 U2 Y
  552. 5 H% I+ |0 y) `& r3 Y  `2 z( O
  553. ; http://php.net/docref-ext
    $ T/ N5 l/ Y5 C. W8 d
  554. ;docref_ext = .html5 W( v" K% b; p0 P+ \" d
  555. # m; Z/ o, S& L" C+ R
  556. ; String to output before an error message. PHP's default behavior is to leave
    ( s! Q% X% a/ d  J, c  c
  557. ; this setting blank.
    # @) R3 P0 [! o) p1 j5 J4 w0 P
  558. ; http://php.net/error-prepend-string
    ) i2 V- K) l) n: o  y5 y
  559. ; Example:+ \. b) V* F/ C: v8 L
  560. ;error_prepend_string = "<span style='color: #ff0000'>"2 x, \: N7 w& n8 p" l& B" y
  561. 9 |& N3 I8 @8 A$ o' X
  562. ; String to output after an error message. PHP's default behavior is to leave4 ~1 v  B, `) z+ o" \2 ^0 n; L
  563. ; this setting blank.
    ! o4 u5 P. V( m  \( L. I
  564. ; http://php.net/error-append-string
    9 X2 s, @0 ?, f7 w( V( x5 w6 f
  565. ; Example:
    - N: W% O) I* T& ^; l% P+ a) k% L, U
  566. ;error_append_string = "</span>"
    8 \$ B4 v3 \  o" V- L4 h

  567. ( t( a" j0 I# i: u$ q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 ]3 [% D$ x- r% ]7 _4 j0 X
  569. ; empty.
    ) `" a) N% d! g. U1 Q
  570. ; http://php.net/error-log6 C6 z2 b5 v$ w
  571. ; Example:
    . o, ^2 b: C) w: ^8 I
  572. ;error_log = php_errors.log
    " w. T; ?( i( M% C5 K, m: [
  573. ; Log errors to syslog (Event Log on Windows).
    0 N) F/ G# D0 l. r7 J
  574. ;error_log = syslog7 m( S7 T- Q, l1 \( k3 x

  575. # O( Q5 _) ^' q! W9 V. t
  576. ;windows.show_crt_warning
    - g0 {9 T9 R+ f* B
  577. ; Default value: 00 D/ h# i. N# a
  578. ; Development value: 0
    " f0 l: ?  V, L/ _5 T
  579. ; Production value: 0" V# h1 L5 g' @  C
  580. 0 R/ P' D4 J% i; h
  581. ;;;;;;;;;;;;;;;;;4 X& Y! C: b$ j
  582. ; Data Handling ;4 s1 g; ~: F# }9 ~, {  K# E% [
  583. ;;;;;;;;;;;;;;;;;
    $ }' m' z, |8 N8 ^, j% T/ C  y  p7 a) o
  584. + `6 _9 u; _8 F
  585. ; The separator used in PHP generated URLs to separate arguments.. ^4 q6 d. F  k4 z, @5 Q
  586. ; PHP's default setting is "&".
    * d- ~# C) _& H" F, ~
  587. ; http://php.net/arg-separator.output  I, Z4 P# d( S! U4 R* g) A; l7 |
  588. ; Example:
    % ^# S: `/ q; b9 L6 v
  589. ;arg_separator.output = "&amp;"
    , q  z4 [1 t1 q8 E+ p. v5 ^
  590. 8 j2 y" z/ L1 ?0 v- t
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ) ?* |% Y. V& h* W/ G, N+ }) d. e
  592. ; PHP's default setting is "&".
    : H' o! T6 l( |/ @6 Y7 X& s- k7 U3 U
  593. ; NOTE: Every character in this directive is considered as separator!
    6 A/ V7 g# a2 u
  594. ; http://php.net/arg-separator.input
    . B) r3 X2 U: ?
  595. ; Example:5 I$ Z( T/ j  H3 v  J
  596. ;arg_separator.input = ";&"- h, k2 m, y9 k5 P4 T, A

  597. 3 x/ E: }4 ]6 X7 U1 O) \
  598. ; This directive determines which super global arrays are registered when PHP
    . S0 G" V. d5 d$ k  o: q" n
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super2 B; `. `9 a# x4 B* s2 W
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & b! m! j) q2 Q! B4 p
  601. ; paid for the registration of these arrays and because ENV is not as commonly
      b1 m6 S9 m+ n( ^( g6 q3 W
  602. ; used as the others, ENV is not recommended on productions servers. You
    . K- T6 ?7 n5 W% x# h; S" T/ e/ \
  603. ; can still get access to the environment variables through getenv() should you# F; y9 Q% T1 d  ~
  604. ; need to.
    ; N4 l3 a3 s. u* x, l; ]9 N. b, p
  605. ; Default Value: "EGPCS"9 X* [7 h3 S" ~3 b" F3 Q. g
  606. ; Development Value: "GPCS"
    ; X5 z$ n; l, e0 E0 o
  607. ; Production Value: "GPCS";: C- W7 U3 A5 I
  608. ; http://php.net/variables-order3 N7 P( R7 g# w' Z' j$ N" x
  609. variables_order = "GPCS"
    % Z* x( \; M  d$ [; @( X* @! V/ |
  610. . F# f" D5 v4 \& \/ J8 f
  611. ; This directive determines which super global data (G,P & C) should be
    & P% W) X$ s/ I: i' h% u* ^' k% Q
  612. ; registered into the super global array REQUEST. If so, it also determines7 r/ y% N% ?  u0 @$ z
  613. ; the order in which that data is registered. The values for this directive- c. H1 A/ M( Q- @/ X' v) h; p$ a
  614. ; are specified in the same manner as the variables_order directive,3 r/ h6 K$ G' y: S
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 G( f! B5 Z5 M
  616. ; in the variables_order directive. It does not mean it will leave the super9 Z3 E8 i9 a: [4 w$ u2 x8 w
  617. ; globals array REQUEST empty.
    " S3 B0 s8 p5 ]
  618. ; Default Value: None8 u9 R, s" N' O* U
  619. ; Development Value: "GP"
    % P% G" \8 h8 s
  620. ; Production Value: "GP"
    % H6 Y; {8 e$ n0 w  \" o
  621. ; http://php.net/request-order
    . j, k. V7 i5 \4 N& _
  622. request_order = "GP"
    " t* E" ]0 u% ]3 y; a
  623. 5 [( B3 O1 m+ R$ T6 y3 P
  624. ; This directive determines whether PHP registers $argv & $argc each time it( }/ }( d  f6 w% Y
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! H0 Q2 \% s! c; i6 j0 s
  626. ; is invoked. $argc contains an integer representing the number of arguments
    / K, K! A" }  Y' I7 T6 k& m7 [  h# K
  627. ; that were passed when the script was invoked. These arrays are extremely9 V1 V( j7 V) k) G  Z0 ~
  628. ; useful when running scripts from the command line. When this directive is
    + T/ f/ H: j5 w3 Q2 g; j: _
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 q3 \5 m# r* W+ B' l5 Q6 B
  630. ; a script is executed. For performance reasons, this feature should be disabled
    , g2 a: |, ~9 `8 a$ Q
  631. ; on production servers.
      {" v1 H7 |$ f0 }7 f* H
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    & z; z7 f+ m7 m) M7 S2 n
  633. ; Default Value: On
    ( `8 S' `/ O9 w( ?1 |) o
  634. ; Development Value: Off
    / K  y/ @+ S3 T
  635. ; Production Value: Off' h0 r& n  x8 G8 {5 _1 h8 A
  636. ; http://php.net/register-argc-argv
    6 e; r+ E) f9 d2 }
  637. register_argc_argv = Off
    % z/ P& F( O1 C& Z9 f- K( [

  638.   g3 t; ^6 B6 p: b
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    8 @+ N) t( S4 r. _8 j- T
  640. ; first used (Just In Time) instead of when the script starts. If these
    - T; U0 ~# P1 ?7 `# \% c
  641. ; variables are not used within a script, having this directive on will result, j1 m: ?0 k( }
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled7 A$ r3 `" m, O, C! C
  643. ; for this directive to have any affect.
    1 e; P& S7 z3 P  l1 H) A9 i
  644. ; http://php.net/auto-globals-jit
    2 T! c1 [7 R' `. B4 ^2 o4 ?; @. K
  645. auto_globals_jit = On
    0 W$ i, O' D+ k1 ?8 ^3 b( W

  646. 3 N+ b5 I& p! k5 |. ?- T+ p+ \
  647. ; Whether PHP will read the POST data.
    * P3 C% r3 g" l7 S8 ~6 ~$ ~* h, u
  648. ; This option is enabled by default.
      R: i/ [; |- G2 ]5 w' e/ Z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    8 S% {0 I4 b+ G
  650. ; and $_FILES to always be empty; the only way you will be able to read the8 `; [# k9 l6 G6 B) M: s# j- _
  651. ; POST data will be through the php://input stream wrapper. This can be useful0 A0 x4 F) X& t, X' U7 X! x
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.! Q* G" j( r6 |7 x9 _
  653. ; http://php.net/enable-post-data-reading
    ; S( z* L, U5 U- w  ?1 K
  654. ;enable_post_data_reading = Off$ _0 d/ d; Y5 v4 \+ t% k# [
  655. 1 }. c3 P0 s! f& G+ b
  656. ; Maximum size of POST data that PHP will accept.
    " q+ F9 o; n" X5 |- \9 c$ I
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ! a+ T' v- t. z2 G% p
  658. ; is disabled through enable_post_data_reading.
    * `1 L+ ~5 s) k6 N- O) b  K
  659. ; http://php.net/post-max-size
    2 ~5 G4 n9 G, a6 a6 e5 _3 J0 L
  660. post_max_size = 50M& I& U9 s( k, b: U8 [$ Z; c/ A& j
  661. . v; C, a2 _. H5 C) o
  662. ; Automatically add files before PHP document.
    ; y$ j. ~! r, g& Q$ S# `0 ~3 b3 {5 b
  663. ; http://php.net/auto-prepend-file5 R. p/ E0 p7 u+ G6 e
  664. auto_prepend_file =; U+ Z/ g6 O! k/ C& A

  665. 9 Q& f  \5 E  V3 ?; h& A) F
  666. ; Automatically add files after PHP document.2 p( T  E2 a) @; Y
  667. ; http://php.net/auto-append-file
    9 Z; W5 r, C1 x# @# x
  668. auto_append_file =
    5 _5 `) \; `6 E8 f+ I& h

  669. 0 k7 |2 x2 O8 X, o
  670. ; By default, PHP will output a media type using the Content-Type header. To# T- l* h: d/ ~1 N: U4 T5 b' @$ G
  671. ; disable this, simply set it to be empty.
    , R8 S+ T' v0 ?6 I# p* U3 Z3 L
  672. ;
    9 I( m) J" A& T+ u& y" M: e9 I
  673. ; PHP's built-in default media type is set to text/html.
    " o$ z7 y/ b- S( z
  674. ; http://php.net/default-mimetype. J. f/ v! c: l, W2 ~1 O3 R8 C6 Y
  675. default_mimetype = "text/html"6 L2 c2 d. n6 g
  676. * X* F. C5 ^+ r" c
  677. ; PHP's default character set is set to UTF-8.  G6 l( B3 p  p( i! ]0 ~
  678. ; http://php.net/default-charset/ _* k" b7 j0 R3 K" {' m
  679. default_charset = "UTF-8"
    + v  |. K1 }2 B) \: O8 Q

  680. 8 n" M" u( s! N9 Y; F2 V: k5 y
  681. ; PHP internal character encoding is set to empty.
    $ C: [/ h& \" `7 c
  682. ; If empty, default_charset is used." u  j1 ~( V* l9 }6 u
  683. ; http://php.net/internal-encoding
    1 S( }; V* U( `% H
  684. ;internal_encoding =( C- D7 @  j8 d" N( Z

  685. " K$ @0 v# n) g0 G$ Z
  686. ; PHP input character encoding is set to empty.
    $ r, t4 u# y7 U7 K- l
  687. ; If empty, default_charset is used.
    % v" P8 ]1 f7 T0 e8 X$ ]7 T. _
  688. ; http://php.net/input-encoding8 f4 r+ x# w$ \0 ]( V4 |; F; l
  689. ;input_encoding =+ \  x. k4 m% k# s% h
  690. / f8 O# Z2 g8 N0 d. h8 u
  691. ; PHP output character encoding is set to empty.2 W4 t. L& Q+ ]
  692. ; If empty, default_charset is used.
    6 w$ a$ ^3 |3 j* W% Y
  693. ; See also output_buffer.5 ^) ^- t& }' d4 k+ T! O' \
  694. ; http://php.net/output-encoding
    # E8 [# D- S1 y6 w0 l/ K* H5 V/ A& a
  695. ;output_encoding =
    + s/ I; i% x7 |
  696. . A0 v+ P8 `+ ^0 y
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is6 C" |2 i  r6 g* C/ [& H' A
  698. ; to disable this feature and it will be removed in a future version.
    , s4 A' _( |) [1 G- h5 A9 N
  699. ; If post reading is disabled through enable_post_data_reading,
    % F! c0 n- }5 _) U1 y% Q* Y  k' O7 r
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    6 L# Y* @9 n6 \; z  w: T2 F) q
  701. ; http://php.net/always-populate-raw-post-data
    6 O7 o  h/ {& c  n. u, Y  A( }
  702. ;always_populate_raw_post_data = -1; a9 r" M" `/ ^9 P& Q% B  \' X

  703. ; w. z8 T% G! H
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & N+ a0 k1 @3 H7 m9 X4 i1 F! ^
  705. ; Paths and Directories ;
    ( r" D2 ]: U: J' `; O
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;. S( J7 s) p8 u6 V1 g8 E4 V4 p6 Z2 Y

  707. $ Q, [7 s5 j' h- j! T5 w
  708. ; UNIX: "/path1:/path2"1 t$ p; Q7 F+ `) h% X! G+ o
  709. ;include_path = ".:/php/includes". U- X3 i! T0 x, D2 M
  710. ;
      r3 H% p) @7 q3 W
  711. ; Windows: "\path1;\path2"
    / M. n* a) V" Q3 R. |! O
  712. ;include_path = ".;c:\php\includes"$ ~2 D7 v! W. Q+ ^' j$ h: r
  713. ;
    # k" D0 l5 B: Y( n
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"; T: v- k: A6 Q$ f; B* K
  715. ; http://php.net/include-path
    1 x/ _" J- A& n  R( \; k% D3 H( I. ~
  716.   e9 Z. W7 V& `" e3 J
  717. ; The root of the PHP pages, used only if nonempty.
    2 F4 ^* L  f2 ~  ^* Y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ' p. t- q# j2 G! Q  |0 t: U9 p
  719. ; if you are running php as a CGI under any web server (other than IIS)
    5 A1 u0 X# s# [* M* p2 z& D
  720. ; see documentation for security issues.  The alternate is to use the; C1 \4 b. e$ c/ _) _9 O* n- L. S
  721. ; cgi.force_redirect configuration below- W) z% P: P0 H9 y
  722. ; http://php.net/doc-root2 l9 a. g9 L# s* v
  723. doc_root =
    / ]8 l& h0 s  \# r+ o! t  t, A
  724. 3 F2 Z3 r  w; ~# s' X0 Y) G- _
  725. ; The directory under which PHP opens the script using /~username used only
    ; R0 ?7 N+ ]9 ], W, ]/ O
  726. ; if nonempty.. F# F* G7 l4 N2 a( w" l. f$ H3 }$ b
  727. ; http://php.net/user-dir3 u9 A/ N. T/ M8 R$ R6 Y  B1 s
  728. user_dir =+ g$ q1 t0 s* O! p" @8 I8 T) |! ?
  729. / y' P6 D/ b* N! U6 E7 a
  730. ; Directory in which the loadable extensions (modules) reside.
      v0 D/ Q" m: u9 u( z% ^; A1 _
  731. ; http://php.net/extension-dir
    & q6 {# i, n% U5 C1 P( p
  732. ; extension_dir = "./": n, P/ k% K7 ^' t
  733. ; On windows:' R* b& U1 b1 j& m  f6 _. b' ^0 c
  734. ; extension_dir = "ext"
      ?4 ?1 N9 T- ^, _

  735. ; O3 |  \& h# U' C" n' g
  736. ; Directory where the temporary files should be placed./ k! o7 J" s5 `1 E0 l3 g9 ^. U9 w" n
  737. ; Defaults to the system default (see sys_get_temp_dir)/ Q8 e% B1 G2 ~
  738. ; sys_temp_dir = "/tmp") w+ I. r* G2 J& f
  739. 6 v* e( t' t/ @0 Q0 c$ n4 f
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work% z, A. R! e3 @: }4 k2 [
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    # d& o9 @# T/ S9 k; U2 Y
  742. ; disabled on them./ ?. T- h- D' X8 g' t5 V( m/ t. K) |
  743. ; http://php.net/enable-dl
    1 i, Q) s: W' n
  744. enable_dl = Off
    $ v1 j% H+ z8 T% n2 Z
  745. 7 {, K1 H- W# F5 G" g* ^1 f
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under* Y" |$ G4 i" _* U3 \9 v( F: n- f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can( Q/ z- C7 U9 h! D3 k
  748. ; turn it off here AT YOUR OWN RISK# S6 I" s) d) _( J, u
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**: p2 I2 w. f; B3 n4 g
  750. ; http://php.net/cgi.force-redirect4 O, j: w, `, ?0 Q+ [
  751. ;cgi.force_redirect = 1) N$ t. g1 j! J4 r# m4 f
  752. " u0 a. ]' F1 L5 m
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with4 j6 t# ?! A4 d8 P' U2 o: r
  754. ; every request. PHP's default behavior is to disable this feature.9 g) [9 @" F( R/ F/ d
  755. ;cgi.nph = 18 f; N- j) e5 s) K- t) u5 r  o
  756. " J% n* U: v! e' G; D
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) e, P& C' F0 K. t
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 g6 B  I0 }1 q! Y8 t! [: h/ R" d
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY5 U7 g0 `6 M. ~3 N2 b+ `! N
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * x" `2 G+ C, ~, e
  761. ; http://php.net/cgi.redirect-status-env/ i5 T% u7 z/ m! Q) U
  762. ;cgi.redirect_status_env =7 n3 U& ^8 T( _" U1 M
  763. 8 s5 e& c* h2 ~( {3 V0 [
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's# Z' J9 L8 X( S: U. f
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok/ C- U" H- V. ^) t
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / n4 ?& x9 l$ r7 d) [0 |
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ h7 c$ d" k+ u9 A. L
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" S+ ?% F; C% t  x
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED./ e- M. t6 l# c4 E2 l
  770. ; http://php.net/cgi.fix-pathinfo2 m7 C: R0 ], h5 c1 W! [
  771. cgi.fix_pathinfo=1
    % K* Q' B3 A" l; r: @3 g( U) z* U

  772. 7 r+ K) E) y% ^) q! m& |1 j
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ' ^0 E/ }8 w; `2 x8 }* l$ V
  774. ; of the web tree and people will not be able to circumvent .htaccess security./ p# G; c5 O  u; n9 @4 a
  775. ; http://php.net/cgi.dicard-path
    & \0 f- z4 ^' a+ L$ n
  776. ;cgi.discard_path=1
    * i# c8 o8 v3 E& c& _
  777. . \- U) X1 H/ n0 P+ ^. \
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ y# \$ O; F5 n5 M4 v- h
  779. ; security tokens of the calling client.  This allows IIS to define the
    ! a' D: Y3 X% b& t' o
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    $ s- V# f1 I' u
  781. ; does not currently support this feature (03/17/2002)
    1 f; }' a) a% `6 m- K" ^
  782. ; Set to 1 if running under IIS.  Default is zero.
    2 w5 D0 C+ n' S, G; K
  783. ; http://php.net/fastcgi.impersonate! C+ q0 w6 \! A+ ~4 `
  784. ;fastcgi.impersonate = 1
    ( @' r/ z7 ?  Y3 t+ a- o6 ]

  785. 6 D8 G! r; O8 B6 M. c+ X
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / w3 L( R) L+ L8 _
  787. ; this feature.
    5 h& L9 @& n2 H
  788. ;fastcgi.logging = 0$ Y1 g7 @. M3 J) P

  789. ( `6 d, |. `4 U9 r: R/ k
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ' A- q: {3 K; c5 ~
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : m# u8 v3 ?& F+ P1 n. ~
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 V: P5 c7 \; a4 g/ E
  793. ; RFC2616 compliant header.+ L  w# b) Z4 Z- H. u8 e+ ?; d
  794. ; Default is zero.
    5 L) s% t4 x8 ?8 G) d' l
  795. ; http://php.net/cgi.rfc2616-headers
    6 I! @# R' D) @7 b9 z% I
  796. ;cgi.rfc2616_headers = 0, ~5 O; }+ A2 j% S& e* J

  797. * I: K+ z$ s1 Z8 k2 \
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    6 C0 U  v  W/ }2 s# q- |
  799. ; (shebang) at the top of the running script. This line might be needed if the. k" t' f: K! O/ I, u* V5 b
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ' _( y1 \3 t* P, i5 L% H
  801. ; mode skips this line and ignores its content if this directive is turned on.  ?% q7 s' w7 t  V, P: v- ]
  802. ; http://php.net/cgi.check-shebang-line
    ! c6 e7 y& h- E: c* \4 E+ X
  803. ;cgi.check_shebang_line=11 e1 }2 ^# f0 T& M
  804. . M# [1 e+ j0 l. X9 _  G
  805. ;;;;;;;;;;;;;;;;- z$ b5 }& t. _
  806. ; File Uploads ;
      n+ I2 L# i3 _! {: s& j9 c
  807. ;;;;;;;;;;;;;;;;  R7 V5 y4 d) g3 c
  808. $ X& F& c' S! o. Y  B, c
  809. ; Whether to allow HTTP file uploads.
    # U6 a9 [8 _$ w, ?/ {& f+ h
  810. ; http://php.net/file-uploads2 y- d& i" Z. K/ p
  811. file_uploads = On
    ( Y* L" m7 T, R& v3 F
  812. . i0 H1 n8 E/ T+ G0 R- S
  813. ; Temporary directory for HTTP uploaded files (will use system default if not1 k" b0 M! W/ W- z" w4 @$ Y  N
  814. ; specified).! a1 V# s4 {& Q" W" x! t
  815. ; http://php.net/upload-tmp-dir+ i" @3 e! E2 }& w6 r. x! Y( K8 [
  816. ;upload_tmp_dir =
    % D7 ~! C+ R6 r9 n
  817. & M; d4 I1 o) z2 b- P/ a; }  `' x
  818. ; Maximum allowed size for uploaded files.  e. k5 f$ r% R5 S! y
  819. ; http://php.net/upload-max-filesize
    ' o' \- F: _7 d" \7 T
  820. upload_max_filesize = 50M9 L, n5 G& {6 X

  821. 5 B0 i" T2 v3 O: Z: F9 H# H
  822. ; Maximum number of files that can be uploaded via a single request* u  {/ L) s7 ~
  823. max_file_uploads = 20* }- d2 Y) m5 w2 ~
  824. " @8 J5 j/ `; T- ~3 a; M8 N+ f8 P
  825. ;;;;;;;;;;;;;;;;;;8 a  M8 t' |8 k: x% v
  826. ; Fopen wrappers ;
    $ k% c4 p1 \$ U: ?1 {
  827. ;;;;;;;;;;;;;;;;;;
    8 v. t5 f3 l1 {9 \( Q2 M, P4 S
  828. - h. V1 F2 T) Y2 ]# c4 Y( q5 j% Y2 Z
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    2 s. S) G* z. K- v9 g; ~% L/ K+ @9 \
  830. ; http://php.net/allow-url-fopen# H8 b4 R8 i% W) O" }8 H9 g
  831. allow_url_fopen = On
    ( A: d- @1 _% I6 |, p( T
  832. " s  Z6 ~/ ^; r/ d& L/ B
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      m3 A8 q- I# k
  834. ; http://php.net/allow-url-include
    2 P9 x4 {( v8 @3 Z: a( n
  835. allow_url_include = Off
    7 G2 h! X: ^% H- k/ `

  836. ; \1 j3 O/ x! ^, k
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    5 _1 N' }# Z, r. J3 x% i
  838. ; for this is empty.
    . G0 a3 u! a- H; g, K4 R* C
  839. ; http://php.net/from
    : v: f( T, b1 L4 T' R6 I9 R
  840. ;from="john@doe.com"
    : c2 Z: {! n% t' u3 L
  841. ' _; t9 K: f8 k" N( b
  842. ; Define the User-Agent string. PHP's default setting for this is empty.3 r4 s# G; i. r- Z4 e3 k. X3 L
  843. ; http://php.net/user-agent
    ! ~7 S4 v  y2 B8 S
  844. ;user_agent="PHP"
    8 z0 e, _" u+ a$ A0 @8 o- D
  845. - D. r- t* G, s  x
  846. ; Default timeout for socket based streams (seconds)
    / e2 A% n9 C5 g* W
  847. ; http://php.net/default-socket-timeout
    1 W: d& j9 W6 h, g/ m2 S4 g* b8 N
  848. default_socket_timeout = 60
    # Z. \- v% V; l) J  v# j  e+ m
  849. ' u  ^$ r8 A. }
  850. ; If your scripts have to deal with files from Macintosh systems,* D* z. ?3 j4 H9 _- X2 G4 |: h5 O6 s
  851. ; or you are running on a Mac and need to deal with files from8 o, y% t# y( ~3 D/ r0 L
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ' z; |- ^( R; J; R4 M5 f  \. K# N
  853. ; automatically detect the EOL character in those files so that
    4 E3 y6 b! ^2 s7 Z+ H) e
  854. ; fgets() and file() will work regardless of the source of the file.4 F7 I5 @  y' F  Z* t
  855. ; http://php.net/auto-detect-line-endings
    ! Y1 R( p1 d% X+ r' ?) s( X
  856. ;auto_detect_line_endings = Off
      M+ u4 S" l, Z6 G3 N) W

  857. ( g- r; Y% m3 x2 ?) }- O. ]9 T) C
  858. ;;;;;;;;;;;;;;;;;;;;;;
    2 X  K" s- a+ D, J
  859. ; Dynamic Extensions ;
    ' h( }: P" {& b8 I& V( A' E
  860. ;;;;;;;;;;;;;;;;;;;;;;$ O1 c& _1 S& ^4 \

  861. 5 s7 ]  f. `( Q# B( W2 C( f
  862. ; If you wish to have an extension loaded automatically, use the following+ q5 L$ G( {  V4 d
  863. ; syntax:
      k) T9 n+ |& ]5 ?3 {
  864. ;+ F7 S. G7 k& O( V9 m
  865. ;   extension=modulename.extension
    # x6 u0 H5 t" B9 Z% X0 w
  866. ;
    * r; q0 |. C. d* a' _
  867. ; For example, on Windows:8 c# o( I: q: s. `4 l
  868. ;
    6 C3 C# X. t2 b, u5 w0 M
  869. ;   extension=msql.dll
    + {% |3 ]4 i, ^/ D' U) X
  870. ;
    8 Y" @0 T5 u( ^& J
  871. ; ... or under UNIX:
    ' d, z" Y5 b0 j8 A6 _
  872. ;
    - Z) }" Z  m4 s9 J( W
  873. ;   extension=msql.so
    0 B2 ]6 c5 \. B- h
  874. ;  l$ G; D+ w1 j$ Y& `
  875. ; ... or with a path:! B  x; j3 s7 U' ?% z% l+ L7 b
  876. ;
    + D# x+ g9 L- h" I
  877. ;   extension=/path/to/extension/msql.so2 H% M; X" A9 }$ n5 m7 Q
  878. ;6 i) W! h! G) z1 b# H
  879. ; If you only provide the name of the extension, PHP will look for it in its4 d% l. \. z, C- W; l& [
  880. ; default extension directory.
    . r. U* \9 b7 J% `
  881. ;
    ' q- l9 y. ~- u- X' U6 \; V( c+ E
  882. ; Windows Extensions- Y7 P8 C' A( F$ g
  883. ; Note that ODBC support is built in, so no dll is needed for it.1 n4 K; v! i8 r
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)' V+ s0 s% s) P/ C
  885. ; extension folders as well as the separate PECL DLL download (PHP 5)." W6 H, C% U/ e( }
  886. ; Be sure to appropriately set the extension_dir directive.* p( J* \4 X* k) A# M
  887. ;3 F6 ^& m( w3 q& v
  888. ;extension=php_bz2.dll
    . R4 w+ |4 u+ f& w- z/ @3 M
  889. ;extension=php_curl.dll
    # ~8 i9 r, D: Z/ d$ X0 f6 m
  890. ;extension=php_fileinfo.dll) n; e5 @& w8 a. U0 P7 T" ^$ @
  891. ;extension=php_gd2.dll4 o9 J8 T7 }0 g: o9 W
  892. ;extension=php_gettext.dll
    . Q; y& o! b0 H$ R5 g6 q
  893. ;extension=php_gmp.dll) E; Q- j1 s6 A9 m4 l& N3 Z  ?
  894. ;extension=php_intl.dll( t( w$ F( r' p
  895. ;extension=php_imap.dll
    , D4 i- _' p( N( Y5 ^
  896. ;extension=php_interbase.dll
    + M) f5 U  A, q2 ^+ k. D: O  q. u
  897. ;extension=php_ldap.dll
    $ d9 c& r+ `- ]0 O3 V" ^
  898. ;extension=php_mbstring.dll
    * A" x/ a# G7 C5 U
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - ], S+ y3 ~. I$ j0 D
  900. ;extension=php_mysql.dll% p1 ?+ M  H8 O. Z; o4 ^
  901. ;extension=php_mysqli.dll
    * d$ M# `, w! g- c% v
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    7 N( a$ H0 c% g1 K$ m! y1 X
  903. ;extension=php_openssl.dll/ r! X1 J# t. ]1 V; g* {
  904. ;extension=php_pdo_firebird.dll
    " X. r& X% b/ s+ A; Z# I
  905. ;extension=php_pdo_mysql.dll2 W& u1 y8 C1 o4 ~  a% K3 |& S3 `
  906. ;extension=php_pdo_oci.dll
    " \+ Z9 {& W: L- m' z" \
  907. ;extension=php_pdo_odbc.dll, C( B6 l8 w1 e2 \6 `! h
  908. ;extension=php_pdo_pgsql.dll
    4 s  e/ G( Q6 [. _0 Y+ C
  909. ;extension=php_pdo_sqlite.dll
    $ ?/ u) i* Q6 @, X7 N  F; Y
  910. ;extension=php_pgsql.dll
    0 h5 p- j6 X' i4 s+ w
  911. ;extension=php_shmop.dll  o8 N$ d8 ~6 _# r. |# H# ?

  912. + c5 W7 m8 H5 T/ ]& ~+ A2 y
  913. ; The MIBS data available in the PHP distribution must be installed. 7 U# ^9 Z5 }# J8 d* k9 {: B
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 V$ p4 m! H/ T- r: {: l" i
  915. ;extension=php_snmp.dll
    1 q( I8 S% N& a" I( P2 D/ P
  916. 7 |' `6 S. D+ t) D2 X
  917. ;extension=php_soap.dll0 V9 B' A, Q; w6 P
  918. ;extension=php_sockets.dll1 b  i" K3 e; }6 @& a& r, d
  919. ;extension=php_sqlite3.dll+ Y6 p# P8 G( k. l2 e) T3 o: `1 p
  920. ;extension=php_sybase_ct.dll
    ; c  }/ k, W- _; o
  921. ;extension=php_tidy.dll) g( Q* ]/ `4 }% t- {) N* I1 L7 t
  922. ;extension=php_xmlrpc.dll
    6 q# Y! b) I2 H9 i7 ^! s# u
  923. ;extension=php_xsl.dll
    9 B2 ]* l2 @6 }0 z
  924. 8 D% T5 Z- K" m" O7 K
  925. ;;;;;;;;;;;;;;;;;;;+ b7 u  f6 v9 Q) P
  926. ; Module Settings ;2 t) i8 U: T' }" \6 {! W( g
  927. ;;;;;;;;;;;;;;;;;;;4 ]3 e3 A* I# A7 g* o
  928. / h+ j3 n1 p7 m( w  b
  929. [CLI Server]
    6 Y# ?8 U: O5 ~8 k, t) s7 X
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # q$ z% H2 g5 i
  931. cli_server.color = On
      H9 o" s5 K7 s3 K- j
  932. * O* m5 D3 U1 X( v* g( Q
  933. [Date]
    8 r. U' S: ^/ x, L
  934. ; Defines the default timezone used by the date functions. g5 F7 u" E, s
  935. ; http://php.net/date.timezone, t- U8 p7 F/ D/ s' ~( p- e
  936. date.timezone = PRC
    2 K7 D2 @( J$ L6 b9 C) }0 N
  937. 9 Q+ T5 Y) D( @7 e: I4 e
  938. ; http://php.net/date.default-latitude4 s( |# z; f  @7 l
  939. ;date.default_latitude = 31.7667
    2 U5 C0 d" q/ z( U! F
  940. # |5 x( U# q; _- ~  q7 s) [
  941. ; http://php.net/date.default-longitude$ m! d$ w/ K( L0 m7 g4 y
  942. ;date.default_longitude = 35.2333
    + p5 H' y! A9 o+ W& A
  943. ! Z5 G6 x, A7 T/ A. U
  944. ; http://php.net/date.sunrise-zenith: J( T4 C& `7 Z! J
  945. ;date.sunrise_zenith = 90.583333
    % J0 P" d4 w' M, e; p+ j
  946. * Y: p3 _: B- ~. Q
  947. ; http://php.net/date.sunset-zenith
    5 U( Y  H- c0 L8 u  g
  948. ;date.sunset_zenith = 90.583333% J* [4 |0 D% V5 j2 p3 o

  949. / m; T7 z8 P  ?" i$ F2 o# g1 u4 a
  950. [filter]% S; X# w- L% |2 N
  951. ; http://php.net/filter.default
    2 l0 f$ ]2 J0 v2 e0 n% _5 Y
  952. ;filter.default = unsafe_raw! E3 y" R, K& m' I7 c1 W7 g" M
  953. 5 i) b/ g, n( B
  954. ; http://php.net/filter.default-flags
    ; W1 m5 o5 r* r% a
  955. ;filter.default_flags =
    : D" R, e% P2 d

  956. 7 G! g1 p" b: I2 s$ X
  957. [iconv]! V. M, y7 v) b; Z6 c. _  z
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' x  G5 w! Q0 d4 c* x0 t% f2 N
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    : [2 m2 P( R/ S7 {
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    + A- y) x. l* G/ [, {0 x2 I5 G
  961. ;iconv.input_encoding =
    - d8 G( W% J) E
  962.   r6 k+ L4 x: {% d" z% a/ J
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 Z+ F5 I% [. J& @3 A6 e% h/ @
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 Y3 u, n4 _$ L* U
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 o6 L( `" V& m6 r- o
  966. ;iconv.internal_encoding =' ?% [& j% E3 H1 I' M0 }3 r
  967. , V" J8 n: _9 J# R8 E& n- V4 x# _
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.% \! N; S1 C% t+ x2 u
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.; n! h, b3 s5 Z4 h% k# `
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding- y& J( c1 ^# E! ?6 k- s( i
  971. ; To use an output encoding conversion, iconv's output handler must be set  d( h7 i$ H6 G* A5 M/ |
  972. ; otherwise output encoding conversion cannot be performed.+ {- R9 w# E) ~
  973. ;iconv.output_encoding =
    ' C$ r$ i% H. Q3 I( x
  974. - D, x0 q! V3 t, g
  975. [intl]
    ( d5 Y8 O# M; J' d( O3 v
  976. ;intl.default_locale =
    ; {% I* B& T: X
  977. ; This directive allows you to produce PHP errors when some error0 w7 C# m) w2 B
  978. ; happens within intl functions. The value is the level of the error produced.
    * P; Y& A9 A+ e
  979. ; Default is 0, which does not produce any errors.
    2 b/ Q" |' _& {7 i6 I9 T
  980. ;intl.error_level = E_WARNING1 y* p! W& }- |5 G( H
  981. ;intl.use_exceptions = 0* Y6 a8 a* c2 a7 O7 D
  982. $ Y8 A( Z  C- E5 D4 o! g
  983. [sqlite3]
    . C$ O4 p# M& m5 G) b5 [% R
  984. ;sqlite3.extension_dir =2 W# {5 l2 ]; C6 y' R7 P

  985. 3 q  Z" B* K/ g3 m  C5 c: z* S
  986. [Pcre]" h* s! F; l, S
  987. ;PCRE library backtracking limit.
    5 r2 s1 D+ D! a6 l+ O3 E) d- n
  988. ; http://php.net/pcre.backtrack-limit; _7 P2 ~& A( p$ j
  989. ;pcre.backtrack_limit=100000) D; J) D" G* c. W* S6 M

  990.   L9 |8 E1 C8 a4 `- f! ]; ?( \
  991. ;PCRE library recursion limit.& [( G! U& f$ x
  992. ;Please note that if you set this value to a high number you may consume all
    " E# q% h) U9 D% }
  993. ;the available process stack and eventually crash PHP (due to reaching the. }! I% ^. z# O0 k0 d. q
  994. ;stack size limit imposed by the Operating System).
    9 v4 G1 C8 I8 C$ t" C  L
  995. ; http://php.net/pcre.recursion-limit8 g% y8 Z0 S4 W4 e8 c$ l' y
  996. ;pcre.recursion_limit=100000
    : Q: ?$ W, S% g. j- ]

  997. 0 N, v& I7 t  s4 ]  _- E6 `2 h. @
  998. [Pdo]
    2 X4 I. q& L$ G, V  e
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"3 I' }5 I" I& A9 ^' ~+ S3 \5 p
  1000. ; http://php.net/pdo-odbc.connection-pooling, S- Q! P  P- s, _+ b% r# I1 z
  1001. ;pdo_odbc.connection_pooling=strict  z2 A, o4 X7 H5 U; u) I) q

  1002. 3 w- Y* U. D8 j
  1003. ;pdo_odbc.db2_instance_name# [7 C. a( K- L  a# }/ {  t

  1004. 6 v2 l+ S* k" T( g4 w" }
  1005. [Pdo_mysql]
    ! s! I5 M2 ~+ d/ T& C. ^) q
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ q2 |0 ~" ~; {6 j
  1007. ; http://php.net/pdo_mysql.cache_size1 I6 ^" ]$ U$ [! ]6 P: k
  1008. pdo_mysql.cache_size = 2000$ r  ?/ |  i* |4 J

  1009. 2 X! z# s+ S( V# D
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 J- `* i. }5 j5 u1 j$ @9 {$ K
  1011. ; MySQL defaults.; M$ A: T+ Q6 X6 [. U" t( Z; \
  1012. ; http://php.net/pdo_mysql.default-socket
    * e: J+ f/ ?# x5 M
  1013. pdo_mysql.default_socket=
    " g* f( }7 U% L/ Z4 @5 p

  1014. - v6 J; l: D. h  R* g  f0 ^
  1015. [Phar]
    ' Q+ G5 N% Y9 \3 \9 v3 \. T
  1016. ; http://php.net/phar.readonly3 T9 F& J, q7 D; x# n6 R
  1017. ;phar.readonly = On
    # m; z7 B. [9 C0 C6 t
  1018. ) N( ^) W! w3 D& w% t; V
  1019. ; http://php.net/phar.require-hash
    7 s! ]. @- h" l% P" [: c5 L
  1020. ;phar.require_hash = On6 @  _; F3 ^$ S( ^9 I
  1021.   H4 `: n% Y' D, p+ U0 s
  1022. ;phar.cache_list =
      q& ^: q" H5 P. H, D' C& c; d

  1023. 5 i% s. ]( H. F1 o$ a: @* p
  1024. [mail function]
    * Z- K0 ~3 U) a# G  U: f
  1025. ; For Win32 only." d1 P5 [' n, m# T. {! L. r
  1026. ; http://php.net/smtp' k9 A. E  B6 ^  k: K  _
  1027. SMTP = localhost' R, ?* r2 j4 A1 [6 A! X: g1 ~
  1028. ; http://php.net/smtp-port9 u& I" `' u; r2 o
  1029. smtp_port = 25
    * n% E3 i3 }$ C* C0 x, z3 `

  1030. ; G5 Y6 y  @" R) _8 p2 t
  1031. ; For Win32 only.( o$ _" p" _' ?; I$ ]  S" J
  1032. ; http://php.net/sendmail-from# @3 e' Z& y# m3 s
  1033. ;sendmail_from = me@example.com
    , B  R" P$ ~0 J% l* z# v9 c. }
  1034. 7 J( R0 c& I( k% A
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& ~8 c$ ]7 e  s8 S9 m
  1036. ; http://php.net/sendmail-path& G7 ^& @) d& v
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    + z0 \  E0 M9 a/ F

  1038. $ {. D3 W: r3 A2 Z6 h
  1039. ; Force the addition of the specified parameters to be passed as extra parameters$ d+ x4 N+ q( I$ `  t
  1040. ; to the sendmail binary. These parameters will always replace the value of
    $ q; z5 I5 l6 F$ ~! O5 ~9 G% Q
  1041. ; the 5th parameter to mail().
    3 A) |) p4 [% Q; `) W% D) J4 j& E
  1042. ;mail.force_extra_parameters =
    , g7 \- a; ?8 a) Z) n* G7 T
  1043. ) X) L$ I* E- z1 L* a1 r4 W  k
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& g- U4 t  n9 {
  1045. mail.add_x_header = On
    0 m1 R" P+ O# x  U8 v
  1046. # ]* w  R. L5 I' u
  1047. ; The path to a log file that will log all mail() calls. Log entries include. H% J- O' X8 _9 E) ~  T, S
  1048. ; the full path of the script, line number, To address and headers.' y) }- _/ ?1 g2 E% n
  1049. ;mail.log =
    ) E, t' P2 Q/ T- l% M; N3 V# X
  1050. ; Log mail to syslog (Event Log on Windows).  a( ^6 ^6 f  @; r, d3 `2 Z
  1051. ;mail.log = syslog
    6 `8 b! |- R/ b9 n, ^1 M

  1052. 9 j! ~' D4 F4 |$ H' Z
  1053. [SQL]
    % u6 F- ~0 D! w( Y1 r1 s
  1054. ; http://php.net/sql.safe-mode# b! \, W. A2 m8 Z" d- h% K2 v
  1055. sql.safe_mode = Off
    : P  o; j( \9 T! n; k" S9 C  g9 I

  1056. 3 N+ F8 G, w6 S$ {
  1057. [ODBC]
    + q3 r' g; e' G' S7 A
  1058. ; http://php.net/odbc.default-db
    0 C' i, o; e6 s3 `4 _# O( X8 w3 L3 z
  1059. ;odbc.default_db    =  Not yet implemented9 U# o( l) U) D$ F
  1060. $ r- }7 n# }$ a  Y
  1061. ; http://php.net/odbc.default-user
    $ B* p5 j! O3 c; d1 @
  1062. ;odbc.default_user  =  Not yet implemented
    4 B- C& T4 G( x1 V
  1063. 3 S7 d( f0 N; z- l7 h/ }+ q2 |
  1064. ; http://php.net/odbc.default-pw2 I' y+ b0 S# r9 s  ~0 |$ p
  1065. ;odbc.default_pw    =  Not yet implemented
    % B. V+ O2 e: a* S( n
  1066.   u/ H: Y) B3 z# G
  1067. ; Controls the ODBC cursor model.5 D4 q) K) v; J. J- `8 o
  1068. ; Default: SQL_CURSOR_STATIC (default).
    % ~& V& M3 y! Z* M( S$ g6 R0 ]" V
  1069. ;odbc.default_cursortype
    8 |+ s" S; N, K0 T( G+ Q" ^
  1070. $ j$ x9 l  O+ U
  1071. ; Allow or prevent persistent links.6 B1 _2 t: J! h) U$ Y6 o& }
  1072. ; http://php.net/odbc.allow-persistent/ d  U, `" _: g- F1 r
  1073. odbc.allow_persistent = On
    ; @, `& {" A- c7 I
  1074. 4 y8 b8 a+ t/ x
  1075. ; Check that a connection is still valid before reuse.
    : S* W' S6 R8 o+ o" B( P
  1076. ; http://php.net/odbc.check-persistent* Y6 K3 i/ `+ Q3 z5 J! g. c; B
  1077. odbc.check_persistent = On
    . ]- `8 \7 a  q& g" L
  1078. ! A! }) V* e% j4 j+ v: G
  1079. ; Maximum number of persistent links.  -1 means no limit., [  h8 O" }7 M( G. L4 y$ c
  1080. ; http://php.net/odbc.max-persistent5 W' L. K8 Z5 d/ h3 r( v" ?/ D7 I
  1081. odbc.max_persistent = -1
    8 C* M8 b* ^: k9 ~. r, l9 ^5 z# k
  1082. % i  s. _( {! e
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( U& I; G# D9 _. x1 w
  1084. ; http://php.net/odbc.max-links/ s% k% V( c$ ]' X4 ^, ]
  1085. odbc.max_links = -1  C' h8 X; G, c, Z0 J: Z

  1086. ' v4 R" M4 Q+ N0 q  C6 X" n; i
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means+ d" u5 `. d; {1 c; h5 |
  1088. ; passthru./ H" X! v8 J( u9 E! ?( a
  1089. ; http://php.net/odbc.defaultlrl
    . c- [$ f% C2 Z+ i
  1090. odbc.defaultlrl = 40964 ]' R; [( y! j; Z. u  R, ?$ h
  1091. , \# Z- u! ~$ A! }# o. L
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 T, [, B, f: V6 h% [" ^. l! I
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation3 F5 N/ M- R" e& a  D0 U
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode; J; E3 P  C' r
  1095. ; http://php.net/odbc.defaultbinmode
    ! ?+ U0 Q' d5 K" n% [" V; ]
  1096. odbc.defaultbinmode = 1
    0 l7 \! |( ?. d2 b2 b* p
  1097. / O$ K) k# t( X3 K
  1098. ;birdstep.max_links = -1; i2 R; D0 c1 r$ q1 e2 [

  1099. ( M1 ]# S) ?: \7 [: P: @/ ^: F
  1100. [Interbase]" |0 J- i6 A6 e4 b; P* U3 I  T
  1101. ; Allow or prevent persistent links.$ @1 N5 v7 R% K1 Z+ o2 u
  1102. ibase.allow_persistent = 1
      x; U2 ]  V& K% J3 k4 S3 Q2 _
  1103. ; ?1 g8 s: c% U
  1104. ; Maximum number of persistent links.  -1 means no limit.0 b% O  Y( C/ z1 g% S4 V& I
  1105. ibase.max_persistent = -1
    $ c+ r4 C: `: D  P& j' S) S$ K9 I' j

  1106. $ @4 B" L+ o7 c& y! {+ W. `9 o, X
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 y* P' Y8 n5 `8 a
  1108. ibase.max_links = -1
    1 j* s& P9 r2 p4 x1 ^
  1109. / h5 r% h0 J% {; B  }
  1110. ; Default database name for ibase_connect().
    0 u. ^2 H6 c; o' }5 ?
  1111. ;ibase.default_db =
    0 X; `$ N- S0 M5 e
  1112. 8 F. v6 t( E) b) I' b6 h/ V
  1113. ; Default username for ibase_connect()./ P0 M- s) K/ i# j1 [1 M' a
  1114. ;ibase.default_user =; d( u! @8 W0 W

  1115. 1 k' P. R9 K! \! Q( I+ H+ _
  1116. ; Default password for ibase_connect().
    ) _8 A, K, n; o( n4 L
  1117. ;ibase.default_password =; }3 L) |% \7 t6 E; Z
  1118. ' J$ \& D, ?" [+ D3 i6 b; h
  1119. ; Default charset for ibase_connect().! m. \; m" C( |4 _
  1120. ;ibase.default_charset =
    ! Q1 n$ L0 {: O/ n4 |) }- Q

  1121. 8 }" ]4 q/ X, @* T+ F5 s2 _0 A8 g
  1122. ; Default timestamp format.; _+ D/ ?, m/ A9 j3 V
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"9 t& y* |# x2 m# e

  1124. ; q2 V) `" I  l; M2 q+ R9 L& s; v
  1125. ; Default date format.
    % B0 r) }8 n. c- H) P
  1126. ibase.dateformat = "%Y-%m-%d"
    5 k# a9 w% `/ \, X
  1127. & g; y9 n' w! n7 H6 N
  1128. ; Default time format.
    ! f/ r7 R! s5 C0 g) Z9 Q# ]
  1129. ibase.timeformat = "%H:%M:%S"
    6 a/ _, m' C' n$ B/ }

  1130. 6 W" i+ }  c& ]. z, ?
  1131. [MySQL]
      X- v4 `7 D6 ]8 z5 L) j2 I
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    % p8 A/ S  B+ N, D
  1133. ; http://php.net/mysql.allow_local_infile
    4 c; D) w3 z( f$ |$ X
  1134. mysql.allow_local_infile = On
    % [8 F, {2 e  K# V

  1135. ) \+ H8 w7 }; k6 D! \
  1136. ; Allow or prevent persistent links.
    6 f9 N! M4 M5 _, |, _- Y
  1137. ; http://php.net/mysql.allow-persistent
    ( b: m5 {. i% Y$ M+ m
  1138. mysql.allow_persistent = On
    $ ~2 B' Y. w6 e' P# C. U. A8 b6 \

  1139. : X# k+ y3 n& S- H3 ~/ ~
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ Z: y% g" _* Q# B5 l$ V8 S+ j
  1141. ; http://php.net/mysql.cache_size
    5 Y! x- n4 A8 z7 I! `/ M( I9 X
  1142. mysql.cache_size = 2000+ i- Q. N5 q" O, r. m# ~% m
  1143. $ }0 L; l7 m: {1 g- F, I) W) ]
  1144. ; Maximum number of persistent links.  -1 means no limit.& `, Q7 e; H' L  k
  1145. ; http://php.net/mysql.max-persistent8 J5 s% }) j! S
  1146. mysql.max_persistent = -1/ l) P' F/ o' i# ]$ U

  1147. ) \% @- H( G  G1 |, k$ s
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 q; Z5 G  H9 N3 T( t
  1149. ; http://php.net/mysql.max-links
    , {1 e/ w' g, u. ?. g, v
  1150. mysql.max_links = -1
    / E0 l# |- d' o7 l" ^8 [( w' X

  1151. : L/ g# B; t) K$ X+ y, m
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use" M+ Y, j, j4 N: _9 m/ w1 H
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    5 Y) @4 ^( S1 r4 v9 J0 N0 U+ s
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ; P$ x) e! n, L, S" D
  1155. ; at MYSQL_PORT.1 s: ~6 d% u$ b0 k
  1156. ; http://php.net/mysql.default-port/ o8 Z+ F1 j3 M# n. Z8 A
  1157. mysql.default_port =; t; k+ Y$ o( w  P( {" j/ e

  1158. + ]( R2 s' A9 f; e0 Q2 W( A0 _, A
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " F  l2 Q* ]) K6 g6 O
  1160. ; MySQL defaults.+ U& S2 [; `% k) _( F; T) V
  1161. ; http://php.net/mysql.default-socket& M2 s" d& v3 `* Q' T
  1162. mysql.default_socket =
    0 O2 e- W6 N  `+ z1 X& a

  1163. * i+ C6 H. q7 m  p' V
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : y% _$ m% N. l) V) ^, g, P
  1165. ; http://php.net/mysql.default-host
    . p& X- Z4 |/ H0 I. g
  1166. mysql.default_host =
    * F3 \. N3 |5 ~6 \% `' u

  1167. # [6 I. Z2 K+ N' m& Y7 s7 H
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).  V+ a$ `/ W6 J" ?# B( C$ t
  1169. ; http://php.net/mysql.default-user$ M. a& }5 _4 s
  1170. mysql.default_user =; b: P7 |0 ]7 |& m6 h& f0 K( f) s

  1171. + p  C) e( y' G9 \4 e6 f/ _
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).( N8 N8 n2 ^5 \4 w5 \  z
  1173. ; Note that this is generally a *bad* idea to store passwords in this file." S6 F# d# N  t2 Z7 `
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"): H7 H2 O9 \8 c8 x# v  W
  1175. ; and reveal this password!  And of course, any users with read access to this% O6 n2 a+ |, p& R- N& g4 z
  1176. ; file will be able to reveal the password as well.
    ' |" j$ \( x5 ^8 s5 ?3 S
  1177. ; http://php.net/mysql.default-password
    5 C" F4 L# \! v5 E; s! v* Y) R0 W" l
  1178. mysql.default_password =
    & S4 g) @0 Z8 g9 h
  1179. ( R2 k" u& Y6 s2 d
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ( g5 S5 K9 W2 T& W
  1181. ; http://php.net/mysql.connect-timeout1 H, B. W6 o1 s+ W# C) [
  1182. mysql.connect_timeout = 60
    ) w2 N, M5 _2 u( S
  1183. 4 I8 d: z$ I6 r% q1 L
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and3 e7 u( ?+ q( m) T. I* K) |
  1185. ; SQL-Errors will be displayed.1 v: f; R' N( c. `
  1186. ; http://php.net/mysql.trace-mode% c/ C' z/ n' T! J4 [# a9 E  A' i
  1187. mysql.trace_mode = Off
    * ~; `* l8 m. o' q
  1188. 9 ]6 ^" q. P) z/ t9 p' T. m* A" \
  1189. [MySQLi]
    2 G# E" s' s) s9 A9 l
  1190. 3 K. C4 f7 Q9 k/ H) X4 f5 V
  1191. ; Maximum number of persistent links.  -1 means no limit.
    * K8 i$ w% |# O% g, w
  1192. ; http://php.net/mysqli.max-persistent
    & q2 s1 f. y. }" \: B5 b
  1193. mysqli.max_persistent = -1
    6 v0 b% ^6 {8 y1 t6 o  }3 o: M& ^

  1194. ! O9 e8 {3 P. Q* j- u6 m
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements& E/ h) F/ }: ?$ q
  1196. ; http://php.net/mysqli.allow_local_infile$ E) h3 |3 _( r, K3 ^
  1197. ;mysqli.allow_local_infile = On
    ) t# X* F1 P0 b

  1198. & h8 H, n7 b$ E' t
  1199. ; Allow or prevent persistent links.9 g& t6 ^. s3 e9 v
  1200. ; http://php.net/mysqli.allow-persistent, v1 [0 f8 \9 E# u( j
  1201. mysqli.allow_persistent = On* G! v! j: s( Q
  1202. ( ~$ p! H$ T2 F
  1203. ; Maximum number of links.  -1 means no limit.
    * d1 S1 N$ T$ W6 z+ k
  1204. ; http://php.net/mysqli.max-links
    8 l" ]0 U: f9 }/ C! @' ~! l
  1205. mysqli.max_links = -1
    % k5 z  U* M* J( S

  1206. : n) v, x7 P+ c( _4 i
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache" C  ]/ M" T6 g$ o# ?8 o
  1208. ; http://php.net/mysqli.cache_size: y# H$ R9 d3 b0 M  [2 b
  1209. mysqli.cache_size = 2000
    0 @% o" H' d- ~: ~0 g

  1210. 4 Y8 i% n4 H4 U. i
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! |5 r1 t( O5 {7 @/ r# u
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ J& ?* H& D( x1 }2 e& D, G) t
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' P( C& p+ S1 Q0 N- M7 N; r6 _" [3 Z
  1214. ; at MYSQL_PORT.
    & l1 T9 e/ ]% ~) S# h6 G
  1215. ; http://php.net/mysqli.default-port  K& {* |1 @9 z* k% }
  1216. mysqli.default_port = 3306
    ( C) T6 R3 s6 u$ J* D1 }+ i" J

  1217. / {! T+ W  C  r
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      J) `) r) |" e5 s
  1219. ; MySQL defaults., k1 j. W5 \& Q/ @( Q% ^
  1220. ; http://php.net/mysqli.default-socket
      `; h7 T& D& \: E# g
  1221. mysqli.default_socket =
    4 {1 ?# S, k( W4 A! |' n
  1222. % {$ L9 @9 w# V; T% t* h, z/ C3 P
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).& Y- I* L" E8 d5 ^# {5 n6 d; y
  1224. ; http://php.net/mysqli.default-host" p8 V* Z4 A" p8 S" ~
  1225. mysqli.default_host =4 o: K+ z- e6 D3 Z* b2 C* ^
  1226. / ~( M; t1 H6 ~( }0 ^
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).; D9 B; x- W: a9 ^
  1228. ; http://php.net/mysqli.default-user
    8 X9 Q+ @# n/ k
  1229. mysqli.default_user =5 A# Y. {7 ?, a  v8 S$ s
  1230. : m  o" k# Y  o6 H: J7 K+ V
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    0 U9 t9 t' m; e! |8 S/ j
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    , u4 _9 k( Y  b
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")7 j4 b' g0 D8 ~5 S6 l) `  x: T6 p
  1234. ; and reveal this password!  And of course, any users with read access to this) s7 L7 n5 f1 H2 n  M/ u) ?
  1235. ; file will be able to reveal the password as well.3 b) ~7 }* s+ W. \& T
  1236. ; http://php.net/mysqli.default-pw
    + ^% y; V  J7 G1 H+ M1 b
  1237. mysqli.default_pw =
    & [5 n* f2 Y4 B4 S% u1 ?8 X
  1238. ; `6 Y- W+ E. N5 l: {- h
  1239. ; Allow or prevent reconnect
    + y/ z5 Y. {7 ~  h5 b
  1240. mysqli.reconnect = Off
    7 v& S. z  q6 v; k

  1241. # o0 a7 @! n9 v$ B
  1242. [mysqlnd]7 D; l$ Q1 _* V/ V% E
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ) s" S4 t: F9 v  ~" a; Z0 T. S! H. \
  1244. ; used to tune and monitor MySQL operations.' r5 t# Y8 B/ ^
  1245. ; http://php.net/mysqlnd.collect_statistics
    " s& s$ ?" ^2 x% L2 l: m3 i
  1246. mysqlnd.collect_statistics = On
    / D- T$ `7 W; f' \2 E4 \

  1247. , P7 k( L) N( t! y6 G/ Z% n
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ) z( F! X* w; ^# u
  1249. ; used to tune and monitor MySQL operations.
    & u8 O7 G  l& H- `3 H
  1250. ; http://php.net/mysqlnd.collect_memory_statistics0 r" o8 `  ~3 H. X& d$ k2 Y) R
  1251. mysqlnd.collect_memory_statistics = Off
    - M) g5 D* ^( z" V4 Q
  1252.   Y3 Z4 n* f% C
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ) ~9 o# N6 f0 s' C) L
  1254. ; file.' j( V& S$ G" u  Q. O
  1255. ; http://php.net/mysqlnd.debug) y: F# p7 ^3 i. j
  1256. ;mysqlnd.debug =
    ' c. ~1 b6 Q" c( Y% I, E

  1257. $ e2 ?2 }! {4 C$ }. k& D) u
  1258. ; Defines which queries will be logged./ Z1 {: K' V9 b2 w
  1259. ; http://php.net/mysqlnd.log_mask
    ' y: j( D& G- n9 t
  1260. ;mysqlnd.log_mask = 0( j" p/ _$ N1 x# E3 Z  b5 E6 a

  1261. 4 U+ m2 x% b$ r7 W2 g' {4 _7 {
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 P) U3 M+ q0 B% U
  1263. ; http://php.net/mysqlnd.mempool_default_size
    4 D. z; e4 C# ~1 r" @
  1264. ;mysqlnd.mempool_default_size = 160006 |6 X' ^9 B4 B# c+ [
  1265. ! V/ \6 N' |# E; ?
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    1 z" K7 J" M: u- F
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size8 ~/ x& P8 d' K' T' b- g
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    % Y4 x" l8 l) h! [. i

  1269. 7 z# D( _5 K$ z6 {3 Z
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in+ b+ F+ G: s4 p, W+ t1 c9 l  S
  1271. ; bytes.7 v$ z1 ]. s9 l2 C3 r
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' `: d8 l' Y5 G4 S: V
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , l2 v" L  u1 Y% K  X  e, }
  1274. # C% [) y9 o$ U0 z9 C* d$ C& y$ p
  1275. ; Timeout for network requests in seconds.
    ' G7 U+ m6 j# x$ m
  1276. ; http://php.net/mysqlnd.net_read_timeout
    * R7 V" M1 Z+ t
  1277. ;mysqlnd.net_read_timeout = 31536000
    2 t6 D1 ?% X# ]
  1278. ' I; ^; |3 o4 S  i9 z9 N
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 g; D3 k0 F) K0 z. \
  1280. ; key.
    ( S, b. x# `) l# s% M: f# h
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    + m; F  }& \5 d( D8 b9 L' j! `
  1282. ;mysqlnd.sha256_server_public_key =
    0 m5 l' p& j1 n# c: c( @
  1283. 3 g. U. M, P5 }' X& o/ c% w" O
  1284. [OCI8]+ j( _7 s2 d8 E& K5 m" @  [- b7 _$ `
  1285. " H0 z4 S0 }, [( n/ e$ o; X# o
  1286. ; Connection: Enables privileged connections using external' d$ X/ c! z9 z/ M
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)  H" g4 O6 _: i3 V1 l* Q
  1288. ; http://php.net/oci8.privileged-connect
    8 m* i& y. C+ u' ?+ o0 V1 ~4 B
  1289. ;oci8.privileged_connect = Off. M8 t2 N: W4 ^2 W
  1290. ; X. \' Z, x2 b7 h
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ) t' A, \+ i/ Y' x) W
  1292. ; process. Using -1 means no limit.5 g/ F# n# Q1 b7 n
  1293. ; http://php.net/oci8.max-persistent6 E7 M* y: l; L' I: I) ~' ]* o
  1294. ;oci8.max_persistent = -18 @* @& a$ D7 d3 R
  1295. / V" `: S% g) i7 _
  1296. ; Connection: The maximum number of seconds a process is allowed to* j$ u6 W  d, ]4 L0 O
  1297. ; maintain an idle persistent connection. Using -1 means idle
    0 _9 J! N7 b* J7 |- U6 b* s
  1298. ; persistent connections will be maintained forever.# m( p! E  @( _# {$ [4 u& z. \
  1299. ; http://php.net/oci8.persistent-timeout. a3 N! T% L- x" v% q
  1300. ;oci8.persistent_timeout = -1
    6 R( k/ m# F3 G8 ?" O

  1301. ) T6 N2 D* M  V' Z" H
  1302. ; Connection: The number of seconds that must pass before issuing a
    $ h; r9 e7 @! k* y4 H- ]4 l( ?) \$ V
  1303. ; ping during oci_pconnect() to check the connection validity. When. a, |, p3 Y; p( Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables4 R% E( ^# N# e" c
  1305. ; pings completely.+ x$ G# [7 @; @0 Z! ]
  1306. ; http://php.net/oci8.ping-interval
    . D  X9 h6 d# h) |, t$ W
  1307. ;oci8.ping_interval = 60: @7 _5 E9 @) A" J: E# P2 ]4 `
  1308. 7 t# N- L# @3 Z. z# Q/ V4 v
  1309. ; Connection: Set this to a user chosen connection class to be used
    0 C, h( D5 ~8 V8 ?! ]8 u) s) K
  1310. ; for all pooled server requests with Oracle 11g Database Resident( ]! g# f' T* p! J2 |
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to* ~: w! X4 _+ e8 n
  1312. ; the same string for all web servers running the same application,
    7 D' U$ A4 o( e( D! f' H" R: H
  1313. ; the database pool must be configured, and the connection string must' Y2 h9 g/ l! N. }7 f5 t; [
  1314. ; specify to use a pooled server.7 O& Y  T' p  l, J5 N( U9 ?. r
  1315. ;oci8.connection_class =
    & ~7 Y0 A+ z4 r% V

  1316. ' @8 {8 C% p6 T4 I& r/ D3 M
  1317. ; High Availability: Using On lets PHP receive Fast Application
    - v& W: ]: y# L0 f' ^3 Z% ?
  1318. ; Notification (FAN) events generated when a database node fails. The- A8 P) E% Q3 L( ^' D2 y* s
  1319. ; database must also be configured to post FAN events.
    # c, e  n4 L: H" l; ]' M1 ~; I
  1320. ;oci8.events = Off
    8 z6 e* i5 R$ Y  c

  1321. " O& g6 t# D, g- l: ^
  1322. ; Tuning: This option enables statement caching, and specifies how; t7 P3 Z# `/ C9 G
  1323. ; many statements to cache. Using 0 disables statement caching.' T9 t3 U6 `) W5 \+ J- l
  1324. ; http://php.net/oci8.statement-cache-size8 C4 s  J* {1 K5 m( k, n
  1325. ;oci8.statement_cache_size = 20
    7 K; g7 d3 r/ R" L

  1326. 5 S! s' g7 V% r$ ]$ E' p
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    8 ?  L/ _2 \9 r  D
  1328. ; rows that will be fetched automatically after statement execution.
    2 W! @( h; d( H4 X
  1329. ; http://php.net/oci8.default-prefetch8 g% d- U; X, }8 \( I+ W* I* q
  1330. ;oci8.default_prefetch = 100
    4 ]4 J* X! J- r+ J6 q8 H, H
  1331. % K3 B3 |9 ^$ J% ]4 Z; F: }9 H- U7 |
  1332. ; Compatibility. Using On means oci_close() will not close
    ' E" s* n0 M9 v+ Y+ I
  1333. ; oci_connect() and oci_new_connect() connections.
    , Z! }7 m6 Z1 E/ j6 g1 m: G
  1334. ; http://php.net/oci8.old-oci-close-semantics! s9 L+ C- K6 Q+ z1 A! P7 i* p
  1335. ;oci8.old_oci_close_semantics = Off
    ' m/ V: }; ?& J. M
  1336. 6 S8 @4 h% }4 R+ W; F- |) G" ~
  1337. [PostgreSQL]
    0 J3 w9 z' p3 m; O
  1338. ; Allow or prevent persistent links.
    ' X3 E  v+ e7 e! L1 \+ S$ Y) n) c
  1339. ; http://php.net/pgsql.allow-persistent
    9 T$ n. J9 o: r0 p% M6 l4 z* Z/ h
  1340. pgsql.allow_persistent = On( E$ w, ], E( a/ z" V& k2 _3 c6 X

  1341. - _$ k& r+ W8 b; d; X6 h) B& o
  1342. ; Detect broken persistent links always with pg_pconnect().1 ~8 P, X& O! R3 ~! w6 O4 ^
  1343. ; Auto reset feature requires a little overheads.
    5 F, }$ y# N, H0 R* k
  1344. ; http://php.net/pgsql.auto-reset-persistent
    4 `) ?' O+ n+ Z" G) ^2 G6 v% }: W
  1345. pgsql.auto_reset_persistent = Off1 ]9 D) p6 y/ E: P3 Q& h

  1346. ! A! X$ x' Q+ B, j& L, X  o1 L
  1347. ; Maximum number of persistent links.  -1 means no limit.
      ^  T  T( Q% Z7 _" C; ~
  1348. ; http://php.net/pgsql.max-persistent/ K$ A) G2 {5 W1 d
  1349. pgsql.max_persistent = -1
    6 x) i9 A1 o3 Y8 T# k& ^, _, P' B9 ~$ ?
  1350. ( k' ~" M) H) }+ g; o( P* e0 J
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 O9 u$ T2 A. d1 u; V' g$ L
  1352. ; http://php.net/pgsql.max-links) V' L& q* L# u4 E0 M1 S0 ~8 h
  1353. pgsql.max_links = -1
    , G% r) L. w" j" Q" q
  1354. 4 p+ b+ D( S9 g1 R" b5 V2 A
  1355. ; Ignore PostgreSQL backends Notice message or not.) r( Y" z3 O7 z1 o
  1356. ; Notice message logging require a little overheads.4 U- C% T. T9 E0 n- q
  1357. ; http://php.net/pgsql.ignore-notice
    : ^, d3 ]* O$ N! N# K" W2 u
  1358. pgsql.ignore_notice = 07 Z3 ?( V' r1 @% G$ ~. r4 T; F

  1359. 6 c6 o, x$ L6 S: N3 {8 R3 O
  1360. ; Log PostgreSQL backends Notice message or not.' c3 D5 y+ ?. s1 ~! g) L7 H! Z
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' v- L* [* w& I
  1362. ; http://php.net/pgsql.log-notice
    5 X) b% c6 n& w7 V
  1363. pgsql.log_notice = 0
    1 m2 j6 F# u7 }# k# n
  1364. 1 l7 B8 C/ ]. Z9 y2 c) n
  1365. [Sybase-CT]& P6 _- S* ~1 P1 x% G  [
  1366. ; Allow or prevent persistent links.
    2 m* M! k- i7 }
  1367. ; http://php.net/sybct.allow-persistent0 z# h  }; S2 }3 I
  1368. sybct.allow_persistent = On
    # y# H% i% m/ `# ~

  1369. 1 R  I' E% H% N8 b9 x. t
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ; f% D3 G. p- W1 _  Z- ?& Y
  1371. ; http://php.net/sybct.max-persistent/ A1 a8 N, L. C% M* {
  1372. sybct.max_persistent = -1
    ) O$ a! \9 {. u
  1373. 9 k6 k0 w+ y& \: j! k* @* V
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' y& C# ^+ b, j
  1375. ; http://php.net/sybct.max-links
    3 Y" n; B) s* Y" O4 F% {, @
  1376. sybct.max_links = -1
    8 B& O! @0 }! `4 ]

  1377. 9 V! j7 z' z$ ^# O! p
  1378. ; Minimum server message severity to display.' a! D# e5 m% n) G9 D' ]
  1379. ; http://php.net/sybct.min-server-severity
    ) _. S& T7 ]. V9 h
  1380. sybct.min_server_severity = 10
    ! P9 j. W. Z! ^! \% X# P# p1 k

  1381. / Y1 o  E3 g8 c9 j/ [
  1382. ; Minimum client message severity to display.3 R$ A7 A: p, D
  1383. ; http://php.net/sybct.min-client-severity( l' }! A4 k2 R( ~
  1384. sybct.min_client_severity = 10
    9 m2 b% O" O$ h5 n4 P% x- d) Z3 T- U
  1385. 9 a$ D- t7 w! [" D5 G
  1386. ; Set per-context timeout
    & z6 e5 D1 c# ~$ P8 H3 G
  1387. ; http://php.net/sybct.timeout
    4 s: L8 i# T9 c6 @
  1388. ;sybct.timeout=
    ( N( }: }, L$ T1 m# f

  1389. 4 w6 n5 A* K$ n
  1390. ;sybct.packet_size0 V5 ^3 |* A% z7 e* A: |* v
  1391. 0 s* U% W  z" F' ^9 ^
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    8 w, h. f4 K7 \5 A+ e5 x5 y
  1393. ; Default: one minute
    4 P/ n3 ~% h- x: {& H
  1394. ;sybct.login_timeout=
    5 ?) {# a; E, c
  1395. : \0 F9 G% H" g" O
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    8 _* V5 B, B  m( k9 Z
  1397. ; Default: none
    / a# H$ F+ k+ g+ V
  1398. ;sybct.hostname=
    2 ~& _  S  U4 N
  1399. 0 m+ {5 {' {/ A* {) b1 X% {( m& A! {
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".3 ^+ c9 @- d# B" y- f2 J' T" S
  1401. ; Default: 0: e) Y* ?4 {& g+ X1 \' d+ r
  1402. ;sybct.deadlock_retry_count=
    ) }. t2 p" |( |9 L5 d% U
  1403. . U9 Q" Q8 a, n9 k
  1404. [bcmath]$ t) ]$ P; L) K. J4 S7 b. ?- R! d2 y
  1405. ; Number of decimal digits for all bcmath functions.  L3 S' o+ u8 h9 g2 H; {# ]2 o5 w
  1406. ; http://php.net/bcmath.scale% N( s* r* `( q$ S
  1407. bcmath.scale = 0) R7 W7 D5 z# o# e
  1408. ' d$ n5 K7 p" S1 g* ]7 A: I/ w
  1409. [browscap]' }" B5 e' \% C9 v& E! ]9 W7 f& \
  1410. ; http://php.net/browscap4 m$ H' T- Z1 K
  1411. ;browscap = extra/browscap.ini3 T2 C5 y8 z/ w0 u

  1412. / `6 h  q1 V; Q
  1413. [Session]3 N* L% @0 N  `! O( Q6 k
  1414. ; Handler used to store/retrieve data.; m+ t) z  Y( a* U8 p+ W
  1415. ; http://php.net/session.save-handler
      E2 q) e" D* G
  1416. session.save_handler = files) q9 m6 z" u( i

  1417. + r1 X- B6 J) n5 A. s
  1418. ; Argument passed to save_handler.  In the case of files, this is the path4 n& c4 Y1 A; k
  1419. ; where data files are stored. Note: Windows users have to change this( L0 N/ ]/ S/ a! E0 P
  1420. ; variable in order to use PHP's session functions.
    5 c! ~5 r4 ~+ X/ k
  1421. ;- m4 V  x% q7 O3 A2 t( E
  1422. ; The path can be defined as:
    3 ]* ]* A4 M/ H- o! {: v0 P
  1423. ;
    9 f, i, V9 s3 i2 J, @. }+ d
  1424. ;     session.save_path = "N;/path"
    : |9 K  x6 O! o. P& p5 I1 x/ N
  1425. ;- C  T( k6 X3 L( I
  1426. ; where N is an integer.  Instead of storing all the session files in
    4 `, Q' }( m4 W& s# E3 E3 I& E
  1427. ; /path, what this will do is use subdirectories N-levels deep, and6 b: [, K6 m, k( T2 X! m. _) ]
  1428. ; store the session data in those directories.  This is useful if1 t5 @; ]& p. b2 h8 t* n
  1429. ; your OS has problems with many files in one directory, and is
    - P; U/ s" z2 p" z) p+ o/ o- D
  1430. ; a more efficient layout for servers that handle many sessions.- W; d# q  q$ }" i" b# N- n
  1431. ;2 N' n; \" ^9 M: p6 _# j
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    $ g5 p& f) E% i$ {* k
  1433. ;         You can use the script in the ext/session dir for that purpose.3 B1 x) F+ T5 u% b: w& E* E! ?& G. O
  1434. ; NOTE 2: See the section on garbage collection below if you choose to+ ~' F# V0 c+ Z8 H+ L) H" i
  1435. ;         use subdirectories for session storage1 K# R; t# m. Q2 U& D1 l
  1436. ;5 v$ N8 o" @1 l, A- N; \
  1437. ; The file storage module creates files using mode 600 by default.3 R/ A: m0 b) [  R, V3 f' ?4 r, N5 e
  1438. ; You can change that by using
    + C% C* G7 X, P) L
  1439. ;+ T1 ]+ \  b, V& z! _. H( S5 {$ s
  1440. ;     session.save_path = "N;MODE;/path"! t2 Q$ x2 p. t' @% K
  1441. ;( U2 w/ l3 B, H1 `  u9 f
  1442. ; where MODE is the octal representation of the mode. Note that this1 e5 D. _; W+ I$ H3 P* F
  1443. ; does not overwrite the process's umask.
    4 P2 _' g! F# @: E3 Q# U3 d
  1444. ; http://php.net/session.save-path
    ! ?) E; p( m$ Z
  1445. ;session.save_path = "/tmp"
    : C5 H) \$ i* E% X2 c4 M( y  \
  1446. 4 D. G3 D8 V  ~6 b: k2 @2 \2 a
  1447. ; Whether to use strict session mode.
    9 g, F3 R; C* Z% e
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ( G7 R! y. n7 G# Z+ T$ X+ N
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects5 A5 ~5 w, h; i8 x6 s5 k
  1450. ; applications from session fixation via session adoption vulnerability. It is
    . \( p/ o4 c4 N5 u: c6 t( l
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 y) J; \% i6 X' z* V8 {
  1452. ; https://wiki.php.net/rfc/strict_sessions
    3 z( I' W6 S$ i2 M* ~. b2 k
  1453. session.use_strict_mode = 0
    / {/ ]$ _) [$ a+ K- I: c. A
  1454.   {$ ~! L/ i2 D1 J# \( N$ P
  1455. ; Whether to use cookies.: f" Z, K( L$ @: R6 M% D
  1456. ; http://php.net/session.use-cookies8 x: z# Z  q3 I* B/ O: f
  1457. session.use_cookies = 1
    . ^) s' I4 u9 P- l

  1458. ; B, U( r/ M  C# ?9 @6 L
  1459. ; http://php.net/session.cookie-secure
    2 g  x: T+ v# {
  1460. ;session.cookie_secure =' V& \7 @2 H, P* A3 W, C
  1461. ) N( a; \0 d' F  |5 L  z
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining# Q3 y* w( z  E) t4 l. f% a
  1463. ; the session id. We encourage this operation as it's very helpful in combating, h' B5 v1 c! o  B
  1464. ; session hijacking when not specifying and managing your own session id. It is
    4 r& I* O% \5 i! T, \! M
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ; \, w; P8 b" F, Y
  1466. ; http://php.net/session.use-only-cookies
    $ q  l: |3 j0 O$ S  g' K+ }
  1467. session.use_only_cookies = 1
    5 s$ N  Z) E2 e  E2 }
  1468. 5 U0 j3 N4 ~7 q- f+ Z! z- m
  1469. ; Name of the session (used as cookie name).; p* k6 @7 o/ j- j
  1470. ; http://php.net/session.name
    2 p- R& _" r' Y/ M: O" K. P
  1471. session.name = PHPSESSID. K2 O7 W; c% E0 |) B% j! L
  1472. ) h: y4 w9 u- j
  1473. ; Initialize session on request startup.
    % V3 Y  y4 \! W/ d- _6 z' h
  1474. ; http://php.net/session.auto-start
    1 r. W+ l# e. a
  1475. session.auto_start = 0
    / F  d6 j1 [% f* S
  1476. . L' Z8 r9 H1 }" G5 _
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.2 H; H5 ?4 r/ s" B6 W" e
  1478. ; http://php.net/session.cookie-lifetime* g9 g- K8 x- Q( q0 I+ q7 n
  1479. session.cookie_lifetime = 03 N4 c8 c: F! G, o, T6 |/ U7 Y

  1480. , K4 Z- [% e/ R/ c. V9 Z6 q, y3 V
  1481. ; The path for which the cookie is valid.! I+ m. W) d6 m8 s5 S+ {
  1482. ; http://php.net/session.cookie-path- [5 `0 Z8 o) a
  1483. session.cookie_path = /
    ( e* ^6 c, S4 B9 B# x* B

  1484. " l  ~$ _( N* ~3 d9 `0 k
  1485. ; The domain for which the cookie is valid.
    . _1 F3 b! K, q3 y% Z
  1486. ; http://php.net/session.cookie-domain
    7 X3 Y5 E# D6 M& d/ _
  1487. session.cookie_domain =" R+ A0 e5 a1 A5 r
  1488. 7 D& z" c4 p4 u" ^" G/ J3 y: u
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.# [+ ~8 ~: t( Z$ N
  1490. ; http://php.net/session.cookie-httponly2 y3 H( I& j# ?( e5 b4 e" u
  1491. session.cookie_httponly =+ [- x( s- L, |  B. _; w' p

  1492.   q4 h# v. X, b( ]
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.. |+ U6 ~% F( v2 Z0 |3 Y
  1494. ; http://php.net/session.serialize-handler
    # v# O% u3 T' v
  1495. session.serialize_handler = php
    " ~7 F$ `1 o7 Z' z$ H$ j1 c

  1496. 2 E) \* t" _$ Q  q* ~  v' }5 c
  1497. ; Defines the probability that the 'garbage collection' process is started
    + v7 z& \) z1 z: U- d
  1498. ; on every session initialization. The probability is calculated by using5 @8 B! ^* t2 B% k6 L( u* N7 Y, C
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ( T$ W+ ]: ]2 U6 S9 h* G6 E) x, H* q
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1" }  B; h$ G1 I1 {( ]& `1 y. A, h) |4 P
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    4 c/ u) ]+ k6 ?' e$ N
  1502. ; the gc will run on any give request.2 r/ r+ ~2 n! N2 z
  1503. ; Default Value: 1
    1 T4 k5 E. Q! G5 u" F
  1504. ; Development Value: 1
    3 {- r+ D& A: R9 T
  1505. ; Production Value: 1  O8 ]5 ^3 W8 y- I8 w" g9 X
  1506. ; http://php.net/session.gc-probability
      ?' r8 n, g9 `  }1 Q" M5 x. {$ Z
  1507. session.gc_probability = 12 v9 |1 U( Q0 e8 K4 ^1 H; A

  1508. ; K5 \/ ]# `6 r! K+ w0 G7 V% K6 c1 v* W
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    5 E3 }8 j5 G0 M) U2 v
  1510. ; session initialization. The probability is calculated by using the following equation:( b# l' D- q5 R" R- F5 T% d
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    9 e  r0 c! m% t0 J$ J
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1( |3 ^( u8 \& f5 l4 n
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 u! S5 H; d, w6 v* c
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . a! v+ u. V% D" r. o/ _; u
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ' u) p" E) Z: s1 U' t
  1516. ; this is a more efficient approach.* d7 g9 l  y! G  _8 ~, Y0 J
  1517. ; Default Value: 100; i& t7 E9 ~) P, ]9 c% x
  1518. ; Development Value: 1000
    ) [& e0 G* I  a5 z' @, d1 a
  1519. ; Production Value: 1000
    ( L3 U# I3 R8 j! \  Y1 F
  1520. ; http://php.net/session.gc-divisor6 d. F$ o% z: l5 r. k& W
  1521. session.gc_divisor = 1000
    ; t7 ^/ X# V* X9 g, V" u

  1522. 2 ]# B* t, T5 B9 z) `/ c
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and, h' N% q0 h8 s" `
  1524. ; cleaned up by the garbage collection process.; `9 V" {3 Y5 T
  1525. ; http://php.net/session.gc-maxlifetime+ }4 T7 u5 V4 }3 f9 P- M: t2 w
  1526. session.gc_maxlifetime = 14403 G" l/ A3 P' c3 o
  1527. 0 V7 [, D6 a/ l
  1528. ; NOTE: If you are using the subdirectory option for storing session files, Z1 p/ w" F0 H3 M! g. e
  1529. ;       (see session.save_path above), then garbage collection does *not*7 T3 W( B" e2 z  W4 J  V& D6 @) k* j
  1530. ;       happen automatically.  You will need to do your own garbage( C6 `, e7 Z- ^+ F" }5 \
  1531. ;       collection through a shell script, cron entry, or some other method.$ k! o  s: }; H7 N' |! h$ h% W
  1532. ;       For example, the following script would is the equivalent of( w* S! p" h/ a! T0 ^
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):# K0 Q( d) w7 i9 k
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm3 ^* ^+ f# G" _; q. a5 _4 Z
  1535. * T% Q6 D2 D- F: @
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 i9 ^9 o1 j8 ]9 X5 R0 [. ^# H
  1537. ; HTTP_REFERER has to contain this substring for the session to be, n  |4 ^6 C3 {4 A& u9 k
  1538. ; considered as valid.
    , }- t1 t4 T; b7 N) p, Q5 Z
  1539. ; http://php.net/session.referer-check
    ! D( Y* f6 ~" X0 s' e
  1540. session.referer_check =
    ' O$ S) O) K" Q0 a; O) w0 C

  1541. ; ]& S3 R0 v' j1 l% B
  1542. ; How many bytes to read from the file.2 g1 ]6 I2 q2 |8 @! U; y  F* a) b3 K
  1543. ; http://php.net/session.entropy-length
    $ g4 V/ J! f; k
  1544. ;session.entropy_length = 32( m% A0 e: a0 L, @( S
  1545. $ i! O9 j" g$ D3 }9 Y
  1546. ; Specified here to create the session id.
    , R4 e* }% {2 X
  1547. ; http://php.net/session.entropy-file" @1 Q' X% H- H$ V$ {5 c
  1548. ; Defaults to /dev/urandom
    ! D9 \( Q, @$ @, ~
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom. S( Q4 i) f5 s: W
  1550. ; If neither are found at compile time, the default is no entropy file.7 o0 _9 a- b& D6 f
  1551. ; On windows, setting the entropy_length setting will activate the! X/ t4 c* T7 H! s
  1552. ; Windows random source (using the CryptoAPI)
    & D6 u# T4 |1 L0 K" P
  1553. ;session.entropy_file = /dev/urandom4 Q' ?5 \; Q9 |, u) T) H
  1554. ! |2 R6 v5 i& B6 r) J8 ^/ @
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ; V% V& }( g2 D1 b3 l, g
  1556. ; or leave this empty to avoid sending anti-caching headers.8 b) ~! q' o* b  I$ Z4 w1 J
  1557. ; http://php.net/session.cache-limiter9 E3 F' e/ X6 ]- R: D& k( I
  1558. session.cache_limiter = nocache; o, b( K( m3 q& ?$ h4 b
  1559. ; H* k. T0 T! O. B8 ?1 P
  1560. ; Document expires after n minutes.
    3 r; d% r5 O/ ?) S4 n: P# c  z
  1561. ; http://php.net/session.cache-expire
    $ P  D  g% u# m! N) {: ^9 M
  1562. session.cache_expire = 180" L$ D1 O2 N( {4 R( S0 [, V
  1563. # T: K/ F8 ?2 ]
  1564. ; trans sid support is disabled by default.
    7 i& Y# S7 b* d% V- M
  1565. ; Use of trans sid may risk your users' security.9 R/ D  Y: {* ]6 e4 Z% L% @5 t
  1566. ; Use this option with caution.
    7 u$ q$ w( z5 P, \- a
  1567. ; - User may send URL contains active session ID
    ! I6 m6 k9 A- e: z' B/ l
  1568. ;   to other person via. email/irc/etc.
    0 p/ F3 ]4 v7 |& n4 W$ k7 C
  1569. ; - URL that contains active session ID may be stored5 i4 U/ W4 [. k. g
  1570. ;   in publicly accessible computer.
    5 \$ Z7 f; ~% @4 }7 M/ }' ~
  1571. ; - User may access your site with the same session ID
    ( O$ q+ P% K6 M' ]9 U
  1572. ;   always using URL stored in browser's history or bookmarks.
    , |' e# A! ~4 E' P) t$ D+ h- g% m8 E
  1573. ; http://php.net/session.use-trans-sid! K& e- y+ F6 ~: @
  1574. session.use_trans_sid = 0: F5 N3 e7 X) F: V. Z7 P+ Z( d8 ]) {4 X
  1575. ! b- ?8 v2 j4 f
  1576. ; Select a hash function for use in generating session ids.$ H; S* q# V) S0 F# }; H
  1577. ; Possible Values: }" X  i6 o1 p1 i( y* N( k
  1578. ;   0  (MD5 128 bits)1 s; _7 X3 Y8 F1 n3 C, y. S
  1579. ;   1  (SHA-1 160 bits)
    ' J* i* h" ?8 T
  1580. ; This option may also be set to the name of any hash function supported by
    7 v8 {# G, T! Y% L
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    - |; H1 s- E1 V7 C* @0 G
  1582. ; function.
    9 E9 X. m# f; p! M" {% u
  1583. ; http://php.net/session.hash-function' Y( W/ W5 R$ B: n3 ~3 B/ r8 k
  1584. session.hash_function = 0: u1 B) a% W4 Q; d$ R+ ?. q

  1585. 1 L% F" I: b# g7 @, |; ?, H- T9 `
  1586. ; Define how many bits are stored in each character when converting7 ]! ]+ j! [+ e. d, X7 F6 s
  1587. ; the binary hash data to something readable.+ `& t1 [1 |7 ]& Z4 P( t# b: |% m# `' n
  1588. ; Possible values:9 ~, P0 V( P8 O8 X1 z1 w
  1589. ;   4  (4 bits: 0-9, a-f)
    9 c  u  a3 x5 h' B9 R2 F2 w! p
  1590. ;   5  (5 bits: 0-9, a-v), k9 a. j  Y4 Z4 F6 ]$ C- c0 J
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")! K4 H2 T' y9 O, B4 T( z' E
  1592. ; Default Value: 4% `" g. V) f, d
  1593. ; Development Value: 5- r6 u, |* s# y8 p/ ]
  1594. ; Production Value: 5
    9 y1 `: P7 s% t9 g+ p2 r
  1595. ; http://php.net/session.hash-bits-per-character
    " Y" W2 \% O, x" ~7 o
  1596. session.hash_bits_per_character = 5# f$ |0 ~, W4 c" e  i' H& [
  1597. * W% n. q8 O) S  N. h/ ?# }
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    7 b+ w' A/ r  z4 G  B) `$ r
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    : i7 @0 v4 J" i% c& N
  1600. ; add a hidden <input> field with the info which is otherwise appended# U5 m  r9 \# z, h8 Q/ h
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.. I4 Y. j) Y, {; w2 }
  1602. ; Note that all valid entries require a "=", even if no value follows.3 M2 X% e, P) y
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="2 P% G0 B! ~2 q7 y7 `3 _0 ]
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 Q& k% V6 X5 D9 a) s5 A0 s
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : M! R3 c  |$ G$ C# F, x9 Y
  1606. ; http://php.net/url-rewriter.tags* ^8 x; G% z8 \+ N+ L8 B, x
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 U0 E% b- {; t* Y& E! D' |4 c; i/ d
  1608. 4 s/ D2 S* {4 x+ k3 N9 N2 V2 K* r
  1609. ; Enable upload progress tracking in $_SESSION
      D% z; w! N! r* C' ?% c  K
  1610. ; Default Value: On/ \) a* |4 A. v* _% ?9 s
  1611. ; Development Value: On
    4 g! N% Z( n, ^8 B3 h" J
  1612. ; Production Value: On
    . p7 S  Y7 s0 s0 r8 B: s' ~
  1613. ; http://php.net/session.upload-progress.enabled  Z$ Z1 r2 X) x9 X8 Q5 U! M  N
  1614. ;session.upload_progress.enabled = On
    & N" d% d/ |. F' M( Y) o& t
  1615.   H. K6 j" }9 n
  1616. ; Cleanup the progress information as soon as all POST data has been read
    9 X9 l" o7 Y0 d( `3 [
  1617. ; (i.e. upload completed).* g% `' _0 A# g: J3 I! K9 N: W
  1618. ; Default Value: On
    ' f( ^& q) ^6 {& g+ _
  1619. ; Development Value: On* |+ U5 Q: e& m# R
  1620. ; Production Value: On
    , l& J- h1 H0 r
  1621. ; http://php.net/session.upload-progress.cleanup
    : y4 q4 W! G- H  f* B( y1 _4 |
  1622. ;session.upload_progress.cleanup = On# V. e; P. p# L1 Y/ h+ H( O

  1623. - r! k  E. N. M
  1624. ; A prefix used for the upload progress key in $_SESSION3 v) Z6 H$ D6 K
  1625. ; Default Value: "upload_progress_"( |: G' o8 S; I* a, R
  1626. ; Development Value: "upload_progress_", ]( I$ m; v4 z* a3 |& s" {: _! J
  1627. ; Production Value: "upload_progress_"
    ! ]  ?& q% l7 K6 p, i
  1628. ; http://php.net/session.upload-progress.prefix! v+ M* b  j6 h& m- \* t
  1629. ;session.upload_progress.prefix = "upload_progress_"
    $ b+ o" |* m4 ?

  1630. % l( n6 @1 Q1 T/ b
  1631. ; The index name (concatenated with the prefix) in $_SESSION- m/ o3 B1 a3 w
  1632. ; containing the upload progress information
    , ]4 f* K/ |: Q7 A
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"- P- T; o  R8 l: O5 q6 [
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 A* r% G+ t. m7 V" y4 w
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " F* }( l% _3 p- [0 D5 G
  1636. ; http://php.net/session.upload-progress.name
    . I0 F$ O$ R" m% r
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    & \8 u" V7 }7 m/ q) C% b
  1638. ) v7 Y8 G7 _0 e( K( `
  1639. ; How frequently the upload progress should be updated.# }' U" I7 B& Y* K
  1640. ; Given either in percentages (per-file), or in bytes
    3 a; S0 B  Y2 C0 `: t
  1641. ; Default Value: "1%"
    7 B9 ~* h) e+ a9 _
  1642. ; Development Value: "1%"
    4 i4 L! T- x' a7 {$ L9 O
  1643. ; Production Value: "1%"/ M, b+ x: n  s. ]. U+ s  v
  1644. ; http://php.net/session.upload-progress.freq: J% n+ J% S3 v$ ?4 y
  1645. ;session.upload_progress.freq =  "1%"
    , i5 O3 X, k2 o) T9 M9 {0 r

  1646. - \$ n* \0 o* l; `' b/ W
  1647. ; The minimum delay between updates, in seconds: ]$ p7 N( |6 F- q$ o. r
  1648. ; Default Value: 1
    . e* [# q& O: Q
  1649. ; Development Value: 1
    * m8 C2 ]1 [' I8 D9 K% g) i* Q1 n# f
  1650. ; Production Value: 1
    2 m$ ^" Q" L9 Y" _5 f/ B: o
  1651. ; http://php.net/session.upload-progress.min-freq
    7 V. \5 o4 C6 S2 S
  1652. ;session.upload_progress.min_freq = "1"
    6 L; f( @# `8 N; _
  1653.   e0 u9 J) x  s- f4 l% K3 H) h
  1654. [MSSQL]/ I5 Z; d, g: J/ E# K
  1655. ; Allow or prevent persistent links.
    ! x( O3 Q7 V( _8 }
  1656. mssql.allow_persistent = On0 k4 t, k, C0 s2 a: D9 S

  1657. 3 S* \. Q- s- N$ _" {" w
  1658. ; Maximum number of persistent links.  -1 means no limit./ c# n6 r: D% Q
  1659. mssql.max_persistent = -1
    & T( b9 S4 ?& k' Z5 s) X( ]

  1660. * Z5 I# G2 n: b8 s# j6 X& d
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' o% Z4 `7 \+ f
  1662. mssql.max_links = -1
    6 E; w2 F6 k# Z, a" P
  1663.   P0 R1 I' o# |
  1664. ; Minimum error severity to display.
    * |+ C6 \( I! Q8 T5 p, a6 ~& {
  1665. mssql.min_error_severity = 10$ O3 }* w2 r3 W5 x7 j
  1666. ( ~, Y6 w, A7 |* v7 p9 a. x
  1667. ; Minimum message severity to display.
    % h4 ?8 K+ q/ b7 N$ J. ]$ r" a( }
  1668. mssql.min_message_severity = 10* ^' C0 U$ M. H* J% u; L5 N8 h$ {

  1669. ) T2 d8 N7 a% M/ m& E( ]3 V
  1670. ; Compatibility mode with old versions of PHP 3.0.3 C. a  a# W7 v
  1671. mssql.compatibility_mode = Off8 v/ e( c) Z: @
  1672. 6 g/ ]# \7 \( A' S
  1673. ; Connect timeout
    : E/ |4 W* m8 h7 o  m6 F7 p( U% M
  1674. ;mssql.connect_timeout = 5
    / ^2 b1 N) N0 W

  1675. * O) c& C. u8 M1 t; d9 S
  1676. ; Query timeout2 w' {3 s! ~" X4 `
  1677. ;mssql.timeout = 60/ E0 n) R# b- _% k! t$ n
  1678. 2 {; M+ F* S9 @
  1679. ; Valid range 0 - 2147483647.  Default = 4096.. U1 f, {3 }( O6 F
  1680. ;mssql.textlimit = 4096
    & D, M- \6 ?6 j/ p/ B( e2 x% Y
  1681. 7 x  y. y; B7 G1 C
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    4 c: w& t, w4 B+ g4 N
  1683. ;mssql.textsize = 4096
    1 }- r8 }. p$ w, `

  1684. - P2 k/ @$ n7 ^, ]0 g7 K
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.$ f) v$ \! e! y
  1686. ;mssql.batchsize = 0
    . R0 {. V" a/ g" {2 L

  1687. 7 f( p. k1 B% N5 c! \5 ~! d
  1688. ; Specify how datetime and datetim4 columns are returned
    $ Z2 R. |; l% O2 l
  1689. ; On => Returns data converted to SQL server settings
    ) u- |5 W+ g& D( w7 w2 j+ j* h& n- r
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ( E7 P. G  {6 X# I; }
  1691. ;mssql.datetimeconvert = On! T% U# u- j' A* p" k* G6 g; G

  1692. 9 r4 `! P* h! F/ I6 J
  1693. ; Use NT authentication when connecting to the server
    ( \5 \, c* t2 v4 k5 o0 T+ w
  1694. mssql.secure_connection = Off7 o, V) Z9 D: Z  Y6 Q
  1695. 9 [8 u# l" L# K6 f# Z, p5 S
  1696. ; Specify max number of processes. -1 = library default, b* b- S" H: `8 N
  1697. ; msdlib defaults to 253 ^) Q( S: b% X
  1698. ; FreeTDS defaults to 4096
    8 u, S! I, B$ K/ m9 V0 A& Q) k
  1699. ;mssql.max_procs = -1
    : _' W1 O) \8 N# X+ ^, _1 Y

  1700. 5 N+ M# i  y$ E& ?& _
  1701. ; Specify client character set.
    8 |  N, C% L, a8 b! F2 v
  1702. ; If empty or not set the client charset from freetds.conf is used& p; p8 \$ h. x' j$ v
  1703. ; This is only used when compiled with FreeTDS: J( V/ ?9 |2 B. p$ ^  c
  1704. ;mssql.charset = "ISO-8859-1"
      Q: y; e" d4 N, }& i1 l- n2 G

  1705. ! I* g/ u! ]2 D. Q' K: P7 H, x
  1706. [Assertion]
      q4 D6 t  f  p- i2 J" r- Y
  1707. ; Assert(expr); active by default.3 K8 t" L+ I* X0 D8 C
  1708. ; http://php.net/assert.active! Y* j; H0 T* ?: X- Y( T% `. U
  1709. ;assert.active = On
    7 V! F  c0 X" D  {
  1710. 4 b- Y6 d  A! h) v0 F8 _
  1711. ; Issue a PHP warning for each failed assertion.
    5 `* I$ D1 x, g- ~$ C8 \
  1712. ; http://php.net/assert.warning) }- ~' Y4 i7 C0 e. f# K
  1713. ;assert.warning = On
      U$ i4 ^; b3 `! n# e0 D4 o

  1714. / Q0 a- i4 ?9 n3 ^5 N$ s
  1715. ; Don't bail out by default.
    ) k. B( b+ {( A: D/ q/ x7 j9 O  h  `
  1716. ; http://php.net/assert.bail* |: T- @; {2 {) G
  1717. ;assert.bail = Off  {% r8 S8 Z0 y

  1718. * P4 n& o+ S& T! @6 t, s" G' A
  1719. ; User-function to be called if an assertion fails.
    # T9 l; e, o/ ^
  1720. ; http://php.net/assert.callback6 l4 ^/ ^$ O7 D: e8 f
  1721. ;assert.callback = 0
    5 @& o/ \3 [+ B- ~* z
  1722. ( q2 I5 K/ E" b" n2 P
  1723. ; Eval the expression with current error_reporting().  Set to true if you want+ g3 ]9 L( f" j2 b1 l; h7 [, f
  1724. ; error_reporting(0) around the eval().5 e$ X% y7 S4 K: @
  1725. ; http://php.net/assert.quiet-eval! r3 p+ c# v9 X% ]" \+ a
  1726. ;assert.quiet_eval = 0
    3 Z: @6 k& g9 ]( {

  1727. 9 \1 e8 _: @6 \) e
  1728. [COM]; E7 U# ?8 Y8 u4 _8 |
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs1 @$ ]( l" l8 M
  1730. ; http://php.net/com.typelib-file
    " Y$ X6 r5 n' e; P
  1731. ;com.typelib_file =! O9 h2 a4 O9 {1 H. e
  1732. - L% @  E0 _$ q4 f, v7 U  F
  1733. ; allow Distributed-COM calls
    # W, k7 F, x( W
  1734. ; http://php.net/com.allow-dcom
    / S6 a* f$ Q4 `" M& ^, A# w, T
  1735. ;com.allow_dcom = true8 p# ^8 e$ _4 {' u

  1736. 2 s+ ?+ g4 l2 n. I1 e  o
  1737. ; autoregister constants of a components typlib on com_load()
    3 R, a; T  ?( F( z" M: v
  1738. ; http://php.net/com.autoregister-typelib/ N7 A% p* _  ?& i) K" y' |
  1739. ;com.autoregister_typelib = true. R- w3 G6 V. T  S6 X; Z- V

  1740. 6 S9 T/ K/ M" Y* @7 x) K/ @
  1741. ; register constants casesensitive1 Q' @& a+ K7 e3 W
  1742. ; http://php.net/com.autoregister-casesensitive* P; K9 D( `( b( w' Q1 Q
  1743. ;com.autoregister_casesensitive = false
    7 z% ]7 d) g6 A3 V/ X, C: g

  1744. 3 G" `3 S  g; r; G* Q6 a/ _
  1745. ; show warnings on duplicate constant registrations& q8 b/ D2 Q# [7 s& J+ U' I
  1746. ; http://php.net/com.autoregister-verbose
    2 V, C: k: T5 p
  1747. ;com.autoregister_verbose = true
    " a/ q! e: w7 S  z. r

  1748. ' ?8 R) L+ R; k, o2 B4 B0 }( Z
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    , A/ [" c/ |3 {8 T) e! G
  1750. ; Default: system ANSI code page' V% z1 J6 N" B3 |* ]! a
  1751. ;com.code_page=5 C4 \/ a) i4 o+ y! T- e4 C7 y

  1752. # _& E9 ]  d3 y9 p
  1753. [mbstring]
    , j9 k: K" b7 n
  1754. ; language for internal character representation.
    9 @$ i6 j0 o2 }; F( o, v
  1755. ; This affects mb_send_mail() and mbstrig.detect_order." i4 v" t7 d) |& I% i3 @
  1756. ; http://php.net/mbstring.language
    : V5 b" W! t, R' E
  1757. ;mbstring.language = Japanese
    ; o' M. K" O6 X; \& z& l
  1758. # y+ h  }1 r( x. h/ U
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) C( ~, r- V/ x- E, \* b. f  U* V
  1760. ; internal/script encoding.
    / G0 h. j1 q2 _7 P5 v. g' k: H
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ I+ m8 I, R6 o, R+ \8 d
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 `- e6 ]6 m9 z- b
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding) j, I9 ]0 B- W) ~
  1764. ;mbstring.internal_encoding =2 O+ O6 @, I! i; i& D$ x1 h( [
  1765. + S; ~0 ]& e  y# t. V3 q1 U
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ }9 m# G* C! N3 }
  1767. ; http input encoding.: @" X  v+ F& O- a  |+ H
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.3 h1 u% l; I+ \' u) U1 u' ?
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.: t8 _/ Q, y0 @7 j. g! Y, O
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    & S! d6 e1 U9 M  l0 i
  1771. ; http://php.net/mbstring.http-input4 k6 V; w' U; y
  1772. ;mbstring.http_input =
    0 R, ?+ C' o& n+ |9 {8 l' }
  1773. / f; z# L3 ]% `& w6 U
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.2 h% |. I0 i! s4 i# n; x
  1775. ; http output encoding.. a; Y& R. |5 U2 G' ^/ s
  1776. ; mb_output_handler must be registered as output buffer to function., _  C! ^9 _! j6 h1 M9 y
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    - r! `) r! u0 G& A
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + ~7 x& r0 Q" S$ R; R7 n
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    . L  }. t& d6 G& F; Z- ]. Q
  1780. ; otherwise output encoding conversion cannot be performed.
    3 z. |- b' U  _* P% g% p* {8 h0 n
  1781. ; http://php.net/mbstring.http-output
    ' [4 |; i" L8 z+ s7 X
  1782. ;mbstring.http_output =
    " _" A* W4 Z" i2 e
  1783. 5 \! n3 j) s# Q& [3 U  w; F  i$ j
  1784. ; enable automatic encoding translation according to
    ( d2 B) M9 |$ Q3 m6 f
  1785. ; mbstring.internal_encoding setting. Input chars are  Z+ b8 `5 ]+ P' R/ x% V; T3 |" Y
  1786. ; converted to internal encoding by setting this to On.! }- r  k2 u% v1 P8 e! ~
  1787. ; Note: Do _not_ use automatic encoding translation for
    3 X8 w! A0 E  W% R
  1788. ;       portable libs/applications.
    ! d7 Q: u2 b" U5 H2 T
  1789. ; http://php.net/mbstring.encoding-translation
    - T( {' f" v: B
  1790. ;mbstring.encoding_translation = Off- F' |5 g3 w( Q# Y' h8 [2 U7 S
  1791. $ I; p7 D& P% j9 I  F
  1792. ; automatic encoding detection order.7 s- e9 ?2 h, f* l) A' A0 \1 P& O+ D
  1793. ; "auto" detect order is changed according to mbstring.language
    9 q" n. P; D  ]6 Q
  1794. ; http://php.net/mbstring.detect-order/ a% a9 z- j+ |
  1795. ;mbstring.detect_order = auto# @: r/ |( H- t& C$ O' L. W
  1796.   H. ?" v# }4 j  o$ ]3 G% y# B
  1797. ; substitute_character used when character cannot be converted
      f! `( O% |3 L) \6 ]2 R  J
  1798. ; one from another1 @- Z9 \% W0 I. l# k
  1799. ; http://php.net/mbstring.substitute-character
    1 ?( ?0 u' e" F4 ~, m
  1800. ;mbstring.substitute_character = none9 E6 f7 b8 O$ ]. ~
  1801. + C( S: H6 W9 s# s( t6 A8 j
  1802. ; overload(replace) single byte functions by mbstring functions.
    2 W& @/ E7 F) X3 l8 A
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),7 E% |( P8 C2 d
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ( l9 w- r) P( J( u3 i  q7 G; |
  1805. ; For example, 7 for overload everything.0 p7 j% h! c/ J. c" U9 `& e
  1806. ; 0: No overload9 \8 A# |/ I2 G( Q4 r9 {1 N
  1807. ; 1: Overload mail() function9 }3 q& O, d% g' T! Z( A( m( f( W6 k7 h
  1808. ; 2: Overload str*() functions
    $ q5 W' e$ v; x) L
  1809. ; 4: Overload ereg*() functions+ t& r7 O' h! r/ D; m: M0 t8 E
  1810. ; http://php.net/mbstring.func-overload
    $ i* B8 X. k' B8 X6 |% w
  1811. ;mbstring.func_overload = 0
    1 e8 I1 H( r3 x6 l/ \0 [

  1812. * I! V) O, t, c; z8 Z# U
  1813. ; enable strict encoding detection.4 Q( p5 w" |3 Z
  1814. ; Default: Off
    7 G. ]' f& t+ Y: F
  1815. ;mbstring.strict_detection = On! T7 |4 x* w& E$ o. M9 O

  1816. . l4 w1 X5 L5 q" ]# ^1 ?
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    - C2 u6 d& K! }& N% b
  1818. ; is activated.  _$ i& M! Q  Q' @( W$ @5 p
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 M- q/ O% J* E2 {" W3 j+ _' Z- g
  1820. ;mbstring.http_output_conv_mimetype=2 d, [) ^4 w! o- d' t% j( N% r
  1821. 7 a% V  \9 w3 _; Y8 F
  1822. [gd]
    , [3 w: ^4 I2 B& g
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    " D/ D! `! u. A4 s0 f0 s. V
  1824. ; a gd image. The warning will then be displayed as notices
    $ t5 r4 ]# f( ~: a, c
  1825. ; disabled by default
    4 G* z. e! `3 u/ ]! s* G. ?, d$ `
  1826. ; http://php.net/gd.jpeg-ignore-warning* X5 ?+ z) g# O4 D+ `5 g
  1827. ;gd.jpeg_ignore_warning = 0
    2 \+ v# E8 ~) P  \# f% _
  1828. % e  ~, E& @7 r5 Y3 e
  1829. [exif]3 r5 @( h; _& w7 z& R# i- }3 a
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    : X) A  e5 \/ A9 R1 C4 s
  1831. ; With mbstring support this will automatically be converted into the encoding! g6 S: Q, i0 ?, H4 b
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding- ^9 J. c0 y4 ^- s6 T4 T
  1833. ; is used. For the decode settings you can distinguish between motorola and
    / F. w4 Y( ~7 N3 c
  1834. ; intel byte order. A decode setting cannot be empty.  X+ Z0 D2 E! I5 R4 S/ Q
  1835. ; http://php.net/exif.encode-unicode
    % v+ q( F* ~3 _
  1836. ;exif.encode_unicode = ISO-8859-150 G0 i% y: l% D; I8 y% a- g2 t. s
  1837. ! k! [7 W" s' X# H# e" ?% R5 {
  1838. ; http://php.net/exif.decode-unicode-motorola
    ! u/ B5 H" _# V3 C7 F8 c% M% X
  1839. ;exif.decode_unicode_motorola = UCS-2BE
      Y* \3 N" }# t

  1840. # M$ u6 m* |, Q% f! o
  1841. ; http://php.net/exif.decode-unicode-intel
    1 l" v" \: n, M" U# s& F$ ]# t- r
  1842. ;exif.decode_unicode_intel    = UCS-2LE, ?3 \" ~6 m9 d' A! P& l& \, Q. X2 o

  1843. ( E0 c; A- V' i4 ]8 _5 O. K8 H
  1844. ; http://php.net/exif.encode-jis
    / _! c/ h7 J; O
  1845. ;exif.encode_jis =
    ! I; r4 Y! Q  g( ?, f! x, q( L

  1846. 5 S# C) C5 j4 L9 F# N( ~
  1847. ; http://php.net/exif.decode-jis-motorola" x( G3 N! G  z- l
  1848. ;exif.decode_jis_motorola = JIS
    ( V7 J7 E2 U, F- |& e3 ^2 U
  1849. 7 }; w+ V1 }+ K9 n
  1850. ; http://php.net/exif.decode-jis-intel
    4 T2 [7 O* W3 h( P' p
  1851. ;exif.decode_jis_intel    = JIS9 e0 I% ^5 R# Y4 ]' c

  1852. % L8 \- D" s, n7 o+ |
  1853. [Tidy]
    8 }, o, p/ L% ?% |; L
  1854. ; The path to a default tidy configuration file to use when using tidy8 V7 p  o5 v! ?$ n. I6 Y# t  a4 a
  1855. ; http://php.net/tidy.default-config; c; H6 E1 F' p! C5 }
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg( ^" f) r- A0 F4 e  L) u

  1857. 6 I% c8 P8 _4 B; ~, m) q
  1858. ; Should tidy clean and repair output automatically?' l$ p  \& K- Y; V. r* s( G* _8 v
  1859. ; WARNING: Do not use this option if you are generating non-html content' W9 o; R( H0 h. H3 `/ I3 Z+ v" U
  1860. ; such as dynamic images. L+ {2 U* c+ t. T0 H, R+ F* G
  1861. ; http://php.net/tidy.clean-output  b5 l8 w& I( i% w5 z+ ~. q% E
  1862. tidy.clean_output = Off* Y' D( b( N, \& H& h! F" N

  1863. - ]! a" a% R# @, c8 `* ~
  1864. [soap]
    8 L* Z  V5 w* T, w' Z& N2 D5 q1 q  O
  1865. ; Enables or disables WSDL caching feature.2 N2 p: y2 n  I+ H" I* ^6 \4 C
  1866. ; http://php.net/soap.wsdl-cache-enabled
    0 u! a. H) H: Y9 Q( `* \  W6 W
  1867. soap.wsdl_cache_enabled=1
      f0 v  z2 L% P) T8 x7 y' y( m! d

  1868. 4 w# Z. S/ l) N9 B9 |
  1869. ; Sets the directory name where SOAP extension will put cache files.4 Y6 N$ c5 i$ \0 I6 D) h2 R* O: O
  1870. ; http://php.net/soap.wsdl-cache-dir5 m' n! F3 _* ^, {' t; a
  1871. soap.wsdl_cache_dir="/tmp"
    ' a! Q+ y( d$ b& W% E! r
  1872. " W+ T0 u& s7 T
  1873. ; (time to live) Sets the number of second while cached file will be used3 v2 p3 l# y' k/ V. p$ e2 A
  1874. ; instead of original one.' U. A! ^+ O" Z
  1875. ; http://php.net/soap.wsdl-cache-ttl
    * _1 [0 q7 ^& u& Y9 q
  1876. soap.wsdl_cache_ttl=86400
    " i, ^0 @. X$ u+ R7 J* Z, H

  1877. ( a& f. A  M+ N1 Y( Y7 ], F( H
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; H& u0 [& D9 g
  1879. soap.wsdl_cache_limit = 5" b( _2 W) Z+ N/ _! f/ f. L  ?
  1880. 8 |4 z6 h- q: u+ V2 @* O
  1881. [sysvshm]
    ! k2 w/ ^: s: h
  1882. ; A default size of the shared memory segment9 j" e* M+ z5 I
  1883. ;sysvshm.init_mem = 100009 G. [! i6 s3 a1 G
  1884. * f: W* F/ c3 j8 X4 u  K. t
  1885. [ldap]# z2 u; H6 E0 C# a
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    : U: {% Z1 Z% q& x  d  A0 V% }
  1887. ldap.max_links = -1
    & H* K! S, I3 M/ O8 j
  1888. 3 `- o# v; v* ?1 Y' K
  1889. [mcrypt]
    - q% W' J6 K$ F4 R: Y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    4 x0 Z3 M4 l7 t8 f# w9 ^& q
  1891. , s# J5 t0 ]$ i5 _; D
  1892. ; Directory where to load mcrypt algorithms
    & R  j+ R/ D" m7 y$ t0 P. Q
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% m7 z% l) o  n# C$ m8 _
  1894. ;mcrypt.algorithms_dir=
    $ P* w7 K# b9 \
  1895. 8 P  ?% X2 h/ F1 n$ A6 {
  1896. ; Directory where to load mcrypt modes2 C3 p2 {4 J( G+ }) C  i  I1 }( Q2 I
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! ^( s- \; A' L1 R$ @0 Y- M) E4 D
  1898. ;mcrypt.modes_dir=- P) Q! U$ Y3 _1 L$ d/ k

  1899. 9 L  H! j) w8 H( z+ u6 i" @
  1900. [dba]$ ~8 }: {) L- q
  1901. ;dba.default_handler=& ^% s3 [; ~6 c  @: a

  1902. . a9 m7 r; t8 T+ g; U3 }" M
  1903. [opcache]: l6 b& _" {7 W1 u3 ~0 k1 _
  1904. ; Determines if Zend OPCache is enabled0 D: k9 z8 J2 M
  1905. ;opcache.enable=0
    " V) R8 d6 o2 s/ V7 j$ p

  1906. 4 |4 K$ R7 s8 H( S# ~5 B1 F% b
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP4 K" h; O0 r! h; k3 k
  1908. ;opcache.enable_cli=0" |9 k1 q9 E/ w% {4 ~
  1909. : e" \6 j" V8 X' A9 @
  1910. ; The OPcache shared memory storage size.
    % e- R* {: H9 Y
  1911. ;opcache.memory_consumption=64$ J5 a! E2 i4 C& F7 X

  1912.   v5 ]6 H) f, U2 a9 k' q8 F) f% S
  1913. ; The amount of memory for interned strings in Mbytes.
    " K: h* E0 Q" U+ \4 [: i! s
  1914. ;opcache.interned_strings_buffer=4
    . ?3 ?# C9 G: ^- U8 h

  1915. $ C" ], S- c/ y
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.) u& R( M* y9 f" X$ X, g
  1917. ; Only numbers between 200 and 100000 are allowed.# }6 [* C5 u. P* {. Z+ M# `
  1918. ;opcache.max_accelerated_files=2000
    # m7 }- k, ]: ]0 H
  1919. * G* N9 a5 H' }  K' g2 ?
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ Y  T- L  V0 w" U0 U$ {0 B
  1921. ;opcache.max_wasted_percentage=5# B. s) p$ N9 p. W) ~9 r

  1922. ) w( Z- q7 e% C; s& @# K7 F
  1923. ; When this directive is enabled, the OPcache appends the current working
    ( W/ t# Z# j3 O/ u2 a$ |
  1924. ; directory to the script key, thus eliminating possible collisions between
    ! v3 u/ O2 y7 i' `
  1925. ; files with the same name (basename). Disabling the directive improves: ]2 G* t8 g4 {, Q
  1926. ; performance, but may break existing applications.
    ) }5 L4 C. e  B  U& ~
  1927. ;opcache.use_cwd=1, k$ k: r( ]! J' v5 y
  1928. % d, q$ Q9 q8 x
  1929. ; When disabled, you must reset the OPcache manually or restart the
      M: B1 s7 s* l( D
  1930. ; webserver for changes to the filesystem to take effect.
    8 c! y4 G  R5 O. ~- U5 Z
  1931. ;opcache.validate_timestamps=1  j  J, [6 z: Q: D( Z0 }; W

  1932. / `3 m. e" G$ s. {
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    , n; Z+ |  V+ |
  1934. ; memory storage allocation. ("1" means validate once per second, but only  o1 k+ p5 i4 K# w
  1935. ; once per request. "0" means always validate)
    ! O; g( f7 r$ ?. _
  1936. ;opcache.revalidate_freq=2
    / \6 ^) i7 a% ~' O0 J4 H

  1937. . w( G) n) m/ b9 q, B. h' c* z
  1938. ; Enables or disables file search in include_path optimization$ L; J- T  g; L/ ?, ^
  1939. ;opcache.revalidate_path=0
    $ {) _4 C- @. u! u( Z/ x
  1940. 7 s+ p. A+ E& d2 J
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the! Y. x5 Q" ~8 t( Y8 B) Q1 i& E, ~
  1942. ; size of the optimized code.* s* D8 D0 O, _4 }' _
  1943. ;opcache.save_comments=1
    : R' m6 y% s& A9 I

  1944.   n. R) i) g" O) T* Q! }
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    , W5 ~# _0 p# c1 n+ b+ v
  1946. ; may be always stored (save_comments=1), but not loaded by applications# H/ D: @! a6 u, Z5 T1 N3 Q) [4 w
  1947. ; that don't need them anyway.
    7 \# [3 t2 g% s* a4 a: p0 q$ x  G3 R
  1948. ;opcache.load_comments=1
    / O/ Q2 H" m3 l& V2 j1 a

  1949. 3 C5 `4 p; Y& p  Q/ q' |$ L- s
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    - m3 D; `, D; f7 G3 M
  1951. ;opcache.fast_shutdown=0! [* f5 Q, P6 m. W8 V+ T; T

  1952. / ~  T6 u  |9 V; x. t) H0 d- J
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    4 h% z# D9 V$ ], ^1 ?
  1954. ;opcache.enable_file_override=0; ^& _5 P# R7 X6 \6 y3 t, O
  1955. 6 I# `1 `- S! o0 j# L- X6 d" `' E
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    $ M" m2 i" G* J! U; d! C4 ?
  1957. ; passes4 t/ L2 B7 w. u: ^) _
  1958. ;opcache.optimization_level=0xffffffff
    ( K; S5 g5 i( {" A5 r/ W1 U8 E

  1959. % N! l+ w3 @7 i7 N  ^
  1960. ;opcache.inherited_hack=1% \8 J, `9 Q( _) l: R+ k
  1961. ;opcache.dups_fix=0
    1 |3 `7 G( _7 P+ O. `

  1962. # C) U9 K0 B& G
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    $ Z2 b4 d/ P) J, T7 ?; ^2 j5 Y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
      ^8 v' h. v7 u, \( Z
  1965. ; that should not be accelerated. The file format is to add each filename
    - N& f6 L* G3 l/ g3 l, U) H5 C9 r
  1966. ; to a new line. The filename may be a full path or just a file prefix  ^  P5 }4 U( W2 j
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    % n! ~6 Z, u6 M9 p6 [6 \1 L
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 ^% }* [  H* M, i4 k3 X
  1969. ;opcache.blacklist_filename=
    $ o8 W- y% p- x, v% h, f
  1970. ; A5 O# Q6 f  E4 x
  1971. ; Allows exclusion of large files from being cached. By default all files7 ~, ?1 }& [$ S- V3 U7 g
  1972. ; are cached.+ c5 N6 s: }/ k" @4 w  g
  1973. ;opcache.max_file_size=0
    # p; E( u3 [$ o: y! ^
  1974. ) K6 i7 f2 j6 s. y0 |  j
  1975. ; Check the cache checksum each N requests.
    ! _+ [, ^2 f$ T6 U; g
  1976. ; The default value of "0" means that the checks are disabled.
    7 r  f  i. O( `! y
  1977. ;opcache.consistency_checks=0( }  O+ r! _; x1 d" u
  1978. 8 |. y+ J! E# ~6 q
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    9 U! x- H  e! l# U7 B1 \
  1980. ; is not being accessed.4 K! y; q0 m+ T, T6 r0 m+ u
  1981. ;opcache.force_restart_timeout=180
    + n# J+ h5 @1 B; R7 ?

  1982. , n3 T/ x: r; L6 \) p7 l
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    9 B% `" H5 L4 S0 g3 _
  1984. ;opcache.error_log=
    ; A- M' K  I6 p4 y- |2 i4 \8 I
  1985. 4 a" L  D0 [4 X9 v$ g  Z
  1986. ; All OPcache errors go to the Web server log.; u7 O2 {0 F9 T, N7 ]
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ! Y# Y! m& F! _% C9 g* |0 x
  1988. ; You can also enable warnings (level 2), info messages (level 3) or) j4 u( r) j2 [, J$ e; \, b* `9 B
  1989. ; debug messages (level 4).. P+ z( E$ g* N( ^7 u6 ~
  1990. ;opcache.log_verbosity_level=1
    ( d, G" k( ]4 S
  1991.   I" F; K( A. }9 T
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    0 M8 Z- P$ t1 a9 P9 @" R9 x( z  D
  1993. ;opcache.preferred_memory_model=, D, [+ j1 ?, |& B9 A
  1994. $ ~# j2 l% R! X5 e/ ~5 `! s. {9 S
  1995. ; Protect the shared memory from unexpected writing during script execution.
    . b" W# e: j- x
  1996. ; Useful for internal debugging only.' z6 V: o7 C  A) K" J
  1997. ;opcache.protect_memory=0
    ! j+ q2 x4 J( Q% C- t
  1998. 3 U# O0 P( Y' t" U
  1999. ; Validate cached file permissions.4 I" w8 t0 A' d1 M3 s/ R+ [- L2 m) f
  2000. ; opcache.validate_permission=0
    ) E9 l; i5 }( P7 H

  2001. 9 B/ u( U1 b/ m1 P* M  w1 K
  2002. ; Prevent name collisions in chroot'ed environment.
    8 m/ R; g1 c, S4 N4 h
  2003. ; opcache.validate_root=03 W; V$ k' ^0 \5 ~' b+ I1 a, U
  2004. 2 W% x0 p6 b! O8 K
  2005. [curl]( b4 e5 r& j+ o3 \1 s+ T: T
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 K1 Z% Y" k, L3 h9 d
  2007. ; absolute path.: T( d, R& J. y1 E/ l, q( _* x
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    + ?+ G" s* P6 K7 L9 t! j) e
  2009. * M5 \9 H% a2 e) V
  2010. [openssl]
    . k" l7 e( _: o  @* P) I9 J
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    . V3 ?6 l7 S) L- `; Q: h/ O
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) q2 ^8 k- g4 e+ W) ?6 p6 {
  2013. ; not specify a value for this directive as PHP will attempt to use the. ~9 u* L! |4 I3 [8 |
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ; J/ w0 ?$ K; I# i' t
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context& [7 c, H/ G% x9 j
  2016. ; option.7 B9 [' Z" d2 I* _0 s1 `. T* M5 }
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 a* j. C' x2 @0 \6 S2 B. q

  2018. ) G: _4 o( C- |9 X3 o' a& R
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    - \5 I; @1 ~/ o6 d4 |% }% Z
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ) j# Y0 q$ s/ e0 L' y0 Q3 V& E7 i, b
  2021. ; certificate. This value must be a correctly hashed certificate directory.2 y& |- ^( Y( i8 U) C$ D
  2022. ; Most users should not specify a value for this directive as PHP will
    . b& V: h6 ^" v0 z( k" D4 Z
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    6 ]& @* U& Z: @: q
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    & j4 h3 m6 }. F: `( E5 p
  2025. ; SSL stream context option.- q4 I$ r4 T& h! J6 t* n
  2026. ;openssl.capath=
    & _% Y; C; a4 C
  2027.   n) t, F8 _* S/ x- ^) p8 U
  2028. ; Local Variables:
    ! P/ v9 N5 u+ H3 q% ^' ?; Z
  2029. ; tab-width: 43 T) p  P& S, @1 X1 Y
  2030. ; End:7 F1 V/ S' d6 g3 L2 @! R$ f1 y

  2031. 3 D6 ]2 M3 ^0 g+ I
  2032. ;eaccelerator
    4 @" l8 f, ^/ k6 H0 A; b

  2033. $ r# {( g4 W! ]; x* O- y2 z
  2034. ;ionCube% r% a- }/ W3 L$ h- l

  2035.   [+ h7 `/ X! Z* P- G
  2036. ;opcache1 o: A' L; X* Y; `% E  I
  2037. " Y5 `" x; L4 V6 @
  2038. [Zend ZendGuard Loader]& o, d7 q; z1 U, l( p9 L" N
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so7 A+ S# f3 I( c
  2040. zend_loader.enable=1% M+ i1 e  p# b' b7 e
  2041. zend_loader.disable_licensing=0
    2 W3 l3 @6 R6 a/ |  j4 [- o
  2042. zend_loader.obfuscation_level_support=3
    . ~( U* T, J2 F1 P, S. a" H
  2043. zend_loader.license_path=
    - s/ t+ G1 J9 S! o8 ^0 [

  2044. ' s0 k; c. U' l' j: T
  2045. ;xcache5 E) N. C2 f9 p" |+ N& i# ~
  2046. ) Z3 L) z8 Y/ e. w" f- @
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692) Q+ m9 I0 R4 L  L4 u, x8 i

) |2 h$ Z, I3 `! {. C& P2 l/ y8 T+ ^2 m) S5 Z/ J; ^
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,( O; \" ]) b8 r( ]4 j4 i

( L/ L* T9 [  f2 J& K- ^& pDiscuz!程序版本选择:. D% g2 W3 x7 p& B# u
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
' T0 C/ S* z' j7 Z4 d+ K- P不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:9 Y9 A8 K1 ^/ ~0 y; B' k8 `
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
9 ]! i. u8 e/ k+ d0 ~7 w
8 B' l. y8 A7 U+ n# V/ @# ?Discuz!插件模板版本选择:' R! n; D, v7 j8 x  e8 q
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,' k5 I# o! A% A/ J
针对这个问题做个统一的普及:  C0 `/ h! Z' u' U
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
% s) \1 Z. h  z6 g# W/ B8 ^' _- r$ a& B) w8 d5 i) h
所以* h$ `( k; ]' v. W5 s5 M( A" p
适合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的二级域名。  |* W! R  t. p6 c, j  t
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。5 }  p% M4 T7 W* k/ G! [
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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