分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.02 d( j; ^2 A8 a3 ?) a. d# D

% R6 t7 A) U" F- o( y2 x
  1. [PHP]
      u9 u7 W) ~/ w
  2. & L) ]2 }$ S7 o4 |! @
  3. ;;;;;;;;;;;;;;;;;;;  t" e" q7 n* V# q4 I
  4. ; About php.ini   ;- }2 C  q: |# v: l
  5. ;;;;;;;;;;;;;;;;;;;& b: G+ j- R& c; K
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 k& {  h8 {1 B1 n5 F
  7. ; configuring many of the aspects of PHP's behavior.5 Z! X  |5 z; z. `

  8. 7 S& l) G/ M4 E5 o* ?) B/ w; d7 E
  9. ; PHP attempts to find and load this configuration from a number of locations.: V2 L2 X) Y$ Q4 y6 R& e
  10. ; The following is a summary of its search order:) O. _+ ?  y5 u0 I
  11. ; 1. SAPI module specific location.
    6 e* B1 R0 H" {
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ; D+ @: S- c8 I- x6 M& h  l8 h
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
      O' V% ?+ o% @' M
  14. ; 4. Current working directory (except CLI)- w. o2 R% ]& A1 p
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP5 \8 O. J! w2 c& ]  a
  16. ; (otherwise in Windows)
    ! X* @- p/ \) G1 O, W
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & M4 `+ ?8 U7 C. q( `! [+ c/ P
  18. ; Windows directory (C:\windows or C:\winnt)- V9 O* s& F! k& I7 w8 F9 ?" t
  19. ; See the PHP docs for more specific information.
    2 |, i+ ]+ N7 A+ s; g0 L$ A/ `
  20. ; http://php.net/configuration.file
    : Y3 l# q8 C1 p# `6 i

  21. ' V9 q% t4 R& a3 K' m1 z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, e- \" s/ O  f/ g1 E
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 n% `. o* [8 c8 b2 b0 N6 _
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    2 c% B* ~3 @) L7 Z  T2 a- V
  25. ; they might mean something in the future.
    . r# v$ M' s/ O" }

  26. / o  q5 J" Z% X2 X( Q
  27. ; Directives following the section heading [PATH=/www/mysite] only
    / U; w6 _; o- M+ T% F: j. |
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 ?( x. g% W3 h- `$ b- D
  29. ; following the section heading [HOST=www.example.com] only apply to
    & R; U3 z$ G4 S$ l  ~$ f
  30. ; PHP files served from www.example.com.  Directives set in these
    " q  I- Q( P) u  N6 x' F
  31. ; special sections cannot be overridden by user-defined INI files or
    2 k( x; y. C0 J8 j/ n4 p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under& s2 y- C. v9 k9 ], p
  33. ; CGI/FastCGI.# s- `* m' c; z
  34. ; http://php.net/ini.sections
      g" A) d5 u# `7 A9 z' Z
  35. + D& c# d- z7 [: l/ \! `& k/ O
  36. ; Directives are specified using the following syntax:$ h1 i- }4 q' H  `; L
  37. ; directive = value
    & x* K  _2 u* c
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 q" Q2 \, q* I( ]
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! H' o  P: U5 B6 f2 b
  40. ; There is no name validation.  If PHP can't find an expected, b" r  T8 u. m  I7 v5 m  R! N* u
  41. ; directive because it is not set or is mistyped, a default value will be used., g0 w7 Q( x. @1 W' a
  42. 6 Y3 T9 U; J2 n0 D; i- X
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) x$ S8 D4 K2 p) I" }
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 }4 o  k; [5 Z
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a6 i4 e. T/ A5 R  W- w
  46. ; previously set variable or directive (e.g. ${foo})
    + Y, ~" r* }6 u, s* c1 `2 \  q# Z
  47. / [' F3 c1 N2 X# M- f7 S3 ?: s
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & a# E/ I! C0 ~3 Z; }
  49. ; |  bitwise OR' z9 p% V3 w1 m' A2 A! m! ^
  50. ; ^  bitwise XOR3 x) I/ u5 j, k' l$ j% p6 B5 r
  51. ; &  bitwise AND
      E8 X" L. i) x9 d8 [
  52. ; ~  bitwise NOT
    : d/ B0 ]) ^; v6 ^) E$ D0 F
  53. ; !  boolean NOT
    ) `# h6 l' S9 L/ t; @
  54. * \" P7 w* T7 C9 H) s5 W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 x4 l# \) ]; Z/ v0 u3 O5 u
  56. ; They can be turned off using the values 0, Off, False or No.
    - T8 e! z7 F" h, N7 c! N

  57. ( o! L$ A- x, q
  58. ; An empty string can be denoted by simply not writing anything after the equal
    + j% t) |) e1 X8 P5 U
  59. ; sign, or by using the None keyword:0 k; y# s# \6 Y: B

  60. , M5 p* A5 L- y1 c  q% J' @
  61. ;  foo =         ; sets foo to an empty string& a% D6 t+ a: r- q. `
  62. ;  foo = None    ; sets foo to an empty string
      u7 P( o3 l/ D$ P
  63. ;  foo = "None"  ; sets foo to the string 'None'/ Q; V$ o1 j; F7 ^$ D* x/ W
  64. ; {) W2 }" T  A5 I3 c% ^
  65. ; If you use constants in your value, and these constants belong to a! [. t/ Q- i9 y* S' W' W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    # _* X. W' \( G6 h4 U. ~2 T
  67. ; you may only use these constants *after* the line that loads the extension.
    ! A1 \4 T+ S* X8 N4 A
  68. ; d; k3 x% W* t' @3 I$ P- m7 b7 f+ B
  69. ;;;;;;;;;;;;;;;;;;;% c; E# @6 n) A
  70. ; About this file ;
    $ m( @( a0 N7 |7 }, V& K
  71. ;;;;;;;;;;;;;;;;;;;
    ( q" z" c7 J: i: s- ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! {% V/ b, E# b8 E, z
  73. ; in production environments and one that is recommended to be used in
    / x: F# T3 A' y# E
  74. ; development environments.% y' m. q( R* `

  75.   Z9 j! K7 J0 p0 Z# z4 J5 f3 r
  76. ; php.ini-production contains settings which hold security, performance and0 m0 a9 G' Y# O
  77. ; best practices at its core. But please be aware, these settings may break  h" C2 d+ C1 O( `8 P/ U
  78. ; compatibility with older or less security conscience applications. We
    9 O0 W4 o+ O3 d& E
  79. ; recommending using the production ini in production and testing environments.
    . U- v( f9 ]( c% d1 h
  80. ( X0 ~& l# {, f
  81. ; php.ini-development is very similar to its production variant, except it is. e/ A$ @6 X: @9 z7 H
  82. ; much more verbose when it comes to errors. We recommend using the5 O% c# W9 _, e0 {7 M
  83. ; development version only in development environments, as errors shown to9 @0 i' u* J7 O& ]4 ]
  84. ; application users can inadvertently leak otherwise secure information.
    " n. }. m. [. B# t9 o. J
  85. ( P; _/ E8 m& R6 o3 u2 w
  86. ; This is php.ini-production INI file.
    * f9 \2 y) [5 D: E- D+ P% Z. @0 k! O& K
  87. $ Q7 H6 f5 Z1 N7 [
  88. ;;;;;;;;;;;;;;;;;;;
      w2 l, f4 V  N+ J3 `
  89. ; Quick Reference ;, t* W; z! E* ?2 ]
  90. ;;;;;;;;;;;;;;;;;;;
    / ^& V* x  X' K- \
  91. ; The following are all the settings which are different in either the production
    3 H5 @6 O. A, Q9 s, A
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    + D3 S2 r: F7 ]8 e
  93. ; Please see the actual settings later in the document for more details as to why. e7 ?% R- f, ?- ~5 R- b6 {1 s
  94. ; we recommend these changes in PHP's behavior.
    0 G7 k0 E% {8 T$ ?
  95. ; B$ b6 D* f/ A$ [; |5 d& E* s/ D
  96. ; display_errors
      P0 w9 v- K0 i; ^8 }/ @! u/ |' \
  97. ;   Default Value: On$ Y. q$ a1 N% M
  98. ;   Development Value: On. q& y7 \- ~4 E
  99. ;   Production Value: Off0 ~1 V4 i8 a5 R* K9 T! t) O" O
  100. * t9 E' N0 A0 [) f
  101. ; display_startup_errors
    1 |4 W/ ~  s# x' x0 l
  102. ;   Default Value: Off: [. [" K. N9 E9 p) O& f
  103. ;   Development Value: On
    3 s$ {8 ], o; G( }# d! H, A
  104. ;   Production Value: Off
    ; J/ G: K% H! U: @1 G! e
  105. $ Z2 \) e$ m  w
  106. ; error_reporting6 Q3 O( r/ a& F9 @5 S
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 o( b( A2 w0 B, c; Z6 N9 \
  108. ;   Development Value: E_ALL* Z9 x7 K* C% t. I
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / J% Y6 {3 C' @2 \* K& U
  110. 4 y8 N; m# m( o4 |# y8 p9 L
  111. ; html_errors
    * O- L, b( }' _7 }4 ^+ i* s4 v/ n
  112. ;   Default Value: On
    ( x9 a1 g7 c) |
  113. ;   Development Value: On6 b0 S" j5 \" @4 Z
  114. ;   Production value: On
    3 }. S* s3 C% S

  115. 9 E, B# x$ x- }1 }2 D
  116. ; log_errors: R% z0 {, G1 o7 C+ J3 M
  117. ;   Default Value: Off: D& r) T  v7 ?" r; l; A! j
  118. ;   Development Value: On4 z. w' V  q1 m
  119. ;   Production Value: On, F; X" ~$ \! O$ q
  120. ( N, k6 q1 ?3 V" ?. Z
  121. ; max_input_time! j. t+ l' a: o/ P4 L$ m/ b
  122. ;   Default Value: -1 (Unlimited)5 d/ d* k" K. w0 Z( g
  123. ;   Development Value: 60 (60 seconds)
    . K4 n6 K, y3 Q$ H% N/ n
  124. ;   Production Value: 60 (60 seconds)
    % n+ \: D$ M/ v; D; ^
  125. ' ~" U5 \- L9 _2 ^6 K' R" o
  126. ; output_buffering# D1 m- p. D3 ^2 B& w
  127. ;   Default Value: Off
    8 H/ \- Y& J; Y/ @
  128. ;   Development Value: 4096
    / ^  ]' x; @. m5 d
  129. ;   Production Value: 4096
    ' J: O, X; h  n8 s* Y

  130. : Y$ C" D: z0 u4 I
  131. ; register_argc_argv: ~1 A" {7 M; _$ F: v) y
  132. ;   Default Value: On$ D; Z8 H7 L: ?; p+ L# S
  133. ;   Development Value: Off
    ( V+ a8 Z, k3 l
  134. ;   Production Value: Off+ \2 j; j6 v% ^) X* `
  135. # L; E$ D. N* _
  136. ; request_order* {0 A* h, P- [0 q3 ~
  137. ;   Default Value: None
    # w' W+ V( |) d7 }2 y2 [
  138. ;   Development Value: "GP", c# O  c1 T9 r
  139. ;   Production Value: "GP"
    + I/ m2 p$ x4 A1 z2 f
  140. ) \9 ?4 X# N$ V& ?; O# i1 E8 p# g
  141. ; session.gc_divisor
    / A7 x6 l+ x! M6 e& Q2 D8 T- n& X( D
  142. ;   Default Value: 1009 u; ?4 d( E5 f9 @5 m
  143. ;   Development Value: 1000$ Z. R# U, [' r: a5 n% S
  144. ;   Production Value: 1000* q/ P: ~" E& N, X1 C, B3 x

  145. # S" i8 K0 T1 Z5 v* @
  146. ; session.hash_bits_per_character
    + `% r  z) T- V1 R. b
  147. ;   Default Value: 43 L8 M+ _$ h0 H$ O
  148. ;   Development Value: 5" ~* |4 b# |6 ]0 ^- V( A1 x
  149. ;   Production Value: 5& U) U; n; h! u# e& I6 o

  150. # a# J7 r8 |* \" n8 b2 z
  151. ; short_open_tag& w1 {0 {) i6 K" Z
  152. ;   Default Value: On; a! @" P; S- h
  153. ;   Development Value: Off: B# U: h. D! F4 _
  154. ;   Production Value: Off
    0 L! B& u. Z/ {" _
  155. * V7 ]! \0 F0 x# P1 A6 c/ y8 \
  156. ; track_errors9 Q- V$ u5 [5 \4 N+ @
  157. ;   Default Value: Off
    ! V# b* t4 T, k; s, N
  158. ;   Development Value: On& ^# A8 x8 |) D. Y) z9 S
  159. ;   Production Value: Off0 Z' \0 b; O) m0 i8 S
  160. ; V- @/ t" l) s
  161. ; url_rewriter.tags
    7 D9 i' K& X& P7 O. U( {
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 H: J' `& ]  _0 R3 T3 k5 V) S
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : Z- Z9 |) D4 q' E
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' l+ M" t6 q) l, u2 c
  165. . h# M( a3 }. \9 h0 d4 U  `
  166. ; variables_order! J8 }3 a6 S; R; |* z
  167. ;   Default Value: "EGPCS"$ C3 w2 b% s5 _
  168. ;   Development Value: "GPCS"
    ) b" {! |1 A0 h& b3 z, {
  169. ;   Production Value: "GPCS"+ J. i* u) F$ u$ M' F9 Q
  170. & F/ L5 j" a) g# P5 C7 U0 {* b. c
  171. ;;;;;;;;;;;;;;;;;;;;, O! [8 o1 t# D# y& d' `% d& e
  172. ; php.ini Options  ;
    % L7 C' a, `/ K7 \6 T( k: @4 J/ y" \  q
  173. ;;;;;;;;;;;;;;;;;;;;
    ' U8 D  ^: F8 j& u8 s" Z. i
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 C) R0 m; [6 m. N
  175. ;user_ini.filename = ".user.ini"
    6 m* u) O( x$ @4 H8 m' F0 A
  176. 7 W" V2 s  ^! x- L' T
  177. ; To disable this feature set this option to empty value6 z6 f4 }3 V' A3 `
  178. ;user_ini.filename =
    ! s0 O' G, x8 ]

  179. & F& M2 p% ]5 a0 n
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  y) v6 N" \% E  y! d: [1 c3 ^
  181. ;user_ini.cache_ttl = 300. |0 q, K$ F7 `5 s: ~
  182. * I# h( ^5 W: J. Z/ e
  183. ;;;;;;;;;;;;;;;;;;;;
      E  b% m  G# I/ ]  o, v
  184. ; Language Options ;0 ]' }; B& n/ O
  185. ;;;;;;;;;;;;;;;;;;;;! y$ o+ W! @( w. A7 G

  186. * C3 H( N$ f+ o
  187. ; Enable the PHP scripting language engine under Apache.
    8 Z9 U5 V5 u1 P% Y9 O! V8 N1 ?
  188. ; http://php.net/engine) y& r. l! b) q3 W& N+ H' p
  189. engine = On
    7 X3 w4 e# I! A2 g8 E: X6 s2 ]
  190. / R9 Y3 j! G4 b0 F$ U
  191. ; This directive determines whether or not PHP will recognize code between
      R( Q5 B4 N0 N9 g3 W$ ~
  192. ; <? and ?> tags as PHP source which should be processed as such. It is7 s: f$ f0 F2 r  V$ I
  193. ; generally recommended that <?php and ?> should be used and that this feature; Z$ n, M& B# f% o& J
  194. ; should be disabled, as enabling it may result in issues when generating XML8 n. T5 ?% ?( x
  195. ; documents, however this remains supported for backward compatibility reasons.
      m% L0 X7 `5 I  k( U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 a4 E) \) M. h4 s4 C
  197. ; used regardless of this directive.
    , s+ q& ], A3 x. W9 Y3 E7 _
  198. ; Default Value: On
    - I" A7 M9 }* N0 i; a1 G! Q
  199. ; Development Value: Off
    , M, L+ b4 K1 }9 c, |
  200. ; Production Value: Off
    7 A9 z( Q* T" k9 X5 g  f
  201. ; http://php.net/short-open-tag
    2 l0 j3 S9 G, B% X3 D* M
  202. short_open_tag = On+ X6 z/ i) ?; i% z+ b
  203. 4 Q* i; w3 t, {9 W: c# p
  204. ; The number of significant digits displayed in floating point numbers.' L9 p( r% {1 g% e3 o* Y
  205. ; http://php.net/precision
    9 ^8 d+ V2 l- P
  206. precision = 14
    # Z0 r/ T4 N" ~; o9 _
  207. " l. ^$ I% J% P1 v8 A
  208. ; Output buffering is a mechanism for controlling how much output data
    ; I6 O: Q$ _7 [) h; D8 M
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    5 t8 N8 u) ?2 N2 o; I" f4 C& m
  210. ; data to the client. If your application's output exceeds this setting, PHP
    - J+ q$ c; t8 R$ c
  211. ; will send that data in chunks of roughly the size you specify.) Z$ i$ X5 J$ E( G1 E7 Q
  212. ; Turning on this setting and managing its maximum buffer size can yield some1 `8 P. W8 F* ~" k3 \
  213. ; interesting side-effects depending on your application and web server.
    ; g$ u9 a/ ?3 \
  214. ; You may be able to send headers and cookies after you've already sent output0 @( n# V$ z; x! n, X# c+ F4 ]
  215. ; through print or echo. You also may see performance benefits if your server is' s$ k8 U6 F6 ]3 X( X  T( k5 B' U
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    5 X( R. R* I' l! \
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      D4 ~$ n: }2 X+ }9 C
  218. ; reasons.
    ; x. c7 j6 O8 G7 K/ L5 w& U
  219. ; Note: Output buffering can also be controlled via Output Buffering Control; A3 _6 Z# }4 K7 c6 B( x
  220. ;   functions.
    % T/ k6 I, F0 A3 h" A( L+ P" E
  221. ; Possible Values:, q) J2 C3 z7 u" d. @1 i
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    , j' n# }" y7 _% l7 Y0 Z
  223. ;   Off = Disabled
    % N, h! O6 P4 \2 ^6 \6 Z9 T
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 @% |9 `6 _) I. S$ x7 ~4 l9 |6 W
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 w1 W6 Z4 Q/ s+ f& ^: o# s
  226. ; Default Value: Off) c4 T* r1 X1 W' l+ R" C! l
  227. ; Development Value: 4096/ t9 d/ V: I6 H8 d& N
  228. ; Production Value: 4096
    . s8 e. ]* [2 a
  229. ; http://php.net/output-buffering
    : f$ w+ l4 `* L, P
  230. output_buffering = 40961 C7 }3 Q- P5 U+ d# K
  231. 4 m- V. J  R% S: {/ U/ S8 |5 Z
  232. ; You can redirect all of the output of your scripts to a function.  For8 H3 V! ~0 S* y: |4 }9 Z# P7 q
  233. ; example, if you set output_handler to "mb_output_handler", character- K& _5 E/ p3 Q2 e, n6 q7 s
  234. ; encoding will be transparently converted to the specified encoding.
    " C6 x" M8 t" S  C) r/ E- M' l
  235. ; Setting any output handler automatically turns on output buffering.* `  y% T2 d  \. h
  236. ; Note: People who wrote portable scripts should not depend on this ini
    % a) b9 M- }6 p2 g1 @( i6 g% C) K
  237. ;   directive. Instead, explicitly set the output handler using ob_start().7 F+ u' H- i, C- `( X, i: ^% w# i: W
  238. ;   Using this ini directive may cause problems unless you know what script
    - @$ o; g! W$ n% |' N: d, R2 I
  239. ;   is doing.
    / E, K, I7 t" d: p+ x$ k, q
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"1 C5 ^' Q: f. @# z) J
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".: _0 J2 v* ^' j# K1 R& L8 n% p
  242. ; Note: output_handler must be empty if this is set 'On' !!!!! v% g3 s7 ]( H
  243. ;   Instead you must use zlib.output_handler.
    ! Q! y9 M) Q" R) I4 v$ B1 T
  244. ; http://php.net/output-handler
    . D: r5 N/ Z6 m
  245. ;output_handler =
      J7 C" a. n7 ^4 Y) |

  246. . Z, |# V* ^& P9 }
  247. ; Transparent output compression using the zlib library" Q4 ~/ ^9 Y% O
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    . N+ M5 x0 n  f0 U9 O0 t& o
  249. ; to be used for compression (default is 4KB)
    6 a% y6 ~8 ^, @! ]$ m: q+ J. C
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP7 ^# v8 t  x- @
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 w0 [6 G& w( N/ P  c# Q8 G+ A
  252. ;   compression. If you prefer a larger chunk size for better
    4 g* v9 g/ W- F) H
  253. ;   performance, enable output_buffering in addition.: w' w; t6 d4 w4 s
  254. ; Note: You need to use zlib.output_handler instead of the standard
    9 n7 O: h9 o& t7 l, ?, l! z7 [
  255. ;   output_handler, or otherwise the output will be corrupted., u* T& s9 N1 L8 h
  256. ; http://php.net/zlib.output-compression
    $ q. r9 l) p% q5 L' q
  257. zlib.output_compression = Off
    . E$ \8 ~6 p2 S

  258. - S1 r% s5 _: i5 A0 u
  259. ; http://php.net/zlib.output-compression-level
    ) O8 \+ c% K1 a, v2 p
  260. ;zlib.output_compression_level = -1
    ' Q/ Q7 b# [. z4 P" D
  261. - K" u1 n  `  [4 M0 _
  262. ; You cannot specify additional output handlers if zlib.output_compression  R2 s0 H) `' T, F7 d; m
  263. ; is activated here. This setting does the same as output_handler but in% S, s/ g" U9 s  a/ W5 h
  264. ; a different order.' `; r1 I6 y( H6 q  v
  265. ; http://php.net/zlib.output-handler
    0 W: W$ v, V/ R3 n2 a
  266. ;zlib.output_handler =5 C) ?5 P. @$ N9 _
  267. ! \) Y! v! I3 R5 J6 w6 t
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    1 a/ J  G' b8 {5 e
  269. ; automatically after every output block.  This is equivalent to calling the
    0 y( A# O  @' E" s- K
  270. ; PHP function flush() after each and every call to print() or echo() and each' q; c. e2 m3 f0 W3 W% b$ ?: {* j
  271. ; and every HTML block.  Turning this option on has serious performance
    # o( W9 z/ a3 {$ D
  272. ; implications and is generally recommended for debugging purposes only.' n0 W* j) F, s9 v% s* Q6 ]
  273. ; http://php.net/implicit-flush' o2 \" q/ \# n% W0 d+ B3 s$ o
  274. ; Note: This directive is hardcoded to On for the CLI SAPI0 i- e7 q2 U) ?1 P- c' q8 b% Y- m
  275. implicit_flush = Off/ }5 C2 U' @% i8 \8 A4 y

  276. & c) B1 q; j+ e. B6 A
  277. ; The unserialize callback function will be called (with the undefined class'
    2 k9 N+ S% X% l- K3 z
  278. ; name as parameter), if the unserializer finds an undefined class" N$ U6 @. X1 y. y. V- g. R1 t
  279. ; which should be instantiated. A warning appears if the specified function is7 ~6 F# U3 T% J( F: ~
  280. ; not defined, or if the function doesn't include/implement the missing class.
    $ _; s# K* V5 x- v/ [
  281. ; So only set this entry, if you really want to implement such a
    1 g) n2 V* e, G8 C* V
  282. ; callback-function.
    9 V% r' P4 h! |8 q* n, |
  283. unserialize_callback_func =
    3 S  d6 N4 f! u( i# I, M
  284. 7 R" L) ~4 G9 L, b
  285. ; When floats & doubles are serialized store serialize_precision significant
    * L' ~* n) d" H8 A) I
  286. ; digits after the floating point. The default value ensures that when floats
    " o9 C( v# u% e8 l3 L! \
  287. ; are decoded with unserialize, the data will remain the same.* T* j# l3 F9 |: g. F* K
  288. serialize_precision = 17
    " z; i  ?6 Z) \1 P0 v- N

  289. ! w* t1 r" P1 E+ V4 u
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % z/ b3 c/ i  x& N# }
  291. ; and below.  This directive makes most sense if used in a per-directory1 Y7 ~5 _* e0 }! n
  292. ; or per-virtualhost web server configuration file.
    7 f( G% F2 o- S& X& u) @2 R; d
  293. ; http://php.net/open-basedir) U* b4 l8 W1 `5 B! Q0 j3 o7 o$ x
  294. ;open_basedir =+ u- q5 H; ~, |  [0 h/ G
  295. ' U. N+ n; P5 i, r9 o
  296. ; This directive allows you to disable certain functions for security reasons.
    $ ?! p. p/ p% Y: J+ o) ], q
  297. ; It receives a comma-delimited list of function names.
    ' [7 p9 n$ T2 }: C! b# V
  298. ; http://php.net/disable-functions
    1 v9 V, o& ?% H
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    5 i# u" }# e* X* I) _- `6 L
  300. 3 _- J  {6 g8 X! ~8 u- @3 [
  301. ; This directive allows you to disable certain classes for security reasons.
      Q4 A. P  u; D, z1 B/ F
  302. ; It receives a comma-delimited list of class names.
    0 o' s* q$ H5 S. D% U
  303. ; http://php.net/disable-classes7 J% |( V- R; x) o1 x3 x9 y
  304. disable_classes =
    8 l: N9 ~. i& {" k

  305. & w0 l1 I3 I* ]- N! z
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in+ y) E* f4 o8 p( d* [: p
  307. ; <span style="color: ???????"> would work.
    ( @  h* s- D  o9 E
  308. ; http://php.net/syntax-highlighting
    5 \1 n5 V9 J8 v
  309. ;highlight.string  = #DD0000
    1 Y) l' b. v) R% g
  310. ;highlight.comment = #FF9900! |4 X: ]) j9 F  H  S# a/ K
  311. ;highlight.keyword = #007700- t/ h9 n! z9 l/ r; A
  312. ;highlight.default = #0000BB
    / C5 a: M3 M* ]
  313. ;highlight.html    = #000000
      X9 t2 n0 M' Y' l1 q3 i
  314. " O8 ^' M5 X2 d% C1 K' E4 G( r
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    3 f0 A6 g. L) Q5 L1 l2 C7 _
  316. ; the request. Consider enabling it if executing long requests, which may end up7 C( Q* I& Y) b  P
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ( Q, d+ P9 u( z0 P8 r
  318. ; is to disable this feature.3 r, e' x6 T* f7 Y9 Q8 b3 e/ j
  319. ; http://php.net/ignore-user-abort$ B- e! k' w; W/ H/ I& ~, L
  320. ;ignore_user_abort = On
    * L1 x$ U. c! z' _& s
  321. , Q8 ]0 m  r; _* s: T
  322. ; Determines the size of the realpath cache to be used by PHP. This value should- x1 d. J$ w" W0 H$ x& y) O' ]
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    # Y% A( y8 F6 L7 l" ^
  324. ; the file operations performed.
    : \( T: \( }& u* }1 R
  325. ; http://php.net/realpath-cache-size- K% W* y# V& O2 s0 |
  326. ;realpath_cache_size = 4096k8 ^( N1 A& s% G5 z: O* }2 f

  327. ( x) O' ?1 p2 F. t8 H
  328. ; Duration of time, in seconds for which to cache realpath information for a given' d* e* k2 Y) ?
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    & V3 z+ A  p: k
  330. ; value.
    3 N) E. s' x. g' |4 U
  331. ; http://php.net/realpath-cache-ttl
    ; B- z5 ^/ ?3 s, b4 i0 d3 s" J
  332. ;realpath_cache_ttl = 120
    4 o% J' F9 _' J3 D5 b/ @

  333. 7 f3 S3 G4 P, N, ?8 s& S
  334. ; Enables or disables the circular reference collector.6 `6 X4 B* j$ Q" _' U
  335. ; http://php.net/zend.enable-gc
    2 p0 k% J! p: G
  336. zend.enable_gc = On
    & u, X- q# v# T  r% Q0 d, R8 @
  337. ' A5 n- i& c0 O/ g
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    0 q' n6 e4 {0 M# O+ p+ s
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 J' S) W8 Z! h7 }5 f6 e
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ! `6 U- g. f# Q  _, a
  341. ; Default: Off4 }3 C7 L% `; ]! h! ~6 C
  342. ;zend.multibyte = Off
    2 z0 E2 {1 q/ R3 ?; H3 t

  343. - `; F" `. h3 U' e, q: \1 ~5 y
  344. ; Allows to set the default encoding for the scripts.  This value will be used. O2 z4 J* W% X/ S6 B: g0 j" V8 ?1 w
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    : @# y: d' J& X0 C
  346. ; Only affects if zend.multibyte is set.
    / P9 b) T/ f% Z6 }% F
  347. ; Default: ""
    " Z" s6 y' p. a
  348. ;zend.script_encoding =9 V3 T) d8 A: @7 Z& o$ {# D  G& i+ l

  349. - ]! c* j5 X$ m* F: Q
  350. ;;;;;;;;;;;;;;;;;/ K6 N/ X( Y2 ?# A; \
  351. ; Miscellaneous ;8 V- x6 |9 q& J) D6 [3 F
  352. ;;;;;;;;;;;;;;;;;: {. O0 b* _( |: K6 ^1 l

  353. 6 M! F8 y- y3 U" z1 I: L
  354. ; Decides whether PHP may expose the fact that it is installed on the server4 H& @5 l, A: e: E
  355. ; (e.g. by adding its signature to the Web server header).  It is no security$ R6 C: O( |) l
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    0 w' h: v$ L4 d1 e
  357. ; on your server or not.
    7 M( n+ h# r7 D( S! |) T( j
  358. ; http://php.net/expose-php
    & y% t/ T; Q2 C: @- X* K
  359. expose_php = On
    8 U, E/ `! O+ ]8 n3 V" ^
  360. " t$ m: [1 Q5 Z% N1 A$ ^; b
  361. ;;;;;;;;;;;;;;;;;;;
    $ i' q' t& v- a- X
  362. ; Resource Limits ;
    3 g3 N( m3 ~7 o$ s2 G9 d0 C- n! K
  363. ;;;;;;;;;;;;;;;;;;;
    % E4 u" p# U8 m0 A0 G% F
  364. 6 T* d) h. {0 d, k4 }
  365. ; Maximum execution time of each script, in seconds) [1 U" b3 N! a+ ~/ U
  366. ; http://php.net/max-execution-time3 T# z; {$ S5 _9 o+ _$ c0 @) t7 y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( f; B) o  W& M; g
  368. max_execution_time = 300
    * ?( l% T  |& n* H8 ]3 f: r

  369. : Y3 P6 a' Y3 P( V8 W& I% A
  370. ; Maximum amount of time each script may spend parsing request data. It's a good) ], D& j3 j' ~( h1 g8 E
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly) ~/ w5 ]! U1 n& h/ d
  372. ; long running scripts.
    9 ^0 [, ~* W; y$ F1 [
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    5 x9 z/ ]$ q* w
  374. ; Default Value: -1 (Unlimited), c) v1 Z5 T$ l  ~3 I
  375. ; Development Value: 60 (60 seconds)6 g# D3 i9 x+ @9 z1 c5 b6 u
  376. ; Production Value: 60 (60 seconds)5 E9 e% M$ g' x( f7 [
  377. ; http://php.net/max-input-time
    ; P4 y7 |* d0 `
  378. max_input_time = 60/ q& S6 u6 G4 [# m- C" f
  379. . i, j5 O1 d6 f1 N- r. g6 @
  380. ; Maximum input variable nesting level
    , @2 r$ p# E4 `2 ?+ I
  381. ; http://php.net/max-input-nesting-level( Z7 K$ U" c. x0 d* X5 t
  382. ;max_input_nesting_level = 64
    . k2 H3 A8 u6 b# J# P% ?( I

  383. # O: g5 f, }+ k  [& j9 C7 }
  384. ; How many GET/POST/COOKIE input variables may be accepted
    & T5 [5 I: [4 d
  385. ; max_input_vars = 1000* x& l  _& @4 p- s
  386. 9 Z+ m; ]! @& I* z% Z6 H  u
  387. ; Maximum amount of memory a script may consume (128MB)
    9 m3 P+ ]: b) I# O: G2 |; y
  388. ; http://php.net/memory-limit
    3 A4 M- F6 \$ |0 q3 S. V5 h
  389. memory_limit = 128M
    3 M- q! ~0 k( Y+ w% [" J0 p/ @8 ~
  390. 0 X6 ]; ^1 i2 [
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 z; [, P( [7 }7 n
  392. ; Error handling and logging ;; ~0 j( |& F. F' j8 s" Y
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1 P# T5 i0 B/ A! G
  394. * Q; N  i" a2 H2 y3 A3 }$ i0 @& k
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    ( A6 Q8 j( m! ]5 I. U2 z
  396. ; it to take action for. The recommended way of setting values for this7 S% K! ^) e; I, U4 j# p; M" l
  397. ; directive is through the use of the error level constants and bitwise
    5 y. e* k- Q) \; G2 w+ h- F2 n
  398. ; operators. The error level constants are below here for convenience as well as# [' V1 D( D! W+ Q
  399. ; some common settings and their meanings.
    * [# v+ ~0 X1 T8 y# H  Z- x& t
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % {: Q$ J- W1 `' ?# y, _; F2 v
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and# T) x5 f& L0 o; v3 ]
  402. ; recommended coding standards in PHP. For performance reasons, this is the& Y& a& Z2 g7 o) d% ]/ n  Y  H
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; q2 T1 M" v2 ]# \
  404. ; resources complaining about best practices and coding standards. That's what3 \6 W5 j! f6 ]
  405. ; development servers and development settings are for.
    , x& c4 |1 n: e: D
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
      W1 N! |" h; }0 O. @6 r2 W
  407. ; means it pretty much reports everything which is exactly what you want during/ b3 e  h& T8 j4 P, f# C" C
  408. ; development and early testing." V2 f, l/ I( I* z0 y
  409. ;4 y  i- D6 z. z: I0 Q5 y+ A
  410. ; Error Level Constants:
    3 g2 b/ X, r2 k; p
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 Q3 ~% \# |* ^! I$ t( c+ k% b
  412. ; E_ERROR           - fatal run-time errors2 b+ n9 W/ j& I' Q0 w# M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    . ]: S% L3 h- S+ ^
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    - m4 p; S4 _# Z4 w% ?$ f
  415. ; E_PARSE           - compile-time parse errors' R9 E( p8 w, A+ r. W% S
  416. ; E_NOTICE          - run-time notices (these are warnings which often result0 c- X% w  U) y% ]
  417. ;                     from a bug in your code, but it's possible that it was
    4 D5 h0 u# H( [: c2 P5 I
  418. ;                     intentional (e.g., using an uninitialized variable and  N) l- N+ ^: Y* Q+ u0 U8 {
  419. ;                     relying on the fact it is automatically initialized to an8 L4 ?; Y, c- a6 @. o- o. |
  420. ;                     empty string)/ e0 M4 j5 c- E7 T
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ; Y0 _  |3 W1 `: W5 h
  422. ;                     to your code which will ensure the best interoperability& U; W# @: u# _' A4 [/ c0 k
  423. ;                     and forward compatibility of your code9 Q+ e: @7 q  E& F) H: b
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    9 X) X2 Y8 P7 _# L
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's# s& d* C: }, V% [6 S
  426. ;                     initial startup1 y: [9 y9 G8 i9 o
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ k8 K( ?( ^* ]
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ( i+ O- _  j1 U
  429. ; E_USER_ERROR      - user-generated error message9 R- H' f8 d$ [- e2 {; q2 _
  430. ; E_USER_WARNING    - user-generated warning message
    + o" i& Y. |. Z6 l
  431. ; E_USER_NOTICE     - user-generated notice message' g( J  l2 ~6 }# h. }* F
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    & A- K: n7 n/ H. A/ s  Y' t
  433. ;                     of PHP- x! P) X1 A0 P
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    % u1 U( r$ j. _, w
  435. ;3 o$ G* I, [( M3 `" n
  436. ; Common Values:1 X. J) w6 q# h3 \! |" {! K: e
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)$ d- a4 {+ Z) [
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)5 b$ P( N. ^* R& i0 M- o
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)# Y! A+ D$ [' N# B6 S' z* x" a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( P5 e" B# Y9 p6 D
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# {) A2 h- ^6 l/ i6 p
  442. ; Development Value: E_ALL3 P: z5 k7 U& p7 {7 y
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 ?" w- z! P: c$ X) ?
  444. ; http://php.net/error-reporting' e& {0 D! v2 U0 w8 p  q& X
  445. error_reporting = E_ALL & ~E_NOTICE
    5 {5 a/ {; z5 G, J/ k; ^+ F
  446. . u- h2 ~; x+ O+ \" K
  447. ; This directive controls whether or not and where PHP will output errors,
    * R' t6 m2 z) q
  448. ; notices and warnings too. Error output is very useful during development, but' i! h2 N' Q, g& _8 u) R
  449. ; it could be very dangerous in production environments. Depending on the code
    ' Q+ ]2 f# Y+ A+ m, q3 j
  450. ; which is triggering the error, sensitive information could potentially leak+ B& R% U$ ~3 R
  451. ; out of your application such as database usernames and passwords or worse.
    / y- Z* _) M  Q3 ]
  452. ; For production environments, we recommend logging errors rather than2 d/ @: m/ W+ @7 s
  453. ; sending them to STDOUT.
      e  Y. r- x' ?8 `  B
  454. ; Possible Values:7 |& I- s" a9 }6 a; e5 E: w
  455. ;   Off = Do not display any errors
    3 q! e$ {2 H) h: I3 B# P! a& d9 J% y5 d
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)9 l0 x" U* c% h, f; E; Y
  457. ;   On or stdout = Display errors to STDOUT: F8 ]5 A4 H$ I6 k6 e0 z
  458. ; Default Value: On; ]* q# j7 g0 e8 v5 F4 P3 }
  459. ; Development Value: On
    0 ^$ G) q. o) y5 Z
  460. ; Production Value: Off: s" c( V7 L8 `% z. j
  461. ; http://php.net/display-errors( ?! N& B1 Q! |: u+ X
  462. display_errors = On
    ' O# M6 b* |1 ^" Z* q# `

  463. 5 z' n0 f1 C! B+ b7 N) a
  464. ; The display of errors which occur during PHP's startup sequence are handled
    $ ]( g9 s0 E* |% j
  465. ; separately from display_errors. PHP's default behavior is to suppress those: ?+ _2 t, }) v- Z2 I: {
  466. ; errors from clients. Turning the display of startup errors on can be useful in( o" }2 {0 e! |6 D1 F
  467. ; debugging configuration problems. We strongly recommend you
    & E* d7 y0 x) B. {7 @# o! E9 T
  468. ; set this to 'off' for production servers.
    $ e* R7 @6 x, i9 J
  469. ; Default Value: Off2 p* V! h% w8 {" k
  470. ; Development Value: On
    & q& Q: C( h: P( B2 K
  471. ; Production Value: Off& o, a  ^- X- s+ {& C
  472. ; http://php.net/display-startup-errors0 N5 C7 t9 F9 b9 ~4 t: \7 |
  473. display_startup_errors = Off
    9 |; K5 o- |  ~, ~

  474. / y/ I( [0 f9 |
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ! }3 \: |$ e3 G* _9 |, |- \9 \! H
  476. ; server-specific log, STDERR, or a location specified by the error_log. c( \1 v  q, F
  477. ; directive found below. While errors should not be displayed on productions
    $ S& j& Q$ Z- q: x
  478. ; servers they should still be monitored and logging is a great way to do that.
      x) C# x7 ]9 b, @6 Z/ t
  479. ; Default Value: Off. c4 Q- k# U6 t& d2 k
  480. ; Development Value: On
    6 e/ {& c0 A& z6 p; I
  481. ; Production Value: On7 y, O: b4 f* Z) Q- A
  482. ; http://php.net/log-errors
    ' F7 R" [1 `6 f+ C! Z
  483. log_errors = On
    " G# T  D1 p2 r3 m5 v. W& m4 c) E

  484. - c4 S7 ^' f* t+ O: [
  485. ; Set maximum length of log_errors. In error_log information about the source is8 j8 j: I' p% `$ X  Q
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) z& c8 S  p" ?4 ^
  487. ; http://php.net/log-errors-max-len1 K' y( s7 ~: p4 G6 G% i, y
  488. log_errors_max_len = 1024
    % c4 }. ]! Y0 e. i2 G

  489. $ T1 J( U, `+ g$ j& R% k/ m' ]) p
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same; o8 Q! Z$ H6 z8 y$ o7 ^) U  n5 q- ~
  491. ; line unless ignore_repeated_source is set true.2 F1 p2 ]) U6 F3 |6 _
  492. ; http://php.net/ignore-repeated-errors6 h  M4 S" k& T* d# ?+ W* q+ E* M
  493. ignore_repeated_errors = Off
    / v; [, a& b! I4 Q2 ~8 R
  494. % p- `) _% W+ v2 L+ e6 [
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ; p8 {% P7 m% a7 w: ~
  496. ; is On you will not log errors with repeated messages from different files or
    - T( t. @+ n- n/ y! d( p1 P
  497. ; source lines.+ }0 Z0 u  o5 Y7 D+ K' K! d
  498. ; http://php.net/ignore-repeated-source. f( }- w" [  t! J5 L- _6 X# M
  499. ignore_repeated_source = Off
    + ?1 ?: n- ]1 m0 X  l- Y
  500. 6 X; V- ?$ _4 z4 N/ I
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    : x5 [- m( L) @; W3 f2 m
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    $ w1 k, T% t$ M  b5 Q+ ~  \
  503. ; error reporting includes E_WARNING in the allowed list- b4 Z+ P  m: d0 A: Y. L
  504. ; http://php.net/report-memleaks
    + F* K' M9 j5 S9 m4 f; O" V( W
  505. report_memleaks = On# T/ j! [3 h+ v1 i: g* ~

  506. 8 \8 H' ?+ _) H1 c4 W4 D- N1 j
  507. ; This setting is on by default.' y: \, `' {( K- o
  508. ;report_zend_debug = 01 E5 z* s5 j! F7 d. ~4 P" H; m* T
  509. ( y! E& B3 {8 O# C* m2 Y/ @
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value1 {$ E2 q; u4 |
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    8 Z$ D; M" L+ ?# R
  512. ; however be disabled on production servers.
    # D6 C) ?; j$ [3 m
  513. ; Default Value: Off1 v: ?! q. v# U' ^* E( }
  514. ; Development Value: On
    ) S3 b+ Z3 x# u1 m/ z
  515. ; Production Value: Off
    / D; c' x! |' }+ s7 a
  516. ; http://php.net/track-errors9 B* ~& N4 @# o5 P
  517. track_errors = Off
    & W1 R) c: g, L( G( M

  518. ( h0 c0 S6 G, c# g' l
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    5 x; I- U- K2 k; j5 v4 h4 W
  520. ; http://php.net/xmlrpc-errors$ G0 i$ A  r, c/ }' F' l
  521. ;xmlrpc_errors = 0
    ) W0 M& s9 J" t8 O4 O
  522. ' H( {% o9 e" E& j' @  l' E
  523. ; An XML-RPC faultCode8 C6 `( L5 p; f" N/ s
  524. ;xmlrpc_error_number = 0
    " S# `+ o8 [4 J1 h1 O& Q; }5 o

  525. # q' ~, C. L' t- ?, G
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    2 Z7 E7 ]! D. k5 Y; j
  527. ; error message as HTML for easier reading. This directive controls whether. s6 k; t: d; y) I4 t, D
  528. ; the error message is formatted as HTML or not.8 A% m7 `/ C# \; Q4 ^
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . R% }) j" Z2 T: Y# P
  530. ; Default Value: On
    & A. q" x: n$ i- P1 j; `1 G) y
  531. ; Development Value: On$ y' U2 \; t, N. [" {; p- r1 ~; D
  532. ; Production value: On3 ]# @3 X- O$ [( W$ e
  533. ; http://php.net/html-errors/ x7 A$ s  y* z% D7 S& [
  534. html_errors = On
    9 V1 x9 y4 r" U

  535. $ J6 h; L5 B5 {: h, \
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    6 g8 n$ ~1 j4 {% o
  537. ; produces clickable error messages that direct to a page describing the error7 }& l. O0 R0 f$ a& H1 p% [
  538. ; or function causing the error in detail.
    ; j8 K- j1 T' v% E6 j, d
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ( W* Y1 f' G5 j0 ]. g0 U% _1 Z
  540. ; and change docref_root to the base URL of your local copy including the* ~% i' W+ P5 I( b6 c, X
  541. ; leading '/'. You must also specify the file extension being used including
    6 o8 z$ x8 b! a1 F% Y. C& m+ J
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which8 D% N6 y  w- H
  543. ; case no links to documentation are generated.
    + c6 W3 ?' s  c, ^9 ^! K
  544. ; Note: Never use this feature for production boxes.$ g* A4 ^! h; o7 E0 Y
  545. ; http://php.net/docref-root
    & O: N$ K3 b! j5 t2 R* j3 G6 x4 ?
  546. ; Examples* b7 g: J( e" G2 P3 E( n
  547. ;docref_root = "/phpmanual/"
    4 _. P  q4 ]% V6 y7 j3 S3 B) v3 k

  548. : F" O: K) L3 H  U
  549. ; http://php.net/docref-ext1 T7 _6 a! c1 z. }6 {! s
  550. ;docref_ext = .html
    / l! A8 U; L9 e/ g( B! W% X
  551. 6 x# D  G# U8 @. Q$ G+ l0 H
  552. ; String to output before an error message. PHP's default behavior is to leave
    ' `6 {5 i" a$ @3 u8 V8 M
  553. ; this setting blank.
    / e( ]' h8 ]* D4 c5 s8 y
  554. ; http://php.net/error-prepend-string
    - h3 y* \! q3 Z/ X% x  E) Z
  555. ; Example:
    & @# T8 W! y/ `# B
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    * }4 Q3 L4 p  f3 g

  557. * h2 u' G1 x( n6 [2 D
  558. ; String to output after an error message. PHP's default behavior is to leave
    8 c1 Q5 i! S/ O  s" y$ e" J6 v
  559. ; this setting blank.# h- l8 D3 B: p( x. t$ w( l
  560. ; http://php.net/error-append-string' P& w% }4 A7 n/ C1 a: F" O: M" [$ T5 r: B: X
  561. ; Example:6 N4 h9 m3 c3 K/ j3 k2 A8 O6 `. o
  562. ;error_append_string = "</span>"
    : U& u8 @( a4 j" _9 t2 Y

  563. : v+ }2 i" F( D- i7 l
  564. ; Log errors to specified file. PHP's default behavior is to leave this value" o+ S9 r& ^% q" `, [4 K
  565. ; empty.
    / u% m, k7 f$ M6 o6 i
  566. ; http://php.net/error-log
    * k% z( q$ h) ]/ M% m
  567. ; Example:
    " b, v$ O; H7 S- ~, C' Y
  568. ;error_log = php_errors.log. R- E6 F+ e* m- w, R1 B( N
  569. ; Log errors to syslog (Event Log on Windows).
    ' i" {/ h: {2 V8 r4 Y/ _: Y
  570. ;error_log = syslog8 Z8 f+ p2 m) t2 W1 D2 I4 p
  571. $ X) v0 d8 ^( I# c
  572. ;windows.show_crt_warning2 [8 r1 f5 e, c1 J& q4 Z
  573. ; Default value: 04 k) E: `. Q2 Y7 F3 J
  574. ; Development value: 0
    & }( ^; o7 w- Z. O9 E1 a. Y7 R* c& S  |
  575. ; Production value: 0
    5 z/ r6 v9 f+ g* h) R, S

  576. $ d$ q6 a+ V6 v0 S
  577. ;;;;;;;;;;;;;;;;;
    9 R! F- V) h. _$ t1 p% H0 e: }
  578. ; Data Handling ;/ @6 G& m: d' W& J! i" U# x
  579. ;;;;;;;;;;;;;;;;;; L: G/ R+ a2 O; U+ Y
  580. ' j. t$ i; W( F' d- q1 S, ~- J$ d2 w
  581. ; The separator used in PHP generated URLs to separate arguments.- Z2 X6 ~$ h" M' Q4 k7 t
  582. ; PHP's default setting is "&".
    + C) _+ ?- D2 _* x+ l. q
  583. ; http://php.net/arg-separator.output
    ( B- v  s  p. g2 g+ R3 ~# [. D8 V0 r
  584. ; Example:
    % m- g, g  A' P5 }& L% b7 i- R
  585. ;arg_separator.output = "&"+ X: @. h- _4 ^9 |/ m, O8 [
  586. / o7 H# V3 j7 F4 S& y2 m2 H; E
  587. ; List of separator(s) used by PHP to parse input URLs into variables.& m3 E! E  M, Q& p' v. Q
  588. ; PHP's default setting is "&".
    0 O. f) k+ f% @: [
  589. ; NOTE: Every character in this directive is considered as separator!6 W! z. j" F( Z( I& p6 S1 ^9 p! V
  590. ; http://php.net/arg-separator.input( _5 a* ]: n4 P5 K
  591. ; Example:1 X$ X* v; h5 n+ V
  592. ;arg_separator.input = ";&"
    / g: S9 B8 y8 m% E# ~8 N% Y

  593. + m& M' l# ?/ H; b' e& n/ m" C
  594. ; This directive determines which super global arrays are registered when PHP5 G5 @) m6 j$ ~4 |; g8 ]: Y# X/ R
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super) l% f" R* {: T' P6 B
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    * S( R! N( B8 s" z; F
  597. ; paid for the registration of these arrays and because ENV is not as commonly
      h: y3 ~/ ]+ Q& I% p& u5 H
  598. ; used as the others, ENV is not recommended on productions servers. You' R  q4 Q  z% Y( u* d
  599. ; can still get access to the environment variables through getenv() should you
    % O' L( Y  C1 U$ M7 l* t
  600. ; need to.
    ! b5 N6 G( H: E( N8 {1 R
  601. ; Default Value: "EGPCS"
    ' J  [: A, S- b: E' D
  602. ; Development Value: "GPCS"
    : {$ b. p' V1 O: ~
  603. ; Production Value: "GPCS";' \4 P% \$ {# j) M. K9 @4 W. p
  604. ; http://php.net/variables-order
    4 D2 J* m2 B6 b! m' v3 _. @6 M
  605. variables_order = "GPCS"# C3 T& n' o- J9 H- R# y+ _
  606. ! E; [' b  C$ q
  607. ; This directive determines which super global data (G,P & C) should be
    , A3 O/ L6 e4 k3 t& ^5 G5 x5 s# l
  608. ; registered into the super global array REQUEST. If so, it also determines
    $ r5 b2 x) p$ @! ]
  609. ; the order in which that data is registered. The values for this directive
    * N2 A, @# |* n8 f. Y% p
  610. ; are specified in the same manner as the variables_order directive,
    : g2 z2 Y2 s1 j
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ( w2 m0 h: D  N( E: f8 [
  612. ; in the variables_order directive. It does not mean it will leave the super. J: B. K# U, X6 Z# n
  613. ; globals array REQUEST empty.
    + D3 d  _, |1 p  P/ n
  614. ; Default Value: None; q" j9 ]0 o. j
  615. ; Development Value: "GP"
      R3 E9 G4 r6 c; U3 y$ h' {" M
  616. ; Production Value: "GP"
    : k( X1 l" }$ ~. c3 R
  617. ; http://php.net/request-order
    2 v  p! W9 Q6 w
  618. request_order = "GP"! }- M8 d) c6 o! l. X. H. J

  619. + g- T0 m9 x6 V; w( `% ]
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    * U# C: z3 o2 S4 P: h: t% ]
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script  A0 Q0 V2 r9 N+ d( E3 R* o9 L
  622. ; is invoked. $argc contains an integer representing the number of arguments
    4 ]2 c; ~6 O! |$ q6 z9 ]3 m( @
  623. ; that were passed when the script was invoked. These arrays are extremely
    6 O8 c; B2 X+ x5 K6 U& |
  624. ; useful when running scripts from the command line. When this directive is) ^" g, f7 [' |
  625. ; enabled, registering these variables consumes CPU cycles and memory each time( F+ h7 T- u: M7 i0 ^
  626. ; a script is executed. For performance reasons, this feature should be disabled7 j7 I( w" r  g$ G4 J9 o! H
  627. ; on production servers.
    7 [2 h  x8 T. A! ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI  a' R2 _/ R4 `& W3 C; K
  629. ; Default Value: On
    . _9 w* B3 t( l4 W$ {! F: Z/ E
  630. ; Development Value: Off* V# z  C: W' G; R1 _% x1 _
  631. ; Production Value: Off4 Y5 K- r, [- c! D- x2 ^0 o/ K
  632. ; http://php.net/register-argc-argv
    ! z- \2 @- t  |5 K  {/ Y
  633. register_argc_argv = Off: U7 y( A% C- @' f. w

  634. 9 i7 z) Y5 R% [6 _$ j
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're, j7 Y+ v& ^* S+ a
  636. ; first used (Just In Time) instead of when the script starts. If these
    - I8 T, l! p* U7 x1 s
  637. ; variables are not used within a script, having this directive on will result& w8 ^' e% A- @' K! l
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled. T! l  _3 C( F3 \, i
  639. ; for this directive to have any affect.
    6 N. ~; Z+ h$ k5 u
  640. ; http://php.net/auto-globals-jit0 l- ?: f' E" u, h2 V& L, f
  641. auto_globals_jit = On
    : D- M+ |4 a; L5 g1 ?7 m

  642. * L/ c0 U! T/ }) J
  643. ; Whether PHP will read the POST data.
    4 y0 ?- b/ C' k' V0 H- n
  644. ; This option is enabled by default.4 o0 e$ A+ |2 {4 K" [8 @
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST: p) P9 E% q- H6 B3 y: w' `& s
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    7 b; _" {2 o3 f/ K) u. [
  647. ; POST data will be through the php://input stream wrapper. This can be useful6 Z% z5 o2 t# |8 A
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    . ^3 Z, m4 F( w0 k  V1 g
  649. ; http://php.net/enable-post-data-reading7 l  c  O# p$ j3 o
  650. ;enable_post_data_reading = Off
    . y$ w& S# @" H& ?9 b) `# Z7 G" v/ ]
  651. 2 I- i/ X/ N/ W' Q2 e! C, \
  652. ; Maximum size of POST data that PHP will accept.& a% d. N' M4 Y/ A' M8 t
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading$ X) {: \/ z- Y: C0 V: R9 V+ R
  654. ; is disabled through enable_post_data_reading.
    - O1 b' ~& w" \" d2 C& v3 Y
  655. ; http://php.net/post-max-size+ j6 e9 h3 ?' u' v
  656. post_max_size = 50M
    / b& y6 ?% D2 |- w' S3 _. z( Y( O
  657. ( s$ y* i1 v3 @- F3 @
  658. ; Automatically add files before PHP document.- i: s" R! d# i9 c, A2 q6 i1 Z; h
  659. ; http://php.net/auto-prepend-file4 j( S" D8 L7 p4 p* G1 o
  660. auto_prepend_file =
    # w  J8 R: r+ \# V0 G) E9 H

  661. 3 n# G% M: N5 X
  662. ; Automatically add files after PHP document.# B+ K5 u3 m- b7 a8 e* A" ?9 c5 K
  663. ; http://php.net/auto-append-file+ Q3 I0 E' B. i/ ]' l5 j
  664. auto_append_file =* ~7 d& k- N) F  V) y

  665. $ [1 g8 j! i5 j$ W$ c
  666. ; By default, PHP will output a media type using the Content-Type header. To
    0 V( D6 ~2 r- {' m) T0 b, x
  667. ; disable this, simply set it to be empty." x. m. y' n% T; F  P
  668. ;* }, ]) M1 L0 T. U8 K5 v9 H) o; S* m
  669. ; PHP's built-in default media type is set to text/html.
    9 \' o2 ^- C+ U
  670. ; http://php.net/default-mimetype3 D7 |& ~* W. X
  671. default_mimetype = "text/html"
    4 z  W% @5 c; t! t- x, T3 H

  672. ; ~2 x9 D, r4 |$ D2 l
  673. ; PHP's default character set is set to UTF-8.
    9 e) k- Z& I9 Y0 L7 i6 W& z! h/ I
  674. ; http://php.net/default-charset7 Y+ U$ w4 z3 g/ I3 c+ C
  675. default_charset = "UTF-8"
    . q3 \+ w* f. |% A  u" H3 Y( h) J

  676. ! n3 ?8 S5 G; k: V7 t
  677. ; PHP internal character encoding is set to empty.0 U7 M  x9 u8 r. h2 a& q7 }* E
  678. ; If empty, default_charset is used.9 Z+ I  ^' b6 e. U; ]* s8 G' z
  679. ; http://php.net/internal-encoding2 z# q% e1 j# K5 s! b. ^1 O. n
  680. ;internal_encoding =, L( _* {/ [0 x/ J( K4 @6 R! S6 w

  681. , O5 \' Y- y9 G3 r+ h# ^" J. ?
  682. ; PHP input character encoding is set to empty.
    , t1 b6 z* L* Y, U9 @3 H
  683. ; If empty, default_charset is used.- j4 ^. t0 v7 `
  684. ; http://php.net/input-encoding
    * \7 [8 l  o3 z
  685. ;input_encoding =
    1 S$ ^  A/ u* ?, T
  686. " o4 K1 [( Z& \6 h0 @
  687. ; PHP output character encoding is set to empty., D0 \& l! Y7 {2 R" L+ o9 I$ O$ l! Q8 D1 ~
  688. ; If empty, default_charset is used.
    9 f3 p- P! E0 T' C( n  C
  689. ; See also output_buffer.3 p' Y4 Y. D' O% ?
  690. ; http://php.net/output-encoding, V0 P( f9 u, T( B1 w9 a
  691. ;output_encoding =; a# A" k; S+ X8 |
  692. ; `- Q1 w3 w2 L! }
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;& w6 p' x( J4 x" U, `3 }
  694. ; Paths and Directories ;+ G1 q/ i+ ~5 H
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, Z4 D% ~" @9 e* v" R

  696. 8 m. y! m! [$ D, t; l- A3 j* |6 O7 `8 d
  697. ; UNIX: "/path1:/path2"
    5 K6 @4 |+ U  A
  698. ;include_path = ".:/php/includes"
    ) V2 Z' z" k. P
  699. ;
    % t6 X- W& m* M5 }0 @
  700. ; Windows: "\path1;\path2"
    8 T7 r* ], d' f. f! R' h# [
  701. ;include_path = ".;c:\php\includes"
    ' ~$ V3 _" W0 b. B8 Z6 o8 N
  702. ;+ x; J$ \0 k; ~8 s" L9 F! v" W
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    # c2 \$ o, S0 I
  704. ; http://php.net/include-path
    4 V  ~) O! x. X! q7 A, M7 n& h

  705. 4 }0 m) j+ a+ ^% C* n
  706. ; The root of the PHP pages, used only if nonempty.
    ) B3 l# k/ }, G
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root8 y* c- z& M, f, K
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ) x4 Y; P3 W3 B( Z) O
  709. ; see documentation for security issues.  The alternate is to use the0 s6 ?" x/ e, f4 }9 q
  710. ; cgi.force_redirect configuration below
    + m& l/ u! r3 b' g$ d# u
  711. ; http://php.net/doc-root
    0 t7 j  w# B' r+ Y8 i; W" ^# a) h
  712. doc_root =& `! c, C: ]$ J' P5 M$ f: D

  713. 6 R) z( K4 V0 r+ z/ b6 u) p
  714. ; The directory under which PHP opens the script using /~username used only: o' w+ J: }4 K' L5 I: V* R% j1 i
  715. ; if nonempty.
    ( U7 [+ N( G+ p) l
  716. ; http://php.net/user-dir
    2 Z1 w- X1 k6 b
  717. user_dir =
    ; w: L; [$ D* X0 F
  718. + D. o+ U, S, l
  719. ; Directory in which the loadable extensions (modules) reside.  I/ Y0 @- h$ j3 Z- z* O2 n8 ~
  720. ; http://php.net/extension-dir
    4 |+ k6 A  y. g  h4 z- ~% p
  721. ; extension_dir = "./"
    # n$ H. ^8 P/ R/ @: `1 v
  722. ; On windows:* v5 m; h4 E9 `, f( w
  723. ; extension_dir = "ext"
    ' s1 f0 w2 b. {" S

  724. % E( ?8 |& `: {4 [" `0 y- a- T/ v$ X
  725. ; Directory where the temporary files should be placed.
    . U( y+ {6 ~" F
  726. ; Defaults to the system default (see sys_get_temp_dir)' f( y: M" @4 `3 }
  727. ; sys_temp_dir = "/tmp"' z9 a+ ~* {# d8 o0 S6 V* s) }8 p
  728. 4 G7 ^) F9 z$ E+ D# J4 E
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work5 i: X, p: b9 l2 J0 A
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    2 j* I# e" e1 x6 y' O7 j9 Z8 ]
  731. ; disabled on them.
    8 l: w7 Q& R. H# K+ p7 r+ J5 A- _
  732. ; http://php.net/enable-dl
    + ~4 J5 T% _8 V$ U& x* g
  733. enable_dl = Off
    " u7 {' [- K+ n; D6 y: {
  734. * j$ w4 _4 ~! b2 e$ p
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    1 P$ _+ \( H  k* P* o5 p6 J: E
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can6 [, E& f1 E3 w+ [' i' n
  737. ; turn it off here AT YOUR OWN RISK
    ) P* L$ t  ]* Q3 n! `
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , E0 r- a3 P! T0 j, O& N; T$ T# E0 z
  739. ; http://php.net/cgi.force-redirect% C' y! Y6 I  z* b* ?: h# x& A3 v* @! \
  740. ;cgi.force_redirect = 1" [5 ?) b/ J4 A& v9 l% f
  741. 6 T5 C4 V) @7 }; W! ?% v$ S' N
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    5 x' p5 V$ Q6 E5 [9 A9 Q- B
  743. ; every request. PHP's default behavior is to disable this feature.
    * ?8 o8 Z9 X% M+ v/ i. R4 d8 z! ?2 I+ y
  744. ;cgi.nph = 1
    ) u8 M2 }5 q# o. i! w5 ~

  745. / x8 G+ i+ h* N+ h1 u
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) p4 X" K6 I4 G# V9 ]
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, u4 k6 `/ l& m8 Y, q% [
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    6 ~2 {8 p+ E% q) ]- l" T3 x
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.2 T0 h* X9 j/ e- U: B8 N
  750. ; http://php.net/cgi.redirect-status-env
      w# S8 L- U- X/ ^% k. m; N
  751. ;cgi.redirect_status_env =* s1 H3 A  _0 ~' r
  752. % n4 L9 f4 T* d4 a* F" u; O' g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & G: _+ h, c  I& {, @! r
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ ~4 c+ N3 O* I. D
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! s9 O6 r# b0 t; d; \
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    7 J& n4 U8 L# O7 h+ q+ W* ^5 g' o
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    . f  s) u6 K+ z1 j7 [
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.- N# n' H* r1 ]# a& e2 K! f' Y
  759. ; http://php.net/cgi.fix-pathinfo5 y; S& v: j; O$ q( s. o" p' y7 z
  760. cgi.fix_pathinfo=10 ~! D5 ~7 T, x8 c  z$ ^3 N
  761. 4 n1 u8 k$ g4 @) P6 I- U- ^3 Q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & C3 L. s. R! W9 ]% K
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    2 X* W3 o) U' P$ f3 z# R$ ]/ D" r8 t
  764. ; http://php.net/cgi.dicard-path
    . f. x% \8 k) N, x
  765. ;cgi.discard_path=13 ^6 W) Q6 ^6 w1 Q- C! @+ g

  766. 0 ?) B. s" p  H8 z
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      E( g) _. e+ J5 s9 M6 [5 X$ T7 ]
  768. ; security tokens of the calling client.  This allows IIS to define the
    9 i# n" w. o2 ^0 q' v
  769. ; security context that the request runs under.  mod_fastcgi under Apache! `) N* c, q& S+ g4 R" R4 T
  770. ; does not currently support this feature (03/17/2002)
    , D' q4 o/ c" \
  771. ; Set to 1 if running under IIS.  Default is zero.; ], `" o9 V6 B1 K
  772. ; http://php.net/fastcgi.impersonate
    / b, w4 t+ i! C& e8 [
  773. ;fastcgi.impersonate = 1" L0 s7 C8 d: U

  774. : Z9 p+ Y# Y2 i5 x) T: r. P% x
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable3 b- E3 S# Z8 \) y# J: |) ^( C
  776. ; this feature.
      m, y; I$ X$ q& J& P6 O
  777. ;fastcgi.logging = 04 Y! W# }" r* [  s3 u9 n
  778. % R$ \- }: b/ O7 ?/ T
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 K# W' B% j. Z2 ], |; {
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    9 [% M9 x) ?/ _
  781. ; is supported by Apache. When this option is set to 1, PHP will send6 Y2 [& C7 q. E3 U5 P6 h" @
  782. ; RFC2616 compliant header.  u9 y4 ^2 ]- ~5 H% O
  783. ; Default is zero.: D; u/ @. @) Q, H9 W5 [
  784. ; http://php.net/cgi.rfc2616-headers
    & Y* ?6 m6 G: b
  785. ;cgi.rfc2616_headers = 06 b% h7 Q9 T* C2 Z1 Y0 u3 _- w

  786. ) d. f8 _2 `( C" @9 x& [
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!3 b+ x) O& f) g( w9 z
  788. ; (shebang) at the top of the running script. This line might be needed if the
    6 E. |5 ]# n0 _8 k- x; {* R* X
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    7 }, P) y& ^1 O$ w6 E9 l. j
  790. ; mode skips this line and ignores its content if this directive is turned on.
    . x7 c7 n: }- T8 Y, \$ a
  791. ; http://php.net/cgi.check-shebang-line
    " h& i' ~8 U1 N2 w5 x) [
  792. ;cgi.check_shebang_line=11 u6 ]9 N1 p7 v  C; ?
  793. 2 S, d0 d6 V6 q5 }: S
  794. ;;;;;;;;;;;;;;;;
    ( g3 m$ q' Q. Q
  795. ; File Uploads ;6 s9 r# }; N+ X! v1 X
  796. ;;;;;;;;;;;;;;;;# z' H' V. f9 y9 ~
  797. # [) Y; }: J& [1 A. G% o! ~. ~7 F
  798. ; Whether to allow HTTP file uploads.
      D' F, J" e5 i  w% T
  799. ; http://php.net/file-uploads, l" x: a$ G& Z
  800. file_uploads = On; {3 |. {: t- w3 ^0 @8 X& {

  801. " s+ Z6 M9 L, X3 m
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    * R& K! I0 r* b& V/ u+ R
  803. ; specified).! h; P. j0 r/ |6 G9 E
  804. ; http://php.net/upload-tmp-dir: [4 H6 X2 I4 f; \4 I- ]* n
  805. ;upload_tmp_dir =/ A; W% S4 n, m& f4 e$ G' Z7 ^

  806. 5 a' ^. ~4 Q: X6 h! I; g
  807. ; Maximum allowed size for uploaded files.
    # x- P/ X; j) P# C+ B
  808. ; http://php.net/upload-max-filesize9 _7 W8 v( D7 I" w" H2 b
  809. upload_max_filesize = 50M
    0 L6 X4 g" ~4 g
  810. " a& O, v9 I1 _
  811. ; Maximum number of files that can be uploaded via a single request& u2 G7 P0 N3 Y
  812. max_file_uploads = 20- K! T" Y* T& Z- ^) [4 }
  813. : v: J2 m  G; q: m
  814. ;;;;;;;;;;;;;;;;;;
    4 ^/ s3 V" ?3 Z/ P
  815. ; Fopen wrappers ;
    - b2 |% b: P$ L0 P# r6 F
  816. ;;;;;;;;;;;;;;;;;;/ O3 ]. U4 f5 ]! q
  817. 0 s( ?3 ]# H2 I) K* I
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    1 Q2 P3 M1 Z# u. M$ U
  819. ; http://php.net/allow-url-fopen
    : c1 F+ r. w0 `6 O& a
  820. allow_url_fopen = On/ r. n/ b% ]2 ^
  821. 1 Y& E+ L' i; p9 A; P. K7 M
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 T! Q# _. o- L  I* K! B0 K
  823. ; http://php.net/allow-url-include
    5 ^/ x$ R; z9 l8 s4 @+ H0 e
  824. allow_url_include = Off5 ~) u) b+ @  b
  825. + E+ y8 ]# z0 N- ^# u1 F
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    & d9 M' U/ a  h
  827. ; for this is empty.
    ) C& J; Y. C2 @
  828. ; http://php.net/from
    " i# R6 z" F) S9 ^1 Z2 j$ f  q
  829. ;from="john@doe.com"$ P* V; G; ^. `( i  }' S. ~; G' V
  830. 5 ^2 x$ Y' X, g4 h' l+ e  }# @
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 e( ^4 B, {9 y" g* S- G
  832. ; http://php.net/user-agent
      }3 g, D2 s! |
  833. ;user_agent="PHP", d5 u- C1 o9 V  V6 Q
  834. 6 q/ p( o8 F- q3 u. w
  835. ; Default timeout for socket based streams (seconds)
    ' m6 Y7 q' s0 B. h
  836. ; http://php.net/default-socket-timeout2 e  P8 i1 r) ?4 N$ O/ G% ^! N  p1 _
  837. default_socket_timeout = 601 A1 \( N. r* V1 g* \2 l
  838. # t7 c% {$ B: |5 b, u% w% v
  839. ; If your scripts have to deal with files from Macintosh systems,- S1 s& ?; y! P
  840. ; or you are running on a Mac and need to deal with files from
    & X# h7 E. j0 n3 H4 l
  841. ; unix or win32 systems, setting this flag will cause PHP to* o+ j. m! a, S$ x0 s0 A
  842. ; automatically detect the EOL character in those files so that. ~$ h$ @( T( Q4 b& O3 h" d4 R
  843. ; fgets() and file() will work regardless of the source of the file.# s& L% Y1 }* [) z2 p& W% J' O
  844. ; http://php.net/auto-detect-line-endings+ y2 D" F" D* A9 R
  845. ;auto_detect_line_endings = Off4 \& P$ W% e8 R1 u4 M2 X2 C
  846. 5 `& b  g' w3 x4 K& G
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ) A4 R- ~2 Z2 ^! z2 Y' d
  848. ; Dynamic Extensions ;( I, ^" W" T  M4 A* [7 X
  849. ;;;;;;;;;;;;;;;;;;;;;;
    / d1 P) L) U) }6 s: g  Q$ r  J: {

  850. % K" L* u# e" p7 D0 i3 k( [% q
  851. ; If you wish to have an extension loaded automatically, use the following
    ' F$ _6 i6 Z0 d4 b7 w
  852. ; syntax:( l, c. F# h% u* I* A( Q' o
  853. ;
    & N8 i: p4 o* J- n: X' S" V
  854. ;   extension=modulename.extension+ t: w0 `) n6 o: o
  855. ;
    / ]0 l4 J% N- \+ Q8 }
  856. ; For example, on Windows:
    3 M1 q. N; R$ f9 B. A1 n2 s8 t' v' l
  857. ;
    8 g6 h( d4 {4 m% h2 W+ y/ l
  858. ;   extension=msql.dll+ s2 `- U( P1 [# v3 G  m1 A* B9 k
  859. ;
      I+ e" a4 ^* K+ E' ~% r& {
  860. ; ... or under UNIX:
      W4 |+ }7 \$ }  v8 x( S
  861. ;
    , Q3 `% g+ \! e# M7 k7 N
  862. ;   extension=msql.so: L4 R' X4 r, J( Y. A2 R- Z
  863. ;
    0 Y& l& }3 i% Y+ Y1 P, {' B
  864. ; ... or with a path:
    4 E  q) w7 v& [: [# h$ T
  865. ;2 x. `1 R1 I0 e3 {3 u; s! o
  866. ;   extension=/path/to/extension/msql.so8 _+ B$ h- A/ ]; ^5 u' R/ C0 w2 }
  867. ;
    ' e& o. U! `, O( g% ?
  868. ; If you only provide the name of the extension, PHP will look for it in its
    + B% Y- H' E: r# H( }  z6 W" a+ k
  869. ; default extension directory.
    ) H9 d, \1 _6 }  f7 m
  870. ;6 G# r7 P8 q& B& D$ u1 y3 [
  871. ; Windows Extensions
    $ G0 c1 X7 ^9 O: Y( G
  872. ; Note that ODBC support is built in, so no dll is needed for it.2 o  ~! e# ?! r. R6 W0 n
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)1 \. i3 n0 }( a' c5 |& k
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    / D1 h3 r: s6 N7 O7 J# }$ P
  875. ; Be sure to appropriately set the extension_dir directive.
    1 m, G/ |! M# [( t8 O
  876. ;8 B- T. v" d2 M8 h4 g
  877. ;extension=php_bz2.dll5 ?2 e& @0 c+ `" {2 V! ~2 o, S
  878. ;extension=php_curl.dll1 U  c8 i' m# l4 z! e! x! I8 }
  879. ;extension=php_fileinfo.dll3 e  u; \: U& |5 ^( i- B- ], n
  880. ;extension=php_ftp.dll4 G0 ?4 W0 o' x) O, l, a
  881. ;extension=php_gd2.dll& P9 E8 l6 T4 L5 @5 ~( h- d. P8 T
  882. ;extension=php_gettext.dll+ U5 P- Z# Z  R; G
  883. ;extension=php_gmp.dll
    * D+ r7 G: |+ T! \2 x
  884. ;extension=php_intl.dll
    : @# \% X5 Y) _: M" C/ h
  885. ;extension=php_imap.dll
    0 j2 c% w6 \# q# i9 Y
  886. ;extension=php_interbase.dll
    3 c) c1 U- b8 Z/ ?. j4 B% S
  887. ;extension=php_ldap.dll4 Y/ Z& u  q4 G" Y. @# A& W1 x
  888. ;extension=php_mbstring.dll+ @) j- @- f+ {" B- _4 Y
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it2 f6 I1 M: b2 f7 c' I
  890. ;extension=php_mysqli.dll& a# _  N2 o4 n* u, w# {! E
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client9 I7 x% @: O0 ]/ I0 W  D, u. O# \
  892. ;extension=php_openssl.dll
    # h! y+ D5 S( P% P6 T! I4 W
  893. ;extension=php_pdo_firebird.dll5 E# _; a: {0 O+ ?5 |
  894. ;extension=php_pdo_mysql.dll: z* B( z8 F2 q) B$ T" F9 E. d% E
  895. ;extension=php_pdo_oci.dll- w4 p% l' @- S4 W; Z
  896. ;extension=php_pdo_odbc.dll
    ' t5 o& T: T! w) E* I
  897. ;extension=php_pdo_pgsql.dll- ?# w' T4 e0 Y; B
  898. ;extension=php_pdo_sqlite.dll% Y/ Z7 g, x6 E% S( k+ Q
  899. ;extension=php_pgsql.dll
    , Q6 e: J  h  ^$ u. p
  900. ;extension=php_shmop.dll
    " O3 a+ e' U, r2 o
  901. 6 {1 o* ?7 r9 F% G' c9 [- [
  902. ; The MIBS data available in the PHP distribution must be installed./ k. i) }" g6 u) |
  903. ; See http://www.php.net/manual/en/snmp.installation.php/ m9 N' o; S. R- p8 l! ^( ]
  904. ;extension=php_snmp.dll
    : h' X5 c; p9 F" q
  905.   x# k$ T: M* ~; Y& g! x
  906. ;extension=php_soap.dll
    * y  x9 M' k% G
  907. ;extension=php_sockets.dll
    0 d3 A% Y0 Z0 i8 e
  908. ;extension=php_sqlite3.dll. `% t" z  S$ K* M3 W2 r2 L) W
  909. ;extension=php_tidy.dll
    : S' g3 v% i9 G1 h' p
  910. ;extension=php_xmlrpc.dll% g1 d& F" @0 L( v( U9 ^' @* l
  911. ;extension=php_xsl.dll* u" y3 b9 Z% c: z1 w8 K9 [  g

  912. 8 r- j  H0 |: d1 {$ N
  913. ;;;;;;;;;;;;;;;;;;;# {" W  ~) l$ y
  914. ; Module Settings ;
      u& Q9 C7 F& @
  915. ;;;;;;;;;;;;;;;;;;;
    , v, O/ q* z: K$ `8 N( y
  916. . T  ?* R2 ]+ d* ]
  917. [CLI Server]5 M9 X/ t( l4 K* S- \1 E
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.) @& |$ h8 W9 }& T% s: F9 @/ x; E; W
  919. cli_server.color = On
    * P9 o$ q+ w" i' @4 n" F
  920. ' f6 w1 i8 ^1 X- _$ s
  921. [Date]# z$ [4 j* f0 V2 J( z
  922. ; Defines the default timezone used by the date functions8 Q& J/ M; t# h6 z
  923. ; http://php.net/date.timezone2 s# [$ ?$ |9 w6 S( S8 X3 Q  `
  924. date.timezone = PRC! T2 z# f% O: C) W0 b/ p, N- \+ y7 m5 A
  925. 1 L  b4 W- K1 u' D. `) k- P+ F
  926. ; http://php.net/date.default-latitude
    % Z$ C1 D# m7 o; B$ J1 Z
  927. ;date.default_latitude = 31.76673 M% ^, a/ k  d  l, C+ w

  928. 2 L+ c2 N( M( _+ c# [2 h% ~2 r
  929. ; http://php.net/date.default-longitude
    # w* H$ T/ M6 |! f7 G0 |. y7 I! z7 U& t
  930. ;date.default_longitude = 35.2333
    0 U- E! S: V1 c8 S9 Z; K: z

  931. 6 Q$ v, c. Z0 l7 E+ r
  932. ; http://php.net/date.sunrise-zenith
    1 j/ i4 ^: q, }2 p
  933. ;date.sunrise_zenith = 90.583333- @4 V/ W6 t+ f4 j* c
  934. 8 K) O* d, r" \, c4 }
  935. ; http://php.net/date.sunset-zenith8 @8 n' {! D  \( x. {, d
  936. ;date.sunset_zenith = 90.583333( ~# j$ W; B6 E
  937. / k4 c, X4 ^/ n- C, ^# n6 k6 a2 ^
  938. [filter]8 L9 r1 b9 x3 ~5 e! }0 t
  939. ; http://php.net/filter.default9 ]4 X% A: ~/ }. F! R
  940. ;filter.default = unsafe_raw2 |' W. A9 H* j$ z/ S0 f
  941. 0 ?0 P8 [; v# {! ~$ ~2 r+ A
  942. ; http://php.net/filter.default-flags: Y2 D% u( d5 H* V, z. c
  943. ;filter.default_flags =, h- P, v9 b# ~
  944. 0 w% m" g+ n3 C
  945. [iconv]
    " U0 y* a3 n9 k# Z& D- `2 ~
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 o% l9 Y4 D. s# G$ R- H
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    , ^4 v( \: o# J$ b
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- z& \; s8 V: ~" i0 l
  949. ;iconv.input_encoding =
    + t8 S' n1 A2 B% Q4 j3 R
  950. " p; V* o6 X4 W' J. L  B6 t' j3 R
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 a' Y. s: f8 J
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 C. ?' V8 D4 o& U- B2 ~
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 W- L! _8 }4 Y6 c  K8 u  t6 @
  954. ;iconv.internal_encoding =
    + m: x: n: F' y9 e  J! X
  955. 9 J- q9 v: x3 @9 C9 W7 z0 }; j
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 D! T- r4 |* y2 S
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    3 A! L/ _3 o1 ?
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    & a; ~5 p5 [5 M/ ]
  959. ; To use an output encoding conversion, iconv's output handler must be set1 `, {' z0 ~+ n3 L  t# x- j0 d
  960. ; otherwise output encoding conversion cannot be performed./ B( Y. |7 \* I4 Q, n
  961. ;iconv.output_encoding =1 f$ W$ _4 d3 i6 s5 S6 x3 e
  962. 4 P4 k. L! @: S
  963. [intl]
    - V- Q+ c# `5 Z! V: B
  964. ;intl.default_locale =
    ! l: Y# ]: K; _& p) f$ }- H
  965. ; This directive allows you to produce PHP errors when some error1 N% j7 h) g6 ?+ v6 _+ R
  966. ; happens within intl functions. The value is the level of the error produced.  @. x/ T8 R1 {
  967. ; Default is 0, which does not produce any errors.
    * d& b$ H/ e% j- p0 Q
  968. ;intl.error_level = E_WARNING
    1 h% n/ ?; }3 R# i! p
  969. ;intl.use_exceptions = 0
    $ k5 ]! d7 l, V" t9 M6 k

  970. # j$ Y- K" R+ H* }7 W
  971. [sqlite3]
    5 q% v- J# U: q  [/ R
  972. ;sqlite3.extension_dir =" t6 d7 Q# O0 Y
  973. % |% w1 s4 o. o; C9 {# D6 m* S
  974. [Pcre]5 e( r, A: _8 A& C# w% p# s
  975. ;PCRE library backtracking limit.7 q& K+ r% ^+ h7 i/ Y9 u$ P7 H' x
  976. ; http://php.net/pcre.backtrack-limit7 B' B/ d8 W# j- n3 C$ s( @
  977. ;pcre.backtrack_limit=100000& l- D2 ?0 m/ E, D, O) H3 }, Y, H" X

  978. : M- ?) }0 f+ g$ f# O& W, P
  979. ;PCRE library recursion limit.
    1 `1 x4 {( A' _" q
  980. ;Please note that if you set this value to a high number you may consume all
    / Q$ U, i! t, B1 {# O3 R8 d
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ' w; L9 [7 s5 [7 \: |; H; G
  982. ;stack size limit imposed by the Operating System).7 s. K% J9 ?5 A, \$ R; n4 k
  983. ; http://php.net/pcre.recursion-limit
    6 B+ i/ {: s( Y
  984. ;pcre.recursion_limit=100000
    ; [* y/ ^. g/ ^7 X! t0 c' k
  985. # o- b7 d0 ]! n4 p, s
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE( z6 n8 H* S: r  S8 v
  987. ;library to be compiled with JIT support.# S1 G# z" u8 @
  988. ;pcre.jit=1
    / q: D$ G% N7 e# M& \  x2 L

  989. 9 p& v* {- @, U
  990. [Pdo]2 J' p* @# @, D- W: {
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 T/ K! l6 x9 V2 w1 S
  992. ; http://php.net/pdo-odbc.connection-pooling
    9 [/ o! q8 F, I$ [& `: }7 x) {
  993. ;pdo_odbc.connection_pooling=strict
    - U  u' T% o0 F1 l
  994. ! o5 I5 C; U2 v1 P) T: s
  995. ;pdo_odbc.db2_instance_name
    : `' [1 R7 x' b; X0 l! R
  996. 4 Q8 N! j5 R/ x& m. i
  997. [Pdo_mysql]
    8 E# ?0 F6 o! o4 l' O
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # X( h. D& X- {. F
  999. ; http://php.net/pdo_mysql.cache_size$ k  d# S- p0 C+ w4 D
  1000. pdo_mysql.cache_size = 2000( w0 }# J# D" a% f8 P
  1001. ' O$ K0 c+ W/ z. W
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - g) a8 h4 o5 w6 o6 {- D& m5 ]
  1003. ; MySQL defaults.
    2 P' N/ J" S$ I0 W* |2 Y* k
  1004. ; http://php.net/pdo_mysql.default-socket
      Z" o3 z8 X! j; }9 u
  1005. pdo_mysql.default_socket=6 c# s* P. g( ^3 w: ^

  1006. $ x2 N. ]" G9 W/ C( e
  1007. [Phar]
    ' G. ]- y; h+ r& J9 c) D
  1008. ; http://php.net/phar.readonly4 p  ~' p/ a1 ]" G- C% D5 b" X& J
  1009. ;phar.readonly = On% r! J+ \, q3 D5 A8 K, F" R

  1010. ( w7 l- @( C7 z2 Z; S/ D
  1011. ; http://php.net/phar.require-hash
      u! d2 @9 @: c# _5 T1 d
  1012. ;phar.require_hash = On3 p" C6 P3 C4 j/ R1 s

  1013. ; L  w0 N' P0 d9 Q! A) a2 L1 a
  1014. ;phar.cache_list =
    - ?+ K( @# M! b
  1015. ! [, x; @, V3 s1 e. a4 \
  1016. [mail function]
    # J, I: z8 H( O& [; \
  1017. ; For Win32 only.
    3 R3 a+ R# g$ i$ @% |5 U3 h
  1018. ; http://php.net/smtp
    3 C! q9 ]! M) F- f# W& \0 Y9 m
  1019. SMTP = localhost( }# \% u( h6 g* h3 S2 S
  1020. ; http://php.net/smtp-port
    % B* l; ?2 _+ s, [+ |& e9 Q
  1021. smtp_port = 25
      a0 F; ?( K1 t9 n! u

  1022. # I" D# g! p+ n6 S' K% k' Y  c
  1023. ; For Win32 only.
    + e7 o, S+ b3 N" W; d* Q
  1024. ; http://php.net/sendmail-from9 e! f% s6 m8 z- L0 S8 F
  1025. ;sendmail_from = me@example.com7 x/ v! Q$ x% u. F1 k
  1026. ) o* u* T- T+ M1 [3 ?/ u  {
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - K. m' w% @, t9 q# B4 U
  1028. ; http://php.net/sendmail-path
    . O- d7 M/ R1 \$ M
  1029. sendmail_path = /usr/sbin/sendmail -t -i0 P! E" P$ W8 X
  1030. - N# r0 d. S4 S2 z+ s2 @6 z
  1031. ; Force the addition of the specified parameters to be passed as extra parameters4 c, q) q4 E: r7 b, `
  1032. ; to the sendmail binary. These parameters will always replace the value of
    6 X. Q( A( h7 W% k
  1033. ; the 5th parameter to mail().+ k3 S  R  o  q6 ?+ Z% x" g) G. \
  1034. ;mail.force_extra_parameters =
      V" S2 C6 i! H" E& v- R

  1035. 1 y- d" r3 Q- s$ U- `( ^
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    , l% O& V. A1 f. u1 O/ I
  1037. mail.add_x_header = On
    3 @) y% U: b9 h1 y5 Y# p
  1038. * O$ c: _, [6 S0 t
  1039. ; The path to a log file that will log all mail() calls. Log entries include; u- n/ J* t2 K  T$ r. z6 m$ c+ ^
  1040. ; the full path of the script, line number, To address and headers.
    # `" Q, H0 ^' K# H3 T$ O3 [) [
  1041. ;mail.log =8 ~, D+ W# ]/ T" R, G7 z/ E5 ^/ r
  1042. ; Log mail to syslog (Event Log on Windows).
      m4 ]4 l+ `/ O/ S1 M
  1043. ;mail.log = syslog# }& Q+ T; j) R; W) O+ c( d* e! k

  1044. 0 }4 J- J/ {. h5 k  m+ m
  1045. [SQL]+ M) P; U6 B# A6 a2 a
  1046. ; http://php.net/sql.safe-mode
    4 _$ K+ _. ~" ]4 L- ^: r
  1047. sql.safe_mode = Off: n7 L- u0 i  D
  1048. " z* a- D) q" Y
  1049. [ODBC]" c$ w7 Y1 @* j, o  k
  1050. ; http://php.net/odbc.default-db
    ( R9 k- U$ l0 b  t% j/ V2 V
  1051. ;odbc.default_db    =  Not yet implemented
    / K' N2 q; H! s$ m7 H

  1052. : f2 w4 T3 ^# `% P) `* u
  1053. ; http://php.net/odbc.default-user
    1 N. A! W* X$ N  g; h
  1054. ;odbc.default_user  =  Not yet implemented
    3 G+ P/ N1 v. i
  1055. , v, \9 O4 K7 n  j
  1056. ; http://php.net/odbc.default-pw- U; D  i: X+ o1 d
  1057. ;odbc.default_pw    =  Not yet implemented
    1 A+ k" |% S. w1 B

  1058. 1 ~5 E- v- x; n: e
  1059. ; Controls the ODBC cursor model.. S4 x1 h/ }4 i; P+ t
  1060. ; Default: SQL_CURSOR_STATIC (default).
    6 m; u* m8 \% \
  1061. ;odbc.default_cursortype: N9 u# I5 `" k% Y% v- S6 v7 P7 v
  1062. . i- @9 b8 z" a7 U
  1063. ; Allow or prevent persistent links.
    + Z3 n& r/ g$ f4 \3 t& Y/ u! x
  1064. ; http://php.net/odbc.allow-persistent- ]* K# N6 E5 g; w; N
  1065. odbc.allow_persistent = On, A& h9 f) Y) l4 i' \4 E' @) C
  1066. 8 W% r, u. @4 R0 |4 f- M
  1067. ; Check that a connection is still valid before reuse.
    . w5 p. J; u1 M" \( N
  1068. ; http://php.net/odbc.check-persistent
    - B' X( a/ u2 A
  1069. odbc.check_persistent = On- G- M# b! b; N( u. L: n# I

  1070. 6 x& L5 b( M( b
  1071. ; Maximum number of persistent links.  -1 means no limit.0 A! _) O" T$ [( P6 Q8 N! B. o. X
  1072. ; http://php.net/odbc.max-persistent
    ' I9 r0 P: v% w% E
  1073. odbc.max_persistent = -1
    9 }0 z5 G9 j2 L' I+ ]# s0 i$ c
  1074. 8 o8 ~: z! }  N* W3 u9 f
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ ~! u6 S8 R/ o/ G4 t' l
  1076. ; http://php.net/odbc.max-links
    " X4 t2 ~8 r. s8 C+ c6 m+ U
  1077. odbc.max_links = -1& }9 w: w' @% T; e9 d$ ]

  1078. 8 U1 O3 p- m0 \, |, z+ l
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ e! P4 D, d. b; h2 O, C/ _7 y/ U
  1080. ; passthru.
    ' O8 i9 i. C+ E5 c* o* q
  1081. ; http://php.net/odbc.defaultlrl
    7 ?0 M' a  Q/ L
  1082. odbc.defaultlrl = 4096
      r" A1 G  m8 k  G: o

  1083. 4 x' v5 G0 y) X, _# O4 x
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    : y$ S# u7 p' l; ^* l9 Z, S% I
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ; f8 x. C! i2 x' R/ ]
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode% n& w" X. r1 G) ^6 m) C" E
  1087. ; http://php.net/odbc.defaultbinmode
    ; T  ^2 b- i, F0 Q, ?
  1088. odbc.defaultbinmode = 1
    9 q0 ?7 A, s: |. ]- y! `

  1089. 3 `' e: V6 m, B2 Z: G  g
  1090. ;birdstep.max_links = -14 J: J: G1 L5 n; l0 `- `+ w

  1091. / G  h: d% d: l2 y+ y0 G! Y6 P
  1092. [Interbase]! M, W. l7 K+ q1 t4 [* b2 i
  1093. ; Allow or prevent persistent links.& D- l" V* I* p4 @
  1094. ibase.allow_persistent = 1' l! z; N2 D+ f% }8 E+ l

  1095. % `' L/ D% _, u, d3 g7 {, C! E4 @
  1096. ; Maximum number of persistent links.  -1 means no limit.& g* D5 k2 M8 c/ u' @# }' z
  1097. ibase.max_persistent = -1
    " F: |+ l% |, @2 W3 r

  1098. / G' Q; w/ h0 u7 f; q
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! A6 d# w- V1 X1 @& z
  1100. ibase.max_links = -17 U; f" S; w/ P" b- V1 ^" t
  1101. 2 t9 x/ \7 {0 W0 p% B. a+ c# A' P
  1102. ; Default database name for ibase_connect().
    . I- u, Z# T: {' Z9 X7 S* H) Q* Q
  1103. ;ibase.default_db =& ~( A9 B  w. T. \, L+ h& {9 Q

  1104. : d' S: z% E2 H; X: W% _$ l: j# i
  1105. ; Default username for ibase_connect().( v5 _. e* B9 {0 y
  1106. ;ibase.default_user =. S0 ^9 s, R9 [( R! u( p3 ^( o' m: ~

  1107. ( }" a- ]% ~: |$ L* m2 b
  1108. ; Default password for ibase_connect().% U# ^% y/ M0 K" ~
  1109. ;ibase.default_password =
    ! K3 C  U- [( F  b5 m! s5 S. G

  1110. : R/ E4 a4 c, [$ k' W
  1111. ; Default charset for ibase_connect().
    * D  o  Q5 y/ F$ ~; t2 h3 M$ c5 ^* R' R
  1112. ;ibase.default_charset =
    0 p8 O, @/ Z* P( q

  1113.   [2 t1 f! z  u, o/ K
  1114. ; Default timestamp format.
    ) X) z% Z1 d* w& y0 n) c
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"$ `1 c) v9 c" A3 o: X
  1116. * `' j( b3 E3 ~8 l& @9 ?3 ?
  1117. ; Default date format.9 ?4 s9 u0 R3 W. c4 M! _
  1118. ibase.dateformat = "%Y-%m-%d"
    8 M" Z- I1 z2 i: Q" ?# E

  1119. 9 e5 |9 T: [5 E! Y) n" }8 |' N
  1120. ; Default time format.
    2 W# z( V, ^8 T9 \" I; X  a
  1121. ibase.timeformat = "%H:%M:%S"4 u* M3 B0 v8 w  t

  1122. ) @/ v) G+ }- i; l' A
  1123. [MySQLi]
    1 F1 Q! T) c6 ^
  1124. 8 o" I$ E- Z- v) r! o" e8 L8 l
  1125. ; Maximum number of persistent links.  -1 means no limit.
    : D: L2 E; m, b8 {
  1126. ; http://php.net/mysqli.max-persistent2 ]9 C. s& X% k8 Y! E' f
  1127. mysqli.max_persistent = -1
    4 y, ^8 Q" m  X& a- R. \* W

  1128. 1 ~8 _0 ~/ q# K8 H. C. N5 ~
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# B1 A  K' K6 i# v* H2 E; W9 V
  1130. ; http://php.net/mysqli.allow_local_infile3 u9 G( A; G& [. Z
  1131. ;mysqli.allow_local_infile = On1 Q* C6 b* ?" z8 o

  1132. " ]/ d* W! L! H7 g
  1133. ; Allow or prevent persistent links.
    ) G! d' L0 Q) g1 ]2 H
  1134. ; http://php.net/mysqli.allow-persistent
    & s2 z5 c; H9 [
  1135. mysqli.allow_persistent = On
    9 T5 w9 h8 y- y; H3 `. k4 i

  1136. ' U1 P9 `/ R& J+ J3 T
  1137. ; Maximum number of links.  -1 means no limit.- \! [+ U$ {- A2 g) V" w) P% W+ x. P
  1138. ; http://php.net/mysqli.max-links
    . ]+ i. z) s, C, S7 Y
  1139. mysqli.max_links = -1, E3 y* ~1 m5 h0 |! ~

  1140. $ I7 g0 l, g; _$ @; e8 B0 d
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! R4 C' I' D- M1 P; W. m/ z$ O
  1142. ; http://php.net/mysqli.cache_size! |$ b: p: r8 H9 l4 \* z5 S; o4 l' A& k5 {: U
  1143. mysqli.cache_size = 2000
    / T: I. I9 p4 j: [- Z' [
  1144. * D+ E3 e  S2 W. Y3 }
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; A9 u3 \2 W9 ~4 E7 E3 ~
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ D# @6 y' `! A7 y
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) g+ u- q9 F" x! E7 F; v+ y
  1148. ; at MYSQL_PORT.1 k% ?$ M+ u2 |% h9 s/ f  G1 A
  1149. ; http://php.net/mysqli.default-port5 m2 ?. y6 U4 [3 c6 B
  1150. mysqli.default_port = 3306+ J! }& S* Q2 g- k; M( z+ v

  1151. 2 y* x2 W+ T) ]' B1 Y
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 m9 h# }$ N* W& j0 b7 d" ]* S
  1153. ; MySQL defaults.
    5 J2 V6 u; V. }8 @
  1154. ; http://php.net/mysqli.default-socket. i4 M+ `* }2 T+ z9 M0 M) A; A7 n
  1155. mysqli.default_socket =  I( |$ A6 y( H% M
  1156. 5 F2 R+ c( x+ {1 u) |- V1 Q
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).  e; M$ ~. q+ K% O7 Q
  1158. ; http://php.net/mysqli.default-host! D- \4 U8 ], A! |5 W
  1159. mysqli.default_host =
    3 o" R! a' Z2 i9 ]8 a2 F- b! Q

  1160. ( {! P" x4 `% `. t/ B
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ! `! t0 h+ L3 @# {( F0 c# p' |9 z
  1162. ; http://php.net/mysqli.default-user
    9 ~4 k8 K2 q' R9 W; B
  1163. mysqli.default_user =
    . f7 @/ V+ j  [; o: `- y: q

  1164. 9 ^! o4 }8 ~; r+ T3 j1 G
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).' V7 w' j$ [% ?# `* d% c  R/ b
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.6 U$ A8 A+ h) r& Y+ e
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    , I; k4 K! w' l, C8 U0 A/ ~' R
  1168. ; and reveal this password!  And of course, any users with read access to this9 E) q* `. f- U
  1169. ; file will be able to reveal the password as well.
    9 ~, }  u$ R5 x3 k" e6 Z: T9 f$ T
  1170. ; http://php.net/mysqli.default-pw
    1 T, b5 L) m+ V9 t+ ^0 O
  1171. mysqli.default_pw =
    8 c' x; u: f/ x  X* c6 D7 {

  1172. 4 j! n/ p% C. F/ @
  1173. ; Allow or prevent reconnect
    8 F- _, j# y. h9 w( p2 [0 K" T
  1174. mysqli.reconnect = Off
    / @$ h  R. P% H, c4 x% t7 `
  1175. % V1 y) G4 w& p/ I$ w! l
  1176. [mysqlnd]9 l: f% ]8 O. `; j5 t& k8 i3 R
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be5 P8 }% S/ ~9 z& o; g
  1178. ; used to tune and monitor MySQL operations.
    4 \/ ]% l6 G0 d$ ?7 N7 e: x
  1179. ; http://php.net/mysqlnd.collect_statistics# v! ]+ E9 C& y
  1180. mysqlnd.collect_statistics = On
    : d6 G) J) \0 c7 a, ~+ j
  1181. $ J# b4 [6 ]4 F
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      A! N6 x4 H; C4 D
  1183. ; used to tune and monitor MySQL operations./ l" F5 Q: C" g/ l: l
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    5 E/ f% p4 p  X4 z- ~
  1185. mysqlnd.collect_memory_statistics = Off9 T" X! U4 m3 l# \, G1 r
  1186. % p7 n: O$ S# r; l/ A
  1187. ; Records communication from all extensions using mysqlnd to the specified log2 g" f0 ?5 l$ i) v: I' X
  1188. ; file.
    ) Q- I4 P( S0 B2 l, k5 X
  1189. ; http://php.net/mysqlnd.debug1 r- L4 [$ D: p% g
  1190. ;mysqlnd.debug =
    ( t9 y& {# k" u4 s

  1191. ! S" z+ Y2 G7 t2 d6 q5 a. p  z
  1192. ; Defines which queries will be logged.
    $ ~: V) Y; O4 p2 @
  1193. ; http://php.net/mysqlnd.log_mask1 [5 \* R5 f/ o* n
  1194. ;mysqlnd.log_mask = 06 q( H. R2 o9 x- a3 E) m2 f7 x: q
  1195. & I2 S  F- D! r9 S+ f, `8 a! P
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    * i( x6 L4 t; e2 x9 V
  1197. ; http://php.net/mysqlnd.mempool_default_size- f" R' n' }  n, P- ]5 \
  1198. ;mysqlnd.mempool_default_size = 160004 i5 F& H$ A6 r
  1199. 1 G6 [0 X6 b& _
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.3 D# N5 a( j& T
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size+ }- H( [5 ~* n$ y
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    1 y$ N! p8 Y5 {$ [
  1203. % Q$ H% U$ O9 S- ?0 _
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in. `: K- ]6 f3 Z" ]
  1205. ; bytes.. z0 }2 f3 h+ b9 H: |0 {$ l
  1206. ; http://php.net/mysqlnd.net_read_buffer_size  V" \" p, V, _* |& E0 o5 H* `1 O3 h
  1207. ;mysqlnd.net_read_buffer_size = 32768
    + W; u; X0 E3 H, n
  1208. 1 d, l1 N, Z$ }0 P/ T' U! P
  1209. ; Timeout for network requests in seconds.( ?3 x; f; g% G* J- {9 E3 F- I& l
  1210. ; http://php.net/mysqlnd.net_read_timeout
    3 `* @9 [6 b& j3 P  m
  1211. ;mysqlnd.net_read_timeout = 31536000. Y3 }+ s. t) ?) h0 Z" ?
  1212. ! F( p: ?; T7 F
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    9 R& A' @* x( q0 a! H1 N4 O
  1214. ; key./ H) x# i2 z8 g( H5 y
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    8 }' R; P) y$ l
  1216. ;mysqlnd.sha256_server_public_key =" D: `# ^/ ]4 K* c# c' Q7 s
  1217. 9 @* @$ J& D" u8 m
  1218. [OCI8]
    3 m9 k! I& S, p$ p4 l8 H

  1219. ; R) i7 z$ D5 Q2 Z4 z
  1220. ; Connection: Enables privileged connections using external
    9 `/ c( R: g* d) }, ?! W0 j7 Q
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA); ?  ~1 b6 Q7 c0 a; I3 g7 q( ~
  1222. ; http://php.net/oci8.privileged-connect9 d2 J$ g: N7 k2 `9 t/ n  g* L
  1223. ;oci8.privileged_connect = Off7 ?) b8 A5 v$ n( Y/ [3 f

  1224. 9 V( v' c1 j  d5 |
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    3 F. u# q- b$ _* c6 A" l7 t/ @
  1226. ; process. Using -1 means no limit.9 `1 `0 O" K5 \4 s! }
  1227. ; http://php.net/oci8.max-persistent
    . a  ~4 O) ?0 s
  1228. ;oci8.max_persistent = -1
    6 t0 j% Z) f, o" ?: d
  1229. + `- f& I/ D- N) E! {. a
  1230. ; Connection: The maximum number of seconds a process is allowed to4 G' Q3 B- ]7 K# n3 R6 h
  1231. ; maintain an idle persistent connection. Using -1 means idle
    3 w& Z2 h- `  V' E
  1232. ; persistent connections will be maintained forever.
    . v3 p1 P: I! D9 f" n  S) X
  1233. ; http://php.net/oci8.persistent-timeout* ^8 }5 @. \3 ~% b2 ?" ^
  1234. ;oci8.persistent_timeout = -1
    ! Z7 D" f1 d& g' j/ H% C3 o

  1235. 2 Q: S* M# H# p0 O2 E
  1236. ; Connection: The number of seconds that must pass before issuing a
    ; X9 a; f+ l& Q; N9 B) j
  1237. ; ping during oci_pconnect() to check the connection validity. When$ b0 |. m  X6 j+ c% @. g
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) {6 H, k0 S7 b* S; t6 `
  1239. ; pings completely.: {) w6 y2 d2 ]6 L4 F
  1240. ; http://php.net/oci8.ping-interval
    . u, Q4 j2 U8 U( e! I
  1241. ;oci8.ping_interval = 60% f* ^0 \" X; g  i5 S/ A+ r

  1242. ! [! e( \! T5 O& t2 Z0 ?: V
  1243. ; Connection: Set this to a user chosen connection class to be used
    . U7 g' f/ R2 d- |2 b
  1244. ; for all pooled server requests with Oracle 11g Database Resident* N6 u, L; x4 G3 U* M+ g( Q  V
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to4 ]( x! c- v; u) ?% [
  1246. ; the same string for all web servers running the same application,( X2 w! R( h; N8 l& i) ]% \
  1247. ; the database pool must be configured, and the connection string must3 f8 Z0 q( I, }9 B$ F3 o
  1248. ; specify to use a pooled server.
    . W3 L( c' T  Y; x
  1249. ;oci8.connection_class =- W7 p" v4 ~# O1 X; K" I' z- o! t
  1250. 9 s2 @% K" Z3 l; A0 R$ q: @
  1251. ; High Availability: Using On lets PHP receive Fast Application
    , B( B" f& }4 {# W( ~2 ^
  1252. ; Notification (FAN) events generated when a database node fails. The9 q( d# q; n- x; }5 ~1 N) l9 w( {
  1253. ; database must also be configured to post FAN events.8 i0 C, K0 Y2 {: u# g+ [
  1254. ;oci8.events = Off! j4 l0 y( V3 g. w# N: j: _; g) `

  1255. * I1 j" A' l, i, l1 C
  1256. ; Tuning: This option enables statement caching, and specifies how9 u! y8 C* J- X5 R3 L
  1257. ; many statements to cache. Using 0 disables statement caching.+ L6 r( H. m4 T3 e) d' D" m
  1258. ; http://php.net/oci8.statement-cache-size
    8 P# x- F* w: c' a: {7 E
  1259. ;oci8.statement_cache_size = 20
    $ T  n& j! K& T" v" K

  1260. / u1 ]* [1 J( b& k4 b
  1261. ; Tuning: Enables statement prefetching and sets the default number of5 o! G, i' _& ^2 R$ C) @! E
  1262. ; rows that will be fetched automatically after statement execution.
    & R- h6 r3 n5 H# H% F! c6 Z' z
  1263. ; http://php.net/oci8.default-prefetch1 X1 I3 F& j: V& r; j
  1264. ;oci8.default_prefetch = 1008 l$ L) A) `7 {5 f% o, m& f2 Z7 ]

  1265. 1 o3 z9 W6 a6 y' q# k
  1266. ; Compatibility. Using On means oci_close() will not close9 h3 Z# ~* w$ o6 E6 p
  1267. ; oci_connect() and oci_new_connect() connections.& `; D4 d$ K/ d' C$ w% t
  1268. ; http://php.net/oci8.old-oci-close-semantics+ {  i! ?: w$ r5 P/ h% u$ J. M
  1269. ;oci8.old_oci_close_semantics = Off
    3 i8 V1 Z3 q) h+ x% t; F6 ^

  1270. 5 F" A- l- B0 C# g: }: V
  1271. [PostgreSQL]' t( `' T8 A2 G: A
  1272. ; Allow or prevent persistent links.
    - ]' c, S/ {; o: k$ z9 h' V
  1273. ; http://php.net/pgsql.allow-persistent  b; `: C. J# y2 F
  1274. pgsql.allow_persistent = On0 ?6 r$ |  I; p) n7 F
  1275.   O  P! `" f! `7 K9 n
  1276. ; Detect broken persistent links always with pg_pconnect().) v# t% X- s5 p
  1277. ; Auto reset feature requires a little overheads.
    " ?7 Y4 |6 {0 C1 s' t/ f
  1278. ; http://php.net/pgsql.auto-reset-persistent+ f; P2 t% p6 G
  1279. pgsql.auto_reset_persistent = Off7 K' G- z' w7 F6 h

  1280. ( L* f& ~# g" w7 B
  1281. ; Maximum number of persistent links.  -1 means no limit.# [: ]) m+ d, k3 [4 a0 M8 i/ `3 ?5 [
  1282. ; http://php.net/pgsql.max-persistent" N( \5 W& V0 l9 d' E' g
  1283. pgsql.max_persistent = -1) o/ r& a  }8 @8 a% l" a, i) Q

  1284. & y! w8 ~% Q- p2 o/ P  b  h
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - p8 G3 f4 ^1 t, _. N  B
  1286. ; http://php.net/pgsql.max-links8 W* [0 i5 m- |2 l% w% k8 k6 k
  1287. pgsql.max_links = -11 z! E7 n" {, V7 w

  1288. 4 q0 L( S! S! B; p4 E" z& _4 o
  1289. ; Ignore PostgreSQL backends Notice message or not.2 b+ v2 F9 X8 \+ X# m
  1290. ; Notice message logging require a little overheads.
    3 n4 ~5 r5 i9 A0 R6 n2 }
  1291. ; http://php.net/pgsql.ignore-notice7 m2 l3 i" u2 z  i% f/ D1 R8 P
  1292. pgsql.ignore_notice = 09 `1 ~2 [, ?6 T5 J" A$ H7 X5 F0 ?

  1293. 9 X9 ^7 F- S* H
  1294. ; Log PostgreSQL backends Notice message or not./ c* ^8 _9 J. I. h9 k6 e  H# T
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    , \/ N& h1 W: Q7 z; q" D
  1296. ; http://php.net/pgsql.log-notice
    5 Q. Z9 ?1 F7 o3 e. B
  1297. pgsql.log_notice = 0
    , d) m% T4 n$ E

  1298. ( O6 |7 h: i/ U, d1 w  L
  1299. [bcmath]8 Z' g2 |) s. B9 C: U
  1300. ; Number of decimal digits for all bcmath functions.
    1 y5 N: P- y( r& x1 t9 e5 ^; z
  1301. ; http://php.net/bcmath.scale3 k, B9 u$ w) f' L9 i* b4 P
  1302. bcmath.scale = 0
    # ?! P" q, f: b& S' |) |6 b
  1303.   Z! t2 n+ G( K! a: o% |, u
  1304. [browscap]
    * o& J2 d, m- B  u
  1305. ; http://php.net/browscap% w9 u- G0 K+ ]' Z% Z
  1306. ;browscap = extra/browscap.ini; T4 ]: L0 T( j! L# z6 s4 s8 M

  1307. ; y7 I, k; g% s$ b  `" n  s% M
  1308. [Session]! l8 n* U% g) m. X; j
  1309. ; Handler used to store/retrieve data.
    , u* E9 y8 [% O$ Y
  1310. ; http://php.net/session.save-handler  ]. c0 ]5 S0 a
  1311. session.save_handler = files
    . {  _) k- [: [! l

  1312. 2 a5 ]% C7 h& Q# y( H& k* R% |6 o2 X
  1313. ; Argument passed to save_handler.  In the case of files, this is the path9 i/ f* c( h$ u# m
  1314. ; where data files are stored. Note: Windows users have to change this
      U) I* m. G: L3 [) r$ G* i( R
  1315. ; variable in order to use PHP's session functions.6 ^7 t, c; `: V7 p
  1316. ;
    $ n% Q- ]- \" D7 G
  1317. ; The path can be defined as:
    9 K' T4 y4 Y  e( u+ k, c
  1318. ;
    8 A. k: [9 }# G- _, I; w7 I
  1319. ;     session.save_path = "N;/path"
    3 j! s8 f( W0 \8 ^- R
  1320. ;
    ! H3 N, w* N; y- i% Z- t& o
  1321. ; where N is an integer.  Instead of storing all the session files in  \4 a( U, Y% K( S
  1322. ; /path, what this will do is use subdirectories N-levels deep, and) x4 r6 C' }1 T5 |
  1323. ; store the session data in those directories.  This is useful if
    1 u* G) M8 T* ]3 k* c
  1324. ; your OS has problems with many files in one directory, and is
    ! R$ ?; c$ i! o# h$ k, [
  1325. ; a more efficient layout for servers that handle many sessions.
    $ W+ S. q- l# N3 O
  1326. ;
    ; K5 [6 U/ G0 S: {: @; u! {6 Y, }
  1327. ; NOTE 1: PHP will not create this directory structure automatically.+ [( E0 t3 e$ O+ C- \0 {: s7 c
  1328. ;         You can use the script in the ext/session dir for that purpose.
    : @, u. R  h& r% ^7 X. k
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
      w. B% U3 o) f+ d
  1330. ;         use subdirectories for session storage
    8 a4 y3 k' A1 B/ u5 ^
  1331. ;
    7 j' V% I: v+ _! l
  1332. ; The file storage module creates files using mode 600 by default.. G: b9 Q" C5 e' t& s3 M: N
  1333. ; You can change that by using, h& s7 z' z3 s7 a, |( R
  1334. ;
    * P8 b" F( D* s% x( P6 I
  1335. ;     session.save_path = "N;MODE;/path"
    # H3 Q+ R) L. q: ~3 T$ A
  1336. ;3 U; x% ]- f" J) {; m/ L
  1337. ; where MODE is the octal representation of the mode. Note that this% v; K3 t3 u1 O
  1338. ; does not overwrite the process's umask.
    % h# n0 p! B2 S& \% }3 ~" ~
  1339. ; http://php.net/session.save-path
    " i6 @+ R$ p! t1 {5 W$ L
  1340. ;session.save_path = "/tmp"/ |) @4 ?. Q, O

  1341. ! m. ?/ {% ^. f- j3 O  x
  1342. ; Whether to use strict session mode.* \4 C, Q. p! g; B. t
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    . |0 L' q2 T) ~8 T+ I$ p  |
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects4 Y2 B& E) Y: b/ e
  1345. ; applications from session fixation via session adoption vulnerability. It is1 @$ c( I& I2 U: {3 d) h
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.9 p! K) p* Z$ R3 y* O* X, [
  1347. ; https://wiki.php.net/rfc/strict_sessions) C3 d; E  Y& z: Q% [9 D
  1348. session.use_strict_mode = 04 r8 H6 ^3 W2 M

  1349. 6 a% r& E; t0 B4 F  i" y3 Z
  1350. ; Whether to use cookies." m8 o9 v* S3 S* Z/ v# ]/ _( n" _- \
  1351. ; http://php.net/session.use-cookies& B* A1 [0 f9 |: I6 W9 E; x8 M
  1352. session.use_cookies = 10 K- d/ E) j  ^6 q( ?
  1353. ) H" R' k5 K/ O% E' L
  1354. ; http://php.net/session.cookie-secure5 H, M- o% c) s4 X( T2 T7 V. z
  1355. ;session.cookie_secure =8 U/ t) Y- m, F1 e. n8 d# `: s( b- i2 |

  1356. " ~9 v+ a& B+ m) p1 R
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    - S" ^5 w3 v, s5 `. F4 S+ V! x
  1358. ; the session id. We encourage this operation as it's very helpful in combating5 J' i' j& H  T
  1359. ; session hijacking when not specifying and managing your own session id. It is1 E+ N2 q% N, A) q8 E
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    * ^9 c; Z+ H* W0 L  N
  1361. ; http://php.net/session.use-only-cookies4 ^! b4 ~+ b. h4 v  m. D4 n; V
  1362. session.use_only_cookies = 1
    ; P! Y7 l" A& }, f. M
  1363. ) P0 h6 W$ H. w# u5 o9 x
  1364. ; Name of the session (used as cookie name)." f+ O$ Q" q: Z0 k
  1365. ; http://php.net/session.name+ ^8 i  L" ]& y) S- T
  1366. session.name = PHPSESSID
    ; I- h7 Q% T" A" `2 u- ?
  1367. ; M  g$ E4 ?; H& @+ S6 y& k
  1368. ; Initialize session on request startup.
    6 F$ _5 J3 m+ \; C% M% n
  1369. ; http://php.net/session.auto-start
    5 }$ p7 I, U& F# v
  1370. session.auto_start = 05 d$ Q, ]: w& I/ p) ], M
  1371. # J) Z6 H, s) J7 G/ ]* Q
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.5 t& ~4 q: S: j8 x* r4 C. r
  1373. ; http://php.net/session.cookie-lifetime
    0 U+ H$ Z6 M- A1 C- \4 z9 [! h
  1374. session.cookie_lifetime = 0
    7 E/ I" \- Z* Z+ O6 S9 g

  1375. / ^% o! {4 F9 f: l' h, t
  1376. ; The path for which the cookie is valid.
    5 s" G, X) w, D! c* X0 o
  1377. ; http://php.net/session.cookie-path* ^( k$ l$ |2 W( s3 e
  1378. session.cookie_path = /
    3 ?4 ]- |7 @7 v

  1379. 8 @; w' A& T; w2 S
  1380. ; The domain for which the cookie is valid.8 g' T) s! Q9 @9 |5 ?
  1381. ; http://php.net/session.cookie-domain
    5 s$ e% T) G! Z! f' v2 \
  1382. session.cookie_domain =
    7 ]2 p3 O1 q  b/ f6 z5 {
  1383. 4 O- I+ G! T% L- _1 G/ x% n% \
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 w) f; F; \3 Z+ `2 h
  1385. ; http://php.net/session.cookie-httponly
    , t1 `2 ]5 m' o2 ~
  1386. session.cookie_httponly =
    " t9 r% _4 [; w  [% M2 _
  1387. : Q+ u6 @& k8 |) b
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.4 i0 I* `" \0 ]6 b  U
  1389. ; http://php.net/session.serialize-handler
    9 w) p" F( g  A: ?% j3 J3 ^2 b
  1390. session.serialize_handler = php0 q8 z& P  h, a  D! t5 J

  1391. ; ^6 Z$ \/ R3 i- w
  1392. ; Defines the probability that the 'garbage collection' process is started
    2 F* p6 v* g2 T
  1393. ; on every session initialization. The probability is calculated by using+ m2 U4 ^7 O+ d0 t. Q
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator) |) Y# X# P: f) U' Z; K
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1; |: N8 @* K! G
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 a' ~6 k: V+ \! ^. v' |
  1397. ; the gc will run on any give request.
      D0 Q8 F1 p) n; _
  1398. ; Default Value: 1! P  D# a0 L5 v/ O1 k9 Y7 R4 ~
  1399. ; Development Value: 1" A7 M! \; j) B' y, q+ k* Y
  1400. ; Production Value: 1
    5 l0 r: ~4 w  i/ u' w) U
  1401. ; http://php.net/session.gc-probability
    / Y  p( n, M3 P! ~
  1402. session.gc_probability = 1
    2 a4 p/ i3 W% f/ J
  1403. 4 k" S" @8 B( p  |. ^
  1404. ; Defines the probability that the 'garbage collection' process is started on every3 G: F+ S- Z  b( @# ~
  1405. ; session initialization. The probability is calculated by using the following equation:5 p. Y$ u; i/ V: C$ x4 x
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% Z% Z! x( `. o
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1/ B) W! A' X) W1 `
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 G# r2 }8 d+ v5 y* d
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you/ E. ^% T, \+ n# I
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,/ U: I% ]$ W9 v4 _0 h) C* Z
  1411. ; this is a more efficient approach.7 O2 m. ~5 K# L" e2 _* N
  1412. ; Default Value: 100
    3 }# X/ ]$ }; v: B
  1413. ; Development Value: 1000
    - s" ~5 G' d# R- Z% h
  1414. ; Production Value: 1000( e# ~: i( A+ V  p2 h1 _3 Z" L) Q: X
  1415. ; http://php.net/session.gc-divisor' @/ E  P+ d& m8 t/ l
  1416. session.gc_divisor = 1000; [( V/ i: Z3 t

  1417. ) z2 u3 o( j$ n! m" }8 Y
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    0 R8 k& t7 V4 V9 J' }
  1419. ; cleaned up by the garbage collection process.' f% |2 L% ^# b8 J
  1420. ; http://php.net/session.gc-maxlifetime
    ( `5 I( S- W5 D9 J
  1421. session.gc_maxlifetime = 1440
    * D; s5 B$ V, k( @0 l

  1422. " S' D- ?% c) Q' g  r4 j
  1423. ; NOTE: If you are using the subdirectory option for storing session files+ |0 s7 R2 H* g9 T* h6 N, }  Q
  1424. ;       (see session.save_path above), then garbage collection does *not*
    7 v3 o2 J& f+ L9 p
  1425. ;       happen automatically.  You will need to do your own garbage. @# k% b2 o  h! U
  1426. ;       collection through a shell script, cron entry, or some other method.
    ) U/ ^2 S4 n0 Q0 ~* M& Q
  1427. ;       For example, the following script would is the equivalent of
    0 P0 K8 T8 P: g8 B* [
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % W; W+ V& Y4 D- k6 t5 `/ x, x9 j
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% l3 j" _1 i  h
  1430. 6 H' o0 G9 j! {" P
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # I  O) a0 X7 O' g6 S* w) a
  1432. ; HTTP_REFERER has to contain this substring for the session to be4 H/ ^" K6 f0 U, r. U6 L& A3 r
  1433. ; considered as valid.+ R1 M; B# k* E) y
  1434. ; http://php.net/session.referer-check/ h) m6 N# H# x; Q% @  _
  1435. session.referer_check =/ T1 D3 S: g! u. }0 y

  1436.   X5 j& L" i/ k, h: `  m4 n. Y
  1437. ; How many bytes to read from the file.
    3 p: |" R! L4 N! H, y1 \
  1438. ; http://php.net/session.entropy-length
    8 R; c! t+ d, z  _% {: j4 m8 `% d3 X
  1439. ;session.entropy_length = 32! t$ C# h1 E# z0 C
  1440. 0 e% U4 X' X! w# r1 E4 U$ k
  1441. ; Specified here to create the session id.
    $ {  M' y/ S  ?1 F% D
  1442. ; http://php.net/session.entropy-file
    . G% E: ~7 N& L* l* J, m" l: b
  1443. ; Defaults to /dev/urandom
    , Q5 T* c. F. a: t
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    % H2 s0 V, E6 o0 v# h
  1445. ; If neither are found at compile time, the default is no entropy file.
    ( z0 R" j; Y/ H6 k
  1446. ; On windows, setting the entropy_length setting will activate the
    1 C$ X# s7 r; Z  O  z
  1447. ; Windows random source (using the CryptoAPI)
    ( J; I( H/ G# ^) }7 V. n9 B1 c
  1448. ;session.entropy_file = /dev/urandom
    , l8 P" P) V/ c" v2 a0 x! p1 D0 r7 J

  1449. & j0 n8 }$ i! `, M0 b0 ^" ~
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    & D2 n+ a# D1 P) X* S* i. ~
  1451. ; or leave this empty to avoid sending anti-caching headers.
      \1 @, f! ?' s4 l$ _7 A
  1452. ; http://php.net/session.cache-limiter2 o* h, E  @3 s2 X4 X! @
  1453. session.cache_limiter = nocache6 \2 a% i. ?) c- f& }/ x. P

  1454. # A$ M: C* y% p/ E
  1455. ; Document expires after n minutes.
    # N2 X8 ^- v  Q3 ~# ]$ ~
  1456. ; http://php.net/session.cache-expire
    0 I* j5 O- V0 G! ?0 W9 J
  1457. session.cache_expire = 180
    + S" ~& Z- l$ X% ~" z2 c4 C1 i
  1458. , G: q+ |: `' T/ r; K% K+ f
  1459. ; trans sid support is disabled by default.9 @- v& W$ }+ G" M
  1460. ; Use of trans sid may risk your users' security.
    , C6 H' O# ?% Q5 S5 E5 a
  1461. ; Use this option with caution.7 Z9 E- Q0 ~) F+ U8 n! H
  1462. ; - User may send URL contains active session ID
    ' m: r9 @5 n4 L2 X1 J) u+ g. p
  1463. ;   to other person via. email/irc/etc.
    ; A1 }$ s5 P& v
  1464. ; - URL that contains active session ID may be stored+ [; ]9 s8 j& c5 A! V
  1465. ;   in publicly accessible computer.
    : n8 m+ v: N. E. L
  1466. ; - User may access your site with the same session ID# W7 ~  i; d+ p9 I% `% P0 _; r5 f
  1467. ;   always using URL stored in browser's history or bookmarks.  v. S3 N) p, X1 o& k0 {5 r
  1468. ; http://php.net/session.use-trans-sid
    3 Z0 [0 B, P2 E; e
  1469. session.use_trans_sid = 0
    , I' g$ x: d! w6 ?5 ~6 Z
  1470. ( z: z+ ?. P& \9 R" E
  1471. ; Select a hash function for use in generating session ids.
    6 I% @$ \$ c: ~5 E7 A9 s; ?
  1472. ; Possible Values
    2 c  T5 U' H$ S8 S
  1473. ;   0  (MD5 128 bits)  p& G' k" e, s/ s! N- t2 k- B: A  V
  1474. ;   1  (SHA-1 160 bits)
    6 J# T5 I- o3 [3 T& d
  1475. ; This option may also be set to the name of any hash function supported by% Y0 g6 }+ Y+ E; U3 d
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    $ @* T0 S) l9 E1 L) G, G
  1477. ; function.  I) Z$ u; u; [6 A6 n* B
  1478. ; http://php.net/session.hash-function% l& e# m, c, G
  1479. session.hash_function = 0
    + G; n( Q& [% G. ^6 m3 _/ X$ h8 N  Q

  1480. % |$ n* Q6 ^8 E# \
  1481. ; Define how many bits are stored in each character when converting- Z9 j, D) q: z- u8 c  I; P1 p( D
  1482. ; the binary hash data to something readable.
    " a2 Z, W8 F6 q% {+ s
  1483. ; Possible values:! w) z0 |, f( ]( R: L# j
  1484. ;   4  (4 bits: 0-9, a-f)$ a; x  F6 }" V' v, [- F, _* b
  1485. ;   5  (5 bits: 0-9, a-v)0 W6 ]; c" W& S) f# o, \; t6 H# H
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")7 L: u) [; j9 v2 K; f( _6 R
  1487. ; Default Value: 4
      Z  q+ ?/ v5 O4 _7 D, H
  1488. ; Development Value: 5
    ! R+ t% u8 {) I/ ~4 @$ u7 {
  1489. ; Production Value: 5: d! i4 v1 ^: M& d" O& ]" M# \) r
  1490. ; http://php.net/session.hash-bits-per-character
    7 e, A6 E$ S; E  W
  1491. session.hash_bits_per_character = 5
    3 h8 L, Z5 b5 a. f3 k/ p0 ?

  1492. " O( w& U; @, r) ]' x
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.2 x# g# b( i! v( a
  1494. ; form/fieldset are special; if you include them here, the rewriter will! ?7 t3 [8 A; E/ j, I6 I0 }6 H
  1495. ; add a hidden <input> field with the info which is otherwise appended6 B' A0 m  ~+ c3 n, ]
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ' Z* F7 P7 o+ t# C; X
  1497. ; Note that all valid entries require a "=", even if no value follows.' l4 O9 l5 t" [1 k" c/ D
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' B& C* `& B3 T9 }+ ^
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 W. e1 t: Z  a7 A2 v
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 u$ A/ e0 S* c9 E5 ~$ Y
  1501. ; http://php.net/url-rewriter.tags
    / n/ s+ X2 e2 e; A0 L8 `' @! d+ ~, R
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". X4 Y; r' J& M: J! b; I! z
  1503. 2 q2 h+ v7 q' p2 _6 Y+ L
  1504. ; Enable upload progress tracking in $_SESSION
      L6 h0 k" c3 K: j4 O
  1505. ; Default Value: On
    ! J1 U- U" D( y& u
  1506. ; Development Value: On
    9 v4 R( t( Z# @& x
  1507. ; Production Value: On
    ; x) m3 y8 {0 L2 M- T
  1508. ; http://php.net/session.upload-progress.enabled
    ' W! K6 J, x# e3 _! ^
  1509. ;session.upload_progress.enabled = On
    % q& |* W5 P; c* Y- K" `  g
  1510. $ ]1 P# {2 ]$ _
  1511. ; Cleanup the progress information as soon as all POST data has been read
    : p! P, b; R3 L9 R9 ]3 i) V0 A
  1512. ; (i.e. upload completed).: ?: n1 j) t) }: x+ k  F4 {' ]
  1513. ; Default Value: On
    & e' E, _. G( O$ m7 [' b1 V
  1514. ; Development Value: On
    ( b% L/ s7 c, e5 M  T! ~$ n( t
  1515. ; Production Value: On- S: F3 O$ p% Z* F2 G1 G0 s
  1516. ; http://php.net/session.upload-progress.cleanup0 [8 J* j3 y. u' I
  1517. ;session.upload_progress.cleanup = On
    0 p7 }8 z6 a" y# C
  1518. . y* d7 W3 W  j7 y
  1519. ; A prefix used for the upload progress key in $_SESSION8 o1 ^" l' f. Y7 `9 [; Y
  1520. ; Default Value: "upload_progress_"2 D4 s. _$ z3 O- d5 P
  1521. ; Development Value: "upload_progress_"
    + A9 `& b. s- A$ |; q2 `
  1522. ; Production Value: "upload_progress_"
    8 d5 P  ^! `2 b" g
  1523. ; http://php.net/session.upload-progress.prefix- i+ E$ k( q/ m0 W8 y7 e
  1524. ;session.upload_progress.prefix = "upload_progress_"' o/ I7 {- f. _; G' n$ z

  1525. 9 M; k5 q  w4 s
  1526. ; The index name (concatenated with the prefix) in $_SESSION+ }5 P1 x; Z$ p- l  o# h4 r
  1527. ; containing the upload progress information
    % y7 B8 A# A6 l3 b$ o
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & X% H$ V7 f( ^2 c' q( K2 V1 \
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- r/ o! J* {# }/ j$ G9 i
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"+ x/ q7 ~5 d. c* ?# ~
  1531. ; http://php.net/session.upload-progress.name
    5 ?( @& V- d% u% H& g
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"5 L. ^4 A6 x- g3 x( @

  1533. ; X* R0 @" C  v
  1534. ; How frequently the upload progress should be updated.
    - j. X; ^" v, `" ~0 I$ M5 ?
  1535. ; Given either in percentages (per-file), or in bytes4 V) H( d$ [5 x$ R4 s! j
  1536. ; Default Value: "1%"; o: S* |8 B" u& ]
  1537. ; Development Value: "1%"
    ' N/ N1 O% \) U, R( V: u. j
  1538. ; Production Value: "1%"
    ( s/ T0 ?8 v0 p$ r8 J) S
  1539. ; http://php.net/session.upload-progress.freq
    $ s( m" q0 k) }3 Q. Z* R6 o
  1540. ;session.upload_progress.freq =  "1%"
    7 B+ V3 j2 \8 s( {  S; p
  1541. ! s0 Y6 A/ W0 j9 K7 s  F
  1542. ; The minimum delay between updates, in seconds
    " ^. s) @5 L; E0 N; f2 {
  1543. ; Default Value: 16 V8 `4 A) ^0 I8 h, d2 W
  1544. ; Development Value: 1
    ' b) w8 U! l* w  n
  1545. ; Production Value: 1
    7 j# c( \$ C8 G7 s
  1546. ; http://php.net/session.upload-progress.min-freq
    ! d2 |- X5 Z6 b/ R" _& R, l
  1547. ;session.upload_progress.min_freq = "1"( w" j% ]* m$ W  Y" R! \
  1548. 9 C& M! ]0 L' X: a
  1549. ; Only write session data when session data is changed. Enabled by default.
    % t/ i! X: r8 _" r( E  G- Z
  1550. ; http://php.net/session.lazy-write% b" A2 {7 R* ?- @6 x: D6 h
  1551. ;session.lazy_write = On9 |! V0 v. G7 v, h# b
  1552. 1 b0 U& E2 u0 q3 P
  1553. [Assertion]
    - E# O. J3 |7 l! k
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)& q2 Y- O8 U8 J( m
  1555. ; -1: Do not compile at all  H% Y# H  {7 v' `7 H/ E
  1556. ;  0: Jump over assertion at run-time
    / o& [6 s0 g+ U/ W" q( X
  1557. ;  1: Execute assertions
    " j4 P8 e' z% t$ O4 @
  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)
    5 B+ s# L, P, B; @! c( s, f
  1559. ; Default Value: 1
    ' U8 r) z) C* T2 s' }
  1560. ; Development Value: 16 j; b, [  r0 m7 W. A; X
  1561. ; Production Value: -1& N: x$ A  ?  u. H  l# L
  1562. ; http://php.net/zend.assertions, k, P- v% v2 w" L4 P- J: ]
  1563. zend.assertions = -1; E2 H% ?% J6 S/ ?

  1564. * i6 X7 ~" {# l5 J8 Y6 g8 T
  1565. ; Assert(expr); active by default.: j' y/ b2 _/ M) P/ W
  1566. ; http://php.net/assert.active2 ~) U- s7 B, O, h" a
  1567. ;assert.active = On" N  K# E- Q9 q4 H/ s) n

  1568. & F) J) z' F, R% v# \8 k
  1569. ; Throw an AssertationException on failed assertions% E/ P& K2 O4 [3 ?. B7 L; u" Y
  1570. ; http://php.net/assert.exception
    0 t, @( q: k3 M1 S+ L/ p
  1571. ;assert.exception = On
    7 L) @+ n# T+ B' w" F6 d0 W
  1572. / S2 s, E( @' T! h4 v
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    # O1 }; z# d% T2 b  h* m: W
  1574. ; http://php.net/assert.warning
    * O. X- S7 v) T6 P6 ^3 }0 A
  1575. ;assert.warning = On" l, U  Q  V* g9 Z+ r
  1576. ! u9 F, q* ^' b+ R( E% W6 y
  1577. ; Don't bail out by default.- v9 m* y$ `4 d7 c' z  I+ i
  1578. ; http://php.net/assert.bail
    1 Q' ?( Q* g5 ?! d  Q7 W4 f, y2 j
  1579. ;assert.bail = Off
    & k* n+ `! B" m3 Q- B* B! i

  1580. 6 [$ P) o, w) G+ V' f2 X
  1581. ; User-function to be called if an assertion fails.
    % N/ f4 g8 K/ m/ Z
  1582. ; http://php.net/assert.callback! ?' ^, {  T3 R6 H. W! r
  1583. ;assert.callback = 0
    * U5 e' C% ]# R3 W4 s: r
  1584. * h1 b+ m) K) j/ R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want# T1 n. S6 P; m/ M+ U! d( |. F
  1586. ; error_reporting(0) around the eval()." m) Z; `5 v( U7 [
  1587. ; http://php.net/assert.quiet-eval
    2 S, \3 i- H5 C3 u
  1588. ;assert.quiet_eval = 0
    8 @. ^0 @7 l+ o& f1 U  s: ]
  1589.   G4 C' [) c. c4 g8 w! n  ]
  1590. [COM]& B( U. w; b; y" V- u0 e
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs3 J, [) B6 o. B/ [
  1592. ; http://php.net/com.typelib-file8 N3 \1 U7 m. @0 B) w  H5 f/ |
  1593. ;com.typelib_file =
    ( h) p1 q! \6 t" H
  1594. / t8 Z2 E7 A6 B2 f( f! x) X2 l( J9 s
  1595. ; allow Distributed-COM calls' @# j, s& H, q% d5 T( z
  1596. ; http://php.net/com.allow-dcom+ L; X! u. K9 U% S0 c  ?
  1597. ;com.allow_dcom = true
    # j7 G( d  w4 v

  1598. 8 w8 ]! f, ?3 P# D2 U+ \
  1599. ; autoregister constants of a components typlib on com_load(). D# a8 [/ Y4 _/ h
  1600. ; http://php.net/com.autoregister-typelib
    & l0 t# Z( j) ]
  1601. ;com.autoregister_typelib = true1 r' S" N. @& r

  1602. ) C7 |! Z$ P$ o- [4 X7 M
  1603. ; register constants casesensitive
    ' C( R4 B( Z0 H. [- l" y0 M
  1604. ; http://php.net/com.autoregister-casesensitive
    ! D6 Q  E8 F+ T: B8 @) E  \
  1605. ;com.autoregister_casesensitive = false
      U  g/ o. B0 Y1 U8 y! c7 Q

  1606. 8 l4 M; \! t0 o! j
  1607. ; show warnings on duplicate constant registrations& a+ C8 P+ W* Z0 }
  1608. ; http://php.net/com.autoregister-verbose
    " T& H+ V8 }1 ^5 f: l& y9 b) w
  1609. ;com.autoregister_verbose = true
    0 W1 F" L/ i4 z; S: w$ ~9 i; x  k

  1610. * I8 w. A: G0 y. W% A$ h3 x
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    - v) o; e  @0 c8 C( q% W
  1612. ; Default: system ANSI code page  x1 n5 p3 e  Q) ^. l8 A5 {# ?
  1613. ;com.code_page=
    0 I& Y7 }- |$ N" G9 R
  1614.   m% R7 o; ^1 U" W7 `+ }7 _
  1615. [mbstring]
    " G8 V4 m; G! V& ~
  1616. ; language for internal character representation.4 z; b/ Y9 `+ m5 c
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    7 }2 v" p, Z0 X4 P4 |% d' u
  1618. ; http://php.net/mbstring.language. P6 e  f( K8 s0 N) U. z7 S
  1619. ;mbstring.language = Japanese2 M- Q8 v6 M$ _( A
  1620. + x9 H% r8 W. B0 p
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 E* z. e3 J# h% z$ P
  1622. ; internal/script encoding.
    . B; C2 i3 s4 P
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 `; T. m5 h, _: q3 o. Z
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    4 \: K1 n+ x, a. B+ V4 |# A
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  Q$ [$ b% ~' ^: S' Y
  1626. ;mbstring.internal_encoding =
    ! v  j# C% p% O3 y
  1627. " z6 d5 v; _$ a9 [' J: }: {3 w  p8 Q( ~
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.+ h1 `' q, c' C. {% q: }
  1629. ; http input encoding.
    5 X- z8 M9 \  |5 ]
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.: [- o" I) [3 a0 w3 `( v& L
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    & D4 v  \, R2 y, e* _, I1 i& l
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input2 ~8 M  U) f! T! c
  1633. ; http://php.net/mbstring.http-input. E( T, A2 E4 m( I. g: j
  1634. ;mbstring.http_input =
    - Q/ |* c0 \) R3 p" D3 I) X' u

  1635. ! s: ~4 i) S7 R7 U! j2 U8 D
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.0 ^! F% L! y7 e/ x- |" S  Y
  1637. ; http output encoding.
    * a/ S5 g( f9 u8 C* L6 f  d
  1638. ; mb_output_handler must be registered as output buffer to function.0 i' m8 U$ A% [
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " y7 [& ~" F0 U! A/ U1 K/ \
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    2 @4 x; }7 A" R+ M: g
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    3 Y3 ]1 j6 @# `! F6 A1 B
  1642. ; otherwise output encoding conversion cannot be performed.
    ! \; `+ i8 _" q/ D
  1643. ; http://php.net/mbstring.http-output/ Q/ H+ r% k' p% c5 {
  1644. ;mbstring.http_output =
    + @* p1 j; {, N. e" O, D

  1645. " k% |; D$ A( s$ Y1 W
  1646. ; enable automatic encoding translation according to$ G# `3 e  H! Y
  1647. ; mbstring.internal_encoding setting. Input chars are
    & g! z$ k2 S$ i0 H' ?: N
  1648. ; converted to internal encoding by setting this to On.
    , {' K7 n, n# X( _5 o+ c' @
  1649. ; Note: Do _not_ use automatic encoding translation for9 R. k0 ]- g( ]$ z
  1650. ;       portable libs/applications.$ R$ e" h, W* @( L3 V8 L: m$ y4 d" P
  1651. ; http://php.net/mbstring.encoding-translation3 c) ?) k# h' S! M8 d
  1652. ;mbstring.encoding_translation = Off6 U8 q5 O2 z. z
  1653. " e7 H- N2 |2 G7 k
  1654. ; automatic encoding detection order.
    - B3 M+ p! u. u2 q, ?) p# W
  1655. ; "auto" detect order is changed according to mbstring.language3 h/ j$ s# V, o  c7 w$ F
  1656. ; http://php.net/mbstring.detect-order/ K0 [! C; e: ?8 S, a7 }/ y
  1657. ;mbstring.detect_order = auto5 ]6 b( H8 {/ p% ^

  1658. ; h- e; i/ ~9 v& i0 ?: _
  1659. ; substitute_character used when character cannot be converted
    & r) V5 |5 V- ~7 Z" x( v/ S7 F
  1660. ; one from another0 N: C' a  d7 q' @2 W0 Q
  1661. ; http://php.net/mbstring.substitute-character
    ( v, A: i7 O) F7 e
  1662. ;mbstring.substitute_character = none/ ]9 Y9 t: j& x. h2 Q# V
  1663. ; b* V* \) I) L5 B
  1664. ; overload(replace) single byte functions by mbstring functions.
    7 J5 s4 Q0 ]! b, u: f
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' P4 j! \% l) Q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % V# I2 \3 j+ q, |: |
  1667. ; For example, 7 for overload everything.0 x0 j! y( c- A, q; H
  1668. ; 0: No overload$ \1 U" o1 e7 W2 Z$ J
  1669. ; 1: Overload mail() function
    , @9 Y# P6 E% a# t; j
  1670. ; 2: Overload str*() functions
    3 v1 P# n" F$ |& X# z. M4 Y
  1671. ; 4: Overload ereg*() functions2 @, ~7 y; x- a. G9 R+ h1 M
  1672. ; http://php.net/mbstring.func-overload7 C( n' I0 q& T5 J0 T1 P2 B1 v
  1673. ;mbstring.func_overload = 0( ~) P( K" a. f' e" p0 O" K1 ]7 [
  1674. 3 `* H& F& G9 ], I* {3 ~% b
  1675. ; enable strict encoding detection.- u2 M! b7 Q. m) j
  1676. ; Default: Off
    2 ^7 f7 M. @9 q$ b
  1677. ;mbstring.strict_detection = On
    + e# k) z% _0 J

  1678. 7 v) Z( q8 }' S+ o3 j
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()0 @5 R, x! e% _9 f, w6 e: P# D
  1680. ; is activated.
    * z" [+ E0 m$ }8 M
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)' q/ e3 o9 `3 x; w8 l
  1682. ;mbstring.http_output_conv_mimetype=* P+ Q! v# C, E7 y3 e; d

  1683. ) I$ l, B% I/ V/ h; P* s
  1684. [gd]1 t0 n1 c+ G9 O* K" Z( {- Q. _) V  [
  1685. ; Tell the jpeg decode to ignore warnings and try to create  u3 t" G/ s- P. i' c
  1686. ; a gd image. The warning will then be displayed as notices+ j2 d4 t1 P( |; F) v6 B7 i" j
  1687. ; disabled by default
    1 u+ n% }6 n2 D; Q; P) f0 S
  1688. ; http://php.net/gd.jpeg-ignore-warning3 Y% |7 s# E# Y; s! ]0 C
  1689. ;gd.jpeg_ignore_warning = 0& y; T; z2 i0 \& \
  1690. 5 n" n7 R$ C5 t" V- o# z
  1691. [exif]
    4 A5 e9 ?* b2 E, }' s! }8 I8 E
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 i4 ?, V1 M" o" h1 U" t! g
  1693. ; With mbstring support this will automatically be converted into the encoding3 z( ^6 N& C" s* v* }' V( b) z6 N- D
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding1 S( r) q( `& N1 R4 l  B: ]$ |
  1695. ; is used. For the decode settings you can distinguish between motorola and
    - h: Q" M" y) c2 I% p5 D( m5 K
  1696. ; intel byte order. A decode setting cannot be empty.
    8 y; H( p  j# \9 i
  1697. ; http://php.net/exif.encode-unicode6 @3 e, c" Q8 F; _8 m
  1698. ;exif.encode_unicode = ISO-8859-15
    ' g7 z3 ?6 C5 n

  1699. & n8 ^  b) e; f) [/ D
  1700. ; http://php.net/exif.decode-unicode-motorola
    1 u& z" e6 M& h
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    . V. E+ p( V/ D8 |' Q6 b0 s

  1702. $ o7 d+ B9 B& X
  1703. ; http://php.net/exif.decode-unicode-intel
    ) |/ X! O7 k. N  }
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ( a+ G1 e7 g* k

  1705. 7 B4 F& P# J( Z; e( C. n5 Z! j
  1706. ; http://php.net/exif.encode-jis+ \2 Z* s# n  F3 R# B$ N
  1707. ;exif.encode_jis =2 n1 ~1 X& M7 K, f
  1708. * {8 O: @! F" a! L: a4 r4 k6 a
  1709. ; http://php.net/exif.decode-jis-motorola, _" P& ^- k7 M  E4 ~/ ^: A3 j
  1710. ;exif.decode_jis_motorola = JIS
    7 Q8 L( u% S5 V
  1711. / F# B6 t7 H, j) g& i9 j+ W
  1712. ; http://php.net/exif.decode-jis-intel
    " l/ _; o# r+ d4 T
  1713. ;exif.decode_jis_intel    = JIS
    ; [# O1 B0 M! J% {; F$ w$ n

  1714. * m/ p, u" \8 S+ X- l, S' S# x
  1715. [Tidy]
    % P# J  ~4 s2 e, g& [6 |) h" h
  1716. ; The path to a default tidy configuration file to use when using tidy
    / p- N% g: H4 l- }" N& ~( ?
  1717. ; http://php.net/tidy.default-config7 z) w. w9 n+ n8 s
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg6 T$ P3 N+ i, l7 ?2 ^

  1719. 0 s' P6 K( [4 x7 E1 P% p
  1720. ; Should tidy clean and repair output automatically?% [  J3 X/ u9 X# C
  1721. ; WARNING: Do not use this option if you are generating non-html content. W! C5 R6 D$ H+ f
  1722. ; such as dynamic images
    , i3 j% y9 G+ f% l/ A  Y6 h
  1723. ; http://php.net/tidy.clean-output
    $ o: X) U# C! q* C
  1724. tidy.clean_output = Off6 n0 m0 P% Q3 \8 L
  1725. 3 o1 N1 d* Z( ]1 \
  1726. [soap]: k* j, k: H  Z+ P7 _
  1727. ; Enables or disables WSDL caching feature.
    8 ~, N$ s" a# S: B0 e1 Y* @" r. Y; j: p$ w
  1728. ; http://php.net/soap.wsdl-cache-enabled2 _' w$ z6 i+ x! q$ a4 O- s- T4 g, w
  1729. soap.wsdl_cache_enabled=1
    - g/ a& I' x3 c, C

  1730. / {+ o; L8 h5 l0 g! U# f3 L
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ' w( @' f' b8 @" u& \
  1732. ; http://php.net/soap.wsdl-cache-dir
    3 c0 n; s; Z5 Q9 Y! e1 D) {
  1733. soap.wsdl_cache_dir="/tmp"6 \: p7 e4 W" H$ i: u

  1734. ! d3 }1 }% M/ o3 P5 L" n* y7 V4 D" o
  1735. ; (time to live) Sets the number of second while cached file will be used6 u- Y7 B; s5 ]/ _6 y1 v
  1736. ; instead of original one.# k  d: e1 E  K: f! n7 y& h5 `
  1737. ; http://php.net/soap.wsdl-cache-ttl$ e- o( M1 g% i
  1738. soap.wsdl_cache_ttl=864003 ^* ~& a4 j% Y2 I8 b
  1739. 4 p- K  d8 k. X  ~2 z7 }1 H  A. T
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ' P, p  X; F7 X. I0 C
  1741. soap.wsdl_cache_limit = 5
    : x2 v4 p9 C) t0 f" P/ L2 _1 v
  1742. 4 _# U$ ]  y3 ~. }
  1743. [sysvshm]
    0 b6 ~! I7 X5 b! A! ?
  1744. ; A default size of the shared memory segment, T- d- V/ Z: S
  1745. ;sysvshm.init_mem = 100004 }6 J1 U( _) |8 r

  1746. 1 C3 V. h0 [" [
  1747. [ldap]# r2 V. y2 G% C
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    3 u+ V1 ?* I) P" _' c" U& G: O* [
  1749. ldap.max_links = -1
    1 d6 Q; Z* `' m8 J! J: ?7 A! q3 \
  1750. ; }. C4 k0 `0 `* G# d
  1751. [mcrypt]
    ( J" z% {% c0 u
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open* D+ Q. a  A2 s4 {2 @! n

  1753. + Y' W" ~+ b' Y- A" k. w
  1754. ; Directory where to load mcrypt algorithms) B7 @0 ?3 t4 @' l( `2 b. M$ W! H/ v
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " X' E. @3 c' C% k% T& T
  1756. ;mcrypt.algorithms_dir=
    8 l! I/ p6 m& x6 O9 l2 j: ]

  1757. ; w. ?2 R$ J" [5 ?/ u, A* ~( x- l! `
  1758. ; Directory where to load mcrypt modes
    6 t" P* O; b0 k9 A! n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), ~  X; T9 Y/ w
  1760. ;mcrypt.modes_dir=
    4 [, P. b$ D% _6 I
  1761. + s& [! M9 H3 \+ }4 C# B
  1762. [dba]
    8 m9 I" f: H/ p7 p
  1763. ;dba.default_handler=# G' Q/ }  m4 V2 Y3 Z7 u

  1764.   Z7 B. {+ u: I: ?, k
  1765. [opcache]. e$ L1 g; F+ }1 z% q( K$ k
  1766. ; Determines if Zend OPCache is enabled
    / ]6 Z. `3 M' A
  1767. ;opcache.enable=03 Q5 G! @4 U* _( ~
  1768. * I4 }" @* c8 E) B' N  i
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ' A( I9 }  S8 M5 H  l
  1770. ;opcache.enable_cli=0
    3 N0 p8 w, h7 C: ?2 ^& G' r
  1771. . X- o1 h- q8 E$ a
  1772. ; The OPcache shared memory storage size.
      z6 ?5 D! a1 x4 N( R4 Q3 x
  1773. ;opcache.memory_consumption=64
    % t3 X( j9 o; c1 `
  1774. 2 p% z0 K2 X6 v) v; J7 s3 X# ^
  1775. ; The amount of memory for interned strings in Mbytes.
    ( u: j- x  z1 V7 L9 j/ }
  1776. ;opcache.interned_strings_buffer=4% n; W( l2 p) W. o1 ~) s% ^

  1777. ) _! n" N% D( h# x. O7 @( S
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ) o" ^, c0 @, j; c' k0 E
  1779. ; Only numbers between 200 and 1000000 are allowed.
    . g8 n, r, l8 g* _1 Q4 x
  1780. ;opcache.max_accelerated_files=2000% W' l$ i- h2 U! C/ G

  1781. ) z; z" B/ m3 h
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.! N. e8 l& z# c/ ]2 E  K
  1783. ;opcache.max_wasted_percentage=5) v' D4 s6 C' S/ I: [
  1784. ' F; _" F$ x8 Z& q2 U
  1785. ; When this directive is enabled, the OPcache appends the current working
    8 s; f2 j" g+ G' ~
  1786. ; directory to the script key, thus eliminating possible collisions between
    3 s( p1 b* D7 u
  1787. ; files with the same name (basename). Disabling the directive improves5 q; ^* r6 ?5 ~# O6 F# l
  1788. ; performance, but may break existing applications.6 J& P' X7 P5 F, |
  1789. ;opcache.use_cwd=1
    9 Z2 Z. J8 Y' U& Q+ g; E% c
  1790. " C  X: U( @, r8 D: l) ^& [: m. l
  1791. ; When disabled, you must reset the OPcache manually or restart the
    6 e. b8 L  N' n& L# ^0 g
  1792. ; webserver for changes to the filesystem to take effect.0 o& [/ ~& v  J+ a
  1793. ;opcache.validate_timestamps=1
    ) ~7 d: y; O6 k; `0 C. U2 M

  1794. 2 H! A2 F& I# c0 H* x1 ^
  1795. ; How often (in seconds) to check file timestamps for changes to the shared, H7 S# a. |' G+ h  }; _% t
  1796. ; memory storage allocation. ("1" means validate once per second, but only7 ~# E* t7 f: |. C' [
  1797. ; once per request. "0" means always validate)- i8 m  \, B# h/ ?" l% M
  1798. ;opcache.revalidate_freq=2$ Y9 K: Z9 I) e+ G1 Q3 q' k
  1799. ; _$ T* f3 Z$ h* C$ R5 e
  1800. ; Enables or disables file search in include_path optimization
    . a: P9 {0 V9 B5 M* ^, C
  1801. ;opcache.revalidate_path=0
    0 {7 j0 B" d% x* I8 E. J
  1802. : Y9 N( B, X- G& m# Y% h( b
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the8 n+ t; G6 n+ A  t/ j6 `; `! d& e
  1804. ; size of the optimized code.
    & C. ^, T3 B& l/ V8 }6 @) k. _- ~
  1805. ;opcache.save_comments=1
    & s8 j  t! E: w* n0 i, J4 b$ O
  1806. ! N+ D. C4 m0 G: K4 U$ Y
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    3 f$ e# i) g' H* C* b4 h
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    & O( m2 W+ x4 M6 S+ F' j
  1809. ;opcache.fast_shutdown=00 g: v- C' y1 P. Z, C( P
  1810. 2 I2 M% Y# L7 [! s+ d' e7 }
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    2 t) `, h. u, r, c0 k+ h8 n
  1812. ;opcache.enable_file_override=04 _0 m; m8 J9 i9 O

  1813. 5 C* ^/ `5 g3 @" @
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache& M  L1 w* S. }* A: L. G! ]6 ]
  1815. ; passes
    0 K" h1 G- _* \) q  O" [
  1816. ;opcache.optimization_level=0xffffffff
    ) d! u1 ~: N5 j* e+ Z
  1817. 4 i9 L/ u' [& g5 }+ i
  1818. ;opcache.inherited_hack=16 \* ^; B5 q* r- C  d! C$ h* _% V
  1819. ;opcache.dups_fix=0
    4 q/ H9 G& `. F" f1 p' W- _3 U2 p
  1820. * s; j- a& X! A( w; N% q* W% e8 p( d
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    0 t* a, r  P; f* `; G3 ]
  1822. ; Each OPcache blacklist file is a text file that holds the names of files$ O- a! s6 D  X" `" a/ i
  1823. ; that should not be accelerated. The file format is to add each filename3 d: R6 v1 R: d; |) j
  1824. ; to a new line. The filename may be a full path or just a file prefix9 |, H2 v" i  {
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# K. F1 }- H" `! b* f. ?+ }
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).- l9 z. w/ Q1 H' q) H. H2 X
  1827. ;opcache.blacklist_filename=
    ' s/ r1 E  J+ E) s7 X! Q

  1828. $ h1 P$ _8 y% Z
  1829. ; Allows exclusion of large files from being cached. By default all files
    / {+ a4 x! O* d  a% N' c
  1830. ; are cached.
    ) B2 c! M2 s4 D! A: Q
  1831. ;opcache.max_file_size=0
    ) M- R% V/ c! Z

  1832. - o# I$ f1 l4 G7 P9 J2 R
  1833. ; Check the cache checksum each N requests.3 U" U( C+ X# Z: b* i# A
  1834. ; The default value of "0" means that the checks are disabled.
    0 b' L. z, e# e
  1835. ;opcache.consistency_checks=07 J/ v4 S0 |5 r4 ?# J* n5 s5 u

  1836. . N' x) z+ l3 X8 V
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" d+ f. t6 P; I2 h7 `' c
  1838. ; is not being accessed.% @) p" e: s. g$ c& g
  1839. ;opcache.force_restart_timeout=180
      @$ ?9 s: ~8 \, O- U2 E

  1840. 5 L8 j, a$ }+ k" l
  1841. ; OPcache error_log file name. Empty string assumes "stderr"./ \2 T- k0 z8 K$ o) E" G, @
  1842. ;opcache.error_log=2 l! j6 k% z" X8 ?% I4 b3 u( @  C

  1843. ' \  H2 u5 V9 J- G3 o
  1844. ; All OPcache errors go to the Web server log.
    ; M; E0 j! b/ e; q
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 E  }0 c+ g! r$ V3 }0 h0 ~$ [
  1846. ; You can also enable warnings (level 2), info messages (level 3) or/ w4 v8 B5 w5 l3 @# Y
  1847. ; debug messages (level 4).
      A$ A/ v: A6 `1 a( G# e
  1848. ;opcache.log_verbosity_level=1
    1 X; P7 ?/ S$ v+ I4 a+ Q- {+ ?
  1849. # e/ `& W2 E" E" S# d
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.7 S& Z5 B4 \) ^
  1851. ;opcache.preferred_memory_model=
    & ?+ ?0 U( H- O) H  ^6 u# W
  1852. * Q5 g) U5 R" ~8 l* ^3 }) h
  1853. ; Protect the shared memory from unexpected writing during script execution." x( u: O! i) Y+ }8 I' S
  1854. ; Useful for internal debugging only.5 J1 J2 D: ^# D1 {5 a! g1 L
  1855. ;opcache.protect_memory=0
      O, e; ]+ E/ X% I5 M! t- [( V. j
  1856. * c# M& V+ A3 {" E5 B) H- j
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
      I3 N* Q! t% c' s
  1858. ; started from specified string. The default "" means no restriction
    9 V# G) b4 S- o+ C: `/ X0 T
  1859. ;opcache.restrict_api=/ `2 x. W( E1 A$ t
  1860. ; J8 l, ^+ e$ @/ T- s: {( P
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    4 X: p6 b; Q( m" G- i  T- {' r0 U
  1862. ; processes have to map shared memory into the same address space. This3 `. t! G% h+ h- u( v
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ( ^. ~2 \2 f5 Y: F# z7 b
  1864. ; errors.
    - U( O6 p, p5 W7 ^
  1865. ;opcache.mmap_base=# S& \; g0 m6 {1 D9 ^4 L

  1866. 2 n6 L4 f/ ~) O9 C
  1867. ; Enables and sets the second level cache directory.. v, Y$ f/ J4 Y( Q5 J2 N( \
  1868. ; It should improve performance when SHM memory is full, at server restart or
    % y# N: U- @* u# Q8 o
  1869. ; SHM reset. The default "" disables file based caching.
    " `3 x8 x2 k: R6 @# c* [
  1870. ;opcache.file_cache=- o, n  i) u8 c" _) s

  1871. ! A, r' c6 @0 W
  1872. ; Enables or disables opcode caching in shared memory.2 P( P3 [) T% L( r
  1873. ;opcache.file_cache_only=0' o$ N& E% K" Z. Z
  1874. 7 \& x! o. h' Q9 w4 O1 p. L' i
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    : F+ }- h' O4 ^$ h8 A9 Y+ `: B
  1876. ;opcache.file_cache_consistency_checks=12 a3 q  x! ?& i4 x
  1877. : h& I- r$ v6 F3 }
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ) m7 g) v0 p/ U: Z, \
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file* X' k/ y: _1 P) u
  1880. ; cache is required.
    " g! A" j" d$ e$ N4 w  z: p
  1881. ;opcache.file_cache_fallback=1& I+ L7 }7 p7 ?

  1882. 0 o" Y! k1 f' c' `; K7 t; ]6 t
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.( e6 g' m( g) M4 y3 N+ }
  1884. ; This should improve performance, but requires appropriate OS configuration.- q2 O: y; u8 ?# q: k" W% [' M
  1885. ;opcache.huge_code_pages=1" E+ t( G/ V( j/ o* @9 Y7 \

  1886. # I. A* C9 U$ J4 O& l( E
  1887. ; Validate cached file permissions.
    " {7 p9 ]) G. n* s0 o
  1888. ; opcache.validate_permission=0, X# K4 K- ^! v: y) b1 _7 y) r
  1889. ' q& ?; K" A. R" ^
  1890. ; Prevent name collisions in chroot'ed environment.0 @; M0 Q5 W# x. s- p
  1891. ; opcache.validate_root=0: A6 C: k6 Z  Y7 M" }) H
  1892. & T' M, |/ k$ M9 `; c
  1893. [curl]  j& H% h5 R9 \  p' G: ~
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an, _3 L. T* D) t4 o
  1895. ; absolute path.
    9 a; S0 \6 r; g
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! z( |$ f( N2 m' o

  1897. ( q/ Z: H: _- f1 A5 s6 ]% h4 Z
  1898. [openssl]- [& d& F; Z: @  X6 @& P8 m3 ^. r
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    0 ~  {: t  f' z9 z7 [/ g6 c
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    * D; i8 |: y( o( m5 l' F3 X0 B
  1901. ; not specify a value for this directive as PHP will attempt to use the2 `+ r+ m  M( `' \1 z% N2 c
  1902. ; OS-managed cert stores in its absence. If specified, this value may still" p/ b$ p% F. i& r0 j9 w; V; A
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    " P; w# C) N5 T2 R3 h! L( |
  1904. ; option.
    6 O9 U; ?8 c1 f
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ' z- j+ G/ ~! a

  1906. ! P8 F2 z% f: U$ M
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the8 `# q! g, E3 B  b  l
  1908. ; directory pointed to by openssl.capath is searched for a suitable6 L0 x6 ]1 }! _1 {# T0 S; S
  1909. ; certificate. This value must be a correctly hashed certificate directory.' h5 P, q; i# K4 D% {% f' d
  1910. ; Most users should not specify a value for this directive as PHP will
    $ I3 @$ c  C- @2 M
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,$ T8 m5 e5 m. x3 v: F3 ^/ V. i
  1912. ; this value may still be overridden on a per-stream basis via the "capath"- o! r# F; a( w) U5 N$ ]5 `- ]& o
  1913. ; SSL stream context option.
    . F; I+ i+ q* @1 g
  1914. ;openssl.capath=5 ]5 g# _$ P' k" Q$ v* H, o
  1915. 6 j# r- h; e+ x* h# q1 d
  1916. ; Local Variables:
    0 f0 i: J* }" g- d4 S
  1917. ; tab-width: 4; |3 K3 e( O0 Q/ N5 ]$ \* \# Y
  1918. ; End:: R3 g, ?4 y! Y9 L  a) o: a

  1919.   h; l2 S3 U! s; D8 Z- s% \* |
  1920. ;eaccelerator
    3 i0 D% l# k# v9 x# z2 D$ G
  1921. ' _1 _% S5 M: t$ q
  1922. ;ionCube
    # x9 C* ?, J6 `) w/ I8 H

  1923. 3 \( `8 ?+ N( c
  1924. ;opcache
    % O- H! {6 `- I  `: D5 f2 P
  1925. ( H. S1 [1 b" x
  1926. [Zend ZendGuard Loader]7 ]7 w  v9 P! m6 H8 t8 D1 Q$ G6 ^
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    % R7 r& \' _0 ^+ z- J
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so# C9 ?- `0 Z4 o( }, N+ Z
  1929. ;zend_loader.enable=1' b- M+ r% B/ m
  1930. ;zend_loader.disable_licensing=0* R+ m6 @" _5 H3 k# q
  1931. ;zend_loader.obfuscation_level_support=3
    9 t- _: h  Y3 X8 K
  1932. ;zend_loader.license_path=- O+ \2 r4 ^& I# r  j2 ?( v7 U: P

  1933. " G% R0 N$ W, g- Y: w9 o+ A; D
  1934. ;xcache
    ' a' F; Q/ b( g, D7 D8 f8 i
  1935. 6 e( q4 g5 Q9 v' a7 {
复制代码
2 p2 _! F7 z/ }  g( B$ i" Y
+ v7 q9 \" E3 F6 Y9 f* |
, i: x- T( I7 h, {4 z1 G
$ v* H9 y$ F. i6 p0 [
4 O0 f' N6 G3 A8 K: t- p
* X* W; W" h+ G" V

  w; ~( A9 t( n. t' FPHP5.6版本原始设置
2 A, ?5 N; ?4 X: L4 Z
8 p' p& p6 {+ E% p
  1. [PHP]+ s8 b$ W/ C: }* j& D9 l
  2. $ P5 u, u8 C. C: c) i9 ^6 z
  3. ;;;;;;;;;;;;;;;;;;;% J7 a& k1 D6 Z/ d& e4 ]! |; W
  4. ; About php.ini   ;
    ) d5 L! u, f) X) }& |
  5. ;;;;;;;;;;;;;;;;;;;
    / b  i  X. Z4 ~6 m1 r' e
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : A1 r. Q0 T) a; q& e" k2 \% Q0 G
  7. ; configuring many of the aspects of PHP's behavior.# ~; Y0 j! i. C4 j

  8. 1 P/ u! H4 W) ^% H* z4 X
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( ~, G3 [9 ~: j9 G
  10. ; The following is a summary of its search order:
    9 d9 f# s" w" J
  11. ; 1. SAPI module specific location.; V" y' A# z/ q4 j7 _$ W
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): c: k4 R# e7 Y' o6 V7 G
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 ]1 j4 `1 r5 h! C3 p4 s
  14. ; 4. Current working directory (except CLI)
    " M9 C9 f/ l; \  h+ Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP; h5 k5 L7 `5 `& t: X  u! O
  16. ; (otherwise in Windows)" H6 p) ]- Z: B" k7 K9 V" X! h
  17. ; 6. The directory from the --with-config-file-path compile time option, or the: d6 Q4 X& @) S5 s6 m& H8 Z6 Q
  18. ; Windows directory (C:\windows or C:\winnt)
    ; _' p. {& Y% b/ V1 X
  19. ; See the PHP docs for more specific information.
    ( {. F4 D9 h- y" N0 Q+ i7 v# X
  20. ; http://php.net/configuration.file
    ) p) f. P, _+ R0 \

  21. 1 ?+ C9 K% R' D$ F7 B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # G8 j0 S2 [6 d
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    " o& q8 r+ N& H- m$ X' ^( M8 E
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( h, \: Z& R4 W6 V  \$ [
  25. ; they might mean something in the future." X: `: _- {( ?5 e

  26. + b2 f" k% |; f# @( ^  a
  27. ; Directives following the section heading [PATH=/www/mysite] only6 d& ~  t* v4 i, Y; ~4 D4 v
  28. ; apply to PHP files in the /www/mysite directory.  Directives9 n1 u# E0 [# D9 {4 L
  29. ; following the section heading [HOST=www.example.com] only apply to. O2 v: `2 k! m
  30. ; PHP files served from www.example.com.  Directives set in these
    - `8 @8 \- L. t8 H) T: q
  31. ; special sections cannot be overridden by user-defined INI files or3 C! W" `+ X7 |* F' w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: W: w# f; E! R+ J2 x% c4 p
  33. ; CGI/FastCGI.
    ' [  M. k# J. d- N) |  g; ~; c
  34. ; http://php.net/ini.sections
    5 h8 K+ v0 g8 @

  35. 7 ^9 p" F# g- Z9 j3 h
  36. ; Directives are specified using the following syntax:
    . h4 q2 \( n+ Q- W
  37. ; directive = value, c# f. c* c- A+ n! [1 J9 a- _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    & M& ^- b8 ^  `! v, W- A
  39. ; Directives are variables used to configure PHP or PHP extensions.
    $ \+ e  v$ f1 f# [  u) k, O
  40. ; There is no name validation.  If PHP can't find an expected
    + a9 ~3 q7 i, |( x. ?/ U1 t
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ! {% v4 ^+ U9 g

  42. , u) i" P4 J+ G/ \+ w' j$ J
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    # X9 S" _! @& T
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ! k+ \# D& b7 B
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    : s; m6 F: W5 q: H. h4 K
  46. ; previously set variable or directive (e.g. ${foo})# F+ @0 }% ^9 v# u% O7 I
  47. 3 ^9 [1 T& k1 ^# ~- h
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    , {4 ~! r) ?; c' Q* F* k5 f
  49. ; |  bitwise OR
    . p; I+ H! l& B$ w; _3 @
  50. ; ^  bitwise XOR" c5 K5 j. F  o, T: n
  51. ; &  bitwise AND
    ) c: C( T: c" Y) @$ Q/ U  n6 I
  52. ; ~  bitwise NOT5 D9 j/ e; l0 h6 x
  53. ; !  boolean NOT
    5 U- m/ `! L) J3 U: Q

  54. ) s% X7 O  q' w/ O; V" B8 E. N8 k" P
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      ^! h! I7 g( Z) d% x7 Q6 |
  56. ; They can be turned off using the values 0, Off, False or No.# b3 B- \9 G, J8 k
  57. 8 p8 e& Q9 L4 C5 S% ]
  58. ; An empty string can be denoted by simply not writing anything after the equal
    / @7 m' c) i: \3 E, A
  59. ; sign, or by using the None keyword:
    : G( u+ X; r' S% }
  60. 5 l  u( Z! H1 q  E2 ], I
  61. ;  foo =         ; sets foo to an empty string
    ' l2 y$ ]& U9 e& J$ m3 h7 B$ W- J6 E
  62. ;  foo = None    ; sets foo to an empty string
    0 ^; k: s4 g. Y# i- M
  63. ;  foo = "None"  ; sets foo to the string 'None'
    & r7 M6 T- r: `7 ], W% h6 l
  64. & Z! e) C% [$ ~$ C9 {: M- s
  65. ; If you use constants in your value, and these constants belong to a/ Y# f9 f* n; w2 b* m& `% W  Q5 `
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    2 _6 H0 @" g4 C" Q' g
  67. ; you may only use these constants *after* the line that loads the extension.% R! ?& b' D3 N; m5 ?3 p  {
  68. ' j( J2 W9 g- _: ^4 z
  69. ;;;;;;;;;;;;;;;;;;;2 f9 [2 |' [. h) W; J
  70. ; About this file ;. v/ [7 L' z2 f$ e3 d. \
  71. ;;;;;;;;;;;;;;;;;;;
    ' `! S, {' y1 u  K" m0 c5 o" E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    & n( O  i3 f0 z) F: x0 Y
  73. ; in production environments and one that is recommended to be used in
    , ?. s! s! v9 ^+ N
  74. ; development environments.- `- A3 i& l# A! J2 @+ m' @" F
  75. ) X1 s+ _4 T2 t# t6 D  X
  76. ; php.ini-production contains settings which hold security, performance and
    8 S0 C5 a( _5 ^) z6 n- d+ @: m, D
  77. ; best practices at its core. But please be aware, these settings may break8 n; C1 ?5 O$ C7 Y( j; W1 D$ g
  78. ; compatibility with older or less security conscience applications. We8 J! A( e/ h  |5 c! s: m3 Q# r
  79. ; recommending using the production ini in production and testing environments.
    1 Q$ y1 k  \, L3 Y

  80. ' \: @: K5 b( d  R( P" x  r0 ~# y
  81. ; php.ini-development is very similar to its production variant, except it is/ v0 J% ?' F2 \# P, c8 ~
  82. ; much more verbose when it comes to errors. We recommend using the! u, d8 c9 M6 r* w& {- b+ c
  83. ; development version only in development environments, as errors shown to5 s% X- e2 E4 E6 n  ?
  84. ; application users can inadvertently leak otherwise secure information.6 C8 b$ {1 ?( o
  85. $ f- S7 y, L  L4 H7 ~
  86. ; This is php.ini-production INI file.
    0 f" k! A: E# H1 n7 }! u
  87. ) A4 n% R8 i4 R  d$ n8 t
  88. ;;;;;;;;;;;;;;;;;;;
    ' N7 ?) P& Y6 B- n6 F1 L0 W( g
  89. ; Quick Reference ;/ `' c5 k: o' N( p" D8 M- _
  90. ;;;;;;;;;;;;;;;;;;;
    2 Y7 n) r# e6 Z  K1 P0 I
  91. ; The following are all the settings which are different in either the production* G! B. @9 s4 w9 Q
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 p9 V5 @- B& q) n8 i0 i9 V% ^
  93. ; Please see the actual settings later in the document for more details as to why
    " ~8 R$ V9 n4 A' c3 x1 H
  94. ; we recommend these changes in PHP's behavior.
    4 |: w- g  |- u; S  u

  95. & ~( ]" I" s: \6 N( x& B
  96. ; display_errors) K7 @( O9 ^3 h$ O2 X- }
  97. ;   Default Value: On- Z" ?0 |: m5 X  }, }) s
  98. ;   Development Value: On
    3 U  k8 O" f" l! O; O- `- p
  99. ;   Production Value: Off
    7 ]; u$ F! E3 ~- E; S7 L/ f, j
  100. 0 I5 B2 m4 ]' X2 l6 R) |) C
  101. ; display_startup_errors6 F4 K+ z+ _7 L, @
  102. ;   Default Value: Off# |* u( f4 G- O! l3 H6 U
  103. ;   Development Value: On3 V: G. W6 [$ l# e/ Z7 `/ |
  104. ;   Production Value: Off+ O, O) o, Z& O6 u

  105. 7 Z, t% o9 F' U' O# f$ t
  106. ; error_reporting
    2 V& _5 G& x# P* y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 r3 Y; ^& r" x2 s
  108. ;   Development Value: E_ALL
    - v" F6 t) p1 u, S
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' w2 A1 C+ g# d) k. p: e

  110. - o* u% A' E" p* x: U( M: m# n
  111. ; html_errors
    * S4 p' A0 K; M, b
  112. ;   Default Value: On) f1 T& s: v4 l8 G( l! K
  113. ;   Development Value: On2 B7 C8 b( f, N( R
  114. ;   Production value: On
    ! z# Q+ u4 H3 _0 R" W  d

  115. 5 _$ d+ l4 G8 z& ?7 ^' U# f# {
  116. ; log_errors
    / z9 a6 p5 }* j" @. P. ]" v
  117. ;   Default Value: Off. _, N* U# X: V
  118. ;   Development Value: On
    , A0 z' ?0 j8 h+ m9 K9 ]
  119. ;   Production Value: On: S1 }& ~& d* D. l3 S( Y
  120. 7 o6 _9 v+ I+ ?) \7 X3 r
  121. ; max_input_time8 h( ^0 @9 E) Q) ~0 i
  122. ;   Default Value: -1 (Unlimited)
    5 w# q) |/ _2 w
  123. ;   Development Value: 60 (60 seconds)
    6 F% S: s% ]& o7 X
  124. ;   Production Value: 60 (60 seconds)5 X4 t, S% m/ y

  125. ; A9 J1 P* `8 c6 d9 b/ _, _0 f; i
  126. ; output_buffering7 \, d7 _( b6 g& ]4 Z: X( i% X
  127. ;   Default Value: Off
    8 A1 i+ h7 J1 P) X( r7 `8 n
  128. ;   Development Value: 4096) d7 E! ^5 h# U, U* A# V0 B& N5 f
  129. ;   Production Value: 40968 {* R6 J; J" G7 r, d( O. P  s

  130. 0 k7 C% {3 a: s2 u/ Q: W( q
  131. ; register_argc_argv
    + n8 y* `5 l8 U7 L( H
  132. ;   Default Value: On
      o9 m) L- ?2 _
  133. ;   Development Value: Off
    ; A7 S+ r  i' b: k) k2 x
  134. ;   Production Value: Off, g* P) g) Q0 A4 K# e
  135. 1 |. Z3 m) g9 @7 [
  136. ; request_order
    . z5 j6 y3 L4 m5 C/ b
  137. ;   Default Value: None3 u8 w1 j7 s# J3 T
  138. ;   Development Value: "GP"
    4 G1 W9 H7 K) ^& `5 g/ _' V0 a
  139. ;   Production Value: "GP"
    + W, Z6 M9 i8 L: U. |

  140.   b3 e8 _" n/ X) z1 s
  141. ; session.gc_divisor
    0 h0 x; R! u+ i% q+ N: ]
  142. ;   Default Value: 100
    * ]* j% q# m3 t' a  d, ~
  143. ;   Development Value: 1000( d4 w& s" K9 |. t8 A/ U3 e
  144. ;   Production Value: 1000
    : H6 b5 Q% f+ L4 g( _3 L/ W7 ^! h$ ^

  145. 9 b7 P% W, b& c5 X& I% i& m3 j
  146. ; session.hash_bits_per_character+ F) l) f9 @9 R6 m! q( K5 X" t
  147. ;   Default Value: 4/ D2 t" E3 u7 R; U% |" g
  148. ;   Development Value: 5% F1 Q9 s. E: m8 ^+ M3 K8 G
  149. ;   Production Value: 5+ d& ]" K. P+ l& A! k

  150. 5 t' C+ ]' R7 \, I
  151. ; short_open_tag
    " b- C! \; d3 t2 G6 P3 ^
  152. ;   Default Value: On: q% S+ l0 Z% X' f" B2 t
  153. ;   Development Value: Off
    & R) A$ N0 A0 x
  154. ;   Production Value: Off
    ! u3 ^8 P4 z; P* e9 k' W3 K

  155. 5 X5 J3 ~% R) l" a
  156. ; track_errors. O* R8 t! @/ x
  157. ;   Default Value: Off/ h8 d0 j- ~. i0 N/ {
  158. ;   Development Value: On
    " o+ {0 A5 J' g% P
  159. ;   Production Value: Off
    6 Q- g5 k% A' G) ~2 J! c
  160. # k! r7 `* G, U# o1 S
  161. ; url_rewriter.tags
    * e1 J$ j2 l1 c3 e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="7 s8 ?$ t  [9 T( l2 I! ~7 E9 B
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 n- `* Z$ V! a# B1 N2 {
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - }5 t3 A4 Z1 h4 l  y$ I+ f3 O

  165. - H& Y- Z; p$ f" Y
  166. ; variables_order/ h5 X2 z# o2 n
  167. ;   Default Value: "EGPCS"+ h4 D, @8 \& C( }2 n
  168. ;   Development Value: "GPCS": x* b( F7 f9 F2 ~2 c
  169. ;   Production Value: "GPCS"" v0 r2 T( l: L5 c& F3 c

  170. & @( A. Y# _' f1 d$ w
  171. ;;;;;;;;;;;;;;;;;;;;! Q0 ^, G) L6 ]+ a6 w) C1 P5 `  G  E
  172. ; php.ini Options  ;0 K% ]4 O  v9 A
  173. ;;;;;;;;;;;;;;;;;;;;* ~7 g/ v: p% e  u0 P
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"- K/ H8 W( X  P6 d8 D' F
  175. ;user_ini.filename = ".user.ini"
    ) Y8 n% d3 _- [( \# a# L

  176. 3 d/ M$ q  \0 u! Y9 Q
  177. ; To disable this feature set this option to empty value
    ) r( @! K; F' ], L, b3 ]( Z
  178. ;user_ini.filename =" ?* f8 M/ D& o/ O

  179. ; q0 d/ c& |" v: c' M, o% B; z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)6 k  v: D& k+ t
  181. ;user_ini.cache_ttl = 300% p( g$ ?7 F( V4 W! x

  182. ( s  s. r* R- Q- U& b; R/ e6 Z& J- t
  183. ;;;;;;;;;;;;;;;;;;;;
    6 _) B+ x1 J# B: S
  184. ; Language Options ;) ~& {2 r: `) N, s! h7 V' z( G& Q
  185. ;;;;;;;;;;;;;;;;;;;;
    * |3 o( ^+ b8 ?& E5 U8 v

  186. 4 M7 Z7 y! q( @) h* i' L
  187. ; Enable the PHP scripting language engine under Apache.1 n/ I' `& t$ M% e' N+ B
  188. ; http://php.net/engine
    3 G# J+ r7 N# A1 ^
  189. engine = On" F! \8 r5 j( v5 \! O
  190. ) |# F4 `9 c/ k0 J2 E
  191. ; This directive determines whether or not PHP will recognize code between  L: n6 L+ _  ?2 A4 e9 y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * Y1 F) p- w6 q4 \
  193. ; generally recommended that <?php and ?> should be used and that this feature
    4 b; {9 `. m! w0 e* k
  194. ; should be disabled, as enabling it may result in issues when generating XML, g% M4 v8 f, _/ N0 j
  195. ; documents, however this remains supported for backward compatibility reasons.; x  M$ d  ?  M8 Y. g/ Z9 {" ~
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, X% _6 B' D1 Q& \; t5 v  J9 S3 f
  197. ; used regardless of this directive.1 b# B. H9 s/ C8 b; Y7 S  L
  198. ; Default Value: On4 \) Z2 t1 @8 D) P- a) ^4 ^2 c
  199. ; Development Value: Off
    9 \4 k9 P. b3 B
  200. ; Production Value: Off- a1 @8 P$ |8 r9 k
  201. ; http://php.net/short-open-tag
    $ C& B- e, Z6 a# z0 p/ k% R( n/ O
  202. short_open_tag = On
    ( L" c3 D2 ~) G! ~

  203. ( J6 }1 [+ [; \( G) I- @
  204. ; Allow ASP-style <% %> tags." W: l: j  \& }( N. c8 l
  205. ; http://php.net/asp-tags% I0 f! Q: H. f, K" w* g
  206. asp_tags = Off
    & {2 H  z7 ?7 _  V, z+ C

  207. ' g4 X/ W, J3 _0 ^
  208. ; The number of significant digits displayed in floating point numbers.
    + I* _: `1 H. o& P1 u6 f
  209. ; http://php.net/precision" B/ F6 D  P, Z7 q
  210. precision = 145 B9 z, |+ ]- c

  211. . C" A, a) K) {- ?; ]
  212. ; Output buffering is a mechanism for controlling how much output data* D3 f% _7 |! t
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    7 j5 d: J7 X  D0 ~( S
  214. ; data to the client. If your application's output exceeds this setting, PHP; B' M* A- g* |9 n( i3 D: H
  215. ; will send that data in chunks of roughly the size you specify.8 T7 f2 \* A' D# @* T+ g, n
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    . e! B) ^2 H. l
  217. ; interesting side-effects depending on your application and web server.
    ; J5 m3 K& e+ y% d4 t) M) e
  218. ; You may be able to send headers and cookies after you've already sent output5 L9 a9 d" l( O9 d9 w7 P
  219. ; through print or echo. You also may see performance benefits if your server is
    5 x, [/ [* Y) S+ e+ x
  220. ; emitting less packets due to buffered output versus PHP streaming the output7 o) G  C; c7 @' _. b
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance  A! ^7 M4 {, ^1 w: F+ A
  222. ; reasons.7 j1 P6 j: G' r0 ?% k3 {$ F
  223. ; Note: Output buffering can also be controlled via Output Buffering Control0 S7 V% ^: A% @9 X! O9 k6 l% w4 w
  224. ;   functions.8 p* N- l0 U( k- G5 O1 w  q
  225. ; Possible Values:# B+ O8 R" a' R  a$ \- v- |
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; K4 l4 i5 j7 W  I% y
  227. ;   Off = Disabled
    ) Z5 s" \6 H8 V. U
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( o9 h6 z3 B0 W  _- W, ]
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI( u2 E% `. B2 S0 x
  230. ; Default Value: Off
    ! f! r8 d4 Y4 c4 Z- o. A
  231. ; Development Value: 4096% {# t  w( N4 M0 U. Y
  232. ; Production Value: 4096
    " w7 I; i. A8 W, i) b
  233. ; http://php.net/output-buffering4 I' J- ?( j, s" h
  234. output_buffering = 4096
    ) J7 j+ ~5 k5 n8 _" I
  235. 1 Q2 t; C$ m; o0 p# h  R# t* D, q1 Z
  236. ; You can redirect all of the output of your scripts to a function.  For
    . I7 Q1 ^  i$ L5 K* t
  237. ; example, if you set output_handler to "mb_output_handler", character
    ) u0 b* v# B* \) n' m) {% D% g
  238. ; encoding will be transparently converted to the specified encoding.
    1 d! y- d1 L  x& Z0 i' g* P0 E
  239. ; Setting any output handler automatically turns on output buffering.  t- k  c5 H% X' K2 j; C7 w$ d# z
  240. ; Note: People who wrote portable scripts should not depend on this ini3 C2 G+ P7 J# z. v
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    : o/ A2 ?9 t- k; w, ^) V2 G* L& ~
  242. ;   Using this ini directive may cause problems unless you know what script
    + \7 e; `9 p9 q2 j
  243. ;   is doing." T( V, ~* U8 A) D2 ]2 S! g
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    3 U& g0 ~; {( }2 L. h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    / u0 L; F7 b9 L( E
  246. ; Note: output_handler must be empty if this is set 'On' !!!!9 C% s, r+ z; f  d( n4 g
  247. ;   Instead you must use zlib.output_handler.
    ( z0 X* c  d5 m2 |
  248. ; http://php.net/output-handler- Y* D0 C9 H6 ]6 ^
  249. ;output_handler =
    - F  G4 p# t$ H( h& h

  250. : ^9 E$ U+ F+ ~" j3 x  i
  251. ; Transparent output compression using the zlib library6 c% e  I' J/ E* O# W: h
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size5 k  N: B( I& j$ b' P* ?& C
  253. ; to be used for compression (default is 4KB)1 z$ S" c$ f" ~/ D% T
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      m2 z; h1 L( G/ W2 d
  255. ;   outputs chunks that are few hundreds bytes each as a result of7 y# Z+ L( A, b& z1 j! T
  256. ;   compression. If you prefer a larger chunk size for better
    - j6 G% b! W8 r
  257. ;   performance, enable output_buffering in addition.
    ; a9 I  i7 C1 F* T$ \
  258. ; Note: You need to use zlib.output_handler instead of the standard
    : F9 Q5 Z* k+ c( c' l
  259. ;   output_handler, or otherwise the output will be corrupted.
    5 r  b- F; N% y$ x4 w6 Y( u
  260. ; http://php.net/zlib.output-compression
    / i. A4 M% {# i  ]/ ^0 d: J
  261. zlib.output_compression = Off
    + K5 R( M( v3 m% U

  262. 8 R% u3 c: p. Z( E  V; o5 t
  263. ; http://php.net/zlib.output-compression-level
    4 P4 H1 W' j) n6 B) r0 A
  264. ;zlib.output_compression_level = -1) n& U. }0 f) c3 b/ v, x- l

  265. ; o' l) L- Y& s. [9 T* z
  266. ; You cannot specify additional output handlers if zlib.output_compression( {5 T- r2 C& K6 A4 }" [( i) }: ~
  267. ; is activated here. This setting does the same as output_handler but in
    + S8 w1 U  g0 h) r1 u
  268. ; a different order.$ v' M% e0 G1 B2 ^2 d1 l
  269. ; http://php.net/zlib.output-handler
    # k8 w8 d8 i, j& @! B; q5 q
  270. ;zlib.output_handler =
    ) Z2 Q& Y( }5 A# v( o, f/ r
  271. 8 f7 _- W1 O) q% {2 r6 B
  272. ; Implicit flush tells PHP to tell the output layer to flush itself. J' {. ?4 F% E! m4 i
  273. ; automatically after every output block.  This is equivalent to calling the
    & C7 f6 X% V% o9 ?9 n% ]4 s
  274. ; PHP function flush() after each and every call to print() or echo() and each
    1 J! ]. U+ q% D$ x. m& |! M; U
  275. ; and every HTML block.  Turning this option on has serious performance* S+ f; F, ]- c  T
  276. ; implications and is generally recommended for debugging purposes only.- u2 P! M( D, }0 |
  277. ; http://php.net/implicit-flush
    : R9 n- ^! I/ {/ o, P
  278. ; Note: This directive is hardcoded to On for the CLI SAPI' f- w& T3 [( w% R+ R6 Z) N, N
  279. implicit_flush = Off% O  w& X" u7 u. Z& B; z% e5 Z6 M
  280. 1 b4 ?% V. B6 h' C
  281. ; The unserialize callback function will be called (with the undefined class'
    5 [0 o/ ^6 f5 Z
  282. ; name as parameter), if the unserializer finds an undefined class1 g7 m# G1 N; b, ~' G; j- ]
  283. ; which should be instantiated. A warning appears if the specified function is( @" S. U% Z$ J3 `' E
  284. ; not defined, or if the function doesn't include/implement the missing class.
    2 n6 \) f2 `5 p' I  u
  285. ; So only set this entry, if you really want to implement such a
    . N! V- D/ K1 M
  286. ; callback-function.# F) o( S: w4 G
  287. unserialize_callback_func =
    8 H# g7 h  t2 ^$ e) J# Z9 |7 M

  288.   V8 T2 `( T9 z
  289. ; When floats & doubles are serialized store serialize_precision significant
    ' G% Y2 a# s( [9 r4 Z2 y
  290. ; digits after the floating point. The default value ensures that when floats4 ?8 M2 n* L: h9 z0 v# O
  291. ; are decoded with unserialize, the data will remain the same.
    $ _; w5 A# R: L$ w* J9 {
  292. serialize_precision = 17" y* X" ^) k5 X* b; Z! C! }, z

  293. ' H1 d4 e4 m+ ?- {
  294. ; open_basedir, if set, limits all file operations to the defined directory
    5 Y; ^. A+ f* p- q/ E' z- @# _  f2 ]
  295. ; and below.  This directive makes most sense if used in a per-directory
    6 t' F. Q8 H9 W* @- F0 d- a
  296. ; or per-virtualhost web server configuration file.
    * s8 w; W4 h" m9 d7 X1 l
  297. ; http://php.net/open-basedir
    ) O' r5 M; }( d! u: I# E
  298. ;open_basedir =
    # t+ G+ F, A0 T4 _' [$ Q

  299. 8 s  t( X$ p# K9 |
  300. ; This directive allows you to disable certain functions for security reasons.
    % D5 q9 z! S$ s! h6 D! V3 T4 K
  301. ; It receives a comma-delimited list of function names.
    4 D, u) p. z/ \$ ~- e7 s
  302. ; http://php.net/disable-functions
    / u' X% ^" S" _/ z% _
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) U. t- b- Q$ Q/ }- e. S

  304. ( W+ ^; `% n' ?( p  X/ l/ j
  305. ; This directive allows you to disable certain classes for security reasons.
    . }2 v8 _# E% H" q$ z1 R; }
  306. ; It receives a comma-delimited list of class names.' C! z6 j" A4 w5 W
  307. ; http://php.net/disable-classes1 v6 D1 s, ~7 L- T( ?4 O% r/ Y. m
  308. disable_classes =' T9 M' e$ ~: a3 n

  309. 7 v. Z4 Z6 y* r6 x
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 ^' F. Z1 t$ d7 H8 t
  311. ; <span style="color: ???????"> would work./ a3 D8 w  n4 c# Y
  312. ; http://php.net/syntax-highlighting
    & H3 ]4 D) a3 P/ y
  313. ;highlight.string  = #DD0000) J2 K: m" L9 k9 l& [- p
  314. ;highlight.comment = #FF9900
    6 E3 F) l6 G  M1 _/ `) o
  315. ;highlight.keyword = #007700
    & t* `! m* d& [2 G3 c4 G4 g, J4 P
  316. ;highlight.default = #0000BB* ~9 t9 U) q% |0 j: K( }# c
  317. ;highlight.html    = #000000! c4 ~" i% f) |. X8 X

  318. 4 ~! a6 J" y! s7 N
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    9 j" N' B8 \/ ?" _) J% c# T
  320. ; the request. Consider enabling it if executing long requests, which may end up
    4 t/ x) p+ _" d, b
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior6 ~" R: n- ]: X3 g7 ?
  322. ; is to disable this feature.+ Y. T+ F+ y% b* e3 l% T
  323. ; http://php.net/ignore-user-abort. B1 ]' a( K/ I8 [; z6 a
  324. ;ignore_user_abort = On
    2 H5 p* u# }  E  L) D0 E. H: }3 x

  325. 5 R% }, z: ], j' S' C/ n
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 Q. ~2 n& l0 F. l! w6 d& Z1 g
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    . s' x; A) q) y& R+ H
  328. ; the file operations performed.' l8 v3 T! O/ q0 o
  329. ; http://php.net/realpath-cache-size- f& l: T- I% t2 L
  330. ;realpath_cache_size = 16k
    + S4 q- j" J& C
  331. . ^% n! [1 s  P& e  l' q) S! Z' Y
  332. ; Duration of time, in seconds for which to cache realpath information for a given7 f2 c4 H- k6 r, K4 C/ J5 o' c
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 |; G' T9 y: I% m, s
  334. ; value.
    5 h: f  w; V  b
  335. ; http://php.net/realpath-cache-ttl
    # L( y* }" q6 t" Q4 P% ~
  336. ;realpath_cache_ttl = 120+ i2 K( v( W- e. p

  337. ' \3 d4 ]2 z: k
  338. ; Enables or disables the circular reference collector.
    4 ]8 W6 s6 H4 Q
  339. ; http://php.net/zend.enable-gc
    * ^; T- H7 H1 U' t* ~$ C0 k! R- Q
  340. zend.enable_gc = On
    , E* h8 t, Z5 j; |6 }

  341. * n3 g7 G1 ]: g) {, H/ \
  342. ; If enabled, scripts may be written in encodings that are incompatible with' ]( i5 f2 K& ], z
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 R9 A& {, R5 c  V
  344. ; encodings.  To use this feature, mbstring extension must be enabled.( a2 M9 V- X2 D2 Y% J; @* K5 d
  345. ; Default: Off  h% c0 h7 G% y4 i, g0 t
  346. ;zend.multibyte = Off
    6 ^  `& n( U  I# b# X

  347. 4 ~5 Y, ?3 T* k+ K8 m* y4 `, @3 J
  348. ; Allows to set the default encoding for the scripts.  This value will be used" h$ R2 O* V4 o; [% ?$ a4 i3 t* F
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    9 g( g0 \6 Q$ j  x  Y- {5 m7 h) F! v
  350. ; Only affects if zend.multibyte is set.  O7 s2 C$ F# Z% ]* J8 X, Z( _
  351. ; Default: ""
    " E% F& }7 I5 j8 A5 C
  352. ;zend.script_encoding =3 e" m7 y& N' I
  353. 9 @3 F' l; o$ F0 L
  354. ;;;;;;;;;;;;;;;;;' T2 ^4 d4 i0 [- A2 T$ I0 q, K" D
  355. ; Miscellaneous ;( G9 W, A5 x9 S% v) L  H6 U6 C' L
  356. ;;;;;;;;;;;;;;;;;; G$ C" ?0 D! U$ s, X
  357. $ D& m* ]9 \4 H% D7 ]* `
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    5 X; H7 N2 Z# w8 U
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 B/ x  q4 N" M0 t. T2 L9 p
  360. ; threat in any way, but it makes it possible to determine whether you use PHP/ |1 i- N5 S% d* M: D" Y) B. I
  361. ; on your server or not.
    * W7 b! M7 }. r9 J
  362. ; http://php.net/expose-php* O2 k. t% w; L1 o
  363. expose_php = On; S6 J% k0 u; w

  364. 1 j. j$ j& \0 o5 j3 ~8 n0 _$ Y) h
  365. ;;;;;;;;;;;;;;;;;;;
    8 t" A; B. E! ~3 b# V7 L1 I
  366. ; Resource Limits ;
    0 v  \* i, q" r
  367. ;;;;;;;;;;;;;;;;;;;
    , z8 Z  G& P- l9 m0 [0 ^

  368. " q6 r7 ^5 o, e! ^7 x6 S
  369. ; Maximum execution time of each script, in seconds
    ' X* J  ?" n' a4 |2 Y+ l
  370. ; http://php.net/max-execution-time! G3 P$ t5 u6 F8 q, K' }; L7 a
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI3 c5 X) g4 ~: H; Y/ T
  372. max_execution_time = 300/ Y9 A; J" N; F3 O; g8 ]

  373. & V* n$ u6 Z+ ^$ R8 l! H4 K9 F' Z! r
  374. ; Maximum amount of time each script may spend parsing request data. It's a good. r8 Z6 ]) }. @( O: i9 ]+ i  A
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , x8 `1 g- w. U2 x% y3 i6 C, v
  376. ; long running scripts.
    - p( I, P2 C4 |  a
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # N! p6 B* _. M
  378. ; Default Value: -1 (Unlimited)
    ) {4 C4 X& @' i: Y! A9 T+ j# v
  379. ; Development Value: 60 (60 seconds)3 e& R/ Q8 s) J6 a
  380. ; Production Value: 60 (60 seconds)
    , B5 d! G( W7 y% x
  381. ; http://php.net/max-input-time
    # Y7 e8 w) s% q
  382. max_input_time = 60
    ( H0 d5 n% h6 S* |3 G- D

  383. 3 }3 L- X: q. Z* f  O
  384. ; Maximum input variable nesting level8 S6 l" {$ g9 @
  385. ; http://php.net/max-input-nesting-level
    2 v6 q# g2 g" |& Z7 M6 {5 S' l# a
  386. ;max_input_nesting_level = 64, g! f1 b& ^6 d: O, q$ A
  387. 6 Y. {1 m6 m, D
  388. ; How many GET/POST/COOKIE input variables may be accepted* k& X9 Y' ?; F4 N
  389. ; max_input_vars = 1000
    9 `3 w+ c- A6 o( |& a
  390. * n, r9 L/ N& `$ X7 J
  391. ; Maximum amount of memory a script may consume (128MB)1 l1 S5 V+ a  V6 r$ Q# c. Q
  392. ; http://php.net/memory-limit+ l* W4 O" [: ~
  393. memory_limit = 128M
    ! j4 A, [+ c: @% Z5 E

  394. ; p6 u  Z, }6 V! i
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , U/ N, R# r, l& H1 O9 ~/ G/ Q
  396. ; Error handling and logging ;
    6 P% j) X! D4 j  W0 E) a# o0 x
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + _! Q: r: @. F  W( s( S9 ]: W

  398. 8 G& t! D! w; R
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    . o" G+ m" N) x! x% d/ h
  400. ; it to take action for. The recommended way of setting values for this
    2 C- E4 t2 C& U$ w( x( Y
  401. ; directive is through the use of the error level constants and bitwise
    & ^, ~) {3 C( i* t4 X% K- \
  402. ; operators. The error level constants are below here for convenience as well as0 s2 c  l  Y6 N1 E/ ~0 Z0 V( D
  403. ; some common settings and their meanings.
      y% s" K  q' X, a8 W) g
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT5 }+ g( e8 K' y. X* t
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    . e! R! V) ]: }
  406. ; recommended coding standards in PHP. For performance reasons, this is the1 Y" g" {& t$ X$ v8 C3 m( X
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    " }' l7 T# B1 B) M6 n
  408. ; resources complaining about best practices and coding standards. That's what
    " {4 \9 G% S0 |7 T2 k1 `
  409. ; development servers and development settings are for./ `; r8 I5 u' `9 k* ~' c' l
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    3 c8 i# Y+ [' z3 A
  411. ; means it pretty much reports everything which is exactly what you want during
    0 x, I2 n: {; ]
  412. ; development and early testing.
    , k5 w' I6 _" {' Z
  413. ;
    ( I  l5 ?7 G: R7 A$ x! [* R0 g
  414. ; Error Level Constants:0 g( c0 p4 P/ D8 U1 A7 U
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)/ ~. t& M5 p2 M
  416. ; E_ERROR           - fatal run-time errors
    * D. o5 P( ]  ?; q4 c& j1 E  i8 u
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 {& x1 ?8 g# I/ A& c. K' O
  418. ; E_WARNING         - run-time warnings (non-fatal errors)4 X3 i4 v3 |. t3 z
  419. ; E_PARSE           - compile-time parse errors
    2 @9 M- `- E5 @1 j2 Q1 V
  420. ; E_NOTICE          - run-time notices (these are warnings which often result4 [0 d" p/ g1 t3 D" v
  421. ;                     from a bug in your code, but it's possible that it was9 I" b5 X. f+ J/ ^1 t0 |+ ]
  422. ;                     intentional (e.g., using an uninitialized variable and8 z+ g. b! J; A: Y" {5 `  T& b
  423. ;                     relying on the fact it is automatically initialized to an
    % J, Y: \# V1 j$ }2 g% k
  424. ;                     empty string)- i- Y' g% E# N# C' A
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    7 P' ^. E8 }! L2 B) f$ t. W+ o, r
  426. ;                     to your code which will ensure the best interoperability
    % e! q) M' x) ?! c# a0 p1 y4 W: O
  427. ;                     and forward compatibility of your code
    & \7 Y+ y4 n! Z
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& p. f* n1 V. v7 M( u
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' o) j$ u6 `& Q- Z. U& ?. O
  430. ;                     initial startup0 N' H, c% D( j. s# A) U+ m
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' f# W5 [2 L1 `; d0 v7 F/ {4 Y+ g
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    8 q7 D; k6 D" B, ]0 O  v+ H4 y# q# s
  433. ; E_USER_ERROR      - user-generated error message
    9 t1 ~' I2 q+ t8 i/ B
  434. ; E_USER_WARNING    - user-generated warning message
    . X) ^' V7 M9 b- o) L
  435. ; E_USER_NOTICE     - user-generated notice message
    5 h  l: p8 l4 B& ~9 x
  436. ; E_DEPRECATED      - warn about code that will not work in future versions5 K/ Q" _, Q3 @
  437. ;                     of PHP9 W6 `9 T6 O' E
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " g8 i# W8 n# A* Z9 [5 J/ W- i4 i
  439. ;# ]6 B3 ^* v) R/ k
  440. ; Common Values:8 ^' y  ]3 M3 N  M* u
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 Y4 I7 N6 C6 T; R4 S
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' H( q$ d* j. r; F, K0 N# C
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) @6 m: T2 d# q9 J
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)3 B  N& e. d, ~
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 b5 r6 |- s% `/ n
  446. ; Development Value: E_ALL
    . X) \3 o% T2 G: V
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, P1 }' n3 m; _% \2 }
  448. ; http://php.net/error-reporting
    3 v% i0 S0 x3 B0 a7 \7 s
  449. error_reporting = E_ALL & ~E_NOTICE; \! x1 P0 T% J) Y9 C! Z
  450. . a7 l4 _5 }2 z3 s. N, T  u
  451. ; This directive controls whether or not and where PHP will output errors,
    + O; `0 R6 _$ L/ X
  452. ; notices and warnings too. Error output is very useful during development, but
    . L  i6 n. N6 r# A# a% b0 a1 r
  453. ; it could be very dangerous in production environments. Depending on the code2 S" T; Q7 E2 C1 n/ d
  454. ; which is triggering the error, sensitive information could potentially leak
    ) ?! _5 Y4 a8 @9 r& k; ]
  455. ; out of your application such as database usernames and passwords or worse.5 e( U- V: R# X2 g9 z
  456. ; For production environments, we recommend logging errors rather than
    7 ?5 }3 W/ v* A# n( i
  457. ; sending them to STDOUT.
    0 Z/ r- v5 @! {4 o: E& }! w
  458. ; Possible Values:% ?2 m$ ?: E5 H& }' D# `
  459. ;   Off = Do not display any errors7 J0 N* _' ~" s2 y+ o+ T
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    1 R- x& S+ }  [! T) [
  461. ;   On or stdout = Display errors to STDOUT  K* v. D1 o+ _6 o6 O; t
  462. ; Default Value: On, L, |! z- |# c* J
  463. ; Development Value: On* U) x8 G- }' S. i% }3 p
  464. ; Production Value: Off7 c* H. V( l2 b  R! v& _2 P0 q# Y
  465. ; http://php.net/display-errors1 r( H: n) ]" o3 O, l
  466. display_errors = On) y: w6 b* k9 F# p' n* y

  467. * S' \) v# u2 c- n. ?0 z5 V9 N1 M
  468. ; The display of errors which occur during PHP's startup sequence are handled7 j9 X! M$ ?7 v0 \/ D
  469. ; separately from display_errors. PHP's default behavior is to suppress those: m% O6 p; f8 t! `, d1 K
  470. ; errors from clients. Turning the display of startup errors on can be useful in# F" K& O: ?  R
  471. ; debugging configuration problems. We strongly recommend you
    3 f% P0 j$ P2 ?5 |- l. N4 i
  472. ; set this to 'off' for production servers.
    * x, Y, d9 p- `
  473. ; Default Value: Off# w0 B) H& p, ^4 d# T
  474. ; Development Value: On1 x5 R# F/ Y, r# u5 U3 r
  475. ; Production Value: Off3 l3 ~; R2 w0 I( Y6 l: h
  476. ; http://php.net/display-startup-errors3 w' }" e( e1 u3 W9 h7 i8 ~  y
  477. display_startup_errors = Off
    ) v8 P/ P, x$ C. |

  478. & \! R7 m4 k" Q
  479. ; Besides displaying errors, PHP can also log errors to locations such as a  a% {# F/ o; c* |
  480. ; server-specific log, STDERR, or a location specified by the error_log
    , r& Z# w2 T( P$ R. q& |5 |  z
  481. ; directive found below. While errors should not be displayed on productions% y4 d: U' x! I: q1 p* t
  482. ; servers they should still be monitored and logging is a great way to do that.) |- f3 T  v+ \. A
  483. ; Default Value: Off% [6 J: V% g% ?/ J5 w% k' I
  484. ; Development Value: On
    $ ?9 u  |0 s* ~- f$ }5 Y
  485. ; Production Value: On* I9 ]6 v; E7 x* Z
  486. ; http://php.net/log-errors& C6 v. ?4 i' G6 I. ~
  487. log_errors = On
    % U+ Z7 K4 [" `' U$ z$ }  X
  488. ! B- A  e/ |$ N; s$ W
  489. ; Set maximum length of log_errors. In error_log information about the source is
    6 g" v2 o- J1 R( y; Z+ O7 S9 p# p
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.+ @) K; r+ l' [* B! m
  491. ; http://php.net/log-errors-max-len
    & E$ t: |6 O- l4 G- F- Q
  492. log_errors_max_len = 1024; R3 ]0 K4 V3 q- e) Y
  493. ( d+ y! e8 ^& ^0 c: |
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same: a* o. H4 n* c6 }/ |, j8 y" V6 H
  495. ; line unless ignore_repeated_source is set true.
    # n5 r  v0 S! E/ e7 Q# S! C9 l
  496. ; http://php.net/ignore-repeated-errors3 L; {' q; a2 A( _) j$ d# C
  497. ignore_repeated_errors = Off
    / Z* E; r2 L2 F. q0 t( y
  498. / s  A  C- Y9 U
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    . s! C) w% c' f
  500. ; is On you will not log errors with repeated messages from different files or' h6 {/ H1 K9 H4 d1 a) P  i
  501. ; source lines.# [! e+ J6 x* M) r/ V5 b4 C
  502. ; http://php.net/ignore-repeated-source: a% Q/ c. Q: E% j
  503. ignore_repeated_source = Off
    " v$ |9 g8 O0 f9 z

  504. 0 X0 }2 r- q3 p! R+ L) e- m
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    $ B# O  v. D3 ~2 {
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 e5 C. k3 G  ]( G0 W8 k4 ~
  507. ; error reporting includes E_WARNING in the allowed list
    ' {. x: C. `& x: w
  508. ; http://php.net/report-memleaks
    5 ~8 ]2 T! B7 X" ^2 m
  509. report_memleaks = On* }4 A1 V& v: C6 d" C8 E2 v$ O

  510. 6 ~* ]: F5 J% X# c* _+ L6 F
  511. ; This setting is on by default.
    9 j; a+ D/ @) Z7 A6 @, C
  512. ;report_zend_debug = 01 h! W6 Z/ @1 L$ |
  513. & M( N4 `" `0 m- Q. m4 M
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 J$ }5 l& `+ {- R/ ?+ p& J8 S' ]7 J
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    3 a; F2 n- N% f/ Q1 S
  516. ; however be disabled on production servers.
    4 N+ f+ }. l: i! {4 T. t8 V8 E
  517. ; Default Value: Off5 r% v7 i0 g9 }5 h6 x
  518. ; Development Value: On+ l0 b2 B/ Z: Q/ ?' O; g3 [
  519. ; Production Value: Off$ u, \( e5 V  I; p0 H5 V/ P
  520. ; http://php.net/track-errors0 D7 E; ]8 i; B$ W: }! \
  521. track_errors = Off, R" }2 `/ v9 U- t# v- Q- ^

  522. , f4 G2 i+ k$ X, s. V
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    - Z, g$ M9 h) }; R+ X$ k
  524. ; http://php.net/xmlrpc-errors
    1 \6 F9 z# ]& h$ k3 @
  525. ;xmlrpc_errors = 0
    $ }% S. J! k7 w. I

  526. 2 c4 Y# v& Q' X5 F9 V4 c- b) j. a
  527. ; An XML-RPC faultCode
      ]2 m5 U1 F7 f2 A
  528. ;xmlrpc_error_number = 0
    0 a' J8 `4 C& V! v* [$ _
  529. % j  C0 d6 h* N: d% ?
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ' l! `: K) ?" j* W! D
  531. ; error message as HTML for easier reading. This directive controls whether, }0 r0 ?! g  @* p* j
  532. ; the error message is formatted as HTML or not.
    , p) ^4 [0 Q# ]* M/ }1 I" G$ y& |
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * p% ^% V* S% l5 _' b! n, E# S
  534. ; Default Value: On
    : o! y2 X* t8 A' q4 U
  535. ; Development Value: On
    / P- j8 U/ Y; E9 x
  536. ; Production value: On
    4 V- ~5 E- E& A' ^
  537. ; http://php.net/html-errors
    ; z! y$ I9 k- K) n7 |, l; g; Q
  538. html_errors = On8 k$ C2 j& R/ {4 r4 n
  539. : F% g. d, S/ m
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP  V" G" M( K8 ^2 @. I, g! T
  541. ; produces clickable error messages that direct to a page describing the error
    8 x7 X; W! ?( m1 q+ x
  542. ; or function causing the error in detail.
    : I7 S2 }4 `' G8 H, S0 v
  543. ; You can download a copy of the PHP manual from http://php.net/docs0 k" z. O/ P, e; P; C$ O4 h
  544. ; and change docref_root to the base URL of your local copy including the
    - l) U! W1 O$ w8 J# s9 {
  545. ; leading '/'. You must also specify the file extension being used including
    ; B0 c& O9 k0 c) g7 l
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / P6 l; v, t4 F& H; G1 E
  547. ; case no links to documentation are generated.+ p0 Q, J' {$ L, @6 H
  548. ; Note: Never use this feature for production boxes.8 l1 o. j7 |7 V7 f
  549. ; http://php.net/docref-root) J& l9 d4 A: `1 p! E1 X5 T+ p, `, I
  550. ; Examples3 [$ @/ D, l* ^+ r6 {
  551. ;docref_root = "/phpmanual/"
    ! b7 W3 T0 H; t  l% V
  552. ( j$ s7 l9 T) v0 q* o
  553. ; http://php.net/docref-ext
    3 i" r1 ]# e" O9 R; p- {7 a
  554. ;docref_ext = .html
    5 E1 B8 c- ^2 ~) x; D% [6 q( M" e; f
  555. ' J: i( F" ?, g" r7 ~0 p0 o
  556. ; String to output before an error message. PHP's default behavior is to leave
    - N, p" M+ b9 \0 \/ [" \
  557. ; this setting blank.
    0 {5 }1 B. q' e# ]! e9 `
  558. ; http://php.net/error-prepend-string
    2 G% s" M  ^' \  v
  559. ; Example:
    ' G9 M3 i0 s9 o
  560. ;error_prepend_string = "<span style='color: #ff0000'>"; K& D4 d2 u/ K1 v0 r) {

  561. - A" W4 b- {  O; i- y
  562. ; String to output after an error message. PHP's default behavior is to leave6 A3 W; @: e6 z/ y
  563. ; this setting blank.
    ) q% ~8 V! o- y  w0 H6 Z6 E* M
  564. ; http://php.net/error-append-string
    7 ]9 }9 u4 I9 E
  565. ; Example:
    ! a9 R% V8 V& `  O8 E
  566. ;error_append_string = "</span>"9 t3 |# e+ Y  V* ?! e
  567. - r$ S6 k. [3 ^
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 \& V. m, U* L; Y, Y  ~( v
  569. ; empty.. |' S" E& c7 r" y+ }) R- {6 ]9 i& H
  570. ; http://php.net/error-log
    5 B2 N1 _1 s! d0 Q  p" m  U5 t& A7 _8 k
  571. ; Example:; e  U  h( b' f( @' [7 v
  572. ;error_log = php_errors.log+ }1 b, s8 J# i& A9 k  @$ b
  573. ; Log errors to syslog (Event Log on Windows).  ?. U8 S6 f8 e# c$ m. Y' N( m
  574. ;error_log = syslog
    : H. B% |  l% Q/ U' }) L

  575. ) P$ S$ I# v5 u. Y( @
  576. ;windows.show_crt_warning; O$ D( f1 N! S; v$ Q* X0 |
  577. ; Default value: 0
    $ B3 P7 v+ H3 C+ e$ w
  578. ; Development value: 08 N9 }6 e, u! S# q6 D. `' I
  579. ; Production value: 0( |: P% T) i7 v3 o0 L
  580. ' `0 E$ p  ]4 E- B
  581. ;;;;;;;;;;;;;;;;;& h/ h* b: Q0 q; X8 G
  582. ; Data Handling ;/ ?" @2 E0 c6 l" T, M7 |9 `9 k
  583. ;;;;;;;;;;;;;;;;;
    ) m- x* _" r! j2 P! f

  584. % q* }5 `& z- m2 X$ T/ b& f: L
  585. ; The separator used in PHP generated URLs to separate arguments.  ~9 ^& ?& f& V  ^
  586. ; PHP's default setting is "&".. p) G$ d: ?2 p9 i0 _
  587. ; http://php.net/arg-separator.output8 \# v0 ]. L  f
  588. ; Example:
    ' ]9 E& d  L- V5 ~# [# \- G
  589. ;arg_separator.output = "&amp;"# B/ s& G, g/ A8 S8 y

  590. 6 o6 U1 A* T5 H/ Q! O
  591. ; List of separator(s) used by PHP to parse input URLs into variables.1 T0 ?8 b+ m% {3 T4 c7 w+ S
  592. ; PHP's default setting is "&".  U8 u8 j& f2 K& b+ w% c' B# g& @
  593. ; NOTE: Every character in this directive is considered as separator!, q  k/ Y3 D/ G6 p& u
  594. ; http://php.net/arg-separator.input( g6 S* _7 P+ E5 H1 K
  595. ; Example:
    4 p8 c7 m7 E( _1 U. s; }" x" b5 A1 b
  596. ;arg_separator.input = ";&"2 v* [) ?1 P- I4 K' H

  597. 9 J5 ^; \1 E2 S) B- p; w
  598. ; This directive determines which super global arrays are registered when PHP
    3 O. U/ O/ ]/ b. Y& [: d
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . Y( p- Q* Z4 K
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty4 c! n6 u- `# k: V% O
  601. ; paid for the registration of these arrays and because ENV is not as commonly" v. o" Q/ z' c8 g' k; H- A
  602. ; used as the others, ENV is not recommended on productions servers. You
    $ b  r7 y, B* a# h& r
  603. ; can still get access to the environment variables through getenv() should you: K# @3 O8 ?4 U6 O) w- S
  604. ; need to.; W/ }- V; `" f( E! q6 |0 V2 z% N
  605. ; Default Value: "EGPCS"
    , ?5 |/ p6 y& U3 R% J  H# K
  606. ; Development Value: "GPCS"9 b$ B5 W$ }7 E5 z9 m* Q, x' d0 v# X
  607. ; Production Value: "GPCS";
    $ j5 D/ D! v5 j4 [" D3 T+ k
  608. ; http://php.net/variables-order
    ( X, j7 j2 X2 m0 P& u+ l% }1 B2 D+ T
  609. variables_order = "GPCS"" t1 Q/ b8 N2 w8 n

  610. " }  b! j+ J6 t/ V& H) q" b0 Y7 k+ `/ }
  611. ; This directive determines which super global data (G,P & C) should be
    ' C( [: a! C) P( W, A1 y+ D
  612. ; registered into the super global array REQUEST. If so, it also determines( e" T( c2 H) R$ {0 \( N  s9 K9 G5 P, _/ @
  613. ; the order in which that data is registered. The values for this directive
    + f  R* i$ H4 m, s3 ~  Y* c
  614. ; are specified in the same manner as the variables_order directive,# u: C, q& b$ a. ^/ w7 n/ ]
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set7 F- n7 `6 M& A$ w' V
  616. ; in the variables_order directive. It does not mean it will leave the super8 I6 t1 ]9 q# P, B
  617. ; globals array REQUEST empty." n: x8 a$ N* Y+ X2 L
  618. ; Default Value: None3 Z2 h2 d) |* J- V- c- i8 k
  619. ; Development Value: "GP"
    * P, E& @6 g( H/ E6 N5 p
  620. ; Production Value: "GP"' O) c1 _+ p  l1 B* J& R
  621. ; http://php.net/request-order- N0 L" ~7 T: M7 c% Z+ o2 y" Q
  622. request_order = "GP"/ l2 R+ [2 {$ c: d2 q+ w1 t2 i
  623. 5 p! n" v# ]: N# {. T* V3 i5 F
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    0 g% ]! O/ I6 M9 \, S( j, ]& P# k
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) v  V' F+ S+ S- t7 G" J' H3 Y
  626. ; is invoked. $argc contains an integer representing the number of arguments
    + `+ H  J) ^8 T5 g: F# ~4 }" c
  627. ; that were passed when the script was invoked. These arrays are extremely
    4 D: G0 m/ A) M6 A, \7 X4 Y
  628. ; useful when running scripts from the command line. When this directive is
    8 {- @- v4 n9 L
  629. ; enabled, registering these variables consumes CPU cycles and memory each time' I3 ^. W. s1 I
  630. ; a script is executed. For performance reasons, this feature should be disabled/ k( c7 f, H7 P4 W
  631. ; on production servers.
    * y: t- ]! x8 O  _9 Z3 Z
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    - c% N) X3 T. U; m' n9 M# J
  633. ; Default Value: On
    1 g- U+ L: ?! @  P2 y: q* {2 N4 h
  634. ; Development Value: Off
    # _, D8 H: L( Y, V0 R! R$ w6 {
  635. ; Production Value: Off$ o0 [  g! f$ P' e5 a+ P9 X
  636. ; http://php.net/register-argc-argv
    . k1 }# ~2 p  D+ Q6 M
  637. register_argc_argv = Off
    " a/ t! L% o( v' f0 F

  638. 2 |3 ^8 u( e( c) g. j; I
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ) r* ?* n& X2 y# A
  640. ; first used (Just In Time) instead of when the script starts. If these
    ' `6 e9 m/ @# {5 j& f3 Q. n2 d
  641. ; variables are not used within a script, having this directive on will result
    ( t# Q( D; {# O: r- L) u
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 c+ j" H! r4 K+ S7 M
  643. ; for this directive to have any affect.8 y* o# E* n/ [5 e
  644. ; http://php.net/auto-globals-jit* Y9 r$ Y. ^% j
  645. auto_globals_jit = On" {& x$ q6 F9 }& ?8 a

  646. 3 D% ?5 e$ O2 }4 \. d. \0 w
  647. ; Whether PHP will read the POST data.
    ' P. Y! \( Q: @; j9 h; T
  648. ; This option is enabled by default.
    / ?8 n5 h+ T9 y3 O) m1 R2 T
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ( [' j% I4 a' w8 e5 ^2 g( T
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    # k& P. S) D# p5 f% J9 w
  651. ; POST data will be through the php://input stream wrapper. This can be useful0 n  A5 p4 F# c* n
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.: N2 D: |8 `, j6 B+ v+ P
  653. ; http://php.net/enable-post-data-reading
    ! W! ~' E# D0 y, g$ }5 o' L5 |
  654. ;enable_post_data_reading = Off* d- T1 ]6 S- s% E

  655. 5 L/ Z7 J9 D" c
  656. ; Maximum size of POST data that PHP will accept.
      t$ A7 z/ Y  B+ z) C8 o  D
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ! s. Y+ D; ?4 C/ S# J
  658. ; is disabled through enable_post_data_reading.
    ( ^" D  O+ M0 @' V+ C4 H
  659. ; http://php.net/post-max-size
    7 C" r' Z* P) {5 Z8 s& G4 C
  660. post_max_size = 50M
    " Z7 x: r% B! f9 K1 e: T
  661. $ P" ^4 w1 O1 P' e" D& u+ \
  662. ; Automatically add files before PHP document.
    4 x3 w* T0 c( O8 E
  663. ; http://php.net/auto-prepend-file
    . v& S2 I* M" A# Z; J. @
  664. auto_prepend_file =3 k. ]" M+ a3 E5 m

  665. * b* r6 s5 S; |4 b. w
  666. ; Automatically add files after PHP document.  X: S" j& n3 t7 P5 W: c: Y) |0 M$ X8 c1 B
  667. ; http://php.net/auto-append-file
    ! ~  _5 v2 l8 t$ a* {8 a/ D$ I
  668. auto_append_file =
    7 Y, r% ^+ s3 h

  669. 9 P' T3 C9 l8 d7 R( A4 s: @( R
  670. ; By default, PHP will output a media type using the Content-Type header. To. n) ~1 t3 f0 u0 s5 W/ H6 o4 ?
  671. ; disable this, simply set it to be empty.
    : ^" ]$ K2 `3 _0 N0 \
  672. ;
    * q5 O1 t- Z0 N) Q" K7 J4 R; h; s
  673. ; PHP's built-in default media type is set to text/html.8 `7 a' M* k/ {* y
  674. ; http://php.net/default-mimetype4 y, u7 {; ]4 H4 q& F' i% q
  675. default_mimetype = "text/html"" Z: H( p* H% f( p; t' e

  676. 1 W7 g0 Y( v; M+ `4 _  c" _
  677. ; PHP's default character set is set to UTF-8.
    * n" H: f) b# |4 O" ^
  678. ; http://php.net/default-charset
    7 x( h, S/ @. U, [+ S  N4 |
  679. default_charset = "UTF-8"& A& h; ~0 I0 s

  680. 7 u& h% l8 a, U5 o2 I
  681. ; PHP internal character encoding is set to empty.
    % e1 t( F, Q" H
  682. ; If empty, default_charset is used.2 t3 v5 q* G8 D6 e) f
  683. ; http://php.net/internal-encoding9 Z9 P/ L5 G$ Z3 Y4 b
  684. ;internal_encoding =
    % D& B* K! T+ C  @5 @

  685. ' d, {$ f$ O. C$ d
  686. ; PHP input character encoding is set to empty.7 q7 h/ Y. [( P9 b) ]5 ^
  687. ; If empty, default_charset is used.
    # D! N& `; ?, f8 F8 \1 s) W6 k
  688. ; http://php.net/input-encoding
    7 w: `8 V' v& {8 k
  689. ;input_encoding =6 S4 I0 I$ {! U. B
  690. % L) Q2 K9 t# q+ j% V
  691. ; PHP output character encoding is set to empty.
    5 q. @2 H% r$ K3 o: O- o
  692. ; If empty, default_charset is used.
    ' u# E. j; n( a, p' U( ?& _
  693. ; See also output_buffer.
      l3 v7 y( f$ M7 q$ j1 N
  694. ; http://php.net/output-encoding6 g) f6 k" }' `% _! l
  695. ;output_encoding =
    / P" w" E: d8 s: v* ^4 K/ _! q( o% F0 I
  696. 1 o1 E/ J2 C4 l1 Q" M
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    + A0 v! X+ Y0 H5 r3 P5 N! y! z
  698. ; to disable this feature and it will be removed in a future version.
    . L! M; ]+ W# |5 t: _
  699. ; If post reading is disabled through enable_post_data_reading,/ e  D! P7 p9 M$ M, U  a
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    - {0 ]/ z/ Q! E) X9 M# B8 U
  701. ; http://php.net/always-populate-raw-post-data$ _0 n, f9 O+ |3 y' W% t; \
  702. ;always_populate_raw_post_data = -1# V  E) Z5 |& g  f9 U
  703. . F5 |' K; c" `! B6 t" g6 ~( D
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    7 v& |7 ?- l! r0 e
  705. ; Paths and Directories ;
    , X9 ]4 Z- D" B1 e- P0 x9 c
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;( Y. Y# H! [9 P" R+ S" N
  707. 7 i/ H: \& I$ Y3 X
  708. ; UNIX: "/path1:/path2"
    ; a$ i6 v. G) W( |5 K9 D
  709. ;include_path = ".:/php/includes"
    * B9 W( a( O' r/ g
  710. ;
    ; c# q! N$ h2 J9 c) i
  711. ; Windows: "\path1;\path2"! k5 ?9 k: }: Q# F4 f2 {$ A# M
  712. ;include_path = ".;c:\php\includes"
    + Q8 C  P2 P9 ?2 h& ^/ O4 V0 A
  713. ;
      Q; m: J* b1 R9 p; d8 e) k! a) w
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 N4 c" x. R8 y/ o
  715. ; http://php.net/include-path% U6 T0 [3 i7 }; `( X9 T
  716. 6 K3 d9 T; D8 u
  717. ; The root of the PHP pages, used only if nonempty.5 b* U0 }' ~9 o+ z6 p; v; _/ u% X  v
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& }9 i+ f* r& l& n' y2 m
  719. ; if you are running php as a CGI under any web server (other than IIS)' p3 ~. C/ R+ @0 ?3 ?
  720. ; see documentation for security issues.  The alternate is to use the
    9 S9 J1 n& b! b. v
  721. ; cgi.force_redirect configuration below+ a$ W$ w8 ]  b0 U
  722. ; http://php.net/doc-root0 o# G4 l; |: [( O! v: [
  723. doc_root =. D" X2 n4 M" Y  x5 ^& P: }- C, }

  724. , i: a+ h( ~5 ]! m. f8 h: s
  725. ; The directory under which PHP opens the script using /~username used only5 H: ]; }0 a8 @' x% \
  726. ; if nonempty.+ J5 P% i' }( e2 l6 q. \
  727. ; http://php.net/user-dir
      a3 K* N5 \. I$ {+ n; l1 T6 T, p
  728. user_dir =
    ) _6 r* {& [9 m- [/ b
  729. / y1 I3 {% l2 s/ K; d; P
  730. ; Directory in which the loadable extensions (modules) reside.  e: v$ n% R+ ?# {0 e
  731. ; http://php.net/extension-dir
      S! c) {  z, f! `/ ?8 P
  732. ; extension_dir = "./"
    ! |4 a$ Y7 X% u( k# [
  733. ; On windows:
    5 G8 l9 f  n. b/ N* w( N
  734. ; extension_dir = "ext"5 ~* i5 M5 }2 h8 `; U7 o  [" s
  735. $ R) S- m! f5 H; r
  736. ; Directory where the temporary files should be placed.+ q2 y: b) w7 Z5 ?: i  N4 t6 K0 O
  737. ; Defaults to the system default (see sys_get_temp_dir)
    9 _& N1 l/ L3 |, [. ]/ N  C3 t# O
  738. ; sys_temp_dir = "/tmp"2 g/ T$ X2 `9 o5 T6 U# x
  739. 8 L8 `$ P5 p! z% S: Y/ r2 D
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    9 y7 ]3 D& S4 }& F; N$ F2 l
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    8 p0 j6 ~( I0 y. m# q
  742. ; disabled on them.
    - d+ E4 z. l$ T
  743. ; http://php.net/enable-dl! k' x: S/ G* m. _% Z" n8 b& J! L6 p9 f9 m
  744. enable_dl = Off
    . ?* b2 y- x2 A- L3 u1 x
  745. 8 E/ e- g" D& Z% G, b
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ |$ `3 i; V# ^
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can: V# b1 W# `4 J! Q" w1 V
  748. ; turn it off here AT YOUR OWN RISK1 W' l) M' \' }
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**) N1 C) Q) }- N) ?+ Z* [/ _
  750. ; http://php.net/cgi.force-redirect
    2 x8 g7 f4 o" G4 u" ?
  751. ;cgi.force_redirect = 12 x8 _: b+ L5 y5 r
  752. * S9 ^7 m- }3 _# y) M+ Z
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 Y. j6 B+ d0 i% u9 G
  754. ; every request. PHP's default behavior is to disable this feature.( J4 g. L9 _+ Z* I3 {$ ^5 k' s5 Q
  755. ;cgi.nph = 1, j3 Y1 p6 E5 p6 o) w# ?: O

  756. - M# O1 V3 F3 o1 m. t" t
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) e4 K5 f: f% R4 a6 Y& a
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    " [) c: d% m- d: d0 d& J
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY8 V+ ^) @0 l* E! H4 T' i: O
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) ?6 I8 W' F* f$ [6 w
  761. ; http://php.net/cgi.redirect-status-env0 Z8 a; g  D# T. N, ^; n! k1 e, b
  762. ;cgi.redirect_status_env =
    # a) i  v. E. p) H+ n
  763. ! F5 N2 l0 {" o: K( q0 z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & P5 D. ^6 ^7 L- K6 J( v
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok3 a- d1 }: n" E
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting0 ?' V% u# F; Y8 ?0 L4 Y
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / x: |( Q! ~- d& O, R% J
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ) n3 l) E+ ]  \0 O2 O' w0 z9 K  N
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    , b0 Q: x3 v! C9 D& u+ b7 F
  770. ; http://php.net/cgi.fix-pathinfo
    $ N" p+ U. }! C
  771. cgi.fix_pathinfo=1
    $ F& m& w4 r# w
  772. 9 k1 k2 C) y4 F# I& G  A
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    0 v9 J8 O1 l& G, d: i* c
  774. ; of the web tree and people will not be able to circumvent .htaccess security.6 d$ Y% q& W+ L% d; I) ]
  775. ; http://php.net/cgi.dicard-path
      k/ \, l  A. d$ }  [+ t
  776. ;cgi.discard_path=1
    2 f5 p1 T2 J! K

  777. . W" R% F1 V$ [% g* i4 Y# C4 _
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : l3 ~  x& m' h: `5 ?7 V' Z1 \& n! r
  779. ; security tokens of the calling client.  This allows IIS to define the
    6 T: `2 f* S  A2 G. F" ~. r
  780. ; security context that the request runs under.  mod_fastcgi under Apache! |, W& h' K' r2 X* g' }
  781. ; does not currently support this feature (03/17/2002)+ _2 r. Q) c& ?8 l( D6 K2 u
  782. ; Set to 1 if running under IIS.  Default is zero./ n9 R0 Q, w* T# o) x" s
  783. ; http://php.net/fastcgi.impersonate( l2 x# [& @% o5 ?' r5 D
  784. ;fastcgi.impersonate = 17 A2 I8 p' e7 c$ R5 s. V

  785. 0 s2 L$ Y' S! V# _) ~
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable5 ^$ Y" }  u; [3 m  H! [# ?
  787. ; this feature.* o7 C+ C( {0 k/ b
  788. ;fastcgi.logging = 06 x6 \; p3 k/ F8 H+ Z5 E
  789. ; x2 N/ b# d+ f' n5 B/ L
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to5 [' P) j$ S( K
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that% K5 ?# q9 k3 F( s( H: k
  792. ; is supported by Apache. When this option is set to 1, PHP will send: @: g$ l1 Q" u' ]  g
  793. ; RFC2616 compliant header.
      @8 u  a8 [$ w9 q# y3 n1 m
  794. ; Default is zero.' l5 n4 A0 r' [; e
  795. ; http://php.net/cgi.rfc2616-headers
    9 h7 ?* Y9 j% U" ?* V
  796. ;cgi.rfc2616_headers = 0
    ) v+ [$ r6 E+ b2 J/ ~

  797. 7 a! @  U% y1 s; o7 m8 F) w
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!* K; V1 G7 G6 N' \1 I. N
  799. ; (shebang) at the top of the running script. This line might be needed if the- }4 R3 B$ Y/ Z9 D5 G
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; T" @% u, L% [- V& x
  801. ; mode skips this line and ignores its content if this directive is turned on.
    3 w; `: [% T$ _: m( t
  802. ; http://php.net/cgi.check-shebang-line
    ; J4 E  ~5 J( h; E- l$ N, |. S
  803. ;cgi.check_shebang_line=1
    6 W, B- d& G' O; D+ f; }

  804. 8 N2 I) |) I. ?  f  a& u
  805. ;;;;;;;;;;;;;;;;
    7 C4 S. C1 E7 c9 q
  806. ; File Uploads ;: L3 T7 ~& A/ `- I; j- h
  807. ;;;;;;;;;;;;;;;;
    . x/ E5 B2 m/ q8 T2 d

  808. 1 Q0 U. g# W" M2 y! N
  809. ; Whether to allow HTTP file uploads.$ r, d, b4 [' }
  810. ; http://php.net/file-uploads
    ) @. F, P8 ?! T
  811. file_uploads = On  T) ?7 D+ l9 n- p$ `* ]
  812. ! p6 K) K  E. d
  813. ; Temporary directory for HTTP uploaded files (will use system default if not. u" X# O) g# s& L* O
  814. ; specified).
    1 n0 Z4 G, z0 o' E9 P! z
  815. ; http://php.net/upload-tmp-dir$ ?) c6 M( f/ e
  816. ;upload_tmp_dir =
    ( ~; a, J! Q6 x4 W$ j
  817. ' f' A( w: s  V7 u7 `
  818. ; Maximum allowed size for uploaded files.0 ~. e9 Z% e& E8 ^
  819. ; http://php.net/upload-max-filesize
    + E0 B' B2 n1 e9 Z
  820. upload_max_filesize = 50M
    * |# N$ R5 \& g4 n6 h* C' Q
  821. : D3 v& {; T" R5 h6 U- f6 C) ]
  822. ; Maximum number of files that can be uploaded via a single request  y5 ^4 @; e% n: R( Q9 ?2 @
  823. max_file_uploads = 20
    4 M; {' `0 @  A9 z! p- ~4 ]

  824. % }+ o( H: ^8 }/ H9 Y* ~" M' ^
  825. ;;;;;;;;;;;;;;;;;;% P2 z; ^& o+ P9 V2 ]0 q& M! t* P
  826. ; Fopen wrappers ;8 i0 i4 w7 U: T7 \7 o
  827. ;;;;;;;;;;;;;;;;;;
    # K% ~9 K) E) R5 ^

  828. ' |* y6 _" T/ V6 M! p
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.* j+ r' n* j% G1 {, @  l3 d5 m4 V
  830. ; http://php.net/allow-url-fopen8 t. E. N  E6 s  ]) ^) f
  831. allow_url_fopen = On3 J$ x5 Q8 @8 i6 }1 o) \
  832. % Y5 U7 `2 \% u; O# H' j
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 M# Z; C& [6 V- K! o: w7 b+ N
  834. ; http://php.net/allow-url-include
    6 g4 W! d" `( k
  835. allow_url_include = Off: l. [. F# h/ H; R) n

  836. ; }) b6 ]9 F! I1 Y
  837. ; Define the anonymous ftp password (your email address). PHP's default setting0 t+ b0 `$ \6 x  p) n1 Z
  838. ; for this is empty.
    / D" Z* s' R0 Z' R7 D* U
  839. ; http://php.net/from# m$ G, q6 T2 I( o( \
  840. ;from="john@doe.com"# W- S# {, Y5 u- m6 z
  841. , q, [* g/ o4 g. z$ h- V  b: ?
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    2 G3 W; M6 r- ]
  843. ; http://php.net/user-agent
    ; b6 S% z! a' e% U3 o1 B
  844. ;user_agent="PHP"
    , u$ n% a: l+ |: {$ {; ^3 B

  845. , B' J. n$ Y- ^+ ~1 @9 K
  846. ; Default timeout for socket based streams (seconds)
    4 D1 ^: I5 ?( }3 Y
  847. ; http://php.net/default-socket-timeout: h9 z2 @/ Q. g# Y( o7 Y+ d
  848. default_socket_timeout = 60
    4 t- m1 U( o3 j* m& a+ P9 p

  849.   z2 F6 Q8 T4 u
  850. ; If your scripts have to deal with files from Macintosh systems,
    ) f( B( K. W5 w+ C& K1 y: I
  851. ; or you are running on a Mac and need to deal with files from
    & ^5 T- q' F. e* b8 Z
  852. ; unix or win32 systems, setting this flag will cause PHP to
    : Q% q7 e0 N' H: A- M7 X1 a
  853. ; automatically detect the EOL character in those files so that# |. T/ ~0 z: W& x8 k
  854. ; fgets() and file() will work regardless of the source of the file.
    ' R' g! }+ k" t1 j3 a6 A
  855. ; http://php.net/auto-detect-line-endings5 f5 R# U# F) x, [
  856. ;auto_detect_line_endings = Off
    4 }( p) C0 [; `5 ~

  857. 1 B2 f, {1 \2 S( x3 _% M0 d# q  a4 O- {
  858. ;;;;;;;;;;;;;;;;;;;;;;/ d1 j. g9 q! C+ U5 k
  859. ; Dynamic Extensions ;
    % A" e6 e* U& @/ c( C
  860. ;;;;;;;;;;;;;;;;;;;;;;
    + W; j- @$ A/ V9 F3 ~
  861. / G+ O9 o$ q& ]4 s1 l
  862. ; If you wish to have an extension loaded automatically, use the following
    6 {5 E$ w9 D: O2 S- D
  863. ; syntax:4 j9 v+ P+ g- b: g/ U& U
  864. ;
    9 z4 o$ j# q# ]0 p6 _
  865. ;   extension=modulename.extension
    5 I% T4 t$ p# }" H1 w( c
  866. ;" N  M3 Q; N& _/ f- z
  867. ; For example, on Windows:
    6 {) E) M$ o& N7 Q
  868. ;$ q; u$ r! L1 ?
  869. ;   extension=msql.dll# p4 q8 B$ d- c1 j3 w1 ]8 e7 c, ]# Q
  870. ;
    0 T! E6 ~5 k2 ~8 ~1 `
  871. ; ... or under UNIX:
    5 \( g7 S  X, k/ _: |+ ~
  872. ;
    6 s/ Y+ L* x3 a/ [
  873. ;   extension=msql.so
    ( i" U1 A3 j% e
  874. ;
    1 t+ E* p1 m$ k# u) d! L
  875. ; ... or with a path:
    / z9 M) }4 y6 w6 O. x* Y
  876. ;
    4 d$ Q  t' v8 H& U% x" k$ e  f2 l* I
  877. ;   extension=/path/to/extension/msql.so
    9 ]8 ^7 [; j- r- P* B
  878. ;8 x( v' u: T6 ], [/ _  b  w) {: ?
  879. ; If you only provide the name of the extension, PHP will look for it in its1 O) g& W3 r$ F* L: C
  880. ; default extension directory.
    / C2 B3 F7 j! ^# Y
  881. ;
    " b* k* d/ q; B5 Y0 s6 Y: k
  882. ; Windows Extensions
    3 w8 m9 x$ q; {- |: i
  883. ; Note that ODBC support is built in, so no dll is needed for it.! O# [& ^2 @9 l) j5 l  V0 B# e8 q; s
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    . R2 A1 T$ l: F) F3 m3 G
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    - G* P  W' C$ q% B
  886. ; Be sure to appropriately set the extension_dir directive.+ Z9 r5 I/ G" B+ w" a
  887. ;
    " K4 {( J: T5 q
  888. ;extension=php_bz2.dll
    * k% }9 `. f0 b  B9 V
  889. ;extension=php_curl.dll
    # |$ K7 x5 `( ^" e
  890. ;extension=php_fileinfo.dll; A/ Y* m6 i, G  N2 p
  891. ;extension=php_gd2.dll: [3 V4 v4 L) z; }3 G, K0 }* M) u: W
  892. ;extension=php_gettext.dll
    $ `8 ^7 M( P! e& b7 @4 J# g
  893. ;extension=php_gmp.dll- Z' R2 d; d8 s+ q3 Z8 v* g( o7 }" D+ S
  894. ;extension=php_intl.dll
    6 ]% I0 P2 u% `/ b& r
  895. ;extension=php_imap.dll
    / O8 W% K5 I( ^5 P. L
  896. ;extension=php_interbase.dll
    . P9 J# @& O+ y/ |$ w* V
  897. ;extension=php_ldap.dll# N8 e- Z5 z  T( X$ Q( _
  898. ;extension=php_mbstring.dll
    . T$ V4 N% T% M% ]7 f4 M
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it+ r$ D, T8 _3 ?
  900. ;extension=php_mysql.dll
    * S5 U6 A+ e5 r( e
  901. ;extension=php_mysqli.dll
    ) U8 I& V9 s* r9 d* \9 g( i3 y
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client0 s( J' Q- q% b
  903. ;extension=php_openssl.dll
    2 J2 S. w+ M: u0 b2 N; z
  904. ;extension=php_pdo_firebird.dll4 B$ x! q: {6 @1 t) d
  905. ;extension=php_pdo_mysql.dll) m4 J7 g4 ?6 c7 ?
  906. ;extension=php_pdo_oci.dll
    5 g$ ]+ D7 I9 b6 o+ H* P3 K
  907. ;extension=php_pdo_odbc.dll! C& h" P& w% k1 \/ i6 B
  908. ;extension=php_pdo_pgsql.dll( f) [) j& l! `" y
  909. ;extension=php_pdo_sqlite.dll
    6 _2 i8 U) Y" W( @7 u  T
  910. ;extension=php_pgsql.dll+ x( v) f/ m; h
  911. ;extension=php_shmop.dll$ G$ p) Y$ i" E; G7 l4 V
  912. 7 K, ]6 u1 W* N7 @1 ~* q
  913. ; The MIBS data available in the PHP distribution must be installed.
    + p' F+ B3 e, f. ?/ t" o; {& }
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    6 B4 q7 v; u( G* z8 \" }. V) `
  915. ;extension=php_snmp.dll
    , V" U) y" m- M& W8 \

  916. + B9 r4 M4 y, [7 ^7 y) f
  917. ;extension=php_soap.dll
    ' p1 q& w- O- _4 e. r1 g
  918. ;extension=php_sockets.dll
    , L' [, T( C  O% e4 F1 d! J7 O% Y
  919. ;extension=php_sqlite3.dll
    * ^$ G: Q. N8 d+ B8 @0 ^( y
  920. ;extension=php_sybase_ct.dll4 _. v0 H6 J, h3 m/ |" f( k
  921. ;extension=php_tidy.dll: {8 c4 \5 O! ~( D/ M
  922. ;extension=php_xmlrpc.dll
    9 X2 C! v4 _! I
  923. ;extension=php_xsl.dll
    ) H6 F9 [6 l+ |, ?& S6 [* J

  924. - @# f4 x4 E- K  \0 i. G6 x
  925. ;;;;;;;;;;;;;;;;;;;$ c' b* [( _& T" v: h: ?0 p3 ~
  926. ; Module Settings ;8 h" Z* B  g0 o" p/ I+ Z
  927. ;;;;;;;;;;;;;;;;;;;
    / c9 C% a0 Q. [! Z; {/ w# M

  928. 9 l  t& W9 S$ ^) d: \8 a0 x
  929. [CLI Server]
      c7 h8 d2 C, V& B# W* x
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 S) }  X8 Y( ]$ H. N1 y
  931. cli_server.color = On2 ]4 c2 Q: \. A9 |% Y
  932. 8 m; T0 s$ y' Z9 L0 L! Y  J
  933. [Date]" X1 Q$ D! Q6 Q, w( i8 C  J
  934. ; Defines the default timezone used by the date functions- m; J1 T, v  o# V) p
  935. ; http://php.net/date.timezone
    / D9 M8 y" b, W+ n: W* g6 Y
  936. date.timezone = PRC
    2 ?7 ]  y' @+ i& l8 y  q! a
  937. ) Q  a; p6 B" c2 l+ \+ K! O
  938. ; http://php.net/date.default-latitude
    - y' p8 ]' D. d: s% S5 {
  939. ;date.default_latitude = 31.7667. g4 a0 T0 o' {8 b1 n. S! r
  940. 0 E  k, n" F4 R& m
  941. ; http://php.net/date.default-longitude! j2 o; Q1 S% y
  942. ;date.default_longitude = 35.23333 T* \  \: J- _& H- Z+ E% Z" Q& h& @% y

  943. 6 a, J% U3 {( c+ }7 l
  944. ; http://php.net/date.sunrise-zenith
    : k& J7 o( c+ y5 O, T; j
  945. ;date.sunrise_zenith = 90.583333
    - m4 ], z# t. X
  946. . P+ f6 b( T7 ]" K/ J+ ?
  947. ; http://php.net/date.sunset-zenith. |% e) s! y" Q
  948. ;date.sunset_zenith = 90.583333
    ( n' B% J( X, t& ^

  949. ! v% ~! m+ v9 e7 H9 o
  950. [filter]* Y& \4 E. R: Q# j7 f/ _, w
  951. ; http://php.net/filter.default- m2 _, t5 `0 N5 U
  952. ;filter.default = unsafe_raw
    & m! g$ ^7 e; \: P0 d
  953. ! X8 j/ H7 I# G9 M3 |3 u% V
  954. ; http://php.net/filter.default-flags. F' p8 @% t9 g0 G
  955. ;filter.default_flags =
    / q6 e' H  u- U

  956. : [+ Z' u) j1 q6 D+ U# `7 v
  957. [iconv]
    + u; M2 w  ~' d$ V
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 }5 t, O. D3 E6 `# u- S  e
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    + t( Q4 q" @. i4 f% \
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding5 ?6 V, o% F8 S3 h3 A
  961. ;iconv.input_encoding =( p8 b* z; F' E5 Q
  962. : R* g+ {& L# R. ], `/ g
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 Q8 z' B! `* Z7 X% ]
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! s$ ^1 g* y: K. x1 o2 [
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    # F6 X5 N8 R' B0 F
  966. ;iconv.internal_encoding =
    2 w3 w. P5 P5 h' L3 |

  967. 0 f" A( H1 U, u5 W- `$ l5 c
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & `+ U" J+ D" C, ?  Y
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * o3 M  Q9 R9 X9 u- E- f
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. X2 c8 `8 o0 U- H9 W
  971. ; To use an output encoding conversion, iconv's output handler must be set
    6 f  o% i5 d) s
  972. ; otherwise output encoding conversion cannot be performed.
    ; Z" d5 w) C9 B; {8 ^
  973. ;iconv.output_encoding =* s) C2 M1 ]+ t& Q
  974. . M) E: l' v7 f& W
  975. [intl]
    ; ~% A: x- D' T  j- \, f# D% i
  976. ;intl.default_locale =
    , c3 x' q5 A, P/ d
  977. ; This directive allows you to produce PHP errors when some error; W( N! g9 B7 t' r* a0 p0 R% t
  978. ; happens within intl functions. The value is the level of the error produced.3 a5 L& ], L$ `3 l, ~
  979. ; Default is 0, which does not produce any errors.
    0 S* M( C9 @! I6 ]# W
  980. ;intl.error_level = E_WARNING/ @  Q: @3 r, Z& L4 H; E& I& p
  981. ;intl.use_exceptions = 03 V) Y* O( z' @. E
  982. % b( w  S  W$ U5 _% `7 l
  983. [sqlite3]
    6 A1 V9 m- L$ d/ B, W) r
  984. ;sqlite3.extension_dir =  {! R# E: o9 O, }1 Z5 z% u8 S

  985. 9 Y- P+ X. ]( p9 {1 C
  986. [Pcre]9 j& ^( {' Y9 M* y6 a( S1 L
  987. ;PCRE library backtracking limit.' T1 e  h, O/ H' a) [5 D
  988. ; http://php.net/pcre.backtrack-limit+ k0 w; t! A) k+ t# G# q
  989. ;pcre.backtrack_limit=1000005 @0 d9 ?2 P/ L

  990. 2 ~2 I' A' i2 g& m; J
  991. ;PCRE library recursion limit.
    & p* }9 y' |: g0 q% h, F( J: C$ k
  992. ;Please note that if you set this value to a high number you may consume all
    7 e: _4 v7 h3 Z3 w. u% Q! I
  993. ;the available process stack and eventually crash PHP (due to reaching the
    / l) W: L* O; t; x, s6 p
  994. ;stack size limit imposed by the Operating System)., D. U% W4 g/ j5 D- y* r
  995. ; http://php.net/pcre.recursion-limit
    - }3 R4 G) U5 z8 l3 g7 u5 I* X7 W
  996. ;pcre.recursion_limit=100000
    4 x2 e' O3 S% v3 Z7 x
  997. * v' D8 y! A% r, [5 N
  998. [Pdo]
    0 p* i* o( B9 M% Q! ]6 ?# O5 J
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 S  C9 O4 Z& ^( I. a* X
  1000. ; http://php.net/pdo-odbc.connection-pooling  V) V% `' u, y% \# z4 Q; l6 }/ w7 f, V
  1001. ;pdo_odbc.connection_pooling=strict/ q' D0 ]6 o7 I' Q5 N+ c( U
  1002. % z( u5 p( b2 y1 U
  1003. ;pdo_odbc.db2_instance_name
    9 K3 ~# C+ O7 I' m, L( L
  1004. " W% r$ B* B% Y3 ]& V
  1005. [Pdo_mysql]
    ( |& y+ C) v1 ?+ n% z
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; {2 s7 \2 Z6 e0 ?
  1007. ; http://php.net/pdo_mysql.cache_size
    * }3 R" [2 V. D' B4 A+ C& I
  1008. pdo_mysql.cache_size = 2000  O: H+ w6 B; c) C
  1009. * \, B6 @2 c; Y7 Z% f) R6 a
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) ^7 ^4 u" q8 {9 b9 C
  1011. ; MySQL defaults.
    8 P8 P2 \1 \$ N8 K" y
  1012. ; http://php.net/pdo_mysql.default-socket6 d  z& J* m3 `2 E" z
  1013. pdo_mysql.default_socket=, x; G3 A0 q& ~' U
  1014. # g& l$ V/ @! {, k7 m. u
  1015. [Phar]
      x8 r) d: R: A: E! {
  1016. ; http://php.net/phar.readonly
    6 f, p  H2 x, u1 x  g2 R
  1017. ;phar.readonly = On7 C) [( K7 t$ T5 a; S# v
  1018. * E5 _- ]/ c% b  P) V
  1019. ; http://php.net/phar.require-hash
    ; y- k5 @! e9 R/ ]# T* B/ Z  ]* ~& L
  1020. ;phar.require_hash = On5 j8 v; A  `6 F% X6 ^5 F+ e* f8 k
  1021. ; D1 |' g" s2 u  Q) I# t/ L0 ^
  1022. ;phar.cache_list =4 ?& C( D' \  T
  1023. 1 ]! F: F8 ]8 q% z/ y9 U1 S% }
  1024. [mail function]
    8 t5 ^1 C' U5 a  v7 L% Z5 b: J/ @
  1025. ; For Win32 only.
    7 v- E/ w* A; c1 H9 X2 i
  1026. ; http://php.net/smtp, d6 b$ c5 H$ A  w* p
  1027. SMTP = localhost
    + @7 K, l1 ~, O( I  d
  1028. ; http://php.net/smtp-port
    2 u: m$ d- R( Y% l
  1029. smtp_port = 25
    . m3 o/ Q; N8 |
  1030. , t3 l+ A- e% ^! t+ T: [5 F
  1031. ; For Win32 only./ G, s: G& u0 }7 j; B" k/ [
  1032. ; http://php.net/sendmail-from) J/ y# w  U* ]: `% q* K
  1033. ;sendmail_from = me@example.com
    6 a  I5 J" \% }1 N' |7 j
  1034. - s* t% l8 y3 C; y3 ]; V1 d; I
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . G" Z7 e0 ?) |! k
  1036. ; http://php.net/sendmail-path  I1 g% Y) w3 R. X4 T; Y0 m0 M- T
  1037. sendmail_path = /usr/sbin/sendmail -t -i2 m# y+ L) B; s* I, d% V  p

  1038. " x; c# T/ r2 `- I6 `6 \
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    : A+ k/ k4 X3 J$ X) B8 y. r4 t% z
  1040. ; to the sendmail binary. These parameters will always replace the value of
    + ]: g0 V6 T! [+ K
  1041. ; the 5th parameter to mail().
    . W5 A' {+ ^& U) T0 o0 j7 ?: A9 i
  1042. ;mail.force_extra_parameters =/ m! j$ T: ^: W' D$ W
  1043. 5 y  O7 s, t8 s( S* U
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" V3 t+ s% i# C& a9 j! n
  1045. mail.add_x_header = On4 x2 d# `! m. T8 Q; w* i( |, `
  1046. - l+ N) q6 z6 H4 U3 }
  1047. ; The path to a log file that will log all mail() calls. Log entries include
      B5 z7 D% F- f- k3 M
  1048. ; the full path of the script, line number, To address and headers.9 `6 j1 ~7 y& r' ]4 [# o% X4 i
  1049. ;mail.log =8 z/ i4 ?: m+ d& |, t- ?
  1050. ; Log mail to syslog (Event Log on Windows).
    & K; E( e- O& d, [
  1051. ;mail.log = syslog0 q2 \) f, e; ~& H
  1052. ( K1 K8 d3 ]% W( f8 K: _
  1053. [SQL]
    7 M$ b. x# p1 ?
  1054. ; http://php.net/sql.safe-mode/ o' r& a  w, N' h+ |
  1055. sql.safe_mode = Off, ]6 S+ T3 E! e  a
  1056. ' ~5 c& m. g! x* e0 ^" U
  1057. [ODBC]. P* C! R1 ?$ ^# e
  1058. ; http://php.net/odbc.default-db. B2 l& ^1 @+ S, f2 M
  1059. ;odbc.default_db    =  Not yet implemented- v+ Q5 ]* x' a: F+ A! F

  1060. 2 u  P* V* |7 V1 u$ E# P
  1061. ; http://php.net/odbc.default-user
    5 w: {# Y3 D, c, b0 ]# s4 B5 o& L8 ^
  1062. ;odbc.default_user  =  Not yet implemented& ^2 L5 Q* ?2 r1 b5 y$ H9 L* d
  1063. + G/ k+ r) s. ~1 r& S  {9 C
  1064. ; http://php.net/odbc.default-pw
    : h; I+ F, q8 H& s
  1065. ;odbc.default_pw    =  Not yet implemented1 O& [. Z/ d0 ]" }0 r. d

  1066. ( f2 z! e+ r4 D  n0 f
  1067. ; Controls the ODBC cursor model.; y* u$ x  J) T
  1068. ; Default: SQL_CURSOR_STATIC (default).
    $ e7 Z, k; q% f7 ~
  1069. ;odbc.default_cursortype
    $ h( z2 N* ]( D% K, ^
  1070. 0 j, Q, D# S+ e) H( h3 J$ L# A2 T
  1071. ; Allow or prevent persistent links.4 B9 T5 ~; g* E9 q7 u+ S6 y
  1072. ; http://php.net/odbc.allow-persistent/ x  _# s0 N% @8 B: n) Q
  1073. odbc.allow_persistent = On
    : d' }0 E  b% \: L

  1074. * N0 n2 |, H3 L0 x" u1 f' D4 j
  1075. ; Check that a connection is still valid before reuse.
    5 l- K6 p; z" ]' ?: X6 _5 r
  1076. ; http://php.net/odbc.check-persistent4 w& b; W2 U# U# B# F$ z1 ^( M
  1077. odbc.check_persistent = On9 }# F* b. }3 O/ N

  1078. & i) I' @5 B1 S6 t: y
  1079. ; Maximum number of persistent links.  -1 means no limit.% S( M1 y( ^; @3 i# k5 p, {. l
  1080. ; http://php.net/odbc.max-persistent+ n, d" S! N; X* U
  1081. odbc.max_persistent = -1
    & E! ]/ `" j: H- D

  1082. ) `# k* a% G/ J
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 X5 U2 M& w( b) v+ P, i$ }$ t
  1084. ; http://php.net/odbc.max-links
    / u* X9 r& O/ }3 U% ~2 J, e! H
  1085. odbc.max_links = -13 u. x% z1 h; l$ T6 M) i1 ^, H1 @
  1086. : r' Q6 n3 ~  c
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    % G: v# Q1 x) s! I
  1088. ; passthru.7 [$ h7 W7 Q' O/ s/ c) M) k
  1089. ; http://php.net/odbc.defaultlrl( Y% v9 X/ N: Z) n' E% S' k( r
  1090. odbc.defaultlrl = 4096
    % u  x: t' i" d" o

  1091. 2 ]' E( X8 a) ]7 r1 A) y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + \6 D1 }8 z; e
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ( e7 ]6 P+ p) h  L
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode) i. H0 X0 e7 d9 |  `
  1095. ; http://php.net/odbc.defaultbinmode
    2 U& }$ Z( W, u
  1096. odbc.defaultbinmode = 1' f7 w; `1 h3 k5 v
  1097. 0 y2 {& f( \, h7 I* C' F6 O
  1098. ;birdstep.max_links = -1
    " x6 J" z# \: S2 p; Q7 |, @; E- D- t; X1 Y

  1099. 4 T) N7 w* g; t* i
  1100. [Interbase]* b' h% K6 H7 o9 B; p" ?+ r
  1101. ; Allow or prevent persistent links." V, j* Q6 A  B  a: ~, a
  1102. ibase.allow_persistent = 1
    ) a) R/ d7 T- E0 U; j; M
  1103. - O% `2 X: L* J# j- k6 n  G8 T& b+ Y
  1104. ; Maximum number of persistent links.  -1 means no limit.
    % u$ S7 s) d- Z. _0 r
  1105. ibase.max_persistent = -10 I7 n! a# L, M4 Y
  1106. # x& J* _! T- c4 S& M+ p
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : A) j2 c8 ~, L3 b% V8 |$ E+ g
  1108. ibase.max_links = -1* a8 }( k6 H6 k+ Q* T

  1109. + |; P8 y) i5 V% q" N0 B' y2 C
  1110. ; Default database name for ibase_connect().* x& U8 q# b9 `5 W
  1111. ;ibase.default_db =
    $ m7 ?; Z* T, [" L
  1112. , g6 X: z1 H  I5 C/ U2 z
  1113. ; Default username for ibase_connect().
    5 \) M+ ^2 V8 [2 [/ ^
  1114. ;ibase.default_user =
    7 @3 z$ a5 x2 i* ]  S, F
  1115. 9 S* [4 _: z7 P" a  W7 G5 C2 {
  1116. ; Default password for ibase_connect().
    " ~3 y$ p. N7 l; j8 z
  1117. ;ibase.default_password =0 L+ I" w  w, L# F! G% S1 D

  1118. * j3 p/ o! v, y* L5 [) Q9 ]
  1119. ; Default charset for ibase_connect().8 i" F! p9 r  ?: h
  1120. ;ibase.default_charset =
    0 _3 b3 M3 i# E$ N( r1 \; e

  1121. ' S8 [  ~& m" \$ b
  1122. ; Default timestamp format.
    / z$ V7 M4 f  r0 z8 ~" Q8 o
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* S  N" v) H& Q" V

  1124. . _6 B, B' {3 Z+ w& ]  ^' ^
  1125. ; Default date format.& A9 V5 n* K* q) j, V0 @
  1126. ibase.dateformat = "%Y-%m-%d"
    # h8 B8 k. N9 o% M) V

  1127. 0 ^: S5 |4 Z2 z/ U
  1128. ; Default time format.
    : n2 y. r. V3 ]. a! ~
  1129. ibase.timeformat = "%H:%M:%S"& _+ e0 t: [0 Y6 u( g5 C
  1130. : P. Y' e  X3 \: h
  1131. [MySQL]1 D( j  D" \! c: Y+ z7 m
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 q  g. l6 e$ _
  1133. ; http://php.net/mysql.allow_local_infile( h: n8 r4 J  r- }5 ~
  1134. mysql.allow_local_infile = On$ z( \) E  ~9 Z/ J' U
  1135. ! K' L2 B+ E) W
  1136. ; Allow or prevent persistent links.
    ! E/ g, ~, ~* p0 R2 J0 T1 d/ G
  1137. ; http://php.net/mysql.allow-persistent
    2 l! M/ A  G, L
  1138. mysql.allow_persistent = On
    3 B- l+ {# ?4 M3 H, K

  1139. # I7 l5 E; V" n/ V, ~3 R1 M4 Z
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache& m3 C; W$ \7 Q; v
  1141. ; http://php.net/mysql.cache_size
    3 S: i# G6 c, g9 v5 [7 [
  1142. mysql.cache_size = 2000
    4 _& A; [5 U) N3 k3 A7 F  K

  1143. * E8 K+ f" u  F' h8 @; n
  1144. ; Maximum number of persistent links.  -1 means no limit.! {  A3 y1 c- t" d. Z4 P
  1145. ; http://php.net/mysql.max-persistent6 i, A. i$ n7 r3 |6 k% [/ ]
  1146. mysql.max_persistent = -14 ^5 y+ i& R. B3 k0 G" Q) y2 d$ Q6 o

  1147. ; m2 f' V3 y# t3 S9 h- O
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ R+ Y' i" }+ S8 M* q) ?
  1149. ; http://php.net/mysql.max-links6 o6 _# a( M8 L! @" V# F: W
  1150. mysql.max_links = -1
    " J  d$ {4 `' [+ E! K

  1151. 0 O* T) q) R) t) H0 O2 |
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    & }2 N8 J8 G3 u  i. l( _
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  J' ~2 v# D+ J8 r; d2 J! X
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 O+ q2 s7 ~' h  w& b% l
  1155. ; at MYSQL_PORT.2 L! U+ a: u" X7 q; }* Z/ K4 b+ k
  1156. ; http://php.net/mysql.default-port( C, b. I! |6 j' U6 _! ]
  1157. mysql.default_port =( E4 X% |$ Z% s

  1158. ! A# R1 Z6 N  w$ |- a9 S8 O
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + s; s- a) A0 h' ]
  1160. ; MySQL defaults.$ \/ x* E$ K% ~& z, O  ?
  1161. ; http://php.net/mysql.default-socket
    - v4 M* h- L& G( @+ l
  1162. mysql.default_socket =
    2 ^& b% q# R5 G! V

  1163. * Z/ R- N/ ^! h% F: F
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).( A1 m$ J6 n6 W; [3 r3 d
  1165. ; http://php.net/mysql.default-host
      _5 h! W" e* m0 U! R$ M. o4 e
  1166. mysql.default_host =
    ; d6 g1 y4 s- w" Z9 q
  1167. ) T6 S1 X& _- j! W$ a  d4 B9 D
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).9 g1 p* s: i8 k0 R' L6 o
  1169. ; http://php.net/mysql.default-user
    , s6 Y& w% ^* e& s0 f; Q
  1170. mysql.default_user =
    ; o$ [+ M- E! d0 Q

  1171. ' ?- r) h7 Q8 w& q- g: `# G3 D. b
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    1 a" z0 A* Q. S0 b
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.* b+ {1 \$ Q( Y/ l' o
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")& T, x( e: U: w7 n- W# l
  1175. ; and reveal this password!  And of course, any users with read access to this
    : J6 }! g2 l4 P7 _; x0 ^- Y( A
  1176. ; file will be able to reveal the password as well.
    ) P. L6 |' ?& p
  1177. ; http://php.net/mysql.default-password3 `3 X' x$ N) O2 [; m7 D0 d3 ^. Z7 \8 r
  1178. mysql.default_password =
    , U6 ?7 Q, y& p0 w4 m  F

  1179. ! j( ~4 I% S$ u! h7 h; ?
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit/ L+ ]2 U; Z1 E9 Q' P
  1181. ; http://php.net/mysql.connect-timeout
    . z& M3 }, f2 _0 T
  1182. mysql.connect_timeout = 60
    ' E/ t, s8 A0 D2 x- @
  1183. " Q$ @. V  u, k- ^: v) I- e% |$ B
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    $ D- Z8 s' ?4 @' b( c7 f9 J
  1185. ; SQL-Errors will be displayed.& u6 U$ N# [% A9 |
  1186. ; http://php.net/mysql.trace-mode
    # J& J$ b. F0 S( U, B& l
  1187. mysql.trace_mode = Off6 B- ^) b  f4 p- d

  1188. - t; @' U# a. a, w0 A$ T" I( B
  1189. [MySQLi]
    + p% ^) E' C! ~. U! X1 D# L# f3 N

  1190. 8 r3 C4 s) M3 i, i1 O8 X4 T
  1191. ; Maximum number of persistent links.  -1 means no limit.: p0 B" x; S5 j  X$ p' e
  1192. ; http://php.net/mysqli.max-persistent( b+ t7 H' J/ _9 }
  1193. mysqli.max_persistent = -1
    ; G# @* O' z) `, E' O' ?" @* i

  1194. " ]8 n3 Q8 t! l: d0 [3 J! W2 Z
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 X9 n$ d. [3 y
  1196. ; http://php.net/mysqli.allow_local_infile
    , u( Z1 |& r( c
  1197. ;mysqli.allow_local_infile = On
    1 I$ @* {& z8 ?% ?" G
  1198. 9 h" y' H- S1 b* |
  1199. ; Allow or prevent persistent links.! _9 s( `  H0 Z/ v3 Y
  1200. ; http://php.net/mysqli.allow-persistent
    - h7 K/ G; y' Q. D5 z
  1201. mysqli.allow_persistent = On
    3 F. V. u. B2 k/ O
  1202. ; Q/ W! L4 Q( `: B
  1203. ; Maximum number of links.  -1 means no limit.
    ( h# F; y3 a% `
  1204. ; http://php.net/mysqli.max-links
    ( ~7 [. f. P  h5 ?) p2 u! `
  1205. mysqli.max_links = -1
    7 n# Y" f1 h( |6 s. }

  1206. 7 \, u7 I- ]( @& O) O3 Q, @" `; J1 G
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      o1 }: h/ d/ B1 S
  1208. ; http://php.net/mysqli.cache_size
    ; n* B9 E2 }) W: j
  1209. mysqli.cache_size = 2000
    7 z4 c: c1 v$ C  ]8 G

  1210.   a7 g1 o  J4 }( [
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! t/ R0 S! |$ v
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" C" @% n* G# ?0 `6 a
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# F$ M+ Y. l1 a0 E2 ?3 q+ u
  1214. ; at MYSQL_PORT.
    ' S2 g$ y+ K5 M/ S3 |/ o
  1215. ; http://php.net/mysqli.default-port
    1 O# g! X, r0 X0 }# E4 I
  1216. mysqli.default_port = 3306' o1 Z: R) R! O

  1217. 0 t' S' F- f( z
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 n9 v5 l$ i' m
  1219. ; MySQL defaults.
    / K* ?  s# P* \! U) a  s" [6 s
  1220. ; http://php.net/mysqli.default-socket; u  e/ h% P9 C
  1221. mysqli.default_socket =
    7 U: b. L, T; R# O

  1222. 8 |" T; }# P5 ~, ~& e( Q: |2 K; W7 W
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . n4 r. U" r6 a( [% i! o8 w; B
  1224. ; http://php.net/mysqli.default-host; R+ S/ D3 J7 |
  1225. mysqli.default_host =
    1 p9 G# S( I4 s* U" s! ?
  1226. , J4 J" o. y) u% H
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).) p  f& h0 e. b% B* w' P  q
  1228. ; http://php.net/mysqli.default-user6 ]+ F# S  H" f4 g7 W1 |7 |  H
  1229. mysqli.default_user =& g% n( F9 ]* T0 i

  1230. 8 T( |! T( A2 S$ Z" ?& `- |0 ?% A
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).' p/ \* c# P# O2 ~8 n% F8 r
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 q, X2 d  I: {, a
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    + v, }4 {) s( t2 J3 k& _
  1234. ; and reveal this password!  And of course, any users with read access to this
    7 Q' t- n0 E* X* ~. @* H
  1235. ; file will be able to reveal the password as well.# z1 Z. u, n# L* l% u8 Y
  1236. ; http://php.net/mysqli.default-pw
    - x0 o* A+ F0 |1 l
  1237. mysqli.default_pw =4 S( w1 Z& d/ ?
  1238. % j- P& U' |, J3 D. ?. A: g+ D
  1239. ; Allow or prevent reconnect
    " a2 L2 |% ^) ^: p! L( P
  1240. mysqli.reconnect = Off
    % V( {  `& i* c0 m; G

  1241. : b  V. X5 @* X& |2 c
  1242. [mysqlnd]
    . ^0 k6 x$ f+ J4 k
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be+ J) k! b2 V0 F' I
  1244. ; used to tune and monitor MySQL operations.
      a" H& O' f( m) Z) L' b
  1245. ; http://php.net/mysqlnd.collect_statistics
    3 c# j8 B$ O4 m& \, `
  1246. mysqlnd.collect_statistics = On
    % i1 \9 @& A! c' M9 R

  1247. ' g! G# C# T! {0 e: r
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    / V" ]9 T* M3 z! Q6 O4 B
  1249. ; used to tune and monitor MySQL operations.4 n8 K; o) Q+ i' |' Q, H; }. P4 l
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ' _/ E( H- Q0 r: h* N2 S, D* N
  1251. mysqlnd.collect_memory_statistics = Off
      K- p) J. w% [( S3 P, U2 ?

  1252. : N" c; q% C& V4 {9 P1 }7 Q- f
  1253. ; Records communication from all extensions using mysqlnd to the specified log. a3 Y$ A- \3 F& ]2 F
  1254. ; file.
    % A' o( A* ?! N2 Z% ~- o
  1255. ; http://php.net/mysqlnd.debug
    ! E0 N- W/ O. x. {8 g# [# D
  1256. ;mysqlnd.debug =; F2 Z: q" A$ I! F

  1257. % f* e7 O, u  ]5 ^1 M
  1258. ; Defines which queries will be logged.
    ' I: }! S, m) H0 C& l: g& m" o" r4 L
  1259. ; http://php.net/mysqlnd.log_mask& Y9 W. I. X9 H
  1260. ;mysqlnd.log_mask = 0
    # ]8 m! ]. P9 i) @% c
  1261. ) h9 {  a" t, J  E3 K% Y* F
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.- M% I* ?4 M  Q7 r% Y9 _/ c* d
  1263. ; http://php.net/mysqlnd.mempool_default_size
    / Y/ J; S8 X, e0 }
  1264. ;mysqlnd.mempool_default_size = 16000
    9 L0 i0 q3 _* p3 A7 ~# [

  1265. & w' Y1 O" q* J# w- q. i& o
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 [3 Z. p/ x- p9 E4 y2 y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * n5 e1 `, [1 [0 Y: \  c+ w
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    * Q/ u" m9 ]* s4 u. X
  1269. 1 d0 B8 e5 o$ O4 E9 X
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in. ~' W0 h- b" H# W- M) I2 v- }9 `
  1271. ; bytes.; z* G5 j  v) `
  1272. ; http://php.net/mysqlnd.net_read_buffer_size% `- D1 B- M% E8 n
  1273. ;mysqlnd.net_read_buffer_size = 32768+ v- o% S0 L. |) v
  1274. ! L' C7 k/ V/ `3 O, v
  1275. ; Timeout for network requests in seconds.3 L8 E2 S2 Y; ^) {
  1276. ; http://php.net/mysqlnd.net_read_timeout, P6 v" C. j' Q5 y( B  \
  1277. ;mysqlnd.net_read_timeout = 31536000( n* D+ ?! K9 b1 p  A/ e

  1278. 9 x( W7 U6 O9 O2 o% n3 H3 \6 b! n
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA7 S, K7 s4 u: u$ v( u2 l* L- A
  1280. ; key./ _( m) C: @. x  h5 ]5 Z
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    & Q8 k( m! E6 B6 l) A9 b
  1282. ;mysqlnd.sha256_server_public_key =5 W* i, C/ i: o% V3 ]

  1283. ( L7 x9 \& u. N9 c6 C. ?% p" ~$ L% n
  1284. [OCI8]% F  q! S0 O* O

  1285. ( E: Y% A6 J/ }* [; O0 S
  1286. ; Connection: Enables privileged connections using external+ I( E/ G% S% m, p5 M
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    3 e- m( _; N8 v. h, D! t
  1288. ; http://php.net/oci8.privileged-connect
    ' r+ ?; Q  l7 @/ v
  1289. ;oci8.privileged_connect = Off  u* h& N6 u& g: z5 _
  1290. 8 e5 z# C" R$ S, a1 [9 @
  1291. ; Connection: The maximum number of persistent OCI8 connections per! h9 y; n) V4 L% T. s- ]0 _4 o
  1292. ; process. Using -1 means no limit.5 l1 h( G& T  {! _! i" z9 R" a
  1293. ; http://php.net/oci8.max-persistent
      P% C) D) H! \; n$ o0 ?
  1294. ;oci8.max_persistent = -1
    $ G- m1 `2 _; a
  1295. . i+ r# J" I: n$ t. H
  1296. ; Connection: The maximum number of seconds a process is allowed to
    & i1 {2 {  I( v! m3 t* O7 f  R; i3 f
  1297. ; maintain an idle persistent connection. Using -1 means idle
    3 i1 l6 r$ X) s5 O' S
  1298. ; persistent connections will be maintained forever., ~( d, K6 |, U) a+ [/ _
  1299. ; http://php.net/oci8.persistent-timeout. x. u' J1 l( h4 ?
  1300. ;oci8.persistent_timeout = -18 n2 W9 T: O; V% k" `; [

  1301. " A/ B1 A4 i5 }- K/ n8 [8 c. a
  1302. ; Connection: The number of seconds that must pass before issuing a
      p1 Y  g( Y; @) d3 ~+ `9 W$ X
  1303. ; ping during oci_pconnect() to check the connection validity. When- S, V; T6 L3 `
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " [8 n' [! w$ r5 Z6 W  T
  1305. ; pings completely.
    ' v/ r6 Z' c' Q( O  T* S  i
  1306. ; http://php.net/oci8.ping-interval0 L; V/ V& ~/ {/ \7 u& b
  1307. ;oci8.ping_interval = 60
    - g/ e5 z  p% R- Q
  1308. # H+ g3 K, E9 q# T. B9 P
  1309. ; Connection: Set this to a user chosen connection class to be used
    % E! x5 H7 L& H5 Z+ F
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    & {2 Q5 R' g# A+ b$ c# n1 o' K! O
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + T& R3 D/ B0 Q# b: J! N
  1312. ; the same string for all web servers running the same application,9 g4 B. [7 n1 B
  1313. ; the database pool must be configured, and the connection string must: x* n7 q. Z+ S' @
  1314. ; specify to use a pooled server.1 G5 n- W$ l% c' ]( P3 O
  1315. ;oci8.connection_class =
    ' |: S: y2 ?8 S1 o/ i

  1316. 9 m' B6 E. S& z1 o7 Z) K; C
  1317. ; High Availability: Using On lets PHP receive Fast Application
    $ I9 u( Z  P5 s5 z
  1318. ; Notification (FAN) events generated when a database node fails. The
    & R: r  {* k5 ]/ [3 Z! z
  1319. ; database must also be configured to post FAN events./ a3 k; M; s: f- R" Z) M
  1320. ;oci8.events = Off
    / q2 X8 r# p# c- \1 L
  1321. - @4 E* s+ G* m4 @8 }1 H3 W+ ~
  1322. ; Tuning: This option enables statement caching, and specifies how: q+ s# D/ V+ I4 f7 F2 f
  1323. ; many statements to cache. Using 0 disables statement caching.
    % L3 }4 [# d  f& e; x$ y0 p* r
  1324. ; http://php.net/oci8.statement-cache-size
    9 k! C0 F, J: f6 m5 A8 H$ Z
  1325. ;oci8.statement_cache_size = 20
    / B4 G1 Q7 R+ h! |! u3 ?! Z

  1326. 4 _9 A! H8 d; g( g+ j* B- j' D7 q
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    " M- c. f! u% {8 `1 Z# F
  1328. ; rows that will be fetched automatically after statement execution.
    : J. I& ^5 S! k% e! }- N* @
  1329. ; http://php.net/oci8.default-prefetch$ ^" x. z) W8 C# c# I) n
  1330. ;oci8.default_prefetch = 100
    , N: \; b0 R' w
  1331. ; ]7 r- @8 f: w3 z
  1332. ; Compatibility. Using On means oci_close() will not close
    ) ~1 ?) p, ~0 E( s7 c3 K
  1333. ; oci_connect() and oci_new_connect() connections.+ m  H$ \: V7 `  p; b& X
  1334. ; http://php.net/oci8.old-oci-close-semantics& E+ O- t+ r1 Y$ m! u
  1335. ;oci8.old_oci_close_semantics = Off
    6 C7 A. Y6 A+ A$ y# G  G
  1336. ) k7 X9 X) I5 [. ~( i& |
  1337. [PostgreSQL]: ~# @6 @6 r5 X3 l* @7 @% A. Y
  1338. ; Allow or prevent persistent links.& [$ W3 D) y, W2 V$ p
  1339. ; http://php.net/pgsql.allow-persistent  D$ h- Z+ p& G4 F
  1340. pgsql.allow_persistent = On
    . k0 B: ], U, ~* v2 g

  1341. : R% ]* T8 O1 \' G  V9 Y
  1342. ; Detect broken persistent links always with pg_pconnect().: b0 U3 g' O9 ?  N  ?  b' B
  1343. ; Auto reset feature requires a little overheads./ _7 ^, c6 i! H. x7 E
  1344. ; http://php.net/pgsql.auto-reset-persistent
    5 R; A5 G  P1 V& s4 t. |
  1345. pgsql.auto_reset_persistent = Off' G3 |! }$ j# n# V! z. h3 p$ N1 q% f
  1346. 9 }& ?# L2 r+ [( k0 ?0 Q
  1347. ; Maximum number of persistent links.  -1 means no limit.
      t5 b0 a3 b1 b% e
  1348. ; http://php.net/pgsql.max-persistent
    5 Z- Y; P& A$ _- @0 \1 I
  1349. pgsql.max_persistent = -1
    . Z3 q1 P1 E& E# p( ]; E

  1350. ) q; r) q3 k# V$ Q  p8 h
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.6 c2 ^( Q2 C/ l0 R2 L
  1352. ; http://php.net/pgsql.max-links2 f4 J/ Z* D; ~/ [; }$ G
  1353. pgsql.max_links = -1
    $ o+ d- t! I- @+ W

  1354. , B( f1 C1 A9 \
  1355. ; Ignore PostgreSQL backends Notice message or not.
    - @# e0 Q" V; ]/ |+ J5 D
  1356. ; Notice message logging require a little overheads.3 W5 y3 s! [' k* A& U8 f
  1357. ; http://php.net/pgsql.ignore-notice
    2 ^) S! o: {7 ?7 T
  1358. pgsql.ignore_notice = 0
    " l' p% s, o0 F' l3 N

  1359. # N; Y/ H0 {* Q" ]6 X" W+ W
  1360. ; Log PostgreSQL backends Notice message or not." U/ d6 `5 j: f( D: m. P& Y
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    . ~8 k) l- p0 b( z, g
  1362. ; http://php.net/pgsql.log-notice
    # e3 u- q" C& E3 z
  1363. pgsql.log_notice = 0
    , Z1 ]/ J! Q& O" y/ {' c
  1364. * |8 i, Q" N' B" p
  1365. [Sybase-CT]
      L; x& c( f) U- Y; P( d' x
  1366. ; Allow or prevent persistent links.
    % ?1 w4 j1 `; a' q% x  {
  1367. ; http://php.net/sybct.allow-persistent/ b! K3 j* a' i* x/ p) J6 E9 e! q
  1368. sybct.allow_persistent = On! z/ c6 M6 i# e6 H4 L) K; ~: c! R4 t
  1369. , v& q0 r# c' s3 T, d
  1370. ; Maximum number of persistent links.  -1 means no limit.7 ?/ S' H7 O  h3 \6 f! Y
  1371. ; http://php.net/sybct.max-persistent9 f1 `' n1 T' K
  1372. sybct.max_persistent = -1
    ( U% R; M( u/ E& D  [2 m
  1373. * k9 ~1 @# `- `- F& w, B
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) k" g& N9 u6 \
  1375. ; http://php.net/sybct.max-links
    " {+ x4 A& A; r* ^5 O( p
  1376. sybct.max_links = -1/ |' r. \0 X8 Q; {

  1377. % W; C0 I$ d9 E$ E2 D2 h- s
  1378. ; Minimum server message severity to display.
    ) l/ {6 {3 f  {2 G3 R1 {  B
  1379. ; http://php.net/sybct.min-server-severity" w& q8 ]% u/ n9 O- ~. W6 x
  1380. sybct.min_server_severity = 10
    + l: j& @2 I& U$ G+ T# m" ?8 {
  1381. 9 l* E6 q: \9 @5 v" d
  1382. ; Minimum client message severity to display.
    % o% \9 [8 f- e- Y
  1383. ; http://php.net/sybct.min-client-severity
    $ t9 Q/ x/ s, O
  1384. sybct.min_client_severity = 10
    ( l1 f: y2 o' T/ ~8 k& R

  1385. * J, }$ C! ]4 g3 t
  1386. ; Set per-context timeout
    4 a2 d7 i$ [+ C5 u
  1387. ; http://php.net/sybct.timeout
    " w+ K; j1 @6 V6 l: }, ]
  1388. ;sybct.timeout=
    * Q) i4 z& l0 B& T

  1389. % p% ~* h. j- X. T8 y% F0 o0 m7 L0 T
  1390. ;sybct.packet_size
    " u) k) b2 q6 {# T

  1391. ' B; }7 \# U* ?
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    3 S8 S# {# x8 b  k: D+ r+ r0 P
  1393. ; Default: one minute. I6 |% U1 o% A; I
  1394. ;sybct.login_timeout=
    ) m$ l1 q! q  a" Y* p
  1395. , S1 z  ]' p7 @& K! `+ s
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    6 n+ S7 Q2 h7 F$ R. K
  1397. ; Default: none2 j: O' g5 I) ~4 R; s
  1398. ;sybct.hostname=
    % }& M( W; `% A3 g3 l
  1399. " R3 s! d. y# d, b  q
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    : e' `3 e5 b5 p  s
  1401. ; Default: 0
    6 @+ n$ d" R8 d& J4 N
  1402. ;sybct.deadlock_retry_count=' ^5 @3 W* I  E4 _5 U4 ^

  1403. " E7 E# u4 Z9 o' O% R7 e
  1404. [bcmath]  M  J# S8 `5 f# m5 {- a
  1405. ; Number of decimal digits for all bcmath functions.4 n) j2 ]7 k% [
  1406. ; http://php.net/bcmath.scale
    5 W* X. w  h; Z0 Y, l. \/ q( l
  1407. bcmath.scale = 0
    5 _2 [; ?$ V" @
  1408. 1 N0 v7 g/ M: z4 N: p
  1409. [browscap]
    . m3 j8 F1 o9 S5 k5 l
  1410. ; http://php.net/browscap
    ! {$ D. M/ H3 S3 n
  1411. ;browscap = extra/browscap.ini
    * s% T+ q6 V. y8 |, F; |1 y* I

  1412. % C" f4 Y! i* b8 k
  1413. [Session]
    & c6 S3 ~5 E: D4 ?; v
  1414. ; Handler used to store/retrieve data.* K- G5 k# ^; H" @7 |
  1415. ; http://php.net/session.save-handler! G- S( x/ M+ p# }" y3 Z
  1416. session.save_handler = files# n% [* M& Y( b6 b, h8 W

  1417. ! w  Q! R0 H  n9 D- R8 A8 f
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ! u6 F9 ^2 P5 J& \- k
  1419. ; where data files are stored. Note: Windows users have to change this
    1 s( \1 v% Z. r/ x% d4 H
  1420. ; variable in order to use PHP's session functions.. t8 @8 v/ q% k" B) j4 {
  1421. ;
    + O7 {, N3 j* F! P9 G
  1422. ; The path can be defined as:3 r# q3 j! x6 O$ }1 H9 |) \- R
  1423. ;
    & @; G( D  g7 s2 w3 a2 z  j
  1424. ;     session.save_path = "N;/path"3 l; Q- u: f3 Y" E2 m" S
  1425. ;
    , A7 @9 w! P% h+ D/ ~' ^
  1426. ; where N is an integer.  Instead of storing all the session files in7 G4 q/ K4 w0 h7 e8 |
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    / k: M9 A7 `+ T( }" Q# f/ B5 U8 D4 ~7 X
  1428. ; store the session data in those directories.  This is useful if
    $ B1 _1 n0 F/ q6 K& m
  1429. ; your OS has problems with many files in one directory, and is" y* G. U8 W: A3 f
  1430. ; a more efficient layout for servers that handle many sessions.
    ; ]6 @! F4 h# f0 \% s: e
  1431. ;6 O& f, S9 n$ G1 J0 P0 s
  1432. ; NOTE 1: PHP will not create this directory structure automatically.+ ^5 d4 o/ w" [. p
  1433. ;         You can use the script in the ext/session dir for that purpose.
    . H, [  y6 O% c, c5 ]/ ?
  1434. ; NOTE 2: See the section on garbage collection below if you choose to5 r" @1 c/ a. W* v7 G0 ~8 z
  1435. ;         use subdirectories for session storage. G7 Q5 H+ b- l  D
  1436. ;$ I6 V; Y( F# h! z
  1437. ; The file storage module creates files using mode 600 by default.2 r$ p# c5 m% ], m4 I  }
  1438. ; You can change that by using3 \) O. x. G5 ^
  1439. ;6 G; R2 l5 h! H8 ^) J
  1440. ;     session.save_path = "N;MODE;/path"2 f! A% b& w. K* H: i: E3 ^7 J
  1441. ;
    0 X6 h& E# m% S0 L1 g2 _( I
  1442. ; where MODE is the octal representation of the mode. Note that this
    # f! a0 v4 S5 G5 N* V
  1443. ; does not overwrite the process's umask.- l/ Z: l* y# Z8 `; p
  1444. ; http://php.net/session.save-path. z& |9 I5 ]( n6 H
  1445. ;session.save_path = "/tmp") Z( ?6 c2 D( i

  1446. . O  W8 v- s# g: I, D6 `
  1447. ; Whether to use strict session mode.2 z9 s- W% S7 g( P9 l" [5 J9 m" q" B
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    3 _( x+ d+ `( C5 S) G4 K
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects1 O' U( L4 {. S* y9 L
  1450. ; applications from session fixation via session adoption vulnerability. It is% C4 N0 p( F3 X2 @. D$ l
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.- K) L3 @3 }: H! U3 e
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ) Q( K' v/ G9 a7 V. L
  1453. session.use_strict_mode = 0' e! c- [# X, g

  1454. * L7 g0 S% }  W, u
  1455. ; Whether to use cookies.
    ! y: O- g+ Y+ [6 t; Y
  1456. ; http://php.net/session.use-cookies0 V# w# g9 d5 T
  1457. session.use_cookies = 12 Y5 t" e" ?9 n' t$ [2 ^

  1458. 8 W  p( d: k, g4 }) Y$ U. S  N# K5 |; P
  1459. ; http://php.net/session.cookie-secure
    . C. V# e6 l2 U/ U" p; p3 ~5 q
  1460. ;session.cookie_secure =
    . u( i8 ?+ s/ ^
  1461. % g7 A# c8 y% ^, T' z7 C% P  w
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    7 O1 m4 @( l; y- B  V& f
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    $ m+ ^; J7 T6 d4 z, G) l
  1464. ; session hijacking when not specifying and managing your own session id. It is2 N1 _6 a6 f8 e! a( [* Z( o9 @3 {
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    - Z; v6 D7 j7 |. l/ |- E
  1466. ; http://php.net/session.use-only-cookies
    # [# C9 g3 T' i4 O1 N7 J
  1467. session.use_only_cookies = 1
    1 J: N- j( O: f9 R# z8 z$ D

  1468. 8 Q3 ?0 J- w% t$ A3 U. {
  1469. ; Name of the session (used as cookie name).6 k, e- _8 q" E+ ]6 E: g/ d3 S/ R
  1470. ; http://php.net/session.name
    5 M2 m9 x. L6 A
  1471. session.name = PHPSESSID
    9 |3 y; _5 c$ W; Q8 y
  1472. : Y4 {2 w2 p, J8 t! h7 b5 T! |3 ^  e3 q
  1473. ; Initialize session on request startup.1 Y2 a4 n2 q6 F0 i6 `
  1474. ; http://php.net/session.auto-start) q; u, N3 J; X1 g, i
  1475. session.auto_start = 0
    $ W9 R: O2 y- r" y6 j

  1476. 2 m6 ?* ~: i; q/ \. C
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    2 a2 B4 y' M  p" ?5 v) s  Q
  1478. ; http://php.net/session.cookie-lifetime* B0 B. r/ y2 D% e  M' S( |
  1479. session.cookie_lifetime = 0
    ( z9 l+ P8 H7 D' q9 N; V* Z+ T6 s( ]

  1480. " x  r$ Q8 m; w4 W) T* `" N6 }7 o# W
  1481. ; The path for which the cookie is valid.9 u% V" ^1 z+ Z! t# I7 w
  1482. ; http://php.net/session.cookie-path) s" I8 ]" p5 e
  1483. session.cookie_path = /4 u( k0 V+ W! W& S
  1484. ( `# G! A0 `/ H! N
  1485. ; The domain for which the cookie is valid.
    4 Q: b9 n, t- d/ |( ~. m0 L
  1486. ; http://php.net/session.cookie-domain# r, i0 |; y0 w! @
  1487. session.cookie_domain =; n! w; n5 S' [0 v( h: E2 J

  1488. ' l  f1 N8 X* v
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' y, U: ]* y, K) L! x1 Y7 s8 C! b
  1490. ; http://php.net/session.cookie-httponly9 S. U" Q3 F2 {# H
  1491. session.cookie_httponly =) T/ y8 F5 ~/ N! H# G; \: o
  1492. ) |5 U8 E7 A5 a) d, e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
      w* ?9 y* ?. L5 s
  1494. ; http://php.net/session.serialize-handler6 u0 z0 V. ]+ D8 K: Z  t* {( T
  1495. session.serialize_handler = php
    ! x1 H4 q- M/ g2 P5 B# D

  1496. - j  c( h; r: ]7 A% Q* a$ F8 D
  1497. ; Defines the probability that the 'garbage collection' process is started
    % w% n! t# _) s8 ~- A0 q3 |
  1498. ; on every session initialization. The probability is calculated by using" b. y! r. s/ w
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator" E* L' \( q4 d6 s' k% N5 M' W; @
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    2 a+ M4 {( E1 w; J# w
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 }+ w2 E* L: a
  1502. ; the gc will run on any give request.7 [+ e: _5 [5 z- _* x4 v: j
  1503. ; Default Value: 1
    + o; b* }# K% d" O, p
  1504. ; Development Value: 1# c! u3 Q% [8 A& \/ m2 x
  1505. ; Production Value: 14 g6 x1 O9 U7 a' S2 P! J
  1506. ; http://php.net/session.gc-probability) V) y, [) B: x8 Q0 l6 j
  1507. session.gc_probability = 13 N0 y6 `& E9 ]( |) z2 M# S7 b6 S

  1508. , v# b3 [6 f2 N8 w: {6 s( t! W
  1509. ; Defines the probability that the 'garbage collection' process is started on every0 e' o8 P- r- E3 N1 U5 W% v4 M
  1510. ; session initialization. The probability is calculated by using the following equation:' S/ l; S  ?6 p5 G' K
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    # U' N8 i) N8 I# W6 j
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ) E! O% u, `+ W: y0 g
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 f; a1 \8 \! f5 A- f, G' z
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you9 \6 w. @% c" a7 k3 I# [5 e
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,7 y. y7 W. L+ [1 [" S
  1516. ; this is a more efficient approach.8 P, o9 [7 B6 L3 ~* ]
  1517. ; Default Value: 100% n9 `+ B, R3 o# t- O) W
  1518. ; Development Value: 1000
    " f% |) M; ^" L2 k# C8 f
  1519. ; Production Value: 1000
    " p( |; ^7 H4 x# |
  1520. ; http://php.net/session.gc-divisor7 c" B, l! p7 D. u, _) a3 a
  1521. session.gc_divisor = 1000- P# ^+ ?5 ~) I0 S

  1522. + j. b4 C8 E* o- ~
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and" S" e8 e& V1 a; a: s9 {
  1524. ; cleaned up by the garbage collection process.
    / _# z! j- Q* ]& K
  1525. ; http://php.net/session.gc-maxlifetime
    7 P: s# O) S: N1 t8 v4 h9 {
  1526. session.gc_maxlifetime = 1440
    : I" C; D0 i/ ^8 ], S

  1527. + E- o+ X6 h; q+ H
  1528. ; NOTE: If you are using the subdirectory option for storing session files( ~* k5 j" y0 ?
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ; @: h3 L$ p4 H. b* }( K$ F) O9 N8 v
  1530. ;       happen automatically.  You will need to do your own garbage& J' h4 J0 f$ {! M" g/ R1 m% |+ U
  1531. ;       collection through a shell script, cron entry, or some other method.8 F8 W5 R9 g/ |3 y0 {; ~
  1532. ;       For example, the following script would is the equivalent of& m9 G, e2 R, H% x3 |; V
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    + H" f1 O4 N: ~$ ?  p% @
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    * J# D+ \8 t0 `% e6 e
  1535. ; ]7 Y8 r" T: E! A
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 t& c* C2 x/ C- R; U( w8 O' ]
  1537. ; HTTP_REFERER has to contain this substring for the session to be+ K$ `. @8 c1 Y5 }, i) n! Y
  1538. ; considered as valid.; `5 g6 [9 I; L5 {! w! x, W3 K* [8 O
  1539. ; http://php.net/session.referer-check$ G: R. p) [' w  B8 a. W
  1540. session.referer_check =
    8 J2 o( L. `/ E

  1541. $ q; e! a6 _3 ?' f1 B2 j! y6 U1 Q
  1542. ; How many bytes to read from the file.: h0 f+ o. b1 X! s5 T  c
  1543. ; http://php.net/session.entropy-length9 |7 K' c- l3 `2 Z* f. b
  1544. ;session.entropy_length = 32
    5 c4 L* l8 d& E0 s! k) S5 }

  1545. " Y* F8 b0 H1 [$ G& g! F+ ~
  1546. ; Specified here to create the session id.
    7 P8 ]9 |/ C  u8 `9 A  k& v" P
  1547. ; http://php.net/session.entropy-file  B3 ^0 B6 B7 |* q" `- S; y
  1548. ; Defaults to /dev/urandom
    9 a+ T  b- e3 V( c' C3 }9 w
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! Y& J9 B. G0 F4 V& j; [
  1550. ; If neither are found at compile time, the default is no entropy file.
    0 r2 x7 T$ c6 x3 J) J8 H
  1551. ; On windows, setting the entropy_length setting will activate the
    ) B0 {/ ~/ V% P" L
  1552. ; Windows random source (using the CryptoAPI)
    ) t) ]$ u" {( Q5 |
  1553. ;session.entropy_file = /dev/urandom& {% V' m- `- P* _

  1554. 5 _( Q2 t9 s! {; ?% k% }
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects% u/ Y- w) X, N7 {
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ! M2 N$ b* {1 T: M
  1557. ; http://php.net/session.cache-limiter! `- p( h  A$ u' V! S( C& z
  1558. session.cache_limiter = nocache
    1 [# w" R1 D/ z! q

  1559. + s8 M( |6 a* S, _* R# ~
  1560. ; Document expires after n minutes.( v/ i, f" `6 n0 f8 f- k3 a
  1561. ; http://php.net/session.cache-expire# _3 |' M$ K2 c3 d! d  P
  1562. session.cache_expire = 180
    0 A5 ^9 C7 D6 o( D* Z

  1563. 2 d4 f' S- A6 M/ O8 x! ]
  1564. ; trans sid support is disabled by default.
    ! s+ J+ R! J/ W2 I0 ]- _1 K0 Z
  1565. ; Use of trans sid may risk your users' security.6 z# ^9 K- J/ x& W$ u2 V9 a
  1566. ; Use this option with caution.
    6 O6 I1 r$ N" j+ p; i: x5 r: z7 y
  1567. ; - User may send URL contains active session ID
    ! ^3 v6 W. x, I( G. Q) @3 ~
  1568. ;   to other person via. email/irc/etc.
    * q0 `* X3 U7 s. _5 _2 C
  1569. ; - URL that contains active session ID may be stored
    7 V, H' p3 z- g% o0 K
  1570. ;   in publicly accessible computer.7 ~6 ~, b: c0 Y/ H4 i
  1571. ; - User may access your site with the same session ID  B. a+ P  |9 ?! G  n3 H
  1572. ;   always using URL stored in browser's history or bookmarks.
    3 Y7 U6 [5 Y- p1 s
  1573. ; http://php.net/session.use-trans-sid  C# I5 G1 _1 N, r0 R
  1574. session.use_trans_sid = 09 m: C" m6 c5 B, I
  1575. . [8 \: T& r4 K9 v: ]% c
  1576. ; Select a hash function for use in generating session ids.
    ) J4 ^: {% C% U% G/ E4 z* Q3 e
  1577. ; Possible Values5 P2 C# G0 P; I' K$ A
  1578. ;   0  (MD5 128 bits)
    ; z8 k* @  _% @4 G( L1 P3 P. D
  1579. ;   1  (SHA-1 160 bits)
    9 j: p4 `, n+ {
  1580. ; This option may also be set to the name of any hash function supported by  n/ }' l' h2 |& W8 A0 f; H$ x
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()2 W  r. q  m, X0 r* P! }8 ^
  1582. ; function.
    4 J! w3 i' s9 f  J7 L9 n* s' e; }9 I
  1583. ; http://php.net/session.hash-function+ B; n/ X% s0 z) o, S6 p
  1584. session.hash_function = 0
    # }4 x5 C1 B, `* @& R: q' D9 m

  1585. 3 Y% [. B  z- J) y% Q) e
  1586. ; Define how many bits are stored in each character when converting
    . _* w% o) z. q* P2 j
  1587. ; the binary hash data to something readable.5 x4 Z4 s( E) r; }1 i
  1588. ; Possible values:1 `% F( b& `5 Q1 S
  1589. ;   4  (4 bits: 0-9, a-f)) o' L: Q3 l) u4 j% R+ m7 R0 y: h
  1590. ;   5  (5 bits: 0-9, a-v)/ h. \8 e: |" y$ o, J, S3 a
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")5 v+ L( O7 i" z$ g
  1592. ; Default Value: 4
    5 J+ k- j; t6 ?2 ^; w, d0 Z
  1593. ; Development Value: 5
    9 ?* y7 o6 |- x
  1594. ; Production Value: 5
    ) y# i% a  u4 V. M$ E) y+ S
  1595. ; http://php.net/session.hash-bits-per-character. j7 g% V) G/ J2 K: e2 v# W
  1596. session.hash_bits_per_character = 5' I. }5 j7 _# f! ]/ r
  1597. 8 B7 h+ U& [* Q! @$ t" u' c
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.) v( @6 Z) ?3 e' r
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ) w) t3 ~/ P# A7 Q) k" S2 M
  1600. ; add a hidden <input> field with the info which is otherwise appended
    + U9 n5 M+ y6 p9 z) Y
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ) P+ K4 \, n( `* d2 Y+ {: N5 D
  1602. ; Note that all valid entries require a "=", even if no value follows.
    # \8 D& c: Q- A* U& z" u$ p! p
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; A; |: I% S3 V! G. }& n% @
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + B- u( {5 X$ q% u
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 B& h8 d' z8 \
  1606. ; http://php.net/url-rewriter.tags
    1 G* b. X2 s3 a2 B( X1 a5 J/ \
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    " b6 S. `) N7 H6 N! P
  1608. - J( \3 W, c# y
  1609. ; Enable upload progress tracking in $_SESSION0 S* ?) J1 W* L
  1610. ; Default Value: On7 u. W6 x, H$ G$ n7 u
  1611. ; Development Value: On7 U( J: u0 L* V3 }& B/ T) D
  1612. ; Production Value: On
    7 z# ^; ?8 _7 u- i  T6 ?
  1613. ; http://php.net/session.upload-progress.enabled6 p7 s! u, P; x6 \- R7 {
  1614. ;session.upload_progress.enabled = On
    2 A: d7 C/ h, f8 W2 z6 z. g6 ^
  1615. - I  f; V' o' `3 I
  1616. ; Cleanup the progress information as soon as all POST data has been read2 I4 ]8 y; x1 t9 F2 B2 e
  1617. ; (i.e. upload completed).
    " M7 w$ S- D. W; @
  1618. ; Default Value: On
    $ [0 \5 F- @0 \+ T) S+ }
  1619. ; Development Value: On4 v" ^: c* G- U0 v% ]$ N% `& \& i
  1620. ; Production Value: On
    , {( j' [+ X: O' f$ m3 b
  1621. ; http://php.net/session.upload-progress.cleanup
    1 G" m0 B4 ?, t/ f
  1622. ;session.upload_progress.cleanup = On0 m% }" E& y# i/ k2 v3 I

  1623. * t! [: Q6 L# n# l8 V
  1624. ; A prefix used for the upload progress key in $_SESSION7 m- J& {! f% |& X$ n0 z
  1625. ; Default Value: "upload_progress_"
    # Q# ~, H2 u! \* C# y9 y, j1 v
  1626. ; Development Value: "upload_progress_"
    8 d8 U  }0 A# t6 N7 s
  1627. ; Production Value: "upload_progress_"
    " A& c4 z6 t7 J- u+ u( X! c1 n$ ~
  1628. ; http://php.net/session.upload-progress.prefix5 y* T  g* d0 c  t% |! A/ p
  1629. ;session.upload_progress.prefix = "upload_progress_"
    7 @' n8 X* u5 A* ~: Y) D" ?) _  d5 i
  1630. ( i$ t, s4 y% o* k
  1631. ; The index name (concatenated with the prefix) in $_SESSION* Y5 k8 Z1 C% ]  }+ f" }
  1632. ; containing the upload progress information
    ; L; J* c& ^1 Y% V
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"1 _2 p: ]) h+ ?8 Q
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"- \/ e+ a* a$ U; p8 R0 r0 O
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % @/ U& p+ H" T+ A* Q0 y
  1636. ; http://php.net/session.upload-progress.name
    ; v3 o( J  V0 Z, b3 O) Z% T
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS". n1 }; E0 n' n$ W1 v% b
  1638. / U; p$ s0 J3 ^; P" X0 c
  1639. ; How frequently the upload progress should be updated.) G& t" B7 y* y( M% k0 O
  1640. ; Given either in percentages (per-file), or in bytes
    * t) G7 ?/ V4 T- V/ x
  1641. ; Default Value: "1%"% O' n! h5 J" Y9 ]0 N
  1642. ; Development Value: "1%"/ f& a3 `/ L0 f
  1643. ; Production Value: "1%"' B8 @7 S3 ?# ?# h7 N7 |7 W9 u
  1644. ; http://php.net/session.upload-progress.freq
    & a* K: ?0 D5 ], i' u/ q0 G
  1645. ;session.upload_progress.freq =  "1%"; ^4 L5 r# w9 ~9 o5 {6 Y) ^! N# k
  1646. 7 c/ W; R8 s: \5 F
  1647. ; The minimum delay between updates, in seconds
    2 H1 p1 e( P% t# q& c2 l. k
  1648. ; Default Value: 1) }. N7 g3 S7 w- [. ]& X9 k. f
  1649. ; Development Value: 1
    9 j; d! j& a" l/ F
  1650. ; Production Value: 1
    ' C4 i7 s/ o0 S4 Q2 G  c; ]
  1651. ; http://php.net/session.upload-progress.min-freq
    * X" }$ ^' {1 a# m' I+ p% ~' b) q5 ?
  1652. ;session.upload_progress.min_freq = "1"$ {7 n  d5 }6 q( A6 c) q$ b
  1653.   `" X: Y/ D/ @" }/ j( l- E0 o5 o9 X
  1654. [MSSQL]
    % |, y; h' b+ _7 y* F# x$ B
  1655. ; Allow or prevent persistent links.# `+ n% y% p+ ]+ ^: l" J$ C
  1656. mssql.allow_persistent = On
    & G5 L; ?: x9 j3 i) O
  1657. $ C9 O9 w7 f* N, _9 e( ]( G
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ; e2 T) I6 o  X/ C( M
  1659. mssql.max_persistent = -14 v% M1 ~' S6 P  A
  1660. ; G7 j! u1 L% K% K' ^' T# j. f6 J* {
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , E7 j; K( Y% j% ^
  1662. mssql.max_links = -1) K$ v0 g# _/ ?/ x
  1663. 7 x" Z# }& B# S. Y8 w3 i# n2 k
  1664. ; Minimum error severity to display.# B7 b$ w* G' s( N2 V
  1665. mssql.min_error_severity = 108 U+ f' i1 z) d. Y+ f8 W& }0 A4 ~4 Y; N

  1666. ! [/ b) j* j( u" F% n
  1667. ; Minimum message severity to display.' e& U9 Y+ t6 O% J8 d2 x
  1668. mssql.min_message_severity = 10
      Q/ X4 _, _; m3 Q! E. j

  1669. 2 `' }/ R0 M  V- W$ b5 H5 \
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ) [! P& v8 P+ ?9 ?
  1671. mssql.compatibility_mode = Off
    ' p& M+ E$ q! s1 L& K7 e; _% g
  1672. : ?) I+ C2 s0 q8 {' r; J2 S
  1673. ; Connect timeout
    " h  _$ k2 `- ]- i. P
  1674. ;mssql.connect_timeout = 59 ~5 i1 \. s0 z1 n- t

  1675. ! h: P: k, C( `8 m; _8 Y
  1676. ; Query timeout4 ]: j. O7 J0 y8 D
  1677. ;mssql.timeout = 60
    * y9 s0 r! t& u  _7 s" m1 O  l

  1678. 3 R% W% _$ S4 C+ F
  1679. ; Valid range 0 - 2147483647.  Default = 4096.7 O9 f" {1 d0 U* A
  1680. ;mssql.textlimit = 4096
    6 O/ {# v- K: ]1 w+ m. ~

  1681. " p0 S! G* H) f- }$ |. a+ }
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ' J+ A+ S# K0 Y! ?- q0 e
  1683. ;mssql.textsize = 4096
    9 p+ Z7 m+ C! }2 B# o* _* H9 `4 J
  1684. ) \/ C* f' k9 ~2 N. G8 u5 M
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.6 i9 {! a1 X$ @) l, A
  1686. ;mssql.batchsize = 03 E+ L! Q' O9 N! y. t+ N

  1687. ; k) ^$ ~  P- E# t
  1688. ; Specify how datetime and datetim4 columns are returned
    * F" D" _# r3 ^
  1689. ; On => Returns data converted to SQL server settings
    2 e/ x9 Z8 J/ a( v+ h
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss9 U0 O$ ~$ C+ N
  1691. ;mssql.datetimeconvert = On/ [6 x+ `. j" c( Q" U& `/ }

  1692. 8 v7 z! Q9 \$ G4 L" G- N- a3 N
  1693. ; Use NT authentication when connecting to the server
    * h$ K' u) [' k5 W* z
  1694. mssql.secure_connection = Off
    4 m: O7 n8 [9 t& ?

  1695. 2 K, Y. H1 d$ W7 Z
  1696. ; Specify max number of processes. -1 = library default5 n# ~8 Q8 L4 g5 v! y
  1697. ; msdlib defaults to 25
    / h2 ^2 H' Z9 ~: g: s
  1698. ; FreeTDS defaults to 40967 _: ~6 [3 d/ ?3 {: D6 n+ L
  1699. ;mssql.max_procs = -1
    # i7 \1 o2 v! R1 K% x( o
  1700. ) J% Y: H8 A. u% y8 y
  1701. ; Specify client character set.4 }3 l( T9 j" b' _
  1702. ; If empty or not set the client charset from freetds.conf is used% O) Z4 X5 ~* [2 ~$ M* S
  1703. ; This is only used when compiled with FreeTDS. }; t% Y" v& r7 j; |  K0 e+ W
  1704. ;mssql.charset = "ISO-8859-1"
    6 ~8 ]5 @# Q6 v+ M

  1705. 6 u8 L. n  g& T( F
  1706. [Assertion]1 |# [& V" W3 }' T! @
  1707. ; Assert(expr); active by default.0 Y1 [3 Y8 [, g- Q7 V: G% \
  1708. ; http://php.net/assert.active
    ; J6 P% ]3 o+ w
  1709. ;assert.active = On
    # b; L& l# q" F, M$ @) Z
  1710. ! \; ^' g# F$ [7 K. s: E4 w
  1711. ; Issue a PHP warning for each failed assertion.( X3 n5 m2 b6 z1 E2 X1 v
  1712. ; http://php.net/assert.warning
    / J( H$ G  y2 _9 r. C# {# {
  1713. ;assert.warning = On
    6 W) D5 A, c4 D5 w( E
  1714. ! f7 S6 T+ W8 \& U" X% G
  1715. ; Don't bail out by default.
    ( _3 x# N+ }& g! W
  1716. ; http://php.net/assert.bail5 @7 B3 |- y6 M% ?! m
  1717. ;assert.bail = Off0 n1 U4 m  T0 z4 {7 h) v, f% ^
  1718. ; [0 w( {# Y+ O
  1719. ; User-function to be called if an assertion fails.
    . r. W/ M- k7 Y3 T5 q
  1720. ; http://php.net/assert.callback
    . O0 i+ {) v+ T0 A
  1721. ;assert.callback = 0
    + U9 G# r. E  N0 [# y5 |
  1722. . P; A" \! f3 u3 \* z, v- S
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    % H0 `" H# f( o- h
  1724. ; error_reporting(0) around the eval().
    - C( ~- c( @9 w+ B
  1725. ; http://php.net/assert.quiet-eval
    5 e9 b5 w! j* \; q5 z. o; x) F
  1726. ;assert.quiet_eval = 0+ I) X5 @2 i: ]9 O

  1727. * i9 h" x' _% r) x4 @6 B
  1728. [COM]5 u- f& U1 R" ?4 j( _2 q4 X
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs9 n, P( Y/ s- d
  1730. ; http://php.net/com.typelib-file
    , P0 [% o, g5 g
  1731. ;com.typelib_file =
    6 U; t7 f8 h; K1 A; h0 M

  1732. : C9 k  m* k1 z. k, \! x# ]
  1733. ; allow Distributed-COM calls+ O$ m+ L- n1 q: q5 \- z
  1734. ; http://php.net/com.allow-dcom% B& z! A/ u0 Y- p) D: b  t+ u: {
  1735. ;com.allow_dcom = true  I  m- E" [* g) k
  1736. : k3 Y, n/ O  U5 z' ?1 T% ~
  1737. ; autoregister constants of a components typlib on com_load()7 A+ v+ Y7 c# I2 J% S
  1738. ; http://php.net/com.autoregister-typelib. m. Z$ N; Q% t1 Y" h
  1739. ;com.autoregister_typelib = true
    / O- Y* U, Z5 O4 J, K
  1740. ( m! a* P% e! I; `, [. Q
  1741. ; register constants casesensitive
    9 Z8 n# i1 [' X5 b
  1742. ; http://php.net/com.autoregister-casesensitive
    9 z3 D4 a7 }. P2 h" [* O
  1743. ;com.autoregister_casesensitive = false, S5 D- [% F# }& t* I* X9 X: [
  1744. " ^+ |: z' E& m8 o
  1745. ; show warnings on duplicate constant registrations* q; ]- i# o" r2 g' [
  1746. ; http://php.net/com.autoregister-verbose; M- m' H! j  T( f. K
  1747. ;com.autoregister_verbose = true
    * R7 `8 R& T+ Z

  1748. + n- b% c4 L/ N. I+ T
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    * W) p/ }' e+ \% N7 a
  1750. ; Default: system ANSI code page
    5 N. G, r' f, y$ q% d
  1751. ;com.code_page=
    5 g! _* r+ ~9 g8 P. [
  1752. / |4 `: J. E+ E$ x
  1753. [mbstring]/ T$ d0 N' N8 h
  1754. ; language for internal character representation.& X) w3 k2 O( z; C* n  l
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.. Q# u$ G! k" Q5 @) k4 T/ V( y' s
  1756. ; http://php.net/mbstring.language1 ], j7 U# W! U) B4 m  F/ x
  1757. ;mbstring.language = Japanese" k( s0 n' h$ K( m: a# Z. L

  1758. ( }3 B: T5 i: k  |  z
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , x4 Z+ S7 t4 W, x$ v& T' Z
  1760. ; internal/script encoding.$ y3 W5 Q* k% {& y) b0 ?
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*); S3 X9 u* ^( d9 ^: _. o: k
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: M4 C% u* L# ]8 |  g3 q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 \3 N; T: E9 d8 R2 p+ q& S5 w
  1764. ;mbstring.internal_encoding =; Z! a: W) j. X7 D/ ^

  1765. : B( ]# `$ ]+ U' N
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.; q- J6 T2 r- @0 U8 [
  1767. ; http input encoding.. |  x- L1 v+ o# ^5 L- A
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.! @. p( c6 i- T4 O. l
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 ?- N  @/ c& T8 J
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * I: a) V0 c; V3 x
  1771. ; http://php.net/mbstring.http-input# p, O) ]8 V( U7 o/ ]4 N
  1772. ;mbstring.http_input =5 f1 r/ i, H! t2 q1 m; Q' v: }
  1773. ) O, F# b) I, U# h) V
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.. |/ n# R$ ~) X
  1775. ; http output encoding.
    * a4 y) q5 m( q$ W8 V5 w
  1776. ; mb_output_handler must be registered as output buffer to function.
    1 m; T; n6 G5 F5 K; s: I! `
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! |* s4 N$ X1 V& V" @
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    8 C$ o+ V8 n0 e. M7 K* y/ q# r
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    3 {! F# E9 P2 n/ K* C  }6 {$ q( m
  1780. ; otherwise output encoding conversion cannot be performed.
    5 ]7 t1 t" ?. }; L+ ]! |
  1781. ; http://php.net/mbstring.http-output) K" r' J' T4 g2 j, {9 }. z' r
  1782. ;mbstring.http_output =
    $ f' D5 \' F5 i3 r4 k0 P
  1783. , ?; g0 ]; ]7 d. G, }* e1 _
  1784. ; enable automatic encoding translation according to: B9 B9 |: |. V5 _' Y
  1785. ; mbstring.internal_encoding setting. Input chars are
    * \) s& w2 p' s
  1786. ; converted to internal encoding by setting this to On.# ~8 P: m' A: v3 x
  1787. ; Note: Do _not_ use automatic encoding translation for8 a1 b0 _/ D: k+ I8 N$ T! @& ?: W
  1788. ;       portable libs/applications.
    7 X( i9 {$ D: v$ J+ r
  1789. ; http://php.net/mbstring.encoding-translation
    2 {* N2 m0 v% V/ }
  1790. ;mbstring.encoding_translation = Off
    " q+ b3 f9 G! F9 u# f7 p! _

  1791. : @% \; D# v+ ~! [, m
  1792. ; automatic encoding detection order.# B2 k  L$ h7 T5 x
  1793. ; "auto" detect order is changed according to mbstring.language4 G# H! A  k# A( j: E: G
  1794. ; http://php.net/mbstring.detect-order
    % V# m0 q9 I9 Q4 e$ Z  ^4 e7 ^
  1795. ;mbstring.detect_order = auto2 E! m5 H5 |+ G/ _1 _
  1796. ; G9 Z2 v, F# v4 d3 g
  1797. ; substitute_character used when character cannot be converted
    ! f$ {: k$ Q  |5 |+ b8 W
  1798. ; one from another$ E7 f4 _, I$ Q6 o
  1799. ; http://php.net/mbstring.substitute-character
    ' ^8 A/ o% E" W1 d# w
  1800. ;mbstring.substitute_character = none
    5 j. S9 i' b; Q/ Q8 T9 X
  1801. ( Q2 z2 w, k; v- y$ f; k1 f
  1802. ; overload(replace) single byte functions by mbstring functions.
    - E  \& A! u! c& k$ O! Y% p7 j
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    . H- R: s" e3 O  O" ?/ ^8 p
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.3 `7 C+ }6 n6 j; N- a
  1805. ; For example, 7 for overload everything.1 [0 |# _6 R# p  f1 M, c
  1806. ; 0: No overload
      D# ^6 d4 C) f- g5 K2 f8 z
  1807. ; 1: Overload mail() function
    ! p5 Q) R4 T7 x" G  s' e
  1808. ; 2: Overload str*() functions
    ; y" D$ o6 O8 b" d3 q5 x
  1809. ; 4: Overload ereg*() functions' ]( P+ ?- u+ q
  1810. ; http://php.net/mbstring.func-overload
    4 v# l7 V% i# h- k! ^: C
  1811. ;mbstring.func_overload = 0
    ( H% [5 \" U: b; C% ]

  1812. 6 q9 |6 ?  |# Z: q
  1813. ; enable strict encoding detection.8 q/ I% A, J9 s' N
  1814. ; Default: Off; X" g2 n6 |4 J/ j8 B
  1815. ;mbstring.strict_detection = On' i4 X5 |  o0 E8 y" d
  1816. & P. O4 n( {# ~
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()& _* t  e- a( j; w
  1818. ; is activated.$ {# @% Z) \" x; p- |
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* w0 X6 R: v3 a$ ]  @) |7 ]
  1820. ;mbstring.http_output_conv_mimetype=
    " G' \4 G% L! L9 R
  1821. 1 C; f/ J& N* `, K
  1822. [gd]( ?( j7 G, Y  d7 C7 Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create+ {/ T$ v2 _. r! X& w
  1824. ; a gd image. The warning will then be displayed as notices
    & W2 x, Y" T5 ^$ |6 Q, K
  1825. ; disabled by default) I2 ~6 J* r& b( |" N& k8 s+ d' C
  1826. ; http://php.net/gd.jpeg-ignore-warning6 g& r1 }7 t) V; `- a/ R6 Q
  1827. ;gd.jpeg_ignore_warning = 0
    2 z- G8 v" b" E9 H/ p
  1828. ' l4 t4 G1 m8 ?: J& C+ {8 v4 r
  1829. [exif]
    $ N- _( e, X0 y7 P5 L
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.4 q% m% x0 y" b+ |# S- Z* c
  1831. ; With mbstring support this will automatically be converted into the encoding  v/ G# U% m" ]+ W6 y2 B( d: |3 d' ^
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    6 H; ?0 l% a8 C3 k+ x8 Y4 R' z
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ( j/ M* d3 I, u* n" g. G* m& O6 |  N
  1834. ; intel byte order. A decode setting cannot be empty.) f; u" z6 b: {0 O* x1 Y
  1835. ; http://php.net/exif.encode-unicode
    ' t9 S$ T& v+ @
  1836. ;exif.encode_unicode = ISO-8859-159 W5 |# e0 [5 l6 ?+ O8 Q1 R

  1837. & e  Y$ \* L; i6 O* C1 r/ e
  1838. ; http://php.net/exif.decode-unicode-motorola
    . w5 ^# }# o( k2 D0 h- W0 R
  1839. ;exif.decode_unicode_motorola = UCS-2BE5 L" Z9 h+ c# q) g' @$ B% Y
  1840. ( X# U5 n( \( }$ I
  1841. ; http://php.net/exif.decode-unicode-intel5 j) p* h1 p  Y+ m; S
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    6 {% a: V! ]: J

  1843. + X" g( T& w% g. p# E! R
  1844. ; http://php.net/exif.encode-jis5 V0 q7 A9 h! [! n( n
  1845. ;exif.encode_jis =
    4 p- t+ M  k! O7 A- _+ a; v

  1846. 0 ?* k' S7 n7 {
  1847. ; http://php.net/exif.decode-jis-motorola8 d, O- Y" _6 B/ E8 \3 u9 l
  1848. ;exif.decode_jis_motorola = JIS
    ' r! p6 Q/ c! I+ _  N6 M* w
  1849. & D) z% e& o, e+ ~6 c% `6 y0 w3 ~
  1850. ; http://php.net/exif.decode-jis-intel
    ( Z% Q* X0 F- T- G( I+ V6 ?: j
  1851. ;exif.decode_jis_intel    = JIS
    8 u3 a8 w3 W! N0 G$ S
  1852. 7 ^/ z6 a8 D% b2 K6 Z
  1853. [Tidy]/ ?. E3 r* p+ T) e- l3 f! p
  1854. ; The path to a default tidy configuration file to use when using tidy3 `& a- S$ {. {
  1855. ; http://php.net/tidy.default-config* U. v  B3 T9 ?9 S$ A" }
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    " ^' y( O) Z* m9 Q  W, T" w
  1857. 3 f5 l% {+ J6 w9 @
  1858. ; Should tidy clean and repair output automatically?
    + Y/ K" g' Z& s* r& q
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ( |9 d, ]! l1 V$ V
  1860. ; such as dynamic images. y) z$ ~% s# R( x' _
  1861. ; http://php.net/tidy.clean-output$ A/ \. S2 \/ ?9 Y: u
  1862. tidy.clean_output = Off8 }- T8 r+ u' [  N0 X
  1863. $ v$ C7 F: I% R) f4 I
  1864. [soap]. i* {7 y# _) _5 t
  1865. ; Enables or disables WSDL caching feature.4 f% U- {- Z" d2 w8 V  h& @  ?
  1866. ; http://php.net/soap.wsdl-cache-enabled* U# r4 F/ I( D( d, h
  1867. soap.wsdl_cache_enabled=1; ^% f" |; g' K. h7 }% G

  1868. 0 r9 k7 c6 s. K2 m$ u
  1869. ; Sets the directory name where SOAP extension will put cache files., |3 U) W+ i' x3 ?7 N: Y
  1870. ; http://php.net/soap.wsdl-cache-dir
    2 V" A1 ~0 U- o1 G
  1871. soap.wsdl_cache_dir="/tmp"
    ' u1 c* y6 ]6 t+ ?; s  l
  1872. : H3 e3 n! `7 n7 ^" y
  1873. ; (time to live) Sets the number of second while cached file will be used# ^. S! T$ }4 H( s$ q1 P$ @$ L
  1874. ; instead of original one.
    & L* u% I& J- U) i
  1875. ; http://php.net/soap.wsdl-cache-ttl; O" V' _+ w2 E1 [  Z7 L
  1876. soap.wsdl_cache_ttl=864000 ^( c' _- v1 E
  1877. # C; p: I3 e) W# l, J8 V
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)% a8 ^4 m3 t7 t9 m' B
  1879. soap.wsdl_cache_limit = 5
    ) M; q' w9 a; p: m. v. G5 n

  1880. 7 n0 v$ z# }. u" n# {2 E
  1881. [sysvshm]
    . ^" T8 G! q) i2 K% E: F) `
  1882. ; A default size of the shared memory segment
    & P/ T6 p: o! D' z5 U# ]& u; \# d
  1883. ;sysvshm.init_mem = 10000# S1 w# y" K0 O; }7 j" `

  1884. ' X/ J1 y6 u) e4 Q- ^: S3 G
  1885. [ldap]
    4 k9 x7 M, M0 w% h7 G) S' ]( v
  1886. ; Sets the maximum number of open links or -1 for unlimited.& O& E, V5 U# d0 x7 o8 Y
  1887. ldap.max_links = -14 t/ u3 t  y$ {* N* i

  1888. # P3 T0 ?7 g7 z7 ^
  1889. [mcrypt]
    * L9 h3 M& {) Y) U; o* X2 B
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    # T' {# @$ M9 g6 h& {* B

  1891. " |# p3 U2 j5 q( z$ [$ c; d( i: W
  1892. ; Directory where to load mcrypt algorithms, r  `9 q- ^2 t9 r# F( h
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & j2 A5 c- L! Q9 r/ _7 G  N' l
  1894. ;mcrypt.algorithms_dir=. D- R9 Q2 b5 A2 e& d
  1895. + f9 Z# Y* I3 N# e( {% Y
  1896. ; Directory where to load mcrypt modes
    & N2 [: V' k6 N
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 R# u, m7 G2 A5 `
  1898. ;mcrypt.modes_dir=
    * L9 s9 c& ]5 D' V" m- n1 h
  1899. 6 U; m1 ?& R$ G
  1900. [dba]/ p2 H0 d/ P' Q3 C' G( e0 X
  1901. ;dba.default_handler=6 f; u% Z, P  E

  1902. - o$ y7 u% E) b$ u7 @1 O
  1903. [opcache]! c7 n0 F0 n0 H2 P* k
  1904. ; Determines if Zend OPCache is enabled& h9 |, U& z) w+ E
  1905. ;opcache.enable=07 {" j! _: S/ q4 u9 G

  1906. + b( b" n+ W- [6 z1 o/ o
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    + A% M% J' n- e
  1908. ;opcache.enable_cli=0
    % q' Z/ U- j) ]8 @! ~' E/ {) g
  1909. 9 ^! v* z: ~! l6 `& g
  1910. ; The OPcache shared memory storage size., N7 F; \/ d: p4 i: x
  1911. ;opcache.memory_consumption=64: W! K: y% @9 X

  1912.   {" U* W+ g2 }: N
  1913. ; The amount of memory for interned strings in Mbytes./ v/ i& T+ D& W$ o
  1914. ;opcache.interned_strings_buffer=4
    1 h8 l. J9 q. ?

  1915. + L4 H1 i  h3 A) J  s
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    - D  J; B) C# n' q! g/ h
  1917. ; Only numbers between 200 and 100000 are allowed.
    " x6 `1 ?/ h8 p6 e: ?( X
  1918. ;opcache.max_accelerated_files=20009 K; X& ]1 K1 l) Y8 K$ r" l
  1919. $ K- f3 ]# y0 w9 f
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    6 x1 x. A' e3 o" l! J$ F
  1921. ;opcache.max_wasted_percentage=54 q1 ~- D6 M) d: a6 [6 e* V
  1922. 4 A: Z" [8 X5 X# H2 E
  1923. ; When this directive is enabled, the OPcache appends the current working2 I' B7 {- X' Z! X( ^$ m0 O
  1924. ; directory to the script key, thus eliminating possible collisions between
    # {  K9 E, C5 `: x5 P/ e
  1925. ; files with the same name (basename). Disabling the directive improves8 e6 R: k( e" Z" v
  1926. ; performance, but may break existing applications.6 p  y9 @; L+ s# B1 m
  1927. ;opcache.use_cwd=15 t: _' {7 |$ S7 S4 Z) ]

  1928. % o4 z! K  T- s: T4 l9 j! |1 P0 l9 G
  1929. ; When disabled, you must reset the OPcache manually or restart the* r! O0 k  W8 ]% ^" k7 V0 z$ Z" c
  1930. ; webserver for changes to the filesystem to take effect.+ d/ H% o( o5 I; s2 i
  1931. ;opcache.validate_timestamps=1* G/ Z+ [  D% _  n8 \0 ]

  1932. ' V  q6 L; Z0 F& h
  1933. ; How often (in seconds) to check file timestamps for changes to the shared/ ]% n& e/ l' k2 i# f
  1934. ; memory storage allocation. ("1" means validate once per second, but only% l. W  b; k9 N+ z0 z8 L( X/ o, C
  1935. ; once per request. "0" means always validate)( Q) N2 {; _: {
  1936. ;opcache.revalidate_freq=29 h8 L. A& Q' D

  1937. ! T* F) i9 f* L4 p4 q: p
  1938. ; Enables or disables file search in include_path optimization6 q! _# f+ w+ i3 M, b. u
  1939. ;opcache.revalidate_path=0
    ! B! ~- Q2 ^+ D1 A
  1940. ; e) Y* L, N5 c5 |7 n1 X
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ( p; y& X: Q' S* R
  1942. ; size of the optimized code.
    4 u" W" n0 k$ {( N: L) m
  1943. ;opcache.save_comments=1! {; H6 [0 C( e8 Z5 T8 u1 O  v! {

  1944. - N6 {5 Q. w- G0 i
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"' R) Q) b$ G4 p/ ~+ n; h
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    . w; J# T* |% V% N$ d
  1947. ; that don't need them anyway.4 `6 L6 @9 j8 c; c- y8 {
  1948. ;opcache.load_comments=1
    2 O* M6 @* ?' {$ i1 C: R4 Z' C

  1949. 8 |" K& O* V1 F* U. ~$ c
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code+ {6 a: s7 U/ j9 T1 B
  1951. ;opcache.fast_shutdown=01 t8 p+ o/ k6 t! D, Z1 ~6 j# D
  1952. % u8 s2 a3 B5 C/ }/ j! E
  1953. ; Allow file existence override (file_exists, etc.) performance feature.- |+ ]" N5 B6 t* V7 b) C1 L0 E
  1954. ;opcache.enable_file_override=06 I4 z/ K+ Q0 I5 A/ d

  1955. , c8 I2 O2 Z4 u- _
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache- Z' j- T6 s9 r2 y
  1957. ; passes' U! O  C. Q" [; L( p
  1958. ;opcache.optimization_level=0xffffffff
    ; H  i* \/ @6 Q0 Y  K% F3 Y$ }6 \
  1959. + A) p& m( p; |
  1960. ;opcache.inherited_hack=1$ q! p7 F8 N+ C. m; ~- j1 F
  1961. ;opcache.dups_fix=0
    $ m, f9 ~" }" _3 G$ ?
  1962. / E& w6 Q' R$ o3 B" P
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ) K5 n  X) s+ k% j9 M: j0 y/ |, {
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    8 u" M5 \! y: v( `
  1965. ; that should not be accelerated. The file format is to add each filename. i& j8 o6 g3 `$ e" K8 s
  1966. ; to a new line. The filename may be a full path or just a file prefix7 D& ?1 ]4 Y6 O6 s- {
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; D5 M7 u% |- h" C
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).( B3 R7 x* J$ Y+ \/ W- ^8 ?8 ?7 U/ _* F
  1969. ;opcache.blacklist_filename=1 p- e. c- @8 u8 Y2 e

  1970. + z+ ?0 n' g& O# Q$ k
  1971. ; Allows exclusion of large files from being cached. By default all files
    2 Y! n- F* B& f# |( M( x+ e
  1972. ; are cached.
    * N9 _- j7 q: `  b8 W, s5 \
  1973. ;opcache.max_file_size=0: o+ P+ E! A3 U' a$ T( G; x
  1974. , J# B7 u+ `# z2 w3 I
  1975. ; Check the cache checksum each N requests.
    . M% w6 K# g% N$ q$ h* g
  1976. ; The default value of "0" means that the checks are disabled.
    : I- ~" j, `9 k) x. O2 r: Q! X
  1977. ;opcache.consistency_checks=0) y+ N! p: I6 t' j3 y$ I' Y5 o
  1978. 7 `( H3 e' [8 s1 n9 P
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    . i) d/ O) `9 R6 X5 p
  1980. ; is not being accessed.
    1 K, W3 J) h  n8 d7 L+ G3 A
  1981. ;opcache.force_restart_timeout=180
    , O7 m" G/ }3 h& H# q! t8 }

  1982. . D% q8 K6 Y: Y- X& I/ s
  1983. ; OPcache error_log file name. Empty string assumes "stderr".- f! Z7 W. ]7 F! O) D: ?
  1984. ;opcache.error_log=$ B# \9 u& b4 o& j0 Y/ m- p
  1985. ; `4 R) n1 h) u2 x
  1986. ; All OPcache errors go to the Web server log.
    8 S- t# U) R7 t% \3 u4 k* O
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    / Q$ ^$ q9 W  c( S( W8 u1 |7 i4 c, _
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ( _9 U( S9 m* s2 E7 Q/ B+ @
  1989. ; debug messages (level 4).
    & S9 j' r/ T) e, d7 P/ p1 B' ]3 K
  1990. ;opcache.log_verbosity_level=1$ ?& {, K1 v3 A& h/ ~9 a
  1991. ' B, g4 S5 X: w+ Y& h
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.& ~6 u) V) V' o, P) ^
  1993. ;opcache.preferred_memory_model=
    5 m! {6 D4 W5 Q. Q6 V

  1994. % |* Q9 ]6 l$ x$ g* i( b) m
  1995. ; Protect the shared memory from unexpected writing during script execution.) r4 L$ u7 _$ V6 z3 q) X/ M
  1996. ; Useful for internal debugging only.
    # J7 U3 r# f9 M1 e: @& P3 w4 W/ i' y
  1997. ;opcache.protect_memory=0
    3 }; m+ q, z  i
  1998. . w8 F: e7 o& k8 A. ?8 H, z
  1999. ; Validate cached file permissions.
    + @1 Y% V3 H; ]4 \) m7 y* }/ a+ J
  2000. ; opcache.validate_permission=03 G; v: m1 q% `8 z! F
  2001. 6 T, w" o- Q1 D
  2002. ; Prevent name collisions in chroot'ed environment.
      B) U& ^- @8 @
  2003. ; opcache.validate_root=0
    : E' k5 `5 n. z: E" e9 [
  2004. & m0 E) }0 }+ j' N4 S( W
  2005. [curl]( b- o8 e8 a8 R+ C+ P9 _& J1 A$ _6 A( N
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / E5 [  r- B" C; A) g
  2007. ; absolute path.
    " G, Z1 M/ t8 O' l
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 F2 g; K4 ?0 @
  2009. 1 ]1 K* f2 ]; w' w, \* @
  2010. [openssl]
    & Z) W  m+ m3 L: F1 J9 `
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem2 b; _/ f1 b$ K) b2 G+ K
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should3 q" x& E- P( ~' m2 H+ a8 w
  2013. ; not specify a value for this directive as PHP will attempt to use the$ L7 X' f0 B) D4 _2 {& u% P7 p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 z  f# X/ ]8 g7 ]: w' E' ?
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context: K  g4 s  p4 D  h
  2016. ; option.7 \3 w1 q; V9 d8 q9 j! [2 P4 d
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 v, Z! a- G! E) U- r  W# R% [+ }8 J; ^5 G

  2018. " I9 R  Y7 p( o* R' S
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the+ x3 ]+ _: C3 _/ {" \: h* J3 e
  2020. ; directory pointed to by openssl.capath is searched for a suitable3 R; K3 l, W/ c0 M5 M: O0 `7 q. a9 K
  2021. ; certificate. This value must be a correctly hashed certificate directory.9 t/ j, e5 y. a" C% w1 J
  2022. ; Most users should not specify a value for this directive as PHP will
    4 n7 F( b! ]/ }
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,9 q" s1 |3 O, I$ J$ B  I) B
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ( q; [1 k0 M, X9 V7 W* w: O, M
  2025. ; SSL stream context option.* f% ?; C' _8 ~5 Y8 L2 K) u( q
  2026. ;openssl.capath=  F; k; Y. F' u) j, n% S3 h% y
  2027. , p, F, B' D- A$ R- u/ ]* \
  2028. ; Local Variables:6 `2 s1 S7 Z3 x
  2029. ; tab-width: 4
    3 X0 @! X3 T% H) B9 a6 N
  2030. ; End:0 j* @. ^# [9 j6 l, w* A. q2 i

  2031. ' a  h) Z: l# j1 q
  2032. ;eaccelerator
    8 k6 ]- h5 O; U. P5 u

  2033. * C5 J/ U6 h' @. d" y
  2034. ;ionCube
    . ]$ {. n& {# l; Y1 X% f+ z
  2035. - `, b- @  b0 P+ N
  2036. ;opcache
    6 B( J( }( _5 s4 U7 q
  2037. 4 n% t( A6 ]9 B; W! Y
  2038. [Zend ZendGuard Loader]
    + t/ W) C6 A/ O5 G" t7 b* \) h
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so9 R- G' c2 X; q: @! s; c
  2040. zend_loader.enable=1+ b- o7 u; U* D' k& i- J4 c
  2041. zend_loader.disable_licensing=0
    + ^7 u2 j- |7 `" R" P
  2042. zend_loader.obfuscation_level_support=3# @4 [; A( Q4 ~) p* [
  2043. zend_loader.license_path=& r1 V6 v/ E( H% X+ c

  2044. , i# Y5 R+ Y' b6 ]
  2045. ;xcache
    6 s( N9 b) t- v2 F, @* r, _
  2046. / z  ?+ k5 x4 @# g. D9 x
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
- m2 g: Y& E; l+ R% j8 M* x4 v8 a4 {+ k

* y* x3 E) l* I- z6 f4 UDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,- }; n( A# `( X9 u+ x$ j. ]  p
2 C/ k: N- e/ V0 p- u
Discuz!程序版本选择:" p; `& B! L( a2 K+ u
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,5 [% {) e- B: L3 B
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:* q$ x) _  \+ s/ d" J% F6 e) w
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。0 H2 \$ i- ?" R/ {* Z) H

% {2 ]( M1 C2 ?# jDiscuz!插件模板版本选择:
" ~8 D5 N0 V3 g, z4 V3 Y% N很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
: R, y3 T# b0 Y. H针对这个问题做个统一的普及:1 b+ Z+ c, G5 _* w6 V1 q" \
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
* _" X* S, |8 @2 W; q  P6 b- r3 p$ k, ~
所以
: b1 h1 Q% \9 U适合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的二级域名。4 \' @6 J, r- G# {& V
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。' o3 ~8 x& p) V9 z
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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