分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
+ \- I! l1 ]) S6 K6 N) a* p" ]- P( r, U& }: y& G& h; _
  1. [PHP]
    6 i- ]4 k4 @, s3 e

  2. - Y4 ]) w) `3 I( ^% v2 c6 E. G6 ]; g
  3. ;;;;;;;;;;;;;;;;;;;
      K9 a$ P& e; m
  4. ; About php.ini   ;8 G' q+ E* ?9 {, \; Y
  5. ;;;;;;;;;;;;;;;;;;;9 u! ?) K7 D$ A- r) D
  6. ; PHP's initialization file, generally called php.ini, is responsible for- p& C# Y3 n" a! c8 k, g
  7. ; configuring many of the aspects of PHP's behavior.
    9 q. f* |4 P4 ^7 o5 F+ Z0 P2 |1 C

  8. . H4 A/ {9 c) p, y5 c5 P; a$ h  \
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( ]2 S0 w1 }& L
  10. ; The following is a summary of its search order:
    - G) y- P% o* F6 R) B
  11. ; 1. SAPI module specific location.
    5 ~$ m- Q* z( I2 h* q0 s( B9 i
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    . o! R" w- G3 p8 ]1 [' g# u. v, V: d
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 w4 Z- c5 T+ J0 S9 C* f
  14. ; 4. Current working directory (except CLI)' ]2 u# Q1 m' _$ `4 K2 c
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; p8 I4 _* G6 F3 ~, D, J. @. d
  16. ; (otherwise in Windows)
    & S! s# R& i$ t5 i% r
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    0 V9 W; B& [( y9 W. I
  18. ; Windows directory (C:\windows or C:\winnt)
    ( m( u3 S# H8 j2 l% I1 F' {: @
  19. ; See the PHP docs for more specific information.9 X% z3 x0 D( ?9 S/ h+ E
  20. ; http://php.net/configuration.file. Y3 d: i( c# l; L  D' z! A1 H

  21. ) b5 l, m% V8 A. M  A0 T
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 z+ K, u) H3 o0 K' z+ p
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 S3 H$ m+ ]- q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    / {4 s& D& N5 F5 g+ v
  25. ; they might mean something in the future.  U* |7 J1 T+ k4 u+ j
  26. ! V9 H( a+ N/ @- f9 T2 o
  27. ; Directives following the section heading [PATH=/www/mysite] only# P, |, h9 Q) A! y5 q% ^6 V: f
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ' Q; E! ~4 H+ {$ B
  29. ; following the section heading [HOST=www.example.com] only apply to- K+ Q# s1 `2 q# ?! `
  30. ; PHP files served from www.example.com.  Directives set in these
    1 N! A9 I7 J# b/ `  p2 |, j) `* _
  31. ; special sections cannot be overridden by user-defined INI files or6 s4 G7 D" ?6 J; q7 S% ]: F. S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# b1 S7 y3 z+ j' J* N4 C0 r
  33. ; CGI/FastCGI.
    , i2 G& |9 S) T; w0 _
  34. ; http://php.net/ini.sections
    ) _/ R. c- _/ g  u4 u+ B( p" m$ s

  35. ) d5 W( U1 d. N4 N& t  ?
  36. ; Directives are specified using the following syntax:2 W% c* |$ N# W- o. M
  37. ; directive = value
    2 S4 ]1 i. v0 }
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . e: C8 @6 ]* n/ V& z
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ) a# y! i3 ^0 A. R% [( W8 O7 [
  40. ; There is no name validation.  If PHP can't find an expected
    $ L! N( z6 A& |1 ~/ ^  L
  41. ; directive because it is not set or is mistyped, a default value will be used., L7 g/ L& X4 `/ ]( B2 w

  42. + g: J) w) }7 p' a9 q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one- ^! h7 U$ |: }' g0 D3 q. ^
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    $ v4 o9 y4 t5 p' M, z' @: Y! e2 V8 ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
      D& ]3 ~+ s+ R
  46. ; previously set variable or directive (e.g. ${foo})! g) l" D/ \( k5 X/ c
  47. 2 v/ T! f3 c* I3 |% |% C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' T5 [1 {5 u2 [6 W3 }
  49. ; |  bitwise OR) E7 V# \8 K* k) l* U
  50. ; ^  bitwise XOR! t/ Y7 F, P0 N- {% p
  51. ; &  bitwise AND
    * P. {& _8 E4 L. [
  52. ; ~  bitwise NOT1 J: N# R$ e% g6 ?4 r
  53. ; !  boolean NOT5 g& e- C4 {- Q
  54. ' [1 ~! ?" u( H8 i
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' Z9 }; Q. O: o5 y, L
  56. ; They can be turned off using the values 0, Off, False or No.2 g" S8 _7 ?8 Y9 p  Y3 l

  57.   p; h0 j! @( S- H1 o
  58. ; An empty string can be denoted by simply not writing anything after the equal" g- J$ G$ X/ i2 X) L- o5 M
  59. ; sign, or by using the None keyword:( J5 W( {' _. U
  60. " y' t' T& }6 m& S6 S
  61. ;  foo =         ; sets foo to an empty string4 A% m; L  C  Y) m
  62. ;  foo = None    ; sets foo to an empty string6 k1 l2 s' Q/ f" A$ T& _: `
  63. ;  foo = "None"  ; sets foo to the string 'None'
    * f6 _: v% z, Y+ k! e

  64. " O- W% H) L; q  [) E8 d7 K6 y" e9 B
  65. ; If you use constants in your value, and these constants belong to a
    8 p9 ^  {. M6 l9 K' A5 S' n0 t, s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),* u/ P( K- A% Q
  67. ; you may only use these constants *after* the line that loads the extension.2 P% y+ n  f  ]0 d9 l) E

  68. , Y1 j; w, G8 }" Q( F, {( C
  69. ;;;;;;;;;;;;;;;;;;;8 f4 X" d- U, z! N! w9 X# |+ r  G
  70. ; About this file ;
    # }6 {0 ]6 Q7 @3 F) g2 a# f
  71. ;;;;;;;;;;;;;;;;;;;
    ) O6 ]( \- ~7 _( j" b* A
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 {% T8 K( N/ C$ a
  73. ; in production environments and one that is recommended to be used in$ q9 S& w- Q' M  B+ j
  74. ; development environments.
    / [' P' k) s' S2 g$ M3 H) F

  75. - U! z' ~, o2 Z
  76. ; php.ini-production contains settings which hold security, performance and
    / Q4 C1 N. B8 v0 I* m
  77. ; best practices at its core. But please be aware, these settings may break
    % f- j! G0 t3 t; k4 Y) \# D# b
  78. ; compatibility with older or less security conscience applications. We: Q8 X* j# D2 L5 \. U! R
  79. ; recommending using the production ini in production and testing environments.
    * N7 Y) L3 @7 n+ m* E
  80. , d2 r" R' x# a( g8 _0 V0 c
  81. ; php.ini-development is very similar to its production variant, except it is8 x' C5 j! T0 n3 E0 O: Q! [
  82. ; much more verbose when it comes to errors. We recommend using the
    ' |9 l/ F+ C& V5 q- F, Z3 A
  83. ; development version only in development environments, as errors shown to
    # t5 N- n! g) z1 t! f' T
  84. ; application users can inadvertently leak otherwise secure information.3 g; D- S8 R% V9 J3 H
  85.   V3 R. j- ?8 p( ?
  86. ; This is php.ini-production INI file.
    2 R. A: m. K, Q" N$ |% s+ h
  87. 5 T5 r9 Y: }$ z5 R" s
  88. ;;;;;;;;;;;;;;;;;;;
    ' q9 z* k& o+ T" i+ C( f$ m9 O
  89. ; Quick Reference ;
    9 R( N" G/ F3 j4 e5 v6 h
  90. ;;;;;;;;;;;;;;;;;;;
    1 p; P- b% o  N
  91. ; The following are all the settings which are different in either the production
    , ]7 u* _& M- I, X2 N! i! O  k( O
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    , G' P: v5 Z- _, r2 N
  93. ; Please see the actual settings later in the document for more details as to why
    , g. M& d6 W8 v( k* O/ k, ?
  94. ; we recommend these changes in PHP's behavior.. g5 c" _: i; }  J' r7 l! E6 ]
  95. ' D: [0 q, z7 }& X4 x9 u5 V
  96. ; display_errors
    + T1 p+ ~( @; N+ U0 p
  97. ;   Default Value: On
    , E1 P" V; j' O; o+ V! }* F
  98. ;   Development Value: On# E7 i2 n6 f3 |9 j# i8 ~
  99. ;   Production Value: Off4 w; O1 W3 o8 {! E8 Q* n# J
  100. 0 y( @0 N2 K/ |& `
  101. ; display_startup_errors
    " E4 v* D" v0 e) {
  102. ;   Default Value: Off
    $ L8 {! A' [" `+ n
  103. ;   Development Value: On
    9 a4 i7 ~7 g! B7 X* Y& H: Q
  104. ;   Production Value: Off
    ) t0 m( L6 _, x# }3 R

  105. * K1 f( g$ C- [4 P: s# q- p! J) |
  106. ; error_reporting2 [( U, T6 y. C0 @
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 {4 k4 }, _; K$ f4 n# Y
  108. ;   Development Value: E_ALL
    ; h4 ^- @2 \! h& k2 Z3 i
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 {1 I0 e: P1 G: k: a( {
  110. + E. `" }2 d, P" w
  111. ; html_errors
    7 J1 r1 `$ @; @, E! w3 {$ o/ }
  112. ;   Default Value: On
    8 a+ m3 ^) o4 f' g
  113. ;   Development Value: On  d# K% W, J7 N9 |& _% S8 ^+ u, O
  114. ;   Production value: On
    , ~! Q% S4 ], e6 O0 r

  115. ; ]) @9 q+ L0 U
  116. ; log_errors
    8 R7 @7 h% l9 L- I+ h
  117. ;   Default Value: Off
    ) @& H3 h+ Q& O3 f
  118. ;   Development Value: On
    $ L' m8 }) R$ d" `
  119. ;   Production Value: On0 V! i( l% P1 u, M+ D) W3 C

  120. / J. D+ [7 {# w" t  E5 Y
  121. ; max_input_time& L' K# }" ~- V, s
  122. ;   Default Value: -1 (Unlimited)
    / y* v" r) [1 l& g1 N4 L: T2 O7 I
  123. ;   Development Value: 60 (60 seconds)
    ) w7 y& Q, u3 t5 e. X+ K. z
  124. ;   Production Value: 60 (60 seconds)
    " y4 C1 B% _8 z7 G' f9 V# e( }
  125. - o' g% O& ^* S6 A7 L( L
  126. ; output_buffering& l& f7 x8 T2 O* K( L6 s
  127. ;   Default Value: Off; x* T& k) C8 }5 B, x. \3 ~
  128. ;   Development Value: 4096
      r% D5 Y" N% U" I
  129. ;   Production Value: 40962 u& X* H! v! ?% n

  130. 2 S+ M' J  v% k. z5 ]$ C7 J
  131. ; register_argc_argv
    : ^: C$ u: |5 o+ H( p! b
  132. ;   Default Value: On* _( U! {" l4 O% K/ C) I7 X
  133. ;   Development Value: Off
    / B% y" X1 E$ j
  134. ;   Production Value: Off6 y& P/ j' p5 W9 \* e: _2 i) }

  135. # Y: y1 \6 S) V- k; K/ K
  136. ; request_order2 N9 o" I3 y' `/ x1 W/ t
  137. ;   Default Value: None
    ! I- j' z" p% [# Y4 Y
  138. ;   Development Value: "GP"
    $ @7 n' b. M7 o/ R& @" ^
  139. ;   Production Value: "GP"
    - L2 ~, d  w3 U" w
  140. 5 r- D7 f2 \# J
  141. ; session.gc_divisor# x2 h- r5 G6 r; U4 E/ ^
  142. ;   Default Value: 100& P% w, ]6 f+ f& Q  j. J
  143. ;   Development Value: 1000/ \1 Z6 h* a% d( A! j
  144. ;   Production Value: 1000$ {. q- s5 K2 z6 r
  145. , u2 n2 I( x/ O5 h6 B
  146. ; session.hash_bits_per_character
    2 G, T' {7 W/ b1 @- T
  147. ;   Default Value: 4& l! y, l' @% g
  148. ;   Development Value: 5
    : F3 X1 I6 g! Y7 t, p
  149. ;   Production Value: 5" m# b( W1 H1 t- z: h9 D# P% Q4 g
  150. ; P9 S+ G. z/ Z* k
  151. ; short_open_tag
    ( M: [% c6 ~5 B/ H' e8 {& q. _' |
  152. ;   Default Value: On. C# k$ _( w* Q: o7 y  _
  153. ;   Development Value: Off
      p4 Z/ j7 i% {
  154. ;   Production Value: Off
    ; Y3 E. @* i. l2 T6 }: _: K) ^

  155. & S6 n/ c$ }6 m; v1 s7 e7 ^2 \
  156. ; track_errors  K: t3 X) Z4 Z  ^0 \
  157. ;   Default Value: Off- |3 x. d4 z  M
  158. ;   Development Value: On5 ?2 q% S8 ?" U0 ^- Q! d. v8 s2 U
  159. ;   Production Value: Off/ H' _4 {- r* v

  160. ) g& b6 S5 A; {* |) K$ O
  161. ; url_rewriter.tags1 |* [: m4 h5 u" c
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( m& J/ n9 ~# `! o0 _
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( k) s) i6 B( k5 S+ U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": C& L& z1 A" i2 `. V1 _- U

  165. + H0 Y1 H, T) S% U: L$ |
  166. ; variables_order
    ) ^" j$ D5 y+ X4 |; x, u6 G1 m
  167. ;   Default Value: "EGPCS"3 c. B6 e6 T8 p4 [" h
  168. ;   Development Value: "GPCS"2 ~2 |+ U6 Z. [* ]. Q
  169. ;   Production Value: "GPCS"
    - m# L4 ^! C( X
  170. 6 I) @) T3 x0 a5 R
  171. ;;;;;;;;;;;;;;;;;;;;0 I7 g- U2 L/ Q$ N3 w
  172. ; php.ini Options  ;
    * i1 X, S! ?( N
  173. ;;;;;;;;;;;;;;;;;;;;
    1 V1 c% l# z' ?
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 r1 I& D; D1 g% e/ o
  175. ;user_ini.filename = ".user.ini"$ J& \5 X. ], ~7 P& Q0 W. s
  176. $ W; @9 r+ z- a
  177. ; To disable this feature set this option to empty value
    8 D7 J0 E! x1 e: y  y& V7 g  f
  178. ;user_ini.filename =
    8 o! S! ?8 W; B  \8 B

  179. 5 N% N0 |  P8 G+ G) J3 f/ l" M
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 e4 q. n: F, k4 n3 J
  181. ;user_ini.cache_ttl = 3001 m  ^0 R: |( j+ f

  182. $ U; d6 J7 c4 T% |
  183. ;;;;;;;;;;;;;;;;;;;;+ ]8 A) w: H6 B& f
  184. ; Language Options ;( F7 o: v' N$ ~- P2 `
  185. ;;;;;;;;;;;;;;;;;;;;6 z- X+ f8 W3 X

  186. : S0 [  G  N- l; N/ `
  187. ; Enable the PHP scripting language engine under Apache.8 f9 s9 d- F2 T6 W/ K
  188. ; http://php.net/engine
    ' f7 i; @& H6 w) z7 w/ {
  189. engine = On
    3 j% S: H+ H, T: o) _* `

  190. ' `, \& B" ~' p7 g# A' z
  191. ; This directive determines whether or not PHP will recognize code between" P3 U( V3 V( z  K2 f' B6 i9 g0 J9 o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is( m" ~% B$ o2 L6 e( v& V- i: B: C5 _0 z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    0 n) J- ^) v; v4 W( a
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 [5 ^, e' _* E- m  G% S) {' B
  195. ; documents, however this remains supported for backward compatibility reasons.
    , x& d0 U( K8 k
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    % t, N8 r8 v# @, `: g
  197. ; used regardless of this directive.& A4 Q) N& C& G9 D
  198. ; Default Value: On
    ; e1 [' i* @7 m5 Q2 O, `1 L% S
  199. ; Development Value: Off# W5 d$ R4 I  A9 n- r! q9 r
  200. ; Production Value: Off
    , q1 v. R% T8 z! n
  201. ; http://php.net/short-open-tag
      E4 J, e$ \0 L' k% |. x7 B5 X4 q& l
  202. short_open_tag = On
    " J5 U6 A# O# `7 j
  203. & K; L: n6 P  x7 T) j3 ^) w
  204. ; The number of significant digits displayed in floating point numbers.8 g" }+ V1 m& T) S- [
  205. ; http://php.net/precision8 P/ s5 Y  T6 v% B) ?
  206. precision = 148 }: F. M2 R- |" u6 B" `5 M" e* A
  207. ! `2 m* _$ t% w6 Z6 |) N8 q5 c  I
  208. ; Output buffering is a mechanism for controlling how much output data
    0 a- G! ^8 S, @0 g9 y
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that) O( @7 I9 x8 w: `7 z$ G
  210. ; data to the client. If your application's output exceeds this setting, PHP
    " c  r; c4 t+ `$ t
  211. ; will send that data in chunks of roughly the size you specify.: Q  u; A5 @% i3 y2 Q
  212. ; Turning on this setting and managing its maximum buffer size can yield some: s6 @, u! r0 w. ^  @8 G2 v3 ?
  213. ; interesting side-effects depending on your application and web server.: i$ K# t7 n0 {7 _, h" B9 s
  214. ; You may be able to send headers and cookies after you've already sent output
    6 R. @' S8 Z/ U- l
  215. ; through print or echo. You also may see performance benefits if your server is
    ! Y& N! |/ D7 x
  216. ; emitting less packets due to buffered output versus PHP streaming the output" D. ?# v( Z* j) Y( @& _9 Y
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    : X" |) H% a$ `8 j4 j
  218. ; reasons.
    * W- x0 {; @/ H
  219. ; Note: Output buffering can also be controlled via Output Buffering Control. ^  t; D/ B0 M, T  y0 t" O
  220. ;   functions.
    ; ~) S" f$ }* {# `" S$ C; c# f. X
  221. ; Possible Values:4 N7 K+ }; m  O: o
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)9 K3 D# w- `$ Q6 {
  223. ;   Off = Disabled' A" j0 I" c7 m4 P& e& h
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( z0 |, u- e2 @# ^. o$ U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI5 m, m4 Q1 O. u) j
  226. ; Default Value: Off
    9 O! p, q  f4 h/ P' g* t. [+ s
  227. ; Development Value: 4096
    0 f$ e! @& M  L( z3 `
  228. ; Production Value: 4096
    ' _! W7 `" {7 L7 n2 [- F/ e
  229. ; http://php.net/output-buffering+ `$ ]8 l0 p* c7 a) P3 _$ M, U
  230. output_buffering = 4096- g5 i6 ^( r" a' K" s) Q
  231. / A+ i  O8 f/ m! F+ L
  232. ; You can redirect all of the output of your scripts to a function.  For
    6 g2 ]" M3 `- t1 s: x  N5 h
  233. ; example, if you set output_handler to "mb_output_handler", character7 g* l( W2 D) h
  234. ; encoding will be transparently converted to the specified encoding.
    + c. ?, I5 u4 N( J, I
  235. ; Setting any output handler automatically turns on output buffering.4 e4 E& w" L$ @+ E) T$ y1 E/ U
  236. ; Note: People who wrote portable scripts should not depend on this ini+ _3 x# ?" C* \& U) j$ @
  237. ;   directive. Instead, explicitly set the output handler using ob_start().3 `! c' V! j* q9 f; f1 P1 [
  238. ;   Using this ini directive may cause problems unless you know what script8 X3 C6 P9 e0 I# g
  239. ;   is doing.
    ; V7 k1 i2 U: K4 f
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 T; o3 t: A2 C: K7 s$ a3 @3 B
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".( Z8 u7 o$ u4 f/ F7 L; W
  242. ; Note: output_handler must be empty if this is set 'On' !!!!* _  B# e9 j- c' _  h5 e" }
  243. ;   Instead you must use zlib.output_handler.
    5 y0 n2 X; d1 w% T
  244. ; http://php.net/output-handler7 j+ u* Q/ ?: y& G% u
  245. ;output_handler =" ^" l1 `0 |( m

  246. ; o6 b7 n7 B5 T9 g' U1 W
  247. ; Transparent output compression using the zlib library7 L8 g0 s9 m1 N) d
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size8 C; s- ], Y* Z; `
  249. ; to be used for compression (default is 4KB)
    & x1 ^1 M6 Q; r" l9 z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      I  K6 c6 o: t
  251. ;   outputs chunks that are few hundreds bytes each as a result of+ o6 I& e7 i& p5 F; p) j8 u8 e. z
  252. ;   compression. If you prefer a larger chunk size for better
    * J5 `& a2 U" {4 C2 Z
  253. ;   performance, enable output_buffering in addition.: P0 V9 S' M$ [+ W7 y
  254. ; Note: You need to use zlib.output_handler instead of the standard
    , u# U+ E0 j# Z5 P+ [2 x
  255. ;   output_handler, or otherwise the output will be corrupted.
    0 @+ t4 G0 p/ X. s! t
  256. ; http://php.net/zlib.output-compression
    ( V" J" M/ j% |% Z7 N* Q) o
  257. zlib.output_compression = Off
    ; H, ?0 z- U  p: f4 e+ W/ M
  258. " y, j( I+ R) A# G  L8 @
  259. ; http://php.net/zlib.output-compression-level
    7 ?) L- w/ `# Z5 `& M
  260. ;zlib.output_compression_level = -1
    2 `. e, y, P2 p8 S# y
  261. & j% c0 C! a# y2 ~! e
  262. ; You cannot specify additional output handlers if zlib.output_compression
    - I" P  `# W& _4 j' e
  263. ; is activated here. This setting does the same as output_handler but in; g/ j6 {1 ~% o+ W0 |$ @, ~
  264. ; a different order.3 Z) W0 Q/ x0 u# o" S
  265. ; http://php.net/zlib.output-handler
    4 L4 Q* D" M8 f6 G$ s, a
  266. ;zlib.output_handler =
    ) G0 z( X- t' F/ v% ]7 q4 I

  267. 4 Z/ T9 ^! }% V. l6 T; o5 s) m
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    & |! |. n! a2 m5 ?- S3 f; n! _
  269. ; automatically after every output block.  This is equivalent to calling the7 w! w. n5 [* H
  270. ; PHP function flush() after each and every call to print() or echo() and each1 Y0 @7 s) ]- x
  271. ; and every HTML block.  Turning this option on has serious performance" S0 {3 Q5 s3 c
  272. ; implications and is generally recommended for debugging purposes only.
    8 k; A) G3 u* Z
  273. ; http://php.net/implicit-flush
    1 J3 o, A! L1 x3 b" e; y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI- ?8 V+ ]! H6 G  h" z9 T
  275. implicit_flush = Off  _2 K* c$ Q$ f$ @
  276. 6 k& P/ Q2 S) n. d5 T% \
  277. ; The unserialize callback function will be called (with the undefined class'5 s2 f* l) d! I, M
  278. ; name as parameter), if the unserializer finds an undefined class: I0 B9 u( Y+ ~
  279. ; which should be instantiated. A warning appears if the specified function is
    ( w$ p% u  J! v3 d" @8 v6 y
  280. ; not defined, or if the function doesn't include/implement the missing class.5 f1 ^/ ?9 k4 A8 ?$ n- B0 W
  281. ; So only set this entry, if you really want to implement such a  l" B5 g6 V: P/ _) S
  282. ; callback-function.+ V7 O+ p7 h9 n; j) l1 h* D& r
  283. unserialize_callback_func =6 N5 A) r. {7 g5 [

  284. 5 s; k+ t# M1 L0 z
  285. ; When floats & doubles are serialized store serialize_precision significant6 @: R: u6 g, t, L+ o/ p8 r
  286. ; digits after the floating point. The default value ensures that when floats8 o0 _7 J! m. T9 D9 e
  287. ; are decoded with unserialize, the data will remain the same.
    , [' ]4 A9 D' _4 d+ G1 X4 l$ S9 ?
  288. serialize_precision = 17
    ; N$ d# f/ x0 W# Z5 ~  B

  289. 7 n* d  p' ^' K6 {
  290. ; open_basedir, if set, limits all file operations to the defined directory2 U+ L2 V5 W+ h; d3 U' M& H
  291. ; and below.  This directive makes most sense if used in a per-directory
    $ @3 d. N+ A+ @% X: a& _
  292. ; or per-virtualhost web server configuration file.
    9 c& ^* z* f4 B# x, X: {! |9 b
  293. ; http://php.net/open-basedir; u5 V5 n9 K0 c. B, x. n5 O& u
  294. ;open_basedir =; x8 O; {/ P& t/ R7 O1 a! z

  295. : Y8 k: H# t) n& C$ Y
  296. ; This directive allows you to disable certain functions for security reasons.
    . H5 O5 f/ l0 n' ^
  297. ; It receives a comma-delimited list of function names.
    9 ~3 l9 u: ~4 o/ r
  298. ; http://php.net/disable-functions# a. @0 B6 [4 o  w2 T, C
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ( J9 y+ s8 r3 i8 \3 J

  300. 6 o8 _4 u8 g0 g
  301. ; This directive allows you to disable certain classes for security reasons.
    7 V. ~7 L9 t8 r; ~- l
  302. ; It receives a comma-delimited list of class names.3 O: J$ k8 o6 |" r* I# t
  303. ; http://php.net/disable-classes
    0 i% i. h6 v5 I  k9 N$ k
  304. disable_classes =% X6 L" G$ J7 G$ O
  305. & Q1 t) @* n' W7 [& w0 _9 w0 o: {  g
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in! ~1 i6 t7 F( X( J7 Y
  307. ; <span style="color: ???????"> would work.2 i6 Y! b  c- t5 T+ w! G$ _( }
  308. ; http://php.net/syntax-highlighting- [( u" b' M0 u7 s. `& [- V# C
  309. ;highlight.string  = #DD0000
    % G% \5 S+ D. E; r% g1 n' d
  310. ;highlight.comment = #FF9900* r2 S" C% X( o. Y  \. i4 h  f
  311. ;highlight.keyword = #007700/ t- q- p' L1 ]
  312. ;highlight.default = #0000BB
    ' c7 S5 ^! H; t: R4 }
  313. ;highlight.html    = #0000009 s5 Q# n  L+ o( [2 g' D: l
  314. 6 C+ S* v& ^9 M5 }0 X# V( E
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    / n: ^- m3 l; i' v' L7 _- D
  316. ; the request. Consider enabling it if executing long requests, which may end up# Q6 F7 b2 S% X( h% S, a6 }! v5 P
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior9 s- j3 J0 o9 ~( e- O6 E
  318. ; is to disable this feature.
    $ F% l" |2 u0 x5 C; q  h9 n1 t
  319. ; http://php.net/ignore-user-abort
    / [+ g# L, T' P1 M
  320. ;ignore_user_abort = On
    : m( {8 s1 h3 K: R* ]" c3 s$ `
  321. 8 s! c7 y/ Q4 r/ b- f
  322. ; Determines the size of the realpath cache to be used by PHP. This value should( w) ^; e' T7 W& T: g( z
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    - r2 R* r. h, M6 D3 [; N: Y; r- h- M
  324. ; the file operations performed.
    " U3 s1 r5 l: \# C$ F4 G5 T" r
  325. ; http://php.net/realpath-cache-size
    " J0 O% I" k: i* ]7 o$ _6 J
  326. ;realpath_cache_size = 4096k6 w, X+ ~: `7 f' {; {

  327. + b& S% [' U. F# x4 _  I; y
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ! ^; W3 s& V1 ^9 z4 L+ x& I  Z/ E
  329. ; file or directory. For systems with rarely changing files, consider increasing this4 l$ [' ^1 ]" m
  330. ; value.
    ' a' A* w' N- U- Q8 y3 J
  331. ; http://php.net/realpath-cache-ttl
    8 e! A( F, l6 O
  332. ;realpath_cache_ttl = 120; m$ B0 ?: T1 i* O0 D% R% j  E; j
  333. 5 P: d. [& c( h
  334. ; Enables or disables the circular reference collector.3 Q1 U9 X% u6 l# h; e
  335. ; http://php.net/zend.enable-gc
    5 u4 ~- E# I5 a& a' p
  336. zend.enable_gc = On: b3 J" s, ~2 E% F, Y& f, Y& o
  337. 0 R1 \" ^. C% [; b, k
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    9 I# A7 z1 k4 T
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such% m, d1 L- g4 X, ~; f
  340. ; encodings.  To use this feature, mbstring extension must be enabled., X8 I5 N1 [2 b- w
  341. ; Default: Off$ i! G2 ?/ E4 b; |4 [
  342. ;zend.multibyte = Off: ]! n" h5 E6 l4 X
  343. , |. R3 v. o" W- r% B( `7 R
  344. ; Allows to set the default encoding for the scripts.  This value will be used. U4 w% d! K4 t2 F: }" B
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.4 Y9 b) s9 H* ?) t: p
  346. ; Only affects if zend.multibyte is set.
    / Z& w2 i8 u6 ~3 n5 C4 s. b0 i
  347. ; Default: ""7 Z( X1 H) v4 B& b2 h4 _
  348. ;zend.script_encoding =
    $ d4 Q: n# Q: q) u  j

  349. 4 p" t& a: y7 K; i, t* c
  350. ;;;;;;;;;;;;;;;;;( Q! Q" b! ~) L/ V& k9 o6 O
  351. ; Miscellaneous ;
    3 N; K7 B3 V# P0 ^8 w8 m
  352. ;;;;;;;;;;;;;;;;;
    ' o" S2 j4 B1 g5 `. B* q

  353. & H+ e* e0 G# K+ p) U) a8 s" n
  354. ; Decides whether PHP may expose the fact that it is installed on the server7 F  v- d; s6 L  d
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    % n) P# a3 S  [7 |" f* y
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 }8 ?3 t+ J+ F: q$ G% \! y
  357. ; on your server or not.
    # E( }9 {# z( @( z' w
  358. ; http://php.net/expose-php5 l& |" c1 }9 ^# d0 ?- Y
  359. expose_php = On6 K% D0 b$ Y& X; T! Z$ G

  360. : U4 E' {$ G7 D2 R" Q* G+ s& v& |2 Z
  361. ;;;;;;;;;;;;;;;;;;;
    1 e3 e* B2 h# u1 S7 _/ D) ?- y. L
  362. ; Resource Limits ;
    . Z. W! w  ]9 s- c1 d5 J. h) O
  363. ;;;;;;;;;;;;;;;;;;;
    ) h% M0 G  }5 I& c0 Z
  364. ; H! _; y! A5 v: u3 w8 J4 k1 _
  365. ; Maximum execution time of each script, in seconds/ d& m* M0 D- x4 z4 W
  366. ; http://php.net/max-execution-time
    6 X7 U# y! y! u; F, P  G$ W5 k
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI) S/ U) j8 `' ]2 v# {5 L
  368. max_execution_time = 300
    ) D+ X& g1 y! }4 R6 F% ]
  369. 4 c3 V4 O% B" H' T& v" ?6 m
  370. ; Maximum amount of time each script may spend parsing request data. It's a good7 Y9 E9 a# Y; n
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ' k' |4 {9 M" ?  F0 v
  372. ; long running scripts.
    ' ^; e4 v0 @" `0 c3 S, A
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , ^8 s" w3 G+ @* q
  374. ; Default Value: -1 (Unlimited)
    1 a$ z4 L/ N* t8 Q  F# B: y$ C) ?
  375. ; Development Value: 60 (60 seconds)
    2 u7 L5 g) B0 A5 f
  376. ; Production Value: 60 (60 seconds)
      b8 c& S  Z' K
  377. ; http://php.net/max-input-time- F* f0 p; c( Q- T* d) n% o) c
  378. max_input_time = 60' @/ S1 p. j" A9 L( L$ k4 S; C
  379. % [; Z2 ]/ p' K) V: u
  380. ; Maximum input variable nesting level% U9 N5 p2 @  W3 X. h
  381. ; http://php.net/max-input-nesting-level4 @: s) ]3 u: E1 ~1 z8 m5 `
  382. ;max_input_nesting_level = 64
    ! v2 @) e: B) S4 G) Y& M6 J+ C

  383. * h) b1 G4 q. C7 I8 `/ K3 z9 z3 l
  384. ; How many GET/POST/COOKIE input variables may be accepted  a4 C. F8 r' l( j0 Q1 G
  385. ; max_input_vars = 1000! l* O% j& R# [! c
  386. * j6 ~% d6 X! L+ T. r5 j* V
  387. ; Maximum amount of memory a script may consume (128MB)
    8 B+ E; k8 I. C. V: r3 g
  388. ; http://php.net/memory-limit
    4 j* Y; X0 {9 V" X0 g
  389. memory_limit = 128M4 P: x# o: H1 Q7 m1 m
  390. . n% l3 j' e# ~
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# a$ H; b9 b! J/ f8 ^: _% B
  392. ; Error handling and logging ;; u, y% V7 |( Y% `
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 C- J* o! i3 a2 f+ p' T1 k

  394. % C6 O! ?" g1 ^$ O
  395. ; This directive informs PHP of which errors, warnings and notices you would like3 B# N) Z  m- e
  396. ; it to take action for. The recommended way of setting values for this
    4 X4 B) E2 F  ]- G
  397. ; directive is through the use of the error level constants and bitwise
    ) H$ i# F/ K# Y4 c, u9 G
  398. ; operators. The error level constants are below here for convenience as well as4 O: I7 b7 ~5 r# g, _+ o
  399. ; some common settings and their meanings.
    : \2 x5 l. ^+ l$ e/ U9 L( i8 t
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT; x0 {& i  a* j8 A$ W' u1 m
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and) q2 t0 x6 a# \8 }
  402. ; recommended coding standards in PHP. For performance reasons, this is the7 }6 ^+ u) ?; Y% K* [
  403. ; recommend error reporting setting. Your production server shouldn't be wasting. Q* R, r! m1 W7 K! ~" @  |
  404. ; resources complaining about best practices and coding standards. That's what
    3 s2 @0 D) Q3 s# ^/ q
  405. ; development servers and development settings are for.* U/ K# x; ?3 q# p
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( h, `2 ?5 ^: q6 s2 k+ A
  407. ; means it pretty much reports everything which is exactly what you want during
    - i" X' W: \! C. M& s3 y
  408. ; development and early testing.
    . E, i9 ^: z1 |6 [6 S' u2 Y* U+ h5 e
  409. ;
    , E( o% f$ I8 \* q3 [
  410. ; Error Level Constants:3 f0 W2 l/ _) {( I
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). L- o( w, [: y+ f$ N& V* U9 A( v
  412. ; E_ERROR           - fatal run-time errors
    ; m* w. }' N: e* ?9 ~6 M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors) T8 G! u- ^- H
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 \3 i: v: `. i7 b& n/ ]9 \
  415. ; E_PARSE           - compile-time parse errors! U6 k0 k7 F2 z$ u* B! {
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    . R( R' [  H9 a2 u8 U! H6 n
  417. ;                     from a bug in your code, but it's possible that it was
    5 o6 N& L  s, A7 t6 x+ M1 j
  418. ;                     intentional (e.g., using an uninitialized variable and
    % D- q! p" d/ f, D" e: c3 E
  419. ;                     relying on the fact it is automatically initialized to an5 k4 |+ Y* W& F; M8 ^
  420. ;                     empty string)9 O- ~2 J# z9 H5 f, p4 N' q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes3 d0 c, e: Y5 S/ u) A9 Z- l8 F
  422. ;                     to your code which will ensure the best interoperability
    9 ?5 R4 G, `( }4 O
  423. ;                     and forward compatibility of your code$ g2 r) w2 h1 `( M5 @7 J( ^
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    1 I2 L  B3 e/ g
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 X( `4 b  m6 w$ C% U2 M
  426. ;                     initial startup+ q+ c! p  u! u
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    3 A7 o& D6 N- r; r  z7 @  X
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 f  I& s% c* g. p) z
  429. ; E_USER_ERROR      - user-generated error message
    3 u1 g5 h$ [. n4 V3 B2 W4 S& y
  430. ; E_USER_WARNING    - user-generated warning message3 n' x' |* [  f
  431. ; E_USER_NOTICE     - user-generated notice message7 x/ V0 {* V6 s7 V7 }9 X- s
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    3 x1 b- e. A# a0 A- `1 b
  433. ;                     of PHP
    8 O2 K5 @7 f) f8 d7 E+ q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    , [/ r& V) l& y$ l  |
  435. ;
    / j& z0 y" j! Y: d  |" N
  436. ; Common Values:
    + k) p* Y6 a) U; @
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    * m: Y- H& K# T# T$ x1 r$ p
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    % `4 u4 I  g4 E; ]& s  w
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* j$ C. e: z  y7 A( h0 {, n% a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    2 |9 s# Y  _8 j; n3 P9 l
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' K8 H- v  a& J3 k/ u) l
  442. ; Development Value: E_ALL; `' S  O1 t" m; W
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  j/ _" }) n3 l: {
  444. ; http://php.net/error-reporting
    " B) B1 q9 x0 s
  445. error_reporting = E_ALL & ~E_NOTICE$ }$ i9 T( f2 `# ]+ G( _

  446. 8 E% Q8 t, E! F
  447. ; This directive controls whether or not and where PHP will output errors,$ m+ Y# \! p/ D6 u
  448. ; notices and warnings too. Error output is very useful during development, but
    - o8 r3 `& o+ I) G+ g: [# f0 b
  449. ; it could be very dangerous in production environments. Depending on the code
    ( w4 q- T- o) k- \% @
  450. ; which is triggering the error, sensitive information could potentially leak
      f+ P+ R, W0 X$ \2 V+ P
  451. ; out of your application such as database usernames and passwords or worse.
      e4 c! T( |3 b, |# H4 J
  452. ; For production environments, we recommend logging errors rather than' {# r# i7 k* A7 N- w8 U0 V
  453. ; sending them to STDOUT.
    / A! i3 r8 j8 J+ W( R, f
  454. ; Possible Values:  A+ v9 P* M9 I  ~. M. }1 o2 i
  455. ;   Off = Do not display any errors+ t7 f8 O+ Y& u" L: B: w2 G2 Z- |  y
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    : L2 U: d2 N& C, i) i% h
  457. ;   On or stdout = Display errors to STDOUT7 k& @0 p' n; ]" t5 A' S/ |2 A
  458. ; Default Value: On' T+ C( i2 H  b
  459. ; Development Value: On
    7 ]5 O2 {( S  u! G" |
  460. ; Production Value: Off
    ) ?; m0 ^9 a0 F- m9 Z3 y% X! o# F
  461. ; http://php.net/display-errors
    $ @" S- `9 B& C/ F- e: ~
  462. display_errors = On
    ' L: Q/ O+ \# t: }
  463. 3 T  |: t. W  p
  464. ; The display of errors which occur during PHP's startup sequence are handled
    & S) Q* S( I# v, J# i
  465. ; separately from display_errors. PHP's default behavior is to suppress those. P5 Z7 j# E' E
  466. ; errors from clients. Turning the display of startup errors on can be useful in  s9 O/ u- y2 ]0 E+ y4 a/ X0 j
  467. ; debugging configuration problems. We strongly recommend you1 h8 T0 v- {# j/ N% K
  468. ; set this to 'off' for production servers.
    2 |% r# j2 s, _3 ?* E
  469. ; Default Value: Off0 {( e( l. p) C
  470. ; Development Value: On
    8 v0 Y7 b9 k- j/ I( j0 I
  471. ; Production Value: Off
    2 A6 t& L3 W& O* n9 G
  472. ; http://php.net/display-startup-errors! K- r/ q% @3 ?( A0 K& J$ M& ^
  473. display_startup_errors = Off" w. y' _- `5 m/ m  C1 u  w! O, Q
  474. ! D0 L' u6 c3 N6 N, H7 H
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    2 @' w; r" u9 S/ Z" j# ^, t+ |
  476. ; server-specific log, STDERR, or a location specified by the error_log
    - a/ K5 g# M- Z
  477. ; directive found below. While errors should not be displayed on productions( G5 z3 P3 S- U: k; @
  478. ; servers they should still be monitored and logging is a great way to do that.
    9 r) [, D+ E  L
  479. ; Default Value: Off/ x0 V6 l+ a: T. s
  480. ; Development Value: On
    2 U! g. c9 n5 k7 m3 `' ]% r
  481. ; Production Value: On, X: W# S/ w: `  u" t
  482. ; http://php.net/log-errors
    ; [! N+ ?" e2 g! ~/ n7 |6 s5 f
  483. log_errors = On
    % `1 \5 E- d& O0 o& m8 z$ V

  484. 0 i8 L" F$ Q2 ~$ b' Q# h+ n4 ^% c
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ' E) P; D8 V* C; @& {
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / D9 O' P1 Q8 [& q, [
  487. ; http://php.net/log-errors-max-len: |3 B" w( b9 [8 d5 o1 ~/ p- F
  488. log_errors_max_len = 1024! x* E7 q1 l( z) J' `9 }

  489. 7 K% C% `' j( ~" J- a* \
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same  X, N) S5 f/ f: E/ M
  491. ; line unless ignore_repeated_source is set true.+ ~) S1 L- F0 V! p9 V3 v
  492. ; http://php.net/ignore-repeated-errors
    ' X0 P2 g! A) r. F1 Z) t
  493. ignore_repeated_errors = Off
    ) Z# X. Y! h. n0 S& q0 {9 J
  494. $ }, _& H3 P( `+ t; i4 n% y
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    3 ^: w5 F9 g; \# J& Y
  496. ; is On you will not log errors with repeated messages from different files or
    , {& ]* M7 y$ }
  497. ; source lines.
    7 c& f9 w# @) H& y4 R" b& L
  498. ; http://php.net/ignore-repeated-source
    / j& s5 ?0 \. v; I( C5 \# x) \7 c
  499. ignore_repeated_source = Off8 r6 W* _& D! F1 J. ~6 `, a" i5 _

  500. 4 i0 ?5 S* e- @
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on0 z( H) k# }' u$ k8 G
  502. ; stdout or in the log). This has only effect in a debug compile, and if1 _" e- N9 W- d, l- F1 i% N6 ~3 r
  503. ; error reporting includes E_WARNING in the allowed list
    & h2 P- V1 E  P
  504. ; http://php.net/report-memleaks6 {4 q6 A( O. [; H& z* z2 l5 j
  505. report_memleaks = On2 ?9 d/ W+ p4 u- o& \

  506. ! B+ U( n/ U& A, r5 r
  507. ; This setting is on by default.
    * k9 i/ L( L' X$ ]' g0 z0 x" g
  508. ;report_zend_debug = 07 m" n3 a9 ^( x' C; J( `" a4 D1 h
  509. 0 Z0 e: N; X: P( {, Q* j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value( w5 t+ ~" a: f; T
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    - C! Y1 S0 n# U5 Y
  512. ; however be disabled on production servers.' x5 s% y. M( f
  513. ; Default Value: Off& ^9 L2 `- j1 U) u
  514. ; Development Value: On
    1 x* n: U" s( c! F6 r
  515. ; Production Value: Off, U% x. v8 P( }6 b
  516. ; http://php.net/track-errors
    ( k, ~; T- x' U+ I9 t- i
  517. track_errors = Off
    2 W3 g) v; M. t; N, {$ X$ Q$ P! f4 O
  518. 7 q' x- W( w: o3 }) [
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    " g# h9 \# S5 Z/ Y$ Y
  520. ; http://php.net/xmlrpc-errors6 B, i2 Y" c0 X# k
  521. ;xmlrpc_errors = 0
    , _8 f0 M9 I! _

  522. . E- `/ \; G' f5 E
  523. ; An XML-RPC faultCode
    / F8 L# Q1 P2 j
  524. ;xmlrpc_error_number = 0. Y& V3 ~1 S% N( F& i$ R  B- e

  525. . n8 L, g' A4 \4 J' i0 L2 T% o" O
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    + t; @) I8 u! }# ?/ \9 d) ~
  527. ; error message as HTML for easier reading. This directive controls whether" B7 w9 c. ?' u: _8 R* k
  528. ; the error message is formatted as HTML or not.- e$ ]7 D% M  V( Y
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; n. H& }- ^& p; ]. f) M4 Q5 D- X
  530. ; Default Value: On
    9 A* ?( k3 w3 {0 f, q/ M+ ]
  531. ; Development Value: On
    + S% ~) t2 I3 l% G$ ]
  532. ; Production value: On$ u6 Q5 R) F  Z1 d# t
  533. ; http://php.net/html-errors2 h% G6 Y% l# e6 D: F
  534. html_errors = On
    * c6 Z& [  c; F( n6 _( @9 K" a

  535. ! R- ]& G4 m/ X& x
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    7 g% y, R: g& c! T! L
  537. ; produces clickable error messages that direct to a page describing the error( {9 t* r9 f# B8 u
  538. ; or function causing the error in detail.
    6 _  |: Z5 w  Y
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    & e0 ?9 r; Q$ n8 e, i$ i: G: K
  540. ; and change docref_root to the base URL of your local copy including the
    ) R5 [* A/ L5 [0 O. x
  541. ; leading '/'. You must also specify the file extension being used including  l9 ]1 q- G. t4 w. M1 H. @+ H
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which$ C; {% v; o  d) Z( B. A! S
  543. ; case no links to documentation are generated.
    $ J- y3 K; ?0 `4 T
  544. ; Note: Never use this feature for production boxes.
    . D% G1 \/ K' g* c& [- X
  545. ; http://php.net/docref-root; Y6 x  N1 T" B6 `
  546. ; Examples) P2 c: N% A5 v; T
  547. ;docref_root = "/phpmanual/"
    5 q" y; O( C5 Y: _$ {& T
  548. . @0 P1 y5 {4 z
  549. ; http://php.net/docref-ext/ X$ Y/ Y) q% a) p. n
  550. ;docref_ext = .html/ L9 P. Y& J0 S
  551. / p, h+ b, q/ Y  T- q9 H& E
  552. ; String to output before an error message. PHP's default behavior is to leave' ], A" W4 @  H
  553. ; this setting blank.
    & U% H. y$ H; P* C; x5 F8 r- e
  554. ; http://php.net/error-prepend-string- P' z( s8 x: z- g( Z2 u$ x
  555. ; Example:7 q3 L6 ]6 D7 ^
  556. ;error_prepend_string = "<span style='color: #ff0000'>"& B, u; u- |& F5 O% r# B7 r8 |9 o
  557. ) F  J- \5 V% d" e. C4 h
  558. ; String to output after an error message. PHP's default behavior is to leave7 p& ]3 U1 J3 N, m" {" Z9 r
  559. ; this setting blank.$ j' {% H* z" V4 U2 R3 G0 `
  560. ; http://php.net/error-append-string4 e  w& _; d) I+ I
  561. ; Example:+ A! H( S& l6 `; _5 f
  562. ;error_append_string = "</span>"/ W0 U+ y9 w  v9 d7 r" U

  563. ; ^% W! H2 h5 ?; H/ K9 v
  564. ; Log errors to specified file. PHP's default behavior is to leave this value) w7 P1 \% b& y/ k4 r) X6 v! N
  565. ; empty.
    ! W# Q5 r2 E9 Q
  566. ; http://php.net/error-log8 ?6 N1 U" G3 a$ b- m
  567. ; Example:
    7 f( c* U; U% G2 E* P
  568. ;error_log = php_errors.log# Z3 B) m+ X  V& I9 U* f3 a
  569. ; Log errors to syslog (Event Log on Windows).
    / A* T# Q' K+ y9 r
  570. ;error_log = syslog
    ' }) M) w5 z2 |6 |
  571.   d! Y# g) a$ l; ~: ~4 l
  572. ;windows.show_crt_warning4 a8 D  i; z7 l( ^
  573. ; Default value: 0) ^4 o' q" u" O9 e$ N: Z
  574. ; Development value: 0
    4 G+ F5 o6 o7 k# T; B$ h  [9 s2 |
  575. ; Production value: 0
    0 X( r5 f# T! {+ G6 ^' k

  576. : ~/ A' V2 l8 f3 T, J% ~3 }
  577. ;;;;;;;;;;;;;;;;;# z1 R0 v9 y8 |3 S
  578. ; Data Handling ;1 v! i6 q4 n% }  p* S, Z6 h
  579. ;;;;;;;;;;;;;;;;;
    7 B$ ^7 y0 x8 w, v$ J3 W9 g, U
  580. 8 f, a- R. D% ?1 f6 K- x  C
  581. ; The separator used in PHP generated URLs to separate arguments.
    9 ?1 ^+ I0 G3 H9 z- D
  582. ; PHP's default setting is "&".
    8 M& k* r- r9 @0 T: p3 X
  583. ; http://php.net/arg-separator.output
    . O/ d/ D" i% F* E, P* h
  584. ; Example:
      K" V5 e( _* n" Y, T
  585. ;arg_separator.output = "&"& k/ ^9 @6 _# Z+ i& V
  586. " N! c  k4 C9 R8 [& s" O9 E0 t4 e
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    . v2 O9 u3 w2 ?9 g
  588. ; PHP's default setting is "&".2 t* L- M$ j" n: X
  589. ; NOTE: Every character in this directive is considered as separator!" r2 r* v6 h( V! D
  590. ; http://php.net/arg-separator.input# g6 i' n% u! [# Y$ k( q* L* L
  591. ; Example:
    3 R+ x, x, K0 C9 B  E/ Y3 Z
  592. ;arg_separator.input = ";&"
    9 r% E7 D& g# J+ t# W4 U6 W* z: V
  593. $ V6 H- _* V9 v5 F- R( a
  594. ; This directive determines which super global arrays are registered when PHP
    * M( s+ M% ~1 {9 \# o# A9 P
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super4 P. O' v- y% r; s- ~' N$ i# M
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 j6 j# m  G+ N5 o7 [
  597. ; paid for the registration of these arrays and because ENV is not as commonly- a8 n( _* v$ H4 m& `5 o/ D7 N
  598. ; used as the others, ENV is not recommended on productions servers. You4 s! `: R8 V+ w3 B1 N( [) ?
  599. ; can still get access to the environment variables through getenv() should you" i. B5 R8 M9 m& R+ j
  600. ; need to.
    * n0 a/ Q1 U, y3 x+ }2 W0 V2 a
  601. ; Default Value: "EGPCS"
    $ O& i5 m2 ?3 R" I' [3 F! J
  602. ; Development Value: "GPCS"
    " ]& I. U, C9 o8 U% f
  603. ; Production Value: "GPCS";
    & u4 Z( R2 I0 ]
  604. ; http://php.net/variables-order6 N% @- r( ]/ N8 W* v0 v" v
  605. variables_order = "GPCS"
    9 h% ^; I  p1 [0 @! S
  606. 1 x; _2 ]0 q, S0 w+ G& D  H
  607. ; This directive determines which super global data (G,P & C) should be; d; l  l$ R- C9 t% w* Z& ]$ u
  608. ; registered into the super global array REQUEST. If so, it also determines5 V9 ~2 C1 g+ l0 H
  609. ; the order in which that data is registered. The values for this directive
    3 @- `$ E, k: C1 u! g  E4 }
  610. ; are specified in the same manner as the variables_order directive,
      p/ ~3 c& @( g0 z' @
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set; m3 r& J( V6 B: \) w
  612. ; in the variables_order directive. It does not mean it will leave the super* G6 C$ _- }! q2 w: G
  613. ; globals array REQUEST empty.- Y! L' G  m& \7 t& E  t
  614. ; Default Value: None- L" H/ Z( b0 L' D2 J. Q
  615. ; Development Value: "GP"
    ! h( H1 T+ h$ l# ?
  616. ; Production Value: "GP"
    ' M$ f9 o0 `0 Y' T" K$ z! z) Q1 y& N
  617. ; http://php.net/request-order
    7 H6 _3 s3 |/ J. N& y& j
  618. request_order = "GP"
    7 v: _0 R/ k( _' T1 ]' S" d( o. b

  619. $ I$ b$ a( v6 E: e6 S/ i* O; C
  620. ; This directive determines whether PHP registers $argv & $argc each time it2 n# V- Q3 l5 F+ E9 V
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
      h8 s" K1 @8 z6 B6 {
  622. ; is invoked. $argc contains an integer representing the number of arguments7 Z3 b1 i7 N: g
  623. ; that were passed when the script was invoked. These arrays are extremely
    ) ]5 h* Z! I' j% i! M
  624. ; useful when running scripts from the command line. When this directive is
    % w  J. x* X. N9 z$ i/ Y  C1 U7 l1 m
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 B- `" n/ K; I2 s& }1 v
  626. ; a script is executed. For performance reasons, this feature should be disabled
    7 c" [- h8 @" A0 N. k
  627. ; on production servers.
    ' J; C: [& p8 U0 L9 c- m9 j
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) }9 o% r+ r8 y/ c
  629. ; Default Value: On
    9 g) r/ p" v# e1 u1 G; C
  630. ; Development Value: Off( s& c9 D4 ~5 u+ ^! u  l  d
  631. ; Production Value: Off- ^6 F2 z1 i  o" U
  632. ; http://php.net/register-argc-argv9 u- r1 u- b: Z
  633. register_argc_argv = Off+ |) g! Y6 I# d! Y

  634. ; S' m5 k+ `) f5 m
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 p% U. {3 y8 ]- E
  636. ; first used (Just In Time) instead of when the script starts. If these4 _! H* q! _) T' u/ u
  637. ; variables are not used within a script, having this directive on will result
    . d6 n% h* D9 G4 U' ^5 w
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # ~% R& e, {! R1 N( O/ Y
  639. ; for this directive to have any affect.8 d; `$ X* ?3 a- k
  640. ; http://php.net/auto-globals-jit7 |$ Z' p+ _. P5 Q) d9 D
  641. auto_globals_jit = On( @' e5 D8 b( L) ]# J" C2 U0 L
  642. / k4 q# `$ h* i3 m
  643. ; Whether PHP will read the POST data.# S; Z6 X* j$ i3 Q$ Y4 o
  644. ; This option is enabled by default.
    ' `3 e- p. R% ~5 u+ [% s3 n
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST9 J% a4 g9 ~, L+ @
  646. ; and $_FILES to always be empty; the only way you will be able to read the2 E& f) D5 l8 h: Z- w
  647. ; POST data will be through the php://input stream wrapper. This can be useful8 W+ I3 L9 X- X- U0 H; L
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.  I4 I7 n9 p/ @/ Y$ q. F
  649. ; http://php.net/enable-post-data-reading
    5 f7 a( g8 o: y, K( T( p
  650. ;enable_post_data_reading = Off
    # Y* @/ i* c* w( [+ M- p

  651. 5 F& `) [, _+ B, }
  652. ; Maximum size of POST data that PHP will accept.
    4 ^& z0 t. C% w, N- b# d$ }$ Q1 D
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ( U: ?- H1 a1 G% K6 W
  654. ; is disabled through enable_post_data_reading.5 U* M. I8 h' D% C
  655. ; http://php.net/post-max-size
      Y) z3 _% H) ]3 U* ]3 \+ z
  656. post_max_size = 50M
    ) `4 A  ^9 B+ _* }- T& ]: V

  657. ( V$ s9 U4 L0 S: _; e  b* o& }  R+ Q
  658. ; Automatically add files before PHP document.
    / U8 k, w9 h1 z& r
  659. ; http://php.net/auto-prepend-file6 s- K- W  b9 p# A1 _  b0 N
  660. auto_prepend_file =
    2 i9 M* e  l: u2 q2 w1 R

  661. ! ^# B2 @5 w8 P) {
  662. ; Automatically add files after PHP document.
    - t2 u( x6 g  P8 r; K: |
  663. ; http://php.net/auto-append-file1 P% X5 E1 F: a; \  R
  664. auto_append_file =
    ( `+ k  r9 @/ [+ t2 {$ W: G: |7 O
  665. 1 {1 b9 ~" S, e& ?5 B
  666. ; By default, PHP will output a media type using the Content-Type header. To
    - _! u5 q' S' K7 Z- d
  667. ; disable this, simply set it to be empty.
    & t! h) j  [' j4 T, L  c
  668. ;
    5 i' d% v6 h, a0 g( b2 V; h$ p8 J/ y& e
  669. ; PHP's built-in default media type is set to text/html.
    . p) X" g$ {6 _9 S5 e! e
  670. ; http://php.net/default-mimetype
    6 d4 t2 w( n, L0 a8 E
  671. default_mimetype = "text/html"1 b5 ^# b, N, f& }* f
  672. ' U2 X7 _8 F& Z& v  C4 ^
  673. ; PHP's default character set is set to UTF-8.
    # U. i, N0 d7 _7 B
  674. ; http://php.net/default-charset
    / @, ?& M1 `4 ?3 E/ E. u
  675. default_charset = "UTF-8"8 y5 Z6 Q# T9 O: G
  676. 1 p4 V3 ^8 b- ~, a
  677. ; PHP internal character encoding is set to empty.( S; p9 c  p" t7 F$ N* ?
  678. ; If empty, default_charset is used.
    7 v2 G- q, Z1 w8 @  U
  679. ; http://php.net/internal-encoding
    - D3 T, C4 M" ^7 V, I- v
  680. ;internal_encoding =
    8 A9 W; E7 \& L
  681. ! `  W' x" |- A, m$ ~7 a# C
  682. ; PHP input character encoding is set to empty.8 x8 O/ |( m; f' {& M4 E8 j/ k
  683. ; If empty, default_charset is used.
    2 f9 M" g# ?* F, D2 c# |
  684. ; http://php.net/input-encoding
    0 Y0 \! s. r8 O9 ]+ m
  685. ;input_encoding =
    : x. P  r! _+ ^$ A: E. q

  686. , Y8 T; D( h2 E
  687. ; PHP output character encoding is set to empty.
    5 u( S6 a* K" n" e
  688. ; If empty, default_charset is used.
    # Y4 e- j' I  n* N+ C
  689. ; See also output_buffer.
    5 t+ Q( K0 w, J
  690. ; http://php.net/output-encoding
    0 S8 w, H7 k' E8 z
  691. ;output_encoding =
    / c. e( S; |0 _9 g* t" Z
  692. 3 y9 j8 M0 I$ [
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    5 @4 Y* k7 m% j$ R
  694. ; Paths and Directories ;( y$ Y( V! D& o+ I! ^& [
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;; r; o+ q8 O( ]4 \9 \' }
  696. ) x* [* j; ]9 A% }
  697. ; UNIX: "/path1:/path2"
    5 }8 L( i! H* J$ M/ e+ k
  698. ;include_path = ".:/php/includes"
    % s, M* G3 Q! x( H) f# m
  699. ;( M  ]* t, l# \* F& ]
  700. ; Windows: "\path1;\path2"
    0 ]7 J9 z- j9 b' @- v
  701. ;include_path = ".;c:\php\includes"4 Y2 b! k8 a9 J# B, y' V# ?0 C
  702. ;
    5 u# \8 _/ u- H( W  r
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; C" p" {: }4 n# ?; Q2 F
  704. ; http://php.net/include-path
    ! |/ a& Z( j0 `  z, K" B* M' u
  705. " \" j1 \' O: F: e
  706. ; The root of the PHP pages, used only if nonempty.
    + \- c$ j7 Z$ E
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: W/ [4 w+ P7 s
  708. ; if you are running php as a CGI under any web server (other than IIS)0 C: {& ]1 \2 ]. u8 M
  709. ; see documentation for security issues.  The alternate is to use the
    1 L/ P$ Y4 Y4 R5 g! N
  710. ; cgi.force_redirect configuration below
    5 ]) y% @3 ~* c% n
  711. ; http://php.net/doc-root
    - O6 S+ _9 y0 ]' b& `
  712. doc_root =
    + e4 c" D8 i# \: j2 ^

  713. - v6 q2 J9 |- @9 A+ M
  714. ; The directory under which PHP opens the script using /~username used only
    ( A! h; R4 Y2 p) A
  715. ; if nonempty.& i" b3 k$ j+ j. M( j
  716. ; http://php.net/user-dir1 s" T* o: |; g" j6 O9 C0 ~) V" J+ ?
  717. user_dir =
      V7 H( D- w& X# x2 B& U) J$ Z2 {4 Y" e, ]

  718. ( c' j* e* M: |& [+ w
  719. ; Directory in which the loadable extensions (modules) reside.7 P1 ?  R/ Q& P' [
  720. ; http://php.net/extension-dir
    ) N0 [4 i8 _; n! ]9 A
  721. ; extension_dir = "./"
    ! J- d6 R  \* i
  722. ; On windows:+ \$ @- \! @( u4 j
  723. ; extension_dir = "ext"
    * f6 m/ |& N: |
  724. 8 b& S& v' {' \
  725. ; Directory where the temporary files should be placed.
    7 }" F( p0 \% o2 Z' u0 H
  726. ; Defaults to the system default (see sys_get_temp_dir)
    4 C+ g- @. s9 E( u3 ]
  727. ; sys_temp_dir = "/tmp"
    1 {' ~; m8 A/ `/ K* o  q3 V

  728. + H7 ]1 s$ a- [5 R3 K# s
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - c# p+ u$ y/ G# a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 B! F+ B' X3 X' d, k3 h9 s- N3 B
  731. ; disabled on them.1 H0 n; \6 i' }" O) {+ n3 c, V
  732. ; http://php.net/enable-dl
    8 T# j( B' s2 ^3 Z
  733. enable_dl = Off! K- A! E5 W: u& l

  734. / \+ M5 _; l5 q4 w
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    1 P  `; c. F! g+ s5 I+ `4 S  E8 F
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can5 o% Z( t' H, ^3 e( Z2 L% ^, X
  737. ; turn it off here AT YOUR OWN RISK, O# v% g  r( ]
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    2 a$ [* V* J& l; I9 [6 O
  739. ; http://php.net/cgi.force-redirect1 N' w" S# u0 w* X0 G
  740. ;cgi.force_redirect = 1, Z/ o, C- E4 ]9 c0 K! k

  741. . ^4 A- V: r0 }" z/ Z8 N
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    " N8 P, P. W" \0 _- o# q  a$ T
  743. ; every request. PHP's default behavior is to disable this feature.
    ' C& m( a7 l! @* s+ M. T+ @0 }3 F9 |
  744. ;cgi.nph = 1( T4 G$ r; ?4 g" p, J

  745. ! M/ o! K- l* D. B
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
      A' q, t8 h- s) M
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% f) Z. n6 A  i6 k' C& ?) @  a3 [6 {: k
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY7 m# X& b( l5 {2 l
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! m% E! l# L% ?% ]% b9 ~2 K
  750. ; http://php.net/cgi.redirect-status-env+ F% X& E7 T- C' G6 e. ^
  751. ;cgi.redirect_status_env =& D/ O# \: s) [: e

  752. 9 F0 Q) g: k8 }7 r0 Y
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 M# q6 e# `5 z  |, H* ~
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok7 U* v& G1 }+ ^  g2 V
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ( o( c6 X/ ?3 ~9 D+ W2 \# V
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting) B' c. b: L9 g) _$ y! h
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    - u9 D7 J' {' R8 R  i  F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    % v6 r* [0 D3 w5 ?& M* \# E( n
  759. ; http://php.net/cgi.fix-pathinfo
    0 ]" o2 M0 y9 {5 u  I# I) r1 [" G
  760. cgi.fix_pathinfo=1
    + @# E% v! i; \2 H( ^6 N6 U

  761. 2 I) `# a( K6 x! Y
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside$ d9 k# U, l  g- c
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) F1 ?8 m! C0 T
  764. ; http://php.net/cgi.dicard-path" s0 u% a4 u! c7 h6 ]
  765. ;cgi.discard_path=1
    % a; m2 M" G5 S4 r) i7 |; s  Q' L

  766. ; M+ K, H, O4 x- {6 U( z8 D3 P
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    5 ?9 Q* h" E- w' e9 D' x* a+ l- b
  768. ; security tokens of the calling client.  This allows IIS to define the
    / |% m! ?* Y# b1 d; s' M
  769. ; security context that the request runs under.  mod_fastcgi under Apache1 `; ]; @" x7 c2 |2 |$ _1 ]
  770. ; does not currently support this feature (03/17/2002)5 X1 e/ z7 n. y( ?4 U8 g
  771. ; Set to 1 if running under IIS.  Default is zero.
    5 F5 B/ ^1 b' m& J
  772. ; http://php.net/fastcgi.impersonate
    9 [( a) T/ R( l, N' ?7 X  ^
  773. ;fastcgi.impersonate = 1( i& l8 ^% _& }, t  q

  774. " R! N- P) f% N7 R/ x
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable6 S* Q, z! \( U6 G0 o$ J1 S! H( `
  776. ; this feature.8 E2 \$ \1 {* D4 L
  777. ;fastcgi.logging = 0) `% \' t: A, k: \9 S$ B

  778. 7 A4 ?+ t# D! ^+ x* T. ~9 n4 B3 w
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ) S8 S5 d, E% J0 U0 m6 y
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that' m$ O" }' {- E, d
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    , q4 z3 C9 U2 }, X
  782. ; RFC2616 compliant header.
    1 |' _2 O3 E2 Q% I. d# i8 i) I* w9 P9 e( d
  783. ; Default is zero.
    3 t; P8 s& l8 ]9 b8 C: M. W" f0 Q
  784. ; http://php.net/cgi.rfc2616-headers( |! H7 l0 S9 ^. s) D
  785. ;cgi.rfc2616_headers = 0
    $ T, n0 s& V* v  j3 O( U
  786. 7 y- F; j7 T4 j$ l6 o! T) }8 ?6 \
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!" E& r7 _4 j! M$ C" `! v' v/ l
  788. ; (shebang) at the top of the running script. This line might be needed if the
    8 @4 z% r: ]4 Z! x0 l- E
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 V: c: Y5 b- k# E/ u# F+ b% [
  790. ; mode skips this line and ignores its content if this directive is turned on.) ^# G! g& s! P; g
  791. ; http://php.net/cgi.check-shebang-line! w% g2 h4 |6 Z  T+ Y1 f8 ^& R# J
  792. ;cgi.check_shebang_line=19 u5 B1 U5 @5 {6 O9 g

  793. , x6 l4 j: `3 Z. ]
  794. ;;;;;;;;;;;;;;;;
    ! Y% l7 n0 G1 V6 {" Q
  795. ; File Uploads ;
    ' F5 U  U6 G( L# {7 \
  796. ;;;;;;;;;;;;;;;;  c/ P/ I) ~* \. c+ `
  797. ; g# j) T* b& J* b1 ~2 Y2 D8 }
  798. ; Whether to allow HTTP file uploads.' q5 D- {/ K, O  m- P3 r8 T5 ^1 {( c
  799. ; http://php.net/file-uploads
    8 ?4 b; E9 W, O! T
  800. file_uploads = On
    5 ^; e( O  Y* {3 L6 S! n

  801. 4 |3 d1 X1 y% ~  ?5 O+ B& z1 U0 l4 V3 D
  802. ; Temporary directory for HTTP uploaded files (will use system default if not& q( P+ m& A9 G
  803. ; specified).
    4 M( i7 f. D* j0 m! f* l: z
  804. ; http://php.net/upload-tmp-dir; `' b  g. d5 T' `
  805. ;upload_tmp_dir =$ m% A! n, V; D* s. P" d+ j

  806. ; h% j! [' S0 D" x4 `
  807. ; Maximum allowed size for uploaded files.
    9 D- `1 Y3 I# i/ m0 J- h
  808. ; http://php.net/upload-max-filesize6 U# w7 L0 y. f9 a, ?
  809. upload_max_filesize = 50M
    ) e# Z2 j7 @5 I$ ?+ S
  810. 5 |% g2 w8 e6 |. N* g* I+ E9 N
  811. ; Maximum number of files that can be uploaded via a single request4 N7 I5 h1 |* O1 e- X  C
  812. max_file_uploads = 20) G% ^% P$ I+ u* O- b8 {

  813. " |; g0 S0 ^  I. V$ n  H6 _
  814. ;;;;;;;;;;;;;;;;;;
    7 o5 s5 Q* u3 v9 @$ D
  815. ; Fopen wrappers ;
    5 [+ l% J8 y5 |# `5 U! a# \
  816. ;;;;;;;;;;;;;;;;;;
    ' s) h1 W( P; _$ h% d
  817. - _' o  k9 M9 |7 y3 O; ]- L4 [1 o# g
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    * m. h; _& Q1 R& |; q. x% @
  819. ; http://php.net/allow-url-fopen: e$ ?9 M# I6 T1 q. m; D
  820. allow_url_fopen = On! m0 Z' \  {3 I6 u* M5 ~7 D
  821. 7 V) B7 T3 }; O/ v8 }
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    4 g/ f3 o( v9 B' c' V
  823. ; http://php.net/allow-url-include
    $ R5 o3 r% K) F. O( }7 @
  824. allow_url_include = Off
    * l/ S; e. d4 j* C

  825. 1 \/ U7 C/ `/ y% O
  826. ; Define the anonymous ftp password (your email address). PHP's default setting# t2 t2 ?( C" C0 U
  827. ; for this is empty.& `' A- l4 j. k" ~
  828. ; http://php.net/from
    % K% R% P, M6 b* p, K
  829. ;from="john@doe.com"
    8 g, f+ M; p5 E7 X5 i( s
  830. 8 _& @6 O6 \2 Z; R. \# s
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    " V( U* l. k! x8 X7 e
  832. ; http://php.net/user-agent6 [; O# p: B. D2 w& Q0 D" |
  833. ;user_agent="PHP", o% X* e: x9 U/ l
  834. ; }  D3 }. C& ?6 h4 e0 x% |
  835. ; Default timeout for socket based streams (seconds); |+ d( |/ Y, O  S8 \% X- [
  836. ; http://php.net/default-socket-timeout
    4 D9 B: s4 J0 B: q' C! f- {
  837. default_socket_timeout = 60
    " r. E5 T8 L# Y) g7 v2 u% Y
  838. 7 V/ y2 {- q) l$ A3 @
  839. ; If your scripts have to deal with files from Macintosh systems,0 \( c- N& u% d. F3 O2 N( ]
  840. ; or you are running on a Mac and need to deal with files from
    ) z6 \5 z, m1 a( |* k$ X- R! t
  841. ; unix or win32 systems, setting this flag will cause PHP to
    * X! ^7 m9 C0 i  Y; n8 n) n
  842. ; automatically detect the EOL character in those files so that+ a  o6 m& {. Q  M; d: I' j
  843. ; fgets() and file() will work regardless of the source of the file.
    " M5 A/ p% Q( n7 Z* M$ I% e
  844. ; http://php.net/auto-detect-line-endings
    ' I! E1 ]$ R( N; r
  845. ;auto_detect_line_endings = Off' z7 s6 e( j2 y
  846. & d+ U" G  @. U/ J9 Z% l3 j- ^
  847. ;;;;;;;;;;;;;;;;;;;;;;
    1 i% O0 j2 c- [; f
  848. ; Dynamic Extensions ;+ T+ K$ N7 s2 f/ w! d
  849. ;;;;;;;;;;;;;;;;;;;;;;  z/ p" O. G/ k# L

  850. ( Q7 e+ ?6 a0 Q9 x7 b
  851. ; If you wish to have an extension loaded automatically, use the following( D" e! g- c) \( z3 y
  852. ; syntax:
    ; @7 Y5 Z1 m* K: e5 `, y4 G! @6 c
  853. ;
    ' Y. g; ^5 v  P$ e, A
  854. ;   extension=modulename.extension" p* }. ~, p# t- u
  855. ;$ Y: Z( G( E  }; P$ w) b
  856. ; For example, on Windows:9 E  D% y7 m* w
  857. ;
    - d- s  Q' i. k# @- u
  858. ;   extension=msql.dll
    " i% l* {" X. m4 Y% h4 U+ `
  859. ;
    5 h+ W5 E( Q) z8 E
  860. ; ... or under UNIX:- c# B% u$ z% Z& X3 \5 n* ~* v
  861. ;
    ' S. Y% ^" S  W- Z0 u  T' C- y; c
  862. ;   extension=msql.so
    ! @1 e0 ]# D; S( q) k2 F: `( k1 _  l
  863. ;; }. f! E1 ^; o; n( W2 Q. m
  864. ; ... or with a path:
    / o: e) N+ s6 |
  865. ;
    : y2 T) ^+ K8 \  M$ _: l
  866. ;   extension=/path/to/extension/msql.so; A6 V' A, M$ t5 \3 ~  a7 ~( a
  867. ;
    # |# p5 H$ [- F# i1 s  G
  868. ; If you only provide the name of the extension, PHP will look for it in its3 n: d; [! @' w2 @- c( \0 \& F" |; I
  869. ; default extension directory.6 {! S- J8 t2 o- c. U& i
  870. ;
    3 x, V) K5 K4 K8 V2 R
  871. ; Windows Extensions$ |+ |* T: u" A1 c
  872. ; Note that ODBC support is built in, so no dll is needed for it.+ s8 t4 q! N" y9 ^0 J1 D: D* q
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! c' D* W4 s) C# U' E2 W
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    + P% W* ?/ ]: _3 H( }; Q9 F
  875. ; Be sure to appropriately set the extension_dir directive.3 t8 [9 w4 H# D( o  t" D9 E
  876. ;
    9 o6 X, n( O# E
  877. ;extension=php_bz2.dll
    / p9 h; T3 {7 O, h
  878. ;extension=php_curl.dll4 M' u* z, e- M: B5 t1 ~
  879. ;extension=php_fileinfo.dll
    3 v8 m) a. I0 Y2 d; N) l$ R: H! }) Z+ q
  880. ;extension=php_ftp.dll
    - r+ c' V4 c" V
  881. ;extension=php_gd2.dll' [+ C, @  H' D- ?" k3 a0 J2 v! r
  882. ;extension=php_gettext.dll5 A; \9 E  K# h8 P$ l' ~# P% Q
  883. ;extension=php_gmp.dll8 v( O  A# |9 w0 B; g) W
  884. ;extension=php_intl.dll4 J, q2 I9 }8 H) _5 j# ~1 t+ N
  885. ;extension=php_imap.dll1 J) `5 c; J! x' \  Q; }$ R
  886. ;extension=php_interbase.dll
    $ G  V8 G* s* W3 O* W0 R$ i# X
  887. ;extension=php_ldap.dll
    6 Q; z, p% ^9 O% Y
  888. ;extension=php_mbstring.dll' l3 q! w: y: G; o7 w3 g$ R% j
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it& p3 E) q! f. \- s/ H" u
  890. ;extension=php_mysqli.dll9 L& w+ ], w1 D
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client8 r0 Y, k' h& g! c/ q1 t
  892. ;extension=php_openssl.dll
    ; ~+ ?5 J, N1 o7 d. g
  893. ;extension=php_pdo_firebird.dll8 |, \/ D' `( A, Y0 J
  894. ;extension=php_pdo_mysql.dll
    4 p  Z. b$ O3 d6 ~
  895. ;extension=php_pdo_oci.dll
    0 s. {+ U# {7 V, E) ?
  896. ;extension=php_pdo_odbc.dll
    ) F0 G0 S' |% G' d' E' Y
  897. ;extension=php_pdo_pgsql.dll: ?' ?: s0 y+ P/ W+ e$ Q7 q
  898. ;extension=php_pdo_sqlite.dll
    , g) |# Q( ^9 Q+ N' Y
  899. ;extension=php_pgsql.dll
    $ \7 x( b2 X# a( m0 U: x5 [3 K, z7 C
  900. ;extension=php_shmop.dll( G) [0 a: ?( W  u

  901. $ P! @( D- A$ s6 {% R3 `
  902. ; The MIBS data available in the PHP distribution must be installed.: I9 v; C2 @' E
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    & D4 G- H4 z+ ?1 @, p
  904. ;extension=php_snmp.dll6 ^. W3 ^  T5 c+ v7 A
  905. ! j9 F5 {5 W" K0 ]& g
  906. ;extension=php_soap.dll
    & V/ _& Y9 o6 `9 ?, _8 Y4 z0 C
  907. ;extension=php_sockets.dll6 x4 {! v' D# d! Q: T& D; W. I! o1 n( T
  908. ;extension=php_sqlite3.dll, }! h: {" J9 l- p/ C0 K
  909. ;extension=php_tidy.dll
    - `' `/ z% k" h
  910. ;extension=php_xmlrpc.dll+ j! i, _! Z5 r0 Q: m% D" k% B' f5 N' V
  911. ;extension=php_xsl.dll) B) f9 Q' a! T

  912. 2 A1 b7 q1 {6 R6 S: v7 o- H
  913. ;;;;;;;;;;;;;;;;;;;
    3 f+ F5 n0 F8 Q8 u9 n
  914. ; Module Settings ;
      v2 W; ]0 W8 i( V
  915. ;;;;;;;;;;;;;;;;;;;
    ! i' M2 l- N, @
  916. 2 m0 {7 W3 s7 g5 Q: c
  917. [CLI Server]
    1 o# l1 V/ H% f; g  q) X2 n4 I
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.! o4 u0 B( @/ s6 G3 p/ a
  919. cli_server.color = On
    ; z: m) ?' ~  g3 h( ?' G
  920. ( r2 Z8 p6 U4 b/ b# D: [# D
  921. [Date]7 S8 t+ A1 M3 p3 O/ s7 Y
  922. ; Defines the default timezone used by the date functions5 A$ P) Z( f% |# K: R
  923. ; http://php.net/date.timezone' X8 a, q. t8 l) h0 c. d1 z
  924. date.timezone = PRC
    & ?& Q6 ]) a7 g) J, Y8 ]

  925. 5 ~6 c. ~3 u# g
  926. ; http://php.net/date.default-latitude- F8 E' F7 L' ]0 J; U$ |$ t( R
  927. ;date.default_latitude = 31.7667  O2 u$ V8 Y; J
  928. * A" n; c0 {6 {3 l; f2 A9 u/ I
  929. ; http://php.net/date.default-longitude
    8 A" N$ {: t& i
  930. ;date.default_longitude = 35.2333$ \6 ~; b8 Y3 ~

  931. ) Z. C" d3 n1 v5 B
  932. ; http://php.net/date.sunrise-zenith0 Z: i2 I# {( M# P% x# i/ X
  933. ;date.sunrise_zenith = 90.583333
    / c  s5 R2 M* X  ]1 S

  934. 9 {$ e  x! N* n
  935. ; http://php.net/date.sunset-zenith
    ' H+ I' s" ?0 b! y
  936. ;date.sunset_zenith = 90.583333
    - t5 q+ i: t, e, n1 [; f! j, ]
  937. # S- V1 d! Y2 Y5 j0 l/ Y, U$ o: K8 R
  938. [filter]6 o8 ~0 ]8 [( m2 {3 x7 ]9 M$ k! q
  939. ; http://php.net/filter.default% I) {; `! q+ ~9 @. ^; A( P
  940. ;filter.default = unsafe_raw
    & r. z" R, ~$ W% _3 O# G; _! w

  941. 9 H8 K7 X  C" X9 K$ _% w+ |
  942. ; http://php.net/filter.default-flags0 ]1 D: u3 F) M% M0 k) y
  943. ;filter.default_flags =" L4 d1 ]1 P. i/ Y: P

  944. 9 R/ {; {6 N5 F
  945. [iconv]6 z' O# r' G% N' N# |8 C4 \
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.) m4 A1 B1 D7 Y6 E$ }. w
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    % _6 v0 V8 ?1 l1 K+ s0 ~4 N
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- _" b, e7 G) P
  949. ;iconv.input_encoding =
    * x6 R( i5 E0 u" G, h3 u

  950. * ?5 I( ]7 N# B/ c$ d2 U! `
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 m+ q+ e$ j; N2 u, K/ a
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! D8 h% W8 @, S3 f6 v. m
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& c" r- {, G) s+ r3 _
  954. ;iconv.internal_encoding =
    + c; }) k% T( X& l2 |4 D. h
  955. ( l" Q) g! x$ w6 B* H) Q. g$ z
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ V% |- s2 c8 O+ p4 X- M7 H
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * I8 c! {8 X  E1 P4 l
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding, J8 ]9 H, l- h: n' c/ w
  959. ; To use an output encoding conversion, iconv's output handler must be set* A7 J. q7 Y" j9 I+ O
  960. ; otherwise output encoding conversion cannot be performed.. q  H1 {# t( J+ u" N2 G
  961. ;iconv.output_encoding =
    * W9 C' a1 F4 \+ w8 C5 U

  962. ; [" _6 _1 U4 f1 H6 P2 w' k: D
  963. [intl]
    . H# y# n" K3 g0 k- w5 \2 _  ^4 L
  964. ;intl.default_locale =1 e( e7 c( b4 U/ }5 h
  965. ; This directive allows you to produce PHP errors when some error3 ~6 J- R3 s) I6 e7 o
  966. ; happens within intl functions. The value is the level of the error produced." i  [+ u9 Y! o" w6 B
  967. ; Default is 0, which does not produce any errors.
    8 _! c1 f$ }" @1 N# @/ X
  968. ;intl.error_level = E_WARNING
    * p( O1 G  T4 H6 {4 G" x) E) t
  969. ;intl.use_exceptions = 0
    ' }6 V8 t( R! b

  970. ; w3 q% u# S; v" |
  971. [sqlite3]8 N  O) J6 r$ k4 |2 Z+ ~) x
  972. ;sqlite3.extension_dir =
    8 L6 q1 g0 i0 }1 H2 w

  973. 2 d) P# T3 s" H! ]) a
  974. [Pcre]# o1 ^! {( @$ ]7 }
  975. ;PCRE library backtracking limit.
    2 D  B1 y7 A7 \. ]; n9 e% E
  976. ; http://php.net/pcre.backtrack-limit2 V% u1 O. s; B, a  l2 J
  977. ;pcre.backtrack_limit=100000
    9 A! Q# \0 w. z" i

  978.   [5 y5 x; C5 C, i9 T) t
  979. ;PCRE library recursion limit.$ h  l+ P- _& X' ]6 J
  980. ;Please note that if you set this value to a high number you may consume all5 m' A, ]( C# Z, d- v
  981. ;the available process stack and eventually crash PHP (due to reaching the
      }9 ?7 o* z4 @
  982. ;stack size limit imposed by the Operating System).. A& @* t+ y  }1 f% C' h& I, Q
  983. ; http://php.net/pcre.recursion-limit
    9 D) G) x  N7 C- u$ n2 M' h
  984. ;pcre.recursion_limit=1000008 @% x9 G9 ]9 y$ }
  985. 4 b4 i( x0 v7 h/ U4 c  B
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE9 e+ H3 X9 c+ ^2 y: o# g
  987. ;library to be compiled with JIT support.
    + `& O. C! Z0 _- P
  988. ;pcre.jit=1# l2 Y! r3 |) Y* _- u* b; n/ {

  989. , b. d. ]8 a  H
  990. [Pdo]* w- p8 o7 e+ _; |% r7 K
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / j/ {1 ^! B* u. p- [  f
  992. ; http://php.net/pdo-odbc.connection-pooling
    0 a( y% ]1 \- q3 f- r, P
  993. ;pdo_odbc.connection_pooling=strict, z1 |5 p- X, K' _

  994. 8 u5 h8 j$ C! S, q. M3 ~4 j
  995. ;pdo_odbc.db2_instance_name
    8 ^# h( B$ r- c+ ~, H6 P& c
  996. / d# D7 l- A3 Z
  997. [Pdo_mysql]
    4 t, [. c4 B' r4 [0 j+ T  }1 I
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 n# B4 x# d$ U# A" f+ F
  999. ; http://php.net/pdo_mysql.cache_size' @7 B& ]; a" o- s% P
  1000. pdo_mysql.cache_size = 20002 s' O3 s) ~- y7 _
  1001. 4 i, ?8 Y5 ?* r. [' a
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 e/ o& ~. e5 F" `6 E% [1 m& G
  1003. ; MySQL defaults.
    " o7 d0 a/ J( F
  1004. ; http://php.net/pdo_mysql.default-socket+ M- Q0 J' E; H- t  `7 @
  1005. pdo_mysql.default_socket=9 N! Z: i# T  }9 l

  1006. ( s, e/ b  a3 L: m
  1007. [Phar]
    ) w+ Y7 K% p/ d* N
  1008. ; http://php.net/phar.readonly/ F3 Y) T% v/ G* M
  1009. ;phar.readonly = On
    " D3 z/ k" g6 Q, S, B) u$ p

  1010. 5 }: F5 B# l/ t( z! B/ I+ g
  1011. ; http://php.net/phar.require-hash3 a+ T1 l* u8 }- y- ^% q
  1012. ;phar.require_hash = On$ D: Q5 [2 G' w

  1013. 4 T' V, e9 T" r7 N& J! @
  1014. ;phar.cache_list =6 v3 @+ d* f* G/ l
  1015. ) f' e, O: W* K( K
  1016. [mail function]
      c' A$ v6 }  q2 \& O8 v& r
  1017. ; For Win32 only.
    3 ^( H  f& L  L) N
  1018. ; http://php.net/smtp0 W% H# @( q0 b6 s& `  e( L% j/ |6 {
  1019. SMTP = localhost2 w# Y% J) V: ^: z9 M8 x
  1020. ; http://php.net/smtp-port0 w! Q: c" u3 D7 J% x6 f! @
  1021. smtp_port = 25
    ' v6 S7 o6 L+ w3 }7 [

  1022. * H+ U# T/ g) w3 O
  1023. ; For Win32 only.
    0 X6 d1 e1 m9 C* N. N8 i$ n% R
  1024. ; http://php.net/sendmail-from
    ; i% R6 {% Z/ q+ t- H
  1025. ;sendmail_from = me@example.com' ?( R, r0 T4 h6 S- R
  1026. - Y# d& n2 T, N5 o! n" _- K  X
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
      [& h6 a  t* F4 n& l1 j
  1028. ; http://php.net/sendmail-path
    " q- |) E) [4 l) j
  1029. sendmail_path = /usr/sbin/sendmail -t -i3 |/ `1 X3 f8 u& K6 R2 S
  1030. 3 H0 A3 l6 `- {! R# q+ i
  1031. ; Force the addition of the specified parameters to be passed as extra parameters5 j: b$ w0 t& r3 s
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ; X: m* K" @, j8 _4 b# l( w3 P% b$ C
  1033. ; the 5th parameter to mail().9 b' Q7 t- \) d( I0 n* z) G
  1034. ;mail.force_extra_parameters =
    3 H/ T- K( p6 [+ h: K& s: j6 |

  1035. - \# y% e2 O2 ~
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 _( F# i& Z6 O, N0 R/ t0 [
  1037. mail.add_x_header = On( i) O8 u2 M' c6 i

  1038. 5 E( [+ H) \5 F, J; B
  1039. ; The path to a log file that will log all mail() calls. Log entries include0 B, n2 e/ t' ~
  1040. ; the full path of the script, line number, To address and headers.. }/ w+ P7 U+ S
  1041. ;mail.log =6 T9 g( {9 y: t1 K* {* V
  1042. ; Log mail to syslog (Event Log on Windows).- W2 S. g3 i7 f5 _/ W/ C1 R
  1043. ;mail.log = syslog, v1 E0 D0 ?# N/ z( C; [

  1044. 3 N! g8 o. u3 k2 _6 [5 C
  1045. [SQL]2 H0 |/ {# M4 N* W5 d2 r0 u
  1046. ; http://php.net/sql.safe-mode
    0 c& O. f( E; E2 a
  1047. sql.safe_mode = Off2 A9 S8 ~/ _2 s1 _

  1048. 0 v# z& b/ f' R" b7 d+ c8 t# h
  1049. [ODBC]/ p- D  ]( `: K1 U  M4 A; l
  1050. ; http://php.net/odbc.default-db
    ! Y3 G% k& M1 i: c
  1051. ;odbc.default_db    =  Not yet implemented5 y. P9 `3 Y9 p2 v! G, |

  1052. & S, s% S; D# I' K( ?
  1053. ; http://php.net/odbc.default-user4 X0 E% e/ c+ }* D0 A4 g
  1054. ;odbc.default_user  =  Not yet implemented1 @- t8 p' e. g/ T8 d
  1055. 9 d9 m$ h* \1 N
  1056. ; http://php.net/odbc.default-pw
    & u2 ]5 z3 R$ k5 D/ v( b* R
  1057. ;odbc.default_pw    =  Not yet implemented0 {8 N" }% h; h% x8 ]

  1058. ' K, m2 D' e, ^! b( _2 }0 x
  1059. ; Controls the ODBC cursor model.
    5 n* @  B- u5 v$ D' J" P, y
  1060. ; Default: SQL_CURSOR_STATIC (default).6 ~9 Q1 a5 m! ^% B. h, q2 L+ b6 b/ S$ _  L
  1061. ;odbc.default_cursortype
    / E0 }3 z1 v& S4 f( Q

  1062. % ~# F  s! {* ]: L8 Y# K
  1063. ; Allow or prevent persistent links.
    , W% m$ _8 z( ^  k
  1064. ; http://php.net/odbc.allow-persistent: d5 Z! N; ~2 E1 w: X' r& e1 i( Y
  1065. odbc.allow_persistent = On7 h- j- b' x+ {6 |5 C; x1 L- J
  1066. " |2 \$ r2 Y. i% \$ h
  1067. ; Check that a connection is still valid before reuse.1 }) J; d; ?! U& B2 E- ^8 q
  1068. ; http://php.net/odbc.check-persistent% K6 G$ q6 M1 B) x% M6 G
  1069. odbc.check_persistent = On
    : X: V. M1 y) C* @

  1070. # M. X) T* {3 |/ p, t! y5 |
  1071. ; Maximum number of persistent links.  -1 means no limit.
    : G/ x" i/ ~6 V' y+ ^% @
  1072. ; http://php.net/odbc.max-persistent
    - k3 |, l5 g/ S
  1073. odbc.max_persistent = -1
    ' W1 A6 }8 }! i5 f( g

  1074. 1 U, d+ E( |; K* e8 d. {! |
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 {) c( O3 J6 n. Y+ G
  1076. ; http://php.net/odbc.max-links$ R+ _7 {, D$ _8 H) D! t, r
  1077. odbc.max_links = -1
    ; J/ o# q4 F: h6 F1 ^
  1078. 0 K% C' W0 G( l) Y) I& s+ P
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' Y2 r4 {( B  @
  1080. ; passthru.
    , k+ ^/ k, l1 E1 @/ ?& e1 Z
  1081. ; http://php.net/odbc.defaultlrl
    / Z7 d$ [& y: b: T# m$ C$ b- I6 ]
  1082. odbc.defaultlrl = 4096
    0 F( t8 b% _/ W, S
  1083. & d, h' F/ k+ e! }
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ) r( M* ~7 `0 H4 z0 K7 N1 g0 p4 d7 ~
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    5 u/ J( h8 v) I
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode' d  E, L& V1 ^4 S, S, Q
  1087. ; http://php.net/odbc.defaultbinmode
    : k+ f7 y, p" P9 V7 j% E$ ]
  1088. odbc.defaultbinmode = 1' \; ?' s0 }( ^  r4 D6 [
  1089. 8 J7 X" o4 r9 s% A  C4 M" }
  1090. ;birdstep.max_links = -1
    9 ?2 Y: m( p1 r
  1091. ; A1 Z2 _: R/ G& c
  1092. [Interbase]& Q) Z" g" A. t- ]7 y9 x* z& k
  1093. ; Allow or prevent persistent links.% \. U+ J: I% [6 F8 N
  1094. ibase.allow_persistent = 1& E) W& n6 U. _

  1095. % o. F% v$ p3 X6 h# U
  1096. ; Maximum number of persistent links.  -1 means no limit.6 R5 P: w/ V% C: q1 R
  1097. ibase.max_persistent = -1
    . w5 w5 D! A% D

  1098. 6 c5 W9 R9 w( H. B3 e
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 G8 H7 S$ D6 ?
  1100. ibase.max_links = -17 M2 @* R) j- \3 l

  1101. : w- a& v1 u: V( ~4 O) w
  1102. ; Default database name for ibase_connect().
    $ V+ {9 O! }/ m* q; w
  1103. ;ibase.default_db =
    ' E  p3 ?* W8 G* D2 j
  1104. . t2 O; i9 k4 p! v$ N% A
  1105. ; Default username for ibase_connect().
    , O; d0 [" Y3 L5 E
  1106. ;ibase.default_user =) R7 O5 w- A; {, q- E
  1107. ) m6 Y5 c8 H7 f4 J
  1108. ; Default password for ibase_connect().
    + w5 Y( f  j% L3 N/ O3 z2 d' A
  1109. ;ibase.default_password =4 H6 _/ v- b; P( o- Q, T) l7 X) z

  1110. 9 r. ^) {9 \2 ^$ C" j' z9 k
  1111. ; Default charset for ibase_connect().) {* a- l# D' @1 ]: Y
  1112. ;ibase.default_charset =
    * L3 M! h& U8 y& G; i, s0 H. U
  1113. & B- \4 W" V, Z/ @) `3 E" K
  1114. ; Default timestamp format.$ [8 g! {) l& h0 s
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : j6 }& {5 z1 }; v2 w
  1116. & a' \7 `7 ?: I. q; z4 r* q
  1117. ; Default date format., O/ j* ?, b( J2 x( Y
  1118. ibase.dateformat = "%Y-%m-%d"
    6 u- w# o( R" h" u( U0 s
  1119. * |" Q8 E9 Q0 a- f
  1120. ; Default time format.
    9 S% c, L- D4 l
  1121. ibase.timeformat = "%H:%M:%S"
    4 t) [8 R5 k" ^8 ]* B9 w

  1122. ' A" T- ~% V6 v1 N( h% H: `
  1123. [MySQLi]
    + K% u% T+ R% u: k
  1124. 6 k! Z+ G* p( p: J4 k0 k% o. H3 Q
  1125. ; Maximum number of persistent links.  -1 means no limit.2 d0 R, L( H9 J; u
  1126. ; http://php.net/mysqli.max-persistent
    ( L' Y! z! D9 K, Q
  1127. mysqli.max_persistent = -1$ A( Q7 c- `  \) L  c$ }' G
  1128. 2 _8 R$ W5 Y  ?8 |. E7 _
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
      n9 o7 y  s' R
  1130. ; http://php.net/mysqli.allow_local_infile% i2 l, D! x% \! V) X0 h% g
  1131. ;mysqli.allow_local_infile = On
    / {: w. s/ P5 M& Z* w

  1132. ! X$ s, c/ |) A$ L9 m4 M
  1133. ; Allow or prevent persistent links.0 U' @* b# @% b0 z. A& [
  1134. ; http://php.net/mysqli.allow-persistent
    6 C1 K  E# N/ G, |9 C
  1135. mysqli.allow_persistent = On
    9 r6 _7 [" X' |# p+ n7 v

  1136. ( W% J9 h' ?% m8 |" b: p$ u. I
  1137. ; Maximum number of links.  -1 means no limit.
    - L! C* \9 K8 p; v: K% a
  1138. ; http://php.net/mysqli.max-links5 V0 O& `( |7 E* m  g
  1139. mysqli.max_links = -1
    & V% m8 V1 W1 q" H* N

  1140. 9 i/ f8 K& I" }2 h4 U
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) ]' t/ y0 J0 f: ^- L: c
  1142. ; http://php.net/mysqli.cache_size
    7 ^0 {# c& `) ?9 j# i/ c) s& {
  1143. mysqli.cache_size = 2000# s' i& u( Y% k% ~1 d; D

  1144. ! {6 X0 d" G" H3 N9 o) A9 [5 y: Y
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use5 ^1 ?, c) Q- j
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ [, Y) x; B* T5 i, q% ?+ [
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' @  {1 s$ a9 C7 S2 X& V% K
  1148. ; at MYSQL_PORT.& t2 U9 ^+ b6 C& E
  1149. ; http://php.net/mysqli.default-port/ B% v# a# N3 E6 n
  1150. mysqli.default_port = 33069 S/ I# g) q) C/ @

  1151. + l% y  V- I( g& J6 l9 y9 [
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " e2 R2 U1 W. ^6 j" r
  1153. ; MySQL defaults.
    : R& R$ [6 g. F2 e- q- f
  1154. ; http://php.net/mysqli.default-socket/ L1 S1 N  y7 w" p! R/ y
  1155. mysqli.default_socket =8 [( V$ t/ l7 Y- O6 u5 ]7 W4 _

  1156. $ [0 i5 r7 U4 o3 Q  A1 j* N
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).1 [/ _: r8 @+ U$ s& {
  1158. ; http://php.net/mysqli.default-host# I/ v) e8 a5 G" b! P
  1159. mysqli.default_host =9 ^1 v3 F+ Z5 n2 |0 B! W- o/ L

  1160. 7 o# v% H& U$ d
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).7 j  S6 ^$ S: J$ m& g7 r
  1162. ; http://php.net/mysqli.default-user
    8 Q7 c$ {7 |+ o) S' l
  1163. mysqli.default_user =
    ' ~- i  w! V/ Z

  1164. * f. u( m9 J9 u* R
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 \# I3 D! ?" S6 v
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; {0 ?: o9 Y9 Z2 r$ M# o' N7 z' B, Z: ^
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")9 k: m* Y- u! `* o3 z
  1168. ; and reveal this password!  And of course, any users with read access to this* a) L4 P, ]4 |  y; G! q4 O6 x
  1169. ; file will be able to reveal the password as well.
    . \/ y& ]/ g. r+ r, m: V, z
  1170. ; http://php.net/mysqli.default-pw
    - z6 g$ P! Q+ H6 r, E1 \" c
  1171. mysqli.default_pw =
    ; c4 @7 ]) e6 s4 K
  1172. & ?, \0 S: G0 G
  1173. ; Allow or prevent reconnect6 O8 D. M% v3 Q. D2 x  L
  1174. mysqli.reconnect = Off
    " r" e1 F: e' @9 Z
  1175. ; O. o. {8 P, W0 z9 _2 Q0 n
  1176. [mysqlnd]+ h. ~* O( P  V7 _
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be, F) |' E% w8 C6 a
  1178. ; used to tune and monitor MySQL operations.
    9 [5 J7 [4 ]/ h
  1179. ; http://php.net/mysqlnd.collect_statistics
    0 r: p1 A/ x8 P3 D
  1180. mysqlnd.collect_statistics = On( {0 j; D. q4 j% ?& v$ G2 p

  1181. # f1 a$ v) c0 ]# T
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . P7 a+ W, A: t# F9 o* u
  1183. ; used to tune and monitor MySQL operations.
    9 C1 m* H8 r) b# Z' G
  1184. ; http://php.net/mysqlnd.collect_memory_statistics! }! Y. C0 b8 l. G
  1185. mysqlnd.collect_memory_statistics = Off0 {  [" `5 y+ u' M, D7 z6 o1 x5 C
  1186. ' z2 \: P$ K/ \* W: V
  1187. ; Records communication from all extensions using mysqlnd to the specified log% e* k" y! t! O8 u" q  Q
  1188. ; file.
    ' }  [, c* o- p4 C  t) _
  1189. ; http://php.net/mysqlnd.debug# D, G, M% W; M/ O; b
  1190. ;mysqlnd.debug =( w: `& S: Q3 u$ X9 W: l  I& \
  1191. 7 q3 t+ Y1 ]) N+ |" A
  1192. ; Defines which queries will be logged./ a/ w1 E5 w; m! U  F/ c
  1193. ; http://php.net/mysqlnd.log_mask. y+ Z! Q- V6 X7 u+ l/ X. q
  1194. ;mysqlnd.log_mask = 0$ H0 j+ T* c# Q" i4 ^

  1195. ' S5 v3 o" k+ P, y. j
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    / }7 P4 N3 A# |! I1 H6 z
  1197. ; http://php.net/mysqlnd.mempool_default_size% e4 u" \/ Z8 y  H6 v
  1198. ;mysqlnd.mempool_default_size = 16000
    ) E8 [. B2 q  j* R
  1199. 1 V, _5 h3 Z( s' x2 z1 R7 ^
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ( O9 |! V" X* n* S1 t
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size: {/ c5 I" V, S
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    * _+ q2 T+ i. w- n2 c
  1203. ' w; b) k) z/ t3 G
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    : ]  u  G8 x. V5 X# {$ Y3 R
  1205. ; bytes.
    % `: m& x! A; ^. X# l
  1206. ; http://php.net/mysqlnd.net_read_buffer_size# b3 A5 H1 x, d; o* a7 S
  1207. ;mysqlnd.net_read_buffer_size = 327687 G! c3 \: {/ R) `2 @

  1208. ) {# K2 N) M. ]$ s
  1209. ; Timeout for network requests in seconds.
    + P  X% ~( g; x+ Y0 f' K. |
  1210. ; http://php.net/mysqlnd.net_read_timeout5 ^8 S3 j1 x' B
  1211. ;mysqlnd.net_read_timeout = 31536000
    ' f4 q9 U* q7 S% R+ `; f' C+ y
  1212. $ Q3 a# P: g3 D( ^7 L  b
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ {, Q+ C$ l+ I" ?4 y1 S5 d1 o
  1214. ; key.
    / \8 N5 E; N7 G' Q
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    9 E* _; {0 m; U% x% }
  1216. ;mysqlnd.sha256_server_public_key =
    / g  p- u* d- Q
  1217. - ~2 }) e! L; [+ n* a
  1218. [OCI8]: u9 c; I* P: M6 l- X8 P

  1219. 4 p1 R$ y& ]8 z
  1220. ; Connection: Enables privileged connections using external5 [0 }$ g* ], ?1 b; I/ G1 i6 i5 Z
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 e) ?! H% }  w8 G
  1222. ; http://php.net/oci8.privileged-connect0 T. R# [1 u% @5 V6 Y% v# H
  1223. ;oci8.privileged_connect = Off
    - |; L, U3 t2 W! z: Q- u4 {

  1224. ' ]1 x; r/ }  W; h! X
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    - o/ e& H4 W* _! x: l+ z0 c4 B& O
  1226. ; process. Using -1 means no limit.# h3 F" o& j: `4 p5 `, s
  1227. ; http://php.net/oci8.max-persistent
    $ _* ^' [, K( S) j3 g
  1228. ;oci8.max_persistent = -1- e! y7 W7 s; [! h7 l

  1229. 8 K; c1 C* ]8 i. o' o- K% @
  1230. ; Connection: The maximum number of seconds a process is allowed to: z, z! K. T  d# s+ N! l, v+ Q" c
  1231. ; maintain an idle persistent connection. Using -1 means idle, T8 n* V/ U9 _5 i* C: d; @8 Z- e
  1232. ; persistent connections will be maintained forever.0 k6 B: v1 V, t! [* l
  1233. ; http://php.net/oci8.persistent-timeout
    " f" ?! F) X$ q! ~" m
  1234. ;oci8.persistent_timeout = -1
    4 V7 l* B# B% _* M$ H9 L

  1235. / q$ l" _4 m; {) t
  1236. ; Connection: The number of seconds that must pass before issuing a$ a0 v$ y. s0 `8 H7 E+ v. O4 E# D
  1237. ; ping during oci_pconnect() to check the connection validity. When
    / H1 q5 u/ W! W4 o7 W
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables- [0 Y, G. r$ C" K; s9 W" G
  1239. ; pings completely.& j( l3 E/ U' C4 o( X
  1240. ; http://php.net/oci8.ping-interval9 b: H9 m* J" R
  1241. ;oci8.ping_interval = 60
    ' M6 r3 |3 F1 W$ W

  1242. $ D2 ~7 v' m  G+ g; z$ Y! S
  1243. ; Connection: Set this to a user chosen connection class to be used
    8 W) t" ~: N# I4 C  x
  1244. ; for all pooled server requests with Oracle 11g Database Resident6 d- `( d: |' Q4 c7 P. Q* m
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ! [# y6 W( K' ]( W$ p
  1246. ; the same string for all web servers running the same application,6 w% ?' I2 l. T: E- \' i
  1247. ; the database pool must be configured, and the connection string must9 D: F) \5 Q& R0 l6 y7 A; [
  1248. ; specify to use a pooled server.
    + I4 U, u: O2 j6 {
  1249. ;oci8.connection_class =) x$ U, k/ G/ P$ d! ]! `0 H9 |

  1250. / n  t5 |, a6 Y# n: c7 V: h
  1251. ; High Availability: Using On lets PHP receive Fast Application
    1 T* g( h3 ?5 }2 E2 F9 K* q. }
  1252. ; Notification (FAN) events generated when a database node fails. The8 d4 ?. r! E; x: o8 n6 d  O! P+ C
  1253. ; database must also be configured to post FAN events.# m0 C+ r( J# n4 Z% X; }
  1254. ;oci8.events = Off
    6 v$ T* L5 [) ^: v; {" b# \

  1255. 2 [( N  A) N. J
  1256. ; Tuning: This option enables statement caching, and specifies how8 i/ Z9 E( x1 `* B4 v
  1257. ; many statements to cache. Using 0 disables statement caching.
    ; r, L: K* O$ U7 D! B
  1258. ; http://php.net/oci8.statement-cache-size. c+ c9 z6 p- y* k  q& M
  1259. ;oci8.statement_cache_size = 20
    : f1 K; k4 \* ~5 a& m  e/ Z$ N, c
  1260. 5 s; t/ N! c( J; a3 j
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    & d8 p7 E, b8 A7 Z5 h* |
  1262. ; rows that will be fetched automatically after statement execution.9 w1 }4 ]7 @/ q* V; X3 W
  1263. ; http://php.net/oci8.default-prefetch. A8 ]& j* a/ N+ r8 J
  1264. ;oci8.default_prefetch = 100
    * H+ E2 f5 M! |
  1265. , {  y/ n+ B2 V2 {6 s: I
  1266. ; Compatibility. Using On means oci_close() will not close
    ! e+ \/ c# g! c0 d* D2 \) A
  1267. ; oci_connect() and oci_new_connect() connections.
    2 {% l  r/ \% p2 |
  1268. ; http://php.net/oci8.old-oci-close-semantics
    " L# v- C$ O2 U' |: H2 L
  1269. ;oci8.old_oci_close_semantics = Off6 Q4 u  f: x" a" C1 v

  1270. - A% `+ w$ d* V1 |2 @% j! Q
  1271. [PostgreSQL]
    7 G) J  l3 d0 o) y
  1272. ; Allow or prevent persistent links.6 w8 q& ^+ v2 b- [1 k, H2 T
  1273. ; http://php.net/pgsql.allow-persistent9 _# T% H& A' G* w: h9 P
  1274. pgsql.allow_persistent = On
    5 w9 d$ H. U( K6 a8 R* ]  c

  1275. 0 s; a  n. u  P) l) w
  1276. ; Detect broken persistent links always with pg_pconnect().! I' X; Y2 J! r
  1277. ; Auto reset feature requires a little overheads.
    3 L9 u3 P$ \4 s- _0 T$ v/ t+ P" ~- H" b
  1278. ; http://php.net/pgsql.auto-reset-persistent
    - V+ M- R" w* ?1 w( g$ w
  1279. pgsql.auto_reset_persistent = Off
    6 Z; h# L! j7 {
  1280. 7 Q$ t* h! Y- d( V9 {+ g- Q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    . {7 O( `, B# f: b3 [9 Z
  1282. ; http://php.net/pgsql.max-persistent6 K* c) [" l. ~* K7 n7 z' \: ^
  1283. pgsql.max_persistent = -1' a1 E* F) k" c( W* {: X" q
  1284. : a' S9 ?: U' q/ Y
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 Z" f( G# m, h& e" d
  1286. ; http://php.net/pgsql.max-links
    9 W1 A! O. W5 o. ~" g% G
  1287. pgsql.max_links = -1- F- j# b$ ^$ c0 {1 {

  1288. ! l8 g; y* W, w* f' z3 W
  1289. ; Ignore PostgreSQL backends Notice message or not.1 m  _3 j* @+ U! t- p1 c! e8 u: m. g
  1290. ; Notice message logging require a little overheads.
    , A6 @2 e  l# |! B8 y$ o- F
  1291. ; http://php.net/pgsql.ignore-notice+ C- Y; _. V/ D" F3 a2 {5 `
  1292. pgsql.ignore_notice = 0
    ' w- C/ ~4 n5 z# P$ e( f3 h: u
  1293. " E' n( |% j# h9 g( u. G
  1294. ; Log PostgreSQL backends Notice message or not.- h- n# x4 N3 j) A3 z' z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
      T8 R. L, s' `7 F4 q0 \
  1296. ; http://php.net/pgsql.log-notice
    ) a5 Q0 W2 ]6 D& [
  1297. pgsql.log_notice = 05 W. @$ d% @& ]9 _- H. U
  1298. % }# V1 @0 R2 v& w* ]; X- J- ^# s
  1299. [bcmath]# A) @% z" @; J9 F2 _8 j/ ^1 U( M" y
  1300. ; Number of decimal digits for all bcmath functions.
    . `, ?# i7 j7 w- k9 R5 t+ s, {
  1301. ; http://php.net/bcmath.scale- i( m" j5 \; H
  1302. bcmath.scale = 0
    5 Q' e3 f/ l0 Y  Q% l+ p

  1303. - F/ @7 o3 g3 S! H! I! Y
  1304. [browscap]
    4 X: o+ M- v" A5 P, e7 I
  1305. ; http://php.net/browscap
    ' g5 j' w! Q: P; e  `! L% \
  1306. ;browscap = extra/browscap.ini
    " C- j1 Y3 |( E
  1307. 4 I3 M+ l8 t/ t* ~0 x
  1308. [Session]0 D% I( b0 Y! I/ W9 s8 d
  1309. ; Handler used to store/retrieve data.
    ) f1 G6 U$ v6 y# w2 ^
  1310. ; http://php.net/session.save-handler
    8 l5 j7 C6 [$ U+ _  a. O- F! _
  1311. session.save_handler = files. }. Z& h8 O& R8 l
  1312. 6 [. l- M- }0 S/ ~7 G
  1313. ; Argument passed to save_handler.  In the case of files, this is the path4 C, ], s  }) Z& g( `( a0 w/ c
  1314. ; where data files are stored. Note: Windows users have to change this5 S: J& ]3 R+ q. p, G1 O; Q5 C' x
  1315. ; variable in order to use PHP's session functions.4 }" n& ]; F! p# o; }0 T
  1316. ;
    % c: \1 _7 q$ u) b- s# M. Z
  1317. ; The path can be defined as:
    9 ^+ F" ]6 D$ W2 W; i
  1318. ;7 y$ A* [- B# Y  x) d2 a! z
  1319. ;     session.save_path = "N;/path"# y( V: D1 M: b
  1320. ;
    8 H# J3 t) j3 O4 x- Y- b
  1321. ; where N is an integer.  Instead of storing all the session files in
    ' `/ U! O7 j' d
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    0 P, n! |) p8 y) k5 C+ \
  1323. ; store the session data in those directories.  This is useful if( b! k2 c. ?2 Q4 Z" W
  1324. ; your OS has problems with many files in one directory, and is
    , w) T; ~% j: Q" L! ]
  1325. ; a more efficient layout for servers that handle many sessions.( U; P9 ~% P. u( F6 ]7 x7 ^) R
  1326. ;# Z$ n, P) _4 m6 Q
  1327. ; NOTE 1: PHP will not create this directory structure automatically.4 m& \- t: C/ R* D0 m! _
  1328. ;         You can use the script in the ext/session dir for that purpose.# Q3 \: j* [) @% A- a5 f5 }
  1329. ; NOTE 2: See the section on garbage collection below if you choose to+ D. v1 E5 H" @9 \8 X$ g
  1330. ;         use subdirectories for session storage. Q+ k, I+ ?8 I+ q1 ]
  1331. ;
    - s5 X- y' Z5 V4 C" V: W9 K2 n: Z) d
  1332. ; The file storage module creates files using mode 600 by default.+ ]$ J; P. e5 Q! w* s$ P
  1333. ; You can change that by using/ r9 X% L8 G- m. B- U
  1334. ;* n3 @: B( B& e+ P: ]6 [
  1335. ;     session.save_path = "N;MODE;/path"
    3 ^8 ]' h3 w' O: u0 A' z
  1336. ;1 q1 w. M1 e& t8 `
  1337. ; where MODE is the octal representation of the mode. Note that this- }6 J+ T6 e2 @% s9 \5 j. `
  1338. ; does not overwrite the process's umask.
    3 U* g1 ^) b% G* g3 f; v
  1339. ; http://php.net/session.save-path
    2 y! e7 n9 Y1 m% b
  1340. ;session.save_path = "/tmp"
    ! E2 r- v" l9 W( H4 _0 j5 n$ A9 T

  1341. / G# e& W, a9 H; B1 u4 F+ [
  1342. ; Whether to use strict session mode.
    & W( a/ k: z1 ^" J
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    * X7 b5 m/ t% \( M  P: y* Q
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects; n- ?! Y3 S% M9 D0 M
  1345. ; applications from session fixation via session adoption vulnerability. It is
    % x: [( ?" S3 h' J: Z8 J2 A
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.1 z+ m! V/ T( Y7 z
  1347. ; https://wiki.php.net/rfc/strict_sessions
    # ~) N7 h& E( z- p, q
  1348. session.use_strict_mode = 0
    # u, l/ {+ {, y; N, n' B1 k

  1349. & K: w. `* Y; M0 q7 J5 N
  1350. ; Whether to use cookies.
    . s+ l3 s6 K  y+ h
  1351. ; http://php.net/session.use-cookies
    2 i6 _4 a3 Q1 o; L( u! Y
  1352. session.use_cookies = 18 Q, i# `) j6 k  V* r! x
  1353. 2 g  \! w/ v# ^) U& h; X! ^9 G6 [
  1354. ; http://php.net/session.cookie-secure9 {9 X; S, F' {- \1 L- y0 h
  1355. ;session.cookie_secure =
    * F0 ^3 F" {5 ^) a$ F( H

  1356. 3 J8 R1 A9 Z. x- C& g6 `
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining* Z' k6 f$ V: ?+ N9 H+ \4 K- @
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ' V" M& l$ \  I+ ^( b
  1359. ; session hijacking when not specifying and managing your own session id. It is5 W% J! s2 w! |3 j( ]# M
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    & i" a6 R, H% h
  1361. ; http://php.net/session.use-only-cookies$ a; ^  ~8 z# l" a; B! q
  1362. session.use_only_cookies = 1# E1 i& c: T, f4 k" ^* L9 }
  1363. / ^# w# d9 |- O1 M7 J9 A, J
  1364. ; Name of the session (used as cookie name).
    7 {2 C0 z3 y. E, M- I) n  I7 I
  1365. ; http://php.net/session.name
    * z  G$ l0 ~4 f8 i2 F. W. N
  1366. session.name = PHPSESSID$ i9 v" v$ Q2 v; l
  1367. 2 C. Z' i4 ]: ~
  1368. ; Initialize session on request startup.. u6 m; E$ s( O
  1369. ; http://php.net/session.auto-start( o# m5 ?! E5 Y$ A8 r( [
  1370. session.auto_start = 0' F. W* `! J+ c6 C/ h
  1371. # V0 C# j$ \' Z3 M7 W, Z
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ' y/ D! O' g% t6 q" O5 m5 L
  1373. ; http://php.net/session.cookie-lifetime) `  ~$ I4 U. ^$ `8 q4 g. I5 C% G
  1374. session.cookie_lifetime = 0
    / T- _1 t3 a, n8 O8 L
  1375. ' U/ D3 B8 W7 e
  1376. ; The path for which the cookie is valid.$ s$ S+ r. _5 a/ k5 f, _2 z
  1377. ; http://php.net/session.cookie-path8 f" }9 H" j4 ^. C
  1378. session.cookie_path = /
    8 S* x$ y: g# e; ~& G7 c

  1379. 3 C3 B( L5 o+ k7 ]
  1380. ; The domain for which the cookie is valid.
    # }3 k+ q' U& R5 k
  1381. ; http://php.net/session.cookie-domain
    ! e( p0 P& ~4 b* `5 j1 [6 C
  1382. session.cookie_domain =7 ?$ k: l& i" w' o
  1383. + ^& h3 p* _: B( t3 T$ T
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    / M) U9 N. t+ D3 }+ _0 a+ e4 F/ m
  1385. ; http://php.net/session.cookie-httponly
    % j. |) @4 A! C0 ]! p
  1386. session.cookie_httponly =
    * S5 ^- U/ S7 ~( g! v
  1387. . j! h% z0 B" r9 c1 Z, g, ]% w
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.5 X. C+ ?4 }2 |5 G
  1389. ; http://php.net/session.serialize-handler6 l6 _7 l! ]7 }1 E( @
  1390. session.serialize_handler = php
    5 G7 Z0 ?- ^( R  V1 y

  1391. . J/ d- H0 f$ r# U/ E
  1392. ; Defines the probability that the 'garbage collection' process is started* s% i+ m. t; p
  1393. ; on every session initialization. The probability is calculated by using% B3 F! l" h% |
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! }& z  Q5 N, z7 r0 d# g
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    " c" H5 K6 u: t: q4 x/ Q1 U/ `6 {
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 h) v6 M) L0 d& C4 e4 V
  1397. ; the gc will run on any give request.) q) B) M8 w! |& O( V) i; h/ ~' z9 D
  1398. ; Default Value: 1
    # d5 m$ u2 Q( L0 e0 m
  1399. ; Development Value: 1
    8 O% h) O$ s9 i3 O
  1400. ; Production Value: 1$ e, P; S- X% \1 [( `
  1401. ; http://php.net/session.gc-probability% a3 N: s2 l! Y7 U
  1402. session.gc_probability = 1
    3 p2 \) e* q- G# m

  1403. 3 X8 X& p! ~) S
  1404. ; Defines the probability that the 'garbage collection' process is started on every0 c" B) ^* e. s
  1405. ; session initialization. The probability is calculated by using the following equation:
    $ b! B2 p/ f4 i  Z/ z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    0 N/ Z; J  N% t! y
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1. @9 E/ s' f/ F6 a9 D, X
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " _$ C7 B7 d7 R6 b4 V" ~( S' T
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 c$ X; A% _$ t- m/ g) z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,9 Y2 @: B) `- V0 p# v+ M6 M
  1411. ; this is a more efficient approach.8 }% k  m  G" p$ J
  1412. ; Default Value: 100) Q# ]9 T: l- u
  1413. ; Development Value: 1000' F/ |/ ]; J  \) H7 z
  1414. ; Production Value: 1000) u' a1 E- Y; y' }* R
  1415. ; http://php.net/session.gc-divisor
    7 Q' k% m; c: Z! {
  1416. session.gc_divisor = 10004 e* R1 \, `8 o8 [8 S. G0 O
  1417. " I. s4 V! @+ e9 K% d3 V, x
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    : v" j3 I# t) H0 K% S; f* K4 K
  1419. ; cleaned up by the garbage collection process.
    ! r7 M$ y" \( s6 D7 t; M, E
  1420. ; http://php.net/session.gc-maxlifetime
      ~, ?( o6 T0 d6 A, Y0 P2 F0 d
  1421. session.gc_maxlifetime = 1440/ f6 V/ k* M$ m! e0 Z
  1422. / q5 g9 n+ I7 w' h% n: l9 D) v
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ) D8 ]( {1 G. p9 Y0 \& `
  1424. ;       (see session.save_path above), then garbage collection does *not*
    $ s, A  Y6 i. m9 G, w% v
  1425. ;       happen automatically.  You will need to do your own garbage
    ) {! ?5 `0 H: Q
  1426. ;       collection through a shell script, cron entry, or some other method.5 q& b3 ]/ O8 ]4 t+ p- p8 }- M
  1427. ;       For example, the following script would is the equivalent of
    6 Q9 m: ~9 m( X8 [- h+ y+ C
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    " g# E) y$ G+ o
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    : F1 S. B6 ~* ~1 C2 U

  1430. / I% c* a* i' k/ X2 |0 m  \
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # y. ~1 \& f9 r$ b& X
  1432. ; HTTP_REFERER has to contain this substring for the session to be% ^" b6 u5 _- C2 f* ?* x( y
  1433. ; considered as valid.0 o0 ?# _- ?( w% H4 I
  1434. ; http://php.net/session.referer-check! g* @# ]  Q+ c7 d: r0 I; t. |1 _
  1435. session.referer_check =* Z( B4 R8 B0 [- W
  1436. ' j" k# k( U! i* K( {, ]
  1437. ; How many bytes to read from the file.
    : ]* x/ {5 m8 u
  1438. ; http://php.net/session.entropy-length! z9 J5 Y: I- s8 U# J* a. o( A
  1439. ;session.entropy_length = 323 n* y: ]  o% L7 k5 O9 m

  1440. & o  q1 e. M% E; o7 H- t
  1441. ; Specified here to create the session id.
    3 w, Y8 [5 ~2 V, \+ A3 F2 G) Z, {! ^
  1442. ; http://php.net/session.entropy-file
    ( }% Q6 _; O3 N( j6 m3 ^$ ]
  1443. ; Defaults to /dev/urandom
    $ B/ @% Z  L2 ^/ n( p: j1 T5 d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom# @/ u! z" c. C7 J- n/ s! M
  1445. ; If neither are found at compile time, the default is no entropy file.& T: T' B) y: \  q+ m* S  J
  1446. ; On windows, setting the entropy_length setting will activate the
    8 a! r1 L& q9 j4 \! d
  1447. ; Windows random source (using the CryptoAPI)# g" }3 R- G! K
  1448. ;session.entropy_file = /dev/urandom
    3 Z( j4 t8 ?  E! f
  1449. 1 U- H1 o5 h. ?$ J" u) }( A
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    3 m7 A" k* i( z( o
  1451. ; or leave this empty to avoid sending anti-caching headers.
    1 {. _+ f2 v/ u5 |6 M+ q4 B1 K
  1452. ; http://php.net/session.cache-limiter3 k: H. E2 |# @% t6 m7 r; Y9 ^
  1453. session.cache_limiter = nocache/ E" N3 c; U  C! u
  1454. " ~* K) _5 }$ e
  1455. ; Document expires after n minutes.
    + L5 o6 {% S6 Q6 \$ x/ U6 p4 c$ t# m
  1456. ; http://php.net/session.cache-expire  m  \. t; O  X  J: E
  1457. session.cache_expire = 180
    ' G" U# T/ b$ q5 ~
  1458. 2 W) P$ v  D* t9 D2 n" _% U$ k" ?
  1459. ; trans sid support is disabled by default.
    6 U( H; V4 x3 r$ O
  1460. ; Use of trans sid may risk your users' security.; i6 f, M+ o3 K1 o
  1461. ; Use this option with caution.' C, \3 o6 f; R% Q; b8 w
  1462. ; - User may send URL contains active session ID
    * ~* d+ R+ p. C& v7 c# \
  1463. ;   to other person via. email/irc/etc.
    4 ^$ G/ S4 N0 J9 x0 D% n
  1464. ; - URL that contains active session ID may be stored
    ' G) E/ b& b. {6 n
  1465. ;   in publicly accessible computer.
    : ~  }& Q. b- a% s/ J% p
  1466. ; - User may access your site with the same session ID# i) Q6 _$ o: \' x, g" N
  1467. ;   always using URL stored in browser's history or bookmarks.9 v$ k7 C' h$ P8 j8 T) [
  1468. ; http://php.net/session.use-trans-sid! D7 f. S/ p+ }' w
  1469. session.use_trans_sid = 0) Z7 z4 V' [  k% D4 X

  1470. 0 r$ y6 b! Z5 K7 x/ C0 K
  1471. ; Select a hash function for use in generating session ids.
    $ c+ B5 s) v5 Q. ?( D2 W0 l; E
  1472. ; Possible Values
    4 Q% d7 n3 f6 j2 s; d$ L8 Y% ~' _
  1473. ;   0  (MD5 128 bits)- p3 J9 r* W: R+ W9 ^5 v/ T5 X) e- y
  1474. ;   1  (SHA-1 160 bits)1 p2 h4 J4 `" {: E6 e" v
  1475. ; This option may also be set to the name of any hash function supported by
    ; t( f0 C1 J. k6 h
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()/ N( }! R9 X4 T1 `; A/ s7 I: Q
  1477. ; function.8 N' E6 f5 A) Q- A) C
  1478. ; http://php.net/session.hash-function+ @- ]% ~. e$ |' H
  1479. session.hash_function = 0
      ]2 m/ s  @. i# ]: a

  1480. ) x7 }' q% R2 m$ {) ^$ J
  1481. ; Define how many bits are stored in each character when converting
    . ~: P" S/ F! D3 q. }) H; v  n  |
  1482. ; the binary hash data to something readable.
    " O; B& u9 A* a& ?" s" |
  1483. ; Possible values:
    / n/ s% c, g  M9 x3 q. V8 G1 X
  1484. ;   4  (4 bits: 0-9, a-f)& T! [1 U# ]) a9 K
  1485. ;   5  (5 bits: 0-9, a-v)6 ?/ M8 x0 G+ k
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    1 t( T- H( W" G) G+ f9 g8 u/ K3 m
  1487. ; Default Value: 4! I) q' ?2 `/ \! B
  1488. ; Development Value: 5
    ' T6 v) t, n: D3 O8 D
  1489. ; Production Value: 5
    ) P  b: y% l/ h* o9 S8 M, e( w1 Y% h
  1490. ; http://php.net/session.hash-bits-per-character
    0 N( V# B8 ^2 ~: k7 L% U+ p/ G
  1491. session.hash_bits_per_character = 5
    % c% K! H, h% p
  1492. ( q* \  s& A1 [- B, O3 [
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.8 C3 _, O% N+ q- w0 _
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    * Q9 I; y7 M! @7 ^0 z9 r
  1495. ; add a hidden <input> field with the info which is otherwise appended, L$ [& \0 M8 v- y+ j! j
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.' {# {8 N) s! g  n9 v5 r) V2 [
  1497. ; Note that all valid entries require a "=", even if no value follows.
    + x- d$ K* W: ~4 A
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
      v. w: G# v4 c  ^* @2 h
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! c# v7 N) P: x; J
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" l/ b( G. S1 M3 b( p& K( N5 u3 D
  1501. ; http://php.net/url-rewriter.tags' ~( t2 w4 U( @. Q& P+ m* K: A
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    : G) B/ R; F5 i3 o# ]: W

  1503. 2 f0 ^* n" }6 |' O% I4 o
  1504. ; Enable upload progress tracking in $_SESSION
    . T1 E) u, M5 ]0 d( ^( g0 }3 ~
  1505. ; Default Value: On/ I: D2 K3 |; M* V( ^  m, n% a
  1506. ; Development Value: On4 u& |% {9 }/ U9 D$ e
  1507. ; Production Value: On/ w, a2 W# Q* c, f+ p+ M
  1508. ; http://php.net/session.upload-progress.enabled
    ) y! X/ V+ U6 L* y8 _
  1509. ;session.upload_progress.enabled = On
    2 Q# x* r' e( G( x- T( @$ R$ z  O
  1510. - g, b6 P9 [# K; [" p! Z& v
  1511. ; Cleanup the progress information as soon as all POST data has been read# P# v% V1 @: W) E
  1512. ; (i.e. upload completed).
    1 W2 U- ]  V6 L( E' g  y! m
  1513. ; Default Value: On' Z0 K, Y% a: t) {; B
  1514. ; Development Value: On
    ) \1 o! l, V) R. P! b/ H) a# @
  1515. ; Production Value: On  ~$ P, l/ ?8 b1 _
  1516. ; http://php.net/session.upload-progress.cleanup! X+ r, Z  n5 X# P
  1517. ;session.upload_progress.cleanup = On
    3 M# p7 A3 N& D" ]; i5 v* F

  1518. ! J% o! V- c" Q9 y
  1519. ; A prefix used for the upload progress key in $_SESSION* v% B* ?2 R6 A9 M) Z1 t
  1520. ; Default Value: "upload_progress_"
    ' _" ], Z& u; @, b8 R* m$ [
  1521. ; Development Value: "upload_progress_"4 Z9 T9 D# L) Y+ b5 X6 ^- c- c
  1522. ; Production Value: "upload_progress_"* N8 F/ q; N  t5 q, Z' x
  1523. ; http://php.net/session.upload-progress.prefix! U: b( N- k/ U- E& F, ~0 P# N( ^
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ( ]8 w% f- Q& N
  1525. , k6 T! z/ ^" n. M; o1 z( _! F
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    : H" W% G; o! x* M* G
  1527. ; containing the upload progress information. u! O/ {! b8 s, i, Y0 Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"7 b  T6 k0 g3 b8 I0 L
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 \5 p8 C/ J- \0 J7 b0 B0 V
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"7 t/ k0 E9 i& S
  1531. ; http://php.net/session.upload-progress.name# I( x* z  q* a
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    0 y& x, }: @1 z* O' G2 h

  1533. 0 \# \3 ?( x7 [/ S% {7 f5 M! [
  1534. ; How frequently the upload progress should be updated.! _$ R8 }( _& t: F$ j- T
  1535. ; Given either in percentages (per-file), or in bytes* S8 l( \8 T" I1 ~/ l
  1536. ; Default Value: "1%"2 n9 o/ r$ ]( s/ @2 M% k
  1537. ; Development Value: "1%"; e5 a9 a8 }4 p) M$ k! V7 ?% X
  1538. ; Production Value: "1%"" S; A: A3 y* S( }5 M; x
  1539. ; http://php.net/session.upload-progress.freq9 ~- `& r) c1 C6 D; A
  1540. ;session.upload_progress.freq =  "1%"
    / B  ^8 X+ H; O+ [& O/ O
  1541.   h, U( y* X* ^  x% W+ C
  1542. ; The minimum delay between updates, in seconds
    5 ^! x  E5 e; {
  1543. ; Default Value: 1
    2 ^7 v1 _' m) s
  1544. ; Development Value: 1
    : ~. h* O, q- U8 g
  1545. ; Production Value: 1
    ) u  m; L" n) n+ g
  1546. ; http://php.net/session.upload-progress.min-freq
    : {2 w: f4 P2 g* i  i- @- g
  1547. ;session.upload_progress.min_freq = "1"
    2 b1 P" i$ D$ O- b( e

  1548. 1 \- G: ]& G4 E
  1549. ; Only write session data when session data is changed. Enabled by default.) G. m3 B$ @# b8 t+ y: D
  1550. ; http://php.net/session.lazy-write0 X! L  N; c& j' g' M; A: R
  1551. ;session.lazy_write = On$ `" V9 y( }0 D' H1 V

  1552. 6 g+ a9 C1 U0 b7 A9 D* e
  1553. [Assertion]4 @8 j- F6 s8 \' c1 e/ |; o9 l
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time). A- N( W4 r, A, t" ~8 u
  1555. ; -1: Do not compile at all
    ; Y. C0 O) a+ ^+ {
  1556. ;  0: Jump over assertion at run-time
    % S, p2 a8 h& U; p. Q+ `
  1557. ;  1: Execute assertions1 _+ B  M9 ]& ]7 X
  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); [% Y, b4 U+ p5 W' V$ l
  1559. ; Default Value: 1
    0 i" I5 z, A" C& p* j
  1560. ; Development Value: 1
    6 R% F1 U& V% t/ R. f! K" X; \
  1561. ; Production Value: -1
    : v. ]5 m/ j. h
  1562. ; http://php.net/zend.assertions) K% k$ x  A& M, J5 _2 Z2 d
  1563. zend.assertions = -1
    ' o; V/ e0 a# y
  1564. 5 ^; U5 s7 G3 b9 G* Z+ Z3 K4 y$ k# B
  1565. ; Assert(expr); active by default.. B, }+ Z& T, r3 h- R3 B
  1566. ; http://php.net/assert.active
    # c& `6 v7 z# w+ X0 _
  1567. ;assert.active = On: p! @1 ~8 x, W% R. v! n0 d
  1568. & B, C# }3 r% d
  1569. ; Throw an AssertationException on failed assertions! ]9 E( \; ^: B6 I2 z2 }/ n
  1570. ; http://php.net/assert.exception
    & r3 W% C+ G* ?
  1571. ;assert.exception = On
    . m. H$ Q9 A' U- m/ i

  1572. . g0 h* N! w& O( r; ?
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    1 o$ I, G: s  _
  1574. ; http://php.net/assert.warning
    - s8 z# s$ |3 a
  1575. ;assert.warning = On
    5 y, H3 ~2 i- O* Z: w

  1576. % ]' z8 M- Q% R9 \2 R* \, l3 ]
  1577. ; Don't bail out by default.
    8 j+ N5 J" p7 O2 i$ S% J5 G
  1578. ; http://php.net/assert.bail  G( w  m0 ]: l4 l$ T- H
  1579. ;assert.bail = Off- d$ n! [# c( A8 x! o4 G/ S
  1580. $ ~2 h! M  g0 m8 B% w2 y
  1581. ; User-function to be called if an assertion fails.
    ' w' g* q  w3 y1 q
  1582. ; http://php.net/assert.callback
    9 m" ~* B  s5 f8 A5 }* @" r' w
  1583. ;assert.callback = 0
    , d( C2 {2 G/ d4 y) E4 L

  1584. 8 O" D9 s, T3 k
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    # [: X% b# D9 w" J
  1586. ; error_reporting(0) around the eval().. \' V! [/ I+ v; R0 Z
  1587. ; http://php.net/assert.quiet-eval
    $ W4 B" F& ^3 z. g. l
  1588. ;assert.quiet_eval = 0
    2 x: b6 J; z. q, ]$ V. c

  1589. & d# @: J- h7 G0 j. E: N+ A
  1590. [COM]/ H* c; {! o7 \! L
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# o+ P  u% X; o# o. F: C) J
  1592. ; http://php.net/com.typelib-file
    & b" d6 L6 W2 L4 n
  1593. ;com.typelib_file =* X. m4 N$ w; }" `

  1594. ! A: z( i/ S$ {
  1595. ; allow Distributed-COM calls( T" P7 g6 X* K3 |1 |
  1596. ; http://php.net/com.allow-dcom
    + ~: b$ m& o( ~) O
  1597. ;com.allow_dcom = true. e$ d; p& g0 v# a; B) k0 s

  1598. : z  v' z" X8 h9 D  r) X3 d
  1599. ; autoregister constants of a components typlib on com_load()! K! `  V2 y* Z6 ?# z
  1600. ; http://php.net/com.autoregister-typelib/ Y  M# v! r1 A: Y" L. O
  1601. ;com.autoregister_typelib = true
    7 P1 b! c- @( ^! T
  1602. , q) z; E9 n) j2 Z& {
  1603. ; register constants casesensitive1 q. N3 J. q, z! `' ?% T' o
  1604. ; http://php.net/com.autoregister-casesensitive
    : F+ F' c1 E) W4 m+ D- ]
  1605. ;com.autoregister_casesensitive = false
    " t* V: X! X+ _( `9 l5 r

  1606. ( U$ B2 g) u+ A0 l8 m( v' h
  1607. ; show warnings on duplicate constant registrations
    0 p" R' v' \0 x" x/ U5 k: @& W1 L' p
  1608. ; http://php.net/com.autoregister-verbose
    ) F+ i; G, L+ X+ Z3 q3 `
  1609. ;com.autoregister_verbose = true  r& E( k9 {" o

  1610. 5 L; s" i( B% R' ?; X! Q! T+ a
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' x- W2 b) x# S6 E
  1612. ; Default: system ANSI code page
    9 O$ P+ h2 t2 E1 r/ v
  1613. ;com.code_page=
    2 n1 }" F: ^& ^0 ^* A: _  w

  1614. . [- k: |7 e3 G& i& U' N
  1615. [mbstring], b4 F& t* \% X1 H  Q, C2 {/ ?6 x8 f
  1616. ; language for internal character representation.3 t7 _; m5 ]) h0 Q
  1617. ; This affects mb_send_mail() and mbstring.detect_order.0 S& n% |3 v! @3 F* U
  1618. ; http://php.net/mbstring.language, Q9 J/ N7 q' G$ T) W. U1 U
  1619. ;mbstring.language = Japanese! u+ L' C3 p* }. {

  1620. % _1 {: K0 \, R7 I% }
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.  [- s9 X! r5 f" N, b( v/ O! x
  1622. ; internal/script encoding.% l, @" V1 ^* Y: E9 w7 _/ u+ G% j! U
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' z6 m" C8 v! s7 ~: K1 ?$ f
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 w/ v& Z: S6 Z  H! f: E! K7 Y
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' w3 M% A1 y! @" ~. M& q
  1626. ;mbstring.internal_encoding =
    ; v9 U. _3 B+ q& F' D' c

  1627. - f! M! G' K$ w. p+ V: m1 D& m# [
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # A( T$ `# q- i+ b
  1629. ; http input encoding., Q( U! y- j. s) K2 ^. o
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.1 O+ P# \- J4 a/ p2 J
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    3 \2 L5 N: `5 O& }, [
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ J3 x& N, [: {' e$ e/ o$ A
  1633. ; http://php.net/mbstring.http-input
    & }8 M( m: V$ y- M
  1634. ;mbstring.http_input =" ~) C0 }+ s( C7 W' ]/ Z
  1635. " ?( u" z1 ?1 B# W" u4 B
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.  C1 F( H8 k( j/ a* Y; A
  1637. ; http output encoding.  e6 O$ F4 m# p/ N  ]0 w
  1638. ; mb_output_handler must be registered as output buffer to function.' h# H5 p* z( r0 c& T# p
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ; l* C! j4 T" U2 r2 y9 q
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 F- t: j2 Q3 P- X- T+ n
  1641. ; To use an output encoding conversion, mbstring's output handler must be set  N( N2 p$ g2 Y* N2 d: U3 l0 C$ h
  1642. ; otherwise output encoding conversion cannot be performed.2 J, Q& E$ V5 A; h9 s
  1643. ; http://php.net/mbstring.http-output3 g. s3 _  S0 Z1 _0 d4 z7 T) L
  1644. ;mbstring.http_output =
    - G+ r# S, q2 ^& [8 W
  1645. 5 _0 @, H. x7 \; K: q) F
  1646. ; enable automatic encoding translation according to
    + y4 B! K$ d- R) ?  X: S. q% i1 Y
  1647. ; mbstring.internal_encoding setting. Input chars are
    + |& o' P5 B1 `" Y
  1648. ; converted to internal encoding by setting this to On.! K; n; d) ^7 w# r" n% S$ d# O
  1649. ; Note: Do _not_ use automatic encoding translation for
      t' y' u, g0 ?, G" `1 D& `
  1650. ;       portable libs/applications.2 P* x0 v, F# I$ V
  1651. ; http://php.net/mbstring.encoding-translation( C9 Z* W+ u" P: C1 v$ `0 [, y+ a
  1652. ;mbstring.encoding_translation = Off
    ( x5 Y- a, x4 ^; o
  1653. + ~# [, v$ ^9 }) V1 j
  1654. ; automatic encoding detection order.
    5 T, G+ e' r: r* }
  1655. ; "auto" detect order is changed according to mbstring.language
    & r6 ~, T) U5 K& e( h5 h
  1656. ; http://php.net/mbstring.detect-order
    ! Y# _# L* Z3 e
  1657. ;mbstring.detect_order = auto
    & m8 u8 j9 v, C6 [( x, T: p/ m
  1658. 1 r) Y# i1 A9 G, H3 {: O
  1659. ; substitute_character used when character cannot be converted
    9 A% C: A, b& u6 W! ]; ^
  1660. ; one from another
    " E4 a; r7 h! `3 s
  1661. ; http://php.net/mbstring.substitute-character, u) o1 C, X3 U, H
  1662. ;mbstring.substitute_character = none* e$ t) h9 I% B( o) K' @& ^

  1663. % |1 B# o3 R& H( }- f2 K4 e$ U& F
  1664. ; overload(replace) single byte functions by mbstring functions.- W+ {- X# s5 E, D
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    / o, T1 S, P: @5 c4 V0 R5 F
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.2 v' L& W! H7 C: o# w7 ~( h
  1667. ; For example, 7 for overload everything.* m+ P9 B4 d) m5 D! F; ?
  1668. ; 0: No overload# b0 ?* g9 M3 u1 r
  1669. ; 1: Overload mail() function
    0 U8 J$ j; v7 n; k# n1 A
  1670. ; 2: Overload str*() functions0 T2 l6 Z9 i+ |4 g
  1671. ; 4: Overload ereg*() functions
    ! @# S1 k1 _" G7 _- U9 O
  1672. ; http://php.net/mbstring.func-overload; Q  O4 f6 v5 h* O
  1673. ;mbstring.func_overload = 0
      L( O# U/ i2 J% _* Z; H7 u
  1674. ( v2 u7 d2 k8 @; a" t: N9 S
  1675. ; enable strict encoding detection.
    " n+ p0 t3 W4 b3 u
  1676. ; Default: Off% B" L0 Y( j/ }) b& Q/ u
  1677. ;mbstring.strict_detection = On
    9 n9 W% T5 `, l/ g

  1678. 6 Z. M5 B6 v- k, Y
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()1 v/ m+ v8 T, M8 F
  1680. ; is activated.5 n% F# C9 u* n6 c6 U6 E- I( ~3 U+ m
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 ]' h+ L1 |- k& u2 |" B  V
  1682. ;mbstring.http_output_conv_mimetype=* v$ }+ P% Z( M7 P

  1683. 0 K# `9 @, K6 z8 J0 ]# ~% t" V
  1684. [gd]3 H/ K" N" ?6 D7 _  |% T
  1685. ; Tell the jpeg decode to ignore warnings and try to create6 i5 k4 m2 Y+ K6 w$ w7 u
  1686. ; a gd image. The warning will then be displayed as notices8 G8 C! Z" t3 W% f3 H) R' t
  1687. ; disabled by default
    6 F$ \% y( t$ x9 J4 n
  1688. ; http://php.net/gd.jpeg-ignore-warning6 |: ?0 p8 z6 A5 k: r2 P, G5 Q6 [
  1689. ;gd.jpeg_ignore_warning = 0* Q: ]2 _- s) u) H% ]; d
  1690.   g+ ^: E- R% Y9 Q: f0 C/ L" j  Q$ J
  1691. [exif]
    ) i/ a" z9 l* P: R
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    9 T+ h6 u# e' P0 I5 ?
  1693. ; With mbstring support this will automatically be converted into the encoding0 {" ^6 b5 P0 M) E
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding  V7 f6 V9 [5 F3 ]
  1695. ; is used. For the decode settings you can distinguish between motorola and
    " H- j7 o7 J3 U4 K: B" W
  1696. ; intel byte order. A decode setting cannot be empty.
    + ~" {8 i8 b+ S4 J9 @8 D
  1697. ; http://php.net/exif.encode-unicode
    : H. I# Q5 y, T) ^- _
  1698. ;exif.encode_unicode = ISO-8859-15
    % [2 T$ j( j( ~0 [/ U

  1699. ' F+ ?$ i$ r4 ^) ?
  1700. ; http://php.net/exif.decode-unicode-motorola# r$ h* p) M- E% V4 Z0 c2 G* _
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    ! x2 Q7 w+ W( J
  1702. + m+ ?+ \& B) ^: @
  1703. ; http://php.net/exif.decode-unicode-intel
    3 X* H+ P$ v5 r9 i4 `8 i6 y$ R
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ; H0 g4 s, M7 c: ?
  1705. 0 ~! M2 U( n3 V( ~9 Y" V/ E
  1706. ; http://php.net/exif.encode-jis
    5 m8 o1 D( L  p: C! \! k5 H& K2 b
  1707. ;exif.encode_jis =& Q) f0 x/ H  Y+ n
  1708. & @9 m* ^* t( T
  1709. ; http://php.net/exif.decode-jis-motorola
    ; C3 l  j: D, g
  1710. ;exif.decode_jis_motorola = JIS! U& l8 V, Y9 G! M1 k9 l& Z
  1711. 4 w- \8 B  a3 t& ~0 {, d  ?
  1712. ; http://php.net/exif.decode-jis-intel" d( |: P5 B3 {0 S" m" R+ t, g
  1713. ;exif.decode_jis_intel    = JIS5 A% b1 W3 l5 A  H& ?% w" s

  1714. 2 a6 i# A- `- o" [+ s4 Q& I
  1715. [Tidy], N1 z( k& `/ z8 y% H
  1716. ; The path to a default tidy configuration file to use when using tidy
    6 n9 F# I8 J6 S- [( i
  1717. ; http://php.net/tidy.default-config0 a0 b8 a5 l, X5 w& V
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    8 \/ u* o0 k! K2 o7 o$ m
  1719. 9 z% n3 s  B5 ~1 R! ]; N
  1720. ; Should tidy clean and repair output automatically?
    ; I# w- u% \4 I7 H
  1721. ; WARNING: Do not use this option if you are generating non-html content
    % @! L, e. m' M
  1722. ; such as dynamic images( W- y- @* a! U8 \
  1723. ; http://php.net/tidy.clean-output6 W0 _0 T# L3 F- r1 u
  1724. tidy.clean_output = Off- E' D. E! Y: l: i8 P+ J
  1725. ; c, a5 o  B, @+ y0 t: D- a
  1726. [soap]
    ! u$ B' a* X/ v) Y/ Y
  1727. ; Enables or disables WSDL caching feature.
    # B6 {. t( r& f! X0 Y2 M
  1728. ; http://php.net/soap.wsdl-cache-enabled1 x; s+ Y( `7 g) V4 d: j: {$ t$ }
  1729. soap.wsdl_cache_enabled=1% N' K" p* N& }1 d+ R8 M* A" X
  1730. ) n' P# ?9 r. N; N6 [" I2 g
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ! m( @! G+ u" P% o' u. s  u: q% H
  1732. ; http://php.net/soap.wsdl-cache-dir
    ! C# z, U8 i8 Z- g9 _
  1733. soap.wsdl_cache_dir="/tmp"
    ; m; H* R& k, S, S% B

  1734. # j9 o4 h# W, L: }; }3 O( E
  1735. ; (time to live) Sets the number of second while cached file will be used# U7 K  W2 ]5 F2 ~
  1736. ; instead of original one.5 m; n! Y. U; k( R5 p# ^* ~9 d
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ; o8 j4 {' ~4 V4 z
  1738. soap.wsdl_cache_ttl=864001 R# K8 S5 {3 b* {3 ]6 h
  1739. 1 `8 {4 w( M5 Y# E8 l  d
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    9 C& Q/ z  j# J- K& r: A
  1741. soap.wsdl_cache_limit = 5! \: W" k2 w9 |
  1742. + p. R8 T5 w4 M: `. @
  1743. [sysvshm]5 F8 \# {- y, L4 |' Z0 Z$ u
  1744. ; A default size of the shared memory segment
    ; M6 B1 P" \" \% \5 s" O, m0 y
  1745. ;sysvshm.init_mem = 10000" j' L8 e) q( j2 U

  1746. ! f. {; s8 o/ T" v4 F, Z
  1747. [ldap]9 n3 b- g& z% L
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    9 `$ b" R# s7 R8 {/ O" X- Z
  1749. ldap.max_links = -1
    ( i' e& O. h9 I
  1750. " O9 v/ i* y0 {; a4 h0 b
  1751. [mcrypt]
    / W& Q3 X' G) ^% D! A$ |% ~" @
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    8 s. e# f5 Q( t$ w

  1753. 9 C8 H# w6 }: T; k
  1754. ; Directory where to load mcrypt algorithms7 Y. ]: g4 {  E
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ o0 d% U3 Q- M- X& d; s9 h. z2 V8 i
  1756. ;mcrypt.algorithms_dir=
    5 ~9 s* f) @& o  X  {$ i4 k( s- |
  1757. : N3 U: m  z' g! Q6 g
  1758. ; Directory where to load mcrypt modes
    2 d% j/ X6 W* Y2 K! L
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ O2 O; ^" v& l) w0 ?$ U% s  Y; [
  1760. ;mcrypt.modes_dir=; T% X3 @$ H) O$ Y

  1761. " C0 E5 O4 J$ `- Q9 c
  1762. [dba]
    9 E+ g9 k, M$ E" T1 [
  1763. ;dba.default_handler=% e" f2 x# w/ @8 h3 J$ D. p; G
  1764. . R7 U  M, m6 @
  1765. [opcache]5 _5 Z* h" s% ~: Z4 D$ a
  1766. ; Determines if Zend OPCache is enabled
    * }  H# A- d7 ]* d- i
  1767. ;opcache.enable=04 V: g5 u  S! T

  1768. 0 N9 O* z' }: ~+ G3 }/ q
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . ]( ~; n% D5 W# i2 T8 }/ X
  1770. ;opcache.enable_cli=0
    7 m$ u, h# r. [2 i  X0 n% O3 x

  1771. 7 ^" a$ _/ K. D3 V1 F1 k3 y( I' S
  1772. ; The OPcache shared memory storage size.
    3 Q5 O9 u- y6 F; s$ N
  1773. ;opcache.memory_consumption=64& |: W( l1 E! e" X

  1774. 6 k- `7 _  ~/ I+ D" A& n8 L, E
  1775. ; The amount of memory for interned strings in Mbytes., b+ l0 ?. D2 \6 x  u
  1776. ;opcache.interned_strings_buffer=4# i: F1 `! Y  v% Z

  1777. 4 v, V6 N+ _$ q$ Q0 l/ n2 x
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    . h& t) |5 X# u8 N3 H2 |
  1779. ; Only numbers between 200 and 1000000 are allowed.( A# f; ^+ v& z7 G. b) H* ?* T. T
  1780. ;opcache.max_accelerated_files=2000
    7 T1 N9 \0 i4 n; ~1 C* F

  1781. / ], ]. H( f, ^- U. S
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    9 t+ f3 T; x$ @: [
  1783. ;opcache.max_wasted_percentage=5  ~# b' O# b; F, m. j$ R8 C
  1784. ) J& N) i2 Z5 b" y* ^5 d- }
  1785. ; When this directive is enabled, the OPcache appends the current working
    - V% R/ G$ O6 Z" c0 q
  1786. ; directory to the script key, thus eliminating possible collisions between& }0 d+ ]# M8 l" y
  1787. ; files with the same name (basename). Disabling the directive improves/ C, a: Q/ G8 R+ I
  1788. ; performance, but may break existing applications.; W; i7 y; O) {  Q: g! M
  1789. ;opcache.use_cwd=1
    3 H8 k! Z7 D8 J* [2 M
  1790. % P! w2 P" j! h2 v% h1 ^; q
  1791. ; When disabled, you must reset the OPcache manually or restart the
    * d1 V( z; Y* O6 c
  1792. ; webserver for changes to the filesystem to take effect.8 o5 I. q/ f* J: k
  1793. ;opcache.validate_timestamps=18 ~$ ?  B5 `* r' C! g& |0 i$ U& f, w
  1794. & P1 }* E) R0 b% [' V
  1795. ; How often (in seconds) to check file timestamps for changes to the shared/ g. I: k3 K  L+ V; s0 J  L5 Y
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    & r9 y" o6 B9 h( @4 N- Y
  1797. ; once per request. "0" means always validate)$ m3 H* f3 s+ R: Y5 `. u9 X. D
  1798. ;opcache.revalidate_freq=2# e1 Q2 O' m; t, l( b

  1799. ( ^9 Q4 s, j, @) X2 C/ C
  1800. ; Enables or disables file search in include_path optimization! m0 D# c# o$ ]0 F4 P+ O2 r
  1801. ;opcache.revalidate_path=0- |8 d/ i- R3 X5 E1 r2 M
  1802.   |  [% Z. F6 D0 v
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the3 p5 O% V/ N3 k* n) x
  1804. ; size of the optimized code.
    : f. Z. u0 Q6 [% P
  1805. ;opcache.save_comments=1) t! y7 d; g5 x- t$ H' K

  1806. 1 g! ]1 g, E* u# y! r* Y% j9 P
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code; f  v! E( Q$ S9 U# a/ R
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ) v/ T- _1 q9 d. ], {9 d) K6 F
  1809. ;opcache.fast_shutdown=0) o+ p6 p9 ~7 ^( w9 v* Z

  1810.   d# q6 J! y0 T* n, g0 U& j- T+ ~
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    : K- f% W2 ^. \, t2 Y
  1812. ;opcache.enable_file_override=0# E% D) C" u3 c' y1 N: U+ i6 u
  1813. 4 N6 `8 |# T! i% Y3 V4 H
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache. V! v- h) o$ f4 o8 r
  1815. ; passes
    # x8 ~; X; h; y
  1816. ;opcache.optimization_level=0xffffffff& q9 o1 |& f1 [; g' j+ r
  1817. 6 I6 ^" c' `/ f5 a( R9 ~8 p6 C
  1818. ;opcache.inherited_hack=1$ o. ^& y: ^  B' l6 o
  1819. ;opcache.dups_fix=0
    8 p4 @" Y4 f" W7 G$ y  m% O2 h' z4 d

  1820. 8 m( i  j, t' T$ J% ], L
  1821. ; The location of the OPcache blacklist file (wildcards allowed).: T0 Q$ l( d9 x2 X  K/ Z' y" |
  1822. ; Each OPcache blacklist file is a text file that holds the names of files# O8 g# d: B6 p! T
  1823. ; that should not be accelerated. The file format is to add each filename
    2 F& j; Y* A7 Q' G: [. y
  1824. ; to a new line. The filename may be a full path or just a file prefix
    5 h" q, n# q6 Z6 s- I
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    + a& M; G5 P6 Q
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 h& N! j" T4 k
  1827. ;opcache.blacklist_filename=
    1 r( C4 y4 f1 [6 u
  1828. 3 p' @; |7 J: l. W  B
  1829. ; Allows exclusion of large files from being cached. By default all files9 }+ O; K* u/ @( b0 [
  1830. ; are cached.9 R3 f, ]& ^" Y1 I- ]6 i
  1831. ;opcache.max_file_size=0) I7 E  c7 h) `2 E' m; O( Z% u
  1832. . B2 e0 U; j% P2 M* _" x  }/ S- T
  1833. ; Check the cache checksum each N requests.
    : S5 O" T2 g) s: c5 b$ O& @) b$ h
  1834. ; The default value of "0" means that the checks are disabled.$ Q1 N9 g1 g  X  _0 t
  1835. ;opcache.consistency_checks=0
    8 Z7 ^  x& l9 ?' a- m
  1836. % D+ z' B( C  t+ c% T
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    9 q' F1 y# Y- C- p
  1838. ; is not being accessed.
    # d5 j! U) g' {6 t! [/ p- l
  1839. ;opcache.force_restart_timeout=180
    6 W, P( ~) ?/ v  A" Z
  1840. - |5 ]" x$ |% r
  1841. ; OPcache error_log file name. Empty string assumes "stderr".4 _$ {* `, e' s* w7 e
  1842. ;opcache.error_log=
    : }5 m+ l# |. H& c

  1843. 2 \* q, w* }2 I' F2 t
  1844. ; All OPcache errors go to the Web server log.
    6 C+ O4 P: F& n! z
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ) i2 U( [4 T5 _
  1846. ; You can also enable warnings (level 2), info messages (level 3) or- R4 d) R( p; b; d
  1847. ; debug messages (level 4).
    ' {) h4 ~6 v9 Y" X: R
  1848. ;opcache.log_verbosity_level=1
    5 }; u& d: E2 z& [$ e: e6 C

  1849. . H8 S& ]* E+ b, f$ U4 U8 u
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    4 A8 Y1 ~4 q& P
  1851. ;opcache.preferred_memory_model=3 S  i  O+ m, V9 k
  1852. % `. Z4 _+ |5 u- ~1 h! B3 I
  1853. ; Protect the shared memory from unexpected writing during script execution.
    , R+ K1 s* B! J
  1854. ; Useful for internal debugging only.
    * G( T; b: N' E7 g: S
  1855. ;opcache.protect_memory=0
    3 ~4 I" j. f9 m0 t! p9 B; L" j4 w
  1856. ) z2 I  }( \" O- R
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is( \# I& l2 M' [1 E3 ?. S& d
  1858. ; started from specified string. The default "" means no restriction
    ( p- x" A% y6 K* G9 Q
  1859. ;opcache.restrict_api=& Q' i; Q  |- D5 ^6 p3 X

  1860. 6 I$ A* ~# u3 B# W
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    $ R% ?8 }+ c8 X; A
  1862. ; processes have to map shared memory into the same address space. This
    8 l/ F1 a7 K* f& u
  1863. ; directive allows to manually fix the "Unable to reattach to base address"! C+ Z; ^( E. z! R$ o; R
  1864. ; errors.' y$ Q7 A0 u, T" O/ f+ r
  1865. ;opcache.mmap_base=8 {) ^( N( N4 Z* L! q1 C

  1866. / Y$ ], t. y( b
  1867. ; Enables and sets the second level cache directory.
    ' y& U0 V* _5 V- S
  1868. ; It should improve performance when SHM memory is full, at server restart or- N2 H& Y. Q; n( i
  1869. ; SHM reset. The default "" disables file based caching.
    5 _/ n8 j2 y7 v# F  ~) j
  1870. ;opcache.file_cache=
    1 T& b, j" c- U/ D
  1871. 2 e6 V! C, W8 E; J
  1872. ; Enables or disables opcode caching in shared memory./ \( ~8 g! P5 u8 ~
  1873. ;opcache.file_cache_only=0" ^% R# L- g- c, g
  1874. 6 R; E; @4 L: @0 b% ~5 m% ?
  1875. ; Enables or disables checksum validation when script loaded from file cache.# k* |& N8 j" o+ O; Y
  1876. ;opcache.file_cache_consistency_checks=19 g6 k4 L2 d# z0 G8 u$ I, A

  1877. 3 L0 e( y8 B! U1 L* [0 [# `
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    9 }0 a. @+ \  P2 V
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    9 \" @; o9 [1 V9 f
  1880. ; cache is required.
    7 j' W0 i) g; l% v  y
  1881. ;opcache.file_cache_fallback=1
    . P, u+ a$ |% J1 ~( b0 B0 F: M9 O

  1882. 6 L3 ?* n$ [* R$ i3 v2 F) B
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.9 e0 b! j* c- e5 S7 ]! W# \0 x
  1884. ; This should improve performance, but requires appropriate OS configuration.
    ! ]% g6 d5 C$ F" O
  1885. ;opcache.huge_code_pages=1% ]: @8 s) y, V. t9 z, `9 F
  1886. $ x  M' J7 y" A# g* I5 U
  1887. ; Validate cached file permissions.
    ; M4 f, t! U' I' v: S$ I" H; M
  1888. ; opcache.validate_permission=0
    6 e! m! v# ?. s9 e! e

  1889. 0 q9 Y: h: x1 l- j# z7 b
  1890. ; Prevent name collisions in chroot'ed environment., }# ]# i6 q! m3 S) b
  1891. ; opcache.validate_root=0
    ) Y0 J( y: N2 s0 Q
  1892. 0 Z. A3 p7 N8 j2 l9 Q8 w
  1893. [curl]* u% |& M+ o1 R6 d
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& s# v8 k+ V& R  D" p5 u$ a8 D
  1895. ; absolute path.5 O/ W$ W* F9 s2 D9 X# s5 h6 Y/ @
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    6 V7 X) R# R. A6 d' H+ R: J
  1897. # R2 d4 C6 }- L9 f6 j
  1898. [openssl]
    5 w! K; T- W" p" e+ l  k; l/ a
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' @- t5 |4 H! Q( R8 x+ n; o- s
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should' v1 r4 u+ S* ^) j( T7 f2 e
  1901. ; not specify a value for this directive as PHP will attempt to use the$ @4 P3 m* s. H  y
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    # b+ q9 N: _0 c% Z0 T
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context0 m( E4 @& q' a9 H( T* i
  1904. ; option.0 @9 B8 e) z! ]6 E9 j1 Y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 x. V  O/ h6 n5 W/ ^+ U, N

  1906. ' f! k# Z5 j6 i5 X" o1 l
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    4 G1 D' x/ k% }& q& L+ H
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    0 s6 O: t1 ]! P0 i8 Z
  1909. ; certificate. This value must be a correctly hashed certificate directory./ B3 @* Q( _. z! o+ O" {+ p
  1910. ; Most users should not specify a value for this directive as PHP will
    0 F+ v- `7 p1 N% W# \0 {+ \
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 h1 b2 x. m8 c/ I
  1912. ; this value may still be overridden on a per-stream basis via the "capath"/ ~1 t6 K1 C  p5 {# t' u4 ]
  1913. ; SSL stream context option.
    $ W+ n# c7 K) Y1 \; b4 r4 C: r
  1914. ;openssl.capath=7 W! o' D' V; b- |% ~
  1915. & ~* }$ K! b' @( m; g& t1 g# H
  1916. ; Local Variables:
    ! E' U( `  L2 N& O/ c& r" N5 a
  1917. ; tab-width: 4
    ! d- D3 ~/ h& ?2 Y
  1918. ; End:
    0 x7 ]# h4 G! Y: T5 D1 |
  1919. 1 J  E1 G* L7 z; U$ w
  1920. ;eaccelerator
    % h* C( v* b* W

  1921. . ?- j* I" T$ |) y' Q# a
  1922. ;ionCube/ g& ]" i7 l7 v: J, S

  1923. : G( L3 ]4 v9 F, o; v' X  K
  1924. ;opcache: k3 F1 K* Y4 F8 M; V+ ~3 ~

  1925.   d& C% w: N% o4 a% ~" Z& _
  1926. [Zend ZendGuard Loader]
    8 Z0 m# Y; i. l( e0 O1 m6 o
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.- ~* Q5 s& p- H! k* h- l
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    9 I6 T# x* t' |* F& d% U4 M: r3 o+ R3 L& M
  1929. ;zend_loader.enable=1
    " _1 _9 S) [/ T; a
  1930. ;zend_loader.disable_licensing=0# q( j" K7 h0 a0 s. Y* t
  1931. ;zend_loader.obfuscation_level_support=3
    # i4 L$ ^" V! M) z& `
  1932. ;zend_loader.license_path=
    3 _. g, \8 \& n' G$ t! z- Z

  1933. ! [0 G- L$ x7 N/ N1 M- S( I
  1934. ;xcache
    & ]" f  u, w! X7 J, c. b
  1935. ! [5 I: P) b, _
复制代码

" K( P- j+ X8 U9 E2 `+ d$ ~
5 w- V& v& Z. @: k6 f# D9 |0 b- `3 n# D/ v' @2 ^
% b. q" `3 y6 l6 [) l6 n! _

  m* [6 q+ H$ q* c6 p& L# U( f, |" y1 v/ f+ {* B' s) }
- c$ o$ P' C/ i$ x
PHP5.6版本原始设置' R1 s+ ^- e- y. ~
! s9 v% L& e- _1 e/ P* h: z
  1. [PHP]
      F/ e7 z, a: H" {  \0 Q% M

  2. ! g3 v5 |% N1 t# t
  3. ;;;;;;;;;;;;;;;;;;;
    + ^: U/ g! s" e+ k
  4. ; About php.ini   ;& t& P! X  k1 G. i0 H
  5. ;;;;;;;;;;;;;;;;;;;
      u8 J. w* I: M2 V! ]/ ~7 }
  6. ; PHP's initialization file, generally called php.ini, is responsible for& G. p% i$ P7 R2 E' V  f
  7. ; configuring many of the aspects of PHP's behavior.
    , |& }' s+ i+ F
  8. ; d/ f2 a$ b3 v. `0 z# \" P
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # F" X9 S3 J8 N' h4 [. V
  10. ; The following is a summary of its search order:2 f2 V* A$ k4 N. A
  11. ; 1. SAPI module specific location.6 O5 D2 u5 b  l2 x3 Z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    . S' K" y% {& `! f7 b1 s" I  L# L' L
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
      J; m" C% a+ w+ I- I  b
  14. ; 4. Current working directory (except CLI)
    6 M: ~# m, U) |+ L: w2 L% p
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    2 W% g% I6 h( m" C- t
  16. ; (otherwise in Windows)
    9 O) h2 Z# m! i6 _/ W5 d% K
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" u+ _" ?6 }) `" g) P
  18. ; Windows directory (C:\windows or C:\winnt)* h: B6 F8 B- t& i. i; `
  19. ; See the PHP docs for more specific information.4 C$ h) k, y% \8 k
  20. ; http://php.net/configuration.file+ _7 F) f2 G. \# \% W. w2 P+ s

  21. 9 [, B8 Z% h' d  Z8 K: u  Y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    " |. T( ?% ]1 w
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; X+ y7 O+ ^- ^& E7 S: [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    & U8 R& ~- F4 N
  25. ; they might mean something in the future.
    : y. ]- i( V0 N5 K6 v! U& U0 o
  26. + a' o* m4 o5 M9 |+ N2 A" n/ e+ h: n
  27. ; Directives following the section heading [PATH=/www/mysite] only# u: C# K; _' ~8 U; {$ c# K- k3 O
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) u8 {0 q0 r) b7 G& W  R
  29. ; following the section heading [HOST=www.example.com] only apply to: M1 z/ k1 L) ~0 s
  30. ; PHP files served from www.example.com.  Directives set in these6 A2 D% {& [8 ?/ |4 _/ B# \
  31. ; special sections cannot be overridden by user-defined INI files or
    . s8 s0 M& e6 c+ e. ^
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % K( Q. N( G. F1 \' v
  33. ; CGI/FastCGI.
    1 `" F; m7 E5 E! R$ j5 r8 |
  34. ; http://php.net/ini.sections4 \, g8 f3 H4 b0 m* j+ ]

  35. 2 n7 ]. B+ ?' J' l1 C* d2 F
  36. ; Directives are specified using the following syntax:0 I; b% z/ z: [5 V
  37. ; directive = value
    : Q; e; e9 z1 \7 X( Q9 m& j
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.7 O% E# d4 R- L) W
  39. ; Directives are variables used to configure PHP or PHP extensions.% B( W% n3 u+ D- T0 Y' E4 V
  40. ; There is no name validation.  If PHP can't find an expected
    , S4 O) B# o" \+ {) w  M" V
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ g, f9 @: Y; p, H7 F; B
  42. 4 u. L% [/ |* q+ [* q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    8 J" B! V3 G: j1 ?# q
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression# O7 X$ P1 \2 y: K
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ( m0 G7 e& ?; e" d+ m0 g  }5 n
  46. ; previously set variable or directive (e.g. ${foo})( g; t0 A3 q" t
  47. ( _0 ^( |6 ]' M4 o. a3 C2 K
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 }# w4 \1 _* Y9 y
  49. ; |  bitwise OR/ ?  o3 Y" H6 R: f& z
  50. ; ^  bitwise XOR
    - x) V2 ?  u) q7 N" o+ A
  51. ; &  bitwise AND2 \! U8 j# e6 c  T, B" |
  52. ; ~  bitwise NOT' D% O+ @/ O5 R& Z) N
  53. ; !  boolean NOT, e4 b5 a  {! ^3 ^

  54. 2 t3 T6 p/ }) R+ r  |7 O& y7 [% G
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    8 c- J- U! T- I( ]+ x
  56. ; They can be turned off using the values 0, Off, False or No.
    9 f# [& N9 ?( L6 \8 g

  57. ! s0 }% S+ g. Z. e# {4 u: r7 n( N
  58. ; An empty string can be denoted by simply not writing anything after the equal, t8 c* ]: |3 i( q
  59. ; sign, or by using the None keyword:
    : T0 Y- r! ^' k% E. S2 _
  60. 4 c9 U1 d# v1 ?! z7 s  |4 X
  61. ;  foo =         ; sets foo to an empty string% d) B% }/ O  f3 f6 T2 F7 y
  62. ;  foo = None    ; sets foo to an empty string# U8 w, b# G) N; \
  63. ;  foo = "None"  ; sets foo to the string 'None'
    & D  ^6 \! |# W* i6 L. [
  64. 5 n# e# K: d" R% p; o
  65. ; If you use constants in your value, and these constants belong to a9 t# j1 t7 e7 M1 A
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 ^1 B3 p& p. i; h
  67. ; you may only use these constants *after* the line that loads the extension., D& F* p  z7 b! {- k: D

  68. 6 r! m) D, E3 ^3 p0 r; t; ^2 K
  69. ;;;;;;;;;;;;;;;;;;;1 g/ x2 n- u/ t0 m( ^3 R0 a
  70. ; About this file ;
    4 p* E3 H) Y+ K
  71. ;;;;;;;;;;;;;;;;;;;+ [0 t9 r' H' a3 m. D2 K& Y) Q* s* J
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
      A. P( Q5 ?2 N" [( m; X
  73. ; in production environments and one that is recommended to be used in1 [5 O' N# i2 Q
  74. ; development environments.
      n+ Q5 {; Z+ @* V
  75. 9 u( p) a+ w+ I' Q# {% k& i) D
  76. ; php.ini-production contains settings which hold security, performance and
    3 U* a* j& R+ E% e/ U  {- L
  77. ; best practices at its core. But please be aware, these settings may break1 W" V6 U" p/ ]5 P/ n7 O) g  `
  78. ; compatibility with older or less security conscience applications. We& p0 e  Q% z) D* l6 l
  79. ; recommending using the production ini in production and testing environments.
    " [9 |! C& L" a

  80. : J; V2 @5 x8 p' X% D0 G8 h8 ~
  81. ; php.ini-development is very similar to its production variant, except it is
    7 Z' H1 }' T, m, }0 ^& d  P/ w6 X
  82. ; much more verbose when it comes to errors. We recommend using the
    8 f0 H* ?; @' x$ v% M
  83. ; development version only in development environments, as errors shown to% I2 J1 a8 l  [% `% Y' y
  84. ; application users can inadvertently leak otherwise secure information." ~/ V2 T6 r& B
  85. ' c7 n9 K0 N/ |& i. k! [: {
  86. ; This is php.ini-production INI file.4 N" h  {  k7 t/ L9 ~- X$ _% u
  87. 2 p3 z7 _9 ?. N! Y0 ~
  88. ;;;;;;;;;;;;;;;;;;;3 W" l2 |3 T  ?3 p) |+ u- I
  89. ; Quick Reference ;
      {( m- y/ y# y! B" z
  90. ;;;;;;;;;;;;;;;;;;;$ v2 L5 r6 I7 q
  91. ; The following are all the settings which are different in either the production6 y9 r' q2 U, O5 W% W" A( V
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    5 p. n' k9 V6 T; @6 f; P
  93. ; Please see the actual settings later in the document for more details as to why
    - w7 c! c. X  g' `0 Q
  94. ; we recommend these changes in PHP's behavior.% W/ G! n. h8 M" `# ^) {
  95. ! f& p! f4 K! T, O5 U5 X
  96. ; display_errors
    3 a, l. a# B+ L! \3 w. X& i
  97. ;   Default Value: On" M9 ]3 ~* I3 p( B
  98. ;   Development Value: On, D$ m: h# I8 p: H( m# r; ~( k+ i
  99. ;   Production Value: Off! S6 F0 y/ K3 N+ m
  100. $ x  w1 c5 r6 O% d
  101. ; display_startup_errors9 r" |6 B& j& q
  102. ;   Default Value: Off: g& T) m" i; ]
  103. ;   Development Value: On1 H! c6 V& |( J( |' Y- |# i1 m
  104. ;   Production Value: Off8 i: ~' y( V" U# ~. f+ l; V$ b

  105. 8 f  O5 X" J: H( g
  106. ; error_reporting
    ! T$ c$ w; A' ]# l4 r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # p# S( _- Z6 f
  108. ;   Development Value: E_ALL1 p) M9 I# ^7 D* d
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: g/ G" g- ^/ d( \# P2 C# B7 a' I

  110. 0 S) p$ Y! _: K- K8 k$ a/ T4 I4 Q% B
  111. ; html_errors
    ' R- K$ B- v. p. t- J
  112. ;   Default Value: On! P5 @1 H) T# G3 r! t) M
  113. ;   Development Value: On, p: w/ S5 L5 x3 f
  114. ;   Production value: On
    - o/ f) j: K4 D9 ]+ A$ G

  115. / |1 `4 j; p; u
  116. ; log_errors
    % \8 P! I5 K# y1 [. L, ^
  117. ;   Default Value: Off
    8 p" r- s- B1 r& o* M
  118. ;   Development Value: On. {, C& c8 R0 a- b$ Z  e" r
  119. ;   Production Value: On' N8 o1 X, [4 a/ |) T! c$ I
  120. ! L. o8 p/ y$ ^3 j! y1 Y" b8 `
  121. ; max_input_time
    # V3 F; R2 ^4 a5 S
  122. ;   Default Value: -1 (Unlimited)
    / k& _' ^7 L" O+ H3 ^# u. V8 e
  123. ;   Development Value: 60 (60 seconds)9 i$ }/ }  G1 ?4 Y" Q
  124. ;   Production Value: 60 (60 seconds)
    : Z: k, L' N- C2 @8 i- T5 w
  125. # l; {: q1 V$ n+ N: a1 X
  126. ; output_buffering3 \6 A/ i, M% _3 m0 x. }0 x- s/ C- I
  127. ;   Default Value: Off/ p4 {4 X* z+ {! j
  128. ;   Development Value: 4096: p8 P( I2 d5 n/ c
  129. ;   Production Value: 40967 g4 |# O/ a9 H5 ?

  130. 6 k! b* ~7 N* u# k: I4 }( m% J
  131. ; register_argc_argv1 M* M$ D" b- y; F9 H# y: Y& x
  132. ;   Default Value: On
    ' A( r" |; P+ M5 d
  133. ;   Development Value: Off' e2 O  {+ L7 \# q0 C
  134. ;   Production Value: Off
    ; W& Y6 s7 d$ z

  135.   G- B* ]  v, M6 N) u" |
  136. ; request_order, W' ^0 L$ G8 N2 {  g8 }, _7 e
  137. ;   Default Value: None
    . O  v6 l+ H0 L
  138. ;   Development Value: "GP"& }' x) E7 t, D: u% h+ J2 t9 C
  139. ;   Production Value: "GP"0 A0 N& q! O8 Y$ W3 a

  140. 9 m. D' w9 S) z, c3 n7 z8 o4 J
  141. ; session.gc_divisor- ?; {3 W9 v5 d, b4 r
  142. ;   Default Value: 100
    1 _* O$ O; u  B4 C2 C( A5 T
  143. ;   Development Value: 1000. {( p" M+ C6 |' S2 X
  144. ;   Production Value: 10007 l$ E8 ?* x2 M& `4 N. y6 J3 G, ~

  145. , u- L; {/ U* g+ O& }: i& K# U
  146. ; session.hash_bits_per_character
    3 i- N! D1 l+ H( m7 |
  147. ;   Default Value: 4
    - M! s2 M) @& O" g1 N0 N; z9 [
  148. ;   Development Value: 5
    ; S6 H; B1 F* X" K/ Y8 a2 N; S( }
  149. ;   Production Value: 5
    3 d! e+ U( q0 H0 }4 Z5 K

  150. & \, V1 e. t# m3 y! C1 j: T. w
  151. ; short_open_tag
    9 J; E* Q+ K; \* N! P: i
  152. ;   Default Value: On/ k# y  _! K  s
  153. ;   Development Value: Off
    & t8 T, u5 x/ T& y6 K1 j
  154. ;   Production Value: Off2 t/ i! n! I" d
  155. 1 U8 F8 H: \& O* {6 y
  156. ; track_errors
    / b( `3 e$ H, @
  157. ;   Default Value: Off0 L& f" i7 G' C
  158. ;   Development Value: On2 M9 U5 Y5 l+ g, Q# L! j
  159. ;   Production Value: Off9 \. ?* a! Q8 x  H
  160. 4 x( ^; x9 v: F! a& p0 v
  161. ; url_rewriter.tags
    # c3 E8 h" f1 U" r! Q7 R2 [8 {6 K
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=". |' b0 H: k% J7 S
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". I0 m0 W4 U( L( D+ T
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 V7 ]: _1 a7 ]' I# u% h4 E4 R! X
  165. 6 e) f- {# M/ W/ g
  166. ; variables_order$ U4 |6 B4 @* M7 n, K* g' {# @
  167. ;   Default Value: "EGPCS"
    5 H0 Z; U4 L( B& R( U: _
  168. ;   Development Value: "GPCS"
    5 j. |& h! o  M$ j/ n  Q
  169. ;   Production Value: "GPCS"7 J; |# r- L" y/ m2 q

  170. ; n* Y9 r/ B' Q+ b
  171. ;;;;;;;;;;;;;;;;;;;;
    6 T" m6 h& w% s; ]; |  m
  172. ; php.ini Options  ;
    8 B: B9 b9 A2 ]$ a: O
  173. ;;;;;;;;;;;;;;;;;;;;. L9 k/ {& Q& H; P% D: v! T. ~; E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"$ g9 |8 ?/ B1 W. _2 i1 E' l# ^
  175. ;user_ini.filename = ".user.ini"
    * l; }$ ?9 \' a
  176. 8 I) F) D3 c2 |1 Q
  177. ; To disable this feature set this option to empty value/ R+ R3 A' H5 l2 i% Y! W+ e/ L4 w
  178. ;user_ini.filename =0 \% y; I( F' S( M% _4 ~

  179. * h6 Z3 p2 J& |0 q( P+ Q# \5 O5 I
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)- ?9 s: c' w! P) N$ F# H) l) s- h
  181. ;user_ini.cache_ttl = 300
    4 q3 x' q3 a: |7 D" m* M9 K3 z
  182.   j2 S5 c& ]  |& H
  183. ;;;;;;;;;;;;;;;;;;;;
    ' e+ P( J1 T$ X" }7 n  Z- k. w
  184. ; Language Options ;9 |. q, |( h2 q  D0 H3 |7 F
  185. ;;;;;;;;;;;;;;;;;;;;3 s: v; M) U7 V
  186. 5 `- \4 X' g; h( q1 S+ m' E3 i
  187. ; Enable the PHP scripting language engine under Apache.) L# w8 E0 e9 D3 C- T
  188. ; http://php.net/engine; [5 {0 c7 t. ]( T2 s+ L0 Q
  189. engine = On2 L' i9 m8 p2 o9 {3 N4 O

  190. 4 [) e. x& ?9 D$ Z& D  b
  191. ; This directive determines whether or not PHP will recognize code between3 t5 y2 {3 ?; d- {2 t3 w3 F
  192. ; <? and ?> tags as PHP source which should be processed as such. It is: v- j0 m6 ~4 b* m  K, P3 f& q6 W
  193. ; generally recommended that <?php and ?> should be used and that this feature# E8 i1 {' M7 S
  194. ; should be disabled, as enabling it may result in issues when generating XML
    5 k% D% W- o, n. u: T
  195. ; documents, however this remains supported for backward compatibility reasons.
    7 i) Z5 U# A- X" D  D; ^
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, ]* D# o' k+ W3 @: b+ H
  197. ; used regardless of this directive., q. S, v* a# S
  198. ; Default Value: On) r1 D3 k# Y5 b8 r( i# Z1 r) i
  199. ; Development Value: Off
    1 W2 u2 N. @6 G0 I
  200. ; Production Value: Off
    4 |7 m, W4 N. _$ k! A
  201. ; http://php.net/short-open-tag
    ! ^, i6 _4 i# T& k2 Z: o' {8 A
  202. short_open_tag = On/ z+ f3 L, l8 {- u1 A8 T8 l7 l

  203. + j% T2 }8 v# P, E
  204. ; Allow ASP-style <% %> tags.
    : s' P1 V) e* L
  205. ; http://php.net/asp-tags
    ! ]+ g* t" P8 b  M8 {* y
  206. asp_tags = Off
    0 r- a' q6 t. h% c8 t( y) w! M3 R" y! [
  207. - a; @2 ?2 q) h7 L2 l
  208. ; The number of significant digits displayed in floating point numbers.
    : {3 S5 j# a0 G3 L# O+ N$ V
  209. ; http://php.net/precision4 h- i* L( v, ]5 r0 z+ Q
  210. precision = 14* z3 O, e& T0 B; X9 G+ H9 i

  211. 3 l, a* w" r  W# U( m# y
  212. ; Output buffering is a mechanism for controlling how much output data
    ; z4 y8 b" z# Y+ \5 u7 x) ~0 @
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    2 o6 S: ]8 T+ I( y
  214. ; data to the client. If your application's output exceeds this setting, PHP/ V  P( w8 F5 B* ?
  215. ; will send that data in chunks of roughly the size you specify.- Z5 r5 H7 f4 e5 h/ o9 Y" a# B
  216. ; Turning on this setting and managing its maximum buffer size can yield some( E8 w' E  p5 j& _; u# c
  217. ; interesting side-effects depending on your application and web server.2 U3 c$ j; i  s6 d8 {
  218. ; You may be able to send headers and cookies after you've already sent output
    + @% a6 ^# {- L+ v  ]
  219. ; through print or echo. You also may see performance benefits if your server is7 L1 O7 v% j* h/ X. `
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    : q5 z6 r0 Z9 W1 D% h+ G+ i
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance" E; s0 V+ V- w& _# v' X
  222. ; reasons.
    : I4 U5 a7 C- B  K9 T: l2 b0 j
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 M- V( M2 `. S2 r  J4 `
  224. ;   functions.8 N" S4 N4 [  Q1 p& V4 c& G8 K
  225. ; Possible Values:' [8 x; \# F8 h  G" C
  226. ;   On = Enabled and buffer is unlimited. (Use with caution); \; q9 C! Z9 u3 L; [; n0 K
  227. ;   Off = Disabled  w+ z9 e& o. X. D
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.1 X. h5 Y# Z" ^! F1 q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 V4 G( C( i8 K2 \7 q# m
  230. ; Default Value: Off
    * N% Z- `" r- Y: W
  231. ; Development Value: 4096
    ' r8 ^' D4 N' S5 S2 x/ b' c# c' o- n
  232. ; Production Value: 4096
    5 |4 c& C) k8 }' ]
  233. ; http://php.net/output-buffering
    2 }- L, S: ^* F1 i: w: U
  234. output_buffering = 4096' U6 S/ p& \2 o4 Y7 \0 X
  235. 1 z# L/ E' `' B. I
  236. ; You can redirect all of the output of your scripts to a function.  For' B* r! o; Z' O5 h
  237. ; example, if you set output_handler to "mb_output_handler", character
    $ I: W5 W. R8 N: v. Q3 ?
  238. ; encoding will be transparently converted to the specified encoding." E+ i3 a# m" R% o) u4 O. y0 Y
  239. ; Setting any output handler automatically turns on output buffering.
    & h) w# S9 J. v# ]# J( R
  240. ; Note: People who wrote portable scripts should not depend on this ini. C' j1 W. O/ Q4 c4 l
  241. ;   directive. Instead, explicitly set the output handler using ob_start().2 `1 S+ K: q" A4 a( w$ s1 A" g  C
  242. ;   Using this ini directive may cause problems unless you know what script1 [. a/ y" J: v$ m7 d
  243. ;   is doing.5 M. w6 T7 |; a4 i1 U
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " q: a2 ]( r! ?
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"./ g8 Q5 j2 e9 x0 H. m! D
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 {8 L: E& J  e, \  [3 U
  247. ;   Instead you must use zlib.output_handler.+ C$ Q2 j2 A( ~' |
  248. ; http://php.net/output-handler* U8 O  X- m+ ]& o3 y# E
  249. ;output_handler =' }% V1 W! O2 H' C# P6 l
  250. 6 u4 K5 {, R4 O7 F/ }$ s
  251. ; Transparent output compression using the zlib library5 ~/ H' w1 S  a) \! [- ^: R
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size9 v" A% }! i! k: y" o/ D
  253. ; to be used for compression (default is 4KB)- H" \' X1 F+ U4 {% N' p
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    2 [9 A* K/ O+ W  \& W1 |  @  V
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ' @$ A7 Q) W: ]
  256. ;   compression. If you prefer a larger chunk size for better( j: _! L1 C3 g7 @% j. G% v; q
  257. ;   performance, enable output_buffering in addition.
    5 W, {# \7 J/ }$ e
  258. ; Note: You need to use zlib.output_handler instead of the standard: i: W2 b; ~0 @2 n4 L3 U) c- |# E% t
  259. ;   output_handler, or otherwise the output will be corrupted.- \! ^9 @/ k" N4 f% ]
  260. ; http://php.net/zlib.output-compression5 n9 F" b( e, F( @
  261. zlib.output_compression = Off
    ) n- R; S2 |! N. g
  262. 1 ^' f, S. U0 J$ q  J. q2 Z
  263. ; http://php.net/zlib.output-compression-level1 }) h2 O& Y. E# S
  264. ;zlib.output_compression_level = -1; p( q+ Y& r# A  Y6 k$ Y

  265. ! x1 d' `: V) |+ H3 e) U) j7 n6 t
  266. ; You cannot specify additional output handlers if zlib.output_compression! G9 F! `  C+ ]
  267. ; is activated here. This setting does the same as output_handler but in
    $ H, h, Z- O- k
  268. ; a different order.+ I7 @: m! ^3 u
  269. ; http://php.net/zlib.output-handler8 r1 @: l; ]% N
  270. ;zlib.output_handler =# M) ?, _$ Q8 F: _' l

  271. 7 l' N3 S2 n1 {0 o# [
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; G6 k! c4 F1 t9 B4 ^9 f
  273. ; automatically after every output block.  This is equivalent to calling the
    1 E3 M& `& s" X, s4 c" c
  274. ; PHP function flush() after each and every call to print() or echo() and each6 {5 C% Q6 p' f! F7 _: m6 F5 c
  275. ; and every HTML block.  Turning this option on has serious performance
    0 b* J1 G/ q" G
  276. ; implications and is generally recommended for debugging purposes only.8 x9 \$ z/ d- Y' N  z
  277. ; http://php.net/implicit-flush
    8 Q3 |7 ?% L* T8 g! A+ g
  278. ; Note: This directive is hardcoded to On for the CLI SAPI" D6 D0 n! @1 a$ C/ |
  279. implicit_flush = Off
    ) l4 X/ `. E- }. _# ^. j

  280. 8 H, w* @2 p7 D  \, ?
  281. ; The unserialize callback function will be called (with the undefined class'
    $ l: U4 k/ Z2 M" F0 L$ T
  282. ; name as parameter), if the unserializer finds an undefined class
    ' z- [& |- J3 ]1 P9 D  V, D% N  j
  283. ; which should be instantiated. A warning appears if the specified function is
    % v6 H' K) q. `4 T
  284. ; not defined, or if the function doesn't include/implement the missing class.
    1 v8 H( U' E/ E8 j$ _% n# d
  285. ; So only set this entry, if you really want to implement such a7 K) A! E' e6 k% ~: D
  286. ; callback-function.9 `: b9 v3 @& }* l5 @, Q8 v& e
  287. unserialize_callback_func =: J, e, ^) n; T) Y' i" e

  288. 7 z% i& B8 F( d: s; ?  x
  289. ; When floats & doubles are serialized store serialize_precision significant, T" ?+ J+ q5 U, X
  290. ; digits after the floating point. The default value ensures that when floats9 l1 S& P6 v% U* }. l
  291. ; are decoded with unserialize, the data will remain the same.
    ! D' [( Z2 [3 `- O/ g1 P/ |+ I
  292. serialize_precision = 17
    + r2 p9 r! q7 g: E6 Z" y5 x' r1 k
  293. 1 Y$ G; e) Q( h9 j$ Y
  294. ; open_basedir, if set, limits all file operations to the defined directory% C7 O. X4 `0 H+ b0 F
  295. ; and below.  This directive makes most sense if used in a per-directory  N% {* k' [  h' D+ w1 W& p# I
  296. ; or per-virtualhost web server configuration file.
    9 e; p& o! j7 L4 B3 d
  297. ; http://php.net/open-basedir# y6 X" u! q5 i! w
  298. ;open_basedir =' H: \2 f+ ?% J; s! h8 E: Q
  299.   Y' y! d% P1 ~+ s+ }, r; y
  300. ; This directive allows you to disable certain functions for security reasons.
    2 G1 v1 b; ]; \) I0 u
  301. ; It receives a comma-delimited list of function names.( w8 L8 o( F; p
  302. ; http://php.net/disable-functions" _9 Z1 r2 M+ L1 n
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) m' S- F) U; ], I
  304. + c7 _7 B" {4 b' f7 x4 u
  305. ; This directive allows you to disable certain classes for security reasons.
    0 W. A4 k" Q' G3 M" ~/ y! w
  306. ; It receives a comma-delimited list of class names.
    9 ~) K$ M! l1 V5 `% z6 ~
  307. ; http://php.net/disable-classes6 w1 _( c. `  k
  308. disable_classes =, k: s. l# m8 i- x+ r( a
  309. 6 q/ g: t. R: P
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 |& \3 e5 v; n
  311. ; <span style="color: ???????"> would work.1 o# L2 Q& A, H, X9 v. F8 t) t
  312. ; http://php.net/syntax-highlighting' M; i& P2 S0 E$ J( F
  313. ;highlight.string  = #DD0000
    $ N+ ^/ H& U# K! |. s# Y
  314. ;highlight.comment = #FF9900+ _! T$ P  q. I
  315. ;highlight.keyword = #007700% a1 f, C, l, \+ x+ l
  316. ;highlight.default = #0000BB" H4 T9 ^) _/ f' s' [
  317. ;highlight.html    = #000000$ k; ~* E) B5 _" _' A2 U: i

  318. / V! u6 o/ _- Z+ H
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    . T' @2 O1 I& Y
  320. ; the request. Consider enabling it if executing long requests, which may end up$ Y$ Q& z! g# _& _5 _
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior' o. K8 F, v: T
  322. ; is to disable this feature.
    8 r! J+ l4 s; J0 Y4 p; F' h6 N
  323. ; http://php.net/ignore-user-abort. ^( ]7 `/ v' H! Y) e" I
  324. ;ignore_user_abort = On
    , X) X- O: M1 n: e# \+ E
  325. . z7 P) M( R1 a$ H' ?! ~: E
  326. ; Determines the size of the realpath cache to be used by PHP. This value should/ [/ N" z, I8 t8 u# }0 S
  327. ; be increased on systems where PHP opens many files to reflect the quantity of1 ^% A( C# b' B# z+ P
  328. ; the file operations performed.1 @7 d/ P0 ]4 f5 b: u# V" Q
  329. ; http://php.net/realpath-cache-size
    9 @! y3 y0 l, e2 w
  330. ;realpath_cache_size = 16k
    ) ~$ U' t/ w1 l  K

  331. 8 ~2 G) W$ E3 k. x# u$ s, y
  332. ; Duration of time, in seconds for which to cache realpath information for a given) K" {( T$ B; S0 Q! x3 T
  333. ; file or directory. For systems with rarely changing files, consider increasing this2 @# f3 u' e( a
  334. ; value.
    ! l' A  j/ N) K/ Q3 o
  335. ; http://php.net/realpath-cache-ttl' W, Z: H9 \+ m, X& }
  336. ;realpath_cache_ttl = 120
    5 D" ]( h9 N. E+ w' Q* _( M) q! W; j1 v
  337. - x" g$ U  E4 L5 C1 L% \( J4 L
  338. ; Enables or disables the circular reference collector.$ n' o0 C: u  p: q7 y2 Q5 H, I! _
  339. ; http://php.net/zend.enable-gc% Q: I9 h2 c5 q6 v
  340. zend.enable_gc = On
    # u3 M) ^& u/ y7 i! r
  341. / u& n( t7 E+ s* j! m& u, Y9 I
  342. ; If enabled, scripts may be written in encodings that are incompatible with! N/ p1 z: y/ g9 l6 x9 p
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + D0 @: [, T6 h
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( p, r8 {7 J! `% x4 B" T; Z" n2 }# m
  345. ; Default: Off7 U5 i% w1 j3 z3 B1 N4 A; \7 J/ O
  346. ;zend.multibyte = Off
    + o4 U, d! {7 b7 _! m' r$ u
  347. ; ?+ u' s9 C' q  r3 v& y
  348. ; Allows to set the default encoding for the scripts.  This value will be used, P& c; a. i8 `( s
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    $ C" z9 `, y, ^9 u8 I: O8 r1 G
  350. ; Only affects if zend.multibyte is set.. e. r( P9 s* Q$ F; g
  351. ; Default: ""
    8 A/ V2 l9 `1 t. }6 ?  P
  352. ;zend.script_encoding =7 w) x! Z; D/ f) q" ~

  353. ( o/ w6 n7 L/ M/ Q0 x( M. H
  354. ;;;;;;;;;;;;;;;;;
    ! k7 v# X8 ^8 }/ w; Z) g
  355. ; Miscellaneous ;
    1 |4 N! u5 n4 Z- `
  356. ;;;;;;;;;;;;;;;;;; {% i2 p! \8 ]9 v. j8 [4 A
  357. % E4 {4 M. |# D" \5 \  p9 Q
  358. ; Decides whether PHP may expose the fact that it is installed on the server+ D7 ~3 W. Z5 q) l
  359. ; (e.g. by adding its signature to the Web server header).  It is no security5 N  ?2 W# e& R' b5 G8 ]. z; S
  360. ; threat in any way, but it makes it possible to determine whether you use PHP, D' r3 D2 y; Z6 r2 s
  361. ; on your server or not.! k. q6 `. G( k8 F6 ~- y
  362. ; http://php.net/expose-php
    2 }$ |/ H8 ~' o9 V# o" n, D. e5 `" E
  363. expose_php = On
    1 @6 x  U7 l, f( M; L
  364. / m/ B, o3 G  H. ~0 `
  365. ;;;;;;;;;;;;;;;;;;;- R" K9 y; O* _* k7 L
  366. ; Resource Limits ;& x" h# h2 c8 J8 b7 r
  367. ;;;;;;;;;;;;;;;;;;;) X3 S* v( X' o
  368. 0 x, S- ~: D9 E% [* q# \
  369. ; Maximum execution time of each script, in seconds
    9 N: K. p9 [; t5 J! W! \
  370. ; http://php.net/max-execution-time8 p) O2 q4 E, m4 x
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & {" k4 R% [; `, y3 l
  372. max_execution_time = 300
    + p! a0 {0 D8 {

  373. ; X& R* h+ r; z6 I! y0 _
  374. ; Maximum amount of time each script may spend parsing request data. It's a good1 F6 S9 _. h9 H
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly4 W& m8 g5 O2 I( [" I2 \
  376. ; long running scripts.
    1 C( U1 l2 @6 w6 D
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - M" W3 y2 h9 N
  378. ; Default Value: -1 (Unlimited)+ d4 x4 `( _8 z6 d5 I$ [3 ?
  379. ; Development Value: 60 (60 seconds)
    . H$ k0 s: }3 J9 T" E+ l
  380. ; Production Value: 60 (60 seconds)
    8 h! n; \! ]' a. B
  381. ; http://php.net/max-input-time' q: }; e/ S* J4 D
  382. max_input_time = 60( q; Q4 F: [7 K1 F

  383. 4 `) P7 j' [$ ^
  384. ; Maximum input variable nesting level
    1 C( [/ X  H; ]$ E
  385. ; http://php.net/max-input-nesting-level0 _6 N; a( s' ^9 U* P+ Z' O
  386. ;max_input_nesting_level = 64% O( }4 P, o, b

  387. ' A7 @% q9 ?( q  i3 I$ J
  388. ; How many GET/POST/COOKIE input variables may be accepted
    7 T, Y1 n+ a$ h, m
  389. ; max_input_vars = 1000! l9 z! d' ~8 W9 @  |
  390. 5 |  i) {" V( O9 H0 w
  391. ; Maximum amount of memory a script may consume (128MB)
    : h( f7 E6 W+ P' ]' q$ {5 f; q  P
  392. ; http://php.net/memory-limit  ?6 Y! O, y* l
  393. memory_limit = 128M  G$ i  q  w0 z4 f8 ]! a
  394. 4 Q9 N9 G$ m8 _: k- t
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 u, C3 P6 e5 F  f: J
  396. ; Error handling and logging ;; A; i! o6 ?. v9 ?# E" Y0 J
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      E: `% k" Q' i* W

  398. 6 C# \1 K$ o% u3 E: G8 \( j
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    1 @) l" h' Y$ {/ K, u+ A
  400. ; it to take action for. The recommended way of setting values for this
    ' O3 d- x3 X" h; J; d* Y: c
  401. ; directive is through the use of the error level constants and bitwise
    * N0 b" n; P4 N& t! z. M
  402. ; operators. The error level constants are below here for convenience as well as8 ]2 l! r$ e1 p' U2 {
  403. ; some common settings and their meanings.
    ) U% k8 T0 u2 F  d5 n8 G
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    6 }! x9 _. }6 }  v- q3 I7 v
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    2 r( U4 i) Q& l, _; e, h
  406. ; recommended coding standards in PHP. For performance reasons, this is the) E# Q" g* q( C# J, T
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    9 E1 O" U8 b+ ~& a  V
  408. ; resources complaining about best practices and coding standards. That's what* z' S- S: y9 }8 D& N
  409. ; development servers and development settings are for.
      H! G- h7 m- X
  410. ; Note: The php.ini-development file has this setting as E_ALL. This/ `& l( O  Z$ ]) n
  411. ; means it pretty much reports everything which is exactly what you want during
    ) k8 k/ A% A& }3 E: m
  412. ; development and early testing., y: J, \+ R) _* a3 u! @
  413. ;
    3 X: S! M; n, e7 q$ U6 @: U4 \
  414. ; Error Level Constants:, M9 \& k' X) |2 S$ e2 N
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 M5 ]1 O: }4 ]6 ]
  416. ; E_ERROR           - fatal run-time errors
    2 ?: }2 U/ q( e! J' j
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    # Z/ x; m6 @+ Z9 w
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 V4 m  V4 ?% f% c/ [/ ~
  419. ; E_PARSE           - compile-time parse errors
      ]/ l% B7 p* p, T1 p: W0 x5 y+ G& s$ E
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    . n* v- T" {- M; n
  421. ;                     from a bug in your code, but it's possible that it was7 d. n2 t# A0 J3 ]2 l
  422. ;                     intentional (e.g., using an uninitialized variable and
    2 E$ M7 X9 _( {9 S" Y! C
  423. ;                     relying on the fact it is automatically initialized to an
    8 s% T, e) q, _* X9 h" I1 i
  424. ;                     empty string): k) O) e3 V  r, O3 q0 J; P) K
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    % c3 I: J6 l6 Z& ]5 [0 e
  426. ;                     to your code which will ensure the best interoperability
    4 @+ z! }5 M9 G& h5 I, O) [
  427. ;                     and forward compatibility of your code( H/ f8 B  B/ j# ~  q+ {
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup1 u$ {! i7 d8 I8 T7 T
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) N; v4 g4 X4 y" d8 z
  430. ;                     initial startup  U4 r: W  H1 B9 G
  431. ; E_COMPILE_ERROR   - fatal compile-time errors3 o' G, P# @+ B5 ]' T# e
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)9 L& r7 q7 b7 [8 s
  433. ; E_USER_ERROR      - user-generated error message6 f) a" u* Y' r' I2 b  m* b: E
  434. ; E_USER_WARNING    - user-generated warning message
    ! {( D9 x" B' O# K8 ^
  435. ; E_USER_NOTICE     - user-generated notice message
    1 Z& u8 e# M2 i" R9 h6 S3 ^2 N
  436. ; E_DEPRECATED      - warn about code that will not work in future versions) Y' j4 ]  ~2 t/ d5 I& O/ W+ H
  437. ;                     of PHP) ]+ z  V4 r! M5 [+ y
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    : p3 a/ {. W4 G4 t! e/ F
  439. ;
    + Q1 [* o" f# M' S
  440. ; Common Values:3 _( {& Y$ @$ m% E
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    * b& K2 @$ g( b+ m; |
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    / C* z3 e3 r  E5 L: e
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' r, j1 X9 ^3 v; D4 K4 O
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    8 p* h% F- M; K& x+ M
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 U: ^4 E1 S9 g0 |
  446. ; Development Value: E_ALL
      s! D8 `1 h  _+ D* A' a
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 @$ `. l$ _; ^9 Q2 a2 a, h) o
  448. ; http://php.net/error-reporting
    ; s/ M( A# r' L* J, ]% P
  449. error_reporting = E_ALL & ~E_NOTICE
    . i% F; k9 Q6 [

  450. ; R9 k9 c, V7 U( \6 _8 i, {$ y4 X
  451. ; This directive controls whether or not and where PHP will output errors,
    9 r" B5 |  l- _0 {! H/ q
  452. ; notices and warnings too. Error output is very useful during development, but
    7 O, E: S  ~7 j; i
  453. ; it could be very dangerous in production environments. Depending on the code7 t9 L3 ?0 s! K/ D7 {
  454. ; which is triggering the error, sensitive information could potentially leak
    ! v* D( m: G2 h
  455. ; out of your application such as database usernames and passwords or worse.3 j" X3 h, `0 Y; O4 V; F
  456. ; For production environments, we recommend logging errors rather than* w0 m- f2 j+ W  I; O
  457. ; sending them to STDOUT.* r3 c9 u$ K. t  c! C5 a& V
  458. ; Possible Values:. U; f6 R7 c- s% P+ f6 q( H
  459. ;   Off = Do not display any errors9 c- o2 ^! z3 N9 O5 ~2 v( f
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)- s0 B; @( ]$ f. {9 e9 g
  461. ;   On or stdout = Display errors to STDOUT
    6 X* h! O2 a) ~9 i2 K$ C0 V2 s
  462. ; Default Value: On8 B; S- H; |# u; F4 C- [9 x, [* k
  463. ; Development Value: On
    - \9 x8 V1 p' P0 e6 i' w% C
  464. ; Production Value: Off
    ! N; ]1 d" w1 ]" Q$ S$ z! G* S
  465. ; http://php.net/display-errors( r( [% {# T( U
  466. display_errors = On
    4 Q3 G5 N( w1 b' D1 o
  467. ' k& F1 E" n) a0 g
  468. ; The display of errors which occur during PHP's startup sequence are handled/ ~% [( [7 v5 \- D2 f) }
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    - f+ |7 ]5 G6 N& I" e, l3 b
  470. ; errors from clients. Turning the display of startup errors on can be useful in& B) e: u% ]) X  l
  471. ; debugging configuration problems. We strongly recommend you
    / H5 `% \- l, L) M( F" ]7 `
  472. ; set this to 'off' for production servers.7 |( H! \( F7 s+ F( O
  473. ; Default Value: Off, s9 [3 Z+ b0 j3 U
  474. ; Development Value: On) G; V; M) P% \) x; F! J
  475. ; Production Value: Off# a- z2 r7 }7 Q) m0 U% F, |
  476. ; http://php.net/display-startup-errors# S8 i, P0 d- {* y. h! ^
  477. display_startup_errors = Off
    ; `: `; i0 s% J, q

  478. / T: J! G+ a. U6 l1 {
  479. ; Besides displaying errors, PHP can also log errors to locations such as a! u% g' J8 D) a% D) m
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ) |9 \# }7 E  _3 Y8 o
  481. ; directive found below. While errors should not be displayed on productions% A9 z% E: D1 D& }
  482. ; servers they should still be monitored and logging is a great way to do that.8 A- y* Z/ p3 I) Y
  483. ; Default Value: Off7 `3 W! C6 I, v( Y# ?. T
  484. ; Development Value: On
    * y7 ?$ Q8 a/ |: R7 r) ]+ I
  485. ; Production Value: On. q8 u) b! c! Z7 `  n
  486. ; http://php.net/log-errors$ A$ Z/ a; x& R( W
  487. log_errors = On
    ) K; i3 f2 O" R- M0 q4 D/ y

  488. : Q# G0 s3 n* l5 K
  489. ; Set maximum length of log_errors. In error_log information about the source is
      c/ [/ e# p$ r- C* C* A
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 R4 a" {: ]; G: E
  491. ; http://php.net/log-errors-max-len
    5 E# v$ X. |3 s8 P8 V
  492. log_errors_max_len = 1024: ~% k) O# N( o8 p) I

  493. 8 R5 h, R# G2 i( @. p
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , e( p" w+ @: J0 X/ q
  495. ; line unless ignore_repeated_source is set true.- Y9 E, M& O- ~0 G$ m: H6 ?& r
  496. ; http://php.net/ignore-repeated-errors
    ! Q8 f- a$ X9 \
  497. ignore_repeated_errors = Off
    * B7 o( L. V. e
  498. 4 N/ b7 ^+ s9 e6 u9 o- _" e8 m
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    : g0 h* i4 _+ `: @% T
  500. ; is On you will not log errors with repeated messages from different files or
    2 v! G9 Z4 n4 v1 ]2 `
  501. ; source lines.2 z3 y, W/ f1 W; J- F
  502. ; http://php.net/ignore-repeated-source+ _3 |+ D  Y3 \( r5 X
  503. ignore_repeated_source = Off
    # O* U! }3 S. A; J) L' l( z
  504. ! m7 i- J8 R% L) ~  Z5 N' x
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & D3 t5 R5 I7 R* z5 D& a% G
  506. ; stdout or in the log). This has only effect in a debug compile, and if- o$ B) ~, K' V# P0 p* ]& J, ^
  507. ; error reporting includes E_WARNING in the allowed list
    0 B$ O- Q3 W$ C, g! q
  508. ; http://php.net/report-memleaks* g) F8 O( V9 Y7 @0 f
  509. report_memleaks = On/ P" z+ c( R3 O+ h
  510. 9 v" x1 G% a7 m) ]' v
  511. ; This setting is on by default.
    0 R! Q* t0 m" p, }. X
  512. ;report_zend_debug = 0
    0 l$ y5 F4 r- e7 t" ~* l

  513. 2 R  a* z6 O0 Q. d# A# k
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value( l1 g' c) {" `
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    , v1 ?0 f! O/ p  C: H# R
  516. ; however be disabled on production servers.
    ' T" ?/ z5 {2 D$ K( Q
  517. ; Default Value: Off
    7 `" m9 Y! W) I6 _, Y. m/ K
  518. ; Development Value: On& }$ }8 q8 T" L1 k( Y6 ?& c
  519. ; Production Value: Off
    6 l! n6 R7 K' _! F8 b
  520. ; http://php.net/track-errors
    ' R2 G, S: @2 V9 v6 k+ ~5 v
  521. track_errors = Off8 y3 B/ H: a1 P
  522. : s% ]9 o4 I7 D% }
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ! e; [/ O: c2 y% W( Z) I1 z, C
  524. ; http://php.net/xmlrpc-errors
    5 F4 F2 `9 G  V3 r
  525. ;xmlrpc_errors = 0
    ' t% I  p5 J7 S8 N# c3 Q* a
  526. : s* S* S! ~% ~! O
  527. ; An XML-RPC faultCode
    ( m$ x- P5 ?9 W3 d) r" g3 `* M
  528. ;xmlrpc_error_number = 0: ?/ ~5 B3 f9 v* ]8 M, A  W
  529. 8 Q. B, X8 L, I0 \) v$ W5 V7 r* k
  530. ; When PHP displays or logs an error, it has the capability of formatting the" t2 t8 C- b- k! R
  531. ; error message as HTML for easier reading. This directive controls whether. f4 q) d" p9 h6 R- C! g6 i
  532. ; the error message is formatted as HTML or not.
    ) S7 O0 x1 E. P8 }6 L3 c- o+ }, G
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) K% x; l. O$ W3 j& h' j
  534. ; Default Value: On
    7 N6 m2 V5 T% [; t" V3 I: A( Q
  535. ; Development Value: On% D3 t  v/ a- ]
  536. ; Production value: On( v0 z: k& n6 X6 ]7 l5 ^8 D
  537. ; http://php.net/html-errors
    $ h% l% a2 Q( P* A2 ^
  538. html_errors = On
    / A5 p# n, K, y. H( C

  539. ) ^! f2 @) p, u! T2 l" z
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP6 b3 }, l# k5 ?9 T) |
  541. ; produces clickable error messages that direct to a page describing the error
    1 I, A$ X1 s9 i: b
  542. ; or function causing the error in detail.
    6 b# g% b7 L$ v" R6 d
  543. ; You can download a copy of the PHP manual from http://php.net/docs5 j$ H# t- _; m$ s0 M4 d- T
  544. ; and change docref_root to the base URL of your local copy including the
    . b& \6 I4 B8 ~# L0 y
  545. ; leading '/'. You must also specify the file extension being used including) {  I1 V# h- g7 q% @2 E. M( ~
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which) ?4 Y) [) A- @
  547. ; case no links to documentation are generated., M3 X' C- P; y4 {
  548. ; Note: Never use this feature for production boxes.- `. D9 }5 s- a. N
  549. ; http://php.net/docref-root7 M% a4 L( v9 K  r
  550. ; Examples2 ~: t6 e9 R3 S. f' n/ K3 v
  551. ;docref_root = "/phpmanual/"
    : F# {! i5 p! e# b0 ^

  552. , N2 l- G0 s+ L& q
  553. ; http://php.net/docref-ext
    " c4 W8 H' I. o, h7 d
  554. ;docref_ext = .html$ E% r& m! \" h& t7 }

  555. * A: r! S, `% l/ g" O
  556. ; String to output before an error message. PHP's default behavior is to leave, r) P3 q! m* V) l; f: C
  557. ; this setting blank.
    $ H2 p9 \; g% E- c$ d0 p
  558. ; http://php.net/error-prepend-string: r0 S' c2 m! B& U
  559. ; Example:
    ! l1 @0 R  H( r1 X4 u' @
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    % L( R, Y! A- Q9 c0 D$ |+ e. ?% w
  561. ( t1 s6 L" X* x
  562. ; String to output after an error message. PHP's default behavior is to leave% z, [8 _/ M2 y4 h0 ~  }
  563. ; this setting blank.
    * _$ W" H3 Z3 K( M/ a6 O
  564. ; http://php.net/error-append-string
    - Z* D- C. e: @- s* E$ e. ]
  565. ; Example:
    " a1 }) J  @2 z
  566. ;error_append_string = "</span>"
    - k' o! I$ T+ ?! O( k
  567. & t0 {' v" X0 a
  568. ; Log errors to specified file. PHP's default behavior is to leave this value! o. q1 v0 _9 a7 h* D2 E/ E2 ]
  569. ; empty.  M4 G7 v8 u% @0 c% {
  570. ; http://php.net/error-log7 I: n1 r4 H/ y& j, m  Y& }
  571. ; Example:4 [, b2 C2 Q2 j3 w; y" z" d
  572. ;error_log = php_errors.log( W: R8 p$ t6 g* h. e
  573. ; Log errors to syslog (Event Log on Windows).
    0 Y4 x( Z9 C% _! ~! x
  574. ;error_log = syslog+ E3 Q. r; |" t& A9 J7 A- x3 u6 S0 ?6 f

  575. 5 _* V6 [  Y( d/ P+ K: Q
  576. ;windows.show_crt_warning
    2 F6 s( j+ F  {9 _# M7 i+ D$ P; G
  577. ; Default value: 0
    ' A8 y4 r) B) l8 u" f
  578. ; Development value: 0, v. I6 b! S' G& X( P, M0 j0 {
  579. ; Production value: 0
    + w% g; Y5 P' x$ u
  580. # y. ^) f: G) }) u3 B, O9 l) V
  581. ;;;;;;;;;;;;;;;;;. n, K3 F+ B, p* x9 F3 G6 D
  582. ; Data Handling ;
    3 e; s6 V7 v7 ]8 c
  583. ;;;;;;;;;;;;;;;;;  b( Y2 L, t( r( Y/ w0 c( |
  584. " D1 m0 N$ }; l# D) C; y7 I# l- V+ I
  585. ; The separator used in PHP generated URLs to separate arguments.
    4 g/ A$ J; b1 W6 D
  586. ; PHP's default setting is "&".
    ; x. ~* E' e. S# ~
  587. ; http://php.net/arg-separator.output5 c6 Y& \) U& y
  588. ; Example:
    4 Q- l  [( X, o+ o/ d* Y! N
  589. ;arg_separator.output = "&amp;"
    # v) d3 }' e! z  e6 ^, G; M

  590. . _7 D6 r7 I& U7 I( }2 b) `7 G
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    0 [* E+ Z# B5 V1 Y
  592. ; PHP's default setting is "&".
    * a2 t- c/ K: J- f: D4 r
  593. ; NOTE: Every character in this directive is considered as separator!$ E* {# K/ ]: B) y3 Q) I
  594. ; http://php.net/arg-separator.input
    ) c& K" m9 {8 b7 D  ~% o9 w" n
  595. ; Example:
    * y- l7 O# h/ m; T9 U
  596. ;arg_separator.input = ";&"
    7 `) a0 s% i& T1 e: V

  597. 1 f; K; Z* x# H
  598. ; This directive determines which super global arrays are registered when PHP
    , o/ M4 U2 n7 _; @$ G
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super, h( x/ J6 Y" i+ B9 ?
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' r7 A: _& n2 K* e: Z! ~% @
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ' H7 Q9 p' E' ^+ Q6 W; `8 I: l
  602. ; used as the others, ENV is not recommended on productions servers. You
    ; v( R! i0 W2 B5 _/ j* ]  o
  603. ; can still get access to the environment variables through getenv() should you
    5 Z! }! |+ j4 d! z1 {8 p, }  [
  604. ; need to.' M# |7 p2 G2 v) k
  605. ; Default Value: "EGPCS"/ M% [5 u$ i* |" a7 V. K# j
  606. ; Development Value: "GPCS"6 K; B' P' O7 W/ q" D3 H
  607. ; Production Value: "GPCS";
    4 h4 v3 j: t% J+ _6 f8 N( B
  608. ; http://php.net/variables-order
    . ~+ `3 F3 U/ ?
  609. variables_order = "GPCS"
    " f0 f6 Y& q+ h, ~+ @# {

  610. 9 k7 X5 z" E% M1 b) Z
  611. ; This directive determines which super global data (G,P & C) should be
    - j& I7 \7 J$ {0 g- q2 Z# \
  612. ; registered into the super global array REQUEST. If so, it also determines$ q( E$ f; i5 e' t
  613. ; the order in which that data is registered. The values for this directive* u+ |/ {; x4 u5 _" Z+ {9 p
  614. ; are specified in the same manner as the variables_order directive,1 F* M. a" e1 g, [6 x6 L6 w  o
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ; }+ ~4 q' Y& ]0 ~
  616. ; in the variables_order directive. It does not mean it will leave the super9 Z4 T3 Y- H8 H2 l' D) b
  617. ; globals array REQUEST empty.. T5 k" F. s! O
  618. ; Default Value: None
    ' P: T1 Z9 [! Q
  619. ; Development Value: "GP"
    , b& [! I0 d) p( I9 [; D3 T
  620. ; Production Value: "GP"
    9 [. R6 H) `& z) R0 d2 Z
  621. ; http://php.net/request-order
    : ~1 [) T' k) @% Y3 l* S
  622. request_order = "GP"
    . J5 H$ x# z, D
  623.   O% c- ~- S" e6 Y* R: x( f
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    " w; @. Q' Z  f3 x9 L* p* y
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 U, i9 ]* E! w  w1 w+ T
  626. ; is invoked. $argc contains an integer representing the number of arguments/ }8 e7 h4 f# O1 N! p, u
  627. ; that were passed when the script was invoked. These arrays are extremely
    0 ^5 x7 A: |/ F# m# ?
  628. ; useful when running scripts from the command line. When this directive is
    - q8 |8 R6 F3 V4 y4 P+ _) ]
  629. ; enabled, registering these variables consumes CPU cycles and memory each time2 E! e) r" C# c; }' o* w, Z0 @$ _0 v
  630. ; a script is executed. For performance reasons, this feature should be disabled5 E. c6 V/ ]/ v
  631. ; on production servers.3 {; @7 [7 g2 Y5 n/ M
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 l% k; N' ]9 L( E
  633. ; Default Value: On
    ! c6 M& t- |. `* _
  634. ; Development Value: Off
    - w/ r8 T9 T$ L* I2 h
  635. ; Production Value: Off
    0 e) v) a0 m) ~6 f& w: x7 k( R
  636. ; http://php.net/register-argc-argv* }" O7 P$ S8 i( H0 q' C- n
  637. register_argc_argv = Off
    6 b1 F) k( w* l1 M. |0 \1 Y  Z# i

  638. 0 B' n* z' A4 [6 \# b( i' |2 d
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    6 j; e+ e) D+ h5 o" y: r( {* E
  640. ; first used (Just In Time) instead of when the script starts. If these
    3 a% t9 n4 @& P4 a8 `  r( S
  641. ; variables are not used within a script, having this directive on will result
    & ?* X* X) `* c- \* u7 l2 e
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    + R: i6 l) |7 ~0 s6 C0 P. [. a
  643. ; for this directive to have any affect.
    7 \5 F. B6 h; |1 |$ |0 o) y
  644. ; http://php.net/auto-globals-jit
    3 a- }2 t( S' h; x; V- M2 q
  645. auto_globals_jit = On
    * S  D/ ^6 O2 k3 v$ Y/ |) F0 i' z

  646. ; [8 {% o$ O% v3 e, u
  647. ; Whether PHP will read the POST data.
    / y# w9 ^6 Q0 @7 z
  648. ; This option is enabled by default.
    ! X! m0 A0 A  Z1 K' k( f" ~& [4 ?/ U
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST: ^3 C* k; Z6 z* |& m+ Z) Y( t- _
  650. ; and $_FILES to always be empty; the only way you will be able to read the+ G6 n. [% o6 O: ~# D; L7 B# t  Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful# P2 g% e$ I& k; p  V: o
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    & a* k' t* C7 m4 I
  653. ; http://php.net/enable-post-data-reading) E5 ^; H# W$ C; i; L" v. E
  654. ;enable_post_data_reading = Off
    9 v# Z9 e0 V  l9 x1 ?

  655. % i6 n: ]. b2 b' ]8 {4 ?/ ]
  656. ; Maximum size of POST data that PHP will accept.
    : r8 E6 a3 {" N$ q
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    5 B) e% D. l+ i2 ?
  658. ; is disabled through enable_post_data_reading.' X- o* X* T7 N( j
  659. ; http://php.net/post-max-size8 s2 [) ~5 J! b
  660. post_max_size = 50M6 I7 E# k- T" e2 b0 e
  661. - Q1 J; y% x7 D$ `
  662. ; Automatically add files before PHP document.
    8 b: l3 Q5 x# M9 P3 i
  663. ; http://php.net/auto-prepend-file
    . g  G( C. l' T. b4 d" o$ D/ |
  664. auto_prepend_file =6 i  b2 S* q; r6 C. j2 j

  665. & p! C0 i$ I/ N  f8 {' r
  666. ; Automatically add files after PHP document.' o: G, ]. p3 u
  667. ; http://php.net/auto-append-file
    " D' n2 F5 b" @% }% u& {8 j% {3 [
  668. auto_append_file =0 ?2 C( ]& ~9 n1 Z" k
  669. " K  d' Z8 N. F3 }& j4 u
  670. ; By default, PHP will output a media type using the Content-Type header. To% j0 L( b0 J% m1 M, z  ]
  671. ; disable this, simply set it to be empty.; a2 h: e7 x6 C) E% f* g( n, K
  672. ;
    3 p4 A  F7 Y  n6 b+ z
  673. ; PHP's built-in default media type is set to text/html.
    $ z. |0 t7 L$ F  l, U
  674. ; http://php.net/default-mimetype
    ; Z0 j9 t' i" d8 Z* f/ p/ u* s
  675. default_mimetype = "text/html"
    + m+ {) U+ r& P6 }5 S
  676. 7 s- }0 _% f; {! C- r0 `7 m/ d
  677. ; PHP's default character set is set to UTF-8.9 w2 n$ L$ [- \% N2 S7 P
  678. ; http://php.net/default-charset  E+ S: v1 Y# P% F6 \2 g
  679. default_charset = "UTF-8"" z6 s" v$ S2 N- K) Y: ~- m
  680. 6 H9 |# u! N% W7 q6 w6 O
  681. ; PHP internal character encoding is set to empty., I& Z8 t3 s7 w
  682. ; If empty, default_charset is used.* G% X2 t5 O  k+ g. z5 t
  683. ; http://php.net/internal-encoding0 {; ~  K4 p, v' A. P' `
  684. ;internal_encoding =
    7 Q1 @2 h9 z9 t# J4 x

  685. : |1 z: q8 |# y1 S( h6 w
  686. ; PHP input character encoding is set to empty.
    ' x4 j  Y( O: W; [7 C
  687. ; If empty, default_charset is used.
    / O2 y8 @7 j) ?1 ~  _, S/ y
  688. ; http://php.net/input-encoding! V) m2 ?/ |# a, R
  689. ;input_encoding =  E' O( \' t1 `+ ~
  690. % E, ?  V3 r) s, k+ z
  691. ; PHP output character encoding is set to empty.
    1 O; {) F0 ?8 _6 K2 w# H' x
  692. ; If empty, default_charset is used.
    # |8 U8 }! I0 i: `5 i/ N
  693. ; See also output_buffer., E2 m: t8 a4 L  C3 Z+ X- D
  694. ; http://php.net/output-encoding
    ) [4 a$ a+ Y' P7 @
  695. ;output_encoding =4 |$ e) z% [) o9 g9 b! m

  696. : o- d( Z" J% z& L0 F& ~5 e
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    % q+ U1 B0 o8 [. X5 M# [/ `$ T! \2 d
  698. ; to disable this feature and it will be removed in a future version.8 [6 `& T+ f* H+ j3 e3 C  X
  699. ; If post reading is disabled through enable_post_data_reading,
    ; w6 O: p; o$ @4 Q3 |
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    4 b7 a! R6 ^$ n( _
  701. ; http://php.net/always-populate-raw-post-data/ r8 ^2 X9 N3 u' T
  702. ;always_populate_raw_post_data = -1, ?; Y. t: a3 Y! Z
  703. + b3 n  W: T; ^0 c2 i1 o
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;' ~$ u' \* Y4 a! M
  705. ; Paths and Directories ;
    8 b0 N  t0 L3 o6 }) b& C2 ^
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;: Z0 ?2 O) h/ [. Z+ }

  707. / P0 T2 t4 V: ]' g% ?
  708. ; UNIX: "/path1:/path2"$ p" V  h1 B7 }9 Y* M/ e% p
  709. ;include_path = ".:/php/includes"
    ) a6 k: }! K! j( j6 B3 c, M) T
  710. ;
    & ~% [: _+ Q/ l' O9 a
  711. ; Windows: "\path1;\path2"
    4 D9 \: p8 F8 O) }* Q& o
  712. ;include_path = ".;c:\php\includes"! ~- x' b. q& G" V5 N' d
  713. ;- l# J4 f6 G( I5 Z- i
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    , `$ ]; q) w, W0 R' h
  715. ; http://php.net/include-path9 E8 J7 j) L% x  d
  716.   Q1 r5 X0 \6 Y' r
  717. ; The root of the PHP pages, used only if nonempty.
    2 t& p) n5 J9 b# k
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root* s) D( e& I+ k1 ?3 `
  719. ; if you are running php as a CGI under any web server (other than IIS)0 e( y! X- R) n: B+ D9 @
  720. ; see documentation for security issues.  The alternate is to use the7 B3 C7 E7 c/ N0 s9 r! Y
  721. ; cgi.force_redirect configuration below3 @/ R5 @& l" ]# L+ o) A$ o5 X
  722. ; http://php.net/doc-root) P6 N6 S  z, D$ S: \
  723. doc_root =) W% E% K& |5 ?+ {  o9 M  Z. }

  724. " C0 }, {" O1 g- ]3 Y" E3 s  X
  725. ; The directory under which PHP opens the script using /~username used only
    % h9 q2 A! g# u/ x1 t" V
  726. ; if nonempty.7 @- v/ q/ g. F& {0 S
  727. ; http://php.net/user-dir
    9 g+ i% W' d! j  Z+ d7 H  I6 j
  728. user_dir =) j* \+ d$ J% ], K, F. I

  729. ' n. v9 c# `4 e
  730. ; Directory in which the loadable extensions (modules) reside.* s2 l7 i. ~) h0 E9 @! L
  731. ; http://php.net/extension-dir5 m9 q1 V1 a- i* U
  732. ; extension_dir = "./") F, v5 a( N$ R
  733. ; On windows:
    4 X8 V- o! ~* v7 ~- x
  734. ; extension_dir = "ext"4 Y# i* Z5 y, w0 l9 ^) H

  735. ! k" L7 D: Q6 |" G
  736. ; Directory where the temporary files should be placed.
      q5 W5 y) l' v0 D$ \+ u# A
  737. ; Defaults to the system default (see sys_get_temp_dir)  t& R; ~( A! O  T! z
  738. ; sys_temp_dir = "/tmp"5 N, b9 @0 m. B) [' M

  739. , a' F: ^; I, I5 r: r2 k0 K
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 f1 [2 B; `3 r
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( e. [1 x( T/ I' n6 L2 A3 D
  742. ; disabled on them.4 a. `2 ~" G6 y# u' h8 E
  743. ; http://php.net/enable-dl" F& r# _* A9 w( n
  744. enable_dl = Off
    5 c( F6 ^. s: F+ j7 N1 Q

  745. 2 w5 U; R& @; ~2 x( i8 ~/ Y
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under" ?0 Z- a9 Q  x
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can! A5 l1 ~7 o2 r" ^
  748. ; turn it off here AT YOUR OWN RISK
    0 M! `  ^& U8 t
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 t: @) I. G) i3 ?; r1 o- J
  750. ; http://php.net/cgi.force-redirect. ]1 D5 g# I# L. K% V
  751. ;cgi.force_redirect = 17 D2 J; Z& `4 d- `# p! o

  752. " I, V. _0 t0 N& r) O! H
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    5 e* V; q& x5 K; d* L
  754. ; every request. PHP's default behavior is to disable this feature.% A$ N/ m. }7 B0 W# R7 z. ^
  755. ;cgi.nph = 1/ b/ f* c; b4 r/ n3 B6 A' C; k
  756. * H9 Z$ c1 I; K+ Q- w8 v
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ( O# U8 t; ]6 C0 P# C: n
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 ^4 r/ S" G2 ?$ n0 a
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 X0 z% l* I# p- b9 t- I2 R* D
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST., o# l" A! W+ w( p4 Y/ ?" K
  761. ; http://php.net/cgi.redirect-status-env
    5 T+ L) t2 H7 z+ E# r2 _1 {
  762. ;cgi.redirect_status_env =
    6 v' ?2 p- e/ p& B9 [

  763. " ^8 [& L0 T5 k7 J9 ?4 W' Q  u
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / E) g7 }( p: `6 R% f& ]
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    $ a7 l! k# \; L6 o$ s
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting8 U6 J/ v7 ?+ c* q% M$ F: D$ H3 `
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 F! M; ], n. Y* z
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    & [$ J, @% f% ?! y( H
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 v% K: W8 |0 n. b3 {" d
  770. ; http://php.net/cgi.fix-pathinfo7 V  i- S3 C+ O7 H: d$ D
  771. cgi.fix_pathinfo=1/ |- b$ }4 C# _5 N9 I3 C
  772. ! r1 C  O- I) Y3 |$ w- F
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside+ a, p  C( C6 R
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( @+ |' L# d, a& q) F
  775. ; http://php.net/cgi.dicard-path
      e6 P# f9 U: j- s& Q3 ^
  776. ;cgi.discard_path=1% s+ m& l' e( R. t' t

  777. 8 w, H6 S) K: a6 ~3 s; Z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! u+ q, m9 m. ]! C  p
  779. ; security tokens of the calling client.  This allows IIS to define the
    * v, _* Y' e. l# `
  780. ; security context that the request runs under.  mod_fastcgi under Apache7 |6 k$ m5 Q8 h& i% V
  781. ; does not currently support this feature (03/17/2002)
    9 `) j8 U) f; j5 u' v; m
  782. ; Set to 1 if running under IIS.  Default is zero." M5 K: @% z! T( V; I
  783. ; http://php.net/fastcgi.impersonate
    ( c2 i, {3 N2 c4 S% z! A
  784. ;fastcgi.impersonate = 12 w# R9 l7 @; m3 W' T5 T
  785. + R/ K: z; c) R! |) i
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    9 W- c. c" z3 N( S/ @
  787. ; this feature.
    2 ^" x5 G  H4 |, M. }# k# c
  788. ;fastcgi.logging = 0
    $ H1 r) O: ^& v! I! j& o

  789. / M  [+ \9 D; G% N! _
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) l' Q5 z( W8 @3 Z+ _. }  ]# P
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, q0 j( a" A( n* Z
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    3 M, w. D6 o' B( _
  793. ; RFC2616 compliant header.$ T2 V/ m9 k; M
  794. ; Default is zero.$ }% M- ]0 s5 t1 m: J
  795. ; http://php.net/cgi.rfc2616-headers1 b, Z3 k' f4 r2 i! N
  796. ;cgi.rfc2616_headers = 0. G' {  o8 v9 n
  797. 6 w# n$ j1 a7 X% }, h# {! |
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!: u$ W" }& T4 ^* E/ n1 a
  799. ; (shebang) at the top of the running script. This line might be needed if the1 i9 p, E6 q& l
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ J2 x! U. p# U
  801. ; mode skips this line and ignores its content if this directive is turned on.0 i& w! H( K3 M" \7 P
  802. ; http://php.net/cgi.check-shebang-line
    & ?7 ^3 M' N# V# _+ }  e
  803. ;cgi.check_shebang_line=14 ]$ I! T9 O! U0 c
  804. * w) {7 r- V9 e( {
  805. ;;;;;;;;;;;;;;;;. c( j, ]8 j( K1 V
  806. ; File Uploads ;4 E: Y) \/ a5 r! T7 y" }( f" L
  807. ;;;;;;;;;;;;;;;;) T+ N, x0 M6 N  u5 r
  808. , k1 W' L+ a3 @6 w  O& m) ?# s
  809. ; Whether to allow HTTP file uploads.% i* \* N7 [9 W
  810. ; http://php.net/file-uploads9 {& ?' s+ ]" R9 z: p- \( A) k
  811. file_uploads = On
    * I6 L8 U% R) y% X/ y& V; j
  812. 0 C+ R, }9 A6 n! X
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- O, ]) p" g  F) z( t
  814. ; specified).
    - p5 y7 _1 X7 D( [* e( Q5 B* H8 Y* P
  815. ; http://php.net/upload-tmp-dir; Q! e; B+ L. Y% x
  816. ;upload_tmp_dir =7 W4 x" L7 A; H. P$ r7 d' \9 r
  817. & b# Q) K; ?5 c$ `- z
  818. ; Maximum allowed size for uploaded files., }7 C, k8 A' E- _# S; C4 W
  819. ; http://php.net/upload-max-filesize
    / c: ^  [5 i2 c( ]( S% J, `
  820. upload_max_filesize = 50M
    ' ~" `' u6 E9 Z( \
  821. ! `! Z4 C( ]+ I( h2 c" w
  822. ; Maximum number of files that can be uploaded via a single request
    # i/ f0 ^6 i, P' K
  823. max_file_uploads = 200 o; _  L$ A) a6 q' t( k

  824. 0 p3 |  V; v. Z, P, M
  825. ;;;;;;;;;;;;;;;;;;, O/ e2 T$ x  U/ i3 s8 p9 x" u
  826. ; Fopen wrappers ;
    " n2 d! j3 w, d# k0 {
  827. ;;;;;;;;;;;;;;;;;;
    - r' P& j+ B" R

  828. 7 k- B6 R/ e5 j2 b1 S- z
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.) v0 P% K2 ~, c5 L& m
  830. ; http://php.net/allow-url-fopen
    * G: |# v# w0 v% y
  831. allow_url_fopen = On5 |8 U$ h, x& F, s$ t6 T! ^, U2 y# L
  832. 9 v$ I) h) k# L3 s% R2 h0 M. d
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    . a) j+ f% x, A* p1 x1 g
  834. ; http://php.net/allow-url-include) y4 N2 R0 c: M# n* q0 V) p
  835. allow_url_include = Off$ F; Q0 |/ i" R$ s# k  `6 L

  836. 3 V3 f6 R- V/ I7 P( c& V
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 g$ m, K( }2 }# W' z7 t$ ^
  838. ; for this is empty.7 R8 S, K7 u" X; a, N- U
  839. ; http://php.net/from
    0 Z5 Z1 u" N. T! }1 N2 Q2 C1 t
  840. ;from="john@doe.com"
    ! a& p! i" p0 F" t

  841. % a3 P2 x+ T( q6 P6 N: S/ |& Q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.8 s6 E: ?) }# S( e" v
  843. ; http://php.net/user-agent9 ~; }8 d2 ]; K! R
  844. ;user_agent="PHP"1 R( d' i8 J: v$ x
  845. 1 J$ z, o/ m1 z8 {* u1 f
  846. ; Default timeout for socket based streams (seconds)
    4 N2 ^# X! V7 q3 Y
  847. ; http://php.net/default-socket-timeout
    / |. n/ b& K, Y3 E8 ~+ c
  848. default_socket_timeout = 60- b. _- Q" o' r3 V
  849. % i6 w+ \& t0 ?; F$ q, j' ?
  850. ; If your scripts have to deal with files from Macintosh systems,7 }5 p( _) b$ n6 s# F. V
  851. ; or you are running on a Mac and need to deal with files from
    + Y$ B( F) G' [* _3 m! x2 U
  852. ; unix or win32 systems, setting this flag will cause PHP to
    $ k7 z/ |, W/ @
  853. ; automatically detect the EOL character in those files so that
    6 [0 b" j, x  L! b
  854. ; fgets() and file() will work regardless of the source of the file." T, ]2 C! R5 O* A7 L
  855. ; http://php.net/auto-detect-line-endings
    ) s4 |( e0 z; [, A6 e
  856. ;auto_detect_line_endings = Off
    9 T* R1 Q. Z, u

  857. * e& d/ t& z/ `& F8 I* @
  858. ;;;;;;;;;;;;;;;;;;;;;;1 }7 w  N( z$ a( c: M) U& D
  859. ; Dynamic Extensions ;
    ! ^+ ?  T/ K: A3 w: p
  860. ;;;;;;;;;;;;;;;;;;;;;;
    $ a9 g' ^$ A; H2 C9 @8 F8 b( h

  861. ' K, q  L$ y. \7 g2 ~
  862. ; If you wish to have an extension loaded automatically, use the following
    ; L0 F9 F8 M# L
  863. ; syntax:+ R& L+ ^, c* ~3 A+ M3 J7 M. v
  864. ;% L5 ]1 M3 X* i* ^6 ~5 e
  865. ;   extension=modulename.extension% O; l& a4 J: N
  866. ;* `" ]6 D( V' B3 L: e
  867. ; For example, on Windows:! l0 m6 e$ U; |  {
  868. ;
    , ?- Q3 d6 W( u
  869. ;   extension=msql.dll) p; m% e# q" U. r8 V$ g, A
  870. ;
    ( C2 n6 r0 J! w7 C
  871. ; ... or under UNIX:- R: Q& [( l; x- @
  872. ;
    & n5 R1 D0 ~* a/ @( g: O3 w  H. g) q
  873. ;   extension=msql.so+ j9 p- b+ v" h7 A* W
  874. ;  C8 N) D: h& w7 U! y/ N
  875. ; ... or with a path:
    5 G) ]8 h2 ^1 c: R1 j8 o) v
  876. ;' q, f" o( n3 t$ b3 Q
  877. ;   extension=/path/to/extension/msql.so
    ; _/ Z9 L+ H$ N
  878. ;
    / |& ?+ ^; f6 A5 e( C
  879. ; If you only provide the name of the extension, PHP will look for it in its; o/ k* Y3 u; ?2 ^! q
  880. ; default extension directory.8 n: u) w& b" V3 u- P8 z" E7 y
  881. ;
    - {  t- k0 g1 p+ T' {3 o
  882. ; Windows Extensions
    ) d% E2 F+ x; q# b
  883. ; Note that ODBC support is built in, so no dll is needed for it.( [7 E* v0 |+ R: p8 d9 H* _* V
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)2 H+ x6 U, V7 j+ g4 v
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    - J3 q" q# C: x* J
  886. ; Be sure to appropriately set the extension_dir directive.
    4 r  z$ k9 o: R( V( F
  887. ;
    : ?' W' G; x1 c; Y. v4 A! x9 i
  888. ;extension=php_bz2.dll8 w" J2 m; q; X& m; y
  889. ;extension=php_curl.dll
    , k% l% W2 ~5 C1 F
  890. ;extension=php_fileinfo.dll
    8 ]) x, c* i1 t1 C7 B& b: ]
  891. ;extension=php_gd2.dll
    3 [- R* l2 j% I: k
  892. ;extension=php_gettext.dll
    ( ~$ L) G( m, J0 o
  893. ;extension=php_gmp.dll9 X4 A% {9 S8 Y4 k
  894. ;extension=php_intl.dll
      o$ Y2 `% |! q5 O
  895. ;extension=php_imap.dll
    2 ~7 @9 e' Q1 t3 o: e+ p. W
  896. ;extension=php_interbase.dll1 V% h9 F' `, N% a6 h9 p, j, E' K/ r
  897. ;extension=php_ldap.dll2 w3 P& I8 V8 L- T) ^. y7 |* u
  898. ;extension=php_mbstring.dll
    ' d3 Z7 F) P# z, g& P1 Z( B$ m
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( P+ b4 l7 m: m
  900. ;extension=php_mysql.dll
    2 x: [! i+ _/ w1 N5 T
  901. ;extension=php_mysqli.dll" ]; k. R# n) t$ e% k, G$ M  W8 i
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    / j1 `9 l8 H! |9 e( T0 |- f
  903. ;extension=php_openssl.dll4 @" r, Q5 H  J/ I, E& H
  904. ;extension=php_pdo_firebird.dll3 J8 O9 u/ A! q1 a5 M. ?9 z
  905. ;extension=php_pdo_mysql.dll/ c9 m/ S4 _: G" W
  906. ;extension=php_pdo_oci.dll
    6 p4 o! w$ E; T; J8 b1 U5 f2 k" u* B
  907. ;extension=php_pdo_odbc.dll
    + _& ?2 O# i3 J0 Z+ s- W
  908. ;extension=php_pdo_pgsql.dll
    * _$ l( N: U0 T& _
  909. ;extension=php_pdo_sqlite.dll
    ) Q& M/ J# Y4 A; p' @
  910. ;extension=php_pgsql.dll! _6 x$ U  D; w1 |
  911. ;extension=php_shmop.dll/ ]7 O& P4 ], ^' S3 B

  912. % V( N- L6 o1 q
  913. ; The MIBS data available in the PHP distribution must be installed.
    * f# c" {& E- m9 l. }
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ; z  p  `% z' O9 C0 O9 A! E9 V
  915. ;extension=php_snmp.dll7 a% u4 V' c# L% F/ Y0 _  p
  916. * A4 _& \: J, C  ]7 Y6 m0 q* ]) r
  917. ;extension=php_soap.dll
    9 [3 u6 M: M" ^/ E) L0 o: {& F
  918. ;extension=php_sockets.dll  }6 j( q, e1 q# D  V. [# q
  919. ;extension=php_sqlite3.dll
    8 X! S8 d9 O& ?6 n
  920. ;extension=php_sybase_ct.dll
    # |0 _- p* y( c/ E" q% I
  921. ;extension=php_tidy.dll
    8 b2 {, A6 `" P% v1 O& P
  922. ;extension=php_xmlrpc.dll
    ! i# t+ t, D6 H( W
  923. ;extension=php_xsl.dll) L  u& A9 Z$ V; O! d3 X

  924. " u+ Z6 t" \6 u$ Y% o
  925. ;;;;;;;;;;;;;;;;;;;
    & }7 q1 p3 ]* w; U/ @
  926. ; Module Settings ;
    ' C7 A2 t/ [1 W5 t
  927. ;;;;;;;;;;;;;;;;;;;' n* s3 Z4 `# ~/ j# h' b0 D
  928. 5 t8 h, z$ W  k, A7 a
  929. [CLI Server]
    ( E6 T  {( i  W0 l+ i8 E( T* S
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.7 N: Q, V. W) i! X: @$ r
  931. cli_server.color = On  ]: `  D: ?- M( a
  932. ( p$ ^3 t, K% o' C. A% R6 P% t
  933. [Date]& y3 ~/ i  E* L! W
  934. ; Defines the default timezone used by the date functions. `$ |5 \9 [  C# ]4 C
  935. ; http://php.net/date.timezone
    % g* q+ k* n: O$ n: ~9 A8 k2 C
  936. date.timezone = PRC5 j( W8 D- i$ O. H1 q3 [6 j1 w

  937. ' Z- [2 `2 E/ _8 S; g
  938. ; http://php.net/date.default-latitude& a  W2 O3 s0 G( Y
  939. ;date.default_latitude = 31.76673 v, c) x) E5 R9 T

  940. 0 @; n  X) t0 A2 ~" i
  941. ; http://php.net/date.default-longitude
    % \+ g7 H/ _* W8 g6 A+ [0 K. P
  942. ;date.default_longitude = 35.2333
    2 _2 L7 m* L+ p

  943. $ Z) i* s9 }4 j+ p
  944. ; http://php.net/date.sunrise-zenith
    + u+ e% T1 |) b$ V/ P
  945. ;date.sunrise_zenith = 90.583333/ `! X" |* I2 b! U4 [( g6 k5 f

  946. ' N0 F9 s. `$ Z. p! x& }
  947. ; http://php.net/date.sunset-zenith2 z8 K. a* n2 @
  948. ;date.sunset_zenith = 90.5833335 n* ^& N/ [# I" e6 S' n
  949. " ]. N1 H1 ~7 i0 q
  950. [filter]% [5 L2 J+ c2 m+ |4 x1 v
  951. ; http://php.net/filter.default
    / J' H" f6 Z: P: f# P4 k
  952. ;filter.default = unsafe_raw
    # U' z7 t" X. K7 E  n
  953. & w4 E9 P  |, ^, C
  954. ; http://php.net/filter.default-flags* j4 T2 d& i6 U2 K4 C
  955. ;filter.default_flags =1 q. c' N5 p5 F6 I; Y- L( W- m- @
  956. 0 o2 D, r; J  ]( E
  957. [iconv]3 Q6 A* G7 a# B  V: Y
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.. c: J$ Z1 ]/ E  B0 g& R) \6 e
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    * p) V. D' I% ]3 c6 y0 ^
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! }- ?/ Z9 L6 s* m6 R$ K5 ]
  961. ;iconv.input_encoding =
    + p+ R9 C, q) V+ |( T# i
  962. 8 ]" l6 ~7 C2 N) d% Z- a7 \. q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 ~' r1 m) g5 _9 O
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 a% n! B" x/ a& m3 F
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . Z- X& ]* U, z6 H9 G1 D
  966. ;iconv.internal_encoding =
    1 P( a) E1 ~5 U' q

  967. / G4 ?% M1 y' N
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.0 v% R, y8 U" Q! ?: z
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    - _* @. [& l" A8 s$ b
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding6 J! _$ S4 v$ b; p
  971. ; To use an output encoding conversion, iconv's output handler must be set- J) y2 t4 \1 ?! i/ J
  972. ; otherwise output encoding conversion cannot be performed.
    3 S- I0 c# ]4 t& T
  973. ;iconv.output_encoding =- c- M& U, L9 P/ b6 z

  974. " W2 U& [. O7 h) {5 z4 U
  975. [intl]
    " V; q# S; z, X' j0 M, W
  976. ;intl.default_locale =- _" {. o7 h9 z+ T$ _& T) `+ Y8 V
  977. ; This directive allows you to produce PHP errors when some error
    4 C6 N( I- M6 ?8 L" B! Q0 V3 F
  978. ; happens within intl functions. The value is the level of the error produced.
    9 ^7 g# ]( v: j+ d& u1 ]5 y3 X& G
  979. ; Default is 0, which does not produce any errors./ G* y5 j) Q- E
  980. ;intl.error_level = E_WARNING
    $ g- R8 h! L& d1 C8 [/ m
  981. ;intl.use_exceptions = 0( @# W- W1 o" w* R7 t
  982. * ]1 j; ~1 R, W
  983. [sqlite3]/ v% g0 I+ r  a6 C6 |9 g9 x) |
  984. ;sqlite3.extension_dir =1 E; y6 A' j* p: h# q+ X8 n# x
  985. - Y3 ?+ H. e8 Y$ O, o
  986. [Pcre]& Z- n  v8 C  N
  987. ;PCRE library backtracking limit.+ d6 |. T; \% l- X' v% a
  988. ; http://php.net/pcre.backtrack-limit
    % t( P3 O2 _& T" A/ `
  989. ;pcre.backtrack_limit=100000* n3 ~- U1 k: Z- d7 }+ N

  990. ) N( I$ \1 `- v7 s: K/ Y( T
  991. ;PCRE library recursion limit.' h* `7 `) \$ x/ [. V" \
  992. ;Please note that if you set this value to a high number you may consume all
    ) t3 j8 J. v* O: |4 a* d
  993. ;the available process stack and eventually crash PHP (due to reaching the2 P  j. F3 v5 l$ y3 I# R' \! e3 X
  994. ;stack size limit imposed by the Operating System).
    % L. Z" t  P2 P( y
  995. ; http://php.net/pcre.recursion-limit
    * N, x5 o* T5 G
  996. ;pcre.recursion_limit=100000
    , d4 K  @" @0 H' @  R
  997. 0 b, P! h  a! U0 z
  998. [Pdo]) K- l& g, Y" _
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 w2 k4 t  m) Z; c" t4 I
  1000. ; http://php.net/pdo-odbc.connection-pooling
    - b  G; C7 W( a
  1001. ;pdo_odbc.connection_pooling=strict% x3 B. q$ i4 a& a3 k

  1002. 1 w7 Y# H0 g/ g- e; q& W& \
  1003. ;pdo_odbc.db2_instance_name
    4 \6 L, o/ r2 Z6 O; T- y: k
  1004. 7 p& Z! Z+ \& `
  1005. [Pdo_mysql]; B8 B5 t* k$ E5 Y6 u, w8 ~. [
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ t; k7 [6 V1 {& e5 K
  1007. ; http://php.net/pdo_mysql.cache_size
    2 B! A" {& X- f- q
  1008. pdo_mysql.cache_size = 20003 C0 B& P! c  Q3 @! m2 q$ R$ b
  1009. + D/ Z# U: W! F
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' t% M8 S; p: F2 G
  1011. ; MySQL defaults.( p( @  v) n- s) n+ @3 N, ~
  1012. ; http://php.net/pdo_mysql.default-socket5 D+ s- [* K* F  D) a1 ^; i1 r
  1013. pdo_mysql.default_socket=
    ( p4 X4 b  D' e7 g9 l4 r: \5 M
  1014. ( t% _1 e& Z/ o  j
  1015. [Phar]* @9 G9 _$ n( y$ o
  1016. ; http://php.net/phar.readonly9 N( B# P  d! i' z% x+ a; x. r
  1017. ;phar.readonly = On
    $ V* v6 W: x+ A* N) Q
  1018. ) C, Q. c6 f3 m% ~1 L8 ?9 l1 m- X6 L
  1019. ; http://php.net/phar.require-hash
    # {& d3 C6 q: X* h" ?) t7 b/ K( _
  1020. ;phar.require_hash = On
    , s. ^9 \3 {7 }5 Y/ e5 y$ @

  1021. 6 r, w, ?6 q2 e1 o
  1022. ;phar.cache_list =
    1 G0 h* S: U" C1 v" U- t& Z6 X+ p
  1023. ; W: h1 n6 t4 ^5 f8 S# e
  1024. [mail function]
    . ^  m) ~! N8 I3 y3 U' ]0 B
  1025. ; For Win32 only.% G! S; O: h& h- J+ t2 T- `
  1026. ; http://php.net/smtp0 B$ X6 H0 Q/ M. W
  1027. SMTP = localhost
    : x: B  ~8 Y" Q2 F7 m& V! i9 b
  1028. ; http://php.net/smtp-port
    % b9 Q& C# f! b% s- }' l3 K) c
  1029. smtp_port = 259 c. `$ E. S+ }
  1030. 3 p4 z5 {! V6 x6 e- U* @$ p
  1031. ; For Win32 only.6 W  K6 m8 _# V# s- W+ ^
  1032. ; http://php.net/sendmail-from' s! F% I" N& ?! P
  1033. ;sendmail_from = me@example.com4 B6 B9 y+ Y1 L/ \; U
  1034. % V- n9 q# d0 Y' ~# l# D7 D0 x. N8 S
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").9 ]# C; `9 s+ ]3 d) f* r$ ^
  1036. ; http://php.net/sendmail-path
    9 V6 A: g) {3 u7 I8 A
  1037. sendmail_path = /usr/sbin/sendmail -t -i( i/ u4 Q6 Y) h: l+ f, u4 }! I

  1038. % H4 O7 w, Z* P2 [0 p. F* C
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    $ v1 I0 g  N1 L- v5 o# L
  1040. ; to the sendmail binary. These parameters will always replace the value of$ E) H/ e2 O4 X
  1041. ; the 5th parameter to mail().( R' j" N- |* R9 O' F3 s
  1042. ;mail.force_extra_parameters =8 \, c# J- P  F7 x8 k

  1043. % _3 K1 {) g, A
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename3 G  K7 W& {) z0 w5 Z& l
  1045. mail.add_x_header = On' F0 ?6 f3 y( K. ~$ r
  1046.   U2 ^7 s! C4 x" C5 U
  1047. ; The path to a log file that will log all mail() calls. Log entries include3 W8 g$ ?/ N, d9 ^- D% B/ w
  1048. ; the full path of the script, line number, To address and headers.  q. i  A) k! G- R& ?
  1049. ;mail.log =: a! y1 h( o8 v  L
  1050. ; Log mail to syslog (Event Log on Windows).
    4 ?- M; j8 L  c0 `7 \
  1051. ;mail.log = syslog1 a% `2 K9 Y6 j7 h7 H6 n5 V
  1052. $ B9 w' p4 @2 I6 v, ~8 a
  1053. [SQL]
    : n7 q) f' l4 ~" C/ ~
  1054. ; http://php.net/sql.safe-mode" z$ T4 D- i$ _/ h& X
  1055. sql.safe_mode = Off
    4 E/ @4 B7 K0 B" b( H: w( u7 d7 _1 {

  1056. : {+ q$ L8 ?" E. p
  1057. [ODBC]
    ) y6 L- w+ m: |  ?4 h
  1058. ; http://php.net/odbc.default-db
    , @, w3 [) t: M7 ?  d
  1059. ;odbc.default_db    =  Not yet implemented' [, P+ }+ f' H  j, |/ `

  1060. ) \6 i; B, o' S1 t* z/ s5 J
  1061. ; http://php.net/odbc.default-user6 c9 C. j: g  Y( J7 j8 h0 u
  1062. ;odbc.default_user  =  Not yet implemented
    + V0 w* i5 D' v
  1063. 1 R) a/ ^: t8 g
  1064. ; http://php.net/odbc.default-pw% ]% ?& a5 z% x8 B
  1065. ;odbc.default_pw    =  Not yet implemented
    ; y1 x' J0 V+ d; H: h2 y
  1066.   q( F$ O2 [* r  D" K
  1067. ; Controls the ODBC cursor model." o6 ~4 h* R, ?0 Q$ [) g
  1068. ; Default: SQL_CURSOR_STATIC (default).+ ?( ^, S6 a4 j5 D0 b5 \
  1069. ;odbc.default_cursortype
    ) @1 U5 H9 }; y# l
  1070. 1 N, i7 `* t" q8 O) j
  1071. ; Allow or prevent persistent links.) X: i: k* I* F1 O. d- a, B+ E  l( Z1 J
  1072. ; http://php.net/odbc.allow-persistent7 m8 Q" k) V  O/ z: |5 H
  1073. odbc.allow_persistent = On
    # _) g0 R- N) H3 H, F: [2 q

  1074. " w7 |" M* W& k' F8 l5 I( X0 Q4 [
  1075. ; Check that a connection is still valid before reuse.
    , h+ G9 u( a/ X1 I7 x
  1076. ; http://php.net/odbc.check-persistent! D+ y6 L) r$ s( O* p" q" D
  1077. odbc.check_persistent = On$ s* E- T9 t8 \
  1078. 0 C8 u6 Z- J. g* ~& c: S# b
  1079. ; Maximum number of persistent links.  -1 means no limit.
    1 i7 ?+ P" I2 t) e
  1080. ; http://php.net/odbc.max-persistent
    " \7 I- y& F6 L2 g
  1081. odbc.max_persistent = -1
    / L. ?' _4 e7 |0 f

  1082. # `  D1 z$ A* g7 [
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : M; G  p* @: h( M. D
  1084. ; http://php.net/odbc.max-links
    / W6 j& r3 |$ u# P$ I% u5 Z
  1085. odbc.max_links = -10 s7 f+ O2 S; r. m3 n. M- H

  1086. : a1 v* F! z- E4 v5 q; \
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    & x% A8 l' q5 s7 S
  1088. ; passthru.' b4 O+ e0 }! P, `& e- {
  1089. ; http://php.net/odbc.defaultlrl
    ' U- r9 D* X6 n
  1090. odbc.defaultlrl = 4096
    5 e4 U6 c# {) H+ e' E' D$ ?& r

  1091. " m% Z, L, M% W5 `1 c* R
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
      f* G3 S4 A8 @8 A6 ]+ ]( p
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    & S6 _0 Y, G0 j0 Q: L5 b
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    # z" Q- j8 I  E' x; L% n, S; Z
  1095. ; http://php.net/odbc.defaultbinmode) m+ `" t. g8 j- P% M+ A
  1096. odbc.defaultbinmode = 1. d& k9 p  ^- m3 @: c2 P3 H3 T

  1097. 5 u0 m" U/ _: A% W
  1098. ;birdstep.max_links = -1. J3 |9 B2 W1 N4 s6 Q, w! q
  1099. 8 s; f& q/ o2 M' E0 P  P  o
  1100. [Interbase]7 `# Z2 j  M7 a3 F) p1 [
  1101. ; Allow or prevent persistent links.
    ' u- I6 R' {4 @
  1102. ibase.allow_persistent = 1/ B4 w  f) D$ {: w

  1103. % T( e- A$ d6 M+ i# E" l: D
  1104. ; Maximum number of persistent links.  -1 means no limit.. O0 p) l/ j# I+ X1 ?  ^# N  s
  1105. ibase.max_persistent = -1
    0 T0 u  i6 o5 J1 ?5 F+ K
  1106. ) O* f  N* k2 {" k7 Z
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ H! y! t7 V+ {" A  ^) ]
  1108. ibase.max_links = -14 v% P; n4 H1 z- h$ v+ _

  1109. 9 I% w7 U4 x/ j. Y" C
  1110. ; Default database name for ibase_connect().
    ' O; S8 P8 Y3 ^
  1111. ;ibase.default_db =7 R! m3 Z$ k3 N% ~/ m
  1112. / v2 i8 L) y. g% ?  X
  1113. ; Default username for ibase_connect()." t1 ^3 V( x& C* m
  1114. ;ibase.default_user =$ h- j6 F1 u1 b5 w# i, r

  1115. ( u! W: ~9 `" l/ q) a
  1116. ; Default password for ibase_connect().' z' s! H3 i6 s' p
  1117. ;ibase.default_password =
    2 b* B6 Q: S, k5 t, T

  1118. ) `* z( G; Q* O  u5 }7 g
  1119. ; Default charset for ibase_connect().5 D( }1 O+ ~  K; \# N
  1120. ;ibase.default_charset =) s0 \4 \2 B$ a- e

  1121. 5 O# h& R& d& s3 X
  1122. ; Default timestamp format.8 o0 C8 u. y0 ~" ]
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    " R$ e$ ^9 m, ^
  1124. , Y; H- E/ N3 W: b
  1125. ; Default date format.
    - e: G' a, Y% c, H# t; D7 S, @
  1126. ibase.dateformat = "%Y-%m-%d"  w; y, Y' N' s! r1 B) f
  1127. 5 U/ ~4 @0 Q1 \' b* R  n. J2 U
  1128. ; Default time format.2 W' S4 S% G. i  j4 Z8 r0 k
  1129. ibase.timeformat = "%H:%M:%S"9 @% B  V1 L+ Y! }$ Z

  1130. 9 v. A( u; W4 l5 R
  1131. [MySQL]
    : F+ M9 Q1 F; H. D5 p
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ c/ ~3 W8 H7 y/ O
  1133. ; http://php.net/mysql.allow_local_infile5 {4 z5 d' i3 P( g: B4 N+ n' c
  1134. mysql.allow_local_infile = On
    ) d5 r( m$ E& W8 q

  1135. * z9 {( B9 m5 z% G0 w; m/ ]: y8 V
  1136. ; Allow or prevent persistent links./ B0 U3 B! \5 ^: Y/ Y2 Q3 \2 U: N
  1137. ; http://php.net/mysql.allow-persistent& [+ U, I- v( L4 M& s7 \, y3 L
  1138. mysql.allow_persistent = On
    ) Q5 e! r! @9 h2 K

  1139.   @9 x: a0 k% \& `0 s& z! V/ F
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 w' A* f; \+ y! _
  1141. ; http://php.net/mysql.cache_size
    2 p2 _5 j* Y, u7 T+ t# o
  1142. mysql.cache_size = 2000  k% n) C5 y, q# }1 x3 n
  1143. 0 O/ _5 d5 s# n, B( b2 |
  1144. ; Maximum number of persistent links.  -1 means no limit.$ Y: f7 H( _! s  A0 m/ W. U
  1145. ; http://php.net/mysql.max-persistent
    , D; I  L- q& J: n- l: y" o9 k
  1146. mysql.max_persistent = -1- ~' v1 H9 }% E" G6 g8 p- ~
  1147. 8 W0 w( ?7 O7 _
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' n. H8 Y5 T$ p+ V& V6 g% i( N
  1149. ; http://php.net/mysql.max-links  f; k) ~. {: t2 Z
  1150. mysql.max_links = -1
    / Z0 i8 G0 ^+ `* v
  1151. : ?6 E( p+ X2 n/ S9 K+ l1 O
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    # J1 A6 _# Q4 R
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: f' `- `+ f$ m& n- j3 ~
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) c3 W( ?% S3 M5 S$ R2 _5 o
  1155. ; at MYSQL_PORT.
    ( t% W  C$ {/ Q
  1156. ; http://php.net/mysql.default-port
    9 H) I  {+ L- D% ?( U
  1157. mysql.default_port =2 G! ~; D+ s7 ?6 i$ L; {( I

  1158. 9 v/ d/ q& s8 V9 z
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in! B2 U- _! x$ |  J# Z" ~: `
  1160. ; MySQL defaults.
    $ I1 P' r& k3 w0 n
  1161. ; http://php.net/mysql.default-socket
    ( g* D+ o  Q/ f. A. R" C" p( Z
  1162. mysql.default_socket =
    ; b/ k" y; S. x& W! P( k! o) C
  1163. : n7 A& {: x% a) d- J0 a* v
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).+ ~0 p: g0 `3 Z) u
  1165. ; http://php.net/mysql.default-host
    3 J- I9 Q( x& {% v) V! O/ t: `* U
  1166. mysql.default_host =: M, w, }  Q* l. [
  1167. * a9 m4 `3 ~# U  m! g
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 D5 X/ }! j! `5 S; S' ?
  1169. ; http://php.net/mysql.default-user
    2 \* B" s1 d  w$ H1 n' p; a
  1170. mysql.default_user =! Z3 E( ^- Y4 a2 e0 N% q
  1171. 6 f6 c( O- q% y6 d8 b
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    2 L# L# ^  |# o
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 E$ A& L4 b+ b7 I
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")! O, I* o8 {. N' t
  1175. ; and reveal this password!  And of course, any users with read access to this: C1 B% T2 f# O: g
  1176. ; file will be able to reveal the password as well.
    $ y1 e. u4 e3 f" i, z1 S/ ^$ M' d
  1177. ; http://php.net/mysql.default-password, u) x- D- ^# _! g
  1178. mysql.default_password =
    # S, E% D$ q  b# s4 ^
  1179. / J: X; r8 O; E: j' o
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
      h- b) Q  c+ K* J4 E, N; x  Z% m
  1181. ; http://php.net/mysql.connect-timeout5 O. o9 {8 q9 T" P% [3 P  i" Y
  1182. mysql.connect_timeout = 60
    0 o. L, K; P, V+ j" d

  1183. # r; H9 O# d& o/ Y, E* e& W
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    7 L$ i# w8 N, W! r0 }2 g8 s9 U
  1185. ; SQL-Errors will be displayed.: l1 X: y! Y7 G8 h1 O: ~# s+ f+ V
  1186. ; http://php.net/mysql.trace-mode
    $ j$ S0 \& G; ~# k7 Z. `; c7 y
  1187. mysql.trace_mode = Off
    * q5 E) K  A7 ?+ N; I7 Y0 U

  1188. 3 U+ y6 Q2 a8 ]4 N4 E
  1189. [MySQLi]
    - y* ^+ l5 d/ Z- @/ v

  1190. % X! w  ?- ]' A2 Z$ b: v5 O; \: X
  1191. ; Maximum number of persistent links.  -1 means no limit.
      t5 }: n$ p  X- _( T- B, t
  1192. ; http://php.net/mysqli.max-persistent1 R1 B2 F) k/ Z! k+ k4 _, W% [" y: V
  1193. mysqli.max_persistent = -1
    ' [5 r7 {% p5 A! j% g

  1194. 7 v7 W. T. k8 G% `& X" R
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    4 }5 N8 }% N3 m. A+ s
  1196. ; http://php.net/mysqli.allow_local_infile
    $ N2 i; b2 F5 K
  1197. ;mysqli.allow_local_infile = On9 `! T8 r, ]# ~9 K- o1 l
  1198. " H# b; h5 }* t# G) F
  1199. ; Allow or prevent persistent links.
    0 H# Z' ?6 x" a1 ]: w1 {) j
  1200. ; http://php.net/mysqli.allow-persistent# s" \# R. `# o/ v# d: ^
  1201. mysqli.allow_persistent = On
    * v) C& D! F" [' T4 W

  1202. 5 _5 }# O/ P9 \' I
  1203. ; Maximum number of links.  -1 means no limit.
    2 c$ k' u* \, L8 T' j) |
  1204. ; http://php.net/mysqli.max-links1 l" ^' [5 {( q  v/ s
  1205. mysqli.max_links = -11 O0 l  f0 d( ^& h! F3 q

  1206. 3 r7 T( @8 s( f  ^$ o1 R( n1 e
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 L0 u& f9 k/ A0 n% Y
  1208. ; http://php.net/mysqli.cache_size. u( F" J0 W( C% U; @/ M+ z
  1209. mysqli.cache_size = 2000  q  F& T' t% W/ |
  1210. , C6 c, J3 D% r9 R+ C# @! `5 s7 [- s
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
      r2 ?8 @7 L# q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  ], c$ [7 R$ e: f
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 g5 t% U8 ?# @
  1214. ; at MYSQL_PORT.
    " r8 q# M4 {' h* T+ g6 n3 ~  t2 w
  1215. ; http://php.net/mysqli.default-port
    1 w* `* o8 T1 @  o, P1 E
  1216. mysqli.default_port = 3306- ]2 }; O. d" }- O  w

  1217.   @4 M) i) H  t# p
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in; x" Q+ H0 h. g- O( o
  1219. ; MySQL defaults.
    : u5 k! |' y0 Q  u3 Z, b2 I
  1220. ; http://php.net/mysqli.default-socket
    ' B) v' V1 c/ `  R# l# s; U
  1221. mysqli.default_socket =
    5 v' w; e. N6 g

  1222. , r: x) r/ s8 g$ [& k* P0 ?
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , l: f  _3 O1 T, J2 q
  1224. ; http://php.net/mysqli.default-host) w' o, S: [+ @7 [, D7 f
  1225. mysqli.default_host =
    - ^3 Q; a6 k9 U7 L% [% d" s+ ]

  1226. $ m# B7 r8 x# Y5 D/ c$ a
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 ^- T6 {/ b2 I* a$ ~5 i8 k  e
  1228. ; http://php.net/mysqli.default-user9 d1 _2 v/ N# o# O& O
  1229. mysqli.default_user =
    - ^4 l( d/ b% T% Q7 y. g7 w1 S

  1230. 2 J0 G- b! O! [- L5 u
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).) {/ |* J- }' j: p" x
  1232. ; Note that this is generally a *bad* idea to store passwords in this file." H8 }' S: L0 p5 m: f; K
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    # w! L6 P8 [5 `, `! j+ M* |$ o
  1234. ; and reveal this password!  And of course, any users with read access to this! x7 [$ K$ l) B0 E7 H9 B$ s( H
  1235. ; file will be able to reveal the password as well.  L" P# W' O4 C* Q! C
  1236. ; http://php.net/mysqli.default-pw
    ) ]2 h1 A; L7 I  o/ z
  1237. mysqli.default_pw =
    5 r+ p# D1 p, i" v4 m

  1238. 4 L8 z, O7 @, f. K
  1239. ; Allow or prevent reconnect
    4 H7 J3 {+ E! t$ v6 C
  1240. mysqli.reconnect = Off6 c+ Q+ I) P" A+ O0 K4 |7 G) {

  1241. 2 `/ ?2 m4 T8 F1 i* t% h
  1242. [mysqlnd]( K- ~) U6 l/ N) r  H
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % n6 N/ t  G8 C9 Y
  1244. ; used to tune and monitor MySQL operations.1 Y3 K5 ~. p% I% N% C
  1245. ; http://php.net/mysqlnd.collect_statistics
    ' l  R& k! S( |9 K! y/ l( C2 c8 u
  1246. mysqlnd.collect_statistics = On! \$ l3 d) j! d$ s6 }) G. D
  1247. 1 d% z) Y, Q! }  O- O7 A, s# O
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be% d. t$ w2 m# l4 ?& p1 _
  1249. ; used to tune and monitor MySQL operations.
      N' w# \& B; b& b
  1250. ; http://php.net/mysqlnd.collect_memory_statistics7 x. T: B' v( T2 k) s: K
  1251. mysqlnd.collect_memory_statistics = Off/ }  T( _$ E- l+ a

  1252. 3 y% R$ L# e; a; R- M! i
  1253. ; Records communication from all extensions using mysqlnd to the specified log* b& w$ o6 U# ^
  1254. ; file.
    ) J/ A7 J) ]+ ^. y1 o
  1255. ; http://php.net/mysqlnd.debug! m! e% ^( ?) \7 E, ]
  1256. ;mysqlnd.debug =
    $ n, Y9 S( T6 b6 G2 k3 ~

  1257. 0 t# ?9 l7 Z& E& X3 p6 E
  1258. ; Defines which queries will be logged.
    - T0 A5 O6 q: H6 [: X7 L% h
  1259. ; http://php.net/mysqlnd.log_mask; i5 f9 K. K( O, W2 v, k
  1260. ;mysqlnd.log_mask = 0# r% z4 \& O% ?# q  ^
  1261. / C1 ]+ b( |1 H$ t5 w
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.$ p. S9 T+ T# c9 u& z1 e
  1263. ; http://php.net/mysqlnd.mempool_default_size" B, p' p; `& C( v* o( G" J
  1264. ;mysqlnd.mempool_default_size = 16000
    6 T. w7 A) C% H" ^. X$ M' h0 W
  1265. + d" c. U- B3 q" O+ X- @8 S
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      L, M* a0 ^! c( @7 Z
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    4 f; O. R7 u. v# J) F
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    1 b9 o; m" h8 Q5 h2 h# t
  1269. 7 f7 w% M, a  |" M
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in$ c! z% g5 z3 N7 E$ z4 l4 t8 m
  1271. ; bytes.1 n5 _% y/ f1 c4 M/ S# l/ X
  1272. ; http://php.net/mysqlnd.net_read_buffer_size; X2 H' u' y6 V, l+ t
  1273. ;mysqlnd.net_read_buffer_size = 32768
    5 x, I5 }) e, ~  y- [9 D! a# C8 j
  1274. ) g8 z$ d0 g- O- e' {, T
  1275. ; Timeout for network requests in seconds.
    , s7 s$ O9 F) j# d6 {; C! p
  1276. ; http://php.net/mysqlnd.net_read_timeout
    4 _- f* |# }. N! \
  1277. ;mysqlnd.net_read_timeout = 31536000
    5 m/ l* N3 {- Y$ ~8 p% q
  1278. 8 P& J" A( P( h/ x3 l  r$ W1 t( Q
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    . a7 p) [$ b% x- O- S' o3 @! j2 i
  1280. ; key.
    7 A2 c8 B) O& p7 F! \7 Z
  1281. ; http://php.net/mysqlnd.sha256_server_public_key$ f# g5 G6 z: j
  1282. ;mysqlnd.sha256_server_public_key =
    % V2 I$ g3 |; X0 j+ H0 V+ @1 C) a. I2 O
  1283. / v) y+ M, l, K& s$ I2 s1 i
  1284. [OCI8]
    ! @% ^+ K) N" i8 m- L

  1285. " f- o8 Q, [6 p
  1286. ; Connection: Enables privileged connections using external
    9 U8 U! s" q5 j) y/ {9 Q
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( g: `9 X+ `0 v2 N0 R: g& @
  1288. ; http://php.net/oci8.privileged-connect
    7 T- ~- J. \* ?+ f
  1289. ;oci8.privileged_connect = Off4 C  r7 j0 T$ a0 Z
  1290. % z# S6 P7 m% b* R
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    1 R4 E0 D8 o9 g+ |
  1292. ; process. Using -1 means no limit.$ `5 |2 M% V$ }4 X" E, v
  1293. ; http://php.net/oci8.max-persistent/ k- V! W) y! n
  1294. ;oci8.max_persistent = -1$ a5 ], T' [& ]# [3 |. R6 k
  1295. 7 I0 j) l$ l) a0 a$ v5 W
  1296. ; Connection: The maximum number of seconds a process is allowed to
    $ ~0 j3 W% @9 K3 @+ b
  1297. ; maintain an idle persistent connection. Using -1 means idle; `* l8 @: E& f
  1298. ; persistent connections will be maintained forever.. v& S0 @/ n/ Q6 O) r1 L! U
  1299. ; http://php.net/oci8.persistent-timeout
    ' [% M5 f5 c- [1 H
  1300. ;oci8.persistent_timeout = -1
    6 {7 C3 E- g' C8 y1 D# S2 Y. y2 c

  1301. / X; N7 Z5 a* D  h  P' S. F  g
  1302. ; Connection: The number of seconds that must pass before issuing a
    9 \( ]9 u2 m  r' m
  1303. ; ping during oci_pconnect() to check the connection validity. When6 H9 a, s; B; W, t  U$ k( _
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ ?! ?/ t: }4 @6 i- E9 w- d* z, O( s
  1305. ; pings completely.
    1 u3 z3 v" S. w, @' Y+ z
  1306. ; http://php.net/oci8.ping-interval
    . D9 p5 p$ a5 b+ o0 U6 y3 a
  1307. ;oci8.ping_interval = 60$ p4 W% T+ P! X+ o! }  o2 l

  1308.   w! [, s6 ~3 ?; J3 l- @9 I
  1309. ; Connection: Set this to a user chosen connection class to be used
    ( O, |; ]! N% f) S# e
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    3 O5 A+ T; B3 A7 J) r+ H6 }
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    / d, g3 b# z" Q9 C0 a  o
  1312. ; the same string for all web servers running the same application,
    % i( ^* i! t1 o- h. D
  1313. ; the database pool must be configured, and the connection string must
    ( W# Z$ x/ P! z
  1314. ; specify to use a pooled server.
    ! H2 o# u+ m" ~% p! m
  1315. ;oci8.connection_class =
    $ f' x+ d! G6 C/ E( K! v, \( _
  1316. / J3 a9 S) o. ?
  1317. ; High Availability: Using On lets PHP receive Fast Application
    5 a/ u$ b; G7 a% `7 G! X8 U, t! ?
  1318. ; Notification (FAN) events generated when a database node fails. The
    * }/ r, R: ^/ t" b5 ?3 v
  1319. ; database must also be configured to post FAN events.1 X, r6 a( b; E6 k; C! @; t1 J
  1320. ;oci8.events = Off
    0 p: w) T5 h" f) z0 z; U( C7 O

  1321. 2 u  V' S+ d$ P# m( ^
  1322. ; Tuning: This option enables statement caching, and specifies how
    + Q/ L2 j7 I  k; O
  1323. ; many statements to cache. Using 0 disables statement caching.. ]& D$ T3 ]+ {: z) Q# N% K
  1324. ; http://php.net/oci8.statement-cache-size
      K% q1 \, K( r: i' }" K. u
  1325. ;oci8.statement_cache_size = 20
    ' e+ ^- a; `3 C+ Q
  1326.   U4 s; ~, z1 Y9 L! H- r
  1327. ; Tuning: Enables statement prefetching and sets the default number of, i. m2 ?- A1 T6 C
  1328. ; rows that will be fetched automatically after statement execution." _9 v  R: K$ q& |$ T2 I' W
  1329. ; http://php.net/oci8.default-prefetch
    6 L8 e& g8 x  R+ U/ b
  1330. ;oci8.default_prefetch = 100
    ( G  K- a0 G* p! N# u7 d2 ^, h, E
  1331. " F9 p- r' M: L8 W0 p" i. Y
  1332. ; Compatibility. Using On means oci_close() will not close
    % t* i' Z6 s4 L/ f. M3 P* t
  1333. ; oci_connect() and oci_new_connect() connections.+ K$ |5 V( {2 Q4 s
  1334. ; http://php.net/oci8.old-oci-close-semantics% l* S- o; ~. B5 l$ s0 _
  1335. ;oci8.old_oci_close_semantics = Off
    : \: N& b1 g/ _3 v

  1336. 6 i% B0 Y* e2 q2 t5 t
  1337. [PostgreSQL]
    2 ~- h$ v( J' @# q' C9 e
  1338. ; Allow or prevent persistent links.
    : V5 g' e7 S' Q& B& ]
  1339. ; http://php.net/pgsql.allow-persistent
    " `. K9 {8 J) E3 \# |
  1340. pgsql.allow_persistent = On/ {! @0 p5 M! V- S* D

  1341. % E/ H+ l9 ?: V5 P5 B# V- Q
  1342. ; Detect broken persistent links always with pg_pconnect().5 s; C( d1 C6 u* G, \" ]
  1343. ; Auto reset feature requires a little overheads.  N2 a! J$ V/ B0 {; d$ V8 B8 n( X
  1344. ; http://php.net/pgsql.auto-reset-persistent
    3 h: O- a& w( E2 f9 o/ v7 [
  1345. pgsql.auto_reset_persistent = Off
    % d7 j  P" p1 q9 a5 D7 Z

  1346. ) r! |  n" `8 U7 }' c9 [. N
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ( h; l. [# O- T) h: ^. R
  1348. ; http://php.net/pgsql.max-persistent+ z! u7 j  S# I, c2 T
  1349. pgsql.max_persistent = -1( K, D- Q- p8 d' T( m

  1350. ; ~( M! {7 C6 J3 [0 t3 ^' d1 H
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    2 l6 k! Q" s9 V1 J
  1352. ; http://php.net/pgsql.max-links
    2 D8 _* L# f4 G% u/ b
  1353. pgsql.max_links = -1  t4 _4 x+ X2 i9 a- y! e
  1354. % z" n! f; J& U, @" w
  1355. ; Ignore PostgreSQL backends Notice message or not.# p  P& h  h* o8 V) Y/ V7 H, |
  1356. ; Notice message logging require a little overheads.
    # y1 u+ |# s# d8 m
  1357. ; http://php.net/pgsql.ignore-notice
      R2 k! n/ x( C, U# J: D$ o
  1358. pgsql.ignore_notice = 0
    ) v$ U1 H4 S! E# O; z, F
  1359. 7 w6 a& ~- D0 l, E: J
  1360. ; Log PostgreSQL backends Notice message or not.
    - T- y5 ]2 D, I4 G
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - L: v* h' A8 l7 y  g
  1362. ; http://php.net/pgsql.log-notice
    4 t8 Z9 M4 `: v+ ^+ ]
  1363. pgsql.log_notice = 0, D* ^) G1 I1 v
  1364. / ^$ y6 a8 P7 Z8 G* I( M0 N
  1365. [Sybase-CT], c# v( N5 z3 F4 v  n
  1366. ; Allow or prevent persistent links.; J( T7 \) y- C+ B" d. |
  1367. ; http://php.net/sybct.allow-persistent  S1 v  ?. ^) x
  1368. sybct.allow_persistent = On
    + F' H. i1 f. b3 V
  1369. * b+ G- P  L! s
  1370. ; Maximum number of persistent links.  -1 means no limit.- j' W, h- H4 z6 e# `. T
  1371. ; http://php.net/sybct.max-persistent8 Q) [6 f; p* _% n7 m: _5 f) e0 m
  1372. sybct.max_persistent = -1
    ( W6 ~6 M. x$ z, k/ U
  1373. , U- ]! m" ]$ G" ~
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' l) Q2 }; r6 B9 V
  1375. ; http://php.net/sybct.max-links! ^6 m! F6 I8 r  y; y1 a( V; K+ s* B
  1376. sybct.max_links = -19 n6 m5 n, }1 O/ [) _- \8 d6 {7 A

  1377. - d/ _/ U  Q* z
  1378. ; Minimum server message severity to display.# t4 ~: L7 m7 `3 o
  1379. ; http://php.net/sybct.min-server-severity0 u9 w# u/ {6 E0 z
  1380. sybct.min_server_severity = 101 `+ V8 W, s7 f8 {6 W; `6 M

  1381. 1 C9 K# A$ u6 d
  1382. ; Minimum client message severity to display.9 C" _/ v4 C2 P6 @
  1383. ; http://php.net/sybct.min-client-severity
    : }) E2 ^! o. z& f! b" T
  1384. sybct.min_client_severity = 10
    . R( L; j: g9 b6 T4 R
  1385. ( Y2 z  a1 S# L0 q
  1386. ; Set per-context timeout. A$ g2 u. m9 y$ z
  1387. ; http://php.net/sybct.timeout& f+ g) R& T$ q, I+ i
  1388. ;sybct.timeout=$ @. Q2 H2 ?8 u% i8 k' c- z% B

  1389. ' Y' p3 @& Z% B! z5 B' A
  1390. ;sybct.packet_size
    ' j' s$ y1 [. g$ M# C

  1391. $ d6 p6 A2 M  M* U
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.- U; e5 ~  {/ |( e
  1393. ; Default: one minute
    ! ]! ?) M- Q- x- X, y3 H* Y, Z
  1394. ;sybct.login_timeout=/ A% W$ j1 V( ^  J
  1395. / l7 ^2 T) _$ s3 f" A0 E: M
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.& v0 ?7 H6 z' w
  1397. ; Default: none) {: t) a" O8 I4 \5 _. A
  1398. ;sybct.hostname=
    0 d9 C( l+ Q1 Y( g1 b# @
  1399. $ x' |2 e: n; L  ]+ U5 E% k( Z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) `  I8 D9 o+ \' U6 O
  1401. ; Default: 02 J' C. @  S3 F4 V0 E6 a" o
  1402. ;sybct.deadlock_retry_count=* D# Q& Z6 ~# t* e. }) n) `' c) G& w: F

  1403. % _, l% g, v& N& V! J$ {
  1404. [bcmath]
    % ]3 V2 a# r" r! k$ x
  1405. ; Number of decimal digits for all bcmath functions.
    1 K* w0 ^8 B. Y7 E6 y
  1406. ; http://php.net/bcmath.scale( O7 v  C+ R: i, z
  1407. bcmath.scale = 0; ]' B% \) k( @. r9 u! E; T  A

  1408. ; E5 H. K% D. Z+ b2 {9 U
  1409. [browscap]
      L# n+ m  g8 y3 [4 F9 U
  1410. ; http://php.net/browscap9 {+ T! c( ?9 }8 z9 ^% d
  1411. ;browscap = extra/browscap.ini: N6 h7 Y7 T3 }  P

  1412. $ }4 W7 n2 S/ |1 z1 _( e
  1413. [Session]4 r* N# p4 d3 Z* j( t7 a7 `1 `
  1414. ; Handler used to store/retrieve data.
    7 K: }' k. L' ^
  1415. ; http://php.net/session.save-handler& V9 q3 y$ R  L( ]% B
  1416. session.save_handler = files9 \  `: w1 \6 n( d8 i
  1417. 0 e! y2 E  \1 _; `; W
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ! }$ K8 v& [' j
  1419. ; where data files are stored. Note: Windows users have to change this' ]( j. L' d' S4 F  `# N8 Y
  1420. ; variable in order to use PHP's session functions.
    4 ^8 U6 |2 U1 n8 f# @
  1421. ;
    5 g0 _6 h- B: N+ ]8 I
  1422. ; The path can be defined as:
    # `$ z. q# V/ U4 |1 f7 ^
  1423. ;5 `  M% t/ ], t
  1424. ;     session.save_path = "N;/path"
    5 X; a* z* H  b- }( O0 b
  1425. ;
    3 x" O7 W. b* k+ b
  1426. ; where N is an integer.  Instead of storing all the session files in# K  g4 c1 g. r! q5 _
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    , P% Q4 a! v- v5 m" E
  1428. ; store the session data in those directories.  This is useful if1 L% O- g5 W, Q
  1429. ; your OS has problems with many files in one directory, and is
      o9 g& R& H1 u/ M
  1430. ; a more efficient layout for servers that handle many sessions.+ `5 }3 O/ V9 ?3 b7 r* o
  1431. ;
    2 ^8 X! R. f1 Y/ G
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ' P+ ~9 W2 \7 I
  1433. ;         You can use the script in the ext/session dir for that purpose.
    5 D* V- s7 B# W( I2 n% I0 G
  1434. ; NOTE 2: See the section on garbage collection below if you choose to: P* w  i7 p8 J" `
  1435. ;         use subdirectories for session storage' Z# q+ T; O# p
  1436. ;
    ( q; `+ `. D, M
  1437. ; The file storage module creates files using mode 600 by default.& m1 t, P- w" ~
  1438. ; You can change that by using* ~6 ~5 {( d! A8 p
  1439. ;
      z; y; D7 @6 o6 c
  1440. ;     session.save_path = "N;MODE;/path"
    9 _0 @% b& w' q4 X; }
  1441. ;
    + L7 w2 n! X/ A# t2 {
  1442. ; where MODE is the octal representation of the mode. Note that this
    9 P3 {  P2 G6 W& e! m! W
  1443. ; does not overwrite the process's umask.6 Q0 Y- x, M' n; i" q# L5 s
  1444. ; http://php.net/session.save-path1 l* K2 O& r" e
  1445. ;session.save_path = "/tmp"5 j- L3 i; x, N9 C! _+ U% }
  1446. 4 ~" Q* a4 }; l. O1 j
  1447. ; Whether to use strict session mode.  R* o3 P4 z& M% G4 a  |8 c0 `% X( G
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate( W& o- i% c, `1 o4 H9 c- o
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects; F7 T$ ]* ~3 ^$ B5 h( K
  1450. ; applications from session fixation via session adoption vulnerability. It is1 c) ]' [+ ?# ?9 W* [5 {
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 o$ \  S  J# d) E* Q
  1452. ; https://wiki.php.net/rfc/strict_sessions2 ~3 Z, E/ _) J2 M! o
  1453. session.use_strict_mode = 0
    ! K' C' w0 t1 Z5 N& i- X

  1454. 4 N9 `% ^7 |# h2 y4 b/ `! z! V$ j
  1455. ; Whether to use cookies.
    - h$ S2 s8 i, X3 G7 G( Y9 X, r1 X
  1456. ; http://php.net/session.use-cookies6 T0 |" m1 U4 [, J6 f: _  A
  1457. session.use_cookies = 1- G& w! G! {0 n1 ]& \

  1458. ) _6 u" q7 m# R9 z$ m' B! j( a
  1459. ; http://php.net/session.cookie-secure
    ! `2 ^1 @, f: \' u. o% T3 \
  1460. ;session.cookie_secure =5 Y! G, [9 A& z1 p; N0 o" Y/ d
  1461. 3 W3 o8 P/ S4 S! q( A* L$ G; u& p
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' d" f% Z5 c# z
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    5 H7 f. k1 Y* n" J2 B" X5 O% C
  1464. ; session hijacking when not specifying and managing your own session id. It is' I' {9 W2 ?' q1 N7 `" S' B
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    & r3 a, w9 Q4 t- T* A0 ]! P
  1466. ; http://php.net/session.use-only-cookies  U1 I/ F  ~: i! R
  1467. session.use_only_cookies = 1
    ) h# G, U4 M; f  d5 `6 c

  1468.   i! l0 q1 ^7 d& P& U
  1469. ; Name of the session (used as cookie name).
    4 `5 k5 q( v/ t" |' c+ L- P
  1470. ; http://php.net/session.name
    + F. f9 n2 R6 X. a
  1471. session.name = PHPSESSID' p+ E% _( V% M6 X% x8 |
  1472. 8 d6 P0 W5 H- @
  1473. ; Initialize session on request startup., L$ t/ e" e2 ^' ^3 l0 n
  1474. ; http://php.net/session.auto-start1 I3 ~9 L' _7 w3 j" o0 ?
  1475. session.auto_start = 0
    9 T4 H) _: p1 a& @" c: x; e
  1476. , s  O# A! t3 j$ |* Q& u8 |
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * t# H, {% n2 H" c
  1478. ; http://php.net/session.cookie-lifetime
    % ~8 _2 L4 s7 }+ S
  1479. session.cookie_lifetime = 0
    ! Q. ?" E! f$ z- Y0 m

  1480. 8 F, y) A9 R% @5 P6 h
  1481. ; The path for which the cookie is valid.
    0 c& m) a- S$ m5 o
  1482. ; http://php.net/session.cookie-path
    8 L5 _+ G9 a) Q" m" \1 ^
  1483. session.cookie_path = /
    ) B2 q; v2 g- f7 j9 ?, w
  1484. ) X3 a2 }+ l: }; Y7 |4 P& C/ M4 j8 j
  1485. ; The domain for which the cookie is valid.- I; m7 I1 x& X( m: p% j
  1486. ; http://php.net/session.cookie-domain
      t/ V* _4 @' \
  1487. session.cookie_domain =/ q" L! i4 r8 b
  1488. ) |3 D& `3 F. E( _! Q7 g. w0 O
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.7 f* O+ {; C3 ^. n! I0 m
  1490. ; http://php.net/session.cookie-httponly
    ; w; M/ e; k1 u4 Z' ~6 U+ G
  1491. session.cookie_httponly =  L2 ^9 L* ^& d7 j

  1492. * E1 b( E" B0 v" H" n
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    * Q: U+ U$ o7 I+ e) _  |8 r3 V
  1494. ; http://php.net/session.serialize-handler+ |1 K$ ]5 E3 R$ I# N" i* }; [$ _2 [
  1495. session.serialize_handler = php
    4 B6 n, V0 x! y! f( J! ]0 s
  1496. 6 z) ^: Q! q9 a2 X8 ~) [9 P
  1497. ; Defines the probability that the 'garbage collection' process is started+ c0 ^& G; x: j' W5 L; F
  1498. ; on every session initialization. The probability is calculated by using6 e$ l( C8 W) ?; L9 d$ H. b' E" O; b
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' u' Y# e/ a: v2 q9 k' M
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    3 K7 G- F" G2 a# C5 E; p( r8 T
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) r# z! `& e7 _1 p8 I! g
  1502. ; the gc will run on any give request.# ~2 j3 w+ h- v% ]  d. d! O1 {) M3 `
  1503. ; Default Value: 1! n( }: L8 L9 Z9 o7 p
  1504. ; Development Value: 1/ H2 [. a# }; P7 C% z4 ~1 @, u
  1505. ; Production Value: 15 q6 y6 w' s* t6 c$ K+ {
  1506. ; http://php.net/session.gc-probability
    " {; F3 r0 [8 Q6 Q
  1507. session.gc_probability = 1
    : Y9 o+ ^. R; }

  1508. $ T: R. n3 |. C, Z9 m3 W' Q
  1509. ; Defines the probability that the 'garbage collection' process is started on every" J3 p  u6 @4 x3 {: C' n' E0 L
  1510. ; session initialization. The probability is calculated by using the following equation:
    & g- H7 q# v4 a+ Q" g
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    9 N+ \3 R" o- d
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 K$ e9 p# ~: z% `+ y: H' x& z
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, j5 K6 }8 S+ O8 i& S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you4 n" Y, a) C0 I5 W* }0 @% G' w
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 r% b; d( g7 I2 o4 C! R- _
  1516. ; this is a more efficient approach.. Y  R% E1 b. Y% |- M+ @; U" i
  1517. ; Default Value: 100; m* \9 u1 ~  F2 w$ K. K& \
  1518. ; Development Value: 10009 O$ i* Z8 b: i3 t2 Z& n
  1519. ; Production Value: 1000/ C. ]  M5 Q/ ]( g& S
  1520. ; http://php.net/session.gc-divisor- i5 @+ h2 @; M' ^& A
  1521. session.gc_divisor = 1000
    ! i, C/ H% ^' O/ P1 h0 e/ n- H9 Y
  1522. 0 a! i1 H. ~& D% j2 y$ e9 n2 z
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    # D( q9 |! c4 q; n+ F
  1524. ; cleaned up by the garbage collection process.
    9 @. r8 F' J4 c& l8 o4 L
  1525. ; http://php.net/session.gc-maxlifetime
    7 F) Y7 L8 [& o$ T% I
  1526. session.gc_maxlifetime = 1440
    4 F( `2 n* l' m& Z. J4 j6 A( A+ ?

  1527. / ~5 C/ ^! H8 n) {' v
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    3 a3 i7 m+ g4 W$ K
  1529. ;       (see session.save_path above), then garbage collection does *not*
    & J9 S  q# F. @
  1530. ;       happen automatically.  You will need to do your own garbage' s$ D' D5 R0 C7 y7 c' b( X% K
  1531. ;       collection through a shell script, cron entry, or some other method.
    $ N1 U0 S  E0 X' F
  1532. ;       For example, the following script would is the equivalent of
    ) C# e1 Y1 V* C( r) F1 B) o
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 Q9 T; T4 z- u$ H* v
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 `) ~, Y- t( L4 j1 m) J8 c
  1535. . D% q! @% [+ Q  g
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.: p* t: o5 P2 f2 i
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ' f  F; W0 D$ ]& W  v. S, k) f# ?4 v% }
  1538. ; considered as valid.' n' N5 M: ?/ ?  m# A/ x, t% [$ i; G
  1539. ; http://php.net/session.referer-check
    , D6 E$ l3 }, ?1 ^* \: _8 |! O
  1540. session.referer_check =
    " i) ]: I' s; @1 x7 {
  1541. 2 q+ X9 l( N; x/ f! U" N) L
  1542. ; How many bytes to read from the file.3 \* Y6 D1 L- @0 G4 R0 R! j
  1543. ; http://php.net/session.entropy-length) L" R% p( \: i# [
  1544. ;session.entropy_length = 32. t+ Y/ h3 q4 t& B8 [  S2 O' y

  1545. : Y. J7 w2 g( F, a2 h+ ^& ?9 v* E
  1546. ; Specified here to create the session id.* y7 k- r8 J  g8 @
  1547. ; http://php.net/session.entropy-file, l' k1 ~; p8 ~
  1548. ; Defaults to /dev/urandom; G5 }- |  m2 k2 q: q- A
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom2 v& B5 K  E! q; G
  1550. ; If neither are found at compile time, the default is no entropy file.
    3 O8 D/ o: d5 A$ _* |
  1551. ; On windows, setting the entropy_length setting will activate the8 D; U$ }3 q2 [+ {7 U; N' c. c
  1552. ; Windows random source (using the CryptoAPI)) Y4 u. V* ?1 ]! f% x
  1553. ;session.entropy_file = /dev/urandom
    . ?/ r0 X+ q7 H0 F" Z) S. l
  1554. : z$ Z* p$ ]7 ~! q
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects1 A' }4 `2 U! H: \" m9 ]% X
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ) s( s( p& k; t" D2 ^5 S( I
  1557. ; http://php.net/session.cache-limiter: \. e; V& N0 ^8 K
  1558. session.cache_limiter = nocache5 q% _( N, F5 P% [' s4 o

  1559. * Y( O5 D6 r( G
  1560. ; Document expires after n minutes.; k0 O, _  P) p7 k
  1561. ; http://php.net/session.cache-expire, g3 }. [8 d/ b" Q! d& O
  1562. session.cache_expire = 180
    , i1 J  I# ~$ J0 ]  O
  1563. - b3 o* K7 W1 h7 a4 l# [
  1564. ; trans sid support is disabled by default.$ d+ b/ M3 n: d- H
  1565. ; Use of trans sid may risk your users' security.
    4 \3 D9 b+ S- j1 }+ @  }
  1566. ; Use this option with caution.
    % l1 A6 I& s; {$ }$ B
  1567. ; - User may send URL contains active session ID3 Z) }* J- P) \; o7 y; c. o
  1568. ;   to other person via. email/irc/etc.0 D, U1 C' @; |3 T5 @& j
  1569. ; - URL that contains active session ID may be stored
    - L" k, I3 a3 L4 z/ _; F. l
  1570. ;   in publicly accessible computer.
    1 L( [) u+ x5 D" K* v* d: Y
  1571. ; - User may access your site with the same session ID& l: |9 \5 G- P1 R/ @
  1572. ;   always using URL stored in browser's history or bookmarks.
    / M8 R( P1 U5 Y+ u7 V# n
  1573. ; http://php.net/session.use-trans-sid
    $ g7 H1 R) D8 t; E
  1574. session.use_trans_sid = 0" F8 t0 S# l; m" ]" F: ]; {

  1575. & r% I- r4 W. t: k/ p' T' b
  1576. ; Select a hash function for use in generating session ids.
    ! Z; ~- F+ s# ?1 `! f
  1577. ; Possible Values
    , X9 \4 V( ^( y4 y1 s
  1578. ;   0  (MD5 128 bits)
    3 ]" z8 u, I  a8 c, b
  1579. ;   1  (SHA-1 160 bits)3 t2 u; }7 _% I" S
  1580. ; This option may also be set to the name of any hash function supported by
    ' F& ]) J) ^3 W8 I$ k5 `
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()7 j! I) t  h+ I7 M3 l  h8 Z
  1582. ; function.: i/ T/ y- U) [
  1583. ; http://php.net/session.hash-function+ i5 I1 z7 \& a9 M9 w: k* E
  1584. session.hash_function = 0
    ) d6 a# w$ s. A2 d- z  i

  1585. ) n" `+ d( m  E  W
  1586. ; Define how many bits are stored in each character when converting
    ) h& s- |( A6 b' C7 h1 Q* u
  1587. ; the binary hash data to something readable.5 g* Z. |  A- x/ g+ M8 ], k
  1588. ; Possible values:( a/ v: W: n* g" _' ^' @
  1589. ;   4  (4 bits: 0-9, a-f)! m+ J) g+ k) X
  1590. ;   5  (5 bits: 0-9, a-v)$ W  s+ o5 C- Q8 ~; D& G9 i
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    0 l+ x! t8 I  O* A
  1592. ; Default Value: 4
    4 J! T( ]& L- V1 W7 m' w
  1593. ; Development Value: 5! t/ O7 a3 w9 s# s* z
  1594. ; Production Value: 5
    : {3 ^  {( v9 n% C: S+ K
  1595. ; http://php.net/session.hash-bits-per-character
    . Z4 {" b( {4 V( H
  1596. session.hash_bits_per_character = 57 I# s) ^  C" B& k& ^0 m6 h  }

  1597.   [' I) m3 E2 N2 F0 m0 W
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    % E; P) Z# V/ i; p3 c, v% S6 G
  1599. ; form/fieldset are special; if you include them here, the rewriter will, c2 ~% m/ _/ E, E  }- J
  1600. ; add a hidden <input> field with the info which is otherwise appended/ Z: k0 _! e7 @* c  x# ?
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.7 P* Y# |% n- H6 c8 V
  1602. ; Note that all valid entries require a "=", even if no value follows.+ O7 G" z7 K9 n! E( C
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! O' k: [& _! R4 K, j3 o/ V+ [; r* z
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " k6 t% X- ~9 t
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 K2 q' m" j7 L1 H( f
  1606. ; http://php.net/url-rewriter.tags; N( @' u6 Q! A* @; t7 F
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + [9 h$ [; z3 H4 R& G

  1608. ) V2 V6 M# I  U% R/ [) T
  1609. ; Enable upload progress tracking in $_SESSION
    8 K+ |& Z2 `4 O# w7 \
  1610. ; Default Value: On
    # J3 z. H* [4 `1 {  K5 ]
  1611. ; Development Value: On
    $ _4 y; M: z, ^" X6 t5 O* ~6 {) T
  1612. ; Production Value: On% \8 k9 G& j+ M# g! p
  1613. ; http://php.net/session.upload-progress.enabled
    , @0 R! w: q) A5 A. F
  1614. ;session.upload_progress.enabled = On
    1 D/ ~: R/ P& N2 Y) F1 N  k, \4 t
  1615. # l$ H( v/ l- R
  1616. ; Cleanup the progress information as soon as all POST data has been read% d6 c1 z5 Q+ H% ^
  1617. ; (i.e. upload completed).; O2 f' ~& \: D6 t3 n/ ~
  1618. ; Default Value: On, {" K0 g% d3 R, ]4 X1 w  `* R
  1619. ; Development Value: On" I. R2 N6 Q4 j- h& b$ Q4 B
  1620. ; Production Value: On3 e% x1 E! K8 s1 c
  1621. ; http://php.net/session.upload-progress.cleanup
    " S4 o- O3 P& z3 d) A" M) f
  1622. ;session.upload_progress.cleanup = On
    ) X% X% o  T' M2 Q

  1623. " r+ Z9 u! n/ H! S( m9 Z/ O
  1624. ; A prefix used for the upload progress key in $_SESSION
    ( @4 U' t# t. {# v; H! e2 q
  1625. ; Default Value: "upload_progress_") {% `* t5 @3 z0 d
  1626. ; Development Value: "upload_progress_"  A9 }  Q! q7 I
  1627. ; Production Value: "upload_progress_"
      C8 i9 F* L( e; V$ W, @' G
  1628. ; http://php.net/session.upload-progress.prefix8 l5 G9 _1 ~. h; i( K* v9 G. U5 }
  1629. ;session.upload_progress.prefix = "upload_progress_"3 M/ r5 s; d+ B; S1 U5 x/ l6 }
  1630. ' y  Y) w. a- Y0 H2 O
  1631. ; The index name (concatenated with the prefix) in $_SESSION' J- J& J& i; m$ Z- D7 B8 f
  1632. ; containing the upload progress information9 c7 B3 M. O: p. u" v
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ A) t0 g( G  f+ a! \
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% I9 h2 q! N4 ^$ L9 P
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 K) \+ ]! l6 l! X
  1636. ; http://php.net/session.upload-progress.name
    5 ?! B: l7 I- o' h) `) l
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; {1 C9 n  m! ^& W
  1638. : B% Z  y& `7 @7 N
  1639. ; How frequently the upload progress should be updated.0 G0 C2 L, V* a& I/ D
  1640. ; Given either in percentages (per-file), or in bytes8 A0 Q5 C' z. V+ Z
  1641. ; Default Value: "1%"4 X7 a/ M9 M# S" p" G$ h3 `1 A
  1642. ; Development Value: "1%"' C8 ]: t  ~# |7 e
  1643. ; Production Value: "1%"* a5 ]. o$ e9 r% l9 r, N
  1644. ; http://php.net/session.upload-progress.freq9 \/ L; z: [* L8 N1 R: j' \
  1645. ;session.upload_progress.freq =  "1%"
    ) u! I  ?" x3 b- p) e' q

  1646. 4 h& f7 |% R' b  y2 C$ p. S+ t
  1647. ; The minimum delay between updates, in seconds
    2 r1 t4 a, J1 C, N
  1648. ; Default Value: 1
    ! O; w/ \/ }* q6 ^) h" s
  1649. ; Development Value: 1
    & b3 I( {7 |1 G0 J4 M
  1650. ; Production Value: 1
    - [+ E. C) `6 \7 X  ?$ b
  1651. ; http://php.net/session.upload-progress.min-freq
    " g  i% V6 [( ~. L
  1652. ;session.upload_progress.min_freq = "1"
    7 F* H) ]) i+ P9 \  [
  1653. 5 D. \8 w  Q+ }& [* i; c9 o
  1654. [MSSQL]5 [5 I! g) f; {0 A9 G% m
  1655. ; Allow or prevent persistent links.$ `9 k& t+ G: d0 `1 O1 x
  1656. mssql.allow_persistent = On
    : M! C% W4 G/ W' Z) U. {

  1657. $ b) X/ q2 _* j4 s
  1658. ; Maximum number of persistent links.  -1 means no limit.
    5 q: t# M% ]# {/ N' T) i% A% R
  1659. mssql.max_persistent = -1: t8 U5 \  F6 f  q- N" E

  1660. : h' X  f7 [" T$ q) w- Z$ d; \/ K, j
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # h2 K5 y$ X2 l* o3 X
  1662. mssql.max_links = -1( G7 a5 J4 r% s1 w

  1663. 6 c; W: c9 f3 k$ v7 ]# ^- p' D; \
  1664. ; Minimum error severity to display.
    ! X: D; O$ E; I( x* W
  1665. mssql.min_error_severity = 10! X) q( G2 ^8 W" u! F
  1666. + Z: v5 Y( ^! _) s
  1667. ; Minimum message severity to display.' H' u; P( K1 w7 w
  1668. mssql.min_message_severity = 10
    ; e# X' i! k+ `! t

  1669. ' I- ~+ K5 v* k- }4 S: z" i& D4 B2 S( a
  1670. ; Compatibility mode with old versions of PHP 3.0.% S& X7 a0 f) o! n" ]. J' P
  1671. mssql.compatibility_mode = Off9 R% c' C) M9 i

  1672.   a2 `0 k- u8 L
  1673. ; Connect timeout* u  B: r( k, H0 @! o
  1674. ;mssql.connect_timeout = 55 U  C  a! P* y

  1675. . }( }. V5 J' l$ J6 Q) h- f& |1 `. c
  1676. ; Query timeout- h, {' \% _+ R5 R! C* |  ^" A
  1677. ;mssql.timeout = 60
    & _6 B7 K* E. G! o

  1678. 0 f6 }" p3 {7 |; z+ Y
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    8 _6 Q/ G0 ^9 b7 p. ~' x) ?
  1680. ;mssql.textlimit = 4096: t3 k. J# K' |0 d) d2 u0 m

  1681. # \- h; h; y; k7 y; a5 i* V
  1682. ; Valid range 0 - 2147483647.  Default = 4096., K( M' X, s" D' V. _- ~1 B1 I9 W
  1683. ;mssql.textsize = 4096" [- Z5 g2 O' D# N+ T3 R
  1684. 4 |- S6 l" O' w. D0 `- Q. v3 X
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    + K  c: c; L$ U
  1686. ;mssql.batchsize = 0
    " g' C( w$ V  j& w$ M# W* }/ g& Q/ n" T
  1687. % s+ e) M' Q, F+ t
  1688. ; Specify how datetime and datetim4 columns are returned
    $ q  E5 ^* I% f8 s/ `9 y  F- z8 G' T
  1689. ; On => Returns data converted to SQL server settings
    3 P2 p' H, q" N' u8 W7 R: G6 M
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    6 B: n9 q$ o; h
  1691. ;mssql.datetimeconvert = On
    % C" j7 f  }! o  F, u
  1692. ( B. u* l, J. p7 i0 F
  1693. ; Use NT authentication when connecting to the server
    1 v% r9 O1 `. P* K  J$ k/ T
  1694. mssql.secure_connection = Off
    , S% t- n& D3 b) h8 g

  1695. 0 y* K+ h8 k6 `
  1696. ; Specify max number of processes. -1 = library default
    1 ^- g3 T( j" o7 s& U1 [
  1697. ; msdlib defaults to 25" b$ k: ?( D) I/ m% }0 p9 ^
  1698. ; FreeTDS defaults to 4096
      H8 g, O' \# d. P
  1699. ;mssql.max_procs = -14 R4 t/ `3 D7 ]% R# z/ M8 I8 ~- A& R0 v

  1700. $ S4 `% P+ c" X8 u
  1701. ; Specify client character set.
    ; [) {2 {( h8 J7 F
  1702. ; If empty or not set the client charset from freetds.conf is used7 E* m0 f5 `1 m* B( Q
  1703. ; This is only used when compiled with FreeTDS# I5 W6 D# |  a8 ^* M
  1704. ;mssql.charset = "ISO-8859-1"
    3 t9 @' O$ {( w$ x# ^" y
  1705. 7 P. p% S7 m: h* t& @: Z- r% {* W
  1706. [Assertion]  v9 b2 R. f3 B! w' f
  1707. ; Assert(expr); active by default./ V, k) l( V- ?5 |2 U/ W' {) {+ {6 e
  1708. ; http://php.net/assert.active
    2 d) P/ V0 X' d; j$ V5 y
  1709. ;assert.active = On
    * f' a2 e  _/ |. D0 j( j' _8 G, c+ Y
  1710. $ W+ G4 ]* w- v9 P# k  D& ~
  1711. ; Issue a PHP warning for each failed assertion.
    ; ?- h' O- y: q, `! @$ Z0 A
  1712. ; http://php.net/assert.warning# u; X( k: |$ ^% X: E
  1713. ;assert.warning = On% x4 M! `8 T, r: A, n( p5 `4 }
  1714. * X% K' C  B" M2 }" Y& f5 _
  1715. ; Don't bail out by default.0 W$ G) x( f2 d6 \0 d4 M
  1716. ; http://php.net/assert.bail
    - @+ o! v% J$ [: B; i$ b9 d
  1717. ;assert.bail = Off! m) ?$ O3 P4 W: h; W( D

  1718. & u2 r3 C' W" Y9 @* i9 C( N- a; m- j
  1719. ; User-function to be called if an assertion fails.- v& P( g  t7 v5 A
  1720. ; http://php.net/assert.callback
    - X$ J: i0 e, e
  1721. ;assert.callback = 08 ~: q( ~, q4 [1 w
  1722. ! f" u2 i, c8 N0 I# i; q) K
  1723. ; Eval the expression with current error_reporting().  Set to true if you want5 G9 r, }- `. M: W8 G
  1724. ; error_reporting(0) around the eval().& b+ g% k2 J3 a7 x" n# a
  1725. ; http://php.net/assert.quiet-eval6 H* D2 H+ M& H3 U/ ]
  1726. ;assert.quiet_eval = 08 q) J) L  g2 m7 D
  1727. - X$ |, r. ?* Q- G, ^8 A4 C
  1728. [COM]
    ! {3 G, r& [0 t+ g( D' j0 `
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ! \' F) U( v* s  `6 f. ~9 J7 o0 l
  1730. ; http://php.net/com.typelib-file
    % m) F5 x5 T* ]3 l3 V
  1731. ;com.typelib_file =
    9 m# Y3 f2 e$ y! d7 c: b
  1732. 3 j! ?! w' G; t; r. ~7 H' E
  1733. ; allow Distributed-COM calls: S& y% w; u. b: D; f8 N! R: P
  1734. ; http://php.net/com.allow-dcom
    ' m) I1 m6 g6 }5 ~
  1735. ;com.allow_dcom = true
    % ?: t. m% ^0 x8 _1 Z4 X# P" F

  1736. : f( w4 m; d0 {5 V8 O
  1737. ; autoregister constants of a components typlib on com_load()
    : A7 C% K' U' m# f* f3 p, R- `
  1738. ; http://php.net/com.autoregister-typelib( O$ E$ @, M0 J
  1739. ;com.autoregister_typelib = true
    * O& i/ X" H* S
  1740. : @' m6 n( \% c$ [6 z9 z, ^& B: Y8 R
  1741. ; register constants casesensitive2 X( t5 S3 b! e
  1742. ; http://php.net/com.autoregister-casesensitive
    $ x/ Z6 h2 E& `
  1743. ;com.autoregister_casesensitive = false
    2 C  _( p. z3 n6 j; }
  1744. 7 ~% J) U$ b, w/ w
  1745. ; show warnings on duplicate constant registrations7 X' U6 D' z- L- o
  1746. ; http://php.net/com.autoregister-verbose
    1 z# T9 r3 }* K( n; v0 K% b% Z
  1747. ;com.autoregister_verbose = true) J+ F2 m4 o; B% z0 m, M$ y
  1748. ) C8 }2 `9 ~) y% j3 q
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ) z: _3 }/ V- ?& G+ q& P' E# Y: U: ~
  1750. ; Default: system ANSI code page8 V' X" U. s# k4 a5 r( e
  1751. ;com.code_page=
    ) M3 K, n" i) C# c, k- g

  1752. 9 O7 C: x' s% v' g, b" l) U1 p
  1753. [mbstring]& q* N/ v1 L8 Y8 w9 Y* c4 W! r. g
  1754. ; language for internal character representation./ O' [! z8 L& K$ P7 X% Y
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ; k1 z" t! h+ s0 H6 ?
  1756. ; http://php.net/mbstring.language" }' N3 k; ]+ j/ \
  1757. ;mbstring.language = Japanese5 T* s5 G$ X) c4 K" n" G

  1758. ) e, H+ x) R& p. q+ B) W
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ u$ ^, t( _; d
  1760. ; internal/script encoding.
    2 P4 r$ ~! ?9 `3 |, L
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ Y4 t6 c/ ~1 O3 h6 s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 E0 f% W$ t( r& a: l2 z
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( D, e5 |: ~4 E& J
  1764. ;mbstring.internal_encoding =. @* s& c8 ~9 p8 M  w5 t
  1765. - P+ n9 y/ y' x/ o" a
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 g4 i& ^. P6 s- E$ j: v6 F5 E/ p
  1767. ; http input encoding., U1 a* r2 L  {9 m7 c/ \" Q
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.% k( \: w4 _0 q' E: x
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.# @! c* v; G3 z' o8 ?( i
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 n; U" j" a3 t, b
  1771. ; http://php.net/mbstring.http-input0 b" F6 X3 J% g/ n
  1772. ;mbstring.http_input =  M: f' d) H7 C6 e# C* f/ P
  1773. 6 f  G" A" k" j% R6 w& L
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; z2 W# {* p/ B0 l" D7 v! j- z
  1775. ; http output encoding.
    / Q4 w% E7 |/ p5 i
  1776. ; mb_output_handler must be registered as output buffer to function.
    3 E7 D5 |! l3 U# U' ?
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.8 u3 x8 [% K8 S9 Q+ C; k
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output* q( k+ u0 g( o# _2 f
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    8 [+ y( x7 U2 n1 x" h5 P
  1780. ; otherwise output encoding conversion cannot be performed.
    * ]. L& X: ?$ `6 [$ _9 Z2 ]7 y
  1781. ; http://php.net/mbstring.http-output
    2 K! K+ l6 o% a
  1782. ;mbstring.http_output =8 A- D. [3 _. A, }& k- G. M

  1783. & c) p- A% ?/ c/ M
  1784. ; enable automatic encoding translation according to
    : e- N5 Q( C' c5 ~
  1785. ; mbstring.internal_encoding setting. Input chars are
    , P8 p( |5 G: W5 R0 F5 H- _4 g
  1786. ; converted to internal encoding by setting this to On.
    6 Z$ v* e9 n8 B/ Q' u: e& a
  1787. ; Note: Do _not_ use automatic encoding translation for& B1 d7 `2 g* z: @7 Z0 b6 ]; ]' [
  1788. ;       portable libs/applications.
      y. \! I, N. L& o2 u4 i0 A
  1789. ; http://php.net/mbstring.encoding-translation  A% _$ J$ x/ b. e% R2 z3 N: {5 J$ H
  1790. ;mbstring.encoding_translation = Off
    ! Y+ X5 [% q  h0 q: D, Z
  1791. - ~5 V: [! f! `8 p
  1792. ; automatic encoding detection order." r# J) u  u1 p, p0 j$ a
  1793. ; "auto" detect order is changed according to mbstring.language6 X: F* p0 }8 i0 V3 o
  1794. ; http://php.net/mbstring.detect-order
    ' f  R/ I4 B# s# c' T2 m
  1795. ;mbstring.detect_order = auto# J7 W1 |: E) U7 U- r6 y& \2 Y

  1796. 4 A* W0 N$ t0 i+ `; R( {
  1797. ; substitute_character used when character cannot be converted
    0 `2 \  e; L" V; L3 u: |. U
  1798. ; one from another0 \. E$ G6 {. f8 [0 n
  1799. ; http://php.net/mbstring.substitute-character1 H% W, t2 [  M0 L& h
  1800. ;mbstring.substitute_character = none
    # b. v, E3 |/ g2 N' ?: j4 G* d+ R9 h

  1801. 2 ^0 Y( i) {: n4 R7 i, p$ P% o
  1802. ; overload(replace) single byte functions by mbstring functions.1 c# c1 J# n9 {4 u/ Q
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    # W% @& Z& k% L- f
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.) I9 P: z+ V4 m2 C0 ?% M) J2 }/ u3 z# ]
  1805. ; For example, 7 for overload everything.
    ! }& {7 u, `3 C7 E5 g' j
  1806. ; 0: No overload7 [1 W. n! k' r+ n5 P4 u: `( P
  1807. ; 1: Overload mail() function( [! `2 w2 U/ L9 h
  1808. ; 2: Overload str*() functions$ O7 ^0 e: {) X+ x
  1809. ; 4: Overload ereg*() functions9 h0 D0 a1 T3 z2 G
  1810. ; http://php.net/mbstring.func-overload
    : Z8 c2 L% [; x+ r+ R9 r
  1811. ;mbstring.func_overload = 02 g) C2 k) w6 ]; ~

  1812. 4 h! y; ]+ Z/ `% A4 Z9 Q  `
  1813. ; enable strict encoding detection.6 v' e* g+ u# ?) |; E, c
  1814. ; Default: Off
    0 h5 D1 Y2 a) B: `9 o
  1815. ;mbstring.strict_detection = On  E3 F1 n6 \% ?, C' m# z' d- z; s

  1816. $ K6 s0 W  b; v
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()5 c) `, s* g, @$ i% l
  1818. ; is activated.! E9 q, v; r" }7 X) n
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( D" A3 q6 I7 E- G: p4 U% n
  1820. ;mbstring.http_output_conv_mimetype=
    ( A' K0 F+ k4 s

  1821. + {  A: t" i3 v8 F4 L2 G
  1822. [gd]- J* @, T1 Y" Q2 @) t1 ^! n
  1823. ; Tell the jpeg decode to ignore warnings and try to create9 K$ A- Z& r6 S
  1824. ; a gd image. The warning will then be displayed as notices5 I0 O( m5 u* h: T9 O2 |1 z% e
  1825. ; disabled by default
    - I8 Z" m5 j1 D, ~
  1826. ; http://php.net/gd.jpeg-ignore-warning% [- I8 Q5 F4 H
  1827. ;gd.jpeg_ignore_warning = 0/ @4 i6 b, \  {# j( }5 E8 G7 ]

  1828. * S* E# L# S' E
  1829. [exif]
    2 j, @% W0 x# b6 B) e
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 G+ A3 L& z& K) z
  1831. ; With mbstring support this will automatically be converted into the encoding. i( _5 u5 ~- g# h& f/ l
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 @" G8 T- d: ^( b2 m) |
  1833. ; is used. For the decode settings you can distinguish between motorola and
    5 h# A8 K" m7 }( B( D% {, j3 N
  1834. ; intel byte order. A decode setting cannot be empty., f7 {! u: \" \, B
  1835. ; http://php.net/exif.encode-unicode: x& A  ?8 z' r3 T# ?
  1836. ;exif.encode_unicode = ISO-8859-15! o3 g8 M2 S% m* z
  1837. ) M+ d6 W7 {: Q
  1838. ; http://php.net/exif.decode-unicode-motorola0 l& }9 [+ _* |) L
  1839. ;exif.decode_unicode_motorola = UCS-2BE! ~0 U; F6 _: I) ^/ z
  1840. / w# M- H4 k. A( S0 M& t9 r" A* Z
  1841. ; http://php.net/exif.decode-unicode-intel
    2 s' E5 v) l/ _3 ~- t6 M5 F6 R
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    $ x0 Z, m$ F7 K# ^+ s
  1843. ( }! e, U1 ~0 M8 I0 U1 R1 Z
  1844. ; http://php.net/exif.encode-jis
    6 A" Y3 Y" ]" G) k6 Z! G7 {+ F5 x
  1845. ;exif.encode_jis =) N  i8 C- k- _0 q, [5 v# a! s! Q
  1846. ! j* d8 m. B' m# \5 s
  1847. ; http://php.net/exif.decode-jis-motorola
    " N: e4 x+ V! o3 m* t
  1848. ;exif.decode_jis_motorola = JIS
    % E: k" S# Z) l; L. s7 E/ T& K' }
  1849. / X, A# B# h, d  x4 r
  1850. ; http://php.net/exif.decode-jis-intel
    - V4 T* L/ q5 q- d) T, h: ^
  1851. ;exif.decode_jis_intel    = JIS
    ! q2 T" Z% M) b6 F, a
  1852. 4 B$ B" P# d+ v0 U# v/ [
  1853. [Tidy]9 A1 ?2 |$ g) ]" D
  1854. ; The path to a default tidy configuration file to use when using tidy5 L6 W/ I. n  n/ f$ p  R
  1855. ; http://php.net/tidy.default-config& }8 Q* V& p; t5 W# T
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg# C6 ^& Q' T, o2 ]% W. \! N
  1857. * ]7 J$ x- @& {# X: g, c5 d
  1858. ; Should tidy clean and repair output automatically?+ G" j* N3 v7 p1 `
  1859. ; WARNING: Do not use this option if you are generating non-html content
    8 @# m0 o6 y8 `. b
  1860. ; such as dynamic images! E, S3 V1 h5 q$ Y9 y
  1861. ; http://php.net/tidy.clean-output4 `* f" h( Z/ k+ c
  1862. tidy.clean_output = Off
    + r! l- q# E5 D1 [$ k1 X: m
  1863. 8 c0 _' }' y. g; F
  1864. [soap], q1 q- w  p2 R6 p" Q2 D& \
  1865. ; Enables or disables WSDL caching feature.* t! u% e9 f! E
  1866. ; http://php.net/soap.wsdl-cache-enabled; H' @/ e; j3 Q5 I$ W
  1867. soap.wsdl_cache_enabled=1
    $ K9 a" d$ b8 s

  1868. 3 b7 T( l# u) i* o
  1869. ; Sets the directory name where SOAP extension will put cache files.- x: x2 i3 N( t: u  _
  1870. ; http://php.net/soap.wsdl-cache-dir) N" o3 I. G, ^) j7 @, Y
  1871. soap.wsdl_cache_dir="/tmp": y' ?0 w/ l! ~& J
  1872.   F1 j- B' a4 J6 Z* P- f$ w
  1873. ; (time to live) Sets the number of second while cached file will be used- b( o: k+ d, H; S. g
  1874. ; instead of original one." q$ W; _6 g7 C7 o
  1875. ; http://php.net/soap.wsdl-cache-ttl2 O7 U( h3 h0 w8 n4 O( N& f" s
  1876. soap.wsdl_cache_ttl=86400
    ' k& r8 R/ b- p& u/ I+ N
  1877. 0 T6 B# j1 M1 k
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ w& S1 h, N7 g) H% t
  1879. soap.wsdl_cache_limit = 57 k) W& s6 }& J. T3 ]& r: Q8 @  P
  1880. " Y- e$ x+ L$ V( ?" W6 z
  1881. [sysvshm]
    $ W$ U3 a* @& ]+ c# D2 d) e, w/ M
  1882. ; A default size of the shared memory segment8 z$ C4 ~8 c8 h- k+ ]. D8 i
  1883. ;sysvshm.init_mem = 10000
    0 v  e% |  ?$ t4 v

  1884.   U- I+ l& n% _" g9 U
  1885. [ldap]
    2 |) j0 {$ t- t
  1886. ; Sets the maximum number of open links or -1 for unlimited.1 s2 h& f" Z; A. d
  1887. ldap.max_links = -16 ]; `' s* }- Y# w- r
  1888. ' Q  Q+ d: i! `
  1889. [mcrypt]" M4 h, q' v8 E  ?) n3 a5 G  @, `
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ! E! b& T: T8 q# r0 A# W" F

  1891. 3 [, M4 W- L3 h% A
  1892. ; Directory where to load mcrypt algorithms
    , l6 W9 F2 V8 C: w  N- F8 y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* ~7 a. o! p' x- ]+ b* z
  1894. ;mcrypt.algorithms_dir=
    . o6 O( o$ F+ T9 P
  1895. 9 K9 Z2 t% z* Q" N& i9 r& W
  1896. ; Directory where to load mcrypt modes
    " K! N% o0 k! `1 ?7 Y( l- J
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' V2 b, @2 m8 _8 [
  1898. ;mcrypt.modes_dir=4 m9 p/ o$ s7 a

  1899. 2 s4 k& f$ [+ y0 s0 u
  1900. [dba]
    / M  v: d0 Q! s! A0 `$ W8 V; I
  1901. ;dba.default_handler=
    : u0 q+ q3 A9 G6 g$ f) B

  1902. ! r! A8 T6 W/ h2 O+ Y
  1903. [opcache]
    7 H. g' X* ~0 t5 x3 D' a! C
  1904. ; Determines if Zend OPCache is enabled
    " f2 F1 j- F" G5 i, q* g! w
  1905. ;opcache.enable=0* z4 N$ {2 b2 i
  1906. # M$ i4 ~2 h5 }; y
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 Z: p9 M) z/ s
  1908. ;opcache.enable_cli=0
    ( H$ ?% N1 ~. f6 T8 [3 y8 d

  1909. # s& a2 O- u7 g7 p6 e; N& E8 t2 @
  1910. ; The OPcache shared memory storage size.
    - i1 v4 q1 W7 s) I+ C+ @
  1911. ;opcache.memory_consumption=641 z/ N" E7 \+ I; w" l3 n

  1912. , k# D. H- X4 ^, m5 t4 b, o: }
  1913. ; The amount of memory for interned strings in Mbytes.+ d3 A) I7 Q* p  c  R& G4 T" |
  1914. ;opcache.interned_strings_buffer=4: n% ?$ T' v" L( ^  u2 U' v4 z

  1915. $ C- p/ ?! r! q
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.# o7 I: m1 ?; E$ C# q( _8 e; v
  1917. ; Only numbers between 200 and 100000 are allowed.
    7 U6 Q$ t; A& e* i- t! E  V4 y
  1918. ;opcache.max_accelerated_files=2000  y7 u3 F* p3 g5 F# a
  1919. $ g7 x1 K8 Z# [$ D8 ~3 `* `
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    3 x' A8 z: [/ S+ W: P
  1921. ;opcache.max_wasted_percentage=5' m3 l$ t! L/ v# ?+ ?# H) K9 i
  1922. 3 y' Q# s! u! O! E$ o2 \
  1923. ; When this directive is enabled, the OPcache appends the current working
    3 D6 Y) P1 a' c: n% B
  1924. ; directory to the script key, thus eliminating possible collisions between
    " }& h/ @$ f% l) W- s" E7 K
  1925. ; files with the same name (basename). Disabling the directive improves' B* Y( B0 K! h; k" g4 g; W  |
  1926. ; performance, but may break existing applications.
    0 U; N' s% j, `3 P% c7 j* ]
  1927. ;opcache.use_cwd=1
    . {0 N3 l/ |: U* e/ S2 C& ^6 ~4 k0 ~
  1928. % s7 i, d6 G" t" ?' R- x) B
  1929. ; When disabled, you must reset the OPcache manually or restart the# G7 v- L# k7 _
  1930. ; webserver for changes to the filesystem to take effect.
    8 E+ p1 `7 X0 v6 z! W5 ?
  1931. ;opcache.validate_timestamps=1
    2 Q8 n" c6 m- F" Z3 [$ Y$ ^* m
  1932. 5 A% K! @& ?3 B: N* T2 N( g6 q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    + ?, }1 Z" X+ R: X2 I
  1934. ; memory storage allocation. ("1" means validate once per second, but only
      i8 v2 a+ T6 K' v1 A$ }; V) c
  1935. ; once per request. "0" means always validate)* J# i+ b( A3 m
  1936. ;opcache.revalidate_freq=2- h9 \( _1 x6 k# i9 q

  1937. 0 |; V, O+ T* y* w! X
  1938. ; Enables or disables file search in include_path optimization1 I3 }: c# V9 d" S% Y- w3 ^
  1939. ;opcache.revalidate_path=0
    ( W; D( h/ a& a4 P' T- z

  1940. / y* }2 x2 C4 r* y( |
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the, w, J5 C2 K  w, `4 v/ t; r
  1942. ; size of the optimized code.& E: ]6 r0 l0 ~; b" R3 i
  1943. ;opcache.save_comments=1
    " G3 I$ v) E9 K5 k

  1944. 8 n7 v9 X. v) s' _0 }- s( J2 p6 p% _
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"" o- L: h" R& v
  1946. ; may be always stored (save_comments=1), but not loaded by applications( U5 n, v; O; _
  1947. ; that don't need them anyway.
    . \- m9 I1 r* w( M- Y# o  D
  1948. ;opcache.load_comments=1
    1 B, c) H$ [3 {  @' ~% s9 F. ^6 Z

  1949. " I8 {7 {% g7 I& O. D: @: v
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # }4 X- N- z- U/ r8 s" u
  1951. ;opcache.fast_shutdown=0+ w8 \- U8 @# e! R

  1952. + k* @0 e5 x/ k2 d
  1953. ; Allow file existence override (file_exists, etc.) performance feature.& \- i  E3 U0 A+ u" z
  1954. ;opcache.enable_file_override=05 S- Z; Z0 w/ p$ q" D
  1955. : G) v: |+ S; F0 n3 w% D. t( b
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - U- j: s  z( Y
  1957. ; passes  j( x: L6 x: C: T) r% Y
  1958. ;opcache.optimization_level=0xffffffff
    & q8 E5 M# R  v( L9 c
  1959. ; g8 r3 r/ s! U
  1960. ;opcache.inherited_hack=1
    2 @8 @  U; b5 u
  1961. ;opcache.dups_fix=0, s  W$ T! R7 D  r7 T; {. i
  1962. 1 z3 E# T' _' E: W
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    2 i& m, `( S0 o7 [
  1964. ; Each OPcache blacklist file is a text file that holds the names of files8 z: B+ K: \$ y- N8 f* o
  1965. ; that should not be accelerated. The file format is to add each filename
    1 |9 s4 O# U/ G7 C6 P: G1 E3 R
  1966. ; to a new line. The filename may be a full path or just a file prefix3 C& `" l, x5 V- F& ]8 X1 ~( n6 q
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www. U, p6 @4 p3 N3 Q) i
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 t# P' l$ }) }' \' M2 w" m
  1969. ;opcache.blacklist_filename=
    ) ~( K2 {+ m3 x$ E1 k
  1970. 0 M9 ?6 [( `* q- A3 O$ M# z
  1971. ; Allows exclusion of large files from being cached. By default all files
    6 k- y9 _' Q) Y/ h
  1972. ; are cached.
    2 A; t" w/ L  ~5 x2 y- c
  1973. ;opcache.max_file_size=0
      {5 o: @4 G" H9 s

  1974. 2 N! C8 @6 j7 k* w! y- u
  1975. ; Check the cache checksum each N requests.$ F" `. m' `0 R5 \8 y
  1976. ; The default value of "0" means that the checks are disabled.
    % @5 ?# Q8 a, m( s; ~# k7 \' Z5 |2 P
  1977. ;opcache.consistency_checks=0
    2 Y( ]- L& q9 C1 Q$ x3 K5 S. ]1 M

  1978. 3 T3 ?2 ]1 d! F6 \: i3 y6 X  R/ W, [
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; x& g; k. U  Q, F0 T+ K( x7 w
  1980. ; is not being accessed." d: Y; Q5 p0 E% t5 c1 W: p
  1981. ;opcache.force_restart_timeout=180
    ) p# B4 v( a/ X) N( P$ [

  1982. ; o) }& @' ~! s+ A3 S: ]! }* f8 q
  1983. ; OPcache error_log file name. Empty string assumes "stderr".8 M( e# E7 \0 Y: E4 T6 x/ p% }
  1984. ;opcache.error_log=; M4 F0 M1 o1 l) ?' o

  1985. " s5 k5 ^% Z1 P/ ^; j
  1986. ; All OPcache errors go to the Web server log.
    ! {7 `5 V1 m2 k. o% I- T8 X
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.) m9 l  f* D/ z* f6 [
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    3 i3 M/ D9 J7 H# X! A
  1989. ; debug messages (level 4).: m) m& P0 x+ w/ q/ z! W7 B: e
  1990. ;opcache.log_verbosity_level=1
    6 Y# l- N+ ]8 @+ c" P$ ?8 ?

  1991. 6 Z8 o/ P. _: N7 H. I5 o# ~  A
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    4 S6 i7 \! }' ]5 Z/ y
  1993. ;opcache.preferred_memory_model=
    6 x; f# u  {# y/ L2 \' Z: G1 u* `% v1 p

  1994. 6 p1 ?. F5 w  K
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ) f& X# f% Y7 l7 n/ e
  1996. ; Useful for internal debugging only.
    * w0 |: M8 O9 e9 _' B. Y
  1997. ;opcache.protect_memory=03 o2 C+ c, [6 P0 d# M, j
  1998. - X  A0 E1 R+ h8 t& x% T
  1999. ; Validate cached file permissions.
    * |* ^& ~! L$ V  z; _
  2000. ; opcache.validate_permission=0) V; ?6 N0 b% {4 x/ `6 _+ s
  2001. * Q- Z3 G/ N/ u: ]7 G; i
  2002. ; Prevent name collisions in chroot'ed environment.
    1 Z; }3 X6 r# B6 P5 }
  2003. ; opcache.validate_root=0  Z# J) q2 @- U" w8 C
  2004. + v$ O% B, ]( h: u2 q$ T  J+ n
  2005. [curl]" E- q9 J7 [, r; V# g) D5 M/ a$ ~/ ~
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # P$ y8 h) O( c
  2007. ; absolute path.
    , y3 S7 r/ s; w+ b7 R
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- G7 C% o  S7 I" h9 X" f

  2009. - ^* x; `9 ^. e" |
  2010. [openssl]  |1 ?- h; h" C# h
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem9 F: r( m' |) s7 a
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should! N7 B% C8 e7 `. z
  2013. ; not specify a value for this directive as PHP will attempt to use the
    - k+ J  z+ b/ D) a! i
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ; H0 ?1 A7 E5 T; \2 ]  [7 Y
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context1 X5 g+ e- I+ H& K( `5 y5 j1 @
  2016. ; option.1 S" R8 k- b8 T8 x) `- A
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt& W7 f. o0 d6 Z, K  V! n; T' I

  2018. * J# d* P. ?6 E6 w4 V9 P2 B' k- M) r
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' R4 G6 R: {3 I) g* a" F% U- w
  2020. ; directory pointed to by openssl.capath is searched for a suitable; U/ m! o$ _9 o6 c0 w1 x
  2021. ; certificate. This value must be a correctly hashed certificate directory./ B5 V2 n7 }4 S' p& j
  2022. ; Most users should not specify a value for this directive as PHP will
    ; V3 ?" O8 W  G4 n
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,/ i, w3 ^( H9 D1 `' \
  2024. ; this value may still be overridden on a per-stream basis via the "capath"% A7 n5 @7 x. l, t- i4 Y6 _) i
  2025. ; SSL stream context option.
    7 A1 C3 e; J9 ?7 y  O
  2026. ;openssl.capath=) U9 h$ }/ X, b8 {8 h, S$ B
  2027. 3 B: L6 h: Q2 G* k' N, a
  2028. ; Local Variables:
    ' `; K; f& d1 u' j; }6 \
  2029. ; tab-width: 4
    4 j5 s3 k, |5 J1 u
  2030. ; End:. \8 _/ ]9 f0 F2 T+ k
  2031. 9 G/ y: D+ F+ d! N% S
  2032. ;eaccelerator3 K6 O1 Q: N5 g! U7 c: c3 Y, e

  2033. 5 O. o( y! [. L9 V2 V
  2034. ;ionCube$ p) _) y, z+ t7 Q6 Q  H
  2035. 7 L% m* j! w+ ^5 ], b
  2036. ;opcache# D0 ^2 e5 C# Z, s

  2037. * h) U7 j; ]/ c6 N$ J7 v; ^
  2038. [Zend ZendGuard Loader]6 i0 D& b; K) b  ^- q
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so2 b' ?% h/ r5 V  s2 l  x
  2040. zend_loader.enable=1
    ; W1 M6 u8 t, l# E1 h5 e6 W
  2041. zend_loader.disable_licensing=0- L7 R+ h  Z- _
  2042. zend_loader.obfuscation_level_support=3) v# N4 h/ _5 x
  2043. zend_loader.license_path=
    - G8 P' z5 p8 O

  2044. 7 H2 t( _2 q' H# |' f/ i
  2045. ;xcache" v" p  m  J; ^2 `  U
  2046.   [. s) b. x. O. d: `
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692% f9 K0 L7 t% V5 C- s

) m4 ^, g. M7 [/ D; O; M# G
( n4 p- d, y# [1 [4 |9 tDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
1 a' L/ q- m: _7 z8 Y% W. ?8 k0 r* Z* a# V* Y5 ^; h, l: D& p" n: s
Discuz!程序版本选择:
% C' Z4 A. m% B! J# T! k1 [, w/ Y站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
4 U; a) d4 N. \1 _不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
- Q. D9 N5 S3 @, h$ dDiscuz!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。- Z& _/ ~  K7 H
0 a9 L! |5 ^9 G, t" d4 U
Discuz!插件模板版本选择:
! k) ~0 E, Y7 B2 y8 k5 j/ [很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
+ U" b, \2 P. o, O4 v针对这个问题做个统一的普及:) D2 ]0 V2 c4 p8 ^. ^) v) d
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。; Y8 h$ g# L* Z4 S; v# G4 |

, g7 e  @  N: ]. E/ z9 \$ n所以2 _, l5 ]: p6 i6 k. @
适合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的二级域名。% }' D. `; v  G' I
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
" {' K# W6 m" Q) @$ a* z0 q注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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