分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
0 Z) D& q4 M0 ]) @4 u$ o7 c% _" m& g& W; Y
  1. [PHP]2 W0 @: J. ?: E$ s1 C3 t( d- f

  2. 5 p  M4 }% [+ @2 A1 ~
  3. ;;;;;;;;;;;;;;;;;;;
    3 H, ^- ?5 J3 Z# E
  4. ; About php.ini   ;  W) f$ T) y* ~$ ^1 [
  5. ;;;;;;;;;;;;;;;;;;;( r+ A" r; s. ?" R
  6. ; PHP's initialization file, generally called php.ini, is responsible for/ K& F; E3 h$ i" _5 l
  7. ; configuring many of the aspects of PHP's behavior.
    ' g: x* R, F+ M, s" [( n5 V( e, e" {

  8. 8 t  ~- w' `3 q
  9. ; PHP attempts to find and load this configuration from a number of locations.
    . k- o1 v8 a* {- ~7 i) x( E" ^
  10. ; The following is a summary of its search order:
    # b# Y. W" R% k- x
  11. ; 1. SAPI module specific location.
    , I7 X( l1 [+ n6 [9 D# v' u" P6 j- ^
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ; T  b- c% y( _  {/ O& K
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)/ ?9 d1 L  M: q3 |6 ^7 `
  14. ; 4. Current working directory (except CLI)
    ) `# A/ S0 V9 F! m( W- ]
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP9 a" x& q3 b8 ]4 c# P
  16. ; (otherwise in Windows)
    * Z- m/ d$ P9 g# G( q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the7 `1 d# L6 q2 z  }5 o
  18. ; Windows directory (C:\windows or C:\winnt)1 A+ S: u  S6 a, J, J
  19. ; See the PHP docs for more specific information.
    4 v6 C% }$ Y( @) N) ^
  20. ; http://php.net/configuration.file! [' N0 Y( `0 x2 [1 a

  21. 6 l3 d( n3 b1 ~/ L4 j
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 e/ L/ \; V: Y' e3 Z! S6 T
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 b1 O$ _) k" j( `8 Q+ d
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though% U1 a" ]/ T$ l8 x# ]
  25. ; they might mean something in the future.: @: {8 u; t" n/ D, x0 S5 w1 d. t* p

  26. 5 _7 S5 n1 |8 [" q
  27. ; Directives following the section heading [PATH=/www/mysite] only# ~  O" i; `! O- G: K- P
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 _# X, _& n0 d) B$ E1 s* d) {0 ]
  29. ; following the section heading [HOST=www.example.com] only apply to
    1 j$ G+ Q. B$ {6 h9 U* F7 X
  30. ; PHP files served from www.example.com.  Directives set in these
    ' _3 q. \& n4 k: j2 L+ p
  31. ; special sections cannot be overridden by user-defined INI files or% A& O" M' G& T/ l1 ^' n% Q1 \
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# r  a3 C7 c5 |# V9 H
  33. ; CGI/FastCGI.
    ' _" D% ~: s% ?( ?% K
  34. ; http://php.net/ini.sections! R6 l% ~. I- _% T
  35. ! X/ O& A0 ?1 a0 A* ]1 S0 v& x4 C
  36. ; Directives are specified using the following syntax:
    , N: I. x$ {: K3 Q1 C  S( U( N
  37. ; directive = value
    : O4 s0 A& Y' T. T6 _7 Y" v
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . I$ S0 i9 u7 f
  39. ; Directives are variables used to configure PHP or PHP extensions.$ {4 J% R2 z5 T8 j
  40. ; There is no name validation.  If PHP can't find an expected/ T" O8 ?& W( n+ M' D
  41. ; directive because it is not set or is mistyped, a default value will be used.. o, ^8 U+ |) [1 x! ^
  42. / G' y; H# C0 i0 j% S- ~% Z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 P& h% d: W" g
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression, \. X# x6 W6 \  g1 L4 h, w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a  }5 N: d) w2 W7 |6 k9 A8 r# h9 y
  46. ; previously set variable or directive (e.g. ${foo}). z" L8 W* P4 S8 s4 n% A$ I; Q( A. `0 Z

  47. ; |: N* a' Z% Y# N5 C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:" K# L( \4 ?  y) q2 r3 T
  49. ; |  bitwise OR
    4 e! E. W8 ^' @4 g. I# x0 o: o
  50. ; ^  bitwise XOR
    / }, K: d1 z: H4 U, L
  51. ; &  bitwise AND- R$ b( {2 g. |- {* [- U
  52. ; ~  bitwise NOT( H# x) l1 X2 K: D" W4 r
  53. ; !  boolean NOT+ L. }6 Y+ {, A! N% _. a$ [

  54. $ k  E/ }$ r  c! v+ j2 E  F
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    3 w% o# U, B% P$ w5 W* ^9 |0 K, G' `
  56. ; They can be turned off using the values 0, Off, False or No.; J* c1 h0 z0 L2 [) a( x) M% z$ k
  57. 2 t! n* C2 \5 H0 ?" S5 w
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ v: T& K1 m9 ~# M; t4 X
  59. ; sign, or by using the None keyword:! ^- O9 R. C# ~2 V/ z% p

  60. ; D8 j4 ?+ Y0 X' R* }
  61. ;  foo =         ; sets foo to an empty string7 g/ _' x  M6 a' Q6 J) d! ^
  62. ;  foo = None    ; sets foo to an empty string
    9 T7 H6 J! Z8 W1 S
  63. ;  foo = "None"  ; sets foo to the string 'None'
    9 ^* p7 I: m! l, \; ^
  64. 5 v# y) f& s* e! N& `; M
  65. ; If you use constants in your value, and these constants belong to a
    5 n/ }5 x; w3 V6 U8 }& H9 w; T
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ' x. n1 l0 J* y. v1 `2 e
  67. ; you may only use these constants *after* the line that loads the extension.
    % [# v/ V% s" n- p+ a; T% c' ?

  68. # S& `3 @2 }3 b; I, \: M
  69. ;;;;;;;;;;;;;;;;;;;
    ; l) Y, @$ o8 o  q+ ^( J( e0 `
  70. ; About this file ;. A, s. U2 }4 p8 T4 [
  71. ;;;;;;;;;;;;;;;;;;;# t' D7 f8 v  v5 z1 i8 |
  72. ; PHP comes packaged with two INI files. One that is recommended to be used& c$ f4 R. h8 X
  73. ; in production environments and one that is recommended to be used in
    / v; Q' y7 _' F1 l% w: s( [1 [' I; @
  74. ; development environments.
    8 z# A1 Q2 P+ z0 S$ ~1 u9 R4 l1 o

  75. $ y# o+ L2 F5 A- ?( Z
  76. ; php.ini-production contains settings which hold security, performance and" j; Q- i6 y! H9 N! T
  77. ; best practices at its core. But please be aware, these settings may break
    3 n, p# F1 O4 n% m) x. C, U
  78. ; compatibility with older or less security conscience applications. We
    1 ~0 c9 l  C9 y4 v
  79. ; recommending using the production ini in production and testing environments.
    ! [: y2 d' {0 M& j- O" |
  80.   c3 v7 G( \; \2 q! J$ `
  81. ; php.ini-development is very similar to its production variant, except it is  j. M( O# ^$ s# U9 n; ~7 H5 T
  82. ; much more verbose when it comes to errors. We recommend using the( V  u4 i) E0 p5 l( ~8 N
  83. ; development version only in development environments, as errors shown to2 |1 @/ r( C' I2 k: w
  84. ; application users can inadvertently leak otherwise secure information.
    2 n$ j) S: |* ^

  85. & |6 k3 D" X! F7 b! B
  86. ; This is php.ini-production INI file.+ [0 G/ w/ D& o; i1 L7 p

  87. * q$ r' q+ }; y+ ]! A! V
  88. ;;;;;;;;;;;;;;;;;;;8 \7 M8 A, {# g+ O5 [
  89. ; Quick Reference ;" t0 I- p" o/ E) n* O
  90. ;;;;;;;;;;;;;;;;;;;& z6 {) e# H. E7 e+ o6 j" o4 c
  91. ; The following are all the settings which are different in either the production) v2 W3 _9 F# h
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    1 F) f/ T3 b2 E4 [& @% P. L) _2 p
  93. ; Please see the actual settings later in the document for more details as to why+ Z( M; j: v, ]
  94. ; we recommend these changes in PHP's behavior.
    . z8 y1 ]2 g5 q5 O

  95. * ]" _* A. V4 F# c# U
  96. ; display_errors
    ! x4 k$ ^/ \0 w; Z( @
  97. ;   Default Value: On0 c/ E  E. \5 B
  98. ;   Development Value: On1 u; ^9 P3 F3 Y+ @6 ~' k
  99. ;   Production Value: Off
    ! _5 r7 V* t* I: z+ F' w
  100. * K  c9 T0 `) H) \  G0 l" i0 S
  101. ; display_startup_errors
    ( g' p( {& s; t/ a7 j& F5 s! X
  102. ;   Default Value: Off
    + `9 a0 N3 g" {5 Z) V5 L
  103. ;   Development Value: On3 f3 ?- C" ^9 |3 \9 L, P7 k
  104. ;   Production Value: Off0 l, @& C+ [9 @2 h$ I* G
  105. 4 U0 w; G  F6 J: `
  106. ; error_reporting
    & R  m( f$ p0 s2 V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      e$ h. ~4 I9 i, k: \
  108. ;   Development Value: E_ALL
    ( O, c7 q) I, f3 i, ?7 w# ~. Q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 S& Y" e/ c2 C" w8 ~
  110. / e4 O) T- N( C9 n3 e7 j1 S8 U
  111. ; html_errors
    $ p2 M: g: w( x. `8 q9 R! a0 o3 b6 _
  112. ;   Default Value: On6 \% c7 [) k5 ^- C  k
  113. ;   Development Value: On, w+ a: f2 T, w* j1 }" H4 {( f* t
  114. ;   Production value: On
    $ R3 ]: u0 L1 Y; F* _5 U/ I: u# L

  115. 4 v  S- m' o$ m+ R' A
  116. ; log_errors
    % F; \0 N; U. e. E) D1 C
  117. ;   Default Value: Off
    2 U! y& X4 V* h$ G% R
  118. ;   Development Value: On
    3 Y  q* R8 f6 B. a! O
  119. ;   Production Value: On
    : H. C0 {- V6 x( G
  120. * S+ X: `7 T7 _
  121. ; max_input_time
    / }; b8 u- Z0 O) u+ ^
  122. ;   Default Value: -1 (Unlimited)
    6 A" p6 M* |# f! B) R5 K$ d: v
  123. ;   Development Value: 60 (60 seconds)
    ( q. e+ w$ ?7 @3 {/ \; q
  124. ;   Production Value: 60 (60 seconds)" }" e% `* _( k, y

  125. 6 u0 d) x2 o! `
  126. ; output_buffering
    - x9 Z$ [( r# Z* d$ D/ A3 ~: _
  127. ;   Default Value: Off: k: c1 U3 s+ v6 `
  128. ;   Development Value: 4096
    3 W5 z* }# E. \! P+ W4 m: c, G, G
  129. ;   Production Value: 40960 d$ l# u8 l! ?# i
  130. 1 P; C( |3 Q1 g- Q2 }+ K+ K9 Q
  131. ; register_argc_argv
    8 h1 I* {% K$ c" [
  132. ;   Default Value: On/ R" K% e; K5 ^6 n4 w3 J% p5 j( ?
  133. ;   Development Value: Off
    - ~% n& P; A& v  ~3 I! b; U
  134. ;   Production Value: Off8 B! p2 n  Z% @2 E/ B, x+ b; C2 K: g
  135. 5 j$ D6 _3 c: W) s8 q" W
  136. ; request_order
    # n! G$ y3 J* s" ]3 I+ B
  137. ;   Default Value: None/ G0 f4 R+ f. t) e
  138. ;   Development Value: "GP"+ u0 a+ D& w4 \; |# p- B2 K- D& ~
  139. ;   Production Value: "GP"7 Z3 W5 V, O8 D
  140. ; x! s) {. `2 c7 m- [& \; h) t/ s0 J0 y
  141. ; session.gc_divisor0 a, ~0 |. U- z: E- n+ R  d' l
  142. ;   Default Value: 100  P1 F0 _7 i( \1 [" Q; i7 z
  143. ;   Development Value: 1000
    + Z2 h' f( a" c
  144. ;   Production Value: 1000/ B3 v# h/ m( P, z+ ~" t; ^$ `
  145. $ N8 z1 ]+ _. ]3 a
  146. ; session.hash_bits_per_character
    + Z: H8 ^. p, O7 f
  147. ;   Default Value: 4& |* m" g- _9 {% m( @
  148. ;   Development Value: 5- K; U2 |) V5 ]' V9 W$ D
  149. ;   Production Value: 5" H) h. {2 W! C/ A
  150. . C* Y6 T0 `- K
  151. ; short_open_tag
    7 {/ D# Q% r6 w( q, W
  152. ;   Default Value: On
    7 W0 R* S2 ?. _
  153. ;   Development Value: Off
    # _# b- a3 r. k
  154. ;   Production Value: Off
    + ^5 r( Q& y* x3 P* G9 w

  155. 4 J. I- E) x6 M0 W; C
  156. ; track_errors: G) \" t+ w* K. E# @$ Z& f
  157. ;   Default Value: Off
    3 N0 k/ F  U, c& Z- w$ i
  158. ;   Development Value: On
    % q+ l' l) w$ J! v, g
  159. ;   Production Value: Off1 k7 C5 D3 b- m9 P
  160. + v' S8 k3 b% \
  161. ; url_rewriter.tags* J' T9 I7 V7 _5 B8 m! {( j
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 V. k- f3 v9 O4 z9 q6 c' }' i
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  w  o% l; T9 w/ {7 n) ?
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 i" F4 X3 m3 y) C5 U0 v

  165. % T5 ]9 q. w9 x- y
  166. ; variables_order
    9 J" u* t1 m4 ?
  167. ;   Default Value: "EGPCS"
      |  X" ?' j9 `! M/ t) j' b
  168. ;   Development Value: "GPCS"7 j* U4 [4 ^, s8 t+ C$ {
  169. ;   Production Value: "GPCS"
    $ e' _/ r, K7 D" K0 g' C; J

  170. - A5 A! E, S# ?( S
  171. ;;;;;;;;;;;;;;;;;;;;: h, t/ m; R' W) t
  172. ; php.ini Options  ;
    , D* L+ M! M4 z+ S9 V$ R% a
  173. ;;;;;;;;;;;;;;;;;;;;4 c' `3 x% s3 i( R) H, ^
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      e* M/ l9 ?4 c7 u1 E2 p
  175. ;user_ini.filename = ".user.ini"
    . F+ w$ ?0 m0 `+ R) A/ |" H- L
  176. 8 r( R6 S. K- y
  177. ; To disable this feature set this option to empty value  _  V5 C3 V* d4 q' x' `! W$ d( Q
  178. ;user_ini.filename =5 d& R* O' j/ K! Z/ f) W# p
  179. * {2 O" @) V; A3 T  i- T4 ^5 q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)/ y1 p" p- \/ E6 j! g* \. C
  181. ;user_ini.cache_ttl = 3003 K4 h3 R) G' ?
  182. . o& L5 D2 @0 m4 E& A" ]- W
  183. ;;;;;;;;;;;;;;;;;;;;1 _' f0 I' z2 @7 I% e0 p, O) s
  184. ; Language Options ;, F2 S* R, a! I: I
  185. ;;;;;;;;;;;;;;;;;;;;1 Q3 _4 l2 \5 n1 T! q6 `" a
  186. ) S- ~$ X( ]3 j* U' G' Q
  187. ; Enable the PHP scripting language engine under Apache.
    6 H. F' @* U( Z& a
  188. ; http://php.net/engine
    3 [, D; q$ T' P& ~6 @4 p
  189. engine = On2 v3 ^% y# }, ?3 I. A
  190. , s$ E' G: G( y/ W( _% o9 X
  191. ; This directive determines whether or not PHP will recognize code between; A2 @# }4 ~8 V* Q4 y* m* w
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * [" o6 a" m/ `, P
  193. ; generally recommended that <?php and ?> should be used and that this feature
      B6 h  c! h: z6 ]* r8 w* R
  194. ; should be disabled, as enabling it may result in issues when generating XML5 R4 t6 G7 Z( K0 I1 A/ g
  195. ; documents, however this remains supported for backward compatibility reasons.! i, G) @# u, `2 F3 Z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & C$ h3 w( f3 R+ y0 [% u1 y/ v5 h
  197. ; used regardless of this directive.& x' k4 W8 }$ V2 M6 u
  198. ; Default Value: On
    8 T+ O* j2 U" U; Z; o4 F1 O
  199. ; Development Value: Off
    5 B# L- A3 x/ O
  200. ; Production Value: Off
    5 ^4 [. e% y2 V
  201. ; http://php.net/short-open-tag
    ' H% \* y3 R$ }4 r
  202. short_open_tag = On
    / C2 e: x" Y7 F' t, K' N

  203. , Q0 w1 n+ k, x$ I$ p6 W9 R
  204. ; The number of significant digits displayed in floating point numbers.
    ! u/ R( {* T* z: a: S" d
  205. ; http://php.net/precision8 _5 ^8 z3 s5 J
  206. precision = 14
    1 n/ E) |2 b: u6 f

  207. 6 A8 R' u4 _' m5 g7 R! k
  208. ; Output buffering is a mechanism for controlling how much output data
    2 L8 x" y* z8 \* P. m0 I
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    6 ?6 c+ g' L) h
  210. ; data to the client. If your application's output exceeds this setting, PHP+ v, d+ V7 u9 @9 U; V% z9 Z% e  o! Q
  211. ; will send that data in chunks of roughly the size you specify.7 \) H0 F2 F; u( o% }5 @* R4 v9 G
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ' [: A  j! E& U% y* Y
  213. ; interesting side-effects depending on your application and web server.
    $ Y, X9 W2 c0 j) g( P4 J: h
  214. ; You may be able to send headers and cookies after you've already sent output
    4 T$ ]3 ~6 F0 |/ G$ s# Q6 L
  215. ; through print or echo. You also may see performance benefits if your server is
    ( k! h+ z5 t) d- ~: W! i9 W# x+ L. o
  216. ; emitting less packets due to buffered output versus PHP streaming the output' R+ f9 S" v' E% P8 {: f
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    - I# k6 P  \, C, U; c' ~; ]+ t
  218. ; reasons.
    - y/ m. B4 ]1 R. L7 Y
  219. ; Note: Output buffering can also be controlled via Output Buffering Control0 G4 f: V4 c7 J! E5 A4 H
  220. ;   functions.
    & W7 z$ k! w9 F& ]/ b/ p) m
  221. ; Possible Values:
    : O& I* v% @7 k$ l: {* l3 |
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ! h6 w# X3 l) B6 X' s
  223. ;   Off = Disabled9 W3 b. m+ e+ [
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      g5 N* P8 n; v# w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 t% n0 R( M, C; ~% n& E
  226. ; Default Value: Off
    $ R1 M8 z4 w  r. D! r  }/ w
  227. ; Development Value: 4096
    5 Z* T8 [) m7 Y1 v
  228. ; Production Value: 4096
    : M* S& ^7 A: L* s# p$ g
  229. ; http://php.net/output-buffering2 x6 L  {  k" ]/ C, b3 r5 I, ~1 e
  230. output_buffering = 4096
    # ]: \% B; P" a/ y# M# l

  231. ' }1 U) Q: p( [2 l7 v2 m0 [" L
  232. ; You can redirect all of the output of your scripts to a function.  For4 g6 O7 P" i; t5 _" w
  233. ; example, if you set output_handler to "mb_output_handler", character
      C1 p; _$ S$ K/ d, E" y
  234. ; encoding will be transparently converted to the specified encoding.! l( `( o( o7 u2 Q5 B7 ?1 U
  235. ; Setting any output handler automatically turns on output buffering./ h: Q: W. p* i$ l/ s
  236. ; Note: People who wrote portable scripts should not depend on this ini
    # w7 \& A! H/ J- \
  237. ;   directive. Instead, explicitly set the output handler using ob_start().$ a: _+ m  o8 M- U
  238. ;   Using this ini directive may cause problems unless you know what script0 K, `2 \: b) q0 Z1 J
  239. ;   is doing.6 t+ C, \' c1 Z" b3 C0 K7 K: A* `
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # k9 o2 h9 d9 E' {% m
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".3 B' D; c' i' q8 Q
  242. ; Note: output_handler must be empty if this is set 'On' !!!!& B) v  I( }+ P* z" |
  243. ;   Instead you must use zlib.output_handler.- A! {' p  k" I* T  P# }( B
  244. ; http://php.net/output-handler
    # c! y- I  W3 [7 D! A9 Z
  245. ;output_handler =
    $ ?7 _; b7 i5 X, H3 Y, ?

  246. * |# |# K  Z& T7 ~2 a8 L
  247. ; Transparent output compression using the zlib library
    ! Q3 p5 v* E8 d$ _2 T) i
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size) d4 e; z0 O  x2 D9 v
  249. ; to be used for compression (default is 4KB)8 B8 f# v$ C- }" t$ {- l
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    3 x9 L. O2 t3 g0 `; K
  251. ;   outputs chunks that are few hundreds bytes each as a result of) v$ q5 Q: F/ q. D2 l& J3 z
  252. ;   compression. If you prefer a larger chunk size for better0 g" k, C- Y1 F2 U) y- ^( E
  253. ;   performance, enable output_buffering in addition.
    ! a) F, Y& v& c8 ?8 Q
  254. ; Note: You need to use zlib.output_handler instead of the standard# q( n  e" b* n9 B. O+ Z- k
  255. ;   output_handler, or otherwise the output will be corrupted.
    1 V6 z: M$ S5 V
  256. ; http://php.net/zlib.output-compression+ G. U8 ^( `( }4 y
  257. zlib.output_compression = Off
    - v6 I) E* z: q& W$ R3 d9 h
  258. / D! k! M4 P! |9 }8 A
  259. ; http://php.net/zlib.output-compression-level2 O6 G! P# `- c2 Y
  260. ;zlib.output_compression_level = -1& ]" S4 E+ T$ `2 {" g7 U

  261. / L" @( q0 l2 H
  262. ; You cannot specify additional output handlers if zlib.output_compression
    1 U1 t5 R- ~. Q4 M4 ~8 r5 D
  263. ; is activated here. This setting does the same as output_handler but in8 @) p; {- h# V) u9 R0 M2 {
  264. ; a different order.' @; g8 j. o4 f' r1 [
  265. ; http://php.net/zlib.output-handler
    ! A1 t( T( x- M1 j% z; {& Y
  266. ;zlib.output_handler =% L8 k$ `9 ~0 k1 ]9 N: T' S5 P

  267. * Z0 ~' }0 s4 u  s
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    # b$ Z" U* Y4 |' B9 H# d$ M
  269. ; automatically after every output block.  This is equivalent to calling the
    , x2 U' {2 ]8 I  ^" w
  270. ; PHP function flush() after each and every call to print() or echo() and each
    - C1 Z. @  `) t( ^
  271. ; and every HTML block.  Turning this option on has serious performance
    ! p7 W7 x# P0 f, x& L0 ]! k
  272. ; implications and is generally recommended for debugging purposes only.! o! ]% [) {; L+ a
  273. ; http://php.net/implicit-flush+ R) v3 L, n& h  }9 k$ l
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 P4 c7 e9 P% ^8 ]& U
  275. implicit_flush = Off
    8 w' P. _" W0 T: x* I" a# d: [
  276. & \. B  R) M/ R1 y( E9 W1 Y9 v
  277. ; The unserialize callback function will be called (with the undefined class'4 p% Q! D* ?" y; ^* Q
  278. ; name as parameter), if the unserializer finds an undefined class/ z1 m8 y4 u% G$ R# U
  279. ; which should be instantiated. A warning appears if the specified function is
    9 D* t% I) ]& @! U# n: A
  280. ; not defined, or if the function doesn't include/implement the missing class.+ Q/ L1 G+ U6 a+ u
  281. ; So only set this entry, if you really want to implement such a
    6 V( \6 W& Q* i6 F3 d9 q) @
  282. ; callback-function.
    7 M7 w6 D. {1 j' ]
  283. unserialize_callback_func =
    5 ]+ ?; o* P) C& P5 @/ x
  284. , E/ B: x  ?! d6 h
  285. ; When floats & doubles are serialized store serialize_precision significant
    ! j+ |& [7 q/ c& Y0 ~6 D$ X
  286. ; digits after the floating point. The default value ensures that when floats
    7 m0 Y/ G* N3 W6 C/ }' k
  287. ; are decoded with unserialize, the data will remain the same.
    # i) F8 r# _8 {. E* Z' s
  288. serialize_precision = 17
    # p+ U# g* t& F2 q: ?# Q; J5 V
  289. " x; m) k! r0 t; O0 x
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % y" P5 P$ E1 t0 M" J% d. L
  291. ; and below.  This directive makes most sense if used in a per-directory; U! s6 J9 y: Z- O6 V+ A
  292. ; or per-virtualhost web server configuration file.: C2 k: |: L0 J5 F/ z" e: g4 y& j
  293. ; http://php.net/open-basedir
    $ X- x9 ?0 K; o5 `: S
  294. ;open_basedir =) K9 Q; p5 f8 U6 f
  295. ' S7 x0 w* |! _
  296. ; This directive allows you to disable certain functions for security reasons.. A. ]5 Q3 @; L- |
  297. ; It receives a comma-delimited list of function names.0 m3 M0 h. h  l
  298. ; http://php.net/disable-functions
    $ c) I. u( H# U. `0 H" Q8 Z2 i
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru+ H, H1 N# |2 ]) a3 _

  300. ; y0 ~1 E5 f: g- h/ s$ w9 H
  301. ; This directive allows you to disable certain classes for security reasons.% G: D( t7 M$ l6 ]" r/ f$ b0 o
  302. ; It receives a comma-delimited list of class names.  I& f' @# b% _/ K
  303. ; http://php.net/disable-classes3 e, r7 {0 o% F! K
  304. disable_classes =
    % j" l2 h0 U: E* d$ `
  305. ( F! h. ]( Z/ K0 p# y
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in/ \% s  Q( s# D. ], F7 k% k  x( `
  307. ; <span style="color: ???????"> would work.) h3 T7 y$ [8 a; _( V6 B; t9 B3 m
  308. ; http://php.net/syntax-highlighting
    4 R! G( w5 j9 p/ K  y
  309. ;highlight.string  = #DD0000
    # ?9 o# g! X+ c1 r
  310. ;highlight.comment = #FF9900
    " c# j" t7 `, g
  311. ;highlight.keyword = #007700: X, u1 ]8 M8 {6 F0 ^
  312. ;highlight.default = #0000BB5 q3 L. X7 \9 K
  313. ;highlight.html    = #000000
      U; i& G* b* U: E

  314. 8 V: U: u/ k( v! O& K# ^
  315. ; If enabled, the request will be allowed to complete even if the user aborts0 f7 J4 s/ r' m3 g; `' x' r
  316. ; the request. Consider enabling it if executing long requests, which may end up4 b3 j* X5 D) C4 x
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    % h: c( F2 W) i9 G
  318. ; is to disable this feature.- W' ]$ h' C& [" b/ y* T" m
  319. ; http://php.net/ignore-user-abort! l0 q/ W0 ]. R7 R  K
  320. ;ignore_user_abort = On+ D2 T, ?/ T. g! ~6 Z6 V
  321. 1 `- L# b1 u$ U3 n9 g& |8 Y- l1 {
  322. ; Determines the size of the realpath cache to be used by PHP. This value should  g  I2 W; F, _9 V
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    8 n4 N' ~' t, J: H  V  B' D
  324. ; the file operations performed.
    ! z$ m( i1 u3 a0 B( n7 b% h4 E
  325. ; http://php.net/realpath-cache-size
      F2 y3 ?! N% W3 x
  326. ;realpath_cache_size = 4096k
    : d- d+ @% c4 j9 X( e

  327.   K" A; Z+ f3 _9 H- ^: {8 e5 C% E
  328. ; Duration of time, in seconds for which to cache realpath information for a given& A; K) E" \4 I( B8 o, H: T
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    9 y4 p: U5 a' g( R
  330. ; value.
    + ]7 ^9 H1 j7 O' N
  331. ; http://php.net/realpath-cache-ttl
    % j2 p6 z+ j% V
  332. ;realpath_cache_ttl = 120
    * {: f9 [. X- \# Y( ~! g' c9 v6 B
  333. 0 S( L+ K8 C/ w& }: H2 }& m3 v
  334. ; Enables or disables the circular reference collector.
    7 J) ?6 a: \8 F( U& _4 j
  335. ; http://php.net/zend.enable-gc- D9 a6 w3 }$ G. s* e. A' `) j
  336. zend.enable_gc = On
      K$ U6 m( F- t+ I' K
  337. $ e6 A( Y! F2 a+ I0 G
  338. ; If enabled, scripts may be written in encodings that are incompatible with9 c- t1 G0 C8 R6 Y) D' X8 F
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    8 q& Y9 p/ \# t2 P$ M
  340. ; encodings.  To use this feature, mbstring extension must be enabled.  ~: l0 b3 d5 |) x9 ]3 b5 B6 y/ p# I
  341. ; Default: Off
    # Q3 \3 O3 f# U" w- H
  342. ;zend.multibyte = Off1 ~# P. Y3 a  N; j9 D: q

  343. ) n2 W% ]4 K  `7 _* a3 t! y' w
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    2 A9 b' ?, r1 o3 A/ y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    % p9 J" X$ O/ W: r/ C9 u7 k
  346. ; Only affects if zend.multibyte is set.
    ; g! D+ ~: B1 k& c
  347. ; Default: ""
    8 i) }2 D, j5 e# Y7 [
  348. ;zend.script_encoding =$ J- r, \( M7 X) E
  349. ; S1 d& N! M; q* Y3 |
  350. ;;;;;;;;;;;;;;;;;
    # e/ a1 j1 A( R4 b/ w& c( z8 F% P+ W
  351. ; Miscellaneous ;5 y5 H2 X8 l0 q8 Y$ v
  352. ;;;;;;;;;;;;;;;;;
    & F, i' k( x( A6 z: s

  353. : c$ g% T3 M* C$ `
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    " A: [' f( ^9 `( ?2 i& E
  355. ; (e.g. by adding its signature to the Web server header).  It is no security: Q! W, _$ P, \
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    " P4 d' `4 Y. T8 J% |5 h
  357. ; on your server or not.0 b7 ^6 |0 ?0 ?* j. H* ?) Z) l
  358. ; http://php.net/expose-php9 f; `# ]! _9 n  U' W
  359. expose_php = On
    . i3 s3 a" p# H( s6 `: B, a
  360. 9 I1 G; D$ B9 B! t1 j
  361. ;;;;;;;;;;;;;;;;;;;: i7 E0 ^0 w$ \" {! y
  362. ; Resource Limits ;
    : r0 A' q* M/ a( [! J/ K
  363. ;;;;;;;;;;;;;;;;;;;+ D/ ?7 _! V- P. @7 x; y* c# \; V8 d0 o

  364. 8 B; }& E2 A, I$ ]2 c! i6 \6 s
  365. ; Maximum execution time of each script, in seconds" l0 |# n7 w+ f0 f( m: b
  366. ; http://php.net/max-execution-time
    1 n' ?# |& S  E
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ z% k- j- O' g% ?7 c  ]
  368. max_execution_time = 3004 j; y- Z' o2 g$ e
  369. * J4 D' t$ c1 O1 V* F" h6 Y. s; O
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    - H5 y1 ~1 p* {5 }' Z
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly- z0 D/ p& p* o
  372. ; long running scripts.. s3 p0 t+ T1 \3 T" L: k6 S8 D
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI. l; X' o, f$ G0 k, g7 N
  374. ; Default Value: -1 (Unlimited)
    " z5 _  _$ d& `  v) ?* G& q
  375. ; Development Value: 60 (60 seconds)
    ; e# O( p/ u' v. i& f' T/ G' a
  376. ; Production Value: 60 (60 seconds)
    " i& k1 u3 l( B5 U% u3 I& i+ X9 E
  377. ; http://php.net/max-input-time
    " A7 m8 f. E& @! r% B" C
  378. max_input_time = 60
    1 y* z1 V% a% z
  379. ' J3 R7 ~; N# B2 N) ^$ |; g& ~3 Q0 Q
  380. ; Maximum input variable nesting level
    9 G8 f; v2 L8 ~% y+ ]" u, G) A
  381. ; http://php.net/max-input-nesting-level! ]$ E( C+ [" m# h# G. S
  382. ;max_input_nesting_level = 64
    . L+ W4 _! U/ C( K  O
  383. % y1 Y) t0 T0 }( k+ l* ~7 h  @6 ^& c
  384. ; How many GET/POST/COOKIE input variables may be accepted
    5 T5 F1 h8 s1 m) N# M+ n$ j- N: l  N
  385. ; max_input_vars = 1000
    & \' P9 n; I; F: Y7 b' D9 z5 p

  386. , e8 M/ M; P; K0 {7 g9 M* o7 s; b$ Z
  387. ; Maximum amount of memory a script may consume (128MB)9 g6 E. F0 d4 e6 b5 ?
  388. ; http://php.net/memory-limit/ m: ]5 |0 ]; z* Q5 z. g" |
  389. memory_limit = 128M
    ; q8 O+ t& L  ]) v

  390. * k1 q$ F* `+ i/ q, ?
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 m7 C2 T' u) Z# h# C
  392. ; Error handling and logging ;
    1 Z5 }1 c- E3 [( s* c9 f+ _; }1 p
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ }% d& o) Q7 f) S
  394. + O7 l) Q5 O  P/ M( [( h- P: V1 o
  395. ; This directive informs PHP of which errors, warnings and notices you would like
      P/ k7 u& U* z8 T
  396. ; it to take action for. The recommended way of setting values for this
      ]1 N$ b; _# V3 L1 ^2 ~- d
  397. ; directive is through the use of the error level constants and bitwise
    ! j, p% B. r( @/ M% |/ f
  398. ; operators. The error level constants are below here for convenience as well as' m" }4 c0 {! a* J9 w+ o+ u
  399. ; some common settings and their meanings.
      x) @3 t# i- w9 i5 V+ Q$ S' b
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT  [/ j& [! O! G8 ^+ d5 g9 W
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      G% g3 F5 H: y4 u& _
  402. ; recommended coding standards in PHP. For performance reasons, this is the! m6 {) N9 P# k0 C4 t0 `0 H  c
  403. ; recommend error reporting setting. Your production server shouldn't be wasting" i; g) }  A1 [2 q( m9 P  m& K
  404. ; resources complaining about best practices and coding standards. That's what& S  r+ w2 |! A! t" {" E2 K* u
  405. ; development servers and development settings are for." o5 F: f, P9 C5 R( P9 P
  406. ; Note: The php.ini-development file has this setting as E_ALL. This4 N- ]; w( |4 N# t' a
  407. ; means it pretty much reports everything which is exactly what you want during' |  k/ x% W- Q7 o9 V7 I; \0 g
  408. ; development and early testing.  N) V; T2 m( V
  409. ;/ f! H- H# v8 d3 M% [
  410. ; Error Level Constants:+ v) B9 p6 C! I3 j/ d6 ^
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / g$ _: E/ a+ ], C6 k
  412. ; E_ERROR           - fatal run-time errors1 A. n7 c4 e0 t6 a6 m0 _% M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    & I& Y& _# R# i# q9 r
  414. ; E_WARNING         - run-time warnings (non-fatal errors)' Z: H& b5 j1 b4 |
  415. ; E_PARSE           - compile-time parse errors( N' d1 `5 |2 n3 e8 i( ^
  416. ; E_NOTICE          - run-time notices (these are warnings which often result5 c$ w  H* i, y, y- ^# P) C5 L! ^$ g- j
  417. ;                     from a bug in your code, but it's possible that it was
    - {5 C' S) P7 D! H6 d
  418. ;                     intentional (e.g., using an uninitialized variable and) s% \4 i1 w- {
  419. ;                     relying on the fact it is automatically initialized to an' r. ?: `0 @9 ?% {) D! j/ b$ L
  420. ;                     empty string)- d/ X8 {3 W+ v3 @3 |1 z
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    $ s1 z; d: b4 \, ?) `3 v
  422. ;                     to your code which will ensure the best interoperability" N+ Q! ]# h! w# z" ^$ |
  423. ;                     and forward compatibility of your code) g! @# W+ \) [6 [$ [
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 P- o6 f( H3 ~, N* g+ m4 [$ z/ y
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    4 Y# }* p' c8 f7 [
  426. ;                     initial startup) H8 ?' ?# }# }9 u7 S1 z8 A% l
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    . ~; m& r; f4 I( G$ E5 }, p
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 q! j! \  U! A
  429. ; E_USER_ERROR      - user-generated error message
    * B6 ~* a8 x4 h" f, a+ l
  430. ; E_USER_WARNING    - user-generated warning message' |( T, r* d# _
  431. ; E_USER_NOTICE     - user-generated notice message
    3 Z, R6 \% @& r/ S
  432. ; E_DEPRECATED      - warn about code that will not work in future versions7 w& t2 y0 r) p
  433. ;                     of PHP
    + V& f% `$ `1 X* Q( D8 n
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings3 E6 @4 A7 m0 b. l5 C& n
  435. ;2 {5 m5 y, w8 \. ?. R0 ^/ J
  436. ; Common Values:0 Y+ z( {* F4 T3 u
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.); _% R( n% N* z; ~3 X3 h
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    : T4 Q, W( N; t% a1 K
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 B% E; Q, {2 L% x* ]9 ~
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    0 @  n5 w1 ?) C$ Y" O+ S9 z
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + a/ u: E; B7 Z" ~+ q, `; ^
  442. ; Development Value: E_ALL% A+ s! D' T( N5 Y2 I0 Q4 i
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# U% Q: T/ w3 p7 z
  444. ; http://php.net/error-reporting- ?1 K( z; w, E, F# j5 x. D( J) ^2 N
  445. error_reporting = E_ALL & ~E_NOTICE4 ?' t2 B$ z9 K2 _; r
  446. 0 q8 z2 j- C" W0 g3 }6 I9 n& w; {$ s
  447. ; This directive controls whether or not and where PHP will output errors,4 y+ o1 s, t! L
  448. ; notices and warnings too. Error output is very useful during development, but$ n! w) i3 _4 V  x7 P' H
  449. ; it could be very dangerous in production environments. Depending on the code  k& U+ R4 Q1 v; b* L% S  ?
  450. ; which is triggering the error, sensitive information could potentially leak) X* h% Y2 ^( v# Q- ?3 S
  451. ; out of your application such as database usernames and passwords or worse.
    ( ?- u0 T* f3 y% e- u" r
  452. ; For production environments, we recommend logging errors rather than) \' n! z( {1 d3 S0 l
  453. ; sending them to STDOUT.
    / q. o2 r) q# K! T3 n: l$ f
  454. ; Possible Values:' X9 _, x* j% ?
  455. ;   Off = Do not display any errors
    $ x9 d# A+ ^0 \" e
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ' \$ g+ W: S+ f6 d$ P4 v
  457. ;   On or stdout = Display errors to STDOUT
    # C* F: M1 L* E% n5 l* |
  458. ; Default Value: On
    " u0 \- C2 W# N  e% ^
  459. ; Development Value: On
    , t( j0 `7 c! W8 h; n  c
  460. ; Production Value: Off
    3 U- x8 Z! ~( G. e; T% y% D
  461. ; http://php.net/display-errors
    & L/ Y" K7 |. _& F4 J8 L7 j
  462. display_errors = On
    ! O% E4 w6 M- F& \
  463.   @& i( m, S4 N( G& v$ n/ O
  464. ; The display of errors which occur during PHP's startup sequence are handled
    & E9 m  D3 {( N7 s9 E3 g( K/ p
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    + F7 D. G3 F2 e  v9 C9 w9 B) \9 p
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    & L+ f' a. }7 U$ ?+ L: ^
  467. ; debugging configuration problems. We strongly recommend you. N/ t, N! q: h" i
  468. ; set this to 'off' for production servers.
    $ I, T! g+ ]) V. e( g5 q0 J
  469. ; Default Value: Off, Q- g' Z" N/ C
  470. ; Development Value: On- G4 u0 k' P6 ~; z2 M( ?- r
  471. ; Production Value: Off4 L( S, H' o; [0 D; J  l8 [0 [
  472. ; http://php.net/display-startup-errors
    ! C$ L& ?5 ~+ Z
  473. display_startup_errors = Off5 A, W5 k9 `1 F* B; S

  474. % T# N4 R9 |( h
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    * m' A! x( e+ A! R
  476. ; server-specific log, STDERR, or a location specified by the error_log
    . B3 g3 m2 _0 P3 q5 f
  477. ; directive found below. While errors should not be displayed on productions
    * u: H# }- A( v4 F$ J; X! Q
  478. ; servers they should still be monitored and logging is a great way to do that.( g! c6 ]/ v8 o6 M% A
  479. ; Default Value: Off5 I; r& \; U6 q* J& n: y2 d
  480. ; Development Value: On
    ' k0 y; c/ E! C' a: L! M' a6 V
  481. ; Production Value: On0 T' h! \0 V- x$ Y6 h) O
  482. ; http://php.net/log-errors
    3 j) O) |: C6 X+ O, p8 z( z
  483. log_errors = On
    6 M1 j. {; m& F+ ~! k1 @; g+ D% {
  484. / M8 C" m8 j9 V- {# M6 N, k
  485. ; Set maximum length of log_errors. In error_log information about the source is
    % t* \' v9 N7 W" \0 K/ K* |
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    6 l( {. ?! Z: i2 X9 @% G
  487. ; http://php.net/log-errors-max-len
    0 d* |7 [# ]* h/ ?8 l
  488. log_errors_max_len = 1024# d, [5 s0 c4 a7 g2 U  F& |
  489. + K* N5 L& Z( h( W" ^- X' C
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same3 o. V% t! @! p& j1 y
  491. ; line unless ignore_repeated_source is set true.6 l  A1 x) s* a4 w7 t5 N/ C( Y3 [
  492. ; http://php.net/ignore-repeated-errors
    / B$ p% W2 x# h8 L
  493. ignore_repeated_errors = Off
    + w8 z; Y. a) O! f* s& A
  494. ( [2 m7 n& N" a( _0 Q- q: a
  495. ; Ignore source of message when ignoring repeated messages. When this setting/ b2 @1 U, r: }6 ]1 l- o0 s! r
  496. ; is On you will not log errors with repeated messages from different files or3 p" q' B; [4 w0 o" }& Z% v' t
  497. ; source lines.
    , T- @3 Q; Y3 u& y; |5 L
  498. ; http://php.net/ignore-repeated-source, d7 D0 c- [; T% U* Z
  499. ignore_repeated_source = Off
    ( E8 E0 A( s' n8 h4 [; ~( z1 N
  500. 8 A$ o  N& p1 ~! `) y9 F; y
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on: M6 j  i# ~' g
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    # t/ R& Y2 `. N
  503. ; error reporting includes E_WARNING in the allowed list) |5 a0 J4 e  t$ h1 h
  504. ; http://php.net/report-memleaks
    ( l& k8 Q# @* y
  505. report_memleaks = On
    ! Q0 v' T2 q3 W( M' J

  506. 2 B3 z2 q8 e# B5 o) ]& \1 b
  507. ; This setting is on by default.
    * L  H' ~/ R0 j& y; m
  508. ;report_zend_debug = 0- u/ k: ^: G$ g# s* |

  509. 4 u" R  ?, I! q& _' Q; X' t
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    & m! x- n  L1 _) Y8 a
  511. ; to On can assist in debugging and is appropriate for development servers. It should. [8 }( C6 `& }8 |. J3 g$ M3 M
  512. ; however be disabled on production servers.* |7 H9 _" f5 I( _
  513. ; Default Value: Off4 z+ W/ {  O. o- q5 N
  514. ; Development Value: On
    0 r' ]; N* ~% p6 E1 f# H
  515. ; Production Value: Off- S+ S/ T1 z' l# k* z% [
  516. ; http://php.net/track-errors
    , Y# r' D) G4 i8 ]
  517. track_errors = Off
    * a: R) F/ L0 o
  518. , N6 v4 q& _. o6 X. |7 K
  519. ; Turn off normal error reporting and emit XML-RPC error XML4 i" ~# N! g  R% g  j8 m
  520. ; http://php.net/xmlrpc-errors' R( w$ Z0 p2 b8 T" c6 s8 P
  521. ;xmlrpc_errors = 0
      L8 i1 S9 S) M5 o% V# D
  522. : a& K% I/ D! g( q; Y+ ]; g- X( R* l3 j
  523. ; An XML-RPC faultCode$ \3 U. U9 V8 r* o& T; M5 N, ?6 F' f+ m
  524. ;xmlrpc_error_number = 09 f7 P2 _+ a, X% g; L5 m7 X1 W
  525. + V' C! g" @; M- e4 ^1 b. ~/ T
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    * {$ `7 c: @3 ~; T* p
  527. ; error message as HTML for easier reading. This directive controls whether
    # o4 R6 C; s2 e) D
  528. ; the error message is formatted as HTML or not.
    6 M6 P8 x3 |$ Y
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 n; a  I& R1 Z; i3 v$ f
  530. ; Default Value: On
    ! O- b' Y4 k/ z, r
  531. ; Development Value: On! b3 ]0 j" m4 ^
  532. ; Production value: On
    2 L8 i! l( v$ Z$ S0 y
  533. ; http://php.net/html-errors( ~3 l- S) B% I4 K
  534. html_errors = On
    & t" c7 ~8 w$ u# g. j

  535. 1 T# C$ T: `* V: G; x
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    $ O! R5 H$ j- n; e
  537. ; produces clickable error messages that direct to a page describing the error8 B/ I! z6 ^1 U' B
  538. ; or function causing the error in detail.
    # L3 [; U" J, y6 D/ g
  539. ; You can download a copy of the PHP manual from http://php.net/docs  g, c$ k" C+ e4 [
  540. ; and change docref_root to the base URL of your local copy including the
    * @! ?6 v1 z, h% Q. Z# v# c
  541. ; leading '/'. You must also specify the file extension being used including3 l$ p! R( c( b6 W
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # p; F0 A8 d( }; @/ d
  543. ; case no links to documentation are generated.0 ?' Z9 y# ~$ E
  544. ; Note: Never use this feature for production boxes.
    2 q- ~* k: [$ ^1 ^! J
  545. ; http://php.net/docref-root$ n0 q1 S7 C% r& p6 ^- a
  546. ; Examples# C0 j; r6 N% l1 F) S
  547. ;docref_root = "/phpmanual/"
    ; N( [( g: |/ C/ I2 k
  548. 8 I7 {/ F7 F% h0 T3 ?' {1 W  g) R
  549. ; http://php.net/docref-ext. j6 q# ~. b/ ]! a" O  I
  550. ;docref_ext = .html9 s! a! {7 U; B6 @; J5 R' u

  551. 3 ?* q) t2 H4 A. W$ o; E7 ~
  552. ; String to output before an error message. PHP's default behavior is to leave( u/ ~- N8 A, V0 B4 `$ N
  553. ; this setting blank.) _9 t* }/ `" b- ]- ^
  554. ; http://php.net/error-prepend-string: V8 u. ~$ `! `1 R/ ?
  555. ; Example:
    " \: m: S, v. b: s8 [* o
  556. ;error_prepend_string = "<span style='color: #ff0000'>", u& Y9 ?( a, Y1 S; ]

  557. 0 `) T0 O/ I% j
  558. ; String to output after an error message. PHP's default behavior is to leave- N- d+ j$ A: W
  559. ; this setting blank.
    2 b! J; M7 r1 i% \# i  z
  560. ; http://php.net/error-append-string6 P! x. W9 s/ F2 a2 f" P
  561. ; Example:
      R  J0 C1 H- J
  562. ;error_append_string = "</span>"& \9 [1 b) n- x. h4 z; g/ o* y

  563. . ^+ |9 T0 x( Q5 L+ u1 F
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    4 ?) m* H$ s' q5 k* i- D( D
  565. ; empty.4 L, P0 p- {1 h+ @8 W3 W8 @6 Q- m
  566. ; http://php.net/error-log
    ( g0 s& |: j# b1 b
  567. ; Example:; o0 n' o; U7 E0 \' z- B* U
  568. ;error_log = php_errors.log
    4 J- W+ r, w# w$ ?; j3 _8 L# a
  569. ; Log errors to syslog (Event Log on Windows).
    " ~5 k" J9 e4 C
  570. ;error_log = syslog7 M, @  x6 E) F8 Z

  571. 3 P( V* ]/ R. [* R' S$ Z
  572. ;windows.show_crt_warning
    * V* b' S9 c5 f7 i  k: {
  573. ; Default value: 0
    . D7 {# ^' N: Z7 Z1 A' h6 w
  574. ; Development value: 0
    . T) ~( Z7 t& h
  575. ; Production value: 0' D  m; X5 O. @" Z- a5 I  m- l

  576. 6 x! T; ~3 O5 {: m
  577. ;;;;;;;;;;;;;;;;;  }4 }( W& c8 k9 o' x
  578. ; Data Handling ;
    * p$ s: @$ M+ h; Z7 v  N
  579. ;;;;;;;;;;;;;;;;;& k5 z+ b+ x& t: h! {7 A! l

  580. ! O0 O/ V6 Z' h3 O
  581. ; The separator used in PHP generated URLs to separate arguments.: R* D" C: T: K7 n: p9 h6 ^
  582. ; PHP's default setting is "&"., r: ]2 g" }4 c- ~; u( `3 D6 j8 F
  583. ; http://php.net/arg-separator.output" ]- H: ^2 r1 o# l& r6 l% N3 L
  584. ; Example:
    & Q5 B7 b- ?6 J' |2 f* h$ `3 C
  585. ;arg_separator.output = "&"
    5 l: T+ @/ D/ m: L

  586. : U7 x# v, u% W7 B& h: k, K
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    # R6 w+ M" |& ]  i  v) ^. S$ X
  588. ; PHP's default setting is "&".$ g2 k; ]# n2 y+ y
  589. ; NOTE: Every character in this directive is considered as separator!
    8 W3 H: W  Z1 G6 v. ~% M
  590. ; http://php.net/arg-separator.input
    ! |: Y* t* Y. e$ ]0 V, u
  591. ; Example:8 O% P$ z- P+ D6 S/ n
  592. ;arg_separator.input = ";&"
    - h6 r- j0 v" V! r3 o. {6 X2 I
  593. & v3 s, |# _& I8 J
  594. ; This directive determines which super global arrays are registered when PHP; j3 V; `4 a2 B* O6 I) [+ ~
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super/ b' f3 E; i3 }- r1 E- v
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 z8 E8 ]+ {: x. v) P
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    - m1 r4 S/ I$ G3 a% ^
  598. ; used as the others, ENV is not recommended on productions servers. You
    6 G' Z0 F( v, E1 D: \; u
  599. ; can still get access to the environment variables through getenv() should you8 q* Z! a9 z7 Y8 Q# n4 o- B" d
  600. ; need to.
    6 b+ D+ @$ r. O3 X7 X
  601. ; Default Value: "EGPCS"
    7 M* U5 n1 u6 q+ Y8 s6 S& U
  602. ; Development Value: "GPCS", e: W2 M: }4 B1 w- v, {
  603. ; Production Value: "GPCS";  K  w1 y+ U: q# w. c4 V
  604. ; http://php.net/variables-order
    7 |) b4 k6 z, ?$ {
  605. variables_order = "GPCS") o/ B% k8 R, z7 v' Y2 S5 |' S0 ]
  606.   |, L8 z- g9 N* l- g9 U+ O' p
  607. ; This directive determines which super global data (G,P & C) should be
    8 D) b! ?5 C9 O* \$ ?
  608. ; registered into the super global array REQUEST. If so, it also determines3 D. m+ G1 b; y+ w
  609. ; the order in which that data is registered. The values for this directive6 \' o3 L2 g2 a+ D+ w9 P4 K
  610. ; are specified in the same manner as the variables_order directive,& t. d/ v! s+ }( A1 S! l1 a
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    9 z+ }$ x, U9 _5 R5 r7 u
  612. ; in the variables_order directive. It does not mean it will leave the super
    % o0 c+ x9 {, @6 m) t: k% t
  613. ; globals array REQUEST empty.
    % _' T1 t+ C& h0 P5 {
  614. ; Default Value: None3 G2 q/ p' ~3 O5 h& Q" i5 j
  615. ; Development Value: "GP"7 X) }+ G, w$ p  I( C
  616. ; Production Value: "GP"( `$ q6 {; P& }( q7 F* v
  617. ; http://php.net/request-order6 O# W7 V" O, p+ g
  618. request_order = "GP"/ F$ X+ o# C4 ~% H0 T0 n, A  n8 I
  619. 5 W( H2 g* Q" \+ e/ h2 K7 F# m- y
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    # S+ a. R. d2 n( D
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    % T  M) ]" G- @# \5 @) D9 K% g
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ! D8 m) @2 Q' U2 J: Y
  623. ; that were passed when the script was invoked. These arrays are extremely
    & m* X) N$ @( W4 ^
  624. ; useful when running scripts from the command line. When this directive is
    . K1 Y0 y2 Q( P: j: b& S/ M
  625. ; enabled, registering these variables consumes CPU cycles and memory each time* O# C& D6 |  b- L. j" y8 C2 b
  626. ; a script is executed. For performance reasons, this feature should be disabled( A8 {, O- I, [4 Z
  627. ; on production servers.
    : q' ^4 H- e( T3 e4 `1 J
  628. ; Note: This directive is hardcoded to On for the CLI SAPI# \( p! o0 m1 P# t7 B; [/ K1 N8 U0 e" S# R
  629. ; Default Value: On3 ^: ]# Q/ k* a
  630. ; Development Value: Off2 }" f7 F4 F0 T
  631. ; Production Value: Off! m0 S% s6 h( d% ?
  632. ; http://php.net/register-argc-argv
    $ y- R4 z: y  j, ^; p
  633. register_argc_argv = Off+ ^0 S; t1 t" |2 e- [% e9 i
  634. 4 X' k7 \7 B* ~- v' q7 k, Q7 {7 ~
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're4 @& k% ]1 ~/ r! x7 W% F, i. {
  636. ; first used (Just In Time) instead of when the script starts. If these" H: x2 e! d9 L2 h1 z: j, b2 h
  637. ; variables are not used within a script, having this directive on will result
    0 O3 ]- |+ R3 n6 \3 n! M- T' }
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    - k3 b3 n' H+ U) \2 O2 O
  639. ; for this directive to have any affect.- |8 F9 v  I4 s7 H0 O
  640. ; http://php.net/auto-globals-jit
    - E" g% R) X( H0 P) [1 ~0 e
  641. auto_globals_jit = On
    * q5 ?& |* T; u

  642. # w) u) @( w+ P0 m
  643. ; Whether PHP will read the POST data.
    3 B: J8 y  S' a2 x7 c3 E# ]8 e- L
  644. ; This option is enabled by default.
    # H$ i- ~; r% M( A1 ?% e
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    5 L: b' O8 j) ^2 ~
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    5 u" e9 F5 b  ]
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    % N7 ?3 i2 ~6 w: Q# b  |
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    + k5 u8 W: r- `( h1 C
  649. ; http://php.net/enable-post-data-reading
    % A7 E( a* }" F4 v! }
  650. ;enable_post_data_reading = Off
    % }( l  `+ V# _+ |* ^! B
  651. 4 f2 Z. a+ O8 O8 k* O
  652. ; Maximum size of POST data that PHP will accept.0 ]. C) k& e9 n& z7 v; F
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading9 g1 a* t, t; \$ B
  654. ; is disabled through enable_post_data_reading.
      `4 x5 O- x8 J, ?, Z, L
  655. ; http://php.net/post-max-size  P4 ?9 a$ _0 b* Y( x8 V1 w
  656. post_max_size = 50M8 h  C& C; [) C! a" \  T
  657. ' Z$ w6 X0 b9 |. J) R1 o5 a! u
  658. ; Automatically add files before PHP document.. k- O3 t2 f) M! Z. l) S! m
  659. ; http://php.net/auto-prepend-file
    3 Q' v9 W7 Y1 R+ r8 L3 h* F/ W6 A( U
  660. auto_prepend_file =
    2 O5 K7 q$ Y2 B6 i0 @$ m2 [0 l
  661. $ ^) A7 n  h/ Z- s( E
  662. ; Automatically add files after PHP document.
    ( r% l4 [% u4 N; q! }
  663. ; http://php.net/auto-append-file+ o! U1 j4 x8 T0 d+ r/ t
  664. auto_append_file =
    , ?. G$ x9 b- a& I/ p
  665. & ^- R  ]/ d- n3 z) ]. U7 t
  666. ; By default, PHP will output a media type using the Content-Type header. To
    - C6 j  L2 w  ?& v% k
  667. ; disable this, simply set it to be empty.- t/ c( `# f0 F/ r" p0 V
  668. ;
    / D- }# x6 l/ p, w. O) ^
  669. ; PHP's built-in default media type is set to text/html.
    ) z, K& z) m4 y* M1 e8 e
  670. ; http://php.net/default-mimetype9 O- y! O/ O- b# |. c
  671. default_mimetype = "text/html"- C1 y& b& C4 a
  672. " ]! ^+ \5 Q& X. L/ Z1 M
  673. ; PHP's default character set is set to UTF-8.
    * n3 X/ G$ t. J% U1 H8 r) h
  674. ; http://php.net/default-charset7 S0 N& K$ |6 }# }2 a" I6 u
  675. default_charset = "UTF-8"
    7 _+ c# w" c7 K& M

  676. $ W9 d0 }) f, L6 m" e+ ^
  677. ; PHP internal character encoding is set to empty.$ l9 b: U7 [  D
  678. ; If empty, default_charset is used.
    1 G4 v  c- f1 N: e7 ~  N
  679. ; http://php.net/internal-encoding0 l/ B4 V. W) R" a  y% r
  680. ;internal_encoding =
    ! l6 |' v( P& U; }# s

  681. " R7 o" [6 n/ b0 S+ {5 O
  682. ; PHP input character encoding is set to empty.
    ' E7 M/ O# r- o5 A/ z1 G) }* B
  683. ; If empty, default_charset is used.# J# v' ^1 Y* n) S+ O+ M4 A
  684. ; http://php.net/input-encoding
    ! V% s1 M3 \- S
  685. ;input_encoding =3 `5 Z  m2 z8 r0 Q
  686. ! t& O& m6 U0 i# |4 b8 W9 D
  687. ; PHP output character encoding is set to empty." p, Q- [' \1 n& N  Y+ {" J. C
  688. ; If empty, default_charset is used.
    / ?6 ^+ W% L8 f
  689. ; See also output_buffer.
    - u" _6 e) d- n9 T) R
  690. ; http://php.net/output-encoding- u" ?7 ^0 c- U/ h! n/ U$ t
  691. ;output_encoding =
    * w) Y$ Q6 d( k2 V

  692. * q5 m  z, {- k, P& c4 [2 ]2 c
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;2 a7 ?" b3 |. L+ N2 f
  694. ; Paths and Directories ;0 I7 Y' f" k$ M3 \
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;+ c- }* Y9 R$ L7 d' z4 y5 V
  696. & f0 t5 Y4 z3 n% U* c& k$ F4 {
  697. ; UNIX: "/path1:/path2"
    0 F+ D9 u7 U9 j
  698. ;include_path = ".:/php/includes"
    4 M' a1 u3 Z9 I. c6 J9 x
  699. ;9 H( ~5 h) d; @* \) G7 T
  700. ; Windows: "\path1;\path2"' E7 C; L( z) y+ L! H0 }4 r
  701. ;include_path = ".;c:\php\includes"# x8 G0 s: e# d5 y7 K# H5 K
  702. ;8 q; z; N) f- v- s5 O+ _
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"* o2 {/ C0 C, \1 n- y' h
  704. ; http://php.net/include-path
    ( {/ m6 j7 m2 ]+ l- T8 G! Y  ?

  705. 9 G+ }) J" t! g$ ^* [/ ]; S$ U6 V
  706. ; The root of the PHP pages, used only if nonempty.
    2 Q5 j* C0 U3 Y' r. ~
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& @' f# ]) W) R
  708. ; if you are running php as a CGI under any web server (other than IIS)# K5 ]" u- g% M( b% B
  709. ; see documentation for security issues.  The alternate is to use the% l  o( W2 k$ P" C* \. ^
  710. ; cgi.force_redirect configuration below, b3 Y- }- W: m( X5 ]  Z. D( O
  711. ; http://php.net/doc-root
    / P3 R$ o7 I! h. C3 Z0 K) o/ m
  712. doc_root =/ `2 E- `/ \; F! m# B- V

  713. 3 _! R( d7 D5 n. u' @
  714. ; The directory under which PHP opens the script using /~username used only
    ; u- B/ q! F) A$ P; e6 e, b4 o4 G
  715. ; if nonempty.: T/ \8 l+ o, h- K
  716. ; http://php.net/user-dir  W* I! n7 X- E* C8 Q
  717. user_dir =
    ! E) D1 i/ M! E0 j4 y

  718. ' m3 V' K7 g9 Q" l
  719. ; Directory in which the loadable extensions (modules) reside.
    8 z2 X6 {4 }: B- ^8 ~% c$ [- o' |( o
  720. ; http://php.net/extension-dir
    ( z2 h8 K+ O9 Z) n- \" j
  721. ; extension_dir = "./"
    * N3 b) I7 s2 d) ]: w- t
  722. ; On windows:
    % i3 u" ?9 K2 y( \% {" P
  723. ; extension_dir = "ext"2 o8 d# d  O2 ?% Z' o  W

  724.   ^5 c0 W/ Q; x/ N7 f6 R
  725. ; Directory where the temporary files should be placed.
    5 T3 S: |' a$ V& W" s
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ( _: z, ^1 d% o$ M8 l' D4 O
  727. ; sys_temp_dir = "/tmp"% p3 h+ M$ [1 h: j) r
  728. . I$ C9 n" ~; T9 g! Z: R( S$ [" U* y0 T
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ) v+ N% |0 s, S1 D
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    3 }) Q5 I/ l5 u5 T) z! m
  731. ; disabled on them.
    : T0 O' t5 N3 y
  732. ; http://php.net/enable-dl; `2 }, F8 x% m: m
  733. enable_dl = Off
    - k9 W; t9 L" i, Z+ d
  734. ( f" i9 }7 ]. _& r2 s
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    + G. y$ G% F/ N0 Z4 Z* P3 E: u
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can5 t& `% {, h+ {2 ], d
  737. ; turn it off here AT YOUR OWN RISK2 Q0 r; N8 r, f$ x1 c2 y# @
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**/ V* d) M$ x3 k+ n8 O4 @7 N
  739. ; http://php.net/cgi.force-redirect
    $ {; S& ?- A$ C! X6 T) v. z
  740. ;cgi.force_redirect = 1) q0 }4 P. w: \# v. g
  741. 6 F& t% A' Y5 s# H
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 A6 x; `0 ?$ h7 [4 k  }
  743. ; every request. PHP's default behavior is to disable this feature.5 U: p, d! U# G0 H
  744. ;cgi.nph = 1
    2 u3 c8 r' l5 E0 J" Z

  745. ! B9 G8 _1 }2 D, y8 ]
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) e2 W+ t# ]$ w
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP) m9 |' |# G0 T8 ?+ |5 Q- h
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY% t, v. d2 N& ?9 J+ ?$ C% C
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& A+ f/ ^* U  v
  750. ; http://php.net/cgi.redirect-status-env
    3 j& Q$ g1 C( k8 F) y  t
  751. ;cgi.redirect_status_env =
    4 O' b; r7 [- y' ^

  752. 5 z5 \/ J- ?4 Z3 v4 B! H0 v
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / \; a# s* e2 {- j9 M4 i
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    % b" ?8 G* }: @
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting4 Y3 T( H1 N0 F& T  L: b
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting0 ^2 T$ B5 C: S$ G5 S' W
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts4 I* U$ [, }0 K; d7 D" o9 ~. U  k
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    2 T( e7 Y0 l. H
  759. ; http://php.net/cgi.fix-pathinfo
      @7 {: Z/ u- W/ O+ S- M
  760. cgi.fix_pathinfo=1
    9 o  S% R1 r& R  Z% S; B

  761. - P8 P" L- ?# r5 I9 A
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 v" d+ \9 ~4 W- \, j
  763. ; of the web tree and people will not be able to circumvent .htaccess security.* u) ^7 o! ?0 y: T8 d
  764. ; http://php.net/cgi.dicard-path; y+ p. @7 {2 a$ c3 c5 @
  765. ;cgi.discard_path=1
    ( D3 J) c6 u( @& ^& x# c* q
  766. $ O5 l' O- r. u; W
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    , i; D# F$ I* B. R0 h, ?1 E7 Z
  768. ; security tokens of the calling client.  This allows IIS to define the; w/ I, {, N* D* h' r9 W- I0 T
  769. ; security context that the request runs under.  mod_fastcgi under Apache) f8 w0 a, H5 r! }- t3 C( x
  770. ; does not currently support this feature (03/17/2002): \3 e% ^% n" N! H
  771. ; Set to 1 if running under IIS.  Default is zero.
    . k  ~# L) X, o# U
  772. ; http://php.net/fastcgi.impersonate9 R  ^+ q5 L) K6 k& M. L3 }
  773. ;fastcgi.impersonate = 1* w! U9 _* c2 x/ z# d& I% Y

  774. 9 d% S+ l. e0 Z# {) @; C- a
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / n: E( |# o+ [
  776. ; this feature.5 t' D2 Y0 M3 E! y
  777. ;fastcgi.logging = 0
    ! B* N, i! U" R! X7 D2 d3 u& U# h
  778. - \2 f7 r. _/ L% T# z4 }
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to" ]; p- V. ?. U# h
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, D( T6 b9 e, r+ q1 r
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ' @7 K9 ]. ]$ T# r2 c5 [, E+ G
  782. ; RFC2616 compliant header.
    # g: u- e) R9 r1 B: C3 H! z
  783. ; Default is zero.% l% \. i4 A5 L9 \3 b- V
  784. ; http://php.net/cgi.rfc2616-headers$ O; D7 [1 L  M) `+ d4 [
  785. ;cgi.rfc2616_headers = 08 d+ m9 `0 V4 i' t
  786. $ Y! B) o! l$ o0 @6 J
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : J& Q9 b2 y( v- a# z+ O
  788. ; (shebang) at the top of the running script. This line might be needed if the# G! z  E" [$ G8 M
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; V6 M% N6 d4 {7 [) ^2 B; l
  790. ; mode skips this line and ignores its content if this directive is turned on.. Q! `0 G/ |4 n3 u! Z! h
  791. ; http://php.net/cgi.check-shebang-line. W0 B9 C% J7 Q: v# U
  792. ;cgi.check_shebang_line=15 T5 Z, R% ?6 l4 z2 F
  793. ) U+ ?9 p5 |9 h0 G7 Q
  794. ;;;;;;;;;;;;;;;;  R# i9 l/ [/ W5 ~" ]
  795. ; File Uploads ;
    - f; r7 m7 @! H5 m- D
  796. ;;;;;;;;;;;;;;;;* U. C: q8 b! t9 ^8 a% {
  797. $ V! |+ u/ ?, R2 C* w" V6 O" G
  798. ; Whether to allow HTTP file uploads.& ^4 b) @( D- b( t
  799. ; http://php.net/file-uploads
    # T$ C2 v6 u+ {
  800. file_uploads = On
    6 J& Z: j+ v$ R& R
  801. - P$ k6 e0 p- R. n" Z9 A
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    1 v0 w' ]' S" k2 z- b( J! B% X
  803. ; specified).
    - y1 a6 D4 p& r, G9 j
  804. ; http://php.net/upload-tmp-dir3 W% t2 e$ g+ m7 z
  805. ;upload_tmp_dir =
    0 o0 W: q& p3 g) I
  806. 8 |$ H) ?; T+ Z5 i1 s5 R+ C) B
  807. ; Maximum allowed size for uploaded files.! q7 N4 @0 s2 r; H" x
  808. ; http://php.net/upload-max-filesize
    ! F: `+ W% {5 _! ^: m/ J$ ~
  809. upload_max_filesize = 50M: ?, d+ s$ U- `

  810. , |% v1 ^3 p# _8 N) R/ ?
  811. ; Maximum number of files that can be uploaded via a single request, u, E( m0 o  m9 ~
  812. max_file_uploads = 20
    8 S) c  G: w2 ]! _4 O+ ~
  813. ' L( Z& G. E- }" g8 h
  814. ;;;;;;;;;;;;;;;;;;
    : n2 H4 g# i7 v
  815. ; Fopen wrappers ;3 S3 n# j: ]/ |$ x9 i; r! C3 _
  816. ;;;;;;;;;;;;;;;;;;
    . R3 U8 z, J: m9 Q0 x# X" h4 r

  817. 5 k- y* H- V# O1 B2 g; j5 Z
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    8 f+ o6 W; f4 j: W/ P' U
  819. ; http://php.net/allow-url-fopen8 I; r  q$ r0 F  ]
  820. allow_url_fopen = On9 N& C5 ?* F) N

  821. 3 U, k* _7 D& K2 P; N* p5 E  C
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.9 W" v  ^( ^# w; m, _% p( o! L2 [
  823. ; http://php.net/allow-url-include5 w- M8 [( m3 h. ~  x
  824. allow_url_include = Off
    + {  p4 N. C) Q. g
  825. . z  }* f6 g8 w8 q: s9 y% u- w# t
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! z/ ^# f( _, |+ d. I2 E6 j! v$ m. p+ N
  827. ; for this is empty.
    4 X8 A2 T4 r. n% F3 b; \
  828. ; http://php.net/from/ _& t) k1 E& w
  829. ;from="john@doe.com"1 B2 L* e+ G" g$ L! u/ o9 P

  830. * t, \% c% A+ k( n
  831. ; Define the User-Agent string. PHP's default setting for this is empty.2 L5 ?- C0 p1 S7 c; b
  832. ; http://php.net/user-agent
    * x( ]$ {' o4 h
  833. ;user_agent="PHP"& w  F- P$ `: ^& P
  834. 6 E6 X: x+ J$ i
  835. ; Default timeout for socket based streams (seconds)
    , ?2 y5 t# H5 n' z3 a& t" N
  836. ; http://php.net/default-socket-timeout* s! N. k) ?, B
  837. default_socket_timeout = 60/ e0 P6 t; l; V2 a) X/ S

  838. , u+ u  g5 g  ~$ S# y/ A
  839. ; If your scripts have to deal with files from Macintosh systems,' q1 }3 @) m! d! G9 x3 k% Y/ `
  840. ; or you are running on a Mac and need to deal with files from* @# I/ s0 G( ?! K
  841. ; unix or win32 systems, setting this flag will cause PHP to
    " I, T: K! `2 I5 @: U  X, x6 z
  842. ; automatically detect the EOL character in those files so that
    3 c7 }( I" C4 L4 k
  843. ; fgets() and file() will work regardless of the source of the file.
    3 v4 d+ D3 R" V  R9 h- m% }5 z
  844. ; http://php.net/auto-detect-line-endings5 E: j" e  ?( |$ K3 M
  845. ;auto_detect_line_endings = Off9 ~% [+ V9 ?; f# T- _2 H
  846. ! E2 r# L6 ]3 u
  847. ;;;;;;;;;;;;;;;;;;;;;;
    1 d2 `1 p1 [+ s7 X* ]
  848. ; Dynamic Extensions ;
    * ?$ V& |& m' K9 y
  849. ;;;;;;;;;;;;;;;;;;;;;;
    3 r; A* h- `3 L0 }- k8 ~

  850. 8 ~8 m; W  b; Y3 j3 U9 E) x
  851. ; If you wish to have an extension loaded automatically, use the following
    , k0 M, o# E. g- D. J" u* ?2 ?
  852. ; syntax:$ `5 @- X8 N6 @0 ], E/ ?
  853. ;/ Q4 M. Z2 X) K5 Z* b
  854. ;   extension=modulename.extension
    + e' w2 L$ l/ p: g1 {+ T
  855. ;
    % z2 [  }0 ]* }
  856. ; For example, on Windows:  _3 {6 C' W/ Q. h  W) q
  857. ;
    6 ?0 h3 a" M5 b: r) g9 D
  858. ;   extension=msql.dll7 d- d3 M( N- t  }; B; T; {
  859. ;
    - h% N6 F% K; Q( s6 N
  860. ; ... or under UNIX:
    % z# T. I3 m5 I* `& F
  861. ;* B5 J# [) w8 w; B; v
  862. ;   extension=msql.so
    ; ~* S! e- }- j- {  G
  863. ;
      w+ m; P. v4 l3 r# `: {
  864. ; ... or with a path:
    3 h: I; g, c5 J- I( T3 d6 T7 W
  865. ;
    8 N* f' O  f1 d) O. D! A
  866. ;   extension=/path/to/extension/msql.so
    , _: L7 `9 h  a% C$ C1 W$ K
  867. ;
    # A2 f" ?" o3 _+ `
  868. ; If you only provide the name of the extension, PHP will look for it in its
    / W) F( t' E; K+ Q
  869. ; default extension directory.* i1 Z4 X5 K) m
  870. ;/ P) S8 x# I9 v
  871. ; Windows Extensions9 a( d$ {' `" k
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    $ _3 ?3 Y( x- B
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    4 G; M( q/ F0 h9 Z! A9 G
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    9 Y& E+ M" C) }' _# R/ `* t- h
  875. ; Be sure to appropriately set the extension_dir directive.$ C9 X# v" R. w, X- j" c5 D; S/ [; c
  876. ;
    , J7 x* O9 `# U& F- p6 B
  877. ;extension=php_bz2.dll
    2 A( y- Y. ~, [% f" d, x
  878. ;extension=php_curl.dll' b7 o6 ]- |( |* ~- u2 V1 }0 d
  879. ;extension=php_fileinfo.dll
    : O! K* h) t4 R9 m. N5 F: c
  880. ;extension=php_ftp.dll& K1 g- w% c& ~  ~
  881. ;extension=php_gd2.dll) X$ k0 e& u5 V8 h2 x
  882. ;extension=php_gettext.dll+ q, ^% n1 N1 m; T. |
  883. ;extension=php_gmp.dll
    ( J5 e; O: L( N
  884. ;extension=php_intl.dll1 w% M! w: A4 _, o. @
  885. ;extension=php_imap.dll* M- @9 Y4 c6 J
  886. ;extension=php_interbase.dll
    , @% d, |) O. I& A
  887. ;extension=php_ldap.dll
    + b$ o6 V  r0 F# i: ^: U( B' \
  888. ;extension=php_mbstring.dll
    ) `0 Y, q6 p% ~" a8 A
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% m/ P# `% ~4 b
  890. ;extension=php_mysqli.dll7 H9 G! u+ R- V: c8 z& H
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client" Z7 z7 F. k0 y1 G, e& W
  892. ;extension=php_openssl.dll. n$ ^% d6 _* d* }/ d& N
  893. ;extension=php_pdo_firebird.dll
    0 _/ z" ]" j3 U7 c+ p
  894. ;extension=php_pdo_mysql.dll
    ( [/ _2 o8 p% e" w( b" u- P7 D" _
  895. ;extension=php_pdo_oci.dll
    5 h( v+ A" w( r5 n6 d8 t
  896. ;extension=php_pdo_odbc.dll9 B5 F$ ~2 p3 B. F' K1 c
  897. ;extension=php_pdo_pgsql.dll! k" y% W, e& d& ^& O# f5 Z0 t8 c
  898. ;extension=php_pdo_sqlite.dll: r5 D+ l( q* \8 q- F4 Z
  899. ;extension=php_pgsql.dll" N/ q7 a* _( f6 d1 @" g8 D
  900. ;extension=php_shmop.dll
      Y8 ?# m3 i* E4 z8 N" z
  901. - }- L6 R5 G9 K' y) Z
  902. ; The MIBS data available in the PHP distribution must be installed." K7 W/ S* Z- S
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ; Q0 X: Z# c& Y* j1 c' R2 c8 [
  904. ;extension=php_snmp.dll) i) e/ b$ p0 R4 O

  905. ) o7 ^, ]4 D; V6 f
  906. ;extension=php_soap.dll1 [; @; O6 _" ~; l' \
  907. ;extension=php_sockets.dll4 e, b! u" t$ k2 W, r& K- j
  908. ;extension=php_sqlite3.dll
      V9 c& L7 S1 m8 C2 r, f
  909. ;extension=php_tidy.dll. g& Q! X/ I- l1 D) B, P
  910. ;extension=php_xmlrpc.dll! s: G( ?) Y3 Z4 ]9 Y% V) k
  911. ;extension=php_xsl.dll
    ! X/ g0 \6 Y5 i7 T! ?( H
  912. 3 A+ W* E+ i' V* M  Z6 B" c
  913. ;;;;;;;;;;;;;;;;;;;
    9 i1 [) P0 W* A, U
  914. ; Module Settings ;
    ! J0 ~3 l8 C% ~! S, x
  915. ;;;;;;;;;;;;;;;;;;;
    , P$ W; v! T1 |/ t* i
  916. 0 P4 y* _' M3 r% o& ^' P
  917. [CLI Server]" B$ ?- @0 ]" b3 _# I: @* C' y8 B
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 H& h9 r# F2 ^% o- g- `; N" [
  919. cli_server.color = On1 |3 |: B) T9 N- {5 @5 b! t$ ]/ J4 f- q
  920. 7 ?/ D6 U* Q0 h; \5 S/ `. `0 `+ A
  921. [Date]
    9 h$ X, u2 M: ~: \
  922. ; Defines the default timezone used by the date functions+ T2 \3 _/ l( Z9 O3 v5 A' y* X% o
  923. ; http://php.net/date.timezone
    0 a: G; j5 ?# D
  924. date.timezone = PRC
    9 [# v6 p& J- O
  925. ; S+ j+ Y; M; s( Q2 x# C) G+ J* P
  926. ; http://php.net/date.default-latitude
    # `8 t, T  k! B6 S) y
  927. ;date.default_latitude = 31.7667$ u* C5 w( V" O1 ]% I' J5 I- U

  928.   w3 F+ {: {# ~8 T: I# y
  929. ; http://php.net/date.default-longitude( ]& \* K3 N5 @' ~
  930. ;date.default_longitude = 35.2333- q: ?) Q( ?3 G0 V

  931. 1 z& [9 r. g) W& E, J" ~5 Z! I# L
  932. ; http://php.net/date.sunrise-zenith
    2 B8 y, A  E9 b0 X, O* p
  933. ;date.sunrise_zenith = 90.583333
    * F5 }0 C2 Y9 u: t
  934.   v& y2 \4 N$ E2 y5 C* r7 d; c2 W
  935. ; http://php.net/date.sunset-zenith$ y! f- Y5 H, k  i( U5 T# g
  936. ;date.sunset_zenith = 90.583333
    * j: l9 V6 |! }7 h
  937. + {% m! Z$ x. W2 b7 [5 i' d5 ?
  938. [filter]
    , P* x6 P& ~6 r- }
  939. ; http://php.net/filter.default
    1 t' y  V9 }: ^4 q. _
  940. ;filter.default = unsafe_raw) z( D6 j2 P# u' L

  941. 5 q9 K6 _% s# I& B% c
  942. ; http://php.net/filter.default-flags9 r. B/ Z# N, |  {: W
  943. ;filter.default_flags =/ Z2 u0 X: R9 z: Z) V
  944. 6 r8 G$ j9 l8 w: A$ o4 n
  945. [iconv]
    % B* T1 e+ |/ J: J
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , _: E  |0 l0 r" Y, q$ y. g
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* z+ T. H/ ?) _% C) [
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding2 B6 j0 D, ?* l2 n
  949. ;iconv.input_encoding =
    + g) _: [9 L, _1 e( C

  950. 8 Q) v$ u+ F# p, ?) K' w
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 Y! r  Q; H3 w# i
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 b7 e4 r+ L/ V! s/ _: N
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 f/ g! B$ a' l4 b
  954. ;iconv.internal_encoding =
    ! ^# I2 F8 _! I4 w  r8 t

  955. ' m) x2 e+ E$ _( P  @) O5 A$ F6 @
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 d; o9 R" B- G/ _' t
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ! {* i* w( Q8 T: |5 Q) m
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ) F4 f4 H: h+ Q8 I, `7 o7 L+ U' \5 f
  959. ; To use an output encoding conversion, iconv's output handler must be set
    1 A' [& h* t5 d3 V7 p6 a$ ]7 @, n2 K
  960. ; otherwise output encoding conversion cannot be performed." L* L# c4 H6 Z- ]  q
  961. ;iconv.output_encoding =" }+ v/ k& O! G( ]% V, p+ e0 x# c

  962. 1 {/ y6 c- z* O
  963. [intl]
    ' U3 b) }; x' w) g
  964. ;intl.default_locale =- e5 s5 d, L# @1 V' ]
  965. ; This directive allows you to produce PHP errors when some error
    : `% S; O- Q% T! y7 n# m' q5 _
  966. ; happens within intl functions. The value is the level of the error produced.
    7 T3 `& {$ x  L% E
  967. ; Default is 0, which does not produce any errors.5 r1 d' A* {, M7 N! y
  968. ;intl.error_level = E_WARNING" P7 B3 e* d, A# T# F/ ^
  969. ;intl.use_exceptions = 0
    ( }# n$ b+ {8 Y' z
  970. % {0 @9 O0 q6 L9 H2 A
  971. [sqlite3]
    $ n7 k; a% T5 W4 G3 j' S
  972. ;sqlite3.extension_dir =7 d% ?4 C7 L6 G2 m& O
  973. 9 e5 o$ ~) e; n6 o+ z% N
  974. [Pcre]
    , M' U* C6 d7 I) b: Q( U5 _% O& L% O( b
  975. ;PCRE library backtracking limit.
    - K  ]3 y) H5 K# F
  976. ; http://php.net/pcre.backtrack-limit) |$ u( a0 d$ H! Q& ]! e, R) Z
  977. ;pcre.backtrack_limit=100000
    7 g5 y' M0 e) \# I

  978.   ^% W: `; R) N4 L7 {" j
  979. ;PCRE library recursion limit./ D0 F) J" e9 c8 q9 N3 R$ |
  980. ;Please note that if you set this value to a high number you may consume all
    - c8 V4 F3 ?& q! Q- M5 G0 D
  981. ;the available process stack and eventually crash PHP (due to reaching the" @# s/ X" l+ i# `. r
  982. ;stack size limit imposed by the Operating System).: }# g. k: M; w* l/ I0 N' E0 M
  983. ; http://php.net/pcre.recursion-limit
    7 g2 I$ H: I; r, U. _4 t
  984. ;pcre.recursion_limit=100000
    $ Y  w. N- k" b5 I) E# O' G1 t- w
  985. % j" R  o2 F+ U* ]; q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE; s* t1 l; P- U* i( Q' H$ v( B
  987. ;library to be compiled with JIT support.- E4 @! E6 @0 s- H' C6 n
  988. ;pcre.jit=1
    & g2 f2 h1 |" D6 I4 z3 ^2 E2 Z# o  o
  989. 8 d* E' b+ Q- w
  990. [Pdo], @. E5 y2 U9 O5 v2 U* p: f
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : g+ g5 m5 j: f: o
  992. ; http://php.net/pdo-odbc.connection-pooling
    * c6 [' E4 D. L  O6 c6 z
  993. ;pdo_odbc.connection_pooling=strict! y: e+ F% Q9 t4 N. a

  994. 7 z5 }4 H% C  L) u( E) {
  995. ;pdo_odbc.db2_instance_name
    6 Z" h% |: Y& `$ M" C

  996. 3 p2 j8 Z. j) _
  997. [Pdo_mysql]8 j, r( {% g% s
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " z" y) k$ D  H9 `- S/ y
  999. ; http://php.net/pdo_mysql.cache_size
    / o' W7 ?2 `& x4 A& S/ k9 ]
  1000. pdo_mysql.cache_size = 20000 D$ d) f, v* \4 {+ P* b) D

  1001. 7 C) G( d5 k. I  F
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 p2 }8 T5 P+ h+ M  a5 Y: r
  1003. ; MySQL defaults.
    1 F) \$ n9 K7 m" Y5 P) L
  1004. ; http://php.net/pdo_mysql.default-socket) n$ I- L0 f6 N
  1005. pdo_mysql.default_socket=
    & {" c( @6 ?) r. y

  1006. ; A/ K& S; }+ `9 L4 t
  1007. [Phar]
    " @. N. d% I& m& f( w
  1008. ; http://php.net/phar.readonly* k( v/ v0 X. U1 D; W# i+ c
  1009. ;phar.readonly = On  m& m. P7 l" q: Y0 X
  1010. ; ~  E' z  m" |- n; @% x% G/ q* S8 G
  1011. ; http://php.net/phar.require-hash
    : X" ~2 u( u* ^% l
  1012. ;phar.require_hash = On
    + f/ R  k- _1 ]- n8 |+ q# Y

  1013. 0 y8 @8 p5 ^0 ?2 J
  1014. ;phar.cache_list =
    2 E, O4 ^1 G1 Y  \1 `9 S: W
  1015. ' P: Y8 h8 ~( s0 U% O
  1016. [mail function]7 R# |6 P0 ^: G
  1017. ; For Win32 only.
    / ?6 i5 s& `0 W8 n( U* m2 t
  1018. ; http://php.net/smtp
    * k2 L2 ?: W; K( g) W, R
  1019. SMTP = localhost
    ! B) ^% Y5 [8 o5 D$ C& U( G
  1020. ; http://php.net/smtp-port
    / W3 L# g; N% ~8 n
  1021. smtp_port = 25
    9 N% f2 E6 ~. C# ~( x! N

  1022. " c5 x2 Q- H! H' l& _
  1023. ; For Win32 only.
    3 C6 V# r* W* X
  1024. ; http://php.net/sendmail-from9 C  d% ~1 d3 f3 w* g
  1025. ;sendmail_from = me@example.com' ~5 l: V* Y9 e7 [# E8 g

  1026. . J6 ?) U/ ?2 L2 B; z2 _1 n# t
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ( Q' X! k- r/ @! S7 ?; `! f' m3 w
  1028. ; http://php.net/sendmail-path
    ) Z2 j/ B$ @' Q
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    % U# g. U: m( K7 Q+ d) T+ y

  1030. 0 e, q( {5 V; G
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    2 e) A) H, g$ G6 P" d$ C
  1032. ; to the sendmail binary. These parameters will always replace the value of3 u8 `8 i4 E! w. a5 T$ u5 D8 ^& i
  1033. ; the 5th parameter to mail().
    ; u' l3 G6 j( x; \
  1034. ;mail.force_extra_parameters =5 F, b$ ]. v3 l+ a2 n4 B. C5 W2 r

  1035. ( q( A' Y; m. s  D9 E0 r
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    6 G+ q; E9 Z2 y) D
  1037. mail.add_x_header = On6 m1 D7 b2 O+ d2 s+ u, {( n& ?1 g) p
  1038. $ A) `4 f8 P7 C1 h
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ! f; P! w3 _7 E* s. S
  1040. ; the full path of the script, line number, To address and headers.9 X) e0 N( y6 T$ O
  1041. ;mail.log =
    6 R" q& l! |& c" F8 r/ a1 s5 N3 V7 [
  1042. ; Log mail to syslog (Event Log on Windows).& r% j# }( z5 m) |
  1043. ;mail.log = syslog
    ) e6 n( w6 ^! ]- O5 y% Z: ~

  1044. + a6 @5 T# s- ]& f
  1045. [SQL]. i/ }6 \! |6 x0 V  z0 n
  1046. ; http://php.net/sql.safe-mode3 v& T9 j! B0 @2 ]+ A8 {
  1047. sql.safe_mode = Off$ ?2 t$ I$ C6 {5 c8 Z% z' `2 ^8 F

  1048. ' H8 E5 P: h; x, m
  1049. [ODBC]/ A- ?  K7 z' s1 G
  1050. ; http://php.net/odbc.default-db
    , d+ @( ]' p+ ~, d7 U/ U  V
  1051. ;odbc.default_db    =  Not yet implemented6 `) J! |, U3 r
  1052. ; g" E/ A" ]) V& B; J; W. Z( e
  1053. ; http://php.net/odbc.default-user
    7 D1 `& r- i7 N5 t/ s) @2 a  m
  1054. ;odbc.default_user  =  Not yet implemented: W/ l+ G6 w2 L3 _- L# Q
  1055. 7 y; D1 R7 W8 ^4 r* q& Q- S* U: c
  1056. ; http://php.net/odbc.default-pw
    7 R& L: N' D+ C8 h1 |
  1057. ;odbc.default_pw    =  Not yet implemented9 }' b  H$ U2 h# i, N5 K% b' z
  1058. 5 z! g3 n" W7 w$ B# r
  1059. ; Controls the ODBC cursor model.+ H; ?$ i0 d; b# d$ Q$ ^# i/ l
  1060. ; Default: SQL_CURSOR_STATIC (default).1 J! T  D5 }& o/ l6 b
  1061. ;odbc.default_cursortype- V5 p* {2 O, J' L

  1062. & i$ w/ G; P( S# t# \
  1063. ; Allow or prevent persistent links.: ?$ R, x5 B4 F: d, E7 N2 @
  1064. ; http://php.net/odbc.allow-persistent
    ' w& b# h5 ^8 u
  1065. odbc.allow_persistent = On
    1 e$ B  ^. B) Z. i$ }

  1066. ' ~9 h3 q# O( t, Y" P, J$ O
  1067. ; Check that a connection is still valid before reuse.
    $ `, l) c. e* t& z. |
  1068. ; http://php.net/odbc.check-persistent: m: f2 I/ M. t
  1069. odbc.check_persistent = On
    % t: }' W8 `+ ~4 ^$ Z% H$ t
  1070. , P1 R/ b% Y% }) a/ S
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ' R# q$ I2 U2 ]1 b
  1072. ; http://php.net/odbc.max-persistent
    3 }9 o6 t3 {' A  [. s
  1073. odbc.max_persistent = -1
    + D. \9 p7 F) N9 E$ E, U/ U' n

  1074. * T  p/ _& T1 E7 r' L1 ?
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ V0 H' I7 k& R
  1076. ; http://php.net/odbc.max-links3 K  S4 c. [" u# F
  1077. odbc.max_links = -1
    7 z% k1 z4 t. O4 U$ x8 u  n. \

  1078. + ]6 {" y7 ?8 j/ g5 F( [# v
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    # S4 F6 T% \* d$ v7 |$ ^; i
  1080. ; passthru." W, @- a( h6 e3 a  c
  1081. ; http://php.net/odbc.defaultlrl
    # B7 r3 l9 h, @/ k0 U/ W
  1082. odbc.defaultlrl = 4096
    0 J% T- \  k; m8 n

  1083. 8 e% \: }( [3 u- m+ s+ D& Y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    - p$ l0 T+ {* F. O
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation0 Y* Q5 T+ V) m, a
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    . l1 ?/ }% E! |* n- f8 ]+ ^" l
  1087. ; http://php.net/odbc.defaultbinmode
    / d; R* Y# e) H* |7 B1 z6 w! C3 n
  1088. odbc.defaultbinmode = 13 n' H% t* H" |- T

  1089. ; c  g3 o2 O: P; t" d/ Z- K
  1090. ;birdstep.max_links = -1
    / }% |% N2 W/ c* k- G

  1091. ' U' z# m' s2 `0 ^5 p' \
  1092. [Interbase]; ^, b* b- C4 L
  1093. ; Allow or prevent persistent links.0 k: z2 M' w! p
  1094. ibase.allow_persistent = 1" t, Z  C2 R$ D2 @

  1095. ) V- F9 e( y! b6 Q8 W
  1096. ; Maximum number of persistent links.  -1 means no limit.. l: |9 E1 P* @, M5 l- j) N5 O
  1097. ibase.max_persistent = -1
    4 i( [! k$ ~: r7 A1 N0 {
  1098. - [! }; R5 y3 O2 \, n
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! U, i# \+ ~2 y. N- G+ G1 P
  1100. ibase.max_links = -14 N- w! r% i* r" j0 Q* C
  1101. 7 h, E% U! i- z
  1102. ; Default database name for ibase_connect().
    ! H/ q0 c8 o. m8 n" S- y2 |/ `
  1103. ;ibase.default_db =7 H+ U8 g# ]6 C

  1104. 4 {- F" c+ s  R' _8 ^
  1105. ; Default username for ibase_connect().
    , n$ R  x8 O+ q5 r8 O
  1106. ;ibase.default_user =* k% B! F: i4 U4 n3 \5 J

  1107. 5 ^8 ~) W! ]4 y/ S
  1108. ; Default password for ibase_connect().+ R4 n/ o4 G* p- [
  1109. ;ibase.default_password =/ o5 I4 e$ r5 e7 W7 V

  1110. $ Y) S: ?  e/ x$ S) T0 g3 i/ X
  1111. ; Default charset for ibase_connect().
    " G! c- ^) e. @$ J" A+ ?# P
  1112. ;ibase.default_charset =
    6 }6 m3 |( k# Z$ S( E; Y5 P$ W9 c

  1113. 6 o- X$ B4 ~+ b- i
  1114. ; Default timestamp format.
    4 D1 W' z; H0 E5 }6 W, p0 u
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"5 n/ g$ e5 O/ q( B: R4 n+ m' f

  1116. , a# u7 b: M# n* P/ t
  1117. ; Default date format.6 t" f# ~' ~8 G0 g6 u& W
  1118. ibase.dateformat = "%Y-%m-%d"/ m* R) E- _( U; M( Y: A5 T" ]5 I: Q
  1119. % l5 c- }" B( ?1 I
  1120. ; Default time format.
    8 ?' X  O" Y% ]- {$ p4 |
  1121. ibase.timeformat = "%H:%M:%S"
    0 j3 y. G  W9 v
  1122. ' G2 Z' e9 l. J/ a! n: X: u3 l
  1123. [MySQLi]
    # y- x! ?3 l5 T" q* ?
  1124. " i8 M& D' p2 ~2 o) u2 M! h
  1125. ; Maximum number of persistent links.  -1 means no limit.
    " W- g  L: {2 I7 X
  1126. ; http://php.net/mysqli.max-persistent
    ( u/ }8 J  H. B
  1127. mysqli.max_persistent = -1
    6 I0 s& Z/ A& H8 A+ ]8 V7 M& C
  1128. % }8 c7 @; n0 z# w+ l; L( M
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 R& M$ Z0 o- j2 q
  1130. ; http://php.net/mysqli.allow_local_infile
    3 h* l) R# d: z7 a7 C
  1131. ;mysqli.allow_local_infile = On- y5 y. S% {( e+ G+ X  P
  1132. - p3 s. _2 _& `$ {1 B2 `* F$ Z; }
  1133. ; Allow or prevent persistent links.2 d$ t$ w9 b* Q: }. \
  1134. ; http://php.net/mysqli.allow-persistent
    % F, h, B1 v3 S
  1135. mysqli.allow_persistent = On
    # G! g( |9 E. X. ^; W- [

  1136.   s8 v% v8 u& v: J7 i
  1137. ; Maximum number of links.  -1 means no limit./ A6 D' d" C5 I
  1138. ; http://php.net/mysqli.max-links6 A. I, H2 |- |) I  f% x% g
  1139. mysqli.max_links = -1
    2 P9 A3 D1 `7 n: y) o: v
  1140. 9 P' L2 r. w, r" ?
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache; d0 t3 l: m" n* S0 Q2 q
  1142. ; http://php.net/mysqli.cache_size) t) i- D$ K9 F2 m3 U2 q
  1143. mysqli.cache_size = 20009 P' c8 Q) g' h

  1144. 3 H. }( i/ D. @: i
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use* E9 |) K! D/ H5 \# T
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( \# P: p1 r7 h1 x2 n
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. G: |  ^& O7 @  a0 Q
  1148. ; at MYSQL_PORT.* S1 a( h3 S/ U
  1149. ; http://php.net/mysqli.default-port
    3 M7 f7 o- b$ @) @
  1150. mysqli.default_port = 3306/ h/ P. A9 t9 R4 }8 j
  1151. ' U3 E6 J# T; t* ~
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in- Q& L- b0 y& @, i% l6 }7 b5 y; t
  1153. ; MySQL defaults.2 |8 t" ], h+ j7 |) o: r- k7 C
  1154. ; http://php.net/mysqli.default-socket; g$ Z/ J& h- S
  1155. mysqli.default_socket =
    & I/ K) l# s0 ~9 a9 [/ o' }
  1156. $ h1 s* m1 B, g2 g# G
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : b2 G) w" g/ @$ \- Y/ y
  1158. ; http://php.net/mysqli.default-host
    & L0 }& J2 V" S7 a9 w
  1159. mysqli.default_host =- C5 q4 H: w: C! ~$ ~: E
  1160. 4 Y( Y: l/ v5 _
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).: y! {, ]9 n- Y/ Z% S, H; Q
  1162. ; http://php.net/mysqli.default-user. }3 o: F: m5 S! L$ z
  1163. mysqli.default_user =5 F4 w& |- O. j. z. W( B

  1164. 8 F# l1 Y6 x% j5 F# ^3 ]* M/ ]
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 [& a: ^9 c8 J+ T3 [2 c  H
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    * F5 H. x2 R/ o. {/ c
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")# m9 `1 I9 I* ]
  1168. ; and reveal this password!  And of course, any users with read access to this: B/ b0 N2 @! `; F, m9 ~1 U/ K
  1169. ; file will be able to reveal the password as well.: ]! i# ?+ J+ l! N
  1170. ; http://php.net/mysqli.default-pw
    / q6 q. o. |1 \/ [  `$ ], b
  1171. mysqli.default_pw =2 z' O8 |# B' ]" |# U
  1172. 1 ]! U; J3 E5 G- x
  1173. ; Allow or prevent reconnect
    5 X: f$ r3 X& q; p) p' t
  1174. mysqli.reconnect = Off; b' F* n, N0 x; P' A* D$ U" W
  1175. : k: K- U0 r& k$ S2 |
  1176. [mysqlnd]
    ( B4 F$ r3 _- `: q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be. F. W' j; y1 i; Q) j
  1178. ; used to tune and monitor MySQL operations.+ G/ G8 K% x' S- q/ \/ v
  1179. ; http://php.net/mysqlnd.collect_statistics
    ( N0 b7 Y( W# X* L2 R
  1180. mysqlnd.collect_statistics = On) X7 [/ b: ?5 l

  1181. ) M! ^3 u$ h/ M# y
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    8 [7 V# C! ~% G5 ?3 |7 [! k! f7 Z
  1183. ; used to tune and monitor MySQL operations.
    1 _+ o6 b& H4 I; j+ O
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
      u+ X: F4 F( E6 f, x6 U8 t
  1185. mysqlnd.collect_memory_statistics = Off
    + o) k' j! j8 z9 H. _- ]

  1186. 7 W5 ^6 P  V. @- x4 n& j0 `
  1187. ; Records communication from all extensions using mysqlnd to the specified log: o9 G$ J1 i* S
  1188. ; file.
    # o6 ?2 b+ f" G
  1189. ; http://php.net/mysqlnd.debug# K! r4 ^# w6 I7 e
  1190. ;mysqlnd.debug =
    ; S4 {9 O, Y- M' X+ I
  1191. + B% @! E0 m+ O, O- i
  1192. ; Defines which queries will be logged.( Q, O2 a1 N" M6 N8 G/ k% o, Y
  1193. ; http://php.net/mysqlnd.log_mask
    6 t. o7 w& d; \: W; a% d
  1194. ;mysqlnd.log_mask = 0; V9 {' ]3 O. ?9 ~# i
  1195. 0 e9 U) D4 o0 O+ {" o  f
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.  f5 u4 ~3 w1 S4 h
  1197. ; http://php.net/mysqlnd.mempool_default_size/ O7 h! ?+ j5 y+ o
  1198. ;mysqlnd.mempool_default_size = 16000
    . g" Q6 K; d0 k  k+ d, T9 }
  1199. ; k/ _3 G5 }! i8 b7 m
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.% F  A! L) R1 m
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size+ v3 ?0 U& F3 S( c% p
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    7 g2 G: p$ Q1 w0 }+ i* K: o

  1203. + P" ~! l% c+ W$ @9 g
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    4 A. P& @% v4 }
  1205. ; bytes.% d( h9 [& u4 F: l7 k, o
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    $ x9 o* `+ h5 K% K2 k) c
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 J2 W9 @% f9 N$ l3 Y$ |$ P1 n
  1208. ' `- X" T3 j+ B  R) a
  1209. ; Timeout for network requests in seconds.
      r' l; W% g1 R0 V' ^6 |4 {5 w
  1210. ; http://php.net/mysqlnd.net_read_timeout
    8 N% o: f+ G$ c0 a
  1211. ;mysqlnd.net_read_timeout = 315360009 y+ F3 Q; K# C% l5 @# J( m% C
  1212. ( i& ^) Z7 T; u  D: Y0 A
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA% }4 L7 x. K7 S+ A* l" G, A% j
  1214. ; key.
    4 X+ ~4 X  c/ ^, y- {
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    * b: m' A% d6 c7 Z- o
  1216. ;mysqlnd.sha256_server_public_key =
    . V. D+ [4 {! J- @1 N$ q

  1217. ; `. M. F  m0 R$ s
  1218. [OCI8]4 S+ G) V. f' D0 F4 P
  1219. 6 z" |! `: C) _4 S( y) z
  1220. ; Connection: Enables privileged connections using external6 `$ @+ D- R; Z: @: G
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 \6 h6 O4 s1 T9 N- V' N
  1222. ; http://php.net/oci8.privileged-connect" |' N" t( D1 u7 G& b: s9 M/ S8 J1 p; z1 Y
  1223. ;oci8.privileged_connect = Off
    ) C9 K8 A/ M6 B% O) q+ d/ ~+ N" D
  1224. 4 c/ V* P( t$ y% S) T2 ^0 P) u
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ( w5 ]/ A1 k8 r; ?4 w7 f" i7 Y
  1226. ; process. Using -1 means no limit.
    7 H) s5 I: q# w, K1 h7 [
  1227. ; http://php.net/oci8.max-persistent
    4 Z' j: T+ G8 v
  1228. ;oci8.max_persistent = -1
    & ~9 L$ k* m; Q8 k/ c+ J2 H3 A- g
  1229. ( J  ]0 \' g" C
  1230. ; Connection: The maximum number of seconds a process is allowed to- H! _4 ~8 t7 T: a" \8 ?
  1231. ; maintain an idle persistent connection. Using -1 means idle
    8 S6 k- P! V! X
  1232. ; persistent connections will be maintained forever.
    # i* ]3 I  ~7 g
  1233. ; http://php.net/oci8.persistent-timeout
    ' R& v' D. ^0 G8 q( F* n/ @( U% o
  1234. ;oci8.persistent_timeout = -1
      f) f$ n1 ?& b' V

  1235. ' }5 i2 }7 q# R- V; }6 y7 p+ I
  1236. ; Connection: The number of seconds that must pass before issuing a' }" h( F" D# P% |: x) v
  1237. ; ping during oci_pconnect() to check the connection validity. When
    & [! f3 ]/ }) A% o7 [/ C- p" r
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ' @! {5 T# x$ [- N+ ~# n, V
  1239. ; pings completely.
    : m4 o# ?. g6 P8 L
  1240. ; http://php.net/oci8.ping-interval
    " k: m# r& [; M$ J( k* {0 s
  1241. ;oci8.ping_interval = 60
    ' e' g9 a7 M' J% q) q: S2 w/ S$ }+ H

  1242. & I3 ?  x+ e% ~' d0 Z# c' ~
  1243. ; Connection: Set this to a user chosen connection class to be used9 c! @% s/ v: w
  1244. ; for all pooled server requests with Oracle 11g Database Resident% E$ E6 G3 `/ w7 E. d
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ u8 o+ a: R# W+ p1 N) u
  1246. ; the same string for all web servers running the same application,
    2 k  @: q* V! b
  1247. ; the database pool must be configured, and the connection string must
    2 Q( Z, y2 k; u
  1248. ; specify to use a pooled server.8 Z% g7 X" {1 A! T' g5 E! [
  1249. ;oci8.connection_class =
    3 k8 e  u9 P) T* S
  1250. , N- I  Y! k" C9 Q* }8 f* r
  1251. ; High Availability: Using On lets PHP receive Fast Application$ b' p0 |; C& h; b. u
  1252. ; Notification (FAN) events generated when a database node fails. The2 d, `! J8 {0 d% X+ m: p$ \) n# b
  1253. ; database must also be configured to post FAN events.
    - ^9 L0 w( t( D
  1254. ;oci8.events = Off
    ! F6 i1 W0 M! S  H9 \1 g

  1255. / e' n3 J$ k  S" g
  1256. ; Tuning: This option enables statement caching, and specifies how
    3 J$ T9 ^0 r3 t4 n+ i  D5 `: G5 N
  1257. ; many statements to cache. Using 0 disables statement caching.
    0 ~/ M8 Q- Y. ^8 A8 d) C! c$ V
  1258. ; http://php.net/oci8.statement-cache-size+ O& e# ~6 m, d7 t: J9 W7 F
  1259. ;oci8.statement_cache_size = 20& f4 E; r5 }4 H( H( W5 k
  1260. 9 ?5 C. B! L4 l. j8 U
  1261. ; Tuning: Enables statement prefetching and sets the default number of5 p* ]# A5 W  @' z
  1262. ; rows that will be fetched automatically after statement execution.8 S4 h' G; R% ^
  1263. ; http://php.net/oci8.default-prefetch
    . n; V0 S( g. o/ r+ }( G! {
  1264. ;oci8.default_prefetch = 1008 ?6 s- l8 J& r8 w. C! U

  1265. & m- ~4 k* B# Q1 i& `' X5 d+ ~
  1266. ; Compatibility. Using On means oci_close() will not close1 l  K3 @' r! a6 P9 b3 g
  1267. ; oci_connect() and oci_new_connect() connections.  t. Y# o2 c$ T- K9 h0 n
  1268. ; http://php.net/oci8.old-oci-close-semantics
    2 w% Z% H5 `! y6 x
  1269. ;oci8.old_oci_close_semantics = Off9 i5 r$ f" c& P4 B! c
  1270. $ Z% _) d% J0 }" x% v+ I1 Q: U
  1271. [PostgreSQL]+ r4 V  ~$ H  S, ?9 L# L
  1272. ; Allow or prevent persistent links.
    ( T) l0 `- i# P1 z8 B8 e
  1273. ; http://php.net/pgsql.allow-persistent7 |% c* g  I- U9 U" P
  1274. pgsql.allow_persistent = On3 B: o- L. ]9 P1 c& T' F/ i9 P

  1275. 8 w) m( X7 v) n
  1276. ; Detect broken persistent links always with pg_pconnect().* c" Z# Q( g1 x# N$ |3 |$ W
  1277. ; Auto reset feature requires a little overheads.
    9 _# R) I! C# M; _; J
  1278. ; http://php.net/pgsql.auto-reset-persistent% i- P; v$ ?# e: I4 X, {, m( G* E/ [
  1279. pgsql.auto_reset_persistent = Off
    , i1 z$ ]) H7 x# M! U# C' T

  1280.   G$ e1 @4 \- T% P7 W
  1281. ; Maximum number of persistent links.  -1 means no limit./ a4 Y# G# w! i9 x. j
  1282. ; http://php.net/pgsql.max-persistent3 c" `- D9 L" ^& G7 h5 ~
  1283. pgsql.max_persistent = -1
    ! R3 ^! i7 L6 m
  1284. 4 v2 `+ h) C5 x1 h
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% @" G: S- m' X( p! R: O2 e5 I8 t
  1286. ; http://php.net/pgsql.max-links: @3 N8 e3 w0 i  q4 x. X
  1287. pgsql.max_links = -1& r6 h7 h5 u# u0 p  O7 E0 [

  1288. % s8 [* A1 @6 d5 b4 \
  1289. ; Ignore PostgreSQL backends Notice message or not.% `/ u2 F4 F( v/ t; C- B
  1290. ; Notice message logging require a little overheads./ e8 `5 `; C. G# G
  1291. ; http://php.net/pgsql.ignore-notice( S9 Z6 Z) O+ m5 z& I: u" {3 n
  1292. pgsql.ignore_notice = 0* F0 U3 f* a5 V% i% }" [) q
  1293. ! Q1 D9 N2 d% C. J4 _; b
  1294. ; Log PostgreSQL backends Notice message or not.
    * d" k% S+ ]8 G2 H6 J1 H% R2 k
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ c$ I$ ?* r! Y3 O# D1 p  }
  1296. ; http://php.net/pgsql.log-notice9 ?5 P1 n3 N7 H4 [9 j% _
  1297. pgsql.log_notice = 0
    & i# S. g7 w  \( @0 m9 N1 \' y% j
  1298. " a+ R6 i- Q- _3 X0 K' {" O
  1299. [bcmath]
    7 S% F! E+ L/ q0 @) U2 f
  1300. ; Number of decimal digits for all bcmath functions.- k+ K; h" ?+ @2 D6 C
  1301. ; http://php.net/bcmath.scale6 {! P% W4 z1 ]9 e" G9 v
  1302. bcmath.scale = 0
    & J, u3 C8 T- z. n. o. u3 ~

  1303. , T) }6 R' k* h$ i. w) h
  1304. [browscap]
    1 I) g0 U% ~# Y- J+ K! L8 k% D+ P
  1305. ; http://php.net/browscap
      \! l( z- z( v3 a8 p
  1306. ;browscap = extra/browscap.ini
    ) b  e3 W1 y# V+ q. j

  1307. 8 }& k+ q4 D9 ]4 z2 q8 k2 l
  1308. [Session]
    , b* u7 ~) z6 v  w  Z& Y2 S7 {
  1309. ; Handler used to store/retrieve data.
    6 `) D- g" J$ R# U' R  K
  1310. ; http://php.net/session.save-handler
    3 G) b& F) Y5 o% r# \) n2 Y
  1311. session.save_handler = files
    & R! j, L4 ?0 G7 u" M; T

  1312. ; h% T1 E7 y/ I! e$ k7 h+ s! }- G
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    5 r+ F; J5 M2 Z
  1314. ; where data files are stored. Note: Windows users have to change this* @8 Z: P  ~. T4 O" l
  1315. ; variable in order to use PHP's session functions.
    # C3 W! K) z/ `; f1 H( d; ~0 e
  1316. ;8 O; u5 ]% }8 ?$ \
  1317. ; The path can be defined as:  O1 ]$ a  U  w. e2 i
  1318. ;
    6 e& B8 |" [* V+ t$ A% t; {; }
  1319. ;     session.save_path = "N;/path"7 U( k+ `6 p1 k' E% z0 W. \" p" o
  1320. ;- B1 {( n5 e9 f5 W8 C" R
  1321. ; where N is an integer.  Instead of storing all the session files in2 s9 U$ j" l7 k0 S) a6 M
  1322. ; /path, what this will do is use subdirectories N-levels deep, and: O7 ?/ S5 }- s& O
  1323. ; store the session data in those directories.  This is useful if' }/ J: ^. a1 v1 I$ k
  1324. ; your OS has problems with many files in one directory, and is
    4 Y& M# ~. W- x, y
  1325. ; a more efficient layout for servers that handle many sessions.
    4 q5 C0 l1 j, A8 {  t4 y
  1326. ;
    9 {" ^9 E7 w: X& D9 D
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ( U+ ^- l5 m2 g5 m1 y
  1328. ;         You can use the script in the ext/session dir for that purpose.' _( P6 q$ H* R6 _
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    7 M& ?5 u, q* \# c
  1330. ;         use subdirectories for session storage
    8 S7 W" v/ w. v- _6 V
  1331. ;8 w: v3 Y# G0 u- ?0 g7 d# k  n0 d
  1332. ; The file storage module creates files using mode 600 by default.
    - q+ [6 z9 A- N9 s
  1333. ; You can change that by using
    ; \# i; V1 V0 l; U8 Y6 g5 j7 S
  1334. ;
    : V+ r: m% L% z
  1335. ;     session.save_path = "N;MODE;/path", c0 G" z4 m+ a6 t9 {3 H4 S9 I
  1336. ;$ @- }8 \0 g  M+ |# X/ e
  1337. ; where MODE is the octal representation of the mode. Note that this
    7 H' O. P0 P% z: \
  1338. ; does not overwrite the process's umask.
    - Q$ c! A, a+ T) i
  1339. ; http://php.net/session.save-path
    ' y8 T0 ^, B6 {
  1340. ;session.save_path = "/tmp"1 ]0 F9 k1 P! u7 F6 f) o2 Z8 y( z
  1341.   J; e6 [2 }1 I# Y! A8 ?( v6 f
  1342. ; Whether to use strict session mode.8 c8 u' p: \# L/ @- X0 w* q& y
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 \) [' b9 f" n/ ?5 @( \
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! V# Q- t8 ]: {/ D
  1345. ; applications from session fixation via session adoption vulnerability. It is
    & D' R7 x  g) M2 ?
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.( F; W2 v# R- V8 b# h+ q  T
  1347. ; https://wiki.php.net/rfc/strict_sessions# v  K; z: w3 q! C2 f* y
  1348. session.use_strict_mode = 0
    % _% ^( ^, P1 b, g
  1349. 2 |# r- H# N3 i! z* s1 {4 F
  1350. ; Whether to use cookies.
    ; ?$ e# {/ U* g9 g8 o7 E
  1351. ; http://php.net/session.use-cookies2 N5 k: B% ~! k- ~8 m  r
  1352. session.use_cookies = 13 x1 o& }: |% I: p. v
  1353. . P8 g0 Z. V9 T( F3 Y; Y' r
  1354. ; http://php.net/session.cookie-secure
    ! e. X, `" z& h3 v$ B5 X% Z
  1355. ;session.cookie_secure =
    2 A- v# e4 z  g& ~/ Q; E1 Q/ S
  1356. 0 A6 J5 \3 r9 L4 C4 Q! q
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining7 ^0 r6 {0 }& E! u
  1358. ; the session id. We encourage this operation as it's very helpful in combating3 W9 G* m8 b; r# o& e& \, t+ M5 _
  1359. ; session hijacking when not specifying and managing your own session id. It is
    4 n. S0 p  L# e$ _: S* x
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
      W- i2 w- I9 |5 Q& M" v
  1361. ; http://php.net/session.use-only-cookies! J$ L( a* N/ W1 |' ]4 a% G
  1362. session.use_only_cookies = 1
    - k8 u! i5 c; X: _. `( k) H4 [

  1363. ; L) O; g4 y. L/ \5 u! j
  1364. ; Name of the session (used as cookie name).
    & b+ `7 B0 y" j9 I0 P
  1365. ; http://php.net/session.name5 J3 Y3 d3 d6 E8 d* J$ R. h
  1366. session.name = PHPSESSID- [6 w; W4 {$ q( g

  1367. * u  ^& ~4 s3 {: J7 L4 n
  1368. ; Initialize session on request startup.0 q9 s& ~' d8 e, P' C
  1369. ; http://php.net/session.auto-start
    ; @3 O+ b; ~0 m$ U
  1370. session.auto_start = 0
    2 m2 B" R; Q5 C" Z9 d7 Z  Q, a- r
  1371. ; G0 \! p3 ?( {' u& j4 v
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    9 j* r  J; M# C; G
  1373. ; http://php.net/session.cookie-lifetime! a% \8 d& O! ?0 P" F4 ?+ s
  1374. session.cookie_lifetime = 0, P0 [2 d( n. j+ m4 e% E2 }

  1375. ; e( h  }6 \7 y1 \2 X
  1376. ; The path for which the cookie is valid.
    * m2 z4 M; f- C. P
  1377. ; http://php.net/session.cookie-path8 P7 \+ e& S- c0 W
  1378. session.cookie_path = /( S4 d. b9 a1 k! ^& N

  1379. : T3 B7 s" m  x- Y+ K
  1380. ; The domain for which the cookie is valid.
    & K* O( S' \: d* T( y! `( b
  1381. ; http://php.net/session.cookie-domain
    ' v& D, x$ h. t8 R; P) X
  1382. session.cookie_domain =) w1 i7 d$ N) |# g
  1383. * @! R, Y; M- _- c
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript./ z" T+ `) n; o: l
  1385. ; http://php.net/session.cookie-httponly
    - c* x% i" i$ h3 l8 {5 k; I% ?
  1386. session.cookie_httponly =
    / X" G5 t) ]; @9 b$ k6 U

  1387. ; y; U2 D1 ^$ M) S
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.6 ^( n  H2 p9 k
  1389. ; http://php.net/session.serialize-handler  O/ f6 Q1 {1 V( D
  1390. session.serialize_handler = php
    # |0 ^* a4 s( a7 ?1 K
  1391. + e6 a, M" s) C
  1392. ; Defines the probability that the 'garbage collection' process is started/ p! ]( R) v7 A  E; d
  1393. ; on every session initialization. The probability is calculated by using
    ) r8 k9 K8 V9 H; z6 f
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator( x. s$ D0 X3 u  d
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 15 Z" k: y2 R9 o
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 r( u' R+ ?& k- M8 P9 D
  1397. ; the gc will run on any give request.
    # c, g" {) {; e$ k4 k0 d7 t
  1398. ; Default Value: 1
    9 Y+ Y% X0 B: L* {1 J: S! g  _
  1399. ; Development Value: 1: Q, `# I& p. h( F2 P, C1 f: z
  1400. ; Production Value: 1
    * x# j' ?% s, b: ^4 x: g* o
  1401. ; http://php.net/session.gc-probability
    0 x: m, I: A0 w1 @" E
  1402. session.gc_probability = 1: N$ w$ @8 W  W" @- d* W
  1403. 7 x* m( ~) W$ M% N/ h; M
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ; v/ v2 R6 U  _3 I, z2 A
  1405. ; session initialization. The probability is calculated by using the following equation:- k2 _9 F6 ?: E5 l5 a2 {$ Z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% |7 F- Q' {$ O6 }
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    0 R" S- O: q% y) G1 v0 R( l9 E
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - J$ J6 B" _1 {/ Y; v
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you4 G$ L6 Q: p! u8 r0 l
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    , I" }* u# z6 D9 a2 q) D3 {( x
  1411. ; this is a more efficient approach.
    % A, l6 f1 e7 _  h; v0 s. V
  1412. ; Default Value: 100
    ; p% o) Y& k$ ~# k% s$ o
  1413. ; Development Value: 1000
    ! z4 c6 u2 Q' i
  1414. ; Production Value: 10004 I; C* L5 b0 x0 ?3 L# r. f3 n( G
  1415. ; http://php.net/session.gc-divisor9 C* Q1 P/ a+ O/ _- H
  1416. session.gc_divisor = 1000, \  T& x  Y/ b' Z% I

  1417. : f  D( t" |3 g, }
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    , G/ W9 K/ U( Q8 j# o/ r
  1419. ; cleaned up by the garbage collection process., L  O& K" r3 K% N7 o! x. @
  1420. ; http://php.net/session.gc-maxlifetime
    $ N+ {5 h+ s, v; w) C( m& t8 N
  1421. session.gc_maxlifetime = 1440
    # @0 p8 P( e1 w- a) o9 ^

  1422. ' F. Z% a8 I# B
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    $ {* s! r0 B# S2 U" D
  1424. ;       (see session.save_path above), then garbage collection does *not** B6 y' r$ `4 |* r7 N& [; ]9 U) m
  1425. ;       happen automatically.  You will need to do your own garbage
    ! n1 Y. I- X/ Q
  1426. ;       collection through a shell script, cron entry, or some other method.
    ( Z" i9 k2 ]5 i5 I0 `; y
  1427. ;       For example, the following script would is the equivalent of
    9 L- Z3 N" }& {2 {% P$ ^2 b  P
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    5 F8 p; W' Z6 p: d* B3 g
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    8 D) i+ E& G5 V$ i# g+ R
  1430. ! D1 n+ L5 ^9 b4 k7 C- O/ O  V
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 b9 Z2 r  k6 I( c* S# p6 Y8 y
  1432. ; HTTP_REFERER has to contain this substring for the session to be: d9 R0 \" x  [8 @$ d3 r, d& ]/ L% V5 q
  1433. ; considered as valid.
    4 n  z- d. m& d# l1 n
  1434. ; http://php.net/session.referer-check
    , t% U- @6 U5 |" c: ^4 K" G
  1435. session.referer_check =. L' }; l7 `8 }* L, a2 f( N* p8 A; K

  1436. $ V  Z* o1 N3 B8 ?" U/ y3 s
  1437. ; How many bytes to read from the file./ v- @- z: {0 l1 t5 k
  1438. ; http://php.net/session.entropy-length9 b" x! q1 {0 _
  1439. ;session.entropy_length = 323 v- I- Y" d4 v6 }
  1440. ( F- s9 o/ k  ^+ o0 k5 E7 ]) N
  1441. ; Specified here to create the session id.
    0 ^$ y& g9 o) Y2 K9 P( `) R  ?
  1442. ; http://php.net/session.entropy-file5 R8 _  T) W9 {: Y( {/ c* I- c) x" s
  1443. ; Defaults to /dev/urandom
    $ s5 N  S4 C# B
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    * T4 Q3 Z, Q4 m2 Q0 Y
  1445. ; If neither are found at compile time, the default is no entropy file.
    & W& L$ w! \) l" o
  1446. ; On windows, setting the entropy_length setting will activate the' ?) K, m  ?+ j4 A2 S
  1447. ; Windows random source (using the CryptoAPI)) y' g8 W8 F2 T! F( D
  1448. ;session.entropy_file = /dev/urandom! \8 e9 E3 j5 T" {+ |
  1449. 9 ?5 Q! m0 L- ~: l9 @3 w) E7 s
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects( T& l" R* z1 c  `
  1451. ; or leave this empty to avoid sending anti-caching headers.- E1 N" v' Q' \4 K$ A
  1452. ; http://php.net/session.cache-limiter
    8 j, Q* D1 l2 y' F( H5 c7 n( @
  1453. session.cache_limiter = nocache
    / j  K8 E0 ^2 ~) h/ A7 [5 ]

  1454. 8 s0 p  @# A- d* ], r& B
  1455. ; Document expires after n minutes.
    . _+ T) L2 ^# J8 u
  1456. ; http://php.net/session.cache-expire$ f" t2 O& S4 {& E
  1457. session.cache_expire = 180; o- X0 a" Q" f* ^% s$ _/ q

  1458. . g7 m! [! g* _, i5 F, w3 N7 J# X$ ^
  1459. ; trans sid support is disabled by default.
    3 K( ]* u6 \9 V
  1460. ; Use of trans sid may risk your users' security.
    ) z6 N0 [7 Q: x9 {% y+ h+ h/ i, @* U
  1461. ; Use this option with caution.
    # O" n, @5 `' ?& W# F& U
  1462. ; - User may send URL contains active session ID0 w  F, |: v$ l5 Y0 g6 z% t5 t
  1463. ;   to other person via. email/irc/etc.
    3 K. G; C$ F/ q8 t4 k' h( g
  1464. ; - URL that contains active session ID may be stored) c  P( D, s2 V
  1465. ;   in publicly accessible computer.
    % E9 t; Q* n& @0 F. G
  1466. ; - User may access your site with the same session ID
    ) V7 y* X% t6 A* l, x
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 B: r3 S! R" ?' K- b# ^/ B, `
  1468. ; http://php.net/session.use-trans-sid# o1 M6 H' U7 s. o" H: m
  1469. session.use_trans_sid = 0
    . E) i/ g! \# V1 M6 ~. F) B) b5 J

  1470. 9 l) E  R6 Z6 E' A' p0 g% K
  1471. ; Select a hash function for use in generating session ids.
    / j4 X) l  e0 _. A+ y1 Q
  1472. ; Possible Values* ]$ h- x6 }! L. e
  1473. ;   0  (MD5 128 bits)6 g) v8 a2 p% r# R6 H) C
  1474. ;   1  (SHA-1 160 bits)
    0 d+ d' B  f% \) n& @0 K8 p% f- `
  1475. ; This option may also be set to the name of any hash function supported by
    4 n! u. ]" E3 o9 f8 H  a' c
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    1 z/ p2 {* \1 S$ b& s% Y
  1477. ; function.) |! N9 u1 \: h+ U
  1478. ; http://php.net/session.hash-function
    # }1 Z$ l! y* q. e/ D& r8 H
  1479. session.hash_function = 0
    + `! A; ]- C/ G: n

  1480. ) o+ A0 K; D( Q6 ]
  1481. ; Define how many bits are stored in each character when converting6 d6 e* t7 z, ^/ o7 T5 u3 f4 o$ G
  1482. ; the binary hash data to something readable.2 W' c6 f$ Z& ~* @$ ]  k4 |
  1483. ; Possible values:. d6 x& ?1 x. }4 C. m% Z7 i5 D
  1484. ;   4  (4 bits: 0-9, a-f)1 X" R& T" ?# ?) m# I  U
  1485. ;   5  (5 bits: 0-9, a-v)
    $ B3 d5 k8 {+ P" w: ^; K* V3 K
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 y/ O& X, o# v" I/ x, [
  1487. ; Default Value: 4
    ! B# k! o. P  Z( c1 N+ s
  1488. ; Development Value: 5$ h: V: B1 J( z0 ~/ y
  1489. ; Production Value: 50 ?+ L" W8 Z# b  Q& S/ R
  1490. ; http://php.net/session.hash-bits-per-character! \5 [, a% g8 p' ~3 H
  1491. session.hash_bits_per_character = 5
    : R$ I/ u* W6 E8 c+ H# e
  1492. 6 T0 m& n- V* G1 k; f- p- o
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    - M: |/ r/ i8 F: ~- D! N
  1494. ; form/fieldset are special; if you include them here, the rewriter will' H# ^, d4 X1 q# u
  1495. ; add a hidden <input> field with the info which is otherwise appended3 e! c' F/ t9 q4 U# h& M. p, d
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.  \% L# J9 O, Z3 P* e* H
  1497. ; Note that all valid entries require a "=", even if no value follows./ y! j1 B5 m, G. O' c2 m
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="& C0 O! K$ i  `! J; T3 O
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : E/ U7 i! v, [% C( T
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : ?4 E" R3 `- A! S: j0 k
  1501. ; http://php.net/url-rewriter.tags
    * T4 k  L4 n: I6 C6 J8 d2 W
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 K* _: t6 c4 A! b
  1503. + C" `" u! s7 F  K
  1504. ; Enable upload progress tracking in $_SESSION
    " s9 x1 g5 ~0 k
  1505. ; Default Value: On
    # [1 F- @$ s  O, m0 i8 X9 o
  1506. ; Development Value: On
    / Y( _) S0 Y* V5 d5 s& Z/ P
  1507. ; Production Value: On
    & N' {7 W, ^$ C5 l0 ~; i
  1508. ; http://php.net/session.upload-progress.enabled, p- b( X2 j; U' V" M
  1509. ;session.upload_progress.enabled = On; k% J: l" r& t  B6 |. n
  1510. ) @# E6 a' r" X# F' ^% Z
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ' k! N5 V, }: \! p$ \+ T6 m8 ]
  1512. ; (i.e. upload completed).2 P% T4 X# Q1 ~
  1513. ; Default Value: On0 W. w5 R0 E$ O8 z# N
  1514. ; Development Value: On5 O5 v$ ~* y, g1 D" m
  1515. ; Production Value: On6 c- q4 p+ p( G9 R  t
  1516. ; http://php.net/session.upload-progress.cleanup
    - ], I1 E& ?! W- l' ]! |
  1517. ;session.upload_progress.cleanup = On
    7 [) J# F0 k2 U4 x' O- \  F& V

  1518. * }; l( @- \, R+ O0 f
  1519. ; A prefix used for the upload progress key in $_SESSION
    6 j3 z4 ^6 e6 j3 o* I) v1 N) K( T
  1520. ; Default Value: "upload_progress_"/ N5 O+ n! c) h& ~$ V3 @# T( J3 v
  1521. ; Development Value: "upload_progress_"1 n, U4 B. E! p& R8 \; u
  1522. ; Production Value: "upload_progress_"5 t9 {+ [$ h7 z$ Z$ f
  1523. ; http://php.net/session.upload-progress.prefix
    % V$ A! q7 y0 C+ ]0 T  U
  1524. ;session.upload_progress.prefix = "upload_progress_"7 C! R  X% `2 z& i" V

  1525. . }* d  a5 ?; F- x7 u" Y0 `! o
  1526. ; The index name (concatenated with the prefix) in $_SESSION, w8 {, N5 a3 ?/ `8 I
  1527. ; containing the upload progress information
    ; G( P- t# V/ _) e/ o
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - @) r5 a4 X8 k2 K3 T8 L+ B2 O* n
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " k4 ?$ J5 h* R. E3 S2 ^
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # s7 r8 G' E- R  a7 H. a8 l1 _
  1531. ; http://php.net/session.upload-progress.name$ X9 ?! q. m+ w  j- S
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& l3 o& R% V; `# ~

  1533. ( x) W9 T! b5 k  {4 n4 }4 U& K
  1534. ; How frequently the upload progress should be updated.2 h6 F! a: e: V0 J" V. p
  1535. ; Given either in percentages (per-file), or in bytes' H( q, L+ {" R+ t2 h3 _) m* i
  1536. ; Default Value: "1%"8 n, {# y: g& I. d
  1537. ; Development Value: "1%"
    5 q1 L0 D! G! Q+ z7 W
  1538. ; Production Value: "1%"/ U* ?2 r) L( u' W
  1539. ; http://php.net/session.upload-progress.freq& F. y8 [" F9 b$ g3 n& j9 K# J
  1540. ;session.upload_progress.freq =  "1%"
    2 D2 J3 K: t$ k+ Q4 }0 j

  1541. . C. M6 T! {  H
  1542. ; The minimum delay between updates, in seconds3 F0 m+ c5 L; Y( h9 c4 H! L, S% G( i
  1543. ; Default Value: 10 E' [5 U. n, a, O3 ~7 \  m
  1544. ; Development Value: 1' J! W" Y# v  ~
  1545. ; Production Value: 1
    1 w: A; u' Q, C# ?& |9 f( ^
  1546. ; http://php.net/session.upload-progress.min-freq
    ! |, e/ X" z  N) ^' f
  1547. ;session.upload_progress.min_freq = "1"! q, H1 _% B9 s( [# X" c5 F9 l- ]: a0 b
  1548. ; S% Z$ b% V( P9 K
  1549. ; Only write session data when session data is changed. Enabled by default.) d- U  \: l, [/ r/ p: t# J: o
  1550. ; http://php.net/session.lazy-write
    8 X1 M( O9 i4 D4 s5 g  C
  1551. ;session.lazy_write = On
    1 z$ N  W; m) ^: h6 F& m* K! _

  1552. ; m0 T  {& ~" s' a5 X/ q& p
  1553. [Assertion]
    6 Q' ^; D5 Z% L1 O# @1 p; c( x
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    4 P/ K% ]/ q6 v5 N" {+ v
  1555. ; -1: Do not compile at all
    1 d  \1 E  H4 g+ ?9 f
  1556. ;  0: Jump over assertion at run-time
    8 g2 p0 I$ o! n( O4 o3 H
  1557. ;  1: Execute assertions
    - [7 _  D. \# L" L( H6 v2 w" m" h
  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)
    9 E( C9 A' r% K+ C( b
  1559. ; Default Value: 1% @* k4 ?7 ^$ u7 z1 J
  1560. ; Development Value: 1
    - x, m1 t: P  o8 D7 j: w
  1561. ; Production Value: -1  i2 W) b/ U4 ?; x
  1562. ; http://php.net/zend.assertions
    6 `* H0 ^. Z$ {( Z; C# k& i; O
  1563. zend.assertions = -1: m: O7 O% Y# E2 P9 c4 R3 y+ H

  1564. 2 `% w! E( M4 K$ F$ O4 ?- V+ d7 S
  1565. ; Assert(expr); active by default.4 n8 v9 }& c* ]3 S7 Z+ `' f
  1566. ; http://php.net/assert.active! Z( E( c$ x* n6 M3 f" t& y$ D
  1567. ;assert.active = On; @$ g2 {% C9 h' O1 e/ d. \

  1568. 9 P9 G1 H) {6 F& Z4 }
  1569. ; Throw an AssertationException on failed assertions
    0 t8 T& E' ^% q4 r( [: k; q
  1570. ; http://php.net/assert.exception
    7 A  I9 P5 r8 q6 ^% _; j
  1571. ;assert.exception = On
    6 R& `+ H7 l6 q: e8 t' u
  1572. - n9 H" W- Q! N' Q
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + ?3 f6 P' |  D) G) r- S, ^
  1574. ; http://php.net/assert.warning
    " k# p: _8 S7 P( X* ?1 i
  1575. ;assert.warning = On
    " b2 D8 U' ~4 S: E

  1576. 6 }6 B+ v3 X! L2 c1 F
  1577. ; Don't bail out by default.; w% E; j8 B, u1 q7 m3 F  E# F$ A
  1578. ; http://php.net/assert.bail4 @- r  T- T& ]1 z8 @7 ~. T
  1579. ;assert.bail = Off
    # r8 y& `  y* H% G

  1580. ; \+ m) c1 z) a& a
  1581. ; User-function to be called if an assertion fails.. m) Y9 C3 v4 m$ Q% I. x
  1582. ; http://php.net/assert.callback1 M  |- ?9 D* F( i2 O9 O/ l
  1583. ;assert.callback = 0
    # K4 o6 K2 v8 y+ B+ i

  1584. ) u! F* |! g3 u8 o9 v
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    , W! d. s6 t( @4 g+ F6 W$ C
  1586. ; error_reporting(0) around the eval().
    ' }- ^4 ]! S+ V  ]6 B2 |6 O/ S( [) f
  1587. ; http://php.net/assert.quiet-eval0 w0 M$ x5 m2 f! u, e; N' t% ?
  1588. ;assert.quiet_eval = 0! m/ D9 A2 B$ g" Z
  1589. 4 \- o2 P" v6 W; W9 j
  1590. [COM]3 f. r4 v! A1 Q, I7 V
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs% m5 P( u5 U% S5 p, o2 f
  1592. ; http://php.net/com.typelib-file! E* Y7 x2 d3 S% e
  1593. ;com.typelib_file =1 l+ z1 n7 z# V$ _

  1594. % Y1 q) R6 Y, X9 S7 h7 o
  1595. ; allow Distributed-COM calls
    + J; i2 i. s! x& P& K* x( Y3 H
  1596. ; http://php.net/com.allow-dcom0 X3 x' o- j' A: p2 j$ J" y9 Y- f. c
  1597. ;com.allow_dcom = true9 R. s& R2 m- d& `, L% @# U1 r
  1598. 7 g" `( a  X# P4 E
  1599. ; autoregister constants of a components typlib on com_load()
    4 T5 D  v; @+ ~7 y  p+ T% [
  1600. ; http://php.net/com.autoregister-typelib
    " P/ H* B" O& X: ]/ j0 T  p* Z* L% i
  1601. ;com.autoregister_typelib = true/ p+ x, m3 x. t0 l& P9 n

  1602. ! X& c/ x( B2 R4 e' }
  1603. ; register constants casesensitive
    8 T, `# k  Z7 o9 c6 h3 C9 i
  1604. ; http://php.net/com.autoregister-casesensitive
    ! Z, |0 L9 T7 j) \
  1605. ;com.autoregister_casesensitive = false
    * o' h) _, m* T& \9 {4 ~
  1606. ) n8 E5 `/ B# f& w) c3 J. p
  1607. ; show warnings on duplicate constant registrations
    % o% B8 X2 _' e
  1608. ; http://php.net/com.autoregister-verbose
    4 q/ J5 W9 N8 v
  1609. ;com.autoregister_verbose = true5 P% ]- ?# w# N) J+ D' r
  1610. # h' I& i6 \7 e/ t7 k$ U8 n. I
  1611. ; The default character set code-page to use when passing strings to and from COM objects.* @0 O- f" Z6 `7 Z0 U
  1612. ; Default: system ANSI code page3 \$ o3 {) y+ e2 Y( h( F
  1613. ;com.code_page=
    2 H7 S/ T  {5 o) [

  1614. ! B5 k7 z& D! ]- A6 O
  1615. [mbstring]+ N6 x5 Z, s- O8 l9 O5 h
  1616. ; language for internal character representation.+ i6 ?& k3 O) h4 @, x
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    1 o% u5 v! z/ B3 m4 F
  1618. ; http://php.net/mbstring.language
    ) h/ }0 ?( u7 _. G/ ^, v. `7 H( k1 n
  1619. ;mbstring.language = Japanese% _/ a$ W1 E2 A( @6 D
  1620. + b" Q( o8 H; ?% J8 u3 q
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead." j3 g" _  M0 `# U. z
  1622. ; internal/script encoding.! [* x  ~. q  P) Y' c+ X! S
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    : a% a3 K7 F; P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( Z& t8 u, Z4 [0 ^; z, _
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 m5 u5 ~8 l5 E1 M$ [
  1626. ;mbstring.internal_encoding =
    ( o6 K. Y9 g- l% ?% K5 q

  1627. * R  s5 I3 @5 o7 S2 @2 F
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ i+ G% c& ]  v
  1629. ; http input encoding.6 ~3 i' U. p* m, v9 L8 _( A9 N1 l
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.2 W% p) O/ V& `9 q- k
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    7 K7 {8 t+ |' K# X9 n. g7 [! c
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    . J6 [. n1 j0 u2 P5 {% C4 h1 I2 d: X
  1633. ; http://php.net/mbstring.http-input" T* R4 c8 s8 I" c- r/ |9 _' p
  1634. ;mbstring.http_input =1 w8 d* I: j: X$ H& [' S/ B/ h
  1635. 9 I! x  a. D! e( J& O
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . C- ~% @( P9 {) m/ o# n2 S* y- Y
  1637. ; http output encoding.) R1 C: o0 c7 k. M6 _
  1638. ; mb_output_handler must be registered as output buffer to function.5 H  g( L: g4 m% |& X$ u
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    9 a. W& O' O, M: U& Y) s
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output. P# W' }; K7 {+ Z# h
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ; l, z2 e8 H1 k8 B: o- R
  1642. ; otherwise output encoding conversion cannot be performed.2 `, T$ d" M" v6 N
  1643. ; http://php.net/mbstring.http-output! i! O# e- J# x9 H+ D0 g$ A
  1644. ;mbstring.http_output =+ d4 J; C" o" a9 f4 l
  1645. . ~5 x5 z$ |1 {5 C
  1646. ; enable automatic encoding translation according to
    6 r0 B: c* H9 h7 E" Q$ G: r- T
  1647. ; mbstring.internal_encoding setting. Input chars are
    * }  u. P( }+ n( Y
  1648. ; converted to internal encoding by setting this to On.
    - X: y$ N3 @! A* E  k
  1649. ; Note: Do _not_ use automatic encoding translation for9 S  R3 q2 n$ O+ n: S3 R) u  Y
  1650. ;       portable libs/applications.
    0 p: E: v& }7 W' j' B# C
  1651. ; http://php.net/mbstring.encoding-translation$ j2 x! l* H; K0 p! ]/ J2 C
  1652. ;mbstring.encoding_translation = Off
    8 r' M" S# I1 m% V: P$ X4 K
  1653. : f! w1 B/ g4 |# M
  1654. ; automatic encoding detection order.
    % h  \2 v7 I7 ~7 s+ @7 |$ ?
  1655. ; "auto" detect order is changed according to mbstring.language( d% c, ~4 R$ G- k5 J1 }
  1656. ; http://php.net/mbstring.detect-order
    1 a' X% s- {3 d* O$ ~
  1657. ;mbstring.detect_order = auto9 m2 I1 ^  }- l' W2 q) P" X- s) w7 i

  1658. 6 ^2 Q3 Z/ Q) I7 u5 O
  1659. ; substitute_character used when character cannot be converted: [3 R/ }5 W+ `: N2 Q" }' P
  1660. ; one from another( ]3 q- f1 J) E( j- l
  1661. ; http://php.net/mbstring.substitute-character
    . ~8 ~4 U& k, A, {3 g
  1662. ;mbstring.substitute_character = none
    3 c; [+ T' L2 K: \$ E- l3 \

  1663. + b) y: q! @6 K2 ?! g' A0 `- T. y
  1664. ; overload(replace) single byte functions by mbstring functions.& }! X6 t! {2 b3 ~
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),+ q  ^& v6 K; H6 f/ I. z( j* h
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    4 a0 g+ t/ T+ l6 b  ?/ T4 t. g# @
  1667. ; For example, 7 for overload everything.. `$ T7 \$ I3 \' C5 l
  1668. ; 0: No overload
    * N4 `  R" h5 T6 `9 s2 P' B/ [
  1669. ; 1: Overload mail() function3 Q* R$ K- L0 T* V$ F
  1670. ; 2: Overload str*() functions
    " Q3 f- V: Z) D& v. _
  1671. ; 4: Overload ereg*() functions( `, O3 ^  f0 H0 c5 X
  1672. ; http://php.net/mbstring.func-overload' C; x& i/ i7 j1 o
  1673. ;mbstring.func_overload = 0
    , G2 C; d5 [3 S+ f
  1674. 2 _, l& }: [4 p; b6 |" F
  1675. ; enable strict encoding detection.
    5 [' o- h. q' W6 i  j% t1 l
  1676. ; Default: Off$ b  z: \/ a2 k9 s' c: f# H, v
  1677. ;mbstring.strict_detection = On& o. V0 `% J5 W/ v
  1678.   F4 H7 V$ Z2 @" E. R
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()/ o! R( M1 P! K+ g" j
  1680. ; is activated.
    ! O# M/ j4 t" ]1 p# ~- f6 l# ?" M: P
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * R( ^: G& ^  {+ Y$ Q( U
  1682. ;mbstring.http_output_conv_mimetype=
      U4 m0 M# [3 E! M

  1683. # @7 z8 O& s& ~6 Z- @. a: {" D
  1684. [gd]
    $ U& f; Q  ]% D
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    0 Z# R5 ?7 B1 |* V
  1686. ; a gd image. The warning will then be displayed as notices- A# c& @# s8 N$ ^: E
  1687. ; disabled by default
    . B0 F( \5 a4 x- x4 i3 ~% `! t; C
  1688. ; http://php.net/gd.jpeg-ignore-warning+ P, |- j/ v3 T$ x
  1689. ;gd.jpeg_ignore_warning = 0
    + U( E$ m7 K1 |0 }% ?

  1690. 3 R  ~+ S4 I, D# K5 r/ U
  1691. [exif]
      s8 P+ o0 e# l7 q3 e
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / X/ ^5 k. `9 g$ s. a3 r
  1693. ; With mbstring support this will automatically be converted into the encoding
    9 p1 A1 d7 }( Y$ S  O
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    0 B7 _1 [4 a/ C. a# i/ U9 u
  1695. ; is used. For the decode settings you can distinguish between motorola and) b: B. A: ~2 W+ U* u1 i! c8 e
  1696. ; intel byte order. A decode setting cannot be empty.
    ; \0 M; y( f! e
  1697. ; http://php.net/exif.encode-unicode. b+ h2 H# c1 @
  1698. ;exif.encode_unicode = ISO-8859-15
    - j& }* L" L7 I

  1699. 8 O' V( j. S/ t5 v( O
  1700. ; http://php.net/exif.decode-unicode-motorola
    ) |8 j) r! L( x0 M
  1701. ;exif.decode_unicode_motorola = UCS-2BE9 Y- s+ d( M4 v' Y/ C- D
  1702. + G* J0 X$ B" K
  1703. ; http://php.net/exif.decode-unicode-intel
      e6 Q7 w( H/ J0 [8 G; E
  1704. ;exif.decode_unicode_intel    = UCS-2LE8 m. V0 D  F8 F+ b

  1705. $ E) y4 u$ ^5 K8 k7 d" w8 a5 @
  1706. ; http://php.net/exif.encode-jis
    5 e$ t' y& g1 j# q% C
  1707. ;exif.encode_jis =& H, @+ s7 V: l# n( U1 K

  1708. 3 `4 X7 K! I/ L/ {
  1709. ; http://php.net/exif.decode-jis-motorola5 G/ q5 K) p2 W  y
  1710. ;exif.decode_jis_motorola = JIS' n4 ~1 \- b# }

  1711. & Q; k! e. S# b6 W1 ]: R$ w3 n' X
  1712. ; http://php.net/exif.decode-jis-intel3 G- x( B/ j0 S
  1713. ;exif.decode_jis_intel    = JIS: V! Y9 [1 L+ i( T1 I# ^; b) s
  1714. % s* l$ z0 S, K  l) Q9 D: H8 u
  1715. [Tidy]
    + C  D2 J7 o6 i' l0 \$ [
  1716. ; The path to a default tidy configuration file to use when using tidy( q6 S, D& X, h- s1 @; r2 L0 S9 t
  1717. ; http://php.net/tidy.default-config
    9 d6 X( O$ \4 C# u
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg# W3 B$ v; H; }9 n' K3 Z

  1719. ( N3 Y4 v0 v5 b
  1720. ; Should tidy clean and repair output automatically?1 ~5 \' M9 n. Z% T7 U
  1721. ; WARNING: Do not use this option if you are generating non-html content) W. N- S* E$ Q
  1722. ; such as dynamic images0 y' d7 I4 \5 ?5 x) v8 M
  1723. ; http://php.net/tidy.clean-output
    $ }- x' K* m# Z; P# G
  1724. tidy.clean_output = Off
    + \( ~# b- g( _$ _5 D

  1725. 6 x8 s, t, ]: H
  1726. [soap]
    " L; V2 `0 M+ M4 F7 Z% G' f. O' i
  1727. ; Enables or disables WSDL caching feature.7 B$ n$ s; k" B% u. u0 k
  1728. ; http://php.net/soap.wsdl-cache-enabled8 |, d( m- ^. \4 _5 u0 V
  1729. soap.wsdl_cache_enabled=1' n! n! I7 t6 p: u4 N0 c
  1730. ) p9 w5 e8 A! {' b: d
  1731. ; Sets the directory name where SOAP extension will put cache files.3 I- L1 Z  U7 a5 Q
  1732. ; http://php.net/soap.wsdl-cache-dir
    5 a* Z. p' v# J+ `9 F8 \
  1733. soap.wsdl_cache_dir="/tmp"
    . w" n3 ]- o5 S: a, H) }7 L
  1734. 0 t, i! m+ ^8 a6 j8 Q/ m
  1735. ; (time to live) Sets the number of second while cached file will be used4 U( n, m) X- a8 N: V6 ~- V
  1736. ; instead of original one.
    5 ~/ q# c; ^' P
  1737. ; http://php.net/soap.wsdl-cache-ttl
    9 W1 `, v& I/ G% o2 r  e
  1738. soap.wsdl_cache_ttl=86400, c+ r3 Q1 x6 F3 M2 A# ?! o
  1739. # H! F" I) U% |, k
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ X! i8 I* I* B
  1741. soap.wsdl_cache_limit = 5' l" i" x; `3 X, z

  1742. 4 x4 H7 E( z5 D  z9 `& I. B
  1743. [sysvshm]' d: b3 i) A2 g! R. q
  1744. ; A default size of the shared memory segment
    ! j) E4 W' z8 o0 K6 q8 T3 g
  1745. ;sysvshm.init_mem = 10000
    $ e. M/ X+ x( T9 m) T: I8 ]+ }$ k

  1746. ! ]) Q; u4 `  u2 |: `
  1747. [ldap]
    1 K& s6 P/ u5 H+ N" F
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 M$ J: w! q; H+ f- ]$ q
  1749. ldap.max_links = -1
    . L, k  G  e9 }
  1750. 7 S. u) f6 [$ y: d1 d
  1751. [mcrypt]
    $ v* x+ L& }6 \- A0 D
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    + N4 P; `5 y  Z0 ~2 \
  1753. ! N6 ]6 f. B6 U: o! _4 M
  1754. ; Directory where to load mcrypt algorithms
    5 U9 S! g" V7 f' A# s
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 e5 x- e. l" S' p
  1756. ;mcrypt.algorithms_dir=1 d2 M2 o* _  `7 y! N
  1757. : c6 ~6 c. f4 Y# l1 {$ D
  1758. ; Directory where to load mcrypt modes
    $ V4 P! {# ~4 d6 _4 X8 Q% |
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 A& A- `9 I) [" S' ?6 n
  1760. ;mcrypt.modes_dir=5 H5 }! B8 f# r- R# l) |* ^

  1761. 0 Q+ _! B( Z; E
  1762. [dba]
    8 T& A) Z& S% k! ^. r% p* k
  1763. ;dba.default_handler=1 R; E8 S# c( }" J1 @7 K% p0 S5 z& ~

  1764. 2 H/ I3 c! f3 J2 U( K) r( {
  1765. [opcache]
    & P6 c% o: F8 y$ w. H7 `- A
  1766. ; Determines if Zend OPCache is enabled
    ! {, G% J; q) o" |* \$ ?% f
  1767. ;opcache.enable=04 z+ Z, h1 C& n5 w

  1768. + U' t% E5 H5 {* Z
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    + B& h$ w2 B- ^, n1 d. P& M
  1770. ;opcache.enable_cli=0
    # Q# n3 U; B1 \1 _4 o/ q+ L. `
  1771. , i2 H7 j6 |* i/ U* z+ m! @
  1772. ; The OPcache shared memory storage size.: Z5 h* B/ R! P9 @9 f1 y  |3 B! ^
  1773. ;opcache.memory_consumption=64
    ; W6 l! k( t- t; k4 T
  1774. ; J& o: h  b" {
  1775. ; The amount of memory for interned strings in Mbytes.1 ]4 b" ~  n9 w3 \
  1776. ;opcache.interned_strings_buffer=4
    , ~  C  T( S; c+ R

  1777. 8 R! O; V, `: k5 Y0 Y
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.4 l) A/ u  x) y, T/ c! O
  1779. ; Only numbers between 200 and 1000000 are allowed.& z7 O5 i+ U) b' x/ D
  1780. ;opcache.max_accelerated_files=20007 L5 q( l; |2 Q# ?9 w3 g' x
  1781. & ]0 M' M& Y  o% z% Z7 q$ o
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.; r9 g* k0 C; I3 {# b1 n' U. J
  1783. ;opcache.max_wasted_percentage=5
    6 M& F- b, b/ T- w1 A: `
  1784. 4 e; I, H; `* X" Q; ^1 V7 B
  1785. ; When this directive is enabled, the OPcache appends the current working& |4 B1 X1 n) m6 l$ ]" Q
  1786. ; directory to the script key, thus eliminating possible collisions between# j( r" z5 u  V+ y% e
  1787. ; files with the same name (basename). Disabling the directive improves
    1 Z. f9 V  I: d5 ]1 g- m+ Z
  1788. ; performance, but may break existing applications.- X4 S5 \  F! \4 o' m
  1789. ;opcache.use_cwd=1
    8 p! q* s' i% Y+ }2 q
  1790. ) f* O: H5 M' P# p& r1 x
  1791. ; When disabled, you must reset the OPcache manually or restart the0 r! j2 _" J0 B9 J4 a3 p
  1792. ; webserver for changes to the filesystem to take effect.
    / N/ }# w; P* Y2 W* N9 ]6 a2 W# Q
  1793. ;opcache.validate_timestamps=1, ^( A, ~0 {  E( y/ Y7 A* x4 j$ Q) L

  1794. ! f7 H- j9 b  ^- B1 d
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    - T& @$ W  v5 Q) @# G
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    1 y8 O/ \! }7 I
  1797. ; once per request. "0" means always validate)
    # l+ w. L1 s  u. s& O
  1798. ;opcache.revalidate_freq=2
    ! R; p1 Q( {1 [% @9 ^- z

  1799.   B( w2 H1 |( `: _. }
  1800. ; Enables or disables file search in include_path optimization0 U4 N& d% t5 U
  1801. ;opcache.revalidate_path=0( j, L+ N  P8 n- [7 h! V
  1802. 2 D" e3 [' y  g9 O/ `- O
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + W6 I& w/ ]& q) @0 r0 x& |2 C
  1804. ; size of the optimized code.
    3 o( Q" ~& P9 `/ x; l0 t- G2 z
  1805. ;opcache.save_comments=1
    / e, W: B7 k3 `
  1806. 9 w, J4 [3 X, d" q. v
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code; y' Z/ H. j  w$ |; c6 t* G+ Q9 [
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    . t& O  J/ w* X& n9 l3 U! `% K
  1809. ;opcache.fast_shutdown=0
    4 o) z0 A  s' l) M( |+ N  j1 ^
  1810. 5 j% t  D; A. d3 H% e
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    7 J* X1 `0 n; B
  1812. ;opcache.enable_file_override=0
    ' \$ j9 D+ M9 |, b% Q

  1813. $ h6 s- a; X7 i. `
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 n' U0 ^) \  z+ l
  1815. ; passes: K' L; P9 P5 [( O9 t+ I
  1816. ;opcache.optimization_level=0xffffffff7 {( P8 L2 ]6 K1 a5 R1 Z

  1817. ; M+ Y7 Q# j( S6 f" W0 k8 w- x/ M$ H
  1818. ;opcache.inherited_hack=1
    0 j) f5 T# V0 L! `
  1819. ;opcache.dups_fix=0' l' b( k; i  }6 R% u

  1820. & W: [. x6 ~% Y2 Y" \9 o  E4 K) R
  1821. ; The location of the OPcache blacklist file (wildcards allowed)., V, w" T! G* Q8 }/ P
  1822. ; Each OPcache blacklist file is a text file that holds the names of files4 @; Z; X& x8 h* j$ X3 ^
  1823. ; that should not be accelerated. The file format is to add each filename$ |: m, Q* u$ Y
  1824. ; to a new line. The filename may be a full path or just a file prefix6 k7 I  X$ s7 t2 Y
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    5 |6 a% E8 {. a& T0 A
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).4 v8 c# J: v& F% \4 W/ C" q8 [* {
  1827. ;opcache.blacklist_filename=. ?: N+ T1 n8 o! ?0 v+ k
  1828. - K# O" }# I2 u- P$ I
  1829. ; Allows exclusion of large files from being cached. By default all files. D) @0 e, ^  k8 O0 t
  1830. ; are cached.
      J' {: w7 y3 D1 u# d8 q1 J
  1831. ;opcache.max_file_size=0% I" i' G% A, v" S+ Q( \% O
  1832. & E' K# O2 F/ H
  1833. ; Check the cache checksum each N requests.! T3 t1 r; j0 Y; p) S* b- y
  1834. ; The default value of "0" means that the checks are disabled.3 S0 F; x5 B9 ~8 [  w! r
  1835. ;opcache.consistency_checks=0$ `' {' s7 |* v( N! S

  1836. # [" m5 c# U) Y$ r4 c7 n2 N
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 m* b1 h' `: }2 c+ ^4 H
  1838. ; is not being accessed.
    . b' N7 ]" |: E
  1839. ;opcache.force_restart_timeout=1809 M- Q9 U4 |8 q$ E8 D  ?
  1840. ; g; z: _% P  x1 x( B
  1841. ; OPcache error_log file name. Empty string assumes "stderr".. R$ L8 v* |: K% ]! ^
  1842. ;opcache.error_log=9 [& u5 Q$ e# [& e" b
  1843. , `: y8 K, I; _5 R
  1844. ; All OPcache errors go to the Web server log.0 _7 }8 c; J3 @; ?5 [
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    - C3 G" _$ K7 i: i' `: Z+ c
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    * \: {: x% N6 R2 Q  F1 i& c
  1847. ; debug messages (level 4).
    + ]4 Y1 R. \$ ?* y
  1848. ;opcache.log_verbosity_level=1
    / ]7 h) }; _$ F" H0 A
  1849. & q4 X1 [) p6 _) [7 s9 C" K$ Z" O
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    # d( S* J+ V& m8 @
  1851. ;opcache.preferred_memory_model=
    ( k) f6 u# b2 D
  1852. + [" l; T+ x5 s, r  q4 n
  1853. ; Protect the shared memory from unexpected writing during script execution.
    # D" b# T  {& U1 O1 \1 u
  1854. ; Useful for internal debugging only.
    ; E% ~) F! {; [, L! P; k3 W
  1855. ;opcache.protect_memory=0
    ; t' Y  g1 c8 x( |3 S2 E$ w2 H- V

  1856. . n9 P0 `+ M* t" m9 m/ b
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ) V9 Q  i- V) o8 x2 M% X8 l) M
  1858. ; started from specified string. The default "" means no restriction
    - {2 n: g2 N, a# E
  1859. ;opcache.restrict_api=
    2 G  H- s& F1 z  A

  1860. 4 k$ f' O. T: V  D( d( B8 Z9 H
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    7 z. s# r, V; h& A5 ?! k6 T  f, f
  1862. ; processes have to map shared memory into the same address space. This  y' l# H4 w8 U; ~2 g( T' ~0 z' i7 s
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
      h* K( Z4 X, u* |
  1864. ; errors.
    8 `# R5 D) v3 m- O8 D: A! u! }
  1865. ;opcache.mmap_base=
    ) n3 I' a- z, ^+ V

  1866. % E9 ~/ u6 p5 t# \/ b/ m
  1867. ; Enables and sets the second level cache directory.% N% w! E8 n2 }( i& |" F5 G$ ]  f
  1868. ; It should improve performance when SHM memory is full, at server restart or0 q/ H: y7 o+ j0 m' B
  1869. ; SHM reset. The default "" disables file based caching.& g) W$ S5 n0 T5 M+ i4 ^
  1870. ;opcache.file_cache=
    % l) m0 y9 n% e7 A
  1871. . G  _$ D" [+ A; D; h
  1872. ; Enables or disables opcode caching in shared memory.
    ) I; Y  |+ P1 V
  1873. ;opcache.file_cache_only=0: @7 u" ?7 e% p
  1874. ; Z. z  ~* K2 r# G7 z* h6 g+ _0 Q, o8 y
  1875. ; Enables or disables checksum validation when script loaded from file cache.- c. u3 T  a& `/ R* A
  1876. ;opcache.file_cache_consistency_checks=1
    $ r7 y- F& c" g' W# L

  1877. 6 [* A* P: w3 ]/ B
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to0 l2 b- k% N& t, d/ o+ K  B, W
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    5 b; `, f' o  _! L$ V
  1880. ; cache is required.2 Z) Q+ D) e6 J: k: Y
  1881. ;opcache.file_cache_fallback=10 T, c( j* S  Q  q+ O

  1882. $ n2 [( n: |  @. X: L
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.7 k5 e( i- M! H2 E! @
  1884. ; This should improve performance, but requires appropriate OS configuration., @2 ?$ Y6 V7 z3 r
  1885. ;opcache.huge_code_pages=1" f) C$ c5 s) i% W8 e

  1886. ; m( O" W+ Z% `" Y5 D
  1887. ; Validate cached file permissions.
    / D5 J& i$ j$ N  b) [5 b
  1888. ; opcache.validate_permission=04 V4 r) U/ n9 ?1 I
  1889. 7 f" ?1 Q8 L7 a6 u5 E# `& K  P
  1890. ; Prevent name collisions in chroot'ed environment.
    5 z; @' }# B  ?5 y
  1891. ; opcache.validate_root=07 _. G" ]" y; {" i9 ~
  1892.   ?! j$ P2 W$ _( _" B2 G
  1893. [curl]
    , F% Q8 ^" w0 c& V( j: }+ D$ L
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & P  D% y) T4 F
  1895. ; absolute path.
    & g+ V/ m' h" F) c: \1 ?/ G! O
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 t6 R( ]% o( A7 ]7 d
  1897. 3 s0 f' L7 M) E! @0 _* Q2 z
  1898. [openssl]
    ) ]9 [1 ^1 ^8 H# D; U  r6 s
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    + |) k. |; {/ d' ^* u
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 C. _. p6 x8 T8 X( P
  1901. ; not specify a value for this directive as PHP will attempt to use the" k2 s9 v! @; t7 e( H' V- Q
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    6 R  F$ @6 r' I' f7 n- \9 ^1 k4 G7 v
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    # E7 v+ c. P- s8 [/ N0 W
  1904. ; option.
    , H4 |; k; c( Z% }
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt& b# _0 |/ j5 k$ F( F8 u' m8 Q/ W

  1906. 1 k( y. d" W  s6 G" T$ Z  C) I
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the( E2 N2 v( ^9 P1 [& m+ Y
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    & M7 }6 |3 _# \6 g
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    8 ~+ O% ^9 ^" V- r
  1910. ; Most users should not specify a value for this directive as PHP will
    6 Z' ]. K: w  h! l, @! G8 i1 G+ \6 Z
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ' h( h' Y/ w( t% o% N# h6 n5 b
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    $ s/ i$ N6 G6 `/ l
  1913. ; SSL stream context option.: o+ T" D& M7 o' ~3 b; z- f' D( i
  1914. ;openssl.capath=
    ) k) p. j. C: M; \' F
  1915. 9 N$ ^. z7 {. G5 c
  1916. ; Local Variables:7 t# |$ o4 }2 L1 O7 }: H
  1917. ; tab-width: 47 j" D- [1 W' k4 {0 L0 I8 o+ ~1 }
  1918. ; End:
    ' v' u% C8 L8 k: ^' C. V) S, s/ V* L

  1919.   N# \" c" q" N: X
  1920. ;eaccelerator$ ?4 N. d* L4 n8 v4 ]. a

  1921. & |1 M+ P- j* c9 \& F+ a! x4 m- k) ~6 D+ k
  1922. ;ionCube
    6 t7 T' F& q2 T7 \. k8 `

  1923. + v" ~; W9 ~' C9 w: [6 H
  1924. ;opcache
    & z7 G2 t) V  V% @

  1925. ' H. G8 W: L0 z: E1 z  W
  1926. [Zend ZendGuard Loader]" Y! Z2 v( s/ P" m6 ]% w8 b+ S
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.3 \) U6 {. n1 Z6 [& p/ R
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    : b' p, s) D, g1 K7 q, A
  1929. ;zend_loader.enable=1
    7 A" T6 ]2 I8 Z4 ~# I
  1930. ;zend_loader.disable_licensing=0
    6 P. ?1 i4 s6 l/ @/ r, l
  1931. ;zend_loader.obfuscation_level_support=3
    " _3 J, p1 O; c* D* n' _; N
  1932. ;zend_loader.license_path=
    * I% B( A8 y' e9 [! S" P: J% C

  1933. 0 e# u7 ^9 g$ S8 Z7 o
  1934. ;xcache3 Q: ?2 j& r- `* u: z, F" C

  1935. + u6 H1 ~/ f3 O/ c$ G7 L9 S/ h
复制代码
1 N  t+ u  L' I& y  T9 |& V6 Y. p
) O  w1 J$ z5 M! _' s( h
" r& F9 @8 c. I3 b, M3 F+ V

* x* R) H) s, e2 c7 f8 C0 T
8 h# E; }; X) j9 k, X# i$ K' M$ ^( G6 X# X5 u3 J" J0 q
$ g4 l) i$ z* \; f
PHP5.6版本原始设置
! R* c4 O% W, I% J( W+ P! N
( a8 ^& S( Q0 V' U8 o& x: h
  1. [PHP]
    , ^" p# u: i) k

  2. 8 Q; a$ L( a2 R1 C! ^) Q
  3. ;;;;;;;;;;;;;;;;;;;) j% i1 J& ^9 u8 e- k4 x/ x( X- k- a
  4. ; About php.ini   ;' z% Z, Y* |5 C6 c# {. w
  5. ;;;;;;;;;;;;;;;;;;;
    & a' ], ?% W' s, V9 K
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ! M. F" `& s8 P6 Z9 E( A: x& G
  7. ; configuring many of the aspects of PHP's behavior.6 U, j6 c6 |4 a1 t+ K6 E

  8. 0 @+ M  @4 |9 b( G0 @( L& i7 T
  9. ; PHP attempts to find and load this configuration from a number of locations." [4 q% u+ U5 ^+ H
  10. ; The following is a summary of its search order:
    * U/ h: a; N+ b5 M3 x
  11. ; 1. SAPI module specific location.7 T* l  e0 ~2 u8 j
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)2 J. y+ |+ L0 u5 l: A' W; }4 Y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)+ B* m: l9 u# D* ~  x0 f
  14. ; 4. Current working directory (except CLI)" J9 f' f5 t2 }# J* n9 {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 I# Z8 N7 |+ F. \% s  w7 e5 c
  16. ; (otherwise in Windows)
    , V6 d! }$ P8 z9 T1 x
  17. ; 6. The directory from the --with-config-file-path compile time option, or the6 f6 X! k2 V# r4 `' v
  18. ; Windows directory (C:\windows or C:\winnt)
    0 d! \4 E* [4 J0 Z; p0 l
  19. ; See the PHP docs for more specific information.
    ( m( X  K: Y4 U% X+ d) g  K
  20. ; http://php.net/configuration.file& d: i1 [% |" i6 @, O3 U% W& N

  21. % H9 ?: w5 J$ P2 x" V2 Q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) Q: M  Q" s5 j. P
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + W9 Q( c3 }* `" ^
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    0 p9 w' S7 L- f# b$ a3 l
  25. ; they might mean something in the future.2 b) P" E# ^9 ^8 N
  26. # A! X1 V/ t' J
  27. ; Directives following the section heading [PATH=/www/mysite] only8 C% R' H4 W- X+ d1 [6 x+ V7 W. q
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) o# D& L" I% r1 z
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' C; n# n1 O  Y
  30. ; PHP files served from www.example.com.  Directives set in these; M8 d' A/ O6 ~5 |
  31. ; special sections cannot be overridden by user-defined INI files or0 \, g- w- l" Q2 K$ a; B2 {
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under- D4 Z* H6 O2 B* s* o3 b  T
  33. ; CGI/FastCGI.: K$ j+ l. `8 E! q5 g
  34. ; http://php.net/ini.sections
    ' j* _+ B8 v8 \( o. G1 Y6 C7 j
  35. + Z; r& p9 N- w1 Y" @* b
  36. ; Directives are specified using the following syntax:/ c4 o! m% @" Y$ x4 h3 P( x! g+ c
  37. ; directive = value" Q! o; a7 I+ d
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar., I- L! U( ?. Y5 \! y: z% \  e8 N
  39. ; Directives are variables used to configure PHP or PHP extensions.5 i) v. O- q, `
  40. ; There is no name validation.  If PHP can't find an expected
    1 ^( z& r- L% V' M3 _" M4 w; `
  41. ; directive because it is not set or is mistyped, a default value will be used.
    , H9 q% B( A# L- b5 ~" M

  42. ) s% r- @  B0 o# r6 d5 b
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one# Y2 L1 ~3 S8 W$ S0 _2 \$ k
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 D& P  M1 _  M8 _8 g5 b6 [
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 ]- m1 G# }! k& r
  46. ; previously set variable or directive (e.g. ${foo})8 k, x) E+ `6 B  L
  47. 8 z7 B8 ?' ]  W0 @
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:4 g2 |1 \% Y7 W5 E3 D0 ^9 _4 ^6 M
  49. ; |  bitwise OR
    " b3 g! w' ?0 v- W- A$ ~
  50. ; ^  bitwise XOR- L9 j. @& M9 J; i: f' d
  51. ; &  bitwise AND7 h$ H! Z8 T. i: O' B! T% {
  52. ; ~  bitwise NOT# z  w( N6 M0 y1 r! H9 O
  53. ; !  boolean NOT4 B# E2 m, ^3 X7 D) j% C
  54. 0 O2 Z4 c  A: V! h  z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    * j' e3 [: x- E% r
  56. ; They can be turned off using the values 0, Off, False or No.4 g' r; Q6 \- b4 p

  57. & a( I- I. l3 n5 ^
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & m- m+ e# `! t/ L' N
  59. ; sign, or by using the None keyword:
    ' n4 i" M+ C7 @" G

  60. + w: R/ h6 G2 k" }; L# ~/ g
  61. ;  foo =         ; sets foo to an empty string# l  G# R5 r" H
  62. ;  foo = None    ; sets foo to an empty string
    4 W& }7 t; \, `4 o6 P$ l  O
  63. ;  foo = "None"  ; sets foo to the string 'None'6 I9 i) p) W/ J; [, l1 y
  64. + K  K1 x" J2 o. R  ~, c' v8 _% H. e5 C
  65. ; If you use constants in your value, and these constants belong to a0 r! G! x/ C% y4 c
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
      C% m$ M- e& x( k
  67. ; you may only use these constants *after* the line that loads the extension./ |( ~. \4 k5 u# X5 Z2 p5 p, s

  68. 6 r( m( v9 U4 [! V2 k
  69. ;;;;;;;;;;;;;;;;;;;9 M5 k: Z2 I9 `: i. y7 ~6 l
  70. ; About this file ;
    4 q" h0 C5 C8 K; R5 w8 l
  71. ;;;;;;;;;;;;;;;;;;;9 K  y- m0 c! N, h3 x6 `
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    8 W: T! H9 c7 e2 _" w/ ^! |
  73. ; in production environments and one that is recommended to be used in1 W8 J7 ~, ?/ q- l4 W' [
  74. ; development environments.
    4 u/ A4 F! g. H% ~& e
  75. 6 M( I- }6 r& F. K( z
  76. ; php.ini-production contains settings which hold security, performance and
    - ~+ F( z. H8 `3 I* }
  77. ; best practices at its core. But please be aware, these settings may break& K. w8 Y5 F* I4 e2 a! z
  78. ; compatibility with older or less security conscience applications. We) n( P! E6 r+ R+ ^' {3 u9 P
  79. ; recommending using the production ini in production and testing environments., n2 ?$ g3 }+ ~
  80. 5 c7 R/ h) R0 j- r: O8 Q7 E' s% h' \: `
  81. ; php.ini-development is very similar to its production variant, except it is
    . ]8 b. B+ @& x
  82. ; much more verbose when it comes to errors. We recommend using the, O& h7 k' D0 H  \+ s$ Z
  83. ; development version only in development environments, as errors shown to0 L) \7 R1 U1 D1 O7 n8 K+ _/ f
  84. ; application users can inadvertently leak otherwise secure information.
    % t" b/ b, S+ P  U

  85. $ M( l% c) Z9 g1 @
  86. ; This is php.ini-production INI file.( o: d, y) b: J5 R4 H: n* @

  87. ' L- J' F1 J+ s! Q4 K. v
  88. ;;;;;;;;;;;;;;;;;;;% e+ H" N7 R0 o. [
  89. ; Quick Reference ;- H# s4 \& b' h+ b% _  L
  90. ;;;;;;;;;;;;;;;;;;;
    * `1 X, Z, k0 A, n% f
  91. ; The following are all the settings which are different in either the production
    + M, K- s8 c8 N- H  m
  92. ; or development versions of the INIs with respect to PHP's default behavior.- m( W. T' L' W/ R. D6 M8 |/ @7 x6 x
  93. ; Please see the actual settings later in the document for more details as to why
    ; U* M. X) q, z
  94. ; we recommend these changes in PHP's behavior.- x9 h- P* m$ k& A$ q. }0 ~6 \
  95. % D4 g/ J$ C7 M4 Q+ `, i
  96. ; display_errors, ?& f* o9 i" }) _
  97. ;   Default Value: On: \" E. W1 L! H3 A8 K5 B4 l" l
  98. ;   Development Value: On, T; d& [+ n  l, N" v
  99. ;   Production Value: Off! m( M: e* j1 G6 ^" F; \! H" e% [# O

  100. $ p* d8 ^% {7 i+ T
  101. ; display_startup_errors
    , w0 U: f, i9 X- I& V3 p5 C" F! |
  102. ;   Default Value: Off& R/ R) O6 n0 G/ o3 X( O4 c
  103. ;   Development Value: On
    : U* l5 E/ _5 _% X5 j! }- f
  104. ;   Production Value: Off
      Y- F- v2 m1 S
  105. ; b0 p! ]1 j, G: K: Q$ \
  106. ; error_reporting
    5 E: _: J/ Y7 v! i4 P
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- R# R1 i) l( y1 F) U4 Y: G% ~
  108. ;   Development Value: E_ALL0 w& Q" J, h+ E0 q* b: b
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) S. Q* M, D# G3 g# q

  110. ! a2 \6 j8 ^  R+ i9 k' F
  111. ; html_errors
    7 t. Z5 e  N# w
  112. ;   Default Value: On
    ! ?2 B* \. J5 U, Z6 L5 m5 z
  113. ;   Development Value: On
    2 ?$ T1 m7 x0 U4 u8 V3 u; _
  114. ;   Production value: On% ^1 }  K1 u; i5 K1 i

  115. , T) j- h' `, T9 j) b
  116. ; log_errors9 h" I# ~( x& S4 g4 r# I2 e, w
  117. ;   Default Value: Off
    % K& _  l$ h! H. K6 k0 X
  118. ;   Development Value: On
    1 Q& H1 _1 k: N" k
  119. ;   Production Value: On% O3 N& M2 y6 w% \6 S; T% ~+ C4 k9 @4 x
  120. 1 M7 I% b$ f; K; J7 V
  121. ; max_input_time2 r3 w4 h3 E0 N7 |% {$ D! ~+ ~% w
  122. ;   Default Value: -1 (Unlimited)
    6 |# ^8 A" x  j" P5 p
  123. ;   Development Value: 60 (60 seconds)1 y0 I2 y7 R7 a2 ^0 I/ T8 g
  124. ;   Production Value: 60 (60 seconds). {5 v7 b/ }4 C
  125. % G/ M( G! ^9 x
  126. ; output_buffering5 T7 p8 O' [2 q* ~
  127. ;   Default Value: Off& _. x$ x9 [) Y4 |* n& g
  128. ;   Development Value: 4096
    5 `: s1 K. C- g% C0 R2 _
  129. ;   Production Value: 4096
    , h& N& s5 y5 R0 S  O, B
  130. 6 S- @1 P/ l6 o4 v
  131. ; register_argc_argv# K' e4 ?( W( R: F2 x) l
  132. ;   Default Value: On- V- V5 P" j- y- {) D; L; l
  133. ;   Development Value: Off
    ' C: H& t# p1 _) W% n
  134. ;   Production Value: Off
    1 ?; ~( o: x; Y4 m. z' ^* @

  135. $ N+ K+ J3 w% x8 ~
  136. ; request_order
    , M7 A  p% [2 m. ?( k( @
  137. ;   Default Value: None
    % `* P) N: e) J5 F8 F/ [
  138. ;   Development Value: "GP"$ Q8 P  \5 {, ]* Q5 n3 u
  139. ;   Production Value: "GP"
    ) e  W5 P0 f' m; W# O
  140. , e" g1 X$ U/ r- l* c" D
  141. ; session.gc_divisor
    1 Q5 T0 Z8 d! i+ N0 n
  142. ;   Default Value: 100
    . x# s  d# d- V( b( r) ~
  143. ;   Development Value: 10001 k4 I7 w( e) ?) K& Y# Z! t
  144. ;   Production Value: 1000% U; F6 I) t- U* {( @( m0 J

  145. 7 l9 ^- m4 y& H5 Q
  146. ; session.hash_bits_per_character
      T$ U% G& F0 |) C+ b: a/ F5 C' A
  147. ;   Default Value: 46 K* G+ n9 e$ n) ^9 r& k8 x
  148. ;   Development Value: 5
    - G3 ]$ F  N; K  i! b
  149. ;   Production Value: 5- h2 S: i% R: A+ q) j4 V3 s

  150. ! a/ u' Q$ B) V# o. F: x2 y$ r1 x
  151. ; short_open_tag
    ; j6 w  O1 \0 K3 z
  152. ;   Default Value: On
    . ^. g. O2 k5 G/ k
  153. ;   Development Value: Off" H& g) ^& h" |
  154. ;   Production Value: Off& \5 U7 m8 B/ S5 n
  155. * _1 l9 d) t$ P
  156. ; track_errors6 A7 ^; Z' a, V* j& w
  157. ;   Default Value: Off) k' _( t$ N* Y  Z6 l2 k
  158. ;   Development Value: On; [& a$ b( s' [( o: q
  159. ;   Production Value: Off) ^+ ~$ |. A: E4 C

  160. . t3 t+ H% I) b1 L+ B2 ]2 j% Z
  161. ; url_rewriter.tags
    ' T8 Y5 g( g! |: _0 a" c' n* L
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
      W$ H' {( v/ ?7 l' }/ t5 I7 e  T
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 K5 o2 @- h" U* I# d5 N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 r5 q" C+ M: N. h3 r
  165. / s9 o6 W5 w- [
  166. ; variables_order) E9 U8 I0 [1 m, D1 f) d# E
  167. ;   Default Value: "EGPCS"# b* U  x: j7 C! f( z7 W9 \5 @7 D6 n' J
  168. ;   Development Value: "GPCS"
    " I# N2 R% S" k+ U& x( R3 d
  169. ;   Production Value: "GPCS"( h  s! @1 c+ t! G8 B) A$ K( y- Z
  170. 3 v" U0 X( p2 i1 H) L7 c. b7 h" q
  171. ;;;;;;;;;;;;;;;;;;;;
    " q2 D0 t7 b7 G2 w7 |
  172. ; php.ini Options  ;
    " e# t& F3 }0 H* i# x# F4 U
  173. ;;;;;;;;;;;;;;;;;;;;
    5 I" E: Q8 ~: ]0 L5 N2 @0 ]# X& Z4 a
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"! ?) a5 N! j- C8 N
  175. ;user_ini.filename = ".user.ini"8 ?1 D9 M$ M0 b
  176. ( J' B- e7 b# p6 i
  177. ; To disable this feature set this option to empty value
    " j* k8 e0 v7 \2 \2 L3 D1 l
  178. ;user_ini.filename =1 `; U( [& U$ H

  179. ( X1 N* y; k! \/ ], S0 t9 s9 G
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ! L8 E4 c, E1 W+ G  v* L5 f: Z
  181. ;user_ini.cache_ttl = 300) K  O! q7 B  E# ?
  182. 4 a( s2 }$ b4 P" w
  183. ;;;;;;;;;;;;;;;;;;;;
    7 b/ m( e' G. J$ H) ~+ i5 f, y
  184. ; Language Options ;
    6 }% L( N/ u! o) [
  185. ;;;;;;;;;;;;;;;;;;;;0 L4 ^0 ^. U/ A& ~, Z, H

  186. / A, B) R+ t# T8 f
  187. ; Enable the PHP scripting language engine under Apache.
    / W* c, {4 B9 r2 x6 E& a
  188. ; http://php.net/engine
    # _& z. M& H; Y' N( g' {
  189. engine = On" L+ z5 i, I! a! l; E
  190. . ], ]4 P0 O5 a8 A$ ^- {* f
  191. ; This directive determines whether or not PHP will recognize code between5 Z1 a3 C+ L) O
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, i$ ~8 P! G0 ^1 X# P8 F% o* t
  193. ; generally recommended that <?php and ?> should be used and that this feature
    0 V- m2 u) M6 e* {' e
  194. ; should be disabled, as enabling it may result in issues when generating XML
    " R* Y- E9 M1 C+ |1 n
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! {  g$ p) l2 q8 y/ \; p
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - u# d9 i* T) J% y+ i  v4 ~
  197. ; used regardless of this directive.' _/ q9 g3 t" j
  198. ; Default Value: On
    ' T. j0 Q4 b/ _% D5 l; y
  199. ; Development Value: Off
    0 J; T* R% V+ ]) k  u
  200. ; Production Value: Off, A- d& O; {- C
  201. ; http://php.net/short-open-tag6 r# p3 d- p7 O7 H% {4 y
  202. short_open_tag = On" U2 @0 c. K. `3 k4 C0 u8 ^

  203. : |. S$ j/ V" D1 a/ n; J/ S/ z
  204. ; Allow ASP-style <% %> tags.  o: a' ?- e) o7 p- f
  205. ; http://php.net/asp-tags
    , A+ U* L1 Q, x7 h+ M6 n' `
  206. asp_tags = Off6 G& D" }3 P* ?( u, z5 _- Z/ @4 F9 m
  207. 5 P7 y- b$ p6 G# _
  208. ; The number of significant digits displayed in floating point numbers.. B# ?  P0 b! V) {1 R
  209. ; http://php.net/precision
    . |9 V3 Y: R4 N$ D
  210. precision = 14
    # y# M4 {  m* L) u: D

  211. ; x$ m! r/ y% O# H& X# i1 n( o& @
  212. ; Output buffering is a mechanism for controlling how much output data
    % q1 r2 z" M( S) M1 N. Y9 n0 v) M
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that- X3 m( U% w  u& n
  214. ; data to the client. If your application's output exceeds this setting, PHP8 u  _% y8 {. G% W, l# M
  215. ; will send that data in chunks of roughly the size you specify.4 \: o% ?- g+ A8 A2 d' M" a# F5 ^. S
  216. ; Turning on this setting and managing its maximum buffer size can yield some+ o  h( y' \. d2 V9 H* d5 R
  217. ; interesting side-effects depending on your application and web server.' Y2 Z5 m+ ^+ L
  218. ; You may be able to send headers and cookies after you've already sent output3 S6 r. D, }, x
  219. ; through print or echo. You also may see performance benefits if your server is  w! X: T/ @% z% [3 ?+ `9 Y
  220. ; emitting less packets due to buffered output versus PHP streaming the output4 ~2 |* T6 X* ~
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance8 A+ L( x. B/ }$ U) {; e( J9 U. {
  222. ; reasons.
    " l2 y. G4 c7 y1 s2 T
  223. ; Note: Output buffering can also be controlled via Output Buffering Control0 z% W/ m' H. L3 I8 \6 G
  224. ;   functions.$ ~( P: N% ^; R( `9 J; n
  225. ; Possible Values:$ o! `' e4 g: B5 y' Y- ]
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)& D0 H% K8 G' [7 Q( v9 C4 w- y
  227. ;   Off = Disabled4 p; Y6 m& [8 G' z/ n+ j% @
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.4 g3 d2 H- c" ^$ `9 m
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 B9 J& N3 o, ]4 Y1 F/ _
  230. ; Default Value: Off
    # E% e/ M7 z9 A3 \0 t7 j! k& Z8 ~
  231. ; Development Value: 4096$ p( h4 S, @- T4 r, T5 ]
  232. ; Production Value: 4096
    0 x9 G, E& r6 k% w0 F
  233. ; http://php.net/output-buffering& E% Z- f! z: I5 ~3 A& U: ]2 n8 P# G
  234. output_buffering = 4096
    ; x+ I/ m7 D  ~2 y  L
  235. : R3 G  H/ Y7 K7 X: u3 `
  236. ; You can redirect all of the output of your scripts to a function.  For: ^$ [  j1 W4 F( x6 R5 |
  237. ; example, if you set output_handler to "mb_output_handler", character
    ) n& {0 y' ]0 v$ R" p& i
  238. ; encoding will be transparently converted to the specified encoding.
    + B$ s8 m( _& V: j+ q/ U+ O8 f
  239. ; Setting any output handler automatically turns on output buffering.+ U! ^% Y/ i$ i" p8 {
  240. ; Note: People who wrote portable scripts should not depend on this ini
    8 [  y! c* x1 z. a
  241. ;   directive. Instead, explicitly set the output handler using ob_start().& d: n& Y2 |  l& |, f& o. m
  242. ;   Using this ini directive may cause problems unless you know what script- @' N  ]; I% |1 O8 d( K# N
  243. ;   is doing.& z+ b4 {) a/ W! }2 \
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ D5 l9 y: ~9 L" Z3 d: U
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 U: h1 Q3 S% l$ F
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    , N' d- r4 L0 a' i  d3 g  l
  247. ;   Instead you must use zlib.output_handler.; @. Z! R! G; v
  248. ; http://php.net/output-handler
    3 B$ U& z" n9 R; J! [) B
  249. ;output_handler =
    # v. F" E! U9 M8 ~, o3 b4 i

  250. ' q6 R% R+ [# ]) l2 V/ m
  251. ; Transparent output compression using the zlib library+ U1 W* V5 h. N4 J/ e) W, u
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    : G, u1 K1 `% s2 G  h
  253. ; to be used for compression (default is 4KB)
    ; B# g3 M& v/ F0 Y
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ( ]/ L: ]' ]4 E4 R. o! @4 q
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    1 r3 x9 M. C# v  _& |9 X. R( S5 c
  256. ;   compression. If you prefer a larger chunk size for better
    . W0 x$ E4 H/ D6 J. j
  257. ;   performance, enable output_buffering in addition.
    8 ~# X0 {; O7 b2 X3 W' @
  258. ; Note: You need to use zlib.output_handler instead of the standard6 ?8 d) M, t1 \$ I  l% |) e, E
  259. ;   output_handler, or otherwise the output will be corrupted., S& N0 w/ F1 d/ g
  260. ; http://php.net/zlib.output-compression
    7 v( ~& o3 K0 w& C* E( X
  261. zlib.output_compression = Off) g& l- b  i+ I4 g1 b4 p: e# O
  262. : h  S$ a- d  D+ p$ r' ?( o( o
  263. ; http://php.net/zlib.output-compression-level
    - `* @: y  T5 Z/ `1 a: ], M5 l4 a
  264. ;zlib.output_compression_level = -15 O! K3 w0 X, d0 W. e7 M( L# M1 `

  265. 8 z: [+ G8 H. L2 x+ }
  266. ; You cannot specify additional output handlers if zlib.output_compression5 [! a  A/ t3 P- f, H3 }
  267. ; is activated here. This setting does the same as output_handler but in! X, n3 H7 ^/ I, E# f2 K* J) q7 }" \
  268. ; a different order.
    ) _6 h7 }7 ?& w
  269. ; http://php.net/zlib.output-handler. X/ Y- Q; X: n1 I
  270. ;zlib.output_handler =$ P8 g1 @1 g% |6 q5 _8 h$ R
  271. 3 [/ ?2 ^# T7 c1 A
  272. ; Implicit flush tells PHP to tell the output layer to flush itself5 ~% ^& z/ m  B' l- w; l
  273. ; automatically after every output block.  This is equivalent to calling the# h3 X& I; e3 K# G' @! B, P* D" u
  274. ; PHP function flush() after each and every call to print() or echo() and each
    $ }2 P4 o* h& \" }( N& \  P2 v9 x
  275. ; and every HTML block.  Turning this option on has serious performance% g* l7 W5 Z. w! w& b$ M7 \
  276. ; implications and is generally recommended for debugging purposes only.9 f. o2 i3 Z. ]2 r
  277. ; http://php.net/implicit-flush# i. K6 [: ?+ X5 k5 B2 Y) V
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 }0 z, G# G! A* x. G
  279. implicit_flush = Off0 {0 k0 ]0 X3 R' z+ C

  280. - W' i) L7 L0 u- ]( J
  281. ; The unserialize callback function will be called (with the undefined class'3 x' `# R9 D/ Y1 Y3 ?$ |* _  v
  282. ; name as parameter), if the unserializer finds an undefined class
    5 w7 C+ E7 }7 S& v
  283. ; which should be instantiated. A warning appears if the specified function is
    # ^1 @4 p' M2 f( M9 j. J% P7 j( t) j
  284. ; not defined, or if the function doesn't include/implement the missing class.& ?9 I; i$ R% R, {- r! u) Q# t
  285. ; So only set this entry, if you really want to implement such a( j5 u9 r6 [. q. g6 U- c, J  c
  286. ; callback-function.6 v1 ^1 ~* t( z. s
  287. unserialize_callback_func =
    9 A# ?: l. d; [* M
  288. ) r& Y' m) N7 k6 n
  289. ; When floats & doubles are serialized store serialize_precision significant; [& K4 d0 L4 o9 S! ~! k
  290. ; digits after the floating point. The default value ensures that when floats2 L  g. Q2 \" i
  291. ; are decoded with unserialize, the data will remain the same., S/ ~& x) q8 `* f+ J1 `% J
  292. serialize_precision = 17( V5 T1 H+ {- w+ D; X
  293. - m. O7 i! y3 ]* ^, w. p8 e
  294. ; open_basedir, if set, limits all file operations to the defined directory
    5 w( f. R: Y, a, ?3 Z0 M6 }( s9 h) Y
  295. ; and below.  This directive makes most sense if used in a per-directory% C6 N: J. G6 ~4 G% h5 }2 [4 W
  296. ; or per-virtualhost web server configuration file.% f% F" |3 Q3 u1 O$ _* f
  297. ; http://php.net/open-basedir" H; o  j+ Q7 \3 M3 H
  298. ;open_basedir =% M% v# E. e: N# j
  299. 4 |! l% h4 y1 V
  300. ; This directive allows you to disable certain functions for security reasons.
    5 i4 b5 h( y1 P# ]2 H% ~8 M; O
  301. ; It receives a comma-delimited list of function names.
    - S6 s: i' M& N$ U6 c; k
  302. ; http://php.net/disable-functions
    ( e' z6 J, _; w/ U+ z9 r7 c
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru4 s  T& T, ]! E- c1 Z) X
  304. 3 L' Z. }( @& A7 |( O4 R7 o
  305. ; This directive allows you to disable certain classes for security reasons.
    " {: c* N. f9 Y+ ~  j
  306. ; It receives a comma-delimited list of class names.; q. l- v2 r6 @& P( ~
  307. ; http://php.net/disable-classes* s  ]1 b6 X+ V9 |: B# [( g
  308. disable_classes =9 l7 f! X7 ]6 M5 i4 S/ i/ {: s: E

  309. # P- R- K3 r2 A# P/ h+ e( D0 @
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in3 c* ]; y% \6 B2 G6 B7 w
  311. ; <span style="color: ???????"> would work.
      ?8 \: x7 p4 m8 @. ]% w
  312. ; http://php.net/syntax-highlighting
    & @8 @5 c( @: J- _, h7 U- V
  313. ;highlight.string  = #DD0000# j" H' U' T0 {/ p
  314. ;highlight.comment = #FF9900$ P# t8 R" \# A+ }6 y6 m& I
  315. ;highlight.keyword = #007700
    * c9 ?, r8 ?3 A
  316. ;highlight.default = #0000BB9 Z5 i3 A2 U6 D: ^9 [+ x+ H" `4 g
  317. ;highlight.html    = #000000, o. `" @0 E+ _, }  r4 f$ [2 U2 \
  318. : e6 S; K6 M9 Y
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    , \, p3 L& [, I7 Q5 i9 z( f* G' [
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - B( ]8 l: W- b. S1 w
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    $ j3 o" V6 Q. ?, n
  322. ; is to disable this feature.
    ! W% y  X" P% x: m
  323. ; http://php.net/ignore-user-abort
    2 ?% G$ h* o1 i9 b4 o+ s% Y! ]" ~+ P
  324. ;ignore_user_abort = On# z) x1 {% j/ r& a0 S

  325. ' l2 B" ~( K/ \; M0 M' K* X
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
      y3 t, @6 P& X' ?1 _' W  h+ l) b
  327. ; be increased on systems where PHP opens many files to reflect the quantity of' u' L, s7 y: {5 S+ |: N& Z
  328. ; the file operations performed.
    7 b5 j% H& W9 A* _1 v1 s9 H
  329. ; http://php.net/realpath-cache-size' P! @( h, @& A; G3 X1 o! z
  330. ;realpath_cache_size = 16k! X3 N% g3 q9 W6 M

  331. 5 W1 q. v* V; [; T! A7 H
  332. ; Duration of time, in seconds for which to cache realpath information for a given9 n2 K$ R- @. ^/ O; m. W
  333. ; file or directory. For systems with rarely changing files, consider increasing this$ p% F" T: W2 s/ M0 y
  334. ; value.+ X2 [, C1 k* r, q4 B
  335. ; http://php.net/realpath-cache-ttl4 Q' P! x( }( \) e6 u0 o
  336. ;realpath_cache_ttl = 120. V, M( p- `5 U: v- [& q( x
  337. % P" u/ s  A; E: S' h# f' m
  338. ; Enables or disables the circular reference collector.6 g3 y  x* b1 f+ \. \
  339. ; http://php.net/zend.enable-gc+ F9 |3 F) @3 [- y5 l
  340. zend.enable_gc = On
    % l2 y& ^! [/ {$ w$ |% Q8 o3 u4 C
  341. : \+ a% Q5 Z" e0 A' {6 ^& C
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ; O2 Q! a* w3 T7 \4 `  {
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; J, Q% ?! R+ c9 {5 g
  344. ; encodings.  To use this feature, mbstring extension must be enabled.% z' t0 _( D$ j+ U3 V
  345. ; Default: Off
    " _' E9 A  I& i( u5 `% @
  346. ;zend.multibyte = Off
    : h6 Y; |  i9 `

  347. : S( t% i" B- p8 `2 _* A
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    , K* b# ]# C  J4 [9 [2 L
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.0 @2 ]( C* \; Z$ O& W" l& @
  350. ; Only affects if zend.multibyte is set.
    , [# K1 W- G3 D5 K8 [
  351. ; Default: ""
    : K) T) d2 J2 F0 Q
  352. ;zend.script_encoding =
    2 T5 j6 w- x- u0 D5 c
  353. 4 I9 l+ F  X. v; S
  354. ;;;;;;;;;;;;;;;;;
    9 @/ r: p1 P  T4 w# v
  355. ; Miscellaneous ;2 O9 b7 q  X1 a8 y% k8 E9 w" P; b
  356. ;;;;;;;;;;;;;;;;;* Z4 ~% t8 o2 l+ i% o

  357. & d2 Q% [" K  m! f$ [7 X0 ~
  358. ; Decides whether PHP may expose the fact that it is installed on the server2 X) ~' C" Q, h) b
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ( |! D3 }! k; ^9 H) G2 u
  360. ; threat in any way, but it makes it possible to determine whether you use PHP* O: n: p  R2 f2 W- P
  361. ; on your server or not.7 T2 o6 P9 [' u' J- q" R! E) H) h% e
  362. ; http://php.net/expose-php" w$ }8 K3 B2 }3 W
  363. expose_php = On* o* L6 k, T1 o  m
  364. 7 d) Y( I7 b( ^
  365. ;;;;;;;;;;;;;;;;;;;
    7 F+ ]# V7 l/ b: ~8 H6 v7 {' m
  366. ; Resource Limits ;7 D7 H1 A5 B0 A6 q# S3 n6 x
  367. ;;;;;;;;;;;;;;;;;;;2 A/ N$ F$ v* l* E; t4 R1 t  T
  368. . S% d# Z/ ~/ p9 h# C! m
  369. ; Maximum execution time of each script, in seconds
    $ b, m; v( z  e3 h& ]4 L3 @7 g6 E
  370. ; http://php.net/max-execution-time
    $ s7 }- b: S9 j( [6 [7 z0 F
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    - n; F+ q9 c% [. |
  372. max_execution_time = 300
    8 n: r: }0 _% |& E! t- c8 I
  373. 8 o, Y+ `. v. f$ {: ]4 ^+ B0 s; _
  374. ; Maximum amount of time each script may spend parsing request data. It's a good' d( u' |& W* G& j9 d/ {( [
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly( w4 o' U* e3 G/ ]1 p) s, b# z6 J
  376. ; long running scripts.
    " D* L6 n3 K8 u, l1 F& F+ ]3 z
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    . M; |' s# ~. p+ D
  378. ; Default Value: -1 (Unlimited)) R, B! b: r, x
  379. ; Development Value: 60 (60 seconds)
    ( D* J. u9 ]; F, L1 ^  G+ }( r# b
  380. ; Production Value: 60 (60 seconds)
    9 Q# j5 m" H7 V# n
  381. ; http://php.net/max-input-time" a1 R7 B; S7 r" F9 M- g5 t5 A  i
  382. max_input_time = 607 R6 S# {( X. V: `2 n) J$ w

  383. 2 n/ S% T# Y/ P: c4 ~
  384. ; Maximum input variable nesting level, R* `5 V. N7 _$ S
  385. ; http://php.net/max-input-nesting-level7 d9 ~" ]7 @& ]4 S' |) p
  386. ;max_input_nesting_level = 64
    : A3 i2 b0 H& |# y
  387. % `- j. f9 _- p& O9 ^# L. K2 B
  388. ; How many GET/POST/COOKIE input variables may be accepted
    / `0 Y; h0 h9 T& v' q6 t& i( E
  389. ; max_input_vars = 1000& R4 r& X! R1 C  O0 ^$ G& O
  390. # q7 ^* B5 \( W1 q8 ^3 [
  391. ; Maximum amount of memory a script may consume (128MB)5 g$ b! a' i" s8 F$ X# ^) @2 y2 \
  392. ; http://php.net/memory-limit
    3 t( _" }" T5 B" m3 h  A# Z" u
  393. memory_limit = 128M' A) `5 O$ s2 G
  394. % v# A( R2 @8 d7 m! @
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : e& v- z1 O. [5 n
  396. ; Error handling and logging ;5 }! h0 R& r! h
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    / z: X0 K) J, F' d" h

  398. ; M" n7 |' v3 N0 [9 v7 K8 V
  399. ; This directive informs PHP of which errors, warnings and notices you would like! G4 r/ _! n0 e/ f% ~0 k
  400. ; it to take action for. The recommended way of setting values for this. Z  P2 c' c# Y  R+ p& T3 M
  401. ; directive is through the use of the error level constants and bitwise: a! @* m/ a- c' t3 J" O9 G& T4 ]
  402. ; operators. The error level constants are below here for convenience as well as2 _! Q1 t. C% b* O% w. }% Z
  403. ; some common settings and their meanings.
    # P$ Z7 i9 V$ K, R* ^
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    2 S4 e/ K) I; z: t: f
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and6 A  H4 v5 {1 {, R8 p7 \* U& `7 u% ^  }
  406. ; recommended coding standards in PHP. For performance reasons, this is the' O6 A  S  ^7 g6 J
  407. ; recommend error reporting setting. Your production server shouldn't be wasting+ x1 V3 C+ |  O2 d
  408. ; resources complaining about best practices and coding standards. That's what
    , k( W- V" K. d1 R
  409. ; development servers and development settings are for.
    & J" p& s% `2 u: {2 M# Q' q8 v1 S
  410. ; Note: The php.ini-development file has this setting as E_ALL. This" |4 [2 n. K5 |
  411. ; means it pretty much reports everything which is exactly what you want during  L- p5 W, z. l! `" X' H
  412. ; development and early testing.0 @% ^! _. g/ `& ]8 l' q
  413. ;- P8 Z% y: C! W$ i3 ]# B. E
  414. ; Error Level Constants:7 c6 Y/ V5 C; B6 ]4 K* x+ D, e
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    8 H4 t' A- q& Q  ~  Z0 g
  416. ; E_ERROR           - fatal run-time errors" p6 O; e6 z, l& S, s
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 Q  X8 X  p! x9 a* V% {
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    + f% N1 j4 Y  w1 \
  419. ; E_PARSE           - compile-time parse errors
    $ n  f0 U1 E* b/ w9 M& _* }
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    1 e  I4 t2 z7 _
  421. ;                     from a bug in your code, but it's possible that it was" p+ F: `  v2 ?4 I, |9 S
  422. ;                     intentional (e.g., using an uninitialized variable and
    - J3 u) N) o7 d: H
  423. ;                     relying on the fact it is automatically initialized to an" Z- b7 [# |( V7 w( b
  424. ;                     empty string)
    6 r8 m/ q- z6 S
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes5 b8 b; H/ [4 I: @
  426. ;                     to your code which will ensure the best interoperability. Q7 h& N( I! M2 I
  427. ;                     and forward compatibility of your code
    / ^  o* V: k5 e/ }+ e
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    * J) e: q, y+ H% }
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's! ~- ]6 l( U" s& y+ b/ D" R
  430. ;                     initial startup* S7 s- J# Z7 h: f$ L' s" Y
  431. ; E_COMPILE_ERROR   - fatal compile-time errors, d! n- l  y% g7 A! G
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    7 D: P3 V3 ]. j, D0 D9 p% n
  433. ; E_USER_ERROR      - user-generated error message- |& r6 ]0 m" r8 K3 P
  434. ; E_USER_WARNING    - user-generated warning message
    4 W: X6 \; ?( Y$ u# g4 m1 |7 i2 V
  435. ; E_USER_NOTICE     - user-generated notice message" b$ Z/ t5 j$ m4 b; A, T+ v, M
  436. ; E_DEPRECATED      - warn about code that will not work in future versions1 I# r& L: F& _
  437. ;                     of PHP
    8 e4 K- L& W/ x+ ?" A
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings  F( B. }8 q/ l3 y
  439. ;' m% I/ c+ D! ^  ^' i; r4 G! J( P8 O
  440. ; Common Values:5 q; F. N* u8 B9 e: u: g1 b
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    4 ^/ i. a7 _; ]1 z9 d1 a6 E/ l( L
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    5 T7 L" S9 Y' Q2 Q
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    , g: Z( y2 d( J% A0 q
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ' }+ [/ w. S! {; X; Y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( Y( t+ l0 b3 [0 O4 E8 d& E6 k
  446. ; Development Value: E_ALL
    # h% c( E/ H  p( W! c; c  d  p. O1 g
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  g* Z# f0 d$ p- {
  448. ; http://php.net/error-reporting1 O( J8 g) I3 [# N2 i
  449. error_reporting = E_ALL & ~E_NOTICE
    2 J6 \5 ~2 s- G0 k, q

  450. ) S& H1 G8 q! z! q3 W1 K! r0 x
  451. ; This directive controls whether or not and where PHP will output errors,2 }9 \" c; x' f2 U
  452. ; notices and warnings too. Error output is very useful during development, but
    3 w5 r5 |' F6 F, z* r1 W% ^: \
  453. ; it could be very dangerous in production environments. Depending on the code
    ! x/ Q' P2 b7 `0 B$ a2 T  w
  454. ; which is triggering the error, sensitive information could potentially leak8 j9 d) j  f8 p
  455. ; out of your application such as database usernames and passwords or worse.
    0 v$ F$ b2 m2 y. s
  456. ; For production environments, we recommend logging errors rather than
      L  ]6 J7 U. G- ~" `# \6 v4 x
  457. ; sending them to STDOUT.$ T8 S# H- Z& l/ p4 F
  458. ; Possible Values:5 H# z& p+ ?; a% l
  459. ;   Off = Do not display any errors
    , l! P3 H, y' s% Q, q8 ?
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    : S! k4 h9 S! {/ w3 Z- S: j
  461. ;   On or stdout = Display errors to STDOUT, L9 y- C7 ?8 X2 @
  462. ; Default Value: On0 y0 N. ^5 @7 |# J/ M8 \4 D3 K' T
  463. ; Development Value: On4 Q; A' B6 E: m
  464. ; Production Value: Off; b+ M* D) p3 d
  465. ; http://php.net/display-errors, L6 d) W: f3 r' q: j% n+ B
  466. display_errors = On8 k) o; G! j% S
  467. ! \; h" H& b1 S) F
  468. ; The display of errors which occur during PHP's startup sequence are handled
    6 x2 S$ z6 d2 C" M+ F% g- ?
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    9 N1 Y6 V, T7 E  L& J
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    : _) W% U4 x: K2 ~
  471. ; debugging configuration problems. We strongly recommend you
    % U) }+ s+ p5 v, I- I8 y% z/ D
  472. ; set this to 'off' for production servers.  h3 D& c( l% P* j0 i2 L3 b
  473. ; Default Value: Off
    2 v9 b" \) M  ?* Z( e
  474. ; Development Value: On; ?! U! G# G, T7 \, c
  475. ; Production Value: Off" Q- u1 x/ a1 E3 ?8 S+ J6 h* s
  476. ; http://php.net/display-startup-errors
    ' G/ C) G6 J) P) \  ?6 O
  477. display_startup_errors = Off
    / z$ }' @* h4 @! P
  478. ! w) {* H  Q( b1 ~2 a3 |  s
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    % Y" d9 g% j5 [1 E. W. `
  480. ; server-specific log, STDERR, or a location specified by the error_log: L; k3 L- z  O* c) y8 @" Y7 n( B3 v/ C
  481. ; directive found below. While errors should not be displayed on productions
    ( _3 T6 e7 c6 X3 P8 t# ]
  482. ; servers they should still be monitored and logging is a great way to do that.2 i$ Z/ @2 K; D. M8 P* x/ C: ]
  483. ; Default Value: Off+ ?' ^  a2 Q! ~- y
  484. ; Development Value: On
    , |* Y0 j; Z4 {& u
  485. ; Production Value: On
    ! W( W* |1 |  c- r( N+ w
  486. ; http://php.net/log-errors
    % {  x& U' g) ~& G# g2 n2 y: J
  487. log_errors = On# f1 t4 q7 F3 \$ U* u

  488. + Y9 m5 h6 I" Y( Z
  489. ; Set maximum length of log_errors. In error_log information about the source is+ w: }6 u3 A: k9 I7 |, o. p
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.9 f- l3 c, z" {; n8 }3 g
  491. ; http://php.net/log-errors-max-len
    1 ^" \& }( D3 F  t5 U- ~& j
  492. log_errors_max_len = 10242 Y) r( ?! K+ q2 |

  493. # z7 P9 m+ r# r9 f
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same2 P" ~( ^& L9 U$ K. g+ O6 L
  495. ; line unless ignore_repeated_source is set true.3 `6 y6 r3 N( v. W. D
  496. ; http://php.net/ignore-repeated-errors/ l7 t+ C0 p" o4 ^+ q1 A' m1 h
  497. ignore_repeated_errors = Off
    - W# v# m& B( ], y  p/ F
  498. ) I) Z7 K0 y# J! R# y5 d
  499. ; Ignore source of message when ignoring repeated messages. When this setting5 M' b3 @. N8 g2 r: {; {
  500. ; is On you will not log errors with repeated messages from different files or3 ^  o5 H: o& E8 a+ d
  501. ; source lines.
    & \# M9 _" W$ B. \
  502. ; http://php.net/ignore-repeated-source  a% z% ^5 u. C4 m+ n1 [1 Y4 n4 X
  503. ignore_repeated_source = Off$ A9 r  J" u# K  ~, n6 H- H6 Y/ Y6 T
  504. / f7 w5 ^" d$ v$ e% h7 ]2 i
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 S+ G8 r2 K3 j: }, ^1 D- G
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    - _( U5 [  [7 l) n4 b1 w/ M
  507. ; error reporting includes E_WARNING in the allowed list8 U- D% {: u2 Y4 a4 s1 B) N
  508. ; http://php.net/report-memleaks: |7 O  ~5 ]$ g! E2 H
  509. report_memleaks = On
    ) S& L  I# z1 W: m% l

  510. / y( e; w% m' J  Q" `' @$ e- M9 K
  511. ; This setting is on by default.
    $ i4 k; i$ a* x4 d5 f9 N
  512. ;report_zend_debug = 0
    / ]2 M, D, p- }$ R' N# V5 Y% z" d

  513. " X! A# d8 R  ^6 V5 _& a! E
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; h: H' w2 U8 r8 A
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ! r8 n( c/ H" ~3 S6 Y$ g  C
  516. ; however be disabled on production servers.6 f& j  h9 X5 K& o: A3 @) h/ G
  517. ; Default Value: Off; h9 m( z" f" u# K( Q4 ^) ~  Z
  518. ; Development Value: On
    " K% o( j. _3 j. _+ G  q2 s
  519. ; Production Value: Off: V, T- i' L( y3 ~  {
  520. ; http://php.net/track-errors
    - F' J+ {7 D: a0 g  Y
  521. track_errors = Off
    5 ]" i  Z, e4 B& X  _  Q9 ?

  522. $ p6 k5 e; s3 u+ K4 M
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    . |, L, d- e. d( F! _, V
  524. ; http://php.net/xmlrpc-errors
    + n- F( B' j7 L
  525. ;xmlrpc_errors = 0
    ; z6 m$ c, [2 ^

  526.   ?- J  Y4 q6 {/ ^7 a; ]; `) N3 ~6 ~
  527. ; An XML-RPC faultCode
    . _/ H7 l+ J* z6 T
  528. ;xmlrpc_error_number = 0
    1 x& V) c! [( c  g2 q; k& S7 @

  529. * b3 P, O6 x5 l. g4 C9 a6 J4 s
  530. ; When PHP displays or logs an error, it has the capability of formatting the( ], |: h" N' P
  531. ; error message as HTML for easier reading. This directive controls whether
    ) I. H, c6 L  \6 i) I- B& W, d
  532. ; the error message is formatted as HTML or not.
    : q# M; P2 s( {: f
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 K1 v) ^- Q6 h; Q; c
  534. ; Default Value: On5 m: a) _; d- z4 b9 P; q9 s4 k  r
  535. ; Development Value: On
    5 y" {: ^) p) j# w7 O( {
  536. ; Production value: On  e. \1 d1 A$ E4 @, k) F
  537. ; http://php.net/html-errors, g# S+ [; d& c( G4 `
  538. html_errors = On
    " K- x& Y, ^3 `
  539. * ~+ h* B9 B/ A0 {) R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP- S' t! w  B0 j/ V/ v5 i) U
  541. ; produces clickable error messages that direct to a page describing the error  ^7 A  b6 E  j2 T
  542. ; or function causing the error in detail.
    # m& h+ C0 @0 L3 U: {
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    $ @. p1 V& X- O$ \) O
  544. ; and change docref_root to the base URL of your local copy including the
    9 f7 V; ^; d% W0 a* N# y
  545. ; leading '/'. You must also specify the file extension being used including
    / P/ G; q9 F0 x& n2 Q8 F
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which! C6 z  y. j* F6 P, S$ E9 h9 _7 b
  547. ; case no links to documentation are generated.; x8 M" k- Z5 H! t7 C/ r# b( ~
  548. ; Note: Never use this feature for production boxes.
    5 O/ d& j/ ], K3 [; d
  549. ; http://php.net/docref-root: {* N9 I$ r1 R6 O) {' k- E
  550. ; Examples
    + E; N: d! b  V
  551. ;docref_root = "/phpmanual/"
    ! H; H  s: n  T# n3 D2 _
  552. 6 Z6 A6 v0 Q- u
  553. ; http://php.net/docref-ext
    # y$ n: k- b8 ~/ d% r+ A
  554. ;docref_ext = .html
    1 P# }6 s& a  I* L. N3 ?

  555. + \# z' k" ?  o+ L5 @( C( ~9 {
  556. ; String to output before an error message. PHP's default behavior is to leave
    ! Z/ ^0 [- ?4 I1 P2 g
  557. ; this setting blank.7 h7 {9 X; Y4 |( X0 ^7 U
  558. ; http://php.net/error-prepend-string
    * s1 W/ Z* n: ]2 ]
  559. ; Example:
    ' n, i# j2 G5 _0 @% C5 v
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    % Q* t- x4 w  Y9 n* T% k
  561. + S) Y3 W0 L" y7 a/ M4 @5 F- K
  562. ; String to output after an error message. PHP's default behavior is to leave9 o, t+ ?* V+ n
  563. ; this setting blank.
    9 x/ {' ~8 z5 d- [7 [/ Y, d3 b. n4 ]
  564. ; http://php.net/error-append-string
    : U+ G9 p8 N. a7 [5 n* G
  565. ; Example:# p6 D3 G$ R. u9 q, C
  566. ;error_append_string = "</span>"
    / R! c( |- |6 J3 I( N* m

  567. . |! ?) G, M4 T" N* q5 @
  568. ; Log errors to specified file. PHP's default behavior is to leave this value, Z* F$ P, m' E  I+ s
  569. ; empty.( w% I% M' @* r! ?) c  u' E
  570. ; http://php.net/error-log6 _* k8 B! T' g6 M) V; m
  571. ; Example:, u* q" W' |; k4 k$ |/ Z3 c) q4 h
  572. ;error_log = php_errors.log  W; Y& _* G% ^2 R; T. c3 C+ @
  573. ; Log errors to syslog (Event Log on Windows).
    0 Q# _5 z* o4 H7 i4 s" D
  574. ;error_log = syslog) K( B7 C" H0 o4 }
  575. / |  l2 V) t4 X3 K0 M$ `- z
  576. ;windows.show_crt_warning; O  s% `/ W" ?% {$ |8 n* O' }
  577. ; Default value: 0
      v: T' Z) p$ X% H! P4 R& x! k
  578. ; Development value: 0+ w3 i( A/ Z4 k: j7 E  [
  579. ; Production value: 0" I6 j7 @0 K3 l1 h, R

  580. ' t  C8 V: M6 r$ m  V* G. A
  581. ;;;;;;;;;;;;;;;;;
    + g9 q  Z- `6 I- F8 o9 Q+ C
  582. ; Data Handling ;+ H1 |" n! Z9 F" H0 R5 ]/ B
  583. ;;;;;;;;;;;;;;;;;" P$ s' z, t/ Q7 ]

  584. % g8 C7 a5 T8 I% n5 x
  585. ; The separator used in PHP generated URLs to separate arguments.! Y" r; ?) Q. F4 Q7 y
  586. ; PHP's default setting is "&".
    ( q& z4 M* _5 U7 K
  587. ; http://php.net/arg-separator.output' O  K2 N+ g) C7 |  z% d
  588. ; Example:
      n0 V, \" e& t! }  |
  589. ;arg_separator.output = "&amp;"& I3 a6 M3 r) ^: }
  590. ; v: C3 W5 @) ], {% ~
  591. ; List of separator(s) used by PHP to parse input URLs into variables.* A3 u* c7 k( f/ [1 f
  592. ; PHP's default setting is "&".  ]( ?3 l* ~1 I  K7 h  {7 t
  593. ; NOTE: Every character in this directive is considered as separator!
    ; K& {( N7 j6 @; v, X/ Q
  594. ; http://php.net/arg-separator.input2 O' T  j8 A) v1 s, I
  595. ; Example:0 ?% a+ h0 M7 y& f9 K1 y
  596. ;arg_separator.input = ";&"* w+ K# R; `1 j9 i
  597. 5 O) Y  ^! V: `$ ~
  598. ; This directive determines which super global arrays are registered when PHP" v7 Z4 l5 X* Q) J3 J
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . j5 O9 f! i, l4 c* N& s
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty, v6 w% n" @8 J) Q# l5 h$ o
  601. ; paid for the registration of these arrays and because ENV is not as commonly, S% ?+ I. E4 V+ T. N
  602. ; used as the others, ENV is not recommended on productions servers. You
    - N; @2 Q6 G# K
  603. ; can still get access to the environment variables through getenv() should you* f$ R# w+ r; `. J. `
  604. ; need to.6 A. ]! {& F4 Y6 g
  605. ; Default Value: "EGPCS"
    $ H( c8 q; u% t5 o; z2 a1 n$ S
  606. ; Development Value: "GPCS"% z5 }" U' E% |6 o- Q+ G
  607. ; Production Value: "GPCS";  W! W0 ~& D5 v& [4 [% z8 G9 _# g6 s
  608. ; http://php.net/variables-order
    5 T6 f& e& F/ c6 j+ Y4 k
  609. variables_order = "GPCS"
    * H1 f/ ?! T# K; h2 Y2 @( o
  610. / Z; i, m0 K/ \. }
  611. ; This directive determines which super global data (G,P & C) should be2 f8 j7 b! x& F& h
  612. ; registered into the super global array REQUEST. If so, it also determines
    ) s7 C( o  K4 W7 k1 m" J4 b
  613. ; the order in which that data is registered. The values for this directive
    4 _* B4 m7 v. V% }: ?; j0 v1 n
  614. ; are specified in the same manner as the variables_order directive,
    , Q1 @$ J# f" L% Q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set1 x6 z9 Z+ i; R- X) V, K
  616. ; in the variables_order directive. It does not mean it will leave the super; n* Y! J1 @3 {# x% r
  617. ; globals array REQUEST empty.3 b# q  W" [3 ]8 Z' h
  618. ; Default Value: None
    / h& W) e5 ~: ?0 {* D) Y; D
  619. ; Development Value: "GP"# h7 p. `8 j( ]$ e) }9 {" S
  620. ; Production Value: "GP"1 n7 J  s  [4 b2 d7 X
  621. ; http://php.net/request-order
    + B6 N, e$ M; U5 ]
  622. request_order = "GP"
    1 H9 N' b, d; f5 C4 b9 y1 K: C
  623. & F8 o8 F$ E9 H; ]$ v4 Z+ s- t
  624. ; This directive determines whether PHP registers $argv & $argc each time it  f3 _" Z) k; v' A
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script" j, H) ~+ ~6 W  Y# X- j
  626. ; is invoked. $argc contains an integer representing the number of arguments* ]& P/ ]! C# s# _1 B- d: D
  627. ; that were passed when the script was invoked. These arrays are extremely: G( Q1 c; s1 i1 _) g  j
  628. ; useful when running scripts from the command line. When this directive is/ _% R. r* Y3 z- F; ~: E% ~# _
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 A) l  D; S' X0 S' \5 O
  630. ; a script is executed. For performance reasons, this feature should be disabled
    7 h3 k/ Z! M4 g" f: g2 J& O" V; x, m' q
  631. ; on production servers.3 |4 F; L2 ?# G8 q0 Q; ]. p5 }
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    4 r- ^) J& D  \8 x
  633. ; Default Value: On
    ! W- g1 U4 B) {3 @
  634. ; Development Value: Off  @4 [( z7 J. \8 d
  635. ; Production Value: Off
    " r+ Y7 N2 O3 y/ }+ w4 C% _
  636. ; http://php.net/register-argc-argv
    1 F- y, M4 g, |
  637. register_argc_argv = Off
    : g$ {! Y) C& ~7 I( d3 ^; d% b
  638. 6 X1 w( t9 y. ~$ f8 }4 V
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're# \3 }& E/ w8 C( w  a/ X# r- s
  640. ; first used (Just In Time) instead of when the script starts. If these( R3 w+ A- |+ E/ L0 I1 X
  641. ; variables are not used within a script, having this directive on will result( u0 J+ ]( g4 q9 I: `
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    5 D% G9 `2 q+ W$ t8 b. o5 w( I. E( h
  643. ; for this directive to have any affect.
    $ V* ~1 ^  B3 a4 W: |, n
  644. ; http://php.net/auto-globals-jit" |! r. n: e7 k" \
  645. auto_globals_jit = On
    ) R. N/ R# v) t/ K7 x

  646. / |$ M6 E" z' h4 s
  647. ; Whether PHP will read the POST data.7 ^0 z8 c" [0 d8 F# ?! y  K
  648. ; This option is enabled by default.( _9 S9 t9 K. T! Q+ i7 n
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST4 J# g6 |7 }( v% y$ [6 }
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ; w6 o& A/ y7 c& P$ m
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    - b1 M5 a1 `- i8 F! D8 i$ ~
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.1 g7 P- w9 i2 l: x. C
  653. ; http://php.net/enable-post-data-reading# N* G1 ]3 ?* K, w1 W4 R$ S
  654. ;enable_post_data_reading = Off
    $ D! i9 }+ X/ R  X$ L
  655. + v* @3 Y" T2 k7 t
  656. ; Maximum size of POST data that PHP will accept.
    0 c- U; }6 g" y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 \$ a4 P9 T9 C+ C; H
  658. ; is disabled through enable_post_data_reading.% [2 c6 s/ R: y8 A( q2 T
  659. ; http://php.net/post-max-size. x3 Z$ `; ^2 P) e: }
  660. post_max_size = 50M
    4 I% w, M: C5 Z/ M+ x9 G9 h" Z# L
  661. + N8 T$ R( E4 q' n$ {+ @
  662. ; Automatically add files before PHP document.
    " i6 Z- B) _& T7 t# r5 U$ p5 r4 K- x7 e
  663. ; http://php.net/auto-prepend-file3 p9 N$ e# M0 Q: }0 c
  664. auto_prepend_file =
    9 |6 S6 {6 Y) R: V! L& y
  665. " N2 S$ ~3 R' {8 u
  666. ; Automatically add files after PHP document.1 \6 Y$ t! `8 S3 _* W  u0 L
  667. ; http://php.net/auto-append-file
    . v6 s& C' Y+ I
  668. auto_append_file =( w! c- h- u8 A  D( n8 ~

  669. . o9 G, A' n4 |
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ! ?8 a' ?! w7 \4 b9 l) F* }0 ^
  671. ; disable this, simply set it to be empty.
    ) q' A6 t$ T! V  e
  672. ;
    % t/ ~- g- }) R6 U/ I4 o
  673. ; PHP's built-in default media type is set to text/html.
    5 e  g+ |0 Q( D% w2 }
  674. ; http://php.net/default-mimetype
    0 y- [- h7 o$ V+ w
  675. default_mimetype = "text/html"- m9 [: W3 j- B' e# V2 P5 G+ G
  676. 8 f! ]+ d! Q% S& J
  677. ; PHP's default character set is set to UTF-8.
    + f3 J5 j7 y/ X; f, q
  678. ; http://php.net/default-charset9 P% R% p% }5 p! s$ u
  679. default_charset = "UTF-8"4 ]) E6 J) U3 i% P6 Z
  680. 0 y+ U# `" l& _3 a: C5 \
  681. ; PHP internal character encoding is set to empty.
      ]6 _3 a* b# f5 a# {% L
  682. ; If empty, default_charset is used.0 _! u8 ~+ e# F3 t3 X7 W* p$ L
  683. ; http://php.net/internal-encoding' J$ r. m1 M7 D5 b6 E
  684. ;internal_encoding =4 _9 X/ y, ~8 [: y* \
  685. 9 _& M& J0 w, a
  686. ; PHP input character encoding is set to empty., j8 A  z2 `$ o* e% h
  687. ; If empty, default_charset is used., q- K+ [2 z( |' q' Z7 Y# c  p4 ^
  688. ; http://php.net/input-encoding& }- |' q0 t, I! R( t
  689. ;input_encoding =" L- j$ [8 i" P5 b4 z

  690. & [4 V8 d( R& l* o# }
  691. ; PHP output character encoding is set to empty.
    3 ]! v! e- f6 T+ Z/ _1 \  x
  692. ; If empty, default_charset is used.* e! i3 o3 n* K6 `& z; ]
  693. ; See also output_buffer.2 w  u$ c8 W4 g; k) N
  694. ; http://php.net/output-encoding1 r7 l# i+ C- z5 f! }: }+ C
  695. ;output_encoding =) X/ f  y6 j$ F  y
  696. ' H, q  I5 r; j) @# e
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ' u' u( t8 y2 v  ^* y+ v
  698. ; to disable this feature and it will be removed in a future version.
    . k, U3 }+ s! \, y% |) N% r
  699. ; If post reading is disabled through enable_post_data_reading,, j8 m& t4 ^1 s8 H0 G5 Q6 m* r$ A: ]
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated./ H% a/ H. _  {: i. ?: D
  701. ; http://php.net/always-populate-raw-post-data; h1 d& y& \/ T* {
  702. ;always_populate_raw_post_data = -12 v8 e5 c, M5 N3 d

  703. 2 G% D: _& A0 N& p% a
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;9 o1 K% j5 C: K+ }2 S* s
  705. ; Paths and Directories ;
    & v2 y" G' c& k1 l  C
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ I5 B/ e$ M9 E) X

  707. ( I2 ]2 i* @0 f/ w0 d9 |; l2 v3 ?
  708. ; UNIX: "/path1:/path2"
    : s  z% d; _) x% U8 X
  709. ;include_path = ".:/php/includes"
    : o/ T  w' Q4 [0 r- J
  710. ;4 h' Q' [9 z0 ~+ {) x
  711. ; Windows: "\path1;\path2"8 D! Q! F. f$ ]9 r9 |7 u
  712. ;include_path = ".;c:\php\includes"
    * v( Z$ T  r, B. A# S+ J  Z
  713. ;7 w' f0 ^2 k0 r. F6 d6 p9 a  n
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + x: h4 N( D$ U2 C8 e  h0 E
  715. ; http://php.net/include-path& i6 }7 m  N7 P! z# J
  716. / K2 Z4 I/ J, i- }
  717. ; The root of the PHP pages, used only if nonempty.
    " a  a+ p( T6 ^, S+ T
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& i" k# w0 z+ S* m5 N1 l& f
  719. ; if you are running php as a CGI under any web server (other than IIS)8 m# q6 y- ]3 B/ l% |6 C
  720. ; see documentation for security issues.  The alternate is to use the: R$ \, ?9 n& D" U; [+ R  H
  721. ; cgi.force_redirect configuration below
    + a% y- k% m6 g* h# I
  722. ; http://php.net/doc-root
    ' }5 ~/ y+ _& j
  723. doc_root =
    $ O6 l% I$ `2 `- C* {9 J2 l
  724. 6 I% n' ]- a9 q# K$ f9 r
  725. ; The directory under which PHP opens the script using /~username used only1 o# R8 r9 d: V6 k  H
  726. ; if nonempty.$ H/ X& W1 }9 L) s+ [4 u
  727. ; http://php.net/user-dir* e* o5 @, z' k
  728. user_dir =$ x& `: W3 {$ V2 X

  729. 2 C8 H% _, t0 X5 Z* b* J
  730. ; Directory in which the loadable extensions (modules) reside.
    8 C6 b4 m- x( ]0 \+ m/ a% f7 k  T" C
  731. ; http://php.net/extension-dir
    4 k- m: v" n$ I. r/ G, @+ D4 w
  732. ; extension_dir = "./"' J4 p  _8 D' ^. B3 ~
  733. ; On windows:
    " c5 v3 T0 X, c! C9 \
  734. ; extension_dir = "ext"
    % Y7 |) _; [) Y# j- Y) a6 n5 V

  735. ( ]- h4 A' R0 f
  736. ; Directory where the temporary files should be placed.2 r% w7 M  i0 G5 E) F; \4 @
  737. ; Defaults to the system default (see sys_get_temp_dir): v& y: q8 k( f) n$ V: T
  738. ; sys_temp_dir = "/tmp"
    6 ^8 C$ E- `' O
  739. 2 I1 G# j9 r4 U9 o' l& t+ R/ H
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 G9 Z. c% S1 r
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 S' t! {, h( m& C* M" p% F3 M& C' b
  742. ; disabled on them.
    6 `# s8 q: V# e& ~
  743. ; http://php.net/enable-dl3 C7 p1 G4 x+ f7 z/ q7 S
  744. enable_dl = Off1 C9 F" J# e, s% Q8 F

  745. % n( V3 T  Z# }3 Q% ?6 i$ i! L
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 R4 a" g6 D( [$ N% ], D' E
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can: U* ?5 l0 a8 m& p/ k
  748. ; turn it off here AT YOUR OWN RISK
    + W& ]- \, ~9 p* e) J
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : U7 G! ]; k6 I: q) x4 A; O0 o
  750. ; http://php.net/cgi.force-redirect
    2 K3 ?( r! }, d7 |
  751. ;cgi.force_redirect = 1
    * ]$ J7 I+ T* _
  752. ! l# R6 y' {" e1 ]; {( K, r! h! d
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 L8 M" R, ?1 H+ p5 ]: N7 y1 t
  754. ; every request. PHP's default behavior is to disable this feature.& b, }7 e) A# o0 r6 V
  755. ;cgi.nph = 1
    + v8 X  g' a9 ^" ]

  756. ! B* l: e& ?/ `! r7 g5 @
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  i1 N$ Q% A3 w5 L
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    3 y- H% O) h' @3 S* V
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY- I) d9 Y  U. x4 R( i8 J, z6 b2 |
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! X% X, F+ m( Q$ f" d
  761. ; http://php.net/cgi.redirect-status-env
    2 M! K: G8 @- G- b* K! G: h  H
  762. ;cgi.redirect_status_env =
    0 _7 u: b' Y! b, |; B
  763. ; n' A$ w- R  E" f8 c" U- M- C
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's0 Y4 G; `" Y! v7 S4 J
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    / I. U9 e- l  Q
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
      G: ^3 i  B' Z* k
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting. F. L% w7 x! B  t
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts' l0 n: y- h2 o! [0 ?5 Q4 l. I
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.- Q( X8 `3 ~2 H# V7 ~
  770. ; http://php.net/cgi.fix-pathinfo3 |5 k* ?- g: h6 G% w! ~! j, C
  771. cgi.fix_pathinfo=1
    2 m, r5 o3 O/ `$ _9 m3 x; Y8 z* c

  772. % ^* q' m8 S+ |: J
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    % P# b0 j  o5 M
  774. ; of the web tree and people will not be able to circumvent .htaccess security.) P0 M% i9 N8 |+ W% j! B; t
  775. ; http://php.net/cgi.dicard-path/ G  `' L) B3 m( B& _8 [. I- q# Y
  776. ;cgi.discard_path=1) _% \- H$ U# A9 e6 Y# w
  777. 1 W6 K# ^( t5 O* O. k
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    / @! [5 h" j( P; k* c* x
  779. ; security tokens of the calling client.  This allows IIS to define the5 _: b( S+ x7 f' p" H/ J
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    7 K$ f- G( T$ {* m- g2 M3 t
  781. ; does not currently support this feature (03/17/2002)
    / h# @2 n* C5 i; ^& e1 e0 r
  782. ; Set to 1 if running under IIS.  Default is zero.& D2 D: ]/ W: U' s
  783. ; http://php.net/fastcgi.impersonate5 L( s$ W8 h7 m
  784. ;fastcgi.impersonate = 1! q! h; R+ \7 {- V6 q7 }6 @
  785. 9 F' Y! Q0 a, ^6 @. C' \
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ; t! `. M' B2 w0 j1 M0 V3 y( Y
  787. ; this feature.
    2 t8 h' V9 v) I4 P: M) O
  788. ;fastcgi.logging = 0  O/ W( }4 `: J' R5 H

  789. ! m2 `: S6 ^0 ^& L7 \% P. |
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, Y0 \, e9 T0 g, w/ o
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    1 L" k' J1 H$ U5 t% e! [
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    + \; s' e- H! D1 u8 }* o
  793. ; RFC2616 compliant header.  g  G3 O5 Y: G0 B
  794. ; Default is zero.8 S9 l5 R0 i7 s1 Y9 T
  795. ; http://php.net/cgi.rfc2616-headers) \8 P! S. t6 g( ^$ W
  796. ;cgi.rfc2616_headers = 0
    2 d" ]" g  E4 a8 H6 N

  797. 6 D% `6 {: R, s" Q* \
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!" P6 R6 J+ F. ^7 T) l3 U4 c
  799. ; (shebang) at the top of the running script. This line might be needed if the1 w" l1 K! t- x" k; [
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI+ o( _( [0 ~/ p6 T) K
  801. ; mode skips this line and ignores its content if this directive is turned on.# D% L  C" K5 ?( b( n5 I
  802. ; http://php.net/cgi.check-shebang-line
    2 t2 Y% X1 Q" \
  803. ;cgi.check_shebang_line=1
    ; q2 L( t" A! G$ p4 Y

  804. ' t4 s" l: x' _1 S! H& W
  805. ;;;;;;;;;;;;;;;;3 l3 t& A/ c! _' L
  806. ; File Uploads ;
    4 g' G. J7 m  z1 j# `# R* m
  807. ;;;;;;;;;;;;;;;;
    5 k* n* k# z) L8 X
  808. / l8 h+ \5 _" O  Z% k1 N4 z0 x
  809. ; Whether to allow HTTP file uploads.
    8 ^: Y# W0 x% f* v( I, h
  810. ; http://php.net/file-uploads
    ( K7 S; ~" T5 F1 |; V
  811. file_uploads = On  {4 r1 d6 Z' Y
  812. ; p4 C/ Q, J, t. E9 y: F
  813. ; Temporary directory for HTTP uploaded files (will use system default if not1 N* E! R: B) Y  H' N, {
  814. ; specified).
    * L. k! i3 Z& y! d) S
  815. ; http://php.net/upload-tmp-dir! F' U. B7 o& F* Z7 g0 C& L
  816. ;upload_tmp_dir =
    $ q7 D" a& a+ K* b
  817. 4 M4 o8 n' G% B+ \
  818. ; Maximum allowed size for uploaded files.
    + s' y3 c8 F* w/ x) s1 T
  819. ; http://php.net/upload-max-filesize' x) g1 W$ D8 B8 O
  820. upload_max_filesize = 50M$ a3 f' R9 u, k& C

  821. ; s# t5 q8 i; q, r4 K( {+ l
  822. ; Maximum number of files that can be uploaded via a single request! H+ ]2 T$ O7 X3 j
  823. max_file_uploads = 20
    $ G& O8 l3 e! H3 x

  824. 6 o4 r3 h0 n9 O, a) @
  825. ;;;;;;;;;;;;;;;;;;
    ' W+ ~6 ^" B0 Z2 R% R* ~9 S  H
  826. ; Fopen wrappers ;; O$ o4 G3 F1 }4 L* f( C
  827. ;;;;;;;;;;;;;;;;;;9 k7 I. o1 |: j+ E6 d& L

  828. - w( n' E8 q' G! w$ P" B7 S8 m
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 \" W6 k8 R  q5 G: y3 m/ L7 M
  830. ; http://php.net/allow-url-fopen
    + t" Y- h( k/ C8 [$ {4 B3 o8 n
  831. allow_url_fopen = On' V8 h! K# [- u0 P/ f' O

  832. & a0 q2 @4 ~, A7 d. a- s2 b
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.4 ?/ C8 ^) s7 B3 {0 x& t
  834. ; http://php.net/allow-url-include" [4 \; g. `( T6 _1 a4 |4 E8 G# n$ Z
  835. allow_url_include = Off- B; A5 A1 J/ R

  836. ! _- D% O3 f& A7 v3 c  r
  837. ; Define the anonymous ftp password (your email address). PHP's default setting! C8 O0 z. O. c& `' }1 ~
  838. ; for this is empty.
    ) J, }4 D  O  F
  839. ; http://php.net/from' O' y% o1 G! S
  840. ;from="john@doe.com"
    , h9 Y4 O' X5 |; r! i3 ]
  841. ! s& @, o! A  g& `/ b9 p, C
  842. ; Define the User-Agent string. PHP's default setting for this is empty., A) U/ u! k$ S: b/ E
  843. ; http://php.net/user-agent
    6 }' `% W1 d2 u  G
  844. ;user_agent="PHP"
    . P4 G6 [! Y# a
  845. " \2 H' `( y" t5 P
  846. ; Default timeout for socket based streams (seconds)5 E, A: B! K! G& I# ~8 m* E/ W! B1 }. ]
  847. ; http://php.net/default-socket-timeout
    " C! H% ?. L1 n# c% c- z
  848. default_socket_timeout = 60
    * s$ C$ o$ F0 c5 H4 Y
  849. 4 v0 ~" J* _5 A3 u1 _  `1 D6 f
  850. ; If your scripts have to deal with files from Macintosh systems,
    6 w% C8 O) L, u* _/ V4 |: X0 Z8 h
  851. ; or you are running on a Mac and need to deal with files from8 Z4 K- O7 f" y' A+ s# V, a" I
  852. ; unix or win32 systems, setting this flag will cause PHP to1 b! O4 q9 L# e" }
  853. ; automatically detect the EOL character in those files so that
    : A3 L0 S1 r, ?" O
  854. ; fgets() and file() will work regardless of the source of the file.9 U8 d8 C' }8 B) t4 ?6 q; h. K: o( @! s
  855. ; http://php.net/auto-detect-line-endings- u1 W) N6 Y% m6 R1 Z
  856. ;auto_detect_line_endings = Off; ~" Z3 K: c. V6 R# ]- u/ z( e4 l

  857. 7 S  p% J4 P7 u; ]. @' b
  858. ;;;;;;;;;;;;;;;;;;;;;;
    # q! D) ~% u- Z- x2 S4 ?$ `% c
  859. ; Dynamic Extensions ;6 H  F- _; x8 w  ^( P
  860. ;;;;;;;;;;;;;;;;;;;;;;$ p4 {# p- @+ o' w, q, N

  861. * ?1 X% e  F4 ?9 e! P' x! E2 [6 i
  862. ; If you wish to have an extension loaded automatically, use the following9 q. r2 ^! |  V1 l& g7 ^
  863. ; syntax:. \+ X- `: {, `7 H& }% R
  864. ;
    6 f+ f3 n: _; x6 {' g
  865. ;   extension=modulename.extension2 @7 O3 W$ [4 K1 w6 [% p6 U) L
  866. ;8 R7 V5 F& I$ R1 w: w- ~9 @( e
  867. ; For example, on Windows:' _0 f" f% b. ^* j, b
  868. ;5 ]+ q' f. n$ E3 _; J
  869. ;   extension=msql.dll$ b# N7 ~% G5 m$ ?" `* Y$ X3 V
  870. ;
    , R7 y" w! L8 {  l1 F
  871. ; ... or under UNIX:
    # G2 ?9 N3 e, S; m6 I8 O4 V2 }
  872. ;
    0 h4 P& p8 d0 ]8 y  ?' [. B1 h
  873. ;   extension=msql.so- A2 Q3 g: {  `+ {: q# z( H
  874. ;3 z; U4 Q& J: `2 c, N
  875. ; ... or with a path:
    5 t- R+ j: q) V! O
  876. ;
    8 @: f( J/ _7 q8 S6 l* B
  877. ;   extension=/path/to/extension/msql.so# a  [1 S9 s% f' h. i8 q
  878. ;0 t% N0 g* C3 j6 c7 h6 E* W
  879. ; If you only provide the name of the extension, PHP will look for it in its9 T3 W& u5 U5 `! h6 _  y
  880. ; default extension directory.+ z. z( Z5 |% z* M$ ]5 u# ^+ c1 f1 {6 ]
  881. ;9 J& Q, a" L7 E! |0 p% P# n
  882. ; Windows Extensions
    1 A" P: C; O  u3 E2 A
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    / R: O' F; }' R$ p8 s1 C
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)$ {, l3 [3 ]  t7 u3 P' c
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    - j& Y4 ?0 W! w! l6 y3 h) q  r4 q- M: v
  886. ; Be sure to appropriately set the extension_dir directive.  M( F( _  k6 L. r1 {
  887. ;  b" j9 m: c+ a. M' b8 P
  888. ;extension=php_bz2.dll! K8 L: c1 _, j/ s6 K
  889. ;extension=php_curl.dll" d3 [, J9 ^" a& a5 f: X& y: B
  890. ;extension=php_fileinfo.dll
    1 N3 ]9 Z2 N# i, W1 Q7 X
  891. ;extension=php_gd2.dll
    3 V5 `% C1 ]: n0 T! Q2 V" l& Y
  892. ;extension=php_gettext.dll
    . p/ k5 n! e1 _6 j" R! u
  893. ;extension=php_gmp.dll- c/ q3 C8 f9 W- y$ ?
  894. ;extension=php_intl.dll
    % W& _- q1 B- f2 u% V7 Y3 i
  895. ;extension=php_imap.dll9 T, l9 p7 Z0 n
  896. ;extension=php_interbase.dll
    # a8 W' O( i! A
  897. ;extension=php_ldap.dll
    - _& v' r! L6 ?$ c: G0 G, d
  898. ;extension=php_mbstring.dll$ X5 V- O- Q% v% I+ i
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it7 o8 L4 Q' ^4 K5 a' h3 W
  900. ;extension=php_mysql.dll0 X, g, C3 K% T  y( {+ D$ c
  901. ;extension=php_mysqli.dll
    ! S. e! ~& m7 L0 c1 ?% F
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & ?3 f7 a9 z1 o2 W1 d: Q
  903. ;extension=php_openssl.dll6 M1 H! P# W  Z8 x
  904. ;extension=php_pdo_firebird.dll
    $ h$ {( u8 y# B4 }( I1 n$ N. M  y7 F
  905. ;extension=php_pdo_mysql.dll
    : V$ V3 ?. ~) t3 I* \1 b& U
  906. ;extension=php_pdo_oci.dll
    % K( k/ V# B3 i; k9 h3 m
  907. ;extension=php_pdo_odbc.dll
    : U% T/ B) V3 e, J( z
  908. ;extension=php_pdo_pgsql.dll2 q" L8 z1 D4 C
  909. ;extension=php_pdo_sqlite.dll5 m0 O, U1 o6 d5 e$ x
  910. ;extension=php_pgsql.dll
    # ~0 _6 x& `2 K& v2 Y4 C
  911. ;extension=php_shmop.dll3 }2 T3 i. D9 g" P8 H6 P7 p
  912. - ~3 Y+ N! x/ n
  913. ; The MIBS data available in the PHP distribution must be installed. / P% E- s- j0 p% G' J5 g! u
  914. ; See http://www.php.net/manual/en/snmp.installation.php . ?( {5 K3 n$ E0 I; x5 T1 E0 T. ^
  915. ;extension=php_snmp.dll+ R3 R' H* c- F
  916. 0 m4 b2 g1 j1 t! d1 F$ O5 p" A
  917. ;extension=php_soap.dll( ^/ x5 Y/ k4 z4 u
  918. ;extension=php_sockets.dll
    + T5 l# @- ]9 |# Z8 _
  919. ;extension=php_sqlite3.dll  D9 i! U+ k& ]0 ^& f/ R* y' {' B! k
  920. ;extension=php_sybase_ct.dll: s2 Q+ _# P& e+ `2 H$ h
  921. ;extension=php_tidy.dll
    " I" _9 R- E7 u* P4 O. a' S0 W& w
  922. ;extension=php_xmlrpc.dll, `  i$ b: Y9 w' l3 \- d0 M0 G& i
  923. ;extension=php_xsl.dll
    & r/ b6 d; X6 \

  924. 5 ^( ?+ T" [. K* E4 Z* z. B& `
  925. ;;;;;;;;;;;;;;;;;;;
    " V4 F: q* H6 t# @$ \! P2 ]% `
  926. ; Module Settings ;
    . \$ p4 F5 g9 ?4 ^
  927. ;;;;;;;;;;;;;;;;;;;( V* m) ?& L3 a0 t6 Y) `$ {

  928. # Y* K4 ^5 o. g
  929. [CLI Server]8 l: S  H, r8 P7 a9 t# [
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.0 |* J. o- b8 k" w. D9 ]) v0 ]
  931. cli_server.color = On; H- ~1 b4 W+ D& b0 G' U  b

  932. * J$ J. F7 Y$ d
  933. [Date]
    ; @) g) G* \( g  O6 v% a9 Y+ ^# u- q
  934. ; Defines the default timezone used by the date functions1 o- ~: u( ^( ?- t7 M
  935. ; http://php.net/date.timezone
    2 o5 X* A2 T! I! ?5 @4 q
  936. date.timezone = PRC' R% ]: S! [4 X2 L8 B

  937. 4 u% \! N" o1 D) Z  M7 z, ]9 e6 L
  938. ; http://php.net/date.default-latitude
    * z# D9 o) G5 p2 B  ]" L
  939. ;date.default_latitude = 31.7667/ z. \3 M& p4 j1 U) P) Q1 _- j
  940. 1 ~( r- {4 u0 K8 Y7 _) f
  941. ; http://php.net/date.default-longitude
    . C% E, E8 b# `
  942. ;date.default_longitude = 35.2333
    % Q4 |% E9 W* `" t! d

  943. + Q) S& b# D+ o
  944. ; http://php.net/date.sunrise-zenith
    8 M  ~0 P% e# S, @! W
  945. ;date.sunrise_zenith = 90.583333# h" X9 S' O: z
  946. 5 q* N# ~( C- K2 E
  947. ; http://php.net/date.sunset-zenith
      _/ m/ I3 S2 d  L$ T" \
  948. ;date.sunset_zenith = 90.583333
    2 A' Q- x  j, u: L4 e* D) R7 x6 {$ m
  949. 9 V- [+ K/ O: i0 o# u9 U5 F
  950. [filter]. O% w: |" Q" ?9 @; m' d
  951. ; http://php.net/filter.default
    . m- H& n6 Y9 [: y- s9 F
  952. ;filter.default = unsafe_raw6 ?/ j) p$ s" F" M

  953. 9 }6 C8 N) t3 i9 g
  954. ; http://php.net/filter.default-flags
    3 {. x. b* H6 E8 D
  955. ;filter.default_flags =
    ; \+ H/ p6 @5 O

  956. : j; ?( ~% p/ H5 @' d
  957. [iconv]+ d& K; p. m. A* O( W- n. ]
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : C( M( e/ X; }: z& t
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* T% ?8 l5 r: Y  g, r( u1 ]# b
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ! s) ~5 d9 q+ h+ h' D0 I1 O8 _
  961. ;iconv.input_encoding =
    ; t5 e! J" v0 l& I% _. s
  962. ! {$ N. B( q  k9 }. `
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ C! P' p  w# ~7 `
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 k4 U: U0 B; E3 L: _& ]
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 n% |: I; V5 }# q
  966. ;iconv.internal_encoding =* e  S2 V) u$ V* T) b9 I

  967.   x  Y7 I5 Z# x: i5 ~1 \. |
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 F/ t; t; o; L
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) _) y/ a2 x) C
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding1 w! E- v0 n4 C  `7 \3 M
  971. ; To use an output encoding conversion, iconv's output handler must be set
    : v/ I$ Y; `7 {$ r
  972. ; otherwise output encoding conversion cannot be performed.
    * w9 u" t- z8 q  y/ x/ P
  973. ;iconv.output_encoding =
    $ o0 W4 M; t' x( n/ j
  974. 0 ~; q* w4 L% ^7 Y3 S9 T# X% x
  975. [intl]8 N3 O8 V! ]- ^: e" `* |" E  f
  976. ;intl.default_locale =. P. O; a4 Q3 L# @' I
  977. ; This directive allows you to produce PHP errors when some error
    ) g7 w  `# e# k2 n
  978. ; happens within intl functions. The value is the level of the error produced.9 ~& _6 h- w' Y/ \9 `
  979. ; Default is 0, which does not produce any errors.
    $ ]  a  h; \/ q  u6 L% v
  980. ;intl.error_level = E_WARNING
    8 _0 H) s" D+ g1 P
  981. ;intl.use_exceptions = 0
    5 `4 e$ ^- Y* R/ E8 v3 v. g. F+ V. c+ P

  982. " {) B) b% G' L4 }; d
  983. [sqlite3]
    " p- A' D0 U4 w7 G) T4 b
  984. ;sqlite3.extension_dir =+ b/ J3 G" B8 |; o  Y

  985. 3 r; k& _% T3 E5 p
  986. [Pcre]4 h. m# m& X7 |/ t
  987. ;PCRE library backtracking limit.
    " Y) T& E% w' s0 M- z2 L9 K
  988. ; http://php.net/pcre.backtrack-limit
    ( J5 t: a# p" j- ]8 c1 v0 B
  989. ;pcre.backtrack_limit=100000( A4 F" l, g( y" G: }; I* t$ {8 Q
  990. 6 u8 r0 \' ?& C: g) ~* z
  991. ;PCRE library recursion limit.
    9 B  Q' m' s/ F* c6 l! R
  992. ;Please note that if you set this value to a high number you may consume all
    2 Q8 K. r6 Y5 r! P
  993. ;the available process stack and eventually crash PHP (due to reaching the# @) w4 N& X8 c' j6 q
  994. ;stack size limit imposed by the Operating System).
    ' O5 A% R/ t8 w1 n1 T- X" f  O
  995. ; http://php.net/pcre.recursion-limit0 q0 o* ~- W$ @
  996. ;pcre.recursion_limit=100000
    1 V. ^' P6 \" t4 L% u" P

  997. ) I& y# U) X- ]4 }
  998. [Pdo]/ f* j8 u$ z& ^7 t8 ]+ e8 Z
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") x) d+ \' d- t( B
  1000. ; http://php.net/pdo-odbc.connection-pooling% w( D8 r+ \7 ?6 E! T$ Q1 {  z
  1001. ;pdo_odbc.connection_pooling=strict
    3 K8 _* J! a' u0 j& F2 ]) J
  1002. # R" w7 R1 ~. y% {
  1003. ;pdo_odbc.db2_instance_name
    + K: R% E1 ^# B+ ~* t/ l8 x

  1004. , a) M& d! v2 X' l
  1005. [Pdo_mysql]$ E, d1 r9 p' \4 h; Z
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + G8 B" X1 W( N+ c
  1007. ; http://php.net/pdo_mysql.cache_size( ^1 c" N& H6 O' F8 W, n6 c
  1008. pdo_mysql.cache_size = 2000, |# g) f4 e" R: e; o. m( ^, s' c
  1009. * F  @7 o! c6 V& w7 Q& n
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 X# a# }' c! c
  1011. ; MySQL defaults.
    5 @. ?# m2 D3 I3 D! ~2 L5 e
  1012. ; http://php.net/pdo_mysql.default-socket
      A4 \! W! s' r1 y
  1013. pdo_mysql.default_socket=
    - R. d% x( b& z3 T, m9 m

  1014. : a0 O( Y" h2 L
  1015. [Phar]
    ) K' Q% Q, W0 g- v" j% A
  1016. ; http://php.net/phar.readonly
    0 J7 b) I2 u+ }7 s9 r% e  \
  1017. ;phar.readonly = On
    . [: k$ T* V: U9 L7 p
  1018. ; T% f$ P, O& R7 _  |
  1019. ; http://php.net/phar.require-hash
    0 K8 p" h5 s. s$ J5 {) y
  1020. ;phar.require_hash = On8 W# p7 z; V4 q& ~: w! a1 x! z5 B
  1021. 0 \# L; r0 R. f# a1 V! p
  1022. ;phar.cache_list =) y# l2 ?2 w3 {  ?+ J) v2 z( e( n

  1023. + W9 T+ |+ Y2 t2 A1 T
  1024. [mail function], _4 \: I; z" A& t6 \
  1025. ; For Win32 only.
    4 X: S0 T" {' @/ t
  1026. ; http://php.net/smtp# y) M1 T; I; k8 o5 F
  1027. SMTP = localhost
    5 J0 Z% H1 m8 K1 J+ v1 S# D# J
  1028. ; http://php.net/smtp-port
    . [. r- \& K( B
  1029. smtp_port = 25
    + T3 w5 X6 N, n- J+ x
  1030. : e9 P% Q8 i4 r$ ~
  1031. ; For Win32 only.
    9 R* b* X! D5 F: j( W2 p
  1032. ; http://php.net/sendmail-from( _4 i& E- y. g5 ^" t2 Z7 ~
  1033. ;sendmail_from = me@example.com
    ; f' B( k9 q! U- L7 d
  1034. 2 f& l* }, X) t* z
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ j% K4 s# \) J# Z3 k/ l
  1036. ; http://php.net/sendmail-path
    # W- d5 y' v2 q! U
  1037. sendmail_path = /usr/sbin/sendmail -t -i- a$ I' C" H- e; M. _! z$ r

  1038. % J( {8 ?* d# ], u& k6 [; Q9 B
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    0 F5 [# M9 {/ G; i3 j) ~4 m! u
  1040. ; to the sendmail binary. These parameters will always replace the value of8 @/ W+ Q* Q" u$ t8 {$ o4 X
  1041. ; the 5th parameter to mail().
    % N; G8 P' {" e2 l1 y8 ~0 A0 w) X( D
  1042. ;mail.force_extra_parameters =& \+ F) V3 q# Q" g# H
  1043. 7 @4 n2 c: L( P4 i' M0 \% y
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    + e2 V3 y, a1 W3 R
  1045. mail.add_x_header = On- H/ _9 X! `# ^* y3 S, v+ @6 d: V3 k0 t

  1046. ( a! i; \2 Q2 w& B
  1047. ; The path to a log file that will log all mail() calls. Log entries include2 k- `( t1 E% A# q- _" [
  1048. ; the full path of the script, line number, To address and headers.
    1 `2 E5 P- V$ E  H4 C
  1049. ;mail.log =8 O% v' [- E; q# @- W: v
  1050. ; Log mail to syslog (Event Log on Windows).
    & I) x5 c  q1 H6 }" r3 m
  1051. ;mail.log = syslog
    ) E2 K1 U: W: c

  1052. 7 `6 g4 n8 f: l. @: U
  1053. [SQL]
    , I6 i  [  Z( p  K/ y$ x
  1054. ; http://php.net/sql.safe-mode: R- w% F- [- S5 W7 i
  1055. sql.safe_mode = Off& k  Z9 p- G7 X/ r0 P9 n  b

  1056. 1 C1 U6 P& {; C2 k6 H0 Z6 q
  1057. [ODBC]- J" z# r, H4 u- ]9 K3 q5 k" n# c
  1058. ; http://php.net/odbc.default-db- x2 O- R0 P' J: L
  1059. ;odbc.default_db    =  Not yet implemented
    " S0 ]; m$ {( W1 o
  1060. + l& k' W3 G4 q% J
  1061. ; http://php.net/odbc.default-user
    - s4 C) y3 W2 f
  1062. ;odbc.default_user  =  Not yet implemented
    , A' T4 A8 o0 U9 t) f( G
  1063. $ T! q5 \5 D: j9 _. R: G: ?$ a
  1064. ; http://php.net/odbc.default-pw. I" Y. Y# K/ R7 J9 i
  1065. ;odbc.default_pw    =  Not yet implemented
    6 q5 q, g9 w; e% f  v, X- ^3 j
  1066. 6 Z" b, ?# Z# [- Z6 p2 W
  1067. ; Controls the ODBC cursor model.
    $ Z. t/ R8 U1 g6 R2 \
  1068. ; Default: SQL_CURSOR_STATIC (default).
    . r, H8 v! A5 q) O9 ^  P
  1069. ;odbc.default_cursortype  H2 d2 c6 }  W* H1 Z) O. i6 d3 g

  1070. 1 f9 r: b3 a8 l! A5 f7 [
  1071. ; Allow or prevent persistent links.
    0 y# }" _- a5 H4 m% u' X  x
  1072. ; http://php.net/odbc.allow-persistent6 }+ k+ j! e9 _9 j7 _" a. u
  1073. odbc.allow_persistent = On; o: h2 z2 e- P6 {4 E& u
  1074. 8 H# n0 x- \$ X- \. c
  1075. ; Check that a connection is still valid before reuse.
    . X0 c+ k; @3 \; _, s
  1076. ; http://php.net/odbc.check-persistent
    8 {0 h: e9 _* y7 N
  1077. odbc.check_persistent = On
    2 D+ V0 r/ L  K) E8 p

  1078. 7 b: v9 V3 u% J
  1079. ; Maximum number of persistent links.  -1 means no limit.
    . N/ G! T6 ~" {& m& r& C
  1080. ; http://php.net/odbc.max-persistent3 ]; W. z2 J$ C
  1081. odbc.max_persistent = -1
    ; I5 {, h4 i+ X8 X% X$ S/ z

  1082. ( p, }; J- x! d% r* D3 U
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ [% E- _3 P9 t7 ^0 `1 d7 g3 ~
  1084. ; http://php.net/odbc.max-links
      |. a& `0 S' ^8 Q) I
  1085. odbc.max_links = -1+ ^8 H2 Z+ ^& z5 A' P, z

  1086. " Z2 Q) q' g' P! C# c! k6 O
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means2 {* ^& G* ~$ }" D. g
  1088. ; passthru.. Z/ S$ A8 R% A( R: ^1 W' ]
  1089. ; http://php.net/odbc.defaultlrl3 t) f' {0 F! g0 \9 a$ m  F
  1090. odbc.defaultlrl = 40969 A+ K4 T- J' c8 i9 E9 u
  1091. 9 ^& u1 C! E* [
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 J3 n; G. ]# W: H. c8 |0 e: [
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: |; X4 ?$ U3 V* \1 y1 W
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode* ^" x+ |0 D: [" j
  1095. ; http://php.net/odbc.defaultbinmode( u, k  o- b  Q" t, n
  1096. odbc.defaultbinmode = 1
    ; k- l; t# g* G3 S9 A
  1097. 8 w# A' |0 w; W* A. ?3 Y
  1098. ;birdstep.max_links = -1! f  c: `" D' ~! D! m* J
  1099. 8 D; k3 ^6 D* h1 l2 P4 W# F5 p  z; L
  1100. [Interbase]
      c  t$ D9 b9 l. u! |5 _+ e
  1101. ; Allow or prevent persistent links.( |" y! u) _- ^8 c
  1102. ibase.allow_persistent = 1) l% K6 v+ W/ {4 ?1 o% @

  1103. : y7 x, ~( O- j& M: l. Y! ~
  1104. ; Maximum number of persistent links.  -1 means no limit.
    2 t4 D: g; f5 ^! [7 l  \: v
  1105. ibase.max_persistent = -14 C* Z7 s) p4 B

  1106. ! j- u# y' O* {5 h1 o4 z$ k9 q: m
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) o. |! I- X$ c5 C" r/ L
  1108. ibase.max_links = -1) V/ g# L4 O, {; z* X/ ?/ L

  1109.   s  I7 h0 {* s
  1110. ; Default database name for ibase_connect().8 A1 s+ z# }: q& k( u
  1111. ;ibase.default_db =0 @' P) {. ?! h7 {

  1112. % F7 I0 ?! G5 R+ g% e* G
  1113. ; Default username for ibase_connect().
    & U& r* O$ f2 O' o% l+ q
  1114. ;ibase.default_user =3 }: o& p" o+ D8 O
  1115. 0 s( a" d  n! |. t+ O& h, _
  1116. ; Default password for ibase_connect().
    , P' X; o( i% k* U6 a5 E) Q6 p
  1117. ;ibase.default_password =6 s5 p  C* {/ w
  1118. 7 N9 W8 a% W3 F" V* \  B
  1119. ; Default charset for ibase_connect().
    $ q/ L% e& M, ]( Z% Z3 n' t
  1120. ;ibase.default_charset =
    0 L) }3 X( {+ {6 {% Z# p: r
  1121. ! Y9 ]8 `' f$ h5 {1 v, {( o
  1122. ; Default timestamp format.
    " g$ R' W3 g; p" N' E/ j: D: h
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"3 f& Y8 @5 Q, T
  1124. ( n2 @; n3 q' T8 x, ^
  1125. ; Default date format.
    : t, H7 M  o! b- j8 r, A$ ~0 y
  1126. ibase.dateformat = "%Y-%m-%d"% n( M6 x0 n/ {$ @6 a) X+ i

  1127. 5 U$ Z9 k5 v7 V( B) j
  1128. ; Default time format.
    8 ?* p3 G! V8 M1 X
  1129. ibase.timeformat = "%H:%M:%S"% V3 H) S, |+ a1 K- a+ ]  }

  1130. - I3 H5 B& R% |  E8 a9 Y  g
  1131. [MySQL]9 K1 S5 @0 Q/ q* ]: f
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( x3 a# z; }, d) q
  1133. ; http://php.net/mysql.allow_local_infile) e' E% d; y7 S
  1134. mysql.allow_local_infile = On3 Y9 Y' V- s7 g/ A, t
  1135. 9 `1 v( V4 ~7 Y6 U
  1136. ; Allow or prevent persistent links./ |; b' u. m6 D) u
  1137. ; http://php.net/mysql.allow-persistent
    ! X3 T% A8 p8 f. }& D" x
  1138. mysql.allow_persistent = On! q1 h9 |4 N$ o  e. V, K& O, n
  1139. 9 I4 R# t/ ~$ y9 c
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 ], D/ z& N; |0 M5 {7 w( t( h: \
  1141. ; http://php.net/mysql.cache_size
    ; L2 H+ F) h# H5 b. X. L
  1142. mysql.cache_size = 2000
    ; n$ [5 Y) u' d. R, o8 Y4 x5 w

  1143. 7 m! @5 e! ]( g- J1 T- c( Y' ]
  1144. ; Maximum number of persistent links.  -1 means no limit.2 L) H+ O+ S  p) e, d0 f6 r6 w% z
  1145. ; http://php.net/mysql.max-persistent
    , }; u* U0 `6 v4 E& D: E
  1146. mysql.max_persistent = -1' s/ m( Y% \; U7 v& l

  1147. + }/ H" t5 F9 t; s* \- M
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 h5 y6 Q! C. g+ n1 P" a, o
  1149. ; http://php.net/mysql.max-links
    0 d9 F3 f' @9 }% ~4 y+ _3 V
  1150. mysql.max_links = -1
    ' V3 B% ^# x( k5 k3 i" C

  1151. / c' K3 d0 @% s" z; T
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use6 [* ^8 x" U2 a
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % P! }  C( G! A4 l! Q2 u$ G3 J5 d/ Z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & l5 ?4 |. ~3 D: E( e) T/ _8 M
  1155. ; at MYSQL_PORT.
    ) N  Q6 p7 |! ?/ v: J; _6 k. m+ c
  1156. ; http://php.net/mysql.default-port
    " ~) y) l) R# B. g; ?
  1157. mysql.default_port =4 @, p: |$ P( P, [# v. F! l$ X
  1158. 5 s) T3 n, u3 ^3 D* {9 j
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in; G9 L+ H& s. u: S9 a+ V
  1160. ; MySQL defaults.
    ! }0 N; I0 I3 J0 F
  1161. ; http://php.net/mysql.default-socket% o; V$ s0 k# X# P5 [
  1162. mysql.default_socket =
    : g1 T* e" V* `( \# W% J" {6 C" [$ n0 V/ t
  1163. ' C3 n; y6 U4 B/ T9 }9 v
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).) E) d* h$ L* x+ n6 \2 ]7 w0 J
  1165. ; http://php.net/mysql.default-host
    * E% L& ~2 X& k2 o
  1166. mysql.default_host =
    * Y6 k0 p3 e: Q! N; l' \& f

  1167. ' O) y( J2 w- I# {* g  ?
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 q6 d$ y, j1 M8 [
  1169. ; http://php.net/mysql.default-user
    2 j& o$ l/ |/ H+ v7 i4 m( U
  1170. mysql.default_user =
      ^( ~& e; u' E& w9 J5 H
  1171. 2 Z6 i9 [  P7 n$ a2 U
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ) L9 T* t" u: ?4 W. Y! ~
  1173. ; Note that this is generally a *bad* idea to store passwords in this file., f7 t. I3 ?$ ?+ L/ d9 C  U% P
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    % h, A2 N6 b1 A" ~$ @% U
  1175. ; and reveal this password!  And of course, any users with read access to this
    $ ?7 u/ w. z) @; [
  1176. ; file will be able to reveal the password as well.
    + M3 E$ n% |6 |, W( O. v" @7 _. B
  1177. ; http://php.net/mysql.default-password
    8 m7 B$ }8 x- F" m0 G+ S4 G' D: ^
  1178. mysql.default_password =
    % ]1 D9 A8 C4 P6 x+ e
  1179. ! n1 P8 k7 s2 j' E7 e1 Z; ^, Y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    % a2 O0 L" o9 d+ Y
  1181. ; http://php.net/mysql.connect-timeout
    ; i: Z) @3 r9 z% B3 e1 L) f. J; e: _" _
  1182. mysql.connect_timeout = 60
    : p" C( }& T8 Y$ ~2 N
  1183. 6 W+ K& T! M3 f! g
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ) M  T& F! A7 K, t* x2 K4 L/ n- b
  1185. ; SQL-Errors will be displayed.
    . Z0 A0 z- q; D5 r0 @+ M& f
  1186. ; http://php.net/mysql.trace-mode
    + _: _6 x7 {( r- d
  1187. mysql.trace_mode = Off
    - b8 i6 g, ^& K# g5 @$ w# u) B6 I

  1188. 8 t- `8 H  C0 ~/ X' h( ]
  1189. [MySQLi], k. ]% o! X# |% O! H+ I2 v" T
  1190. - }" }' R, `3 ~
  1191. ; Maximum number of persistent links.  -1 means no limit.: c: {( G+ C# r# y' K
  1192. ; http://php.net/mysqli.max-persistent
    1 l4 l0 H3 g$ X+ B7 Y
  1193. mysqli.max_persistent = -17 Q8 i/ |& f, w. a5 X
  1194. ! u9 [; |, L8 M
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ! t- Z+ z+ X8 c7 {& |
  1196. ; http://php.net/mysqli.allow_local_infile) a4 @4 k* U! _2 @6 [5 U2 H
  1197. ;mysqli.allow_local_infile = On  }9 P5 k1 V: s
  1198. . A* c2 t/ E6 m7 q0 ]9 j! x) J; F5 ]
  1199. ; Allow or prevent persistent links.
    + O2 ]% M# s% e- r0 h: p# q
  1200. ; http://php.net/mysqli.allow-persistent  B# ?, _: l6 Q1 o9 q# a8 _
  1201. mysqli.allow_persistent = On
    * n% T- M! O# e1 @5 v

  1202. 7 W& Q) o  m$ `2 x
  1203. ; Maximum number of links.  -1 means no limit./ U. w6 e  S) E& @% Z3 A
  1204. ; http://php.net/mysqli.max-links6 Y2 ^3 G4 a% C9 B. h, d% c
  1205. mysqli.max_links = -1
    ) R% s2 F! `5 b6 D: v1 Y" s4 x

  1206. $ l" k1 c1 }* \0 A; c8 {' G
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 c, s  k  d" y: x
  1208. ; http://php.net/mysqli.cache_size
      V4 U& L/ o7 ^- X" W' `: k
  1209. mysqli.cache_size = 2000* p$ b% d+ N6 e5 a, K

  1210. 5 }& v: ~- [; t
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use# B/ O, k; J3 u) o' E2 Z, P
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 `; H9 l; G+ u
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) [$ c" v$ L6 [9 x
  1214. ; at MYSQL_PORT.
    3 Y7 x* }' @; ^. S& D; J
  1215. ; http://php.net/mysqli.default-port6 G5 U& u$ J4 ~7 K8 X7 q( d+ F- j2 ^
  1216. mysqli.default_port = 3306
      P7 T8 L6 u" g

  1217. ( u1 c, O3 [% y: h0 s
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in( S3 Z" L- x9 b- V9 p; Z
  1219. ; MySQL defaults." y$ H1 H- j2 J+ E+ O6 w; b* V
  1220. ; http://php.net/mysqli.default-socket5 S: n- R. d& y/ T5 Z6 t6 E% A
  1221. mysqli.default_socket =2 h% }" R( C( t" t) W, r4 }

  1222. 9 v: C! E4 \6 x3 U; q* R& h# ]; A
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ W1 }2 ~' O3 A# J5 S8 z' o
  1224. ; http://php.net/mysqli.default-host
    " X1 i% m8 f- k9 ]
  1225. mysqli.default_host =( N$ K0 [0 Z2 O7 e# d
  1226. ; S. U( Y. ^# @; k6 s) H
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    / a# Z4 t8 V. s+ H$ G
  1228. ; http://php.net/mysqli.default-user
    # k8 k) L: p% o$ b! A
  1229. mysqli.default_user =3 ^  g+ {3 J9 u4 |3 _2 A. G

  1230. 0 g, C+ k) H* Y6 Z$ ^  Y
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    , k* x3 C6 Z/ n5 ?
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.( L  T1 Z( n+ p8 u# H; \9 [( C3 H
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    7 K) m( ?, L' `2 I5 }& t. O  h
  1234. ; and reveal this password!  And of course, any users with read access to this* k" `; Q3 _" W+ A) d
  1235. ; file will be able to reveal the password as well.
    5 \9 V! r* ]- P7 F' Q: P3 k0 X
  1236. ; http://php.net/mysqli.default-pw" N' [3 v1 A! F* h/ d3 D9 f4 R7 w
  1237. mysqli.default_pw =
    2 g" d, O, p" ?. k3 ~
  1238. ; T0 W6 m) h8 J6 _/ i
  1239. ; Allow or prevent reconnect& d+ {8 s% b; E8 O
  1240. mysqli.reconnect = Off
    3 S5 {! }: C% W; v% ~# Q
  1241. 2 `% q0 z0 T( Y$ R( G
  1242. [mysqlnd]
    / n" P: h2 w7 I4 M! H
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be: G5 K4 J1 ^/ y; x2 i
  1244. ; used to tune and monitor MySQL operations.. o4 T' j8 x6 q; j% x
  1245. ; http://php.net/mysqlnd.collect_statistics0 |- ^. @3 q4 U# y# d. r& I
  1246. mysqlnd.collect_statistics = On
    : k: R  n7 J/ t3 d+ V. @& r/ ^
  1247. * \7 I) U7 t! l& X
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be7 g) n( ~2 w+ i" G
  1249. ; used to tune and monitor MySQL operations.
    3 \7 a: q* u1 f/ N
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    % m' S4 U  U! s' M8 j' {3 K
  1251. mysqlnd.collect_memory_statistics = Off
    7 @% x- z; q" Y+ I

  1252. ' t9 \( n: b" u; z
  1253. ; Records communication from all extensions using mysqlnd to the specified log$ N9 S6 [8 V( K0 Q- _- y$ U' D
  1254. ; file.# h0 v8 ?( ]* ?8 p0 ]
  1255. ; http://php.net/mysqlnd.debug6 I4 e/ ~5 R1 q& E$ Y: S0 h: }
  1256. ;mysqlnd.debug =1 z6 Y, b1 S, T; _8 S

  1257. * u$ Z, H8 Z$ o& N# A
  1258. ; Defines which queries will be logged.
    : R% E6 |& C% x$ @
  1259. ; http://php.net/mysqlnd.log_mask5 Z, c7 R4 |) |/ C- H2 }8 O
  1260. ;mysqlnd.log_mask = 0; W1 `4 r1 P# C. e9 z

  1261. 9 {0 q. W$ V- I& `; C8 o" f
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    0 k' Q8 ?$ ^1 T
  1263. ; http://php.net/mysqlnd.mempool_default_size
    , r5 q1 i! _; Y
  1264. ;mysqlnd.mempool_default_size = 16000, X4 Z" z/ |9 I9 x- J
  1265. ! _' E2 |7 g" |+ [8 H
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: b8 x: \, j! h; U& a
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    % p' S1 u9 D0 S( L
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    1 Z% j; ?$ I7 ]+ x% J! e
  1269. * B* }* R! e1 H* |7 X0 c: l& [
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in8 Z& g( w! w5 S1 c8 I" v
  1271. ; bytes.% z9 d4 `0 L, }; h0 D% ^
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' B6 |! s/ a4 p9 Q- ~# P) L
  1273. ;mysqlnd.net_read_buffer_size = 327689 M  u0 M* F- l* g+ U- u6 t3 P
  1274. ; C$ ]7 K0 K1 p6 g2 l* _
  1275. ; Timeout for network requests in seconds.
    9 }' E* H; \9 H' |; l' v
  1276. ; http://php.net/mysqlnd.net_read_timeout
    9 j; ?& ^$ R  i3 v  ^- v# o. ^
  1277. ;mysqlnd.net_read_timeout = 31536000
    4 w% i: r: @% E9 `9 ]

  1278. $ I" W/ R* d9 V6 z% Z' w# u
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA0 Y% b. @' Q  R* Z+ Y+ R
  1280. ; key.5 m6 D3 z8 A/ k' Q! b0 W
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    , ^0 \8 b3 b# u, U) i: w
  1282. ;mysqlnd.sha256_server_public_key =
    2 C5 T; m) m' p) B
  1283. , f  M+ n  l4 w( t! `0 c
  1284. [OCI8]7 I* V1 _: M& U! i+ m9 b2 d5 o
  1285. 2 {! w0 _# \" Q; }" w4 W
  1286. ; Connection: Enables privileged connections using external
    8 I3 N# C5 u) E  Q: ^3 ^
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 j4 ~- ?1 a* f* w( x. \8 O
  1288. ; http://php.net/oci8.privileged-connect
    5 U1 T( T/ P2 w$ \, {$ }2 L
  1289. ;oci8.privileged_connect = Off
    ! ]0 Y; z0 k; s0 F3 t! i) d

  1290. " x4 V* \. J+ D" K9 I
  1291. ; Connection: The maximum number of persistent OCI8 connections per& E, c- F4 ?" j) ^
  1292. ; process. Using -1 means no limit.
    4 ]" h( A/ f2 K+ F5 |" w
  1293. ; http://php.net/oci8.max-persistent
    6 c: w) x8 R( j$ t# |" d4 p
  1294. ;oci8.max_persistent = -1
    % x) P( Z  Y9 l) U
  1295. 1 J: j6 |  G" s9 o2 R  a$ V
  1296. ; Connection: The maximum number of seconds a process is allowed to' C2 F& w( @  T2 K, N
  1297. ; maintain an idle persistent connection. Using -1 means idle
    # x7 Y3 ]. H( U$ n/ |
  1298. ; persistent connections will be maintained forever.. ], @' O- X. N$ I0 W: N$ S) ?- [" Z+ c
  1299. ; http://php.net/oci8.persistent-timeout
    # H; _/ K" `- c/ M8 F( S4 G* f
  1300. ;oci8.persistent_timeout = -1- x$ I$ K7 N* n( @
  1301. , b9 |% G# ]6 Z- f; z
  1302. ; Connection: The number of seconds that must pass before issuing a6 D  a) j, E, H* L5 |; {
  1303. ; ping during oci_pconnect() to check the connection validity. When0 S9 I" J% v6 c! l
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( |: m6 F$ x6 P! G: Z$ ^5 z
  1305. ; pings completely.
    . U! I! r1 k$ s/ d- D" |
  1306. ; http://php.net/oci8.ping-interval( o2 x: q9 m& z
  1307. ;oci8.ping_interval = 60
    " l; B: X/ t9 q  }7 R6 m- U- I

  1308. " {5 ]. O, C/ D& z3 j
  1309. ; Connection: Set this to a user chosen connection class to be used
    8 v# u6 C9 }- c0 z. x9 b
  1310. ; for all pooled server requests with Oracle 11g Database Resident1 F) h$ O, y; b, ~
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to9 a  _9 p7 }  J4 f* x8 u: p4 @# _7 L% }
  1312. ; the same string for all web servers running the same application,& [) y& a2 D2 ^. V; U! g" N
  1313. ; the database pool must be configured, and the connection string must: h- j' }9 s/ V" J8 T, w
  1314. ; specify to use a pooled server.6 R8 l; t2 \- I6 l# b/ x# l
  1315. ;oci8.connection_class =
    ; q. C1 {# i2 ]9 }

  1316. 1 K- |) T6 _6 k$ u
  1317. ; High Availability: Using On lets PHP receive Fast Application7 F2 z  X  }6 E' ]( d+ `
  1318. ; Notification (FAN) events generated when a database node fails. The/ ]5 }* S9 N. {+ }7 E9 P
  1319. ; database must also be configured to post FAN events.
    4 o1 Z% W1 |+ T5 j. P0 W
  1320. ;oci8.events = Off
    4 F: E4 m+ i1 O' _- [

  1321. / e. g' p0 n9 @9 H) L
  1322. ; Tuning: This option enables statement caching, and specifies how
    ; Z7 s- Q+ h0 b
  1323. ; many statements to cache. Using 0 disables statement caching.
    9 W8 [' }4 a/ x3 f9 j7 G
  1324. ; http://php.net/oci8.statement-cache-size4 A. I% ~" O4 q% c4 z
  1325. ;oci8.statement_cache_size = 20! n4 G" q( p& L2 H7 e

  1326. : X' s1 ]- r( P) p1 Y+ h6 M7 `
  1327. ; Tuning: Enables statement prefetching and sets the default number of. t( m* J* v( Z7 Y
  1328. ; rows that will be fetched automatically after statement execution.
    ) I# B8 w% g" p; P
  1329. ; http://php.net/oci8.default-prefetch# ]2 O. r- {5 s
  1330. ;oci8.default_prefetch = 100
    5 `( ]6 `! V( R: v

  1331. 1 `6 ^* E- H5 {0 r8 k1 t+ x
  1332. ; Compatibility. Using On means oci_close() will not close
    - F( q2 g  r& M5 ^( X6 @$ |" {. j
  1333. ; oci_connect() and oci_new_connect() connections.
    & s3 {6 g' m' X6 I
  1334. ; http://php.net/oci8.old-oci-close-semantics0 y2 A) a2 p2 p0 V+ V# {  v) e$ S
  1335. ;oci8.old_oci_close_semantics = Off% p7 [4 f/ B( S

  1336. 6 I8 X% [  Z' \1 T& q
  1337. [PostgreSQL]2 I& H0 ]/ |& Q8 V" m% b
  1338. ; Allow or prevent persistent links.
    - d  _# e% _- M) R% M( ~
  1339. ; http://php.net/pgsql.allow-persistent' b: H3 ^2 Q; c0 U8 Y+ g
  1340. pgsql.allow_persistent = On
    3 v! x. I* T, W" R  P* t7 D1 z

  1341. ; T. e3 N- ~  s+ [' [- ^
  1342. ; Detect broken persistent links always with pg_pconnect().; H  H/ o/ v& ?3 p
  1343. ; Auto reset feature requires a little overheads.
    4 n9 l* k8 F. d+ h. C
  1344. ; http://php.net/pgsql.auto-reset-persistent
      P2 L+ X' X5 ?
  1345. pgsql.auto_reset_persistent = Off* m7 s  }$ c! F5 \

  1346. ) P4 \9 |  U. D0 M4 C3 B3 a7 I& ^( k
  1347. ; Maximum number of persistent links.  -1 means no limit.
    " A1 Z. Z" {: F$ O) W! e8 X
  1348. ; http://php.net/pgsql.max-persistent
    ' A5 @* z/ X( X+ M+ h
  1349. pgsql.max_persistent = -1
    - \& A+ z5 ^5 L. _& [
  1350. ) O% d8 e5 W1 z$ }
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% }. C/ j* p) L  M8 j
  1352. ; http://php.net/pgsql.max-links
    4 _- v* y" g: b4 ?
  1353. pgsql.max_links = -1
    5 c9 [) \/ u9 X8 L- r. Q2 v5 w

  1354. 9 v% F5 [- z9 d
  1355. ; Ignore PostgreSQL backends Notice message or not.( m3 a4 t" c, o
  1356. ; Notice message logging require a little overheads.
    7 t$ R4 d$ w+ V; l
  1357. ; http://php.net/pgsql.ignore-notice; `1 y$ x6 U6 |3 R7 Z: V; i
  1358. pgsql.ignore_notice = 0
    - S- d  ]1 ]; Y+ N  t2 S; v
  1359. 4 I: |* N8 w* F% H2 w
  1360. ; Log PostgreSQL backends Notice message or not.
    + u) I3 z( m9 R
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message." ?- `: Q6 s1 o1 W
  1362. ; http://php.net/pgsql.log-notice& g. G' |0 A( {
  1363. pgsql.log_notice = 0
    ' l8 k) u( [, o7 a( V

  1364. , N. c" y* {% N+ _0 d
  1365. [Sybase-CT]
    9 h( x/ s0 s1 {/ L9 k$ m- ^
  1366. ; Allow or prevent persistent links.
    ' j% g7 L% q0 A4 a) A/ [, E3 c+ @
  1367. ; http://php.net/sybct.allow-persistent
    * S$ i9 @+ ]2 p( N+ u
  1368. sybct.allow_persistent = On
    ( Q/ W. U1 r  R& T# i: O

  1369. 4 T+ m& i8 Y, U8 f: ]
  1370. ; Maximum number of persistent links.  -1 means no limit.. t, }  z9 {( C' G
  1371. ; http://php.net/sybct.max-persistent: q3 u% V7 l0 X& S  `' G
  1372. sybct.max_persistent = -18 D3 e" h' A8 M& u

  1373. ; |6 r" j3 H3 {! |
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; Q0 O5 o0 H8 R. W; S5 F
  1375. ; http://php.net/sybct.max-links4 r- ^+ P0 T. c# n% c' e% N2 n
  1376. sybct.max_links = -1
    ' |0 U3 i/ d" ]& u! u# H

  1377. ! @& T( G4 D$ Q, _$ z+ v6 Q
  1378. ; Minimum server message severity to display.
    3 E; N$ ?" h5 N3 z1 C: t
  1379. ; http://php.net/sybct.min-server-severity. _" m& r+ ]' ]3 W, r
  1380. sybct.min_server_severity = 10
    2 o) S/ h# k" A# _" Y0 x
  1381. ) v% S' d- z: M7 `( s# P* F
  1382. ; Minimum client message severity to display.
    # N$ {' Y1 g9 P" o) K7 a
  1383. ; http://php.net/sybct.min-client-severity
    ' q$ h8 h  w4 P$ n0 c, d
  1384. sybct.min_client_severity = 10) C" }2 V( y! E8 b4 g/ m# q
  1385. * ]2 @' x' A+ b# p$ H" J
  1386. ; Set per-context timeout
    0 K4 s- j4 J, K9 p$ c% k6 k
  1387. ; http://php.net/sybct.timeout+ Y# @2 z8 z6 \
  1388. ;sybct.timeout=8 ^  H, g/ [8 g& Q

  1389. 9 w* v  G5 I' U+ Q
  1390. ;sybct.packet_size( c0 Y, i$ J! d/ F

  1391. " f& G2 k" z) s! h
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.- D: J3 b$ P- S* S5 U
  1393. ; Default: one minute0 h" P7 Y9 B! w4 e6 D& R
  1394. ;sybct.login_timeout=
    5 H) |8 F- z. S. U# G  s& y
  1395. . F' U4 M: \5 P) b+ @" H
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    $ R* [$ `# I! R/ X
  1397. ; Default: none( W: ?/ n/ ]1 I# ], J; E! i. [
  1398. ;sybct.hostname=
    ( F; h7 a( _- W# C, a

  1399. : b) x8 G& d" a1 W
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ! X- \% ?6 C7 n5 _7 `- W
  1401. ; Default: 0! |9 I8 I5 v: b1 t* d' I3 n2 d& M$ O8 _
  1402. ;sybct.deadlock_retry_count=
    ) k+ j3 s2 G* k7 p' h

  1403. ; {, c2 v, ?" U
  1404. [bcmath]
    # i  u5 A8 ?7 q: I9 x' ^9 f! c
  1405. ; Number of decimal digits for all bcmath functions.% H" _: v7 T9 c0 a; C0 Q
  1406. ; http://php.net/bcmath.scale% ]" G& Z/ S* P3 o% e& u! X
  1407. bcmath.scale = 0
    3 n0 N* r' E* ]; v3 {9 t2 l9 ^

  1408. ' v! e$ D  K* o# [
  1409. [browscap]
    * z" ^! X$ Z8 |& e( T  f2 v1 M
  1410. ; http://php.net/browscap
    3 T  q3 J, J( p) z
  1411. ;browscap = extra/browscap.ini8 G1 d. L% g4 |$ o& `0 x3 Z; {$ K
  1412. ! o. B/ w; Q) o/ ^/ E
  1413. [Session]
    / N! M0 L2 j2 ?6 V3 ?) ~
  1414. ; Handler used to store/retrieve data.1 [' k4 V: @6 I& u' [! o
  1415. ; http://php.net/session.save-handler1 l" F% _6 C. Q. y, ~
  1416. session.save_handler = files: W( w# U* Z* A* n+ z
  1417. , }" }) U, o' ~- U0 Z4 d
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
      e' z  M" z, h* o( H0 b: u: i
  1419. ; where data files are stored. Note: Windows users have to change this( [; K  y# q5 @. n0 d$ Z7 L! s
  1420. ; variable in order to use PHP's session functions.2 T( N$ g5 J4 I  S' }5 x3 R( |
  1421. ;& z* O6 D, u4 I1 |( n
  1422. ; The path can be defined as:; R1 ~" ~+ ]1 `  ?/ W! r# O0 X! g; x8 w
  1423. ;
    ; z' u8 i( O3 L; b' Q' \
  1424. ;     session.save_path = "N;/path"- u( J4 m/ W2 A4 H8 X4 d, ?
  1425. ;. p! u% _+ _, h! q! P0 ?5 {
  1426. ; where N is an integer.  Instead of storing all the session files in  Z. a% R2 j! L9 V, v, H9 m
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    , p6 _. b0 J1 e# j& o; r
  1428. ; store the session data in those directories.  This is useful if
    ' J! s9 l( H, L; x$ F- P) Z( G8 q% C
  1429. ; your OS has problems with many files in one directory, and is
    , j7 R  \5 L2 J$ z; j6 b
  1430. ; a more efficient layout for servers that handle many sessions.
    3 s2 C* _- v* X$ t* w. a: _
  1431. ;
    9 t. ^- w" B4 ~$ T5 m
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ) D- T7 L  b9 x) H) H" [+ O3 D& c5 \
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ' M6 h+ Z9 a: q/ c
  1434. ; NOTE 2: See the section on garbage collection below if you choose to( b! P) k$ Q4 q9 \! i/ i
  1435. ;         use subdirectories for session storage+ k% @* A; P4 S; y9 O9 \0 X! v& c& n
  1436. ;- _6 `' e# {# O0 i: O0 g
  1437. ; The file storage module creates files using mode 600 by default.
    " C  }+ {7 A: _; ^9 R$ v* Z
  1438. ; You can change that by using
    $ K8 J1 a7 Y: _6 C# J. H: s
  1439. ;
    ' V6 N0 a* n8 ?1 F( M
  1440. ;     session.save_path = "N;MODE;/path"
    - L, ], M5 N$ M& c& a- x
  1441. ;. K- n6 p* @$ b' b; [  D5 f* {
  1442. ; where MODE is the octal representation of the mode. Note that this
    7 T( @* B# E% T2 u: V! Q# r
  1443. ; does not overwrite the process's umask.: A; d* h5 ~3 z8 ~9 f% X- h5 K7 C
  1444. ; http://php.net/session.save-path9 D/ O4 }, ~7 z
  1445. ;session.save_path = "/tmp"
    4 K, Z5 }: d: W& W& J

  1446. 7 a7 \% R( `7 @" c$ [8 |
  1447. ; Whether to use strict session mode.  F& j! O4 Y; ~+ z9 k: I
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate* `7 p5 [* e! ?/ d7 W. {
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ( \! r; M3 s& F( [1 W
  1450. ; applications from session fixation via session adoption vulnerability. It is
    " u9 R2 g9 o, h' k
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    - V! O5 E" r8 W! U/ X/ T) D
  1452. ; https://wiki.php.net/rfc/strict_sessions
    " d; s" U: P0 W. |3 W
  1453. session.use_strict_mode = 0
    ; o+ ~% I: B1 j/ d

  1454. 7 T# o* \! q: m
  1455. ; Whether to use cookies.
    + s( ^- v' y" r
  1456. ; http://php.net/session.use-cookies
    ' T. g* W, X  Q, ~4 q2 l: R
  1457. session.use_cookies = 1) V1 @" }8 V3 V1 i! G

  1458. ( T  b7 V) r- ^% q
  1459. ; http://php.net/session.cookie-secure
    * i" ?: ~0 p1 ~+ |. |
  1460. ;session.cookie_secure =
    : C  ?# _% k2 x. ~1 j5 w: T- P8 v. b
  1461. & a1 @+ r& Y7 O4 ~+ o
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining) p% L7 n1 R4 y) M
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    , Z( y& G6 l2 |9 j. D2 {
  1464. ; session hijacking when not specifying and managing your own session id. It is
    4 K! m- R9 U8 ^
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.7 M$ H/ w1 L2 G4 o. S7 p3 T
  1466. ; http://php.net/session.use-only-cookies
    ( W2 g( x  e: ^2 _7 e# v
  1467. session.use_only_cookies = 1: L/ \6 g4 x' @' u
  1468. . X; }. t/ Y; `, V' M$ q* d
  1469. ; Name of the session (used as cookie name)., J# D& {4 j- c/ v$ M
  1470. ; http://php.net/session.name
    6 T0 P  P# v9 B& X5 K( v
  1471. session.name = PHPSESSID7 U* |4 k" W7 g& ]1 @; M7 B- g+ v$ I* |

  1472. 9 G# D7 Q3 W7 u
  1473. ; Initialize session on request startup.
    5 S/ |, R( [* B3 w6 d4 P- y, y
  1474. ; http://php.net/session.auto-start
    & {0 U- f4 D- L
  1475. session.auto_start = 0
    % S% s# H! s( K& G2 v
  1476. 2 [' G. L" m: U9 L
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    / L% f& C6 l- {& h" K/ R
  1478. ; http://php.net/session.cookie-lifetime4 x2 E8 e/ S& w$ a) h1 L3 X5 ?
  1479. session.cookie_lifetime = 09 Q$ Y9 Y% q$ N. N- C" W

  1480. ( v2 E0 O& R' M/ U5 P8 j" J
  1481. ; The path for which the cookie is valid.4 ]3 H+ h  F, {$ Z  b
  1482. ; http://php.net/session.cookie-path
    ) c9 b" a- J& Q
  1483. session.cookie_path = /% p- X, f! b/ R# \, L! u7 Z$ b
  1484. . ?: l  G6 {( ]% Z
  1485. ; The domain for which the cookie is valid.- J, b; @1 @6 d
  1486. ; http://php.net/session.cookie-domain
    5 S4 l8 B; w: F" m( g/ H1 x
  1487. session.cookie_domain =
    : ^  b- M# d9 w

  1488. 2 C9 t& |0 H! B! R: h, j
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.6 b9 }3 U# z+ K+ t" G6 o: \
  1490. ; http://php.net/session.cookie-httponly
    ) r1 \, M1 i: a! Q6 j; s8 L9 l
  1491. session.cookie_httponly =0 S4 e* i( {0 i( ?! c- M9 W! t2 J
  1492. ' k' O# @  G  d( ?/ J: h
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    " m8 [8 r7 R" Z( V; x
  1494. ; http://php.net/session.serialize-handler9 ~6 s& n2 b+ M1 W, n
  1495. session.serialize_handler = php  i  |* A% q6 W. Z4 }% ]4 v

  1496. 3 g! j( ^! L) p9 g/ F- S
  1497. ; Defines the probability that the 'garbage collection' process is started
    " K& T5 U6 u) U/ g) H/ Z
  1498. ; on every session initialization. The probability is calculated by using
    . _; J" z. @0 J! T
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    9 f# w, B  ]& @- D+ t6 S5 e2 A. P+ ~
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( J! d! `0 {9 i5 l- o4 a# e* z
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. `' A. P0 O# ^; C) W
  1502. ; the gc will run on any give request.* n: d& S2 Y1 S
  1503. ; Default Value: 15 }# O" A7 g0 E/ _
  1504. ; Development Value: 1
    0 }4 V  L. u; q/ z$ ~* R
  1505. ; Production Value: 1) p' Z* |; b1 Z& |! D3 T7 j5 j" y. Y
  1506. ; http://php.net/session.gc-probability& E7 b2 F, e. Y4 }5 M- t
  1507. session.gc_probability = 1
    $ }3 O+ r% l" v/ S3 y, g( s
  1508. ' m1 N% A! P2 `1 L- D) }& r' {
  1509. ; Defines the probability that the 'garbage collection' process is started on every3 v- A; L; l: O" i- w6 \
  1510. ; session initialization. The probability is calculated by using the following equation:
    ( \" r6 X9 s7 M9 G5 H
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    7 ^( G2 D: u7 g% V0 {
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    3 Y7 u" ^% m6 V1 ]2 M
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : V% _* ~  M: p7 e
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you* }+ M0 ]! B/ |6 u$ L; S) V' e
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,8 ?6 H  K& b; W. x
  1516. ; this is a more efficient approach.
    " i( c2 U" P" P" e
  1517. ; Default Value: 100
    2 D- [4 k/ V( k5 Q7 G0 s
  1518. ; Development Value: 1000( x! H3 R+ P6 H# [
  1519. ; Production Value: 10009 P7 Y. P9 L: Y8 X) ?
  1520. ; http://php.net/session.gc-divisor
    ; H; }+ |5 r3 I: B) F
  1521. session.gc_divisor = 10004 t8 a; N! ^2 `- j% F
  1522. # G/ j* i) g/ L+ g* A; ~
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and5 X3 Z4 v3 }0 E% C
  1524. ; cleaned up by the garbage collection process.: f: K$ d% c$ h7 p
  1525. ; http://php.net/session.gc-maxlifetime
    + R, }0 L, `: j# e& `4 J, ]2 H" ^
  1526. session.gc_maxlifetime = 1440
    , }" G* Q  Y0 L3 U5 z

  1527. 4 q" C9 U; _+ ~) z1 t
  1528. ; NOTE: If you are using the subdirectory option for storing session files8 K7 ^+ _) J9 r4 Y( D1 U  K
  1529. ;       (see session.save_path above), then garbage collection does *not*+ \0 x; R, W! s: I  }
  1530. ;       happen automatically.  You will need to do your own garbage
    7 Z" I2 Q! k% |- Q3 c
  1531. ;       collection through a shell script, cron entry, or some other method.
    / ^. i+ ^* ]6 P9 k% g
  1532. ;       For example, the following script would is the equivalent of
    . k; G2 z! a3 b' J, y" [
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    3 Z3 _. C* [7 w6 o5 |9 {3 Q
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm, c3 N4 c9 n* p: W6 f# z

  1535. 5 K; U; |8 U- z. l
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.' R- D! E: y1 X9 d  \% r1 R
  1537. ; HTTP_REFERER has to contain this substring for the session to be1 m+ i9 ~( t- `
  1538. ; considered as valid.$ s# k" Z' w+ @$ ~4 q5 H
  1539. ; http://php.net/session.referer-check
    ( c  l' }2 V* v5 ]
  1540. session.referer_check =
    . z% k$ ]3 `4 _$ @$ ?; d8 W
  1541. 8 j6 G+ E$ E  Z  W# c$ V
  1542. ; How many bytes to read from the file.( Z- Y+ R: S& B( q
  1543. ; http://php.net/session.entropy-length/ p) ^( U, V  H1 A: j$ u
  1544. ;session.entropy_length = 32
      K. Q5 B9 q) n$ e' \- {

  1545. " o3 ^; f+ q1 w* H, W1 L, c0 `
  1546. ; Specified here to create the session id.
    & Y' X- Z/ f+ `# v* W( h$ }$ _
  1547. ; http://php.net/session.entropy-file
    % k4 u/ C7 r: r7 M, g' b# y
  1548. ; Defaults to /dev/urandom
    % W0 U# P. N4 P. @
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    : M) |: o% N# @5 v" Z4 S/ ]: j
  1550. ; If neither are found at compile time, the default is no entropy file.
    4 u: v: y; t( D. K- H( X
  1551. ; On windows, setting the entropy_length setting will activate the
    9 q4 x8 q8 D7 q& K# L) Y
  1552. ; Windows random source (using the CryptoAPI)) }: S- l6 J; e
  1553. ;session.entropy_file = /dev/urandom
    7 l- g, i. f6 D1 L# x' T9 |& y" Q0 y
  1554. ( z8 P' l) `( x6 u
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    0 u5 I& A, O8 l+ N4 E# z
  1556. ; or leave this empty to avoid sending anti-caching headers./ k, B: J0 m& N+ u: O% h/ |7 W
  1557. ; http://php.net/session.cache-limiter0 p0 n5 _: e7 O# R( ~' G; \( z9 @
  1558. session.cache_limiter = nocache& q* v9 c! E( E: Y5 T5 n

  1559. # ~1 y$ a& ^, Q& [2 X( ^
  1560. ; Document expires after n minutes.
    / T  m, o* y5 Y; q) Q
  1561. ; http://php.net/session.cache-expire
      }9 l; p/ d, z: ~0 y- t6 m$ F
  1562. session.cache_expire = 180
    7 I  g' [: L" I& k
  1563. 3 A# G; M/ ^$ f2 r6 d+ M' \) K
  1564. ; trans sid support is disabled by default.
    + P5 P% z% Y/ p0 {; q' q$ y
  1565. ; Use of trans sid may risk your users' security.. J% l5 L7 b) j! p: M5 [
  1566. ; Use this option with caution.
    " Y( Q; m' A3 m/ k5 o
  1567. ; - User may send URL contains active session ID% [/ x8 l' k- [2 @
  1568. ;   to other person via. email/irc/etc.- ^; D7 d( D* O3 y
  1569. ; - URL that contains active session ID may be stored
    2 \7 V6 p' {% e/ B1 ~5 _
  1570. ;   in publicly accessible computer.1 i. N4 Y# {" \" i
  1571. ; - User may access your site with the same session ID& _% i' V; J8 P9 ~6 H
  1572. ;   always using URL stored in browser's history or bookmarks.
    ) c8 g/ q- x" I8 L
  1573. ; http://php.net/session.use-trans-sid
    4 I3 C/ z( q" L8 F0 h$ a0 @
  1574. session.use_trans_sid = 0. T' g3 L1 l1 z$ C. z& ~0 Y1 D
  1575. 8 x: y$ k7 U1 K
  1576. ; Select a hash function for use in generating session ids.
    , M- `. ~8 [2 w$ O
  1577. ; Possible Values
    ; r8 p6 H5 I  Q  Z, Z, G
  1578. ;   0  (MD5 128 bits)! A/ M- L, F; Y9 c6 {, q3 O
  1579. ;   1  (SHA-1 160 bits)5 ^) _0 l6 e: x/ ~: X
  1580. ; This option may also be set to the name of any hash function supported by$ P; o/ G9 E5 M% @- I
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ; U; i- w2 Q& g, i" M* x
  1582. ; function.0 R& t& Q! K+ a' W
  1583. ; http://php.net/session.hash-function( M5 |% ?5 P+ ?& i+ j2 p6 O$ j
  1584. session.hash_function = 0
    " M$ Q9 s+ [$ d  l; g. U$ }0 G
  1585. ( O+ V4 C) s" c7 V! E" I5 M( O% i
  1586. ; Define how many bits are stored in each character when converting
    # ~  K5 {/ s" i& Y
  1587. ; the binary hash data to something readable.( ~6 b/ `% o) L! I
  1588. ; Possible values:5 B" ^5 K( z% t. i. y% p( B
  1589. ;   4  (4 bits: 0-9, a-f)
    1 p, h5 l8 ^5 b3 a# b- ?, S2 P
  1590. ;   5  (5 bits: 0-9, a-v)  n7 m% C" q. {$ E+ ?: w
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")9 j/ @: R5 Q- r. O5 C
  1592. ; Default Value: 4, B$ F/ S. [7 o7 F/ N+ `
  1593. ; Development Value: 5# M4 u# Z' U; t9 R2 ^: a
  1594. ; Production Value: 5
    - o( W+ L8 C. ]; e* [% ?# k5 _
  1595. ; http://php.net/session.hash-bits-per-character
    ' n: M* U% s5 ^# Z% G
  1596. session.hash_bits_per_character = 5) u/ d, r. y. G
  1597. 0 j0 J" V/ w3 E+ P2 P
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags." {* L+ W; S( }
  1599. ; form/fieldset are special; if you include them here, the rewriter will- I: c& X6 f& w5 m
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ' P) P  ~  i$ ~# g
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.5 Q7 B! k: x1 W0 [6 T6 A* J; c
  1602. ; Note that all valid entries require a "=", even if no value follows.
    # e9 E4 C; l: U- b5 w  w& b# v: j
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; d/ l# V! j6 b- g6 u, j
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", }8 r2 S- U& d8 e- n
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( _% a& s) w0 j6 f& U
  1606. ; http://php.net/url-rewriter.tags
    1 D+ U2 d* K; Z9 G" w% d
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". P5 ^9 v# M6 [1 f- V

  1608. * v; w5 a1 B' I1 U" M( ~
  1609. ; Enable upload progress tracking in $_SESSION8 x/ m  h5 C0 L- Y$ M6 y: F
  1610. ; Default Value: On/ M/ B$ V/ V' @
  1611. ; Development Value: On( A+ q) s; y3 Y; P
  1612. ; Production Value: On
    ! m% u$ X( [. ]  A+ F1 c: I
  1613. ; http://php.net/session.upload-progress.enabled
    % X6 M% w' M/ l( K( a6 o8 q  c' q
  1614. ;session.upload_progress.enabled = On
    ' N5 ~  P4 C* h7 v

  1615. ) L' q# l. d4 J' k2 \
  1616. ; Cleanup the progress information as soon as all POST data has been read, _, x  W! x' w2 M* s% \
  1617. ; (i.e. upload completed).
    7 c. R  ~9 X7 |
  1618. ; Default Value: On
    7 N1 ]  D& X& N1 t6 M. I; x; a
  1619. ; Development Value: On
    2 B; \  J( f. w+ ]! B4 L8 t
  1620. ; Production Value: On
    5 S: i2 Q7 j- I
  1621. ; http://php.net/session.upload-progress.cleanup
    4 R) W0 O/ R! x( l* R) e) ?
  1622. ;session.upload_progress.cleanup = On
    # \6 P- H- x( {. w% b! u& f

  1623. ; L5 [' y5 X8 n* P" w8 y3 ?# F8 V
  1624. ; A prefix used for the upload progress key in $_SESSION  B) T' ^* Q( n7 Q
  1625. ; Default Value: "upload_progress_", U' _+ h, d4 n3 Y' I
  1626. ; Development Value: "upload_progress_"* e: C2 ]" v8 s$ _
  1627. ; Production Value: "upload_progress_"8 C7 O7 R8 y6 q+ F+ R
  1628. ; http://php.net/session.upload-progress.prefix) C) r) k* b8 w& r  k$ R  e
  1629. ;session.upload_progress.prefix = "upload_progress_"- F2 N0 ]5 i- q# U" i
  1630. 2 [! V" n' R) Y; I7 ?. Z' r. r
  1631. ; The index name (concatenated with the prefix) in $_SESSION- y! {3 H, F% M$ W8 o
  1632. ; containing the upload progress information
    6 t& k5 m1 x9 E! N3 ^5 {
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 d# G8 [4 r- W
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"$ T/ a; e/ L3 T
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
      j- B: v( n% G0 H, V' O
  1636. ; http://php.net/session.upload-progress.name- ^: B' h$ K& \# r: j
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    0 F; w: ]7 o& y+ i9 z0 p& \

  1638.   u2 _$ q/ I4 ?4 M1 Z, t/ X+ l
  1639. ; How frequently the upload progress should be updated., \; e+ S  |/ R4 r: u
  1640. ; Given either in percentages (per-file), or in bytes
    2 c( |) x9 k: x* l4 `
  1641. ; Default Value: "1%"* Y- Z9 d/ l' E4 `) G4 `$ X6 E& r- k
  1642. ; Development Value: "1%"0 n3 F" E3 T# F$ `
  1643. ; Production Value: "1%"5 ~7 D" U0 N! |& J  S0 E
  1644. ; http://php.net/session.upload-progress.freq. C- d3 ^' Y' W- U, H7 H! G
  1645. ;session.upload_progress.freq =  "1%"
    3 o7 ^4 Y! r8 E! B8 |

  1646. 5 `( K- w$ q! j* s, f3 F2 j
  1647. ; The minimum delay between updates, in seconds
    . i# m0 f( V- g& {  C  x9 d7 ]
  1648. ; Default Value: 12 D% x, Y* x' K& b- F
  1649. ; Development Value: 1; j  r) \8 i" u
  1650. ; Production Value: 1# g0 F' ~( v3 |+ e* y6 g: |6 y
  1651. ; http://php.net/session.upload-progress.min-freq
    " B0 H1 U. V: \9 `
  1652. ;session.upload_progress.min_freq = "1"4 S% }' D7 Q8 ]* n. Q

  1653. 9 T1 i: W; ]5 p4 a1 @! g$ S
  1654. [MSSQL]' Z% C5 I  u# X; |+ \  [* }
  1655. ; Allow or prevent persistent links.
    , B* a" \1 k% Q6 k0 o
  1656. mssql.allow_persistent = On! W; @4 x; ]: \) X5 l1 m

  1657. 4 F) [' Q* D. G, Q, R$ F/ w% B7 j
  1658. ; Maximum number of persistent links.  -1 means no limit.
    6 l, R5 K% O- b. H- G* J
  1659. mssql.max_persistent = -1
    9 [8 a" s1 y5 M0 i" d( Q

  1660. 5 m1 D2 V: z' F
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) h& ^8 n& D/ k/ P
  1662. mssql.max_links = -1% a6 `! ?- J. p6 O4 G1 r7 d8 |2 P

  1663. & c5 V+ t4 c9 T+ d% `# O
  1664. ; Minimum error severity to display.. V4 i$ O# f4 Q' ?: j: E$ ^2 w
  1665. mssql.min_error_severity = 10
    7 I! Y$ h4 j( T6 k# L, ?, s
  1666. . \, I9 o' f! Q* {7 I* E. l
  1667. ; Minimum message severity to display.4 C  O; S( U5 c. d# c7 j7 N
  1668. mssql.min_message_severity = 10
    . P5 g0 m3 F4 J3 \5 K
  1669. / S) j0 p9 Y4 E+ P0 e3 H
  1670. ; Compatibility mode with old versions of PHP 3.0.. y, X, z2 U& n  D5 s
  1671. mssql.compatibility_mode = Off
    ; ~5 D4 B2 X* [. ^

  1672. 3 r9 K8 l0 L4 I0 E3 N
  1673. ; Connect timeout
    + z0 u4 g" x6 v# g( ^* ?( n
  1674. ;mssql.connect_timeout = 5
    ) T) a$ X9 \/ d) @6 W# `
  1675. ! a* }2 v7 c$ L
  1676. ; Query timeout# i* ^, o4 {: L: A6 p9 d# e/ ^
  1677. ;mssql.timeout = 60
    . i* q2 w& S9 X5 {. t4 i8 R

  1678. 8 ?  [4 f' I8 c* a% |  c6 G9 t" A/ l
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ( ]' H- r) O# a
  1680. ;mssql.textlimit = 4096
    ( n4 {: Q* L+ {5 I
  1681. 6 o7 l3 B7 k/ d* |4 b3 G+ c
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- f  a) }2 \+ G% ^) w# o, h: p
  1683. ;mssql.textsize = 4096
    $ p- f' Z: h  S6 M

  1684. # D: }4 _2 }3 W
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    3 a9 w# I, |4 h' W% K
  1686. ;mssql.batchsize = 0
    4 q2 Z& I( r; }- ~' `; y

  1687.   }* @0 w6 R+ @6 \9 d8 v/ w
  1688. ; Specify how datetime and datetim4 columns are returned
    4 U; G7 i8 k- P. q9 ^0 E! o( r# R
  1689. ; On => Returns data converted to SQL server settings
    + d- H% L$ U: h1 _4 h( o' I
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    * T% Q% C( X4 T* R# b
  1691. ;mssql.datetimeconvert = On
    & V- {, ?( I2 n2 H) ^

  1692. 4 _; T+ Z7 @8 Y, }6 T* [+ }1 u
  1693. ; Use NT authentication when connecting to the server
    7 d% O' K! q! c3 {
  1694. mssql.secure_connection = Off
    " w4 G9 U( l3 t2 F9 a( l4 N5 d, @7 d  L
  1695. + g: p( v3 f7 j* ]
  1696. ; Specify max number of processes. -1 = library default
      h, \( D' G8 J( w
  1697. ; msdlib defaults to 25
    # S) ^# d/ `0 V/ v
  1698. ; FreeTDS defaults to 40961 O6 i& \( D% w5 H* E
  1699. ;mssql.max_procs = -1" @4 A4 F6 i! r- n/ t( g. v4 _

  1700. $ ~: {2 ~3 q# B  m. S2 X$ A
  1701. ; Specify client character set.- O6 [8 Y  {! L' N7 l
  1702. ; If empty or not set the client charset from freetds.conf is used
    + x7 `6 [6 `3 R2 K3 E# H
  1703. ; This is only used when compiled with FreeTDS. f2 t  b4 X4 u" M3 j6 U# _( X. J
  1704. ;mssql.charset = "ISO-8859-1"& z7 c* W- }# O/ G6 @

  1705. + b3 _4 _, N5 N" B5 z) x* w
  1706. [Assertion], o5 R" R8 o$ ]& @* M
  1707. ; Assert(expr); active by default.
    2 t% g, G8 J+ o0 a3 m8 _. x1 g: S
  1708. ; http://php.net/assert.active" W: j! i  V$ x: ]; Z- T
  1709. ;assert.active = On
    / U# _1 T+ h9 o& d

  1710. * p  u: u/ B* V: G8 M# h
  1711. ; Issue a PHP warning for each failed assertion.2 w; B: P$ k0 S; e2 Q- p
  1712. ; http://php.net/assert.warning
    8 N. N+ S5 c5 q4 z8 N
  1713. ;assert.warning = On( ?' Q7 @* c1 n
  1714. ! _2 N) T$ x; ?7 t
  1715. ; Don't bail out by default.
    0 q& d) p/ E! B& H( K$ |; `
  1716. ; http://php.net/assert.bail
    2 _! p# M8 k( r2 F
  1717. ;assert.bail = Off
      t3 R/ x' l. p4 t2 ]4 S7 u7 E( U

  1718. ( j/ r/ e6 d% q" g& ]- k. L
  1719. ; User-function to be called if an assertion fails.! K4 z- k# B4 K$ n/ w% z- O
  1720. ; http://php.net/assert.callback
    % {7 h1 c! f9 t8 ~8 h5 R
  1721. ;assert.callback = 0
    " S1 ?9 u) g$ g& a7 x( x9 B
  1722. / J/ l6 k; z0 p( y
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    & P8 Z" T8 ^. r
  1724. ; error_reporting(0) around the eval().1 Z1 t  s& o: x# s% A
  1725. ; http://php.net/assert.quiet-eval
    ) l( D0 @' f8 u! {" a- m
  1726. ;assert.quiet_eval = 09 b1 u- \0 u" Y1 D" _; I

  1727. * ?+ c$ `, n8 e& s+ z' o
  1728. [COM]% S! H* Y0 M) P& g
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    * T, `  s8 q8 F6 b+ A% N7 ^) E4 e0 w
  1730. ; http://php.net/com.typelib-file) z: U" L  y; s
  1731. ;com.typelib_file =0 H+ E' d# t, x1 n1 t5 z, w, {

  1732. 6 ]% ]7 n2 ^7 w. w
  1733. ; allow Distributed-COM calls
    2 W# D4 o1 S. t
  1734. ; http://php.net/com.allow-dcom
    # H6 S6 p* H5 b4 Z; S5 y* u
  1735. ;com.allow_dcom = true' s4 m- C3 o7 q+ T

  1736. * J+ k. [+ P( X( e1 C1 j; O, |
  1737. ; autoregister constants of a components typlib on com_load()
    1 [# Q5 g1 _2 ?( ^. j- }
  1738. ; http://php.net/com.autoregister-typelib
    / P$ k* L% V# d8 n: h: e8 _4 j/ x2 D
  1739. ;com.autoregister_typelib = true5 }( P. |5 P, |# z  C7 g% x

  1740.   |/ u& w: s& a; N
  1741. ; register constants casesensitive/ c% X: k2 x, [) U' r
  1742. ; http://php.net/com.autoregister-casesensitive
    / e5 j2 G+ K1 R% U. k, J& C  I+ H
  1743. ;com.autoregister_casesensitive = false+ H# k: x/ t. E, b+ {2 `$ s% f

  1744. 4 ]( e# f9 t. U
  1745. ; show warnings on duplicate constant registrations4 |9 ~' y* T& e0 ~* l& r
  1746. ; http://php.net/com.autoregister-verbose7 l& j" ~5 _' o1 Q9 E
  1747. ;com.autoregister_verbose = true
    / X) v6 c# R( r

  1748. & ~2 b$ I+ M1 a8 _: K$ Y& v
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    1 ~: b7 y& w, R; Z0 @2 C; C8 Q0 [
  1750. ; Default: system ANSI code page
    3 T0 r* I; d' s& B( L3 q% h6 z
  1751. ;com.code_page=
    , [( q9 `: ]  X  N- D+ u
  1752. 6 d$ l) c- o0 [0 P
  1753. [mbstring]
    * N4 q9 U4 g+ a! c
  1754. ; language for internal character representation.0 r8 ^! }/ N/ R- w2 N9 P+ k
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    - l4 z, `% z+ E
  1756. ; http://php.net/mbstring.language( b/ c3 A- t, D/ W
  1757. ;mbstring.language = Japanese
    8 D  v1 @/ w1 P; ]2 r, [
  1758. ; Z# d; |1 _# V3 V' }* i. `& Y! x. P
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 g9 _' A3 B: y7 Z$ }; a
  1760. ; internal/script encoding.1 v- B/ r  {9 r. z8 z# W6 }$ ^  Q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- R# a; V7 o" z" \2 Y7 y$ ?
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. n8 V3 ], {9 l* M- Q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% v7 G# }/ [+ [+ s6 V
  1764. ;mbstring.internal_encoding =
    6 H) F0 Q( B; V5 Z
  1765. ( o; {: j. R0 x/ N" _' i
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead./ V" C$ l- R& }  ^# w( i
  1767. ; http input encoding.9 e' K" M/ l0 @- a% E0 o- e
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.. @4 {8 q: v7 e( Y; J5 P
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ) r+ T5 ]: ^6 D4 K! e" r3 J- ]: x
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input' u. O6 V; n- R( i8 D
  1771. ; http://php.net/mbstring.http-input$ o# E; c) t8 m& u; [
  1772. ;mbstring.http_input =
    2 w4 Q6 y. G! O6 ]1 `: j
  1773. 1 H3 ~" V/ `0 m9 w
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.; Y( M/ A& b; q
  1775. ; http output encoding.
    , M2 T1 x+ K8 {) k% s
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 R: _. }- e% x
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.9 G" ^4 e. r; c3 y5 X
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    : Z1 V+ p; \- y7 n) r! S
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    8 r2 U: i4 ?0 c7 |1 {# Z2 _' N; E
  1780. ; otherwise output encoding conversion cannot be performed.
    ( }5 c, r, ]$ J  i& h  M
  1781. ; http://php.net/mbstring.http-output
    & @! d; _8 I1 z! C& M4 ]
  1782. ;mbstring.http_output =# q7 R9 f" |- g9 Q3 i1 E

  1783. 9 k8 N+ \$ ^( Y% M2 ?0 s0 j! y
  1784. ; enable automatic encoding translation according to
    6 F8 t8 z$ c( W* h( [$ u
  1785. ; mbstring.internal_encoding setting. Input chars are' d- x( v0 ~; D7 ]
  1786. ; converted to internal encoding by setting this to On.
    + a  }9 Z% E4 F3 ^. }
  1787. ; Note: Do _not_ use automatic encoding translation for1 V# ~4 g: P+ F# m' l2 y# N
  1788. ;       portable libs/applications.
    3 q$ y3 @9 K# l- k9 v: f0 X. v
  1789. ; http://php.net/mbstring.encoding-translation+ j0 A, s5 [0 S0 T
  1790. ;mbstring.encoding_translation = Off* O5 n& U& l, s- d6 Z! o$ x: u

  1791. ( D% B- q& ]; D0 ^. @" x! X5 k
  1792. ; automatic encoding detection order.9 y; Q. V5 p9 N5 N
  1793. ; "auto" detect order is changed according to mbstring.language
    & l1 U0 y" _  g! ?% L. j& l' Z
  1794. ; http://php.net/mbstring.detect-order) [4 `4 f1 U( D1 ?
  1795. ;mbstring.detect_order = auto" o& B7 E( E0 K4 C+ V; N

  1796. . o0 ^( P# K5 ?. |" V6 n
  1797. ; substitute_character used when character cannot be converted
    0 T3 g6 D; i- h/ m2 P+ }, ^  H+ X
  1798. ; one from another' M1 t& x" B; m4 ?" A  D! o/ y
  1799. ; http://php.net/mbstring.substitute-character8 O% b) ~6 n9 E: Y" T& d( ?
  1800. ;mbstring.substitute_character = none7 Q. w, t& X8 N& S4 k) a
  1801. * o) T7 i/ s" N) M0 K3 M
  1802. ; overload(replace) single byte functions by mbstring functions.7 |2 |; |; E( j
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 D+ w! K0 `, R. S9 ^% ^
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    9 B3 D. G& ^& ?3 @, t% \
  1805. ; For example, 7 for overload everything.
    ) K' R5 Y; J% ^5 _: m! B  F& X
  1806. ; 0: No overload
    - W$ j. {7 x+ K$ k; \& r( p* E
  1807. ; 1: Overload mail() function  x+ q8 K$ w2 G. {5 `  ~; V
  1808. ; 2: Overload str*() functions
    ! Z/ J0 G+ i. ~/ f) c' q: a
  1809. ; 4: Overload ereg*() functions4 S; ~' t: J' B- H7 S3 {
  1810. ; http://php.net/mbstring.func-overload% g9 [/ ~6 h* F
  1811. ;mbstring.func_overload = 0
    0 s8 @# Z" N" x$ A' g

  1812. 8 m) j! R- f% Q3 F! [( q
  1813. ; enable strict encoding detection.& a% \9 v, J+ ~1 K3 W
  1814. ; Default: Off
    0 C) a, h) x% d% U* U+ s7 X
  1815. ;mbstring.strict_detection = On7 ]% b0 _  k% [* @# I; a" p
  1816. ( }0 b( V8 J- R3 W8 E# |- A
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    0 |8 Y0 s0 t6 D# ?2 a+ f( d
  1818. ; is activated.
    ; D' ?* U8 o% H% ?, |  g2 c
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ) B  q3 Z2 s; }/ s* _# s
  1820. ;mbstring.http_output_conv_mimetype=- w) f. J. I2 ~6 ]

  1821. 0 Y' ^2 W# w6 Q7 T- W/ q
  1822. [gd]% O6 x! [6 j" `3 `
  1823. ; Tell the jpeg decode to ignore warnings and try to create3 ~: }1 R0 z& p, n0 x) q
  1824. ; a gd image. The warning will then be displayed as notices3 n, h3 K) O) w7 k
  1825. ; disabled by default+ e& W1 \: Q/ p5 Y
  1826. ; http://php.net/gd.jpeg-ignore-warning; ?& G. E( w- K
  1827. ;gd.jpeg_ignore_warning = 0- e3 q; ~+ Q& E5 j( s

  1828. 0 d$ B! y" s' n1 L) j# C
  1829. [exif]; J$ m( l9 |, J
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ( u; m, X. R8 m/ k' H
  1831. ; With mbstring support this will automatically be converted into the encoding6 {2 C2 @& E  e9 n) Q6 D( }
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding8 \# x% h% {" d
  1833. ; is used. For the decode settings you can distinguish between motorola and
    2 z% c4 k* S1 K1 T, u- Z0 D  Z
  1834. ; intel byte order. A decode setting cannot be empty.6 _/ q) u$ g6 n2 ^% j2 O7 _
  1835. ; http://php.net/exif.encode-unicode' k# O. J' n" X1 {- q9 E
  1836. ;exif.encode_unicode = ISO-8859-15
    ( f8 m, q. O& j8 ]* Q4 B

  1837. 6 C9 o& A) ]' k2 i, A% }; o+ d
  1838. ; http://php.net/exif.decode-unicode-motorola! C: ^& ~" Y& Z: r+ U( ^( }3 V+ C
  1839. ;exif.decode_unicode_motorola = UCS-2BE  s8 P# n8 K4 }' [, V4 C

  1840. - L! H; k: V7 u) ^
  1841. ; http://php.net/exif.decode-unicode-intel
    9 G; a0 l0 H1 E3 D7 B. Y3 E
  1842. ;exif.decode_unicode_intel    = UCS-2LE' ]8 K# @, v4 R' j
  1843. : A/ j" x' c& W) R7 l9 S, a
  1844. ; http://php.net/exif.encode-jis# y+ x0 a3 k! Z6 g' g( |
  1845. ;exif.encode_jis =
    3 g3 h, o5 X! J5 H. a
  1846. # N4 u4 x+ q0 C: o( h, `9 G
  1847. ; http://php.net/exif.decode-jis-motorola
    2 H. a) A2 Z0 t: r. `0 a% r& q
  1848. ;exif.decode_jis_motorola = JIS
    : Y; `, j% W  I  J9 j0 W
  1849. 7 P0 n$ M0 P! o6 j6 J) j
  1850. ; http://php.net/exif.decode-jis-intel7 Y$ I( J, h# s
  1851. ;exif.decode_jis_intel    = JIS
    . a, Q' S. r+ V
  1852. , L7 O0 M9 S' U
  1853. [Tidy]
    0 `3 ^7 A7 I* M* P
  1854. ; The path to a default tidy configuration file to use when using tidy
    # n  u$ `' b  r
  1855. ; http://php.net/tidy.default-config
    ( R1 [- _  }2 D
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg, `: U) c! U6 K& b
  1857. $ M" d5 t% h* b9 E
  1858. ; Should tidy clean and repair output automatically?" a2 O6 }, c2 r  K! z' a' P  |0 F
  1859. ; WARNING: Do not use this option if you are generating non-html content6 v7 T& V7 y. |2 u6 }1 h5 o
  1860. ; such as dynamic images
    + x, b  b* H+ ~# x6 m9 f
  1861. ; http://php.net/tidy.clean-output
    - c( R9 Z# @  X8 H6 g: o
  1862. tidy.clean_output = Off
    4 i) \0 j7 f5 @4 B& m0 Y/ ?' B

  1863. ( `7 Y% O' _' T. Z0 O
  1864. [soap]& W; E  I' N3 B& g
  1865. ; Enables or disables WSDL caching feature.0 B) [" f' I3 @9 b7 |
  1866. ; http://php.net/soap.wsdl-cache-enabled9 |$ t- x; S5 Z, X) F' d+ |4 }" o
  1867. soap.wsdl_cache_enabled=1
    4 q& U/ A. g0 v% B  ~- w- ?7 F

  1868. 1 `$ q2 [! L- M- k
  1869. ; Sets the directory name where SOAP extension will put cache files.
    2 R% p6 @0 C8 W! z
  1870. ; http://php.net/soap.wsdl-cache-dir
    ! O0 v& K0 W/ z* g
  1871. soap.wsdl_cache_dir="/tmp", B9 O+ q) A) H7 Y

  1872. . l) Z8 m, e9 o
  1873. ; (time to live) Sets the number of second while cached file will be used1 z7 a  [7 `7 b5 n) ]
  1874. ; instead of original one.
    9 ?$ l) Z( A. T2 Q2 M2 K
  1875. ; http://php.net/soap.wsdl-cache-ttl
    % p2 s, m# L" h0 o- R! l
  1876. soap.wsdl_cache_ttl=86400- z% M! R+ q) j7 F  [
  1877. : ]. `2 W9 j) `0 s8 v3 V& ?
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    $ p3 X/ O6 ^. M8 r2 a$ Y
  1879. soap.wsdl_cache_limit = 5
    : j" ?' g: W( T

  1880. 4 u: t/ e/ D. w/ H. e
  1881. [sysvshm]
      g& c8 c0 X- m
  1882. ; A default size of the shared memory segment& l+ k4 y( B. Z/ A) q& `9 I: q
  1883. ;sysvshm.init_mem = 10000
    8 F. v* h1 I1 q2 ]

  1884. 6 D) {7 k- j  M: U& K
  1885. [ldap]' d' p; D- _/ c! i" G9 |
  1886. ; Sets the maximum number of open links or -1 for unlimited.6 L; ?6 M) F/ [3 X$ G/ o
  1887. ldap.max_links = -1  S* U; W" }( L4 k. z' P

  1888. & n  O0 e+ N' O$ O2 _8 C
  1889. [mcrypt]
    ) [0 F1 C3 F( ?) X7 z( m3 ?
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open! p4 O) `0 Z9 V, A$ G4 n) S: ~
  1891. 3 y+ `' V: Q( v3 c. U" Q& X/ C" d- Y
  1892. ; Directory where to load mcrypt algorithms
    1 D: E4 F0 g$ M, m  X; |2 c  _
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . e& W- p' k; S$ ]  L, u
  1894. ;mcrypt.algorithms_dir=
    ! b& M- Y2 G' i( W* x6 N/ L

  1895. , ?$ x! S: P7 ]9 y& ?$ r. d
  1896. ; Directory where to load mcrypt modes
    7 i! @& L# L+ \
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      K7 L  ~! r& C
  1898. ;mcrypt.modes_dir=, a0 m- Z& z5 V# T; o2 Z
  1899. / T7 j$ W6 n0 A) \  A/ w
  1900. [dba]
    / U' I2 y$ Y# f  {1 x1 r) }
  1901. ;dba.default_handler=
    4 ^3 m1 \8 F% M. m5 j1 q

  1902. 8 g% {& F/ Q! e( N& f
  1903. [opcache]
    7 C! l- l* K0 z  Y
  1904. ; Determines if Zend OPCache is enabled( I9 b; k. v) [2 |2 U+ j0 V/ R
  1905. ;opcache.enable=0- J9 z, P' s% _! L

  1906. + C) m1 q# k3 R0 T3 b& d( M
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 U( r$ T0 e$ F2 V
  1908. ;opcache.enable_cli=0
    " X$ h. h+ A7 k1 W; v- v9 l+ L: E

  1909. 8 {0 M% Q8 @3 j7 T
  1910. ; The OPcache shared memory storage size.8 R" f) p/ k8 Z0 s  X) E
  1911. ;opcache.memory_consumption=64) `) ^* w0 f/ G+ c
  1912. " l: _9 r9 x; @3 v7 B
  1913. ; The amount of memory for interned strings in Mbytes.
    ; J5 I: R; B. o& r: ?# ^' c5 o  z0 {
  1914. ;opcache.interned_strings_buffer=48 q7 E2 L9 A/ `7 f

  1915. ) h; Z# J4 a' @) m# ~* ^
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.* W: U2 k% o5 c# |& ?
  1917. ; Only numbers between 200 and 100000 are allowed.
    & l- Q" I8 l+ D5 p$ |7 Z6 E
  1918. ;opcache.max_accelerated_files=2000
    ' w& H: t0 W3 ?6 O
  1919. 6 @( n1 i3 M8 P2 B
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ; H# K+ b  ^! i* G& C* ^# a5 {
  1921. ;opcache.max_wasted_percentage=5
    1 C( N1 `) G& [& Q$ j0 }
  1922. ' D# b" Q' p7 C4 e4 [* {* f
  1923. ; When this directive is enabled, the OPcache appends the current working
    4 P* K) F% Y. [0 r, b* v* }
  1924. ; directory to the script key, thus eliminating possible collisions between
    ; ~" E- z- v* c
  1925. ; files with the same name (basename). Disabling the directive improves
    2 z. @6 F; Q+ [9 C; Z: I/ E
  1926. ; performance, but may break existing applications.( {' e% r) b8 V( u/ h
  1927. ;opcache.use_cwd=1) P7 B& _  N6 e" ~/ k
  1928. 7 M9 k+ K3 R$ Y4 S, O
  1929. ; When disabled, you must reset the OPcache manually or restart the
    # v7 P& O& I# N
  1930. ; webserver for changes to the filesystem to take effect.
    - o! f% U3 ]2 Y/ T. ^4 r
  1931. ;opcache.validate_timestamps=10 K) p6 t- P" j  r9 f
  1932. " Q6 E0 N5 J  f  U. J$ I
  1933. ; How often (in seconds) to check file timestamps for changes to the shared. c0 @; k6 S0 O# V' T3 s
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ) W% B2 q0 w( I+ B$ H' C& p) N& H1 y
  1935. ; once per request. "0" means always validate)
    * Y2 ]7 w& ]3 I' j: w& [
  1936. ;opcache.revalidate_freq=2
    ) v; r" S  X3 m" B6 e

  1937. % V1 H& b/ @6 Y" f$ k! f
  1938. ; Enables or disables file search in include_path optimization
    1 `$ h+ n8 ?0 f$ A( t
  1939. ;opcache.revalidate_path=0: C" m) J+ Z+ d8 n' h& m4 b/ H, t
  1940. ) w/ r, C" R# e+ n
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
      m; C8 n" r% \- S) d* J5 `
  1942. ; size of the optimized code.+ ^: U0 T; v, {9 u! o6 r
  1943. ;opcache.save_comments=15 q/ C! |+ {- H

  1944. - r+ H! n/ ^3 h: q9 O
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"' R- y, @9 q1 I2 E( R& P5 Q
  1946. ; may be always stored (save_comments=1), but not loaded by applications% {5 Q3 h2 r" x' x6 \5 q
  1947. ; that don't need them anyway.
    / M* J! d: K5 U* k( b3 G
  1948. ;opcache.load_comments=1! w% j& r) O- e3 ]( v
  1949. ( ^# n; o1 G3 M$ K" c3 K  E- t
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code# O' _1 `5 W: K9 x7 p$ s
  1951. ;opcache.fast_shutdown=0
    - S- u' \  X5 W, n. R
  1952. 0 C6 X, R! a; |) f# M
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    1 m. F  o0 Y4 e1 s- {  Z" E
  1954. ;opcache.enable_file_override=0$ }8 f9 e/ {  u. w
  1955. 2 c9 I8 D: W% S6 n, i$ m; }- f; }
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    + y3 g9 Q) V/ t' K. P: X( ~2 v
  1957. ; passes
    8 s% m, D# x; `6 g/ w
  1958. ;opcache.optimization_level=0xffffffff
    & C# e- r# a2 M/ T
  1959. * h! b5 Y, C3 i: g% V  p" t
  1960. ;opcache.inherited_hack=1
    * H- v" p" i& J0 P
  1961. ;opcache.dups_fix=0
    6 i: d; L# t, X% c

  1962. - x- O, y) n' |! j
  1963. ; The location of the OPcache blacklist file (wildcards allowed).- H0 z& p2 h  l% |8 ~
  1964. ; Each OPcache blacklist file is a text file that holds the names of files& j  \% M0 U6 R, \" P
  1965. ; that should not be accelerated. The file format is to add each filename
    ( {% p# t4 c% T. Z) x* ~
  1966. ; to a new line. The filename may be a full path or just a file prefix( n; G. @) m# c8 S+ H9 Q
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    " E4 {2 H# t" g" U+ [4 `" r3 X  R
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).4 R0 z% T( [9 z# _
  1969. ;opcache.blacklist_filename=* O2 I% V4 B  l
  1970. 0 N6 k9 G2 R. I' b/ q4 J# O
  1971. ; Allows exclusion of large files from being cached. By default all files
    7 f( f6 w1 M7 d' \" A
  1972. ; are cached.4 Y* n$ k& a) ]+ ^
  1973. ;opcache.max_file_size=0
    7 m- i6 w; b7 B& I

  1974. 1 }" c; U% J* E3 [
  1975. ; Check the cache checksum each N requests.
    2 |+ G- i7 c8 [9 ]9 ]! @
  1976. ; The default value of "0" means that the checks are disabled.
    7 p+ N2 \2 y( x2 l
  1977. ;opcache.consistency_checks=0
    ( U& I; C5 }) s
  1978. ( x: p; U  \# ~/ q
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # G- E0 p1 p$ _
  1980. ; is not being accessed.0 G% i8 N2 ?# g! n2 T! u
  1981. ;opcache.force_restart_timeout=180
    3 Y) |: J8 W4 r  }' n
  1982. ' o) `( S9 u2 a' h
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    2 h# k9 U* r$ x: y, m
  1984. ;opcache.error_log=8 [! x8 d) [5 p
  1985. : `) C/ d; d. b- f5 H6 G+ K% G
  1986. ; All OPcache errors go to the Web server log.
    4 v7 z, I' ^/ k* s% j. j" ]
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ( V0 N; S) m  i( t" i) E
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    - ^/ D1 N1 y5 g
  1989. ; debug messages (level 4).( ]; d4 m, P2 y+ y* b
  1990. ;opcache.log_verbosity_level=1
    ( P& Q5 H+ _" t6 K
  1991. / @/ A1 d* e# w
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    0 Y0 @3 d  w2 D+ G
  1993. ;opcache.preferred_memory_model=6 d# j' ]. C& B& H5 F" C  j

  1994. 6 J3 ]: a5 e  h+ Z! y
  1995. ; Protect the shared memory from unexpected writing during script execution.5 k/ B" u0 o8 [0 ]6 ]& U. V
  1996. ; Useful for internal debugging only.( i8 L" D5 m, G) ^# L1 A
  1997. ;opcache.protect_memory=0# f4 t$ `5 {/ z& [6 z) i

  1998. 6 B5 F+ }+ W/ V' W' J) d
  1999. ; Validate cached file permissions.
    7 ^0 Y3 c7 |  U* b0 D
  2000. ; opcache.validate_permission=02 q+ ~' E' N: U; d( Q0 l) M
  2001. % ~" G. k8 S9 j6 n6 d) Z$ g
  2002. ; Prevent name collisions in chroot'ed environment.. V+ n' B' s1 U1 }
  2003. ; opcache.validate_root=0/ u$ E+ B' w) \5 D2 _

  2004. ( L& Z3 w7 L4 I' T% D# v. a
  2005. [curl]
    * h& e1 A+ k2 z7 F+ b
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 f7 j) w, y1 @  k4 L
  2007. ; absolute path.
    # c8 m% Y3 }  p2 H3 [/ a
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- X- `* ]3 V0 {2 F& o

  2009. 4 P+ `( Z! D8 {- V
  2010. [openssl]) |5 }- {& A, V. u- Q) {0 ~' E9 |
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem+ b) `# o7 @: J4 U+ v
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should% S  x2 s1 O" T+ M
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ( M9 Z( o: a, K3 a6 X- K0 i# w
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    3 F' }7 c" X) u  E1 b
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context2 c, ^: p3 U9 d, r  z
  2016. ; option.5 H& {1 y3 x4 e
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 \" e/ p7 B1 R6 }: e, f! R6 |7 g

  2018. 1 d' u5 u3 \$ a9 ~8 T2 {5 Y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the3 w9 K; D( S  K! r4 c; q4 |' l4 S
  2020. ; directory pointed to by openssl.capath is searched for a suitable/ h( y! A' t2 f! ^: Y# D5 {
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    0 l2 h7 {5 Z+ c  Z- ~$ d
  2022. ; Most users should not specify a value for this directive as PHP will
    : a4 V4 p' U% w9 J5 `8 x
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # b# ?! q( u  }6 @: m$ D4 V, m8 E
  2024. ; this value may still be overridden on a per-stream basis via the "capath"/ s* W& q, l' f/ T
  2025. ; SSL stream context option.
    - M+ H, `4 O" S% J  h! {" Y
  2026. ;openssl.capath=
    1 d: L1 n, S1 U7 E! y) S  e
  2027. ) a9 C7 D: K7 s6 L* d0 p' ~3 a
  2028. ; Local Variables:
    8 I; K4 F( v4 `- ?" Y' r
  2029. ; tab-width: 4
    - Y+ K6 ^2 D) u9 W$ X
  2030. ; End:; }! f' i9 ?5 I6 S1 R6 o/ F

  2031. 8 [& v. \  c: q; W
  2032. ;eaccelerator
    + y6 P2 |( i3 ?5 p9 k
  2033. - ~: Z7 w' B' G5 v$ l: U. v
  2034. ;ionCube8 `+ o' ]$ ]  d9 ?0 C: |! t) v. \
  2035. 4 U+ n6 g$ q4 x/ x
  2036. ;opcache
    2 _' ]5 e  w7 h1 {1 K
  2037. ) W" `7 d4 E1 ?4 ?6 W' z
  2038. [Zend ZendGuard Loader]( [8 d, s8 F, f" x/ ?
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    7 v. Q( f* j+ H6 t
  2040. zend_loader.enable=12 s; j1 P  n8 h. C, a! ?
  2041. zend_loader.disable_licensing=0
    6 t9 M2 Q6 l/ S9 M
  2042. zend_loader.obfuscation_level_support=3
    7 A3 o8 l0 |% `
  2043. zend_loader.license_path=
    ; D+ V5 s" \( C& h' }8 _5 }
  2044. - \* A! q" y8 R- ]9 e
  2045. ;xcache- ?' A- `& G7 k7 Q2 }. i  ]

  2046. + N. e) g; r; D  }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692; V& a1 T0 g5 y5 o: ~9 S

% }% a# L$ k9 ~& b) g2 Q7 _4 t5 Y# C. B6 a( S3 j
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,# n; y8 ?- K2 `/ N

" u3 ~+ n( m+ _4 o# bDiscuz!程序版本选择:
* Q6 M$ @+ ^' y: Z, s, I3 l) c站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,, r" |% v; R* L8 m( s
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
. t  S" X+ F' NDiscuz!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 e' g1 f# g1 S
; b0 @  z* w$ z2 ]8 D: H
Discuz!插件模板版本选择:4 {" ^! B3 E$ ~) f3 M; [, l9 l; S2 m
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
* Z1 Q8 u" W8 P4 Y$ p2 N针对这个问题做个统一的普及:
$ X  G% U1 ?0 J& N) e. aX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
9 d' A! f  E- ?  S' x1 G7 t7 v4 [1 c7 \- C5 x6 C
所以; P) ^; V& V/ A  {0 l* i* }9 [
适合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的二级域名。1 O  K+ Q1 k; e( U& ~! c
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。' g( C$ N- i( ^/ j
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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