分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
: g+ I7 n2 C6 r2 n. B& G& H2 I7 J4 w
  1. [PHP]
    3 s& t- ]" r* ^5 W( U- B7 D: f+ B
  2. 1 G* A1 u6 T# h. i# u) W
  3. ;;;;;;;;;;;;;;;;;;;" M/ F( ?; Y! j
  4. ; About php.ini   ;
    4 Y9 R8 U0 Y/ w5 O4 _8 o
  5. ;;;;;;;;;;;;;;;;;;;
      R( Z8 w- B* D* |- D  ~/ E
  6. ; PHP's initialization file, generally called php.ini, is responsible for* L! ?5 a' D( @0 F6 o
  7. ; configuring many of the aspects of PHP's behavior.
    . c2 P1 d( O# |) |, M5 n
  8. 9 V, I# W6 e- |% K9 L3 K
  9. ; PHP attempts to find and load this configuration from a number of locations.- U, I$ d- N/ b# m1 N
  10. ; The following is a summary of its search order:
    6 B1 e! j( W4 p6 F; c2 J) i" l+ K5 u
  11. ; 1. SAPI module specific location.6 e9 l- h8 A$ S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)/ D% E* v- E1 @
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 n! M8 U( K# `0 L' r7 r9 n
  14. ; 4. Current working directory (except CLI)3 h9 {. n6 O3 }( g* L1 {( b* t
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP9 s/ ^' j: `; N
  16. ; (otherwise in Windows)
    , L: x2 c. J2 b1 z% [/ a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : k; j. j# ]  p6 D  G! c7 k. ^+ L1 Z
  18. ; Windows directory (C:\windows or C:\winnt)1 d$ N5 a& t5 @0 C1 G  T
  19. ; See the PHP docs for more specific information.
    , _" V2 }/ t4 z0 r
  20. ; http://php.net/configuration.file
    4 ]( \, p) r* ~# U3 G  J
  21. : d1 `9 J+ {/ i7 ?
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( X: }) d; R! |0 ?8 T1 X' ?
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).5 B6 v7 }& V" t4 q5 F& r  N
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though  B1 K3 x2 ]3 a
  25. ; they might mean something in the future.
    & y  w! X) d5 G" V  ^0 S, ~! o

  26. ( m: M0 d% U4 i7 B0 p
  27. ; Directives following the section heading [PATH=/www/mysite] only
    . h1 Q! G6 N  G- g
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    $ |  a! x7 g7 a  y8 h
  29. ; following the section heading [HOST=www.example.com] only apply to; L+ Z6 L( B7 @0 Q# k
  30. ; PHP files served from www.example.com.  Directives set in these
    / p7 }' M7 V: F
  31. ; special sections cannot be overridden by user-defined INI files or. V8 @+ D6 W" A' `6 \
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : f! m: }. Y$ T! O1 T
  33. ; CGI/FastCGI.
    * i) G% W4 K; y; l# b- X  N% w- e
  34. ; http://php.net/ini.sections
    : W- }1 A6 e5 j' m3 {
  35. ! [4 m9 V1 V% H! D( x0 K
  36. ; Directives are specified using the following syntax:
    ! Z1 N- w/ |, U/ }+ {1 x
  37. ; directive = value
    9 Q) n/ r# c( ], K4 M" @
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.- @0 e0 G3 Y; ~7 w  `2 B
  39. ; Directives are variables used to configure PHP or PHP extensions.
    - O7 l( G) W% a, a* `+ x; [0 n9 }
  40. ; There is no name validation.  If PHP can't find an expected
    9 \. Z& w+ q# t9 W& i2 G( W
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - J% O& R- Y1 B9 o0 {/ f. h6 M

  42. , q1 P$ G& D" c4 s# S
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 Z5 ]" _; Z- D2 {) v
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression0 G8 X( ]8 F; [! O, l$ ^* N+ h! n
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a, j  U# N6 q# G" C6 H
  46. ; previously set variable or directive (e.g. ${foo})
    8 f' V( w8 Z/ O8 Y& e* t/ ?
  47. * A" \8 W9 i  Q! B
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    0 p! }5 P' M0 F" i8 T( i7 q
  49. ; |  bitwise OR" Q" N. ^9 W* ~
  50. ; ^  bitwise XOR
    $ V- {! r8 M  X! r/ K3 _
  51. ; &  bitwise AND/ A) |2 V* ~+ N* W# b# [/ N! A1 _; u
  52. ; ~  bitwise NOT
    # _) F  v( F( p  e/ j! O
  53. ; !  boolean NOT  b* s5 d6 ?0 ~& X( \$ L' V

  54. 1 U! E- g& N% x+ J; u$ f) k
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    1 v) }) N8 L* b
  56. ; They can be turned off using the values 0, Off, False or No.
    + `0 o3 s* {# B' h  S8 D7 L

  57. ) l0 d4 ~8 l6 a
  58. ; An empty string can be denoted by simply not writing anything after the equal; b+ T, o- U' U5 w
  59. ; sign, or by using the None keyword:; h# U  |* A2 N+ o1 f  [. o+ A
  60. % J! l7 ^8 X, I! e( r' c. T
  61. ;  foo =         ; sets foo to an empty string1 _9 I& s9 ]& D. ?4 A$ `
  62. ;  foo = None    ; sets foo to an empty string4 n! X. `. p, w2 K# F, t7 T
  63. ;  foo = "None"  ; sets foo to the string 'None'5 @8 g1 ~& t# N' s) G6 O: @+ }

  64. + \( \. V9 g  u2 _4 P4 M
  65. ; If you use constants in your value, and these constants belong to a6 g/ g9 {) \3 V/ e& d
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),2 P& i8 l, y/ D1 K- r9 }
  67. ; you may only use these constants *after* the line that loads the extension.) A1 |3 a$ b' n1 D$ s  e& [8 v
  68. ; @& W$ u6 P# m2 n" h% N; Q
  69. ;;;;;;;;;;;;;;;;;;;
    8 S2 T& ~: d6 w7 ^9 E/ L( I
  70. ; About this file ;
    - F$ j( G# ]8 P- B" W/ N$ d/ J
  71. ;;;;;;;;;;;;;;;;;;;& o: f& `& b& q  s, l' W! g
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! \$ Q; C  A' s  j0 ]9 }4 l* P9 w
  73. ; in production environments and one that is recommended to be used in, ~* B9 x7 I2 b7 ?1 j; r2 ^2 s
  74. ; development environments.
    ) d: ^* i3 F. t' [# ?( ?

  75. " i4 u. C' C( e' u2 s
  76. ; php.ini-production contains settings which hold security, performance and
    $ [+ g6 u$ U. {- A4 Z
  77. ; best practices at its core. But please be aware, these settings may break2 l, y  w. x# c* s* M8 c5 G) _
  78. ; compatibility with older or less security conscience applications. We0 a. R) V" a# s# ~3 Z  W# w/ d
  79. ; recommending using the production ini in production and testing environments.+ I# G5 ^2 t; v
  80. , }3 m% _" e% g( B: j
  81. ; php.ini-development is very similar to its production variant, except it is/ q2 d& d6 d- l9 \3 x
  82. ; much more verbose when it comes to errors. We recommend using the
    % I8 O- t$ y! ]% A9 I6 O/ A& n& l
  83. ; development version only in development environments, as errors shown to( D% ~9 A: a! m! }+ G3 H* D4 B2 v
  84. ; application users can inadvertently leak otherwise secure information.
    : G% n  [5 D4 L

  85. ) j9 q' Z3 m4 t9 G) H! ?, k( |; ]
  86. ; This is php.ini-production INI file.
      m" v! z6 `5 r: x
  87. ' h% \2 u3 ~7 V! N: e2 x( y
  88. ;;;;;;;;;;;;;;;;;;;
    ! D6 s2 s8 r0 j3 a: i
  89. ; Quick Reference ;
    2 W3 E/ O$ F, _3 P2 l5 P
  90. ;;;;;;;;;;;;;;;;;;;) `# P8 o3 h; G$ E
  91. ; The following are all the settings which are different in either the production
    2 F& u! c" N" E4 j0 c1 U3 o
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ( j4 ~/ {# H- b$ h
  93. ; Please see the actual settings later in the document for more details as to why
    - W2 w  H- v! A  t- Z
  94. ; we recommend these changes in PHP's behavior.4 s; X" p. m9 n  F6 `
  95. & i% y* }0 q& n" k+ N* g
  96. ; display_errors$ c" v# g; V+ P1 N2 o
  97. ;   Default Value: On3 |( s( ^( A( q* V9 x- d8 j& W
  98. ;   Development Value: On
    4 L% W6 f$ _% j$ R+ d
  99. ;   Production Value: Off
    0 I5 s$ F3 E; O, i

  100. ' r# i/ L! [' k; R$ ^" H  X9 }" V$ X
  101. ; display_startup_errors
    / o& I1 g5 p7 h6 _, O) a) N; V6 L
  102. ;   Default Value: Off, O3 J- S- ]6 h. J! U# v; W2 ~! M" Y% Y
  103. ;   Development Value: On3 m: \6 L7 Q0 H6 `% _
  104. ;   Production Value: Off, b3 X" F4 R% ?7 T

  105. 7 o6 M* d* a8 C& t: K: H( Z, X+ u8 k
  106. ; error_reporting
    2 A% R$ x; q. r9 }! H
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% @1 z. J/ M& ?# B4 S% a; @/ S
  108. ;   Development Value: E_ALL5 ?: M/ u* k# o* k7 p# l+ C' o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ G3 k; P' \3 R9 t1 r

  110. ) e# x2 o9 X. I+ v
  111. ; html_errors
    ( r1 U' c; a1 @1 C: Z' {8 Z
  112. ;   Default Value: On
    7 F! t8 M) X3 l  g! j! D/ S
  113. ;   Development Value: On
    ) f3 u: E3 g; m4 k5 u" N3 j5 G4 w( R
  114. ;   Production value: On
    % c/ T. w: T/ h: r, S( Z% f4 S& o
  115. % H6 F" Q9 w3 {$ P
  116. ; log_errors8 v) ?# r1 X) U
  117. ;   Default Value: Off
    4 C1 x1 \2 H" A1 K, h
  118. ;   Development Value: On
    ! \: T% _% J) m7 g1 D5 a
  119. ;   Production Value: On. v4 o7 h" P" ?: R3 _

  120. & r! {9 {; n& O# B" ^+ t* I
  121. ; max_input_time  |  g  C( Y8 H. x/ k* x1 U, R, F. @
  122. ;   Default Value: -1 (Unlimited), W( c8 z+ Z4 L
  123. ;   Development Value: 60 (60 seconds)
    1 f% K7 ]; n, J" }
  124. ;   Production Value: 60 (60 seconds)) A7 C, M3 N' U* C

  125. - _- c! A9 K6 ~5 x
  126. ; output_buffering
    3 X1 ?: R3 b9 U, f
  127. ;   Default Value: Off9 T5 {8 K* q* z* b7 y  e9 Y
  128. ;   Development Value: 40961 \% K) ?/ W$ y9 _2 W. k
  129. ;   Production Value: 4096
    ' K2 C+ b. \; K8 w' V

  130. / p5 Q$ E) s& r: @3 e* F# J# w& l
  131. ; register_argc_argv; k  q- ]; T3 a* H
  132. ;   Default Value: On
    2 [8 H& L' l7 ?* Q2 A# H" d- o" s0 n
  133. ;   Development Value: Off. e2 v0 B3 o: ~
  134. ;   Production Value: Off
    . i, W% h/ k  K1 V; w

  135. ' a- |0 t' f( c; [; @& n9 A
  136. ; request_order* l- c+ R/ s5 e) k6 s+ x% r
  137. ;   Default Value: None
    9 H3 m* C( R; L/ T8 x; ?
  138. ;   Development Value: "GP"& j4 ^7 K+ I2 X1 |, `2 \& J
  139. ;   Production Value: "GP"
    5 a/ I; F' a5 c: o

  140. + `0 u7 E$ r0 G: g) O) \
  141. ; session.gc_divisor
    4 @; j) c" \4 z4 p7 T( R! d
  142. ;   Default Value: 100
    . S* N+ W$ A' {7 a4 t* S
  143. ;   Development Value: 1000
    , I  ^) E  g: \" N; t
  144. ;   Production Value: 1000; {8 b3 i' s7 z* V/ h/ Q
  145. 5 M* p& F9 v6 j
  146. ; session.hash_bits_per_character
    2 a# C6 _% x: f' h$ c
  147. ;   Default Value: 4
    , ]# C  }: j9 r# `. ?; Z* M
  148. ;   Development Value: 5( q0 d3 O" a. A: X9 U* u: }# Q
  149. ;   Production Value: 5. d6 m* _$ i+ D" E4 a1 N

  150. 7 S% O7 r, z3 ^5 D( O! o5 v
  151. ; short_open_tag$ G' u% p9 V1 ]$ e
  152. ;   Default Value: On
    3 e2 L( @0 e( [5 O' z! Q0 }
  153. ;   Development Value: Off' i; I. L; ]9 a! r
  154. ;   Production Value: Off
    ) Q, k* V' t0 U, g% B

  155. 8 _6 {8 D4 ^, k# W( }; Y
  156. ; track_errors2 X9 M+ `4 z- \: U
  157. ;   Default Value: Off
    3 Q+ g! ?3 Y6 |1 Z) _+ ^" y& K( ^/ ^
  158. ;   Development Value: On- W. d: Z* d& y  b9 B: [
  159. ;   Production Value: Off. r* ]# o/ B& d

  160. # b* \  \  s& n* R
  161. ; url_rewriter.tags
    & R2 d4 z& f; |( ?
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; l" ~3 G: I" S, E$ }+ d5 z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , u* ^! B3 O" U; z+ T
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- Z5 `8 V- b" g2 r$ V

  165. 8 [* m% q1 k& U1 R1 }
  166. ; variables_order4 p+ @0 `$ n' g! W; |* [" s4 e
  167. ;   Default Value: "EGPCS"2 ~* c5 q$ o: w( ~
  168. ;   Development Value: "GPCS"
    3 O+ z8 k7 D; \* _, p
  169. ;   Production Value: "GPCS"8 [' e4 s7 i! q9 E. `  \7 S
  170. 5 w2 K5 D9 S2 E8 z
  171. ;;;;;;;;;;;;;;;;;;;;) @0 X$ m+ C4 k( @- S9 D( h4 P: ^, W
  172. ; php.ini Options  ;9 u0 E9 b/ s7 i# v/ i+ w
  173. ;;;;;;;;;;;;;;;;;;;;
    2 c8 j; Y! D: k- _: P- P
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - L* c1 P. ?+ O$ J5 `
  175. ;user_ini.filename = ".user.ini"
    7 R& \4 J0 P7 c) r) K
  176. : i- v+ n  p. F9 b' b$ `
  177. ; To disable this feature set this option to empty value: _. w0 s3 j+ ]% R) a9 m/ i! v
  178. ;user_ini.filename =( w5 z3 E5 u$ e$ P) |9 f* s
  179. 8 B$ N* x3 n! @8 F" \! ?
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ! |0 Z' N) n/ z7 K$ D, u4 z
  181. ;user_ini.cache_ttl = 300/ |4 N* ]1 K0 P+ l: k" A3 t
  182. 4 m  C+ m" x  R% ~8 P9 g5 |
  183. ;;;;;;;;;;;;;;;;;;;;1 t% C8 b5 Z$ O1 M* R$ ]
  184. ; Language Options ;
    1 _1 m: \5 F! e: o8 v2 ?# u
  185. ;;;;;;;;;;;;;;;;;;;;0 B: g" t8 `( F& z; t$ g' Y' q  e
  186. & v. X1 a. \3 @; {" a- d
  187. ; Enable the PHP scripting language engine under Apache.
    : }0 H" Z1 \$ K0 @) w
  188. ; http://php.net/engine
    ; {8 K. d) C6 }8 S
  189. engine = On$ s. S  `( k8 ?: L) y4 n0 L
  190. 1 D4 o9 @7 a2 @1 b
  191. ; This directive determines whether or not PHP will recognize code between
    # t/ K  }  ]  f+ I
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    5 k+ B8 @$ z: b1 e( S  M1 B
  193. ; generally recommended that <?php and ?> should be used and that this feature
    + O$ g: D# o) m8 j
  194. ; should be disabled, as enabling it may result in issues when generating XML
    " R$ ]" R1 t& n
  195. ; documents, however this remains supported for backward compatibility reasons.+ w7 W% `- v5 O8 [% L
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 J7 Q( S3 w! u( G* `8 r# ?0 \+ Q3 S
  197. ; used regardless of this directive.: y1 G  e( H; q
  198. ; Default Value: On$ Z9 v" w/ j2 u6 B4 W
  199. ; Development Value: Off
    - D& R, S# N1 g
  200. ; Production Value: Off
    4 K) _$ w+ S3 \* [: J# z
  201. ; http://php.net/short-open-tag* x2 P4 v& _. N# B0 J
  202. short_open_tag = On) r& v3 Q9 r) d! M, z* d

  203. $ \5 Y2 H0 `1 v- a. s
  204. ; The number of significant digits displayed in floating point numbers.: |  x" C7 a& c
  205. ; http://php.net/precision1 U- {& {, U& f8 p3 u/ m/ z
  206. precision = 14
    : C5 d5 ~$ k1 D

  207. 8 Q2 J8 c7 A+ m/ l3 k" {7 T# k
  208. ; Output buffering is a mechanism for controlling how much output data
    * n0 p. X  g7 y5 b% E# N
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' U. L7 a+ ]7 j! y* K; Y7 c5 E
  210. ; data to the client. If your application's output exceeds this setting, PHP7 y: n: S" j! A6 z$ C
  211. ; will send that data in chunks of roughly the size you specify.
    * d( R: g8 F- N* w/ _" F
  212. ; Turning on this setting and managing its maximum buffer size can yield some+ h* z7 f- U( I  s6 l8 k& c  ^3 b
  213. ; interesting side-effects depending on your application and web server.! C# v( M7 o1 r: B) Q* Q& I
  214. ; You may be able to send headers and cookies after you've already sent output
    ) ]0 d  x# W8 O7 c3 X4 `" y* b8 T) w) J- x
  215. ; through print or echo. You also may see performance benefits if your server is
    & O* }( \3 w: B1 m
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    0 g' n" N) q6 z
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    + C7 I# l6 e2 r  u
  218. ; reasons./ }6 }1 h8 P6 o  G! E6 q
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' |1 l( g' D6 K3 V! I4 j
  220. ;   functions.: N0 A; X) `1 |
  221. ; Possible Values:% Z8 J6 ^$ ^5 X
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    1 P4 C6 i! M' n, N3 K
  223. ;   Off = Disabled! l8 S) a7 ~4 \0 U6 b
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    $ m2 t0 O: K# h- j# @# T
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI* N9 j. W& N8 B# l6 k, e$ J
  226. ; Default Value: Off, ^* x0 t& Y, j. c" i- j5 `2 r$ o
  227. ; Development Value: 4096( L4 n1 S5 V" w2 j, w! z
  228. ; Production Value: 4096. n$ `8 i) F$ P" ^
  229. ; http://php.net/output-buffering
    ( T$ t  b, g5 {6 B# G! [
  230. output_buffering = 4096
      k2 v! O$ V$ n& z2 h/ X

  231. ( }+ Q4 g  v. k  J$ K* }2 a
  232. ; You can redirect all of the output of your scripts to a function.  For3 `9 P. Y$ o5 [" p$ k
  233. ; example, if you set output_handler to "mb_output_handler", character# Y/ B& X( S# h, ]# ^; V2 x, h
  234. ; encoding will be transparently converted to the specified encoding.
    - i6 W# H$ Q- a2 t) o  _; Z( ^" p
  235. ; Setting any output handler automatically turns on output buffering.9 n3 b! S& r4 m" l$ ^
  236. ; Note: People who wrote portable scripts should not depend on this ini0 w& \: a7 e. z+ z! n: w+ w
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ X; [+ Q0 ?. s$ z
  238. ;   Using this ini directive may cause problems unless you know what script% A0 h& l& y4 T. o) h$ K
  239. ;   is doing.5 O: A7 p5 D# Z- @) C! d
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ! W8 _# b3 B5 X: Z# Q
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + w1 l/ O6 E# `
  242. ; Note: output_handler must be empty if this is set 'On' !!!!6 D$ ~9 q) P+ Z
  243. ;   Instead you must use zlib.output_handler.2 S8 e2 A) t+ ~! e
  244. ; http://php.net/output-handler" Z: t0 ]8 o' y1 P  g# v
  245. ;output_handler =
      I3 \4 Z/ y+ |: x

  246. + O/ [, a! P! F* j# k; Z, w0 Y  v
  247. ; Transparent output compression using the zlib library
    5 f8 K+ n$ c* m0 E0 d- G& h
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; c7 [8 G9 N, ~
  249. ; to be used for compression (default is 4KB)! \7 X! Y5 P6 A. y+ K9 X  F
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    : p: h( [; ^; l# K
  251. ;   outputs chunks that are few hundreds bytes each as a result of$ h( S) E  ?2 j0 p
  252. ;   compression. If you prefer a larger chunk size for better
    . n  P1 ?2 g  c4 l
  253. ;   performance, enable output_buffering in addition.3 o0 m3 v5 w- u- A' }& d
  254. ; Note: You need to use zlib.output_handler instead of the standard
    : [' S* J. p+ Y1 W
  255. ;   output_handler, or otherwise the output will be corrupted.5 b$ n. v% Q) y0 U  `: W  O# y& F
  256. ; http://php.net/zlib.output-compression
    ( Y2 {: G! z. M( x( \! B5 b# k$ q
  257. zlib.output_compression = Off
    - D& j5 K6 o* ^- G( t/ x, G; _. T

  258. : d( b2 x; }) z% O3 g: H; _: T
  259. ; http://php.net/zlib.output-compression-level" e' n3 d) t" g' X
  260. ;zlib.output_compression_level = -1
    , \, R/ x6 j. a- e

  261. ' ?, h" R/ Z$ E# U
  262. ; You cannot specify additional output handlers if zlib.output_compression) T) y6 U6 P4 {* W
  263. ; is activated here. This setting does the same as output_handler but in
    8 F& D# }2 G# j0 b. Q$ Q6 N
  264. ; a different order.: v. ~  R# F) Z( F! W9 f" [& Y
  265. ; http://php.net/zlib.output-handler
    / F9 l4 f6 G% e& ^& \5 x4 x
  266. ;zlib.output_handler =9 |5 b! R4 K4 ~* H. R9 j+ N

  267. 0 t0 t/ P) I! q9 E# e. J" t2 @
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ! q2 ]# q& |* M- x) o
  269. ; automatically after every output block.  This is equivalent to calling the
    9 v8 @' ?4 {8 g- V# `  u
  270. ; PHP function flush() after each and every call to print() or echo() and each
    1 _7 a( l9 ~4 ^
  271. ; and every HTML block.  Turning this option on has serious performance+ |/ G( |5 q8 n! s
  272. ; implications and is generally recommended for debugging purposes only.
    % f' j3 F  o& O" L
  273. ; http://php.net/implicit-flush
    0 s, S  A9 ]5 r9 [! l1 F' z
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    % W- R9 p3 K: Y9 n/ Z2 O
  275. implicit_flush = Off& ^/ I) C" x7 v' j" R# S& c, s
  276. , C; |" x$ N  V' s
  277. ; The unserialize callback function will be called (with the undefined class'' ~4 M. q2 r# l
  278. ; name as parameter), if the unserializer finds an undefined class
    $ d- H; [5 p: k& N, o# g
  279. ; which should be instantiated. A warning appears if the specified function is' k! u' w7 O6 d
  280. ; not defined, or if the function doesn't include/implement the missing class.7 z6 y% z, f7 h1 a- w* _& R& }* {8 X# c
  281. ; So only set this entry, if you really want to implement such a
    & V: M$ t$ W$ w9 n$ L- L" }
  282. ; callback-function.
    ' `. k) }7 E3 ^& S  S8 m
  283. unserialize_callback_func =
    8 f- J5 l' @' P( X, L

  284. ' ^" m- P! k  v$ z7 P
  285. ; When floats & doubles are serialized store serialize_precision significant; a  [' c) w4 Z) P/ N# v5 S. s! h/ n
  286. ; digits after the floating point. The default value ensures that when floats! Y6 H! V+ L' m
  287. ; are decoded with unserialize, the data will remain the same./ U5 j+ ?3 Z+ l) e# p' m
  288. serialize_precision = 17$ q4 I" _: v/ _; ^$ u
  289. . l$ W( U8 D7 N4 E' t1 n
  290. ; open_basedir, if set, limits all file operations to the defined directory
      J4 i& N& N8 I; g
  291. ; and below.  This directive makes most sense if used in a per-directory
    ) \! C/ p- o' t
  292. ; or per-virtualhost web server configuration file.6 H: |. `  M6 _2 V; Q' o1 i
  293. ; http://php.net/open-basedir' M$ [& k% ^( @
  294. ;open_basedir =
    ; i% F  a9 @2 i

  295. % w8 P7 f; n, t+ B
  296. ; This directive allows you to disable certain functions for security reasons.! ]9 e- @1 a3 V5 a
  297. ; It receives a comma-delimited list of function names.
    ; `& f; m' C  X8 e3 `; K( U4 e+ R
  298. ; http://php.net/disable-functions
    . k6 b; ^2 o: g" q
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, x1 p2 u/ u. t$ V, D

  300. 8 c: t' g/ J' a
  301. ; This directive allows you to disable certain classes for security reasons.3 q, Q4 a7 R5 X9 Y* z2 |5 `/ d
  302. ; It receives a comma-delimited list of class names.
    2 ~0 `; D& L( [2 |: ^8 R
  303. ; http://php.net/disable-classes
    + f7 u" q5 n# s( T# x8 S) A
  304. disable_classes =
    4 w( P. P7 H3 H* U* Z
  305. ( v3 M5 \3 |8 K/ V$ W* S9 b
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ) g. K+ a8 U2 t, g8 }9 W
  307. ; <span style="color: ???????"> would work.
    8 M6 k( ?1 C- R7 F  c
  308. ; http://php.net/syntax-highlighting" L9 U$ [4 w2 G9 N9 A& g
  309. ;highlight.string  = #DD0000
    . _* E! b  I) I. S: b  X
  310. ;highlight.comment = #FF9900* G" u5 ]* c8 S2 e
  311. ;highlight.keyword = #007700. t1 r6 z4 x5 z) O0 h6 s0 H& a7 j
  312. ;highlight.default = #0000BB+ i# y7 s' F7 Y) }1 @9 [& m  ^2 C
  313. ;highlight.html    = #0000007 r; {0 U7 r' t" i. s; A  [

  314. & t2 h! G4 e* ~8 A+ O
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ; d/ i; q5 F" C: S7 I
  316. ; the request. Consider enabling it if executing long requests, which may end up2 l, E' W  d! X* ?( Q; e
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior$ h: V$ C; \( o
  318. ; is to disable this feature.
    # [9 v# _4 ^% {1 `( \% E' w8 L
  319. ; http://php.net/ignore-user-abort4 B. H, C# q$ f. A. I
  320. ;ignore_user_abort = On0 h9 f4 T& b7 v1 S# l9 Z- Z' M
  321. 6 V' Z4 v2 R( y" \# [
  322. ; Determines the size of the realpath cache to be used by PHP. This value should4 x- L2 W6 \  `+ R- d
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    7 X( F' Y- T! R: A1 @
  324. ; the file operations performed.
    6 H6 {/ \$ F4 @: C
  325. ; http://php.net/realpath-cache-size  m  c! W; k3 P9 h5 q
  326. ;realpath_cache_size = 4096k1 k9 i0 j' z  `5 G! P( g
  327. 4 F5 P/ E1 f; `
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ( n7 b# L( s- n# B
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    5 o; d+ Z) e0 a  i4 g  d  @
  330. ; value.4 J/ B# m, r: o8 t  w, B
  331. ; http://php.net/realpath-cache-ttl
    & M: @* }9 I- u2 I* o2 P6 e, J+ [6 E
  332. ;realpath_cache_ttl = 120
    , S9 Y. q2 x; T& \9 k
  333. / y& w5 k  L5 C) m3 M* ~
  334. ; Enables or disables the circular reference collector." ?5 q. p8 E( V6 U% W/ Q
  335. ; http://php.net/zend.enable-gc7 s2 q& y4 K$ O" a7 `
  336. zend.enable_gc = On$ K9 b( C; X, M0 t. G! @* d. K

  337. 8 p2 X$ V% Y# x9 a. R% _
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ! a2 C( J+ M2 {& s4 W
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / p7 u$ L# I) x9 ~; |9 P
  340. ; encodings.  To use this feature, mbstring extension must be enabled.6 n  F6 U" E$ l
  341. ; Default: Off
    1 r# y  J0 w  {6 z( e8 [; C
  342. ;zend.multibyte = Off
    ) c3 j5 I& i% A7 ~
  343. + ^' Y1 H# d7 x+ [2 x7 u; A+ k  d+ F
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ) h+ j$ z+ k. T& G* z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( [' b. j% f- h+ ~/ r; Q
  346. ; Only affects if zend.multibyte is set.# i( l" u) }8 z/ d3 |
  347. ; Default: ""8 k& P, a" ^6 P4 F1 q* d
  348. ;zend.script_encoding =
    # L, v- I! }+ I2 ?
  349. & q5 H% q+ _/ }0 C) [1 u! t
  350. ;;;;;;;;;;;;;;;;;
    4 _) J: W6 ?0 I0 |. q- S
  351. ; Miscellaneous ;' S% c; H5 K* f! H: w9 T8 |
  352. ;;;;;;;;;;;;;;;;;
    " J# Q5 y7 E% j, M
  353. - N# h  C9 E% y9 Y+ a" X9 v4 H
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    : V  x3 {  `3 }
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 \5 F" ]; w+ V! o# F
  356. ; threat in any way, but it makes it possible to determine whether you use PHP* |8 b- b8 q5 z, F3 x) G
  357. ; on your server or not.: a$ s# |# c1 J; a5 d
  358. ; http://php.net/expose-php; q% _& q4 D1 R9 R) c% z; m! X$ h
  359. expose_php = On6 c! Y0 s" J% {, R

  360. : w  |  D& L6 ]# r: c: ]7 r
  361. ;;;;;;;;;;;;;;;;;;;
    7 I1 ]8 W  g$ L1 v, y, {, T+ W
  362. ; Resource Limits ;
    / j$ `8 ]& t9 T0 ^; t; \
  363. ;;;;;;;;;;;;;;;;;;;
    ( F& x: G! r! D4 H
  364. ! e1 _$ m" Z- \% Z
  365. ; Maximum execution time of each script, in seconds! A4 {% L+ w  A1 ^1 ~% y' E
  366. ; http://php.net/max-execution-time' {- \5 X/ Y* j6 E# L/ U$ M2 }
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI! s( J' Z* A( x
  368. max_execution_time = 3000 J+ p, b# q8 P; [" B; g- I4 z$ f2 @7 o

  369. - g/ j- O6 v. o& _
  370. ; Maximum amount of time each script may spend parsing request data. It's a good4 |1 s8 D$ w( y) n3 G/ b$ d- F
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly( a& W  C9 E4 K! d  k4 f) ]
  372. ; long running scripts.9 d6 {: ^" Z+ [, U4 ]) M  C# ~
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI" c8 ^3 q9 ~$ j5 }3 h* k
  374. ; Default Value: -1 (Unlimited)6 k; _: P9 n$ F3 V- H% P$ X$ F6 y
  375. ; Development Value: 60 (60 seconds)7 ?+ V' x! S8 |9 n' G& _1 H
  376. ; Production Value: 60 (60 seconds)/ Y! o3 C- V, _3 v: ?: O; Z; G! ]
  377. ; http://php.net/max-input-time
    0 A% r( a* A& O* V
  378. max_input_time = 60( \+ w+ ~2 E) k  f
  379. ; b% l9 I# M) x/ d; W( I' b: A
  380. ; Maximum input variable nesting level) O% A& @- ~3 P% s( \% W
  381. ; http://php.net/max-input-nesting-level* z' i( t. O$ e' U
  382. ;max_input_nesting_level = 64
    ! h- k9 H% F6 k. J4 \$ X
  383. , Q6 L/ [, e3 I' W" }9 e" e, ]
  384. ; How many GET/POST/COOKIE input variables may be accepted( S' {0 u- A4 ~& L; l1 n
  385. ; max_input_vars = 10004 x  Z) V6 ]5 Y8 Z/ G- E2 N

  386. 1 b2 F% m$ r% m! l& U
  387. ; Maximum amount of memory a script may consume (128MB)
      U& H4 t, p1 q! c8 @2 W
  388. ; http://php.net/memory-limit. G5 m' U' R# j3 L; L0 P( r
  389. memory_limit = 128M0 o9 `  c4 X* z4 m: ]! O2 D

  390. 0 g% b+ Z3 Y# ~: n$ d: S
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      l& N5 v' v- N8 Y  m! x! B
  392. ; Error handling and logging ;
    " X5 h1 [, ?; h, D, v' ~
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 H" W: ~5 t: M" u4 O2 p0 j

  394. 1 [2 |( C7 R( \& z- o8 e6 c
  395. ; This directive informs PHP of which errors, warnings and notices you would like- q) H9 A3 {' k( [
  396. ; it to take action for. The recommended way of setting values for this
    5 q. T( ?, S' O0 _6 ], q
  397. ; directive is through the use of the error level constants and bitwise
    : e* z# P3 Z6 k( L2 {, _0 W
  398. ; operators. The error level constants are below here for convenience as well as" M; z7 c+ |& A; v
  399. ; some common settings and their meanings.
    2 c  G/ B+ E! V. e! {1 _9 J
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ) |7 s" l* \4 ^) ?9 f# h
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" V4 w% X) c$ Z/ j, Z/ d
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ( Y# @5 t% M9 k3 |6 ]
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ' u9 E: c/ `1 ?/ Y( j# V
  404. ; resources complaining about best practices and coding standards. That's what
    3 ]' E2 ]( @* a' C
  405. ; development servers and development settings are for.- Y$ u8 \3 {% _. v# @' Y5 P8 }
  406. ; Note: The php.ini-development file has this setting as E_ALL. This6 J* W) M" B4 A2 d/ Z+ T% s
  407. ; means it pretty much reports everything which is exactly what you want during
    + Z" j# u8 \& K5 n% W8 j0 i
  408. ; development and early testing.
    8 t) P5 Q! R3 [; O" l7 ^" T
  409. ;" n9 W8 ?! e$ \! G7 P  l( b
  410. ; Error Level Constants:
    / v' q- {1 K" C7 l) b9 _
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / ~6 p* f5 ?5 X* y
  412. ; E_ERROR           - fatal run-time errors
    ' p" P! R4 n) C. V& ~
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % x+ X/ p; c( c; u8 U) Y
  414. ; E_WARNING         - run-time warnings (non-fatal errors). k5 }- A# J% o, Z
  415. ; E_PARSE           - compile-time parse errors
    & p6 _3 v" Q5 z, N
  416. ; E_NOTICE          - run-time notices (these are warnings which often result8 S0 ~2 I2 T' ~, u2 M  V4 O, y+ R
  417. ;                     from a bug in your code, but it's possible that it was
    . Q( {6 C! ^, [( S6 m+ z
  418. ;                     intentional (e.g., using an uninitialized variable and) H* s  c# u' a* T) O
  419. ;                     relying on the fact it is automatically initialized to an
    ! E3 w9 p# \. c2 j* l( C
  420. ;                     empty string)3 S3 g% e6 b) i/ P% D# ]
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ! I' G) U% q0 j! E( S
  422. ;                     to your code which will ensure the best interoperability8 D* o4 L+ `7 \( r
  423. ;                     and forward compatibility of your code! _* L/ O* x5 ~2 ~4 R% I; k
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup3 I; V/ J9 w8 ~! g
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's/ l7 S  U! s7 A& z  p+ k  l- Q5 @
  426. ;                     initial startup
    , O: c; ~, A# a2 r( d( E
  427. ; E_COMPILE_ERROR   - fatal compile-time errors( }5 ^3 P3 t: O% `5 E8 f, q
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    - |: Z# Q+ b( [' i* ?3 @5 k" r
  429. ; E_USER_ERROR      - user-generated error message& ]# l. L8 B' l; U/ }" h) w7 i
  430. ; E_USER_WARNING    - user-generated warning message' W: E" U& C* m6 v
  431. ; E_USER_NOTICE     - user-generated notice message
    + T& P' i/ |4 O8 s! J# ^
  432. ; E_DEPRECATED      - warn about code that will not work in future versions. a7 Z7 g( D3 j- b9 v+ A
  433. ;                     of PHP
    " X& o3 X. T5 d- X
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings" `/ c, ?- @7 K& \. n' ^$ A$ {
  435. ;
    & b3 a( k1 c0 |% c4 s. j2 Y: h
  436. ; Common Values:
    ) M; s! D# y" G9 ]9 Q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    * b" {, T6 o* {# N6 ]+ v! F2 \2 ~
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)2 z& T) v. g; b" \: Y
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)0 N) v5 r4 z- q4 V
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " V2 A1 a8 N1 m5 e! F4 s5 d& p
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    & P( `: M- h+ C; `
  442. ; Development Value: E_ALL' X- v+ O) o. b- D" Q& r
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + g+ C% J* b3 q' ~6 t" H8 X
  444. ; http://php.net/error-reporting
    ( B5 A! l3 d, _" l
  445. error_reporting = E_ALL & ~E_NOTICE
    & B$ D" h! {+ u

  446. 8 c# t7 \) C6 p( k: M" Y7 N
  447. ; This directive controls whether or not and where PHP will output errors,
    / T% e; {1 F! [5 g0 @# M
  448. ; notices and warnings too. Error output is very useful during development, but5 o4 `5 d( b7 f- @# L3 n+ y  j
  449. ; it could be very dangerous in production environments. Depending on the code
      Z) }  W  w! T. l, i
  450. ; which is triggering the error, sensitive information could potentially leak
    8 y- E: g9 D1 t/ h
  451. ; out of your application such as database usernames and passwords or worse.
    8 @& J) X  N4 I1 y9 p  p, _
  452. ; For production environments, we recommend logging errors rather than
    0 f& {  z( Y! J0 S6 ]( ^
  453. ; sending them to STDOUT.
    9 t7 d; i6 L; I# b- H
  454. ; Possible Values:) Z& M  N) H0 U  `8 g) A
  455. ;   Off = Do not display any errors
    ) m) v! G2 \' J
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    . y' H- ?9 H5 n! }7 B6 j
  457. ;   On or stdout = Display errors to STDOUT
    - w  F# h5 F7 L. x, F8 M
  458. ; Default Value: On
    / F: I( ~( ]; a* D: N
  459. ; Development Value: On
    4 e# T  x( k/ l4 w- y0 u9 U
  460. ; Production Value: Off
    4 z6 r; p5 B6 b2 W& h. s- F
  461. ; http://php.net/display-errors1 W; @2 p8 F* o8 c
  462. display_errors = On6 \) B- t) C4 W, e

  463. $ c8 u1 n( U4 ?0 a$ w' P! ?
  464. ; The display of errors which occur during PHP's startup sequence are handled8 R% o' F9 U8 a
  465. ; separately from display_errors. PHP's default behavior is to suppress those  q$ A( ^% n7 o% p) y
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    7 `: F- v  x5 {/ ^7 w5 @
  467. ; debugging configuration problems. We strongly recommend you- [1 K0 H  V! A; }5 @
  468. ; set this to 'off' for production servers.
    $ i% W. F# g+ F- Z$ U5 w
  469. ; Default Value: Off
    0 a6 h. G& N( N- {; X
  470. ; Development Value: On4 {( [8 |- s; F# P, x8 B
  471. ; Production Value: Off$ d: E7 {, I/ [$ m
  472. ; http://php.net/display-startup-errors$ P( d' L& h  Z2 {
  473. display_startup_errors = Off$ |: I( r( |. n% U
  474. - c( {' W7 V+ n' Z; c+ C" ?
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
      r# y) p  |/ n& X1 T4 P" R9 L
  476. ; server-specific log, STDERR, or a location specified by the error_log
    - y: z  A8 E" M( J% W% h2 `
  477. ; directive found below. While errors should not be displayed on productions
    % e3 S* m1 n. W& k
  478. ; servers they should still be monitored and logging is a great way to do that.7 v3 p) Z0 V: P6 |+ A" F
  479. ; Default Value: Off2 x+ E# c7 r8 S/ f& S
  480. ; Development Value: On
    / D5 m( Y6 q" S( I8 Q% y9 W5 L8 @7 b
  481. ; Production Value: On
    4 ]# }! ^* ~+ W1 ~& o/ ~
  482. ; http://php.net/log-errors
    - v3 Z) e  q* m% Z
  483. log_errors = On" z6 ]9 t) Q4 G

  484. " U5 D# U  f1 f; Y* _  C- I* }3 ?
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ( J, h2 M6 s9 s' P5 D
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ( Z9 L( u- h/ Y7 H3 V/ t
  487. ; http://php.net/log-errors-max-len5 ~' t0 c: A, ^4 t2 X! f
  488. log_errors_max_len = 1024- {- \- E; U8 m! t7 l: d  A
  489. - \: f! j4 N- c7 X% f" x
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ) W/ h2 a$ a5 ~+ f4 I$ \2 }
  491. ; line unless ignore_repeated_source is set true.0 H% w: f' x, ^2 F7 E
  492. ; http://php.net/ignore-repeated-errors! Y  ~1 Z. q& D
  493. ignore_repeated_errors = Off
    ; k0 V9 C* I+ V( d4 l- {
  494. , K$ v' q& M+ `* G" O2 a
  495. ; Ignore source of message when ignoring repeated messages. When this setting
      e& I# F* }, g1 M& y5 I
  496. ; is On you will not log errors with repeated messages from different files or
    4 S! D. X$ A) y- y4 K
  497. ; source lines.
    ! Z* Z: E2 P# o' d) t9 K1 h# c7 Z
  498. ; http://php.net/ignore-repeated-source* f% J. m: n5 L9 v- U
  499. ignore_repeated_source = Off
    ' h/ Z! T' L$ A$ Q/ C2 ]

  500. 0 w$ B5 N' |0 w: K
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    1 v7 y1 k1 x+ T) f
  502. ; stdout or in the log). This has only effect in a debug compile, and if7 j  y* G% o3 u' Y; h
  503. ; error reporting includes E_WARNING in the allowed list4 I3 F9 b; D# P3 {
  504. ; http://php.net/report-memleaks, g' e: o5 m( H: O
  505. report_memleaks = On) j5 i7 M: P/ n, H2 {

  506. - Q# w( ^* |6 I- q
  507. ; This setting is on by default.. |3 S9 q' z& M
  508. ;report_zend_debug = 0$ d0 C+ X+ I) d1 w0 m0 Z8 o
  509.   w; ~& N% p+ |1 m
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value  j* n$ a2 `3 Y) Z  k
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    9 T+ X& b8 x# q* `
  512. ; however be disabled on production servers.% F$ F; l# x" h! u& k* e
  513. ; Default Value: Off
    / ~6 r! ]/ p' c
  514. ; Development Value: On" Y0 a' w  P9 f9 V+ V/ |$ u9 I! F! j
  515. ; Production Value: Off
    4 N5 E; i7 Z9 ]2 z- q, V
  516. ; http://php.net/track-errors- W9 a8 A+ i3 U; D
  517. track_errors = Off) J, }* G+ ~- [% n
  518. ; B) m0 O0 v1 T# b
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    1 @( h' r9 j) |  ^7 s0 t( o$ Z3 k
  520. ; http://php.net/xmlrpc-errors& b5 C1 g( Z" f4 A3 _) U3 i
  521. ;xmlrpc_errors = 0
    4 o6 J5 W9 R3 K4 z; O
  522. 3 O  G% i( b$ F
  523. ; An XML-RPC faultCode* f; w+ D9 \2 C" C8 v3 [' l* Q
  524. ;xmlrpc_error_number = 0
    5 X) O) L) O( |
  525. " a5 X: I, e3 d: U- i
  526. ; When PHP displays or logs an error, it has the capability of formatting the+ s9 u; P! v+ ?5 y
  527. ; error message as HTML for easier reading. This directive controls whether8 @& o) p" F1 `* a7 q$ J+ A
  528. ; the error message is formatted as HTML or not.% |( O/ e: R" K% ~% S
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + U9 x# m, k' ~' d% X$ r0 ?5 _
  530. ; Default Value: On0 N% j/ ~4 e* I! F$ r& @& I. Q$ s
  531. ; Development Value: On
    ( ?, L9 ^6 b9 C: Q& q1 v
  532. ; Production value: On
    & a7 S7 ^  P" x9 v2 L) L9 j
  533. ; http://php.net/html-errors
    6 D- ]4 ?* G. P  s+ K8 s, z
  534. html_errors = On
    * r& i, [( P/ ^; f1 R; _
  535. ' M# |0 |+ h/ ?! ^/ O8 f, y" F
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP$ E1 H) i9 g" a
  537. ; produces clickable error messages that direct to a page describing the error
    ! c2 U) {6 p, U2 x1 H1 S* N; ?
  538. ; or function causing the error in detail.
    # J5 v, I5 F& Q3 z% |% b
  539. ; You can download a copy of the PHP manual from http://php.net/docs, B" L  o' z6 [. R0 |1 _
  540. ; and change docref_root to the base URL of your local copy including the
    * Z+ @% L* l6 p4 E3 m# \
  541. ; leading '/'. You must also specify the file extension being used including" m7 T" G4 B6 g5 q* F
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 ^$ j& [- {' m# p; V8 e% W
  543. ; case no links to documentation are generated.
    - S& W, E3 k- P& A
  544. ; Note: Never use this feature for production boxes.
    / }' M7 ?0 U' l# F7 b. H
  545. ; http://php.net/docref-root
    3 C8 R$ k4 @3 g! L1 z9 r
  546. ; Examples  ?; ]! D) }+ x, n) o3 S9 s: {( g
  547. ;docref_root = "/phpmanual/"
    ! r% ]. i' |$ F& q4 o2 j  R, U. ~  L+ N

  548. 0 J' n2 E  f4 C/ }8 w
  549. ; http://php.net/docref-ext4 E$ l& O- H4 |& P' o
  550. ;docref_ext = .html
    % L' m, p9 u, m: J
  551. 0 u: ]' B8 _# n# _) P
  552. ; String to output before an error message. PHP's default behavior is to leave
    # u2 l) w; y- f* v- b8 H4 L6 t
  553. ; this setting blank.: o$ d6 N6 U  A7 ~$ |6 Q1 g
  554. ; http://php.net/error-prepend-string# D% y+ D% B% F. X9 `
  555. ; Example:
    / Z' A: Q$ k- y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    $ y2 v! d$ v- [2 v2 K7 L9 f$ [  @

  557. . y9 q* Y. y0 J' l: L( C" |1 {" m
  558. ; String to output after an error message. PHP's default behavior is to leave
    ) z( V9 v$ D9 s. m
  559. ; this setting blank.
    : k( A- r/ d+ S, z1 k/ b
  560. ; http://php.net/error-append-string/ o9 a! T5 a3 P: C9 M" ^! l4 u
  561. ; Example:1 k* N( O" L0 s
  562. ;error_append_string = "</span>"
    2 X8 [8 H" K; E, v1 S
  563. ! q' C& D# ^: t/ `# `
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    % z0 A: t' K4 d/ e3 r
  565. ; empty.
    : N& o# i% \8 t3 |* F# W' p* n$ K
  566. ; http://php.net/error-log
    " c/ i  i# l5 U5 S5 Y. q0 o" N
  567. ; Example:3 C: B# k/ g6 C' I1 u" {  J
  568. ;error_log = php_errors.log
    0 F+ W$ l2 r8 p/ c
  569. ; Log errors to syslog (Event Log on Windows).
    ! A' A! i! m6 O2 s5 }8 C
  570. ;error_log = syslog  S, Y$ J1 U" a( l
  571. $ `1 Q6 \( [1 L- a8 D- z
  572. ;windows.show_crt_warning) b/ j; t% t% {" q( B; K
  573. ; Default value: 0
    ( T7 }: ?! {% y  v
  574. ; Development value: 01 R  Y6 h( P! V( Z( _4 z3 z
  575. ; Production value: 0
    % x$ Z7 w' s& i- T8 ^3 \

  576. . w4 n' |% q, D1 b6 b
  577. ;;;;;;;;;;;;;;;;;
    / z* R; H7 ^: {- B' a# ~( N4 r
  578. ; Data Handling ;' \4 q0 u' @. P- N: ~7 L5 m! z
  579. ;;;;;;;;;;;;;;;;;& q7 O1 L$ W/ ~* e( x
  580. 4 c6 G1 }7 a8 t$ U5 b9 c3 B; B- C
  581. ; The separator used in PHP generated URLs to separate arguments.1 I/ f# ?5 V# }% v4 X( y
  582. ; PHP's default setting is "&".
    5 F: j# z1 Y/ @. `$ U( _
  583. ; http://php.net/arg-separator.output( @6 k/ t5 C5 V$ M3 T1 k% R( t
  584. ; Example:& q! n# M# ?/ }! }& _; L
  585. ;arg_separator.output = "&"% {' Y& `$ ^! ~# |" ~$ Y

  586. : }. {! ~1 _+ E2 m! Q7 I& l: ?
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    * F$ ~! R* T0 u: R5 J# Q
  588. ; PHP's default setting is "&".( w2 j! Y. }# c! q: G0 _
  589. ; NOTE: Every character in this directive is considered as separator!1 t( H2 H! ~" N2 L
  590. ; http://php.net/arg-separator.input- v/ \  u( T- P
  591. ; Example:- G5 r1 `4 V8 r: K4 B4 e, b
  592. ;arg_separator.input = ";&"
    - \1 u8 d5 ?! x2 q4 T
  593. 7 d: z6 t. c! o# k3 g
  594. ; This directive determines which super global arrays are registered when PHP" b; X7 J0 x( D. b6 N, O
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super, @% m  t! s* r& |
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty: Z' v# ]  k9 o6 ?7 K: x- i
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ' q* u4 \9 [9 Z4 W, u
  598. ; used as the others, ENV is not recommended on productions servers. You
    9 ^. b; }0 j( w% O- m' z/ `
  599. ; can still get access to the environment variables through getenv() should you; d. f! y3 ~% V
  600. ; need to.
      u! W  x" ?9 b/ F6 U* x, |
  601. ; Default Value: "EGPCS"
    ! i" m: a6 w8 f/ M# J1 ^# F3 j! P
  602. ; Development Value: "GPCS", h( z2 h: `+ W9 E
  603. ; Production Value: "GPCS";8 k: k! I5 s1 o; v- N4 U0 S$ X/ T
  604. ; http://php.net/variables-order. n' r- a) ]# N; \1 [; C9 A5 j
  605. variables_order = "GPCS"
    3 W* d& R2 J- ]0 W+ q7 e0 L

  606. 3 o7 J( v% h% ~0 C
  607. ; This directive determines which super global data (G,P & C) should be
    1 b4 {5 r2 Z0 E9 e. ~$ n0 ^1 o. U
  608. ; registered into the super global array REQUEST. If so, it also determines7 b4 g6 T5 f# v
  609. ; the order in which that data is registered. The values for this directive
    6 \+ n( ]) W- M8 {6 p2 ^
  610. ; are specified in the same manner as the variables_order directive,
    , w: ~: i- ^& B- e  Y( m) W! f4 {* O$ G
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , `' U7 q9 v' h5 L3 k' J
  612. ; in the variables_order directive. It does not mean it will leave the super
    0 C% U5 x5 Q* q( V8 I! G
  613. ; globals array REQUEST empty.
    : v/ g! Z, V4 A. e* V; G
  614. ; Default Value: None' X% f  n8 G( U  M3 Y
  615. ; Development Value: "GP"* D  V1 M1 M8 {
  616. ; Production Value: "GP"; \% \9 M. q; @2 Q
  617. ; http://php.net/request-order
    2 M. p" l: _  E2 q. V
  618. request_order = "GP"8 a! y' i+ E' b0 Z, ^: K

  619. " w4 D0 q/ m( }  q
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    : T( n5 H2 V/ A9 `9 d' _
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! q% ?8 C* w2 b" ^9 D
  622. ; is invoked. $argc contains an integer representing the number of arguments. r( F2 v6 Q5 {! r
  623. ; that were passed when the script was invoked. These arrays are extremely. l( g- `: q4 N. g! o) i9 ^) j! o5 f
  624. ; useful when running scripts from the command line. When this directive is
    3 n2 Z- D! H  g0 _( ]+ ?* @, M
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 \+ y4 z/ H& b
  626. ; a script is executed. For performance reasons, this feature should be disabled
    & Y% \, y+ {! R7 j
  627. ; on production servers.
    + N% i6 e( F2 w, [# k
  628. ; Note: This directive is hardcoded to On for the CLI SAPI# Z+ b/ w- b; P# @! ~/ y
  629. ; Default Value: On# k& t% j* B  i6 K1 y
  630. ; Development Value: Off
      l( o0 m7 h" X+ C4 _' e: N
  631. ; Production Value: Off
    1 m- b) T- g2 r9 j5 {( C
  632. ; http://php.net/register-argc-argv% |, r4 Z4 y- P2 r. ?/ y
  633. register_argc_argv = Off6 d- ], Q/ r1 `# i2 z9 u6 h
  634. ) K4 [6 \9 Z# c( ^6 S! f4 C. w
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    * `1 N, T5 g# H, r8 [4 q% N5 ~
  636. ; first used (Just In Time) instead of when the script starts. If these. i! p; @0 V: N& A1 b% I
  637. ; variables are not used within a script, having this directive on will result
    + b( K2 i& M! U! ?7 m7 R3 r/ h
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled' K4 k1 x9 l! u$ Y! S$ w0 y
  639. ; for this directive to have any affect." S) K- T, m# v2 ?& w8 `
  640. ; http://php.net/auto-globals-jit% B" E9 J! O/ O% c* b2 E! V
  641. auto_globals_jit = On2 c; g3 ~+ \! a/ @% O, _0 O
  642. : V+ o+ f+ r3 A) ~0 n3 \' O7 B
  643. ; Whether PHP will read the POST data.
    / z# z3 V( W. k; q7 t
  644. ; This option is enabled by default.
    , H$ @% I6 y! u
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST6 F' J. |2 K+ V' d
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    4 V3 P* O% e% Y5 U
  647. ; POST data will be through the php://input stream wrapper. This can be useful1 y* ^, `8 u! T9 g6 Y7 }1 a" [
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.0 P; X/ W, p5 X8 C! t9 Y# n1 p
  649. ; http://php.net/enable-post-data-reading8 ^2 ]- Q' C$ p+ T% h
  650. ;enable_post_data_reading = Off
    . ^/ e: |1 {9 }% {3 W$ \. I) T

  651. 6 r2 Z6 ]" m6 R. v/ \
  652. ; Maximum size of POST data that PHP will accept.
    ! t/ b7 ~* h1 E  [, b( H6 ~
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    % k! C5 g4 c# V# y1 i
  654. ; is disabled through enable_post_data_reading.
    . W7 [) Q* ?9 {3 z! ?0 w
  655. ; http://php.net/post-max-size
    $ j1 \; z$ ]5 p( C8 B* x: }
  656. post_max_size = 50M
    # B7 Q; X0 j) v2 ]8 ~$ m
  657. " _# _8 d( Y8 X2 W7 w, f. j; R
  658. ; Automatically add files before PHP document.
    * O* f* @! ?& X
  659. ; http://php.net/auto-prepend-file3 _# r0 B8 A6 y9 A
  660. auto_prepend_file =* V$ a4 i( @# e5 s# V
  661. 3 x1 {7 |, b0 ?8 m
  662. ; Automatically add files after PHP document.# t8 z+ H6 W* l+ j$ U
  663. ; http://php.net/auto-append-file" w" l/ C! q1 c% n& H: g4 ]! s+ F
  664. auto_append_file =
    ( }- h$ j0 i# L% Y

  665. : d4 g; j4 \* T1 C2 q/ k/ G, U
  666. ; By default, PHP will output a media type using the Content-Type header. To/ w* L" }) G2 `' Q8 _: E5 k+ O& _
  667. ; disable this, simply set it to be empty.
    ! l7 S+ j) c1 D, z
  668. ;
    , A+ L+ T' T0 B7 b* v, [5 a/ ?
  669. ; PHP's built-in default media type is set to text/html.0 T7 w/ U: Q  M; ~' I$ B, s
  670. ; http://php.net/default-mimetype7 p( {: A5 H9 m. S0 U; T& h
  671. default_mimetype = "text/html"8 y5 B& p/ ^% u3 t

  672. ) Q* n# |! h8 E8 I! f
  673. ; PHP's default character set is set to UTF-8.2 Q" o5 I6 w9 [  v" [
  674. ; http://php.net/default-charset
    9 u2 _" J: f6 D+ T/ H
  675. default_charset = "UTF-8"
    3 M) N: C; d  K# k4 s5 M) L4 G4 d
  676. 2 r7 m  X: S5 \: @7 v
  677. ; PHP internal character encoding is set to empty.  |7 d- r; [1 b: }6 x
  678. ; If empty, default_charset is used.0 s# v7 O3 B3 Z& r8 ]9 q
  679. ; http://php.net/internal-encoding
    # `. L% b3 ~2 R% s! w' X, f
  680. ;internal_encoding =
    5 ^( T8 s7 b, }' b
  681. ' H7 S; {3 X4 Q! s" D3 I
  682. ; PHP input character encoding is set to empty.' o8 Q2 J3 z2 k. n
  683. ; If empty, default_charset is used.! @5 v4 V/ z% S0 w7 x0 m! }
  684. ; http://php.net/input-encoding
    9 U6 ~! E! S+ T9 U+ i
  685. ;input_encoding =; n2 x9 X) M$ N( T- H
  686. . `( V( r2 k- j
  687. ; PHP output character encoding is set to empty.
    * J1 O% A5 Q9 k8 W) S) \
  688. ; If empty, default_charset is used.
    $ g# a6 h6 w# f  X
  689. ; See also output_buffer.
    $ T: p+ @& u) j5 y5 R' P5 O6 `
  690. ; http://php.net/output-encoding9 x. T0 j9 R: p
  691. ;output_encoding =9 X: v0 ?$ n( h% Z

  692. 6 K- Y9 I$ M# r+ p
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 U0 F& G% a+ z5 n
  694. ; Paths and Directories ;1 g: S& ?  i" n' E1 g6 j7 o
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 Q3 s8 d/ ~. `: `+ `* R( j
  696. - y5 J+ G; m5 a# y, E8 ?: @8 T
  697. ; UNIX: "/path1:/path2"
    7 g8 d7 g# ]! e8 f; k
  698. ;include_path = ".:/php/includes"
    . L" C( g* p# r0 }- h
  699. ;
    " g7 ?4 v7 {; L' p" C% i% D$ k" O
  700. ; Windows: "\path1;\path2"
    , q9 k/ {7 @. D4 B
  701. ;include_path = ".;c:\php\includes"1 r# W( C$ F* m1 Q0 R. ]) T* V) a
  702. ;
    / u1 s5 W0 \' g4 W: O2 Y+ K
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; q  L' }8 H* A" Q  ?3 p" h
  704. ; http://php.net/include-path
    ' G7 p, g8 b; X; E: K9 z

  705. 3 U' [; p/ `/ p* u1 u6 d& N
  706. ; The root of the PHP pages, used only if nonempty.% l1 R" s/ D8 h+ B/ j) Z0 Q
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 s( p7 Q/ q- O" `$ N8 W* t
  708. ; if you are running php as a CGI under any web server (other than IIS)
    # O: E7 s2 s4 X0 f" r
  709. ; see documentation for security issues.  The alternate is to use the
    6 k0 M  @* m' A( m
  710. ; cgi.force_redirect configuration below) w8 d8 ^" J1 _: l% Z2 M
  711. ; http://php.net/doc-root
    * B) M9 b' w+ t/ G, J, v. W8 P
  712. doc_root =
    % i2 w& x# T, d: J

  713. " h, O6 I4 y5 G0 i+ _
  714. ; The directory under which PHP opens the script using /~username used only
    2 x8 k6 F7 a( L3 U/ Z( X
  715. ; if nonempty., j. O+ O* b) `' @; ?4 h  `
  716. ; http://php.net/user-dir: W, \, y3 }* k/ S, \% V
  717. user_dir =+ _% X  y# Z) u& A
  718. 0 ~6 Y; @0 A1 G
  719. ; Directory in which the loadable extensions (modules) reside.# v; {7 ^+ n7 D, X& B1 @8 z
  720. ; http://php.net/extension-dir
    : p( d. `  A. j, J
  721. ; extension_dir = "./", S7 Z% z% _6 I6 M- S/ m
  722. ; On windows:3 Z) b* N9 \3 \6 }3 m+ z
  723. ; extension_dir = "ext"
    + P; r/ t$ p. w1 H

  724. / h! \/ c; O2 h( ?  Z/ |
  725. ; Directory where the temporary files should be placed.
      C5 a$ ~0 r' w- O
  726. ; Defaults to the system default (see sys_get_temp_dir)
    $ T! Z1 ]& B  A$ r
  727. ; sys_temp_dir = "/tmp"
    ' a  f% `6 f5 Q6 y, j% n& h. u

  728. . P: a, L$ E! J# Z' b) R8 Z
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & s  F8 C2 @* s: Q; r" r9 ?2 W" o
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * h  J" W2 R7 e9 g$ e5 w! O+ d7 @
  731. ; disabled on them.
    ! ~. t4 J4 S& z  @- Z
  732. ; http://php.net/enable-dl
    3 k" @, M( v* T- ^; T
  733. enable_dl = Off
    : K" ^' v- [7 t

  734. 9 M, V) G4 R) w9 Y0 Q& M
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under/ [6 P3 u; L( A( I% l8 s
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    - h9 O3 U/ G7 W$ [! O8 q
  737. ; turn it off here AT YOUR OWN RISK$ i  E8 c$ F' c" R4 K% ~1 S
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% S5 l& F9 M, Y. x( C& V
  739. ; http://php.net/cgi.force-redirect9 W, b  [$ \2 {6 j/ m  U
  740. ;cgi.force_redirect = 13 q9 r8 o/ f* h7 }+ j5 I' t

  741. # k# R& ]- G- U" ~, F
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with/ S, @( N( f9 T3 K0 _
  743. ; every request. PHP's default behavior is to disable this feature.
    4 A; E4 v* s) }1 L) h7 U
  744. ;cgi.nph = 1
    5 a9 _5 n4 a4 U6 P, P8 K
  745. ; {. E! [: J2 n2 o6 D, H
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape4 b  R/ U; Y. {, Y. A
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    4 {4 B: M; V6 G8 z" B$ B9 j; J# {
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY- O- i0 D" n# q- O  [9 j
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    5 ~; |  s4 }$ q2 U1 N( f
  750. ; http://php.net/cgi.redirect-status-env
    , R) D( ]8 N: S. Y. l. s
  751. ;cgi.redirect_status_env =- w2 |# P. `6 r& K  n
  752. ' c7 ~/ Z* @( ^8 k
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's. ~) V7 M9 |6 r: L+ L
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok/ @/ L4 q1 ~; I* h
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ' X9 |# I2 m4 B$ K$ n8 Z2 g
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    7 O/ h. p! }) x7 f
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    5 y1 J, o0 i% {) W7 t' C
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED./ q  |0 [, R0 q7 b
  759. ; http://php.net/cgi.fix-pathinfo
    # v* X5 z3 a8 l5 l
  760. cgi.fix_pathinfo=1& h1 V  q) r8 y

  761. ) z6 \8 G7 X% ?+ `  o& x
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ' o" Q! t# ?+ B% D" t9 F
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    , N5 _3 {: e) N! V! d. q1 z& d
  764. ; http://php.net/cgi.dicard-path
    $ _- A7 D* W- a1 J0 J2 N4 p
  765. ;cgi.discard_path=1" z2 `, Y2 d3 z( ^) G- i- K

  766. + ?& I6 e$ w7 h7 ]0 }& g
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% ~1 C5 Y' u9 N( T, W
  768. ; security tokens of the calling client.  This allows IIS to define the5 n8 J7 z$ m0 o! c1 R
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ( E5 _& O& p1 V' @7 x; b' A+ @7 `
  770. ; does not currently support this feature (03/17/2002)
    1 ~* F/ Z- M# f# I: e% Z( r  K
  771. ; Set to 1 if running under IIS.  Default is zero.& q/ T; I, @. Y( V# Q+ I
  772. ; http://php.net/fastcgi.impersonate( t8 g* E! @) h0 q5 @2 {
  773. ;fastcgi.impersonate = 1
    & O& }, {" q. O
  774. 3 R5 q) E. a; R4 g9 Y) ]( r# {
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" |, ^; g4 c) I
  776. ; this feature.
    ) \% {8 ?+ E8 N; R
  777. ;fastcgi.logging = 0
    6 P" x) A2 s* r) L4 z" a7 }

  778. . ]( w! B! q/ O0 p: E* ~+ m9 p7 B
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to& ]* x6 a. o: M
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . N5 C( `6 a: L5 X
  781. ; is supported by Apache. When this option is set to 1, PHP will send. u' A7 B7 _7 P/ }6 M
  782. ; RFC2616 compliant header.
    7 c- P+ c# d: k  w# z  \
  783. ; Default is zero.- B6 W; G( M2 D* `* o. W
  784. ; http://php.net/cgi.rfc2616-headers4 W+ }" v% c: S2 ~4 x
  785. ;cgi.rfc2616_headers = 0
    # c% V2 B, `: P- P  o. @3 _  v
  786. ) v1 {$ P5 \  x* V; y' C
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # Y% ?0 f! m2 e9 d7 e+ N
  788. ; (shebang) at the top of the running script. This line might be needed if the
    & J  f2 Z7 E( w8 L. @  q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* D( ?/ m& l# D% N! K. ?
  790. ; mode skips this line and ignores its content if this directive is turned on.
    / x4 Q4 p  v2 Q4 V# \! ?
  791. ; http://php.net/cgi.check-shebang-line
      O1 ?( v5 {9 r% ?  X
  792. ;cgi.check_shebang_line=1
    & d6 U6 @. E/ M9 u/ M6 t$ I

  793. $ X: |( I' t1 Q
  794. ;;;;;;;;;;;;;;;;
      R$ ?$ J8 W6 {' `% z
  795. ; File Uploads ;; u* X8 u# K2 x$ L
  796. ;;;;;;;;;;;;;;;;
    : K- n5 \3 E( f* a5 }2 }4 J7 T

  797. 8 [2 q+ Q; R4 ]7 l7 r" f
  798. ; Whether to allow HTTP file uploads./ l8 d5 V8 I! B. d5 ?0 e
  799. ; http://php.net/file-uploads
    1 n, ~" D( W  c. _; j# R
  800. file_uploads = On
    / V' |$ I( R8 a

  801. 5 H# a; f  e3 f4 S5 }$ |. o9 H) K
  802. ; Temporary directory for HTTP uploaded files (will use system default if not, {3 k8 k4 C6 D4 E: L9 {( k
  803. ; specified).
    4 e( i* N& r- L2 \( W0 D: S
  804. ; http://php.net/upload-tmp-dir
    1 I( N* l- |' P7 C. j1 d- a& `
  805. ;upload_tmp_dir =6 Y$ \3 O% B' m
  806. 7 b9 y7 M4 G3 V
  807. ; Maximum allowed size for uploaded files.
    7 O- J/ x4 B5 b% G+ }
  808. ; http://php.net/upload-max-filesize* L2 ~- w. y: {; q4 I. v
  809. upload_max_filesize = 50M
    ( b2 L* o0 f; k! I8 S8 K

  810. 1 {& m! k+ J0 `  \6 B
  811. ; Maximum number of files that can be uploaded via a single request
    3 i) f0 ^/ P) x7 r# r# z- s% b
  812. max_file_uploads = 20$ S9 ]& a/ Z$ V" Y
  813. - A, ~3 Y/ ?2 \  _3 q! q# @/ v5 U
  814. ;;;;;;;;;;;;;;;;;;
    9 m' D; V: ?; U, S9 p5 S; D
  815. ; Fopen wrappers ;# a: L3 t# u: h" u
  816. ;;;;;;;;;;;;;;;;;;
    5 y! B- h' ?* k& w$ o+ O
  817.   E+ i6 Y( U  ]
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    * j! v4 W& T6 S  K: D
  819. ; http://php.net/allow-url-fopen
    1 p" R) G$ m. E4 x2 O& b# O: m  }8 _
  820. allow_url_fopen = On
    ) U; N! r2 x( K; E% I
  821. ) Y6 B4 y) `2 q3 z8 i; a  E2 v
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.6 R% f" ~! @# Q; D3 q) n
  823. ; http://php.net/allow-url-include8 q/ n: u. N# [3 w$ k2 [
  824. allow_url_include = Off; _5 ?# o& |! O, }" |# x' \

  825. 4 N3 u( Z- e  G) t4 Z
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    : j' @$ N, G5 y9 Y9 K
  827. ; for this is empty.
    0 u$ E3 ]; b3 B0 g
  828. ; http://php.net/from2 U# A# `7 [/ G! H8 h8 T5 B( O, f
  829. ;from="john@doe.com"" t7 I# Z& D6 f4 C$ L5 T" N! q

  830. ; a3 K2 Q- ]/ t# t: ]0 y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.- O' r2 l5 [" L) d
  832. ; http://php.net/user-agent# u9 N2 Q# _9 A/ K
  833. ;user_agent="PHP"
    8 K. [/ |0 L( f

  834.   X3 |! }2 N. i# F9 j) e0 s
  835. ; Default timeout for socket based streams (seconds)
    ; ^* y  M. i/ V2 n7 i! W
  836. ; http://php.net/default-socket-timeout, H8 ^$ H. v5 H* s# }
  837. default_socket_timeout = 60
    ! }. b# ]- T. W  [: {* |5 v: j

  838. ' b. s; X8 h5 m5 f9 M7 ~. N
  839. ; If your scripts have to deal with files from Macintosh systems,, L4 }5 f- T3 ^% s# W# g' c
  840. ; or you are running on a Mac and need to deal with files from
      r; `1 ^& I* M
  841. ; unix or win32 systems, setting this flag will cause PHP to
    8 Q% ~9 N- y3 _# f" u; z
  842. ; automatically detect the EOL character in those files so that, d( u  m/ Z5 c' E5 |8 i
  843. ; fgets() and file() will work regardless of the source of the file.5 G2 C  m, I  ?6 L" q
  844. ; http://php.net/auto-detect-line-endings' d4 q0 v; a! s$ j7 @
  845. ;auto_detect_line_endings = Off6 t+ P# V  f4 f

  846. # |9 H7 n" ^; k8 |* f
  847. ;;;;;;;;;;;;;;;;;;;;;;
    % _: l1 Z2 {, R& `7 j
  848. ; Dynamic Extensions ;* f$ v. {& C/ J; D) B$ l9 z2 f
  849. ;;;;;;;;;;;;;;;;;;;;;;, H) t# W4 a, O* A4 ^

  850. 4 ]9 S! ~& o/ x. R7 ?
  851. ; If you wish to have an extension loaded automatically, use the following
      L+ f8 D3 M+ @* v8 h
  852. ; syntax:
    ; i# p; Q; l$ y$ P& u
  853. ;, I3 q; w# D/ c! Y- d* x* w, O
  854. ;   extension=modulename.extension
    - f# m1 {" M* Q
  855. ;: p0 T7 T% c& ~
  856. ; For example, on Windows:# X3 r! `; M( p
  857. ;
    ' Y+ I0 G% ]% o
  858. ;   extension=msql.dll
    " h7 s% G5 Y# r% z
  859. ;
    - e0 w# i1 c) G8 z' o  G: c
  860. ; ... or under UNIX:) n/ _+ W0 D3 h- D& q
  861. ;
    + Z0 {; G( N2 K+ z$ @8 V5 f
  862. ;   extension=msql.so
    ! s1 ?% W  ?+ T% C
  863. ;2 l4 R& O- U! g+ v/ a6 K  P# [
  864. ; ... or with a path:; c3 H) t- u( |/ n, A
  865. ;% X: n$ ^3 Q4 J- \; R7 @
  866. ;   extension=/path/to/extension/msql.so2 K6 _# a# w$ x3 i4 i  s/ H( c! h
  867. ;4 N( l$ |' C* [* o& l
  868. ; If you only provide the name of the extension, PHP will look for it in its! z. ^% r; f; U8 v* P; U
  869. ; default extension directory.
    % Q! {& l- u: u- Y4 @
  870. ;
    % K' l7 I2 E' l0 h" \5 ]# p7 c
  871. ; Windows Extensions
    . ~$ ?0 N% G2 c
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      [5 m& x# P0 l( Y* ?- h+ Y4 Z
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ; }5 H, E) A+ A" O: v8 k
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    6 x% R  |' t! k$ c. e
  875. ; Be sure to appropriately set the extension_dir directive.
    ( ], d/ Z8 u: g! m' _
  876. ;
    * \# K: s* }5 Q  m# c  C! n4 D# d
  877. ;extension=php_bz2.dll
    . ?1 k, }+ w) `
  878. ;extension=php_curl.dll. l) p- @) ?' V+ D
  879. ;extension=php_fileinfo.dll
    6 R. C; |+ A! b+ j+ l
  880. ;extension=php_ftp.dll" q7 t3 S5 ^- h
  881. ;extension=php_gd2.dll
    9 A0 b. Z" S# l. n! m
  882. ;extension=php_gettext.dll+ W" u4 F7 ?- H$ @, t  `
  883. ;extension=php_gmp.dll" h+ g6 O' y# F& R
  884. ;extension=php_intl.dll3 G1 l9 K  i  o# Q
  885. ;extension=php_imap.dll
    3 |% N0 r5 i, [( ^  Q
  886. ;extension=php_interbase.dll
    / {) @! r4 ^  _# A
  887. ;extension=php_ldap.dll
    . w9 J5 T- K% O& H: T! k) F, r( ^
  888. ;extension=php_mbstring.dll
    9 s+ y, G( N- g. d& J3 p1 R6 B
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it5 \% P1 a$ C3 {5 J7 F' Y2 J- h/ l
  890. ;extension=php_mysqli.dll
    - S# W  \, `& I5 @$ v
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    2 M1 }/ s/ K: i" A, S& ^
  892. ;extension=php_openssl.dll9 _$ ?) V' r% Z- A- U* C
  893. ;extension=php_pdo_firebird.dll: F# B- h' o0 `! A! b* l& N
  894. ;extension=php_pdo_mysql.dll( d2 n- V3 K0 A) K1 m$ t2 W
  895. ;extension=php_pdo_oci.dll
    3 }( g; I9 T& h' x! K
  896. ;extension=php_pdo_odbc.dll, r8 p& S8 `+ J- [
  897. ;extension=php_pdo_pgsql.dll! A; `* e- k; I# W! z) Z
  898. ;extension=php_pdo_sqlite.dll8 i! N5 V+ p% W. P& [: b) f
  899. ;extension=php_pgsql.dll: T. G3 X8 Q( e8 f
  900. ;extension=php_shmop.dll5 _. H* {" D# V7 T7 v
  901. 0 o' ?! Z' T1 a4 M* Y' m
  902. ; The MIBS data available in the PHP distribution must be installed.1 Q7 A: Q1 o$ U* t5 N" {7 O
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    3 A6 i  O: h: s6 S- }
  904. ;extension=php_snmp.dll
    : k. v" K) l( G2 q

  905. $ d$ F3 V/ q# n9 c7 R/ @! f( h
  906. ;extension=php_soap.dll
    ; i6 }$ S- U" `: C
  907. ;extension=php_sockets.dll
    , e- w2 }. O& S5 v
  908. ;extension=php_sqlite3.dll7 O8 a3 H: |: z& y
  909. ;extension=php_tidy.dll
    4 s+ c  V8 G+ Y7 H! [' l9 a  X* L& q# A
  910. ;extension=php_xmlrpc.dll
    ' U! ^. H; e  D. v  P! U5 S( b
  911. ;extension=php_xsl.dll* K( _4 }; |5 r

  912. " r* Y1 N0 h, r9 F
  913. ;;;;;;;;;;;;;;;;;;;' Z6 P7 j$ V/ B) z9 l' r
  914. ; Module Settings ;, p* [; Y1 F5 I- l4 G+ u
  915. ;;;;;;;;;;;;;;;;;;;
    7 _8 V, a; w/ U/ J' N+ W
  916. 9 I% [' a  B: m& K, D  Q$ F) x9 b
  917. [CLI Server]
    4 S! s/ j, b" g  R( V/ ^8 h
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    % m3 v8 p* K! m6 L6 t$ m; D7 S6 H
  919. cli_server.color = On* o' x' u) |. Q4 g

  920. ' ^0 }$ p) Q' e& ~; R3 \
  921. [Date]
    : f! F# A0 j! Q* a( y, t( m
  922. ; Defines the default timezone used by the date functions/ A3 D5 I* F3 A! E/ o9 ^
  923. ; http://php.net/date.timezone
    , g  |/ H. n0 K
  924. date.timezone = PRC; F8 W6 R* |* G! l

  925. 4 Q6 I9 y5 \' W$ P0 n
  926. ; http://php.net/date.default-latitude( k$ [& r" l) W4 ]1 y
  927. ;date.default_latitude = 31.7667
    - ~3 l( _& U# T- e  ?
  928. % h  K9 x$ O  X' X8 ^/ q9 x
  929. ; http://php.net/date.default-longitude
    . V8 a# ]" ?. F; _9 ]
  930. ;date.default_longitude = 35.2333
    # {* G9 r) w) p  [

  931. # f/ d- a" }* S9 P) R) _! Y
  932. ; http://php.net/date.sunrise-zenith
    % m& }! ~" q5 r- j& {
  933. ;date.sunrise_zenith = 90.583333
    ; F- J6 s; v& c8 T* l

  934. ! J" U3 Y+ E7 t! c! G
  935. ; http://php.net/date.sunset-zenith
    ( A. {0 A9 @; c
  936. ;date.sunset_zenith = 90.583333: t" O1 \2 F2 a7 W2 B- K* _
  937. 2 N$ J  c2 B/ h# K1 R
  938. [filter]
    7 S: j; Z2 ~: b+ Q9 G( x( ^2 @
  939. ; http://php.net/filter.default- x" m( u! d$ D) c
  940. ;filter.default = unsafe_raw
    6 K: R. q6 E( l1 _8 V- S% S4 {

  941. + p" C6 g! c; x: B+ m
  942. ; http://php.net/filter.default-flags/ I; K) X; R5 a9 w4 Z! F* X" Q1 @# I& }7 ^
  943. ;filter.default_flags =
    - y* F7 h1 N7 |* Q- @
  944. , f% F6 k, s& u  a, C
  945. [iconv]/ c, y5 r. B& ]+ ~
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.  O; S8 ~( m! \3 e& {
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' c& h  L, y  h, h: K
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    - L! c5 \- p6 ~% J, `- {6 M
  949. ;iconv.input_encoding =
    ; h5 q/ F2 X0 x

  950. 9 M8 E: P5 D( D: a: \, }# A
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ h0 J7 d9 T$ X& e8 I3 Z# o: M; U
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.) X8 ]# N  I7 g8 q6 o: i
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ L; F0 t; a3 B4 E- R! ^
  954. ;iconv.internal_encoding =/ q+ y9 }' P# P) C! S" B
  955. ! I, b5 \1 U# G6 w) T
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.$ a* M7 v! n+ o  [
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    # H8 B$ d2 T6 ?$ h% a
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      ]# j2 K9 Y$ _! R0 L& c9 [
  959. ; To use an output encoding conversion, iconv's output handler must be set- M+ q& b3 S: z$ I* s
  960. ; otherwise output encoding conversion cannot be performed.
    ) u6 G( @0 e* d
  961. ;iconv.output_encoding =
    4 n7 n7 k7 ]0 B% \
  962. * x- g% ^  H- ?" o, g% V
  963. [intl]: {7 f+ N& b; p# K
  964. ;intl.default_locale =- k: y( C+ K& n( H
  965. ; This directive allows you to produce PHP errors when some error
    ( P3 y) u8 X8 q7 O: ~
  966. ; happens within intl functions. The value is the level of the error produced.$ P! r0 O% R* H# v6 [
  967. ; Default is 0, which does not produce any errors.
    $ U2 u8 _, q7 [& K6 u( p4 W
  968. ;intl.error_level = E_WARNING( m& S4 V3 j; l( O; I
  969. ;intl.use_exceptions = 0, T1 J! [$ U/ C7 U: n

  970. * W0 }, n! G6 `' [- g. |
  971. [sqlite3]: u; d/ E6 y9 u
  972. ;sqlite3.extension_dir =% r" x$ W  F/ V9 c8 ^; ?6 N  y/ l3 x

  973. # A6 l( Y  D" s" e
  974. [Pcre]" Q' y3 [2 g8 q3 g7 `
  975. ;PCRE library backtracking limit.
    ! S$ x* j/ u( v! C2 W+ p6 E. T
  976. ; http://php.net/pcre.backtrack-limit
    8 r  T3 ~. ?9 X
  977. ;pcre.backtrack_limit=100000
      a: o# r% t9 T8 B% c/ R, d8 `" H

  978. . `: b( M3 ]1 `" y
  979. ;PCRE library recursion limit.; [: G% S* i6 M! q, \
  980. ;Please note that if you set this value to a high number you may consume all
    ) L' v  {" |1 E% k
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ! C1 T# J) [8 U" x3 E) Z
  982. ;stack size limit imposed by the Operating System).4 B' M- M3 l0 B* ~1 |
  983. ; http://php.net/pcre.recursion-limit
    $ {' c7 B& B3 j) N" [1 c0 }
  984. ;pcre.recursion_limit=100000
    ! f* z0 |$ P6 N; I9 c
  985. * Z  ~/ Q4 \% W- c. @( i
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE1 }" h2 j$ q# T# y! S& m
  987. ;library to be compiled with JIT support.
    # i$ s+ r$ U  K% M0 }  ^
  988. ;pcre.jit=12 Y& Y! h- z7 n) u" H; r
  989. , h( c  @0 c+ F& @, |0 `) a
  990. [Pdo]; P1 E% \$ U; ?1 t+ P
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"( E2 @# a: g& o1 _' F1 ^7 p
  992. ; http://php.net/pdo-odbc.connection-pooling
    ' U' }4 G5 _- \1 K* @/ L
  993. ;pdo_odbc.connection_pooling=strict+ G" S+ S# j7 Z
  994. 3 ]& ~& R7 h! H4 l  \3 X& `
  995. ;pdo_odbc.db2_instance_name+ v2 E. Q1 Y, i, g) i, C8 e7 }( G
  996. 0 \- F- v/ g' L% B+ t
  997. [Pdo_mysql]
    ' m  S+ u+ @2 v" ]) w0 F
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 ^$ J! s! t4 ~' W1 R% q. x, h
  999. ; http://php.net/pdo_mysql.cache_size3 @, a$ N. _' \) P! u  W0 e
  1000. pdo_mysql.cache_size = 2000
    * B" w' \4 I9 v" ^. g4 T* N
  1001. 8 b+ Y' k: R( X5 h. ^
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 N  x- l$ q9 T' M
  1003. ; MySQL defaults.
    9 {* h1 Q3 a1 ^% w
  1004. ; http://php.net/pdo_mysql.default-socket
    8 ~" s8 K5 e3 T, N2 ?5 Q+ l
  1005. pdo_mysql.default_socket=& w; g+ Y( p; V' O8 p* r: w

  1006. . }+ z% \. W0 l0 b. y- E% h
  1007. [Phar]" X1 z* X7 ]4 `6 |/ B" f
  1008. ; http://php.net/phar.readonly
    % H) Z, M% n  i- i, h$ m2 J
  1009. ;phar.readonly = On5 R( V' C. E0 B) N* ?  v
  1010. 4 h8 X4 z. {# F5 H
  1011. ; http://php.net/phar.require-hash
    ( v1 f, p% w% a. F
  1012. ;phar.require_hash = On. S% @% w; r6 ~* t6 a4 q) _
  1013. . |8 O( j: Z  e+ l7 e1 ]
  1014. ;phar.cache_list =
    7 k' B; N2 w! B2 ~" v4 h4 B: W0 S
  1015. * v: F8 L* N6 \: P- Y( n. z  ?& r
  1016. [mail function]; G- {1 A3 r0 g( l- q  H& w
  1017. ; For Win32 only.. r& M6 U* e/ J( J' s
  1018. ; http://php.net/smtp
    ) A! G& @+ P7 U7 h9 t7 ]
  1019. SMTP = localhost
    : Q% }) u% }# l0 [$ g3 h
  1020. ; http://php.net/smtp-port
    # _% W) j8 z# S2 l
  1021. smtp_port = 25
    & e/ q) g, i3 x
  1022. . N+ q) M5 s: f# W
  1023. ; For Win32 only." V8 m1 y1 e" T+ D
  1024. ; http://php.net/sendmail-from
    ; |, `5 q6 ^2 J0 f" Z) @) j+ m
  1025. ;sendmail_from = me@example.com
    * J" z4 n! g! y' n" v" h4 w6 h

  1026. , Q4 F1 d% }% ?7 c0 f& K
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 k. g$ v( t' c; u; e/ ^2 O
  1028. ; http://php.net/sendmail-path  d) _$ _+ r& ~2 Q2 ^  W8 X6 O
  1029. sendmail_path = /usr/sbin/sendmail -t -i4 O  J* C  H: C. {; q8 @* r* T# E' _
  1030. : a3 x% E" S3 K& }# ?2 S
  1031. ; Force the addition of the specified parameters to be passed as extra parameters! Z$ ~+ z+ K- G- T& S  K
  1032. ; to the sendmail binary. These parameters will always replace the value of
    / Y: N/ z: x" E- L
  1033. ; the 5th parameter to mail().
      N8 P8 m# l( p' U& y
  1034. ;mail.force_extra_parameters =6 i+ u6 V; e' V* V
  1035. - d9 _: N$ w) F" f0 ^
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename: v9 C  h/ X2 ~' b) x" }, W
  1037. mail.add_x_header = On
    0 D8 P* y6 N& p3 H$ e# e2 r( U

  1038. " A, R5 _1 n. f; n
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ) V# t. m1 ^, x9 P1 B6 N$ _
  1040. ; the full path of the script, line number, To address and headers.0 ]/ U5 Z" W1 H7 z  f
  1041. ;mail.log =0 u1 j  v( O0 `" S
  1042. ; Log mail to syslog (Event Log on Windows).6 ?% x) T% N) u
  1043. ;mail.log = syslog
    ) m8 `6 `6 b$ k8 \' |+ j# \
  1044. * C" C- m  Y3 p8 B
  1045. [SQL]  W8 |9 K' v+ V9 Y3 G
  1046. ; http://php.net/sql.safe-mode
    % G8 A4 o8 P/ n7 o* M" L4 Q
  1047. sql.safe_mode = Off
    ! }: p/ q* a" D; D9 X) w% r

  1048. ; a  N- a+ D0 p  V( E1 [9 R5 N
  1049. [ODBC]  p" h% m2 o/ ]* y* ?  _
  1050. ; http://php.net/odbc.default-db0 O0 T6 `; G# X% v, |
  1051. ;odbc.default_db    =  Not yet implemented
    - y* c' N' R" A% y3 g0 H! ]

  1052. - J: W. S6 D7 H0 Y3 M! K
  1053. ; http://php.net/odbc.default-user9 ~6 o, C& w! S; W  m. x7 l0 s4 H. D
  1054. ;odbc.default_user  =  Not yet implemented
    & _7 q  F% T- V# }. X8 b! f- g

  1055. 6 T4 e( ?# T& U$ o' y+ w' b
  1056. ; http://php.net/odbc.default-pw2 E0 I7 W( U# G: K
  1057. ;odbc.default_pw    =  Not yet implemented
      Z% W8 @  w! z7 ~# C

  1058. , K& i9 F6 u4 X" {
  1059. ; Controls the ODBC cursor model.5 f; s% r3 }& F) j/ o! _
  1060. ; Default: SQL_CURSOR_STATIC (default).( ?4 V, }* r* w, i
  1061. ;odbc.default_cursortype$ D, |4 I) @. ]& H4 r: [* Y

  1062. & _: W, y% P0 X! A: S
  1063. ; Allow or prevent persistent links.( B9 T; r4 J1 l1 u/ N
  1064. ; http://php.net/odbc.allow-persistent! m* E2 q: E7 |2 g5 F
  1065. odbc.allow_persistent = On# D. f4 B" ?: f- o5 l% @
  1066. 4 m% X4 g# E8 l" b: r6 e- d& _! q" i0 \
  1067. ; Check that a connection is still valid before reuse.' Y- L8 \# u- `
  1068. ; http://php.net/odbc.check-persistent
    , `0 x. f0 O/ w8 N  M% J
  1069. odbc.check_persistent = On
    $ x7 t& K2 P; }% x# {  H

  1070. 3 V+ q+ Q. _0 n2 ^
  1071. ; Maximum number of persistent links.  -1 means no limit.
    % |1 z3 h: X- P
  1072. ; http://php.net/odbc.max-persistent
    + ^" f4 A$ v5 U: \. K7 x# D
  1073. odbc.max_persistent = -1
    3 \6 t) x/ A, R

  1074. 6 H5 N5 E1 E0 F) j# }
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % \) S% a# P' Z6 ]! q8 H
  1076. ; http://php.net/odbc.max-links
    - F3 S2 R; B6 D8 \2 y
  1077. odbc.max_links = -1" a$ B5 k! z  C, I% Z$ I6 @% }
  1078. 2 M* b9 Z" ]0 g  N9 u3 S
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means) S# V  Q  z: Z4 }
  1080. ; passthru.
    $ h- `9 c& d" ^" S1 f6 w7 f  x7 ~
  1081. ; http://php.net/odbc.defaultlrl0 U4 Y3 D' ~) \6 t
  1082. odbc.defaultlrl = 4096
    ! O" a, j  z# [

  1083. ; s" o: E6 t2 o1 L6 l* M
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char." k" Q3 ]  `# B# M  D  h
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # g0 Q3 `) u6 C
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode. k7 H' q" M& A' V+ c
  1087. ; http://php.net/odbc.defaultbinmode
    9 G: O8 m: o1 U. w- z! R
  1088. odbc.defaultbinmode = 18 u  i6 N2 g' \% \& q1 v2 ?. d9 o

  1089. # x6 a2 g! G- y4 N1 C
  1090. ;birdstep.max_links = -1
    % x7 b% a0 i% c6 ^2 f
  1091. : n# `/ e. A  d* |; e, n5 e% u% |
  1092. [Interbase]
    ' Q5 b5 |. ~: v$ r
  1093. ; Allow or prevent persistent links.
    / h& H. g* p% o0 H3 X5 n
  1094. ibase.allow_persistent = 15 d6 s( s% |7 `) q' y& z0 W: p

  1095. ) q: `: f- D9 a' {6 t, t8 k
  1096. ; Maximum number of persistent links.  -1 means no limit.
    % E. ~$ F$ s+ o
  1097. ibase.max_persistent = -1
    ) O5 i1 H  y& Z7 r' A! p
  1098.   n% H! H4 h( ?& x( o8 G; a+ p
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) e1 N* y  C, O, I
  1100. ibase.max_links = -19 U9 c2 b" D0 ]! P9 c

  1101. # K2 p0 ]/ h$ n2 X9 u0 h
  1102. ; Default database name for ibase_connect().; f8 L( x" a  ]. W2 x- O( t
  1103. ;ibase.default_db =
    - l) @& ?! \! E) q* N

  1104. 9 d$ G- @7 }9 B- H- \
  1105. ; Default username for ibase_connect().8 @" b! O  L6 v8 L. B! _
  1106. ;ibase.default_user =
    1 y# ~. J) u5 m( }2 n! X' R

  1107. . B, w' c7 M$ o- i
  1108. ; Default password for ibase_connect().
    . G% h* m1 i+ l" k) T# P1 j
  1109. ;ibase.default_password =
    0 e8 ?0 t7 b" y! W' W1 `

  1110. + e* ]/ ?. P' ~) z, J3 P
  1111. ; Default charset for ibase_connect().3 s% @6 w8 _6 \7 y
  1112. ;ibase.default_charset =. n: A' \0 r/ t2 @: `( t
  1113. 3 t" K; R7 g6 H1 T, B- k3 u
  1114. ; Default timestamp format.8 t; [, p' V4 @, }
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    8 X, A  m5 E9 U

  1116. # d4 g! l+ E: }. k  M% \, x; Y
  1117. ; Default date format.9 X0 c# T2 Y4 J0 z
  1118. ibase.dateformat = "%Y-%m-%d"& s8 j: T' U( A5 s' N
  1119. 6 A2 p0 p# v0 f+ h) @3 X+ g: C
  1120. ; Default time format.& |' v& j" {1 C& t9 I! i
  1121. ibase.timeformat = "%H:%M:%S"
    : u2 F: I0 H4 Y
  1122. ( m6 S( ]3 J% P; D8 n8 N
  1123. [MySQLi]) y# E9 i+ B' Z3 S
  1124. 8 a1 H6 ]& f  o& b
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ) T. L' ~( K9 I, Y  a0 L
  1126. ; http://php.net/mysqli.max-persistent2 A. ]7 j1 S. {! W
  1127. mysqli.max_persistent = -14 p: u. Q% N6 z2 X  m
  1128. 2 A& A# o0 a% a" o- Z) h8 O
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 v" q* C  W4 w/ w1 S
  1130. ; http://php.net/mysqli.allow_local_infile
    " Q4 t9 m3 d$ m$ |& ^7 V: S5 g! g# m
  1131. ;mysqli.allow_local_infile = On3 b5 J. }7 w1 A0 M- n5 p( s

  1132. 6 K. A9 N1 T& V# Z
  1133. ; Allow or prevent persistent links.' Q2 A8 f' M" k1 B# p
  1134. ; http://php.net/mysqli.allow-persistent) G8 t/ G: O6 {0 V0 o( R
  1135. mysqli.allow_persistent = On* _/ V, x$ K0 e6 X" \6 d9 B

  1136. 5 [4 ?8 t  R/ p& M9 {8 O9 F% A
  1137. ; Maximum number of links.  -1 means no limit.. Z0 {: T" I# H
  1138. ; http://php.net/mysqli.max-links. c0 N0 {; x% b
  1139. mysqli.max_links = -1% {; ^. K# F: M, Q$ `( }

  1140.   [5 ^2 @, A9 s# m4 F$ `8 o8 X- E. V
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 I: I2 c% ~5 J: k8 N
  1142. ; http://php.net/mysqli.cache_size
    8 t/ I9 }0 I! g7 @5 _0 y+ b
  1143. mysqli.cache_size = 2000' M% r- V2 i% k, f5 S. x6 r( N
  1144. ( t7 ?# f$ f, Y
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 U3 n( `; _6 \: @4 ~! B7 C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    / k1 V' v( ]2 t  n( p, d
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! @+ B% {. t0 u. f* w: J/ b' p4 w+ F
  1148. ; at MYSQL_PORT.
    2 i5 H7 m; f6 n) R
  1149. ; http://php.net/mysqli.default-port
    " g* c+ |) V5 x1 r
  1150. mysqli.default_port = 3306: S! n8 U$ H8 Z4 x' q) e: [; T1 R% q
  1151. % y" X4 i3 i- r, C- b
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 O: ~2 ^3 K$ V7 d) T: B, j( Q
  1153. ; MySQL defaults.! S% k* r$ A3 G+ i' W
  1154. ; http://php.net/mysqli.default-socket7 x7 s0 J: v, \2 S/ J
  1155. mysqli.default_socket =
    ( A% {7 ~) ]( b. L% f: V

  1156.   U; Z5 o+ L% I, I; v! P
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 v/ H  V7 ?; b
  1158. ; http://php.net/mysqli.default-host
    & n& ]8 i1 F& u% e. Y5 @( Q
  1159. mysqli.default_host =2 G( z. ]; `# ?5 F1 B/ p4 ?
  1160. 5 ]$ {' `. u+ E2 b/ }
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 F  ^( V" _7 e0 q' O
  1162. ; http://php.net/mysqli.default-user
    + X0 ^: b4 \: s) R) g
  1163. mysqli.default_user =
    6 l, S+ ]8 a; K7 J' |

  1164. ' z7 |5 J8 v* r1 q
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).$ d" s  q, m8 }* {' c8 m  \. u
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.! {6 p" @! J; p. @
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"); L2 `. ^1 v) b' \! j% Q
  1168. ; and reveal this password!  And of course, any users with read access to this, K; l  X! ~9 [0 O9 V* w
  1169. ; file will be able to reveal the password as well.
      P4 R1 S) a5 Q0 p8 n6 g1 M. ~
  1170. ; http://php.net/mysqli.default-pw
    $ ?, V+ B% @+ z8 p1 Q9 D9 [
  1171. mysqli.default_pw =
    - W$ w& Z5 h) B8 L: h
  1172. , b4 i: D8 B+ ?8 ~( A& i
  1173. ; Allow or prevent reconnect
    3 y- `& I$ s4 O. n
  1174. mysqli.reconnect = Off
    5 p, ~5 Z; n3 K4 G

  1175. - {6 f% c, x5 m
  1176. [mysqlnd]
    6 K: V7 M$ I/ h) ~% G; {- y' u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be3 g$ ^8 {, r! Y9 e! j2 y' O3 L6 n
  1178. ; used to tune and monitor MySQL operations.
    1 {: ?; U4 z/ s( F6 a: Y1 B
  1179. ; http://php.net/mysqlnd.collect_statistics( r. R! L  ]& ^( `! {9 L# x
  1180. mysqlnd.collect_statistics = On5 F# j) a! D# L4 T! @  v
  1181. : B4 @9 S  ~! C+ ^
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    6 y6 a+ v4 G$ m# @  Z
  1183. ; used to tune and monitor MySQL operations.- j3 l6 L) y9 W0 a; R: O
  1184. ; http://php.net/mysqlnd.collect_memory_statistics+ K) q% A# t8 P, B* q7 W8 e1 W+ k. l
  1185. mysqlnd.collect_memory_statistics = Off( ~! M! g6 L" x" G8 x

  1186. , ^4 ?2 e3 x! ?3 B) t
  1187. ; Records communication from all extensions using mysqlnd to the specified log, h5 v' C( j: H
  1188. ; file.
    1 \" I0 ~% ?/ I
  1189. ; http://php.net/mysqlnd.debug( T1 v; m: d# r- l$ ?4 F" H; Y
  1190. ;mysqlnd.debug =+ Q" s0 C% @  K- l
  1191. 4 n# G) |  [( `
  1192. ; Defines which queries will be logged.
    3 e) K# d5 ?- @
  1193. ; http://php.net/mysqlnd.log_mask
    * A! U2 D& ?& f! v
  1194. ;mysqlnd.log_mask = 01 _! b1 E6 m! S+ L$ L
  1195. ! {- B! S1 {) ?; w( D: V. l% \# @
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.* k" N7 U8 a- i
  1197. ; http://php.net/mysqlnd.mempool_default_size
    - h+ X4 Y1 Z. j8 r# Q6 b" _
  1198. ;mysqlnd.mempool_default_size = 160008 o) X; B' I/ X# ]$ V; R

  1199. + q) |6 e7 n" |
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes." d9 m! z  \" T. {# F7 O" |1 d
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " _, A; A; X* Y3 d% z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    * u3 v7 I) [2 J8 n  K- c" o
  1203. 9 O7 U  m9 G5 a+ T
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in, P5 ~" R( ?! {" H" u7 C1 ^( N. w
  1205. ; bytes.
    9 e$ r* n& ~% ]% g. ^6 [
  1206. ; http://php.net/mysqlnd.net_read_buffer_size! _% \: S/ |. X/ o7 W
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 f: V5 p  s8 M  r! n

  1208. " t3 N& B/ w' I; N
  1209. ; Timeout for network requests in seconds.; \7 F/ Q* p8 D. N( l
  1210. ; http://php.net/mysqlnd.net_read_timeout
    0 D/ q$ c3 T- k) A2 e2 _
  1211. ;mysqlnd.net_read_timeout = 31536000
    ' Q, }) f8 z: h3 c" d  _1 R/ v
  1212. " ~& p  [0 {) ^$ r) Y3 s- [4 q
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 }) L: m8 ?. ~% W' x
  1214. ; key.  p2 p- V0 E$ }" j& S% x
  1215. ; http://php.net/mysqlnd.sha256_server_public_key8 S( n% V( k+ T3 T6 A% y
  1216. ;mysqlnd.sha256_server_public_key =; K' D( ~( U( R1 n3 }7 ~( o* ^

  1217. 1 _+ o- n% S/ [4 v# \  g1 y
  1218. [OCI8]
    8 q2 w2 o( `% h8 ~- ~' [4 B2 P8 A
  1219. 2 G% V# l; ?% b( v* h* U' D! O
  1220. ; Connection: Enables privileged connections using external7 e% n& ^$ r5 v( f0 I
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    2 ^& K- N, U' ]% k/ R8 v* \4 y
  1222. ; http://php.net/oci8.privileged-connect9 X( O6 N0 y. O# n/ `
  1223. ;oci8.privileged_connect = Off3 ~7 e" ^: c/ J9 I5 G8 C* O) Z

  1224. : L3 a& O' O7 T/ s- i+ x" S
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    1 h! E( h8 e5 @* e
  1226. ; process. Using -1 means no limit.
    7 c$ V( Q! M" \* K- J* o
  1227. ; http://php.net/oci8.max-persistent1 i4 P  M+ K4 I+ Z0 G7 q
  1228. ;oci8.max_persistent = -1
    6 v  \+ x+ S9 w  F/ [4 l) F

  1229. 8 ~2 i5 Z1 b# h4 Y6 T; M1 J
  1230. ; Connection: The maximum number of seconds a process is allowed to
    & P( T6 `1 X% ~( k' e
  1231. ; maintain an idle persistent connection. Using -1 means idle5 N7 b8 K2 |. @; l* f
  1232. ; persistent connections will be maintained forever.
    " ~( D- E- y$ E- _+ \
  1233. ; http://php.net/oci8.persistent-timeout
    " f2 t+ X1 G- O1 F# w
  1234. ;oci8.persistent_timeout = -1( y0 s9 ^! t  o) X
  1235. 0 t' U" Q0 O: `- p, Q1 V/ }7 k4 F- e
  1236. ; Connection: The number of seconds that must pass before issuing a
    1 t! s! t) d& d" ^# o% z& A) m
  1237. ; ping during oci_pconnect() to check the connection validity. When/ K3 ?" g4 n, v8 S
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      {1 q3 F$ F* O
  1239. ; pings completely.
    ) N( k0 O  T5 ~: t# O' A9 Z
  1240. ; http://php.net/oci8.ping-interval
    . t7 X  [4 A9 x% k$ b$ C2 c
  1241. ;oci8.ping_interval = 607 k6 Z" a& K) Q% j: a* r

  1242. % L0 k8 A0 s* k# {4 T5 p
  1243. ; Connection: Set this to a user chosen connection class to be used
    7 J2 V- a; a! u; K
  1244. ; for all pooled server requests with Oracle 11g Database Resident! ^7 T. H% D! R6 ~
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to, V- v7 Q5 l. D8 S5 p% K5 z% {' n
  1246. ; the same string for all web servers running the same application,
    % ?2 k- n- W8 C6 E! {2 ]/ |7 O
  1247. ; the database pool must be configured, and the connection string must
    ) N% E5 D* G2 T
  1248. ; specify to use a pooled server.1 `  p4 t4 r% c# U
  1249. ;oci8.connection_class =
    ! K  D3 Y! b5 `' w

  1250. , w$ {$ d( Q# l: H0 a& [  x
  1251. ; High Availability: Using On lets PHP receive Fast Application
    + Z1 W3 s" P' n( w0 k0 P
  1252. ; Notification (FAN) events generated when a database node fails. The2 f: F/ W7 G1 z4 ?
  1253. ; database must also be configured to post FAN events.
    " U3 m3 M6 S* {) D+ G0 c
  1254. ;oci8.events = Off
    0 a2 `8 i0 m  Y+ F; g: _( g
  1255. , x/ ^' ?( O4 O2 W
  1256. ; Tuning: This option enables statement caching, and specifies how3 w2 C* m1 m9 u' [$ A# S+ k) S1 @
  1257. ; many statements to cache. Using 0 disables statement caching.: T5 P0 n+ |: v3 K
  1258. ; http://php.net/oci8.statement-cache-size
    2 ^& B3 ~( \& D' D& ~
  1259. ;oci8.statement_cache_size = 20/ i! [) o/ ^4 Q6 q

  1260. " Z( w3 ^* P& u+ g5 c/ p
  1261. ; Tuning: Enables statement prefetching and sets the default number of
      W( Y( [' l5 j+ j) J1 R* G0 q
  1262. ; rows that will be fetched automatically after statement execution.& B5 E( |0 Q- p7 B0 ?/ @
  1263. ; http://php.net/oci8.default-prefetch4 w" Z$ r9 X% `3 v, }1 L
  1264. ;oci8.default_prefetch = 100, ?% F* Z3 R" Z+ I0 A. B8 P0 P

  1265. , M. `: f" l' S* o8 e. y0 K" n
  1266. ; Compatibility. Using On means oci_close() will not close
    & q2 L, ~8 S- H3 e1 I' {
  1267. ; oci_connect() and oci_new_connect() connections.
      e2 v7 |* O/ _# k9 p5 m
  1268. ; http://php.net/oci8.old-oci-close-semantics) G( u9 x: P; ?. Q) k1 F. p
  1269. ;oci8.old_oci_close_semantics = Off
    " D8 x% P3 ^2 R
  1270. 8 y' \% M0 {5 \
  1271. [PostgreSQL]) C2 z1 }9 X9 L8 F9 R
  1272. ; Allow or prevent persistent links.0 d6 r2 q2 C/ p* u
  1273. ; http://php.net/pgsql.allow-persistent
    : |  e1 D* P4 f6 n# {
  1274. pgsql.allow_persistent = On
    - p+ O  H! g4 U: S& V8 ?1 \
  1275. # C" a/ _6 n1 N0 ?0 _
  1276. ; Detect broken persistent links always with pg_pconnect().  X% m, g& U4 J
  1277. ; Auto reset feature requires a little overheads.3 y' l, n  \* [" G- @( t# j' h
  1278. ; http://php.net/pgsql.auto-reset-persistent8 N7 p2 M, g2 m; U& {
  1279. pgsql.auto_reset_persistent = Off
      }) r' Y' n& F  _/ k# ?# y
  1280. & }; @' t# ?8 E
  1281. ; Maximum number of persistent links.  -1 means no limit.
    7 v+ m# w9 g2 p+ I8 F; P" G
  1282. ; http://php.net/pgsql.max-persistent
    6 T8 n: Z6 F1 x3 H( j
  1283. pgsql.max_persistent = -1" _; t) w( h9 U" `0 l7 x

  1284. ) h0 S+ [$ }/ W; n
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit./ U$ v& k5 V6 E( k
  1286. ; http://php.net/pgsql.max-links
    8 p8 u  K3 D) J4 h+ u! x$ T8 H
  1287. pgsql.max_links = -1
    2 Z0 r" \, q" ^5 m: N
  1288. # w) `3 F$ @$ S# t$ o& k
  1289. ; Ignore PostgreSQL backends Notice message or not.
    4 Y1 B& z, l) [+ L
  1290. ; Notice message logging require a little overheads.$ @# p1 p5 M$ A1 w% L
  1291. ; http://php.net/pgsql.ignore-notice* }; \7 a# D1 G  R1 s
  1292. pgsql.ignore_notice = 0; T0 I# x9 s" U' q  x; m
  1293. - v0 y! G8 y( w3 k5 e2 [
  1294. ; Log PostgreSQL backends Notice message or not.
    8 n; T0 l: o& k! F) z& ]  s' O
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  b! U9 x6 R4 B+ x7 {
  1296. ; http://php.net/pgsql.log-notice
    7 Z- I5 E. v7 g. u8 O3 G  A9 f
  1297. pgsql.log_notice = 0
    * `+ H7 j9 S. K) e! a+ N* L3 o

  1298. 9 g, z, {' V6 L( x. d% L9 p& N8 c- ]! k
  1299. [bcmath]
    5 x9 o: n" t. c: k3 ~$ O3 f0 ?
  1300. ; Number of decimal digits for all bcmath functions.7 \* X! c/ ]( v# e# r/ t
  1301. ; http://php.net/bcmath.scale
    3 D- `$ Q: ]( c- d
  1302. bcmath.scale = 0
    4 k& J# Q* d: q7 h$ q- e

  1303. 8 {0 b  R" O" k/ \; n: i
  1304. [browscap]
    ' ?; a9 R. R6 f
  1305. ; http://php.net/browscap
    ! e# `6 s" u* n4 x
  1306. ;browscap = extra/browscap.ini
    8 A' O* @% S( Y+ Z* H, z

  1307. ' c% [. r3 a1 R+ G, e/ J' Q
  1308. [Session]. t0 `9 N' {& C1 Z$ P1 h* }
  1309. ; Handler used to store/retrieve data.
    / ^: S) N& R- B$ P# J  i$ I
  1310. ; http://php.net/session.save-handler
    + o! r/ J3 n# Z6 R
  1311. session.save_handler = files- w# P8 n! a; t8 k0 D3 K" [

  1312. / x: b9 Q4 R! [. |
  1313. ; Argument passed to save_handler.  In the case of files, this is the path3 `& C- V/ Y& F% i
  1314. ; where data files are stored. Note: Windows users have to change this8 S5 G* o% _9 b7 r% n: b
  1315. ; variable in order to use PHP's session functions.: g0 W! t- x4 ~
  1316. ;
    7 ^0 E$ o1 T; L& F
  1317. ; The path can be defined as:
    " M5 k( F3 H: s7 u; W+ ]
  1318. ;7 C( f' q* z: g: @5 ~- e. o
  1319. ;     session.save_path = "N;/path"
    / b) L: o$ t$ s1 t/ U7 T! {
  1320. ;9 N4 U/ ?6 S$ q+ z" ~' o4 E' i0 x  p
  1321. ; where N is an integer.  Instead of storing all the session files in8 b5 m& A7 `- ]$ L4 u
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    + v$ s7 ]3 Y: q8 y
  1323. ; store the session data in those directories.  This is useful if7 L: b0 q3 F% _# Q
  1324. ; your OS has problems with many files in one directory, and is
    8 `' M( \2 d+ S9 \
  1325. ; a more efficient layout for servers that handle many sessions./ _! @! @# ?1 h# ]
  1326. ;
    8 h/ S, H+ C+ e9 m5 N
  1327. ; NOTE 1: PHP will not create this directory structure automatically.  F8 F( r% ]0 m: J* Z
  1328. ;         You can use the script in the ext/session dir for that purpose.
    : ~- Y% E3 u' \# |  U+ U- ]
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    9 G& h% ~" y$ r! @
  1330. ;         use subdirectories for session storage
    , S( e/ [: e9 n2 v( U& V  b
  1331. ;
    9 f- Z9 E& R( i0 V4 S4 H
  1332. ; The file storage module creates files using mode 600 by default.
    / K6 s6 C, p+ ^+ h* p: G. g3 x
  1333. ; You can change that by using- Y0 o4 ^8 O0 R" u* X, G
  1334. ;
    5 C, b. n/ }: B
  1335. ;     session.save_path = "N;MODE;/path"
    + f8 Q, B& S3 ?3 Y. w8 ]+ L
  1336. ;! T7 V. J. P4 C3 ^$ |
  1337. ; where MODE is the octal representation of the mode. Note that this
    % ?) a4 w7 \" T! x( C3 `- \. A4 Z
  1338. ; does not overwrite the process's umask.
    & o6 J9 ~' G& U' i% j2 \3 t; E5 }
  1339. ; http://php.net/session.save-path$ n: E/ ]$ M: m0 H9 ^7 O. V$ i
  1340. ;session.save_path = "/tmp"9 e: D8 F& j8 E, q/ v9 @
  1341. + o& ^, M$ Y0 \$ P
  1342. ; Whether to use strict session mode.' `+ k+ {: C- z# d
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate4 b: A* Z' V3 i
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects9 |1 }$ L+ D% |. |0 t
  1345. ; applications from session fixation via session adoption vulnerability. It is! M% c' K: Y/ V
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.9 H3 }! y$ }! ?: I3 c# y( @4 ]
  1347. ; https://wiki.php.net/rfc/strict_sessions
    3 K4 C2 O: T0 P2 V5 z! [
  1348. session.use_strict_mode = 0* {/ Q9 I! R' ^  `" H

  1349. 4 m6 V4 @# y. C: {3 {: H
  1350. ; Whether to use cookies.5 J9 n# A- R+ e0 A( i' V8 f2 T
  1351. ; http://php.net/session.use-cookies
    # ^  t+ M# R3 T8 {2 Q# b. X9 @5 f
  1352. session.use_cookies = 1+ X) L) `& a. p: J4 S8 r

  1353. ; e/ v5 X3 Z8 w4 S
  1354. ; http://php.net/session.cookie-secure/ }) d, i" J" d7 m  J
  1355. ;session.cookie_secure =
    / M6 D. k, O. X' o* v& k
  1356. 0 Z& X* G$ Q1 c3 a
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    $ ?( D# c+ O/ e" j, w7 h7 g
  1358. ; the session id. We encourage this operation as it's very helpful in combating! b8 n0 z: D" R: x+ b. Q  ^
  1359. ; session hijacking when not specifying and managing your own session id. It is% R6 p% ~% {' O! o( p0 u0 T
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.8 y5 s4 z8 k/ ?! ]: E& {4 S5 t% W" A
  1361. ; http://php.net/session.use-only-cookies
    7 ]9 e* u* j5 d/ {% X+ {
  1362. session.use_only_cookies = 1" l: ?' J0 d7 X. J( w8 y) _

  1363. 2 I$ F4 d+ I& K9 q: y& L7 c
  1364. ; Name of the session (used as cookie name).; _" ]9 C- q& c0 f' L/ P' [
  1365. ; http://php.net/session.name
    8 q* m7 a/ f8 _6 z+ U5 `6 y' g9 C
  1366. session.name = PHPSESSID
    # @: O! ]! }3 j8 C2 s
  1367. 6 |; }5 \' F9 j  O& z( Q
  1368. ; Initialize session on request startup.
    3 T$ F# B' y* o0 {
  1369. ; http://php.net/session.auto-start5 N- }3 [' {0 ?$ `' ^; J
  1370. session.auto_start = 01 U2 h- A5 r3 B- c

  1371. 3 J6 z% R7 }5 r$ Z! V! z' Q2 ~
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.2 x' G+ @6 W  w! N( O$ }
  1373. ; http://php.net/session.cookie-lifetime' K  T/ K: _3 b# D
  1374. session.cookie_lifetime = 0
    5 D' V: @5 n0 V2 _# W: s

  1375. & b; a& L% W4 i( ?0 s7 C
  1376. ; The path for which the cookie is valid.# o8 t3 c9 Q% X' J9 p+ d8 y
  1377. ; http://php.net/session.cookie-path5 V6 s  B- I. p, f- o3 ~
  1378. session.cookie_path = /
    : L7 x, o$ l; u, Q. P( W

  1379. , ^2 Q. T# ]. i. s
  1380. ; The domain for which the cookie is valid.' o) j7 c2 j/ O9 k. D% w2 A
  1381. ; http://php.net/session.cookie-domain1 b5 e  r, K6 E
  1382. session.cookie_domain =
    % X1 o/ ?7 `4 _. v, F5 Q2 Z) d6 e

  1383. ; }: c* {2 A( U, U3 a
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ P+ y2 x: n  n) a
  1385. ; http://php.net/session.cookie-httponly- ]0 m0 n% e. `
  1386. session.cookie_httponly =
    5 c9 H" K/ L( `+ G. C

  1387. ) V. ]: X! n; l  q. {" E; [( a( i
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.+ _5 u6 d' l5 v9 H# T3 ^
  1389. ; http://php.net/session.serialize-handler
    6 X$ A* O3 K8 P, A* G# Z  |% s
  1390. session.serialize_handler = php
    ( T; ^3 i7 Q" B( m! T

  1391. 4 U6 }2 v/ M# G$ ]+ N! V% m
  1392. ; Defines the probability that the 'garbage collection' process is started
    * k7 c" V; I, R' m/ ^! I
  1393. ; on every session initialization. The probability is calculated by using; f2 q, h0 R/ w- X: l- |, E
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    0 @7 h+ m2 Q& r% C
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + N9 i" ^- o8 o& R3 ?( S/ K; ^6 U
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 u9 S7 c' B1 ]) {# ~8 {
  1397. ; the gc will run on any give request.
    + e. H8 G: T. s1 s4 j- Z
  1398. ; Default Value: 1
    & I. @4 Q4 r. ?& @% s0 \2 j
  1399. ; Development Value: 1; o0 P( w; }* c  N7 F% U. @
  1400. ; Production Value: 1  B8 F' A6 a2 E4 x' W1 c) r: {. K* K
  1401. ; http://php.net/session.gc-probability
    * k  O$ |$ Y3 n) L; U
  1402. session.gc_probability = 1
    ) Y  O+ B* q2 D7 k
  1403. ( J# N5 U- a1 k2 ]+ b
  1404. ; Defines the probability that the 'garbage collection' process is started on every& [" r" f4 r6 G3 o
  1405. ; session initialization. The probability is calculated by using the following equation:! @% D' N) n3 \) I9 D4 |
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and( j8 l, \1 t$ L  W% m5 Z
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    5 D  v2 |) c; B8 O3 t' i- J/ o9 |) G
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; I6 G: S5 d9 i3 X
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    " u  t9 W+ a9 G0 `# }: r  N' y
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( @# r2 G9 S) Z( o
  1411. ; this is a more efficient approach.6 O2 e& t3 ~8 y" n' O
  1412. ; Default Value: 100/ F! c" X- ~% z+ F8 F! d/ Z! ^
  1413. ; Development Value: 1000
    8 W+ j! U; T1 h0 p) L
  1414. ; Production Value: 1000
    1 P, f# L2 U/ T
  1415. ; http://php.net/session.gc-divisor+ B( T* ?$ e3 H7 ~' A
  1416. session.gc_divisor = 10003 C* c" _$ K! ^: v/ O" l2 m! s

  1417. " n$ H% r- M3 R9 L: s
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    & E; e- |+ l3 o) U
  1419. ; cleaned up by the garbage collection process.
    8 U- `' l; g% w, ]# D
  1420. ; http://php.net/session.gc-maxlifetime
    5 A  d7 R( Q! S: b5 x, M$ p
  1421. session.gc_maxlifetime = 1440
    . I$ u+ C: L7 L) h/ e, t! l

  1422. : S4 q; S" q' a# q+ c
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    : N. O. h% G! t; n; F7 v0 G
  1424. ;       (see session.save_path above), then garbage collection does *not*% h. |! f/ K& f- K7 W
  1425. ;       happen automatically.  You will need to do your own garbage
    % I) t/ Z3 M0 O
  1426. ;       collection through a shell script, cron entry, or some other method.
    : S  U6 ?* z( l2 v0 v8 G4 |
  1427. ;       For example, the following script would is the equivalent of$ d1 p* Z" i5 t, [& k" o3 s+ s
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):+ K" t, Y$ S' C; ?1 o! H. o! z
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm/ F, b* ~' p' g

  1430. * F2 z$ L! k3 W
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.. f8 V: k8 _9 u! N) Y1 t# Z
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    1 d% R& Y1 l+ C+ @8 u! ]) k  Q0 \
  1433. ; considered as valid.' C: x, D4 X0 S, H4 {$ V
  1434. ; http://php.net/session.referer-check5 ~5 Z. T$ }# W& `$ G
  1435. session.referer_check =
    & t: Z+ e2 ]/ J
  1436. , F; R2 ^) t# M4 Z
  1437. ; How many bytes to read from the file.9 S5 ~8 J8 T5 a! k8 H
  1438. ; http://php.net/session.entropy-length4 n5 `7 c" h( t6 F0 U1 e& p- p- m
  1439. ;session.entropy_length = 32; z2 v- m! t9 s$ g; V& c9 n3 H
  1440. + @+ s" u: k1 Y/ r' l
  1441. ; Specified here to create the session id.
    , s! m( N8 G* Z+ r) J3 |
  1442. ; http://php.net/session.entropy-file" c" n" G& i5 g) x: F' M7 c
  1443. ; Defaults to /dev/urandom" v8 h( G8 U5 X- \+ y  s4 k
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    4 W& T7 ~" H  v, x$ q
  1445. ; If neither are found at compile time, the default is no entropy file.
    6 O, X/ @9 L) G" g0 _2 M7 N
  1446. ; On windows, setting the entropy_length setting will activate the
      X: {# {4 O/ @; Y5 a
  1447. ; Windows random source (using the CryptoAPI)# f0 D5 @' r5 T& R8 H0 K% m# k" v
  1448. ;session.entropy_file = /dev/urandom
    6 Q4 z! r1 T6 a
  1449. 9 N7 A& f  r- O( g
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    / q( u6 U2 H* \4 t' f7 f7 o9 k' f
  1451. ; or leave this empty to avoid sending anti-caching headers.( E/ y0 \, u6 h" m
  1452. ; http://php.net/session.cache-limiter
    1 X1 d5 J9 c* M  J) L; e
  1453. session.cache_limiter = nocache% Z4 ?2 U, \6 P, R+ O% O( d4 s
  1454. + A% x$ ^$ F. H6 w5 \2 ]
  1455. ; Document expires after n minutes.2 d4 E0 q/ R& X4 J: A) _
  1456. ; http://php.net/session.cache-expire
    / h% L+ E4 s5 {) e$ ^$ B
  1457. session.cache_expire = 180% i+ Q7 e# v; X8 b! V7 p
  1458. # L+ [+ Q: f# c6 i5 t! V1 a' C) x
  1459. ; trans sid support is disabled by default.$ J' r& V! p7 U: Z, `+ U& c2 ~$ o
  1460. ; Use of trans sid may risk your users' security.( n7 Q' y: i5 s% a3 z5 T- D. y2 b
  1461. ; Use this option with caution.1 A3 k$ z5 E6 K& h. y
  1462. ; - User may send URL contains active session ID
    7 X% m% |! i7 W; D1 R8 c
  1463. ;   to other person via. email/irc/etc.+ g5 M* _8 M& ~3 ]/ T! c
  1464. ; - URL that contains active session ID may be stored4 ?7 M" z: o8 ?/ n. P
  1465. ;   in publicly accessible computer.
    ( G7 {9 N. h, ?' u+ N
  1466. ; - User may access your site with the same session ID
    , k6 n% ^* @0 A# h7 q1 ]! ^
  1467. ;   always using URL stored in browser's history or bookmarks.) L) P1 ]/ b' R! Y
  1468. ; http://php.net/session.use-trans-sid
    0 C0 W' Z/ p2 _
  1469. session.use_trans_sid = 00 t- T% y" P, ]

  1470. 0 Z, P6 s3 H( Q2 A9 A6 t3 J5 V
  1471. ; Select a hash function for use in generating session ids.9 {8 x* h  R4 N' k+ |- Y
  1472. ; Possible Values1 D9 u3 b, G2 z! D. A. V
  1473. ;   0  (MD5 128 bits)' v3 ], x/ x/ r" G, e! a4 L
  1474. ;   1  (SHA-1 160 bits)
    ) c, M; A* d! P- r1 C" V
  1475. ; This option may also be set to the name of any hash function supported by6 I8 X) a# f, @$ z
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()  }3 ]+ `% o( `/ r
  1477. ; function.+ f6 D+ ^9 d  Y9 L
  1478. ; http://php.net/session.hash-function
    ! c' ?% W- Z7 S; _/ w7 N6 [
  1479. session.hash_function = 06 O0 Y  @. `4 b

  1480. $ G6 W; o( f9 ~5 F) j0 v
  1481. ; Define how many bits are stored in each character when converting# V6 |4 F6 q- g# \+ k
  1482. ; the binary hash data to something readable.( S. O: P  l% u" P
  1483. ; Possible values:
    ! L5 F% C- F. i6 y$ w! q
  1484. ;   4  (4 bits: 0-9, a-f)8 C- W) `4 i: g5 w5 L9 e
  1485. ;   5  (5 bits: 0-9, a-v)1 T1 q9 {) V( l: Z! h) c" w/ I
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* P# c) I7 m$ c3 S) O. u
  1487. ; Default Value: 42 c1 ]: E, D6 L+ C% S/ |6 A  z
  1488. ; Development Value: 5" ~+ X& }; w) L! }8 Q% I! i
  1489. ; Production Value: 55 p6 S% Q1 ~. U- E- B: ]5 \5 F. [1 Z
  1490. ; http://php.net/session.hash-bits-per-character/ A7 J% E- @7 R. A% C% r
  1491. session.hash_bits_per_character = 5- h$ X0 A% A* n; G

  1492. / S7 u, [. k- `7 Y
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.% [2 Y) x+ C( W, F
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    8 J2 p. R$ E3 M0 R, A3 Z" }7 `0 `
  1495. ; add a hidden <input> field with the info which is otherwise appended( k/ G# S8 E* W& d7 A- \% ^" A) y
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ) Z; i5 s' S" X
  1497. ; Note that all valid entries require a "=", even if no value follows.
    8 S9 B% K; J/ J! R/ b3 D  |9 N6 V
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * J9 K2 t  t6 V6 s
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & N" _6 M0 r( h2 R0 ?3 J, `
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 a4 I+ T* H' K
  1501. ; http://php.net/url-rewriter.tags
    $ l1 p, l. v5 A0 B
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"( i! b: z% k  y1 s1 F
  1503. % C6 a! l; C1 _& p% ~8 T
  1504. ; Enable upload progress tracking in $_SESSION# T! B8 G+ E$ L0 C$ `3 A
  1505. ; Default Value: On
    + z1 h" ?% @" A+ C" M5 f
  1506. ; Development Value: On
    ; w& x  ~4 W  N6 m" F
  1507. ; Production Value: On' S* Q  t* x: b7 F
  1508. ; http://php.net/session.upload-progress.enabled
    " z5 A' h* L7 ?7 D
  1509. ;session.upload_progress.enabled = On$ D, p3 ~, a. i+ w
  1510. ( E8 k7 Y4 E. ^9 i- D; D% ]- z' \9 p& h3 t
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ( O. C7 }6 O2 l0 d7 L+ e
  1512. ; (i.e. upload completed).  q7 }5 h. ]5 C0 ?0 H: @
  1513. ; Default Value: On
    / k: g( q, e, p# }
  1514. ; Development Value: On, @: d% S! B& M, d
  1515. ; Production Value: On
    3 h0 K- k( j2 g- D1 X
  1516. ; http://php.net/session.upload-progress.cleanup
    - {* T) @$ {4 W, o( K! C! w; t% ~
  1517. ;session.upload_progress.cleanup = On
    4 N( J5 Q  @. S6 N9 i; R
  1518. ' s( A. p+ Q2 O' f
  1519. ; A prefix used for the upload progress key in $_SESSION* S8 r/ H6 a; t
  1520. ; Default Value: "upload_progress_") H3 ?% I  Y8 V9 e$ A/ Y
  1521. ; Development Value: "upload_progress_"7 \5 {% `/ H  A- a
  1522. ; Production Value: "upload_progress_"1 Y- _* P4 G7 Q  }5 |6 e
  1523. ; http://php.net/session.upload-progress.prefix
    1 B! B3 o" i" c5 b# f5 X4 t
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ) G% Z( t7 t: G+ _( B% B

  1525. 5 G3 d2 @1 ^3 f5 w& l! D
  1526. ; The index name (concatenated with the prefix) in $_SESSION1 v7 b, z7 K% X1 J+ f* @% o6 ^
  1527. ; containing the upload progress information
    : d/ e) k% E# E, t& Q& Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! t$ u1 `2 {- {0 t5 p
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : u/ ^# L' [* I; z: u8 {1 D1 p
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"+ g$ O7 Z$ U" x  K% J+ n. _6 ~
  1531. ; http://php.net/session.upload-progress.name2 }% j) Q! L) a3 X7 t, a  Z; H
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ' o2 K0 _! S+ M5 w, {8 x) b2 _

  1533. ) h+ P5 B- u7 x8 ?( t
  1534. ; How frequently the upload progress should be updated.  U3 r) f7 O  k- W- S
  1535. ; Given either in percentages (per-file), or in bytes9 }' p4 ?) {/ n# P
  1536. ; Default Value: "1%"
    3 j" H+ R/ F9 W, H! q) |( T
  1537. ; Development Value: "1%"
    7 f" H6 \$ L6 O
  1538. ; Production Value: "1%"' l6 @. g, j' N6 v# a/ z
  1539. ; http://php.net/session.upload-progress.freq
    - J" r+ V; i9 j6 H; G$ Q3 ?! g, Q
  1540. ;session.upload_progress.freq =  "1%"
    7 J1 n; o4 Q; h6 I' k5 [0 j1 E: T

  1541. / l+ Q' D7 V6 b' }8 S# [
  1542. ; The minimum delay between updates, in seconds
    , t* Z8 i& D4 k3 ?" F  h4 Z
  1543. ; Default Value: 1. X  p- \2 m5 ?- U9 b! d9 y
  1544. ; Development Value: 1% s# y2 E0 n6 U6 A* S
  1545. ; Production Value: 1& O  k4 S+ V+ h# k
  1546. ; http://php.net/session.upload-progress.min-freq
    # T! L0 B* O* T  r  s5 p
  1547. ;session.upload_progress.min_freq = "1"  E6 v3 ?$ t6 n+ X
  1548. . P- a! G) t1 H* ^5 r" _4 X, N6 F
  1549. ; Only write session data when session data is changed. Enabled by default.
    2 z2 J2 {2 Y% i+ d8 l" G1 z; ^, u
  1550. ; http://php.net/session.lazy-write* T9 F' x+ B8 |  a6 T6 |3 ]$ K: _. }
  1551. ;session.lazy_write = On/ u! A7 E* y; t2 I- v, F
  1552. 2 w# [8 r6 r& B8 i
  1553. [Assertion]
    : v# s6 G1 d7 x- h& K2 n# |
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time), D; h  p$ W5 Z* j% x0 {/ a9 |7 q3 j
  1555. ; -1: Do not compile at all9 y! E* P* m" |8 A
  1556. ;  0: Jump over assertion at run-time% b& B" e/ W% G' l1 R! M
  1557. ;  1: Execute assertions
    - |2 m9 @  X; N( S  C3 [
  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)
      v. a5 ?( ?, B' R- T
  1559. ; Default Value: 19 C! n2 r) b+ g* F9 I
  1560. ; Development Value: 1
    : l' `- x& X3 J; E- D! Z0 X
  1561. ; Production Value: -1% a" z8 ^# m. x9 p7 N
  1562. ; http://php.net/zend.assertions5 F. [7 `" K0 f0 R8 Q# B
  1563. zend.assertions = -1
    4 h& c4 z8 t- I
  1564. ( Z5 [; {+ V) u9 [
  1565. ; Assert(expr); active by default.
    7 H( O  R" s/ j. ~4 {9 z! t
  1566. ; http://php.net/assert.active
    . g+ o3 a7 A1 ^% f; S% I/ F0 U( ~
  1567. ;assert.active = On; A& p! B+ _' t. P
  1568. , N1 q/ X# A( [& s6 e8 Z+ A
  1569. ; Throw an AssertationException on failed assertions
    " {& t% d* Q; _2 R
  1570. ; http://php.net/assert.exception0 G! e2 ^: H" g9 d
  1571. ;assert.exception = On$ \3 O" p% A7 A% s) b/ a

  1572. + c) ~! }1 S3 a- }5 k1 M
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)" ~: B0 h4 O# j* I
  1574. ; http://php.net/assert.warning" g6 m" V" H" z
  1575. ;assert.warning = On
    2 Y4 _" [) v4 j. m7 N+ t. T% J

  1576. 3 a, c% Y1 F( R" n: _
  1577. ; Don't bail out by default.
    3 d4 U8 Z" q* |: [
  1578. ; http://php.net/assert.bail
    + K0 t$ Z% z' F& \
  1579. ;assert.bail = Off' O$ t" D6 Z4 h+ `/ ?3 O3 I  V' _+ u* V

  1580. : B, h! H5 [0 L' U! j8 n1 G
  1581. ; User-function to be called if an assertion fails.
    ! I3 T$ O7 K  ]5 T8 v8 d2 M* G
  1582. ; http://php.net/assert.callback
    4 l, i9 \$ _7 A' W. M( O. m( e
  1583. ;assert.callback = 0
    ) D8 A7 Z. t% t, T

  1584. , W5 s* j; u. J# ]9 H/ D
  1585. ; Eval the expression with current error_reporting().  Set to true if you want( [3 j6 a* @0 ]* }
  1586. ; error_reporting(0) around the eval().( `% o/ q) p7 o0 r. ]
  1587. ; http://php.net/assert.quiet-eval9 c$ u: X7 [1 f. i/ q, e1 q
  1588. ;assert.quiet_eval = 0
    # ~9 n! w3 x2 b7 B1 w' T: G0 M. A2 p& Z
  1589. ( d: Y/ V2 B( e
  1590. [COM]
    ( ^) o9 D+ u# w5 x* {. p- c
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs5 _! H8 e9 r% I! j( V
  1592. ; http://php.net/com.typelib-file
    2 S0 e9 ]4 S, v
  1593. ;com.typelib_file =- M* t) @  |, i" A/ E8 `  S# q
  1594. ; d" m4 A6 v2 m! _. p
  1595. ; allow Distributed-COM calls
    9 [5 J' I, F! s- m+ ?
  1596. ; http://php.net/com.allow-dcom; R1 i5 Q& }  V4 j  A, E, t4 u
  1597. ;com.allow_dcom = true
    4 T. o) x0 P9 u% M1 g2 h% H9 `

  1598. 9 G0 y  F) Z6 D1 w+ {" X, a
  1599. ; autoregister constants of a components typlib on com_load(): s4 a, H+ M- p$ _
  1600. ; http://php.net/com.autoregister-typelib1 N. ^! L) }: L1 J% K8 M4 c9 F
  1601. ;com.autoregister_typelib = true
    # [( B3 L4 N3 w9 i! `" w) E$ v$ [; g
  1602. / H- I/ L& M0 W6 M% o8 T9 i6 ?
  1603. ; register constants casesensitive; [- w, |: s# r- D4 N2 I  e/ k
  1604. ; http://php.net/com.autoregister-casesensitive
    $ h$ Z& o. e, p* A' a; f+ F
  1605. ;com.autoregister_casesensitive = false
    ; }) j- v) F+ \
  1606. ( K, H: X7 ^6 L" s
  1607. ; show warnings on duplicate constant registrations
    % v& e, P$ N: C7 v  g$ n4 [
  1608. ; http://php.net/com.autoregister-verbose. m8 z; c0 S3 ^) A1 J7 q
  1609. ;com.autoregister_verbose = true# [6 P- p3 k, W' c# t

  1610. 4 A( G' p/ L8 ?" U: D" B4 D  E1 A
  1611. ; The default character set code-page to use when passing strings to and from COM objects.  G- j5 }* w# K8 A
  1612. ; Default: system ANSI code page; [  L1 l7 o$ Y: h0 G
  1613. ;com.code_page=( `2 C, s5 t( {# e

  1614.   @, u. P! W4 ?  f& q: [; t
  1615. [mbstring]
    ) M( [& ~, b7 f- n2 x
  1616. ; language for internal character representation.9 \0 U0 l8 ^" M
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    / s  V. m% w9 u% Y
  1618. ; http://php.net/mbstring.language' n1 v. B' g2 s* q7 n0 \# t' H/ _
  1619. ;mbstring.language = Japanese
    5 W, M$ ]' }. e, i

  1620. % a) e$ z( v7 }
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + ]) L& W2 H3 J9 Z% d7 p
  1622. ; internal/script encoding.
    $ T# D0 o' V0 S* H* u
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- r7 s6 c% t( B8 I8 H
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( ]4 }- D: \) s( E0 m/ ^% ]6 D: `1 I/ x
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 |5 d9 {( h- P$ q( a5 |
  1626. ;mbstring.internal_encoding =
    4 \+ F# u3 t: ?  b/ \5 c. n
  1627. ; i6 v. k, p+ L1 t% a
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.5 P7 D1 T0 e; s/ Z5 Y% j" S
  1629. ; http input encoding., ?2 {5 J/ W9 Z6 N
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.1 f# ^+ t5 b8 m' \
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    8 p4 ?  G' T4 Q$ i+ t4 e% @
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 }! T, ?( k+ e" F5 U" ~' C+ `! b& M
  1633. ; http://php.net/mbstring.http-input" A5 u) n  E7 Y
  1634. ;mbstring.http_input =. b$ ?# D6 s# C
  1635. : r, Q( Z' R& p. [8 `
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " N$ L7 y. c3 C
  1637. ; http output encoding.
    & d( k& ]8 p) ]
  1638. ; mb_output_handler must be registered as output buffer to function.
    6 O; j5 _% n; b: v
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . \3 q5 H$ N) s$ w1 z/ E% s. l
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    0 ~: D% L! L4 f. j  ^! Z
  1641. ; To use an output encoding conversion, mbstring's output handler must be set! X3 J* e$ j7 d) `6 ~1 d6 w: e7 S- E
  1642. ; otherwise output encoding conversion cannot be performed.6 C; a: O% N9 T# P
  1643. ; http://php.net/mbstring.http-output1 W% v. O4 ]2 \8 _* h- T
  1644. ;mbstring.http_output =& g$ }: k7 a4 P4 h

  1645. ) F' v  x7 y. M) s# B+ E1 O
  1646. ; enable automatic encoding translation according to
    3 |- }  e! i6 R7 N# f/ q; _" q
  1647. ; mbstring.internal_encoding setting. Input chars are" W" I9 G5 m$ H4 V) j1 `4 L% o) k
  1648. ; converted to internal encoding by setting this to On.: @- ^5 p+ x/ b
  1649. ; Note: Do _not_ use automatic encoding translation for
    ! y; E4 v( b3 w. {5 k( |
  1650. ;       portable libs/applications.
    & v3 m, y/ m& A/ q1 u2 J* K  v+ l
  1651. ; http://php.net/mbstring.encoding-translation
    1 K/ {5 [3 N+ w" m8 N6 i! ?
  1652. ;mbstring.encoding_translation = Off* V3 d- {$ _3 O& r1 L
  1653. % B8 Z% d% {4 h9 a: \$ v
  1654. ; automatic encoding detection order.4 v' H: K1 D" t8 E
  1655. ; "auto" detect order is changed according to mbstring.language5 ?/ p7 \, H  }# K* L, q+ F) g
  1656. ; http://php.net/mbstring.detect-order( W2 U  E9 n7 @3 t1 `7 Q
  1657. ;mbstring.detect_order = auto
    2 G* h: b. G, D6 L

  1658. # k2 y% \3 y; g! x7 [7 y0 Y; ~
  1659. ; substitute_character used when character cannot be converted
    - }; N5 T5 }) A+ s% U
  1660. ; one from another
    4 o; `; N6 q0 d
  1661. ; http://php.net/mbstring.substitute-character
    0 j# F0 m! \# C( r# _
  1662. ;mbstring.substitute_character = none) _$ V- g/ o, J" h, ?

  1663.   B* m* J3 O& M4 J4 V; M
  1664. ; overload(replace) single byte functions by mbstring functions.2 `+ i1 o8 w$ g, `
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , a* b1 S( C' [0 ^" E% [
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.9 B% k$ b/ C1 f3 B8 u, u4 N
  1667. ; For example, 7 for overload everything.
    / ?% a9 J+ C+ q$ V1 G% Z6 A
  1668. ; 0: No overload# N+ B9 f4 r- ^6 h
  1669. ; 1: Overload mail() function
    3 P2 Q2 @2 Q4 Z- T# h2 R
  1670. ; 2: Overload str*() functions" q/ H$ m& N& _$ v3 n
  1671. ; 4: Overload ereg*() functions
    # x4 P% i" k2 @, |$ F
  1672. ; http://php.net/mbstring.func-overload$ W  w/ X7 [: C8 d6 J$ Z* R
  1673. ;mbstring.func_overload = 08 t7 _# J7 g: f% u/ c" Q! \, K

  1674. , _) F5 q5 y) S. N8 j5 i1 }
  1675. ; enable strict encoding detection.
    & y* g5 ^6 S' p6 e4 H3 t, _) _" e0 H
  1676. ; Default: Off8 ]- `" d/ _1 t+ J6 c
  1677. ;mbstring.strict_detection = On
    / c6 b0 ?7 R" Y9 a% `3 [$ K6 R
  1678. ! b) T% v/ N) y. J' Z9 j" U
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    % L  R( s  e5 K+ I
  1680. ; is activated.1 Y5 J6 }& {/ N- q. r! b9 V
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    1 R; L7 K; f; b% R+ p4 {( o
  1682. ;mbstring.http_output_conv_mimetype=
    ! W% Y3 U1 E5 J1 d
  1683. . r9 p: k% ~; Z) A0 H- E
  1684. [gd]5 M8 \1 e  v7 p4 w9 \$ s
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    . i* g) I8 {; ?$ |/ R9 e
  1686. ; a gd image. The warning will then be displayed as notices
    , c% k6 X& p0 D: T: H4 _) p3 e
  1687. ; disabled by default
    ' V1 z! w- e% }7 C( x( J* |1 `
  1688. ; http://php.net/gd.jpeg-ignore-warning& e  U( ]5 E/ v+ j7 S! s# d
  1689. ;gd.jpeg_ignore_warning = 0
      i: c) o  |6 l0 w) {
  1690. & X; V. a: l# Y. j# S
  1691. [exif]& }0 Y  S8 Y$ ~3 e7 W- A& @
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.  [& @3 c6 Z% S. p. U9 y
  1693. ; With mbstring support this will automatically be converted into the encoding
    - [3 U7 u6 Y0 \' B$ C& L2 ?, t
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ J+ c5 A/ a9 o4 Y
  1695. ; is used. For the decode settings you can distinguish between motorola and
      h! \2 s8 q$ z
  1696. ; intel byte order. A decode setting cannot be empty.5 m( D0 \' A8 h
  1697. ; http://php.net/exif.encode-unicode
      r& Y( e- w" l6 _' W: F
  1698. ;exif.encode_unicode = ISO-8859-157 B( b; ~: A* w! V, ?& _3 G
  1699. / j4 w1 D) |2 A# ?
  1700. ; http://php.net/exif.decode-unicode-motorola
    6 w2 M9 F( B" E; S. k
  1701. ;exif.decode_unicode_motorola = UCS-2BE( e7 Y: N. y5 _& `
  1702. 4 J+ C3 c7 [+ h$ M
  1703. ; http://php.net/exif.decode-unicode-intel
    6 k  S2 D, u! v& D% u& {
  1704. ;exif.decode_unicode_intel    = UCS-2LE9 H3 k) E( M- \* \! C( B* L2 k

  1705. * v- [/ B' i7 q% n3 P
  1706. ; http://php.net/exif.encode-jis
    & w+ h/ B0 B9 ]$ K( M
  1707. ;exif.encode_jis =
    ' k7 M, S! k  q0 [, C3 V; M& f

  1708. 6 s# l6 X, d" s& }8 z7 C
  1709. ; http://php.net/exif.decode-jis-motorola
    - Z! w, J, `, k2 J
  1710. ;exif.decode_jis_motorola = JIS
    . ~- Q' `# I" s. a9 o2 P/ K

  1711. 4 W4 D) Y% \. {/ ~1 M
  1712. ; http://php.net/exif.decode-jis-intel
    / o6 v0 A1 b& u5 b& e
  1713. ;exif.decode_jis_intel    = JIS: z# W( `5 o8 c2 D
  1714. ' q* O- n. c- J6 p- c! \) _/ E
  1715. [Tidy]  n7 f' u, s, Y. A4 n. v
  1716. ; The path to a default tidy configuration file to use when using tidy3 }6 D+ s& ~$ a, |! \& t$ W& r7 _
  1717. ; http://php.net/tidy.default-config
    # V0 h# Q; w* m0 _5 I# k
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ' ~' ~: q' a+ E  x" s4 c

  1719. 7 w3 H; w4 o$ z  u- k/ h
  1720. ; Should tidy clean and repair output automatically?8 S0 @5 K) l' s
  1721. ; WARNING: Do not use this option if you are generating non-html content7 E% j. ]: h9 L
  1722. ; such as dynamic images3 W! u6 S! v3 A- n
  1723. ; http://php.net/tidy.clean-output
    " Y8 w2 m; \0 I* T0 \& ~9 D0 t
  1724. tidy.clean_output = Off
    - B7 J* A8 X/ D4 g- U+ U
  1725. 0 D7 \+ C, o; {3 y  y
  1726. [soap]
    $ d. @6 f% S) p/ C& \* {9 {
  1727. ; Enables or disables WSDL caching feature.
    : q; G& E8 ]$ I  C
  1728. ; http://php.net/soap.wsdl-cache-enabled
    . ~% f5 ?+ U- P
  1729. soap.wsdl_cache_enabled=1
    - t/ r* |% v" B3 @2 c- ?% X
  1730. 1 z* s) z6 d. n
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ' |4 W5 b/ G; s, o" s1 B
  1732. ; http://php.net/soap.wsdl-cache-dir
    ' s# @* J/ e8 G. y% u! w
  1733. soap.wsdl_cache_dir="/tmp"0 ~' h$ f1 v# f: w0 s% L1 q# S

  1734. / o* n4 K: b& k4 y' q5 W
  1735. ; (time to live) Sets the number of second while cached file will be used4 m' l- Q. X* J1 C, l$ `( K; w
  1736. ; instead of original one.
    % y4 X2 b; ~" c5 l
  1737. ; http://php.net/soap.wsdl-cache-ttl
    8 m9 s" L" a5 w, W' p* l
  1738. soap.wsdl_cache_ttl=86400
      y& i2 d7 p8 ^8 p4 ~
  1739. , ~+ r/ I: c1 J3 G1 n
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    8 k  h% Q$ \7 q) h, r: J4 w# w
  1741. soap.wsdl_cache_limit = 5
    1 U; r2 R) Q3 T* z
  1742. ) E7 m  ]6 _5 m6 {. n+ M/ u/ i
  1743. [sysvshm]
    % h% v+ ?% \7 y4 R3 B& x
  1744. ; A default size of the shared memory segment% E& C! [5 f  U* L
  1745. ;sysvshm.init_mem = 10000
      I- a. U* c  _: Y, B. F' z* S1 C
  1746. 4 h0 |/ f* p+ n' k- l
  1747. [ldap]# c1 e+ m; T8 h( v+ t
  1748. ; Sets the maximum number of open links or -1 for unlimited.) L. [9 a& h( N3 m
  1749. ldap.max_links = -1
    - g9 g& ?; i/ x" F/ r, R+ I6 o

  1750. / u' ?1 i9 S# v1 G( r
  1751. [mcrypt]" y9 ]1 y$ q" y' M  m
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 x9 O/ }8 K8 }( O& [% ]/ |
  1753. 7 ]$ {/ o# c3 U4 N7 J* T5 C
  1754. ; Directory where to load mcrypt algorithms
    / W6 D% l* V6 @. i; `) Z# ]( q
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! L2 a$ j. [5 T  o7 E2 Z
  1756. ;mcrypt.algorithms_dir=
    $ K- `, c5 K" J9 L9 F3 `8 K
  1757. " K- U, p+ ]8 c" l: i# M( o
  1758. ; Directory where to load mcrypt modes
    & S! A! l0 m! }" u; H# o! _+ u" h
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( @1 g0 _3 ?/ r' W% n
  1760. ;mcrypt.modes_dir=/ i, ~5 O( i  v2 h
  1761. ; P6 {5 @. b! N
  1762. [dba]
    0 @! t- S4 o4 {8 G- M$ g
  1763. ;dba.default_handler=
    5 u) j" z2 ]& E5 X. B/ u1 ^- C
  1764. 8 O) |/ Y- o- y
  1765. [opcache]
    ; M$ d, ?" ?! u
  1766. ; Determines if Zend OPCache is enabled
    " r8 u* i* U& R  e5 W
  1767. ;opcache.enable=0- [3 N% m& T8 O
  1768. 8 v0 _( q2 m% s* o7 f' V3 Z8 v
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    " K$ ~3 c; j) t. G2 [# c
  1770. ;opcache.enable_cli=0
    - T  B% E# s# ]
  1771. & W' e8 X  K3 X  p# x$ M
  1772. ; The OPcache shared memory storage size.9 I, j9 p, W0 n5 W# H& M" }) I
  1773. ;opcache.memory_consumption=64$ w8 Q! k  e. W! u/ b
  1774. - j, j2 O% _8 U  ]
  1775. ; The amount of memory for interned strings in Mbytes.
    3 ?6 h. B/ L0 ^$ b9 {/ H
  1776. ;opcache.interned_strings_buffer=4
    3 @! |7 `4 |: n( i6 I0 Q9 }2 m# M
  1777. 1 E. {! Y/ I' o) h) n- Q
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    - `% E$ q+ {8 B4 M1 M/ a2 ]6 z
  1779. ; Only numbers between 200 and 1000000 are allowed.
      G' ^+ s( s' V# a6 V) L* X; \2 T
  1780. ;opcache.max_accelerated_files=2000# k8 Q  T* U3 J9 L+ Z1 ]; g3 V
  1781. 3 O. ]# H( D& V
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled." O: z: u6 c% }5 N  w" n7 {
  1783. ;opcache.max_wasted_percentage=5
    + i' @! N, ?+ s( ]

  1784. 9 y* v. U0 G" b" v* `
  1785. ; When this directive is enabled, the OPcache appends the current working' z4 B: e$ T3 N, A& p* s* R6 G7 K
  1786. ; directory to the script key, thus eliminating possible collisions between4 y  ~: ^3 @( c7 R6 R% K
  1787. ; files with the same name (basename). Disabling the directive improves
    3 L" ^! m: g, S2 g1 L% P: c* n
  1788. ; performance, but may break existing applications.8 N& B' i# Y  P! [2 i3 q
  1789. ;opcache.use_cwd=1/ L/ p0 g8 ^5 k7 L& a

  1790. 8 C- }  {! Z- i+ B5 y1 v
  1791. ; When disabled, you must reset the OPcache manually or restart the9 j2 h! h$ C2 H7 F! `
  1792. ; webserver for changes to the filesystem to take effect.! P( z5 ~7 S2 L" w
  1793. ;opcache.validate_timestamps=1' ], `" l7 K: e/ o
  1794. , K4 F0 h. i3 N6 @9 B. S, A
  1795. ; How often (in seconds) to check file timestamps for changes to the shared) E# T- L8 ~2 T* `, O4 r
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ( h% d, i8 Y  V' U6 y! R5 Q, R% r( v
  1797. ; once per request. "0" means always validate)7 I' M2 T; E2 D4 M$ Y
  1798. ;opcache.revalidate_freq=2
    % P" ?; ~, e6 y" g

  1799. 9 I: X  D+ P4 z- }; S, i# w
  1800. ; Enables or disables file search in include_path optimization
    : o% g# B/ K& N
  1801. ;opcache.revalidate_path=0
    5 |0 q- L) s; W5 M. q9 `, I0 G
  1802. ! l9 {8 z% h' s0 d4 a  f
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the0 X, w8 @& A/ ?$ k+ @* a
  1804. ; size of the optimized code.1 X6 |/ @0 w5 l
  1805. ;opcache.save_comments=1
    2 K# @1 S& u) |3 l) K' m5 k2 l
  1806. # ^7 p  i7 @1 F9 ~  @8 N* X
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    2 }% [& v, x6 D8 s8 v% |9 J' Z- {* X
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.; L5 r) g2 K1 B9 h" m, l' w, c7 }5 x+ g
  1809. ;opcache.fast_shutdown=09 A6 w9 p$ F7 M  T; v$ }! L1 H

  1810. 5 b* b% k4 s9 e9 {$ r& d" k# X
  1811. ; Allow file existence override (file_exists, etc.) performance feature.2 N& \- l/ B4 a8 h" w2 O
  1812. ;opcache.enable_file_override=07 u6 V& t& I  N$ E

  1813. ( v$ G; L( \" w+ R! g) R
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    6 u+ M) S. J- T5 f
  1815. ; passes
    - Z" N/ `+ L9 e9 T1 [
  1816. ;opcache.optimization_level=0xffffffff
      s- v6 A, _9 U
  1817. 9 {) U5 H9 Q5 S  T4 [
  1818. ;opcache.inherited_hack=1
    , W. k/ r+ P, K7 B& s  ^9 ?: h
  1819. ;opcache.dups_fix=0
    0 a3 S3 k$ y( O# q+ @+ ?

  1820. 4 b/ K' S2 E5 i
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    2 v- S9 m; d7 V( Z# ?$ D
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
      C- s- I* G$ T
  1823. ; that should not be accelerated. The file format is to add each filename
    * u0 x3 }8 O/ x- w' Z/ h6 a) }
  1824. ; to a new line. The filename may be a full path or just a file prefix. g/ O  s) g. ?: u
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www. y% L& T1 z, Q% H
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).6 N1 [! D3 F) W; g  ~$ d4 J6 I
  1827. ;opcache.blacklist_filename=1 v5 Q2 E- V$ q( K  m9 q
  1828. ! S( y! w9 P: b/ i
  1829. ; Allows exclusion of large files from being cached. By default all files
    ) {; M2 o9 o0 Q( A
  1830. ; are cached.! g6 h, N* r1 |/ O
  1831. ;opcache.max_file_size=05 f. \6 P7 d; h7 i
  1832.   ^: N( G- z" N( y! b; b
  1833. ; Check the cache checksum each N requests.
    0 s/ ^7 q% Z& ^, m0 e
  1834. ; The default value of "0" means that the checks are disabled.
    ( x; p/ M5 V8 w0 O9 ?! D
  1835. ;opcache.consistency_checks=0: A, j5 }. D: i  v$ [& f

  1836. 1 s9 n) ]1 ^" R( ~
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    * j& }/ K8 n4 _" T
  1838. ; is not being accessed.
    : i2 S- u0 Z7 K2 [) b5 b6 |3 p* y
  1839. ;opcache.force_restart_timeout=180+ |( p9 `& i+ [( T

  1840. ! q! p5 X( T5 K- e, b: ]
  1841. ; OPcache error_log file name. Empty string assumes "stderr"., q7 u5 u, q& a' W" l) A+ Y
  1842. ;opcache.error_log=
    7 q8 d8 m: [9 p8 V
  1843. . w$ e( B! Q3 W7 r
  1844. ; All OPcache errors go to the Web server log.
    7 p/ k# w2 f; q$ ~5 u: y
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged." j& |9 J$ P  b: C* x9 y
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    8 V, Y$ {. q& ]/ P) S
  1847. ; debug messages (level 4).( p4 m1 F8 }7 @: N
  1848. ;opcache.log_verbosity_level=1
    , V; y6 J+ N. m0 q: W( @3 y; Z
  1849. - f9 U4 @1 u$ Q
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ( v) Q" G; {4 s2 O) U
  1851. ;opcache.preferred_memory_model=
    : W5 V% i2 b5 l

  1852. 7 J) A* n3 l: u) \
  1853. ; Protect the shared memory from unexpected writing during script execution.3 t! h: w4 u% e
  1854. ; Useful for internal debugging only.
    & O& G# @$ P$ s8 T* @
  1855. ;opcache.protect_memory=0
    / `* n' s5 h! [* {; Q) B, _8 x0 ^& d# p

  1856. - |* u; m  ^% D' d( m& p) d0 c: c6 V
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ( W* H7 n2 [6 \* I& J% ~
  1858. ; started from specified string. The default "" means no restriction
    ! w- t; G2 L/ f: \. u" W& n
  1859. ;opcache.restrict_api=  t; M  I3 V0 g5 Q# |" B
  1860. 4 n3 @: p4 g% j5 T8 j+ F
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP4 }) g) V& J" U) R8 m& E& F/ ^
  1862. ; processes have to map shared memory into the same address space. This
    , ~' T: V# a5 @! C+ V7 I
  1863. ; directive allows to manually fix the "Unable to reattach to base address"& d# \" h$ Q8 X0 u5 |* R( Y/ j
  1864. ; errors.7 z1 R" o1 g# d1 Z
  1865. ;opcache.mmap_base=6 Y3 D: P3 s6 K2 E2 Y7 L# P
  1866. ' ]  X( P$ L* U! y
  1867. ; Enables and sets the second level cache directory.
    % K& R/ q/ I+ B, b4 g& n
  1868. ; It should improve performance when SHM memory is full, at server restart or
    . e1 I& T/ ~5 ^& `1 ?  w3 Q
  1869. ; SHM reset. The default "" disables file based caching.6 b) p" d- I) ?7 \% T3 W7 O7 C; P
  1870. ;opcache.file_cache=
    - |/ q6 e7 F' A! Y; G
  1871. 7 P" a4 ^1 t2 a9 B
  1872. ; Enables or disables opcode caching in shared memory.
    / M% f. K# E& }$ ~6 t) }
  1873. ;opcache.file_cache_only=0# d; r2 Q/ ~1 M

  1874. 7 B, B6 V5 A8 z4 @) R
  1875. ; Enables or disables checksum validation when script loaded from file cache.# u+ ?, |0 L0 {2 S0 }$ F
  1876. ;opcache.file_cache_consistency_checks=1
    $ [, |( k* z2 B  O0 x1 X

  1877. 2 @/ a- L+ r- L/ Z4 Z
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    $ o, }. W5 ?! p0 S# K
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    7 b# j7 u; A2 S6 j
  1880. ; cache is required.
    - J+ |; K  E: f$ B  g% f
  1881. ;opcache.file_cache_fallback=1
    % J3 Y$ O! Z) `; U5 e
  1882. - P7 a5 x6 [8 h; T) q
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.. o0 i* P* d- j7 `& D1 x
  1884. ; This should improve performance, but requires appropriate OS configuration.( t, z* d" Z( e2 G
  1885. ;opcache.huge_code_pages=1) e' m4 m+ ]( e/ z, R
  1886. : C( |- r5 m: L6 ?& i. ^5 E
  1887. ; Validate cached file permissions.
    : a+ c5 p5 o( u/ V. W) l' U" M
  1888. ; opcache.validate_permission=0
    % ^' T1 |. @5 D& h# z
  1889. % K/ i- O( l7 d, ^* m" Z5 v
  1890. ; Prevent name collisions in chroot'ed environment.
    & P( v2 k" M* }$ L
  1891. ; opcache.validate_root=0  ?- }  t/ e1 Z  L7 P
  1892. 5 s! x5 y' N/ M: S( p8 @
  1893. [curl]6 R- L7 t; T  g7 g. J/ d
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 W* Y+ D% x; ^
  1895. ; absolute path.
    # U; P* Q) k& |6 N: {+ i
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 J4 I) L- J/ q/ M4 y* {" D
  1897. ! |" T  F  f, f  o& A
  1898. [openssl]
    ) J6 F' A6 O9 f, R; ~
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem  e; t* r8 m; ?* S) {
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    1 A% W5 F! m3 I/ f! W; Y
  1901. ; not specify a value for this directive as PHP will attempt to use the
    7 X( ?( e, p, E8 O) a4 @( }
  1902. ; OS-managed cert stores in its absence. If specified, this value may still0 Q: O4 b. ]& G* }
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    : t4 L: `# [9 Y6 X
  1904. ; option.
    & N$ h* V5 C8 b6 L& |! r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    + {2 q: L( m9 t. V; H; R. v

  1906. / m  o5 [, Q6 p1 n$ O0 P  W7 \
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the! L9 d% j+ W- e1 Q: q) z% ?7 C1 v
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    0 t1 ]) T  a7 a6 E0 @) J
  1909. ; certificate. This value must be a correctly hashed certificate directory.. z3 i: P. }/ g) a" E
  1910. ; Most users should not specify a value for this directive as PHP will
    , N3 J* P. r/ @1 |9 i/ |, z
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    , @2 k: y  f1 E0 E  G6 Q0 h
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    : D& ~5 z; ~8 }5 W8 b% |! x) M
  1913. ; SSL stream context option.
    # V* g+ v3 Q% d' \+ q4 e
  1914. ;openssl.capath=8 k- I, W$ F) W# d
  1915. 4 M& B1 S$ Z3 Y% {* C& ?
  1916. ; Local Variables:$ p$ t- S8 C* r
  1917. ; tab-width: 4
    ! o' g" F6 C3 O. y* ~1 i, A
  1918. ; End:" L2 K5 Y" Y) X3 k
  1919. " O& V- z2 m5 c) q, X) H; z3 J
  1920. ;eaccelerator# p: ~% w. a. F* }

  1921. 1 t* i0 b0 m( F; ~
  1922. ;ionCube1 {& R- V9 I, Q* q  A' e5 o

  1923. # ]& e9 [, ]: `# c8 N
  1924. ;opcache; I0 f" l8 H; e* s

  1925. ! h( K! f/ ^& T: ?, K" ^5 O
  1926. [Zend ZendGuard Loader]+ i% _' J, `2 Y5 c/ e
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    4 Y. U0 l! t) T8 X! ]& g: e. j
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so& a4 J7 K3 `9 \  {0 V3 y, U
  1929. ;zend_loader.enable=1. o0 x% J! _2 f" p( o
  1930. ;zend_loader.disable_licensing=0( y/ R' I( ?0 p: B
  1931. ;zend_loader.obfuscation_level_support=3
    ' l) a  h9 q# G, H6 ~( }4 `; {5 \- }* `
  1932. ;zend_loader.license_path=7 V* r9 }$ u. z  {$ E  e

  1933. 7 f+ K) x$ y$ t
  1934. ;xcache
    % ^( ^# |) z. n* w4 @/ z. l- b' K: H

  1935. ! ?" _9 h8 l6 t) F) f* C$ K" y
复制代码
1 ]4 Q  A! K4 I2 K# t7 O- `- Z
' D( v. [1 }# E3 r: c
# W3 K0 O& Y7 ]9 Z+ h; H% Z. k

! D0 Z6 n, r# E- o# M! |) ?. w7 X. @
3 `! a/ c( }$ t1 u" W4 A; U
4 Y+ q7 t! I- S: }( M$ T
PHP5.6版本原始设置9 P$ ?6 W, G/ W

4 k1 L( ~( u( i. C
  1. [PHP]7 n8 ]% D5 g$ B+ F5 _0 D* G
  2. 4 L& Q( W' i) F% p4 @1 {
  3. ;;;;;;;;;;;;;;;;;;;2 @5 q2 b  M0 w7 M
  4. ; About php.ini   ;
      L$ Z, i5 h# p: `5 i
  5. ;;;;;;;;;;;;;;;;;;;" @9 P: K/ ]" _, V  C* M
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : R7 y- m' e+ }7 G7 {
  7. ; configuring many of the aspects of PHP's behavior.
    ! _3 h. d  Z  C% B4 w' o
  8. ( `& ?  {- `$ ~1 L) h
  9. ; PHP attempts to find and load this configuration from a number of locations.! P8 q# z9 o) q
  10. ; The following is a summary of its search order:
    9 [* |; `$ m. T0 V' L
  11. ; 1. SAPI module specific location.; M* Q- p7 p: q2 c2 }2 S0 k
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)% k2 K# K! U0 ^  j$ R/ p
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    , E$ j; u# P2 Z
  14. ; 4. Current working directory (except CLI)' h( }; W7 h4 o% E
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP' h/ Z$ ^/ `# m4 V' o
  16. ; (otherwise in Windows)
    ; J, D, O( `, l5 `
  17. ; 6. The directory from the --with-config-file-path compile time option, or the1 P( \5 X, D+ u# m5 v- p/ c; L
  18. ; Windows directory (C:\windows or C:\winnt), n/ h, ^; T' r# w% ^* r: A
  19. ; See the PHP docs for more specific information.
    2 Y  v: Z9 O$ J1 c3 V
  20. ; http://php.net/configuration.file
    / U$ d$ t/ Y) Z% N+ b
  21. 1 v- W$ U( b9 W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines. I& _3 f+ ^6 e$ N' V4 X
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).; x2 D- h2 c  `; F' {1 z* B) e
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ( ]0 l- }# L, k+ ]* G
  25. ; they might mean something in the future.% e# F3 l5 A* N" o! J; D9 e

  26. 1 _7 q: @) E1 N( ?
  27. ; Directives following the section heading [PATH=/www/mysite] only1 R9 `/ Y! K5 S$ E
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : _2 W0 e! D. Q! O& o; ?
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' k7 ^, E( @7 C
  30. ; PHP files served from www.example.com.  Directives set in these
      K$ C* |/ Z8 {
  31. ; special sections cannot be overridden by user-defined INI files or% v( [  Z* a5 f. i
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under* L0 m/ C9 H# j
  33. ; CGI/FastCGI., G$ ?$ d2 X0 g+ _, T
  34. ; http://php.net/ini.sections) c3 o, G) C# ~5 j2 T/ ~
  35. , a; t  J0 I! g- E. ?6 ~
  36. ; Directives are specified using the following syntax:
      u5 G1 F" [3 ^, \: r
  37. ; directive = value
    ) G: j% m/ A2 I
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    # M1 \+ j! e& Z" D) |2 \4 I4 a
  39. ; Directives are variables used to configure PHP or PHP extensions.! ]4 A4 J4 ?& W+ J8 N1 G
  40. ; There is no name validation.  If PHP can't find an expected
    - W9 D# N& |+ s) W4 o6 C0 ^
  41. ; directive because it is not set or is mistyped, a default value will be used.
    * E+ j+ {+ B1 n6 g
  42. 9 u8 T7 t, O# Z! q( Y6 f6 {
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    + b$ R$ c# H. w/ B7 u1 M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 T% o1 V" {3 U* M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a0 l! K! O4 {" s
  46. ; previously set variable or directive (e.g. ${foo})/ t' h# p( c0 }8 X  m% n

  47. * [0 o# V) ?0 ?
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 a; A) d' {1 o! e, f
  49. ; |  bitwise OR
    / E' t# W) T, l0 L
  50. ; ^  bitwise XOR6 \% I* x0 z4 r9 q" {! m
  51. ; &  bitwise AND; _9 g% ?$ f3 A' n$ M; b
  52. ; ~  bitwise NOT9 [0 K! U% k" @, ]# V% m0 _
  53. ; !  boolean NOT6 z+ R4 B9 C2 F2 ~" ^5 i4 N; Y

  54. # B- w$ R# W9 J! X" e
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    " k: d! O0 j/ n" {( n: m
  56. ; They can be turned off using the values 0, Off, False or No.' o, U" d+ a6 ?7 ]! w3 {+ K

  57. % a& w5 f1 f; P( q$ C1 X- F
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ N0 p, i8 o0 r# m3 i! s  V8 {
  59. ; sign, or by using the None keyword:
    0 h2 k8 p9 j2 Y( v: w7 }8 t& B5 y1 n

  60. 7 H! t! C2 F! P$ R. `6 Z6 p$ g
  61. ;  foo =         ; sets foo to an empty string
    5 ~+ a8 W9 K3 v
  62. ;  foo = None    ; sets foo to an empty string
    % u1 V) ^3 Q7 `2 Y
  63. ;  foo = "None"  ; sets foo to the string 'None'3 n) _  K; G+ X3 [- z

  64. & o3 t/ s  U& g8 u5 j- Y
  65. ; If you use constants in your value, and these constants belong to a) G) [. F$ z5 v
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    $ \% \! R5 U9 K
  67. ; you may only use these constants *after* the line that loads the extension.
    / p' b: @+ O8 ]- h
  68. 3 f% ?& X- G; [3 c
  69. ;;;;;;;;;;;;;;;;;;;
    6 G6 Y# A4 c- L' @6 C% t; D
  70. ; About this file ;
    7 c* @8 J8 Y  M, T6 a
  71. ;;;;;;;;;;;;;;;;;;;
    0 O* ]: m/ c. ?1 T: k: e0 d1 u
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : n1 _4 m# ]& q. B5 r  d
  73. ; in production environments and one that is recommended to be used in' s. I+ A, K! U, D8 X
  74. ; development environments.7 Z; K0 T  u$ J5 b7 N

  75. & n0 ~/ v! \. {# r3 u" J8 H
  76. ; php.ini-production contains settings which hold security, performance and9 E/ w, W( ~2 O3 H' v
  77. ; best practices at its core. But please be aware, these settings may break! M  K  \( ]$ v2 X/ Q  Z
  78. ; compatibility with older or less security conscience applications. We
    2 D0 W2 }' h3 Y3 [
  79. ; recommending using the production ini in production and testing environments.
    4 \8 r& q5 U% M; Y" L! z; w
  80. + E! V# I# f$ w6 i1 q
  81. ; php.ini-development is very similar to its production variant, except it is+ e3 w/ E  r6 G8 s# K
  82. ; much more verbose when it comes to errors. We recommend using the, \( m0 `1 ^5 _5 n* c
  83. ; development version only in development environments, as errors shown to
    % E, A6 S0 g- v  m3 [# |
  84. ; application users can inadvertently leak otherwise secure information.: e0 e, n0 ^( a! _- P, `9 {
  85. ( Q1 ]8 r9 v4 L3 u3 [, O- s
  86. ; This is php.ini-production INI file.
    2 h* `7 a) x( @9 ?6 Q& x

  87. 2 K' N7 G* y6 S* g0 r* u: d" m- n
  88. ;;;;;;;;;;;;;;;;;;;
    , M+ U6 ]+ X0 u" i' K; }5 P
  89. ; Quick Reference ;5 Q* D* D  O6 A+ V7 C, t; h5 W
  90. ;;;;;;;;;;;;;;;;;;;4 t& P+ E: q0 k; }
  91. ; The following are all the settings which are different in either the production9 g4 C5 C6 F% v' U. {
  92. ; or development versions of the INIs with respect to PHP's default behavior.. Z, Q' N8 Q$ o# Q" y' Q5 U6 {
  93. ; Please see the actual settings later in the document for more details as to why8 l6 G; `& G% d9 i  x# w
  94. ; we recommend these changes in PHP's behavior./ ~: s/ E9 |' o. Q
  95. " P& B: n. T5 {5 e. e1 a: q
  96. ; display_errors/ ^* ^) q. B* G
  97. ;   Default Value: On( n, i, O, w2 L& {
  98. ;   Development Value: On& m& W: G4 K8 @8 A5 I# z
  99. ;   Production Value: Off
    2 i# l0 n  a/ F6 L, M
  100. 1 p' U7 n5 f6 _; p* _1 Z
  101. ; display_startup_errors
    & A  W+ G& }5 I+ X" j- o
  102. ;   Default Value: Off
    7 n  w- l6 n# w' W7 a% s/ B: _) E
  103. ;   Development Value: On
    - c" |* A; w6 c# p
  104. ;   Production Value: Off
    0 {3 I* h- g/ \. u- s( o9 O
  105. 2 a0 b* n  _& A4 Q' ^
  106. ; error_reporting
    , E' S# K( V- E6 F+ p  r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) @1 Y$ I8 ?$ j0 a0 M8 i
  108. ;   Development Value: E_ALL
    ! `. j  [3 n9 H% g/ q* x9 o! Y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! G) a" o! o; k1 `

  110. 9 T/ ~9 c* c$ u) F
  111. ; html_errors
    , @! r+ N8 t+ Z) Y. t2 O
  112. ;   Default Value: On
    2 S, _+ u! v. f+ ^
  113. ;   Development Value: On8 j' [, k6 Z: p( N
  114. ;   Production value: On! p) ~" ^' ]: C' z

  115. . m3 R1 `' O7 \; w0 [* S1 H1 W
  116. ; log_errors
      f! T8 S3 j( P  @
  117. ;   Default Value: Off
      z' X* W0 ~; B' P
  118. ;   Development Value: On8 b- ?. B7 Q" g$ K* a! J# ^
  119. ;   Production Value: On
    $ s5 V/ q. |' L' h" Q5 H- N! H7 j
  120. & _$ x& g* k, U0 c; k
  121. ; max_input_time; N, {8 c6 c/ W5 E. p
  122. ;   Default Value: -1 (Unlimited)5 k3 a9 u/ _! ^6 J3 \% c3 O3 K" P
  123. ;   Development Value: 60 (60 seconds)
    , P2 P% A+ _8 `* g+ q/ p/ O  c1 ?
  124. ;   Production Value: 60 (60 seconds)
    3 P4 @% e" m# l, w1 j
  125.   u$ }# v% p8 S
  126. ; output_buffering. m7 G* m; C+ ]  m
  127. ;   Default Value: Off
    3 F8 Z+ _- }. N; J+ }3 t$ A3 o: F
  128. ;   Development Value: 4096
    " ^3 }) Q' D2 x; N9 K
  129. ;   Production Value: 4096* h4 G, }1 J3 s& |" j$ W, F% b
  130.   K+ ]2 y$ [8 L
  131. ; register_argc_argv8 W9 W9 h  C, l6 H2 z- M
  132. ;   Default Value: On0 ^- a! s$ b; L3 q7 g5 v( }6 q
  133. ;   Development Value: Off* a* O$ @; o" \0 I9 p  z
  134. ;   Production Value: Off# V2 H, D  R/ x2 S

  135. 4 ^0 p8 A1 C* I# \" |  ?% R% x* m+ V
  136. ; request_order- t+ M" r2 ]$ a: _1 j8 }
  137. ;   Default Value: None
    8 B  N7 D3 Q- i2 m: w& J% {. m0 ^
  138. ;   Development Value: "GP"
    2 |, u3 x8 |. {7 t3 q: `
  139. ;   Production Value: "GP"5 T$ \2 ~. c- Y% U% w* Z

  140. ; w+ W6 |  o! M# K0 f1 D
  141. ; session.gc_divisor
    ) H/ ?% O. R+ l/ Q6 F" I+ r
  142. ;   Default Value: 100
    / {& F+ v; x; Y/ i8 z
  143. ;   Development Value: 1000
    2 t5 ]. k! f- X
  144. ;   Production Value: 1000
    ; A$ v+ T3 }" k1 g! I

  145. 2 Z0 L. ]5 ^1 B% o9 U- P& B1 F0 d
  146. ; session.hash_bits_per_character
    + u$ a, s/ W# ?8 E# R
  147. ;   Default Value: 47 b, C  a* z/ b* h' c) {
  148. ;   Development Value: 5
    ; w& }2 U- W9 W8 K7 `
  149. ;   Production Value: 51 c5 y2 N" Z8 X0 d' d

  150. / C, R/ |6 v0 a
  151. ; short_open_tag( ?. D5 _: \- ?6 l' H- i( L
  152. ;   Default Value: On
    3 A5 I6 F- C" D: f3 v4 e0 ]
  153. ;   Development Value: Off
    9 i4 ], Q" V1 d1 a) J# ^5 N
  154. ;   Production Value: Off$ }; u# G- {6 d) s: e

  155. 1 @$ Y9 C# K7 G& A2 @
  156. ; track_errors
    5 u, I; y/ n/ f; l3 E
  157. ;   Default Value: Off
    % g! n; w  N; M& c  z. z
  158. ;   Development Value: On+ k0 l* ^8 n, r( X
  159. ;   Production Value: Off
    ; X2 s9 o" f& d

  160. * w& L1 Z; j( L3 V% @
  161. ; url_rewriter.tags
    & N* f2 b3 r; v/ h
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / r3 ]6 L+ n: P, h& {5 I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# ?, F$ Q7 ~+ F$ l2 M9 g0 J
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 `( g! h2 Y4 h3 a% h

  165. ; M! t, e' m  H# r1 t* W$ ?. L, d
  166. ; variables_order
    . R  T. [, X  T# v/ R
  167. ;   Default Value: "EGPCS"- ^! ?. l. Y* r' q0 M4 K
  168. ;   Development Value: "GPCS", I; H% [) z- I! \7 V. r5 ?6 H
  169. ;   Production Value: "GPCS"- Q) A$ G2 X# a3 {9 q/ o/ H

  170. # N- @! t6 p, l
  171. ;;;;;;;;;;;;;;;;;;;;6 Y/ s3 X3 `& D. S6 V
  172. ; php.ini Options  ;
    # t/ S2 g, w4 |$ X
  173. ;;;;;;;;;;;;;;;;;;;;% x9 t1 Z5 p- ?3 g
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    1 f+ _0 x% t9 A" ?( q$ R
  175. ;user_ini.filename = ".user.ini"
    8 C# h6 N- ]6 K. q! D" M, z; }9 s
  176. 0 x" j, \- ~  H8 z+ ^  ~9 v, n
  177. ; To disable this feature set this option to empty value" e* H6 K* U0 n- W6 B/ n" F" @0 n
  178. ;user_ini.filename =
    9 M0 Q# F* ^2 u8 S3 p( i4 q* z+ Y; v

  179. 2 P$ i( A# `! G1 z  w6 q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    5 x  l4 z! t; K: b3 q' |- k  X' C- ]
  181. ;user_ini.cache_ttl = 300$ M" R1 I/ a' }: x; R3 J9 T+ k
  182. % G& _. J& q, @7 Y
  183. ;;;;;;;;;;;;;;;;;;;;3 Y- z9 e3 O0 _  J* z6 |/ E
  184. ; Language Options ;
    , d. A7 m( e7 m( a% E
  185. ;;;;;;;;;;;;;;;;;;;;
    9 V& s" O" }! Q) X. ]; V! H0 ]

  186. ! K! e8 B; z# v6 V
  187. ; Enable the PHP scripting language engine under Apache.
    & ^, K8 K8 j- `- I* U; @
  188. ; http://php.net/engine
    + B5 ~$ H! j/ N+ y+ |! W- I7 ^. M7 E
  189. engine = On
    0 V" R  k3 @5 k5 P# x% v2 N7 z' a4 e

  190. 6 H4 ^9 C/ r* M7 D; m/ |9 V0 n0 L
  191. ; This directive determines whether or not PHP will recognize code between
    7 D! ?! R, l/ p* N5 l1 m% Z! M
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 h% ?; f( }! H# F1 M
  193. ; generally recommended that <?php and ?> should be used and that this feature* h& z  K. q1 T5 g+ }+ y, A
  194. ; should be disabled, as enabling it may result in issues when generating XML; O- Z* T  }! u1 G6 s: {
  195. ; documents, however this remains supported for backward compatibility reasons.: d7 b3 _( M6 e) \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    # L' d- A+ N9 e9 f
  197. ; used regardless of this directive.
    2 T. Q/ H4 O3 d$ l: ?0 i
  198. ; Default Value: On$ l& Z: ]' H5 Z0 J. E+ K* M7 V
  199. ; Development Value: Off
    ( M3 T: P+ X+ B- K
  200. ; Production Value: Off1 X+ ^- T' v: d9 @
  201. ; http://php.net/short-open-tag
    ; k" |3 r* t: a- X% }
  202. short_open_tag = On" O. l$ w" i2 E! R4 e* r
  203. 7 |0 g. M* p; R0 l5 }8 A2 L7 T
  204. ; Allow ASP-style <% %> tags.
    , _+ A6 K  f% U! D% V' ?" ?
  205. ; http://php.net/asp-tags8 {$ E* F  Q3 i1 [8 F- _( p
  206. asp_tags = Off9 d7 G% P+ \, F, B8 g) i
  207. * {% M' z6 T+ N- I2 E! F$ A
  208. ; The number of significant digits displayed in floating point numbers.& f; }$ x7 I& k' I
  209. ; http://php.net/precision
    ) y, I" [9 U: d
  210. precision = 146 _- o' C$ h: y
  211.   G( S: o" L% F0 j* e& S
  212. ; Output buffering is a mechanism for controlling how much output data* B' |- x6 s! y8 Z! R8 Y
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that% ?* R( K+ U, v' L7 j( M9 O6 \
  214. ; data to the client. If your application's output exceeds this setting, PHP4 h/ O6 Z* N( A2 R1 o6 o
  215. ; will send that data in chunks of roughly the size you specify.
    . G3 u8 a* ]( n7 ]
  216. ; Turning on this setting and managing its maximum buffer size can yield some/ k( K1 |& B* k' o1 [% l
  217. ; interesting side-effects depending on your application and web server.. v4 |- ?- K0 g3 ]6 P8 I( J
  218. ; You may be able to send headers and cookies after you've already sent output
    1 l/ M6 T+ y# F$ L
  219. ; through print or echo. You also may see performance benefits if your server is4 i% H* ~9 v& f. U% I( t1 o$ z; ^- U  l
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    9 L& z: ?# x; |. g3 a
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    & w# _5 c  ~0 ?2 N
  222. ; reasons.
    6 R: F& l, o: y; j0 I1 S
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' b, H& v! Y5 q  p0 i; O
  224. ;   functions.: l' u3 ?4 A% a+ @
  225. ; Possible Values:# h  q# }1 h8 V9 x: D% S
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( V, U6 O& X- N& Y2 U+ T' G
  227. ;   Off = Disabled3 O' T' r0 }) t, k9 c9 i0 l$ Q4 h
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.( V9 U2 t/ K9 g  r8 L% o
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI( d% x1 _6 ~% p$ e5 ^* f
  230. ; Default Value: Off1 I3 X/ h: g6 X' F
  231. ; Development Value: 4096
      D6 \7 D3 R+ _  K2 M+ I
  232. ; Production Value: 40962 p  ~6 G* J4 I: T9 Y6 @/ K
  233. ; http://php.net/output-buffering/ c; A+ P9 a1 J- Y8 N6 b( e* `) ?$ m; o
  234. output_buffering = 4096
    2 s% H) D- I$ u
  235. ( c+ E2 X" z! j8 f( ]( k4 v
  236. ; You can redirect all of the output of your scripts to a function.  For4 b1 O" \; ~) f. t  x; Y4 W( O" J$ v
  237. ; example, if you set output_handler to "mb_output_handler", character# `7 ^8 G1 N2 |* |8 R5 [
  238. ; encoding will be transparently converted to the specified encoding.
    1 D; m9 |4 _/ f8 S& [" W
  239. ; Setting any output handler automatically turns on output buffering.6 |; ~: v: }$ C, j6 a( n
  240. ; Note: People who wrote portable scripts should not depend on this ini8 O- v/ [! g# x' k' |( h
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    # ]- Y+ J- Y- C2 G9 X! M
  242. ;   Using this ini directive may cause problems unless you know what script
    7 E' w1 |& M( O( m; ^
  243. ;   is doing.3 i) I- Y$ m5 h  K  \6 h
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"0 i* f+ T0 M. Z) ^- u* `
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".* _8 i# l; \0 h' |/ A
  246. ; Note: output_handler must be empty if this is set 'On' !!!!, }7 g$ I( y$ g$ `$ _
  247. ;   Instead you must use zlib.output_handler.
    ) k+ b2 ~( Y- [* ^9 S
  248. ; http://php.net/output-handler( k3 i' }( L9 f+ f) B
  249. ;output_handler =
    : T/ l  y7 ?  E/ _
  250. 4 D2 h( x  T" H. {( K$ d
  251. ; Transparent output compression using the zlib library# z3 V4 I9 _! c# |" v) m8 H
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # e" p" B8 u: V% E$ [3 n1 Q
  253. ; to be used for compression (default is 4KB)/ c( o0 V& q+ F, f
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 R1 x( `4 j1 K
  255. ;   outputs chunks that are few hundreds bytes each as a result of- X; b8 H4 E/ f, p! K  i
  256. ;   compression. If you prefer a larger chunk size for better
    & |/ k* Z) A6 B+ k7 {5 [+ m
  257. ;   performance, enable output_buffering in addition.
    6 y" h$ E) A& |' u/ b
  258. ; Note: You need to use zlib.output_handler instead of the standard# O9 C: M3 A2 Q* j3 S! \7 E
  259. ;   output_handler, or otherwise the output will be corrupted.
    & ]+ j4 Y* F' n( [# X6 Y
  260. ; http://php.net/zlib.output-compression
    + h+ c& q- B4 B
  261. zlib.output_compression = Off
    & v0 ^; k8 Z6 @# {( Z% j8 A
  262. 8 r% K9 l7 s/ k3 I# J2 p
  263. ; http://php.net/zlib.output-compression-level6 B# ?8 M, [7 t0 T# E* R3 h7 ?! J
  264. ;zlib.output_compression_level = -1
    % Z( t* f  ?9 t# j
  265. / \0 n  k% y- h4 X
  266. ; You cannot specify additional output handlers if zlib.output_compression
    / f( g1 C+ b( s, p6 m: I" [: V- c
  267. ; is activated here. This setting does the same as output_handler but in
    # G3 K3 x! s5 R/ d
  268. ; a different order.
      Y4 E! u$ b' s7 z+ ]' T
  269. ; http://php.net/zlib.output-handler' [/ K! H% n9 ?% h) c
  270. ;zlib.output_handler =
    , R0 T2 x4 r5 W! I4 c1 F( n
  271. 2 M2 i6 \2 H2 S' m. e2 M4 h+ I
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 {% k# y8 l8 K7 O0 G
  273. ; automatically after every output block.  This is equivalent to calling the- ?3 p2 V( ~  P7 J( q/ J
  274. ; PHP function flush() after each and every call to print() or echo() and each
    5 g2 h7 w( y! Z0 g. A) i# \- \
  275. ; and every HTML block.  Turning this option on has serious performance" A- m3 C9 ]( l# l2 n
  276. ; implications and is generally recommended for debugging purposes only.
    ' p+ F+ ~& p9 r! V7 ]1 k% y
  277. ; http://php.net/implicit-flush
    % b$ w3 w+ n/ O2 D" O" p; W+ d
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
      n* z4 O/ o+ \5 @, h' f
  279. implicit_flush = Off# e% i  B' {6 T* g
  280. : ^3 j3 N8 }$ ?, g( G! G- |
  281. ; The unserialize callback function will be called (with the undefined class'
    ; u( J# Z# l. c% `5 J9 L
  282. ; name as parameter), if the unserializer finds an undefined class2 ~1 p4 y1 m2 N2 h- a1 m2 o
  283. ; which should be instantiated. A warning appears if the specified function is
      u& m1 J) F; F# u6 s
  284. ; not defined, or if the function doesn't include/implement the missing class.) S* ?) `$ ~; B
  285. ; So only set this entry, if you really want to implement such a# _- o' E! l/ J9 O7 r
  286. ; callback-function.
      t, [- \0 o1 }5 n1 d$ _
  287. unserialize_callback_func =+ E  N+ e. P$ U2 K' r, K4 k4 z
  288. $ n" G  A+ q8 [6 o
  289. ; When floats & doubles are serialized store serialize_precision significant
    + u' ^" V0 h  u$ X
  290. ; digits after the floating point. The default value ensures that when floats8 h; J" k  Y3 ^9 Q6 A
  291. ; are decoded with unserialize, the data will remain the same.
    1 ?6 `# `& S" u+ [2 Q0 U; t$ ~
  292. serialize_precision = 17
    1 q! B4 E( x9 c
  293. 5 F0 J9 U7 x! `' l
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ( v# a3 o! Q8 |+ i: F  p6 W
  295. ; and below.  This directive makes most sense if used in a per-directory
    ! R- T& u+ g# Q9 e3 _4 |
  296. ; or per-virtualhost web server configuration file.
    6 J  v4 w+ o$ U) Z! J% l) D2 L& P
  297. ; http://php.net/open-basedir
    5 O! f2 w* b% E4 ^
  298. ;open_basedir =2 n& _3 M+ P' o9 b
  299. % ^* Q' M# p! k% _+ b0 u% z
  300. ; This directive allows you to disable certain functions for security reasons.8 N5 g0 C/ A" r4 n
  301. ; It receives a comma-delimited list of function names.
    / B* B- P6 q! f# ]
  302. ; http://php.net/disable-functions! ^! N* Q% X% ]' b; b+ }* u
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( L: O; l; ^- n$ N. l0 x1 m

  304. 6 r5 L/ ^) ~% ^' g$ D5 R  a3 f
  305. ; This directive allows you to disable certain classes for security reasons.# i  s1 t+ i/ s+ D5 J* y6 f" _
  306. ; It receives a comma-delimited list of class names.
    6 N3 q8 }, v2 f! ~7 p' ^& L- b- J# Z
  307. ; http://php.net/disable-classes
    ! o9 K4 U5 @$ o2 p$ ]$ y6 V+ |
  308. disable_classes =
    ( \# A2 o3 U9 g5 C7 T* ]" f
  309. 6 x& j8 G! L$ R- H
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 s) U7 T* O* c
  311. ; <span style="color: ???????"> would work.
    . ~3 G' u& t  [  {/ E
  312. ; http://php.net/syntax-highlighting
    - Q( y/ p# ?5 m& D
  313. ;highlight.string  = #DD0000
    ( l" E, n9 E6 e: _2 T% k& W; q
  314. ;highlight.comment = #FF9900# K# F5 _4 B( V$ l( A$ ~
  315. ;highlight.keyword = #007700
    ! \& M1 {  S- c
  316. ;highlight.default = #0000BB9 y( Q, D- s) ?1 V4 E
  317. ;highlight.html    = #000000
    ( D" ?  S# U% O$ p8 [/ w
  318. ) x/ _3 v+ ~1 K8 x+ x
  319. ; If enabled, the request will be allowed to complete even if the user aborts* s* T4 I4 m  I: c+ t4 ^2 k, Z
  320. ; the request. Consider enabling it if executing long requests, which may end up# X/ S/ e5 j, m) |
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior7 ?3 I+ n0 ?; I9 |
  322. ; is to disable this feature.% v, H6 l' p- [& q; _6 _, r( S
  323. ; http://php.net/ignore-user-abort
    7 G4 j4 }5 g% ~. T5 u7 R/ D$ w0 o5 [
  324. ;ignore_user_abort = On( [" J, N, O) ?. Y& S

  325. 7 L1 c# }  N  ?' c
  326. ; Determines the size of the realpath cache to be used by PHP. This value should: N2 F1 J1 _& N% V* Q
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
      B' I' u. Y4 R0 U5 |
  328. ; the file operations performed.
    , t* m0 S& B9 _* z. g
  329. ; http://php.net/realpath-cache-size) h4 X2 f0 J0 X7 L3 w" d$ [4 P" C  L
  330. ;realpath_cache_size = 16k: w' T& Z4 _7 x6 h

  331. + e5 w: d  |- {
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    " F) _% ?3 v0 f( k
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ' x) Z  K8 x- J0 x( k) Y$ Q
  334. ; value.
      d$ t2 ~) r  k0 {6 o4 e
  335. ; http://php.net/realpath-cache-ttl! }+ g4 O9 s* E1 B" Y* Z
  336. ;realpath_cache_ttl = 120; n* k. U% C5 h/ o, n
  337. - L8 [3 y1 b: [- x: G0 `6 ?
  338. ; Enables or disables the circular reference collector.
    / n9 Y) q8 E; h9 i
  339. ; http://php.net/zend.enable-gc" t1 C3 {; q% r0 C% \) M+ z
  340. zend.enable_gc = On% ]7 ^4 l2 a- z6 j
  341. 5 r' A) R" p: ?2 A
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    $ _) W6 M; H1 e5 @  h! k6 C3 F
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + ~1 C' ~: k# m" V- f# M7 u4 U* X
  344. ; encodings.  To use this feature, mbstring extension must be enabled.7 Y, D$ u" o5 ]* H3 @- Q
  345. ; Default: Off! F1 m: n/ k$ k, U+ E  d
  346. ;zend.multibyte = Off8 I' F8 _6 {& ]

  347. ( j* k% {: z# t* C+ {
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    8 V4 p. }2 H0 z
  349. ; unless "declare(encoding=...)" directive appears at the top of the script., y/ h# K$ ~$ c
  350. ; Only affects if zend.multibyte is set.
    + F8 H( u$ d2 L
  351. ; Default: ""1 {' M/ o) ^2 `8 k
  352. ;zend.script_encoding =
    1 ]8 D3 n% D- }/ H+ o/ i- G

  353. " X$ ~/ U3 }" ?6 ]& o! h' Q) W
  354. ;;;;;;;;;;;;;;;;;! U7 j6 @9 Q) O1 Y
  355. ; Miscellaneous ;# D# S5 y  f: w( o; q% y, ?. R% F
  356. ;;;;;;;;;;;;;;;;;
    ' F+ Y0 |0 r1 }  z& ]

  357. $ f" @" `  M# f  j7 w8 r
  358. ; Decides whether PHP may expose the fact that it is installed on the server" f$ O# i* g  j
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ [; ]  f8 @/ T# C2 n7 t9 {" S
  360. ; threat in any way, but it makes it possible to determine whether you use PHP  m5 E% s/ U! F& N6 k# C7 g) D
  361. ; on your server or not.
    , e7 g! P+ ?* D( |
  362. ; http://php.net/expose-php) c& V; W5 @( n7 T- L; b, s* b( s" c
  363. expose_php = On
    5 ?  [0 g6 Q0 l( c. b8 E' e

  364. 4 [+ |, N0 S* i( x9 H" j8 E
  365. ;;;;;;;;;;;;;;;;;;;
    , H( M# ]. K- g/ f
  366. ; Resource Limits ;
    ! v* B, @7 @; ?, w
  367. ;;;;;;;;;;;;;;;;;;;
    7 q8 I; N/ V+ d; C8 n* G
  368. " _6 ]& I+ p: ~
  369. ; Maximum execution time of each script, in seconds
    6 {# {9 q% o+ q8 n: Z* p/ r# d
  370. ; http://php.net/max-execution-time
    , j; n% ?# n; y' }  y0 E6 d+ ]7 F, W
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & o5 V; L6 ^4 ?
  372. max_execution_time = 3007 B; I: V5 }2 U  U8 @2 n3 f
  373. 1 Z! S2 ]: `; T. W% J$ W5 h! X4 z% T
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    / H( ~7 Y, i5 \
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    : x0 N& F4 x. C# g+ A
  376. ; long running scripts.
    * }5 X$ O: D  ]& \6 y
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    8 f* C2 U$ [( H% i, p( z
  378. ; Default Value: -1 (Unlimited)
    ) ~" H2 V- v2 z  R7 y) Q8 ?
  379. ; Development Value: 60 (60 seconds)
    1 P3 P! F/ q9 k) p* }& ]: b
  380. ; Production Value: 60 (60 seconds)" l, p( e) w4 G- L
  381. ; http://php.net/max-input-time
    4 n- s( J% g& D* g+ Y1 H
  382. max_input_time = 605 |- M0 F" X: c4 J$ ?& n
  383. : T# [8 n# [/ u7 S
  384. ; Maximum input variable nesting level
    % V! F; n9 y9 q) t
  385. ; http://php.net/max-input-nesting-level- j' `9 l% q) e. M" S2 S: P
  386. ;max_input_nesting_level = 64# h, W2 u6 r& L0 g" ^; X
  387. + J) t* E3 O% F0 c. }3 q- l4 T
  388. ; How many GET/POST/COOKIE input variables may be accepted
    / c9 T( H3 G, o2 Y& ~
  389. ; max_input_vars = 1000$ T% d# X5 M, {2 O+ C

  390. 9 p6 g1 z$ \% B% A0 Q$ m
  391. ; Maximum amount of memory a script may consume (128MB)$ M+ K% v0 N2 g
  392. ; http://php.net/memory-limit
    4 n/ z$ z  t5 L6 ?
  393. memory_limit = 128M
    8 r% v( K+ m' D" h# Q; n

  394.   u1 d( u* o+ j2 R/ P! d1 N! j
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # e  w! b  m1 R" P
  396. ; Error handling and logging ;
      L( \& b- U# I* W3 l: D
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 t' D* ]1 W- `# E/ ~6 E- m
  398. / i  O$ _( s( [/ n
  399. ; This directive informs PHP of which errors, warnings and notices you would like) \. p( |0 o2 S8 k
  400. ; it to take action for. The recommended way of setting values for this
    . E7 n; v5 q8 `* E( i# Q
  401. ; directive is through the use of the error level constants and bitwise
    : I" c1 Y0 Y" \+ C7 A' M
  402. ; operators. The error level constants are below here for convenience as well as: Z1 M3 B. `& M
  403. ; some common settings and their meanings.
    - f: f' S" y7 C6 P
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! _6 W; B$ h0 Q
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    4 h) m1 o, Q1 d* _2 C+ x& j5 P0 W; V
  406. ; recommended coding standards in PHP. For performance reasons, this is the5 H3 y/ h# v* P& E- U9 F& C2 z
  407. ; recommend error reporting setting. Your production server shouldn't be wasting% Y8 ~' B8 l( `# I7 w, v6 j  M
  408. ; resources complaining about best practices and coding standards. That's what: e, G) f* r% f3 j0 I# j
  409. ; development servers and development settings are for.9 E& [/ C' m8 p* w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This5 w0 K# y9 p6 s
  411. ; means it pretty much reports everything which is exactly what you want during8 U. R" K! W# @3 |+ w
  412. ; development and early testing.
    5 W" G  i. S0 E& ]7 u- s9 Y3 K! i
  413. ;
    # r6 k' i  S' D% n
  414. ; Error Level Constants:. _! {$ V. w5 A0 O8 U
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    9 h8 g3 j) X1 `8 E
  416. ; E_ERROR           - fatal run-time errors
    - ^' x: Y: ?# e" h) I2 {
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    , S+ t8 Q) F! L- _) a' y& B
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    8 x5 e7 Z& w, @* ]- J7 w. G
  419. ; E_PARSE           - compile-time parse errors
    4 f! h- g( t, N0 Q8 R
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    " q4 Z0 P6 B: b* Y; s/ w! i: K  y
  421. ;                     from a bug in your code, but it's possible that it was
    # J" e  i# r) r( i+ @8 l* @6 l
  422. ;                     intentional (e.g., using an uninitialized variable and
    6 I6 J5 [$ i1 p4 Q5 N
  423. ;                     relying on the fact it is automatically initialized to an
    9 M& k1 ?, ~& s# a9 p6 t
  424. ;                     empty string)9 u, A  F! e# A* G% \! T/ {; g
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 b+ \+ l6 p6 P+ H8 c( v4 l
  426. ;                     to your code which will ensure the best interoperability
    : F2 k9 H# S) }+ x, Y6 q
  427. ;                     and forward compatibility of your code8 \4 a6 V) F! N: n4 B
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    & K" M' s- r$ b$ p5 p
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    & j2 ~1 C5 R7 [: }9 p9 v+ x
  430. ;                     initial startup
    $ H" F0 \9 Q" n  X; U3 g5 ^" U
  431. ; E_COMPILE_ERROR   - fatal compile-time errors% O* z7 }3 d- a2 g  P# n  {0 U+ c
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! E6 \  V! ~0 d" F5 F
  433. ; E_USER_ERROR      - user-generated error message/ M" w3 J9 m5 N2 L; h
  434. ; E_USER_WARNING    - user-generated warning message: K6 W9 f, U1 q! S  u/ A1 Q( w6 \
  435. ; E_USER_NOTICE     - user-generated notice message# H  F5 j+ i3 N( l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions, i4 c" u3 g4 J
  437. ;                     of PHP
    * _% h. G. p/ r# F
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings& |& W& p# Z1 G8 h) a
  439. ;" u. |0 R! D  ~# q
  440. ; Common Values:+ }8 d: H( V- O# W$ g
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " X7 o, N& f3 @+ t
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    6 `' `0 B) D; ?' q
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    # p/ N  Y) K8 d7 z5 u0 _+ N8 [5 N- Y4 R
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ' o4 r% Q) E7 y& k  Z. A
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED3 e, Z; v5 K9 D' w5 K+ s+ ?* H
  446. ; Development Value: E_ALL8 U) W/ w- [, n# m# y& S, ]" v' d* f0 S
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& K- V+ Y9 i1 ~
  448. ; http://php.net/error-reporting# r8 ~7 Z5 C2 |1 K$ I& P* R
  449. error_reporting = E_ALL & ~E_NOTICE! t% w" n9 m1 _& y4 \* U: F" U( Y8 C) c
  450. " Y2 P4 B& j# }
  451. ; This directive controls whether or not and where PHP will output errors,
    9 E7 W# n# x' W) x2 F9 A
  452. ; notices and warnings too. Error output is very useful during development, but
    % U6 r0 G$ X3 V# q2 J
  453. ; it could be very dangerous in production environments. Depending on the code
    0 X+ C' e" P- X
  454. ; which is triggering the error, sensitive information could potentially leak1 m) \& l3 b8 w# o8 K
  455. ; out of your application such as database usernames and passwords or worse.$ O  S/ e: C, e( e$ ?
  456. ; For production environments, we recommend logging errors rather than
    . n: T9 I. H# ?5 Q7 v
  457. ; sending them to STDOUT.
    ( T. z$ p; G& q8 f( M5 M
  458. ; Possible Values:  M1 H0 n$ I) Q5 b5 K
  459. ;   Off = Do not display any errors
    , X) G$ ]" w$ d0 l" o( y7 [
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 ]) o4 b- D7 p9 j$ @' f( @. {
  461. ;   On or stdout = Display errors to STDOUT
    8 L7 M* A8 L' V
  462. ; Default Value: On+ u, l" h1 T3 v9 ]
  463. ; Development Value: On  F3 `2 Z& d3 I" B4 e% {0 U
  464. ; Production Value: Off
    " s8 w' O# A$ o
  465. ; http://php.net/display-errors
    ( @5 v( i" K1 @  s  Q: ~
  466. display_errors = On
    1 u6 Q( X, e1 f( K. Y( d4 I

  467. , @& J; p6 M- i% H5 J& V) ]$ d/ z1 G
  468. ; The display of errors which occur during PHP's startup sequence are handled6 e9 i6 y4 W( Q5 n
  469. ; separately from display_errors. PHP's default behavior is to suppress those; ~+ D% C, ^/ b& H
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    8 s4 ?) Q6 Q9 B; E3 |
  471. ; debugging configuration problems. We strongly recommend you
    . I2 A7 a8 R3 h+ H5 C5 e: L
  472. ; set this to 'off' for production servers.
    9 v& \- Y) v+ \8 ~1 b' ?& E9 T# @! S
  473. ; Default Value: Off# r5 }  t; ?$ X- N$ O1 Y
  474. ; Development Value: On. c- J7 i$ e% N) B% x% ]8 {
  475. ; Production Value: Off
    9 Y; s) \+ s0 K0 ^+ j2 e% ^/ \
  476. ; http://php.net/display-startup-errors0 K* J3 Z  O2 s9 S5 r/ b7 b0 w/ L
  477. display_startup_errors = Off
    7 Z, B0 k: v5 m/ R

  478. ( r9 @9 _: `8 d" x* W  r, z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a' ]' w' i" S3 O4 H* m- I' v3 h9 Z
  480. ; server-specific log, STDERR, or a location specified by the error_log
    0 d4 p1 e. ?/ l6 H8 S7 N
  481. ; directive found below. While errors should not be displayed on productions
    # s4 I/ S; {& L  }
  482. ; servers they should still be monitored and logging is a great way to do that.2 `2 I# h2 b% l6 t# o# h. _/ }
  483. ; Default Value: Off' }# W; ?: Y( [6 m4 m3 l
  484. ; Development Value: On
    . \3 V) F7 z+ E0 b  T
  485. ; Production Value: On: f; e6 a/ Z3 \
  486. ; http://php.net/log-errors
    " M% X! l' P) y, |. r
  487. log_errors = On
    , s& r8 W0 q& n/ n6 H+ C' o
  488. + M! ^8 E2 S0 k: m0 J3 t. F
  489. ; Set maximum length of log_errors. In error_log information about the source is0 R. r& W- l- N' x" K! W
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    4 W. ^3 }/ m5 G
  491. ; http://php.net/log-errors-max-len
    ! \* W. Y) u2 a+ ~. g
  492. log_errors_max_len = 10242 [$ p7 m4 T9 M
  493. 8 P/ o2 F% `% `
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same" C" E( t0 w# Z: c: _
  495. ; line unless ignore_repeated_source is set true.; y6 V! }$ O. f# b
  496. ; http://php.net/ignore-repeated-errors
    % \2 F4 c3 K8 D- M0 R; _  T) ?
  497. ignore_repeated_errors = Off
    4 G  y/ D+ I( B* i0 V
  498. , y' c  H: k/ j* a/ \
  499. ; Ignore source of message when ignoring repeated messages. When this setting% n' B' j1 w1 j4 L+ E0 n5 q
  500. ; is On you will not log errors with repeated messages from different files or
      B$ a# Y0 E- M' z1 ^/ W
  501. ; source lines.7 [+ v! T. v7 u  C! I5 ]
  502. ; http://php.net/ignore-repeated-source
    + f9 F, o: @% F5 x
  503. ignore_repeated_source = Off  ~% c2 `4 R! M4 x  r. D% Z/ \

  504. 0 K8 V) I% z! B" |/ H; j
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on+ h/ _4 f4 `8 q) t: z3 k
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    9 i9 F; D8 A* R' C1 }
  507. ; error reporting includes E_WARNING in the allowed list' K$ d, |  y/ Z! E/ g7 o& }
  508. ; http://php.net/report-memleaks
      W+ k' |9 o/ ~* I% z, F
  509. report_memleaks = On9 Z; x; l& Q6 s. S' p% q5 s+ q
  510. 7 R6 D, d' I5 Z! h3 _
  511. ; This setting is on by default.
    9 z: g6 C' x& |) ]2 }
  512. ;report_zend_debug = 03 |& E7 _/ f3 D
  513. 4 O8 i& Y8 R- r1 P* M1 g
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 {1 K/ g* E3 x3 {3 i6 k
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ! E* @; Q; Q; o# i* X
  516. ; however be disabled on production servers./ ?; i6 V* ^+ B, f
  517. ; Default Value: Off
    , N5 }/ a0 K0 D& t! P1 d
  518. ; Development Value: On
    6 |5 a* F. B9 q; V
  519. ; Production Value: Off8 k5 {) d! o3 b) U. `. X
  520. ; http://php.net/track-errors
    # t- Q4 n* ?, b8 i3 S; x
  521. track_errors = Off
    " c( f8 \: o% c' |6 I

  522. " I0 f' h" F4 y, K! i4 b* z( \' V- G
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ( O& S9 S! m# R
  524. ; http://php.net/xmlrpc-errors
      R3 Z8 e# x, @$ `( C
  525. ;xmlrpc_errors = 0
    5 n, W1 x( u- P

  526. $ ^% o  `! t% q, q
  527. ; An XML-RPC faultCode
    ; g: _6 W6 }0 ~7 O, x- Z% s2 J
  528. ;xmlrpc_error_number = 0
    , |% g) w* D/ _$ e
  529. : m5 j" N5 h  V8 X' \
  530. ; When PHP displays or logs an error, it has the capability of formatting the8 _" a. a- {2 \5 {* T
  531. ; error message as HTML for easier reading. This directive controls whether
    % V3 g- H  E1 Z& J
  532. ; the error message is formatted as HTML or not.7 q6 q1 z: O4 m/ c0 q# n2 z
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI7 M: {; V( C6 J( v6 h4 f- ?
  534. ; Default Value: On1 }! T: Q% y# o" x
  535. ; Development Value: On
    : K/ _, l! z& H( J$ l; b
  536. ; Production value: On
    ( O1 x) d$ y: ]# I5 Z: t
  537. ; http://php.net/html-errors
    % J$ G6 M9 Z- t2 F$ `: d8 {  S0 W
  538. html_errors = On
    $ i5 |# p- A# h

  539. * G  ?3 p. V* ?$ y9 ~" B* f$ G1 T
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    5 U: |$ `! Y; _7 w
  541. ; produces clickable error messages that direct to a page describing the error
    , n: w, s7 D0 z6 x, {- o
  542. ; or function causing the error in detail.
    - m9 ^9 c2 ^0 E# t
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    . {6 [# H: u5 D, g
  544. ; and change docref_root to the base URL of your local copy including the
    - a6 `) L% c' d; e- D+ Z$ M
  545. ; leading '/'. You must also specify the file extension being used including6 X: K; i. K. o
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 M' F$ {2 G- h( L5 }! L1 k
  547. ; case no links to documentation are generated.
    : p& g' \3 v4 H
  548. ; Note: Never use this feature for production boxes.7 B+ B$ ?9 h7 `  T  o& g
  549. ; http://php.net/docref-root
    : t7 X3 a3 g+ [0 j9 v1 g. U8 F
  550. ; Examples* F% m# v9 e" k* S# i' ?7 J
  551. ;docref_root = "/phpmanual/"
    2 i5 y3 V8 `3 I4 c/ Y4 u" \
  552. - N9 D, j* i7 s
  553. ; http://php.net/docref-ext! v7 |# m5 x0 R; c
  554. ;docref_ext = .html
    3 [: ]' p- f7 \$ A

  555. 0 [. s& E3 o, R* R! @
  556. ; String to output before an error message. PHP's default behavior is to leave
    2 w. Z5 P; ~9 a& z( \% i6 |
  557. ; this setting blank.
    ) h: S) d4 y+ V- s' X: l+ {8 ^
  558. ; http://php.net/error-prepend-string( z& f0 r# o! f5 x
  559. ; Example:
    2 f  ^/ {; d4 d& L, W8 ^( Q1 `
  560. ;error_prepend_string = "<span style='color: #ff0000'>": `3 V4 Q# L, ^
  561. , q6 _! G1 Y% ^3 M& ]5 f
  562. ; String to output after an error message. PHP's default behavior is to leave
    ! V5 ?6 e. h& ]. w& T* H
  563. ; this setting blank.# Y8 c, h, [8 E6 ~2 u
  564. ; http://php.net/error-append-string
    % W5 j! w0 G4 a! n) r
  565. ; Example:! B; ^# d' V; A
  566. ;error_append_string = "</span>"
    1 N  g5 h) d: r7 w

  567. 5 G# v, J2 S" H" |! \3 Y
  568. ; Log errors to specified file. PHP's default behavior is to leave this value* J+ T# X9 A9 H; ?- D
  569. ; empty.. M# h0 ]0 _4 A" ]: H
  570. ; http://php.net/error-log2 t; a( a. x) H2 N6 a4 Q! h* I
  571. ; Example:+ k# y% |& c0 ]5 J* K
  572. ;error_log = php_errors.log
    : x  E$ a. o6 L/ v# L8 b! V$ Z' y
  573. ; Log errors to syslog (Event Log on Windows).. W5 O8 }. U% l! J/ n/ U
  574. ;error_log = syslog3 ?7 w: V6 M! i1 m$ I
  575. ; e& _/ |; K/ z- m' m* q7 a8 C4 A
  576. ;windows.show_crt_warning) f2 h+ L. R) w, O# `  ~
  577. ; Default value: 00 o# u2 H; t" A0 S
  578. ; Development value: 08 n* w1 R9 C/ r% @) ~: d# l
  579. ; Production value: 0
    + a& {* F; |" c) U

  580. 1 E; N4 i/ f3 J
  581. ;;;;;;;;;;;;;;;;;
    " u' ]9 n! t0 \, K
  582. ; Data Handling ;
    ' V; M- q. ~, @, v9 e
  583. ;;;;;;;;;;;;;;;;;
    # Z1 ^" @5 w" q+ _9 Q9 e
  584. 0 x$ R1 d* f) p4 k! f9 ]
  585. ; The separator used in PHP generated URLs to separate arguments.6 e: ^+ k; Z: i( N$ ]' H
  586. ; PHP's default setting is "&".7 M* Y1 u4 t3 K4 f, N7 R( T8 p
  587. ; http://php.net/arg-separator.output
      B9 c# x- H% o- ~, T- u
  588. ; Example:! i  J+ }1 P/ i1 m. Y4 P
  589. ;arg_separator.output = "&amp;"
    ; c& Z1 T* n0 _( i& h

  590.   ^8 ?" c' x5 S, T! A! ]- S
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 J, U8 W0 ^! O% i
  592. ; PHP's default setting is "&".
    . `" O0 K2 c' A, V
  593. ; NOTE: Every character in this directive is considered as separator!6 O2 ^7 G6 T6 g) N$ R; ?. N, q
  594. ; http://php.net/arg-separator.input4 E( b* n; [0 r1 X- n
  595. ; Example:
    . u+ M7 \' E+ [1 u
  596. ;arg_separator.input = ";&"
    1 s  C2 p- E; h
  597. ) J7 C; e, ~- o- o
  598. ; This directive determines which super global arrays are registered when PHP
    1 ~9 ?& n0 M1 Y" Z( w+ x6 o
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super( `5 h$ k) {1 _9 Z: ~# l5 V6 ~3 Q
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    # p% ~9 U' K7 m0 c# g. V  |
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    3 M- O( j, \  q; ?
  602. ; used as the others, ENV is not recommended on productions servers. You0 |  [" s  ~" `
  603. ; can still get access to the environment variables through getenv() should you
    * ~! Z$ h( G/ b% H8 M, n" s+ P; y
  604. ; need to.
    2 S& z) N" Z' f  t
  605. ; Default Value: "EGPCS"
    , m7 M! p2 r% B* H, r' P& Q
  606. ; Development Value: "GPCS". [% B# Y' s$ |2 v/ S( i
  607. ; Production Value: "GPCS";
    ; M) G2 k5 S5 W
  608. ; http://php.net/variables-order, v6 u9 f: r- Q; H
  609. variables_order = "GPCS"
    % h  s/ E3 ]; w5 ], Q
  610. 1 v# z/ y- `' i( Q
  611. ; This directive determines which super global data (G,P & C) should be
    . i. ?8 R# v/ e( r* ^
  612. ; registered into the super global array REQUEST. If so, it also determines- a$ a4 ]& o& Z/ I( d) b
  613. ; the order in which that data is registered. The values for this directive
    8 A4 F; J9 o! j; a1 z( P; T7 T
  614. ; are specified in the same manner as the variables_order directive,
    1 D$ u; ^% ?* A
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ' o2 _% R! H8 t  Q1 w. }
  616. ; in the variables_order directive. It does not mean it will leave the super0 H, v( ?& i# J3 u* B
  617. ; globals array REQUEST empty., l( c) y" N  s, X7 t6 Z
  618. ; Default Value: None* \5 h' R0 r' ^% ]; u, R- k
  619. ; Development Value: "GP"
    / L9 U- A! k/ b1 t) ]; G
  620. ; Production Value: "GP"
    : K, ]) q, B! T$ v- E3 O- F1 e# }; o
  621. ; http://php.net/request-order
    6 A2 [* V0 T& v3 R) J1 h0 N
  622. request_order = "GP"
      ^/ D$ }( a. [6 H% r: }

  623. 2 V. q: j  p' F) g% C
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    # a0 g, Q5 F5 P  l1 g
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script. U* I' ~0 S" j; j' a  N0 Z
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ; Z0 @3 a4 j* O$ I
  627. ; that were passed when the script was invoked. These arrays are extremely
    5 [' i7 d# J* A& t" f. [# E  ?
  628. ; useful when running scripts from the command line. When this directive is2 @* S: S# E1 G
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 C0 h7 N" [+ f, q$ R$ p
  630. ; a script is executed. For performance reasons, this feature should be disabled
    2 s0 T* W" [+ R7 z7 q0 X* o9 P
  631. ; on production servers.9 {5 y, |( {  N$ [
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 u8 M' R  W1 U$ w5 G1 F* a# ?) ^
  633. ; Default Value: On
    0 k4 h1 o  G( w3 J5 e$ h7 |4 m1 g
  634. ; Development Value: Off& ?: q1 W3 ?$ x7 r* T
  635. ; Production Value: Off
    # y/ e  H3 ~6 o: b6 B8 m
  636. ; http://php.net/register-argc-argv
    : P3 @9 R# @# T/ y: N; Y. F
  637. register_argc_argv = Off' Q5 D' B7 B- F" ~5 A
  638. / z2 c: M& ]' C" Z+ M
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      d8 P7 ^* U1 W/ t& h, h1 p" H4 j
  640. ; first used (Just In Time) instead of when the script starts. If these
    & V% f4 ^4 d! a4 |3 l: d5 {+ i
  641. ; variables are not used within a script, having this directive on will result
    0 f9 n" |' T4 i7 _. ^
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    6 _: C) G: Z/ f' S* o
  643. ; for this directive to have any affect.
    # p' j0 u- z; w0 s% X
  644. ; http://php.net/auto-globals-jit
    8 O/ k4 I# [( |* u- Y, O9 E8 V
  645. auto_globals_jit = On
    7 Z% S0 t  I0 W' \$ W2 E

  646. 0 O3 A6 r$ ^1 B  d4 _* D
  647. ; Whether PHP will read the POST data.& b: K, o* J" a5 u+ Z3 `
  648. ; This option is enabled by default.
    $ d1 h7 ~+ p! @  Y
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST$ A# L  S% t9 v* \& ~/ e; ]
  650. ; and $_FILES to always be empty; the only way you will be able to read the: @0 A( f7 Z7 R. T) d
  651. ; POST data will be through the php://input stream wrapper. This can be useful9 Z  G2 r6 |6 [$ U3 e. e- h( d) h
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    3 g. j  S0 d1 x. ~3 Y
  653. ; http://php.net/enable-post-data-reading9 v0 X9 U+ _5 i% {
  654. ;enable_post_data_reading = Off* m2 Y4 D+ W) h2 h! a
  655. + W& b) G, P+ f2 T% C+ h( Q. q: S
  656. ; Maximum size of POST data that PHP will accept.
    2 |7 u+ H* X6 U, A. w/ U
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading! K) K$ \  ?- A! y& |
  658. ; is disabled through enable_post_data_reading.& G/ B) ~2 m, J# N6 j' l4 N
  659. ; http://php.net/post-max-size4 l8 M5 x8 B  D) B0 D0 a# `% R
  660. post_max_size = 50M; s" ?' o2 ]1 W$ n# X

  661. ' j: P' v# E) v5 u* ^& y
  662. ; Automatically add files before PHP document.+ W  ]! A* G. R' Q+ i  l: {! _
  663. ; http://php.net/auto-prepend-file9 ~! N7 L, S2 Y' b" |/ P  @
  664. auto_prepend_file =" ^/ I* d; s! @+ O$ ?

  665. 7 k6 U6 e' K$ L* y: }) L
  666. ; Automatically add files after PHP document.
    0 b8 T; V& Q" O/ N# U
  667. ; http://php.net/auto-append-file
    4 l' V: C9 a! I6 v/ r9 y# p
  668. auto_append_file =; D, n) V" \# C6 x2 ~

  669. 4 b. P+ u8 ?+ ~8 ~
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ' `9 S+ \* a8 l2 n" q2 |/ Y. u9 d
  671. ; disable this, simply set it to be empty.8 ~8 s8 t! g% a2 x4 j
  672. ;
    7 _$ }% @  K' H$ C* P, o( x
  673. ; PHP's built-in default media type is set to text/html.; }+ V0 x" p: ]
  674. ; http://php.net/default-mimetype% m& p) v! b6 U* b9 _1 \
  675. default_mimetype = "text/html"1 ^! S9 B. F' {/ @6 r  I4 v' D

  676. # w. a. K, S0 D; u& A  {
  677. ; PHP's default character set is set to UTF-8.1 Z, S2 @2 i% A% X- m7 I
  678. ; http://php.net/default-charset5 d7 y5 c$ [' A  T' p
  679. default_charset = "UTF-8"5 M; i; V3 N/ L' F8 G; z, Q
  680. * x( d8 |( ]& j4 E
  681. ; PHP internal character encoding is set to empty.
    1 @9 C, _% n1 D- r8 o
  682. ; If empty, default_charset is used.
    - Z+ K# J) B! R1 Y! ]  G/ ], o
  683. ; http://php.net/internal-encoding$ r5 x. _$ A  [0 R( `5 o( x' I
  684. ;internal_encoding =
    9 J2 `" ^8 A1 ^6 q6 F: G6 D* G& \

  685. ( }3 e* j6 k3 h  Z- a2 A
  686. ; PHP input character encoding is set to empty./ f0 V+ m" H+ E$ m# X
  687. ; If empty, default_charset is used.
    $ B9 @2 L! b8 r+ ~. X% ?
  688. ; http://php.net/input-encoding
    ' }) p" S$ C( L# y: G  ?, D
  689. ;input_encoding =
    & R. }( a$ l% V
  690. + J$ t8 v! r& T" u2 N: K
  691. ; PHP output character encoding is set to empty.$ U3 L# E7 t3 ~+ O; O% N
  692. ; If empty, default_charset is used.
    * v( m3 z/ [; B  W# r9 p8 J* V' L
  693. ; See also output_buffer.) F( t6 D9 h% I& \$ \$ A1 G
  694. ; http://php.net/output-encoding
    / f9 ]! q( v% A# u1 W+ |
  695. ;output_encoding =
    ; O$ ]1 ?2 c/ N! X; j

  696. 1 L6 t+ S5 @7 {; }: D7 d! k2 F
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    2 S; |7 \$ e) ]5 \, n3 N
  698. ; to disable this feature and it will be removed in a future version.( D# V/ e1 i& H$ _
  699. ; If post reading is disabled through enable_post_data_reading,
    " X( o6 L: P* t1 m; [5 M% d
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.: O' ]4 D; t% N+ A& l: _* t
  701. ; http://php.net/always-populate-raw-post-data. \0 s: _5 D  s/ e
  702. ;always_populate_raw_post_data = -1
    % ]3 Y! b4 ~' l1 l6 f' e( X( F/ A/ G

  703. . m0 q6 g# U/ }7 n  V6 j/ {
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 v  [' Z' n0 t7 g/ M
  705. ; Paths and Directories ;" @$ y/ ^# F; w. e
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 L, d6 q/ H0 `' r8 i* c( c6 @
  707. 3 a( q& c+ {8 G. x7 E3 o# x* i: A
  708. ; UNIX: "/path1:/path2"
    # Z: t% i- c1 |( x
  709. ;include_path = ".:/php/includes"
    - d/ p- s3 h4 n) k- T$ [
  710. ;
    7 H' K4 W; L6 L4 s
  711. ; Windows: "\path1;\path2"
    / i' @0 n# x6 ]* v; _8 L. d
  712. ;include_path = ".;c:\php\includes"
    8 i, B1 o$ I, y5 Q' O6 X# b3 w
  713. ;
    ; Z6 ~* A0 {) `5 I3 s( m7 L- m' W
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"+ `; Z$ Y6 R6 k0 B% F
  715. ; http://php.net/include-path
    + X4 g2 X; Z+ W; o% {$ V
  716. & h1 F" I; Q  [
  717. ; The root of the PHP pages, used only if nonempty.
    * W$ [* R1 W1 T( E5 K1 x
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# H8 G2 V4 O2 ?6 g/ R5 F
  719. ; if you are running php as a CGI under any web server (other than IIS)
    9 _/ h* K/ D1 H1 O
  720. ; see documentation for security issues.  The alternate is to use the% V0 _. m" B8 s, b5 J! L: E0 |. p
  721. ; cgi.force_redirect configuration below+ V: I* x$ q& D( y4 H
  722. ; http://php.net/doc-root2 y7 D7 B& ]" D8 {4 l6 f0 d6 n
  723. doc_root =/ g7 K5 D( g+ H8 X6 Z
  724. 5 S+ z" {8 M: T! {# P
  725. ; The directory under which PHP opens the script using /~username used only" s/ L) g1 l5 T2 \5 A  A
  726. ; if nonempty.
      r1 _6 a* R/ h- C. C) ?. W: h
  727. ; http://php.net/user-dir
    + Q( y6 h8 P. X
  728. user_dir =; S. [( L0 F3 }8 V" i
  729. * A$ Z. P* y2 Y9 l) ~
  730. ; Directory in which the loadable extensions (modules) reside.
    4 y( F/ X5 B* T8 C% T
  731. ; http://php.net/extension-dir
    4 I" L3 e' U  p) b* w9 G
  732. ; extension_dir = "./"2 ]. _' g$ y; d( z
  733. ; On windows:
    / }( _, P& F! L, K+ L. m# P' J
  734. ; extension_dir = "ext"
    5 Q& y! E5 Y: m- D' w

  735. 9 B6 k; J% V( \& D& c, P7 z
  736. ; Directory where the temporary files should be placed.
    $ ?; n, e+ c2 ^( X3 i' \: Y
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ' g) e) e4 n0 k3 t
  738. ; sys_temp_dir = "/tmp"3 g' o4 S/ w3 N. n& ~
  739. 3 {7 q% B4 ~* D3 s( v$ V; q
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 Z( ?6 L" t2 c* [7 j. c% M
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically, w+ v- G0 k4 V+ C3 K9 J5 o/ M
  742. ; disabled on them.8 E  `5 m+ q( e
  743. ; http://php.net/enable-dl
    * C$ p  J$ M9 U0 n7 S3 |. C
  744. enable_dl = Off1 d6 u0 {$ @( R# K; `( b+ ]. B

  745. : K! l: `8 J0 u* E0 k4 V
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 Z' E/ b  Q' E" G0 a. |& Z6 u
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    . Y4 t5 r3 h. q; G  o3 v& O
  748. ; turn it off here AT YOUR OWN RISK2 R6 M6 t& R* _# ~4 R$ `" w
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ A2 ?5 T9 R5 z" Q, ]
  750. ; http://php.net/cgi.force-redirect
    3 V- x. Z2 [# w# E; M; s+ N6 {! O* e
  751. ;cgi.force_redirect = 1" t! _1 \2 b" B( u+ [; o

  752. / c" E0 j7 ~* Q7 u0 D
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with9 |$ w5 @$ [8 e+ y0 {
  754. ; every request. PHP's default behavior is to disable this feature.
    + S) i0 }1 t# V/ ?) u
  755. ;cgi.nph = 14 d8 _# b( i! e) o7 E
  756. 4 \( f1 S1 ?/ x! h9 [# R8 |6 E% ~
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    $ w' `; g: V) Y/ ]% R
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 z, j/ p& R" }
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY* e( v( u) H1 \( n7 N& A4 |
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # P2 a6 ^5 N% T4 f, n
  761. ; http://php.net/cgi.redirect-status-env
    & |: S! n. Q" s& x$ n, l1 i/ v
  762. ;cgi.redirect_status_env =
    ; S5 T+ n+ Y; r
  763. 3 a2 ?* `, V9 z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 ~- N% c: ~$ J
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok6 k+ Y' J* o! I7 A% A; T
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & m! ^) n+ c( Z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting9 ~. v* e9 }& O' u0 t9 |7 y( W0 P
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts4 D* V" x$ P+ h0 F5 V0 O! |
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.( X* Y: }- b9 I, v  Q$ Q) s
  770. ; http://php.net/cgi.fix-pathinfo0 X4 }% }2 X! [# b& q# B
  771. cgi.fix_pathinfo=1
    7 b# O& O4 d" y# j7 T2 I6 [
  772. : n$ H& j" K) H- ^; q
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside- L" w! [) w3 \$ V& v3 |
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ; L# M' v7 ^: U: [
  775. ; http://php.net/cgi.dicard-path
    4 R* u0 G2 K2 F* y) P* A, |% M( j
  776. ;cgi.discard_path=1% w# T) `! K/ ^9 k( Z

  777. # m* Y6 V: N3 A
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate5 I" y! N3 U* ^; h
  779. ; security tokens of the calling client.  This allows IIS to define the+ ^# b( U" Q+ y& J' |3 h
  780. ; security context that the request runs under.  mod_fastcgi under Apache! _4 M2 a% ?) U
  781. ; does not currently support this feature (03/17/2002)4 s: f3 B/ t0 ?8 `0 P. r: _: d/ d$ G
  782. ; Set to 1 if running under IIS.  Default is zero.
    / Z7 V- }% b. D/ E* [6 }) j
  783. ; http://php.net/fastcgi.impersonate( `( E+ V( O$ f) V1 z: d4 j# Q
  784. ;fastcgi.impersonate = 15 [. f; d. s2 O

  785. 4 i, e1 X' `( ]) z: ?. D
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable  w6 t' }2 W( R- P4 `
  787. ; this feature.  c% t  {- _# ]; q
  788. ;fastcgi.logging = 0( U3 w/ r6 t" |/ L# b; D) m

  789. : x! l* c  g% V
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 r8 `/ }/ ]) Y
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that- j; `8 D  L% g: s0 W  `
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    8 o; @$ H: Z- m# C
  793. ; RFC2616 compliant header.
    1 e" E- J$ I$ C
  794. ; Default is zero., c7 N4 I9 O7 q( G) x8 X
  795. ; http://php.net/cgi.rfc2616-headers& e+ B$ {: d. }4 i; a' L2 C
  796. ;cgi.rfc2616_headers = 0
    ; q3 {% b4 i: ?
  797. 0 V: W. x2 |6 Z( P
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!6 W- a; T, q$ o1 \2 E. a
  799. ; (shebang) at the top of the running script. This line might be needed if the. G) A$ y& Q: v% G8 F
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    4 u+ I" j4 u4 |+ U; G8 n3 Y
  801. ; mode skips this line and ignores its content if this directive is turned on.9 X: m, P, m( c3 K
  802. ; http://php.net/cgi.check-shebang-line( h1 v6 _7 e+ Q9 f- J
  803. ;cgi.check_shebang_line=11 z" c3 I, L- O

  804. ! n4 Z- V0 G9 a! G1 j3 R% v" ~
  805. ;;;;;;;;;;;;;;;;9 z) `' ?1 y& K" B
  806. ; File Uploads ;
    , g$ j0 K" t: p- m4 b/ X  D4 g: g
  807. ;;;;;;;;;;;;;;;;
    9 s$ G4 a, ~+ p1 J- r* j! h

  808. / ~. z1 I# b& D0 j* h
  809. ; Whether to allow HTTP file uploads.
    1 Q# z, e. `; g
  810. ; http://php.net/file-uploads
    ' C1 y* U' K" E( k3 k
  811. file_uploads = On
    - f1 M4 _' G% ]9 n) Y/ M! s
  812. 4 D' m! Q7 R8 j; Q# c& N# [8 s
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    9 f% i) s/ X4 q) [3 g4 j
  814. ; specified)." U8 s0 i  A6 [3 \) j
  815. ; http://php.net/upload-tmp-dir
    0 ^7 G% }# f' f
  816. ;upload_tmp_dir =
    & n% j4 m* K2 h' X# C/ P* t) \+ i& q
  817. ; I* Q- N3 y* k6 V( O
  818. ; Maximum allowed size for uploaded files.
    : L% F4 J2 I) t  K3 G
  819. ; http://php.net/upload-max-filesize5 j/ t/ {5 M$ z
  820. upload_max_filesize = 50M/ H0 m. s. j  F
  821. 7 h/ ~# A/ R9 u& C( b# _: H. y" \0 _
  822. ; Maximum number of files that can be uploaded via a single request3 p; ]' d* h  E* a: w
  823. max_file_uploads = 20
    ! A2 K% e, W* f2 G8 l* f2 A- h( `
  824. 7 M8 ~4 k# F5 ^$ e' e: ^' Q$ @
  825. ;;;;;;;;;;;;;;;;;;& p$ i0 W0 w* m' A! Z( h/ c; e& V
  826. ; Fopen wrappers ;
    1 b1 f  a. P5 O
  827. ;;;;;;;;;;;;;;;;;;% @0 y1 q- W% H: j) Y& L- N- P% @
  828. # p1 e% W. q, A
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.9 d! e; S, f6 c. \; L$ D5 J
  830. ; http://php.net/allow-url-fopen: \% O% n6 A4 f. ?
  831. allow_url_fopen = On, y/ D0 }- F- p! y/ N6 m8 B

  832. " d+ a0 U6 V3 w; [7 N
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.! W" ^5 `( f5 {1 l; {0 N# O
  834. ; http://php.net/allow-url-include3 w, i1 P1 e: K0 `* s! @" t8 T& P
  835. allow_url_include = Off
      O. }* W$ ~( _

  836. $ o8 C# P; D9 j: e! M) e
  837. ; Define the anonymous ftp password (your email address). PHP's default setting: H' f: C1 P* }) y& c" P5 D
  838. ; for this is empty.
    1 o* |) ]6 `% T& d
  839. ; http://php.net/from/ }( M7 {; b: v
  840. ;from="john@doe.com") I/ F1 S) U5 P3 e

  841. : d1 D& L/ T! r+ B. S; O% C$ ]& c: q- g
  842. ; Define the User-Agent string. PHP's default setting for this is empty.1 l  d0 t1 `, a$ R
  843. ; http://php.net/user-agent
    / s0 e/ L  l$ u8 `' w& d" b6 ~
  844. ;user_agent="PHP"
    + M/ S2 {; i, [& Z/ [
  845. - w  N& e2 X; K
  846. ; Default timeout for socket based streams (seconds)
    & b! X" }6 t# e4 v" U3 e
  847. ; http://php.net/default-socket-timeout- P# N& x$ f4 z) f1 h
  848. default_socket_timeout = 60
    + d& p* M* v9 q/ \7 q- I
  849. " R) w3 B  n; i+ X6 V
  850. ; If your scripts have to deal with files from Macintosh systems,
    + f' a6 `; E/ R
  851. ; or you are running on a Mac and need to deal with files from
    8 ~) v/ [9 P$ Y0 c/ N" y6 `2 J
  852. ; unix or win32 systems, setting this flag will cause PHP to5 d9 x3 R) N8 X& c; H: R( e6 P
  853. ; automatically detect the EOL character in those files so that) b. v; B. y- e6 E2 c0 K# w
  854. ; fgets() and file() will work regardless of the source of the file.
    , l$ h4 y0 u# \% h0 y" X& `- \3 f8 k
  855. ; http://php.net/auto-detect-line-endings
    6 x6 i" {: w+ [
  856. ;auto_detect_line_endings = Off
    6 n. b! W( b, b1 Q) K; Q' o$ P. E  @

  857. , U- a$ \# m# q- \5 N9 O+ G
  858. ;;;;;;;;;;;;;;;;;;;;;;
    - k% F* g; m. G* ]& P, E$ R
  859. ; Dynamic Extensions ;. u0 b, u! K+ l
  860. ;;;;;;;;;;;;;;;;;;;;;;
    . T: k( u/ l+ w  p5 Y

  861. ) C6 n, N6 h) `( m0 x+ p+ G! X
  862. ; If you wish to have an extension loaded automatically, use the following
    8 {6 z# x9 m: _7 u- S5 C) l3 o
  863. ; syntax:
    0 x3 a. I8 m, C9 C1 n
  864. ;( e. G8 b4 p: w: k
  865. ;   extension=modulename.extension% U) y* X9 `% ^$ I+ G; W
  866. ;
    1 H8 V" R  D7 Q$ v
  867. ; For example, on Windows:
    8 l+ y4 t8 v2 \9 z! n7 x# L
  868. ;' `' i* q. R! D
  869. ;   extension=msql.dll* d0 \9 ?" f- r/ a
  870. ;
    + g8 {9 E  F" I4 l0 c
  871. ; ... or under UNIX:
    ' p# E: `1 ^1 {( t1 P+ t" K! Q  _
  872. ;
    - j) u" P. d- i2 A6 `/ q. U. h
  873. ;   extension=msql.so
    + D$ H' Y1 P: b* s5 q
  874. ;& t0 x" J) b' T
  875. ; ... or with a path:* {8 W  J# U5 S& m; h+ V
  876. ;$ k6 b3 V% l' v! ~* p
  877. ;   extension=/path/to/extension/msql.so
    0 |; ]9 G% X: X! f+ K
  878. ;
    3 e5 S/ c  L& o4 j$ `
  879. ; If you only provide the name of the extension, PHP will look for it in its
    # e/ r: _) N2 I; @, T$ i& U' v
  880. ; default extension directory.
    ' y* H  u+ D+ J
  881. ;: A" J! d" I( n) W- n: W
  882. ; Windows Extensions! f$ P6 p- w0 S: u& M& L0 G
  883. ; Note that ODBC support is built in, so no dll is needed for it.; [" y# ^7 z6 X+ ^% X: \! h9 k$ r
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    0 z2 O% Z  g- c& f# Q# x: {3 s
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    - X9 L2 N! U9 u. z9 c  Y, V
  886. ; Be sure to appropriately set the extension_dir directive.
      B( R& _3 ^' k; O7 D8 Z9 @8 @
  887. ;# u& t! b9 J7 g' ^, [
  888. ;extension=php_bz2.dll, I4 o) l: _+ c) P" i  n0 \9 h
  889. ;extension=php_curl.dll
    6 w( f. U5 g9 }! L  I
  890. ;extension=php_fileinfo.dll
    ; y8 ^1 M3 X/ c6 n
  891. ;extension=php_gd2.dll3 t: p5 [/ V+ ?7 j3 Q
  892. ;extension=php_gettext.dll  P; W! ]! g4 c; d( F/ K/ H5 j9 P
  893. ;extension=php_gmp.dll, f9 h  J: S- n( m
  894. ;extension=php_intl.dll
    : E2 Y  J; h% A1 i' D: m8 k
  895. ;extension=php_imap.dll* I) I0 I' C+ B8 o
  896. ;extension=php_interbase.dll" I3 m' I$ F  n/ m) V8 U2 I8 [
  897. ;extension=php_ldap.dll' F$ N% g2 C$ E' `3 W
  898. ;extension=php_mbstring.dll! g) r" d% s1 Q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * K" m7 R/ }6 A
  900. ;extension=php_mysql.dll" S4 x4 C' x0 {! l0 B7 ?0 r  R5 G
  901. ;extension=php_mysqli.dll
    3 i( s2 |+ }" M1 F# q* K! l  x
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 v+ B7 N! d0 n6 k
  903. ;extension=php_openssl.dll
    1 q4 S* V( z) f, S/ p
  904. ;extension=php_pdo_firebird.dll
    , h# Q6 P4 r! V( M
  905. ;extension=php_pdo_mysql.dll+ R3 b0 h# c$ W, R6 ]
  906. ;extension=php_pdo_oci.dll+ R$ j8 w0 Y: a! Z% _
  907. ;extension=php_pdo_odbc.dll
    : ~* i6 f  k* E9 ~3 u( E! [
  908. ;extension=php_pdo_pgsql.dll
    ) r5 B6 A/ n4 F! R+ S$ V
  909. ;extension=php_pdo_sqlite.dll/ b7 B6 R  P* U6 p9 D! n- E) B
  910. ;extension=php_pgsql.dll
    4 X& {# W1 r! G" g. A
  911. ;extension=php_shmop.dll
    4 x2 P/ J; D: [/ N
  912. % w* X, L+ Z1 G7 y7 n
  913. ; The MIBS data available in the PHP distribution must be installed.
    $ g/ t! L8 ^& K9 ]4 k
  914. ; See http://www.php.net/manual/en/snmp.installation.php . F& F! i, p1 \+ y  ~7 f7 x
  915. ;extension=php_snmp.dll
    1 X6 {0 S4 j" U3 r1 j9 M9 P
  916. & j. \! G; e  W$ b
  917. ;extension=php_soap.dll/ P! L: E( q; I) C# r0 U( S# Q
  918. ;extension=php_sockets.dll
    0 N. ~* A" C$ k
  919. ;extension=php_sqlite3.dll0 H6 L& y6 t; s) H: ?! X) W2 ?
  920. ;extension=php_sybase_ct.dll4 x/ {4 K7 K. {8 W6 A
  921. ;extension=php_tidy.dll. i" O# k" Q. L, m7 U
  922. ;extension=php_xmlrpc.dll' a( W2 b' u7 @+ {% W. ?' \# v" O
  923. ;extension=php_xsl.dll
    ' X2 d. J2 {* x- E" _
  924. 9 J: l& E2 X1 Z
  925. ;;;;;;;;;;;;;;;;;;;/ c1 a4 F& @2 q, j8 j8 J( z
  926. ; Module Settings ;8 r4 U, \1 M1 t6 y3 l" Z
  927. ;;;;;;;;;;;;;;;;;;;% f, R3 \+ w" T
  928. " v3 Z5 O: r0 b/ c6 [. w4 ], a
  929. [CLI Server]/ m5 @. `3 Q3 l
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.8 Q( ^: H0 s0 V. V% B6 }$ v  G
  931. cli_server.color = On1 q1 z4 \2 ~$ K% b# l( A7 |
  932. 0 n$ ^% x2 b/ ^0 U5 G0 z% ^$ a% k
  933. [Date]7 y, {1 f7 W' H4 \
  934. ; Defines the default timezone used by the date functions/ ^7 Z0 _  m  E2 |- {, Z
  935. ; http://php.net/date.timezone7 X, r( A' p8 h4 v
  936. date.timezone = PRC0 R' d$ _/ K' p
  937. " s# `4 P. K7 e7 I
  938. ; http://php.net/date.default-latitude0 A: r# B6 D/ W  P  h$ y  Z
  939. ;date.default_latitude = 31.7667
    . g# D4 l' h4 ]& M' k

  940. ' o+ g) E3 w/ G* D
  941. ; http://php.net/date.default-longitude. y2 ]; x( t% L
  942. ;date.default_longitude = 35.2333
    . @- _( c9 R( k& Z' X4 `3 d4 R
  943. ) S/ S9 B) t8 v1 `
  944. ; http://php.net/date.sunrise-zenith5 R3 D1 X9 \3 P  P: L- w
  945. ;date.sunrise_zenith = 90.583333
    4 g  B% o5 @( B. ?6 f1 H+ X" ?: K

  946. - t" X0 W" x3 u; G2 f% M. g
  947. ; http://php.net/date.sunset-zenith* j& F! x4 j* B% a0 G5 S
  948. ;date.sunset_zenith = 90.583333
    6 L" z& A3 ^7 [' }1 r) z& D: d2 h! m2 y

  949. % I+ B- @, C; U; h8 l% T7 m) G+ P* T
  950. [filter]
    # }6 I5 Y/ o* \9 o: ]  d
  951. ; http://php.net/filter.default
    4 S" v) C. e5 G$ w
  952. ;filter.default = unsafe_raw/ _3 F: q- e+ K! [
  953.   [+ O4 P4 y$ d5 |/ Q  g
  954. ; http://php.net/filter.default-flags7 n9 b* ]7 j: }/ b' Z6 l  m
  955. ;filter.default_flags =
    5 T  i/ ~: K) {- |* A! R
  956. & B" B" Q) X8 m
  957. [iconv]
    1 f( v( ]' A3 ]8 k
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.' A. h  |, T& x, W9 v
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    + Q4 R" C7 w1 E( d- [/ a
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding4 l  w3 q, a6 m7 f
  961. ;iconv.input_encoding =; ~/ h2 J5 P9 f0 ]$ o! Q

  962. 4 c  a0 h5 F: o' n$ m6 E  k
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.- i( @7 n! P* u5 y. j" m0 X
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    % ^9 V# y/ u! u5 q7 K6 f7 P, f
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 `: k: t2 J! F) N/ j
  966. ;iconv.internal_encoding =
    / E0 Z8 f! y5 y& \, H5 y8 g% \

  967. 5 \$ `3 U0 j* {' S* j
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 F& E) ?" u( t; ]
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / x2 g. l5 i4 f# T8 ?
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding, U+ }' ~' t% D) F
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ( \; D% T) B0 K( \
  972. ; otherwise output encoding conversion cannot be performed." B- c  M' \: B- C: d
  973. ;iconv.output_encoding =
    ! N8 |1 P# m+ M! P, q" t

  974. ; O/ @0 g0 x/ I0 k, y& S
  975. [intl]) ^* }5 v! c- x
  976. ;intl.default_locale =
    / s; n* p" U2 y/ y; \& S* `( ?9 ]
  977. ; This directive allows you to produce PHP errors when some error
    8 g1 Y- K$ D! A7 t0 l
  978. ; happens within intl functions. The value is the level of the error produced.4 f6 F2 o0 E$ [( v* d
  979. ; Default is 0, which does not produce any errors.
    9 F8 C2 g" e* e# v, R" \: T  `( Q
  980. ;intl.error_level = E_WARNING
    ; F* _& S: A. S2 n3 q
  981. ;intl.use_exceptions = 0
    3 t7 C+ c6 u6 }+ M2 L$ B4 A. r
  982. 9 X1 W' A  R, ]! {$ [& t
  983. [sqlite3]) z$ H% |3 p. l
  984. ;sqlite3.extension_dir =8 D# a; ^+ a" h

  985. 6 `6 K) n: F8 Q8 I' Y, Y
  986. [Pcre]' p* M; z. s+ ?8 p1 q, E
  987. ;PCRE library backtracking limit.
    - u9 \0 o: W) V& z
  988. ; http://php.net/pcre.backtrack-limit
      c) A/ h5 Z* l( x% H0 i
  989. ;pcre.backtrack_limit=100000; l/ {4 V. y+ B: B" F% F$ H
  990. 8 N; Y+ {) m) P2 d: C6 L! `
  991. ;PCRE library recursion limit.- d6 m' V6 a; s' z
  992. ;Please note that if you set this value to a high number you may consume all7 I$ G2 I7 d/ n
  993. ;the available process stack and eventually crash PHP (due to reaching the
    6 g" }8 g, `$ g7 V: j9 c) O
  994. ;stack size limit imposed by the Operating System)./ C+ z1 G0 ~$ r
  995. ; http://php.net/pcre.recursion-limit/ j; K, y: n. }) X3 j  u' z) S8 r- g
  996. ;pcre.recursion_limit=100000& P/ C7 J; R6 ?$ K' d0 J% [
  997. 9 X. I: o' R' ~# d
  998. [Pdo]
    8 e# Y! k2 w! {9 w: T
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 ]5 K8 h9 o% @3 N3 _* Q" k
  1000. ; http://php.net/pdo-odbc.connection-pooling: M' d1 U% h- I" U
  1001. ;pdo_odbc.connection_pooling=strict
    9 l3 J, O; p6 S: E

  1002. 2 y8 R) y8 ?7 }: p* @8 g3 E- d7 A
  1003. ;pdo_odbc.db2_instance_name9 S! J+ H3 G3 e& z! f

  1004. 6 x5 W6 Q: H  o! t: ]
  1005. [Pdo_mysql]8 Q# c0 {9 Z) M! ?
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . }0 \* O! L. j: E8 u+ k6 _+ L
  1007. ; http://php.net/pdo_mysql.cache_size
    ( ^4 M- O/ D: `" M" L: P
  1008. pdo_mysql.cache_size = 2000
    ) I0 d$ V6 s- }9 M
  1009. ( P" I; H/ W6 w" ~
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ A  D* |+ X2 q. ?& t" p+ |# Z
  1011. ; MySQL defaults.# M- k4 U  }9 X6 B7 ?. j
  1012. ; http://php.net/pdo_mysql.default-socket3 h' g0 P8 D6 |% u; e4 b$ V8 X
  1013. pdo_mysql.default_socket=
    9 ~. y$ K& k/ t7 S  C2 D3 s1 G( Z

  1014. : M4 t( v9 }# f, n- K9 q( I
  1015. [Phar]% g1 I8 ?0 s1 }8 {, b9 F0 `  I
  1016. ; http://php.net/phar.readonly- t" b6 R4 [6 _. _7 r" B4 L  {
  1017. ;phar.readonly = On, L+ p0 ^+ ~# y6 N

  1018. / a/ D- J, E+ L4 l
  1019. ; http://php.net/phar.require-hash
    , D6 g/ J3 l; d+ x: h- k
  1020. ;phar.require_hash = On
    ! F& g9 H6 G- }* T

  1021. / F( ]7 F7 p8 Z( L* X0 ~
  1022. ;phar.cache_list =
    8 a+ B- P" }: q. r% S. p
  1023. 3 p! Y6 y! E- d. E% j- W
  1024. [mail function]
    5 H/ J- Q  u, ~" a# g
  1025. ; For Win32 only., ], P2 R. u5 x) e1 d. G. c
  1026. ; http://php.net/smtp
    2 `5 O* B" X: R, B+ s/ j7 _
  1027. SMTP = localhost
    * N$ R0 I5 ?) b* y7 O2 K, U
  1028. ; http://php.net/smtp-port
    5 Z# O- R5 _- {3 a" L: |% a1 _
  1029. smtp_port = 25
      I, m4 U! A' W% G$ |. L

  1030. , ~$ d- m  K% R, H% g
  1031. ; For Win32 only.
    + f9 q! c$ V+ c; _' \# C
  1032. ; http://php.net/sendmail-from6 `+ ^- l9 a! o( |0 q
  1033. ;sendmail_from = me@example.com$ F' d# p# j) r5 |7 k' W/ O" L

  1034. ( o* I& C2 V# i
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 l8 G' C* m% a! i5 {& l5 q2 z
  1036. ; http://php.net/sendmail-path
    & ^; {. t0 {% k8 f- J
  1037. sendmail_path = /usr/sbin/sendmail -t -i
      |1 x- i+ w% d4 g
  1038. / Y7 c3 A( g8 D1 r: Q) j. A
  1039. ; Force the addition of the specified parameters to be passed as extra parameters3 ]1 v3 T9 @- V5 k  r
  1040. ; to the sendmail binary. These parameters will always replace the value of% w: p# t% Z  r0 h, o0 e
  1041. ; the 5th parameter to mail().
    . ?& `2 ^& ^1 f
  1042. ;mail.force_extra_parameters =
    , {/ N0 |* y3 y  N5 ~( s: y
  1043. - q: H$ }! v( |
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename6 o7 Q  Y2 B" e% z5 U" f. A* R
  1045. mail.add_x_header = On
    " ^+ Q! x; t3 `: ?5 ~6 ]! i

  1046. * a$ O  j$ L8 p
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ( I/ a* g0 C! B* T! Q
  1048. ; the full path of the script, line number, To address and headers.
    # h  _# s/ h" g7 k$ H% i5 d
  1049. ;mail.log =
    % l% [# m& B) i: X! R' g) @
  1050. ; Log mail to syslog (Event Log on Windows).
    9 z' E2 i& o1 s* U3 d5 P
  1051. ;mail.log = syslog3 A- A" E' b1 d2 P. q

  1052. & |, j0 J/ ]  g1 b7 _9 B( Y
  1053. [SQL]
    ( _% i9 V! _& M3 q; i+ T  d
  1054. ; http://php.net/sql.safe-mode
    / Q3 r9 |- R" s
  1055. sql.safe_mode = Off4 y* Z* l* N" W( ]3 L* a% y4 D

  1056. . f" ^; k- G' k# ^( H5 `
  1057. [ODBC]* H( m5 m6 B, B" m( O! J7 z- J
  1058. ; http://php.net/odbc.default-db* t2 g2 c4 q/ ^. n
  1059. ;odbc.default_db    =  Not yet implemented
    ) C% }/ J* _, f% E: }" J) \

  1060. ' x# c9 t, F* v. @* [0 _  c
  1061. ; http://php.net/odbc.default-user
    ( P0 }7 z- K3 _+ v/ V1 ~
  1062. ;odbc.default_user  =  Not yet implemented
    6 g' O/ y9 P8 X
  1063. 4 P2 u# @* X& f: O2 Y- J# X
  1064. ; http://php.net/odbc.default-pw" ?1 n8 c/ P7 s4 k
  1065. ;odbc.default_pw    =  Not yet implemented4 L4 K- _6 T/ b4 J. D3 q
  1066. 9 n& o% s) m4 h6 a
  1067. ; Controls the ODBC cursor model.0 F  R/ @) ^4 t, v: i+ w: c" w
  1068. ; Default: SQL_CURSOR_STATIC (default).  r; U" L6 Z+ e( H
  1069. ;odbc.default_cursortype: [+ V& P, r& [! l  o2 u
  1070. % }3 q2 |3 {: I4 z
  1071. ; Allow or prevent persistent links.
    ! n, A8 j9 }4 f8 J: g7 H) o
  1072. ; http://php.net/odbc.allow-persistent
    / z* Y8 E8 Z* S1 |; z. I
  1073. odbc.allow_persistent = On
      \; H) i) ]% m+ H4 j
  1074. ) R) S  g. S. o; T( ?( f3 T
  1075. ; Check that a connection is still valid before reuse.
    % A0 M( b& m$ w$ b4 s- _
  1076. ; http://php.net/odbc.check-persistent
    ( S1 ?! x) z6 S; L
  1077. odbc.check_persistent = On
    ) S. I% W/ C9 N+ x9 f4 ]
  1078. , t: C8 R9 z7 R, |) o" J' }
  1079. ; Maximum number of persistent links.  -1 means no limit." P, |) x% p/ c' K  h
  1080. ; http://php.net/odbc.max-persistent
    5 c) J7 Y+ N& m* C+ ^
  1081. odbc.max_persistent = -1
    * V* N7 \: G- i# Q& N/ G5 V

  1082. ' f4 d+ H  D. }
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; n2 P; F& {0 I0 c
  1084. ; http://php.net/odbc.max-links
    5 {$ W0 e2 p+ s/ Q) M8 M4 l1 c
  1085. odbc.max_links = -1
    3 a2 k. L5 W: y2 b3 k% {

  1086. 6 n3 J3 f/ K' m! D8 n7 @- r- a
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# L- o7 Q, b! y: l+ x) W
  1088. ; passthru.$ _7 C5 n: O2 d1 ?
  1089. ; http://php.net/odbc.defaultlrl
    ; q  ?  k) l. R! W, R5 B
  1090. odbc.defaultlrl = 4096
    ) d/ {$ X% _# N9 f; q! s

  1091. $ V; I, ?9 r$ G1 q' p1 t5 r" M+ _
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: ?% |. c9 d9 M& M1 m
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation" F4 ]9 L+ z8 A: P/ s: {
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode  _( x2 Z: ^  C/ G+ ?
  1095. ; http://php.net/odbc.defaultbinmode% T2 Z# o* t! y& z  A4 C4 U5 h
  1096. odbc.defaultbinmode = 1
    7 E* ^" z" @( E  w5 T+ B5 i' `

  1097. % F5 m  z1 R% m
  1098. ;birdstep.max_links = -10 a' Y. b- ~9 C+ i

  1099. * k2 ?, {) [+ C& S6 i
  1100. [Interbase]
    , `, O( [: [; Q" `) o$ T& H# g8 v
  1101. ; Allow or prevent persistent links.
    : e- r# {  P: r7 g3 m
  1102. ibase.allow_persistent = 1' l; Q' a/ T$ `, I  M0 K7 F

  1103. * f9 T4 g& `$ F* G& U+ T1 R0 {
  1104. ; Maximum number of persistent links.  -1 means no limit.
    4 b; R: e% F& L
  1105. ibase.max_persistent = -1
    5 k' w- J( |+ O
  1106. : x( F9 \8 @8 v: L, F$ T1 s( V
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* Q$ j2 l+ y8 N4 r7 F
  1108. ibase.max_links = -1, N8 y  O2 ?/ L! H9 T

  1109. : Q9 s4 ~8 c) _0 w7 f; W% u1 ^9 e
  1110. ; Default database name for ibase_connect()./ Z! D- r9 z! v- e
  1111. ;ibase.default_db =7 h% s% [6 J# \6 ]
  1112. 0 e# z) E3 f. x3 t  {  P
  1113. ; Default username for ibase_connect().
    " t3 e# T) r6 b5 Y" ^
  1114. ;ibase.default_user =0 H& n' l2 w7 X
  1115. 1 v; R2 a6 Y0 c: `. A2 s3 \* F, r# ]
  1116. ; Default password for ibase_connect().
    1 p  @! x$ p* k4 N/ k
  1117. ;ibase.default_password =
    + j* Y2 {/ m: k8 X3 w* ~& ]
  1118. ' m( Z+ m3 j! `0 [
  1119. ; Default charset for ibase_connect().
    5 E1 g2 W2 J7 Z/ E1 F, q( v
  1120. ;ibase.default_charset =
    / q" E! M2 H! r6 K
  1121. : l1 ~. R* D3 @1 k+ u2 ?
  1122. ; Default timestamp format.+ b# F& |" K- ~2 T2 W2 I0 Z9 y
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"% w- ]) Q3 ?1 O* n. h
  1124. * |- K4 h( X/ l8 y" p; ^  @) w
  1125. ; Default date format.2 f! n2 ?/ q: c% W  e& H
  1126. ibase.dateformat = "%Y-%m-%d"
    - T' f' y# p3 |1 C+ ^8 }
  1127. 4 R* n7 p- U: Q
  1128. ; Default time format.
    . N4 M. l5 o/ |
  1129. ibase.timeformat = "%H:%M:%S"+ b8 ]* b2 n, v+ E* g
  1130. * P4 W" ^. G# a7 |. ]
  1131. [MySQL]/ P9 L3 z$ i* J- J
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 d2 }) e$ c) ~! K9 r+ L: `" O
  1133. ; http://php.net/mysql.allow_local_infile0 i) E9 |" Y7 E) t6 g5 ~( _
  1134. mysql.allow_local_infile = On
    : R9 J6 w) S! S

  1135. 4 ^9 t9 L- s  k1 Y9 ]0 F
  1136. ; Allow or prevent persistent links.
    & A: Z( @7 h* Q7 C5 u. ^
  1137. ; http://php.net/mysql.allow-persistent% q3 ~; P, ?( w- B% |% J
  1138. mysql.allow_persistent = On9 i) u0 E1 ~7 Y/ s" ?
  1139. % ?- k7 R# w) ?
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 C; ~- v9 k8 X* O6 H
  1141. ; http://php.net/mysql.cache_size
      E/ c% `* u5 Z9 n
  1142. mysql.cache_size = 20008 S! e  E; T7 g- N2 [: i- X
  1143. . P* f- ?+ `9 D4 l+ k8 L
  1144. ; Maximum number of persistent links.  -1 means no limit.
    " h' C( i- p' R* Q
  1145. ; http://php.net/mysql.max-persistent
    6 s' a# {+ A* t7 n( t4 R
  1146. mysql.max_persistent = -12 b5 W7 K) m- C& Z7 K0 R
  1147.   p5 n* z% m: t
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." d: |1 G0 m; N
  1149. ; http://php.net/mysql.max-links7 p4 _1 w) M, a: {2 E. S! m
  1150. mysql.max_links = -17 y7 ]4 Q; F# Z0 p
  1151. , ?1 h( [% i. Y) v- y/ U% G
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ) @" c6 ?. H: N( k/ c5 D5 ]
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    , T  x. O7 ^7 b: a8 f
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / |" [2 q3 F+ p$ b' z
  1155. ; at MYSQL_PORT./ c+ r+ D* W, N+ {1 v
  1156. ; http://php.net/mysql.default-port
    3 w! K! v. w/ U% O. r/ e  e0 L
  1157. mysql.default_port =
    7 H& D* h$ D5 Q1 `6 g' B, S
  1158. 8 w, n  I9 ~  K
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in% i- i- H. y7 u& V# i7 Q
  1160. ; MySQL defaults.
    4 \4 J# h; j  ]; K
  1161. ; http://php.net/mysql.default-socket
    ; Y, _9 Q) Y6 e
  1162. mysql.default_socket =
    2 [# l- A9 o4 t
  1163. / t/ x$ r% ?4 r/ j9 y* k
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).5 [# e8 y( p" [1 g, S
  1165. ; http://php.net/mysql.default-host
    $ x1 ~0 r! Z: C, G5 k2 J
  1166. mysql.default_host =
    5 P' M* C1 k7 h6 l7 C: [

  1167. . V$ G6 B* ^2 s/ ]. F! a0 S: m3 H
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).# i; X% a) m% ^3 l
  1169. ; http://php.net/mysql.default-user1 z9 A7 t% k5 I4 [6 o* |
  1170. mysql.default_user =, Q2 ~; I: i4 q+ X6 A4 S
  1171. 8 x( N- h3 v* n  r
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    5 L7 C6 d1 a; u1 j
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.; h6 i2 y$ _5 f
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")4 L: m( a  U* T9 R) K
  1175. ; and reveal this password!  And of course, any users with read access to this" e4 G( \. W7 I, G; [
  1176. ; file will be able to reveal the password as well.+ V7 c  h3 I  g5 x9 B8 @- p
  1177. ; http://php.net/mysql.default-password6 [- m, D3 W% k+ l4 T$ U
  1178. mysql.default_password =
    6 a  a; Z( v1 K/ J+ q
  1179. 3 ~: v8 S+ e+ z; B" W
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    & q; g7 s3 N3 o- G# Y( l
  1181. ; http://php.net/mysql.connect-timeout5 O) i1 \$ D5 v2 ?6 b# z3 }$ n
  1182. mysql.connect_timeout = 60/ R' [3 R9 y, L$ _+ [

  1183. 4 L' _* `1 j& S' b- [
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and, @) S4 D. I: b5 S. J
  1185. ; SQL-Errors will be displayed.
    9 m' r# Q! U; ~- x4 S0 n; Q. y
  1186. ; http://php.net/mysql.trace-mode) f) P: [5 q9 j
  1187. mysql.trace_mode = Off. P: T  N& b( g3 T$ _
  1188. # U& B; V) z0 ^. r3 y: M: ^* M& f
  1189. [MySQLi]$ g% S: u7 B: J5 M9 v, h! x
  1190. " F* b! q& o* C$ e% W9 X, w
  1191. ; Maximum number of persistent links.  -1 means no limit.4 a9 q+ V. I" B1 v" ?
  1192. ; http://php.net/mysqli.max-persistent# I5 |6 u! E  D  ~3 \( C. y4 T
  1193. mysqli.max_persistent = -1
    + w0 x- g: S. Y+ w" O" h
  1194. % X1 f$ R* ~' c
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) i$ e# c# e' [
  1196. ; http://php.net/mysqli.allow_local_infile
    6 R" D! ~' ]( a2 J
  1197. ;mysqli.allow_local_infile = On- [2 _# q! Z9 m( b% l( ?3 d9 G
  1198. 2 Q/ _# n& y  J: r! z/ z% e9 g
  1199. ; Allow or prevent persistent links.# [3 {6 H% V- H, W3 Y. _
  1200. ; http://php.net/mysqli.allow-persistent
    - S& ~- I% F9 p  @' I% M. N" u
  1201. mysqli.allow_persistent = On
    ' R  Q0 E- e& s1 ^8 h2 y' C) s
  1202. # X; c$ J$ O, ]
  1203. ; Maximum number of links.  -1 means no limit.
    2 J6 l- U# V' O; s2 x' C$ n
  1204. ; http://php.net/mysqli.max-links3 R1 y1 Q9 r. b& E* _2 |2 b
  1205. mysqli.max_links = -1
    $ \. c; a) E8 B

  1206. 5 u. ~) b  A, ]* D
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache; C+ m0 K# u# I& A
  1208. ; http://php.net/mysqli.cache_size
    ' |+ ?6 x# C$ D' l  u* c3 l+ w
  1209. mysqli.cache_size = 2000' S: |7 B4 \3 H/ u
  1210. ; l+ B9 }' t3 c
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" K8 {9 F) @& H6 _1 O9 \
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 `9 _) c% P7 n
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      h5 A" Q; I; W
  1214. ; at MYSQL_PORT.
    . G. `4 n7 a6 y' p
  1215. ; http://php.net/mysqli.default-port
      ?, A( b, Z  T8 L# K
  1216. mysqli.default_port = 33069 K; G- A5 L6 I0 Z" t& C

  1217. 8 n' Q6 A5 ?* \+ g0 f  p' q$ ?/ V1 l
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in) C3 T3 F: O7 b4 L+ x6 S
  1219. ; MySQL defaults.
    ( c" t/ }# a7 g
  1220. ; http://php.net/mysqli.default-socket- X$ g4 B: B# c/ s7 {" [% |
  1221. mysqli.default_socket =1 P; d6 P7 r) S, o' i9 w

  1222. " p0 q" V* c0 D  O& I% S9 `
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' t5 b: J: U, y2 a+ F1 _" G
  1224. ; http://php.net/mysqli.default-host
    3 E8 k. a) a2 z( E' e
  1225. mysqli.default_host =, Q9 y9 p! z9 |2 o0 b/ z

  1226. 2 J' j: @# T" h7 Q1 n  L" r
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).0 Q: @' G& ^; G. g' j3 M
  1228. ; http://php.net/mysqli.default-user
    / P: ~" ?, V, V! G
  1229. mysqli.default_user =
    / i7 v  n, W$ u0 t) a# s" ]) n
  1230. + v5 a! M: Q4 m$ a) g$ j9 i6 i# H
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    * R9 a; F& n# Y0 r2 f5 m
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.8 s+ j# I) s0 i+ C% T! ^2 ~! J8 A
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")7 N7 u: T+ s8 C$ }3 f* {
  1234. ; and reveal this password!  And of course, any users with read access to this
    2 D0 O/ ^: \, o  i
  1235. ; file will be able to reveal the password as well.. l1 I' r. Q% K0 C2 @
  1236. ; http://php.net/mysqli.default-pw. g# _6 w0 d$ @* N  @' V
  1237. mysqli.default_pw =, {- W+ Q5 S# n* J& J
  1238. ; C" F) w8 B7 O1 Q) R. N
  1239. ; Allow or prevent reconnect
    4 E( Z  g" A0 d" A  A# O6 k
  1240. mysqli.reconnect = Off
    9 @% s# s5 S0 H) j$ H
  1241. 1 G# u& T6 `) s! g9 d8 E
  1242. [mysqlnd]
    ' h' U7 o8 W8 E' b" M5 O: b5 E
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & A6 w$ w# J& s' M
  1244. ; used to tune and monitor MySQL operations.1 I! h$ y$ ?% G, T
  1245. ; http://php.net/mysqlnd.collect_statistics% A/ \1 K# {* N# g
  1246. mysqlnd.collect_statistics = On
    - O: E$ N+ c5 |3 x5 w7 B

  1247. : u% R, N3 a0 ?8 v7 x6 |# Q
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 u4 f: U7 A2 j% r
  1249. ; used to tune and monitor MySQL operations.! `! B- e" g0 c! X( {* h. ~
  1250. ; http://php.net/mysqlnd.collect_memory_statistics+ a8 S( _7 J1 L9 ], D
  1251. mysqlnd.collect_memory_statistics = Off
    9 `# y( L0 H0 j5 K# h$ n
  1252.   |5 u6 l( ?' f; A/ g
  1253. ; Records communication from all extensions using mysqlnd to the specified log# `  g  X0 s/ T" Y1 ?  j- w, d
  1254. ; file.6 F0 j; u5 e; \8 T! h- m) G8 D. n# _
  1255. ; http://php.net/mysqlnd.debug
    & v, p& s, m) b0 U
  1256. ;mysqlnd.debug =# _) f6 t3 i: \# t" ~6 k' i, d0 n. e
  1257. 3 i7 b/ S9 D. G/ L1 S+ I
  1258. ; Defines which queries will be logged.3 F4 x$ H+ R8 V+ L& w, x" g
  1259. ; http://php.net/mysqlnd.log_mask% O; v% s+ e0 ~5 s: k4 C: ^
  1260. ;mysqlnd.log_mask = 0+ u3 v6 _& D$ T8 K- F8 I/ @

  1261. * `* O0 H1 j3 i8 T4 V! R. V
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ! n8 o- ^( v* y0 q0 B
  1263. ; http://php.net/mysqlnd.mempool_default_size- d" C, u1 V# L9 E4 I
  1264. ;mysqlnd.mempool_default_size = 16000
      w0 Q+ L: A& A/ K" s

  1265. ' K" h1 t3 X- @9 n5 w1 H8 ~
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    . K0 u: [/ G: L) B# w* \! U1 `
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size' n( {0 c; y4 F
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ( M# C% l9 }; B/ L/ w+ s* ^& f/ j
  1269. # u. [6 a: M1 \
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
      @' h" a6 H, B9 W- f7 k3 G
  1271. ; bytes.  f9 p1 L; M1 G8 ^* r
  1272. ; http://php.net/mysqlnd.net_read_buffer_size( l$ d# K6 F7 ^0 R( h# S
  1273. ;mysqlnd.net_read_buffer_size = 32768
    . j8 \* H8 n1 I* j' u5 r! X
  1274. / s$ p8 |1 Q5 h( a
  1275. ; Timeout for network requests in seconds.0 y: \1 d$ [, W7 i0 \! h  S. x
  1276. ; http://php.net/mysqlnd.net_read_timeout
    . S. C2 ~7 d3 T7 m0 Z2 Q' |3 ]% U; z
  1277. ;mysqlnd.net_read_timeout = 31536000
    9 h/ E1 _, h6 x6 a
  1278. ! e9 g. ~: a  q7 `. U
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA( Y" i  Z+ H1 w. y4 V  K
  1280. ; key.5 X' o1 d) S* P) @4 s
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 y$ J) H, {& y% b% d% v
  1282. ;mysqlnd.sha256_server_public_key =4 u8 I; c" i; S- X

  1283. 1 o7 x+ c! Y' u- F# M6 x* f9 f! o
  1284. [OCI8]
    ' R) D  q: B; A4 {, I
  1285. ' o% s, r: {5 B1 L
  1286. ; Connection: Enables privileged connections using external- l- g7 D; G6 x7 o
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)& N* L3 J/ F& W; ]9 o% ?1 M
  1288. ; http://php.net/oci8.privileged-connect
    + Q8 e' M4 c& e# ~" I
  1289. ;oci8.privileged_connect = Off
    # W4 N. \0 s( {' c6 c) T! X
  1290. / p" @! s+ S( d
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    6 G, X' H' w1 f9 L
  1292. ; process. Using -1 means no limit.) j8 Z, G1 y; }8 W1 h# D/ n/ c
  1293. ; http://php.net/oci8.max-persistent- V% \( \+ C6 p9 c* h. K5 \. D
  1294. ;oci8.max_persistent = -1) U  W. b! \( r4 S( ~

  1295. % @9 V3 ~! @/ n2 I4 N( h
  1296. ; Connection: The maximum number of seconds a process is allowed to( k0 G, l1 b. ?. a
  1297. ; maintain an idle persistent connection. Using -1 means idle
    - e( U7 A) g0 f2 p7 P8 T- [4 _
  1298. ; persistent connections will be maintained forever.; f  S* N8 E, H4 ]: G+ d
  1299. ; http://php.net/oci8.persistent-timeout
    4 ^9 p. _9 Q# \8 x) r8 r
  1300. ;oci8.persistent_timeout = -1
    + h3 p& S' Y" r& V% e
  1301. # v0 s% \" a+ |  [  m
  1302. ; Connection: The number of seconds that must pass before issuing a
    % D3 c: v6 S& b( S0 m7 K& [) `
  1303. ; ping during oci_pconnect() to check the connection validity. When6 {8 e8 P  X8 l6 l- Y; k
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables  r# y( g/ L% P( A9 g% d% `
  1305. ; pings completely., I* ^3 [. w' |( v: o5 J
  1306. ; http://php.net/oci8.ping-interval
    ( l) S1 \5 {( P/ n  v/ W8 x. v
  1307. ;oci8.ping_interval = 60( W& e0 _  S: c
  1308. ( c- P3 Y6 o+ ~7 Z: F
  1309. ; Connection: Set this to a user chosen connection class to be used
    , ]8 s& u' O3 G, Y, `: i0 G
  1310. ; for all pooled server requests with Oracle 11g Database Resident) w6 C, K  n+ Q) H* g. L
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    % X% b# c# M+ w6 d, q& x8 G
  1312. ; the same string for all web servers running the same application,% v; U4 S5 S0 x/ [7 ?! a# z# w
  1313. ; the database pool must be configured, and the connection string must
    , i: D9 B5 Y3 i2 i; R# P4 h
  1314. ; specify to use a pooled server.' v0 \! ~$ R+ m. F
  1315. ;oci8.connection_class =9 M# E! g% r9 W; H

  1316. 5 i- ?0 W, `% F; {7 K8 d6 o
  1317. ; High Availability: Using On lets PHP receive Fast Application
    $ G# ^# f( X6 [" l+ m
  1318. ; Notification (FAN) events generated when a database node fails. The
    % |" f5 J0 U2 U: O
  1319. ; database must also be configured to post FAN events.
    7 L# z- D* V+ k4 m; ]
  1320. ;oci8.events = Off
    9 w5 Q8 m( s2 g$ u, t( V0 r
  1321. 4 Z3 x* @6 ]1 {+ w
  1322. ; Tuning: This option enables statement caching, and specifies how2 d2 ^3 _/ c! v# ~  U6 n
  1323. ; many statements to cache. Using 0 disables statement caching.
    % [6 L4 V# t6 a) K6 y
  1324. ; http://php.net/oci8.statement-cache-size
    9 n/ ~- t1 h/ x, T5 V
  1325. ;oci8.statement_cache_size = 207 o6 f8 ?- k6 b' R" M2 i
  1326. * p+ ?8 R- |9 w, I+ P
  1327. ; Tuning: Enables statement prefetching and sets the default number of) @8 F; J# V6 C1 M6 R
  1328. ; rows that will be fetched automatically after statement execution.% z# ]. b+ v5 v% X5 B
  1329. ; http://php.net/oci8.default-prefetch
    % C- S& R) b/ E0 M2 \
  1330. ;oci8.default_prefetch = 1008 ?2 L" j/ M+ D; z% a+ n

  1331. ( N3 k9 p5 {# Y5 m
  1332. ; Compatibility. Using On means oci_close() will not close$ P2 }* m! Y: S
  1333. ; oci_connect() and oci_new_connect() connections.
    9 r7 o* M  U9 B' y
  1334. ; http://php.net/oci8.old-oci-close-semantics# [# h8 j  L. I0 c5 q
  1335. ;oci8.old_oci_close_semantics = Off. h" P1 f+ V* Q* H3 u
  1336. + l& D% Z) g* |& u1 O1 y1 T
  1337. [PostgreSQL]
    & y$ U7 n1 _. o4 Y; @9 L  e+ A; L
  1338. ; Allow or prevent persistent links.- W4 `8 u& j" D; Z
  1339. ; http://php.net/pgsql.allow-persistent
    & M: W" ~3 B5 t: V* R3 {% L
  1340. pgsql.allow_persistent = On! E3 P, Q" A+ Q9 c! M

  1341. 9 ]& t3 o7 e- ?& q% W5 i) [
  1342. ; Detect broken persistent links always with pg_pconnect().' m- z3 s# G9 \+ H7 [+ g! G( @
  1343. ; Auto reset feature requires a little overheads.
    0 U' q/ Q$ X3 ]
  1344. ; http://php.net/pgsql.auto-reset-persistent
    " k( `% f! n' u) R7 c
  1345. pgsql.auto_reset_persistent = Off
    9 K! |2 S; C7 V* {& H* V

  1346. * Q9 r6 I: E+ O2 ~5 f! ]- Y! v$ K
  1347. ; Maximum number of persistent links.  -1 means no limit.; \* A: L  l2 j7 [$ Z& b# ]
  1348. ; http://php.net/pgsql.max-persistent
    8 N/ d/ q. |' D% d6 S
  1349. pgsql.max_persistent = -1
    0 o. h5 @; W4 ?$ s3 J# B. H4 k

  1350. " Z) h4 ?# o" a; b4 }, M
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ `9 q5 r, U& ]
  1352. ; http://php.net/pgsql.max-links
    . m! ^" f& c5 l! d! u5 m  e
  1353. pgsql.max_links = -1
    & C# g/ k3 x( w# ?7 g3 M+ |
  1354. # u6 ]6 P, s. `  x: F6 V
  1355. ; Ignore PostgreSQL backends Notice message or not.- ?8 c  ]+ J; x. s* l
  1356. ; Notice message logging require a little overheads.0 y# F" K2 A& ?
  1357. ; http://php.net/pgsql.ignore-notice+ c; }8 H) `1 G- W
  1358. pgsql.ignore_notice = 0
    ( V5 r* R  Q( f" [0 J1 X
  1359.   y4 |3 d. y6 z/ a- j
  1360. ; Log PostgreSQL backends Notice message or not.$ n/ f8 i4 h4 t) b% O
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 N* E5 w8 F# n3 z  N3 n
  1362. ; http://php.net/pgsql.log-notice
    4 \! u# x( S. t2 m' J0 a. ~0 z  l
  1363. pgsql.log_notice = 0
    + k8 K8 T, Z5 C% D( b. P

  1364. . e, c8 k7 `8 U, j% }7 a8 I- ^
  1365. [Sybase-CT]1 a) H1 S$ M; D6 b; U, ?6 X. p
  1366. ; Allow or prevent persistent links.
    0 C6 R" x1 A4 ~$ L4 p& a& \1 S( V
  1367. ; http://php.net/sybct.allow-persistent' G0 ~6 f7 a* {0 w3 s: G
  1368. sybct.allow_persistent = On. y, `6 U5 p+ ?0 l9 n0 j
  1369. ) o$ Q+ u1 E( E- {$ h9 w
  1370. ; Maximum number of persistent links.  -1 means no limit.
    * e# ]9 a5 [2 P0 K- p3 G
  1371. ; http://php.net/sybct.max-persistent
    " w+ Y. J) e) D0 r- _$ q
  1372. sybct.max_persistent = -1
    # u7 B5 W% O: @1 P& P2 k

  1373. : k; V! j4 G9 T9 p
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 ?, n" d0 f- x. \+ i! p' c
  1375. ; http://php.net/sybct.max-links$ }$ F  C+ z- e1 W- {
  1376. sybct.max_links = -1
    - S+ `* l6 A; |
  1377. # Z. Z' E, W' O! r; I# @
  1378. ; Minimum server message severity to display.
    6 o% V9 [" ~1 }) @  z
  1379. ; http://php.net/sybct.min-server-severity
    4 Y5 t3 T; P5 z% j+ L+ J/ O
  1380. sybct.min_server_severity = 10
    2 B+ q3 t5 L: n+ H1 B% S+ @

  1381. ; [8 Q( p1 [4 c, N
  1382. ; Minimum client message severity to display.
    % h% e. U9 ]6 N
  1383. ; http://php.net/sybct.min-client-severity
    6 ~+ z7 P- i5 _# l7 J9 _
  1384. sybct.min_client_severity = 10# z0 }! M6 j: q, {2 {

  1385. / k- _) `0 z! f5 [8 b. z
  1386. ; Set per-context timeout5 u7 Q, F6 r# ?
  1387. ; http://php.net/sybct.timeout
    $ |! k2 h+ e/ Z) N
  1388. ;sybct.timeout=
    ; E+ {% t, y3 J) v; c

  1389. # v, m: @, e3 M2 \3 X9 X( h6 F' }
  1390. ;sybct.packet_size
    8 ~# l( J  v6 W- q# U
  1391. 5 e6 D; p3 L+ H& l- s% W
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure." m1 f4 C0 K# t+ s# j7 w3 |
  1393. ; Default: one minute
    ' w' E/ Q" ^  U) Q
  1394. ;sybct.login_timeout=/ H( [8 W2 ~. E. f1 A- P2 e
  1395. ; S) R- C6 e- n& `+ g- `. S' X
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.3 W# t+ \0 y+ V3 L( N
  1397. ; Default: none% x0 E. q8 O: A; j  W* v
  1398. ;sybct.hostname=; g% _2 J5 I8 r. X

  1399. ; q& [  y/ d& }$ C" l; b+ @: l0 O3 c
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"./ s: _2 w5 Q, ~' M& G6 i7 o( `
  1401. ; Default: 0
    & ~3 f/ r4 |: \0 m3 w% w) b9 b5 P
  1402. ;sybct.deadlock_retry_count=
    3 \& I+ }; Y* V; ?/ I+ d

  1403. ; S; C. m! v2 ]" o& b
  1404. [bcmath]
    + J3 p& A9 D4 m# |3 Z
  1405. ; Number of decimal digits for all bcmath functions.. K2 Z7 Z, B: ?& N- l* v
  1406. ; http://php.net/bcmath.scale) [6 H5 O6 e; Z% G4 x3 P
  1407. bcmath.scale = 0$ g6 f# ~' ]' Q. H: T$ d- w5 s
  1408. 5 L: ?! r9 n2 {
  1409. [browscap]/ h, j7 c: t8 U7 R
  1410. ; http://php.net/browscap
    ; Q5 t) V* @) M% V6 ]
  1411. ;browscap = extra/browscap.ini* `; P- m- e& V$ G
  1412. ) `8 p8 W. a$ F2 z
  1413. [Session]
    : {6 w( I% ]1 q
  1414. ; Handler used to store/retrieve data.& e6 c1 D; `( g5 w, O! J- O
  1415. ; http://php.net/session.save-handler
    ( o+ U. f9 d/ B  X8 _1 R
  1416. session.save_handler = files+ {. g- W7 v( ~3 V; l

  1417. $ Y, j1 \" ^/ B1 a- d4 X: `
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    . N5 q% f+ R4 f0 j& V2 v
  1419. ; where data files are stored. Note: Windows users have to change this
    8 p; M7 c1 \' l/ I$ V# H
  1420. ; variable in order to use PHP's session functions.# k6 y3 T- H  o2 {6 Q* i
  1421. ;- {& ]3 \! V: Q% |& B8 _
  1422. ; The path can be defined as:
    6 c( a* G8 q7 A8 l7 N: a
  1423. ;
    6 w2 X; _; t" P* Z# _" ]
  1424. ;     session.save_path = "N;/path"* K$ N: P* K& h) Z" C/ {. d% o
  1425. ;
    0 x) Y0 E( [# t  B9 x
  1426. ; where N is an integer.  Instead of storing all the session files in
    ) b; e' M# F# s7 ?, T. b8 t
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    + k- c7 z2 U  J$ F
  1428. ; store the session data in those directories.  This is useful if, g" ^, _! j' S' g4 W
  1429. ; your OS has problems with many files in one directory, and is
    . N9 y! F% I4 u/ p8 F+ a: ]
  1430. ; a more efficient layout for servers that handle many sessions.
    " B5 t4 K. m" Z4 l# G) a
  1431. ;
      D8 ^  @1 p4 s8 ]3 s, K, n% Q4 p$ x
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    * X% y6 o: F* Z: |6 q8 t
  1433. ;         You can use the script in the ext/session dir for that purpose.
    3 O0 J2 r* k. V! ?3 F
  1434. ; NOTE 2: See the section on garbage collection below if you choose to* \& y( E% R' {& R& t2 I7 A
  1435. ;         use subdirectories for session storage" l* w1 n, U7 G3 v; ]7 {- {7 |
  1436. ;2 U$ W9 d1 x+ D, J& _
  1437. ; The file storage module creates files using mode 600 by default.* v5 x' [% n- \  I6 w
  1438. ; You can change that by using
    + i# J5 C* Z9 Z( w; G6 ?" {% r
  1439. ;% z1 d; G7 N+ ?  R! \1 J
  1440. ;     session.save_path = "N;MODE;/path"
    3 ^9 u9 W1 ^' a! `
  1441. ;, s: r6 ^, K( l8 q
  1442. ; where MODE is the octal representation of the mode. Note that this! v, ^2 o: P6 N1 ~4 V# s- w* z
  1443. ; does not overwrite the process's umask.6 ^+ Q: E, H% p4 S1 R( S' F
  1444. ; http://php.net/session.save-path5 x4 ?* ?+ |8 C. U. c. E0 K
  1445. ;session.save_path = "/tmp"" f% Q% S8 z/ m. G& [

  1446. / s- L, y+ K8 O. I( A
  1447. ; Whether to use strict session mode.$ a5 m6 |  W% h
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate* o8 B# P1 P' [: X: Y
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects  K6 n' ]) ?# R( v5 H
  1450. ; applications from session fixation via session adoption vulnerability. It is7 T  e4 l5 w& u
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    : S' p; s7 x, \7 Y( }5 F1 i
  1452. ; https://wiki.php.net/rfc/strict_sessions
    # c2 o$ G9 p! G4 f6 g. J
  1453. session.use_strict_mode = 01 {; t5 e$ @  L* W

  1454. ) k' z# |6 F' ]
  1455. ; Whether to use cookies.6 F# f  F5 a8 I; ?8 P# q
  1456. ; http://php.net/session.use-cookies
    * l/ q+ ^; Z6 F% [8 p2 D' z1 }7 l0 I
  1457. session.use_cookies = 16 v/ K+ q& [) I

  1458. 6 G' a; I9 T3 \! [* O
  1459. ; http://php.net/session.cookie-secure" H" P6 O* O$ z- I( n8 A" d" s
  1460. ;session.cookie_secure =. Y' V1 c1 o1 q+ M) N
  1461. 5 I$ [; ?* x- e4 q/ ^. a2 C. \3 O, ]
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining. ]# X3 \8 R" v& l; w
  1463. ; the session id. We encourage this operation as it's very helpful in combating$ ^) l5 y5 l0 Z1 B
  1464. ; session hijacking when not specifying and managing your own session id. It is
    1 q1 Z% N3 G( r3 y; I+ k
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.( l# Z+ j$ H5 @7 s5 [0 a* l
  1466. ; http://php.net/session.use-only-cookies7 W. l3 B& N/ j, n2 b
  1467. session.use_only_cookies = 1) s8 Z/ [8 {2 d3 Z( f. [

  1468. : J/ E* ?! X/ w, i8 {. [" O
  1469. ; Name of the session (used as cookie name).
    ! h$ N6 U1 b& g* t+ G
  1470. ; http://php.net/session.name3 D7 |' a) f# ~  x% ]9 b: Z
  1471. session.name = PHPSESSID
    , m7 M9 F. r; H. D7 t

  1472. ' \: r  i$ k/ V, w! Y6 B: {
  1473. ; Initialize session on request startup.( y2 @& R5 X$ t- C; l
  1474. ; http://php.net/session.auto-start7 [0 [5 p2 E$ t3 n" Y5 q+ N
  1475. session.auto_start = 0  y# a- {/ e1 j1 z/ B$ ]
  1476. . i4 q4 Q! Q5 P, f1 T% q
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.& K3 e' U9 L" p
  1478. ; http://php.net/session.cookie-lifetime& u! o0 k; t, J' f( A
  1479. session.cookie_lifetime = 0$ z$ i( l/ f$ E6 O

  1480. 4 R! n7 u, l) b# X+ m4 L! i
  1481. ; The path for which the cookie is valid.. Y  W- }# ~7 w% H; }+ g  d
  1482. ; http://php.net/session.cookie-path
    - c( K# B! _3 N' M4 ?: _
  1483. session.cookie_path = /
    ! P+ O3 p& W( P' u. m
  1484. ' c3 ]# l' Q- d
  1485. ; The domain for which the cookie is valid.
    7 T$ {. W4 x6 }
  1486. ; http://php.net/session.cookie-domain
    : B7 U! ~1 \/ N. i- ]# Y6 C
  1487. session.cookie_domain =
    * l& v9 s* j! M. g3 I

  1488. * C( H' p* M0 }! n+ I+ B7 G
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.! O. X8 d# {% z% ?5 o9 ^
  1490. ; http://php.net/session.cookie-httponly
    . w! y3 F/ N, s
  1491. session.cookie_httponly =
    4 V" ?7 f$ d" j2 x1 u# \2 s
  1492. 6 F" u% X0 T6 G( d( G
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    $ _6 ?2 P! W7 o3 Y* k
  1494. ; http://php.net/session.serialize-handler, D8 j4 H" M- w6 B
  1495. session.serialize_handler = php8 D% ?9 Z8 V6 X/ L9 I9 F

  1496. : r0 A8 K* l+ W8 t) ]9 m2 {) ^, V- y
  1497. ; Defines the probability that the 'garbage collection' process is started' W4 H) z4 H9 s5 q1 O
  1498. ; on every session initialization. The probability is calculated by using2 e3 Y* D1 P# {% M
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator" n* x6 C) ?( @% p* y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : i3 B+ s. p" w- d+ z5 M4 p) Y" E
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 D- N# n4 I( X: h( j4 \( b0 |7 q
  1502. ; the gc will run on any give request.  k* H2 j5 a* s: m( o
  1503. ; Default Value: 17 O0 H0 j+ w5 w
  1504. ; Development Value: 19 G+ N! i9 J9 u
  1505. ; Production Value: 1* {$ {0 z+ S7 J2 p
  1506. ; http://php.net/session.gc-probability4 h" K) J+ t' w. Q/ T2 Z5 B. P
  1507. session.gc_probability = 12 G5 M2 ~0 [9 g1 c" d; A7 Z6 [1 |7 F
  1508. 5 M  W- ^; Y! d3 U0 X  S5 f
  1509. ; Defines the probability that the 'garbage collection' process is started on every" i8 Q3 D5 Y# m9 x
  1510. ; session initialization. The probability is calculated by using the following equation:
    # N6 j3 p9 p: q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    0 Z1 r& L5 k% E# Y7 i3 s
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ( `5 Z- n& D+ Z9 [
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" H9 K; i$ `6 a5 v
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
      k* _1 I/ r5 f5 K* d& h' o; K
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    / e& q9 ^# B0 t& B1 q5 h, a# \* M9 _
  1516. ; this is a more efficient approach.
    5 _$ n+ J8 K$ R# P. R2 i- W
  1517. ; Default Value: 100) p7 \( k) I( P; F( I) |
  1518. ; Development Value: 1000" V* h# o& V# \% n3 L* ]& H
  1519. ; Production Value: 1000
    9 R, F. f$ @- f  z8 ]
  1520. ; http://php.net/session.gc-divisor
    6 U& m- j. ^. Z
  1521. session.gc_divisor = 1000
    % I, s' H' `8 @! j" q: w

  1522. 4 y& b' g4 `( S7 J5 E
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and# O6 F3 v# U8 `, p" L
  1524. ; cleaned up by the garbage collection process.9 M/ Q/ e! U1 f" t" S. K. f6 x9 e
  1525. ; http://php.net/session.gc-maxlifetime+ z+ x) M" w0 C* `% {
  1526. session.gc_maxlifetime = 14402 d+ z: F7 o( T  ?

  1527. 7 X+ r. m/ W3 m2 v
  1528. ; NOTE: If you are using the subdirectory option for storing session files  r. [9 v0 S9 O( K5 z$ y" _
  1529. ;       (see session.save_path above), then garbage collection does *not*
    % B; M3 H# Q; l# I) X& P$ D
  1530. ;       happen automatically.  You will need to do your own garbage0 q7 X' \7 _) b# H* D
  1531. ;       collection through a shell script, cron entry, or some other method.
    3 W/ s6 y( E& l( w! N# H' I6 ?
  1532. ;       For example, the following script would is the equivalent of$ T. f) E+ x8 p9 Z! T
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    & l: w% O0 a& ]# @4 e+ D% e1 E
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm1 U2 Z# l( S2 D+ P# u
  1535. & P! O; [$ c' Y
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.4 q4 T) v6 @1 }$ R2 z: Y/ ]
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    " R) ~3 h7 J/ b2 ?7 V, i; [4 k
  1538. ; considered as valid.
    ! ^5 F# G: K! L6 q% u( I! ?
  1539. ; http://php.net/session.referer-check
    2 J/ k9 b* O( Q" K+ j, ^! G9 e; E
  1540. session.referer_check =
    + g/ u2 g$ A  T& r) `

  1541. + x8 E+ W5 e5 w# c' F
  1542. ; How many bytes to read from the file.
    5 a: h& b* s# |
  1543. ; http://php.net/session.entropy-length
    4 {$ A& G1 c+ D- d) A
  1544. ;session.entropy_length = 32/ u( m& s' F7 d5 a. u) [- t

  1545. 7 H) p5 R0 z0 w6 F3 o8 C
  1546. ; Specified here to create the session id.- h" K% V; Q0 V" M
  1547. ; http://php.net/session.entropy-file
    ' m6 q: v7 L/ \: q. \
  1548. ; Defaults to /dev/urandom
    6 b3 s. q0 A) b2 g0 m
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom# v! K- I* b+ H; f- |
  1550. ; If neither are found at compile time, the default is no entropy file.+ G# c+ V! D2 l$ Y! f
  1551. ; On windows, setting the entropy_length setting will activate the
    % d# L; |. Q+ y3 }. P/ h
  1552. ; Windows random source (using the CryptoAPI)
    ( p/ C4 s& J- i# h
  1553. ;session.entropy_file = /dev/urandom4 ?5 z8 L* z; n1 I( f1 I
  1554. ! g- Z, t0 E. R! i) ~. ?- j' [
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ! \6 `) o4 `& \3 v1 _, m* X
  1556. ; or leave this empty to avoid sending anti-caching headers.
    4 }( u( p, k7 }, N5 z! K
  1557. ; http://php.net/session.cache-limiter
    * N4 A7 P* s9 h5 S; M
  1558. session.cache_limiter = nocache
    ! P; M% U9 [" u
  1559. & |; Y% g% o0 F; \
  1560. ; Document expires after n minutes.
    9 A+ `7 U: H* m% M/ {7 A5 |) n
  1561. ; http://php.net/session.cache-expire* q" F" ], A5 X/ x5 @* a5 C
  1562. session.cache_expire = 180
    9 `2 R1 Y. y0 R

  1563. % Q' P- w1 |- {( w9 K. e' n
  1564. ; trans sid support is disabled by default.% E& v+ I) d" G2 `# H+ o! w1 z% w
  1565. ; Use of trans sid may risk your users' security.
    ; ?4 e# M8 A' I
  1566. ; Use this option with caution.! _& h  o6 c8 F1 t; C
  1567. ; - User may send URL contains active session ID
    6 Z: I9 P, t8 f0 o* N; a2 f0 ]5 s
  1568. ;   to other person via. email/irc/etc.3 @6 L: `+ Y& h6 B, ?4 q
  1569. ; - URL that contains active session ID may be stored
    8 ]) @! ~# }' h
  1570. ;   in publicly accessible computer.- ^& ^0 q( {0 }% a* y
  1571. ; - User may access your site with the same session ID9 x! Q' b. }. z0 s' Z3 u/ y
  1572. ;   always using URL stored in browser's history or bookmarks.+ m+ ^& p/ V0 M, Q+ X3 y
  1573. ; http://php.net/session.use-trans-sid
    ' v6 o1 ^1 i$ j/ b" R
  1574. session.use_trans_sid = 0
    2 T* \1 A2 T/ \
  1575. 0 ]& ^3 Z+ E7 q1 h
  1576. ; Select a hash function for use in generating session ids.. ?- o1 \0 y' b' E3 G- I' [
  1577. ; Possible Values, [6 `2 T* J# j$ c9 I; ^
  1578. ;   0  (MD5 128 bits)
    + ]9 k0 {8 ~! z3 [( n* q
  1579. ;   1  (SHA-1 160 bits)! R) m' E4 k1 Q2 @7 o* S
  1580. ; This option may also be set to the name of any hash function supported by- v; ~* {- C- B4 _/ R' ]6 k
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    4 H# q8 Y- ?, [! Y" Z
  1582. ; function.
    $ P4 R3 \, p; e  o  e4 D
  1583. ; http://php.net/session.hash-function
    # b# V6 b9 Z! _9 W0 l& J
  1584. session.hash_function = 0
    ) R( Z2 w% B9 ?& j1 R$ |
  1585. ' A5 a: e  S- f4 r# e
  1586. ; Define how many bits are stored in each character when converting
    & T: X) A$ r; c8 Y; p6 q
  1587. ; the binary hash data to something readable.
    7 v) P4 [1 t6 K# _* L( Q
  1588. ; Possible values:$ v% e% [" x/ _: |+ P* v
  1589. ;   4  (4 bits: 0-9, a-f)
    ' ~5 o+ Y1 ?. P# f% Z  D* s
  1590. ;   5  (5 bits: 0-9, a-v)
    : R( r" m/ `) e/ V6 O
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")) H" }6 g( \9 B. t
  1592. ; Default Value: 4) j: B* ?: j4 q7 b3 P4 x
  1593. ; Development Value: 5' q0 I5 f5 H8 n
  1594. ; Production Value: 5
    / Z1 k4 F% j7 \" x( }) P0 a; g
  1595. ; http://php.net/session.hash-bits-per-character* ?# J& f$ ~  c, }# a! V" Y8 b/ \
  1596. session.hash_bits_per_character = 5( x! N) W/ ?, E; o: L. }
  1597. , |  N$ G; l) I& R9 s; a. h
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    $ |$ G3 |. C/ L2 V3 \* R- H; ~9 t1 B
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    & [* p$ _  g& P+ B9 M& o
  1600. ; add a hidden <input> field with the info which is otherwise appended
      U' P: \( G% x( k' ^
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 L+ {/ T( ?: {; ~
  1602. ; Note that all valid entries require a "=", even if no value follows.9 d$ G, ^9 c+ r# j: H  g, y
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' v- W  i# ]( C! _' e
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ s. c6 W4 o8 f- M
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" B6 G3 x' C+ [  q
  1606. ; http://php.net/url-rewriter.tags' }7 M! L3 G; H' |0 J- b% J1 V2 c0 E& B
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 O+ j: K/ V. v2 e# ]# s

  1608. # [$ P% i7 d6 ]; J2 b! z; `
  1609. ; Enable upload progress tracking in $_SESSION
    & F& i2 y# w" P/ Y4 [) i/ N
  1610. ; Default Value: On# |8 t- i1 H# c. s$ h( c
  1611. ; Development Value: On
    ( }) {$ p8 j2 A! [8 Q0 F
  1612. ; Production Value: On
    ; o/ N) y6 n$ F: R1 d& C
  1613. ; http://php.net/session.upload-progress.enabled4 r3 J7 W1 |4 _6 y) k1 `2 p
  1614. ;session.upload_progress.enabled = On
    " O6 X! n# m/ Y+ [& t7 w8 u) Q

  1615. ; m) k2 x$ l$ C
  1616. ; Cleanup the progress information as soon as all POST data has been read' E  Q# j: B5 Y8 o" _2 r" G5 M
  1617. ; (i.e. upload completed).2 e/ r- f) L$ x; T
  1618. ; Default Value: On
    + n9 C- U: @4 a, a) ^
  1619. ; Development Value: On
    $ O- g/ N# ?" [$ @( n
  1620. ; Production Value: On8 Q+ N/ _& c; ^. H, Y1 q" y& y
  1621. ; http://php.net/session.upload-progress.cleanup
    4 f% J( t9 Y5 ?* k  x8 T6 R7 e
  1622. ;session.upload_progress.cleanup = On
    0 h( |% K8 q+ a7 `

  1623. 2 D0 a8 L/ z4 J- z- ^8 ^
  1624. ; A prefix used for the upload progress key in $_SESSION+ F, R7 x3 W3 M7 h# W. |$ w
  1625. ; Default Value: "upload_progress_"& W3 a: Z: x+ X! N
  1626. ; Development Value: "upload_progress_"
    9 R& k# L8 y0 S
  1627. ; Production Value: "upload_progress_"- k# r- D& I. D+ H+ u
  1628. ; http://php.net/session.upload-progress.prefix
    3 Y& T4 s, E4 |+ M1 Q" j' E
  1629. ;session.upload_progress.prefix = "upload_progress_", t4 K) h! X/ {# r& q- D

  1630. 2 f; ]) ^7 G+ ~5 F5 U& K
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    7 Y1 q3 w# h8 N! z
  1632. ; containing the upload progress information
    ; G9 X' a/ M- o7 U
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"5 K4 S$ K  Y0 |- t& j! {1 }6 l( T
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"( J3 E* h0 D. T
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"; ?( ~' s( K$ h" `$ n. C
  1636. ; http://php.net/session.upload-progress.name
    ) o1 E: f8 d8 D% }  j' o( b
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"4 R0 F2 c& C- Y/ R1 x" d2 b

  1638. * i+ V( q3 H* T. T* h
  1639. ; How frequently the upload progress should be updated.
    0 I* y8 f  R5 x7 C& N3 w- u
  1640. ; Given either in percentages (per-file), or in bytes8 u) ^. p2 ]5 c# Y
  1641. ; Default Value: "1%"
    ; U1 [% }$ _6 D6 j1 w" Z* T+ ^
  1642. ; Development Value: "1%". U" s7 O$ a; N4 b# |/ ^
  1643. ; Production Value: "1%"
    % ]- f% x% [1 y) @* ]
  1644. ; http://php.net/session.upload-progress.freq
    & a- }/ i6 c- n3 ]; u' t' C
  1645. ;session.upload_progress.freq =  "1%"
    , P( D! P/ V& B3 D* @

  1646. * X+ Y5 Y. t1 w$ w% R+ H* r
  1647. ; The minimum delay between updates, in seconds5 U7 s+ E8 _5 k3 A; \* k
  1648. ; Default Value: 1# W; @3 Q$ @# Z* _
  1649. ; Development Value: 1
    $ }2 Z2 r$ D; x3 M
  1650. ; Production Value: 1
    / ?- F. Y6 ^# K3 L) _/ H
  1651. ; http://php.net/session.upload-progress.min-freq; D; D& s% ~; y3 P* P! w- V& O
  1652. ;session.upload_progress.min_freq = "1"  J4 B: j0 K8 K8 J) p- C
  1653. 2 h$ g: G1 g( }/ u0 A9 V9 n
  1654. [MSSQL]. T8 V- `' {, d7 w( \
  1655. ; Allow or prevent persistent links.
    % k1 o; ~0 Y4 n  C2 B7 T3 S( u+ R
  1656. mssql.allow_persistent = On) c  _. m# ]3 I' M" ~' n4 B3 |

  1657. 6 i& A, r9 a0 t$ z9 w3 `
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ( g/ M# U% D2 T# l$ ?# U
  1659. mssql.max_persistent = -1
    ; ?* b3 ^* k! L6 \
  1660. . ?% k2 I9 l* }& F
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( S# e% [: ?' Y! L) U! \8 }
  1662. mssql.max_links = -1
    8 v3 S1 ]4 D! H  z4 z& `5 q2 o

  1663. * |" W- }4 b( k; j' A: N
  1664. ; Minimum error severity to display.
    . F# A- X  @7 Z$ J; `  e
  1665. mssql.min_error_severity = 10
    7 r2 o. o- ]8 ~/ d! T: D

  1666. " s! v  H8 I: V% ~" _$ c% e
  1667. ; Minimum message severity to display.& o3 P" _$ s6 U; }/ q% p
  1668. mssql.min_message_severity = 10
    # j* _4 u2 V5 V" M5 M; ^7 f
  1669. 2 A! l; J- c0 t3 d
  1670. ; Compatibility mode with old versions of PHP 3.0.! m/ V  X  \& y1 ?0 `- G
  1671. mssql.compatibility_mode = Off
    7 {2 y. _5 C; R! R9 v
  1672. - \; T9 l! ]; \+ f
  1673. ; Connect timeout+ Z( T, V6 d  X3 q! H
  1674. ;mssql.connect_timeout = 5
    , o' A# s7 X: y& G

  1675. & Q( V* b- t1 d$ |! m$ J0 Z
  1676. ; Query timeout
    $ T4 [8 R  P  K; Q8 w
  1677. ;mssql.timeout = 60
    6 J5 Q4 I8 \) R  {0 U

  1678. 0 M/ C3 N% i! o; M9 s) T: ]) C
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    / ]: w& L7 }) o5 o2 K5 ?- v
  1680. ;mssql.textlimit = 4096* @" R& y1 F' [5 `) C& ~+ Y6 k: D
  1681. ; _5 K5 m; }) X7 [+ E$ U$ b7 K
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    5 z, m# W- j& ~
  1683. ;mssql.textsize = 40966 s; D, W+ J" }* ]9 |0 P

  1684. 6 }4 ?" Z* S9 j
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.5 t  ?1 @: {* Y# v) i0 H
  1686. ;mssql.batchsize = 0
    - E$ O+ X4 b8 H' n+ q* \7 }

  1687.   t" |! c1 p. L2 U# p" F
  1688. ; Specify how datetime and datetim4 columns are returned; {8 i3 x7 Q& Z% R9 C+ w9 m
  1689. ; On => Returns data converted to SQL server settings
    0 c/ U- w; ]. b4 Y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ( l, P* ~6 c5 l/ S$ w& Z$ u
  1691. ;mssql.datetimeconvert = On6 ^5 \/ e/ J* |+ L$ b& |+ M
  1692. ; j7 F' F7 `" o& f9 z% ?* Y( Y
  1693. ; Use NT authentication when connecting to the server
    7 W2 d. I1 P" ?# l
  1694. mssql.secure_connection = Off8 x: L6 [9 g& w. M3 ^

  1695.   e/ w6 P2 d3 U
  1696. ; Specify max number of processes. -1 = library default- T! B* N& i# x9 P# S) ]8 z8 C1 M
  1697. ; msdlib defaults to 25
    ' r. Y' r7 h' S
  1698. ; FreeTDS defaults to 4096
    4 V6 @& G7 j* }5 }, n8 `
  1699. ;mssql.max_procs = -1
    ; d, t7 |0 J) _' c7 Z/ t: G

  1700. 5 G& X5 _& M- U3 G. Y
  1701. ; Specify client character set.
    ) H) b, t# ~# r! J6 _2 D7 d
  1702. ; If empty or not set the client charset from freetds.conf is used  w* r: s4 c. ^, X" [
  1703. ; This is only used when compiled with FreeTDS1 H6 @) k2 }6 S. T* Z/ ^% F7 C
  1704. ;mssql.charset = "ISO-8859-1"
    % [+ r" G+ u- o7 |

  1705. " N! S' p) }7 Z
  1706. [Assertion]1 l0 X- j$ J/ Q" N; I, x) _; d7 N
  1707. ; Assert(expr); active by default.
    ! ~' u3 t8 h, h- x. K# R; A5 w9 g
  1708. ; http://php.net/assert.active. \5 ]- j2 q5 j* Z2 B. F2 X
  1709. ;assert.active = On' n0 [! y- G( h- r; p0 B' p6 }
  1710. 3 X9 B9 l' h/ y5 P7 K0 \8 j
  1711. ; Issue a PHP warning for each failed assertion.' W0 [0 K) J' H% Z1 M2 S* P
  1712. ; http://php.net/assert.warning
    # C8 H1 Y: D! W; J, \  h
  1713. ;assert.warning = On
    / o, C, z& n( C( `: W: i6 w

  1714. 5 G! J0 z! g3 m0 [3 L) }/ i
  1715. ; Don't bail out by default.
    2 z5 F; b/ c) }2 U1 l( V8 V
  1716. ; http://php.net/assert.bail! p9 d1 e0 r2 T; f; H9 g. _1 A! t2 K
  1717. ;assert.bail = Off
    ) t% r, K3 L5 K& q  @7 }% c

  1718. " n, y6 X1 y( S2 O
  1719. ; User-function to be called if an assertion fails.
    ! D. a: f: w& R' C  V4 A9 r9 _( c* e
  1720. ; http://php.net/assert.callback
    7 w" ^! O2 t/ ?6 k
  1721. ;assert.callback = 0
    8 w7 M. a- m! N7 o: c
  1722. + C4 g6 V  ?8 H3 Y3 X
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    $ j$ h  u  @% J, }
  1724. ; error_reporting(0) around the eval().
    8 S4 }; `( W* ?- i6 |! s7 i
  1725. ; http://php.net/assert.quiet-eval/ X) S& P& c8 T! s( z0 Q. e4 ~
  1726. ;assert.quiet_eval = 02 H/ ~7 w6 p% j- ?
  1727. 1 |, M$ A3 X+ ]- q9 \2 y
  1728. [COM]
    ! {% d* J2 W: q( P
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs; u7 \, c5 @( A/ |) w& @1 \; \- E1 B
  1730. ; http://php.net/com.typelib-file6 j$ ^% i, k1 k, D. g9 ~( A
  1731. ;com.typelib_file =4 n5 Y2 g; d5 A: ?9 {

  1732. ( Z. n6 p- E8 N" ~
  1733. ; allow Distributed-COM calls
    ) b5 r- \2 j1 M2 ?" J' R0 H
  1734. ; http://php.net/com.allow-dcom. g1 q: D' h+ \
  1735. ;com.allow_dcom = true: b- X8 ]" B& h0 `

  1736. 9 t4 B8 ~2 o9 Y0 a: o- K( w4 @
  1737. ; autoregister constants of a components typlib on com_load()
    % n: T) p6 h: x+ n+ `7 k' V( R
  1738. ; http://php.net/com.autoregister-typelib
    6 d: q6 P5 N5 S8 j2 ~, Z
  1739. ;com.autoregister_typelib = true
    # }+ {: c" S, ]: W
  1740. & T% P1 Q8 s9 A; X& e' c
  1741. ; register constants casesensitive
    / E. i( p6 O1 m: P; `8 w
  1742. ; http://php.net/com.autoregister-casesensitive
    . E6 g' U8 V7 B  w
  1743. ;com.autoregister_casesensitive = false) Q( _" J+ i( x/ v: O3 B
  1744. . ]; J* i& j- o! ^
  1745. ; show warnings on duplicate constant registrations
    - g& U" Y5 }% d1 U% N
  1746. ; http://php.net/com.autoregister-verbose
    ( c% |/ v5 M' }5 V' d1 E
  1747. ;com.autoregister_verbose = true, h% h: ^5 M; Y4 j

  1748. 5 z, n+ Z. q" l5 {+ z8 `( Z( ^
  1749. ; The default character set code-page to use when passing strings to and from COM objects.3 C0 X- f4 J3 }# @: m
  1750. ; Default: system ANSI code page. O0 m# V/ i4 E( A: S! q4 r6 I3 u
  1751. ;com.code_page=6 f( X0 @) c8 C7 W: y9 h2 Y

  1752. 4 T' m+ Z: _6 g2 H, p
  1753. [mbstring]
      p% N3 ?" H; Q
  1754. ; language for internal character representation.
    " M, ^$ O# r9 L1 {
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.9 X- n; \4 Q% I  V! ~" K7 l3 b
  1756. ; http://php.net/mbstring.language
    . ^! e9 b$ R2 o. [2 a$ T. h
  1757. ;mbstring.language = Japanese5 h! ]0 y* w* o4 _0 |- E3 O* r- |
  1758. 3 p/ F8 |1 A8 V
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 a2 m8 z' u1 w6 `$ B6 X% w
  1760. ; internal/script encoding.
    ; C" A, B- s1 }' d( b, q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)2 Q) g. n( Q2 v, a0 K' B
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ i; i! k4 d" D: j% z+ V2 ^; m5 B
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' `, b) I: H! t7 e4 p
  1764. ;mbstring.internal_encoding =
    7 {, J4 w3 T* N$ n9 o1 X% Z
  1765. ( ~3 B  ?. X# t! a
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) e( _+ W  m% D# H7 F
  1767. ; http input encoding.% D  T8 h1 k. {( a3 x1 d& p
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    : n2 D6 L" ?& N+ W
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.% m/ }( r' ~2 V( J: v
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    1 ?* @: C7 g: V6 K' V8 M
  1771. ; http://php.net/mbstring.http-input9 |4 \' ?$ D( p1 g  u. C- u: X( |: w
  1772. ;mbstring.http_input =
      C9 l6 V0 a2 g% i9 q" F

  1773. : ]+ y  z* @0 S9 A, e
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) u4 ~' v$ h0 l
  1775. ; http output encoding.
    , \/ {$ l. k/ I* i7 v
  1776. ; mb_output_handler must be registered as output buffer to function.
    * L! t' E" |; K& o. u# h
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    4 Z& W+ |8 p( L3 G2 S" i! L
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    : n  W6 r# w7 l" z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set4 r; f) W7 ~5 n' e
  1780. ; otherwise output encoding conversion cannot be performed.2 \9 _4 ?' e* m  N' a3 v
  1781. ; http://php.net/mbstring.http-output
    - r& |/ J: g0 w" J2 ~, Y" i
  1782. ;mbstring.http_output =
    - L! D6 d' v' `- H1 D
  1783. ; ^! h" r# A( `9 s- w
  1784. ; enable automatic encoding translation according to% j& d6 `( R% h4 _$ A6 K5 Q$ t9 H
  1785. ; mbstring.internal_encoding setting. Input chars are+ @7 a" @) {  o  d
  1786. ; converted to internal encoding by setting this to On.8 M- q3 u2 s  ^
  1787. ; Note: Do _not_ use automatic encoding translation for# U: l6 I( P( T# I, O5 _7 A4 l
  1788. ;       portable libs/applications.
    / z4 q* [3 ^3 G- N4 l% w) E! ~
  1789. ; http://php.net/mbstring.encoding-translation7 M( G  k  x9 |( r. D) P
  1790. ;mbstring.encoding_translation = Off
    3 R0 q9 W( M, y/ |+ c# I

  1791. # {5 U7 L6 I: c1 \6 P+ P
  1792. ; automatic encoding detection order.
    4 u3 f8 F2 ]: r+ c4 F! y$ e- d8 u9 _
  1793. ; "auto" detect order is changed according to mbstring.language$ G2 o) x0 P  U
  1794. ; http://php.net/mbstring.detect-order5 w1 G3 ?( \1 `6 g7 w
  1795. ;mbstring.detect_order = auto
    ! W: M- J. |  H  b) ~& w% L
  1796. . }+ |7 ?) x" b
  1797. ; substitute_character used when character cannot be converted5 Z3 {0 l8 @5 Z+ H& H8 P1 ^0 ~
  1798. ; one from another
    ( Q9 e3 h7 k, t4 w6 i9 R
  1799. ; http://php.net/mbstring.substitute-character+ ]: D+ P* W/ l8 g/ x: p
  1800. ;mbstring.substitute_character = none' k4 b: a8 \) S, _/ [; R* m  a, F

  1801. * y5 ~* \1 h5 N# V
  1802. ; overload(replace) single byte functions by mbstring functions.5 N1 p$ p4 W3 n- f
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    8 O5 [$ A3 ^  w, Y1 Q5 [( z
  1804. ; etc. Possible values are 0,1,2,4 or combination of them./ g4 n0 H& y% P' [
  1805. ; For example, 7 for overload everything.' H# D( }, A% U3 n" [
  1806. ; 0: No overload
    * j+ J1 q  w! f0 t) m% e
  1807. ; 1: Overload mail() function8 F' W* t9 \0 b7 `
  1808. ; 2: Overload str*() functions
    * K4 a0 Q0 r, I
  1809. ; 4: Overload ereg*() functions
    " F1 D$ b2 i4 |4 h( @! _2 y
  1810. ; http://php.net/mbstring.func-overload# Q+ n% g. o4 m% ~
  1811. ;mbstring.func_overload = 0
    : P% V$ S* Y% J. Y7 I
  1812. 5 V+ G5 M- K5 b5 F
  1813. ; enable strict encoding detection.7 e7 g2 N7 W' I1 F
  1814. ; Default: Off( H' n" }: S; z( x1 o" c1 C' B
  1815. ;mbstring.strict_detection = On4 O* P- Z! u7 @1 @5 N7 ~" Z3 ?
  1816. " x' @/ k6 @. g4 z
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    4 `! _5 l% D, o- `/ \$ F4 O( R, Z
  1818. ; is activated.8 h7 n* H  {) M- o: l
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 ~5 I1 G* T% F7 T
  1820. ;mbstring.http_output_conv_mimetype=3 L  @2 |6 a/ z7 [
  1821. ) n5 X5 U/ u4 |! C
  1822. [gd]
    " e4 }+ R" g; h( i( Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    + C% Q, v4 ~8 b
  1824. ; a gd image. The warning will then be displayed as notices
    ) W& M6 v' n" E  `/ L! ~( T+ |
  1825. ; disabled by default
    : X" S+ N- v6 \8 J
  1826. ; http://php.net/gd.jpeg-ignore-warning4 t" v" l# I7 T
  1827. ;gd.jpeg_ignore_warning = 0
    2 p! p  U& ?7 q) U
  1828. 8 y0 d) E% ?* e0 n% ~9 i
  1829. [exif]/ P2 d7 g  h  s
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.4 n2 [9 ?3 @" h% E2 L, e; T0 A1 s
  1831. ; With mbstring support this will automatically be converted into the encoding
    ! c: B) N" I% P. C# O9 B6 H4 P; ~
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " `4 g% k% i" h' y! N& A2 m
  1833. ; is used. For the decode settings you can distinguish between motorola and% V- ]+ z& T+ ?
  1834. ; intel byte order. A decode setting cannot be empty., o7 |  j% {5 ^! `
  1835. ; http://php.net/exif.encode-unicode
    / H  ]7 I. R$ X3 P& R
  1836. ;exif.encode_unicode = ISO-8859-152 z$ Z6 }$ r+ l

  1837. ( W) C& u0 w6 c0 Q6 C5 S
  1838. ; http://php.net/exif.decode-unicode-motorola
    ( K7 j. y, Q4 b& p' S4 M3 P5 h3 T
  1839. ;exif.decode_unicode_motorola = UCS-2BE8 i5 P, {) c5 w. F; ~

  1840. 8 Q3 [4 e& E# S. s0 {2 X3 ^, q
  1841. ; http://php.net/exif.decode-unicode-intel
    , N# C7 P# J& ~6 H* S' k
  1842. ;exif.decode_unicode_intel    = UCS-2LE; K2 b" M/ O6 S; Q9 R, C1 \
  1843. ( I/ n$ F, P6 P( i" h
  1844. ; http://php.net/exif.encode-jis3 f) H% v  J8 S' `5 j7 a* V5 s7 O
  1845. ;exif.encode_jis =
    : P9 s; X7 j( }5 ?

  1846. 1 Q* B7 g! G/ @! j. |3 s+ u% b
  1847. ; http://php.net/exif.decode-jis-motorola, |7 U4 G7 Z  H9 M$ D' F
  1848. ;exif.decode_jis_motorola = JIS
    1 [7 u0 {9 J: }8 m

  1849. & Y* A* M; y& v3 T8 i4 A7 |
  1850. ; http://php.net/exif.decode-jis-intel
      C: i% R& C8 f! ~! {5 M
  1851. ;exif.decode_jis_intel    = JIS
    0 ]2 |# [3 ]! w: W! V& @/ W

  1852. ' ^, J9 b' [1 A
  1853. [Tidy]
    ' f; K8 ?) L4 B2 u* m
  1854. ; The path to a default tidy configuration file to use when using tidy
    ; I; u- I5 y# T, o+ U
  1855. ; http://php.net/tidy.default-config
    ! x- b* M2 M1 I* q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    * D; s& S# Z: E3 H- r) z8 p
  1857. ! K8 M" D4 u7 ]5 s$ J
  1858. ; Should tidy clean and repair output automatically?
    % B+ q" a9 U, _6 G! |
  1859. ; WARNING: Do not use this option if you are generating non-html content# K5 A, \# @3 q! k/ Z3 E
  1860. ; such as dynamic images
    / y9 x$ P$ M) E) S* n. Z
  1861. ; http://php.net/tidy.clean-output/ _% V& H) J4 ], O: u
  1862. tidy.clean_output = Off7 F4 u5 R3 _: q

  1863. 7 I" a8 c$ h' k
  1864. [soap]0 P6 d; @) A! n2 B) r5 q( T
  1865. ; Enables or disables WSDL caching feature.
    " U. r- _( B; R1 E
  1866. ; http://php.net/soap.wsdl-cache-enabled
    7 _. U/ A  y0 B1 }- L
  1867. soap.wsdl_cache_enabled=1
    7 v  x2 U+ f0 e

  1868. : t& t+ r( q! i  P% ]; O
  1869. ; Sets the directory name where SOAP extension will put cache files.3 ]: i0 Z& Z# ^/ P4 O9 Z
  1870. ; http://php.net/soap.wsdl-cache-dir
    * x7 p" ~8 N! J" P1 D5 Y
  1871. soap.wsdl_cache_dir="/tmp"
    ! l3 D$ s# E) z, E8 f% ]* c- l

  1872. / R  w' j/ }3 W& f7 h
  1873. ; (time to live) Sets the number of second while cached file will be used
    , o4 q; H* E0 [! I- u/ V5 F; H# U
  1874. ; instead of original one.
    0 l/ V1 K; q+ l; n0 v  I9 I" S
  1875. ; http://php.net/soap.wsdl-cache-ttl- s9 H" Y! v% H' ?
  1876. soap.wsdl_cache_ttl=86400
    * H/ O, a* G) ~! _  A

  1877. ; W$ p0 C& m# Q' F) F- Y; _
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; H+ X! X' ?% [
  1879. soap.wsdl_cache_limit = 5
    $ K3 d9 C% p2 D0 u. x; I& w
  1880. ) Y4 j  D- z. S  u& b; g
  1881. [sysvshm]
    # N, q) \+ B5 o9 ^: d0 D
  1882. ; A default size of the shared memory segment* \0 p8 E! ?" T3 A# l5 F& a
  1883. ;sysvshm.init_mem = 10000
    : |0 \' R/ P: a, G
  1884. & F5 ]) N3 Y* d; K/ [
  1885. [ldap]
    & M/ c3 U' u0 R+ j
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    8 F" P: X8 w( q
  1887. ldap.max_links = -14 [* i' Q/ M+ C0 N4 V. o

  1888. 2 J9 B# I+ y& l4 P+ e% n! C
  1889. [mcrypt]3 Y& \' I# r) s$ u- ^: t% e
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open; X" h4 \( Q9 {
  1891. / d9 a; f7 }7 B! {$ D
  1892. ; Directory where to load mcrypt algorithms% z3 ~$ B# H0 y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ A9 @1 U# ]5 P5 f- r$ j
  1894. ;mcrypt.algorithms_dir=* u2 c  T; h6 M2 A% m

  1895. % L3 [0 O: f, u6 w; A$ Z
  1896. ; Directory where to load mcrypt modes3 P, y! m6 w" S
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( Y$ K9 p% j. S% ~/ U
  1898. ;mcrypt.modes_dir=
    3 L7 |/ m, T/ S4 h& c
  1899. / G: C+ @2 K- `% `. _% e
  1900. [dba]
    0 p$ F3 T' L5 q
  1901. ;dba.default_handler=9 m" u$ {4 n( ~4 K9 Z! Y! E9 P

  1902. * B: |$ P& Q0 X  |: K
  1903. [opcache]$ J; Q* t! ]- Q0 \% C- Z/ i
  1904. ; Determines if Zend OPCache is enabled! W6 g, w& U: Z4 R& c
  1905. ;opcache.enable=0) k) N' w: Q( {# y) o/ ~% r
  1906. 1 Z( ]4 p( D1 I3 B; {! ]4 {$ S
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP; S4 v9 q+ Y$ L* F, e$ [( a
  1908. ;opcache.enable_cli=0' u. Y3 w3 p# P( L4 @* b& b; z
  1909.   a) o0 S, k1 g0 U! r
  1910. ; The OPcache shared memory storage size.- r) \$ J- V" p4 V# y, l
  1911. ;opcache.memory_consumption=64' q! J5 L! [2 Z0 m9 |
  1912. 4 V. c( `# Q' @. k2 W
  1913. ; The amount of memory for interned strings in Mbytes." k7 i" T9 h& b: F- V
  1914. ;opcache.interned_strings_buffer=4; Q& v7 V2 d$ w' @2 ~- F( F2 s

  1915. 5 H, U; X3 z! n+ _1 G
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    " W/ M( ~; V& N1 B6 n( ]7 k  Y0 X
  1917. ; Only numbers between 200 and 100000 are allowed.5 F3 M: [+ X$ r) K
  1918. ;opcache.max_accelerated_files=2000
    ' a9 ]2 w+ X( d6 _( e
  1919. 2 b9 k1 X4 V! E) u% o" ]' C/ o& D
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    - L! o8 y3 m/ `
  1921. ;opcache.max_wasted_percentage=54 |5 ?, U1 ~3 r

  1922. 7 H0 J3 ]) y  S* |3 r
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 r0 K7 d. W0 f, e
  1924. ; directory to the script key, thus eliminating possible collisions between
    / g* p' }' r3 v/ Z! @% ?# x
  1925. ; files with the same name (basename). Disabling the directive improves
    4 n5 Y2 r! Y: ^
  1926. ; performance, but may break existing applications.
    * ?5 {5 c$ u5 K1 [( v
  1927. ;opcache.use_cwd=14 h* T( a4 Y) [- S& C0 ]* \& I$ t3 e
  1928. 3 {7 L6 A8 ^* T$ B% M
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ' H- x) X* `& V7 @( Z
  1930. ; webserver for changes to the filesystem to take effect.
    3 s! M; R; p& q$ i; o
  1931. ;opcache.validate_timestamps=1
    ) _" V( P" `+ F) Q6 _
  1932. 3 x5 w3 {5 K" k( n4 e8 J
  1933. ; How often (in seconds) to check file timestamps for changes to the shared* [/ ^. K5 w$ D( v
  1934. ; memory storage allocation. ("1" means validate once per second, but only# v6 `$ K$ U$ a; p
  1935. ; once per request. "0" means always validate)
    # Q4 `! L8 N' \
  1936. ;opcache.revalidate_freq=20 M. r2 P5 M. X& @0 j
  1937. . _. _6 Z8 p: D% n9 s3 z. o; n# W+ ~6 V
  1938. ; Enables or disables file search in include_path optimization
    / r$ j$ w. S5 c# ]
  1939. ;opcache.revalidate_path=0( b: b6 s" s' P$ h4 S! y

  1940. ; P8 ^: b" U0 s3 v7 h
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # E: D; F+ a7 H4 X! R& A8 x8 ~
  1942. ; size of the optimized code.4 _8 V, z/ ?  n1 D" v4 y4 ?
  1943. ;opcache.save_comments=1. D% d0 B# R& _' O3 f: K+ ]

  1944. ( ]- U, i( }: A5 C8 {' N: K: v
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"7 }3 k5 ~( v% V, A) \
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    / l9 k( f" N$ N) c0 h$ X
  1947. ; that don't need them anyway.! `9 s* W1 r5 B# q
  1948. ;opcache.load_comments=1
    9 W& {8 f: h! o: z9 |+ s
  1949.   R" g- Y+ D: r7 I
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code- O2 s1 t- g- P0 Y0 O
  1951. ;opcache.fast_shutdown=05 A- T6 z9 P) h9 O. g& I' ?" V
  1952. 7 G7 G: H2 N; @+ k
  1953. ; Allow file existence override (file_exists, etc.) performance feature.. U. ]* H5 ?7 R7 q! q- k  T
  1954. ;opcache.enable_file_override=0, p) r" u' H% `0 a! {/ p. V6 o/ [4 |
  1955. 2 C# X9 e; F6 T' F& d6 ^" O1 q
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache* y6 R. f& l4 H
  1957. ; passes6 c! I7 }; j9 r" Y9 A
  1958. ;opcache.optimization_level=0xffffffff% W& E5 f, s4 `- a; P( k- _' X

  1959. ! u7 Q1 C) E% q9 t: B" y
  1960. ;opcache.inherited_hack=1
    : G' |, l! K) B8 q& t; x
  1961. ;opcache.dups_fix=0
    , N- ]- `  F* y2 E7 f

  1962. / [" f5 C2 A! `# Y" |
  1963. ; The location of the OPcache blacklist file (wildcards allowed).6 {( Z" X# y$ C- m- ]5 n: ~+ _
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    4 k4 v& \: Z+ v1 x) Z, T2 J
  1965. ; that should not be accelerated. The file format is to add each filename  z( A$ D2 r/ x6 h( i8 i
  1966. ; to a new line. The filename may be a full path or just a file prefix
    " g+ b+ h- ~3 |& R% _% p
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' O0 r( d) F) u: C" w, ?
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    8 A, x8 ]5 J9 b' ?
  1969. ;opcache.blacklist_filename=
    ! `! f  J+ ^" @- E: B) M
  1970. , i. Y  F" }+ r; l& y- I% Z
  1971. ; Allows exclusion of large files from being cached. By default all files2 v) [% M" X4 F3 }
  1972. ; are cached.
    # n( p$ t4 W6 t2 J+ r7 Z
  1973. ;opcache.max_file_size=0  M9 k& [0 d) w9 C- I0 H

  1974. ; L) C! C- p( @9 Z; l; O+ l
  1975. ; Check the cache checksum each N requests.
    " n1 E2 }& D! g- u; Q, P( @
  1976. ; The default value of "0" means that the checks are disabled.$ h, `/ u4 c8 m# m/ M$ [) F
  1977. ;opcache.consistency_checks=0
    - U2 |1 {! r4 e$ l9 _- A' B; n3 G" `3 ?4 N
  1978. # K% s% D9 O" D  Q8 n4 d1 ?
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- B4 t2 m: T. P6 ^  F3 ^3 O9 t% d
  1980. ; is not being accessed.# f* ~7 e! `) U) B; A& W+ j
  1981. ;opcache.force_restart_timeout=180* p" e6 d3 i9 S4 U6 H  N

  1982. 3 L1 k$ D1 ]  f7 V/ b2 s# H
  1983. ; OPcache error_log file name. Empty string assumes "stderr".6 }- W% j1 i/ f* ?! g4 C: u
  1984. ;opcache.error_log=
    . v' o& w/ q) E# o& R

  1985. . [* v/ P6 E! X
  1986. ; All OPcache errors go to the Web server log.
    6 E* w5 P. [: B% n4 E
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    5 y9 q% j$ F! j" B& c+ W1 @% U+ p+ A
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
      N/ i- A7 F8 D" V
  1989. ; debug messages (level 4).
    ( W2 `( V3 R/ _; u$ G+ O+ K: }
  1990. ;opcache.log_verbosity_level=1
    3 @. ]( A2 w4 [3 Y
  1991. 6 _4 L/ E; H- w; w3 B! w2 Y# O
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  I# Q* V+ M. x5 `4 C' ]
  1993. ;opcache.preferred_memory_model=, w0 A' }1 G4 a  F/ S+ c% M. _3 P

  1994. 4 G  e8 x! q- V0 j7 J# [
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ; E5 T5 I; l8 d4 O  ?0 t
  1996. ; Useful for internal debugging only.5 |2 \2 r3 v/ h
  1997. ;opcache.protect_memory=09 o1 M4 R9 L2 [% ^4 R( J
  1998. 4 U+ P7 @) @1 m7 V- O
  1999. ; Validate cached file permissions.8 v6 k/ Z' j, i: j& m% s$ J# T
  2000. ; opcache.validate_permission=0
      E- n2 {8 g& U. l2 M3 d" L# n5 Z

  2001. 5 y9 `7 b7 |  \1 y0 e
  2002. ; Prevent name collisions in chroot'ed environment.
    & W& K5 {/ y/ @& [0 h) z
  2003. ; opcache.validate_root=0
    5 T3 _: m( w9 }" n  F4 i% v+ j/ @* D: r

  2004. # I) a2 `6 c7 e1 B' {& P
  2005. [curl]. p, p+ M; D% v4 p( M
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an! I# @( v2 e3 ]
  2007. ; absolute path.
      |" Q* D' ?$ r4 \; F
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt& x& R) \4 u& D3 [; F8 i

  2009. ! H1 i$ {7 F- l  V/ Y6 ^( L' z
  2010. [openssl]
    3 j4 \/ m4 v" |
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem# z" I$ @9 v! o3 P# B
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    5 Q9 L. O# |4 E  ]  w; v: c9 W
  2013. ; not specify a value for this directive as PHP will attempt to use the
    5 k, d3 ^2 S4 Z, m3 I. C, A
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    5 F* S" n( }% s" |
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    : L" H  ]% e* u: G8 C$ ]# w
  2016. ; option.
      }" l+ u# S4 U( E8 P% m8 r+ C
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% o' y1 n* P+ E& z. s7 N- O1 w

  2018. , t+ N+ x1 ?$ e
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' ]$ \5 d; e* D
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ; w$ a" F& v0 Y& I7 P
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    0 h: U% B, \, T5 V" s: n! q0 \! `
  2022. ; Most users should not specify a value for this directive as PHP will
    9 {) H1 p+ U0 H# y
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,- ^+ A# L5 n7 b% J0 B
  2024. ; this value may still be overridden on a per-stream basis via the "capath"& K, S' J4 E- I) M
  2025. ; SSL stream context option.; ^8 J9 R$ w# R" J5 p! w2 L
  2026. ;openssl.capath=$ |- m- }7 X) l+ Y/ B1 m9 o

  2027. : G$ d+ v5 w# W. \
  2028. ; Local Variables:$ @& a6 U( I7 ^) L- G" f
  2029. ; tab-width: 45 l( O0 i: W8 N' R
  2030. ; End:1 U6 x6 l/ Q# y

  2031. % D* z" @/ N- l5 e4 M+ z; Z
  2032. ;eaccelerator
    2 C7 l4 w: n6 U7 `% f
  2033. & h* s6 F2 x* Z+ r! }" [" B; Q
  2034. ;ionCube" p2 L1 V7 A* ?% @/ i

  2035. 6 U+ F; o& X( F; J) _8 f" S; y
  2036. ;opcache
    ! L. G$ E% y$ S

  2037. 9 N+ A- Y6 B' B5 s- ~; D; `1 O2 {
  2038. [Zend ZendGuard Loader]9 X. `7 [$ V3 P! t# n* `6 b
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . t  R( C( R9 Q3 L
  2040. zend_loader.enable=1
    5 q* I7 Z5 G& k
  2041. zend_loader.disable_licensing=0
    ( _5 L3 A: u) J5 ?
  2042. zend_loader.obfuscation_level_support=3* A8 W$ I. k9 J2 u! g1 ^
  2043. zend_loader.license_path=8 B0 z* h+ ^6 a, I. Q: |9 l
  2044. $ q$ p- H3 t; f1 ]! F2 y! i; W
  2045. ;xcache
    & Y" ]& S* M& d, L: I/ B
  2046. ( ?$ p* G/ e  `( D, \! B
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
# Y" I7 i! A/ {- c* \5 l8 X1 C- n) h5 m3 K" f6 I
8 l. ?% b+ O/ Z. l% ~
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
$ @7 B- C! s1 c* ~+ W; r. e, T2 I% E3 {" e. S
Discuz!程序版本选择:
( r0 v# Q/ S; U站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
& L, a, b' x* `7 Z不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:9 D+ S3 \2 _  S
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
8 \( W5 L% M1 H) b
) U. v8 o4 k" f/ B$ i7 P- q8 gDiscuz!插件模板版本选择:
- f+ j$ k% q4 g1 J; e. B  y. Y很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,$ N$ W( o; g0 r) U
针对这个问题做个统一的普及:3 E2 M4 t9 a9 X7 A9 a
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
. b8 c$ l, s/ K4 g
9 `7 q+ y) Z! X所以( ~  t: b4 s  e( z. K* m
适合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的二级域名。9 E" k/ z1 i* v+ U4 E6 B1 Y1 y
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
1 R8 u) Q7 a) `注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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