分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
8 c* i% p4 E3 r, _1 ~& x, K8 C" r; l' x; n9 O3 V
  1. [PHP]8 S& b, S9 q& ]0 U% X

  2. + w  G2 U+ S. z/ _8 Q& F$ K3 l: m
  3. ;;;;;;;;;;;;;;;;;;;
    5 ^1 H9 w: g* |( e3 k& i! i
  4. ; About php.ini   ;
    3 V9 o4 [4 u* Z
  5. ;;;;;;;;;;;;;;;;;;;% e, ^7 [8 y- i' j9 y7 S
  6. ; PHP's initialization file, generally called php.ini, is responsible for: V: W* ~$ Q! D6 K# k" z
  7. ; configuring many of the aspects of PHP's behavior.
    3 Q0 ^7 Q% Y7 P7 C5 n8 _
  8. 5 o+ @% _: }# p, T7 E
  9. ; PHP attempts to find and load this configuration from a number of locations.2 ?$ ~" {: `4 e# A) o1 s+ L
  10. ; The following is a summary of its search order:
    2 v0 r0 W: J2 O" s( o$ z6 |; C6 E
  11. ; 1. SAPI module specific location.( P3 K; I7 U0 D  \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! V$ |5 [9 r, j
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& H, _) {+ P: k" R' Y; ^' ~
  14. ; 4. Current working directory (except CLI)
    ! @2 x# {7 ]+ G( y; t
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP. s1 L2 ]  p* s1 n; G- e1 b
  16. ; (otherwise in Windows)
    0 U+ ~) L& S! T$ d
  17. ; 6. The directory from the --with-config-file-path compile time option, or the8 W, a+ g# ?* t- f2 b
  18. ; Windows directory (C:\windows or C:\winnt)1 w7 }: @' I' M
  19. ; See the PHP docs for more specific information.
    ! D4 z$ H3 \' s4 i/ _
  20. ; http://php.net/configuration.file
    : I8 O4 r: t0 G1 B! H) X

  21. , T; Q& N* P; m3 G! L3 @7 V, Z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' w9 d0 Z! q+ x/ x/ W" P2 }9 B
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - L/ Y) C  T9 Y# C, m/ w! x
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    0 s" J4 R* C' u2 o) N3 c% {; ?/ G. F
  25. ; they might mean something in the future.
    1 I! W8 ]5 o# n+ s4 t2 i

  26. ( k: E& K4 ^0 E4 h$ i
  27. ; Directives following the section heading [PATH=/www/mysite] only/ z# Z' u4 q4 w) o* T% F5 M
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ; @5 }" X# _1 P
  29. ; following the section heading [HOST=www.example.com] only apply to: Y* ]* b* x$ I
  30. ; PHP files served from www.example.com.  Directives set in these
    # K3 Y7 ^& `* J/ P8 \( Y
  31. ; special sections cannot be overridden by user-defined INI files or
    3 t' H8 n+ x& u
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ( Q8 F# v/ w9 g$ d0 S
  33. ; CGI/FastCGI.
    , Y6 a, K  x3 t4 D
  34. ; http://php.net/ini.sections; R7 m' o, X1 P- P- K: Z  W' Z/ x; w

  35.   X, B) d& S3 K, Z; W0 T- O- \4 E( }1 n
  36. ; Directives are specified using the following syntax:3 L1 T% v+ v' P5 l4 U
  37. ; directive = value
    ) k  @& {9 u. {$ r2 H; p; H) Q1 v
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 Y( \% n& C# J7 a' h: d
  39. ; Directives are variables used to configure PHP or PHP extensions." T9 K( G1 b1 u; `
  40. ; There is no name validation.  If PHP can't find an expected
    6 l/ h" ?' K% @; C( [/ Z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ) {8 t0 w* J. A2 D$ u0 |
  42. # \( ~8 r6 Y0 Y% c, h" v2 a. l* @
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one$ [0 H2 T7 r1 g. A
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 L: f, U! `& p3 j( \2 M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 a0 j% D% u  T; g- f7 d( y1 {; j1 O
  46. ; previously set variable or directive (e.g. ${foo})8 M; T+ d1 `: A  n
  47. 9 z% E, ?" S0 y0 B! Z2 ?% _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:7 U! b4 T  n! s( W8 f: g
  49. ; |  bitwise OR2 \+ N* e$ Q9 N3 F0 E, O& \( i0 ?; O
  50. ; ^  bitwise XOR' z; Q, g$ B# ~3 l5 v9 f1 j- v8 w
  51. ; &  bitwise AND
    5 b8 L! d3 z  F* b: J$ b2 M/ m
  52. ; ~  bitwise NOT
      e$ P' ^8 a. }# M  D, \
  53. ; !  boolean NOT
    % Q2 N: e: o" |! j/ g
  54. 0 v$ b- Y' v* p7 N% Y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes., A6 D1 w, B. U' U. j( X1 }  H
  56. ; They can be turned off using the values 0, Off, False or No.8 L& h5 `8 d+ x) o) C4 g% `

  57. ; W, T* l* l- b! o
  58. ; An empty string can be denoted by simply not writing anything after the equal4 s( |+ S+ g: e3 j
  59. ; sign, or by using the None keyword:- f  S! Q9 s, d' a& \8 ^5 Z4 m

  60. ; R% _% b6 {6 ?* @/ _) L
  61. ;  foo =         ; sets foo to an empty string$ t% `8 h# F: `, G( v* O' P
  62. ;  foo = None    ; sets foo to an empty string
      R0 `$ G% [% c
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ' H. m# l" z; E$ H2 ^) C! y

  64. * A+ n' z) t, Q% a% Y9 ~/ _
  65. ; If you use constants in your value, and these constants belong to a* _4 g9 Q8 N3 B* K2 f
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & s. F4 D, ?& ]8 C/ a5 @% s
  67. ; you may only use these constants *after* the line that loads the extension.
    , _( w! o+ M  F$ N/ T2 y$ u' E% N( n
  68. 7 T! ^  r( T0 A% s* S3 A/ T
  69. ;;;;;;;;;;;;;;;;;;;
    5 P* f& p+ f2 a" e' b% Y1 N3 [
  70. ; About this file ;
    8 t4 k8 q( J) O) K6 G# K
  71. ;;;;;;;;;;;;;;;;;;;
    9 O/ C5 ?  ~; q! @! V
  72. ; PHP comes packaged with two INI files. One that is recommended to be used& [% z2 _3 o+ ^% C
  73. ; in production environments and one that is recommended to be used in
    0 S4 _9 Q& ?) C1 U4 ]( F
  74. ; development environments.
    ; k# |- E1 ?& j7 F

  75. 6 B- w" j8 m/ J
  76. ; php.ini-production contains settings which hold security, performance and  L0 U1 F5 B# J" a) z
  77. ; best practices at its core. But please be aware, these settings may break. ?8 ^8 V' M' d2 |1 d; d) M7 Y/ b% E
  78. ; compatibility with older or less security conscience applications. We
    ) J7 j; j( l# |) [0 Y4 z- ^
  79. ; recommending using the production ini in production and testing environments.6 z( z; @( q: L: }, @) |  O9 g
  80. 3 U6 b& P7 X, |/ h7 O+ E
  81. ; php.ini-development is very similar to its production variant, except it is7 Z! `! o$ z2 V( F" I& Y
  82. ; much more verbose when it comes to errors. We recommend using the
    + z. _9 ~1 B- J& r% T! j
  83. ; development version only in development environments, as errors shown to
    0 X$ J, L: B: \% r4 q. L2 v
  84. ; application users can inadvertently leak otherwise secure information.
    7 u* T4 z4 I4 T+ T8 s
  85. 0 X( A: e6 |" u* z1 F
  86. ; This is php.ini-production INI file.8 Z& t% F6 l  H* L) D

  87. $ t) H, B5 G: p$ ~! @3 `- h  Q
  88. ;;;;;;;;;;;;;;;;;;;1 a& Z; c2 }$ h0 `: p' B! F
  89. ; Quick Reference ;! W, D# d1 b! f' H
  90. ;;;;;;;;;;;;;;;;;;;
    - |& D! e6 H! l( ~' f
  91. ; The following are all the settings which are different in either the production; ~; I2 T  o4 N" O- Q) a% Z* W$ p5 B
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      J5 B) n- H+ I2 x7 l
  93. ; Please see the actual settings later in the document for more details as to why
    & m+ |/ W6 p" }" G/ U+ O/ L0 N5 d
  94. ; we recommend these changes in PHP's behavior.! @5 _/ I: ~* W: F# j

  95. 4 k% a  v2 Q/ A$ n' b0 ]( L) ~
  96. ; display_errors
    , ?& ~4 Q, p6 {8 ^
  97. ;   Default Value: On0 S. l" q1 \; M. b+ s5 r# c/ V
  98. ;   Development Value: On8 ]5 w  A: o6 w, r/ k# ^/ T
  99. ;   Production Value: Off
    ' ]: S1 ^+ U+ r7 z1 K
  100. " D$ H9 `) u( x5 R
  101. ; display_startup_errors- H( V7 S( Q+ a
  102. ;   Default Value: Off8 I4 \" n1 X* C2 v7 ^( Q
  103. ;   Development Value: On" d: u2 M# w; Q/ z7 ^) ^+ l! I
  104. ;   Production Value: Off
    ' B) @3 E; B( y4 I* b
  105. 8 w9 c7 m" u/ D% y0 L9 H
  106. ; error_reporting4 G6 y/ W8 S' f0 O- {( U+ i/ B
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 f6 U6 Y4 w: g, C/ l3 k
  108. ;   Development Value: E_ALL
    5 r9 ?' X" D( v
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT- ~! X( C9 Z, ]+ b1 q

  110. ) y+ O# x- W; J( q" H9 R  M
  111. ; html_errors
    # x4 s: y; c) m$ A% l, M
  112. ;   Default Value: On
    # A- K* @7 d3 z$ l0 ?: Y/ ^" N
  113. ;   Development Value: On
    5 _1 J4 {, h0 E- i" k  C1 {: ]
  114. ;   Production value: On
    ( h; m8 E0 ^! R/ T# Y2 p0 W
  115. 8 E  H$ k0 \8 L) U( ~7 p8 R
  116. ; log_errors, s3 \# S6 {8 `0 N# K
  117. ;   Default Value: Off( M. u1 I7 i8 {7 O! Z9 r8 `
  118. ;   Development Value: On+ X3 t# K( g! C8 o! r
  119. ;   Production Value: On
    $ R% x/ o* R, [9 o
  120. / C; v2 u5 x4 }
  121. ; max_input_time5 W2 O  a) \( t! a- i
  122. ;   Default Value: -1 (Unlimited)
    8 j: b7 v* m  H# l- s6 m
  123. ;   Development Value: 60 (60 seconds)4 R9 D3 D3 [7 H
  124. ;   Production Value: 60 (60 seconds)
    & }' _* G* p" n, [; o& x' s; N
  125. 4 _7 P( A3 _1 P  \! i- q4 X; {
  126. ; output_buffering
    7 t, G( j' v/ ?5 }6 r
  127. ;   Default Value: Off6 C; U, V) c* Y4 D
  128. ;   Development Value: 4096* ~! A* @( ?  Y8 U& j  r
  129. ;   Production Value: 40965 a1 b# T9 q& D8 V3 ]

  130. 0 b% C, c* h5 E, Q" t
  131. ; register_argc_argv! d# J+ b( z. Y
  132. ;   Default Value: On
    : T2 M8 Z3 y7 H0 L. ?
  133. ;   Development Value: Off9 z) {& ^7 x, R- |
  134. ;   Production Value: Off6 O3 u. U% y5 W8 j- `) W! X
  135. : T, X" n) v9 x7 U
  136. ; request_order
    1 ^0 V  q9 u7 w8 ^- q
  137. ;   Default Value: None. ]1 u! |# |, g) b# s
  138. ;   Development Value: "GP"$ P5 ^7 k: |+ K7 G; y
  139. ;   Production Value: "GP"
    6 L# j% Y+ t2 @  @/ T! Q1 c, {6 d! b
  140. / e" I8 V* b2 K- R* d& g. n
  141. ; session.gc_divisor
    1 B; y7 z0 r( ^
  142. ;   Default Value: 100; v+ h8 l6 k- D; A. C# Y) c6 z
  143. ;   Development Value: 1000
    # p5 Z% V: }* n, u
  144. ;   Production Value: 1000
    / T7 w6 T3 j; P+ _8 `0 g2 `1 W

  145. 0 o* O! t; }) Q# K' d" T( \
  146. ; session.hash_bits_per_character8 t& U  D+ T& ?- [
  147. ;   Default Value: 4) X, G4 b2 T5 H8 G$ n5 f
  148. ;   Development Value: 5
    ; G+ m( H+ U, N2 N  P, z# O
  149. ;   Production Value: 5
    / m. X: }1 A* K1 Q) e
  150. & W: I# d8 |3 C5 p& a$ v. C4 V
  151. ; short_open_tag1 s! i, W  `9 C
  152. ;   Default Value: On
    9 m6 a- F' f9 m, W3 i8 {
  153. ;   Development Value: Off
    & b' V5 ]2 ?1 `! K; w0 e' M
  154. ;   Production Value: Off
    , W" ?, u+ K/ m! l
  155. , i  o5 O. Y9 n1 b7 R8 J: q8 [$ H
  156. ; track_errors7 K1 g; g) L* H
  157. ;   Default Value: Off
    8 n% i0 W4 Y8 `% z9 |
  158. ;   Development Value: On% T1 D1 o9 r) W1 W+ [/ V
  159. ;   Production Value: Off
    # I8 ~1 {; o0 z8 j8 H

  160. 0 {$ V- F2 \  N' J/ b
  161. ; url_rewriter.tags9 g/ V6 e: E6 m0 k, \6 q# w  D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="- \8 Y: ?1 ~8 i8 ]- h- Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  Y  ~6 |: k% D4 R/ f0 o3 k
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 z( h1 u* x. M3 O

  165. 2 E/ v$ m9 B% e7 e4 a
  166. ; variables_order  `1 d* R4 K0 M0 q) s- b6 p4 s
  167. ;   Default Value: "EGPCS": l& |/ q% v& F% j
  168. ;   Development Value: "GPCS"
    ( ~1 R$ a; M  B# P$ g
  169. ;   Production Value: "GPCS"1 G4 }% \5 o) m4 Q5 `0 I
  170. 3 X/ Q. @# Z! [
  171. ;;;;;;;;;;;;;;;;;;;;
    ; m- z6 G1 o6 a6 w
  172. ; php.ini Options  ;
    ( U, t( ~: ^; [
  173. ;;;;;;;;;;;;;;;;;;;;
    - q2 K& J3 c7 U. w1 y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# I+ d+ S& N+ r& s) `: y4 S
  175. ;user_ini.filename = ".user.ini"$ @% ]8 o9 f+ C, o$ N

  176. - N! ^, F! ?" r* e* x
  177. ; To disable this feature set this option to empty value! \; ]# L" f* N1 e+ ~+ H
  178. ;user_ini.filename =
    , _1 z8 g" {1 }- A, l
  179. * I- z  t9 x3 d0 ~' v& n# w
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ' s  [5 c' m4 w8 @2 ?
  181. ;user_ini.cache_ttl = 300
    ) ?" u; l" B; b  T7 B% g8 Y4 M
  182. ! W! ?' w* B: z! W+ l
  183. ;;;;;;;;;;;;;;;;;;;;" ?* V# R, n+ ]/ q) {' {
  184. ; Language Options ;9 V3 G$ m$ R  O
  185. ;;;;;;;;;;;;;;;;;;;;# U- F! G' E+ Y& E7 ~# \0 k0 D

  186. / l0 s3 Z2 s- D5 a7 T) f6 O. @
  187. ; Enable the PHP scripting language engine under Apache.
    8 f9 D" @0 P' O& O3 X% }
  188. ; http://php.net/engine4 T- E3 d- q& ~8 A9 L4 p
  189. engine = On
    ! s2 Y. h1 e- b2 R5 g! i" X

  190. ' q2 K& p7 ]- c( ~' Z
  191. ; This directive determines whether or not PHP will recognize code between. p- c2 `% C: K6 Y* M0 y6 U3 l
  192. ; <? and ?> tags as PHP source which should be processed as such. It is) v( _: t* w' o8 \2 Z  j5 U
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ' c) ?" s& s2 q
  194. ; should be disabled, as enabling it may result in issues when generating XML! p) O  Z. n5 w, t+ f1 b3 ]
  195. ; documents, however this remains supported for backward compatibility reasons.
    * A: N' F3 O( g$ F2 i3 O) [
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    % R5 e( z6 R. X4 X* G
  197. ; used regardless of this directive.
    " |4 d6 R( B4 H8 {% f% g' u
  198. ; Default Value: On
    % z. }9 j* a: j, I/ G
  199. ; Development Value: Off& ]3 u" K7 Z* C: ]/ q9 Q6 G1 D; t
  200. ; Production Value: Off
    ! i1 T* N4 M+ b+ k9 b
  201. ; http://php.net/short-open-tag6 D9 r6 a; \4 b; b* F- ^7 ?) @
  202. short_open_tag = On
    - q5 `7 E6 m8 ~# `8 B$ M4 W

  203. : u8 q" b5 t2 f* f) O  g- \
  204. ; The number of significant digits displayed in floating point numbers.
    , n& m+ |; k: I9 f
  205. ; http://php.net/precision
    ! R4 t; _' Z; s
  206. precision = 14; C. _0 S- i9 s& W# U4 O' N; b
  207. ! G  h( j, r$ G) E6 `
  208. ; Output buffering is a mechanism for controlling how much output data! V" |7 D/ U& U9 }. T$ W9 }' f
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that$ @% S/ X5 X$ r
  210. ; data to the client. If your application's output exceeds this setting, PHP
    3 T4 {$ ^" b# u6 r& L( O+ b
  211. ; will send that data in chunks of roughly the size you specify.6 i2 R7 V9 I& A) z
  212. ; Turning on this setting and managing its maximum buffer size can yield some2 ^! m0 |9 b$ Y* P1 f0 m
  213. ; interesting side-effects depending on your application and web server.$ n( n" U: j, _/ b
  214. ; You may be able to send headers and cookies after you've already sent output9 u/ l. i) A9 n5 n. W5 T
  215. ; through print or echo. You also may see performance benefits if your server is' |! b. {( [+ W* Q
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ( c( U* y5 V4 p' k6 {
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ D9 X, l8 O! t& p
  218. ; reasons.
    0 S8 N! f1 }1 t2 E0 x: }' F
  219. ; Note: Output buffering can also be controlled via Output Buffering Control! G% v. W* o* m! x6 E: F
  220. ;   functions.5 @& w$ _. f; r! e7 {$ V# C# T
  221. ; Possible Values:
    * K' A  s3 [; @. n
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)  h, E9 \6 i6 G
  223. ;   Off = Disabled  X- u; s" K5 `% S& _$ n3 }
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.  u* l. `! X4 x+ Y$ b4 n
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
      O- E7 o6 |% y5 [
  226. ; Default Value: Off& f' [7 G( H/ ?0 O
  227. ; Development Value: 4096; ]8 D- F. n. o9 E
  228. ; Production Value: 4096
    & p, G: @) e* i6 D) R4 Q; E
  229. ; http://php.net/output-buffering; L' z% |$ q. v, [# U
  230. output_buffering = 4096" [$ w! o, v! `: ]* M4 w/ v7 ^
  231. 3 N) ]: a( }8 j/ x4 }
  232. ; You can redirect all of the output of your scripts to a function.  For
    8 x6 P" S" z; H
  233. ; example, if you set output_handler to "mb_output_handler", character& Z0 N3 k2 q' H
  234. ; encoding will be transparently converted to the specified encoding.
    ) x+ p2 w4 i, P* q" H: D; m
  235. ; Setting any output handler automatically turns on output buffering.
    7 L/ r6 D6 b% e7 v' a/ [- f
  236. ; Note: People who wrote portable scripts should not depend on this ini
    7 a6 X- K4 n/ R* x4 s3 Z
  237. ;   directive. Instead, explicitly set the output handler using ob_start().7 Q  }. G# t- K, T
  238. ;   Using this ini directive may cause problems unless you know what script
    ) x& `. u& Q# x
  239. ;   is doing.
    0 \( L) O, B/ s' ]" O; I3 b7 m: d
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"! K% H, d, s4 }- V- `" \0 d
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    % W5 Z/ }- B7 }+ k1 u* D# d
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    : X0 ^% P$ w: d; T8 f4 z
  243. ;   Instead you must use zlib.output_handler.
    : J0 \( S) L! c2 d# o
  244. ; http://php.net/output-handler8 C1 z# Z) e, e, m
  245. ;output_handler =- s" {% B( Y4 N4 ^
  246. : ~5 h3 m3 T& Q. f4 a
  247. ; Transparent output compression using the zlib library8 c; U, O; ~. z3 {( ]
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size% G- P- [: f1 w4 l- t/ e0 {1 y1 n
  249. ; to be used for compression (default is 4KB)1 O1 C% |9 y' o+ p
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    $ D; ?/ ?) [$ J8 n
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    6 Y* o. a: y/ r
  252. ;   compression. If you prefer a larger chunk size for better' }( U+ |# k1 ~+ ]; ]: m' r9 X
  253. ;   performance, enable output_buffering in addition.
    $ j5 m; [1 C' T5 G; P4 i8 b
  254. ; Note: You need to use zlib.output_handler instead of the standard1 b; o6 G* h6 P& L4 W( B2 ]
  255. ;   output_handler, or otherwise the output will be corrupted.- u0 ?, K& E: O  S
  256. ; http://php.net/zlib.output-compression9 A& c& U% d) k( h! U1 c& L
  257. zlib.output_compression = Off
    ; H7 x4 [3 j- x; }. z" g! _
  258. ( G) ]3 U2 d& |
  259. ; http://php.net/zlib.output-compression-level
    ' U! b1 b" l& b. ]
  260. ;zlib.output_compression_level = -1
    ) g- z+ \/ D* q) S8 N) I
  261. ; s  G  B- N2 E. I, g( v8 F+ e. U
  262. ; You cannot specify additional output handlers if zlib.output_compression
    & O4 E9 j( M8 v# y
  263. ; is activated here. This setting does the same as output_handler but in  E4 {! [9 I1 @* b1 S
  264. ; a different order.: X* T3 T) y+ [/ ]
  265. ; http://php.net/zlib.output-handler' E% e& z; D0 E8 `9 f
  266. ;zlib.output_handler =
    6 e* @, E5 R5 t2 _5 ~; ^. {
  267. & K  n* x/ v' ~, c9 l& c
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    / k' Z; W  E5 W8 V% T6 {% I
  269. ; automatically after every output block.  This is equivalent to calling the; a2 v! C6 G* b6 u1 F; D7 l7 v
  270. ; PHP function flush() after each and every call to print() or echo() and each5 t/ I$ m5 K' {# o2 R
  271. ; and every HTML block.  Turning this option on has serious performance
    2 M# t4 ^$ {: D" @; y' U: m
  272. ; implications and is generally recommended for debugging purposes only.2 p- A8 L* ~, o4 a! O% c
  273. ; http://php.net/implicit-flush
    . s! E7 U% U+ C/ g( @
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    : Z' o# u# n, x
  275. implicit_flush = Off) @8 M3 u. Z" ~2 b9 U

  276. 0 b2 L7 m8 C7 x: O9 Y! x, x
  277. ; The unserialize callback function will be called (with the undefined class'
    8 e# Z" j; L8 g
  278. ; name as parameter), if the unserializer finds an undefined class
    ( y! p: a/ e" R  t2 c
  279. ; which should be instantiated. A warning appears if the specified function is
    3 ~, N* U+ B0 y1 x$ u: f  K
  280. ; not defined, or if the function doesn't include/implement the missing class.) G1 k! Z# Y* h) u" j" a4 e
  281. ; So only set this entry, if you really want to implement such a3 h- @3 w* J! o! C
  282. ; callback-function.  o& D( T( J! F1 \0 C
  283. unserialize_callback_func =
    # S8 y6 F, E# _1 N

  284. ( A/ y" [& D. ?. s+ _0 e; Z; i
  285. ; When floats & doubles are serialized store serialize_precision significant
    , \1 H* r. k: Q
  286. ; digits after the floating point. The default value ensures that when floats
    ) K0 p4 M" c& _+ m  o  P
  287. ; are decoded with unserialize, the data will remain the same.  U+ O( l% _# `4 l9 Z4 y& W  o
  288. serialize_precision = 17. }1 L& \; b7 O0 a4 t

  289. 0 g. @( T4 `8 M" j# C
  290. ; open_basedir, if set, limits all file operations to the defined directory
    & c3 l6 x! M, L/ A6 j1 S
  291. ; and below.  This directive makes most sense if used in a per-directory" K, B; O. ^5 U8 W* _8 ?: x
  292. ; or per-virtualhost web server configuration file.
    ! V9 R3 Z" i' e
  293. ; http://php.net/open-basedir# l  A. ?5 x3 w' i  o
  294. ;open_basedir =
    $ H. X- ?' n- ~  F; Q8 F
  295.   I0 k* O# e8 i1 h. B' F2 ^* {) ^
  296. ; This directive allows you to disable certain functions for security reasons.( f7 o  A& _1 U& W- R
  297. ; It receives a comma-delimited list of function names.
    & V0 T/ `2 t# M: b. I& S4 G
  298. ; http://php.net/disable-functions; j- u! Y8 s, y+ E& ]2 }8 r
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru- X& g" S2 h0 `$ C% F9 m1 p

  300. 7 c6 e9 f2 k$ j" h
  301. ; This directive allows you to disable certain classes for security reasons.2 ~7 V+ S' T' o5 ^* F3 N
  302. ; It receives a comma-delimited list of class names.* ?) x  U, E. R  d% g7 O* o
  303. ; http://php.net/disable-classes
    7 F1 \$ z* h6 A7 Q
  304. disable_classes =
    - ~$ l7 t9 w7 H( y4 A) ~
  305. 8 l: |4 g& w/ J' L% Z8 Q
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in+ x) v" |4 O3 O& v9 L& M8 \
  307. ; <span style="color: ???????"> would work.  M+ O, z/ s1 D. d5 f) u
  308. ; http://php.net/syntax-highlighting
    5 `2 q$ K1 X# A& A& i! _. m3 }" p
  309. ;highlight.string  = #DD0000
    1 p/ y# }  c: o/ r& ?4 m/ K- Y
  310. ;highlight.comment = #FF9900, \- p1 r" f# h5 a7 L
  311. ;highlight.keyword = #007700
      Q8 x' [# ?1 I
  312. ;highlight.default = #0000BB
    ; t( q! @" ^; a6 d  |
  313. ;highlight.html    = #000000
    9 O0 u! L; z' \; h
  314. + Q) p% u8 _: R* P9 R% T
  315. ; If enabled, the request will be allowed to complete even if the user aborts/ G2 j. K. y& b2 _7 s4 w+ K
  316. ; the request. Consider enabling it if executing long requests, which may end up/ U/ W; o8 E8 y) }8 m
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 ]5 H. W6 n) @& U  y5 U" u
  318. ; is to disable this feature.
    ) x( q. V) O9 B% C4 e
  319. ; http://php.net/ignore-user-abort
    9 h  |- B2 Q  x  ]. Q
  320. ;ignore_user_abort = On
    ' S2 D4 A$ `* W; v

  321. ; X6 v' e5 [' F- Q
  322. ; Determines the size of the realpath cache to be used by PHP. This value should* J4 @: b$ W/ z3 ~5 w; @4 @
  323. ; be increased on systems where PHP opens many files to reflect the quantity of& x$ e# _/ B% D( M. Y4 v- H* K
  324. ; the file operations performed.1 g5 p( H7 b( C5 B
  325. ; http://php.net/realpath-cache-size/ k  o2 g7 W6 J  a% \  h, c
  326. ;realpath_cache_size = 4096k
    9 X! g6 f8 x3 z

  327. $ j9 L. p( r  j; Y6 o: z& E3 X
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    , H  I: E4 W" \8 ]& b
  329. ; file or directory. For systems with rarely changing files, consider increasing this6 h4 x3 A; K4 @: A9 O" Z* j2 B
  330. ; value.- t& x+ y& D) X, y
  331. ; http://php.net/realpath-cache-ttl: U# J& E8 x( S3 T
  332. ;realpath_cache_ttl = 120
    $ L" w0 ]# J; w# Y/ u. M

  333.   J) v5 o3 j3 L8 R( L! ~
  334. ; Enables or disables the circular reference collector.
    , ?5 T2 v4 ^  U
  335. ; http://php.net/zend.enable-gc3 B) }6 R% O5 ~: w0 ^, x* H# Q! G
  336. zend.enable_gc = On
    ; h4 m, O7 `0 O3 c( U- |. {

  337.   V) Y1 k, V" W, @/ X8 g7 x
  338. ; If enabled, scripts may be written in encodings that are incompatible with0 J9 A" |; }# ?' e6 _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 u1 a) ^4 p& D2 x
  340. ; encodings.  To use this feature, mbstring extension must be enabled.1 Q$ s9 Q) [; B) c: i8 q6 s% ]& P
  341. ; Default: Off/ m9 s/ I2 {  W8 W( h" K- t4 @
  342. ;zend.multibyte = Off
    3 f* M& Q1 `* y
  343. . u: g& `5 f# }* N, S8 [1 r
  344. ; Allows to set the default encoding for the scripts.  This value will be used* {# U  |+ w5 ]7 |- a
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    , v0 v) n- Q8 I% p  g' u
  346. ; Only affects if zend.multibyte is set.
    6 }) R9 C% V8 V8 t
  347. ; Default: ""5 y7 V( e& H& o, H
  348. ;zend.script_encoding =
    3 M; G0 s! [8 C5 z
  349. ) V1 x7 A9 [& G& b5 M
  350. ;;;;;;;;;;;;;;;;;
    # f" m2 B, m2 h1 Y0 f5 n! m3 i
  351. ; Miscellaneous ;: x- L9 W2 J- Q5 e: g. O- g  f
  352. ;;;;;;;;;;;;;;;;;
    + M, p6 ^3 O6 Q% r7 U  q
  353. 6 u5 }& D6 d, t
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    + P1 o7 _$ E* ?* T9 d' b+ u( ]
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 D1 t' }8 P) [
  356. ; threat in any way, but it makes it possible to determine whether you use PHP6 ^; [( D/ |& B) U% @& P, c
  357. ; on your server or not.2 ~, X" I( _6 ~: p* x5 e/ I% e
  358. ; http://php.net/expose-php; q6 P- N6 S+ i6 O! F4 O$ t/ d/ R
  359. expose_php = On4 y8 @5 P, v1 l" X4 m4 n% k% h- I1 G/ _

  360. 2 q3 v" g2 Q" c& b8 d! o
  361. ;;;;;;;;;;;;;;;;;;;
    1 i5 M5 Y" ]6 u1 B7 x& b1 S  ?
  362. ; Resource Limits ;
    # G" h1 H. d5 _' u6 e/ T
  363. ;;;;;;;;;;;;;;;;;;;
      L8 \, o0 g8 m5 W' H/ E2 @3 {) V; y5 ?
  364. , k$ a. N% R7 s: |7 v
  365. ; Maximum execution time of each script, in seconds
    / i3 H. r. D' e1 d0 L
  366. ; http://php.net/max-execution-time8 B3 ^2 m# g5 V. O  s2 @4 c2 d
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI# U( e/ e7 q+ O; ]
  368. max_execution_time = 300) g, O5 j8 ?2 r& }. h
  369. . a9 ]$ Y/ ^$ j$ |6 J
  370. ; Maximum amount of time each script may spend parsing request data. It's a good+ [" L8 Y7 G% B: d
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , X! c2 B4 l6 @" g& q) ?8 }, j
  372. ; long running scripts.% _3 o9 L2 m0 Z: x2 y0 {; i) Y) D
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI( a8 T. t8 B* V- H
  374. ; Default Value: -1 (Unlimited)
    / o9 L$ v+ r+ I3 J3 j/ k
  375. ; Development Value: 60 (60 seconds)
    6 S3 L2 J: B+ W* P
  376. ; Production Value: 60 (60 seconds)
    - s* t! |& a: _: k; }
  377. ; http://php.net/max-input-time
    / J* K8 Q' w: p5 S$ T! A+ P! C
  378. max_input_time = 60
    7 e* l* C$ E$ s4 ~5 u5 C' \
  379. 4 c$ k: F/ a& o5 I& M
  380. ; Maximum input variable nesting level0 q, r. \1 k5 e9 `
  381. ; http://php.net/max-input-nesting-level' W2 V, ]. R) ~% s
  382. ;max_input_nesting_level = 64
    3 B0 D6 ?3 ~0 w) }' D5 z, R
  383.   p! G5 _# H& k4 ?9 a7 \9 O6 a+ }
  384. ; How many GET/POST/COOKIE input variables may be accepted; m* F" `8 d/ D8 \6 [2 g
  385. ; max_input_vars = 1000) Z& y9 z/ a" g& D" }$ t
  386. 8 |0 t' f: Q, n/ ^
  387. ; Maximum amount of memory a script may consume (128MB)
    ) D( o) A3 E1 g" h
  388. ; http://php.net/memory-limit0 v4 ]4 w6 w7 l/ O
  389. memory_limit = 128M
    : y& v. N  t5 \/ k% j" K' a

  390. ' N" \$ D, P3 {- z
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, }; f/ E! H3 L9 k' ?" N
  392. ; Error handling and logging ;% v/ {; Z) ?% m+ w( N' K
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: M8 b0 {$ ]6 L2 q
  394. 0 k; T/ [& d8 G9 w
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    " c  h' W6 p- T! F. h. X/ M2 Z
  396. ; it to take action for. The recommended way of setting values for this
    # h  }* B, G: N
  397. ; directive is through the use of the error level constants and bitwise
    % r9 t& j" Z6 v
  398. ; operators. The error level constants are below here for convenience as well as- v+ d# \5 I  N/ q
  399. ; some common settings and their meanings./ X6 _' ^% O5 k( h. G2 w) W
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT1 h$ R# ^9 n. O+ O6 r
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ( I* O& D  D% p# V
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    " s3 r- f9 p/ p* x1 {
  403. ; recommend error reporting setting. Your production server shouldn't be wasting7 F7 h: F+ [5 i
  404. ; resources complaining about best practices and coding standards. That's what
    : j* @, _# d- s7 c: {" }. m- c
  405. ; development servers and development settings are for.
    1 J1 K: X% n% D8 t! W4 E* m7 F
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    " q, \! k9 J; M( |' v( \+ U
  407. ; means it pretty much reports everything which is exactly what you want during
    : s, O/ Z) z+ ^: l
  408. ; development and early testing.  }9 e2 M1 Q# s# ?2 A& ?0 N
  409. ;  L( ~8 `! r1 x9 E
  410. ; Error Level Constants:$ V' h) [( p2 ?& ~0 F+ j4 B6 @
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 k% N6 p- Q9 P
  412. ; E_ERROR           - fatal run-time errors; m/ q8 O: E) B1 Y" ~
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % c- ]3 w0 g' g5 A8 A( ?- C& C3 N
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    , U4 H' Y" B+ |: q4 @9 T
  415. ; E_PARSE           - compile-time parse errors8 z& w" w; ~  t6 a. K& g9 o
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    : D* T9 _1 J4 ?- B9 k
  417. ;                     from a bug in your code, but it's possible that it was7 t. t4 F& z& z) E9 {
  418. ;                     intentional (e.g., using an uninitialized variable and
    # \; C$ V& d, ]: F" j( `: y+ d
  419. ;                     relying on the fact it is automatically initialized to an, c' t& q* R2 o; [. A
  420. ;                     empty string)$ e; w/ r# Z- b  Q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    + p4 T0 T7 g+ B3 ~
  422. ;                     to your code which will ensure the best interoperability
    . J0 h7 t* h( h3 L
  423. ;                     and forward compatibility of your code
    1 u, A& u! H$ b5 ?: M) S4 {
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ) [  @* ]0 c8 Y) |
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ c) D7 o( Y; d# n: ]6 k
  426. ;                     initial startup
    - j2 p4 Q- ~7 ^
  427. ; E_COMPILE_ERROR   - fatal compile-time errors# ~. I3 [6 c' g4 b$ n6 H
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)5 u, e( D0 r# W& q7 |( h
  429. ; E_USER_ERROR      - user-generated error message
    1 U. N2 t+ l6 p. V  u; l, Y
  430. ; E_USER_WARNING    - user-generated warning message
    0 M$ }; k- `: t5 W- g, F
  431. ; E_USER_NOTICE     - user-generated notice message8 h4 ]! ~/ i0 t8 X6 [; Q
  432. ; E_DEPRECATED      - warn about code that will not work in future versions! [+ x: y( `8 d0 u8 J# A8 C4 s8 m
  433. ;                     of PHP
    & |+ F; s2 J* Z/ E
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    5 ?0 m5 s3 [+ d" D( d
  435. ;; N" r3 r+ i4 u8 o& U5 E
  436. ; Common Values:! U4 d, l. B2 I0 l5 k. m, V
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)' B5 x% O# Q: Q
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    8 y: H1 u6 W  |1 E1 Q: R  w
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' P; e. N/ @2 g6 S' H
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)$ I$ R4 O6 T  G: r7 L$ q
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ B8 k' l# D+ C& D: D7 h
  442. ; Development Value: E_ALL
    : M9 b. V* |3 S+ t0 N
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& x& B! w; A% N4 `, Y
  444. ; http://php.net/error-reporting, ]* i. ]8 T) w8 C: E
  445. error_reporting = E_ALL & ~E_NOTICE: Z1 j( C& `( m
  446. 3 E/ o& y# `6 O
  447. ; This directive controls whether or not and where PHP will output errors,
    # C0 w6 H6 L; F1 s) r7 u9 h
  448. ; notices and warnings too. Error output is very useful during development, but5 r" t' T( v$ I
  449. ; it could be very dangerous in production environments. Depending on the code2 o5 E& u: y4 R9 Q
  450. ; which is triggering the error, sensitive information could potentially leak! N# r8 `5 w; L
  451. ; out of your application such as database usernames and passwords or worse.
    ) E8 @/ q6 n! |
  452. ; For production environments, we recommend logging errors rather than
    ) c( `' D) k: n! v; S9 a( n7 d$ H% Q: {
  453. ; sending them to STDOUT.. i: Z- D% [! \) _# d# S
  454. ; Possible Values:& H% d, E, S, C' C' g3 l
  455. ;   Off = Do not display any errors4 }3 F( x& a& y
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)/ S. f% U& K. A) a! F
  457. ;   On or stdout = Display errors to STDOUT
    1 k4 d$ M9 f# y+ V; }
  458. ; Default Value: On: p! U- x3 a4 D3 Y# _# `
  459. ; Development Value: On1 V% W  W- K3 E
  460. ; Production Value: Off: }9 {3 u! }9 |& H: d# y
  461. ; http://php.net/display-errors: e3 x: x; R5 y- k6 T
  462. display_errors = On/ a  [6 Q) ~( o8 [
  463. - L) ]/ w+ x- {. |3 ^9 F$ R. \
  464. ; The display of errors which occur during PHP's startup sequence are handled
    ( C" [. X. X4 ]; s4 S4 R
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    / i  }. @+ ~9 F3 \! Z1 V2 o( e
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    : X# i# L* N/ k
  467. ; debugging configuration problems. We strongly recommend you( W9 e( I5 P6 D1 K9 d+ ]
  468. ; set this to 'off' for production servers.1 A- |! |$ T) ^. n4 G7 F7 I
  469. ; Default Value: Off
    ( t9 J1 ?$ I6 f) l
  470. ; Development Value: On  D9 f3 k0 {( g! w: v" s4 \
  471. ; Production Value: Off% Q& U  b* V! M& s& Y! g
  472. ; http://php.net/display-startup-errors' h8 w0 |0 A- {
  473. display_startup_errors = Off& F3 s% q4 r1 U* R$ S+ V3 }
  474. 8 s  k+ C4 M) _& a8 g8 |9 F
  475. ; Besides displaying errors, PHP can also log errors to locations such as a: b4 F! c1 H: l1 j2 R
  476. ; server-specific log, STDERR, or a location specified by the error_log
    7 |  r3 e6 [; e( ]! ^3 U
  477. ; directive found below. While errors should not be displayed on productions$ s" s6 V8 L( v+ d! k4 W# H
  478. ; servers they should still be monitored and logging is a great way to do that.
    ! A# W' a7 Q: c9 s! |
  479. ; Default Value: Off
    ( ?8 q5 c# z" X7 a9 V. U
  480. ; Development Value: On) B& `7 z; X, Z' @, \
  481. ; Production Value: On
    5 `( F! _' m% N' o" @
  482. ; http://php.net/log-errors
    + T# b* n: P- P2 ~5 _/ h1 b% t+ X
  483. log_errors = On
    0 B2 x" `9 }: g$ [1 P$ N% t
  484. ' a; P6 }5 @! Q
  485. ; Set maximum length of log_errors. In error_log information about the source is' i  ]/ g6 s3 o4 j
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 e2 }; j) `2 R6 ?( D# d6 n9 g$ Z/ k
  487. ; http://php.net/log-errors-max-len
    4 o1 K! C" d/ s6 V" {
  488. log_errors_max_len = 1024! F) U1 {7 a7 a0 y
  489. % K, X- i: W/ |6 \* d( q' x4 G
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    $ v+ p! A; E  a3 W. V+ o
  491. ; line unless ignore_repeated_source is set true.: v$ l) |) T. S( ]( Q' Z& P
  492. ; http://php.net/ignore-repeated-errors. }3 m1 B8 T1 X
  493. ignore_repeated_errors = Off
    8 w9 Y& Z' W  O) _9 V* S2 X
  494. & }2 P; G" W5 Y
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    6 ~& D$ G  ?, N2 j0 U' S
  496. ; is On you will not log errors with repeated messages from different files or
      _% j( Y8 ]  G8 h2 B; @
  497. ; source lines.. T" l& }9 z0 n! ^, O
  498. ; http://php.net/ignore-repeated-source
    " g- n7 C9 M% Q+ o% t
  499. ignore_repeated_source = Off1 G' g7 b. Q9 i
  500. 5 A" X7 N' }4 P9 [/ ]: m" W
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    * ?0 I; j0 }4 }) R
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    : D  ]& S' e" E: L0 G1 A7 \  v
  503. ; error reporting includes E_WARNING in the allowed list
    + A/ d$ N  i+ H% b& P# L" h
  504. ; http://php.net/report-memleaks1 e! ~# b; @# Y! y" X% E2 w% W7 s; D
  505. report_memleaks = On# z% r. h& b9 w

  506. 4 h+ H- k: b6 I! S7 f
  507. ; This setting is on by default.$ D& g# }, L/ x7 E. j# c) P0 q  V0 n
  508. ;report_zend_debug = 0
      B3 K6 X2 D* k" R) q

  509. % a0 ]$ E1 D- s8 C. z, O
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    4 M7 S3 o$ [; m' X& X) a) m' Y0 s
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    3 O3 J# H, k9 n! H
  512. ; however be disabled on production servers.
    " u4 x4 L( L5 Z0 R/ U! @+ a3 U% h
  513. ; Default Value: Off; {4 y, C2 n! g2 n4 E! ~8 V
  514. ; Development Value: On
    & p# M1 O) h6 O- P; Z6 d
  515. ; Production Value: Off8 M) b  @; Z/ P2 m5 D3 @6 b& X
  516. ; http://php.net/track-errors
    ( R; ~# P. Q2 [+ c$ `
  517. track_errors = Off
    : l( R& A: s  j
  518. ( B' L0 }6 w1 M$ J* r- T# {
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 w, V% R4 I7 @% Q
  520. ; http://php.net/xmlrpc-errors2 D( O7 L2 P) p* N
  521. ;xmlrpc_errors = 0
    # R& A  R$ A. R+ U- {6 O

  522. 2 b: D2 Z/ M  |' \3 b) S$ @+ c
  523. ; An XML-RPC faultCode
    / g8 J; N# q8 K( h+ B5 t, V& Q* \- z# I
  524. ;xmlrpc_error_number = 02 X2 _: Y( _3 L0 e! R
  525. : h. u5 X  `0 U3 Z9 T( \
  526. ; When PHP displays or logs an error, it has the capability of formatting the: S4 x5 M5 ?1 X0 j
  527. ; error message as HTML for easier reading. This directive controls whether7 w* k; i. S2 `" v4 ]( \* r) b
  528. ; the error message is formatted as HTML or not.  D  V* `& W3 V9 M) B( x  q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - {# N) }* O" i3 l
  530. ; Default Value: On7 d1 |2 u  c  |7 E- f; I8 U
  531. ; Development Value: On
    ; g" R, |, W+ y) ^3 v. v
  532. ; Production value: On
    % H& u+ ~* Z) q3 Z% i& P5 B
  533. ; http://php.net/html-errors. `2 ~8 V' F3 C: v3 U
  534. html_errors = On% s3 |/ Q1 y4 n: Y% k2 e

  535. 6 Z0 W* F/ O6 C+ ^$ r8 ]/ u
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % j) r9 w9 K+ e' \" b/ Q8 T
  537. ; produces clickable error messages that direct to a page describing the error% }- d% W# [" a. |1 a
  538. ; or function causing the error in detail.
    1 W1 Q* \9 Y* p
  539. ; You can download a copy of the PHP manual from http://php.net/docs* \# Q) [6 l0 z9 \! ]; ^
  540. ; and change docref_root to the base URL of your local copy including the  S  V% j" G# _8 X$ N* s& I8 H
  541. ; leading '/'. You must also specify the file extension being used including
    ) g- _- ?! m2 }4 U# w6 M, E* {* b
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which: w3 c" P2 `5 N+ Z' V2 o# j
  543. ; case no links to documentation are generated.
    7 t4 ~$ l  f0 k: B1 U( n3 m# u- N
  544. ; Note: Never use this feature for production boxes.
    & v8 }$ P4 v2 `& H8 B
  545. ; http://php.net/docref-root. @. ?! z* X+ m: N  m$ q$ z  D: ]
  546. ; Examples
    - h* D, e. J3 M
  547. ;docref_root = "/phpmanual/"; c$ y/ Y) Y' o8 e
  548. + }! x7 i/ ^$ Y
  549. ; http://php.net/docref-ext7 c5 b' u. G, u% W! H" a/ T
  550. ;docref_ext = .html/ H0 u, x7 L7 w5 J7 e
  551. 1 D+ O! }# \% k
  552. ; String to output before an error message. PHP's default behavior is to leave
    0 ]( h, B2 M3 k: `2 {
  553. ; this setting blank.8 U5 L0 w$ E! d' T
  554. ; http://php.net/error-prepend-string
    + r6 M) n+ `8 E4 z3 K) ]
  555. ; Example:( J1 ~) C) `4 D3 s
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    % s) p; H6 m* j' y" I& Q

  557. ; p  m2 E' y; a4 m6 E* n
  558. ; String to output after an error message. PHP's default behavior is to leave* p, Q/ o' [! t( F
  559. ; this setting blank./ W6 q) I8 I# @. d5 Y
  560. ; http://php.net/error-append-string
    : V! A9 m1 j4 s1 D: v5 m
  561. ; Example:
    0 |$ }( w! O1 i  \( X0 l8 ~
  562. ;error_append_string = "</span>"
    4 K! V3 X7 Y' P" b2 N
  563. 6 I% n: b9 ^  h9 _: Z. J/ J
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    - F, d( W7 b- q
  565. ; empty., A! P  ~! b, S5 ^8 z8 ~+ N
  566. ; http://php.net/error-log" S8 h8 i0 x7 r& W) c
  567. ; Example:
    - [+ {4 J- {  s. U/ g  z4 ]
  568. ;error_log = php_errors.log9 c1 i0 I' J8 |2 b9 j  `4 }6 [
  569. ; Log errors to syslog (Event Log on Windows).
    ) h$ r; o: u% A- Q$ B
  570. ;error_log = syslog/ j7 g; s" G# u1 T( A9 e

  571. ! U7 i2 K5 {; x$ N, N0 Z" J; o
  572. ;windows.show_crt_warning
    $ m9 k; h3 q3 X5 A. y& \8 q& w
  573. ; Default value: 0
    7 t* g1 c8 R4 h, U$ b, m0 S
  574. ; Development value: 0
    . r$ N3 d9 ?" Y. }; J0 m  k
  575. ; Production value: 0- `2 M  a% {5 u2 K. Y7 U

  576. + `" b- M4 X0 S. h  ]# |
  577. ;;;;;;;;;;;;;;;;;( A5 v; j$ t9 k9 q0 I$ q
  578. ; Data Handling ;
    4 }! i. @1 u- m9 w% a# U6 I7 c/ R
  579. ;;;;;;;;;;;;;;;;;3 z1 Z! N1 O8 m  H2 g; i1 K* @
  580. # c7 ]: c4 \. z- k+ m( ^- G
  581. ; The separator used in PHP generated URLs to separate arguments.
    4 s$ U- e5 ?5 M# |" w; u5 s
  582. ; PHP's default setting is "&".
    " O: V/ _: @2 M% \# l* s; S
  583. ; http://php.net/arg-separator.output
    5 ~" L8 t1 O' d% x0 A  c, n8 q
  584. ; Example:9 w3 ?: \/ m) W
  585. ;arg_separator.output = "&"
    / _) P* Y. V) T6 x
  586. $ O# N9 v* w8 D5 V
  587. ; List of separator(s) used by PHP to parse input URLs into variables.. S# N! n9 C' q* z9 l9 i
  588. ; PHP's default setting is "&".
    ) Z  v9 g& M& {) R+ D
  589. ; NOTE: Every character in this directive is considered as separator!, e/ f$ [# X$ Y, L  Z) q& K
  590. ; http://php.net/arg-separator.input- m3 @( _8 r3 a& u
  591. ; Example:
    ; K1 a" V# {' P6 d% J
  592. ;arg_separator.input = ";&"
    % k: r5 W: ~2 a5 P, l4 Z
  593. - r, ~2 Z( I: r
  594. ; This directive determines which super global arrays are registered when PHP
    9 o  [' v  ]( c2 D
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super' V: B6 y# j1 J( W
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty* P$ a6 j& ]3 }! \$ Y' |8 R' n
  597. ; paid for the registration of these arrays and because ENV is not as commonly- b2 B5 X4 R* v" w/ R8 V  D
  598. ; used as the others, ENV is not recommended on productions servers. You
    ! t; K* T$ r' u$ w& X2 }
  599. ; can still get access to the environment variables through getenv() should you5 f- Q" l0 ?% I6 q. |. K
  600. ; need to.
    7 f0 Z. i0 Q! u
  601. ; Default Value: "EGPCS"
    . \) C) R1 l. T* F1 \. }* u! w
  602. ; Development Value: "GPCS"* {$ M: c7 U0 x. P# c
  603. ; Production Value: "GPCS";# g# F' H6 x% K3 {6 b
  604. ; http://php.net/variables-order
    : _! s3 F2 e( q$ E5 b
  605. variables_order = "GPCS"
    - Z3 v6 e8 l/ C! ?( b) V9 G

  606. ) i  }, r( ]- D6 m' {% M
  607. ; This directive determines which super global data (G,P & C) should be
    , `- k$ P: Z3 i! f8 W; M1 c
  608. ; registered into the super global array REQUEST. If so, it also determines4 f/ h3 p5 F: ^: a4 n8 V
  609. ; the order in which that data is registered. The values for this directive) A3 P9 U3 L6 x1 c. N1 w
  610. ; are specified in the same manner as the variables_order directive,  \- z; ?+ h4 Z6 b* c6 Q/ d
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set: n! F4 g. L, w: I( T
  612. ; in the variables_order directive. It does not mean it will leave the super
    8 m) [3 L7 l6 {! c9 \( ^2 L, T
  613. ; globals array REQUEST empty.
    + k: p; W) m* U; W; D
  614. ; Default Value: None
    ' L8 s" s, N/ Z6 K
  615. ; Development Value: "GP"/ ?0 }( V; i- F3 o  O
  616. ; Production Value: "GP"7 _  E8 l/ E# y4 {: g# ~% B
  617. ; http://php.net/request-order
    ) m5 j, {0 m/ Y8 z" o5 G8 e  O
  618. request_order = "GP"$ ]" j3 r& N& g0 i* A& z8 B0 S1 Z
  619. ( m( o  K- T# L2 |7 Q" i& M
  620. ; This directive determines whether PHP registers $argv & $argc each time it0 ?$ z8 K5 H* s0 l) S+ p- W
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 u/ |3 i' l  ]6 y) ?& U
  622. ; is invoked. $argc contains an integer representing the number of arguments
    & R9 ~( T. v0 ^- g9 X+ I
  623. ; that were passed when the script was invoked. These arrays are extremely
    / y& @) e6 v4 H- E
  624. ; useful when running scripts from the command line. When this directive is# B- h! A/ z/ I. Q0 h) H  A
  625. ; enabled, registering these variables consumes CPU cycles and memory each time& d) }  C, a8 G8 q2 o* n/ F
  626. ; a script is executed. For performance reasons, this feature should be disabled7 x# J8 |$ l9 z: q( j4 ^1 u* [
  627. ; on production servers.; k: F4 j/ `, A* r
  628. ; Note: This directive is hardcoded to On for the CLI SAPI6 Y; h: j5 @( W$ ]" d. d9 A" M
  629. ; Default Value: On/ E9 S. f5 l& r
  630. ; Development Value: Off( r. |  O. C" S- J
  631. ; Production Value: Off$ v2 {; k& G: Z' K! s/ u" X
  632. ; http://php.net/register-argc-argv
    9 _9 |( A: G7 Z# @1 D
  633. register_argc_argv = Off8 G. p0 u! H7 `. ^* Q4 r0 n
  634. ' d8 r/ D2 K2 Q* ^" \7 y9 R
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    # I% Y/ O: g6 t5 B2 v
  636. ; first used (Just In Time) instead of when the script starts. If these
    5 m/ s$ G; {4 G: W) e3 F
  637. ; variables are not used within a script, having this directive on will result) n, H. H* ^5 ?
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled' F0 R8 T/ ^" d* ?" W% l: Z
  639. ; for this directive to have any affect.7 X5 `6 P$ B; X9 X, d' ]7 n' R/ t
  640. ; http://php.net/auto-globals-jit5 C/ ]' `$ T2 {7 }
  641. auto_globals_jit = On. V! T- ?6 ?, l( y% T

  642. " \4 n3 o) @3 `8 q; r2 I
  643. ; Whether PHP will read the POST data.: y: X4 O0 h# G5 H" w
  644. ; This option is enabled by default.
    * q+ p' K3 _( Z2 Y, Z( ^& o
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST0 T  t) ?# {$ p2 J
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    3 i, ^% f3 \7 g$ [$ C, P
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    $ _" G+ e2 m' V# w
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.# H) K2 g3 u9 U" m" R
  649. ; http://php.net/enable-post-data-reading2 P- d3 q( \& F, A' E- J
  650. ;enable_post_data_reading = Off
    ; b" t) T( Z5 A9 [

  651. 9 S. ^) x0 r& t3 D1 L/ b% @# l9 d
  652. ; Maximum size of POST data that PHP will accept.
    6 Q8 r( _* O& e* N6 W
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading" H( h: @+ F/ Y, V1 n
  654. ; is disabled through enable_post_data_reading.' f$ j0 E; ?6 d! B
  655. ; http://php.net/post-max-size
    ! f0 L& _0 X7 a" u
  656. post_max_size = 50M
    8 A; `2 B8 K; V! j# P
  657. # j& e3 }4 e1 k
  658. ; Automatically add files before PHP document.3 F! f$ m2 B; q5 R4 |9 A: D
  659. ; http://php.net/auto-prepend-file8 Z+ `5 E$ A& F5 e1 Q
  660. auto_prepend_file =
    7 ?( X: a8 N3 c) I

  661. / M6 L3 {$ f; ~& h& O( C
  662. ; Automatically add files after PHP document.2 K  U! q. G5 K! o1 v
  663. ; http://php.net/auto-append-file: b7 |, r. _7 g5 d6 |
  664. auto_append_file =
    & ^% v; \( H- T
  665. , t8 q& M9 C; k: V% ]; C
  666. ; By default, PHP will output a media type using the Content-Type header. To
    7 m; O6 i# m6 C+ }
  667. ; disable this, simply set it to be empty.
    4 G* C; J' ^( r
  668. ;$ G4 b! m, p3 E& v2 J  \
  669. ; PHP's built-in default media type is set to text/html.. O1 _! L" c7 ?" K2 S
  670. ; http://php.net/default-mimetype# ]9 y" q$ \0 y$ z) o6 h! v
  671. default_mimetype = "text/html"
    ) ]/ L: ]* k& f' c+ f
  672. : z! ~5 r% Y/ @
  673. ; PHP's default character set is set to UTF-8.  }2 `# u4 C& B7 ~" J2 N, B8 H
  674. ; http://php.net/default-charset8 |6 I3 U$ T3 B: F
  675. default_charset = "UTF-8"
    ' L! |0 L8 W! F: L# t# s
  676.   ^% i" U! {" i; r) {
  677. ; PHP internal character encoding is set to empty.
    ' Z. j- U3 @8 K
  678. ; If empty, default_charset is used.% w' ]% L8 [$ ?$ F$ z! f* B# m
  679. ; http://php.net/internal-encoding2 d" k* F( }) Q) w9 M
  680. ;internal_encoding =5 g4 U) m# c# _

  681. / r5 q0 o+ b$ d, X9 }5 ]- `
  682. ; PHP input character encoding is set to empty.  j1 U/ T7 s  e$ S* {
  683. ; If empty, default_charset is used.
    * h: |' O, g  Q3 Z+ y4 m* O( v2 m; e
  684. ; http://php.net/input-encoding
    ! B5 a8 u/ ~8 R9 n! @: m& L, b
  685. ;input_encoding =0 Y8 n7 J2 H1 U( \4 i; J# s

  686. 7 J9 l1 G% a3 `& a
  687. ; PHP output character encoding is set to empty.
    % p" C( a, r, g* |
  688. ; If empty, default_charset is used.8 }3 m9 O# E, ~7 Y7 V- ~  j
  689. ; See also output_buffer.
    5 g, l, h2 Y6 B% E5 a
  690. ; http://php.net/output-encoding
      v) X3 D' {% O
  691. ;output_encoding =
    ( O- e: J& a% [. \6 s* m1 Q" {
  692. % _. J. J6 l' G% b
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 z) M& Q; z6 _& u/ X8 I
  694. ; Paths and Directories ;
    / {' H9 s+ }# |2 q% O( e( T
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ' X9 ^9 W# p$ s) H! k1 ?7 L% |
  696. 7 D7 p5 F) V* n; I! h
  697. ; UNIX: "/path1:/path2"  V6 v, p9 n8 d8 {# d
  698. ;include_path = ".:/php/includes"
    , S+ P( b* l9 c, n9 H  G
  699. ;$ m- \# G% d7 F7 G) B; }7 f
  700. ; Windows: "\path1;\path2"; t- V4 p+ @6 `- l3 G
  701. ;include_path = ".;c:\php\includes"2 X6 n1 K% M3 }' A3 y
  702. ;# {* m* h+ |3 V/ P
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    & Y2 A) G* k* C( Y& x+ L' m
  704. ; http://php.net/include-path" _" f7 `. T5 ]6 W1 V. T/ e9 e
  705. ; D3 `3 F7 ]- k" C, n- t
  706. ; The root of the PHP pages, used only if nonempty./ t0 Z; h) S' n# ?. E/ ^
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    7 P: B( r# C* o, S, L
  708. ; if you are running php as a CGI under any web server (other than IIS)
    " A3 m( _, ^  `$ V# ?. u8 V
  709. ; see documentation for security issues.  The alternate is to use the
      y# b: A+ `$ Z% ~) l% x. r# N
  710. ; cgi.force_redirect configuration below! \6 s5 w5 p* A1 m3 E. R
  711. ; http://php.net/doc-root
    5 p4 ^2 J2 Q# x
  712. doc_root =9 f8 L7 D5 \% Z, ?* G; k5 x

  713. 1 l/ y- Y: q+ t1 f
  714. ; The directory under which PHP opens the script using /~username used only: u1 P! \4 w. O) t' B/ k
  715. ; if nonempty.* t: N0 x4 p0 b& m4 \! p- c
  716. ; http://php.net/user-dir( b; F+ N4 a4 I  |
  717. user_dir =
    0 p. ~! K2 |; g* z# Y

  718. " ^# Q0 H2 f! U! x
  719. ; Directory in which the loadable extensions (modules) reside.7 n9 U+ C, N$ o7 k* |
  720. ; http://php.net/extension-dir% r4 b3 }/ ]5 K* t
  721. ; extension_dir = "./") P$ Z; ?5 ?3 C$ w# c
  722. ; On windows:5 ?/ L. x- G. X6 s! P7 U# s6 ~
  723. ; extension_dir = "ext"/ I, P* T$ [1 h) t4 U8 A0 K
  724. : y5 q1 x! k2 B: j# T2 Y3 Q& c" n: I
  725. ; Directory where the temporary files should be placed.
    0 x/ S8 S+ d7 L1 N! X$ V, K
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ( L9 J- L% g2 \+ F
  727. ; sys_temp_dir = "/tmp"
    7 |3 _8 ~) Q5 o) X9 S* ~
  728. ; l5 y( F4 g9 U, |- d
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work5 ^/ e/ H9 `  c. y
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    3 b8 b4 ]$ y; T6 I% J. t
  731. ; disabled on them." o+ n0 U$ B' k. k# {% x
  732. ; http://php.net/enable-dl
    5 O2 O8 C* @" e, d2 P$ ]
  733. enable_dl = Off
    " S2 ~- N+ c/ p  c$ s
  734. 4 p! k, D7 c* R; b" O2 l5 c3 g2 \
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under* j/ C" S  f) W4 }9 L4 z
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can5 H1 Q1 }0 H$ |$ K5 @* ~
  737. ; turn it off here AT YOUR OWN RISK. B% K1 r' J, N
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ e) v7 `1 X* ^& b
  739. ; http://php.net/cgi.force-redirect% \$ `8 F4 H3 ^" m" J' y, _7 T
  740. ;cgi.force_redirect = 1
    ! ~4 M8 C8 z) Q0 p' Y

  741. ; X/ y; e, S* A% U
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with1 R, t4 w% L) j5 k& L& P
  743. ; every request. PHP's default behavior is to disable this feature.
    - @- B! p) H6 w9 a. N
  744. ;cgi.nph = 11 D5 w* a* X( g: w& _

  745. 6 U% `) H/ l6 _2 J9 {8 j+ F
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape3 L1 N3 k, |, C9 G
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% E& W! Z5 L. A3 k) C
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY  \: x. e, {7 i  P1 w% K: O
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& m$ T% H2 F- l# F$ }, @5 S5 K
  750. ; http://php.net/cgi.redirect-status-env9 h5 T, A7 u$ c5 Q
  751. ;cgi.redirect_status_env =: V! ?2 {+ f" G) ^0 S: T- i" U

  752. , L/ P8 u, s' q7 K) _) f) g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's9 n% [8 y4 p8 h2 j* ]
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + [, C& t) q7 r& [* e3 N' i8 H
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting5 s0 F& D" R! [; B" t1 \9 ^; U5 B$ x
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ) ]% C( ]% ~/ \
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, m* s  u' E: v3 F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    6 E+ t: w* A" y! s
  759. ; http://php.net/cgi.fix-pathinfo2 K" v/ G9 a. o4 T  U2 r5 y% `/ C
  760. cgi.fix_pathinfo=11 w7 n! h' l3 a4 @9 f  }8 t4 {
  761. / Z, e) i; _0 @" n, h
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    - G9 ~9 O* ~. h! ], J" N1 A0 v& @
  763. ; of the web tree and people will not be able to circumvent .htaccess security.. f- V5 P! K. v5 r( Q! _4 o
  764. ; http://php.net/cgi.dicard-path
    % N8 R0 `5 z: e: U( X; q
  765. ;cgi.discard_path=1
    0 C: M; }( N) f# a" Q! T6 I) `  N
  766. 3 B1 F/ q* L( ]" s* f4 M. t1 J$ J( B
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    8 z3 O3 r$ c" A' P& F
  768. ; security tokens of the calling client.  This allows IIS to define the
    , S/ U2 v  V5 B! k1 m* u4 y
  769. ; security context that the request runs under.  mod_fastcgi under Apache) w4 t) X7 k% ]4 M
  770. ; does not currently support this feature (03/17/2002)
    : c7 U! U6 T4 a7 O# w6 m" \7 I0 N
  771. ; Set to 1 if running under IIS.  Default is zero.$ q; g9 w3 g! N4 ?  N8 z# _* a: I6 |2 C
  772. ; http://php.net/fastcgi.impersonate+ o1 a% L0 D8 ^# H
  773. ;fastcgi.impersonate = 1  l& P  ~" G: J/ d8 B2 f6 `

  774. , C, }" B( ?6 p
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - v" P. e$ c0 q8 {$ K+ b+ m6 X/ z$ n
  776. ; this feature.
    5 ^: h2 }* R8 D/ Y/ \5 N; v; s
  777. ;fastcgi.logging = 0
    7 k/ t! g* p4 p. L. r' n
  778.   I/ k! G0 v; {6 E( ~1 d5 Z7 d% W
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 }7 c+ H9 \4 T
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 ]9 ^+ w  X" v! E' A
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    % v* b9 @( u7 u% W8 {7 h
  782. ; RFC2616 compliant header.: q; m8 `5 h) X+ S. s3 M1 H
  783. ; Default is zero.
    # ]2 \4 |2 D5 L0 }+ L+ ^& [; y
  784. ; http://php.net/cgi.rfc2616-headers
    / l0 l/ T4 l0 Z2 R7 {- n
  785. ;cgi.rfc2616_headers = 0
    ! N7 s' v5 D) o5 T9 w" i4 l- D
  786. ; g8 ]% I1 _+ `4 I
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    % Z0 D# @" A* k( n
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ' {4 \- s. r+ C# F4 u
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI# }& ?. l5 g" c9 K" U/ o7 q7 ]
  790. ; mode skips this line and ignores its content if this directive is turned on.: X6 F6 H$ J" o! e+ ]
  791. ; http://php.net/cgi.check-shebang-line
    ( j) O: c8 P6 _$ }8 r) U. P
  792. ;cgi.check_shebang_line=10 ]8 y" E9 y- T! R! E# m. w9 [' k
  793. 6 O4 {( d, [7 S/ N
  794. ;;;;;;;;;;;;;;;;
    . G8 N3 Q: M$ O; ?" P9 d+ ^
  795. ; File Uploads ;7 c- z% ?; q. @7 k4 w5 m7 I
  796. ;;;;;;;;;;;;;;;;: `  ], L0 S4 I0 P2 d) H

  797. # _  I- u# k5 G) p7 A$ U: a
  798. ; Whether to allow HTTP file uploads.8 D9 s: R6 G: l* q
  799. ; http://php.net/file-uploads; G2 ]2 m/ o+ ~% \
  800. file_uploads = On9 U4 X( h8 a4 Q4 n
  801. 2 y% F/ c7 E+ \- x4 b
  802. ; Temporary directory for HTTP uploaded files (will use system default if not4 G( T8 G! h, S$ f: k
  803. ; specified).' P: h* o: q: t' q- E! j
  804. ; http://php.net/upload-tmp-dir% |* j/ t( j7 n9 {
  805. ;upload_tmp_dir =
    ! p9 E9 e  ?5 {/ f* \
  806. & D* J) x3 d3 }8 S" R4 U8 J
  807. ; Maximum allowed size for uploaded files.
    * w* y: H& E( z' J- ]* F; h% b
  808. ; http://php.net/upload-max-filesize
    1 C' {# D/ y- g
  809. upload_max_filesize = 50M4 H, h3 X/ Y% e8 @- ~
  810. - H$ Q7 y. R2 f0 v2 Y
  811. ; Maximum number of files that can be uploaded via a single request7 D( T2 n5 C0 ?9 a. c5 l
  812. max_file_uploads = 20
    2 ^; I+ _2 u9 v7 U* Z
  813. 6 g# h4 S- i' Z' c  N
  814. ;;;;;;;;;;;;;;;;;;4 s" a4 Y$ A3 Y# g% M3 u* x
  815. ; Fopen wrappers ;+ v6 v6 ~7 H3 ?0 y+ q7 K
  816. ;;;;;;;;;;;;;;;;;;4 m. p+ Q+ d; \) _8 U$ v0 q& M

  817. : Q' B  B- w) ?+ N
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ) f$ A$ l, Z; m- D7 [/ g
  819. ; http://php.net/allow-url-fopen
    # K6 S7 b! }8 V0 q/ D
  820. allow_url_fopen = On% {) z% W) L. ^6 g8 ?& x% A( g

  821. / z& X) d  w  D  o  N" Q
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    % h; M3 W5 T5 S/ Y: B, r  I) H
  823. ; http://php.net/allow-url-include
    1 {& A+ C9 ]) I
  824. allow_url_include = Off; e2 z; o$ o. \$ E

  825. 0 ?3 s* R6 d+ g' _
  826. ; Define the anonymous ftp password (your email address). PHP's default setting4 [; J2 G- q2 ^: t. N/ W" e
  827. ; for this is empty.6 @7 ^* L' D1 @& }  r3 ^
  828. ; http://php.net/from
    1 b0 t/ q6 o/ K/ K# a0 P% r& B" b
  829. ;from="john@doe.com"
    : \: P$ K& Y- w2 S' A7 a: D- N2 C
  830. ' c. G4 r$ t+ f
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ) g' H& \  y9 w* E, y: p% J
  832. ; http://php.net/user-agent
    % R0 N, \6 Z0 M' d, r' _
  833. ;user_agent="PHP"* v" c6 W: l4 n' s

  834.   o! A3 {3 t+ g# a5 N
  835. ; Default timeout for socket based streams (seconds)& n1 q/ G4 ?( q( d
  836. ; http://php.net/default-socket-timeout7 X' O% S7 P) Y* E' M2 r
  837. default_socket_timeout = 601 }4 {# I1 r/ ^5 x6 y/ u9 l

  838. & C% F7 w9 T! G- Y0 o2 P( f
  839. ; If your scripts have to deal with files from Macintosh systems,
    - r+ J+ S& e+ d% y' G6 o. G
  840. ; or you are running on a Mac and need to deal with files from
    & A. f! z% T; [( Z% m- f) r
  841. ; unix or win32 systems, setting this flag will cause PHP to7 u: N2 Z" H8 b: Q" R
  842. ; automatically detect the EOL character in those files so that4 S# m% j/ t7 r$ q$ u3 o
  843. ; fgets() and file() will work regardless of the source of the file.6 A( V# \2 l' \9 |$ E
  844. ; http://php.net/auto-detect-line-endings
    7 T# k. c. Y+ A2 R6 B% |, O$ e
  845. ;auto_detect_line_endings = Off9 v! L8 u3 u$ H" k
  846. " J$ w7 J5 y! x7 O
  847. ;;;;;;;;;;;;;;;;;;;;;;
    1 K) [) \) \9 F, U& x  f
  848. ; Dynamic Extensions ;
    , N8 M1 b2 E3 K7 b/ V! K5 v7 w
  849. ;;;;;;;;;;;;;;;;;;;;;;
    0 |) E+ b/ H/ R* N$ f. H& O
  850. 3 H5 y! ~* Z6 N# p+ I9 y& M; d8 C
  851. ; If you wish to have an extension loaded automatically, use the following  w5 l0 q8 E0 f* _6 y5 c
  852. ; syntax:
    ! l4 y- j- K* Q3 y" _+ R
  853. ;
    ! @9 N, u1 z7 x, x# H7 e: T
  854. ;   extension=modulename.extension! g* b; I( ?: _3 P; B* K9 \
  855. ;2 ]& A4 S8 F- q# w9 ]1 ~
  856. ; For example, on Windows:' q; I  n* h/ a6 |( g7 i3 e+ y! e$ v
  857. ;8 `5 F8 X/ k: e( I9 T3 E
  858. ;   extension=msql.dll5 E9 W0 _6 e! D
  859. ;0 P% h, ]- N2 s6 c9 L: [
  860. ; ... or under UNIX:- W- @. t+ _3 Q! e
  861. ;
    4 a" c( z  [" ]1 ]% h7 z
  862. ;   extension=msql.so8 S' \$ y2 r4 i
  863. ;
    ( H. ?) W' o  s/ o/ x1 {9 J
  864. ; ... or with a path:, v- A6 c2 w6 u6 t
  865. ;7 K2 G( M6 H% F( T
  866. ;   extension=/path/to/extension/msql.so
    & N- C, ^0 A* F+ Q
  867. ;
    , I+ E3 i) K, a4 [, {' k( u
  868. ; If you only provide the name of the extension, PHP will look for it in its) }( B- \5 \/ H" T' b# R
  869. ; default extension directory.2 p3 R* f. [1 K% `! N
  870. ;! ?. M' @) z' U6 t7 o, E
  871. ; Windows Extensions
    * P7 p! \$ q$ {
  872. ; Note that ODBC support is built in, so no dll is needed for it.: l- Z# [& ?5 N* N% k/ b
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+); k7 n& v4 v5 A5 N
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+)., q+ M7 k, h( z
  875. ; Be sure to appropriately set the extension_dir directive.
    * v0 q' V) G+ q/ ]7 X. ~
  876. ;
    + [& r( b4 q# z5 i" Q
  877. ;extension=php_bz2.dll
    6 z6 w, _: I1 |3 w
  878. ;extension=php_curl.dll7 L# ^8 g  n9 @1 Z& c9 p+ i# c6 q0 V5 U2 ~
  879. ;extension=php_fileinfo.dll4 A# a8 U' z2 y  A- C* ~7 K! K
  880. ;extension=php_ftp.dll2 }% ~( q+ _" w% V; l- ]  @
  881. ;extension=php_gd2.dll8 ]/ L6 y2 `( G* T$ v$ r
  882. ;extension=php_gettext.dll
    2 m6 W" u2 |! n4 G+ N: |
  883. ;extension=php_gmp.dll. Q$ ?5 D7 ?5 G0 h. F5 t0 a; B0 I- w
  884. ;extension=php_intl.dll9 u/ V5 Y4 T3 y' c4 q* x- C
  885. ;extension=php_imap.dll, M* m- K# x1 W5 ?
  886. ;extension=php_interbase.dll
    $ M+ K" L+ J3 V) W) G# S
  887. ;extension=php_ldap.dll( K( z% F7 A1 ~* X
  888. ;extension=php_mbstring.dll: X3 g/ F: O" `; F8 T$ E8 K$ V) P+ H
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : l0 j& d  {! l) z9 ~
  890. ;extension=php_mysqli.dll
      g* m# `8 g' C! i
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    5 P- N% D+ L0 `
  892. ;extension=php_openssl.dll) d8 C7 N5 Q( W/ u, U
  893. ;extension=php_pdo_firebird.dll
    / h( e( ^# Q$ e: b8 B8 Y
  894. ;extension=php_pdo_mysql.dll
    % Y" o0 r$ ~6 {; l7 R* I
  895. ;extension=php_pdo_oci.dll
      m. j2 C! t& s
  896. ;extension=php_pdo_odbc.dll5 [+ @5 F1 @: g+ o  d
  897. ;extension=php_pdo_pgsql.dll
    - ?3 @1 U! J: }  E- G
  898. ;extension=php_pdo_sqlite.dll: ^! l; {  R3 h6 w
  899. ;extension=php_pgsql.dll
      O4 j7 y6 o5 F0 f: Q
  900. ;extension=php_shmop.dll
    : P' I$ h, X$ F# ~" V: f7 a4 f: S
  901.   a# u+ s) l- R/ y4 o; W' O" l
  902. ; The MIBS data available in the PHP distribution must be installed.. d% p% U# g7 A
  903. ; See http://www.php.net/manual/en/snmp.installation.php; T  w; O# Y0 q3 |. ?
  904. ;extension=php_snmp.dll
    2 ?) `6 ~( ?2 n
  905.   `  Q9 I/ P# j) P7 q( }/ `# o
  906. ;extension=php_soap.dll
    + W! N5 E0 r4 W0 I3 s
  907. ;extension=php_sockets.dll
    9 w* B6 S5 W: r4 t+ Z3 l6 F# L
  908. ;extension=php_sqlite3.dll
    * L9 o3 F5 c  Y, H6 K
  909. ;extension=php_tidy.dll) G# I7 R$ O# X( u. f
  910. ;extension=php_xmlrpc.dll0 d! @4 S  a) ]/ e5 x7 Z, ?
  911. ;extension=php_xsl.dll7 i. @5 ?5 d( x& ~8 R
  912. 4 @; u" |" C9 r2 `" U8 \
  913. ;;;;;;;;;;;;;;;;;;;7 |9 G: K% w, }6 a
  914. ; Module Settings ;
    % B; S, D; P- c! y# ]& z; K) y+ c
  915. ;;;;;;;;;;;;;;;;;;;
    $ e. j7 c# Z# n. B% |8 \

  916. 3 m8 c' {3 V' R: E: a
  917. [CLI Server]
    ( S; p0 r  ~& `
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 d& z* U6 E. o# j! R
  919. cli_server.color = On- v' H4 _  I0 `$ O+ j" q. h3 c

  920. ; w0 F& o/ i; Q4 A- u5 H  v
  921. [Date]& O* ^- U, ?3 m/ `- l& q
  922. ; Defines the default timezone used by the date functions
    % x6 j' t# h' ]# ?. |2 S, v
  923. ; http://php.net/date.timezone( a' O0 x2 _5 e6 q( G" x
  924. date.timezone = PRC9 R  {: h6 f' R& t( X9 x9 l" P

  925. % q5 y* n' t% w) r9 q' g$ q- i
  926. ; http://php.net/date.default-latitude
    " Y) f7 e- W  g
  927. ;date.default_latitude = 31.7667/ S2 S% m7 d; R5 O- D- R. c

  928. , l5 u6 j% b9 n% {& P
  929. ; http://php.net/date.default-longitude
    " m- b  D" D  P3 D% `: |: ]- O  {, b8 D! z
  930. ;date.default_longitude = 35.23336 c* r+ M. G- E! S6 R% ~2 v4 O6 B

  931. " [4 o7 h6 B  I) ?* t& Z/ ~2 C
  932. ; http://php.net/date.sunrise-zenith: R1 Z# j. @0 h+ ^
  933. ;date.sunrise_zenith = 90.583333- k! m3 `; g: [$ U% T
  934. ( i+ e$ U" y) G
  935. ; http://php.net/date.sunset-zenith, Y/ l5 B: _% z" v2 }+ E
  936. ;date.sunset_zenith = 90.583333
    ( a) K) M! ^+ }9 o$ ]/ q2 v) n
  937. ) D$ `+ D- @, K" d6 g  A6 t
  938. [filter]9 I. b2 U, G& u
  939. ; http://php.net/filter.default5 M% x# O# d8 X
  940. ;filter.default = unsafe_raw1 z& g# i# k  ~. x

  941. + x  ^3 W2 o. j* [3 d" [$ x1 E9 f
  942. ; http://php.net/filter.default-flags/ Z% f( e1 ?: I+ t  f5 @
  943. ;filter.default_flags =8 _/ C$ e: U  j, e
  944. , r# _; K  p" ^$ B& z
  945. [iconv]
    2 r' a" l( |! N4 S
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.9 t1 z# g. _( Z$ L: O# A3 Q  F/ _
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.1 i7 S4 s1 ], t! _2 p# J
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding/ `) S0 X6 c% f  s8 p
  949. ;iconv.input_encoding =
    , I( q1 `# T4 g- F6 I# E
  950. ! W. l! i, ^  R) e
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % B5 H4 U6 n2 L% x
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : {8 e' N9 D% l8 H0 e" L5 K6 r
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 t( B/ E/ N% ~
  954. ;iconv.internal_encoding =
    & [6 H2 m# m9 m( r5 v

  955. * }# S5 k" h3 a# ?
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) {1 \) L( T4 j
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( \! v* q+ T/ S9 E- O5 w- Z2 G
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding2 ~* f0 m# ]; |$ w" a( a
  959. ; To use an output encoding conversion, iconv's output handler must be set' r4 ?. H( k, h0 P
  960. ; otherwise output encoding conversion cannot be performed.
    / r: i) ]$ d% M( \  z+ k( L
  961. ;iconv.output_encoding =
    7 E7 f6 R# s! i/ Q& r7 a9 x( x

  962. & r9 M/ `: U# Y  Y. Y) b
  963. [intl]
    1 I& G$ K6 `7 R+ M2 H
  964. ;intl.default_locale =
    : u/ B) H  w, L7 _; D
  965. ; This directive allows you to produce PHP errors when some error
    ) B" y; l) D: {/ V! C
  966. ; happens within intl functions. The value is the level of the error produced.$ d  x9 k. J6 R) ~( V
  967. ; Default is 0, which does not produce any errors.! d( ^% V4 r' t9 Z# s& m# N
  968. ;intl.error_level = E_WARNING
    " [5 z! v3 x( G+ X
  969. ;intl.use_exceptions = 0
    ( O( T( E% u1 |9 \9 J
  970. . l8 Z- d; ~* _+ X6 ?, t3 n) o
  971. [sqlite3]0 `5 z& G7 f3 B$ s) M- I. c
  972. ;sqlite3.extension_dir =
    ! b* r3 O1 t) o! E- C) a

  973. ; H. R2 k1 o/ b% |  F
  974. [Pcre]
    ) _) A2 x' `+ t- b% v+ I- Q  L5 u
  975. ;PCRE library backtracking limit.5 s0 R' T, ^5 k% S& I
  976. ; http://php.net/pcre.backtrack-limit
    ! o8 ]/ e4 E( V& w$ f
  977. ;pcre.backtrack_limit=100000  x6 C/ p/ h) ^7 g6 t7 B# j4 N

  978. ' k1 c- f$ j2 e5 F
  979. ;PCRE library recursion limit.
    ) ]: L" G# I# s5 G3 Z% @
  980. ;Please note that if you set this value to a high number you may consume all5 G8 b  v! l9 d) k( p3 `+ I
  981. ;the available process stack and eventually crash PHP (due to reaching the3 w4 C& e+ s3 Q+ l, s  _( c) F
  982. ;stack size limit imposed by the Operating System).8 q: \% n- I1 S# x% z8 @! u
  983. ; http://php.net/pcre.recursion-limit, J8 @: M- b' G/ W) G
  984. ;pcre.recursion_limit=100000
    7 f8 r: Y4 R" X8 H
  985. - f3 u1 K) M+ I: K& `( r. N
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ' o1 K$ `$ H  _8 S- Y* l) I
  987. ;library to be compiled with JIT support.
    9 L$ G3 }1 ]$ z, W- I8 j7 V& E
  988. ;pcre.jit=1
    ! X1 a6 g/ b. g& u+ a

  989. ( C; B: \" v( V) N2 ^1 v
  990. [Pdo]2 k- c$ {& ^! [" V
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    4 X2 M9 \+ K' F; ]0 \
  992. ; http://php.net/pdo-odbc.connection-pooling
    0 K0 I5 a  I0 Z" p# p
  993. ;pdo_odbc.connection_pooling=strict2 A! u1 J" T6 y# Q% ]1 X5 C

  994. 5 _- |+ S, S) r; p7 C) W3 d
  995. ;pdo_odbc.db2_instance_name3 G, t# e+ I5 E! H% s  C$ o
  996. : f& F: ?" i8 B: K/ S
  997. [Pdo_mysql]3 T0 I. m$ i+ I6 N7 v0 k9 K
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 a8 N3 X  C$ r; u2 X" G
  999. ; http://php.net/pdo_mysql.cache_size
    + y2 M! z8 F9 |
  1000. pdo_mysql.cache_size = 2000/ m  _  ?7 [; l7 q( f$ d
  1001. 4 Y8 w1 ^1 i8 |( d
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 `2 _! b3 U5 ]/ q" b; X
  1003. ; MySQL defaults.' h# m/ M9 E' P7 H5 D
  1004. ; http://php.net/pdo_mysql.default-socket/ Z, b0 O! T7 I! G+ ^, U1 c0 T% H' m
  1005. pdo_mysql.default_socket=
    - z; V8 B/ o( B
  1006. 0 l% A7 W& D$ s. x
  1007. [Phar]" ^8 s' n1 G  m9 B* G
  1008. ; http://php.net/phar.readonly4 q  a4 y1 N" j+ k% N; Q% v- G
  1009. ;phar.readonly = On
    % J7 B% x5 t% G8 O4 y
  1010. 0 s2 \8 e# I( s' c5 J
  1011. ; http://php.net/phar.require-hash
    1 j9 o- B' [; H7 W; m
  1012. ;phar.require_hash = On
    - p4 E! y9 f% ]# U
  1013. 5 V! p) k" Z' F/ L
  1014. ;phar.cache_list =% D* R5 T1 ^; s, h
  1015. 2 H. S; l% R4 C) e" j- i8 Y
  1016. [mail function]' T2 |7 S7 m+ {& Z" m5 Z, K0 h( `+ n: q* v
  1017. ; For Win32 only.
    ' m' W# y2 k: s5 k
  1018. ; http://php.net/smtp5 X- X% |  D: F. V
  1019. SMTP = localhost
    / g4 d& W: N8 w2 J9 r& j3 s
  1020. ; http://php.net/smtp-port0 q9 f- f4 ~1 Z
  1021. smtp_port = 25# Z6 H8 E& D4 o  g# a3 S" Y

  1022. / P, j9 J3 d( n$ P9 x
  1023. ; For Win32 only.
    ) x5 r% Q. {# c! W8 l
  1024. ; http://php.net/sendmail-from
    & C, g4 G, j5 j
  1025. ;sendmail_from = me@example.com
    $ _3 ^5 T4 D. f2 W2 ?: I
  1026. # m' m2 @) ]7 b2 \( K
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 m; v) O" b$ @6 A6 M6 u. i
  1028. ; http://php.net/sendmail-path
    6 [5 O2 h0 ~9 U4 }5 c/ m! r3 S
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    4 `. n, @* t- \* t/ Q' M

  1030. ) e, h) e! m% S& Z6 o
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    1 h. i) y! ?+ v  L# {* M
  1032. ; to the sendmail binary. These parameters will always replace the value of# j& m7 x+ |6 h" b$ @# k1 Q( X
  1033. ; the 5th parameter to mail().0 p% D" L! G0 S9 o  ]
  1034. ;mail.force_extra_parameters =, n" j0 B& s# j+ x

  1035. 0 i0 M! p/ h8 A- ~7 C
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    . E7 W7 u8 a6 n8 G; W+ W" H
  1037. mail.add_x_header = On
    , t* X' @9 U$ j. Z5 s

  1038.   W% c+ N8 N5 T4 I
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    2 P; B( t3 w9 r$ T
  1040. ; the full path of the script, line number, To address and headers.1 {( a- _  o8 V, |
  1041. ;mail.log =
    + _  e6 v1 }* J" J7 V/ }$ m1 E  s
  1042. ; Log mail to syslog (Event Log on Windows).
    7 Q( ~; s2 \: b$ V- e, U& x
  1043. ;mail.log = syslog
    2 @3 z& V$ ^& v( i, [

  1044. 2 u& J% e) z3 F# R
  1045. [SQL]' v: e0 B8 j* ~- m
  1046. ; http://php.net/sql.safe-mode* L( M5 v4 C$ A9 M
  1047. sql.safe_mode = Off
    ) H. X! S( H& t, _" i7 q

  1048. ' g) ?2 A7 ?( g% o3 _# o
  1049. [ODBC]
    ) Z8 D% b& ^3 d% }
  1050. ; http://php.net/odbc.default-db
    ' @( C$ u, I) b! y
  1051. ;odbc.default_db    =  Not yet implemented
    ( c) V6 @, U% j1 X% n+ p  k. F
  1052. - ^) I" X. K2 V0 E8 N  k1 M
  1053. ; http://php.net/odbc.default-user: |9 u; c  @6 W# [9 W: h3 j
  1054. ;odbc.default_user  =  Not yet implemented$ \0 |) h0 Y3 q. ^( c1 M
  1055. 8 Z% F0 K" M9 w
  1056. ; http://php.net/odbc.default-pw
    - y" q, i1 ^: C$ u. ~2 v
  1057. ;odbc.default_pw    =  Not yet implemented
    0 G3 v- G5 a+ O; M, ^
  1058. * r; m6 e, a- ?2 j; z! y, L. b
  1059. ; Controls the ODBC cursor model.
    3 |5 L8 j8 Q% v6 h) _1 X# U1 |
  1060. ; Default: SQL_CURSOR_STATIC (default).9 I" w5 V5 P# D! t! u4 x+ l8 R* W
  1061. ;odbc.default_cursortype
    - E# ]& h, R' t& _5 B; Q

  1062. 1 V) F% v2 c; N4 ]/ T& y
  1063. ; Allow or prevent persistent links.- _- j6 u6 J0 f+ ^# s+ S
  1064. ; http://php.net/odbc.allow-persistent
    / w+ P0 j4 V1 Z( D2 t+ n1 W
  1065. odbc.allow_persistent = On
    6 ?0 o* a) r) B1 c8 e
  1066. + |, t) [2 y# J7 O  _! ^0 k' r
  1067. ; Check that a connection is still valid before reuse.7 Q, i1 r  b8 J
  1068. ; http://php.net/odbc.check-persistent
    . H' |* T7 c4 o- z: n
  1069. odbc.check_persistent = On0 z) q  M1 w8 ~0 s$ x2 H
  1070. $ @6 |6 r: a6 }+ L
  1071. ; Maximum number of persistent links.  -1 means no limit.
    # B: _5 S9 u/ p: \  Y0 b
  1072. ; http://php.net/odbc.max-persistent
    4 W+ d) \! S" l( n/ a6 Y
  1073. odbc.max_persistent = -14 F' b7 x  f  A; F2 V* V/ j

  1074. 2 i* z: U, ^, X6 \) [
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." @, o1 f. {$ I& @4 {
  1076. ; http://php.net/odbc.max-links
    9 f% n4 H) V- j) n8 ]2 \0 k
  1077. odbc.max_links = -11 x8 e# C( j7 }- z5 e3 w/ @

  1078. . y/ h8 J) t6 v' {2 Z5 S
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 w5 j" X0 ?4 L8 D( V) e' b
  1080. ; passthru.
    $ P( I/ T. i) q0 e
  1081. ; http://php.net/odbc.defaultlrl
    / |0 x8 l) x  M3 J4 h/ ]# ^( ?
  1082. odbc.defaultlrl = 4096
    4 r/ @/ ?& X1 s. d+ D  Y

  1083. ) h  @% Z* `/ W
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . x* H- z6 n3 M" b  n3 ^
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    $ q! q; b' a, F  a/ j% Y
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode9 B2 Q! z5 j4 X- Q& X3 B+ N2 l
  1087. ; http://php.net/odbc.defaultbinmode
    ' ]5 v  P8 p; L! _& \( c- x0 n
  1088. odbc.defaultbinmode = 1
    / K7 ?  d4 c1 R6 y
  1089. & l& G) h$ X0 x' u6 A
  1090. ;birdstep.max_links = -1
    : h7 G) P6 z7 Q$ g" b; [+ E' C
  1091. 9 p, g: a$ M" u! u4 G2 @$ X& J3 h
  1092. [Interbase], e2 x7 y0 L, |; E7 x& ]
  1093. ; Allow or prevent persistent links.
    + U1 L$ I6 o9 q9 X$ }, I
  1094. ibase.allow_persistent = 1. t6 B% l" p' |# [4 u& [
  1095. 0 ^  a5 t. O6 [. ^- ]! b
  1096. ; Maximum number of persistent links.  -1 means no limit.2 ], n  i% k$ Z6 a% [
  1097. ibase.max_persistent = -18 f8 @* s  j8 T7 \  V2 D

  1098. 7 l$ w  d# @) S& W' f2 q+ H: O# K" Q! H
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # [& s4 r% C4 X% N/ _: d! L  `" [
  1100. ibase.max_links = -1
    ! ^+ G6 r' o7 O4 u) D

  1101.   T( A" J+ y# i: b
  1102. ; Default database name for ibase_connect().! }3 I- W/ C% L: ]  R, }
  1103. ;ibase.default_db =/ g/ H7 _6 m# m

  1104. 0 T" u; W# p2 ^  ?! `& M
  1105. ; Default username for ibase_connect().4 X; J4 F  J2 W4 b! J: U4 y7 C7 O
  1106. ;ibase.default_user =& V' C5 v9 V4 U/ u, h6 ^4 G

  1107. 4 M1 D8 m$ D) s- x
  1108. ; Default password for ibase_connect().6 ^1 U7 Z/ ]& P6 |0 N+ e4 q
  1109. ;ibase.default_password =6 S3 c9 a1 E6 j9 a

  1110. ) v4 h' ?# J9 n
  1111. ; Default charset for ibase_connect().
    ' ?& t; c4 G% q* ]
  1112. ;ibase.default_charset =+ J/ g7 ~" z/ u, @+ e
  1113. 2 \9 t) n( u; D8 E7 m$ i
  1114. ; Default timestamp format.* ?' s0 k7 @! M, {' }" ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") f5 b$ a1 [# K

  1116. $ W7 [8 T, J( j$ R& L! k7 t
  1117. ; Default date format.. G- e  ?0 U6 F
  1118. ibase.dateformat = "%Y-%m-%d"
    - |/ g$ Y( p* U2 X: K
  1119. * B, d+ [/ o: R( j! d4 w
  1120. ; Default time format.0 {5 u; j$ f7 f0 {
  1121. ibase.timeformat = "%H:%M:%S"
    ' q( m! @6 |4 y, |% S$ A

  1122. % _' U, Q+ z9 }- s1 a
  1123. [MySQLi]" n) t( h1 W; p/ V) h: o

  1124. / \% j- W! e1 ~9 r3 W
  1125. ; Maximum number of persistent links.  -1 means no limit.
    + V9 b2 k& J% H1 g* B
  1126. ; http://php.net/mysqli.max-persistent
    & @( t# t$ B- n6 Q2 v
  1127. mysqli.max_persistent = -1# P' Q& ?* L7 v. {4 L: a* [  P" J
  1128. , g* J9 ^) \# Q4 C( k; ~
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; ^% }0 `7 o; E( I
  1130. ; http://php.net/mysqli.allow_local_infile
    3 i: z, P& r  q1 ?% O9 l2 }( V
  1131. ;mysqli.allow_local_infile = On% M' S8 }2 y# }" U4 F: f+ V3 ?, p4 {
  1132. $ l! E# j( }6 e- U/ G
  1133. ; Allow or prevent persistent links.! G* R- v! T# s
  1134. ; http://php.net/mysqli.allow-persistent
    - h( N; W3 G6 _5 W) O
  1135. mysqli.allow_persistent = On
    ; T0 s% q/ D- D

  1136. 2 i1 d' D/ m; `
  1137. ; Maximum number of links.  -1 means no limit.
    + w- v" d5 u( E: @
  1138. ; http://php.net/mysqli.max-links
    % A2 L' F3 g: C- a) e
  1139. mysqli.max_links = -16 x* x$ l, a/ o5 j

  1140. 4 Y) ?6 S/ `/ u6 o' R5 t2 Y
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + [" s* R# [8 w
  1142. ; http://php.net/mysqli.cache_size+ w% a% y7 H" ]  H% J  a8 Q
  1143. mysqli.cache_size = 2000
    4 D5 Z8 U& }" m# `" b

  1144. 2 }2 N. v4 i+ y; t1 K
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use4 ~$ P+ R& ~9 P
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: r& S- L" F6 P! U
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ n" j. p7 P* Q8 o/ {# N
  1148. ; at MYSQL_PORT.
    % I: O8 t$ t- P& D7 M
  1149. ; http://php.net/mysqli.default-port
      {4 r& }  Q9 Q2 F: Q
  1150. mysqli.default_port = 3306& s# S' d2 i- u6 \! |
  1151. 3 r" m0 e. a$ B6 _* e. K, m
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) Y1 V( a& R+ z3 p/ U3 w9 P) H6 b
  1153. ; MySQL defaults.
    8 l# k6 h( z  H3 H) C
  1154. ; http://php.net/mysqli.default-socket
    9 w" Z1 n$ _2 F3 c
  1155. mysqli.default_socket =
    " c4 l( A* w6 D6 e  |% s

  1156. 1 Y# x, ^& N' B0 l, p" N$ z( m
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).8 c. B" x/ s, G, J! a8 |+ e+ D
  1158. ; http://php.net/mysqli.default-host
    0 S; M9 `! B  s. f
  1159. mysqli.default_host =8 i! L# y! U( p& o& o7 M: B

  1160. * M+ A" F) {5 Z# L
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).! q/ F) C1 N0 M. O! j- N* m. k
  1162. ; http://php.net/mysqli.default-user+ {7 J& I3 ^+ p3 O& P
  1163. mysqli.default_user =; `; n" |4 p! @) f6 @
  1164. ; B" v' R/ }! j& ^3 Q5 T
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    $ g, w6 v# H  r7 A1 N) b) ~6 B
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    , o1 f, z# g/ t- |
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")0 E) A: ]4 Q/ h  K3 w/ c
  1168. ; and reveal this password!  And of course, any users with read access to this
    ) Z5 m1 D1 H5 c0 R
  1169. ; file will be able to reveal the password as well.
    + h9 w. Q( |1 L) f
  1170. ; http://php.net/mysqli.default-pw
    ; C' |$ q" ~( c7 `
  1171. mysqli.default_pw =9 ?, k. h# @: b4 z6 Z+ ]

  1172. * h% F0 N4 M  q% n& v4 A
  1173. ; Allow or prevent reconnect
    8 j) ~: g& c/ b* L% Y0 Q" G
  1174. mysqli.reconnect = Off' N% \5 \% U4 [5 d9 E. p5 K3 F

  1175. : i. H. q  u8 a2 f0 G* T, t( r
  1176. [mysqlnd]5 Z' a/ v, a0 o/ W0 `
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ! p$ Y: l) j. @+ P  q0 u# `
  1178. ; used to tune and monitor MySQL operations.
    1 h: _; V+ m+ c. y$ D' f
  1179. ; http://php.net/mysqlnd.collect_statistics
      h# F/ x, |0 @: A) u9 P8 L! G
  1180. mysqlnd.collect_statistics = On7 N" M9 J3 x/ h4 W
  1181. ) U/ U* W) r+ a: f/ K. \
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 Q) A% T; m( |' l+ f
  1183. ; used to tune and monitor MySQL operations.
    . |1 J) @# {0 @& c. ^0 l
  1184. ; http://php.net/mysqlnd.collect_memory_statistics2 n7 I3 e  R, q$ Q% n' s' \5 `
  1185. mysqlnd.collect_memory_statistics = Off
    / z' l- c' U9 E  b# x

  1186. # p% _* i& `& ^4 S8 @
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    # M* m, `; k1 B" y
  1188. ; file.. K7 _5 N3 Y6 n8 P/ P& l7 G
  1189. ; http://php.net/mysqlnd.debug
    , ]# |  B) G( m# \9 J( X6 o$ u7 O
  1190. ;mysqlnd.debug =
    + K3 `, t. ^8 O; m% s* Y0 e

  1191. $ V* s3 ^: b: o, U2 T1 e2 W, [
  1192. ; Defines which queries will be logged.5 O. B# s- ^) G. Q* g
  1193. ; http://php.net/mysqlnd.log_mask
    8 |6 L: q4 I- A/ k+ E
  1194. ;mysqlnd.log_mask = 0
    ; t3 `0 E' w1 ^! |
  1195. $ A6 a0 b1 O8 i# \' i- `
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.' X2 V$ }, T% K3 L: N( L
  1197. ; http://php.net/mysqlnd.mempool_default_size& r6 I5 p. |$ p, k$ `
  1198. ;mysqlnd.mempool_default_size = 16000
    ' `* Q1 d- J$ l+ f8 }8 `

  1199. 0 d$ ~; U2 M, U7 _
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: D) f( o" t: N3 s1 H- q
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size+ S! Z, l7 F; h* g8 V/ K: L
  1202. ;mysqlnd.net_cmd_buffer_size = 2048  I( Q5 r* `7 D3 W

  1203. # k, i) W: S- t  m) W
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in7 D+ q# ^" l4 S
  1205. ; bytes.. [9 z: ~6 Q/ z# h$ Z0 p' `0 \7 b
  1206. ; http://php.net/mysqlnd.net_read_buffer_size' d$ c6 ~3 j+ C6 }& e, T
  1207. ;mysqlnd.net_read_buffer_size = 327685 X6 ^* Y' N" B& \" K3 w

  1208. ! N& b, y* I- G. }* h
  1209. ; Timeout for network requests in seconds.
    : A2 D+ n. Q6 g$ q
  1210. ; http://php.net/mysqlnd.net_read_timeout. g$ b) p. W4 f
  1211. ;mysqlnd.net_read_timeout = 31536000( `$ L& e% b, w) ~) g+ u5 O" T

  1212. 3 u6 A# n6 u2 [5 S
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    & d: B3 O7 p3 j: i
  1214. ; key.
    ' ?5 k& h3 ?, o, G
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 l( I' `" U' B+ ^. l2 K  `0 X5 M
  1216. ;mysqlnd.sha256_server_public_key =: Z1 X# F6 T: a! a: s+ J; B3 V

  1217. / W: \3 A$ A4 j, Q- ]
  1218. [OCI8]
    7 @' s% j5 i; B2 H+ B* T; B- M4 g

  1219. " y5 Q% B1 r& e% o. h
  1220. ; Connection: Enables privileged connections using external
    & B" e1 m2 r* Z: G  T  {5 _
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    , c, a+ a4 y4 X) j
  1222. ; http://php.net/oci8.privileged-connect
    * ~3 l1 `3 T1 X. H& q
  1223. ;oci8.privileged_connect = Off: A/ N0 I* J# D  W# q7 I0 O! V* G

  1224.   E8 J7 t$ [1 P( R+ @
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    - D+ j+ ]$ T! b2 G  N
  1226. ; process. Using -1 means no limit.
    : M; o6 d. i9 M4 W. D" C
  1227. ; http://php.net/oci8.max-persistent" |# Y: ~  P( B  J. \
  1228. ;oci8.max_persistent = -1" G( S& j4 a7 l

  1229. $ O$ L  M6 O: x4 [- {" L1 I# h
  1230. ; Connection: The maximum number of seconds a process is allowed to5 `0 `* n- w3 g- E( t& @* S0 U
  1231. ; maintain an idle persistent connection. Using -1 means idle) P) g4 a2 q" @# ~, G' P9 o' q/ y
  1232. ; persistent connections will be maintained forever.9 H' W# Q! a% U( G: [
  1233. ; http://php.net/oci8.persistent-timeout
    : q3 i+ i8 L2 b7 D" a& L+ k
  1234. ;oci8.persistent_timeout = -1: d% O& L" e/ |, U

  1235. " z+ N2 Q+ q" h/ L- l
  1236. ; Connection: The number of seconds that must pass before issuing a
      w. u# c9 l9 {8 C/ ^6 b
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # D7 m9 ?/ ?- x
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables' L1 ^( m1 u/ x1 ?* G- \
  1239. ; pings completely.* u0 z; T- V0 h9 @9 R' ]
  1240. ; http://php.net/oci8.ping-interval
    8 r. {6 B5 c) @4 s& R$ K
  1241. ;oci8.ping_interval = 60
    4 A! ?% c) w# Z% F7 H0 ~

  1242. ' n, P" c0 @  z) i# H5 E  w
  1243. ; Connection: Set this to a user chosen connection class to be used  T8 ~5 G- E2 P
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    3 S5 A+ U/ i: X2 M
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    7 w( q7 {9 t6 ?/ e/ D5 ]/ }0 M
  1246. ; the same string for all web servers running the same application,
    - {7 H1 w. y- s$ l! o0 H$ M
  1247. ; the database pool must be configured, and the connection string must3 v+ C9 X2 k) o* U7 H5 r! {
  1248. ; specify to use a pooled server.
    2 ~  U$ S% [+ r
  1249. ;oci8.connection_class =+ y" f# M9 m) _& R  ~

  1250. # s; `1 W4 H7 W  A, n3 j
  1251. ; High Availability: Using On lets PHP receive Fast Application
    / ?  `! a, T7 w8 y- \  e+ O' m
  1252. ; Notification (FAN) events generated when a database node fails. The9 A' ~) m; D* f! ]
  1253. ; database must also be configured to post FAN events.4 v7 ^  `4 n5 |4 q' O
  1254. ;oci8.events = Off2 U& g# c  B8 y9 o$ s
  1255. 7 M9 F; R7 d/ c* H7 \( }8 M/ m/ g
  1256. ; Tuning: This option enables statement caching, and specifies how
    7 ]5 a7 F- U5 d0 E' F6 u) R' f
  1257. ; many statements to cache. Using 0 disables statement caching.
    , D" ^$ [" f7 Q. n- B5 `, o
  1258. ; http://php.net/oci8.statement-cache-size
    / S# B' N) |( g
  1259. ;oci8.statement_cache_size = 20
    ! D1 M# G& F' L& d7 i
  1260. " j$ M: Y* K+ x$ F4 w& o
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    - f" k9 g5 }& C4 c5 A$ R6 b
  1262. ; rows that will be fetched automatically after statement execution.& g9 h6 [3 r" k9 l# T& p
  1263. ; http://php.net/oci8.default-prefetch
      b# d/ x$ P9 a0 c
  1264. ;oci8.default_prefetch = 1008 r- T; T2 B( y8 X4 |0 `

  1265. 0 W+ w2 z# {# t  N/ O: n
  1266. ; Compatibility. Using On means oci_close() will not close9 G6 e& `0 G* z1 Y# {" d
  1267. ; oci_connect() and oci_new_connect() connections.
    # K+ H5 y5 t. v  Q/ R
  1268. ; http://php.net/oci8.old-oci-close-semantics6 ]$ }, ^4 c, E. a; q2 y7 [4 n
  1269. ;oci8.old_oci_close_semantics = Off, e* \2 b1 p1 S, w0 f# j
  1270. 1 e; l  Q2 P: C6 V; k, r$ f* t3 H
  1271. [PostgreSQL]
    $ Z6 Y' _/ z  M
  1272. ; Allow or prevent persistent links.
    6 c! W6 d1 M# Z) M
  1273. ; http://php.net/pgsql.allow-persistent
    1 i) b0 c9 D. a  [+ c8 P  j, F4 s; S* ?
  1274. pgsql.allow_persistent = On* y1 D. `2 y; Z, H* I

  1275.   g1 A. p" D/ B- @! H2 [$ T1 U0 w
  1276. ; Detect broken persistent links always with pg_pconnect().
    * y: g: B' S# J- C( c
  1277. ; Auto reset feature requires a little overheads., V! j# [6 M! _" y, l/ Z- @, y
  1278. ; http://php.net/pgsql.auto-reset-persistent" ]+ N$ Y8 k8 q% z' P1 B. Q5 I, ^
  1279. pgsql.auto_reset_persistent = Off
    / A* W" r$ U0 K
  1280. 5 f  C; y: B" f2 Z/ T3 M
  1281. ; Maximum number of persistent links.  -1 means no limit.
    8 i( R& g$ _8 `  a# B3 ]) H1 g8 b5 [
  1282. ; http://php.net/pgsql.max-persistent6 t/ h7 J- i- T7 U
  1283. pgsql.max_persistent = -1
    - r/ }" Z0 A& ]9 R3 b  e# ^" T/ G/ {
  1284. 6 v& ~" x9 `% d0 p6 a3 D8 m! i% X
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit." ]/ U$ I" _& B6 F! l% K& L
  1286. ; http://php.net/pgsql.max-links9 R8 |& s8 u% l2 {& n" \$ q
  1287. pgsql.max_links = -1" E3 T! }& A6 M! N) B* R

  1288. ) T1 k+ E9 b9 Z
  1289. ; Ignore PostgreSQL backends Notice message or not.1 }$ ^3 J1 w, n
  1290. ; Notice message logging require a little overheads." m$ s. y; Q! d
  1291. ; http://php.net/pgsql.ignore-notice
    7 j7 B+ ~3 T9 R' v
  1292. pgsql.ignore_notice = 0
    & M# z$ u/ W; G( Y/ D: {  A+ p

  1293. 1 b- A# s, ^0 n- Q/ g+ T
  1294. ; Log PostgreSQL backends Notice message or not.- D" M+ k6 ^+ S( y
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    . ]% @9 R2 h7 z9 {' R) i- I' q
  1296. ; http://php.net/pgsql.log-notice9 Q( J, q7 q; ~& p
  1297. pgsql.log_notice = 0: u  k; ~# P" Z4 Z+ L
  1298. ( T; r: F4 W# A1 I
  1299. [bcmath]2 |- l3 v$ `+ z3 Z0 O& w; y2 ?
  1300. ; Number of decimal digits for all bcmath functions.
    & K5 j6 I* t  g: B3 G
  1301. ; http://php.net/bcmath.scale
    ) j* f: B) T4 p, D
  1302. bcmath.scale = 0
    . e0 o% A" f. {

  1303. * t/ y- ]2 L! [4 R
  1304. [browscap]
    * k' A7 @, Q; s* o
  1305. ; http://php.net/browscap+ U$ ?% S/ p) B! `
  1306. ;browscap = extra/browscap.ini  \( r' V$ \, m+ L
  1307. 2 ?3 K9 z7 \/ M7 H6 T7 m  b( \! J
  1308. [Session]
    - Z8 {1 ~5 @5 F' Y; k( ]2 g  D
  1309. ; Handler used to store/retrieve data.6 T# D& @8 u8 A( D
  1310. ; http://php.net/session.save-handler! l8 {# `( v( {6 X. b* b
  1311. session.save_handler = files9 h4 Y2 F6 o! W" a; ~2 x( Q
  1312. 6 M- y* I( j% B4 c2 l: ]
  1313. ; Argument passed to save_handler.  In the case of files, this is the path. q$ w- b! {  A1 _$ i/ L0 a3 ]
  1314. ; where data files are stored. Note: Windows users have to change this  m: n) d6 Y4 i' K
  1315. ; variable in order to use PHP's session functions.
    & i& z* X9 p$ f1 w8 ]
  1316. ;9 z6 u  K; R( R: Z8 M
  1317. ; The path can be defined as:
    * w$ P) ^: _1 a0 z4 U
  1318. ;( R1 x$ S, d6 m" U5 d$ t8 Z- @
  1319. ;     session.save_path = "N;/path"
    ' S, {0 k7 D8 S+ _
  1320. ;
    % S) r8 S- [8 c; m/ L5 v
  1321. ; where N is an integer.  Instead of storing all the session files in; i6 c! f. N+ C! l
  1322. ; /path, what this will do is use subdirectories N-levels deep, and. I( p" U3 o7 u( D6 y2 d4 X5 L% j
  1323. ; store the session data in those directories.  This is useful if0 d( v: i- y4 {2 m6 V8 s& S" K) L
  1324. ; your OS has problems with many files in one directory, and is
    0 Z/ L, F* R; U' V( w: v4 l& l
  1325. ; a more efficient layout for servers that handle many sessions.
    0 y1 \3 x) X* Q3 A9 b! I
  1326. ;& k4 ^9 u0 f% O4 C& m
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    0 v/ i$ a& `0 s, w2 z
  1328. ;         You can use the script in the ext/session dir for that purpose.
    0 b7 [6 w* l  M+ c/ D: ~3 z
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    " O, ~' d% l) p" W
  1330. ;         use subdirectories for session storage
    ' \" W# C2 A/ _! z3 N; @
  1331. ;
    / H5 {+ P) f$ j" o
  1332. ; The file storage module creates files using mode 600 by default.
      \, F! G9 T" t3 a$ [. v  X
  1333. ; You can change that by using, o$ A3 N6 f% r; n0 W1 _2 E9 U& P& d
  1334. ;) E% F1 g) C& d
  1335. ;     session.save_path = "N;MODE;/path"5 i5 R2 o+ u& K" }6 Z
  1336. ;
    ! L( \) I, U' U, \8 |: u9 H
  1337. ; where MODE is the octal representation of the mode. Note that this, W7 `0 _. O  K. d- C6 |5 @
  1338. ; does not overwrite the process's umask.
    * }: Y3 k! S/ W/ n4 f
  1339. ; http://php.net/session.save-path& P, b# b, Q+ W
  1340. ;session.save_path = "/tmp"
    7 S# e0 Y2 I% _1 k! ?7 N

  1341. 7 A% d; _: c, p7 i: {% M
  1342. ; Whether to use strict session mode.8 S8 l4 r4 [4 y& |! m9 ?( ~9 z9 E
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate# V" ?0 b0 m& Z/ w: F0 l9 |
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects. Q1 l3 z5 B4 E" ~2 c% G
  1345. ; applications from session fixation via session adoption vulnerability. It is
    - @( ]$ H  m0 B' @+ A/ O# l8 L
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " F" U3 b7 E! l8 m  _# V5 n7 g; w1 M
  1347. ; https://wiki.php.net/rfc/strict_sessions; A- b5 d0 R4 ^+ J  a" b2 I
  1348. session.use_strict_mode = 0
    & y) \, C: p/ u9 n0 I
  1349. , f' j7 o1 d1 f1 g5 e  i
  1350. ; Whether to use cookies.
    9 m- C) b. _% K" B5 o3 X1 Z8 {8 C
  1351. ; http://php.net/session.use-cookies
    " e$ p0 y6 _" A$ K: c
  1352. session.use_cookies = 1# u* Y6 `0 N1 @% g
  1353. 5 v. n- f  t. }7 M5 s/ S. d1 a
  1354. ; http://php.net/session.cookie-secure
    ' ?# e% l  d5 S5 H
  1355. ;session.cookie_secure =$ Q& e6 B' L$ c1 U! ?1 V1 J7 |; ~

  1356. 3 x0 a! _0 z7 l1 P2 F
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 X0 `8 e" o& H5 G
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    $ V2 V$ l* I4 A, `# p5 t+ l
  1359. ; session hijacking when not specifying and managing your own session id. It is+ Y( a0 q2 {7 i% \( l
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.! M* Y1 g0 ~/ F% x6 x% m; [% w
  1361. ; http://php.net/session.use-only-cookies
    * K1 l: g; N: S' [
  1362. session.use_only_cookies = 1
    # ~, Z6 X1 S# P, ]) L% G$ m7 ]
  1363. 7 ^1 e& U6 _4 B  L' f! N
  1364. ; Name of the session (used as cookie name).: F- r& d4 T0 X9 L& l  Q4 b
  1365. ; http://php.net/session.name6 p. z- m  R. h* {
  1366. session.name = PHPSESSID4 i* }% t/ \2 R5 n- ]3 ]) E( N
  1367. * I8 K6 I3 g+ ^' z7 o5 z8 P
  1368. ; Initialize session on request startup.* t& b9 S4 @: e" F$ E  j
  1369. ; http://php.net/session.auto-start  m. i6 f+ y: X6 S/ m8 q8 P& v
  1370. session.auto_start = 0
    , Z6 [: {% n: e& i3 n  o. @
  1371. % k- f* |0 x+ C! B
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    : e* y3 t( R" b$ a' L
  1373. ; http://php.net/session.cookie-lifetime( h5 D0 u2 {. r3 \+ Z5 R
  1374. session.cookie_lifetime = 0
    ' p" e. b; j/ l# @" A: u5 V
  1375. 5 r$ A: ^! A; S, T. S+ N
  1376. ; The path for which the cookie is valid.
    / [$ f4 P; p! l) J6 I& d. @
  1377. ; http://php.net/session.cookie-path: P" |' b5 l; c' I2 X
  1378. session.cookie_path = /
    % M$ |9 N: O2 @# D7 @' q

  1379. 3 c' j, E- x; E' I1 F. ]/ S  m
  1380. ; The domain for which the cookie is valid.4 v  v, m2 {" E5 X9 B1 R3 B6 w
  1381. ; http://php.net/session.cookie-domain
      b0 N  j$ a) f5 M" t9 X
  1382. session.cookie_domain =8 q7 E4 V+ ^( y/ v6 d+ ?6 f( Y

  1383. 6 f% I! l, ?9 w% D% i
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    8 A' H7 s9 x2 U/ N, l2 }
  1385. ; http://php.net/session.cookie-httponly4 B( T9 ?6 q$ w! O% z- X/ o/ u
  1386. session.cookie_httponly =! H/ Q/ G6 t# x! v; U- h

  1387.   i# w4 Z' o2 J- n
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.9 {% s3 y' d" s; h- f5 \# k
  1389. ; http://php.net/session.serialize-handler
    5 @$ g  s. V3 ]! H7 @3 M2 @% q: r
  1390. session.serialize_handler = php# u1 E1 e+ T& c. a; y: s5 x
  1391. $ a2 z+ z; O& C( W# \: ^5 q
  1392. ; Defines the probability that the 'garbage collection' process is started
    3 w+ V$ `7 q# n# t9 ~
  1393. ; on every session initialization. The probability is calculated by using0 o3 u4 u' q; _' g0 e' P: h
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    2 c2 ]% _- T% x1 l0 V4 l# s
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    . r5 N/ W1 K7 r: J6 v0 b1 ]
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + E: F/ W, U6 z9 k3 g4 \
  1397. ; the gc will run on any give request.
    9 N( j* x2 @$ P& D+ \% b# w
  1398. ; Default Value: 1
    ( \1 x: p; o( P+ j  T
  1399. ; Development Value: 1: \5 y, U4 n; b3 S
  1400. ; Production Value: 1
    " @/ h% W, @: i4 q/ k! j
  1401. ; http://php.net/session.gc-probability
    ) ^8 c4 P1 M% u* O7 A, T4 s3 E
  1402. session.gc_probability = 1& i$ M7 ?7 S: E0 o# Z, G1 P
  1403. % [/ G- F. s6 k3 w6 W, X4 ^/ h* R
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ! i( i0 Y# B6 B) p4 z* [
  1405. ; session initialization. The probability is calculated by using the following equation:
      }# J% P1 O9 O
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ; t  M8 M+ r0 f& H
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    4 e9 }7 j* }2 F3 a
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 s4 N3 i: J  Q: S
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you* p0 M0 Q0 L, f, S
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( V8 {9 v: @2 \: W  `
  1411. ; this is a more efficient approach.3 ?6 M/ ]/ f) v" h7 X
  1412. ; Default Value: 100' O: e- d. P3 I: Y
  1413. ; Development Value: 10002 I, l) r2 g! |0 [2 G9 S& [
  1414. ; Production Value: 1000
    / ~8 r& u4 Q2 L. i3 Y
  1415. ; http://php.net/session.gc-divisor
    . s; T  U! Z5 l
  1416. session.gc_divisor = 1000
    + K0 @# @2 l0 z! p/ r% ~
  1417. ( T; s# O9 _9 R5 I- `( S% d
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and1 A+ Y' `) H2 U$ U  y
  1419. ; cleaned up by the garbage collection process.
    " {8 T  @/ N1 M; U% l
  1420. ; http://php.net/session.gc-maxlifetime, ]1 |7 W+ G( N& t# ]
  1421. session.gc_maxlifetime = 14409 _  B) Y$ e& }  a
  1422. $ y% o% P& O) K  g9 B
  1423. ; NOTE: If you are using the subdirectory option for storing session files2 x+ i, u: j7 B$ a3 j2 _0 o4 V
  1424. ;       (see session.save_path above), then garbage collection does *not*3 I; Z9 i* k$ H+ V
  1425. ;       happen automatically.  You will need to do your own garbage" @$ `- e. Z* w6 R$ I# x
  1426. ;       collection through a shell script, cron entry, or some other method.- C6 s  d- M: C
  1427. ;       For example, the following script would is the equivalent of
    & s  q2 ~4 ^; Z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    + X5 M- d, x/ q% V
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / e9 l$ Y: K/ s; Z% G' H8 p# N2 \

  1430. " I! [( n4 ]4 t
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 J, i; O" N+ g; U7 ]  u+ i) s
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    + @" X' z# b7 @$ D7 z) i
  1433. ; considered as valid.
    + H( q  t8 l% d, B1 Z9 s
  1434. ; http://php.net/session.referer-check
    . o2 f4 C) q4 i. Q' y7 h
  1435. session.referer_check =
    # `6 o' y% t! X% w' {! ~
  1436. 5 q! c6 c! l; V% m$ Q* b
  1437. ; How many bytes to read from the file.4 @3 U6 p! K0 |4 c) q" d2 M) D
  1438. ; http://php.net/session.entropy-length
    ) F8 B& M# V2 j
  1439. ;session.entropy_length = 32) D! ?: n3 l1 |2 `! [6 d8 V1 L

  1440. 1 i  t6 M( x0 A$ a
  1441. ; Specified here to create the session id.' F8 r) ^! `2 d  d; S1 t
  1442. ; http://php.net/session.entropy-file. W% N1 I2 v( w- i
  1443. ; Defaults to /dev/urandom
    6 A( ^! h% c3 U1 b% r
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    4 ?* ^) c7 ^, b  T
  1445. ; If neither are found at compile time, the default is no entropy file.( p. J" c# a4 l" V+ p0 k
  1446. ; On windows, setting the entropy_length setting will activate the
    3 u6 r& J7 r# N. c
  1447. ; Windows random source (using the CryptoAPI)
    ( c0 w1 z, N% D/ A9 A: \. W  O
  1448. ;session.entropy_file = /dev/urandom3 s# l! o# D  o) R5 B1 I

  1449. 0 z3 G3 M' O9 Y2 f7 O$ R, E
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects5 x1 z* H. s# N  f) O* Z+ ~4 |
  1451. ; or leave this empty to avoid sending anti-caching headers.
    & M* l" l% l# T6 r# O
  1452. ; http://php.net/session.cache-limiter
    ) P9 {' B0 }) h3 }# a
  1453. session.cache_limiter = nocache" S$ W  s2 @3 V! g) D
  1454. 5 ~. J, S& j% E6 f
  1455. ; Document expires after n minutes.3 a) p6 X6 j+ M6 l# U2 D
  1456. ; http://php.net/session.cache-expire
    . U0 ?8 s8 s4 T+ B
  1457. session.cache_expire = 180
    ! v" @+ j! ]- Y, L2 L/ o

  1458. 3 \, f2 v7 i9 ~( a
  1459. ; trans sid support is disabled by default.7 N  x0 |1 L7 P: R3 s& k' w  s: H
  1460. ; Use of trans sid may risk your users' security.
    / t8 n" j1 u! p3 W: Q2 w& E# n
  1461. ; Use this option with caution.
    * h4 W0 _  Z& ?) \1 q3 v0 Z
  1462. ; - User may send URL contains active session ID( h& I+ c+ X$ |) R
  1463. ;   to other person via. email/irc/etc.
    7 J" {# ^1 t4 {, x- i
  1464. ; - URL that contains active session ID may be stored! m( S  e2 x8 \
  1465. ;   in publicly accessible computer.
    ; |% f) h6 @5 m" n
  1466. ; - User may access your site with the same session ID) {+ l3 O4 l4 \: o6 v! \% R! g
  1467. ;   always using URL stored in browser's history or bookmarks.
    , }; f  l) M1 @' M5 j
  1468. ; http://php.net/session.use-trans-sid. L, E1 N2 r& R
  1469. session.use_trans_sid = 0
    3 }( h, \8 k* |: O  L
  1470. 8 X/ M  S! }& a9 Y& m/ [
  1471. ; Select a hash function for use in generating session ids.3 u  q7 ~" _+ u; q
  1472. ; Possible Values# R  |. I8 u. b7 T  O  Q& n
  1473. ;   0  (MD5 128 bits)1 Y/ i# w' V' E- w0 C+ D: ]
  1474. ;   1  (SHA-1 160 bits)
    7 ]% Y3 U+ t) O5 l' B) D7 \
  1475. ; This option may also be set to the name of any hash function supported by
    # ~1 T! Y0 P7 t+ e
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    + A7 p9 g7 X' g; t: M* x* |- }$ `
  1477. ; function.
    ( I9 B4 K, E, i
  1478. ; http://php.net/session.hash-function: D; z! [8 X: ~& U* E
  1479. session.hash_function = 0
    / E! Q: v, [: _* n. |! @
  1480. 6 v6 D/ G. b; G! i
  1481. ; Define how many bits are stored in each character when converting0 D9 S  X& U$ i9 b3 W
  1482. ; the binary hash data to something readable.
    7 s4 h3 y" f8 H
  1483. ; Possible values:
    * A! E  ^- r5 b
  1484. ;   4  (4 bits: 0-9, a-f)
    / M. ~9 g& z5 r
  1485. ;   5  (5 bits: 0-9, a-v). V2 T) l3 k: [4 g2 o5 M6 _1 ^% J
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; |- ]- R" k$ x- N6 p
  1487. ; Default Value: 4" \6 ^$ I3 m; w
  1488. ; Development Value: 5, L* F; I  N, L' @3 L) X8 |# P9 [
  1489. ; Production Value: 5
    ' S5 S' k6 o% R( s" Q/ ^+ M0 w' q
  1490. ; http://php.net/session.hash-bits-per-character
    . l! d9 l" k2 G& N3 `' L
  1491. session.hash_bits_per_character = 5, {6 Y/ \6 Y: c- P

  1492. ! `( A2 Q( ]9 Q3 N: a! p
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    & ^* U' I  a- ^( r
  1494. ; form/fieldset are special; if you include them here, the rewriter will2 B, }# U7 E5 J3 v" h/ C6 V! [
  1495. ; add a hidden <input> field with the info which is otherwise appended; K- O, B& E6 E5 R
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    " Z6 P! w% i1 |9 E; V
  1497. ; Note that all valid entries require a "=", even if no value follows.
    3 m( |, H( w) q# j
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="+ c+ X9 @* W5 I7 j) d0 G. @
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % O$ H" T) t1 L: S( Z! X' }( z
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 q0 v$ D0 h* L
  1501. ; http://php.net/url-rewriter.tags; I* r, u* ^+ v6 S; G* S# L4 ?
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 {- W. R: }9 x

  1503. 8 v2 r' M" i, n1 z: w1 f( ]
  1504. ; Enable upload progress tracking in $_SESSION
    7 X8 a7 r( n( _% b: R% \* D& C( {
  1505. ; Default Value: On
    ! E+ M  q% F$ _! j0 ]9 K/ y" x0 g
  1506. ; Development Value: On# ~! r$ n/ X. j
  1507. ; Production Value: On
    , z7 o2 O! Z8 p' G; X* h  ~
  1508. ; http://php.net/session.upload-progress.enabled
    ; W. d0 i& w  k- L: l
  1509. ;session.upload_progress.enabled = On
    / |, J2 S4 j6 O" p; `" W
  1510. & L/ A1 a: C2 z  f+ r; C$ f+ q
  1511. ; Cleanup the progress information as soon as all POST data has been read
    # P/ Y3 T3 T& @0 K" X2 N! T. N
  1512. ; (i.e. upload completed).0 k1 `: v! h5 c; c
  1513. ; Default Value: On+ X& f' U7 Q$ U6 D
  1514. ; Development Value: On7 x7 v/ I! k2 k; t
  1515. ; Production Value: On+ C9 h/ Z3 Y0 x# N6 `
  1516. ; http://php.net/session.upload-progress.cleanup, \/ @& l# N* O1 n& H8 a6 P
  1517. ;session.upload_progress.cleanup = On0 V+ [/ c, p7 B

  1518. 4 ~$ X, @+ }$ _, q
  1519. ; A prefix used for the upload progress key in $_SESSION
    # ?, [0 ~4 A1 F& t! b7 c" u1 j
  1520. ; Default Value: "upload_progress_"1 J" E; g" U% ]! I$ E1 e3 o  y
  1521. ; Development Value: "upload_progress_"" x7 f# G  l7 q& s2 }- L8 `5 L6 ]
  1522. ; Production Value: "upload_progress_"9 o/ q- M7 [. h
  1523. ; http://php.net/session.upload-progress.prefix0 n" }; W8 w* }" A5 D
  1524. ;session.upload_progress.prefix = "upload_progress_"* J9 }: H+ s0 q  R8 V( j- n) T" M
  1525. $ S5 H; @7 L1 ~
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    + p) U/ O+ k* a: h
  1527. ; containing the upload progress information
    0 l& h* U/ {$ u
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"" [& n2 i9 B2 p) ?7 G! A+ F- q
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". y  g# h$ T0 v3 R
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS": V: {0 l( E# j* C! ?
  1531. ; http://php.net/session.upload-progress.name
    8 Z& v4 T" D& X2 p% h5 s
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    $ ^9 u! f% X! i0 z* y7 _1 Y! k1 L) r
  1533. , D2 q3 a% O2 ?. V8 b( S% z
  1534. ; How frequently the upload progress should be updated.
    $ O- D/ F* J/ R/ X  `( S
  1535. ; Given either in percentages (per-file), or in bytes
    5 i, O0 S7 R! j/ h
  1536. ; Default Value: "1%"
    ' j; _; x- m3 S# b; ~2 ]
  1537. ; Development Value: "1%"! o0 ^8 ]# b& f) t8 R" u
  1538. ; Production Value: "1%"9 V) p* Q: }6 ~0 y
  1539. ; http://php.net/session.upload-progress.freq( B- I6 u+ L4 k' b, ~  L
  1540. ;session.upload_progress.freq =  "1%", @7 M$ b  A# V, L/ x. _! I7 D8 Y/ I4 @

  1541. " @) S: M6 v/ D+ T
  1542. ; The minimum delay between updates, in seconds
    2 {/ _+ M4 U5 {2 S. U& A+ @
  1543. ; Default Value: 1
    / h. x' `. Q3 X  B5 ^) _: m9 x
  1544. ; Development Value: 1
    5 @% q$ _8 E! v1 y. P* W
  1545. ; Production Value: 1
    - L$ ?/ Y' N1 V5 T2 g6 M
  1546. ; http://php.net/session.upload-progress.min-freq
    ) L: R, O3 ^' x$ M, l
  1547. ;session.upload_progress.min_freq = "1"- X; V( _5 G* ^- u5 Y
  1548. 8 |( d5 ~! c- j& D
  1549. ; Only write session data when session data is changed. Enabled by default.
    7 {( w- W; j$ z& H6 o& \+ h
  1550. ; http://php.net/session.lazy-write8 n& B. H. M# `' U: v5 D
  1551. ;session.lazy_write = On
    1 a: W) z& @0 k" a5 @9 T

  1552. 9 W  q$ @+ a/ U) a! r
  1553. [Assertion]
    , K2 M; V$ k. a3 A- W% t7 a- G% i
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    - g6 |' l9 F7 u5 ?( J
  1555. ; -1: Do not compile at all3 E3 _. V# ]) z( M& y1 v# P2 B/ y
  1556. ;  0: Jump over assertion at run-time
    # Z6 @: ]- t" Q$ O* {7 U2 f
  1557. ;  1: Execute assertions
    * F' y8 f; z, R* h/ y7 s" o
  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)
    : {  r* [4 ?6 S8 B& Y- y: E0 f
  1559. ; Default Value: 1# j3 c0 L! B' m) [8 b9 d5 ~
  1560. ; Development Value: 15 t/ M3 D, Y) Y: |/ G; m; D
  1561. ; Production Value: -1
    ! i8 W* ?% k5 m2 @" y5 b2 N
  1562. ; http://php.net/zend.assertions8 p0 q4 x; C: d) A* c, P2 I
  1563. zend.assertions = -1
    4 G& O8 b4 I9 S) f8 _4 Y

  1564. 8 o7 z5 E7 F# _) x" R
  1565. ; Assert(expr); active by default.
    ; J/ T5 k: U2 y! E
  1566. ; http://php.net/assert.active
    0 R: W: e  ^4 C: b- C7 O
  1567. ;assert.active = On
    ( Z2 i  B3 H0 L7 E4 j

  1568. 2 L! `; f5 ]% W* q; j
  1569. ; Throw an AssertationException on failed assertions% D9 A0 }" M2 \) }+ w
  1570. ; http://php.net/assert.exception8 S7 A, i. R! c5 H! K
  1571. ;assert.exception = On. }3 I; I1 {5 w6 ~
  1572. ( ]% r" m, [4 p7 L5 W+ g( z
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    . U8 x$ I+ F  x! _  C8 P7 G8 |2 J
  1574. ; http://php.net/assert.warning- `; c3 T* N# S7 _2 z
  1575. ;assert.warning = On
    + H& w5 e, @: d0 W9 S# D: v2 ?
  1576. 4 U' `* h- @% X2 m
  1577. ; Don't bail out by default.
    , z+ w: Q$ y) w; s4 W; C: i
  1578. ; http://php.net/assert.bail) @7 I- w2 O4 g' s( w0 `% n
  1579. ;assert.bail = Off0 n6 O. y  @9 V  n
  1580. 7 t1 t' q$ y8 E* I, W  o
  1581. ; User-function to be called if an assertion fails.8 y5 @8 q8 b; j' \
  1582. ; http://php.net/assert.callback
    $ ?( N8 A: q3 }* O- P& n. D# \1 a8 k
  1583. ;assert.callback = 0
      P4 u4 `3 V$ T' N5 b1 W
  1584. ) J$ c0 J, V- ]" p& ?: _/ q
  1585. ; Eval the expression with current error_reporting().  Set to true if you want) g: H5 t+ m% f+ E0 b* Y" H  P
  1586. ; error_reporting(0) around the eval().
    3 K, W. S- G8 m, I
  1587. ; http://php.net/assert.quiet-eval2 m' g: q5 L6 s8 s! t! H
  1588. ;assert.quiet_eval = 0
    1 J4 [8 ?: s1 w2 e# t3 P6 |
  1589. 3 K/ N/ @" Q' t: j2 e1 H1 Z6 `6 z. Q
  1590. [COM]
    6 \5 X2 R# @" x6 |
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs! ~6 u# a: ~$ u9 [% w
  1592. ; http://php.net/com.typelib-file
    : ~  I, s2 E4 t6 n6 `
  1593. ;com.typelib_file =
    8 K. ?5 x6 M, u! }4 D8 d
  1594. . e4 a8 B9 g3 e7 L
  1595. ; allow Distributed-COM calls& T! X. l# c3 u2 {
  1596. ; http://php.net/com.allow-dcom& y% L4 x' ?- a" \: l0 P- Y+ }
  1597. ;com.allow_dcom = true
    2 i4 S* W3 H; W
  1598. + o' G- ^/ K2 t9 N& A
  1599. ; autoregister constants of a components typlib on com_load()
    % g) M& C7 b8 P& a
  1600. ; http://php.net/com.autoregister-typelib
    2 T9 }; d7 s, I0 x  X' p
  1601. ;com.autoregister_typelib = true
    3 e  |3 c+ D' e# g: g

  1602. " j# }2 ]! K5 }2 q
  1603. ; register constants casesensitive1 K0 s: E3 j4 U" N8 a1 Z7 }; T0 M
  1604. ; http://php.net/com.autoregister-casesensitive  a: P, H( @) ^+ c! i
  1605. ;com.autoregister_casesensitive = false
    : I% t1 l$ n8 J9 g
  1606. - `$ ]/ D5 ~6 A( F8 K  A
  1607. ; show warnings on duplicate constant registrations
    ) ]( c; w- K- q' Z8 W
  1608. ; http://php.net/com.autoregister-verbose
    0 ~; [) t( a+ E6 b
  1609. ;com.autoregister_verbose = true
    ; I! {9 a; w0 w3 `' S& p1 k8 E

  1610. & ~& D% k6 e) `& X" ]
  1611. ; The default character set code-page to use when passing strings to and from COM objects.; t. s3 ^, F3 S& f! K$ ]9 m
  1612. ; Default: system ANSI code page
      s" ^; ~( f. E6 M. B, M6 S
  1613. ;com.code_page=
    * F% q8 }3 R' Z. Y% d

  1614. 8 S9 U' U" C  a2 K, }; K
  1615. [mbstring]5 @" Q, T$ I* n# e* |2 @* ?- V2 @
  1616. ; language for internal character representation.  o9 {9 j# X4 _  _
  1617. ; This affects mb_send_mail() and mbstring.detect_order.1 Y& A4 M$ L; B
  1618. ; http://php.net/mbstring.language
    4 L) R. C6 i, }( k( O8 [+ S
  1619. ;mbstring.language = Japanese
    * K# m3 f# D7 _1 L

  1620. $ e: l( P9 ^9 M+ ?$ u; r5 \. \. a
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 v0 B: e, e2 T/ N
  1622. ; internal/script encoding.
    5 e8 m3 x3 N  _9 {; [( v; C
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 U$ X7 r& A8 {# ^! j
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ b: x6 u2 M/ Q' Y4 y& Q& Z
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! T4 q2 s2 Q3 W% J
  1626. ;mbstring.internal_encoding =
    ) g' C0 }7 k) W

  1627. . E. F5 B1 i+ X1 A
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + u/ I% r" s. L0 q2 D9 r
  1629. ; http input encoding.
    0 d. }  @" z0 K& d, ]0 Y; j
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    / q5 x- w8 i: E; W' l
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.+ w% p: {( A7 F& s. V. F+ g  G" Q
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input3 O0 b& u. L, H0 o
  1633. ; http://php.net/mbstring.http-input
    % ~; {8 C. Z' y* m; [, y
  1634. ;mbstring.http_input =
      e: T! n. ?1 g. t6 j; J# K
  1635. : e: h( W4 N' W2 s/ D& P# B
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' N' y" I5 a6 d+ k
  1637. ; http output encoding.
    - J; \/ R8 p: t# j) ?' S/ \; E
  1638. ; mb_output_handler must be registered as output buffer to function.
    - s6 V2 n0 T: l( |4 O
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    2 |7 ]4 h5 N% W. D
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output5 f: M( P+ x0 `! {6 S- Z
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    , c4 j& J- B9 `) ^; Y4 W9 W# K' x. c
  1642. ; otherwise output encoding conversion cannot be performed.. [2 R. e  K  l  S0 m# Y. w& E+ s
  1643. ; http://php.net/mbstring.http-output
    " N# u1 g' D/ X2 ?3 E4 }
  1644. ;mbstring.http_output =  _8 V- ?6 i; \. d, ?1 }6 ]

  1645. : e1 a: S7 E5 @, m, ]1 h
  1646. ; enable automatic encoding translation according to$ \$ s  R2 y! o5 S( ?+ |
  1647. ; mbstring.internal_encoding setting. Input chars are% a7 |( m/ f; N) M
  1648. ; converted to internal encoding by setting this to On.
    . `( o6 H; w# |9 A8 o
  1649. ; Note: Do _not_ use automatic encoding translation for) U5 ^6 A* S) ^* S( X
  1650. ;       portable libs/applications.
      E2 [* D4 c5 j" m, k9 K8 @
  1651. ; http://php.net/mbstring.encoding-translation
    0 W, L$ m5 m5 s# L4 ?
  1652. ;mbstring.encoding_translation = Off5 Z$ l0 J: C' {3 }/ |5 r0 H3 w& _

  1653. 8 z$ g3 I- ^7 A( b% r5 s
  1654. ; automatic encoding detection order.' i6 s: J' T8 c* s! \$ X! e
  1655. ; "auto" detect order is changed according to mbstring.language
    : Q0 m" O/ p2 n5 p' K  h; r
  1656. ; http://php.net/mbstring.detect-order2 K0 Y; o2 D* }, U  ]
  1657. ;mbstring.detect_order = auto
    8 ]4 E- C3 I7 |) J
  1658. . d$ ?9 Y7 G5 m. p
  1659. ; substitute_character used when character cannot be converted
    " L0 Z7 @- G/ K/ Q
  1660. ; one from another4 t2 v( a% z0 F- d2 C0 K/ O
  1661. ; http://php.net/mbstring.substitute-character
    ( \7 q( J! {9 r& ~! V$ y7 T: A5 v
  1662. ;mbstring.substitute_character = none
    ' d% O- R3 o$ K, z5 j! L" W

  1663. 4 w% u/ ^% C! b! U$ m
  1664. ; overload(replace) single byte functions by mbstring functions./ q. [: O/ {; g( _/ P6 J0 ?" v
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- z2 Q* V7 l( _: Q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
      [2 p7 m1 w$ O
  1667. ; For example, 7 for overload everything.
    : P9 U  `& \4 b5 M
  1668. ; 0: No overload
    1 ^! B8 e/ l2 K
  1669. ; 1: Overload mail() function
    7 }; ~% O  K( C; v+ P
  1670. ; 2: Overload str*() functions0 @( @, |5 w9 Z1 D
  1671. ; 4: Overload ereg*() functions) |8 ?5 n5 o# v# E
  1672. ; http://php.net/mbstring.func-overload( A% K9 \. E! l! g
  1673. ;mbstring.func_overload = 0
    1 T1 V% P; w1 a2 R2 ]
  1674. 7 ?; h# w! y2 \, t  i
  1675. ; enable strict encoding detection.4 q* U) Q8 k* u
  1676. ; Default: Off
    5 Q4 M: W6 F# A, X1 j- X' A* x
  1677. ;mbstring.strict_detection = On
    : t6 O5 D, u( I9 _2 J0 ?! z
  1678. - W( E# c+ ^- {6 O# v% t/ g
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    / t2 y, J6 B% [, J9 F" F. ]
  1680. ; is activated.0 s  R& Q. s7 J# X, o9 i
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 ?! z$ K5 f) B) j5 d% N* S8 a7 L7 P
  1682. ;mbstring.http_output_conv_mimetype=( j# R( I$ S& V4 q. [  `+ W0 `

  1683. + }0 E& b' m' s! n: k; U( b. o
  1684. [gd]
    ( T- N* [7 @' d+ P/ w8 ^
  1685. ; Tell the jpeg decode to ignore warnings and try to create1 p- [# B6 M& o- A8 S
  1686. ; a gd image. The warning will then be displayed as notices, O8 \5 J4 F; p2 t% n' N
  1687. ; disabled by default
    1 V- H, I; d8 m) i$ C/ h3 a; Y
  1688. ; http://php.net/gd.jpeg-ignore-warning
    - s" x& m, b0 V) Z
  1689. ;gd.jpeg_ignore_warning = 0( S+ W* B2 X0 c% D1 n
  1690. + C5 i# \5 B0 g+ z+ h$ r  R
  1691. [exif]
    * _, W& L7 ~8 Z1 Q# e
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.# e2 T8 T% o4 V. y9 d4 `
  1693. ; With mbstring support this will automatically be converted into the encoding6 _: f. Z) y. S
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding- L. I+ Z0 `+ D2 E8 Q/ z8 m$ o
  1695. ; is used. For the decode settings you can distinguish between motorola and8 @& K: Q$ \' [0 Q/ M
  1696. ; intel byte order. A decode setting cannot be empty.
    . I8 Y1 y  v) ^; ~/ t4 W2 s
  1697. ; http://php.net/exif.encode-unicode
    ; F5 K# {2 w0 l- q4 v/ y& D2 ?
  1698. ;exif.encode_unicode = ISO-8859-15
    7 m# b/ e1 s, G5 M8 r+ T* J" @

  1699. ; G; c! \8 T( t* H
  1700. ; http://php.net/exif.decode-unicode-motorola- T5 t& V  ]( T. D% r' E
  1701. ;exif.decode_unicode_motorola = UCS-2BE3 Z1 {( i; E2 h  _1 J! W
  1702. : |8 |( Y; U0 t2 {; P
  1703. ; http://php.net/exif.decode-unicode-intel
    ' X7 E7 E' Z( @
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    % |  `' U" t* j9 w7 O2 ^5 y
  1705. 0 C, k+ l! Y* d# l3 m
  1706. ; http://php.net/exif.encode-jis
    6 m3 L( q- e2 |% R% H  r+ q
  1707. ;exif.encode_jis =4 q; @' |, W& q( r, {$ ^& Z

  1708. / Q/ W% e; s4 G5 N
  1709. ; http://php.net/exif.decode-jis-motorola
    / h( n& D9 p8 B; T
  1710. ;exif.decode_jis_motorola = JIS
    3 R% n4 E( L! v+ H
  1711. 4 V# d0 C* A" X6 P
  1712. ; http://php.net/exif.decode-jis-intel
      q- J1 X' J  x0 T9 M, H' P$ T
  1713. ;exif.decode_jis_intel    = JIS" x8 s" j. t/ j2 W  @" t' P$ |

  1714. - C! R; w3 A( a: g" |& ^
  1715. [Tidy]  l# o$ y7 m% [8 D; ^5 q
  1716. ; The path to a default tidy configuration file to use when using tidy
    ) a, `/ T, _* b# P
  1717. ; http://php.net/tidy.default-config5 q% a8 u/ I7 m4 X( E  k! n/ F
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg5 b/ K3 |& [( k# |. v

  1719. ( z5 Q, G# o/ [7 M
  1720. ; Should tidy clean and repair output automatically?5 [( a9 i3 H/ E6 f
  1721. ; WARNING: Do not use this option if you are generating non-html content* ?  F4 `, [, D
  1722. ; such as dynamic images0 C; V) i0 m9 w* a6 D/ r
  1723. ; http://php.net/tidy.clean-output
    + l4 W' Q$ N2 ~4 j0 X" A3 g" Q
  1724. tidy.clean_output = Off, P" T. |3 F2 o/ g: v2 z1 |

  1725. * A6 a% X! F6 k- q" m
  1726. [soap]3 W, ?) J, t/ h& h# W) r% L  A0 `) E
  1727. ; Enables or disables WSDL caching feature.; c* w8 N$ C! j( r& r. P/ b5 s
  1728. ; http://php.net/soap.wsdl-cache-enabled
    . b) F3 }% |- f0 W3 m! ~
  1729. soap.wsdl_cache_enabled=1
    % U" h$ t& `  V5 ~  o  g

  1730. # I" D* O$ D) M! A6 [8 q
  1731. ; Sets the directory name where SOAP extension will put cache files.; W7 _+ p2 \, f
  1732. ; http://php.net/soap.wsdl-cache-dir2 o7 Z' g; U+ a" M
  1733. soap.wsdl_cache_dir="/tmp"
    + y1 E7 z7 I* t5 b+ _: f
  1734. " q/ B6 ]& z/ s3 x3 J
  1735. ; (time to live) Sets the number of second while cached file will be used
      b. l0 a3 O. ], o  l; a
  1736. ; instead of original one.
    ' M4 n5 x4 H# }. \- J
  1737. ; http://php.net/soap.wsdl-cache-ttl, n3 r5 _0 T' L: X, v- R# k0 j
  1738. soap.wsdl_cache_ttl=86400" M! X4 g' n5 f* J) A- j. @

  1739. 1 q. {( w) |) I4 i% `. V
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    4 J& J0 N3 \+ R
  1741. soap.wsdl_cache_limit = 5/ N! h6 f; L/ ]+ {% W1 Z

  1742. " U9 p: \  j3 A
  1743. [sysvshm]
    9 k# O# q3 H% ^
  1744. ; A default size of the shared memory segment
    " h3 g3 Y- G; F! t: ?  R" t
  1745. ;sysvshm.init_mem = 10000( p+ a6 e% a- {9 w6 M- b% J: h

  1746. 7 _/ X) b3 d3 b+ \; q% n
  1747. [ldap]
    0 b8 z! `6 Z+ ?# {
  1748. ; Sets the maximum number of open links or -1 for unlimited.2 b: ~0 V5 h* O0 v! X% d1 u8 a
  1749. ldap.max_links = -18 L! M5 E: H: g+ H! X

  1750. " q% T# h) f3 b4 i) b% ?6 a
  1751. [mcrypt]
    - p; C+ ^# n0 ~2 e6 {0 L: A
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    : \8 `; e+ K' a/ S+ Q. s1 J
  1753. 3 H# t- }5 c% s" |
  1754. ; Directory where to load mcrypt algorithms" J7 S1 K6 p2 Z: A
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ a* ]" V5 y( P$ a! q8 B& |
  1756. ;mcrypt.algorithms_dir=
    . I: Q: H' V; M
  1757. 6 \, r6 s9 R6 ]6 ]7 ~
  1758. ; Directory where to load mcrypt modes+ M! |: p- l8 h4 j! X
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " h" O; i7 U; `4 j  [
  1760. ;mcrypt.modes_dir=
    3 Y) H2 S9 A: p

  1761. $ `& l, _, h6 X/ [- K
  1762. [dba]
    5 Z3 i* |( A/ p0 p% `. _/ @+ t
  1763. ;dba.default_handler=
    5 }0 _' v" K7 `3 @

  1764. : m7 d  X8 B2 T% L. G
  1765. [opcache]
    & o& K! Q* D$ ?7 p) _
  1766. ; Determines if Zend OPCache is enabled
    * n3 K! Y8 f  \- |
  1767. ;opcache.enable=0
      Q: B# g0 ^) F3 N

  1768. + M; W( d7 B4 `5 F) E. Y
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP+ w3 W( |. l# e! N
  1770. ;opcache.enable_cli=0/ o" e, l- o  C( C  o. X
  1771. 8 p/ H% `$ j) a2 u! X
  1772. ; The OPcache shared memory storage size.* W- R! W0 y* c/ b  [
  1773. ;opcache.memory_consumption=64/ ]/ q0 H7 F. Z% n3 a7 U$ F

  1774. ( U% k- J2 }3 d0 \
  1775. ; The amount of memory for interned strings in Mbytes.
    6 o; B( X# M# Z2 f
  1776. ;opcache.interned_strings_buffer=4, `& l! B$ B8 X. U( L8 \7 k

  1777. $ b- Y% B! ^$ g4 J, k
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ) m2 X5 Y) q2 X, L% C2 R: g( b
  1779. ; Only numbers between 200 and 1000000 are allowed.
    $ _- p9 ^' C5 Y/ E% i; z% x# v
  1780. ;opcache.max_accelerated_files=2000
    ) Z$ |5 |8 e  C; x

  1781. 2 ~6 u8 m' C1 ^' z1 Q4 ?
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.( H  S& |: ]/ h# |4 o* }- m
  1783. ;opcache.max_wasted_percentage=5) F- a3 z5 c: x
  1784. ; q7 C" r2 h) M+ W* a
  1785. ; When this directive is enabled, the OPcache appends the current working
    5 n  E9 D  [9 l, U$ w
  1786. ; directory to the script key, thus eliminating possible collisions between3 f* b8 U7 k8 ~0 t/ |
  1787. ; files with the same name (basename). Disabling the directive improves
    6 E9 o4 R  _- C# s2 T; v0 S1 C
  1788. ; performance, but may break existing applications.
    1 A7 P! E, k, t7 z6 F  ]8 Q
  1789. ;opcache.use_cwd=13 j, m3 r8 Q, r4 r4 H; }# Z

  1790. 4 c0 O7 L1 p. Z2 I
  1791. ; When disabled, you must reset the OPcache manually or restart the0 Q' c" p; z, N% L1 S
  1792. ; webserver for changes to the filesystem to take effect.4 m2 }; G7 M! b! p
  1793. ;opcache.validate_timestamps=1- p0 z2 K4 R/ f* f! o8 y

  1794. $ a/ ~" n: ~" v; l( _* t2 c' p
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    4 ]2 ]3 Z9 z. m8 ]' c: J
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    4 M" q7 F- M0 [! m7 S8 U6 v
  1797. ; once per request. "0" means always validate)
    7 U  t6 @2 J" P; {  p! b1 W
  1798. ;opcache.revalidate_freq=2  f8 S) A) d" M8 H; s7 s& U; E0 [
  1799. . R+ f: w! q/ {6 k1 Z
  1800. ; Enables or disables file search in include_path optimization9 b( A& L# T3 k$ Y6 a+ Y
  1801. ;opcache.revalidate_path=09 q4 Z) y/ l. b7 U5 |

  1802. 9 Y& s0 d" r& \3 K
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the" W" M4 F4 u9 ]  |
  1804. ; size of the optimized code.
    & \+ u5 I0 ^6 B  z
  1805. ;opcache.save_comments=1
    . R! s& @, L$ ~! a# L
  1806. 7 y- `7 [  [1 z- r
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code: V7 \1 }) ~% s6 t9 g8 g; |7 E
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.1 X' V# W6 x0 V4 M/ z( p
  1809. ;opcache.fast_shutdown=0
    8 Q! u9 j+ ?" F0 g
  1810. ) B; ~% T9 b6 K  A7 S
  1811. ; Allow file existence override (file_exists, etc.) performance feature.  O6 J- D5 n$ e! D. s
  1812. ;opcache.enable_file_override=0
    0 s2 T( Y4 C( j

  1813. 3 c! |4 e4 z+ i
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache" o5 }5 b: Y0 a# @! o2 t+ H
  1815. ; passes3 M/ l  C, R1 u8 O& U; V3 C: Q& O
  1816. ;opcache.optimization_level=0xffffffff$ A$ l" |* D1 A
  1817. : \6 R+ M$ s" k; ~, ^8 j
  1818. ;opcache.inherited_hack=1; Y% K9 C  k$ b+ k. A
  1819. ;opcache.dups_fix=01 m+ t5 p9 \+ K# C

  1820. & C- M/ b" i6 [+ b% f9 `0 j, x* w
  1821. ; The location of the OPcache blacklist file (wildcards allowed).# C7 R/ \* T) I- G4 l+ L9 Z% O
  1822. ; Each OPcache blacklist file is a text file that holds the names of files" f, O# B- x6 f8 ?, P( ^1 P+ y
  1823. ; that should not be accelerated. The file format is to add each filename0 C: k+ I7 u' c4 j) S
  1824. ; to a new line. The filename may be a full path or just a file prefix3 Z) }3 o  s3 [- }( k9 c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' g" [- o/ j" O
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    1 t" `1 N/ g2 A' f
  1827. ;opcache.blacklist_filename=5 S( f+ a* G  U

  1828. 8 n1 F8 `; {' h. U0 o
  1829. ; Allows exclusion of large files from being cached. By default all files
    4 C. k  i0 Q- t# g0 w# ^
  1830. ; are cached.3 A( P, K: s: ?5 x7 }
  1831. ;opcache.max_file_size=0- U2 j1 q7 \4 ^  `/ P; o" t7 u
  1832. + L( ]( x; b3 R+ c" _  [
  1833. ; Check the cache checksum each N requests.# R  F  H9 f& G! Q' H1 U2 F
  1834. ; The default value of "0" means that the checks are disabled.
    4 d  n5 w) Y% _- @
  1835. ;opcache.consistency_checks=0% P' i% \) p+ g  @. J$ y) t9 F
  1836. 3 P# ]! |' O$ J  v9 H" X0 v
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache: H! a5 h3 X5 D7 r: J
  1838. ; is not being accessed.
      V1 [5 j% a* Z8 B" l; I8 {3 v# {
  1839. ;opcache.force_restart_timeout=180
    , ^* R& F; k2 k  z

  1840. ' P+ Q1 q6 s. ~+ U
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    $ p0 H( M" W8 q
  1842. ;opcache.error_log=
    ! o6 Q0 Q; R+ y) O/ R4 H% K2 W1 D
  1843. & ~7 f3 T/ V/ i& s2 \4 e! l
  1844. ; All OPcache errors go to the Web server log.
    6 y# G+ m* k, [$ f3 Y: I- A
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.  c, r4 H3 Z& g/ w  z
  1846. ; You can also enable warnings (level 2), info messages (level 3) or  j0 X! {/ m3 B8 U
  1847. ; debug messages (level 4).& H# n) ~: ^, |5 H9 p
  1848. ;opcache.log_verbosity_level=1
    4 k8 i- V7 d, R+ T2 R

  1849. 0 L& I4 \# j. V7 T
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: {8 k7 \6 ]& Z" e  I
  1851. ;opcache.preferred_memory_model=5 @1 E, R9 h" v
  1852. 6 Z" ?: M3 h. p; ^4 E" a1 j; F
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ( ~4 c6 W: c9 R( E% x$ x
  1854. ; Useful for internal debugging only.
    ! d/ a9 Z# g" u8 _9 L- r. C
  1855. ;opcache.protect_memory=05 @& Z5 A9 {* x5 n  ~* b- q
  1856. $ ~/ t- V, X2 a" A6 k( M
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is7 y8 K( g5 S) |4 `
  1858. ; started from specified string. The default "" means no restriction2 M$ Z2 J5 q( Y9 {6 E6 u& W) H, I
  1859. ;opcache.restrict_api=1 a% T7 d" c7 {+ Q* Q* ~

  1860. . N/ F4 y( }8 r( q
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    % V: ^4 f% [" r. B6 e' s3 o! v( O6 E
  1862. ; processes have to map shared memory into the same address space. This
    6 [  @/ O. K! B! L; T9 q' k5 T
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    5 m# Q6 L9 H; n( m* I
  1864. ; errors.
    1 E7 @/ ^) v! t% t
  1865. ;opcache.mmap_base=+ Y: f( c  K# J( g$ o( o- u. E6 d5 w

  1866. " y6 ]8 d4 d7 q) s3 w! H; M
  1867. ; Enables and sets the second level cache directory.- k& ^: A6 i4 N  k
  1868. ; It should improve performance when SHM memory is full, at server restart or( P3 ]: K. L  L
  1869. ; SHM reset. The default "" disables file based caching.
    % x9 f0 V' a8 b! C# b5 U
  1870. ;opcache.file_cache=8 L# {) N/ @  k1 N; w

  1871. ) D1 x# ~  R: o! O5 i; F* q
  1872. ; Enables or disables opcode caching in shared memory.9 h8 ?* Q- Q* t% \# _% d7 l5 n  y
  1873. ;opcache.file_cache_only=0
    * D; m5 O  D: |9 t( [+ l, w

  1874. ( n# E! G  r; k/ y. Z
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    3 e5 F; g3 P4 Q: ]2 f+ s5 J
  1876. ;opcache.file_cache_consistency_checks=1
    5 ?' l* b" C6 o% o  l

  1877. 2 X! p6 r6 |1 L) M" L. s
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    0 n4 E2 f/ ]$ s9 I/ W6 x+ L6 `4 f
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file8 E" p1 [+ S9 F" p: H
  1880. ; cache is required.$ O9 r3 c/ H/ y. Y& F  ?8 C+ ~
  1881. ;opcache.file_cache_fallback=1, z7 ~3 H3 M$ z8 s$ G0 q8 Q
  1882. 2 x- }. |2 |  X  i/ m% u- \' j, i; Z& Z
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    3 Y- X) \3 e1 t) ?0 g
  1884. ; This should improve performance, but requires appropriate OS configuration.
    ) {( \2 f' y7 D# f
  1885. ;opcache.huge_code_pages=1
    ; O" w9 Q0 E- b
  1886. $ _( J/ r: h# }
  1887. ; Validate cached file permissions.1 u9 ]4 M% v' n
  1888. ; opcache.validate_permission=0
    8 D' h/ [( e% M1 {$ e9 ?! q
  1889. , B9 {8 X; s. ]2 J% y
  1890. ; Prevent name collisions in chroot'ed environment.( i7 c9 g8 R3 I9 E
  1891. ; opcache.validate_root=0( n( o0 I4 v  ]8 Y* {+ F$ y0 G
  1892. 7 N/ W! t1 s/ D% C
  1893. [curl]
      k8 r# D. a& h1 {
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an- i3 Z' J# t  N: Q5 v" u6 ?
  1895. ; absolute path.$ ~! F( m; c' d1 J  s9 m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    5 Z- b& h7 s  P
  1897. : x3 Y$ E4 j0 z* n- Q/ L0 u
  1898. [openssl]
    8 x/ T4 W! V/ o. O. r" N$ w5 g
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    : ^; B  f: E8 G
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should# }7 E( S$ G4 S" V' ?
  1901. ; not specify a value for this directive as PHP will attempt to use the+ q* Y: ~- z. X# p% j1 T
  1902. ; OS-managed cert stores in its absence. If specified, this value may still/ |; z6 q; m* m
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 y, A! `8 H  ]8 B
  1904. ; option.
    ' C. f& ^: @1 n- A
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    " v6 s/ |1 r2 N
  1906. ! U5 g# E: x0 d2 M1 T$ t: A
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    1 Q- E6 H" l- j7 b- ^% R1 N3 e
  1908. ; directory pointed to by openssl.capath is searched for a suitable: a5 a' s1 @' v7 q1 x
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    $ V9 \. o& y) r1 ~: }! P( b/ ~
  1910. ; Most users should not specify a value for this directive as PHP will
    6 C% z$ F: [1 U& @& K
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    $ _9 r2 k) d' q" a& ^
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    0 ?$ y2 h+ d# o+ i) L1 r
  1913. ; SSL stream context option.
    0 X" w8 V- P2 f( A/ {! \/ c. K
  1914. ;openssl.capath=" Y7 [- h2 P& Z: c' ^5 q5 U( K' g9 N
  1915. . J8 }/ p/ Z9 n4 H6 @( g/ g
  1916. ; Local Variables:
    . g- X* ^$ D: r
  1917. ; tab-width: 4
    2 e" B! R  U7 |9 T
  1918. ; End:, Z  d2 F! y9 c# k* u2 u
  1919. 8 o3 R5 Y1 x- q% x* x
  1920. ;eaccelerator
    8 \# s8 s4 \9 O& R5 _

  1921. 9 O% g, Y" h5 Q2 F; w
  1922. ;ionCube& k! R* N+ G' `; p1 m7 o

  1923. & }; z, o! B5 u# D
  1924. ;opcache
    . m  K& U3 T2 R

  1925. 3 |3 R( x* t( Y7 j9 E% [6 M+ F7 L% K
  1926. [Zend ZendGuard Loader]
    . P3 p2 k. m! Z6 ^
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.) a) n8 f, M1 x* j2 z; G7 }
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    3 B( _$ i; c) A2 P4 d
  1929. ;zend_loader.enable=1
    4 d5 i  V3 r$ V* Z0 P
  1930. ;zend_loader.disable_licensing=0
      F/ N* o& W7 [6 @& H% N) t
  1931. ;zend_loader.obfuscation_level_support=3
    ' E+ h: [3 w  L  H
  1932. ;zend_loader.license_path=
    ' Z0 w/ X+ E" U- O3 n7 c* t

  1933. 9 ~+ f4 V/ z9 e' u9 Q+ Y) D
  1934. ;xcache
    ' b" L# x6 I2 q4 R: ]5 W
  1935. $ G+ m. o7 I8 U, Q  n  z
复制代码
4 `/ }2 S* L3 t' V5 |. d

- E. c7 l2 u6 s* t8 t0 r- ]/ l0 K2 P# n4 d! E
/ k* g# F: Y# f3 @, @9 P% [* ?& s
6 h' |0 R# P6 u9 P$ D8 q  P5 S1 \

. p' t/ B% K# c' @
1 s0 k2 |% p& y7 }& q6 qPHP5.6版本原始设置3 W" N8 E0 S. \5 \
* a4 Y& w2 P( I* w* X3 \! a3 Q
  1. [PHP]0 o5 f1 M$ [; Z9 Q7 S

  2. - R( A4 o% f5 W
  3. ;;;;;;;;;;;;;;;;;;;
    9 ~8 V- c7 m! a( C! ~0 n+ s
  4. ; About php.ini   ;
    6 L: @. A4 O- |" S
  5. ;;;;;;;;;;;;;;;;;;;' l$ K  t, T. I# ?) m
  6. ; PHP's initialization file, generally called php.ini, is responsible for0 Z3 L+ y- e! J4 `( h) d2 V# ~
  7. ; configuring many of the aspects of PHP's behavior.1 T3 \, P9 _8 O' P' X$ U! U
  8. ' q9 A9 |  I" X7 H- J+ N
  9. ; PHP attempts to find and load this configuration from a number of locations.3 D6 o& m; s6 g
  10. ; The following is a summary of its search order:: J$ ^# R7 P) o7 T
  11. ; 1. SAPI module specific location.. R$ `* b) e$ c. V# E2 F0 Z
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)2 y, {  P, U( C
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)" g/ X3 E7 ?* n( Y5 W; m$ G( X
  14. ; 4. Current working directory (except CLI)$ C8 ?1 \5 o" q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP# a0 U% Q$ m& ~* n) H8 z0 U4 p* Z
  16. ; (otherwise in Windows)
    3 D9 R* J* M4 @# D' z% P
  17. ; 6. The directory from the --with-config-file-path compile time option, or the+ c6 z4 h# a) M( V  z! k
  18. ; Windows directory (C:\windows or C:\winnt)
    2 A: ]2 X: }, ^. V
  19. ; See the PHP docs for more specific information.
    $ n3 |/ s0 M9 q
  20. ; http://php.net/configuration.file$ G( Q% G8 x7 S8 u

  21. 6 P: G' u+ z3 @6 k! n, d$ S" g
  22. ; The syntax of the file is extremely simple.  Whitespace and lines1 ?1 C- Q$ D/ I, B" k  k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 T4 U# [9 Z, v) I1 T1 B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    $ i+ n5 ]" _% P& l$ Z: f, ]' Q" ^
  25. ; they might mean something in the future.5 W0 [% ]! S4 V# ?* c+ ?) Y& N
  26. + ^( w$ O( l# }5 n
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ( M& T1 R4 z: z" x
  28. ; apply to PHP files in the /www/mysite directory.  Directives) K+ n3 A! S1 x! E& L5 |
  29. ; following the section heading [HOST=www.example.com] only apply to( F# W! F5 `/ M/ A6 w" {6 a) e/ _
  30. ; PHP files served from www.example.com.  Directives set in these) M: A$ R( N. ^, }9 x
  31. ; special sections cannot be overridden by user-defined INI files or# C  l6 _" r3 D) r
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 u' _' Y( j$ h/ t6 @) {1 E: l* @
  33. ; CGI/FastCGI.
    5 M. I. s1 m1 s# `
  34. ; http://php.net/ini.sections( I+ q6 a9 k" p, {3 o
  35. 9 ^$ M8 i  z: s
  36. ; Directives are specified using the following syntax:; M& o6 D) k! o7 V: I: b9 ~
  37. ; directive = value7 `8 P* V! }. A
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    / B& P: r/ u! T7 K, e
  39. ; Directives are variables used to configure PHP or PHP extensions.! m! d1 Y' S4 g" o; M# L4 x0 O
  40. ; There is no name validation.  If PHP can't find an expected2 H) S# j, F8 E7 ^; e" B
  41. ; directive because it is not set or is mistyped, a default value will be used." [  |4 t7 S4 }# E7 h$ v

  42. * X0 G4 W9 G8 X0 W* [) _& F
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one* [) \- @: v+ v
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! C0 w/ z! N& M; J
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    . e: }' ^" \; R2 w" b
  46. ; previously set variable or directive (e.g. ${foo})
    $ F9 }9 `# v, H) n6 K

  47. * \, b3 }! }6 R
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:$ Q  u/ M6 j) `8 R4 C
  49. ; |  bitwise OR
    1 F" w, r0 k& y5 d- y
  50. ; ^  bitwise XOR
    ) R! t$ N/ ]/ B; F! Y. ]- |
  51. ; &  bitwise AND
    7 O$ E7 b5 v; O( ]$ i6 k) E
  52. ; ~  bitwise NOT0 s" z0 V% D( Q( P: A1 G" a7 z
  53. ; !  boolean NOT' Q0 c. z  X! G
  54.   i7 A6 A* o' \8 h' s: k
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.. C5 y9 `7 P* z
  56. ; They can be turned off using the values 0, Off, False or No.
    * z, n# U" {8 G3 {

  57. + }" ~& i8 f' m3 T& ?8 P/ Z
  58. ; An empty string can be denoted by simply not writing anything after the equal* x  F, }  L% I% B; o6 V- g6 M
  59. ; sign, or by using the None keyword:5 u& {; F( j8 u2 M' J( r* }; `

  60. ) p/ v# n; B& b0 S- o/ P
  61. ;  foo =         ; sets foo to an empty string
    ( K; m' x4 P+ z* [) U) P8 }
  62. ;  foo = None    ; sets foo to an empty string
    ( R6 C1 t& ~& x7 J( i
  63. ;  foo = "None"  ; sets foo to the string 'None'
    # }* Q0 F% W) K

  64. 9 r* G4 S. ]2 M* j9 r- W
  65. ; If you use constants in your value, and these constants belong to a
    5 ~" F8 ]# ?8 _# L( b+ b0 }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),' z5 L+ S( B8 r( Y0 W6 e- ?
  67. ; you may only use these constants *after* the line that loads the extension.3 F; J# T( b7 |, G1 K- I6 b  M
  68. 8 r- K! \: k. k% n0 U
  69. ;;;;;;;;;;;;;;;;;;;" ^% T  |" N2 I  ^9 }
  70. ; About this file ;
    6 Y8 R) ~, Z! N, Y
  71. ;;;;;;;;;;;;;;;;;;;
    % F7 M3 ?3 u) J* W
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    6 O+ U# V; x. t+ S6 R
  73. ; in production environments and one that is recommended to be used in
    4 J2 v. _9 t3 c* c" k
  74. ; development environments.1 y/ D# h# G) T  ^' f* }" l# l
  75. / K) I8 v4 G4 r/ j
  76. ; php.ini-production contains settings which hold security, performance and* O2 V* c2 l0 T
  77. ; best practices at its core. But please be aware, these settings may break
    / r) K6 o. M( J& m) H8 R+ A
  78. ; compatibility with older or less security conscience applications. We* Z! \5 H0 f9 g# D! {* n7 d: v- s
  79. ; recommending using the production ini in production and testing environments.5 u3 @/ \' Z3 Z8 i

  80. 3 H9 e+ D  z' \/ F
  81. ; php.ini-development is very similar to its production variant, except it is7 M1 V8 X, b0 n8 H
  82. ; much more verbose when it comes to errors. We recommend using the0 f6 @/ h2 o5 a+ j
  83. ; development version only in development environments, as errors shown to& d( A, t2 r  e2 `2 |) X* R
  84. ; application users can inadvertently leak otherwise secure information.* g/ R& q5 w# T; V! J
  85.   o6 p( V3 k' C6 v
  86. ; This is php.ini-production INI file.; H! C8 T9 [- ?6 K

  87. ! ^  {: Z8 Q  L5 u5 [% a  R7 Y
  88. ;;;;;;;;;;;;;;;;;;;
    : O1 Q" y$ E- i4 R9 O
  89. ; Quick Reference ;# q+ s: r9 e- _
  90. ;;;;;;;;;;;;;;;;;;;3 M$ F' A2 b% D  a6 a9 @- \
  91. ; The following are all the settings which are different in either the production
    # Q, T: t! F0 T$ [
  92. ; or development versions of the INIs with respect to PHP's default behavior.- c5 l; _, O; @, N# T" x3 M/ V! `) y
  93. ; Please see the actual settings later in the document for more details as to why6 G! ]5 K& v* j, q! C: M
  94. ; we recommend these changes in PHP's behavior.8 C+ `# R! a. m/ d6 m
  95. ( G$ c$ a5 P/ f  p: p# z
  96. ; display_errors; J# F' ?4 M& M$ P$ L
  97. ;   Default Value: On
    1 K; k* Z' p' Z) U8 f1 z* i8 z
  98. ;   Development Value: On5 M8 }  _( z" M; w
  99. ;   Production Value: Off
    * N4 ?+ \, ?3 y8 u( e' O3 D
  100. % O) ~) Y' k4 U1 s6 Q
  101. ; display_startup_errors% y  c: r* Q. x/ y
  102. ;   Default Value: Off
    3 j8 r0 D' h1 w
  103. ;   Development Value: On6 V" G( S- w# V8 p0 C
  104. ;   Production Value: Off
    ' a8 O5 u7 j) b" v2 r9 L
  105. + x, H, Y$ N, M0 q
  106. ; error_reporting3 A7 L/ d2 g8 T- N( g, r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , z8 t/ ]# c& O! k+ S$ m6 U
  108. ;   Development Value: E_ALL& o. l  T/ s7 y, b  Q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - X9 H% S  ]6 ]. a+ S
  110. 7 {. A6 \! C# m" O3 t
  111. ; html_errors1 h& ]+ a1 `; C8 [7 V1 p; z
  112. ;   Default Value: On
    . d  C/ O8 s0 r8 R0 P
  113. ;   Development Value: On
    7 Y3 ^3 W6 j$ l  ~( Q7 `
  114. ;   Production value: On
    6 b/ h" E0 v: L% {0 ^: z5 s0 h: ^; B

  115. : U3 q9 Q9 k+ c. [5 \. C
  116. ; log_errors" t' s/ m2 ?" W8 |3 @
  117. ;   Default Value: Off  ]/ ?1 Q( c( o; \) K' E
  118. ;   Development Value: On2 j3 o) j, O1 p6 P. P' e
  119. ;   Production Value: On! q  E9 R  A. b/ ~2 X1 l, K' K

  120. % h' K. X6 ~3 b: c" U: K# W
  121. ; max_input_time
    / G1 B2 Y( T2 K! {/ {4 `2 ^3 C: Q) z" Z
  122. ;   Default Value: -1 (Unlimited)  r0 K* K* s2 Y; g
  123. ;   Development Value: 60 (60 seconds)
    : T# v' B0 ^+ y2 a+ a- A8 [
  124. ;   Production Value: 60 (60 seconds). j! j  M/ e- b3 X1 ^/ G7 X" r+ W
  125. 7 g5 `' N) M% f
  126. ; output_buffering
    : k7 a1 p1 V* b8 b4 n$ J
  127. ;   Default Value: Off
    8 k: p: V0 ~/ O' F( N
  128. ;   Development Value: 4096
    ' ]' f' d  A& o" y. o" {
  129. ;   Production Value: 4096
      c3 k/ L6 V9 z

  130. : j. \* k) g( _3 j! i0 i
  131. ; register_argc_argv% g, ?; h% O+ y' o
  132. ;   Default Value: On
    7 j# D5 x6 g# o! k
  133. ;   Development Value: Off9 {: [" i6 n& B& V9 g& K
  134. ;   Production Value: Off
    ! k4 h2 ~" t. V
  135. 6 T$ J  T- s8 Q  H8 e- N
  136. ; request_order4 T" }8 J1 G5 X0 }$ a- y0 _; C
  137. ;   Default Value: None
    ) w2 `; s; I7 x' T) \# q$ n. _
  138. ;   Development Value: "GP"" ^8 }0 {; r# ~% X  T; z$ N: v
  139. ;   Production Value: "GP"
    7 A' T+ }) ]. q' ~; A- u( b" U

  140. 3 Y  ~7 k  b8 X. ]# A
  141. ; session.gc_divisor
    1 c, k, z. Q8 c8 N$ P1 e( Y
  142. ;   Default Value: 100! U' C( |( }7 K1 _2 }2 I- L& H0 ~' P: o
  143. ;   Development Value: 1000
    / d  _4 Y" `& f. O' H, y4 n
  144. ;   Production Value: 1000
    7 V  h& o/ R% A1 J1 Y9 }* s

  145. 1 o; y% h( K$ v$ v4 B0 h/ r& S9 z
  146. ; session.hash_bits_per_character
    ( P9 Y( j, p. h2 {0 F. g
  147. ;   Default Value: 4
    $ z4 C, c. C; [$ B
  148. ;   Development Value: 56 c3 `$ ^5 d" M/ n8 `& Y; k
  149. ;   Production Value: 5
    & [9 ?7 N, L& A9 x% E8 r
  150. % g& s, L* l, ?7 _. V3 S& k9 I% }
  151. ; short_open_tag0 s: s1 W6 H0 k' g5 w
  152. ;   Default Value: On
    , S: W# p9 E0 O+ p$ Y0 s; x
  153. ;   Development Value: Off. W4 @/ i" U3 }+ |6 n/ Y
  154. ;   Production Value: Off& M- N% t  I. H$ K1 d, p4 s7 T
  155. ) Y2 H  }2 N6 [. p  x0 E/ a2 r
  156. ; track_errors- B3 {. S# @0 l/ l; i( H! R
  157. ;   Default Value: Off" z* E4 s0 e: }, T
  158. ;   Development Value: On  p- u$ [0 H1 t& I
  159. ;   Production Value: Off
    0 x% k0 f$ |8 M
  160. ( P, L& w8 ]/ ]% k4 b+ d2 g; [! d
  161. ; url_rewriter.tags
    8 A7 {" k6 Z  H7 T# k
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="7 d' `7 j& T6 ]/ o( [- L8 }" |
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' F  B* _% l+ V6 g( k6 v) q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# H% P4 d+ j( v" F

  165. ' H' g' v* D/ c8 Q5 j. S
  166. ; variables_order  ?- [5 s4 k; e2 _5 g2 O: l, T
  167. ;   Default Value: "EGPCS"
    & H8 z, m4 w# s5 y# |
  168. ;   Development Value: "GPCS"
    + E# F; a) j2 d+ V! m# c7 M
  169. ;   Production Value: "GPCS": d; J% x0 n2 Y0 u4 m1 q# B

  170. . E4 P, V" k: P: R. g
  171. ;;;;;;;;;;;;;;;;;;;;4 C4 |* @& L! {- x& I2 V5 N5 N
  172. ; php.ini Options  ;3 m+ C# i  _6 v
  173. ;;;;;;;;;;;;;;;;;;;;
    0 f+ w5 s. |! q: w2 K7 c- H
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"- V7 P% _$ v; C0 \
  175. ;user_ini.filename = ".user.ini"
    1 |2 q- |% v2 P/ E) j0 u0 q; e
  176. 9 |! b. B7 D* V3 f. o
  177. ; To disable this feature set this option to empty value' M7 D) U. U1 o1 j
  178. ;user_ini.filename =
    - a. i/ s3 _* ?$ t' r
  179. 9 s& ]7 d" C* P- S$ z4 R9 w
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 Y: Q* f* t/ r7 s& \
  181. ;user_ini.cache_ttl = 3008 I- L: X& x+ p% o+ n7 F

  182. 8 J. P. W6 w* M9 n4 i2 u& K. a
  183. ;;;;;;;;;;;;;;;;;;;;$ Z. T, b4 F! q. u; a
  184. ; Language Options ;- a/ @9 R; i( J+ Q! v0 ^. i) p$ i
  185. ;;;;;;;;;;;;;;;;;;;;
    - m& p5 D2 `6 f6 d6 N: C* H- f* s& J

  186. 5 }0 \5 v% f8 b$ v5 l
  187. ; Enable the PHP scripting language engine under Apache.* C3 H, D1 M* G3 e* p0 J
  188. ; http://php.net/engine, h' @9 ~' \) ^* l% O" O$ a2 B' H
  189. engine = On
    ' Q) h1 y4 W0 Z! o2 O! y
  190. / Y# o0 m7 h* m7 ]& D0 `% t
  191. ; This directive determines whether or not PHP will recognize code between
    8 w# i2 b( x' H/ `2 w. |9 p
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 F# C9 z- N& I/ @
  193. ; generally recommended that <?php and ?> should be used and that this feature6 R/ Y6 _6 H# r1 U2 m% J7 ?* R
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) \1 q* _  j9 m/ i0 h5 E  {+ J+ Y
  195. ; documents, however this remains supported for backward compatibility reasons.
    ) c6 {! Q& p* C7 Q$ j
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, u3 C0 C) ^8 U5 I
  197. ; used regardless of this directive.8 Y0 R7 v9 r+ u, k
  198. ; Default Value: On
    2 Q  g5 ~% x* q: ^, j; z; T2 z
  199. ; Development Value: Off. w; R" J+ g) g2 A' s
  200. ; Production Value: Off
    & g! S- o/ u8 X6 E
  201. ; http://php.net/short-open-tag
    ( K5 G( \: |& _+ W2 o$ ?
  202. short_open_tag = On+ D" [, y* N5 ~* T0 M' _3 x/ I0 \3 A
  203. & a; @9 c3 h: |# r: x* q: Q
  204. ; Allow ASP-style <% %> tags.
    / w$ O0 G4 c$ Q
  205. ; http://php.net/asp-tags& G! [9 t9 f' Z+ a* w
  206. asp_tags = Off; _+ \& x, P9 b8 b/ B
  207. $ G4 ~6 i; w, p, ^
  208. ; The number of significant digits displayed in floating point numbers.
    , P3 N7 J) O' I5 o: e& ^
  209. ; http://php.net/precision6 R7 R" [3 p4 Y8 R+ w7 ?6 b
  210. precision = 14! r, \: j" K% J7 ^' a  K& z) a3 n

  211. , `" u; S0 K! C7 p7 Z  t
  212. ; Output buffering is a mechanism for controlling how much output data
      c2 T1 c% D( x
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
      N6 m* E; C  V6 Z* b# q0 g9 \
  214. ; data to the client. If your application's output exceeds this setting, PHP% z7 I2 C+ s# f  k, u+ `0 ?* c
  215. ; will send that data in chunks of roughly the size you specify.3 W7 n, t3 O; M* z/ v
  216. ; Turning on this setting and managing its maximum buffer size can yield some  n; S) `; F  e9 [! w
  217. ; interesting side-effects depending on your application and web server.
    7 J4 r, C6 w8 F6 ^) l/ G+ T
  218. ; You may be able to send headers and cookies after you've already sent output
    0 X( a8 Y/ c0 b& Z$ `) v0 x
  219. ; through print or echo. You also may see performance benefits if your server is
    6 B. p& M* u) x& f
  220. ; emitting less packets due to buffered output versus PHP streaming the output  E4 G2 H! i) U, ]2 w8 g4 x8 i
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance6 `& g: F) u& v  |
  222. ; reasons.3 e& n+ u2 F% W  d$ b% M: ~
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    - `* P. e1 j. b2 O) X. B
  224. ;   functions.
    ) y6 l) d; [! ^$ Z- F
  225. ; Possible Values:
    ; X( x- @, p' P9 t
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)1 F. S3 A8 p; i- C# T- W# g8 Q
  227. ;   Off = Disabled) F- y% S( U4 W, |7 ^
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( m5 S) [5 V8 w/ W1 q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' `( [4 h4 _  h# s+ z- Y2 x$ s# q
  230. ; Default Value: Off  S6 E# k: w+ U/ y
  231. ; Development Value: 4096
    / e2 O- h) f2 |, s- j( v$ }
  232. ; Production Value: 4096* z, z' U; p+ `, q+ n4 q
  233. ; http://php.net/output-buffering& f8 t1 i# d  d5 B, `
  234. output_buffering = 4096
    + u4 m0 J' J! Z4 b9 H2 t

  235. . l: T  N% [! J1 q. w
  236. ; You can redirect all of the output of your scripts to a function.  For- U* F% }/ s  J4 m1 J
  237. ; example, if you set output_handler to "mb_output_handler", character
    * c) ^3 v0 B6 D' u7 Z* i7 ]) }
  238. ; encoding will be transparently converted to the specified encoding.
    ) k2 a8 c/ f* b
  239. ; Setting any output handler automatically turns on output buffering.2 H9 p6 N3 @" K1 I* ^% F2 t5 L0 A
  240. ; Note: People who wrote portable scripts should not depend on this ini
      |& O9 `8 D  e# c( X1 Y1 k+ Q: p
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    & o& Y- j, {2 a: S
  242. ;   Using this ini directive may cause problems unless you know what script* y: E5 }' A. r& w& s; |
  243. ;   is doing.- ^# F$ \6 y  V6 K" x! q: ~3 [9 S+ s
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    * g2 g+ [/ U3 L, ?& K( a' z
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    3 x1 [) g6 I2 v7 m
  246. ; Note: output_handler must be empty if this is set 'On' !!!!% ?7 }' t+ F) _: i' H# V' {
  247. ;   Instead you must use zlib.output_handler.
    7 t2 Y0 g* {' U# G% Q( Q1 Y- G& t
  248. ; http://php.net/output-handler
    4 X. d* W) `% O0 b( u  a, B  v
  249. ;output_handler =
    , @2 p3 A/ U/ t
  250. 6 n+ o% t; }% B9 J, j
  251. ; Transparent output compression using the zlib library
    " i! N1 u/ \- M
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size# q9 j' Y2 G  h
  253. ; to be used for compression (default is 4KB), z) ], @6 c. r
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 D: x. ~+ D; o# F
  255. ;   outputs chunks that are few hundreds bytes each as a result of& @5 _+ m/ F6 W1 ]
  256. ;   compression. If you prefer a larger chunk size for better1 S) v0 J$ B6 R6 w- L# k& ?
  257. ;   performance, enable output_buffering in addition.
    4 e3 Y% B# b9 E+ m8 Y2 r
  258. ; Note: You need to use zlib.output_handler instead of the standard! ~5 g- B1 J; G' r6 w8 O1 T" A
  259. ;   output_handler, or otherwise the output will be corrupted.- R; `$ a) b5 o* G: W  H9 ?  ?2 m
  260. ; http://php.net/zlib.output-compression
    6 E( P/ ]. o* K. m) F
  261. zlib.output_compression = Off
      R* V' C5 L. _5 T  A" ^
  262. . T. a; C4 i8 F1 K/ L. a1 f
  263. ; http://php.net/zlib.output-compression-level0 }& t5 B8 }* E8 u: m
  264. ;zlib.output_compression_level = -1
    1 E7 f- w# \4 j$ t

  265. " v& `! L& p+ Z" _& K9 x5 P
  266. ; You cannot specify additional output handlers if zlib.output_compression5 h, b4 M. U! [. R* a& O* L  A$ ]
  267. ; is activated here. This setting does the same as output_handler but in% r: M3 i3 l0 L
  268. ; a different order.. n6 N! u) X  j/ U0 x
  269. ; http://php.net/zlib.output-handler
    + U# Q: @* B/ v) _- O
  270. ;zlib.output_handler =
    / s# g! M7 g: l" b7 k. z# s

  271. 6 r# o0 k8 K) \- S4 c
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 x4 {5 t7 h0 `8 l2 a9 z8 B6 m2 N
  273. ; automatically after every output block.  This is equivalent to calling the
    ) @1 M+ ^) X9 }- l7 o1 L/ ^4 ?$ I1 Z8 d
  274. ; PHP function flush() after each and every call to print() or echo() and each7 h  m6 L  X' ~8 j# ~
  275. ; and every HTML block.  Turning this option on has serious performance
    3 E* ~4 ^/ H$ z: c
  276. ; implications and is generally recommended for debugging purposes only.
    - U5 J& X7 e0 L  V
  277. ; http://php.net/implicit-flush
    9 r, f; I3 T' b9 B2 |% j
  278. ; Note: This directive is hardcoded to On for the CLI SAPI4 r6 e+ M: x" a: C# W' U
  279. implicit_flush = Off5 s6 Y* l+ {) q6 y& X$ |8 D
  280. 6 o1 j" |+ Z& a! R: s; O# W9 i
  281. ; The unserialize callback function will be called (with the undefined class'
    / b7 f# P3 Y8 K; |% m
  282. ; name as parameter), if the unserializer finds an undefined class
    4 Y; d8 R4 a  |" p% A
  283. ; which should be instantiated. A warning appears if the specified function is
    9 p# E7 O# j& z& o1 A
  284. ; not defined, or if the function doesn't include/implement the missing class.
    + K5 \" P6 I9 p: T1 s0 H7 k
  285. ; So only set this entry, if you really want to implement such a& X: ^0 }) L: w- Z4 g
  286. ; callback-function.; s0 u# o5 k* P( b/ u5 ^
  287. unserialize_callback_func =
    $ ], P: }$ T, H; O
  288. 2 X( W( P% A' A* a
  289. ; When floats & doubles are serialized store serialize_precision significant
    & {' q! P! }3 }# K
  290. ; digits after the floating point. The default value ensures that when floats
    3 n# S% X6 Q- d9 I( }) d
  291. ; are decoded with unserialize, the data will remain the same.
      e7 q' V: W/ b& L% l! o& B
  292. serialize_precision = 17. D+ h7 y- g' B8 O) ]
  293. + P1 H/ h3 O, G
  294. ; open_basedir, if set, limits all file operations to the defined directory
      m- i3 X! D+ w! _
  295. ; and below.  This directive makes most sense if used in a per-directory
    1 e& s8 V4 Y+ g8 |0 Y4 }
  296. ; or per-virtualhost web server configuration file.
    & p, h) p9 S+ p: G1 Z. `, c
  297. ; http://php.net/open-basedir
    2 l- p& f& B! {% Q
  298. ;open_basedir =+ G. U  F9 Z7 l( P* h: |
  299. 9 X5 p& y+ f0 d7 B. j1 F
  300. ; This directive allows you to disable certain functions for security reasons.
    - d, q9 X) M: B: C  G% F8 j
  301. ; It receives a comma-delimited list of function names./ u, V  C4 `  E' W8 W6 n, q
  302. ; http://php.net/disable-functions
    & P2 `2 t, s( o! C% C; J9 t2 X
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; ?9 M( S: i" I9 A  t
  304. ' x3 _' i! t4 b
  305. ; This directive allows you to disable certain classes for security reasons.4 c% D3 }2 d# i
  306. ; It receives a comma-delimited list of class names.
    $ f4 f3 ]2 n5 B1 q) x/ ^! h
  307. ; http://php.net/disable-classes0 N+ F( u- X, t/ C, x! |* C
  308. disable_classes =
    ' R& R, w2 n; P/ E4 x/ R

  309. + B7 d4 x! `0 e) v
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in. u$ f  s5 m$ C
  311. ; <span style="color: ???????"> would work.
      Z1 k- ~: N5 _: j: k# m0 b3 T  p
  312. ; http://php.net/syntax-highlighting/ d- f4 }+ d8 E" P
  313. ;highlight.string  = #DD00007 T! f& ^' m% T. y2 T/ H
  314. ;highlight.comment = #FF9900) }9 C) ~) c# V' x! Q5 ~' S2 _
  315. ;highlight.keyword = #007700
    ; p, c. N" a$ M& K' R3 [) s
  316. ;highlight.default = #0000BB. [5 |( @( l5 T" |, i0 |
  317. ;highlight.html    = #000000
    * q1 E5 c, j4 g
  318. 1 X( I: E' S$ M0 j7 R/ `; ~
  319. ; If enabled, the request will be allowed to complete even if the user aborts/ B8 U3 M- V& ?/ r6 i0 I
  320. ; the request. Consider enabling it if executing long requests, which may end up/ I, h. F$ I+ F4 }# t) C
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior; }9 D( o& y8 }
  322. ; is to disable this feature.3 t, @& `3 D: b4 B( v
  323. ; http://php.net/ignore-user-abort* D. [, ~3 A3 x3 E* u
  324. ;ignore_user_abort = On- J  N/ Y% B! C1 D0 Y

  325. 4 S& _7 J4 ?1 f: F4 N
  326. ; Determines the size of the realpath cache to be used by PHP. This value should  W$ ?# b" I2 }* N2 W
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    * Y+ R' k+ d( u( o+ V; G7 y+ M/ q
  328. ; the file operations performed.
    ' S( N5 B' `) @9 f7 n* C3 J
  329. ; http://php.net/realpath-cache-size
    ! k8 q) \& g5 I4 G$ b& u5 @: O
  330. ;realpath_cache_size = 16k! j9 s; p. L1 k% G& x3 K2 j

  331. ! `+ V# e9 w+ y5 q0 Y- {, K
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    & c3 `* A5 K$ V. |' |9 B' o  Z
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    . D, t1 K- N& Y( X3 \$ {! S% K, L- k
  334. ; value.
    ' }; H2 T4 e6 M+ f3 u
  335. ; http://php.net/realpath-cache-ttl& Z3 |$ T" s9 C" e7 p7 m  [; c
  336. ;realpath_cache_ttl = 120
    % M% B' g/ E. k! d/ H

  337. ! n" u7 U& M  O
  338. ; Enables or disables the circular reference collector.* Q) B- e1 J7 u. y: `+ T
  339. ; http://php.net/zend.enable-gc$ X8 c- T6 ?& W$ g
  340. zend.enable_gc = On. c0 P5 N% s# o1 @9 N
  341. 3 r  q" Y4 J# j! u- ^
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    # ]; |" t: |& N! x7 h1 G
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such: \" Q- T9 t9 R$ \  J
  344. ; encodings.  To use this feature, mbstring extension must be enabled., t7 G& }# O( d. ]6 |
  345. ; Default: Off
    : V' ~7 n: s  L; G6 P9 L" A; E
  346. ;zend.multibyte = Off
      H( B2 w/ j8 R, Z
  347. & P* k* Q5 B- `/ p: A- j% p# o1 \
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    , r+ _$ w/ a0 K- I' q
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.: b3 @3 n$ w/ q' k+ b1 t7 u
  350. ; Only affects if zend.multibyte is set.
    0 l7 g; V+ ]4 G& y* t6 {! l# M
  351. ; Default: ""$ m1 x$ ~- `8 m1 o4 F( E
  352. ;zend.script_encoding =! @0 N) D+ \+ y  W, Y% _6 B
  353. . C6 L3 j: S. H7 x! g
  354. ;;;;;;;;;;;;;;;;;
      L. u2 H8 W* f$ _
  355. ; Miscellaneous ;
    1 B9 G  n7 L# K2 b8 y$ W% h
  356. ;;;;;;;;;;;;;;;;;
    6 z3 c+ `1 _$ G$ }2 ^
  357. + K1 N2 H! y1 l8 N* Z7 W& z, ]8 ?
  358. ; Decides whether PHP may expose the fact that it is installed on the server; h. a- n( T9 w! W# f8 K
  359. ; (e.g. by adding its signature to the Web server header).  It is no security# m9 b  O* @6 n. u6 |! }& l
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    # A& a( X/ {. ^, `, p
  361. ; on your server or not.: `3 d7 F, c' M; o( u9 Z
  362. ; http://php.net/expose-php
    1 A# U/ w- J6 o. ?# A$ b
  363. expose_php = On, {; T* |: y/ X9 |4 W9 d& ?  z- n2 f6 _
  364. 0 h6 y, \3 m6 R6 y- W3 E
  365. ;;;;;;;;;;;;;;;;;;;4 |) e0 H& j6 c# i9 c# i
  366. ; Resource Limits ;
    7 ]8 q4 f1 k  ^% a- I" z
  367. ;;;;;;;;;;;;;;;;;;;
    4 M$ _: X5 x- U! x% U
  368. / b. a2 I- k6 s, h  s# h6 P: J
  369. ; Maximum execution time of each script, in seconds
    $ c, F0 X- U9 k! g4 W1 O/ R
  370. ; http://php.net/max-execution-time- Z: q4 @# w$ a5 P
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ! g& A* [4 [' |9 V8 t9 B
  372. max_execution_time = 3009 W- M. {+ L5 E; e

  373. - A1 U$ B6 E; w5 e% F9 N
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 v, g# A7 @( U" S6 C) x- v
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    " O: W% h' O  _4 M* c5 I
  376. ; long running scripts.
    2 v$ n! W# ~! D0 Q( l  g; A
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    * t  w6 x8 L5 x- Z: T) \
  378. ; Default Value: -1 (Unlimited)" ^# ?) u5 p) `+ N$ b
  379. ; Development Value: 60 (60 seconds)
    % J& H: V$ v1 N- h# g" v
  380. ; Production Value: 60 (60 seconds)
    8 g( r( r- p5 B6 t) x
  381. ; http://php.net/max-input-time
    ( P; ^, X; u+ a* i- |, D% r. A& J
  382. max_input_time = 60' K& @1 q' _& L* I9 H/ d9 y7 ^
  383. - g% s- J; \( z' {/ B$ J( ]
  384. ; Maximum input variable nesting level4 O* m" n8 S7 m: H8 y3 N
  385. ; http://php.net/max-input-nesting-level' Y2 f% Q0 D: |8 `1 b0 G
  386. ;max_input_nesting_level = 64- {& o, S- Y& Y1 ?
  387. ! H4 J6 q) B- m
  388. ; How many GET/POST/COOKIE input variables may be accepted
    2 P( r  x9 O, q8 k4 x- ^
  389. ; max_input_vars = 1000
    # t; F5 u1 L7 T  S0 l/ U5 n# j1 v

  390. $ j0 C5 \: {& q) X
  391. ; Maximum amount of memory a script may consume (128MB)
    $ w: l: M" s5 m) k9 S3 G
  392. ; http://php.net/memory-limit4 X* e* l3 e0 U9 N" [/ N- X
  393. memory_limit = 128M$ ^5 C8 {) ~) [( q0 _  f
  394. . e, L) E; y1 c( z3 n; d* b8 ?3 y# r$ F
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# u9 ]  m3 A( i
  396. ; Error handling and logging ;
    / |' S8 H/ `' a1 h$ T
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- G7 ^2 k+ {& ?1 o9 s0 }
  398. + j$ V4 ~- J7 R5 t6 C% ?$ f
  399. ; This directive informs PHP of which errors, warnings and notices you would like* q+ J( L* J0 G4 W, I& f' O3 C* E
  400. ; it to take action for. The recommended way of setting values for this
    $ n# ]% j* R- H+ T
  401. ; directive is through the use of the error level constants and bitwise
    ; c/ j' k& u4 C3 c; e, [
  402. ; operators. The error level constants are below here for convenience as well as
    9 S0 s+ @  W& X  d7 s' T2 f; y5 _
  403. ; some common settings and their meanings.
    & C% A! P" ?& P( s% C' _+ p
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ _+ W0 l( w. g; K6 x, o/ d7 A
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! z( ~! i+ ~9 M5 s2 B+ f
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 R' E# g1 o, n6 d, v) A
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    # Q  v7 w( p6 i3 \9 @% F
  408. ; resources complaining about best practices and coding standards. That's what
    * h+ g: v8 {  ]* f# v: T5 h
  409. ; development servers and development settings are for.
    ' R' B9 D& [) b! l% K/ ^8 x
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ' w& h: ?6 D4 R
  411. ; means it pretty much reports everything which is exactly what you want during- c9 C' d( ^* v1 N5 r& i! r
  412. ; development and early testing.; X* l" M' O  o  K
  413. ;
    * Z3 G) Y; ?$ n- k2 D( P2 p
  414. ; Error Level Constants:
    # S% N* M4 T& w: G; H
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)1 Z) L8 ^" K' }0 Y' }( r1 B
  416. ; E_ERROR           - fatal run-time errors$ E) h$ {) }6 d; _1 r$ A  e
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors: N- ?% |& F8 p- O
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    8 G% h( X7 a" }; O# o) g
  419. ; E_PARSE           - compile-time parse errors
    ! W: p5 j1 X, F/ _5 W
  420. ; E_NOTICE          - run-time notices (these are warnings which often result" L. s5 m' P: }$ V4 _- ~
  421. ;                     from a bug in your code, but it's possible that it was
    ; d6 Z+ s" O0 M, A- u
  422. ;                     intentional (e.g., using an uninitialized variable and
    % G% s/ [$ Z! T* U' Z% @0 N5 R
  423. ;                     relying on the fact it is automatically initialized to an
    6 h2 i# I! p- p3 Q' B
  424. ;                     empty string)
    $ V2 T4 V% `2 h: a; w  x" B0 W8 u
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes8 @" e% M; r( ?4 m* v1 D) m: R  v% A
  426. ;                     to your code which will ensure the best interoperability
    1 k2 ?5 u$ L0 N) w- U2 H) X
  427. ;                     and forward compatibility of your code
    " _: [8 T( S. U; Q* p0 n9 T! M
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    3 J3 r1 A5 Z. |
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      U, D3 }  ?- M) u- q  s% Y
  430. ;                     initial startup: H% Y5 U& I! H- |+ R$ m. H0 w
  431. ; E_COMPILE_ERROR   - fatal compile-time errors" `( E) t5 P2 ^; I% a
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      g5 A2 R+ b& E
  433. ; E_USER_ERROR      - user-generated error message4 a, t7 [) Y) W: d* p: J
  434. ; E_USER_WARNING    - user-generated warning message/ ]4 N4 `6 m5 D/ W: l8 `
  435. ; E_USER_NOTICE     - user-generated notice message' V9 G( U: x- o. z; F
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    4 I/ L% D! a) x8 m" t0 Y
  437. ;                     of PHP3 o9 w6 ?$ |& h' }1 x
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings# F! }9 c" Q. R! [# v6 N, ^& D* Z
  439. ;
    6 z4 \( j6 c1 R% F8 _$ O
  440. ; Common Values:1 ?+ {# P& W: Z3 s( L+ i
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)2 k7 k7 ~3 ]1 `4 V
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)$ x3 J& y) V' ?9 C& L) T
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    / K, h! |9 ~6 f2 y! S/ ^
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " c9 s/ }  t; V% u. E" x6 U
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 |5 p% y% q) v) x
  446. ; Development Value: E_ALL2 }0 h# O' b- d5 J: Q
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # L4 |' u/ O; ^" l0 R" g# k
  448. ; http://php.net/error-reporting
      K: V+ w$ H# Z/ o1 C6 l
  449. error_reporting = E_ALL & ~E_NOTICE! o1 W. l) ]3 S( W
  450. ' ]/ }/ N: I. C8 V- c# n
  451. ; This directive controls whether or not and where PHP will output errors,* l( ?* o1 s" t% O+ r
  452. ; notices and warnings too. Error output is very useful during development, but8 v2 }9 g& L! G) H, u/ g" W
  453. ; it could be very dangerous in production environments. Depending on the code
    # M9 V! s3 g4 W: n, e
  454. ; which is triggering the error, sensitive information could potentially leak' J: g: n$ U& G( H& `
  455. ; out of your application such as database usernames and passwords or worse.' z" Y* L9 W) @, C8 P% a3 _0 Y
  456. ; For production environments, we recommend logging errors rather than
    ; Y7 H3 D2 R2 @3 w$ a8 v& Z" m" R
  457. ; sending them to STDOUT.( h6 V9 @) O, r- b% d" q. @; B/ M
  458. ; Possible Values:
    7 W; ^3 n$ B3 Q' C- L
  459. ;   Off = Do not display any errors
    , f7 Y9 R# P" m* p4 a7 V$ x" o
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
      ^5 c. _) w% w0 `' N0 g( ^9 `% J7 E
  461. ;   On or stdout = Display errors to STDOUT
    + @$ Q' P; B6 ^3 _* e
  462. ; Default Value: On. _% M5 N& |+ @) E) A- k" R4 b
  463. ; Development Value: On
    + p+ \; u$ k  \) |% p
  464. ; Production Value: Off, y! C$ S5 Q- h6 q$ r5 F
  465. ; http://php.net/display-errors
    8 w  R& D/ m: R+ z; `! o4 q6 G; y" A
  466. display_errors = On
    ; Q/ E) y- L" M

  467. ) K, }( n( _6 I
  468. ; The display of errors which occur during PHP's startup sequence are handled2 K5 u; E+ u- ~( x/ v! @
  469. ; separately from display_errors. PHP's default behavior is to suppress those7 T) |; ?9 L% }& Z3 w
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ! @" Z  k" T3 @: I3 G" D
  471. ; debugging configuration problems. We strongly recommend you2 L0 x6 _5 N5 h4 v
  472. ; set this to 'off' for production servers.& n# B8 l. g0 N; e) U
  473. ; Default Value: Off
    , q  t" v5 @1 o/ K
  474. ; Development Value: On
    8 a1 X2 w$ V, m0 @
  475. ; Production Value: Off$ ~8 B$ U4 {4 U+ l' m
  476. ; http://php.net/display-startup-errors) Q+ B2 x1 K3 N1 m$ D
  477. display_startup_errors = Off
    % Z9 ]" I& [/ e8 Q/ Y- Y& |  r
  478. ; `+ ^+ g+ w2 ^. n) j3 V
  479. ; Besides displaying errors, PHP can also log errors to locations such as a% s& M, A  [0 R, Y; x% p
  480. ; server-specific log, STDERR, or a location specified by the error_log1 C$ n8 K) V% y1 t2 \$ B, p
  481. ; directive found below. While errors should not be displayed on productions7 a1 y7 K) H* r" F) n
  482. ; servers they should still be monitored and logging is a great way to do that.5 ~# H4 W+ Y$ J' Z5 u! ]) U
  483. ; Default Value: Off
    5 X( K, V( m  _& E1 O
  484. ; Development Value: On" ?) T$ C1 r* E# x; P9 Q! U0 r
  485. ; Production Value: On0 s9 @& }( l( o# }5 f" K
  486. ; http://php.net/log-errors: M, x( u4 J# S( K* y- t
  487. log_errors = On
    # a( @: z4 o. w8 S4 I
  488. 0 \* H! r) D  o& Q( j2 f
  489. ; Set maximum length of log_errors. In error_log information about the source is
    5 w+ X5 o  K$ O9 \
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." u1 }7 B/ B; Q, l7 z! ]8 S6 R
  491. ; http://php.net/log-errors-max-len
    + {/ Q% f% h: i4 G' ~# U
  492. log_errors_max_len = 1024
    2 `% R4 Y" M7 Q9 R- l
  493. ; J# Q& m9 R' v, s
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    2 ?' j6 G4 X% {/ u4 L7 V  L$ v! Q
  495. ; line unless ignore_repeated_source is set true.
    ) `% P" ?; ]5 `$ u  c3 f8 b
  496. ; http://php.net/ignore-repeated-errors' o+ ~# ]2 M) n4 O' v
  497. ignore_repeated_errors = Off' ?6 r6 G* Z1 q9 ]

  498. 0 o% X' N) }6 a3 Z/ O
  499. ; Ignore source of message when ignoring repeated messages. When this setting( y; j- d2 p- v0 T: ]
  500. ; is On you will not log errors with repeated messages from different files or+ W4 L& E8 W5 v0 k) u- y. ~
  501. ; source lines." R  P+ w- k( u  T7 T
  502. ; http://php.net/ignore-repeated-source, b/ t/ j% m& _- Y$ X! d+ {
  503. ignore_repeated_source = Off
    : r. O( _( K; Q$ x8 U  k2 [' V

  504. - w, q% g9 c% }$ J
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    : h0 D7 h: e; W3 I/ a" e6 j
  506. ; stdout or in the log). This has only effect in a debug compile, and if/ t/ ]8 \+ v0 B- A: r  V
  507. ; error reporting includes E_WARNING in the allowed list
    1 @0 C2 }) g1 S. L, i; r$ y
  508. ; http://php.net/report-memleaks4 N0 ?: k2 H7 c
  509. report_memleaks = On+ `% K) w! T/ ?$ {& y$ N2 U+ M; ^

  510.   u! h" R8 K, _9 ~  c+ L
  511. ; This setting is on by default.: |4 _( f. Q, [9 w6 N3 E8 r
  512. ;report_zend_debug = 0
    : Y. H6 x5 y: u8 R- q

  513. , J* x) _/ O2 I2 w# L
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value1 ^! L/ `6 f+ F/ l- u
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    $ T2 c0 V' B$ W6 i: C: @. a
  516. ; however be disabled on production servers.. l; k( `  y& |" ]
  517. ; Default Value: Off& q, g' i( R2 N9 m
  518. ; Development Value: On
    ! |. Z" }2 ^! F8 U/ i
  519. ; Production Value: Off4 ^, I" {0 v4 z4 K+ X
  520. ; http://php.net/track-errors
    % K$ E% s8 @) w! I) r$ @
  521. track_errors = Off
    3 f; Q, W# b8 y* S, L

  522. 4 {$ {9 E& X. F4 v! A, H% U
  523. ; Turn off normal error reporting and emit XML-RPC error XML: s" v/ ?1 s& o+ p6 B" ?; [0 e, [
  524. ; http://php.net/xmlrpc-errors
    ( ~: g  n' b- @/ z
  525. ;xmlrpc_errors = 0
    9 O' P: T2 v' E- |- @

  526. / D2 S5 P2 Q7 C7 W
  527. ; An XML-RPC faultCode
    2 L) ~9 V$ X/ u! x: I  K1 A
  528. ;xmlrpc_error_number = 0" D/ t% V! l9 E! y$ I: z* e

  529. 4 |$ L4 G* {- J# d
  530. ; When PHP displays or logs an error, it has the capability of formatting the  ^' y$ {' k5 e
  531. ; error message as HTML for easier reading. This directive controls whether1 z3 P( O. s( j3 X( G" X3 }
  532. ; the error message is formatted as HTML or not.; _# V' x8 k8 [% d# ^9 ^
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI* M# h8 }: `, z8 J) a5 a7 [
  534. ; Default Value: On. \0 {7 D$ x4 _  f2 H& d0 Q
  535. ; Development Value: On8 a8 W% p9 @4 O& N6 B, g
  536. ; Production value: On
    * C6 Z* |$ Y! G2 H" E
  537. ; http://php.net/html-errors, v; o' J- N1 ~& [2 Q' V+ L9 W
  538. html_errors = On
    , y6 g: q: j, u' [4 f) Y
  539.   N) V* n9 ?2 d' D% |  z7 g$ P# i
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ' @1 L$ N" Z" D9 ^+ k5 a. U& ^
  541. ; produces clickable error messages that direct to a page describing the error
    6 b. R, [: L1 _& J  ?3 P1 s
  542. ; or function causing the error in detail.# r$ Z& @0 o3 Y# u5 c) Z' C
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    / a4 f$ |, w. p5 t
  544. ; and change docref_root to the base URL of your local copy including the
    & C6 Q2 f: v' q* A0 k6 x
  545. ; leading '/'. You must also specify the file extension being used including  }* s2 ]7 k! m$ \% U
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    - v  |! Z6 a# P  b
  547. ; case no links to documentation are generated./ W) ]( f" c& _3 k2 ]
  548. ; Note: Never use this feature for production boxes.- Z2 G, ]2 D8 e3 m
  549. ; http://php.net/docref-root8 m0 }% i1 k0 S$ Z. G$ r# J
  550. ; Examples5 O3 z+ t8 N* J$ B
  551. ;docref_root = "/phpmanual/"/ _- G( j+ y& b; m8 R5 F

  552. ) d9 U" T  Q1 Q
  553. ; http://php.net/docref-ext" ^  T- i2 y/ n7 f; L
  554. ;docref_ext = .html4 x. i8 p9 J  t3 Q0 n* {

  555. 3 G" P  a) N. K. G/ d' s1 H; v2 F9 l
  556. ; String to output before an error message. PHP's default behavior is to leave0 K8 S& Q, [" D) l; H0 l/ E
  557. ; this setting blank.
    2 L, m  t) y; @
  558. ; http://php.net/error-prepend-string
    9 S7 e% G" N+ w* Q* [. Y
  559. ; Example:& r' x- L, ]# s  x1 N
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    8 u! w% a- y9 Y$ O7 N
  561. 3 O& _$ M* m9 q1 k0 r- i& v8 J
  562. ; String to output after an error message. PHP's default behavior is to leave
    * \; {  s% Y9 H3 X5 H# V5 J+ c
  563. ; this setting blank.7 E  w; |* _* r8 q4 Z9 t: M
  564. ; http://php.net/error-append-string5 ~2 d; ]  r/ F
  565. ; Example:- R; r) P# Q$ U8 m. P7 W; n# a
  566. ;error_append_string = "</span>"! M- p0 T, ^& d

  567. 7 y, M1 J! }- J. t% w$ Z# q4 I- R' T
  568. ; Log errors to specified file. PHP's default behavior is to leave this value4 ?& b; ]8 }5 u( {
  569. ; empty.
    ( F5 r/ m, s5 J* M0 Z1 M
  570. ; http://php.net/error-log" i+ U9 M3 [9 X$ V0 Y/ k
  571. ; Example:/ h: x* n2 `* A+ m; E
  572. ;error_log = php_errors.log
    " B9 y* `+ _' s# G& _% j1 p
  573. ; Log errors to syslog (Event Log on Windows).% `+ X" f* N* C  t" l6 `6 N
  574. ;error_log = syslog6 d( u1 F  E$ g1 S* o1 p

  575. - f0 A- C  h1 F& n/ |0 F2 ~0 e. l
  576. ;windows.show_crt_warning$ X$ h! [' o: p. y
  577. ; Default value: 0
      j6 P. c+ E2 T& ?
  578. ; Development value: 01 m3 w. a$ g- s2 Y, D  k% d- a
  579. ; Production value: 0
    ( k; S+ U2 z7 L/ k5 s
  580. ! q: @% `4 f' Z( D
  581. ;;;;;;;;;;;;;;;;;3 J, U$ B* n3 z' l6 G6 \$ b0 V- t3 Y9 y
  582. ; Data Handling ;# s. X3 t7 L( G3 X. d
  583. ;;;;;;;;;;;;;;;;;
    # c% k+ @$ E' J( o; Q# v* Q. c. Z
  584. 7 F1 S. E, t/ W: K  n5 m3 l
  585. ; The separator used in PHP generated URLs to separate arguments.
    - y% M$ v) ^1 z& c" J
  586. ; PHP's default setting is "&".
    - g/ y4 I. w6 K8 }
  587. ; http://php.net/arg-separator.output
    5 |  x6 E8 O& z# V8 x& V
  588. ; Example:! O! F5 K$ K6 T7 M3 Q+ V
  589. ;arg_separator.output = "&amp;"
    ( J5 Y; v- A6 q/ q
  590. 1 ]& w6 I% H( ~' E8 ^" \% |  X
  591. ; List of separator(s) used by PHP to parse input URLs into variables.: s8 h/ b( [4 \- Z
  592. ; PHP's default setting is "&".
    7 P1 H) A& l- v* d5 ?1 J
  593. ; NOTE: Every character in this directive is considered as separator!
    9 e) [6 j* q8 s
  594. ; http://php.net/arg-separator.input
    $ g# o8 Z- a; A2 ?- f" B
  595. ; Example:5 Y, [% o: |5 H7 E( ~
  596. ;arg_separator.input = ";&"( t- B  }7 o3 U* u; C9 i1 Z3 O

  597. 0 @6 `) ~& Q8 g2 G: M: Y
  598. ; This directive determines which super global arrays are registered when PHP; \2 r- S3 Q$ R/ \* ?3 G. A
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! C0 n( W: Q! O3 T$ A  H
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty$ h+ c5 ?# D9 X0 q2 d
  601. ; paid for the registration of these arrays and because ENV is not as commonly7 V2 n0 V) e) A+ E# K5 U. V
  602. ; used as the others, ENV is not recommended on productions servers. You
    5 s' b1 N3 ^' F$ a( r# r0 ^
  603. ; can still get access to the environment variables through getenv() should you9 w3 V0 ?( J( [8 P
  604. ; need to.) s& H% `, \' y! y+ L" p" K
  605. ; Default Value: "EGPCS"7 v7 u8 I. v* E  s3 C
  606. ; Development Value: "GPCS"
    ( C4 y: b4 F: C9 m* p/ m
  607. ; Production Value: "GPCS";
    ( h% Q& w4 T! G7 K3 m0 D0 {! ^
  608. ; http://php.net/variables-order$ K) q) P' c6 f8 Q, f$ d
  609. variables_order = "GPCS"
    & A/ l9 z9 e) U! q: P& @+ E  j

  610. 9 l: H1 y! ^$ B' j( A. b3 \
  611. ; This directive determines which super global data (G,P & C) should be
    0 w8 S% a* y* _9 Z8 C2 [" j7 s
  612. ; registered into the super global array REQUEST. If so, it also determines
    3 W# n0 F: r/ G1 X( `% z
  613. ; the order in which that data is registered. The values for this directive
    ( S; [# `5 k" m5 l
  614. ; are specified in the same manner as the variables_order directive,
    ; s7 [& T  O! f2 e6 B& V) L3 U
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ N6 d& k3 t) P
  616. ; in the variables_order directive. It does not mean it will leave the super
    + q, g. B6 B( |- z5 v
  617. ; globals array REQUEST empty.
    9 T8 ?5 v$ ^+ F0 h  M' P
  618. ; Default Value: None, w4 m( e/ c% g# g- n
  619. ; Development Value: "GP"
    ( d" `- ]7 r1 J& I) Z6 E5 F4 S9 H
  620. ; Production Value: "GP"- B3 n3 n% `& |9 w" Z2 h* b
  621. ; http://php.net/request-order$ J$ e7 h3 e& V. w4 l
  622. request_order = "GP"
    4 s8 j$ J7 V/ P' ~5 Q

  623. 5 M4 X$ U' F4 N7 \
  624. ; This directive determines whether PHP registers $argv & $argc each time it: [, X3 F  i2 @7 m4 b; v( {- j  n
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) b) S1 q/ y1 g3 l
  626. ; is invoked. $argc contains an integer representing the number of arguments8 E4 Y) @$ t6 U$ a
  627. ; that were passed when the script was invoked. These arrays are extremely% O6 v( N( ~3 y" v1 y  Y6 Y
  628. ; useful when running scripts from the command line. When this directive is
    8 Z4 K& W3 N( H/ W! A; \
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 A) ?3 ?3 b+ F" D: r
  630. ; a script is executed. For performance reasons, this feature should be disabled
    , n1 J# ~9 @4 B6 T6 q- v8 c1 U
  631. ; on production servers.) P& T! h& j7 v+ ?0 L4 |: b
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    * l% g1 Z* ~7 c6 k* K/ @1 o) I  X
  633. ; Default Value: On* F* m3 R+ E- P# z& H( l# k3 N* _% k
  634. ; Development Value: Off
    2 ?  Z7 O. M2 v% C( Q
  635. ; Production Value: Off
      D5 ~) o6 g* b0 j- h+ ?9 n
  636. ; http://php.net/register-argc-argv( m1 R6 K1 ~& [" G; z* _7 X
  637. register_argc_argv = Off& z3 \$ `% j6 t# Z* ]
  638. $ l" A4 m' Q- e: a
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're! D% m9 D2 u% g, O& T+ |; ?
  640. ; first used (Just In Time) instead of when the script starts. If these; s! i( m% ~' z" ]
  641. ; variables are not used within a script, having this directive on will result
      U2 o; T1 h/ c, J0 `4 ~
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % G8 G% }" A# e7 k; N$ ^, t
  643. ; for this directive to have any affect., J9 t2 K2 [* v# ?* |: l
  644. ; http://php.net/auto-globals-jit  B( f6 D/ T# G3 y3 U. ]
  645. auto_globals_jit = On
    : N8 r4 x" \4 Z1 V+ m
  646. ! c9 J- i8 I' C. e9 P  r
  647. ; Whether PHP will read the POST data.
    " m6 \. T6 i1 Y6 O
  648. ; This option is enabled by default.% Y6 K0 {3 E* M: `
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    # d& q6 U8 k* p! X9 R
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    % a8 A  G% B2 G6 d* K
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ( i# Y  C9 v0 V+ j8 x' M
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.- L& K5 f; D$ d& m6 H- C$ C  e' K
  653. ; http://php.net/enable-post-data-reading
    ' q( {1 Q( R5 Z/ i
  654. ;enable_post_data_reading = Off$ h: v8 k9 n4 c- x: V

  655. $ ^$ m* Q/ V2 w  W
  656. ; Maximum size of POST data that PHP will accept.
    , m# a5 H4 |  `( [# c. h( K& f
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / w$ u6 p  L1 B1 c8 P$ P
  658. ; is disabled through enable_post_data_reading.; g! {% m: X( ]6 C0 y7 a% t2 G
  659. ; http://php.net/post-max-size* K" T' C# ]% A, S+ f( D
  660. post_max_size = 50M
    / S; Z: O9 `; ^  }
  661. & u8 P! z% l8 V! U* @3 x
  662. ; Automatically add files before PHP document.% ?' ?$ f- Y# U' n
  663. ; http://php.net/auto-prepend-file* ^( \; d0 o. R, Y& F1 r: ^  t2 ~
  664. auto_prepend_file =
    2 U5 b) U! n  y% c) \
  665. # Z0 O" }; L  d) `3 @. \$ L: |
  666. ; Automatically add files after PHP document.
    9 D9 g) ^0 l* r  N* I* A
  667. ; http://php.net/auto-append-file6 W  h1 A5 d7 D( g# T
  668. auto_append_file =
    6 o# O7 Y- T9 g
  669. + A* e; u5 h! ]6 q% a
  670. ; By default, PHP will output a media type using the Content-Type header. To
    / Z* R2 U2 o; {
  671. ; disable this, simply set it to be empty.2 m: f5 C' T& }4 H# ?5 Q4 B( z- i5 P
  672. ;
    6 _- @4 x0 |; |
  673. ; PHP's built-in default media type is set to text/html.
    9 R) e, R' Y7 `' w: c
  674. ; http://php.net/default-mimetype
    2 z9 I* g( O. D: h- q* a) N
  675. default_mimetype = "text/html"6 b: A' k9 b4 X- j5 ?# F

  676. , P. x( L( T8 q4 ]# C! ^
  677. ; PHP's default character set is set to UTF-8.
    3 Q1 \3 s' a# U: w2 u
  678. ; http://php.net/default-charset
    6 d" {; S/ R- Z6 O, g) Z( \1 L
  679. default_charset = "UTF-8"7 n& ?) ^! ?: a* J6 ^, M& L

  680.   J  A. V7 K8 h3 c. @, C
  681. ; PHP internal character encoding is set to empty.
    ) H. s" H- }2 a( x$ C5 X
  682. ; If empty, default_charset is used.
    - O* v: T4 J$ I: @; y4 M6 I: ?) D
  683. ; http://php.net/internal-encoding
    ! F* V* t+ a4 Y
  684. ;internal_encoding =# y- _% v+ a+ J: e/ H
  685. ( c8 k1 @0 s. ^: M+ ?& K7 T& P
  686. ; PHP input character encoding is set to empty.
    & b6 m) c6 T/ o8 m8 H4 b  L. g0 G
  687. ; If empty, default_charset is used.: J/ Q" B4 T) Z" L: V/ e
  688. ; http://php.net/input-encoding' Y3 e/ K) [" |% W- `, y2 y
  689. ;input_encoding =
    . r; m% ^7 R1 p# T; _4 s: P, Y

  690. 0 A5 ]+ `( \& d; m
  691. ; PHP output character encoding is set to empty.
    ; D6 @5 b) I9 M; S6 J
  692. ; If empty, default_charset is used.5 r8 R9 R) b& S, m
  693. ; See also output_buffer.
    , d# p8 l4 S  E9 t( [8 m
  694. ; http://php.net/output-encoding) [6 e; e& e: J2 r! \
  695. ;output_encoding =/ g- @& d9 K" N1 r; o; n. K+ I
  696. : l0 z5 T; l. m9 ^, q
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is7 x, z; x5 q# Z) g; j
  698. ; to disable this feature and it will be removed in a future version.
    1 E% M& K3 ^% A( @4 W
  699. ; If post reading is disabled through enable_post_data_reading,
    ; s3 j: G/ D) R* e
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.4 v$ j" X. T* V8 I8 j3 h: M8 V/ G$ E
  701. ; http://php.net/always-populate-raw-post-data. y" U' l; V9 T8 W
  702. ;always_populate_raw_post_data = -1) S3 R) I4 \& b' Z

  703. % W2 _% B2 D1 ?
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;- a) c# K1 {! h
  705. ; Paths and Directories ;$ z8 Z/ X3 |$ m* b6 T7 z+ q
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; e( [* Y* F% ~1 A2 N+ L

  707. 4 @5 a2 t' @* V0 i6 P1 ~5 |
  708. ; UNIX: "/path1:/path2"
    / ?: W- U4 p! x! y' ^1 b
  709. ;include_path = ".:/php/includes"5 M+ _- Y. M8 J) A; t4 r- r
  710. ;) M) @; E: P: q) N; Z9 A# ]- G
  711. ; Windows: "\path1;\path2"3 v: ^! A& }" a2 I/ P, ~7 ]% y: g9 u& a( x
  712. ;include_path = ".;c:\php\includes"# ]) y, Z$ X9 Z
  713. ;
    : V6 k2 i/ P7 I( y% b2 T7 ?) u) P
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"% ^( {1 m5 c" k7 Q1 @+ r
  715. ; http://php.net/include-path3 I! T! @/ h% L6 [" t7 u/ P9 J

  716. 4 N, q2 Z5 ^8 g* V$ _/ ^" N3 O6 S
  717. ; The root of the PHP pages, used only if nonempty.
    ( X4 S8 ^! @0 g4 t8 \
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 ~: I1 o& Y- C  d: j- }& X
  719. ; if you are running php as a CGI under any web server (other than IIS)
    7 \! b9 y5 \8 _5 g
  720. ; see documentation for security issues.  The alternate is to use the: T; {* I. E1 c4 I8 O5 O2 j
  721. ; cgi.force_redirect configuration below" B; O$ D! q4 w# c2 c
  722. ; http://php.net/doc-root
    3 p4 x3 L/ d1 K! ?+ R; h
  723. doc_root =& ?( p1 q; Y3 u8 n1 @
  724.   \0 G8 j& F5 J. T
  725. ; The directory under which PHP opens the script using /~username used only
    % b, s6 J, u5 @2 x( D8 `
  726. ; if nonempty.
    * E% U6 N) e! q
  727. ; http://php.net/user-dir
    " S# r6 z5 k2 e5 k; {% D
  728. user_dir =. j: T( G2 g- ?8 V! c" J

  729.   U: m7 y. L$ w% Q
  730. ; Directory in which the loadable extensions (modules) reside.
    3 ~9 y% G$ q8 q) w+ T# \; |
  731. ; http://php.net/extension-dir
    8 {3 Z0 J- g  {. V1 k
  732. ; extension_dir = "./") P( E, m6 f& Y6 [9 v! W
  733. ; On windows:
    / a& r" S& ~4 O* O) f! s: a* i# v
  734. ; extension_dir = "ext"
    * Q1 J* s( M( L$ w

  735. # a" o. L2 F/ Q2 ]7 p, d* D
  736. ; Directory where the temporary files should be placed.
    5 z  _) H' \' Z* i/ M
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ' s' Q. n" g0 Q
  738. ; sys_temp_dir = "/tmp"
    5 ~3 R6 C) {, ^7 Z7 c3 c! Z5 ?, B

  739. 6 x- H3 `" U9 S8 ?5 X
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    9 Q5 z& c( m% W% D
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; B# m  l, H5 u- r7 L
  742. ; disabled on them.
      ~# A# b' D: \
  743. ; http://php.net/enable-dl
    ' G- C5 k' \# ?* v7 Z
  744. enable_dl = Off
    ) V, y7 ]8 S/ [7 S4 \. a
  745. * n. l7 Q0 U! G" Q7 y! D
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - j! s) e/ t2 s. s' v* S
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    + Y4 r, w$ ?/ A& s/ E
  748. ; turn it off here AT YOUR OWN RISK
    4 z& f9 q% h& s0 _* b" R
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ) W, L9 q2 e# B1 Z9 K/ C
  750. ; http://php.net/cgi.force-redirect
    " c( H) z$ X7 I' Q; ~
  751. ;cgi.force_redirect = 1
    . {' j; R$ k3 R; c
  752. ' V! [; ~2 `% I1 E+ ~
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 ]( X! Z, E" C, x$ r) W: d. ?1 k( x
  754. ; every request. PHP's default behavior is to disable this feature." e0 G6 H: k! V
  755. ;cgi.nph = 1
    + D4 w$ ~) L) t9 D0 @+ _& c
  756. * u% z) K% C0 Y+ ^7 o) `8 e
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
      K# G  v/ n3 e, N9 e
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ W' D# U& o, Z
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    6 v% ?4 [# u6 c8 A8 j
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST., z6 J, e: D' |  T
  761. ; http://php.net/cgi.redirect-status-env4 \7 d7 [4 `. J5 f, j
  762. ;cgi.redirect_status_env =) k* U( ]( k& M2 V7 P1 T9 w! `
  763. 0 C" s. M% d; T4 H# k7 W' G+ {
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 y7 k  Q" A2 Y' c5 m+ x% {
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + l: h0 ]6 k. U6 h6 A0 O0 z
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    6 R4 s0 h: i6 M3 X- b
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 C9 @7 O7 Q8 S; `$ }
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    0 g5 W( R: ^+ J
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.: @8 {% w% H% \
  770. ; http://php.net/cgi.fix-pathinfo4 C+ R1 X) M1 M+ O
  771. cgi.fix_pathinfo=15 e, Z( g$ G2 e! c, y5 T

  772. / f4 o6 [+ r+ `. K  A/ N
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 i+ F  C; ^5 R( d$ {6 d& R4 ~
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    - X, @8 L, k/ z  l
  775. ; http://php.net/cgi.dicard-path/ V( Z6 y) w$ @* B. B
  776. ;cgi.discard_path=11 A/ b2 N; A# j4 a3 P
  777. ' r, u% h9 e9 n1 F, j( a
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; W! E- d+ f  I( N
  779. ; security tokens of the calling client.  This allows IIS to define the
    / f, `! n2 t" x" b+ |) e) l$ [
  780. ; security context that the request runs under.  mod_fastcgi under Apache, q) N3 _+ i) v( D# @* `
  781. ; does not currently support this feature (03/17/2002)
    & o  i+ ~+ l$ \* g7 k# Z
  782. ; Set to 1 if running under IIS.  Default is zero., s8 A& t+ V: {% Z8 ?& p
  783. ; http://php.net/fastcgi.impersonate
    # o" h0 ^7 {: ~6 I8 r2 G
  784. ;fastcgi.impersonate = 1
    5 {- n- O% }7 s7 U+ b

  785. 7 X7 G" n3 k: a& `! {
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable$ U+ ~! Z( Y" l, `: C' m, ?) h
  787. ; this feature.9 J0 E  ?- f" i5 W. M) K
  788. ;fastcgi.logging = 06 G. {+ o' o! Q5 T/ {5 S
  789. 3 {2 ^! J* S6 k6 m) M( \
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, X& [; q  g6 c7 B6 \3 n. F5 V
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that$ z: L" A9 N* q7 R4 E; e
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 `" \$ X6 y' d* F; n; g
  793. ; RFC2616 compliant header.3 y! \3 X7 g& o6 {. U9 Q
  794. ; Default is zero.( ]( G4 v6 L7 D
  795. ; http://php.net/cgi.rfc2616-headers
    ' U3 r  N; u6 \7 p4 N' O) c
  796. ;cgi.rfc2616_headers = 0* g# p0 Z/ L; N* g* i% n
  797. 4 t. ^- ]6 A& L1 S6 Q; s
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    1 n0 F/ k2 ]4 p8 o
  799. ; (shebang) at the top of the running script. This line might be needed if the
    - P2 J7 M0 F. h( I
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI( p9 W2 v0 E2 a% v1 B6 w; `
  801. ; mode skips this line and ignores its content if this directive is turned on./ k+ \" Y2 @6 j7 L% Y0 O
  802. ; http://php.net/cgi.check-shebang-line, |+ K2 u& X$ r
  803. ;cgi.check_shebang_line=1
    4 ?$ i& F2 [( ~1 k8 ^4 m3 u1 E. a& ]! D

  804.   ?* q8 [6 C6 J
  805. ;;;;;;;;;;;;;;;;
    # m; V% t) B7 S1 x" @0 P" O
  806. ; File Uploads ;/ K3 t  ]6 m& _  g( Y
  807. ;;;;;;;;;;;;;;;;
    ) h; N9 g8 v1 U8 z8 g
  808. ; C: t4 v3 O) N( _2 H
  809. ; Whether to allow HTTP file uploads.
    + _- K9 i' Z' o: X4 Z* p  |, k# ^" J
  810. ; http://php.net/file-uploads
    9 v3 B9 T+ z$ T
  811. file_uploads = On
    . f' p. X- O: y3 p

  812. ; |. E2 _3 e( V* z& j' p/ \
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    1 {. I, z3 E( x. K
  814. ; specified).
    6 p1 n# O4 f; g! G+ }
  815. ; http://php.net/upload-tmp-dir
    ( K" N# ]/ p1 ^) Q! s  h% _- g7 P7 v
  816. ;upload_tmp_dir =/ i  _! P" R8 [, y! c+ A: }) y

  817. 8 p9 N9 j/ l& _
  818. ; Maximum allowed size for uploaded files.$ P$ M% [9 B. b$ I& p+ U
  819. ; http://php.net/upload-max-filesize! W+ D+ T* r0 c, _& N# E; r( ]% e# g
  820. upload_max_filesize = 50M  }7 s6 {4 x' f  M7 B  q) R3 t$ o
  821. ; R1 o: P5 q! Q6 H
  822. ; Maximum number of files that can be uploaded via a single request- H+ \3 n6 S( u1 V6 ?2 R$ r
  823. max_file_uploads = 20$ @5 w1 Z3 s5 @: x5 O6 N: s

  824. " _) Z! z, g- h
  825. ;;;;;;;;;;;;;;;;;;' f; B, U" ]! Q
  826. ; Fopen wrappers ;
    ) x$ q4 a8 Y; H; M8 a, l
  827. ;;;;;;;;;;;;;;;;;;
    ' L: E! S; _/ Z) ]# @

  828. : T6 I2 R. X' k4 Y6 c
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.  H# _  J. \9 b3 E2 h. q8 }4 D9 {
  830. ; http://php.net/allow-url-fopen- p+ l& U0 j5 ]5 v+ d& K" b
  831. allow_url_fopen = On/ y$ r6 i9 W& c6 P0 W
  832. 2 G* [1 @+ S- e; x. A$ L2 m
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.6 M/ Z5 _1 @) O4 C' B6 \; M6 F
  834. ; http://php.net/allow-url-include
    : }- V3 b! c; ]0 f6 i* Q
  835. allow_url_include = Off
    9 @) b# |/ j( b4 s% j

  836. 7 E9 `; T, f3 g$ g& `/ t
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ) _- b: z* j! d4 C6 }' R( ~
  838. ; for this is empty.' G2 F0 U, ^, \% Y$ M5 f: G: U* b
  839. ; http://php.net/from
    , J6 _: J! I7 j3 p% c5 ?: m
  840. ;from="john@doe.com"- D: F0 B' K! a, h* v: p: J2 S6 ?
  841. 4 ?0 B2 S! q2 q: a4 z$ j
  842. ; Define the User-Agent string. PHP's default setting for this is empty.5 X" u+ {/ _6 d7 q; v1 @( O9 O
  843. ; http://php.net/user-agent) t7 ]* ~. X% S9 `
  844. ;user_agent="PHP") \1 s. }- p" R+ D% _
  845. : f" _! s$ g) s: X" X7 K
  846. ; Default timeout for socket based streams (seconds)
    : k/ C. A9 A& |: f3 F, e
  847. ; http://php.net/default-socket-timeout. W4 r8 X2 q6 u4 w2 E
  848. default_socket_timeout = 60
    # a% o$ K3 e( ]/ C+ I% o

  849. 8 B! S- [) y6 G. D9 P/ G& ~
  850. ; If your scripts have to deal with files from Macintosh systems,6 k6 ~# c" G+ M+ B7 o, a- G- t
  851. ; or you are running on a Mac and need to deal with files from
    5 p" D# J9 L( p, X
  852. ; unix or win32 systems, setting this flag will cause PHP to4 V. O" M* h) H3 O$ Q# Y- @6 J
  853. ; automatically detect the EOL character in those files so that
    : x) r  h6 G: w- M
  854. ; fgets() and file() will work regardless of the source of the file.1 m$ V# g: r7 w& |- l$ n& m
  855. ; http://php.net/auto-detect-line-endings
    9 R* z# U2 ]# E5 M! j* L1 l
  856. ;auto_detect_line_endings = Off! H2 X; F, F, ?* b, ]+ w4 r, }

  857. 1 O" s8 H3 `" K1 G
  858. ;;;;;;;;;;;;;;;;;;;;;;
    4 d. R1 i6 `3 n( ]( u! T
  859. ; Dynamic Extensions ;8 o& l- S& v; m7 M
  860. ;;;;;;;;;;;;;;;;;;;;;;! t+ |& M4 R0 v* G) ?% {, K3 z

  861. / Y" q4 X0 q+ }
  862. ; If you wish to have an extension loaded automatically, use the following  u. I( D4 G5 [, d# ~; P
  863. ; syntax:
    9 ~4 q; |* K0 E6 N, K1 A
  864. ;
    : Z! n1 @9 t% X* j
  865. ;   extension=modulename.extension
    # p/ S8 l9 f  m$ ^
  866. ;* e9 u+ [+ P5 F9 e
  867. ; For example, on Windows:5 M' W6 T. B5 ^% M+ G5 ?( p9 O
  868. ;; o; h2 c- @3 @; ~0 ]
  869. ;   extension=msql.dll3 r- t1 [3 u. U% O# K" N
  870. ;
    0 {' i! K# `% K8 [+ Q* g4 H
  871. ; ... or under UNIX:: L8 F6 V! r3 r3 G) |8 h7 g+ _$ e
  872. ;. A# }1 w( |+ s' W
  873. ;   extension=msql.so9 j( Y6 j- y4 X8 @2 W, A
  874. ;
    " _' z) K& `: A& ~
  875. ; ... or with a path:
    + J2 x9 _: K; _$ ^' y
  876. ;
    , h, ?2 W5 }8 w! A. @" p% U1 B
  877. ;   extension=/path/to/extension/msql.so9 N  T, \; e3 Y5 {( c- U
  878. ;
      N$ n4 A5 G0 X
  879. ; If you only provide the name of the extension, PHP will look for it in its% D6 b: T  @& f5 P
  880. ; default extension directory., s5 Q0 z' r) e, t6 a4 Y7 f- u$ W8 t
  881. ;0 `8 o0 u4 d# f3 y5 e/ D
  882. ; Windows Extensions
    6 F* H+ a% F  H' L
  883. ; Note that ODBC support is built in, so no dll is needed for it.8 N/ E8 G  o! L
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    - O0 H+ g1 w  _/ B- B0 E
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).' A4 X' H  ~: D
  886. ; Be sure to appropriately set the extension_dir directive.
      q  ]5 {) ^: a# R# A9 A3 U' S
  887. ;
    - J4 n& P. Q# m1 e
  888. ;extension=php_bz2.dll2 d* Q2 v3 E, h  X& h% h
  889. ;extension=php_curl.dll/ u1 w" q2 ^8 M
  890. ;extension=php_fileinfo.dll
    8 d$ j6 W6 m5 V1 T4 v/ L" U
  891. ;extension=php_gd2.dll0 L  ~! {: U+ A0 l
  892. ;extension=php_gettext.dll
    6 x" }$ a; n+ u5 T) O
  893. ;extension=php_gmp.dll7 a* J  b' T% S* c
  894. ;extension=php_intl.dll
    2 k" u, f, X; g* H* i4 @1 t
  895. ;extension=php_imap.dll
    - k5 }$ B* y4 B) J9 c* D$ e
  896. ;extension=php_interbase.dll. T* ~5 o& y* R2 U* Y5 F& \5 _
  897. ;extension=php_ldap.dll5 n5 C% o: T' f4 [8 O8 V' R
  898. ;extension=php_mbstring.dll
    ! X2 M& e8 I' N
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it4 B- b! R1 Y4 Q
  900. ;extension=php_mysql.dll
    ' @5 n% L- B9 d
  901. ;extension=php_mysqli.dll) \: A! D: c; g, k
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client6 c! W1 p6 X# J8 n4 a; L1 i/ c# ]. @
  903. ;extension=php_openssl.dll" r! K9 P0 t  i3 O# |: S3 R2 Z4 |
  904. ;extension=php_pdo_firebird.dll% p" {3 T3 }9 A: ?! ?7 y/ q
  905. ;extension=php_pdo_mysql.dll
    : i9 e1 [, S" \# Z5 ?( V/ X
  906. ;extension=php_pdo_oci.dll, O) g2 Y6 K2 @
  907. ;extension=php_pdo_odbc.dll
      m* [$ O- M$ M9 @, I9 O2 E9 i' ?8 B
  908. ;extension=php_pdo_pgsql.dll8 \$ `# [6 a  h' [, t, |
  909. ;extension=php_pdo_sqlite.dll
    3 D/ P4 D+ I0 |8 m1 X
  910. ;extension=php_pgsql.dll
    # `# U1 @: K2 J  x/ v& h  p4 O
  911. ;extension=php_shmop.dll' Q' _7 ~. g5 T; e+ I
  912. 5 a: `- D# `9 H; f+ w; g- \
  913. ; The MIBS data available in the PHP distribution must be installed.
    ; q# ?. r) U  |2 t0 x3 p' H
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    7 R) W4 @" ]3 Y8 R! ~
  915. ;extension=php_snmp.dll" T5 r. I( v) K6 [& w3 u
  916. & {& h# e1 ]2 c2 V* U% L
  917. ;extension=php_soap.dll$ @  z# d4 J& b* _
  918. ;extension=php_sockets.dll2 ]' M5 i) j( r! n+ @+ V
  919. ;extension=php_sqlite3.dll
    1 q/ I) n8 s1 {2 R/ i6 _2 _
  920. ;extension=php_sybase_ct.dll
    & s/ l( f* Z4 d1 L
  921. ;extension=php_tidy.dll
    1 |7 W1 }6 E, w8 q( o+ z" l
  922. ;extension=php_xmlrpc.dll) S9 l/ D! `% m- i, y8 H
  923. ;extension=php_xsl.dll
    6 _- c1 F9 C- i# p9 W
  924. 4 W; y0 H( Y. b+ O4 }  x( w" k" v
  925. ;;;;;;;;;;;;;;;;;;;3 f, E8 q& i2 N. u* J
  926. ; Module Settings ;
    $ ]" E3 o3 n; K1 ]) y4 Y9 q
  927. ;;;;;;;;;;;;;;;;;;;
    1 g: _! @" B% H* ~" K  O; S
  928. $ l: B$ X' S' L$ R9 f& |
  929. [CLI Server]
    2 p: x( G) W" l! ~
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.2 r9 ?) n' y% G1 E; S
  931. cli_server.color = On
    ( |7 a- [. Y; Q( x! `$ Q

  932. 2 X) W9 C3 x/ t; Q
  933. [Date]! P2 x/ Z! k% C) x
  934. ; Defines the default timezone used by the date functions& N2 h( k  {4 x. r) ~
  935. ; http://php.net/date.timezone
    + T/ `  [; ~8 _4 e
  936. date.timezone = PRC
    2 F7 M; Y' ~- s, h' G/ M0 b
  937. $ o; p# Y5 l2 |% c/ j$ X
  938. ; http://php.net/date.default-latitude
    . G9 X  F4 K* q
  939. ;date.default_latitude = 31.7667
    3 q1 P+ a/ S5 Y8 ]: s' E* d

  940. / R! M) l, l9 `4 ^
  941. ; http://php.net/date.default-longitude
    ) u& U, @' H" _5 ?: e% E3 h
  942. ;date.default_longitude = 35.2333& @+ S  ], h, O- y; `: X  R
  943. % q. S6 g1 j1 |4 i* u8 J+ ]
  944. ; http://php.net/date.sunrise-zenith3 e/ l, R' J/ K) R2 A
  945. ;date.sunrise_zenith = 90.583333
    ! }7 [/ A1 K% D; x  |9 a
  946. 4 m- Z1 M& D3 ^2 D9 H3 o
  947. ; http://php.net/date.sunset-zenith+ F7 P. o9 o9 n* e: {1 c) w7 ~
  948. ;date.sunset_zenith = 90.5833334 y* n' |4 Z/ k9 m0 d0 Q7 v. k
  949. ( B" x' \$ l# P
  950. [filter]' c% v! I; I1 j2 U/ v4 o
  951. ; http://php.net/filter.default
    / p  G' }$ ^. Z- {& O9 F
  952. ;filter.default = unsafe_raw) p0 c! w/ ^+ j2 i
  953. : O6 k0 i; [( E
  954. ; http://php.net/filter.default-flags
    ! \7 ~4 F  P$ _; \
  955. ;filter.default_flags =* `, M. W" H# A( @* D

  956. % t! ]1 c$ P, Y$ {5 p% z) E
  957. [iconv]; }" b: ]+ ]) j5 i! V: Z  s- I
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & y4 @9 G  l% T2 T
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    # g7 b! a8 t$ e' j& t
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding' _9 U& H1 i) s" |% _
  961. ;iconv.input_encoding =
    " o0 ]% ]3 p# j; R+ b/ I! X% z
  962. , N  N! ?# s5 V- m6 L/ F2 _
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.2 p6 }$ l( ?$ d3 I6 U/ D
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & l' y3 q" S. v- {
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 S) B2 M- W( W+ R. N) A
  966. ;iconv.internal_encoding =
    6 Z3 J) ~& r. v0 P

  967. 2 z1 h3 P8 O7 R1 m# R; H- P
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.5 \0 H5 D6 k2 |. Y. E8 r5 u7 w
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    . s$ H: N4 J) t3 a( {* C; O
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding3 h* X( l: x2 h) v( [3 a5 X
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ) \( Q# S# A+ E0 Z9 H! ~. s
  972. ; otherwise output encoding conversion cannot be performed.8 E5 X2 r8 z) [6 h) x3 z
  973. ;iconv.output_encoding =" ^/ {" Z) J3 `5 w1 H8 L( P
  974. 9 ~6 `2 E+ P8 L) c/ q3 _8 F$ L
  975. [intl]3 F* {+ m8 l0 C' c! P
  976. ;intl.default_locale =7 \3 \- F7 n( f. L
  977. ; This directive allows you to produce PHP errors when some error& C: _2 m9 X8 ~' ?! @
  978. ; happens within intl functions. The value is the level of the error produced.
    8 x6 i; @# k" o. B5 o
  979. ; Default is 0, which does not produce any errors.
    ; h/ m. c0 O6 V0 @
  980. ;intl.error_level = E_WARNING
    ! i" B) Z2 N! Z
  981. ;intl.use_exceptions = 0
    : T  Z+ d/ Z' F* _5 F$ D

  982. - |3 d2 |) J2 Z/ {+ A3 O* u
  983. [sqlite3]
    ' \, `6 h! p/ P1 P
  984. ;sqlite3.extension_dir =- Y, ~6 q) q/ G+ Z4 }8 W# l
  985. ) [) G2 c- X, \' W( A+ W
  986. [Pcre]
    , z$ [( Y% ]: ^% B" ~
  987. ;PCRE library backtracking limit.- ^/ |5 o/ k# c( K& F; u- x% S/ d
  988. ; http://php.net/pcre.backtrack-limit% @+ R; E- ?! ^" ~
  989. ;pcre.backtrack_limit=100000
    4 O. y; p- n1 F. |1 E" b3 x, i/ |
  990. / x; E6 G0 g8 D0 }" k9 D
  991. ;PCRE library recursion limit.( }2 h" |# u' z
  992. ;Please note that if you set this value to a high number you may consume all
    * a8 d! H" D+ l6 H! [
  993. ;the available process stack and eventually crash PHP (due to reaching the$ C) s+ F2 |* @8 H3 h
  994. ;stack size limit imposed by the Operating System).
    ) f7 o. B* D% R  g: G6 q+ p
  995. ; http://php.net/pcre.recursion-limit1 D% F1 T7 _0 z4 t' Y
  996. ;pcre.recursion_limit=100000) A: @1 f7 V& ~. s+ x

  997. ' H1 R& F0 e, ^  Z& l+ F; X# Y
  998. [Pdo]
    * n" _/ f8 e$ b) i. n
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    7 f$ C" R1 e0 q) o) M5 E
  1000. ; http://php.net/pdo-odbc.connection-pooling
    8 A" g) V4 w: h
  1001. ;pdo_odbc.connection_pooling=strict) v) t* z1 i+ ~( K8 [* w
  1002. 4 s: j; G+ q' @9 Q0 s' [' n! @
  1003. ;pdo_odbc.db2_instance_name
    ( Z" n$ H) ?- Q9 I

  1004. + r3 Y7 G: Y1 U6 J2 s
  1005. [Pdo_mysql]/ L1 T3 j6 l- U
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ s% A! X4 Z$ T! @
  1007. ; http://php.net/pdo_mysql.cache_size- r' k& j4 d# [3 x  `, y
  1008. pdo_mysql.cache_size = 2000
    2 j" u- |& p/ s1 w

  1009. 7 B2 x: ^- l, e- V. J9 T& \1 D7 `
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 q$ C$ s7 ^: z9 ]+ F7 R0 P) x
  1011. ; MySQL defaults.
    6 `% C  ~5 M* N8 z& X) J
  1012. ; http://php.net/pdo_mysql.default-socket
    ; M! y5 `+ ~" l7 K$ q
  1013. pdo_mysql.default_socket=
    / f/ C8 ^& H# G. {2 t

  1014. , h/ s' |! v4 J, `1 {
  1015. [Phar]: r- Q  |1 }3 ?  }1 Y. v; [9 P
  1016. ; http://php.net/phar.readonly7 @3 _1 q# s( o( U
  1017. ;phar.readonly = On2 Z0 r* C, I+ \

  1018. : b% }4 c1 C6 ]$ n( g2 E$ S; g
  1019. ; http://php.net/phar.require-hash
    : w& r2 O9 F+ W( a: a
  1020. ;phar.require_hash = On
    # M( q( a9 S; S: N$ r

  1021. + C' w" ?* M' g* I  I6 K; E
  1022. ;phar.cache_list =2 _" G( P# D' z; N" a, R$ [

  1023. 6 ^4 I) w& s0 r$ @3 x: Y8 z
  1024. [mail function]
    , D& m9 E3 C8 Q7 e
  1025. ; For Win32 only.' _: t3 B& _' o1 I' @* z; s# v( r: \
  1026. ; http://php.net/smtp
    & Z: I2 l2 a  `* q" Z$ y5 b+ Z8 T5 H; r
  1027. SMTP = localhost) F( o8 ?6 }/ t+ W# F) x& Y8 x
  1028. ; http://php.net/smtp-port
    : |' {+ ~* ]7 X0 @  h  ?2 K( F/ S
  1029. smtp_port = 25" E- I* D2 W+ K, [. u. \

  1030. / _( u! F% b  z
  1031. ; For Win32 only.2 V$ u" u9 e. Q/ R1 o
  1032. ; http://php.net/sendmail-from
    $ @/ Q. S) v; C- v4 N2 r# l
  1033. ;sendmail_from = me@example.com
    * f5 V$ U$ x9 K$ w1 U. c
  1034. 8 {1 z' J' r. k) E
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ' V% I1 C" o' x; b/ l2 W2 y2 F
  1036. ; http://php.net/sendmail-path) K5 {4 Z( E" s5 i
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    $ @3 f& A! s" o% O; y

  1038. 1 D  F% A: j* l8 K! ]1 i8 \
  1039. ; Force the addition of the specified parameters to be passed as extra parameters; w- Z3 |( P3 e! v. _' G- k' ~! s/ o* g8 B
  1040. ; to the sendmail binary. These parameters will always replace the value of
    1 Q; ~" t0 m9 L8 m: f; a5 F
  1041. ; the 5th parameter to mail().7 `0 U. y  t8 H  q5 m; f: Q) f8 |, R* h% |
  1042. ;mail.force_extra_parameters =- k+ u0 v& a7 U; ?0 n% |. I

  1043. 7 |! a$ w+ K$ [  m; l2 F
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 ^- O: w2 w- K9 n8 @/ j
  1045. mail.add_x_header = On
    ' w; z9 M7 L. \
  1046. + w9 c0 R( x6 B: \5 T  F
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    : C* j$ p+ H5 H% {6 O7 j; l
  1048. ; the full path of the script, line number, To address and headers.
    ; p& z, b( t7 e7 `
  1049. ;mail.log =- D2 Y1 |) W5 A; E' x# j
  1050. ; Log mail to syslog (Event Log on Windows).! J+ [2 L: N$ F4 }" J
  1051. ;mail.log = syslog+ r3 A! U& r1 `% S
  1052. ! r2 t) f) R, f/ z
  1053. [SQL]. U! e! \# y5 y; I
  1054. ; http://php.net/sql.safe-mode4 L) }( g+ s0 F8 q
  1055. sql.safe_mode = Off
    / D7 y/ X7 @8 f' C/ m3 Q& f* @

  1056. % l+ E4 E' V; R0 G( H' h
  1057. [ODBC]
    6 ^% ]# B3 s. ^( q' @( \
  1058. ; http://php.net/odbc.default-db
    4 F$ D4 l! V! B/ C: ~1 t
  1059. ;odbc.default_db    =  Not yet implemented
    1 V' D/ D  Q& ~" X" U& `
  1060. 7 ]( x% S, K9 ~3 t$ r2 Y- Q
  1061. ; http://php.net/odbc.default-user
    . S, {5 ?1 x/ M; G3 w4 z4 R+ t
  1062. ;odbc.default_user  =  Not yet implemented
    $ S" X# C" M4 n, q3 }
  1063. 6 s) q" h# P1 j, v4 p
  1064. ; http://php.net/odbc.default-pw
    4 C. p; ~0 T" k0 D7 v& O1 j  d2 q
  1065. ;odbc.default_pw    =  Not yet implemented6 M3 X8 v4 m" M. K0 h
  1066. % [1 K, T4 R5 Q% t, e
  1067. ; Controls the ODBC cursor model.& d2 x0 R/ U4 m% f* n7 o
  1068. ; Default: SQL_CURSOR_STATIC (default).. S" s& s+ f6 p& _4 h
  1069. ;odbc.default_cursortype
    9 h+ m: ]. f+ }- k; i8 s3 v
  1070. # y( a1 B0 L; O: w& h
  1071. ; Allow or prevent persistent links.
    $ F) @, l) f$ C: j0 b  ^; t
  1072. ; http://php.net/odbc.allow-persistent- w: I* L1 s7 V0 _" @( q5 S: |0 L
  1073. odbc.allow_persistent = On
    3 T+ |' T" [  k" c) }2 [- n7 W

  1074. . r2 i: T" H4 I' M0 b
  1075. ; Check that a connection is still valid before reuse.
    8 j* J/ k) o/ c9 M8 c, W
  1076. ; http://php.net/odbc.check-persistent" m0 W2 `; V4 `
  1077. odbc.check_persistent = On
    6 U: B( N/ ^, O8 X7 q0 s" ^7 w4 p7 ^
  1078. , q. {; B, ?/ t  i
  1079. ; Maximum number of persistent links.  -1 means no limit.! m, ]. z1 X! A1 I- F
  1080. ; http://php.net/odbc.max-persistent
    5 h$ V4 C7 h- a  ]2 f; p
  1081. odbc.max_persistent = -1
    - w1 v/ L0 @0 n- p& R
  1082. * O6 K% w, o1 a7 Y7 K8 K7 z% k
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) R: E9 d3 ^) H5 `( L! V9 y
  1084. ; http://php.net/odbc.max-links
    5 o% o& c; B% B2 @
  1085. odbc.max_links = -1
    ( f4 K- S3 u5 Q6 K8 g

  1086. " V6 @, T) W' U; y2 b
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means& [2 B4 E+ g, V: ~$ n; P
  1088. ; passthru.
    ( e' k7 b1 \# `& j# c, w
  1089. ; http://php.net/odbc.defaultlrl1 R" W: s8 G) L/ f
  1090. odbc.defaultlrl = 4096" A; F) O3 V  i/ k8 j. J& F

  1091.   J9 @: x7 W5 M3 \; G1 m
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' ?( }! ^1 f! d! o6 O0 C: b
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - B4 W2 W$ c" F4 k8 i  t
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode. d" ]: t5 l$ \& f* y. y
  1095. ; http://php.net/odbc.defaultbinmode
    , _$ y/ H$ e* j7 }, Z
  1096. odbc.defaultbinmode = 1# ~  \. f6 c& Y+ x( a2 ]7 B0 `
  1097. 6 R+ g/ k7 R* V
  1098. ;birdstep.max_links = -1
      ]7 N5 @+ K: h) c$ {6 h
  1099.   C8 k! [+ l- b  \0 ?1 H
  1100. [Interbase]9 ~. E5 Y) W7 c  |  _
  1101. ; Allow or prevent persistent links.
    9 X9 B& J+ R0 @- S9 W
  1102. ibase.allow_persistent = 17 Q. S/ s7 ^9 Y9 D! z) r

  1103. 5 w* I/ @" ]# G+ I4 y  P3 w
  1104. ; Maximum number of persistent links.  -1 means no limit.
    - ~& ^! L: z6 T: S/ u7 H: h5 k
  1105. ibase.max_persistent = -1
    ; E2 [& P, I0 A, a" q% W

  1106. # c5 j" C, w6 T/ s7 B
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# v! J& L2 f! E- u/ b" @# S
  1108. ibase.max_links = -1
    ( c  r" @7 n7 a; q/ m7 a7 _

  1109. " S, \+ [  P- v# O3 V
  1110. ; Default database name for ibase_connect()./ n1 D. F' Y5 V7 ^
  1111. ;ibase.default_db =
    9 \% K% I% P" Y0 @; j& ]

  1112. ; |* w! O0 C( o. X5 @
  1113. ; Default username for ibase_connect().7 h  d: N& f( Z; `
  1114. ;ibase.default_user =/ b6 Q7 l# Y& E) T/ Z! e

  1115. ( M3 ^' t; [1 G" ~' E7 f
  1116. ; Default password for ibase_connect().
    0 C" K; P, K" ], y0 r6 f  r
  1117. ;ibase.default_password =
    ( T1 g" L( F! c: G( E( N

  1118. . r2 \) Y4 z8 k/ G: v+ F
  1119. ; Default charset for ibase_connect().- n2 C: ^+ l6 T8 F* s
  1120. ;ibase.default_charset =
    0 r- n: B% @* a7 o
  1121. ; h" N+ X6 l' \5 N5 p: y2 B  }3 {# D
  1122. ; Default timestamp format." i$ j( Y$ T" p& r( X. \2 n9 V
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    8 W; ]9 f; ?* |$ d' ^: v# ~/ ^4 r
  1124. 2 \0 D- L, R/ I% ?1 R& ^
  1125. ; Default date format.7 z8 G8 C+ l7 _! J
  1126. ibase.dateformat = "%Y-%m-%d"
    1 D/ t8 o# q8 m( m
  1127. 0 V1 k1 l! G9 g
  1128. ; Default time format.
    5 `/ z. i+ c1 P& b7 I7 w) q+ J
  1129. ibase.timeformat = "%H:%M:%S"
    ' R6 T+ A+ X/ d1 }% D) m' g+ ]

  1130. " a& B5 R6 T/ I# p; D0 `9 g
  1131. [MySQL]! v# W  K9 @3 H$ {
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    % X" e# q) H" b, s$ N3 ]0 J0 U* ^8 Q
  1133. ; http://php.net/mysql.allow_local_infile
    * W5 p- Y7 {* V2 Y
  1134. mysql.allow_local_infile = On  h% l4 X3 D5 B- f+ z0 o
  1135. 3 d* A, H6 C7 q! ]& l& b6 A
  1136. ; Allow or prevent persistent links.
    - F$ I# [" b  a/ L  w- U" q) O
  1137. ; http://php.net/mysql.allow-persistent
    * w; ~* b% F, H7 f0 U, q2 k: ?
  1138. mysql.allow_persistent = On
    & }, {9 y, K) a5 L) G2 ^

  1139. : A/ ^- w# i" A$ N# p; I
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache" i! H1 o5 M/ D, s! i3 O7 y
  1141. ; http://php.net/mysql.cache_size
    3 N, D- ?8 G1 `" o; S- w
  1142. mysql.cache_size = 2000* V2 T! }. ~8 G! W3 D1 o

  1143. 8 y+ ]. t7 S/ i) z. Z4 h, `8 v
  1144. ; Maximum number of persistent links.  -1 means no limit., o% z7 x" ^' @- K- B/ s
  1145. ; http://php.net/mysql.max-persistent
    3 ~) {9 c, V3 M/ F3 V6 M# w9 t
  1146. mysql.max_persistent = -1- p* o) I' ]6 Y" f) k3 Y: Q
  1147. # h$ j! a# f% B  D& U% h9 A5 D9 `
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 L9 z! U5 l9 @. q4 P% p
  1149. ; http://php.net/mysql.max-links. n8 a( J! F' S5 O4 |4 N
  1150. mysql.max_links = -1
    : [: N% K( G' s) R

  1151. # |! X, a( o7 A* d: ]6 a$ y$ w. ]
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use2 i4 U) r$ A/ x" s* x% b6 v7 K
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" b0 r/ J  `3 a0 b4 R: M( c2 B/ l
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 r0 I& B' x: n7 @1 q6 p8 k: [
  1155. ; at MYSQL_PORT.
    $ T  {( `: Y7 k' h
  1156. ; http://php.net/mysql.default-port. E5 u" ]7 M7 K6 N
  1157. mysql.default_port =
    & N% S0 C) y& \: m7 b
  1158. & \! i( Y/ e8 Z, `
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in% l* d/ D4 Y, j" ^: g6 d% v9 G5 N
  1160. ; MySQL defaults.
    7 h3 ]% a2 L* s  h+ m8 ~  t
  1161. ; http://php.net/mysql.default-socket
    9 h/ w7 S3 D+ M/ x( e5 Y
  1162. mysql.default_socket =' {" y1 r* T4 z  D) o: }: T
  1163. % a" \* p1 U" ?1 ]
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # x% f- s1 e# D: E+ h
  1165. ; http://php.net/mysql.default-host
    9 M8 I! _" x1 Q' `% m1 R
  1166. mysql.default_host =# i7 [, E$ E8 u
  1167. 7 N, N# o) p: w8 P
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % e, }  ]) {3 o; n2 e
  1169. ; http://php.net/mysql.default-user; G+ `  |+ o2 `. n' E
  1170. mysql.default_user =
    ! n( G2 A4 x) X! g% r/ u% C$ `. R
  1171. $ ]8 a( |  _7 g" R9 O+ g$ |
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).# v) X0 _: F- m1 G7 u
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 Y+ @$ ^$ }; h8 y: ]1 i
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")  P; W8 |0 N6 i; P. T# f
  1175. ; and reveal this password!  And of course, any users with read access to this
    3 h6 i9 v  D) @5 \: n8 v- X
  1176. ; file will be able to reveal the password as well.; e& K$ y% n  T, F: J5 e/ S
  1177. ; http://php.net/mysql.default-password
    6 c" D4 C; F  W) U- R
  1178. mysql.default_password =
    $ s# T- B5 I1 ?! J7 `' u
  1179.   R: \2 {1 o- c# }
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit7 ^- b0 \( L9 m% {! q6 B
  1181. ; http://php.net/mysql.connect-timeout! l* e. Y  R2 A5 z6 i& d3 l
  1182. mysql.connect_timeout = 60
      ^: \& \3 g( m" B- X1 o

  1183. + q" H9 D& r* ]; Z% F
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    / n$ C. \1 Y$ f0 S! }8 S$ y+ k# z* }
  1185. ; SQL-Errors will be displayed.
      S. b5 P4 P, V) |) V: V
  1186. ; http://php.net/mysql.trace-mode+ w, j: n8 v$ V7 ^4 e- X9 E5 A3 g0 p( _
  1187. mysql.trace_mode = Off% ^6 U: b$ W4 R: H% N2 U
  1188. ! a* G9 h  n$ R$ B8 y
  1189. [MySQLi]
    1 U3 @1 v; U/ j6 r+ I  J2 C

  1190. " A0 A6 Z! O, L
  1191. ; Maximum number of persistent links.  -1 means no limit.; d1 A! t0 G# h" I% y2 m: t; x
  1192. ; http://php.net/mysqli.max-persistent
    % x! R* [0 q0 T$ o
  1193. mysqli.max_persistent = -12 u7 h. ^4 ~& T8 m- ?

  1194. * v, U+ n7 v0 k/ f7 \# j0 r) @
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , Z1 x# K- x, p" r# g) _1 I. s1 B0 {
  1196. ; http://php.net/mysqli.allow_local_infile+ t& a: l* D% A+ ~; K" `6 F
  1197. ;mysqli.allow_local_infile = On
    : Q. Z0 j, `- n1 \+ T
  1198. ' Z* S3 i* A+ t; N/ e( v
  1199. ; Allow or prevent persistent links.- {- W, y- H% X" R0 \
  1200. ; http://php.net/mysqli.allow-persistent
    0 t3 Z5 x& C9 `/ O( @& G
  1201. mysqli.allow_persistent = On$ H( T$ K/ _8 X# _

  1202. 0 R9 I9 ]) G" E+ c9 T0 S6 i
  1203. ; Maximum number of links.  -1 means no limit.
    8 L6 V1 @: ~: D( e$ {% T3 C7 B
  1204. ; http://php.net/mysqli.max-links
    9 |: ~# V& I0 \! F" g
  1205. mysqli.max_links = -1
    1 b: j5 u5 B0 s+ X( m5 v
  1206. ! V2 c& q7 R& E# |* s
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ k3 m9 Q. {  I, B3 @1 B# w
  1208. ; http://php.net/mysqli.cache_size' s" l, ~4 e0 |& E5 U& D) P
  1209. mysqli.cache_size = 2000& [7 N6 J# s+ ?  z/ P  Z
  1210. . V8 L; y4 H) y
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    6 n* y! ^( h6 O. ^' q" L
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  `$ o2 X$ N: Y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ w8 e: r+ w. f  n9 h4 T( C5 `
  1214. ; at MYSQL_PORT.! o% k4 ^7 f8 s# R# y' S
  1215. ; http://php.net/mysqli.default-port
    ) J; Y/ F" P) j2 R# b
  1216. mysqli.default_port = 3306& @. F" R/ y# S9 \
  1217. 4 v2 I  c+ M  v
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      f6 N8 C; I9 X9 @0 S/ |: K
  1219. ; MySQL defaults.8 G# y+ r, ^- ^9 t
  1220. ; http://php.net/mysqli.default-socket
    : q8 \% j3 n+ q( _( F+ ^
  1221. mysqli.default_socket =
    - w: f+ I- k; m7 F

  1222. $ ~% R# ^! N! U2 q& r6 \
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).% l4 [7 b5 Y5 D& ?; A& i9 C
  1224. ; http://php.net/mysqli.default-host$ v( l7 D3 A; v% r! n
  1225. mysqli.default_host =# C' J# n1 E/ |

  1226. 4 Z- H. S/ U2 l) s
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , R& x) n" q5 l- p- \: V# a3 E
  1228. ; http://php.net/mysqli.default-user2 c, u; v2 N" w5 o( V
  1229. mysqli.default_user =
    : w" C* V4 t6 U% o
  1230. : p" D  ?6 |: W8 i) U4 x/ G& l
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).* P1 Q% r( |  f6 ~  f
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    / ~( |/ B! l( e# n
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    + i' Z$ X1 a4 d9 ^) C! y
  1234. ; and reveal this password!  And of course, any users with read access to this1 g: a6 t9 ~' Z6 s8 I
  1235. ; file will be able to reveal the password as well./ W) V8 v4 g6 h0 v0 r
  1236. ; http://php.net/mysqli.default-pw
    . i" B5 G5 h4 |8 s' E% e
  1237. mysqli.default_pw =5 B8 w9 z0 C8 t6 ~8 q

  1238. + T7 d: O/ e; H9 s
  1239. ; Allow or prevent reconnect9 ?* _1 P$ }8 S7 H# N9 T2 }5 U: P
  1240. mysqli.reconnect = Off+ U6 d4 K9 f- v2 {
  1241. $ p5 n6 y! q7 o$ m6 E) S/ S9 g+ n
  1242. [mysqlnd]
    ) \7 w, g* T! R. t* ^
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be2 W8 q( k! T6 ~4 v) U( H( }* q
  1244. ; used to tune and monitor MySQL operations.
    ) v& V1 ]  J# E  x/ z
  1245. ; http://php.net/mysqlnd.collect_statistics
    4 T3 m$ a/ l) z: E( |  m
  1246. mysqlnd.collect_statistics = On
    . K5 \* [' h# U0 N3 S
  1247. * {. [1 I0 B6 g: R9 ^) f
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be: ]3 u7 O* }4 ~; `. _- ~) V0 C8 p
  1249. ; used to tune and monitor MySQL operations.! Q) T8 r9 y+ F: q. w
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    2 P/ |2 n/ |# r- s9 r( X1 M
  1251. mysqlnd.collect_memory_statistics = Off( _+ k! Y5 r. U* W% z, v
  1252. / [* k9 D8 J+ N# N$ C: L- P
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ( j* N2 h; Q1 E8 c0 Y' t2 T4 |6 w# ]
  1254. ; file.
    8 `0 q- u1 l1 k; m5 M
  1255. ; http://php.net/mysqlnd.debug
    2 m8 P+ ?, Q9 ?. X* \! S4 C
  1256. ;mysqlnd.debug =
    - [+ Q* Y5 V* j; @
  1257. % L8 v& k; V7 d6 e
  1258. ; Defines which queries will be logged.
    7 R2 H8 M4 G& f" P9 b6 J1 U9 B
  1259. ; http://php.net/mysqlnd.log_mask
    0 B' X+ O$ X$ T* J
  1260. ;mysqlnd.log_mask = 05 I& D! B; _% c
  1261. 7 s& H* A5 x5 O$ T
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.8 J# A+ T' q2 a9 a& ]+ T. {
  1263. ; http://php.net/mysqlnd.mempool_default_size
    4 `: s: u" K) p- K
  1264. ;mysqlnd.mempool_default_size = 16000& w% @0 A- j, }4 h( h9 _

  1265. 9 ?+ V0 n. G* d- R9 q# [. O, [( T
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& v; g% A8 ~; A2 ~
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . I$ o! l; G% o
  1268. ;mysqlnd.net_cmd_buffer_size = 2048% y  R6 t1 [+ U9 E( U+ x
  1269. 5 C  n# k# T$ \9 S/ F2 i
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    $ n2 `& j2 ^7 E
  1271. ; bytes.  a) u9 J! }2 K3 {+ Q, T9 R
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    1 W% T+ Q9 T7 P" p4 u' b* Z
  1273. ;mysqlnd.net_read_buffer_size = 32768
    - F  }7 F$ ]; x
  1274. % W+ j2 ^4 {8 s$ k) D$ M( H
  1275. ; Timeout for network requests in seconds.
    & X' Y* F; j5 t6 n3 N# {1 ^
  1276. ; http://php.net/mysqlnd.net_read_timeout( _0 u! R1 {" ^" S; ^6 ?
  1277. ;mysqlnd.net_read_timeout = 31536000
    / X( b7 P- O! x7 U% e( ]
  1278. + t. Z7 E" T4 K, g: l  N( D
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; b# T( C. z- M0 M! \* r5 I1 a
  1280. ; key.( R0 H( I6 N1 h! ]4 W
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    . q5 w$ ~- s3 Q1 H# t$ s
  1282. ;mysqlnd.sha256_server_public_key =
    % k- t; o" D2 S/ F# G9 w( I' j; ?

  1283. $ e0 P8 @% U% o# [! w
  1284. [OCI8]8 x% `! P' o$ `, j  `
  1285. / D& F. C% x8 T' F
  1286. ; Connection: Enables privileged connections using external
    ' ~$ d$ x7 h& |
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    - V1 W  L# T4 q) V" u# K/ f
  1288. ; http://php.net/oci8.privileged-connect7 l, g7 ^1 I7 u$ V  ~9 F7 S
  1289. ;oci8.privileged_connect = Off5 s  }7 _3 P; [( w" p+ G) k& u
  1290. . Y$ E# `8 L9 M4 i7 O; L9 e' B
  1291. ; Connection: The maximum number of persistent OCI8 connections per$ ~( g3 e9 C$ d9 h9 E
  1292. ; process. Using -1 means no limit.+ k1 @; q  L- f/ t
  1293. ; http://php.net/oci8.max-persistent! H! t& o- S7 U. B* J
  1294. ;oci8.max_persistent = -1
    6 G2 t3 N$ \: v% W9 Z

  1295. ) W& V; _' }. s9 Z8 {
  1296. ; Connection: The maximum number of seconds a process is allowed to2 _2 z5 b/ Q! W; [: g1 }( T3 _
  1297. ; maintain an idle persistent connection. Using -1 means idle5 U1 @4 T: Q, X  H
  1298. ; persistent connections will be maintained forever.9 d6 {. @3 D5 C% a, w$ c; x
  1299. ; http://php.net/oci8.persistent-timeout
    4 q. b/ T* M3 m
  1300. ;oci8.persistent_timeout = -1
      K# N; X; M; x9 F2 _+ M# ]
  1301. , s4 J. f" ]/ ^% S
  1302. ; Connection: The number of seconds that must pass before issuing a) J: y6 F& E* \, U0 S
  1303. ; ping during oci_pconnect() to check the connection validity. When  \( z  j# o8 r
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables; ^. e! E) o, F* Q1 L# C5 r
  1305. ; pings completely.& p# s) {" b! L. j  U6 l
  1306. ; http://php.net/oci8.ping-interval3 ~, n. k% a. V' G
  1307. ;oci8.ping_interval = 60
    , O' Q: P6 R# u; C* b, G
  1308. ' C5 w+ [# T- Y! H9 G
  1309. ; Connection: Set this to a user chosen connection class to be used+ v  y* l% Q: k
  1310. ; for all pooled server requests with Oracle 11g Database Resident2 Q, r0 c, x! ^2 {7 Q) B
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    $ ^/ m8 s% l0 O, I9 ?4 s
  1312. ; the same string for all web servers running the same application,
    " A, |5 J+ o. u0 B
  1313. ; the database pool must be configured, and the connection string must$ m' ]  k; V; m& M+ `- h
  1314. ; specify to use a pooled server.
    1 `/ `, F( d( q
  1315. ;oci8.connection_class =
    7 t7 O& k, _: j2 ^; p, W3 U
  1316. 6 x! K3 _( T4 X6 y& n
  1317. ; High Availability: Using On lets PHP receive Fast Application- b1 s* i$ U' [! |
  1318. ; Notification (FAN) events generated when a database node fails. The
    " y, H( v, R; I: f
  1319. ; database must also be configured to post FAN events.
    & [( w) v4 _# Q% C) s6 U. m4 U# q
  1320. ;oci8.events = Off
    ; V# `: F9 l' n7 m, C
  1321. " l$ |" ]. R; K3 D
  1322. ; Tuning: This option enables statement caching, and specifies how& K, {: B. }3 |
  1323. ; many statements to cache. Using 0 disables statement caching.
    * H/ b6 _3 Q1 _+ ~! O
  1324. ; http://php.net/oci8.statement-cache-size
    ( K% ?2 c6 L) E7 X
  1325. ;oci8.statement_cache_size = 20
    ' K: K, d1 ^3 C5 E& ~

  1326. ) V) F7 n# h: x$ S/ v
  1327. ; Tuning: Enables statement prefetching and sets the default number of6 t# b5 W4 ?( i% H# t6 K7 n
  1328. ; rows that will be fetched automatically after statement execution.: U; p% K' e/ b) }4 Y
  1329. ; http://php.net/oci8.default-prefetch7 y9 Z, H4 C2 k0 Y+ m
  1330. ;oci8.default_prefetch = 1005 y0 L& [+ X1 k. e+ x3 l
  1331. 3 ]+ s' o6 b: a  k8 a1 ^
  1332. ; Compatibility. Using On means oci_close() will not close
    ' F$ j& `! V# [& f" l: j
  1333. ; oci_connect() and oci_new_connect() connections.
    , c, C* y( L( ]  `  Z
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ' ^* j) T( r, r- e  n1 G
  1335. ;oci8.old_oci_close_semantics = Off
    3 H% `' t- ]* ~1 B

  1336. ; }2 ^0 y& w( Q- Z$ F
  1337. [PostgreSQL]1 ]5 G; T5 [# I$ _/ R% ]
  1338. ; Allow or prevent persistent links.! y5 K. ~4 K. W
  1339. ; http://php.net/pgsql.allow-persistent
    # p' O1 \" v$ E, G+ p
  1340. pgsql.allow_persistent = On
    + V+ Y9 t" q) x- \1 B8 _2 D% G
  1341. 9 `# w" D$ k2 J+ Q6 R
  1342. ; Detect broken persistent links always with pg_pconnect().7 r1 ^, d0 ^* K% t: F! J4 }& r4 O
  1343. ; Auto reset feature requires a little overheads.7 A. B: {: e# ^  n2 E8 A. y( k, Z
  1344. ; http://php.net/pgsql.auto-reset-persistent3 ~8 Y: W" y; d- d( @* U
  1345. pgsql.auto_reset_persistent = Off9 q! {2 p7 `+ b; d! k

  1346. . I) @; I6 F% A* G
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ' ~* U) K- u2 A/ W$ v
  1348. ; http://php.net/pgsql.max-persistent# C* F% m7 Q& i  J0 X) d+ L! ]
  1349. pgsql.max_persistent = -1
    ! ]9 T+ V! O! E6 _. p: b- }1 F. l( \

  1350. ' y; m  m7 |% N2 H
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & y7 e6 T- ~* n; `
  1352. ; http://php.net/pgsql.max-links6 {* e1 p( ~$ }7 P
  1353. pgsql.max_links = -1) u+ A# t, [4 j$ v/ d' t
  1354. ! R+ T: D  `8 Z! L: C, Y
  1355. ; Ignore PostgreSQL backends Notice message or not.
    8 Q' [- E3 u/ ~5 @4 T$ L
  1356. ; Notice message logging require a little overheads." ~4 @7 c8 Y3 e7 h
  1357. ; http://php.net/pgsql.ignore-notice
      h( t6 F8 j6 H) L
  1358. pgsql.ignore_notice = 00 M$ U7 y2 r7 R. S+ Y+ L5 t2 ^

  1359. # }& c9 e5 d0 e  a4 V
  1360. ; Log PostgreSQL backends Notice message or not.3 M* @% ?$ J+ x8 X7 b: M
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 J5 a) r: B6 T" H# D8 p" ~, Q& w! V
  1362. ; http://php.net/pgsql.log-notice+ M8 m  L$ Z* }5 T2 u2 ?
  1363. pgsql.log_notice = 07 z* l- P# c  Z9 {  Y
  1364. , i4 d- o" _; l2 t3 T
  1365. [Sybase-CT]
    3 A' v2 p- _& z: [8 x" L3 F- E1 C
  1366. ; Allow or prevent persistent links.( O+ K* C2 g# v
  1367. ; http://php.net/sybct.allow-persistent
      [+ _7 v1 U8 E8 u/ s% l
  1368. sybct.allow_persistent = On
    ' h$ A, A9 h$ U  S7 q2 u

  1369. % h1 Q% L. m' t3 M3 D& J" f
  1370. ; Maximum number of persistent links.  -1 means no limit.+ T3 r/ a* M+ c1 M
  1371. ; http://php.net/sybct.max-persistent9 }& ], q* L3 b& {. [
  1372. sybct.max_persistent = -17 _( _8 H% u5 V4 X' a
  1373. 6 B/ R6 R& N9 v1 S, k! E9 z
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' `7 L3 P: L  o" K1 s1 |
  1375. ; http://php.net/sybct.max-links
    4 x9 [6 N+ M! {* I& C2 T! p4 P4 Y
  1376. sybct.max_links = -10 D5 W4 H0 c+ s2 F$ y9 _  f
  1377. 5 l0 ]. d7 c0 L, [9 m
  1378. ; Minimum server message severity to display.
    ' m" p! Z4 d# z- I# ^
  1379. ; http://php.net/sybct.min-server-severity; E( q  U. ^1 F+ `1 Y
  1380. sybct.min_server_severity = 10
    , g1 K  K4 ~7 C: z7 K4 s6 r  l, \

  1381. & g' j. B0 i3 e# ^/ _# W4 T1 k
  1382. ; Minimum client message severity to display.% _. v4 _6 v) U; G
  1383. ; http://php.net/sybct.min-client-severity
    % L4 y% p5 d6 E; j  L. R
  1384. sybct.min_client_severity = 108 I. \% Q4 E$ U+ W8 G# x
  1385. 1 K: q1 V/ @7 q8 ]! d
  1386. ; Set per-context timeout1 h9 r0 M: P5 s- s7 |+ U
  1387. ; http://php.net/sybct.timeout
    ! g  ?" c) I' u
  1388. ;sybct.timeout=
    0 w) w2 N4 }8 v7 D

  1389.   M4 {2 }6 \  r. g! \
  1390. ;sybct.packet_size
    ) _5 t$ d$ n/ Q5 L0 O+ ?5 l4 Y# ~& U* ^
  1391. 9 @& f! f' N- U0 v) N! L
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    2 I7 f9 @% M, l* v  w
  1393. ; Default: one minute
      ?. W& g) x6 o- B) k
  1394. ;sybct.login_timeout=
    " _0 s# N' k2 |+ `5 r/ p
  1395. 3 k  Z( n1 g2 _  T
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.: z# T2 ]. r$ l% [% \" a$ }
  1397. ; Default: none
    : ~' i& U( ^+ J" Z2 K+ z/ A
  1398. ;sybct.hostname=
    - f. Q4 z5 Q5 U' z1 x* N5 `! v

  1399. * X2 b4 [  o7 G, O  y
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    9 c( N. S  W, e
  1401. ; Default: 0
    / k$ k3 b5 d, y' {
  1402. ;sybct.deadlock_retry_count=& [! I) ]( I4 @) [  p
  1403. 3 q: V. }* d% R6 l
  1404. [bcmath]! L! V4 F- i! f* l
  1405. ; Number of decimal digits for all bcmath functions.
    # g  b3 Q2 O8 b; v
  1406. ; http://php.net/bcmath.scale7 G: K/ m3 n; W
  1407. bcmath.scale = 0. J* s! [6 g" W- g9 w) s( ]

  1408. 7 x5 o5 A- Z1 u8 M
  1409. [browscap]- v0 N$ _. v, N  F2 h: Q
  1410. ; http://php.net/browscap, ~: N  `. B) G$ [6 O3 Y
  1411. ;browscap = extra/browscap.ini
    8 V7 t$ R  F' g3 y; i, R+ ]
  1412. ( U2 ?" z. A; _# `& B
  1413. [Session]; m1 X# o& W% y+ H' _
  1414. ; Handler used to store/retrieve data.' `! W% x* l1 Y% M- i# ?4 N
  1415. ; http://php.net/session.save-handler
    ( w' J3 J( @) G) B
  1416. session.save_handler = files: z9 q6 F% r& P$ U
  1417. " @# R& [) }$ @; Y2 o9 r$ S
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    2 f( _- F$ A* M: w' r
  1419. ; where data files are stored. Note: Windows users have to change this
    3 a9 a) h! h2 `/ ~; d! C
  1420. ; variable in order to use PHP's session functions.
    ' I6 V* t  _- l) @/ c
  1421. ;
    . S: t& c3 N$ z8 u" s, u
  1422. ; The path can be defined as:4 Z- o1 o4 m" \% K' `
  1423. ;0 u3 u' K" }$ H7 m2 p
  1424. ;     session.save_path = "N;/path"
    6 w, y- d+ J3 T1 j/ B
  1425. ;: _# l2 ~4 r8 g) D" Q4 q7 P
  1426. ; where N is an integer.  Instead of storing all the session files in1 [& r. z. D) f9 }
  1427. ; /path, what this will do is use subdirectories N-levels deep, and; l- r3 i  R. B7 ^  ]7 n( y* R
  1428. ; store the session data in those directories.  This is useful if& Y8 B6 _6 ~: O" q' D# d  }" P
  1429. ; your OS has problems with many files in one directory, and is
    * o. r: B5 w( `$ t, p, F8 P
  1430. ; a more efficient layout for servers that handle many sessions.# l- [" k# d( y4 f; {
  1431. ;* U' o5 f8 S0 o$ Y7 z7 M5 h
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    " @! o4 j% ^7 m7 E
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ; w* y1 P0 ?0 H6 N. P/ W! `
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    - y3 X0 w; \5 r" D+ `1 I/ ~: @
  1435. ;         use subdirectories for session storage9 P) p8 t  x- I. R
  1436. ;
    $ `, K3 d/ L( H+ F1 {. k2 U
  1437. ; The file storage module creates files using mode 600 by default.# a7 V( a" D* g
  1438. ; You can change that by using7 B, P: @4 z1 w. n: y5 s
  1439. ;3 V. Z& g/ {1 s# z6 k: t
  1440. ;     session.save_path = "N;MODE;/path"
    + a0 E7 z3 H$ C* z/ r
  1441. ;* O( P" {5 O1 c5 k& Y
  1442. ; where MODE is the octal representation of the mode. Note that this' P% R: `" N8 n/ K
  1443. ; does not overwrite the process's umask.6 m$ U  U; `4 Q8 u
  1444. ; http://php.net/session.save-path: d: S# ~- Z9 b+ Y
  1445. ;session.save_path = "/tmp"
    $ w/ R7 s. E4 o( B# R! m/ _9 O

  1446. 8 {2 |7 m7 g, A
  1447. ; Whether to use strict session mode.
    7 u& x4 v. }) t% J' Z& e
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    9 f) z& ?) i3 T6 |% R
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects. t0 S# o4 G& q! ?' n
  1450. ; applications from session fixation via session adoption vulnerability. It is9 V6 X2 S% Y* d9 I
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.7 t2 C" |) o" X7 }
  1452. ; https://wiki.php.net/rfc/strict_sessions8 M* p, _, H7 S7 D
  1453. session.use_strict_mode = 0' ~" U3 _) i# R; Z- N( j

  1454. - @5 `3 ^5 h. L4 m+ J% Q
  1455. ; Whether to use cookies.% |* `) a9 Q+ p( E
  1456. ; http://php.net/session.use-cookies
    + A! C  v; E  g# F9 b6 q
  1457. session.use_cookies = 1
    6 `: s/ \7 n5 V
  1458. # N$ H6 b3 \1 m% @; F6 c
  1459. ; http://php.net/session.cookie-secure
    9 ]1 D9 j2 N. b, D# G$ }
  1460. ;session.cookie_secure =
    1 i- B( L. I- z" C$ p
  1461. " b/ ?& J: d7 V8 b5 n2 z0 o
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & u/ q5 h" L! s
  1463. ; the session id. We encourage this operation as it's very helpful in combating' s) R( Z- `0 R+ d
  1464. ; session hijacking when not specifying and managing your own session id. It is3 ?8 E1 Z& _: A4 D4 V! i
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) e  E* w; C! i, S% ^: K
  1466. ; http://php.net/session.use-only-cookies$ O+ a( _5 Y+ D" P9 D
  1467. session.use_only_cookies = 1: E& Y/ v0 e9 W! p1 J) ~) F# q
  1468. 5 [& ~- Q, P, R! m/ h. S. ]% k
  1469. ; Name of the session (used as cookie name).
    * @: P1 i. E% {3 @
  1470. ; http://php.net/session.name" G. v* P0 x1 m1 ]1 t! B
  1471. session.name = PHPSESSID0 P( r+ j$ e0 H  K0 u

  1472. 6 t) ?! p- L5 v2 J, r
  1473. ; Initialize session on request startup.
    + N& L8 I- a- l: M8 w. F
  1474. ; http://php.net/session.auto-start; M1 ~! J* R2 ^# F- T
  1475. session.auto_start = 0
    9 f* Y1 K9 k3 K" S7 w) |

  1476. 9 p% I8 B+ R# ?
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 ]3 ?: k  O' k
  1478. ; http://php.net/session.cookie-lifetime
      X' v6 {" s8 B. F  p
  1479. session.cookie_lifetime = 0
    5 R0 {1 g5 d* W2 l2 H

  1480. / i9 S$ s3 J' ?6 O! Q/ P8 f
  1481. ; The path for which the cookie is valid.
    1 e, [, K6 f* A4 E' K: O
  1482. ; http://php.net/session.cookie-path& E& @+ @8 A  Q/ z
  1483. session.cookie_path = /
    ( \! d, i* h' c9 n6 ?1 z9 m

  1484. . A8 N9 o( _5 \( a+ I: ]. ^
  1485. ; The domain for which the cookie is valid.
    1 n, t. _; \) t6 }- ~. C% W4 f
  1486. ; http://php.net/session.cookie-domain
    8 R) ?/ {) M' k" G
  1487. session.cookie_domain =: q3 T  C0 o6 f1 Z  ~3 P% S; h

  1488. ; ?2 b. G( X0 [8 }
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' n* @7 ], h# X. b( V* Q# V
  1490. ; http://php.net/session.cookie-httponly. ^1 y0 o- d+ E1 G, k3 j7 Y
  1491. session.cookie_httponly =
    6 d# ?7 @$ S* @
  1492. 0 W) g- }! X# `
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    6 ]! }" |5 f. G$ x; H4 \/ i" [: W
  1494. ; http://php.net/session.serialize-handler
    : x. m5 p, r* j) k
  1495. session.serialize_handler = php
    " _1 e- l# T! c5 k# i6 P

  1496. 7 {5 d( K- a2 F7 d4 @
  1497. ; Defines the probability that the 'garbage collection' process is started
    $ R" l( h; J9 |2 u9 B
  1498. ; on every session initialization. The probability is calculated by using
    ) j5 d- c; K; Y* n$ Q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    . j9 _" C; {: D$ C" w7 V
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1  h1 l2 W) q1 ~( ]( b
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, ?. M3 ]; G2 m) C- i$ A$ ?" W
  1502. ; the gc will run on any give request.
    % X, R$ ^* q, y0 D
  1503. ; Default Value: 12 O% `" Q) V: [/ F( Z7 I) @/ Z
  1504. ; Development Value: 1* A4 s, v$ L' w* G; l
  1505. ; Production Value: 1. E; S% V) ?) ~5 g
  1506. ; http://php.net/session.gc-probability
    1 @2 P& w: w! r" R
  1507. session.gc_probability = 1  F: L/ a* V) J7 r- _) F1 T

  1508. ! ^* H. n- U) t( P. {
  1509. ; Defines the probability that the 'garbage collection' process is started on every2 z' H: @) f3 e' R4 Q- J8 R
  1510. ; session initialization. The probability is calculated by using the following equation:
    ( v" n) Y& {, Z! q# p
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and! x3 t. m3 L8 R9 A7 ]" t
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1  f% I: o+ F) f* l3 I9 p
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' ~7 ?- z% W! F% |, _- S7 k, a- Y* A* @
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . _2 e6 b) ?- D0 O
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 @1 F5 Y* ~0 @8 f" a* I3 ?
  1516. ; this is a more efficient approach.
    1 B2 Z# F# |) s' j7 p. `) W0 W
  1517. ; Default Value: 100
    2 o$ i- O6 F2 [' [( [2 r
  1518. ; Development Value: 1000/ x' w3 z- Q. D2 F2 B- D3 n/ Q6 S$ Q; y
  1519. ; Production Value: 10004 H' x3 L! s+ @0 H9 ^
  1520. ; http://php.net/session.gc-divisor
    - N: G, b) a: ^% V0 Z9 G6 T+ W- f+ L' }
  1521. session.gc_divisor = 10005 M; D  ]5 l3 D$ Y

  1522. / ]; a/ ^; A  V: @* @% e# u
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and7 `1 p3 y5 E/ d
  1524. ; cleaned up by the garbage collection process.
    ( Y2 E% A+ G* ]6 Q+ U" _
  1525. ; http://php.net/session.gc-maxlifetime
    0 Q  ^( n3 u- f$ f, `1 `) B) H# N. y
  1526. session.gc_maxlifetime = 1440
    4 v* @0 N$ M, X9 U

  1527. : S: m/ j5 i2 u6 ~
  1528. ; NOTE: If you are using the subdirectory option for storing session files9 u' o: Z3 l7 K- f
  1529. ;       (see session.save_path above), then garbage collection does *not*# n$ D! Z% B5 a
  1530. ;       happen automatically.  You will need to do your own garbage
    2 T' \; Q% X5 u6 Q
  1531. ;       collection through a shell script, cron entry, or some other method.
    " J" Y, f4 y! t( [# Z
  1532. ;       For example, the following script would is the equivalent of' M" C& W3 k5 b) R; I
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):; r9 }8 ~# V3 V
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / |% v9 i0 ]/ o! x. h. b- B3 t
  1535. # k$ O" W2 _& A7 W* Y  ?- z
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ) o0 w( L+ a5 ]& \. E
  1537. ; HTTP_REFERER has to contain this substring for the session to be9 N0 J8 \  v: Y( O( i. H
  1538. ; considered as valid.
      [5 o7 v" @# d6 M' ^
  1539. ; http://php.net/session.referer-check
    0 q* D. z% f  X$ [% E$ f0 t* L
  1540. session.referer_check =
    + D2 w( \1 [" K$ H, [
  1541. 3 u6 T; [/ I% I. P  E; {7 @
  1542. ; How many bytes to read from the file.5 Q( \& l; Y$ M
  1543. ; http://php.net/session.entropy-length
    ) M8 g5 ]8 H) ], V! H1 v1 {# Y0 u
  1544. ;session.entropy_length = 324 u! }# S: j  u2 I; O- ^! N( M6 U+ G

  1545. $ Z+ [/ u- E0 ^1 b2 [( r% i
  1546. ; Specified here to create the session id.
      r$ c* f; J" i$ d
  1547. ; http://php.net/session.entropy-file
    + A" O# `2 d0 V- Q; B5 |5 \
  1548. ; Defaults to /dev/urandom0 w: h) F1 f( b3 x
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom. J5 t; z8 q  [7 g. @9 S
  1550. ; If neither are found at compile time, the default is no entropy file.. O' T( s/ Q) h! o+ b: P
  1551. ; On windows, setting the entropy_length setting will activate the
    4 h: C- ]2 O4 Z! k/ ?4 D
  1552. ; Windows random source (using the CryptoAPI)% N, b! p9 q, \7 S+ Z. I! ]
  1553. ;session.entropy_file = /dev/urandom1 n: s# K# m3 Y/ t5 M
  1554. , [: K- U) F) d% {, H
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    : G7 z6 D2 O( E' e. l) v
  1556. ; or leave this empty to avoid sending anti-caching headers.% z$ e# j- V/ W; m
  1557. ; http://php.net/session.cache-limiter7 f8 X& _  d& \- w( E
  1558. session.cache_limiter = nocache! y& y. X, c! L6 {' C

  1559. . l9 U# H8 G% G! W! z1 P/ c
  1560. ; Document expires after n minutes.
    & |/ |- ]/ I- t% H0 N) j8 d
  1561. ; http://php.net/session.cache-expire; Y1 M! r4 f. U; g3 r3 u
  1562. session.cache_expire = 180
    " q" o' Q2 ]) L5 I5 I4 P+ ?* ?

  1563. ) v6 W4 d  Z; l( M0 e) A7 G2 W( T/ n) I
  1564. ; trans sid support is disabled by default.
      ]: }5 w0 h8 b. d4 I' _
  1565. ; Use of trans sid may risk your users' security.
    6 _( G; N: d% H$ {' _( G
  1566. ; Use this option with caution.+ V# k1 ^  O# r( v. K0 G! B
  1567. ; - User may send URL contains active session ID3 v0 E3 C  r/ I$ M: v# R  F
  1568. ;   to other person via. email/irc/etc.. ~# V! O. p! x6 p
  1569. ; - URL that contains active session ID may be stored5 r1 k; }- e9 A3 v( F2 h' }( N
  1570. ;   in publicly accessible computer.. ]4 U; X' \# h* I* J/ N  B, E
  1571. ; - User may access your site with the same session ID4 T5 P) B' ^) N! y8 g
  1572. ;   always using URL stored in browser's history or bookmarks.
    1 e" r% O6 D5 Z" W$ f" |
  1573. ; http://php.net/session.use-trans-sid( o% \. q! e) m1 J; |6 Z
  1574. session.use_trans_sid = 0
    $ s  I+ y; a/ t+ c) y* H& j

  1575. 4 j2 d/ d4 G- L3 ]4 J0 F/ S
  1576. ; Select a hash function for use in generating session ids.
    ) i0 L! ~2 B( l
  1577. ; Possible Values
    7 h3 `8 a  ^- }1 h7 V) H
  1578. ;   0  (MD5 128 bits), @- u( S) U* y: L* W4 M2 M
  1579. ;   1  (SHA-1 160 bits)
    / R9 D2 Y: ~/ H" C+ ^
  1580. ; This option may also be set to the name of any hash function supported by7 X7 \$ ~8 u3 T& m% b
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . H: j; l9 B" O( e  X& p/ j$ c' ^2 h
  1582. ; function.5 C/ v: Z  ?- [+ ]6 I0 A( Y
  1583. ; http://php.net/session.hash-function, x- A+ n1 W7 @8 T1 g9 |' l, D
  1584. session.hash_function = 0
    , |, }- u) F/ M

  1585. 5 g& ]/ V- I4 P+ C* }
  1586. ; Define how many bits are stored in each character when converting
    * F% S# w$ m5 T: G7 \) R
  1587. ; the binary hash data to something readable.2 Y  x% j' z, S! _
  1588. ; Possible values:
    2 [4 G4 l% M+ }& |9 y" ?
  1589. ;   4  (4 bits: 0-9, a-f); b" h! b/ E1 U0 Q2 J$ B! h
  1590. ;   5  (5 bits: 0-9, a-v)
    : ?6 ]6 Q* d$ D# y6 \
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")& O# H' R$ r' f7 ~# k: }
  1592. ; Default Value: 40 d- a# ?. J( G
  1593. ; Development Value: 5
    5 _" O+ Q+ c: m' m
  1594. ; Production Value: 5) N7 R. f& n- ^
  1595. ; http://php.net/session.hash-bits-per-character2 A" D: A3 s# ^/ C
  1596. session.hash_bits_per_character = 5
    ) R3 ]! t2 o* P6 R# p/ S( R
  1597. - V6 _' T$ p! t, P. y$ M
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 _# j0 e' J! o& e4 |( A
  1599. ; form/fieldset are special; if you include them here, the rewriter will. K+ l' _( k: r- X) k
  1600. ; add a hidden <input> field with the info which is otherwise appended
    " u0 P6 Q# L# A" _& l2 g# |6 H
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.2 E* \* F' n$ f' h, F& d0 m
  1602. ; Note that all valid entries require a "=", even if no value follows.
    1 b; ~6 w4 L0 A! h. h# l) N2 [' F
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 H) m4 ?9 }' n4 u0 d8 F- }
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( Z: U- t. ?" O! a5 C6 p# R
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# ]+ t# o% U/ O; ~/ V% w
  1606. ; http://php.net/url-rewriter.tags
    2 T; c: E$ {7 T  F6 p  L
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 |7 \- Z# P6 \" ?. P/ d) a$ A
  1608.   T( Y7 ~9 B# @- a& [) Q
  1609. ; Enable upload progress tracking in $_SESSION
    5 }$ x  F5 ~( _( d
  1610. ; Default Value: On
    6 L4 f) f/ g, Y2 n3 z5 n) G5 D9 S
  1611. ; Development Value: On( d1 r# Y" |  V; K; t* M; ^: u
  1612. ; Production Value: On' H0 ^% c. X% \9 U
  1613. ; http://php.net/session.upload-progress.enabled
    ; D8 i: [- i$ ~' }% s" a4 n0 f2 j
  1614. ;session.upload_progress.enabled = On
    + \& H: |$ l8 ~- t4 a" [
  1615. * i; H+ O8 u( [. C7 V8 i
  1616. ; Cleanup the progress information as soon as all POST data has been read
    8 q+ i6 \1 N* [
  1617. ; (i.e. upload completed).
    9 x  [) r4 a5 b( }* Z' U' L
  1618. ; Default Value: On: ?' I( `% Z) N" _# f8 E' p' y
  1619. ; Development Value: On- B* z3 s) B5 l
  1620. ; Production Value: On& x1 X' Q% x* |7 r2 T# S
  1621. ; http://php.net/session.upload-progress.cleanup
    1 l! Z0 I+ a% h: O, y8 Y0 U! m
  1622. ;session.upload_progress.cleanup = On1 z# y. B* ~' A$ N6 ~5 |  g
  1623. 4 @  ?9 I& u: M6 s6 j; a
  1624. ; A prefix used for the upload progress key in $_SESSION
    ( V( U, n" S+ _2 v
  1625. ; Default Value: "upload_progress_") Z( E" r1 _. R! v$ j
  1626. ; Development Value: "upload_progress_"
    - H) k6 Q! `. N  [
  1627. ; Production Value: "upload_progress_"8 o" ~6 f4 b. E' q0 @0 O
  1628. ; http://php.net/session.upload-progress.prefix: C3 [* c# b3 x9 Y+ T
  1629. ;session.upload_progress.prefix = "upload_progress_": J/ i) u  m/ ]" A9 U4 @! u% R! ^

  1630. 6 {! P5 S( M8 j
  1631. ; The index name (concatenated with the prefix) in $_SESSION/ ~% m* b9 f% S, @' ~
  1632. ; containing the upload progress information. u8 D  M2 b8 O7 Y
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & {: l7 T3 K9 E6 `- [' B
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"; T8 K$ k5 H# s- c9 W# y4 `
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"  o. H; M6 |" |2 }: ~
  1636. ; http://php.net/session.upload-progress.name& k: j  {4 V# y
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " F1 Z: ^- h$ s% H' i$ d; }4 F
  1638. " M# I3 n' C- g5 N1 R' T) Y
  1639. ; How frequently the upload progress should be updated., m$ [! M+ k# }! ?9 o
  1640. ; Given either in percentages (per-file), or in bytes
    * p" Q3 v8 H- f0 F: a
  1641. ; Default Value: "1%"
    9 e6 `4 j% l/ j
  1642. ; Development Value: "1%"
    & o" _+ z$ ?4 @* e7 f, O5 v
  1643. ; Production Value: "1%"0 [- R' @8 y1 q7 \9 ]  X/ Q
  1644. ; http://php.net/session.upload-progress.freq- S1 n- n* T3 E- k
  1645. ;session.upload_progress.freq =  "1%"
    4 Q/ ?# t5 u) I8 ?' P3 i) \

  1646. 5 A4 {2 p! j8 V! S' I
  1647. ; The minimum delay between updates, in seconds; H* f% m( [2 X. @1 Y# i4 W  u' E2 _
  1648. ; Default Value: 1  `( u2 K/ o) @
  1649. ; Development Value: 1& t  b0 J! f7 f, ^
  1650. ; Production Value: 1
    8 b8 D' b+ [/ u) m
  1651. ; http://php.net/session.upload-progress.min-freq
    1 C" g2 R& ?/ G; e
  1652. ;session.upload_progress.min_freq = "1"
    + p8 a2 D# v5 N$ [; p! H

  1653. ! u- Z9 g3 a7 d
  1654. [MSSQL]& Z4 T$ d' t# W. O4 M* N/ j: z7 Z
  1655. ; Allow or prevent persistent links.
    7 Y! z: c: n' d) |% z
  1656. mssql.allow_persistent = On6 o/ S6 D. _4 B: k4 A

  1657. ! z$ x4 G. l) E$ ]; r+ j0 J
  1658. ; Maximum number of persistent links.  -1 means no limit.6 S1 @; x5 C; Z
  1659. mssql.max_persistent = -1
    " Z% t# j$ W( D6 j( U8 H
  1660. ! b5 I) s, |* S: U9 m
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # |" U% N) u; x4 M) Y7 H
  1662. mssql.max_links = -1
    4 {; U" f( o/ h' q1 V

  1663. # ]1 S: R4 K& e  p8 {" m4 y
  1664. ; Minimum error severity to display.
    / B$ L+ n. {. w/ ~0 O
  1665. mssql.min_error_severity = 10
      y8 s6 u& [# s2 w( y. t. {
  1666. 9 X, j- I& |, c7 X, i/ q
  1667. ; Minimum message severity to display.$ {) \5 ]8 \9 ~9 f1 J' ?- E
  1668. mssql.min_message_severity = 10
    2 G0 H0 X: I& {% p# S7 K

  1669. ' k* ~$ P/ ?2 n: ]8 H
  1670. ; Compatibility mode with old versions of PHP 3.0.! b! R+ O6 O+ r  \$ w  c+ J8 ?) f
  1671. mssql.compatibility_mode = Off( d0 e2 `2 a2 T# G+ y! J/ H$ v9 I: ^

  1672. $ P! b- s1 i4 J& H: k2 [
  1673. ; Connect timeout
    3 E2 M* Y6 @2 y; Z" H! I* D; y% T
  1674. ;mssql.connect_timeout = 5( E4 ^: F3 a5 X3 g' R

  1675.   e/ [- |5 o, [$ T( a+ G) f; m
  1676. ; Query timeout
    ! Y7 O" e" m1 i% z, a. ~: l- `
  1677. ;mssql.timeout = 608 _2 Y# {5 \9 ~" w' }1 T

  1678. + p/ Z1 G" B8 y5 \$ _
  1679. ; Valid range 0 - 2147483647.  Default = 4096.! {* v3 s2 L5 o3 }' a; C4 ^
  1680. ;mssql.textlimit = 4096' R9 |% b2 F8 b6 l

  1681. 4 v- u* ?9 i) b/ ?5 F
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    1 ?; t2 H7 \6 L- P2 ?
  1683. ;mssql.textsize = 4096
    - b4 C4 S& S' z  A; N( e

  1684. - F. B- k2 g1 g2 }4 R0 D) X1 N
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.+ x/ H  l+ V1 ?9 t
  1686. ;mssql.batchsize = 0
    ) J1 r$ }: h$ |

  1687. 7 M- q& X$ f! ]7 T  S( O9 g
  1688. ; Specify how datetime and datetim4 columns are returned# w" h* Y6 x( J. d) \* z
  1689. ; On => Returns data converted to SQL server settings
    ) p+ a, R8 T5 R
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
      h( H  ?5 r( K! r5 k
  1691. ;mssql.datetimeconvert = On
    & Y6 K. b, d% B0 c+ D
  1692. : {: O8 U# g# J0 c
  1693. ; Use NT authentication when connecting to the server% w# o( [9 ?$ ~# Q8 }0 v
  1694. mssql.secure_connection = Off
      o' ~. L% [2 \2 m9 h7 e
  1695. ; f- g- E! f( ]5 ]
  1696. ; Specify max number of processes. -1 = library default$ F* H1 x2 y( F! c3 o
  1697. ; msdlib defaults to 25$ h5 ]+ [, `$ Z
  1698. ; FreeTDS defaults to 4096/ X3 r8 z3 @. W; I  O
  1699. ;mssql.max_procs = -1: u2 B, p, F2 d( _2 m, x

  1700. ( _7 `( ^9 V' m+ @
  1701. ; Specify client character set.! N1 Z, V; Q: j. P: ~; x: [: [* i
  1702. ; If empty or not set the client charset from freetds.conf is used
    & {7 f) v  n! K: O5 i% B
  1703. ; This is only used when compiled with FreeTDS* \3 s- q3 c7 h$ i: d1 {! @# [! h
  1704. ;mssql.charset = "ISO-8859-1"0 S5 f) J. t! B) D3 P* M9 l
  1705. : G4 T1 N! O) x- Q, ~. s& Z: l
  1706. [Assertion]
    5 T/ u! p5 E/ i
  1707. ; Assert(expr); active by default." {8 r! C; i4 p3 y& A) z
  1708. ; http://php.net/assert.active$ z  i5 r1 L" K% o* N( D9 Z! D
  1709. ;assert.active = On( T$ D9 O$ i. u4 G2 g7 f
  1710. $ L. v& y) D8 p& X4 f4 A
  1711. ; Issue a PHP warning for each failed assertion.& ], I) L) k7 n1 ~2 E
  1712. ; http://php.net/assert.warning
    7 j$ h2 N0 ?; F, w0 S+ m! Q/ c
  1713. ;assert.warning = On8 b  u1 Z% v1 [1 o+ {/ H

  1714. 5 w( {7 B2 A% C6 r$ t8 |
  1715. ; Don't bail out by default.
    5 s' n, |( ~4 K0 r# G
  1716. ; http://php.net/assert.bail, H+ O7 Q4 K# s. ~; C2 O5 M2 i
  1717. ;assert.bail = Off) H1 H: y' _- @: g

  1718. 2 C8 p0 N+ \  ~- j* V8 F3 O
  1719. ; User-function to be called if an assertion fails.
    4 }) a! @  D5 R, d* f
  1720. ; http://php.net/assert.callback
      b- K8 q5 f! i1 q
  1721. ;assert.callback = 0
    - C4 l, o1 i1 C9 v1 n, G

  1722. ' i' p& d. R0 ^# Z
  1723. ; Eval the expression with current error_reporting().  Set to true if you want0 B" h* M, c6 q) k9 R, f. `. o
  1724. ; error_reporting(0) around the eval().
    0 S9 p& t8 W( F6 I2 N4 D
  1725. ; http://php.net/assert.quiet-eval
    - H% ^( E- d- F
  1726. ;assert.quiet_eval = 0
    ! h" I5 u4 x# R0 a* O

  1727. , H4 T# w" Z, M* m$ F% ?  }* v" l+ g
  1728. [COM]8 b7 Z0 L% s9 e6 u3 ~  a/ ~( _  F6 g& U
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % q! Q# V9 N6 M2 ^9 U. N2 _
  1730. ; http://php.net/com.typelib-file
    & M) U* P$ |* ~3 z1 m( X; K
  1731. ;com.typelib_file =" S% X% a, C- j
  1732. 1 l* |: F) G" V+ W% l8 T+ j( z
  1733. ; allow Distributed-COM calls
    ! A, W4 T$ Q; ]# E& _" W9 j
  1734. ; http://php.net/com.allow-dcom
    ( Q+ A+ Q: p  y# O
  1735. ;com.allow_dcom = true3 F! Q+ F- D/ s8 m  s
  1736. # q1 N' M& C. t
  1737. ; autoregister constants of a components typlib on com_load()- u9 n3 `, {9 s$ N$ Z
  1738. ; http://php.net/com.autoregister-typelib
    # V2 ~6 R" ~5 ]8 b0 p! C# A  t
  1739. ;com.autoregister_typelib = true
      {2 V% l8 A- _. e" u

  1740. + C- K$ ?1 N# D. _6 s& F( [( V0 R& ~
  1741. ; register constants casesensitive+ `, }0 \: A$ \4 ]5 B/ d/ l* o
  1742. ; http://php.net/com.autoregister-casesensitive
    ! Q0 }" i6 ^" h" r$ X/ g
  1743. ;com.autoregister_casesensitive = false
    & n$ `0 ^3 t1 t0 |% L% h- C+ C
  1744. , H% ]9 V$ J. Q# V! f6 l
  1745. ; show warnings on duplicate constant registrations( p: _3 r0 _8 h
  1746. ; http://php.net/com.autoregister-verbose
    ( ?( d; m  a. h* Q& ?- A
  1747. ;com.autoregister_verbose = true/ z- Y6 ?6 b- F

  1748. 4 K/ R9 J4 V, H/ f8 x% U
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    8 r) x/ J5 C" Q$ u% T
  1750. ; Default: system ANSI code page& X) k  ^1 s3 N8 E  T
  1751. ;com.code_page=
    5 r# B6 w( F% u8 X/ y

  1752. 6 [) M9 R3 }" h6 @- j
  1753. [mbstring]$ O6 ^. I  N/ ]0 S& X0 L
  1754. ; language for internal character representation.9 ]# |$ W9 D9 i
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.; W: t0 V0 u: M. F0 n
  1756. ; http://php.net/mbstring.language' ]; ]% P! i4 z) r. A/ H
  1757. ;mbstring.language = Japanese  ?( I( u( _' o

  1758. # n. t$ r; v. s) ^) Z; J$ e  F
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 h5 \6 \! Q! J" h# @7 I
  1760. ; internal/script encoding.
    0 ]" r/ a  T+ m1 I- {
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    1 W6 \6 N" F8 b+ p' v
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 }) U8 y5 {) ^+ m# D1 W* I( |* B
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( i2 {! Q1 f: `
  1764. ;mbstring.internal_encoding =
    4 r2 k1 |# w: H

  1765. $ A4 O- S4 Y) _  m8 F
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.8 u5 b- r1 U# s, C3 I7 V
  1767. ; http input encoding.
    ; E" n4 o# l5 W7 z7 k/ R, \
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 v) g; A& G- @/ I3 K
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.9 J  T- I2 _, [7 a1 Q+ P
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    1 G# E9 G+ {/ q- ~
  1771. ; http://php.net/mbstring.http-input8 w7 f1 d; ^9 X0 R+ D3 E7 o2 h
  1772. ;mbstring.http_input =: A6 X' k/ A+ |) l9 w2 A
  1773. ! p% s% y% N2 J, S6 j+ q
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.- I8 e' y+ S" z1 G
  1775. ; http output encoding., w6 q# y! V! R
  1776. ; mb_output_handler must be registered as output buffer to function.! ]! t  A' i4 i2 B
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.) \1 F7 O5 y, i9 x5 L& |; b
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    6 ~- u- f4 f& i* n. o5 B( l; s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ! W4 s& {4 X, s, h: |/ h  r! \1 L" P
  1780. ; otherwise output encoding conversion cannot be performed.( _1 i: ^6 ?9 a; ~4 Z
  1781. ; http://php.net/mbstring.http-output
    5 j* C2 T: Y: ]% K
  1782. ;mbstring.http_output =. ~# z& [% }+ y* ?1 E
  1783. ) |. z# v# F3 n1 z4 {
  1784. ; enable automatic encoding translation according to
    1 E4 E) E0 y' |* Q* T4 U
  1785. ; mbstring.internal_encoding setting. Input chars are8 p* }' |, h5 m/ i/ K5 h4 [
  1786. ; converted to internal encoding by setting this to On.- ~# h/ T2 A  P4 V( [; @7 e
  1787. ; Note: Do _not_ use automatic encoding translation for' C+ s( h& X" D6 b
  1788. ;       portable libs/applications.
    4 s0 n" X* J' H+ h1 Z! A% o
  1789. ; http://php.net/mbstring.encoding-translation$ g% f+ A8 @# P- F, K
  1790. ;mbstring.encoding_translation = Off
    ! W; S; w( [) J
  1791. ' `( U  _. A" Z
  1792. ; automatic encoding detection order.+ j7 k0 O, o; d' L2 B7 o. n2 e  |+ p
  1793. ; "auto" detect order is changed according to mbstring.language. M, N* u+ g# r4 l
  1794. ; http://php.net/mbstring.detect-order
    1 o& V8 P' b: p# ^
  1795. ;mbstring.detect_order = auto
    2 \' p2 ]" ]7 V0 L+ E& u+ i8 o. e
  1796. : S1 x/ K$ M$ `! t+ I, n
  1797. ; substitute_character used when character cannot be converted) v; v, [7 C5 l5 k! Z
  1798. ; one from another
    $ d7 @. m4 q0 j8 r: L
  1799. ; http://php.net/mbstring.substitute-character5 v. e* Q. Q/ L9 r4 k
  1800. ;mbstring.substitute_character = none- X: S6 d" G/ ?) {' m

  1801. + X: e5 t" `* o1 X$ Y
  1802. ; overload(replace) single byte functions by mbstring functions.
    & D. U8 A; `/ B) j) r: p; f# p
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 m/ U. o" z( U6 s! L$ C# _
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    7 }! t" E9 f2 V2 t6 i6 E4 n9 B4 E& `
  1805. ; For example, 7 for overload everything.
    ( E: h& q8 V7 N5 j& n5 ~4 X# e4 D
  1806. ; 0: No overload
    9 m0 b+ E) p0 B& n& F
  1807. ; 1: Overload mail() function! X. z/ \3 }& A+ [+ A0 H; t
  1808. ; 2: Overload str*() functions9 l; v! A% H( `4 k8 u, n$ x. w- ]8 h
  1809. ; 4: Overload ereg*() functions
    4 ]6 _9 U* d' [' o" x7 d. e4 u; A2 h
  1810. ; http://php.net/mbstring.func-overload
    1 j- }" M" K8 r! ?
  1811. ;mbstring.func_overload = 0
    : b% d/ m9 g- @6 x' \* M3 Q
  1812. + b  b6 L. e$ F* Z* \* _3 B
  1813. ; enable strict encoding detection.: P+ V/ K: g  T# `0 N5 G. Y, b
  1814. ; Default: Off
    3 M* l2 o% @$ z: ?" Y
  1815. ;mbstring.strict_detection = On
    6 P( Z$ J& ~. D9 y
  1816. 5 Q# I1 C' h2 g* X" C
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()- _# M$ @; K! {+ x9 H" r' z
  1818. ; is activated.) ?) Z, A6 w* j; c0 C8 {% c% x
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* w# d8 b8 v- t0 g& g
  1820. ;mbstring.http_output_conv_mimetype=
    9 @6 [1 |" k1 Z: O  F# C- r2 Z
  1821. 3 ?* n9 O& h! k- m  Y# B
  1822. [gd]6 K# |9 F" ?, B! u0 f8 k! m& U
  1823. ; Tell the jpeg decode to ignore warnings and try to create- }6 @6 ^9 M- j  J: l/ }6 @
  1824. ; a gd image. The warning will then be displayed as notices8 C3 S! U) R! `5 T$ ?
  1825. ; disabled by default4 z) i( m9 x2 N1 C9 X
  1826. ; http://php.net/gd.jpeg-ignore-warning+ i' F; n- E' ~8 g0 _$ k. }& O4 d
  1827. ;gd.jpeg_ignore_warning = 0' _" k. [. h( ~- g
  1828. 3 ]9 x. j5 c+ ^5 \
  1829. [exif]! h* ~7 g* J1 N+ z/ L) S
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- x* k  L! ?3 t6 C  ^2 `, m
  1831. ; With mbstring support this will automatically be converted into the encoding5 h# x" K5 m7 _7 b( ]% ~2 W# w
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ s" L8 m# Q3 f: |
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ' S8 f4 J' l- S# W7 ^  D# x# _
  1834. ; intel byte order. A decode setting cannot be empty.' e" ]2 N+ o" X0 q# P
  1835. ; http://php.net/exif.encode-unicode. u! }- R3 ]2 K* @% V
  1836. ;exif.encode_unicode = ISO-8859-15
    ! a5 z$ l" a' C- W9 j

  1837. ' T5 j- @5 h# h1 q; }
  1838. ; http://php.net/exif.decode-unicode-motorola
    ! I# W; c( x3 N; l+ n1 b
  1839. ;exif.decode_unicode_motorola = UCS-2BE. l2 g" T+ f. q( K  G4 i2 S4 n- w

  1840. : j# h/ h4 C# o5 a. i
  1841. ; http://php.net/exif.decode-unicode-intel) x" X- q" k8 e2 c) H8 A. j
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ; X7 O( q5 G5 O$ q

  1843. : m0 j# \" J2 O( _9 e, [+ ^  b
  1844. ; http://php.net/exif.encode-jis
    1 p2 _  |' {: b3 w5 L# n
  1845. ;exif.encode_jis =9 w/ n/ E" n! k$ r- \) p
  1846. 2 C8 G2 j2 {; B7 l8 r+ J' `+ ^
  1847. ; http://php.net/exif.decode-jis-motorola
    5 V  m; {" Y, w$ ~# r
  1848. ;exif.decode_jis_motorola = JIS7 {+ f2 }" S" D7 r* y. Q5 u7 X. m

  1849. 3 M# a. @8 t/ h0 q" j$ |
  1850. ; http://php.net/exif.decode-jis-intel
    ) H7 \' Z  X. w' e
  1851. ;exif.decode_jis_intel    = JIS/ I! R% c: ~) e8 V' S: `  Y

  1852. " ]% ?" N3 O* z5 B4 Q
  1853. [Tidy]2 R3 n6 g+ q4 a' q1 z# u
  1854. ; The path to a default tidy configuration file to use when using tidy4 B4 E: x. i+ B/ S  @  K
  1855. ; http://php.net/tidy.default-config
    . X0 w; _% M1 |7 ~) r
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    / A& e* V  L: c- z' D

  1857. ! u% `' A/ m/ ?1 e4 S8 p
  1858. ; Should tidy clean and repair output automatically?$ `2 e/ p& o$ }4 d/ d
  1859. ; WARNING: Do not use this option if you are generating non-html content7 m9 P, ?+ L( w! U7 i. @! H
  1860. ; such as dynamic images- f) ]( k  _! s9 U  V  i) u
  1861. ; http://php.net/tidy.clean-output
    8 Y- n  D' t* q
  1862. tidy.clean_output = Off
    ; F) m4 a3 }+ y0 O+ S3 e7 `, m

  1863. , P& d; C/ Q! v0 ~. M9 e/ ?
  1864. [soap]7 q7 U. @0 }, s) M1 |! e
  1865. ; Enables or disables WSDL caching feature.
    ! R' f! w! k. `# N, s
  1866. ; http://php.net/soap.wsdl-cache-enabled# H2 k! Y; `1 ~" q
  1867. soap.wsdl_cache_enabled=1) q/ w. c( A# t$ c' v  N
  1868. ' h3 c, Q2 y' e# F- c& B" K
  1869. ; Sets the directory name where SOAP extension will put cache files.- c# _. b( B0 U& J- i* b
  1870. ; http://php.net/soap.wsdl-cache-dir
    7 ?, Z* T7 U3 g1 g) v2 E) c
  1871. soap.wsdl_cache_dir="/tmp"2 o  j) A7 z8 O8 V+ Y

  1872. ! K6 @' k& p" i0 M6 O9 g  K
  1873. ; (time to live) Sets the number of second while cached file will be used9 U5 `" \/ Q' V- L& C# W) }
  1874. ; instead of original one.
      K7 b3 l5 U5 c
  1875. ; http://php.net/soap.wsdl-cache-ttl
    9 w  Y% j. v4 X2 L# _3 a; w
  1876. soap.wsdl_cache_ttl=86400. |2 B" q8 h* k! ~3 J& M. N

  1877. . ~2 x3 O! e5 a2 w* x
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    4 ?: m' F& ^5 N
  1879. soap.wsdl_cache_limit = 5
    7 L( O8 y  a& x5 y( a

  1880. & ?9 D5 J2 {9 U
  1881. [sysvshm]: ~+ W9 [  l, }0 w2 q7 k2 w* s4 w
  1882. ; A default size of the shared memory segment
    ) M# l& k0 |+ V3 X* F/ w0 E
  1883. ;sysvshm.init_mem = 100006 [% K+ C# `/ ^7 l* C% z/ u; |
  1884. - k* O) z# G* N
  1885. [ldap]1 ]1 T* Q$ z4 O; {2 i
  1886. ; Sets the maximum number of open links or -1 for unlimited.6 e) H8 S: G+ u+ T  a2 y
  1887. ldap.max_links = -1) d5 W/ t/ q  m7 g+ e, g
  1888. 2 b7 h. y8 p. v) w4 n! h
  1889. [mcrypt]
    / u" k* m- L' h2 W1 T( }. L
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open% S% `  O/ j( |  E

  1891. ) ~* z) c# ~9 n# o
  1892. ; Directory where to load mcrypt algorithms0 r- n3 f" r6 o$ U2 U* h+ q
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); m- ^" |, i0 |
  1894. ;mcrypt.algorithms_dir=. U% ^, c2 `# d: B# e7 \
  1895. " ], O# W7 x: i" f
  1896. ; Directory where to load mcrypt modes9 O% Z- t& K" e/ p/ {8 l6 A
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ F0 X! ~% i. U1 k  a2 B
  1898. ;mcrypt.modes_dir=+ E1 ]" B1 G# U! N, c

  1899. 6 o/ ^& f: L( F0 H# Z9 z; F3 B5 D
  1900. [dba]1 U1 q2 T: i! m3 m9 a
  1901. ;dba.default_handler=4 _& P" N5 l7 [9 c
  1902.   \! Q  B7 |8 k9 F, K
  1903. [opcache]- i  H$ c9 i8 I5 r6 `0 T
  1904. ; Determines if Zend OPCache is enabled
    ; }# b. g( ~5 ~. d  k5 s
  1905. ;opcache.enable=0
    ; V. _2 Z* Y8 n( Y

  1906. , w9 s- l2 r4 X+ |
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    # G# k$ B& ?6 {+ `3 n. q. b
  1908. ;opcache.enable_cli=0( w; X7 \/ k4 W2 z- I1 b1 F

  1909. 4 r, J; X9 A6 i4 m2 r5 d6 |
  1910. ; The OPcache shared memory storage size.: K/ i0 e; u  l/ X# y4 V1 ?
  1911. ;opcache.memory_consumption=64$ c6 q+ k: x/ o7 G* z
  1912. $ W0 L4 b! m- _0 j2 o* @# V
  1913. ; The amount of memory for interned strings in Mbytes.
    + ]* d1 N- \2 [9 V0 W
  1914. ;opcache.interned_strings_buffer=4) z$ m" D! S. f7 r8 J$ m
  1915. 8 R! k6 X/ Z: f0 Z" q: _2 _
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    , T" y9 w& a% u; [9 I
  1917. ; Only numbers between 200 and 100000 are allowed.; r3 P" k  Q- O5 {' v9 W3 V
  1918. ;opcache.max_accelerated_files=2000
    5 @0 y' Z% I: K5 _( f; E* e3 _
  1919.   ?& _, w1 c/ r, k/ R4 W
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.& |; K& r5 p/ Q" \
  1921. ;opcache.max_wasted_percentage=5
    5 P3 c9 W$ f+ j: t

  1922. * z0 F0 _0 ?8 O+ _* p8 P& T. H. \- {
  1923. ; When this directive is enabled, the OPcache appends the current working
    + O0 h4 N  A3 P1 P, ~+ v
  1924. ; directory to the script key, thus eliminating possible collisions between
    3 O0 U3 h% x/ K, G& d6 K
  1925. ; files with the same name (basename). Disabling the directive improves
    & @- R% i4 _/ Z# L; U1 b
  1926. ; performance, but may break existing applications.8 p8 O5 u+ [- X; S$ @1 }1 z* t
  1927. ;opcache.use_cwd=1
    0 ~0 _8 ~* B4 f5 j8 ^

  1928. 6 c! G+ F4 d$ L6 B8 T# [' q0 A) E
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ' u$ W8 @  A$ ^- S  A& }: C
  1930. ; webserver for changes to the filesystem to take effect.6 z$ C* k" h' S+ \- i
  1931. ;opcache.validate_timestamps=1
    ( h( v; w2 E5 U4 o8 k5 m% l% m

  1932. ) w1 i' W! |2 q$ ^% P
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    * m" c( O6 {8 r1 w  Y
  1934. ; memory storage allocation. ("1" means validate once per second, but only: @$ S, H4 q# k* G( D/ J# Z5 b
  1935. ; once per request. "0" means always validate)
    . d( y; H% w) o( q2 I: j& z
  1936. ;opcache.revalidate_freq=2
    3 b( z# F2 j! n" B- E. F! Y: p% ~  g

  1937. 0 T; f% [- T4 m6 U
  1938. ; Enables or disables file search in include_path optimization  x" X4 g" c& Q- H
  1939. ;opcache.revalidate_path=0! w- r9 t- }1 [$ U

  1940. : w' s' Q! n9 O$ a: ^0 b8 n, g
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ; f- H9 K6 d* O, z
  1942. ; size of the optimized code.
    ) J: c6 }4 m- Y( E3 K$ Q
  1943. ;opcache.save_comments=1/ [' z; v) Q# i5 o
  1944. ( q) s) _$ z5 |1 \( O) N6 {
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    0 R! b& A: w4 ?3 \! y) b
  1946. ; may be always stored (save_comments=1), but not loaded by applications4 R6 W/ y3 M/ T+ i) U: ]9 {
  1947. ; that don't need them anyway.  B3 X9 T3 w+ ]0 C5 C2 `
  1948. ;opcache.load_comments=1
    7 v' P7 @( L/ Q( c$ g# `

  1949. 7 z1 A$ f6 _5 q, V
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code$ n; [2 S$ [/ P$ g( I
  1951. ;opcache.fast_shutdown=0/ ?$ k) F0 |0 g: ~

  1952. : v8 X2 A, Z' Q, D3 Y) p( a9 J
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    / y# X& ]9 C; H9 l& e( z8 V* z5 C& t
  1954. ;opcache.enable_file_override=0" {# p) M5 Z& R' p0 R' s
  1955. ) K4 T: `! t( m: Z5 C3 D
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    * A' g( S% ^; v  ^/ F2 l
  1957. ; passes5 d$ r5 K, {( e  G+ [! |& M
  1958. ;opcache.optimization_level=0xffffffff
    6 L. g; R2 p" F0 F* S
  1959. - M, U8 d# ?1 N/ _7 m
  1960. ;opcache.inherited_hack=1
    2 {- A" V6 W- R. B
  1961. ;opcache.dups_fix=0) ?, f  d2 }$ _' v& M" k: P$ |

  1962. : ^9 n; l) j8 S; ^
  1963. ; The location of the OPcache blacklist file (wildcards allowed).  C; V4 _: R$ b# t
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    " h- i9 z$ q. O' K( K' R& C
  1965. ; that should not be accelerated. The file format is to add each filename
    9 P8 m" B0 s# J( a; K& [' J  q
  1966. ; to a new line. The filename may be a full path or just a file prefix& W% L7 G+ j' M
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www. ^% R4 S% z! }& `/ e; d0 u0 }
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
      Y: S6 [) S5 x& I. e9 s
  1969. ;opcache.blacklist_filename=; Z' h( Q0 _2 N$ a8 Q& X
  1970. " g/ z8 W' v- l- r1 c& C
  1971. ; Allows exclusion of large files from being cached. By default all files5 F4 \/ @# _2 `6 ?  R3 P$ x, p; Y
  1972. ; are cached.  j  \( s2 c: Z* M( s6 A4 H  ^
  1973. ;opcache.max_file_size=0# s4 W" F) n' d! }
  1974. ' }( s0 Z# v4 E' ?% E: b) v4 b  `1 `
  1975. ; Check the cache checksum each N requests.1 O# [6 i- `. k) y8 e& J( m
  1976. ; The default value of "0" means that the checks are disabled.
    & \) e. F! r0 P4 O  C; C0 C
  1977. ;opcache.consistency_checks=0
    : G4 ]- ]$ ^; V) N* w9 H5 F' C0 b

  1978. ) W6 O* h& C, L3 s; W: ?
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; }+ U9 T6 Y7 b6 D: g
  1980. ; is not being accessed.
    * j% }+ ?6 ^! N. C  o
  1981. ;opcache.force_restart_timeout=180
    + }; p4 Z! ~' z0 ^) A" X

  1982. 1 I, ?1 H# s' c
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    $ c; i; Z  ?  f( Z1 b1 J  B
  1984. ;opcache.error_log=+ y" e1 e- d; o6 `# W7 x

  1985. / Y/ W% @% V* F/ V( `
  1986. ; All OPcache errors go to the Web server log.
      p. F: H1 e* M' f0 F. _
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      v5 x9 w3 z+ X! J$ W
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    6 h) j' s1 B% a  b
  1989. ; debug messages (level 4).4 }( t! u; g) C
  1990. ;opcache.log_verbosity_level=1. M$ X3 Z3 t+ W; R( a
  1991. ; ?: X5 c9 M  ~3 q9 g
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ! o9 ~4 q/ m6 L. ?% F. u3 l7 L
  1993. ;opcache.preferred_memory_model=* Z/ X  y1 p8 B: \8 @" p

  1994. # x) V: Y* z( Q# H
  1995. ; Protect the shared memory from unexpected writing during script execution.
    4 u  o3 g2 Y5 D
  1996. ; Useful for internal debugging only.3 `6 t# b& s5 s; t! ]3 X, o" d% U
  1997. ;opcache.protect_memory=0
    4 f/ x1 w! |& x9 {1 w8 E, w
  1998. ) x0 u% T# K" y
  1999. ; Validate cached file permissions.
    " g: b/ ?% {- M$ f
  2000. ; opcache.validate_permission=0
    2 Z& a$ z+ D! ^. s4 j

  2001. # p! P( |4 f2 ?' q/ g: m! F( H* P
  2002. ; Prevent name collisions in chroot'ed environment.
    % W) r; x% g3 S
  2003. ; opcache.validate_root=0
    - H& y& B3 u/ ~: f9 A$ r

  2004. 7 T7 e+ O& U7 w5 x  C$ l5 D. R9 f; \
  2005. [curl]0 \# f' C2 Z- K9 o; O  q$ h$ ~
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 X9 y) a8 w# W# L6 Q8 b, p$ Z  {
  2007. ; absolute path.' E  V( s. k$ g6 b: c
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    1 V' q) p% \: _  \& F* a& `
  2009. & B+ S, V# x" o; |+ n; j8 [8 V* }' p
  2010. [openssl]
    / W% e5 f" D3 \/ J
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    % G0 V3 `$ A, y( U+ f
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & P2 S, q( ?( t/ p+ \
  2013. ; not specify a value for this directive as PHP will attempt to use the
    + w. k" `, w0 `/ Z; J
  2014. ; OS-managed cert stores in its absence. If specified, this value may still- y6 w1 ^. [* s  E3 O# E$ Q: A
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context6 H( \8 T0 y8 p+ \% P
  2016. ; option.
      j" [4 [7 d4 S
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    * ?. H, }: J; ]( X' b1 v

  2018. 8 k! C" f' \6 @: F  y2 f. g6 W: o
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    / p) P3 h& y5 ^6 ^% G
  2020. ; directory pointed to by openssl.capath is searched for a suitable  C+ b# Y# k# q+ I
  2021. ; certificate. This value must be a correctly hashed certificate directory.6 J( u6 H) B2 G" Q' ^: x3 _) P
  2022. ; Most users should not specify a value for this directive as PHP will
    9 X& j# O- G; G$ B5 {
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & W7 h1 U2 J" h0 H- b2 {: \
  2024. ; this value may still be overridden on a per-stream basis via the "capath"4 d0 [: K" E$ V! F2 ~$ B) h. d
  2025. ; SSL stream context option.
    9 {" U- d- F* M
  2026. ;openssl.capath=
    0 y7 [7 ~1 ~; }
  2027. - M% O  m6 M$ P( x3 X1 o- J
  2028. ; Local Variables:
    ' z8 N1 d. X" x; Y7 O1 H
  2029. ; tab-width: 4  z8 B4 ?% \, k% I& U4 [
  2030. ; End:9 t3 d2 M' s# a- A4 d0 r
  2031. 7 w" M/ i/ i4 b8 ^# B
  2032. ;eaccelerator! e$ \& J- C- v  b

  2033. 8 o: v+ G. B- T# Y5 h
  2034. ;ionCube
    2 l; I% v& c% o0 {+ d& u" v; ~
  2035. & s1 A$ ?$ C# }$ |3 y0 Y
  2036. ;opcache' {9 k! W; N% w# |

  2037. & I* Y7 i- j0 ^
  2038. [Zend ZendGuard Loader]' X  m+ I, {2 e
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so& |- [% S7 T& N3 F+ y) x& p
  2040. zend_loader.enable=1
    / j! J0 s: q$ z& b5 `, T: O
  2041. zend_loader.disable_licensing=0
    , U6 x3 U8 y$ w6 w$ i
  2042. zend_loader.obfuscation_level_support=3
    5 A5 K) K5 n+ M9 H) Z7 m
  2043. zend_loader.license_path=
    , T- c+ b6 f+ n' a3 G3 [

  2044. ' _# p+ {/ K* `9 |
  2045. ;xcache  @( X4 F+ W' e) d6 e& Z4 R

  2046. % j7 M7 x; z! M  }) N
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692! H0 m8 \+ G& `# [
; X3 h/ k" P. Z/ d+ o( x! i
  i% A7 f7 [; U
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
! u8 o5 L9 ?% ~; p( j: O! O- x+ N; @6 {
Discuz!程序版本选择:+ h' E7 K' |7 {8 h! s6 [
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,( I! a1 g4 X& G$ n- k, k" C9 t
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:  H1 T: l8 V+ w# _
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。1 D' ]! c$ {8 }$ p
) S3 O" x$ X, T1 ]+ Q
Discuz!插件模板版本选择:
9 G2 X8 N4 a$ q- R6 A0 s: j$ N8 d% p5 q* w很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,% s7 o# ]* K9 S$ ^) \( _8 f
针对这个问题做个统一的普及:8 u1 F* [5 K3 B( Q. M$ f5 V
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
7 r) M4 I" V- L: M
9 {9 |5 _4 u% J) z: {所以/ ^3 |+ ~1 i2 |/ P' v: t
适合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的二级域名。! b- \2 h# s0 c# i% I) a
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。5 V3 S' i5 z, z) a* A' C& L
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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