分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
& W2 C9 q; c8 w4 ^5 K# _! n& O: j: A6 `3 z, g, K3 _" b
  1. [PHP]
    5 H; @, w6 d) g! m) `, k9 d
  2. " m  o+ W& J  F7 x% {. u
  3. ;;;;;;;;;;;;;;;;;;;& E5 B6 o/ {" S/ |
  4. ; About php.ini   ;; r5 }- S4 j* s8 U8 \. J
  5. ;;;;;;;;;;;;;;;;;;;
    ' W  G- n8 u  e1 t7 U" N
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 g* J4 `- {5 H3 M; Y: m
  7. ; configuring many of the aspects of PHP's behavior.
    ' N0 A' p4 ^9 L8 Y

  8. : r" H# p& m& U5 [6 ~. x: l' V
  9. ; PHP attempts to find and load this configuration from a number of locations.
    4 U" O7 u$ Y/ r
  10. ; The following is a summary of its search order:
    , ?7 r6 p$ }8 Z8 q
  11. ; 1. SAPI module specific location.% t8 `2 g2 C3 k* I) \. b+ I/ x
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    $ L% {# H, X: ^6 k+ ~" I
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    & o' ]" S( L0 q) ^7 Q: a8 e  F
  14. ; 4. Current working directory (except CLI)
    0 o# U- l' n+ K$ ^* ?
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP2 e. l) r' u5 O, O5 u( G
  16. ; (otherwise in Windows)  q! r  Y! }& |+ b( v3 Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the2 i4 P% z- r- B; x$ Y7 h7 h
  18. ; Windows directory (C:\windows or C:\winnt)& A: ?# |) y1 q
  19. ; See the PHP docs for more specific information.
    2 j# m0 t' [0 d; r7 `
  20. ; http://php.net/configuration.file4 X) y7 z, Y5 U- P, @

  21. $ [" }" ~$ O. T: z- D0 h1 V
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    % B- T/ {6 P$ E# p2 P' F* D
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).1 t3 @2 ^+ s1 w% T* `4 T6 _: w, R
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    / U8 w2 @, R2 w+ o( q, n. n1 n
  25. ; they might mean something in the future.7 d! y% ~8 L  V: p- E: U' S5 Y1 C

  26. ( S2 Z' g7 D3 K; d( G7 u
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 B5 A6 }; t# x
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ' W8 {: m7 w, x  Z, p
  29. ; following the section heading [HOST=www.example.com] only apply to
    . l) {$ K0 N% n. F7 R1 X) {
  30. ; PHP files served from www.example.com.  Directives set in these
    2 @& t1 k6 S7 V, U/ L, k
  31. ; special sections cannot be overridden by user-defined INI files or
    6 T5 V6 c: K5 D# Y. D
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % E3 J" q. d6 J( i
  33. ; CGI/FastCGI.7 W5 n% s& E, y% _( ]1 V
  34. ; http://php.net/ini.sections6 l4 o0 M4 |: H6 ^8 j2 V( I+ S
  35. ) ?7 }$ f9 p' B/ B2 |
  36. ; Directives are specified using the following syntax:
    8 J7 i4 k. J5 O1 A; c, S8 N- R
  37. ; directive = value/ x( K" h/ g1 A# A9 A7 P% s
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    7 R) B  n1 q* J! N
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ' X6 T! @9 j/ x
  40. ; There is no name validation.  If PHP can't find an expected
    , p. e/ y  P6 y4 W
  41. ; directive because it is not set or is mistyped, a default value will be used.0 ~0 D2 X* P: F' ^4 h% u

  42. 9 S: W5 c, x0 T
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 G) S7 U; |1 C  X9 g8 V
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ) F: j8 k; i4 e/ K- N* Y9 j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ' {/ X' p& `- S& w3 w+ _4 {: S
  46. ; previously set variable or directive (e.g. ${foo})
    + n, x0 Y+ Y( P8 m" t- z
  47. ! j3 K5 E$ J7 W7 t" k
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    * [6 m( n9 D" O  J3 j6 i
  49. ; |  bitwise OR
    , Q8 u) o7 @& K+ [3 L8 S
  50. ; ^  bitwise XOR
    5 \  B. d* Y0 C" W9 X: |0 Q. K
  51. ; &  bitwise AND" n7 U% L2 _2 I2 B9 ]
  52. ; ~  bitwise NOT
    ; E2 ~8 H7 @5 ^/ Y8 P- f* L( f( W
  53. ; !  boolean NOT: W. J/ a. _$ x, l2 Y+ [7 a  _" g
  54. / o' V0 X4 x. L. E, M0 B8 C
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    4 U7 u) _8 b# c6 t
  56. ; They can be turned off using the values 0, Off, False or No., q( c( ~  H. ?  o' C+ }

  57. 3 z; g* x5 g) w* e- L' |
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ( Y9 |% ]' {& _8 M
  59. ; sign, or by using the None keyword:
    - \3 _, T4 T" q  ?
  60. $ v. _! U+ K1 }8 E
  61. ;  foo =         ; sets foo to an empty string$ U" }  W2 h6 z8 \# b  s
  62. ;  foo = None    ; sets foo to an empty string
    - w+ G+ \  A+ |; ^
  63. ;  foo = "None"  ; sets foo to the string 'None'0 D7 X  i8 g7 j( h6 f& _
  64. 0 a* L( h' D# _* i+ J7 A, A3 s
  65. ; If you use constants in your value, and these constants belong to a
    & E8 |# N9 ^9 Z" }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & R: F! U# _& f: j- H
  67. ; you may only use these constants *after* the line that loads the extension.- W; v0 F, l4 e8 O
  68. * g: U+ t# M: x. W0 l7 z
  69. ;;;;;;;;;;;;;;;;;;;! x( B  X& i' ]1 \
  70. ; About this file ;$ Y) f3 F; ?$ A: g. H4 {
  71. ;;;;;;;;;;;;;;;;;;;
    7 @6 V2 q0 Y7 z- K' a) X
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    " [0 T& D% k7 h$ h3 d8 G
  73. ; in production environments and one that is recommended to be used in5 O9 Q. m3 k/ l+ I
  74. ; development environments.
    ( b2 x: d, g, i4 ^5 }
  75. 6 c3 J5 @+ a) U3 G. b( Y- n
  76. ; php.ini-production contains settings which hold security, performance and  v, ?& T; c8 @  B* i) E4 k7 W
  77. ; best practices at its core. But please be aware, these settings may break( ^  V0 W) C$ T, W# _; W0 `  r
  78. ; compatibility with older or less security conscience applications. We
    " S+ Q2 ?0 D% X  W2 ?% j6 ?
  79. ; recommending using the production ini in production and testing environments.0 U5 \  k" O9 a1 U. P! e4 s$ t* m

  80. 3 X8 P3 U1 K* T3 ^
  81. ; php.ini-development is very similar to its production variant, except it is
    * X) l( l! [* o% F, L
  82. ; much more verbose when it comes to errors. We recommend using the
    , R7 R  s% `6 B& @' {2 z! z
  83. ; development version only in development environments, as errors shown to
    & a  q' A; g& ]% m( @- w$ m
  84. ; application users can inadvertently leak otherwise secure information.8 n% r& X0 G5 }, X, {- ?3 N& D
  85. 7 K3 ^. F; h  S# }
  86. ; This is php.ini-production INI file.
    9 i: J8 n$ C8 @2 u# Z3 t* K; S  C/ F

  87. * t6 J6 p8 k, N0 |/ z, C; }
  88. ;;;;;;;;;;;;;;;;;;;& o" D7 L) g% A+ ?
  89. ; Quick Reference ;1 }/ w( s, V! u$ T! ~" w6 ]2 s' N) S7 W8 a
  90. ;;;;;;;;;;;;;;;;;;;
    8 A* u# N0 S! L5 e# V  T; Y* H2 t
  91. ; The following are all the settings which are different in either the production  {3 Z, b9 s/ @, @! s0 ?* `$ j
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # U7 i. l1 W" _; v& z9 ?% F5 x
  93. ; Please see the actual settings later in the document for more details as to why
      w' u# N6 q: b2 e3 N+ _6 O! I
  94. ; we recommend these changes in PHP's behavior.$ Q: U0 d1 a: ]& X$ {; t

  95. ' D. j+ Z- [# x5 }$ f
  96. ; display_errors/ ^6 |- m4 `% N6 P2 J
  97. ;   Default Value: On/ @1 T! b+ y4 y& T
  98. ;   Development Value: On: C6 k- F* \" A2 A
  99. ;   Production Value: Off
    5 A  x/ q) E) K0 `' t
  100. ' g' [& w& q' u% i8 h0 W) h
  101. ; display_startup_errors
    % B% B$ Q% ^5 r& }4 G1 A) E
  102. ;   Default Value: Off
    9 o( H# s) w) Q* G) }
  103. ;   Development Value: On$ I4 [1 w' F' H. a) `. l4 c9 W
  104. ;   Production Value: Off8 u# O3 `2 w7 T; F( C  v
  105. : \" c  B. l" y
  106. ; error_reporting# J+ f2 Q6 _  ^9 F/ Z9 {# u2 u
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 m5 X0 k2 G8 X/ Y
  108. ;   Development Value: E_ALL
    2 u; f. h, A# B4 Q8 ?/ ^3 L; s; ^
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( l- d& Y# z/ E, K, {) d3 C
  110. 3 s- A* _+ j4 f1 _% ^; A) O
  111. ; html_errors
    : }1 Q  G* ~) k5 }0 y) ~
  112. ;   Default Value: On$ j  |  x1 ^0 u% N' U: A
  113. ;   Development Value: On
    $ @( @9 k! U: [% b& b) a
  114. ;   Production value: On5 K9 }0 g6 x8 Q
  115. / ~' h% \# s* N9 q. x
  116. ; log_errors
    4 Z* l! S* d& Y( K+ E9 v* G
  117. ;   Default Value: Off
    4 y% S2 [( \) p5 ~* y' u4 b! R+ [
  118. ;   Development Value: On
    . C6 o4 O& m, \8 F5 g! w
  119. ;   Production Value: On4 d5 B4 Y( m/ f

  120. # u0 }: U# Z" D; K. g' W1 ^0 D# W
  121. ; max_input_time
    0 P, ~% n4 K& l9 u  A/ j
  122. ;   Default Value: -1 (Unlimited)0 \, Y, R  w# p
  123. ;   Development Value: 60 (60 seconds): e* ^1 f# ~, g. y. w% Q! B
  124. ;   Production Value: 60 (60 seconds)
      m2 I3 R/ d, V  \  g1 L

  125. , V& [5 D" a0 ?& t  y: e
  126. ; output_buffering
    4 h$ P, [! u/ W) W7 G2 l
  127. ;   Default Value: Off
    & Y1 W+ [  V6 T3 f' Q- h' K; n; _
  128. ;   Development Value: 4096
    . C2 I( d2 p4 q
  129. ;   Production Value: 4096
    2 {& X( o( Q% X) H2 ?
  130. 7 \2 h9 G# K/ n- l- P7 h
  131. ; register_argc_argv2 a1 A' R$ M9 @: }, q+ ^
  132. ;   Default Value: On6 U- d+ W5 m7 @
  133. ;   Development Value: Off% @, V: i, j6 w7 q3 d' n
  134. ;   Production Value: Off- c* _7 q0 j+ E9 i& G6 m5 a
  135. 6 D4 l( N  o8 s" G! b- H# V
  136. ; request_order. x* {' r$ g3 \% \1 b$ S6 s3 ]+ L
  137. ;   Default Value: None
    2 V7 S$ `6 O) [. ^
  138. ;   Development Value: "GP"
    / Q2 ^( |" p% {4 H( H; v
  139. ;   Production Value: "GP"4 b( f$ w- E$ ~) i" L9 A* w

  140. # K- j0 o! p4 w8 f- s' ^
  141. ; session.gc_divisor
    : H$ r/ P% s0 ~- a& k
  142. ;   Default Value: 100
    & c: l+ O& s1 L: N6 m
  143. ;   Development Value: 1000- q' w  r7 R) X" C* M$ E
  144. ;   Production Value: 1000
    7 @) z3 m; r6 c- {* ^' X
  145. * M0 ~9 j9 v' ~; ?0 S' G
  146. ; session.hash_bits_per_character
    . p8 T% ]6 U) I+ E" `& y( l- i8 X. f# C
  147. ;   Default Value: 4
    : a3 e9 W3 I2 M$ \* p
  148. ;   Development Value: 5; l4 }2 A( V) W
  149. ;   Production Value: 5
    # V' M0 h7 H% C0 Z
  150. 2 n# ~7 r& c  l3 Z/ x4 n! e9 F: u
  151. ; short_open_tag1 c# ^- H! U. I* |0 S
  152. ;   Default Value: On0 D$ S3 F3 |( u! [! E0 X
  153. ;   Development Value: Off
    & d0 e# A* T5 Z" K; O# O
  154. ;   Production Value: Off# ^% i- i' W* B" X9 S$ u+ g$ d

  155. 7 G0 g" I$ p$ g. ~( d
  156. ; track_errors0 N4 d( s1 |5 d. l
  157. ;   Default Value: Off
    & n, r; d% d4 p; v0 D6 [
  158. ;   Development Value: On  G" F" s) z( Z& _1 \/ K
  159. ;   Production Value: Off
    3 `; q' X# t3 A# v  ~. t( T
  160. & w& M1 b$ i0 R* q% p! k0 x
  161. ; url_rewriter.tags9 _+ R" g5 l0 ]- _9 O  D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ R8 G* Y$ M* b+ e$ c2 n; V* Q6 {
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # S8 q* @% I3 T" O0 f( {) f) K. H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 g) w* U9 L9 S. I# C5 ?

  165. & Z4 C3 ^5 i5 K7 n$ D9 P4 }6 b
  166. ; variables_order/ a3 g7 p- o6 |9 ?8 d. ^
  167. ;   Default Value: "EGPCS"
    ! M, k6 S" D* t; |
  168. ;   Development Value: "GPCS"
    1 w2 b( l# N  z) j' R' a1 g) T
  169. ;   Production Value: "GPCS"
    6 H1 S- m7 i6 X  ~% ]! H% c4 l

  170. 5 a) V: s$ ^9 q) a
  171. ;;;;;;;;;;;;;;;;;;;;
    + q* A+ n+ P" q( e- B6 R
  172. ; php.ini Options  ;. L; Z: n; ]" X5 i3 T* J1 a
  173. ;;;;;;;;;;;;;;;;;;;;3 E, ~$ y6 }) u4 X& {
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    % b( H8 p* f/ a( q
  175. ;user_ini.filename = ".user.ini"% P* ^9 t  A7 I, R6 q' F4 X! X. q
  176. ; U# a5 x/ B1 d0 F, |/ X
  177. ; To disable this feature set this option to empty value& `0 l# W" f& P) @9 M
  178. ;user_ini.filename =( N0 y' E& m8 N6 W1 F
  179. ( A* ~1 `( P% Z# V! L2 h: B! Y( a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)( O+ ]* T; Q% i: ^
  181. ;user_ini.cache_ttl = 300" s3 f( b5 W4 d- O) M( \
  182. 3 V/ F' H, ~' ?6 x2 T6 m
  183. ;;;;;;;;;;;;;;;;;;;;0 M7 G% h6 D% r0 j0 j; F
  184. ; Language Options ;1 S, P' f( C# p$ h4 ^
  185. ;;;;;;;;;;;;;;;;;;;;
    7 a5 X" ?, ]. c& }4 J7 Z, Q; G- C

  186. % a5 _: O7 Z* Z
  187. ; Enable the PHP scripting language engine under Apache.
    ! P5 ~; B( ~+ d, X: D
  188. ; http://php.net/engine# \2 Q5 }* @5 P3 w6 p/ `( V: j2 S2 c
  189. engine = On3 {# W  W6 {9 ~" d' R
  190. 3 |7 o2 J6 D! u' F
  191. ; This directive determines whether or not PHP will recognize code between5 j% o5 Z8 V* D' R( r3 N% N
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 w- A' O% j% w
  193. ; generally recommended that <?php and ?> should be used and that this feature1 h. @1 c, L& l3 [) n: g5 X, r4 q
  194. ; should be disabled, as enabling it may result in issues when generating XML7 B) n- f4 ], R
  195. ; documents, however this remains supported for backward compatibility reasons.
    " C/ D8 X- W; D. U6 I8 \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be) Z" {9 }1 P4 b! R* c8 ?$ l
  197. ; used regardless of this directive.1 g- o# a' V  k+ s8 o6 k  g& S
  198. ; Default Value: On
    / P, N0 b8 g4 t, ]/ |
  199. ; Development Value: Off
    - g, G8 ]$ z* l* b
  200. ; Production Value: Off
    + Y) c; m3 g" S3 M: N  \
  201. ; http://php.net/short-open-tag
    7 T- l# M: M- |& K2 Z/ {; W+ G( P5 I
  202. short_open_tag = On1 y# [1 Q* J/ c1 A  X3 ~1 S6 ]+ k5 ]. i
  203. 9 D- K  t' t+ d$ n& {$ L% N- j
  204. ; The number of significant digits displayed in floating point numbers.$ E: x& b8 }" O" V
  205. ; http://php.net/precision$ ]4 |& a7 c' K* \$ V
  206. precision = 14
    - Y& l" t3 Q0 z

  207. * o: F2 k/ R  Y: ~1 R1 [# m
  208. ; Output buffering is a mechanism for controlling how much output data4 ?. Z* q& n0 O. T
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - _6 M$ [/ q- C5 a6 k1 R1 r
  210. ; data to the client. If your application's output exceeds this setting, PHP2 t( l- \/ \  b, y" f! Y0 Y5 @
  211. ; will send that data in chunks of roughly the size you specify.
    # `; i3 O$ U$ f
  212. ; Turning on this setting and managing its maximum buffer size can yield some+ N2 {$ w; r  J$ k5 z
  213. ; interesting side-effects depending on your application and web server.
    ' ~& F% ?" b; u& @" v
  214. ; You may be able to send headers and cookies after you've already sent output
    & h  G1 w, `* @$ t) V+ C+ t
  215. ; through print or echo. You also may see performance benefits if your server is8 m" x3 g4 ^) _% X: m0 V  z
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    9 _* y4 a4 Q; R3 P2 h; O
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance7 q+ p* W& T! [- J# S* \% n
  218. ; reasons.
    3 R4 Q" A. V2 T, |. {4 A+ R# D6 x
  219. ; Note: Output buffering can also be controlled via Output Buffering Control8 a: o6 e& w$ V. r2 l. O" X; a5 N
  220. ;   functions.% f. e/ ]& }% S( u
  221. ; Possible Values:
    4 l  `4 B7 U4 s, [+ e
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)5 W+ K; I8 Z9 J! \
  223. ;   Off = Disabled
    4 J% z3 H* O3 r2 H) E. f
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.; O" b0 e5 t1 l( m  }. ?1 x6 ^
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . w7 E6 @: I$ w9 ^& Q
  226. ; Default Value: Off5 P5 _# W( d% y
  227. ; Development Value: 4096
    + {; N' X5 w* h+ O" V9 x
  228. ; Production Value: 4096
      X! R7 G5 A  ^
  229. ; http://php.net/output-buffering
    ' V8 M: M& g2 `" y( j
  230. output_buffering = 4096" y; `$ l: I3 G& ~

  231. % f* l. y  k% A* }: c3 c* f
  232. ; You can redirect all of the output of your scripts to a function.  For0 s1 E& Z5 A* F0 T: e! a8 |+ i4 c
  233. ; example, if you set output_handler to "mb_output_handler", character7 O' |1 X9 |4 J/ U$ ]( l+ m& {! \
  234. ; encoding will be transparently converted to the specified encoding.  e" V3 M+ z8 k5 ~' s: k
  235. ; Setting any output handler automatically turns on output buffering.6 f1 w! N1 [3 p/ ^5 j
  236. ; Note: People who wrote portable scripts should not depend on this ini
    $ L% U. d! a( [& R7 w
  237. ;   directive. Instead, explicitly set the output handler using ob_start().. k% N( e" q$ R6 g; B% L
  238. ;   Using this ini directive may cause problems unless you know what script
    / n* T% O+ J3 Q* T0 y3 q5 B* j2 g
  239. ;   is doing.6 y) n+ n- G( K1 F1 A8 [9 Q
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"/ C% r# z/ P4 \& |9 d6 k  B5 `
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".3 Q; `5 N" J- z# R: u" _/ \
  242. ; Note: output_handler must be empty if this is set 'On' !!!!' {, d9 R+ J# {
  243. ;   Instead you must use zlib.output_handler.
    , D# f' ^- f( M& X- ?, I$ y- [
  244. ; http://php.net/output-handler0 _1 X0 P7 m2 l# {
  245. ;output_handler =& Z, l3 [2 T; s4 e. O
  246. $ {4 c' P$ u8 b* M( H
  247. ; Transparent output compression using the zlib library
    % T. C9 R4 x5 H7 Y" m
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    3 c( B* x5 y* y0 I5 S- W+ v
  249. ; to be used for compression (default is 4KB)
    2 T' E+ [8 \; Y4 r# b( ~- Q
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 x* Y% A, _" U& ?, j
  251. ;   outputs chunks that are few hundreds bytes each as a result of& V7 Q' Z# h3 j+ y. ?! v. p: A# ^
  252. ;   compression. If you prefer a larger chunk size for better
    1 P4 [; E9 R( F+ x
  253. ;   performance, enable output_buffering in addition.
    1 Z4 f% I5 y7 I) l* u4 N2 S
  254. ; Note: You need to use zlib.output_handler instead of the standard. a9 Q. o: L% p
  255. ;   output_handler, or otherwise the output will be corrupted.
    7 B" W& `/ n4 w2 e+ V% f7 Y
  256. ; http://php.net/zlib.output-compression4 G* {* i6 c2 N6 [0 D- T
  257. zlib.output_compression = Off, J0 [; u0 i$ H: O$ Q! i) o
  258. / I7 o$ ?! a$ _9 ?3 P
  259. ; http://php.net/zlib.output-compression-level" ^2 v2 e9 Y9 M$ ?
  260. ;zlib.output_compression_level = -1( L3 V3 o8 ]* _

  261. / R3 U8 J" s# |; T% W
  262. ; You cannot specify additional output handlers if zlib.output_compression2 @% e- y, z" P
  263. ; is activated here. This setting does the same as output_handler but in4 H2 }$ S8 M9 e3 ?3 E! \: Y* T6 G% o- s
  264. ; a different order.
    ' c& ?8 u: D, M* ?5 I0 v7 H2 e
  265. ; http://php.net/zlib.output-handler6 @9 [1 R5 N+ K5 B+ T
  266. ;zlib.output_handler =
    . M/ B$ _# G! p. n
  267. 5 V; E. J. A: A9 B8 ?+ _1 A% H  ^
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    - k7 q( o; x) G# y
  269. ; automatically after every output block.  This is equivalent to calling the
    * G9 `% d# X, o! v# h
  270. ; PHP function flush() after each and every call to print() or echo() and each7 v, O) U3 \' g# e- w7 z
  271. ; and every HTML block.  Turning this option on has serious performance1 t" U5 z3 R9 `  g+ F, U+ q& {
  272. ; implications and is generally recommended for debugging purposes only.+ b/ ]1 W1 r' u) s1 c6 h
  273. ; http://php.net/implicit-flush
    2 H  ^; g$ U; C2 q! s
  274. ; Note: This directive is hardcoded to On for the CLI SAPI2 ^9 L2 [1 N) W
  275. implicit_flush = Off
    / E3 |: _0 B* r7 C7 T2 w9 Z
  276. ! L' }- s. H& K# K- X3 r
  277. ; The unserialize callback function will be called (with the undefined class'
    5 W9 \6 C- U1 {* H6 B; A
  278. ; name as parameter), if the unserializer finds an undefined class
    3 V/ e0 ?9 [, w
  279. ; which should be instantiated. A warning appears if the specified function is2 E; y6 S2 Z  u/ A
  280. ; not defined, or if the function doesn't include/implement the missing class.. |0 u3 B: O% ^
  281. ; So only set this entry, if you really want to implement such a; A" G" Y* x8 R! u* t' B
  282. ; callback-function., j, J2 u6 K% `
  283. unserialize_callback_func =
    # t( R: N- Y3 h- q

  284. 4 j* g7 ?! _/ J& K( t! A$ N
  285. ; When floats & doubles are serialized store serialize_precision significant4 w$ E* [4 [# l6 v( ~( A, K
  286. ; digits after the floating point. The default value ensures that when floats
    7 E# k8 S3 L2 q+ T7 e4 y( J
  287. ; are decoded with unserialize, the data will remain the same.
    ' M6 A# D( K% o# l
  288. serialize_precision = 17
    $ E5 A) m0 }3 l+ ]$ O5 [
  289. 3 y( ]8 [' m& A- ?+ W: O( G
  290. ; open_basedir, if set, limits all file operations to the defined directory
    ) u7 U' ?0 e5 j9 f& ~3 e$ Y
  291. ; and below.  This directive makes most sense if used in a per-directory7 n! k4 }8 G9 z8 V  H
  292. ; or per-virtualhost web server configuration file.0 z1 X" o4 S  H* c5 b8 T! E, C
  293. ; http://php.net/open-basedir6 w* O# o0 f) X
  294. ;open_basedir =* u  ^/ L$ R! e  r( M: e

  295. & f7 R" T: v0 A. t
  296. ; This directive allows you to disable certain functions for security reasons.) v1 O8 H- M$ {
  297. ; It receives a comma-delimited list of function names.( F# w, \3 S/ W$ n* U4 F
  298. ; http://php.net/disable-functions
    8 P5 f6 A. e2 C6 ?* \
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! a5 f) l. E3 t, t" I
  300. + m3 j2 W! t! J8 n5 N/ \# x
  301. ; This directive allows you to disable certain classes for security reasons.; V# c" \& X2 W9 [& \
  302. ; It receives a comma-delimited list of class names.
    8 U& |& c$ l! x/ ]7 i0 x$ B9 y% _* ^
  303. ; http://php.net/disable-classes$ w- u. [; f. k' z; g* v' H
  304. disable_classes =
    4 P3 ~9 n- f) p) j* ]4 k

  305. 5 e" L; \+ J: ~% `6 B
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in9 A  o: Y: F! H; v7 x
  307. ; <span style="color: ???????"> would work.8 M' Z1 P# J/ I0 e9 j4 ]  o
  308. ; http://php.net/syntax-highlighting
    8 ^2 @2 O+ _" _# u5 C  `# I
  309. ;highlight.string  = #DD0000  u9 v; Z" b& j
  310. ;highlight.comment = #FF99001 d/ y% u, }4 @6 b3 T2 P
  311. ;highlight.keyword = #007700
    7 s. M; M/ z3 U! F2 f( l! q
  312. ;highlight.default = #0000BB# m# @/ L, p  ^0 D$ R
  313. ;highlight.html    = #000000
    0 b$ v  E2 G  B5 q% z! N
  314. 7 ^6 `" v' s* l" Y
  315. ; If enabled, the request will be allowed to complete even if the user aborts' L8 C5 ~$ u. ?- ^. j8 `
  316. ; the request. Consider enabling it if executing long requests, which may end up
    8 ?. f5 K/ H. A" j0 E
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior- j7 j+ _( b9 R5 w; p# p
  318. ; is to disable this feature./ \8 i) ]% \( \8 C
  319. ; http://php.net/ignore-user-abort
    5 W6 c) x/ I+ r4 |% Q+ _
  320. ;ignore_user_abort = On
    9 r  i2 q) Z! o0 e

  321. 1 y. g, }. v( F- g
  322. ; Determines the size of the realpath cache to be used by PHP. This value should0 s% j; `3 {3 ?/ @4 H
  323. ; be increased on systems where PHP opens many files to reflect the quantity of. c" N0 B, I% _  \
  324. ; the file operations performed.
    # O% D& I/ L! C0 j% o) x
  325. ; http://php.net/realpath-cache-size0 q5 l; R. H+ y! [4 R
  326. ;realpath_cache_size = 4096k6 @( {: I3 B8 t" a+ d+ P( l
  327. : i. o9 }7 ^$ K) S% S& m" ]1 u
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    2 c5 r% P4 h; r# m# j0 _5 d
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    8 z7 z* o) b9 E1 J# Y
  330. ; value.# u: C( f+ r* p6 ~
  331. ; http://php.net/realpath-cache-ttl
    ; o! f" P! w1 O- {, l7 @
  332. ;realpath_cache_ttl = 120$ T3 J4 O; O! I

  333. * |, I* F2 g* C3 N
  334. ; Enables or disables the circular reference collector.+ w* ^" l5 F9 J5 [. J2 {9 c' H  u/ v5 b
  335. ; http://php.net/zend.enable-gc
    3 g; f: p6 ?6 k2 G, p
  336. zend.enable_gc = On. `$ S. t7 V7 D; E! C* q

  337. 5 g3 w% u# i9 b1 k7 ?
  338. ; If enabled, scripts may be written in encodings that are incompatible with7 v% t) N( {* f
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ) Z$ G- @: e9 c6 s8 n  Q9 e
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 S+ G2 P5 a; i+ M7 {6 l
  341. ; Default: Off
    " }3 ^; v* l+ Z6 i0 B
  342. ;zend.multibyte = Off" `) i* q1 b8 ?9 E; M5 l

  343. " f1 Y0 d1 h) j
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ' N  O3 m: w1 x6 w/ t
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    & U# j5 j5 j# @0 [
  346. ; Only affects if zend.multibyte is set.
    1 t2 f0 D% g! w+ p2 P( E
  347. ; Default: ""$ v# U: h/ ]1 A8 V" A* {
  348. ;zend.script_encoding =
    - l3 _3 l& v. v, x; d9 N1 E
  349. + Y8 @) Y" f7 C6 _' h7 X
  350. ;;;;;;;;;;;;;;;;;
    ) D9 x: ~4 x+ [3 \, F
  351. ; Miscellaneous ;/ K, a5 l% @4 @, p
  352. ;;;;;;;;;;;;;;;;;' B0 H; E' U3 O! \- I5 {
  353. # a& K2 i# {7 h1 n$ Q3 c! [( {' i' H
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    - k" n) t' e$ U% G; Q6 X
  355. ; (e.g. by adding its signature to the Web server header).  It is no security7 F+ P  G) E. q% i
  356. ; threat in any way, but it makes it possible to determine whether you use PHP  m; L% N9 v3 H1 k6 {' _1 Y
  357. ; on your server or not.7 `5 N  {; g) T$ [8 {
  358. ; http://php.net/expose-php
    7 o6 T% |$ v9 ?4 b$ Q5 B/ `
  359. expose_php = On
    + R4 B( J& D& K& b' b' w% G, {" F! P
  360. ' ~$ g. I* d1 ^0 @3 |) V
  361. ;;;;;;;;;;;;;;;;;;;' c- O- W2 g7 F6 j5 a7 z3 D
  362. ; Resource Limits ;
    ( A! E( [2 q+ i8 S5 e
  363. ;;;;;;;;;;;;;;;;;;;
    1 _$ Z. @2 I) y+ X; }7 s3 w0 S; b, w, }

  364. 4 C; d- M  @- M) N/ w$ j# M0 c
  365. ; Maximum execution time of each script, in seconds# T. Y. N# D, i, ~/ y$ s8 u% z! ^
  366. ; http://php.net/max-execution-time  d% y0 ]2 a6 _9 @2 K4 S% L% z! P
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ K" b: S; e2 G
  368. max_execution_time = 3008 V+ P6 T4 ?. Y
  369. * _$ n6 u$ s. B
  370. ; Maximum amount of time each script may spend parsing request data. It's a good4 |1 U. B8 k/ P
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 Q, e: v( g$ y( W2 c8 ]" L
  372. ; long running scripts.
    3 y6 X. l& Q. M5 S$ j
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 N1 N" @+ a. g  o
  374. ; Default Value: -1 (Unlimited)' f) a0 E8 A5 U, l" }2 ^0 M& c
  375. ; Development Value: 60 (60 seconds)( \$ C- ^0 c" X' o% V; I% E
  376. ; Production Value: 60 (60 seconds)6 [0 t& M. o8 Y3 x3 D/ f4 ~$ z
  377. ; http://php.net/max-input-time
    + J7 g: ?3 y4 x' i1 e) n
  378. max_input_time = 60
    : f! X; [2 m/ B; F- `3 j/ h

  379. * E) A( X! i6 g0 `3 G: F. H" K" t* W3 M' r
  380. ; Maximum input variable nesting level' ?; `( l# W- `4 {1 A. p# t; N( U! M
  381. ; http://php.net/max-input-nesting-level
    3 p: T# S6 s. j3 r
  382. ;max_input_nesting_level = 64
    $ N4 ~' y# H, B' F$ z, g+ |7 M
  383. 6 O1 b. I' l% _9 ~; z
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ) D- N/ q6 s# Y
  385. ; max_input_vars = 1000+ Z+ f/ Q- d/ O8 L! V

  386. ' i% t& ~8 H8 W
  387. ; Maximum amount of memory a script may consume (128MB)
    / s* b$ f( i5 h: H3 @
  388. ; http://php.net/memory-limit
    * T/ [+ K$ I8 h# \& q" B
  389. memory_limit = 128M
    5 h' H7 f$ D# e" k: b2 o) T! }

  390. 6 U8 ^; `6 {; X4 R5 V3 j$ n+ p. Q
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    / C  I* }+ ~$ {  o8 ^
  392. ; Error handling and logging ;" k0 a: k8 |; o4 z! k
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      C" X- }; D5 I! y! c  Q& k! a

  394. 1 y( P8 [3 ?; N: y$ ^9 y+ j
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    / N5 }0 u, r5 A) K
  396. ; it to take action for. The recommended way of setting values for this# ^9 b5 m/ D: X- e0 E
  397. ; directive is through the use of the error level constants and bitwise; O8 j& I( t& D  k
  398. ; operators. The error level constants are below here for convenience as well as
    ( w; ^: ~% I- k+ w0 p, Z* X, S
  399. ; some common settings and their meanings.
    + v5 ?4 @+ ]% B0 J  e) Z8 j
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 s3 X, O4 F6 C: `, E; B4 d
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 E( e3 |# _% H. W/ E
  402. ; recommended coding standards in PHP. For performance reasons, this is the4 L) b/ X- i) T8 }: Y# y, J0 a8 C
  403. ; recommend error reporting setting. Your production server shouldn't be wasting# O, J: Q% M5 |- B
  404. ; resources complaining about best practices and coding standards. That's what( j+ c' Q: _# k( Q7 d9 ]( h
  405. ; development servers and development settings are for.
    8 i" `+ M' A$ A$ H0 E, |
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    , g2 T2 M' ]3 C6 p* p
  407. ; means it pretty much reports everything which is exactly what you want during3 T0 w5 _' v6 E
  408. ; development and early testing.% Q1 v' J) Y# I6 M
  409. ;" k4 ~- f* M2 M% y
  410. ; Error Level Constants:: f) Q2 ^; M- _. U: |) Y* {
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 S8 c: d% Q4 b( }* e
  412. ; E_ERROR           - fatal run-time errors
    5 H( a$ Z; K8 f
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 t! O' g' h- b0 e, V
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    # Z  d; u* \4 H+ C' R% ]: e# g
  415. ; E_PARSE           - compile-time parse errors
    ; {3 f" D5 b; T: X' w2 p8 g
  416. ; E_NOTICE          - run-time notices (these are warnings which often result4 E: J2 q5 f6 b2 i9 l
  417. ;                     from a bug in your code, but it's possible that it was
    ' O8 S' h# ^) v- v9 Q* N$ w
  418. ;                     intentional (e.g., using an uninitialized variable and
    5 Q4 Z  P7 U  M. [: x. S
  419. ;                     relying on the fact it is automatically initialized to an! h. E* _- ]! c/ x) G0 \
  420. ;                     empty string)0 c, ~  c; L$ v& p2 W) a9 k: h* \
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- V1 L% g) Y" V& N1 H0 Y8 o
  422. ;                     to your code which will ensure the best interoperability
    % N( [3 c3 r# C- }6 j6 l6 K& m9 j+ U
  423. ;                     and forward compatibility of your code" {' H" Z- F. p
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ! J* W$ c4 {: B) ~; b
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    . c( b2 l, X4 `# n
  426. ;                     initial startup
    . W4 r0 f5 M" W1 b3 p
  427. ; E_COMPILE_ERROR   - fatal compile-time errors2 c" f, H: D1 ?8 Z0 Z
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; i" T' _! R5 k1 q) E" ?
  429. ; E_USER_ERROR      - user-generated error message
    8 r8 t- l# |% e7 y; R  T
  430. ; E_USER_WARNING    - user-generated warning message0 Z. y$ A3 b; h! \) N6 w! k. w
  431. ; E_USER_NOTICE     - user-generated notice message! J) u' R( l" u  o- F3 p) C
  432. ; E_DEPRECATED      - warn about code that will not work in future versions6 `: S, v. ]: a& t. X0 A& _
  433. ;                     of PHP7 ~5 P+ ~' Z4 i  _* a5 \/ a% L8 w
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings( v- n- i4 R1 E
  435. ;
    " Y* b( \, {7 `
  436. ; Common Values:
    ' Q, z' _9 r  K6 u8 i9 q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 m& o/ K, L3 m  v
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices), \5 e2 U# ~1 A2 {6 N
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) W5 ^: }& Y  Y6 q+ f5 j" u
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)5 g0 s2 t6 G8 S! ?# B! }0 V+ F
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 W# V" F! B8 ^
  442. ; Development Value: E_ALL
    ' f# g, y- D- ~/ q  X4 z) ^* h
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) {) _& b% H4 `5 c: Q
  444. ; http://php.net/error-reporting
    9 x! D% ^) F7 x3 ^) C, s+ e, D
  445. error_reporting = E_ALL & ~E_NOTICE
    2 J0 r7 u( S- i5 x' L4 z) v

  446. 3 [8 D& A  y: C2 x
  447. ; This directive controls whether or not and where PHP will output errors,
    + [3 V' j& [& {: E' R
  448. ; notices and warnings too. Error output is very useful during development, but
    , @6 u% l4 Q* v0 r" G" {; ?7 e+ L, E! w
  449. ; it could be very dangerous in production environments. Depending on the code+ t. o; q7 q- b' V( M8 i, l# B+ a
  450. ; which is triggering the error, sensitive information could potentially leak
    5 O* K5 u$ [( \/ n  p  H
  451. ; out of your application such as database usernames and passwords or worse.
    % Q+ a  W: k9 {9 ~' S! s2 n$ o
  452. ; For production environments, we recommend logging errors rather than) ^6 H+ R( p' n- i( `" l' q
  453. ; sending them to STDOUT.2 H  ]6 T: D# A
  454. ; Possible Values:
    # b: Y- s7 f6 @6 A  n9 i0 b
  455. ;   Off = Do not display any errors
    * v- p( f7 q9 \- S
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)* m/ ~: N2 ~+ Y: A
  457. ;   On or stdout = Display errors to STDOUT3 i: V2 J8 p/ N, `* l( k$ d
  458. ; Default Value: On
    " w  s% A4 ^" s: X0 b! _$ Y* p
  459. ; Development Value: On1 t) W  K. T3 n& }) U
  460. ; Production Value: Off$ e, N( y( `* [- Z: l7 o
  461. ; http://php.net/display-errors1 C+ Q. d. a; i( {+ ^2 N& }, _7 f
  462. display_errors = On5 S, a. ]& w9 ]" m+ x5 \! H! f
  463. / O3 V& Y# V4 |# s
  464. ; The display of errors which occur during PHP's startup sequence are handled
    5 }. b! z4 V) ]; H' l+ u
  465. ; separately from display_errors. PHP's default behavior is to suppress those0 f5 x8 \& u# ~$ i3 h* U! s1 e5 {
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    2 H8 _  G0 }- G& [
  467. ; debugging configuration problems. We strongly recommend you
    8 Y$ F, n; G7 F+ ?
  468. ; set this to 'off' for production servers.
    1 Y3 }& x% Z# }9 x6 \  G: S. A
  469. ; Default Value: Off! ^! Z3 L& |( ~6 i; L! ?1 K
  470. ; Development Value: On
    6 m  G2 M9 P, _& `7 |2 {
  471. ; Production Value: Off  b% t* d. g6 ]% h
  472. ; http://php.net/display-startup-errors: o& A& Z, n. Q+ G% X3 f8 Z
  473. display_startup_errors = Off
    9 {. l* B" ]% B( N

  474. & l/ [) r: J' }
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    $ Q+ L9 \) R* p6 J$ h5 U
  476. ; server-specific log, STDERR, or a location specified by the error_log* z; v& w* y1 F: P) e/ q# p
  477. ; directive found below. While errors should not be displayed on productions
    ( r3 b) d/ H4 p5 }0 w
  478. ; servers they should still be monitored and logging is a great way to do that.$ E. h" N( W" G% @' C  ?: s( w8 V
  479. ; Default Value: Off
    6 u/ c( V( O% u$ q
  480. ; Development Value: On* b  i2 p/ z' s6 v
  481. ; Production Value: On
    * i5 f+ a/ e, ~0 |1 Z& q" K! q
  482. ; http://php.net/log-errors
    : W% q& j$ A" @8 w: X- o
  483. log_errors = On
    / X# x6 ^' q6 e% j+ @% N2 s

  484. 4 }7 H$ f% N9 ?, n" F; ^+ _
  485. ; Set maximum length of log_errors. In error_log information about the source is
    4 f7 s* `6 {+ T8 H
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.: u/ N: p/ s# a1 l, _$ M) ^% g
  487. ; http://php.net/log-errors-max-len+ ?) _% p1 E& N, Z: J
  488. log_errors_max_len = 10245 @2 N; w5 m2 Q; m
  489. * ~  L" r& A' Q9 ^6 z
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same% X/ f, e/ ]5 [: _) q. ^
  491. ; line unless ignore_repeated_source is set true." \) E. ^+ ]% ^. N2 q9 `# ^
  492. ; http://php.net/ignore-repeated-errors
    8 N$ _3 y; s% B2 R8 y
  493. ignore_repeated_errors = Off
    5 r7 Q: b/ a. K. P( B, s  B, u: o% p
  494. + _# i- d+ B# ?  a0 W( ~$ E( K
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    # V  G* n  ?) a
  496. ; is On you will not log errors with repeated messages from different files or6 n8 U' P% l2 D0 m( c
  497. ; source lines.  B! j6 @! a9 K: N5 x) j9 H7 O
  498. ; http://php.net/ignore-repeated-source
    1 }/ I0 ^- v7 `8 }5 `' ]$ c0 ~
  499. ignore_repeated_source = Off
    ' ]" f0 f: p: J  s
  500. 9 i1 W  M  a4 y# F$ M+ Y# s1 p
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    % w& S8 [. e8 G( N5 T' D
  502. ; stdout or in the log). This has only effect in a debug compile, and if  K+ O* ?' d1 F
  503. ; error reporting includes E_WARNING in the allowed list# ]" O( D7 X1 ^& z) B  Q, c
  504. ; http://php.net/report-memleaks% l* k: l0 ~! u; _; s
  505. report_memleaks = On3 `, x" S( L5 O/ S  Q4 V
  506. 2 z3 c3 R- J7 }" W1 y2 V2 l
  507. ; This setting is on by default.# }! l; [9 p, ^$ o
  508. ;report_zend_debug = 0
    * K! x2 L# j' t+ `6 @" l
  509. $ s# ^' h+ H! R# g- r, h
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    1 _8 T; f6 g7 v
  511. ; to On can assist in debugging and is appropriate for development servers. It should' |) k, F# o3 ?7 L: s. S- w8 s
  512. ; however be disabled on production servers.7 |$ ]7 a; `" H
  513. ; Default Value: Off
    & A, O1 D0 Z) v9 Q& z
  514. ; Development Value: On( z# n* _9 p$ w$ ~9 t
  515. ; Production Value: Off
    ( X5 K/ h+ K" q) S8 g. v5 B
  516. ; http://php.net/track-errors- `3 |  U; y* j6 g9 F- x& @
  517. track_errors = Off6 l2 j( g5 ^# L7 \$ [3 m

  518. / y( p% E8 s& K# H" U
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    : Y2 w+ Q- U+ n- l# a; D9 g
  520. ; http://php.net/xmlrpc-errors5 C% ?: M  t( ^, G  C$ |& r% b3 }. I
  521. ;xmlrpc_errors = 0
    & h* ~0 h: I$ e' j7 ]

  522. 5 R1 |9 a+ M' O6 W* b
  523. ; An XML-RPC faultCode
    2 Z. A7 M# B, a% y: S
  524. ;xmlrpc_error_number = 0
    4 B3 g% V3 ?$ i3 }9 L$ K

  525. 1 N+ U* `; O! w  b# t. h  l* f
  526. ; When PHP displays or logs an error, it has the capability of formatting the/ K. n5 r! ]) ^" B" J
  527. ; error message as HTML for easier reading. This directive controls whether1 H0 P7 e" K& x. R8 u
  528. ; the error message is formatted as HTML or not./ e% `" M& X9 c$ t3 J9 |7 c! G/ P
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI9 Q3 [* S! T% y% a
  530. ; Default Value: On
    ; n: Q% k0 v( l3 R( `9 m" N  j0 g
  531. ; Development Value: On
    & ~+ @% m% a+ ^! @4 s" E+ P
  532. ; Production value: On
    0 A+ ]- q" B" K! U. A( o! C
  533. ; http://php.net/html-errors; k' ?5 t- J# q3 i" W- j5 [, J
  534. html_errors = On- W8 \2 r1 C2 c& A' d3 m& v

  535. ! d4 J6 q1 _% U# A; d' D
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP) t$ A' y. V7 n- v
  537. ; produces clickable error messages that direct to a page describing the error
    4 Y: M2 x0 n8 ~: c& F: W
  538. ; or function causing the error in detail.  t& Q% @* a( C  O2 c; _: W
  539. ; You can download a copy of the PHP manual from http://php.net/docs- [  @9 c! T# G. Z5 E! V: Z4 _% T
  540. ; and change docref_root to the base URL of your local copy including the
    " X% ~# G. n( ?8 w7 O
  541. ; leading '/'. You must also specify the file extension being used including- |. b8 ?8 C' H2 D0 Q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which0 T! H- k* h: o* g; ~+ m
  543. ; case no links to documentation are generated.
    ( }, o6 h6 J+ X, ^! e" }
  544. ; Note: Never use this feature for production boxes.- j+ s# F9 ~, y
  545. ; http://php.net/docref-root
    ; C+ a& M5 Y  |; `
  546. ; Examples. _/ `5 Z  A+ O0 E; B
  547. ;docref_root = "/phpmanual/"# ~3 D; l$ V  i9 H' [3 r4 Z

  548. / m( W$ j2 S. Z$ `9 W3 z; _
  549. ; http://php.net/docref-ext
    , Q5 b+ N& n( x% R0 ~+ {2 Y
  550. ;docref_ext = .html
    ; T- s4 B: L3 D2 i

  551. 0 j7 c# v( K+ z% T* w8 N
  552. ; String to output before an error message. PHP's default behavior is to leave1 d. ?% s+ |3 I1 c0 a2 t# D$ b; ^
  553. ; this setting blank.2 f+ c, I. L  O$ n# Z2 v
  554. ; http://php.net/error-prepend-string
    ! n5 f8 q4 Z% F+ i0 P
  555. ; Example:
    ( M5 C% N/ A. ?$ A% U$ c
  556. ;error_prepend_string = "<span style='color: #ff0000'>"5 E/ }% P6 R  z3 `+ k& U
  557. 7 Q) i+ q8 e. O+ h
  558. ; String to output after an error message. PHP's default behavior is to leave+ _. I( p( w  d3 x! P
  559. ; this setting blank.
    ; s* k- U% y3 w: a2 ]9 `' {
  560. ; http://php.net/error-append-string
    - Y4 ]% t6 f1 ~  D  K' j
  561. ; Example:
    " l- i: o2 z: ?7 x3 K: z& E
  562. ;error_append_string = "</span>"
    8 U1 r. ^( c9 ^0 L

  563. 4 V! b* [( b- h0 C, X0 K
  564. ; Log errors to specified file. PHP's default behavior is to leave this value% ~. P- u9 R5 u, N2 n
  565. ; empty.' a7 V+ L; V2 q
  566. ; http://php.net/error-log
    $ ^3 U0 v/ t1 t" ]- s3 c6 A
  567. ; Example:
    8 l+ t- C( k7 m  B  K" D; N7 B
  568. ;error_log = php_errors.log
    ' A6 V/ v3 e2 X- V
  569. ; Log errors to syslog (Event Log on Windows).0 n% d' Y2 x# H5 _4 J5 g  T
  570. ;error_log = syslog- G/ f" E# p( l0 e  @- ?+ ^5 d- X

  571. 6 j* ]6 }9 K: X& x' ]
  572. ;windows.show_crt_warning
    6 z% E: h( f+ X; q) p
  573. ; Default value: 0
    " l! M8 X$ O5 D! B, S( Z
  574. ; Development value: 0: o, y- L  D( J* w& {
  575. ; Production value: 0% J& @6 ~; s; K8 }
  576. ) v. E& }& X, q4 y: c: Q
  577. ;;;;;;;;;;;;;;;;;
    ' X  _8 ~0 s( o8 E1 C; E9 Q# {6 p- Q
  578. ; Data Handling ;
    . c: Z# h$ M6 M, W7 y4 I
  579. ;;;;;;;;;;;;;;;;;, ~- H! e! n5 g1 }2 A9 [5 I' z

  580. $ H  `9 R- |; [  o) P/ J
  581. ; The separator used in PHP generated URLs to separate arguments.) c6 w" V: q( n2 T
  582. ; PHP's default setting is "&".: b2 a! q9 K  b+ e  |
  583. ; http://php.net/arg-separator.output
      x! Q- J+ t/ x  p+ U
  584. ; Example:/ X2 t8 d4 }0 \
  585. ;arg_separator.output = "&"  W5 C) ^9 {. O' p
  586. 4 G- @6 }; a2 d% K' Q& l' m; T
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    9 F% o* B' e' M
  588. ; PHP's default setting is "&".  Z% p  w6 _4 P; L1 O8 l6 u! N  e
  589. ; NOTE: Every character in this directive is considered as separator!
    5 R6 X0 J, q" w+ @/ ^& \
  590. ; http://php.net/arg-separator.input4 Q- R1 u; _1 a1 o% d
  591. ; Example:
    ( ?4 Z. W, j1 ^, `
  592. ;arg_separator.input = ";&"
      f' U' v! ], t. z6 \% v# p

  593. , {' \2 O/ j; r; O1 w1 J/ }4 {
  594. ; This directive determines which super global arrays are registered when PHP7 h+ m3 Q0 F# G1 z
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super/ s" d/ g6 U: i% x1 M" J: J1 S% s
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 k+ Z% c  f" y8 L9 j% n
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ) `, ~: x' S8 H, n0 y. v
  598. ; used as the others, ENV is not recommended on productions servers. You; i0 e0 C+ ?1 B) Y$ b1 r
  599. ; can still get access to the environment variables through getenv() should you0 D0 F* D+ |0 o  e
  600. ; need to.
    : ~% E. d2 R% u+ t% l  |1 N. }
  601. ; Default Value: "EGPCS"
    8 M* N3 f9 j# O* d, z
  602. ; Development Value: "GPCS"
    7 M4 v0 E8 W# n) h
  603. ; Production Value: "GPCS";, ?4 z! _3 C' ]  l1 k9 }: F) t
  604. ; http://php.net/variables-order
    " q* l5 \6 z0 K7 P' R* c
  605. variables_order = "GPCS"$ a5 M$ s4 P( U' |8 C

  606. ' d, Q* P" @: [' i0 O
  607. ; This directive determines which super global data (G,P & C) should be
    . j2 |2 J+ r, k
  608. ; registered into the super global array REQUEST. If so, it also determines5 W- u1 x5 p: m! w  a
  609. ; the order in which that data is registered. The values for this directive. S# w; B, M8 `5 f7 x4 W. R
  610. ; are specified in the same manner as the variables_order directive,
    ) E. z* D: g5 u( _
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" t+ S9 t! g" s0 d( L
  612. ; in the variables_order directive. It does not mean it will leave the super: V' K( A7 \  K5 V4 U
  613. ; globals array REQUEST empty.7 Q' e* w  t, a
  614. ; Default Value: None3 C' u! `$ F8 O9 X% B+ w2 U
  615. ; Development Value: "GP"
    * v$ p5 e3 J/ l- L
  616. ; Production Value: "GP"
    . i, J9 K  @* c3 W( q
  617. ; http://php.net/request-order+ C. v, z' N. ?
  618. request_order = "GP"9 Z9 s, K& [. t# X! I
  619. ' J' y8 A0 R$ @: e
  620. ; This directive determines whether PHP registers $argv & $argc each time it$ z6 [5 }6 `1 y4 |( i7 n6 S8 t
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( V7 O9 }0 y& |' e
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ! e& j- M! H. N' p1 o1 m& y+ I; [
  623. ; that were passed when the script was invoked. These arrays are extremely
    0 [6 i. J0 q# G5 o1 D
  624. ; useful when running scripts from the command line. When this directive is
    ! I- ~' S" w$ k7 n5 m
  625. ; enabled, registering these variables consumes CPU cycles and memory each time1 O6 f/ o" x7 _$ E' Z
  626. ; a script is executed. For performance reasons, this feature should be disabled
    8 U8 f# Y) t( \4 x$ Y4 R
  627. ; on production servers.1 T* C1 I. m9 J9 r
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    - Y7 Q1 t4 D9 s# P, |
  629. ; Default Value: On
    # }; U" `0 s7 j5 ?+ S
  630. ; Development Value: Off+ y  {' ]2 {- y6 }( ?
  631. ; Production Value: Off
    4 z; d2 X+ n1 U1 @3 G$ c
  632. ; http://php.net/register-argc-argv
    5 ^) n5 w; n# j- m& o+ J+ b' i; A
  633. register_argc_argv = Off; s- |9 C* x( o/ L& G

  634.   R5 i1 `2 h% M
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're' ~  w3 H& \4 z8 a2 c' @+ _
  636. ; first used (Just In Time) instead of when the script starts. If these  h# |7 T& ~  Q8 L& b
  637. ; variables are not used within a script, having this directive on will result% A. J, i- O6 w: ^7 F
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 y; m, ^$ L4 A) D
  639. ; for this directive to have any affect.
    " D7 m1 J8 |! Z
  640. ; http://php.net/auto-globals-jit
    % n: e) R7 ~8 v
  641. auto_globals_jit = On
    8 C/ O; D* i  u

  642. / m, h9 R. d8 D0 S: R: D
  643. ; Whether PHP will read the POST data.
    5 I' ^: `9 X3 i8 d! K
  644. ; This option is enabled by default.
    " J) {$ d9 b4 o  K% S  H
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    " E5 B, z+ M& Q. J/ ^
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    0 O) C3 R8 i' Q! S
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    9 J5 B; E  O# w1 P
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * O, A! m8 M: j% [# a' _
  649. ; http://php.net/enable-post-data-reading: |1 V: a3 j( R, Q* J% Z# x
  650. ;enable_post_data_reading = Off% q/ N0 x1 `0 k

  651. 0 ^/ ^. O) \5 p  [8 J1 ]- n
  652. ; Maximum size of POST data that PHP will accept.
    2 t# o) f* T+ r( W! K
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) |( w% l, q7 \& H" w4 [
  654. ; is disabled through enable_post_data_reading.5 Q# `) O# l. \4 ~7 v9 i
  655. ; http://php.net/post-max-size' i- p7 z; W/ s
  656. post_max_size = 50M8 R% U* N: r0 v2 a1 L

  657. ! e$ u* g5 ^0 {! l" Y! K
  658. ; Automatically add files before PHP document.
    ; `' N: ?/ [1 X% W3 M' \, C
  659. ; http://php.net/auto-prepend-file# {7 O9 T3 j1 h4 h$ ]0 ?- Q
  660. auto_prepend_file =
    6 d$ r& g/ p/ ]( ^& m

  661. , T) U+ T; e- X; D6 S9 V5 p2 V- j
  662. ; Automatically add files after PHP document.( J8 O! z5 I" f7 }$ G, h1 v, w
  663. ; http://php.net/auto-append-file
    & C8 L% K) q; P1 M# Z) z. F4 e
  664. auto_append_file =$ |' g. g% x3 r0 F
  665. / k/ Y3 O& ~7 y# w8 I+ L! l. E* w- ~
  666. ; By default, PHP will output a media type using the Content-Type header. To
      i; d; j2 Y! ^. E4 o& T: j% L" V
  667. ; disable this, simply set it to be empty.6 E! Z2 C  P, j) Y; q: P- y
  668. ;
    1 N! ]9 D; K3 b) y3 y( B4 {
  669. ; PHP's built-in default media type is set to text/html.% j( v. H1 u0 W+ c& z5 G* i
  670. ; http://php.net/default-mimetype& i1 e" s6 a5 Q. H) J$ `2 [* J
  671. default_mimetype = "text/html"; |1 \, A- O8 p  E
  672. * V* u0 \" B: I' n/ h: U
  673. ; PHP's default character set is set to UTF-8.# _0 M/ y/ h  ?- Q  ?
  674. ; http://php.net/default-charset
    ; W3 O) E; A8 v& Y. Y
  675. default_charset = "UTF-8"1 {4 m: ~. A0 \
  676. $ w# P( H+ P& m# @
  677. ; PHP internal character encoding is set to empty.* z* B1 v6 P  o% a% N
  678. ; If empty, default_charset is used.' ~0 @7 E3 b8 J/ F% z- F
  679. ; http://php.net/internal-encoding0 Z: n% |; w2 J9 C& `
  680. ;internal_encoding =
    , t3 g. l* i# R' p  [

  681. - }0 B8 E# l* ]$ a" C# @
  682. ; PHP input character encoding is set to empty.6 V. ~* f8 j1 x+ p! T6 O
  683. ; If empty, default_charset is used.1 P4 \! v8 n9 ~1 _  }, G1 Z
  684. ; http://php.net/input-encoding
    + E/ t4 J& R) q6 V2 J. {
  685. ;input_encoding =3 t( {9 G) F- ~: d! }
  686. ) \: q7 {) M0 \1 H
  687. ; PHP output character encoding is set to empty.
    - d" o. y. W5 ]  ^
  688. ; If empty, default_charset is used.( P! L( ^# ]$ e2 M0 ]
  689. ; See also output_buffer.
    ! I  ?# W% J( C5 Q% y! [
  690. ; http://php.net/output-encoding7 k7 B& m$ O) P4 z" U
  691. ;output_encoding =
    ) u' _+ g- F5 ]* Q

  692. 1 g# F* t. c/ }( ]
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 e" x! w7 V) U9 y
  694. ; Paths and Directories ;0 P. |* h9 q8 o7 c
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 ~/ n! s7 H4 H
  696. 1 e& B/ @/ S9 O. K+ q, I
  697. ; UNIX: "/path1:/path2"$ K9 {7 u* l2 o1 ]! E. D( X" X
  698. ;include_path = ".:/php/includes"9 g0 Q9 y5 {3 M' A7 d0 Q
  699. ;# p% _: @8 _3 L
  700. ; Windows: "\path1;\path2"6 A0 Z" F$ E; ~# ]' J. X/ E
  701. ;include_path = ".;c:\php\includes") _9 r3 z9 @) P, r' U/ i
  702. ;
    + P. r+ }" H6 p, i/ x& P- [" o
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 l* O6 V7 E1 q6 p# F
  704. ; http://php.net/include-path
    , l" q0 f" w# w
  705. 4 V% G; d- L2 Y: Y6 S/ N
  706. ; The root of the PHP pages, used only if nonempty.
    0 P" G3 E+ w3 B9 X: v8 [4 w
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 O: h" [3 ?) Y4 e7 o3 \4 ?' i
  708. ; if you are running php as a CGI under any web server (other than IIS)! A2 e# o4 Q6 F7 }0 L  ?' i( }
  709. ; see documentation for security issues.  The alternate is to use the. W) ~  W' j7 |$ I, s! h
  710. ; cgi.force_redirect configuration below
    : z4 |# m: H; v  ~3 ^. F. J4 V  f
  711. ; http://php.net/doc-root3 p" _& s) H+ H$ P2 K. e, M! \8 h! Q
  712. doc_root =& m) r# z+ F3 E

  713. 3 h& P, F; G2 g& o' l. e
  714. ; The directory under which PHP opens the script using /~username used only
    3 Y& d' f& K4 ?# ~
  715. ; if nonempty.
    + U1 A# C) B6 N; }+ T' R
  716. ; http://php.net/user-dir2 e* _# O/ n( _, s
  717. user_dir =; O) m* f1 d3 ~2 p
  718. 5 [& z' S: F7 x2 _
  719. ; Directory in which the loadable extensions (modules) reside.- H6 v# Z( l2 }7 F2 W' {& S
  720. ; http://php.net/extension-dir
    8 d- Q! g% v9 u% V9 w
  721. ; extension_dir = "./"
    # }8 \. R6 i, H4 x  I4 D+ D
  722. ; On windows:
    ! E. e9 x  t  B6 |: `6 T
  723. ; extension_dir = "ext"5 S- C& d8 i* Z9 n; z

  724. 0 |, u8 Q0 v$ _6 T" _
  725. ; Directory where the temporary files should be placed.* |, B4 U# z- U+ P5 T/ \, Q
  726. ; Defaults to the system default (see sys_get_temp_dir)
    3 x+ Z: ^! p& W8 G
  727. ; sys_temp_dir = "/tmp"
    , ^* f( I* ?6 ^- N2 i- T
  728. 9 k5 N- O; E  T
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    " U! a: [4 U- H& |$ k) O
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 Y% i" r6 x& M
  731. ; disabled on them.
    2 J- {6 h8 F; C- E
  732. ; http://php.net/enable-dl
    . u5 p3 e1 W2 i; E$ S+ m& H. z& j- x
  733. enable_dl = Off: M- V; x  b+ \" H5 v' o

  734. $ K. a7 A; ], W, Z5 x. M  m0 L
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    + b# F7 d6 L, V" h. m# b
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can0 c5 W6 M1 \1 K9 d2 I5 }, P
  737. ; turn it off here AT YOUR OWN RISK0 o8 o9 O$ F  q, }& g, _
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**& H% {' N5 k+ J# F# O" x
  739. ; http://php.net/cgi.force-redirect
    ( a1 h2 r( W/ |
  740. ;cgi.force_redirect = 1' D- H  T. s& c' l, r% y
  741. 3 X/ }5 ^# U7 X5 w5 {  c6 x, n- U
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 v1 C) e; {/ L, \! C7 M7 y- ?
  743. ; every request. PHP's default behavior is to disable this feature.
    2 ?* M( E3 k& m0 U5 {8 Y2 t
  744. ;cgi.nph = 1
    & Q" Y7 w7 L0 U5 `2 x& T
  745. # W# Z9 H' o$ H; I+ X( T
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 C: [: o  q7 }! w7 X6 c
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    4 F- m0 l- ^3 L/ U7 [: U% h/ I
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY$ ~& e! M) o0 o/ `, V
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- F4 G5 d# O" B/ h' {
  750. ; http://php.net/cgi.redirect-status-env
    7 O: n" [& r2 A5 U
  751. ;cgi.redirect_status_env =
    / N9 l$ g! D: b+ d3 ]8 p' \

  752. , s4 I% |% d' R. Z; x
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ U) E5 L+ Y/ x7 m1 L) l
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok4 Z/ `7 p4 b6 C' u/ J* V
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    # g  L! m1 T- B, \: }; E9 c
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    + M& n$ ~5 I# k. I; ]9 Y) @
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " N4 U9 O. I! j/ Q9 A
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    + G2 B5 \# k7 m) I0 z$ h* o
  759. ; http://php.net/cgi.fix-pathinfo5 O5 z2 y1 U- I3 c" w4 f4 m5 h' f) K
  760. cgi.fix_pathinfo=1
    : h- B9 ?/ e  j3 f* h, w. p

  761. / s* T; N" c9 X
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : Q) ~6 ^* f/ G& i0 k4 l2 F
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) t1 O1 N* ?: d* F
  764. ; http://php.net/cgi.dicard-path
    9 J" M6 P+ A9 I8 y; @
  765. ;cgi.discard_path=1$ O! ~) O9 _0 G3 N8 V6 n

  766. / _- t# i4 `# P$ J
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    1 H8 H7 R5 J* X
  768. ; security tokens of the calling client.  This allows IIS to define the  H) L+ j* f+ T% F6 N& \, |9 o* Q
  769. ; security context that the request runs under.  mod_fastcgi under Apache0 i* i) v. a, c/ [. f
  770. ; does not currently support this feature (03/17/2002)
    4 ?2 `0 u6 K  F: t9 V
  771. ; Set to 1 if running under IIS.  Default is zero.
    5 I7 A  m$ b- L; X) y
  772. ; http://php.net/fastcgi.impersonate* u# H+ j2 [* A- u
  773. ;fastcgi.impersonate = 1
    ' l! p7 h" o# Y  `- I

  774. , \! Q; Q- @' w/ B1 g
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . V; c0 H8 `+ i' h& z, t9 Y0 @
  776. ; this feature.
    * W2 [3 ]6 ^9 D3 ?& E/ p
  777. ;fastcgi.logging = 0
    # M: k7 N; |- K5 P% }7 p8 O

  778. " t4 i3 {: s5 v  {0 w  b" k# N" l
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to9 E* q! l1 M: v
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that0 w9 D% }* h- \2 X7 t
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / F2 x3 l3 V: D4 ^
  782. ; RFC2616 compliant header.
    * I; F/ C2 f: m7 k' _" a; J
  783. ; Default is zero.* W9 a" w, l; K' k
  784. ; http://php.net/cgi.rfc2616-headers3 N- n& R2 ^! e
  785. ;cgi.rfc2616_headers = 06 |3 I: ]  k1 r! m2 x

  786. * G; c& V: d  L. W. E
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ! O2 Z6 n4 k& r% Q  ]
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ; r9 T2 g5 b0 d( H  H' W+ Q2 H
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    # W9 o+ r; _& J4 A! {
  790. ; mode skips this line and ignores its content if this directive is turned on.: F1 r3 l: x' K' X( e3 t
  791. ; http://php.net/cgi.check-shebang-line9 C1 i5 a; ~8 j' u# q: {' I
  792. ;cgi.check_shebang_line=1" n) e. j4 x7 c4 [

  793. # D3 O+ a' {, e
  794. ;;;;;;;;;;;;;;;;1 [, \" q1 f# y. g, P& v+ }
  795. ; File Uploads ;
    6 m* G! k3 b0 t: K/ {' ]" g
  796. ;;;;;;;;;;;;;;;;
      S& d5 @% M8 _# @6 F" Y

  797. ( z+ Q2 B. o; R. N
  798. ; Whether to allow HTTP file uploads.
    : z$ [0 \+ r+ m" o3 [( y
  799. ; http://php.net/file-uploads2 ]3 r0 K0 _" X5 V; w; D
  800. file_uploads = On- C. w$ ^2 V2 z5 o: \4 l8 `

  801. 7 P; ~4 M/ m8 {1 f8 h
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    + P  n/ W2 }( ]# @4 @
  803. ; specified).
    % O) W# _. o- `
  804. ; http://php.net/upload-tmp-dir
    0 }5 P" J( _( [" Q
  805. ;upload_tmp_dir =
    ! _9 A: G7 S' _6 b3 o4 Y! ]1 {) u

  806. + W; d: C( }# j+ d, X
  807. ; Maximum allowed size for uploaded files.- I9 `# C% W2 q6 o/ q3 R+ o
  808. ; http://php.net/upload-max-filesize5 q: a: r+ r$ H) e! h6 w
  809. upload_max_filesize = 50M; ]% ?7 n& D2 P: R1 [2 H5 f
  810. , c5 s6 t4 M; Z7 T6 ^5 S7 q
  811. ; Maximum number of files that can be uploaded via a single request
    7 U/ K4 h6 a9 {
  812. max_file_uploads = 20
    & X2 A' k2 f9 \0 B& Y* U

  813.   l8 W* G$ L; a! Q& C& h9 L
  814. ;;;;;;;;;;;;;;;;;;; M" d, D0 k# ^
  815. ; Fopen wrappers ;; N! ]9 C8 {* G& T9 q4 r9 m
  816. ;;;;;;;;;;;;;;;;;;
    + |5 q+ m* L1 Y: R

  817. : z6 ~+ y5 r4 [9 ]
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    1 ~$ G# h$ t8 J' u% N" {
  819. ; http://php.net/allow-url-fopen+ B+ R; |/ `% V" t" s$ S
  820. allow_url_fopen = On5 [+ m3 _0 x* G) U/ G1 k0 S

  821.   |% f6 _8 `2 g0 J, K5 e
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." ]$ U3 }" R7 `
  823. ; http://php.net/allow-url-include) B- U. d( q9 M& |# y0 P
  824. allow_url_include = Off
    2 h+ F0 _. s$ Y. o$ J

  825. # @* X+ Q" J' X8 x1 A% E3 ~
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    . U6 _. {, m" n
  827. ; for this is empty.: ~+ r! o3 `  ^+ s- n2 c
  828. ; http://php.net/from7 X! u: s3 S# }6 Q* Z7 u
  829. ;from="john@doe.com"
    + \  n( Q7 V2 p3 P& j2 ?

  830. : x! H) q" F6 D
  831. ; Define the User-Agent string. PHP's default setting for this is empty.' r1 ~& S2 o* V# \0 }2 v" ~
  832. ; http://php.net/user-agent
    ' P& ^1 u& f. D9 k. U
  833. ;user_agent="PHP"& |! u- s: h) v! ^% o

  834. & T/ T, {  w! u, @7 h* F
  835. ; Default timeout for socket based streams (seconds)$ H9 P2 J/ O8 Q1 ^9 Z
  836. ; http://php.net/default-socket-timeout
    9 P3 b2 M: E& p4 G* U! W3 X
  837. default_socket_timeout = 60
    ' q) q% g, D- f- I8 s3 t! Y8 T  I

  838. 6 |+ w: k$ P# c. p0 D  N" Y
  839. ; If your scripts have to deal with files from Macintosh systems,
    5 F2 v7 t/ y1 b: d/ Q
  840. ; or you are running on a Mac and need to deal with files from
    " ]2 Z1 s8 ^$ v
  841. ; unix or win32 systems, setting this flag will cause PHP to
    . O- @. f' q+ E
  842. ; automatically detect the EOL character in those files so that- i% O+ k  @( n
  843. ; fgets() and file() will work regardless of the source of the file.
    * W2 `6 x+ }5 j9 l# s
  844. ; http://php.net/auto-detect-line-endings
    3 Q) ~2 v% y+ u9 N4 ?  S
  845. ;auto_detect_line_endings = Off
    7 j4 v; m# o/ G3 W/ d! R1 A
  846. + e; a/ R* T5 |5 ?1 k/ j: E3 N9 d4 R$ W
  847. ;;;;;;;;;;;;;;;;;;;;;;& n# ], i6 n0 H  i; F
  848. ; Dynamic Extensions ;
    . ^7 h" q1 m5 u4 U
  849. ;;;;;;;;;;;;;;;;;;;;;;
    / J- ]* U( _3 o, u% o& M. K; |- K

  850. $ m/ D1 {+ j/ k8 Y* b0 e+ S
  851. ; If you wish to have an extension loaded automatically, use the following
    . U; h; U9 g6 J- x+ D0 l5 l
  852. ; syntax:
    ! v8 P+ W! h7 j0 c% o7 ]
  853. ;, f& D9 ~( W3 Q4 K" x
  854. ;   extension=modulename.extension
    9 ?0 Z% J  J2 ^5 E0 Q$ o
  855. ;
    6 f3 o+ q1 t0 f! H4 ]: N; g/ U+ R/ R% Q
  856. ; For example, on Windows:
    ( R% o/ Z1 i) m0 A, _
  857. ;/ V3 \) R' F' V" o2 \2 }7 L* v9 F
  858. ;   extension=msql.dll7 \1 a9 w9 _0 c: n2 y+ G) o
  859. ;1 H" {: Q% ^8 R( n+ o8 v+ u6 x- i
  860. ; ... or under UNIX:; G; T3 @/ Q1 W. E
  861. ;' t- P+ o4 C$ \0 j1 w3 p- k, @( _
  862. ;   extension=msql.so
    . `+ t! i4 C. ^  J) g
  863. ;- g3 N8 ]8 w% q
  864. ; ... or with a path:, V3 |( v% p9 U6 r) z- ~
  865. ;
    4 l! F% {4 v8 y  B" n
  866. ;   extension=/path/to/extension/msql.so
    & B$ U! W* Z  z6 U4 D
  867. ;
    2 T$ g% c* d+ D# ]7 Q
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ! B9 B! T6 M8 k
  869. ; default extension directory.6 D1 ]4 {+ u+ W: j- |- C/ |
  870. ;; _: |" p( ]4 D
  871. ; Windows Extensions% g' t% ^3 H# \3 w4 x
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    0 Y4 F5 R, _* x" Y( T
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    . t1 a$ ~$ k4 Z
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    + B& A* Y+ `# H* m6 B5 R( g
  875. ; Be sure to appropriately set the extension_dir directive.
    8 Z% T4 r* v+ k6 r2 J9 G7 Y
  876. ;" G$ |( a- p1 U% \" J
  877. ;extension=php_bz2.dll* S" g6 b! [$ B- K( X8 L0 q$ n
  878. ;extension=php_curl.dll
    1 l, g* y1 S4 W- R. {7 E
  879. ;extension=php_fileinfo.dll
    ; H" Q9 x! P; M6 g
  880. ;extension=php_ftp.dll  Y+ @2 Z# G' J0 N. {, w
  881. ;extension=php_gd2.dll0 B% B6 ~6 j. Y" l5 S! X
  882. ;extension=php_gettext.dll
    . b/ Z  U5 D  Y* Z& m
  883. ;extension=php_gmp.dll
    : E. D+ L5 \6 ?
  884. ;extension=php_intl.dll" m* C+ D- E" T2 V
  885. ;extension=php_imap.dll+ I' O! e1 v7 O/ k# A
  886. ;extension=php_interbase.dll' s; y8 |) k8 n& C+ N# |
  887. ;extension=php_ldap.dll$ L( Y: x5 X! K- @
  888. ;extension=php_mbstring.dll/ N$ t  D' f, t4 n
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * q' ?0 c9 V; z3 A0 c/ e% ~; Y
  890. ;extension=php_mysqli.dll- T/ S4 h$ ?' ]  O* ?: P
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 R- r- ]6 C  C* n5 h  I
  892. ;extension=php_openssl.dll
    9 m3 L; g$ ?( T: s5 q  b4 |7 m
  893. ;extension=php_pdo_firebird.dll
      k# G1 w1 h% u+ w6 f+ g
  894. ;extension=php_pdo_mysql.dll4 |1 X# S' {7 @
  895. ;extension=php_pdo_oci.dll
    $ Y' d& k. y" t) k
  896. ;extension=php_pdo_odbc.dll  |" c. ^: `3 _- Q0 I& v' c
  897. ;extension=php_pdo_pgsql.dll" r6 M- Q0 D7 [: j; p' Q9 g* X
  898. ;extension=php_pdo_sqlite.dll
    / c& f) _; _% k+ H% L
  899. ;extension=php_pgsql.dll9 |! ?4 \  q% Z0 J" s& [: [; w: q
  900. ;extension=php_shmop.dll) n2 c7 N1 a: N

  901. 8 |, Y( x7 q! ]* x0 w* I& o8 `/ x
  902. ; The MIBS data available in the PHP distribution must be installed.+ U# p; m' h' h4 C
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    : I7 }. B0 R) z% D% r' b  C
  904. ;extension=php_snmp.dll7 A! @9 S1 [; }; }5 P/ i$ t# T

  905. 6 \& `! n+ F3 p7 K- e6 h! d
  906. ;extension=php_soap.dll
    & x9 O5 H8 f* e$ g+ p0 ?
  907. ;extension=php_sockets.dll. o* {' A$ @, B: A6 Z4 j
  908. ;extension=php_sqlite3.dll
    % ?0 H' \7 U+ p8 Y) l
  909. ;extension=php_tidy.dll1 t6 s7 P7 s0 Z' G: i: d8 T/ O/ |
  910. ;extension=php_xmlrpc.dll6 J/ L# ]6 Y. b# R2 ?) l$ @
  911. ;extension=php_xsl.dll" C  _' m( b6 R& N5 A4 d  z
  912. * l" }9 n) p/ c0 T
  913. ;;;;;;;;;;;;;;;;;;;4 j4 ?0 V/ |. ?& l% y  D4 G6 j# y
  914. ; Module Settings ;
    / f8 P2 a9 S4 c
  915. ;;;;;;;;;;;;;;;;;;;9 Z1 _6 z# R# u

  916. , w  y! }2 L; a7 Z
  917. [CLI Server]4 L6 p6 e4 W; z( A9 p
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    4 r1 n1 b3 \/ C9 W9 }8 P
  919. cli_server.color = On( S, w- S( T, D( \+ Q& X9 J) e% B

  920. ' x& N4 q- r9 ]; T
  921. [Date]
    % i  h, s+ i8 c* z% V2 u. I
  922. ; Defines the default timezone used by the date functions3 ?- A; v4 u' R, Y! m
  923. ; http://php.net/date.timezone+ y: D9 }( {0 y
  924. date.timezone = PRC
    2 G9 ^- V; o/ j8 Q
  925. " ]. s! s. v7 f! f  T4 O
  926. ; http://php.net/date.default-latitude
    # e" y+ \, [0 E% L
  927. ;date.default_latitude = 31.7667$ |) p" X  `* u9 F
  928. 6 X+ s' m. Z' d. V. \; T0 a2 U  u
  929. ; http://php.net/date.default-longitude
    1 l7 b; D% P  [8 n! V9 D4 S. t
  930. ;date.default_longitude = 35.2333
    7 [( p9 Z+ ^4 c" C# e, c

  931. $ [4 \4 b8 O7 Z/ s
  932. ; http://php.net/date.sunrise-zenith
    : J* I7 ?% t. X' ^4 d
  933. ;date.sunrise_zenith = 90.5833332 p6 t) F# M$ Y, ^9 ]
  934. 3 F1 G( h+ Y7 i1 n/ z- g: s, B7 ?. b4 S
  935. ; http://php.net/date.sunset-zenith
    - W# j( ]. v/ g, D2 c& s! K1 k
  936. ;date.sunset_zenith = 90.583333
      t$ n# X* s, @, u' ^* L% n$ J2 @
  937. & P& v1 u" c' ~/ f# ]0 E- k
  938. [filter]
    " w) H1 t' N. N: z
  939. ; http://php.net/filter.default
    % ^0 O$ Y1 ~5 D" p+ H& B. _9 n# g  J4 R
  940. ;filter.default = unsafe_raw- Q  C. D; d6 \( b2 b( c6 D9 h# i
  941. $ R. P; O4 q: ~7 `
  942. ; http://php.net/filter.default-flags  [3 R& |$ }& t+ a
  943. ;filter.default_flags =
    1 n% a8 q% p( ?: E2 [

  944. 8 }' f; r$ C. n# L! A3 t- {9 j
  945. [iconv]
    ! K5 m! n6 S% E3 {
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 }: j6 M; f) c
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 n8 p7 b" ]+ o# ~0 B
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding; g5 I4 M! M7 C
  949. ;iconv.input_encoding =' M, d7 P5 r7 c/ e2 R9 m
  950. 1 w3 B6 v+ g5 ^3 r: k0 w! ]* F
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 ~! z' ^8 y) R5 o! b7 g5 r
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& G. T$ C' c/ @2 Z% I& P
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! E9 u2 E. ^* I+ O4 X* B, B( _" b
  954. ;iconv.internal_encoding =
    " e& O' N2 r# o. t1 T1 h8 h7 |, [- q

  955. ! U) K9 G2 G( b4 T7 ?3 ~  t% R( b! G
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.# S% d& G$ [. b  i/ H3 ?4 m
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / H, V" T( s# T  c
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding! n3 B6 a* \! p# K% N
  959. ; To use an output encoding conversion, iconv's output handler must be set
    % w" {7 O2 C  S+ x: k4 G
  960. ; otherwise output encoding conversion cannot be performed.
    ( z& Q# L3 Z' f0 y. L' y( `
  961. ;iconv.output_encoding =
    % e1 z+ M* y" q8 }9 v
  962. 2 S2 U  q+ `. Z  j  ?% V* x7 O  E
  963. [intl]
    - m6 \, ?9 o$ I0 w. z) `3 }
  964. ;intl.default_locale =
    / J+ J' }+ V& S% K' |; D* M
  965. ; This directive allows you to produce PHP errors when some error
    / ~# M  k  H, P
  966. ; happens within intl functions. The value is the level of the error produced.
    ! J+ F+ q5 Y$ U- H; C) H
  967. ; Default is 0, which does not produce any errors.4 u- _' o7 d1 a1 j, W
  968. ;intl.error_level = E_WARNING
    & ]( c! b) o  ]; y' H7 H5 Z
  969. ;intl.use_exceptions = 0
    % [/ o: m' K7 ?

  970. 5 \5 j2 {7 S; z) S" {2 m1 p
  971. [sqlite3]0 r, I" b' U& f/ ]4 D; e8 R
  972. ;sqlite3.extension_dir =. ~1 U% _2 w( C% s) N
  973. 3 n4 v& h. h7 T) ~$ Q! ?* B, j6 `
  974. [Pcre]2 _/ \- @$ Q/ M, V2 f2 O! p
  975. ;PCRE library backtracking limit.1 B9 {0 i; e& A2 |+ s. G
  976. ; http://php.net/pcre.backtrack-limit
    ' C; ~( A1 \2 b! I: W' r: U) u
  977. ;pcre.backtrack_limit=100000
    ' E. I+ b0 l# g+ W6 \, w, G

  978. 0 p. L/ u; V. ^) X! I+ x5 m+ F* p6 v
  979. ;PCRE library recursion limit.
      a( i, E" Z" e/ ~/ f  t
  980. ;Please note that if you set this value to a high number you may consume all
    ; H# f  V- z) E/ ^0 b3 J$ k* u
  981. ;the available process stack and eventually crash PHP (due to reaching the# q2 P( V) @& w% V$ {
  982. ;stack size limit imposed by the Operating System).2 Q: X1 a8 l; ^! w/ w% q
  983. ; http://php.net/pcre.recursion-limit% s2 H6 |. B. D* h, u- n
  984. ;pcre.recursion_limit=100000
    & @9 u+ `9 I* B8 [: l
  985. . x+ D4 `3 A  g( T
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ; e( V  a9 a. O4 E! }
  987. ;library to be compiled with JIT support.
    7 m, z2 {& F: M7 \3 z
  988. ;pcre.jit=1; S. D# R% G$ T7 Q8 `" I! X& n: Z* Z

  989. 1 s/ U, L+ I3 @; r4 a! `# v
  990. [Pdo]. A  z) Q2 \4 [1 c, J, O& W
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"# V( V9 w$ E! L) a4 D; H
  992. ; http://php.net/pdo-odbc.connection-pooling! o/ n; V$ U- ~) j& j! @* N; x* N
  993. ;pdo_odbc.connection_pooling=strict3 e4 R3 J/ I$ H+ m9 @
  994.   \3 p: Q3 N9 R0 `3 J
  995. ;pdo_odbc.db2_instance_name' W& _, }5 |6 S+ b8 u- I. P
  996. + R. C. ^& a/ h, f& M, v4 ?
  997. [Pdo_mysql]3 H& L' c& _8 [4 M2 z: f0 S1 b7 `& r- }
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache  s. x" T7 Z6 d) M" X$ R+ P
  999. ; http://php.net/pdo_mysql.cache_size
    ! H& K1 |& n3 ?5 I5 j
  1000. pdo_mysql.cache_size = 20003 `; P# s  f. t' z
  1001. 5 j, k8 i: [4 [0 O
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 ~5 L" k6 w. g: K0 l
  1003. ; MySQL defaults.
    , V; t- }0 s+ V3 b  L5 g
  1004. ; http://php.net/pdo_mysql.default-socket
    ) B. I' _7 X. C! x1 I
  1005. pdo_mysql.default_socket=
    5 m& M0 v5 p# S- }

  1006. * C9 D9 T( j! [. t
  1007. [Phar]
    ' H+ ^2 {7 C+ Y$ j! o+ T) S
  1008. ; http://php.net/phar.readonly- D% J6 I9 Y& G3 L
  1009. ;phar.readonly = On
    . s- }- Y! |2 F# r0 h! M7 H8 [

  1010. * k( n/ O7 \4 R/ R* ~+ t  n
  1011. ; http://php.net/phar.require-hash9 A2 y* D( R8 I
  1012. ;phar.require_hash = On1 u( ]7 d" V! l  M, P- c, Q8 i9 q
  1013. 6 @6 x; q& T5 s, |* L
  1014. ;phar.cache_list =/ Z. s# C/ |: N2 k8 I

  1015. ; h+ R6 d2 g2 i5 x* c3 x: u
  1016. [mail function]
    : s; f* [7 l7 B9 P/ K
  1017. ; For Win32 only.7 }; e  L8 `( |: @1 s) ]
  1018. ; http://php.net/smtp. J$ H" V, [2 r4 u+ I9 r4 q
  1019. SMTP = localhost
    " [' X$ g! U3 `) R. h, i
  1020. ; http://php.net/smtp-port3 }, F, o' k7 [6 c
  1021. smtp_port = 25' S7 d- q" C% w9 P) z4 f+ g; p
  1022. 0 U; x) X; e/ X2 Y; ^" m; q
  1023. ; For Win32 only.
    * c6 ]* k0 l& R) ]6 n8 J
  1024. ; http://php.net/sendmail-from% c4 e( O( |# c% D  Y8 h4 Y
  1025. ;sendmail_from = me@example.com
    ; s( T1 w% \. S% T* ?! `! E
  1026. ( r- Z" n- z( T& `
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    5 G" ]( c" f  }# a/ Y6 x! D
  1028. ; http://php.net/sendmail-path+ ]/ C( p2 Q( i3 r( G
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    . x9 A; X1 T; A9 G
  1030. , m+ {1 t/ U! ?% ~- A
  1031. ; Force the addition of the specified parameters to be passed as extra parameters! x( v; v1 i6 b$ A5 }
  1032. ; to the sendmail binary. These parameters will always replace the value of
    0 i3 m, w! d: x
  1033. ; the 5th parameter to mail().# J- D- w8 I' o& d
  1034. ;mail.force_extra_parameters =
    + g1 _, f& M# A* `9 E6 M

  1035. . o" A# l" Z" B) E* e
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" _- E( r  P+ j! a8 J) U
  1037. mail.add_x_header = On
    ) Q5 M$ Z- z2 j* \

  1038. ; s. S0 i# H" }' Z& c
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    " Z2 p0 r2 _' j: d, Q/ @. h) h5 [
  1040. ; the full path of the script, line number, To address and headers.: x8 K/ e5 l4 P2 f0 {/ M
  1041. ;mail.log =
    , ?/ d1 i' q$ O( i4 R
  1042. ; Log mail to syslog (Event Log on Windows).
    $ K8 p4 T( y+ C7 ?1 ~
  1043. ;mail.log = syslog
    3 d" o; n" O- I( ~; {; S

  1044. $ T7 G/ l/ B5 i* F$ R
  1045. [SQL]# b6 Z9 w- F' [) |7 D
  1046. ; http://php.net/sql.safe-mode; ~* t1 S+ S  c" p! ]
  1047. sql.safe_mode = Off3 C" ]5 _0 L6 k  B/ N

  1048. 5 p' |- C6 J  q" B# A" c. H. V6 d
  1049. [ODBC]( r$ r' l' t+ \! T6 Y1 v! D
  1050. ; http://php.net/odbc.default-db
    ( w) \, E% W( |5 {9 b! l. f
  1051. ;odbc.default_db    =  Not yet implemented
    - p8 U' |3 Y2 F# T% s

  1052. & u$ x* {' I: h) K* b4 y, |' l! b
  1053. ; http://php.net/odbc.default-user
    8 K& I/ h7 E8 f
  1054. ;odbc.default_user  =  Not yet implemented5 u" l# M# U; J, f" E5 G2 p* X

  1055. + [* a' M' i0 o: d2 I( a6 i
  1056. ; http://php.net/odbc.default-pw- N9 y. L$ H0 a$ i& t, ]: s8 |
  1057. ;odbc.default_pw    =  Not yet implemented# K, s- T4 _$ q9 A2 _* ~: a" M. c
  1058. ' D9 e8 x) I* N' e! I
  1059. ; Controls the ODBC cursor model.- e% k2 O# I) Z$ ]
  1060. ; Default: SQL_CURSOR_STATIC (default).
    # j+ b7 W4 E# W/ h* P
  1061. ;odbc.default_cursortype
    6 G9 K, Z! A( ^- {. _- E# R

  1062. ' d1 V' q" o/ M
  1063. ; Allow or prevent persistent links.1 K3 p, M; {2 b& Q5 S
  1064. ; http://php.net/odbc.allow-persistent6 C; R) P, D2 D" s6 C4 a
  1065. odbc.allow_persistent = On
    2 {2 E3 g8 C3 ?3 T9 s* Q

  1066. % g* W1 v5 K. V' T, }! V3 |6 G, m
  1067. ; Check that a connection is still valid before reuse.
    * b( |! o& j7 R' O5 _
  1068. ; http://php.net/odbc.check-persistent' T7 F- i, B, `! {4 ?8 H8 d# A
  1069. odbc.check_persistent = On
    % g$ D  x# V4 r

  1070. : G6 ^& t" O$ @+ z
  1071. ; Maximum number of persistent links.  -1 means no limit.
    + l, O7 U+ y" Q$ ]2 J0 z
  1072. ; http://php.net/odbc.max-persistent" w1 o5 O: [! i! r- \$ x" g
  1073. odbc.max_persistent = -1( p* }) [. k3 A  V9 L- e8 L7 _, ?
  1074.   p6 h- {- O2 X% ]5 _# |
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! g6 Z- g0 q3 k0 X
  1076. ; http://php.net/odbc.max-links
    ! j, m& y3 j* r8 o% E. k% {9 Y9 h
  1077. odbc.max_links = -1) o# ~8 ]* {: t$ k  p' T: d  [

  1078. 9 r& S* N, r+ K, G2 y) }
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means& ~. f8 Z% i4 W. H: F8 O( W
  1080. ; passthru.( w: ^6 N$ B2 d* X
  1081. ; http://php.net/odbc.defaultlrl- d. g5 @4 w" o. i% K0 A
  1082. odbc.defaultlrl = 4096
    6 t! n$ N9 `5 z. P, D( R* u! }/ X
  1083. 2 e/ F  }0 V2 O* U) }# J$ U/ V% t( F
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: M# ?- b6 \! G& ?* |0 g5 P( n% s: F
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation1 y" K/ n, ~. A- j( [' X* t; R1 y- J
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ( T4 Y' q  M6 ]% b& J/ D6 P
  1087. ; http://php.net/odbc.defaultbinmode
    / O6 E$ Q0 n8 m% Q0 V
  1088. odbc.defaultbinmode = 1. e( Z' I% x) P- M# Z
  1089. 9 d, R0 W; D- {9 ?
  1090. ;birdstep.max_links = -1
    " v9 w( Z8 f* g1 B% l; L
  1091. ( M7 {6 P7 V/ [1 I( v) @% R1 L$ J
  1092. [Interbase]. v* i7 h2 d; ~" g
  1093. ; Allow or prevent persistent links.
    3 ?" [) j6 z$ m$ _/ o
  1094. ibase.allow_persistent = 1
    ; z8 z6 Q8 }4 ?0 O% \, U7 Z
  1095. 5 E. c6 h6 }& c+ [6 p1 p1 C. t
  1096. ; Maximum number of persistent links.  -1 means no limit.8 f5 C3 }" a3 j" l# a5 }6 c2 r
  1097. ibase.max_persistent = -1
    & u  e% Y4 `8 `1 X5 R: A4 Q
  1098. + Y$ e8 n! m+ u) @
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 l) C' R) P. K+ K3 [2 i% ?. z
  1100. ibase.max_links = -1  o& Q6 A: b+ I! \9 p. Q
  1101. , e5 S2 u: y! P) h" b
  1102. ; Default database name for ibase_connect().' w0 V4 a3 T7 d* R1 f/ I, g
  1103. ;ibase.default_db =1 {4 w  X4 g+ F6 C2 y) I

  1104. ' W1 F' ~* @5 {) D- T. m/ |/ W! T
  1105. ; Default username for ibase_connect().
    ; g! r. Y4 m/ w: z; Q" p
  1106. ;ibase.default_user =
    $ x" R3 R" L* e$ t, T- z5 l

  1107. - |6 j' a! b0 r1 a2 Q
  1108. ; Default password for ibase_connect().
    0 K& T9 o' u" r1 Z; d( H( c
  1109. ;ibase.default_password =
    , a- {% P$ H2 q/ U  E( E7 Q4 C

  1110. + F+ [% Z$ `9 U6 G. m& J
  1111. ; Default charset for ibase_connect().! F* x1 G2 M( c5 ~/ Z! P5 R
  1112. ;ibase.default_charset =
    & o5 v, E* e$ d8 C

  1113. ' O" K: n! O/ ^; ^6 c2 {
  1114. ; Default timestamp format., {& X1 f( b( J  v9 \
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , e5 `. a! D$ a

  1116. 9 e4 j& S, y/ x6 ]; m; J; m4 q
  1117. ; Default date format.
    5 f  \( E% t) p0 i
  1118. ibase.dateformat = "%Y-%m-%d"
    : L9 q- P2 t# R
  1119. ' F( G+ B5 |$ K' V5 n  K$ Z( @
  1120. ; Default time format.9 e+ C! O/ f. ?# b& Z
  1121. ibase.timeformat = "%H:%M:%S"5 B3 v7 D/ w# N. R
  1122. % n0 w/ p. y7 `* a8 k% i  u9 F
  1123. [MySQLi]
    9 U! L5 o) h9 r
  1124. - a) y& X8 c8 M5 E; E% Y3 h, }
  1125. ; Maximum number of persistent links.  -1 means no limit.
    - _. w  u2 L/ Q* ?
  1126. ; http://php.net/mysqli.max-persistent
    # C" K: H9 V  X" Q
  1127. mysqli.max_persistent = -1
    : }% ]0 z% A) ^+ Z5 ]

  1128. 9 y4 }, u  [7 k3 S
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " H0 }$ T- X& D  J" `: I, d; R% r4 ]7 Q
  1130. ; http://php.net/mysqli.allow_local_infile$ ^* x; [" R1 N( ]5 }# Z& _: J, M
  1131. ;mysqli.allow_local_infile = On
    " L! o; G2 T  \( V8 C$ H! L- ?

  1132. 2 N$ D' o4 Y1 [
  1133. ; Allow or prevent persistent links.
    ( Z) C# K- Z4 J8 n' g
  1134. ; http://php.net/mysqli.allow-persistent, F5 U1 w9 ?/ {* o1 c
  1135. mysqli.allow_persistent = On
    6 F% m9 `& P2 S# O. _
  1136. : v( Q+ {5 h9 N
  1137. ; Maximum number of links.  -1 means no limit.
    2 K# G1 I4 G: R- ^) N5 I2 h' d% b
  1138. ; http://php.net/mysqli.max-links
    3 Z0 k& w9 r6 g7 _: h
  1139. mysqli.max_links = -13 s: Q+ h# r3 z; h1 t: ?- Q0 O
  1140. 6 U3 b; O5 y8 z
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ ^) r* f4 R4 g5 x& D. W
  1142. ; http://php.net/mysqli.cache_size
    $ p$ g: r9 D. h  X
  1143. mysqli.cache_size = 2000( e+ B5 M& \9 _( w5 }! P
  1144. : g+ C8 Q# X$ M' }2 Z
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    . \0 J! C- o, b5 ?3 y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ ^' i3 Q/ o0 k& g' N: N+ h7 o
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look3 Z. u3 S: |/ v) w. Q( @: s
  1148. ; at MYSQL_PORT." N/ C1 D5 a5 l: X- f: T! w
  1149. ; http://php.net/mysqli.default-port
    ( s7 I" N$ j- ?0 o
  1150. mysqli.default_port = 3306
    1 h9 s8 C  g. {

  1151. ( x6 `6 H% s0 e4 W
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # @8 o+ _+ a6 E3 l
  1153. ; MySQL defaults.
    8 ^# c% @' X. l$ K
  1154. ; http://php.net/mysqli.default-socket7 N4 Y  B# q* e0 c
  1155. mysqli.default_socket =' T" A( e% b5 s1 ]1 t  p9 f: `* Z
  1156. ( G4 a0 _8 g% w+ c& \  F& W2 B
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . X0 P" w6 y$ U: r  X
  1158. ; http://php.net/mysqli.default-host
    ( ~( D$ ^9 T; A9 a
  1159. mysqli.default_host =
    2 G! }: h/ G; I

  1160. . T* I5 O* }. {# M
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & w* y, o2 u8 X0 l% P, n
  1162. ; http://php.net/mysqli.default-user: y/ Z) E9 H7 R7 r# q4 [+ Q: ^5 Z6 Q
  1163. mysqli.default_user =
    $ X6 i$ y: T+ G  ^
  1164. 5 X# b! v) M' O& O9 O/ s
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : U6 p) o4 o; r1 m+ J
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.' j: A1 H  @1 b! u9 o
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")3 o1 D+ ^( ^% i0 X9 j8 d7 q5 ]
  1168. ; and reveal this password!  And of course, any users with read access to this4 S/ u5 r# Y: k9 {0 j% t, r
  1169. ; file will be able to reveal the password as well.9 |! s" K4 N7 o8 i! `* e3 L' h
  1170. ; http://php.net/mysqli.default-pw
    4 w2 ?: B% O; C1 f* X9 j
  1171. mysqli.default_pw =
    . o: r# F" W  t0 M- Z" ~
  1172. 8 u& I3 {" Q/ ~
  1173. ; Allow or prevent reconnect
    ( ~8 x+ j$ D; T9 L- w# ]( [
  1174. mysqli.reconnect = Off, Z. V3 y" c/ p' [% J* f& N7 D

  1175. ( L4 I8 ^, I+ I* _
  1176. [mysqlnd]
    # o' `  x4 D; U8 Y0 ~# n
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be& P; v! @& P8 h4 q3 ~7 F6 f; V
  1178. ; used to tune and monitor MySQL operations.
    5 a  {# V. M7 Q, j
  1179. ; http://php.net/mysqlnd.collect_statistics
    - l+ E5 g. r! R9 \
  1180. mysqlnd.collect_statistics = On
      f  u2 Z% C9 y! @

  1181. 7 }8 W7 E$ F3 ]) x  I
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be  [! V2 ^. r9 m2 B* Y
  1183. ; used to tune and monitor MySQL operations.7 `0 P; R# {2 K. B' [8 e$ Y% c" k. s7 e9 H/ K
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    # l' y9 c/ }  W2 F+ D* i# }% c2 {8 T
  1185. mysqlnd.collect_memory_statistics = Off
    / `. N! ~9 o6 I# f( x' @
  1186. 6 {. P( a. ~9 W+ ?" @7 Y, n
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    / b8 y3 Y6 Q' C+ a
  1188. ; file.
    1 M, g1 ^1 K+ A( V1 F
  1189. ; http://php.net/mysqlnd.debug( m* e9 c' c4 j% ]
  1190. ;mysqlnd.debug =  r6 H  A) u' d; a; v
  1191. + x) ~9 W% Z* r9 X4 x# L: o
  1192. ; Defines which queries will be logged.+ c3 u; M/ c, Z; S) p9 [
  1193. ; http://php.net/mysqlnd.log_mask7 h8 ~4 f% p+ L9 |
  1194. ;mysqlnd.log_mask = 0; d: {' F4 U' w8 G6 n
  1195. 3 z, P0 t& _+ W9 q; {7 U
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.# a; [: d# a. V5 x; G4 y( Z
  1197. ; http://php.net/mysqlnd.mempool_default_size+ Z# |# c6 {2 k! D  c2 U# q
  1198. ;mysqlnd.mempool_default_size = 16000- ~1 C* U& p8 Z/ |) I9 Y  A; F, n* r

  1199. % ?2 Y+ K  {3 z3 z. g! j
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.$ b9 X  ^: i) ?$ G
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    8 E7 x* l5 Q- a& U3 f; G5 _
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ! }# I  s& `+ x/ {# V, Z

  1203. 7 M0 o& X/ g0 B( Y& S
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    $ F1 o  p4 q6 y1 V3 |' O1 Q
  1205. ; bytes.
    ( ]7 q% Z$ V* v; S% F
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    3 Y) @- B' d7 g$ o2 B6 Q+ B+ x
  1207. ;mysqlnd.net_read_buffer_size = 32768
    0 z* Z+ _$ @& _5 [# b+ q# v
  1208. 6 x, b* u7 U, a6 G6 l. Q
  1209. ; Timeout for network requests in seconds.
    0 {: V4 y5 H: S( k6 h
  1210. ; http://php.net/mysqlnd.net_read_timeout, b! _6 T7 m( \4 `5 \8 i
  1211. ;mysqlnd.net_read_timeout = 31536000
    ! J; A5 `- g; Y2 z/ {" z" r
  1212. + W8 P! w, w7 c7 n! F
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    / H6 X& K1 G) F
  1214. ; key.' |8 O+ [# R. k& A% v: E, R
  1215. ; http://php.net/mysqlnd.sha256_server_public_key$ g! u! p# [9 Y( M7 G/ |; w7 ^
  1216. ;mysqlnd.sha256_server_public_key =6 i/ z# E6 I1 V  c- W

  1217. & d2 s; ]- U- E
  1218. [OCI8]- g5 E1 n# a' \+ S& L* H

  1219. ) a9 S6 V  E. j3 u, W! r
  1220. ; Connection: Enables privileged connections using external5 ]4 @+ n+ j5 b8 c
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 @' Q- h. {6 j5 I
  1222. ; http://php.net/oci8.privileged-connect- P0 K  N2 I. P- \! f6 E6 d
  1223. ;oci8.privileged_connect = Off- N+ I' N7 t/ r. Z+ v; D
  1224. + d7 J+ @9 p9 y; j: f9 d, ]7 `
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    0 {0 `$ M; J8 [7 W) G7 y. [
  1226. ; process. Using -1 means no limit.
    0 S" ]* ^. x- ?. j
  1227. ; http://php.net/oci8.max-persistent
    % V: G* L1 K6 T6 X
  1228. ;oci8.max_persistent = -1
    $ m( p( S; o1 @+ K: Q; C

  1229. 0 A' M- q5 e5 f2 q% c# y7 L0 v0 O, M
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ; L% ^" y8 b9 v7 K' x3 ~
  1231. ; maintain an idle persistent connection. Using -1 means idle' p  U2 |9 q- _" a, q
  1232. ; persistent connections will be maintained forever.
    % ?  v" U) e: b9 N& f9 ]5 S
  1233. ; http://php.net/oci8.persistent-timeout
    - c# M( f' {1 s. [2 u
  1234. ;oci8.persistent_timeout = -1* i, z& A$ e( p  Q6 |) {3 j
  1235. : ?# ?! }7 x) F- j$ d
  1236. ; Connection: The number of seconds that must pass before issuing a) b$ R, t* Y" U: V+ J
  1237. ; ping during oci_pconnect() to check the connection validity. When
    0 C6 [* V7 h" D/ X& Q& @
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    0 y" D7 I1 b/ o& e
  1239. ; pings completely.
    6 M$ V! b, _: F( J
  1240. ; http://php.net/oci8.ping-interval2 q) V4 A: I: R$ U7 f" ]% s
  1241. ;oci8.ping_interval = 60
    9 C! ?/ v  l- u, T
  1242. # [/ j$ p4 r: O9 p: N
  1243. ; Connection: Set this to a user chosen connection class to be used1 }; z- I9 x- n( t
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ) i. O- t$ d( ]1 I
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to, E( {; b  x; U! Q5 Z4 q4 d$ C
  1246. ; the same string for all web servers running the same application,
    * k5 k4 ~  F: S. U. i
  1247. ; the database pool must be configured, and the connection string must( y$ ?. n/ V& u' B' S9 q
  1248. ; specify to use a pooled server.' \6 w. ]% y- f0 k
  1249. ;oci8.connection_class =
    4 J7 Y8 u, ?; e2 A2 ?) ?

  1250. 4 L( R) r% ?$ N- _  }4 c+ j
  1251. ; High Availability: Using On lets PHP receive Fast Application6 q" G. y4 Q9 ?  _( b7 o6 t
  1252. ; Notification (FAN) events generated when a database node fails. The
    " H5 i! h$ h9 H; y1 c4 R+ ~: e
  1253. ; database must also be configured to post FAN events.
    5 l1 ]+ D/ E8 J; T3 C# S
  1254. ;oci8.events = Off
    3 j' S( e/ s9 E1 ~

  1255. ( i% g% o  }- J( z9 M
  1256. ; Tuning: This option enables statement caching, and specifies how
    , u+ N: w' c; W  O+ ~
  1257. ; many statements to cache. Using 0 disables statement caching.
    ; t7 E$ w7 N1 k. v$ q6 t! k. F
  1258. ; http://php.net/oci8.statement-cache-size
    7 R( N+ f$ T  p
  1259. ;oci8.statement_cache_size = 205 H0 I0 v& ?8 ^/ K6 A

  1260. . W8 k% \+ t! A6 N* T
  1261. ; Tuning: Enables statement prefetching and sets the default number of1 R; Q" V; }7 u
  1262. ; rows that will be fetched automatically after statement execution.
    2 T/ _+ g/ |8 b0 n5 M
  1263. ; http://php.net/oci8.default-prefetch1 b, R0 X' `# R; U. t. D$ s
  1264. ;oci8.default_prefetch = 100
    0 z+ n! d( H& f7 _6 ?

  1265. 1 c1 }7 K  M! q3 O6 Z( \
  1266. ; Compatibility. Using On means oci_close() will not close& x) {3 M% `7 G7 ^
  1267. ; oci_connect() and oci_new_connect() connections.
    ) d. V8 F9 Z! X. p$ ?' I
  1268. ; http://php.net/oci8.old-oci-close-semantics: q$ H$ @- k; y  o; |$ f: O+ a0 U4 D
  1269. ;oci8.old_oci_close_semantics = Off# M' l. b1 {( D4 ~: U/ I4 {" `
  1270. ( ~: r. T7 n  _) \- {3 T7 Z
  1271. [PostgreSQL]
    + H, C- l, z$ Y! \8 \0 w! a7 T8 j
  1272. ; Allow or prevent persistent links.
    0 H; r/ Y1 F& W& s2 d
  1273. ; http://php.net/pgsql.allow-persistent% J5 |) ~& Y7 y& R. M5 [3 w
  1274. pgsql.allow_persistent = On
    ! `# J' y8 t7 u% T+ |3 y- m
  1275. 9 |! k9 d% }* }' W
  1276. ; Detect broken persistent links always with pg_pconnect().* [  [0 H8 [! f/ |
  1277. ; Auto reset feature requires a little overheads.- d  ?6 W3 Z+ ]7 C; [+ e  @
  1278. ; http://php.net/pgsql.auto-reset-persistent. u, z, ]4 w! \7 y) B
  1279. pgsql.auto_reset_persistent = Off) U' U4 {& g6 J3 z$ O. X
  1280. * q$ d& t0 d8 [$ E! A6 A# J% B
  1281. ; Maximum number of persistent links.  -1 means no limit.
    - f! c2 R$ {9 `+ C& C+ {
  1282. ; http://php.net/pgsql.max-persistent
    7 _- C$ R4 ~+ ]: U
  1283. pgsql.max_persistent = -1
    + ?* Q# y# k+ m
  1284. : W* w4 u* n+ p2 K6 Z1 y+ \
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' ]4 Q4 x! {5 x$ B
  1286. ; http://php.net/pgsql.max-links6 w; V! d! f) m" ~; m* T# V( P+ i
  1287. pgsql.max_links = -1
    / a& i+ S) M- _/ g" _
  1288. * E, B2 S! ]$ a2 j5 e  J
  1289. ; Ignore PostgreSQL backends Notice message or not.
    4 W8 q7 B% b, }+ H$ u( @
  1290. ; Notice message logging require a little overheads.
    0 ]- R: T4 q0 N7 ^4 c* D
  1291. ; http://php.net/pgsql.ignore-notice1 d6 f/ m: p; A; X" D' `
  1292. pgsql.ignore_notice = 07 l# z4 w4 ^6 ~7 J: A
  1293. $ q# `/ m8 F+ g3 I0 w; w8 Y9 R' Q
  1294. ; Log PostgreSQL backends Notice message or not.
    6 L7 |% t# W2 w" v1 {* [3 T
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; v, h, ^. B3 Z  ?: [! }
  1296. ; http://php.net/pgsql.log-notice$ [: S8 f0 _" C# v* o
  1297. pgsql.log_notice = 04 F7 b* u9 z& \- E$ h/ U

  1298. 2 m% w, N4 ?& q4 z& g
  1299. [bcmath]6 x" g. M: W% C% Z
  1300. ; Number of decimal digits for all bcmath functions.6 X$ Z/ G2 I" y3 V
  1301. ; http://php.net/bcmath.scale$ ]* g0 |6 o6 q: Z5 @+ R" x
  1302. bcmath.scale = 0; R! C" Q! h$ ?4 ?5 O- V7 `& K3 y
  1303. " ?* q% A5 O; F  P
  1304. [browscap]% v: w8 @) M- C3 C7 A1 z; ?
  1305. ; http://php.net/browscap
    ( I% t% W, `" l) E
  1306. ;browscap = extra/browscap.ini
    " b6 m  C( h8 W$ M+ A
  1307. + t6 @1 y4 o" @/ a: H! W+ l
  1308. [Session]$ D8 L/ a$ N, a1 j8 S
  1309. ; Handler used to store/retrieve data." V9 z/ c% D; o9 z; z" y
  1310. ; http://php.net/session.save-handler
    / x7 Y- @6 ~* l, u4 t# z* k
  1311. session.save_handler = files  Q1 D% Y8 h! W; n

  1312. # N0 a( {9 W+ j* T! }
  1313. ; Argument passed to save_handler.  In the case of files, this is the path% R$ R% ^0 j8 c& \8 h
  1314. ; where data files are stored. Note: Windows users have to change this. `1 d# s7 q/ {$ e
  1315. ; variable in order to use PHP's session functions.
    ! i! {# h1 E$ L5 j2 ], [
  1316. ;7 m2 X0 k  ?8 S! I* o8 k/ Y( X
  1317. ; The path can be defined as:
    5 ~- C5 B2 U7 a; p) k  [2 k2 `, A
  1318. ;
    : O# c5 t" C1 x
  1319. ;     session.save_path = "N;/path"
    # A  G4 p+ x8 x" _! G  X
  1320. ;
    . Y" Q* S9 |. n8 d& X0 m  k' O
  1321. ; where N is an integer.  Instead of storing all the session files in+ h; i! A9 ^9 b5 p/ y  Y' T
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    $ A! Q, S4 x6 \$ w/ I/ m  A8 F- X# B
  1323. ; store the session data in those directories.  This is useful if
      X+ n0 c1 _  T6 T! d
  1324. ; your OS has problems with many files in one directory, and is0 O' n$ l  W2 o  g. h5 Q
  1325. ; a more efficient layout for servers that handle many sessions.3 b9 @1 o0 S( L, H$ P! b6 ?- t! s. E
  1326. ;4 i3 L# j( |0 J
  1327. ; NOTE 1: PHP will not create this directory structure automatically.  s- v1 ]& N* F' T' y. S
  1328. ;         You can use the script in the ext/session dir for that purpose.: A' L) J2 H* Z5 C# |2 r/ L
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    : w8 g! P- U3 d" G9 Y
  1330. ;         use subdirectories for session storage) I1 b! ]8 q% y
  1331. ;
    % x3 z6 |0 P$ W( n4 d5 [$ i$ e( S3 j
  1332. ; The file storage module creates files using mode 600 by default.
    " u* Q5 V/ y, L9 d& W& z" ?. z
  1333. ; You can change that by using% M% n, X4 h2 h" E5 f% A
  1334. ;
    . o) X0 T1 Z+ s8 x' D9 T
  1335. ;     session.save_path = "N;MODE;/path"
    4 j) c8 n4 e' [; ]! @$ b' V* D
  1336. ;% k8 @5 r- K8 y: r6 t0 f* D
  1337. ; where MODE is the octal representation of the mode. Note that this2 [% h$ q7 K# W$ Z$ y. @# X4 u
  1338. ; does not overwrite the process's umask.
    $ Q) B2 }8 `* O" d6 i  d& ^2 f, Y
  1339. ; http://php.net/session.save-path
    4 y; W8 u6 r% H7 T5 M
  1340. ;session.save_path = "/tmp"8 e& V4 t. e7 @. L. S: q
  1341. - J. |% l- d5 L0 w
  1342. ; Whether to use strict session mode.
    & a( A) _# f. j% |( {
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    7 c2 `+ ~6 c  H8 l
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 v& v4 |8 p, `  {. z6 i$ ], D: h
  1345. ; applications from session fixation via session adoption vulnerability. It is
    & s) E" S8 N# Q, n+ [+ [  K+ [
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 L0 i9 d. S1 }9 g5 r
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ! w5 k$ t6 n9 S+ ^
  1348. session.use_strict_mode = 0' p, s1 p8 {; z5 c

  1349. & Y- f+ p. w- x, f, T1 H
  1350. ; Whether to use cookies.7 \: i1 I; X9 N1 ^% b- K) b6 z, M
  1351. ; http://php.net/session.use-cookies' b/ `( @1 k3 Q1 F& c/ j
  1352. session.use_cookies = 1
    * p8 C* ]: I. M% ~$ \
  1353. ' h' N1 l) A6 [, T2 U/ o7 N9 q8 L
  1354. ; http://php.net/session.cookie-secure
    " i! v! g% J8 }( j, j
  1355. ;session.cookie_secure =
    5 B& ~( B2 \/ i

  1356. ) |" `+ G/ I( K5 M6 E$ G
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    - L# H  b2 N. F+ a! E/ J8 Z" }: E* e
  1358. ; the session id. We encourage this operation as it's very helpful in combating( Z0 N& m" p' f
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 `1 B* A- {+ x/ `, o6 m
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    * e4 d! q2 z1 a9 B
  1361. ; http://php.net/session.use-only-cookies
    : u, q+ I7 |5 C% ~2 v1 r& h8 p
  1362. session.use_only_cookies = 1
    5 y- T# ?  h! B% q' K2 W
  1363. 6 t6 b0 D+ B, x$ ~, n- [
  1364. ; Name of the session (used as cookie name).
    $ Y. D4 G$ L, I* T% ~9 d5 t
  1365. ; http://php.net/session.name
    $ M! _& u; D8 \" ~
  1366. session.name = PHPSESSID) a" h3 `% a3 s
  1367. ; x4 T& L" n& `4 q5 `* J" n. n
  1368. ; Initialize session on request startup., L8 B6 g+ C/ w8 \7 {) ^
  1369. ; http://php.net/session.auto-start
    5 ?5 M2 d/ \( x4 K+ Q3 Q. m
  1370. session.auto_start = 0
    0 I9 W4 T& ^5 a$ i3 t
  1371. . N7 T8 R; U# G$ a
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  _( E( [( Q' Y$ |- ?( r
  1373. ; http://php.net/session.cookie-lifetime& \7 k# N. t" q! B8 p3 ~; V) Q
  1374. session.cookie_lifetime = 06 n/ D* F) x( I1 o9 I  ?4 j" ~

  1375. . B$ A" D8 p4 k  f/ f$ w
  1376. ; The path for which the cookie is valid.! }% g; f) |( {- T
  1377. ; http://php.net/session.cookie-path
    - k' r0 D  j9 K1 @2 C! i# _1 t% [
  1378. session.cookie_path = /7 z1 P, V5 d) @3 a) a) K
  1379. 1 a1 S1 B9 S- @5 X
  1380. ; The domain for which the cookie is valid.& q+ u* N  C  Z, f/ E
  1381. ; http://php.net/session.cookie-domain1 b6 D/ y- k; L& j  C" I6 ^
  1382. session.cookie_domain =/ |$ A7 p6 X( p
  1383. 6 _1 {# a2 f. B# u
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    4 C  N6 F8 n' N% z" @9 M" {
  1385. ; http://php.net/session.cookie-httponly$ L- ?( a: m6 l* c" ^; J
  1386. session.cookie_httponly =5 q5 f( h8 D$ X' t
  1387. ! ?' g: }/ f0 I; }
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ! X& M. d' d/ e; l
  1389. ; http://php.net/session.serialize-handler4 ?  x& p& g) R: s5 S9 a2 ?
  1390. session.serialize_handler = php
    " ?. i! N: X, B  d

  1391. ' k) N! l& t: S' V) @
  1392. ; Defines the probability that the 'garbage collection' process is started8 K4 p' D0 |- ~( |4 P
  1393. ; on every session initialization. The probability is calculated by using
    " Y9 f4 W0 ^0 }
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 Z4 l2 g. E9 ]+ V9 x$ D  ]% Q& R
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1& K* F* c+ h# N: N; Q) F
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ! C" C% P+ t( k# D; g' O* T4 \' c
  1397. ; the gc will run on any give request.: K" N- d) ^. O9 L, j  T4 @
  1398. ; Default Value: 1
      B) f+ j8 e) ]
  1399. ; Development Value: 1  x% Y0 t8 A$ f# u2 \6 K" g
  1400. ; Production Value: 1: V- n6 P  \+ D) j. M) ~: ~
  1401. ; http://php.net/session.gc-probability. I1 Z, y3 X6 S7 m: J
  1402. session.gc_probability = 1
    9 n. U" {8 f* F  k7 b1 M  s

  1403. + V7 E" d' e8 c' k' A9 {! U( \
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ) k/ t9 T3 Q6 K8 r' c- r
  1405. ; session initialization. The probability is calculated by using the following equation:4 k3 H- W$ n* ~: m0 [+ M; X
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    1 }" L' ^% b% T& v" w
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; O! D' [" U" o, t5 M/ d
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 l2 y0 ]* O- h  C" C
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . S) D6 O4 Q' J' O! k, ?) x. t
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 y9 Z# s$ K6 B
  1411. ; this is a more efficient approach.
    * w, E% @7 e- N
  1412. ; Default Value: 100
    % }6 f1 e, y/ C
  1413. ; Development Value: 1000  |/ y3 J  U! V8 L( b8 ~2 F
  1414. ; Production Value: 1000
    : E; E) X3 K! a% t( T" l
  1415. ; http://php.net/session.gc-divisor% C+ m% Q* f7 x. }: D4 C9 |
  1416. session.gc_divisor = 1000) T  Q+ A  k, Z% ?' {
  1417. 5 Q5 g  Z! C8 A5 S. U3 i; _: m
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and- `0 G, m, n5 v: K* K
  1419. ; cleaned up by the garbage collection process.
    8 j/ g: U9 m6 Y6 _
  1420. ; http://php.net/session.gc-maxlifetime$ {8 M6 q& x  P) p
  1421. session.gc_maxlifetime = 1440
    0 \" {: s  C1 @* Z9 J
  1422. . P! p9 e( W* G
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    7 H2 z: z) Y* _  C/ P" m+ @
  1424. ;       (see session.save_path above), then garbage collection does *not*  V" Y! ?+ M7 S; |6 l
  1425. ;       happen automatically.  You will need to do your own garbage8 x1 A! r4 f' V4 e
  1426. ;       collection through a shell script, cron entry, or some other method., V, w9 h8 \: ~6 O' k( {, D& F
  1427. ;       For example, the following script would is the equivalent of; c8 r" G3 Z0 ]2 D  r
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    7 s' r3 m4 Z' V; q7 c. K" |
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 R# B4 z9 p7 d/ D1 @9 P6 o$ `
  1430. 1 J. I; _: f1 J  Q; d8 V9 I2 Q+ f
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.- b% k1 x9 J# W3 I4 l4 k
  1432. ; HTTP_REFERER has to contain this substring for the session to be" _) O' r" U+ x
  1433. ; considered as valid.9 |& |8 ?2 L( j* Q5 m
  1434. ; http://php.net/session.referer-check
    + G8 Z) N$ b+ C# K' D5 T' r; k& }
  1435. session.referer_check =+ [6 ~/ B5 O  H- Q, f

  1436. 9 v7 r! ~9 h7 F( F; t0 l
  1437. ; How many bytes to read from the file.5 f5 Q  \+ K5 ~' \9 o
  1438. ; http://php.net/session.entropy-length  A0 M3 ^3 N: M! M: F$ a6 e  l- `9 [8 h
  1439. ;session.entropy_length = 32
    8 W0 G  s8 ^% g: @, g# {

  1440. ' s- P6 n( C: Y7 g- D/ F9 P0 A# M' b# Y& e
  1441. ; Specified here to create the session id.
    * a  c) l3 |0 v4 Q: w
  1442. ; http://php.net/session.entropy-file
    ) V  i. J% K- [" o2 S1 u9 [/ X
  1443. ; Defaults to /dev/urandom
    + v9 O: ]. N7 E0 A
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom$ x% I% k( h9 }* M0 U) E! L' v
  1445. ; If neither are found at compile time, the default is no entropy file.
    " G! H1 y, d" c  j+ ^8 e
  1446. ; On windows, setting the entropy_length setting will activate the
    ' a' I# {8 ]  g
  1447. ; Windows random source (using the CryptoAPI)' y* S9 w9 H. W( P' P
  1448. ;session.entropy_file = /dev/urandom
    . x; F1 s& v6 w: A

  1449. 8 y' q$ R/ U/ R
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    : H; L. C$ s& E
  1451. ; or leave this empty to avoid sending anti-caching headers.
    , L/ X* V! I. {. _7 u* y- W
  1452. ; http://php.net/session.cache-limiter! x3 r1 @# \) ~, Y( ~: }
  1453. session.cache_limiter = nocache( W1 X1 m# m& |) k/ B# M3 }8 Q

  1454. " ?* u, P- b3 j% @) n' Z' ~
  1455. ; Document expires after n minutes.! X9 s# b, g  [" O. V4 p6 f
  1456. ; http://php.net/session.cache-expire
    1 s8 a, F+ `& T) \8 Y8 N. f7 f
  1457. session.cache_expire = 180# x* R7 p  b  _! ~5 t# [

  1458. 7 S7 {: o3 d* p! e% q* \
  1459. ; trans sid support is disabled by default.
    9 d; G2 x9 J8 V. g; m
  1460. ; Use of trans sid may risk your users' security.
      i5 n3 T/ Y2 t, F2 F
  1461. ; Use this option with caution.. L3 @) l/ c2 U
  1462. ; - User may send URL contains active session ID
    " k9 {& }  ^4 z4 |! @% _/ o) I0 Z0 z. p
  1463. ;   to other person via. email/irc/etc.3 G3 U& B1 y% l- ?8 l
  1464. ; - URL that contains active session ID may be stored$ \. l6 {, [3 w) e5 Q$ \  n, Y
  1465. ;   in publicly accessible computer.9 M! A" Y/ g, ?* n. u  ?
  1466. ; - User may access your site with the same session ID
    & @5 i$ Z* }+ K- H2 H
  1467. ;   always using URL stored in browser's history or bookmarks.! e7 ~' a' J9 a% O
  1468. ; http://php.net/session.use-trans-sid
    * k' C6 q1 t# k8 W7 s
  1469. session.use_trans_sid = 0
    . X% P; k5 ^, K/ G

  1470. $ K6 Z! ]9 \5 @" P4 D3 q
  1471. ; Select a hash function for use in generating session ids." y" k2 C4 C! X9 w: l: q' g
  1472. ; Possible Values( r4 H3 p1 g) n
  1473. ;   0  (MD5 128 bits)
    ; |# ]% r4 C" w- @
  1474. ;   1  (SHA-1 160 bits), T: U% j; K8 V& t
  1475. ; This option may also be set to the name of any hash function supported by
    ! N# k& E6 D* I: U+ ?" N
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 w' \( s, b# E' K' U
  1477. ; function.
    3 M. U, g/ _2 b! l
  1478. ; http://php.net/session.hash-function7 t/ i( M2 ]& c% R8 q
  1479. session.hash_function = 0. @0 n1 M6 ~9 E. K! y

  1480. . Z& @) _' l" n7 ?2 C  L
  1481. ; Define how many bits are stored in each character when converting1 k: y+ J' i/ W, N( U1 E& u! l
  1482. ; the binary hash data to something readable.+ w% h( G- R/ V/ Y' ]# \3 \7 m% Q
  1483. ; Possible values:
    ' W9 U8 F- ]( W. B/ z" R
  1484. ;   4  (4 bits: 0-9, a-f)
    : T) t$ K3 L; p' S0 a7 b
  1485. ;   5  (5 bits: 0-9, a-v)
    # [5 v7 V/ [- C2 A+ m
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
      v/ G0 Q) r9 J
  1487. ; Default Value: 4, o% X; d2 s) V- O9 r
  1488. ; Development Value: 5
    ! h1 v. _! ?6 K: R, F  I3 N
  1489. ; Production Value: 5" |" F- R3 K" T- z% F
  1490. ; http://php.net/session.hash-bits-per-character/ D7 J4 |6 b8 g0 j0 L
  1491. session.hash_bits_per_character = 5: R# P: n5 N/ |9 r, L
  1492.   ^( K# S# T4 Z) Q' W
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.: {0 g2 p; m5 q" P
  1494. ; form/fieldset are special; if you include them here, the rewriter will7 _6 Q3 w  a" T: k4 e( V  x
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ' u* Y! \# b* S! p2 M: n
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.% D# C; J& o3 v
  1497. ; Note that all valid entries require a "=", even if no value follows.$ e4 c6 Y2 e  j8 S/ C
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    8 r# y5 X/ v. {$ j
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 E- M$ K& L0 X. u: w6 i  p! @) k8 v
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : v7 s$ C5 q  g$ Q
  1501. ; http://php.net/url-rewriter.tags
    # }& q5 a9 L& L7 Q" v
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 F( d# r6 X" q/ ]; d" f, @- J

  1503.   O& O1 H, K% D7 [6 a
  1504. ; Enable upload progress tracking in $_SESSION
    ) t! @3 X# W! I- h. D
  1505. ; Default Value: On
    ' E8 d! z- a& c3 @# O) i# i
  1506. ; Development Value: On
    : D* H7 G: \1 g: ]9 w
  1507. ; Production Value: On2 z- k- h! c4 I) t  k; H
  1508. ; http://php.net/session.upload-progress.enabled
    ( \& v" ~8 r1 N8 V$ K+ I
  1509. ;session.upload_progress.enabled = On7 [$ E$ D# D  N' M1 I8 R) ~
  1510. " x5 D( \( d. _- }7 C: I
  1511. ; Cleanup the progress information as soon as all POST data has been read
    . s2 v) Z) K# `1 m! F# w! e
  1512. ; (i.e. upload completed).9 q/ G+ z$ q* m; f% N
  1513. ; Default Value: On! {2 @5 j6 Z$ K2 U- I
  1514. ; Development Value: On8 k* m! a: ?! p, X9 f: m$ t
  1515. ; Production Value: On& O; A* C1 N1 g- }1 K+ K
  1516. ; http://php.net/session.upload-progress.cleanup
    / `4 {1 U! f) Y0 G5 ~
  1517. ;session.upload_progress.cleanup = On
    - E- P. D% [; E- i$ i7 X/ V

  1518. " z( p2 W: k, u" _! }* |( c
  1519. ; A prefix used for the upload progress key in $_SESSION7 @! C4 Z3 u$ _# R" ]) p1 V2 @4 O
  1520. ; Default Value: "upload_progress_"" B2 M! W( H* a& v) t
  1521. ; Development Value: "upload_progress_": ^0 K% f0 I) P- r
  1522. ; Production Value: "upload_progress_"2 k) w( Z0 K5 ^( V
  1523. ; http://php.net/session.upload-progress.prefix
    1 {( G& Z( `* W& J
  1524. ;session.upload_progress.prefix = "upload_progress_"* F  ]- I7 n( A5 u8 j* e  H9 i

  1525. $ m( A+ C; `$ W6 `$ J
  1526. ; The index name (concatenated with the prefix) in $_SESSION, ^9 r# a2 F2 O% J/ _( E
  1527. ; containing the upload progress information5 P3 Z2 P  K! P6 k' Z8 P( W# J
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"( {0 l$ H1 N  S7 {
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ n$ L2 z7 ?+ d
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 G  t# ?0 f& S7 n  Q; O: T
  1531. ; http://php.net/session.upload-progress.name' O2 D; S3 `% E; [" g+ O; s
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS". g+ Y1 F: ~# {8 x, ]& l# C
  1533. ; D0 u, t& [% q& s& }' r
  1534. ; How frequently the upload progress should be updated.5 G3 q0 O- ~5 s! \" t$ }8 j( r8 o
  1535. ; Given either in percentages (per-file), or in bytes
    0 }, a+ K5 D- M! I- x* X; {- ?  q
  1536. ; Default Value: "1%"9 W, `. {* `6 s9 J& l. e
  1537. ; Development Value: "1%"' `: n* d! c& F; h9 a
  1538. ; Production Value: "1%"% z" E4 p/ z/ q
  1539. ; http://php.net/session.upload-progress.freq
    & F$ M" c- J2 U
  1540. ;session.upload_progress.freq =  "1%"# R5 B  L+ `0 d% |( ^
  1541. ' L& E, D/ U3 D# C5 k$ b+ L" ?
  1542. ; The minimum delay between updates, in seconds% r/ Z- P: C" X1 V9 d' M
  1543. ; Default Value: 1
    , b6 H; q6 B, D; B0 i. H4 w, ]
  1544. ; Development Value: 1/ U7 K! l/ l  q. P+ a  k$ [1 g5 g, p
  1545. ; Production Value: 1
    & F- K# I6 ~+ J% u
  1546. ; http://php.net/session.upload-progress.min-freq& N! b0 p9 \6 B: z9 I" k! Q4 T8 u
  1547. ;session.upload_progress.min_freq = "1"
      T# O3 `- D6 a" e) X! s
  1548. ( X" N* x0 C& ~6 M
  1549. ; Only write session data when session data is changed. Enabled by default.* Y: S- W+ }5 d8 I) b  M6 R
  1550. ; http://php.net/session.lazy-write
    & f0 H+ O6 w# I# ~
  1551. ;session.lazy_write = On
    ) \, ~# h9 Z2 X. `3 ~' X# V
  1552. ! t0 x! z- K+ X
  1553. [Assertion]
    8 ^3 f. u, m' Z  ~7 u  J  n
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)/ T( t7 ~$ ]  t+ q+ X$ @" i3 ^
  1555. ; -1: Do not compile at all. m+ U1 U( w( u. \8 [1 Z. l! K
  1556. ;  0: Jump over assertion at run-time
      u/ @9 U; h; f6 E* ~' S
  1557. ;  1: Execute assertions0 |4 A! e, e6 d' h) h' q
  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)( d% Q' ]& h) j8 d0 ^
  1559. ; Default Value: 1$ i3 e  C  J* L# E( J6 _( H, J2 X/ M
  1560. ; Development Value: 1
    ! B) H  W. q6 Z5 U7 v; H
  1561. ; Production Value: -1
    % @* M) D4 Y5 A$ o. L+ T/ y/ ?
  1562. ; http://php.net/zend.assertions
    ( {& k, j: c9 v
  1563. zend.assertions = -1, |! C3 o7 i* q- S
  1564. 7 p. a8 ^# P! }! @
  1565. ; Assert(expr); active by default.
    ' E4 R' d9 q2 I( V( \& a0 s" B
  1566. ; http://php.net/assert.active5 |& r1 U% f: I# G
  1567. ;assert.active = On7 }- d) @2 ~) m5 U' ]0 V

  1568. + h5 G* e! n- y- [3 e
  1569. ; Throw an AssertationException on failed assertions7 n: m5 @, \3 L
  1570. ; http://php.net/assert.exception6 X; O# L; @' ^- z' Z; I( B% r$ N
  1571. ;assert.exception = On
    + H7 t/ k/ s# I3 `
  1572. 0 x" T3 e. m! v/ w- x5 x  a* E
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
      r+ C0 C, ^" {, \5 w
  1574. ; http://php.net/assert.warning
    9 B2 g4 w( D5 J
  1575. ;assert.warning = On" Z+ t, Z; @: \
  1576. , d/ r2 Q( d( b( E) E* h" ]
  1577. ; Don't bail out by default.& _( z6 ^3 `3 Z, o/ g6 q0 }
  1578. ; http://php.net/assert.bail
    : h  D& k) K; i/ }
  1579. ;assert.bail = Off
    * r& E8 V% Y8 t$ M. V1 b5 b# ]

  1580. ) o7 y6 u$ \% W- b
  1581. ; User-function to be called if an assertion fails.
    * }& ^- L( _( D% J2 i
  1582. ; http://php.net/assert.callback& m; i1 j* |: K
  1583. ;assert.callback = 0& g. H% u* {( D, S/ X6 s- B* B1 ^# g
  1584. - q, C! L' A7 A4 T4 v+ r  {9 A( i
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    1 Q6 v+ V1 w+ L+ K
  1586. ; error_reporting(0) around the eval().  @! [' @! c- o6 [0 L3 o- k0 r
  1587. ; http://php.net/assert.quiet-eval3 u* f1 V0 Q% S6 E/ j3 Y8 F( a6 u
  1588. ;assert.quiet_eval = 0% }) a; h1 s. e4 r3 a! b
  1589. 6 X" M' }- J/ \; G2 z
  1590. [COM]
    7 M1 ]* D' m. @' g7 d% p7 d
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    6 z& }; v. |$ V
  1592. ; http://php.net/com.typelib-file% y; V4 L0 }: `, o* W5 W: X
  1593. ;com.typelib_file =
    % N9 F/ F0 e' A9 M1 }

  1594. ! Y) l' ^6 h% j- R7 N5 K
  1595. ; allow Distributed-COM calls' C% ^4 c) v' k4 O
  1596. ; http://php.net/com.allow-dcom
    ! V& B1 v4 O; O9 ?. }
  1597. ;com.allow_dcom = true
    ( N: O$ K9 l6 G% A
  1598. : v0 C, x3 T4 [% G
  1599. ; autoregister constants of a components typlib on com_load(). G- k, b/ e1 x9 l, G
  1600. ; http://php.net/com.autoregister-typelib# l6 ?6 j1 p# |& N& n7 [: H
  1601. ;com.autoregister_typelib = true
    & w5 A$ ~8 B8 |/ b

  1602.   m8 X5 |$ a. N6 i8 Y# \/ k
  1603. ; register constants casesensitive7 [5 d$ Z* K" A8 C( H$ z
  1604. ; http://php.net/com.autoregister-casesensitive
    # S! g/ [$ Z( ]1 t( Q
  1605. ;com.autoregister_casesensitive = false
    : M( x, c+ f" n( U5 R
  1606. " V- N7 l0 h1 \
  1607. ; show warnings on duplicate constant registrations
    . L" N. H7 ?) |( b, f. L
  1608. ; http://php.net/com.autoregister-verbose, _' k, |+ j8 W6 W: D! v
  1609. ;com.autoregister_verbose = true
    1 k6 z# q7 B7 z3 M( F

  1610. $ G- `3 S8 d3 R  `
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ; o7 }# |$ T& c/ h7 _" M
  1612. ; Default: system ANSI code page% N) ~1 j& r& H* X' X& r8 f
  1613. ;com.code_page=% v# q, x6 y" ?- d* _4 ]0 m9 u/ f

  1614. - X- n3 }( k& u. W$ o
  1615. [mbstring]0 K4 v9 w( |% ]2 J/ w
  1616. ; language for internal character representation.
    0 Z4 U9 G6 ~! i  ]" r
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    5 Z6 M7 f% x2 f
  1618. ; http://php.net/mbstring.language# }* _9 k' ?8 x2 K
  1619. ;mbstring.language = Japanese3 r, I* V& a& ]9 ^' I# [, K, r* r& i
  1620. 1 @6 e3 z$ r. k: Y4 V/ o
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead., ~3 r2 o  c+ ~9 s# D! J2 H: B3 L
  1622. ; internal/script encoding.
    * Q% d7 K, A0 E$ k
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 k& k% k9 m. F1 P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 o3 W; e7 G  F+ j3 v  H
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, q+ S" _( G- F# P5 z' c, o
  1626. ;mbstring.internal_encoding =2 f, ^" P4 r4 Q* b1 X4 u

  1627. ) j7 O2 i: t1 w+ @3 s- [4 M7 w3 F3 ~
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.# E7 k* \" \( n8 b  C/ E+ i5 a
  1629. ; http input encoding.
    / p& t4 z$ H. y( H8 J
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.. W2 Q0 [1 e5 t8 I( a
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.3 m7 L$ Z* s" ^1 P! R
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. m* p( y5 w% y# G9 l5 t! C1 V% t
  1633. ; http://php.net/mbstring.http-input- t* _, b% h" l" }# e) Y
  1634. ;mbstring.http_input =
    ) p3 h/ ?' T, R$ Y  I4 f! A+ h! c

  1635. . a9 j* w  ~6 ]  \: s9 y* F- x# e
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.; ~% l# z8 Q/ {! p! }- \
  1637. ; http output encoding.# ?: F# A3 A0 k9 T5 v  {" n
  1638. ; mb_output_handler must be registered as output buffer to function.) p+ z9 a: @! E3 m* R
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 N3 u; |4 ~* ?  d$ q
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + d7 v5 x' M% ~; k- z& j
  1641. ; To use an output encoding conversion, mbstring's output handler must be set+ M7 g; h3 K3 E/ C0 j
  1642. ; otherwise output encoding conversion cannot be performed.2 {6 D5 x" N0 _
  1643. ; http://php.net/mbstring.http-output
      y' l1 s$ Y, D) v
  1644. ;mbstring.http_output =: L5 N# D6 }% L( P8 I

  1645. : [( m8 q+ l' l1 o3 ]
  1646. ; enable automatic encoding translation according to
    ! E1 b1 L; g/ A. }- W: `
  1647. ; mbstring.internal_encoding setting. Input chars are8 i, p+ y% l6 L
  1648. ; converted to internal encoding by setting this to On.
    ' a! q4 v# W. l! p; W, ]
  1649. ; Note: Do _not_ use automatic encoding translation for
    2 K' }, ~/ `2 A( l! e
  1650. ;       portable libs/applications.% Q4 X$ p  p- f3 w
  1651. ; http://php.net/mbstring.encoding-translation, T* }' ]# M- |* w, `+ v2 z6 R
  1652. ;mbstring.encoding_translation = Off& W8 l. `( {! k- K1 S+ [! [
  1653.   B; P% C: m+ r6 ?' h
  1654. ; automatic encoding detection order.
    2 Z) u! T( I$ ?1 f( s! D8 P# C
  1655. ; "auto" detect order is changed according to mbstring.language* ^8 W' J8 K( X7 f
  1656. ; http://php.net/mbstring.detect-order, M2 z0 {; z+ y# E* P2 V7 o
  1657. ;mbstring.detect_order = auto
    ) m$ j& ]$ H  Z5 c( L

  1658. " g4 [1 k. a' c" B
  1659. ; substitute_character used when character cannot be converted4 q- P/ V- C. l, V' _& P1 X
  1660. ; one from another" M/ q! U& M+ T( |; q! v
  1661. ; http://php.net/mbstring.substitute-character
    / [% _* H; [2 i! j) M
  1662. ;mbstring.substitute_character = none
    1 R) u- e' L( |+ @0 Q

  1663. 0 h( V# G( |# t; L4 c& w8 ~
  1664. ; overload(replace) single byte functions by mbstring functions.
    4 D% J) b5 s+ G/ D- _
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) g7 j" F- B8 d; |, J7 L5 E, Z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.- a( H( P! G2 u! Y. C- ^; J
  1667. ; For example, 7 for overload everything./ \: ~  H( B( T1 l- K
  1668. ; 0: No overload
    7 ~8 e& A. n6 u: [6 v' Z
  1669. ; 1: Overload mail() function* l. i, L8 L% A8 c% o
  1670. ; 2: Overload str*() functions
    3 N3 i- }* r- O- n; K
  1671. ; 4: Overload ereg*() functions: |) @, L: g6 N6 \4 C8 X6 [! Z
  1672. ; http://php.net/mbstring.func-overload
    , C2 N& U# ~# W* k/ F
  1673. ;mbstring.func_overload = 06 h. g1 E) Y- V6 g! v
  1674. + n! ]' W' [. e" M* k3 u1 X1 _8 k
  1675. ; enable strict encoding detection.
    ! d* A2 U8 n+ J- |
  1676. ; Default: Off. p# ^1 p: n; |$ a. y% j
  1677. ;mbstring.strict_detection = On5 t5 s$ C: a% S) H: [# S/ y
  1678. 8 C, J3 }3 T; o& N% l
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(), b9 i; A6 e9 d9 a9 B* p% S8 j4 T
  1680. ; is activated.
    1 m& b9 W- o8 Y& R1 h0 c
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    " ^1 w# a# g% ~* z+ V5 `# k6 t
  1682. ;mbstring.http_output_conv_mimetype=
    ; U3 v- H& b% j& @5 ]' X& m
  1683. 7 W. C: A5 F/ ~+ C4 T
  1684. [gd]( z( i! L4 F9 V$ K0 f6 j4 w; M, l
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    2 l( `) D3 {3 \# \  n, i8 A  k
  1686. ; a gd image. The warning will then be displayed as notices
    : ]) @6 H7 X2 B0 L* L5 U& B
  1687. ; disabled by default
    ; U1 v# E1 z3 U5 Z
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ( w! h1 z7 D# V/ n' P# a' z/ E
  1689. ;gd.jpeg_ignore_warning = 0: v' Q4 }/ q4 b1 t% Y7 o

  1690. ' P  J8 |. k; ]
  1691. [exif]
    * Q) [1 X; c) i) a- H
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ u. T2 s1 O' E
  1693. ; With mbstring support this will automatically be converted into the encoding
    $ F2 G0 W- y. _/ Y2 \) \3 Z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
      k& L$ d! @$ e/ v# O
  1695. ; is used. For the decode settings you can distinguish between motorola and
    : P' C& U  F' Z1 m; b. i8 Q# M
  1696. ; intel byte order. A decode setting cannot be empty.* ?: j* t2 w1 K! R
  1697. ; http://php.net/exif.encode-unicode
    $ j; u& H3 w5 s0 M
  1698. ;exif.encode_unicode = ISO-8859-15
    5 I7 o9 O$ C( L8 U* c5 o7 j! o
  1699. ' m/ c; d' ?* f! ]1 |5 k# k
  1700. ; http://php.net/exif.decode-unicode-motorola
    8 F" r+ X5 W9 L8 Y+ V: M
  1701. ;exif.decode_unicode_motorola = UCS-2BE
      S1 u2 O. n' |' i: s4 [, P1 y

  1702. ) L, V; z4 z# _7 u
  1703. ; http://php.net/exif.decode-unicode-intel
    * ^) @2 _& g9 L6 m9 ]& L; _7 Y
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    9 ~7 b1 B, ?5 u( C

  1705. ) f. ^/ Z4 T$ b. z% K8 n. x2 d
  1706. ; http://php.net/exif.encode-jis. k( L; S  }$ K. ~1 P1 [
  1707. ;exif.encode_jis =
    * H+ }9 Q1 ^7 r) ~
  1708. : u1 F" r$ b) `
  1709. ; http://php.net/exif.decode-jis-motorola
    " d* v3 p7 u$ |* b# c- B. |
  1710. ;exif.decode_jis_motorola = JIS% V$ V2 n/ e, Q# `# s5 z! t( [

  1711. - \) V. o4 d: L. ^) c3 U8 M, n( y
  1712. ; http://php.net/exif.decode-jis-intel
    , U. t. I0 {4 n: M! [( {
  1713. ;exif.decode_jis_intel    = JIS
    2 q' h! ~$ ~; U6 |- @

  1714. * E! a( n( ~: S  y
  1715. [Tidy]
    + V& p5 `, j  k& j
  1716. ; The path to a default tidy configuration file to use when using tidy- O, N4 `# I8 E/ @! E  @
  1717. ; http://php.net/tidy.default-config* ?. r4 e2 }3 v0 h2 t
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    & d+ u8 [8 ^* v6 u1 E1 e8 c

  1719. ! y) U9 c; d1 @; \, ^
  1720. ; Should tidy clean and repair output automatically?
      u& o' G: G- Z7 O! j
  1721. ; WARNING: Do not use this option if you are generating non-html content
    4 F6 {- v# b4 K+ O. K, h
  1722. ; such as dynamic images
    9 M: N1 |" s  C, T4 q: {
  1723. ; http://php.net/tidy.clean-output
    ( `3 ~8 V3 w- b$ C3 {- S# |
  1724. tidy.clean_output = Off
      f' p8 s/ h3 U" P% x5 D5 I) o
  1725. ' M$ C- y7 E6 x/ s$ t
  1726. [soap]
    $ z9 U' y0 J& I
  1727. ; Enables or disables WSDL caching feature.' W: h  N9 B( O! v! i
  1728. ; http://php.net/soap.wsdl-cache-enabled
    9 c& ]' w" u5 ?: a0 J" p
  1729. soap.wsdl_cache_enabled=15 K5 f4 O) [" Q  }
  1730. ; f8 s+ I$ d+ e
  1731. ; Sets the directory name where SOAP extension will put cache files.
    " F# h9 j& v6 U& m. O. Z$ {" j& n
  1732. ; http://php.net/soap.wsdl-cache-dir$ F# v3 E. }; c% |, f
  1733. soap.wsdl_cache_dir="/tmp"
    ' `8 z) J4 H3 ^' c! b! E$ t2 E

  1734. , o8 Y2 b( p2 b: r& H; w7 `9 {5 M
  1735. ; (time to live) Sets the number of second while cached file will be used
    5 Y7 s. F( S4 n  J$ t: E8 s
  1736. ; instead of original one.) n7 k' O' {3 k1 `: @) Z
  1737. ; http://php.net/soap.wsdl-cache-ttl
    / Z' a: _' \+ R( _! L; U( \/ c
  1738. soap.wsdl_cache_ttl=86400
    , x0 e; b* `  @+ o4 L5 z8 K
  1739. ( h( ^# h7 Y$ Q8 D$ ^" i
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    6 N: q- Q: [& X$ j, x7 P/ R
  1741. soap.wsdl_cache_limit = 5
    3 }) h* s1 `+ b' S' Y

  1742.   z$ W7 x' I0 A- C  s) e% |
  1743. [sysvshm]1 W1 t2 p0 Y* q- H7 ^2 b- K9 v
  1744. ; A default size of the shared memory segment
    7 g, P  b( B: L, L; Z' ~
  1745. ;sysvshm.init_mem = 10000* W" m9 J4 L  C" J
  1746. , K6 ]' t0 z- ]: @! T2 }5 C
  1747. [ldap]
    $ W- ^2 J# }" x5 ~# f+ y
  1748. ; Sets the maximum number of open links or -1 for unlimited.3 y' v! Z* K, t& Q
  1749. ldap.max_links = -1
    * T9 ^5 G% k$ p& t; P& ?5 U

  1750. 5 ~+ A8 g* k) o0 d5 \
  1751. [mcrypt]" Q2 H9 A: |9 o, G) D9 E% p" ^
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( h$ ~1 a/ C! n' J. j# q

  1753. ) ^% A, L% S5 t! ?6 T) Z; Z& Y. g$ Y
  1754. ; Directory where to load mcrypt algorithms; j3 x% m2 _% B8 ^. d
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 u2 w! y" t& ^) L. ^
  1756. ;mcrypt.algorithms_dir=
    - v+ \5 k( M3 Z0 e3 w" Z

  1757. 7 `2 l8 y9 E7 J. p+ n
  1758. ; Directory where to load mcrypt modes/ S( M! j5 H7 p
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 C* z1 ]7 Y  o. w' k
  1760. ;mcrypt.modes_dir=2 M) f8 B, @1 s# L3 X! l# _- `
  1761. . i: q% |: P8 m* v+ l' N
  1762. [dba]0 A; G3 ~# q/ Q
  1763. ;dba.default_handler=6 H0 T3 g/ r# P6 T/ a

  1764. 7 t1 z) H9 U6 {8 \; Y/ M
  1765. [opcache]+ x- v, m( y0 o. |  N4 }; x
  1766. ; Determines if Zend OPCache is enabled
    , D1 ]% Z6 g2 w' t- V
  1767. ;opcache.enable=0
    ' y& O6 r7 E  v0 H  L4 p, J
  1768. 5 h! G# B' n" G0 }2 E
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP# r- l* E6 W, _& t- ^+ ~
  1770. ;opcache.enable_cli=0
    : j& k: T5 p! p' A
  1771. + Z8 e! t' c8 w( L' Y) A' t% f
  1772. ; The OPcache shared memory storage size.; u1 Q: n+ Y2 i1 U. y( s
  1773. ;opcache.memory_consumption=64
    4 l% a; a( q9 z( t1 D& I

  1774. ( X# E* M6 u: P5 L4 T# X
  1775. ; The amount of memory for interned strings in Mbytes.
    9 @0 |( _5 A& e" n. O0 }
  1776. ;opcache.interned_strings_buffer=40 T" \5 m* Y/ R8 H- T+ I

  1777. # \! a* b* M1 r5 L: I
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    " ]( w; c" t# O& t) h: S
  1779. ; Only numbers between 200 and 1000000 are allowed.8 x( v- w/ D5 A/ Y1 Q) s: q
  1780. ;opcache.max_accelerated_files=20009 r+ \! D+ J& m3 T1 S
  1781. % a# a: b. u2 P
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ H5 O5 {. J4 [1 `
  1783. ;opcache.max_wasted_percentage=5% q3 R. |6 Z% l2 ^" Y2 J6 m$ {

  1784. 0 E2 J/ u3 z0 s4 v# F  v4 I) V
  1785. ; When this directive is enabled, the OPcache appends the current working
    4 q# d& V9 B# d/ w) I: l; H
  1786. ; directory to the script key, thus eliminating possible collisions between( J) y: z+ p& Q  w; [! |
  1787. ; files with the same name (basename). Disabling the directive improves$ Z$ i% l# V  C! \9 _
  1788. ; performance, but may break existing applications.
    ' ^0 \2 z4 ^' V" N7 \
  1789. ;opcache.use_cwd=15 y: u' K% M* X5 s  S! P, q

  1790. ! |; K5 w, j: X) S! Y, q
  1791. ; When disabled, you must reset the OPcache manually or restart the% g( @/ r& v/ W. i/ X5 R2 j
  1792. ; webserver for changes to the filesystem to take effect.0 r# H- ?7 ?. e5 x
  1793. ;opcache.validate_timestamps=1# ~, X2 o. \" Y0 m

  1794. ; X- i- ~9 E* i
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ( Z) y, ]! b4 V9 Z0 T
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    3 B( ?4 j; s0 X
  1797. ; once per request. "0" means always validate)
    9 A4 x4 z- A8 n$ h+ z
  1798. ;opcache.revalidate_freq=2
    ( H' U3 ~( Z1 |; E
  1799. % T6 ~: A" v1 W' J
  1800. ; Enables or disables file search in include_path optimization* z, @) f; S$ L" a- B
  1801. ;opcache.revalidate_path=0
    + T, g% c5 G* c5 u! k
  1802. ' b+ P  V2 G+ _* `0 Q
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    % d5 }# `4 I! \$ G/ P' C
  1804. ; size of the optimized code.( O" K  Z9 q  [6 Z: O5 _
  1805. ;opcache.save_comments=1
    - ~: y2 ?5 [0 c3 ], F: `1 y. s/ [
  1806. + c6 {( ~+ _7 W1 ^" ?4 C
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code- |8 S# w  N) i6 ~  X) v# L
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ; D4 O8 i, p1 P0 o/ ]$ ?- [
  1809. ;opcache.fast_shutdown=0. q$ l* n2 s4 \) R5 A( f
  1810. 9 n$ W6 v; X( m, A* L1 J4 ?
  1811. ; Allow file existence override (file_exists, etc.) performance feature.% D% C6 @  B% V' V3 q5 o' Q7 x2 Z
  1812. ;opcache.enable_file_override=0
    " a: V" u- \4 @9 q& s
  1813. + i8 Y% O4 W2 t
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache" k. u: ~6 m! S4 G: G
  1815. ; passes5 _* @$ o) u6 R, }, h
  1816. ;opcache.optimization_level=0xffffffff
    1 t, ~% f& g) ^) Z; g

  1817. ( `" h+ q  F0 v; }& F1 I3 v( x& W
  1818. ;opcache.inherited_hack=1
    - r- [: C4 W9 I" o
  1819. ;opcache.dups_fix=0
    & }+ L5 X6 U1 {) h
  1820. + W' R5 z0 b8 M: a% {
  1821. ; The location of the OPcache blacklist file (wildcards allowed).( h; G& [1 {1 E+ \$ l! b
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    6 l1 `8 W' d- \+ N7 Q
  1823. ; that should not be accelerated. The file format is to add each filename4 k' |4 h$ M' p* z1 _
  1824. ; to a new line. The filename may be a full path or just a file prefix6 g* J& C7 a' E) t" Z% e5 J
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    $ O5 Y7 d) Z. x! L& o( L
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # f6 X# }1 C0 \! u/ v2 ?6 L
  1827. ;opcache.blacklist_filename=
    ) E/ n0 ^, F, W
  1828. . s& G0 z% v9 i4 \0 |% B( {/ {4 l6 _
  1829. ; Allows exclusion of large files from being cached. By default all files! ^1 u# E9 }% T- [
  1830. ; are cached.9 N: T7 Q' @% x/ {
  1831. ;opcache.max_file_size=0$ J& L. _# L/ e3 _( _. Q: |

  1832. 6 C5 O, f$ C5 r9 \, a/ x; f3 s
  1833. ; Check the cache checksum each N requests.1 g2 [4 p; e% y9 G
  1834. ; The default value of "0" means that the checks are disabled.
    + t5 \7 B- p. S+ g; C  k0 B
  1835. ;opcache.consistency_checks=0
    / F6 |" l! M/ h9 |) D! `' r
  1836. - y( V8 u5 {' Y+ M7 ]  V/ m
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, G% o- c6 Y1 k; w% n" w4 S
  1838. ; is not being accessed.
    : j! c, o  L2 l( U3 h2 J8 O
  1839. ;opcache.force_restart_timeout=180, D8 w' B8 g. [

  1840. " O4 ?$ A& U. Z* c: Y
  1841. ; OPcache error_log file name. Empty string assumes "stderr"." i6 a6 t! s' ?1 A. j3 `1 n/ O/ k
  1842. ;opcache.error_log=
    . ~. ~: t1 m% s$ o; N8 L5 ]( g' B
  1843. 5 R$ a! q) R$ a% q
  1844. ; All OPcache errors go to the Web server log.
    # \# v' D& ^+ x( I
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    3 L! B4 T. S1 [+ O
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    $ s5 N) H, [; ^" T7 a2 {& W" g% Q
  1847. ; debug messages (level 4).9 X. b) A( g! m2 n+ M
  1848. ;opcache.log_verbosity_level=1* p  G1 B' I3 G( l- q2 Y. t  m
  1849. 2 {1 V. ]" w9 o  Z3 j' {
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.& C1 B% K& V' @6 I3 l
  1851. ;opcache.preferred_memory_model=
      y# O- q7 a  E' e: |
  1852. ) v2 C$ j' c) i! s
  1853. ; Protect the shared memory from unexpected writing during script execution.5 M4 L. O* O. X# d- U7 T
  1854. ; Useful for internal debugging only.
    ! e& }7 K( O0 z# L
  1855. ;opcache.protect_memory=0
    ! D0 r" l: H" F% o6 |$ Y
  1856. 8 I3 a5 @1 Q/ f0 \
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is* k! L0 i8 K& V4 }; T
  1858. ; started from specified string. The default "" means no restriction
    ; K3 e2 ?& J8 s2 U' X% H% F
  1859. ;opcache.restrict_api=1 ]' s* ?$ A6 }7 q; @  R9 ~$ y& f

  1860. 7 A3 k  {7 y5 I
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP+ f: J/ c% r7 Q$ Q( k( h3 e- ~
  1862. ; processes have to map shared memory into the same address space. This7 T1 Q) J: |* J4 d3 [2 b
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ( a( I* I% p5 _8 B7 y
  1864. ; errors.& V% B# h6 v6 A
  1865. ;opcache.mmap_base=0 z/ e; ]' w  D# ^) A& |- m0 s

  1866. 6 I$ o- E5 Z/ c2 Y& }/ F& r5 m- d# A. ~
  1867. ; Enables and sets the second level cache directory.
    & Z; Z" _. q4 j  |8 K5 d7 X
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ; ?1 s7 y8 E$ e) X
  1869. ; SHM reset. The default "" disables file based caching.
    5 f, y) D$ t/ f* s& a8 |  R
  1870. ;opcache.file_cache=& L  y5 {; J6 ^% Z  F& }1 l
  1871. 8 U! I: U9 G% i  v2 K$ ?0 k
  1872. ; Enables or disables opcode caching in shared memory.6 k: P$ H  D! E
  1873. ;opcache.file_cache_only=0
    # r6 |. h% Z7 }$ v$ F# R
  1874. ) W8 o7 ?5 Q# H( f/ j' ~+ _0 I
  1875. ; Enables or disables checksum validation when script loaded from file cache.. T2 ?, I0 W9 t
  1876. ;opcache.file_cache_consistency_checks=1
    $ }! C: ?+ u- ~4 u

  1877. & h+ O' h& W# \4 \( Y2 R
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    & t* z0 Y- h& W  o. c
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file" M* u) `2 c9 n9 P8 k' Z5 J
  1880. ; cache is required.
    0 f& V% ^6 W; \& K: `: t
  1881. ;opcache.file_cache_fallback=1. m0 V* H% U% S% H8 g- x  c& r, V' e
  1882. 8 F" q2 k1 k! t- l
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.2 D4 \3 s0 J* G0 R
  1884. ; This should improve performance, but requires appropriate OS configuration.  E" w; I4 w/ h
  1885. ;opcache.huge_code_pages=1
    * v  m/ p; s1 g& }- f1 D
  1886. ( Q& r! n: ^$ l! W$ T
  1887. ; Validate cached file permissions.
    " i7 F5 F, V  P0 v  N0 {
  1888. ; opcache.validate_permission=0
    & D- u8 B' j% E# X' c# U9 f4 ]/ ^$ ~1 e

  1889. ( O7 f4 T. b/ r3 e& d8 u
  1890. ; Prevent name collisions in chroot'ed environment.
    6 U" Z9 F) t* R0 @& w; q
  1891. ; opcache.validate_root=03 b0 N! R$ I7 E5 \7 o$ S0 v

  1892. " Z6 M$ j4 n% _7 ?% c
  1893. [curl]
    $ d5 v: _; N( I3 [7 r
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ( P" V8 z0 f8 e
  1895. ; absolute path.; i6 X3 F: f- G' X0 F% b6 T! d' N$ G
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt/ V, L8 k% L# p5 R+ H2 M/ s
  1897. : [- i& H; _/ r6 {& y' p
  1898. [openssl]; r, S+ s0 {% J
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    % W. A- H( _" o. Y# U  i: u
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should4 y+ Q7 f% O$ F3 ?( h* s& [
  1901. ; not specify a value for this directive as PHP will attempt to use the
    7 m$ p: E) ?! d! C# V
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    8 J9 N' k" _2 L( I1 I
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context) b4 o0 O5 t$ ~3 C0 |- ?
  1904. ; option./ S, v2 c4 t: c0 {: R3 j
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    1 F% P( v* r& j# J/ o; L9 y. k9 F
  1906. , e8 j  [3 r% W4 Q- g
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    * f( y' |% F  P4 P1 m5 m
  1908. ; directory pointed to by openssl.capath is searched for a suitable: r( {' }% c$ ]4 T! w/ ]9 j
  1909. ; certificate. This value must be a correctly hashed certificate directory.. `2 }. e0 @( G# P& G5 ~. l* g3 k
  1910. ; Most users should not specify a value for this directive as PHP will$ U$ {! k! v5 Y3 {! _& M- [$ E( e" L
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,- C; j0 S' n, V5 l8 O
  1912. ; this value may still be overridden on a per-stream basis via the "capath"" z' y  F3 P# M! }
  1913. ; SSL stream context option.5 _5 J2 Z9 K. s) a/ n! i6 D! Y
  1914. ;openssl.capath=6 [; D- a5 Y7 ~  t
  1915. ) S6 H4 h1 c. Z$ }0 H0 `% s, \
  1916. ; Local Variables:+ P- N' z' K) i5 G- Y/ B* ~
  1917. ; tab-width: 4
      E8 X' l8 [& c- ?
  1918. ; End:9 X1 z2 B& J! {' K! u" M% ^
  1919. 7 P/ |3 @; g% A$ ~
  1920. ;eaccelerator8 ]6 v) N7 D4 ~9 ^7 Q  Z# Y' {! y' g
  1921. 4 ?) c/ \% Q3 g) O" h7 o2 M" J6 Z+ N
  1922. ;ionCube
    & v. P/ S  V( U2 V
  1923. " A; a( q3 ]& j2 O/ ]% L: b
  1924. ;opcache) d7 r; @" j" e/ h) c, w" z( e

  1925. % B3 S+ i3 X- @8 y. J: m; d$ {
  1926. [Zend ZendGuard Loader]
    : e6 U1 m' m& W$ Q  N5 I& x
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.& M9 c5 ]5 @* H1 p& \8 T% `/ w! i
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ! e: V! t* j3 D/ ^' t3 T
  1929. ;zend_loader.enable=1* [! b( _) B$ |9 q
  1930. ;zend_loader.disable_licensing=06 ]! Y% [  W1 t# ]7 n$ p7 V9 n# V" l
  1931. ;zend_loader.obfuscation_level_support=3
    * Y4 l% M/ m: C
  1932. ;zend_loader.license_path=* ^8 B/ i0 C8 m1 c* ~4 _( \

  1933. # ^1 O4 }5 F8 e4 H& g
  1934. ;xcache" b/ m9 D( H) `% X. _+ z) ^

  1935. , d! h+ I* P- ~& W/ m
复制代码
; x0 n: y) \9 e! K! G
0 e+ `& h; J) h0 z: U

6 I0 T5 M$ I# ^( y/ J2 e
7 r8 f1 F/ f' q( Z4 q) w* g% F8 H/ x, I% j# C( H

; x. Q* U: W5 ^2 V7 L+ ^, t
( r" ~5 X$ ~$ _4 w3 l( S0 ^+ lPHP5.6版本原始设置
0 I1 a5 l) _$ j! P: W0 t% \5 c9 V
  1. [PHP]4 A' V2 j& h- l: y2 Q' F2 ?
  2.   j3 f/ r. w1 X3 P& P
  3. ;;;;;;;;;;;;;;;;;;;
    0 w- U  T# k& J/ ?
  4. ; About php.ini   ;
    6 Y& j, N8 _: J* z5 o7 L" ^8 u
  5. ;;;;;;;;;;;;;;;;;;;
    0 A% O+ P5 b+ R1 C) l6 I$ U/ A
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    3 j( m' x# m: f. M5 W6 F
  7. ; configuring many of the aspects of PHP's behavior.* T( U& g% w: v2 h8 z1 A/ Z, t5 |
  8. ( M. Y7 B0 F9 m& @/ A1 x7 _/ w
  9. ; PHP attempts to find and load this configuration from a number of locations.6 P, I7 P" R  }+ n2 R) B3 ~
  10. ; The following is a summary of its search order:
    % @- Y% h" U/ X, M! Z
  11. ; 1. SAPI module specific location.* C; B8 X! d& I6 ^* s$ ]
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ; W3 O6 F8 O" V. o% S" |
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)8 V0 o  K8 U: [2 k) a- Q! c% X
  14. ; 4. Current working directory (except CLI)5 @- f) H) t4 G1 u+ B, c
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 s3 g6 k( r, o& d6 G/ Y5 L# e
  16. ; (otherwise in Windows)) h" G) y) T- Q/ P* n# S* n) R; u
  17. ; 6. The directory from the --with-config-file-path compile time option, or the% M; w4 ?4 P# s5 D& z
  18. ; Windows directory (C:\windows or C:\winnt)4 i* c2 h" c, {1 T# x* I
  19. ; See the PHP docs for more specific information.' h5 n8 B" t. J! x( X
  20. ; http://php.net/configuration.file
    : [* l! S; Z) p4 z
  21.   i4 ]8 E4 |3 ~9 A; m2 d3 p4 z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; j+ y2 U' }' {3 V' I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' m/ v/ y: R( h" u+ f0 h
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    5 K6 g5 P7 Q: s' z
  25. ; they might mean something in the future.$ F$ `3 o9 \* f+ ]; A

  26. 1 o# _2 c5 q% ?7 y
  27. ; Directives following the section heading [PATH=/www/mysite] only2 l) _; w. e+ q1 F: f! y
  28. ; apply to PHP files in the /www/mysite directory.  Directives5 ?  @; a/ A8 \* b: T7 y
  29. ; following the section heading [HOST=www.example.com] only apply to# O$ K. m" H$ B% j$ [% s
  30. ; PHP files served from www.example.com.  Directives set in these& E" t4 y$ F; M8 s
  31. ; special sections cannot be overridden by user-defined INI files or5 l8 P3 j  x) @- m# `  f# Q# r. Y" Y0 Z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under& h( P% g" i# X) \- W- u
  33. ; CGI/FastCGI.0 j9 W- u) `& F8 D7 k# Z) [
  34. ; http://php.net/ini.sections
    4 G8 {! V7 S9 h+ A. ]

  35. 1 p4 w: t5 z8 A6 Q/ r
  36. ; Directives are specified using the following syntax:. z0 B: `6 K2 e) V' Q  n
  37. ; directive = value
    . c6 w* \' v+ o  ?5 Q7 T; @
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.' H7 b, j$ `5 v1 d& x3 G
  39. ; Directives are variables used to configure PHP or PHP extensions.
    , R) s" t6 A# t) U' M; y# N
  40. ; There is no name validation.  If PHP can't find an expected( T: G# B, ]' `" P. f
  41. ; directive because it is not set or is mistyped, a default value will be used.
    0 V/ T! ?1 A& I* T7 b7 Q$ d

  42. , t$ D, W4 E6 |2 g+ _  ~2 l% m4 e4 Y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    0 R6 G9 A, X* y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression" ^: p) F3 h  d+ t) ~
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ) T  V0 I( k& s2 m: B+ U
  46. ; previously set variable or directive (e.g. ${foo})
    : K9 P( G# `( I2 w; _1 V

  47. " [8 [% Q& w5 `8 o1 J! ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:& d5 n) O: M! g7 L* a4 v
  49. ; |  bitwise OR
    ( @! {, L$ n, G& w- J; G
  50. ; ^  bitwise XOR- q- }$ C% F9 C8 |  n' K' n, {) |: I# A
  51. ; &  bitwise AND' x$ R; |5 `+ k% V1 t" W# T
  52. ; ~  bitwise NOT
    7 x5 b9 e. F2 Z8 a6 ?' U
  53. ; !  boolean NOT
    9 [' o# y- w: }7 G  e) g6 o, j
  54.   n# S: |5 d' m& G4 |3 [9 N  [6 T
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- z/ e2 ~4 U, U9 E. N) e$ o5 m
  56. ; They can be turned off using the values 0, Off, False or No.6 t, }% q; W$ w7 p

  57. 9 h4 M4 a0 B2 j+ L; N' _% }  u( E- S
  58. ; An empty string can be denoted by simply not writing anything after the equal+ K2 H" i3 k+ ^9 s6 _2 C
  59. ; sign, or by using the None keyword:& O8 v, Y* X# ~. p

  60. 6 k- Q7 i* u0 r
  61. ;  foo =         ; sets foo to an empty string
    ( ^, v& ^  G0 L+ H( {
  62. ;  foo = None    ; sets foo to an empty string
    ( m  R$ j& m6 T1 y) _
  63. ;  foo = "None"  ; sets foo to the string 'None'
    & n  s9 j; L  x% W3 F+ W- W4 I- u

  64. " Y" R5 B4 |! A3 M/ v  S: v2 g
  65. ; If you use constants in your value, and these constants belong to a
    , e/ N; Z( [) X. ?# X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),+ E" |' x: E, H# A/ z  K2 U& x/ \7 d- i
  67. ; you may only use these constants *after* the line that loads the extension.
    ) ~5 b/ E, V  e/ Y# ~$ n
  68. + \* G! H, H8 Z$ {$ _2 U
  69. ;;;;;;;;;;;;;;;;;;;
    $ l6 x: c$ N5 e5 w% g8 i
  70. ; About this file ;0 Z. Y9 E1 q% [0 t
  71. ;;;;;;;;;;;;;;;;;;;
    8 ~' E+ v4 n+ U% _8 W# _3 z! M
  72. ; PHP comes packaged with two INI files. One that is recommended to be used2 O! C/ U) V6 Y6 X. K
  73. ; in production environments and one that is recommended to be used in8 O" Y: T0 s: A. T$ p7 [3 p% J
  74. ; development environments.
    ; n# |( F8 R1 h7 w6 P% ~- ~. u* M
  75. ! J, I3 _, Y; K- `
  76. ; php.ini-production contains settings which hold security, performance and
    % Q8 Q  A9 H. C  I9 q
  77. ; best practices at its core. But please be aware, these settings may break
    & P6 `* K& L* Z# t5 n
  78. ; compatibility with older or less security conscience applications. We
    3 y' |$ d- [2 q3 n( b4 c: m7 R1 @
  79. ; recommending using the production ini in production and testing environments.; y7 x9 R5 u* W& Q3 T4 }0 }* t
  80. ! K/ V% ?- I' p5 V
  81. ; php.ini-development is very similar to its production variant, except it is( Q& W" Y6 Y% v6 a
  82. ; much more verbose when it comes to errors. We recommend using the; u8 q6 _  `0 D4 Q" X
  83. ; development version only in development environments, as errors shown to
    , I% d) O& e) ~3 }
  84. ; application users can inadvertently leak otherwise secure information.- d' T% b; C8 U9 Z
  85. # T! {2 s7 l$ v( X2 u/ _" F
  86. ; This is php.ini-production INI file.
    & [6 e8 W  l! P3 v% i
  87. & s/ [8 }$ z) x0 P" b) I
  88. ;;;;;;;;;;;;;;;;;;;) H# X: l, Q/ w2 F, E: d$ W$ P8 X
  89. ; Quick Reference ;- }2 K& [1 A& h' r# E
  90. ;;;;;;;;;;;;;;;;;;;# m9 \1 `: _; W; A0 R. j& D6 f
  91. ; The following are all the settings which are different in either the production
    + d' ?$ {. B3 F2 `/ |
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 e' p$ y" G! h
  93. ; Please see the actual settings later in the document for more details as to why
    7 B* }  x# l' R9 ?! G, I% X
  94. ; we recommend these changes in PHP's behavior.; l/ i: Q; ]5 L7 M" w
  95. / d9 K" ^7 ?3 h& }8 z* l
  96. ; display_errors; l1 |6 s0 i$ [/ W
  97. ;   Default Value: On* F) U* e2 L/ z1 e4 J9 j. G
  98. ;   Development Value: On
    / Y" p3 R( X4 P# D" W- s; m3 \
  99. ;   Production Value: Off
    5 Q, {+ ^( A: U+ q3 s0 b

  100. & d- x0 v$ B1 Z* d& L. L) b
  101. ; display_startup_errors& e. r" g, y3 |: i
  102. ;   Default Value: Off8 h6 \7 k2 Z0 ^9 p" ]$ w$ [9 }
  103. ;   Development Value: On) Q5 f( s1 h2 z0 v
  104. ;   Production Value: Off- l, y7 R7 t  v' `) x. L
  105. 7 K+ x9 z1 b' g% D; D  E. z$ p
  106. ; error_reporting
    ; y5 }) e% B2 U, ]* t3 O" U# p
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - B& v# k1 Y" w; B
  108. ;   Development Value: E_ALL6 X8 s4 u$ X" T- U5 ?$ Q* W, j
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 _* o7 _, o& r" j- v5 N) W/ w

  110. 8 k2 U! A* X9 p) n; a% P, X
  111. ; html_errors
    8 n; _. [( n% f8 ~# |8 m% b$ O
  112. ;   Default Value: On
    3 y1 q$ d4 \/ i" p6 L
  113. ;   Development Value: On
    1 `# q  N+ T2 k' v% N' @! b
  114. ;   Production value: On+ }7 a! L0 H* J! z; W1 {1 o

  115. 9 o4 G3 _3 ]1 R; O; x: O
  116. ; log_errors3 {" g# [9 H. k6 J+ a& j
  117. ;   Default Value: Off1 Z5 S- m( O: c0 @0 n* |
  118. ;   Development Value: On8 r$ q" f# c0 W5 G
  119. ;   Production Value: On
    ) j9 B9 t6 v# R+ A

  120.   T8 T/ ]5 L; r1 ?! p
  121. ; max_input_time4 T! z0 F; n+ B" b% x
  122. ;   Default Value: -1 (Unlimited)
    * j: L! @- H5 Q. S+ O% o8 C  M
  123. ;   Development Value: 60 (60 seconds)
    ' A) a/ `# ?- h. J
  124. ;   Production Value: 60 (60 seconds); w8 {% U! U: c6 }' R6 D& d

  125. 7 K9 g- Q, {; K. L6 b" n, V
  126. ; output_buffering1 j7 k: ]. L. |) \8 S- ]
  127. ;   Default Value: Off
    & h4 J1 j" ?& U# W# `  C
  128. ;   Development Value: 4096
    # N* w+ p3 a/ g1 Q" a8 f* n; Y
  129. ;   Production Value: 4096% T! y1 \, C1 Z3 ~. m: F; [
  130. 7 J# W: O& e6 }# P3 @6 c; d
  131. ; register_argc_argv4 `# c" P8 _* {. p; p8 A% x- y6 U
  132. ;   Default Value: On
    ' }' D% ~: B& G
  133. ;   Development Value: Off
    ) C8 ^; m- c8 g, o- g' m
  134. ;   Production Value: Off
    ! h& u, J0 p0 T5 V9 Y# h: c' |2 v

  135. 2 X1 A$ p* B$ R! W4 f' j4 V  ]; d
  136. ; request_order; V$ Y8 A  c& V" i- p& S$ U; \
  137. ;   Default Value: None
    . D: n$ M* ]7 W) M" r4 W2 q8 G
  138. ;   Development Value: "GP"! W! x6 X% x" d2 k' s# ^* ~4 o( J; G* @
  139. ;   Production Value: "GP"
    , W5 O" g5 `. P% M" t* Y9 Q( \
  140. 1 r' N! R& G" _; @0 p/ E" z6 Z& a
  141. ; session.gc_divisor, y8 W' o' t% ~, q9 [, z' E# s
  142. ;   Default Value: 100( G0 y( u" c( W7 v9 A6 \' ]8 H
  143. ;   Development Value: 1000, t! [( `2 \) W' V5 M" v: Y8 e
  144. ;   Production Value: 1000- l8 H, t3 D8 K4 s& H9 q' i' R7 I
  145. 3 r/ V& d' m: F/ }& S
  146. ; session.hash_bits_per_character
    2 T5 }2 o+ {( F! S' W
  147. ;   Default Value: 4
    + l2 X; e" o& v. n- l3 l" O  J6 z3 j
  148. ;   Development Value: 55 h; n% h' H$ S+ h. T
  149. ;   Production Value: 52 S/ J3 ^' J2 i. _! i! n

  150. / h7 S; I) H2 |" S( K4 T6 @
  151. ; short_open_tag
    9 V5 Y' z$ M3 l* C( h4 N: H$ f
  152. ;   Default Value: On0 g' ~  F" @, M
  153. ;   Development Value: Off
    6 h& c( _8 k+ c( i- h, O( c
  154. ;   Production Value: Off$ Q0 P/ I) _, s& k2 G

  155. 8 C$ k7 }/ b0 i* t
  156. ; track_errors0 h3 h1 f+ G; A2 j2 Y4 K
  157. ;   Default Value: Off
    5 p, J4 l1 J, c$ Q0 P8 {* s# Z
  158. ;   Development Value: On
    ! z! D! U3 i/ T) B! S3 c
  159. ;   Production Value: Off" b  [" C% @3 m* U  r0 h  {& K; {7 t

  160. 1 \4 N' M  J, P
  161. ; url_rewriter.tags! M- k  g& s. e5 Q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + J2 r2 I+ G* O; G' ?3 S; W
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 k  K. a1 p* S' s0 Z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . s7 p. w$ Z! P7 h6 I0 P0 a2 @
  165.   G: ^. V+ l6 t9 |
  166. ; variables_order
    # y1 T. k! F. o4 b8 o$ B9 m, h
  167. ;   Default Value: "EGPCS"
    + p+ N0 Z* A2 ]- u& s1 d
  168. ;   Development Value: "GPCS"8 @' S4 z1 Q% y4 w0 d" Q6 f
  169. ;   Production Value: "GPCS"# E% |! a" r3 V& k

  170. % Y( f# l3 c5 S  J( x/ Y1 t
  171. ;;;;;;;;;;;;;;;;;;;;! t& R2 B4 ~( ?$ {6 F6 C* h
  172. ; php.ini Options  ;& d. v8 `5 [) r8 N/ F/ c1 S# _. E
  173. ;;;;;;;;;;;;;;;;;;;;  q8 D' b6 }# v6 j/ v9 d
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    0 |( L) V2 Q5 Z" j  o3 \
  175. ;user_ini.filename = ".user.ini"2 W; |* r, K! i# Q8 p  }* G4 |5 k

  176. 1 l3 O* i; U! r" _
  177. ; To disable this feature set this option to empty value$ \) P2 @  r6 x3 n5 \3 T; U' f1 s
  178. ;user_ini.filename =! T2 }! w/ j! ^; H& v/ o

  179. . [& E1 m: |9 _# U* @5 z' o
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 E. ?% Z8 U8 j/ }4 F7 \5 i
  181. ;user_ini.cache_ttl = 300
    & k6 m2 q; I4 H  K, v8 T- k8 Z% h# x
  182. 3 h2 f# y: Y$ H+ t
  183. ;;;;;;;;;;;;;;;;;;;;3 O* Y4 [4 g, X' }
  184. ; Language Options ;( [) w6 O5 X9 v# v0 w  v$ D
  185. ;;;;;;;;;;;;;;;;;;;;, D& i# [" U1 H
  186. ( J9 i& ^+ ~* S$ D
  187. ; Enable the PHP scripting language engine under Apache.
    4 |+ n: l0 G$ I" ?/ @' F/ I. w
  188. ; http://php.net/engine% b9 g8 h5 w& i9 T6 G
  189. engine = On
    ' L' J' ]# p1 a8 r% f

  190. 3 V. R0 Z+ b( V8 x2 j" ~
  191. ; This directive determines whether or not PHP will recognize code between
    & @: B( p9 K3 B! U# j
  192. ; <? and ?> tags as PHP source which should be processed as such. It is+ A5 A& r! w* [& G% D; y* a- x
  193. ; generally recommended that <?php and ?> should be used and that this feature+ T4 K9 ]! ~& ^' s/ k
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) P$ k. D0 c/ |8 b: u" ?& k
  195. ; documents, however this remains supported for backward compatibility reasons.
      J6 Z% r: ]& ^6 v
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    " b" @3 w9 \  q& u8 s
  197. ; used regardless of this directive.$ D1 Y- S* |- Q7 K; C" M# \
  198. ; Default Value: On! |0 W* W' ]  F/ L0 w  t( Z) y
  199. ; Development Value: Off
    ; p( y% V, w# E9 |: Q! a9 e
  200. ; Production Value: Off# O* W4 z& v4 J5 P9 x* @7 Q- |
  201. ; http://php.net/short-open-tag5 E- \7 I$ W5 ?0 e" q1 |' H
  202. short_open_tag = On
    0 \# ]! y7 M  S  n, T
  203. 3 R- Z. F. E6 j
  204. ; Allow ASP-style <% %> tags.
    + u" }6 F% _$ B. S. b( j" X
  205. ; http://php.net/asp-tags
    1 s8 z% m# R4 Q% o# `9 w' K
  206. asp_tags = Off+ ^& R( f/ m3 Y0 o9 v
  207. % p: H" R0 Y) S' Z# i$ x6 ^
  208. ; The number of significant digits displayed in floating point numbers.
    , y. n7 C) H. B3 p- l" j
  209. ; http://php.net/precision
    % R4 x7 O5 b5 s) g" v" H7 H
  210. precision = 14
    ! |2 Y$ K( P2 m/ ~- }$ g  W
  211. 5 {: b& ~, o1 s8 P5 }6 v
  212. ; Output buffering is a mechanism for controlling how much output data
    # j4 b* g1 M7 c
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that. C4 ^& h2 p# H7 h3 A  T6 I
  214. ; data to the client. If your application's output exceeds this setting, PHP
    : p& M, A7 K6 D7 g6 ]5 L
  215. ; will send that data in chunks of roughly the size you specify.
    , O2 B) L7 u* w7 e0 k
  216. ; Turning on this setting and managing its maximum buffer size can yield some  L, O2 I1 ]* j. f5 {, |2 c) V  b
  217. ; interesting side-effects depending on your application and web server." D" o8 E# |; `. s2 l& G
  218. ; You may be able to send headers and cookies after you've already sent output
    & B; Z& F- X8 ?( {3 c4 P5 n3 |
  219. ; through print or echo. You also may see performance benefits if your server is2 K/ E; @- V# E+ W. _- t! q, p6 ~  j
  220. ; emitting less packets due to buffered output versus PHP streaming the output. M. N0 y8 E/ R1 p2 n+ C
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    . O! F1 j9 ~6 ^& ]
  222. ; reasons.1 R5 Q0 W" A. W7 O) v
  223. ; Note: Output buffering can also be controlled via Output Buffering Control9 a7 ]& Z8 T$ \) z
  224. ;   functions.
    ) d2 b; I' G( K2 P0 A2 j
  225. ; Possible Values:
    # F3 T0 W8 \" P2 Y
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)2 u! J6 e/ Z& ?0 Z5 Q
  227. ;   Off = Disabled
    # t8 b8 b& ?" q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.0 ^0 c8 q  Q3 m/ A3 u
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
      ]9 `* a. v1 B& k
  230. ; Default Value: Off8 S  l6 N$ E4 L2 J4 `
  231. ; Development Value: 40965 g/ w) b4 }+ w$ |' [
  232. ; Production Value: 4096
    # O. @- N5 l1 ^% S- |
  233. ; http://php.net/output-buffering
    ) ]" }6 N3 f# ]+ q* H
  234. output_buffering = 4096  W# X7 M. v, n
  235. . ?  B" t$ c' ^+ O
  236. ; You can redirect all of the output of your scripts to a function.  For9 n0 \9 |. Q2 m8 E
  237. ; example, if you set output_handler to "mb_output_handler", character
    0 f4 K3 ?( z! h) U% i% k, K, D  I
  238. ; encoding will be transparently converted to the specified encoding." ~+ d- ~* c: m8 i, a
  239. ; Setting any output handler automatically turns on output buffering.: L- `5 L# O% ?, f; H2 K( u
  240. ; Note: People who wrote portable scripts should not depend on this ini
    8 K6 U4 l1 a; ^) O, J1 t' k
  241. ;   directive. Instead, explicitly set the output handler using ob_start().0 S9 M9 m1 p$ i% K* @! Y7 A0 J
  242. ;   Using this ini directive may cause problems unless you know what script
    " t! }6 ?9 \" U8 o( @. V+ Q
  243. ;   is doing.$ |* x# F) n( E8 D% U" u* @0 N
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # Q, k6 _5 Q( ?' i
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".& v6 ^6 d9 y- p# s: X2 u
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    3 j4 K' [  j$ p0 E1 J) c
  247. ;   Instead you must use zlib.output_handler.
    6 Z9 I5 b: a9 u% W# ~1 V
  248. ; http://php.net/output-handler* P6 H( o  V  z# t; g9 B) p
  249. ;output_handler =+ F5 n8 |& J- w  V  {( m& k' o! `
  250. 3 D5 |! X! {: K" r% V" ~
  251. ; Transparent output compression using the zlib library: E  j$ v0 z5 f& A
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- a+ U% ?6 Q1 ~, Z, S% t; T8 k
  253. ; to be used for compression (default is 4KB)8 T# y& D3 D8 x
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP. f* H, K; o0 b' N$ k; Z
  255. ;   outputs chunks that are few hundreds bytes each as a result of8 c+ Z1 O6 q# N2 D2 j
  256. ;   compression. If you prefer a larger chunk size for better1 h) i6 `2 u' R! _: z
  257. ;   performance, enable output_buffering in addition.
    " P0 a+ _" \* N
  258. ; Note: You need to use zlib.output_handler instead of the standard+ u7 S4 u! Y9 O
  259. ;   output_handler, or otherwise the output will be corrupted.
    0 L- L/ ?* b) w' s$ {
  260. ; http://php.net/zlib.output-compression; X+ z) G" i5 I$ Y0 {4 R  n. f  i
  261. zlib.output_compression = Off
    ! a1 i! C% ~- k2 g4 {( l

  262. ' p& n. J5 N. G2 n
  263. ; http://php.net/zlib.output-compression-level; Z: E' c) ], Q3 X/ }
  264. ;zlib.output_compression_level = -1
    / z. R' t% y( [6 j: y
  265. + h% g( k2 r. T+ K9 A
  266. ; You cannot specify additional output handlers if zlib.output_compression& j( c% j1 k/ \
  267. ; is activated here. This setting does the same as output_handler but in
    ! o( b$ m* e; w! z
  268. ; a different order.
    ' s% S. j; {9 I: T
  269. ; http://php.net/zlib.output-handler  A) s2 d5 g2 n3 m& z; X
  270. ;zlib.output_handler =4 y' d$ V2 w0 c: F& }7 T% Y* R
  271. + E  w2 q2 e! g
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    2 R, f3 b% t, h1 j3 W
  273. ; automatically after every output block.  This is equivalent to calling the
    1 H7 W2 V7 l! P% T' H
  274. ; PHP function flush() after each and every call to print() or echo() and each
    9 |  q  D( K) I0 }3 i6 ^
  275. ; and every HTML block.  Turning this option on has serious performance. ]+ ^0 d; t# O1 s  k
  276. ; implications and is generally recommended for debugging purposes only.
    ' f4 g! `/ T% X7 @* p, ~- P
  277. ; http://php.net/implicit-flush% C7 P3 F) @7 ?. r! _
  278. ; Note: This directive is hardcoded to On for the CLI SAPI& I, ^- M0 J$ r$ Q/ P
  279. implicit_flush = Off
    - T6 o! K9 y) N. L- t$ }0 G

  280. 8 M* g. g, z: Z( M  Q
  281. ; The unserialize callback function will be called (with the undefined class'. l/ x/ {; H9 _; ?$ Z4 `
  282. ; name as parameter), if the unserializer finds an undefined class
    6 \/ N8 B: f. p9 q# ?* ]
  283. ; which should be instantiated. A warning appears if the specified function is
    2 i, \# p/ [4 j& [
  284. ; not defined, or if the function doesn't include/implement the missing class.& _, Q2 |5 d+ x& R
  285. ; So only set this entry, if you really want to implement such a4 g, v& |4 E8 R+ Y
  286. ; callback-function.
    / E0 V! F3 L; {3 \0 ?  o
  287. unserialize_callback_func =
    / C. I7 j. ?, A# k; a1 q: U! s/ [

  288. , c& K6 |: f- I1 G3 X$ Z' J4 |6 G% k
  289. ; When floats & doubles are serialized store serialize_precision significant
    3 e' V5 w  i, ~
  290. ; digits after the floating point. The default value ensures that when floats
    ) ~! e) u+ T. s
  291. ; are decoded with unserialize, the data will remain the same.
    / n6 M7 `1 Z8 [9 M
  292. serialize_precision = 17
    , H  I- N+ v- i
  293. ( x& ^' U- D' l# {% T) \, L
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ! g* M7 j4 z9 G5 c) @
  295. ; and below.  This directive makes most sense if used in a per-directory  v. ~. a9 u" n! @2 r
  296. ; or per-virtualhost web server configuration file.
    ' S- b8 F: S$ V% Z6 E
  297. ; http://php.net/open-basedir+ T7 L  A# }6 e7 D, z' K, H
  298. ;open_basedir =
    0 {( b: M( w9 E4 K" h6 f

  299. % G0 G) G! y9 A+ ^& i/ A
  300. ; This directive allows you to disable certain functions for security reasons.
    ! @$ I5 V% ~$ k7 }# f
  301. ; It receives a comma-delimited list of function names.- ^1 i; T5 _! M" ^* m
  302. ; http://php.net/disable-functions
    5 _. e2 H4 S* V# t( v! g
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru. N& R" }2 v8 s- X  z
  304. 6 k+ B4 N" h' I4 V0 p3 t% x" g2 J8 l
  305. ; This directive allows you to disable certain classes for security reasons.
    - m0 S- D. M9 N3 Z4 \
  306. ; It receives a comma-delimited list of class names.4 A) r% b+ l$ |
  307. ; http://php.net/disable-classes
      p) r( X) T. G; q% o7 X
  308. disable_classes =
    5 f3 v/ j' P1 j! h5 D, k0 t& j

  309. - w* g# {0 i5 z) N$ d# u) f
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in( _& X. U' c. t4 M
  311. ; <span style="color: ???????"> would work.
    7 h/ r0 ~  M+ ~' u, q6 j0 U
  312. ; http://php.net/syntax-highlighting: x1 d  E) k1 ~
  313. ;highlight.string  = #DD0000
    ' g& u" F4 V2 ]$ L2 U
  314. ;highlight.comment = #FF9900
    - A. d3 R0 n% q0 }  ^) V/ H) Q$ }
  315. ;highlight.keyword = #007700
    $ X. p8 P! ?' h: \: {' t
  316. ;highlight.default = #0000BB
    % k0 R' S& ], v
  317. ;highlight.html    = #000000
    / M0 Y9 E/ H$ @1 w4 P3 I

  318. 0 g1 q. S# f" |. y2 |. C
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    8 M0 Y) L$ ~0 I, c+ L& k/ H5 U
  320. ; the request. Consider enabling it if executing long requests, which may end up
    1 W. x1 x" a' y/ \, O, K& J, C
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 Y4 ]5 p. ~. M, M' \
  322. ; is to disable this feature.
    / T; T8 t# O' _
  323. ; http://php.net/ignore-user-abort
    5 p5 M/ d' s- \" _
  324. ;ignore_user_abort = On
    ) K; ^8 t3 e  M" R) s2 x3 l

  325. 0 G  y7 ~) N5 m8 ?9 Z
  326. ; Determines the size of the realpath cache to be used by PHP. This value should+ N8 ?1 R+ H7 v" J3 R8 s9 U& d
  327. ; be increased on systems where PHP opens many files to reflect the quantity of  c9 }0 \6 R, ^7 l
  328. ; the file operations performed.  D3 y' \6 s  v( o4 z
  329. ; http://php.net/realpath-cache-size
      L7 Y5 I1 m+ L+ P2 i
  330. ;realpath_cache_size = 16k& s- K  S7 G8 e: r
  331. 1 c. A$ x5 S/ W+ u2 ~  O& j2 [, @
  332. ; Duration of time, in seconds for which to cache realpath information for a given, o  n: |; C4 f8 }
  333. ; file or directory. For systems with rarely changing files, consider increasing this$ B, s  p& L; g9 o/ C4 T
  334. ; value.
    : |* j$ s4 S3 i6 h) M
  335. ; http://php.net/realpath-cache-ttl9 l8 k2 j/ c3 Q  G+ \+ ~' |
  336. ;realpath_cache_ttl = 120/ h) P+ {5 ]! @: N4 b- l, v

  337. 6 v2 y# y& o' V( d8 B' d
  338. ; Enables or disables the circular reference collector.0 z3 J' r% ]  r" f% e. h
  339. ; http://php.net/zend.enable-gc
    $ a- N* _& b$ N
  340. zend.enable_gc = On
    3 d5 T4 V8 ]" W1 f; O; ~9 z

  341. ; j7 `% O- Y  L, ?) ~2 q5 T
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    % z; [& C0 ?: h+ N5 _( H  B4 |: ^
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ Z3 o5 U4 z. g) {4 {/ g( y: r
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    3 S0 ?8 b4 X, u2 z4 X; l
  345. ; Default: Off
      r% l7 N/ G2 a) n) e0 [: u
  346. ;zend.multibyte = Off( p  _+ a% O1 H+ Y
  347. 0 U: O5 N1 u/ X3 F# t! @! J8 ^; Q" ]- z
  348. ; Allows to set the default encoding for the scripts.  This value will be used/ \' {! H* L, M8 F- O
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 P- \- e; p) _# K
  350. ; Only affects if zend.multibyte is set.
    ' F9 p" h+ U2 x7 s
  351. ; Default: ""5 B# `! Z; ~9 T, i/ S
  352. ;zend.script_encoding =5 s$ W/ Z9 d5 H$ c

  353. # ]$ m( I  J& h; U$ {! y5 a
  354. ;;;;;;;;;;;;;;;;;
    * [3 s  y7 g9 V" k9 e& \
  355. ; Miscellaneous ;4 k- a1 u1 j  Z/ N$ L2 B2 I
  356. ;;;;;;;;;;;;;;;;;
    3 A- X4 r/ m- y3 ?/ L2 R* E
  357. 9 G* E& C" m% _, p/ g+ ]/ Q: C- ^
  358. ; Decides whether PHP may expose the fact that it is installed on the server/ w+ B! k  T# _7 p* B
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ \. q. V5 y6 D
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    0 j3 x' a( X; s# v% C/ O
  361. ; on your server or not.1 R7 E8 E( `# h7 Y1 H2 y
  362. ; http://php.net/expose-php/ j6 ]/ Z. b$ z, r7 E
  363. expose_php = On
    5 a) H- j' R; P: x. a
  364. 1 [2 }8 d: G5 c# J/ O& |
  365. ;;;;;;;;;;;;;;;;;;;- Q- a* G0 t! d; w
  366. ; Resource Limits ;# y$ L1 V. O/ k0 C9 \' R( g7 }' Y
  367. ;;;;;;;;;;;;;;;;;;;
    9 o. M5 T; a+ G! |, M+ ?& c
  368. . O6 q, |4 C8 p. Y" m3 T* @
  369. ; Maximum execution time of each script, in seconds
    8 Z: k6 }5 M- O3 o. J8 @  W, {- N( m
  370. ; http://php.net/max-execution-time
    6 [" \" J# s& N
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI; @/ `5 ~, x8 v, x  m
  372. max_execution_time = 300
    $ l8 ]% [+ _* U$ s! u; c$ O
  373. $ T- u% w. D9 \' I) q3 X& _
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ( n+ D- R* I6 C$ B5 |0 l5 q' b
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly' L$ k  H! h4 B
  376. ; long running scripts.* J( W- \( J) \" N* e- J& n, p# P
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    6 c2 o9 A1 h0 f- d- M
  378. ; Default Value: -1 (Unlimited). S. T9 o5 ?! e! G/ F2 r+ y/ s
  379. ; Development Value: 60 (60 seconds)
    ' d) E$ k9 `! R7 a" O  ^
  380. ; Production Value: 60 (60 seconds)
    . S# w, m, k* K
  381. ; http://php.net/max-input-time
    ! {$ ?6 J: ^) q( k$ I; G, B
  382. max_input_time = 60+ ?$ y! f/ |+ h( _' U
  383. 7 @# F( c& o/ O9 C$ Z6 ~
  384. ; Maximum input variable nesting level! U- @* W# X# d. {5 F# R4 `
  385. ; http://php.net/max-input-nesting-level: z4 n2 t6 \. j) E5 i
  386. ;max_input_nesting_level = 64
    # x* c. b( ?4 m- S) r! s* q, ?7 {$ c

  387. 5 w4 D6 a* W* R+ D  \, y: f8 U4 Q
  388. ; How many GET/POST/COOKIE input variables may be accepted' B5 v( U6 M- u6 A) i/ f; c
  389. ; max_input_vars = 1000
    1 s  K' ~% o2 Q8 @" L9 S
  390. ; n5 L3 |2 {9 M9 c; Z
  391. ; Maximum amount of memory a script may consume (128MB)
    4 \/ @0 \6 N3 L9 }4 B
  392. ; http://php.net/memory-limit( G: o  q- z! o: H, A2 N4 c
  393. memory_limit = 128M; b. X, u* T' ~( L
  394. 7 o; j3 V+ M7 _: n
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 Z5 B6 A8 l+ E3 Q* G- Z
  396. ; Error handling and logging ;1 q7 U) E9 M4 A2 o
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( I; r$ D* a7 U1 F, d
  398. 4 G3 K1 n% L0 j/ w. D# Q8 `
  399. ; This directive informs PHP of which errors, warnings and notices you would like1 v; ^& T# n, q$ ]* q
  400. ; it to take action for. The recommended way of setting values for this
    ' a6 e; B) d, Q
  401. ; directive is through the use of the error level constants and bitwise
    4 y0 ~, S4 Q+ ?6 @+ c' d
  402. ; operators. The error level constants are below here for convenience as well as' X) t0 @( n7 I
  403. ; some common settings and their meanings.9 w0 |% |8 z6 c* y' F. A  |
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % j7 x' u( q" Y  ]/ @3 ]. E
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    * D2 G. L) s1 K; s) U8 ^
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    2 L2 t5 L% W2 |
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ) y, `) Q6 f  ?, A1 l
  408. ; resources complaining about best practices and coding standards. That's what6 O+ B* @+ Y% V
  409. ; development servers and development settings are for.
    7 Z$ \2 V$ J# u" h! f5 Z/ I+ p
  410. ; Note: The php.ini-development file has this setting as E_ALL. This; [4 t6 i+ y) @
  411. ; means it pretty much reports everything which is exactly what you want during
    8 L; \+ W  o/ Y& h/ F
  412. ; development and early testing.: V" F) E+ y+ D/ j! ~, h
  413. ;/ d9 V& q2 O3 E
  414. ; Error Level Constants:
    ( d7 }  K$ L# }3 H5 ~5 H6 |% y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    & m; ^7 ~2 D- M6 s* r
  416. ; E_ERROR           - fatal run-time errors
    6 A& [$ y7 [3 @6 a# C
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% c5 ^5 O. m3 W: Y0 o& F
  418. ; E_WARNING         - run-time warnings (non-fatal errors)) z+ f' c* i% Q) O2 Z# r
  419. ; E_PARSE           - compile-time parse errors
    9 {, D9 j; ]" I* Q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    + ~2 w5 O1 G6 X% }# p% g; @1 \
  421. ;                     from a bug in your code, but it's possible that it was* i1 F7 Y" |/ K1 g% b
  422. ;                     intentional (e.g., using an uninitialized variable and
    7 v0 r; D9 b  G2 c' m
  423. ;                     relying on the fact it is automatically initialized to an$ G. x9 _, O; B! f1 T
  424. ;                     empty string)
    * K1 F9 U5 z7 c7 h. \, f
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes# M- p0 k% W' a
  426. ;                     to your code which will ensure the best interoperability
    ) c- ?0 {8 m' f7 M$ D) f/ t: N
  427. ;                     and forward compatibility of your code; O- x5 T+ `& s( J
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    . e! b- S3 T( q+ z0 |' B6 N
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    * r+ I- x" {; j
  430. ;                     initial startup
    1 c/ j  z, G4 H  M" V
  431. ; E_COMPILE_ERROR   - fatal compile-time errors# J; k6 {' V: P# n! n
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    $ _0 k- u5 E2 x0 F; R
  433. ; E_USER_ERROR      - user-generated error message
    0 T8 G& {) N9 Y
  434. ; E_USER_WARNING    - user-generated warning message: {7 |+ S% q, t& c
  435. ; E_USER_NOTICE     - user-generated notice message9 M6 P2 ?- j) m/ `8 ?
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , h0 l; E! b6 C8 K# x# }7 R
  437. ;                     of PHP
    # x0 u1 L1 g+ o& D- c
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings  f; i4 @& k3 M6 s
  439. ;
    ; ?* Z3 z( R9 h5 `5 [/ S7 a
  440. ; Common Values:& e. e9 m/ o2 A0 y+ `9 K
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)' S- P! O) N9 k- d2 H
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)( x* @1 V' s7 Y! o
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)8 Y4 ^; U: [1 ]- V; D
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    4 ?0 S" z( U. T# ?8 R
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      D  U) \8 ]: }6 Q
  446. ; Development Value: E_ALL. f1 v$ B" l1 H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ c) f7 W- H0 V% ]: v7 D
  448. ; http://php.net/error-reporting
    ) ~/ |/ q! j! J! y4 i
  449. error_reporting = E_ALL & ~E_NOTICE
    ! t" l7 r& p2 a; [) p
  450. ' {: E' A7 F5 t
  451. ; This directive controls whether or not and where PHP will output errors,
      Q  ~8 g$ y$ q- \, w" J6 L
  452. ; notices and warnings too. Error output is very useful during development, but% q9 p* ]# O/ X  K" D
  453. ; it could be very dangerous in production environments. Depending on the code
    6 k2 m% S$ Y& u8 }/ Z& y
  454. ; which is triggering the error, sensitive information could potentially leak
    3 T  s( H3 N. h# P
  455. ; out of your application such as database usernames and passwords or worse.) @& n5 ^8 K/ P1 k" y" d8 l
  456. ; For production environments, we recommend logging errors rather than! u( I6 o; e1 x; ]
  457. ; sending them to STDOUT.( _! t8 V0 e# P3 E
  458. ; Possible Values:
    6 N# u, t/ e$ F! s
  459. ;   Off = Do not display any errors
    1 G6 T* n$ S- q) {
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    1 @- R& n9 c: a' J
  461. ;   On or stdout = Display errors to STDOUT. D" O9 R: P# h1 G& E
  462. ; Default Value: On  Z, c" k) h. t' [# ^" b
  463. ; Development Value: On
    $ V9 o% H5 g7 J. X
  464. ; Production Value: Off; h; _( a; S+ O3 \, P# Z+ {
  465. ; http://php.net/display-errors+ p4 e, E- S' r3 O
  466. display_errors = On+ B$ E  p, V5 W( }

  467. ' ?- ~/ m1 ?5 X( p& W" B
  468. ; The display of errors which occur during PHP's startup sequence are handled
    * v5 H1 {8 y& g$ N" P# \0 Z
  469. ; separately from display_errors. PHP's default behavior is to suppress those3 ?1 u$ |7 K) M7 }
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ) R. U* a6 l$ p1 O/ Y
  471. ; debugging configuration problems. We strongly recommend you
    . \4 H+ B) j2 r9 q! h& s% E' _. @! p  j
  472. ; set this to 'off' for production servers.
    3 e; z$ i0 q- W5 w
  473. ; Default Value: Off6 q( V5 a5 `% r1 @3 Z% k
  474. ; Development Value: On
    % P' T$ o! \& l8 A- H. U
  475. ; Production Value: Off6 r) A% l. A% N5 j% _2 [3 c5 q3 m
  476. ; http://php.net/display-startup-errors1 I; ?! p7 l7 E/ Q9 p! M9 J7 p" ~
  477. display_startup_errors = Off9 F9 `0 P0 Q0 p; E) N7 W

  478. / g) j8 m9 G! r. _" `# c8 i
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ( Z2 p. H0 T6 E! c3 F* t
  480. ; server-specific log, STDERR, or a location specified by the error_log7 a! L' d- `: }8 Y6 ^6 U
  481. ; directive found below. While errors should not be displayed on productions
    9 ]: C9 J0 S+ D; Y, S3 I
  482. ; servers they should still be monitored and logging is a great way to do that.. ^" h2 G, c4 w: {  ]! V5 \$ N
  483. ; Default Value: Off
    & y! e- w# m2 T! A) Z6 f
  484. ; Development Value: On
    ( b- @( F2 R, Y5 d5 H
  485. ; Production Value: On
    * b* Q5 M/ c! i, A# j
  486. ; http://php.net/log-errors
      @5 L; i  ]7 _& [- w
  487. log_errors = On
    8 z& V  |" f, m) ]; B
  488. , L) b/ I! B6 \* q; V- C
  489. ; Set maximum length of log_errors. In error_log information about the source is/ n1 K( c+ J2 X* U5 b' w
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." ~' I  ^2 H( o* X! L1 q6 h
  491. ; http://php.net/log-errors-max-len
    8 W+ `  G8 h3 G, {
  492. log_errors_max_len = 1024$ X0 ~  S; }9 Q0 l/ P; C; @

  493. , ?' {% e- y* i
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ( t1 s! o* a  m7 U
  495. ; line unless ignore_repeated_source is set true.
    5 G$ l$ ~; ~3 I% i
  496. ; http://php.net/ignore-repeated-errors
    . s7 T1 F) k3 {" [8 ^2 i
  497. ignore_repeated_errors = Off5 I1 R: C. x: ]3 Z
  498. 8 ]2 M' y/ c3 ~
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    6 ^2 z) ]0 G* V" e6 _. o( g
  500. ; is On you will not log errors with repeated messages from different files or
    9 ]# i/ _! [2 m1 m% q
  501. ; source lines.
    ' i- ]- j0 M  j+ n# ~  f, W
  502. ; http://php.net/ignore-repeated-source7 ^1 [, d: r! L
  503. ignore_repeated_source = Off8 y7 s# R. }; ~, |
  504. : u2 d5 v6 u' V2 n6 v
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    6 E8 u( B" m& c7 C  b$ w7 v. X
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    " l% `6 E/ ^: W- I8 V
  507. ; error reporting includes E_WARNING in the allowed list2 J: l( p3 o2 A1 X% v" w2 j/ \
  508. ; http://php.net/report-memleaks
    6 k) Q3 r8 W: A8 I$ F2 z
  509. report_memleaks = On/ i3 q& O; }* e! D) r( H9 R3 H
  510.   {/ z9 s% J% A4 b3 P+ G$ _( g
  511. ; This setting is on by default.
    + l& t$ A$ P% S1 h- C
  512. ;report_zend_debug = 05 j: z8 M6 y$ o1 N
  513. * d5 r2 h6 R3 F" v8 u
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' l: W$ q0 A* B' l8 }- F9 o
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    6 a& S: o; z, j) p+ ~# q
  516. ; however be disabled on production servers.
    / [4 o2 Y, s& Y3 {
  517. ; Default Value: Off
    7 C& B' J  b% V5 G0 t
  518. ; Development Value: On2 M% O1 p) ?( L0 r, u
  519. ; Production Value: Off
    6 [* g2 O5 ]% n) ~  Z/ g4 A
  520. ; http://php.net/track-errors
    9 z& h, `, A2 \1 D: x
  521. track_errors = Off
    ) u- {* a. d$ J" F+ I7 U' d
  522. 6 H1 ?! A* D7 c6 j6 u, t5 ?+ x$ a
  523. ; Turn off normal error reporting and emit XML-RPC error XML1 U7 h( A+ O5 `, w+ W' K
  524. ; http://php.net/xmlrpc-errors
    ; v# i2 V8 }( I$ ~1 W8 Z( y
  525. ;xmlrpc_errors = 06 n+ z, l- M! n
  526. % Q3 t7 F5 x" w1 P
  527. ; An XML-RPC faultCode
    6 {' P( J$ ~0 V9 k6 U) o
  528. ;xmlrpc_error_number = 0
    ! F5 {6 L* N/ g% S6 Q
  529. 6 P& e1 h  j* ?" h
  530. ; When PHP displays or logs an error, it has the capability of formatting the4 n- v5 m5 j$ ?7 H* A5 q7 v
  531. ; error message as HTML for easier reading. This directive controls whether
    , d, I' |8 C9 s3 I7 n# d) L
  532. ; the error message is formatted as HTML or not.
    ) W( K# S9 S- Q: {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI& o; b2 T% w9 H; s$ G8 v9 I
  534. ; Default Value: On2 y  V  E9 p! O, q- T
  535. ; Development Value: On: [" W7 s* C4 [, }5 W  F8 G7 M
  536. ; Production value: On
    * k1 ~& s6 C/ t" ]% E: @( m; `4 M
  537. ; http://php.net/html-errors* L; S, U' K) V1 t! x: V4 e
  538. html_errors = On% [. E- P9 \/ A8 }+ T. n! B

  539. ) X# e# i& J9 }  m3 Z9 U2 V8 k- I
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    - H* C6 j7 v* ]2 [
  541. ; produces clickable error messages that direct to a page describing the error: [6 {  J- T2 K! i& c) l
  542. ; or function causing the error in detail.
    ( L4 K' K$ a3 F" t7 ?
  543. ; You can download a copy of the PHP manual from http://php.net/docs$ f% y0 P0 @$ Q' T2 C; N# T* I
  544. ; and change docref_root to the base URL of your local copy including the
    - d1 F) e+ R' P' _' c
  545. ; leading '/'. You must also specify the file extension being used including
    1 g- R3 C9 P' Q* b2 i, g
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 X: L$ s' r2 O* H/ W/ [
  547. ; case no links to documentation are generated.
    ! `1 F2 M5 F0 J, A0 `! [; w/ t9 H
  548. ; Note: Never use this feature for production boxes.6 L8 n1 E% W; Y5 _3 q$ z: E
  549. ; http://php.net/docref-root+ l! A( D* N& O: z
  550. ; Examples) {  R0 ?$ H9 f- b
  551. ;docref_root = "/phpmanual/"
    ' f5 k0 y1 l- B% K

  552. * f! u2 C4 X/ _! s; i8 ?
  553. ; http://php.net/docref-ext) d3 U9 D% Q$ Y2 g& s5 k
  554. ;docref_ext = .html1 M' J, r% ?: U* ]

  555. ; \7 \! Z% F( X$ |3 A7 w
  556. ; String to output before an error message. PHP's default behavior is to leave
    0 C1 V+ r& q- f/ K3 c
  557. ; this setting blank.: ~) u0 `/ G+ K* D; `2 S8 T( L$ E; k
  558. ; http://php.net/error-prepend-string: ^$ ?$ j! l% g6 z) g
  559. ; Example:
    ; r7 B2 I' ~' [$ t. q+ p
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
      n- q/ N) ]+ F$ r7 J# S# k* O
  561. $ z) t; q2 n9 s6 f9 a  L+ Z
  562. ; String to output after an error message. PHP's default behavior is to leave+ V; r& Q. y6 e* p7 s
  563. ; this setting blank.
    % b  w0 v! \1 F4 P6 j5 t2 X
  564. ; http://php.net/error-append-string6 D$ l: j6 C* o, L( e
  565. ; Example:. P; k  x( A5 x/ r) D( h% l
  566. ;error_append_string = "</span>"( A) L& g. M5 d% Z/ E0 f; j

  567. ' a* E4 D1 o7 i2 D
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ; D* r3 L8 ]4 ?$ B
  569. ; empty.4 m: k; J% L. `8 ^3 T- k" e: O
  570. ; http://php.net/error-log, e1 r* S- R9 d) P
  571. ; Example:- e  P( G3 O" _! c% O- Z* t
  572. ;error_log = php_errors.log9 \; `$ c. ?5 U) y8 a( j/ ~# H9 e4 Y
  573. ; Log errors to syslog (Event Log on Windows).7 E. T3 p) `" W+ H. L4 u6 ^( C
  574. ;error_log = syslog
      q/ u$ w) G4 P; V, N

  575. , z1 \% O0 b0 |+ P9 C
  576. ;windows.show_crt_warning
    ' x3 Q$ o+ p: |2 F* n  `  N
  577. ; Default value: 0/ K" `5 ~& `5 M! o7 w9 @; h3 M
  578. ; Development value: 0
    5 M# W" R6 Z# Y4 V5 K1 W
  579. ; Production value: 0
    0 ~) F6 s& }1 Q4 p
  580. 5 K: Y: x1 h3 j# i- i# V( U
  581. ;;;;;;;;;;;;;;;;;
    3 V4 x  S* [7 e0 p4 @
  582. ; Data Handling ;! m  _& C0 J( v5 K& _  h' `
  583. ;;;;;;;;;;;;;;;;;
    7 {# h' u5 x# Z  V# Z5 v- x# ~# }

  584. ! {/ L! j+ p5 F* Z9 B) M0 t0 e
  585. ; The separator used in PHP generated URLs to separate arguments.) I, ^: p+ a. P; e1 f, `& z
  586. ; PHP's default setting is "&".
    5 ^2 R6 C7 ~  k1 X
  587. ; http://php.net/arg-separator.output
    ; E2 j8 j8 t, a! G% c0 C" E
  588. ; Example:
    1 @0 {( P! m2 X; `, C6 `5 h( ]. X
  589. ;arg_separator.output = "&amp;"
    4 H! Q3 L7 S2 f; S
  590. - ^8 F( p) Q+ v' V7 E
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    1 i+ K' L5 d' f2 n1 i
  592. ; PHP's default setting is "&".: v0 V* I% P3 [
  593. ; NOTE: Every character in this directive is considered as separator!
    + y6 m3 r3 E4 P4 h" ^
  594. ; http://php.net/arg-separator.input( d  j& m) @( C3 t+ [. ]9 R; W
  595. ; Example:
      ]! v# E8 m8 j6 G3 W6 Z6 I
  596. ;arg_separator.input = ";&"  v! F9 s3 H4 F2 q  X/ ^

  597. 0 C$ m8 |" W6 k4 U
  598. ; This directive determines which super global arrays are registered when PHP
    5 q, Y1 ]1 ~0 @- W8 i; E, ?' S
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 `' {" u2 L' N: ?/ B
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( k/ c5 J* C" p, D3 E# }
  601. ; paid for the registration of these arrays and because ENV is not as commonly- P' N" _% a4 Y% Z; G
  602. ; used as the others, ENV is not recommended on productions servers. You
    2 @9 y% E: e6 ^, O6 v& o' C
  603. ; can still get access to the environment variables through getenv() should you
    . m& j7 Z; ~/ {1 h  A  r- p# e  Y
  604. ; need to.
    * U5 f' q* U$ X
  605. ; Default Value: "EGPCS"
    , a: Q2 N" A2 h) `6 j' t% a2 D
  606. ; Development Value: "GPCS"  p+ ~& b1 H) Q- s) D8 C2 u
  607. ; Production Value: "GPCS";
    5 K+ O- s3 M0 E; C! e, {8 D, v
  608. ; http://php.net/variables-order
    3 o: j; L, ^9 S: _# j/ d
  609. variables_order = "GPCS"0 N2 O6 f8 U. O" C, T4 Z# V$ F

  610. / r$ ?+ f& [! ^. z  Z1 A/ w
  611. ; This directive determines which super global data (G,P & C) should be
    ! O2 z# K" a% r% g
  612. ; registered into the super global array REQUEST. If so, it also determines' I" U' F; c% Y7 y* I3 N" N
  613. ; the order in which that data is registered. The values for this directive! [2 L7 i& ^0 h  `. f5 c% b6 w
  614. ; are specified in the same manner as the variables_order directive,8 y* _) \5 X1 s* L' S  p
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    . m+ l9 c' A  O& ]
  616. ; in the variables_order directive. It does not mean it will leave the super
    7 E  o+ w2 p# S/ f# W2 X- i5 s# Y
  617. ; globals array REQUEST empty.$ i. W% L. k( U( x! R
  618. ; Default Value: None
    $ X8 m6 ~- ]5 z6 n# J
  619. ; Development Value: "GP"
      S( Y% [. K/ `3 d/ J% {
  620. ; Production Value: "GP"
    . W* Z1 a8 g" s
  621. ; http://php.net/request-order
    , V- m: f& i5 [! o
  622. request_order = "GP"
    & k6 M1 F6 z' w7 O4 }

  623. 5 P+ o& a9 y. {9 R9 E8 Z/ ?8 K) p
  624. ; This directive determines whether PHP registers $argv & $argc each time it& }5 O/ g2 [( T, k  E) H
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script7 t: L9 o: M1 y6 y6 z2 a
  626. ; is invoked. $argc contains an integer representing the number of arguments8 `9 d0 C2 b: J& u% [% j
  627. ; that were passed when the script was invoked. These arrays are extremely: |) }5 F2 I3 ^! M& J2 ~) k
  628. ; useful when running scripts from the command line. When this directive is
    " U2 A8 Y: r! z6 k
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 r$ p8 Y* ?4 L( g2 E  q
  630. ; a script is executed. For performance reasons, this feature should be disabled
    / g9 z. k# s) S4 v. r* T7 Y8 o
  631. ; on production servers.
    * }: W9 e  R) ~( x- k: r( e
  632. ; Note: This directive is hardcoded to On for the CLI SAPI  c3 M8 Z4 K* Q4 p" H
  633. ; Default Value: On
    . I" q+ d/ Z" L. u( G
  634. ; Development Value: Off
    # s3 ^4 _% Q9 _8 m1 V+ b
  635. ; Production Value: Off3 {+ D. W& e4 z" i6 v; L
  636. ; http://php.net/register-argc-argv5 `$ o' O# @+ h- z0 O3 W4 `
  637. register_argc_argv = Off
    9 d0 R: M- a  i" k5 U! b! o
  638. , q9 w) w2 l. Z. }
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    # C0 J1 g3 X3 }* [4 @  M( H
  640. ; first used (Just In Time) instead of when the script starts. If these5 J/ I  F- Z+ B4 Y5 K! k7 i
  641. ; variables are not used within a script, having this directive on will result
    : g( d( C4 x! i8 X' S
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled/ D, J0 W$ v8 r* ^  k* f( m
  643. ; for this directive to have any affect.
    " {0 y6 R+ e. Y) R6 w0 `' b
  644. ; http://php.net/auto-globals-jit
    , m6 w  q# r! m  a( u
  645. auto_globals_jit = On
    : J/ @7 R2 k( c( v7 J' G; i% @
  646. ( n9 P( o. S2 `# f7 @
  647. ; Whether PHP will read the POST data./ I) `+ w, {) ~6 `
  648. ; This option is enabled by default.' ^: u( s0 K, W0 G* k
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST! K1 D9 w! |/ |
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    . l4 q) T$ X6 S) w
  651. ; POST data will be through the php://input stream wrapper. This can be useful
      n5 p8 \' H3 `
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.& C+ _6 p% P; u+ O
  653. ; http://php.net/enable-post-data-reading1 l7 f# i  ?) V3 l2 t! _/ b4 \& a
  654. ;enable_post_data_reading = Off* N* _1 q# _+ o
  655. 0 K5 K7 C, h8 x. c6 O
  656. ; Maximum size of POST data that PHP will accept.0 k# W, X% z. t* k! e0 F9 N+ {3 ]
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# b7 V9 R% ^9 ^% j4 g' O
  658. ; is disabled through enable_post_data_reading.
    ) E# U4 w5 y/ q
  659. ; http://php.net/post-max-size
    9 ^5 w6 P: D3 P. _
  660. post_max_size = 50M
    * x: `: q) ~. r9 `9 P' {

  661. 9 m% Q/ V1 B+ u8 ?8 ^
  662. ; Automatically add files before PHP document.
    6 M6 Y/ ]8 B8 t( X6 i. H2 _7 n
  663. ; http://php.net/auto-prepend-file
    2 ^2 }0 g5 c/ `, ^7 L+ F
  664. auto_prepend_file =
    1 j) B( t+ G+ \' X+ R0 }: x

  665. " r6 i+ p6 a0 h8 ~3 J
  666. ; Automatically add files after PHP document.
    ' W# M4 u$ k$ l; a- @
  667. ; http://php.net/auto-append-file
    - M8 `7 l  H0 v
  668. auto_append_file =
    8 E# B7 e  ~8 C2 e* z/ r6 O$ A
  669. + w' g$ `$ @& E2 @* G; Y, ~
  670. ; By default, PHP will output a media type using the Content-Type header. To# i7 d" s: ]1 J' M9 |( S. H: u
  671. ; disable this, simply set it to be empty.
    1 m- @5 X- q* @4 p: V+ M
  672. ;
    & d: c0 I( y, m' k* y3 R
  673. ; PHP's built-in default media type is set to text/html.
    * I8 n4 m; s: m+ D" M
  674. ; http://php.net/default-mimetype
    ( F) a/ g1 B8 s( `& P- m4 R) P3 |
  675. default_mimetype = "text/html"
    7 d) h) P1 w4 ^

  676. 1 i- R+ K. ^1 x+ Q& D) X
  677. ; PHP's default character set is set to UTF-8.7 @) {" t3 {( E2 L; Z0 |$ c5 U1 [6 J
  678. ; http://php.net/default-charset
    1 K0 i" }2 u- ]( a6 U& L$ U! b) S
  679. default_charset = "UTF-8"" [! F. f/ f7 S# j

  680. # X! z" j; |* B/ s, _, f
  681. ; PHP internal character encoding is set to empty." T) p3 E* k, [) d" H
  682. ; If empty, default_charset is used.  e9 g5 `, x8 d4 @: @6 Z$ h
  683. ; http://php.net/internal-encoding
      Z- b+ i! E% F6 P9 {8 g0 W
  684. ;internal_encoding =
    # m8 |2 m( F' |6 C$ S' B
  685. ( Z$ e6 f4 r% x7 n( I0 h9 S
  686. ; PHP input character encoding is set to empty.
      }; z; _2 n3 J1 Q- _/ o
  687. ; If empty, default_charset is used.5 }0 w" t$ K: `  h
  688. ; http://php.net/input-encoding
    ! e0 l3 ]* Q9 W) k% n: O. P
  689. ;input_encoding =
    - T, t" n, ^1 Y! e8 b
  690. % e/ R/ A/ j% W6 q5 L
  691. ; PHP output character encoding is set to empty.
    9 s$ F/ s8 g) p3 v/ ]7 k: C
  692. ; If empty, default_charset is used.
    6 Q' m# r' k: e. d1 N* Q
  693. ; See also output_buffer.
    ( R0 p4 b0 M6 B6 y; t6 S5 W
  694. ; http://php.net/output-encoding7 X1 X2 v5 ~! \7 F, d8 V- V
  695. ;output_encoding =
    ) J: O" A+ v& E$ A! X+ C9 K# w" K9 \

  696. % [. \' I3 ^1 M: p5 T) o5 I
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ! }. ]/ W! G! ?! q2 v2 J6 D  j
  698. ; to disable this feature and it will be removed in a future version.
    . J, t, e) C. W+ e8 [+ X& V
  699. ; If post reading is disabled through enable_post_data_reading,' [9 U2 f7 l6 ~6 H& q. m" n8 ^
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    7 l: n- [% L6 s% J& P9 {8 X
  701. ; http://php.net/always-populate-raw-post-data
    . c1 B9 G* Z, f% @3 ]
  702. ;always_populate_raw_post_data = -19 u1 W) a$ {( |- _/ S; Y

  703. - e$ a0 _  G. s* \) D! i
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;# u+ x# N' e; R& C5 L7 k7 [; a
  705. ; Paths and Directories ;! L8 `. t5 O' ~% R) Y
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;2 M. f, x# @3 I2 i- F  T" N( e) N
  707. 2 i5 y8 r$ W& F! H* q0 `0 d
  708. ; UNIX: "/path1:/path2"1 I* T! W0 W- d
  709. ;include_path = ".:/php/includes"
    , l- c8 X* L" u4 |) D2 ?
  710. ;  v; E9 `) \5 b/ }- J; T
  711. ; Windows: "\path1;\path2"5 ~7 Q- h. Q' q/ C
  712. ;include_path = ".;c:\php\includes"
    7 }$ Q& \7 ]. {, K' _7 }" r5 H
  713. ;' d* z: P: a# H+ a" y
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
      E0 Q# l* g1 I; V+ M0 A
  715. ; http://php.net/include-path# k# i4 h& e8 ]6 U# f

  716. # b2 F8 `2 y; E# W" j* `
  717. ; The root of the PHP pages, used only if nonempty.
    + N$ R2 K+ ^$ E) J
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' p( \5 l7 C1 i
  719. ; if you are running php as a CGI under any web server (other than IIS)6 c5 ^2 F; o: Q3 O" y! [0 {2 g
  720. ; see documentation for security issues.  The alternate is to use the
    0 [; T  Y6 g, O% A0 `
  721. ; cgi.force_redirect configuration below
    , S) g& s/ u' R- \
  722. ; http://php.net/doc-root
    ( z. a! q) d! k9 _( c! u
  723. doc_root =
    8 [; k) \4 n# [
  724. 1 ?0 V6 {& {) E& ]( s6 @3 i2 I) [
  725. ; The directory under which PHP opens the script using /~username used only
    * D% o, l* k) p1 h7 \
  726. ; if nonempty.
      W; V, B) i: D2 K! z0 W
  727. ; http://php.net/user-dir" Z. f8 D4 `, I/ z- t. n8 T
  728. user_dir =# o4 |+ L8 N! _) P

  729. / O; [1 Q; i& E
  730. ; Directory in which the loadable extensions (modules) reside.
    * B# A4 m# _4 a
  731. ; http://php.net/extension-dir
    0 c( z4 `5 e0 _' d5 N# R8 T' K
  732. ; extension_dir = "./"
    % Q9 b: J7 W  c3 N+ L5 Z
  733. ; On windows:; ]9 M7 P( ?+ i) ^
  734. ; extension_dir = "ext"0 }: P" g: X2 M; z7 `9 Z& C

  735. / l7 ]7 [& L3 ]& z/ k( O
  736. ; Directory where the temporary files should be placed.  s' X: f- x/ C7 d) a
  737. ; Defaults to the system default (see sys_get_temp_dir): B7 G* A# D1 K  s1 b
  738. ; sys_temp_dir = "/tmp"2 @" `& E9 f; Q" L6 k" w
  739. 2 F1 B: H/ [* Q* P2 `5 G/ Q2 y
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work0 s- q( W, g+ c9 D! t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    / F" g+ j9 t. b, e
  742. ; disabled on them.2 S2 K& m* e8 R. z4 m
  743. ; http://php.net/enable-dl
    % z  Y, t7 i' s4 A, T& T
  744. enable_dl = Off
    / r8 P/ d" C+ @, B8 E( B9 J9 e

  745. 6 y& {. a) [% _" Q& a2 U% ?
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under+ \9 z$ Y( v# m% l; j
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    5 C! S- Q: A( d4 s- g7 ~2 |  q
  748. ; turn it off here AT YOUR OWN RISK
    7 L# O/ G) G2 Y  Y" P8 W
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    5 b6 P8 _5 _2 o4 a4 J
  750. ; http://php.net/cgi.force-redirect
    ) K. j& S& i( I/ y" H% U  [! o# ?/ ?
  751. ;cgi.force_redirect = 1
    4 |3 Z( B+ u4 H
  752. 3 D  t6 }0 g7 H& W
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with& ?" ]0 \9 C% ~- G" ~9 s
  754. ; every request. PHP's default behavior is to disable this feature.4 m$ F8 n) H9 A9 Y& U- ~8 S
  755. ;cgi.nph = 1/ K3 M* ^5 K5 m2 a2 _
  756. - H$ S% g* B3 r4 z
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    9 T8 ^9 H' ]& ~4 u% P
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    % Y, n7 J/ h6 R7 ]
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY* x( k& i4 r/ u0 g4 P
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( {8 J0 T5 |; ~* P" V
  761. ; http://php.net/cgi.redirect-status-env! y9 x1 d3 l; j5 {
  762. ;cgi.redirect_status_env =5 B# a) I1 |: [+ F$ t; r3 r

  763. ; T5 r5 {% S/ \# V
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& W0 z" a) ], j0 Y
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) h+ j* @; i# f' D4 k. R- C
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; d+ S5 D& L: g8 u9 N$ s0 Z4 z6 U7 Q
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " q/ e( g: u& B  u; h
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    . w$ O) n- E9 y: \: U( `7 n$ N: R: S  E
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ W; Z! h4 s- N1 S/ y
  770. ; http://php.net/cgi.fix-pathinfo
    ' A% n9 z3 q! s. S
  771. cgi.fix_pathinfo=1+ @2 R4 ?8 c% n- C

  772. ' z( T  p3 p( T  e9 t
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 z* L0 E) T% J  T) M
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ! y9 u' A8 }% k7 Q$ b6 c" ]" D
  775. ; http://php.net/cgi.dicard-path
    4 E7 R2 }% a2 j' ^. I4 d
  776. ;cgi.discard_path=13 ?; u' e3 F6 o4 x& h; @/ V

  777. 6 D+ R3 t3 |( Y7 b4 [  t8 K  @
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) {- o8 e3 m* d/ c4 J0 }
  779. ; security tokens of the calling client.  This allows IIS to define the
    2 |. Y' P9 f4 \: s, Q
  780. ; security context that the request runs under.  mod_fastcgi under Apache, P4 S- r' Z( p8 I2 E! E8 ^
  781. ; does not currently support this feature (03/17/2002)
    * l  E2 a4 I' ~; R) ~
  782. ; Set to 1 if running under IIS.  Default is zero.
    ( A0 S! f0 D2 Y* L
  783. ; http://php.net/fastcgi.impersonate  N0 T1 q0 F- T8 o0 ?" Y" ]
  784. ;fastcgi.impersonate = 1
    3 h3 U6 |! t5 L
  785. 8 L7 b+ v7 c  h4 f( T1 M9 h8 w
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable8 [" S) J3 f7 l/ D8 f
  787. ; this feature.
    & D: j* W& \" |0 h! p8 x8 t
  788. ;fastcgi.logging = 0
    0 i  m& ?7 q8 @& y2 [% t

  789. ; y- r( l5 J. Y  c$ Z& C, L* D
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: H4 J+ ?) |( X& }2 c5 O
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    9 v2 Y7 K6 B: p& Z' i
  792. ; is supported by Apache. When this option is set to 1, PHP will send8 r6 X  |) M/ c$ R& L
  793. ; RFC2616 compliant header.5 {& k# l6 h* ~0 g/ L
  794. ; Default is zero.# |+ y6 W8 e" c1 {+ r& B
  795. ; http://php.net/cgi.rfc2616-headers( E$ w7 q" w8 ~/ c5 a! V
  796. ;cgi.rfc2616_headers = 0" R; P4 \5 e+ X" V( q# P; I2 ^( X9 n
  797. 1 G6 u4 \3 t  R  F
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& I+ J4 q9 b  _
  799. ; (shebang) at the top of the running script. This line might be needed if the
      t* A% l) V* X& a3 l+ ]# A
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI4 v1 I5 i- }, b" i! A
  801. ; mode skips this line and ignores its content if this directive is turned on., z! w; R( E8 `
  802. ; http://php.net/cgi.check-shebang-line
    9 G0 h5 T4 v  ?6 t
  803. ;cgi.check_shebang_line=1
    2 W- A9 X: M% m* d  l& s5 m* b
  804. % k8 w" V8 D+ |' V
  805. ;;;;;;;;;;;;;;;;) K1 H* ~8 G- w$ a. O
  806. ; File Uploads ;
    % @+ e. E* R0 s
  807. ;;;;;;;;;;;;;;;;- ^& I; m+ g5 z  Z0 I

  808. / v. r0 I; L' S' A9 u1 l5 E
  809. ; Whether to allow HTTP file uploads.
    % Z4 u, d* @4 `5 M8 A/ N8 w
  810. ; http://php.net/file-uploads2 a4 R& @9 T8 e
  811. file_uploads = On
    . M7 S2 W) k+ }$ g9 a% t

  812. - Z- N+ Z; m" c8 S& N
  813. ; Temporary directory for HTTP uploaded files (will use system default if not! k8 Q0 q* }% s; C; H
  814. ; specified).5 ?" D3 v! N; B+ L6 m7 v
  815. ; http://php.net/upload-tmp-dir( Z) q8 t9 [6 F4 V7 _
  816. ;upload_tmp_dir =
    % r8 b* _) }& N

  817. 7 X: S! x* \9 |) c  F9 u% r
  818. ; Maximum allowed size for uploaded files.
    & e% Y6 e+ }3 t8 m6 S$ j4 h8 }
  819. ; http://php.net/upload-max-filesize; t$ c5 `& J& Q5 F# F8 @$ O
  820. upload_max_filesize = 50M" Q) C- Y9 P: P5 |3 Q! K- _

  821. $ o# O5 W7 K5 x0 n
  822. ; Maximum number of files that can be uploaded via a single request$ ?. J# e% f  G3 r8 o8 S( C* N
  823. max_file_uploads = 20
    0 R) s. p( Y! C1 {7 w% j* t& P" h9 {* k

  824. 1 Z; v: u  F% e! z7 c
  825. ;;;;;;;;;;;;;;;;;;
    1 p+ v5 }" P& L
  826. ; Fopen wrappers ;
    ' s" |) y9 l5 A- {. ^* G; k
  827. ;;;;;;;;;;;;;;;;;;
    * l+ E! v8 }6 u9 w/ N

  828. : ~5 y3 o- n3 F$ L( _9 a/ ~' D
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % c5 r0 S0 ?6 J9 w: S, l. B# h/ ]* c
  830. ; http://php.net/allow-url-fopen
    5 c  ~( u" S" M! F2 j
  831. allow_url_fopen = On, n1 S2 }9 P! `# K: g+ x  P

  832. 5 m& u1 F1 Z1 L
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  m& }/ w# o" j
  834. ; http://php.net/allow-url-include
    $ ]2 [" M: s# r- ^
  835. allow_url_include = Off
    . D* K3 M0 N! }5 V3 q. H

  836. 5 F& z7 \7 J* _: Z
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    " V- I9 C1 T: ~- I: j
  838. ; for this is empty.
    : r6 }: a* C  Q! D9 }
  839. ; http://php.net/from
    ; I0 _7 [7 O4 w0 k6 ]- T' s7 N
  840. ;from="john@doe.com", u. y. w! g' I! i9 Q
  841. . `. o) E: G8 k, ]
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ) @7 M( U8 H& A  Z1 V. |: o
  843. ; http://php.net/user-agent- K% `$ S2 r0 H) @  u
  844. ;user_agent="PHP"
    8 |9 Z8 W3 b! I. P
  845. " n4 V$ C( r! [/ s
  846. ; Default timeout for socket based streams (seconds)( W& H* y$ K4 n' L' @1 R
  847. ; http://php.net/default-socket-timeout( g- \, y: w2 K; B: D0 q) T! q, u3 Y% s
  848. default_socket_timeout = 60( D; r  P5 _3 ]1 `

  849. ; x/ F; a: J$ u( l" ?8 P3 F
  850. ; If your scripts have to deal with files from Macintosh systems,
    " {# n# w3 G8 K# F
  851. ; or you are running on a Mac and need to deal with files from+ L2 n  Q3 o/ E
  852. ; unix or win32 systems, setting this flag will cause PHP to
    $ @5 t1 {5 r7 O! }8 f3 w
  853. ; automatically detect the EOL character in those files so that
    * r* X+ V4 A) T! F, V5 \+ O6 j
  854. ; fgets() and file() will work regardless of the source of the file.
    8 x/ z, y, ~3 h
  855. ; http://php.net/auto-detect-line-endings
    ' z+ p- f/ |( V" t* F5 V4 o
  856. ;auto_detect_line_endings = Off
    1 `# }. j5 G( ~
  857. 3 W$ c8 n  `. g- N( j! U: I# u
  858. ;;;;;;;;;;;;;;;;;;;;;;
    : K* I& p( K/ P3 x+ ~  J4 C
  859. ; Dynamic Extensions ;
      x. P1 z# Y$ {6 i5 E/ u0 ]4 G( Z
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ! b; Q; k) I" J& J* l
  861. 8 l& N! h. }( E/ ?, @; e
  862. ; If you wish to have an extension loaded automatically, use the following
    4 v/ S0 u- }% e4 M' o
  863. ; syntax:
    ' q  j9 t: ]( L( L! l0 ~# H
  864. ;
    , R2 T' K! X! r2 z' N
  865. ;   extension=modulename.extension7 z* p- M/ [" Q# K" `1 g/ A
  866. ;
    - [) u5 a" j. k, e' [2 A
  867. ; For example, on Windows:+ h) T% O3 ^/ a7 d( s
  868. ;# J7 o' t+ Y5 `9 k
  869. ;   extension=msql.dll
    : `- i3 L- U1 u5 s8 m: m0 _- }$ C9 {8 r
  870. ;1 l1 z. z3 @. ]% i  }" c
  871. ; ... or under UNIX:
    3 x$ B, |  ], y( G7 L- [
  872. ;
    " ]% {! l$ g! y5 \4 C' W0 ^
  873. ;   extension=msql.so
    * h( p6 k% {6 Z4 @% b3 O" G0 z
  874. ;2 l* E! z. S' G9 {: t' t7 E8 ?
  875. ; ... or with a path:+ Q; d$ {: B. @5 Q- T
  876. ;, }, @6 p% ]$ e" I, O
  877. ;   extension=/path/to/extension/msql.so
    9 m# q3 }2 x& U4 Y1 W
  878. ;
    ( o" M( P0 L6 p  D7 K
  879. ; If you only provide the name of the extension, PHP will look for it in its
    7 W& [1 o# C7 O9 n5 e! E3 r
  880. ; default extension directory.* h9 ]$ }+ S) Q
  881. ;' w2 r. K. ?9 _3 l- _/ I
  882. ; Windows Extensions" f, t4 k* }* x- h7 @7 O1 p$ ], r
  883. ; Note that ODBC support is built in, so no dll is needed for it.* t2 c& J. \2 Z$ q+ Y. y2 |
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    , K6 p: S2 J" @0 @- P, [0 B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).4 O: D. e! @( ?. C" Q% R7 E
  886. ; Be sure to appropriately set the extension_dir directive.
    + \! m. |: @3 s. b) D! I: r
  887. ;
    ; Q6 A; X0 r( [8 ~" A8 r# b' e% r
  888. ;extension=php_bz2.dll
    1 E- Q- A/ I* P) P8 r( _8 f% M; G
  889. ;extension=php_curl.dll* K8 P6 m( x1 S3 B  V
  890. ;extension=php_fileinfo.dll
      Z* M# Z5 L! w6 V2 o, z
  891. ;extension=php_gd2.dll
    ( Z" I$ S$ j, Z7 ?5 c
  892. ;extension=php_gettext.dll) S) G7 z1 f/ q6 q3 g
  893. ;extension=php_gmp.dll
    * w8 c7 k: w' _2 D, v  u: v
  894. ;extension=php_intl.dll
    - ~' T/ ]+ Y1 s8 q  b8 y
  895. ;extension=php_imap.dll) S) \6 ~0 c( T2 X) B4 f
  896. ;extension=php_interbase.dll# l" |  a- q+ @! |' a% Z
  897. ;extension=php_ldap.dll
    / H9 O0 k: z! r
  898. ;extension=php_mbstring.dll; m) ^+ K/ J# N3 y
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) O7 f/ J& D2 ~
  900. ;extension=php_mysql.dll5 m2 ~' X, D6 N9 q3 U2 I! {3 [
  901. ;extension=php_mysqli.dll9 l5 b5 G( b" G+ n8 C$ V) S- g
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client. n/ V9 o" x- ~. j  D
  903. ;extension=php_openssl.dll: l  ?* X4 Q+ H& S
  904. ;extension=php_pdo_firebird.dll
    4 L0 O% g, i! `+ J/ g
  905. ;extension=php_pdo_mysql.dll, ]2 q9 j4 |3 m8 [' n& }$ _. l
  906. ;extension=php_pdo_oci.dll
    ; n: p7 U2 N- o9 n0 g' ?
  907. ;extension=php_pdo_odbc.dll
    ' O6 H8 h* H/ B1 r7 ?6 T
  908. ;extension=php_pdo_pgsql.dll7 q# W6 e* R* e( W
  909. ;extension=php_pdo_sqlite.dll. g- m2 Z, E8 E4 V8 W) ?
  910. ;extension=php_pgsql.dll/ D$ R1 r/ p) o3 U+ A& ^6 u
  911. ;extension=php_shmop.dll) S3 X, H' \! B5 ^# r
  912. 0 w/ s0 A3 r! J9 j/ J
  913. ; The MIBS data available in the PHP distribution must be installed.
    ( u/ f, v# A5 Q. |: k8 E
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    & G7 q7 d! y! ?& ~7 z; H5 _* @4 T
  915. ;extension=php_snmp.dll6 O* p. K$ y0 O% H0 {, S

  916. ! A* q5 I: [8 K) O8 l$ ^9 q
  917. ;extension=php_soap.dll
    9 s1 }2 W# X# J1 q8 V' V
  918. ;extension=php_sockets.dll( Y% f1 L1 @% z3 d; \
  919. ;extension=php_sqlite3.dll
    2 ]- g3 f) {$ x7 i; d
  920. ;extension=php_sybase_ct.dll( S# D# `3 C3 I9 r8 d/ k
  921. ;extension=php_tidy.dll7 p) O5 Z, P7 F5 r. O: c' ?
  922. ;extension=php_xmlrpc.dll
    & a, s$ G2 c: B- I- M, b# ^
  923. ;extension=php_xsl.dll
    5 r+ I) {1 B! p  j

  924. ! g3 W- I" J; j0 Z* u
  925. ;;;;;;;;;;;;;;;;;;;
    2 K1 Y  y# A, n# i! ^4 s+ Y8 j4 T
  926. ; Module Settings ;
    # t; E( ]$ e+ w, Y( X; k
  927. ;;;;;;;;;;;;;;;;;;;2 P2 p& v. M" q! g0 M9 E# {

  928. # l% r7 v" S# n; |% i
  929. [CLI Server]
    ' H) k. L; p& `6 l9 a
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 z) S% F# I. s% ^
  931. cli_server.color = On
    6 u: `; x" ?0 s: P1 I! H( ]

  932. 4 X# T4 M# O/ V: E- o  x9 z
  933. [Date], l- F; v1 m0 [# N! U9 @. h3 f
  934. ; Defines the default timezone used by the date functions' A5 l4 q: [  F4 ~2 H
  935. ; http://php.net/date.timezone
    ' S" `* A9 A; D
  936. date.timezone = PRC9 u+ L$ K/ K* e- s. o
  937. " {6 f0 K' \# y0 G# h
  938. ; http://php.net/date.default-latitude% E+ U: ~. \9 d* Q7 w. G
  939. ;date.default_latitude = 31.7667
    1 C' R1 |2 G3 l+ d
  940. + }  @# k/ i* i
  941. ; http://php.net/date.default-longitude. e, c& v) C5 }; a* M- B. `$ \
  942. ;date.default_longitude = 35.2333
    ' [* R7 r4 R" e2 O# O6 d

  943. 4 B, o. O9 [& V+ O! q
  944. ; http://php.net/date.sunrise-zenith" ~! o0 B( X+ G1 @( D# h
  945. ;date.sunrise_zenith = 90.583333. Y& x$ _' r2 t: I( ^% _

  946. & Z0 s; H* z: Z9 g$ C
  947. ; http://php.net/date.sunset-zenith
    ( v+ \  ]8 f% p7 |4 L: z
  948. ;date.sunset_zenith = 90.583333
    * L% h" t7 p% J4 `$ F& [4 b" i
  949. 4 j& m. R5 d, A' u3 P
  950. [filter]
    / S; T0 P  q# u% F0 U$ h; P
  951. ; http://php.net/filter.default
    & Y. h- Y- [3 U; [8 W) _6 G3 u' u
  952. ;filter.default = unsafe_raw
    ! G, O" X2 @% S4 h; K
  953. ) B8 y2 j3 q4 z1 \
  954. ; http://php.net/filter.default-flags4 m7 ^4 n& Y7 v/ l; J, G
  955. ;filter.default_flags =8 p  t) r, E- ~; t2 p- F4 E8 i& c

  956. 5 b$ e* j$ c5 v0 m
  957. [iconv]
    1 u1 m; [- S4 p5 M1 e. n$ \, Q& @
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 N1 v3 ?3 K4 T9 K2 j- `3 B  U. O
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' S+ R8 A; |7 `7 ]( I) G
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding  U3 M. N" `) |0 ?
  961. ;iconv.input_encoding =1 j" w! M3 G/ ^2 z  c5 X. i

  962. 5 \6 V0 q. F8 |; n& R
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.( i' v. e  j6 G. O. V* ^0 I
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' N3 l4 C$ u. Y0 a
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & y+ O* f1 x$ K  q1 P' e9 D
  966. ;iconv.internal_encoding =
    + i( J, s) d, m" D* q- Y7 `3 s2 \. L
  967.   O% Y. C- t; ]7 I
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 Z/ s) d' u7 @
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.2 }' Z# r/ @. V4 Z$ h" X
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 Q& Z4 T/ y, i. e6 f
  971. ; To use an output encoding conversion, iconv's output handler must be set2 B6 Q) m9 s( }' M3 e
  972. ; otherwise output encoding conversion cannot be performed.8 K* q$ [' B( Y( g8 n2 y* G
  973. ;iconv.output_encoding =
    & x! P- e9 j% A  W
  974. 6 }; t, ^* r1 A3 `
  975. [intl]
    # I4 N( M5 J1 e0 k' A+ y1 o
  976. ;intl.default_locale =
    5 Q+ d# c: R8 _# P3 ~
  977. ; This directive allows you to produce PHP errors when some error' |- G% l2 y" v& K4 y& j& W
  978. ; happens within intl functions. The value is the level of the error produced.( g5 j$ W6 v! ^% L- @- N
  979. ; Default is 0, which does not produce any errors.
    5 D6 _. e3 I. g4 @; x& Y
  980. ;intl.error_level = E_WARNING
      p2 `$ n8 d7 P% r3 q
  981. ;intl.use_exceptions = 0
    - _/ z/ K( G1 \  s2 v3 t% A6 p2 P
  982. 8 X( E1 I& g( @8 {
  983. [sqlite3]
    2 g: Q& |( v2 o
  984. ;sqlite3.extension_dir =7 o9 w9 h, ?  W; p
  985. # D( y3 S% N; p" E4 w/ f, _  \5 Q% G3 T
  986. [Pcre]
    " T* }) P$ k. l6 Q; l) F8 E+ D8 h, B
  987. ;PCRE library backtracking limit.4 M& `5 R9 w. A( }2 A8 U
  988. ; http://php.net/pcre.backtrack-limit
    ' J3 B; ]! {& A- ?/ ]/ }
  989. ;pcre.backtrack_limit=100000" L' q3 f5 B/ [

  990. : i, t- l) V! T9 S
  991. ;PCRE library recursion limit.
    * E* h* ^, z4 s) ^2 G5 _" \& i) S
  992. ;Please note that if you set this value to a high number you may consume all
    % I, M! D; L" v0 A, w
  993. ;the available process stack and eventually crash PHP (due to reaching the
    $ z6 x. ~( T' D6 M
  994. ;stack size limit imposed by the Operating System).
    ! x+ h3 c* c7 l8 `" s$ G* u! \  I
  995. ; http://php.net/pcre.recursion-limit
    / m5 D0 S4 n% v% j; ~
  996. ;pcre.recursion_limit=100000" D0 A2 \( P' Y: d- |+ I
  997. 1 c" J9 j% D* r0 S! t8 X
  998. [Pdo]
    4 g' p& [* ?  ^0 d( z7 T
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"7 {5 g- N/ E8 F# O! c+ x& Y
  1000. ; http://php.net/pdo-odbc.connection-pooling
    2 B9 u- _+ h; d9 m3 B+ W
  1001. ;pdo_odbc.connection_pooling=strict
    & O5 `' R! h& u

  1002. 7 a9 H1 }9 n9 G0 X" ^
  1003. ;pdo_odbc.db2_instance_name
    $ d! h$ g0 |2 L8 O$ a6 g

  1004. 4 y, K/ S8 A% Y6 @# ~
  1005. [Pdo_mysql]
    ) C2 P. R' p- q" E8 g/ {) Q
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 B+ y; e3 p: o4 c: y2 ]' {- q# b- h  I  Z
  1007. ; http://php.net/pdo_mysql.cache_size
    $ W% X9 o) h" b2 ^5 Y
  1008. pdo_mysql.cache_size = 2000
    0 [8 G) t0 W2 |6 @, @) }

  1009. 3 l( v2 Q' j% T/ p( J  x9 F% i
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 S4 a- u0 \$ p
  1011. ; MySQL defaults.1 A) O# E7 e# U. J. ~4 j7 f6 T
  1012. ; http://php.net/pdo_mysql.default-socket
    ) }8 {2 L: f6 I4 J) d' g
  1013. pdo_mysql.default_socket=
    4 e' H, o: X9 d7 Q/ @8 w+ t) G3 y

  1014. 8 K& A; i( U) X% A6 b
  1015. [Phar]
    ( {/ b, V7 }( A/ ?: i. c
  1016. ; http://php.net/phar.readonly
    ( J: X- H) U# e3 p& F
  1017. ;phar.readonly = On* W5 a: J$ t6 m* j. ?$ ?
  1018. 0 D& P, h( Y# O5 ~
  1019. ; http://php.net/phar.require-hash
    * A  o+ B$ e+ }% y, U0 Z: q
  1020. ;phar.require_hash = On
    ( E3 v9 o* D! Q

  1021. : k; U4 S" r2 ]9 ]5 u8 G5 P
  1022. ;phar.cache_list =
    6 G* t" Z5 w: t0 b, }/ f! L

  1023. 6 t  s2 X6 c5 |
  1024. [mail function]
    * C5 G, R  |5 O! O% e
  1025. ; For Win32 only.# j8 s' _2 s1 ]7 Z3 }; }
  1026. ; http://php.net/smtp9 {* h5 F  c) s5 L# G4 ?) c8 V
  1027. SMTP = localhost: V; z2 S- H8 e' {- n
  1028. ; http://php.net/smtp-port
    & B8 x' G  e' c0 `" o# K
  1029. smtp_port = 25
    ) d. \0 L! S& |6 y3 o( [- B
  1030. + _' G5 Y) K5 Y5 q
  1031. ; For Win32 only.1 W) D! ^2 q, [4 p, F* _. c
  1032. ; http://php.net/sendmail-from* A& p2 B  u2 [0 X2 Y3 y1 C& N
  1033. ;sendmail_from = me@example.com
    + o, R! _! b' }4 O( n

  1034. 2 @7 Q9 u+ ^$ z# {: X
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    1 F1 I9 v: {2 ~7 g* B' q) E0 o
  1036. ; http://php.net/sendmail-path
    ! Y/ Q& |2 L9 r" O5 j4 K
  1037. sendmail_path = /usr/sbin/sendmail -t -i, b- g2 y4 A/ j) F  C

  1038. ) q) \5 \8 ~3 k5 u- ]) Z- g$ K
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    " x4 Q6 w. C/ |. F; t  h. C
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ! Z. @& |- ^3 F
  1041. ; the 5th parameter to mail().
    : l" F) v) H% P0 w  E9 `! e& q
  1042. ;mail.force_extra_parameters =0 Y% n: x; h2 V7 h  f% X
  1043. 9 ]( C. H; X4 K
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    2 d; {$ K* O* @0 P, A
  1045. mail.add_x_header = On% y) w6 z+ H% O1 R9 K2 }+ v

  1046. 9 q* p% E9 y/ I) \" D
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    " {; i4 B4 f1 i1 U- v$ s# f3 H
  1048. ; the full path of the script, line number, To address and headers.  T% [2 l# d1 Q9 O8 _
  1049. ;mail.log =7 p0 P; ^& q' V0 E' p4 i
  1050. ; Log mail to syslog (Event Log on Windows).
    % Y5 S0 w+ Q6 j# c- |& g# Z# {
  1051. ;mail.log = syslog- n4 b- Z6 E# [( n0 t, Z5 r

  1052.   N) r8 u' F+ H5 ^3 f
  1053. [SQL]+ O$ V9 U( t4 N
  1054. ; http://php.net/sql.safe-mode( {5 ^3 H# D# }$ O: J
  1055. sql.safe_mode = Off6 D6 u$ o% a6 V! l; ~. X
  1056. & Z9 U& B4 L7 s7 i: z4 [5 t
  1057. [ODBC]
    6 u( T- X) w) f6 T# y' m0 n
  1058. ; http://php.net/odbc.default-db
    3 S& P) W- Y1 d7 W! y6 A7 b
  1059. ;odbc.default_db    =  Not yet implemented9 C$ K0 g, ]+ \1 n- s" d# I/ i
  1060. + K3 ?" ?& l# T
  1061. ; http://php.net/odbc.default-user
    / a0 S5 }" o% q1 I. Q. B# [
  1062. ;odbc.default_user  =  Not yet implemented" b' m: T3 a2 m3 h: y
  1063. : L6 D- O' q/ u" t, o
  1064. ; http://php.net/odbc.default-pw' l& T/ i6 k+ W! b' F+ N
  1065. ;odbc.default_pw    =  Not yet implemented' E( {( t% F; |% }/ a

  1066. 0 B: ?( ^" h# s5 t+ M) \/ g1 i8 ~
  1067. ; Controls the ODBC cursor model.$ y2 r! v" b# t' U
  1068. ; Default: SQL_CURSOR_STATIC (default).* l# F7 K2 V* j1 B4 b  v+ a8 M0 e
  1069. ;odbc.default_cursortype, E- V- D$ C; t  u8 N. \" `

  1070. 6 }, R6 b) X' ~& x
  1071. ; Allow or prevent persistent links.: d" i( v# |- C8 n1 Z7 h4 m% Z9 j
  1072. ; http://php.net/odbc.allow-persistent
    ; |6 r- k7 P7 Z% K
  1073. odbc.allow_persistent = On; [8 f2 M% W8 k+ b& l- D

  1074. : s0 J4 b$ D9 L* P
  1075. ; Check that a connection is still valid before reuse.
    ! U( ?* o- F! a- ]& g3 _' L% D
  1076. ; http://php.net/odbc.check-persistent
    & e3 x* I1 d' b  o1 {- x' d
  1077. odbc.check_persistent = On
    ( j4 `# ]) i5 Q1 p

  1078. 9 I: a4 X; j) w4 Z0 `
  1079. ; Maximum number of persistent links.  -1 means no limit.
    0 v' F0 |2 M9 v* h: ^8 {/ @
  1080. ; http://php.net/odbc.max-persistent* t* c2 a' R* f! v; t
  1081. odbc.max_persistent = -1
    + A- ]: P% }+ Q& k& U  ~3 B
  1082. 7 P0 X  i0 k0 \8 A
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # Z/ H; k, x, `0 ]
  1084. ; http://php.net/odbc.max-links! F; Q6 G! v7 F7 D; `6 G
  1085. odbc.max_links = -1
    . B4 ]6 T; W3 l8 S* @

  1086. " N  U5 V! E' S' U8 n4 c
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: b% O" r, D3 a* _: o1 x
  1088. ; passthru.
    * p1 C* l+ n. g+ s. T, r
  1089. ; http://php.net/odbc.defaultlrl
    ) `/ ?" N5 |! [' u5 c# z, C1 q8 p
  1090. odbc.defaultlrl = 4096" u* Z1 l+ Z5 a  n
  1091. 7 w( V% ^  D+ s9 B
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    $ X$ j9 u! U7 R
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  T' y+ o! m; E, g
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode; Q/ |6 c( P8 m& z4 c# z
  1095. ; http://php.net/odbc.defaultbinmode
    1 ^7 w0 |9 S% g* T+ ~6 g3 q
  1096. odbc.defaultbinmode = 1
    % ^: n6 T% O6 z# Z2 s! M) c  D7 z
  1097. ) d" p+ c0 Y3 \" y: ?" O" V$ `
  1098. ;birdstep.max_links = -1+ f* ^1 N6 K& P* V* H

  1099. # W* a( i2 b/ r
  1100. [Interbase]9 Y- S8 [( W5 K
  1101. ; Allow or prevent persistent links." A* H* P6 r- \/ P& u6 F
  1102. ibase.allow_persistent = 1
    ' S% s' K1 Z- k: h7 i5 _
  1103. 4 E4 |' w& `7 P' }" m" O/ @" h7 l
  1104. ; Maximum number of persistent links.  -1 means no limit.0 V' A+ I4 X7 ]# I  Z
  1105. ibase.max_persistent = -1( S3 \& N* t. U' g6 @" _% p

  1106. : u5 X* w5 u" |9 R
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 F8 _* r: O  j: J, v2 B
  1108. ibase.max_links = -18 K, N4 H" s" U0 a$ M7 o: I

  1109. 6 L. e& ]/ j4 a$ L* l# d# y0 q3 `
  1110. ; Default database name for ibase_connect().
    8 k  q; n* C6 r( Y6 O
  1111. ;ibase.default_db =
    0 _' B( s  g2 A- w6 O0 W
  1112. 5 A1 R4 f0 T% Z. u
  1113. ; Default username for ibase_connect().& ]/ \* ^' t& S! B1 \" p
  1114. ;ibase.default_user =6 G. q; ^9 h1 O
  1115. 1 w& Z0 Z% t$ A" p2 t0 {* s; o
  1116. ; Default password for ibase_connect().2 ]  g0 j( G% c5 G3 H
  1117. ;ibase.default_password =( l# E" a, t6 g
  1118. , V4 Y7 b9 t8 n8 A
  1119. ; Default charset for ibase_connect().
      W* y! B- k$ O/ V2 D  M( s
  1120. ;ibase.default_charset =
    6 G2 u; L. J; ^+ q$ e6 [$ E
  1121. ; K1 T9 C9 n4 j- D# a
  1122. ; Default timestamp format.0 s3 A# t0 e- f3 ?1 [; p- q% }) ~
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    0 F/ G2 H; ]/ z3 R# Z

  1124. 1 k) D% @: }6 ^3 ?( _* r% J
  1125. ; Default date format.
    . V$ K! P4 ]( o' z: M5 \) y
  1126. ibase.dateformat = "%Y-%m-%d"/ c; s& X; C) l9 ?" f
  1127. 5 U! w! O) ?4 c
  1128. ; Default time format.
    0 S5 S7 j5 [+ H& B0 h+ j
  1129. ibase.timeformat = "%H:%M:%S"
    9 k* i+ Q; F, U% _! l6 F( s

  1130. ! N9 q, p' |0 O1 ]8 i- r$ I
  1131. [MySQL]
    9 K+ F$ w0 o5 @$ F. Y# c: r
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* E/ V) R0 r( y- p# g
  1133. ; http://php.net/mysql.allow_local_infile
    . C* e( Q1 I- @* L+ }6 W
  1134. mysql.allow_local_infile = On' t9 T7 S3 m# y+ M. w7 a5 K9 O  p
  1135. " d; a% a2 W1 M7 [: y+ F
  1136. ; Allow or prevent persistent links.
    6 y, a* F& s$ M
  1137. ; http://php.net/mysql.allow-persistent9 e' Y9 Q) V" P# T
  1138. mysql.allow_persistent = On9 w) l& [1 d+ a7 u
  1139. # F: t, h  w1 a2 z' A
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache) c9 _6 q) W$ S$ f/ j/ c, b% f
  1141. ; http://php.net/mysql.cache_size0 c6 q" e& H, d" L" t
  1142. mysql.cache_size = 20007 {$ H" v$ e$ M; h" H  e" a
  1143. & f: q7 a+ J2 V  I: f+ Z, u! V% E! J0 T
  1144. ; Maximum number of persistent links.  -1 means no limit.
    . T# F8 S3 Y8 X
  1145. ; http://php.net/mysql.max-persistent5 O1 j) d* ]5 L. d
  1146. mysql.max_persistent = -1- g) m6 S1 C3 e7 {/ X, {5 `2 {; g
  1147. 8 M; Q# i- Y& i
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 \0 K* ~6 @4 M1 u/ l- X3 t% j
  1149. ; http://php.net/mysql.max-links! k7 W( p0 B' q/ O
  1150. mysql.max_links = -1
    0 N# f7 O, i5 t: Y
  1151. 7 s# x, ~4 F* I2 t+ D* x6 g
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use/ w/ r6 t( i3 Q, A) k5 T
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ h1 ?" F$ S/ E& J4 C/ l0 s
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& w0 s* t1 _- x7 l( d
  1155. ; at MYSQL_PORT.
    3 L- D# H$ B2 d. D6 @6 }" d7 u
  1156. ; http://php.net/mysql.default-port
    & O% `( w: S/ i0 z+ q
  1157. mysql.default_port =
    ' E5 [% Z2 L0 b3 v* w; Q+ O
  1158. % n  T* K% b$ s  O6 c! U
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * t* Q! l: K3 x' k0 G% D+ @6 N* T
  1160. ; MySQL defaults.
    * K# r3 R6 w: m1 s
  1161. ; http://php.net/mysql.default-socket
    - C) F! d* z% W5 Q5 s4 X1 P
  1162. mysql.default_socket =
    8 C, `5 V) I0 }. s8 i% }6 O
  1163. + ?* L4 _- I, J  |3 C/ t- W( E
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).* h! ]+ s) s3 p9 A+ ?- e4 ]
  1165. ; http://php.net/mysql.default-host
    + O6 B8 |5 c2 W  [
  1166. mysql.default_host =
    1 \$ C+ d) \( Z: X* M
  1167. $ d# R; I3 I% O
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ( s3 C7 t9 _0 g' _* Z7 q) L
  1169. ; http://php.net/mysql.default-user5 j& w; W8 a1 c1 x# u# {- @) o
  1170. mysql.default_user =
    * L  t$ y6 a% {9 o
  1171. 7 X0 _/ \/ Y, x+ `4 p
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    / Z) @5 N4 o! K( [
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 n2 m: x6 F" l9 O; {( i! b
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")  \9 R0 O3 u8 k8 z8 C
  1175. ; and reveal this password!  And of course, any users with read access to this+ k& B, k! O$ v8 ^3 e7 i% h0 n
  1176. ; file will be able to reveal the password as well.0 n! s6 M9 h; [4 s+ F
  1177. ; http://php.net/mysql.default-password
    * D, [8 y- t9 p) \, b2 K0 N
  1178. mysql.default_password =
    ( d* g5 l2 |; B6 @5 r' l! p
  1179. ; n" i& G8 g* X2 L, O- h
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ; Y: J( K0 A3 J4 D7 y; h. a
  1181. ; http://php.net/mysql.connect-timeout
    % C$ {' B- v! e- F: D
  1182. mysql.connect_timeout = 60% f, U" [% h, f
  1183. 1 }5 B) U- D! q* ~! ^+ b
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ! |# O+ C, \5 \$ s% n. c1 e
  1185. ; SQL-Errors will be displayed.' w4 c0 G, ]$ y* c  [1 P: y
  1186. ; http://php.net/mysql.trace-mode
    / Z9 k. k' Q5 j; }
  1187. mysql.trace_mode = Off
    3 M/ Y8 k! e. t
  1188. & Z* f! Q# a% I% L
  1189. [MySQLi]
    ; f9 \( u6 x9 L& T  h8 k, T
  1190. 1 k' m- f0 n9 I$ k! ]7 v
  1191. ; Maximum number of persistent links.  -1 means no limit.3 A8 E" F- B5 z+ `
  1192. ; http://php.net/mysqli.max-persistent
    , {- g$ P3 a7 V4 F
  1193. mysqli.max_persistent = -1
    ( W9 l; D3 Y( Y) n8 s

  1194. # _  p/ z5 a9 O4 b* z
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - \, a4 u/ B) `4 t' F0 J6 A8 f
  1196. ; http://php.net/mysqli.allow_local_infile/ |/ Y5 A% l& }# b0 ?6 z% ]
  1197. ;mysqli.allow_local_infile = On. ^" K  W( d/ z
  1198. 0 @1 ^& H4 `; E. E8 q% r2 ?5 ~
  1199. ; Allow or prevent persistent links.! }* I3 [3 F1 D( J. `% K
  1200. ; http://php.net/mysqli.allow-persistent
    + T' b$ G$ T6 i4 R
  1201. mysqli.allow_persistent = On
    - t/ V, R# e! R) N1 T# ^! S. W/ u

  1202. # Q3 Z7 U& m" A+ ?" }" a7 J
  1203. ; Maximum number of links.  -1 means no limit.' z+ j# b4 G' g* b, \3 X, B
  1204. ; http://php.net/mysqli.max-links
    , V  P4 C9 X! V9 ]3 w3 _0 u6 `) w
  1205. mysqli.max_links = -14 t7 E% Q( D3 v7 ^1 q& M" E- j0 L& m+ ^

  1206. 3 i. R9 Y8 B1 S7 u
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache  D) l" k: V9 h( l- @
  1208. ; http://php.net/mysqli.cache_size5 Y* j- B. a, M8 K9 O) y3 l
  1209. mysqli.cache_size = 20009 G, G& A# @7 v7 r+ M

  1210. - ?- ?: W0 Y! e7 D/ I
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use, z  {' n+ }5 E2 g; e, {/ G
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ F; a! \& {# H0 P/ b# z5 e! `7 \: v: ]
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      h7 F9 y2 U. s6 d+ f& h
  1214. ; at MYSQL_PORT.' O( x7 \: W2 t) G. a8 n( T
  1215. ; http://php.net/mysqli.default-port
    ( j3 f) G6 z1 I. t% }; q- x( \
  1216. mysqli.default_port = 33064 M% f* i7 D+ v" B- z1 l

  1217. , V9 p3 G  t9 F0 v( G6 V" g
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in' T( f* O) q9 Q8 i4 f
  1219. ; MySQL defaults.' y2 F8 l6 j8 S4 {
  1220. ; http://php.net/mysqli.default-socket$ B4 S4 ]. v# P  g
  1221. mysqli.default_socket =
    6 u/ h$ z9 a7 Q

  1222. 1 k" C" p- i; E& T9 ]6 T+ x: G6 [
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( F6 J, u6 V, p' s; D) v
  1224. ; http://php.net/mysqli.default-host
    $ P& h9 Y  \2 N4 }
  1225. mysqli.default_host =( q8 _- y7 C/ Y) T1 a4 `
  1226. + \% a& F1 A8 I- {' q0 B+ }, s7 m
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # U' {# D& L; z  q9 d* @- Z: O
  1228. ; http://php.net/mysqli.default-user7 m5 o+ @, f- B& W
  1229. mysqli.default_user =, X% y! C' E. h1 Y5 P' X9 e# j$ R

  1230.   j& |9 j  ^% x
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 [; K1 C# \$ B6 ?) j
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.7 P/ @7 H6 x: C6 O$ [  X6 c3 b
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")5 P9 Z, N' f# D4 X1 u- i
  1234. ; and reveal this password!  And of course, any users with read access to this
    " P9 z5 T+ Y7 T$ q7 E0 M) I& p
  1235. ; file will be able to reveal the password as well.$ F, G( K7 e1 N$ s  }2 f' i
  1236. ; http://php.net/mysqli.default-pw) ]/ g1 W( T1 {/ x% q1 P5 V0 g- r* p
  1237. mysqli.default_pw =
    * A2 H. n2 T+ U* P1 h
  1238. # L& Y2 A$ W1 A# T7 S& S
  1239. ; Allow or prevent reconnect
    ! |2 A% m8 L  `: ]: @6 X' I
  1240. mysqli.reconnect = Off. m% d9 k4 I; \$ c
  1241. 4 S/ O+ T' @. \4 Q
  1242. [mysqlnd]
    5 z. j' @2 `" U# h, F' \7 a
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be, ?8 _4 [7 M9 O" \2 R: A
  1244. ; used to tune and monitor MySQL operations.% y: G* X3 _6 n/ h* o
  1245. ; http://php.net/mysqlnd.collect_statistics
    * L4 K( L4 d0 k* j  H
  1246. mysqlnd.collect_statistics = On
    4 J; D$ S! }. [2 W4 p( z9 v+ u: X
  1247. 8 f/ _% f1 t, Q. J* ~
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be" p) c  H2 c5 T, y) ?$ ~9 n
  1249. ; used to tune and monitor MySQL operations.
    " e9 `8 b' c' |- j4 W
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    2 E" F) F; q/ @- h" @7 y$ n0 h9 H
  1251. mysqlnd.collect_memory_statistics = Off2 p) K( }  Y2 I; z7 o

  1252. + P8 e/ J- \/ ^% H
  1253. ; Records communication from all extensions using mysqlnd to the specified log; C6 g4 d+ s" J
  1254. ; file.! V) B7 A5 S. C. ?# C/ ^3 t4 {9 V
  1255. ; http://php.net/mysqlnd.debug7 l8 N4 y4 Z  y
  1256. ;mysqlnd.debug =3 q. V9 f  c1 }3 [
  1257. 8 Y# d9 h) l% L; S
  1258. ; Defines which queries will be logged.
    & W( {. k  r* K7 P0 ?) p
  1259. ; http://php.net/mysqlnd.log_mask
    " f& j2 Y8 s3 P
  1260. ;mysqlnd.log_mask = 0+ _' X/ l/ T5 d2 z
  1261. 1 z  R/ a+ _) f% g+ R2 g
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * `4 f; d4 ^9 t7 U! l6 v9 b
  1263. ; http://php.net/mysqlnd.mempool_default_size4 ]' b6 `' h- s) [
  1264. ;mysqlnd.mempool_default_size = 16000
    + i* y+ E. g4 Y' m( n5 S
  1265. & M9 a% |8 c  B* L
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& \$ x6 A( L5 x
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    + ~5 f8 J: B. i% d# M8 Y
  1268. ;mysqlnd.net_cmd_buffer_size = 2048! @. y9 y# i1 W1 V
  1269. 1 C# i+ d; ?* v3 Y( R0 m7 e
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in& A% v+ o" _6 n
  1271. ; bytes.
    7 R, p) P" o+ o5 z/ b2 ]
  1272. ; http://php.net/mysqlnd.net_read_buffer_size* h+ g) F. D2 C7 g) x# p7 i+ U
  1273. ;mysqlnd.net_read_buffer_size = 32768
      o  s! a' k1 y4 L# z  t' z* J2 N
  1274. $ L! w3 N5 m) ^) o) G& l9 p
  1275. ; Timeout for network requests in seconds.3 H  ?0 O6 u2 h3 ?: {% I& H! N- \/ A
  1276. ; http://php.net/mysqlnd.net_read_timeout
    4 l* S9 g" ]3 _1 U% `
  1277. ;mysqlnd.net_read_timeout = 31536000
    6 }8 J, D  a$ S( }$ X6 J) Q

  1278. ) z$ O3 ^5 ]& W. ]$ v2 d( j
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA% T$ G! |2 j1 l0 L- p2 w% f
  1280. ; key.; R+ D" ~; [2 R5 u
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    / F; J7 e4 [4 a& u5 q
  1282. ;mysqlnd.sha256_server_public_key =
    1 ?$ m5 v, I8 S% b& U
  1283. % ?+ {% q6 h+ t! ?( C
  1284. [OCI8]
    5 R- X9 u( R4 h2 E: X' e

  1285. 9 C2 b* M+ a+ I3 N
  1286. ; Connection: Enables privileged connections using external
    / T+ d" f* i; G+ s; T
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    # O* v0 J8 j* h
  1288. ; http://php.net/oci8.privileged-connect
    2 f: u2 `  h! u6 r6 F
  1289. ;oci8.privileged_connect = Off, t% d* L" c5 X/ z

  1290. * p7 a1 m0 b. B9 w  ?
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    $ P1 J8 J& q( ?
  1292. ; process. Using -1 means no limit., ?7 r4 u/ I) m) i/ P7 J) V8 n
  1293. ; http://php.net/oci8.max-persistent
    4 n4 F" l3 ]1 y5 l- g8 h
  1294. ;oci8.max_persistent = -1
    # t0 h7 z. l  ?" Q8 O2 G

  1295. ' e- _/ V, V. w- h
  1296. ; Connection: The maximum number of seconds a process is allowed to; }0 `( p% u! m1 X5 i
  1297. ; maintain an idle persistent connection. Using -1 means idle
    / n: A# u& i1 x8 b* b
  1298. ; persistent connections will be maintained forever.% y. A0 E# o2 s6 N: v4 E& ?2 L: x
  1299. ; http://php.net/oci8.persistent-timeout
    8 O% S1 [; w( T0 q) w& a- `
  1300. ;oci8.persistent_timeout = -1& T4 Z; W$ Z6 V) {

  1301. 5 z" [# w% G( z6 L( E
  1302. ; Connection: The number of seconds that must pass before issuing a
    % Y) G6 u, y1 X0 o# X
  1303. ; ping during oci_pconnect() to check the connection validity. When
    6 t% q7 v% A: C! }1 C' q  b
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) @% j! z' i0 @2 S
  1305. ; pings completely.
    , B3 W' |4 \& O* \6 x1 p; ]+ t
  1306. ; http://php.net/oci8.ping-interval4 _1 b# p  O( h; u7 s- P7 ]& x& C
  1307. ;oci8.ping_interval = 60
    ; T" j" k& F' x
  1308. 9 Z8 _5 _/ X' U: I6 J/ T
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 {$ {' t8 E5 ^# s2 y" j7 }
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    . x# T! Y* o0 b: O5 ]% b# G
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 L& z( [' N( ]+ i8 s
  1312. ; the same string for all web servers running the same application,
    $ [- a2 ^" H7 r- X% {. k3 U/ |
  1313. ; the database pool must be configured, and the connection string must
      p8 a! L" T5 _# n/ W( f) H
  1314. ; specify to use a pooled server.
      E: e) v9 l2 e
  1315. ;oci8.connection_class =6 ^& k8 ~1 [$ |

  1316.   K9 D- q8 _5 a' b0 [0 h% N9 |* u
  1317. ; High Availability: Using On lets PHP receive Fast Application0 y0 M6 |8 ?4 m9 t9 v7 b+ t) c5 M
  1318. ; Notification (FAN) events generated when a database node fails. The% U6 _* T1 s, W) A
  1319. ; database must also be configured to post FAN events.1 y  z* |+ m4 t: D
  1320. ;oci8.events = Off
    / u% V/ \% I8 f9 |- @( z* X
  1321. & b2 h9 M+ L8 D7 e) i+ V& M
  1322. ; Tuning: This option enables statement caching, and specifies how' T+ H; f8 ?4 H
  1323. ; many statements to cache. Using 0 disables statement caching.
      J9 V$ F; N* v
  1324. ; http://php.net/oci8.statement-cache-size5 `8 w& e- \& V- I% j* Q) a  M
  1325. ;oci8.statement_cache_size = 20
    ) z2 B( G! p/ M" }
  1326. 3 Y6 Z# r3 x% S+ o5 E* T& |
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    9 z& f5 @6 [0 D3 g& U- C7 j
  1328. ; rows that will be fetched automatically after statement execution.; H$ B2 @0 Z8 K7 A1 w: |! m
  1329. ; http://php.net/oci8.default-prefetch: B+ Y0 y* ^, ?
  1330. ;oci8.default_prefetch = 100
    8 P5 B4 i+ k( `/ V4 L

  1331. 5 ?* y0 x, a* Q' w1 l+ Y- f- T6 o
  1332. ; Compatibility. Using On means oci_close() will not close
    ) ?& X# \$ T" [9 k. w1 ]
  1333. ; oci_connect() and oci_new_connect() connections.
    2 B3 z9 R6 B0 Q9 P8 `  g  ?) K2 d
  1334. ; http://php.net/oci8.old-oci-close-semantics6 V$ p; W8 ], |, G2 J  z5 I0 ^
  1335. ;oci8.old_oci_close_semantics = Off2 D3 _3 Y5 ]; U1 i4 Z9 N1 Y( B$ N: T2 {

  1336. ; W. x7 k2 C  S" T3 P
  1337. [PostgreSQL]& s4 W. |% `* L; N' b
  1338. ; Allow or prevent persistent links.. m6 v% O: p, g- R0 Q% I0 Z) s8 m
  1339. ; http://php.net/pgsql.allow-persistent6 ?1 m: r: L1 _' U; ^6 |
  1340. pgsql.allow_persistent = On
    ; {6 Z& C$ G; d0 f( f

  1341. . N5 K) Z7 c5 G( F; w& L
  1342. ; Detect broken persistent links always with pg_pconnect().
    : q  H- Z$ O% ~# N! _/ S  r5 b
  1343. ; Auto reset feature requires a little overheads.
    ! A3 T2 Q: W+ x% O9 b2 _
  1344. ; http://php.net/pgsql.auto-reset-persistent! X$ p( n% c% _) x+ n8 E- h
  1345. pgsql.auto_reset_persistent = Off
    : n3 s9 t# X3 Y9 U* d8 d# C+ F+ [4 X

  1346. * W% t" Q2 d) A# @" l5 g7 b
  1347. ; Maximum number of persistent links.  -1 means no limit." J& s3 f3 N! U4 V1 Z! v$ @
  1348. ; http://php.net/pgsql.max-persistent7 M7 ?1 j1 n6 _( a& N4 h  B
  1349. pgsql.max_persistent = -1; h! j% T8 H& @6 _4 U" k
  1350. ; e$ p3 P3 D2 k7 u
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- L9 c) \, f. Z0 D" \$ D3 w7 i
  1352. ; http://php.net/pgsql.max-links
    9 ?& C8 [8 k7 e, \' g5 y. @, [
  1353. pgsql.max_links = -1' j) x* B  ]% A! C6 c9 m

  1354. 5 F+ A3 r/ {# J0 O1 Z
  1355. ; Ignore PostgreSQL backends Notice message or not." T" K5 I! x' M" q8 r. e
  1356. ; Notice message logging require a little overheads.
    * ?% D3 Q$ k: a# o; p( S8 r. X
  1357. ; http://php.net/pgsql.ignore-notice$ a  \' I8 q# q* P3 r; f1 X
  1358. pgsql.ignore_notice = 0
    $ n$ {* }5 t5 U; g. ?4 l0 q
  1359. ( s( x6 G  R, J* |8 x) U0 K5 t3 A% \
  1360. ; Log PostgreSQL backends Notice message or not.  _1 Z$ p( @3 \" a. ?  s
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    4 d% J& H  ^% u- c+ E
  1362. ; http://php.net/pgsql.log-notice
    ) P6 i1 o' l) E1 @9 b9 x
  1363. pgsql.log_notice = 0" q; c+ A# s& w) C
  1364. 5 Z5 n' S# L1 P7 E# N9 X' |
  1365. [Sybase-CT]) b3 Y  k1 {- z( e2 L" j) }: c5 f
  1366. ; Allow or prevent persistent links.
    4 a6 i  ~7 g* q4 ~- L" c
  1367. ; http://php.net/sybct.allow-persistent7 V6 ~% c3 F  L3 z
  1368. sybct.allow_persistent = On, q' D! k! P; A$ Y. d/ ]

  1369. ; Z7 |% N- l. I# g0 w0 a
  1370. ; Maximum number of persistent links.  -1 means no limit.1 p2 a, m5 x  \
  1371. ; http://php.net/sybct.max-persistent1 o% {9 K5 V2 Q1 k! j9 s1 J% Y
  1372. sybct.max_persistent = -19 n( y3 S. E2 `! l6 k1 A  m

  1373. ' n+ F' E9 |& `! c9 |# w9 k
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 O- v* p" D9 D7 e) e0 R
  1375. ; http://php.net/sybct.max-links+ T4 t/ Z9 P- _( T5 g
  1376. sybct.max_links = -1
    2 h* _. v. o& Q0 O/ E. L$ h$ `5 f

  1377. + C; ]9 w* o# v
  1378. ; Minimum server message severity to display., i/ A5 W) u+ [* \5 N4 |4 \2 Q
  1379. ; http://php.net/sybct.min-server-severity6 f: N3 d' O. p2 q7 k, {* O# z
  1380. sybct.min_server_severity = 10( g0 C# ^! y0 ?8 u+ C: J9 K* m. q
  1381. + \/ z1 d3 _, x' R( B# w7 e/ z
  1382. ; Minimum client message severity to display.) y; S- c7 D( e. p. k5 U" O. e
  1383. ; http://php.net/sybct.min-client-severity
    $ ?: [. Z- @! W8 B9 K
  1384. sybct.min_client_severity = 10
    + R) A' M2 J) g. ]( Q4 q# O& u* n

  1385. 9 T7 C! e$ ?& }7 \9 N; m% `
  1386. ; Set per-context timeout
    0 m  }: `, I0 ~
  1387. ; http://php.net/sybct.timeout! D7 N& [6 H" J. I/ m
  1388. ;sybct.timeout=8 Z0 _. L# \+ S; k

  1389. 0 H. Y5 p1 d: ^4 e% f# t+ @
  1390. ;sybct.packet_size" M- u5 A: m! w+ w4 P; o% A

  1391. - o  V7 u) ^7 Q2 J( b& D
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    . ]( _4 }4 A  ~! p1 ^
  1393. ; Default: one minute
    , d# Z  w9 H/ g
  1394. ;sybct.login_timeout=( S( z1 F' P2 ?& }
  1395. . ]6 `$ N- y( V- k0 ~2 X  I
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.$ E0 D3 o( q3 v9 W
  1397. ; Default: none
    1 M8 i, }3 U+ q4 h( e
  1398. ;sybct.hostname=/ ?8 j4 }* G# G" [2 K1 r, Q; N5 ^

  1399. ( j) s+ r. c% Q! p% Z- x
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ( z" x6 R7 C* _9 q3 y! m" O4 s
  1401. ; Default: 0
    4 _  C* J4 f' ~- P' R* |
  1402. ;sybct.deadlock_retry_count=5 ~+ O% O3 T, Z( x! a

  1403. 7 t. R* p& L: V4 K; O7 _
  1404. [bcmath]8 L# y, j% z' {( z% R" g; A4 \
  1405. ; Number of decimal digits for all bcmath functions.
    6 a7 R) w0 ]" e3 P
  1406. ; http://php.net/bcmath.scale. h, E( Y# ~( C: I5 o
  1407. bcmath.scale = 07 g$ U. U2 K- ]9 ~; e

  1408. 0 x& v5 V$ k4 P) L. E( |
  1409. [browscap]
    . x4 A4 x2 k: K- z, @. r( d3 e
  1410. ; http://php.net/browscap* a$ n" x0 b. E  j' H
  1411. ;browscap = extra/browscap.ini
    ( x' o% N) C. e& h
  1412. 8 [: a: o" c5 ]& C! i2 m0 P
  1413. [Session]
    / O# _7 D3 r1 M, u4 N- U2 Q8 s8 _+ N
  1414. ; Handler used to store/retrieve data.
    + w( I# v% {# k) C
  1415. ; http://php.net/session.save-handler+ A1 U$ H8 ?$ z
  1416. session.save_handler = files8 X4 n6 u+ ^. o/ Y3 o! c

  1417. + n% F1 T' w* G* k: Z  p- h! n1 `
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    " W8 q' B' x. P# m; I. `6 M
  1419. ; where data files are stored. Note: Windows users have to change this
    ' [' L' t# T  D% _7 G
  1420. ; variable in order to use PHP's session functions./ X. f) s; g1 L, m8 c6 @0 M. C- R
  1421. ;
    $ Y5 L; p* A* S& @& a8 ^
  1422. ; The path can be defined as:, ]. N8 J7 E; n: b* g$ F, l; L
  1423. ;* l* x1 {0 I2 o9 N
  1424. ;     session.save_path = "N;/path"" `& P, V: Q4 V( u  _, B  I
  1425. ;$ n& n. `7 |  v
  1426. ; where N is an integer.  Instead of storing all the session files in
    % [/ t7 z0 F9 A
  1427. ; /path, what this will do is use subdirectories N-levels deep, and+ ~. C8 ~" f# h
  1428. ; store the session data in those directories.  This is useful if
    7 P! o6 X! u" q3 J& U; }; I
  1429. ; your OS has problems with many files in one directory, and is
    - H7 K  A) l! m" |5 {4 B! v
  1430. ; a more efficient layout for servers that handle many sessions.* q- p- j* e( _- S* ^: W! T
  1431. ;- `1 E. x, F- G5 I
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    - b) l# z, k# C$ N* Z3 Z
  1433. ;         You can use the script in the ext/session dir for that purpose.
    # I" c' H8 d# J7 D3 W) {+ r% }8 e8 ~
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    , a" u. T& x" B
  1435. ;         use subdirectories for session storage% a5 `3 i3 z8 j' C& X, L+ D
  1436. ;% [) ?0 }9 U5 r) n/ m" w. E
  1437. ; The file storage module creates files using mode 600 by default.
    ( r% ?1 {" I7 R0 f' k
  1438. ; You can change that by using/ R4 [3 S( R( N6 {& B
  1439. ;9 E* x" u" f; A- p6 e6 j6 _7 ?
  1440. ;     session.save_path = "N;MODE;/path"6 k# B* ^: b& l: H. L
  1441. ;" a! G: J5 B' L
  1442. ; where MODE is the octal representation of the mode. Note that this
    # J0 n8 o# y. V9 ?7 d
  1443. ; does not overwrite the process's umask." j& U. N$ u& ~8 e6 l
  1444. ; http://php.net/session.save-path
    9 B3 x' }& @  Y/ \, x
  1445. ;session.save_path = "/tmp"
      x/ G* e5 A8 t% Q% x+ Q
  1446. : M: Y1 d' @/ u5 |1 A
  1447. ; Whether to use strict session mode.& E7 M3 a! l( M/ v
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate/ S( p0 C8 _! Q6 q" Q7 x5 Q6 h
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects% Q1 g$ o8 `( l& B
  1450. ; applications from session fixation via session adoption vulnerability. It is# {0 M. y8 F; f- m0 U
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ! q- A* {8 n1 F; A* \
  1452. ; https://wiki.php.net/rfc/strict_sessions
    8 w: {2 ^7 C8 l; n" l1 Z
  1453. session.use_strict_mode = 0
    : B$ F  N% q7 e/ b
  1454. ' H! Z/ m; o9 J0 z# Y
  1455. ; Whether to use cookies.! c, L$ _/ k$ p9 ^0 N) W" O
  1456. ; http://php.net/session.use-cookies8 p6 c6 r$ J" K# y0 ?: \7 v
  1457. session.use_cookies = 14 g+ Y% L$ l, B' J1 b; N1 o
  1458. ! P' z8 l% ]/ a' U2 S- S8 P1 |( I- ~
  1459. ; http://php.net/session.cookie-secure7 K) j% Z0 r' h
  1460. ;session.cookie_secure =1 B# n/ Z& f2 d5 ?" |8 g* k
  1461. , _& H. U4 ~: ^4 j. W( ]" v
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining4 J( a! I$ I- r0 d: y
  1463. ; the session id. We encourage this operation as it's very helpful in combating
      T# b0 Y9 c" j; F7 _; ~
  1464. ; session hijacking when not specifying and managing your own session id. It is
    & U! G( D1 Z, q. l
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.2 c2 f  \/ V2 Z' O- ~  X7 n3 b( G7 `
  1466. ; http://php.net/session.use-only-cookies# u* y; ^. D$ ^" k3 ^
  1467. session.use_only_cookies = 1" X1 F$ P1 O# A% w" O+ |

  1468. 8 T$ j. p- Z$ I/ H2 }' q: g0 r
  1469. ; Name of the session (used as cookie name).' I3 Z" c  s+ j8 o% _, Y# `
  1470. ; http://php.net/session.name6 U: Q3 i$ Y/ k5 |# g
  1471. session.name = PHPSESSID) s4 s: {( p+ K! X

  1472. 8 Z" ], [" E# q5 J: V  s1 x! K
  1473. ; Initialize session on request startup.
    ( n8 q" `# U: ~( D8 Z( ^
  1474. ; http://php.net/session.auto-start0 ~, v: B' o4 Y, G
  1475. session.auto_start = 0
    ( _4 r: j5 V- e& `
  1476. $ k, n" p' j3 h" V
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 o  J" B. s! T$ `
  1478. ; http://php.net/session.cookie-lifetime3 i  w0 D5 f  {# d8 c; R
  1479. session.cookie_lifetime = 0
    " v& \; `3 I! z# _( G* u9 c* `) a

  1480. - i8 u" B6 d5 }) }! K# {6 H+ s% S. ]8 D3 {
  1481. ; The path for which the cookie is valid.
    & K3 C% D. q4 b
  1482. ; http://php.net/session.cookie-path4 ]2 J7 ]* G$ U5 v$ e1 G6 W
  1483. session.cookie_path = /
    ) x' T0 ]9 |7 T5 C) @' ?0 b" e  t
  1484. 0 ]8 @4 \& t- Z% U0 [+ U
  1485. ; The domain for which the cookie is valid.8 z% m; Z, D2 [* X
  1486. ; http://php.net/session.cookie-domain" G+ m8 A; e$ X& Q, {% [5 |1 R
  1487. session.cookie_domain =6 j! A6 B, s+ J1 P

  1488. 8 z+ m1 T% I. m3 [2 w" i" \
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ l5 T; Z- [4 D! Q9 O$ ]
  1490. ; http://php.net/session.cookie-httponly$ Z1 g, c' n; p; G$ k
  1491. session.cookie_httponly =% w2 o7 Q8 h6 X5 v! p9 k* _
  1492. - y/ A+ P, F/ ], k7 `( e9 M* l
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    0 N! d; N6 D! n" r  u. K
  1494. ; http://php.net/session.serialize-handler
    1 @: q. o) U9 a0 P/ @
  1495. session.serialize_handler = php
    # N$ n7 D1 m) Y. V- I  H+ c0 Z

  1496. . h$ K0 `/ B; e. a/ P
  1497. ; Defines the probability that the 'garbage collection' process is started
    ! d0 k7 V! v) b0 J7 I9 k' b
  1498. ; on every session initialization. The probability is calculated by using/ w. t. j4 o$ |/ G5 B
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : |9 h. y' z' L. u5 N$ j! M) V
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 13 W& H; a8 `  O- M6 w3 E3 G8 ?+ l
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , J/ D6 K' q8 N  T) e
  1502. ; the gc will run on any give request.
    : M: L, w$ ?6 A  c: L1 }# t5 [
  1503. ; Default Value: 1
    . p) j6 }- N% a& ]3 e
  1504. ; Development Value: 1
    - j& `* R. b3 d9 l! ~: y
  1505. ; Production Value: 1
    $ M* n6 x5 o! j
  1506. ; http://php.net/session.gc-probability
    . d& J' F/ a1 S$ w& V1 e9 g! H
  1507. session.gc_probability = 18 `* L# W. T: w/ f
  1508. 6 g$ G. s$ c% w( M# H2 m6 d; Q
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    5 g4 d3 C) }7 H4 P" T% ^
  1510. ; session initialization. The probability is calculated by using the following equation:
    ! j4 j. I2 a5 e& U3 Y" r& Q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' k; W9 J/ E4 E
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 t8 v: ?' _6 Y! W% v
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 j: o1 v+ J0 J- ~& @5 l
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( M" _; ?/ X& J* ~
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 R& t7 `2 @5 O% ]2 |3 \
  1516. ; this is a more efficient approach.
    2 U8 N- Z% ~& o" s/ E- k
  1517. ; Default Value: 100
    ) W" l9 \: z4 o9 W% i
  1518. ; Development Value: 1000. ~$ E+ }5 a. {( e) h9 A" k  q
  1519. ; Production Value: 1000
    6 N' {( d  [6 [7 x; A2 w
  1520. ; http://php.net/session.gc-divisor
    " W, g6 a+ |) I) T
  1521. session.gc_divisor = 1000( @* L( m$ E0 B( h

  1522. 7 Z; R) s( v0 l/ W9 w
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and  r/ \- n0 v$ N+ y$ y
  1524. ; cleaned up by the garbage collection process.2 k! v/ D; \0 @7 L4 V
  1525. ; http://php.net/session.gc-maxlifetime; A. I4 B7 i# B4 D0 F4 [$ B
  1526. session.gc_maxlifetime = 1440% z; X4 s! J  A6 D* w* Y0 n, J

  1527. 5 m% Q+ C8 e. u3 j- e9 U+ [& {
  1528. ; NOTE: If you are using the subdirectory option for storing session files/ i- J* O: o( ^) c! t& r8 C
  1529. ;       (see session.save_path above), then garbage collection does *not*
    # t5 c6 ^4 S) e
  1530. ;       happen automatically.  You will need to do your own garbage) H  ?4 l% W' X
  1531. ;       collection through a shell script, cron entry, or some other method.
    / j& L) k! a7 @( A$ T
  1532. ;       For example, the following script would is the equivalent of
    5 i# i1 s% j1 |
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):& O" _6 i* U6 G) m" u# K1 y6 z& b
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / q7 j- x" ?2 j  I6 J
  1535. 4 U$ Q' l) h9 R$ s
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.) g0 F# U4 P& z2 H3 j
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    3 j  H" c/ O  u4 a/ \" g8 e1 [
  1538. ; considered as valid.( }1 L3 ?9 S" \8 p) l
  1539. ; http://php.net/session.referer-check
    ' p; _) U$ m$ F0 j
  1540. session.referer_check =
    $ {) H1 L* x! M8 b6 B

  1541. 4 {4 W% M& e; W5 U
  1542. ; How many bytes to read from the file.
    2 Q. P) j% w- r1 T* x) C+ I
  1543. ; http://php.net/session.entropy-length% r1 D; I5 g3 v. U: d( C
  1544. ;session.entropy_length = 322 x& D) _1 q$ h: e2 _

  1545. & B* N" @/ s& S* J8 p$ r
  1546. ; Specified here to create the session id.8 C- y8 F) Q7 ^! L$ ~( H
  1547. ; http://php.net/session.entropy-file% `, H# L( _: ~* v, Y
  1548. ; Defaults to /dev/urandom
    ; I% M( d" B5 [% z3 T6 U5 R
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom. p6 {8 N0 {, i$ v: s- {3 z  v
  1550. ; If neither are found at compile time, the default is no entropy file." [3 _1 B8 Z$ t6 C; `: A, x! |" Z
  1551. ; On windows, setting the entropy_length setting will activate the4 g& @$ q/ D+ P5 X5 k. ]
  1552. ; Windows random source (using the CryptoAPI)" y% X; m: k  Y: S5 P: n' a
  1553. ;session.entropy_file = /dev/urandom
    & [) H  r$ P5 n& u! S/ L- j

  1554. ) E  Y& a' M. }( U! Q
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects% R: P4 ]5 @  Q# B1 b" r) f
  1556. ; or leave this empty to avoid sending anti-caching headers.# g1 T9 J# `) T; C7 @: }
  1557. ; http://php.net/session.cache-limiter/ R; b7 R9 q6 |0 x
  1558. session.cache_limiter = nocache
    ' @* P& c( l+ D

  1559. 3 [7 s7 K# K- ?5 {
  1560. ; Document expires after n minutes." F9 ~1 U" F8 J3 }' ^
  1561. ; http://php.net/session.cache-expire
    ! V/ E' p1 }- f2 X( h. N- p
  1562. session.cache_expire = 180
    % V1 ]# y; H! g9 B" H# i

  1563. - T7 }( N) B/ h3 c8 D
  1564. ; trans sid support is disabled by default.) [. l+ L' q4 Z/ _, N( y& D4 C; ^: B
  1565. ; Use of trans sid may risk your users' security.
    $ P6 H, S% H: j3 q# i4 Y( H
  1566. ; Use this option with caution.0 ~, |6 d2 T6 I" }* G
  1567. ; - User may send URL contains active session ID
    * j. n# w) X9 u9 e
  1568. ;   to other person via. email/irc/etc.
    / P* o8 T2 A* c8 o  w/ z
  1569. ; - URL that contains active session ID may be stored
      {3 l5 f4 T' {6 X
  1570. ;   in publicly accessible computer.: [0 B* v% D$ d, T1 P% S0 ~( Q# ]
  1571. ; - User may access your site with the same session ID/ I6 F7 k% t  S  r5 r5 A* B& `
  1572. ;   always using URL stored in browser's history or bookmarks.( [1 E' U+ I+ c8 f! I
  1573. ; http://php.net/session.use-trans-sid. o% d/ i) j7 A+ x, R
  1574. session.use_trans_sid = 0# M7 l# Z( M  x/ l+ v/ i" \1 H

  1575. ) N1 n! r' Q/ {$ _
  1576. ; Select a hash function for use in generating session ids." e" x: q+ M+ l; O- X
  1577. ; Possible Values* u* Y: {( V/ M
  1578. ;   0  (MD5 128 bits)! y' c( K/ ^/ ~$ ?5 i. u
  1579. ;   1  (SHA-1 160 bits)0 p8 O- z' P: a: H1 A3 S
  1580. ; This option may also be set to the name of any hash function supported by0 Y* A. H  r, [( R  f
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    - A8 v1 v5 V. f7 X: ?
  1582. ; function.0 m0 w' }2 s5 x3 p) _1 `, G
  1583. ; http://php.net/session.hash-function
    % G. b# A7 |7 q) V: e
  1584. session.hash_function = 0- o+ N9 F7 e* y7 G7 ?; h. y
  1585. . }1 X0 o; }7 p7 g& ^
  1586. ; Define how many bits are stored in each character when converting1 m" s: r3 {3 L  ~& @. C- Z7 S0 ~
  1587. ; the binary hash data to something readable.3 V/ p  f+ \) t
  1588. ; Possible values:
    - F4 Q5 u% r% P' l1 D# ^% {
  1589. ;   4  (4 bits: 0-9, a-f)
    ; e+ {9 P3 O& v6 w  y! n
  1590. ;   5  (5 bits: 0-9, a-v)
    ( K- j* G0 q& I) H& c5 x' ]
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( M" ~. g8 J# u1 }
  1592. ; Default Value: 4
    ! |/ U4 S# S: F2 N6 _, k- u0 K' d! y
  1593. ; Development Value: 56 H# _7 B& a1 ~, z& m: I0 `" D1 v& M
  1594. ; Production Value: 5
    1 ?+ o( {; a, L+ @" o
  1595. ; http://php.net/session.hash-bits-per-character& @, w6 _- s/ s
  1596. session.hash_bits_per_character = 5
    , K1 d8 }" F& x8 m. c& g6 R( m
  1597. $ P& |6 }- T* u2 K5 I& j
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.1 A$ I  j5 C! @3 m
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    * D/ A( l6 N. W; z& h1 V3 m. {. p) r* }
  1600. ; add a hidden <input> field with the info which is otherwise appended
    + m1 \# V  q2 D( v- g+ d
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.' y/ G9 @% l1 D$ \% t8 R& I
  1602. ; Note that all valid entries require a "=", even if no value follows.: @( g8 D- ^% F/ I' C' j
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="0 y+ y' B0 g# \8 V/ g
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ ?. _/ M! S$ @' Z7 s
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 C9 e3 i9 K& X+ b) R
  1606. ; http://php.net/url-rewriter.tags9 m! w( h- ~! R) u2 `, L
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    / y3 X( z3 X1 V$ X# \0 j8 r
  1608. ; i& R- m$ Z' o0 B5 y0 J0 i. u5 Y% v
  1609. ; Enable upload progress tracking in $_SESSION
    / O2 E! X# h. h- V+ |7 T+ L
  1610. ; Default Value: On
    ; c* C2 s' j* Y& i' c4 J
  1611. ; Development Value: On+ A' k, ~5 b8 T: @9 l
  1612. ; Production Value: On
    1 A) X+ }. d8 `5 R1 o3 B; I( K
  1613. ; http://php.net/session.upload-progress.enabled
    1 @2 d! f  h! R7 J) D
  1614. ;session.upload_progress.enabled = On4 S+ w; n) Y+ O3 Y
  1615. ' O8 ^! r7 G$ U8 ]! @0 H
  1616. ; Cleanup the progress information as soon as all POST data has been read
    9 p2 H  U2 l) T! a: g! {/ Z5 k
  1617. ; (i.e. upload completed).
    " a5 C) [8 u. }( I  e
  1618. ; Default Value: On" V) w! F& j$ Y3 h4 w! s1 _
  1619. ; Development Value: On; M- Y5 G- a2 o7 ?5 y3 v
  1620. ; Production Value: On3 w$ i5 `3 H( p
  1621. ; http://php.net/session.upload-progress.cleanup
    6 I2 o- U3 n; }% l+ ~/ x
  1622. ;session.upload_progress.cleanup = On5 z6 D; m# b9 G/ d8 Z
  1623. 9 j: v) F  @, p- ~. e- Q5 G
  1624. ; A prefix used for the upload progress key in $_SESSION2 j! x) K9 z3 X+ _& Z8 ]
  1625. ; Default Value: "upload_progress_"- g' K4 t) ]: b! b" B9 E
  1626. ; Development Value: "upload_progress_"0 Q8 E  ?  m" i* F: v/ y$ K2 F
  1627. ; Production Value: "upload_progress_"
    & i( W8 @# c  L3 E0 n) j
  1628. ; http://php.net/session.upload-progress.prefix& \0 A  a2 N( W- I: K: U7 }
  1629. ;session.upload_progress.prefix = "upload_progress_"
    - d1 \+ a- k+ K6 S# G9 o

  1630. $ X% [. p2 i& ~1 f8 I! Q8 g
  1631. ; The index name (concatenated with the prefix) in $_SESSION
      K8 i8 k# V" k9 j; J, f! a
  1632. ; containing the upload progress information
    1 v- d9 N4 Y2 u) f7 i& ^
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"$ b7 J1 M' U' |: c+ ]2 E
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"1 K7 O% M( G2 l
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"2 H6 W/ B# t) @
  1636. ; http://php.net/session.upload-progress.name
    ; Y2 u: D; Z5 P4 Q5 X
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ C% Q+ B- q+ G% I, x" Y

  1638. ( u  y8 L+ `( B2 O- f: q0 j& q
  1639. ; How frequently the upload progress should be updated.- P* p; @! T# e  t9 ~3 a
  1640. ; Given either in percentages (per-file), or in bytes- J. L2 s0 z: s2 r1 ?* A
  1641. ; Default Value: "1%"
    4 _; f' S  C3 X' D2 s5 y
  1642. ; Development Value: "1%"& ], W! u! [& P4 r" F* n( ~+ [
  1643. ; Production Value: "1%"3 Q" L: f* J* }2 z9 b/ l$ W4 A) O
  1644. ; http://php.net/session.upload-progress.freq: ^3 ]6 y6 I3 u- c
  1645. ;session.upload_progress.freq =  "1%"
    . B( ^4 t3 V7 @- \, D

  1646. - G: f/ ^' ^5 b
  1647. ; The minimum delay between updates, in seconds. o) @+ C( h8 n/ J1 K0 v: v$ q- _
  1648. ; Default Value: 1
    4 B8 @, A9 e4 h8 [3 F
  1649. ; Development Value: 10 a+ ?5 e8 ~( C: S& O" Y
  1650. ; Production Value: 1
    8 H2 ~/ e+ T( C
  1651. ; http://php.net/session.upload-progress.min-freq9 X& _( f2 q/ c  ]. x+ w
  1652. ;session.upload_progress.min_freq = "1"
    / H  _+ Z# U0 t  o# o+ {/ i
  1653. 5 j5 x7 l- N# g$ S- m: @4 ?+ Z
  1654. [MSSQL]
    0 w' G. E0 Z' A: V
  1655. ; Allow or prevent persistent links.
    5 k- T# H/ z8 J
  1656. mssql.allow_persistent = On9 x/ [5 J( w0 {0 ~: W( H

  1657.   c; z- r3 ~8 o4 A8 ]
  1658. ; Maximum number of persistent links.  -1 means no limit.$ \! N6 Y: I1 ~2 G4 b, `
  1659. mssql.max_persistent = -1& w" ^/ ?% c+ t4 I  p! ]# b
  1660. ! J  G1 Z2 u: ?( S5 Q! t: B& J
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    9 _# H' g3 `1 Q1 `2 j! g. E. W
  1662. mssql.max_links = -1
    & h( c/ P5 l6 l, j& u4 C! R% Y/ M
  1663. ; z- l0 D8 O$ H3 p. R  h; a
  1664. ; Minimum error severity to display.- j: M7 x  b* Y/ q2 k; q' D
  1665. mssql.min_error_severity = 10
      l+ S" w: w7 A1 y& d$ i/ Z) E
  1666. ! Z  F3 \# o3 u, `) i9 v' i
  1667. ; Minimum message severity to display.+ O  m& O6 G+ \# X& K, k  v
  1668. mssql.min_message_severity = 10
    ( D5 _! l9 O/ v: T, z$ P( B& _; v# [

  1669. 3 ]+ @- ^; v( s+ k( O: L
  1670. ; Compatibility mode with old versions of PHP 3.0.
    4 H& A# X8 X  U1 @( |4 D
  1671. mssql.compatibility_mode = Off
    " Z# T# }) Q( F" G, m

  1672. ' ?) Y) ]) M" @* e, s4 ]
  1673. ; Connect timeout
    : K0 b( ^1 v! f1 S' t% p) Z; d; `* @
  1674. ;mssql.connect_timeout = 5
    5 x. [- o$ W* n8 p1 k+ n

  1675. ! {9 O- J$ G6 r
  1676. ; Query timeout* J: u& N2 j- e- d
  1677. ;mssql.timeout = 609 D) [" p& J. G' K' H( a% A
  1678. * K  }, @" w& R2 l: H6 c6 ]' C
  1679. ; Valid range 0 - 2147483647.  Default = 4096.2 }& R$ m3 q) i: T
  1680. ;mssql.textlimit = 4096
    ! Y; q" E% D8 R) g5 F. ~- j+ \
  1681. % M( @$ `  H+ w+ {5 L2 i7 x0 {
  1682. ; Valid range 0 - 2147483647.  Default = 4096.$ ^7 {5 Y  I, j. T" h3 d
  1683. ;mssql.textsize = 4096
    * `. s; s! s/ K* N% S

  1684. : k8 K0 m& Z) c# O
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    0 K; u4 S* t0 z
  1686. ;mssql.batchsize = 0: L' P. D. Q$ ^
  1687. + w1 B) m/ C# |4 m$ Y1 i
  1688. ; Specify how datetime and datetim4 columns are returned
    - v: K) l; N" B. ^5 Y6 \+ O. s
  1689. ; On => Returns data converted to SQL server settings
    % i0 c) e6 F1 _6 U! d" S+ g  I
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss" n* p0 g( K* f
  1691. ;mssql.datetimeconvert = On+ P% A. e# i4 M! d  a

  1692. ! E" d" O) a8 q  U) u
  1693. ; Use NT authentication when connecting to the server
    - {5 S- j( h3 E7 j
  1694. mssql.secure_connection = Off
    0 D  R% \, b7 A, C

  1695. " P) V; ~2 }' q
  1696. ; Specify max number of processes. -1 = library default# R  l) S7 L7 B) L
  1697. ; msdlib defaults to 25" _% I# r! M! u0 ^9 [. M
  1698. ; FreeTDS defaults to 40965 j# U* m3 i+ t4 W$ z7 d; l( Q! d
  1699. ;mssql.max_procs = -1  w$ S2 }5 H9 ?1 n# U  {
  1700. 5 b1 d8 i( d3 W
  1701. ; Specify client character set.
    ' N# `2 W+ ^/ _! t
  1702. ; If empty or not set the client charset from freetds.conf is used$ E& T6 x" P( _' I4 a9 g
  1703. ; This is only used when compiled with FreeTDS
    ' Q& l, l! w$ P
  1704. ;mssql.charset = "ISO-8859-1"6 |0 ?4 f" w9 x; W) i; B2 m

  1705. 4 T3 D0 V; d# c1 x
  1706. [Assertion]
    9 Y, ^, A! F8 @- w3 N6 C& I
  1707. ; Assert(expr); active by default.: _! o' ^( k$ j: e3 t" a- B$ ]5 I
  1708. ; http://php.net/assert.active( {, D9 I" x3 r5 @: Y, K
  1709. ;assert.active = On& s4 ]9 U9 h5 X  U1 I1 {0 d

  1710. " A6 O1 W  G8 B* h0 _! p$ \
  1711. ; Issue a PHP warning for each failed assertion.
    , b" O( ^& V5 e+ r% t: L- [: a
  1712. ; http://php.net/assert.warning, o( }9 I) c8 D
  1713. ;assert.warning = On
    3 k. ]) _! P( A" A1 \- w/ N

  1714. 9 p, F6 ?& E0 n6 v
  1715. ; Don't bail out by default.! [2 l) o/ }2 R/ Q
  1716. ; http://php.net/assert.bail
    $ \0 z- ^! g% |7 U
  1717. ;assert.bail = Off
    7 V. I+ D5 H; ^5 C$ d

  1718. 6 T! p( q% g: L- `
  1719. ; User-function to be called if an assertion fails.4 a, I) W3 [9 z% j: r: J7 C1 `) {( r
  1720. ; http://php.net/assert.callback
    9 c% D! h6 u! s# O/ S2 x* {2 h: I6 x
  1721. ;assert.callback = 0/ |# t% v% b2 X' Q6 f4 [. K
  1722. ; q/ X7 M  |* t1 o
  1723. ; Eval the expression with current error_reporting().  Set to true if you want. H  m; c. ~$ K
  1724. ; error_reporting(0) around the eval().
    ; [8 }5 Q$ P$ v. K% N
  1725. ; http://php.net/assert.quiet-eval/ u; ^* l; b' f0 V/ w
  1726. ;assert.quiet_eval = 0
    # B, L9 H- o+ g& J8 Y; |

  1727. 7 c  x8 }- ~8 u& }' {) u
  1728. [COM]
    0 O& ?' }; Y$ E
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs+ P: m, J2 t9 H6 g  ~# ~
  1730. ; http://php.net/com.typelib-file' s7 V0 Q- {. P1 U
  1731. ;com.typelib_file =7 T! f$ I4 A; O" i

  1732. , x7 r" D0 Y: t
  1733. ; allow Distributed-COM calls) z2 i4 H: j, `: N) Z! H5 j
  1734. ; http://php.net/com.allow-dcom  }3 l2 O; _: T8 f- g) ~" ?- w' J0 ?
  1735. ;com.allow_dcom = true0 N2 W7 e8 n* X* U/ u/ ?
  1736. " O' T$ d8 q9 R: j1 B: b; u  _4 M
  1737. ; autoregister constants of a components typlib on com_load()
    ; B0 w  z6 S( I, m0 n
  1738. ; http://php.net/com.autoregister-typelib6 l  J( I# D% O' r$ m5 Y
  1739. ;com.autoregister_typelib = true
    5 Z/ X0 I2 ]% D' N% _* D2 t

  1740. 6 e) P; F. _# K1 [" M
  1741. ; register constants casesensitive' N( Q2 A5 I4 ~* @
  1742. ; http://php.net/com.autoregister-casesensitive, J( B, q. c6 G6 W
  1743. ;com.autoregister_casesensitive = false, A3 e( `" H8 |  Y0 b9 q/ _( C
  1744. / |! F, F0 f" a2 t
  1745. ; show warnings on duplicate constant registrations) }- E$ l* t  ]  }5 G( u
  1746. ; http://php.net/com.autoregister-verbose& o" P$ O5 B! D$ R. j0 @3 x' w* l
  1747. ;com.autoregister_verbose = true% P& l: n3 y* L( [
  1748. ) I$ ~  M4 n3 I3 M9 ^/ s: ?
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    1 q+ j5 f' C2 P! d7 N6 C$ w8 F
  1750. ; Default: system ANSI code page" L9 e3 h" M, s& ^4 Z6 s5 Z0 `5 N3 V
  1751. ;com.code_page=
    1 T4 w* {3 x/ ~6 j- M
  1752. 2 S: V$ f4 }( L0 d0 Y4 c
  1753. [mbstring]
    4 r7 O+ z: V; h$ N0 n" j
  1754. ; language for internal character representation.
    3 c9 M8 s) H: @0 a3 M4 n
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    & l6 Z! o& d- P! @; j. ^
  1756. ; http://php.net/mbstring.language
    / |9 e6 \7 P9 H6 F: O1 J! K
  1757. ;mbstring.language = Japanese
    " T+ R. p+ ]! L$ _

  1758. * K+ n  ?4 O: ~; [7 K! D% W
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 l: e0 A. s5 V
  1760. ; internal/script encoding.0 d( |! q) l8 ]2 _; {
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)4 c$ `/ M5 ^' C; G! ]
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' S) R& o. m" _2 p9 S! u
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: F1 R+ c5 T6 e0 a' M1 @
  1764. ;mbstring.internal_encoding =
    1 c: ]* |7 C. D3 a

  1765. ! w4 s, |+ w7 b- [0 P, W# g
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.+ m$ m, S  I( ~
  1767. ; http input encoding.; e' ^' \! l2 k" x9 P7 y
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    + i3 M  q( |* L4 f. }$ {- A5 t
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used., E/ ~! `: k  s6 ]
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    : h. B1 O7 G; b
  1771. ; http://php.net/mbstring.http-input& n! b- p; Y* o  t7 W1 K
  1772. ;mbstring.http_input =6 `( p+ ]7 R5 d0 T; q! L1 g, ]% O

  1773. , U8 `0 o7 t- O$ o7 A: U0 d9 D
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.+ ^7 b, z8 y0 \, f" {' x' ]  n9 |
  1775. ; http output encoding.+ }0 Z% M( \. a; r) N6 v! ?& J
  1776. ; mb_output_handler must be registered as output buffer to function.5 v$ K! b9 ^; B/ h
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    % Y* \8 r+ r9 H# L* }8 F  h
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ( i! L% @" \6 O! S
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    1 v" b8 K1 A" B' l$ A# \
  1780. ; otherwise output encoding conversion cannot be performed.
    ; A2 M0 K9 T6 I- u  w
  1781. ; http://php.net/mbstring.http-output& D: R8 ~4 j& @
  1782. ;mbstring.http_output =
    6 I$ Q& ~) f7 a+ L  X! E1 j
  1783. 7 \$ C( b6 g3 O: e2 h
  1784. ; enable automatic encoding translation according to
    8 ]% v9 E/ v" Z- M
  1785. ; mbstring.internal_encoding setting. Input chars are/ ]) T; d$ E* Q; N
  1786. ; converted to internal encoding by setting this to On.
    # }5 U2 n: G2 i9 M) t
  1787. ; Note: Do _not_ use automatic encoding translation for* k/ o% z: ]( @$ r" Y( H5 {
  1788. ;       portable libs/applications./ G5 Y( c) b. S
  1789. ; http://php.net/mbstring.encoding-translation# U* y9 D% O& L" T
  1790. ;mbstring.encoding_translation = Off
    , U5 K5 Z9 v. K# F- U7 p: ^/ p
  1791. 8 I- Z: _& M9 Q8 z
  1792. ; automatic encoding detection order.' \6 r$ @0 e" x. U4 X5 h+ V
  1793. ; "auto" detect order is changed according to mbstring.language
    ! \7 ?& B& K" j0 r
  1794. ; http://php.net/mbstring.detect-order. X+ [+ A. p. d" V1 M, p
  1795. ;mbstring.detect_order = auto
    9 u7 N, R6 u* O9 q9 |3 S$ s* @

  1796. 8 S& V& s! w( _/ y7 G
  1797. ; substitute_character used when character cannot be converted
    9 d! ^5 @5 m& ?/ B# l- i
  1798. ; one from another+ e4 B& [* Y, q% j5 o, J* d4 |
  1799. ; http://php.net/mbstring.substitute-character
    4 Y: k" |6 p. U! F( [4 ?
  1800. ;mbstring.substitute_character = none
    . n$ ]6 j; v- ~/ a' @1 n

  1801. + v4 C; I+ C* C' D, z. N
  1802. ; overload(replace) single byte functions by mbstring functions.( L* L2 a( Q5 y- T& k
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),5 L6 i% R- Y/ o
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    + X+ S$ t7 ~! B9 e
  1805. ; For example, 7 for overload everything.5 F1 V5 F! x- I/ A/ b$ [
  1806. ; 0: No overload
    1 s# ^9 ~/ P* @  x& a0 n
  1807. ; 1: Overload mail() function
    ! n8 i* D' S. l/ J
  1808. ; 2: Overload str*() functions
    8 X& ]# O; d1 Y9 V5 F5 ~
  1809. ; 4: Overload ereg*() functions7 U0 o, \% [9 X* q1 F% \
  1810. ; http://php.net/mbstring.func-overload- K* W& A% D2 J0 G  o! z
  1811. ;mbstring.func_overload = 0, ~6 r, ?5 o5 T3 b; _
  1812. , M. h+ D  c' A
  1813. ; enable strict encoding detection./ d" j% m$ n$ T7 E8 ~2 B% F4 @4 S
  1814. ; Default: Off6 U/ W. v. M3 b% c$ \
  1815. ;mbstring.strict_detection = On, W' B+ A- H4 h3 s5 s' d7 H% ?& c

  1816. - ^& i7 I5 x- [+ m
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 S* p! l, C8 d9 c9 J6 U0 \
  1818. ; is activated.
    , N) q% t  D7 ]" n' U2 Q- b
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    / g/ A1 }: w- E$ o* a0 l
  1820. ;mbstring.http_output_conv_mimetype=% t- w! A+ f3 F
  1821. 9 T. ]9 I& {2 U4 [- s. g3 ~/ _  ~2 |
  1822. [gd]: e2 f: F9 {, a- L7 m1 ]
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    / S2 M8 P- q/ y- g
  1824. ; a gd image. The warning will then be displayed as notices) T: B; i* d) S
  1825. ; disabled by default& R' o9 e/ z# {! [; i
  1826. ; http://php.net/gd.jpeg-ignore-warning
    / U- h+ Q) c% t, G) k$ E
  1827. ;gd.jpeg_ignore_warning = 00 J( y2 Y2 N: A2 Y3 m

  1828. : D( K1 ?6 Q1 v: G/ x
  1829. [exif]
    & Y7 ]9 s4 k) }0 ~' f: a/ ~- Q
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.  {* _4 l( e3 H) e/ ?$ k5 x$ }  A
  1831. ; With mbstring support this will automatically be converted into the encoding
    5 N& l" o/ x! D3 P) C
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
      s- B6 b) y& p: D8 m( E" F. S' `
  1833. ; is used. For the decode settings you can distinguish between motorola and
    % n( w, P8 \1 R1 S# D
  1834. ; intel byte order. A decode setting cannot be empty.. x+ C$ M# S+ A$ T  Y- ?6 O
  1835. ; http://php.net/exif.encode-unicode
    9 n" R" g3 Q% f1 a+ Z  Z
  1836. ;exif.encode_unicode = ISO-8859-155 `: `( D/ C; x/ q: T4 u) M

  1837. 8 s, S' C+ R) e+ a
  1838. ; http://php.net/exif.decode-unicode-motorola2 u3 M# E% F, Q! y% {" i
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    3 D0 T$ N! f+ n' z8 q. T
  1840. 2 r; `6 Q0 e% {' t4 X  q
  1841. ; http://php.net/exif.decode-unicode-intel# |# M5 U+ W7 ^) H
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    9 ]# j3 m1 W) {4 H1 m
  1843. $ p9 V% b5 j* U4 W. w1 H' p
  1844. ; http://php.net/exif.encode-jis
    * j/ \9 s0 \3 m# R0 c6 Y* K
  1845. ;exif.encode_jis =
      ^  k- n' h; N

  1846. $ s7 u' R6 E; }  t
  1847. ; http://php.net/exif.decode-jis-motorola
    ; o5 [* |! Z2 Q2 Z9 A* F' I
  1848. ;exif.decode_jis_motorola = JIS
    $ H' s% P: q2 Y2 @/ b

  1849. # x, R  L* Q+ U; S( w
  1850. ; http://php.net/exif.decode-jis-intel
    6 K: I7 O; F0 i1 L, i! a3 y5 [) z2 U) e
  1851. ;exif.decode_jis_intel    = JIS
    . x6 X0 n' P# c3 {

  1852. & p, x1 R  H+ H: F
  1853. [Tidy]8 m) }1 b* o3 n2 J
  1854. ; The path to a default tidy configuration file to use when using tidy
    ( X" K6 o! Y, w! G- X; l  w
  1855. ; http://php.net/tidy.default-config
    7 T( B% Y; \& T( |# z2 c- `
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg5 d9 v0 _' u9 ~* N4 x

  1857. 8 ]  [/ X1 g, `1 C
  1858. ; Should tidy clean and repair output automatically?1 w. k5 a9 d* x6 X( ~0 d
  1859. ; WARNING: Do not use this option if you are generating non-html content5 {3 p. `! ]  S4 U
  1860. ; such as dynamic images
    % Q* g( o5 B& }. Y* H
  1861. ; http://php.net/tidy.clean-output4 P8 }' b1 P( w% M# j) r  t
  1862. tidy.clean_output = Off
      n+ R; ]: i; h! V& c
  1863. 0 |% @  p; y8 w1 h
  1864. [soap]1 \; H' [. t% `. Z
  1865. ; Enables or disables WSDL caching feature.  x$ b3 Y) c! J# o
  1866. ; http://php.net/soap.wsdl-cache-enabled
    , i! Y$ D( t) f' W
  1867. soap.wsdl_cache_enabled=1
    / H2 M5 D3 x5 X. u& f6 o3 h5 \; @/ X
  1868. 8 u" m8 y. ^' T/ M# M' J  \
  1869. ; Sets the directory name where SOAP extension will put cache files.  D; |7 C" r! ?7 |$ F
  1870. ; http://php.net/soap.wsdl-cache-dir
    8 o& K7 r& m/ t& X+ T1 Z
  1871. soap.wsdl_cache_dir="/tmp"
    0 R7 y1 M# Z! O6 Q) v

  1872. ' f$ t7 x( K7 ?$ \% a& ^4 E
  1873. ; (time to live) Sets the number of second while cached file will be used3 n4 Z& F" H+ I: ~: M
  1874. ; instead of original one.
    & z& f% J9 q- z7 R$ U: S
  1875. ; http://php.net/soap.wsdl-cache-ttl! c9 a& R( V; Y7 p9 h3 m
  1876. soap.wsdl_cache_ttl=86400" a; z* U' h. r5 q6 a# f8 Y
  1877. 6 M* Z5 _- c8 p% [
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)' t& y8 O7 M; B
  1879. soap.wsdl_cache_limit = 58 Z6 H4 k! N  Z8 J' q& m

  1880. " U# g5 k3 O6 |/ E0 ~0 o
  1881. [sysvshm]
    1 J7 W) g$ V- L( z5 P
  1882. ; A default size of the shared memory segment3 f$ k, T+ V  k2 n) d# V* W2 a
  1883. ;sysvshm.init_mem = 100006 s& y9 u* z* z( N

  1884. 6 B6 n; ?$ w& o" L; ?3 C$ w" y
  1885. [ldap]1 k" b4 \  o! x" {& |0 j: R
  1886. ; Sets the maximum number of open links or -1 for unlimited." y6 d* _; d% A. p* ?2 T. m- Y
  1887. ldap.max_links = -1+ Z% @* E5 e+ L3 q" U3 h% s

  1888. & a' \# Z* H( N# f' `7 ~; ?
  1889. [mcrypt]
    ( ~% |4 p2 m2 ~0 n- {* W% y* k5 ]
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ; n' H; h2 f+ \- G7 Z) O
  1891. . f. S( o. I6 ~# K6 }" m
  1892. ; Directory where to load mcrypt algorithms+ r* D. M% f& S3 q+ ~, V, R; B
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - f- s  z; y* P4 h
  1894. ;mcrypt.algorithms_dir=. M1 j/ l1 d$ e' {' Z& S& x! O
  1895. # G; {  j  A+ n) ^6 C
  1896. ; Directory where to load mcrypt modes7 j1 f  h, P3 |( G/ }8 S: Q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 e2 V1 V) ~9 M1 I- h
  1898. ;mcrypt.modes_dir=6 A+ w/ A" f: j0 ]$ Z) t5 ?3 N( j
  1899. # }* X2 P, `4 v) w
  1900. [dba]
      H8 \1 ^; W  f5 L
  1901. ;dba.default_handler=2 A& c7 B6 M. |( t, r4 w
  1902. % u9 V( J( e3 X  I
  1903. [opcache]& l$ n! {1 }+ S: A6 K
  1904. ; Determines if Zend OPCache is enabled+ H+ a! l* O5 Q8 ^
  1905. ;opcache.enable=0
    , S9 m$ b0 G. M" q

  1906. 2 S% ?! S% X6 Y9 m* i  H1 }
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP% G9 W3 c; E& u; g) ^
  1908. ;opcache.enable_cli=0
    $ `' h" r' M  q
  1909. : q( V/ {- t' o4 X* z( @: j
  1910. ; The OPcache shared memory storage size.
      m* m/ ]# |- n* m
  1911. ;opcache.memory_consumption=64
    7 c- }7 E. S' d2 ?

  1912. ! M, m6 P0 Y/ \# O
  1913. ; The amount of memory for interned strings in Mbytes.  w; F- z4 S& f+ |
  1914. ;opcache.interned_strings_buffer=4
    . x- @; v* B0 l4 h8 E9 r/ |' ^

  1915. % [: v: r* H( s" t" X& }; \! S: Q
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 r3 p+ @( ?+ r' r  R
  1917. ; Only numbers between 200 and 100000 are allowed.+ g( ^3 t) P1 e% ]) U" S5 S+ N- L7 n
  1918. ;opcache.max_accelerated_files=2000
    " G8 x' m) q& j% V# g& p. G# V
  1919. $ _7 r$ `, `6 X3 x
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.0 H( T) S# l5 u3 R
  1921. ;opcache.max_wasted_percentage=5- c! J/ [, g; Z& K- p
  1922. ' {+ X% k4 x& C8 p% k# b
  1923. ; When this directive is enabled, the OPcache appends the current working* X  _# s) [: K. l
  1924. ; directory to the script key, thus eliminating possible collisions between8 T. F8 {8 m' @% L2 R- G: D7 A  }
  1925. ; files with the same name (basename). Disabling the directive improves
    3 f. i8 a( I3 W7 a
  1926. ; performance, but may break existing applications.
    1 j: j* x5 X) m. `8 R, p
  1927. ;opcache.use_cwd=1
    7 G7 h$ {  A* J2 I0 G* b

  1928. ; }1 G- u0 J' ?/ _
  1929. ; When disabled, you must reset the OPcache manually or restart the
    9 k. G6 k4 G) c( a" [
  1930. ; webserver for changes to the filesystem to take effect.
    ( _# ~. X$ b6 ~, \* |( o
  1931. ;opcache.validate_timestamps=1
    : S2 f! H9 T7 d0 _1 [' V% S

  1932. + O" N0 A  A( c' g5 j
  1933. ; How often (in seconds) to check file timestamps for changes to the shared1 }- {, ^9 i6 A: x' }
  1934. ; memory storage allocation. ("1" means validate once per second, but only7 D& C, t- F) o# K
  1935. ; once per request. "0" means always validate)
    - C: j1 K- a* E5 D) B9 Q% u  G/ l
  1936. ;opcache.revalidate_freq=29 c, }4 a7 \! b0 }2 o# W
  1937. 0 Q& m, R; `9 C5 F' N- U
  1938. ; Enables or disables file search in include_path optimization5 {" Q, D6 E% Q, h! j. W- W3 u
  1939. ;opcache.revalidate_path=0
    6 L, M/ z* h! u4 C

  1940. 0 D# Z' m! m/ ?
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the7 o- i1 x) y# U' U4 }! g- f0 _" _& h
  1942. ; size of the optimized code.% E7 d5 J( g2 s
  1943. ;opcache.save_comments=1# D- M% O% A  Z. B

  1944. # E  h$ P( D" u" Q
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ( ?7 g' R$ U$ _" J# T
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    + d% g* R4 Q0 b1 ]9 m/ j
  1947. ; that don't need them anyway.
    ! F" |" c  ]% w( L9 {5 ?0 s9 X) H
  1948. ;opcache.load_comments=1
    : D) {& J  \! x: }  U
  1949. : w+ s4 p  w- `! S* k! G+ E
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    % C& V! ]: u$ w0 c
  1951. ;opcache.fast_shutdown=0" V- a* g7 k& p! \) O, l

  1952. 8 v: g. V3 B( U6 x$ P) W; W
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    : B1 q% K: r: C2 c9 l
  1954. ;opcache.enable_file_override=03 U2 {) F- d9 G& T1 r; O

  1955. % `1 ]- r7 E# n! E- v9 F
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    5 R, ]$ }; M, L0 {6 {
  1957. ; passes
    ( G; g8 U- @- i. r9 ^1 f
  1958. ;opcache.optimization_level=0xffffffff
      c8 W) d" s2 |8 U& W4 {1 ?6 `1 ~/ [

  1959. 7 t5 ~& u( |" S' Y
  1960. ;opcache.inherited_hack=12 E( q2 j9 Y+ @; i( R* V; l* J8 o
  1961. ;opcache.dups_fix=0
    2 N& \: k5 u$ ^& p/ N2 z9 a* h0 B' a
  1962. 6 F/ P0 h  N4 ~& X* _
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    5 ]1 H2 r/ {3 ^$ m
  1964. ; Each OPcache blacklist file is a text file that holds the names of files4 \3 R/ P' S/ r/ h* r
  1965. ; that should not be accelerated. The file format is to add each filename
    * O) ?- F) I$ Z
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ) b7 s/ k! F. R) d1 A- @
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ) {" e8 e! c, Q7 T9 J+ m+ p5 w
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 A5 X; q! L2 N4 g. w
  1969. ;opcache.blacklist_filename=
    1 X+ b8 u8 G% t- o! }& t, v7 J+ @

  1970. 1 d3 E: P% o# C2 G# k$ I4 |
  1971. ; Allows exclusion of large files from being cached. By default all files- _8 S8 F, I7 V
  1972. ; are cached.
    ; I0 \5 r+ o5 L  d
  1973. ;opcache.max_file_size=0
    / f8 A0 R, V& m! Y, b
  1974. $ o. K  Y( m/ Y6 ]% }- v* O) W3 ]% F
  1975. ; Check the cache checksum each N requests.8 ?/ r+ e7 T8 c
  1976. ; The default value of "0" means that the checks are disabled.$ d8 M$ \/ @5 @' C* E. Y! t
  1977. ;opcache.consistency_checks=0
    0 @% Y1 ?: J( B* @1 O
  1978. * W8 h  X+ e9 a- R
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    1 k9 b/ }) f6 ?; A+ J
  1980. ; is not being accessed." f2 t2 h9 n4 r+ ~# k- s
  1981. ;opcache.force_restart_timeout=180# w0 @& o8 D7 w2 f) }
  1982. , t4 p5 R; S3 `1 [" }* P
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    * E! G  Z7 \% B# g* N
  1984. ;opcache.error_log=0 c, e6 }2 f$ g5 r8 W
  1985. ( }) }9 l# H: F0 f8 }3 ]0 V. ^% C
  1986. ; All OPcache errors go to the Web server log.( G9 R. ~( z, k  Y5 ?" f: A) \5 U1 \2 b
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ) m2 q7 w- N- d8 F
  1988. ; You can also enable warnings (level 2), info messages (level 3) or# ~) l  E2 G$ n. e  Z: x
  1989. ; debug messages (level 4).
    : n9 t: [* g0 k" E& w# Z5 S
  1990. ;opcache.log_verbosity_level=1. \0 }  [4 m! g" j' e

  1991. , \/ M; O$ ], o. n6 U+ }3 b
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  n8 L1 x4 o7 P9 S
  1993. ;opcache.preferred_memory_model=
    8 o7 S! C& l! M: [
  1994. 9 n: ~5 h) y6 m; m; O9 Y
  1995. ; Protect the shared memory from unexpected writing during script execution.8 t1 c1 q+ @+ y3 R
  1996. ; Useful for internal debugging only.$ G9 z  z. n6 B$ ]
  1997. ;opcache.protect_memory=08 F. S" ^4 c$ M1 Z! x

  1998. ' X5 a4 c% C- j
  1999. ; Validate cached file permissions.
    : j7 z9 M, ~2 r
  2000. ; opcache.validate_permission=0
    : ^1 V! q6 f: W) W0 o- V) z

  2001. 7 O3 P. R) v2 F8 D% Y
  2002. ; Prevent name collisions in chroot'ed environment.
      \, G2 G: Y0 N
  2003. ; opcache.validate_root=0& t5 a6 |- J2 k- t3 Y8 ]' K
  2004. ! A& S9 R1 Z, q; N+ P0 D
  2005. [curl]* v5 _1 n" y: D# @
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an5 m+ M. S3 `- |8 O- P- Y: V
  2007. ; absolute path.; W3 _7 L1 t6 e& N8 h. Q+ o
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 g; B- U- u& H, @5 s! Z
  2009. 4 D8 v# J1 Z9 R, p
  2010. [openssl]8 W/ {. M1 l- @4 C& R
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    & L1 }( F# ]. y7 ~
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should1 @+ \5 c" D* g, H' j& G
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ! @% g( Z7 _6 x3 g+ W
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    # T2 C0 @6 D, V- \
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ( [6 N5 V  U3 w$ o
  2016. ; option.
    + Y. k( i9 v3 j# l# H
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    % x- r( _# a7 y' {7 x; x8 o
  2018. / {+ T# C  q9 }% a' u: f/ L
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    % B; N/ w" `; {
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    . i3 o. f- E/ i
  2021. ; certificate. This value must be a correctly hashed certificate directory.8 Z) }- g& N3 d" W
  2022. ; Most users should not specify a value for this directive as PHP will
      T0 a, L+ V6 a" T  {3 v
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,5 I# R% A) i7 m7 x- Y
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    7 w/ F, y0 Y& ?* \
  2025. ; SSL stream context option.* @* d. E6 e+ m" V
  2026. ;openssl.capath=
    9 r/ I( Q, T) o; n2 c

  2027. 1 K; A$ o/ J. Q' o
  2028. ; Local Variables:
    5 {/ A. t) j: O3 j( K" X
  2029. ; tab-width: 4  i' A; j' B4 C/ }# X/ W+ t0 ]' \
  2030. ; End:) y) `. q; m# @( Z

  2031. 0 K2 u8 a' _: P4 ^% w
  2032. ;eaccelerator
    & v0 F  ~2 F. X- J

  2033. 5 V1 N9 Q7 @3 ]9 {4 W$ x
  2034. ;ionCube
    , z3 U# ~  S3 \& ~: A8 N
  2035. 0 z5 k5 i! `% H3 F/ n" z
  2036. ;opcache
    + j( K) K4 u: W9 Z5 @9 b

  2037. 5 a3 n5 K  [0 l+ [: Q' e/ n: L
  2038. [Zend ZendGuard Loader]. l$ Y: Z1 _' J/ \  r# a/ ?0 T4 e2 \
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so8 A. L$ ]: M1 U2 i0 O) D
  2040. zend_loader.enable=1
    1 |. P6 d0 u2 _) ^2 d' F! A
  2041. zend_loader.disable_licensing=0
    $ O3 v' m* Q: i$ A, Z4 G& U# V8 _
  2042. zend_loader.obfuscation_level_support=3* i, q, C" h' _2 w* L" O
  2043. zend_loader.license_path=4 ?/ X* _  Y) c) E* h

  2044. 5 G  i$ S) l, k/ @  w. V' O/ }& t
  2045. ;xcache' W- W0 C; c1 \2 _6 l
  2046. 8 r7 y( I3 m3 Y/ _# r7 H+ R8 S
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692" W4 f) x+ Y1 T

4 R; ~4 H: g9 k: N8 i- r& t2 t& o, o) z. l" B
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
& B3 x) ~8 J" U3 u- M+ O4 b9 w0 d8 }3 p3 z0 T
Discuz!程序版本选择:
7 U! g7 p3 [2 ^* B7 O5 S% j( @& O% Q& x站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
. n+ c1 }6 Q2 m/ ~7 R2 {不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:: I$ k7 E# a* U# E
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
+ u9 D; J6 W: F- e8 F! W- A3 `. j" s9 L9 z5 K; q
Discuz!插件模板版本选择:$ G. E  p, D8 j2 s' M
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
- W6 |* M  G  y2 D9 z) ^( t3 y- \针对这个问题做个统一的普及:8 e- v4 L' |! H  J
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。) Q" h' L' B+ P( S/ v: j# u9 n  F
4 Z" p, Y; w$ H! @4 t# a* ~
所以4 M0 s5 Y9 |' A8 \
适合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的二级域名。
3 L: C0 Q! ~1 z打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。. K# k% L$ ?7 r7 {3 B3 |
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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