分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
1 Y4 }8 k' c$ F5 g5 t) _. ^# v7 m9 x; e/ C6 c
  1. [PHP]1 x8 [- T8 \6 L7 p

  2. 1 V2 b, Q7 r2 _0 E& X
  3. ;;;;;;;;;;;;;;;;;;;
    / h. l' o4 f2 s9 ?1 _
  4. ; About php.ini   ;+ a  R! ^4 A) N9 ^0 }4 {9 A
  5. ;;;;;;;;;;;;;;;;;;;  [" B1 z* Q% t2 g
  6. ; PHP's initialization file, generally called php.ini, is responsible for7 R% z: Y! N1 D2 s) |
  7. ; configuring many of the aspects of PHP's behavior." z5 P, ]1 m% Y' M7 e4 l
  8. % A2 x7 }" u( t1 p; x% _, E
  9. ; PHP attempts to find and load this configuration from a number of locations.
    1 n, N/ k% }+ L9 }; e0 h0 l
  10. ; The following is a summary of its search order:8 D1 o* `! s1 O- Z% S
  11. ; 1. SAPI module specific location.
    * Q. w, [; Z$ ]
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! y, R- p/ {1 ]9 |6 q7 o* |
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    - a1 j: x9 H# W; B1 P8 a
  14. ; 4. Current working directory (except CLI)- D( _- Y( K9 e, [/ f* |
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ( z8 q. @0 {) B% I; v% z+ j5 Y
  16. ; (otherwise in Windows)
    & z7 |* P: b0 s( N8 N
  17. ; 6. The directory from the --with-config-file-path compile time option, or the8 m$ l3 U- F! G3 K' h6 Y$ H
  18. ; Windows directory (C:\windows or C:\winnt)
    ! ~* L" Z$ z5 P5 J: d7 B
  19. ; See the PHP docs for more specific information.6 Z  E) Y8 ?) Q4 \
  20. ; http://php.net/configuration.file
    ; |8 u* _. {, g1 `7 o
  21. ! v4 p- g, D% K0 }' D1 b
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
      `1 l, J; \8 n0 `4 D% j9 q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).* e- `& x7 `( z6 S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    8 E! G1 t' R% v5 G, g
  25. ; they might mean something in the future.
    % ?6 V! Z5 R% f; A
  26. # c$ Z+ ~8 l5 b7 ?. H
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 ^, O& E+ C/ Q' q
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    . m$ U9 g2 s# Y, L1 }6 g: T! ~
  29. ; following the section heading [HOST=www.example.com] only apply to$ ]5 b6 u! N- P& D) U
  30. ; PHP files served from www.example.com.  Directives set in these/ o+ [& F  W* {) a: \0 V7 b' U
  31. ; special sections cannot be overridden by user-defined INI files or& [) G! K# P$ x( r( [7 X" W
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ( ]  l$ q8 I6 `3 `
  33. ; CGI/FastCGI.; c. W1 ]4 X4 t4 e1 q" e, m* l
  34. ; http://php.net/ini.sections
    8 ^2 T2 K- t" ?1 |
  35. ( a/ T+ N: ?4 N0 Q# ]: g& z' i
  36. ; Directives are specified using the following syntax:+ x) X% n' L. L; j
  37. ; directive = value
    & Y: Q+ a& n0 h; f" r
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.$ y4 a+ M. E& y4 q
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! P1 c$ a/ @3 O+ {# a
  40. ; There is no name validation.  If PHP can't find an expected
    9 E; k* N3 R2 }
  41. ; directive because it is not set or is mistyped, a default value will be used.
    + Z( j! i3 H9 [! z1 A

  42. # u$ T1 }+ k9 }4 m
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) ~" b  _9 R) J
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression8 _# s, J- A% Y1 c3 R
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % T" |5 y2 y! Z
  46. ; previously set variable or directive (e.g. ${foo})8 Z6 [, k& L  U/ P, q
  47. % n8 l' K3 J. @; Y; B
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:& l+ m. {6 X; h9 C- [+ V
  49. ; |  bitwise OR
    4 x! `, j0 M5 f) j
  50. ; ^  bitwise XOR0 N' i) V3 c4 I  Z' Z
  51. ; &  bitwise AND  E8 g! |- I0 p9 |$ O- V  i
  52. ; ~  bitwise NOT1 y" n5 g/ r7 F2 V  l
  53. ; !  boolean NOT
    5 V) L5 U5 ^1 q4 ~  L1 [2 \/ Q2 Q
  54. 3 ^2 q* m, n6 {1 D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    3 l% g" D8 K4 z% {
  56. ; They can be turned off using the values 0, Off, False or No.2 s  p, R% Q, B8 J( |( W- q

  57. : t$ ^9 ?; H& H& Z
  58. ; An empty string can be denoted by simply not writing anything after the equal
    6 }7 V6 s* n3 A4 [! o  S" [
  59. ; sign, or by using the None keyword:
    " @; x4 o' R+ }) o. J  `  o
  60. ' m3 m' f" A- c1 D6 g1 ]5 @
  61. ;  foo =         ; sets foo to an empty string1 _6 ?* F+ |: b6 w% M9 \/ f/ p% ~
  62. ;  foo = None    ; sets foo to an empty string
    ' X& O1 J. Z  q
  63. ;  foo = "None"  ; sets foo to the string 'None'/ N' f! B9 j( o; X
  64. & I, g; ~6 d1 }8 z; h% I
  65. ; If you use constants in your value, and these constants belong to a
    * y8 A5 E+ B7 U. W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    7 c7 h0 R; K2 ?7 \& ]  W
  67. ; you may only use these constants *after* the line that loads the extension.- O% W1 m- ~9 l9 g2 {  k
  68. ; n3 G3 Q& w6 D; {# s3 ?
  69. ;;;;;;;;;;;;;;;;;;;4 C; O1 T  h$ K% i
  70. ; About this file ;
    6 M. s. ~$ U; i. ?* ]
  71. ;;;;;;;;;;;;;;;;;;;& w% Y% ?% Z, F; E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used' B% ^; e; [6 C. B$ T
  73. ; in production environments and one that is recommended to be used in
    + H% y! U7 q* O8 T
  74. ; development environments.
    ; Y) G' q' {3 ~% {/ l/ Z9 m
  75. ( w' }; `( d0 k7 ~& T/ Z
  76. ; php.ini-production contains settings which hold security, performance and
    ' j( }* z% k7 W# {; M
  77. ; best practices at its core. But please be aware, these settings may break
    5 q. E# w- e. _0 W
  78. ; compatibility with older or less security conscience applications. We, P  n7 G6 y3 i0 D# D
  79. ; recommending using the production ini in production and testing environments.! J0 ^, k  N% D

  80. 7 k3 D) {7 o4 `) Z+ H+ {& ^
  81. ; php.ini-development is very similar to its production variant, except it is1 y3 I! b# r: T$ Y+ U& }( t
  82. ; much more verbose when it comes to errors. We recommend using the- ]3 z( u/ p/ q
  83. ; development version only in development environments, as errors shown to
    : ]  \6 F3 e# ?
  84. ; application users can inadvertently leak otherwise secure information.& U/ O0 ?3 u; y1 E/ T% f
  85. 6 s4 h' U' R! T" ~2 c5 P3 z
  86. ; This is php.ini-production INI file.
    ' s$ T& g  \2 m8 a& |
  87. 4 @4 Q5 R' \( i9 r& ?9 ~5 B) i" K
  88. ;;;;;;;;;;;;;;;;;;;6 S. e! c' ~: \
  89. ; Quick Reference ;
    8 X0 G' J' f! [1 r
  90. ;;;;;;;;;;;;;;;;;;;
    0 i- t* R& f7 e. c
  91. ; The following are all the settings which are different in either the production; p$ f1 N$ w$ |1 @% v% K
  92. ; or development versions of the INIs with respect to PHP's default behavior.& s6 y2 j3 ]. S9 q* l, I
  93. ; Please see the actual settings later in the document for more details as to why) D# {; m* ~  @: a0 g8 Y. W: K
  94. ; we recommend these changes in PHP's behavior.4 j. t+ I( `( q
  95. # q7 a3 ~) Y, d: R
  96. ; display_errors* u! a% N6 _' G- {7 i; C
  97. ;   Default Value: On
    8 s1 E# x+ P  z5 Q
  98. ;   Development Value: On
    + k" R2 p+ R" a" p$ i/ i$ w
  99. ;   Production Value: Off
    0 [$ a1 Q  ]4 T/ `3 X: L; ^' q* S

  100. * ^; `* t! \7 O1 j0 n( A' U
  101. ; display_startup_errors
    : Z" O/ x% ~' M$ H# ?( f
  102. ;   Default Value: Off  S. _* z7 f' R4 S
  103. ;   Development Value: On
    ) X8 I5 F7 W( v+ b0 x0 @
  104. ;   Production Value: Off2 Y0 r% I1 j% b, Q  B$ x
  105. 1 `4 F. l1 j/ l/ u
  106. ; error_reporting
    ; s8 ^+ w: Y: b7 T% |, O
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( n+ i! i* Y0 }2 y; L0 q' F8 i
  108. ;   Development Value: E_ALL+ l- H6 C, r# s" S
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 _! [' p' Q/ _  d8 g4 _
  110. / U, ^, B" S  O4 e0 Z0 r: w
  111. ; html_errors" }9 o5 H% t8 s7 L
  112. ;   Default Value: On
    8 `- J- O* j- e% [
  113. ;   Development Value: On$ F7 q/ z( n2 H' O9 m9 u
  114. ;   Production value: On
    ) N( ]& e$ x/ k
  115. 0 s" m' ]* N' d0 ?; h
  116. ; log_errors! @8 `: @* D' H' B1 d) C
  117. ;   Default Value: Off
    6 z: y+ U3 _2 j4 l2 R/ M* H5 z
  118. ;   Development Value: On9 {6 E7 a  c) Y7 g0 e6 I
  119. ;   Production Value: On4 |' S9 X- M/ ]5 Z8 |! {1 Y1 [

  120. * \$ V8 z$ _8 ^7 _+ a+ v9 E, P
  121. ; max_input_time0 [' V( ?6 u6 M7 D* k3 p3 |, a
  122. ;   Default Value: -1 (Unlimited)7 E& e+ o$ L3 \/ ?
  123. ;   Development Value: 60 (60 seconds)
    1 O2 K* a, i2 M, y# F
  124. ;   Production Value: 60 (60 seconds)
    ! m7 k$ `' \8 n0 c! C
  125. # a% F9 ~1 ~7 \" V1 _
  126. ; output_buffering3 \0 Q+ ^2 }/ t3 N& P& F
  127. ;   Default Value: Off
    ; d. V" ?$ y( ~
  128. ;   Development Value: 4096
    8 G& E# b. r2 x" Y/ K
  129. ;   Production Value: 4096/ K& r0 Z1 T# r
  130. % k  @7 _. G5 u5 e1 j3 V. P* W
  131. ; register_argc_argv
    7 f7 v* B' ~1 R! `% A1 u! ~
  132. ;   Default Value: On7 L! u' @3 M$ H& \* @: z
  133. ;   Development Value: Off
    : [1 ~# _( L; {. `) }
  134. ;   Production Value: Off
      a8 k* f% F( k) S, h

  135. 0 p9 O" f7 Q4 J
  136. ; request_order" e$ Q; Z2 o6 Q4 `7 ~" }- l
  137. ;   Default Value: None
    & {3 k% c) I( P9 L) t* v4 Z
  138. ;   Development Value: "GP"
      B! T+ X& ], U0 W4 U) V1 R5 o
  139. ;   Production Value: "GP"
    1 N4 `9 P1 v' T6 x3 h

  140. - d3 @* c& z2 b# E  P
  141. ; session.gc_divisor
    8 Q6 n4 E$ y0 [! @$ o# M5 U. R8 D
  142. ;   Default Value: 100
    & C9 f& Q* H  S
  143. ;   Development Value: 1000
    + G# M" p! g  M- @
  144. ;   Production Value: 1000
    . _; {# n# v" t% n9 S" k$ R

  145. , }0 B4 _# q+ u
  146. ; session.hash_bits_per_character6 ]0 q( H  b5 x' t1 a& {  `- z) T& G
  147. ;   Default Value: 4# o8 }" D# }' i8 [7 k9 f
  148. ;   Development Value: 5# K9 t, p# D; T5 O; B
  149. ;   Production Value: 5* f, Y; \0 z$ O- z+ k' N9 V

  150. * y, g7 t5 a1 ?+ @! {" d% S& i
  151. ; short_open_tag( q% r  y( F0 w8 ~0 y
  152. ;   Default Value: On4 B8 r/ A; h* b% B$ v; L" K* n. v
  153. ;   Development Value: Off' z4 Y2 _& I- @. m  M& {+ G
  154. ;   Production Value: Off
    0 g3 O$ @) T5 F; x
  155. : F: ^1 E' ~( |# e+ |3 Z/ m* Z* v
  156. ; track_errors
    0 c% y4 w* _- ~6 m
  157. ;   Default Value: Off* ?. l' G4 k3 }% J. q) a; K
  158. ;   Development Value: On( K4 A5 h2 u) z9 K' S" v
  159. ;   Production Value: Off0 R  E  b5 a" t; r2 M, m6 ?: `2 N5 m
  160. ! Y7 J/ Y% ?: O9 @- s2 `
  161. ; url_rewriter.tags
    ( A' h' m* V( Z3 e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) a- Y: H+ }# l. `: }, u# L; w6 T
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ g0 s' C9 b. [3 W+ x) A
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") C3 K% Q9 D" ~- h" y" ~7 F1 A0 ^
  165. " z3 \# o1 o4 C& Y* S
  166. ; variables_order
    + b5 Z1 j9 e# i4 l$ z! `9 }$ J( W
  167. ;   Default Value: "EGPCS"" G- p7 i& M- X" B
  168. ;   Development Value: "GPCS"% h1 A4 g  Q3 ]- B' k( `8 i7 r
  169. ;   Production Value: "GPCS"
    . o) G: F1 S/ S2 {" }
  170. ' t" D; Z( r  M# i4 f! J( O& V0 t
  171. ;;;;;;;;;;;;;;;;;;;;
    ! _# f; p2 ]/ h4 X0 C9 P
  172. ; php.ini Options  ;
    ) A7 i/ d. ~0 R9 m" q3 Q
  173. ;;;;;;;;;;;;;;;;;;;;
      Q1 A6 x) d: E$ F
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    " G: d/ V: I# ~  N; f+ A
  175. ;user_ini.filename = ".user.ini"  }( r1 c- p5 A. b. d% _; M

  176. : W+ l0 S( _# N% k- X, Y
  177. ; To disable this feature set this option to empty value
    ( S& z9 @' w2 D5 J0 {0 G; K; l
  178. ;user_ini.filename =
    # Q8 z8 Q. C4 E  N0 o/ e

  179. & W1 F3 \) o% B$ w
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)4 J) e& r- j! G. J* x  i9 `) ~6 k
  181. ;user_ini.cache_ttl = 300; }2 h4 V8 O7 y9 v/ o
  182. ; R1 s' m& X* [
  183. ;;;;;;;;;;;;;;;;;;;;
    9 ^! i% O( f6 ~5 u, j
  184. ; Language Options ;
    4 h) y- U8 h+ A0 w. d0 z3 ]9 R. ]
  185. ;;;;;;;;;;;;;;;;;;;;& V$ t% K0 v9 }6 Q9 _# i
  186. ; I* X$ s/ Y! b5 A( S+ I
  187. ; Enable the PHP scripting language engine under Apache.9 ^7 Z: A9 n  V1 O( ?0 p
  188. ; http://php.net/engine
    2 l! U0 H/ S- ]" i
  189. engine = On
    0 H. t: ^! t8 p3 l
  190. % {" `; v* q- n! n! K) P
  191. ; This directive determines whether or not PHP will recognize code between. b! D# Y! J7 }3 D) r
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& \5 `  ~! x2 A( ]+ H* u
  193. ; generally recommended that <?php and ?> should be used and that this feature! ?2 R; m! a" }6 z) t9 g$ M
  194. ; should be disabled, as enabling it may result in issues when generating XML' x3 u. n5 h+ O. a. K( C. }
  195. ; documents, however this remains supported for backward compatibility reasons.
    + J0 B* Z; W9 a/ r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 ^$ O0 v. Y5 A* a. Y
  197. ; used regardless of this directive.
    . Y! c" _; E( _2 B! O- D
  198. ; Default Value: On7 |$ g1 @: i/ ]; ]. g# M1 U5 n
  199. ; Development Value: Off6 E! P5 J4 V5 |! F
  200. ; Production Value: Off
    ' R1 `$ W0 {. P: K/ h0 k3 J/ l
  201. ; http://php.net/short-open-tag9 ~: U+ z' _- {4 T2 ~2 t
  202. short_open_tag = On3 I0 b, D  f2 ^  Y! F( K
  203. ) T1 k2 D8 o. _7 c- n! }! d
  204. ; The number of significant digits displayed in floating point numbers.+ U! D& \5 q0 k: A% W
  205. ; http://php.net/precision" `8 {/ d2 N; c
  206. precision = 144 v$ J" r% b: h+ ?6 z: j

  207. $ Z8 O, M9 L  ]
  208. ; Output buffering is a mechanism for controlling how much output data1 ~3 _: I/ F* L8 z' F. r
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that/ ?9 A$ s4 K( ]0 O, |; L9 U
  210. ; data to the client. If your application's output exceeds this setting, PHP. G1 }9 Z/ i( U. N
  211. ; will send that data in chunks of roughly the size you specify.
    & k9 G$ Q) ^, J0 R# y, A
  212. ; Turning on this setting and managing its maximum buffer size can yield some: p: o0 L+ k+ c$ W5 T
  213. ; interesting side-effects depending on your application and web server.7 H, Q/ t5 M, B" }
  214. ; You may be able to send headers and cookies after you've already sent output4 G( U' {/ d9 b" y$ Y
  215. ; through print or echo. You also may see performance benefits if your server is. D" f' p& E2 a% C8 V
  216. ; emitting less packets due to buffered output versus PHP streaming the output4 [7 W2 Q8 L1 x6 N. m, P' v2 {
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    $ K5 _6 b8 `& v& A) H/ ]
  218. ; reasons.
    5 K& T2 W1 r2 p- p7 K6 U
  219. ; Note: Output buffering can also be controlled via Output Buffering Control0 ?# N9 ?. F# X
  220. ;   functions.
    0 E2 G/ ^; B" I9 ~
  221. ; Possible Values:* S" L" ~+ G4 y/ v) o9 u# u% _8 n5 i6 j
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)% L2 y4 k; ^6 l
  223. ;   Off = Disabled
    . F) c7 Z% E; |. c, Q6 S+ @
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    2 S7 x" K  j# c
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI' }/ T9 \* z. h) L  \9 g
  226. ; Default Value: Off
    6 {4 E2 q0 p4 G6 n
  227. ; Development Value: 4096
    ' Y. S# z! W" c  I9 N' h
  228. ; Production Value: 4096( y( e+ v1 g# j. K5 Y
  229. ; http://php.net/output-buffering: G7 w+ N1 H8 L& D# U
  230. output_buffering = 4096
    / |- @/ T8 }3 G& r; U+ t
  231. - i# P( p: Z+ z! T8 U4 A+ p
  232. ; You can redirect all of the output of your scripts to a function.  For- e  b6 G8 s  v0 k, d
  233. ; example, if you set output_handler to "mb_output_handler", character- i5 e+ g, `, J! |/ I
  234. ; encoding will be transparently converted to the specified encoding.
    ' p8 [3 p1 Y% s4 g3 h/ N
  235. ; Setting any output handler automatically turns on output buffering.1 N4 T4 i. F6 o# Y+ r
  236. ; Note: People who wrote portable scripts should not depend on this ini
    1 q9 P3 q; J, y4 R
  237. ;   directive. Instead, explicitly set the output handler using ob_start().$ |- e! p- l7 d( Y. h
  238. ;   Using this ini directive may cause problems unless you know what script3 r9 l. D( Y0 N* a& x
  239. ;   is doing.
    ( S- i0 p, _8 b5 B* C
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"( U' y3 f1 G$ r9 w1 a6 e5 Y
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    " m% }; f% {3 B7 z6 U
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 N4 g+ m& a& U8 O
  243. ;   Instead you must use zlib.output_handler.2 {  S" V4 E& [; N2 A8 @
  244. ; http://php.net/output-handler
    ( m' Y3 X. |& v# E4 Y
  245. ;output_handler =
    7 n5 S. C+ k' k  G0 X) ~6 d
  246. . l7 y; F$ K0 [# n9 |0 x' b
  247. ; Transparent output compression using the zlib library
    * u; v! r: O1 R: q9 ?( v
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    6 g4 ^: T4 a+ S
  249. ; to be used for compression (default is 4KB)
    2 h9 ~2 t/ y% I# N( K
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    1 i! s6 L/ \; t2 \9 U
  251. ;   outputs chunks that are few hundreds bytes each as a result of* E# S) T' N1 |1 e2 W& U
  252. ;   compression. If you prefer a larger chunk size for better
    6 g8 b% |4 R" I0 C4 B8 Z" O- R
  253. ;   performance, enable output_buffering in addition.6 K3 i8 c2 B: t# @5 U
  254. ; Note: You need to use zlib.output_handler instead of the standard
    + ^$ I  H' s6 s) w* L; N1 T: k
  255. ;   output_handler, or otherwise the output will be corrupted.# |, B* G0 P; `" N- R
  256. ; http://php.net/zlib.output-compression4 h5 v: l: F. i
  257. zlib.output_compression = Off- B/ B6 D- ^& t! s8 D2 v

  258. " f- x( C" |& d4 K
  259. ; http://php.net/zlib.output-compression-level% l% [3 Z1 |* F: H( c
  260. ;zlib.output_compression_level = -1: o" k$ a! T$ x
  261. 2 h: a8 m' E* H( A2 t% D% A6 k' D
  262. ; You cannot specify additional output handlers if zlib.output_compression
    7 `+ b# K/ a) [# H$ i5 X
  263. ; is activated here. This setting does the same as output_handler but in: v) ]" P- `- Q/ h* a5 l2 @) ~& x
  264. ; a different order.
    : z* o( O# {6 V- }2 q1 ]
  265. ; http://php.net/zlib.output-handler
    ' P7 \4 _$ b! k) E8 D0 Z
  266. ;zlib.output_handler =4 Z+ e" ]2 j9 n2 ]8 Y0 s

  267. ' e, O* P' r9 S* I; V8 I  m
  268. ; Implicit flush tells PHP to tell the output layer to flush itself  |. G: R% d( G0 g% ]" [; F7 W6 i8 ^0 K
  269. ; automatically after every output block.  This is equivalent to calling the- H* G2 U' Z8 z" o4 P
  270. ; PHP function flush() after each and every call to print() or echo() and each. @3 s( p% s1 B4 R% X- n7 g; [( _
  271. ; and every HTML block.  Turning this option on has serious performance
    $ s% {4 U3 b6 a) P! e
  272. ; implications and is generally recommended for debugging purposes only." `% m7 z' M  L
  273. ; http://php.net/implicit-flush5 M1 r9 l# x7 ]
  274. ; Note: This directive is hardcoded to On for the CLI SAPI7 H1 C* U3 f& L/ U: U8 Z6 B
  275. implicit_flush = Off" p8 g- R0 p7 m2 v& u

  276. & {/ k( n0 {0 z9 J7 e1 y2 [+ T
  277. ; The unserialize callback function will be called (with the undefined class') T$ T; b! B/ B7 Y/ C0 p
  278. ; name as parameter), if the unserializer finds an undefined class, L' s5 U* q1 o' C6 s' G
  279. ; which should be instantiated. A warning appears if the specified function is1 [1 X: [0 o' H1 }) q
  280. ; not defined, or if the function doesn't include/implement the missing class.
    + L! B7 t1 A* n, m5 G
  281. ; So only set this entry, if you really want to implement such a& X( Q; [' P0 g
  282. ; callback-function.
    " f& k% i! A; |) G2 v$ u
  283. unserialize_callback_func =
    $ U! k7 {* P; t2 o) Y, x4 Z

  284. ; O. C- ~: h6 P0 c
  285. ; When floats & doubles are serialized store serialize_precision significant" _- F3 ?9 h! T% \- v: P5 \  j
  286. ; digits after the floating point. The default value ensures that when floats
    & H. Q; d: U2 E6 L$ d+ I
  287. ; are decoded with unserialize, the data will remain the same.( K# j9 c3 {' _# w, [
  288. serialize_precision = 17
    + X# t  |. q# F3 X
  289. ! d# }1 [0 [& o2 U. \/ c, f
  290. ; open_basedir, if set, limits all file operations to the defined directory% ~( N9 U$ z- i6 m* q
  291. ; and below.  This directive makes most sense if used in a per-directory& i3 f3 N+ |. h" \; A
  292. ; or per-virtualhost web server configuration file.
    : @0 `  x- W1 `0 Z/ ~4 s
  293. ; http://php.net/open-basedir
    ) r$ Q! }- l2 T! U1 T
  294. ;open_basedir =7 q2 p" M" }1 L3 l$ o
  295. - c$ F8 `  ~$ T! l; s) i2 h
  296. ; This directive allows you to disable certain functions for security reasons.$ q9 D1 F, _+ n
  297. ; It receives a comma-delimited list of function names.
    ' t: ]. G0 J1 `5 n
  298. ; http://php.net/disable-functions
    3 x( w8 ]6 E! x: L( h" g
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ( i  Y' M0 ^9 Q6 m2 |
  300. 5 ^  [0 S" E  i9 X2 g  b
  301. ; This directive allows you to disable certain classes for security reasons.
    4 a$ F6 a/ Y1 X
  302. ; It receives a comma-delimited list of class names.
    - D1 w# f. l' K* N( s
  303. ; http://php.net/disable-classes/ c* k+ M3 V1 r/ q, X6 z
  304. disable_classes =
    6 c1 s* f" {' T
  305. + G# a, N' V0 x" x0 N
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    $ u3 H) \& V+ x; F) |
  307. ; <span style="color: ???????"> would work.8 F, t( r7 H' z& ?! p1 W. M
  308. ; http://php.net/syntax-highlighting
    * ?5 X- H/ C; E7 L* ]
  309. ;highlight.string  = #DD0000
    & }( W' H2 ~, f# |% d8 B
  310. ;highlight.comment = #FF9900
    ' H$ b/ o8 z9 n% k
  311. ;highlight.keyword = #0077007 y9 X! O5 _. H( o
  312. ;highlight.default = #0000BB# r1 a) N* {0 W0 f) t
  313. ;highlight.html    = #000000( j6 d3 {1 Y% R2 P
  314. + {+ l8 w( W; @% a
  315. ; If enabled, the request will be allowed to complete even if the user aborts; \4 U+ s9 J( m; B, V! j( q. C: M
  316. ; the request. Consider enabling it if executing long requests, which may end up
    8 `: L" W6 m& v9 G4 x* {
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior1 U- T& e5 C* ?! T. u. h* \
  318. ; is to disable this feature.# U% r" k! }( z" v2 X# `
  319. ; http://php.net/ignore-user-abort
      M8 V) x1 O3 ~1 U& e6 N" U9 p7 o
  320. ;ignore_user_abort = On% y3 _9 U$ o0 ~. ?

  321. ( j& C4 A. ~1 _) u  j0 [% r7 w5 N7 z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ Y+ S! Y, w" Z4 N
  323. ; be increased on systems where PHP opens many files to reflect the quantity of! V% H$ m/ `. P; F5 ^
  324. ; the file operations performed.% T6 q  m7 o7 J
  325. ; http://php.net/realpath-cache-size: q* Q* E: Q4 `+ o! Q
  326. ;realpath_cache_size = 4096k
    7 L0 d- p* b$ ^2 I: Y/ d, R

  327. 7 \5 s. D4 |( e5 j+ v: L0 i; L" ?
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    + m& F7 R& W8 Z! y1 k8 {
  329. ; file or directory. For systems with rarely changing files, consider increasing this2 `& ~4 S4 c. V6 m# S5 ^
  330. ; value.
    8 t; J) w. z9 f% x9 S( o2 ^" M$ U
  331. ; http://php.net/realpath-cache-ttl
    3 V3 h$ c3 g' O( v! u  I( \) j3 Y
  332. ;realpath_cache_ttl = 120- K2 ^  L) s( Q% k' V: J  B. s, W

  333. 0 y! |+ t! z" b
  334. ; Enables or disables the circular reference collector./ ?9 T8 @3 w% U/ V. Y. {
  335. ; http://php.net/zend.enable-gc
    2 @/ p. Z: G6 |) M# ]
  336. zend.enable_gc = On: W2 h  b/ ]( n& l& q9 }% T

  337. 6 {5 |  A" Y5 y' A! y7 S! r
  338. ; If enabled, scripts may be written in encodings that are incompatible with0 M. B6 B$ D4 F  ]! v5 s* Y, u5 ^
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ M* q2 K4 t- f0 Z- Y/ q
  340. ; encodings.  To use this feature, mbstring extension must be enabled.( I8 O. l4 B' j* L, }5 l9 h
  341. ; Default: Off2 T& z7 Y+ h& W) N
  342. ;zend.multibyte = Off
    ) a( c6 V4 O/ @+ L
  343. 2 {. t8 ], X- u6 V9 J
  344. ; Allows to set the default encoding for the scripts.  This value will be used% O, b. R' Q3 c% D$ a! ?7 ~3 B
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.1 x1 b# @0 _) _& S  b
  346. ; Only affects if zend.multibyte is set.
    , ?0 @5 e3 ]. ~9 n
  347. ; Default: ""8 v- o. p8 i: w# `* v
  348. ;zend.script_encoding =5 y+ J) A  Y0 H) b% Q7 [: r( T* A
  349. : o7 P8 o# B$ v! Q) W9 H# a
  350. ;;;;;;;;;;;;;;;;;
    7 H1 f+ U5 s6 b( q
  351. ; Miscellaneous ;+ ]: {- k( b$ y- S' t% j
  352. ;;;;;;;;;;;;;;;;;9 D& W6 z) N7 F: ^4 t

  353. 8 v- V3 w. R! L1 H: D0 w
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ! W& y# @! h+ f% w4 t+ l! ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    / ?) }& B" G! D6 X& o0 a3 E: R
  356. ; threat in any way, but it makes it possible to determine whether you use PHP4 F0 Y9 p) }, S& v  V# [$ @2 w3 L& C
  357. ; on your server or not.
    0 z1 p( L; E- f- X& M
  358. ; http://php.net/expose-php
    % X: S! k1 T1 R% W6 B2 r
  359. expose_php = On4 L1 y+ l; D$ l/ B* j

  360. ) o6 \3 N# _: `* t# O& Y5 O: P
  361. ;;;;;;;;;;;;;;;;;;;
    : K3 D& d! U+ G: S$ b) Y
  362. ; Resource Limits ;
    - a+ ]4 I+ W3 F! I/ a
  363. ;;;;;;;;;;;;;;;;;;;
    + x# B2 e' E0 b$ a# b% q4 t

  364. 1 w3 m2 h* W( ]+ I
  365. ; Maximum execution time of each script, in seconds
    : \; D+ I, Y3 Q" x" E3 g
  366. ; http://php.net/max-execution-time* t" I7 V8 E- k) E9 c! l
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI* ?# X1 R8 s5 M5 Z! N1 ?- t
  368. max_execution_time = 300
    ( u6 Z8 D2 G4 I, i- W+ k
  369. 7 L# [1 ^* x1 ?* H9 e" k
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    % {; x! U! F' |4 q! E1 m
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , Z# R4 d! x; Y' A3 x# C& I& U
  372. ; long running scripts.
    ' s% @6 A7 w) W1 K  X+ v" W4 p
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ( |5 z4 r6 w4 ~! G' ^/ Y/ o
  374. ; Default Value: -1 (Unlimited)( Q  g9 U3 m6 p* h# h
  375. ; Development Value: 60 (60 seconds)
    ; d- i& v; r9 q+ ]
  376. ; Production Value: 60 (60 seconds)6 T, l+ b5 o8 i
  377. ; http://php.net/max-input-time3 ?4 B7 e' i& n! v& a# d- P
  378. max_input_time = 60
    ! w$ T' t. M# r7 k/ N" c
  379. - g8 @1 \4 Q  L' ^$ @4 _
  380. ; Maximum input variable nesting level0 c* o! I6 I: f9 v7 [: h+ S
  381. ; http://php.net/max-input-nesting-level! A) [, \2 R  Q
  382. ;max_input_nesting_level = 64
    ( h- j+ o3 R3 r/ W8 M

  383. ' `+ `4 U, v5 {3 I3 F/ x/ G
  384. ; How many GET/POST/COOKIE input variables may be accepted
    4 V: d  B0 j) `! p
  385. ; max_input_vars = 1000' y7 U% \4 c0 U6 H; F7 `  u
  386. : ]& E9 K* M/ C% J+ m
  387. ; Maximum amount of memory a script may consume (128MB)
    ) ]! V  N' D: i! ~$ e5 H
  388. ; http://php.net/memory-limit
    8 |, A+ q" _0 d* ]
  389. memory_limit = 128M- q3 h  ]! `+ ]
  390. " k' u8 @2 N+ V4 _- {; k
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , W4 r! h8 T5 u7 \
  392. ; Error handling and logging ;* C6 d# x) Q0 F2 k0 [
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * `# Y# I3 G8 u# {. H- S+ V
  394. - V2 z/ E! z* F
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    & @4 g% x" F/ u- R" |
  396. ; it to take action for. The recommended way of setting values for this3 x' o! b5 l7 y
  397. ; directive is through the use of the error level constants and bitwise
    : x, U2 H* Y! P# i9 Y
  398. ; operators. The error level constants are below here for convenience as well as
    / n# _7 }+ J7 j6 r$ Y$ ~3 |& O
  399. ; some common settings and their meanings.
    : b+ w5 z1 B" N5 Y
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT  x7 A" S8 O0 i  v
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # ^2 {4 Z6 P5 I- C  T- @
  402. ; recommended coding standards in PHP. For performance reasons, this is the+ t. p/ L+ f; u3 z3 u3 n
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    / ?5 j0 \9 p' i0 k# i* R! z: q
  404. ; resources complaining about best practices and coding standards. That's what
    , G$ d0 h2 U( f: K) ^
  405. ; development servers and development settings are for.
    4 t& b# r' n  [! H! q3 z! e
  406. ; Note: The php.ini-development file has this setting as E_ALL. This6 N+ m$ g" k, O9 G/ R  r
  407. ; means it pretty much reports everything which is exactly what you want during* M) I( E0 s6 w8 u8 O+ S0 s7 Q
  408. ; development and early testing.* H; ^/ \( s. p
  409. ;
    8 Z0 f5 ~& M: }# c. H" E5 ?
  410. ; Error Level Constants:
    ) c- N/ y& q, W6 R1 \( J5 H
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    $ ]$ o; B( D; q6 L  a1 u1 u0 ^
  412. ; E_ERROR           - fatal run-time errors
    3 @! I' r% m+ F& y6 u6 ^3 p
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors8 @1 \( Q/ b  H" W
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    . h* V" D* r) p+ ]
  415. ; E_PARSE           - compile-time parse errors" M5 I4 I& p4 D7 R$ ]  W8 d
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    . |/ |. L4 S' r7 ~& D2 ]
  417. ;                     from a bug in your code, but it's possible that it was
    ( J; u5 h1 B* p" W* k% R
  418. ;                     intentional (e.g., using an uninitialized variable and. c% `3 J- g: {& @3 p3 g& r' V% z0 Z' t- Q
  419. ;                     relying on the fact it is automatically initialized to an/ n, h( ]9 s/ N
  420. ;                     empty string)
      k$ n9 u& T8 F( c# j' o& \% {2 g
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( |! A+ n' E# \$ J0 b! W
  422. ;                     to your code which will ensure the best interoperability
    6 D% [( K& k6 G) e3 B# g+ M. Y, u# n+ Z
  423. ;                     and forward compatibility of your code- ]7 u# z; D& h2 ]
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ G! B0 n' K* w! P1 e
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    . ?& Q, C" g* L. M
  426. ;                     initial startup
    $ i9 k3 U- g0 E" W
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    + _- B# [3 }9 `0 V) I) P  |
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)$ _+ a$ F% k( @: k/ p
  429. ; E_USER_ERROR      - user-generated error message
    ! i7 E& U) L& g
  430. ; E_USER_WARNING    - user-generated warning message" |3 i, O) ^! a4 s! U1 f
  431. ; E_USER_NOTICE     - user-generated notice message& t2 O2 n- n5 F4 n: t$ y6 |5 w
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    . M: @/ Z( f+ s1 b- T( r8 [6 ?
  433. ;                     of PHP
    " L& f- U. `0 q3 l* L7 _
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings/ e3 W! |# d- U" a8 Q2 @" O1 z+ a
  435. ;
    ( i- o+ S( k9 C
  436. ; Common Values:
      h$ G. p2 b" c5 k
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.): u0 O# B2 u! n: j
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    * T, }1 \2 P% ?( e
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    4 \3 R2 U8 |: D. q$ w, ]
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    - V. M9 S: \* d8 O. D8 u
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 g- v9 x* E" G+ X9 }* D; p7 w
  442. ; Development Value: E_ALL
    2 V5 S3 m. H  A$ _  y8 Z4 F' {
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * `4 r4 B" a& g  S6 O  u6 T
  444. ; http://php.net/error-reporting
      _- c! d; x" c$ O( H
  445. error_reporting = E_ALL & ~E_NOTICE7 X9 X- ^: P7 R. Y" W) R4 h

  446. 0 ]+ D1 A9 j+ P# J. b) I
  447. ; This directive controls whether or not and where PHP will output errors,
    ! m  k; `! U2 \4 A
  448. ; notices and warnings too. Error output is very useful during development, but
    - q& {: z# @2 i4 l5 q& u' f
  449. ; it could be very dangerous in production environments. Depending on the code6 N8 X! E, ^( y1 U/ V5 e% b* E( J( D
  450. ; which is triggering the error, sensitive information could potentially leak! t2 E  T8 y* Q  z' q) Y' q7 u, [
  451. ; out of your application such as database usernames and passwords or worse.  u8 m+ q) e- a- C0 L) [2 P! C4 t+ B
  452. ; For production environments, we recommend logging errors rather than
    8 W6 _* v2 ~2 `9 S
  453. ; sending them to STDOUT.. s( ?% w1 w5 U. y+ `. ]4 j  i* l
  454. ; Possible Values:
    3 k, o5 T: O* {5 _' M4 P7 V7 a
  455. ;   Off = Do not display any errors8 h5 P5 h- L# O0 H4 r
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    & j) o* }6 ^# g: e* y$ u
  457. ;   On or stdout = Display errors to STDOUT
    1 q+ D: S( P' `) a' k
  458. ; Default Value: On% ]8 H# E' `( }% [) x
  459. ; Development Value: On
      A1 ]2 V8 G. D, I. o- b
  460. ; Production Value: Off0 s* L! t' [; c* O) r( y( P
  461. ; http://php.net/display-errors0 {3 x, e/ f3 c- G3 w+ `9 p, {
  462. display_errors = On
    . S* h1 k( g7 W: Z# K, y! v

  463. ) \# S9 \' T' e- q
  464. ; The display of errors which occur during PHP's startup sequence are handled5 G7 W7 R% [0 s/ g7 E
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    - F$ G/ y0 i* B5 a- U2 R. b
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    + E) T4 h% @/ y  X3 u: T- Y3 ]
  467. ; debugging configuration problems. We strongly recommend you
    / W3 q1 Y, H7 Y3 C$ u+ Y
  468. ; set this to 'off' for production servers.
    5 L/ G: u. d# p% z( D! _
  469. ; Default Value: Off" k/ x2 R# T( E9 S: ]
  470. ; Development Value: On
    6 A5 N2 E% M* ~; e' s. Y
  471. ; Production Value: Off' b* O8 l# r2 t9 N" m
  472. ; http://php.net/display-startup-errors
    8 p* W7 ~" L6 H( Q' o5 ^
  473. display_startup_errors = Off! x, |; q1 T( t
  474. " h( L  {! U% I; i- b0 m7 a0 T7 M
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    3 u! V  G1 [7 c: B8 Z7 a* g/ E, ?
  476. ; server-specific log, STDERR, or a location specified by the error_log
    9 U7 o/ A9 W$ r  c& O
  477. ; directive found below. While errors should not be displayed on productions
    + \# P% J( V: q! I6 ]2 ~
  478. ; servers they should still be monitored and logging is a great way to do that." e4 m! b: Y% q1 J5 p
  479. ; Default Value: Off
    # ]1 ?; w. ~, e, |+ a+ ]
  480. ; Development Value: On3 f( B" m$ L( p: Z
  481. ; Production Value: On2 ^$ M* R9 a) _' d
  482. ; http://php.net/log-errors  A4 G2 w9 r# i3 t; L
  483. log_errors = On
    : {6 ~1 _/ z! N% F

  484. + r; b3 F% B8 z6 y
  485. ; Set maximum length of log_errors. In error_log information about the source is2 v# H* ^- C% D
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , v3 i' A4 M& X8 @7 w( g' _
  487. ; http://php.net/log-errors-max-len, i( a: Q) X7 T( Q, C
  488. log_errors_max_len = 1024
    - h$ u, r4 r8 J/ I; d# ^
  489. . {& q" P$ n# F* |
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same9 \  |* g- s8 C
  491. ; line unless ignore_repeated_source is set true.
    0 U! f6 K0 D) V
  492. ; http://php.net/ignore-repeated-errors
    * P  H1 o, [/ k  s9 k' P
  493. ignore_repeated_errors = Off
    % Y8 E6 h! l+ Y  ]3 E7 H$ a: z; R

  494. ( P4 }5 Z% z, K% t7 u( X) p: K
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    / X+ Z3 t; s# G/ B
  496. ; is On you will not log errors with repeated messages from different files or- u; B) L% A- L1 B* t" v" J  b
  497. ; source lines." i6 g4 l" _. w, L  d9 Q
  498. ; http://php.net/ignore-repeated-source2 B, B7 _2 [3 f
  499. ignore_repeated_source = Off
    ! P* g" T+ k6 k5 v4 U

  500. - w8 j' k$ I# |- A
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    1 C* E' A  X) g7 J
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    + I7 m4 ?- h' y6 u# s
  503. ; error reporting includes E_WARNING in the allowed list
    2 z. g" t) O3 H  K! A+ o
  504. ; http://php.net/report-memleaks
    ! ~1 l! B$ w% O  _& K3 P1 a
  505. report_memleaks = On
    . m: a) p  L) }$ ]& N7 z! p. `
  506. $ q$ S- A- m, w
  507. ; This setting is on by default.
    + W: l6 D9 \+ \% g- X4 R: o
  508. ;report_zend_debug = 0
    # o# y& W' M4 G+ f

  509. : G7 F: s+ W5 K+ r7 w# F6 d& j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value7 Y: _' s1 k2 B  ]! t0 m& L! T
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    7 f4 I" S4 W6 J0 k1 r2 ?, @
  512. ; however be disabled on production servers.
    6 l) M/ ]9 G# h/ v/ D8 P
  513. ; Default Value: Off3 Y( I2 `# y6 m" Y" V
  514. ; Development Value: On
    " s$ A7 J2 o7 ]1 Q8 @
  515. ; Production Value: Off
    8 T  O! G' Y7 S( j* i! h9 c0 J5 L6 m5 `
  516. ; http://php.net/track-errors# P* o( l1 Q1 k/ \; P$ I. F
  517. track_errors = Off8 `5 }2 \0 E: ]6 P4 v% G
  518. ! {* Y; p2 f/ m$ j, ^9 l% \
  519. ; Turn off normal error reporting and emit XML-RPC error XML9 J+ l" b7 v# {' z. @
  520. ; http://php.net/xmlrpc-errors7 w+ w6 E2 W( C3 l! Y8 i
  521. ;xmlrpc_errors = 00 n8 I% L4 a" r3 ^5 K8 a, l3 h
  522. 4 w) r9 ?% K4 Q7 c, b
  523. ; An XML-RPC faultCode
    ) B5 i! `  [+ m8 @! a
  524. ;xmlrpc_error_number = 0# h& U% U% F- d. G8 l' y

  525. * u' U$ n# N4 F" g+ W) N* Y
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    : G% {  b, D, f3 @
  527. ; error message as HTML for easier reading. This directive controls whether
    0 |6 V9 m  y2 b, ^9 }
  528. ; the error message is formatted as HTML or not./ j; e6 I+ D3 E, e' O
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI3 Q9 N( y  _3 T& o3 w( m5 j: |
  530. ; Default Value: On* d) W" R; N! ~! t5 l7 ?
  531. ; Development Value: On7 ~# l, ^1 |; W. {& U2 q
  532. ; Production value: On
    $ n* q, `! N# @+ A+ f
  533. ; http://php.net/html-errors
    % ?( q" d3 Z1 Q. {4 K. q
  534. html_errors = On* A0 x* N4 n( y# c
  535. : m6 U7 b# ?, e  \3 \$ d
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    0 E. l! d/ ~" n' s: e
  537. ; produces clickable error messages that direct to a page describing the error0 v: p* T0 y. w. }: M
  538. ; or function causing the error in detail.
    ; x8 x0 t# }- k* V, o. T7 {
  539. ; You can download a copy of the PHP manual from http://php.net/docs2 d2 D/ _8 |: m9 `
  540. ; and change docref_root to the base URL of your local copy including the
    1 _8 R9 `3 c% l3 i, g
  541. ; leading '/'. You must also specify the file extension being used including
    3 P/ a" [) \" E$ H# [
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ' R- d7 d2 f5 C8 @: c, C* c
  543. ; case no links to documentation are generated.
    ! [3 P$ v% O1 \# D
  544. ; Note: Never use this feature for production boxes.
    + y  w/ O& _) Z# t* f+ p
  545. ; http://php.net/docref-root9 }8 U% \& r" z8 V
  546. ; Examples
    . |9 [7 Q* [- V9 g
  547. ;docref_root = "/phpmanual/"
    8 V7 W: D0 I1 I& t& N& [
  548.   g) a5 }5 T% z! ^+ |
  549. ; http://php.net/docref-ext
    + ]9 ~! B* }$ W* b- P$ T8 C
  550. ;docref_ext = .html
      n6 }+ n' N  v  m. V* D' L
  551. " P2 f4 l) `+ u* b
  552. ; String to output before an error message. PHP's default behavior is to leave; g( p$ G+ A/ |  Y
  553. ; this setting blank.' D. a7 x8 k3 M/ N8 V
  554. ; http://php.net/error-prepend-string
    * M1 V' b& f7 G3 y% F1 l8 q, R; p
  555. ; Example:# c7 P* U3 [6 `( l) M
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    2 O8 ?) ~' m& T& I' V& A/ D* r( w7 y

  557. * A9 x& T4 y8 y: G2 M
  558. ; String to output after an error message. PHP's default behavior is to leave1 V( _/ i! A3 f2 A
  559. ; this setting blank.
    8 J; b6 z. u% e! E2 ]  s; d) J7 X& q( \
  560. ; http://php.net/error-append-string
      r' R  S  N% C0 P/ E( f7 |
  561. ; Example:
    ! C8 l4 Q0 X4 u- k5 \! a0 d
  562. ;error_append_string = "</span>"
    . K' P& a" _8 j. Z( J( T
  563. " c* R; ^! U5 L% m; m
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ; _) \' B* ^+ S
  565. ; empty.+ Z! X( G0 l) v7 e# V( G; G
  566. ; http://php.net/error-log& I9 n" Z7 ?$ C" b' U
  567. ; Example:' {+ I! _6 u# N, [3 \
  568. ;error_log = php_errors.log( r" g7 \) y9 Q4 o3 ]
  569. ; Log errors to syslog (Event Log on Windows).
    8 V0 s: ~8 }. c6 O1 b+ T
  570. ;error_log = syslog
    4 @9 d: @( s, d. J- a+ K

  571. # T! h8 b+ f7 E) l6 R
  572. ;windows.show_crt_warning6 `" ^/ N2 F/ d  F: j
  573. ; Default value: 08 g" J' z. D9 K' C
  574. ; Development value: 01 H& }$ V1 b( W: Y: J/ P
  575. ; Production value: 0
    ; @  L' ], a: F' d7 X

  576. & A: R; q* q" }2 F% w
  577. ;;;;;;;;;;;;;;;;;. l, [* w/ R0 y4 D3 e3 e
  578. ; Data Handling ;
    " A  V# b! k; \0 ]2 P
  579. ;;;;;;;;;;;;;;;;;
    # }- j) p# a2 m

  580. & b2 [* z* D* \& o/ _" p
  581. ; The separator used in PHP generated URLs to separate arguments.9 M3 V1 b! ]( U2 @
  582. ; PHP's default setting is "&".
    $ G0 c" O/ x& ~: D
  583. ; http://php.net/arg-separator.output
    ) x8 |/ C$ f: q, O4 F
  584. ; Example:0 Z2 B1 N, C% m! r! f6 W( C
  585. ;arg_separator.output = "&"2 U+ X  s" e: c. _& r" x3 N; a

  586. $ @: f/ _, d+ z! a; [, F9 [6 M
  587. ; List of separator(s) used by PHP to parse input URLs into variables.0 f8 e  Y! T7 R& j4 A( `" `+ u
  588. ; PHP's default setting is "&".
    3 o, p1 Q  x& \
  589. ; NOTE: Every character in this directive is considered as separator!
    # Y7 o- g' V" v; M3 ?4 d  @4 l
  590. ; http://php.net/arg-separator.input" g, O8 c+ q2 J, g; Q% m
  591. ; Example:
      Z4 d9 A6 Y  A, \9 l0 q
  592. ;arg_separator.input = ";&"1 v, ?, J4 M4 f/ y
  593. 0 T3 g; X: t  g3 k( u
  594. ; This directive determines which super global arrays are registered when PHP
    8 I3 C  _! j1 |6 z! X
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super' Z8 @  q) `' ~! ?" q. O0 c
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ; L1 c. T) D0 U4 k- }; a7 ?
  597. ; paid for the registration of these arrays and because ENV is not as commonly/ K6 o5 Z* H, E$ g! Y
  598. ; used as the others, ENV is not recommended on productions servers. You
    # x/ b' {. H9 h* W
  599. ; can still get access to the environment variables through getenv() should you5 z; U. ?+ e0 z. P
  600. ; need to.
    % e& v2 F% B3 U* s1 G0 g8 X  ]# ~
  601. ; Default Value: "EGPCS"7 ]3 b* A$ d$ t9 |  E+ M
  602. ; Development Value: "GPCS"
    / G0 i! l) N/ P# U1 s
  603. ; Production Value: "GPCS";
    1 o7 y. X4 K& H# _6 O6 c) p
  604. ; http://php.net/variables-order
    / `( ~9 j7 `" M- O
  605. variables_order = "GPCS"4 [$ y2 m; j, R0 y3 \$ c2 @

  606. 6 n' c4 u* u6 U$ s2 U7 {  r
  607. ; This directive determines which super global data (G,P & C) should be
      h! j9 y' n" U3 D
  608. ; registered into the super global array REQUEST. If so, it also determines7 e# B1 `% O. @( x
  609. ; the order in which that data is registered. The values for this directive
    " m& f0 S7 K4 R% G' B
  610. ; are specified in the same manner as the variables_order directive,* B  r) m" C" ?, Z4 @, B
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    - ^& b# W! p5 Z5 V6 d' ^: y
  612. ; in the variables_order directive. It does not mean it will leave the super% h9 B  x  E+ y/ ~
  613. ; globals array REQUEST empty.! k' ?, B. `/ L8 t" F! R- j4 y8 ?
  614. ; Default Value: None* w/ v; g+ k8 z
  615. ; Development Value: "GP"
    : o# ^" A6 S: v4 y3 z
  616. ; Production Value: "GP"# O' q( o; d) h
  617. ; http://php.net/request-order
    $ f5 J8 o3 i1 z3 {0 f9 S
  618. request_order = "GP"4 j' i7 V/ F* k+ C
  619. 9 Q$ N* \  j) M8 q
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    # z& w7 X; X7 E+ x2 K; k4 L
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script5 b; e& z0 G) n) d1 s6 a
  622. ; is invoked. $argc contains an integer representing the number of arguments! X- B1 D7 V8 l7 I- |' W2 j$ D
  623. ; that were passed when the script was invoked. These arrays are extremely
    ( L* s6 C; v$ K
  624. ; useful when running scripts from the command line. When this directive is
    4 `- e1 C3 p( b1 w1 p
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 p8 A9 |* ]9 L3 g' `. f3 u
  626. ; a script is executed. For performance reasons, this feature should be disabled% ^, R4 G7 d0 w
  627. ; on production servers.
    / i2 g2 v8 |( M4 Q
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    . W% J, r9 u) q" J
  629. ; Default Value: On8 R9 m; c1 S6 o6 A2 L, q
  630. ; Development Value: Off( p- `; P% H: ^1 `. e4 G
  631. ; Production Value: Off: N( ?9 D  J; d$ Q0 y
  632. ; http://php.net/register-argc-argv
    6 M' Z* c6 q5 `1 o
  633. register_argc_argv = Off
    6 y0 D/ m  s+ S. D2 W, v

  634. 8 E% y. I2 L" P' C& d: i( \6 }& N
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're2 q) }' c$ L) s% ]  C
  636. ; first used (Just In Time) instead of when the script starts. If these0 x  j$ m9 N5 f  R- h" B5 a
  637. ; variables are not used within a script, having this directive on will result
    ; E' J& i7 }! i
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled% l4 D7 ~" ?( o
  639. ; for this directive to have any affect.
    8 a6 k' f# n7 b" U7 [
  640. ; http://php.net/auto-globals-jit; X% y9 S5 m( {* p' S1 F, w$ S
  641. auto_globals_jit = On& H$ }+ `% F9 W3 u& ~1 b

  642. : [+ A) q1 T; G3 r. s- m5 `; ^
  643. ; Whether PHP will read the POST data.
    % N$ |; @" T! G
  644. ; This option is enabled by default.5 G- r( F3 T8 E* B8 K! y
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST$ P3 j' N; k1 B9 U
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    3 a( V* E# q5 N* |/ m7 R/ M& h
  647. ; POST data will be through the php://input stream wrapper. This can be useful$ u4 _; z* `3 K/ t4 o" @4 }8 q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.( z" [: [: y* h& s
  649. ; http://php.net/enable-post-data-reading
      @5 l7 Q, X% y, `$ }7 n. E
  650. ;enable_post_data_reading = Off
    . A2 A/ w; @9 X- ~& N5 U. r9 M& n
  651. 9 a# V; z2 W) L7 a- R# G
  652. ; Maximum size of POST data that PHP will accept.. Y  n. e; c( ~7 W( @9 h
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading4 l% X; v; y& l: ~( h
  654. ; is disabled through enable_post_data_reading.  j. W4 C) m3 T/ K2 H1 A
  655. ; http://php.net/post-max-size
      T  y6 m8 i% y. R' s, M& A3 B- j/ G
  656. post_max_size = 50M% N0 y9 `9 f$ ~6 R$ f4 h% Z7 n

  657. " }1 y1 |( G* m  C
  658. ; Automatically add files before PHP document.
    ( ^9 w  ]! {& u8 z: ]: ^
  659. ; http://php.net/auto-prepend-file
    + d  Z- X* U; [" S
  660. auto_prepend_file =
    + G0 O* S# Z, c
  661. 3 H3 }" Q8 j1 o( Q% Z9 g4 A, z
  662. ; Automatically add files after PHP document.
    + F1 m- H) N) F
  663. ; http://php.net/auto-append-file4 i" m6 I! Z8 t$ O' v2 A
  664. auto_append_file =6 r! N. {4 u/ L. h

  665. 5 z; T5 z  A% W- x9 y* K
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ; K! z( C1 N. x( v+ l7 O7 O& O1 B2 R
  667. ; disable this, simply set it to be empty.
    ; B9 w; w6 Z$ V" ~8 F
  668. ;
    $ K; o  ]0 T6 _2 i. [
  669. ; PHP's built-in default media type is set to text/html.3 A& E- A0 w: P8 K% k7 _8 N
  670. ; http://php.net/default-mimetype
    % C& c5 K. U1 g6 r  G# i5 X
  671. default_mimetype = "text/html"
    / _0 U9 A. V5 n6 c5 S9 M
  672. 9 E# k+ U  E3 |$ n
  673. ; PHP's default character set is set to UTF-8.6 L- V$ G/ Y/ ^" A
  674. ; http://php.net/default-charset! ^1 T7 b% @6 e* a' [! U
  675. default_charset = "UTF-8"/ N' o' h/ ^8 I4 I5 X4 U8 Q% ?

  676. + T8 Q" j4 O2 c1 W8 p6 ?
  677. ; PHP internal character encoding is set to empty.3 j& P2 d& O  N1 Y
  678. ; If empty, default_charset is used.
    8 r  Z( k6 ^; P
  679. ; http://php.net/internal-encoding! L" B% N! g7 g) z6 ]& b9 Z8 {
  680. ;internal_encoding =
    & z. w- D: b' B; H" b& O2 ^

  681. / a, n  `$ V8 N' t8 ?& e
  682. ; PHP input character encoding is set to empty.
    5 {0 {. ?' J5 r# M" h0 P& t8 z2 Q6 C9 G
  683. ; If empty, default_charset is used.* v5 |" T7 ^4 Y
  684. ; http://php.net/input-encoding* _( y. ]( X! w$ u# a" ~
  685. ;input_encoding =: D7 t& `  ]# X2 I) H4 J

  686. ; @. [# x! o" V2 q& g! h* t7 Q# Z
  687. ; PHP output character encoding is set to empty.. p# D2 Z: ?) y8 M1 p
  688. ; If empty, default_charset is used.
    $ w+ h6 @* L' a; b0 c; ]
  689. ; See also output_buffer.7 K5 G. m6 |* w& I8 V9 G- V
  690. ; http://php.net/output-encoding
    $ {" i; `2 K4 Y* @! m9 g" }
  691. ;output_encoding =; p: o- d3 j, T$ o

  692. 7 K% ]$ c! G0 V. r5 t2 H
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;) O# ?$ E6 C6 v. z7 C/ K" ]
  694. ; Paths and Directories ;$ n5 a. f) ]) E% ]* q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & A( N# P7 A; _  r) V

  696. 5 {' P3 M* G4 C6 _
  697. ; UNIX: "/path1:/path2"5 ], _0 e6 c7 N% J" t7 ~
  698. ;include_path = ".:/php/includes"
    ' N& r# Y& U1 o$ I
  699. ;; _& j# l; \, m. W: w5 f
  700. ; Windows: "\path1;\path2"
    3 O; |& z+ a/ Z% h; S& c8 B; I
  701. ;include_path = ".;c:\php\includes"
    6 D2 m4 ?8 E& M9 A
  702. ;
    - b" c. x+ Y, Y0 `+ X( y9 X7 {
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    " H0 `/ @, }, I5 x7 T' r  `
  704. ; http://php.net/include-path# a$ B  @- e9 w0 X0 ?6 m# `5 ]0 b, l

  705. / H6 J$ z% i, }' z0 H
  706. ; The root of the PHP pages, used only if nonempty.
    6 m( ~3 F1 P3 d
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root* X+ }9 I) h. k$ P0 u6 O0 u& T
  708. ; if you are running php as a CGI under any web server (other than IIS)
    7 n+ B. r$ e4 J! a, _0 G3 l( R* V
  709. ; see documentation for security issues.  The alternate is to use the7 }! u- o' g! i' _- P9 i* b$ [4 N4 ?
  710. ; cgi.force_redirect configuration below
    4 f3 N1 F( m) |$ j: w
  711. ; http://php.net/doc-root
    & W/ X/ V0 R# \- ^1 [0 C
  712. doc_root =
    # s  I1 @* l+ K' m. W3 d

  713. & q5 S' N. L$ w+ b6 \+ L
  714. ; The directory under which PHP opens the script using /~username used only2 b0 @2 C3 u$ H( F
  715. ; if nonempty.5 Z) g& M. f+ y( n" u
  716. ; http://php.net/user-dir) k6 V; i1 s- Z0 }
  717. user_dir =% V3 f9 O0 r5 u: o% Z2 Y* A

  718. , A+ @7 h0 t% Z
  719. ; Directory in which the loadable extensions (modules) reside.( o8 i& r4 U5 O" g, v
  720. ; http://php.net/extension-dir
    8 \0 m) ~2 \& e$ r. ~* ^) g$ K* m7 z
  721. ; extension_dir = "./"
    ; N# N- W0 u  c. w
  722. ; On windows:
    7 T- l, F+ M; d# u
  723. ; extension_dir = "ext"" k& K2 M. h9 z8 j* |5 Y  s
  724. ( m8 B  e9 w$ |2 \) f, J) d" t
  725. ; Directory where the temporary files should be placed.
    8 v' U& \3 n4 ^, C/ s" d
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ! x; `( o& B* O8 f4 G8 }/ [
  727. ; sys_temp_dir = "/tmp"
    " i' S( i/ k1 y% u8 z

  728. $ e1 w: y# `1 U; }) X
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work! b1 B+ d# d9 u2 p7 ]2 \! ~4 d
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    # t5 C0 S; v) G6 g8 q( n! t3 O; c
  731. ; disabled on them.3 _6 v8 l; {# I6 i) n
  732. ; http://php.net/enable-dl0 b7 q# t/ Q0 B" q# j
  733. enable_dl = Off
    " A5 r* I# G' w# ~% z* V4 C; Z0 B( g

  734. 2 P! m% h9 K/ l: p: E2 z
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    0 z9 U/ Q- U7 P9 m- v2 O2 g! \3 a! L
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! `( H1 d: X, [' c
  737. ; turn it off here AT YOUR OWN RISK
    * w4 \, I0 b# \, V) a
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**9 G! ~- A6 j! t
  739. ; http://php.net/cgi.force-redirect
    ( t9 m# x. G2 P. Q/ j
  740. ;cgi.force_redirect = 19 v2 q4 ?. U5 j6 R. s

  741. - @. u1 y. Y) i7 Q' v' z
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with$ J: R/ l# ]) ^
  743. ; every request. PHP's default behavior is to disable this feature.# d! O( P; X" g# Q# a
  744. ;cgi.nph = 1
    & s5 g- a+ u# z7 e: P3 G5 ~" r

  745. 4 @' x$ J* x$ ?9 I
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& p8 h& |' R3 w' a
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    7 X, Q5 C" S6 H2 i
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY( I4 l$ \9 R& O0 j8 \) T0 M& Z3 [
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! ?! W# ^$ V% a+ F" y
  750. ; http://php.net/cgi.redirect-status-env# Y- S0 |- m* a1 D
  751. ;cgi.redirect_status_env =
    ) n1 o/ ]- x" z& H$ E( ~) J8 f) _8 @
  752. 9 ]" g' p+ B4 W( S- X: z% I
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ' T9 }9 r& K) C2 ?0 a, L
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok) }- y7 v2 m( K: ^4 t0 j
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ! k5 T* f, G. ^; b, D4 W
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 k7 k; o' v7 o0 F. j: b1 E
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts. x" x5 X% K( m% O
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.3 k9 B7 `( ?$ V# t7 d
  759. ; http://php.net/cgi.fix-pathinfo( N0 p1 j5 y9 `* i4 H! z& j
  760. cgi.fix_pathinfo=1
    5 V; _! p4 g. }1 O: j0 X8 c. {

  761. $ a. ~1 p; `7 C" h: N
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside# e" L  l! O4 {+ r1 a5 w
  763. ; of the web tree and people will not be able to circumvent .htaccess security.) R# _& @# R, u3 O' z. S+ ]
  764. ; http://php.net/cgi.dicard-path
    ) G) s% }( l+ O! N+ f
  765. ;cgi.discard_path=14 @* X/ \9 T8 a: U( Z- A; e* T, f

  766. * u5 Y) k4 V4 h% P/ s1 O% F# X
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - |& l( f! Z6 P; F0 D2 X
  768. ; security tokens of the calling client.  This allows IIS to define the
    2 z) x" E" G, V9 k2 b, E6 w3 Y
  769. ; security context that the request runs under.  mod_fastcgi under Apache0 Y  r9 y( u+ C, j2 B. e- }5 T
  770. ; does not currently support this feature (03/17/2002)# v6 c7 ^. h6 f$ E5 R# F& v
  771. ; Set to 1 if running under IIS.  Default is zero.
    : s6 i% Z8 J! l& u
  772. ; http://php.net/fastcgi.impersonate
    - D1 v; a& g" s7 u, Z
  773. ;fastcgi.impersonate = 1
    . }# u% e6 I/ J" d' A

  774. + C4 Z0 B/ T; }# }
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable4 ^. M" Q( I' K
  776. ; this feature.( J/ x, N* X, |
  777. ;fastcgi.logging = 0
    3 Q+ M; p" p5 n

  778. 4 \+ Y8 p5 H6 ~# O$ A
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 d2 d6 ~1 k( ^* L; l0 |
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    # S! U+ m+ q, W/ n: h- j" r
  781. ; is supported by Apache. When this option is set to 1, PHP will send; R% c4 t5 d5 S4 M: B( b& W
  782. ; RFC2616 compliant header.: x  p7 K9 @' |8 o
  783. ; Default is zero.* E: g, |) R3 p6 ]* [2 o
  784. ; http://php.net/cgi.rfc2616-headers
    , ?/ u( _& v8 @/ n! @4 V
  785. ;cgi.rfc2616_headers = 06 v, |# V! Z  m0 R

  786. 0 b( ^: o+ q1 I( f) }. N" w
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, P. E0 T5 }9 B# m* ^" ?+ ?
  788. ; (shebang) at the top of the running script. This line might be needed if the; [, w/ c% j4 U& B+ ~: Z! L6 p
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    3 ?3 F: Z" j, c+ ^
  790. ; mode skips this line and ignores its content if this directive is turned on./ Z6 m$ @( `' p  U( p" I
  791. ; http://php.net/cgi.check-shebang-line
    5 R6 ^$ F/ W7 N* n1 @* v! h
  792. ;cgi.check_shebang_line=1
    ; E, o/ I1 }5 f5 M: |4 ]0 Z

  793. % H2 y. j# b( [' ~2 d3 s7 d/ i
  794. ;;;;;;;;;;;;;;;;
    # O9 X# s. u0 o& Y$ \6 H# t
  795. ; File Uploads ;3 T  v. x8 A# ^  @% b; w
  796. ;;;;;;;;;;;;;;;;, T0 D5 {, [+ Z0 m1 Z) E

  797. - q9 }4 u& w. L. _5 Z3 ]2 f
  798. ; Whether to allow HTTP file uploads.2 D  j6 {& G* S5 A" Q
  799. ; http://php.net/file-uploads" H" w; r- N, @* u( }5 f
  800. file_uploads = On
    8 l) Q" F) c5 ~+ q3 Q

  801. 9 t' h- I) }- l; \
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    : _; G& \; ^5 m3 v4 C& B; ~4 A  x
  803. ; specified).0 C7 v: @/ L& r' T: g
  804. ; http://php.net/upload-tmp-dir9 h& o" b# P+ G
  805. ;upload_tmp_dir =, {6 w1 c9 ]5 k( D. }0 o

  806. & g, U! q7 @# E( n+ ?5 a
  807. ; Maximum allowed size for uploaded files.- M6 V5 g$ d' }
  808. ; http://php.net/upload-max-filesize. ~# D4 s( x* Z5 R. f2 e/ j, P9 X
  809. upload_max_filesize = 50M) l, H  t4 a& I  s( y. V: J: z8 g

  810. & y2 d- c+ z8 G- j* q+ E: z  Z
  811. ; Maximum number of files that can be uploaded via a single request, a1 }8 u/ U3 v+ @9 I, i
  812. max_file_uploads = 20
    ) E( r- {# _* B8 d' K8 z

  813. 6 _: F8 ^" X3 w
  814. ;;;;;;;;;;;;;;;;;;; Y9 a! @% _6 f, \$ [7 b
  815. ; Fopen wrappers ;% ~! o1 n( g! V2 ]
  816. ;;;;;;;;;;;;;;;;;;
    - j2 }% C- _1 n2 p  ~+ `3 [4 K

  817. / T. |) {% H) t6 c$ p: B2 Z
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    7 `* N# v1 X" t* E, M& B
  819. ; http://php.net/allow-url-fopen- O, s/ D% Z/ I+ R" }/ x$ S$ h
  820. allow_url_fopen = On) m: U, M; f6 }6 m. h

  821. 1 u6 B" d. y; s+ }5 O
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.* @4 s! D7 R% N' k
  823. ; http://php.net/allow-url-include
    1 T6 g6 O- k: G  O) u% ~
  824. allow_url_include = Off
    & z2 E/ m3 q/ F+ C2 n: ?9 S( `( G4 d

  825. & A6 `. i" a3 b1 _) F& b. w9 h; R
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ; Z* Y' i  |! @- _- L- D+ K' \
  827. ; for this is empty.- I5 g: I7 O) t
  828. ; http://php.net/from
    ; I# Q& o7 e3 U" |* U
  829. ;from="john@doe.com"
    + R" m& E4 d$ e, ~# Q% I
  830. / ?0 R5 {* P1 ]
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    % d% g% ?' {6 t3 B* i3 V1 e
  832. ; http://php.net/user-agent7 p5 i  K0 q0 ~+ e
  833. ;user_agent="PHP"
    . _5 u5 v6 j6 l

  834. ) y9 l: E! i( i$ F
  835. ; Default timeout for socket based streams (seconds)9 w) L9 a0 g& g9 g& D! G) _& C
  836. ; http://php.net/default-socket-timeout
    ( w  p8 ?/ s& e
  837. default_socket_timeout = 60
    & n6 r8 y& J4 K6 C" K
  838. & t2 E, |% u: ?' Y/ j; e, H
  839. ; If your scripts have to deal with files from Macintosh systems,( h) F. e" s: t9 {% x$ S
  840. ; or you are running on a Mac and need to deal with files from! P1 S7 @; P0 j& n0 ~
  841. ; unix or win32 systems, setting this flag will cause PHP to
    9 ]: d# Q" n& O* [& q% Y% y
  842. ; automatically detect the EOL character in those files so that7 k  s& C( A2 x$ l8 f$ a
  843. ; fgets() and file() will work regardless of the source of the file.
    1 S5 z: u6 W5 N2 `
  844. ; http://php.net/auto-detect-line-endings
    8 N: C& ]& e1 c- w
  845. ;auto_detect_line_endings = Off
    # _' H- v% [% I, Q  S1 [1 r2 g$ O
  846. ! d% u0 G9 B! v( \
  847. ;;;;;;;;;;;;;;;;;;;;;;( w/ T! i8 U$ V) h% K
  848. ; Dynamic Extensions ;
    - h1 U( ]5 m5 o8 o. b
  849. ;;;;;;;;;;;;;;;;;;;;;;4 v& @4 z% F0 l. w
  850. : j: \) O8 x$ P* ^5 x# K/ i2 L
  851. ; If you wish to have an extension loaded automatically, use the following' B# J" p: N0 F$ w
  852. ; syntax:
    7 _+ I0 ?8 z4 o7 v- t! Z# ?
  853. ;5 x/ ~" C' F. p  a3 _6 h
  854. ;   extension=modulename.extension
    0 R* Y6 ^2 u* ~( G
  855. ;
    ; v7 _8 _% X6 d& _, y& g
  856. ; For example, on Windows:6 E. f. ]# g. \4 t! ]4 o- T5 L' j
  857. ;% h0 I* L: I, K
  858. ;   extension=msql.dll! B6 o8 Y: V$ M* w
  859. ;% ]% }  |0 A7 i: ~
  860. ; ... or under UNIX:
    7 a1 r) I4 h! o1 g
  861. ;
    ) X% ?% d, A8 `7 @8 I- a
  862. ;   extension=msql.so& W; x+ i; v2 J5 t& U+ O6 d
  863. ;& x; [8 \- `" b5 r. s
  864. ; ... or with a path:6 s5 W8 ?5 X0 H: \9 p+ B3 H
  865. ;
    : Z2 v$ g" s: f
  866. ;   extension=/path/to/extension/msql.so
    $ T! c* d4 d6 X8 B  O7 V
  867. ;
    - o9 J/ h+ K, W. P: P
  868. ; If you only provide the name of the extension, PHP will look for it in its; k2 @+ C3 h/ D) g# o7 U
  869. ; default extension directory.
    / P5 N: P/ ~% q3 ^
  870. ;
    2 \- j0 ~5 J2 r  H  D1 B& v4 l
  871. ; Windows Extensions' N( U$ D% E( m3 x; _( d! v
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ! g  R/ S+ z' K6 G
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    5 g' Z9 U7 b( Y& R/ J
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).2 j4 }1 j9 z5 X! m  z
  875. ; Be sure to appropriately set the extension_dir directive.
    7 r4 D% \* @5 a/ c
  876. ;
    9 y$ t- @, N4 T$ b& J( Y3 o
  877. ;extension=php_bz2.dll5 I. o# S0 F5 ^: S, Z! r0 @) V' j
  878. ;extension=php_curl.dll2 q$ t/ E- V& A1 h4 a0 y
  879. ;extension=php_fileinfo.dll/ S, ~# k6 T. U$ B3 w- T4 G3 y9 r
  880. ;extension=php_ftp.dll
    ' p# x& V4 g4 Z  M* f" m4 l9 v$ U
  881. ;extension=php_gd2.dll
    $ {4 C! K  y2 n4 M* g
  882. ;extension=php_gettext.dll- b& Z6 g' y: d7 N  Q
  883. ;extension=php_gmp.dll' v$ f( r( s& @6 K
  884. ;extension=php_intl.dll, {; t; k3 e2 ^) d/ X; _2 o- `' f) O
  885. ;extension=php_imap.dll
    * k5 ^, N& _6 }
  886. ;extension=php_interbase.dll
    + Y2 r" Y4 ^5 [2 Z1 Q: Q
  887. ;extension=php_ldap.dll* w- {' C5 ?4 C- {  d: k2 S
  888. ;extension=php_mbstring.dll
    # D( S+ `; q5 `
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) Y/ \6 W6 {. p0 ~
  890. ;extension=php_mysqli.dll/ b+ c! b/ E; n( }4 ^
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    5 u; W; N# e; [
  892. ;extension=php_openssl.dll
    0 A$ o# i3 h; q* c
  893. ;extension=php_pdo_firebird.dll
    ; u+ {  \9 l/ }, g8 `0 s: A
  894. ;extension=php_pdo_mysql.dll
    # {# {8 [6 U6 o' K- O3 E9 J
  895. ;extension=php_pdo_oci.dll1 u, I& f  U) X' ]
  896. ;extension=php_pdo_odbc.dll. Z& P8 `; s3 ~6 ?7 s: H
  897. ;extension=php_pdo_pgsql.dll1 z' q3 o  e( d- I0 c
  898. ;extension=php_pdo_sqlite.dll
    6 R: C1 R4 I( M! }9 m: B  G
  899. ;extension=php_pgsql.dll0 B5 q: o- [6 W4 Y2 W+ H) ]
  900. ;extension=php_shmop.dll5 C8 t7 \( x# }$ {
  901. ) N8 [5 x1 R% ~7 a' i# _
  902. ; The MIBS data available in the PHP distribution must be installed.
    3 r. z% D( P6 H: s4 g
  903. ; See http://www.php.net/manual/en/snmp.installation.php" \+ L; n! Q* x7 K, p
  904. ;extension=php_snmp.dll
    , b& X, X# `+ V9 h7 @5 }3 s9 z
  905. # T+ Q- q7 l$ a" s9 r7 l. _. l
  906. ;extension=php_soap.dll
    3 S* U- Z+ x% Y3 p0 B. `' k. x
  907. ;extension=php_sockets.dll) N0 B* o9 q; g6 R
  908. ;extension=php_sqlite3.dll
    % i! f3 o0 P3 B% [( _
  909. ;extension=php_tidy.dll4 j% M' s# H1 _
  910. ;extension=php_xmlrpc.dll
    5 x& o: `; w' g! {+ \( u
  911. ;extension=php_xsl.dll& @0 O: v( C( J' U- Y1 n: `
  912. ' P* |& n9 [$ K, q+ L! y
  913. ;;;;;;;;;;;;;;;;;;;8 a8 i- p  \# ]; P
  914. ; Module Settings ;; a8 D2 E. d3 O
  915. ;;;;;;;;;;;;;;;;;;;: Z( U( O$ s( o0 h8 Q
  916. # q% F3 r7 O$ D5 v
  917. [CLI Server]
      {0 }- ?% v7 M+ k+ z% d
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 n6 g  U$ u  _1 u6 |7 o: }. S) x
  919. cli_server.color = On
    3 Z) v7 f, Q- K# |. n
  920. 1 z1 O  [& [' x+ m+ P$ x
  921. [Date]
    # q7 ~/ P; ^0 y: v
  922. ; Defines the default timezone used by the date functions
    ; V8 P2 s. q" n# S$ A1 m# C' \
  923. ; http://php.net/date.timezone
    ' ~! |# k% j$ t- k) w1 g) e
  924. date.timezone = PRC
    3 z4 D' u$ I6 C

  925. - k# c; e1 q8 h! u' d8 N. [. M
  926. ; http://php.net/date.default-latitude
    % e/ ^. w' ?" m  R+ k0 K! p* z
  927. ;date.default_latitude = 31.7667
    8 f, F! \% P1 M; \; {8 U8 ~

  928. + Y3 I) R; w# S( U' a  K) @7 E
  929. ; http://php.net/date.default-longitude  l4 P) e6 U# a" S+ ]; i* a
  930. ;date.default_longitude = 35.2333
    6 j9 {  }: ^& e; W" o
  931. ; }( |, Z! @4 T; d* s* S
  932. ; http://php.net/date.sunrise-zenith  Q6 n7 n/ l; I+ C7 f4 k
  933. ;date.sunrise_zenith = 90.5833331 B* H$ Q8 [9 \

  934. * s7 r) X0 _& a) V: _+ P  Q5 V
  935. ; http://php.net/date.sunset-zenith1 U  t2 M( t/ T2 k& A7 F6 b
  936. ;date.sunset_zenith = 90.5833338 @$ u2 I- a% [' E% W+ J
  937. 3 Z& x5 N( ^0 [2 k" t. _
  938. [filter]
    % x: j! H4 W3 G8 t
  939. ; http://php.net/filter.default- R- o' A1 }" [: U" l
  940. ;filter.default = unsafe_raw0 x0 W& x. X; l3 e

  941. ) l2 I( x/ ?6 Q& N' i# J
  942. ; http://php.net/filter.default-flags& `1 b7 {9 G% J4 p& y
  943. ;filter.default_flags =* c0 Z# u0 U) D- l9 f  b2 g
  944. 4 C0 Q* ]" j$ L
  945. [iconv]0 P3 a- a: \  O: o+ M: l7 o
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) u2 e) b9 a* q; |* b. w
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 Z, Y# ~. S( G) b7 K
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding; h9 \$ d3 g% c' _; N
  949. ;iconv.input_encoding =
    ! H+ Z4 m  o, N& S$ U4 W$ @

  950. ! q/ p3 s6 `$ `, q4 \' L# W
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead." H# A9 c, J  X* K5 u
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 {' m; R8 K! R! x  \0 i1 ]
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ t3 e4 i, b. t# i0 Y
  954. ;iconv.internal_encoding =5 ^1 I! P& ~$ h) S6 Z, ?4 M: q3 b5 S
  955. * K( _7 L! U( J6 @: _  ]; n
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.; C$ q! S. m2 J+ a
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ; m1 s4 l; |, f  r- p
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 E7 T/ l! s7 R1 U  U1 t
  959. ; To use an output encoding conversion, iconv's output handler must be set
    6 c3 J% Y. w3 j
  960. ; otherwise output encoding conversion cannot be performed.
    5 _( P* }) q# x! B: S% \
  961. ;iconv.output_encoding =
    + _, G3 n  F% ]% r  Y2 \  _

  962. 4 D4 A3 g' [% Z! b* E) ^
  963. [intl]
    2 V+ T3 f0 [" p
  964. ;intl.default_locale =4 q; y5 l; h' k8 |
  965. ; This directive allows you to produce PHP errors when some error
    9 o6 [: g+ x, b4 n" Z+ y
  966. ; happens within intl functions. The value is the level of the error produced.
    % [9 ?0 }& B- B
  967. ; Default is 0, which does not produce any errors.5 f2 I: C% m  L/ m+ O6 g
  968. ;intl.error_level = E_WARNING) X' k/ F1 |3 c( [5 K9 X: T
  969. ;intl.use_exceptions = 0
    ' K, t4 e6 W" }5 ~; W0 M" l0 p
  970. ' a& j- e) Z0 Z; M: j& ?& h
  971. [sqlite3]9 V% D! s8 C2 ?1 I1 F( E- b
  972. ;sqlite3.extension_dir =3 V2 b4 Z# T; M+ p, h- f4 `1 V

  973. & z. `( f, r1 d# i/ [6 X/ A
  974. [Pcre]
      u# A# T6 }2 L7 c3 e$ Q
  975. ;PCRE library backtracking limit.! _  I% n4 h$ Z- {; m2 Y2 z
  976. ; http://php.net/pcre.backtrack-limit
    # J& s. z0 f( a4 t+ L: @
  977. ;pcre.backtrack_limit=100000
    ) G, B) N% W7 d5 p

  978. ' b4 h3 O5 O5 U& Y
  979. ;PCRE library recursion limit.
    5 E, u2 |$ w) r5 z- F) {9 D
  980. ;Please note that if you set this value to a high number you may consume all6 b: D9 q2 Z" l! J
  981. ;the available process stack and eventually crash PHP (due to reaching the: h  A# U% h& g$ u7 z5 D
  982. ;stack size limit imposed by the Operating System).
    , `/ {# w/ m" P
  983. ; http://php.net/pcre.recursion-limit1 O) {: V: L) F0 X2 V
  984. ;pcre.recursion_limit=100000
    " @0 ]2 ?% X% h3 J& h2 o/ u) o
  985. % P( u$ \: l0 {/ i! W9 f- U
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE3 t( |; ^* m% G% C
  987. ;library to be compiled with JIT support.
    ( w/ a9 Z; R" a) ~8 D  S1 d
  988. ;pcre.jit=1
    ) x8 e$ J. j+ F/ |% |6 P

  989.   Q; {( i) l$ B4 {2 _
  990. [Pdo]0 u' N, v! m, W% m' {
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 i  l8 z% I2 e+ Q1 `
  992. ; http://php.net/pdo-odbc.connection-pooling
    : |* x: B- b5 Z  X6 N% ^
  993. ;pdo_odbc.connection_pooling=strict
    - {/ K4 G/ t) x# y
  994. 3 m9 [$ K) i  H
  995. ;pdo_odbc.db2_instance_name
    . ], E% W( I- ^: h

  996. 5 K' K2 O0 N! R$ c; H4 z7 B
  997. [Pdo_mysql]' k2 m$ x: ]3 X/ D# ?
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 ~' }# [$ W* U2 s0 Y/ R! m
  999. ; http://php.net/pdo_mysql.cache_size" M4 b5 G7 Z  Z2 ?1 ?. |
  1000. pdo_mysql.cache_size = 2000( j, V: u' v+ D  V5 J

  1001. ( |( b  X7 H. \# r, U
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in: G3 w( _. ^" m) C3 c3 F5 O
  1003. ; MySQL defaults.5 G+ |9 L4 [6 N$ \, _3 p
  1004. ; http://php.net/pdo_mysql.default-socket
    & }  E, @& |  d3 |4 I. G8 j% B* u& T. O
  1005. pdo_mysql.default_socket=- P- U1 g; _, }& z$ A% x+ a

  1006. 9 c4 D( U6 h/ h/ A1 H( n! Z
  1007. [Phar]
    & ~5 b4 A, V( b% p; o1 n  c5 Z
  1008. ; http://php.net/phar.readonly
    5 C1 \% S8 l; F! c! [4 R  G1 `: @
  1009. ;phar.readonly = On0 ]- Z7 h# }4 m* o: z# G$ Y& M
  1010. 7 t8 H5 |' H1 u
  1011. ; http://php.net/phar.require-hash4 n1 Y. t0 a: K# l) e
  1012. ;phar.require_hash = On
    9 ^# f8 s( q( A& R' i

  1013.   i$ c$ @, F" Z; k, J: u3 R
  1014. ;phar.cache_list =+ @+ ^) l& J1 F0 K

  1015. ! D6 H3 {% w8 ~
  1016. [mail function]5 ?& [! ~; z. y' `
  1017. ; For Win32 only." G5 j/ k# K( F
  1018. ; http://php.net/smtp
    ) D: T) ~. U+ d) a5 B$ \2 q
  1019. SMTP = localhost3 o1 p# }5 [3 s+ \9 l  l! m' _, [
  1020. ; http://php.net/smtp-port) E8 G% |4 |, F/ p) m: q- q
  1021. smtp_port = 25
    3 R  J3 N) M" H7 u! Q% i

  1022. ' W) {( [5 z3 W: q
  1023. ; For Win32 only.
    1 A% z' x1 E/ N# Z* Z6 m' q0 f" }( s
  1024. ; http://php.net/sendmail-from, K8 O  L. `' y) x1 n8 E7 T) n
  1025. ;sendmail_from = me@example.com* ]% U$ j6 I0 k9 ?! w

  1026. ; q4 T, n+ R; m! x/ Z2 `
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 Q/ L4 _% U$ V6 p8 V
  1028. ; http://php.net/sendmail-path
    + c$ D! r4 o; v9 W# x1 y1 G
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    2 u1 U0 p3 b5 `6 o; S
  1030. : a4 V/ P* J- N
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ; S3 O; w$ _' [2 s1 f$ U( O
  1032. ; to the sendmail binary. These parameters will always replace the value of
    * R0 y" r# d1 O$ G' y4 w1 G
  1033. ; the 5th parameter to mail().
    - e* u  h. c. X* W- Q7 ~
  1034. ;mail.force_extra_parameters =
    + ~1 `8 T( R( Q$ v$ A* {
  1035. ' I+ W! X. ]. E6 @+ a5 k: j* ]
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    8 g9 G; K( ~* Q+ I
  1037. mail.add_x_header = On" Y) j0 @  I; B$ p
  1038. 6 }6 ]) s9 k% `1 a' j  k/ J* O
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    " r4 y! \- ^0 S3 c% T" U1 k
  1040. ; the full path of the script, line number, To address and headers.5 {! r7 F& }' }1 a
  1041. ;mail.log =4 B# v, v# T( p' x; E1 T
  1042. ; Log mail to syslog (Event Log on Windows).
    " R4 ~0 S" d3 O/ h3 g
  1043. ;mail.log = syslog/ z( [) R, i" W

  1044. - h( x+ B+ l5 m2 D, q+ [& C
  1045. [SQL]
    , z4 M0 y" w1 J$ q1 R6 S" Q4 |
  1046. ; http://php.net/sql.safe-mode2 A' F9 u% `# \+ `7 f
  1047. sql.safe_mode = Off3 a% g3 ?; Q+ s* W  x
  1048. * q/ f/ l8 q4 m8 A' U2 ?. p+ o
  1049. [ODBC]/ L4 f; d7 Q' w* f
  1050. ; http://php.net/odbc.default-db
    + K9 ^6 A7 D% ]) R4 t2 ~) T
  1051. ;odbc.default_db    =  Not yet implemented
    , Z2 x$ _. F+ O3 t# _# t
  1052. + S" {- x+ u+ S& C* w  _5 d% w7 g8 m
  1053. ; http://php.net/odbc.default-user5 B7 D' r& s1 G" M' A
  1054. ;odbc.default_user  =  Not yet implemented0 j/ R5 l5 }8 w  l, ~3 @, A% w
  1055. 4 d9 M3 F1 R5 `0 \
  1056. ; http://php.net/odbc.default-pw
    : |/ o; V- }  ~+ X; h4 A( d0 K
  1057. ;odbc.default_pw    =  Not yet implemented
    7 J% w! y" E4 c) |
  1058. 0 t! F( E7 F2 r5 d
  1059. ; Controls the ODBC cursor model.
    # ~- i3 E3 m* {) ~4 B5 J
  1060. ; Default: SQL_CURSOR_STATIC (default).0 a* y/ m4 P1 V+ l, ?3 f4 ^3 \
  1061. ;odbc.default_cursortype
    0 ?- g, R6 m! h* p/ ~! Q
  1062. % R: f4 X+ t: @+ |5 }1 [9 l
  1063. ; Allow or prevent persistent links., S4 W' c' c, T  N  ~3 D/ V
  1064. ; http://php.net/odbc.allow-persistent2 v; `* I; U; I& I+ I) ]" Y1 L
  1065. odbc.allow_persistent = On; z( D% o0 |/ F5 d& w' F/ [! I! R

  1066. & s4 o: K) y4 W; R7 e9 k* P4 X
  1067. ; Check that a connection is still valid before reuse.
    % T% r2 c' j; S/ M+ C
  1068. ; http://php.net/odbc.check-persistent& h; W! q9 h6 k3 V1 S, l. X
  1069. odbc.check_persistent = On
    . \9 Z; Z0 j  x7 e% u+ _

  1070. - w+ G0 ?" B( |& P0 o
  1071. ; Maximum number of persistent links.  -1 means no limit.7 O* d. v8 u# b& d% h4 C& l& d
  1072. ; http://php.net/odbc.max-persistent! ~8 `5 \8 c8 h- J* \- j
  1073. odbc.max_persistent = -1
    ) L8 e& R' \  {- _
  1074. ( r2 d3 X6 {6 G" F6 H( C& ^. D
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . ^4 `& o1 ~: o# ~
  1076. ; http://php.net/odbc.max-links: o% I) v0 j+ I8 e- t0 t
  1077. odbc.max_links = -1
    / m; M; |! }. x

  1078. 6 w; b7 ~7 o8 H. ]- _4 W$ ~
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    8 q; j9 W9 p( k# L: b3 q
  1080. ; passthru.( m: J% i/ I/ s1 s  d4 l; Q1 C; E
  1081. ; http://php.net/odbc.defaultlrl
    ' N$ s- k, h$ e6 D7 c# N. z5 Z
  1082. odbc.defaultlrl = 40966 d8 X& e$ q9 c+ n/ D2 \0 r
  1083. 3 V5 o& f" |+ B7 u, ^
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    1 [- t$ o: N* w3 r
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation" ]$ G0 C" G4 s: w( x
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    " v, l, K9 {& ]  R9 j# G
  1087. ; http://php.net/odbc.defaultbinmode& O4 X) l& @( Z( A: v, o
  1088. odbc.defaultbinmode = 1
    # Z+ A, G' O0 R; b  b

  1089. $ [4 j& M) H2 X5 E& Q- D- ]" k
  1090. ;birdstep.max_links = -1
    ( \# o. B* Q" Q6 ?; u3 \* t

  1091. 1 H, D) ^& k/ c. u/ p; s
  1092. [Interbase]
      J9 ?5 f  s4 s/ G7 n' J' k2 p  q5 p
  1093. ; Allow or prevent persistent links.
    . S4 l6 ?- ^7 P/ S
  1094. ibase.allow_persistent = 16 S$ F0 ?9 z* @, R' v
  1095. ( B4 m: Q; b( a7 p8 R# D
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ) G* k! p$ X3 Y- k8 A
  1097. ibase.max_persistent = -1& C0 \9 n+ s- Q) P% D+ k
  1098. ( o2 S) R0 c7 R  Q/ G: ]
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- l4 N6 x3 v- }7 k6 D- E' k
  1100. ibase.max_links = -1
    ' ]1 z  f; }" m: Z: ~, O, G

  1101. / N: G: c( t0 F6 `% L
  1102. ; Default database name for ibase_connect().
    ; ~2 r# H1 h* R) u% p! q2 M
  1103. ;ibase.default_db =
    3 F6 W" ?$ {+ X2 B! _! r# A

  1104. 7 p( ~$ B6 v! G2 d0 b
  1105. ; Default username for ibase_connect().
    2 j8 P; q1 s' J% {4 E/ W
  1106. ;ibase.default_user =0 d) N% S" s) {3 x7 ~6 w

  1107. 3 n7 X! m/ s8 m) l. j
  1108. ; Default password for ibase_connect().1 T  ^; j! z( U3 S0 R
  1109. ;ibase.default_password =
    " {7 H3 C) p- z' b6 W8 `! |

  1110. ; f1 B3 ~+ e. l# T( J
  1111. ; Default charset for ibase_connect().% G( q- L  u4 u
  1112. ;ibase.default_charset =6 W% Y+ ]: ^+ ~8 H
  1113. , e% m$ {* t) D! y3 }1 b
  1114. ; Default timestamp format.
    ; e! a4 k4 f8 P) \( |3 J' \+ A9 c2 _
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    " B$ `1 @* R0 t+ o: c& b$ X( V
  1116. 0 a4 }! f5 g( S7 J& O
  1117. ; Default date format.
    8 t! W1 E- G- R1 P1 v5 Q
  1118. ibase.dateformat = "%Y-%m-%d"  t8 U: D4 P: x5 }1 ]

  1119. ' r& ~& q! C7 _+ D6 q( T) m" c) X  }
  1120. ; Default time format., z7 a9 A3 P" a4 |3 ]
  1121. ibase.timeformat = "%H:%M:%S"; g2 g( J; ], o3 J! U; d
  1122. $ m/ N9 z9 J. {! |- X9 T* ~7 e
  1123. [MySQLi]& J1 s9 D6 u- Z6 X/ a. U+ l9 W
  1124. ' E% t0 x8 ?3 z( w
  1125. ; Maximum number of persistent links.  -1 means no limit.
    # m6 A* ?4 M" ~5 t# y% I
  1126. ; http://php.net/mysqli.max-persistent% I/ _% E& j& [) Q
  1127. mysqli.max_persistent = -1
    0 l* j% K5 m, I# A

  1128. 0 ^. i; J. b1 t  x( I/ s4 E$ h+ R# a3 V
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! O# ]8 D0 \. S  w+ I
  1130. ; http://php.net/mysqli.allow_local_infile
    ! J3 k, l. l7 d; z! K$ e
  1131. ;mysqli.allow_local_infile = On
    # `4 b, M1 \: _1 h( t# o

  1132. * T3 Y$ w' @8 \/ @* I4 m+ r( S
  1133. ; Allow or prevent persistent links.
    . d& _+ L( ?+ _7 n
  1134. ; http://php.net/mysqli.allow-persistent0 e: F1 V) y* O1 k+ y
  1135. mysqli.allow_persistent = On0 B4 @. G7 J' t: R' d! x

  1136. $ \1 o# I, n' C6 w- \( e5 `
  1137. ; Maximum number of links.  -1 means no limit.
    & {6 \+ x4 S) l3 I4 O
  1138. ; http://php.net/mysqli.max-links
    . t5 j6 }" M/ ^$ l( j
  1139. mysqli.max_links = -1! r/ L8 P8 x- t0 P, q- K
  1140. $ s. j. l0 p6 g" O' S; @- _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 _* X' e5 W7 `8 H; [' q% @
  1142. ; http://php.net/mysqli.cache_size
    5 r0 R/ S: m# [7 w: y  H
  1143. mysqli.cache_size = 2000
    ' \1 @' p& e: ]
  1144. 2 e2 g- [- B; v) [
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    : U8 E: y4 ]- A5 d' q
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; m5 h% ^+ W1 a8 I* \. C
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 U, m# Z* q7 ^. G3 f
  1148. ; at MYSQL_PORT./ I) u6 h! D* x$ \5 }3 }+ K
  1149. ; http://php.net/mysqli.default-port+ @# s, w& m( H
  1150. mysqli.default_port = 3306; s$ P2 Z% q  I8 b% N! D5 I# x

  1151. 9 ^& r. s1 h0 [! D% ?' a
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in# O3 H' ?" `! G! t6 Z
  1153. ; MySQL defaults.7 z8 N+ b* k8 K: x- J, _
  1154. ; http://php.net/mysqli.default-socket7 A0 ?7 }8 Z, p' [/ g/ l  E
  1155. mysqli.default_socket =
    4 }6 j; v: k+ {
  1156. - B, D. t6 K1 O7 v  G' E" p/ a2 o
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ Y0 w- l% G. v/ J  }
  1158. ; http://php.net/mysqli.default-host1 E, y: i# S) i# K: L( K
  1159. mysqli.default_host =
    $ p) @1 y8 X' K/ n- {0 i! W% s
  1160. 5 N, M; ~6 x! d5 v! E7 V
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # v4 ]# ]8 \) P9 G: t6 g
  1162. ; http://php.net/mysqli.default-user
    7 b# h. l' [1 O- |* j4 a) Z7 ]* A: `
  1163. mysqli.default_user =
    9 J( M# Y/ p9 z9 d$ k, w
  1164.   |, f2 H: u. V2 ^3 ~# p
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    4 _, N+ x4 H0 t7 V' Z" l- v
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 E0 Z/ o: }9 [7 V+ {* G4 w
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " H; S" K$ V. v; m
  1168. ; and reveal this password!  And of course, any users with read access to this
    - C+ k- f; I' Z1 P) J* b' [& B
  1169. ; file will be able to reveal the password as well.' k" Z9 ?/ `# e( y8 q
  1170. ; http://php.net/mysqli.default-pw
    ' O- |( a* @. q( w1 {
  1171. mysqli.default_pw =9 s" B. u/ A& F6 Q, k# W

  1172. , X% \4 P2 {9 D  \1 h; a, U) ]
  1173. ; Allow or prevent reconnect
    $ B4 q: \# |& d1 H  X0 H
  1174. mysqli.reconnect = Off) Q: ?$ G& M! v( q
  1175. , H8 _) X: Y% H0 Q' m9 S
  1176. [mysqlnd]
    ; E+ p( X: d1 L/ w4 F6 ^. l( J/ @9 c
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be8 F- y' o2 M" |' U9 v7 @6 @/ U
  1178. ; used to tune and monitor MySQL operations.
    2 M1 O8 t/ h& k; @$ U4 \3 [5 w3 H
  1179. ; http://php.net/mysqlnd.collect_statistics
    $ n+ S! [0 g! d( U
  1180. mysqlnd.collect_statistics = On
    ' W' {! V4 W+ N3 F* N  j! _; i

  1181. 8 A6 k0 U, h5 F4 q3 T
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . X% y3 T, p  E) \: W  D7 F
  1183. ; used to tune and monitor MySQL operations.
    " C# y' s) B+ ~) \2 t- n1 W1 n
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    & X, r+ I5 v$ {: \9 w
  1185. mysqlnd.collect_memory_statistics = Off
    ! w  P$ F6 J" z

  1186. , R" q4 X$ M& S5 N
  1187. ; Records communication from all extensions using mysqlnd to the specified log: i3 N& [* y& f2 I4 t
  1188. ; file.# d9 Y: O; [) W1 S+ E: x2 h
  1189. ; http://php.net/mysqlnd.debug5 c  U8 }* P! \2 F$ i0 g/ g
  1190. ;mysqlnd.debug =  f0 S) h: ~+ e9 i+ L& _9 l& c

  1191. 4 O5 u) D7 T9 S2 W3 _( ~0 Y
  1192. ; Defines which queries will be logged.$ `8 ~! c2 p( q* j7 s( ^  S
  1193. ; http://php.net/mysqlnd.log_mask8 s0 l! q& C2 Z: K
  1194. ;mysqlnd.log_mask = 06 I! \/ W3 H7 o+ |6 y# L& |/ Q

  1195. + B' u9 g5 t( r
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    : w( y" z7 U; l: V' {
  1197. ; http://php.net/mysqlnd.mempool_default_size3 c5 b2 a$ m2 x. i  B8 a
  1198. ;mysqlnd.mempool_default_size = 16000
    * ~0 Y$ [% Y) ^- Z
  1199. ' V2 r  K# ?) z) P2 h5 i* F2 b
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.1 t$ x) R' _9 b4 t% n6 @
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size! [2 |; g8 i5 V6 C' {
  1202. ;mysqlnd.net_cmd_buffer_size = 20488 w8 ^% `0 H: n* [1 E
  1203. ! U3 P, Q/ E5 i( [( T1 Q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; P4 Z& S$ W2 I' ]
  1205. ; bytes.& ?& [# L; V& m$ L& L4 q
  1206. ; http://php.net/mysqlnd.net_read_buffer_size, e' r8 ]9 \3 O$ E! |# m+ Y9 o' F
  1207. ;mysqlnd.net_read_buffer_size = 32768+ \0 T8 W/ l/ v3 ~6 X3 X

  1208. - x' L. J6 i! [6 M, P, M. K6 Z8 y
  1209. ; Timeout for network requests in seconds.' [( Z3 n) x( Y" [" d% C& e
  1210. ; http://php.net/mysqlnd.net_read_timeout5 a+ A. }6 |7 m# Q
  1211. ;mysqlnd.net_read_timeout = 31536000
    9 K2 U2 Z, \5 H5 K/ N) T1 a

  1212. + c* _7 }9 _: H3 D8 r- T$ L
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 q. O. }$ n2 c0 s% N3 y) N9 N7 N
  1214. ; key.) S0 |/ j5 ?8 v: T& n- I
  1215. ; http://php.net/mysqlnd.sha256_server_public_key! K# a& O# P; N/ I% ?
  1216. ;mysqlnd.sha256_server_public_key =
    ( R( ^' l7 }  z6 P/ I6 y, S5 }

  1217. 4 Q% }$ b3 J! k' a
  1218. [OCI8]
    - v) s4 @6 z- g1 w

  1219. * P4 w! u! d* J
  1220. ; Connection: Enables privileged connections using external
    7 \# s& `1 {+ c2 y- k( ^. q. r" f
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)3 u/ Y" ?; V0 R
  1222. ; http://php.net/oci8.privileged-connect; y' q5 G6 P- x% N
  1223. ;oci8.privileged_connect = Off
    . v) j7 C3 F( y  M* @
  1224. ) H' V% E" a/ T1 k2 ?# @' u  h
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    . W& s+ L6 o0 Q
  1226. ; process. Using -1 means no limit.& a% U5 M, O/ ^) v$ g
  1227. ; http://php.net/oci8.max-persistent' F. r& d# S: J( x9 x
  1228. ;oci8.max_persistent = -1. A. b& a' k. |# o! i3 D! C& ^5 P

  1229. 3 h' y. F0 Q& X# X6 @5 z2 e1 m
  1230. ; Connection: The maximum number of seconds a process is allowed to  B+ z- A0 c, y" S0 Q" q) U/ a
  1231. ; maintain an idle persistent connection. Using -1 means idle  {4 q  O8 c9 R$ `  i
  1232. ; persistent connections will be maintained forever.
    & t5 I4 |. o% Y3 r3 l1 u6 T% N# H; n; c
  1233. ; http://php.net/oci8.persistent-timeout5 [6 v, j7 R! o( s0 q2 v
  1234. ;oci8.persistent_timeout = -1  ]4 q, D& v2 T3 B) F
  1235. 8 R3 O7 e- ]" x( ~+ H+ Y
  1236. ; Connection: The number of seconds that must pass before issuing a0 V' n) v- W+ ]
  1237. ; ping during oci_pconnect() to check the connection validity. When' h+ f* |, [0 c$ Z
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( u: g, m( G# T( q
  1239. ; pings completely.
    / |! D! n0 [$ z
  1240. ; http://php.net/oci8.ping-interval
    6 U  h# v4 Q/ \  P6 x0 x: `  j: ?
  1241. ;oci8.ping_interval = 60
    % ?3 a, L& u/ T2 q3 c
  1242.   [# Y+ M* @9 V/ e5 `* y2 p" C& k
  1243. ; Connection: Set this to a user chosen connection class to be used
    $ ]- v# S/ ~3 X: n4 @
  1244. ; for all pooled server requests with Oracle 11g Database Resident* P' f( e+ V4 K0 Y  ^
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    1 q! Q, |! e9 j4 y: |! y" }
  1246. ; the same string for all web servers running the same application,5 \, W- u, b! h% o- e4 M1 b
  1247. ; the database pool must be configured, and the connection string must$ ~! u) J2 t# W8 s: d) N
  1248. ; specify to use a pooled server.& p1 h7 P9 u7 S# Y
  1249. ;oci8.connection_class =: l; u8 X$ B/ ]8 V

  1250. 4 s6 a" i) p  I9 }5 p2 b; u
  1251. ; High Availability: Using On lets PHP receive Fast Application
    * t$ @4 K: _1 z7 ~, U
  1252. ; Notification (FAN) events generated when a database node fails. The5 I* b' ~' o9 i* n
  1253. ; database must also be configured to post FAN events.
    4 x* ?, z+ s) c5 O
  1254. ;oci8.events = Off
    6 E7 {) d1 {# {: f. j2 B0 m: Y
  1255. & |  E. ~; m& j& t: E: r, T, Q
  1256. ; Tuning: This option enables statement caching, and specifies how
    # ?: b3 s! k) k$ _7 Z8 T
  1257. ; many statements to cache. Using 0 disables statement caching.# w, |0 h! p: J4 }; l
  1258. ; http://php.net/oci8.statement-cache-size( Y7 \$ E6 B/ o" q* ^
  1259. ;oci8.statement_cache_size = 204 \1 A' U3 B5 a2 K& G4 y
  1260. ' t* H4 k$ M$ e& K' L* _
  1261. ; Tuning: Enables statement prefetching and sets the default number of$ ?: p1 X) u0 A+ X
  1262. ; rows that will be fetched automatically after statement execution.' i; {- L' D" T/ l# U4 c& A
  1263. ; http://php.net/oci8.default-prefetch6 N' u7 U( j# o8 @3 i9 R
  1264. ;oci8.default_prefetch = 100
    * _4 H! G' |6 P

  1265. + \1 F1 l* Z4 d  A9 w1 C
  1266. ; Compatibility. Using On means oci_close() will not close
    1 Q. N8 @! e; J, S, b/ A/ n0 `! `
  1267. ; oci_connect() and oci_new_connect() connections./ a, R& T: K' z
  1268. ; http://php.net/oci8.old-oci-close-semantics
    9 ~  _, g/ j/ g! ?7 M& z5 m3 T
  1269. ;oci8.old_oci_close_semantics = Off
      n5 d' `3 a! |8 y
  1270. 8 V) R8 w: H: D2 p0 a# `
  1271. [PostgreSQL]
    * m( S# y* z3 Q  p2 x
  1272. ; Allow or prevent persistent links.
    / w9 }$ `0 I$ `* N' f2 B4 i
  1273. ; http://php.net/pgsql.allow-persistent
    4 Y, D, z% o5 f5 \+ u4 z" d
  1274. pgsql.allow_persistent = On
    2 r6 V9 W7 j8 Y/ U
  1275. " ^7 s  w8 _& J# M( V- j
  1276. ; Detect broken persistent links always with pg_pconnect().- y4 x* e! J- `$ W
  1277. ; Auto reset feature requires a little overheads.
    , U+ b( Y* R, z6 u
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ; w: R7 g4 p/ J+ [$ b5 n' U
  1279. pgsql.auto_reset_persistent = Off
    3 T" R7 Q! B5 w& v; i& R

  1280. * _: y# @5 w& O) @5 @7 ~% l
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ; K) g  B3 e; M
  1282. ; http://php.net/pgsql.max-persistent& b/ o/ A' G6 n4 O+ k5 D, t
  1283. pgsql.max_persistent = -1
    8 |9 Q. D* m& R! Y" |

  1284. ; \3 `  \3 \% z: T  a' J
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! w! o* s* X% F* j
  1286. ; http://php.net/pgsql.max-links
    + i/ o5 m$ O8 X9 I
  1287. pgsql.max_links = -1
    0 u1 U' L7 ]$ R* x# g% j
  1288. - E2 Y, Q% {& r, B% c% i* m# a
  1289. ; Ignore PostgreSQL backends Notice message or not." R: r$ Q" e% r# h3 o& f$ d  z+ v
  1290. ; Notice message logging require a little overheads.
    / c9 H* @7 Y# h9 ?. I1 Z' g
  1291. ; http://php.net/pgsql.ignore-notice
    6 Z/ x6 Y) a- z, `" r0 q
  1292. pgsql.ignore_notice = 0( t5 Q* h$ j: G* D

  1293. : W7 l- v0 p  |+ d4 H; V! M
  1294. ; Log PostgreSQL backends Notice message or not., `% Q$ e9 M$ E- X- ~) I
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    & g+ j/ C* w6 F& Q
  1296. ; http://php.net/pgsql.log-notice
    $ X8 k4 w, ~* U* E/ i" o
  1297. pgsql.log_notice = 0
    0 D% R2 L7 X  G3 C( k( p

  1298. % S: c$ V4 E/ ~8 t/ o
  1299. [bcmath]  G* V3 Z& f9 L7 o
  1300. ; Number of decimal digits for all bcmath functions.
    % z; r! n. L5 r( F' ^8 A/ Y- W/ R* X
  1301. ; http://php.net/bcmath.scale( L8 {3 Y; J: H& b& J! e
  1302. bcmath.scale = 0
    / d3 T2 v* c1 H1 d& p" L

  1303. ! O0 ]0 l; Y8 N
  1304. [browscap]
    3 ~5 d0 o  \) U
  1305. ; http://php.net/browscap! u( S% A1 n" V& ?) i2 }* n
  1306. ;browscap = extra/browscap.ini
      U% h5 |3 e% l- n5 k
  1307. 0 ^: W% @0 V' n* Y- p
  1308. [Session]
    - M5 X9 }  n! A4 N7 a2 x7 M) _
  1309. ; Handler used to store/retrieve data.
    . \7 s/ @* t* ]9 T5 x* \
  1310. ; http://php.net/session.save-handler
    # ~, x; E1 F% A2 S. `7 e
  1311. session.save_handler = files0 Q9 p+ m7 J4 b/ a. g' c5 A0 U* S& }

  1312. 2 A6 d: c# ^; F  M5 u
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    2 R7 o: ^0 A' m' n$ g' Q+ G& k
  1314. ; where data files are stored. Note: Windows users have to change this. {/ M( n! \! `8 A, t6 \
  1315. ; variable in order to use PHP's session functions.
    ! K( j2 r& F- W- k
  1316. ;
    % x4 F9 x6 {  a) G
  1317. ; The path can be defined as:  W8 c; |( }0 ]. f/ J$ A
  1318. ;
    % {) o  N- o# U7 y& N* ], f
  1319. ;     session.save_path = "N;/path"
    $ P" z' B. Q4 `
  1320. ;
    . j- o7 a- E' k+ w+ M4 s
  1321. ; where N is an integer.  Instead of storing all the session files in
    " s0 R% Y. X! _, s+ `2 g+ p
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    3 E* U& |3 A; u$ d
  1323. ; store the session data in those directories.  This is useful if* Y# m6 X: e+ l* U0 u1 _
  1324. ; your OS has problems with many files in one directory, and is
    ; M! E5 a# U. A! a" l
  1325. ; a more efficient layout for servers that handle many sessions.( S- c4 H! T1 Z6 P
  1326. ;6 |/ l0 m$ U0 M- v
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    / w1 e9 o0 u0 }4 s
  1328. ;         You can use the script in the ext/session dir for that purpose.) ]* {9 g4 R/ ~6 ^8 Q- w  p+ H# n
  1329. ; NOTE 2: See the section on garbage collection below if you choose to. L2 s. W! L" L' i# u  Q2 i: W
  1330. ;         use subdirectories for session storage& L6 c5 F' g$ h
  1331. ;% \; M% T# O* T3 w0 H; @9 f
  1332. ; The file storage module creates files using mode 600 by default.8 {) T) x/ E& B
  1333. ; You can change that by using. t9 y: p! r- l- [. H0 y* }4 P
  1334. ;6 w, o6 q& L0 L5 p/ A
  1335. ;     session.save_path = "N;MODE;/path"
    / b/ i) _; }, Z
  1336. ;
    + n  a5 D- O4 c% N3 V: W  V
  1337. ; where MODE is the octal representation of the mode. Note that this
    & l) |3 v. W& U/ O! W5 l
  1338. ; does not overwrite the process's umask.. a2 n$ {$ b0 P7 R5 }1 [5 U
  1339. ; http://php.net/session.save-path
    6 M: F/ n3 Y0 _5 Y8 ]5 o
  1340. ;session.save_path = "/tmp"1 A8 V* Y0 n/ _

  1341. ) Z' f$ O9 ~. b7 i3 P
  1342. ; Whether to use strict session mode.
    7 E1 O: I& a# v! c  a4 O
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ; A; j/ P" O& j. a( {
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects. w4 C* r- p( D9 X  ^+ Y
  1345. ; applications from session fixation via session adoption vulnerability. It is2 T8 _* n8 k7 f! p* V
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 N0 t: _% I# F6 x; _% `' |
  1347. ; https://wiki.php.net/rfc/strict_sessions( Q- \9 z- r8 V7 |
  1348. session.use_strict_mode = 0
    % p* N( A3 D7 J+ `

  1349. 8 J4 [: g% n4 Z- ^( [7 u7 i
  1350. ; Whether to use cookies.4 X# |1 s% l( O0 h4 M9 I( W' M7 X. |. V
  1351. ; http://php.net/session.use-cookies
    4 N' u! M5 v1 f- p2 [: r) g
  1352. session.use_cookies = 1
    % Y* K) h- v% G
  1353. : ^0 d' I/ |2 r) b6 U- i* D# v
  1354. ; http://php.net/session.cookie-secure
    ' f+ p* |- S% y! O; c
  1355. ;session.cookie_secure =7 j7 ^& Z2 h' H& |. z4 a' v

  1356. * s8 E1 b! s& F2 L/ n. Q" a
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! y( {( [( |% Y" m
  1358. ; the session id. We encourage this operation as it's very helpful in combating0 }% ~% u0 C* q5 B  c
  1359. ; session hijacking when not specifying and managing your own session id. It is
    $ {- r: ^5 B4 u" |( f
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % V2 ?$ B4 l$ g1 i7 q3 |) G! o
  1361. ; http://php.net/session.use-only-cookies, k% s" q- B& V: P8 y+ ~3 P. o+ A. N3 E
  1362. session.use_only_cookies = 1
      `9 q- l( s8 A! S9 f
  1363. " \5 p" p4 y# B8 h/ N  q4 p
  1364. ; Name of the session (used as cookie name).
    5 E% T$ ~8 ^  V+ _3 b2 q
  1365. ; http://php.net/session.name3 Y" h2 Q+ F& X0 n; ^0 j* P" i; M
  1366. session.name = PHPSESSID7 f. X" e# N. @5 T0 A8 f/ h
  1367. , s# H9 w) R) p& v$ y
  1368. ; Initialize session on request startup.
    / ?1 q1 s# X3 A4 [
  1369. ; http://php.net/session.auto-start1 \2 t7 ^/ Q0 w5 o' L2 ?7 Z6 W6 m+ Z
  1370. session.auto_start = 0
      y+ |$ Z# M: y

  1371. 6 C1 ^6 b# y/ E2 V
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.- N  D; a% F, A! N
  1373. ; http://php.net/session.cookie-lifetime
    4 c+ N" u  n2 c" u6 y, _& _0 M
  1374. session.cookie_lifetime = 0
    - b, x) ~& X4 h) [: t

  1375. 8 ]/ x5 w# ~' C8 p
  1376. ; The path for which the cookie is valid.
    ) ?" v5 W% u) O) D; {- Q
  1377. ; http://php.net/session.cookie-path
    $ F4 Y5 E- {6 N+ t3 f3 @- `3 n
  1378. session.cookie_path = /: I. X5 C4 r6 Z* ^: \0 H' i8 q

  1379. " T/ `+ F" _/ V+ G+ N  J  ?* n3 i
  1380. ; The domain for which the cookie is valid.
    9 }* K0 w  ~0 r& b) H
  1381. ; http://php.net/session.cookie-domain6 W  u( ]/ x& u" J% g+ b1 h
  1382. session.cookie_domain =
    + v/ G2 }9 y3 \$ n9 [# g, |# y( s
  1383. : Y4 Y3 j, B& ^
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    " f* O  t1 |, M3 }2 R+ b
  1385. ; http://php.net/session.cookie-httponly
    2 H3 M' P* S  |4 H9 d* R7 b
  1386. session.cookie_httponly =
    # K. \" _, w$ p, z% n: r
  1387.   P7 N* Q' G3 C5 U% F
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.0 S0 h5 D1 r0 D) d
  1389. ; http://php.net/session.serialize-handler% j$ {4 f; R! A/ E! S7 z5 y
  1390. session.serialize_handler = php
    7 b  \# C$ q/ f! B( C

  1391.   E, D  e  U- C" E6 j
  1392. ; Defines the probability that the 'garbage collection' process is started
    # {2 _* d% z/ k$ \
  1393. ; on every session initialization. The probability is calculated by using
    8 N1 S5 i5 _' T6 m0 o- d. q: b
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 ]1 P- c- T, ]; v- j$ M, {, J
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1% P* e/ Z  Q. r
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      U+ q% O3 `, H) @; ~
  1397. ; the gc will run on any give request.
    7 S- S! r2 O: t1 d% Z6 A+ {) Y
  1398. ; Default Value: 1
    ' W. R3 B2 l: u! I0 H- P$ ^: [
  1399. ; Development Value: 1
    # j+ F: E0 M% d2 `
  1400. ; Production Value: 1
    " V! h9 {- Y. E1 Y, i# M
  1401. ; http://php.net/session.gc-probability
    ' O* W. U5 b# ^0 Q# r
  1402. session.gc_probability = 11 r% ?/ p  g: A* y. I0 R

  1403. . M9 }1 }" R% ~7 F  x
  1404. ; Defines the probability that the 'garbage collection' process is started on every8 B* @; {0 k* s( h
  1405. ; session initialization. The probability is calculated by using the following equation:
    2 `9 p7 |8 P' ~2 F7 i9 ]& I
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    6 S7 \* D! [/ {( f6 d# O
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1  w8 L1 X" \0 l
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 c! J* |) D4 S7 A
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    & `0 k! V6 l) I2 i9 v5 ~8 V- A8 t
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    3 u$ \) i) \7 @
  1411. ; this is a more efficient approach.
    4 q* S) q$ q6 x& `& L# A
  1412. ; Default Value: 100- i% o- F, K0 L4 s, S% z
  1413. ; Development Value: 1000
    0 O* ^- B5 u; ^) Q( S
  1414. ; Production Value: 1000( s1 k3 D" e2 O6 D0 l9 J
  1415. ; http://php.net/session.gc-divisor: n0 }" }, t, ]6 s0 Z# v/ B
  1416. session.gc_divisor = 1000
    ' n- p) M& k' p# ^% y

  1417. 1 I+ L' C( _) ]4 P. m7 l' ^7 Q/ `
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 w# K7 A0 r/ h% e
  1419. ; cleaned up by the garbage collection process.
    + p8 N! |# y/ j  M- K" U3 w
  1420. ; http://php.net/session.gc-maxlifetime
    " J4 G: q4 K. k$ X. C/ |, m
  1421. session.gc_maxlifetime = 1440' R- v" h! i9 a3 `

  1422. " w( q& P4 l- _" p" ~2 b9 |
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    4 p  x6 ]2 x# A, H/ j0 s' @
  1424. ;       (see session.save_path above), then garbage collection does *not*
    , P- X3 @: c/ E* e- c
  1425. ;       happen automatically.  You will need to do your own garbage* @& R6 p3 f% l* q% W5 _
  1426. ;       collection through a shell script, cron entry, or some other method.
    & m! ?5 h# G0 c5 U, n2 Q! q
  1427. ;       For example, the following script would is the equivalent of
    6 o4 N( S' ?: x" W! e. [& J
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):: \& o; B6 f1 A1 d) N
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    , q2 t3 Y" Y( j2 \' N
  1430. * e1 i- S5 @. s9 Y; m/ ]
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.. O# @: t' O8 p; n3 p8 [
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    " n4 u* Q# J8 r: [! [& x% y' u
  1433. ; considered as valid.
    + n; t9 B1 e  w7 r
  1434. ; http://php.net/session.referer-check! U& j8 P' p9 B1 t: ]/ r- n! B4 u6 B
  1435. session.referer_check =
      ]) y# o2 i+ m9 c* l# X8 p
  1436. 3 i; m$ X4 r; v' ]6 d* p8 D$ l1 z6 c
  1437. ; How many bytes to read from the file.2 `% ~9 g; y. e+ n! Y  I
  1438. ; http://php.net/session.entropy-length
    % T, l# ]; s8 E  ~
  1439. ;session.entropy_length = 32+ E. ~9 r3 Q  j8 s; M& |7 b# }
  1440. 4 g6 j8 u  K: z) I) q
  1441. ; Specified here to create the session id.
    7 n- y5 P; w: y- I  Z, t; i9 r; \4 W
  1442. ; http://php.net/session.entropy-file
    - c( ~/ b1 M- q+ {( L. c2 S
  1443. ; Defaults to /dev/urandom9 T" l. t$ ]8 z- M
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    $ S6 m" f( J" X* ?4 v, Y2 _
  1445. ; If neither are found at compile time, the default is no entropy file.- N3 S( _- o& f$ q& c. T
  1446. ; On windows, setting the entropy_length setting will activate the
    & d5 x2 {4 V/ s8 G7 ^1 t
  1447. ; Windows random source (using the CryptoAPI)# Z& h. Z0 x) e9 f& \& N
  1448. ;session.entropy_file = /dev/urandom
    ' {5 v) H9 }& K6 F9 ]4 g1 i! K5 J& z* R
  1449. / A5 A- q, W, x9 _0 A
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * [: P4 A' u1 m& U0 g
  1451. ; or leave this empty to avoid sending anti-caching headers.
    : {4 Q7 t+ g  z+ y2 {3 k$ `: L- l
  1452. ; http://php.net/session.cache-limiter
    " p( ]5 r( t. a$ M( i
  1453. session.cache_limiter = nocache) {/ D& H, o0 Y1 ]% v. T$ F
  1454. 5 w3 k0 i2 |% i# U. {( D3 u$ J  V
  1455. ; Document expires after n minutes.+ j5 i% [. Z2 {; }0 U- s$ u  ~; ~" l; I: O
  1456. ; http://php.net/session.cache-expire! @3 V* `  }: @1 N0 s; _
  1457. session.cache_expire = 180
    8 i% I# c; d( C7 M

  1458. 7 a) ?5 x1 U0 O5 }: ^
  1459. ; trans sid support is disabled by default.
    $ |* l# U4 Q& j$ Q6 i: p, [
  1460. ; Use of trans sid may risk your users' security.
    # V* D: f- `; }$ n" B8 ?! Y
  1461. ; Use this option with caution.
    . y- D: ?$ P& [7 [: Y5 Q
  1462. ; - User may send URL contains active session ID1 F* n# k+ a! Y: y/ q* q
  1463. ;   to other person via. email/irc/etc.
    - O9 o" c2 L  C; F4 K
  1464. ; - URL that contains active session ID may be stored9 ]  ^0 b; Q0 l
  1465. ;   in publicly accessible computer.$ ^3 B, v: I0 G6 U
  1466. ; - User may access your site with the same session ID' s+ X' u! m: k7 M# q( E
  1467. ;   always using URL stored in browser's history or bookmarks.7 j' ?* ]3 w  n$ c; e: D8 w# l4 {
  1468. ; http://php.net/session.use-trans-sid7 J: H2 ~' E$ {! @
  1469. session.use_trans_sid = 0
    0 D9 Q6 u: k+ U: U, c! k8 z. K
  1470. $ e% H/ j) r+ g# @8 i
  1471. ; Select a hash function for use in generating session ids.  l1 {* k- z" Q( L* m7 A' Q
  1472. ; Possible Values0 [+ I; t  K2 L* |: Y3 h
  1473. ;   0  (MD5 128 bits)
    5 X9 U( Q1 |; M9 b* r
  1474. ;   1  (SHA-1 160 bits)8 H& X! V2 R$ ?1 }3 P) @, w' N
  1475. ; This option may also be set to the name of any hash function supported by3 L- k: {$ W8 d/ b
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    : H" y) ^" U5 ~  H8 y& _& D" N
  1477. ; function.
    6 I' p9 H+ [4 O
  1478. ; http://php.net/session.hash-function
    3 ?0 ^! I7 ^1 C% o' J2 q
  1479. session.hash_function = 0# R8 f" h! F2 V3 F2 J1 [# F
  1480. 2 p( T! f% ?! b" L- G/ \5 P* t* i
  1481. ; Define how many bits are stored in each character when converting
    : J7 ?# G0 N7 R6 C; g7 Q
  1482. ; the binary hash data to something readable.2 t0 ~, E: m) U, }
  1483. ; Possible values:+ o- ^- G& c  l. ?/ ^( d
  1484. ;   4  (4 bits: 0-9, a-f)
    8 Z4 u6 t/ P8 q. I* z% q, a
  1485. ;   5  (5 bits: 0-9, a-v)
    . K( O  [; `$ n2 v8 `) ?
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    5 s6 f; Q. J9 ~
  1487. ; Default Value: 40 @) t# r$ W. \7 n; y, i
  1488. ; Development Value: 5) u/ v5 X9 t! o+ f
  1489. ; Production Value: 5
    . h& A0 X2 r* P$ ?6 R$ \4 |) b- B& g
  1490. ; http://php.net/session.hash-bits-per-character) j8 w' A8 V- J3 n
  1491. session.hash_bits_per_character = 5; _0 C5 P' k  l+ n: J" [" A4 H- A
  1492. 5 z. {9 o; u" A9 x$ {( n
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    - Z' t3 r0 b  S  ~
  1494. ; form/fieldset are special; if you include them here, the rewriter will# M6 ~7 q6 T) M# n5 {1 t# `
  1495. ; add a hidden <input> field with the info which is otherwise appended$ g) {% j4 [2 B: Z0 a# T+ @6 S
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 ^5 Y" n" T+ n
  1497. ; Note that all valid entries require a "=", even if no value follows.
    1 w' P% e: Q8 N/ F  k) [1 T
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=", X( C% K0 K: Z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 t& `+ z7 N, `* H2 V" p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 f" T" o7 [) q4 l& j$ R# M" g
  1501. ; http://php.net/url-rewriter.tags
    , L, ]! g) h+ ^0 P: s- P
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + {, ?1 j/ \! D$ k' ~

  1503. 0 @6 N9 S3 |9 ?4 y* Z
  1504. ; Enable upload progress tracking in $_SESSION
    6 s/ g8 A. {  i  x& b
  1505. ; Default Value: On
    ! X- p. {) k& i2 S) T" C
  1506. ; Development Value: On& ~3 L. r$ c8 j. t& @8 i/ N
  1507. ; Production Value: On) u5 Y3 W$ `2 V/ L& D, j& P: v
  1508. ; http://php.net/session.upload-progress.enabled/ T+ C5 w' I/ |
  1509. ;session.upload_progress.enabled = On5 v7 S8 ]1 `0 k, p

  1510. , N  ]4 {  a/ K5 y  a6 b; g5 J
  1511. ; Cleanup the progress information as soon as all POST data has been read
    . `1 n. c$ `* H8 h
  1512. ; (i.e. upload completed).
    8 C, n. P. Q$ s0 m1 w
  1513. ; Default Value: On' c# E6 I3 I- \( z" d+ g# E* Z
  1514. ; Development Value: On
    * y. O+ E# Q' A+ o  q: ^
  1515. ; Production Value: On
    * _- U* U4 T4 a2 }2 F* O! l
  1516. ; http://php.net/session.upload-progress.cleanup
    % Z  t& d3 K6 n: h) O: k- t
  1517. ;session.upload_progress.cleanup = On
    , m2 f: ]7 c- F. [9 X, G- a) k

  1518. - c9 ?0 X) B5 C
  1519. ; A prefix used for the upload progress key in $_SESSION$ s2 ?1 e9 C( U' R4 i
  1520. ; Default Value: "upload_progress_"' t+ V9 I! v8 `3 n/ m- q5 ]8 I* s5 @: t
  1521. ; Development Value: "upload_progress_"
    " T5 G6 K3 d2 w5 i
  1522. ; Production Value: "upload_progress_": Q, l) ?( x6 L6 r4 x
  1523. ; http://php.net/session.upload-progress.prefix0 B$ `! m8 l: e2 A3 z. }. x
  1524. ;session.upload_progress.prefix = "upload_progress_"
    . Z' s  \) {/ b$ Z% R  Z& a% U) j  M6 c

  1525. + H$ z2 H% ]% {  o
  1526. ; The index name (concatenated with the prefix) in $_SESSION! s# q( Q% S/ h* e9 o' A' i
  1527. ; containing the upload progress information5 G# ^0 s% W( [. ~
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 j6 K- x4 `# z+ W
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & p2 D- D9 g$ n, q; b) k4 N3 ^8 @
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"5 I& A3 I2 i: F2 C9 F/ k$ P! I
  1531. ; http://php.net/session.upload-progress.name3 q# i! v3 ?; U5 h4 i8 d2 _
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; m2 P* }0 c2 {) ^+ x
  1533. 7 T  p2 |1 P% w; j" \
  1534. ; How frequently the upload progress should be updated.% n+ r" e: b% c
  1535. ; Given either in percentages (per-file), or in bytes2 a7 g8 t' H4 P$ N8 O( @, }: j
  1536. ; Default Value: "1%"& S) [8 M" z' Y
  1537. ; Development Value: "1%"7 c$ m; c! M( ^# L6 [! I, u. q
  1538. ; Production Value: "1%"0 I$ ~' |, ~/ _
  1539. ; http://php.net/session.upload-progress.freq# r% ]0 k5 I# [$ v, ~' u4 }
  1540. ;session.upload_progress.freq =  "1%") g6 L- X, ?' G8 _) j% E
  1541. ) l! _8 ?) L& y( S' g- C9 }$ s
  1542. ; The minimum delay between updates, in seconds
    + Q, |; z4 f9 e8 x: M- T  U
  1543. ; Default Value: 1
    3 n! z+ l0 }; I" F
  1544. ; Development Value: 15 v- _; c8 ^, u$ \
  1545. ; Production Value: 1
    4 }- H/ T% s" U2 k2 F) w1 I
  1546. ; http://php.net/session.upload-progress.min-freq. M: r8 K- G. g$ K" V. I
  1547. ;session.upload_progress.min_freq = "1"7 p, N% @* x" ]+ V1 q, _$ K
  1548. 6 |5 ~. X. W- m, G
  1549. ; Only write session data when session data is changed. Enabled by default.' ~2 O" C# x4 C
  1550. ; http://php.net/session.lazy-write5 |% R) y! n  m
  1551. ;session.lazy_write = On
    4 v9 z8 b% C0 y. O6 N( e$ E
  1552. & D9 U4 N) _# {1 y! w
  1553. [Assertion]/ J% P8 u. Q  Y6 n6 Q
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    + E7 V& [9 Q2 E8 H. x% f
  1555. ; -1: Do not compile at all
    0 m( P6 I  D/ e: ?7 g4 l' f
  1556. ;  0: Jump over assertion at run-time
    7 d/ {4 E7 u) L" T
  1557. ;  1: Execute assertions
    ' W2 M) u' u* |& e6 x$ m) ^  X, H8 p
  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)/ p6 {, a0 ~0 ^0 J3 Z* d
  1559. ; Default Value: 1
    2 _3 w; J4 I( }2 W% W
  1560. ; Development Value: 1
    ) d" G' Q4 u+ d/ d) G- C
  1561. ; Production Value: -1
    3 b, T+ |  ]$ ~. V) y
  1562. ; http://php.net/zend.assertions& Y$ ]7 R" R( s) l9 M$ w+ h
  1563. zend.assertions = -1- }. h7 x2 ~) l/ y6 _' g$ I& e

  1564. 3 L& s( B1 }8 e& o4 t% v
  1565. ; Assert(expr); active by default./ X3 I! q# Z5 U( {+ ~) S- |2 F6 t
  1566. ; http://php.net/assert.active- h) M% H9 x" u' L8 Z8 Q& Z& }
  1567. ;assert.active = On
    & I2 p; y% a. h: A/ W
  1568.   N! T) [4 A' ]$ E( }
  1569. ; Throw an AssertationException on failed assertions- h# F# L; Z: V; N1 I
  1570. ; http://php.net/assert.exception
      p. ?! L7 G" \! A0 W* e
  1571. ;assert.exception = On/ S# O1 ^& j* w) @. c; u& I
  1572. / ^; t8 ]) j7 U/ y0 u. G6 \/ u8 W
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + J; G1 j/ [% {2 s7 @; D
  1574. ; http://php.net/assert.warning  O* ^* T( ]7 L+ H, F
  1575. ;assert.warning = On, @8 f( K( [) |: \( Z  ~1 [0 b& E

  1576. # w$ ]$ c  t! z
  1577. ; Don't bail out by default.
    - h8 _9 a$ m& L, J* g) ^
  1578. ; http://php.net/assert.bail
    * _9 g; N' ?  u" l- Z
  1579. ;assert.bail = Off
    & h2 R9 l/ N& ~* n/ e
  1580. + s) E+ j2 ?) n4 N% s5 Y5 y
  1581. ; User-function to be called if an assertion fails.# V9 c  Y. ?- t( ~  N
  1582. ; http://php.net/assert.callback
    1 p3 F9 V* r) @9 y/ R1 [) v
  1583. ;assert.callback = 0
    $ g3 ?' `, E& x

  1584. 1 p4 K+ S$ r' E! `! _' k8 g: T
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ! m" i$ q" K& i9 f4 l4 y, [6 P: |
  1586. ; error_reporting(0) around the eval()./ ^, a. Y7 O# S+ F6 ]0 f: h
  1587. ; http://php.net/assert.quiet-eval
    $ L3 |: I  u% k. s& l
  1588. ;assert.quiet_eval = 06 O2 N  z# _; o. Y0 ~
  1589. & j( T. b5 V2 c8 r  h
  1590. [COM]3 R6 F( ]; u9 ?6 ]
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. v8 I2 H  |# L2 o: e) k, _  p
  1592. ; http://php.net/com.typelib-file- G, L5 [: u8 ?
  1593. ;com.typelib_file =1 }$ W3 l4 \6 y" {0 y
  1594. " c3 u. q% _- W9 R: {
  1595. ; allow Distributed-COM calls: ~& X2 l+ y" D$ O' v' M- i2 J
  1596. ; http://php.net/com.allow-dcom" ?# N1 N* o$ i% j
  1597. ;com.allow_dcom = true* R$ o  ~" {" R* t
  1598. # x) X& o7 ?1 e0 B7 R
  1599. ; autoregister constants of a components typlib on com_load()( w5 D3 _7 X8 p1 z1 \9 f  M; Q
  1600. ; http://php.net/com.autoregister-typelib: G- h# I- A% v5 h* \1 S
  1601. ;com.autoregister_typelib = true
    % P" I7 t. V; D7 @! @- I- _6 K  _5 m

  1602. $ k* _& ]3 z/ a7 L( ~. f
  1603. ; register constants casesensitive
    # }" p' y2 d' u
  1604. ; http://php.net/com.autoregister-casesensitive
    ) v6 r9 o) d+ @- V- R, Y( P2 [- n' w
  1605. ;com.autoregister_casesensitive = false
    . m' w0 |+ j9 X

  1606. # B/ n- v8 N* H9 ~3 ~" p
  1607. ; show warnings on duplicate constant registrations  }9 J' P. z7 T8 \
  1608. ; http://php.net/com.autoregister-verbose2 J" ~; s4 \. U
  1609. ;com.autoregister_verbose = true6 F! l$ t: ?* Y2 X6 i( g/ Z, r
  1610. / u1 ^" F% h7 u7 |2 M* b! R
  1611. ; The default character set code-page to use when passing strings to and from COM objects.2 U; B% J, }: G
  1612. ; Default: system ANSI code page
    ( V% h- S1 e, I
  1613. ;com.code_page=
      Y+ j4 r8 |1 Q3 Q

  1614. " ]) T* B9 c! k
  1615. [mbstring]. |8 u  Z" _8 k% }9 ?
  1616. ; language for internal character representation.2 B$ ]0 E9 r" ?4 _" \2 t4 X# z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    & q' R4 e( q$ r) K% c6 N( j
  1618. ; http://php.net/mbstring.language' |& C8 c( @) y
  1619. ;mbstring.language = Japanese
    1 z' C$ G( q& s2 U0 z% W& \

  1620. ; b4 e# L& y* n- A2 d$ f% b- r) {
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 v  `! J* V; r- ^, h
  1622. ; internal/script encoding.
    , }- |$ P4 \/ z& }
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * z4 Y# p4 z! v4 ?2 g! R
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 Q' k! {( c: M/ Q8 F# V8 R) L
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 @$ m+ ]4 I7 [
  1626. ;mbstring.internal_encoding =
    ! C  {3 H# f7 `3 G% O
  1627. 5 f2 N/ W3 K% N  j5 E. L5 {
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead." ~1 Z' o9 m% a8 }
  1629. ; http input encoding.
    0 T2 Y' D. {! O* s  c( r5 O
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.: v" o; e/ c9 M% m+ S5 N
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    & ^, K9 M9 t8 e3 s' f9 b! r5 S" L* i
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ' ^- |# B  D$ z# A
  1633. ; http://php.net/mbstring.http-input
    ) F! ]  U  s8 t6 C
  1634. ;mbstring.http_input =
    7 A7 N5 F5 u( K% }: U' H

  1635. 8 a# {! a4 j% ^# g
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.; n/ e" N0 n! D! R. D1 E3 D
  1637. ; http output encoding.
    8 B, a% e# f. S: D) t
  1638. ; mb_output_handler must be registered as output buffer to function.- q. o: }/ F! Z2 H& s! g3 Z% f
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used." j# T* Q- s' h$ G$ Z  `& k. w
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output# F  i. x, i. n  w7 w7 ?
  1641. ; To use an output encoding conversion, mbstring's output handler must be set$ y- c0 T) A5 p5 a/ z: D1 c- z" Z
  1642. ; otherwise output encoding conversion cannot be performed.8 ^! ^4 P3 L. ^( r6 }, M' B) X
  1643. ; http://php.net/mbstring.http-output
    8 K( a- o8 g  A) j. h# ]( J
  1644. ;mbstring.http_output =" v% u% \/ F! [. }* F( ?6 @3 h

  1645. ! P4 q# l' k) F( w/ H; U$ ~
  1646. ; enable automatic encoding translation according to
      X- O; N4 ?7 Z# s$ s
  1647. ; mbstring.internal_encoding setting. Input chars are, y1 B& l4 }# f1 E
  1648. ; converted to internal encoding by setting this to On.+ h+ ]6 \* g9 }$ s+ C6 U
  1649. ; Note: Do _not_ use automatic encoding translation for
    + K6 I5 I% J; n1 e& ?
  1650. ;       portable libs/applications.
    ( j, X+ ?3 v1 K' A
  1651. ; http://php.net/mbstring.encoding-translation% j. u" h& a& V4 D% o! u
  1652. ;mbstring.encoding_translation = Off
    # Z3 c. Y5 C; i* Z/ ]$ r
  1653. ' ~+ Q6 c  Q+ y* Y/ \
  1654. ; automatic encoding detection order., ]  |  @/ z0 X% i) C. ]. D
  1655. ; "auto" detect order is changed according to mbstring.language0 V; l  e: T  ?6 I  c: ?6 k' o
  1656. ; http://php.net/mbstring.detect-order
    8 Y& R. O3 Q0 l5 E4 R# [% ?
  1657. ;mbstring.detect_order = auto
    + f$ P' p0 T3 [0 d; g4 W/ b/ U, Q

  1658. ' J$ n% L. x: k0 @6 d
  1659. ; substitute_character used when character cannot be converted
    : Q. `; L( X2 r  b5 I# v" o
  1660. ; one from another! }! |; D8 m: h( s0 t9 s, a
  1661. ; http://php.net/mbstring.substitute-character
    " l, q% j# s9 u) w2 N3 H" [$ a
  1662. ;mbstring.substitute_character = none
    ; X6 F2 k2 F: S: i! S1 ^

  1663. ) B8 i6 X( O+ j0 D& p8 b
  1664. ; overload(replace) single byte functions by mbstring functions.
    & x" s) j9 B" c9 r$ x
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),+ Z- M) W" c4 ]. Q3 G# e
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    / h. P3 z% N1 }! v2 w
  1667. ; For example, 7 for overload everything.% A$ J4 n, W5 F) w4 X
  1668. ; 0: No overload) ^# n5 l1 T, f; V7 h) G5 l
  1669. ; 1: Overload mail() function
    0 d( |7 ~" S% p+ t& n2 T, L
  1670. ; 2: Overload str*() functions
    4 k- `2 ^0 D0 I5 w
  1671. ; 4: Overload ereg*() functions
    + B4 t: D( W+ P3 n
  1672. ; http://php.net/mbstring.func-overload, ]: x( E* R9 ^
  1673. ;mbstring.func_overload = 0
    , v5 x2 e' V7 o( R# `

  1674. 3 j- x2 I$ Y; J7 a/ D6 c
  1675. ; enable strict encoding detection.
    0 c8 r- G4 u8 j' S7 Y
  1676. ; Default: Off
    . S* l8 V  D& R* V' D
  1677. ;mbstring.strict_detection = On7 j$ r) P7 G$ t* q' Y, K
  1678. " G9 b$ H1 g3 }( L
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ w* Q% y& l% ?! \
  1680. ; is activated.3 O9 ~/ d8 l/ U
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( c# F+ s" |6 n8 o/ b
  1682. ;mbstring.http_output_conv_mimetype=
    5 L3 |) L9 d% \* C, \
  1683. ( H6 l9 h; m3 ~8 `; s1 H
  1684. [gd]% e7 O' l) r7 K% v
  1685. ; Tell the jpeg decode to ignore warnings and try to create$ a7 `" u8 O/ b0 O+ H/ W
  1686. ; a gd image. The warning will then be displayed as notices
    7 d9 Q- P- a  a2 X( Z( L
  1687. ; disabled by default; M+ v4 E7 N6 I
  1688. ; http://php.net/gd.jpeg-ignore-warning
    " \% Y( C& N3 T) b$ o
  1689. ;gd.jpeg_ignore_warning = 06 \9 s# i) B8 x$ {9 \

  1690. ; p* r# C6 H7 U- s; i
  1691. [exif]
    . O8 |* m6 Y1 W% T% q; h& z2 _7 d
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 G; g$ ?  T& P- D
  1693. ; With mbstring support this will automatically be converted into the encoding
    ( r3 E( m. Q0 B9 z, s
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ' z, q) B8 E$ ~- z$ o
  1695. ; is used. For the decode settings you can distinguish between motorola and3 ^7 [  K9 Q9 @; a  D* S
  1696. ; intel byte order. A decode setting cannot be empty.
    8 R6 {. W" f" i9 ^6 `
  1697. ; http://php.net/exif.encode-unicode
    0 K. X# a# D3 G
  1698. ;exif.encode_unicode = ISO-8859-15
    1 k# M/ t4 C. e! W0 ]) n. F4 \$ d- j& c

  1699. - q5 ?7 u: _  {* @. Q0 w" c
  1700. ; http://php.net/exif.decode-unicode-motorola
    # }# n! c& k/ R: @. i: d# [
  1701. ;exif.decode_unicode_motorola = UCS-2BE. y: R- F4 J8 |9 M# U0 K+ G% Y" p

  1702. , S# O5 `* q. z( z
  1703. ; http://php.net/exif.decode-unicode-intel
    ) n* _% b/ O7 E0 w! @7 y' f# q
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    0 T7 L& G  D8 e

  1705. 2 h. ^% D5 x. ?. U  `
  1706. ; http://php.net/exif.encode-jis
    8 d, A6 u8 j9 c- U
  1707. ;exif.encode_jis =, }+ C0 c0 `" l* V' M

  1708. 1 S! t- ]) ?& R; ]
  1709. ; http://php.net/exif.decode-jis-motorola
    0 X( j6 D0 U; Q( P# s9 N  R
  1710. ;exif.decode_jis_motorola = JIS/ R- ?8 X  ]- o( G5 O9 ~
  1711. % b: \( v" i2 \# E+ p, l5 X8 m& k
  1712. ; http://php.net/exif.decode-jis-intel
    3 d* C# N, f9 A
  1713. ;exif.decode_jis_intel    = JIS* d* b0 ]) U- d4 R
  1714. ) M. \- F. y0 t& g$ @/ R( J% M3 ?
  1715. [Tidy]
    0 Q) P3 C: U# z4 ]
  1716. ; The path to a default tidy configuration file to use when using tidy$ ?2 W  r. V- ~6 E
  1717. ; http://php.net/tidy.default-config
    3 Y; L8 i: H9 J: F+ Z
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    : R' M4 F/ @% q5 t1 S
  1719.   w, v7 Y+ H- _2 @) r! [
  1720. ; Should tidy clean and repair output automatically?
    . l" }1 O7 R9 a4 _# A' [
  1721. ; WARNING: Do not use this option if you are generating non-html content
    5 c0 Q. Q0 J1 c
  1722. ; such as dynamic images
    ! l4 M3 O: F& h; q( K
  1723. ; http://php.net/tidy.clean-output5 b: i3 X$ }6 p  p2 ]' c; ?
  1724. tidy.clean_output = Off4 Y+ V! y- m2 ?0 U3 K

  1725. / L6 Q" J, B" _4 t: K) J! Q
  1726. [soap]* f/ @  [$ E. [8 C  n3 a
  1727. ; Enables or disables WSDL caching feature.) T/ l, ]" r. m
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ' e1 x% f! r; m9 A; D
  1729. soap.wsdl_cache_enabled=1
    3 L- j" S& C. F' O
  1730. . k, v  A& c. \# O8 I" R
  1731. ; Sets the directory name where SOAP extension will put cache files.
    - p0 _) Y0 m' s0 P
  1732. ; http://php.net/soap.wsdl-cache-dir! _; m+ g$ W: W4 h
  1733. soap.wsdl_cache_dir="/tmp". ]. i) N, [' |- f9 c2 _1 A1 n
  1734. 8 U7 N4 {" L8 `$ e: D9 \' [
  1735. ; (time to live) Sets the number of second while cached file will be used. v& w( m) X# O6 R6 x3 s7 [* s* |
  1736. ; instead of original one.
    ( N% e5 }, s% C% a6 }! s
  1737. ; http://php.net/soap.wsdl-cache-ttl
    " x! B2 t$ B, l& `  x! ]3 u
  1738. soap.wsdl_cache_ttl=86400& q8 B) n6 A+ g; g% U* @
  1739. ) t, `) H5 B# O7 j, w
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)# G9 j) i0 l! V' Z+ Y3 ?2 A/ J
  1741. soap.wsdl_cache_limit = 5
    # @2 X# f8 m' h2 ^7 R
  1742. + n9 a; s) h1 C$ x
  1743. [sysvshm]) o$ ~2 z/ [+ |9 G# ^. G1 Q# \
  1744. ; A default size of the shared memory segment
    . Q% E5 t$ e6 q$ `
  1745. ;sysvshm.init_mem = 10000
    " t% m' m) B# i7 S3 r( g

  1746. 3 l0 y0 K( r5 _8 Z0 e4 r
  1747. [ldap]
    % ^* G+ ?# Z' ~6 z! ~$ P8 Y
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    3 b  g# C3 f) N' S# D7 p
  1749. ldap.max_links = -14 r7 o* e+ y5 `

  1750. $ J! W. E, ~5 b) }' e, D" B8 m! c* f
  1751. [mcrypt]# }' V5 N" l' Z  a
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    3 H4 q2 ]' `2 J# i6 v9 n
  1753. 8 A. \: H3 J: b3 x* v
  1754. ; Directory where to load mcrypt algorithms
    9 P; H& N: J5 L3 e( H2 t1 C
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( {. a& @. T9 a
  1756. ;mcrypt.algorithms_dir=+ j/ q6 M. @  X: o6 @; \
  1757. " ?" s/ g$ c% @3 b+ l
  1758. ; Directory where to load mcrypt modes
    # @3 E& f& u& n0 ~) U6 T
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; X, T! }2 A/ o/ f, j
  1760. ;mcrypt.modes_dir=) N. M. U& F/ u' }1 X: }& K
  1761. ) O9 i- M8 f& N& E7 K; v% n$ C
  1762. [dba]
    ( V  f2 K; C* s4 R" H
  1763. ;dba.default_handler=, ^+ ^7 x) y3 U
  1764. % P) D$ r7 z, v" M
  1765. [opcache]
    # C3 q8 O% u2 ]5 L$ v6 v: m
  1766. ; Determines if Zend OPCache is enabled+ }( g& V! `: h( }( m6 f/ j3 e
  1767. ;opcache.enable=02 G( s3 F; L- M6 x
  1768. 0 q2 Y( g# W( g  a
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    $ X& N6 P0 r, j+ i
  1770. ;opcache.enable_cli=0
    2 b+ z4 `/ ^; ^) U4 M1 E
  1771. # H8 r3 x' f1 U
  1772. ; The OPcache shared memory storage size.
    ' U  g8 s/ l, J. S  W8 }
  1773. ;opcache.memory_consumption=64
    & z5 b& i, V1 ]7 q8 x
  1774. . {* i8 U0 C4 C: N0 w+ b4 P+ ~$ y, v
  1775. ; The amount of memory for interned strings in Mbytes.
    # F; w+ _/ H0 f6 @5 S
  1776. ;opcache.interned_strings_buffer=4  C) w* D" f. x3 q+ @! P4 K

  1777. / f6 P- h' Z, @* l" R
  1778. ; The maximum number of keys (scripts) in the OPcache hash table., n$ \' A- }: v' O3 @
  1779. ; Only numbers between 200 and 1000000 are allowed.& Q+ R  O# `# V- p9 V2 n' `8 Q
  1780. ;opcache.max_accelerated_files=2000
    3 D6 ]0 o( d" [' m0 A
  1781.   x' n7 d$ ]2 I
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 C6 f1 f1 L! p* f
  1783. ;opcache.max_wasted_percentage=5
    / F# I% z1 j2 v; @* D
  1784. / Q( e+ H- D& i3 |: N: d/ w) ^
  1785. ; When this directive is enabled, the OPcache appends the current working5 c7 k* k. E: F
  1786. ; directory to the script key, thus eliminating possible collisions between6 ^0 c( W0 X& w5 j
  1787. ; files with the same name (basename). Disabling the directive improves2 O9 c& X0 k% {
  1788. ; performance, but may break existing applications.( c# `* r9 G4 D5 _
  1789. ;opcache.use_cwd=1- S2 k5 b3 @- b1 s

  1790. 3 H! m+ B5 q7 w' l
  1791. ; When disabled, you must reset the OPcache manually or restart the* N$ ~6 J8 @2 U/ Q
  1792. ; webserver for changes to the filesystem to take effect., H7 y# z# k1 |, x9 G' d4 A9 H
  1793. ;opcache.validate_timestamps=1
    7 K/ ^# D! W1 T- \4 I% N
  1794. 8 t6 L. a! R7 P1 |' L
  1795. ; How often (in seconds) to check file timestamps for changes to the shared1 h5 q- s( a! S0 [; w
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . P' v- H1 Q. C0 Q  i( e  D: F
  1797. ; once per request. "0" means always validate)
    6 M# M5 T0 D/ B: n3 g% g' f( c2 a5 S
  1798. ;opcache.revalidate_freq=2
    . v; ~0 F' M3 T. k

  1799. ' _& z; J  \$ X5 ~4 T8 ^7 L( ~
  1800. ; Enables or disables file search in include_path optimization& N2 O+ F5 n7 v; w% B3 y- k5 x6 {
  1801. ;opcache.revalidate_path=0
    6 S) d, k3 c: \2 D) \$ \5 d% G$ D

  1802. " j  Q; B2 _( x6 \4 M
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) A2 E) n& m* Q8 w$ G
  1804. ; size of the optimized code.
    % L0 ]* o  t0 O
  1805. ;opcache.save_comments=1
    " P% l* ~2 Z9 w# h4 S# T* A* u

  1806. 9 {" \/ ~% Z$ J
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code" a( \, C, e/ {, {* t: a
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    * z; F7 o8 s1 a5 x: P' A1 J8 `
  1809. ;opcache.fast_shutdown=0# O# V% n# A5 O: p

  1810. 2 u- q1 {! H+ _% |8 V  {
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    # Z" E7 p+ o9 g
  1812. ;opcache.enable_file_override=0+ J2 i; W6 G9 Y  o  ~1 s9 ]

  1813. ' ?  }- E3 E- \
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    $ x3 m1 S( L/ _! {3 Z- n1 y" v
  1815. ; passes5 A9 t! `9 j8 L0 n' e
  1816. ;opcache.optimization_level=0xffffffff& b- a& D/ H) W& ^; P( ]
  1817. 3 V* |: W  L! \
  1818. ;opcache.inherited_hack=1$ H9 Y" d1 S% x: S0 m) A
  1819. ;opcache.dups_fix=02 C% C9 q7 o& B. f

  1820. ( u; z/ H! M. m, p9 E
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ; @2 y6 A0 e3 O$ n1 A6 A  X# L
  1822. ; Each OPcache blacklist file is a text file that holds the names of files: v3 M. ^% K% [
  1823. ; that should not be accelerated. The file format is to add each filename4 B  E! Z0 S- w$ u0 ~7 ?
  1824. ; to a new line. The filename may be a full path or just a file prefix; G8 ]6 I' F6 E
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    7 g8 |8 x- [; I+ d0 C+ @% l
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).( X* B+ R0 u6 B7 |
  1827. ;opcache.blacklist_filename=( I3 ?- D, r7 }: l# j( L" v
  1828. ' Q; L6 {# t( c
  1829. ; Allows exclusion of large files from being cached. By default all files6 C" ~' e1 Q$ ^* [; [7 U; g; `! d5 {
  1830. ; are cached.9 J' Y. D2 J" \
  1831. ;opcache.max_file_size=0
    " Q, `6 z: F' V6 \

  1832. : e1 y. C/ b* K: o* g$ T* C/ m
  1833. ; Check the cache checksum each N requests.5 K( w6 Y2 F0 L1 y' f
  1834. ; The default value of "0" means that the checks are disabled.
    ( ~# P) l$ Y$ Y  E+ P% a
  1835. ;opcache.consistency_checks=0/ E3 N# E! _- u- T. p8 W9 k5 ?

  1836. . f* O# O0 e$ b+ t8 Y) t" s
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    / f( q* b; D- w/ ]9 O4 \: n
  1838. ; is not being accessed.9 M- y( u3 l1 k% e/ q0 ^
  1839. ;opcache.force_restart_timeout=180. l9 d* U4 c5 j+ Z" Y, _) p. V3 m

  1840. ! f# M; D8 q$ i
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    1 I% |$ ]$ k+ Q5 l+ \
  1842. ;opcache.error_log=9 k' X* a5 b: ~# Z, I: K% Q
  1843. ; Z: k( t/ L# L* U  t0 p# E9 @# Q# \
  1844. ; All OPcache errors go to the Web server log.
    0 L8 h1 ^7 V# B- b, w) G
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* D1 y8 R! f( W! y9 ?" D
  1846. ; You can also enable warnings (level 2), info messages (level 3) or' S( f* }! P  m. b& H" W1 g
  1847. ; debug messages (level 4).- R7 k9 c' @. {5 P% K8 |
  1848. ;opcache.log_verbosity_level=1
    3 q" _: C' U8 l; a" l
  1849. ' h" F$ V9 N: a
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.; y* N/ m: k- ]) s
  1851. ;opcache.preferred_memory_model=" _) y7 ]' Q5 L0 Y  a, o

  1852. / ?4 H' Y) \. ^/ G, x5 t) X
  1853. ; Protect the shared memory from unexpected writing during script execution.
    3 U1 r9 O7 Y$ N; @
  1854. ; Useful for internal debugging only.1 }0 h1 }' `) D
  1855. ;opcache.protect_memory=0
    5 S5 f# j& ~5 {) F% }8 h& u& y
  1856. , _; B0 Y( f0 U. b  J4 h
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is, E- M4 l/ N  W" |/ S+ a
  1858. ; started from specified string. The default "" means no restriction8 U$ f& h, N  R- a
  1859. ;opcache.restrict_api=% u, C2 z+ Z0 [7 K! ?  a

  1860. 5 o7 f: k- X0 A9 |
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
      ~; w* ~( n+ n* C/ P
  1862. ; processes have to map shared memory into the same address space. This- r" L; k7 c3 n, Y1 }' Y6 w, {3 j
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ' ]. o8 S2 Z/ X6 M0 j% [% ^
  1864. ; errors.
    3 g- U4 x5 M0 e8 G( K$ E6 w) j
  1865. ;opcache.mmap_base=
    1 o  E1 w7 j; E# z7 k# l( u- K! }

  1866. / U6 a. q5 r; X: A5 N
  1867. ; Enables and sets the second level cache directory.6 w- A/ ]- O; D1 n& i" f! {- P
  1868. ; It should improve performance when SHM memory is full, at server restart or
    * z+ O! o* b3 f/ R
  1869. ; SHM reset. The default "" disables file based caching.
    ! M! p1 C9 J; q8 R. a1 e
  1870. ;opcache.file_cache=
    " y- x9 v" P6 \& p+ C& |1 [1 ^$ y

  1871. 9 c8 j2 ^) ?# p+ F( ?& L: k
  1872. ; Enables or disables opcode caching in shared memory.4 t# L3 N, M7 G
  1873. ;opcache.file_cache_only=0
    : ?2 }5 \5 D* h" G& F3 A, o5 S
  1874. / E& \4 `0 }3 a" A- D/ I/ X
  1875. ; Enables or disables checksum validation when script loaded from file cache.* G# d$ n$ ~4 B7 ]! {' n( ^
  1876. ;opcache.file_cache_consistency_checks=1
    0 d: @' Z0 @" H3 t8 ?
  1877. : r5 G. u6 _6 J' j) O- T4 n2 R
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    + m1 N. c( y9 b* _
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file6 M- E3 h( j8 U1 }
  1880. ; cache is required.
    7 ]% U$ \* w0 a7 g
  1881. ;opcache.file_cache_fallback=1/ M0 N' `6 ?, b8 {. y* V! U6 l+ v+ c; n
  1882. 5 _6 Z5 u9 \! d- @" k" V! F
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    7 h( V: D: ?. A
  1884. ; This should improve performance, but requires appropriate OS configuration./ }; [" ]- q6 [/ }/ R8 E
  1885. ;opcache.huge_code_pages=1
    5 F" R5 L+ O2 Z3 i  o5 p

  1886. + d/ Q  K: {, [6 k( A9 B& ^, x
  1887. ; Validate cached file permissions.# q" |+ r- V$ q7 S
  1888. ; opcache.validate_permission=0/ H# H7 I; ?5 k8 E2 k# v8 v  F
  1889. 8 M* ^8 @' ]# |+ E) A
  1890. ; Prevent name collisions in chroot'ed environment.
    * E+ @' Z9 ~5 e* a3 K
  1891. ; opcache.validate_root=0
      R' q- G5 Q# R- P1 t

  1892. ) \1 d$ C6 M( Y" {; m' _/ B
  1893. [curl]3 u9 Z* a& V+ u7 p" _: K) o
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 r7 y& P6 b5 v! E; a1 v7 K
  1895. ; absolute path.
    5 x( m0 D" Q" T0 H# ^4 y
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    " P4 K3 P: H9 ]! L9 m; v8 R1 D
  1897. 2 S6 A4 g( M7 {7 o1 v0 V9 q9 q* X
  1898. [openssl]; `& ?+ }; k+ D" y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem. i& L0 N# N/ s( H
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    4 \, v' U/ ?! v/ i: z
  1901. ; not specify a value for this directive as PHP will attempt to use the
    - J# ^; m- Q$ Y% m$ e- q, ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still) d) y# `; I. y/ ?8 ?; b3 o
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context9 g: x) g1 ^9 b
  1904. ; option.. Y9 j0 l  `: ~4 {& C2 }  B
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    . `5 g5 o6 ?" R8 V6 r4 y' E$ `
  1906. ( y5 W1 s2 B0 K; Q) m
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) k. f+ a9 x8 Y# n" y
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    + A/ m$ w# K* j. p1 B7 m  T
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    / n  z( x6 A& [) p) a' _; o  x, I
  1910. ; Most users should not specify a value for this directive as PHP will* ~+ a7 t- m; z# r0 P
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,6 W' |1 w' a- o( {" ]" ?
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
      W: ?* t! |3 F/ a4 ~) |
  1913. ; SSL stream context option.& _+ \) o8 {1 X
  1914. ;openssl.capath=
    ( P* L6 S; G+ x4 X2 |! B- p

  1915. : U1 D2 g8 o' F. u. |
  1916. ; Local Variables:
    5 y, J, O0 U0 ?- o, R, o! w) t5 K
  1917. ; tab-width: 4
    ' n' H$ d# b5 r* i
  1918. ; End:, \& \/ [+ R! h* c0 }3 g
  1919. ; T/ H5 R  r) ]; R4 r
  1920. ;eaccelerator* ~$ J. s. l  _4 ^/ a; j' E

  1921. 6 L  d/ [- h! A/ l. d' s# y4 ]
  1922. ;ionCube7 e& V' v: f* L( I6 @" v

  1923. ) d0 P8 _! x# P% T
  1924. ;opcache  e+ I1 Q. [6 Y9 E3 z, B9 B

  1925. ( c% K2 Z! ?6 J4 i9 l4 B. ]
  1926. [Zend ZendGuard Loader]  c% j0 Y2 g* D- }0 f# k
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.* H2 Y+ y& A* k, o
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so* U3 d( G2 w- R0 v; K
  1929. ;zend_loader.enable=1' t6 J6 ]1 Z' [$ w$ c4 A3 E
  1930. ;zend_loader.disable_licensing=0
    . b( b- S6 S& s! ]' B8 X
  1931. ;zend_loader.obfuscation_level_support=35 s4 h% w8 W1 M
  1932. ;zend_loader.license_path=  z% Z: C! l$ }! j
  1933. ! D3 y& A2 r- E0 ~' R1 K
  1934. ;xcache- J7 U) A2 a: V
  1935. 7 T/ k% ~- M# I! m* R( J  h) D
复制代码

: M) \) K' O* k$ T1 S5 m- {$ v
8 g6 |: K* M7 _9 r, X0 v& e, ?' z- q- B) Y

# }4 O  y$ @8 D$ q! b1 O* M
& E0 w! j( w5 L  h
4 _  j- h! q6 P/ N$ S+ ]# }0 a# e) V" y2 F, o; Z
PHP5.6版本原始设置* o, o' @/ l: u( X! j( P+ b/ U
9 [  C! P: F; \$ _4 @5 M- W6 E
  1. [PHP]8 H% V+ q) F! w( w' u
  2. . n6 o2 m4 ?' d9 o2 B1 y& X' @" M
  3. ;;;;;;;;;;;;;;;;;;;% F) E' l/ V: k4 K
  4. ; About php.ini   ;
    3 u( A1 j1 `9 N6 A, z
  5. ;;;;;;;;;;;;;;;;;;;/ J* J( C# {3 e# d' Q4 Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 ^0 ^' z( ?( w+ ~, H
  7. ; configuring many of the aspects of PHP's behavior.
    + B+ r: g/ e. n- i. Z

  8. 0 ]/ H  J6 D% f! d8 \
  9. ; PHP attempts to find and load this configuration from a number of locations.
    & _$ C: k% o/ n& |1 i
  10. ; The following is a summary of its search order:
    2 J: P" ]' ~9 t; M0 |; g
  11. ; 1. SAPI module specific location.
    # U- x* ]! }+ [
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    * e  k9 z4 l( K# P. J6 v: D% X
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' R$ G5 o) u4 T0 l7 ]& Z; Y1 p
  14. ; 4. Current working directory (except CLI)
    % M. {) o; P4 g# ?, L2 l
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP$ H8 n8 R9 p% b* i& e* q
  16. ; (otherwise in Windows)
    - G8 a5 L+ m1 H
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' @! m% ]- ?. A
  18. ; Windows directory (C:\windows or C:\winnt)
    / H1 ^0 F9 T: |6 W4 A/ C
  19. ; See the PHP docs for more specific information.
    * b% g$ t1 Y  j" }
  20. ; http://php.net/configuration.file
    1 W4 I6 O) G* L  N/ j1 T: `% _, v
  21. " K- W0 ?# r3 ^# }2 L
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    % f) v/ ~! m; u+ b* [4 f
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).! y( E$ x# l" |6 S. W3 v1 c
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    3 d* B, p  w; Z% L# p4 g) S# @, g' s% g2 j
  25. ; they might mean something in the future.
    ' }% X$ @9 q' M+ M: s
  26.   o+ [& g' L& _! ?" c, b
  27. ; Directives following the section heading [PATH=/www/mysite] only
      r/ {" k1 ^; r4 I
  28. ; apply to PHP files in the /www/mysite directory.  Directives4 p/ c% j* G+ i
  29. ; following the section heading [HOST=www.example.com] only apply to
    9 u. T8 P2 L7 T1 f- L
  30. ; PHP files served from www.example.com.  Directives set in these+ ]5 S: p( T$ h- p$ {7 `& ^
  31. ; special sections cannot be overridden by user-defined INI files or. F3 j- ?* ?/ i" E
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ( B; Q2 g& V/ [- b3 b2 x6 p* g8 Y
  33. ; CGI/FastCGI.
    ! Z9 N& |- W: z8 ^  Q; @  ]
  34. ; http://php.net/ini.sections! I/ i1 N# m; L, J
  35. 9 \. p, ~8 u9 Z2 z  Q' w- U0 p
  36. ; Directives are specified using the following syntax:
    ( P( v: O1 e0 X% k# ^$ \3 a
  37. ; directive = value
    4 T6 \5 F- l; V% L# h3 y
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 n7 ?" M: F, [; p% ~
  39. ; Directives are variables used to configure PHP or PHP extensions.3 e( h% k8 L& }. K
  40. ; There is no name validation.  If PHP can't find an expected
    ) Y# F$ p3 n' l9 e3 H
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " L9 `5 A8 D6 ~5 V! z
  42. $ g2 f5 S4 t& e- i
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 T. U% u8 Y/ _/ Y5 t" U
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! K6 _" ]; P! ?8 @
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a8 v1 P: `6 g  C+ T2 k. Y3 }( K' d2 O
  46. ; previously set variable or directive (e.g. ${foo}), f! J# N) @, F. U8 f

  47. , T& ^5 o% l+ o
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:. N2 L+ T& F4 h- N. l
  49. ; |  bitwise OR
    9 i: w: ~% H+ H/ ^# g
  50. ; ^  bitwise XOR
    9 }+ E0 i: \5 T+ t
  51. ; &  bitwise AND+ G* A! H# V  d, M; v  X3 z$ V
  52. ; ~  bitwise NOT
    / \" v. y/ M* O4 P+ ?; s7 \/ q
  53. ; !  boolean NOT( m3 ]  s" J% z7 X2 q
  54. ' c* {6 H4 P0 N; H% w% @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes." O4 v, H; s+ k" Y( f2 R( @
  56. ; They can be turned off using the values 0, Off, False or No.
    ! {) i$ Y! j2 g

  57. $ c( M- [8 J/ |0 j
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ O/ @2 v8 o( n! S7 \
  59. ; sign, or by using the None keyword:1 V6 k8 `) k0 j- Q! u
  60. * a! L4 W8 U  I# W1 N" b% K
  61. ;  foo =         ; sets foo to an empty string
    3 y$ @; L! I! g7 g( @
  62. ;  foo = None    ; sets foo to an empty string. V7 z+ F- b; p6 X$ E
  63. ;  foo = "None"  ; sets foo to the string 'None'
    # L4 ^& y  d1 t1 ^) m% H; ?' K! L& Y

  64. / j3 W, C: M' o, ]# Y3 l" C4 u
  65. ; If you use constants in your value, and these constants belong to a
    / W& `& h: C7 E. k" j( }" y: o1 Z
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
      s$ G0 K4 e( L# N: U
  67. ; you may only use these constants *after* the line that loads the extension.
      a; g9 m% _0 m

  68. : N3 j5 q( w$ j9 O5 z
  69. ;;;;;;;;;;;;;;;;;;;
    * p: ]9 @2 A1 G. v. Y$ K7 c
  70. ; About this file ;
    $ q6 B. F0 ]0 ^2 m; h" Z; h% `
  71. ;;;;;;;;;;;;;;;;;;;
    5 S* Y* q. ?0 {$ N# {
  72. ; PHP comes packaged with two INI files. One that is recommended to be used9 O$ Z+ q. S  P) l2 i6 e
  73. ; in production environments and one that is recommended to be used in
    " A3 U! U% {* \% i1 c8 ?& t
  74. ; development environments.
    * e  a  R. u/ o  L  A

  75. 3 O( f7 o' K  `. s/ `7 z! @
  76. ; php.ini-production contains settings which hold security, performance and9 \: P; ~6 b! }( S
  77. ; best practices at its core. But please be aware, these settings may break; u3 p( n4 {  B
  78. ; compatibility with older or less security conscience applications. We3 {) \. V! H9 J+ N# M
  79. ; recommending using the production ini in production and testing environments.
    ) W+ o! C- F; Z! ?, r# y
  80. ' M# N: @! \4 x' k' B- ^
  81. ; php.ini-development is very similar to its production variant, except it is
    ) d3 [% [( t; k2 P
  82. ; much more verbose when it comes to errors. We recommend using the1 e0 B0 k" X  O, [
  83. ; development version only in development environments, as errors shown to
    ! o# E5 O* J8 z; U% Y, u, ~
  84. ; application users can inadvertently leak otherwise secure information.
    9 U7 K+ A* D* L3 w# m$ J- Y
  85. # {$ G2 K6 Y- B  Z( H( L& c
  86. ; This is php.ini-production INI file.
    9 w3 E. }4 l5 T1 c% ]
  87. + q# }5 f0 v. H$ D% g
  88. ;;;;;;;;;;;;;;;;;;;
    ! {( B$ d9 a0 K& z  V9 j' b7 O
  89. ; Quick Reference ;
    3 J; {; Q1 s5 b9 q# T
  90. ;;;;;;;;;;;;;;;;;;;6 n' f) K% q& L) ]/ ^5 _
  91. ; The following are all the settings which are different in either the production. t7 p! H, n' c& K
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 q* N* ^: s5 [" z2 k1 {3 \
  93. ; Please see the actual settings later in the document for more details as to why. t) j4 q: f  h
  94. ; we recommend these changes in PHP's behavior.7 k0 g4 z- V  l) v5 y

  95. ! l- ?: M+ c" M! E
  96. ; display_errors
    , r7 F& h/ r0 \$ D2 X4 h4 [- `0 p
  97. ;   Default Value: On  B8 R9 J6 R. b2 f+ e, x* @+ C
  98. ;   Development Value: On
    % x1 v" A& u3 B" t# S8 [2 ?; ^
  99. ;   Production Value: Off! @! ]* {2 [# |2 O2 y' M1 A0 K- p

  100. ( u  Y( `/ H4 @+ O5 {
  101. ; display_startup_errors
    7 s6 p9 d9 M' V1 ?5 {7 _
  102. ;   Default Value: Off
    " h/ u; M* C; I0 h/ v. |8 G8 W
  103. ;   Development Value: On9 b+ d3 |: A- {1 \' Q8 ^4 T; Y0 P
  104. ;   Production Value: Off
    , I: m7 }4 ~  i! @+ F8 K0 c5 L
  105. 4 i+ T% G) j* g1 @/ U( j
  106. ; error_reporting& f0 g, H' ?) i% _! s' A
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 P8 f! I9 b! k
  108. ;   Development Value: E_ALL  T7 g$ S( Q, i: t5 r3 H2 j
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & G* y  |$ `8 h0 ^& S

  110. - S$ Y) H0 e/ A7 ]8 J$ ?7 c
  111. ; html_errors* Z$ k0 B. W" V$ }; O; w
  112. ;   Default Value: On
    + S' e! [& Z& {* g2 a% c1 d
  113. ;   Development Value: On' `  Z1 ^7 A' L! K
  114. ;   Production value: On1 N' e, H5 c! T  A6 Z6 w. G/ ]) o

  115. ( Y5 u- O1 i0 V1 h& }% P6 R! m0 x9 }
  116. ; log_errors
    : a/ e% E/ Y! C
  117. ;   Default Value: Off# u; `* G: ?# g
  118. ;   Development Value: On$ U! H/ t4 V1 t2 ]7 _1 _
  119. ;   Production Value: On
    ( X$ X6 j7 I. C0 B; @! P  x" O
  120. 9 L# l! Y  }  }+ s% @2 y  y
  121. ; max_input_time
    ' s! r( @5 ?) @" ^
  122. ;   Default Value: -1 (Unlimited)7 ~& D( N( P1 ], u: W  F9 {
  123. ;   Development Value: 60 (60 seconds)
    / a  {5 ~. n3 p
  124. ;   Production Value: 60 (60 seconds)3 ~0 @* D7 I, o4 L: y& z
  125. 9 K* ]7 ~& c/ Y% [
  126. ; output_buffering- q: ]* \4 n. V6 O* i& \1 m
  127. ;   Default Value: Off
    ) o- k3 K# V. Z* R7 b7 N
  128. ;   Development Value: 4096
    1 t' L8 R% H3 a8 U4 l
  129. ;   Production Value: 4096
    ; G4 I( u2 z3 H9 t/ Y% K; g

  130. 3 l, C) u( C3 r  Y7 K0 c% Z
  131. ; register_argc_argv  Q, h5 `+ \& ~  U, Y* `: c
  132. ;   Default Value: On9 W/ ^; }& y. b9 \
  133. ;   Development Value: Off/ v# y# K' O$ f
  134. ;   Production Value: Off. @( L* v4 H% A4 B! F+ \

  135. # |8 }6 ~$ @- l: H& R0 ?
  136. ; request_order0 l1 W: M& ?9 i+ G
  137. ;   Default Value: None
    # C! C, @4 H/ p' H
  138. ;   Development Value: "GP"1 p+ f7 D- p; b3 _
  139. ;   Production Value: "GP"
    : J. t% G3 Z9 [( Z
  140. ( f& K, a; B, n5 u! @. n8 {
  141. ; session.gc_divisor% L/ f6 `; l$ b2 B, ?5 @7 r
  142. ;   Default Value: 100, w3 H- f$ e" t+ T# o* y+ j. R
  143. ;   Development Value: 1000
    ; [% ^) F, w$ V# w6 ?+ P
  144. ;   Production Value: 10001 K4 `* m& E9 a# q% g
  145. 7 d0 d4 H: ]- o
  146. ; session.hash_bits_per_character
    7 U2 z$ C& ?; R/ m+ m1 K! Z
  147. ;   Default Value: 4
    ' j! e. T, ~/ T+ G
  148. ;   Development Value: 56 ~9 {. Z# z7 X( D9 q0 x; N
  149. ;   Production Value: 5( K9 ~. J* q9 Y$ y( |
  150. * N  M  q! v$ R
  151. ; short_open_tag: R, |% {+ Z' k; d2 K
  152. ;   Default Value: On6 c4 Q# ?/ p" L$ m# n! e3 v% H
  153. ;   Development Value: Off
    5 w# @: [: d( l. G1 R
  154. ;   Production Value: Off
    ( S6 h7 v% M) f! Q
  155. % G9 S; i, j/ [( O: k
  156. ; track_errors
    6 V7 L4 W7 W( ]! }; H
  157. ;   Default Value: Off( p- y( z2 f: X
  158. ;   Development Value: On7 l- T! y/ Q9 \. t
  159. ;   Production Value: Off; n! W4 ?  s' e6 M+ l
  160. 4 ]& w& T5 {$ w( A  ^. I: P/ x- M
  161. ; url_rewriter.tags, [/ r1 K0 G( ^' y1 `6 o7 \
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ i% i! j( i  s$ W9 v# O5 C
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . G! r( t( l; n; B$ B3 \; u, j
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 u& L  S3 G" t! b' L
  165. 3 U; \6 R' d' x7 e
  166. ; variables_order, a9 m/ t/ g2 [9 Y3 u; C7 H  z
  167. ;   Default Value: "EGPCS"2 n/ w* w: F2 h
  168. ;   Development Value: "GPCS"
    + e: W( S" e* Q/ Y  @, g" i
  169. ;   Production Value: "GPCS"
    3 C2 Y& ]' `4 s5 U) g0 T7 N% Z( x/ b: \

  170. ) @) \5 O( G7 Q' c( l. C
  171. ;;;;;;;;;;;;;;;;;;;;2 k6 x+ ]. a- Z$ C: o) {
  172. ; php.ini Options  ;
    % ~3 ~% f, i, K6 |  U. ]+ F; }
  173. ;;;;;;;;;;;;;;;;;;;;/ c1 V+ z; P/ x. D! e& v7 n! h
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"3 r. Y$ Q% j8 l: k( B1 I% g/ S
  175. ;user_ini.filename = ".user.ini"
    7 K3 j/ m- E. Y+ w) L
  176.   H4 v/ m8 U/ v. C  a
  177. ; To disable this feature set this option to empty value+ V+ T& J/ n0 [
  178. ;user_ini.filename =
    ) U  ^# D, w, r

  179. 0 [3 f: i6 v! f1 K1 _2 O! d0 R. I/ b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & m. i& Y" k; |+ ^
  181. ;user_ini.cache_ttl = 3004 b: \& A& H( o8 \/ _0 }) \

  182. 7 }7 E& W% U* E" ?7 I4 [! m/ u( D
  183. ;;;;;;;;;;;;;;;;;;;;4 W0 x3 {% {! |: Z5 W/ \& {
  184. ; Language Options ;
    9 Q. T/ m: C7 ~7 `9 Y" T
  185. ;;;;;;;;;;;;;;;;;;;;1 L) ]: o) O+ Y& n8 @' c+ [

  186. 6 l' f( c. A  V( K' `
  187. ; Enable the PHP scripting language engine under Apache.
    " ]$ v6 ]1 O# ?. s
  188. ; http://php.net/engine6 I, F" d. u: e  l3 _3 u
  189. engine = On# N- w, V% [! N; N  s2 [

  190. 1 f# K8 L4 g% a, `7 a7 P
  191. ; This directive determines whether or not PHP will recognize code between
    / W7 B" _8 V3 s! Z
  192. ; <? and ?> tags as PHP source which should be processed as such. It is) u: q6 L+ I2 m6 f
  193. ; generally recommended that <?php and ?> should be used and that this feature
    * I. A) c, `  o  r
  194. ; should be disabled, as enabling it may result in issues when generating XML3 G- N$ T) s) o4 |* L
  195. ; documents, however this remains supported for backward compatibility reasons.
    : L) k2 x' ~5 w7 ^+ X* @  s: ^$ `; ^
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    , h+ g( c, |2 N
  197. ; used regardless of this directive.+ u' n, H  L* z/ }" @/ \& Y
  198. ; Default Value: On
    " ?& M8 |$ Q% j) O& S& {6 R' z
  199. ; Development Value: Off
    * j2 L& |, ?, v" J( G; A
  200. ; Production Value: Off8 r% p5 g; ~" P+ a2 U* i1 i  P( o
  201. ; http://php.net/short-open-tag* T2 h% w* j: \2 }# P9 ~% v+ q
  202. short_open_tag = On
      ?& g( S6 }3 P
  203. 2 w  f7 Q5 I6 y% P( r# e
  204. ; Allow ASP-style <% %> tags.8 Y4 n' Z* ?7 [1 f! w
  205. ; http://php.net/asp-tags! o8 Q- q1 z0 R5 G& O5 j: s6 f
  206. asp_tags = Off1 z1 g1 w; a8 z5 s

  207.   t( m5 I; J, H. l. P! W8 t3 Y
  208. ; The number of significant digits displayed in floating point numbers.3 w9 `  R$ m8 x" `
  209. ; http://php.net/precision
    ; n0 D# @" v( G2 P
  210. precision = 14' e) c* n& m3 L5 V( I

  211. 5 U3 Q5 A' l0 ^6 f6 F
  212. ; Output buffering is a mechanism for controlling how much output data
    6 s0 Z5 N! a+ i- t
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! v" P) @1 U0 S: e, ^( V( [
  214. ; data to the client. If your application's output exceeds this setting, PHP- t) N9 u9 D9 i- |' |6 h
  215. ; will send that data in chunks of roughly the size you specify.. S: P5 G. u) M' e/ ^3 B, W5 Y
  216. ; Turning on this setting and managing its maximum buffer size can yield some+ a* e5 {$ Q9 V
  217. ; interesting side-effects depending on your application and web server.5 k% `4 t* D5 u/ S$ K
  218. ; You may be able to send headers and cookies after you've already sent output8 ?, J8 c2 B. o/ ]1 \
  219. ; through print or echo. You also may see performance benefits if your server is
    3 P, U3 |) w3 b3 z; Q
  220. ; emitting less packets due to buffered output versus PHP streaming the output5 u" ]9 s% _% p2 X
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , t3 Y; L* w; {8 j' \0 q
  222. ; reasons.4 O; |) E. B) F0 ^5 N2 ?* U
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    9 Z% I( O: q  z4 T
  224. ;   functions.
    . b9 u0 h/ P$ G9 a
  225. ; Possible Values:- o3 g* o( i; e9 T, S
  226. ;   On = Enabled and buffer is unlimited. (Use with caution): i3 _2 [+ O3 b" d- B7 _
  227. ;   Off = Disabled
    4 r4 H9 ]4 |* O* E5 @4 e6 }$ x& b
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.  a1 d% F  A( z  Z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI2 r4 |' j8 `+ Y6 q  M0 p# w) p. u
  230. ; Default Value: Off" k3 c2 L1 U( I. G# e
  231. ; Development Value: 4096
    ; @' W* t* ^6 x
  232. ; Production Value: 40965 ^$ R- l8 p! b3 K' |* ?" R
  233. ; http://php.net/output-buffering
    % j2 r! z: [% ]% r, r' c) L
  234. output_buffering = 4096: X' ]: E; R/ }( S* t5 Q$ T, f
  235. " n; D4 _/ Q  c0 Q7 M: b
  236. ; You can redirect all of the output of your scripts to a function.  For
    & m3 a& `% ?% V
  237. ; example, if you set output_handler to "mb_output_handler", character/ x0 v% f/ z1 x! m, o7 ]" s& c
  238. ; encoding will be transparently converted to the specified encoding.; C& j4 a6 w/ }. U
  239. ; Setting any output handler automatically turns on output buffering.
    0 v8 d1 f$ X4 N6 T& p4 L
  240. ; Note: People who wrote portable scripts should not depend on this ini& E, z1 W( d$ S9 i$ Y( F
  241. ;   directive. Instead, explicitly set the output handler using ob_start().# k; v9 {3 n2 |
  242. ;   Using this ini directive may cause problems unless you know what script
    $ n! k! C. N' }3 u2 Q5 q0 t6 _
  243. ;   is doing.
    ' x! w/ P( c+ R$ z
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    % `! T+ ?) J* F3 F4 G* T* [6 {
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".5 R8 l( w; Q0 M7 c3 R: ?6 ?( m, Z
  246. ; Note: output_handler must be empty if this is set 'On' !!!!. i- w" ?; I$ o- C+ e, U  J
  247. ;   Instead you must use zlib.output_handler.
    / ]# Y8 B/ ]+ N; H% \2 u3 ^$ f
  248. ; http://php.net/output-handler
    4 t# k, w# i" o+ [/ f5 E
  249. ;output_handler =
    8 o# R4 Y  l6 p2 m5 s) {  Y3 r
  250. * U) k; `% \  n
  251. ; Transparent output compression using the zlib library5 x" m! D$ a- }! P/ f
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + O; z; Q+ W4 u- H
  253. ; to be used for compression (default is 4KB)
    / Y2 w: I' X& N( ?6 {) Z
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP- i+ [9 w" l2 Y, P& S; M
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    & ^5 n9 P9 e  F" d
  256. ;   compression. If you prefer a larger chunk size for better
    4 i5 s8 W* F! X
  257. ;   performance, enable output_buffering in addition.
    / I) |0 A0 B: ]& v& B2 D( Z
  258. ; Note: You need to use zlib.output_handler instead of the standard
    + n. i  a" Z* k
  259. ;   output_handler, or otherwise the output will be corrupted.
    . o8 E) [9 S  n; b8 G4 K
  260. ; http://php.net/zlib.output-compression: E* i# l  `% r1 _
  261. zlib.output_compression = Off/ R% x, r( I6 c
  262. 4 q8 G$ x4 R8 g* ?, Z7 A# n$ K
  263. ; http://php.net/zlib.output-compression-level) {2 p! M& X2 E7 H3 z
  264. ;zlib.output_compression_level = -14 t! V% p. ?, n% o9 a$ w( g5 }

  265. & ~% S" {+ R4 A$ c9 ]( d7 h! H& F7 ]& i
  266. ; You cannot specify additional output handlers if zlib.output_compression8 I) ~; V* }* {' p9 M
  267. ; is activated here. This setting does the same as output_handler but in8 i) N- j, c; j# A3 k- ~$ F
  268. ; a different order.% G8 v  ~- y7 ]  N0 ~
  269. ; http://php.net/zlib.output-handler+ t0 W7 O* `8 O
  270. ;zlib.output_handler =/ v, i1 k* H9 k

  271. 3 C5 v; O! b' Q. r
  272. ; Implicit flush tells PHP to tell the output layer to flush itself1 q" s3 s& q# q
  273. ; automatically after every output block.  This is equivalent to calling the+ }! Z* U5 T8 L. h) N
  274. ; PHP function flush() after each and every call to print() or echo() and each  _, @6 H1 @1 r0 X& p5 Q5 Q7 E3 |
  275. ; and every HTML block.  Turning this option on has serious performance
    1 V$ f5 Y5 J4 i
  276. ; implications and is generally recommended for debugging purposes only.. H1 t1 D6 s! b% m# x$ G! r: h
  277. ; http://php.net/implicit-flush
    . ^* k$ v5 }0 V! [  p6 G
  278. ; Note: This directive is hardcoded to On for the CLI SAPI7 L2 L7 s" b/ E4 ^
  279. implicit_flush = Off9 X) V  v$ ^& z3 r. @& F
  280. / Y+ }  z" _* N1 T0 n7 V
  281. ; The unserialize callback function will be called (with the undefined class'; M, o- `6 S! r1 v+ _5 G( f
  282. ; name as parameter), if the unserializer finds an undefined class
    3 s8 ~, G. o+ r. C
  283. ; which should be instantiated. A warning appears if the specified function is
    % W; U! ~0 s& y& @. \/ g
  284. ; not defined, or if the function doesn't include/implement the missing class.3 U1 b6 R1 e" [
  285. ; So only set this entry, if you really want to implement such a( j, v* E1 ?3 `9 N, ~
  286. ; callback-function.
    ) z' G  Q. ?. \# j* F
  287. unserialize_callback_func =
    / s, t  n6 b8 G9 P" \

  288. ! @4 d2 ^. D- S8 f
  289. ; When floats & doubles are serialized store serialize_precision significant
    # p2 Z, W* F7 x1 B
  290. ; digits after the floating point. The default value ensures that when floats
    3 m9 P* I7 x% F5 K
  291. ; are decoded with unserialize, the data will remain the same.* z3 C, @! n1 |1 r8 Z1 }1 |9 l8 n
  292. serialize_precision = 17
    ' E8 j3 |6 D8 @* s! D

  293. / e: A3 B/ b! O' f
  294. ; open_basedir, if set, limits all file operations to the defined directory+ ?; j! a4 d5 Q9 `. I6 p. T7 j% t
  295. ; and below.  This directive makes most sense if used in a per-directory8 j  o$ z- O1 L8 x: g( l8 I
  296. ; or per-virtualhost web server configuration file.
    * v  X7 b! X( N' h
  297. ; http://php.net/open-basedir3 y) _: V+ q- x$ x) z. o% U' e2 N
  298. ;open_basedir =
    7 n* b; _& ]! I; I! E* e# N

  299. - a/ U8 n, p7 {! @( t9 N
  300. ; This directive allows you to disable certain functions for security reasons.7 N. S( ?) f, L! ?( f. d. n' c
  301. ; It receives a comma-delimited list of function names.  e( b" [( r2 `/ c/ ?
  302. ; http://php.net/disable-functions8 [# `. q8 R# I
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    * t+ H; U- J' |$ N

  304. $ q5 }- L, F: c) A# H8 b
  305. ; This directive allows you to disable certain classes for security reasons.
    ; x2 {9 v1 l( N4 K
  306. ; It receives a comma-delimited list of class names.
    & a$ S, M) H. {9 g* M
  307. ; http://php.net/disable-classes
    ' {9 g* h6 x7 z  U$ L0 H7 ?4 ?9 {
  308. disable_classes =% f3 z$ F! A3 U# ]- k4 v
  309. $ o" t6 a# X3 A7 F  K6 k8 }$ t
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    0 W- }& Y8 t$ m# i  {$ [" F2 D
  311. ; <span style="color: ???????"> would work.
    . v/ `( [  {5 |( [  \
  312. ; http://php.net/syntax-highlighting! \! S# d; E6 W. \( Y; x! X7 b7 R
  313. ;highlight.string  = #DD0000! u) e% K+ w( ~2 t6 y* _; {0 B
  314. ;highlight.comment = #FF9900
      t1 H- r& S: P9 v6 S0 x
  315. ;highlight.keyword = #007700
    9 E4 ?0 a% A+ u& }# s. H! X, V! l
  316. ;highlight.default = #0000BB: R1 n) W( |1 C, k' |1 ], h2 h! X# I
  317. ;highlight.html    = #000000
    % }) h& {7 t* g6 b0 @

  318. ' l: y- F! m7 w" u* B
  319. ; If enabled, the request will be allowed to complete even if the user aborts" U* @+ ~: d5 F( J) t& l
  320. ; the request. Consider enabling it if executing long requests, which may end up
    % k) S) Z6 ?; K- m* @
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior5 U! n, `2 X4 {/ a/ j* @3 M" \
  322. ; is to disable this feature.
    ( ~$ m  p5 r/ F
  323. ; http://php.net/ignore-user-abort
    % |4 `/ B8 O' j+ T' R5 _0 x
  324. ;ignore_user_abort = On3 n( K+ G' C# i+ c
  325. : o1 o' R* R" J( s. q" r( U
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    . V  w; y% T4 }- x1 m/ \8 T4 u
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    . S) R3 D  L; z) l8 R. }( @
  328. ; the file operations performed.% i, f+ `0 D4 w) h" J# y+ _0 h
  329. ; http://php.net/realpath-cache-size/ a1 n4 U' k: _2 P& U
  330. ;realpath_cache_size = 16k. }7 A. Q/ Q* w  D5 v3 e- G
  331. 3 E% C4 |5 A0 b8 J" K; @3 d
  332. ; Duration of time, in seconds for which to cache realpath information for a given( B3 ~# ?) p7 P6 ]# Z
  333. ; file or directory. For systems with rarely changing files, consider increasing this8 U, d0 s1 i) X/ S
  334. ; value.# M1 u) @. H, M. P
  335. ; http://php.net/realpath-cache-ttl9 Z7 `3 G% \5 L# E
  336. ;realpath_cache_ttl = 120( ^2 H9 p3 q( _- k
  337. : D; \& h& W8 Q9 K2 Q
  338. ; Enables or disables the circular reference collector.& ]/ m2 z$ p: j! K/ q( _
  339. ; http://php.net/zend.enable-gc; k5 T3 [5 }0 [
  340. zend.enable_gc = On9 @$ e1 e/ W  S9 e. ^8 N1 b) {  C) K
  341. ; Z( S) E5 n* {* f6 ~! C: l$ O. K; X
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ( r& v% t6 w8 r3 C+ Q. v8 j
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- [2 ~7 J$ w; M$ w' n: [
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    * T# o2 N) B5 G' m
  345. ; Default: Off
    2 b! I& }* j7 o: {  S' t& p
  346. ;zend.multibyte = Off
    ) P' ^; W) @; y8 D! `$ m

  347. 9 R1 i- d& B& K5 K8 X
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    3 O' p; H' n$ Q7 P5 m( |1 \
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.8 V! y( t$ E# I9 V$ X
  350. ; Only affects if zend.multibyte is set.: A  O. ~% j  N( z
  351. ; Default: ""1 g, j$ i+ J: z3 }- Z$ c( p
  352. ;zend.script_encoding =. K& K% W# g2 p/ s  h

  353. 3 l: ]7 \7 V0 y3 C2 ^3 b: W, b7 e
  354. ;;;;;;;;;;;;;;;;;
    ! b$ S, O9 I  \! v8 q7 [
  355. ; Miscellaneous ;
    ' X$ k% z5 E1 ?
  356. ;;;;;;;;;;;;;;;;;/ Q0 K2 ^9 X. o1 H, M$ S: f  L

  357. 1 z. ]3 n9 H9 u, D
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    * n  v  K+ q0 C" x! F& g; [9 ?: \# @
  359. ; (e.g. by adding its signature to the Web server header).  It is no security. y/ r2 V6 x( U% T% n! H
  360. ; threat in any way, but it makes it possible to determine whether you use PHP9 i- B1 c1 a! x0 f& G: x! _9 t
  361. ; on your server or not.0 v  |% L8 s+ D8 |4 l: }$ [/ b
  362. ; http://php.net/expose-php
    0 S( E% F: }! y, o& L, u
  363. expose_php = On2 O7 a: }# Q, r8 J

  364. . k  D/ _% Y" g+ i: k+ ^
  365. ;;;;;;;;;;;;;;;;;;;
    4 m& L0 ^, d: K8 d
  366. ; Resource Limits ;
    0 J6 k. u( A9 g; U- Z+ e3 t9 {- Q
  367. ;;;;;;;;;;;;;;;;;;;
    7 Y( `; G+ q$ b! e' F8 ?

  368. + V$ {$ G) k/ W7 r  B; Q
  369. ; Maximum execution time of each script, in seconds
    ( V( V( _2 b0 y
  370. ; http://php.net/max-execution-time
    , x9 L0 M% o% i: G! g% W  m' [
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    # z0 s: |8 G: u) w; Y) D
  372. max_execution_time = 300+ e" l8 U. h9 G" r9 S3 {8 ^. p

  373. 7 E8 p. [0 f+ ]1 }4 O
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    * R, w5 |1 h4 n# n: R; S+ b
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly$ ?/ ^1 j8 _7 _# G1 ~# a
  376. ; long running scripts.
      d( b, R! V1 `; @- `' n
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI9 e7 _7 a! k+ J
  378. ; Default Value: -1 (Unlimited)" p: o% _/ j1 u1 g  h
  379. ; Development Value: 60 (60 seconds)
    & i+ _7 |* U" p: }! B9 f
  380. ; Production Value: 60 (60 seconds)$ d0 R6 r5 x$ W! v
  381. ; http://php.net/max-input-time
    7 Y6 q# L$ A; K8 j/ f, J
  382. max_input_time = 60) [5 O2 U, N, m1 J; d

  383. $ X$ N, j1 L/ K
  384. ; Maximum input variable nesting level9 l, }& N0 b  V) r( q% C
  385. ; http://php.net/max-input-nesting-level  r9 ~+ Q+ b. u! ~- H5 _. i9 j
  386. ;max_input_nesting_level = 64
    + [- j* |; h# P0 A
  387. 5 P2 f! i3 s6 G2 @  N! Y5 Y
  388. ; How many GET/POST/COOKIE input variables may be accepted
    / O! h; S" y; d6 B  K; Q5 Q: r: ~
  389. ; max_input_vars = 1000/ u3 {" P0 L# N, Q
  390. ; n& [3 E4 `+ u
  391. ; Maximum amount of memory a script may consume (128MB)
    / ?! V9 V  t- I& ~% M
  392. ; http://php.net/memory-limit9 r* K* f# K( U$ m
  393. memory_limit = 128M  U' O: g( G8 a  E

  394. ' b' x6 }' i2 I6 {7 ^4 d# s& W2 i
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 g8 y  G$ D, ]) m( ^1 @
  396. ; Error handling and logging ;, D6 J) z( X/ E% I6 u5 F1 _& v
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " O7 I* R! P. D

  398. 7 |' u, }' }7 ~* b. H' U) G
  399. ; This directive informs PHP of which errors, warnings and notices you would like6 `; B& q: n2 [- J
  400. ; it to take action for. The recommended way of setting values for this
    9 H6 m2 k! w( e' e- q5 i
  401. ; directive is through the use of the error level constants and bitwise
    9 l0 b& J9 y7 o' Y( X5 V" h
  402. ; operators. The error level constants are below here for convenience as well as: s( U4 D/ ]' @, n1 L( p/ w% i
  403. ; some common settings and their meanings.* e- J# Z$ s: T# ]: U) b: p: [
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' N4 ]6 x5 P4 _0 T; n4 ^
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! j! W% ~3 _6 n- t, v9 [  V' t
  406. ; recommended coding standards in PHP. For performance reasons, this is the0 m1 G) @) x/ X/ ]+ g' t7 a
  407. ; recommend error reporting setting. Your production server shouldn't be wasting, K3 O7 N1 h6 I3 D, z& `  |+ M- d
  408. ; resources complaining about best practices and coding standards. That's what! g# ^& z3 n1 o) H
  409. ; development servers and development settings are for.
    + ]# ~/ d: Z. i
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    / F( b  q& x: F9 s% X; ~2 I
  411. ; means it pretty much reports everything which is exactly what you want during
    7 F: A# k/ ~! l+ Z& x8 g
  412. ; development and early testing." m  o4 d- z' t9 I* f- p- t
  413. ;
    2 ?6 T! `' f( m( y5 R. w
  414. ; Error Level Constants:& k# F6 K# l8 u- @; o- u% b) H
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)8 @0 q$ ^" E% l' h* I/ z
  416. ; E_ERROR           - fatal run-time errors
    & p1 \# `4 B- c
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    & q1 A" Q3 `! \" i
  418. ; E_WARNING         - run-time warnings (non-fatal errors)- Y( C- b6 P3 p# l; R& q1 ?
  419. ; E_PARSE           - compile-time parse errors, b. o; ~* _' z/ x; J- A/ R( F
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    * E- f4 T  _, `
  421. ;                     from a bug in your code, but it's possible that it was
    3 P. j/ P, w$ O/ Z! L  m
  422. ;                     intentional (e.g., using an uninitialized variable and
    / l( ]+ m1 h- L) G) o% ]8 x3 q# L' ~) `$ ~
  423. ;                     relying on the fact it is automatically initialized to an0 p% m4 k, j, \# w  m; e5 i
  424. ;                     empty string)
    6 @6 ?! T* H' c0 ^1 t2 f3 d8 x5 u
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes5 T5 d( }+ o# X0 j
  426. ;                     to your code which will ensure the best interoperability
    : Q5 [& U( J5 `# F# Y+ g' O* N0 L1 t
  427. ;                     and forward compatibility of your code
      f, e: `- }  m7 D+ [
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    . P3 |* x; z2 I1 T8 }2 B  d
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    4 G6 Q( @9 X) `1 E* \
  430. ;                     initial startup6 H" ~% v# T! [& P+ j# M: ^
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & e7 B4 q7 j7 h& C5 S% v
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    4 o0 v, s- u+ R" ?) d- Q
  433. ; E_USER_ERROR      - user-generated error message+ h7 o' l2 `! y
  434. ; E_USER_WARNING    - user-generated warning message
    / R7 T" l* X* M, Z. r
  435. ; E_USER_NOTICE     - user-generated notice message
    5 t6 Z1 `; K7 v4 d) x% k  i
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    # M; i5 K/ O& p( D
  437. ;                     of PHP
    5 c5 c8 Y9 N9 b  t* A' ^! l; z
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; G7 }2 r8 Z$ Z2 u9 Q
  439. ;( p& y. l& O& b) l( h
  440. ; Common Values:
    7 a; m* b, P% Z; {8 W; u
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 g# r0 E+ w7 S  l" ?& b
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 F  M- ]7 f+ }
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) u, {2 @) A5 {0 D6 J
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 M& G+ k0 |9 h, {1 q, r
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / v* {3 z6 H' I: q1 e
  446. ; Development Value: E_ALL( t5 [% V% R3 Z3 U" W9 T# p
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / u6 `& c6 T* j+ R; K, j9 ]( a; b
  448. ; http://php.net/error-reporting# i% A( @5 |2 G3 {$ _9 }, S% A
  449. error_reporting = E_ALL & ~E_NOTICE
    ( T5 ?4 B. \# x% S! p9 @
  450. * D. _) \, I+ f6 {: n" c
  451. ; This directive controls whether or not and where PHP will output errors,0 t0 b" A2 c2 o
  452. ; notices and warnings too. Error output is very useful during development, but
    5 W6 I/ m6 @1 j" `. s5 q
  453. ; it could be very dangerous in production environments. Depending on the code
    1 P7 M+ U: a: x3 O. t) ]3 q
  454. ; which is triggering the error, sensitive information could potentially leak
    6 d! d! S8 a/ ^, D5 U
  455. ; out of your application such as database usernames and passwords or worse.
    9 O& L/ Y5 {6 Q  u3 L4 D3 J, l
  456. ; For production environments, we recommend logging errors rather than$ a" S4 K% ]) i+ ?$ L
  457. ; sending them to STDOUT.
    & v. d+ R" Y2 H$ O& f" i7 \
  458. ; Possible Values:: S' {$ m  E% |3 G' S+ y
  459. ;   Off = Do not display any errors
    # j! U: Y# {, W9 C( {" `1 s
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" \. n2 L( U& R# I0 u" c
  461. ;   On or stdout = Display errors to STDOUT
    , c% n0 t" a1 y* d+ B
  462. ; Default Value: On# S. h, n2 N! g5 T# `
  463. ; Development Value: On
    ' u) K( |: w% E, L, o
  464. ; Production Value: Off7 ]% f! r4 ~+ p# n5 ^3 W- E& x
  465. ; http://php.net/display-errors: u1 V5 U2 j8 m, d0 B- K
  466. display_errors = On6 x4 ^: r: }# N. p4 R6 [$ I' b

  467. 3 {. x/ F5 v0 i8 P2 N
  468. ; The display of errors which occur during PHP's startup sequence are handled
    - k/ r. [1 A, x+ v4 y7 j5 w' U5 T" r8 P
  469. ; separately from display_errors. PHP's default behavior is to suppress those* l7 z1 ]( }# v3 i
  470. ; errors from clients. Turning the display of startup errors on can be useful in" ~& f  w7 Q' x1 N  G8 p
  471. ; debugging configuration problems. We strongly recommend you
    / j. j/ i  \) w2 @0 V
  472. ; set this to 'off' for production servers.
    / y5 e- e5 z4 Q" `! @
  473. ; Default Value: Off
    * Y( W/ O* k& J/ V* B
  474. ; Development Value: On. f  N6 s5 i# p" i  g3 j
  475. ; Production Value: Off# p6 E6 d" D) Z( k
  476. ; http://php.net/display-startup-errors
    . D' m0 L$ v/ [2 {- W/ Z
  477. display_startup_errors = Off
    & g7 ?( m% R: o9 D3 ]4 z6 Q

  478. $ ?$ z/ O) H$ }! h; O
  479. ; Besides displaying errors, PHP can also log errors to locations such as a: Z# z8 P; n2 ]% ^4 l8 j/ b: Y
  480. ; server-specific log, STDERR, or a location specified by the error_log
    3 ^9 v: {0 x+ B
  481. ; directive found below. While errors should not be displayed on productions: u  f1 k8 b4 b4 q3 g
  482. ; servers they should still be monitored and logging is a great way to do that.
    $ {0 `  K) `8 @: P7 E+ }
  483. ; Default Value: Off
      S7 L5 |  p; h+ Z. E
  484. ; Development Value: On! [* I( I2 N* K- k/ f$ Y* N
  485. ; Production Value: On4 H, o+ q- H1 U% k% }& d* n
  486. ; http://php.net/log-errors0 w6 k' B. p/ k7 o9 J
  487. log_errors = On0 Z7 s# `0 Z0 a

  488. $ M: ~5 a0 C( z3 l
  489. ; Set maximum length of log_errors. In error_log information about the source is! n& A. z3 ]5 J, B5 e2 m8 \
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) d3 ]6 g0 l, l4 @8 N
  491. ; http://php.net/log-errors-max-len' Z) E/ a) z! {- f$ G
  492. log_errors_max_len = 1024
    ( G9 w( y: }- {1 s: |! w
  493. 1 H1 s/ S6 R! A
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    1 C; }! I: ?/ g$ n+ e- @4 X1 i
  495. ; line unless ignore_repeated_source is set true.
    ! Q4 J0 e  E) C# [
  496. ; http://php.net/ignore-repeated-errors- O! |0 X6 U% J2 ^2 X% J
  497. ignore_repeated_errors = Off) G+ n+ F  K' k2 Q. m& r

  498. , A6 _' U1 y4 R7 \& M
  499. ; Ignore source of message when ignoring repeated messages. When this setting* Q, O5 M; }1 @
  500. ; is On you will not log errors with repeated messages from different files or8 r  v$ M: q+ o: u9 u
  501. ; source lines.
    & g& y, t" W) e. h3 j0 w: r) ^
  502. ; http://php.net/ignore-repeated-source; j) M& \/ C4 N, C! M
  503. ignore_repeated_source = Off
    / F/ T! n) [, A6 V9 A7 J
  504. 1 L2 P. s3 H4 l  Y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on  h  O% I- c5 |. `. ]9 y
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    0 }7 {! K& `7 ]4 I2 r: y6 t5 e7 `
  507. ; error reporting includes E_WARNING in the allowed list" F) e6 W0 I& V  S/ R
  508. ; http://php.net/report-memleaks
    8 c' c/ f& n+ a; b, S5 i% X
  509. report_memleaks = On
    , }! ~1 n& a3 Z. b' g
  510. ) B2 Z- Y. V0 c4 c% D' ~5 a
  511. ; This setting is on by default.
    - D& v& r+ z- @1 A5 ?5 }
  512. ;report_zend_debug = 0
    * ]2 f5 o1 Q) B

  513. " e, t% J8 J5 {
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    / v0 `6 y8 G( S- t
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    # @; |# e: N& v  |& K- ?
  516. ; however be disabled on production servers.
    & C4 Y8 p6 K& d
  517. ; Default Value: Off, h7 H) v: Y6 \& n* R' }
  518. ; Development Value: On, X) x8 L" U+ P' f
  519. ; Production Value: Off2 P0 b+ @, l0 g& Y6 Y
  520. ; http://php.net/track-errors& e0 l+ ?6 D. z" o
  521. track_errors = Off$ q0 s- I; x8 f8 {( _
  522. + ~7 Z$ ]1 q) u0 l6 b. Y/ k
  523. ; Turn off normal error reporting and emit XML-RPC error XML' J6 Y. O6 D$ z& M' @! Z
  524. ; http://php.net/xmlrpc-errors
    . c( s6 x( z8 C5 L; F5 w
  525. ;xmlrpc_errors = 0- y8 v+ d6 }  b1 j

  526. . c$ n; a' K8 ?7 S% t) h0 {) w
  527. ; An XML-RPC faultCode8 `" L& ^" z2 R/ U. Q# _
  528. ;xmlrpc_error_number = 04 a$ m+ e# U% B# u1 s. V- R3 _1 ~
  529. ( t- l9 K' }0 S# i5 g9 q6 C
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    . f, ?$ u$ O3 C  R
  531. ; error message as HTML for easier reading. This directive controls whether
    - f: P; Q! m+ V7 p+ \
  532. ; the error message is formatted as HTML or not.
    ' N5 Q& d6 D$ c% c7 b9 K9 E
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI" T- F' L& V, T1 K: i. M
  534. ; Default Value: On+ S/ f- o6 k. q% N- p( K/ o
  535. ; Development Value: On4 D6 k+ x9 R9 y* o" F
  536. ; Production value: On
    1 x4 m/ Y+ z, ~; W, w
  537. ; http://php.net/html-errors
    ; I1 H: u' x  k# Y  O
  538. html_errors = On2 ^+ d! Q0 S2 H' b) T2 @( A" G
  539. 1 I) e6 \3 O6 D
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP" q, f( H( ?" F9 _; q9 O, x9 s
  541. ; produces clickable error messages that direct to a page describing the error
    & F3 E, V' L5 M) G2 o8 U
  542. ; or function causing the error in detail.3 c  p+ N' l8 s
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    / J7 h" S' Q+ |- X. t
  544. ; and change docref_root to the base URL of your local copy including the
    ( F8 O" [* U9 s/ f% g- `) I) F- M- I& P
  545. ; leading '/'. You must also specify the file extension being used including% m; ?, X! t' H+ i
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which2 X1 v7 A2 U2 ?! _; X
  547. ; case no links to documentation are generated.- t/ Y) r  p( W( [* \+ R) ]$ S
  548. ; Note: Never use this feature for production boxes.
    + i. K% f* {, d* Y& Y
  549. ; http://php.net/docref-root
    ' c7 `' U; t5 B' _
  550. ; Examples( }( _" J* A' k+ }! T0 j6 b
  551. ;docref_root = "/phpmanual/"
    : L1 m  Z' j" ]4 j% s. T5 O2 n) @
  552. , O, d2 `, C3 d6 I* u% ^# u, M
  553. ; http://php.net/docref-ext# x) j( Z' E6 r* W) N' l% i; m
  554. ;docref_ext = .html3 n: b. N% N( j( ^5 r7 d: r
  555. / J9 E8 f# v* I# S  e7 ^. ?
  556. ; String to output before an error message. PHP's default behavior is to leave
    - y$ B) f4 e0 f
  557. ; this setting blank.  u- M- h, J, R* j6 x; \2 \- g
  558. ; http://php.net/error-prepend-string
    8 T$ d4 O. i8 i! K+ x
  559. ; Example:
    9 K7 `+ ~, L6 w1 T
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ) u* {4 V1 D$ h" W2 i

  561. : H$ _  I9 F- R% {( b$ v
  562. ; String to output after an error message. PHP's default behavior is to leave' e0 s2 M0 R) a* w" O4 D5 t
  563. ; this setting blank.9 M7 {, c6 ^. F; y% V6 \2 f
  564. ; http://php.net/error-append-string/ [4 l: n/ |$ U( t4 V$ C
  565. ; Example:" Z( W$ m( L( E1 c1 B1 K. v9 B
  566. ;error_append_string = "</span>"+ k% G0 R$ X/ R$ J' o- d" \4 _
  567. 0 z# v8 |& P! ~/ y3 B; E! _7 C
  568. ; Log errors to specified file. PHP's default behavior is to leave this value" T) G* ^% b3 t" }
  569. ; empty./ j/ g- p  H, @$ T/ D
  570. ; http://php.net/error-log
    ( G( k4 i+ V2 k
  571. ; Example:$ A! F/ Q. \- f, J  V9 w0 X' C) `- z
  572. ;error_log = php_errors.log
    9 P4 q2 ]9 K! W% q
  573. ; Log errors to syslog (Event Log on Windows).
    - a2 I( @# n: {6 q- s
  574. ;error_log = syslog
    * }- D( u; Z/ T7 A: A4 @

  575. 9 V+ h5 V: T0 n9 V: T  z3 _/ Y
  576. ;windows.show_crt_warning9 a" ~3 i, v* f9 d4 @! l
  577. ; Default value: 0
    3 g9 \1 |6 |7 L% q
  578. ; Development value: 0
    ; |8 T1 B1 _( _
  579. ; Production value: 0* r6 M2 b9 R; e3 M1 u' I& J$ p

  580. ; V7 ]9 H" W! B9 }# A+ y& b4 v4 ^
  581. ;;;;;;;;;;;;;;;;;
    $ X6 L4 U& T1 a9 C  I
  582. ; Data Handling ;
    % {) R0 Z& g: B& t. V
  583. ;;;;;;;;;;;;;;;;;  E: a+ i3 e0 C& @7 [

  584. " s' I7 p* i# P: f* D
  585. ; The separator used in PHP generated URLs to separate arguments.& G% I$ ]  B  _- Y# U& J
  586. ; PHP's default setting is "&".; A6 v. j: N" \6 D4 [; o7 D
  587. ; http://php.net/arg-separator.output
    2 P6 X* G8 @" p' |% A4 a9 [" N
  588. ; Example:- V$ m/ z0 h. t4 t
  589. ;arg_separator.output = "&amp;"
    8 E9 T, j9 s& k( w& I5 o
  590. 2 @9 J7 A0 ]  m- ^* q( E2 c; q1 u
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    " w; S: t3 _9 `4 j5 ?7 S
  592. ; PHP's default setting is "&".
    : y1 S+ F, D& k- C1 U; |0 r/ q" t
  593. ; NOTE: Every character in this directive is considered as separator!
      Q# O9 F" J( A( X* [4 j! A
  594. ; http://php.net/arg-separator.input
    6 z: ]3 i/ H; I6 h  h, g3 `' E
  595. ; Example:
    3 {4 E8 A9 L  ]  I0 |2 K5 f
  596. ;arg_separator.input = ";&"
    % j8 y) @3 S9 W1 O9 v; H

  597. + J  n5 ^; Z; V+ s
  598. ; This directive determines which super global arrays are registered when PHP
    # j* X$ a. P% D/ E7 p$ @9 I) M
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super* V# b8 a3 A# P
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( y* m1 w+ V+ x  _5 G9 Z
  601. ; paid for the registration of these arrays and because ENV is not as commonly8 L; Z5 E1 ?# d9 \6 ?7 |
  602. ; used as the others, ENV is not recommended on productions servers. You
    5 c% m: q5 ^" F8 w' C" b5 e6 f* N
  603. ; can still get access to the environment variables through getenv() should you
    - S2 \" a! J0 S* e8 h3 [0 ]3 P
  604. ; need to.! E; h( F2 N! r; Z: `
  605. ; Default Value: "EGPCS". m) {0 G" ~+ d* m' Z- W' T
  606. ; Development Value: "GPCS"+ _7 f# ]8 k$ F2 @1 S7 M
  607. ; Production Value: "GPCS";
    ! X3 F  A0 u& ~) D8 t* \* q: H
  608. ; http://php.net/variables-order
    % @3 a) R% p, W+ }
  609. variables_order = "GPCS"0 T0 `9 u, ]. o$ {. b5 N( X
  610. 3 h5 O5 ^0 g" d9 M
  611. ; This directive determines which super global data (G,P & C) should be8 \4 A. V9 E$ _% ^% A) l2 a5 c
  612. ; registered into the super global array REQUEST. If so, it also determines8 j& Q) c* d: h+ N0 i
  613. ; the order in which that data is registered. The values for this directive  I* ?3 _& f% k  E5 S% O( @
  614. ; are specified in the same manner as the variables_order directive,9 X+ Q5 e# j- d; F1 q9 n
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set' V& b( U2 T. H0 u
  616. ; in the variables_order directive. It does not mean it will leave the super
    & d/ y: K- x9 k: A7 u+ n. V
  617. ; globals array REQUEST empty.
    . n! U: W8 ]7 g8 W% i* j: f* x% }8 B$ q
  618. ; Default Value: None
    * [1 s, o7 y$ z. a
  619. ; Development Value: "GP"0 U4 a; @# C9 @+ {% y/ T; e' M4 b- f
  620. ; Production Value: "GP"
    6 a7 _  H# B( l% N0 G
  621. ; http://php.net/request-order, @1 _9 n  F5 N1 Z7 c' V. c% w0 ?
  622. request_order = "GP"- P9 I1 k% E# j" V! p

  623. ! |1 Z  ?9 Z! U4 O$ z2 L* j
  624. ; This directive determines whether PHP registers $argv & $argc each time it, h4 o$ P/ r2 R8 S1 ]
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    : ]: Q+ ]  T/ y
  626. ; is invoked. $argc contains an integer representing the number of arguments+ H6 v6 p( _2 D- g
  627. ; that were passed when the script was invoked. These arrays are extremely: Z3 G( F  `% K5 b; P
  628. ; useful when running scripts from the command line. When this directive is4 T8 d4 B5 P2 i: v3 [- V# w  R
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ' C8 e( E* M' j1 }/ p: y
  630. ; a script is executed. For performance reasons, this feature should be disabled
    + m: A$ m( j/ d2 q' r7 _( r& s
  631. ; on production servers.2 K, I- h% ^4 O8 c% u
  632. ; Note: This directive is hardcoded to On for the CLI SAPI. i/ q9 W6 a2 g6 |
  633. ; Default Value: On  `; W$ q- v* |5 q' B, L: f
  634. ; Development Value: Off
    / |9 b  F+ [2 \0 ]8 V, A5 `4 A: y/ w8 H
  635. ; Production Value: Off1 k- T6 U# `# i% }
  636. ; http://php.net/register-argc-argv
    ! Z; W- k; M: f
  637. register_argc_argv = Off
      |! s% \9 O6 k; E

  638. $ {& |  s! F  e4 R1 l+ M0 e
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're8 B7 e+ Z6 d+ U. P
  640. ; first used (Just In Time) instead of when the script starts. If these3 _, w* f0 w  h- |+ G
  641. ; variables are not used within a script, having this directive on will result
    & ]$ V! t  y8 l
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # U8 }9 A/ z* t. w$ R! \
  643. ; for this directive to have any affect.
    " \( o5 k3 t+ W7 C# \- x! _% ~
  644. ; http://php.net/auto-globals-jit
    9 d# K. X8 `- f0 i! j' J
  645. auto_globals_jit = On) o- g. ]) ~# p# D
  646. : V( U' l3 e+ H8 q7 g
  647. ; Whether PHP will read the POST data.
    1 j' ^6 W2 B* q1 \/ S. \
  648. ; This option is enabled by default.- d7 |4 E* b2 ]/ L1 B( F9 m
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) Z# y$ Q! o  m/ D# A; o
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ; J6 w5 r/ r1 e, ~/ s
  651. ; POST data will be through the php://input stream wrapper. This can be useful% h7 S4 L) t) m, k5 _
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * s6 V3 C& @/ m$ R) z# m2 D
  653. ; http://php.net/enable-post-data-reading5 G# L% S9 D6 H
  654. ;enable_post_data_reading = Off
    , `+ _! J8 y5 w, T/ P$ ]
  655. ' A% ]0 c2 J) M  u1 L
  656. ; Maximum size of POST data that PHP will accept.( ]' ?( Z5 C2 G" O1 Z, b; p
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading9 H0 O+ W. m; u& O
  658. ; is disabled through enable_post_data_reading." {" F: P  @0 s8 Y9 [2 S! `  ~7 h
  659. ; http://php.net/post-max-size
    3 P! @0 q) W- I
  660. post_max_size = 50M
    " u% c8 s$ S& n
  661. ; d+ C/ g- h/ t
  662. ; Automatically add files before PHP document.2 }- B3 ]# y  H' R
  663. ; http://php.net/auto-prepend-file
    ' z  e- n2 a% L7 e/ F! J
  664. auto_prepend_file =
    5 |7 z1 ?) }8 v$ f' {
  665. 4 s( R, w1 E1 I: z+ ]
  666. ; Automatically add files after PHP document.0 F* T- p8 Q# Z9 g0 E4 E
  667. ; http://php.net/auto-append-file
    $ J- f4 X5 K0 A- Z  X& a$ q% l
  668. auto_append_file =- K3 w2 b4 P# f; `/ q1 k
  669. + ?) U+ H1 z' {; `: L# X3 g
  670. ; By default, PHP will output a media type using the Content-Type header. To
    , V, e8 H( b2 h* y! x5 Y( a4 v: o8 B
  671. ; disable this, simply set it to be empty.
    # ~* A; B1 C; L
  672. ;
    5 k  O2 ]: l2 [+ j
  673. ; PHP's built-in default media type is set to text/html.3 O8 u, Y1 v# ~  O; [$ Q
  674. ; http://php.net/default-mimetype
    8 C5 V8 B! k) Q0 h; Q' C/ L
  675. default_mimetype = "text/html"
    7 k; v0 D0 E0 T$ Q8 N* Q
  676. # \$ s6 r* L/ C; P
  677. ; PHP's default character set is set to UTF-8.; a8 F6 A: z3 H# ?$ N
  678. ; http://php.net/default-charset
    9 k1 S% b* F# B2 S3 p
  679. default_charset = "UTF-8"
    & `3 a% E; r9 ~% x' v( U

  680. ) w0 |7 f1 q6 ~2 ~$ I2 V9 S; }
  681. ; PHP internal character encoding is set to empty./ y9 r% E, a% F  @6 p5 X" \
  682. ; If empty, default_charset is used.
    ' }; }9 o7 l  S) L& z2 D, Y+ b
  683. ; http://php.net/internal-encoding
    $ m6 v7 z1 |/ m# Q6 C; |
  684. ;internal_encoding =
    ; p* R1 h+ w$ Q

  685. + \8 _- l7 |+ D+ W
  686. ; PHP input character encoding is set to empty.2 k3 f- ?1 P3 |, ?
  687. ; If empty, default_charset is used.
    9 u/ h, M9 a# p  P; |
  688. ; http://php.net/input-encoding3 ?+ q; E- z8 k% ?- p
  689. ;input_encoding =# ~; S7 W; r. o

  690. 6 C7 g8 \( b/ A. M3 t
  691. ; PHP output character encoding is set to empty.
    2 g  A/ U! a2 N
  692. ; If empty, default_charset is used.
    " M) s" j8 g2 |  ?# g
  693. ; See also output_buffer.
    . V) q. P" b3 U
  694. ; http://php.net/output-encoding7 R" K4 A, R/ f% K4 x+ M2 K
  695. ;output_encoding =
    " G+ Q6 f8 {: ^' h/ d, C8 {
  696. , q" ]+ v) p  l4 H. w# f
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is- ]6 X1 W2 `. P- l8 s
  698. ; to disable this feature and it will be removed in a future version.
    6 ~& M, b7 p# j  \7 N
  699. ; If post reading is disabled through enable_post_data_reading,/ B5 d! J& u7 }% x. z4 ]
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    & A3 G( T0 k) G# G2 g
  701. ; http://php.net/always-populate-raw-post-data
    7 ?, ?, }% `1 S* ^' c
  702. ;always_populate_raw_post_data = -1
    . j  o+ ^1 c# {
  703. , K. |; ~8 \) b! T. F
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 z' A1 q# L; D5 n/ V$ O6 V& Q
  705. ; Paths and Directories ;
    3 }* o5 ^+ `! m2 S8 ?* p# D! f
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 ~& m6 i/ a% \+ F# L" x, k# Y8 P' D

  707. : T1 v% f% s: o  q0 m! a8 y/ u( M2 I
  708. ; UNIX: "/path1:/path2"4 G: K  p& P* [+ \5 p
  709. ;include_path = ".:/php/includes". I6 ^% _4 X. |6 q1 U: q, B
  710. ;
    # Q9 K9 o: g. h! @" s6 {/ P
  711. ; Windows: "\path1;\path2"8 a  u7 @5 n- y! w( w+ a" V/ b
  712. ;include_path = ".;c:\php\includes"
    ) l$ ^+ X2 I) F/ U4 I9 p
  713. ;4 [3 F% V3 f/ b& @
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' J/ p! ~# m! H: a
  715. ; http://php.net/include-path- o0 Q- X7 O5 R5 {

  716. # K) q. o! z8 N8 Q
  717. ; The root of the PHP pages, used only if nonempty.
    - e8 B1 G, w! S
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root" H; a, Q, o' Q3 s" U, X3 N
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ( R% F8 L2 A3 e" F2 z: K
  720. ; see documentation for security issues.  The alternate is to use the0 v. `4 D5 z4 a: W
  721. ; cgi.force_redirect configuration below; X! W6 b+ [# p2 H3 x( I! g- d
  722. ; http://php.net/doc-root
    : n0 E. q! a- o9 R& X0 I
  723. doc_root =
    % f" O+ g4 M( r5 U" R

  724. 5 L/ W$ N" U5 x  A1 }
  725. ; The directory under which PHP opens the script using /~username used only
    7 j( A& o! L* _3 r6 ^1 q! X0 T
  726. ; if nonempty.; [& d7 g0 d5 ]$ W$ ^
  727. ; http://php.net/user-dir5 `- z8 ?, o: Y4 w! a% @
  728. user_dir =
    ! l7 G2 B# D) x" k% p' n3 f
  729. * _; V9 M: Z' Y0 H( Z) F9 [5 _' H
  730. ; Directory in which the loadable extensions (modules) reside.
    5 r- {. D, o2 D) k. B" S# k* j1 t
  731. ; http://php.net/extension-dir
      u9 v  ?- ^5 y5 h
  732. ; extension_dir = "./"( ^! v5 q' w3 o1 z
  733. ; On windows:
    # I6 l3 O! C: N9 }
  734. ; extension_dir = "ext"
    5 X$ {1 L) H; u$ j8 N7 P. f
  735. " X* R8 h/ K2 a2 O& p, y2 X- o
  736. ; Directory where the temporary files should be placed.
    ' E! \/ k4 n5 I% q/ i
  737. ; Defaults to the system default (see sys_get_temp_dir)/ y' C& O  e4 q( r9 o! s8 u
  738. ; sys_temp_dir = "/tmp"
      O) a# }5 \$ u: o/ U
  739. ! h6 ^5 h2 }2 D
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work4 Z& ^6 x  ?) }/ X6 d' }
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. O# F0 g9 }3 ?' Q6 m0 O" ]$ u
  742. ; disabled on them.& d+ ~/ J  c/ ^4 s. h/ X
  743. ; http://php.net/enable-dl
    " l% E& n6 z- q7 j3 t. _
  744. enable_dl = Off3 x& u1 w8 G. M2 r

  745. ; P* ^$ O: u1 _" z' F; {
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under) q5 V0 Y( A& R/ t* T4 T
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    + V- y4 f9 q/ U" X
  748. ; turn it off here AT YOUR OWN RISK
    1 o6 ]) V) d' K
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- ?! F3 G- ?* o+ F+ o9 i5 y3 i
  750. ; http://php.net/cgi.force-redirect' ]8 }# _" ?) f$ }/ r
  751. ;cgi.force_redirect = 1
    9 l, X3 s( \8 K6 M( \" t
  752. % x8 T2 O3 l! \6 ~. F. L! i
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ) K) N. U8 b4 ~: a9 I
  754. ; every request. PHP's default behavior is to disable this feature.
    + y( U8 G5 r5 e  G, b" [, p! w
  755. ;cgi.nph = 1
    0 r4 o4 h( ?: @
  756. 5 u; Q% m0 f# B$ l
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 G) P4 W6 q0 `1 f8 F
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    + O+ L  C8 H8 r% w: S: F
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 u! t0 K% a( g0 z
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    2 M8 u# \' W: O
  761. ; http://php.net/cgi.redirect-status-env
    1 T# D6 D2 ?+ W8 k) Z, F. _
  762. ;cgi.redirect_status_env =
      t: u: K7 u1 `4 j
  763. ( r2 M7 ^4 c- Y6 V
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ( u; B! P+ C# @. ^( i5 m
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( l" z6 v4 Q% b/ s- z1 A  i1 ~
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    $ @* a; Y  |5 V
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting) _8 M" ~4 V: {/ n) F! @, \  W3 g
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts. B; E- _/ l6 t  _
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.! T/ X! P. F+ g$ T0 |; G
  770. ; http://php.net/cgi.fix-pathinfo
    2 R0 A+ X3 E# Q/ B& T. n
  771. cgi.fix_pathinfo=1
    5 b- [1 y1 C, i( a

  772. 2 A: h7 r( b  Q# u. s9 l
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside/ e7 C5 s, x4 k9 N
  774. ; of the web tree and people will not be able to circumvent .htaccess security., ?/ ?, _1 c; C8 p' j+ E
  775. ; http://php.net/cgi.dicard-path
    & R5 v! j6 v* ]+ }/ G2 ]
  776. ;cgi.discard_path=1
    ) U4 u! Z, Q% ?6 [& ^  T5 v4 i
  777. / ^9 E2 c3 i0 f; ?+ ^" @! M
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    & ]3 y2 l5 E/ X) y; k
  779. ; security tokens of the calling client.  This allows IIS to define the
    ( D' {( H$ x* q
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ) n/ O+ U4 o/ D8 C1 @9 L
  781. ; does not currently support this feature (03/17/2002)
    & G" |% J+ b1 M. @( W5 ^* |
  782. ; Set to 1 if running under IIS.  Default is zero.0 a7 v9 M0 l  O) R  G
  783. ; http://php.net/fastcgi.impersonate5 W. Z3 l. e# b9 A: g+ H
  784. ;fastcgi.impersonate = 1. W" |8 m: [( h
  785. 6 _# P4 N/ c. p. V/ s# b5 T
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    9 r' J7 i- a" ~) K' u6 Z; G
  787. ; this feature.
    " g. w% U7 c6 r6 t
  788. ;fastcgi.logging = 0, c8 A9 q7 T0 _( J( _
  789. & g$ M- f8 |, u  C/ w
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% i8 `+ w( n# F- K# G0 n* Z: z# Y
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
      F$ o4 d  ~& h7 T- G& j
  792. ; is supported by Apache. When this option is set to 1, PHP will send4 J  g$ l* s8 q
  793. ; RFC2616 compliant header.* y( Y9 x' d4 i* d0 `) o) o9 ~
  794. ; Default is zero.4 K1 b% ]# p' `2 W" v3 C
  795. ; http://php.net/cgi.rfc2616-headers. e" ]8 e( K' C2 {, r5 O
  796. ;cgi.rfc2616_headers = 05 w6 t3 Y% m0 }, d

  797. . y  d. T9 B9 W( @2 ^$ q, G1 D
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    / W% T* `- }5 |3 N. m7 ^0 A
  799. ; (shebang) at the top of the running script. This line might be needed if the* d- o) D& @; h& q7 u3 M- H
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI0 F$ p' K* |* l9 i  |7 W
  801. ; mode skips this line and ignores its content if this directive is turned on.4 U1 Q7 D3 W' C2 t) x# v8 z
  802. ; http://php.net/cgi.check-shebang-line
    5 d& r9 @3 R) R4 p% m# W8 G
  803. ;cgi.check_shebang_line=1
    + X- I& h9 P- N' u% F# X

  804. 1 i8 N3 X$ k9 f$ f7 R
  805. ;;;;;;;;;;;;;;;;; [6 D9 I% b4 e( ]1 N, f
  806. ; File Uploads ;
    " g! ~  x/ F9 c! q
  807. ;;;;;;;;;;;;;;;;
    6 L5 J, f# ]) x, L8 j
  808. % n4 X3 W; t  e/ Q% V  m
  809. ; Whether to allow HTTP file uploads.
    & r2 S7 J1 }8 Z, L# S
  810. ; http://php.net/file-uploads
    % p5 N* s2 i! ]7 y  S- |
  811. file_uploads = On. A$ m: i% g5 g

  812. : T7 y$ R+ h! Z* T- y  L
  813. ; Temporary directory for HTTP uploaded files (will use system default if not3 w6 S) M+ b: ]9 [" g. \! }3 w& U
  814. ; specified).
    / H2 c& Q) X( w7 P9 ?  f; Y
  815. ; http://php.net/upload-tmp-dir' Y+ q; J- r" S3 W! f
  816. ;upload_tmp_dir =! B; t0 b' ?" S/ s, D

  817. 6 W. H* T6 [# k1 }: j& \# r
  818. ; Maximum allowed size for uploaded files.8 ?- ?! [0 l! ?! G8 v$ X
  819. ; http://php.net/upload-max-filesize# Y, [5 ?  k2 I9 k
  820. upload_max_filesize = 50M
    3 O# [5 f" A7 C' b

  821. . L8 w2 a# n( c/ T
  822. ; Maximum number of files that can be uploaded via a single request
    + R7 u: v' V- L: J4 [( X; L
  823. max_file_uploads = 20
    % \. K7 ]! h6 S, M
  824. * n7 C6 U. _/ @7 a
  825. ;;;;;;;;;;;;;;;;;;9 ?& c2 G0 S$ E/ _9 U% j3 d
  826. ; Fopen wrappers ;, E$ f# g0 W' E  \" J- [: f$ m
  827. ;;;;;;;;;;;;;;;;;;
    % E9 p- Z+ T# v% H
  828. % R1 l% j: ~; P( h/ M  m; h. @
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    8 \: ]) y3 ~3 M3 j% I& e1 G
  830. ; http://php.net/allow-url-fopen+ [) N1 }4 @& M6 M9 r& b
  831. allow_url_fopen = On* r+ w4 |, S9 C. D+ e
  832. + t, `- j5 Q& l) Q' Y
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 u+ I6 \8 i. P8 E
  834. ; http://php.net/allow-url-include6 F; J6 ]% U3 t; a1 S2 ~. n6 O
  835. allow_url_include = Off; w$ p4 d2 W& c8 x$ A
  836. 5 o# \" p; ^2 b( C
  837. ; Define the anonymous ftp password (your email address). PHP's default setting! h$ }2 [7 v8 v3 `2 E# P5 \. [4 W% F3 l; s
  838. ; for this is empty.
      T( O( h7 P) n9 w. Y
  839. ; http://php.net/from3 P' n7 l; D' _. U) o% v% w/ {
  840. ;from="john@doe.com"
    8 u8 G5 {7 K, R  J; T
  841. 5 \; |/ S2 |8 a
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    & S& m7 j2 T. q' j  s
  843. ; http://php.net/user-agent
    8 p8 h2 ~5 C) Y4 T2 ~) Z
  844. ;user_agent="PHP"
    " U) O0 b4 z) `  @7 Y

  845. $ o9 a* A3 i- s/ v
  846. ; Default timeout for socket based streams (seconds)3 ]5 k8 O  a& S
  847. ; http://php.net/default-socket-timeout: O  Q8 E! b( w4 X
  848. default_socket_timeout = 602 Y( F$ k9 A3 |7 _3 _7 ?

  849. ) E. C) z4 w8 a) x6 |
  850. ; If your scripts have to deal with files from Macintosh systems,
    , r& g# J. m. M. p
  851. ; or you are running on a Mac and need to deal with files from
    " m  g7 ^( D7 x: q/ _
  852. ; unix or win32 systems, setting this flag will cause PHP to
    $ z) z3 D) X$ Z4 F
  853. ; automatically detect the EOL character in those files so that# T1 a: H$ n7 y
  854. ; fgets() and file() will work regardless of the source of the file.
    2 q3 J+ {) Z3 Y) |3 U
  855. ; http://php.net/auto-detect-line-endings
    6 Y( ]! p: a. j9 q) y, H
  856. ;auto_detect_line_endings = Off7 Y( E+ c$ o( o0 p& h9 B6 [

  857. 6 o( R* }. T- j& r( N' K8 _
  858. ;;;;;;;;;;;;;;;;;;;;;;& h. e2 k0 h5 Q! V8 @- P9 t
  859. ; Dynamic Extensions ;
    6 `. z! F7 n5 ]0 j3 x& s
  860. ;;;;;;;;;;;;;;;;;;;;;;
    * ~6 ^: m" h/ Z1 S
  861. 2 u" Z( c0 T' x2 Q5 p
  862. ; If you wish to have an extension loaded automatically, use the following
    9 K: H$ Y* z! q' I* J7 I% U9 U( g+ {
  863. ; syntax:6 w1 k# q$ M5 ]: Q) L) h
  864. ;
    ' X3 w$ ?8 r/ P7 }" T( l
  865. ;   extension=modulename.extension
    3 \: G* }. M0 b1 I% n8 i
  866. ;, r' Z1 c/ V2 h6 @0 r
  867. ; For example, on Windows:
    ' d+ W5 ^; @/ U9 Q) y
  868. ;* l) M1 m1 D5 G) D' t4 s8 a
  869. ;   extension=msql.dll
    ' h& R2 S$ S% h" {9 }( u9 ^
  870. ;
    7 O. f6 Y% R3 r8 {3 v
  871. ; ... or under UNIX:& O& P2 m, m3 c9 [- ~9 h! H
  872. ;
    $ I! ~% D1 I  m, o: y
  873. ;   extension=msql.so
    2 V4 x0 s  r; i
  874. ;
    3 `- O. f1 a* x5 h) q# j
  875. ; ... or with a path:2 l& S8 x9 S3 m* p) O( M2 w
  876. ;
    4 ^2 P" H: q* T+ o7 b
  877. ;   extension=/path/to/extension/msql.so
    0 G) n" b- R* a3 M" ]! h. C0 M% T
  878. ;
    ( B- a" P% _& h- p" ^! S' I# m
  879. ; If you only provide the name of the extension, PHP will look for it in its
    7 i2 E0 l5 q+ h% I' G
  880. ; default extension directory.+ J/ p8 {1 S* j
  881. ;: O3 }0 x: \; O+ P3 a/ f
  882. ; Windows Extensions
    9 ^1 `& s4 N' P" U- \9 k1 Z
  883. ; Note that ODBC support is built in, so no dll is needed for it.4 g- Z7 o+ {; m& J4 Z1 H% Y
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)& c7 P: C, `  E+ A  X
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).7 ^0 t1 o/ j. _; L% I
  886. ; Be sure to appropriately set the extension_dir directive.
    8 Z& p8 G3 [" M+ B
  887. ;& k1 j3 a. g) g# `
  888. ;extension=php_bz2.dll9 _. A( X% [- ^" T4 q; w# |. E
  889. ;extension=php_curl.dll1 k3 Q  X8 \" z' Q2 \2 z. K
  890. ;extension=php_fileinfo.dll! q3 S9 I& I* y/ o' r
  891. ;extension=php_gd2.dll
    & W! A( a$ h- W' B
  892. ;extension=php_gettext.dll
    5 K6 a- O; Z% F' ?
  893. ;extension=php_gmp.dll* d' l: y6 l" _: m
  894. ;extension=php_intl.dll. @' w' R- V+ C, n( O
  895. ;extension=php_imap.dll8 h! ~- a2 S7 H8 @5 r
  896. ;extension=php_interbase.dll
    , T  P  X2 Q9 P3 B% t
  897. ;extension=php_ldap.dll3 D2 t" B! j4 i& i$ }" ~0 k5 c
  898. ;extension=php_mbstring.dll
    & z' U& E% r1 ^4 p
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    # r4 I+ x1 G/ v8 U, k$ N- J* t
  900. ;extension=php_mysql.dll
    ; M: |" I2 O+ [/ a! d
  901. ;extension=php_mysqli.dll
    . @  d- N; i8 f3 ]6 {  q0 _
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    % m& k! G1 N) g' W: G
  903. ;extension=php_openssl.dll
    ! z( p" h5 A( F; [/ A4 Q$ {
  904. ;extension=php_pdo_firebird.dll
    . y2 i8 p4 u# d* h6 l+ _
  905. ;extension=php_pdo_mysql.dll
    6 q8 }( Y: _/ D! w' E8 Z
  906. ;extension=php_pdo_oci.dll
    ) ]3 F0 r& ~- R2 \& M: f) A
  907. ;extension=php_pdo_odbc.dll
    3 _. p6 f: [$ i; ?  G
  908. ;extension=php_pdo_pgsql.dll; G* H' G  Y! \$ R1 C0 e/ F$ ?
  909. ;extension=php_pdo_sqlite.dll, S' O# x9 `3 Q9 z. }
  910. ;extension=php_pgsql.dll
    , `( H! d, Q1 L
  911. ;extension=php_shmop.dll5 f* s: J+ l+ C3 [8 B
  912. # y4 r( j5 ^! U5 K
  913. ; The MIBS data available in the PHP distribution must be installed.
    7 U8 e$ D$ g, y  ^2 ^
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ! n) C6 S+ I! ]2 S
  915. ;extension=php_snmp.dll
    - V" ~' J: r. C; i; d9 R6 H& a
  916. ! }& G! k- n9 b- ~# h- X
  917. ;extension=php_soap.dll
    0 V* U) I  g' |+ e
  918. ;extension=php_sockets.dll
    , K9 r% b. F7 A# o/ m8 \6 E
  919. ;extension=php_sqlite3.dll8 ?# K0 C1 j/ W$ W( i
  920. ;extension=php_sybase_ct.dll
    5 F) V( p6 a7 M. d1 t$ X5 S6 g* r
  921. ;extension=php_tidy.dll2 p& u- X7 A0 s
  922. ;extension=php_xmlrpc.dll7 ?* Q5 ?. M0 x) U) A$ h
  923. ;extension=php_xsl.dll# N4 r0 E% x9 c; b" g

  924. 8 V8 ^0 E5 z( W9 j7 i9 F6 z3 L" @2 q* X
  925. ;;;;;;;;;;;;;;;;;;;6 N3 y& \0 L: M/ a7 p1 k
  926. ; Module Settings ;# ]# d1 R- U( q/ R$ H* I1 I
  927. ;;;;;;;;;;;;;;;;;;;7 V* `+ R( \7 X7 x/ {9 a
  928. 8 o: K- m1 @/ k8 B3 U) M8 D* Q+ h. [
  929. [CLI Server]7 O5 ^" P# q' W/ i7 @0 R' r
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.* O3 l6 E. E$ [( j
  931. cli_server.color = On
    : J# Z/ @. `6 l+ B! r& n" R% P! A2 j
  932. 1 R% {# p3 O  m/ s5 K
  933. [Date]4 C* ], I+ L/ g  g# I) ^
  934. ; Defines the default timezone used by the date functions
    ! v9 I5 z- l9 {4 E# g* I! P% }4 c. m
  935. ; http://php.net/date.timezone! x! B# Q1 K0 D2 O% b" T
  936. date.timezone = PRC
    9 \: v9 d8 [: H2 E* k$ c2 _) s
  937. : g6 k1 ^1 ?& i' y+ [6 K$ q3 G2 `
  938. ; http://php.net/date.default-latitude
    . o) h7 ~; z1 m, |
  939. ;date.default_latitude = 31.7667
    9 N5 V3 w* }* Y* l

  940. + F, x& @% J  X! S
  941. ; http://php.net/date.default-longitude7 r/ M- m1 E% w# m1 G; T. O$ ]! q4 s
  942. ;date.default_longitude = 35.2333
    / D8 ]* I: O3 r7 R3 I* x% y* v
  943. . U. F) W. w6 P: r1 x/ y
  944. ; http://php.net/date.sunrise-zenith$ |4 X) N5 P+ }& P
  945. ;date.sunrise_zenith = 90.583333
    ( Q7 w. g! e! j$ C1 O/ f

  946. 0 f  J) n& Z2 t4 K: c; ^
  947. ; http://php.net/date.sunset-zenith/ c8 u( _- q# V1 U) D5 ^% T! X
  948. ;date.sunset_zenith = 90.583333
    5 H+ k' p; x1 j* K; {' C" b# ?" {
  949. . h' Y( n+ c6 y1 k2 o- h" k5 l
  950. [filter]
    ) b) {( e  m9 O  Z0 W
  951. ; http://php.net/filter.default6 {) f5 _* |3 O9 o2 C9 D- X
  952. ;filter.default = unsafe_raw
    3 ]5 f/ o5 j  I2 D8 F
  953. * @+ ^; E3 Z& A# O. d! e' Q" ?7 I
  954. ; http://php.net/filter.default-flags
    $ L$ \% u; ^9 C, k# u
  955. ;filter.default_flags =
    ( l/ S# N" @7 Z1 s

  956. ' S- C1 Z# U: P6 W! G+ b
  957. [iconv]
    * j3 M: J5 T) A3 ^
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.: }0 X4 e% \7 |
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 i7 Y. k* s' J# h) }
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    $ |! G8 n* X$ b7 a7 W+ E
  961. ;iconv.input_encoding =6 k* F% q1 Q; i# \8 ?( z$ i) o
  962. 4 y' E% z2 s0 X$ v. \
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 f2 Q- {) {3 j: r6 D
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 ^0 k9 @! Y: M/ R
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ; _" f& [' Y: g! p& c
  966. ;iconv.internal_encoding =
    * M" b, R  A, E9 }

  967. % s( a0 T, X4 X% w0 G
  968. ; Use of this INI entry is deprecated, use global output_encoding instead./ Y0 o2 T7 Y4 Z3 p7 O+ f. s
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    2 j+ C6 c$ u6 M, N0 P
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 C% N- ^2 b# ~' W/ Y
  971. ; To use an output encoding conversion, iconv's output handler must be set% Q  D' T: f- J' \/ a, s
  972. ; otherwise output encoding conversion cannot be performed.0 M* d# w9 @: Q# p: U' E8 v' I
  973. ;iconv.output_encoding =
    % z! @5 ^) L- F/ R8 p5 V: u% I

  974. 9 N, {7 f- {! j& M/ ]! ?. Y  ^
  975. [intl]
    % e: C$ G" c8 i+ g& U6 M, O
  976. ;intl.default_locale =- T' J& Q) ~4 A& L9 b7 z
  977. ; This directive allows you to produce PHP errors when some error
    ) Y: _1 i4 q1 E9 ~
  978. ; happens within intl functions. The value is the level of the error produced.4 ^" y: E0 X7 \- ^
  979. ; Default is 0, which does not produce any errors.0 ~! q! I& T; t* a! V
  980. ;intl.error_level = E_WARNING
    7 c; U, n5 z: W$ y) J
  981. ;intl.use_exceptions = 0  |7 }5 Y* L# n% e+ V

  982. 2 L" w' q+ C" c" b0 \2 m
  983. [sqlite3]
    # s/ L* r/ Y3 Z' J3 K
  984. ;sqlite3.extension_dir =
    : n. F8 {# n9 H0 ]8 n
  985. $ `4 t, M, K9 T
  986. [Pcre]
    , t# ?0 M, o. D$ N7 s/ a
  987. ;PCRE library backtracking limit.3 |' y4 p/ L, u3 f( ]+ B
  988. ; http://php.net/pcre.backtrack-limit9 D& c5 y. }( l- k+ a
  989. ;pcre.backtrack_limit=100000; A  Q4 x( Q( f7 r
  990. % O/ I$ P& F# N% V  D' @/ }
  991. ;PCRE library recursion limit., N* _2 d1 s+ C3 M. N
  992. ;Please note that if you set this value to a high number you may consume all
    # ]' C, n2 O7 ?. ]) Z
  993. ;the available process stack and eventually crash PHP (due to reaching the7 n- \. X( |$ \- n7 [$ S1 u
  994. ;stack size limit imposed by the Operating System).
    1 a) }( w" [# ?; n& \9 ?
  995. ; http://php.net/pcre.recursion-limit
    ( z: b  [' N1 Z" B$ G: [
  996. ;pcre.recursion_limit=100000
    * M( Y/ u* ~3 z! a. Y3 g
  997. 9 }3 o* F8 c2 ~9 v
  998. [Pdo]
    * D. Z$ o# C& k: Z
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"8 B: C3 Z" w+ v( H
  1000. ; http://php.net/pdo-odbc.connection-pooling
    & T& h0 @0 {1 `; a3 z; }0 X; Q0 o
  1001. ;pdo_odbc.connection_pooling=strict
    + v  s6 Y4 T5 q0 \) E/ I
  1002. & {. _' m2 b; p- X: J
  1003. ;pdo_odbc.db2_instance_name8 }% x, l) z  ~2 a$ x* [

  1004. 0 ?' U6 {" q- D3 P) C" c
  1005. [Pdo_mysql]" m5 t& p3 E( C: v8 Z
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # [/ Y  C7 Z( B8 M
  1007. ; http://php.net/pdo_mysql.cache_size" ?+ G. G& ~: F, e9 z0 A/ x
  1008. pdo_mysql.cache_size = 2000
    2 J$ ?+ q  n5 E# H$ T4 F

  1009. , T. ^3 U, L" M
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in. g" p" I. ]) u$ p8 d
  1011. ; MySQL defaults./ y7 p, v' `3 b# G3 q3 C
  1012. ; http://php.net/pdo_mysql.default-socket0 ~# U8 O' g" m# S. w" A
  1013. pdo_mysql.default_socket=4 D1 ^. [: V" R& F
  1014. & V0 G+ d, |5 r7 h0 a$ O! n0 {
  1015. [Phar]& v8 x/ ~6 V9 w3 V( U9 G
  1016. ; http://php.net/phar.readonly
    + U& W$ n0 @: a* |% L1 \
  1017. ;phar.readonly = On
    8 L0 s6 k$ x7 V
  1018. 9 q" f$ N: g. B
  1019. ; http://php.net/phar.require-hash
    4 H# i. Q# K; P
  1020. ;phar.require_hash = On8 a& b+ m% m; h1 E; |8 N

  1021. 5 J, a  N+ C6 B1 b8 F5 H
  1022. ;phar.cache_list =  H9 S* v' i8 V* i* h, b% H
  1023. 4 Y( ^% P; s/ y8 t1 ?9 l9 ]3 C" X
  1024. [mail function]! m& ~  a: Z9 E4 e9 S5 G
  1025. ; For Win32 only.' i; D9 A1 W. U* B: S: W( }" O3 O& K
  1026. ; http://php.net/smtp) I& b% \1 G7 y% x: M
  1027. SMTP = localhost+ d$ I, f0 d2 p( b$ F5 z
  1028. ; http://php.net/smtp-port
    4 w5 K/ W9 R: y& I
  1029. smtp_port = 25
    - |& W7 I* @' v( A  ^9 T, M

  1030. 9 K+ G% j, z) s; M  B" E7 W
  1031. ; For Win32 only.
    * W9 }9 d- b0 B
  1032. ; http://php.net/sendmail-from2 ?& ^* t5 G* i% N$ ?/ r
  1033. ;sendmail_from = me@example.com! y( s: M" j7 Z. c

  1034. ; G$ ]  N2 [8 j0 A( ^/ a. |
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . p/ Y+ M5 M/ \
  1036. ; http://php.net/sendmail-path# b, Q4 Y& r" r& Y7 f  N7 z: w. e
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ; ?5 ^! Y+ ]- `6 h7 \

  1038. 5 q  f7 V2 X+ ~0 S! E
  1039. ; Force the addition of the specified parameters to be passed as extra parameters& H/ j) ]: x! H/ q6 e; E
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ; x. X( e* }7 F9 D: F* H% |
  1041. ; the 5th parameter to mail().
    $ E1 M/ U1 @# \1 a
  1042. ;mail.force_extra_parameters =
    . a6 n" E: y- V% a! M

  1043. % r! Q* k+ ?7 p% h% M
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    4 D6 x9 d( d  L4 S
  1045. mail.add_x_header = On' I# Q& e5 Z& e* {( `
  1046. ; Q! y2 R1 f; F2 K4 W) w6 [
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ; R) ]2 i" f) u- @% T! b! v7 Q
  1048. ; the full path of the script, line number, To address and headers.8 M* c$ _( g! O: z6 @7 d3 M) b
  1049. ;mail.log =
    6 G  A* b. z' Z
  1050. ; Log mail to syslog (Event Log on Windows).; k6 c, {) t& n; N/ `# k( e4 C
  1051. ;mail.log = syslog- p4 j& f( H  t4 l/ ~; B

  1052.   F( l; j* c# U
  1053. [SQL]+ V: W. s9 F/ o0 h1 S
  1054. ; http://php.net/sql.safe-mode
    ! d8 Y7 e# p6 h" @! o
  1055. sql.safe_mode = Off& O4 \0 D) K. r* i" f, b
  1056. * ]3 f" Q( p7 M9 f! K5 c. S' s5 ^  G  B
  1057. [ODBC]
    2 p- Q/ P6 C& r- Q: |
  1058. ; http://php.net/odbc.default-db$ [' |( G) z4 q4 ?8 ?- d, x% i
  1059. ;odbc.default_db    =  Not yet implemented$ w! `" k1 K1 t' g: U, ]" L

  1060. 5 d4 `* c9 N# ?& W3 B' U, K3 m
  1061. ; http://php.net/odbc.default-user
    $ g0 y* H2 s+ E; p$ V
  1062. ;odbc.default_user  =  Not yet implemented
    3 [: t7 _# R. \: f% y
  1063. / f  z& ]# b" P4 w2 u, c7 b
  1064. ; http://php.net/odbc.default-pw
    : u- q1 D% V, A
  1065. ;odbc.default_pw    =  Not yet implemented7 p  }7 K  ]  E
  1066. 9 Y; r: D0 x2 @; d  `" l
  1067. ; Controls the ODBC cursor model.) |: l) |% c3 k/ N7 {; M. _2 C
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ) b, [) [. o! j
  1069. ;odbc.default_cursortype
    , }5 H8 F# S3 }, o  }$ L
  1070. ) w2 H: j/ L3 v
  1071. ; Allow or prevent persistent links.
    * R+ h! L$ }% q* d/ M
  1072. ; http://php.net/odbc.allow-persistent
    # `/ [, m6 F/ z- x
  1073. odbc.allow_persistent = On
    1 H$ o" y5 m! l  T* g! @
  1074. 8 j7 h* _2 A. b; F+ [# k- ?6 t9 v5 P
  1075. ; Check that a connection is still valid before reuse.' Z" ]" \' P, m
  1076. ; http://php.net/odbc.check-persistent* ~$ s9 D0 B8 ?. z& ?5 f( @
  1077. odbc.check_persistent = On) @$ ?; F" ^  j1 B8 K3 t+ ~9 G
  1078. ! G. y8 `, h/ w, H
  1079. ; Maximum number of persistent links.  -1 means no limit.% D: ?, C# K" W9 Q7 `# p3 i( N
  1080. ; http://php.net/odbc.max-persistent4 v& J9 E1 ^7 _9 z0 ]. v
  1081. odbc.max_persistent = -1; Q  b' e! e: `# G
  1082. % G: k$ \+ {+ b# H0 Y9 }9 d$ s
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 S8 o. y0 m7 b
  1084. ; http://php.net/odbc.max-links
    2 y/ D7 q: j" l0 Q+ L/ X! ~! [% z
  1085. odbc.max_links = -19 j/ {" F) m$ I. Y  B

  1086. / v: W/ H. E0 ^# u) e+ m
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , r3 @6 F% A: }; K8 g
  1088. ; passthru.
    ! G7 r9 T  p+ {
  1089. ; http://php.net/odbc.defaultlrl
    2 |- d, c2 N$ M) ?3 \$ h0 E. \  |  X
  1090. odbc.defaultlrl = 4096. K9 z7 X% H, m0 [* N0 j# f

  1091. # ^# w0 c9 j7 i! G2 \8 v
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.4 a) ^& D4 g. _6 F9 M# u
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
      G6 Z1 k# o/ G& ]
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    . K( K( J) T+ V
  1095. ; http://php.net/odbc.defaultbinmode
    7 }  J0 I6 `' h3 z2 s: O
  1096. odbc.defaultbinmode = 1
    ( Z' D1 R% Z+ B: _5 r+ R% m* p
  1097. 0 g  V7 J0 \$ ~) R( Z, _; V" ], L) J
  1098. ;birdstep.max_links = -1
    2 f5 {6 w7 y+ S* J/ P; R% K

  1099.   ^% O6 W( j# w' t" G$ g
  1100. [Interbase]
    ( h1 i- ?4 v8 [6 s
  1101. ; Allow or prevent persistent links.9 ?/ U- O. K3 Z$ B$ R/ R2 L
  1102. ibase.allow_persistent = 1
    ! M& m) o1 S2 y5 k; p+ I6 J
  1103. & V* _( r5 I: ~9 `* z
  1104. ; Maximum number of persistent links.  -1 means no limit.. B" L) ]& U: m! C+ c& q0 g
  1105. ibase.max_persistent = -1
    5 f+ r; z, s* [5 B
  1106. & `4 X/ Y8 ?( B1 f/ W* O0 y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) N# k& }( r! A5 k5 J
  1108. ibase.max_links = -1
    & }6 u2 K6 M- V  {

  1109. ; U& c& L  u" ]! e
  1110. ; Default database name for ibase_connect().$ j; m: O2 j" g9 ?' m: ^& q2 @
  1111. ;ibase.default_db =: F3 `! T- m. Q5 \1 z$ T

  1112. $ z! F8 A- C; m4 ~" h' n$ k; Y4 o
  1113. ; Default username for ibase_connect().& g! i2 G2 K# u. L" O1 t
  1114. ;ibase.default_user =
    8 K( P/ F& W. ?
  1115. : N( Y! p+ _" t& [; H+ ]
  1116. ; Default password for ibase_connect().
    7 p2 _& f+ _, H2 O7 J
  1117. ;ibase.default_password =
    ! q# M8 {# U5 A
  1118. 9 C$ i) K6 x# b8 Q7 u
  1119. ; Default charset for ibase_connect().0 _+ y1 u/ g4 E9 a& N2 Y, n
  1120. ;ibase.default_charset =$ r; p/ e/ ~% ^% k  l7 ]
  1121. ( D+ R5 H' o( f2 M
  1122. ; Default timestamp format.- s3 W' ^' g+ N( d
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") g, v# G1 B9 L2 L- e
  1124. / n' T& s* ?- l1 v" \  b5 G4 C
  1125. ; Default date format.
    ! |5 w/ X% A* p" m: G9 [) R
  1126. ibase.dateformat = "%Y-%m-%d"9 P/ Q0 ?2 S6 K% \) F: H

  1127. # P5 D) a2 M$ p) v+ Y9 ]
  1128. ; Default time format.
    " i8 |# L0 g6 d0 I4 P; T8 O
  1129. ibase.timeformat = "%H:%M:%S") ^( |4 N& x/ d' S

  1130. . N! `. F3 C% s: K& F
  1131. [MySQL]# L4 `: N7 j0 `8 h7 G' B5 Y% z$ ~
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ q4 Y: S: K- |' q4 l6 K
  1133. ; http://php.net/mysql.allow_local_infile5 [% P  f$ u2 T" Q4 B6 P
  1134. mysql.allow_local_infile = On7 n4 b: F- Q* R3 B

  1135. & `/ r' `4 }9 a/ U+ s
  1136. ; Allow or prevent persistent links.7 B5 k6 P3 S/ Z( A+ P
  1137. ; http://php.net/mysql.allow-persistent( [9 a% Z: ?' Q, Z' G
  1138. mysql.allow_persistent = On6 r6 u+ b- ~1 v4 a
  1139. ) H. x$ Y: x# {, }' m* m- ^
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , X+ `2 @3 ~( }4 D% w2 j
  1141. ; http://php.net/mysql.cache_size
    % }$ D# p7 s! z2 W6 ?9 D* N
  1142. mysql.cache_size = 2000
    0 k2 m. x. c* O% W# e! o( H

  1143. 1 y! l" A  X4 G0 S* n4 c
  1144. ; Maximum number of persistent links.  -1 means no limit.
    8 G  N4 ^9 O2 l% o- \. r+ x$ H
  1145. ; http://php.net/mysql.max-persistent
    6 Q  P- v- q' y0 L5 K
  1146. mysql.max_persistent = -1
    - Q8 e/ ~$ _7 |' _" P

  1147. ) R3 S# S9 _3 U/ y! I
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , q) D3 w6 l6 R( b
  1149. ; http://php.net/mysql.max-links6 e! \/ f4 D: E. g
  1150. mysql.max_links = -12 L6 q- ^# s8 c. W  p( x: @2 A

  1151. 1 N/ v, @, h8 p! W
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    2 [1 _* u, D! m% \0 T
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ S( M/ Z$ \, ^  |' g
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look5 t% ]: d7 ~2 N9 c' o, k9 ~$ ]3 B
  1155. ; at MYSQL_PORT.: Q% B9 t( p/ @$ R6 ^
  1156. ; http://php.net/mysql.default-port3 l' S4 q7 [5 P: U! X
  1157. mysql.default_port =
    " h" y8 A  ]2 \) R

  1158. 2 t9 }2 R# Q* z; Z, B
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / S/ w0 ^- h; D6 c# b
  1160. ; MySQL defaults.6 o/ p  W, w1 Z" V& v$ l0 y
  1161. ; http://php.net/mysql.default-socket
    * Z$ A8 ]0 T9 J# a0 ~/ E% X# d  b3 i
  1162. mysql.default_socket =; \( b  L( O: }' I- ?
  1163. ) f1 G. I& T4 h9 a/ W8 b
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 \' |, ?- R* O4 M
  1165. ; http://php.net/mysql.default-host  s; @% C' z# ~0 |
  1166. mysql.default_host =
    + f* O! `6 f0 m( k0 z1 W
  1167. 0 \' d  {8 O! I" u1 m
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).# `* d0 E: O$ w9 t& l
  1169. ; http://php.net/mysql.default-user1 b+ j7 d( A3 n! N8 e3 U8 o
  1170. mysql.default_user =# f9 b4 e6 N, _0 T9 @4 b  Z- J9 N

  1171. 1 P1 f; p9 U1 G9 C/ v
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    3 l. @& w  N8 G8 p8 y
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.! I9 h7 A! ]4 q0 r! Y) N
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")# A  r  z1 z5 d+ f
  1175. ; and reveal this password!  And of course, any users with read access to this$ @8 E$ C2 |( ?  M2 f: s- f
  1176. ; file will be able to reveal the password as well.
    1 L" C* S) s8 t8 z- L* G; e
  1177. ; http://php.net/mysql.default-password2 G. y5 s* o$ [1 S6 X
  1178. mysql.default_password =
    4 o* n* Q9 [" [: g

  1179. 4 j* K. O- a7 T% q! y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit( S) |$ n2 W+ X2 u+ ?  x
  1181. ; http://php.net/mysql.connect-timeout
    # W! L- @2 V+ L0 P# O  X& X& I
  1182. mysql.connect_timeout = 60
    5 n& g4 d, j, C# K6 v6 i: i3 e  j
  1183. / c, r7 c) H( [6 R5 q% T. g* E0 L
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    " }9 W1 B. B) v# w- f/ H7 ?! ~
  1185. ; SQL-Errors will be displayed.8 f! B9 S6 p% H. |
  1186. ; http://php.net/mysql.trace-mode2 }+ H4 O3 {2 A7 z" w
  1187. mysql.trace_mode = Off6 D- Y1 v% j/ M0 w8 g# A$ C
  1188. 3 V, B5 z/ h+ |0 x3 c
  1189. [MySQLi]
    1 O8 L4 A! N! C

  1190. ; K$ \  l5 j, x
  1191. ; Maximum number of persistent links.  -1 means no limit.8 |* j2 S, {9 y
  1192. ; http://php.net/mysqli.max-persistent
    , ~+ Q$ d1 Q1 X. F' `( d0 a
  1193. mysqli.max_persistent = -1( |1 ^2 E. l9 [% t
  1194. + x# L+ k- t* K) M  N0 J
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) `! \+ q' Z# d& }
  1196. ; http://php.net/mysqli.allow_local_infile
    ! [. d" L& B# @1 l. v( f
  1197. ;mysqli.allow_local_infile = On
    " I7 I/ b! r- j- m
  1198. ( ]2 |0 Q% E/ b: ?+ u7 T
  1199. ; Allow or prevent persistent links.
    - j4 A. L9 z9 S. R8 n$ t; H, r/ [
  1200. ; http://php.net/mysqli.allow-persistent
      T7 R# ~5 i1 z/ B) e/ y7 D8 S8 C
  1201. mysqli.allow_persistent = On2 }5 [1 y/ }1 T2 y! u" J

  1202. % U( D- ]# J# L8 V0 [, @9 V
  1203. ; Maximum number of links.  -1 means no limit.
    * e' ]  T. d5 b: E
  1204. ; http://php.net/mysqli.max-links
    2 D  F6 |; E; ^; X" B4 x. \
  1205. mysqli.max_links = -18 e( i; g9 C) u; d
  1206. + g  _* \0 m' h/ }$ }7 d
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 E9 t+ c8 \; L+ A# q1 \
  1208. ; http://php.net/mysqli.cache_size
    8 v- M, S- c8 e) T4 q: C  b
  1209. mysqli.cache_size = 2000
    ) }# Y+ A2 v! }) V: ]& l
  1210. 4 Z/ j5 _  s3 z/ N9 q1 e" W- U- T
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use. T" m5 R' c: B( X8 L& r
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    - V6 V* n% k' }: j) P- p$ Y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look9 n4 M2 l* {# S' i" V, s% N9 a
  1214. ; at MYSQL_PORT.
    " g7 ]4 L2 K. t4 }- ^5 M: `; x" C
  1215. ; http://php.net/mysqli.default-port
      I" I, [6 d7 m3 E1 h. O
  1216. mysqli.default_port = 3306
    4 ]' E  F7 r$ h' i+ _5 |& N% E& g
  1217. 0 b! |+ i( n7 T
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 }7 ~% ^( l/ `
  1219. ; MySQL defaults.$ l$ z' }! T2 d6 k/ O/ o
  1220. ; http://php.net/mysqli.default-socket& r- o$ {' j1 |- p6 P, @
  1221. mysqli.default_socket =( X0 w: c$ J8 b4 _  D4 ~

  1222. ' i: S+ A' W- g
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).0 Q' |* `, d& p* }
  1224. ; http://php.net/mysqli.default-host
    . C- s' h' C' _& ~
  1225. mysqli.default_host =
    & C' I; R. T7 s8 R7 G
  1226. . T  z$ w" A+ {8 n/ L# ^5 O( s
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).. A* p( h. T' t, y+ l
  1228. ; http://php.net/mysqli.default-user
    3 U+ A! D# V  B: }' g( \' b
  1229. mysqli.default_user =
    % k$ f+ t$ L$ N

  1230. # h8 o# o/ c4 }0 \: Y( X
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    4 `: v2 Y$ Z0 R
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    , A5 ], z, B8 a# `
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")8 ^! E$ l4 g! @/ A
  1234. ; and reveal this password!  And of course, any users with read access to this3 B: T. J& f, i
  1235. ; file will be able to reveal the password as well.
    9 c( k0 A& P: L$ ~* H" a8 f% J
  1236. ; http://php.net/mysqli.default-pw
    2 H5 A0 D1 i3 a4 e, F: F
  1237. mysqli.default_pw =: E- e0 x. _5 ]( H
  1238. 9 V6 c6 F2 G1 U) b* ^- K0 e  ]: ?
  1239. ; Allow or prevent reconnect! w# g( H. |  T
  1240. mysqli.reconnect = Off* s1 N: H. V( {3 O
  1241. # e$ k( Z6 A6 m6 P& q; l
  1242. [mysqlnd]! r! X& z& q9 l# ~
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be# T8 \7 @7 u6 T! U6 x/ S! w, s3 P
  1244. ; used to tune and monitor MySQL operations.
    # _! S7 z" s$ U4 l/ w4 y# |
  1245. ; http://php.net/mysqlnd.collect_statistics/ R- S! _/ Q% P  h
  1246. mysqlnd.collect_statistics = On
    5 D6 n! u: x. M, H0 U7 j1 [3 t
  1247. 8 S  S) `4 j5 @2 n; k& _# b+ @
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ Q  V6 s4 y; T9 V7 n4 O+ m
  1249. ; used to tune and monitor MySQL operations.* I" p- Z! E/ W; l. n) |
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    " ~5 f6 t  \: ~; V! @: o7 @; W9 {
  1251. mysqlnd.collect_memory_statistics = Off  L& a% A# e) u8 ^. a) I

  1252. 2 B' l# M& Q# j1 h5 a
  1253. ; Records communication from all extensions using mysqlnd to the specified log0 q- X/ t4 @3 ]0 d
  1254. ; file.2 k# k( ?! p" R) i
  1255. ; http://php.net/mysqlnd.debug
      ~7 Q  I" y) l. u
  1256. ;mysqlnd.debug =2 ^! o6 E) \4 c

  1257. + f6 U5 y0 L' b' u3 m, M2 m
  1258. ; Defines which queries will be logged.
    ; P5 |9 B( D9 l  B/ j$ l
  1259. ; http://php.net/mysqlnd.log_mask
    * M) I6 ~" D+ h
  1260. ;mysqlnd.log_mask = 0
    ( M/ U0 H! [  I4 v8 W
  1261. ; y! s: V( c9 g$ c' b
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    5 |: C9 ^( J. v6 c% b/ t
  1263. ; http://php.net/mysqlnd.mempool_default_size- c4 V( [4 ?, b) Z! ~
  1264. ;mysqlnd.mempool_default_size = 160006 v9 J% d% h2 J0 h8 f
  1265. & c1 d0 d1 t" z# a6 b
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.8 ~: I/ c" b" G5 R6 \' k
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    $ ~" y$ v( U( s/ Y
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
      m2 @$ v& Q7 F9 `& N/ d
  1269. % w4 b( v- k0 {1 U- r3 V( @0 t! }
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    * n8 q* r# B/ D! |
  1271. ; bytes.
    , s- s) c: B$ x+ h. z
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    * w$ V& v$ a  S& m+ r  v3 i( L
  1273. ;mysqlnd.net_read_buffer_size = 32768: H$ d4 G* }8 G; g' j5 B

  1274. 7 @, w3 m' |% H% k$ U/ d1 I% I# }* C
  1275. ; Timeout for network requests in seconds.
    + z3 D* J) }) V$ }4 l+ E
  1276. ; http://php.net/mysqlnd.net_read_timeout
    , _: {) a2 g/ N, W2 s3 k
  1277. ;mysqlnd.net_read_timeout = 31536000
    4 W' y  _. C6 ?9 H- y9 m

  1278.   ?6 q* l5 W4 L6 s
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA) ]  e2 ~# p: o( Z& i) r( x
  1280. ; key.
    8 O0 L# a: M- W) U
  1281. ; http://php.net/mysqlnd.sha256_server_public_key1 Y2 P9 p5 N* K( b7 e5 x# x1 q
  1282. ;mysqlnd.sha256_server_public_key =" A9 p& |: b) n, Y+ B- ~
  1283. 8 Q2 I/ n) g; u
  1284. [OCI8]
    : ]0 t/ t2 q3 F) M

  1285. 1 E/ p6 D! ~+ g" r9 v
  1286. ; Connection: Enables privileged connections using external5 T. s* X7 ?# i2 D7 k) r
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 y/ h9 `' C8 Z3 M
  1288. ; http://php.net/oci8.privileged-connect
    / I4 ]2 X! d5 C( i0 [
  1289. ;oci8.privileged_connect = Off) _5 L9 ^7 X: v/ Q8 k

  1290. ( {  j  }3 Y8 Y8 X! n
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    3 o9 L" `! f, c
  1292. ; process. Using -1 means no limit.( r* a3 n+ l8 ^/ \% s3 u) W+ l+ k2 E+ h6 x
  1293. ; http://php.net/oci8.max-persistent
    2 K: j5 d1 L6 B. R, p
  1294. ;oci8.max_persistent = -1
    1 y0 i2 Z2 J& b4 E$ _+ L

  1295. 3 ^8 g- E0 }: x5 N, c; N! |3 Y
  1296. ; Connection: The maximum number of seconds a process is allowed to
    6 O: p( O  `8 P" }" |7 S
  1297. ; maintain an idle persistent connection. Using -1 means idle
    $ F4 _3 y& K/ E$ V. g& K
  1298. ; persistent connections will be maintained forever.
    * A6 d! u# m; t0 z7 W" W
  1299. ; http://php.net/oci8.persistent-timeout
    & ]2 b2 O/ y# i$ g6 H; G
  1300. ;oci8.persistent_timeout = -1
    ( R3 h! _- b, e! ~
  1301. 3 ~. `7 x, D0 x2 a5 P$ h+ l
  1302. ; Connection: The number of seconds that must pass before issuing a' Y' e: U# e, v
  1303. ; ping during oci_pconnect() to check the connection validity. When
    $ _- d* m* |8 V" P  S) H
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 S" L$ [  g' j# |. N* B
  1305. ; pings completely.: z% |+ W8 S( Y0 d3 _5 t6 i  o: F
  1306. ; http://php.net/oci8.ping-interval
    ' N9 I3 |- M: u9 {# }
  1307. ;oci8.ping_interval = 60
    8 `& K5 F, x" B, n; Z' M. M
  1308. ) B% t1 k% z2 Y7 O# M) i% P0 S
  1309. ; Connection: Set this to a user chosen connection class to be used9 Y& k4 Y* {+ x" F+ J4 b' K( \: |
  1310. ; for all pooled server requests with Oracle 11g Database Resident+ @$ v5 z" q. C
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to% {7 h( `( V6 f6 r, p
  1312. ; the same string for all web servers running the same application,
    $ ?, ~9 @* `# f2 o8 D
  1313. ; the database pool must be configured, and the connection string must
    " j) q) }# |3 ^! m1 Z. b
  1314. ; specify to use a pooled server.
      S4 k( J9 J- q/ {( @
  1315. ;oci8.connection_class =4 ?: s+ }. {, G0 i; S0 |4 j

  1316. & j* l3 Y3 N( m$ Q" N$ f
  1317. ; High Availability: Using On lets PHP receive Fast Application# q; t# T3 M; |4 h9 @5 i
  1318. ; Notification (FAN) events generated when a database node fails. The
    ( ?! N6 j5 d- E1 O; _6 Z6 D
  1319. ; database must also be configured to post FAN events.
    1 S% F" O7 D: ~0 f* @2 q
  1320. ;oci8.events = Off4 D: d# Z3 F: X' n, y- B

  1321. , ~# U+ l4 T9 o5 d: y+ z) J
  1322. ; Tuning: This option enables statement caching, and specifies how7 d3 Z3 T2 A5 g3 V# f4 F
  1323. ; many statements to cache. Using 0 disables statement caching.
    6 R2 M/ n. Y: @- a7 g
  1324. ; http://php.net/oci8.statement-cache-size) |2 D( W' p7 t# h( e1 t4 m8 ~, v
  1325. ;oci8.statement_cache_size = 20& u& M% Q+ e( `2 E7 Y
  1326. " Y$ \8 D, c9 n. F# n
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    , f8 y1 l: Q' P; q! c5 m- B& X  ?
  1328. ; rows that will be fetched automatically after statement execution.+ x. \, ]0 \" i" E
  1329. ; http://php.net/oci8.default-prefetch% y) T4 _- M+ L" U/ l
  1330. ;oci8.default_prefetch = 100
    0 i1 A1 L: P0 Q. Y
  1331. ( [% u' C# s: b/ N9 ?! L
  1332. ; Compatibility. Using On means oci_close() will not close
    ! u! v* s0 _5 y4 S
  1333. ; oci_connect() and oci_new_connect() connections.7 P1 C6 R7 x2 N0 C& u4 @1 L% x  R
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ) C$ J  G; p2 R
  1335. ;oci8.old_oci_close_semantics = Off, q1 n! o# P' ^3 R* `0 k
  1336.   L: s! G# a' z4 _  P1 Y- i, E
  1337. [PostgreSQL]
    ; @0 X+ H* w. @' \4 P$ Q
  1338. ; Allow or prevent persistent links.& i' @$ [( j6 g' i: E
  1339. ; http://php.net/pgsql.allow-persistent
    : n( X+ @5 y$ k' e7 `
  1340. pgsql.allow_persistent = On
    : \6 A8 o4 H: n

  1341. $ m; s' ~2 I3 b( N
  1342. ; Detect broken persistent links always with pg_pconnect().& ]1 U( K) V1 `4 u& P
  1343. ; Auto reset feature requires a little overheads.
    ' z4 V  _) H% ^$ F
  1344. ; http://php.net/pgsql.auto-reset-persistent1 g1 t, r6 L1 h+ R+ f
  1345. pgsql.auto_reset_persistent = Off
    + L. H; O$ n3 x0 r- e2 l
  1346. , f# f$ |6 b, H% R
  1347. ; Maximum number of persistent links.  -1 means no limit.. U" u! O$ w' C
  1348. ; http://php.net/pgsql.max-persistent8 _# ], _7 D. c: |0 E+ O
  1349. pgsql.max_persistent = -1% |' k6 }& b2 V  [3 G; S* K
  1350. 5 Z* }6 Z+ q+ `# k& l5 P5 s
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ d* x6 M) y+ s) f: Y
  1352. ; http://php.net/pgsql.max-links# Q0 l  ^; k5 N2 a
  1353. pgsql.max_links = -10 m6 u- W5 M' L5 T0 t
  1354. / z2 V. C( |+ p4 _! p
  1355. ; Ignore PostgreSQL backends Notice message or not.$ b+ H6 |' o, z4 |
  1356. ; Notice message logging require a little overheads.
    3 v4 f0 }# x! h6 Z: H7 p
  1357. ; http://php.net/pgsql.ignore-notice
    0 q0 B! @8 {. F
  1358. pgsql.ignore_notice = 0
    ! I* k# ?9 W! m! G' }8 f

  1359. / G& _& A3 A8 c+ W; ]* P
  1360. ; Log PostgreSQL backends Notice message or not.; a( t9 y' d1 i7 Q$ u% S
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 s3 O( v2 ~% H/ U7 T
  1362. ; http://php.net/pgsql.log-notice
    7 q9 U0 @% s! x  H
  1363. pgsql.log_notice = 0: A; b0 x4 k2 }& s
  1364. : U* H5 I! j7 a1 X" U( |! D
  1365. [Sybase-CT]8 {9 y# r7 l; j; `, H+ D; Q
  1366. ; Allow or prevent persistent links.
    6 |) h" g1 _. l9 i
  1367. ; http://php.net/sybct.allow-persistent
    9 R% F; E4 J; Q6 T: O" [6 C8 f
  1368. sybct.allow_persistent = On9 i9 h& _8 W# T! K% O! L- U0 c
  1369. / D7 M3 n: v8 B$ p; ]
  1370. ; Maximum number of persistent links.  -1 means no limit.
    - u# G4 F+ U* r, U: q$ ]" ~
  1371. ; http://php.net/sybct.max-persistent
    * Q7 }0 |% k* k% ]% T
  1372. sybct.max_persistent = -1
    + ]% M3 v, z3 k; X3 W

  1373. & U8 v8 F, s* N+ m+ K
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 F( @5 M2 @8 R5 P
  1375. ; http://php.net/sybct.max-links' V- M2 t" |" |/ w1 y+ m
  1376. sybct.max_links = -10 y  R) \( X) \3 K( L, o  n

  1377. 2 E' o5 U/ }; u
  1378. ; Minimum server message severity to display.5 h# K* v* a3 F5 P1 Q! ~
  1379. ; http://php.net/sybct.min-server-severity
    ) k  P; J' j% n& D, N
  1380. sybct.min_server_severity = 10! b1 H7 a& [; O
  1381. $ a1 k9 J9 O1 x) \! B+ z) k
  1382. ; Minimum client message severity to display.
    ( X6 s( @( p( S( G
  1383. ; http://php.net/sybct.min-client-severity
    9 A/ i. K. A* |/ X% Q6 G
  1384. sybct.min_client_severity = 102 ~/ b7 \( m8 O" t$ y( s
  1385. 0 q8 ]! [9 ?/ \
  1386. ; Set per-context timeout$ U; T) o! l. Q4 \1 O
  1387. ; http://php.net/sybct.timeout
    9 m( M* p( Z3 d8 y: v: r. \
  1388. ;sybct.timeout=
    : h+ @" @9 J- ~) M9 R& p
  1389. 8 q6 G6 A* A  A. g5 L* o
  1390. ;sybct.packet_size" J  Q4 W- S+ L

  1391. ' K; ~- }6 C# [7 n7 g, M
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    - `0 L& R( ]9 ~7 [& p& x
  1393. ; Default: one minute
    / t" u/ U6 U: }0 u" ?7 n' @6 a# f- N
  1394. ;sybct.login_timeout=
    3 ?/ }  t+ }. n

  1395. # I2 b% N. P9 W' l/ l! V' E2 v
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.2 }- }1 f# s+ \, e0 [) m# I
  1397. ; Default: none* I6 e- r1 ^% h7 u9 e$ K
  1398. ;sybct.hostname=
    / f5 x* O: k: U9 T, X, M
  1399. + N  ^4 B$ K$ _) H
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    / h* N( V8 z, U
  1401. ; Default: 0! p6 G( Y! X- d
  1402. ;sybct.deadlock_retry_count=4 o0 X) ?% ^, F0 c& x7 o
  1403. + q2 j% [5 \( k
  1404. [bcmath]
    , f. R( t, X4 Q/ |+ p
  1405. ; Number of decimal digits for all bcmath functions.
    3 u! G7 d: Q, c: Z1 z, ?
  1406. ; http://php.net/bcmath.scale
    % F9 f5 U- [7 P, ^3 r1 l
  1407. bcmath.scale = 06 g5 l! i- a3 }8 J; f& O& Q
  1408. 5 x9 [) o- b* K9 ]* D5 @
  1409. [browscap]+ g6 \6 B/ p2 s
  1410. ; http://php.net/browscap
      Q3 [- I1 q: Z. h) i
  1411. ;browscap = extra/browscap.ini& v& J% S# n6 Q5 V7 e6 N
  1412. : j5 U( ^( x0 a, Y0 |
  1413. [Session]
    - v+ O0 a  l0 X3 m1 Q
  1414. ; Handler used to store/retrieve data.
    , @; `! y% I0 L, p9 x3 K- A8 ?& t4 N2 x. o
  1415. ; http://php.net/session.save-handler2 V+ h4 A( s- B
  1416. session.save_handler = files( R& {9 ?5 h% |9 b$ d

  1417. 4 u' y1 M8 t' S( }
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    & s- P6 }# w; A: L1 t6 X
  1419. ; where data files are stored. Note: Windows users have to change this
    - L+ L+ v4 M5 |+ f, h3 A* |
  1420. ; variable in order to use PHP's session functions.. l9 B3 ~5 \, ~5 Y2 \5 o3 c* k
  1421. ;, z6 i5 Z; ~' F  v4 i
  1422. ; The path can be defined as:
    ( W1 z+ }! `9 ^" j
  1423. ;5 n( A! l2 X" {' _7 V# D
  1424. ;     session.save_path = "N;/path"# @: `* t8 Z6 W0 I9 s$ v( L
  1425. ;
    $ S/ B6 c. |# \% A7 |
  1426. ; where N is an integer.  Instead of storing all the session files in+ {! o3 L, Z! K$ h7 v
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    : H- K5 P  B2 x4 Y, f: @( s" M+ W
  1428. ; store the session data in those directories.  This is useful if: I# ]/ {% R2 J7 I1 A; g
  1429. ; your OS has problems with many files in one directory, and is. x% _/ t5 l' R7 r) r0 B. W  o
  1430. ; a more efficient layout for servers that handle many sessions.
    ; }2 r4 E0 e% B9 s7 W  `% b
  1431. ;/ W- @& \( I: u& ?) X  F
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    8 d4 I/ N/ A! H" Q
  1433. ;         You can use the script in the ext/session dir for that purpose.8 }$ N5 N" V. ~. \
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    * o; h& d# O+ Q% x
  1435. ;         use subdirectories for session storage" n% ^. E0 [. `9 p
  1436. ;
    * D. |3 r$ C# I+ S; ?' r
  1437. ; The file storage module creates files using mode 600 by default.: r, s$ y$ I8 E& i
  1438. ; You can change that by using
    . H3 \, I0 K& o% n7 D; e
  1439. ;( S. p$ K6 A# l! k# c
  1440. ;     session.save_path = "N;MODE;/path"
    5 e5 x" ~: c7 u  l$ x* v
  1441. ;
    3 \$ q8 m0 K+ l) K, o* {
  1442. ; where MODE is the octal representation of the mode. Note that this
    ! i% L& e) `/ M( |# S" k( r
  1443. ; does not overwrite the process's umask.: W; O" N2 Z: C% |
  1444. ; http://php.net/session.save-path" l1 c8 E$ |) W0 k2 N$ s
  1445. ;session.save_path = "/tmp"
    2 [- j% O# b! C3 ~# B1 E

  1446. - Z+ P) ^6 i+ Z4 w% M/ Q
  1447. ; Whether to use strict session mode.; Z" N4 a  C) p7 v/ z
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate8 `5 r4 |, h( J- t, i" k
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects# R: _( }2 x  d# L" G  l9 a% A
  1450. ; applications from session fixation via session adoption vulnerability. It is
    5 m$ Q( n9 I4 [4 ^; _
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.# M3 b3 }8 p& F2 d' K! K( P
  1452. ; https://wiki.php.net/rfc/strict_sessions) |) k. I6 M+ ?; R+ i, K5 s0 y# K  j
  1453. session.use_strict_mode = 05 r( M! C; s2 {  r: g

  1454. 3 }' P# P3 T1 @3 ?+ H9 I& l
  1455. ; Whether to use cookies.
    ( z; k- |4 ^. L4 I  E0 T( m
  1456. ; http://php.net/session.use-cookies8 T9 p3 m  T7 I
  1457. session.use_cookies = 1
    ) N; ]* t; L1 y' Q$ d& F
  1458. 7 H8 O, S  u0 d4 @8 R: t! P1 B
  1459. ; http://php.net/session.cookie-secure
    * h5 t0 j3 U& |5 z
  1460. ;session.cookie_secure =% E- \) |- O% E4 R6 U
  1461. 7 t. |* v" s7 m
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    + s- W, [' h5 S3 u: v9 f, p
  1463. ; the session id. We encourage this operation as it's very helpful in combating3 D! i# `" e8 J' \8 R
  1464. ; session hijacking when not specifying and managing your own session id. It is& Q) s$ O; V0 _: p
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 D2 N. K& g8 ?% u% l
  1466. ; http://php.net/session.use-only-cookies9 {- g0 N. ^1 I$ T9 }
  1467. session.use_only_cookies = 1
    / Q4 o( Q  n4 N( O

  1468. : M5 V% {: ?5 M0 i
  1469. ; Name of the session (used as cookie name).  [. h' w4 v6 W  X( K+ V, S
  1470. ; http://php.net/session.name
    * r- Q3 l; d! T6 x. i( N+ |
  1471. session.name = PHPSESSID
    . O0 |: X. Q8 q4 h! b: S3 P3 P/ \

  1472. , O7 o0 D% R1 v3 G" R! R
  1473. ; Initialize session on request startup.' F  {' A/ k9 r3 f
  1474. ; http://php.net/session.auto-start
      C% b8 p) `- T% R+ `6 v
  1475. session.auto_start = 0+ C0 |# [% d! R7 h. a4 f0 Y$ b

  1476. ! |) o6 [+ e5 d$ x" c9 D) b% W
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.' R8 l8 x& m+ M% T- O
  1478. ; http://php.net/session.cookie-lifetime7 c- b* I( ~9 y* ^& t
  1479. session.cookie_lifetime = 09 h$ Y' J: o' l1 ]1 Q
  1480. # }% B# b* I* F
  1481. ; The path for which the cookie is valid.- h* x4 B( Q% O- F5 Q
  1482. ; http://php.net/session.cookie-path
    ( f) a% v3 k0 D1 q  j
  1483. session.cookie_path = /
    1 R4 H' N, ^3 N* X/ @* N
  1484. & t7 O1 d& p$ g. i5 ]# `
  1485. ; The domain for which the cookie is valid.
    " H6 y3 L" U, s* D
  1486. ; http://php.net/session.cookie-domain
    ( r- N  Y- e' T1 v9 h
  1487. session.cookie_domain =
    5 z' q1 W0 f" V, H* L
  1488. / _4 L' z5 F3 w& ]& ^! ]( n
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    9 t& c. l+ o5 L1 P9 `8 Q3 R, S9 M
  1490. ; http://php.net/session.cookie-httponly
    ! N! A9 d0 W" z  T, s4 _
  1491. session.cookie_httponly =0 D# K, M' P7 B- F" ?+ d, a( O7 M

  1492. * |* G- i1 \; N* r5 w9 w( e, m
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.& J: z1 R. t9 P; e9 ^+ m* P8 y
  1494. ; http://php.net/session.serialize-handler
    1 K3 o2 B5 s0 G; N9 y3 ]4 h. l
  1495. session.serialize_handler = php  A# S' }2 s/ j% |
  1496. 8 ]1 ~5 E- y: y: v
  1497. ; Defines the probability that the 'garbage collection' process is started
    * \# Z1 _, V0 X+ h% V# C2 V9 K
  1498. ; on every session initialization. The probability is calculated by using7 n& p( b& |7 \& Q$ T; |1 u
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator, \% L* n6 o, S, g1 |9 ^4 X' R
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, r. Z, h! G0 a$ _$ D
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    # F0 R$ N& \& j1 b( [. j8 _% t: M0 \
  1502. ; the gc will run on any give request.
    ; a5 K: G# v) f: m  ^) j! V
  1503. ; Default Value: 1
    ; A0 `/ h+ f  u- X8 M
  1504. ; Development Value: 15 E9 ?) a7 v% w( E5 |2 @% m; u
  1505. ; Production Value: 1
      Q1 e# @+ D+ B# D2 a
  1506. ; http://php.net/session.gc-probability$ l* Y8 X3 c2 Q- ~+ P3 R# X
  1507. session.gc_probability = 1
    6 p8 ^6 ]: k. Q2 Z1 r
  1508. " O% [3 F  S: _6 R6 O, c( Y0 I
  1509. ; Defines the probability that the 'garbage collection' process is started on every( ?+ z& E2 V, _9 f- X! r  @
  1510. ; session initialization. The probability is calculated by using the following equation:
    3 H# W' _; C4 h6 F0 f: D
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* `/ e0 V7 C  M, m' i
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1: ^* k) l6 A' E# \5 d- s  I
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 w9 E; F5 K& A) j9 U
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( @; x8 I8 C: {" n. F1 G! H/ a3 h# ]5 Q
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,) k. ~. H+ c  V+ N( k3 f
  1516. ; this is a more efficient approach.
    2 O3 X; r2 ~, d$ T( N$ ^, M
  1517. ; Default Value: 100
    & N1 t7 p3 i: f# {% r) P# `" k
  1518. ; Development Value: 1000
      e9 ?: R; ?6 d% {: x3 R
  1519. ; Production Value: 1000
    - z; g4 ]( R+ f/ [/ z
  1520. ; http://php.net/session.gc-divisor
    ) m: E, F- r8 e) @/ ~
  1521. session.gc_divisor = 10004 W$ E' p/ H0 J. u
  1522. 7 v7 E+ J: I# {4 T0 K1 B
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    ' l" U% k  p) d4 K
  1524. ; cleaned up by the garbage collection process.1 }& I( k8 F, o8 Z3 T: k
  1525. ; http://php.net/session.gc-maxlifetime7 r' H* D, [! j6 N
  1526. session.gc_maxlifetime = 1440
    . r7 `4 C  J5 s2 ?. d1 I
  1527. - f: F' s9 J1 ]" c
  1528. ; NOTE: If you are using the subdirectory option for storing session files7 Y$ i% H* t. p8 U# q  L; a
  1529. ;       (see session.save_path above), then garbage collection does *not*
    % r$ F& s$ p2 h
  1530. ;       happen automatically.  You will need to do your own garbage/ U+ j2 o% a. Y2 M1 ^. B4 S+ e
  1531. ;       collection through a shell script, cron entry, or some other method.) e  T/ j, h2 Q& m
  1532. ;       For example, the following script would is the equivalent of5 ~+ o% l/ g: O' H( |& |: r1 u- q
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):% y" e5 \9 @2 Y9 {% w
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    # i1 B4 t& j  ^. A2 c$ S6 y, X
  1535. * _2 H0 E  b5 G$ u2 i# O7 }0 f% M
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.  a2 l: h) G. Z6 o, R
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    : |) `  _( F; p  R; b
  1538. ; considered as valid.
    $ n3 E- i' p1 v
  1539. ; http://php.net/session.referer-check0 G- x: D. X+ Q6 t7 S
  1540. session.referer_check =* V( k! \2 ]2 A# a' Y6 |8 o
  1541. ) d- h( u0 M( X: Y
  1542. ; How many bytes to read from the file.; X( b8 f% a) K7 e2 T6 F8 G
  1543. ; http://php.net/session.entropy-length& z' J% J+ m/ E1 B6 ?8 y
  1544. ;session.entropy_length = 32; q) e$ d2 x! I( k

  1545. 1 N0 A6 A! i# t4 s3 |- O( R# j! |* u
  1546. ; Specified here to create the session id., E$ s5 j& X( ]0 N9 w
  1547. ; http://php.net/session.entropy-file
    ! v* [3 A8 F8 V, v0 Q5 E
  1548. ; Defaults to /dev/urandom
    ' I  F# w/ G/ F+ r
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    , H4 }. Y% a1 F* A
  1550. ; If neither are found at compile time, the default is no entropy file./ E6 h: U% T1 G' L3 \0 P  p! [
  1551. ; On windows, setting the entropy_length setting will activate the
    - i( {- y6 l$ G8 g
  1552. ; Windows random source (using the CryptoAPI)
    * g5 z- f/ }9 o3 L: G$ w1 K
  1553. ;session.entropy_file = /dev/urandom3 n! A% z8 C$ J

  1554. 0 \0 @* l4 k+ i3 S# Y/ Y6 M4 b/ ]7 |, O
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects; l4 D1 ~! x+ F
  1556. ; or leave this empty to avoid sending anti-caching headers.7 ]7 }8 h" d" [1 N5 I) ~, R6 f
  1557. ; http://php.net/session.cache-limiter
    9 l2 Q( K5 h) k# f2 M7 d
  1558. session.cache_limiter = nocache7 \' b- Q$ y8 B  j4 C# X

  1559. 6 ], F4 L% M: V6 l
  1560. ; Document expires after n minutes.
    + w" `' x/ w8 l; C! _/ T/ ]
  1561. ; http://php.net/session.cache-expire; A3 I1 o2 l, x6 W2 Q8 ]
  1562. session.cache_expire = 180
    . q# @  o( p% r; b

  1563. : g6 I( O  B- u) B5 Q- ]
  1564. ; trans sid support is disabled by default.
    6 o2 i" K2 g( K
  1565. ; Use of trans sid may risk your users' security., j: k! f7 F* p. i* |3 \0 y9 X7 H3 U
  1566. ; Use this option with caution.( C2 I. u8 l* c: u, s
  1567. ; - User may send URL contains active session ID8 |" D, Y% |) f
  1568. ;   to other person via. email/irc/etc.9 ~1 y4 T  K8 W  [  P) b
  1569. ; - URL that contains active session ID may be stored
    3 S( Q3 |/ G2 e$ M6 \2 @7 C" F
  1570. ;   in publicly accessible computer.1 ^, R0 H3 Y0 X' q0 J# x
  1571. ; - User may access your site with the same session ID
    0 T8 l3 b2 X' W$ v
  1572. ;   always using URL stored in browser's history or bookmarks.- G4 X  \* L7 ^( D
  1573. ; http://php.net/session.use-trans-sid4 O9 e3 o7 s: G7 L* x8 ~6 f; r0 s
  1574. session.use_trans_sid = 0
    : q$ d+ }- A# D9 G8 I7 I

  1575. " H9 N3 s. V5 Z% p
  1576. ; Select a hash function for use in generating session ids.
    0 p) r" @) d4 M8 T' Y6 ~
  1577. ; Possible Values
    $ C( n/ X( d0 `3 s+ i
  1578. ;   0  (MD5 128 bits)7 e" N8 a6 B# x0 r7 M
  1579. ;   1  (SHA-1 160 bits)
      G. t5 J; P, K- D
  1580. ; This option may also be set to the name of any hash function supported by
    : S! ?' N8 a" z- p- ^, H" `
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()9 g' j; B% ^' j1 h& v8 C8 s- {
  1582. ; function.5 C! Y8 Q- s2 n  \8 Q; q0 b  a
  1583. ; http://php.net/session.hash-function) w" w% r& ?. f0 p
  1584. session.hash_function = 0  f. c$ N+ v; F: u

  1585.   t/ J! I' u2 N! ^
  1586. ; Define how many bits are stored in each character when converting" ]& P) \# N2 t9 O+ j, z: |" D  `
  1587. ; the binary hash data to something readable.
    ! H! @" E5 n% Q& N5 P8 y3 o5 `3 r
  1588. ; Possible values:0 k9 m2 {" k4 p7 ]- X
  1589. ;   4  (4 bits: 0-9, a-f)4 e  N: s8 c% b7 R
  1590. ;   5  (5 bits: 0-9, a-v)/ N- u, @/ j1 E6 a* W
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")! T: ?. X, m8 J
  1592. ; Default Value: 4
    . h; [* K& `: ?) u& ~; ~1 `$ ]
  1593. ; Development Value: 5* A9 [2 ~, {9 P7 C6 O
  1594. ; Production Value: 5
    - g' q; ]* @! h  W7 A
  1595. ; http://php.net/session.hash-bits-per-character
    , H, T; \2 ]" D# i7 |
  1596. session.hash_bits_per_character = 5$ l* b$ x. p3 U- q* G6 s# Z: S
  1597. ; X( z$ L3 F# O4 U
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.+ C/ D. o, u2 u: q
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ( f+ h( W! U  G0 @
  1600. ; add a hidden <input> field with the info which is otherwise appended
    5 ?8 e1 J4 R: P* b5 @/ ~
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.: A2 A' I* x1 }# O
  1602. ; Note that all valid entries require a "=", even if no value follows.
    1 ^3 J9 S* F- V+ }5 i0 b& r
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- V9 }. s' y3 W+ ^* m; z
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": ~7 b% x; b; c/ p& s
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 Y5 }& L$ f9 W0 ~( r. ?
  1606. ; http://php.net/url-rewriter.tags
    : \# d; I1 n/ V5 g* S( w
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* h9 M3 Y0 q6 f1 [1 j

  1608. 1 l* j7 ?8 l- {, J* l7 d+ K7 y  r
  1609. ; Enable upload progress tracking in $_SESSION! m5 _8 n, \, y8 h: ]" p8 i8 r
  1610. ; Default Value: On4 P4 p- r* d. n  m' n$ j  h$ {1 G
  1611. ; Development Value: On2 c6 @$ g: O+ L1 [5 i
  1612. ; Production Value: On
    ( h+ S! {2 v; |+ T+ s  q, G; {  O
  1613. ; http://php.net/session.upload-progress.enabled
    7 W" j0 B: _; f' v
  1614. ;session.upload_progress.enabled = On
    , U+ Y' z  l2 p; u: s. p
  1615. , G6 t+ j: `. R1 h7 }# X9 \6 \. _
  1616. ; Cleanup the progress information as soon as all POST data has been read
    . j" r% A; C0 S) X0 o' K/ Y
  1617. ; (i.e. upload completed).) A& W# v3 I$ c. Z  ?
  1618. ; Default Value: On
    0 c7 C9 x1 V+ m
  1619. ; Development Value: On7 M5 J5 i6 I# b" X9 s9 n
  1620. ; Production Value: On, T4 Q4 B# C- U6 |% `
  1621. ; http://php.net/session.upload-progress.cleanup9 O. [& o/ K9 C( @! o6 g9 @
  1622. ;session.upload_progress.cleanup = On
    - Q+ z: V$ X# z  ~" p/ D+ Y& V
  1623. 6 |3 \1 o. M" v4 g" w
  1624. ; A prefix used for the upload progress key in $_SESSION6 u% x9 i; t! ?7 g+ @
  1625. ; Default Value: "upload_progress_"
    2 j% l  {8 P) M0 D- w* X  s3 n
  1626. ; Development Value: "upload_progress_"' H2 d% H* p' c3 R4 B2 ?7 a3 {
  1627. ; Production Value: "upload_progress_"* \3 O. N* r# ]: P9 r
  1628. ; http://php.net/session.upload-progress.prefix
    * V& c% p- b' Z0 \$ S0 K
  1629. ;session.upload_progress.prefix = "upload_progress_"
    " |! f" R4 @, ?$ i9 k6 `) i! l4 O
  1630. - [- F: l) T( @! s! R
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    4 O. j) Z$ h2 N1 `; ~, t% H! F  z
  1632. ; containing the upload progress information
    8 ]5 K# D. p" t) ^
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 X5 j% f1 s% {8 A) Q0 i
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"' Y( F0 \& p, g6 w1 u
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 c4 g- b/ o1 V
  1636. ; http://php.net/session.upload-progress.name
    + o, M0 V: _+ o. e. ~+ t
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"% ]8 f# G& |3 u, e. B- D& X

  1638. . ^& b1 a7 P3 n: d" V2 y2 }
  1639. ; How frequently the upload progress should be updated.
    1 W* ]5 b6 H2 Z& D
  1640. ; Given either in percentages (per-file), or in bytes
    2 C) i, g: r8 z
  1641. ; Default Value: "1%"* J0 J, h4 x# t# L
  1642. ; Development Value: "1%"
      _# s% W3 k% g8 r( S9 z" x
  1643. ; Production Value: "1%") Y! Z: D8 N% x. o
  1644. ; http://php.net/session.upload-progress.freq
    7 b% l& H. Z( q; c# k
  1645. ;session.upload_progress.freq =  "1%"  h& y, N% a5 ?* q

  1646. 9 ?8 u* R6 v$ t3 \  J) a
  1647. ; The minimum delay between updates, in seconds
      A+ ?; h" j: K6 U- I
  1648. ; Default Value: 1
    + R; m; G7 G0 `2 m6 R0 c8 k
  1649. ; Development Value: 1
    ' ]7 E+ x! W: h1 _& |6 k
  1650. ; Production Value: 1: J, {% J5 I( t- b) `
  1651. ; http://php.net/session.upload-progress.min-freq1 X& f6 B4 e3 [* J* J1 S
  1652. ;session.upload_progress.min_freq = "1"# L* V. }, S- d" z3 ?  D/ g/ P
  1653. 9 d! m6 n1 Q& m* V% }  l# f
  1654. [MSSQL]# M$ E( ^% E4 C/ v. U, T
  1655. ; Allow or prevent persistent links.6 |+ H8 T8 E- p
  1656. mssql.allow_persistent = On# I( I3 H& M' {9 y  d' e! G

  1657. 2 ^3 C. I8 @' G; Z3 g, ?1 G5 Q
  1658. ; Maximum number of persistent links.  -1 means no limit.0 r% C4 {5 S8 g9 d& k$ l: C
  1659. mssql.max_persistent = -1
    ' `" R6 [% @3 }2 y- X

  1660. 8 P' _1 Q+ }. R$ ]0 v
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 E1 Q3 {: y. w3 Q
  1662. mssql.max_links = -1
      v$ ~% }  M0 R" W$ E, s* s
  1663. 1 I6 f& @  c3 J
  1664. ; Minimum error severity to display.
    3 }& {' D+ D/ _% T: t7 Z; e
  1665. mssql.min_error_severity = 10
    / q/ q& z! L9 E% ^
  1666. 4 M0 u; N: H* w5 W  C6 j5 V' `% {
  1667. ; Minimum message severity to display.
      b3 g0 q( k0 V/ F' ]) p
  1668. mssql.min_message_severity = 10
    9 ^5 }! }. i7 L! H0 \
  1669. $ @* z. c: p! v6 H0 X1 V$ l
  1670. ; Compatibility mode with old versions of PHP 3.0.% t8 k: l3 |* `8 v
  1671. mssql.compatibility_mode = Off
    ! H; c. f) `& w3 I* j8 x
  1672. % M0 e8 b6 w2 ]! C0 a2 ]4 K: f
  1673. ; Connect timeout, D$ o" g2 j# D* l3 B, h
  1674. ;mssql.connect_timeout = 51 G5 U" j+ A" p
  1675. 8 f, x# I" [  ?8 O- H
  1676. ; Query timeout
    0 U  n% S1 p( g( Z
  1677. ;mssql.timeout = 60; A" w6 H8 Z7 N% P3 A7 T5 w" H
  1678. 8 I4 @* ~5 G9 d( g
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    " m9 @; }. ]) w* e- S, C
  1680. ;mssql.textlimit = 4096
    6 ]( Q$ _$ E* l: h% W& Q4 T
  1681. 8 ~3 B( u6 ~2 h1 D3 O% H
  1682. ; Valid range 0 - 2147483647.  Default = 4096.8 _$ ^+ v1 }9 {* g* @4 V
  1683. ;mssql.textsize = 4096% z; |) R9 `. a: H% U& p) l. s2 t% f

  1684. 0 N- J$ l' G" W4 q; G# z5 {
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.1 O7 i$ U7 h- E; C
  1686. ;mssql.batchsize = 02 L/ ~, a0 k+ M% b% E( R- v
  1687. " u, w/ c1 b: w8 l6 Q- T7 H
  1688. ; Specify how datetime and datetim4 columns are returned
    8 ^+ G0 T# F; x
  1689. ; On => Returns data converted to SQL server settings
    6 ~+ }/ _7 u$ B% ~% ]* N
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
      T1 O; r$ O7 u4 V  }- j
  1691. ;mssql.datetimeconvert = On3 e2 `6 K% G. K

  1692. 0 u& _' D& a& D4 x
  1693. ; Use NT authentication when connecting to the server
      M% D% F! R8 W. y+ i' c% T
  1694. mssql.secure_connection = Off9 u* G1 ~' o/ m( L2 s# r3 F8 w. S

  1695. + w0 A, i( ]5 p' K$ J" S. c! s
  1696. ; Specify max number of processes. -1 = library default
    ( R+ f, e2 W1 r+ w- ?, E# e+ ~
  1697. ; msdlib defaults to 25
    2 [( z+ d8 e' x& S! O! Q( r2 e
  1698. ; FreeTDS defaults to 4096
    " ?5 s5 b+ `! h& n/ f: g5 Y
  1699. ;mssql.max_procs = -1
    # X( L  X6 W9 I& Y: V% h

  1700. 9 c" B6 ~5 \. U. E
  1701. ; Specify client character set.8 N  E  C5 \% O' T+ Y  ], y
  1702. ; If empty or not set the client charset from freetds.conf is used: I7 }# z4 o8 L& k# P: L
  1703. ; This is only used when compiled with FreeTDS) z# q: T& D- {4 o$ ~) w- K4 k
  1704. ;mssql.charset = "ISO-8859-1"2 B- E& ~. u- y( I; X4 m5 |

  1705. 8 z' T) I/ z! ~. I
  1706. [Assertion]$ L$ [, y% Y6 W% }2 J* \: l, `" B
  1707. ; Assert(expr); active by default.
    ! f6 |$ N7 Z: M% Q
  1708. ; http://php.net/assert.active) n+ j$ Q. i( `/ g( n0 _, @
  1709. ;assert.active = On  ^0 ]) U. ~% P0 a, G
  1710. 3 f3 _; Z2 B/ C
  1711. ; Issue a PHP warning for each failed assertion.
    9 `2 z3 Y* H5 O/ n( o
  1712. ; http://php.net/assert.warning* A+ T, R6 z9 h5 I
  1713. ;assert.warning = On9 w6 |7 h$ U: s% h) S) B. {: M
  1714. 5 x# t, a2 P# n9 L' `# \3 q
  1715. ; Don't bail out by default.- B5 I8 _3 a! E6 M# M0 i3 M
  1716. ; http://php.net/assert.bail
    : d: F* s' M  h; z
  1717. ;assert.bail = Off
    3 _7 N& b# Z' {/ o0 A
  1718. 6 y9 I& \- `+ r- D
  1719. ; User-function to be called if an assertion fails.
    " ~# g, C4 d8 f/ A0 w) K0 E  ?
  1720. ; http://php.net/assert.callback6 P, s4 x/ N0 i( V
  1721. ;assert.callback = 0
    4 k8 A7 \/ ^4 p" g0 E: [
  1722. 9 `% B! K$ j7 o, B6 B
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    1 A/ U8 @! ~( X' x( n
  1724. ; error_reporting(0) around the eval().
    ) l* k4 ^8 D) D0 b% N" p) ~
  1725. ; http://php.net/assert.quiet-eval- m3 I0 [9 u, G* u
  1726. ;assert.quiet_eval = 0
    & B( N  C# O# c1 Q# F

  1727. % ^6 v2 {: J- v) I; B4 }8 Q
  1728. [COM]
    ( |9 Y) m( a7 a3 X" n0 x
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs5 v+ W, N) V$ g' y: Z( Z8 }4 Q
  1730. ; http://php.net/com.typelib-file/ m# f3 N, A! F7 a/ r
  1731. ;com.typelib_file =9 L1 C% I/ u% q- P4 F0 B2 Q5 X

  1732. - g& b) r% C8 V- r
  1733. ; allow Distributed-COM calls
    9 V$ {6 L0 U/ r# ~  f, V9 E3 a
  1734. ; http://php.net/com.allow-dcom
    3 W9 n5 `  X* u1 D. ]1 I" N
  1735. ;com.allow_dcom = true: S/ y6 t8 [  s+ j+ \

  1736. / `, T' E4 ]' ^
  1737. ; autoregister constants of a components typlib on com_load()
    5 u; Y6 m8 W( C! B. l8 v
  1738. ; http://php.net/com.autoregister-typelib
    / \" Q! u  K5 r. k6 S' b7 r
  1739. ;com.autoregister_typelib = true& E; V" Q$ d. [, y2 I2 N
  1740. 7 Z3 |% j2 ?( C. P
  1741. ; register constants casesensitive
    ! V9 U, U/ m, m7 C. Q4 d
  1742. ; http://php.net/com.autoregister-casesensitive) d% c/ M# \4 n  }! s1 y6 L5 w( u$ h# Q
  1743. ;com.autoregister_casesensitive = false& C& l/ @2 o5 j1 k9 u
  1744. % q* \* t" y8 C$ ]0 M4 @- n: E
  1745. ; show warnings on duplicate constant registrations
    - o) n. T+ Q1 g5 |) S& ]
  1746. ; http://php.net/com.autoregister-verbose
    ; C2 l5 X$ v0 [7 z! D3 H! ~9 k
  1747. ;com.autoregister_verbose = true: V) r: s/ F5 H% r" n: g, @
  1748. ! L8 Y! m. j- _/ ?/ e
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    7 i' F/ v( J$ `9 _5 Z
  1750. ; Default: system ANSI code page/ X+ W9 ]7 I$ v7 M0 U
  1751. ;com.code_page=
    : H/ U% t) `* z, P+ Z' W

  1752.   R4 {  {5 c8 |8 f8 _6 ^
  1753. [mbstring]
    & A7 C9 i' k. H) e0 l. i
  1754. ; language for internal character representation.# U4 C( R  R( B
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.# [# C* Y8 u0 n: r
  1756. ; http://php.net/mbstring.language
    * S* m3 R) H" o$ U
  1757. ;mbstring.language = Japanese5 S! J, T0 t$ Z

  1758. 2 m8 v/ _" P4 u4 I5 A& {) l
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 Q9 B/ Z) |& r$ H8 E7 B' K- t
  1760. ; internal/script encoding.0 l# J1 ]# B- ]- H/ t
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& b3 b3 i( a5 {' ^# R) ?: ~
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! q& F8 v7 \/ R$ j% K
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 s% D3 Q4 v/ L* \: T- U1 h
  1764. ;mbstring.internal_encoding =5 O0 j. x9 m% M6 C: H: L
  1765. ' G5 e3 Q: \+ k
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.& H" g: u1 s. [3 P. K: h
  1767. ; http input encoding.
    + V* X. \* E) ~7 J
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 ]! T0 w6 ^/ B: s* W6 A# w
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.# E+ O$ m( i8 J" O% M2 u* t  r
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input2 g. C4 P- Z8 t7 m( h+ h$ }
  1771. ; http://php.net/mbstring.http-input- Q9 C. W4 v, d# b- u2 l
  1772. ;mbstring.http_input =1 w" Y5 i& ]' a9 {
  1773. ! x( f( W( S) F, c2 E$ [
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.3 }0 r' N: J. x
  1775. ; http output encoding.
    2 E4 N! `8 ~8 u, N* e3 T
  1776. ; mb_output_handler must be registered as output buffer to function., {: ]& a1 n, ~' J8 Y* f
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used./ @3 K* o! G2 g* w6 e2 S
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output- Y1 G1 i. ]' c% z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    2 P& b4 A1 I& w, I4 v( x. g
  1780. ; otherwise output encoding conversion cannot be performed.4 \% Y2 F4 E' G
  1781. ; http://php.net/mbstring.http-output6 @5 w/ b, [# o
  1782. ;mbstring.http_output =
    $ g  Y1 |- r, o) c1 H9 E

  1783. 0 w1 u4 Q: i4 K3 @9 f
  1784. ; enable automatic encoding translation according to7 T& I/ z& V  d8 g& A# U' }& D
  1785. ; mbstring.internal_encoding setting. Input chars are
    . n$ b6 ^/ X* Q7 ]- ^! e
  1786. ; converted to internal encoding by setting this to On.: D& l* W4 w+ u  y2 ^
  1787. ; Note: Do _not_ use automatic encoding translation for6 z, ~6 B( ?2 {0 r/ h2 s# k3 x+ a
  1788. ;       portable libs/applications.
    2 U, ?- r2 N0 S4 Z
  1789. ; http://php.net/mbstring.encoding-translation# L+ J: g# V' Z, X/ q# Q
  1790. ;mbstring.encoding_translation = Off) a  @: W- o# I

  1791. ! j, d* n( p, R; Z& y+ H
  1792. ; automatic encoding detection order.& C% f! I3 d) n9 f
  1793. ; "auto" detect order is changed according to mbstring.language
    ( T4 E- F% G8 _5 E' m) e" D& j
  1794. ; http://php.net/mbstring.detect-order! O! q# M- r* ?
  1795. ;mbstring.detect_order = auto
      ^: Y. a9 q( ?" U/ |
  1796. * X" l% p4 q& p* q0 d0 Y
  1797. ; substitute_character used when character cannot be converted. s7 R! Z" l& W) J
  1798. ; one from another
    " @. V( h: K& K; _5 v  D
  1799. ; http://php.net/mbstring.substitute-character+ _& A- M9 f# G
  1800. ;mbstring.substitute_character = none3 z3 ^5 C# }% s9 g) w

  1801. . \$ `$ ^2 x# \; W$ }4 D
  1802. ; overload(replace) single byte functions by mbstring functions.2 L1 q$ L) P: [1 M/ i5 N+ c, g
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),2 t. p' r2 r1 S( d7 b! [
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.. B$ y. T& j3 M9 ~" t
  1805. ; For example, 7 for overload everything.# d; N' U+ z/ w2 h
  1806. ; 0: No overload
    2 ]9 C' r/ D/ C5 ~$ O# D# U
  1807. ; 1: Overload mail() function5 U: `1 I  c1 B/ u. [
  1808. ; 2: Overload str*() functions1 H& \( H! f% i! v* U
  1809. ; 4: Overload ereg*() functions" N. g) H8 [- y0 o
  1810. ; http://php.net/mbstring.func-overload
    # X7 ?8 s+ W! Z: E2 j
  1811. ;mbstring.func_overload = 0# v2 q9 |% |$ j. @, ^
  1812. ' I5 r& M- a0 F  |! C
  1813. ; enable strict encoding detection.
    ! g+ v- k" _6 E# l# D$ [
  1814. ; Default: Off  B  O% \- h/ C7 J( F
  1815. ;mbstring.strict_detection = On# Z# v& H& @0 V* c

  1816. ( y/ s6 _3 `0 }, V, {) w2 a) r
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : Q1 U4 j7 R* o9 k. @
  1818. ; is activated.# v, z6 X6 V- M2 f) N" O9 }# w5 p
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml): [0 k1 P1 K9 Q" g$ l2 L0 ^$ ~
  1820. ;mbstring.http_output_conv_mimetype=$ G' O$ A$ A6 [1 i5 F; r2 Z' W
  1821. 9 \* T$ g1 q! q: j
  1822. [gd]
    % A0 |7 N6 }6 V% ~
  1823. ; Tell the jpeg decode to ignore warnings and try to create
      c) j' A" V, f2 j' U6 l
  1824. ; a gd image. The warning will then be displayed as notices
    : K) N. t+ C2 w$ x
  1825. ; disabled by default, z6 v" s2 z& f2 B$ L6 u
  1826. ; http://php.net/gd.jpeg-ignore-warning
    * E$ b) y" z+ K
  1827. ;gd.jpeg_ignore_warning = 04 ?3 v# q1 w& a6 D/ Y

  1828. $ A  X( E& T7 a& b5 _6 r1 T: i
  1829. [exif]
    * G7 f1 d6 G# F+ c, p
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! A: V. ]$ G$ e. Y6 e0 ~( _7 T) M9 O
  1831. ; With mbstring support this will automatically be converted into the encoding) x  @& L5 q& a, X
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    $ u, D) i% }7 [: g$ g2 G& t& D
  1833. ; is used. For the decode settings you can distinguish between motorola and5 ]% ^" {1 C: Y( J/ W- c+ @& m
  1834. ; intel byte order. A decode setting cannot be empty.
    ; l6 }6 d; H0 W' N
  1835. ; http://php.net/exif.encode-unicode- _3 o" s, u( K/ e- f
  1836. ;exif.encode_unicode = ISO-8859-15
    ! a3 V/ [  X% x' v2 f

  1837. 0 J; C% @3 G" G
  1838. ; http://php.net/exif.decode-unicode-motorola  X& L7 T' u4 A& k% O
  1839. ;exif.decode_unicode_motorola = UCS-2BE% H7 V+ ]$ ?$ p& h

  1840. 6 u, V6 ?! ?3 w& m' ^+ t7 i# x
  1841. ; http://php.net/exif.decode-unicode-intel
    & B, q' p8 r8 s2 t4 ~1 t8 W
  1842. ;exif.decode_unicode_intel    = UCS-2LE/ D) X8 o& a; ^9 P3 K4 I
  1843. 7 L$ R. ^5 }2 A% g+ A! e; T  }
  1844. ; http://php.net/exif.encode-jis8 L' E& o' h/ z! U7 p! a
  1845. ;exif.encode_jis =1 q, w! f. j3 Z0 ?1 f
  1846. # H  y3 o0 _5 R$ p  W
  1847. ; http://php.net/exif.decode-jis-motorola
    * |+ }6 ]3 p- H& u7 b
  1848. ;exif.decode_jis_motorola = JIS
    - ]! H" v* a" s. u/ N  {4 ^
  1849. ( }/ g& w3 w/ s; j& B3 ^, v6 G9 b' k
  1850. ; http://php.net/exif.decode-jis-intel
    1 h; C9 Z$ p& C6 O- \8 G
  1851. ;exif.decode_jis_intel    = JIS/ ~; W# J5 `7 V: r( Y! _

  1852. - C+ }, t7 V6 L7 R
  1853. [Tidy]$ I5 {  w. A4 }8 U/ |
  1854. ; The path to a default tidy configuration file to use when using tidy7 d$ W6 {4 W2 ]
  1855. ; http://php.net/tidy.default-config
    , K+ _+ h' P  [5 @5 H" M& r# Q, N+ N
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg" S/ W! J) e6 R! a% @
  1857. * _' d& w0 }: ^. V! p" i- C
  1858. ; Should tidy clean and repair output automatically?) z- d3 B8 Q2 b6 I+ F2 H' X4 ]
  1859. ; WARNING: Do not use this option if you are generating non-html content  B. ~7 h4 D5 \5 `1 X
  1860. ; such as dynamic images: s8 n9 g* c7 i( n. a) l
  1861. ; http://php.net/tidy.clean-output
    9 x$ N0 f- z7 K+ E
  1862. tidy.clean_output = Off% m$ d. e  P: a, _/ b
  1863. - l, u2 W; R' T. l
  1864. [soap]
    ) c  ]. c4 o+ a* c+ k
  1865. ; Enables or disables WSDL caching feature.
      R8 z( G: S6 c6 J$ h$ P
  1866. ; http://php.net/soap.wsdl-cache-enabled
    7 `' s6 o. [  \* r0 o
  1867. soap.wsdl_cache_enabled=1
    : U7 y. P- P" S( |6 ~& M- r( O+ s

  1868. + j" K- r) k0 ]7 ^
  1869. ; Sets the directory name where SOAP extension will put cache files.
    1 q! x; T: Y% V
  1870. ; http://php.net/soap.wsdl-cache-dir; v3 z2 s( ?' V" o4 [
  1871. soap.wsdl_cache_dir="/tmp"
    $ }9 L, `8 B. N' R

  1872. ) }8 h2 P* h3 k: [  g" A5 [
  1873. ; (time to live) Sets the number of second while cached file will be used3 ^) X7 s( }2 k  h; ?8 A
  1874. ; instead of original one.+ z" I! G. G/ m1 y2 p( Z: _3 Y
  1875. ; http://php.net/soap.wsdl-cache-ttl
    $ X* y8 a" G% M
  1876. soap.wsdl_cache_ttl=86400  a- q. d# W: Y, g6 @2 T
  1877. & s4 n$ o' c: S; W4 `1 T
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    6 T  H5 a- @$ {1 Q% u$ p7 K
  1879. soap.wsdl_cache_limit = 5" D# X- y# b& |
  1880. ! t1 E6 s5 A$ B. A
  1881. [sysvshm]- F' h) B5 c9 A8 Q
  1882. ; A default size of the shared memory segment; w/ `$ v* x' j+ K5 z# O9 I
  1883. ;sysvshm.init_mem = 10000
    ) ]2 L$ ^( S& h. B
  1884. # k- W9 b; n& K* j3 L
  1885. [ldap]6 ^  O/ O, M# |1 y1 D
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    9 M% o: X) s1 q. a
  1887. ldap.max_links = -11 f2 y4 F/ z1 r0 R6 s' ~
  1888. , b2 o4 S! ~: u$ _* _+ d2 V% f
  1889. [mcrypt]
    0 Z) ^& w+ L( R4 x( t, g0 z
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    0 ]4 W% {, P, Z5 [

  1891. & c, o+ Z$ l4 J
  1892. ; Directory where to load mcrypt algorithms
    3 p! O% \$ {% j, g% m3 B6 J/ j* Q! i
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % u. Y" [3 F& ]: b0 Z
  1894. ;mcrypt.algorithms_dir=8 R% S2 h6 Z% s$ w: D/ E
  1895. 7 g  v/ \# Y+ t
  1896. ; Directory where to load mcrypt modes! O0 B' B: W& H' L- ~! j8 C( _
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* ^" t% x8 e  t9 I  t
  1898. ;mcrypt.modes_dir=
    + o! E% T1 Z8 ]! [9 Y

  1899. : Q  }2 O2 l) p' v
  1900. [dba]
    & j- o0 X& a& V3 q$ `5 C
  1901. ;dba.default_handler=
    / `( S  H1 u1 B9 C$ r

  1902. ) ^  d6 P1 y, t9 O" A  J& _
  1903. [opcache]
    # Q5 L4 o7 _% M
  1904. ; Determines if Zend OPCache is enabled  T& A2 R! n  l( d
  1905. ;opcache.enable=0* W" B% P1 j9 [8 ?, N

  1906.   k: A, A% o/ b- Z# R4 Q2 p
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP) O5 U/ U* \; w7 i5 U: {! q
  1908. ;opcache.enable_cli=0
    - b2 [9 T: T1 w

  1909. ' ~* H; Q/ y8 F" i
  1910. ; The OPcache shared memory storage size.- R( v) m0 Q4 x* W
  1911. ;opcache.memory_consumption=64
    2 ^2 l2 `/ F9 F

  1912. , L5 ~$ d( I9 ?. s  _3 C( s
  1913. ; The amount of memory for interned strings in Mbytes.
    , l( H. \7 o! E3 F$ x
  1914. ;opcache.interned_strings_buffer=4
    ' R% Y* T5 c( Q4 \; @

  1915. 6 t9 E  {5 f: m  r) G( u
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.* ~) m' S- w; i, J; E
  1917. ; Only numbers between 200 and 100000 are allowed.
    3 n  K+ T) @5 X+ W
  1918. ;opcache.max_accelerated_files=2000* G' e( d/ R* q3 T" }$ j

  1919. : N6 J. d2 B; X
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    % c+ l! ~8 `6 u, \  ~! \& A
  1921. ;opcache.max_wasted_percentage=5
    2 m, J! F  B" M  J

  1922. 6 T! s' V1 m+ x* J7 ^2 u3 m# [
  1923. ; When this directive is enabled, the OPcache appends the current working( P( I$ E; w, V+ H
  1924. ; directory to the script key, thus eliminating possible collisions between
    / u% R( ]! i) K2 o
  1925. ; files with the same name (basename). Disabling the directive improves5 ^  t* Z+ Z% S; ^. W* ?' {/ N
  1926. ; performance, but may break existing applications.0 ]* k( S7 a4 k9 j! c/ M
  1927. ;opcache.use_cwd=11 H- n- c+ N, Y! M2 f3 `9 J
  1928. ! v: }! h: j9 O) [. `1 I
  1929. ; When disabled, you must reset the OPcache manually or restart the8 N6 w' k0 J( ~, Q* [3 ~
  1930. ; webserver for changes to the filesystem to take effect.* f* V3 n: h+ I1 c8 R& ]: Z
  1931. ;opcache.validate_timestamps=1
    ( \6 S. v# ^7 Q5 O1 M
  1932. ' ?6 e( m. A  L' `7 x' z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    2 K3 Y2 @, ^) n; A
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    5 R3 ^  N* [7 x+ C: J! h
  1935. ; once per request. "0" means always validate)
    ! n% w( C1 @3 w% [2 ^
  1936. ;opcache.revalidate_freq=2
    . {  B7 ]' ^! T( ?7 M7 g

  1937. % k/ N$ Z8 ^  ?  a5 z# _
  1938. ; Enables or disables file search in include_path optimization
    # f$ a* p; w5 S. ~! a6 Z) V+ o
  1939. ;opcache.revalidate_path=04 B; `0 O3 C  i. @5 [0 z  [

  1940. , ^2 {  @- `3 q4 [
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the4 A5 W9 X3 x9 \, {( B8 q0 x% [
  1942. ; size of the optimized code.. h/ W( n9 j% ~) e: U! p; @. P9 f
  1943. ;opcache.save_comments=1
      t( ?* [* w; {2 |

  1944. 1 w" J4 t. U. @: v  u5 o( x
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    # y0 s, M' s& r$ n4 u9 l; a" u
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    $ K! N+ W) l, S5 H+ W5 O9 {
  1947. ; that don't need them anyway.* A( n- v* n( C# G6 y2 ?# U4 A
  1948. ;opcache.load_comments=19 R% p7 Z/ X5 K8 b2 i! \, f) T2 X
  1949.   A) P" s$ {) K* m$ p, G0 |
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    9 _. B9 w, n" V6 c
  1951. ;opcache.fast_shutdown=0
    ! h1 `4 L1 m% N0 A, p! J) M* Z

  1952. , i, a0 L9 X" v5 n0 `- ^
  1953. ; Allow file existence override (file_exists, etc.) performance feature.5 n- O+ f! G$ J7 N, s
  1954. ;opcache.enable_file_override=06 D. }7 C( J& }8 q

  1955. ' r% j+ Y# L. f" ?1 |9 J* Y
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache& `) q5 y2 t0 U, j& p0 ]. H. Q
  1957. ; passes3 i' W! z. ~6 J( z, M* m
  1958. ;opcache.optimization_level=0xffffffff4 l; `/ o* ~+ A9 x' V7 }

  1959.   Q3 N) f( f( B& O& K& \: j- n
  1960. ;opcache.inherited_hack=1
    2 m! u% p; \! T* O* a, P# w
  1961. ;opcache.dups_fix=07 d& W$ V5 y, p: `  G3 h0 B+ K

  1962. ) V5 l5 l& z( V' z/ G  g
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    6 m; @+ S% s! l2 w# }
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ( z  }0 K: b# G+ I; B7 Q! m
  1965. ; that should not be accelerated. The file format is to add each filename) [3 r$ C  J1 o7 x# H2 `
  1966. ; to a new line. The filename may be a full path or just a file prefix
    # L/ r& Z) d  _  Q
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  b8 O# x7 P* S3 r3 u
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ H$ C$ @7 C6 P8 S& c6 F/ _
  1969. ;opcache.blacklist_filename=+ I6 i, I5 d. ?* T
  1970. " l" O  T" r4 @+ F, Q$ R
  1971. ; Allows exclusion of large files from being cached. By default all files
    6 o  w# r' M% Z! m
  1972. ; are cached.: `$ Z9 t3 F7 G( {" G1 {3 o
  1973. ;opcache.max_file_size=0
    7 D' }5 ~- `, m2 u9 W) e

  1974. : Z$ R7 P( m4 V9 H0 l  s
  1975. ; Check the cache checksum each N requests.4 e' _. R, l- p+ ~+ B
  1976. ; The default value of "0" means that the checks are disabled.
    ) A: S1 b0 s* [8 C2 L8 V
  1977. ;opcache.consistency_checks=0
    # h3 [; K4 m! z. N) C. }5 R5 |+ a
  1978. + t/ N: k$ i& V
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache2 c6 v7 [$ {4 `( R9 N$ X  L
  1980. ; is not being accessed.
    8 m0 }. i" D% x0 k; U. Y3 C1 r: W
  1981. ;opcache.force_restart_timeout=180
    7 V" l1 y: y5 L2 w" I0 N

  1982. , h& Z$ o* l" k, v2 P4 z1 O# y: F
  1983. ; OPcache error_log file name. Empty string assumes "stderr".+ @( }6 U& a9 I& V* O7 r3 V* T
  1984. ;opcache.error_log=
    ; K' x- Z) K) W$ o5 H1 D3 o* _

  1985. 3 [/ o+ v- \) D" l2 A: t; V
  1986. ; All OPcache errors go to the Web server log.
    / L/ U  D1 L, C3 X! H( i
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    % W1 {1 I3 _% B+ M0 J
  1988. ; You can also enable warnings (level 2), info messages (level 3) or  B  B' A: t$ b$ o
  1989. ; debug messages (level 4).
    2 m; O/ w  d8 j0 V, i/ W- H2 b
  1990. ;opcache.log_verbosity_level=1
    9 ~1 J/ ^2 J  v& @2 H
  1991. / C. h1 ~- s( W( O: @( A
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.) B- D1 p: ~2 [3 ]( V; {
  1993. ;opcache.preferred_memory_model=9 C- s; l. b9 |& [
  1994. & T: b# G2 V, C+ m$ j( R
  1995. ; Protect the shared memory from unexpected writing during script execution.  _$ X2 j: R. F& Q4 {
  1996. ; Useful for internal debugging only.2 R/ j' s$ y, m: e! X; J0 V
  1997. ;opcache.protect_memory=0" O8 ~1 j& ]& z5 F" ]
  1998. ' q9 l' l: C% D/ g7 o
  1999. ; Validate cached file permissions.
    " Z& ^, |/ N1 u! Z7 x& K) C2 K9 K
  2000. ; opcache.validate_permission=0+ f) t! N8 f$ c# T( H% U" _5 `6 }! @

  2001. ) h( ]  }$ F/ _" h
  2002. ; Prevent name collisions in chroot'ed environment.
    2 a# T8 w) D2 z& a* l7 \
  2003. ; opcache.validate_root=03 W* {1 E) s* g' e
  2004. % B" [: x- _1 x9 t! D# O; E
  2005. [curl]
      ]$ O$ \+ a1 z; f: R* U4 F. [
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an+ G% A/ l! Y; a, B% u% \
  2007. ; absolute path.
    7 @' T& e$ r" ^8 r5 @/ O/ d; Y
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt+ t7 {# `3 ^/ g2 T

  2009. - `$ n4 P* ?1 z1 ]& e& t. M
  2010. [openssl]# r7 z3 [0 [6 H' B0 Z
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    0 i6 k, s! G5 O% L/ _" T
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should+ }# C# a4 {$ A! O0 N* y* ~
  2013. ; not specify a value for this directive as PHP will attempt to use the0 \/ N$ I; O+ F. A  q& @
  2014. ; OS-managed cert stores in its absence. If specified, this value may still+ ^- w1 G3 ]9 e& K% y4 n3 r
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ' W, l2 p" w9 s: Z/ E
  2016. ; option.0 t9 U: Y! X2 F6 Q* M- _$ y: G
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
      @) x& H- M% ?7 g8 U8 M8 Y
  2018.   R- ^$ ?1 W, Q6 ]7 h
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ( K% {3 o. S8 Q5 ?# j+ s, p
  2020. ; directory pointed to by openssl.capath is searched for a suitable0 c3 k! a0 l: B7 X6 Q% K; K3 }
  2021. ; certificate. This value must be a correctly hashed certificate directory.! S& u- }& M$ [' H" B
  2022. ; Most users should not specify a value for this directive as PHP will
    5 p8 q  }; h* K: o& E' Z
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    4 d1 q; y1 A; S
  2024. ; this value may still be overridden on a per-stream basis via the "capath"& F, g& q, M% q2 G0 t
  2025. ; SSL stream context option.
    0 R. p- J- A0 k* \: x- s
  2026. ;openssl.capath=
    6 b& o- A+ G$ S. _4 A2 R/ b

  2027. 6 Q" r- T) {+ z
  2028. ; Local Variables:
    ( s4 J6 _3 X$ Z& s$ y
  2029. ; tab-width: 4
    4 O: [4 p, A! P0 K# w
  2030. ; End:
    8 p1 x: H! _3 n6 j0 _9 s
  2031. & H+ h) f$ G7 [6 L* T! A. J
  2032. ;eaccelerator% s. }' p1 m! }) W" z% Q+ P

  2033. # L1 N) G' M  c, k: p0 u: ?
  2034. ;ionCube. K* c: k6 H* ?  {2 @7 ]

  2035. $ b- a8 a4 Y. r. j% E
  2036. ;opcache
    6 |3 k" h+ Z. X1 J

  2037. $ M  U! U0 W5 X# h
  2038. [Zend ZendGuard Loader]9 Q  x  T& s# v+ q9 ?5 o; C" M' `5 b
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    7 p+ K. ^9 S, A3 G; c! P
  2040. zend_loader.enable=17 R2 W; h9 e9 Y
  2041. zend_loader.disable_licensing=0
    , I7 F/ n& }" x& v# y
  2042. zend_loader.obfuscation_level_support=3
    7 W- \; k) }8 X& f1 `2 Z
  2043. zend_loader.license_path=6 _+ h4 T4 A9 K

  2044. ; z( X* d4 t  h4 Y
  2045. ;xcache
    ' y) Q& K- E0 K

  2046. & A: |3 H; ?+ D. \
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
/ }/ {* h4 \% @$ ?' d# E* z! p- s: ~$ f- Z8 @+ [" G3 R" X
# U+ B' [2 j  Y: M; h5 I' u9 I
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
  @% j/ V, D6 d) Z; `: E) [& ]% J% j
Discuz!程序版本选择:. b; }) M7 z( Y- U8 _$ O0 m
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,: a7 a+ T: T4 v( A$ b# C: z: O
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
6 e& q- P! U8 E6 ]" f) M9 FDiscuz!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。" p9 n5 G4 k4 R
6 R( \: b$ K* ~
Discuz!插件模板版本选择:1 k0 A8 l8 C7 A
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,, Z/ J! _0 W3 `
针对这个问题做个统一的普及:7 o- m5 U0 {/ J  G; a+ E+ M  g
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
0 h$ a& V( E. \& {! A+ ~" ~# P
/ H! h/ W2 ^( _, \" b* L所以! ^3 M) j  L3 U" F- q# P9 ?! ?
适合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的二级域名。
" A# S0 b& O( I% e打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
* j2 D, u8 P7 R2 X  h7 X# h: f注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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